@performant-software/geospatial 3.1.0-beta.0 → 3.1.0-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.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.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.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.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.cjs154.js +1 -1
- package/dist/index.cjs155.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.cjs161.js +1 -1
- package/dist/index.cjs162.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.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.cjs177.js +1 -1
- package/dist/index.cjs178.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.cjs19.js +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.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.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.cjs244.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs33.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs38.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs44.js +1 -1
- package/dist/index.cjs45.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.cjs52.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +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.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es101.js +3 -3
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +2 -2
- package/dist/index.es104.js +1 -1
- package/dist/index.es109.js +1 -1
- package/dist/index.es110.js +1 -1
- package/dist/index.es111.js +1 -1
- package/dist/index.es112.js +1 -1
- package/dist/index.es115.js +2 -2
- package/dist/index.es116.js +2 -2
- package/dist/index.es117.js +1 -1
- package/dist/index.es121.js +2 -2
- package/dist/index.es124.js +1 -1
- package/dist/index.es128.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es140.js +1 -1
- package/dist/index.es141.js +1 -1
- package/dist/index.es142.js +2 -2
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +2 -2
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +5 -5
- package/dist/index.es150.js +1 -1
- package/dist/index.es151.js +1 -1
- package/dist/index.es152.js +1 -1
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +2 -2
- package/dist/index.es155.js +1 -1
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +1 -1
- package/dist/index.es161.js +2 -2
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +1 -1
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +1 -1
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es174.js +1 -1
- package/dist/index.es175.js +2 -2
- package/dist/index.es176.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es178.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es184.js +2 -2
- package/dist/index.es19.js +2 -2
- package/dist/index.es207.js +44 -6
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +22 -4
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +8 -4
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +2 -2
- package/dist/index.es210.js +5 -3
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +4 -3
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +3 -9
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +3 -22
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +8 -21
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +19 -11
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +19 -14
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +13 -5
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +16 -8
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +5 -6
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +2 -2
- package/dist/index.es220.js +7 -20
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +5 -8
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +22 -9
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +10 -4
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +9 -11
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +4 -9
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +9 -21
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +8 -11
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +22 -18
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +12 -4
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +17 -16
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +4 -12
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +17 -3
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +11 -4
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +3 -45
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +4 -22
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +1 -1
- package/dist/index.es237.js +6 -4
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +4 -6
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es244.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es25.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es254.js +1 -1
- package/dist/index.es257.js +15 -2
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +2 -4
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +4 -15
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es27.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es30.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es33.js +1 -1
- package/dist/index.es34.js +2 -2
- package/dist/index.es35.js +2 -2
- package/dist/index.es37.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es43.js +2 -2
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es52.js +5 -5
- package/dist/index.es63.js +106 -5
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +10 -2
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +6 -2
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +2 -55
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +4 -48
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +55 -37
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +47 -11
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +38 -14
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +11 -29
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +10 -10
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +29 -13
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +12 -10
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +14 -109
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +11 -10
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +1 -1
- package/dist/index.es89.js +1 -1
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es165.js
CHANGED
package/dist/index.es166.js
CHANGED
package/dist/index.es167.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import f from "./index.es95.js";
|
|
2
2
|
import { slice as t } from "./index.es24.js";
|
|
3
3
|
import i from "./index.es87.js";
|
|
4
|
-
import m from "./index.
|
|
4
|
+
import m from "./index.es231.js";
|
|
5
5
|
import u from "./index.es148.js";
|
|
6
6
|
import e from "./index.es118.js";
|
|
7
7
|
import o from "./index.es105.js";
|
package/dist/index.es168.js
CHANGED
package/dist/index.es174.js
CHANGED
package/dist/index.es175.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import b from "./index.es85.js";
|
|
2
|
-
import q from "./index.
|
|
3
|
-
import B from "./index.
|
|
2
|
+
import q from "./index.es221.js";
|
|
3
|
+
import B from "./index.es212.js";
|
|
4
4
|
import r from "./index.es155.js";
|
|
5
5
|
function w(l, p, f, g) {
|
|
6
6
|
b(p) || (g = f, f = p, p = !1), f != null && (f = q(f, g));
|
package/dist/index.es176.js
CHANGED
package/dist/index.es177.js
CHANGED
package/dist/index.es178.js
CHANGED
package/dist/index.es182.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext as m, useRef as L, useState as g, useMemo as x, useEffect as h } from "react";
|
|
2
|
-
import { MapContext as b } from "./index.
|
|
2
|
+
import { MapContext as b } from "./index.es68.js";
|
|
3
3
|
import d from "./index.es190.js";
|
|
4
4
|
import { deepEqual as l } from "./index.es189.js";
|
|
5
5
|
function k(t, e, a, o) {
|
package/dist/index.es183.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
2
|
import { useContext as f, useRef as y, useState as m, useMemo as g, useEffect as S, cloneElement as h } from "react";
|
|
3
|
-
import { MapContext as C } from "./index.
|
|
3
|
+
import { MapContext as C } from "./index.es68.js";
|
|
4
4
|
import s from "./index.es190.js";
|
|
5
5
|
import { deepEqual as v } from "./index.es189.js";
|
|
6
6
|
let x = 0;
|
package/dist/index.es184.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.
|
|
2
|
-
import { normalizeStyle as v } from "./index.
|
|
1
|
+
import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es207.js";
|
|
2
|
+
import { normalizeStyle as v } from "./index.es208.js";
|
|
3
3
|
import { deepEqual as h } from "./index.es189.js";
|
|
4
4
|
const g = { version: 8, sources: {}, layers: [] }, y = {
|
|
5
5
|
mousedown: "onMouseDown",
|
package/dist/index.es19.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { commonjsGlobal as nd, getDefaultExportFromCjs as od } from "./index.
|
|
2
|
-
import { __module as lu } from "./index.
|
|
1
|
+
import { commonjsGlobal as nd, getDefaultExportFromCjs as od } from "./index.es65.js";
|
|
2
|
+
import { __module as lu } from "./index.es66.js";
|
|
3
3
|
function ld(an, vl) {
|
|
4
4
|
for (var Ur = 0; Ur < vl.length; Ur++) {
|
|
5
5
|
const cr = vl[Ur];
|
package/dist/index.es207.js
CHANGED
|
@@ -1,11 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return
|
|
5
|
-
|
|
1
|
+
import { deepEqual as c } from "./index.es189.js";
|
|
2
|
+
function g(n) {
|
|
3
|
+
const o = n.clone();
|
|
4
|
+
return o.pixelsToGLUnits = n.pixelsToGLUnits, o;
|
|
5
|
+
}
|
|
6
|
+
function r(n, o) {
|
|
7
|
+
if (!n.getProjection)
|
|
8
|
+
return;
|
|
9
|
+
const i = n.getProjection(), e = o.getProjection();
|
|
10
|
+
c(i, e) || o.setProjection(i);
|
|
11
|
+
}
|
|
12
|
+
function d(n) {
|
|
13
|
+
return {
|
|
14
|
+
longitude: n.center.lng,
|
|
15
|
+
latitude: n.center.lat,
|
|
16
|
+
zoom: n.zoom,
|
|
17
|
+
pitch: n.pitch,
|
|
18
|
+
bearing: n.bearing,
|
|
19
|
+
padding: n.padding
|
|
6
20
|
};
|
|
7
21
|
}
|
|
22
|
+
function s(n, o) {
|
|
23
|
+
const i = o.viewState || o;
|
|
24
|
+
let e = !1;
|
|
25
|
+
if ("longitude" in i && "latitude" in i) {
|
|
26
|
+
const t = n.center;
|
|
27
|
+
n.center = new t.constructor(i.longitude, i.latitude), e = e || t !== n.center;
|
|
28
|
+
}
|
|
29
|
+
if ("zoom" in i) {
|
|
30
|
+
const t = n.zoom;
|
|
31
|
+
n.zoom = i.zoom, e = e || t !== n.zoom;
|
|
32
|
+
}
|
|
33
|
+
if ("bearing" in i) {
|
|
34
|
+
const t = n.bearing;
|
|
35
|
+
n.bearing = i.bearing, e = e || t !== n.bearing;
|
|
36
|
+
}
|
|
37
|
+
if ("pitch" in i) {
|
|
38
|
+
const t = n.pitch;
|
|
39
|
+
n.pitch = i.pitch, e = e || t !== n.pitch;
|
|
40
|
+
}
|
|
41
|
+
return i.padding && !n.isPaddingEqual(i.padding) && (e = !0, n.padding = i.padding), e;
|
|
42
|
+
}
|
|
8
43
|
export {
|
|
9
|
-
|
|
44
|
+
s as applyViewStateToTransform,
|
|
45
|
+
g as cloneTransform,
|
|
46
|
+
r as syncProjection,
|
|
47
|
+
d as transformToViewState
|
|
10
48
|
};
|
|
11
49
|
//# sourceMappingURL=index.es207.js.map
|
package/dist/index.es207.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es207.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es207.js","sources":["../../../node_modules/react-map-gl/dist/esm/utils/transform.js"],"sourcesContent":["import { deepEqual } from './deep-equal';\n/**\n * Make a copy of a transform\n * @param tr\n */\nexport function cloneTransform(tr) {\n const newTransform = tr.clone();\n // Work around mapbox bug - this value is not assigned in clone(), only in resize()\n newTransform.pixelsToGLUnits = tr.pixelsToGLUnits;\n return newTransform;\n}\n/**\n * Copy projection from one transform to another. This only applies to mapbox-gl transforms\n * @param src the transform to copy projection settings from\n * @param dest to transform to copy projection settings to\n */\nexport function syncProjection(src, dest) {\n if (!src.getProjection) {\n return;\n }\n const srcProjection = src.getProjection();\n const destProjection = dest.getProjection();\n if (!deepEqual(srcProjection, destProjection)) {\n dest.setProjection(srcProjection);\n }\n}\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 * Mutate a transform to match the given view state\n * @param transform\n * @param viewState\n * @returns true if the transform has changed\n */\nexport function applyViewStateToTransform(tr, props) {\n const v = props.viewState || props;\n let changed = false;\n if ('longitude' in v && 'latitude' in v) {\n const center = tr.center;\n // @ts-ignore\n tr.center = new center.constructor(v.longitude, v.latitude);\n changed = changed || center !== tr.center;\n }\n if ('zoom' in v) {\n const zoom = tr.zoom;\n tr.zoom = v.zoom;\n changed = changed || zoom !== tr.zoom;\n }\n if ('bearing' in v) {\n const bearing = tr.bearing;\n tr.bearing = v.bearing;\n changed = changed || bearing !== tr.bearing;\n }\n if ('pitch' in v) {\n const pitch = tr.pitch;\n tr.pitch = v.pitch;\n changed = changed || pitch !== tr.pitch;\n }\n if (v.padding && !tr.isPaddingEqual(v.padding)) {\n changed = true;\n tr.padding = v.padding;\n }\n return changed;\n}\n//# sourceMappingURL=transform.js.map"],"names":["cloneTransform","tr","newTransform","syncProjection","src","dest","srcProjection","destProjection","deepEqual","transformToViewState","applyViewStateToTransform","props","v","changed","center","zoom","bearing","pitch"],"mappings":";AAKO,SAASA,EAAeC,GAAI;AACzB,QAAAC,IAAeD,EAAG;AAExB,SAAAC,EAAa,kBAAkBD,EAAG,iBAC3BC;AACX;AAMgB,SAAAC,EAAeC,GAAKC,GAAM;AAClC,MAAA,CAACD,EAAI;AACL;AAEE,QAAAE,IAAgBF,EAAI,iBACpBG,IAAiBF,EAAK;AAC5B,EAAKG,EAAUF,GAAeC,CAAc,KACxCF,EAAK,cAAcC,CAAa;AAExC;AAMO,SAASG,EAAqBR,GAAI;AAC9B,SAAA;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;AAQgB,SAAAS,EAA0BT,GAAIU,GAAO;AAC3C,QAAAC,IAAID,EAAM,aAAaA;AAC7B,MAAIE,IAAU;AACV,MAAA,eAAeD,KAAK,cAAcA,GAAG;AACrC,UAAME,IAASb,EAAG;AAElB,IAAAA,EAAG,SAAS,IAAIa,EAAO,YAAYF,EAAE,WAAWA,EAAE,QAAQ,GAChDC,IAAAA,KAAWC,MAAWb,EAAG;AAAA,EACvC;AACA,MAAI,UAAUW,GAAG;AACb,UAAMG,IAAOd,EAAG;AAChB,IAAAA,EAAG,OAAOW,EAAE,MACFC,IAAAA,KAAWE,MAASd,EAAG;AAAA,EACrC;AACA,MAAI,aAAaW,GAAG;AAChB,UAAMI,IAAUf,EAAG;AACnB,IAAAA,EAAG,UAAUW,EAAE,SACLC,IAAAA,KAAWG,MAAYf,EAAG;AAAA,EACxC;AACA,MAAI,WAAWW,GAAG;AACd,UAAMK,IAAQhB,EAAG;AACjB,IAAAA,EAAG,QAAQW,EAAE,OACHC,IAAAA,KAAWI,MAAUhB,EAAG;AAAA,EACtC;AACA,SAAIW,EAAE,WAAW,CAACX,EAAG,eAAeW,EAAE,OAAO,MAC/BC,IAAA,IACVZ,EAAG,UAAUW,EAAE,UAEZC;AACX;","x_google_ignoreList":[0]}
|
package/dist/index.es208.js
CHANGED
|
@@ -1,8 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
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 };
|
|
4
22
|
}
|
|
5
23
|
export {
|
|
6
|
-
|
|
24
|
+
c as normalizeStyle
|
|
7
25
|
};
|
|
8
26
|
//# sourceMappingURL=index.es208.js.map
|
package/dist/index.es208.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es208.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es208.js","sources":["../../../node_modules/react-map-gl/dist/esm/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;AACM,WAAA;AAQP,MANA,OAAOA,KAAU,aAGjB,UAAUA,MACVA,IAAQA,EAAM,SAEd,CAACA,EAAM;AACA,WAAAA;AAEX,QAAMC,IAAa,CAAA;AACR,aAAAC,KAASF,EAAM;AACX,IAAAC,EAAAC,EAAM,EAAE,IAAIA;AAE3B,QAAMC,IAASH,EAAM,OAAO,IAAI,CAASE,MAAA;AACrC,QAAIE,IAAkB;AACtB,IAAI,iBAAiBF,MACjBE,IAAkB,OAAO,OAAO,CAAC,GAAGF,CAAK,GAGzC,OAAOE,EAAgB;AAIrB,UAAAC,IAAWJ,EAAWC,EAAM,GAAG;AACrC,QAAIG,GAAU;AACV,MAAAD,IAAkBA,KAAmB,OAAO,OAAO,IAAIF,CAAK,GAE5D,OAAOE,EAAgB;AAEvB,iBAAWE,KAAYR;AACnB,QAAIQ,KAAYD,MACID,EAAAE,CAAQ,IAAID,EAASC,CAAQ;AAAA,IAGzD;AACA,WAAOF,KAAmBF;AAAA,EAAA,CAC7B;AAEM,SAAA,EAAE,GAAGF,GAAO,QAAAG;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es209.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { toString as n } from "./index.es24.js";
|
|
2
|
+
function a(t) {
|
|
3
|
+
var r = "[object " + t + "]";
|
|
4
|
+
return function(e) {
|
|
5
|
+
return n.call(e) === r;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
4
8
|
export {
|
|
5
|
-
|
|
9
|
+
a as default
|
|
6
10
|
};
|
|
7
11
|
//# sourceMappingURL=index.es209.js.map
|
package/dist/index.es209.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es209.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es209.js","sources":["../../../node_modules/underscore/modules/_tagTester.js"],"sourcesContent":["import { toString } from './_setup.js';\n\n// Internal function for creating a `toString`-based type tester.\nexport default function tagTester(name) {\n var tag = '[object ' + name + ']';\n return function(obj) {\n return toString.call(obj) === tag;\n };\n}\n"],"names":["tagTester","name","tag","obj","toString"],"mappings":";AAGA,SAAwBA,EAAUC,GAAM;AAClC,MAAAC,IAAM,aAAaD,IAAO;AAC9B,SAAO,SAASE,GAAK;AACZ,WAAAC,EAAS,KAAKD,CAAG,MAAMD;AAAA,EAAA;AAElC;","x_google_ignoreList":[0]}
|
package/dist/index.es21.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenIcon as a } from "./index.
|
|
2
|
-
import "./index.
|
|
1
|
+
import { GenIcon as a } from "./index.es63.js";
|
|
2
|
+
import "./index.es64.js";
|
|
3
3
|
function c(t) {
|
|
4
4
|
return a({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "m14.12 10.163 1.715.858c.22.11.22.424 0 .534L8.267 15.34a.598.598 0 0 1-.534 0L.165 11.555a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.66zM7.733.063a.598.598 0 0 1 .534 0l7.568 3.784a.3.3 0 0 1 0 .535L8.267 8.165a.598.598 0 0 1-.534 0L.165 4.382a.299.299 0 0 1 0-.535L7.733.063z" }, child: [] }, { tag: "path", attr: { d: "m14.12 6.576 1.715.858c.22.11.22.424 0 .534l-7.568 3.784a.598.598 0 0 1-.534 0L.165 7.968a.299.299 0 0 1 0-.534l1.716-.858 5.317 2.659c.505.252 1.1.252 1.604 0l5.317-2.659z" }, child: [] }] })(t);
|
|
5
5
|
}
|
package/dist/index.es210.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { hasOwnProperty as a } from "./index.es24.js";
|
|
2
|
+
function n(r, t) {
|
|
3
|
+
return r != null && a.call(r, t);
|
|
4
|
+
}
|
|
3
5
|
export {
|
|
4
|
-
|
|
6
|
+
n as default
|
|
5
7
|
};
|
|
6
8
|
//# sourceMappingURL=index.es210.js.map
|
package/dist/index.es210.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es210.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es210.js","sources":["../../../node_modules/underscore/modules/_has.js"],"sourcesContent":["import { hasOwnProperty } from './_setup.js';\n\n// Internal function to check whether `key` is an own property name of `obj`.\nexport default function has(obj, key) {\n return obj != null && hasOwnProperty.call(obj, key);\n}\n"],"names":["has","obj","key","hasOwnProperty"],"mappings":";AAGwB,SAAAA,EAAIC,GAAKC,GAAK;AACpC,SAAOD,KAAO,QAAQE,EAAe,KAAKF,GAAKC,CAAG;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index.es211.js
CHANGED
package/dist/index.es211.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es211.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es211.js","sources":["../../../node_modules/underscore/modules/_isBufferLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getByteLength from './_getByteLength.js';\n\n// Internal helper to determine whether we should spend extensive checks against\n// `ArrayBuffer` et al.\nexport default createSizePropertyCheck(getByteLength);\n"],"names":["isBufferLike","createSizePropertyCheck","getByteLength"],"mappings":";;AAKA,MAAeA,IAAAC,EAAwBC,CAAa;","x_google_ignoreList":[0]}
|
package/dist/index.es212.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
return new Uint8Array(
|
|
4
|
-
t.buffer || t,
|
|
5
|
-
t.byteOffset || 0,
|
|
6
|
-
e(t)
|
|
7
|
-
);
|
|
8
|
-
}
|
|
1
|
+
import t from "./index.es238.js";
|
|
2
|
+
const o = t("length");
|
|
9
3
|
export {
|
|
10
|
-
|
|
4
|
+
o as default
|
|
11
5
|
};
|
|
12
6
|
//# sourceMappingURL=index.es212.js.map
|
package/dist/index.es212.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es212.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es212.js","sources":["../../../node_modules/underscore/modules/_getLength.js"],"sourcesContent":["import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `length` property of an object.\nexport default shallowProperty('length');\n"],"names":["getLength","shallowProperty"],"mappings":";AAGA,MAAeA,IAAAC,EAAgB,QAAQ;","x_google_ignoreList":[0]}
|
package/dist/index.es213.js
CHANGED
|
@@ -1,25 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import m from "./index.es104.js";
|
|
4
|
-
function v(e) {
|
|
5
|
-
var l = o(e);
|
|
6
|
-
return function(r) {
|
|
7
|
-
if (r == null)
|
|
8
|
-
return !1;
|
|
9
|
-
var s = m(r);
|
|
10
|
-
if (o(s))
|
|
11
|
-
return !1;
|
|
12
|
-
for (var a = 0; a < l; a++)
|
|
13
|
-
if (!f(r[e[a]]))
|
|
14
|
-
return !1;
|
|
15
|
-
return e !== u || !f(r[t]);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
var t = "forEach", c = "has", n = ["clear", "delete"], i = ["get", c, "set"], d = n.concat(t, i), u = n.concat(i), M = ["add"].concat(n, t, c);
|
|
1
|
+
import t from "./index.es238.js";
|
|
2
|
+
const o = t("byteLength");
|
|
19
3
|
export {
|
|
20
|
-
|
|
21
|
-
d as mapMethods,
|
|
22
|
-
M as setMethods,
|
|
23
|
-
u as weakMapMethods
|
|
4
|
+
o as default
|
|
24
5
|
};
|
|
25
6
|
//# sourceMappingURL=index.es213.js.map
|
package/dist/index.es213.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es213.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es213.js","sources":["../../../node_modules/underscore/modules/_getByteLength.js"],"sourcesContent":["import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `byteLength` property of an object.\nexport default shallowProperty('byteLength');\n"],"names":["getByteLength","shallowProperty"],"mappings":";AAGA,MAAeA,IAAAC,EAAgB,YAAY;","x_google_ignoreList":[0]}
|
package/dist/index.es214.js
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
contains: function(u) {
|
|
9
|
-
return r[u] === !0;
|
|
10
|
-
},
|
|
11
|
-
push: function(u) {
|
|
12
|
-
return r[u] = !0, n.push(u);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
function l(n, r) {
|
|
17
|
-
r = e(r);
|
|
18
|
-
var c = a.length, o = n.constructor, u = i(o) && o.prototype || p, t = "constructor";
|
|
19
|
-
for (f(n, t) && !r.contains(t) && r.push(t); c--; )
|
|
20
|
-
t = a[c], t in n && n[t] !== u[t] && !r.contains(t) && r.push(t);
|
|
1
|
+
import e from "./index.es213.js";
|
|
2
|
+
function i(t) {
|
|
3
|
+
return new Uint8Array(
|
|
4
|
+
t.buffer || t,
|
|
5
|
+
t.byteOffset || 0,
|
|
6
|
+
e(t)
|
|
7
|
+
);
|
|
21
8
|
}
|
|
22
9
|
export {
|
|
23
|
-
|
|
10
|
+
i as default
|
|
24
11
|
};
|
|
25
12
|
//# sourceMappingURL=index.es214.js.map
|
package/dist/index.es214.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es214.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es214.js","sources":["../../../node_modules/underscore/modules/_toBufferView.js"],"sourcesContent":["import getByteLength from './_getByteLength.js';\n\n// Internal function to wrap or shallow-copy an ArrayBuffer,\n// typed array or DataView to a new view, reusing the buffer.\nexport default function toBufferView(bufferSource) {\n return new Uint8Array(\n bufferSource.buffer || bufferSource,\n bufferSource.byteOffset || 0,\n getByteLength(bufferSource)\n );\n}\n"],"names":["toBufferView","bufferSource","getByteLength"],"mappings":";AAIA,SAAwBA,EAAaC,GAAc;AACjD,SAAO,IAAI;AAAA,IACTA,EAAa,UAAUA;AAAA,IACvBA,EAAa,cAAc;AAAA,IAC3BC,EAAcD,CAAY;AAAA,EAAA;AAE9B;","x_google_ignoreList":[0]}
|
package/dist/index.es215.js
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
import o from "./index.es212.js";
|
|
2
|
+
import f from "./index.es25.js";
|
|
3
|
+
import m from "./index.es104.js";
|
|
4
|
+
function v(e) {
|
|
5
|
+
var l = o(e);
|
|
2
6
|
return function(r) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return r;
|
|
7
|
+
if (r == null)
|
|
8
|
+
return !1;
|
|
9
|
+
var s = m(r);
|
|
10
|
+
if (o(s))
|
|
11
|
+
return !1;
|
|
12
|
+
for (var a = 0; a < l; a++)
|
|
13
|
+
if (!f(r[e[a]]))
|
|
14
|
+
return !1;
|
|
15
|
+
return e !== u || !f(r[t]);
|
|
12
16
|
};
|
|
13
17
|
}
|
|
18
|
+
var t = "forEach", c = "has", n = ["clear", "delete"], i = ["get", c, "set"], d = n.concat(t, i), u = n.concat(i), M = ["add"].concat(n, t, c);
|
|
14
19
|
export {
|
|
15
|
-
|
|
20
|
+
v as ie11fingerprint,
|
|
21
|
+
d as mapMethods,
|
|
22
|
+
M as setMethods,
|
|
23
|
+
u as weakMapMethods
|
|
16
24
|
};
|
|
17
25
|
//# sourceMappingURL=index.es215.js.map
|
package/dist/index.es215.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es215.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es215.js","sources":["../../../node_modules/underscore/modules/_methodFingerprint.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n var length = getLength(methods);\n return function(obj) {\n if (obj == null) return false;\n // `Map`, `WeakMap` and `Set` have no enumerable keys.\n var keys = allKeys(obj);\n if (getLength(keys)) return false;\n for (var i = 0; i < length; i++) {\n if (!isFunction(obj[methods[i]])) return false;\n }\n // If we are testing against `WeakMap`, we need to ensure that\n // `obj` doesn't have a `forEach` method in order to distinguish\n // it from a regular `Map`.\n return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n hasName = 'has',\n commonInit = ['clear', 'delete'],\n mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n weakMapMethods = commonInit.concat(mapTail),\n setMethods = ['add'].concat(commonInit, forEachName, hasName);\n"],"names":["ie11fingerprint","methods","length","getLength","obj","keys","allKeys","i","isFunction","weakMapMethods","forEachName","hasName","commonInit","mapTail","mapMethods","setMethods"],"mappings":";;;AAQO,SAASA,EAAgBC,GAAS;AACnC,MAAAC,IAASC,EAAUF,CAAO;AAC9B,SAAO,SAASG,GAAK;AACnB,QAAIA,KAAO;AAAa,aAAA;AAEpB,QAAAC,IAAOC,EAAQF,CAAG;AACtB,QAAID,EAAUE,CAAI;AAAU,aAAA;AAC5B,aAASE,IAAI,GAAGA,IAAIL,GAAQK;AAC1B,UAAI,CAACC,EAAWJ,EAAIH,EAAQM,CAAC,CAAC,CAAC;AAAU,eAAA;AAK3C,WAAON,MAAYQ,KAAkB,CAACD,EAAWJ,EAAIM,CAAW,CAAC;AAAA,EAAA;AAErE;AAIA,IAAIA,IAAc,WACdC,IAAU,OACVC,IAAa,CAAC,SAAS,QAAQ,GAC/BC,IAAU,CAAC,OAAOF,GAAS,KAAK,GAIzBG,IAAaF,EAAW,OAAOF,GAAaG,CAAO,GAC1DJ,IAAiBG,EAAW,OAAOC,CAAO,GAC1CE,IAAa,CAAC,KAAK,EAAE,OAAOH,GAAYF,GAAaC,CAAO;","x_google_ignoreList":[0]}
|
package/dist/index.es216.js
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ObjProto as p, nonEnumerableProps as a } from "./index.es24.js";
|
|
2
|
+
import i from "./index.es25.js";
|
|
3
|
+
import f from "./index.es210.js";
|
|
4
|
+
function e(n) {
|
|
5
|
+
for (var r = {}, c = n.length, o = 0; o < c; ++o)
|
|
6
|
+
r[n[o]] = !0;
|
|
7
|
+
return {
|
|
8
|
+
contains: function(u) {
|
|
9
|
+
return r[u] === !0;
|
|
10
|
+
},
|
|
11
|
+
push: function(u) {
|
|
12
|
+
return r[u] = !0, n.push(u);
|
|
13
|
+
}
|
|
5
14
|
};
|
|
6
15
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var t = u();
|
|
13
|
-
t.prototype = r;
|
|
14
|
-
var n = new t();
|
|
15
|
-
return t.prototype = null, n;
|
|
16
|
+
function l(n, r) {
|
|
17
|
+
r = e(r);
|
|
18
|
+
var c = a.length, o = n.constructor, u = i(o) && o.prototype || p, t = "constructor";
|
|
19
|
+
for (f(n, t) && !r.contains(t) && r.push(t); c--; )
|
|
20
|
+
t = a[c], t in n && n[t] !== u[t] && !r.contains(t) && r.push(t);
|
|
16
21
|
}
|
|
17
22
|
export {
|
|
18
|
-
|
|
23
|
+
l as default
|
|
19
24
|
};
|
|
20
25
|
//# sourceMappingURL=index.es216.js.map
|
package/dist/index.es216.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es216.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es216.js","sources":["../../../node_modules/underscore/modules/_collectNonEnumProps.js"],"sourcesContent":["import { nonEnumerableProps, ObjProto } from './_setup.js';\nimport isFunction from './isFunction.js';\nimport has from './_has.js';\n\n// Internal helper to create a simple lookup structure.\n// `collectNonEnumProps` used to depend on `_.contains`, but this led to\n// circular imports. `emulatedSet` is a one-off solution that only works for\n// arrays of strings.\nfunction emulatedSet(keys) {\n var hash = {};\n for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true;\n return {\n contains: function(key) { return hash[key] === true; },\n push: function(key) {\n hash[key] = true;\n return keys.push(key);\n }\n };\n}\n\n// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't\n// be iterated by `for key in ...` and thus missed. Extends `keys` in place if\n// needed.\nexport default function collectNonEnumProps(obj, keys) {\n keys = emulatedSet(keys);\n var nonEnumIdx = nonEnumerableProps.length;\n var constructor = obj.constructor;\n var proto = (isFunction(constructor) && constructor.prototype) || ObjProto;\n\n // Constructor is a special case.\n var prop = 'constructor';\n if (has(obj, prop) && !keys.contains(prop)) keys.push(prop);\n\n while (nonEnumIdx--) {\n prop = nonEnumerableProps[nonEnumIdx];\n if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) {\n keys.push(prop);\n }\n }\n}\n"],"names":["emulatedSet","keys","hash","l","i","key","collectNonEnumProps","obj","nonEnumIdx","nonEnumerableProps","constructor","proto","isFunction","ObjProto","prop","has"],"mappings":";;;AAQA,SAASA,EAAYC,GAAM;AAEzB,WADIC,IAAO,CAAA,GACFC,IAAIF,EAAK,QAAQG,IAAI,GAAGA,IAAID,GAAG,EAAEC;AAAQ,IAAAF,EAAAD,EAAKG,CAAC,CAAC,IAAI;AACtD,SAAA;AAAA,IACL,UAAU,SAASC,GAAK;AAAS,aAAAH,EAAKG,CAAG,MAAM;AAAA,IAAM;AAAA,IACrD,MAAM,SAASA,GAAK;AAClB,aAAAH,EAAKG,CAAG,IAAI,IACLJ,EAAK,KAAKI,CAAG;AAAA,IACtB;AAAA,EAAA;AAEJ;AAKwB,SAAAC,EAAoBC,GAAKN,GAAM;AACrD,EAAAA,IAAOD,EAAYC,CAAI;AACvB,MAAIO,IAAaC,EAAmB,QAChCC,IAAcH,EAAI,aAClBI,IAASC,EAAWF,CAAW,KAAKA,EAAY,aAAcG,GAG9DC,IAAO;AAGX,OAFIC,EAAIR,GAAKO,CAAI,KAAK,CAACb,EAAK,SAASa,CAAI,KAAGb,EAAK,KAAKa,CAAI,GAEnDN;AACL,IAAAM,IAAOL,EAAmBD,CAAU,GAChCM,KAAQP,KAAOA,EAAIO,CAAI,MAAMH,EAAMG,CAAI,KAAK,CAACb,EAAK,SAASa,CAAI,KACjEb,EAAK,KAAKa,CAAI;AAGpB;","x_google_ignoreList":[0]}
|
package/dist/index.es217.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function c(v, e) {
|
|
2
|
+
return function(r) {
|
|
3
|
+
var f = arguments.length;
|
|
4
|
+
if (e && (r = Object(r)), f < 2 || r == null)
|
|
5
|
+
return r;
|
|
6
|
+
for (var t = 1; t < f; t++)
|
|
7
|
+
for (var u = arguments[t], g = v(u), l = g.length, n = 0; n < l; n++) {
|
|
8
|
+
var a = g[n];
|
|
9
|
+
(!e || r[a] === void 0) && (r[a] = u[a]);
|
|
10
|
+
}
|
|
11
|
+
return r;
|
|
12
|
+
};
|
|
5
13
|
}
|
|
6
14
|
export {
|
|
7
|
-
|
|
15
|
+
c as default
|
|
8
16
|
};
|
|
9
17
|
//# sourceMappingURL=index.es217.js.map
|
package/dist/index.es217.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es217.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es217.js","sources":["../../../node_modules/underscore/modules/_createAssigner.js"],"sourcesContent":["// An internal function for creating assigner functions.\nexport default function createAssigner(keysFunc, defaults) {\n return function(obj) {\n var length = arguments.length;\n if (defaults) obj = Object(obj);\n if (length < 2 || obj == null) return obj;\n for (var index = 1; index < length; index++) {\n var source = arguments[index],\n keys = keysFunc(source),\n l = keys.length;\n for (var i = 0; i < l; i++) {\n var key = keys[i];\n if (!defaults || obj[key] === void 0) obj[key] = source[key];\n }\n }\n return obj;\n };\n}\n"],"names":["createAssigner","keysFunc","defaults","obj","length","index","source","keys","i","key"],"mappings":"AACwB,SAAAA,EAAeC,GAAUC,GAAU;AACzD,SAAO,SAASC,GAAK;AACnB,QAAIC,IAAS,UAAU;AAEnB,QADAF,MAAUC,IAAM,OAAOA,CAAG,IAC1BC,IAAS,KAAKD,KAAO;AAAa,aAAAA;AACtC,aAASE,IAAQ,GAAGA,IAAQD,GAAQC;AAIlC,eAHIC,IAAS,UAAUD,CAAK,GACxBE,IAAON,EAASK,CAAM,GACtB,IAAIC,EAAK,QACJC,IAAI,GAAGA,IAAI,GAAGA,KAAK;AACtB,YAAAC,IAAMF,EAAKC,CAAC;AAChB,SAAI,CAACN,KAAYC,EAAIM,CAAG,MAAM,YAAYN,EAAAM,CAAG,IAAIH,EAAOG,CAAG;AAAA,MAC7D;AAEK,WAAAN;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
|
package/dist/index.es218.js
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import o from "./index.es82.js";
|
|
2
|
+
import { nativeCreate as e } from "./index.es24.js";
|
|
3
|
+
function u() {
|
|
4
|
+
return function() {
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
function f(r) {
|
|
8
|
+
if (!o(r))
|
|
9
|
+
return {};
|
|
10
|
+
if (e)
|
|
11
|
+
return e(r);
|
|
12
|
+
var t = u();
|
|
13
|
+
t.prototype = r;
|
|
14
|
+
var n = new t();
|
|
15
|
+
return t.prototype = null, n;
|
|
8
16
|
}
|
|
9
17
|
export {
|
|
10
|
-
|
|
18
|
+
f as default
|
|
11
19
|
};
|
|
12
20
|
//# sourceMappingURL=index.es218.js.map
|
package/dist/index.es218.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es218.js","sources":["../../../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es218.js","sources":["../../../node_modules/underscore/modules/_baseCreate.js"],"sourcesContent":["import isObject from './isObject.js';\nimport { nativeCreate } from './_setup.js';\n\n// Create a naked function reference for surrogate-prototype-swapping.\nfunction ctor() {\n return function(){};\n}\n\n// An internal function for creating a new object that inherits from another.\nexport default function baseCreate(prototype) {\n if (!isObject(prototype)) return {};\n if (nativeCreate) return nativeCreate(prototype);\n var Ctor = ctor();\n Ctor.prototype = prototype;\n var result = new Ctor;\n Ctor.prototype = null;\n return result;\n}\n"],"names":["ctor","baseCreate","prototype","isObject","nativeCreate","Ctor","result"],"mappings":";;AAIA,SAASA,IAAO;AACd,SAAO,WAAU;AAAA,EAAA;AACnB;AAGA,SAAwBC,EAAWC,GAAW;AACxC,MAAA,CAACC,EAASD,CAAS;AAAG,WAAO;AAC7B,MAAAE;AAAc,WAAOA,EAAaF,CAAS;AAC/C,MAAIG,IAAOL;AACX,EAAAK,EAAK,YAAYH;AACjB,MAAII,IAAS,IAAID;AACjB,SAAAA,EAAK,YAAY,MACVC;AACT;","x_google_ignoreList":[0]}
|