@expofp/floorplan 3.31.5 → 3.33.0

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 (86) hide show
  1. package/dist/browser/{Button-mKKtMaKw.js → Button-B0MFYLVc.js} +5 -5
  2. package/dist/browser/{CookieConsent-CaeEjvef.js → CookieConsent-Bqn0q_87.js} +7 -7
  3. package/dist/browser/{Debug-ByQ2D2dH.js → Debug-CKc3n1sg.js} +7 -7
  4. package/dist/browser/{DebugTools-CrQ601uz.js → DebugTools-BU3wjPGB.js} +20 -14
  5. package/dist/browser/{Demo-BEG9WGtY.js → Demo-D-TB4mNu.js} +9 -9
  6. package/dist/browser/{Free-DDNBwdb4.js → Free-TLOhTU_Z.js} +9 -9
  7. package/dist/browser/{GalleryContainer-DC4MIoUB.js → GalleryContainer-G381lvbx.js} +10 -10
  8. package/dist/browser/{GpsLoader-Cb3Jn0SF.js → GpsLoader-DL-xnnfg.js} +10 -10
  9. package/dist/browser/{KioskStore-DwefEZJv.js → KioskStore-DluWuejk.js} +5 -5
  10. package/dist/browser/{MaplibreAdapter-CifXETn9.js → MaplibreAdapter-CKpyQZkH.js} +756 -756
  11. package/dist/browser/{ModalContainer-CQz6jqA-.js → ModalContainer-BJuhy7tC.js} +10 -10
  12. package/dist/browser/{PermissionNotice-CqTjqOc1.js → PermissionNotice-DzavRwDB.js} +6 -6
  13. package/dist/browser/{SetKioskMode-Be7XLJXO.js → SetKioskMode-DQMJq09_.js} +9 -9
  14. package/dist/browser/{ShowKiosk-DL_Q07Gd.js → ShowKiosk-txc4lzXg.js} +10 -10
  15. package/dist/browser/{ViewerMenuPanel-Cb_oSrj6.js → ViewerMenuPanel-BDDILMLj.js} +9 -9
  16. package/dist/browser/{add-debug-secret-listener-D68x0JzQ.js → add-debug-secret-listener-jHopjZKv.js} +1 -1
  17. package/dist/browser/{adopt-global-settings-DkKNipAa.js → adopt-global-settings-33HggKBq.js} +9 -9
  18. package/dist/browser/{boolean-editor-D1VLmY-G.js → boolean-editor-CtUCInIZ.js} +9 -9
  19. package/dist/browser/{bootIntercom-CTFEKSae.js → bootIntercom-BeXT05Ea.js} +2 -2
  20. package/dist/browser/bundle.json +69 -69
  21. package/dist/browser/{camera-events-DDYWmzBD.js → camera-events-KroE96c4.js} +1 -1
  22. package/dist/browser/{classnames-BqzsgTpz.js → classnames-BJTcQIVl.js} +2 -2
  23. package/dist/browser/{client-DJ-iLXjM.js → client-Cj1mLS94.js} +5 -5
  24. package/dist/browser/{components-97YziTS4.js → components-6-iibf5i.js} +586 -582
  25. package/dist/browser/{debug-context-DBNteiNS.js → debug-context-_45jR8C-.js} +5 -5
  26. package/dist/browser/{debug-overlay-DaZTMQya.js → debug-overlay-C78aQduk.js} +10 -10
  27. package/dist/browser/{debug-ui-CXT3AMeX.js → debug-ui-Bzg8w5FY.js} +6 -6
  28. package/dist/browser/{dimming-u8Zv6QXM.js → dimming-B0nptLJO.js} +284 -255
  29. package/dist/browser/{dist-B27MlguZ.js → dist-BfBy25r6.js} +3 -3
  30. package/dist/browser/{dist-Bi5cUWZd.js → dist-DX9URKQh.js} +6 -6
  31. package/dist/browser/{dist-DVLRx6WZ.js → dist-LJcBFXUG.js} +5 -5
  32. package/dist/browser/{efp-debug-init-17YNGSXY.js → efp-debug-init-tAoJiV3q.js} +3 -3
  33. package/dist/browser/{enum-editor-CgJqhQQj.js → enum-editor-12NAdvKo.js} +4 -4
  34. package/dist/browser/{es5-yWlyHX_p.js → es5-D-Bj8Lf1.js} +2 -2
  35. package/dist/browser/{event-not-found-Cf24gWHM.js → event-not-found-CsAHzhl6.js} +1 -1
  36. package/dist/browser/{exports-6WlUkCNV.js → exports-BfhFANKi.js} +1 -1
  37. package/dist/browser/{favicon-CHtB7K8N.js → favicon-D4TW1swv.js} +1 -1
  38. package/dist/browser/{fetch-retry.umd--zg_elhT.js → fetch-retry.umd-DyLfSwjv.js} +2 -2
  39. package/dist/browser/{flex-Dz7NeN25.js → flex-C3cSMVt_.js} +5 -5
  40. package/dist/browser/{floorplan.loader-DIAEgvEt.js → floorplan.loader-DxRhDqfH.js} +10 -10
  41. package/dist/browser/{floorplan.ready-BIf6c0FW.js → floorplan.ready-RkqlzsJt.js} +14 -14
  42. package/dist/browser/{fuse-DfART0OL.js → fuse-CSGWbbNq.js} +2 -2
  43. package/dist/browser/{i18n-bHRUw1mA.js → i18n-EK2oa1QJ.js} +5 -5
  44. package/dist/browser/index.js +14 -14
  45. package/dist/browser/{index.module-DmjVCZHn.js → index.module-BwOjEcud.js} +4 -4
  46. package/dist/browser/{integrateKiosk-D67hYrGI.js → integrateKiosk-DT0yChCb.js} +4 -4
  47. package/dist/browser/{is-webview-Csx5pb0V.js → is-webview-CW_tK_lH.js} +1 -1
  48. package/dist/browser/{jsx-runtime-Dn7hdmu5.js → jsx-runtime-DAYaJ8Wj.js} +2 -2
  49. package/dist/browser/{kiosk-record-vzQJMgF0.js → kiosk-record-DSOWQWwy.js} +1 -1
  50. package/dist/browser/{lib-BcsJM1rc.js → lib-DS8gxXh1.js} +3 -3
  51. package/dist/browser/{loadImage-CRy9JSd7.js → loadImage-Chqtrnpo.js} +4 -4
  52. package/dist/browser/{logDeviceInfo-B3BrYfIV.js → logDeviceInfo-C3nIx8MI.js} +9 -9
  53. package/dist/browser/{mobx-2XzX6bdM.js → mobx-BYaAarcI.js} +4 -4
  54. package/dist/browser/{optional-boolean-editor-BG5rNmWY.js → optional-boolean-editor-f0AsQ88K.js} +3 -3
  55. package/dist/browser/{optional-enum-editor-wdmWUlfz.js → optional-enum-editor-DTfOMkVp.js} +4 -4
  56. package/dist/browser/{optional-string-editor-CIliTeZ9.js → optional-string-editor-Dweo1EiQ.js} +4 -4
  57. package/dist/browser/{particles.min-D1nx3Op2.js → particles.min-DcgQ3bEa.js} +2 -2
  58. package/dist/browser/{react-BmK8B4fr.js → react-CSfcl6m_.js} +2 -2
  59. package/dist/browser/{react-dom-CPlbYs7G.js → react-dom-BtTajUTr.js} +3 -3
  60. package/dist/browser/{rolldown-runtime-Dzc5AnjB.js → rolldown-runtime-LBfc_8zH.js} +1 -1
  61. package/dist/browser/{scheduler-DMnChypu.js → scheduler-CO29sRve.js} +2 -2
  62. package/dist/browser/{select-C_IqLMZX.js → select-ZMZ_S_qj.js} +10 -10
  63. package/dist/browser/{settings-fuQTfBgk.js → settings-Cot3Zp4u.js} +2 -2
  64. package/dist/browser/{settings-item-d3ZY7kxc.js → settings-item-D5PjVyNk.js} +6 -6
  65. package/dist/browser/{store-CNHtWyas.js → store-BUXXD8-o.js} +212 -209
  66. package/dist/browser/{string-editor-BXQ0wGmI.js → string-editor-Bdjy-hXr.js} +4 -4
  67. package/dist/browser/{text-field-BrcwmJFh.js → text-field-Db4wvBQb.js} +5 -5
  68. package/dist/browser/{theme-CUL1Ad6_.js → theme-DOvsIfDN.js} +8 -8
  69. package/dist/browser/{ui-DLRQM62S.js → ui-exQmHhHz.js} +8 -8
  70. package/dist/browser/{useRenderTarget-najmvuxU.js → useRenderTarget-COoBm3gN.js} +4 -4
  71. package/dist/browser/{viewport-DNUkKIGk.js → viewport-D14jB-aG.js} +2 -2
  72. package/dist/esm/components/Map/Map.js +1 -1
  73. package/dist/esm/components/Map/MapCursorCoords.d.ts +13 -0
  74. package/dist/esm/components/Map/MapCursorCoords.js +1 -0
  75. package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
  76. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +2 -2
  77. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  78. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  79. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  80. package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
  81. package/dist/esm/engine/update-def.d.ts +19 -28
  82. package/dist/esm/engine/update-def.js +1 -1
  83. package/dist/esm/engine/utils/rotation.d.ts +9 -2
  84. package/dist/esm/engine/utils/rotation.js +1 -1
  85. package/dist/esm/wayfinding/createWayfinding.js +1 -1
  86. package/package.json +10 -10
@@ -2,23 +2,23 @@ function __vite_inject_css__(css, id, forceLightDom){ if (typeof document==='un
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.31.5" };
5
+ e.SENTRY_RELEASE = { id: "3.33.0" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "923c042e-9a59-43b6-beb5-7ad30b84a307", e._sentryDebugIdIdentifier = "sentry-dbid-923c042e-9a59-43b6-beb5-7ad30b84a307");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "924c8ebe-1f20-42e6-9cf1-d10896bc9ddb", e._sentryDebugIdIdentifier = "sentry-dbid-924c8ebe-1f20-42e6-9cf1-d10896bc9ddb");
8
8
  } catch {}
9
9
  })();
10
- import { r as e, t } from "./rolldown-runtime-Dzc5AnjB.js";
11
- import { X as n, Z as r, v as i, y as a } from "./i18n-bHRUw1mA.js";
12
- import { t as o } from "./react-BmK8B4fr.js";
13
- import { t as s } from "./jsx-runtime-Dn7hdmu5.js";
14
- import { n as c } from "./loadImage-CRy9JSd7.js";
15
- import { At as l, Cn as u, D as d, En as f, Ft as p, G as m, Ht as h, It as g, L as _, Lt as v, Pt as y, Sn as b, St as x, Tn as S, c as C, d as w, f as T, in as E, kn as D, kt as O, l as k, p as A, qt as j, u as M, v as ee, xn as te, xt as N, yn as ne, z as re } from "./store-CNHtWyas.js";
16
- import { t as ie } from "./index.module-DmjVCZHn.js";
17
- import { i as ae } from "./mobx-2XzX6bdM.js";
18
- import { t as oe } from "./viewport-DNUkKIGk.js";
19
- import { a as se, c as ce, i as le, n as ue, o as de, r as fe, s as pe, t as me } from "./dimming-u8Zv6QXM.js";
10
+ import { r as e, t } from "./rolldown-runtime-LBfc_8zH.js";
11
+ import { X as n, Z as r, v as i, y as a } from "./i18n-EK2oa1QJ.js";
12
+ import { t as o } from "./react-CSfcl6m_.js";
13
+ import { t as s } from "./jsx-runtime-DAYaJ8Wj.js";
14
+ import { n as c } from "./loadImage-Chqtrnpo.js";
15
+ import { At as l, Cn as u, D as d, En as f, Ft as p, G as m, Ht as h, It as g, L as _, Lt as v, Pt as y, Sn as b, St as x, Tn as S, c as C, d as w, f as T, in as E, kn as D, kt as O, l as k, p as A, qt as j, u as M, v as N, xn as ee, xt as P, yn as te, z as ne } from "./store-BUXXD8-o.js";
16
+ import { t as re } from "./index.module-BwOjEcud.js";
17
+ import { i as ie } from "./mobx-BYaAarcI.js";
18
+ import { t as ae } from "./viewport-D14jB-aG.js";
19
+ import { a as oe, c as se, i as ce, l as le, n as ue, o as de, r as fe, s as pe, t as me } from "./dimming-B0nptLJO.js";
20
20
  //#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
