@performant-software/geospatial 3.1.18-beta.0 → 3.1.18-beta.1
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/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs13.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -1
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +1 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs40.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs75.js +1 -9
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -17
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -743
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +9 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +17 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs80.js.map +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs81.js.map +1 -1
- package/dist/index.cjs82.js +743 -1
- package/dist/index.cjs82.js.map +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs83.js.map +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es109.js +3 -3
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +2 -2
- package/dist/index.es112.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es118.js +1 -1
- package/dist/index.es119.js +1 -1
- package/dist/index.es120.js +1 -1
- package/dist/index.es123.js +2 -2
- package/dist/index.es124.js +2 -2
- package/dist/index.es125.js +1 -1
- package/dist/index.es129.js +2 -2
- package/dist/index.es13.js +45 -35
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +1 -1
- package/dist/index.es150.js +2 -2
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es155.js +2 -2
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +1 -1
- package/dist/index.es159.js +1 -1
- package/dist/index.es16.js +4 -4
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +2 -2
- package/dist/index.es163.js +1 -1
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +2 -2
- package/dist/index.es169.js +2 -2
- package/dist/index.es17.js +3 -3
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +2 -2
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +2 -2
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +1 -1
- package/dist/index.es176.js +1 -1
- package/dist/index.es18.js +3 -3
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +2 -2
- package/dist/index.es184.js +1 -1
- package/dist/index.es185.js +1 -1
- package/dist/index.es186.js +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es205.js +242 -7
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +42 -4
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +3 -4
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +11 -3
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +11 -3
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +30 -8
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +13 -18
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +4 -20
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +6 -11
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +4 -14
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +4 -6
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +3 -8
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +3 -7
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +8 -21
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +17 -8
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +21 -9
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +13 -4
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +14 -10
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +5 -7
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +6 -19
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +6 -10
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +20 -16
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +10 -4
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +9 -18
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +4 -12
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +10 -3
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +7 -4
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +20 -242
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +9 -41
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +18 -3
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +3 -10
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +17 -10
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +11 -30
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +3 -13
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +4 -4
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es242.js +21 -3
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +22 -7
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +6 -4
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +3 -21
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +5 -22
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es258.js +1 -1
- package/dist/index.es259.js +1 -1
- package/dist/index.es26.js +2 -2
- package/dist/index.es262.js +1 -1
- package/dist/index.es265.js +69 -2
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es267.js +15 -69
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +2 -15
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es32.js +2 -2
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +2 -2
- package/dist/index.es46.js +1 -1
- package/dist/index.es47.js +2 -2
- package/dist/index.es48.js +2 -2
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +3 -3
- package/dist/index.es58.js +1 -1
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +1 -1
- package/dist/index.es63.js +1 -1
- package/dist/index.es73.js +1992 -7
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +6 -2
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +2 -26
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +7 -588
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +2 -21352
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +26 -2
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +556 -1960
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +105 -5
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +10 -2
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +21350 -104
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +2 -10
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
- package/src/utils/Map.js +28 -18
- package/types/utils/Map.js.flow +28 -18
package/dist/index.es234.js
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import c from "./index.es216.js";
|
|
2
|
+
import { slice as m } from "./index.es37.js";
|
|
3
|
+
import p from "./index.es105.js";
|
|
4
|
+
function M(o, l, u) {
|
|
5
|
+
return function(t, f, e) {
|
|
6
|
+
var r = 0, n = c(t);
|
|
7
|
+
if (typeof e == "number")
|
|
8
|
+
o > 0 ? r = e >= 0 ? e : Math.max(e + n, r) : n = e >= 0 ? Math.min(e + 1, n) : e + n + 1;
|
|
9
|
+
else if (u && e && n)
|
|
10
|
+
return e = u(t, f), t[e] === f ? e : -1;
|
|
11
|
+
if (f !== f)
|
|
12
|
+
return e = l(m.call(t, r, n), p), e >= 0 ? e + r : -1;
|
|
13
|
+
for (e = o > 0 ? r : n - 1; e >= 0 && e < n; e += o)
|
|
14
|
+
if (t[e] === f) return e;
|
|
15
|
+
return -1;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
3
18
|
export {
|
|
4
|
-
|
|
19
|
+
M as default
|
|
5
20
|
};
|
|
6
21
|
//# sourceMappingURL=index.es234.js.map
|
package/dist/index.es234.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es234.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es234.js","sources":["../node_modules/underscore/modules/_createIndexFinder.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n"],"names":["createIndexFinder","dir","predicateFind","sortedIndex","array","item","idx","i","length","getLength","slice","isNaN"],"mappings":";;;AAKA,SAAwBA,EAAkBC,GAAKC,GAAeC,GAAa;AACzE,SAAO,SAASC,GAAOC,GAAMC,GAAK;AAChC,QAAIC,IAAI,GAAGC,IAASC,EAAUL,CAAK;AACnC,QAAI,OAAOE,KAAO;AAChB,MAAIL,IAAM,IACRM,IAAID,KAAO,IAAIA,IAAM,KAAK,IAAIA,IAAME,GAAQD,CAAC,IAE7CC,IAASF,KAAO,IAAI,KAAK,IAAIA,IAAM,GAAGE,CAAM,IAAIF,IAAME,IAAS;AAAA,aAExDL,KAAeG,KAAOE;AAC/B,aAAAF,IAAMH,EAAYC,GAAOC,CAAI,GACtBD,EAAME,CAAG,MAAMD,IAAOC,IAAM;AAErC,QAAID,MAASA;AACX,aAAAC,IAAMJ,EAAcQ,EAAM,KAAKN,GAAOG,GAAGC,CAAM,GAAGG,CAAK,GAChDL,KAAO,IAAIA,IAAMC,IAAI;AAE9B,SAAKD,IAAML,IAAM,IAAIM,IAAIC,IAAS,GAAGF,KAAO,KAAKA,IAAME,GAAQF,KAAOL;AACpE,UAAIG,EAAME,CAAG,MAAMD,EAAM,QAAOC;AAElC,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es235.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const { pluginUrl: n, lazy: a = !0 } = typeof t == "string" ? { pluginUrl: t } : t;
|
|
5
|
-
e.setRTLTextPlugin(n, (s) => {
|
|
6
|
-
s && console.error(s);
|
|
7
|
-
}, a);
|
|
8
|
-
}
|
|
9
|
-
l !== void 0 && e.setMaxParallelImageRequests(l), o !== void 0 && e.setWorkerCount(o), r !== void 0 && e.setWorkerUrl(r);
|
|
10
|
-
}
|
|
1
|
+
import e from "./index.es244.js";
|
|
2
|
+
import r from "./index.es216.js";
|
|
3
|
+
const i = e(r);
|
|
11
4
|
export {
|
|
12
5
|
i as default
|
|
13
6
|
};
|
package/dist/index.es235.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es235.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es235.js","sources":["../node_modules/underscore/modules/_isArrayLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n"],"names":["isArrayLike","createSizePropertyCheck","getLength"],"mappings":";;AAOA,MAAAA,IAAeC,EAAwBC,CAAS;","x_google_ignoreList":[0]}
|
package/dist/index.es236.js
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import p from "./index.es235.js";
|
|
2
|
+
import s from "./index.es111.js";
|
|
3
|
+
import g from "./index.es226.js";
|
|
4
|
+
function k(i) {
|
|
5
|
+
var l = function(r, a, n, f) {
|
|
6
|
+
var e = !p(r) && s(r), u = (e || r).length, t = i > 0 ? 0 : u - 1;
|
|
7
|
+
for (f || (n = r[e ? e[t] : t], t += i); t >= 0 && t < u; t += i) {
|
|
8
|
+
var c = e ? e[t] : t;
|
|
9
|
+
n = a(n, r[c], c, r);
|
|
10
|
+
}
|
|
11
|
+
return n;
|
|
12
|
+
};
|
|
13
|
+
return function(r, a, n, f) {
|
|
14
|
+
var e = arguments.length >= 3;
|
|
15
|
+
return l(r, g(a, f, 4), n, e);
|
|
16
|
+
};
|
|
10
17
|
}
|
|
11
18
|
export {
|
|
12
|
-
|
|
19
|
+
k as default
|
|
13
20
|
};
|
|
14
21
|
//# sourceMappingURL=index.es236.js.map
|
package/dist/index.es236.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es236.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es236.js","sources":["../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":";;;AAKA,SAAwBA,EAAaC,GAAK;AAGxC,MAAIC,IAAU,SAASC,GAAKC,GAAUC,GAAMC,GAAS;AACnD,QAAIC,IAAQ,CAACC,EAAYL,CAAG,KAAKM,EAAKN,CAAG,GACrCO,KAAUH,KAASJ,GAAK,QACxBQ,IAAQV,IAAM,IAAI,IAAIS,IAAS;AAKnC,SAJKJ,MACHD,IAAOF,EAAII,IAAQA,EAAMI,CAAK,IAAIA,CAAK,GACvCA,KAASV,IAEJU,KAAS,KAAKA,IAAQD,GAAQC,KAASV,GAAK;AACjD,UAAIW,IAAaL,IAAQA,EAAMI,CAAK,IAAIA;AACxC,MAAAN,IAAOD,EAASC,GAAMF,EAAIS,CAAU,GAAGA,GAAYT,CAAG;AAAA,IACxD;AACA,WAAOE;AAAA,EACT;AAEA,SAAO,SAASF,GAAKC,GAAUC,GAAMQ,GAAS;AAC5C,QAAIP,IAAU,UAAU,UAAU;AAClC,WAAOJ,EAAQC,GAAKW,EAAWV,GAAUS,GAAS,CAAC,GAAGR,GAAMC,CAAO;AAAA,EACrE;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es237.js
CHANGED
|
@@ -1,34 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (!Array.isArray(r) || e.length !== r.length)
|
|
12
|
-
return !1;
|
|
13
|
-
for (let t = 0; t < e.length; t++)
|
|
14
|
-
if (!y(e[t], r[t]))
|
|
15
|
-
return !1;
|
|
16
|
-
return !0;
|
|
17
|
-
} else if (Array.isArray(r))
|
|
18
|
-
return !1;
|
|
19
|
-
if (typeof e == "object" && typeof r == "object") {
|
|
20
|
-
const t = Object.keys(e), s = Object.keys(r);
|
|
21
|
-
if (t.length !== s.length)
|
|
22
|
-
return !1;
|
|
23
|
-
for (const n of t)
|
|
24
|
-
if (!r.hasOwnProperty(n) || !y(e[n], r[n]))
|
|
25
|
-
return !1;
|
|
26
|
-
return !0;
|
|
27
|
-
}
|
|
28
|
-
return !1;
|
|
1
|
+
import i from "./index.es225.js";
|
|
2
|
+
import a from "./index.es155.js";
|
|
3
|
+
function g(f, t) {
|
|
4
|
+
return function(n, r, c) {
|
|
5
|
+
var o = t ? [[], []] : {};
|
|
6
|
+
return r = i(r, c), a(n, function(u, m) {
|
|
7
|
+
var p = r(u, m, n);
|
|
8
|
+
f(o, u, p);
|
|
9
|
+
}), o;
|
|
10
|
+
};
|
|
29
11
|
}
|
|
30
12
|
export {
|
|
31
|
-
|
|
32
|
-
y as deepEqual
|
|
13
|
+
g as default
|
|
33
14
|
};
|
|
34
15
|
//# sourceMappingURL=index.es237.js.map
|
package/dist/index.es237.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es237.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es237.js","sources":["../node_modules/underscore/modules/_group.js"],"sourcesContent":["import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n return function(obj, iteratee, context) {\n var result = partition ? [[], []] : {};\n iteratee = cb(iteratee, context);\n each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n}\n"],"names":["group","behavior","partition","obj","iteratee","context","result","cb","each","value","index","key"],"mappings":";;AAIA,SAAwBA,EAAMC,GAAUC,GAAW;AACjD,SAAO,SAASC,GAAKC,GAAUC,GAAS;AACtC,QAAIC,IAASJ,IAAY,CAAC,CAAA,GAAI,CAAA,CAAE,IAAI,CAAA;AACpC,WAAAE,IAAWG,EAAGH,GAAUC,CAAO,GAC/BG,EAAKL,GAAK,SAASM,GAAOC,GAAO;AAC/B,UAAIC,IAAMP,EAASK,GAAOC,GAAOP,CAAG;AACpC,MAAAF,EAASK,GAAQG,GAAOE,CAAG;AAAA,IAC7B,CAAC,GACML;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es238.js
CHANGED
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
return null;
|
|
4
|
-
const f = r(t), i = r(o), n = [];
|
|
5
|
-
for (const s of i)
|
|
6
|
-
f.has(s) || n.push(s);
|
|
7
|
-
for (const s of f)
|
|
8
|
-
i.has(s) || n.push(s);
|
|
9
|
-
return n.length === 0 ? null : n;
|
|
10
|
-
}
|
|
11
|
-
function r(t) {
|
|
12
|
-
return new Set(t ? t.trim().split(/\s+/) : []);
|
|
1
|
+
function u(t, e, n) {
|
|
2
|
+
return e in n;
|
|
13
3
|
}
|
|
14
4
|
export {
|
|
15
|
-
|
|
5
|
+
u as default
|
|
16
6
|
};
|
|
17
7
|
//# sourceMappingURL=index.es238.js.map
|
package/dist/index.es238.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es238.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es238.js","sources":["../node_modules/underscore/modules/_keyInObj.js"],"sourcesContent":["// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n return key in obj;\n}\n"],"names":["keyInObj","value","key","obj"],"mappings":"AAEA,SAAwBA,EAASC,GAAOC,GAAKC,GAAK;AAChD,SAAOD,KAAOC;AAChB;","x_google_ignoreList":[0]}
|
package/dist/index.es239.js
CHANGED
package/dist/index.es239.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es239.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es239.js","sources":["../node_modules/underscore/modules/_chainResult.js"],"sourcesContent":["import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n}\n"],"names":["chainResult","instance","obj","_"],"mappings":";AAGA,SAAwBA,EAAYC,GAAUC,GAAK;AACjD,SAAOD,EAAS,SAASE,EAAED,CAAG,EAAE,UAAUA;AAC5C;","x_google_ignoreList":[0]}
|
package/dist/index.es24.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as r, useEffect as e } from "react";
|
|
2
|
-
import { applyReactStyle as i } from "./index.
|
|
2
|
+
import { applyReactStyle as i } from "./index.es209.js";
|
|
3
3
|
import { useControl as l } from "./index.es30.js";
|
|
4
4
|
function m(t) {
|
|
5
5
|
const o = l(({ mapLib: n }) => new n.TerrainControl(t), {
|
package/dist/index.es242.js
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { deepEqual as a } from "./index.es210.js";
|
|
2
|
+
function g(i) {
|
|
3
|
+
return {
|
|
4
|
+
longitude: i.center.lng,
|
|
5
|
+
latitude: i.center.lat,
|
|
6
|
+
zoom: i.zoom,
|
|
7
|
+
pitch: i.pitch,
|
|
8
|
+
bearing: i.bearing,
|
|
9
|
+
padding: i.padding
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
function c(i, t) {
|
|
13
|
+
const n = t.viewState || t, e = {};
|
|
14
|
+
if ("longitude" in n && "latitude" in n && (n.longitude !== i.center.lng || n.latitude !== i.center.lat)) {
|
|
15
|
+
const o = i.center.constructor;
|
|
16
|
+
e.center = new o(n.longitude, n.latitude);
|
|
17
|
+
}
|
|
18
|
+
return "zoom" in n && n.zoom !== i.zoom && (e.zoom = n.zoom), "bearing" in n && n.bearing !== i.bearing && (e.bearing = n.bearing), "pitch" in n && n.pitch !== i.pitch && (e.pitch = n.pitch), n.padding && i.padding && !a(n.padding, i.padding) && (e.padding = n.padding), e;
|
|
19
|
+
}
|
|
3
20
|
export {
|
|
4
|
-
|
|
21
|
+
c as applyViewStateToTransform,
|
|
22
|
+
g as transformToViewState
|
|
5
23
|
};
|
|
6
24
|
//# sourceMappingURL=index.es242.js.map
|
package/dist/index.es242.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es242.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es242.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/transform.js"],"sourcesContent":["import { deepEqual } from \"./deep-equal.js\";\n/**\n * Capture a transform's current state\n * @param transform\n * @returns descriptor of the view state\n */\nexport function transformToViewState(tr) {\n return {\n longitude: tr.center.lng,\n latitude: tr.center.lat,\n zoom: tr.zoom,\n pitch: tr.pitch,\n bearing: tr.bearing,\n padding: tr.padding\n };\n}\n/* eslint-disable complexity */\n/**\n * Applies requested view state to a transform\n * @returns an object containing detected changes\n */\nexport function applyViewStateToTransform(\n/** An object that describes Maplibre's camera state */\ntr, \n/** Props from Map component */\nprops) {\n const v = props.viewState || props;\n const changes = {};\n if ('longitude' in v &&\n 'latitude' in v &&\n (v.longitude !== tr.center.lng || v.latitude !== tr.center.lat)) {\n const LngLat = tr.center.constructor;\n // @ts-expect-error we should not import LngLat class from maplibre-gl because we don't know the source of mapLib\n changes.center = new LngLat(v.longitude, v.latitude);\n }\n if ('zoom' in v && v.zoom !== tr.zoom) {\n changes.zoom = v.zoom;\n }\n if ('bearing' in v && v.bearing !== tr.bearing) {\n changes.bearing = v.bearing;\n }\n if ('pitch' in v && v.pitch !== tr.pitch) {\n changes.pitch = v.pitch;\n }\n if (v.padding && tr.padding && !deepEqual(v.padding, tr.padding)) {\n changes.padding = v.padding;\n }\n return changes;\n}\n//# sourceMappingURL=transform.js.map"],"names":["transformToViewState","tr","applyViewStateToTransform","props","v","changes","LngLat","deepEqual"],"mappings":";AAMO,SAASA,EAAqBC,GAAI;AACrC,SAAO;AAAA,IACH,WAAWA,EAAG,OAAO;AAAA,IACrB,UAAUA,EAAG,OAAO;AAAA,IACpB,MAAMA,EAAG;AAAA,IACT,OAAOA,EAAG;AAAA,IACV,SAASA,EAAG;AAAA,IACZ,SAASA,EAAG;AAAA,EAAA;AAEpB;AAMO,SAASC,EAEhBD,GAEAE,GAAO;AACH,QAAMC,IAAID,EAAM,aAAaA,GACvBE,IAAU,CAAA;AAChB,MAAI,eAAeD,KACf,cAAcA,MACbA,EAAE,cAAcH,EAAG,OAAO,OAAOG,EAAE,aAAaH,EAAG,OAAO,MAAM;AACjE,UAAMK,IAASL,EAAG,OAAO;AAEzB,IAAAI,EAAQ,SAAS,IAAIC,EAAOF,EAAE,WAAWA,EAAE,QAAQ;AAAA,EACvD;AACA,SAAI,UAAUA,KAAKA,EAAE,SAASH,EAAG,SAC7BI,EAAQ,OAAOD,EAAE,OAEjB,aAAaA,KAAKA,EAAE,YAAYH,EAAG,YACnCI,EAAQ,UAAUD,EAAE,UAEpB,WAAWA,KAAKA,EAAE,UAAUH,EAAG,UAC/BI,EAAQ,QAAQD,EAAE,QAElBA,EAAE,WAAWH,EAAG,WAAW,CAACM,EAAUH,EAAE,SAASH,EAAG,OAAO,MAC3DI,EAAQ,UAAUD,EAAE,UAEjBC;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es243.js
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const a = ["type", "source", "source-layer", "minzoom", "maxzoom", "filter", "layout"];
|
|
2
|
+
function c(r) {
|
|
3
|
+
if (!r)
|
|
4
|
+
return null;
|
|
5
|
+
if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
|
|
6
|
+
return r;
|
|
7
|
+
const t = {};
|
|
8
|
+
for (const e of r.layers)
|
|
9
|
+
t[e.id] = e;
|
|
10
|
+
const f = r.layers.map((e) => {
|
|
11
|
+
let n = null;
|
|
12
|
+
"interactive" in e && (n = Object.assign({}, e), delete n.interactive);
|
|
13
|
+
const o = t[e.ref];
|
|
14
|
+
if (o) {
|
|
15
|
+
n = n || Object.assign({}, e), delete n.ref;
|
|
16
|
+
for (const i of a)
|
|
17
|
+
i in o && (n[i] = o[i]);
|
|
18
|
+
}
|
|
19
|
+
return n || e;
|
|
20
|
+
});
|
|
21
|
+
return { ...r, layers: f };
|
|
7
22
|
}
|
|
8
23
|
export {
|
|
9
|
-
|
|
24
|
+
c as normalizeStyle
|
|
10
25
|
};
|
|
11
26
|
//# sourceMappingURL=index.es243.js.map
|
package/dist/index.es243.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es243.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es243.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/style-utils.js"],"sourcesContent":["const refProps = ['type', 'source', 'source-layer', 'minzoom', 'maxzoom', 'filter', 'layout'];\n// Prepare a map style object for diffing\n// If immutable - convert to plain object\n// Work around some issues in older styles that would fail Mapbox's diffing\nexport function normalizeStyle(style) {\n if (!style) {\n return null;\n }\n if (typeof style === 'string') {\n return style;\n }\n if ('toJS' in style) {\n style = style.toJS();\n }\n if (!style.layers) {\n return style;\n }\n const layerIndex = {};\n for (const layer of style.layers) {\n layerIndex[layer.id] = layer;\n }\n const layers = style.layers.map(layer => {\n let normalizedLayer = null;\n if ('interactive' in layer) {\n normalizedLayer = Object.assign({}, layer);\n // Breaks style diffing :(\n // @ts-ignore legacy field not typed\n delete normalizedLayer.interactive;\n }\n // Style diffing doesn't work with refs so expand them out manually before diffing.\n // @ts-ignore legacy field not typed\n const layerRef = layerIndex[layer.ref];\n if (layerRef) {\n normalizedLayer = normalizedLayer || Object.assign({}, layer);\n // @ts-ignore\n delete normalizedLayer.ref;\n // https://github.com/mapbox/mapbox-gl-js/blob/master/src/style-spec/deref.js\n for (const propName of refProps) {\n if (propName in layerRef) {\n normalizedLayer[propName] = layerRef[propName];\n }\n }\n }\n return normalizedLayer || layer;\n });\n // Do not mutate the style object provided by the user\n return { ...style, layers };\n}\n//# sourceMappingURL=style-utils.js.map"],"names":["refProps","normalizeStyle","style","layerIndex","layer","layers","normalizedLayer","layerRef","propName"],"mappings":"AAAA,MAAMA,IAAW,CAAC,QAAQ,UAAU,gBAAgB,WAAW,WAAW,UAAU,QAAQ;AAIrF,SAASC,EAAeC,GAAO;AAClC,MAAI,CAACA;AACD,WAAO;AAQX,MANI,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,KAAA,IAEd,CAACA,EAAM;AACP,WAAOA;AAEX,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAASF,EAAM;AACtB,IAAAC,EAAWC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAAAE,MAAS;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAGzC,OAAOE,EAAgB;AAI3B,UAAMC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,CAAA,GAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACZD,EAAgBE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAC9B,CAAC;AAED,SAAO,EAAE,GAAGF,GAAO,QAAAG,EAAA;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es244.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { MAX_ARRAY_INDEX as o } from "./index.es37.js";
|
|
2
|
+
function u(e) {
|
|
3
|
+
return function(t) {
|
|
4
|
+
var r = e(t);
|
|
5
|
+
return typeof r == "number" && r >= 0 && r <= o;
|
|
4
6
|
};
|
|
5
7
|
}
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
u as default
|
|
8
10
|
};
|
|
9
11
|
//# sourceMappingURL=index.es244.js.map
|
package/dist/index.es244.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es244.js","sources":["../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es244.js","sources":["../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":";AAGA,SAAwBA,EAAwBC,GAAiB;AAC/D,SAAO,SAASC,GAAY;AAC1B,QAAIC,IAAeF,EAAgBC,CAAU;AAC7C,WAAO,OAAOC,KAAgB,YAAYA,KAAgB,KAAKA,KAAgBC;AAAA,EACjF;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es245.js
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
return {
|
|
4
|
-
longitude: i.center.lng,
|
|
5
|
-
latitude: i.center.lat,
|
|
6
|
-
zoom: i.zoom,
|
|
7
|
-
pitch: i.pitch,
|
|
8
|
-
bearing: i.bearing,
|
|
9
|
-
padding: i.padding
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
function c(i, t) {
|
|
13
|
-
const n = t.viewState || t, e = {};
|
|
14
|
-
if ("longitude" in n && "latitude" in n && (n.longitude !== i.center.lng || n.latitude !== i.center.lat)) {
|
|
15
|
-
const o = i.center.constructor;
|
|
16
|
-
e.center = new o(n.longitude, n.latitude);
|
|
17
|
-
}
|
|
18
|
-
return "zoom" in n && n.zoom !== i.zoom && (e.zoom = n.zoom), "bearing" in n && n.bearing !== i.bearing && (e.bearing = n.bearing), "pitch" in n && n.pitch !== i.pitch && (e.pitch = n.pitch), n.padding && i.padding && !a(n.padding, i.padding) && (e.padding = n.padding), e;
|
|
19
|
-
}
|
|
1
|
+
import t from "./index.es213.js";
|
|
2
|
+
const a = t("Object");
|
|
20
3
|
export {
|
|
21
|
-
|
|
22
|
-
g as transformToViewState
|
|
4
|
+
a as default
|
|
23
5
|
};
|
|
24
6
|
//# sourceMappingURL=index.es245.js.map
|
package/dist/index.es245.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es245.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es245.js","sources":["../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["hasObjectTag","tagTester"],"mappings":";AAEA,MAAAA,IAAeC,EAAU,QAAQ;","x_google_ignoreList":[0]}
|
package/dist/index.es246.js
CHANGED
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
if (typeof r == "string" || ("toJS" in r && (r = r.toJS()), !r.layers))
|
|
6
|
-
return r;
|
|
7
|
-
const t = {};
|
|
8
|
-
for (const e of r.layers)
|
|
9
|
-
t[e.id] = e;
|
|
10
|
-
const f = r.layers.map((e) => {
|
|
11
|
-
let n = null;
|
|
12
|
-
"interactive" in e && (n = Object.assign({}, e), delete n.interactive);
|
|
13
|
-
const o = t[e.ref];
|
|
14
|
-
if (o) {
|
|
15
|
-
n = n || Object.assign({}, e), delete n.ref;
|
|
16
|
-
for (const i of a)
|
|
17
|
-
i in o && (n[i] = o[i]);
|
|
18
|
-
}
|
|
19
|
-
return n || e;
|
|
20
|
-
});
|
|
21
|
-
return { ...r, layers: f };
|
|
1
|
+
function t(r) {
|
|
2
|
+
return function(n) {
|
|
3
|
+
return n?.[r];
|
|
4
|
+
};
|
|
22
5
|
}
|
|
23
6
|
export {
|
|
24
|
-
|
|
7
|
+
t as default
|
|
25
8
|
};
|
|
26
9
|
//# sourceMappingURL=index.es246.js.map
|
package/dist/index.es246.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es246.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es246.js","sources":["../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"AACA,SAAwBA,EAAgBC,GAAK;AAC3C,SAAO,SAASC,GAAK;AACnB,WAA8BA,IAAID,CAAG;AAAA,EACvC;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es25.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as e, useEffect as l } from "react";
|
|
2
|
-
import { applyReactStyle as r } from "./index.
|
|
2
|
+
import { applyReactStyle as r } from "./index.es209.js";
|
|
3
3
|
import { useControl as i } from "./index.es30.js";
|
|
4
4
|
function m(o) {
|
|
5
5
|
const t = i(({ mapLib: n }) => new n.LogoControl(o), { position: o.position });
|
package/dist/index.es252.js
CHANGED
package/dist/index.es258.js
CHANGED
package/dist/index.es259.js
CHANGED
|
@@ -2,7 +2,7 @@ import { cartesian as Q, cartesianCross as T, cartesianDot as R, cartesianScale
|
|
|
2
2
|
import { circleStream as $ } from "./index.es248.js";
|
|
3
3
|
import { pi as v, cos as F, epsilon as x, abs as G, sqrt as b } from "./index.es250.js";
|
|
4
4
|
import J from "./index.es266.js";
|
|
5
|
-
import m from "./index.
|
|
5
|
+
import m from "./index.es265.js";
|
|
6
6
|
function fn(S, V) {
|
|
7
7
|
var A = F(S), C = A > 0, W = G(A) > x;
|
|
8
8
|
function X(n, i, o, e) {
|
package/dist/index.es26.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as d from "react";
|
|
2
2
|
import { useContext as s, useRef as f, useState as y, useMemo as m, useEffect as g, cloneElement as S } from "react";
|
|
3
3
|
import { MapContext as h } from "./index.es16.js";
|
|
4
|
-
import u from "./index.
|
|
5
|
-
import { deepEqual as C } from "./index.
|
|
4
|
+
import u from "./index.es212.js";
|
|
5
|
+
import { deepEqual as C } from "./index.es210.js";
|
|
6
6
|
let b = 0;
|
|
7
7
|
function k(t, e, a) {
|
|
8
8
|
if (t.style && t.style._loaded) {
|
package/dist/index.es262.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import c from "./index.es264.js";
|
|
2
|
-
import n from "./index.
|
|
2
|
+
import n from "./index.es267.js";
|
|
3
3
|
function S(l, a, r) {
|
|
4
4
|
var f = a[1][0] - a[0][0], m = a[1][1] - a[0][1], i = l.clipExtent && l.clipExtent();
|
|
5
5
|
l.scale(150).translate([0, 0]), i != null && l.clipExtent(null), c(r, l.stream(n));
|
package/dist/index.es265.js
CHANGED
|
@@ -1,6 +1,73 @@
|
|
|
1
|
-
|
|
1
|
+
import A from "./index.es252.js";
|
|
2
|
+
import D from "./index.es254.js";
|
|
3
|
+
import { halfPi as S, epsilon as R } from "./index.es250.js";
|
|
4
|
+
import F from "./index.es196.js";
|
|
5
|
+
import "./index.es195.js";
|
|
6
|
+
import G from "./index.es255.js";
|
|
7
|
+
function T(e, p, m, v) {
|
|
8
|
+
return function(g, n) {
|
|
9
|
+
var d = p(n), j = g.invert(v[0], v[1]), h = A(), c = p(h), l = !1, a, f, u, r = {
|
|
10
|
+
point: y,
|
|
11
|
+
lineStart: x,
|
|
12
|
+
lineEnd: s,
|
|
13
|
+
polygonStart: function() {
|
|
14
|
+
r.point = B, r.lineStart = w, r.lineEnd = z, f = [], a = [];
|
|
15
|
+
},
|
|
16
|
+
polygonEnd: function() {
|
|
17
|
+
r.point = y, r.lineStart = x, r.lineEnd = s, f = G(f);
|
|
18
|
+
var o = F(a, j);
|
|
19
|
+
f.length ? (l || (n.polygonStart(), l = !0), D(f, J, o, m, n)) : o && (l || (n.polygonStart(), l = !0), n.lineStart(), m(null, null, 1, n), n.lineEnd()), l && (n.polygonEnd(), l = !1), f = a = null;
|
|
20
|
+
},
|
|
21
|
+
sphere: function() {
|
|
22
|
+
n.polygonStart(), n.lineStart(), m(null, null, 1, n), n.lineEnd(), n.polygonEnd();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
function y(o, t) {
|
|
26
|
+
var i = g(o, t);
|
|
27
|
+
e(o = i[0], t = i[1]) && n.point(o, t);
|
|
28
|
+
}
|
|
29
|
+
function q(o, t) {
|
|
30
|
+
var i = g(o, t);
|
|
31
|
+
d.point(i[0], i[1]);
|
|
32
|
+
}
|
|
33
|
+
function x() {
|
|
34
|
+
r.point = q, d.lineStart();
|
|
35
|
+
}
|
|
36
|
+
function s() {
|
|
37
|
+
r.point = y, d.lineEnd();
|
|
38
|
+
}
|
|
39
|
+
function B(o, t) {
|
|
40
|
+
u.push([o, t]);
|
|
41
|
+
var i = g(o, t);
|
|
42
|
+
c.point(i[0], i[1]);
|
|
43
|
+
}
|
|
44
|
+
function w() {
|
|
45
|
+
c.lineStart(), u = [];
|
|
46
|
+
}
|
|
47
|
+
function z() {
|
|
48
|
+
B(u[0][0], u[0][1]), c.lineEnd();
|
|
49
|
+
var o = c.clean(), t = h.result(), i, I = t.length, P, E, C;
|
|
50
|
+
if (u.pop(), a.push(u), u = null, !!I) {
|
|
51
|
+
if (o & 1) {
|
|
52
|
+
if (E = t[0], (P = E.length - 1) > 0) {
|
|
53
|
+
for (l || (n.polygonStart(), l = !0), n.lineStart(), i = 0; i < P; ++i) n.point((C = E[i])[0], C[1]);
|
|
54
|
+
n.lineEnd();
|
|
55
|
+
}
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
I > 1 && o & 2 && t.push(t.pop().concat(t.shift())), f.push(t.filter(H));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return r;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function H(e) {
|
|
65
|
+
return e.length > 1;
|
|
66
|
+
}
|
|
67
|
+
function J(e, p) {
|
|
68
|
+
return ((e = e.x)[0] < 0 ? e[1] - S - R : S - e[1]) - ((p = p.x)[0] < 0 ? p[1] - S - R : S - p[1]);
|
|
2
69
|
}
|
|
3
70
|
export {
|
|
4
|
-
|
|
71
|
+
T as default
|
|
5
72
|
};
|
|
6
73
|
//# sourceMappingURL=index.es265.js.map
|
package/dist/index.es265.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es265.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es265.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"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","x_google_ignoreList":[0]}
|