@performant-software/geospatial 3.1.16-beta.7 → 3.1.16
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.cjs14.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs231.js +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.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +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.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +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.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs27.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.cjs38.js +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.cjs73.js +9 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +17 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +743 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -9
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -17
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs80.js +1 -743
- 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.es14.js +2 -2
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +2 -2
- package/dist/index.es193.js +3 -3
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es198.js +2 -2
- package/dist/index.es199.js +3 -3
- package/dist/index.es201.js +2 -2
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es231.js +1 -1
- package/dist/index.es238.js +3 -21
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +5 -22
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +8 -3
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +24 -5
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +16 -7
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +28 -22
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +20 -15
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +74 -30
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +20 -21
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +37 -71
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +48 -19
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +7 -40
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +19 -48
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +65 -7
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +40 -18
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +58 -60
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +8 -42
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +3 -63
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +12 -8
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +59 -3
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +48 -11
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +18 -57
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +22 -49
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es262.js +15 -4
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +4 -15
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +4 -4
- package/dist/index.es27.js +1 -1
- package/dist/index.es31.js +2 -2
- package/dist/index.es33.js +2 -2
- package/dist/index.es34.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es71.js +7 -1992
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +2 -6
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +26 -2
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +588 -7
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +21352 -2
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +2 -26
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +1960 -556
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +5 -105
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +2 -10
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es80.js +104 -21350
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +10 -2
- package/dist/index.es81.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs81.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");var t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n=e.createContext&&e.createContext(t);exports.DefaultContext=t;exports.IconContext=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs81.js.map
|
package/dist/index.cjs81.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs81.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs81.js","sources":["../../../node_modules/react-icons/lib/iconContext.mjs"],"sourcesContent":["import React from \"react\";\nexport var DefaultContext = {\n color: undefined,\n size: undefined,\n className: undefined,\n style: undefined,\n attr: undefined\n};\nexport var IconContext = React.createContext && /*#__PURE__*/React.createContext(DefaultContext);"],"names":["DefaultContext","IconContext","React"],"mappings":"yGACU,IAACA,EAAiB,CAC1B,MAAO,OACP,KAAM,OACN,UAAW,OACX,MAAO,OACP,KAAM,MACR,EACWC,EAAcC,EAAM,eAA8BA,EAAM,cAAcF,CAAc","x_google_ignoreList":[0]}
|
package/dist/index.es14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./index.
|
|
2
|
-
import { __require as o } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index.es78.js";
|
|
2
|
+
import { __require as o } from "./index.es77.js";
|
|
3
3
|
var a = o();
|
|
4
4
|
const p = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
package/dist/index.es188.js
CHANGED
package/dist/index.es189.js
CHANGED
package/dist/index.es190.js
CHANGED
package/dist/index.es191.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import A from "./index.
|
|
2
|
-
import { tau as p, atan2 as I, asin as P, pi as z, sin as t, cos as i } from "./index.
|
|
1
|
+
import A from "./index.es254.js";
|
|
2
|
+
import { tau as p, atan2 as I, asin as P, pi as z, sin as t, cos as i } from "./index.es244.js";
|
|
3
3
|
function R(r, n) {
|
|
4
4
|
return [r > z ? r - p : r < -z ? r + p : r, n];
|
|
5
5
|
}
|
package/dist/index.es193.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Y from "./index.
|
|
2
|
-
import { cartesianCross as S, cartesian as T, cartesianNormalizeInPlace as U } from "./index.
|
|
3
|
-
import { quarterPi as V, atan2 as Z, sin as e, cos as s, asin as _, epsilon as g, pi as $, tau as k } from "./index.
|
|
1
|
+
import Y from "./index.es241.js";
|
|
2
|
+
import { cartesianCross as S, cartesian as T, cartesianNormalizeInPlace as U } from "./index.es243.js";
|
|
3
|
+
import { quarterPi as V, atan2 as Z, sin as e, cos as s, asin as _, epsilon as g, pi as $, tau as k } from "./index.es244.js";
|
|
4
4
|
var n = Y();
|
|
5
5
|
function l(y, B) {
|
|
6
6
|
var f = B[0], E = B[1], W = [e(f), -s(f), 0], C = 0, F = 0;
|
package/dist/index.es194.js
CHANGED
package/dist/index.es195.js
CHANGED
package/dist/index.es196.js
CHANGED
package/dist/index.es198.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { sqrt as t, asin as i } from "./index.
|
|
2
|
-
import { azimuthalInvert as a, azimuthalRaw as m } from "./index.
|
|
1
|
+
import { sqrt as t, asin as i } from "./index.es244.js";
|
|
2
|
+
import { azimuthalInvert as a, azimuthalRaw as m } from "./index.es250.js";
|
|
3
3
|
import "./index.es193.js";
|
|
4
4
|
import "./index.es192.js";
|
|
5
5
|
import "./index.es191.js";
|
package/dist/index.es199.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { acos as r, sin as a } from "./index.
|
|
2
|
-
import { azimuthalInvert as n, azimuthalRaw as o } from "./index.
|
|
3
|
-
import u from "./index.
|
|
1
|
+
import { acos as r, sin as a } from "./index.es244.js";
|
|
2
|
+
import { azimuthalInvert as n, azimuthalRaw as o } from "./index.es250.js";
|
|
3
|
+
import u from "./index.es251.js";
|
|
4
4
|
var i = o(function(t) {
|
|
5
5
|
return (t = r(t)) && t / a(t);
|
|
6
6
|
});
|
package/dist/index.es201.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { transformToViewState as d, applyViewStateToTransform as p } from "./index.
|
|
2
|
-
import { normalizeStyle as l } from "./index.
|
|
1
|
+
import { transformToViewState as d, applyViewStateToTransform as p } from "./index.es259.js";
|
|
2
|
+
import { normalizeStyle as l } from "./index.es260.js";
|
|
3
3
|
import { deepEqual as i } from "./index.es206.js";
|
|
4
4
|
const u = { version: 8, sources: {}, layers: [] }, h = {
|
|
5
5
|
mousedown: "onMouseDown",
|
package/dist/index.es211.js
CHANGED
package/dist/index.es212.js
CHANGED
package/dist/index.es213.js
CHANGED
package/dist/index.es231.js
CHANGED
package/dist/index.es238.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.es209.js";
|
|
2
|
+
const a = t("Object");
|
|
20
3
|
export {
|
|
21
|
-
|
|
22
|
-
g as transformToViewState
|
|
4
|
+
a as default
|
|
23
5
|
};
|
|
24
6
|
//# 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/_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.es239.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.es239.js.map
|
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/_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.es240.js
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { MAX_ARRAY_INDEX as o } from "./index.es36.js";
|
|
2
|
+
function u(e) {
|
|
3
|
+
return function(t) {
|
|
4
|
+
var r = e(t);
|
|
5
|
+
return typeof r == "number" && r >= 0 && r <= o;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
3
8
|
export {
|
|
4
|
-
|
|
9
|
+
u as default
|
|
5
10
|
};
|
|
6
11
|
//# sourceMappingURL=index.es240.js.map
|
package/dist/index.es240.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es240.js","sources":["../node_modules/underscore/modules/
|
|
1
|
+
{"version":3,"file":"index.es240.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.es241.js
CHANGED
|
@@ -1,9 +1,28 @@
|
|
|
1
|
-
function
|
|
2
|
-
return
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function f() {
|
|
2
|
+
return new i();
|
|
3
|
+
}
|
|
4
|
+
function i() {
|
|
5
|
+
this.reset();
|
|
6
|
+
}
|
|
7
|
+
i.prototype = {
|
|
8
|
+
constructor: i,
|
|
9
|
+
reset: function() {
|
|
10
|
+
this.s = // rounded value
|
|
11
|
+
this.t = 0;
|
|
12
|
+
},
|
|
13
|
+
add: function(t) {
|
|
14
|
+
u(s, t, this.t), u(this, s.s, this.s), this.s ? this.t += s.t : this.s = s.t;
|
|
15
|
+
},
|
|
16
|
+
valueOf: function() {
|
|
17
|
+
return this.s;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
var s = new i();
|
|
21
|
+
function u(t, n, e) {
|
|
22
|
+
var r = t.s = n + e, o = r - n, h = r - o;
|
|
23
|
+
t.t = n - h + (e - o);
|
|
5
24
|
}
|
|
6
25
|
export {
|
|
7
|
-
|
|
26
|
+
f as default
|
|
8
27
|
};
|
|
9
28
|
//# sourceMappingURL=index.es241.js.map
|
package/dist/index.es241.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es241.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es241.js","sources":["../../../node_modules/d3-geo/src/adder.js"],"sourcesContent":["// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n"],"names":["adder","Adder","y","add","temp","a","b","x","bv","av"],"mappings":"AAOA,SAAAA,IAA0B;AACxB,SAAO,IAAIC,EAAA;AACb;AAEA,SAASA,IAAQ;AACf,OAAK,MAAA;AACP;AAEAA,EAAM,YAAY;AAAA,EAChB,aAAaA;AAAA,EACb,OAAO,WAAW;AAChB,SAAK;AAAA,IACL,KAAK,IAAI;AAAA,EACX;AAAA,EACA,KAAK,SAASC,GAAG;AACf,IAAAC,EAAIC,GAAMF,GAAG,KAAK,CAAC,GACnBC,EAAI,MAAMC,EAAK,GAAG,KAAK,CAAC,GACpB,KAAK,IAAG,KAAK,KAAKA,EAAK,IACtB,KAAK,IAAIA,EAAK;AAAA,EACrB;AAAA,EACA,SAAS,WAAW;AAClB,WAAO,KAAK;AAAA,EACd;AACF;AAEA,IAAIA,IAAO,IAAIH,EAAA;AAEf,SAASE,EAAIH,GAAOK,GAAGC,GAAG;AACxB,MAAIC,IAAIP,EAAM,IAAIK,IAAIC,GAClBE,IAAKD,IAAIF,GACTI,IAAKF,IAAIC;AACb,EAAAR,EAAM,IAAKK,IAAII,KAAOH,IAAIE;AAC5B;","x_google_ignoreList":[0]}
|
package/dist/index.es242.js
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { spherical as p, cartesian as x, cartesianNormalizeInPlace as z } from "./index.es243.js";
|
|
2
|
+
import { tau as l, acos as I, epsilon as N, cos as v, sin as R } from "./index.es244.js";
|
|
3
|
+
import "./index.es191.js";
|
|
4
|
+
function g(m, r, e, c, a, s) {
|
|
5
|
+
if (e) {
|
|
6
|
+
var u = v(r), o = R(r), n = c * e;
|
|
7
|
+
a == null ? (a = r + c * l, s = r - n / 2) : (a = h(u, a), s = h(u, s), (c > 0 ? a < s : a > s) && (a += c * l));
|
|
8
|
+
for (var i, f = a; c > 0 ? f > s : f < s; f -= n)
|
|
9
|
+
i = p([u, -o * v(f), -o * R(f)]), m.point(i[0], i[1]);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
function h(m, r) {
|
|
13
|
+
r = x(r), r[0] -= m, z(r);
|
|
14
|
+
var e = I(-r[1]);
|
|
15
|
+
return ((-r[2] < 0 ? -e : e) + l - N) % l;
|
|
7
16
|
}
|
|
8
17
|
export {
|
|
9
|
-
|
|
18
|
+
g as circleStream
|
|
10
19
|
};
|
|
11
20
|
//# 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/d3-geo/src/circle.js"],"sourcesContent":["import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport constant from \"./constant\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math\";\nimport {rotateRadians} from \"./rotation\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n"],"names":["circleStream","stream","radius","delta","direction","t0","t1","cosRadius","cos","sinRadius","sin","step","tau","circleRadius","point","t","spherical","cartesian","cartesianNormalizeInPlace","acos","epsilon"],"mappings":";;;AAMO,SAASA,EAAaC,GAAQC,GAAQC,GAAOC,GAAWC,GAAIC,GAAI;AACrE,MAAKH,GACL;AAAA,QAAII,IAAYC,EAAIN,CAAM,GACtBO,IAAYC,EAAIR,CAAM,GACtBS,IAAOP,IAAYD;AACvB,IAAIE,KAAM,QACRA,IAAKH,IAASE,IAAYQ,GAC1BN,IAAKJ,IAASS,IAAO,MAErBN,IAAKQ,EAAaN,GAAWF,CAAE,GAC/BC,IAAKO,EAAaN,GAAWD,CAAE,IAC3BF,IAAY,IAAIC,IAAKC,IAAKD,IAAKC,YAAUF,IAAYQ;AAE3D,aAASE,GAAOC,IAAIV,GAAID,IAAY,IAAIW,IAAIT,IAAKS,IAAIT,GAAIS,KAAKJ;AAC5D,MAAAG,IAAQE,EAAU,CAACT,GAAW,CAACE,IAAYD,EAAIO,CAAC,GAAG,CAACN,IAAYC,EAAIK,CAAC,CAAC,CAAC,GACvEd,EAAO,MAAMa,EAAM,CAAC,GAAGA,EAAM,CAAC,CAAC;AAAA;AAEnC;AAGA,SAASD,EAAaN,GAAWO,GAAO;AACtC,EAAAA,IAAQG,EAAUH,CAAK,GAAGA,EAAM,CAAC,KAAKP,GACtCW,EAA0BJ,CAAK;AAC/B,MAAIZ,IAASiB,EAAK,CAACL,EAAM,CAAC,CAAC;AAC3B,WAAS,CAACA,EAAM,CAAC,IAAI,IAAI,CAACZ,IAASA,KAAUU,IAAMQ,KAAWR;AAChE;","x_google_ignoreList":[0]}
|
package/dist/index.es243.js
CHANGED
|
@@ -1,28 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { sin as c, cos as o, sqrt as e, atan2 as u, asin as s } from "./index.es244.js";
|
|
2
|
+
function f(n) {
|
|
3
|
+
return [u(n[1], n[0]), s(n[2])];
|
|
3
4
|
}
|
|
4
|
-
function
|
|
5
|
-
|
|
5
|
+
function l(n) {
|
|
6
|
+
var r = n[0], t = n[1], i = o(t);
|
|
7
|
+
return [i * o(r), i * c(r), c(t)];
|
|
6
8
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
var r = t.s = n + e, o = r - n, h = r - o;
|
|
23
|
-
t.t = n - h + (e - o);
|
|
9
|
+
function m(n, r) {
|
|
10
|
+
return n[0] * r[0] + n[1] * r[1] + n[2] * r[2];
|
|
11
|
+
}
|
|
12
|
+
function p(n, r) {
|
|
13
|
+
return [n[1] * r[2] - n[2] * r[1], n[2] * r[0] - n[0] * r[2], n[0] * r[1] - n[1] * r[0]];
|
|
14
|
+
}
|
|
15
|
+
function P(n, r) {
|
|
16
|
+
n[0] += r[0], n[1] += r[1], n[2] += r[2];
|
|
17
|
+
}
|
|
18
|
+
function h(n, r) {
|
|
19
|
+
return [n[0] * r, n[1] * r, n[2] * r];
|
|
20
|
+
}
|
|
21
|
+
function I(n) {
|
|
22
|
+
var r = e(n[0] * n[0] + n[1] * n[1] + n[2] * n[2]);
|
|
23
|
+
n[0] /= r, n[1] /= r, n[2] /= r;
|
|
24
24
|
}
|
|
25
25
|
export {
|
|
26
|
-
|
|
26
|
+
l as cartesian,
|
|
27
|
+
P as cartesianAddInPlace,
|
|
28
|
+
p as cartesianCross,
|
|
29
|
+
m as cartesianDot,
|
|
30
|
+
I as cartesianNormalizeInPlace,
|
|
31
|
+
h as cartesianScale,
|
|
32
|
+
f as spherical
|
|
27
33
|
};
|
|
28
34
|
//# sourceMappingURL=index.es243.js.map
|
package/dist/index.es243.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es243.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es243.js","sources":["../../../node_modules/d3-geo/src/cartesian.js"],"sourcesContent":["import {asin, atan2, cos, sin, sqrt} from \"./math\";\n\nexport function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nexport function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n}\n\nexport function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nexport function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nexport function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nexport function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nexport function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n}\n"],"names":["spherical","cartesian","atan2","asin","lambda","phi","cosPhi","cos","sin","cartesianDot","a","b","cartesianCross","cartesianAddInPlace","cartesianScale","vector","k","cartesianNormalizeInPlace","d","l","sqrt"],"mappings":";AAEO,SAASA,EAAUC,GAAW;AACnC,SAAO,CAACC,EAAMD,EAAU,CAAC,GAAGA,EAAU,CAAC,CAAC,GAAGE,EAAKF,EAAU,CAAC,CAAC,CAAC;AAC/D;AAEO,SAASA,EAAUD,GAAW;AACnC,MAAII,IAASJ,EAAU,CAAC,GAAGK,IAAML,EAAU,CAAC,GAAGM,IAASC,EAAIF,CAAG;AAC/D,SAAO,CAACC,IAASC,EAAIH,CAAM,GAAGE,IAASE,EAAIJ,CAAM,GAAGI,EAAIH,CAAG,CAAC;AAC9D;AAEO,SAASI,EAAaC,GAAGC,GAAG;AACjC,SAAOD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC;AAC/C;AAEO,SAASC,EAAeF,GAAGC,GAAG;AACnC,SAAO,CAACD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,GAAGD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,GAAGD,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,CAAC;AACzF;AAGO,SAASE,EAAoBH,GAAGC,GAAG;AACxC,EAAAD,EAAE,CAAC,KAAKC,EAAE,CAAC,GAAGD,EAAE,CAAC,KAAKC,EAAE,CAAC,GAAGD,EAAE,CAAC,KAAKC,EAAE,CAAC;AACzC;AAEO,SAASG,EAAeC,GAAQC,GAAG;AACxC,SAAO,CAACD,EAAO,CAAC,IAAIC,GAAGD,EAAO,CAAC,IAAIC,GAAGD,EAAO,CAAC,IAAIC,CAAC;AACrD;AAGO,SAASC,EAA0BC,GAAG;AAC3C,MAAIC,IAAIC,EAAKF,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,IAAIA,EAAE,CAAC,CAAC;AACpD,EAAAA,EAAE,CAAC,KAAKC,GAAGD,EAAE,CAAC,KAAKC,GAAGD,EAAE,CAAC,KAAKC;AAChC;","x_google_ignoreList":[0]}
|
package/dist/index.es244.js
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function g(m, r, e, c, a, s) {
|
|
5
|
-
if (e) {
|
|
6
|
-
var u = v(r), o = R(r), n = c * e;
|
|
7
|
-
a == null ? (a = r + c * l, s = r - n / 2) : (a = h(u, a), s = h(u, s), (c > 0 ? a < s : a > s) && (a += c * l));
|
|
8
|
-
for (var i, f = a; c > 0 ? f > s : f < s; f -= n)
|
|
9
|
-
i = p([u, -o * v(f), -o * R(f)]), m.point(i[0], i[1]);
|
|
10
|
-
}
|
|
1
|
+
var n = 1e-6, r = Math.PI, t = r / 2, s = r / 4, v = r * 2, i = 180 / r, h = r / 180, e = Math.abs, M = Math.atan, o = Math.atan2, c = Math.cos, u = Math.sin, f = Math.sqrt;
|
|
2
|
+
function p(a) {
|
|
3
|
+
return a > 1 ? 0 : a < -1 ? r : Math.acos(a);
|
|
11
4
|
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
var e = I(-r[1]);
|
|
15
|
-
return ((-r[2] < 0 ? -e : e) + l - N) % l;
|
|
5
|
+
function q(a) {
|
|
6
|
+
return a > 1 ? t : a < -1 ? -t : Math.asin(a);
|
|
16
7
|
}
|
|
17
8
|
export {
|
|
18
|
-
|
|
9
|
+
e as abs,
|
|
10
|
+
p as acos,
|
|
11
|
+
q as asin,
|
|
12
|
+
M as atan,
|
|
13
|
+
o as atan2,
|
|
14
|
+
c as cos,
|
|
15
|
+
i as degrees,
|
|
16
|
+
n as epsilon,
|
|
17
|
+
t as halfPi,
|
|
18
|
+
r as pi,
|
|
19
|
+
s as quarterPi,
|
|
20
|
+
h as radians,
|
|
21
|
+
u as sin,
|
|
22
|
+
f as sqrt,
|
|
23
|
+
v as tau
|
|
19
24
|
};
|
|
20
25
|
//# sourceMappingURL=index.es244.js.map
|
package/dist/index.es244.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es244.js","sources":["../../../node_modules/d3-geo/src/
|
|
1
|
+
{"version":3,"file":"index.es244.js","sources":["../../../node_modules/d3-geo/src/math.js"],"sourcesContent":["export var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var quarterPi = pi / 4;\nexport var tau = pi * 2;\n\nexport var degrees = 180 / pi;\nexport var radians = pi / 180;\n\nexport var abs = Math.abs;\nexport var atan = Math.atan;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var ceil = Math.ceil;\nexport var exp = Math.exp;\nexport var floor = Math.floor;\nexport var log = Math.log;\nexport var pow = Math.pow;\nexport var sin = Math.sin;\nexport var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nexport var sqrt = Math.sqrt;\nexport var tan = Math.tan;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n}\n\nexport function haversin(x) {\n return (x = sin(x / 2)) * x;\n}\n"],"names":["epsilon","pi","halfPi","quarterPi","tau","degrees","radians","abs","atan","atan2","cos","sin","sqrt","acos","x","asin"],"mappings":"AAAO,IAAIA,IAAU,MAEVC,IAAK,KAAK,IACVC,IAASD,IAAK,GACdE,IAAYF,IAAK,GACjBG,IAAMH,IAAK,GAEXI,IAAU,MAAMJ,GAChBK,IAAUL,IAAK,KAEfM,IAAM,KAAK,KACXC,IAAO,KAAK,MACZC,IAAQ,KAAK,OACbC,IAAM,KAAK,KAMXC,IAAM,KAAK,KAEXC,IAAO,KAAK;AAGhB,SAASC,EAAKC,GAAG;AACtB,SAAOA,IAAI,IAAI,IAAIA,IAAI,KAAKb,IAAK,KAAK,KAAKa,CAAC;AAC9C;AAEO,SAASC,EAAKD,GAAG;AACtB,SAAOA,IAAI,IAAIZ,IAASY,IAAI,KAAK,CAACZ,IAAS,KAAK,KAAKY,CAAC;AACxD;","x_google_ignoreList":[0]}
|
package/dist/index.es245.js
CHANGED
|
@@ -1,34 +1,78 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { abs as q, epsilon as z } from "./index.es244.js";
|
|
2
|
+
import X from "./index.es246.js";
|
|
3
|
+
import Y from "./index.es247.js";
|
|
4
|
+
import Z from "./index.es248.js";
|
|
5
|
+
import "./index.es192.js";
|
|
6
|
+
import $ from "./index.es249.js";
|
|
7
|
+
var S = 1e9, B = -S;
|
|
8
|
+
function en(c, _, E, u) {
|
|
9
|
+
function A(i, n) {
|
|
10
|
+
return c <= i && i <= E && _ <= n && n <= u;
|
|
11
|
+
}
|
|
12
|
+
function C(i, n, l, o) {
|
|
13
|
+
var f = 0, s = 0;
|
|
14
|
+
if (i == null || (f = d(i, l)) !== (s = d(n, l)) || D(i, n) < 0 ^ l > 0)
|
|
15
|
+
do
|
|
16
|
+
o.point(f === 0 || f === 3 ? c : E, f > 1 ? u : _);
|
|
17
|
+
while ((f = (f + l + 4) % 4) !== s);
|
|
18
|
+
else
|
|
19
|
+
o.point(n[0], n[1]);
|
|
20
|
+
}
|
|
21
|
+
function d(i, n) {
|
|
22
|
+
return q(i[0] - c) < z ? n > 0 ? 0 : 3 : q(i[0] - E) < z ? n > 0 ? 2 : 1 : q(i[1] - _) < z ? n > 0 ? 1 : 0 : n > 0 ? 3 : 2;
|
|
23
|
+
}
|
|
24
|
+
function O(i, n) {
|
|
25
|
+
return D(i.x, n.x);
|
|
26
|
+
}
|
|
27
|
+
function D(i, n) {
|
|
28
|
+
var l = d(i, 1), o = d(n, 1);
|
|
29
|
+
return l !== o ? l - o : l === 0 ? n[1] - i[1] : l === 1 ? i[0] - n[0] : l === 2 ? i[1] - n[1] : n[0] - i[0];
|
|
30
|
+
}
|
|
31
|
+
return function(i) {
|
|
32
|
+
var n = i, l = X(), o, f, s, F, G, H, I, P, v, L, w, k = {
|
|
33
|
+
point: J,
|
|
34
|
+
lineStart: U,
|
|
35
|
+
lineEnd: V,
|
|
36
|
+
polygonStart: R,
|
|
37
|
+
polygonEnd: T
|
|
38
|
+
};
|
|
39
|
+
function J(t, e) {
|
|
40
|
+
A(t, e) && n.point(t, e);
|
|
41
|
+
}
|
|
42
|
+
function Q() {
|
|
43
|
+
for (var t = 0, e = 0, r = f.length; e < r; ++e)
|
|
44
|
+
for (var p = f[e], a = 1, W = p.length, g = p[0], M, m, N = g[0], h = g[1]; a < W; ++a)
|
|
45
|
+
M = N, m = h, g = p[a], N = g[0], h = g[1], m <= u ? h > u && (N - M) * (u - m) > (h - m) * (c - M) && ++t : h <= u && (N - M) * (u - m) < (h - m) * (c - M) && --t;
|
|
46
|
+
return t;
|
|
47
|
+
}
|
|
48
|
+
function R() {
|
|
49
|
+
n = l, o = [], f = [], w = !0;
|
|
50
|
+
}
|
|
51
|
+
function T() {
|
|
52
|
+
var t = Q(), e = w && t, r = (o = $(o)).length;
|
|
53
|
+
(e || r) && (i.polygonStart(), e && (i.lineStart(), C(null, null, 1, i), i.lineEnd()), r && Z(o, O, t, C, i), i.polygonEnd()), n = i, o = f = s = null;
|
|
54
|
+
}
|
|
55
|
+
function U() {
|
|
56
|
+
k.point = K, f && f.push(s = []), L = !0, v = !1, I = P = NaN;
|
|
57
|
+
}
|
|
58
|
+
function V() {
|
|
59
|
+
o && (K(F, G), H && v && l.rejoin(), o.push(l.result())), k.point = J, v && n.lineEnd();
|
|
60
|
+
}
|
|
61
|
+
function K(t, e) {
|
|
62
|
+
var r = A(t, e);
|
|
63
|
+
if (f && s.push([t, e]), L)
|
|
64
|
+
F = t, G = e, H = r, L = !1, r && (n.lineStart(), n.point(t, e));
|
|
65
|
+
else if (r && v) n.point(t, e);
|
|
66
|
+
else {
|
|
67
|
+
var p = [I = Math.max(B, Math.min(S, I)), P = Math.max(B, Math.min(S, P))], a = [t = Math.max(B, Math.min(S, t)), e = Math.max(B, Math.min(S, e))];
|
|
68
|
+
Y(p, a, c, _, E, u) ? (v || (n.lineStart(), n.point(p[0], p[1])), n.point(a[0], a[1]), r || n.lineEnd(), w = !1) : r && (n.lineStart(), n.point(t, e), w = !1);
|
|
69
|
+
}
|
|
70
|
+
I = t, P = e, v = r;
|
|
71
|
+
}
|
|
72
|
+
return k;
|
|
73
|
+
};
|
|
24
74
|
}
|
|
25
75
|
export {
|
|
26
|
-
|
|
27
|
-
P as cartesianAddInPlace,
|
|
28
|
-
p as cartesianCross,
|
|
29
|
-
m as cartesianDot,
|
|
30
|
-
I as cartesianNormalizeInPlace,
|
|
31
|
-
h as cartesianScale,
|
|
32
|
-
f as spherical
|
|
76
|
+
en as clipExtent
|
|
33
77
|
};
|
|
34
78
|
//# sourceMappingURL=index.es245.js.map
|