21
- var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__PURE__ */ t(((e, t) => {
21
+ var F = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__PURE__ */ t(((e, t) => {
22
22
  (function(n, r) {
23
23
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.maplibregl = r());
24
24
  })(e, (function() {
@@ -317,58 +317,58 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
317
317
  function M(e, t, n) {
318
318
  return e * (1 - n) + t * n;
319
319
  }
320
- function ee(e) {
320
+ function N(e) {
321
321
  if (e <= 0) return 0;
322
322
  if (e >= 1) return 1;
323
323
  let t = e * e, n = t * e;
324
324
  return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
325
325
  }
326
- function te(e, t, n, r) {
326
+ function ee(e, t, n, r) {
327
327
  let i = new o(e, t, n, r);
328
328
  return (e) => i.solve(e);
329
329
  }
330
- let N = te(.25, .1, .25, 1);
331
- function ne(e, t, n) {
330
+ let P = ee(.25, .1, .25, 1);
331
+ function te(e, t, n) {
332
332
  return Math.min(n, Math.max(t, e));
333
333
  }
334
- function re(e, t, n) {
334
+ function ne(e, t, n) {
335
335
  let r = n - t, i = ((e - t) % r + r) % r + t;
336
336
  return i === t ? n : i;
337
337
  }
338
- function ie(e, ...t) {
338
+ function re(e, ...t) {
339
339
  for (let n of t) for (let t in n) e[t] = n[t];
340
340
  return e;
341
341
  }
342
- let ae = 1;
343
- function oe(e, t, n) {
342
+ let ie = 1;
343
+ function ae(e, t, n) {
344
344
  let r = {};
345
345
  for (let n in e) r[n] = t.call(this, e[n], n, e);
346
346
  return r;
347
347
  }
348
- function se(e, t, n) {
348
+ function oe(e, t, n) {
349
349
  let r = {};
350
350
  for (let n in e) t.call(this, e[n], n, e) && (r[n] = e[n]);
351
351
  return r;
352
352
  }
353
- function ce(e) {
354
- return Array.isArray(e) ? e.map(ce) : typeof e == "object" && e ? oe(e, ce) : e;
353
+ function se(e) {
354
+ return Array.isArray(e) ? e.map(se) : typeof e == "object" && e ? ae(e, se) : e;
355
355
  }
356
- let le = {};
357
- function ue(e) {
358
- le[e] || (typeof console < "u" && console.warn(e), le[e] = !0);
356
+ let ce = {};
357
+ function le(e) {
358
+ ce[e] || (typeof console < "u" && console.warn(e), ce[e] = !0);
359
359
  }
360
- function de(e, t, n) {
360
+ function ue(e, t, n) {
361
361
  return (n.y - e.y) * (t.x - e.x) > (t.y - e.y) * (n.x - e.x);
362
362
  }
363
- function fe(e) {
363
+ function de(e) {
364
364
  return typeof WorkerGlobalScope < "u" && e !== void 0 && e instanceof WorkerGlobalScope;
365
365
  }
366
- let pe = null;
367
- function me(e) {
366
+ let fe = null;
367
+ function pe(e) {
368
368
  return typeof ImageBitmap < "u" && e instanceof ImageBitmap;
369
369
  }
370
- let P = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
371
- function he(e, n, r, i, a) {
370
+ let me = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
371
+ function F(e, n, r, i, a) {
372
372
  return t(this, void 0, void 0, (function* () {
373
373
  if (typeof VideoFrame > "u") throw Error("VideoFrame not supported");
374
374
  let t = new VideoFrame(e, { timestamp: 0 });
@@ -400,25 +400,25 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
400
400
  }
401
401
  }));
402
402
  }
403
- let ge, _e;
404
- function ve(e, t, n, r) {
403
+ let he, ge;
404
+ function _e(e, t, n, r) {
405
405
  return e.addEventListener(t, n, r), { unsubscribe: () => {
406
406
  e.removeEventListener(t, n, r);
407
407
  } };
408
408
  }
409
- function ye(e) {
409
+ function ve(e) {
410
410
  return e * Math.PI / 180;
411
411
  }
412
- function be(e) {
412
+ function ye(e) {
413
413
  return e / Math.PI * 180;
414
414
  }
415
- let xe = {
415
+ let be = {
416
416
  touchstart: !0,
417
417
  touchmove: !0,
418
418
  touchmoveWindow: !0,
419
419
  touchend: !0,
420
420
  touchcancel: !0
421
- }, Se = {
421
+ }, xe = {
422
422
  dblclick: !0,
423
423
  click: !0,
424
424
  mouseover: !0,
@@ -430,50 +430,50 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
430
430
  mouseupWindow: !0,
431
431
  contextmenu: !0,
432
432
  wheel: !0
433
- }, Ce = "AbortError";
434
- class we extends Error {
435
- constructor(e = Ce) {
436
- super(e instanceof Error ? e.message : e), this.name = Ce, e instanceof Error && e.stack && (this.stack = e.stack);
433
+ }, Se = "AbortError";
434
+ class Ce extends Error {
435
+ constructor(e = Se) {
436
+ super(e instanceof Error ? e.message : e), this.name = Se, e instanceof Error && e.stack && (this.stack = e.stack);
437
437
  }
438
438
  }
439
- function Te(e) {
440
- return e instanceof Error && e.name === Ce;
439
+ function we(e) {
440
+ return e instanceof Error && e.name === Se;
441
441
  }
442
- function Ee(e) {
443
- if (e.aborted) throw new we(e.reason);
442
+ function Te(e) {
443
+ if (e.aborted) throw new Ce(e.reason);
444
444
  }
445
- let De = {
445
+ let Ee = {
446
446
  MAX_PARALLEL_IMAGE_REQUESTS: 16,
447
447
  MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8,
448
448
  MAX_TILE_CACHE_ZOOM_LEVELS: 5,
449
449
  REGISTERED_PROTOCOLS: {},
450
450
  WORKER_URL: ""
451
451
  };
452
- function Oe(e) {
453
- return De.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
452
+ function De(e) {
453
+ return Ee.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
454
454
  }
455
- let ke = "global-dispatcher";
456
- class F extends Error {
455
+ let Oe = "global-dispatcher";
456
+ class ke extends Error {
457
457
  constructor(e, t, n, r) {
458
458
  super(`AJAXError: ${t} (${e}): ${n}`), this.status = e, this.statusText = t, this.url = n, this.body = r;
459
459
  }
460
460
  }
461
461
  let Ae = () => {
462
462
  var e;
463
- return fe(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
463
+ return de(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
464
464
  }, je = function(e, n) {
465
465
  return t(this, void 0, void 0, (function* () {
466
466
  var r, i;
467
467
  if (e.url.includes("://") && !/^https?:|^file:/.test(e.url)) {
468
- let t = Oe(e.url);
468
+ let t = De(e.url);
469
469
  if (t) {
470
470
  let r = yield t(e, n);
471
- return r.data || e.type !== "arrayBuffer" ? r : ie(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
471
+ return r.data || e.type !== "arrayBuffer" ? r : re(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
472
472
  }
473
- if (fe(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
473
+ if (de(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
474
474
  type: "GR",
475
475
  data: e,
476
- targetMapId: ke
476
+ targetMapId: Oe
477
477
  }, n);
478
478
  }
479
479
  if (!((e) => {
@@ -496,15 +496,15 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
496
496
  try {
497
497
  r = yield fetch(t);
498
498
  } catch (t) {
499
- throw Te(t) ? t : new F(0, A(t).message, e.url, new Blob());
499
+ throw we(t) ? t : new ke(0, A(t).message, e.url, new Blob());
500
500
  }
501
501
  if (!r.ok) {
502
502
  let t = yield r.blob();
503
- throw new F(r.status, r.statusText, e.url, t);
503
+ throw new ke(r.status, r.statusText, e.url, t);
504
504
  }
505
505
  i = e.type === "arrayBuffer" || e.type === "image" ? r.arrayBuffer() : e.type === "json" ? r.json() : r.text();
506
506
  let a = yield i;
507
- return Ee(n.signal), {
507
+ return Te(n.signal), {
508
508
  data: a,
509
509
  cacheControl: r.headers.get("Cache-Control"),
510
510
  expires: r.headers.get("Expires"),
@@ -512,11 +512,11 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
512
512
  };
513
513
  }));
514
514
  }(e, n);
515
- if (fe(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
515
+ if (de(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
516
516
  type: "GR",
517
517
  data: e,
518
518
  mustQueue: !0,
519
- targetMapId: ke
519
+ targetMapId: Oe
520
520
  }, n);
521
521
  }
522
522
  return function(e, t) {
@@ -544,10 +544,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
544
544
  });
545
545
  } else {
546
546
  let t = new Blob([a.response], { type: a.getResponseHeader("Content-Type") });
547
- r(new F(a.status, a.statusText, e.url, t));
547
+ r(new ke(a.status, a.statusText, e.url, t));
548
548
  }
549
549
  }, t.signal.addEventListener("abort", (() => {
550
- a.abort(), r(new we(t.signal.reason));
550
+ a.abort(), r(new Ce(t.signal.reason));
551
551
  })), a.send(e.body);
552
552
  }));
553
553
  }(e, n);
@@ -570,12 +570,12 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
570
570
  }
571
571
  class Fe {
572
572
  constructor(e, t = {}) {
573
- ie(this, t), this.type = e;
573
+ re(this, t), this.type = e;
574
574
  }
575
575
  }
576
576
  class Ie extends Fe {
577
577
  constructor(e, t = {}) {
578
- super("error", ie({ error: e }, t));
578
+ super("error", re({ error: e }, t));
579
579
  }
580
580
  }
581
581
  class Le {
@@ -601,7 +601,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
601
601
  let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
602
602
  for (let t of a) Pe(i, t, this._oneTimeListeners), t.call(this, e);
603
603
  let o = this._eventedParent;
604
- o && (ie(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
604
+ o && (re(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
605
605
  } else e instanceof Ie && console.error(e.error);
606
606
  return this;
607
607
  }
@@ -8033,7 +8033,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8033
8033
  shallow: n.shallow || []
8034
8034
  };
8035
8035
  }
8036
- X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", F), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8036
+ X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError", ke), X("ResolvedImage", qt), X("StylePropertyFunction", di), X("StyleExpression", ai, { omit: ["_evaluator"] }), X("ZoomDependentExpression", li), X("ZoomConstantExpression", ci), X("CompoundExpression", Lr, { omit: ["_evaluate"] });
8037
8037
  for (let e in Ir) Ir[e]._classRegistryKey || X(`Expression_${e}`, Ir[e]);
8038
8038
  function ga(e) {
8039
8039
  var t;
@@ -8047,10 +8047,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8047
8047
  if (typeof e != "object" || !e) return !1;
8048
8048
  let t = _a(e);
8049
8049
  return t && t !== "Object";
8050
- }(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) || me(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
8050
+ }(e) && (e == null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || e instanceof Boolean || e instanceof Number || e instanceof String || e instanceof Date || e instanceof RegExp || e instanceof Blob || e instanceof Error || ga(e) || pe(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
8051
8051
  }
8052
8052
  function ya(e, t) {
8053
- if (va(e)) return (ga(e) || me(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
8053
+ if (va(e)) return (ga(e) || pe(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
8054
8054
  if (Array.isArray(e)) {
8055
8055
  let n = [];
8056
8056
  for (let r of e) n.push(ya(r, t));
@@ -8260,7 +8260,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8260
8260
  this.property = e, this.value = new za(e, void 0, t);
8261
8261
  }
8262
8262
  transitioned(e, t) {
8263
- return new Ha(this.property, this.value, t, ie({}, e.transition, this.transition), e.now);
8263
+ return new Ha(this.property, this.value, t, re({}, e.transition, this.transition), e.now);
8264
8264
  }
8265
8265
  untransitioned() {
8266
8266
  return new Ha(this.property, this.value, null, {}, 0);
@@ -8274,16 +8274,16 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8274
8274
  return e in this._properties.defaultTransitionablePropertyValues;
8275
8275
  }
8276
8276
  getValue(e) {
8277
- return ce(this._values[e].value.value);
8277
+ return se(this._values[e].value.value);
8278
8278
  }
8279
8279
  setValue(e, t) {
8280
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].value = new za(this._values[e].property, t === null ? void 0 : ce(t), this._globalState);
8280
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].value = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8281
8281
  }
8282
8282
  getTransition(e) {
8283
- return ce(this._values[e].transition);
8283
+ return se(this._values[e].transition);
8284
8284
  }
8285
8285
  setTransition(e, t) {
8286
- Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = ce(t) || void 0;
8286
+ Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = se(t) || void 0;
8287
8287
  }
8288
8288
  serialize() {
8289
8289
  let e = {};
@@ -8317,7 +8317,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8317
8317
  if (r < this.begin) return a.possiblyEvaluate(e, t, n);
8318
8318
  {
8319
8319
  let o = (r - this.begin) / (this.end - this.begin);
8320
- return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, ee(o));
8320
+ return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, N(o));
8321
8321
  }
8322
8322
  }
8323
8323
  return i;
@@ -8348,10 +8348,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8348
8348
  return e in this._properties.defaultPropertyValues;
8349
8349
  }
8350
8350
  getValue(e) {
8351
- return ce(this._values[e].value);
8351
+ return se(this._values[e].value);
8352
8352
  }
8353
8353
  setValue(e, t) {
8354
- this._values[e] = new za(this._values[e].property, t === null ? void 0 : ce(t), this._globalState);
8354
+ this._values[e] = new za(this._values[e].property, t === null ? void 0 : se(t), this._globalState);
8355
8355
  }
8356
8356
  serialize() {
8357
8357
  let e = {};
@@ -8640,7 +8640,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
8640
8640
  layout: (e = this._unevaluatedLayout) == null ? void 0 : e.serialize(),
8641
8641
  paint: (t = this._transitionablePaint) == null ? void 0 : t.serialize()
8642
8642
  };
8643
- return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), se(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8643
+ return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), oe(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
8644
8644
  }
8645
8645
  _validate(e, t, n, r, i = {}) {
8646
8646
  return !1 !== (i == null ? void 0 : i.validate) && pa(this, e.call(ca, {
@@ -9379,7 +9379,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
9379
9379
  }
9380
9380
  prepareSegment(e, t, n, r) {
9381
9381
  let i = this.segments[this.segments.length - 1];
9382
- return e > ss.MAX_VERTEX_ARRAY_LENGTH && ue(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ss.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !i || i.vertexLength + e > ss.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== r ? this.createNewSegment(t, n, r) : i;
9382
+ return e > ss.MAX_VERTEX_ARRAY_LENGTH && le(`Max vertices per segment is ${ss.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${e}. Consider using the \`fillLargeMeshArrays\` function if you require meshes with more than ${ss.MAX_VERTEX_ARRAY_LENGTH} vertices.`), this._forceNewSegmentOnNextPrepare || !i || i.vertexLength + e > ss.MAX_VERTEX_ARRAY_LENGTH || i.sortKey !== r ? this.createNewSegment(t, n, r) : i;
9383
9383
  }
9384
9384
  createNewSegment(e, t, n) {
9385
9385
  let r = {
@@ -9415,7 +9415,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
9415
9415
  }
9416
9416
  }
9417
9417
  function cs(e, t) {
9418
- return 256 * (e = ne(Math.floor(e), 0, 255)) + ne(Math.floor(t), 0, 255);
9418
+ return 256 * (e = te(Math.floor(e), 0, 255)) + te(Math.floor(t), 0, 255);
9419
9419
  }
9420
9420
  ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
9421
9421
  let ls = oo([
@@ -9675,7 +9675,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
9675
9675
  this.paintVertexBuffer && this.paintVertexBuffer.destroy();
9676
9676
  }
9677
9677
  setUniform(e, t) {
9678
- let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = ne(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9678
+ let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = te(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
9679
9679
  e.set(r);
9680
9680
  }
9681
9681
  getBinding(e, t, n) {
@@ -9969,7 +9969,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
9969
9969
  let t = O / e.extent, n = e.loadGeometry();
9970
9970
  for (let e of n) for (let n of e) {
9971
9971
  let e = Math.round(n.x * t), r = Math.round(n.y * t);
9972
- n.x = ne(e, Bs, zs), n.y = ne(r, Bs, zs), (e < n.x || e > n.x + 1 || r < n.y || r > n.y + 1) && ue("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9972
+ n.x = te(e, Bs, zs), n.y = te(r, Bs, zs), (e < n.x || e > n.x + 1 || r < n.y || r > n.y + 1) && le("Geometry exceeds allowed extent, reduce your vector tile buffer size");
9973
9973
  }
9974
9974
  return n;
9975
9975
  }
@@ -10120,7 +10120,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
10120
10120
  return !1;
10121
10121
  }
10122
10122
  function Zs(e, t, n, r) {
10123
- return de(e, n, r) !== de(t, n, r) && de(e, t, n) !== de(e, t, r);
10123
+ return ue(e, n, r) !== ue(t, n, r) && ue(e, t, n) !== ue(e, t, r);
10124
10124
  }
10125
10125
  function Qs(e, t, n) {
10126
10126
  let r = n * n;
@@ -10153,8 +10153,8 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
10153
10153
  function nc(e, t, n) {
10154
10154
  let r = n[0], i = n[2];
10155
10155
  if (e.x < r.x && t.x < r.x || e.x > i.x && t.x > i.x || e.y < r.y && t.y < r.y || e.y > i.y && t.y > i.y) return !1;
10156
- let a = de(e, t, n[0]);
10157
- return a !== de(e, t, n[1]) || a !== de(e, t, n[2]) || a !== de(e, t, n[3]);
10156
+ let a = ue(e, t, n[0]);
10157
+ return a !== ue(e, t, n[1]) || a !== ue(e, t, n[2]) || a !== ue(e, t, n[3]);
10158
10158
  }
10159
10159
  function rc(e, t, n) {
10160
10160
  let r = t.paint.get(e).value;
@@ -10432,9 +10432,9 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
10432
10432
  getIlluminationProperties() {
10433
10433
  let e = this.paint.get("hillshade-illumination-direction").values, t = this.paint.get("hillshade-illumination-altitude").values, n = this.paint.get("hillshade-highlight-color").values, r = this.paint.get("hillshade-shadow-color").values, i = Math.max(e.length, t.length, n.length, r.length);
10434
10434
  e = e.concat(Array(i - e.length).fill(e.at(-1))), t = t.concat(Array(i - t.length).fill(t.at(-1))), n = n.concat(Array(i - n.length).fill(n.at(-1))), r = r.concat(Array(i - r.length).fill(r.at(-1)));
10435
- let a = t.map(ye);
10435
+ let a = t.map(ve);
10436
10436
  return {
10437
- directionRadians: e.map(ye),
10437
+ directionRadians: e.map(ve),
10438
10438
  altitudeRadians: a,
10439
10439
  shadowColor: r,
10440
10440
  highlightColor: n
@@ -10507,7 +10507,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
10507
10507
  "mapbox",
10508
10508
  "terrarium",
10509
10509
  "custom"
10510
- ].includes(n)) return void ue(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10510
+ ].includes(n)) return void le(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
10511
10511
  this.stride = t.height;
10512
10512
  let s = this.dim = t.height - 2;
10513
10513
  switch (this.data = new Uint32Array(t.data.buffer), n) {
@@ -10603,7 +10603,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
10603
10603
  colorStops: []
10604
10604
  }, i = (t.elevationStops.length - 1) / (e - 1);
10605
10605
  for (let e = 0; e < t.elevationStops.length - .5; e += i) r.elevationStops.push(t.elevationStops[Math.round(e)]), r.colorStops.push(t.colorStops[Math.round(e)]);
10606
- return ue(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
10606
+ return le(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
10607
10607
  }
10608
10608
  _colorRampChanged() {
10609
10609
  return this.colorRampExpression != this._transitionablePaint._values["color-relief-color"].value.expression;
@@ -12846,7 +12846,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
12846
12846
  }), super.possiblyEvaluate(e, t);
12847
12847
  }
12848
12848
  evaluate(e, t, n, r) {
12849
- return t = ie({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12849
+ return t = re({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
12850
12850
  }
12851
12851
  }
12852
12852
  let dd;
@@ -13452,13 +13452,13 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
13452
13452
  }
13453
13453
  addImageSection(e) {
13454
13454
  let t = e.image ? e.image.name : "";
13455
- if (t.length === 0) return void ue("Can't add FormattedSection with an empty image.");
13455
+ if (t.length === 0) return void le("Can't add FormattedSection with an empty image.");
13456
13456
  let n = this.getNextImageSectionCharCode();
13457
13457
  n ? (this.text += String.fromCharCode(n), this.sections.push({
13458
13458
  scale: 1,
13459
13459
  verticalAlign: e.verticalAlign || "bottom",
13460
13460
  imageName: t
13461
- }), this.sectionIndex.push(this.sections.length - 1)) : ue("Reached maximum number of images 6401");
13461
+ }), this.sectionIndex.push(this.sections.length - 1)) : le("Reached maximum number of images 6401");
13462
13462
  }
13463
13463
  getNextImageSectionCharCode() {
13464
13464
  return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
@@ -14781,7 +14781,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
14781
14781
  if (this.lng = +e, this.lat = +t, this.lat > 90 || this.lat < -90) throw Error("Invalid LngLat latitude value: must be between -90 and 90");
14782
14782
  }
14783
14783
  wrap() {
14784
- return new Nf(re(this.lng, -180, 180), this.lat);
14784
+ return new Nf(ne(this.lng, -180, 180), this.lat);
14785
14785
  }
14786
14786
  toArray() {
14787
14787
  return [this.lng, this.lat];
@@ -17216,7 +17216,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17216
17216
  if (!n) continue;
17217
17217
  let i = {};
17218
17218
  m && l && (i = l.getState(n.sourceLayer || Um, m));
17219
- let d = ie({}, c[t]);
17219
+ let d = re({}, c[t]);
17220
17220
  d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
17221
17221
  let f = !u || u(p, n, i);
17222
17222
  if (!f) continue;
@@ -17248,7 +17248,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17248
17248
  }
17249
17249
  }
17250
17250
  function Qm(e, t, n, r, i) {
17251
- return oe(e, ((e, a) => {
17251
+ return ae(e, ((e, a) => {
17252
17252
  let o = t instanceof Ka ? t.get(a) : null;
17253
17253
  return o != null && o.evaluate ? o.evaluate(n, r, i) : o;
17254
17254
  }));
@@ -17390,33 +17390,33 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17390
17390
  (o.textFitWidth || o.textFitHeight) && (u = lf(e)), v = hh(d, 0, t[0]), b = hh(f, 0, t[1]), y = hh(d, t[0], t[2]), x = hh(f, t[1], t[3]), S = t[0] - v, w = t[1] - b, C = n - y, T = r - x;
17391
17391
  }
17392
17392
  let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
17393
- let l = _h(e.stretch - v, y, O, E), u = vh(e.fixed - S, C, e.stretch, m), d = _h(i.stretch - b, x, k, D), f = vh(i.fixed - w, T, i.stretch, h), p = _h(a.stretch - v, y, O, E), g = vh(a.fixed - S, C, a.stretch, m), _ = _h(c.stretch - b, x, k, D), A = vh(c.fixed - w, T, c.stretch, h), j = new n(l, d), M = new n(p, d), ee = new n(p, _), te = new n(l, _), N = new n(u / s, f / s), ne = new n(g / s, A / s), re = t * Math.PI / 180;
17394
- if (re) {
17395
- let e = Math.sin(re), t = Math.cos(re), n = [
17393
+ let l = _h(e.stretch - v, y, O, E), u = vh(e.fixed - S, C, e.stretch, m), d = _h(i.stretch - b, x, k, D), f = vh(i.fixed - w, T, i.stretch, h), p = _h(a.stretch - v, y, O, E), g = vh(a.fixed - S, C, a.stretch, m), _ = _h(c.stretch - b, x, k, D), A = vh(c.fixed - w, T, c.stretch, h), j = new n(l, d), M = new n(p, d), N = new n(p, _), ee = new n(l, _), P = new n(u / s, f / s), te = new n(g / s, A / s), ne = t * Math.PI / 180;
17394
+ if (ne) {
17395
+ let e = Math.sin(ne), t = Math.cos(ne), n = [
17396
17396
  t,
17397
17397
  -e,
17398
17398
  e,
17399
17399
  t
17400
17400
  ];
17401
- j._matMult(n), M._matMult(n), te._matMult(n), ee._matMult(n);
17401
+ j._matMult(n), M._matMult(n), ee._matMult(n), N._matMult(n);
17402
17402
  }
17403
- let ie = e.stretch + e.fixed, ae = i.stretch + i.fixed;
17403
+ let re = e.stretch + e.fixed, ie = i.stretch + i.fixed;
17404
17404
  return {
17405
17405
  tl: j,
17406
17406
  tr: M,
17407
- bl: te,
17408
- br: ee,
17407
+ bl: ee,
17408
+ br: N,
17409
17409
  tex: {
17410
- x: o.paddedRect.x + 1 + ie,
17411
- y: o.paddedRect.y + 1 + ae,
17412
- w: a.stretch + a.fixed - ie,
17413
- h: c.stretch + c.fixed - ae
17410
+ x: o.paddedRect.x + 1 + re,
17411
+ y: o.paddedRect.y + 1 + ie,
17412
+ w: a.stretch + a.fixed - re,
17413
+ h: c.stretch + c.fixed - ie
17414
17414
  },
17415
17415
  writingMode: void 0,
17416
17416
  glyphOffset: [0, 0],
17417
17417
  sectionIndex: 0,
17418
- pixelOffsetTL: N,
17419
- pixelOffsetBR: ne,
17418
+ pixelOffsetTL: P,
17419
+ pixelOffsetBR: te,
17420
17420
  minFontScaleX: C / s / O,
17421
17421
  minFontScaleY: T / s / k,
17422
17422
  isSDF: r
@@ -17675,9 +17675,9 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17675
17675
  ];
17676
17676
  }(m, n, d, t.tilePixelRatio), w = m.get("text-max-angle") / 180 * Math.PI, T = m.get("text-rotation-alignment") !== "viewport" && m.get("symbol-placement") !== "point", E = m.get("icon-rotation-alignment") === "map" && m.get("symbol-placement") !== "point", D = m.get("symbol-placement"), k = x / 2, A = m.get("icon-text-fit"), j;
17677
17677
  i && A !== "none" && (t.allowVerticalPlacement && r.vertical && (j = uf(i, r.vertical, A, m.get("icon-text-fit-padding"), h, _)), g && (i = uf(i, g, A, m.get("icon-text-fit-padding"), h, _)));
17678
- let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, ee = (c, f) => {
17678
+ let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, N = (c, f) => {
17679
17679
  f.x < 0 || f.x >= O || f.y < 0 || f.y >= O || function(t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T) {
17680
- let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, ee = 0, te = 0, N = -1, ne = -1, re = {}, ie = _s("");
17680
+ let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, N = 0, ee = 0, P = -1, te = -1, ne = {}, re = _s("");
17681
17681
  if (t.allowVerticalPlacement && i.vertical) {
17682
17682
  let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
17683
17683
  k = new yh(l, n, u, d, f, i.vertical, p, m, h, e), s && (A = new yh(l, n, u, d, f, s, _, v, h, e));
@@ -17686,33 +17686,33 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17686
17686
  let r = c.layout.get("icon-rotate").evaluate(x, {}), i = c.layout.get("icon-text-fit") !== "none", o = mh(a, r, C, i), p = s ? mh(s, r, C, i) : void 0;
17687
17687
  O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
17688
17688
  let m = t.iconSizeData, h = null;
17689
- m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && ue(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : m.kind === "composite" && (h = [128 * S.compositeIconSizes[0].evaluate(x, {}, w), 128 * S.compositeIconSizes[1].evaluate(x, {}, w)], (h[0] > df || h[1] > df) && ue(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), t.addSymbols(t.icon, o, h, b, y, x, e.ax.none, n, E.lineStartIndex, E.lineLength, -1, w), N = t.icon.placedSymbolArray.length - 1, p && (M = 4 * p.length, t.addSymbols(t.icon, p, h, b, y, x, e.ax.vertical, n, E.lineStartIndex, E.lineLength, -1, w), ne = t.icon.placedSymbolArray.length - 1);
17689
+ m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)) : m.kind === "composite" && (h = [128 * S.compositeIconSizes[0].evaluate(x, {}, w), 128 * S.compositeIconSizes[1].evaluate(x, {}, w)], (h[0] > df || h[1] > df) && le(`${t.layerIds[0]}: Value for "icon-size" is >= 255. Reduce your "icon-size".`)), t.addSymbols(t.icon, o, h, b, y, x, e.ax.none, n, E.lineStartIndex, E.lineLength, -1, w), P = t.icon.placedSymbolArray.length - 1, p && (M = 4 * p.length, t.addSymbols(t.icon, p, h, b, y, x, e.ax.vertical, n, E.lineStartIndex, E.lineLength, -1, w), te = t.icon.placedSymbolArray.length - 1);
17690
17690
  }
17691
- let ae = Object.keys(i.horizontal);
17692
- for (let r of ae) {
17691
+ let ie = Object.keys(i.horizontal);
17692
+ for (let r of ie) {
17693
17693
  let a = i.horizontal[r];
17694
17694
  if (!D) {
17695
- ie = _s(a.text);
17695
+ re = _s(a.text);
17696
17696
  let e = c.layout.get("text-rotate").evaluate(x, {}, w);
17697
17697
  D = new yh(l, n, u, d, f, a, p, m, h, e);
17698
17698
  }
17699
17699
  let s = a.positionedLines.length === 1;
17700
- if (ee += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ae : [r], re, N, S, w), s) break;
17701
- }
17702
- i.vertical && (te += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], re, ne, S, w));
17703
- let oe = D ? D.boxStartIndex : t.collisionBoxArray.length, se = D ? D.boxEndIndex : t.collisionBoxArray.length, ce = k ? k.boxStartIndex : t.collisionBoxArray.length, le = k ? k.boxEndIndex : t.collisionBoxArray.length, de = O ? O.boxStartIndex : t.collisionBoxArray.length, fe = O ? O.boxEndIndex : t.collisionBoxArray.length, pe = A ? A.boxStartIndex : t.collisionBoxArray.length, me = A ? A.boxEndIndex : t.collisionBoxArray.length, P = -1, he = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17704
- P = he(D, P), P = he(k, P), P = he(O, P), P = he(A, P);
17705
- let ge = +(P > -1);
17706
- ge && (P *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && ue("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), x.sortKey !== void 0 && t.addToSortKeyRanges(t.symbolInstances.length, x.sortKey);
17707
- let _e = Dh(c, x, w), [ve, ye] = function(t, n) {
17700
+ if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? ie : [r], ne, P, S, w), s) break;
17701
+ }
17702
+ i.vertical && (ee += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], ne, te, S, w));
17703
+ let ae = D ? D.boxStartIndex : t.collisionBoxArray.length, oe = D ? D.boxEndIndex : t.collisionBoxArray.length, se = k ? k.boxStartIndex : t.collisionBoxArray.length, ce = k ? k.boxEndIndex : t.collisionBoxArray.length, ue = O ? O.boxStartIndex : t.collisionBoxArray.length, de = O ? O.boxEndIndex : t.collisionBoxArray.length, fe = A ? A.boxStartIndex : t.collisionBoxArray.length, pe = A ? A.boxEndIndex : t.collisionBoxArray.length, me = -1, F = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
17704
+ me = F(D, me), me = F(k, me), me = F(O, me), me = F(A, me);
17705
+ let he = +(me > -1);
17706
+ he && (me *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && le("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), x.sortKey !== void 0 && t.addToSortKeyRanges(t.symbolInstances.length, x.sortKey);
17707
+ let ge = Dh(c, x, w), [_e, ve] = function(t, n) {
17708
17708
  let r = t.length, i = n == null ? void 0 : n.values;
17709
17709
  if ((i == null ? void 0 : i.length) > 0) for (let n = 0; n < i.length; n += 2) {
17710
17710
  let r = i[n + 1];
17711
17711
  t.emplaceBack(e.aM[i[n]], r[0], r[1]);
17712
17712
  }
17713
17713
  return [r, t.length];
17714
- }(t.textAnchorOffsets, _e);
17715
- t.symbolInstances.emplaceBack(n.x, n.y, re.right >= 0 ? re.right : -1, re.center >= 0 ? re.center : -1, re.left >= 0 ? re.left : -1, re.vertical || -1, N, ne, ie, oe, se, ce, le, de, fe, pe, me, u, ee, te, j, M, ge, 0, p, P, ve, ye);
17714
+ }(t.textAnchorOffsets, ge);
17715
+ t.symbolInstances.emplaceBack(n.x, n.y, ne.right >= 0 ? ne.right : -1, ne.center >= 0 ? ne.center : -1, ne.left >= 0 ? ne.left : -1, ne.vertical || -1, P, te, re, ae, oe, se, ce, ue, de, fe, pe, u, N, ee, j, M, he, 0, p, me, _e, ve);
17716
17716
  }(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
17717
17717
  S,
17718
17718
  S,
@@ -17722,22 +17722,22 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17722
17722
  };
17723
17723
  if (D === "line") for (let e of eh(n.geometry, 0, 0, O, O)) {
17724
17724
  let n = yl(e, M), a = fh(n, x, w, r.vertical || g, i, 24, y, t.overscaling, O);
17725
- for (let e of a) g && Mh(t, g.text, k, e) || ee(n, e);
17725
+ for (let e of a) g && Mh(t, g.text, k, e) || N(n, e);
17726
17726
  }
17727
17727
  else if (D === "line-center") {
17728
17728
  for (let e of n.geometry) if (e.length > 1) {
17729
17729
  let t = yl(e, M), n = dh(t, w, r.vertical || g, i, 24, y);
17730
- n && ee(t, n);
17730
+ n && N(t, n);
17731
17731
  }
17732
17732
  } else if (n.type === "Polygon") for (let e of or(n.geometry, 0)) {
17733
17733
  let t = xh(e, 16);
17734
- ee(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17734
+ N(yl(e[0], M, !0), new oh(t.x, t.y, 0));
17735
17735
  }
17736
17736
  else if (n.type === "LineString") for (let e of n.geometry) {
17737
17737
  let t = yl(e, M);
17738
- ee(t, new oh(t[0].x, t[0].y, 0));
17738
+ N(t, new oh(t[0].x, t[0].y, 0));
17739
17739
  }
17740
- else if (n.type === "Point") for (let e of n.geometry) for (let t of e) ee([t], new oh(t.x, t.y, 0));
17740
+ else if (n.type === "Point") for (let e of n.geometry) for (let t of e) N([t], new oh(t.x, t.y, 0));
17741
17741
  }
17742
17742
  function Ah(e, t, r, i, a, o, s, c, l, u, d, f, p, m, h) {
17743
17743
  let g = function(e, t, r, i, a, o, s, c) {
@@ -17784,7 +17784,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17784
17784
  }
17785
17785
  return u;
17786
17786
  }(0, r, c, a, o, s, i, e.allowVerticalPlacement), _ = e.textSizeData, v = null;
17787
- _.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && ue(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)) : _.kind === "composite" && (v = [128 * m.compositeTextSizes[0].evaluate(s, {}, h), 128 * m.compositeTextSizes[1].evaluate(s, {}, h)], (v[0] > df || v[1] > df) && ue(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)), e.addSymbols(e.text, g, v, c, o, s, u, t, l.lineStartIndex, l.lineLength, p, h);
17787
+ _.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)) : _.kind === "composite" && (v = [128 * m.compositeTextSizes[0].evaluate(s, {}, h), 128 * m.compositeTextSizes[1].evaluate(s, {}, h)], (v[0] > df || v[1] > df) && le(`${e.layerIds[0]}: Value for "text-size" is >= 255. Reduce your "text-size".`)), e.addSymbols(e.text, g, v, c, o, s, u, t, l.lineStartIndex, l.lineLength, p, h);
17788
17788
  for (let t of d) f[t] = e.text.placedSymbolArray.length - 1;
17789
17789
  return 4 * g.length;
17790
17790
  }
@@ -17800,21 +17800,21 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17800
17800
  } else i[t] = [];
17801
17801
  return i[t].push(r), !1;
17802
17802
  }
17803
- e.$ = Te, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Le, e.F = ca, e.G = function([e, t, n]) {
17803
+ e.$ = we, e.A = f, e.B = Ra, e.C = pa, e.D = Z, e.E = Le, e.F = ca, e.G = function([e, t, n]) {
17804
17804
  return t += 90, t *= Math.PI / 180, n *= Math.PI / 180, {
17805
17805
  x: e * Math.cos(t) * Math.sin(n),
17806
17806
  y: e * Math.sin(t) * Math.sin(n),
17807
17807
  z: e * Math.cos(n)
17808
17808
  };
17809
17809
  }, e.H = xn, e.I = Xd, e.J = Ia, e.K = ua, e.L = function(e) {
17810
- if (pe == null) {
17810
+ if (fe == null) {
17811
17811
  let t = e.navigator ? e.navigator.userAgent : null;
17812
- pe = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
17812
+ fe = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
17813
17813
  }
17814
- return pe;
17815
- }, e.M = ke, e.N = class {
17814
+ return fe;
17815
+ }, e.M = Oe, e.N = class {
17816
17816
  constructor(e, t) {
17817
- this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = ve(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = fe(self) ? e : window;
17817
+ this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription = _e(this.target, "message", ((e) => this.receive(e)), !1), this.globalScope = de(self) ? e : window;
17818
17818
  }
17819
17819
  registerMessageHandler(e, t) {
17820
17820
  this.messageHandlers[e] = t;
@@ -17824,7 +17824,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17824
17824
  }
17825
17825
  sendAsync(e, t) {
17826
17826
  return new Promise(((n, r) => {
17827
- let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? ve(t.signal, "abort", (() => {
17827
+ let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? _e(t.signal, "abort", (() => {
17828
17828
  a == null || a.unsubscribe(), delete this.resolveRejects[i];
17829
17829
  let t = {
17830
17830
  id: i,
@@ -17865,7 +17865,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17865
17865
  delete this.abortControllers[n], e && e.abort();
17866
17866
  return;
17867
17867
  }
17868
- if (fe(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
17868
+ if (de(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
17869
17869
  this.processTask(n, t);
17870
17870
  }
17871
17871
  }
@@ -17925,10 +17925,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17925
17925
  let n = {};
17926
17926
  for (let r of t) r in e && (n[r] = e[r]);
17927
17927
  return n;
17928
- }, e.W = Nf, e.X = re, e.Y = Lf, e.Z = If, e._ = t, e.a = we, e.a$ = function(e) {
17928
+ }, e.W = Nf, e.X = ne, e.Y = Lf, e.Z = If, e._ = t, e.a = Ce, e.a$ = function(e) {
17929
17929
  var t = new f(3);
17930
17930
  return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
17931
- }, e.a0 = l, e.a1 = u, e.a2 = he, e.a3 = Kf, e.a4 = zf, e.a5 = Bf, e.a6 = O, e.a7 = Hf, e.a8 = Jf, e.a9 = 25, e.aA = function(e) {
17931
+ }, e.a0 = l, e.a1 = u, e.a2 = F, e.a3 = Kf, e.a4 = zf, e.a5 = Bf, e.a6 = O, e.a7 = Hf, e.a8 = Jf, e.a9 = 25, e.aA = function(e) {
17932
17932
  var t = e[0], n = e[1];
17933
17933
  return Math.sqrt(t * t + n * n);
17934
17934
  }, e.aB = function(e) {
@@ -17957,7 +17957,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17957
17957
  n = [n[0] * t - n[1] * e, n[0] * e + n[1] * t];
17958
17958
  }
17959
17959
  return [i ? n[0] : k(t, n[0], e.zoom), i ? n[1] : k(t, n[1], e.zoom)];
17960
- }, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX = be, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
17960
+ }, e.aN = pf, e.aO = Oh, e.aP = ef, e.aQ = (e) => e.type === "symbol", e.aR = Zl, e.aS = oo, e.aT = ml, e.aU = Go, e.aV = ss, e.aW = is, e.aX = ye, e.aY = Vf, e.aZ = y, e.a_ = v, e.aa = Wf, e.ab = (e) => {
17961
17961
  let t = window.document.createElement("video");
17962
17962
  return t.muted = !0, new Promise(((n) => {
17963
17963
  t.onloadstart = () => {
@@ -17969,7 +17969,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17969
17969
  }
17970
17970
  }));
17971
17971
  }, e.ac = z, e.ad = function() {
17972
- return ae++;
17972
+ return ie++;
17973
17973
  }, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
17974
17974
  let t = {};
17975
17975
  if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
@@ -17980,7 +17980,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
17980
17980
  isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
17981
17981
  }
17982
17982
  return t;
17983
- }, e.al = ne, e.am = 85.051129, e.an = ye, e.ao = function(e) {
17983
+ }, e.al = te, e.am = 85.051129, e.an = ve, e.ao = function(e) {
17984
17984
  return 2 ** e;
17985
17985
  }, e.ap = m, e.aq = Rf, e.ar = function(e) {
17986
17986
  return Math.log(e) / Math.LN2;
@@ -18065,7 +18065,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18065
18065
  let n = 0, r = 0;
18066
18066
  if (e.kind === "constant") r = e.layoutSize;
18067
18067
  else if (e.kind !== "source") {
18068
- let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? ne(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18068
+ let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? te(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
18069
18069
  e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
18070
18070
  }
18071
18071
  return {
@@ -18074,7 +18074,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18074
18074
  };
18075
18075
  }, e.ay = function(e, { uSize: t, uSizeT: n }, { lowerSize: r, upperSize: i }) {
18076
18076
  return e.kind === "source" ? r / 128 : e.kind === "composite" ? xn.number(r / 128, i / 128, n) : t;
18077
- }, e.az = E, e.b = me, e.b$ = Ts, e.b0 = function(e, t, n) {
18077
+ }, e.az = E, e.b = pe, e.b$ = Ts, e.b0 = function(e, t, n) {
18078
18078
  return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e;
18079
18079
  }, e.b1 = function(e, t) {
18080
18080
  var n = t[0], r = t[1], i = t[2], a = n * n + r * r + i * i;
@@ -18182,7 +18182,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18182
18182
  return !0;
18183
18183
  }
18184
18184
  return t === n;
18185
- }, e.bR = Ee, e.bS = function(e) {
18185
+ }, e.bR = Te, e.bS = function(e) {
18186
18186
  e = e.slice();
18187
18187
  let t = Object.create(null);
18188
18188
  for (let n = 0; n < e.length; n++) t[e[n].id] = e[n];
@@ -18202,7 +18202,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18202
18202
  case "raster": return new no(e, t);
18203
18203
  case "symbol": return new Tf(e, t);
18204
18204
  }
18205
- }, e.bU = (e) => e.type === "raster", e.bV = ce, e.bW = function(e, t) {
18205
+ }, e.bU = (e) => e.type === "raster", e.bV = se, e.bW = function(e, t) {
18206
18206
  if (!e) return [{
18207
18207
  command: "setStyle",
18208
18208
  args: [t]
@@ -18330,7 +18330,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18330
18330
  }, e.bX = function(e) {
18331
18331
  let t = [], n = e.id;
18332
18332
  return n === void 0 && t.push({ message: `layers.${n}: missing required property "id"` }), e.render === void 0 && t.push({ message: `layers.${n}: missing required method "render"` }), e.renderingMode && e.renderingMode !== "2d" && e.renderingMode !== "3d" && t.push({ message: `layers.${n}: property "renderingMode" must be either "2d" or "3d"` }), t;
18333
- }, e.bY = oe, e.bZ = se, e.b_ = class extends Ss {
18333
+ }, e.bY = ae, e.bZ = oe, e.b_ = class extends Ss {
18334
18334
  constructor(e, t) {
18335
18335
  super(e, t), this.current = 0;
18336
18336
  }
@@ -18374,21 +18374,21 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18374
18374
  let t = /* @__PURE__ */ new Float64Array(9);
18375
18375
  var n, r, i, a, o, s, c, l, u, d = (i = (r = e)[0]) * (c = i + i), f = (a = r[1]) * c, p, m = (o = r[2]) * c, h = o * (l = a + a), g, _ = (s = r[3]) * c, v = s * l, y = s * (u = o + o);
18376
18376
  (n = t)[0] = 1 - (p = a * l) - (g = o * u), n[3] = f - y, n[6] = m + v, n[1] = f + y, n[4] = 1 - d - g, n[7] = h - _, n[2] = m - v, n[5] = h + _, n[8] = 1 - d - p;
18377
- let b = be(-Math.asin(ne(t[2], -1, 1))), x, S;
18378
- return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -be(Math.atan2(t[3], t[4]))) : (x = be(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), S = be(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), {
18377
+ let b = ye(-Math.asin(te(t[2], -1, 1))), x, S;
18378
+ return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -ye(Math.atan2(t[3], t[4]))) : (x = ye(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), S = ye(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), {
18379
18379
  roll: x,
18380
18380
  pitch: b + 90,
18381
18381
  bearing: S
18382
18382
  };
18383
18383
  }, e.bn = function(e, t) {
18384
18384
  return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
18385
- }, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = ee, e.bv = Jt, e.bw = function(e, t, n, r, i) {
18386
- return M(r, i, ne((e - t) / (n - t), 0, 1));
18385
+ }, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu = N, e.bv = Jt, e.bw = function(e, t, n, r, i) {
18386
+ return M(r, i, te((e - t) / (n - t), 0, 1));
18387
18387
  }, e.bx = function(e, t, n, r) {
18388
18388
  return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
18389
18389
  }, e.by = j, e.bz = function() {
18390
18390
  return /* @__PURE__ */ new Float64Array(3);
18391
- }, e.c = De, e.c$ = si, e.c0 = class extends Ss {
18391
+ }, e.c = Ee, e.c$ = si, e.c0 = class extends Ss {
18392
18392
  constructor(e, t) {
18393
18393
  super(e, t), this.current = Es;
18394
18394
  }
@@ -18450,9 +18450,9 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18450
18450
  }
18451
18451
  }
18452
18452
  }, e.cA = function(e, t) {
18453
- return xe[t] && "touches" in e;
18453
+ return be[t] && "touches" in e;
18454
18454
  }, e.cB = function(e) {
18455
- return xe[e] || Se[e];
18455
+ return be[e] || xe[e];
18456
18456
  }, e.cC = function(e, t, n) {
18457
18457
  var r = t[0], i = t[1];
18458
18458
  return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
@@ -18461,10 +18461,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18461
18461
  return !(e < 0 || e > 25 || r < 0 || r >= 1 || n < 0 || n >= 1);
18462
18462
  }, e.cE = function(e, t) {
18463
18463
  return e[0] = t[0], e[1] = 0, e[2] = 0, e[3] = 0, e[4] = 0, e[5] = t[1], e[6] = 0, e[7] = 0, e[8] = 0, e[9] = 0, e[10] = t[2], e[11] = 0, e[12] = 0, e[13] = 0, e[14] = 0, e[15] = 1, e;
18464
- }, e.cF = class extends lo {}, e.cG = F, e.cH = function(e, t) {
18465
- De.REGISTERED_PROTOCOLS[e] = t;
18464
+ }, e.cF = class extends lo {}, e.cG = ke, e.cH = function(e, t) {
18465
+ Ee.REGISTERED_PROTOCOLS[e] = t;
18466
18466
  }, e.cI = function(e) {
18467
- delete De.REGISTERED_PROTOCOLS[e];
18467
+ delete Ee.REGISTERED_PROTOCOLS[e];
18468
18468
  }, e.cJ = function(e, t) {
18469
18469
  let n = {};
18470
18470
  for (let r = 0; r < e.length; r++) {
@@ -18527,7 +18527,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18527
18527
  let b = !1;
18528
18528
  if ((n = o.icon) != null && n.name) {
18529
18529
  let e = t.imageMap[o.icon.name];
18530
- e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b && ue("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (e.pixelRatio !== t.bucket.pixelRatio || a.get("icon-rotate").constantOr(1) !== 0) && (t.bucket.iconsNeedLinear = !0));
18530
+ e && (v = cf(t.imagePositions[o.icon.name], a.get("icon-offset").evaluate(o, {}, t.canonical), a.get("icon-anchor").evaluate(o, {}, t.canonical)), b = !!e.sdf, t.bucket.sdfIcons === void 0 ? t.bucket.sdfIcons = b : t.bucket.sdfIcons !== b && le("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"), (e.pixelRatio !== t.bucket.pixelRatio || a.get("icon-rotate").constantOr(1) !== 0) && (t.bucket.iconsNeedLinear = !0));
18531
18531
  }
18532
18532
  let x = jh(g.horizontal) || g.vertical;
18533
18533
  (r = t.bucket).iconsInText || (r.iconsInText = !!x && x.iconsInText), (x || v) && kh(t.bucket, o, g, v, t.imageMap, s, m, h, y, b, t.canonical, t.subdivisionGranularity);
@@ -18563,13 +18563,13 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18563
18563
  }, e.cV = Ll, e.cW = Pd, e.cX = Vm, e.cY = function(e, n, r, i, a) {
18564
18564
  return t(this, void 0, void 0, (function* () {
18565
18565
  if (u()) try {
18566
- return yield he(e, n, r, i, a);
18566
+ return yield F(e, n, r, i, a);
18567
18567
  } catch {}
18568
18568
  return function(e, t, n, r, i) {
18569
18569
  let a = e.width, o = e.height;
18570
- ge && _e || (ge = new OffscreenCanvas(a, o), _e = ge.getContext("2d", { willReadFrequently: !0 })), ge.width = a, ge.height = o, _e.drawImage(e, 0, 0, a, o);
18571
- let s = _e.getImageData(t, n, r, i);
18572
- return _e.clearRect(0, 0, a, o), s.data;
18570
+ he && ge || (he = new OffscreenCanvas(a, o), ge = he.getContext("2d", { willReadFrequently: !0 })), he.width = a, he.height = o, ge.drawImage(e, 0, 0, a, o);
18571
+ let s = ge.getImageData(t, n, r, i);
18572
+ return ge.clearRect(0, 0, a, o), s.data;
18573
18573
  }(e, n, r, i, a);
18574
18574
  }));
18575
18575
  }, e.cZ = Ic, e.c_ = class {
@@ -18587,21 +18587,21 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18587
18587
  }, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
18588
18588
  return e[0] === t[0] && e[1] === t[1] && e[2] === t[2] && e[3] === t[3] && e[4] === t[4] && e[5] === t[5] && e[6] === t[6] && e[7] === t[7] && e[8] === t[8] && e[9] === t[9] && e[10] === t[10] && e[11] === t[11] && e[12] === t[12] && e[13] === t[13] && e[14] === t[14] && e[15] === t[15];
18589
18589
  }, e.ck = function(e, t) {
18590
- var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13], ee = t[14], te = t[15];
18591
- return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ - ee) <= d * Math.max(1, Math.abs(_), Math.abs(ee)) && Math.abs(v - te) <= d * Math.max(1, Math.abs(v), Math.abs(te));
18590
+ var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], c = e[6], l = e[7], u = e[8], f = e[9], p = e[10], m = e[11], h = e[12], g = e[13], _ = e[14], v = e[15], y = t[0], b = t[1], x = t[2], S = t[3], C = t[4], w = t[5], T = t[6], E = t[7], D = t[8], O = t[9], k = t[10], A = t[11], j = t[12], M = t[13], N = t[14], ee = t[15];
18591
+ return Math.abs(n - y) <= d * Math.max(1, Math.abs(n), Math.abs(y)) && Math.abs(r - b) <= d * Math.max(1, Math.abs(r), Math.abs(b)) && Math.abs(i - x) <= d * Math.max(1, Math.abs(i), Math.abs(x)) && Math.abs(a - S) <= d * Math.max(1, Math.abs(a), Math.abs(S)) && Math.abs(o - C) <= d * Math.max(1, Math.abs(o), Math.abs(C)) && Math.abs(s - w) <= d * Math.max(1, Math.abs(s), Math.abs(w)) && Math.abs(c - T) <= d * Math.max(1, Math.abs(c), Math.abs(T)) && Math.abs(l - E) <= d * Math.max(1, Math.abs(l), Math.abs(E)) && Math.abs(u - D) <= d * Math.max(1, Math.abs(u), Math.abs(D)) && Math.abs(f - O) <= d * Math.max(1, Math.abs(f), Math.abs(O)) && Math.abs(p - k) <= d * Math.max(1, Math.abs(p), Math.abs(k)) && Math.abs(m - A) <= d * Math.max(1, Math.abs(m), Math.abs(A)) && Math.abs(h - j) <= d * Math.max(1, Math.abs(h), Math.abs(j)) && Math.abs(g - M) <= d * Math.max(1, Math.abs(g), Math.abs(M)) && Math.abs(_ - N) <= d * Math.max(1, Math.abs(_), Math.abs(N)) && Math.abs(v - ee) <= d * Math.max(1, Math.abs(v), Math.abs(ee));
18592
18592
  }, e.cl = function(e, t) {
18593
18593
  return e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], e[4] = t[4], e[5] = t[5], e[6] = t[6], e[7] = t[7], e[8] = t[8], e[9] = t[9], e[10] = t[10], e[11] = t[11], e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
18594
- }, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv = te, e.cw = function(e, t, n) {
18594
+ }, e.cm = (e) => e.type === "circle", e.cn = (e) => e.type === "heatmap", e.co = (e) => e.type === "line", e.cp = (e) => e.type === "fill", e.cq = (e) => e.type === "fill-extrusion", e.cr = (e) => e.type === "hillshade", e.cs = (e) => e.type === "color-relief", e.ct = (e) => e.type === "background", e.cu = (e) => e.type === "custom", e.cv = ee, e.cw = function(e, t, n) {
18595
18595
  if (t <= 0) return e;
18596
18596
  let r = 1 / t;
18597
18597
  return n === void 0 || Math.abs(n) < 1e-10 ? Math.round(e * r) / r : (n > 0 ? Math.ceil(e * r - 1e-9) : Math.floor(e * r + 1e-10)) / r;
18598
18598
  }, e.cx = function(e, t, n) {
18599
18599
  let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
18600
18600
  var a, o;
18601
- return be(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18602
- }, e.cy = N, e.cz = function(e, t) {
18601
+ return ye(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
18602
+ }, e.cy = P, e.cz = function(e, t) {
18603
18603
  var n;
18604
- if (!Se[t]) return !1;
18604
+ if (!xe[t]) return !1;
18605
18605
  let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
18606
18606
  return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
18607
18607
  }, e.d = A, e.d0 = class {
@@ -18697,7 +18697,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18697
18697
  getClusterLeaves(e, t, n) {
18698
18698
  return this.tileIndex.getLeaves(e, t, n);
18699
18699
  }
18700
- }, e.d1 = Fa, e.e = ie, e.f = Me, e.g = Oe, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18700
+ }, e.d1 = Fa, e.e = re, e.f = Me, e.g = De, e.h = (e) => t(void 0, void 0, void 0, (function* () {
18701
18701
  if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
18702
18702
  let t = new Blob([new Uint8Array(e)], { type: "image/png" });
18703
18703
  try {
@@ -18705,18 +18705,18 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
18705
18705
  } catch (e) {
18706
18706
  throw Error(`Could not load image because of ${A(e).message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`);
18707
18707
  }
18708
- })), e.i = fe, e.j = (e) => new Promise(((t, n) => {
18708
+ })), e.i = de, e.j = (e) => new Promise(((t, n) => {
18709
18709
  let r = new Image();
18710
18710
  r.onload = () => {
18711
- t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = P));
18711
+ t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = me));
18712
18712
  }, r.onerror = () => n(/* @__PURE__ */ Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));
18713
18713
  let i = new Blob([new Uint8Array(e)], { type: "image/png" });
18714
- r.src = e.byteLength ? URL.createObjectURL(i) : P;
18715
- })), e.k = (e, t) => je(ie(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(ie(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18714
+ r.src = e.byteLength ? URL.createObjectURL(i) : me;
18715
+ })), e.k = (e, t) => je(re(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(re(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
18716
18716
  return new Pd(e).readFields(Kd, []);
18717
18717
  }, e.r = function(e) {
18718
18718
  return /[\u02EA\u02EB\u1100-\u11FF\u2E80-\u2FDF\u3000-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFE10-\uFE1F\uFE30-\uFE4F\uFF00-\uFFEF]|\uD81B[\uDFE0-\uDFFF]|[\uD81C-\uD822\uD840-\uD868\uD86A-\uD86D\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD88C][\uDC00-\uDFFF]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD1E\uDD80-\uDDF2]|\uD82B[\uDFF0-\uDFFF]|\uD82C[\uDC00-\uDEFB]|\uD83C[\uDE00-\uDEFF]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEAD\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD88D[\uDC00-\uDC79]/gim.test(String.fromCodePoint(e));
18719
- }, e.s = ve, e.t = Cc, e.u = Xa, e.v = sa, e.w = ue, e.x = I, e.y = Va, e.z = la;
18719
+ }, e.s = _e, e.t = Cc, e.u = Xa, e.v = sa, e.w = le, e.x = I, e.y = Va, e.z = la;
18720
18720
  })), n("worker", ["./shared"], (function(e) {
18721
18721
  class t {
18722
18722
  constructor(e, t) {
@@ -20260,12 +20260,12 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20260
20260
  return Object.keys(this.active).length;
20261
20261
  }
20262
20262
  }
20263
- let M = Math.floor(s.hardwareConcurrency / 2), ee, te;
20264
- function N() {
20265
- return ee || (ee = new j()), ee;
20263
+ let M = Math.floor(s.hardwareConcurrency / 2), N, ee;
20264
+ function P() {
20265
+ return N || (N = new j()), N;
20266
20266
  }
20267
20267
  j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
20268
- class ne {
20268
+ class te {
20269
20269
  constructor(e, n) {
20270
20270
  this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
20271
20271
  let r = this.workerPool.acquire(n);
@@ -20297,10 +20297,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20297
20297
  for (let t of this.actors) t.unregisterMessageHandler(e);
20298
20298
  }
20299
20299
  }
20300
- function re() {
20301
- return te || (te = new ne(N(), t.M), te.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), te;
20300
+ function ne() {
20301
+ return ee || (ee = new te(P(), t.M), ee.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), ee;
20302
20302
  }
20303
- function ie(e, n) {
20303
+ function re(e, n) {
20304
20304
  let r = t.O();
20305
20305
  return t.Q(r, r, [
20306
20306
  1,
@@ -20312,7 +20312,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20312
20312
  1
20313
20313
  ]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
20314
20314
  }
20315
- function ae(e, t, n, r, i, a, o) {
20315
+ function ie(e, t, n, r, i, a, o) {
20316
20316
  var s;
20317
20317
  let c = function(e, t, n) {
20318
20318
  if (e) for (let r of e) {
@@ -20325,14 +20325,14 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20325
20325
  }
20326
20326
  return !1;
20327
20327
  }((s = i == null ? void 0 : i.layers) == null ? null : s, t, e.id), l = a.maxPitchScaleFactor(), u = e.tilesIn(r, l, c);
20328
- u.sort(oe);
20328
+ u.sort(ae);
20329
20329
  let d = [];
20330
20330
  for (let r of u) d.push({
20331
20331
  wrappedTileID: r.tileID.wrapped().key,
20332
- queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, ie(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20332
+ queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, re(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
20333
20333
  });
20334
20334
  return function(e, t) {
20335
- for (let n in e) for (let r of e[n]) se(r, t);
20335
+ for (let n in e) for (let r of e[n]) oe(r, t);
20336
20336
  return e;
20337
20337
  }(function(e) {
20338
20338
  let t = {}, n = {};
@@ -20350,15 +20350,15 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20350
20350
  return t;
20351
20351
  }(d), e);
20352
20352
  }
20353
- function oe(e, t) {
20353
+ function ae(e, t) {
20354
20354
  let n = e.tileID, r = t.tileID;
20355
20355
  return n.overscaledZ - r.overscaledZ || n.canonical.y - r.canonical.y || n.wrap - r.wrap || n.canonical.x - r.canonical.x;
20356
20356
  }
20357
- function se(e, t) {
20357
+ function oe(e, t) {
20358
20358
  let n = e.feature, r = t.getFeatureState(n.layer["source-layer"], n.id);
20359
20359
  n.source = n.layer.source, n.layer["source-layer"] && (n.sourceLayer = n.layer["source-layer"]), n.state = r;
20360
20360
  }
20361
- function ce(e, n, r, i) {
20361
+ function se(e, n, r, i) {
20362
20362
  return t._(this, void 0, void 0, (function* () {
20363
20363
  let a = e;
20364
20364
  if (e.url ? a = (yield t.k(yield n.transformRequest(e.url, "Source"), r)).data : yield s.frameAsync(r, i), !a) return null;
@@ -20375,7 +20375,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20375
20375
  return "vector_layers" in a && a.vector_layers && (o.vectorLayerIds = a.vector_layers.map(((e) => e.id))), o;
20376
20376
  }));
20377
20377
  }
20378
- class le {
20378
+ class ce {
20379
20379
  constructor(e, t) {
20380
20380
  e && (t ? this.setSouthWest(e).setNorthEast(t) : Array.isArray(e) && (e.length === 4 ? this.setSouthWest([e[0], e[1]]).setNorthEast([e[2], e[3]]) : this.setSouthWest(e[0]).setNorthEast(e[1])));
20381
20381
  }
@@ -20389,7 +20389,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20389
20389
  let n = this._sw, r = this._ne, i, a;
20390
20390
  if (e instanceof t.W) i = e, a = e;
20391
20391
  else {
20392
- if (!(e instanceof le)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(le.convert(e)) : this.extend(t.W.convert(e)) : e && ("lng" in e || "lon" in e) && "lat" in e ? this.extend(t.W.convert(e)) : this;
20392
+ if (!(e instanceof ce)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(ce.convert(e)) : this.extend(t.W.convert(e)) : e && ("lng" in e || "lon" in e) && "lat" in e ? this.extend(t.W.convert(e)) : this;
20393
20393
  if (i = e._sw, a = e._ne, !i || !a) return this;
20394
20394
  }
20395
20395
  return n || r ? (n.lng = Math.min(i.lng, n.lng), n.lat = Math.min(i.lat, n.lat), r.lng = Math.max(a.lng, r.lng), r.lat = Math.max(a.lat, r.lat)) : (this._sw = new t.W(i.lng, i.lat), this._ne = new t.W(a.lng, a.lat)), this;
@@ -20435,27 +20435,27 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20435
20435
  return this._sw.lng > this._ne.lng && (i = this._sw.lng >= n && n >= this._ne.lng), this._sw.lat <= r && r <= this._ne.lat && i;
20436
20436
  }
20437
20437
  intersects(e) {
20438
- if (!((e = le.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20438
+ if (!((e = ce.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
20439
20439
  let n = Math.abs(this.getEast() - this.getWest()), r = Math.abs(e.getEast() - e.getWest());
20440
20440
  if (n >= 360 || r >= 360) return !0;
20441
20441
  let i = t.X(this.getWest(), -180, 180), a = t.X(this.getEast(), -180, 180), o = t.X(e.getWest(), -180, 180), s = t.X(e.getEast(), -180, 180), c = i > a, l = o > s;
20442
20442
  return !(!c || !l) || (c ? s >= i || o <= a : l ? a >= o || i <= s : o <= a && s >= i);
20443
20443
  }
20444
20444
  static convert(e) {
20445
- return e instanceof le ? e : e && new le(e);
20445
+ return e instanceof ce ? e : e && new ce(e);
20446
20446
  }
20447
20447
  static fromLngLat(e, n = 0) {
20448
20448
  let r = 360 * n / 40075017, i = r / Math.cos(Math.PI / 180 * e.lat);
20449
- return new le(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20449
+ return new ce(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
20450
20450
  }
20451
20451
  adjustAntiMeridian() {
20452
20452
  let e = new t.W(this._sw.lng, this._sw.lat), n = new t.W(this._ne.lng, this._ne.lat);
20453
- return new le(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20453
+ return new ce(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
20454
20454
  }
20455
20455
  }
20456
- class ue {
20456
+ class le {
20457
20457
  constructor(e, t, n) {
20458
- this.bounds = le.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20458
+ this.bounds = ce.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
20459
20459
  }
20460
20460
  validateBounds(e) {
20461
20461
  return Array.isArray(e) && e.length === 4 ? [
@@ -20475,7 +20475,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20475
20475
  return e.x >= r && e.x < a && e.y >= i && e.y < o;
20476
20476
  }
20477
20477
  }
20478
- class de extends t.E {
20478
+ class ue extends t.E {
20479
20479
  constructor(e, n, r, i) {
20480
20480
  if (super(), this.id = e, this.dispatcher = r, this.type = "vector", this.minzoom = 0, this.maxzoom = 22, this.scheme = "xyz", this.tileSize = 512, this.reparseOverscaled = !0, this.isTileClipped = !0, this._loaded = !1, t.e(this, t.V(n, [
20481
20481
  "url",
@@ -20490,8 +20490,8 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20490
20490
  return t._(this, arguments, void 0, (function* (e = !1) {
20491
20491
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20492
20492
  try {
20493
- let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20494
- this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ue(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20493
+ let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20494
+ this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new le(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20495
20495
  dataType: "source",
20496
20496
  sourceDataType: "metadata"
20497
20497
  })), this.fire(new t.n("data", {
@@ -20621,7 +20621,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20621
20621
  return !1;
20622
20622
  }
20623
20623
  }
20624
- class fe extends t.E {
20624
+ class de extends t.E {
20625
20625
  constructor(e, n, r, i) {
20626
20626
  super(), this.id = e, this.dispatcher = r, this.setEventedParent(i), this.type = "raster", this.minzoom = 0, this.maxzoom = 22, this.roundZoom = !0, this.scheme = "xyz", this.tileSize = 512, this._loaded = !1, this._options = t.e({ type: "raster" }, n), t.e(this, t.V(n, [
20627
20627
  "url",
@@ -20633,8 +20633,8 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20633
20633
  return t._(this, arguments, void 0, (function* (e = !1) {
20634
20634
  this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
20635
20635
  try {
20636
- let n = yield ce(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20637
- this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ue(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20636
+ let n = yield se(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
20637
+ this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new le(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
20638
20638
  dataType: "source",
20639
20639
  sourceDataType: "metadata"
20640
20640
  })), this.fire(new t.n("data", {
@@ -20710,7 +20710,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20710
20710
  return !1;
20711
20711
  }
20712
20712
  }
20713
- class pe extends fe {
20713
+ class fe extends de {
20714
20714
  constructor(e, n, r, i) {
20715
20715
  super(e, n, r, i), this.type = "raster-dem", this.maxzoom = 22, this._options = t.e({ type: "raster-dem" }, n), this.encoding = n.encoding || "mapbox", this.redFactor = n.redFactor, this.greenFactor = n.greenFactor, this.blueFactor = n.blueFactor, this.baseShift = n.baseShift;
20716
20716
  }
@@ -20781,10 +20781,10 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20781
20781
  }));
20782
20782
  }
20783
20783
  }
20784
- function me(e, t) {
20784
+ function pe(e, t) {
20785
20785
  return t ? e.properties[t] : e.id;
20786
20786
  }
20787
- function P(e, t) {
20787
+ function me(e, t) {
20788
20788
  let n = { id: e.id };
20789
20789
  if (t.removeAllProperties && (delete e.removeProperties, delete e.addOrUpdateProperties, delete t.removeProperties), t.removeProperties) for (let n of t.removeProperties) {
20790
20790
  let t = e.addOrUpdateProperties.findIndex(((e) => e.key === n));
@@ -20792,28 +20792,28 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20792
20792
  }
20793
20793
  return (e.removeAllProperties || t.removeAllProperties) && (n.removeAllProperties = !0), (e.removeProperties || t.removeProperties) && (n.removeProperties = [...e.removeProperties || [], ...t.removeProperties || []]), (e.addOrUpdateProperties || t.addOrUpdateProperties) && (n.addOrUpdateProperties = [...e.addOrUpdateProperties || [], ...t.addOrUpdateProperties || []]), (e.newGeometry || t.newGeometry) && (n.newGeometry = t.newGeometry || e.newGeometry), n;
20794
20794
  }
20795
- function he(e) {
20795
+ function F(e) {
20796
20796
  var t, n;
20797
20797
  if (!e) return {};
20798
20798
  let r = {};
20799
20799
  return r.removeAll = e.removeAll, r.remove = new Set(e.remove || []), r.add = new Map((t = e.add) == null ? void 0 : t.map(((e) => [e.id, e]))), r.update = new Map((n = e.update) == null ? void 0 : n.map(((e) => [e.id, e]))), r;
20800
20800
  }
20801
+ function he(e) {
20802
+ return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => he(e))) : [];
20803
+ }
20801
20804
  function ge(e) {
20802
- return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => ge(e))) : [];
20805
+ return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => ge(e))) : he(e.coordinates);
20803
20806
  }
20804
20807
  function _e(e) {
20805
- return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => _e(e))) : ge(e.coordinates);
20806
- }
20807
- function ve(e) {
20808
- let t = new le(), n;
20808
+ let t = new ce(), n;
20809
20809
  switch (e.type) {
20810
20810
  case "FeatureCollection":
20811
- n = e.features.flatMap(((e) => _e(e.geometry)));
20811
+ n = e.features.flatMap(((e) => ge(e.geometry)));
20812
20812
  break;
20813
20813
  case "Feature":
20814
- n = _e(e.geometry);
20814
+ n = ge(e.geometry);
20815
20815
  break;
20816
- default: n = _e(e);
20816
+ default: n = ge(e);
20817
20817
  }
20818
20818
  if (n.length === 0) return t;
20819
20819
  for (let e of n) {
@@ -20822,7 +20822,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20822
20822
  }
20823
20823
  return t;
20824
20824
  }
20825
- class ye extends t.E {
20825
+ class ve extends t.E {
20826
20826
  constructor(e, n, r, i) {
20827
20827
  super(), this.id = e, this.type = "geojson", this.minzoom = 0, this.maxzoom = 18, this.tileSize = 512, this.isTileClipped = !0, this.reparseOverscaled = !0, this._removed = !1, this._isUpdatingWorker = !1, this._pendingWorkerUpdate = { data: n.data }, this.actor = r.getActor(), this.setEventedParent(i), this._data = typeof n.data == "string" ? { url: n.data } : { geojson: n.data }, this._options = t.e({}, n), this._collectResourceTiming = n.collectResourceTiming, n.maxzoom !== void 0 && (this.maxzoom = n.maxzoom), n.type && (this.type = n.type), n.attribution && (this.attribution = n.attribution), this.promoteId = n.promoteId, n.clusterMaxZoom !== void 0 && this.maxzoom <= n.clusterMaxZoom && t.w(`The maxzoom value "${this.maxzoom}" is expected to be greater than the clusterMaxZoom value "${n.clusterMaxZoom}".`), this.workerOptions = t.e({
20828
20828
  source: this.id,
@@ -20875,13 +20875,13 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20875
20875
  this._pendingWorkerUpdate.diff = function(e, t) {
20876
20876
  if (!e) return t || {};
20877
20877
  if (!t) return e || {};
20878
- let n = he(e), r = he(t);
20878
+ let n = F(e), r = F(t);
20879
20879
  (function(e, t) {
20880
20880
  t.removeAll && (e.add.clear(), e.update.clear(), e.remove.clear(), t.remove.clear());
20881
20881
  for (let n of t.remove) e.add.delete(n), e.update.delete(n);
20882
20882
  for (let [n, r] of t.update) {
20883
20883
  let i = e.update.get(n);
20884
- i && (t.update.set(n, P(i, r)), e.update.delete(n));
20884
+ i && (t.update.set(n, me(i, r)), e.update.delete(n));
20885
20885
  }
20886
20886
  })(n, r);
20887
20887
  let i = {};
@@ -20904,7 +20904,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20904
20904
  }
20905
20905
  getBounds() {
20906
20906
  return t._(this, void 0, void 0, (function* () {
20907
- return ve(yield this.getData());
20907
+ return _e(yield this.getData());
20908
20908
  }));
20909
20909
  }
20910
20910
  setClusterOptions(e) {
@@ -20995,13 +20995,13 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
20995
20995
  let n = /* @__PURE__ */ new Map();
20996
20996
  if (e == null || e.type == null) return n;
20997
20997
  if (e.type === "Feature") {
20998
- let r = me(e, t);
20998
+ let r = pe(e, t);
20999
20999
  return r == null ? void 0 : (n.set(r, e), n);
21000
21000
  }
21001
21001
  if (e.type === "FeatureCollection") {
21002
21002
  let r = /* @__PURE__ */ new Set();
21003
21003
  for (let i of e.features) {
21004
- let e = me(i, t);
21004
+ let e = pe(i, t);
21005
21005
  if (e == null || r.has(e)) return;
21006
21006
  r.add(e), n.set(e, i);
21007
21007
  }
@@ -21021,7 +21021,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21021
21021
  t && (a.push(t.geometry), e.delete(n));
21022
21022
  }
21023
21023
  if (t.add) for (let r of t.add) {
21024
- let t = me(r, n);
21024
+ let t = pe(r, n);
21025
21025
  if (t == null) continue;
21026
21026
  let i = e.get(t);
21027
21027
  i && a.push(i.geometry), a.push(r.geometry), e.set(t, r);
@@ -21043,14 +21043,14 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21043
21043
  return e.removeAll || this._options.cluster ? void 0 : n;
21044
21044
  }
21045
21045
  _getShouldReloadTileOptions(e) {
21046
- if (e) return { affectedBounds: e.filter(Boolean).map(((e) => ve(e))) };
21046
+ if (e) return { affectedBounds: e.filter(Boolean).map(((e) => _e(e))) };
21047
21047
  }
21048
21048
  shouldReloadTile(e, { affectedBounds: n }) {
21049
21049
  if (e.state === "loading") return !0;
21050
21050
  if (e.state === "unloaded") return !1;
21051
21051
  let { buffer: r, extent: i } = this.workerOptions.geojsonVtOptions, a = function({ x: e, y: n, z: r }, i = 0) {
21052
21052
  let a = t.a4((e - i) / 2 ** r), o = t.a5((n + 1 + i) / 2 ** r), s = t.a4((e + 1 + i) / 2 ** r), c = t.a5((n - i) / 2 ** r);
21053
- return new le([a, o], [s, c]);
21053
+ return new ce([a, o], [s, c]);
21054
21054
  }(e.tileID.canonical, r / i);
21055
21055
  for (let e of n) if (a.intersects(e)) return !0;
21056
21056
  return !1;
@@ -21122,7 +21122,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21122
21122
  return !1;
21123
21123
  }
21124
21124
  }
21125
- class be extends t.E {
21125
+ class ye extends t.E {
21126
21126
  constructor(e, t, n, r) {
21127
21127
  super(), this.flippedWindingOrder = !1, this.id = e, this.dispatcher = n, this.coordinates = t.coordinates, this.type = "image", this.minzoom = 0, this.maxzoom = 22, this.tileSize = 512, this.tiles = {}, this._loaded = !1, this.setEventedParent(r), this.options = t;
21128
21128
  }
@@ -21214,7 +21214,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21214
21214
  return o;
21215
21215
  }
21216
21216
  }
21217
- class xe extends be {
21217
+ class be extends ye {
21218
21218
  constructor(e, t, n, r) {
21219
21219
  super(e, t, n, r), this._onPlayingHandler = () => {
21220
21220
  var e;
@@ -21283,7 +21283,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21283
21283
  return this.video && !this.video.paused;
21284
21284
  }
21285
21285
  }
21286
- class Se extends be {
21286
+ class xe extends ye {
21287
21287
  constructor(e, n, r, i) {
21288
21288
  super(e, n, r, i), n.coordinates ? Array.isArray(n.coordinates) && n.coordinates.length === 4 && !n.coordinates.some(((e) => !Array.isArray(e) || e.length !== 2 || e.some(((e) => typeof e != "number")))) || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"coordinates\" property must be an array of 4 longitude/latitude array pairs"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"coordinates\""))), n.animate && typeof n.animate != "boolean" && this.fire(new t.l(new t.ac(`sources.${e}`, null, "optional \"animate\" property must be a boolean value"))), n.canvas ? typeof n.canvas == "string" || n.canvas instanceof HTMLCanvasElement || this.fire(new t.l(new t.ac(`sources.${e}`, null, "\"canvas\" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance"))) : this.fire(new t.l(new t.ac(`sources.${e}`, null, "missing required property \"canvas\""))), this.options = n, this.animate = n.animate === void 0 || n.animate;
21289
21289
  }
@@ -21337,21 +21337,21 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21337
21337
  return !1;
21338
21338
  }
21339
21339
  }
21340
- let Ce = {}, we = (e) => {
21340
+ let Se = {}, Ce = (e) => {
21341
21341
  switch (e) {
21342
- case "geojson": return ye;
21343
- case "image": return be;
21344
- case "raster": return fe;
21345
- case "raster-dem": return pe;
21346
- case "vector": return de;
21347
- case "video": return xe;
21348
- case "canvas": return Se;
21349
- }
21350
- return Ce[e];
21351
- }, Te = "RTLPluginLoaded";
21352
- class Ee extends t.E {
21342
+ case "geojson": return ve;
21343
+ case "image": return ye;
21344
+ case "raster": return de;
21345
+ case "raster-dem": return fe;
21346
+ case "vector": return ue;
21347
+ case "video": return be;
21348
+ case "canvas": return xe;
21349
+ }
21350
+ return Se[e];
21351
+ }, we = "RTLPluginLoaded";
21352
+ class Te extends t.E {
21353
21353
  constructor() {
21354
- super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = re();
21354
+ super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = ne();
21355
21355
  }
21356
21356
  _syncState(e) {
21357
21357
  return this.status = e, this.dispatcher.broadcast("SRPS", {
@@ -21379,23 +21379,23 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21379
21379
  }
21380
21380
  _requestImport() {
21381
21381
  return t._(this, void 0, void 0, (function* () {
21382
- yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(Te));
21382
+ yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(we));
21383
21383
  }));
21384
21384
  }
21385
21385
  lazyLoad() {
21386
21386
  this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
21387
21387
  }
21388
21388
  }
21389
- let De = null;
21390
- function Oe() {
21391
- return De || (De = new Ee()), De;
21389
+ let Ee = null;
21390
+ function De() {
21391
+ return Ee || (Ee = new Te()), Ee;
21392
21392
  }
21393
- var ke, F;
21393
+ var Oe, ke;
21394
21394
  (function(e) {
21395
21395
  e[e.Base = 0] = "Base", e[e.Parent = 1] = "Parent";
21396
- })(ke || (ke = {})), function(e) {
21396
+ })(Oe || (Oe = {})), function(e) {
21397
21397
  e[e.Departing = 0] = "Departing", e[e.Incoming = 1] = "Incoming";
21398
- }(F || (F = {}));
21398
+ }(ke || (ke = {}));
21399
21399
  class Ae {
21400
21400
  constructor(e, n) {
21401
21401
  this.timeAdded = 0, this.fadeEndTime = 0, this.fadeOpacity = 1, this.tileID = e, this.uid = t.ad(), this.uses = 0, this.tileSize = n, this.buckets = {}, this.expirationTime = null, this.queryPadding = 0, this.hasSymbolBuckets = !1, this.hasRTLText = !1, this.dependencies = {}, this.rtt = [], this.rttFingerprint = {}, this.expiredRequestCount = 0, this.state = "loading";
@@ -21442,7 +21442,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21442
21442
  if (this.hasRTLText = !1, this.hasSymbolBuckets) for (let e in this.buckets) {
21443
21443
  let n = this.buckets[e];
21444
21444
  if (n instanceof t.af && n.hasRTLText) {
21445
- this.hasRTLText = !0, Oe().lazyLoad();
21445
+ this.hasRTLText = !0, De().lazyLoad();
21446
21446
  break;
21447
21447
  }
21448
21448
  }
@@ -21749,18 +21749,18 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21749
21749
  function Ge(e, t, n, r, i, a, o) {
21750
21750
  if (!t.hasData()) return !1;
21751
21751
  let { tileID: s, fadingRole: c, fadingDirection: l, fadingParentID: u } = t;
21752
- if (c === ke.Base && l === F.Incoming && u) return n[u.key] = u, !0;
21752
+ if (c === Oe.Base && l === ke.Incoming && u) return n[u.key] = u, !0;
21753
21753
  let d = Math.max(s.overscaledZ - i, a);
21754
21754
  for (let i = s.overscaledZ - 1; i >= d; i--) {
21755
21755
  let a = s.scaledTo(i), c = e.getLoadedTile(a);
21756
21756
  if (c) return t.setCrossFadeLogic({
21757
- fadingRole: ke.Base,
21758
- fadingDirection: F.Incoming,
21757
+ fadingRole: Oe.Base,
21758
+ fadingDirection: ke.Incoming,
21759
21759
  fadingParentID: c.tileID,
21760
21760
  fadeEndTime: r + o
21761
21761
  }), c.setCrossFadeLogic({
21762
- fadingRole: ke.Parent,
21763
- fadingDirection: F.Departing,
21762
+ fadingRole: Oe.Parent,
21763
+ fadingDirection: ke.Departing,
21764
21764
  fadeEndTime: r + o
21765
21765
  }), n[a.key] = a, !0;
21766
21766
  }
@@ -21780,14 +21780,14 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21780
21780
  let n = e.getLoadedTile(a);
21781
21781
  if (!n) continue;
21782
21782
  let { fadingRole: c, fadingDirection: l, fadingParentID: u } = n;
21783
- c === ke.Base && l === F.Departing && u || (n.setCrossFadeLogic({
21784
- fadingRole: ke.Base,
21785
- fadingDirection: F.Departing,
21783
+ c === Oe.Base && l === ke.Departing && u || (n.setCrossFadeLogic({
21784
+ fadingRole: Oe.Base,
21785
+ fadingDirection: ke.Departing,
21786
21786
  fadingParentID: t.tileID,
21787
21787
  fadeEndTime: i + o
21788
21788
  }), t.setCrossFadeLogic({
21789
- fadingRole: ke.Parent,
21790
- fadingDirection: F.Incoming,
21789
+ fadingRole: Oe.Parent,
21790
+ fadingDirection: ke.Incoming,
21791
21791
  fadeEndTime: i + o
21792
21792
  })), r[a.key] = a, s = !0;
21793
21793
  }
@@ -21859,7 +21859,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
21859
21859
  })), this.on("error", (() => {
21860
21860
  this._sourceErrored = this._source.loaded();
21861
21861
  })), this._source = ((e, t, n, r) => {
21862
- let i = new (we(t.type))(e, t, n, r);
21862
+ let i = new (Ce(t.type))(e, t, n, r);
21863
21863
  if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
21864
21864
  return i;
21865
21865
  })(e, n, r, this), this._inViewTiles = new Ye(), this._outOfViewCache = new t.av(0, ((e) => this._unloadTile(e))), this._timers = {}, this._maxTileCacheSize = null, this._maxTileCacheZoomLevels = null, this._rasterFadeDuration = 0, this._maxFadingAncestorLevels = 5, this._state = new je(), this._didEmitContent = !1, this._updated = !1;
@@ -22036,7 +22036,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
22036
22036
  let c = l(), u = t.at(n);
22037
22037
  for (let t of n) {
22038
22038
  let n = e.getTileById(t.key);
22039
- n.fadingDirection !== F.Departing && n.fadeOpacity !== 0 || n.resetFadeLogic(), Ge(e, n, r, c, i, a, s) || Ke(e, n, r, c, o, s) || z(n, u, c, s) || n.resetFadeLogic();
22039
+ n.fadingDirection !== ke.Departing && n.fadeOpacity !== 0 || n.resetFadeLogic(), Ge(e, n, r, c, i, a, s) || Ke(e, n, r, c, o, s) || z(n, u, c, s) || n.resetFadeLogic();
22040
22040
  }
22041
22041
  }(this._inViewTiles, r, o, this._maxFadingAncestorLevels, this._source.minzoom, this._source.maxzoom, this._rasterFadeDuration), s ? this._cleanUpRasterTiles(o) : this._cleanUpVectorTiles(o);
22042
22042
  }
@@ -23035,15 +23035,15 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
23035
23035
  var w, A;
23036
23036
  if (n[e.crossTileID]) return;
23037
23037
  if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
23038
- let j = !1, M = !1, ee = !0, te = null, N = {
23038
+ let j = !1, M = !1, N = !0, ee = null, P = {
23039
23039
  box: null,
23040
23040
  placeable: !1,
23041
23041
  offscreen: null,
23042
23042
  occluded: !1
23043
- }, ne = { placeable: !1 }, re = null, ie = null, ae = null, oe = 0, se = 0, ce = 0;
23044
- f.textFeatureIndex ? oe = f.textFeatureIndex : e.useRuntimeCollisionCircles && (oe = e.featureIndex), f.verticalTextFeatureIndex && (se = f.verticalTextFeatureIndex);
23045
- let le = f.textBox;
23046
- if (le) {
23043
+ }, te = { placeable: !1 }, ne = null, re = null, ie = null, ae = 0, oe = 0, se = 0;
23044
+ f.textFeatureIndex ? ae = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ae = e.featureIndex), f.verticalTextFeatureIndex && (oe = f.verticalTextFeatureIndex);
23045
+ let ce = f.textBox;
23046
+ if (ce) {
23047
23047
  let n = (n) => {
23048
23048
  let r = t.ax.horizontal;
23049
23049
  if (i.allowVerticalPlacement && !n && this.prevPlacement) {
@@ -23053,21 +23053,21 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
23053
23053
  return r;
23054
23054
  }, a = (n, r) => {
23055
23055
  if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
23056
- for (let e of i.writingModes) if (e === t.ax.vertical ? (N = r(), ne = N) : N = n(), N != null && N.placeable) break;
23057
- } else N = n();
23056
+ for (let e of i.writingModes) if (e === t.ax.vertical ? (P = r(), te = P) : P = n(), P != null && P.placeable) break;
23057
+ } else P = n();
23058
23058
  }, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
23059
23059
  if (d === l) {
23060
23060
  let r = (t, n) => {
23061
23061
  let r = this.collisionIndex.placeCollisionBox(t, _, u, D, c, S, x, o, m.predicate, O, void 0, k);
23062
23062
  return r != null && r.placeable && (this.markUsedOrientation(i, n, e), this.placedOrientations[e.crossTileID] = n), r;
23063
23063
  };
23064
- a((() => r(le, t.ax.horizontal)), (() => {
23064
+ a((() => r(ce, t.ax.horizontal)), (() => {
23065
23065
  let n = f.verticalTextBox;
23066
23066
  return i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && n ? r(n, t.ax.vertical) : {
23067
23067
  box: null,
23068
23068
  offscreen: null
23069
23069
  };
23070
- })), n(N == null ? void 0 : N.placeable);
23070
+ })), n(P == null ? void 0 : P.placeable);
23071
23071
  } else {
23072
23072
  let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
23073
23073
  let f = t.x2 - t.x1, h = t.y2 - t.y1, g = e.textBoxScale, v = C && y === "never" ? n : null, b = null, w = _ === "never" ? 1 : 2, T = "never";
@@ -23077,46 +23077,46 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
23077
23077
  let r = i.textAnchorOffsets.get(n);
23078
23078
  if (p && r.textAnchor !== p) continue;
23079
23079
  let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
23080
- if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, te = l.shift, b;
23080
+ if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, ee = l.shift, b;
23081
23081
  }
23082
23082
  p ? p = null : T = _;
23083
23083
  }
23084
23084
  return r && !b && (b = {
23085
- box: this.collisionIndex.placeCollisionBox(le, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23085
+ box: this.collisionIndex.placeCollisionBox(ce, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
23086
23086
  offscreen: !1,
23087
23087
  placeable: !1,
23088
23088
  occluded: !1
23089
23089
  }), b;
23090
23090
  };
23091
- a((() => h(le, f.iconBox, t.ax.horizontal)), (() => {
23091
+ a((() => h(ce, f.iconBox, t.ax.horizontal)), (() => {
23092
23092
  let n = f.verticalTextBox;
23093
- return i.allowVerticalPlacement && !(N != null && N.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23093
+ return i.allowVerticalPlacement && !(P != null && P.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
23094
23094
  box: null,
23095
23095
  occluded: !0,
23096
23096
  offscreen: null
23097
23097
  };
23098
- })), N && (j = N.placeable, ee = N.offscreen);
23099
- let g = n(N == null ? void 0 : N.placeable);
23098
+ })), P && (j = P.placeable, N = P.offscreen);
23099
+ let g = n(P == null ? void 0 : P.placeable);
23100
23100
  if (!j && this.prevPlacement) {
23101
23101
  let t = this.prevPlacement.variableOffsets[e.crossTileID];
23102
23102
  t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
23103
23103
  }
23104
23104
  }
23105
23105
  }
23106
- if (re = N, j = re == null ? void 0 : re.placeable, ee = re == null ? void 0 : re.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23106
+ if (ne = P, j = ne == null ? void 0 : ne.placeable, N = ne == null ? void 0 : ne.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
23107
23107
  let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
23108
- ie = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), ie.circles.length && ie.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || ie.circles.length > 0 && !ie.collisionDetected, ee && (ee = ie.offscreen);
23108
+ re = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), re.circles.length && re.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || re.circles.length > 0 && !re.collisionDetected, N && (N = re.offscreen);
23109
23109
  }
23110
- if (f.iconFeatureIndex && (ce = f.iconFeatureIndex), f.iconBox) {
23111
- let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && te ? te : void 0, k);
23112
- ne && ne.placeable && f.verticalIconBox ? (ae = e(f.verticalIconBox), M = ae.placeable) : (ae = e(f.iconBox), M = ae.placeable), ee && (ee = ae.offscreen);
23110
+ if (f.iconFeatureIndex && (se = f.iconFeatureIndex), f.iconBox) {
23111
+ let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && ee ? ee : void 0, k);
23112
+ te && te.placeable && f.verticalIconBox ? (ie = e(f.verticalIconBox), M = ie.placeable) : (ie = e(f.iconBox), M = ie.placeable), N && (N = ie.offscreen);
23113
23113
  }
23114
- let ue = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, de = g || e.numIconVertices === 0;
23115
- ue || de ? de ? ue || M && (M = j) : j = M && j : M = j = M && j;
23116
- let fe = M && ae.placeable;
23117
- if (j && re.placeable && this.collisionIndex.insertCollisionBox(re.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, ne && ne.placeable && se ? se : oe, m.ID), fe && this.collisionIndex.insertCollisionBox(ae.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, ce, m.ID), ie && j && this.collisionIndex.insertCollisionCircles(ie.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, oe, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, re, ae, ie), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23114
+ let le = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, ue = g || e.numIconVertices === 0;
23115
+ le || ue ? ue ? le || M && (M = j) : j = M && j : M = j = M && j;
23116
+ let de = M && ie.placeable;
23117
+ if (j && ne.placeable && this.collisionIndex.insertCollisionBox(ne.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, te && te.placeable && oe ? oe : ae, m.ID), de && this.collisionIndex.insertCollisionBox(ie.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, se, m.ID), re && j && this.collisionIndex.insertCollisionCircles(re.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ae, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, ne, ie, re), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
23118
23118
  if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
23119
- this.placements[e.crossTileID] = new St((j || T) && !(re != null && re.occluded), (M || E) && !(ae != null && ae.occluded), ee || i.justReloaded), n[e.crossTileID] = !0;
23119
+ this.placements[e.crossTileID] = new St((j || T) && !(ne != null && ne.occluded), (M || E) && !(ie != null && ie.occluded), N || i.justReloaded), n[e.crossTileID] = !0;
23120
23120
  };
23121
23121
  if (w) {
23122
23122
  if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
@@ -23816,7 +23816,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
23816
23816
  }
23817
23817
  getMaxBounds() {
23818
23818
  var e, t;
23819
- return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new le([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23819
+ return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new ce([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
23820
23820
  }
23821
23821
  setMaxBounds(e) {
23822
23822
  e ? (this._lngRange = [e.getWest(), e.getEast()], this._latRange = [e.getSouth(), e.getNorth()], this.constrainInternal()) : (this._lngRange = null, this._latRange = [-t.am, t.am]);
@@ -24476,7 +24476,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
24476
24476
  }
24477
24477
  getBounds() {
24478
24478
  let e = Math.max(0, this._helper._height / 2 - Fe(this));
24479
- return new le().extend(this.screenPointToLocation(new t.P(0, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, this._helper._height))).extend(this.screenPointToLocation(new t.P(0, this._helper._height)));
24479
+ return new ce().extend(this.screenPointToLocation(new t.P(0, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, e))).extend(this.screenPointToLocation(new t.P(this._helper._width, this._helper._height))).extend(this.screenPointToLocation(new t.P(0, this._helper._height)));
24480
24480
  }
24481
24481
  isPointOnMapSurface(e, t) {
24482
24482
  return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Fe(this);
@@ -25849,7 +25849,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
25849
25849
  0,
25850
25850
  -1,
25851
25851
  0
25852
- ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new le(u);
25852
+ ]) && (u[1] = -90, u[0] = -180, u[2] = 180), new ce(u);
25853
25853
  }
25854
25854
  calculateCenterFromCameraLngLatAlt(e, t, n, r) {
25855
25855
  return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
@@ -26524,9 +26524,9 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
26524
26524
  let t = this.tileManagers[e].getSource().type;
26525
26525
  t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
26526
26526
  }
26527
- }, this.map = e, this.dispatcher = new ne(N(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", ((e, t) => this.getGlyphs(e, t))), this.dispatcher.registerMessageHandler("GI", ((e, t) => this.getImages(e, t))), this.dispatcher.registerMessageHandler("GDA", ((e, t) => this.getDashes(e, t))), this.imageManager = new _(), this.imageManager.setEventedParent(this);
26527
+ }, this.map = e, this.dispatcher = new te(P(), e._getMapId()), this.dispatcher.registerMessageHandler("GG", ((e, t) => this.getGlyphs(e, t))), this.dispatcher.registerMessageHandler("GI", ((e, t) => this.getImages(e, t))), this.dispatcher.registerMessageHandler("GDA", ((e, t) => this.getDashes(e, t))), this.imageManager = new _(), this.imageManager.setEventedParent(this);
26528
26528
  let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
26529
- this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new zt(), this._setInitialValues(), this._resetUpdates(), this.dispatcher.broadcast("SR", t.bO()), Oe().on(Te, this._rtlPluginLoaded), this.on("data", ((e) => {
26529
+ this.glyphManager = new C(e._requestManager, n.localIdeographFontFamily, a), this.lineAtlas = new k(256, 512), this.crossTileSymbolIndex = new zt(), this._setInitialValues(), this._resetUpdates(), this.dispatcher.broadcast("SR", t.bO()), De().on(we, this._rtlPluginLoaded), this.on("data", ((e) => {
26530
26530
  if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
26531
26531
  let t = this.tileManagers[e.sourceId];
26532
26532
  if (!t) return;
@@ -27097,11 +27097,11 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
27097
27097
  layers: s,
27098
27098
  globalState: this._globalState
27099
27099
  });
27100
- for (let t in this.tileManagers) n.layers && !i[t] || a.push(ae(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27100
+ for (let t in this.tileManagers) n.layers && !i[t] || a.push(ie(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
27101
27101
  return this.placement && a.push(function(e, t, n, r, i, a, o) {
27102
27102
  let s = {}, c = a.queryRenderedSymbols(r), l = [];
27103
27103
  for (let e of Object.keys(c).map(Number)) l.push(o[e]);
27104
- l.sort(oe);
27104
+ l.sort(ae);
27105
27105
  for (let n of l) {
27106
27106
  let r = n.featureIndex.lookupSymbolFeatures(c[n.bucketInstanceId], t, n.bucketIndex, n.sourceLayerIndex, {
27107
27107
  filterSpec: i.filter,
@@ -27122,7 +27122,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
27122
27122
  }
27123
27123
  }
27124
27124
  return function(e, t, n) {
27125
- for (let r in e) for (let i of e[r]) se(i, n[t[r].source]);
27125
+ for (let r in e) for (let i of e[r]) oe(i, n[t[r].source]);
27126
27126
  return e;
27127
27127
  }(s, e, n);
27128
27128
  }(this._layers, o, this.tileManagers, e, c, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(a);
@@ -27253,7 +27253,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
27253
27253
  }, i)));
27254
27254
  }
27255
27255
  _remove(e = !0) {
27256
- this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), Oe().off(Te, this._rtlPluginLoaded);
27256
+ this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null), De().off(we, this._rtlPluginLoaded);
27257
27257
  for (let e in this._layers) this._layers[e].setEventedParent(null);
27258
27258
  for (let e in this.tileManagers) {
27259
27259
  let t = this.tileManagers[e];
@@ -28687,36 +28687,36 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
28687
28687
  if (!l) continue;
28688
28688
  let d = a ? l.text : l.icon;
28689
28689
  if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
28690
- let f = d.programConfigurations.get(r.id), h = a || l.sdfIcons, g = a ? l.textSizeData : l.iconSizeData, T = b || v.pitch !== 0, k = e.useProgram(_i(h, a, l), f), A = t.aw(g, v.zoom), j = (m = e.style.map.terrain) == null ? void 0 : m.getTerrainData(c), M, ee, te, N, ne = [0, 0], re = null;
28691
- if (a) ee = i.glyphAtlasTexture, te = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (ne = i.imageAtlasTexture.size, re = i.imageAtlasTexture, N = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28690
+ let f = d.programConfigurations.get(r.id), h = a || l.sdfIcons, g = a ? l.textSizeData : l.iconSizeData, T = b || v.pitch !== 0, k = e.useProgram(_i(h, a, l), f), A = t.aw(g, v.zoom), j = (m = e.style.map.terrain) == null ? void 0 : m.getTerrainData(c), M, N, ee, P, te = [0, 0], ne = null;
28691
+ if (a) N = i.glyphAtlasTexture, ee = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (te = i.imageAtlasTexture.size, ne = i.imageAtlasTexture, P = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
28692
28692
  else {
28693
28693
  let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
28694
- ee = i.imageAtlasTexture, te = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28694
+ N = i.imageAtlasTexture, ee = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
28695
28695
  }
28696
- let ie = t.aK(i, 1, e.transform.zoom), ae = $e(y, e.transform, ie), oe = et(b, y, e.transform, ie), se = t.aL(v, i, o, s), ce = v.getProjectionData({
28696
+ let re = t.aK(i, 1, e.transform.zoom), ie = $e(y, e.transform, re), ae = et(b, y, e.transform, re), oe = t.aL(v, i, o, s), se = v.getProjectionData({
28697
28697
  overscaledTileID: c,
28698
28698
  applyGlobeMatrix: !p,
28699
28699
  applyTerrainMatrix: !0
28700
- }), le = E && l.hasTextData(), ue = r.layout.get("icon-text-fit") !== "none" && le && l.hasIconData();
28700
+ }), ce = E && l.hasTextData(), le = r.layout.get("icon-text-fit") !== "none" && ce && l.hasIconData();
28701
28701
  if (x) {
28702
28702
  let n = t.O();
28703
- H(n, ae);
28703
+ H(n, ie);
28704
28704
  let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
28705
- it(l, e, a, ae, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, se, i);
28705
+ it(l, e, a, ie, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, oe, i);
28706
28706
  }
28707
- let de = a && E || ue, fe = x || de ? pi : b ? ae : e.transform.clipSpaceToPixelsMatrix, pe = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, me;
28708
- me = h ? l.iconsInText ? yr(g.kind, A, S, b, x, de, e, fe, oe, se, M, ne, O) : vr(g.kind, A, S, b, x, de, e, fe, oe, se, a, M, pe, O) : _r(g.kind, A, S, b, x, de, e, fe, oe, se, a, M, O);
28709
- let P = {
28707
+ let ue = a && E || le, de = x || ue ? pi : b ? ie : e.transform.clipSpaceToPixelsMatrix, fe = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, pe;
28708
+ pe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, ue, e, de, ae, oe, M, te, O) : vr(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, fe, O) : _r(g.kind, A, S, b, x, ue, e, de, ae, oe, a, M, O);
28709
+ let me = {
28710
28710
  program: k,
28711
28711
  buffers: d,
28712
- uniformValues: me,
28713
- projectionData: ce,
28714
- atlasTexture: ee,
28715
- atlasTextureIcon: re,
28716
- atlasInterpolation: te,
28717
- atlasInterpolationIcon: N,
28712
+ uniformValues: pe,
28713
+ projectionData: se,
28714
+ atlasTexture: N,
28715
+ atlasTextureIcon: ne,
28716
+ atlasInterpolation: ee,
28717
+ atlasInterpolationIcon: P,
28718
28718
  isSDF: h,
28719
- hasHalo: pe
28719
+ hasHalo: fe
28720
28720
  };
28721
28721
  if (C && l.canOverlap) {
28722
28722
  w = !0;
@@ -28724,13 +28724,13 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
28724
28724
  for (let n of e) D.push({
28725
28725
  segments: new t.aV([n]),
28726
28726
  sortKey: n.sortKey,
28727
- state: P,
28727
+ state: me,
28728
28728
  terrainData: j
28729
28729
  });
28730
28730
  } else D.push({
28731
28731
  segments: d.segments,
28732
28732
  sortKey: 0,
28733
- state: P,
28733
+ state: me,
28734
28734
  terrainData: j
28735
28735
  });
28736
28736
  }
@@ -28969,7 +28969,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
28969
28969
  parentScaleBy: o,
28970
28970
  parentTopLeft: [e.tileID.canonical.x * o % 1, e.tileID.canonical.y * o % 1],
28971
28971
  fadeValues: function(e, n, r) {
28972
- let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === F.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28972
+ let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection === ke.Incoming, s = t.al((i - e.timeAdded) / r, 0, 1), c = t.al(1 - a, 0, 1), u = o ? s : c;
28973
28973
  return {
28974
28974
  tileOpacity: u,
28975
28975
  parentTileOpacity: o ? c : s,
@@ -29276,7 +29276,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
29276
29276
  raster: function(e, t, n, r, i) {
29277
29277
  if (e.renderPass !== "translucent" || n.paint.get("raster-opacity") === 0 || !r.length) return;
29278
29278
  let { isRenderingToTexture: a } = i, o = t.getSource(), s = e.style.projection.useSubdivision;
29279
- if (o instanceof be) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29279
+ if (o instanceof ye) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
29280
29280
  else if (s) {
29281
29281
  let [i, o, s] = e.stencilConfigForOverlapTwoPass(r);
29282
29282
  Ii(e, t, n, s, i, !1, !0, Fi, !1, a), Ii(e, t, n, s, o, !0, !0, Fi, !1, a);
@@ -31345,7 +31345,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
31345
31345
  return this.jumpTo({ roll: e }, t), this;
31346
31346
  }
31347
31347
  cameraForBounds(e, t) {
31348
- e = le.convert(e).adjustAntiMeridian();
31348
+ e = ce.convert(e).adjustAntiMeridian();
31349
31349
  let n = (t == null ? void 0 : t.bearing) || 0;
31350
31350
  return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), n, t);
31351
31351
  }
@@ -31371,7 +31371,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
31371
31371
  }
31372
31372
  let o = t.e(a, i.padding);
31373
31373
  i.padding = o;
31374
- let s = this.transform, c = new le(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31374
+ let s = this.transform, c = new ce(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
31375
31375
  return l && this._zoomSnap && (l.zoom = t.cw(l.zoom, this._zoomSnap, -1)), l;
31376
31376
  }
31377
31377
  fitBounds(e, t, n) {
@@ -32047,7 +32047,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
32047
32047
  this._stacks = [], this._prevType = null, this._rttTiles = [], this._renderableTiles = this.terrain.tileManager.getRenderableTiles(), this._renderableLayerIds = e._order.filter(((n) => !e._layers[n].isHidden(t))), this._coordsAscending = {};
32048
32048
  for (let t in e.tileManagers) {
32049
32049
  this._coordsAscending[t] = {};
32050
- let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof be ? r.terrainTileRanges : null;
32050
+ let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof ye ? r.terrainTileRanges : null;
32051
32051
  for (let e of n) {
32052
32052
  let n = this.terrain.tileManager.getTerrainCoords(e, a);
32053
32053
  for (let e in n) (i = this._coordsAscending[t])[e] || (i[e] = []), this._coordsAscending[t][e].push(n[e]);
@@ -32318,7 +32318,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
32318
32318
  return this.transform.getMaxBounds();
32319
32319
  }
32320
32320
  setMaxBounds(e) {
32321
- return this.transform.setMaxBounds(le.convert(e)), this._update();
32321
+ return this.transform.setMaxBounds(ce.convert(e)), this._update();
32322
32322
  }
32323
32323
  setMinZoom(e) {
32324
32324
  if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
@@ -33338,7 +33338,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33338
33338
  return wo(new t.P(0, 0));
33339
33339
  }
33340
33340
  let To = n;
33341
- e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource = Se, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
33341
+ e.AJAXError = t.cG, e.EXTENT = t.a6, e.Event = t.n, e.Evented = t.E, e.LngLat = t.W, e.MercatorCoordinate = t.a7, e.Point = t.P, e.addProtocol = t.cH, e.config = t.c, e.removeProtocol = t.cI, e.AttributionControl = Ya, e.BoxZoomHandler = ma, e.CanvasSource = xe, e.CooperativeGesturesHandler = Wa, e.DoubleClickZoomHandler = Ra, e.DragPanHandler = Va, e.DragRotateHandler = Ha, e.EdgeInsets = qt, e.FullscreenControl = class extends t.E {
33342
33342
  constructor(e = {}) {
33343
33343
  var n;
33344
33344
  super(), this._onFullscreenChange = () => {
@@ -33382,7 +33382,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33382
33382
  _togglePseudoFullScreen() {
33383
33383
  this._container.classList.toggle("maplibregl-pseudo-fullscreen"), this._handleFullscreenChange(), this._map.resize();
33384
33384
  }
33385
- }, e.GeoJSONSource = ye, e.GeolocateControl = class extends t.E {
33385
+ }, e.GeoJSONSource = ve, e.GeolocateControl = class extends t.E {
33386
33386
  constructor(e) {
33387
33387
  super(), this._onSuccess = (e) => {
33388
33388
  if (this._map) {
@@ -33402,7 +33402,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33402
33402
  this.options.showUserLocation && this._watchState !== "OFF" && this._updateMarker(e), this.options.trackUserLocation && this._watchState !== "ACTIVE_LOCK" || this._updateCamera(e), this.options.showUserLocation && this._dotElement.classList.remove("maplibregl-user-location-dot-stale"), this.fire(new t.n("geolocate", e)), this._finish();
33403
33403
  }
33404
33404
  }, this._updateCamera = (e) => {
33405
- let n = new t.W(e.coords.longitude, e.coords.latitude), r = e.coords.accuracy, i = this._map.getBearing(), a = t.e({ bearing: i }, this.options.fitBoundsOptions), o = le.fromLngLat(n, r);
33405
+ let n = new t.W(e.coords.longitude, e.coords.latitude), r = e.coords.accuracy, i = this._map.getBearing(), a = t.e({ bearing: i }, this.options.fitBoundsOptions), o = ce.fromLngLat(n, r);
33406
33406
  this._map.fitBounds(o, a, { geolocateSource: !0 });
33407
33407
  }, this._updateMarker = (e) => {
33408
33408
  if (e) {
@@ -33554,7 +33554,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33554
33554
  onRemove() {
33555
33555
  this._container.remove(), this._map.off("styledata", this._updateGlobeIcon), this._map.off("projectiontransition", this._updateGlobeIcon), this._globeButton.removeEventListener("click", this._toggleProjection), this._map = void 0;
33556
33556
  }
33557
- }, e.Hash = Qi, e.ImageSource = be, e.KeyboardHandler = Pa, e.LngLatBounds = le, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
33557
+ }, e.Hash = Qi, e.ImageSource = ye, e.KeyboardHandler = Pa, e.LngLatBounds = ce, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
33558
33558
  constructor(e) {
33559
33559
  this._updateZoomButtons = () => {
33560
33560
  let e = this._map.getZoom(), t = e === this._map.getMaxZoom(), n = e === this._map.getMinZoom();
@@ -33680,7 +33680,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33680
33680
  let e = this._container.querySelector(Co);
33681
33681
  e && e.focus();
33682
33682
  }
33683
- }, e.RasterDEMTileSource = pe, e.RasterTileSource = fe, e.ScaleControl = class {
33683
+ }, e.RasterDEMTileSource = fe, e.RasterTileSource = de, e.ScaleControl = class {
33684
33684
  constructor(e) {
33685
33685
  this._onMove = () => {
33686
33686
  bo(this._map, this._container, this.options);
@@ -33711,18 +33711,18 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33711
33711
  onRemove() {
33712
33712
  this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
33713
33713
  }
33714
- }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = de, e.VideoSource = xe, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33715
- if (we(e)) throw Error(`A source type called "${e}" already exists.`);
33714
+ }, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = ue, e.VideoSource = be, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
33715
+ if (Ce(e)) throw Error(`A source type called "${e}" already exists.`);
33716
33716
  ((e, t) => {
33717
- Ce[e] = t;
33717
+ Se[e] = t;
33718
33718
  })(e, n);
33719
33719
  })), e.clearPrewarmedResources = function() {
33720
- let e = ee;
33721
- e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A), ee = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
33722
- }, e.createTileMesh = fn, e.getGlobalDispatcher = re, e.getMaxParallelImageRequests = function() {
33720
+ let e = N;
33721
+ e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A), N = null) : console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"));
33722
+ }, e.createTileMesh = fn, e.getGlobalDispatcher = ne, e.getMaxParallelImageRequests = function() {
33723
33723
  return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
33724
33724
  }, e.getRTLTextPluginStatus = function() {
33725
- return Oe().getRTLTextPluginStatus();
33725
+ return De().getRTLTextPluginStatus();
33726
33726
  }, e.getVersion = function() {
33727
33727
  return To;
33728
33728
  }, e.getWorkerCount = function() {
@@ -33730,11 +33730,11 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33730
33730
  }, e.getWorkerUrl = function() {
33731
33731
  return t.c.WORKER_URL;
33732
33732
  }, e.importScriptInWorkers = function(e) {
33733
- return re().broadcast("IS", e);
33733
+ return ne().broadcast("IS", e);
33734
33734
  }, e.isTimeFrozen = function() {
33735
33735
  return c.isFrozen();
33736
33736
  }, e.now = l, e.prewarm = function() {
33737
- N().acquire(A);
33737
+ P().acquire(A);
33738
33738
  }, e.restoreNow = function() {
33739
33739
  c.restoreNow();
33740
33740
  }, e.setMaxParallelImageRequests = function(e) {
@@ -33742,7 +33742,7 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33742
33742
  }, e.setNow = function(e) {
33743
33743
  c.setNow(e);
33744
33744
  }, e.setRTLTextPlugin = function(e, t) {
33745
- return Oe().setRTLTextPlugin(e, t);
33745
+ return De().setRTLTextPlugin(e, t);
33746
33746
  }, e.setWorkerCount = function(e) {
33747
33747
  j.workerCount = e;
33748
33748
  }, e.setWorkerUrl = function(e) {
@@ -33847,11 +33847,11 @@ var P = /* @__PURE__ */ e(o(), 1), he = /* @__PURE__ */ e(f(), 1), ge = (/* @__P
33847
33847
  Te[28] = 258, Ee[258] = 28;
33848
33848
  var De = Ce(xe, 0), Oe = De.b;
33849
33849
  De.r;
33850
- for (var ke = new ve(32768), F = 0; F < 32768; ++F) {
33851
- var Ae = (F & 43690) >> 1 | (F & 21845) << 1;
33852
- Ae = (Ae & 52428) >> 2 | (Ae & 13107) << 2, Ae = (Ae & 61680) >> 4 | (Ae & 3855) << 4, ke[F] = ((Ae & 65280) >> 8 | (Ae & 255) << 8) >> 1;
33850
+ for (var ke = new ve(32768), Ae = 0; Ae < 32768; ++Ae) {
33851
+ var je = (Ae & 43690) >> 1 | (Ae & 21845) << 1;
33852
+ je = (je & 52428) >> 2 | (je & 13107) << 2, je = (je & 61680) >> 4 | (je & 3855) << 4, ke[Ae] = ((je & 65280) >> 8 | (je & 255) << 8) >> 1;
33853
33853
  }
33854
- for (var je = (function(e, t, n) {
33854
+ for (var Me = (function(e, t, n) {
33855
33855
  for (var r = e.length, i = 0, a = new ve(t); i < r; ++i) e[i] && ++a[e[i] - 1];
33856
33856
  var o = new ve(t);
33857
33857
  for (i = 1; i < t; ++i) o[i] = o[i - 1] + a[i - 1] << 1;
@@ -33862,25 +33862,25 @@ for (var je = (function(e, t, n) {
33862
33862
  for (i = 0; i < r; ++i) if (e[i]) for (var l = i << 4 | e[i], u = t - e[i], d = o[e[i] - 1]++ << u, f = d | (1 << u) - 1; d <= f; ++d) s[ke[d] >> c] = l;
33863
33863
  } else for (s = new ve(r), i = 0; i < r; ++i) e[i] && (s[i] = ke[o[e[i] - 1]++] >> 15 - e[i]);
33864
33864
  return s;
33865
- }), Me = new _e(288), F = 0; F < 144; ++F) Me[F] = 8;
33866
- for (var F = 144; F < 256; ++F) Me[F] = 9;
33867
- for (var F = 256; F < 280; ++F) Me[F] = 7;
33868
- for (var F = 280; F < 288; ++F) Me[F] = 8;
33869
- for (var Ne = new _e(32), F = 0; F < 32; ++F) Ne[F] = 5;
33870
- var Pe = /*#__PURE__*/ je(Me, 9, 1), Fe = /*#__PURE__*/ je(Ne, 5, 1), Ie = function(e) {
33865
+ }), Ne = new _e(288), Ae = 0; Ae < 144; ++Ae) Ne[Ae] = 8;
33866
+ for (var Ae = 144; Ae < 256; ++Ae) Ne[Ae] = 9;
33867
+ for (var Ae = 256; Ae < 280; ++Ae) Ne[Ae] = 7;
33868
+ for (var Ae = 280; Ae < 288; ++Ae) Ne[Ae] = 8;
33869
+ for (var Pe = new _e(32), Ae = 0; Ae < 32; ++Ae) Pe[Ae] = 5;
33870
+ var Fe = /*#__PURE__*/ Me(Ne, 9, 1), Ie = /*#__PURE__*/ Me(Pe, 5, 1), Le = function(e) {
33871
33871
  for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
33872
33872
  return t;
33873
- }, Le = function(e, t, n) {
33873
+ }, I = function(e, t, n) {
33874
33874
  var r = t / 8 | 0;
33875
33875
  return (e[r] | e[r + 1] << 8) >> (t & 7) & n;
33876
- }, I = function(e, t) {
33876
+ }, Re = function(e, t) {
33877
33877
  var n = t / 8 | 0;
33878
33878
  return (e[n] | e[n + 1] << 8 | e[n + 2] << 16) >> (t & 7);
33879
- }, Re = function(e) {
33879
+ }, ze = function(e) {
33880
33880
  return (e + 7) / 8 | 0;
33881
- }, ze = function(e, t, n) {
33881
+ }, R = function(e, t, n) {
33882
33882
  return (t == null || t < 0) && (t = 0), (n == null || n > e.length) && (n = e.length), new _e(e.subarray(t, n));
33883
- }, R = [
33883
+ }, Be = [
33884
33884
  "unexpected EOF",
33885
33885
  "invalid block type",
33886
33886
  "invalid length/literal",
@@ -33895,11 +33895,11 @@ var Pe = /*#__PURE__*/ je(Me, 9, 1), Fe = /*#__PURE__*/ je(Ne, 5, 1), Ie = funct
33895
33895
  "filename too long",
33896
33896
  "stream finishing",
33897
33897
  "invalid zip data"
33898
- ], Be = function(e, t, n) {
33899
- var r = Error(t || R[e]);
33900
- if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Be), !n) throw r;
33898
+ ], Ve = function(e, t, n) {
33899
+ var r = Error(t || Be[e]);
33900
+ if (r.code = e, Error.captureStackTrace && Error.captureStackTrace(r, Ve), !n) throw r;
33901
33901
  return r;
33902
- }, Ve = function(e, t, n, r) {
33902
+ }, He = function(e, t, n, r) {
33903
33903
  var i = e.length, a = r ? r.length : 0;
33904
33904
  if (!i || t.f && !t.l) return n || new _e(0);
33905
33905
  var o = !n, s = o || t.i != 2, c = t.i;
@@ -33913,115 +33913,115 @@ var Pe = /*#__PURE__*/ je(Me, 9, 1), Fe = /*#__PURE__*/ je(Ne, 5, 1), Ie = funct
33913
33913
  }, u = t.f || 0, d = t.p || 0, f = t.b || 0, p = t.l, m = t.d, h = t.m, g = t.n, _ = i * 8;
33914
33914
  do {
33915
33915
  if (!p) {
33916
- u = Le(e, d, 1);
33917
- var v = Le(e, d + 1, 3);
33916
+ u = I(e, d, 1);
33917
+ var v = I(e, d + 1, 3);
33918
33918
  if (d += 3, !v) {
33919
- var y = Re(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33919
+ var y = ze(d) + 4, b = e[y - 4] | e[y - 3] << 8, x = y + b;
33920
33920
  if (x > i) {
33921
- c && Be(0);
33921
+ c && Ve(0);
33922
33922
  break;
33923
33923
  }
33924
33924
  s && l(f + b), n.set(e.subarray(y, x), f), t.b = f += b, t.p = d = x * 8, t.f = u;
33925
33925
  continue;
33926
- } else if (v == 1) p = Pe, m = Fe, h = 9, g = 5;
33926
+ } else if (v == 1) p = Fe, m = Ie, h = 9, g = 5;
33927
33927
  else if (v == 2) {
33928
- var S = Le(e, d, 31) + 257, C = Le(e, d + 10, 15) + 4, w = S + Le(e, d + 5, 31) + 1;
33928
+ var S = I(e, d, 31) + 257, C = I(e, d + 10, 15) + 4, w = S + I(e, d + 5, 31) + 1;
33929
33929
  d += 14;
33930
- for (var T = new _e(w), E = new _e(19), D = 0; D < C; ++D) E[Se[D]] = Le(e, d + D * 3, 7);
33930
+ for (var T = new _e(w), E = new _e(19), D = 0; D < C; ++D) E[Se[D]] = I(e, d + D * 3, 7);
33931
33931
  d += C * 3;
33932
- for (var O = Ie(E), k = (1 << O) - 1, A = je(E, O, 1), D = 0; D < w;) {
33933
- var j = A[Le(e, d, k)];
33932
+ for (var O = Le(E), k = (1 << O) - 1, A = Me(E, O, 1), D = 0; D < w;) {
33933
+ var j = A[I(e, d, k)];
33934
33934
  d += j & 15;
33935
33935
  var y = j >> 4;
33936
33936
  if (y < 16) T[D++] = y;
33937
33937
  else {
33938
- var M = 0, ee = 0;
33939
- for (y == 16 ? (ee = 3 + Le(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (ee = 3 + Le(e, d, 7), d += 3) : y == 18 && (ee = 11 + Le(e, d, 127), d += 7); ee--;) T[D++] = M;
33938
+ var M = 0, N = 0;
33939
+ for (y == 16 ? (N = 3 + I(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (N = 3 + I(e, d, 7), d += 3) : y == 18 && (N = 11 + I(e, d, 127), d += 7); N--;) T[D++] = M;
33940
33940
  }
33941
33941
  }
33942
- var te = T.subarray(0, S), N = T.subarray(S);
33943
- h = Ie(te), g = Ie(N), p = je(te, h, 1), m = je(N, g, 1);
33944
- } else Be(1);
33942
+ var ee = T.subarray(0, S), P = T.subarray(S);
33943
+ h = Le(ee), g = Le(P), p = Me(ee, h, 1), m = Me(P, g, 1);
33944
+ } else Ve(1);
33945
33945
  if (d > _) {
33946
- c && Be(0);
33946
+ c && Ve(0);
33947
33947
  break;
33948
33948
  }
33949
33949
  }
33950
33950
  s && l(f + 131072);
33951
- for (var ne = (1 << h) - 1, re = (1 << g) - 1, ie = d;; ie = d) {
33952
- var M = p[I(e, d) & ne], ae = M >> 4;
33951
+ for (var te = (1 << h) - 1, ne = (1 << g) - 1, re = d;; re = d) {
33952
+ var M = p[Re(e, d) & te], ie = M >> 4;
33953
33953
  if (d += M & 15, d > _) {
33954
- c && Be(0);
33954
+ c && Ve(0);
33955
33955
  break;
33956
33956
  }
33957
- if (M || Be(2), ae < 256) n[f++] = ae;
33958
- else if (ae == 256) {
33959
- ie = d, p = null;
33957
+ if (M || Ve(2), ie < 256) n[f++] = ie;
33958
+ else if (ie == 256) {
33959
+ re = d, p = null;
33960
33960
  break;
33961
33961
  } else {
33962
- var oe = ae - 254;
33963
- if (ae > 264) {
33964
- var D = ae - 257, se = be[D];
33965
- oe = Le(e, d, (1 << se) - 1) + Te[D], d += se;
33966
- }
33967
- var ce = m[I(e, d) & re], le = ce >> 4;
33968
- ce || Be(3), d += ce & 15;
33969
- var N = Oe[le];
33970
- if (le > 3) {
33971
- var se = xe[le];
33972
- N += I(e, d) & (1 << se) - 1, d += se;
33962
+ var ae = ie - 254;
33963
+ if (ie > 264) {
33964
+ var D = ie - 257, oe = be[D];
33965
+ ae = I(e, d, (1 << oe) - 1) + Te[D], d += oe;
33966
+ }
33967
+ var se = m[Re(e, d) & ne], ce = se >> 4;
33968
+ se || Ve(3), d += se & 15;
33969
+ var P = Oe[ce];
33970
+ if (ce > 3) {
33971
+ var oe = xe[ce];
33972
+ P += Re(e, d) & (1 << oe) - 1, d += oe;
33973
33973
  }
33974
33974
  if (d > _) {
33975
- c && Be(0);
33975
+ c && Ve(0);
33976
33976
  break;
33977
33977
  }
33978
33978
  s && l(f + 131072);
33979
- var ue = f + oe;
33980
- if (f < N) {
33981
- var de = a - N, fe = Math.min(N, ue);
33982
- for (de + f < 0 && Be(3); f < fe; ++f) n[f] = r[de + f];
33979
+ var le = f + ae;
33980
+ if (f < P) {
33981
+ var ue = a - P, de = Math.min(P, le);
33982
+ for (ue + f < 0 && Ve(3); f < de; ++f) n[f] = r[ue + f];
33983
33983
  }
33984
- for (; f < ue; ++f) n[f] = n[f - N];
33984
+ for (; f < le; ++f) n[f] = n[f - P];
33985
33985
  }
33986
33986
  }
33987
- t.l = p, t.p = ie, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33987
+ t.l = p, t.p = re, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
33988
33988
  } while (!u);
33989
- return f != n.length && o ? ze(n, 0, f) : n.subarray(0, f);
33990
- }, He = /*#__PURE__*/ new _e(0), Ue = function(e) {
33991
- (e[0] != 31 || e[1] != 139 || e[2] != 8) && Be(6, "invalid gzip data");
33989
+ return f != n.length && o ? R(n, 0, f) : n.subarray(0, f);
33990
+ }, Ue = /*#__PURE__*/ new _e(0), We = function(e) {
33991
+ (e[0] != 31 || e[1] != 139 || e[2] != 8) && Ve(6, "invalid gzip data");
33992
33992
  var t = e[3], n = 10;
33993
33993
  t & 4 && (n += (e[10] | e[11] << 8) + 2);
33994
33994
  for (var r = (t >> 3 & 1) + (t >> 4 & 1); r > 0; r -= !e[n++]);
33995
33995
  return n + (t & 2);
33996
- }, We = function(e) {
33996
+ }, Ge = function(e) {
33997
33997
  var t = e.length;
33998
33998
  return (e[t - 4] | e[t - 3] << 8 | e[t - 2] << 16 | e[t - 1] << 24) >>> 0;
33999
- }, Ge = function(e, t) {
34000
- return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Be(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Be(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
33999
+ }, Ke = function(e, t) {
34000
+ return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && Ve(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && Ve(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
34001
34001
  };
34002
- function Ke(e, t) {
34003
- return Ve(e, { i: 2 }, t && t.out, t && t.dictionary);
34004
- }
34005
34002
  function qe(e, t) {
34006
- var n = Ue(e);
34007
- return n + 8 > e.length && Be(6, "invalid gzip data"), Ve(e.subarray(n, -8), { i: 2 }, t && t.out || new _e(We(e)), t && t.dictionary);
34003
+ return He(e, { i: 2 }, t && t.out, t && t.dictionary);
34008
34004
  }
34009
34005
  function z(e, t) {
34010
- return Ve(e.subarray(Ge(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
34006
+ var n = We(e);
34007
+ return n + 8 > e.length && Ve(6, "invalid gzip data"), He(e.subarray(n, -8), { i: 2 }, t && t.out || new _e(Ge(e)), t && t.dictionary);
34011
34008
  }
34012
34009
  function Je(e, t) {
34013
- return e[0] == 31 && e[1] == 139 && e[2] == 8 ? qe(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ke(e, t) : z(e, t);
34010
+ return He(e.subarray(Ke(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
34011
+ }
34012
+ function Ye(e, t) {
34013
+ return e[0] == 31 && e[1] == 139 && e[2] == 8 ? z(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? qe(e, t) : Je(e, t);
34014
34014
  }
34015
- var Ye = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
34015
+ var Xe = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
34016
34016
  try {
34017
- Ye.decode(He, { stream: !0 });
34017
+ Xe.decode(Ue, { stream: !0 });
34018
34018
  } catch {}
34019
34019
  //#endregion
34020
34020
  //#region ../../node_modules/.pnpm/pmtiles@4.4.1/node_modules/pmtiles/dist/esm/index.js
34021
- var Xe = Object.defineProperty, Ze = Math.pow, B = (e, t) => Xe(e, "name", {
34021
+ var Ze = Object.defineProperty, B = Math.pow, V = (e, t) => Ze(e, "name", {
34022
34022
  value: t,
34023
34023
  configurable: !0
34024
- }), V = (e, t, n) => new Promise((r, i) => {
34024
+ }), H = (e, t, n) => new Promise((r, i) => {
34025
34025
  var a = (e) => {
34026
34026
  try {
34027
34027
  s(n.next(e));
@@ -34037,10 +34037,10 @@ var Xe = Object.defineProperty, Ze = Math.pow, B = (e, t) => Xe(e, "name", {
34037
34037
  }, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
34038
34038
  s((n = n.apply(e, t)).next());
34039
34039
  });
34040
- B((e, t) => {
34040
+ V((e, t) => {
34041
34041
  let n = !1, r = "";
34042
34042
  return new (L.GridLayer.extend({
34043
- createTile: B((t, i) => {
34043
+ createTile: V((t, i) => {
34044
34044
  let a = document.createElement("img"), o = new AbortController(), s = o.signal;
34045
34045
  return a.cancel = () => {
34046
34046
  o.abort();
@@ -34056,7 +34056,7 @@ B((e, t) => {
34056
34056
  if (e.name !== "AbortError") throw e;
34057
34057
  }), a;
34058
34058
  }, "createTile"),
34059
- _removeTile: B(function(e) {
34059
+ _removeTile: V(function(e) {
34060
34060
  let t = this._tiles[e];
34061
34061
  t && (t.el.cancel && t.el.cancel(), t.el.src && window.URL.revokeObjectURL(t.el.src), t.el.width = 0, t.el.height = 0, t.el.deleted = !0, L.DomUtil.remove(t.el), delete this._tiles[e], this.fire("tileunload", {
34062
34062
  tile: t.el,
@@ -34065,16 +34065,16 @@ B((e, t) => {
34065
34065
  }, "_removeTile")
34066
34066
  }))(t);
34067
34067
  }, "leafletRasterLayer");
34068
- var H = B((e) => (t, n) => {
34068
+ var Qe = V((e) => (t, n) => {
34069
34069
  if (n instanceof AbortController) return e(t, n);
34070
34070
  let r = new AbortController();
34071
- return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: B(() => r.abort(), "cancel") };
34072
- }, "v3compat"), Qe = class {
34071
+ return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: V(() => r.abort(), "cancel") };
34072
+ }, "v3compat"), $e = class {
34073
34073
  constructor(e) {
34074
- this.tilev4 = B((e, t) => V(this, null, function* () {
34074
+ this.tilev4 = V((e, t) => H(this, null, function* () {
34075
34075
  if (e.type === "json") {
34076
34076
  let n = e.url.substr(10), r = this.tiles.get(n);
34077
- if (r || (r = new wt(n), this.tiles.set(n, r)), this.metadata) {
34077
+ if (r || (r = new Tt(n), this.tiles.set(n, r)), this.metadata) {
34078
34078
  let n = yield r.getTileJson(e.url);
34079
34079
  return t.signal.throwIfAborted(), { data: n };
34080
34080
  }
@@ -34094,7 +34094,7 @@ var H = B((e) => (t, n) => {
34094
34094
  let n = /* @__PURE__ */ new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/), r = e.url.match(n);
34095
34095
  if (!r) throw Error("Invalid PMTiles protocol URL");
34096
34096
  let i = r[1], a = this.tiles.get(i);
34097
- a || (a = new wt(i), this.tiles.set(i, a));
34097
+ a || (a = new Tt(i), this.tiles.set(i, a));
34098
34098
  let o = r[2], s = r[3], c = r[4], l = yield a == null ? void 0 : a.getZxy(+o, +s, +c, t.signal);
34099
34099
  if (t.signal.throwIfAborted(), l) return {
34100
34100
  data: new Uint8Array(l.data),
@@ -34107,7 +34107,7 @@ var H = B((e) => (t, n) => {
34107
34107
  return { data: /* @__PURE__ */ new Uint8Array() };
34108
34108
  }
34109
34109
  return { data: null };
34110
- }), "tilev4"), this.tile = H(this.tilev4), this.tiles = /* @__PURE__ */ new Map(), this.metadata = (e == null ? void 0 : e.metadata) || !1, this.errorOnMissingTile = (e == null ? void 0 : e.errorOnMissingTile) || !1;
34110
+ }), "tilev4"), this.tile = Qe(this.tilev4), this.tiles = /* @__PURE__ */ new Map(), this.metadata = (e == null ? void 0 : e.metadata) || !1, this.errorOnMissingTile = (e == null ? void 0 : e.errorOnMissingTile) || !1;
34111
34111
  }
34112
34112
  add(e) {
34113
34113
  this.tiles.set(e.source.getKey(), e);
@@ -34116,50 +34116,50 @@ var H = B((e) => (t, n) => {
34116
34116
  return this.tiles.get(e);
34117
34117
  }
34118
34118
  };
34119
- B(Qe, "Protocol");
34120
- var $e = Qe;
34121
- function et(e, t) {
34119
+ V($e, "Protocol");
34120
+ var et = $e;
34121
+ function U(e, t) {
34122
34122
  return (t >>> 0) * 4294967296 + (e >>> 0);
34123
34123
  }
34124
- B(et, "toNum");
34125
- function U(e, t) {
34124
+ V(U, "toNum");
34125
+ function tt(e, t) {
34126
34126
  let n = t.buf, r = n[t.pos++], i = (r & 112) >> 4;
34127
- if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return et(e, i);
34127
+ if (r < 128 || (r = n[t.pos++], i |= (r & 127) << 3, r < 128) || (r = n[t.pos++], i |= (r & 127) << 10, r < 128) || (r = n[t.pos++], i |= (r & 127) << 17, r < 128) || (r = n[t.pos++], i |= (r & 127) << 24, r < 128) || (r = n[t.pos++], i |= (r & 1) << 31, r < 128)) return U(e, i);
34128
34128
  throw Error("Expected varint not more than 10 bytes");
34129
34129
  }
34130
- B(U, "readVarintRemainder");
34131
- function tt(e) {
34130
+ V(tt, "readVarintRemainder");
34131
+ function nt(e) {
34132
34132
  let t = e.buf, n = t[e.pos++], r = n & 127;
34133
- return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28, U(r, e));
34133
+ return n < 128 || (n = t[e.pos++], r |= (n & 127) << 7, n < 128) || (n = t[e.pos++], r |= (n & 127) << 14, n < 128) || (n = t[e.pos++], r |= (n & 127) << 21, n < 128) ? r : (n = t[e.pos], r |= (n & 15) << 28, tt(r, e));
34134
34134
  }
34135
- B(tt, "readVarint");
34136
- function nt(e, t, n, r, i) {
34135
+ V(nt, "readVarint");
34136
+ function rt(e, t, n, r, i) {
34137
34137
  return i === 0 ? r === 0 ? [n, t] : [e - 1 - n, e - 1 - t] : [t, n];
34138
34138
  }
34139
- B(nt, "rotate");
34140
- function rt(e, t, n) {
34139
+ V(rt, "rotate");
34140
+ function it(e, t, n) {
34141
34141
  if (e > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
34142
34142
  if (t >= 1 << e || n >= 1 << e) throw Error("tile x/y outside zoom level bounds");
34143
34143
  let r = ((1 << e) * (1 << e) - 1) / 3, i = e - 1, [a, o] = [t, n];
34144
34144
  for (let e = 1 << i; e > 0; e >>= 1) {
34145
34145
  let t = a & e, n = o & e;
34146
- r += (3 * t ^ n) * (1 << i), [a, o] = nt(e, a, o, t, n), i--;
34146
+ r += (3 * t ^ n) * (1 << i), [a, o] = rt(e, a, o, t, n), i--;
34147
34147
  }
34148
34148
  return r;
34149
34149
  }
34150
- B(rt, "zxyToTileId");
34151
- function it(e) {
34150
+ V(it, "zxyToTileId");
34151
+ function at(e) {
34152
34152
  let t = 3 * e + 1;
34153
34153
  return t < 4294967296 ? 31 - Math.clz32(t) : 63 - Math.clz32(t / 4294967296);
34154
34154
  }
34155
- B(it, "tileIdToZ");
34156
- function at(e) {
34157
- let t = it(e) >> 1;
34155
+ V(at, "tileIdToZ");
34156
+ function ot(e) {
34157
+ let t = at(e) >> 1;
34158
34158
  if (t > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
34159
34159
  let n = e - ((1 << t) * (1 << t) - 1) / 3, r = 0, i = 0, a = 1 << t;
34160
34160
  for (let e = 1; e < a; e <<= 1) {
34161
34161
  let t = e & n / 2, a = e & (n ^ t);
34162
- [r, i] = nt(e, r, i, t, a), n /= 2, r += t, i += a;
34162
+ [r, i] = rt(e, r, i, t, a), n /= 2, r += t, i += a;
34163
34163
  }
34164
34164
  return [
34165
34165
  t,
@@ -34167,13 +34167,13 @@ function at(e) {
34167
34167
  i
34168
34168
  ];
34169
34169
  }
34170
- B(at, "tileIdToZxy");
34171
- var ot = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.None = 1] = "None", e[e.Gzip = 2] = "Gzip", e[e.Brotli = 3] = "Brotli", e[e.Zstd = 4] = "Zstd", e))(ot || {});
34172
- function st(e, t) {
34173
- return V(this, null, function* () {
34170
+ V(ot, "tileIdToZxy");
34171
+ var st = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.None = 1] = "None", e[e.Gzip = 2] = "Gzip", e[e.Brotli = 3] = "Brotli", e[e.Zstd = 4] = "Zstd", e))(st || {});
34172
+ function ct(e, t) {
34173
+ return H(this, null, function* () {
34174
34174
  if (t === 1 || t === 0) return e;
34175
34175
  if (t === 2) {
34176
- if (globalThis.DecompressionStream === void 0) return Je(new Uint8Array(e));
34176
+ if (globalThis.DecompressionStream === void 0) return Ye(new Uint8Array(e));
34177
34177
  let t = new Response(e).body;
34178
34178
  if (!t) throw Error("Failed to read response stream");
34179
34179
  let n = t.pipeThrough(new globalThis.DecompressionStream("gzip"));
@@ -34182,14 +34182,14 @@ function st(e, t) {
34182
34182
  throw Error("Compression method not supported");
34183
34183
  });
34184
34184
  }
34185
- B(st, "defaultDecompress");
34186
- var ct = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Mvt = 1] = "Mvt", e[e.Png = 2] = "Png", e[e.Jpeg = 3] = "Jpeg", e[e.Webp = 4] = "Webp", e[e.Avif = 5] = "Avif", e[e.Mlt = 6] = "Mlt", e))(ct || {});
34187
- function lt(e) {
34185
+ V(ct, "defaultDecompress");
34186
+ var lt = ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Mvt = 1] = "Mvt", e[e.Png = 2] = "Png", e[e.Jpeg = 3] = "Jpeg", e[e.Webp = 4] = "Webp", e[e.Avif = 5] = "Avif", e[e.Mlt = 6] = "Mlt", e))(lt || {});
34187
+ function ut(e) {
34188
34188
  return e === 1 ? ".mvt" : e === 2 ? ".png" : e === 3 ? ".jpg" : e === 4 ? ".webp" : e === 5 ? ".avif" : e === 6 ? ".mlt" : "";
34189
34189
  }
34190
- B(lt, "tileTypeExt");
34191
- var ut = 127;
34192
- function dt(e, t) {
34190
+ V(ut, "tileTypeExt");
34191
+ var dt = 127;
34192
+ function ft(e, t) {
34193
34193
  let n = 0, r = e.length - 1;
34194
34194
  for (; n <= r;) {
34195
34195
  let i = r + n >> 1, a = t - e[i].tileId;
@@ -34199,7 +34199,7 @@ function dt(e, t) {
34199
34199
  }
34200
34200
  return r >= 0 && (e[r].runLength === 0 || t - e[r].tileId < e[r].runLength) ? e[r] : null;
34201
34201
  }
34202
- B(dt, "findTile"), B(class {
34202
+ V(ft, "findTile"), V(class {
34203
34203
  constructor(e) {
34204
34204
  this.file = e;
34205
34205
  }
@@ -34207,12 +34207,12 @@ B(dt, "findTile"), B(class {
34207
34207
  return this.file.name;
34208
34208
  }
34209
34209
  getBytes(e, t) {
34210
- return V(this, null, function* () {
34210
+ return H(this, null, function* () {
34211
34211
  return { data: yield this.file.slice(e, e + t).arrayBuffer() };
34212
34212
  });
34213
34213
  }
34214
34214
  }, "FileSource");
34215
- var ft = class {
34215
+ var pt = class {
34216
34216
  constructor(e, t = new Headers(), n = void 0) {
34217
34217
  var r, i;
34218
34218
  this.url = e, this.customHeaders = t, this.credentials = n, this.mustReload = !1;
@@ -34228,7 +34228,7 @@ var ft = class {
34228
34228
  this.customHeaders = e;
34229
34229
  }
34230
34230
  getBytes(e, t, n, r) {
34231
- return V(this, null, function* () {
34231
+ return H(this, null, function* () {
34232
34232
  let i, a;
34233
34233
  n ? a = n : (i = new AbortController(), a = i.signal);
34234
34234
  let o = new Headers(this.customHeaders);
@@ -34253,7 +34253,7 @@ var ft = class {
34253
34253
  });
34254
34254
  }
34255
34255
  let l = c.headers.get("Etag");
34256
- if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new vt(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
34256
+ if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new yt(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
34257
34257
  if (c.status >= 300) throw Error(`Bad response code: ${c.status}`);
34258
34258
  let u = c.headers.get("Content-Length");
34259
34259
  if (c.status === 200 && (!u || +u > t)) throw i && i.abort(), /* @__PURE__ */ Error("Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving.");
@@ -34266,29 +34266,29 @@ var ft = class {
34266
34266
  });
34267
34267
  }
34268
34268
  };
34269
- B(ft, "FetchSource");
34270
- var pt = ft;
34271
- function mt(e, t) {
34269
+ V(pt, "FetchSource");
34270
+ var mt = pt;
34271
+ function ht(e, t) {
34272
34272
  let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
34273
- return n * Ze(2, 32) + r;
34273
+ return n * B(2, 32) + r;
34274
34274
  }
34275
- B(mt, "getUint64");
34276
- function ht(e, t) {
34275
+ V(ht, "getUint64");
34276
+ function gt(e, t) {
34277
34277
  let n = new DataView(e), r = n.getUint8(7);
34278
34278
  if (r > 3) throw Error(`Archive is spec version ${r} but this library supports up to spec version 3`);
34279
34279
  return {
34280
34280
  specVersion: r,
34281
- rootDirectoryOffset: mt(n, 8),
34282
- rootDirectoryLength: mt(n, 16),
34283
- jsonMetadataOffset: mt(n, 24),
34284
- jsonMetadataLength: mt(n, 32),
34285
- leafDirectoryOffset: mt(n, 40),
34286
- leafDirectoryLength: mt(n, 48),
34287
- tileDataOffset: mt(n, 56),
34288
- tileDataLength: mt(n, 64),
34289
- numAddressedTiles: mt(n, 72),
34290
- numTileEntries: mt(n, 80),
34291
- numTileContents: mt(n, 88),
34281
+ rootDirectoryOffset: ht(n, 8),
34282
+ rootDirectoryLength: ht(n, 16),
34283
+ jsonMetadataOffset: ht(n, 24),
34284
+ jsonMetadataLength: ht(n, 32),
34285
+ leafDirectoryOffset: ht(n, 40),
34286
+ leafDirectoryLength: ht(n, 48),
34287
+ tileDataOffset: ht(n, 56),
34288
+ tileDataLength: ht(n, 64),
34289
+ numAddressedTiles: ht(n, 72),
34290
+ numTileEntries: ht(n, 80),
34291
+ numTileContents: ht(n, 88),
34292
34292
  clustered: n.getUint8(96) === 1,
34293
34293
  internalCompression: n.getUint8(97),
34294
34294
  tileCompression: n.getUint8(98),
@@ -34305,14 +34305,14 @@ function ht(e, t) {
34305
34305
  etag: t
34306
34306
  };
34307
34307
  }
34308
- B(ht, "bytesToHeader");
34309
- function gt(e) {
34308
+ V(gt, "bytesToHeader");
34309
+ function _t(e) {
34310
34310
  let t = {
34311
34311
  buf: new Uint8Array(e),
34312
34312
  pos: 0
34313
- }, n = tt(t), r = [], i = 0;
34313
+ }, n = nt(t), r = [], i = 0;
34314
34314
  for (let e = 0; e < n; e++) {
34315
- let e = tt(t);
34315
+ let e = nt(t);
34316
34316
  r.push({
34317
34317
  tileId: i + e,
34318
34318
  offset: 0,
@@ -34320,23 +34320,23 @@ function gt(e) {
34320
34320
  runLength: 1
34321
34321
  }), i += e;
34322
34322
  }
34323
- for (let e = 0; e < n; e++) r[e].runLength = tt(t);
34324
- for (let e = 0; e < n; e++) r[e].length = tt(t);
34323
+ for (let e = 0; e < n; e++) r[e].runLength = nt(t);
34324
+ for (let e = 0; e < n; e++) r[e].length = nt(t);
34325
34325
  for (let e = 0; e < n; e++) {
34326
- let n = tt(t);
34326
+ let n = nt(t);
34327
34327
  n === 0 && e > 0 ? r[e].offset = r[e - 1].offset + r[e - 1].length : r[e].offset = n - 1;
34328
34328
  }
34329
34329
  return r;
34330
34330
  }
34331
- B(gt, "deserializeIndex");
34332
- var _t = class extends Error {};
34333
- B(_t, "EtagMismatch");
34334
- var vt = _t;
34335
- function yt(e, t) {
34336
- return V(this, null, function* () {
34331
+ V(_t, "deserializeIndex");
34332
+ var vt = class extends Error {};
34333
+ V(vt, "EtagMismatch");
34334
+ var yt = vt;
34335
+ function bt(e, t) {
34336
+ return H(this, null, function* () {
34337
34337
  let n = yield e.getBytes(0, 16384);
34338
34338
  if (new DataView(n.data).getUint16(0, !0) !== 19792) throw Error("Wrong magic number for PMTiles archive");
34339
- let r = ht(n.data.slice(0, ut), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = gt(yield t(i, r.internalCompression));
34339
+ let r = gt(n.data.slice(0, dt), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = _t(yield t(i, r.internalCompression));
34340
34340
  return [r, [
34341
34341
  a,
34342
34342
  o.length,
@@ -34344,23 +34344,23 @@ function yt(e, t) {
34344
34344
  ]];
34345
34345
  });
34346
34346
  }
34347
- B(yt, "getHeaderAndRoot");
34348
- function bt(e, t, n, r, i) {
34349
- return V(this, null, function* () {
34350
- let a = gt(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
34347
+ V(bt, "getHeaderAndRoot");
34348
+ function xt(e, t, n, r, i) {
34349
+ return H(this, null, function* () {
34350
+ let a = _t(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
34351
34351
  if (a.length === 0) throw Error("Empty directory is invalid");
34352
34352
  return a;
34353
34353
  });
34354
34354
  }
34355
- B(bt, "getDirectory"), B(class {
34356
- constructor(e = 100, t = !0, n = st) {
34355
+ V(xt, "getDirectory"), V(class {
34356
+ constructor(e = 100, t = !0, n = ct) {
34357
34357
  this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
34358
34358
  }
34359
34359
  getHeader(e) {
34360
- return V(this, null, function* () {
34360
+ return H(this, null, function* () {
34361
34361
  let t = e.getKey(), n = this.cache.get(t);
34362
34362
  if (n) return n.lastUsed = this.counter++, n.data;
34363
- let r = yield yt(e, this.decompress);
34363
+ let r = yield bt(e, this.decompress);
34364
34364
  return r[1] && this.cache.set(r[1][0], {
34365
34365
  lastUsed: this.counter++,
34366
34366
  data: r[1][2]
@@ -34371,10 +34371,10 @@ B(bt, "getDirectory"), B(class {
34371
34371
  });
34372
34372
  }
34373
34373
  getDirectory(e, t, n, r) {
34374
- return V(this, null, function* () {
34374
+ return H(this, null, function* () {
34375
34375
  let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
34376
34376
  if (a) return a.lastUsed = this.counter++, a.data;
34377
- let o = yield bt(e, this.decompress, t, n, r);
34377
+ let o = yield xt(e, this.decompress, t, n, r);
34378
34378
  return this.cache.set(i, {
34379
34379
  lastUsed: this.counter++,
34380
34380
  data: o
@@ -34390,21 +34390,21 @@ B(bt, "getDirectory"), B(class {
34390
34390
  }
34391
34391
  }
34392
34392
  invalidate(e) {
34393
- return V(this, null, function* () {
34393
+ return H(this, null, function* () {
34394
34394
  this.cache.delete(e.getKey());
34395
34395
  });
34396
34396
  }
34397
34397
  }, "ResolvedValueCache");
34398
- var xt = class {
34399
- constructor(e = 100, t = !0, n = st) {
34398
+ var St = class {
34399
+ constructor(e = 100, t = !0, n = ct) {
34400
34400
  this.cache = /* @__PURE__ */ new Map(), this.invalidations = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
34401
34401
  }
34402
34402
  getHeader(e) {
34403
- return V(this, null, function* () {
34403
+ return H(this, null, function* () {
34404
34404
  let t = e.getKey(), n = this.cache.get(t);
34405
34405
  if (n) return n.lastUsed = this.counter++, yield n.data;
34406
34406
  let r = new Promise((t, n) => {
34407
- yt(e, this.decompress).then((e) => {
34407
+ bt(e, this.decompress).then((e) => {
34408
34408
  e[1] && this.cache.set(e[1][0], {
34409
34409
  lastUsed: this.counter++,
34410
34410
  data: Promise.resolve(e[1][2])
@@ -34420,11 +34420,11 @@ var xt = class {
34420
34420
  });
34421
34421
  }
34422
34422
  getDirectory(e, t, n, r) {
34423
- return V(this, null, function* () {
34423
+ return H(this, null, function* () {
34424
34424
  let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
34425
34425
  if (a) return a.lastUsed = this.counter++, yield a.data;
34426
34426
  let o = new Promise((i, a) => {
34427
- bt(e, this.decompress, t, n, r).then((e) => {
34427
+ xt(e, this.decompress, t, n, r).then((e) => {
34428
34428
  i(e), this.prune();
34429
34429
  }).catch((e) => {
34430
34430
  a(e);
@@ -34445,7 +34445,7 @@ var xt = class {
34445
34445
  }
34446
34446
  }
34447
34447
  invalidate(e) {
34448
- return V(this, null, function* () {
34448
+ return H(this, null, function* () {
34449
34449
  let t = e.getKey();
34450
34450
  if (this.invalidations.get(t)) return yield this.invalidations.get(t);
34451
34451
  this.cache.delete(e.getKey());
@@ -34460,23 +34460,23 @@ var xt = class {
34460
34460
  });
34461
34461
  }
34462
34462
  };
34463
- B(xt, "SharedPromiseCache");
34464
- var St = xt, Ct = class {
34463
+ V(St, "SharedPromiseCache");
34464
+ var Ct = St, wt = class {
34465
34465
  constructor(e, t, n) {
34466
- typeof e == "string" ? this.source = new pt(e) : this.source = e, n ? this.decompress = n : this.decompress = st, t ? this.cache = t : this.cache = new St();
34466
+ typeof e == "string" ? this.source = new mt(e) : this.source = e, n ? this.decompress = n : this.decompress = ct, t ? this.cache = t : this.cache = new Ct();
34467
34467
  }
34468
34468
  getHeader() {
34469
- return V(this, null, function* () {
34469
+ return H(this, null, function* () {
34470
34470
  return yield this.cache.getHeader(this.source);
34471
34471
  });
34472
34472
  }
34473
34473
  getZxyAttempt(e, t, n, r) {
34474
- return V(this, null, function* () {
34475
- let i = rt(e, t, n), a = yield this.cache.getHeader(this.source);
34474
+ return H(this, null, function* () {
34475
+ let i = it(e, t, n), a = yield this.cache.getHeader(this.source);
34476
34476
  if (e < a.minZoom || e > a.maxZoom) return;
34477
34477
  let o = a.rootDirectoryOffset, s = a.rootDirectoryLength;
34478
34478
  for (let e = 0; e <= 3; e++) {
34479
- let e = dt(yield this.cache.getDirectory(this.source, o, s, a), i);
34479
+ let e = ft(yield this.cache.getDirectory(this.source, o, s, a), i);
34480
34480
  if (e) {
34481
34481
  if (e.runLength > 0) {
34482
34482
  let t = yield this.source.getBytes(a.tileDataOffset + e.offset, e.length, r, a.etag);
@@ -34493,38 +34493,38 @@ var St = xt, Ct = class {
34493
34493
  });
34494
34494
  }
34495
34495
  getZxy(e, t, n, r) {
34496
- return V(this, null, function* () {
34496
+ return H(this, null, function* () {
34497
34497
  try {
34498
34498
  return yield this.getZxyAttempt(e, t, n, r);
34499
34499
  } catch (i) {
34500
- if (i instanceof vt) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
34500
+ if (i instanceof yt) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
34501
34501
  throw i;
34502
34502
  }
34503
34503
  });
34504
34504
  }
34505
34505
  getMetadataAttempt() {
34506
- return V(this, null, function* () {
34506
+ return H(this, null, function* () {
34507
34507
  let e = yield this.cache.getHeader(this.source), t = yield this.source.getBytes(e.jsonMetadataOffset, e.jsonMetadataLength, void 0, e.etag), n = yield this.decompress(t.data, e.internalCompression), r = new TextDecoder("utf-8");
34508
34508
  return JSON.parse(r.decode(n));
34509
34509
  });
34510
34510
  }
34511
34511
  getMetadata() {
34512
- return V(this, null, function* () {
34512
+ return H(this, null, function* () {
34513
34513
  try {
34514
34514
  return yield this.getMetadataAttempt();
34515
34515
  } catch (e) {
34516
- if (e instanceof vt) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
34516
+ if (e instanceof yt) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
34517
34517
  throw e;
34518
34518
  }
34519
34519
  });
34520
34520
  }
34521
34521
  getTileJson(e) {
34522
- return V(this, null, function* () {
34522
+ return H(this, null, function* () {
34523
34523
  let t = yield this.getHeader(), n = yield this.getMetadata();
34524
34524
  return {
34525
34525
  tilejson: "3.0.0",
34526
34526
  scheme: "xyz",
34527
- tiles: [`${e}/{z}/{x}/{y}${lt(t.tileType)}`],
34527
+ tiles: [`${e}/{z}/{x}/{y}${ut(t.tileType)}`],
34528
34528
  vector_layers: n.vector_layers,
34529
34529
  attribution: n.attribution,
34530
34530
  description: n.description,
@@ -34547,10 +34547,10 @@ var St = xt, Ct = class {
34547
34547
  });
34548
34548
  }
34549
34549
  };
34550
- B(Ct, "PMTiles");
34551
- var wt = Ct, Tt = 16384, Et = class {
34550
+ V(wt, "PMTiles");
34551
+ var Tt = wt, Et = 16384, Dt = class {
34552
34552
  constructor(e) {
34553
- this.url = e, this.ranged = void 0, this.archive = void 0, this.ranged = new pt(e);
34553
+ this.url = e, this.ranged = void 0, this.archive = void 0, this.ranged = new mt(e);
34554
34554
  }
34555
34555
  getKey() {
34556
34556
  return this.url;
@@ -34558,28 +34558,28 @@ var wt = Ct, Tt = 16384, Et = class {
34558
34558
  async getBytes(e, t, n, r) {
34559
34559
  this.archive || (this.archive = this.probe());
34560
34560
  let i = await this.archive;
34561
- return i ? (Ot(n), { data: await kt(i.slice(e, e + t)) }) : this.ranged.getBytes(e, t, n, r);
34561
+ return i ? (kt(n), { data: await At(i.slice(e, e + t)) }) : this.ranged.getBytes(e, t, n, r);
34562
34562
  }
34563
34563
  async probe() {
34564
34564
  let e;
34565
34565
  try {
34566
- e = await fetch(this.url, { headers: { Range: `bytes=0-${Tt - 1}` } });
34566
+ e = await fetch(this.url, { headers: { Range: `bytes=0-${Et - 1}` } });
34567
34567
  } catch {
34568
34568
  return null;
34569
34569
  }
34570
34570
  if (e.status !== 200) return null;
34571
34571
  let t = await e.blob();
34572
- return t.size === Tt ? null : t;
34572
+ return t.size === Et ? null : t;
34573
34573
  }
34574
34574
  };
34575
- function Dt(e, t) {
34576
- e.get(t) || e.add(new wt(new Et(t)));
34575
+ function Ot(e, t) {
34576
+ e.get(t) || e.add(new Tt(new Dt(t)));
34577
34577
  }
34578
- function Ot(e) {
34578
+ function kt(e) {
34579
34579
  var t;
34580
34580
  if (e != null && e.aborted) throw (t = e.reason) == null ? new DOMException("The operation was aborted.", "AbortError") : t;
34581
34581
  }
34582
- async function kt(e) {
34582
+ async function At(e) {
34583
34583
  return typeof e.arrayBuffer == "function" ? e.arrayBuffer() : new Promise((t, n) => {
34584
34584
  let r = new FileReader();
34585
34585
  r.onload = () => t(r.result), r.onerror = () => n(r.error), r.readAsArrayBuffer(e);
@@ -34587,7 +34587,7 @@ async function kt(e) {
34587
34587
  }
34588
34588
  //#endregion
34589
34589
  //#region src/components/Maplibre/utils/resolve-map-style.ts
34590
- function At(e, t) {
34590
+ function jt(e, t) {
34591
34591
  if (typeof e != "string") return;
34592
34592
  let n = new URL(e, window.location.href).href, r = (e) => new URL(e, n).href.replace(/%7B/g, "{").replace(/%7D/g, "}"), i = (e) => {
34593
34593
  if (!e.startsWith("pmtiles://")) return r(e);
@@ -34618,13 +34618,13 @@ function At(e, t) {
34618
34618
  }
34619
34619
  //#endregion
34620
34620
  //#region src/components/Maplibre/MaplibreWrapper.tsx
34621
- var jt = s(), Mt = ["<a href=\"https://expofp.com\" target=\"_blank\">ExpoFP</a>", "<a href=\"https://maplibre.org/\" target=\"_blank\">MapLibre</a>"], Nt = "expofp-map-dim", Pt = "expofp-map-dim-source", Ft = "3d-expofp", It = null, Lt = [
34621
+ var Mt = s(), Nt = ["<a href=\"https://expofp.com\" target=\"_blank\">ExpoFP</a>", "<a href=\"https://maplibre.org/\" target=\"_blank\">MapLibre</a>"], Pt = "expofp-map-dim", Ft = "expofp-map-dim-source", It = "3d-expofp", Lt = null, W = [
34622
34622
  "coalesce",
34623
34623
  ["get", "name:en"],
34624
34624
  ["get", "name_en"],
34625
34625
  ["get", "name:latin"],
34626
34626
  ["get", "name"]
34627
- ], W = {
34627
+ ], Rt = {
34628
34628
  type: "Feature",
34629
34629
  geometry: {
34630
34630
  type: "Polygon",
@@ -34638,34 +34638,34 @@ var jt = s(), Mt = ["<a href=\"https://expofp.com\" target=\"_blank\">ExpoFP</a>
34638
34638
  },
34639
34639
  properties: {}
34640
34640
  };
34641
- function Rt(e) {
34641
+ function zt(e) {
34642
34642
  if (!e || typeof e != "object") return !1;
34643
34643
  let t = e.length;
34644
34644
  if (typeof t != "number" || t < 16) return !1;
34645
34645
  let n = e[0];
34646
34646
  return typeof n == "number" && Number.isFinite(n);
34647
34647
  }
34648
- function zt(e) {
34648
+ function Bt(e) {
34649
34649
  var t;
34650
- if (Rt(e)) return Array.from(e);
34650
+ if (zt(e)) return Array.from(e);
34651
34651
  let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
34652
- return Rt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34653
- }
34654
- function Bt(e) {
34655
- return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => Bt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => Bt(e));
34652
+ return zt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
34656
34653
  }
34657
34654
  function Vt(e) {
34658
- return e.type !== "symbol" || !e.id || !e.layout ? !1 : Bt(e.layout["text-field"]);
34655
+ return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => Vt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => Vt(e));
34659
34656
  }
34660
34657
  function G(e) {
34658
+ return e.type !== "symbol" || !e.id || !e.layout ? !1 : Vt(e.layout["text-field"]);
34659
+ }
34660
+ function Ht(e) {
34661
34661
  var t;
34662
34662
  let n = e.getStyle();
34663
- for (let r of (t = n.layers) == null ? [] : t) Vt(r) && e.setLayoutProperty(r.id, "text-field", Lt);
34663
+ for (let r of (t = n.layers) == null ? [] : t) G(r) && e.setLayoutProperty(r.id, "text-field", W);
34664
34664
  }
34665
- function Ht() {
34666
- if (It) return It;
34667
- let e = new $e();
34668
- It = e;
34665
+ function Ut() {
34666
+ if (Lt) return Lt;
34667
+ let e = new et();
34668
+ Lt = e;
34669
34669
  try {
34670
34670
  (0, ge.addProtocol)("pmtiles", e.tile);
34671
34671
  } catch (e) {
@@ -34673,21 +34673,21 @@ function Ht() {
34673
34673
  }
34674
34674
  return e;
34675
34675
  }
34676
- function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i, onMapReady: a, onMapDimLayerReady: o, onMapLoadError: s, onPointerMissed: c, children: u }) {
34677
- let d = (0, P.useRef)(null), [f, p] = (0, P.useState)(), m = (0, P.useRef)(a), h = (0, P.useRef)(o), g = (0, P.useRef)(s), _ = (0, P.useRef)({
34676
+ function Wt({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i, onMapReady: a, onMapDimLayerReady: o, onMapLoadError: s, onPointerMissed: c, children: u }) {
34677
+ let d = (0, F.useRef)(null), [f, p] = (0, F.useState)(), m = (0, F.useRef)(a), h = (0, F.useRef)(o), g = (0, F.useRef)(s), _ = (0, F.useRef)({
34678
34678
  geoConfig: t,
34679
34679
  tileSource: n,
34680
34680
  mapOptions: r,
34681
34681
  debug: i
34682
34682
  });
34683
- return (0, P.useEffect)(() => {
34683
+ return (0, F.useEffect)(() => {
34684
34684
  m.current = a, h.current = o, g.current = s;
34685
- }), (0, P.useEffect)(() => {
34685
+ }), (0, F.useEffect)(() => {
34686
34686
  let e = d.current;
34687
34687
  if (!e) return;
34688
34688
  let { geoConfig: t, tileSource: n, mapOptions: r, debug: i } = _.current, a = !1, o, s = () => {
34689
34689
  var i, s;
34690
- let c = Ht(), l = t.bounds ? {
34690
+ let c = Ut(), l = t.bounds ? {
34691
34691
  bounds: t.bounds,
34692
34692
  fitBoundsOptions: {
34693
34693
  padding: t.fitPadding,
@@ -34696,7 +34696,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34696
34696
  } : {
34697
34697
  center: t.center,
34698
34698
  zoom: t.zoom
34699
- }, u = At(n.style, n.offline ? (e) => Dt(c, e) : void 0), d = new ge.Map({
34699
+ }, u = jt(n.style, n.offline ? (e) => Ot(c, e) : void 0), d = new ge.Map({
34700
34700
  container: e,
34701
34701
  ...l,
34702
34702
  bearing: t.bearing,
@@ -34707,7 +34707,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34707
34707
  maxBounds: r == null ? void 0 : r.maxBounds,
34708
34708
  attributionControl: {
34709
34709
  compact: !0,
34710
- customAttribution: Mt
34710
+ customAttribution: Nt
34711
34711
  },
34712
34712
  bearingSnap: 0,
34713
34713
  canvasContextAttributes: { antialias: !0 }
@@ -34726,7 +34726,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34726
34726
  };
34727
34727
  d.on("styleimagemissing", f);
34728
34728
  let _, v = () => d.triggerRepaint(), y = {
34729
- id: Ft,
34729
+ id: It,
34730
34730
  type: "custom",
34731
34731
  renderingMode: "3d",
34732
34732
  onAdd(e, t) {
@@ -34740,18 +34740,18 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34740
34740
  }), (n = m.current) == null || n.call(m, d, v));
34741
34741
  },
34742
34742
  render(e, t) {
34743
- let n = zt(t == null ? e : t);
34743
+ let n = Bt(t == null ? e : t);
34744
34744
  n && (_ == null || _(n));
34745
34745
  }
34746
34746
  }, b = () => {
34747
34747
  var e;
34748
- G(d), d.getSource(Pt) || d.addSource(Pt, {
34748
+ Ht(d), d.getSource(Ft) || d.addSource(Ft, {
34749
34749
  type: "geojson",
34750
- data: W
34750
+ data: Rt
34751
34751
  }), d.getLayer("expofp-map-dim") || d.addLayer({
34752
- id: Nt,
34752
+ id: Pt,
34753
34753
  type: "fill",
34754
- source: Pt,
34754
+ source: Ft,
34755
34755
  paint: {
34756
34756
  "fill-color": "#000000",
34757
34757
  "fill-opacity": 0,
@@ -34771,7 +34771,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34771
34771
  }) : s(), () => {
34772
34772
  a = !0, o == null || o(), p(void 0);
34773
34773
  };
34774
- }, []), /* @__PURE__ */ (0, jt.jsx)("div", {
34774
+ }, []), /* @__PURE__ */ (0, Mt.jsx)("div", {
34775
34775
  ref: d,
34776
34776
  style: {
34777
34777
  position: "absolute",
@@ -34780,7 +34780,7 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34780
34780
  width: "100%",
34781
34781
  height: "100%"
34782
34782
  },
34783
- children: f && /* @__PURE__ */ (0, jt.jsx)(O, {
34783
+ children: f && /* @__PURE__ */ (0, Mt.jsx)(O, {
34784
34784
  ...f,
34785
34785
  scene: e,
34786
34786
  debug: i,
@@ -34791,22 +34791,22 @@ function Ut({ sceneDef: e, geoConfig: t, tileSource: n, mapOptions: r, debug: i,
34791
34791
  }
34792
34792
  //#endregion
34793
34793
  //#region src/components/Maplibre/utils/geo-config.ts
34794
- var Wt = .15, Gt = 1.42, Kt = .35, qt = .9, Jt = .85, Yt = 8, Xt = .05;
34795
- function Zt(e, t, n, r) {
34794
+ var Gt = .15, Kt = 1.42, qt = .35, Jt = .9, Yt = .85, Xt = 8, Zt = .05;
34795
+ function Qt(e, t, n, r) {
34796
34796
  let i = Math.min(e.getZoom(), t);
34797
- return i + (n - i) * Math.min(1, r / Gt) >= e.getMinZoom() - Xt;
34797
+ return i + (n - i) * Math.min(1, r / Kt) >= e.getMinZoom() - Zt;
34798
34798
  }
34799
- function Qt(e, t, n) {
34800
- if (Zt(e, t, n, Gt)) return Gt;
34801
- if (!Zt(e, t, n, Kt)) return null;
34802
- let r = Kt, i = Gt;
34803
- for (let a = 0; a < Yt; a++) {
34799
+ function $t(e, t, n) {
34800
+ if (Qt(e, t, n, Kt)) return Kt;
34801
+ if (!Qt(e, t, n, qt)) return null;
34802
+ let r = qt, i = Kt;
34803
+ for (let a = 0; a < Xt; a++) {
34804
34804
  let a = (r + i) / 2;
34805
- Zt(e, t, n, a) ? r = a : i = a;
34805
+ Qt(e, t, n, a) ? r = a : i = a;
34806
34806
  }
34807
34807
  return r;
34808
34808
  }
34809
- function $t(e, t) {
34809
+ function en(e, t) {
34810
34810
  let n = [
34811
34811
  _(e.min.x, e.min.y, t),
34812
34812
  _(e.max.x, e.min.y, t),
@@ -34815,8 +34815,8 @@ function $t(e, t) {
34815
34815
  ], r = n.map(([e]) => e), i = n.map(([, e]) => e);
34816
34816
  return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
34817
34817
  }
34818
- var en = 512;
34819
- function tn(e, t, n, r, i) {
34818
+ var tn = 512;
34819
+ function nn(e, t, n, r, i) {
34820
34820
  let a = [
34821
34821
  _(e.min.x, e.min.y, t),
34822
34822
  _(e.max.x, e.min.y, t),
@@ -34831,15 +34831,15 @@ function tn(e, t, n, r, i) {
34831
34831
  if (d <= 0 || f <= 0) return null;
34832
34832
  let p = r.width - i.left - i.right, m = r.height - i.top - i.bottom;
34833
34833
  if (p <= 0 || m <= 0) return null;
34834
- let h = Math.min(p / (d * en), m / (f * en));
34834
+ let h = Math.min(p / (d * tn), m / (f * tn));
34835
34835
  if (!(h > 0)) return null;
34836
- let g = en * h, v = (Math.min(...l) + Math.max(...l)) / 2 - (i.left - i.right) / 2 / g, y = (Math.min(...u) + Math.max(...u)) / 2 - (i.top - i.bottom) / 2 / g, { lng: b, lat: x } = new ge.MercatorCoordinate(v * s + y * c, -v * c + y * s).toLngLat();
34836
+ let g = tn * h, v = (Math.min(...l) + Math.max(...l)) / 2 - (i.left - i.right) / 2 / g, y = (Math.min(...u) + Math.max(...u)) / 2 - (i.top - i.bottom) / 2 / g, { lng: b, lat: x } = new ge.MercatorCoordinate(v * s + y * c, -v * c + y * s).toLngLat();
34837
34837
  return {
34838
34838
  center: [b, x],
34839
34839
  zoom: Math.log2(h)
34840
34840
  };
34841
34841
  }
34842
- function nn(e, t) {
34842
+ function rn(e, t) {
34843
34843
  return {
34844
34844
  top: e.top + t.top,
34845
34845
  bottom: e.bottom + t.bottom,
@@ -34847,7 +34847,7 @@ function nn(e, t) {
34847
34847
  right: e.right + t.right
34848
34848
  };
34849
34849
  }
34850
- function rn(e = 0) {
34850
+ function an(e = 0) {
34851
34851
  let t = k.canvasVisibleRectPx, n = k.screenSize;
34852
34852
  return t ? {
34853
34853
  top: Math.max(0, t.min.y) + e,
@@ -34861,14 +34861,14 @@ function rn(e = 0) {
34861
34861
  right: e
34862
34862
  };
34863
34863
  }
34864
- function an(e, t, n) {
34864
+ function on(e, t, n) {
34865
34865
  let r = e.project(t), i = e.getCanvas();
34866
34866
  return r.x >= n.left && r.x <= i.clientWidth - n.right && r.y >= n.top && r.y <= i.clientHeight - n.bottom;
34867
34867
  }
34868
- function on() {
34868
+ function sn() {
34869
34869
  var e, t;
34870
34870
  if (!(!(m == null || (e = m.properties) == null) && e.config)) return null;
34871
- let n = m.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = re(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
34871
+ let n = m.properties.config, r = (n.p0.lng + n.p2.lng) / 2, i = (n.p0.lat + n.p2.lat) / 2, a = ne(n.p0, n.p2), o = Number.isFinite(a) ? a : (t = n.bearing) == null ? 0 : t;
34872
34872
  return {
34873
34873
  center: [r, i],
34874
34874
  bearing: o,
@@ -34876,15 +34876,15 @@ function on() {
34876
34876
  gpsConfig: n
34877
34877
  };
34878
34878
  }
34879
- function sn(e, t, n, r = {}) {
34879
+ function K(e, t, n, r = {}) {
34880
34880
  var i, a;
34881
34881
  if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
34882
- let o = $t(t, n.gpsConfig), s = e.getCanvas(), c = r.paddingPercent == null ? rn((i = r.padding) == null ? 50 : i) : nn(rn(0), {
34882
+ let o = en(t, n.gpsConfig), s = e.getCanvas(), c = r.paddingPercent == null ? an((i = r.padding) == null ? 50 : i) : rn(an(0), {
34883
34883
  top: s.clientHeight * r.paddingPercent,
34884
34884
  bottom: s.clientHeight * r.paddingPercent,
34885
34885
  left: s.clientWidth * r.paddingPercent,
34886
34886
  right: s.clientWidth * r.paddingPercent
34887
- }), l = tn(t, n.gpsConfig, n.bearing, {
34887
+ }), l = nn(t, n.gpsConfig, n.bearing, {
34888
34888
  width: s.clientWidth,
34889
34889
  height: s.clientHeight
34890
34890
  }, c);
@@ -34915,9 +34915,9 @@ function sn(e, t, n, r = {}) {
34915
34915
  e.easeTo(g);
34916
34916
  return;
34917
34917
  }
34918
- let y = Qt(e, l.zoom, v.zoom);
34918
+ let y = $t(e, l.zoom, v.zoom);
34919
34919
  if (y !== null) {
34920
- let t = Math.max(Kt, y * qt), n = Math.round(h * Jt);
34920
+ let t = Math.max(qt, y * Jt), n = Math.round(h * Yt);
34921
34921
  e.flyTo({
34922
34922
  ...g,
34923
34923
  curve: t,
@@ -34929,50 +34929,50 @@ function sn(e, t, n, r = {}) {
34929
34929
  }
34930
34930
  //#endregion
34931
34931
  //#region src/components/Maplibre/useCameraReactions.ts
34932
- var K = k, q = 15, cn = 24, J = 20;
34933
- function ln(e) {
34934
- return M(e, T(e, te)).expand(J);
34932
+ var q = k, cn = 15, J = 24, ln = 20;
34933
+ function un(e) {
34934
+ return M(e, T(e, ee)).expand(ln);
34935
34935
  }
34936
- function un(e, t) {
34936
+ function dn(e, t) {
34937
34937
  return Math.min(Math.max(t, e.getMinZoom()), e.getMaxZoom());
34938
34938
  }
34939
- function dn(e, t, n) {
34939
+ function fn(e, t, n) {
34940
34940
  var r;
34941
34941
  if (n.length !== 1) return !1;
34942
34942
  let i = (r = n[0]) == null ? void 0 : r.id, a = C.poiMarkerStore.markers.find((e) => e.boothId === i);
34943
34943
  if (!a) return !1;
34944
34944
  let o = _(a.center.x, a.center.y, t.gpsConfig);
34945
- return an(e, o, rn(cn)) || e.easeTo({
34945
+ return on(e, o, an(J)) || e.easeTo({
34946
34946
  center: o,
34947
- zoom: un(e, q),
34947
+ zoom: dn(e, cn),
34948
34948
  bearing: t.bearing,
34949
34949
  duration: 500,
34950
34950
  essential: !0
34951
34951
  }), !0;
34952
34952
  }
34953
- function fn(e, t, n) {
34954
- ae(() => K.moveToBooths, (n) => {
34953
+ function pn(e, t, n) {
34954
+ ie(() => q.moveToBooths, (n) => {
34955
34955
  let r = e.current;
34956
34956
  if (!n || !r || !t) return;
34957
34957
  let i = n.filter((e) => e.rect);
34958
34958
  if (i.length !== 0) {
34959
- if (dn(r, t, i)) {
34960
- K.moveToBooths = null;
34959
+ if (fn(r, t, i)) {
34960
+ q.moveToBooths = null;
34961
34961
  return;
34962
34962
  }
34963
- sn(r, ln(D.fromUnion(...i.map((e) => e.rect))), t), K.moveToBooths = null;
34963
+ K(r, un(D.fromUnion(...i.map((e) => e.rect))), t), q.moveToBooths = null;
34964
34964
  }
34965
- }), ae(() => K.moveToRect, (n) => {
34965
+ }), ie(() => q.moveToRect, (n) => {
34966
34966
  let r = e.current;
34967
- !n || !r || !t || (sn(r, n, t, { paddingPercent: K.moveToRectPaddingPercent }), K.moveToRect = null, K.moveToRectPaddingPercent = null);
34968
- }), ae(() => K.zoomBy, (t) => {
34967
+ !n || !r || !t || (K(r, n, t, { paddingPercent: q.moveToRectPaddingPercent }), q.moveToRect = null, q.moveToRectPaddingPercent = null);
34968
+ }), ie(() => q.zoomBy, (t) => {
34969
34969
  let n = e.current;
34970
34970
  !t || !n || (n.flyTo({
34971
34971
  zoom: n.getZoom() + (t > 1 ? .5 : -.5),
34972
34972
  animate: !0,
34973
34973
  duration: 500
34974
- }), K.zoomBy = null);
34975
- }), ae(() => [
34974
+ }), q.zoomBy = null);
34975
+ }), ie(() => [
34976
34976
  k.moveToLocation,
34977
34977
  C.maplibreStore.cameraPort,
34978
34978
  C.routeStore.currentPosition
@@ -34997,18 +34997,18 @@ function fn(e, t, n) {
34997
34997
  animate: !0,
34998
34998
  duration: 1e3
34999
34999
  });
35000
- }), ae(() => k.centerMap, (r) => {
35000
+ }), ie(() => k.centerMap, (r) => {
35001
35001
  let i = e.current;
35002
35002
  if (!(!r || !i || !t)) {
35003
35003
  if (!(k.list.type === "search" && !k.list.text)) {
35004
35004
  let { rect: e } = A({
35005
35005
  layerViewbox: C.layerStore.viewboxRectangle,
35006
- explicitArea: b ? te : null,
35006
+ explicitArea: b ? ee : null,
35007
35007
  layerRectangle: C.layerStore.rectangle,
35008
35008
  sceneDef: n,
35009
- svgArea: te
35009
+ svgArea: ee
35010
35010
  });
35011
- sn(i, e, t);
35011
+ K(i, e, t);
35012
35012
  }
35013
35013
  k.centerMap = !1;
35014
35014
  }
@@ -35016,39 +35016,39 @@ function fn(e, t, n) {
35016
35016
  }
35017
35017
  //#endregion
35018
35018
  //#region src/components/Maplibre/utils/map-theme.ts
35019
- var pn = 50;
35020
- function mn(e) {
35019
+ var mn = 50;
35020
+ function hn(e) {
35021
35021
  return e === "light" || e === "dark";
35022
35022
  }
35023
- function hn(e) {
35023
+ function gn(e) {
35024
35024
  if (!e || e === "none") return "light";
35025
35025
  try {
35026
- return (0, he.default)(e).lightness() < pn ? "dark" : "light";
35026
+ return (0, he.default)(e).lightness() < mn ? "dark" : "light";
35027
35027
  } catch {
35028
35028
  return "light";
35029
35029
  }
35030
35030
  }
35031
- function gn(e, t) {
35032
- return mn(e) ? e : hn(t);
35031
+ function _n(e, t) {
35032
+ return hn(e) ? e : gn(t);
35033
35033
  }
35034
35034
  //#endregion
35035
35035
  //#region src/components/Maplibre/utils/map-helpers.ts
35036
- var _n = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, vn = { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" }, yn = 12, bn = {
35036
+ var vn = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, yn = { style: "https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json" }, bn = 12, xn = {
35037
35037
  pitch: 30,
35038
35038
  maxPitch: 70,
35039
- minZoom: yn
35040
- }, xn = {
35039
+ minZoom: bn
35040
+ }, Sn = {
35041
35041
  pitch: 0,
35042
35042
  maxPitch: 0,
35043
- minZoom: yn
35043
+ minZoom: bn
35044
35044
  };
35045
- function Sn(e, t) {
35046
- e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(Nt, "fill-opacity", Cn(t)), e.triggerRepaint());
35045
+ function Cn(e, t) {
35046
+ e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(Pt, "fill-opacity", wn(t)), e.triggerRepaint());
35047
35047
  }
35048
- function Cn(e) {
35048
+ function wn(e) {
35049
35049
  return Math.min(Math.max(e, 0), 1);
35050
35050
  }
35051
- function wn(e, t, n = !1) {
35051
+ function Tn(e, t, n = !1) {
35052
35052
  var r, i, a;
35053
35053
  if (!e) return;
35054
35054
  e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
@@ -35058,7 +35058,7 @@ function wn(e, t, n = !1) {
35058
35058
  duration: 300
35059
35059
  }), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
35060
35060
  }
35061
- function Tn() {
35061
+ function En() {
35062
35062
  var e, t, n;
35063
35063
  let r = (e = (t = C.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
35064
35064
  return r != null && r.style ? {
@@ -35067,22 +35067,22 @@ function Tn() {
35067
35067
  } : r != null && r.styleUrl ? {
35068
35068
  style: r.styleUrl,
35069
35069
  offline: r.offline
35070
- } : gn(m == null || (n = m.properties) == null || (n = n.config) == null ? void 0 : n.style, u.backgroundColor) === "dark" ? vn : _n;
35070
+ } : _n(m == null || (n = m.properties) == null || (n = n.config) == null ? void 0 : n.style, u.backgroundColor) === "dark" ? yn : vn;
35071
35071
  }
35072
35072
  //#endregion
35073
35073
  //#region src/components/Maplibre/useDimming.ts
35074
- function En() {
35074
+ function Dn() {
35075
35075
  return k.dimmed && !C.poiMarkerStore.dimSuppressed;
35076
35076
  }
35077
- function Dn(e, t) {
35078
- let n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useCallback)((e) => {
35077
+ function On(e, t) {
35078
+ let n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useCallback)((e) => {
35079
35079
  var t, i;
35080
- let a = En();
35080
+ let a = Dn();
35081
35081
  (t = n.current) == null || t.setTarget(a, e), (i = r.current) == null || i.setTarget(a, e);
35082
35082
  }, []);
35083
- return (0, P.useEffect)(() => {
35083
+ return (0, F.useEffect)(() => {
35084
35084
  let i = fe((t) => {
35085
- Sn(e.current, t * me);
35085
+ Cn(e.current, t * me);
35086
35086
  }), a = fe((e) => {
35087
35087
  let n = t.current;
35088
35088
  n && ue(n, e * 1) && y(n.rootLayer);
@@ -35090,20 +35090,20 @@ function Dn(e, t) {
35090
35090
  return n.current = i, r.current = a, () => {
35091
35091
  i.stop(), a.stop(), n.current = null, r.current = null;
35092
35092
  };
35093
- }, [e, t]), ae(() => En(), () => i()), {
35093
+ }, [e, t]), ie(() => Dn(), () => i()), {
35094
35094
  mapDimAnimatorRef: n,
35095
35095
  venueDimAnimatorRef: r,
35096
35096
  applyDimmingTarget: i,
35097
- handleMapDimLayerReady: (0, P.useCallback)((e) => {
35097
+ handleMapDimLayerReady: (0, F.useCallback)((e) => {
35098
35098
  var t, r;
35099
- Sn(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!En() : t) * me);
35099
+ Cn(e, ((t = (r = n.current) == null ? void 0 : r.getValue()) == null ? +!!Dn() : t) * me);
35100
35100
  }, [])
35101
35101
  };
35102
35102
  }
35103
35103
  //#endregion
35104
35104
  //#region src/components/Maplibre/useKioskIdleEvents.ts
35105
- function On(e, t) {
35106
- (0, P.useEffect)(() => {
35105
+ function kn(e, t) {
35106
+ (0, F.useEffect)(() => {
35107
35107
  let n = t.current;
35108
35108
  if (!e || !n) return;
35109
35109
  let r = !1, i = (e) => {
@@ -35120,26 +35120,26 @@ function On(e, t) {
35120
35120
  }
35121
35121
  //#endregion
35122
35122
  //#region src/components/Maplibre/utils/layer-defs.ts
35123
- function kn(e, t = /* @__PURE__ */ new Map()) {
35123
+ function An(e, t = /* @__PURE__ */ new Map()) {
35124
35124
  var n;
35125
35125
  if (e.name) {
35126
35126
  var r;
35127
35127
  let n = (r = t.get(e.name)) == null ? [] : r;
35128
35128
  n.push(e), t.set(e.name, n);
35129
35129
  }
35130
- for (let r of (n = e.children) == null ? [] : n) p(r) && kn(r, t);
35130
+ for (let r of (n = e.children) == null ? [] : n) p(r) && An(r, t);
35131
35131
  return t;
35132
35132
  }
35133
35133
  //#endregion
35134
35134
  //#region src/components/Maplibre/useLayerVisibilitySync.ts
35135
- function An(e, t, n) {
35136
- let r = (0, P.useRef)(null), i = (0, P.useRef)(null);
35137
- ae(() => C.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
35135
+ function jn(e, t, n) {
35136
+ let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
35137
+ ie(() => C.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
35138
35138
  var a, o;
35139
35139
  if (!e) return;
35140
35140
  ((a = r.current) == null ? void 0 : a.rootLayer) !== e.rootLayer && (r.current = {
35141
35141
  rootLayer: e.rootLayer,
35142
- defsByName: kn(e.rootLayer)
35142
+ defsByName: An(e.rootLayer)
35143
35143
  });
35144
35144
  let s = r.current.defsByName, c = [];
35145
35145
  for (let e of C.layerStore.layers) {
@@ -35154,7 +35154,7 @@ function An(e, t, n) {
35154
35154
  if (!l || i.current === l.name) return;
35155
35155
  i.current = l.name;
35156
35156
  let u = (o = l.viewbox) == null ? l.rect : o;
35157
- sn(t.current, u == null ? null : u, n);
35157
+ K(t.current, u == null ? null : u, n);
35158
35158
  }, void 0, [
35159
35159
  e,
35160
35160
  t,
@@ -35163,29 +35163,29 @@ function An(e, t, n) {
35163
35163
  }
35164
35164
  //#endregion
35165
35165
  //#region src/components/Maplibre/usePoiMarkers.ts
35166
- var jn = "expofp-poi", Mn = "expofp-poi-clusters", Nn = "expofp-poi-cluster-count", Pn = "expofp-poi-unclustered", Fn = "expofp-poi-selected", In = "expofp-poi-pinhead-image", Ln = [
35167
- Mn,
35166
+ var Mn = "expofp-poi", Nn = "expofp-poi-clusters", Pn = "expofp-poi-cluster-count", Fn = "expofp-poi-unclustered", In = "expofp-poi-selected", Ln = "expofp-poi-pinhead-image", Rn = [
35168
35167
  Nn,
35169
35168
  Pn,
35170
- Fn
35171
- ], Rn = Ln.filter((e) => e !== Nn), zn = (e) => `expofp-poi-icon-${e}`;
35172
- function Bn(e, t, a) {
35173
- (0, P.useEffect)(() => {
35169
+ Fn,
35170
+ In
35171
+ ], zn = Rn.filter((e) => e !== Pn), Bn = (e) => `expofp-poi-icon-${e}`;
35172
+ function Vn(e, t, a) {
35173
+ (0, F.useEffect)(() => {
35174
35174
  var o;
35175
- if (!N()) return;
35175
+ if (!P()) return;
35176
35176
  let s = t.current;
35177
35177
  if (!e || !s || !a) return;
35178
35178
  let { gpsConfig: c } = a, l = /* @__PURE__ */ new Set(), d = window.devicePixelRatio || 1, f = E(36, d, ((o = u.colors) == null || (o = o.booths) == null ? void 0 : o.selected) || "#3b6ef5"), p = (e) => _(e.center.x, e.center.y, c), m = (e, t) => {
35179
35179
  s.hasImage(e) && s.removeImage(e), s.addImage(e, t, { pixelRatio: d }), l.add(e);
35180
35180
  }, g = (e) => {
35181
- let t = C.poiMarkerStore.markers, n = new Set(t.map((e) => zn(e.boothId)));
35182
- n.add(In);
35181
+ let t = C.poiMarkerStore.markers, n = new Set(t.map((e) => Bn(e.boothId)));
35182
+ n.add(Ln);
35183
35183
  for (let e of [...l]) n.has(e) || (s.hasImage(e) && s.removeImage(e), l.delete(e));
35184
35184
  for (let n of t) {
35185
- let t = zn(n.boothId);
35185
+ let t = Bn(n.boothId);
35186
35186
  (e || !l.has(t)) && m(t, n.icon);
35187
35187
  }
35188
- l.has(In) || m(In, f);
35188
+ l.has(Ln) || m(Ln, f);
35189
35189
  }, v = () => {
35190
35190
  let e = C.poiMarkerStore.selectedMarkerId, t = C.poiMarkerStore.outdoorFilter, n = !t.active, r = C.poiMarkerStore.markers;
35191
35191
  return e === null ? t.active && (r = t.matchingMarkers) : r = r.filter((t) => t.boothId === e), {
@@ -35200,7 +35200,7 @@ function Bn(e, t, a) {
35200
35200
  },
35201
35201
  properties: {
35202
35202
  boothId: t.boothId,
35203
- icon: zn(t.boothId),
35203
+ icon: Bn(t.boothId),
35204
35204
  pinhead: t.boothId === e
35205
35205
  }
35206
35206
  }))
@@ -35220,16 +35220,16 @@ function Bn(e, t, a) {
35220
35220
  }
35221
35221
  return (n = r) == null ? ["Noto Sans Regular"] : n;
35222
35222
  }, b = null, x = () => {
35223
- for (let e of Ln) s.getLayer(e) && s.removeLayer(e);
35224
- s.getSource(jn) && s.removeSource(jn), b = null;
35223
+ for (let e of Rn) s.getLayer(e) && s.removeLayer(e);
35224
+ s.getSource(Mn) && s.removeSource(Mn), b = null;
35225
35225
  }, S = (e, t) => {
35226
- if (b !== null && b !== t && x(), s.getSource(jn) || (s.addSource(jn, {
35226
+ if (b !== null && b !== t && x(), s.getSource(Mn) || (s.addSource(Mn, {
35227
35227
  type: "geojson",
35228
35228
  data: e,
35229
35229
  cluster: t,
35230
35230
  clusterRadius: 50,
35231
35231
  clusterMinPoints: 3
35232
- }), b = t), s.getLayer(Mn)) return;
35232
+ }), b = t), s.getLayer(Nn)) return;
35233
35233
  let i = ["!", ["has", "point_count"]], a = [
35234
35234
  "==",
35235
35235
  [
@@ -35240,9 +35240,9 @@ function Bn(e, t, a) {
35240
35240
  !0
35241
35241
  ];
35242
35242
  s.addLayer({
35243
- id: Mn,
35243
+ id: Nn,
35244
35244
  type: "circle",
35245
- source: jn,
35245
+ source: Mn,
35246
35246
  filter: ["has", "point_count"],
35247
35247
  paint: {
35248
35248
  "circle-radius": 36 / 2,
@@ -35252,9 +35252,9 @@ function Bn(e, t, a) {
35252
35252
  "circle-pitch-alignment": "viewport"
35253
35253
  }
35254
35254
  }), s.addLayer({
35255
- id: Nn,
35255
+ id: Pn,
35256
35256
  type: "symbol",
35257
- source: jn,
35257
+ source: Mn,
35258
35258
  filter: ["has", "point_count"],
35259
35259
  layout: {
35260
35260
  "text-field": ["get", "point_count_abbreviated"],
@@ -35265,9 +35265,9 @@ function Bn(e, t, a) {
35265
35265
  },
35266
35266
  paint: { "text-color": "#ffffff" }
35267
35267
  }), s.addLayer({
35268
- id: Pn,
35268
+ id: Fn,
35269
35269
  type: "symbol",
35270
- source: jn,
35270
+ source: Mn,
35271
35271
  filter: [
35272
35272
  "all",
35273
35273
  i,
@@ -35280,35 +35280,35 @@ function Bn(e, t, a) {
35280
35280
  "icon-ignore-placement": !0
35281
35281
  }
35282
35282
  }), s.addLayer({
35283
- id: Fn,
35283
+ id: In,
35284
35284
  type: "symbol",
35285
- source: jn,
35285
+ source: Mn,
35286
35286
  filter: [
35287
35287
  "all",
35288
35288
  i,
35289
35289
  a
35290
35290
  ],
35291
35291
  layout: {
35292
- "icon-image": In,
35292
+ "icon-image": Ln,
35293
35293
  "icon-anchor": "bottom",
35294
35294
  "icon-allow-overlap": !0,
35295
35295
  "icon-ignore-placement": !0
35296
35296
  }
35297
35297
  });
35298
35298
  }, w = () => {
35299
- if (!s.getLayer(Mn)) return;
35300
- let e = En() ? 1 - me : 1;
35301
- s.setPaintProperty(Mn, "circle-opacity", e), s.setPaintProperty(Mn, "circle-stroke-opacity", e), s.setPaintProperty(Nn, "text-opacity", e), s.setPaintProperty(Pn, "icon-opacity", e), s.setPaintProperty(Fn, "icon-opacity", e);
35299
+ if (!s.getLayer(Nn)) return;
35300
+ let e = Dn() ? 1 - me : 1;
35301
+ s.setPaintProperty(Nn, "circle-opacity", e), s.setPaintProperty(Nn, "circle-stroke-opacity", e), s.setPaintProperty(Pn, "text-opacity", e), s.setPaintProperty(Fn, "icon-opacity", e), s.setPaintProperty(In, "icon-opacity", e);
35302
35302
  }, T = (e = !1) => {
35303
35303
  var t;
35304
35304
  g(e);
35305
35305
  let { cluster: n, data: r } = v();
35306
- S(r, n), (t = s.getSource(jn)) == null || t.setData(r), w();
35306
+ S(r, n), (t = s.getSource(Mn)) == null || t.setData(r), w();
35307
35307
  }, O = (e) => {
35308
35308
  if (!e.length) return;
35309
- let t = rn(50);
35310
- if (e.every((e) => an(s, p(e), t))) return;
35311
- let n = $t(D.fromPoints(e.map((e) => e.center)), c), r = s.cameraForBounds(n, {
35309
+ let t = an(50);
35310
+ if (e.every((e) => on(s, p(e), t))) return;
35311
+ let n = en(D.fromPoints(e.map((e) => e.center)), c), r = s.cameraForBounds(n, {
35312
35312
  padding: t,
35313
35313
  bearing: a.bearing
35314
35314
  });
@@ -35327,7 +35327,7 @@ function Bn(e, t, a) {
35327
35327
  r && C.clickBooth(r);
35328
35328
  }, A = (e) => {
35329
35329
  var t, n, r;
35330
- let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(jn);
35330
+ let i = (t = e.features) == null ? void 0 : t[0], a = i == null || (n = i.properties) == null ? void 0 : n.cluster_id, o = s.getSource(Mn);
35331
35331
  if (typeof a != "number" || !o || (i == null || (r = i.geometry) == null ? void 0 : r.type) !== "Point") return;
35332
35332
  let [c = 0, l = 0] = i.geometry.coordinates;
35333
35333
  o.getClusterExpansionZoom(a).then((e) => {
@@ -35338,8 +35338,8 @@ function Bn(e, t, a) {
35338
35338
  });
35339
35339
  });
35340
35340
  };
35341
- s.on("click", Pn, k), s.on("click", Fn, k), s.on("click", Mn, A), h.set((e, t) => {
35342
- let n = Rn.filter((e) => !!s.getLayer(e));
35341
+ s.on("click", Fn, k), s.on("click", In, k), s.on("click", Nn, A), h.set((e, t) => {
35342
+ let n = zn.filter((e) => !!s.getLayer(e));
35343
35343
  if (!n.length) return !1;
35344
35344
  let r = s.project(_(e, t, c));
35345
35345
  return s.queryRenderedFeatures([r.x, r.y], { layers: n }).length > 0;
@@ -35348,11 +35348,11 @@ function Bn(e, t, a) {
35348
35348
  l.clear(), T(!0);
35349
35349
  };
35350
35350
  s.on("style.load", j);
35351
- let M = i(() => C.poiMarkerStore.markers, () => T(!0)), ee = i(() => C.poiMarkerStore.selectedMarkerId, () => T()), te = i(() => C.poiMarkerStore.outdoorFilter.key, () => {
35351
+ let M = i(() => C.poiMarkerStore.markers, () => T(!0)), N = i(() => C.poiMarkerStore.selectedMarkerId, () => T()), ee = i(() => C.poiMarkerStore.outdoorFilter.key, () => {
35352
35352
  T(), O(C.poiMarkerStore.outdoorFilter.matchingMarkers);
35353
- }), ne = i(() => En(), () => w());
35353
+ }), te = i(() => Dn(), () => w());
35354
35354
  return T(!0), () => {
35355
- M(), ee(), te(), ne(), h.set(null), s.off("style.load", j), s.off("click", Pn, k), s.off("click", Fn, k), s.off("click", Mn, A);
35355
+ M(), N(), ee(), te(), h.set(null), s.off("style.load", j), s.off("click", Fn, k), s.off("click", In, k), s.off("click", Nn, A);
35356
35356
  try {
35357
35357
  x();
35358
35358
  for (let e of l) s.hasImage(e) && s.removeImage(e);
@@ -35366,14 +35366,14 @@ function Bn(e, t, a) {
35366
35366
  }
35367
35367
  //#endregion
35368
35368
  //#region src/components/Maplibre/useWayfindingAndMarkers.ts
35369
- function Vn(e, t) {
35370
- (0, P.useEffect)(() => {
35369
+ function Hn(e, t) {
35370
+ (0, F.useEffect)(() => {
35371
35371
  if (!e) return;
35372
35372
  let n = d({
35373
35373
  scene: e,
35374
35374
  store: C,
35375
35375
  canvas: t
35376
- }), r = ce({ scene: e });
35376
+ }), r = le({ scene: e });
35377
35377
  return () => {
35378
35378
  n(), r();
35379
35379
  };
@@ -35381,17 +35381,17 @@ function Vn(e, t) {
35381
35381
  }
35382
35382
  //#endregion
35383
35383
  //#region src/components/Maplibre/utils/solver.ts
35384
- var Hn = 1e-12, Un = 3.28084, Wn = 6371e3, Gn = 1, Kn = .02;
35385
- function qn(e, t) {
35384
+ var Un = 1e-12, Wn = 3.28084, Gn = 6371e3, Kn = 1, qn = .02;
35385
+ function Jn(e, t) {
35386
35386
  var n;
35387
35387
  let r, i;
35388
35388
  try {
35389
- r = Zn(e), i = "perpendicular";
35389
+ r = Qn(e), i = "perpendicular";
35390
35390
  } catch (t) {
35391
35391
  if (!e.p1) throw t;
35392
35392
  r = e.p1, i = "explicit-fallback";
35393
35393
  }
35394
- let a = Jn(e);
35394
+ let a = Yn(e);
35395
35395
  i === "perpendicular" && a != null && a.inconsistent && console.warn("Maplibre geo: ignoring inconsistent anchor p1; placing venue from the p0->p2 diagonal.", {
35396
35396
  angleErrorDeg: a.angleErrorDeg,
35397
35397
  sideRatioError: a.ratioError
@@ -35402,9 +35402,9 @@ function qn(e, t) {
35402
35402
  e.p2
35403
35403
  ], s = [], c = [], l = [];
35404
35404
  for (let e of o) {
35405
- Qn(e), c.push([e.x, e.y]);
35405
+ $n(e), c.push([e.x, e.y]);
35406
35406
  let t = ge.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
35407
- $n(t.x), $n(t.y), $n(n), s.push(n), l.push([t.x, t.y]);
35407
+ er(t.x), er(t.y), er(n), s.push(n), l.push([t.x, t.y]);
35408
35408
  }
35409
35409
  let u = [], d = [];
35410
35410
  for (let e = 0; e < 3; e++) {
@@ -35425,7 +35425,7 @@ function qn(e, t) {
35425
35425
  1
35426
35426
  ]), d.push(i);
35427
35427
  }
35428
- let [f, p, m, h, g, _] = ar(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / Un : 1, y = [
35428
+ let [f, p, m, h, g, _] = or(u, d), v = (t == null || (n = t.toLowerCase) == null ? void 0 : n.call(t).trim()) === "ft" ? 1 / Wn : 1, y = [
35429
35429
  f,
35430
35430
  h,
35431
35431
  0,
@@ -35446,34 +35446,34 @@ function qn(e, t) {
35446
35446
  if (!y.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
35447
35447
  return y;
35448
35448
  }
35449
- function Jn(e) {
35449
+ function Yn(e) {
35450
35450
  let t = e.p1;
35451
35451
  if (!t) return null;
35452
- let n = Yn(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = Xn(e.p0, t, e.p2), i = Math.abs(n.angleDeg - r.angleDeg), a = Number.isFinite(r.axisRatio) && r.axisRatio > 0 ? Math.abs(n.axisRatio / r.axisRatio - 1) : Infinity;
35452
+ let n = Xn(e.p0.x, e.p0.y, t.x, t.y, e.p2.x, e.p2.y), r = Zn(e.p0, t, e.p2), i = Math.abs(n.angleDeg - r.angleDeg), a = Number.isFinite(r.axisRatio) && r.axisRatio > 0 ? Math.abs(n.axisRatio / r.axisRatio - 1) : Infinity;
35453
35453
  return {
35454
35454
  angleErrorDeg: i,
35455
35455
  ratioError: a,
35456
- inconsistent: i > Gn || a > Kn
35456
+ inconsistent: i > Kn || a > qn
35457
35457
  };
35458
35458
  }
35459
- function Yn(e, t, n, r, i, a) {
35459
+ function Xn(e, t, n, r, i, a) {
35460
35460
  let o = Math.hypot(n - e, r - t), s = Math.hypot(i - e, a - t), c = (n - e) * (i - e) + (r - t) * (a - t), l = o > 0 && s > 0 ? c / (o * s) : NaN;
35461
35461
  return {
35462
35462
  axisRatio: o > 0 ? s / o : Infinity,
35463
- angleDeg: tr(Math.acos(Math.max(-1, Math.min(1, l))))
35463
+ angleDeg: nr(Math.acos(Math.max(-1, Math.min(1, l))))
35464
35464
  };
35465
35465
  }
35466
- function Xn(e, t, n) {
35467
- let r = nr(e.lat, e.lng, t.lat, t.lng), i = nr(e.lat, e.lng, n.lat, n.lng), a = rr(e.lat, e.lng, t.lat, t.lng), o = rr(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
35466
+ function Zn(e, t, n) {
35467
+ let r = rr(e.lat, e.lng, t.lat, t.lng), i = rr(e.lat, e.lng, n.lat, n.lng), a = ir(e.lat, e.lng, t.lat, t.lng), o = ir(e.lat, e.lng, n.lat, n.lng), s = Math.abs(o - a) % 360;
35468
35468
  return s > 180 && (s = 360 - s), {
35469
35469
  axisRatio: r > 0 ? i / r : Infinity,
35470
35470
  angleDeg: s
35471
35471
  };
35472
35472
  }
35473
- function Zn(e) {
35473
+ function Qn(e) {
35474
35474
  let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
35475
35475
  if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
35476
- let r = e.p0.x - n, i = e.p0.y + t, a = nr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = rr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = ir(e.p0.lat, e.p0.lng, a, o + 90);
35476
+ let r = e.p0.x - n, i = e.p0.y + t, a = rr(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), o = ir(e.p0.lat, e.p0.lng, e.p2.lat, e.p2.lng), [s, c] = ar(e.p0.lat, e.p0.lng, a, o + 90);
35477
35477
  return {
35478
35478
  x: r,
35479
35479
  y: i,
@@ -35481,36 +35481,36 @@ function Zn(e) {
35481
35481
  lng: s
35482
35482
  };
35483
35483
  }
35484
- function Qn(e) {
35485
- $n(e.x), $n(e.y), $n(e.lat), $n(e.lng);
35486
- }
35487
35484
  function $n(e) {
35488
- if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35485
+ er(e.x), er(e.y), er(e.lat), er(e.lng);
35489
35486
  }
35490
35487
  function er(e) {
35491
- return e * Math.PI / 180;
35488
+ if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
35492
35489
  }
35493
35490
  function tr(e) {
35494
- return e * 180 / Math.PI;
35491
+ return e * Math.PI / 180;
35495
35492
  }
35496
- function nr(e, t, n, r) {
35497
- let i = er(e), a = er(n), o = er(n - e), s = er(r - t), c = Math.sin(o / 2) * Math.sin(o / 2) + Math.cos(i) * Math.cos(a) * Math.sin(s / 2) * Math.sin(s / 2);
35498
- return Wn * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35493
+ function nr(e) {
35494
+ return e * 180 / Math.PI;
35499
35495
  }
35500
35496
  function rr(e, t, n, r) {
35501
- let i = er(e), a = er(n), o = er(r - t), s = Math.sin(o) * Math.cos(a), c = Math.cos(i) * Math.sin(a) - Math.sin(i) * Math.cos(a) * Math.cos(o);
35502
- return (tr(Math.atan2(s, c)) + 360) % 360;
35497
+ let i = tr(e), a = tr(n), o = tr(n - e), s = tr(r - t), c = Math.sin(o / 2) * Math.sin(o / 2) + Math.cos(i) * Math.cos(a) * Math.sin(s / 2) * Math.sin(s / 2);
35498
+ return Gn * (2 * Math.atan2(Math.sqrt(c), Math.sqrt(1 - c)));
35503
35499
  }
35504
35500
  function ir(e, t, n, r) {
35505
- let i = n / Wn, a = er(r), o = er(e), s = er(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35506
- return [tr(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), tr(c)];
35501
+ let i = tr(e), a = tr(n), o = tr(r - t), s = Math.sin(o) * Math.cos(a), c = Math.cos(i) * Math.sin(a) - Math.sin(i) * Math.cos(a) * Math.cos(o);
35502
+ return (nr(Math.atan2(s, c)) + 360) % 360;
35503
+ }
35504
+ function ar(e, t, n, r) {
35505
+ let i = n / Gn, a = tr(r), o = tr(e), s = tr(t), c = Math.asin(Math.sin(o) * Math.cos(i) + Math.cos(o) * Math.sin(i) * Math.cos(a));
35506
+ return [nr(s + Math.atan2(Math.sin(a) * Math.sin(i) * Math.cos(o), Math.cos(i) - Math.sin(o) * Math.sin(c))), nr(c)];
35507
35507
  }
35508
- function ar(e, t) {
35508
+ function or(e, t) {
35509
35509
  let n = e.length, r = e.map((e, n) => [...e, t[n]]);
35510
35510
  for (let e = 0; e < n; e++) {
35511
35511
  let t = e;
35512
35512
  for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
35513
- if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Hn) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35513
+ if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Un) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
35514
35514
  for (let t = e + 1; t < n; t++) {
35515
35515
  let i = r[t][e] / r[e][e];
35516
35516
  for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
@@ -35526,8 +35526,8 @@ function ar(e, t) {
35526
35526
  }
35527
35527
  //#endregion
35528
35528
  //#region src/components/Maplibre/MaplibreAdapter.tsx
35529
- var or = "routes-api.expofp.com", sr = 800;
35530
- function cr(e, t, n) {
35529
+ var sr = "routes-api.expofp.com", cr = 800;
35530
+ function lr(e, t, n) {
35531
35531
  return {
35532
35532
  getCameraState: () => {
35533
35533
  let t = e.getCenter();
@@ -35546,7 +35546,7 @@ function cr(e, t, n) {
35546
35546
  zoom: r.zoom,
35547
35547
  bearing: (i = r.bearing) == null ? t : i,
35548
35548
  pitch: (a = r.pitch) == null ? n() : a,
35549
- duration: sr,
35549
+ duration: cr,
35550
35550
  essential: !0
35551
35551
  });
35552
35552
  },
@@ -35556,26 +35556,26 @@ function cr(e, t, n) {
35556
35556
  }
35557
35557
  };
35558
35558
  }
35559
- function lr() {
35559
+ function ur() {
35560
35560
  C.poiMarkerStore.clear(), a(() => {
35561
35561
  C.layerStore.layers.forEach((e) => {
35562
35562
  e.configured = !1, e.children = [], e.loaded = !1;
35563
35563
  }), C.layerStore.layersLoaded = !1;
35564
35564
  });
35565
35565
  }
35566
- var ur = ie(function({ viewMode: e }) {
35566
+ var dr = re(function({ viewMode: e }) {
35567
35567
  var t;
35568
- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null), s = (0, P.useRef)(null), l = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useMemo)(() => on(), []), m = (0, P.useMemo)(() => A({
35568
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null), s = (0, F.useRef)(null), l = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useMemo)(() => sn(), []), m = (0, F.useMemo)(() => A({
35569
35569
  layerViewbox: C.layerStore.viewboxRectangle,
35570
- explicitArea: b ? te : null,
35570
+ explicitArea: b ? ee : null,
35571
35571
  layerRectangle: C.layerStore.rectangle,
35572
35572
  sceneDef: n,
35573
- svgArea: te
35574
- }), [n]), h = m.rect, _ = (0, P.useMemo)(() => {
35573
+ svgArea: ee
35574
+ }), [n]), h = m.rect, _ = (0, F.useMemo)(() => {
35575
35575
  if (!p) return null;
35576
- let e = w(m.source) ? 0 : T(h, te), t = rn(0);
35576
+ let e = w(m.source) ? 0 : T(h, ee), t = an(0);
35577
35577
  e && k.screenSize && (t.left += k.screenSize.width * e, t.right += k.screenSize.width * e, t.top += k.screenSize.height * e, t.bottom += k.screenSize.height * e);
35578
- let n = k.screenSize ? tn(h, p.gpsConfig, p.bearing, {
35578
+ let n = k.screenSize ? nn(h, p.gpsConfig, p.bearing, {
35579
35579
  width: k.screenSize.width,
35580
35580
  height: k.screenSize.height
35581
35581
  }, t) : null;
@@ -35587,18 +35587,18 @@ var ur = ie(function({ viewMode: e }) {
35587
35587
  center: p.center,
35588
35588
  bearing: p.bearing,
35589
35589
  zoom: p.zoom,
35590
- bounds: $t(h, p.gpsConfig),
35590
+ bounds: en(h, p.gpsConfig),
35591
35591
  fitPadding: t,
35592
- zoomAdjustment: Wt
35592
+ zoomAdjustment: Gt
35593
35593
  };
35594
35594
  }, [
35595
35595
  p,
35596
35596
  m,
35597
35597
  h
35598
- ]), y = (0, P.useMemo)(() => {
35598
+ ]), y = (0, F.useMemo)(() => {
35599
35599
  var e;
35600
- return p ? qn(p.gpsConfig, (e = ne()) == null ? void 0 : e.getAttribute("units")) : null;
35601
- }, [p]), E = (0, P.useMemo)(() => ({ ...e === "map2d" ? xn : bn }), [e]), D = (0, P.useRef)(E), O = (0, P.useMemo)(() => Tn(), []), M = (0, P.useMemo)(() => {
35600
+ return p ? Jn(p.gpsConfig, (e = te()) == null ? void 0 : e.getAttribute("units")) : null;
35601
+ }, [p]), E = (0, F.useMemo)(() => ({ ...e === "map2d" ? Sn : xn }), [e]), D = (0, F.useRef)(E), O = (0, F.useMemo)(() => En(), []), M = (0, F.useMemo)(() => {
35602
35602
  if (!n || !y) return null;
35603
35603
  let e = n.rootLayer.children, t = g(e) ? e.filter((e) => e.name.toLowerCase() !== "areamap") : e;
35604
35604
  return {
@@ -35610,79 +35610,79 @@ var ur = ie(function({ viewMode: e }) {
35610
35610
  background: void 0,
35611
35611
  staticTransform: y
35612
35612
  };
35613
- }, [n, y]), N = (0, P.useRef)(null);
35614
- (0, P.useEffect)(() => {
35615
- N.current = M;
35616
- }, [M]), (0, P.useEffect)(() => {
35617
- if (M) return ee(M), () => ee(void 0);
35613
+ }, [n, y]), P = (0, F.useRef)(null);
35614
+ (0, F.useEffect)(() => {
35615
+ P.current = M;
35616
+ }, [M]), (0, F.useEffect)(() => {
35617
+ if (M) return N(M), () => N(void 0);
35618
35618
  }, [M]);
35619
- let { mapDimAnimatorRef: re, venueDimAnimatorRef: ie, applyDimmingTarget: ae, handleMapDimLayerReady: ce } = Dn(o, N);
35620
- (0, P.useEffect)(() => {
35619
+ let { mapDimAnimatorRef: ne, venueDimAnimatorRef: re, applyDimmingTarget: ie, handleMapDimLayerReady: le } = On(o, P);
35620
+ (0, F.useEffect)(() => {
35621
35621
  if (!p) return;
35622
35622
  let e = !1;
35623
- lr(), pe().then(({ layers: t, cleanup: n }) => {
35623
+ ur(), se().then(({ layers: t, cleanup: n }) => {
35624
35624
  if (e) {
35625
35625
  n();
35626
35626
  return;
35627
35627
  }
35628
35628
  l.current = n;
35629
35629
  let i = (0, he.default)(u.backgroundColor === "none" ? "#ebebeb" : u.backgroundColor).string();
35630
- r(j(t, te, i));
35630
+ r(j(t, ee, i));
35631
35631
  }).catch((t) => {
35632
35632
  e || console.warn("Maplibre scene configuration failed.", t);
35633
35633
  });
35634
- let t = re.current, n = ie.current;
35634
+ let t = ne.current, n = re.current;
35635
35635
  return () => {
35636
35636
  var r;
35637
- e = !0, lr(), (r = l.current) == null || r.call(l), l.current = null, f.current && (C.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), o.current = null, s.current = null, d.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), k.sceneDefReady = !1;
35637
+ e = !0, ur(), (r = l.current) == null || r.call(l), l.current = null, f.current && (C.maplibreStore.clearCameraPortIfCurrent(f.current), f.current = null), o.current = null, s.current = null, d.current = null, a(!1), t == null || t.stop(), n == null || n.stop(), k.sceneDefReady = !1;
35638
35638
  };
35639
35639
  }, [
35640
35640
  p,
35641
- re,
35642
- ie
35641
+ ne,
35642
+ re
35643
35643
  ]);
35644
- let ue = (0, P.useCallback)((e, t) => {
35644
+ let ue = (0, F.useCallback)((e, t) => {
35645
35645
  var n;
35646
- o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), wn(e, D.current);
35647
- let r = cr(e, (n = p == null ? void 0 : p.bearing) == null ? e.getBearing() : n, () => {
35646
+ o.current = e, s.current = e.getCanvas(), d.current = t, a(!0), Tn(e, D.current);
35647
+ let r = lr(e, (n = p == null ? void 0 : p.bearing) == null ? e.getBearing() : n, () => {
35648
35648
  var e;
35649
35649
  return (e = D.current.pitch) == null ? 0 : e;
35650
35650
  });
35651
- f.current = r, C.maplibreStore.setCameraPort(r), C.fp.getCenterCoordinates = () => oe(s.current), ae({ immediate: !0 }), x(), C.layerStore.layersLoaded = !0, C.fp.onFpConfigured && C.fp.onFpConfigured(), k.sceneDefReady = !0, t();
35652
- }, [ae, p]);
35653
- (0, P.useEffect)(() => {
35654
- D.current = E, wn(o.current, E, !0);
35655
- }, [E]), On(i, o), Vn(M, s), Bn(i, o, p), An(M, o, p), fn(o, p, M), se({
35651
+ f.current = r, C.maplibreStore.setCameraPort(r), C.fp.getCenterCoordinates = () => ae(s.current), ie({ immediate: !0 }), x(), C.layerStore.layersLoaded = !0, C.fp.onFpConfigured && C.fp.onFpConfigured(), k.sceneDefReady = !0, t();
35652
+ }, [ie, p]);
35653
+ (0, F.useEffect)(() => {
35654
+ D.current = E, Tn(o.current, E, !0);
35655
+ }, [E]), kn(i, o), Hn(M, s), Vn(i, o, p), jn(M, o, p), pn(o, p, M), oe({
35656
35656
  enabled: C.layerStore.layersLoaded && k.buildRoute,
35657
35657
  scene: M == null ? void 0 : M
35658
35658
  });
35659
35659
  let fe = (t = S.busRoutes) != null && t;
35660
- le({
35660
+ ce({
35661
35661
  permission: C.layerStore.layersLoaded && fe,
35662
35662
  scene: M == null ? void 0 : M,
35663
- dataJsonUrl: `https://${or}/v1/routes?expo=${u.EXPO}`,
35664
- websocketUrl: `wss://${or}/locations?expo=${u.EXPO}`
35663
+ dataJsonUrl: `https://${sr}/v1/routes?expo=${u.EXPO}`,
35664
+ websocketUrl: `wss://${sr}/locations?expo=${u.EXPO}`
35665
35665
  });
35666
- let me = (0, P.useCallback)((e) => {
35666
+ let me = (0, F.useCallback)((e) => {
35667
35667
  console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), C.maplibreStore.deactivateMaplibre();
35668
35668
  }, []);
35669
35669
  if (!p || !_ || !y || !M) return null;
35670
35670
  let ge = `${_.center.join(",")}:${_.bearing}:${_.zoom}`;
35671
- return /* @__PURE__ */ (0, jt.jsx)(Ut, {
35671
+ return /* @__PURE__ */ (0, Mt.jsxs)(Wt, {
35672
35672
  sceneDef: M,
35673
35673
  geoConfig: _,
35674
35674
  tileSource: O,
35675
35675
  mapOptions: E,
35676
35676
  debug: c,
35677
35677
  onMapReady: ue,
35678
- onMapDimLayerReady: ce,
35678
+ onMapDimLayerReady: le,
35679
35679
  onMapLoadError: me,
35680
35680
  onPointerMissed: v,
35681
- children: /* @__PURE__ */ (0, jt.jsx)(de, {})
35681
+ children: [/* @__PURE__ */ (0, Mt.jsx)(de, {}), c && /* @__PURE__ */ (0, Mt.jsx)(pe, { canvas: s })]
35682
35682
  }, ge);
35683
35683
  });
35684
35684
  //#endregion
35685
- export { ur as default };
35685
+ export { dr as default };
35686
35686
 
35687
35687
  ;/* vite-per-chunk-css */
35688
35688
  __vite_inject_css__(".maplibregl-map{-webkit-tap-highlight-color:#0000;font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;position:relative;overflow:hidden}.maplibregl-canvas{position:absolute;top:0;left:0}.maplibregl-map:-webkit-full-screen{width:100%;height:100%}.maplibregl-map:fullscreen{width:100%;height:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;z-index:2;position:absolute}.maplibregl-ctrl-top-left{top:0;left:0}.maplibregl-ctrl-top-right{top:0;right:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px buttontext}}.maplibregl-ctrl-group button{box-sizing:border-box;cursor:pointer;background-color:#0000;border:0;outline:none;width:29px;height:29px;padding:0;display:block}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;width:100%;height:100%;display:block}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:#0000}.maplibregl-ctrl-group button+button{border-top:1px solid buttontext}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}@media (hover:hover){.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}}.maplibregl-ctrl button:not(:disabled):active{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E\")}}.maplibregl-ctrl button.maplibregl-ctrl-globe .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23333' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-globe-enabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%2333b5e5' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='8.5'/%3E%3Cpath d='M17.5 11c0 4.819-3.02 8.5-6.5 8.5S4.5 15.819 4.5 11 7.52 2.5 11 2.5s6.5 3.681 6.5 8.5Z'/%3E%3Cpath d='M13.5 11c0 2.447-.331 4.64-.853 6.206-.262.785-.562 1.384-.872 1.777-.314.399-.58.517-.775.517s-.461-.118-.775-.517c-.31-.393-.61-.992-.872-1.777C8.831 15.64 8.5 13.446 8.5 11s.331-4.64.853-6.206c.262-.785.562-1.384.872-1.777.314-.399.58-.517.775-.517s.461.118.775.517c.31.393.61.992.872 1.777.522 1.565.853 3.76.853 6.206Z'/%3E%3Cpath d='M11 7.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138q.07-.058.224-.138c.299-.151.763-.302 1.379-.434C7.378 5.666 9.091 5.5 11 5.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138q-.07.058-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428ZM4.486 6.436ZM11 16.5c-1.909 0-3.622-.166-4.845-.428-.616-.132-1.08-.283-1.379-.434a1.3 1.3 0 0 1-.224-.138 1.3 1.3 0 0 1 .224-.138c.299-.151.763-.302 1.379-.434C7.378 14.666 9.091 14.5 11 14.5s3.622.166 4.845.428c.616.132 1.08.283 1.379.434.105.053.177.1.224.138a1.3 1.3 0 0 1-.224.138c-.299.151-.763.302-1.379.434-1.223.262-2.936.428-4.845.428Zm-6.514-1.064ZM11 12.5c-2.46 0-4.672-.222-6.255-.574-.796-.177-1.406-.38-1.805-.59a1.5 1.5 0 0 1-.39-.272.3.3 0 0 1-.047-.064.3.3 0 0 1 .048-.064c.066-.073.189-.167.389-.272.399-.21 1.009-.413 1.805-.59C6.328 9.722 8.54 9.5 11 9.5s4.672.222 6.256.574c.795.177 1.405.38 1.804.59.2.105.323.2.39.272a.3.3 0 0 1 .047.064.3.3 0 0 1-.048.064 1.4 1.4 0 0 1-.389.272c-.399.21-1.009.413-1.804.59-1.584.352-3.796.574-6.256.574Zm-8.501-1.51v.002zm0 .018v.002zm17.002.002v-.002zm0-.018v-.002z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:2s linear infinite maplibregl-spin}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E\")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{cursor:pointer;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\");background-repeat:no-repeat;width:88px;height:23px;margin:0 0 -4px -4px;display:block;overflow:hidden}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:#0000;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E\")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{box-sizing:content-box;color:#000;background-color:#fff;border-radius:12px;min-height:20px;margin:10px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{visibility:visible;padding:2px 28px 2px 8px}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{box-sizing:border-box;cursor:pointer;background-color:#ffffff80;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\");border:0;border-radius:12px;outline:none;width:24px;height:24px;display:none;position:absolute;top:0;right:0}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E\")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{box-sizing:border-box;color:#333;white-space:nowrap;background-color:#ffffffbf;border:2px solid #333;border-top:#333;padding:0 5px;font-size:10px}.maplibregl-popup{pointer-events:none;will-change:transform;display:flex;position:absolute;top:0;left:0}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{z-index:1;border:10px solid #0000;width:0;height:0}.maplibregl-popup-anchor-top .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;align-self:center}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{border-top:none;border-bottom-color:#fff;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;align-self:center}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-left:none;align-self:flex-start}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{border-top-color:#fff;border-bottom:none;border-right:none;align-self:flex-end}.maplibregl-popup-anchor-left .maplibregl-popup-tip{border-left:none;border-right-color:#fff;align-self:center}.maplibregl-popup-anchor-right .maplibregl-popup-tip{border-left-color:#fff;border-right:none;align-self:center}[dir=rtl] .maplibregl-popup-anchor-left{flex-direction:row-reverse}[dir=rtl] .maplibregl-popup-anchor-right{flex-direction:row}[dir=rtl] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-start}[dir=rtl] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-end}[dir=rtl] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-start}.maplibregl-popup-close-button{cursor:pointer;background-color:#0000;border:0;border-radius:0 3px 0 0;position:absolute;top:0;right:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{pointer-events:auto;background:#fff;border-radius:3px;padding:15px 10px;position:relative;box-shadow:0 1px 2px #0000001a}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{will-change:transform;transition:opacity .2s;position:absolute;top:0;left:0}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;width:15px;height:15px}.maplibregl-user-location-dot:before{content:\"\";animation:2s infinite maplibregl-user-location-dot-pulse;position:absolute}.maplibregl-user-location-dot:after{box-sizing:border-box;content:\"\";border:2px solid #fff;border-radius:50%;width:19px;height:19px;position:absolute;top:-2px;left:-2px;box-shadow:0 0 3px #00000059}@media (prefers-reduced-motion:reduce){.maplibregl-user-location-dot:before{animation:none}}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;width:1px;height:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{opacity:.5;background:#fff;border:2px dotted #202020;width:0;height:0;position:absolute;top:0;left:0}.maplibregl-cooperative-gesture-screen{color:#fff;opacity:0;pointer-events:none;z-index:99999;background:#0006;justify-content:center;align-items:center;padding:1rem;font-size:1.4em;line-height:1.2;transition:opacity 1s 1s;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity 50ms}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(pointer:coarse){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{z-index:99999;width:100%!important;height:100%!important;position:fixed!important;top:0!important;left:0!important}\n/*$vite$:1*/", "MaplibreAdapter.css", false);