@expofp/floorplan 3.9.0 → 3.10.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.
- package/dist/browser/{Button-D6kSs8oT.js → Button-CbNlJYq-.js} +5 -5
- package/dist/browser/{CookieConsent-COR-7PnR.js → CookieConsent-BVLqsKtm.js} +7 -7
- package/dist/browser/{Debug-hcVDK_6B.js → Debug-DniNgMUO.js} +7 -7
- package/dist/browser/{Demo-CXfqKcNa.js → Demo-BXOuVfdG.js} +9 -9
- package/dist/browser/{Free-UltUjcsW.js → Free-DbDrs1SH.js} +9 -9
- package/dist/browser/{Gallery-Dw_l4-HJ.js → Gallery-CK2yO-rS.js} +9 -9
- package/dist/browser/{GpsLoader-BeUr-tWe.js → GpsLoader-B5WB_xlb.js} +9 -9
- package/dist/browser/{KioskStore-rXGF6ISj.js → KioskStore-CzIrPa11.js} +3 -3
- package/dist/browser/{MaplibreAdapter-DBu4xFLx.js → MaplibreAdapter-CSa9XGJa.js} +921 -918
- package/dist/browser/{ModalContainer-CHubcxXg.js → ModalContainer-CduduGaw.js} +10 -10
- package/dist/browser/{PermissionNotice-Dcyf-h-X.js → PermissionNotice-B62dyKda.js} +6 -6
- package/dist/browser/{SetKioskMode-Dsaeb_7s.js → SetKioskMode-DvbL360U.js} +8 -8
- package/dist/browser/{ShowKiosk-B33TvvNh.js → ShowKiosk-CK47Q2V7.js} +10 -10
- package/dist/browser/{TouchHand-BglJHdqZ.js → TouchHand-BHu7qEu9.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-6hwMrGsD.js → ViewerMenuPanel-TTUNLqUt.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-CrjDiiDe.js → add-debug-secret-listener-DN1tIBbN.js} +1 -1
- package/dist/browser/{boolean-editor-B8TY5r_7.js → boolean-editor-CcJuEdkU.js} +9 -9
- package/dist/browser/{bootIntercom-BLVUFUo9.js → bootIntercom-DyEAiiah.js} +2 -2
- package/dist/browser/{browser-C0ZAqhfq.js → browser-Ctb0x-hW.js} +2 -2
- package/dist/browser/bundle.json +61 -61
- package/dist/browser/{classnames-CORO_J9N.js → classnames-CeriETl9.js} +2 -2
- package/dist/browser/{client-B8k3_zlK.js → client-hS_SUT9J.js} +4 -4
- package/dist/browser/{components-Br23UmiD.js → components-CcIkwnTn.js} +127 -126
- package/dist/browser/{createWayfinding-CywBuuhE.js → createWayfinding-D3oRCnRo.js} +6 -6
- package/dist/browser/{debug-overlay-OnJ9mpi3.js → debug-overlay-DBRVNju-.js} +10 -10
- package/dist/browser/{debug-ui-BGxXBqCM.js → debug-ui-Vy_hMYMs.js} +6 -6
- package/dist/browser/{dist-Bwo0bena.js → dist-Bimiy1i5.js} +5 -5
- package/dist/browser/{dist-DeenbCqa.js → dist-CyHdGr2I.js} +6 -6
- package/dist/browser/{dist-DJcDQ9wl.js → dist-D3O88lUU.js} +3 -3
- package/dist/browser/{efp-debug-init-D4xpSVxZ.js → efp-debug-init-C0HXaTIA.js} +2 -2
- package/dist/browser/{enum-editor-BtQ7q_B6.js → enum-editor-DkQTyshB.js} +11 -11
- package/dist/browser/{es5-DyYwMIHo.js → es5-BI29YLB7.js} +2 -2
- package/dist/browser/{event-not-found-DHZml9YG.js → event-not-found-C45GofSi.js} +1 -1
- package/dist/browser/{exports-BSvGPafo.js → exports-B2fVUjK8.js} +1 -1
- package/dist/browser/{favicon-7eGefoDS.js → favicon-CZB9txqZ.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D4q_0lN2.js → fetch-retry.umd-C_1YSqZv.js} +2 -2
- package/dist/browser/{flex-BNMB3s0s.js → flex-C4nAB--c.js} +5 -5
- package/dist/browser/{floorplan.loader-C464BfTl.js → floorplan.loader-D9ci7TWk.js} +11 -11
- package/dist/browser/{floorplan.ready-F-rEW40x.js → floorplan.ready-Cou1AYpA.js} +12 -12
- package/dist/browser/{fuse-BOOzXNLy.js → fuse-DLH3KYAO.js} +2 -2
- package/dist/browser/{i18n-CJxFIIru.js → i18n-C0K3C5Jv.js} +4 -4
- package/dist/browser/index.js +12 -12
- package/dist/browser/{index.module-CkT4oOvs.js → index.module-BMETmKP4.js} +4 -4
- package/dist/browser/{is-webview-B86RAuQv.js → is-webview-CxvtAxIZ.js} +1 -1
- package/dist/browser/{jsx-runtime-3_7049j-.js → jsx-runtime-B9nB58Uq.js} +2 -2
- package/dist/browser/{lib-CjZn5G8Q.js → lib-CcxG8Udi.js} +4 -4
- package/dist/browser/{loadImage-CV72jhce.js → loadImage-B-fxupzg.js} +4 -4
- package/dist/browser/{logDeviceInfo-CH_mwixN.js → logDeviceInfo-kZTVPeyv.js} +9 -9
- package/dist/browser/{main-DBcClnTP.js → main-B_62LzEM.js} +1 -1
- package/dist/browser/{mobx-Cnc_mxKS.js → mobx-CUQ-tbco.js} +4 -4
- package/dist/browser/{particles.min-Bdddyoyn.js → particles.min-Csuxu9yr.js} +2 -2
- package/dist/browser/{prop-types-D9saedjy.js → prop-types-B7Gun2Sn.js} +2 -2
- package/dist/browser/{react-CtAjLpE4.js → react-ZKXuYPAa.js} +2 -2
- package/dist/browser/{react-dom-9Z9grXEI.js → react-dom-D82ielqJ.js} +3 -3
- package/dist/browser/{reset-all-settings-D2rGLtD9.js → reset-all-settings-BwbmLw6_.js} +7 -7
- package/dist/browser/{rolldown-runtime-6HCGHF5o.js → rolldown-runtime-75nnKCA3.js} +1 -1
- package/dist/browser/{settings-r2jCygEX.js → settings-CfbArDtc.js} +2 -2
- package/dist/browser/{settings-item-CmuDoi0N.js → settings-item-R9UibMb5.js} +6 -6
- package/dist/browser/{store-hsXE5nII.js → store-DANngpFy.js} +12 -12
- package/dist/browser/{string-editor-UncyEsWj.js → string-editor-CURRcjvv.js} +7 -7
- package/dist/browser/{theme-DmuulesT.js → theme-Nw3wi1eA.js} +8 -8
- package/dist/browser/{ui-CBeseOX-.js → ui-CzHA_XVw.js} +8 -8
- package/dist/browser/{useRenderTarget-C5lcypnV.js → useRenderTarget-KMx97ZHc.js} +4 -4
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Maplibre/MaplibreAdapter.js +1 -1
- package/dist/esm/data/Flags.d.ts +8 -0
- package/package.json +4 -4
|
@@ -2,21 +2,21 @@ 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.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.10.0" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e85b4abd-8b71-4d89-aae2-dfc83a608ec4", e._sentryDebugIdIdentifier = "sentry-dbid-e85b4abd-8b71-4d89-aae2-dfc83a608ec4");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
import { r as e, t } from "./rolldown-runtime-
|
|
11
|
-
import { t as n } from "./react-
|
|
12
|
-
import { t as r } from "./jsx-runtime-
|
|
13
|
-
import { y as i } from "./i18n-
|
|
14
|
-
import { t as a } from "./index.module-
|
|
15
|
-
import { It as o, Kt as s, Sn as c, Vt as l, an as u, bn as d, bt as f,
|
|
16
|
-
import { r as
|
|
17
|
-
import { a as
|
|
10
|
+
import { r as e, t } from "./rolldown-runtime-75nnKCA3.js";
|
|
11
|
+
import { t as n } from "./react-ZKXuYPAa.js";
|
|
12
|
+
import { t as r } from "./jsx-runtime-B9nB58Uq.js";
|
|
13
|
+
import { y as i } from "./i18n-C0K3C5Jv.js";
|
|
14
|
+
import { t as a } from "./index.module-BMETmKP4.js";
|
|
15
|
+
import { It as o, Kt as s, Sn as c, Vt as l, an as u, bn as d, bt as f, cn as p, dn as m, fn as h, ln as g, mn as _, o as v, pn as y, rt as b, s as x, sn as S, st as C, t as w, wt as T } from "./store-DANngpFy.js";
|
|
16
|
+
import { r as E } from "./mobx-CUQ-tbco.js";
|
|
17
|
+
import { a as D, c as O, i as k, l as A, n as j, o as M, r as N, s as ee, t as P, u as te } from "./createWayfinding-D3oRCnRo.js";
|
|
18
18
|
//#region ../../node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl.css
|
|
19
|
-
var
|
|
19
|
+
var F = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(g(), 1), re = (/* @__PURE__ */ t(((e, t) => {
|
|
20
20
|
(function(n, r) {
|
|
21
21
|
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());
|
|
22
22
|
})(e, (function() {
|
|
@@ -315,58 +315,58 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
315
315
|
function M(e, t, n) {
|
|
316
316
|
return e * (1 - n) + t * n;
|
|
317
317
|
}
|
|
318
|
-
function
|
|
318
|
+
function N(e) {
|
|
319
319
|
if (e <= 0) return 0;
|
|
320
320
|
if (e >= 1) return 1;
|
|
321
321
|
let t = e * e, n = t * e;
|
|
322
322
|
return 4 * (e < .5 ? n : 3 * (e - t) + n - .75);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ee(e, t, n, r) {
|
|
325
325
|
let i = new o(e, t, n, r);
|
|
326
326
|
return (e) => i.solve(e);
|
|
327
327
|
}
|
|
328
|
-
let
|
|
329
|
-
function
|
|
328
|
+
let P = ee(.25, .1, .25, 1);
|
|
329
|
+
function te(e, t, n) {
|
|
330
330
|
return Math.min(n, Math.max(t, e));
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function F(e, t, n) {
|
|
333
333
|
let r = n - t, i = ((e - t) % r + r) % r + t;
|
|
334
334
|
return i === t ? n : i;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function ne(e, ...t) {
|
|
337
337
|
for (let n of t) for (let t in n) e[t] = n[t];
|
|
338
338
|
return e;
|
|
339
339
|
}
|
|
340
|
-
let
|
|
341
|
-
function
|
|
340
|
+
let re = 1;
|
|
341
|
+
function ie(e, t, n) {
|
|
342
342
|
let r = {};
|
|
343
343
|
for (let n in e) r[n] = t.call(this, e[n], n, e);
|
|
344
344
|
return r;
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function ae(e, t, n) {
|
|
347
347
|
let r = {};
|
|
348
348
|
for (let n in e) t.call(this, e[n], n, e) && (r[n] = e[n]);
|
|
349
349
|
return r;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
352
|
-
return Array.isArray(e) ? e.map(
|
|
351
|
+
function oe(e) {
|
|
352
|
+
return Array.isArray(e) ? e.map(oe) : typeof e == "object" && e ? ie(e, oe) : e;
|
|
353
353
|
}
|
|
354
|
-
let
|
|
355
|
-
function
|
|
356
|
-
|
|
354
|
+
let se = {};
|
|
355
|
+
function ce(e) {
|
|
356
|
+
se[e] || (typeof console < "u" && console.warn(e), se[e] = !0);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function le(e, t, n) {
|
|
359
359
|
return (n.y - e.y) * (t.x - e.x) > (t.y - e.y) * (n.x - e.x);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function ue(e) {
|
|
362
362
|
return typeof WorkerGlobalScope < "u" && e !== void 0 && e instanceof WorkerGlobalScope;
|
|
363
363
|
}
|
|
364
|
-
let
|
|
365
|
-
function
|
|
364
|
+
let de = null;
|
|
365
|
+
function fe(e) {
|
|
366
366
|
return typeof ImageBitmap < "u" && e instanceof ImageBitmap;
|
|
367
367
|
}
|
|
368
|
-
let
|
|
369
|
-
function
|
|
368
|
+
let pe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
|
|
369
|
+
function me(e, n, r, i, a) {
|
|
370
370
|
return t(this, void 0, void 0, (function* () {
|
|
371
371
|
if (typeof VideoFrame > "u") throw Error("VideoFrame not supported");
|
|
372
372
|
let t = new VideoFrame(e, { timestamp: 0 });
|
|
@@ -398,25 +398,25 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
398
398
|
}
|
|
399
399
|
}));
|
|
400
400
|
}
|
|
401
|
-
let
|
|
402
|
-
function
|
|
401
|
+
let he, ge;
|
|
402
|
+
function _e(e, t, n, r) {
|
|
403
403
|
return e.addEventListener(t, n, r), { unsubscribe: () => {
|
|
404
404
|
e.removeEventListener(t, n, r);
|
|
405
405
|
} };
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function ve(e) {
|
|
408
408
|
return e * Math.PI / 180;
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function ye(e) {
|
|
411
411
|
return e / Math.PI * 180;
|
|
412
412
|
}
|
|
413
|
-
let
|
|
413
|
+
let be = {
|
|
414
414
|
touchstart: !0,
|
|
415
415
|
touchmove: !0,
|
|
416
416
|
touchmoveWindow: !0,
|
|
417
417
|
touchend: !0,
|
|
418
418
|
touchcancel: !0
|
|
419
|
-
},
|
|
419
|
+
}, xe = {
|
|
420
420
|
dblclick: !0,
|
|
421
421
|
click: !0,
|
|
422
422
|
mouseover: !0,
|
|
@@ -428,55 +428,55 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
428
428
|
mouseupWindow: !0,
|
|
429
429
|
contextmenu: !0,
|
|
430
430
|
wheel: !0
|
|
431
|
-
},
|
|
432
|
-
class
|
|
433
|
-
constructor(e =
|
|
434
|
-
super(e instanceof Error ? e.message : e), this.name =
|
|
431
|
+
}, Se = "AbortError";
|
|
432
|
+
class Ce extends Error {
|
|
433
|
+
constructor(e = Se) {
|
|
434
|
+
super(e instanceof Error ? e.message : e), this.name = Se, e instanceof Error && e.stack && (this.stack = e.stack);
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
|
-
function
|
|
438
|
-
return e instanceof Error && e.name ===
|
|
437
|
+
function we(e) {
|
|
438
|
+
return e instanceof Error && e.name === Se;
|
|
439
439
|
}
|
|
440
|
-
function
|
|
441
|
-
if (e.aborted) throw new
|
|
440
|
+
function Te(e) {
|
|
441
|
+
if (e.aborted) throw new Ce(e.reason);
|
|
442
442
|
}
|
|
443
|
-
let
|
|
443
|
+
let Ee = {
|
|
444
444
|
MAX_PARALLEL_IMAGE_REQUESTS: 16,
|
|
445
445
|
MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: 8,
|
|
446
446
|
MAX_TILE_CACHE_ZOOM_LEVELS: 5,
|
|
447
447
|
REGISTERED_PROTOCOLS: {},
|
|
448
448
|
WORKER_URL: ""
|
|
449
449
|
};
|
|
450
|
-
function
|
|
451
|
-
return
|
|
450
|
+
function De(e) {
|
|
451
|
+
return Ee.REGISTERED_PROTOCOLS[e.substring(0, e.indexOf("://"))];
|
|
452
452
|
}
|
|
453
|
-
let
|
|
454
|
-
class
|
|
453
|
+
let Oe = "global-dispatcher";
|
|
454
|
+
class ke extends Error {
|
|
455
455
|
constructor(e, t, n, r) {
|
|
456
456
|
super(`AJAXError: ${t} (${e}): ${n}`), this.status = e, this.statusText = t, this.url = n, this.body = r;
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
let
|
|
459
|
+
let Ae = () => {
|
|
460
460
|
var e;
|
|
461
|
-
return
|
|
462
|
-
},
|
|
461
|
+
return ue(self) ? (e = self.worker) == null ? void 0 : e.referrer : (window.location.protocol === "blob:" ? window.parent : window).location.href;
|
|
462
|
+
}, je = function(e, n) {
|
|
463
463
|
return t(this, void 0, void 0, (function* () {
|
|
464
464
|
var r, i;
|
|
465
465
|
if (e.url.includes("://") && !/^https?:|^file:/.test(e.url)) {
|
|
466
|
-
let t =
|
|
466
|
+
let t = De(e.url);
|
|
467
467
|
if (t) {
|
|
468
468
|
let r = yield t(e, n);
|
|
469
|
-
return r.data || e.type !== "arrayBuffer" ? r :
|
|
469
|
+
return r.data || e.type !== "arrayBuffer" ? r : ne(r, { data: /* @__PURE__ */ new ArrayBuffer(0) });
|
|
470
470
|
}
|
|
471
|
-
if (
|
|
471
|
+
if (ue(self) && (r = self.worker) != null && r.actor) return self.worker.actor.sendAsync({
|
|
472
472
|
type: "GR",
|
|
473
473
|
data: e,
|
|
474
|
-
targetMapId:
|
|
474
|
+
targetMapId: Oe
|
|
475
475
|
}, n);
|
|
476
476
|
}
|
|
477
477
|
if (!((e) => {
|
|
478
478
|
var t;
|
|
479
|
-
return e.startsWith("file:") || ((t =
|
|
479
|
+
return e.startsWith("file:") || ((t = Ae()) == null ? void 0 : t.startsWith("file:")) && !/^\w+:/.test(e);
|
|
480
480
|
})(e.url)) {
|
|
481
481
|
if (fetch && Request && AbortController && Object.hasOwn(Request.prototype, "signal")) return function(e, n) {
|
|
482
482
|
return t(this, void 0, void 0, (function* () {
|
|
@@ -486,7 +486,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
486
486
|
credentials: e.credentials,
|
|
487
487
|
headers: e.headers,
|
|
488
488
|
cache: e.cache,
|
|
489
|
-
referrer:
|
|
489
|
+
referrer: Ae(),
|
|
490
490
|
referrerPolicy: e.referrerPolicy,
|
|
491
491
|
signal: n.signal
|
|
492
492
|
}), r, i;
|
|
@@ -494,15 +494,15 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
494
494
|
try {
|
|
495
495
|
r = yield fetch(t);
|
|
496
496
|
} catch (t) {
|
|
497
|
-
throw
|
|
497
|
+
throw we(t) ? t : new ke(0, A(t).message, e.url, new Blob());
|
|
498
498
|
}
|
|
499
499
|
if (!r.ok) {
|
|
500
500
|
let t = yield r.blob();
|
|
501
|
-
throw new
|
|
501
|
+
throw new ke(r.status, r.statusText, e.url, t);
|
|
502
502
|
}
|
|
503
503
|
i = e.type === "arrayBuffer" || e.type === "image" ? r.arrayBuffer() : e.type === "json" ? r.json() : r.text();
|
|
504
504
|
let a = yield i;
|
|
505
|
-
return
|
|
505
|
+
return Te(n.signal), {
|
|
506
506
|
data: a,
|
|
507
507
|
cacheControl: r.headers.get("Cache-Control"),
|
|
508
508
|
expires: r.headers.get("Expires"),
|
|
@@ -510,11 +510,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
510
510
|
};
|
|
511
511
|
}));
|
|
512
512
|
}(e, n);
|
|
513
|
-
if (
|
|
513
|
+
if (ue(self) && (i = self.worker) != null && i.actor) return self.worker.actor.sendAsync({
|
|
514
514
|
type: "GR",
|
|
515
515
|
data: e,
|
|
516
516
|
mustQueue: !0,
|
|
517
|
-
targetMapId:
|
|
517
|
+
targetMapId: Oe
|
|
518
518
|
}, n);
|
|
519
519
|
}
|
|
520
520
|
return function(e, t) {
|
|
@@ -542,65 +542,65 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
542
542
|
});
|
|
543
543
|
} else {
|
|
544
544
|
let t = new Blob([a.response], { type: a.getResponseHeader("Content-Type") });
|
|
545
|
-
r(new
|
|
545
|
+
r(new ke(a.status, a.statusText, e.url, t));
|
|
546
546
|
}
|
|
547
547
|
}, t.signal.addEventListener("abort", (() => {
|
|
548
|
-
a.abort(), r(new
|
|
548
|
+
a.abort(), r(new Ce(t.signal.reason));
|
|
549
549
|
})), a.send(e.body);
|
|
550
550
|
}));
|
|
551
551
|
}(e, n);
|
|
552
552
|
}));
|
|
553
553
|
};
|
|
554
|
-
function
|
|
554
|
+
function Me(e) {
|
|
555
555
|
if (!e || e.indexOf("://") <= 0 || e.startsWith("data:image/") || e.startsWith("blob:")) return !0;
|
|
556
556
|
let t = new URL(e), n = window.location;
|
|
557
557
|
return t.protocol === n.protocol && t.host === n.host;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Ne(e, t, n) {
|
|
560
560
|
var r;
|
|
561
561
|
(r = n[e]) != null && r.includes(t) || (n[e] || (n[e] = []), n[e].push(t));
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Pe(e, t, n) {
|
|
564
564
|
if (n != null && n[e]) {
|
|
565
565
|
let r = n[e].indexOf(t);
|
|
566
566
|
r !== -1 && n[e].splice(r, 1);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class Fe {
|
|
570
570
|
constructor(e, t = {}) {
|
|
571
|
-
|
|
571
|
+
ne(this, t), this.type = e;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
class
|
|
574
|
+
class Ie extends Fe {
|
|
575
575
|
constructor(e, t = {}) {
|
|
576
|
-
super("error",
|
|
576
|
+
super("error", ne({ error: e }, t));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
class
|
|
579
|
+
class Le {
|
|
580
580
|
on(e, t) {
|
|
581
|
-
return this._listeners || (this._listeners = {}),
|
|
581
|
+
return this._listeners || (this._listeners = {}), Ne(e, t, this._listeners), { unsubscribe: () => {
|
|
582
582
|
this.off(e, t);
|
|
583
583
|
} };
|
|
584
584
|
}
|
|
585
585
|
off(e, t) {
|
|
586
|
-
return
|
|
586
|
+
return Pe(e, t, this._listeners), Pe(e, t, this._oneTimeListeners), this;
|
|
587
587
|
}
|
|
588
588
|
once(e, t) {
|
|
589
|
-
return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}),
|
|
589
|
+
return t ? (this._oneTimeListeners || (this._oneTimeListeners = {}), Ne(e, t, this._oneTimeListeners), this) : new Promise(((t) => this.once(e, t)));
|
|
590
590
|
}
|
|
591
591
|
fire(e, t) {
|
|
592
592
|
var n, r;
|
|
593
|
-
typeof e == "string" && (e = new
|
|
593
|
+
typeof e == "string" && (e = new Fe(e, t || {}));
|
|
594
594
|
let i = e.type;
|
|
595
595
|
if (this.listens(i)) {
|
|
596
596
|
e.target = this;
|
|
597
597
|
let t = (n = this._listeners) != null && n[i] ? this._listeners[i].slice() : [];
|
|
598
598
|
for (let n of t) n.call(this, e);
|
|
599
599
|
let a = (r = this._oneTimeListeners) != null && r[i] ? this._oneTimeListeners[i].slice() : [];
|
|
600
|
-
for (let t of a)
|
|
600
|
+
for (let t of a) Pe(i, t, this._oneTimeListeners), t.call(this, e);
|
|
601
601
|
let o = this._eventedParent;
|
|
602
|
-
o && (
|
|
603
|
-
} else e instanceof
|
|
602
|
+
o && (ne(e, typeof this._eventedParentData == "function" ? this._eventedParentData() : this._eventedParentData), o.fire(e));
|
|
603
|
+
} else e instanceof Ie && console.error(e.error);
|
|
604
604
|
return this;
|
|
605
605
|
}
|
|
606
606
|
listens(e) {
|
|
@@ -611,7 +611,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
611
611
|
return this._eventedParent = e, this._eventedParentData = t, this;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
var
|
|
614
|
+
var I = {
|
|
615
615
|
$version: 8,
|
|
616
616
|
$root: {
|
|
617
617
|
version: {
|
|
@@ -3222,7 +3222,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
3222
3222
|
}
|
|
3223
3223
|
}
|
|
3224
3224
|
};
|
|
3225
|
-
let
|
|
3225
|
+
let Re = [
|
|
3226
3226
|
"type",
|
|
3227
3227
|
"source",
|
|
3228
3228
|
"source-layer",
|
|
@@ -3231,37 +3231,37 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
3231
3231
|
"filter",
|
|
3232
3232
|
"layout"
|
|
3233
3233
|
];
|
|
3234
|
-
function
|
|
3234
|
+
function ze(e, t) {
|
|
3235
3235
|
let n = {};
|
|
3236
3236
|
for (let t in e) t !== "ref" && (n[t] = e[t]);
|
|
3237
|
-
return
|
|
3237
|
+
return Re.forEach(((e) => {
|
|
3238
3238
|
e in t && (n[e] = t[e]);
|
|
3239
3239
|
})), n;
|
|
3240
3240
|
}
|
|
3241
|
-
function
|
|
3241
|
+
function R(e, t) {
|
|
3242
3242
|
if (Array.isArray(e)) {
|
|
3243
3243
|
if (!Array.isArray(t) || e.length !== t.length) return !1;
|
|
3244
|
-
for (let n = 0; n < e.length; n++) if (!
|
|
3244
|
+
for (let n = 0; n < e.length; n++) if (!R(e[n], t[n])) return !1;
|
|
3245
3245
|
return !0;
|
|
3246
3246
|
}
|
|
3247
3247
|
if (typeof e == "object" && e && t !== null) {
|
|
3248
3248
|
if (typeof t != "object" || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
3249
|
-
for (let n in e) if (!
|
|
3249
|
+
for (let n in e) if (!R(e[n], t[n])) return !1;
|
|
3250
3250
|
return !0;
|
|
3251
3251
|
}
|
|
3252
3252
|
return e === t;
|
|
3253
3253
|
}
|
|
3254
|
-
function
|
|
3254
|
+
function Be(e, t) {
|
|
3255
3255
|
e.push(t);
|
|
3256
3256
|
}
|
|
3257
3257
|
function Ve(e, t, n) {
|
|
3258
|
-
|
|
3258
|
+
Be(n, {
|
|
3259
3259
|
command: "addSource",
|
|
3260
3260
|
args: [e, t[e]]
|
|
3261
3261
|
});
|
|
3262
3262
|
}
|
|
3263
3263
|
function He(e, t, n) {
|
|
3264
|
-
|
|
3264
|
+
Be(t, {
|
|
3265
3265
|
command: "removeSource",
|
|
3266
3266
|
args: [e]
|
|
3267
3267
|
}), n[e] = !0;
|
|
@@ -3271,13 +3271,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
3271
3271
|
}
|
|
3272
3272
|
function We(e, t, n) {
|
|
3273
3273
|
let r;
|
|
3274
|
-
for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !
|
|
3275
|
-
for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !
|
|
3274
|
+
for (r in e[n]) if (Object.prototype.hasOwnProperty.call(e[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
|
|
3275
|
+
for (r in t[n]) if (Object.prototype.hasOwnProperty.call(t[n], r) && r !== "data" && !R(e[n][r], t[n][r])) return !1;
|
|
3276
3276
|
return !0;
|
|
3277
3277
|
}
|
|
3278
3278
|
function Ge(e, t, n, r, i, a) {
|
|
3279
3279
|
e = e || {}, t = t || {};
|
|
3280
|
-
for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (
|
|
3280
|
+
for (let o in e) Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
|
|
3281
3281
|
command: a,
|
|
3282
3282
|
args: [
|
|
3283
3283
|
r,
|
|
@@ -3286,7 +3286,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
3286
3286
|
i
|
|
3287
3287
|
]
|
|
3288
3288
|
}));
|
|
3289
|
-
for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (
|
|
3289
|
+
for (let o in t) Object.prototype.hasOwnProperty.call(t, o) && !Object.prototype.hasOwnProperty.call(e, o) && (R(e[o], t[o]) || n.push({
|
|
3290
3290
|
command: a,
|
|
3291
3291
|
args: [
|
|
3292
3292
|
r,
|
|
@@ -7154,7 +7154,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
7154
7154
|
}
|
|
7155
7155
|
function Ei(e) {
|
|
7156
7156
|
let t = "";
|
|
7157
|
-
for (let n of
|
|
7157
|
+
for (let n of Re) t += `/${Ti(e[n])}`;
|
|
7158
7158
|
return t;
|
|
7159
7159
|
}
|
|
7160
7160
|
function Di(e) {
|
|
@@ -7865,7 +7865,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
7865
7865
|
let t = e.value, n = e.key, r = Ui(e);
|
|
7866
7866
|
return r.length || (t.indexOf("{fontstack}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{fontstack}\" token")), t.indexOf("{range}") === -1 && r.push(new z(n, t, "\"glyphs\" url must include a \"{range}\" token"))), r;
|
|
7867
7867
|
}
|
|
7868
|
-
function ta(e, t =
|
|
7868
|
+
function ta(e, t = I) {
|
|
7869
7869
|
let n = [];
|
|
7870
7870
|
return n = n.concat($i({
|
|
7871
7871
|
key: "",
|
|
@@ -7929,10 +7929,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
7929
7929
|
return this._globalStateRefs;
|
|
7930
7930
|
}
|
|
7931
7931
|
}
|
|
7932
|
-
let sa =
|
|
7932
|
+
let sa = I, ca = ta, la = ca.light, ua = ca.sky, da = ca.paintProperty, fa = ca.layoutProperty;
|
|
7933
7933
|
function pa(e, t) {
|
|
7934
7934
|
let n = !1;
|
|
7935
|
-
if (t != null && t.length) for (let r of t) e.fire(new
|
|
7935
|
+
if (t != null && t.length) for (let r of t) e.fire(new Ie(Error(r.message))), n = !0;
|
|
7936
7936
|
return n;
|
|
7937
7937
|
}
|
|
7938
7938
|
class ma {
|
|
@@ -8030,7 +8030,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8030
8030
|
shallow: n.shallow || []
|
|
8031
8031
|
};
|
|
8032
8032
|
}
|
|
8033
|
-
X("Object", Object), X("Set", Set), X("TransferableGridIndex", ma), X("Color", W), X("Error", Error), X("AJAXError",
|
|
8033
|
+
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"] });
|
|
8034
8034
|
for (let e in Ir) Ir[e]._classRegistryKey || X(`Expression_${e}`, Ir[e]);
|
|
8035
8035
|
function ga(e) {
|
|
8036
8036
|
var t;
|
|
@@ -8044,10 +8044,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8044
8044
|
if (typeof e != "object" || !e) return !1;
|
|
8045
8045
|
let t = _a(e);
|
|
8046
8046
|
return t && t !== "Object";
|
|
8047
|
-
}(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) ||
|
|
8047
|
+
}(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) || fe(e) || ArrayBuffer.isView(e) || e instanceof ImageData);
|
|
8048
8048
|
}
|
|
8049
8049
|
function ya(e, t) {
|
|
8050
|
-
if (va(e)) return (ga(e) ||
|
|
8050
|
+
if (va(e)) return (ga(e) || fe(e)) && t && t.push(e), ArrayBuffer.isView(e) && t && t.push(e.buffer), e instanceof ImageData && t && t.push(e.data.buffer), e;
|
|
8051
8051
|
if (Array.isArray(e)) {
|
|
8052
8052
|
let n = [];
|
|
8053
8053
|
for (let r of e) n.push(ya(r, t));
|
|
@@ -8257,7 +8257,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8257
8257
|
this.property = e, this.value = new za(e, void 0, t);
|
|
8258
8258
|
}
|
|
8259
8259
|
transitioned(e, t) {
|
|
8260
|
-
return new Ha(this.property, this.value, t,
|
|
8260
|
+
return new Ha(this.property, this.value, t, ne({}, e.transition, this.transition), e.now);
|
|
8261
8261
|
}
|
|
8262
8262
|
untransitioned() {
|
|
8263
8263
|
return new Ha(this.property, this.value, null, {}, 0);
|
|
@@ -8271,16 +8271,16 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8271
8271
|
return e in this._properties.defaultTransitionablePropertyValues;
|
|
8272
8272
|
}
|
|
8273
8273
|
getValue(e) {
|
|
8274
|
-
return
|
|
8274
|
+
return oe(this._values[e].value.value);
|
|
8275
8275
|
}
|
|
8276
8276
|
setValue(e, t) {
|
|
8277
|
-
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 :
|
|
8277
|
+
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 : oe(t), this._globalState);
|
|
8278
8278
|
}
|
|
8279
8279
|
getTransition(e) {
|
|
8280
|
-
return
|
|
8280
|
+
return oe(this._values[e].transition);
|
|
8281
8281
|
}
|
|
8282
8282
|
setTransition(e, t) {
|
|
8283
|
-
Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition =
|
|
8283
|
+
Object.hasOwn(this._values, e) || (this._values[e] = new Ba(this._values[e].property, this._globalState)), this._values[e].transition = oe(t) || void 0;
|
|
8284
8284
|
}
|
|
8285
8285
|
serialize() {
|
|
8286
8286
|
let e = {};
|
|
@@ -8314,7 +8314,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8314
8314
|
if (r < this.begin) return a.possiblyEvaluate(e, t, n);
|
|
8315
8315
|
{
|
|
8316
8316
|
let o = (r - this.begin) / (this.end - this.begin);
|
|
8317
|
-
return this.property.interpolate(a.possiblyEvaluate(e, t, n), i,
|
|
8317
|
+
return this.property.interpolate(a.possiblyEvaluate(e, t, n), i, N(o));
|
|
8318
8318
|
}
|
|
8319
8319
|
}
|
|
8320
8320
|
return i;
|
|
@@ -8345,10 +8345,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8345
8345
|
return e in this._properties.defaultPropertyValues;
|
|
8346
8346
|
}
|
|
8347
8347
|
getValue(e) {
|
|
8348
|
-
return
|
|
8348
|
+
return oe(this._values[e].value);
|
|
8349
8349
|
}
|
|
8350
8350
|
setValue(e, t) {
|
|
8351
|
-
this._values[e] = new za(this._values[e].property, t === null ? void 0 :
|
|
8351
|
+
this._values[e] = new za(this._values[e].property, t === null ? void 0 : oe(t), this._globalState);
|
|
8352
8352
|
}
|
|
8353
8353
|
serialize() {
|
|
8354
8354
|
let e = {};
|
|
@@ -8521,7 +8521,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8521
8521
|
}
|
|
8522
8522
|
X("DataDrivenProperty", Q), X("DataConstantProperty", Z), X("CrossFadedDataDrivenProperty", qa), X("CrossFadedProperty", Ja), X("ColorRampProperty", Ya);
|
|
8523
8523
|
let Za = " is a PAINT property not a LAYOUT property. Use get/setPaintProperty instead?", Qa = " is a LAYOUT property not a PAINT property. Use get/setLayoutProperty instead?";
|
|
8524
|
-
class $a extends
|
|
8524
|
+
class $a extends Le {
|
|
8525
8525
|
constructor(e, t, n) {
|
|
8526
8526
|
if (super(), this.id = e.id, this.type = e.type, this._globalState = n, this._featureFilter = {
|
|
8527
8527
|
filter: () => !0,
|
|
@@ -8580,7 +8580,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8580
8580
|
setLayoutProperty(e, t, n = {}) {
|
|
8581
8581
|
var r;
|
|
8582
8582
|
if (e === "visibility") return this.visibility = t, this._visibilityExpression.setValue(t), void this.recalculateVisibility();
|
|
8583
|
-
(r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new
|
|
8583
|
+
(r = this._transitionablePaint) != null && r.hasProperty(e) ? this.fire(new Ie(/* @__PURE__ */ Error(e + Za))) : t != null && this._validate(fa, `layers.${this.id}.layout.${e}`, e, t, n) || this._unevaluatedLayout.setValue(e, t);
|
|
8584
8584
|
}
|
|
8585
8585
|
getPaintProperty(e) {
|
|
8586
8586
|
var t, n;
|
|
@@ -8594,7 +8594,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8594
8594
|
}
|
|
8595
8595
|
setPaintProperty(e, t, n = {}) {
|
|
8596
8596
|
var r;
|
|
8597
|
-
if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new
|
|
8597
|
+
if (e === "visibility" || (r = this._unevaluatedLayout) != null && r.hasProperty(e)) return this.fire(new Ie(/* @__PURE__ */ Error(e + Qa))), !1;
|
|
8598
8598
|
if (t != null && this._validate(da, `layers.${this.id}.paint.${e}`, e, t, n)) return !1;
|
|
8599
8599
|
if (e.endsWith(Ra)) return this._transitionablePaint.setTransition(e.slice(0, -11), t || void 0), !1;
|
|
8600
8600
|
{
|
|
@@ -8637,7 +8637,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8637
8637
|
layout: (e = this._unevaluatedLayout) == null ? void 0 : e.serialize(),
|
|
8638
8638
|
paint: (t = this._transitionablePaint) == null ? void 0 : t.serialize()
|
|
8639
8639
|
};
|
|
8640
|
-
return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility),
|
|
8640
|
+
return this.visibility && (n.layout || (n.layout = {}), n.layout.visibility = this.visibility), ae(n, ((e, t) => !(e === void 0 || t === "layout" && !Object.keys(e).length || t === "paint" && !Object.keys(e).length)));
|
|
8641
8641
|
}
|
|
8642
8642
|
_validate(e, t, n, r, i = {}) {
|
|
8643
8643
|
return !1 !== (i == null ? void 0 : i.validate) && pa(this, e.call(ca, {
|
|
@@ -8645,7 +8645,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8645
8645
|
layerType: this.type,
|
|
8646
8646
|
objectKey: n,
|
|
8647
8647
|
value: r,
|
|
8648
|
-
styleSpec:
|
|
8648
|
+
styleSpec: I,
|
|
8649
8649
|
style: {
|
|
8650
8650
|
glyphs: !0,
|
|
8651
8651
|
sprite: !0
|
|
@@ -8673,15 +8673,15 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
8673
8673
|
let eo;
|
|
8674
8674
|
var to = { get paint() {
|
|
8675
8675
|
return eo = eo || new Xa({
|
|
8676
|
-
"raster-opacity": new Z(
|
|
8677
|
-
"raster-hue-rotate": new Z(
|
|
8678
|
-
"raster-brightness-min": new Z(
|
|
8679
|
-
"raster-brightness-max": new Z(
|
|
8680
|
-
"raster-saturation": new Z(
|
|
8681
|
-
"raster-contrast": new Z(
|
|
8682
|
-
resampling: new Z(
|
|
8683
|
-
"raster-resampling": new Z(
|
|
8684
|
-
"raster-fade-duration": new Z(
|
|
8676
|
+
"raster-opacity": new Z(I.paint_raster["raster-opacity"]),
|
|
8677
|
+
"raster-hue-rotate": new Z(I.paint_raster["raster-hue-rotate"]),
|
|
8678
|
+
"raster-brightness-min": new Z(I.paint_raster["raster-brightness-min"]),
|
|
8679
|
+
"raster-brightness-max": new Z(I.paint_raster["raster-brightness-max"]),
|
|
8680
|
+
"raster-saturation": new Z(I.paint_raster["raster-saturation"]),
|
|
8681
|
+
"raster-contrast": new Z(I.paint_raster["raster-contrast"]),
|
|
8682
|
+
resampling: new Z(I.paint_raster.resampling),
|
|
8683
|
+
"raster-resampling": new Z(I.paint_raster["raster-resampling"]),
|
|
8684
|
+
"raster-fade-duration": new Z(I.paint_raster["raster-fade-duration"])
|
|
8685
8685
|
});
|
|
8686
8686
|
} };
|
|
8687
8687
|
class no extends $a {
|
|
@@ -9376,7 +9376,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
9376
9376
|
}
|
|
9377
9377
|
prepareSegment(e, t, n, r) {
|
|
9378
9378
|
let i = this.segments[this.segments.length - 1];
|
|
9379
|
-
return e > ss.MAX_VERTEX_ARRAY_LENGTH &&
|
|
9379
|
+
return e > ss.MAX_VERTEX_ARRAY_LENGTH && ce(`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;
|
|
9380
9380
|
}
|
|
9381
9381
|
createNewSegment(e, t, n) {
|
|
9382
9382
|
let r = {
|
|
@@ -9412,7 +9412,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
9412
9412
|
}
|
|
9413
9413
|
}
|
|
9414
9414
|
function cs(e, t) {
|
|
9415
|
-
return 256 * (e =
|
|
9415
|
+
return 256 * (e = te(Math.floor(e), 0, 255)) + te(Math.floor(t), 0, 255);
|
|
9416
9416
|
}
|
|
9417
9417
|
ss.MAX_VERTEX_ARRAY_LENGTH = 2 ** 16 - 1, X("SegmentVector", ss);
|
|
9418
9418
|
let ls = oo([
|
|
@@ -9672,7 +9672,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
9672
9672
|
this.paintVertexBuffer && this.paintVertexBuffer.destroy();
|
|
9673
9673
|
}
|
|
9674
9674
|
setUniform(e, t) {
|
|
9675
|
-
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r =
|
|
9675
|
+
let n = this.useIntegerZoom ? Math.floor(t.zoom) : t.zoom, r = te(this.expression.interpolationFactor(n, this.zoom, this.zoom + 1), 0, 1);
|
|
9676
9676
|
e.set(r);
|
|
9677
9677
|
}
|
|
9678
9678
|
getBinding(e, t, n) {
|
|
@@ -9966,7 +9966,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
9966
9966
|
let t = O / e.extent, n = e.loadGeometry();
|
|
9967
9967
|
for (let e of n) for (let n of e) {
|
|
9968
9968
|
let e = Math.round(n.x * t), r = Math.round(n.y * t);
|
|
9969
|
-
n.x =
|
|
9969
|
+
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) && ce("Geometry exceeds allowed extent, reduce your vector tile buffer size");
|
|
9970
9970
|
}
|
|
9971
9971
|
return n;
|
|
9972
9972
|
}
|
|
@@ -10117,7 +10117,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10117
10117
|
return !1;
|
|
10118
10118
|
}
|
|
10119
10119
|
function Zs(e, t, n, r) {
|
|
10120
|
-
return
|
|
10120
|
+
return le(e, n, r) !== le(t, n, r) && le(e, t, n) !== le(e, t, r);
|
|
10121
10121
|
}
|
|
10122
10122
|
function Qs(e, t, n) {
|
|
10123
10123
|
let r = n * n;
|
|
@@ -10150,8 +10150,8 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10150
10150
|
function nc(e, t, n) {
|
|
10151
10151
|
let r = n[0], i = n[2];
|
|
10152
10152
|
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;
|
|
10153
|
-
let a =
|
|
10154
|
-
return a !==
|
|
10153
|
+
let a = le(e, t, n[0]);
|
|
10154
|
+
return a !== le(e, t, n[1]) || a !== le(e, t, n[2]) || a !== le(e, t, n[3]);
|
|
10155
10155
|
}
|
|
10156
10156
|
function rc(e, t, n) {
|
|
10157
10157
|
let r = t.paint.get(e).value;
|
|
@@ -10209,21 +10209,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10209
10209
|
var hc = {
|
|
10210
10210
|
get paint() {
|
|
10211
10211
|
return mc = mc || new Xa({
|
|
10212
|
-
"circle-radius": new Q(
|
|
10213
|
-
"circle-color": new Q(
|
|
10214
|
-
"circle-blur": new Q(
|
|
10215
|
-
"circle-opacity": new Q(
|
|
10216
|
-
"circle-translate": new Z(
|
|
10217
|
-
"circle-translate-anchor": new Z(
|
|
10218
|
-
"circle-pitch-scale": new Z(
|
|
10219
|
-
"circle-pitch-alignment": new Z(
|
|
10220
|
-
"circle-stroke-width": new Q(
|
|
10221
|
-
"circle-stroke-color": new Q(
|
|
10222
|
-
"circle-stroke-opacity": new Q(
|
|
10212
|
+
"circle-radius": new Q(I.paint_circle["circle-radius"]),
|
|
10213
|
+
"circle-color": new Q(I.paint_circle["circle-color"]),
|
|
10214
|
+
"circle-blur": new Q(I.paint_circle["circle-blur"]),
|
|
10215
|
+
"circle-opacity": new Q(I.paint_circle["circle-opacity"]),
|
|
10216
|
+
"circle-translate": new Z(I.paint_circle["circle-translate"]),
|
|
10217
|
+
"circle-translate-anchor": new Z(I.paint_circle["circle-translate-anchor"]),
|
|
10218
|
+
"circle-pitch-scale": new Z(I.paint_circle["circle-pitch-scale"]),
|
|
10219
|
+
"circle-pitch-alignment": new Z(I.paint_circle["circle-pitch-alignment"]),
|
|
10220
|
+
"circle-stroke-width": new Q(I.paint_circle["circle-stroke-width"]),
|
|
10221
|
+
"circle-stroke-color": new Q(I.paint_circle["circle-stroke-color"]),
|
|
10222
|
+
"circle-stroke-opacity": new Q(I.paint_circle["circle-stroke-opacity"])
|
|
10223
10223
|
});
|
|
10224
10224
|
},
|
|
10225
10225
|
get layout() {
|
|
10226
|
-
return pc = pc || new Xa({ "circle-sort-key": new Q(
|
|
10226
|
+
return pc = pc || new Xa({ "circle-sort-key": new Q(I.layout_circle["circle-sort-key"]) });
|
|
10227
10227
|
}
|
|
10228
10228
|
};
|
|
10229
10229
|
class gc extends $a {
|
|
@@ -10257,11 +10257,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10257
10257
|
X("HeatmapBucket", _c, { omit: ["layers"] });
|
|
10258
10258
|
var yc = { get paint() {
|
|
10259
10259
|
return vc = vc || new Xa({
|
|
10260
|
-
"heatmap-radius": new Q(
|
|
10261
|
-
"heatmap-weight": new Q(
|
|
10262
|
-
"heatmap-intensity": new Z(
|
|
10263
|
-
"heatmap-color": new Ya(
|
|
10264
|
-
"heatmap-opacity": new Z(
|
|
10260
|
+
"heatmap-radius": new Q(I.paint_heatmap["heatmap-radius"]),
|
|
10261
|
+
"heatmap-weight": new Q(I.paint_heatmap["heatmap-weight"]),
|
|
10262
|
+
"heatmap-intensity": new Z(I.paint_heatmap["heatmap-intensity"]),
|
|
10263
|
+
"heatmap-color": new Ya(I.paint_heatmap["heatmap-color"]),
|
|
10264
|
+
"heatmap-opacity": new Z(I.paint_heatmap["heatmap-opacity"])
|
|
10265
10265
|
});
|
|
10266
10266
|
} };
|
|
10267
10267
|
function bc(e, { width: t, height: n }, r, i) {
|
|
@@ -10408,15 +10408,15 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10408
10408
|
let kc;
|
|
10409
10409
|
var Ac = { get paint() {
|
|
10410
10410
|
return kc = kc || new Xa({
|
|
10411
|
-
"hillshade-illumination-direction": new Z(
|
|
10412
|
-
"hillshade-illumination-altitude": new Z(
|
|
10413
|
-
"hillshade-illumination-anchor": new Z(
|
|
10414
|
-
"hillshade-exaggeration": new Z(
|
|
10415
|
-
"hillshade-shadow-color": new Z(
|
|
10416
|
-
"hillshade-highlight-color": new Z(
|
|
10417
|
-
"hillshade-accent-color": new Z(
|
|
10418
|
-
"hillshade-method": new Z(
|
|
10419
|
-
resampling: new Z(
|
|
10411
|
+
"hillshade-illumination-direction": new Z(I.paint_hillshade["hillshade-illumination-direction"]),
|
|
10412
|
+
"hillshade-illumination-altitude": new Z(I.paint_hillshade["hillshade-illumination-altitude"]),
|
|
10413
|
+
"hillshade-illumination-anchor": new Z(I.paint_hillshade["hillshade-illumination-anchor"]),
|
|
10414
|
+
"hillshade-exaggeration": new Z(I.paint_hillshade["hillshade-exaggeration"]),
|
|
10415
|
+
"hillshade-shadow-color": new Z(I.paint_hillshade["hillshade-shadow-color"]),
|
|
10416
|
+
"hillshade-highlight-color": new Z(I.paint_hillshade["hillshade-highlight-color"]),
|
|
10417
|
+
"hillshade-accent-color": new Z(I.paint_hillshade["hillshade-accent-color"]),
|
|
10418
|
+
"hillshade-method": new Z(I.paint_hillshade["hillshade-method"]),
|
|
10419
|
+
resampling: new Z(I.paint_hillshade.resampling)
|
|
10420
10420
|
});
|
|
10421
10421
|
} };
|
|
10422
10422
|
class jc extends $a {
|
|
@@ -10429,9 +10429,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10429
10429
|
getIlluminationProperties() {
|
|
10430
10430
|
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);
|
|
10431
10431
|
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)));
|
|
10432
|
-
let a = t.map(
|
|
10432
|
+
let a = t.map(ve);
|
|
10433
10433
|
return {
|
|
10434
|
-
directionRadians: e.map(
|
|
10434
|
+
directionRadians: e.map(ve),
|
|
10435
10435
|
altitudeRadians: a,
|
|
10436
10436
|
shadowColor: r,
|
|
10437
10437
|
highlightColor: n
|
|
@@ -10444,9 +10444,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10444
10444
|
let Mc;
|
|
10445
10445
|
var Nc = { get paint() {
|
|
10446
10446
|
return Mc = Mc || new Xa({
|
|
10447
|
-
"color-relief-opacity": new Z(
|
|
10448
|
-
"color-relief-color": new Ya(
|
|
10449
|
-
resampling: new Z(
|
|
10447
|
+
"color-relief-opacity": new Z(I["paint_color-relief"]["color-relief-opacity"]),
|
|
10448
|
+
"color-relief-color": new Ya(I["paint_color-relief"]["color-relief-color"]),
|
|
10449
|
+
resampling: new Z(I["paint_color-relief"].resampling)
|
|
10450
10450
|
});
|
|
10451
10451
|
} };
|
|
10452
10452
|
function Pc(e) {
|
|
@@ -10504,7 +10504,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10504
10504
|
"mapbox",
|
|
10505
10505
|
"terrarium",
|
|
10506
10506
|
"custom"
|
|
10507
|
-
].includes(n)) return void
|
|
10507
|
+
].includes(n)) return void ce(`"${n}" is not a valid encoding type. Valid types include "mapbox", "terrarium" and "custom".`);
|
|
10508
10508
|
this.stride = t.height;
|
|
10509
10509
|
let s = this.dim = t.height - 2;
|
|
10510
10510
|
switch (this.data = new Uint32Array(t.data.buffer), n) {
|
|
@@ -10600,7 +10600,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
10600
10600
|
colorStops: []
|
|
10601
10601
|
}, i = (t.elevationStops.length - 1) / (e - 1);
|
|
10602
10602
|
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)]);
|
|
10603
|
-
return
|
|
10603
|
+
return ce(`Too many colors in specification of ${this.id} color-relief layer, may not render properly. Max possible colors: ${e}, provided: ${t.elevationStops.length}`), r;
|
|
10604
10604
|
}
|
|
10605
10605
|
_colorRampChanged() {
|
|
10606
10606
|
return this.colorRampExpression != this._transitionablePaint._values["color-relief-color"].value.expression;
|
|
@@ -11247,17 +11247,17 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
11247
11247
|
var El = {
|
|
11248
11248
|
get paint() {
|
|
11249
11249
|
return Tl = Tl || new Xa({
|
|
11250
|
-
"fill-antialias": new Z(
|
|
11251
|
-
"fill-opacity": new Q(
|
|
11252
|
-
"fill-color": new Q(
|
|
11253
|
-
"fill-outline-color": new Q(
|
|
11254
|
-
"fill-translate": new Z(
|
|
11255
|
-
"fill-translate-anchor": new Z(
|
|
11256
|
-
"fill-pattern": new qa(
|
|
11250
|
+
"fill-antialias": new Z(I.paint_fill["fill-antialias"]),
|
|
11251
|
+
"fill-opacity": new Q(I.paint_fill["fill-opacity"]),
|
|
11252
|
+
"fill-color": new Q(I.paint_fill["fill-color"]),
|
|
11253
|
+
"fill-outline-color": new Q(I.paint_fill["fill-outline-color"]),
|
|
11254
|
+
"fill-translate": new Z(I.paint_fill["fill-translate"]),
|
|
11255
|
+
"fill-translate-anchor": new Z(I.paint_fill["fill-translate-anchor"]),
|
|
11256
|
+
"fill-pattern": new qa(I.paint_fill["fill-pattern"])
|
|
11257
11257
|
});
|
|
11258
11258
|
},
|
|
11259
11259
|
get layout() {
|
|
11260
|
-
return wl = wl || new Xa({ "fill-sort-key": new Q(
|
|
11260
|
+
return wl = wl || new Xa({ "fill-sort-key": new Q(I.layout_fill["fill-sort-key"]) });
|
|
11261
11261
|
}
|
|
11262
11262
|
};
|
|
11263
11263
|
class Dl extends $a {
|
|
@@ -11555,14 +11555,14 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
11555
11555
|
X("FillExtrusionBucket", Vl, { omit: ["layers", "features"] });
|
|
11556
11556
|
var Kl = { get paint() {
|
|
11557
11557
|
return Gl = Gl || new Xa({
|
|
11558
|
-
"fill-extrusion-opacity": new Z(
|
|
11559
|
-
"fill-extrusion-color": new Q(
|
|
11560
|
-
"fill-extrusion-translate": new Z(
|
|
11561
|
-
"fill-extrusion-translate-anchor": new Z(
|
|
11562
|
-
"fill-extrusion-pattern": new qa(
|
|
11563
|
-
"fill-extrusion-height": new Q(
|
|
11564
|
-
"fill-extrusion-base": new Q(
|
|
11565
|
-
"fill-extrusion-vertical-gradient": new Z(
|
|
11558
|
+
"fill-extrusion-opacity": new Z(I["paint_fill-extrusion"]["fill-extrusion-opacity"]),
|
|
11559
|
+
"fill-extrusion-color": new Q(I["paint_fill-extrusion"]["fill-extrusion-color"]),
|
|
11560
|
+
"fill-extrusion-translate": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate"]),
|
|
11561
|
+
"fill-extrusion-translate-anchor": new Z(I["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),
|
|
11562
|
+
"fill-extrusion-pattern": new qa(I["paint_fill-extrusion"]["fill-extrusion-pattern"]),
|
|
11563
|
+
"fill-extrusion-height": new Q(I["paint_fill-extrusion"]["fill-extrusion-height"]),
|
|
11564
|
+
"fill-extrusion-base": new Q(I["paint_fill-extrusion"]["fill-extrusion-base"]),
|
|
11565
|
+
"fill-extrusion-vertical-gradient": new Z(I["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])
|
|
11566
11566
|
});
|
|
11567
11567
|
} };
|
|
11568
11568
|
class ql extends $a {
|
|
@@ -12810,26 +12810,26 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
12810
12810
|
var ld = {
|
|
12811
12811
|
get paint() {
|
|
12812
12812
|
return cd = cd || new Xa({
|
|
12813
|
-
"line-opacity": new Q(
|
|
12814
|
-
"line-color": new Q(
|
|
12815
|
-
"line-translate": new Z(
|
|
12816
|
-
"line-translate-anchor": new Z(
|
|
12817
|
-
"line-width": new Q(
|
|
12818
|
-
"line-gap-width": new Q(
|
|
12819
|
-
"line-offset": new Q(
|
|
12820
|
-
"line-blur": new Q(
|
|
12821
|
-
"line-dasharray": new qa(
|
|
12822
|
-
"line-pattern": new qa(
|
|
12823
|
-
"line-gradient": new Ya(
|
|
12813
|
+
"line-opacity": new Q(I.paint_line["line-opacity"]),
|
|
12814
|
+
"line-color": new Q(I.paint_line["line-color"]),
|
|
12815
|
+
"line-translate": new Z(I.paint_line["line-translate"]),
|
|
12816
|
+
"line-translate-anchor": new Z(I.paint_line["line-translate-anchor"]),
|
|
12817
|
+
"line-width": new Q(I.paint_line["line-width"]),
|
|
12818
|
+
"line-gap-width": new Q(I.paint_line["line-gap-width"]),
|
|
12819
|
+
"line-offset": new Q(I.paint_line["line-offset"]),
|
|
12820
|
+
"line-blur": new Q(I.paint_line["line-blur"]),
|
|
12821
|
+
"line-dasharray": new qa(I.paint_line["line-dasharray"]),
|
|
12822
|
+
"line-pattern": new qa(I.paint_line["line-pattern"]),
|
|
12823
|
+
"line-gradient": new Ya(I.paint_line["line-gradient"])
|
|
12824
12824
|
});
|
|
12825
12825
|
},
|
|
12826
12826
|
get layout() {
|
|
12827
12827
|
return sd = sd || new Xa({
|
|
12828
|
-
"line-cap": new Q(
|
|
12829
|
-
"line-join": new Q(
|
|
12830
|
-
"line-miter-limit": new Q(
|
|
12831
|
-
"line-round-limit": new Q(
|
|
12832
|
-
"line-sort-key": new Q(
|
|
12828
|
+
"line-cap": new Q(I.layout_line["line-cap"]),
|
|
12829
|
+
"line-join": new Q(I.layout_line["line-join"]),
|
|
12830
|
+
"line-miter-limit": new Q(I.layout_line["line-miter-limit"]),
|
|
12831
|
+
"line-round-limit": new Q(I.layout_line["line-round-limit"]),
|
|
12832
|
+
"line-sort-key": new Q(I.layout_line["line-sort-key"])
|
|
12833
12833
|
});
|
|
12834
12834
|
}
|
|
12835
12835
|
};
|
|
@@ -12843,7 +12843,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
12843
12843
|
}), super.possiblyEvaluate(e, t);
|
|
12844
12844
|
}
|
|
12845
12845
|
evaluate(e, t, n, r) {
|
|
12846
|
-
return t =
|
|
12846
|
+
return t = ne({}, t, { zoom: Math.floor(t.zoom) }), super.evaluate(e, t, n, r);
|
|
12847
12847
|
}
|
|
12848
12848
|
}
|
|
12849
12849
|
let dd;
|
|
@@ -13449,13 +13449,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
13449
13449
|
}
|
|
13450
13450
|
addImageSection(e) {
|
|
13451
13451
|
let t = e.image ? e.image.name : "";
|
|
13452
|
-
if (t.length === 0) return void
|
|
13452
|
+
if (t.length === 0) return void ce("Can't add FormattedSection with an empty image.");
|
|
13453
13453
|
let n = this.getNextImageSectionCharCode();
|
|
13454
13454
|
n ? (this.text += String.fromCharCode(n), this.sections.push({
|
|
13455
13455
|
scale: 1,
|
|
13456
13456
|
verticalAlign: e.verticalAlign || "bottom",
|
|
13457
13457
|
imageName: t
|
|
13458
|
-
}), this.sectionIndex.push(this.sections.length - 1)) :
|
|
13458
|
+
}), this.sectionIndex.push(this.sections.length - 1)) : ce("Reached maximum number of images 6401");
|
|
13459
13459
|
}
|
|
13460
13460
|
getNextImageSectionCharCode() {
|
|
13461
13461
|
return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
|
|
@@ -14574,72 +14574,72 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
14574
14574
|
var Cf = {
|
|
14575
14575
|
get paint() {
|
|
14576
14576
|
return Sf = Sf || new Xa({
|
|
14577
|
-
"icon-opacity": new Q(
|
|
14578
|
-
"icon-color": new Q(
|
|
14579
|
-
"icon-halo-color": new Q(
|
|
14580
|
-
"icon-halo-width": new Q(
|
|
14581
|
-
"icon-halo-blur": new Q(
|
|
14582
|
-
"icon-translate": new Z(
|
|
14583
|
-
"icon-translate-anchor": new Z(
|
|
14584
|
-
"text-opacity": new Q(
|
|
14585
|
-
"text-color": new Q(
|
|
14577
|
+
"icon-opacity": new Q(I.paint_symbol["icon-opacity"]),
|
|
14578
|
+
"icon-color": new Q(I.paint_symbol["icon-color"]),
|
|
14579
|
+
"icon-halo-color": new Q(I.paint_symbol["icon-halo-color"]),
|
|
14580
|
+
"icon-halo-width": new Q(I.paint_symbol["icon-halo-width"]),
|
|
14581
|
+
"icon-halo-blur": new Q(I.paint_symbol["icon-halo-blur"]),
|
|
14582
|
+
"icon-translate": new Z(I.paint_symbol["icon-translate"]),
|
|
14583
|
+
"icon-translate-anchor": new Z(I.paint_symbol["icon-translate-anchor"]),
|
|
14584
|
+
"text-opacity": new Q(I.paint_symbol["text-opacity"]),
|
|
14585
|
+
"text-color": new Q(I.paint_symbol["text-color"], {
|
|
14586
14586
|
runtimeType: Qe,
|
|
14587
14587
|
getOverride: (e) => e.textColor,
|
|
14588
14588
|
hasOverride: (e) => !!e.textColor
|
|
14589
14589
|
}),
|
|
14590
|
-
"text-halo-color": new Q(
|
|
14591
|
-
"text-halo-width": new Q(
|
|
14592
|
-
"text-halo-blur": new Q(
|
|
14593
|
-
"text-translate": new Z(
|
|
14594
|
-
"text-translate-anchor": new Z(
|
|
14590
|
+
"text-halo-color": new Q(I.paint_symbol["text-halo-color"]),
|
|
14591
|
+
"text-halo-width": new Q(I.paint_symbol["text-halo-width"]),
|
|
14592
|
+
"text-halo-blur": new Q(I.paint_symbol["text-halo-blur"]),
|
|
14593
|
+
"text-translate": new Z(I.paint_symbol["text-translate"]),
|
|
14594
|
+
"text-translate-anchor": new Z(I.paint_symbol["text-translate-anchor"])
|
|
14595
14595
|
});
|
|
14596
14596
|
},
|
|
14597
14597
|
get layout() {
|
|
14598
14598
|
return xf = xf || new Xa({
|
|
14599
|
-
"symbol-placement": new Z(
|
|
14600
|
-
"symbol-spacing": new Z(
|
|
14601
|
-
"symbol-avoid-edges": new Z(
|
|
14602
|
-
"symbol-sort-key": new Q(
|
|
14603
|
-
"symbol-z-order": new Z(
|
|
14604
|
-
"icon-allow-overlap": new Z(
|
|
14605
|
-
"icon-overlap": new Z(
|
|
14606
|
-
"icon-ignore-placement": new Z(
|
|
14607
|
-
"icon-optional": new Z(
|
|
14608
|
-
"icon-rotation-alignment": new Z(
|
|
14609
|
-
"icon-size": new Q(
|
|
14610
|
-
"icon-text-fit": new Z(
|
|
14611
|
-
"icon-text-fit-padding": new Z(
|
|
14612
|
-
"icon-image": new Q(
|
|
14613
|
-
"icon-rotate": new Q(
|
|
14614
|
-
"icon-padding": new Q(
|
|
14615
|
-
"icon-keep-upright": new Z(
|
|
14616
|
-
"icon-offset": new Q(
|
|
14617
|
-
"icon-anchor": new Q(
|
|
14618
|
-
"icon-pitch-alignment": new Z(
|
|
14619
|
-
"text-pitch-alignment": new Z(
|
|
14620
|
-
"text-rotation-alignment": new Z(
|
|
14621
|
-
"text-field": new Q(
|
|
14622
|
-
"text-font": new Q(
|
|
14623
|
-
"text-size": new Q(
|
|
14624
|
-
"text-max-width": new Q(
|
|
14625
|
-
"text-line-height": new Z(
|
|
14626
|
-
"text-letter-spacing": new Q(
|
|
14627
|
-
"text-justify": new Q(
|
|
14628
|
-
"text-radial-offset": new Q(
|
|
14629
|
-
"text-variable-anchor": new Z(
|
|
14630
|
-
"text-variable-anchor-offset": new Q(
|
|
14631
|
-
"text-anchor": new Q(
|
|
14632
|
-
"text-max-angle": new Z(
|
|
14633
|
-
"text-writing-mode": new Z(
|
|
14634
|
-
"text-rotate": new Q(
|
|
14635
|
-
"text-padding": new Z(
|
|
14636
|
-
"text-keep-upright": new Z(
|
|
14637
|
-
"text-transform": new Q(
|
|
14638
|
-
"text-offset": new Q(
|
|
14639
|
-
"text-allow-overlap": new Z(
|
|
14640
|
-
"text-overlap": new Z(
|
|
14641
|
-
"text-ignore-placement": new Z(
|
|
14642
|
-
"text-optional": new Z(
|
|
14599
|
+
"symbol-placement": new Z(I.layout_symbol["symbol-placement"]),
|
|
14600
|
+
"symbol-spacing": new Z(I.layout_symbol["symbol-spacing"]),
|
|
14601
|
+
"symbol-avoid-edges": new Z(I.layout_symbol["symbol-avoid-edges"]),
|
|
14602
|
+
"symbol-sort-key": new Q(I.layout_symbol["symbol-sort-key"]),
|
|
14603
|
+
"symbol-z-order": new Z(I.layout_symbol["symbol-z-order"]),
|
|
14604
|
+
"icon-allow-overlap": new Z(I.layout_symbol["icon-allow-overlap"]),
|
|
14605
|
+
"icon-overlap": new Z(I.layout_symbol["icon-overlap"]),
|
|
14606
|
+
"icon-ignore-placement": new Z(I.layout_symbol["icon-ignore-placement"]),
|
|
14607
|
+
"icon-optional": new Z(I.layout_symbol["icon-optional"]),
|
|
14608
|
+
"icon-rotation-alignment": new Z(I.layout_symbol["icon-rotation-alignment"]),
|
|
14609
|
+
"icon-size": new Q(I.layout_symbol["icon-size"]),
|
|
14610
|
+
"icon-text-fit": new Z(I.layout_symbol["icon-text-fit"]),
|
|
14611
|
+
"icon-text-fit-padding": new Z(I.layout_symbol["icon-text-fit-padding"]),
|
|
14612
|
+
"icon-image": new Q(I.layout_symbol["icon-image"]),
|
|
14613
|
+
"icon-rotate": new Q(I.layout_symbol["icon-rotate"]),
|
|
14614
|
+
"icon-padding": new Q(I.layout_symbol["icon-padding"]),
|
|
14615
|
+
"icon-keep-upright": new Z(I.layout_symbol["icon-keep-upright"]),
|
|
14616
|
+
"icon-offset": new Q(I.layout_symbol["icon-offset"]),
|
|
14617
|
+
"icon-anchor": new Q(I.layout_symbol["icon-anchor"]),
|
|
14618
|
+
"icon-pitch-alignment": new Z(I.layout_symbol["icon-pitch-alignment"]),
|
|
14619
|
+
"text-pitch-alignment": new Z(I.layout_symbol["text-pitch-alignment"]),
|
|
14620
|
+
"text-rotation-alignment": new Z(I.layout_symbol["text-rotation-alignment"]),
|
|
14621
|
+
"text-field": new Q(I.layout_symbol["text-field"]),
|
|
14622
|
+
"text-font": new Q(I.layout_symbol["text-font"]),
|
|
14623
|
+
"text-size": new Q(I.layout_symbol["text-size"]),
|
|
14624
|
+
"text-max-width": new Q(I.layout_symbol["text-max-width"]),
|
|
14625
|
+
"text-line-height": new Z(I.layout_symbol["text-line-height"]),
|
|
14626
|
+
"text-letter-spacing": new Q(I.layout_symbol["text-letter-spacing"]),
|
|
14627
|
+
"text-justify": new Q(I.layout_symbol["text-justify"]),
|
|
14628
|
+
"text-radial-offset": new Q(I.layout_symbol["text-radial-offset"]),
|
|
14629
|
+
"text-variable-anchor": new Z(I.layout_symbol["text-variable-anchor"]),
|
|
14630
|
+
"text-variable-anchor-offset": new Q(I.layout_symbol["text-variable-anchor-offset"]),
|
|
14631
|
+
"text-anchor": new Q(I.layout_symbol["text-anchor"]),
|
|
14632
|
+
"text-max-angle": new Z(I.layout_symbol["text-max-angle"]),
|
|
14633
|
+
"text-writing-mode": new Z(I.layout_symbol["text-writing-mode"]),
|
|
14634
|
+
"text-rotate": new Q(I.layout_symbol["text-rotate"]),
|
|
14635
|
+
"text-padding": new Z(I.layout_symbol["text-padding"]),
|
|
14636
|
+
"text-keep-upright": new Z(I.layout_symbol["text-keep-upright"]),
|
|
14637
|
+
"text-transform": new Q(I.layout_symbol["text-transform"]),
|
|
14638
|
+
"text-offset": new Q(I.layout_symbol["text-offset"]),
|
|
14639
|
+
"text-allow-overlap": new Z(I.layout_symbol["text-allow-overlap"]),
|
|
14640
|
+
"text-overlap": new Z(I.layout_symbol["text-overlap"]),
|
|
14641
|
+
"text-ignore-placement": new Z(I.layout_symbol["text-ignore-placement"]),
|
|
14642
|
+
"text-optional": new Z(I.layout_symbol["text-optional"])
|
|
14643
14643
|
});
|
|
14644
14644
|
}
|
|
14645
14645
|
};
|
|
@@ -14724,9 +14724,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
14724
14724
|
let Ef;
|
|
14725
14725
|
var Df = { get paint() {
|
|
14726
14726
|
return Ef = Ef || new Xa({
|
|
14727
|
-
"background-color": new Z(
|
|
14728
|
-
"background-pattern": new Ja(
|
|
14729
|
-
"background-opacity": new Z(
|
|
14727
|
+
"background-color": new Z(I.paint_background["background-color"]),
|
|
14728
|
+
"background-pattern": new Ja(I.paint_background["background-pattern"]),
|
|
14729
|
+
"background-opacity": new Z(I.paint_background["background-opacity"])
|
|
14730
14730
|
});
|
|
14731
14731
|
} };
|
|
14732
14732
|
class Of extends $a {
|
|
@@ -14778,7 +14778,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
14778
14778
|
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");
|
|
14779
14779
|
}
|
|
14780
14780
|
wrap() {
|
|
14781
|
-
return new Nf(
|
|
14781
|
+
return new Nf(F(this.lng, -180, 180), this.lat);
|
|
14782
14782
|
}
|
|
14783
14783
|
toArray() {
|
|
14784
14784
|
return [this.lng, this.lat];
|
|
@@ -17197,7 +17197,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17197
17197
|
if (!n) continue;
|
|
17198
17198
|
let i = {};
|
|
17199
17199
|
m && l && (i = l.getState(n.sourceLayer || Um, m));
|
|
17200
|
-
let d =
|
|
17200
|
+
let d = ne({}, c[t]);
|
|
17201
17201
|
d.paint = Qm(d.paint, n.paint, p, i, o), d.layout = Qm(d.layout, n.layout, p, i, o);
|
|
17202
17202
|
let f = !u || u(p, n, i);
|
|
17203
17203
|
if (!f) continue;
|
|
@@ -17229,7 +17229,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17229
17229
|
}
|
|
17230
17230
|
}
|
|
17231
17231
|
function Qm(e, t, n, r, i) {
|
|
17232
|
-
return
|
|
17232
|
+
return ie(e, ((e, a) => {
|
|
17233
17233
|
let o = t instanceof Ka ? t.get(a) : null;
|
|
17234
17234
|
return o != null && o.evaluate ? o.evaluate(n, r, i) : o;
|
|
17235
17235
|
}));
|
|
@@ -17371,33 +17371,33 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17371
17371
|
(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;
|
|
17372
17372
|
}
|
|
17373
17373
|
let E = u.x1, D = u.y1, O = u.x2 - E, k = u.y2 - D, A = (e, i, a, c) => {
|
|
17374
|
-
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),
|
|
17375
|
-
if (
|
|
17376
|
-
let e = Math.sin(
|
|
17374
|
+
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), F = t * Math.PI / 180;
|
|
17375
|
+
if (F) {
|
|
17376
|
+
let e = Math.sin(F), t = Math.cos(F), n = [
|
|
17377
17377
|
t,
|
|
17378
17378
|
-e,
|
|
17379
17379
|
e,
|
|
17380
17380
|
t
|
|
17381
17381
|
];
|
|
17382
|
-
j._matMult(n), M._matMult(n),
|
|
17382
|
+
j._matMult(n), M._matMult(n), ee._matMult(n), N._matMult(n);
|
|
17383
17383
|
}
|
|
17384
|
-
let
|
|
17384
|
+
let ne = e.stretch + e.fixed, re = i.stretch + i.fixed;
|
|
17385
17385
|
return {
|
|
17386
17386
|
tl: j,
|
|
17387
17387
|
tr: M,
|
|
17388
|
-
bl:
|
|
17389
|
-
br:
|
|
17388
|
+
bl: ee,
|
|
17389
|
+
br: N,
|
|
17390
17390
|
tex: {
|
|
17391
|
-
x: o.paddedRect.x + 1 +
|
|
17392
|
-
y: o.paddedRect.y + 1 +
|
|
17393
|
-
w: a.stretch + a.fixed -
|
|
17394
|
-
h: c.stretch + c.fixed -
|
|
17391
|
+
x: o.paddedRect.x + 1 + ne,
|
|
17392
|
+
y: o.paddedRect.y + 1 + re,
|
|
17393
|
+
w: a.stretch + a.fixed - ne,
|
|
17394
|
+
h: c.stretch + c.fixed - re
|
|
17395
17395
|
},
|
|
17396
17396
|
writingMode: void 0,
|
|
17397
17397
|
glyphOffset: [0, 0],
|
|
17398
17398
|
sectionIndex: 0,
|
|
17399
|
-
pixelOffsetTL:
|
|
17400
|
-
pixelOffsetBR:
|
|
17399
|
+
pixelOffsetTL: P,
|
|
17400
|
+
pixelOffsetBR: te,
|
|
17401
17401
|
minFontScaleX: C / s / O,
|
|
17402
17402
|
minFontScaleY: T / s / k,
|
|
17403
17403
|
isSDF: r
|
|
@@ -17656,9 +17656,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17656
17656
|
];
|
|
17657
17657
|
}(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;
|
|
17658
17658
|
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, _)));
|
|
17659
|
-
let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1,
|
|
17659
|
+
let M = d ? f.line.getGranularityForZoomLevel(d.z) : 1, N = (c, f) => {
|
|
17660
17660
|
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) {
|
|
17661
|
-
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0,
|
|
17661
|
+
let E = t.addToLineVertexArray(n, r), D, O, k, A, j = 0, M = 0, N = 0, ee = 0, P = -1, te = -1, F = {}, ne = _s("");
|
|
17662
17662
|
if (t.allowVerticalPlacement && i.vertical) {
|
|
17663
17663
|
let e = c.layout.get("text-rotate").evaluate(x, {}, w) + 90;
|
|
17664
17664
|
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));
|
|
@@ -17667,29 +17667,29 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17667
17667
|
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;
|
|
17668
17668
|
O = new yh(l, n, u, d, f, a, _, v, !1, r), j = 4 * o.length;
|
|
17669
17669
|
let m = t.iconSizeData, h = null;
|
|
17670
|
-
m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df &&
|
|
17670
|
+
m.kind === "source" ? (h = [128 * c.layout.get("icon-size").evaluate(x, {})], h[0] > df && ce(`${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) && ce(`${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);
|
|
17671
17671
|
}
|
|
17672
|
-
let
|
|
17673
|
-
for (let r of
|
|
17672
|
+
let re = Object.keys(i.horizontal);
|
|
17673
|
+
for (let r of re) {
|
|
17674
17674
|
let a = i.horizontal[r];
|
|
17675
|
-
D || (
|
|
17675
|
+
D || (ne = _s(a.text), D = new yh(l, n, u, d, f, a, p, m, h, c.layout.get("text-rotate").evaluate(x, {}, w)));
|
|
17676
17676
|
let s = a.positionedLines.length === 1;
|
|
17677
|
-
if (
|
|
17678
|
-
}
|
|
17679
|
-
i.vertical && (
|
|
17680
|
-
let
|
|
17681
|
-
|
|
17682
|
-
let
|
|
17683
|
-
|
|
17684
|
-
let
|
|
17677
|
+
if (N += Ah(t, n, a, o, c, h, x, g, E, i.vertical ? e.ax.horizontal : e.ax.horizontalOnly, s ? re : [r], F, P, S, w), s) break;
|
|
17678
|
+
}
|
|
17679
|
+
i.vertical && (ee += Ah(t, n, i.vertical, o, c, h, x, g, E, e.ax.vertical, ["vertical"], F, te, S, w));
|
|
17680
|
+
let ie = D ? D.boxStartIndex : t.collisionBoxArray.length, ae = D ? D.boxEndIndex : t.collisionBoxArray.length, oe = k ? k.boxStartIndex : t.collisionBoxArray.length, se = k ? k.boxEndIndex : t.collisionBoxArray.length, le = O ? O.boxStartIndex : t.collisionBoxArray.length, ue = O ? O.boxEndIndex : t.collisionBoxArray.length, de = A ? A.boxStartIndex : t.collisionBoxArray.length, fe = A ? A.boxEndIndex : t.collisionBoxArray.length, pe = -1, me = (e, t) => e != null && e.circleDiameter ? Math.max(e.circleDiameter, t) : t;
|
|
17681
|
+
pe = me(D, pe), pe = me(k, pe), pe = me(O, pe), pe = me(A, pe);
|
|
17682
|
+
let he = +(pe > -1);
|
|
17683
|
+
he && (pe *= T / xd), t.glyphOffsetArray.length >= bf.MAX_GLYPHS && ce("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);
|
|
17684
|
+
let ge = Dh(c, x, w), [_e, ve] = function(t, n) {
|
|
17685
17685
|
let r = t.length, i = n == null ? void 0 : n.values;
|
|
17686
17686
|
if ((i == null ? void 0 : i.length) > 0) for (let n = 0; n < i.length; n += 2) {
|
|
17687
17687
|
let r = i[n + 1];
|
|
17688
17688
|
t.emplaceBack(e.aM[i[n]], r[0], r[1]);
|
|
17689
17689
|
}
|
|
17690
17690
|
return [r, t.length];
|
|
17691
|
-
}(t.textAnchorOffsets,
|
|
17692
|
-
t.symbolInstances.emplaceBack(n.x, n.y,
|
|
17691
|
+
}(t.textAnchorOffsets, ge);
|
|
17692
|
+
t.symbolInstances.emplaceBack(n.x, n.y, F.right >= 0 ? F.right : -1, F.center >= 0 ? F.center : -1, F.left >= 0 ? F.left : -1, F.vertical || -1, P, te, ne, ie, ae, oe, se, le, ue, de, fe, u, N, ee, j, M, he, 0, p, pe, _e, ve);
|
|
17693
17693
|
}(t, f, c, r, i, a, j, t.layers[0], t.collisionBoxArray, n.index, n.sourceLayerIndex, t.index, v, [
|
|
17694
17694
|
S,
|
|
17695
17695
|
S,
|
|
@@ -17699,22 +17699,22 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17699
17699
|
};
|
|
17700
17700
|
if (D === "line") for (let e of eh(n.geometry, 0, 0, O, O)) {
|
|
17701
17701
|
let n = yl(e, M), a = fh(n, x, w, r.vertical || g, i, 24, y, t.overscaling, O);
|
|
17702
|
-
for (let e of a) g && Mh(t, g.text, k, e) ||
|
|
17702
|
+
for (let e of a) g && Mh(t, g.text, k, e) || N(n, e);
|
|
17703
17703
|
}
|
|
17704
17704
|
else if (D === "line-center") {
|
|
17705
17705
|
for (let e of n.geometry) if (e.length > 1) {
|
|
17706
17706
|
let t = yl(e, M), n = dh(t, w, r.vertical || g, i, 24, y);
|
|
17707
|
-
n &&
|
|
17707
|
+
n && N(t, n);
|
|
17708
17708
|
}
|
|
17709
17709
|
} else if (n.type === "Polygon") for (let e of or(n.geometry, 0)) {
|
|
17710
17710
|
let t = xh(e, 16);
|
|
17711
|
-
|
|
17711
|
+
N(yl(e[0], M, !0), new oh(t.x, t.y, 0));
|
|
17712
17712
|
}
|
|
17713
17713
|
else if (n.type === "LineString") for (let e of n.geometry) {
|
|
17714
17714
|
let t = yl(e, M);
|
|
17715
|
-
|
|
17715
|
+
N(t, new oh(t[0].x, t[0].y, 0));
|
|
17716
17716
|
}
|
|
17717
|
-
else if (n.type === "Point") for (let e of n.geometry) for (let t of e)
|
|
17717
|
+
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));
|
|
17718
17718
|
}
|
|
17719
17719
|
function Ah(e, t, r, i, a, o, s, c, l, u, d, f, p, m, h) {
|
|
17720
17720
|
let g = function(e, t, r, i, a, o, s, c) {
|
|
@@ -17761,7 +17761,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17761
17761
|
}
|
|
17762
17762
|
return u;
|
|
17763
17763
|
}(0, r, c, a, o, s, i, e.allowVerticalPlacement), _ = e.textSizeData, v = null;
|
|
17764
|
-
_.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df &&
|
|
17764
|
+
_.kind === "source" ? (v = [128 * a.layout.get("text-size").evaluate(s, {})], v[0] > df && ce(`${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) && ce(`${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);
|
|
17765
17765
|
for (let t of d) f[t] = e.text.placedSymbolArray.length - 1;
|
|
17766
17766
|
return 4 * g.length;
|
|
17767
17767
|
}
|
|
@@ -17777,21 +17777,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17777
17777
|
} else i[t] = [];
|
|
17778
17778
|
return i[t].push(r), !1;
|
|
17779
17779
|
}
|
|
17780
|
-
e.$ =
|
|
17780
|
+
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]) {
|
|
17781
17781
|
return t += 90, t *= Math.PI / 180, n *= Math.PI / 180, {
|
|
17782
17782
|
x: e * Math.cos(t) * Math.sin(n),
|
|
17783
17783
|
y: e * Math.sin(t) * Math.sin(n),
|
|
17784
17784
|
z: e * Math.cos(n)
|
|
17785
17785
|
};
|
|
17786
17786
|
}, e.H = xn, e.I = Xd, e.J = Ia, e.K = ua, e.L = function(e) {
|
|
17787
|
-
if (
|
|
17787
|
+
if (de == null) {
|
|
17788
17788
|
let t = e.navigator ? e.navigator.userAgent : null;
|
|
17789
|
-
|
|
17789
|
+
de = !!e.safari || !(!t || !(/\b(iPad|iPhone|iPod)\b/.test(t) || t.match("Safari") && !t.match("Chrome")));
|
|
17790
17790
|
}
|
|
17791
|
-
return
|
|
17792
|
-
}, e.M =
|
|
17791
|
+
return de;
|
|
17792
|
+
}, e.M = Oe, e.N = class {
|
|
17793
17793
|
constructor(e, t) {
|
|
17794
|
-
this.target = e, this.mapId = t, this.resolveRejects = {}, this.tasks = {}, this.taskQueue = [], this.abortControllers = {}, this.messageHandlers = {}, this.invoker = new Af((() => this.process())), this.subscription =
|
|
17794
|
+
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 = ue(self) ? e : window;
|
|
17795
17795
|
}
|
|
17796
17796
|
registerMessageHandler(e, t) {
|
|
17797
17797
|
this.messageHandlers[e] = t;
|
|
@@ -17801,7 +17801,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17801
17801
|
}
|
|
17802
17802
|
sendAsync(e, t) {
|
|
17803
17803
|
return new Promise(((n, r) => {
|
|
17804
|
-
let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ?
|
|
17804
|
+
let i = Math.round(0xde0b6b3a7640000 * Math.random()).toString(36).substring(0, 10), a = t ? _e(t.signal, "abort", (() => {
|
|
17805
17805
|
a == null || a.unsubscribe(), delete this.resolveRejects[i];
|
|
17806
17806
|
let t = {
|
|
17807
17807
|
id: i,
|
|
@@ -17842,7 +17842,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17842
17842
|
delete this.abortControllers[n], e && e.abort();
|
|
17843
17843
|
return;
|
|
17844
17844
|
}
|
|
17845
|
-
if (
|
|
17845
|
+
if (ue(self) || t.mustQueue) return this.tasks[n] = t, this.taskQueue.push(n), void this.invoker.trigger();
|
|
17846
17846
|
this.processTask(n, t);
|
|
17847
17847
|
}
|
|
17848
17848
|
}
|
|
@@ -17902,10 +17902,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17902
17902
|
let n = {};
|
|
17903
17903
|
for (let r of t) r in e && (n[r] = e[r]);
|
|
17904
17904
|
return n;
|
|
17905
|
-
}, e.W = Nf, e.X =
|
|
17905
|
+
}, e.W = Nf, e.X = F, e.Y = Lf, e.Z = If, e._ = t, e.a = Ce, e.a$ = function(e) {
|
|
17906
17906
|
var t = new f(3);
|
|
17907
17907
|
return t[0] = e[0], t[1] = e[1], t[2] = e[2], t;
|
|
17908
|
-
}, e.a0 = l, e.a1 = u, e.a2 =
|
|
17908
|
+
}, e.a0 = l, e.a1 = u, e.a2 = me, 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) {
|
|
17909
17909
|
var t = e[0], n = e[1];
|
|
17910
17910
|
return Math.sqrt(t * t + n * n);
|
|
17911
17911
|
}, e.aB = function(e) {
|
|
@@ -17934,7 +17934,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17934
17934
|
n = [n[0] * t - n[1] * e, n[0] * e + n[1] * t];
|
|
17935
17935
|
}
|
|
17936
17936
|
return [i ? n[0] : k(t, n[0], e.zoom), i ? n[1] : k(t, n[1], e.zoom)];
|
|
17937
|
-
}, 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 =
|
|
17937
|
+
}, 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) => {
|
|
17938
17938
|
let t = window.document.createElement("video");
|
|
17939
17939
|
return t.muted = !0, new Promise(((n) => {
|
|
17940
17940
|
t.onloadstart = () => {
|
|
@@ -17942,11 +17942,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17942
17942
|
};
|
|
17943
17943
|
for (let n of e) {
|
|
17944
17944
|
let e = window.document.createElement("source");
|
|
17945
|
-
|
|
17945
|
+
Me(n) || (t.crossOrigin = "Anonymous"), e.src = n, t.appendChild(e);
|
|
17946
17946
|
}
|
|
17947
17947
|
}));
|
|
17948
17948
|
}, e.ac = z, e.ad = function() {
|
|
17949
|
-
return
|
|
17949
|
+
return re++;
|
|
17950
17950
|
}, e.ae = Po, e.af = bf, e.ag = Um, e.ah = _i, e.ai = Hs, e.aj = Xf, e.ak = function(e) {
|
|
17951
17951
|
let t = {};
|
|
17952
17952
|
if (e.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, ((e, n, r, i) => {
|
|
@@ -17957,7 +17957,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
17957
17957
|
isNaN(e) ? delete t["max-age"] : t["max-age"] = e;
|
|
17958
17958
|
}
|
|
17959
17959
|
return t;
|
|
17960
|
-
}, e.al =
|
|
17960
|
+
}, e.al = te, e.am = 85.051129, e.an = ve, e.ao = function(e) {
|
|
17961
17961
|
return 2 ** e;
|
|
17962
17962
|
}, e.ap = m, e.aq = Rf, e.ar = function(e) {
|
|
17963
17963
|
return Math.log(e) / Math.LN2;
|
|
@@ -18042,7 +18042,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18042
18042
|
let n = 0, r = 0;
|
|
18043
18043
|
if (e.kind === "constant") r = e.layoutSize;
|
|
18044
18044
|
else if (e.kind !== "source") {
|
|
18045
|
-
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ?
|
|
18045
|
+
let { interpolationType: i, minZoom: a, maxZoom: o } = e, s = i ? te(yn.interpolationFactor(i, t, a, o), 0, 1) : 0;
|
|
18046
18046
|
e.kind === "camera" ? r = xn.number(e.minSize, e.maxSize, s) : n = s;
|
|
18047
18047
|
}
|
|
18048
18048
|
return {
|
|
@@ -18051,7 +18051,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18051
18051
|
};
|
|
18052
18052
|
}, e.ay = function(e, { uSize: t, uSizeT: n }, { lowerSize: r, upperSize: i }) {
|
|
18053
18053
|
return e.kind === "source" ? r / 128 : e.kind === "composite" ? xn.number(r / 128, i / 128, n) : t;
|
|
18054
|
-
}, e.az = E, e.b =
|
|
18054
|
+
}, e.az = E, e.b = fe, e.b$ = Ts, e.b0 = function(e, t, n) {
|
|
18055
18055
|
return e[0] = t[0] - n[0], e[1] = t[1] - n[1], e[2] = t[2] - n[2], e;
|
|
18056
18056
|
}, e.b1 = function(e, t) {
|
|
18057
18057
|
var n = t[0], r = t[1], i = t[2], a = n * n + r * r + i * i;
|
|
@@ -18138,16 +18138,16 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18138
18138
|
let n = j(e, 2 * Math.PI), r = j(t, 2 * Math.PI);
|
|
18139
18139
|
return Math.min(Math.abs(n - r), Math.abs(n - r + 2 * Math.PI), Math.abs(n - r - 2 * Math.PI));
|
|
18140
18140
|
}, e.bN = function() {
|
|
18141
|
-
let e = {}, t =
|
|
18142
|
-
for (let n in
|
|
18143
|
-
let r =
|
|
18141
|
+
let e = {}, t = I.$version;
|
|
18142
|
+
for (let n in I.$root) {
|
|
18143
|
+
let r = I.$root[n];
|
|
18144
18144
|
if (r.required) {
|
|
18145
18145
|
let i = null;
|
|
18146
18146
|
i = n === "version" ? t : r.type === "array" ? [] : {}, i != null && (e[n] = i);
|
|
18147
18147
|
}
|
|
18148
18148
|
}
|
|
18149
18149
|
return e;
|
|
18150
|
-
}, e.bO =
|
|
18150
|
+
}, e.bO = Ae, e.bP = xa, e.bQ = function e(t, n) {
|
|
18151
18151
|
if (Array.isArray(t)) {
|
|
18152
18152
|
if (!Array.isArray(n) || t.length !== n.length) return !1;
|
|
18153
18153
|
for (let r = 0; r < t.length; r++) if (!e(t[r], n[r])) return !1;
|
|
@@ -18159,11 +18159,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18159
18159
|
return !0;
|
|
18160
18160
|
}
|
|
18161
18161
|
return t === n;
|
|
18162
|
-
}, e.bR =
|
|
18162
|
+
}, e.bR = Te, e.bS = function(e) {
|
|
18163
18163
|
e = e.slice();
|
|
18164
18164
|
let t = Object.create(null);
|
|
18165
18165
|
for (let n = 0; n < e.length; n++) t[e[n].id] = e[n];
|
|
18166
|
-
for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] =
|
|
18166
|
+
for (let n = 0; n < e.length; n++) "ref" in e[n] && (e[n] = ze(e[n], t[e[n].ref]));
|
|
18167
18167
|
return e;
|
|
18168
18168
|
}, e.bT = function(e, t) {
|
|
18169
18169
|
if (e.type === "custom") return new kf(e, t);
|
|
@@ -18179,57 +18179,57 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18179
18179
|
case "raster": return new no(e, t);
|
|
18180
18180
|
case "symbol": return new Tf(e, t);
|
|
18181
18181
|
}
|
|
18182
|
-
}, e.bU = (e) => e.type === "raster", e.bV =
|
|
18182
|
+
}, e.bU = (e) => e.type === "raster", e.bV = oe, e.bW = function(e, t) {
|
|
18183
18183
|
if (!e) return [{
|
|
18184
18184
|
command: "setStyle",
|
|
18185
18185
|
args: [t]
|
|
18186
18186
|
}];
|
|
18187
18187
|
let n = [];
|
|
18188
18188
|
try {
|
|
18189
|
-
if (!
|
|
18189
|
+
if (!R(e.version, t.version)) return [{
|
|
18190
18190
|
command: "setStyle",
|
|
18191
18191
|
args: [t]
|
|
18192
18192
|
}];
|
|
18193
|
-
|
|
18193
|
+
R(e.center, t.center) || n.push({
|
|
18194
18194
|
command: "setCenter",
|
|
18195
18195
|
args: [t.center]
|
|
18196
|
-
}),
|
|
18196
|
+
}), R(e.state, t.state) || n.push({
|
|
18197
18197
|
command: "setGlobalState",
|
|
18198
18198
|
args: [t.state]
|
|
18199
|
-
}),
|
|
18199
|
+
}), R(e.centerAltitude, t.centerAltitude) || n.push({
|
|
18200
18200
|
command: "setCenterAltitude",
|
|
18201
18201
|
args: [t.centerAltitude]
|
|
18202
|
-
}),
|
|
18202
|
+
}), R(e.zoom, t.zoom) || n.push({
|
|
18203
18203
|
command: "setZoom",
|
|
18204
18204
|
args: [t.zoom]
|
|
18205
|
-
}),
|
|
18205
|
+
}), R(e.bearing, t.bearing) || n.push({
|
|
18206
18206
|
command: "setBearing",
|
|
18207
18207
|
args: [t.bearing]
|
|
18208
|
-
}),
|
|
18208
|
+
}), R(e.pitch, t.pitch) || n.push({
|
|
18209
18209
|
command: "setPitch",
|
|
18210
18210
|
args: [t.pitch]
|
|
18211
|
-
}),
|
|
18211
|
+
}), R(e.roll, t.roll) || n.push({
|
|
18212
18212
|
command: "setRoll",
|
|
18213
18213
|
args: [t.roll]
|
|
18214
|
-
}),
|
|
18214
|
+
}), R(e.sprite, t.sprite) || n.push({
|
|
18215
18215
|
command: "setSprite",
|
|
18216
18216
|
args: [t.sprite]
|
|
18217
|
-
}),
|
|
18217
|
+
}), R(e.glyphs, t.glyphs) || n.push({
|
|
18218
18218
|
command: "setGlyphs",
|
|
18219
18219
|
args: [t.glyphs]
|
|
18220
|
-
}),
|
|
18220
|
+
}), R(e.transition, t.transition) || n.push({
|
|
18221
18221
|
command: "setTransition",
|
|
18222
18222
|
args: [t.transition]
|
|
18223
|
-
}),
|
|
18223
|
+
}), R(e.light, t.light) || n.push({
|
|
18224
18224
|
command: "setLight",
|
|
18225
18225
|
args: [t.light]
|
|
18226
|
-
}),
|
|
18226
|
+
}), R(e.terrain, t.terrain) || n.push({
|
|
18227
18227
|
command: "setTerrain",
|
|
18228
18228
|
args: [t.terrain]
|
|
18229
|
-
}),
|
|
18229
|
+
}), R(e.sky, t.sky) || n.push({
|
|
18230
18230
|
command: "setSky",
|
|
18231
18231
|
args: [t.sky]
|
|
18232
|
-
}),
|
|
18232
|
+
}), R(e.projection, t.projection) || n.push({
|
|
18233
18233
|
command: "setProjection",
|
|
18234
18234
|
args: [t.projection]
|
|
18235
18235
|
});
|
|
@@ -18237,7 +18237,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18237
18237
|
(function(e, t, n, r) {
|
|
18238
18238
|
let i;
|
|
18239
18239
|
for (i in t = t || {}, e = e || {}) Object.prototype.hasOwnProperty.call(e, i) && (Object.prototype.hasOwnProperty.call(t, i) || He(i, n, r));
|
|
18240
|
-
for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ?
|
|
18240
|
+
for (i in t) Object.prototype.hasOwnProperty.call(t, i) && (Object.prototype.hasOwnProperty.call(e, i) ? R(e[i], t[i]) || (e[i].type === "geojson" && t[i].type === "geojson" && We(e, t, i) ? Be(n, {
|
|
18241
18241
|
command: "setGeoJSONSourceData",
|
|
18242
18242
|
args: [i, t[i].data]
|
|
18243
18243
|
}) : Ue(i, t, n, r)) : Ve(i, t, n));
|
|
@@ -18251,29 +18251,29 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18251
18251
|
})), n = n.concat(i), function(e, t, n) {
|
|
18252
18252
|
t = t || [];
|
|
18253
18253
|
let r = (e = e || []).map(Ke), i = t.map(Ke), a = e.reduce(qe, {}), o = t.reduce(qe, {}), s = r.slice(), c = Object.create(null), l, u, d, f, p;
|
|
18254
|
-
for (let e = 0, t = 0; e < r.length; e++) l = r[e], Object.prototype.hasOwnProperty.call(o, l) ? t++ : (
|
|
18254
|
+
for (let e = 0, t = 0; e < r.length; e++) l = r[e], Object.prototype.hasOwnProperty.call(o, l) ? t++ : (Be(n, {
|
|
18255
18255
|
command: "removeLayer",
|
|
18256
18256
|
args: [l]
|
|
18257
18257
|
}), s.splice(s.indexOf(l, t), 1));
|
|
18258
|
-
for (let e = 0, t = 0; e < i.length; e++) l = i[i.length - 1 - e], s[s.length - 1 - e] !== l && (Object.prototype.hasOwnProperty.call(a, l) ? (
|
|
18258
|
+
for (let e = 0, t = 0; e < i.length; e++) l = i[i.length - 1 - e], s[s.length - 1 - e] !== l && (Object.prototype.hasOwnProperty.call(a, l) ? (Be(n, {
|
|
18259
18259
|
command: "removeLayer",
|
|
18260
18260
|
args: [l]
|
|
18261
|
-
}), s.splice(s.lastIndexOf(l, s.length - t), 1)) : t++, f = s[s.length - e],
|
|
18261
|
+
}), s.splice(s.lastIndexOf(l, s.length - t), 1)) : t++, f = s[s.length - e], Be(n, {
|
|
18262
18262
|
command: "addLayer",
|
|
18263
18263
|
args: [o[l], f]
|
|
18264
18264
|
}), s.splice(s.length - e, 0, l), c[l] = !0);
|
|
18265
|
-
for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !
|
|
18266
|
-
for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"),
|
|
18265
|
+
for (let e = 0; e < i.length; e++) if (l = i[e], u = a[l], d = o[l], !c[l] && !R(u, d)) if (R(u.source, d.source) && R(u["source-layer"], d["source-layer"]) && R(u.type, d.type)) {
|
|
18266
|
+
for (p in Ge(u.layout, d.layout, n, l, null, "setLayoutProperty"), Ge(u.paint, d.paint, n, l, null, "setPaintProperty"), R(u.filter, d.filter) || Be(n, {
|
|
18267
18267
|
command: "setFilter",
|
|
18268
18268
|
args: [l, d.filter]
|
|
18269
|
-
}),
|
|
18269
|
+
}), R(u.minzoom, d.minzoom) && R(u.maxzoom, d.maxzoom) || Be(n, {
|
|
18270
18270
|
command: "setLayerZoomRange",
|
|
18271
18271
|
args: [
|
|
18272
18272
|
l,
|
|
18273
18273
|
d.minzoom,
|
|
18274
18274
|
d.maxzoom
|
|
18275
18275
|
]
|
|
18276
|
-
}), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") :
|
|
18276
|
+
}), u) Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : R(u[p], d[p]) || Be(n, {
|
|
18277
18277
|
command: "setLayerProperty",
|
|
18278
18278
|
args: [
|
|
18279
18279
|
l,
|
|
@@ -18281,7 +18281,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18281
18281
|
d[p]
|
|
18282
18282
|
]
|
|
18283
18283
|
}));
|
|
18284
|
-
for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") :
|
|
18284
|
+
for (p in d) Object.prototype.hasOwnProperty.call(d, p) && !Object.prototype.hasOwnProperty.call(u, p) && p !== "layout" && p !== "paint" && p !== "filter" && p !== "metadata" && p !== "minzoom" && p !== "maxzoom" && (p.indexOf("paint.") === 0 ? Ge(u[p], d[p], n, l, p.slice(6), "setPaintProperty") : R(u[p], d[p]) || Be(n, {
|
|
18285
18285
|
command: "setLayerProperty",
|
|
18286
18286
|
args: [
|
|
18287
18287
|
l,
|
|
@@ -18289,10 +18289,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18289
18289
|
d[p]
|
|
18290
18290
|
]
|
|
18291
18291
|
}));
|
|
18292
|
-
} else
|
|
18292
|
+
} else Be(n, {
|
|
18293
18293
|
command: "removeLayer",
|
|
18294
18294
|
args: [l]
|
|
18295
|
-
}), f = s[s.lastIndexOf(l) + 1],
|
|
18295
|
+
}), f = s[s.lastIndexOf(l) + 1], Be(n, {
|
|
18296
18296
|
command: "addLayer",
|
|
18297
18297
|
args: [d, f]
|
|
18298
18298
|
});
|
|
@@ -18307,7 +18307,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18307
18307
|
}, e.bX = function(e) {
|
|
18308
18308
|
let t = [], n = e.id;
|
|
18309
18309
|
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;
|
|
18310
|
-
}, e.bY =
|
|
18310
|
+
}, e.bY = ie, e.bZ = ae, e.b_ = class extends Ss {
|
|
18311
18311
|
constructor(e, t) {
|
|
18312
18312
|
super(e, t), this.current = 0;
|
|
18313
18313
|
}
|
|
@@ -18351,21 +18351,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18351
18351
|
let t = new Float64Array(9);
|
|
18352
18352
|
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);
|
|
18353
18353
|
(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;
|
|
18354
|
-
let b =
|
|
18355
|
-
return Math.hypot(t[5], t[8]) < .001 ? (x = 0, S = -
|
|
18354
|
+
let b = ye(-Math.asin(te(t[2], -1, 1))), x, S;
|
|
18355
|
+
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]))), {
|
|
18356
18356
|
roll: x,
|
|
18357
18357
|
pitch: b + 90,
|
|
18358
18358
|
bearing: S
|
|
18359
18359
|
};
|
|
18360
18360
|
}, e.bn = function(e, t) {
|
|
18361
18361
|
return e.roll == t.roll && e.pitch == t.pitch && e.bearing == t.bearing;
|
|
18362
|
-
}, e.bo = W, e.bp = Cs, e.bq = hl, e.br = gl, e.bs = pl, e.bt = M, e.bu =
|
|
18363
|
-
return M(r, i,
|
|
18362
|
+
}, 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) {
|
|
18363
|
+
return M(r, i, te((e - t) / (n - t), 0, 1));
|
|
18364
18364
|
}, e.bx = function(e, t, n, r) {
|
|
18365
18365
|
return e[0] = t[0] + n[0] * r, e[1] = t[1] + n[1] * r, e[2] = t[2] + n[2] * r, e;
|
|
18366
18366
|
}, e.by = j, e.bz = function() {
|
|
18367
18367
|
return new Float64Array(3);
|
|
18368
|
-
}, e.c =
|
|
18368
|
+
}, e.c = Ee, e.c$ = si, e.c0 = class extends Ss {
|
|
18369
18369
|
constructor(e, t) {
|
|
18370
18370
|
super(e, t), this.current = Es;
|
|
18371
18371
|
}
|
|
@@ -18427,9 +18427,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18427
18427
|
}
|
|
18428
18428
|
}
|
|
18429
18429
|
}, e.cA = function(e, t) {
|
|
18430
|
-
return
|
|
18430
|
+
return be[t] && "touches" in e;
|
|
18431
18431
|
}, e.cB = function(e) {
|
|
18432
|
-
return
|
|
18432
|
+
return be[e] || xe[e];
|
|
18433
18433
|
}, e.cC = function(e, t, n) {
|
|
18434
18434
|
var r = t[0], i = t[1];
|
|
18435
18435
|
return e[0] = n[0] * r + n[4] * i + n[12], e[1] = n[1] * r + n[5] * i + n[13], e;
|
|
@@ -18438,10 +18438,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18438
18438
|
return !(e < 0 || e > 25 || r < 0 || r >= 1 || n < 0 || n >= 1);
|
|
18439
18439
|
}, e.cE = function(e, t) {
|
|
18440
18440
|
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;
|
|
18441
|
-
}, e.cF = class extends lo {}, e.cG =
|
|
18442
|
-
|
|
18441
|
+
}, e.cF = class extends lo {}, e.cG = ke, e.cH = function(e, t) {
|
|
18442
|
+
Ee.REGISTERED_PROTOCOLS[e] = t;
|
|
18443
18443
|
}, e.cI = function(e) {
|
|
18444
|
-
delete
|
|
18444
|
+
delete Ee.REGISTERED_PROTOCOLS[e];
|
|
18445
18445
|
}, e.cJ = function(e, t) {
|
|
18446
18446
|
let n = {};
|
|
18447
18447
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -18504,7 +18504,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18504
18504
|
let b = !1;
|
|
18505
18505
|
if ((n = o.icon) != null && n.name) {
|
|
18506
18506
|
let e = t.imageMap[o.icon.name];
|
|
18507
|
-
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 &&
|
|
18507
|
+
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 && ce("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));
|
|
18508
18508
|
}
|
|
18509
18509
|
let x = jh(g.horizontal) || g.vertical;
|
|
18510
18510
|
(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);
|
|
@@ -18540,13 +18540,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18540
18540
|
}, e.cV = Ll, e.cW = Pd, e.cX = Vm, e.cY = function(e, n, r, i, a) {
|
|
18541
18541
|
return t(this, void 0, void 0, (function* () {
|
|
18542
18542
|
if (u()) try {
|
|
18543
|
-
return yield
|
|
18543
|
+
return yield me(e, n, r, i, a);
|
|
18544
18544
|
} catch {}
|
|
18545
18545
|
return function(e, t, n, r, i) {
|
|
18546
18546
|
let a = e.width, o = e.height;
|
|
18547
|
-
|
|
18548
|
-
let s =
|
|
18549
|
-
return
|
|
18547
|
+
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);
|
|
18548
|
+
let s = ge.getImageData(t, n, r, i);
|
|
18549
|
+
return ge.clearRect(0, 0, a, o), s.data;
|
|
18550
18550
|
}(e, n, r, i, a);
|
|
18551
18551
|
}));
|
|
18552
18552
|
}, e.cZ = Ic, e.c_ = class {
|
|
@@ -18564,21 +18564,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18564
18564
|
}, e.ch = class extends uo {}, e.ci = class extends jo {}, e.cj = function(e, t) {
|
|
18565
18565
|
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];
|
|
18566
18566
|
}, e.ck = function(e, t) {
|
|
18567
|
-
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],
|
|
18568
|
-
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(_ -
|
|
18567
|
+
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];
|
|
18568
|
+
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));
|
|
18569
18569
|
}, e.cl = function(e, t) {
|
|
18570
18570
|
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;
|
|
18571
|
-
}, 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 =
|
|
18571
|
+
}, 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) {
|
|
18572
18572
|
if (t <= 0) return e;
|
|
18573
18573
|
let r = 1 / t;
|
|
18574
18574
|
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;
|
|
18575
18575
|
}, e.cx = function(e, t, n) {
|
|
18576
18576
|
let r = D(t.x - n.x, t.y - n.y), i = D(e.x - n.x, e.y - n.y);
|
|
18577
18577
|
var a, o;
|
|
18578
|
-
return
|
|
18579
|
-
}, e.cy =
|
|
18578
|
+
return ye(Math.atan2(r[0] * i[1] - r[1] * i[0], (a = r)[0] * (o = i)[0] + a[1] * o[1]));
|
|
18579
|
+
}, e.cy = P, e.cz = function(e, t) {
|
|
18580
18580
|
var n;
|
|
18581
|
-
if (!
|
|
18581
|
+
if (!xe[t]) return !1;
|
|
18582
18582
|
let r = e == null ? void 0 : e.target, i = ((n = r == null ? void 0 : r.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
18583
18583
|
return e instanceof i.MouseEvent || e instanceof i.WheelEvent;
|
|
18584
18584
|
}, e.d = A, e.d0 = class {
|
|
@@ -18674,7 +18674,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18674
18674
|
getClusterLeaves(e, t, n) {
|
|
18675
18675
|
return this.tileIndex.getLeaves(e, t, n);
|
|
18676
18676
|
}
|
|
18677
|
-
}, e.d1 = Fa, e.e =
|
|
18677
|
+
}, e.d1 = Fa, e.e = ne, e.f = Me, e.g = De, e.h = (e) => t(void 0, void 0, void 0, (function* () {
|
|
18678
18678
|
if (e.byteLength === 0) return createImageBitmap(new ImageData(1, 1));
|
|
18679
18679
|
let t = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18680
18680
|
try {
|
|
@@ -18682,18 +18682,18 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
18682
18682
|
} catch (e) {
|
|
18683
18683
|
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.`);
|
|
18684
18684
|
}
|
|
18685
|
-
})), e.i =
|
|
18685
|
+
})), e.i = ue, e.j = (e) => new Promise(((t, n) => {
|
|
18686
18686
|
let r = new Image();
|
|
18687
18687
|
r.onload = () => {
|
|
18688
|
-
t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src =
|
|
18688
|
+
t(r), URL.revokeObjectURL(r.src), r.onload = null, window.requestAnimationFrame((() => r.src = pe));
|
|
18689
18689
|
}, 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."));
|
|
18690
18690
|
let i = new Blob([new Uint8Array(e)], { type: "image/png" });
|
|
18691
|
-
r.src = e.byteLength ? URL.createObjectURL(i) :
|
|
18692
|
-
})), e.k = (e, t) =>
|
|
18691
|
+
r.src = e.byteLength ? URL.createObjectURL(i) : pe;
|
|
18692
|
+
})), e.k = (e, t) => je(ne(e, { type: "json" }), t), e.l = Ie, e.m = je, e.n = Fe, e.o = (e, t) => je(ne(e, { type: "arrayBuffer" }), t), e.p = Yd, e.q = function(e) {
|
|
18693
18693
|
return new Pd(e).readFields(Kd, []);
|
|
18694
18694
|
}, e.r = function(e) {
|
|
18695
18695
|
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));
|
|
18696
|
-
}, e.s =
|
|
18696
|
+
}, e.s = _e, e.t = Cc, e.u = Xa, e.v = sa, e.w = ce, e.x = I, e.y = Va, e.z = la;
|
|
18697
18697
|
})), n("worker", ["./shared"], (function(e) {
|
|
18698
18698
|
class t {
|
|
18699
18699
|
constructor(e, t) {
|
|
@@ -20237,12 +20237,12 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20237
20237
|
return Object.keys(this.active).length;
|
|
20238
20238
|
}
|
|
20239
20239
|
}
|
|
20240
|
-
let M = Math.floor(s.hardwareConcurrency / 2),
|
|
20241
|
-
function
|
|
20242
|
-
return
|
|
20240
|
+
let M = Math.floor(s.hardwareConcurrency / 2), N, ee;
|
|
20241
|
+
function P() {
|
|
20242
|
+
return N || (N = new j()), N;
|
|
20243
20243
|
}
|
|
20244
20244
|
j.workerCount = t.L(globalThis) ? Math.max(Math.min(M, 3), 1) : 1;
|
|
20245
|
-
class
|
|
20245
|
+
class te {
|
|
20246
20246
|
constructor(e, n) {
|
|
20247
20247
|
this.workerPool = e, this.actors = [], this.currentActor = 0, this.id = n;
|
|
20248
20248
|
let r = this.workerPool.acquire(n);
|
|
@@ -20274,10 +20274,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20274
20274
|
for (let t of this.actors) t.unregisterMessageHandler(e);
|
|
20275
20275
|
}
|
|
20276
20276
|
}
|
|
20277
|
-
function
|
|
20278
|
-
return
|
|
20277
|
+
function F() {
|
|
20278
|
+
return ee || (ee = new te(P(), t.M), ee.registerMessageHandler("GR", ((e, n, r) => t.m(n, r)))), ee;
|
|
20279
20279
|
}
|
|
20280
|
-
function
|
|
20280
|
+
function ne(e, n) {
|
|
20281
20281
|
let r = t.O();
|
|
20282
20282
|
return t.Q(r, r, [
|
|
20283
20283
|
1,
|
|
@@ -20289,7 +20289,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20289
20289
|
1
|
|
20290
20290
|
]), e.calculatePosMatrix ? t.U(r, r, e.calculatePosMatrix(n.toUnwrapped())) : r;
|
|
20291
20291
|
}
|
|
20292
|
-
function
|
|
20292
|
+
function re(e, t, n, r, i, a, o) {
|
|
20293
20293
|
var s;
|
|
20294
20294
|
let c = function(e, t, n) {
|
|
20295
20295
|
if (e) for (let r of e) {
|
|
@@ -20302,14 +20302,14 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20302
20302
|
}
|
|
20303
20303
|
return !1;
|
|
20304
20304
|
}((s = i == null ? void 0 : i.layers) == null ? null : s, t, e.id), l = a.maxPitchScaleFactor(), u = e.tilesIn(r, l, c);
|
|
20305
|
-
u.sort(
|
|
20305
|
+
u.sort(ie);
|
|
20306
20306
|
let d = [];
|
|
20307
20307
|
for (let r of u) d.push({
|
|
20308
20308
|
wrappedTileID: r.tileID.wrapped().key,
|
|
20309
|
-
queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l,
|
|
20309
|
+
queryResults: r.tile.queryRenderedFeatures(t, n, e.getState(), r.queryGeometry, r.cameraQueryGeometry, r.scale, i, a, l, ne(a, r.tileID), o ? (e, t) => o(r.tileID, e, t) : void 0)
|
|
20310
20310
|
});
|
|
20311
20311
|
return function(e, t) {
|
|
20312
|
-
for (let n in e) for (let r of e[n])
|
|
20312
|
+
for (let n in e) for (let r of e[n]) ae(r, t);
|
|
20313
20313
|
return e;
|
|
20314
20314
|
}(function(e) {
|
|
20315
20315
|
let t = {}, n = {};
|
|
@@ -20327,15 +20327,15 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20327
20327
|
return t;
|
|
20328
20328
|
}(d), e);
|
|
20329
20329
|
}
|
|
20330
|
-
function
|
|
20330
|
+
function ie(e, t) {
|
|
20331
20331
|
let n = e.tileID, r = t.tileID;
|
|
20332
20332
|
return n.overscaledZ - r.overscaledZ || n.canonical.y - r.canonical.y || n.wrap - r.wrap || n.canonical.x - r.canonical.x;
|
|
20333
20333
|
}
|
|
20334
|
-
function
|
|
20334
|
+
function ae(e, t) {
|
|
20335
20335
|
let n = e.feature, r = t.getFeatureState(n.layer["source-layer"], n.id);
|
|
20336
20336
|
n.source = n.layer.source, n.layer["source-layer"] && (n.sourceLayer = n.layer["source-layer"]), n.state = r;
|
|
20337
20337
|
}
|
|
20338
|
-
function
|
|
20338
|
+
function oe(e, n, r, i) {
|
|
20339
20339
|
return t._(this, void 0, void 0, (function* () {
|
|
20340
20340
|
let a = e;
|
|
20341
20341
|
if (e.url ? a = (yield t.k(yield n.transformRequest(e.url, "Source"), r)).data : yield s.frameAsync(r, i), !a) return null;
|
|
@@ -20352,7 +20352,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20352
20352
|
return "vector_layers" in a && a.vector_layers && (o.vectorLayerIds = a.vector_layers.map(((e) => e.id))), o;
|
|
20353
20353
|
}));
|
|
20354
20354
|
}
|
|
20355
|
-
class
|
|
20355
|
+
class se {
|
|
20356
20356
|
constructor(e, t) {
|
|
20357
20357
|
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])));
|
|
20358
20358
|
}
|
|
@@ -20366,7 +20366,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20366
20366
|
let n = this._sw, r = this._ne, i, a;
|
|
20367
20367
|
if (e instanceof t.W) i = e, a = e;
|
|
20368
20368
|
else {
|
|
20369
|
-
if (!(e instanceof
|
|
20369
|
+
if (!(e instanceof se)) return Array.isArray(e) ? e.length === 4 || e.every(Array.isArray) ? this.extend(se.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;
|
|
20370
20370
|
if (i = e._sw, a = e._ne, !i || !a) return this;
|
|
20371
20371
|
}
|
|
20372
20372
|
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;
|
|
@@ -20412,27 +20412,27 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20412
20412
|
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;
|
|
20413
20413
|
}
|
|
20414
20414
|
intersects(e) {
|
|
20415
|
-
if (!((e =
|
|
20415
|
+
if (!((e = se.convert(e)).getNorth() >= this.getSouth() && e.getSouth() <= this.getNorth())) return !1;
|
|
20416
20416
|
let n = Math.abs(this.getEast() - this.getWest()), r = Math.abs(e.getEast() - e.getWest());
|
|
20417
20417
|
if (n >= 360 || r >= 360) return !0;
|
|
20418
20418
|
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;
|
|
20419
20419
|
return !(!c || !l) || (c ? s >= i || o <= a : l ? a >= o || i <= s : o <= a && s >= i);
|
|
20420
20420
|
}
|
|
20421
20421
|
static convert(e) {
|
|
20422
|
-
return e instanceof
|
|
20422
|
+
return e instanceof se ? e : e && new se(e);
|
|
20423
20423
|
}
|
|
20424
20424
|
static fromLngLat(e, n = 0) {
|
|
20425
20425
|
let r = 360 * n / 40075017, i = r / Math.cos(Math.PI / 180 * e.lat);
|
|
20426
|
-
return new
|
|
20426
|
+
return new se(new t.W(e.lng - i, e.lat - r), new t.W(e.lng + i, e.lat + r));
|
|
20427
20427
|
}
|
|
20428
20428
|
adjustAntiMeridian() {
|
|
20429
20429
|
let e = new t.W(this._sw.lng, this._sw.lat), n = new t.W(this._ne.lng, this._ne.lat);
|
|
20430
|
-
return new
|
|
20430
|
+
return new se(e, e.lng > n.lng ? new t.W(n.lng + 360, n.lat) : n);
|
|
20431
20431
|
}
|
|
20432
20432
|
}
|
|
20433
|
-
class
|
|
20433
|
+
class ce {
|
|
20434
20434
|
constructor(e, t, n) {
|
|
20435
|
-
this.bounds =
|
|
20435
|
+
this.bounds = se.convert(this.validateBounds(e)), this.minzoom = t || 0, this.maxzoom = n || 24;
|
|
20436
20436
|
}
|
|
20437
20437
|
validateBounds(e) {
|
|
20438
20438
|
return Array.isArray(e) && e.length === 4 ? [
|
|
@@ -20452,7 +20452,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20452
20452
|
return e.x >= r && e.x < a && e.y >= i && e.y < o;
|
|
20453
20453
|
}
|
|
20454
20454
|
}
|
|
20455
|
-
class
|
|
20455
|
+
class le extends t.E {
|
|
20456
20456
|
constructor(e, n, r, i) {
|
|
20457
20457
|
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, [
|
|
20458
20458
|
"url",
|
|
@@ -20467,8 +20467,8 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20467
20467
|
return t._(this, arguments, void 0, (function* (e = !1) {
|
|
20468
20468
|
this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
|
|
20469
20469
|
try {
|
|
20470
|
-
let n = yield
|
|
20471
|
-
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new
|
|
20470
|
+
let n = yield oe(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
|
|
20471
|
+
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ce(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
|
|
20472
20472
|
dataType: "source",
|
|
20473
20473
|
sourceDataType: "metadata"
|
|
20474
20474
|
})), this.fire(new t.n("data", {
|
|
@@ -20598,7 +20598,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20598
20598
|
return !1;
|
|
20599
20599
|
}
|
|
20600
20600
|
}
|
|
20601
|
-
class
|
|
20601
|
+
class ue extends t.E {
|
|
20602
20602
|
constructor(e, n, r, i) {
|
|
20603
20603
|
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, [
|
|
20604
20604
|
"url",
|
|
@@ -20610,8 +20610,8 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20610
20610
|
return t._(this, arguments, void 0, (function* (e = !1) {
|
|
20611
20611
|
this._loaded = !1, this.fire(new t.n("dataloading", { dataType: "source" })), this._tileJSONRequest = new AbortController();
|
|
20612
20612
|
try {
|
|
20613
|
-
let n = yield
|
|
20614
|
-
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new
|
|
20613
|
+
let n = yield oe(this._options, this.map._requestManager, this._tileJSONRequest, this.map._ownerWindow);
|
|
20614
|
+
this._tileJSONRequest = null, this._loaded = !0, n && (t.e(this, n), n.bounds && (this.tileBounds = new ce(n.bounds, this.minzoom, this.maxzoom)), this.fire(new t.n("data", {
|
|
20615
20615
|
dataType: "source",
|
|
20616
20616
|
sourceDataType: "metadata"
|
|
20617
20617
|
})), this.fire(new t.n("data", {
|
|
@@ -20687,7 +20687,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20687
20687
|
return !1;
|
|
20688
20688
|
}
|
|
20689
20689
|
}
|
|
20690
|
-
class
|
|
20690
|
+
class de extends ue {
|
|
20691
20691
|
constructor(e, n, r, i) {
|
|
20692
20692
|
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;
|
|
20693
20693
|
}
|
|
@@ -20758,10 +20758,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20758
20758
|
}));
|
|
20759
20759
|
}
|
|
20760
20760
|
}
|
|
20761
|
-
function
|
|
20761
|
+
function fe(e, t) {
|
|
20762
20762
|
return t ? e.properties[t] : e.id;
|
|
20763
20763
|
}
|
|
20764
|
-
function
|
|
20764
|
+
function pe(e, t) {
|
|
20765
20765
|
let n = { id: e.id };
|
|
20766
20766
|
if (t.removeAllProperties && (delete e.removeProperties, delete e.addOrUpdateProperties, delete t.removeProperties), t.removeProperties) for (let n of t.removeProperties) {
|
|
20767
20767
|
let t = e.addOrUpdateProperties.findIndex(((e) => e.key === n));
|
|
@@ -20769,28 +20769,28 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20769
20769
|
}
|
|
20770
20770
|
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;
|
|
20771
20771
|
}
|
|
20772
|
-
function
|
|
20772
|
+
function me(e) {
|
|
20773
20773
|
var t, n;
|
|
20774
20774
|
if (!e) return {};
|
|
20775
20775
|
let r = {};
|
|
20776
20776
|
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;
|
|
20777
20777
|
}
|
|
20778
|
+
function he(e) {
|
|
20779
|
+
return e && e.length !== 0 ? typeof e[0] == "number" ? [e] : e.flatMap(((e) => he(e))) : [];
|
|
20780
|
+
}
|
|
20778
20781
|
function ge(e) {
|
|
20779
|
-
return e
|
|
20782
|
+
return e.type === "GeometryCollection" ? e.geometries.flatMap(((e) => ge(e))) : he(e.coordinates);
|
|
20780
20783
|
}
|
|
20781
20784
|
function _e(e) {
|
|
20782
|
-
|
|
20783
|
-
}
|
|
20784
|
-
function ve(e) {
|
|
20785
|
-
let t = new ce(), n;
|
|
20785
|
+
let t = new se(), n;
|
|
20786
20786
|
switch (e.type) {
|
|
20787
20787
|
case "FeatureCollection":
|
|
20788
|
-
n = e.features.flatMap(((e) =>
|
|
20788
|
+
n = e.features.flatMap(((e) => ge(e.geometry)));
|
|
20789
20789
|
break;
|
|
20790
20790
|
case "Feature":
|
|
20791
|
-
n =
|
|
20791
|
+
n = ge(e.geometry);
|
|
20792
20792
|
break;
|
|
20793
|
-
default: n =
|
|
20793
|
+
default: n = ge(e);
|
|
20794
20794
|
}
|
|
20795
20795
|
if (n.length === 0) return t;
|
|
20796
20796
|
for (let e of n) {
|
|
@@ -20799,7 +20799,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20799
20799
|
}
|
|
20800
20800
|
return t;
|
|
20801
20801
|
}
|
|
20802
|
-
class
|
|
20802
|
+
class ve extends t.E {
|
|
20803
20803
|
constructor(e, n, r, i) {
|
|
20804
20804
|
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({
|
|
20805
20805
|
source: this.id,
|
|
@@ -20852,13 +20852,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20852
20852
|
this._pendingWorkerUpdate.diff = function(e, t) {
|
|
20853
20853
|
if (!e) return t || {};
|
|
20854
20854
|
if (!t) return e || {};
|
|
20855
|
-
let n =
|
|
20855
|
+
let n = me(e), r = me(t);
|
|
20856
20856
|
(function(e, t) {
|
|
20857
20857
|
t.removeAll && (e.add.clear(), e.update.clear(), e.remove.clear(), t.remove.clear());
|
|
20858
20858
|
for (let n of t.remove) e.add.delete(n), e.update.delete(n);
|
|
20859
20859
|
for (let [n, r] of t.update) {
|
|
20860
20860
|
let i = e.update.get(n);
|
|
20861
|
-
i && (t.update.set(n,
|
|
20861
|
+
i && (t.update.set(n, pe(i, r)), e.update.delete(n));
|
|
20862
20862
|
}
|
|
20863
20863
|
})(n, r);
|
|
20864
20864
|
let i = {};
|
|
@@ -20881,7 +20881,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20881
20881
|
}
|
|
20882
20882
|
getBounds() {
|
|
20883
20883
|
return t._(this, void 0, void 0, (function* () {
|
|
20884
|
-
return
|
|
20884
|
+
return _e(yield this.getData());
|
|
20885
20885
|
}));
|
|
20886
20886
|
}
|
|
20887
20887
|
setClusterOptions(e) {
|
|
@@ -20972,13 +20972,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20972
20972
|
let n = /* @__PURE__ */ new Map();
|
|
20973
20973
|
if (e == null || e.type == null) return n;
|
|
20974
20974
|
if (e.type === "Feature") {
|
|
20975
|
-
let r =
|
|
20975
|
+
let r = fe(e, t);
|
|
20976
20976
|
return r == null ? void 0 : (n.set(r, e), n);
|
|
20977
20977
|
}
|
|
20978
20978
|
if (e.type === "FeatureCollection") {
|
|
20979
20979
|
let r = /* @__PURE__ */ new Set();
|
|
20980
20980
|
for (let i of e.features) {
|
|
20981
|
-
let e =
|
|
20981
|
+
let e = fe(i, t);
|
|
20982
20982
|
if (e == null || r.has(e)) return;
|
|
20983
20983
|
r.add(e), n.set(e, i);
|
|
20984
20984
|
}
|
|
@@ -20998,7 +20998,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
20998
20998
|
t && (a.push(t.geometry), e.delete(n));
|
|
20999
20999
|
}
|
|
21000
21000
|
if (t.add) for (let r of t.add) {
|
|
21001
|
-
let t =
|
|
21001
|
+
let t = fe(r, n);
|
|
21002
21002
|
if (t == null) continue;
|
|
21003
21003
|
let i = e.get(t);
|
|
21004
21004
|
i && a.push(i.geometry), a.push(r.geometry), e.set(t, r);
|
|
@@ -21020,14 +21020,14 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21020
21020
|
return e.removeAll || this._options.cluster ? void 0 : n;
|
|
21021
21021
|
}
|
|
21022
21022
|
_getShouldReloadTileOptions(e) {
|
|
21023
|
-
if (e) return { affectedBounds: e.filter(Boolean).map(((e) =>
|
|
21023
|
+
if (e) return { affectedBounds: e.filter(Boolean).map(((e) => _e(e))) };
|
|
21024
21024
|
}
|
|
21025
21025
|
shouldReloadTile(e, { affectedBounds: n }) {
|
|
21026
21026
|
if (e.state === "loading") return !0;
|
|
21027
21027
|
if (e.state === "unloaded") return !1;
|
|
21028
21028
|
let { buffer: r, extent: i } = this.workerOptions.geojsonVtOptions, a = function({ x: e, y: n, z: r }, i = 0) {
|
|
21029
21029
|
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);
|
|
21030
|
-
return new
|
|
21030
|
+
return new se([a, o], [s, c]);
|
|
21031
21031
|
}(e.tileID.canonical, r / i);
|
|
21032
21032
|
for (let e of n) if (a.intersects(e)) return !0;
|
|
21033
21033
|
return !1;
|
|
@@ -21099,7 +21099,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21099
21099
|
return !1;
|
|
21100
21100
|
}
|
|
21101
21101
|
}
|
|
21102
|
-
class
|
|
21102
|
+
class ye extends t.E {
|
|
21103
21103
|
constructor(e, t, n, r) {
|
|
21104
21104
|
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;
|
|
21105
21105
|
}
|
|
@@ -21191,7 +21191,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21191
21191
|
return o;
|
|
21192
21192
|
}
|
|
21193
21193
|
}
|
|
21194
|
-
class
|
|
21194
|
+
class be extends ye {
|
|
21195
21195
|
constructor(e, t, n, r) {
|
|
21196
21196
|
super(e, t, n, r), this._onPlayingHandler = () => {
|
|
21197
21197
|
var e;
|
|
@@ -21260,7 +21260,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21260
21260
|
return this.video && !this.video.paused;
|
|
21261
21261
|
}
|
|
21262
21262
|
}
|
|
21263
|
-
class
|
|
21263
|
+
class xe extends ye {
|
|
21264
21264
|
constructor(e, n, r, i) {
|
|
21265
21265
|
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;
|
|
21266
21266
|
}
|
|
@@ -21314,21 +21314,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21314
21314
|
return !1;
|
|
21315
21315
|
}
|
|
21316
21316
|
}
|
|
21317
|
-
let
|
|
21317
|
+
let Se = {}, Ce = (e) => {
|
|
21318
21318
|
switch (e) {
|
|
21319
|
-
case "geojson": return
|
|
21320
|
-
case "image": return
|
|
21321
|
-
case "raster": return
|
|
21322
|
-
case "raster-dem": return
|
|
21323
|
-
case "vector": return
|
|
21324
|
-
case "video": return
|
|
21325
|
-
case "canvas": return
|
|
21326
|
-
}
|
|
21327
|
-
return
|
|
21328
|
-
},
|
|
21329
|
-
class
|
|
21319
|
+
case "geojson": return ve;
|
|
21320
|
+
case "image": return ye;
|
|
21321
|
+
case "raster": return ue;
|
|
21322
|
+
case "raster-dem": return de;
|
|
21323
|
+
case "vector": return le;
|
|
21324
|
+
case "video": return be;
|
|
21325
|
+
case "canvas": return xe;
|
|
21326
|
+
}
|
|
21327
|
+
return Se[e];
|
|
21328
|
+
}, we = "RTLPluginLoaded";
|
|
21329
|
+
class Te extends t.E {
|
|
21330
21330
|
constructor() {
|
|
21331
|
-
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher =
|
|
21331
|
+
super(...arguments), this.status = "unavailable", this.url = null, this.dispatcher = F();
|
|
21332
21332
|
}
|
|
21333
21333
|
_syncState(e) {
|
|
21334
21334
|
return this.status = e, this.dispatcher.broadcast("SRPS", {
|
|
@@ -21356,24 +21356,24 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21356
21356
|
}
|
|
21357
21357
|
_requestImport() {
|
|
21358
21358
|
return t._(this, void 0, void 0, (function* () {
|
|
21359
|
-
yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(
|
|
21359
|
+
yield this._syncState("loading"), this.status = "loaded", this.fire(new t.n(we));
|
|
21360
21360
|
}));
|
|
21361
21361
|
}
|
|
21362
21362
|
lazyLoad() {
|
|
21363
21363
|
this.status === "unavailable" ? this.status = "requested" : this.status === "deferred" && this._requestImport();
|
|
21364
21364
|
}
|
|
21365
21365
|
}
|
|
21366
|
-
let
|
|
21367
|
-
function
|
|
21368
|
-
return
|
|
21366
|
+
let Ee = null;
|
|
21367
|
+
function De() {
|
|
21368
|
+
return Ee || (Ee = new Te()), Ee;
|
|
21369
21369
|
}
|
|
21370
|
-
var
|
|
21370
|
+
var Oe, ke;
|
|
21371
21371
|
(function(e) {
|
|
21372
21372
|
e[e.Base = 0] = "Base", e[e.Parent = 1] = "Parent";
|
|
21373
|
-
})(
|
|
21373
|
+
})(Oe || (Oe = {})), function(e) {
|
|
21374
21374
|
e[e.Departing = 0] = "Departing", e[e.Incoming = 1] = "Incoming";
|
|
21375
|
-
}(
|
|
21376
|
-
class
|
|
21375
|
+
}(ke || (ke = {}));
|
|
21376
|
+
class Ae {
|
|
21377
21377
|
constructor(e, n) {
|
|
21378
21378
|
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";
|
|
21379
21379
|
}
|
|
@@ -21419,7 +21419,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21419
21419
|
if (this.hasRTLText = !1, this.hasSymbolBuckets) for (let e in this.buckets) {
|
|
21420
21420
|
let n = this.buckets[e];
|
|
21421
21421
|
if (n instanceof t.af && n.hasRTLText) {
|
|
21422
|
-
this.hasRTLText = !0,
|
|
21422
|
+
this.hasRTLText = !0, De().lazyLoad();
|
|
21423
21423
|
break;
|
|
21424
21424
|
}
|
|
21425
21425
|
}
|
|
@@ -21551,7 +21551,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21551
21551
|
return !1;
|
|
21552
21552
|
}
|
|
21553
21553
|
}
|
|
21554
|
-
class
|
|
21554
|
+
class je {
|
|
21555
21555
|
constructor() {
|
|
21556
21556
|
this.state = {}, this.stateChanges = {}, this.deletedStates = {}, this.revision = 0;
|
|
21557
21557
|
}
|
|
@@ -21611,18 +21611,18 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21611
21611
|
this.stateChanges = {}, this.deletedStates = {}, Object.keys(o).length !== 0 && (this.revision++, e.setFeatureState(o, n));
|
|
21612
21612
|
}
|
|
21613
21613
|
}
|
|
21614
|
-
let
|
|
21615
|
-
function
|
|
21614
|
+
let Me = 89.25;
|
|
21615
|
+
function Ne(e, n) {
|
|
21616
21616
|
let r = t.al(n.lat, -t.am, t.am);
|
|
21617
21617
|
return new t.P(t.Z(n.lng) * e, t.Y(r) * e);
|
|
21618
21618
|
}
|
|
21619
|
-
function
|
|
21619
|
+
function Pe(e, n) {
|
|
21620
21620
|
return new t.a7(n.x / e, n.y / e).toLngLat();
|
|
21621
21621
|
}
|
|
21622
|
-
function
|
|
21623
|
-
return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(
|
|
21622
|
+
function Fe(e) {
|
|
21623
|
+
return e.cameraToCenterDistance * Math.min(.85 * Math.tan(t.an(90 - e.pitch)), Math.tan(t.an(Me - e.pitch)));
|
|
21624
21624
|
}
|
|
21625
|
-
function
|
|
21625
|
+
function Ie(e, n) {
|
|
21626
21626
|
let r = e.canonical, i = n / t.ao(r.z), a = r.x + 2 ** r.z * e.wrap, o = t.ap(new Float64Array(16));
|
|
21627
21627
|
return t.Q(o, o, [
|
|
21628
21628
|
a * i,
|
|
@@ -21634,11 +21634,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21634
21634
|
1
|
|
21635
21635
|
]), o;
|
|
21636
21636
|
}
|
|
21637
|
-
function
|
|
21638
|
-
let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } =
|
|
21637
|
+
function Le(e, n, r, i, a) {
|
|
21638
|
+
let o = t.a7.fromLngLat(e, n), s = a * t.aq(1, e.lat), { x: c, y: l, z: u } = I(r, i);
|
|
21639
21639
|
return new t.a7(o.x + s * -c, o.y + s * -l, o.z + s * -u);
|
|
21640
21640
|
}
|
|
21641
|
-
function
|
|
21641
|
+
function I(e, n) {
|
|
21642
21642
|
let r = t.an(e), i = t.an(n), a = Math.cos(-r), o = Math.sin(r);
|
|
21643
21643
|
return {
|
|
21644
21644
|
x: o * Math.sin(i),
|
|
@@ -21646,24 +21646,24 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21646
21646
|
z: a
|
|
21647
21647
|
};
|
|
21648
21648
|
}
|
|
21649
|
-
function
|
|
21649
|
+
function Re(e, t, n) {
|
|
21650
21650
|
let r = t.intersectsFrustum(e);
|
|
21651
21651
|
if (!n || r === 0) return r;
|
|
21652
21652
|
let i = t.intersectsPlane(n);
|
|
21653
21653
|
return i === 0 ? 0 : r === 2 && i === 2 ? 2 : 1;
|
|
21654
21654
|
}
|
|
21655
|
-
function
|
|
21655
|
+
function ze(e, t, n) {
|
|
21656
21656
|
let r = 0, i = (n - t) / 10;
|
|
21657
21657
|
for (let a = 0; a < 10; a++) r += i * Math.cos(t + (a + .5) / 10 * (n - t)) ** +e;
|
|
21658
21658
|
return r;
|
|
21659
21659
|
}
|
|
21660
|
-
function
|
|
21660
|
+
function R(e, n) {
|
|
21661
21661
|
return function(r, i, a, o, s) {
|
|
21662
|
-
let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(
|
|
21662
|
+
let c = 2 * ((e - 1) / t.ar(Math.cos(t.an(Me - s)) / Math.cos(t.an(Me))) - 1), l = Math.acos(a / o), u = 2 * ze(c - 1, 0, t.an(s / 2)), d = Math.min(t.an(Me), l + t.an(s / 2)), f = ze(c - 1, Math.min(d, l - t.an(s / 2)), d), p = Math.atan(i / a), m = Math.hypot(i, a), h = r;
|
|
21663
21663
|
return h += t.ar(o / m / Math.max(.5, Math.cos(t.an(s / 2)))), h += c * t.ar(Math.cos(p)) / 2, h -= t.ar(Math.max(1, f / u / n)) / 2, h;
|
|
21664
21664
|
};
|
|
21665
21665
|
}
|
|
21666
|
-
let
|
|
21666
|
+
let Be = R(9.314, 3);
|
|
21667
21667
|
function Ve(e, n) {
|
|
21668
21668
|
let r = (n.roundZoom ? Math.round : Math.floor)(e.zoom + t.ar(e.tileSize / n.tileSize));
|
|
21669
21669
|
return Math.max(0, r);
|
|
@@ -21694,12 +21694,12 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21694
21694
|
z: p.zoom
|
|
21695
21695
|
}, w = s.getTileBoundingVolume(C, p.wrap, e.elevation, n);
|
|
21696
21696
|
if (!S) {
|
|
21697
|
-
let e =
|
|
21697
|
+
let e = Re(r, w, i);
|
|
21698
21698
|
if (e === 0) continue;
|
|
21699
21699
|
S = e === 2;
|
|
21700
21700
|
}
|
|
21701
21701
|
let T = s.distanceToTile2d(a.x, a.y, C, w), E = l;
|
|
21702
|
-
c && (E = (n.calculateTileZoom ||
|
|
21702
|
+
c && (E = (n.calculateTileZoom || Be)(e.zoom + t.ar(e.tileSize / n.tileSize), T, _, v, e.fov)), E = (n.roundZoom ? Math.round : Math.floor)(E), E = Math.max(0, E);
|
|
21703
21703
|
let D = Math.min(E, d);
|
|
21704
21704
|
if (p.wrap = s.getWrap(o, C, p.wrap), p.zoom >= D) {
|
|
21705
21705
|
if (p.zoom < u) continue;
|
|
@@ -21726,18 +21726,18 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21726
21726
|
function Ge(e, t, n, r, i, a, o) {
|
|
21727
21727
|
if (!t.hasData()) return !1;
|
|
21728
21728
|
let { tileID: s, fadingRole: c, fadingDirection: l, fadingParentID: u } = t;
|
|
21729
|
-
if (c ===
|
|
21729
|
+
if (c === Oe.Base && l === ke.Incoming && u) return n[u.key] = u, !0;
|
|
21730
21730
|
let d = Math.max(s.overscaledZ - i, a);
|
|
21731
21731
|
for (let i = s.overscaledZ - 1; i >= d; i--) {
|
|
21732
21732
|
let a = s.scaledTo(i), c = e.getLoadedTile(a);
|
|
21733
21733
|
if (c) return t.setCrossFadeLogic({
|
|
21734
|
-
fadingRole:
|
|
21735
|
-
fadingDirection:
|
|
21734
|
+
fadingRole: Oe.Base,
|
|
21735
|
+
fadingDirection: ke.Incoming,
|
|
21736
21736
|
fadingParentID: c.tileID,
|
|
21737
21737
|
fadeEndTime: r + o
|
|
21738
21738
|
}), c.setCrossFadeLogic({
|
|
21739
|
-
fadingRole:
|
|
21740
|
-
fadingDirection:
|
|
21739
|
+
fadingRole: Oe.Parent,
|
|
21740
|
+
fadingDirection: ke.Departing,
|
|
21741
21741
|
fadeEndTime: r + o
|
|
21742
21742
|
}), n[a.key] = a, !0;
|
|
21743
21743
|
}
|
|
@@ -21757,14 +21757,14 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21757
21757
|
let n = e.getLoadedTile(a);
|
|
21758
21758
|
if (!n) continue;
|
|
21759
21759
|
let { fadingRole: c, fadingDirection: l, fadingParentID: u } = n;
|
|
21760
|
-
c ===
|
|
21761
|
-
fadingRole:
|
|
21762
|
-
fadingDirection:
|
|
21760
|
+
c === Oe.Base && l === ke.Departing && u || (n.setCrossFadeLogic({
|
|
21761
|
+
fadingRole: Oe.Base,
|
|
21762
|
+
fadingDirection: ke.Departing,
|
|
21763
21763
|
fadingParentID: t.tileID,
|
|
21764
21764
|
fadeEndTime: i + o
|
|
21765
21765
|
}), t.setCrossFadeLogic({
|
|
21766
|
-
fadingRole:
|
|
21767
|
-
fadingDirection:
|
|
21766
|
+
fadingRole: Oe.Parent,
|
|
21767
|
+
fadingDirection: ke.Incoming,
|
|
21768
21768
|
fadeEndTime: i + o
|
|
21769
21769
|
})), r[a.key] = a, s = !0;
|
|
21770
21770
|
}
|
|
@@ -21836,10 +21836,10 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
21836
21836
|
})), this.on("error", (() => {
|
|
21837
21837
|
this._sourceErrored = this._source.loaded();
|
|
21838
21838
|
})), this._source = ((e, t, n, r) => {
|
|
21839
|
-
let i = new (
|
|
21839
|
+
let i = new (Ce(t.type))(e, t, n, r);
|
|
21840
21840
|
if (i.id !== e) throw Error(`Expected Source id to be ${e} instead of ${i.id}`);
|
|
21841
21841
|
return i;
|
|
21842
|
-
})(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
|
|
21842
|
+
})(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;
|
|
21843
21843
|
}
|
|
21844
21844
|
onAdd(e) {
|
|
21845
21845
|
var t;
|
|
@@ -22013,7 +22013,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
22013
22013
|
let c = l(), u = t.at(n);
|
|
22014
22014
|
for (let t of n) {
|
|
22015
22015
|
let n = e.getTileById(t.key);
|
|
22016
|
-
n.fadingDirection !==
|
|
22016
|
+
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();
|
|
22017
22017
|
}
|
|
22018
22018
|
}(this._inViewTiles, r, o, this._maxFadingAncestorLevels, this._source.minzoom, this._source.maxzoom, this._rasterFadeDuration), s ? this._cleanUpRasterTiles(o) : this._cleanUpVectorTiles(o);
|
|
22019
22019
|
}
|
|
@@ -22062,7 +22062,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
22062
22062
|
if (n) return n;
|
|
22063
22063
|
n = this._outOfViewCache.getAndRemove(e), n && (n.resetFadeLogic(), this._setTileReloadTimer(e.key, n), n.tileID = e, this._state.initializeTileState(n, this.map ? this.map.painter : null));
|
|
22064
22064
|
let r = n;
|
|
22065
|
-
return n || (n = new
|
|
22065
|
+
return n || (n = new Ae(e, this._source.tileSize * e.overscaleFactor()), this._loadTile(n, e.key, n.state)), n.uses++, this._inViewTiles.setTile(e.key, n), r || this._source.fire(new t.n("dataloading", {
|
|
22066
22066
|
tile: n,
|
|
22067
22067
|
coord: n.tileID,
|
|
22068
22068
|
dataType: "source"
|
|
@@ -23012,15 +23012,15 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23012
23012
|
var w, A;
|
|
23013
23013
|
if (n[e.crossTileID]) return;
|
|
23014
23014
|
if (d) return void (this.placements[e.crossTileID] = new St(!1, !1, !1));
|
|
23015
|
-
let j = !1, M = !1,
|
|
23015
|
+
let j = !1, M = !1, N = !0, ee = null, P = {
|
|
23016
23016
|
box: null,
|
|
23017
23017
|
placeable: !1,
|
|
23018
23018
|
offscreen: null,
|
|
23019
23019
|
occluded: !1
|
|
23020
|
-
},
|
|
23021
|
-
f.textFeatureIndex ?
|
|
23022
|
-
let
|
|
23023
|
-
if (
|
|
23020
|
+
}, te = { placeable: !1 }, F = null, ne = null, re = null, ie = 0, ae = 0, oe = 0;
|
|
23021
|
+
f.textFeatureIndex ? ie = f.textFeatureIndex : e.useRuntimeCollisionCircles && (ie = e.featureIndex), f.verticalTextFeatureIndex && (ae = f.verticalTextFeatureIndex);
|
|
23022
|
+
let se = f.textBox;
|
|
23023
|
+
if (se) {
|
|
23024
23024
|
let n = (n) => {
|
|
23025
23025
|
let r = t.ax.horizontal;
|
|
23026
23026
|
if (i.allowVerticalPlacement && !n && this.prevPlacement) {
|
|
@@ -23030,21 +23030,21 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23030
23030
|
return r;
|
|
23031
23031
|
}, a = (n, r) => {
|
|
23032
23032
|
if (i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && f.verticalTextBox) {
|
|
23033
|
-
for (let e of i.writingModes) if (e === t.ax.vertical ? (
|
|
23034
|
-
} else
|
|
23033
|
+
for (let e of i.writingModes) if (e === t.ax.vertical ? (P = r(), te = P) : P = n(), P != null && P.placeable) break;
|
|
23034
|
+
} else P = n();
|
|
23035
23035
|
}, l = e.textAnchorOffsetStartIndex, d = e.textAnchorOffsetEndIndex;
|
|
23036
23036
|
if (d === l) {
|
|
23037
23037
|
let r = (t, n) => {
|
|
23038
23038
|
let r = this.collisionIndex.placeCollisionBox(t, _, u, D, c, S, x, o, m.predicate, O, void 0, k);
|
|
23039
23039
|
return r != null && r.placeable && (this.markUsedOrientation(i, n, e), this.placedOrientations[e.crossTileID] = n), r;
|
|
23040
23040
|
};
|
|
23041
|
-
a((() => r(
|
|
23041
|
+
a((() => r(se, t.ax.horizontal)), (() => {
|
|
23042
23042
|
let n = f.verticalTextBox;
|
|
23043
23043
|
return i.allowVerticalPlacement && e.numVerticalGlyphVertices > 0 && n ? r(n, t.ax.vertical) : {
|
|
23044
23044
|
box: null,
|
|
23045
23045
|
offscreen: null
|
|
23046
23046
|
};
|
|
23047
|
-
})), n(
|
|
23047
|
+
})), n(P == null ? void 0 : P.placeable);
|
|
23048
23048
|
} else {
|
|
23049
23049
|
let p = t.aM[(A = (w = this.prevPlacement) == null ? void 0 : w.variableOffsets[e.crossTileID]) == null ? void 0 : A.anchor], h = (t, n, a) => {
|
|
23050
23050
|
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";
|
|
@@ -23054,46 +23054,46 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23054
23054
|
let r = i.textAnchorOffsets.get(n);
|
|
23055
23055
|
if (p && r.textAnchor !== p) continue;
|
|
23056
23056
|
let l = this.attemptAnchorPlacement(r, t, f, h, g, x, S, u, D, c, m, T, e, i, a, o, s, v, O);
|
|
23057
|
-
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0,
|
|
23057
|
+
if (l && (b = l.placedGlyphBoxes, b != null && b.placeable)) return j = !0, ee = l.shift, b;
|
|
23058
23058
|
}
|
|
23059
23059
|
p ? p = null : T = _;
|
|
23060
23060
|
}
|
|
23061
23061
|
return r && !b && (b = {
|
|
23062
|
-
box: this.collisionIndex.placeCollisionBox(
|
|
23062
|
+
box: this.collisionIndex.placeCollisionBox(se, "always", u, D, c, S, x, o, m.predicate, O, void 0, k).box,
|
|
23063
23063
|
offscreen: !1,
|
|
23064
23064
|
placeable: !1,
|
|
23065
23065
|
occluded: !1
|
|
23066
23066
|
}), b;
|
|
23067
23067
|
};
|
|
23068
|
-
a((() => h(
|
|
23068
|
+
a((() => h(se, f.iconBox, t.ax.horizontal)), (() => {
|
|
23069
23069
|
let n = f.verticalTextBox;
|
|
23070
|
-
return i.allowVerticalPlacement && !(
|
|
23070
|
+
return i.allowVerticalPlacement && !(P != null && P.placeable) && e.numVerticalGlyphVertices > 0 && n ? h(n, f.verticalIconBox, t.ax.vertical) : {
|
|
23071
23071
|
box: null,
|
|
23072
23072
|
occluded: !0,
|
|
23073
23073
|
offscreen: null
|
|
23074
23074
|
};
|
|
23075
|
-
})),
|
|
23076
|
-
let g = n(
|
|
23075
|
+
})), P && (j = P.placeable, N = P.offscreen);
|
|
23076
|
+
let g = n(P == null ? void 0 : P.placeable);
|
|
23077
23077
|
if (!j && this.prevPlacement) {
|
|
23078
23078
|
let t = this.prevPlacement.variableOffsets[e.crossTileID];
|
|
23079
23079
|
t && (this.variableOffsets[e.crossTileID] = t, this.markUsedJustification(i, t.anchor, e, g));
|
|
23080
23080
|
}
|
|
23081
23081
|
}
|
|
23082
23082
|
}
|
|
23083
|
-
if (
|
|
23083
|
+
if (F = P, j = F == null ? void 0 : F.placeable, N = F == null ? void 0 : F.offscreen, e.useRuntimeCollisionCircles && e.centerJustifiedTextSymbolIndex >= 0) {
|
|
23084
23084
|
let n = i.text.placedSymbolArray.get(e.centerJustifiedTextSymbolIndex), s = t.ay(i.textSizeData, p, n), u = a.get("text-padding");
|
|
23085
|
-
|
|
23085
|
+
ne = this.collisionIndex.placeCollisionCircles(_, n, i.lineVertexArray, i.glyphOffsetArray, s, c, l, r, S, m.predicate, e.collisionCircleDiameter, u, o, O), ne.circles.length && ne.collisionDetected && !r && t.w("Collisions detected, but collision boxes are not shown"), j = v || ne.circles.length > 0 && !ne.collisionDetected, N && (N = ne.offscreen);
|
|
23086
23086
|
}
|
|
23087
|
-
if (f.iconFeatureIndex && (
|
|
23088
|
-
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C &&
|
|
23089
|
-
|
|
23087
|
+
if (f.iconFeatureIndex && (oe = f.iconFeatureIndex), f.iconBox) {
|
|
23088
|
+
let e = (e) => this.collisionIndex.placeCollisionBox(e, y, u, D, c, S, x, s, m.predicate, O, C && ee ? ee : void 0, k);
|
|
23089
|
+
te && te.placeable && f.verticalIconBox ? (re = e(f.verticalIconBox), M = re.placeable) : (re = e(f.iconBox), M = re.placeable), N && (N = re.offscreen);
|
|
23090
23090
|
}
|
|
23091
|
-
let
|
|
23092
|
-
|
|
23093
|
-
let
|
|
23094
|
-
if (j &&
|
|
23091
|
+
let ce = h || e.numHorizontalGlyphVertices === 0 && e.numVerticalGlyphVertices === 0, le = g || e.numIconVertices === 0;
|
|
23092
|
+
ce || le ? le ? ce || M && (M = j) : j = M && j : M = j = M && j;
|
|
23093
|
+
let ue = M && re.placeable;
|
|
23094
|
+
if (j && F.placeable && this.collisionIndex.insertCollisionBox(F.box, _, a.get("text-ignore-placement"), i.bucketInstanceId, te && te.placeable && ae ? ae : ie, m.ID), ue && this.collisionIndex.insertCollisionBox(re.box, y, a.get("icon-ignore-placement"), i.bucketInstanceId, oe, m.ID), ne && j && this.collisionIndex.insertCollisionCircles(ne.circles, _, a.get("text-ignore-placement"), i.bucketInstanceId, ie, m.ID), r && this.storeCollisionData(i.bucketInstanceId, b, f, F, re, ne), e.crossTileID === 0) throw Error("symbolInstance.crossTileID can't be 0");
|
|
23095
23095
|
if (i.bucketInstanceId === 0) throw Error("bucket.bucketInstanceId can't be 0");
|
|
23096
|
-
this.placements[e.crossTileID] = new St((j || T) && !(
|
|
23096
|
+
this.placements[e.crossTileID] = new St((j || T) && !(F != null && F.occluded), (M || E) && !(re != null && re.occluded), N || i.justReloaded), n[e.crossTileID] = !0;
|
|
23097
23097
|
};
|
|
23098
23098
|
if (w) {
|
|
23099
23099
|
if (e.symbolInstanceStart !== 0) throw Error("bucket.bucketInstanceId should be 0");
|
|
@@ -23793,7 +23793,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23793
23793
|
}
|
|
23794
23794
|
getMaxBounds() {
|
|
23795
23795
|
var e, t;
|
|
23796
|
-
return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new
|
|
23796
|
+
return ((e = this._latRange) == null ? void 0 : e.length) !== 2 || ((t = this._lngRange) == null ? void 0 : t.length) !== 2 ? null : new se([this._lngRange[0], this._latRange[0]], [this._lngRange[1], this._latRange[1]]);
|
|
23797
23797
|
}
|
|
23798
23798
|
setMaxBounds(e) {
|
|
23799
23799
|
e ? (this._lngRange = [e.getWest(), e.getEast()], this._latRange = [e.getSouth(), e.getNorth()], this.constrainInternal()) : (this._lngRange = null, this._latRange = [-t.am, t.am]);
|
|
@@ -23846,7 +23846,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23846
23846
|
this._callbacks.calcMatrices();
|
|
23847
23847
|
}
|
|
23848
23848
|
calculateCenterFromCameraLngLatAlt(e, n, r, i) {
|
|
23849
|
-
let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } =
|
|
23849
|
+
let a = r === void 0 ? this.bearing : r, o = i = i === void 0 ? this.pitch : i, { distanceToCenter: s, clampedElevation: c } = this._distanceToCenterFromAltElevationPitch(n, this.elevation, o), { x: l, y: u } = I(o, a), d = t.a7.fromLngLat(e, n), f, p, m = t.aY(1, d.y), h = 0;
|
|
23850
23850
|
do {
|
|
23851
23851
|
if (h += 1, h > 10) break;
|
|
23852
23852
|
p = s / m, f = new t.a7(d.x + l * p, d.y + u * p), m = 1 / f.meterInMercatorCoordinateUnits();
|
|
@@ -23859,7 +23859,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23859
23859
|
}
|
|
23860
23860
|
recalculateZoomAndCenter(e) {
|
|
23861
23861
|
if (this.elevation - e == 0) return;
|
|
23862
|
-
let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } =
|
|
23862
|
+
let n = 1 / this.worldSize, r = t.aq(1, this.center.lat) * this.worldSize, i = t.a7.fromLngLat(this.center, this.elevation), a = i.x / n, o = i.y / n, s = i.z / n, c = this.pitch, l = this.bearing, { x: u, y: d, z: f } = I(c, l), p = this.cameraToCenterDistance, m = a + p * -u, h = o + p * -d, g = s + p * f, { distanceToCenter: _, clampedElevation: v } = this._distanceToCenterFromAltElevationPitch(g / r, e, c), y = _ * r, b = new t.a7((m + u * y) * n, (h + d * y) * n, 0).toLngLat(), x = t.aq(1, b.lat), S = t.ar(this.height / 2 / Math.tan(this.fovInRadians / 2) / _ / x / this.tileSize);
|
|
23863
23863
|
this._elevation = v, this._center = b, this.setZoom(S);
|
|
23864
23864
|
}
|
|
23865
23865
|
_distanceToCenterFromAltElevationPitch(e, n, r) {
|
|
@@ -23878,7 +23878,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
23878
23878
|
}
|
|
23879
23879
|
getCameraLngLat() {
|
|
23880
23880
|
let e = t.aq(1, this.center.lat) * this.worldSize;
|
|
23881
|
-
return
|
|
23881
|
+
return Le(this.center, this.elevation, this.pitch, this.bearing, this.cameraToCenterDistance / e).toLngLat();
|
|
23882
23882
|
}
|
|
23883
23883
|
getMercatorTileCoordinates(e) {
|
|
23884
23884
|
if (!e) return [
|
|
@@ -24347,8 +24347,8 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24347
24347
|
o = t.Y(e[1]) * a, s = t.Y(e[0]) * a, s - o < p && (u = p / (s - o));
|
|
24348
24348
|
}
|
|
24349
24349
|
i && (c = t.X(t.Z(i[0]) * a, 0, a), l = t.X(t.Z(i[1]) * a, 0, a), l < c && (l += a), l - c < f && (d = f / (l - c)));
|
|
24350
|
-
let { x: m, y: h } =
|
|
24351
|
-
if (v) return r.center =
|
|
24350
|
+
let { x: m, y: h } = Ne(a, e), g, _, v = Math.max(d || 0, u || 0);
|
|
24351
|
+
if (v) return r.center = Pe(a, new t.P(d ? (l + c) / 2 : m, u ? (s + o) / 2 : h)).wrap(), r.zoom += t.ar(v), r;
|
|
24352
24352
|
if (this._helper._latRange) {
|
|
24353
24353
|
let e = p / 2;
|
|
24354
24354
|
h - e < o && (_ = o + e), h + e > s && (_ = s - e);
|
|
@@ -24359,7 +24359,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24359
24359
|
let r = f / 2;
|
|
24360
24360
|
n - r < c && (g = c + r), n + r > l && (g = l - r);
|
|
24361
24361
|
}
|
|
24362
|
-
return (g !== void 0 || _ !== void 0) && (r.center =
|
|
24362
|
+
return (g !== void 0 || _ !== void 0) && (r.center = Pe(a, new t.P(g == null ? m : g, _ == null ? h : _)).wrap()), r;
|
|
24363
24363
|
}, this.applyConstrain = (e, t) => this._helper.applyConstrain(e, t), this._helper = new Xt({
|
|
24364
24364
|
calcMatrices: () => this._calcMatrices(),
|
|
24365
24365
|
defaultConstrain: (e, t) => this.defaultConstrain(e, t)
|
|
@@ -24452,11 +24452,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24452
24452
|
return t.aE(i, i, r), new t.P(i[0] / i[3], i[1] / i[3]);
|
|
24453
24453
|
}
|
|
24454
24454
|
getBounds() {
|
|
24455
|
-
let e = Math.max(0, this._helper._height / 2 -
|
|
24456
|
-
return new
|
|
24455
|
+
let e = Math.max(0, this._helper._height / 2 - Fe(this));
|
|
24456
|
+
return new se().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)));
|
|
24457
24457
|
}
|
|
24458
24458
|
isPointOnMapSurface(e, t) {
|
|
24459
|
-
return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 -
|
|
24459
|
+
return t ? t.pointCoordinate(e) != null : e.y > this.height / 2 - Fe(this);
|
|
24460
24460
|
}
|
|
24461
24461
|
calculatePosMatrix(e, n = !1, r) {
|
|
24462
24462
|
var i;
|
|
@@ -24465,7 +24465,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24465
24465
|
let e = o.get(a);
|
|
24466
24466
|
return r ? e.f32 : e.f64;
|
|
24467
24467
|
}
|
|
24468
|
-
let s =
|
|
24468
|
+
let s = Ie(e, this.worldSize);
|
|
24469
24469
|
t.U(s, n ? this._alignedProjMatrix : this._viewProjMatrix, s);
|
|
24470
24470
|
let c = {
|
|
24471
24471
|
f64: s,
|
|
@@ -24476,7 +24476,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24476
24476
|
calculateFogMatrix(e) {
|
|
24477
24477
|
let n = e.key, r = this._fogMatrixCacheF32;
|
|
24478
24478
|
if (r.has(n)) return r.get(n);
|
|
24479
|
-
let i =
|
|
24479
|
+
let i = Ie(e, this.worldSize);
|
|
24480
24480
|
return t.U(i, this._fogMatrix, i), r.set(n, new Float32Array(i)), r.get(n);
|
|
24481
24481
|
}
|
|
24482
24482
|
calculateCenterFromCameraLngLatAlt(e, t, n, r) {
|
|
@@ -24484,14 +24484,14 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24484
24484
|
}
|
|
24485
24485
|
_calculateNearFarZIfNeeded(e, n, r) {
|
|
24486
24486
|
if (!this._helper.autoCalculateNearFarZ) return;
|
|
24487
|
-
let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u =
|
|
24487
|
+
let i = Math.min(this.elevation, this.minElevationForCurrentTile, this.getCameraAltitude() - 100), a = e - i * this._helper._pixelPerMeter / Math.cos(n), o = i < 0 ? a : e, s = Math.PI / 2 + this.pitchInRadians, c = t.an(this.fov) * (Math.abs(Math.cos(t.an(this.roll))) * this.height + Math.abs(Math.sin(t.an(this.roll))) * this.width) / this.height * (.5 + r.y / this.height), l = Math.sin(c) * o / Math.sin(t.al(Math.PI - s - c, .01, Math.PI - .01)), u = Fe(this), d = Math.atan(u / this._helper.cameraToCenterDistance), f = t.an(.75), p = d > f ? 2 * d * (.5 + r.y / (2 * u)) : f, m = Math.sin(p) * o / Math.sin(t.al(Math.PI - s - p, .01, Math.PI - .01)), h = Math.min(l, m);
|
|
24488
24488
|
this._helper._farZ = 1.01 * (Math.cos(Math.PI / 2 - n) * h + o), this._helper._nearZ = this._helper._height / 50;
|
|
24489
24489
|
}
|
|
24490
24490
|
_calcMatrices() {
|
|
24491
24491
|
if (!this._helper._height) return;
|
|
24492
|
-
let e = this.centerOffset, n =
|
|
24492
|
+
let e = this.centerOffset, n = Ne(this.worldSize, this.center), r = n.x, i = n.y;
|
|
24493
24493
|
this._helper._pixelPerMeter = t.aq(1, this.center.lat) * this.worldSize;
|
|
24494
|
-
let a = t.an(Math.min(this.pitch,
|
|
24494
|
+
let a = t.an(Math.min(this.pitch, Me)), o = Math.max(this._helper.cameraToCenterDistance / 2, this._helper.cameraToCenterDistance + this._helper._elevation * this._helper._pixelPerMeter / Math.cos(a)), s;
|
|
24495
24495
|
var c, l;
|
|
24496
24496
|
this._calculateNearFarZIfNeeded(o, a, e), s = new Float64Array(16), t.bc(s, this.fovInRadians, this._helper._width / this._helper._height, this._helper._nearZ, this._helper._farZ), this._invProjMatrix = new Float64Array(16), (c = this._invProjMatrix)[0] = 1 / (l = s)[0], c[1] = 0, c[2] = 0, c[3] = 0, c[4] = 0, c[5] = 1 / l[5], c[6] = 0, c[7] = 0, c[8] = 0, c[9] = 0, c[10] = 0, c[11] = 1 / l[14], c[12] = 0, c[13] = 0, c[14] = -1, c[15] = l[10] / l[14], s[8] = 2 * -e.x / this._helper._width, s[9] = 2 * e.y / this._helper._height, this._projectionMatrix = t.bd(s), t.S(s, s, [
|
|
24497
24497
|
1,
|
|
@@ -24578,7 +24578,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24578
24578
|
}
|
|
24579
24579
|
getCameraLngLat() {
|
|
24580
24580
|
let e = t.aq(1, this.center.lat) * this.worldSize;
|
|
24581
|
-
return
|
|
24581
|
+
return Le(this.center, this.elevation, this.pitch, this.bearing, this._helper.cameraToCenterDistance / e).toLngLat();
|
|
24582
24582
|
}
|
|
24583
24583
|
lngLatToCameraDepth(e, n) {
|
|
24584
24584
|
let r = t.a7.fromLngLat(e), i = [
|
|
@@ -24661,7 +24661,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24661
24661
|
let n = new t.a3(0, 0, 0, 0, 0), r = this.getProjectionData({
|
|
24662
24662
|
overscaledTileID: n,
|
|
24663
24663
|
applyGlobeMatrix: e
|
|
24664
|
-
}), i =
|
|
24664
|
+
}), i = Ie(n, this.worldSize);
|
|
24665
24665
|
t.U(i, this._viewProjMatrix, i), r.tileMercatorCoords = [
|
|
24666
24666
|
0,
|
|
24667
24667
|
0,
|
|
@@ -24692,11 +24692,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24692
24692
|
else e.tr.setRoll(t.H.number(e.startEulerAngles.roll, e.endEulerAngles.roll, e.k)), e.tr.setPitch(t.H.number(e.startEulerAngles.pitch, e.endEulerAngles.pitch, e.k)), e.tr.setBearing(t.H.number(e.startEulerAngles.bearing, e.endEulerAngles.bearing, e.k));
|
|
24693
24693
|
}
|
|
24694
24694
|
function rn(e, n, r, i, a) {
|
|
24695
|
-
let o = a.padding, s =
|
|
24695
|
+
let o = a.padding, s = Ne(a.worldSize, r.getNorthWest()), c = Ne(a.worldSize, r.getNorthEast()), l = Ne(a.worldSize, r.getSouthEast()), u = Ne(a.worldSize, r.getSouthWest()), d = t.an(-i), f = s.rotate(d), p = c.rotate(d), m = l.rotate(d), h = u.rotate(d), g = new t.P(Math.max(f.x, p.x, h.x, m.x), Math.max(f.y, p.y, h.y, m.y)), _ = new t.P(Math.min(f.x, p.x, h.x, m.x), Math.min(f.y, p.y, h.y, m.y)), v = g.sub(_), y = (a.width - (o.left + o.right + n.left + n.right)) / v.x, b = (a.height - (o.top + o.bottom + n.top + n.bottom)) / v.y;
|
|
24696
24696
|
if (b < 0 || y < 0) return void tn();
|
|
24697
24697
|
let x = Math.min(t.ar(a.scale * Math.min(y, b)), e.maxZoom), S = t.P.convert(e.offset), C = new t.P((n.left - n.right) / 2, (n.top - n.bottom) / 2).rotate(t.an(i)), w = S.add(C).mult(a.scale / t.ao(x));
|
|
24698
24698
|
return {
|
|
24699
|
-
center:
|
|
24699
|
+
center: Pe(a.worldSize, s.add(l).div(2).sub(w)),
|
|
24700
24700
|
zoom: x,
|
|
24701
24701
|
bearing: i
|
|
24702
24702
|
};
|
|
@@ -24706,7 +24706,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24706
24706
|
return !1;
|
|
24707
24707
|
}
|
|
24708
24708
|
handlePanInertia(e, t) {
|
|
24709
|
-
let n = e.mag(), r = Math.abs(
|
|
24709
|
+
let n = e.mag(), r = Math.abs(Fe(t));
|
|
24710
24710
|
return {
|
|
24711
24711
|
easingOffset: e.mult(Math.min(.75 * r / n, 1)),
|
|
24712
24712
|
easingCenter: t.center
|
|
@@ -24735,7 +24735,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24735
24735
|
bearing: n.bearing === void 0 ? e.bearing : n.bearing
|
|
24736
24736
|
}, s = n.zoom !== void 0, c = !e.isPaddingEqual(n.padding), l = !1, u = s ? +n.zoom : e.zoom, d = e.centerPoint.add(n.offsetAsPoint), f = e.screenPointToLocation(d), { center: p, zoom: m } = e.applyConstrain(t.W.convert(n.center || f), u == null ? r : u);
|
|
24737
24737
|
Jt(e, p);
|
|
24738
|
-
let h =
|
|
24738
|
+
let h = Ne(e.worldSize, f), g = Ne(e.worldSize, p).sub(h), _ = t.ao(m - r);
|
|
24739
24739
|
return l = m !== r, {
|
|
24740
24740
|
easeFunc: (s) => {
|
|
24741
24741
|
if (l && e.setZoom(t.H.number(r, m, s)), t.bn(a, o) || nn({
|
|
@@ -24746,7 +24746,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24746
24746
|
useSlerp: a.roll != o.roll
|
|
24747
24747
|
}), c && (e.interpolatePadding(i, n.padding, s), d = e.centerPoint.add(n.offsetAsPoint)), n.around) e.setLocationAtPoint(n.around, n.aroundPoint);
|
|
24748
24748
|
else {
|
|
24749
|
-
let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a =
|
|
24749
|
+
let n = t.ao(e.zoom - r), i = (m > r ? Math.min(2, _) : Math.max(.5, _)) ** (1 - s), a = Pe(e.worldSize, h.add(g.mult(s * i)).mult(n));
|
|
24750
24750
|
e.setLocationAtPoint(e.renderWorldCopies ? a.wrap() : a, d);
|
|
24751
24751
|
}
|
|
24752
24752
|
},
|
|
@@ -24757,7 +24757,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24757
24757
|
handleFlyTo(e, n) {
|
|
24758
24758
|
let r = n.zoom !== void 0, i = e.zoom, a = e.applyConstrain(t.W.convert(n.center || n.locationAtOffset), r ? +n.zoom : i), o = a.center, s = a.zoom;
|
|
24759
24759
|
Jt(e, o);
|
|
24760
|
-
let c =
|
|
24760
|
+
let c = Ne(e.worldSize, n.locationAtOffset), l = Ne(e.worldSize, o).sub(c), u = l.mag(), d = t.ao(s - i), f;
|
|
24761
24761
|
if (n.minZoom !== void 0) {
|
|
24762
24762
|
let r = Math.min(+n.minZoom, i, s), a = e.applyConstrain(o, r).zoom;
|
|
24763
24763
|
f = t.ao(a - i);
|
|
@@ -24765,7 +24765,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
24765
24765
|
return {
|
|
24766
24766
|
easeFunc: (n, r, a, u) => {
|
|
24767
24767
|
e.setZoom(n === 1 ? s : i + t.ar(r));
|
|
24768
|
-
let d = n === 1 ? o :
|
|
24768
|
+
let d = n === 1 ? o : Pe(e.worldSize, c.add(l.mult(a)).mult(r));
|
|
24769
24769
|
e.setLocationAtPoint(e.renderWorldCopies ? d.wrap() : d, u);
|
|
24770
24770
|
},
|
|
24771
24771
|
scaleOfZoom: d,
|
|
@@ -25826,7 +25826,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
25826
25826
|
0,
|
|
25827
25827
|
-1,
|
|
25828
25828
|
0
|
|
25829
|
-
]) && (u[1] = -90, u[0] = -180, u[2] = 180), new
|
|
25829
|
+
]) && (u[1] = -90, u[0] = -180, u[2] = 180), new se(u);
|
|
25830
25830
|
}
|
|
25831
25831
|
calculateCenterFromCameraLngLatAlt(e, t, n, r) {
|
|
25832
25832
|
return this._helper.calculateCenterFromCameraLngLatAlt(e, t, n, r);
|
|
@@ -26501,9 +26501,9 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
26501
26501
|
let t = this.tileManagers[e].getSource().type;
|
|
26502
26502
|
t !== "vector" && t !== "geojson" || this.tileManagers[e].reload();
|
|
26503
26503
|
}
|
|
26504
|
-
}, this.map = e, this.dispatcher = new P(
|
|
26504
|
+
}, 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);
|
|
26505
26505
|
let a = ((r = e._container) == null ? void 0 : r.lang) || typeof document < "u" && ((i = document.documentElement) == null ? void 0 : i.lang) || void 0;
|
|
26506
|
-
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()),
|
|
26506
|
+
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) => {
|
|
26507
26507
|
if (e.dataType !== "source" || e.sourceDataType !== "metadata") return;
|
|
26508
26508
|
let t = this.tileManagers[e.sourceId];
|
|
26509
26509
|
if (!t) return;
|
|
@@ -27074,11 +27074,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
27074
27074
|
layers: s,
|
|
27075
27075
|
globalState: this._globalState
|
|
27076
27076
|
});
|
|
27077
|
-
for (let t in this.tileManagers) n.layers && !i[t] || a.push(
|
|
27077
|
+
for (let t in this.tileManagers) n.layers && !i[t] || a.push(re(this.tileManagers[t], this._layers, o, e, c, r, this.map.terrain ? (e, t, n) => this.map.terrain.getElevation(e, t, n) : void 0));
|
|
27078
27078
|
return this.placement && a.push(function(e, t, n, r, i, a, o) {
|
|
27079
27079
|
let s = {}, c = a.queryRenderedSymbols(r), l = [];
|
|
27080
27080
|
for (let e of Object.keys(c).map(Number)) l.push(o[e]);
|
|
27081
|
-
l.sort(
|
|
27081
|
+
l.sort(ie);
|
|
27082
27082
|
for (let n of l) {
|
|
27083
27083
|
let r = n.featureIndex.lookupSymbolFeatures(c[n.bucketInstanceId], t, n.bucketIndex, n.sourceLayerIndex, {
|
|
27084
27084
|
filterSpec: i.filter,
|
|
@@ -27099,7 +27099,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
27099
27099
|
}
|
|
27100
27100
|
}
|
|
27101
27101
|
return function(e, t, n) {
|
|
27102
|
-
for (let r in e) for (let i of e[r])
|
|
27102
|
+
for (let r in e) for (let i of e[r]) ae(i, n[t[r].source]);
|
|
27103
27103
|
return e;
|
|
27104
27104
|
}(s, e, n);
|
|
27105
27105
|
}(this._layers, o, this.tileManagers, e, c, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(a);
|
|
@@ -27230,7 +27230,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
27230
27230
|
}, i)));
|
|
27231
27231
|
}
|
|
27232
27232
|
_remove(e = !0) {
|
|
27233
|
-
this._frameRequest && (this._frameRequest.abort(), this._frameRequest = null), this._loadStyleRequest && (this._loadStyleRequest.abort(), this._loadStyleRequest = null), this._spriteRequest && (this._spriteRequest.abort(), this._spriteRequest = null),
|
|
27233
|
+
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);
|
|
27234
27234
|
for (let e in this._layers) this._layers[e].setEventedParent(null);
|
|
27235
27235
|
for (let e in this.tileManagers) {
|
|
27236
27236
|
let t = this.tileManagers[e];
|
|
@@ -28664,36 +28664,36 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
28664
28664
|
if (!l) continue;
|
|
28665
28665
|
let d = a ? l.text : l.icon;
|
|
28666
28666
|
if (!(d != null && d.segments.get().length) || !d.hasVisibleVertices) continue;
|
|
28667
|
-
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,
|
|
28668
|
-
if (a)
|
|
28667
|
+
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], F = null;
|
|
28668
|
+
if (a) N = i.glyphAtlasTexture, ee = _.LINEAR, M = i.glyphAtlasTexture.size, l.iconsInText && (te = i.imageAtlasTexture.size, F = i.imageAtlasTexture, P = T || e.options.rotating || e.options.zooming || g.kind === "composite" || g.kind === "camera" ? _.LINEAR : _.NEAREST);
|
|
28669
28669
|
else {
|
|
28670
28670
|
let t = r.layout.get("icon-size").constantOr(0) !== 1 || l.iconsNeedLinear;
|
|
28671
|
-
|
|
28671
|
+
N = i.imageAtlasTexture, ee = h || e.options.rotating || e.options.zooming || t || T ? _.LINEAR : _.NEAREST, M = i.imageAtlasTexture.size;
|
|
28672
28672
|
}
|
|
28673
|
-
let
|
|
28673
|
+
let ne = t.aK(i, 1, e.transform.zoom), re = $e(y, e.transform, ne), ie = et(b, y, e.transform, ne), ae = t.aL(v, i, o, s), oe = v.getProjectionData({
|
|
28674
28674
|
overscaledTileID: c,
|
|
28675
28675
|
applyGlobeMatrix: !p,
|
|
28676
28676
|
applyTerrainMatrix: !0
|
|
28677
|
-
}),
|
|
28677
|
+
}), se = E && l.hasTextData(), ce = r.layout.get("icon-text-fit") !== "none" && se && l.hasIconData();
|
|
28678
28678
|
if (x) {
|
|
28679
28679
|
let n = t.O();
|
|
28680
|
-
H(n,
|
|
28680
|
+
H(n, re);
|
|
28681
28681
|
let i = e.style.map.terrain ? (t, n) => e.style.map.terrain.getElevation(c, t, n) : null;
|
|
28682
|
-
it(l, e, a,
|
|
28682
|
+
it(l, e, a, re, n, b, u, r.layout.get("text-rotation-alignment") === "map", c.toUnwrapped(), v.width, v.height, ae, i);
|
|
28683
28683
|
}
|
|
28684
|
-
let
|
|
28685
|
-
|
|
28686
|
-
let
|
|
28684
|
+
let le = a && E || ce, ue = x || le ? pi : b ? re : e.transform.clipSpaceToPixelsMatrix, de = h && r.paint.get(a ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, fe;
|
|
28685
|
+
fe = h ? l.iconsInText ? yr(g.kind, A, S, b, x, le, e, ue, ie, ae, M, te, O) : vr(g.kind, A, S, b, x, le, e, ue, ie, ae, a, M, de, O) : _r(g.kind, A, S, b, x, le, e, ue, ie, ae, a, M, O);
|
|
28686
|
+
let pe = {
|
|
28687
28687
|
program: k,
|
|
28688
28688
|
buffers: d,
|
|
28689
|
-
uniformValues:
|
|
28690
|
-
projectionData:
|
|
28691
|
-
atlasTexture:
|
|
28692
|
-
atlasTextureIcon:
|
|
28693
|
-
atlasInterpolation:
|
|
28694
|
-
atlasInterpolationIcon:
|
|
28689
|
+
uniformValues: fe,
|
|
28690
|
+
projectionData: oe,
|
|
28691
|
+
atlasTexture: N,
|
|
28692
|
+
atlasTextureIcon: F,
|
|
28693
|
+
atlasInterpolation: ee,
|
|
28694
|
+
atlasInterpolationIcon: P,
|
|
28695
28695
|
isSDF: h,
|
|
28696
|
-
hasHalo:
|
|
28696
|
+
hasHalo: de
|
|
28697
28697
|
};
|
|
28698
28698
|
if (C && l.canOverlap) {
|
|
28699
28699
|
w = !0;
|
|
@@ -28701,13 +28701,13 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
28701
28701
|
for (let n of e) D.push({
|
|
28702
28702
|
segments: new t.aV([n]),
|
|
28703
28703
|
sortKey: n.sortKey,
|
|
28704
|
-
state:
|
|
28704
|
+
state: pe,
|
|
28705
28705
|
terrainData: j
|
|
28706
28706
|
});
|
|
28707
28707
|
} else D.push({
|
|
28708
28708
|
segments: d.segments,
|
|
28709
28709
|
sortKey: 0,
|
|
28710
|
-
state:
|
|
28710
|
+
state: pe,
|
|
28711
28711
|
terrainData: j
|
|
28712
28712
|
});
|
|
28713
28713
|
}
|
|
@@ -28946,7 +28946,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
28946
28946
|
parentScaleBy: o,
|
|
28947
28947
|
parentTopLeft: [e.tileID.canonical.x * o % 1, e.tileID.canonical.y * o % 1],
|
|
28948
28948
|
fadeValues: function(e, n, r) {
|
|
28949
|
-
let i = l(), a = (i - n.timeAdded) / r, o = e.fadingDirection ===
|
|
28949
|
+
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;
|
|
28950
28950
|
return {
|
|
28951
28951
|
tileOpacity: u,
|
|
28952
28952
|
parentTileOpacity: o ? c : s,
|
|
@@ -29253,7 +29253,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
29253
29253
|
raster: function(e, t, n, r, i) {
|
|
29254
29254
|
if (e.renderPass !== "translucent" || n.paint.get("raster-opacity") === 0 || !r.length) return;
|
|
29255
29255
|
let { isRenderingToTexture: a } = i, o = t.getSource(), s = e.style.projection.useSubdivision;
|
|
29256
|
-
if (o instanceof
|
|
29256
|
+
if (o instanceof ye) Ii(e, t, n, r, null, !1, !1, o.tileCoords, o.flippedWindingOrder, a);
|
|
29257
29257
|
else if (s) {
|
|
29258
29258
|
let [i, o, s] = e.stencilConfigForOverlapTwoPass(r);
|
|
29259
29259
|
Ii(e, t, n, s, i, !1, !0, Fi, !1, a), Ii(e, t, n, s, o, !0, !0, Fi, !1, a);
|
|
@@ -29290,7 +29290,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
29290
29290
|
},
|
|
29291
29291
|
sky: function(e, t) {
|
|
29292
29292
|
let n = e.context, r = n.gl, i = ((e, t, n) => {
|
|
29293
|
-
let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a =
|
|
29293
|
+
let r = Math.cos(t.rollInRadians), i = Math.sin(t.rollInRadians), a = Fe(t), o = t.getProjectionData({
|
|
29294
29294
|
overscaledTileID: null,
|
|
29295
29295
|
applyGlobeMatrix: !0,
|
|
29296
29296
|
applyTerrainMatrix: !0
|
|
@@ -31318,7 +31318,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
31318
31318
|
return this.jumpTo({ roll: e }, t), this;
|
|
31319
31319
|
}
|
|
31320
31320
|
cameraForBounds(e, t) {
|
|
31321
|
-
e =
|
|
31321
|
+
e = se.convert(e).adjustAntiMeridian();
|
|
31322
31322
|
let n = (t == null ? void 0 : t.bearing) || 0;
|
|
31323
31323
|
return this._cameraForBoxAndBearing(e.getNorthWest(), e.getSouthEast(), n, t);
|
|
31324
31324
|
}
|
|
@@ -31344,7 +31344,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
31344
31344
|
}
|
|
31345
31345
|
let o = t.e(a, i.padding);
|
|
31346
31346
|
i.padding = o;
|
|
31347
|
-
let s = this.transform, c = new
|
|
31347
|
+
let s = this.transform, c = new se(e, n), l = this.cameraHelper.cameraForBoxAndBearing(i, o, c, r, s);
|
|
31348
31348
|
return l && this._zoomSnap && (l.zoom = t.cw(l.zoom, this._zoomSnap, -1)), l;
|
|
31349
31349
|
}
|
|
31350
31350
|
fitBounds(e, t, n) {
|
|
@@ -31683,7 +31683,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
31683
31683
|
reparseOverscaled: !1,
|
|
31684
31684
|
terrain: n,
|
|
31685
31685
|
calculateTileZoom: this.tileManager._source.calculateTileZoom
|
|
31686
|
-
})) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new
|
|
31686
|
+
})) r[i.key] = !0, this._renderableTilesKeys.push(i.key), this._tiles[i.key] || (i.terrainRttPosMatrix32f = new Float64Array(16), t.c7(i.terrainRttPosMatrix32f, 0, t.a6, t.a6, 0, 0, 1), this._tiles[i.key] = new Ae(i, this.tileSize), this._lastTilesetChange = l());
|
|
31687
31687
|
for (let e in this._tiles) r[e] || delete this._tiles[e];
|
|
31688
31688
|
}
|
|
31689
31689
|
freeRtt(e) {
|
|
@@ -32020,7 +32020,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
32020
32020
|
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 = {};
|
|
32021
32021
|
for (let t in e.tileManagers) {
|
|
32022
32022
|
this._coordsAscending[t] = {};
|
|
32023
|
-
let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof
|
|
32023
|
+
let n = e.tileManagers[t].getVisibleCoordinates(), r = e.tileManagers[t].getSource(), a = r instanceof ye ? r.terrainTileRanges : null;
|
|
32024
32024
|
for (let e of n) {
|
|
32025
32025
|
let n = this.terrain.tileManager.getTerrainCoords(e, a);
|
|
32026
32026
|
for (let e in n) (i = this._coordsAscending[t])[e] || (i[e] = []), this._coordsAscending[t][e].push(n[e]);
|
|
@@ -32291,7 +32291,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
32291
32291
|
return this.transform.getMaxBounds();
|
|
32292
32292
|
}
|
|
32293
32293
|
setMaxBounds(e) {
|
|
32294
|
-
return this.transform.setMaxBounds(
|
|
32294
|
+
return this.transform.setMaxBounds(se.convert(e)), this._update();
|
|
32295
32295
|
}
|
|
32296
32296
|
setMinZoom(e) {
|
|
32297
32297
|
if ((e = e == null ? -2 : e) >= -2 && e <= this.transform.maxZoom) {
|
|
@@ -32585,8 +32585,8 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
32585
32585
|
if (n) {
|
|
32586
32586
|
let r = this.getSource(n);
|
|
32587
32587
|
if (!r) throw Error(`There is no source with ID "${n}", cannot set LOD parameters`);
|
|
32588
|
-
r.calculateTileZoom =
|
|
32589
|
-
} else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom =
|
|
32588
|
+
r.calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
|
|
32589
|
+
} else for (let n in this.style.tileManagers) this.style.tileManagers[n].getSource().calculateTileZoom = R(Math.max(1, e), Math.max(1, t));
|
|
32590
32590
|
return this._update(!0), this;
|
|
32591
32591
|
}
|
|
32592
32592
|
refreshTiles(e, n) {
|
|
@@ -33311,7 +33311,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33311
33311
|
return wo(new t.P(0, 0));
|
|
33312
33312
|
}
|
|
33313
33313
|
let To = n;
|
|
33314
|
-
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 =
|
|
33314
|
+
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 {
|
|
33315
33315
|
constructor(e = {}) {
|
|
33316
33316
|
var n;
|
|
33317
33317
|
super(), this._onFullscreenChange = () => {
|
|
@@ -33355,7 +33355,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33355
33355
|
_togglePseudoFullScreen() {
|
|
33356
33356
|
this._container.classList.toggle("maplibregl-pseudo-fullscreen"), this._handleFullscreenChange(), this._map.resize();
|
|
33357
33357
|
}
|
|
33358
|
-
}, e.GeoJSONSource =
|
|
33358
|
+
}, e.GeoJSONSource = ve, e.GeolocateControl = class extends t.E {
|
|
33359
33359
|
constructor(e) {
|
|
33360
33360
|
super(), this._onSuccess = (e) => {
|
|
33361
33361
|
if (this._map) {
|
|
@@ -33375,7 +33375,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33375
33375
|
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();
|
|
33376
33376
|
}
|
|
33377
33377
|
}, this._updateCamera = (e) => {
|
|
33378
|
-
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 =
|
|
33378
|
+
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 = se.fromLngLat(n, r);
|
|
33379
33379
|
this._map.fitBounds(o, a, { geolocateSource: !0 });
|
|
33380
33380
|
}, this._updateMarker = (e) => {
|
|
33381
33381
|
if (e) {
|
|
@@ -33527,7 +33527,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33527
33527
|
onRemove() {
|
|
33528
33528
|
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;
|
|
33529
33529
|
}
|
|
33530
|
-
}, e.Hash = Qi, e.ImageSource =
|
|
33530
|
+
}, e.Hash = Qi, e.ImageSource = ye, e.KeyboardHandler = Pa, e.LngLatBounds = se, e.LogoControl = Xa, e.Map = so, e.MapLibreMap = so, e.MapMouseEvent = ca, e.MapTouchEvent = la, e.MapWheelEvent = ua, e.Marker = ho, e.NavigationControl = class {
|
|
33531
33531
|
constructor(e) {
|
|
33532
33532
|
this._updateZoomButtons = () => {
|
|
33533
33533
|
let e = this._map.getZoom(), t = e === this._map.getMaxZoom(), n = e === this._map.getMinZoom();
|
|
@@ -33653,7 +33653,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33653
33653
|
let e = this._container.querySelector(Co);
|
|
33654
33654
|
e && e.focus();
|
|
33655
33655
|
}
|
|
33656
|
-
}, e.RasterDEMTileSource =
|
|
33656
|
+
}, e.RasterDEMTileSource = de, e.RasterTileSource = ue, e.ScaleControl = class {
|
|
33657
33657
|
constructor(e) {
|
|
33658
33658
|
this._onMove = () => {
|
|
33659
33659
|
bo(this._map, this._container, this.options);
|
|
@@ -33684,18 +33684,18 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33684
33684
|
onRemove() {
|
|
33685
33685
|
this._container.remove(), this._map.off("terrain", this._updateTerrainIcon), this._map = void 0;
|
|
33686
33686
|
}
|
|
33687
|
-
}, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource =
|
|
33688
|
-
if (
|
|
33687
|
+
}, e.TwoFingersTouchPitchHandler = Ma, e.TwoFingersTouchRotateHandler = Aa, e.TwoFingersTouchZoomHandler = Oa, e.TwoFingersTouchZoomRotateHandler = Ua, e.VectorTileSource = le, e.VideoSource = be, e.addSourceType = (e, n) => t._(void 0, void 0, void 0, (function* () {
|
|
33688
|
+
if (Ce(e)) throw Error(`A source type called "${e}" already exists.`);
|
|
33689
33689
|
((e, t) => {
|
|
33690
|
-
|
|
33690
|
+
Se[e] = t;
|
|
33691
33691
|
})(e, n);
|
|
33692
33692
|
})), e.clearPrewarmedResources = function() {
|
|
33693
|
-
let e =
|
|
33694
|
-
e && (e.isPreloaded() && e.numActive() === 1 ? (e.release(A),
|
|
33695
|
-
}, e.createTileMesh = fn, e.getGlobalDispatcher =
|
|
33693
|
+
let e = N;
|
|
33694
|
+
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()"));
|
|
33695
|
+
}, e.createTileMesh = fn, e.getGlobalDispatcher = F, e.getMaxParallelImageRequests = function() {
|
|
33696
33696
|
return t.c.MAX_PARALLEL_IMAGE_REQUESTS;
|
|
33697
33697
|
}, e.getRTLTextPluginStatus = function() {
|
|
33698
|
-
return
|
|
33698
|
+
return De().getRTLTextPluginStatus();
|
|
33699
33699
|
}, e.getVersion = function() {
|
|
33700
33700
|
return To;
|
|
33701
33701
|
}, e.getWorkerCount = function() {
|
|
@@ -33703,11 +33703,11 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33703
33703
|
}, e.getWorkerUrl = function() {
|
|
33704
33704
|
return t.c.WORKER_URL;
|
|
33705
33705
|
}, e.importScriptInWorkers = function(e) {
|
|
33706
|
-
return
|
|
33706
|
+
return F().broadcast("IS", e);
|
|
33707
33707
|
}, e.isTimeFrozen = function() {
|
|
33708
33708
|
return c.isFrozen();
|
|
33709
33709
|
}, e.now = l, e.prewarm = function() {
|
|
33710
|
-
|
|
33710
|
+
P().acquire(A);
|
|
33711
33711
|
}, e.restoreNow = function() {
|
|
33712
33712
|
c.restoreNow();
|
|
33713
33713
|
}, e.setMaxParallelImageRequests = function(e) {
|
|
@@ -33715,7 +33715,7 @@ var P = /* @__PURE__ */ e(n(), 1), ne = /* @__PURE__ */ e(h(), 1), re = (/* @__P
|
|
|
33715
33715
|
}, e.setNow = function(e) {
|
|
33716
33716
|
c.setNow(e);
|
|
33717
33717
|
}, e.setRTLTextPlugin = function(e, t) {
|
|
33718
|
-
return
|
|
33718
|
+
return De().setRTLTextPlugin(e, t);
|
|
33719
33719
|
}, e.setWorkerCount = function(e) {
|
|
33720
33720
|
j.workerCount = e;
|
|
33721
33721
|
}, e.setWorkerUrl = function(e) {
|
|
@@ -33908,12 +33908,12 @@ var Se = /*#__PURE__*/ ye(be, 9, 1), Ce = /*#__PURE__*/ ye(xe, 5, 1), we = funct
|
|
|
33908
33908
|
var y = j >> 4;
|
|
33909
33909
|
if (y < 16) T[D++] = y;
|
|
33910
33910
|
else {
|
|
33911
|
-
var M = 0,
|
|
33912
|
-
for (y == 16 ? (
|
|
33911
|
+
var M = 0, N = 0;
|
|
33912
|
+
for (y == 16 ? (N = 3 + Te(e, d, 3), d += 2, M = T[D - 1]) : y == 17 ? (N = 3 + Te(e, d, 7), d += 3) : y == 18 && (N = 11 + Te(e, d, 127), d += 7); N--;) T[D++] = M;
|
|
33913
33913
|
}
|
|
33914
33914
|
}
|
|
33915
|
-
var
|
|
33916
|
-
h = we(
|
|
33915
|
+
var ee = T.subarray(0, S), P = T.subarray(S);
|
|
33916
|
+
h = we(ee), g = we(P), p = ye(ee, h, 1), m = ye(P, g, 1);
|
|
33917
33917
|
} else Ae(1);
|
|
33918
33918
|
if (d > _) {
|
|
33919
33919
|
c && Ae(0);
|
|
@@ -33921,43 +33921,43 @@ var Se = /*#__PURE__*/ ye(be, 9, 1), Ce = /*#__PURE__*/ ye(xe, 5, 1), we = funct
|
|
|
33921
33921
|
}
|
|
33922
33922
|
}
|
|
33923
33923
|
s && l(f + 131072);
|
|
33924
|
-
for (var
|
|
33925
|
-
var M = p[Ee(e, d) &
|
|
33924
|
+
for (var te = (1 << h) - 1, F = (1 << g) - 1, ne = d;; ne = d) {
|
|
33925
|
+
var M = p[Ee(e, d) & te], re = M >> 4;
|
|
33926
33926
|
if (d += M & 15, d > _) {
|
|
33927
33927
|
c && Ae(0);
|
|
33928
33928
|
break;
|
|
33929
33929
|
}
|
|
33930
|
-
if (M || Ae(2),
|
|
33931
|
-
else if (
|
|
33932
|
-
|
|
33930
|
+
if (M || Ae(2), re < 256) n[f++] = re;
|
|
33931
|
+
else if (re == 256) {
|
|
33932
|
+
ne = d, p = null;
|
|
33933
33933
|
break;
|
|
33934
33934
|
} else {
|
|
33935
|
-
var
|
|
33936
|
-
if (
|
|
33937
|
-
var D =
|
|
33938
|
-
|
|
33939
|
-
}
|
|
33940
|
-
var
|
|
33941
|
-
|
|
33942
|
-
var
|
|
33943
|
-
if (
|
|
33944
|
-
var
|
|
33945
|
-
|
|
33935
|
+
var ae = re - 254;
|
|
33936
|
+
if (re > 264) {
|
|
33937
|
+
var D = re - 257, oe = se[D];
|
|
33938
|
+
ae = Te(e, d, (1 << oe) - 1) + fe[D], d += oe;
|
|
33939
|
+
}
|
|
33940
|
+
var ue = m[Ee(e, d) & F], de = ue >> 4;
|
|
33941
|
+
ue || Ae(3), d += ue & 15;
|
|
33942
|
+
var P = he[de];
|
|
33943
|
+
if (de > 3) {
|
|
33944
|
+
var oe = ce[de];
|
|
33945
|
+
P += Ee(e, d) & (1 << oe) - 1, d += oe;
|
|
33946
33946
|
}
|
|
33947
33947
|
if (d > _) {
|
|
33948
33948
|
c && Ae(0);
|
|
33949
33949
|
break;
|
|
33950
33950
|
}
|
|
33951
33951
|
s && l(f + 131072);
|
|
33952
|
-
var
|
|
33953
|
-
if (f <
|
|
33954
|
-
var
|
|
33955
|
-
for (
|
|
33952
|
+
var pe = f + ae;
|
|
33953
|
+
if (f < P) {
|
|
33954
|
+
var me = a - P, ge = Math.min(P, pe);
|
|
33955
|
+
for (me + f < 0 && Ae(3); f < ge; ++f) n[f] = r[me + f];
|
|
33956
33956
|
}
|
|
33957
|
-
for (; f <
|
|
33957
|
+
for (; f < pe; ++f) n[f] = n[f - P];
|
|
33958
33958
|
}
|
|
33959
33959
|
}
|
|
33960
|
-
t.l = p, t.p =
|
|
33960
|
+
t.l = p, t.p = ne, t.b = f, t.f = u, p && (u = 1, t.m = h, t.d = m, t.n = g);
|
|
33961
33961
|
} while (!u);
|
|
33962
33962
|
return f != n.length && o ? Oe(n, 0, f) : n.subarray(0, f);
|
|
33963
33963
|
}, Me = /*#__PURE__*/ new ie(0), Ne = function(e) {
|
|
@@ -33979,11 +33979,11 @@ function Le(e, t) {
|
|
|
33979
33979
|
var n = Ne(e);
|
|
33980
33980
|
return n + 8 > e.length && Ae(6, "invalid gzip data"), je(e.subarray(n, -8), { i: 2 }, t && t.out || new ie(Pe(e)), t && t.dictionary);
|
|
33981
33981
|
}
|
|
33982
|
-
function
|
|
33982
|
+
function I(e, t) {
|
|
33983
33983
|
return je(e.subarray(Fe(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
33984
33984
|
}
|
|
33985
|
-
function
|
|
33986
|
-
return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Le(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ie(e, t) :
|
|
33985
|
+
function Re(e, t) {
|
|
33986
|
+
return e[0] == 31 && e[1] == 139 && e[2] == 8 ? Le(e, t) : (e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31 ? Ie(e, t) : I(e, t);
|
|
33987
33987
|
}
|
|
33988
33988
|
var ze = typeof TextDecoder < "u" && /*#__PURE__*/ new TextDecoder();
|
|
33989
33989
|
try {
|
|
@@ -33991,10 +33991,10 @@ try {
|
|
|
33991
33991
|
} catch {}
|
|
33992
33992
|
//#endregion
|
|
33993
33993
|
//#region ../../node_modules/.pnpm/pmtiles@4.4.1/node_modules/pmtiles/dist/esm/index.js
|
|
33994
|
-
var
|
|
33994
|
+
var R = Object.defineProperty, Be = Math.pow, Ve = (e, t) => R(e, "name", {
|
|
33995
33995
|
value: t,
|
|
33996
33996
|
configurable: !0
|
|
33997
|
-
}),
|
|
33997
|
+
}), He = (e, t, n) => new Promise((r, i) => {
|
|
33998
33998
|
var a = (e) => {
|
|
33999
33999
|
try {
|
|
34000
34000
|
s(n.next(e));
|
|
@@ -34010,10 +34010,10 @@ var Be = Object.defineProperty, I = Math.pow, R = (e, t) => Be(e, "name", {
|
|
|
34010
34010
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
34011
34011
|
s((n = n.apply(e, t)).next());
|
|
34012
34012
|
});
|
|
34013
|
-
|
|
34013
|
+
Ve((e, t) => {
|
|
34014
34014
|
let n = !1, r = "";
|
|
34015
34015
|
return new (L.GridLayer.extend({
|
|
34016
|
-
createTile:
|
|
34016
|
+
createTile: Ve((t, i) => {
|
|
34017
34017
|
let a = document.createElement("img"), o = new AbortController(), s = o.signal;
|
|
34018
34018
|
return a.cancel = () => {
|
|
34019
34019
|
o.abort();
|
|
@@ -34029,7 +34029,7 @@ R((e, t) => {
|
|
|
34029
34029
|
if (e.name !== "AbortError") throw e;
|
|
34030
34030
|
}), a;
|
|
34031
34031
|
}, "createTile"),
|
|
34032
|
-
_removeTile:
|
|
34032
|
+
_removeTile: Ve(function(e) {
|
|
34033
34033
|
let t = this._tiles[e];
|
|
34034
34034
|
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", {
|
|
34035
34035
|
tile: t.el,
|
|
@@ -34038,16 +34038,16 @@ R((e, t) => {
|
|
|
34038
34038
|
}, "_removeTile")
|
|
34039
34039
|
}))(t);
|
|
34040
34040
|
}, "leafletRasterLayer");
|
|
34041
|
-
var
|
|
34041
|
+
var Ue = Ve((e) => (t, n) => {
|
|
34042
34042
|
if (n instanceof AbortController) return e(t, n);
|
|
34043
34043
|
let r = new AbortController();
|
|
34044
|
-
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel:
|
|
34045
|
-
}, "v3compat"),
|
|
34044
|
+
return e(t, r).then((e) => n(void 0, e.data, e.cacheControl || "", e.expires || ""), (e) => n(e)).catch((e) => n(e)), { cancel: Ve(() => r.abort(), "cancel") };
|
|
34045
|
+
}, "v3compat"), We = class {
|
|
34046
34046
|
constructor(e) {
|
|
34047
|
-
this.tilev4 =
|
|
34047
|
+
this.tilev4 = Ve((e, t) => He(this, null, function* () {
|
|
34048
34048
|
if (e.type === "json") {
|
|
34049
34049
|
let n = e.url.substr(10), r = this.tiles.get(n);
|
|
34050
|
-
if (r || (r = new
|
|
34050
|
+
if (r || (r = new ft(n), this.tiles.set(n, r)), this.metadata) {
|
|
34051
34051
|
let n = yield r.getTileJson(e.url);
|
|
34052
34052
|
return t.signal.throwIfAborted(), { data: n };
|
|
34053
34053
|
}
|
|
@@ -34067,7 +34067,7 @@ var He = R((e) => (t, n) => {
|
|
|
34067
34067
|
let n = /* @__PURE__ */ new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/), r = e.url.match(n);
|
|
34068
34068
|
if (!r) throw Error("Invalid PMTiles protocol URL");
|
|
34069
34069
|
let i = r[1], a = this.tiles.get(i);
|
|
34070
|
-
a || (a = new
|
|
34070
|
+
a || (a = new ft(i), this.tiles.set(i, a));
|
|
34071
34071
|
let o = r[2], s = r[3], c = r[4], l = yield a == null ? void 0 : a.getZxy(+o, +s, +c, t.signal);
|
|
34072
34072
|
if (t.signal.throwIfAborted(), l) return {
|
|
34073
34073
|
data: new Uint8Array(l.data),
|
|
@@ -34080,7 +34080,7 @@ var He = R((e) => (t, n) => {
|
|
|
34080
34080
|
return { data: new Uint8Array() };
|
|
34081
34081
|
}
|
|
34082
34082
|
return { data: null };
|
|
34083
|
-
}), "tilev4"), this.tile =
|
|
34083
|
+
}), "tilev4"), this.tile = Ue(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;
|
|
34084
34084
|
}
|
|
34085
34085
|
add(e) {
|
|
34086
34086
|
this.tiles.set(e.source.getKey(), e);
|
|
@@ -34089,50 +34089,50 @@ var He = R((e) => (t, n) => {
|
|
|
34089
34089
|
return this.tiles.get(e);
|
|
34090
34090
|
}
|
|
34091
34091
|
};
|
|
34092
|
-
|
|
34093
|
-
var
|
|
34094
|
-
function
|
|
34092
|
+
Ve(We, "Protocol");
|
|
34093
|
+
var Ge = We;
|
|
34094
|
+
function Ke(e, t) {
|
|
34095
34095
|
return (t >>> 0) * 4294967296 + (e >>> 0);
|
|
34096
34096
|
}
|
|
34097
|
-
|
|
34098
|
-
function
|
|
34097
|
+
Ve(Ke, "toNum");
|
|
34098
|
+
function qe(e, t) {
|
|
34099
34099
|
let n = t.buf, r = n[t.pos++], i = (r & 112) >> 4;
|
|
34100
|
-
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
|
|
34100
|
+
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 Ke(e, i);
|
|
34101
34101
|
throw Error("Expected varint not more than 10 bytes");
|
|
34102
34102
|
}
|
|
34103
|
-
|
|
34104
|
-
function
|
|
34103
|
+
Ve(qe, "readVarintRemainder");
|
|
34104
|
+
function z(e) {
|
|
34105
34105
|
let t = e.buf, n = t[e.pos++], r = n & 127;
|
|
34106
|
-
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,
|
|
34106
|
+
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, qe(r, e));
|
|
34107
34107
|
}
|
|
34108
|
-
|
|
34109
|
-
function
|
|
34108
|
+
Ve(z, "readVarint");
|
|
34109
|
+
function Je(e, t, n, r, i) {
|
|
34110
34110
|
return i === 0 ? r === 0 ? [n, t] : [e - 1 - n, e - 1 - t] : [t, n];
|
|
34111
34111
|
}
|
|
34112
|
-
|
|
34113
|
-
function
|
|
34112
|
+
Ve(Je, "rotate");
|
|
34113
|
+
function Ye(e, t, n) {
|
|
34114
34114
|
if (e > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34115
34115
|
if (t >= 1 << e || n >= 1 << e) throw Error("tile x/y outside zoom level bounds");
|
|
34116
34116
|
let r = ((1 << e) * (1 << e) - 1) / 3, i = e - 1, [a, o] = [t, n];
|
|
34117
34117
|
for (let e = 1 << i; e > 0; e >>= 1) {
|
|
34118
34118
|
let t = a & e, n = o & e;
|
|
34119
|
-
r += (3 * t ^ n) * (1 << i), [a, o] =
|
|
34119
|
+
r += (3 * t ^ n) * (1 << i), [a, o] = Je(e, a, o, t, n), i--;
|
|
34120
34120
|
}
|
|
34121
34121
|
return r;
|
|
34122
34122
|
}
|
|
34123
|
-
|
|
34124
|
-
function
|
|
34123
|
+
Ve(Ye, "zxyToTileId");
|
|
34124
|
+
function Xe(e) {
|
|
34125
34125
|
let t = 3 * e + 1;
|
|
34126
34126
|
return t < 4294967296 ? 31 - Math.clz32(t) : 63 - Math.clz32(t / 4294967296);
|
|
34127
34127
|
}
|
|
34128
|
-
|
|
34129
|
-
function
|
|
34130
|
-
let t =
|
|
34128
|
+
Ve(Xe, "tileIdToZ");
|
|
34129
|
+
function Ze(e) {
|
|
34130
|
+
let t = Xe(e) >> 1;
|
|
34131
34131
|
if (t > 26) throw Error("Tile zoom level exceeds max safe number limit (26)");
|
|
34132
34132
|
let n = e - ((1 << t) * (1 << t) - 1) / 3, r = 0, i = 0, a = 1 << t;
|
|
34133
34133
|
for (let e = 1; e < a; e <<= 1) {
|
|
34134
34134
|
let t = e & n / 2, a = e & (n ^ t);
|
|
34135
|
-
[r, i] =
|
|
34135
|
+
[r, i] = Je(e, r, i, t, a), n /= 2, r += t, i += a;
|
|
34136
34136
|
}
|
|
34137
34137
|
return [
|
|
34138
34138
|
t,
|
|
@@ -34140,13 +34140,13 @@ function Xe(e) {
|
|
|
34140
34140
|
i
|
|
34141
34141
|
];
|
|
34142
34142
|
}
|
|
34143
|
-
|
|
34144
|
-
var
|
|
34145
|
-
function
|
|
34146
|
-
return
|
|
34143
|
+
Ve(Ze, "tileIdToZxy");
|
|
34144
|
+
var B = ((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))(B || {});
|
|
34145
|
+
function V(e, t) {
|
|
34146
|
+
return He(this, null, function* () {
|
|
34147
34147
|
if (t === 1 || t === 0) return e;
|
|
34148
34148
|
if (t === 2) {
|
|
34149
|
-
if (globalThis.DecompressionStream === void 0) return
|
|
34149
|
+
if (globalThis.DecompressionStream === void 0) return Re(new Uint8Array(e));
|
|
34150
34150
|
let t = new Response(e).body;
|
|
34151
34151
|
if (!t) throw Error("Failed to read response stream");
|
|
34152
34152
|
let n = t.pipeThrough(new globalThis.DecompressionStream("gzip"));
|
|
@@ -34155,14 +34155,14 @@ function B(e, t) {
|
|
|
34155
34155
|
throw Error("Compression method not supported");
|
|
34156
34156
|
});
|
|
34157
34157
|
}
|
|
34158
|
-
|
|
34159
|
-
var
|
|
34160
|
-
function
|
|
34158
|
+
Ve(V, "defaultDecompress");
|
|
34159
|
+
var H = ((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))(H || {});
|
|
34160
|
+
function Qe(e) {
|
|
34161
34161
|
return e === 1 ? ".mvt" : e === 2 ? ".png" : e === 3 ? ".jpg" : e === 4 ? ".webp" : e === 5 ? ".avif" : e === 6 ? ".mlt" : "";
|
|
34162
34162
|
}
|
|
34163
|
-
|
|
34164
|
-
var
|
|
34165
|
-
function
|
|
34163
|
+
Ve(Qe, "tileTypeExt");
|
|
34164
|
+
var $e = 127;
|
|
34165
|
+
function et(e, t) {
|
|
34166
34166
|
let n = 0, r = e.length - 1;
|
|
34167
34167
|
for (; n <= r;) {
|
|
34168
34168
|
let i = r + n >> 1, a = t - e[i].tileId;
|
|
@@ -34172,7 +34172,7 @@ function $e(e, t) {
|
|
|
34172
34172
|
}
|
|
34173
34173
|
return r >= 0 && (e[r].runLength === 0 || t - e[r].tileId < e[r].runLength) ? e[r] : null;
|
|
34174
34174
|
}
|
|
34175
|
-
|
|
34175
|
+
Ve(et, "findTile"), Ve(class {
|
|
34176
34176
|
constructor(e) {
|
|
34177
34177
|
this.file = e;
|
|
34178
34178
|
}
|
|
@@ -34180,12 +34180,12 @@ R($e, "findTile"), R(class {
|
|
|
34180
34180
|
return this.file.name;
|
|
34181
34181
|
}
|
|
34182
34182
|
getBytes(e, t) {
|
|
34183
|
-
return
|
|
34183
|
+
return He(this, null, function* () {
|
|
34184
34184
|
return { data: yield this.file.slice(e, e + t).arrayBuffer() };
|
|
34185
34185
|
});
|
|
34186
34186
|
}
|
|
34187
34187
|
}, "FileSource");
|
|
34188
|
-
var
|
|
34188
|
+
var U = class {
|
|
34189
34189
|
constructor(e, t = new Headers(), n = void 0) {
|
|
34190
34190
|
var r, i;
|
|
34191
34191
|
this.url = e, this.customHeaders = t, this.credentials = n, this.mustReload = !1;
|
|
@@ -34201,7 +34201,7 @@ var et = class {
|
|
|
34201
34201
|
this.customHeaders = e;
|
|
34202
34202
|
}
|
|
34203
34203
|
getBytes(e, t, n, r) {
|
|
34204
|
-
return
|
|
34204
|
+
return He(this, null, function* () {
|
|
34205
34205
|
let i, a;
|
|
34206
34206
|
n ? a = n : (i = new AbortController(), a = i.signal);
|
|
34207
34207
|
let o = new Headers(this.customHeaders);
|
|
@@ -34226,7 +34226,7 @@ var et = class {
|
|
|
34226
34226
|
});
|
|
34227
34227
|
}
|
|
34228
34228
|
let l = c.headers.get("Etag");
|
|
34229
|
-
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new
|
|
34229
|
+
if (l != null && l.startsWith("W/") && (l = null), c.status === 416 || r && l && l !== r) throw this.mustReload = !0, new ot(`Server returned non-matching ETag ${r} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);
|
|
34230
34230
|
if (c.status >= 300) throw Error(`Bad response code: ${c.status}`);
|
|
34231
34231
|
let u = c.headers.get("Content-Length");
|
|
34232
34232
|
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.");
|
|
@@ -34239,29 +34239,29 @@ var et = class {
|
|
|
34239
34239
|
});
|
|
34240
34240
|
}
|
|
34241
34241
|
};
|
|
34242
|
-
|
|
34243
|
-
var
|
|
34244
|
-
function
|
|
34242
|
+
Ve(U, "FetchSource");
|
|
34243
|
+
var tt = U;
|
|
34244
|
+
function nt(e, t) {
|
|
34245
34245
|
let n = e.getUint32(t + 4, !0), r = e.getUint32(t + 0, !0);
|
|
34246
|
-
return n *
|
|
34246
|
+
return n * Be(2, 32) + r;
|
|
34247
34247
|
}
|
|
34248
|
-
|
|
34249
|
-
function
|
|
34248
|
+
Ve(nt, "getUint64");
|
|
34249
|
+
function rt(e, t) {
|
|
34250
34250
|
let n = new DataView(e), r = n.getUint8(7);
|
|
34251
34251
|
if (r > 3) throw Error(`Archive is spec version ${r} but this library supports up to spec version 3`);
|
|
34252
34252
|
return {
|
|
34253
34253
|
specVersion: r,
|
|
34254
|
-
rootDirectoryOffset:
|
|
34255
|
-
rootDirectoryLength:
|
|
34256
|
-
jsonMetadataOffset:
|
|
34257
|
-
jsonMetadataLength:
|
|
34258
|
-
leafDirectoryOffset:
|
|
34259
|
-
leafDirectoryLength:
|
|
34260
|
-
tileDataOffset:
|
|
34261
|
-
tileDataLength:
|
|
34262
|
-
numAddressedTiles:
|
|
34263
|
-
numTileEntries:
|
|
34264
|
-
numTileContents:
|
|
34254
|
+
rootDirectoryOffset: nt(n, 8),
|
|
34255
|
+
rootDirectoryLength: nt(n, 16),
|
|
34256
|
+
jsonMetadataOffset: nt(n, 24),
|
|
34257
|
+
jsonMetadataLength: nt(n, 32),
|
|
34258
|
+
leafDirectoryOffset: nt(n, 40),
|
|
34259
|
+
leafDirectoryLength: nt(n, 48),
|
|
34260
|
+
tileDataOffset: nt(n, 56),
|
|
34261
|
+
tileDataLength: nt(n, 64),
|
|
34262
|
+
numAddressedTiles: nt(n, 72),
|
|
34263
|
+
numTileEntries: nt(n, 80),
|
|
34264
|
+
numTileContents: nt(n, 88),
|
|
34265
34265
|
clustered: n.getUint8(96) === 1,
|
|
34266
34266
|
internalCompression: n.getUint8(97),
|
|
34267
34267
|
tileCompression: n.getUint8(98),
|
|
@@ -34278,14 +34278,14 @@ function nt(e, t) {
|
|
|
34278
34278
|
etag: t
|
|
34279
34279
|
};
|
|
34280
34280
|
}
|
|
34281
|
-
|
|
34282
|
-
function
|
|
34281
|
+
Ve(rt, "bytesToHeader");
|
|
34282
|
+
function it(e) {
|
|
34283
34283
|
let t = {
|
|
34284
34284
|
buf: new Uint8Array(e),
|
|
34285
34285
|
pos: 0
|
|
34286
|
-
}, n =
|
|
34286
|
+
}, n = z(t), r = [], i = 0;
|
|
34287
34287
|
for (let e = 0; e < n; e++) {
|
|
34288
|
-
let e =
|
|
34288
|
+
let e = z(t);
|
|
34289
34289
|
r.push({
|
|
34290
34290
|
tileId: i + e,
|
|
34291
34291
|
offset: 0,
|
|
@@ -34293,23 +34293,23 @@ function rt(e) {
|
|
|
34293
34293
|
runLength: 1
|
|
34294
34294
|
}), i += e;
|
|
34295
34295
|
}
|
|
34296
|
-
for (let e = 0; e < n; e++) r[e].runLength =
|
|
34297
|
-
for (let e = 0; e < n; e++) r[e].length =
|
|
34296
|
+
for (let e = 0; e < n; e++) r[e].runLength = z(t);
|
|
34297
|
+
for (let e = 0; e < n; e++) r[e].length = z(t);
|
|
34298
34298
|
for (let e = 0; e < n; e++) {
|
|
34299
|
-
let n =
|
|
34299
|
+
let n = z(t);
|
|
34300
34300
|
n === 0 && e > 0 ? r[e].offset = r[e - 1].offset + r[e - 1].length : r[e].offset = n - 1;
|
|
34301
34301
|
}
|
|
34302
34302
|
return r;
|
|
34303
34303
|
}
|
|
34304
|
-
|
|
34305
|
-
var
|
|
34306
|
-
|
|
34307
|
-
var
|
|
34308
|
-
function
|
|
34309
|
-
return
|
|
34304
|
+
Ve(it, "deserializeIndex");
|
|
34305
|
+
var at = class extends Error {};
|
|
34306
|
+
Ve(at, "EtagMismatch");
|
|
34307
|
+
var ot = at;
|
|
34308
|
+
function st(e, t) {
|
|
34309
|
+
return He(this, null, function* () {
|
|
34310
34310
|
let n = yield e.getBytes(0, 16384);
|
|
34311
34311
|
if (new DataView(n.data).getUint16(0, !0) !== 19792) throw Error("Wrong magic number for PMTiles archive");
|
|
34312
|
-
let r =
|
|
34312
|
+
let r = rt(n.data.slice(0, $e), n.etag), i = n.data.slice(r.rootDirectoryOffset, r.rootDirectoryOffset + r.rootDirectoryLength), a = `${e.getKey()}|${r.etag || ""}|${r.rootDirectoryOffset}|${r.rootDirectoryLength}`, o = it(yield t(i, r.internalCompression));
|
|
34313
34313
|
return [r, [
|
|
34314
34314
|
a,
|
|
34315
34315
|
o.length,
|
|
@@ -34317,23 +34317,23 @@ function ot(e, t) {
|
|
|
34317
34317
|
]];
|
|
34318
34318
|
});
|
|
34319
34319
|
}
|
|
34320
|
-
|
|
34321
|
-
function
|
|
34322
|
-
return
|
|
34323
|
-
let a =
|
|
34320
|
+
Ve(st, "getHeaderAndRoot");
|
|
34321
|
+
function ct(e, t, n, r, i) {
|
|
34322
|
+
return He(this, null, function* () {
|
|
34323
|
+
let a = it(yield t((yield e.getBytes(n, r, void 0, i.etag)).data, i.internalCompression));
|
|
34324
34324
|
if (a.length === 0) throw Error("Empty directory is invalid");
|
|
34325
34325
|
return a;
|
|
34326
34326
|
});
|
|
34327
34327
|
}
|
|
34328
|
-
|
|
34329
|
-
constructor(e = 100, t = !0, n =
|
|
34328
|
+
Ve(ct, "getDirectory"), Ve(class {
|
|
34329
|
+
constructor(e = 100, t = !0, n = V) {
|
|
34330
34330
|
this.cache = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34331
34331
|
}
|
|
34332
34332
|
getHeader(e) {
|
|
34333
|
-
return
|
|
34333
|
+
return He(this, null, function* () {
|
|
34334
34334
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34335
34335
|
if (n) return n.lastUsed = this.counter++, n.data;
|
|
34336
|
-
let r = yield
|
|
34336
|
+
let r = yield st(e, this.decompress);
|
|
34337
34337
|
return r[1] && this.cache.set(r[1][0], {
|
|
34338
34338
|
lastUsed: this.counter++,
|
|
34339
34339
|
data: r[1][2]
|
|
@@ -34344,10 +34344,10 @@ R(st, "getDirectory"), R(class {
|
|
|
34344
34344
|
});
|
|
34345
34345
|
}
|
|
34346
34346
|
getDirectory(e, t, n, r) {
|
|
34347
|
-
return
|
|
34347
|
+
return He(this, null, function* () {
|
|
34348
34348
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34349
34349
|
if (a) return a.lastUsed = this.counter++, a.data;
|
|
34350
|
-
let o = yield
|
|
34350
|
+
let o = yield ct(e, this.decompress, t, n, r);
|
|
34351
34351
|
return this.cache.set(i, {
|
|
34352
34352
|
lastUsed: this.counter++,
|
|
34353
34353
|
data: o
|
|
@@ -34363,21 +34363,21 @@ R(st, "getDirectory"), R(class {
|
|
|
34363
34363
|
}
|
|
34364
34364
|
}
|
|
34365
34365
|
invalidate(e) {
|
|
34366
|
-
return
|
|
34366
|
+
return He(this, null, function* () {
|
|
34367
34367
|
this.cache.delete(e.getKey());
|
|
34368
34368
|
});
|
|
34369
34369
|
}
|
|
34370
34370
|
}, "ResolvedValueCache");
|
|
34371
|
-
var
|
|
34372
|
-
constructor(e = 100, t = !0, n =
|
|
34371
|
+
var lt = class {
|
|
34372
|
+
constructor(e = 100, t = !0, n = V) {
|
|
34373
34373
|
this.cache = /* @__PURE__ */ new Map(), this.invalidations = /* @__PURE__ */ new Map(), this.maxCacheEntries = e, this.counter = 1, this.decompress = n;
|
|
34374
34374
|
}
|
|
34375
34375
|
getHeader(e) {
|
|
34376
|
-
return
|
|
34376
|
+
return He(this, null, function* () {
|
|
34377
34377
|
let t = e.getKey(), n = this.cache.get(t);
|
|
34378
34378
|
if (n) return n.lastUsed = this.counter++, yield n.data;
|
|
34379
34379
|
let r = new Promise((t, n) => {
|
|
34380
|
-
|
|
34380
|
+
st(e, this.decompress).then((e) => {
|
|
34381
34381
|
e[1] && this.cache.set(e[1][0], {
|
|
34382
34382
|
lastUsed: this.counter++,
|
|
34383
34383
|
data: Promise.resolve(e[1][2])
|
|
@@ -34393,11 +34393,11 @@ var ct = class {
|
|
|
34393
34393
|
});
|
|
34394
34394
|
}
|
|
34395
34395
|
getDirectory(e, t, n, r) {
|
|
34396
|
-
return
|
|
34396
|
+
return He(this, null, function* () {
|
|
34397
34397
|
let i = `${e.getKey()}|${r.etag || ""}|${t}|${n}`, a = this.cache.get(i);
|
|
34398
34398
|
if (a) return a.lastUsed = this.counter++, yield a.data;
|
|
34399
34399
|
let o = new Promise((i, a) => {
|
|
34400
|
-
|
|
34400
|
+
ct(e, this.decompress, t, n, r).then((e) => {
|
|
34401
34401
|
i(e), this.prune();
|
|
34402
34402
|
}).catch((e) => {
|
|
34403
34403
|
a(e);
|
|
@@ -34418,7 +34418,7 @@ var ct = class {
|
|
|
34418
34418
|
}
|
|
34419
34419
|
}
|
|
34420
34420
|
invalidate(e) {
|
|
34421
|
-
return
|
|
34421
|
+
return He(this, null, function* () {
|
|
34422
34422
|
let t = e.getKey();
|
|
34423
34423
|
if (this.invalidations.get(t)) return yield this.invalidations.get(t);
|
|
34424
34424
|
this.cache.delete(e.getKey());
|
|
@@ -34433,23 +34433,23 @@ var ct = class {
|
|
|
34433
34433
|
});
|
|
34434
34434
|
}
|
|
34435
34435
|
};
|
|
34436
|
-
|
|
34437
|
-
var
|
|
34436
|
+
Ve(lt, "SharedPromiseCache");
|
|
34437
|
+
var ut = lt, dt = class {
|
|
34438
34438
|
constructor(e, t, n) {
|
|
34439
|
-
typeof e == "string" ? this.source = new
|
|
34439
|
+
typeof e == "string" ? this.source = new tt(e) : this.source = e, n ? this.decompress = n : this.decompress = V, t ? this.cache = t : this.cache = new ut();
|
|
34440
34440
|
}
|
|
34441
34441
|
getHeader() {
|
|
34442
|
-
return
|
|
34442
|
+
return He(this, null, function* () {
|
|
34443
34443
|
return yield this.cache.getHeader(this.source);
|
|
34444
34444
|
});
|
|
34445
34445
|
}
|
|
34446
34446
|
getZxyAttempt(e, t, n, r) {
|
|
34447
|
-
return
|
|
34448
|
-
let i =
|
|
34447
|
+
return He(this, null, function* () {
|
|
34448
|
+
let i = Ye(e, t, n), a = yield this.cache.getHeader(this.source);
|
|
34449
34449
|
if (e < a.minZoom || e > a.maxZoom) return;
|
|
34450
34450
|
let o = a.rootDirectoryOffset, s = a.rootDirectoryLength;
|
|
34451
34451
|
for (let e = 0; e <= 3; e++) {
|
|
34452
|
-
let e =
|
|
34452
|
+
let e = et(yield this.cache.getDirectory(this.source, o, s, a), i);
|
|
34453
34453
|
if (e) {
|
|
34454
34454
|
if (e.runLength > 0) {
|
|
34455
34455
|
let t = yield this.source.getBytes(a.tileDataOffset + e.offset, e.length, r, a.etag);
|
|
@@ -34466,38 +34466,38 @@ var lt = ct, ut = class {
|
|
|
34466
34466
|
});
|
|
34467
34467
|
}
|
|
34468
34468
|
getZxy(e, t, n, r) {
|
|
34469
|
-
return
|
|
34469
|
+
return He(this, null, function* () {
|
|
34470
34470
|
try {
|
|
34471
34471
|
return yield this.getZxyAttempt(e, t, n, r);
|
|
34472
34472
|
} catch (i) {
|
|
34473
|
-
if (i instanceof
|
|
34473
|
+
if (i instanceof ot) return this.cache.invalidate(this.source), yield this.getZxyAttempt(e, t, n, r);
|
|
34474
34474
|
throw i;
|
|
34475
34475
|
}
|
|
34476
34476
|
});
|
|
34477
34477
|
}
|
|
34478
34478
|
getMetadataAttempt() {
|
|
34479
|
-
return
|
|
34479
|
+
return He(this, null, function* () {
|
|
34480
34480
|
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");
|
|
34481
34481
|
return JSON.parse(r.decode(n));
|
|
34482
34482
|
});
|
|
34483
34483
|
}
|
|
34484
34484
|
getMetadata() {
|
|
34485
|
-
return
|
|
34485
|
+
return He(this, null, function* () {
|
|
34486
34486
|
try {
|
|
34487
34487
|
return yield this.getMetadataAttempt();
|
|
34488
34488
|
} catch (e) {
|
|
34489
|
-
if (e instanceof
|
|
34489
|
+
if (e instanceof ot) return this.cache.invalidate(this.source), yield this.getMetadataAttempt();
|
|
34490
34490
|
throw e;
|
|
34491
34491
|
}
|
|
34492
34492
|
});
|
|
34493
34493
|
}
|
|
34494
34494
|
getTileJson(e) {
|
|
34495
|
-
return
|
|
34495
|
+
return He(this, null, function* () {
|
|
34496
34496
|
let t = yield this.getHeader(), n = yield this.getMetadata();
|
|
34497
34497
|
return {
|
|
34498
34498
|
tilejson: "3.0.0",
|
|
34499
34499
|
scheme: "xyz",
|
|
34500
|
-
tiles: [`${e}/{z}/{x}/{y}${
|
|
34500
|
+
tiles: [`${e}/{z}/{x}/{y}${Qe(t.tileType)}`],
|
|
34501
34501
|
vector_layers: n.vector_layers,
|
|
34502
34502
|
attribution: n.attribution,
|
|
34503
34503
|
description: n.description,
|
|
@@ -34520,14 +34520,14 @@ var lt = ct, ut = class {
|
|
|
34520
34520
|
});
|
|
34521
34521
|
}
|
|
34522
34522
|
};
|
|
34523
|
-
|
|
34524
|
-
var
|
|
34523
|
+
Ve(dt, "PMTiles");
|
|
34524
|
+
var ft = dt, pt = r(), mt = "expofp-map-dim", ht = "expofp-map-dim-source", gt = "3d-expofp", _t = null, vt = [
|
|
34525
34525
|
"coalesce",
|
|
34526
34526
|
["get", "name:en"],
|
|
34527
34527
|
["get", "name_en"],
|
|
34528
34528
|
["get", "name:latin"],
|
|
34529
34529
|
["get", "name"]
|
|
34530
|
-
],
|
|
34530
|
+
], yt = {
|
|
34531
34531
|
type: "Feature",
|
|
34532
34532
|
geometry: {
|
|
34533
34533
|
type: "Polygon",
|
|
@@ -34541,51 +34541,51 @@ var dt = ut, ft = r(), pt = "expofp-map-dim", mt = "expofp-map-dim-source", ht =
|
|
|
34541
34541
|
},
|
|
34542
34542
|
properties: {}
|
|
34543
34543
|
};
|
|
34544
|
-
function
|
|
34544
|
+
function bt(e) {
|
|
34545
34545
|
if (!e || typeof e != "object") return !1;
|
|
34546
34546
|
let t = e.length;
|
|
34547
34547
|
if (typeof t != "number" || t < 16) return !1;
|
|
34548
34548
|
let n = e[0];
|
|
34549
34549
|
return typeof n == "number" && Number.isFinite(n);
|
|
34550
34550
|
}
|
|
34551
|
-
function
|
|
34551
|
+
function xt(e) {
|
|
34552
34552
|
var t;
|
|
34553
|
-
if (
|
|
34553
|
+
if (bt(e)) return Array.from(e);
|
|
34554
34554
|
let n = e, r = n == null || (t = n.defaultProjectionData) == null ? void 0 : t.mainMatrix;
|
|
34555
|
-
return
|
|
34556
|
-
}
|
|
34557
|
-
function xt(e) {
|
|
34558
|
-
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => xt(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => xt(e));
|
|
34555
|
+
return bt(r) ? Array.from(r) : (console.warn("Maplibre custom layer received an unsupported projection matrix payload.", e), null);
|
|
34559
34556
|
}
|
|
34560
34557
|
function St(e) {
|
|
34561
|
-
return e
|
|
34558
|
+
return typeof e == "string" ? e.includes("name") : Array.isArray(e) ? e.some((e) => St(e)) : !e || typeof e != "object" ? !1 : Object.values(e).some((e) => St(e));
|
|
34562
34559
|
}
|
|
34563
34560
|
function Ct(e) {
|
|
34561
|
+
return e.type !== "symbol" || !e.id || !e.layout ? !1 : St(e.layout["text-field"]);
|
|
34562
|
+
}
|
|
34563
|
+
function wt(e) {
|
|
34564
34564
|
var t;
|
|
34565
34565
|
let n = e.getStyle();
|
|
34566
|
-
for (let r of (t = n.layers) == null ? [] : t)
|
|
34566
|
+
for (let r of (t = n.layers) == null ? [] : t) Ct(r) && e.setLayoutProperty(r.id, "text-field", vt);
|
|
34567
34567
|
}
|
|
34568
|
-
function
|
|
34569
|
-
if (!
|
|
34570
|
-
|
|
34568
|
+
function Tt() {
|
|
34569
|
+
if (!_t) {
|
|
34570
|
+
_t = new Ge();
|
|
34571
34571
|
try {
|
|
34572
|
-
(0, re.addProtocol)("pmtiles",
|
|
34572
|
+
(0, re.addProtocol)("pmtiles", _t.tile);
|
|
34573
34573
|
} catch (e) {
|
|
34574
34574
|
console.warn("Maplibre PMTiles protocol registration failed.", e);
|
|
34575
34575
|
}
|
|
34576
34576
|
}
|
|
34577
34577
|
}
|
|
34578
|
-
function
|
|
34579
|
-
let l = (0,
|
|
34578
|
+
function Et({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapOptions: i, onRendererReady: a, onMapDimLayerReady: o, onMapLoadError: c }) {
|
|
34579
|
+
let l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(a), p = (0, F.useRef)(o), m = (0, F.useRef)(c), h = (0, F.useRef)({
|
|
34580
34580
|
sceneDef: e,
|
|
34581
34581
|
geoConfig: t,
|
|
34582
34582
|
staticTransform: n,
|
|
34583
34583
|
tileSource: r,
|
|
34584
34584
|
mapOptions: i
|
|
34585
34585
|
});
|
|
34586
|
-
return (0,
|
|
34586
|
+
return (0, F.useEffect)(() => {
|
|
34587
34587
|
f.current = a, p.current = o, m.current = c;
|
|
34588
|
-
}), (0,
|
|
34588
|
+
}), (0, F.useEffect)(() => {
|
|
34589
34589
|
var e, t;
|
|
34590
34590
|
if (!l.current) return;
|
|
34591
34591
|
let { sceneDef: n, geoConfig: r, staticTransform: i, tileSource: a, mapOptions: o } = h.current, c = !1, g = { ...n };
|
|
@@ -34594,7 +34594,7 @@ function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34594
34594
|
g.rootLayer.children = _.filter((e) => {
|
|
34595
34595
|
var t;
|
|
34596
34596
|
return (e == null || (t = e.name) == null ? void 0 : t.toString().toLowerCase()) !== "areamap";
|
|
34597
|
-
}), g.background = void 0, g.staticTransform = i,
|
|
34597
|
+
}), g.background = void 0, g.staticTransform = i, Tt();
|
|
34598
34598
|
let v = r.bounds ? {
|
|
34599
34599
|
bounds: r.bounds,
|
|
34600
34600
|
fitBoundsOptions: {
|
|
@@ -34621,7 +34621,7 @@ function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34621
34621
|
y.isStyleLoaded() || (t = m.current) == null || t.call(m, (n = e == null ? void 0 : e.error) == null ? e : n);
|
|
34622
34622
|
});
|
|
34623
34623
|
let b = {
|
|
34624
|
-
id:
|
|
34624
|
+
id: gt,
|
|
34625
34625
|
type: "custom",
|
|
34626
34626
|
renderingMode: "3d",
|
|
34627
34627
|
onAdd(e, t) {
|
|
@@ -34639,18 +34639,18 @@ function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34639
34639
|
},
|
|
34640
34640
|
render(e, t) {
|
|
34641
34641
|
if (!d.current || d.current.isDisposed) return;
|
|
34642
|
-
let n =
|
|
34642
|
+
let n = xt(t == null ? e : t);
|
|
34643
34643
|
n && d.current.render(n);
|
|
34644
34644
|
}
|
|
34645
34645
|
}, x = () => {
|
|
34646
34646
|
var e;
|
|
34647
|
-
|
|
34647
|
+
wt(y), y.getSource(ht) || y.addSource(ht, {
|
|
34648
34648
|
type: "geojson",
|
|
34649
|
-
data:
|
|
34649
|
+
data: yt
|
|
34650
34650
|
}), y.getLayer("expofp-map-dim") || y.addLayer({
|
|
34651
|
-
id:
|
|
34651
|
+
id: mt,
|
|
34652
34652
|
type: "fill",
|
|
34653
|
-
source:
|
|
34653
|
+
source: ht,
|
|
34654
34654
|
paint: {
|
|
34655
34655
|
"fill-color": "#000000",
|
|
34656
34656
|
"fill-opacity": 0,
|
|
@@ -34665,7 +34665,7 @@ function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34665
34665
|
var e;
|
|
34666
34666
|
c = !0, y.off("style.load", x), (e = d.current) == null || e.dispose(), d.current = null, y.remove(), u.current = null;
|
|
34667
34667
|
};
|
|
34668
|
-
}, []), /* @__PURE__ */ (0,
|
|
34668
|
+
}, []), /* @__PURE__ */ (0, pt.jsx)("div", {
|
|
34669
34669
|
ref: l,
|
|
34670
34670
|
style: {
|
|
34671
34671
|
position: "absolute",
|
|
@@ -34676,29 +34676,29 @@ function Tt({ sceneDef: e, geoConfig: t, staticTransform: n, tileSource: r, mapO
|
|
|
34676
34676
|
}
|
|
34677
34677
|
});
|
|
34678
34678
|
}
|
|
34679
|
-
var
|
|
34680
|
-
function
|
|
34679
|
+
var Dt = .02, Ot = .15;
|
|
34680
|
+
function kt(e) {
|
|
34681
34681
|
let t = [
|
|
34682
|
-
[
|
|
34683
|
-
[
|
|
34684
|
-
[
|
|
34685
|
-
[
|
|
34686
|
-
].map(([t, n]) =>
|
|
34682
|
+
[S.min.x, S.min.y],
|
|
34683
|
+
[S.max.x, S.min.y],
|
|
34684
|
+
[S.max.x, S.max.y],
|
|
34685
|
+
[S.min.x, S.max.y]
|
|
34686
|
+
].map(([t, n]) => b(t, n, e));
|
|
34687
34687
|
if (!t.every(([e, t]) => Number.isFinite(e) && Number.isFinite(t))) return;
|
|
34688
|
-
let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3,
|
|
34688
|
+
let n = t.map(([e]) => e), r = t.map(([, e]) => e), i = Math.min(...n), a = Math.max(...n), o = Math.min(...r), s = Math.max(...r), c = Math.max((a - i) * 3, Dt), l = Math.max((s - o) * 3, Dt);
|
|
34689
34689
|
return [[i - c, o - l], [a + c, s + l]];
|
|
34690
34690
|
}
|
|
34691
|
-
function
|
|
34691
|
+
function At(e, t) {
|
|
34692
34692
|
let n = [
|
|
34693
|
-
|
|
34694
|
-
|
|
34695
|
-
|
|
34696
|
-
|
|
34693
|
+
b(e.min.x, e.min.y, t),
|
|
34694
|
+
b(e.max.x, e.min.y, t),
|
|
34695
|
+
b(e.max.x, e.max.y, t),
|
|
34696
|
+
b(e.min.x, e.max.y, t)
|
|
34697
34697
|
], r = n.map(([e]) => e), i = n.map(([, e]) => e);
|
|
34698
34698
|
return [[Math.min(...r), Math.min(...i)], [Math.max(...r), Math.max(...i)]];
|
|
34699
34699
|
}
|
|
34700
|
-
function
|
|
34701
|
-
let t =
|
|
34700
|
+
function jt(e = 0) {
|
|
34701
|
+
let t = x.canvasVisibleRectPx, n = x.screenSize;
|
|
34702
34702
|
return !t || !n ? {
|
|
34703
34703
|
top: e,
|
|
34704
34704
|
bottom: e,
|
|
@@ -34711,10 +34711,10 @@ function At(e = 0) {
|
|
|
34711
34711
|
right: Math.max(0, n.width - t.max.x) + e
|
|
34712
34712
|
};
|
|
34713
34713
|
}
|
|
34714
|
-
function
|
|
34714
|
+
function Mt() {
|
|
34715
34715
|
var e, t;
|
|
34716
|
-
if (!(!(
|
|
34717
|
-
let n =
|
|
34716
|
+
if (!(!(C == null || (e = C.properties) == null) && e.config)) return null;
|
|
34717
|
+
let n = C.properties.config;
|
|
34718
34718
|
return {
|
|
34719
34719
|
center: [(n.p0.lng + n.p2.lng) / 2, (n.p0.lat + n.p2.lat) / 2],
|
|
34720
34720
|
bearing: (t = n.bearing) == null ? 0 : t,
|
|
@@ -34722,10 +34722,10 @@ function jt() {
|
|
|
34722
34722
|
gpsConfig: n
|
|
34723
34723
|
};
|
|
34724
34724
|
}
|
|
34725
|
-
function
|
|
34725
|
+
function Nt(e, t, n, r = {}) {
|
|
34726
34726
|
var i, a;
|
|
34727
34727
|
if (!e || !t || !n || t.size.height === Infinity || t.size.width === Infinity || t.size.height <= 0 || t.size.width <= 0) return;
|
|
34728
|
-
let o =
|
|
34728
|
+
let o = At(t, n.gpsConfig), s = jt((i = r.padding) == null ? 50 : i);
|
|
34729
34729
|
e.fitBounds(o, {
|
|
34730
34730
|
padding: s,
|
|
34731
34731
|
duration: (a = r.duration) == null ? 1e3 : a,
|
|
@@ -34734,62 +34734,62 @@ function Mt(e, t, n, r = {}) {
|
|
|
34734
34734
|
}
|
|
34735
34735
|
//#endregion
|
|
34736
34736
|
//#region src/components/Maplibre/useCameraReactions.ts
|
|
34737
|
-
var
|
|
34738
|
-
function
|
|
34739
|
-
|
|
34737
|
+
var Pt = x;
|
|
34738
|
+
function Ft(e, t) {
|
|
34739
|
+
E(() => Pt.moveToBooths, (n) => {
|
|
34740
34740
|
let r = e.current;
|
|
34741
34741
|
if (!n || !r || !t) return;
|
|
34742
34742
|
let i = n.filter((e) => e.rect);
|
|
34743
|
-
i.length !== 0 && (
|
|
34744
|
-
}),
|
|
34743
|
+
i.length !== 0 && (Nt(r, _.fromUnion(...i.map((e) => e.rect)), t), Pt.moveToBooths = null);
|
|
34744
|
+
}), E(() => Pt.moveToRect, (n) => {
|
|
34745
34745
|
let r = e.current;
|
|
34746
|
-
!n || !r || !t || (
|
|
34747
|
-
}),
|
|
34746
|
+
!n || !r || !t || (Nt(r, n, t), Pt.moveToRect = null);
|
|
34747
|
+
}), E(() => Pt.zoomBy, (t) => {
|
|
34748
34748
|
let n = e.current;
|
|
34749
34749
|
!t || !n || (n.flyTo({
|
|
34750
34750
|
zoom: n.getZoom() + (t > 1 ? .5 : -.5),
|
|
34751
34751
|
animate: !0,
|
|
34752
34752
|
duration: 500
|
|
34753
|
-
}),
|
|
34754
|
-
}),
|
|
34755
|
-
let r = e.current, i =
|
|
34753
|
+
}), Pt.zoomBy = null);
|
|
34754
|
+
}), E(() => x.moveToLocation, (n) => {
|
|
34755
|
+
let r = e.current, i = v.routeStore.currentPosition;
|
|
34756
34756
|
if (!n || !r || !i) return;
|
|
34757
34757
|
let { lng: a, lat: o } = i, s = typeof a == "number" && Number.isFinite(a) && typeof o == "number" && Number.isFinite(o), c;
|
|
34758
34758
|
if (s) c = [a, o];
|
|
34759
34759
|
else {
|
|
34760
34760
|
if (!t) return;
|
|
34761
|
-
c =
|
|
34761
|
+
c = b(i.x, i.y, t.gpsConfig);
|
|
34762
34762
|
}
|
|
34763
34763
|
r.flyTo({
|
|
34764
34764
|
center: c,
|
|
34765
34765
|
animate: !0,
|
|
34766
34766
|
duration: 1e3
|
|
34767
34767
|
}), r.once("moveend", () => {
|
|
34768
|
-
|
|
34768
|
+
x.moveToLocation = !1;
|
|
34769
34769
|
});
|
|
34770
|
-
}),
|
|
34770
|
+
}), E(() => x.centerMap, (n) => {
|
|
34771
34771
|
let r = e.current;
|
|
34772
|
-
!n || !r || !t || (
|
|
34772
|
+
!n || !r || !t || (x.list.type === "search" && !x.list.text || Nt(r, v.layerStore.rectangle || S, t, { padding: 0 }), x.centerMap = !1);
|
|
34773
34773
|
});
|
|
34774
34774
|
}
|
|
34775
34775
|
//#endregion
|
|
34776
34776
|
//#region src/components/Maplibre/utils/map-helpers.ts
|
|
34777
|
-
var
|
|
34777
|
+
var It = { style: "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json" }, Lt = {
|
|
34778
34778
|
pitch: 30,
|
|
34779
34779
|
maxPitch: 70,
|
|
34780
34780
|
minZoom: 14
|
|
34781
|
-
},
|
|
34781
|
+
}, W = {
|
|
34782
34782
|
pitch: 0,
|
|
34783
34783
|
maxPitch: 0,
|
|
34784
34784
|
minZoom: 14
|
|
34785
34785
|
};
|
|
34786
|
-
function
|
|
34787
|
-
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(
|
|
34786
|
+
function Rt(e, t) {
|
|
34787
|
+
e != null && e.getLayer("expofp-map-dim") && (e.setPaintProperty(mt, "fill-opacity", zt(t)), e.triggerRepaint());
|
|
34788
34788
|
}
|
|
34789
|
-
function
|
|
34789
|
+
function zt(e) {
|
|
34790
34790
|
return Math.min(Math.max(e, 0), 1);
|
|
34791
34791
|
}
|
|
34792
|
-
function
|
|
34792
|
+
function Bt(e, t, n = !1) {
|
|
34793
34793
|
var r, i, a;
|
|
34794
34794
|
if (!e) return;
|
|
34795
34795
|
e.setMinZoom((r = t.minZoom) == null ? null : r), e.setMaxZoom((i = t.maxZoom) == null ? null : i), e.setMaxBounds((a = t.maxBounds) == null ? null : a);
|
|
@@ -34799,72 +34799,72 @@ function zt(e, t, n = !1) {
|
|
|
34799
34799
|
duration: 300
|
|
34800
34800
|
}), l && e.once("moveend", () => e.setMaxPitch(s))) : e.jumpTo({ pitch: o }));
|
|
34801
34801
|
}
|
|
34802
|
-
function
|
|
34802
|
+
function Vt() {
|
|
34803
34803
|
var e, t;
|
|
34804
|
-
let n = (e = (t =
|
|
34805
|
-
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } :
|
|
34804
|
+
let n = (e = (t = v.fp) == null ? void 0 : t.maplibre) == null ? window.__efpMaplibre : e;
|
|
34805
|
+
return n != null && n.style ? { style: n.style } : n != null && n.styleUrl ? { style: n.styleUrl } : It;
|
|
34806
34806
|
}
|
|
34807
34807
|
//#endregion
|
|
34808
34808
|
//#region src/components/Maplibre/useDimming.ts
|
|
34809
|
-
function
|
|
34810
|
-
let n = (0,
|
|
34811
|
-
(0,
|
|
34809
|
+
function G(e, t) {
|
|
34810
|
+
let n = (0, F.useRef)(t);
|
|
34811
|
+
(0, F.useEffect)(() => {
|
|
34812
34812
|
n.current = t;
|
|
34813
34813
|
}, [t]);
|
|
34814
|
-
let r = (0,
|
|
34815
|
-
return (0,
|
|
34816
|
-
let t =
|
|
34817
|
-
|
|
34818
|
-
}), a =
|
|
34819
|
-
|
|
34814
|
+
let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
|
|
34815
|
+
return (0, F.useEffect)(() => {
|
|
34816
|
+
let t = D((t) => {
|
|
34817
|
+
Rt(e.current, t * N);
|
|
34818
|
+
}), a = D((e) => {
|
|
34819
|
+
k(n.current, e * 1);
|
|
34820
34820
|
});
|
|
34821
34821
|
return r.current = t, i.current = a, () => {
|
|
34822
34822
|
t.stop(), a.stop(), r.current = null, i.current = null;
|
|
34823
34823
|
};
|
|
34824
|
-
}, [e]),
|
|
34824
|
+
}, [e]), E(() => x.dimmed, (e) => {
|
|
34825
34825
|
var t, n;
|
|
34826
34826
|
(t = r.current) == null || t.setTarget(e), (n = i.current) == null || n.setTarget(e);
|
|
34827
34827
|
}), {
|
|
34828
34828
|
mapDimAnimatorRef: r,
|
|
34829
34829
|
venueDimAnimatorRef: i,
|
|
34830
|
-
handleMapDimLayerReady: (0,
|
|
34830
|
+
handleMapDimLayerReady: (0, F.useCallback)((e) => {
|
|
34831
34831
|
var t, n;
|
|
34832
|
-
|
|
34832
|
+
Rt(e, ((t = (n = r.current) == null ? void 0 : n.getValue()) == null ? +!!x.dimmed : t) * N);
|
|
34833
34833
|
}, [])
|
|
34834
34834
|
};
|
|
34835
34835
|
}
|
|
34836
34836
|
//#endregion
|
|
34837
34837
|
//#region src/components/Maplibre/utils/layer-defs.ts
|
|
34838
|
-
function
|
|
34838
|
+
function Ht(e, t = /* @__PURE__ */ new Map()) {
|
|
34839
34839
|
var n;
|
|
34840
34840
|
if (e.name) {
|
|
34841
34841
|
var r;
|
|
34842
34842
|
let n = (r = t.get(e.name)) == null ? [] : r;
|
|
34843
34843
|
n.push(e), t.set(e.name, n);
|
|
34844
34844
|
}
|
|
34845
|
-
for (let r of (n = e.children) == null ? [] : n) r && "children" in r &&
|
|
34845
|
+
for (let r of (n = e.children) == null ? [] : n) r && "children" in r && Ht(r, t);
|
|
34846
34846
|
return t;
|
|
34847
34847
|
}
|
|
34848
|
-
function
|
|
34849
|
-
return e != null && e.shape ?
|
|
34848
|
+
function Ut(e) {
|
|
34849
|
+
return e != null && e.shape ? w.booths.find((t) => {
|
|
34850
34850
|
var n;
|
|
34851
34851
|
return (n = t.shapes) == null ? void 0 : n.some((t) => t.shape === e.shape);
|
|
34852
34852
|
}) : null;
|
|
34853
34853
|
}
|
|
34854
34854
|
//#endregion
|
|
34855
34855
|
//#region src/components/Maplibre/useLayerVisibilitySync.ts
|
|
34856
|
-
function
|
|
34857
|
-
let r = (0,
|
|
34858
|
-
|
|
34856
|
+
function Wt(e, t, n) {
|
|
34857
|
+
let r = (0, F.useRef)(null), i = (0, F.useRef)(null);
|
|
34858
|
+
E(() => v.layerStore.layers.map((e) => `${e.name}:${+!!e.visible}`), () => {
|
|
34859
34859
|
var a, o;
|
|
34860
34860
|
let s = e.scene;
|
|
34861
34861
|
if (!s) return;
|
|
34862
34862
|
((a = r.current) == null ? void 0 : a.rootLayer) !== s.rootLayer && (r.current = {
|
|
34863
34863
|
rootLayer: s.rootLayer,
|
|
34864
|
-
defsByName:
|
|
34864
|
+
defsByName: Ht(s.rootLayer)
|
|
34865
34865
|
});
|
|
34866
34866
|
let c = r.current.defsByName, l = [];
|
|
34867
|
-
for (let e of
|
|
34867
|
+
for (let e of v.layerStore.layers) {
|
|
34868
34868
|
let t = c.get(e.name);
|
|
34869
34869
|
if (t != null && t.length) for (let n of t) {
|
|
34870
34870
|
let t = !e.visible;
|
|
@@ -34872,45 +34872,45 @@ function Ut(e, t, n) {
|
|
|
34872
34872
|
}
|
|
34873
34873
|
}
|
|
34874
34874
|
l.length && e.update(...l);
|
|
34875
|
-
let u =
|
|
34875
|
+
let u = v.layerStore.layers.find((e) => e.visible && !e.frozen && !e.rootParent && !e.pathway);
|
|
34876
34876
|
if (!u || i.current === u.name) return;
|
|
34877
34877
|
i.current = u.name;
|
|
34878
34878
|
let d = (o = u.viewbox) == null ? u.rect : o;
|
|
34879
|
-
|
|
34879
|
+
Nt(t.current, d == null ? null : d, n);
|
|
34880
34880
|
});
|
|
34881
34881
|
}
|
|
34882
34882
|
//#endregion
|
|
34883
34883
|
//#region src/components/Maplibre/useRendererEvents.ts
|
|
34884
|
-
var
|
|
34885
|
-
function
|
|
34886
|
-
(0,
|
|
34884
|
+
var Gt = x;
|
|
34885
|
+
function Kt(e, t) {
|
|
34886
|
+
(0, F.useEffect)(() => {
|
|
34887
34887
|
if (!e) return;
|
|
34888
34888
|
let n = ({ data: e }) => {
|
|
34889
|
-
if (
|
|
34890
|
-
let { point: t, defs: n } = l(e), r =
|
|
34891
|
-
|
|
34889
|
+
if (x.setKioskModeEnabled) return;
|
|
34890
|
+
let { point: t, defs: n } = l(e), r = j(t.x, t.y), i = Ut(n[0]);
|
|
34891
|
+
Gt.hoveredBooth = r || i;
|
|
34892
34892
|
}, r = () => {
|
|
34893
|
-
|
|
34893
|
+
x.setKioskModeEnabled || (Gt.hoveredBooth = null);
|
|
34894
34894
|
}, i = ({ data: e }) => {
|
|
34895
34895
|
var n, r;
|
|
34896
|
-
if (!(
|
|
34897
|
-
(n = (r = window).__resett) == null || n.call(r),
|
|
34896
|
+
if (!(x != null && x.rootElement)) return;
|
|
34897
|
+
(n = (r = window).__resett) == null || n.call(r), x.overlayPosition === "bottom" && x.overlaySize === "full" && v.showMap();
|
|
34898
34898
|
let { point: i, defs: a } = l(e), { x: o, y: s } = i;
|
|
34899
|
-
if (
|
|
34900
|
-
let e =
|
|
34901
|
-
|
|
34899
|
+
if (x.onGetCoordsClick) {
|
|
34900
|
+
let e = v.layerStore.layers.find((e) => e.visible && (e.mode === f.TurnedOn || e.mode === f.TurnedOff));
|
|
34901
|
+
x.onGetCoordsClick({
|
|
34902
34902
|
x: o,
|
|
34903
34903
|
y: s,
|
|
34904
34904
|
z: (e == null ? void 0 : e.name) || null
|
|
34905
34905
|
});
|
|
34906
34906
|
}
|
|
34907
|
-
if (
|
|
34908
|
-
if (
|
|
34909
|
-
let e =
|
|
34910
|
-
|
|
34907
|
+
if (x.setKioskModeEnabled) return;
|
|
34908
|
+
if (x.onMarkerClick) {
|
|
34909
|
+
let e = te(o, s, t.scale);
|
|
34910
|
+
x.onMarkerClick(e);
|
|
34911
34911
|
}
|
|
34912
|
-
let c =
|
|
34913
|
-
|
|
34912
|
+
let c = j(i.x, i.y), u = Ut(a[0]);
|
|
34913
|
+
v.clickBooth(c || u);
|
|
34914
34914
|
}, a = () => {
|
|
34915
34915
|
var e, t;
|
|
34916
34916
|
return (e = (t = window).__resett) == null ? void 0 : e.call(t);
|
|
@@ -34922,10 +34922,10 @@ function Gt(e, t) {
|
|
|
34922
34922
|
}
|
|
34923
34923
|
//#endregion
|
|
34924
34924
|
//#region src/components/Maplibre/useWayfindingAndMarkers.ts
|
|
34925
|
-
function
|
|
34926
|
-
(0,
|
|
34925
|
+
function qt(e, t) {
|
|
34926
|
+
(0, F.useEffect)(() => {
|
|
34927
34927
|
if (!e) return;
|
|
34928
|
-
let n =
|
|
34928
|
+
let n = P(t), r = A(t);
|
|
34929
34929
|
return () => {
|
|
34930
34930
|
n == null || n(), r == null || r();
|
|
34931
34931
|
};
|
|
@@ -34933,18 +34933,18 @@ function Kt(e, t) {
|
|
|
34933
34933
|
}
|
|
34934
34934
|
//#endregion
|
|
34935
34935
|
//#region src/components/Maplibre/utils/solver.ts
|
|
34936
|
-
var
|
|
34937
|
-
function
|
|
34936
|
+
var Jt = 1e-12, Yt = 3.28084;
|
|
34937
|
+
function Xt(e, t) {
|
|
34938
34938
|
var n, r;
|
|
34939
|
-
let i = (n = e.p1) == null ?
|
|
34939
|
+
let i = (n = e.p1) == null ? Zt(e) : n, a = [
|
|
34940
34940
|
e.p0,
|
|
34941
34941
|
i,
|
|
34942
34942
|
e.p2
|
|
34943
34943
|
], o = [], s = [], c = [];
|
|
34944
34944
|
for (let e of a) {
|
|
34945
|
-
|
|
34945
|
+
Qt(e), s.push([e.x, e.y]);
|
|
34946
34946
|
let t = re.MercatorCoordinate.fromLngLat([e.lng, e.lat], 0), n = t.meterInMercatorCoordinateUnits();
|
|
34947
|
-
|
|
34947
|
+
$t(t.x), $t(t.y), $t(n), o.push(n), c.push([t.x, t.y]);
|
|
34948
34948
|
}
|
|
34949
34949
|
let l = [], u = [];
|
|
34950
34950
|
for (let e = 0; e < 3; e++) {
|
|
@@ -34965,7 +34965,7 @@ function Yt(e, t) {
|
|
|
34965
34965
|
1
|
|
34966
34966
|
]), u.push(i);
|
|
34967
34967
|
}
|
|
34968
|
-
let [d, f, p, m, h, g] =
|
|
34968
|
+
let [d, f, p, m, h, g] = en(l, u), _ = (t == null || (r = t.toLowerCase) == null ? void 0 : r.call(t).trim()) === "ft" ? 1 / Yt : 1, v = [
|
|
34969
34969
|
d,
|
|
34970
34970
|
m,
|
|
34971
34971
|
0,
|
|
@@ -34986,10 +34986,10 @@ function Yt(e, t) {
|
|
|
34986
34986
|
if (!v.every(Number.isFinite)) throw Error("Cannot calculate Maplibre transform: geo anchor points produced a non-finite matrix.");
|
|
34987
34987
|
return v;
|
|
34988
34988
|
}
|
|
34989
|
-
function
|
|
34989
|
+
function Zt(e) {
|
|
34990
34990
|
let t = e.p2.x - e.p0.x, n = e.p2.y - e.p0.y;
|
|
34991
34991
|
if (t === 0 && n === 0) throw Error("Cannot calculate Maplibre transform: p0 and p2 have identical SVG coordinates.");
|
|
34992
|
-
let r = e.p0.x - n, i = e.p0.y + t, a =
|
|
34992
|
+
let r = e.p0.x - n, i = e.p0.y + t, a = y(e.p0, e.p2), o = m(e.p0, e.p2), { lat: s, lng: c } = h(e.p0, a, o + 90);
|
|
34993
34993
|
return {
|
|
34994
34994
|
x: r,
|
|
34995
34995
|
y: i,
|
|
@@ -34997,18 +34997,18 @@ function Xt(e) {
|
|
|
34997
34997
|
lng: c
|
|
34998
34998
|
};
|
|
34999
34999
|
}
|
|
35000
|
-
function Zt(e) {
|
|
35001
|
-
Qt(e.x), Qt(e.y), Qt(e.lat), Qt(e.lng);
|
|
35002
|
-
}
|
|
35003
35000
|
function Qt(e) {
|
|
35001
|
+
$t(e.x), $t(e.y), $t(e.lat), $t(e.lng);
|
|
35002
|
+
}
|
|
35003
|
+
function $t(e) {
|
|
35004
35004
|
if (!Number.isFinite(e)) throw Error("Cannot calculate Maplibre transform: geo anchor points contain invalid coordinates.");
|
|
35005
35005
|
}
|
|
35006
|
-
function
|
|
35006
|
+
function en(e, t) {
|
|
35007
35007
|
let n = e.length, r = e.map((e, n) => [...e, t[n]]);
|
|
35008
35008
|
for (let e = 0; e < n; e++) {
|
|
35009
35009
|
let t = e;
|
|
35010
35010
|
for (let i = e + 1; i < n; i++) Math.abs(r[i][e]) > Math.abs(r[t][e]) && (t = i);
|
|
35011
|
-
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) <
|
|
35011
|
+
if ([r[e], r[t]] = [r[t], r[e]], Math.abs(r[e][e]) < Jt) throw Error("Cannot calculate Maplibre transform: geo anchor points are collinear or invalid.");
|
|
35012
35012
|
for (let t = e + 1; t < n; t++) {
|
|
35013
35013
|
let i = r[t][e] / r[e][e];
|
|
35014
35014
|
for (let a = e; a <= n; a++) r[t][a] -= i * r[e][a];
|
|
@@ -35024,98 +35024,101 @@ function $t(e, t) {
|
|
|
35024
35024
|
}
|
|
35025
35025
|
//#endregion
|
|
35026
35026
|
//#region src/components/Maplibre/MaplibreAdapter.tsx
|
|
35027
|
-
var
|
|
35028
|
-
function
|
|
35027
|
+
var tn = "routes-api.expofp.com";
|
|
35028
|
+
function nn() {
|
|
35029
35029
|
i(() => {
|
|
35030
|
-
|
|
35030
|
+
v.layerStore.layers.forEach((e) => {
|
|
35031
35031
|
e.configured = !1, e.children = [], e.loaded = !1;
|
|
35032
|
-
}),
|
|
35032
|
+
}), v.layerStore.layersLoaded = !1;
|
|
35033
35033
|
});
|
|
35034
35034
|
}
|
|
35035
|
-
function
|
|
35035
|
+
function rn(e, t) {
|
|
35036
35036
|
let n = [];
|
|
35037
35037
|
for (let r of e.rollRegistry.invoke(t)) Array.isArray(r) ? n.push(...r) : n.push(r);
|
|
35038
35038
|
n.length && e.update(...n);
|
|
35039
35039
|
}
|
|
35040
|
-
var
|
|
35041
|
-
|
|
35042
|
-
|
|
35043
|
-
|
|
35044
|
-
|
|
35045
|
-
|
|
35046
|
-
|
|
35047
|
-
|
|
35048
|
-
|
|
35040
|
+
var an = a(function({ viewMode: e }) {
|
|
35041
|
+
var t, n;
|
|
35042
|
+
let [r, i] = (0, F.useState)(null), [a, s] = (0, F.useState)(null), l = v.rendererService, f = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useMemo)(() => Mt(), []), y = (0, F.useMemo)(() => _ ? {
|
|
35043
|
+
center: _.center,
|
|
35044
|
+
bearing: _.bearing,
|
|
35045
|
+
zoom: _.zoom,
|
|
35046
|
+
bounds: At(S, _.gpsConfig),
|
|
35047
|
+
fitPadding: jt(0),
|
|
35048
|
+
zoomAdjustment: Ot
|
|
35049
|
+
} : null, [_]), b = (0, F.useMemo)(() => {
|
|
35049
35050
|
var e;
|
|
35050
|
-
return
|
|
35051
|
-
}, [
|
|
35052
|
-
...e === "map2d" ?
|
|
35053
|
-
maxBounds:
|
|
35054
|
-
}), [
|
|
35055
|
-
(0,
|
|
35056
|
-
if (!
|
|
35051
|
+
return _ ? Xt(_.gpsConfig, (e = u()) == null ? void 0 : e.getAttribute("units")) : null;
|
|
35052
|
+
}, [_]), C = (0, F.useMemo)(() => ({
|
|
35053
|
+
...e === "map2d" ? W : Lt,
|
|
35054
|
+
maxBounds: _ ? kt(_.gpsConfig) : void 0
|
|
35055
|
+
}), [_, e]), w = (0, F.useRef)(C), E = (0, F.useMemo)(() => Vt(), []), { mapDimAnimatorRef: D, venueDimAnimatorRef: k, handleMapDimLayerReady: A } = G(m, l);
|
|
35056
|
+
(0, F.useEffect)(() => {
|
|
35057
|
+
if (!_) return;
|
|
35057
35058
|
let e = !1;
|
|
35058
|
-
|
|
35059
|
-
let t =
|
|
35060
|
-
e ||
|
|
35059
|
+
nn();
|
|
35060
|
+
let t = O(l).then((t) => {
|
|
35061
|
+
e || i(o(t, S, (0, ne.default)(c.backgroundColor === "none" ? "#ebebeb" : c.backgroundColor).string()));
|
|
35061
35062
|
}).catch((t) => {
|
|
35062
35063
|
e || console.warn("Maplibre scene configuration failed.", t);
|
|
35063
|
-
}),
|
|
35064
|
+
}), n = D.current, r = k.current;
|
|
35064
35065
|
return () => {
|
|
35065
|
-
var
|
|
35066
|
-
e = !0,
|
|
35067
|
-
let
|
|
35068
|
-
t.finally(() =>
|
|
35066
|
+
var i;
|
|
35067
|
+
e = !0, nn();
|
|
35068
|
+
let a = f.current;
|
|
35069
|
+
t.finally(() => l.disposeIfCurrent(a)), (i = h.current) == null || i.call(h), h.current = null, f.current = null, m.current = null, g.current = null, s(null), n == null || n.stop(), r == null || r.stop(), x.sceneDefReady = !1;
|
|
35069
35070
|
};
|
|
35070
35071
|
}, [
|
|
35071
|
-
|
|
35072
|
-
|
|
35073
|
-
|
|
35074
|
-
|
|
35072
|
+
_,
|
|
35073
|
+
D,
|
|
35074
|
+
l,
|
|
35075
|
+
k
|
|
35075
35076
|
]);
|
|
35076
|
-
let
|
|
35077
|
-
var
|
|
35078
|
-
|
|
35079
|
-
let
|
|
35080
|
-
t.on("rotate",
|
|
35081
|
-
t.off("rotate",
|
|
35082
|
-
},
|
|
35083
|
-
let
|
|
35084
|
-
|
|
35077
|
+
let j = (0, F.useCallback)((e, t, n, r) => {
|
|
35078
|
+
var i, a, o;
|
|
35079
|
+
f.current = e, m.current = t, g.current = r, s(e), l.attach(e, n, r), Bt(t, w.current), (i = D.current) == null || i.setTarget(x.dimmed, { immediate: !0 }), (a = k.current) == null || a.setTarget(x.dimmed, { immediate: !0 }), (o = h.current) == null || o.call(h);
|
|
35080
|
+
let c = () => rn(l, d(t.getBearing()));
|
|
35081
|
+
t.on("rotate", c), t.on("rotateend", c), h.current = () => {
|
|
35082
|
+
t.off("rotate", c), t.off("rotateend", c);
|
|
35083
|
+
}, T(l);
|
|
35084
|
+
let u = l.ptScaleRegistry.invoke(l.scale || 1);
|
|
35085
|
+
u.length && l.update(...u), rn(l, d(t.getBearing())), v.layerStore.layersLoaded = !0, v.fp.onFpConfigured && v.fp.onFpConfigured(), x.sceneDefReady = !0, r();
|
|
35085
35086
|
}, [
|
|
35086
|
-
|
|
35087
|
-
|
|
35088
|
-
|
|
35087
|
+
l,
|
|
35088
|
+
D,
|
|
35089
|
+
k
|
|
35089
35090
|
]);
|
|
35090
|
-
(0,
|
|
35091
|
-
|
|
35092
|
-
}, [
|
|
35093
|
-
enabled:
|
|
35094
|
-
rendererService:
|
|
35095
|
-
})
|
|
35096
|
-
|
|
35097
|
-
|
|
35098
|
-
|
|
35099
|
-
|
|
35091
|
+
(0, F.useEffect)(() => {
|
|
35092
|
+
w.current = C, Bt(m.current, C, !0);
|
|
35093
|
+
}, [C]), Kt(a, l), qt(a, l), Wt(l, m, _), Ft(m, _), ee({
|
|
35094
|
+
enabled: v.layerStore.layersLoaded && x.buildRoute,
|
|
35095
|
+
rendererService: l
|
|
35096
|
+
});
|
|
35097
|
+
let N = (t = (n = p.flags) == null ? void 0 : n.busRoutes) == null ? !1 : t;
|
|
35098
|
+
M({
|
|
35099
|
+
permission: v.layerStore.layersLoaded && N,
|
|
35100
|
+
rendererService: l,
|
|
35101
|
+
dataJsonUrl: `https://${tn}/v1/routes?expo=${c.EXPO}`,
|
|
35102
|
+
websocketUrl: `wss://${tn}/locations?expo=${c.EXPO}`
|
|
35100
35103
|
});
|
|
35101
|
-
let
|
|
35102
|
-
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e),
|
|
35104
|
+
let P = (0, F.useCallback)((e) => {
|
|
35105
|
+
console.warn("Maplibre map failed to load; falling back to floorplan mode.", e), v.maplibreStore.deactivateMaplibre();
|
|
35103
35106
|
}, []);
|
|
35104
|
-
if (!
|
|
35105
|
-
let
|
|
35106
|
-
return /* @__PURE__ */ (0,
|
|
35107
|
-
sceneDef:
|
|
35108
|
-
geoConfig:
|
|
35109
|
-
staticTransform:
|
|
35110
|
-
tileSource:
|
|
35111
|
-
mapOptions:
|
|
35112
|
-
onRendererReady:
|
|
35113
|
-
onMapDimLayerReady:
|
|
35114
|
-
onMapLoadError:
|
|
35115
|
-
},
|
|
35107
|
+
if (!_ || !y || !b || !r) return null;
|
|
35108
|
+
let te = `${y.center.join(",")}:${y.bearing}:${y.zoom}`;
|
|
35109
|
+
return /* @__PURE__ */ (0, pt.jsx)(Et, {
|
|
35110
|
+
sceneDef: r,
|
|
35111
|
+
geoConfig: y,
|
|
35112
|
+
staticTransform: b,
|
|
35113
|
+
tileSource: E,
|
|
35114
|
+
mapOptions: C,
|
|
35115
|
+
onRendererReady: j,
|
|
35116
|
+
onMapDimLayerReady: A,
|
|
35117
|
+
onMapLoadError: P
|
|
35118
|
+
}, te);
|
|
35116
35119
|
});
|
|
35117
35120
|
//#endregion
|
|
35118
|
-
export {
|
|
35121
|
+
export { an as default };
|
|
35119
35122
|
|
|
35120
35123
|
;/* vite-per-chunk-css */
|
|
35121
35124
|
__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);
|