@mapsindoors/map-template 1.40.0 → 1.41.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/{_commonjsHelpers-ba3f0406-28a65491.mjs → _commonjsHelpers-ba3f0406-8ba27f8d.mjs} +2 -2
- package/dist/{combo-box-item.entry-07fb23f4.mjs → combo-box-item.entry-a249210f.mjs} +2 -2
- package/dist/{icon-b8d01d6f-3774f8c4.mjs → icon-b8d01d6f-952f9485.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +1 -1
- package/dist/mapsindoors-webcomponent.es.js +1278 -1276
- package/dist/mapsindoors-webcomponent.umd.js +61 -61
- package/dist/{mi-card_2.entry-54e558c1.mjs → mi-card_2.entry-a2e84e6f.mjs} +2 -2
- package/dist/{mi-chip.entry-a4d96da9.mjs → mi-chip.entry-87cd8009.mjs} +2 -2
- package/dist/{mi-column.entry-a8aa7a04.mjs → mi-column.entry-d18e4d46.mjs} +2 -2
- package/dist/{mi-combo-box.entry-41675608.mjs → mi-combo-box.entry-34266062.mjs} +4 -4
- package/dist/{mi-data-table.entry-dad0483c.mjs → mi-data-table.entry-837a1723.mjs} +3 -3
- package/dist/{mi-distance_2.entry-3e4c0507.mjs → mi-distance_2.entry-390b6a0e.mjs} +3 -3
- package/dist/{mi-dropdown-item.entry-3cca99e3.mjs → mi-dropdown-item.entry-8a5414ba.mjs} +2 -2
- package/dist/{mi-dropdown.entry-374b1cdb.mjs → mi-dropdown.entry-e333f6bf.mjs} +4 -4
- package/dist/{mi-floor-selector.entry-3cd2ad6f.mjs → mi-floor-selector.entry-29a9a938.mjs} +2 -2
- package/dist/{mi-keyboard.entry-b55741fd.mjs → mi-keyboard.entry-db05697a.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-a0877f74.mjs → mi-list-item-category.entry-d821d1aa.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-fefafa05.mjs → mi-list-item-location.entry-29567822.mjs} +4 -4
- package/dist/{mi-list.entry-42c700a0.mjs → mi-list.entry-1d3dbb9d.mjs} +2 -2
- package/dist/{mi-location-booking.entry-7b402a48.mjs → mi-location-booking.entry-e1692ca1.mjs} +3 -3
- package/dist/{mi-location-info.entry-0b7d60dc.mjs → mi-location-info.entry-44d5fa9e.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-d6a72beb.mjs → mi-map-googlemaps.entry-b7b8b4f9.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-c2d0673a.mjs → mi-map-mapbox.entry-76066389.mjs} +3 -3
- package/dist/{mi-metric-card.entry-3b59fc90.mjs → mi-metric-card.entry-aa87514d.mjs} +3 -3
- package/dist/{mi-my-position.entry-fe4a4b9b.mjs → mi-my-position.entry-60fa67b2.mjs} +3 -3
- package/dist/{mi-notification.entry-7120b62e.mjs → mi-notification.entry-e2cdaced.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-a81ce1af.mjs → mi-route-instructions-heading.entry-6d7a8d5e.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-288eaab6.mjs → mi-route-instructions-maneuver-legacy.entry-2f960621.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-cc7b9d56.mjs → mi-route-instructions-maneuver.entry-6aabfdcf.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-fd28722f.mjs → mi-route-instructions-step-legacy.entry-d36abb12.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-303386fd.mjs → mi-route-instructions-step.entry-4ce81e3b.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-76d5593c.mjs → mi-route-instructions.entry-139a8b55.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-48c983a7.mjs → mi-scroll-buttons.entry-1fe481ae.mjs} +2 -2
- package/dist/{mi-search.entry-668cb060.mjs → mi-search.entry-0d376f5e.mjs} +3 -3
- package/dist/{mi-share-sms.entry-1d0016ea.mjs → mi-share-sms.entry-73e5cc0a.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-36194377.mjs → mi-step-switcher.entry-f362798c.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-e1768e04.mjs → mi-tab-panel.entry-dcd74baf.mjs} +2 -2
- package/dist/{mi-tab.entry-7699e4f5.mjs → mi-tab.entry-c25a4b0e.mjs} +2 -2
- package/dist/{mi-tabs.entry-ba915bae.mjs → mi-tabs.entry-a40726b1.mjs} +2 -2
- package/dist/{mi-time.entry-0a79a5aa.mjs → mi-time.entry-0d807963.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-54a7f0fc.mjs → mi-variables-9a6c8d4d-6ddb1ec9.mjs} +2 -2
- package/dist/{reactcomponent-2ae3c3c4.mjs → reactcomponent-1eae5fb1.mjs} +171 -171
- package/dist/{route-travel-mode.enum-7f4ce9c7-4fd44e3c.mjs → route-travel-mode.enum-7f4ce9c7-3111d8d5.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-2ccb3b8e.mjs → sort-order.enum-64ce8998-76a74450.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-077ac36d.mjs → unit-system.enum-eaefb53e-560751d1.mjs} +2 -2
- package/dist/{utils-ae714467-40e91cf2.mjs → utils-ae714467-be41eff0.mjs} +2 -2
- package/package.json +1 -1
|
@@ -4,12 +4,12 @@ import Lc, { createPortal as r7 } from "react-dom";
|
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, s = new Error().stack;
|
|
7
|
-
s && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[s] = "
|
|
7
|
+
s && (o._sentryDebugIds = o._sentryDebugIds || {}, o._sentryDebugIds[s] = "fd3b9518-d973-4a29-8cd3-b780d5355425", o._sentryDebugIdIdentifier = "sentry-dbid-fd3b9518-d973-4a29-8cd3-b780d5355425");
|
|
8
8
|
} catch {
|
|
9
9
|
}
|
|
10
10
|
})();
|
|
11
11
|
var i7 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
12
|
-
i7.SENTRY_RELEASE = { id: "
|
|
12
|
+
i7.SENTRY_RELEASE = { id: "05cf5f3a9dd8d1bbfe40fd0837bc953b222e6a01" };
|
|
13
13
|
var o7 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
14
14
|
function Sx(o) {
|
|
15
15
|
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
@@ -17675,7 +17675,7 @@ const ctt = (o, s, ...c) => {
|
|
|
17675
17675
|
if (_)
|
|
17676
17676
|
return _[h];
|
|
17677
17677
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
17678
|
-
return ntt(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
17678
|
+
return ntt(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-a249210f.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-a2e84e6f.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-87cd8009.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-d18e4d46.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-34266062.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-837a1723.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-390b6a0e.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-8a5414ba.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-e333f6bf.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-29a9a938.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-db05697a.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-d821d1aa.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-29567822.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-1d3dbb9d.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-e1692ca1.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-44d5fa9e.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-b7b8b4f9.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-76066389.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-aa87514d.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-60fa67b2.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-e2cdaced.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-6d7a8d5e.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-2f960621.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-6aabfdcf.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-d36abb12.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-4ce81e3b.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-139a8b55.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-1fe481ae.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-0d376f5e.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-73e5cc0a.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-f362798c.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-dcd74baf.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-c25a4b0e.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-a40726b1.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-0d807963.mjs") }), `./${p}.entry.js`).then((x) => (G3.set(p, x), x[h]), Pl);
|
|
17679
17679
|
}, jm = /* @__PURE__ */ new Map(), bd = typeof window < "u" ? window : {}, is = bd.document || { head: {} }, _i = {
|
|
17680
17680
|
$flags$: 0,
|
|
17681
17681
|
$resourcesUrl$: "",
|
|
@@ -21896,7 +21896,7 @@ var jD = { exports: {} };
|
|
|
21896
21896
|
return !0;
|
|
21897
21897
|
return !1;
|
|
21898
21898
|
}
|
|
21899
|
-
function
|
|
21899
|
+
function t5(e, t, n) {
|
|
21900
21900
|
for (const r of n)
|
|
21901
21901
|
for (let i = 0, a = r.length, l = a - 1; i < a; l = i++)
|
|
21902
21902
|
if (Ud(e, t, r[l], r[i]))
|
|
@@ -21908,11 +21908,11 @@ var jD = { exports: {} };
|
|
|
21908
21908
|
if (!zl(e[n], t))
|
|
21909
21909
|
return !1;
|
|
21910
21910
|
for (let n = 0; n < e.length - 1; ++n)
|
|
21911
|
-
if (
|
|
21911
|
+
if (t5(e[n], e[n + 1], t))
|
|
21912
21912
|
return !1;
|
|
21913
21913
|
return !0;
|
|
21914
21914
|
}
|
|
21915
|
-
function
|
|
21915
|
+
function e5(e, t) {
|
|
21916
21916
|
for (let n = 0; n < t.length; n++)
|
|
21917
21917
|
if (fw(e, t[n]))
|
|
21918
21918
|
return !0;
|
|
@@ -22045,7 +22045,7 @@ var jD = { exports: {} };
|
|
|
22045
22045
|
if (!Au(i, a))
|
|
22046
22046
|
return !1;
|
|
22047
22047
|
for (const f of d)
|
|
22048
|
-
if (!
|
|
22048
|
+
if (!e5(f, u))
|
|
22049
22049
|
return !1;
|
|
22050
22050
|
}
|
|
22051
22051
|
return !0;
|
|
@@ -22262,7 +22262,7 @@ var jD = { exports: {} };
|
|
|
22262
22262
|
return [(i = (e.x / Tt + t.x) / n, 360 * i - 180), (r = (e.y / Tt + t.y) / n, 360 / Math.PI * Math.atan(Math.exp((180 - 360 * r) * Math.PI / 180)) - 90)];
|
|
22263
22263
|
var r, i;
|
|
22264
22264
|
}
|
|
22265
|
-
function
|
|
22265
|
+
function n5(e, t) {
|
|
22266
22266
|
const n = [];
|
|
22267
22267
|
for (let r = 0; r < e.length; ++r)
|
|
22268
22268
|
n.push(S_(e[r], t));
|
|
@@ -22284,7 +22284,7 @@ var jD = { exports: {} };
|
|
|
22284
22284
|
const a = Math.min(i.pointToSegmentDistance(e, n, r), i.pointToSegmentDistance(t, n, r)), l = Math.min(i.pointToSegmentDistance(n, e, t), i.pointToSegmentDistance(r, e, t));
|
|
22285
22285
|
return Math.min(a, l);
|
|
22286
22286
|
}
|
|
22287
|
-
function
|
|
22287
|
+
function r5(e, t, n, r, i) {
|
|
22288
22288
|
if (!_s(t, e.length) || !_s(r, n.length))
|
|
22289
22289
|
return NaN;
|
|
22290
22290
|
let a = 1 / 0;
|
|
@@ -22296,7 +22296,7 @@ var jD = { exports: {} };
|
|
|
22296
22296
|
}
|
|
22297
22297
|
return a;
|
|
22298
22298
|
}
|
|
22299
|
-
function
|
|
22299
|
+
function i5(e, t, n, r, i) {
|
|
22300
22300
|
if (!_s(t, e.length) || !_s(r, n.length))
|
|
22301
22301
|
return NaN;
|
|
22302
22302
|
let a = 1 / 0;
|
|
@@ -22306,7 +22306,7 @@ var jD = { exports: {} };
|
|
|
22306
22306
|
return a;
|
|
22307
22307
|
return a;
|
|
22308
22308
|
}
|
|
22309
|
-
function
|
|
22309
|
+
function o5(e, t, n) {
|
|
22310
22310
|
if (zl(e, t, !0))
|
|
22311
22311
|
return 0;
|
|
22312
22312
|
let r = 1 / 0;
|
|
@@ -22319,7 +22319,7 @@ var jD = { exports: {} };
|
|
|
22319
22319
|
}
|
|
22320
22320
|
return r;
|
|
22321
22321
|
}
|
|
22322
|
-
function
|
|
22322
|
+
function s5(e, t, n, r) {
|
|
22323
22323
|
if (!_s(t, e.length))
|
|
22324
22324
|
return NaN;
|
|
22325
22325
|
for (let a = t[0]; a <= t[1]; ++a)
|
|
@@ -22342,7 +22342,7 @@ var jD = { exports: {} };
|
|
|
22342
22342
|
return !0;
|
|
22343
22343
|
return !1;
|
|
22344
22344
|
}
|
|
22345
|
-
function
|
|
22345
|
+
function a5(e, t, n, r = 1 / 0) {
|
|
22346
22346
|
const i = $d(e), a = $d(t);
|
|
22347
22347
|
if (r !== 1 / 0 && Nl(i, a, n) >= r)
|
|
22348
22348
|
return r;
|
|
@@ -22368,7 +22368,7 @@ var jD = { exports: {} };
|
|
|
22368
22368
|
const u = Nl(Va(r, a), Va(i, l), n);
|
|
22369
22369
|
u < t && e.push({ dist: u, range1: a, range2: l });
|
|
22370
22370
|
}
|
|
22371
|
-
function
|
|
22371
|
+
function l5(e, t, n, r, i = 1 / 0) {
|
|
22372
22372
|
let a = Math.min(r.distance(e[0], n[0][0]), i);
|
|
22373
22373
|
if (a === 0)
|
|
22374
22374
|
return a;
|
|
@@ -22382,12 +22382,12 @@ var jD = { exports: {} };
|
|
|
22382
22382
|
if (!_s(m, e.length))
|
|
22383
22383
|
return NaN;
|
|
22384
22384
|
if (t) {
|
|
22385
|
-
const g =
|
|
22385
|
+
const g = s5(e, m, n, r);
|
|
22386
22386
|
if ((a = Math.min(a, g)) === 0)
|
|
22387
22387
|
return a;
|
|
22388
22388
|
} else
|
|
22389
22389
|
for (let g = m[0]; g <= m[1]; ++g) {
|
|
22390
|
-
const y =
|
|
22390
|
+
const y = o5(e[g], n, r);
|
|
22391
22391
|
if ((a = Math.min(a, y)) === 0)
|
|
22392
22392
|
return a;
|
|
22393
22393
|
}
|
|
@@ -22418,7 +22418,7 @@ var jD = { exports: {} };
|
|
|
22418
22418
|
if (jd(g) <= d && jd(y) <= f) {
|
|
22419
22419
|
if (!_s(g, e.length) || !_s(y, n.length))
|
|
22420
22420
|
return NaN;
|
|
22421
|
-
if (t && r ? l = Math.min(l,
|
|
22421
|
+
if (t && r ? l = Math.min(l, r5(e, g, n, y, i)) : t || r ? t && !r ? l = Math.min(l, Sw(n, y, e, g, i)) : !t && r && (l = Math.min(l, Sw(e, g, n, y, i))) : l = Math.min(l, i5(e, g, n, y, i)), l === 0)
|
|
22422
22422
|
return l;
|
|
22423
22423
|
} else {
|
|
22424
22424
|
const v = w_(g, t), w = w_(y, r);
|
|
@@ -22441,7 +22441,7 @@ var jD = { exports: {} };
|
|
|
22441
22441
|
for (const u of n) {
|
|
22442
22442
|
if (a !== 1 / 0 && Nl(l, $d(u), r) >= a)
|
|
22443
22443
|
continue;
|
|
22444
|
-
const d =
|
|
22444
|
+
const d = l5(e, t, u, r, a);
|
|
22445
22445
|
if (isNaN(d))
|
|
22446
22446
|
return d;
|
|
22447
22447
|
if ((a = Math.min(a, d)) === 0)
|
|
@@ -22538,7 +22538,7 @@ var jD = { exports: {} };
|
|
|
22538
22538
|
}(i)) {
|
|
22539
22539
|
const m = [];
|
|
22540
22540
|
for (let g = 0; g < f.length; ++g)
|
|
22541
|
-
m.push(
|
|
22541
|
+
m.push(n5(f[g], a));
|
|
22542
22542
|
u.push(m);
|
|
22543
22543
|
}
|
|
22544
22544
|
const d = new y_(u[0][0][0][1], "meters");
|
|
@@ -22559,7 +22559,7 @@ var jD = { exports: {} };
|
|
|
22559
22559
|
let y = 1 / 0;
|
|
22560
22560
|
for (const v of f)
|
|
22561
22561
|
for (const w of m) {
|
|
22562
|
-
const T =
|
|
22562
|
+
const T = a5(v, w, g, y);
|
|
22563
22563
|
if (isNaN(T))
|
|
22564
22564
|
return T;
|
|
22565
22565
|
if ((y = Math.min(y, T)) === 0)
|
|
@@ -22787,9 +22787,9 @@ var jD = { exports: {} };
|
|
|
22787
22787
|
var qd = Object.freeze({ __proto__: null, array: Aw, color: function(e, t, n) {
|
|
22788
22788
|
return new hn(qe(e.r, t.r, n), qe(e.g, t.g, n), qe(e.b, t.b, n), qe(e.a, t.a, n));
|
|
22789
22789
|
}, number: qe });
|
|
22790
|
-
const Mw = 0.95047, Rw = 1.08883, kw = 4 / 29, Ul = 6 / 29, Pw = 3 * Ul * Ul,
|
|
22790
|
+
const Mw = 0.95047, Rw = 1.08883, kw = 4 / 29, Ul = 6 / 29, Pw = 3 * Ul * Ul, c5 = Ul * Ul * Ul, u5 = Math.PI / 180, h5 = 180 / Math.PI;
|
|
22791
22791
|
function D_(e) {
|
|
22792
|
-
return e >
|
|
22792
|
+
return e > c5 ? Math.pow(e, 1 / 3) : e / Pw + kw;
|
|
22793
22793
|
}
|
|
22794
22794
|
function O_(e) {
|
|
22795
22795
|
return e > Ul ? e * e * e : Pw * (e - kw);
|
|
@@ -22808,20 +22808,20 @@ var jD = { exports: {} };
|
|
|
22808
22808
|
let t = (e.l + 16) / 116, n = isNaN(e.a) ? t : t + e.a / 500, r = isNaN(e.b) ? t : t - e.b / 200;
|
|
22809
22809
|
return t = 1 * O_(t), n = Mw * O_(n), r = Rw * O_(r), new hn(z_(3.2404542 * n - 1.5371385 * t - 0.4985314 * r), z_(-0.969266 * n + 1.8760108 * t + 0.041556 * r), z_(0.0556434 * n - 0.2040259 * t + 1.0572252 * r), e.alpha);
|
|
22810
22810
|
}
|
|
22811
|
-
function
|
|
22811
|
+
function d5(e, t, n) {
|
|
22812
22812
|
const r = t - e;
|
|
22813
22813
|
return e + n * (r > 180 || r < -180 ? r - 360 * Math.round(r / 360) : r);
|
|
22814
22814
|
}
|
|
22815
22815
|
const Pu = { forward: Lw, reverse: Dw, interpolate: function(e, t, n) {
|
|
22816
22816
|
return { l: qe(e.l, t.l, n), a: qe(e.a, t.a, n), b: qe(e.b, t.b, n), alpha: qe(e.alpha, t.alpha, n) };
|
|
22817
22817
|
} }, Lu = { forward: function(e) {
|
|
22818
|
-
const { l: t, a: n, b: r } = Lw(e), i = Math.atan2(r, n) *
|
|
22818
|
+
const { l: t, a: n, b: r } = Lw(e), i = Math.atan2(r, n) * h5;
|
|
22819
22819
|
return { h: i < 0 ? i + 360 : i, c: Math.sqrt(n * n + r * r), l: t, alpha: e.a };
|
|
22820
22820
|
}, reverse: function(e) {
|
|
22821
|
-
const t = e.h *
|
|
22821
|
+
const t = e.h * u5, n = e.c;
|
|
22822
22822
|
return Dw({ l: e.l, a: Math.cos(t) * n, b: Math.sin(t) * n, alpha: e.alpha });
|
|
22823
22823
|
}, interpolate: function(e, t, n) {
|
|
22824
|
-
return { h:
|
|
22824
|
+
return { h: d5(e.h, t.h, n), c: qe(e.c, t.c, n), l: qe(e.l, t.l, n), alpha: qe(e.alpha, t.alpha, n) };
|
|
22825
22825
|
} };
|
|
22826
22826
|
var Ow = Object.freeze({ __proto__: null, hcl: Lu, lab: Pu });
|
|
22827
22827
|
class Wd {
|
|
@@ -23035,7 +23035,7 @@ var jD = { exports: {} };
|
|
|
23035
23035
|
return ["at", this.index.serialize(), this.input.serialize()];
|
|
23036
23036
|
}
|
|
23037
23037
|
}
|
|
23038
|
-
var
|
|
23038
|
+
var f5 = j_;
|
|
23039
23039
|
class $_ {
|
|
23040
23040
|
constructor(t, n) {
|
|
23041
23041
|
this.type = Bn, this.needle = t, this.haystack = n;
|
|
@@ -23066,7 +23066,7 @@ var jD = { exports: {} };
|
|
|
23066
23066
|
return ["in", this.needle.serialize(), this.haystack.serialize()];
|
|
23067
23067
|
}
|
|
23068
23068
|
}
|
|
23069
|
-
var
|
|
23069
|
+
var p5 = $_;
|
|
23070
23070
|
class Zd {
|
|
23071
23071
|
constructor(t, n, r) {
|
|
23072
23072
|
this.type = ge, this.needle = t, this.haystack = n, this.fromIndex = r;
|
|
@@ -23111,7 +23111,7 @@ var jD = { exports: {} };
|
|
|
23111
23111
|
return ["index-of", this.needle.serialize(), this.haystack.serialize()];
|
|
23112
23112
|
}
|
|
23113
23113
|
}
|
|
23114
|
-
var
|
|
23114
|
+
var m5 = Zd;
|
|
23115
23115
|
class V_ {
|
|
23116
23116
|
constructor(t, n, r, i, a, l) {
|
|
23117
23117
|
this.inputType = t, this.type = n, this.input = r, this.cases = i, this.outputs = a, this.otherwise = l;
|
|
@@ -23180,7 +23180,7 @@ var jD = { exports: {} };
|
|
|
23180
23180
|
return t.push(this.otherwise.serialize()), t;
|
|
23181
23181
|
}
|
|
23182
23182
|
}
|
|
23183
|
-
var
|
|
23183
|
+
var g5 = V_;
|
|
23184
23184
|
class G_ {
|
|
23185
23185
|
constructor(t, n, r) {
|
|
23186
23186
|
this.type = t, this.branches = n, this.otherwise = r;
|
|
@@ -23226,7 +23226,7 @@ var jD = { exports: {} };
|
|
|
23226
23226
|
}), t;
|
|
23227
23227
|
}
|
|
23228
23228
|
}
|
|
23229
|
-
var
|
|
23229
|
+
var _5 = G_;
|
|
23230
23230
|
class Yd {
|
|
23231
23231
|
constructor(t, n, r, i) {
|
|
23232
23232
|
this.type = t, this.input = n, this.beginIndex = r, this.endIndex = i;
|
|
@@ -23269,7 +23269,7 @@ var jD = { exports: {} };
|
|
|
23269
23269
|
return ["slice", this.input.serialize(), this.beginIndex.serialize()];
|
|
23270
23270
|
}
|
|
23271
23271
|
}
|
|
23272
|
-
var
|
|
23272
|
+
var y5 = Yd;
|
|
23273
23273
|
function Bw(e, t) {
|
|
23274
23274
|
return e === "==" || e === "!=" ? t.kind === "boolean" || t.kind === "string" || t.kind === "number" || t.kind === "null" || t.kind === "value" : t.kind === "string" || t.kind === "number" || t.kind === "value";
|
|
23275
23275
|
}
|
|
@@ -23336,25 +23336,25 @@ var jD = { exports: {} };
|
|
|
23336
23336
|
}
|
|
23337
23337
|
};
|
|
23338
23338
|
}
|
|
23339
|
-
const
|
|
23339
|
+
const v5 = jl("==", function(e, t, n) {
|
|
23340
23340
|
return t === n;
|
|
23341
|
-
}, Fw),
|
|
23341
|
+
}, Fw), x5 = jl("!=", function(e, t, n) {
|
|
23342
23342
|
return t !== n;
|
|
23343
23343
|
}, function(e, t, n, r) {
|
|
23344
23344
|
return !Fw(0, t, n, r);
|
|
23345
|
-
}),
|
|
23345
|
+
}), b5 = jl("<", function(e, t, n) {
|
|
23346
23346
|
return t < n;
|
|
23347
23347
|
}, function(e, t, n, r) {
|
|
23348
23348
|
return r.compare(t, n) < 0;
|
|
23349
|
-
}),
|
|
23349
|
+
}), w5 = jl(">", function(e, t, n) {
|
|
23350
23350
|
return t > n;
|
|
23351
23351
|
}, function(e, t, n, r) {
|
|
23352
23352
|
return r.compare(t, n) > 0;
|
|
23353
|
-
}),
|
|
23353
|
+
}), S5 = jl("<=", function(e, t, n) {
|
|
23354
23354
|
return t <= n;
|
|
23355
23355
|
}, function(e, t, n, r) {
|
|
23356
23356
|
return r.compare(t, n) <= 0;
|
|
23357
|
-
}),
|
|
23357
|
+
}), T5 = jl(">=", function(e, t, n) {
|
|
23358
23358
|
return t >= n;
|
|
23359
23359
|
}, function(e, t, n, r) {
|
|
23360
23360
|
return r.compare(t, n) >= 0;
|
|
@@ -23437,7 +23437,7 @@ var jD = { exports: {} };
|
|
|
23437
23437
|
return t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t, ((t ^ t >>> 14) >>> 0) / 4294967296;
|
|
23438
23438
|
};
|
|
23439
23439
|
}
|
|
23440
|
-
const Uw = { "==":
|
|
23440
|
+
const Uw = { "==": v5, "!=": x5, ">": w5, "<": b5, ">=": T5, "<=": S5, array: gs, at: f5, boolean: gs, case: _5, coalesce: zw, collator: Fd, format: Eu, image: Cu, in: p5, "index-of": m5, interpolate: Bo, "interpolate-hcl": Bo, "interpolate-lab": Bo, length: q_, let: Nw, literal: Tu, match: g5, number: gs, "number-format": H_, object: gs, slice: y5, step: L_, string: gs, "to-boolean": ja, "to-color": ja, "to-number": ja, "to-string": ja, var: Cw, within: __, distance: I_ };
|
|
23441
23441
|
function jw(e, [t, n, r, i]) {
|
|
23442
23442
|
t = t.evaluate(e), n = n.evaluate(e), r = r.evaluate(e);
|
|
23443
23443
|
const a = i ? i.evaluate(e) : 1, l = cw(t, n, r, a);
|
|
@@ -23598,7 +23598,7 @@ var jD = { exports: {} };
|
|
|
23598
23598
|
function Xd(e) {
|
|
23599
23599
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
23600
23600
|
}
|
|
23601
|
-
function
|
|
23601
|
+
function E5(e) {
|
|
23602
23602
|
return e;
|
|
23603
23603
|
}
|
|
23604
23604
|
function Xw(e, t) {
|
|
@@ -23609,16 +23609,16 @@ var jD = { exports: {} };
|
|
|
23609
23609
|
if (a === "exponential")
|
|
23610
23610
|
l = Kw;
|
|
23611
23611
|
else if (a === "interval")
|
|
23612
|
-
l =
|
|
23612
|
+
l = I5;
|
|
23613
23613
|
else if (a === "categorical") {
|
|
23614
|
-
l =
|
|
23614
|
+
l = C5, u = /* @__PURE__ */ Object.create(null);
|
|
23615
23615
|
for (const f of e.stops)
|
|
23616
23616
|
u[f[0]] = f[1];
|
|
23617
23617
|
d = typeof e.stops[0][0];
|
|
23618
23618
|
} else {
|
|
23619
23619
|
if (a !== "identity")
|
|
23620
23620
|
throw new Error(`Unknown function type "${a}"`);
|
|
23621
|
-
l =
|
|
23621
|
+
l = A5;
|
|
23622
23622
|
}
|
|
23623
23623
|
if (r) {
|
|
23624
23624
|
const f = {}, m = [];
|
|
@@ -23644,10 +23644,10 @@ var jD = { exports: {} };
|
|
|
23644
23644
|
function Ou(e, t, n) {
|
|
23645
23645
|
return e !== void 0 ? e : t !== void 0 ? t : n !== void 0 ? n : void 0;
|
|
23646
23646
|
}
|
|
23647
|
-
function
|
|
23647
|
+
function C5(e, t, n, r, i) {
|
|
23648
23648
|
return Ou(typeof n === i ? r[n] : void 0, e.default, t.default);
|
|
23649
23649
|
}
|
|
23650
|
-
function
|
|
23650
|
+
function I5(e, t, n) {
|
|
23651
23651
|
if (Vn(n) !== "number")
|
|
23652
23652
|
return Ou(e.default, t.default);
|
|
23653
23653
|
const r = e.stops.length;
|
|
@@ -23671,7 +23671,7 @@ var jD = { exports: {} };
|
|
|
23671
23671
|
const w = v - y, T = m - y;
|
|
23672
23672
|
return w === 0 ? 0 : g === 1 ? T / w : (Math.pow(g, T) - 1) / (Math.pow(g, w) - 1);
|
|
23673
23673
|
}(n, r, e.stops[a][0], e.stops[a + 1][0]), u = e.stops[a][1], d = e.stops[a + 1][1];
|
|
23674
|
-
let f = qd[t.type] ||
|
|
23674
|
+
let f = qd[t.type] || E5;
|
|
23675
23675
|
if (e.colorSpace && e.colorSpace !== "rgb") {
|
|
23676
23676
|
const m = Ow[e.colorSpace];
|
|
23677
23677
|
f = (g, y) => m.reverse(m.interpolate(m.forward(g), m.forward(y), l));
|
|
@@ -23682,7 +23682,7 @@ var jD = { exports: {} };
|
|
|
23682
23682
|
return f(g, y, l);
|
|
23683
23683
|
} } : f(u, d, l);
|
|
23684
23684
|
}
|
|
23685
|
-
function
|
|
23685
|
+
function A5(e, t, n) {
|
|
23686
23686
|
return t.type === "color" ? n = hn.parse(n) : t.type === "formatted" ? n = Ni.fromString(n.toString()) : t.type === "resolvedImage" ? n = co.fromString(n.toString()) : Vn(n) === t.type || t.type === "enum" && t.values[n] || (n = void 0), Ou(n, e.default, t.default);
|
|
23687
23687
|
}
|
|
23688
23688
|
class K_ {
|
|
@@ -23990,7 +23990,7 @@ ${JSON.stringify(n, null, 2)}
|
|
|
23990
23990
|
if (!Array.isArray(e))
|
|
23991
23991
|
return e;
|
|
23992
23992
|
const t = function(n) {
|
|
23993
|
-
if (
|
|
23993
|
+
if (M5.has(n[0])) {
|
|
23994
23994
|
for (let r = 1; r < n.length; r++)
|
|
23995
23995
|
if ($l(n[r]))
|
|
23996
23996
|
return !0;
|
|
@@ -24031,8 +24031,8 @@ ${JSON.stringify(n, null, 2)}
|
|
|
24031
24031
|
return !0;
|
|
24032
24032
|
return !1;
|
|
24033
24033
|
}
|
|
24034
|
-
const
|
|
24035
|
-
function
|
|
24034
|
+
const M5 = /* @__PURE__ */ new Set(["in", "==", "!=", ">", ">=", "<", "<=", "to-boolean"]);
|
|
24035
|
+
function R5(e, t) {
|
|
24036
24036
|
return e < t ? -1 : e > t ? 1 : 0;
|
|
24037
24037
|
}
|
|
24038
24038
|
function iS(e) {
|
|
@@ -24071,7 +24071,7 @@ ${JSON.stringify(n, null, 2)}
|
|
|
24071
24071
|
case "$id":
|
|
24072
24072
|
return ["filter-id-in", ["literal", t]];
|
|
24073
24073
|
default:
|
|
24074
|
-
return t.length > 200 && !t.some((n) => typeof n != typeof t[0]) ? ["filter-in-large", e, ["literal", t.sort(
|
|
24074
|
+
return t.length > 200 && !t.some((n) => typeof n != typeof t[0]) ? ["filter-in-large", e, ["literal", t.sort(R5)]] : ["filter-in-small", e, ["literal", t]];
|
|
24075
24075
|
}
|
|
24076
24076
|
}
|
|
24077
24077
|
function sS(e) {
|
|
@@ -24223,10 +24223,10 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24223
24223
|
case "canvas":
|
|
24224
24224
|
return [new xe(n, null, "Please use runtime APIs to add canvas sources, rather than including them in stylesheets.", "source.canvas")];
|
|
24225
24225
|
default:
|
|
24226
|
-
return tf({ key: `${n}.type`, value: t.type, valueSpec: { values:
|
|
24226
|
+
return tf({ key: `${n}.type`, value: t.type, valueSpec: { values: k5(r) }, style: i, styleSpec: r });
|
|
24227
24227
|
}
|
|
24228
24228
|
}
|
|
24229
|
-
function
|
|
24229
|
+
function k5(e) {
|
|
24230
24230
|
return e.source.reduce((t, n) => {
|
|
24231
24231
|
const r = e[n];
|
|
24232
24232
|
return r.type.type === "enum" && (t = t.concat(Object.keys(r.type.values))), t;
|
|
@@ -24366,17 +24366,17 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24366
24366
|
}
|
|
24367
24367
|
return uo(ps({}, e, { valueSpec: r.type ? i[r.type] : r }));
|
|
24368
24368
|
}
|
|
24369
|
-
function
|
|
24369
|
+
function P5(e) {
|
|
24370
24370
|
const t = e.value, n = e.key, r = Vl(e);
|
|
24371
24371
|
return r.length || (t.indexOf("{fontstack}") === -1 && r.push(new xe(n, t, '"glyphs" url must include a "{fontstack}" token')), t.indexOf("{range}") === -1 && r.push(new xe(n, t, '"glyphs" url must include a "{range}" token'))), r;
|
|
24372
24372
|
}
|
|
24373
24373
|
function xS(e, t = ft, n = {}) {
|
|
24374
|
-
return fi({ key: n.key || "", value: e, valueSpec: t.$root, styleSpec: t, style: e, objectElementValidators: { glyphs:
|
|
24374
|
+
return fi({ key: n.key || "", value: e, valueSpec: t.$root, styleSpec: t, style: e, objectElementValidators: { glyphs: P5, "*": () => [] } });
|
|
24375
24375
|
}
|
|
24376
24376
|
function Gl(e, t = ft) {
|
|
24377
24377
|
return wo(xS(e, t));
|
|
24378
24378
|
}
|
|
24379
|
-
const
|
|
24379
|
+
const L5 = (e) => wo(fS(e)), D5 = (e) => wo(mS(e)), O5 = (e) => wo(gS(e)), z5 = (e) => wo(_S(e)), N5 = (e) => wo(yS(e)), B5 = (e) => wo(hS(e)), ry = (e) => wo(ny(e)), F5 = (e) => wo(cS(e)), U5 = (e) => wo(uS(e)), j5 = (e) => wo(pS(e));
|
|
24380
24380
|
function wo(e) {
|
|
24381
24381
|
return e.slice().sort((t, n) => t.line && n.line ? t.line - n.line : 0);
|
|
24382
24382
|
}
|
|
@@ -24387,7 +24387,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24387
24387
|
r instanceof Ua ? V(r.message) : (e.fire(new Xe(new Error(r.message))), n = !0);
|
|
24388
24388
|
return n;
|
|
24389
24389
|
}
|
|
24390
|
-
var $
|
|
24390
|
+
var $5 = Fo, qs = 3;
|
|
24391
24391
|
function Fo(e, t, n) {
|
|
24392
24392
|
var r = this.cells = [];
|
|
24393
24393
|
if (e instanceof ArrayBuffer) {
|
|
@@ -24456,7 +24456,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24456
24456
|
}
|
|
24457
24457
|
return i[qs + e.length] = a, i.set(this.keys, a), i[qs + e.length + 1] = a += this.keys.length, i.set(this.bboxes, a), a += this.bboxes.length, i.buffer;
|
|
24458
24458
|
};
|
|
24459
|
-
var Hl = lt($
|
|
24459
|
+
var Hl = lt($5);
|
|
24460
24460
|
const sf = {};
|
|
24461
24461
|
function we(e, t, n = {}) {
|
|
24462
24462
|
Object.defineProperty(e, "_classRegistryKey", { value: t, writeable: !1 }), sf[t] = { klass: e, omit: n.omit || [] };
|
|
@@ -24546,13 +24546,13 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24546
24546
|
return !0;
|
|
24547
24547
|
return !1;
|
|
24548
24548
|
}
|
|
24549
|
-
function
|
|
24549
|
+
function V5(e) {
|
|
24550
24550
|
for (const t of e)
|
|
24551
|
-
if (!
|
|
24551
|
+
if (!G5(t.charCodeAt(0)))
|
|
24552
24552
|
return !1;
|
|
24553
24553
|
return !0;
|
|
24554
24554
|
}
|
|
24555
|
-
function
|
|
24555
|
+
function G5(e) {
|
|
24556
24556
|
return !(Te.Arabic(e) || Te["Arabic Supplement"](e) || Te["Arabic Extended-A"](e) || Te["Arabic Presentation Forms-A"](e) || Te["Arabic Presentation Forms-B"](e));
|
|
24557
24557
|
}
|
|
24558
24558
|
function oy(e) {
|
|
@@ -24566,10 +24566,10 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24566
24566
|
function TS(e) {
|
|
24567
24567
|
return e >= 1424 && e <= 2303 || Te["Arabic Presentation Forms-A"](e) || Te["Arabic Presentation Forms-B"](e);
|
|
24568
24568
|
}
|
|
24569
|
-
function
|
|
24569
|
+
function H5(e, t) {
|
|
24570
24570
|
return !(!t && TS(e) || e >= 2304 && e <= 3583 || e >= 3840 && e <= 4255 || Te.Khmer(e));
|
|
24571
24571
|
}
|
|
24572
|
-
function
|
|
24572
|
+
function q5(e) {
|
|
24573
24573
|
for (const t of e)
|
|
24574
24574
|
if (TS(t.charCodeAt(0)))
|
|
24575
24575
|
return !0;
|
|
@@ -24601,7 +24601,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24601
24601
|
isSupportedScript(t) {
|
|
24602
24602
|
return function(n, r) {
|
|
24603
24603
|
for (const i of n)
|
|
24604
|
-
if (!
|
|
24604
|
+
if (!H5(i.charCodeAt(0), r))
|
|
24605
24605
|
return !1;
|
|
24606
24606
|
return !0;
|
|
24607
24607
|
}(t, ho.isLoaded());
|
|
@@ -24733,7 +24733,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24733
24733
|
return !1;
|
|
24734
24734
|
}
|
|
24735
24735
|
}
|
|
24736
|
-
class
|
|
24736
|
+
class W5 {
|
|
24737
24737
|
constructor(t, n) {
|
|
24738
24738
|
this._properties = t, this._values = Object.create(t.defaultPropertyValues), this._options = n, this.isConfigDependent = !1;
|
|
24739
24739
|
}
|
|
@@ -24849,7 +24849,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24849
24849
|
const RS = "-transition";
|
|
24850
24850
|
class Ki extends jr {
|
|
24851
24851
|
constructor(t, n, r) {
|
|
24852
|
-
if (super(), this.id = t.id, this.type = t.type, this._featureFilter = { filter: () => !0, needGeometry: !1, needFeature: !1 }, this._filterCompiled = !1, this.isConfigDependent = !1, t.type !== "custom" && (this.metadata = t.metadata, this.minzoom = t.minzoom, this.maxzoom = t.maxzoom, t.type !== "background" && t.type !== "sky" && t.type !== "slot" && (this.source = t.source, this.sourceLayer = t["source-layer"], this.filter = t.filter), this.options = r, t.slot && (this.slot = t.slot), n.layout && (this._unevaluatedLayout = new
|
|
24852
|
+
if (super(), this.id = t.id, this.type = t.type, this._featureFilter = { filter: () => !0, needGeometry: !1, needFeature: !1 }, this._filterCompiled = !1, this.isConfigDependent = !1, t.type !== "custom" && (this.metadata = t.metadata, this.minzoom = t.minzoom, this.maxzoom = t.maxzoom, t.type !== "background" && t.type !== "sky" && t.type !== "slot" && (this.source = t.source, this.sourceLayer = t["source-layer"], this.filter = t.filter), this.options = r, t.slot && (this.slot = t.slot), n.layout && (this._unevaluatedLayout = new W5(n.layout, r), this.isConfigDependent = this.isConfigDependent || this._unevaluatedLayout.isConfigDependent), n.paint)) {
|
|
24853
24853
|
this._transitionablePaint = new zu(n.paint, r);
|
|
24854
24854
|
for (const i in t.paint)
|
|
24855
24855
|
this.setPaintProperty(i, t.paint[i], { validate: !1 });
|
|
@@ -24865,7 +24865,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24865
24865
|
return t === "visibility" ? this.visibility : this._unevaluatedLayout.getValue(t);
|
|
24866
24866
|
}
|
|
24867
24867
|
setLayoutProperty(t, n, r = {}) {
|
|
24868
|
-
if (n != null && this._validate(
|
|
24868
|
+
if (n != null && this._validate(U5, `layers.${this.id}.layout.${t}`, t, n, r))
|
|
24869
24869
|
return;
|
|
24870
24870
|
if (this.type === "custom" && t === "visibility")
|
|
24871
24871
|
return void (this.visibility = n);
|
|
@@ -24879,7 +24879,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24879
24879
|
return In(t, RS) ? this._transitionablePaint.getTransition(t.slice(0, -11)) : this._transitionablePaint.getValue(t);
|
|
24880
24880
|
}
|
|
24881
24881
|
setPaintProperty(t, n, r = {}) {
|
|
24882
|
-
if (n != null && this._validate(
|
|
24882
|
+
if (n != null && this._validate(F5, `layers.${this.id}.paint.${t}`, t, n, r))
|
|
24883
24883
|
return !1;
|
|
24884
24884
|
const i = this._transitionablePaint, a = i._properties.properties;
|
|
24885
24885
|
if (In(t, RS)) {
|
|
@@ -24975,7 +24975,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
24975
24975
|
this._stats && (this._stats.numRenderedVerticesInShadowPass = 0, this._stats.numRenderedVerticesInTransparentPass = 0);
|
|
24976
24976
|
}
|
|
24977
24977
|
}
|
|
24978
|
-
class
|
|
24978
|
+
class Z5 {
|
|
24979
24979
|
constructor() {
|
|
24980
24980
|
this._changed = !1, this._updatedLayers = {}, this._removedLayers = {}, this._updatedSourceCaches = {}, this._updatedPaintProps = /* @__PURE__ */ new Set(), this._updatedImages = /* @__PURE__ */ new Set();
|
|
24981
24981
|
}
|
|
@@ -25035,7 +25035,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25035
25035
|
this._changed = !1, this._updatedLayers = {}, this._removedLayers = {}, this._updatedSourceCaches = {}, this._updatedPaintProps.clear(), this._updatedImages.clear();
|
|
25036
25036
|
}
|
|
25037
25037
|
}
|
|
25038
|
-
const
|
|
25038
|
+
const Y5 = { Int8: Int8Array, Uint8: Uint8Array, Int16: Int16Array, Uint16: Uint16Array, Int32: Int32Array, Uint32: Uint32Array, Float32: Float32Array };
|
|
25039
25039
|
class uf {
|
|
25040
25040
|
constructor(t, n) {
|
|
25041
25041
|
this._structArray = t, this._pos1 = n * this.size, this._pos2 = this._pos1 / 2, this._pos4 = this._pos1 / 4, this._pos8 = this._pos1 / 8;
|
|
@@ -25078,7 +25078,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25078
25078
|
function Fn(e, t = 1) {
|
|
25079
25079
|
let n = 0, r = 0;
|
|
25080
25080
|
return { members: e.map((i) => {
|
|
25081
|
-
const a =
|
|
25081
|
+
const a = Y5[i.type].BYTES_PER_ELEMENT, l = n = kS(n, Math.max(t, a)), u = i.components || 1;
|
|
25082
25082
|
return r = Math.max(r, a), n += a * u, { name: i.name, type: i.type, components: u, offset: l };
|
|
25083
25083
|
}), size: kS(n, Math.max(r, t)), alignment: t };
|
|
25084
25084
|
}
|
|
@@ -25789,7 +25789,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25789
25789
|
}
|
|
25790
25790
|
}
|
|
25791
25791
|
we(jS, "FillExtrusionCentroidArray");
|
|
25792
|
-
const
|
|
25792
|
+
const X5 = Fn([{ name: "a_pos", components: 2, type: "Int16" }], 4), K5 = Fn([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]);
|
|
25793
25793
|
class Gn {
|
|
25794
25794
|
constructor(t = []) {
|
|
25795
25795
|
this.segments = t;
|
|
@@ -25817,7 +25817,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25817
25817
|
return 256 * (e = _t(Math.floor(e), 0, 255)) + _t(Math.floor(t), 0, 255);
|
|
25818
25818
|
}
|
|
25819
25819
|
Gn.MAX_VERTEX_ARRAY_LENGTH = Math.pow(2, 16) - 1, we(Gn, "SegmentVector");
|
|
25820
|
-
const
|
|
25820
|
+
const J5 = Fn([{ name: "a_pattern", components: 4, type: "Uint16" }, { name: "a_pixel_ratio", components: 1, type: "Float32" }]), Q5 = Fn([{ name: "a_dash", components: 4, type: "Uint16" }]);
|
|
25821
25821
|
var gf = { exports: {} }, VS = { exports: {} };
|
|
25822
25822
|
(function(e) {
|
|
25823
25823
|
e.exports = function(t, n) {
|
|
@@ -25835,7 +25835,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25835
25835
|
return a ^= t.length, a = 2246822507 * (65535 & (a ^= a >>> 16)) + ((2246822507 * (a >>> 16) & 65535) << 16) & 4294967295, a = 3266489909 * (65535 & (a ^= a >>> 13)) + ((3266489909 * (a >>> 16) & 65535) << 16) & 4294967295, (a ^= a >>> 16) >>> 0;
|
|
25836
25836
|
};
|
|
25837
25837
|
})(VS);
|
|
25838
|
-
var
|
|
25838
|
+
var t4 = VS.exports, GS = { exports: {} };
|
|
25839
25839
|
(function(e) {
|
|
25840
25840
|
e.exports = function(t, n) {
|
|
25841
25841
|
for (var r, i = t.length, a = n ^ i, l = 0; i >= 4; )
|
|
@@ -25851,8 +25851,8 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25851
25851
|
return a = 1540483477 * (65535 & (a ^= a >>> 13)) + ((1540483477 * (a >>> 16) & 65535) << 16), (a ^= a >>> 15) >>> 0;
|
|
25852
25852
|
};
|
|
25853
25853
|
})(GS);
|
|
25854
|
-
var HS =
|
|
25855
|
-
gf.exports = HS, gf.exports.murmur3 = HS, gf.exports.murmur2 =
|
|
25854
|
+
var HS = t4, e4 = GS.exports;
|
|
25855
|
+
gf.exports = HS, gf.exports.murmur3 = HS, gf.exports.murmur2 = e4;
|
|
25856
25856
|
var My = lt(gf.exports);
|
|
25857
25857
|
class $u {
|
|
25858
25858
|
constructor() {
|
|
@@ -25967,10 +25967,10 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25967
25967
|
this.fetchUniformLocation(t, n) && (r.r === this.current.r && r.g === this.current.g && r.b === this.current.b && r.a === this.current.a || (this.current = r, this.gl.uniform4f(this.location, r.r, r.g, r.b, r.a)));
|
|
25968
25968
|
}
|
|
25969
25969
|
}
|
|
25970
|
-
const
|
|
25970
|
+
const n4 = new Float32Array(16);
|
|
25971
25971
|
class tn extends vs {
|
|
25972
25972
|
constructor(t) {
|
|
25973
|
-
super(t), this.current =
|
|
25973
|
+
super(t), this.current = n4;
|
|
25974
25974
|
}
|
|
25975
25975
|
set(t, n, r) {
|
|
25976
25976
|
if (this.fetchUniformLocation(t, n)) {
|
|
@@ -25984,10 +25984,10 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25984
25984
|
}
|
|
25985
25985
|
}
|
|
25986
25986
|
}
|
|
25987
|
-
const
|
|
25987
|
+
const r4 = new Float32Array(9);
|
|
25988
25988
|
class ky extends vs {
|
|
25989
25989
|
constructor(t) {
|
|
25990
|
-
super(t), this.current =
|
|
25990
|
+
super(t), this.current = r4;
|
|
25991
25991
|
}
|
|
25992
25992
|
set(t, n, r) {
|
|
25993
25993
|
if (this.fetchUniformLocation(t, n)) {
|
|
@@ -25999,10 +25999,10 @@ Use an identity property function instead: ${v}.`)];
|
|
|
25999
25999
|
}
|
|
26000
26000
|
}
|
|
26001
26001
|
}
|
|
26002
|
-
const
|
|
26002
|
+
const i4 = new Float32Array(4);
|
|
26003
26003
|
class Py extends vs {
|
|
26004
26004
|
constructor(t) {
|
|
26005
|
-
super(t), this.current =
|
|
26005
|
+
super(t), this.current = i4;
|
|
26006
26006
|
}
|
|
26007
26007
|
set(t, n, r) {
|
|
26008
26008
|
if (this.fetchUniformLocation(t, n)) {
|
|
@@ -26112,7 +26112,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
26112
26112
|
}
|
|
26113
26113
|
class Xs {
|
|
26114
26114
|
constructor(t, n, r, i, a) {
|
|
26115
|
-
this.expression = t, this.layerId = a, this.paintVertexAttributes = (r === "array" ?
|
|
26115
|
+
this.expression = t, this.layerId = a, this.paintVertexAttributes = (r === "array" ? Q5 : J5).members;
|
|
26116
26116
|
for (let l = 0; l < n.length; ++l)
|
|
26117
26117
|
;
|
|
26118
26118
|
this.paintVertexArray = new i();
|
|
@@ -26149,7 +26149,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
26149
26149
|
const l = t.paint.get(a);
|
|
26150
26150
|
if (!r(a) || !(l instanceof Zl && qa(l.property.specification)))
|
|
26151
26151
|
continue;
|
|
26152
|
-
const u =
|
|
26152
|
+
const u = s4(a, t.type), d = l.value, f = l.property.specification.type, m = !!l.property.useIntegerZoom, g = a === "line-dasharray" || a.endsWith("pattern"), y = a === "line-dasharray" && t.layout.get("line-cap").value.kind !== "constant";
|
|
26153
26153
|
if (d.kind !== "constant" || y)
|
|
26154
26154
|
if (d.kind === "source" || y || g) {
|
|
26155
26155
|
const v = WS(a, f, "source");
|
|
@@ -26304,14 +26304,14 @@ Use an identity property function instead: ${v}.`)];
|
|
|
26304
26304
|
this.programConfigurations[t].destroy();
|
|
26305
26305
|
}
|
|
26306
26306
|
}
|
|
26307
|
-
const
|
|
26308
|
-
function
|
|
26309
|
-
return
|
|
26307
|
+
const o4 = { "text-opacity": ["opacity"], "icon-opacity": ["opacity"], "text-color": ["fill_color"], "icon-color": ["fill_color"], "text-emissive-strength": ["emissive_strength"], "icon-emissive-strength": ["emissive_strength"], "text-halo-color": ["halo_color"], "icon-halo-color": ["halo_color"], "text-halo-blur": ["halo_blur"], "icon-halo-blur": ["halo_blur"], "text-halo-width": ["halo_width"], "icon-halo-width": ["halo_width"], "line-gap-width": ["gapwidth"], "line-pattern": ["pattern", "pixel_ratio"], "fill-pattern": ["pattern", "pixel_ratio"], "fill-extrusion-pattern": ["pattern", "pixel_ratio"], "line-dasharray": ["dash"] };
|
|
26308
|
+
function s4(e, t) {
|
|
26309
|
+
return o4[e] || [e.replace(`${t}-`, "").replace(/-/g, "_")];
|
|
26310
26310
|
}
|
|
26311
|
-
const
|
|
26311
|
+
const a4 = { "line-pattern": { source: Zs, composite: Zs }, "fill-pattern": { source: Zs, composite: Zs }, "fill-extrusion-pattern": { source: Zs, composite: Zs }, "line-dasharray": { source: df, composite: df } }, l4 = { color: { source: ju, composite: ys }, number: { source: Fu, composite: ju } };
|
|
26312
26312
|
function WS(e, t, n) {
|
|
26313
|
-
const r =
|
|
26314
|
-
return r && r[n] ||
|
|
26313
|
+
const r = a4[e];
|
|
26314
|
+
return r && r[n] || l4[t][n];
|
|
26315
26315
|
}
|
|
26316
26316
|
we(Vu, "ConstantBinder"), we(Xl, "PatternConstantBinder"), we(xs, "SourceExpressionBinder"), we(Xs, "PatternCompositeBinder"), we(So, "CompositeExpressionBinder"), we(Ka, "ProgramConfiguration", { omit: ["_buffers"] }), we(Ks, "ProgramConfigurationSet");
|
|
26317
26317
|
class ji {
|
|
@@ -26386,7 +26386,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
26386
26386
|
Object.defineProperty(ii, "__esModule", { value: !0 }), ii.setMatrixArrayType = function(e) {
|
|
26387
26387
|
ii.ARRAY_TYPE = YS = e;
|
|
26388
26388
|
}, ii.toRadian = function(e) {
|
|
26389
|
-
return e *
|
|
26389
|
+
return e * u4;
|
|
26390
26390
|
}, ii.equals = function(e, t) {
|
|
26391
26391
|
return Math.abs(e - t) <= ZS * Math.max(1, Math.abs(e), Math.abs(t));
|
|
26392
26392
|
}, ii.RANDOM = ii.ARRAY_TYPE = ii.EPSILON = void 0;
|
|
@@ -26394,9 +26394,9 @@ Use an identity property function instead: ${v}.`)];
|
|
|
26394
26394
|
ii.EPSILON = ZS;
|
|
26395
26395
|
var YS = typeof Float32Array < "u" ? Float32Array : Array;
|
|
26396
26396
|
ii.ARRAY_TYPE = YS;
|
|
26397
|
-
var
|
|
26398
|
-
ii.RANDOM =
|
|
26399
|
-
var
|
|
26397
|
+
var c4 = Math.random;
|
|
26398
|
+
ii.RANDOM = c4;
|
|
26399
|
+
var u4 = Math.PI / 180;
|
|
26400
26400
|
Math.hypot || (Math.hypot = function() {
|
|
26401
26401
|
for (var e = 0, t = arguments.length; t--; )
|
|
26402
26402
|
e += arguments[t] * arguments[t];
|
|
@@ -27028,13 +27028,13 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27028
27028
|
return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
|
|
27029
27029
|
}
|
|
27030
27030
|
rn.sub = g2, rn.mul = _2, rn.div = y2, rn.dist = v2, rn.sqrDist = x2, rn.len = m2, rn.sqrLen = b2;
|
|
27031
|
-
var ws,
|
|
27031
|
+
var ws, h4 = (ws = p2(), function(e, t, n, r, i, a) {
|
|
27032
27032
|
var l, u;
|
|
27033
27033
|
for (t || (t = 3), n || (n = 0), u = r ? Math.min(r * t + n, e.length) : e.length, l = n; l < u; l += t)
|
|
27034
27034
|
ws[0] = e[l], ws[1] = e[l + 1], ws[2] = e[l + 2], i(ws, ws, a), e[l] = ws[0], e[l + 1] = ws[1], e[l + 2] = ws[2];
|
|
27035
27035
|
return e;
|
|
27036
27036
|
});
|
|
27037
|
-
rn.forEach =
|
|
27037
|
+
rn.forEach = h4;
|
|
27038
27038
|
var vn = {};
|
|
27039
27039
|
function Fy(e) {
|
|
27040
27040
|
return Fy = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -27163,7 +27163,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27163
27163
|
return t * t + n * n + r * r + i * i;
|
|
27164
27164
|
}
|
|
27165
27165
|
vn.sub = E2, vn.mul = C2, vn.div = I2, vn.dist = A2, vn.sqrDist = M2, vn.len = R2, vn.sqrLen = k2;
|
|
27166
|
-
var
|
|
27166
|
+
var d4 = function() {
|
|
27167
27167
|
var e = T2();
|
|
27168
27168
|
return function(t, n, r, i, a, l) {
|
|
27169
27169
|
var u, d;
|
|
@@ -27179,7 +27179,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27179
27179
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
27180
27180
|
}, Uy(e);
|
|
27181
27181
|
}
|
|
27182
|
-
vn.forEach =
|
|
27182
|
+
vn.forEach = d4, Object.defineProperty(en, "__esModule", { value: !0 }), en.create = jy, en.identity = function(e) {
|
|
27183
27183
|
return e[0] = 0, e[1] = 0, e[2] = 0, e[3] = 1, e;
|
|
27184
27184
|
}, en.setAxisAngle = L2, en.getAxisAngle = function(e, t) {
|
|
27185
27185
|
var n = 2 * Math.acos(t[3]), r = Math.sin(n / 2);
|
|
@@ -27220,7 +27220,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27220
27220
|
}, en.str = function(e) {
|
|
27221
27221
|
return "quat(" + e[0] + ", " + e[1] + ", " + e[2] + ", " + e[3] + ")";
|
|
27222
27222
|
}, en.setAxes = en.sqlerp = en.rotationTo = en.equals = en.exactEquals = en.normalize = en.sqrLen = en.squaredLength = en.len = en.length = en.lerp = en.dot = en.scale = en.mul = en.add = en.set = en.copy = en.fromValues = en.clone = void 0;
|
|
27223
|
-
var Ja = yf(ii),
|
|
27223
|
+
var Ja = yf(ii), f4 = yf(Jn), Ss = yf(rn), Qi = yf(vn);
|
|
27224
27224
|
function P2(e) {
|
|
27225
27225
|
if (typeof WeakMap != "function")
|
|
27226
27226
|
return null;
|
|
@@ -27293,19 +27293,19 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27293
27293
|
en.squaredLength = j2, en.sqrLen = j2;
|
|
27294
27294
|
var $y = Qi.normalize;
|
|
27295
27295
|
en.normalize = $y, en.exactEquals = Qi.exactEquals, en.equals = Qi.equals;
|
|
27296
|
-
var To, $2, V2,
|
|
27296
|
+
var To, $2, V2, p4 = (To = Ss.create(), $2 = Ss.fromValues(1, 0, 0), V2 = Ss.fromValues(0, 1, 0), function(e, t, n) {
|
|
27297
27297
|
var r = Ss.dot(t, n);
|
|
27298
27298
|
return r < -0.999999 ? (Ss.cross(To, $2, t), Ss.len(To) < 1e-6 && Ss.cross(To, V2, t), Ss.normalize(To, To), L2(e, To, Math.PI), e) : r > 0.999999 ? (e[0] = 0, e[1] = 0, e[2] = 0, e[3] = 1, e) : (Ss.cross(To, t, n), e[0] = To[0], e[1] = To[1], e[2] = To[2], e[3] = 1 + r, $y(e, e));
|
|
27299
27299
|
});
|
|
27300
|
-
en.rotationTo =
|
|
27301
|
-
var Vy, Gy,
|
|
27300
|
+
en.rotationTo = p4;
|
|
27301
|
+
var Vy, Gy, m4 = (Vy = jy(), Gy = jy(), function(e, t, n, r, i, a) {
|
|
27302
27302
|
return vf(Vy, t, i, a), vf(Gy, n, r, a), vf(e, Vy, Gy, 2 * a * (1 - a)), e;
|
|
27303
27303
|
});
|
|
27304
|
-
en.sqlerp =
|
|
27305
|
-
var Eo,
|
|
27304
|
+
en.sqlerp = m4;
|
|
27305
|
+
var Eo, g4 = (Eo = f4.create(), function(e, t, n, r) {
|
|
27306
27306
|
return Eo[0] = n[0], Eo[3] = n[1], Eo[6] = n[2], Eo[1] = r[0], Eo[4] = r[1], Eo[7] = r[2], Eo[2] = -t[0], Eo[5] = -t[1], Eo[8] = -t[2], $y(e, N2(e, Eo));
|
|
27307
27307
|
});
|
|
27308
|
-
en.setAxes =
|
|
27308
|
+
en.setAxes = g4;
|
|
27309
27309
|
var Sn = {};
|
|
27310
27310
|
function Hy(e) {
|
|
27311
27311
|
return Hy = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
@@ -27579,7 +27579,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27579
27579
|
return t * t + n * n;
|
|
27580
27580
|
}
|
|
27581
27581
|
fn.len = iT, fn.sub = Q2, fn.mul = tT, fn.div = eT, fn.dist = nT, fn.sqrDist = rT, fn.sqrLen = oT;
|
|
27582
|
-
var
|
|
27582
|
+
var _4 = function() {
|
|
27583
27583
|
var e = J2();
|
|
27584
27584
|
return function(t, n, r, i, a, l) {
|
|
27585
27585
|
var u, d;
|
|
@@ -27595,16 +27595,16 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27595
27595
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
27596
27596
|
}, Zy(e);
|
|
27597
27597
|
}
|
|
27598
|
-
fn.forEach =
|
|
27599
|
-
var Hn = ri.vec4 = K = ri.vec3 = ri.vec2 = ri.quat2 = pi = ri.quat = dt = ri.mat4 = Ci = ri.mat3 = ri.mat2d = Kl = ri.mat2 = ri.glMatrix = void 0,
|
|
27600
|
-
ri.glMatrix =
|
|
27601
|
-
var
|
|
27602
|
-
ri.mat2d =
|
|
27603
|
-
var
|
|
27604
|
-
ri.quat2 =
|
|
27605
|
-
var
|
|
27606
|
-
ri.vec2 =
|
|
27607
|
-
var
|
|
27598
|
+
fn.forEach = _4, Object.defineProperty(ri, "__esModule", { value: !0 });
|
|
27599
|
+
var Hn = ri.vec4 = K = ri.vec3 = ri.vec2 = ri.quat2 = pi = ri.quat = dt = ri.mat4 = Ci = ri.mat3 = ri.mat2d = Kl = ri.mat2 = ri.glMatrix = void 0, y4 = jo(ii);
|
|
27600
|
+
ri.glMatrix = y4;
|
|
27601
|
+
var v4 = jo(yr), Kl = ri.mat2 = v4, x4 = jo(Er);
|
|
27602
|
+
ri.mat2d = x4;
|
|
27603
|
+
var b4 = jo(Jn), Ci = ri.mat3 = b4, w4 = jo(an), dt = ri.mat4 = w4, S4 = jo(en), pi = ri.quat = S4, T4 = jo(Sn);
|
|
27604
|
+
ri.quat2 = T4;
|
|
27605
|
+
var E4 = jo(fn);
|
|
27606
|
+
ri.vec2 = E4;
|
|
27607
|
+
var C4 = jo(rn), K = ri.vec3 = C4, I4 = jo(vn);
|
|
27608
27608
|
function sT(e) {
|
|
27609
27609
|
if (typeof WeakMap != "function")
|
|
27610
27610
|
return null;
|
|
@@ -27629,8 +27629,8 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27629
27629
|
}
|
|
27630
27630
|
return r.default = e, n && n.set(e, r), r;
|
|
27631
27631
|
}
|
|
27632
|
-
Hn = ri.vec4 =
|
|
27633
|
-
const
|
|
27632
|
+
Hn = ri.vec4 = I4;
|
|
27633
|
+
const A4 = Fn([{ type: "Float32", name: "a_globe_pos", components: 3 }, { type: "Float32", name: "a_uv", components: 2 }]), { members: bf } = A4, aT = Fn([{ name: "a_pos_3", components: 3, type: "Int16" }]);
|
|
27634
27634
|
var Qs = Fn([{ name: "a_pos", type: "Int16", components: 2 }]), lT = {};
|
|
27635
27635
|
(function(e, t) {
|
|
27636
27636
|
(function(n) {
|
|
@@ -27647,7 +27647,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27647
27647
|
}, n.getTileBBox = r, n.getMercCoords = i, Object.defineProperty(n, "__esModule", { value: !0 });
|
|
27648
27648
|
})(t);
|
|
27649
27649
|
})(0, lT);
|
|
27650
|
-
var
|
|
27650
|
+
var M4 = lT;
|
|
27651
27651
|
class po {
|
|
27652
27652
|
constructor(t, n, r) {
|
|
27653
27653
|
this.z = t, this.x = n, this.y = r, this.key = Gu(0, t, t, n, r);
|
|
@@ -27656,7 +27656,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27656
27656
|
return this.z === t.z && this.x === t.x && this.y === t.y;
|
|
27657
27657
|
}
|
|
27658
27658
|
url(t, n) {
|
|
27659
|
-
const r =
|
|
27659
|
+
const r = M4.getTileBBox(this.x, this.y, this.z), i = function(a, l, u) {
|
|
27660
27660
|
let d, f = "";
|
|
27661
27661
|
for (let m = a; m > 0; m--)
|
|
27662
27662
|
d = 1 << m - 1, f += (l & d ? 1 : 0) + (u & d ? 2 : 0);
|
|
@@ -27933,7 +27933,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27933
27933
|
}
|
|
27934
27934
|
}
|
|
27935
27935
|
we(cr, "Aabb");
|
|
27936
|
-
const qu = 5, ta = 6, Ti = Tt / Math.PI / 2,
|
|
27936
|
+
const qu = 5, ta = 6, Ti = Tt / Math.PI / 2, R4 = 16383, Jl = 64, Ky = [Jl, 32, 16], mo = -Ti, go = Ti, k4 = [new cr([mo, mo, mo], [go, go, go]), new cr([mo, mo, mo], [0, 0, go]), new cr([0, mo, mo], [go, 0, go]), new cr([mo, 0, mo], [0, go, go]), new cr([0, 0, mo], [go, go, go])];
|
|
27937
27937
|
function Sf(e) {
|
|
27938
27938
|
return e * Ti / tc;
|
|
27939
27939
|
}
|
|
@@ -27958,7 +27958,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27958
27958
|
const F = Yr(B), j = _t(Qr(z), 0, 1);
|
|
27959
27959
|
return new wn(F, j);
|
|
27960
27960
|
}
|
|
27961
|
-
class
|
|
27961
|
+
class P4 {
|
|
27962
27962
|
constructor(t, n, r) {
|
|
27963
27963
|
this.a = K.sub([], t, r), this.b = K.sub([], n, r), this.center = r;
|
|
27964
27964
|
const i = K.normalize([], this.a), a = K.normalize([], this.b);
|
|
@@ -27976,7 +27976,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
27976
27976
|
}
|
|
27977
27977
|
function to(e) {
|
|
27978
27978
|
if (e.z <= 1)
|
|
27979
|
-
return
|
|
27979
|
+
return k4[e.z + 2 * e.y + e.x];
|
|
27980
27980
|
const t = t0(Tf(e));
|
|
27981
27981
|
return cr.fromPoints(t);
|
|
27982
27982
|
}
|
|
@@ -28022,7 +28022,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28022
28022
|
const F = [a[4] * i, a[5] * i, a[6] * i], j = -Math.sin(zt(A >= 0 ? l.getSouth() : l.getNorth())) * Ti;
|
|
28023
28023
|
K.scaleAndAdd(g, g, F, j);
|
|
28024
28024
|
}
|
|
28025
|
-
const L = u[P], R = u[(P + 1) % 4], D = new
|
|
28025
|
+
const L = u[P], R = u[(P + 1) % 4], D = new P4(L, R, g), z = [Jy(D, 0) || L[0], Jy(D, 1) || L[1], Jy(D, 2) || L[2]], B = oi(e.zoom);
|
|
28026
28026
|
if (B > 0) {
|
|
28027
28027
|
const F = function({ x: H, y: q, z: J }, $, tt, nt, ut) {
|
|
28028
28028
|
const Q = 1 / (1 << J);
|
|
@@ -28058,7 +28058,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28058
28058
|
return Ii(Gr((t / Tt + n.y) / i), $i(a), r);
|
|
28059
28059
|
}
|
|
28060
28060
|
function Ef({ min: e, max: t }) {
|
|
28061
|
-
return
|
|
28061
|
+
return R4 / Math.max(t[0] - e[0], t[1] - e[1], t[2] - e[2]);
|
|
28062
28062
|
}
|
|
28063
28063
|
const gT = new Float64Array(16);
|
|
28064
28064
|
function ea(e) {
|
|
@@ -28103,7 +28103,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28103
28103
|
}
|
|
28104
28104
|
return v[2] = d, v[5] = e.x, v[8] = e.y, v;
|
|
28105
28105
|
}
|
|
28106
|
-
function
|
|
28106
|
+
function L4(e) {
|
|
28107
28107
|
const t = kr - 5;
|
|
28108
28108
|
e = _t(e, -t, t) / t * 90;
|
|
28109
28109
|
const n = Math.pow(Math.abs(Math.sin(zt(e))), 3);
|
|
@@ -28127,8 +28127,8 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28127
28127
|
function Cf(e, t) {
|
|
28128
28128
|
return TT(e, t) > Math.PI / 2 * 1.01;
|
|
28129
28129
|
}
|
|
28130
|
-
const ET = zt(85),
|
|
28131
|
-
class
|
|
28130
|
+
const ET = zt(85), D4 = Math.cos(ET), O4 = Math.sin(ET);
|
|
28131
|
+
class z4 {
|
|
28132
28132
|
constructor(t) {
|
|
28133
28133
|
this._createGrid(t), this._createPoles(t);
|
|
28134
28134
|
}
|
|
@@ -28187,7 +28187,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28187
28187
|
r.emplaceBack(0, -Ti, 0, 0.5, 0), i.emplaceBack(0, -Ti, 0, 0.5, 1), a.emplaceBack(0, -Ti, 0, 0.5, 0.5), l.emplaceBack(0, -Ti, 0, 0.5, 0.5);
|
|
28188
28188
|
for (let m = 0; m <= Jl; m++) {
|
|
28189
28189
|
let g = m / Jl, y = 0;
|
|
28190
|
-
const v = qe(0, f, g), [w, T, E] = Ql(
|
|
28190
|
+
const v = qe(0, f, g), [w, T, E] = Ql(D4, O4, v, Ti);
|
|
28191
28191
|
r.emplaceBack(w, T, E, g, y), i.emplaceBack(w, T, E, g, 1 - y);
|
|
28192
28192
|
const C = zt(v);
|
|
28193
28193
|
g = 0.5 + 0.5 * Math.sin(C), y = 0.5 + 0.5 * Math.cos(C), a.emplaceBack(w, T, E, g, y), l.emplaceBack(w, T, E, g, 1 - y);
|
|
@@ -28243,7 +28243,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28243
28243
|
}
|
|
28244
28244
|
}
|
|
28245
28245
|
var We = na;
|
|
28246
|
-
const
|
|
28246
|
+
const N4 = 0, B4 = 25.5;
|
|
28247
28247
|
function If(e) {
|
|
28248
28248
|
return r0 * Math.cos(e * Math.PI / 180);
|
|
28249
28249
|
}
|
|
@@ -28270,7 +28270,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28270
28270
|
return Math.cos(zt(_t(e, -kr, kr)));
|
|
28271
28271
|
}
|
|
28272
28272
|
function ra(e, t) {
|
|
28273
|
-
const n = _t(t,
|
|
28273
|
+
const n = _t(t, N4, B4), r = Math.pow(2, n);
|
|
28274
28274
|
return IT(e) * r0 / (512 * r);
|
|
28275
28275
|
}
|
|
28276
28276
|
function i0(e) {
|
|
@@ -28322,7 +28322,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28322
28322
|
} else
|
|
28323
28323
|
e.push(n);
|
|
28324
28324
|
}
|
|
28325
|
-
function
|
|
28325
|
+
function F4(e, t) {
|
|
28326
28326
|
let n = e[0];
|
|
28327
28327
|
const r = [n];
|
|
28328
28328
|
for (let i = 1; i < e.length; i++) {
|
|
@@ -28332,7 +28332,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28332
28332
|
return r;
|
|
28333
28333
|
}
|
|
28334
28334
|
const a0 = Math.pow(2, 14) - 1, MT = -a0 - 1;
|
|
28335
|
-
function
|
|
28335
|
+
function U4(e, t) {
|
|
28336
28336
|
const n = Math.round(e.x * t), r = Math.round(e.y * t);
|
|
28337
28337
|
return e.x = _t(n, MT, a0), e.y = _t(r, MT, a0), (n < e.x || n > e.x + 1 || r < e.y || r > e.y + 1) && V("Geometry exceeds allowed extent, reduce your vector tile buffer size"), e;
|
|
28338
28338
|
}
|
|
@@ -28355,7 +28355,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28355
28355
|
}
|
|
28356
28356
|
for (const l of r)
|
|
28357
28357
|
for (const u of l)
|
|
28358
|
-
|
|
28358
|
+
U4(u, a);
|
|
28359
28359
|
return r;
|
|
28360
28360
|
}
|
|
28361
28361
|
function ia(e, t) {
|
|
@@ -28401,7 +28401,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28401
28401
|
return !this.uploaded || this.programConfigurations.needsUpload;
|
|
28402
28402
|
}
|
|
28403
28403
|
upload(t) {
|
|
28404
|
-
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray,
|
|
28404
|
+
this.uploaded || (this.layoutVertexBuffer = t.createVertexBuffer(this.layoutVertexArray, X5.members), this.indexBuffer = t.createIndexBuffer(this.indexArray), this.globeExtVertexArray && (this.globeExtVertexBuffer = t.createVertexBuffer(this.globeExtVertexArray, K5.members))), this.programConfigurations.upload(t), this.uploaded = !0;
|
|
28405
28405
|
}
|
|
28406
28406
|
destroy() {
|
|
28407
28407
|
this.layoutVertexBuffer && (this.layoutVertexBuffer.destroy(), this.indexBuffer.destroy(), this.programConfigurations.destroy(), this.segments.destroy(), this.globeExtVertexBuffer && this.globeExtVertexBuffer.destroy());
|
|
@@ -28431,7 +28431,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28431
28431
|
return !0;
|
|
28432
28432
|
return !!c0(e, t);
|
|
28433
28433
|
}
|
|
28434
|
-
function
|
|
28434
|
+
function j4(e, t, n) {
|
|
28435
28435
|
return !!oa(e, t) || !!u0(t, e, n);
|
|
28436
28436
|
}
|
|
28437
28437
|
function kT(e, t) {
|
|
@@ -28451,7 +28451,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28451
28451
|
return !0;
|
|
28452
28452
|
return !1;
|
|
28453
28453
|
}
|
|
28454
|
-
function $
|
|
28454
|
+
function $4(e, t, n) {
|
|
28455
28455
|
if (e.length > 1) {
|
|
28456
28456
|
if (c0(e, t))
|
|
28457
28457
|
return !0;
|
|
@@ -28470,12 +28470,12 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28470
28470
|
for (let n = 0; n < e.length - 1; n++) {
|
|
28471
28471
|
const r = e[n], i = e[n + 1];
|
|
28472
28472
|
for (let a = 0; a < t.length - 1; a++)
|
|
28473
|
-
if (
|
|
28473
|
+
if (V4(r, i, t[a], t[a + 1]))
|
|
28474
28474
|
return !0;
|
|
28475
28475
|
}
|
|
28476
28476
|
return !1;
|
|
28477
28477
|
}
|
|
28478
|
-
function
|
|
28478
|
+
function V4(e, t, n, r) {
|
|
28479
28479
|
return Dt(e, n, r) !== Dt(t, n, r) && Dt(e, t, n) !== Dt(e, t, r);
|
|
28480
28480
|
}
|
|
28481
28481
|
function u0(e, t, n) {
|
|
@@ -28522,11 +28522,11 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28522
28522
|
return !0;
|
|
28523
28523
|
}
|
|
28524
28524
|
for (let l = 0; l < e.length - 1; l++)
|
|
28525
|
-
if (
|
|
28525
|
+
if (G4(e[l], e[l + 1], a))
|
|
28526
28526
|
return !0;
|
|
28527
28527
|
return !1;
|
|
28528
28528
|
}
|
|
28529
|
-
function
|
|
28529
|
+
function G4(e, t, n) {
|
|
28530
28530
|
const r = n[0], i = n[2];
|
|
28531
28531
|
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)
|
|
28532
28532
|
return !1;
|
|
@@ -28569,9 +28569,9 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28569
28569
|
return t === "viewport" && i._rotate(-n), i;
|
|
28570
28570
|
}
|
|
28571
28571
|
we(l0, "CircleBucket", { omit: ["layers"] });
|
|
28572
|
-
const
|
|
28573
|
-
var
|
|
28574
|
-
const
|
|
28572
|
+
const H4 = new Ir({ "circle-sort-key": new ze(ft.layout_circle["circle-sort-key"]), visibility: new Zt(ft.layout_circle.visibility) });
|
|
28573
|
+
var q4 = { paint: new Ir({ "circle-radius": new ze(ft.paint_circle["circle-radius"]), "circle-color": new ze(ft.paint_circle["circle-color"]), "circle-blur": new ze(ft.paint_circle["circle-blur"]), "circle-opacity": new ze(ft.paint_circle["circle-opacity"]), "circle-translate": new Zt(ft.paint_circle["circle-translate"]), "circle-translate-anchor": new Zt(ft.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new Zt(ft.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new Zt(ft.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new ze(ft.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ze(ft.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ze(ft.paint_circle["circle-stroke-opacity"]), "circle-emissive-strength": new Zt(ft.paint_circle["circle-emissive-strength"]) }), layout: H4 };
|
|
28574
|
+
const W4 = dt.create(), Z4 = (e, t, n, r, i, a) => {
|
|
28575
28575
|
const l = e.transform, u = l.projection.name === "globe";
|
|
28576
28576
|
let d;
|
|
28577
28577
|
if (a.paint.get("circle-pitch-alignment") === "map")
|
|
@@ -28582,7 +28582,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28582
28582
|
d = l.calculatePixelsToTileUnitsMatrix(n);
|
|
28583
28583
|
else
|
|
28584
28584
|
d = new Float32Array([l.pixelsToGLUnits[0], 0, 0, l.pixelsToGLUnits[1]]);
|
|
28585
|
-
const f = { u_camera_to_center_distance: e.transform.getCameraToCenterDistance(l.projection), u_matrix: e.translatePosMatrix(t.projMatrix, n, a.paint.get("circle-translate"), a.paint.get("circle-translate-anchor")), u_device_pixel_ratio: Qe.devicePixelRatio, u_extrude_scale: d, u_inv_rot_matrix:
|
|
28585
|
+
const f = { u_camera_to_center_distance: e.transform.getCameraToCenterDistance(l.projection), u_matrix: e.translatePosMatrix(t.projMatrix, n, a.paint.get("circle-translate"), a.paint.get("circle-translate-anchor")), u_device_pixel_ratio: Qe.devicePixelRatio, u_extrude_scale: d, u_inv_rot_matrix: W4, u_merc_center: [0, 0], u_tile_id: [0, 0, 0], u_zoom_transition: 0, u_up_dir: [0, 0, 0], u_emissive_strength: a.paint.get("circle-emissive-strength") };
|
|
28586
28586
|
if (u) {
|
|
28587
28587
|
f.u_inv_rot_matrix = r, f.u_merc_center = i, f.u_tile_id = [t.canonical.x, t.canonical.y, 1 << t.canonical.z], f.u_zoom_transition = oi(l.zoom);
|
|
28588
28588
|
const m = i[0] * Tt, g = i[1] * Tt;
|
|
@@ -28605,24 +28605,24 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28605
28605
|
const P = n.projection.upVector(f, v.x, v.y);
|
|
28606
28606
|
T.x += P[0] * m * w, T.y += P[1] * m * w, T.z += P[2] * m * w;
|
|
28607
28607
|
}
|
|
28608
|
-
const E = a ? v :
|
|
28608
|
+
const E = a ? v : Y4(T.x, T.y, T.z, r), C = a ? e.tilespaceRays.map((P) => K4(P, w)) : e.queryGeometry.screenGeometry, A = Hn.transformMat4([], [T.x, T.y, T.z, 1], r);
|
|
28609
28609
|
if (!l && a ? d *= A[3] / n.cameraToCenterDistance : l && !a && (d *= n.cameraToCenterDistance / A[3]), a) {
|
|
28610
28610
|
const P = Gr((y.y / Tt + f.y) / (1 << f.z));
|
|
28611
28611
|
d /= n.projection.pixelsPerMeter(P, 1) / Xn(1, P);
|
|
28612
28612
|
}
|
|
28613
|
-
if (
|
|
28613
|
+
if (j4(C, E, d))
|
|
28614
28614
|
return !0;
|
|
28615
28615
|
}
|
|
28616
28616
|
return !1;
|
|
28617
28617
|
}
|
|
28618
|
-
function
|
|
28618
|
+
function Y4(e, t, n, r) {
|
|
28619
28619
|
const i = Hn.transformMat4([], [e, t, n, 1], r);
|
|
28620
28620
|
return new Z(i[0] / i[3], i[1] / i[3]);
|
|
28621
28621
|
}
|
|
28622
|
-
const FT = K.fromValues(0, 0, 0),
|
|
28623
|
-
function
|
|
28622
|
+
const FT = K.fromValues(0, 0, 0), X4 = K.fromValues(0, 0, 1);
|
|
28623
|
+
function K4(e, t) {
|
|
28624
28624
|
const n = K.create();
|
|
28625
|
-
return FT[2] = t, e.intersectsPlane(FT,
|
|
28625
|
+
return FT[2] = t, e.intersectsPlane(FT, X4, n), new Z(n[0], n[1]);
|
|
28626
28626
|
}
|
|
28627
28627
|
class UT extends l0 {
|
|
28628
28628
|
}
|
|
@@ -28693,8 +28693,8 @@ Use an identity property function instead: ${v}.`)];
|
|
|
28693
28693
|
}
|
|
28694
28694
|
}
|
|
28695
28695
|
we(Is, "AlphaImage"), we(Ur, "RGBAImage");
|
|
28696
|
-
const
|
|
28697
|
-
var
|
|
28696
|
+
const J4 = new Ir({ visibility: new Zt(ft.layout_heatmap.visibility) });
|
|
28697
|
+
var Q4 = { paint: new Ir({ "heatmap-radius": new ze(ft.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ze(ft.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new Zt(ft.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Bu(ft.paint_heatmap["heatmap-color"]), "heatmap-opacity": new Zt(ft.paint_heatmap["heatmap-opacity"]) }), layout: J4 };
|
|
28698
28698
|
function kf(e) {
|
|
28699
28699
|
const t = {}, n = e.resolution || 256, r = e.clips ? e.clips.length : 1, i = e.image || new Ur({ width: n, height: r }), a = (l, u, d) => {
|
|
28700
28700
|
t[e.evaluationKey] = d;
|
|
@@ -31018,7 +31018,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
31018
31018
|
const A = g.get("text-font").evaluate(C, {}, u).join(","), P = T.evaluate(C, {}, u), L = v.layoutTextSize.evaluate(C, {}, u), R = (v.layoutIconSize.evaluate(C, {}, u), { horizontal: {}, vertical: void 0 }), D = C.text;
|
|
31019
31019
|
let z, B = [0, 0];
|
|
31020
31020
|
if (D) {
|
|
31021
|
-
const H = D.toString(), q = g.get("text-letter-spacing").evaluate(C, {}, u) * si, J = g.get("text-line-height").evaluate(C, {}, u) * si, $ =
|
|
31021
|
+
const H = D.toString(), q = g.get("text-letter-spacing").evaluate(C, {}, u) * si, J = g.get("text-line-height").evaluate(C, {}, u) * si, $ = V5(H) ? q : 0, tt = g.get("text-anchor").evaluate(C, {}, u), nt = g.get("text-variable-anchor");
|
|
31022
31022
|
if (!nt) {
|
|
31023
31023
|
const xt = g.get("text-radial-offset").evaluate(C, {}, u);
|
|
31024
31024
|
B = xt ? M0(tt, [xt * si, A0]) : g.get("text-offset").evaluate(C, {}, u).map((vt) => vt * si);
|
|
@@ -31689,7 +31689,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
31689
31689
|
}
|
|
31690
31690
|
function Rz(e) {
|
|
31691
31691
|
for (const t of e.sections)
|
|
31692
|
-
if (
|
|
31692
|
+
if (q5(t.text))
|
|
31693
31693
|
return !0;
|
|
31694
31694
|
return !1;
|
|
31695
31695
|
}
|
|
@@ -31757,7 +31757,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
31757
31757
|
return K.dot(nt, ut) < q;
|
|
31758
31758
|
};
|
|
31759
31759
|
for (let $ = 0; $ < H.length; $++)
|
|
31760
|
-
H[$] =
|
|
31760
|
+
H[$] = F4(H[$], J);
|
|
31761
31761
|
}
|
|
31762
31762
|
let B, F;
|
|
31763
31763
|
if (g) {
|
|
@@ -36255,7 +36255,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
36255
36255
|
var aB = { paint: new Ir({}) };
|
|
36256
36256
|
const lB = { circle: class extends Ki {
|
|
36257
36257
|
constructor(e, t) {
|
|
36258
|
-
super(e,
|
|
36258
|
+
super(e, q4, t);
|
|
36259
36259
|
}
|
|
36260
36260
|
createBucket(e) {
|
|
36261
36261
|
return new l0(e);
|
|
@@ -36280,7 +36280,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
36280
36280
|
return new UT(e);
|
|
36281
36281
|
}
|
|
36282
36282
|
constructor(e, t) {
|
|
36283
|
-
super(e,
|
|
36283
|
+
super(e, Q4, t), this._updateColorRamp();
|
|
36284
36284
|
}
|
|
36285
36285
|
_handleSpecialPaintPropertyUpdate(e) {
|
|
36286
36286
|
e === "heatmap-color" && this._updateColorRamp();
|
|
@@ -36499,7 +36499,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
36499
36499
|
if (oa(f, v[w]))
|
|
36500
36500
|
return !0;
|
|
36501
36501
|
}
|
|
36502
|
-
if ($
|
|
36502
|
+
if ($4(f, v, g))
|
|
36503
36503
|
return !0;
|
|
36504
36504
|
}
|
|
36505
36505
|
return !1;
|
|
@@ -36778,7 +36778,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
36778
36778
|
return this._transitionable.serialize();
|
|
36779
36779
|
}
|
|
36780
36780
|
setLight(t, n, r = {}) {
|
|
36781
|
-
this._validate(
|
|
36781
|
+
this._validate(D5, t, r) || (this._transitionable.setTransitionOrValue(t), this.id = n);
|
|
36782
36782
|
}
|
|
36783
36783
|
updateTransitions(t) {
|
|
36784
36784
|
this._transitioning = this._transitionable.transitioned(t, this._transitioning);
|
|
@@ -36857,7 +36857,7 @@ Use an identity property function instead: ${v}.`)];
|
|
|
36857
36857
|
return this._transitionable.serialize();
|
|
36858
36858
|
}
|
|
36859
36859
|
set(t, n = {}) {
|
|
36860
|
-
if (this._validate(
|
|
36860
|
+
if (this._validate(N5, t, n))
|
|
36861
36861
|
return;
|
|
36862
36862
|
const r = pt({}, t);
|
|
36863
36863
|
for (const i of Object.keys(ft.fog))
|
|
@@ -41986,7 +41986,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
|
|
|
41986
41986
|
ZI(et, mt) && vc.newMorphing(nt.key, et, mt, v, 250), w.activeTexture.set(T.TEXTURE0), ut.texture && ut.texture.bind(T.LINEAR, T.CLAMP_TO_EDGE);
|
|
41987
41987
|
const xt = vc.getMorphValuesForProxy(nt.key), vt = xt ? 1 : 0;
|
|
41988
41988
|
xt && ps(q, { morphing: { srcDemTile: xt.from, dstDemTile: xt.to, phase: be(xt.phase) } });
|
|
41989
|
-
const It = Tf(nt.canonical), Pt =
|
|
41989
|
+
const It = Tf(nt.canonical), Pt = L4(It.getCenter().lat), Ot = wT(nt.canonical, It, Pt, J.worldSize / J._pixelsPerMercatorPixel), St = ea(to(nt.canonical)), Gt = WI(J.expandedFarZProjMatrix, H, z, St, oi(J.zoom), B, J.frustumCorners.TL, J.frustumCorners.TR, J.frustumCorners.BR, J.frustumCorners.BL, J.globeCenterInViewSpace, J.globeRadius, j, $, Ot);
|
|
41990
41990
|
if (L(nt, vt), E && (m.setupElevationDraw(ut, E, q), f.uploadCommonUniforms(w, E, nt.toUnwrapped()), F)) {
|
|
41991
41991
|
const [se, ae, pe] = F.getGridBuffers(Pt, $ !== 0);
|
|
41992
41992
|
E.draw(f, tt, D, Q, R, pn.backCCW, Gt, "globe_raster", se, ae, pe);
|
|
@@ -43331,7 +43331,7 @@ ${r.vertexSource}`;
|
|
|
43331
43331
|
continue;
|
|
43332
43332
|
const z = D.programConfigurations.get(n.id), B = NT(n), F = e.isTileAffectedByFog(L);
|
|
43333
43333
|
T && B.push("PROJECTION_GLOBE_VIEW");
|
|
43334
|
-
const j = e.getOrCreateProgram("circle", { config: z, defines: B, overrideFog: F }), H = D.layoutVertexBuffer, q = D.globeExtVertexBuffer, J = D.indexBuffer, $ = g.projection.createInversionMatrix(g, L.canonical), tt = { programConfiguration: z, program: j, layoutVertexBuffer: H, globeExtVertexBuffer: q, indexBuffer: J, uniformValues:
|
|
43334
|
+
const j = e.getOrCreateProgram("circle", { config: z, defines: B, overrideFog: F }), H = D.layoutVertexBuffer, q = D.globeExtVertexBuffer, J = D.indexBuffer, $ = g.projection.createInversionMatrix(g, L.canonical), tt = { programConfiguration: z, program: j, layoutVertexBuffer: H, globeExtVertexBuffer: q, indexBuffer: J, uniformValues: Z4(e, L, R, $, E, n), tile: R };
|
|
43335
43335
|
if (u) {
|
|
43336
43336
|
const nt = D.segments.get();
|
|
43337
43337
|
for (const ut of nt)
|
|
@@ -44065,7 +44065,7 @@ ${r.vertexSource}`;
|
|
|
44065
44065
|
this.terrain && (z = this.terrain.getMinMaxForTile(D) || z), E.addShadowReceiver(D.toUnwrapped(), z.min, z.max);
|
|
44066
44066
|
}
|
|
44067
44067
|
}
|
|
44068
|
-
this.transform.projection.name !== "globe" || this.globeSharedBuffers || (this.globeSharedBuffers = new
|
|
44068
|
+
this.transform.projection.name !== "globe" || this.globeSharedBuffers || (this.globeSharedBuffers = new z4(this.context));
|
|
44069
44069
|
for (const R of a) {
|
|
44070
44070
|
if (R.isHidden(this.transform.zoom))
|
|
44071
44071
|
continue;
|
|
@@ -44647,7 +44647,7 @@ ${r.vertexSource}`;
|
|
|
44647
44647
|
const wh = (e, t) => of(e, t && t.filter((n) => n.identifier !== "source.canvas")), u8 = ce(zn, ["addLayer", "removeLayer", "setLights", "setPaintProperty", "setLayoutProperty", "setSlot", "setFilter", "addSource", "removeSource", "setLayerZoomRange", "setLight", "setTransition", "setGeoJSONSourceData", "setTerrain", "setFog", "setProjection", "setCamera", "addImport", "removeImport", "setImportUrl", "setImportData", "setImportConfig"]), h8 = ce(zn, ["setCenter", "setZoom", "setBearing", "setPitch"]), TA = { version: 8, layers: [], sources: {} }, EA = { duration: 300, delay: 0 }, d8 = /* @__PURE__ */ new Set(["fill", "line", "background", "hillshade", "raster"]);
|
|
44648
44648
|
class ko extends jr {
|
|
44649
44649
|
constructor(t, n = {}) {
|
|
44650
|
-
super(), this.map = t, this.scope = n.scope || "", this.fragments = [], this.importDepth = n.importDepth || 0, this.importsCache = n.importsCache || /* @__PURE__ */ new Map(), this.resolvedImports = n.resolvedImports || /* @__PURE__ */ new Set(), this.transition = pt({}, EA), this._buildingIndex = new OB(this), this.crossTileSymbolIndex = new iF(), this._mergedOrder = [], this._drapedFirstOrder = [], this._mergedLayers = {}, this._mergedSourceCaches = {}, this._mergedOtherSourceCaches = {}, this._mergedSymbolSourceCaches = {}, this._has3DLayers = !1, this._hasCircleLayers = !1, this._hasSymbolLayers = !1, this._changes = n.styleChanges || new
|
|
44650
|
+
super(), this.map = t, this.scope = n.scope || "", this.fragments = [], this.importDepth = n.importDepth || 0, this.importsCache = n.importsCache || /* @__PURE__ */ new Map(), this.resolvedImports = n.resolvedImports || /* @__PURE__ */ new Set(), this.transition = pt({}, EA), this._buildingIndex = new OB(this), this.crossTileSymbolIndex = new iF(), this._mergedOrder = [], this._drapedFirstOrder = [], this._mergedLayers = {}, this._mergedSourceCaches = {}, this._mergedOtherSourceCaches = {}, this._mergedSymbolSourceCaches = {}, this._has3DLayers = !1, this._hasCircleLayers = !1, this._hasSymbolLayers = !1, this._changes = n.styleChanges || new Z5(), this.dispatcher = n.dispatcher ? n.dispatcher : new sl(vh(), this), n.imageManager ? this.imageManager = n.imageManager : (this.imageManager = new uB(), this.imageManager.setEventedParent(this)), this.imageManager.createScope(this.scope), this.glyphManager = n.glyphManager ? n.glyphManager : new cc(t._requestManager, n.localFontFamily ? 2 : n.localIdeographFontFamily ? 1 : 0, n.localFontFamily || n.localIdeographFontFamily), n.modelManager ? this.modelManager = n.modelManager : (this.modelManager = new c8(t._requestManager), this.modelManager.setEventedParent(this)), this._layers = {}, this._serializedLayers = {}, this._sourceCaches = {}, this._otherSourceCaches = {}, this._symbolSourceCaches = {}, this._loaded = !1, this._precompileDone = !1, this._shouldPrecompile = !1, this._availableImages = [], this._order = [], this._markersNeedUpdate = !1, this.options = /* @__PURE__ */ new Map(), this._configDependentLayers = /* @__PURE__ */ new Set(), this._config = n.config, this.dispatcher.broadcast("setReferrer", Nt());
|
|
44651
44651
|
const r = this;
|
|
44652
44652
|
this._rtlTextPluginCallback = ko.registerForPluginStateChange((i) => {
|
|
44653
44653
|
r.dispatcher.broadcast("syncRTLPluginState", { pluginStatus: i.pluginStatus, pluginURL: i.pluginURL }, (a, l) => {
|
|
@@ -45116,7 +45116,7 @@ ${r.vertexSource}`;
|
|
|
45116
45116
|
return this._checkLoaded(), this._availableImages.slice();
|
|
45117
45117
|
}
|
|
45118
45118
|
addModel(t, n, r = {}) {
|
|
45119
|
-
return this._checkLoaded(), this._validate(
|
|
45119
|
+
return this._checkLoaded(), this._validate(j5, `models.${t}`, n, null, r) || (this.modelManager.addModel(t, n, this.scope), this._changes.setDirty()), this;
|
|
45120
45120
|
}
|
|
45121
45121
|
hasModel(t) {
|
|
45122
45122
|
return this.modelManager.hasModel(t, this.scope);
|
|
@@ -45132,7 +45132,7 @@ ${r.vertexSource}`;
|
|
|
45132
45132
|
throw new Error(`There is already a source with ID "${t}".`);
|
|
45133
45133
|
if (!n.type)
|
|
45134
45134
|
throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(n).join(", ")}.`);
|
|
45135
|
-
if (["vector", "raster", "geojson", "video", "image"].indexOf(n.type) >= 0 && this._validate(
|
|
45135
|
+
if (["vector", "raster", "geojson", "video", "image"].indexOf(n.type) >= 0 && this._validate(L5, `sources.${t}`, n, null, r))
|
|
45136
45136
|
return;
|
|
45137
45137
|
this.map && this.map._collectResourceTiming && (n.collectResourceTiming = !0);
|
|
45138
45138
|
const i = c1(t, n, this.dispatcher, this);
|
|
@@ -45180,7 +45180,7 @@ ${r.vertexSource}`;
|
|
|
45180
45180
|
return delete this.ambientLight, void delete this.directionalLight;
|
|
45181
45181
|
const n = this._getTransitionParameters();
|
|
45182
45182
|
for (const i of t) {
|
|
45183
|
-
if (this._validate(
|
|
45183
|
+
if (this._validate(O5, "lights", i))
|
|
45184
45184
|
return;
|
|
45185
45185
|
switch (i.type) {
|
|
45186
45186
|
case "ambient":
|
|
@@ -45295,7 +45295,7 @@ ${r.vertexSource}`;
|
|
|
45295
45295
|
return;
|
|
45296
45296
|
a = yp(t, this.options);
|
|
45297
45297
|
} else {
|
|
45298
|
-
if (typeof t.source == "object" && (this.addSource(i, t.source), t = pt(t = G(t), { source: i })), this._validate(
|
|
45298
|
+
if (typeof t.source == "object" && (this.addSource(i, t.source), t = pt(t = G(t), { source: i })), this._validate(B5, `layers.${i}`, t, { arrayIndex: -1 }, r))
|
|
45299
45299
|
return;
|
|
45300
45300
|
a = yp(t, this.options), this._validateLayer(a), a.setEventedParent(this, { layer: { id: i } }), this._serializedLayers[a.id] = a.serialize();
|
|
45301
45301
|
}
|
|
@@ -45605,7 +45605,7 @@ ${r.vertexSource}`;
|
|
|
45605
45605
|
const u = this.terrain ? this.getFragmentStyle(this.terrain.scope) : null;
|
|
45606
45606
|
u && (l.style = u.serialize());
|
|
45607
45607
|
}
|
|
45608
|
-
if (this._validate(
|
|
45608
|
+
if (this._validate(z5, "terrain", a, l))
|
|
45609
45609
|
return;
|
|
45610
45610
|
}
|
|
45611
45611
|
if (!this.terrain || this.terrain.scope !== this.scope && !i || this.terrain && n !== this.terrain.drapeRenderMode) {
|
|
@@ -55159,4 +55159,4 @@ export {
|
|
|
55159
55159
|
ctt as h,
|
|
55160
55160
|
rit as r
|
|
55161
55161
|
};
|
|
55162
|
-
//# sourceMappingURL=reactcomponent-
|
|
55162
|
+
//# sourceMappingURL=reactcomponent-1eae5fb1.mjs.map
|