@corpsmap/corpsmap 4.1.24 → 4.1.25
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/corpsmap.es.js +677 -580
- package/dist/corpsmap.umd.js +16 -16
- package/package.json +1 -1
- package/src/core-plugins/{identify-orm-geoserver → identify-geoserver}/bundle.js +13 -17
- package/src/core-plugins/{identify-orm-geoserver → identify-geoserver}/index.js +1 -1
- package/src/core-plugins/identify-map-server/bundle.js +159 -0
- package/src/core-plugins/identify-map-server/index.js +10 -0
- package/src/index.jsx +4 -2
package/dist/corpsmap.es.js
CHANGED
|
@@ -767,24 +767,24 @@ function requireDebounce() {
|
|
|
767
767
|
hasRequiredDebounce = 1;
|
|
768
768
|
var e = requireIsObject(), t = requireNow(), r = requireToNumber(), a = "Expected a function", s = Math.max, d = Math.min;
|
|
769
769
|
function g(m, y, b) {
|
|
770
|
-
var E, I, x, S, T,
|
|
770
|
+
var E, I, x, S, T, k, N = 0, L = !1, M = !1, G = !0;
|
|
771
771
|
if (typeof m != "function")
|
|
772
772
|
throw new TypeError(a);
|
|
773
773
|
y = r(y) || 0, e(b) && (L = !!b.leading, M = "maxWait" in b, x = M ? s(r(b.maxWait) || 0, y) : x, G = "trailing" in b ? !!b.trailing : G);
|
|
774
774
|
function U(ie) {
|
|
775
775
|
var te = E, ue = I;
|
|
776
|
-
return E = I = void 0,
|
|
776
|
+
return E = I = void 0, N = ie, S = m.apply(ue, te), S;
|
|
777
777
|
}
|
|
778
778
|
function V(ie) {
|
|
779
|
-
return
|
|
779
|
+
return N = ie, T = setTimeout(Q, y), L ? U(ie) : S;
|
|
780
780
|
}
|
|
781
781
|
function Y(ie) {
|
|
782
|
-
var te = ie -
|
|
782
|
+
var te = ie - k, ue = ie - N, le = y - te;
|
|
783
783
|
return M ? d(le, x - ue) : le;
|
|
784
784
|
}
|
|
785
785
|
function X(ie) {
|
|
786
|
-
var te = ie -
|
|
787
|
-
return
|
|
786
|
+
var te = ie - k, ue = ie - N;
|
|
787
|
+
return k === void 0 || te >= y || te < 0 || M && ue >= x;
|
|
788
788
|
}
|
|
789
789
|
function Q() {
|
|
790
790
|
var ie = t();
|
|
@@ -796,18 +796,18 @@ function requireDebounce() {
|
|
|
796
796
|
return T = void 0, G && E ? U(ie) : (E = I = void 0, S);
|
|
797
797
|
}
|
|
798
798
|
function K() {
|
|
799
|
-
T !== void 0 && clearTimeout(T),
|
|
799
|
+
T !== void 0 && clearTimeout(T), N = 0, E = k = I = T = void 0;
|
|
800
800
|
}
|
|
801
801
|
function ee() {
|
|
802
802
|
return T === void 0 ? S : H(t());
|
|
803
803
|
}
|
|
804
804
|
function ae() {
|
|
805
805
|
var ie = t(), te = X(ie);
|
|
806
|
-
if (E = arguments, I = this,
|
|
806
|
+
if (E = arguments, I = this, k = ie, te) {
|
|
807
807
|
if (T === void 0)
|
|
808
|
-
return V(
|
|
808
|
+
return V(k);
|
|
809
809
|
if (M)
|
|
810
|
-
return clearTimeout(T), T = setTimeout(Q, y), U(
|
|
810
|
+
return clearTimeout(T), T = setTimeout(Q, y), U(k);
|
|
811
811
|
}
|
|
812
812
|
return T === void 0 && (T = setTimeout(Q, y)), S;
|
|
813
813
|
}
|
|
@@ -1260,9 +1260,9 @@ function requireIterator() {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
function b(I) {
|
|
1262
1262
|
var x = I ? Object.keys(I) : [], S = -1, T = x.length;
|
|
1263
|
-
return function
|
|
1264
|
-
var
|
|
1265
|
-
return
|
|
1263
|
+
return function k() {
|
|
1264
|
+
var N = x[++S];
|
|
1265
|
+
return N === "__proto__" ? k() : S < T ? { value: I[N], key: N } : null;
|
|
1266
1266
|
};
|
|
1267
1267
|
}
|
|
1268
1268
|
function E(I) {
|
|
@@ -1337,8 +1337,8 @@ function requireAsyncify() {
|
|
|
1337
1337
|
var T;
|
|
1338
1338
|
try {
|
|
1339
1339
|
T = I.apply(this, x);
|
|
1340
|
-
} catch (
|
|
1341
|
-
return S(
|
|
1340
|
+
} catch (k) {
|
|
1341
|
+
return S(k);
|
|
1342
1342
|
}
|
|
1343
1343
|
if (T && typeof T.then == "function")
|
|
1344
1344
|
return b(T, S);
|
|
@@ -1356,8 +1356,8 @@ function requireAsyncify() {
|
|
|
1356
1356
|
try {
|
|
1357
1357
|
I(x, S);
|
|
1358
1358
|
} catch (T) {
|
|
1359
|
-
(0, d.default)((
|
|
1360
|
-
throw
|
|
1359
|
+
(0, d.default)((k) => {
|
|
1360
|
+
throw k;
|
|
1361
1361
|
}, T);
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
@@ -1401,18 +1401,18 @@ function requireAsyncEachOfLimit() {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
function d(g, m, y, b) {
|
|
1403
1403
|
let E = !1, I = !1, x = !1, S = 0, T = 0;
|
|
1404
|
-
function
|
|
1404
|
+
function k() {
|
|
1405
1405
|
S >= m || x || E || (x = !0, g.next().then(({ value: M, done: G }) => {
|
|
1406
1406
|
if (!(I || E)) {
|
|
1407
1407
|
if (x = !1, G) {
|
|
1408
1408
|
E = !0, S <= 0 && b(null);
|
|
1409
1409
|
return;
|
|
1410
1410
|
}
|
|
1411
|
-
S++, y(M, T,
|
|
1411
|
+
S++, y(M, T, N), T++, k();
|
|
1412
1412
|
}
|
|
1413
1413
|
}).catch(L));
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function N(M, G) {
|
|
1416
1416
|
if (S -= 1, !I) {
|
|
1417
1417
|
if (M) return L(M);
|
|
1418
1418
|
if (M === !1) {
|
|
@@ -1421,13 +1421,13 @@ function requireAsyncEachOfLimit() {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
if (G === a.default || E && S <= 0)
|
|
1423
1423
|
return E = !0, b(null);
|
|
1424
|
-
|
|
1424
|
+
k();
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
function L(M) {
|
|
1428
1428
|
I || (x = !1, E = !0, b(M));
|
|
1429
1429
|
}
|
|
1430
|
-
|
|
1430
|
+
k();
|
|
1431
1431
|
}
|
|
1432
1432
|
e.exports = t.default;
|
|
1433
1433
|
})(asyncEachOfLimit, asyncEachOfLimit.exports)), asyncEachOfLimit.exports;
|
|
@@ -1442,16 +1442,16 @@ function requireEachOfLimit$1() {
|
|
|
1442
1442
|
function S(T) {
|
|
1443
1443
|
return T && T.__esModule ? T : { default: T };
|
|
1444
1444
|
}
|
|
1445
|
-
t.default = (T) => (
|
|
1445
|
+
t.default = (T) => (k, N, L) => {
|
|
1446
1446
|
if (L = (0, a.default)(L), T <= 0)
|
|
1447
1447
|
throw new RangeError("concurrency limit cannot be less than 1");
|
|
1448
|
-
if (!
|
|
1448
|
+
if (!k)
|
|
1449
1449
|
return L(null);
|
|
1450
|
-
if ((0, y.isAsyncGenerator)(
|
|
1451
|
-
return (0, E.default)(
|
|
1452
|
-
if ((0, y.isAsyncIterable)(
|
|
1453
|
-
return (0, E.default)(
|
|
1454
|
-
var M = (0, d.default)(
|
|
1450
|
+
if ((0, y.isAsyncGenerator)(k))
|
|
1451
|
+
return (0, E.default)(k, T, N, L);
|
|
1452
|
+
if ((0, y.isAsyncIterable)(k))
|
|
1453
|
+
return (0, E.default)(k[Symbol.asyncIterator](), T, N, L);
|
|
1454
|
+
var M = (0, d.default)(k), G = !1, U = !1, V = 0, Y = !1;
|
|
1455
1455
|
function X(H, K) {
|
|
1456
1456
|
if (!U)
|
|
1457
1457
|
if (V -= 1, H)
|
|
@@ -1471,7 +1471,7 @@ function requireEachOfLimit$1() {
|
|
|
1471
1471
|
G = !0, V <= 0 && L(null);
|
|
1472
1472
|
return;
|
|
1473
1473
|
}
|
|
1474
|
-
V += 1,
|
|
1474
|
+
V += 1, N(H.value, H.key, (0, m.default)(X));
|
|
1475
1475
|
}
|
|
1476
1476
|
Y = !1;
|
|
1477
1477
|
}
|
|
@@ -1522,8 +1522,8 @@ function requireEachOf() {
|
|
|
1522
1522
|
Object.defineProperty(t, "__esModule", {
|
|
1523
1523
|
value: !0
|
|
1524
1524
|
});
|
|
1525
|
-
var r = requireIsArrayLike$1(), a =
|
|
1526
|
-
function
|
|
1525
|
+
var r = requireIsArrayLike$1(), a = N(r), s = requireBreakLoop(), d = N(s), g = requireEachOfLimit(), m = N(g), y = requireOnce(), b = N(y), E = requireOnlyOnce(), I = N(E), x = requireWrapAsync(), S = N(x), T = requireAwaitify(), k = N(T);
|
|
1526
|
+
function N(U) {
|
|
1527
1527
|
return U && U.__esModule ? U : { default: U };
|
|
1528
1528
|
}
|
|
1529
1529
|
function L(U, V, Y) {
|
|
@@ -1543,7 +1543,7 @@ function requireEachOf() {
|
|
|
1543
1543
|
var X = (0, a.default)(U) ? L : M;
|
|
1544
1544
|
return X(U, (0, S.default)(V), Y);
|
|
1545
1545
|
}
|
|
1546
|
-
t.default = (0,
|
|
1546
|
+
t.default = (0, k.default)(G, 3), e.exports = t.default;
|
|
1547
1547
|
})(eachOf, eachOf.exports)), eachOf.exports;
|
|
1548
1548
|
}
|
|
1549
1549
|
var parallel$1 = { exports: {} }, hasRequiredParallel$1;
|
|
@@ -1558,9 +1558,9 @@ function requireParallel$1() {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
t.default = (0, m.default)((b, E, I) => {
|
|
1560
1560
|
var x = (0, a.default)(E) ? [] : {};
|
|
1561
|
-
b(E, (S, T,
|
|
1562
|
-
(0, d.default)(S)((
|
|
1563
|
-
L.length < 2 && ([L] = L), x[T] = L, N
|
|
1561
|
+
b(E, (S, T, k) => {
|
|
1562
|
+
(0, d.default)(S)((N, ...L) => {
|
|
1563
|
+
L.length < 2 && ([L] = L), x[T] = L, k(N);
|
|
1564
1564
|
});
|
|
1565
1565
|
}, (S) => I(S, x));
|
|
1566
1566
|
}, 3), e.exports = t.default;
|
|
@@ -1748,11 +1748,11 @@ function isNumber$1(e) {
|
|
|
1748
1748
|
}
|
|
1749
1749
|
function coordEach(e, t, r) {
|
|
1750
1750
|
if (e !== null)
|
|
1751
|
-
for (var a, s, d, g, m, y, b, E = 0, I = 0, x, S = e.type, T = S === "FeatureCollection",
|
|
1751
|
+
for (var a, s, d, g, m, y, b, E = 0, I = 0, x, S = e.type, T = S === "FeatureCollection", k = S === "Feature", N = T ? e.features.length : 1, L = 0; L < N; L++) {
|
|
1752
1752
|
b = T ? (
|
|
1753
1753
|
// @ts-expect-error: Known type conflict
|
|
1754
1754
|
e.features[L].geometry
|
|
1755
|
-
) :
|
|
1755
|
+
) : k ? (
|
|
1756
1756
|
// @ts-expect-error: Known type conflict
|
|
1757
1757
|
e.geometry
|
|
1758
1758
|
) : e, x = b ? b.type === "GeometryCollection" : !1, m = x ? b.geometries.length : 1;
|
|
@@ -1862,8 +1862,8 @@ function featureEach(e, t) {
|
|
|
1862
1862
|
;
|
|
1863
1863
|
}
|
|
1864
1864
|
function geomEach(e, t) {
|
|
1865
|
-
var r, a, s, d, g, m, y, b, E, I, x = 0, S = e.type === "FeatureCollection", T = e.type === "Feature",
|
|
1866
|
-
for (r = 0; r <
|
|
1865
|
+
var r, a, s, d, g, m, y, b, E, I, x = 0, S = e.type === "FeatureCollection", T = e.type === "Feature", k = S ? e.features.length : 1;
|
|
1866
|
+
for (r = 0; r < k; r++) {
|
|
1867
1867
|
for (m = S ? (
|
|
1868
1868
|
// @ts-expect-error: Known type conflict
|
|
1869
1869
|
e.features[r].geometry
|
|
@@ -2040,7 +2040,7 @@ function requireJsts_min() {
|
|
|
2040
2040
|
function g(h, n) {
|
|
2041
2041
|
for (var o = 0; o < n.length; o++) {
|
|
2042
2042
|
var f = n[o];
|
|
2043
|
-
f.enumerable = f.enumerable || !1, f.configurable = !0, "value" in f && (f.writable = !0), Object.defineProperty(h,
|
|
2043
|
+
f.enumerable = f.enumerable || !1, f.configurable = !0, "value" in f && (f.writable = !0), Object.defineProperty(h, N(f.key), f);
|
|
2044
2044
|
}
|
|
2045
2045
|
}
|
|
2046
2046
|
function m(h, n, o) {
|
|
@@ -2120,7 +2120,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2120
2120
|
return v.apply(o, C);
|
|
2121
2121
|
} : v;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function k(h) {
|
|
2124
2124
|
return (function(n) {
|
|
2125
2125
|
if (Array.isArray(n)) return r(n);
|
|
2126
2126
|
})(h) || (function(n) {
|
|
@@ -2130,7 +2130,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2130
2130
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2131
2131
|
})();
|
|
2132
2132
|
}
|
|
2133
|
-
function
|
|
2133
|
+
function N(h) {
|
|
2134
2134
|
var n = (function(o, f) {
|
|
2135
2135
|
if (typeof o != "object" || !o) return o;
|
|
2136
2136
|
var v = o[Symbol.toPrimitive];
|
|
@@ -5508,7 +5508,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5508
5508
|
return "Unexpected `" + this.token_.value + "` at position " + this.token_.position + " in `" + this.lexer_.wkt + "`";
|
|
5509
5509
|
} }, { key: "parseGeometry_", value: function() {
|
|
5510
5510
|
var h = this.factory, n = function(Ne) {
|
|
5511
|
-
return d(J,
|
|
5511
|
+
return d(J, k(Ne));
|
|
5512
5512
|
}, o = function(Ne) {
|
|
5513
5513
|
var qe = Ne.map((function(Ge) {
|
|
5514
5514
|
return h.createLinearRing(Ge.map(n));
|
|
@@ -5524,7 +5524,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5524
5524
|
switch (v) {
|
|
5525
5525
|
case "POINT":
|
|
5526
5526
|
var A = this.parsePointText_();
|
|
5527
|
-
return A ? h.createPoint(d(J,
|
|
5527
|
+
return A ? h.createPoint(d(J, k(A))) : h.createPoint();
|
|
5528
5528
|
case "LINESTRING":
|
|
5529
5529
|
var R = this.parseLineStringText_().map(n);
|
|
5530
5530
|
return h.createLineString(R);
|
|
@@ -9415,13 +9415,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
9415
9415
|
}, coordinates: function(h) {
|
|
9416
9416
|
for (var n = [], o = 0; o < h.length; ++o) {
|
|
9417
9417
|
var f = h[o];
|
|
9418
|
-
n.push(d(J,
|
|
9418
|
+
n.push(d(J, k(f)));
|
|
9419
9419
|
}
|
|
9420
9420
|
return n;
|
|
9421
9421
|
}, bbox: function(h) {
|
|
9422
9422
|
return this.geometryFactory.createLinearRing([new J(h[0], h[1]), new J(h[2], h[1]), new J(h[2], h[3]), new J(h[0], h[3]), new J(h[0], h[1])]);
|
|
9423
9423
|
}, Point: function(h) {
|
|
9424
|
-
var n = d(J,
|
|
9424
|
+
var n = d(J, k(h));
|
|
9425
9425
|
return this.geometryFactory.createPoint(n);
|
|
9426
9426
|
}, MultiPoint: function(h) {
|
|
9427
9427
|
for (var n = [], o = 0; o < h.length; ++o) n.push(Ct.Point.call(this, h[o]));
|
|
@@ -9742,14 +9742,14 @@ function Intersection(e, t, r, a) {
|
|
|
9742
9742
|
function clipPolygon(e, t, r, a, s) {
|
|
9743
9743
|
var d = [], g = [], m, y;
|
|
9744
9744
|
if (e.forEach(function(T) {
|
|
9745
|
-
if (!((
|
|
9746
|
-
var
|
|
9747
|
-
if (pointEqual(
|
|
9748
|
-
for (s.lineStart(), m = 0; m <
|
|
9745
|
+
if (!((k = T.length - 1) <= 0)) {
|
|
9746
|
+
var k, N = T[0], L = T[k], M;
|
|
9747
|
+
if (pointEqual(N, L)) {
|
|
9748
|
+
for (s.lineStart(), m = 0; m < k; ++m) s.point((N = T[m])[0], N[1]);
|
|
9749
9749
|
s.lineEnd();
|
|
9750
9750
|
return;
|
|
9751
9751
|
}
|
|
9752
|
-
d.push(M = new Intersection(
|
|
9752
|
+
d.push(M = new Intersection(N, T, null, !0)), g.push(M.o = new Intersection(N, null, M, !1)), d.push(M = new Intersection(L, T, null, !1)), g.push(M.o = new Intersection(L, null, M, !0));
|
|
9753
9753
|
}
|
|
9754
9754
|
}), !!d.length) {
|
|
9755
9755
|
for (g.sort(t), link$1(d), link$1(g), m = 0, y = g.length; m < y; ++m)
|
|
@@ -9843,7 +9843,7 @@ function clipExtent(e, t, r, a) {
|
|
|
9843
9843
|
return I !== x ? I - x : I === 0 ? E[1] - b[1] : I === 1 ? b[0] - E[0] : I === 2 ? b[1] - E[1] : E[0] - b[0];
|
|
9844
9844
|
}
|
|
9845
9845
|
return function(b) {
|
|
9846
|
-
var E = b, I = clipBuffer(), x, S, T,
|
|
9846
|
+
var E = b, I = clipBuffer(), x, S, T, k, N, L, M, G, U, V, Y, X = {
|
|
9847
9847
|
point: Q,
|
|
9848
9848
|
lineStart: ae,
|
|
9849
9849
|
lineEnd: ie,
|
|
@@ -9870,12 +9870,12 @@ function clipExtent(e, t, r, a) {
|
|
|
9870
9870
|
X.point = te, S && S.push(T = []), V = !0, U = !1, M = G = NaN;
|
|
9871
9871
|
}
|
|
9872
9872
|
function ie() {
|
|
9873
|
-
x && (te(
|
|
9873
|
+
x && (te(k, N), L && U && I.rejoin(), x.push(I.result())), X.point = Q, U && E.lineEnd();
|
|
9874
9874
|
}
|
|
9875
9875
|
function te(ue, le) {
|
|
9876
9876
|
var he = s(ue, le);
|
|
9877
9877
|
if (S && T.push([ue, le]), V)
|
|
9878
|
-
|
|
9878
|
+
k = ue, N = le, L = he, V = !1, he && (E.lineStart(), E.point(ue, le));
|
|
9879
9879
|
else if (he && U) E.point(ue, le);
|
|
9880
9880
|
else {
|
|
9881
9881
|
var ve = [M = Math.max(clipMin, Math.min(clipMax, M)), G = Math.max(clipMin, Math.min(clipMax, G))], Ee = [ue = Math.max(clipMin, Math.min(clipMax, ue)), le = Math.max(clipMin, Math.min(clipMax, le))];
|
|
@@ -9892,9 +9892,9 @@ function polygonContains(e, t) {
|
|
|
9892
9892
|
sum$2.reset();
|
|
9893
9893
|
for (var m = 0, y = e.length; m < y; ++m)
|
|
9894
9894
|
if (E = (b = e[m]).length)
|
|
9895
|
-
for (var b, E, I = b[E - 1], x = I[0], S = I[1] / 2 + quarterPi, T = sin(S),
|
|
9896
|
-
var L = b[
|
|
9897
|
-
if (sum$2.add(atan2(K * X * sin(Q),
|
|
9895
|
+
for (var b, E, I = b[E - 1], x = I[0], S = I[1] / 2 + quarterPi, T = sin(S), k = cos(S), N = 0; N < E; ++N, x = M, T = U, k = V, I = L) {
|
|
9896
|
+
var L = b[N], M = L[0], G = L[1] / 2 + quarterPi, U = sin(G), V = cos(G), Y = M - x, X = Y >= 0 ? 1 : -1, Q = X * Y, H = Q > pi, K = T * U;
|
|
9897
|
+
if (sum$2.add(atan2(K * X * sin(Q), k * V + K * cos(Q))), d += H ? Y + X * tau : Y, H ^ x >= r ^ M >= r) {
|
|
9898
9898
|
var ee = cartesianCross(cartesian(I), cartesian(L));
|
|
9899
9899
|
cartesianNormalizeInPlace(ee);
|
|
9900
9900
|
var ae = cartesianCross(s, ee);
|
|
@@ -9929,14 +9929,14 @@ adder();
|
|
|
9929
9929
|
function clip(e, t, r, a) {
|
|
9930
9930
|
return function(s, d) {
|
|
9931
9931
|
var g = t(d), m = s.invert(a[0], a[1]), y = clipBuffer(), b = t(y), E = !1, I, x, S, T = {
|
|
9932
|
-
point:
|
|
9932
|
+
point: k,
|
|
9933
9933
|
lineStart: L,
|
|
9934
9934
|
lineEnd: M,
|
|
9935
9935
|
polygonStart: function() {
|
|
9936
9936
|
T.point = G, T.lineStart = U, T.lineEnd = V, x = [], I = [];
|
|
9937
9937
|
},
|
|
9938
9938
|
polygonEnd: function() {
|
|
9939
|
-
T.point =
|
|
9939
|
+
T.point = k, T.lineStart = L, T.lineEnd = M, x = merge(x);
|
|
9940
9940
|
var Y = polygonContains(I, m);
|
|
9941
9941
|
x.length ? (E || (d.polygonStart(), E = !0), clipPolygon(x, compareIntersection, Y, r, d)) : Y && (E || (d.polygonStart(), E = !0), d.lineStart(), r(null, null, 1, d), d.lineEnd()), E && (d.polygonEnd(), E = !1), x = I = null;
|
|
9942
9942
|
},
|
|
@@ -9944,19 +9944,19 @@ function clip(e, t, r, a) {
|
|
|
9944
9944
|
d.polygonStart(), d.lineStart(), r(null, null, 1, d), d.lineEnd(), d.polygonEnd();
|
|
9945
9945
|
}
|
|
9946
9946
|
};
|
|
9947
|
-
function
|
|
9947
|
+
function k(Y, X) {
|
|
9948
9948
|
var Q = s(Y, X);
|
|
9949
9949
|
e(Y = Q[0], X = Q[1]) && d.point(Y, X);
|
|
9950
9950
|
}
|
|
9951
|
-
function
|
|
9951
|
+
function N(Y, X) {
|
|
9952
9952
|
var Q = s(Y, X);
|
|
9953
9953
|
g.point(Q[0], Q[1]);
|
|
9954
9954
|
}
|
|
9955
9955
|
function L() {
|
|
9956
|
-
T.point =
|
|
9956
|
+
T.point = N, g.lineStart();
|
|
9957
9957
|
}
|
|
9958
9958
|
function M() {
|
|
9959
|
-
T.point =
|
|
9959
|
+
T.point = k, g.lineEnd();
|
|
9960
9960
|
}
|
|
9961
9961
|
function G(Y, X) {
|
|
9962
9962
|
S.push([Y, X]);
|
|
@@ -10038,18 +10038,18 @@ function clipCircle(e, t) {
|
|
|
10038
10038
|
return cos(E) * cos(I) > r;
|
|
10039
10039
|
}
|
|
10040
10040
|
function m(E) {
|
|
10041
|
-
var I, x, S, T,
|
|
10041
|
+
var I, x, S, T, k;
|
|
10042
10042
|
return {
|
|
10043
10043
|
lineStart: function() {
|
|
10044
|
-
T = S = !1,
|
|
10044
|
+
T = S = !1, k = 1;
|
|
10045
10045
|
},
|
|
10046
|
-
point: function(
|
|
10047
|
-
var M = [
|
|
10046
|
+
point: function(N, L) {
|
|
10047
|
+
var M = [N, L], G, U = g(N, L), V = a ? U ? 0 : b(N, L) : U ? b(N + (N < 0 ? pi : -pi), L) : 0;
|
|
10048
10048
|
if (!I && (T = S = U) && E.lineStart(), U !== S && (G = y(I, M), (!G || pointEqual(I, G) || pointEqual(M, G)) && (M[0] += epsilon$1, M[1] += epsilon$1, U = g(M[0], M[1]))), U !== S)
|
|
10049
|
-
|
|
10049
|
+
k = 0, U ? (E.lineStart(), G = y(M, I), E.point(G[0], G[1])) : (G = y(I, M), E.point(G[0], G[1]), E.lineEnd()), I = G;
|
|
10050
10050
|
else if (s && I && a ^ U) {
|
|
10051
10051
|
var Y;
|
|
10052
|
-
!(V & x) && (Y = y(M, I, !0)) && (
|
|
10052
|
+
!(V & x) && (Y = y(M, I, !0)) && (k = 0, a ? (E.lineStart(), E.point(Y[0][0], Y[0][1]), E.point(Y[1][0], Y[1][1]), E.lineEnd()) : (E.point(Y[1][0], Y[1][1]), E.lineEnd(), E.lineStart(), E.point(Y[0][0], Y[0][1])));
|
|
10053
10053
|
}
|
|
10054
10054
|
U && (!I || !pointEqual(I, M)) && E.point(M[0], M[1]), I = M, S = U, x = V;
|
|
10055
10055
|
},
|
|
@@ -10059,14 +10059,14 @@ function clipCircle(e, t) {
|
|
|
10059
10059
|
// Rejoin first and last segments if there were intersections and the first
|
|
10060
10060
|
// and last points were visible.
|
|
10061
10061
|
clean: function() {
|
|
10062
|
-
return
|
|
10062
|
+
return k | (T && S) << 1;
|
|
10063
10063
|
}
|
|
10064
10064
|
};
|
|
10065
10065
|
}
|
|
10066
10066
|
function y(E, I, x) {
|
|
10067
|
-
var S = cartesian(E), T = cartesian(I),
|
|
10067
|
+
var S = cartesian(E), T = cartesian(I), k = [1, 0, 0], N = cartesianCross(S, T), L = cartesianDot(N, N), M = N[0], G = L - M * M;
|
|
10068
10068
|
if (!G) return !x && E;
|
|
10069
|
-
var U = r * L / G, V = -r * M / G, Y = cartesianCross(
|
|
10069
|
+
var U = r * L / G, V = -r * M / G, Y = cartesianCross(k, N), X = cartesianScale(k, U), Q = cartesianScale(N, V);
|
|
10070
10070
|
cartesianAddInPlace(X, Q);
|
|
10071
10071
|
var H = Y, K = cartesianDot(X, H), ee = cartesianDot(H, H), ae = K * K - ee * (cartesianDot(X, X) - 1);
|
|
10072
10072
|
if (!(ae < 0)) {
|
|
@@ -10138,48 +10138,48 @@ function resampleNone(e) {
|
|
|
10138
10138
|
});
|
|
10139
10139
|
}
|
|
10140
10140
|
function resample$1(e, t) {
|
|
10141
|
-
function r(a, s, d, g, m, y, b, E, I, x, S, T,
|
|
10141
|
+
function r(a, s, d, g, m, y, b, E, I, x, S, T, k, N) {
|
|
10142
10142
|
var L = b - a, M = E - s, G = L * L + M * M;
|
|
10143
|
-
if (G > 4 * t &&
|
|
10143
|
+
if (G > 4 * t && k--) {
|
|
10144
10144
|
var U = g + x, V = m + S, Y = y + T, X = sqrt(U * U + V * V + Y * Y), Q = asin(Y /= X), H = abs$1(abs$1(Y) - 1) < epsilon$1 || abs$1(d - I) < epsilon$1 ? (d + I) / 2 : atan2(V, U), K = e(H, Q), ee = K[0], ae = K[1], ie = ee - a, te = ae - s, ue = M * ie - L * te;
|
|
10145
|
-
(ue * ue / G > t || abs$1((L * ie + M * te) / G - 0.5) > 0.3 || g * x + m * S + y * T < cosMinDistance) && (r(a, s, d, g, m, y, ee, ae, H, U /= X, V /= X, Y,
|
|
10145
|
+
(ue * ue / G > t || abs$1((L * ie + M * te) / G - 0.5) > 0.3 || g * x + m * S + y * T < cosMinDistance) && (r(a, s, d, g, m, y, ee, ae, H, U /= X, V /= X, Y, k, N), N.point(ee, ae), r(ee, ae, H, U, V, Y, b, E, I, x, S, T, k, N));
|
|
10146
10146
|
}
|
|
10147
10147
|
}
|
|
10148
10148
|
return function(a) {
|
|
10149
|
-
var s, d, g, m, y, b, E, I, x, S, T,
|
|
10149
|
+
var s, d, g, m, y, b, E, I, x, S, T, k, N = {
|
|
10150
10150
|
point: L,
|
|
10151
10151
|
lineStart: M,
|
|
10152
10152
|
lineEnd: U,
|
|
10153
10153
|
polygonStart: function() {
|
|
10154
|
-
a.polygonStart(),
|
|
10154
|
+
a.polygonStart(), N.lineStart = V;
|
|
10155
10155
|
},
|
|
10156
10156
|
polygonEnd: function() {
|
|
10157
|
-
a.polygonEnd(),
|
|
10157
|
+
a.polygonEnd(), N.lineStart = M;
|
|
10158
10158
|
}
|
|
10159
10159
|
};
|
|
10160
10160
|
function L(Q, H) {
|
|
10161
10161
|
Q = e(Q, H), a.point(Q[0], Q[1]);
|
|
10162
10162
|
}
|
|
10163
10163
|
function M() {
|
|
10164
|
-
I = NaN,
|
|
10164
|
+
I = NaN, N.point = G, a.lineStart();
|
|
10165
10165
|
}
|
|
10166
10166
|
function G(Q, H) {
|
|
10167
10167
|
var K = cartesian([Q, H]), ee = e(Q, H);
|
|
10168
|
-
r(I, x, E, S, T,
|
|
10168
|
+
r(I, x, E, S, T, k, I = ee[0], x = ee[1], E = Q, S = K[0], T = K[1], k = K[2], maxDepth, a), a.point(I, x);
|
|
10169
10169
|
}
|
|
10170
10170
|
function U() {
|
|
10171
|
-
|
|
10171
|
+
N.point = L, a.lineEnd();
|
|
10172
10172
|
}
|
|
10173
10173
|
function V() {
|
|
10174
|
-
M(),
|
|
10174
|
+
M(), N.point = Y, N.lineEnd = X;
|
|
10175
10175
|
}
|
|
10176
10176
|
function Y(Q, H) {
|
|
10177
|
-
G(s = Q, H), d = I, g = x, m = S, y = T, b =
|
|
10177
|
+
G(s = Q, H), d = I, g = x, m = S, y = T, b = k, N.point = G;
|
|
10178
10178
|
}
|
|
10179
10179
|
function X() {
|
|
10180
|
-
r(I, x, E, S, T,
|
|
10180
|
+
r(I, x, E, S, T, k, d, g, s, m, y, b, maxDepth, a), N.lineEnd = U, U();
|
|
10181
10181
|
}
|
|
10182
|
-
return
|
|
10182
|
+
return N;
|
|
10183
10183
|
};
|
|
10184
10184
|
}
|
|
10185
10185
|
var transformRadians = transformer({
|
|
@@ -10193,7 +10193,7 @@ function projection(e) {
|
|
|
10193
10193
|
})();
|
|
10194
10194
|
}
|
|
10195
10195
|
function projectionMutator(e) {
|
|
10196
|
-
var t, r = 150, a = 480, s = 250, d, g, m = 0, y = 0, b = 0, E = 0, I = 0, x, S, T = null,
|
|
10196
|
+
var t, r = 150, a = 480, s = 250, d, g, m = 0, y = 0, b = 0, E = 0, I = 0, x, S, T = null, k = clipAntimeridian, N = null, L, M, G, U = identity, V = 0.5, Y = resample(ee, V), X, Q;
|
|
10197
10197
|
function H(te) {
|
|
10198
10198
|
return te = S(te[0] * radians, te[1] * radians), [te[0] * r + d, g - te[1] * r];
|
|
10199
10199
|
}
|
|
@@ -10204,11 +10204,11 @@ function projectionMutator(e) {
|
|
|
10204
10204
|
return te = t(te, ue), [te[0] * r + d, g - te[1] * r];
|
|
10205
10205
|
}
|
|
10206
10206
|
H.stream = function(te) {
|
|
10207
|
-
return X && Q === te ? X : X = transformRadians(
|
|
10207
|
+
return X && Q === te ? X : X = transformRadians(k(x, Y(U(Q = te))));
|
|
10208
10208
|
}, H.clipAngle = function(te) {
|
|
10209
|
-
return arguments.length ? (
|
|
10209
|
+
return arguments.length ? (k = +te ? clipCircle(T = te * radians, 6 * radians) : (T = null, clipAntimeridian), ie()) : T * degrees;
|
|
10210
10210
|
}, H.clipExtent = function(te) {
|
|
10211
|
-
return arguments.length ? (U = te == null ? (
|
|
10211
|
+
return arguments.length ? (U = te == null ? (N = L = M = G = null, identity) : clipExtent(N = +te[0][0], L = +te[0][1], M = +te[1][0], G = +te[1][1]), ie()) : N == null ? null : [[N, L], [M, G]];
|
|
10212
10212
|
}, H.scale = function(te) {
|
|
10213
10213
|
return arguments.length ? (r = +te, ae()) : r;
|
|
10214
10214
|
}, H.translate = function(te) {
|
|
@@ -10303,9 +10303,9 @@ function bufferFeature(e, t, r, a) {
|
|
|
10303
10303
|
var s = e.properties || {}, d = e.type === "Feature" ? e.geometry : e;
|
|
10304
10304
|
if (d.type === "GeometryCollection") {
|
|
10305
10305
|
var g = [];
|
|
10306
|
-
return geomEach(e, function(
|
|
10307
|
-
var
|
|
10308
|
-
|
|
10306
|
+
return geomEach(e, function(k) {
|
|
10307
|
+
var N = bufferFeature(k, t, r, a);
|
|
10308
|
+
N && g.push(N);
|
|
10309
10309
|
}), featureCollection(g);
|
|
10310
10310
|
}
|
|
10311
10311
|
var m = defineProjection(d), y = {
|
|
@@ -10780,14 +10780,14 @@ const mapBasemapBundle = {
|
|
|
10780
10780
|
[-180, -85, 180, 85],
|
|
10781
10781
|
y,
|
|
10782
10782
|
b
|
|
10783
|
-
) : null, x = s.hasOwnProperty("center") ? s.center : g.selectMapCenter(), S = s.hasOwnProperty("zoom") ? s.zoom : g.selectMapZoom(), T = s.hasOwnProperty("rotation") ? s.rotation : g.selectMapRotation(),
|
|
10783
|
+
) : null, x = s.hasOwnProperty("center") ? s.center : g.selectMapCenter(), S = s.hasOwnProperty("zoom") ? s.zoom : g.selectMapZoom(), T = s.hasOwnProperty("rotation") ? s.rotation : g.selectMapRotation(), k = s.hasOwnProperty("minZoom") ? s.minZoom : g.selectMapMinZoom(), N = s.hasOwnProperty("maxZoom") ? s.maxZoom : g.selectMapMaxZoom();
|
|
10784
10784
|
console.log("setting up at", s.center, x);
|
|
10785
10785
|
const L = {
|
|
10786
10786
|
center: transform(x, y, b),
|
|
10787
10787
|
zoom: S,
|
|
10788
10788
|
rotation: T,
|
|
10789
|
-
minZoom:
|
|
10790
|
-
maxZoom:
|
|
10789
|
+
minZoom: k,
|
|
10790
|
+
maxZoom: N
|
|
10791
10791
|
};
|
|
10792
10792
|
I && (L.extent = I);
|
|
10793
10793
|
const M = new View(L), G = new olMap({
|
|
@@ -11709,20 +11709,20 @@ const mapBasemapBundle = {
|
|
|
11709
11709
|
options: r.options,
|
|
11710
11710
|
openedBy: r.openedBy
|
|
11711
11711
|
}, r.additionalState);
|
|
11712
|
-
return (S = x, { type: T, payload:
|
|
11712
|
+
return (S = x, { type: T, payload: k }) => {
|
|
11713
11713
|
if (r.additionalActions.indexOf(T) !== -1)
|
|
11714
|
-
return Object.assign({}, S,
|
|
11714
|
+
return Object.assign({}, S, k);
|
|
11715
11715
|
switch (T) {
|
|
11716
11716
|
case d.OPENED:
|
|
11717
11717
|
case d.CLOSED:
|
|
11718
|
-
return Object.assign({}, S,
|
|
11718
|
+
return Object.assign({}, S, k);
|
|
11719
11719
|
default:
|
|
11720
11720
|
return S;
|
|
11721
11721
|
}
|
|
11722
11722
|
};
|
|
11723
11723
|
},
|
|
11724
|
-
[g]: ({ children: x, options: S, openedBy: T }) => ({ dispatch:
|
|
11725
|
-
x.length || (x = [x]),
|
|
11724
|
+
[g]: ({ children: x, options: S, openedBy: T }) => ({ dispatch: k }) => {
|
|
11725
|
+
x.length || (x = [x]), k({
|
|
11726
11726
|
type: d.OPENED,
|
|
11727
11727
|
payload: {
|
|
11728
11728
|
children: x,
|
|
@@ -12841,7 +12841,7 @@ const config$1 = {
|
|
|
12841
12841
|
path: "depricated"
|
|
12842
12842
|
}
|
|
12843
12843
|
]
|
|
12844
|
-
}, version = "4.1.
|
|
12844
|
+
}, version = "4.1.25", pkg = {
|
|
12845
12845
|
version
|
|
12846
12846
|
};
|
|
12847
12847
|
console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
|
|
@@ -12928,10 +12928,10 @@ class SidebarButton extends React__default.Component {
|
|
|
12928
12928
|
}), T = classnames({
|
|
12929
12929
|
"overflow-ellipsis": !0,
|
|
12930
12930
|
hidden: !s
|
|
12931
|
-
}),
|
|
12931
|
+
}), k = classnames({
|
|
12932
12932
|
"icon-inline": d,
|
|
12933
12933
|
hidden: !!s
|
|
12934
|
-
}),
|
|
12934
|
+
}), N = classnames({
|
|
12935
12935
|
hidden: !d
|
|
12936
12936
|
}), L = Object.assign({ textAlign: "left" }, b);
|
|
12937
12937
|
return /* @__PURE__ */ jsxs(
|
|
@@ -12944,9 +12944,9 @@ class SidebarButton extends React__default.Component {
|
|
|
12944
12944
|
style: L,
|
|
12945
12945
|
title: y,
|
|
12946
12946
|
children: [
|
|
12947
|
-
/* @__PURE__ */ jsx$1("i", { className: r + " " +
|
|
12947
|
+
/* @__PURE__ */ jsx$1("i", { className: r + " " + k, style: a }),
|
|
12948
12948
|
/* @__PURE__ */ jsx$1("span", { className: T, children: s }),
|
|
12949
|
-
/* @__PURE__ */ jsx$1("span", { className:
|
|
12949
|
+
/* @__PURE__ */ jsx$1("span", { className: N, children: g })
|
|
12950
12950
|
]
|
|
12951
12951
|
}
|
|
12952
12952
|
);
|
|
@@ -13571,8 +13571,8 @@ function* p(e, t = l) {
|
|
|
13571
13571
|
let r = e.length - 21, a = r - 65536, s = new DataView(e.buffer, e.byteOffset), d = (y) => s.getUint16(y + r, 1), g = (y) => s.getUint32(y + r, 1), m = (y, b) => e.subarray(r += y, r += b);
|
|
13572
13572
|
for (; r > a && (r = e.lastIndexOf(80, r - 1)) + 1 && (e[r + 1] - 75 || e[r + 2] - 5 || e[r + 3] - 6); ) ;
|
|
13573
13573
|
for (r < 0 && c(2), a = d(10), a - d(8) && c(3), r = g(16); a--; ) {
|
|
13574
|
-
let y = d(10), b = d(28), E = d(30), I = d(32), x = g(20), S = g(42), T = w$1.decode(m(46, b)),
|
|
13575
|
-
r = S, L = m(30 + d(26) + d(28), x), yield { filename: T, comment:
|
|
13574
|
+
let y = d(10), b = d(28), E = d(30), I = d(32), x = g(20), S = g(42), T = w$1.decode(m(46, b)), k = w$1.decode(m(E, I)), N = r, L;
|
|
13575
|
+
r = S, L = m(30 + d(26) + d(28), x), yield { filename: T, comment: k, read: () => y - 8 ? y ? c(1) : L : t(L) }, r = N;
|
|
13576
13576
|
}
|
|
13577
13577
|
}
|
|
13578
13578
|
const regex$3 = /.+\.(shp|dbf|json|prj|cpg)$/i, unzip = async (e) => {
|
|
@@ -14152,7 +14152,7 @@ function requireDom() {
|
|
|
14152
14152
|
}
|
|
14153
14153
|
z.constructor != F && (typeof F != "function" && console.error("unknown Class:" + F), z.constructor = F);
|
|
14154
14154
|
}
|
|
14155
|
-
var E = {}, I = E.ELEMENT_NODE = 1, x = E.ATTRIBUTE_NODE = 2, S = E.TEXT_NODE = 3, T = E.CDATA_SECTION_NODE = 4,
|
|
14155
|
+
var E = {}, I = E.ELEMENT_NODE = 1, x = E.ATTRIBUTE_NODE = 2, S = E.TEXT_NODE = 3, T = E.CDATA_SECTION_NODE = 4, k = E.ENTITY_REFERENCE_NODE = 5, N = E.ENTITY_NODE = 6, L = E.PROCESSING_INSTRUCTION_NODE = 7, M = E.COMMENT_NODE = 8, G = E.DOCUMENT_NODE = 9, U = E.DOCUMENT_TYPE_NODE = 10, V = E.DOCUMENT_FRAGMENT_NODE = 11, Y = E.NOTATION_NODE = 12, X = {}, Q = {};
|
|
14156
14156
|
X.INDEX_SIZE_ERR = (Q[1] = "Index size error", 1), X.DOMSTRING_SIZE_ERR = (Q[2] = "DOMString size error", 2);
|
|
14157
14157
|
var H = X.HIERARCHY_REQUEST_ERR = (Q[3] = "Hierarchy request error", 3);
|
|
14158
14158
|
X.WRONG_DOCUMENT_ERR = (Q[4] = "Wrong document", 4);
|
|
@@ -14970,10 +14970,10 @@ function requireDom() {
|
|
|
14970
14970
|
$t.prototype.nodeType = Y, b($t, ge);
|
|
14971
14971
|
function st() {
|
|
14972
14972
|
}
|
|
14973
|
-
st.prototype.nodeType =
|
|
14973
|
+
st.prototype.nodeType = N, b(st, ge);
|
|
14974
14974
|
function Gt() {
|
|
14975
14975
|
}
|
|
14976
|
-
Gt.prototype.nodeType =
|
|
14976
|
+
Gt.prototype.nodeType = k, b(Gt, ge);
|
|
14977
14977
|
function Te() {
|
|
14978
14978
|
}
|
|
14979
14979
|
Te.prototype.nodeName = "#document-fragment", Te.prototype.nodeType = V, b(Te, ge);
|
|
@@ -15115,7 +15115,7 @@ function requireDom() {
|
|
|
15115
15115
|
if (Ce && me.data.indexOf("?>") !== -1)
|
|
15116
15116
|
throw new te(ie, 'The ProcessingInstruction data contains "?>"');
|
|
15117
15117
|
return $.push("<?", me.target, " ", me.data, "?>"), null;
|
|
15118
|
-
case
|
|
15118
|
+
case k:
|
|
15119
15119
|
return $.push("&", me.nodeName, ";"), null;
|
|
15120
15120
|
//case ENTITY_NODE:
|
|
15121
15121
|
//case NOTATION_NODE:
|
|
@@ -17428,11 +17428,11 @@ function requireSax() {
|
|
|
17428
17428
|
break;
|
|
17429
17429
|
default:
|
|
17430
17430
|
Re && he(Ie);
|
|
17431
|
-
var Oe = new X(), Be = xe[xe.length - 1].currentNSMap, Fe =
|
|
17431
|
+
var Oe = new X(), Be = xe[xe.length - 1].currentNSMap, Fe = N(H, Ie, Oe, Be, ue, ie), it = Oe.length;
|
|
17432
17432
|
if (!Oe.closed && G(H, Fe, Oe.tagName, ge) && (Oe.closed = !0, ee.nbsp || ie.warning("unclosed xml attribute")), Re && it) {
|
|
17433
|
-
for (var dt =
|
|
17433
|
+
for (var dt = k(Re, {}), fe = 0; fe < it; fe++) {
|
|
17434
17434
|
var at = Oe[fe];
|
|
17435
|
-
he(at.offset), at.locator =
|
|
17435
|
+
he(at.offset), at.locator = k(Re, {});
|
|
17436
17436
|
}
|
|
17437
17437
|
ae.locator = dt, L(Oe, ae, Be) && xe.push(Oe), ae.locator = Re;
|
|
17438
17438
|
} else
|
|
@@ -17447,10 +17447,10 @@ function requireSax() {
|
|
|
17447
17447
|
Fe > pe ? pe = Fe : le(Math.max(Ie, pe) + 1);
|
|
17448
17448
|
}
|
|
17449
17449
|
}
|
|
17450
|
-
function
|
|
17450
|
+
function k(H, K) {
|
|
17451
17451
|
return K.lineNumber = H.lineNumber, K.columnNumber = H.columnNumber, K;
|
|
17452
17452
|
}
|
|
17453
|
-
function
|
|
17453
|
+
function N(H, K, ee, ae, ie, te) {
|
|
17454
17454
|
function ue(Re, xe, ge) {
|
|
17455
17455
|
ee.attributeNames.hasOwnProperty(Re) && te.fatalError("Attribute " + Re + " redefined"), ee.addValue(
|
|
17456
17456
|
Re,
|
|
@@ -17693,37 +17693,37 @@ function requireDomParser() {
|
|
|
17693
17693
|
if (hasRequiredDomParser) return domParser;
|
|
17694
17694
|
hasRequiredDomParser = 1;
|
|
17695
17695
|
var e = requireConventions(), t = requireDom(), r = requireEntities(), a = requireSax(), s = t.DOMImplementation, d = e.NAMESPACE, g = a.ParseError, m = a.XMLReader;
|
|
17696
|
-
function y(
|
|
17697
|
-
return
|
|
17696
|
+
function y(N) {
|
|
17697
|
+
return N.replace(/\r[\n\u0085]/g, `
|
|
17698
17698
|
`).replace(/[\r\u0085\u2028]/g, `
|
|
17699
17699
|
`);
|
|
17700
17700
|
}
|
|
17701
|
-
function b(
|
|
17702
|
-
this.options =
|
|
17701
|
+
function b(N) {
|
|
17702
|
+
this.options = N || { locator: {} };
|
|
17703
17703
|
}
|
|
17704
|
-
b.prototype.parseFromString = function(
|
|
17704
|
+
b.prototype.parseFromString = function(N, L) {
|
|
17705
17705
|
var M = this.options, G = new m(), U = M.domBuilder || new I(), V = M.errorHandler, Y = M.locator, X = M.xmlns || {}, Q = /\/x?html?$/.test(L), H = Q ? r.HTML_ENTITIES : r.XML_ENTITIES;
|
|
17706
17706
|
Y && U.setDocumentLocator(Y), G.errorHandler = E(V, U, Y), G.domBuilder = M.domBuilder || U, Q && (X[""] = d.HTML), X.xml = X.xml || d.XML;
|
|
17707
17707
|
var K = M.normalizeLineEndings || y;
|
|
17708
|
-
return
|
|
17709
|
-
K(
|
|
17708
|
+
return N && typeof N == "string" ? G.parse(
|
|
17709
|
+
K(N),
|
|
17710
17710
|
X,
|
|
17711
17711
|
H
|
|
17712
17712
|
) : G.errorHandler.error("invalid doc source"), U.doc;
|
|
17713
17713
|
};
|
|
17714
|
-
function E(
|
|
17715
|
-
if (!
|
|
17714
|
+
function E(N, L, M) {
|
|
17715
|
+
if (!N) {
|
|
17716
17716
|
if (L instanceof I)
|
|
17717
17717
|
return L;
|
|
17718
|
-
|
|
17718
|
+
N = L;
|
|
17719
17719
|
}
|
|
17720
|
-
var G = {}, U =
|
|
17720
|
+
var G = {}, U = N instanceof Function;
|
|
17721
17721
|
M = M || {};
|
|
17722
17722
|
function V(Y) {
|
|
17723
|
-
var X =
|
|
17724
|
-
!X && U && (X =
|
|
17725
|
-
|
|
17726
|
-
} :
|
|
17723
|
+
var X = N[Y];
|
|
17724
|
+
!X && U && (X = N.length == 2 ? function(Q) {
|
|
17725
|
+
N(Y, Q);
|
|
17726
|
+
} : N), G[Y] = X && function(Q) {
|
|
17727
17727
|
X("[xmldom " + Y + "] " + Q + S(M));
|
|
17728
17728
|
} || function() {
|
|
17729
17729
|
};
|
|
@@ -17733,57 +17733,57 @@ function requireDomParser() {
|
|
|
17733
17733
|
function I() {
|
|
17734
17734
|
this.cdata = !1;
|
|
17735
17735
|
}
|
|
17736
|
-
function x(
|
|
17737
|
-
L.lineNumber =
|
|
17736
|
+
function x(N, L) {
|
|
17737
|
+
L.lineNumber = N.lineNumber, L.columnNumber = N.columnNumber;
|
|
17738
17738
|
}
|
|
17739
17739
|
I.prototype = {
|
|
17740
17740
|
startDocument: function() {
|
|
17741
17741
|
this.doc = new s().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
|
|
17742
17742
|
},
|
|
17743
|
-
startElement: function(
|
|
17744
|
-
var U = this.doc, V = U.createElementNS(
|
|
17745
|
-
|
|
17743
|
+
startElement: function(N, L, M, G) {
|
|
17744
|
+
var U = this.doc, V = U.createElementNS(N, M || L), Y = G.length;
|
|
17745
|
+
k(this, V), this.currentElement = V, this.locator && x(this.locator, V);
|
|
17746
17746
|
for (var X = 0; X < Y; X++) {
|
|
17747
|
-
var
|
|
17747
|
+
var N = G.getURI(X), Q = G.getValue(X), M = G.getQName(X), H = U.createAttributeNS(N, M);
|
|
17748
17748
|
this.locator && x(G.getLocator(X), H), H.value = H.nodeValue = Q, V.setAttributeNode(H);
|
|
17749
17749
|
}
|
|
17750
17750
|
},
|
|
17751
|
-
endElement: function(
|
|
17751
|
+
endElement: function(N, L, M) {
|
|
17752
17752
|
var G = this.currentElement;
|
|
17753
17753
|
G.tagName, this.currentElement = G.parentNode;
|
|
17754
17754
|
},
|
|
17755
|
-
startPrefixMapping: function(
|
|
17755
|
+
startPrefixMapping: function(N, L) {
|
|
17756
17756
|
},
|
|
17757
|
-
endPrefixMapping: function(
|
|
17757
|
+
endPrefixMapping: function(N) {
|
|
17758
17758
|
},
|
|
17759
|
-
processingInstruction: function(
|
|
17760
|
-
var M = this.doc.createProcessingInstruction(
|
|
17761
|
-
this.locator && x(this.locator, M),
|
|
17759
|
+
processingInstruction: function(N, L) {
|
|
17760
|
+
var M = this.doc.createProcessingInstruction(N, L);
|
|
17761
|
+
this.locator && x(this.locator, M), k(this, M);
|
|
17762
17762
|
},
|
|
17763
|
-
ignorableWhitespace: function(
|
|
17763
|
+
ignorableWhitespace: function(N, L, M) {
|
|
17764
17764
|
},
|
|
17765
|
-
characters: function(
|
|
17766
|
-
if (
|
|
17765
|
+
characters: function(N, L, M) {
|
|
17766
|
+
if (N = T.apply(this, arguments), N) {
|
|
17767
17767
|
if (this.cdata)
|
|
17768
|
-
var G = this.doc.createCDATASection(
|
|
17768
|
+
var G = this.doc.createCDATASection(N);
|
|
17769
17769
|
else
|
|
17770
|
-
var G = this.doc.createTextNode(
|
|
17771
|
-
this.currentElement ? this.currentElement.appendChild(G) : /^\s*$/.test(
|
|
17770
|
+
var G = this.doc.createTextNode(N);
|
|
17771
|
+
this.currentElement ? this.currentElement.appendChild(G) : /^\s*$/.test(N) && this.doc.appendChild(G), this.locator && x(this.locator, G);
|
|
17772
17772
|
}
|
|
17773
17773
|
},
|
|
17774
|
-
skippedEntity: function(
|
|
17774
|
+
skippedEntity: function(N) {
|
|
17775
17775
|
},
|
|
17776
17776
|
endDocument: function() {
|
|
17777
17777
|
this.doc.normalize();
|
|
17778
17778
|
},
|
|
17779
|
-
setDocumentLocator: function(
|
|
17780
|
-
(this.locator =
|
|
17779
|
+
setDocumentLocator: function(N) {
|
|
17780
|
+
(this.locator = N) && (N.lineNumber = 0);
|
|
17781
17781
|
},
|
|
17782
17782
|
//LexicalHandler
|
|
17783
|
-
comment: function(
|
|
17784
|
-
|
|
17785
|
-
var G = this.doc.createComment(
|
|
17786
|
-
this.locator && x(this.locator, G),
|
|
17783
|
+
comment: function(N, L, M) {
|
|
17784
|
+
N = T.apply(this, arguments);
|
|
17785
|
+
var G = this.doc.createComment(N);
|
|
17786
|
+
this.locator && x(this.locator, G), k(this, G);
|
|
17787
17787
|
},
|
|
17788
17788
|
startCDATA: function() {
|
|
17789
17789
|
this.cdata = !0;
|
|
@@ -17791,42 +17791,42 @@ function requireDomParser() {
|
|
|
17791
17791
|
endCDATA: function() {
|
|
17792
17792
|
this.cdata = !1;
|
|
17793
17793
|
},
|
|
17794
|
-
startDTD: function(
|
|
17794
|
+
startDTD: function(N, L, M) {
|
|
17795
17795
|
var G = this.doc.implementation;
|
|
17796
17796
|
if (G && G.createDocumentType) {
|
|
17797
|
-
var U = G.createDocumentType(
|
|
17798
|
-
this.locator && x(this.locator, U),
|
|
17797
|
+
var U = G.createDocumentType(N, L, M);
|
|
17798
|
+
this.locator && x(this.locator, U), k(this, U), this.doc.doctype = U;
|
|
17799
17799
|
}
|
|
17800
17800
|
},
|
|
17801
17801
|
/**
|
|
17802
17802
|
* @see org.xml.sax.ErrorHandler
|
|
17803
17803
|
* @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
|
|
17804
17804
|
*/
|
|
17805
|
-
warning: function(
|
|
17806
|
-
console.warn("[xmldom warning] " +
|
|
17805
|
+
warning: function(N) {
|
|
17806
|
+
console.warn("[xmldom warning] " + N, S(this.locator));
|
|
17807
17807
|
},
|
|
17808
|
-
error: function(
|
|
17809
|
-
console.error("[xmldom error] " +
|
|
17808
|
+
error: function(N) {
|
|
17809
|
+
console.error("[xmldom error] " + N, S(this.locator));
|
|
17810
17810
|
},
|
|
17811
|
-
fatalError: function(
|
|
17812
|
-
throw new g(
|
|
17811
|
+
fatalError: function(N) {
|
|
17812
|
+
throw new g(N, this.locator);
|
|
17813
17813
|
}
|
|
17814
17814
|
};
|
|
17815
|
-
function S(
|
|
17816
|
-
if (
|
|
17815
|
+
function S(N) {
|
|
17816
|
+
if (N)
|
|
17817
17817
|
return `
|
|
17818
|
-
@` + (
|
|
17818
|
+
@` + (N.systemId || "") + "#[line:" + N.lineNumber + ",col:" + N.columnNumber + "]";
|
|
17819
17819
|
}
|
|
17820
|
-
function T(
|
|
17821
|
-
return typeof
|
|
17820
|
+
function T(N, L, M) {
|
|
17821
|
+
return typeof N == "string" ? N.substr(L, M) : N.length >= L + M || L ? new java.lang.String(N, L, M) + "" : N;
|
|
17822
17822
|
}
|
|
17823
|
-
"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(
|
|
17824
|
-
I.prototype[
|
|
17823
|
+
"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(N) {
|
|
17824
|
+
I.prototype[N] = function() {
|
|
17825
17825
|
return null;
|
|
17826
17826
|
};
|
|
17827
17827
|
});
|
|
17828
|
-
function N
|
|
17829
|
-
|
|
17828
|
+
function k(N, L) {
|
|
17829
|
+
N.currentElement ? N.currentElement.appendChild(L) : N.doc.appendChild(L);
|
|
17830
17830
|
}
|
|
17831
17831
|
return domParser.__DOMHandler = I, domParser.normalizeLineEndings = y, domParser.DOMParser = b, domParser;
|
|
17832
17832
|
}
|
|
@@ -17878,15 +17878,15 @@ function requireTogeojson() {
|
|
|
17878
17878
|
ae = E(H, K[ie]), ae && (ee[K[ie]] = S(ae));
|
|
17879
17879
|
return ee;
|
|
17880
17880
|
}
|
|
17881
|
-
function
|
|
17881
|
+
function k(H, K) {
|
|
17882
17882
|
for (var ee in K) H[ee] = K[ee];
|
|
17883
17883
|
}
|
|
17884
|
-
function
|
|
17884
|
+
function N(H) {
|
|
17885
17885
|
return x(H.replace(a, "").split(","));
|
|
17886
17886
|
}
|
|
17887
17887
|
function L(H) {
|
|
17888
17888
|
for (var K = H.replace(s, "").split(d), ee = [], ae = 0; ae < K.length; ae++)
|
|
17889
|
-
ee.push(
|
|
17889
|
+
ee.push(N(K[ae]));
|
|
17890
17890
|
return ee;
|
|
17891
17891
|
}
|
|
17892
17892
|
function M(H) {
|
|
@@ -17961,7 +17961,7 @@ function requireTogeojson() {
|
|
|
17961
17961
|
if (de = q[Oe], te[Ae] === "Point")
|
|
17962
17962
|
Fe.push({
|
|
17963
17963
|
type: "Point",
|
|
17964
|
-
coordinates:
|
|
17964
|
+
coordinates: N(S(E(de, "coordinates")))
|
|
17965
17965
|
});
|
|
17966
17966
|
else if (te[Ae] === "LineString")
|
|
17967
17967
|
Fe.push({
|
|
@@ -18075,7 +18075,7 @@ function requireTogeojson() {
|
|
|
18075
18075
|
}
|
|
18076
18076
|
if (Ie.length !== 0) {
|
|
18077
18077
|
var de = xe(ge);
|
|
18078
|
-
return
|
|
18078
|
+
return k(de, Re(E(ge, "extensions"))), De.length && (de.coordTimes = Ie.length === 1 ? De[0] : De), Pe.length && (de.heartRates = Ie.length === 1 ? Pe[0] : Pe), {
|
|
18079
18079
|
type: "Feature",
|
|
18080
18080
|
properties: de,
|
|
18081
18081
|
geometry: {
|
|
@@ -18089,7 +18089,7 @@ function requireTogeojson() {
|
|
|
18089
18089
|
var pe = he(ge, "rtept");
|
|
18090
18090
|
if (pe.line) {
|
|
18091
18091
|
var Ie = xe(ge);
|
|
18092
|
-
|
|
18092
|
+
k(Ie, Re(E(ge, "extensions")));
|
|
18093
18093
|
var De = {
|
|
18094
18094
|
type: "Feature",
|
|
18095
18095
|
properties: Ie,
|
|
@@ -18103,7 +18103,7 @@ function requireTogeojson() {
|
|
|
18103
18103
|
}
|
|
18104
18104
|
function ce(ge) {
|
|
18105
18105
|
var pe = xe(ge);
|
|
18106
|
-
return
|
|
18106
|
+
return k(pe, T(ge, ["sym"])), {
|
|
18107
18107
|
type: "Feature",
|
|
18108
18108
|
properties: pe,
|
|
18109
18109
|
geometry: {
|
|
@@ -18127,7 +18127,7 @@ function requireTogeojson() {
|
|
|
18127
18127
|
var pe = T(ge, ["name", "cmt", "desc", "type", "time", "keywords"]), Ie = m(ge, "link");
|
|
18128
18128
|
Ie.length && (pe.links = []);
|
|
18129
18129
|
for (var De = 0, Pe; De < Ie.length; De++)
|
|
18130
|
-
Pe = { href: y(Ie[De], "href") },
|
|
18130
|
+
Pe = { href: y(Ie[De], "href") }, k(Pe, T(Ie[De], ["text", "type"])), pe.links.push(Pe);
|
|
18131
18131
|
return pe;
|
|
18132
18132
|
}
|
|
18133
18133
|
return te;
|
|
@@ -18139,7 +18139,7 @@ function requireTogeojson() {
|
|
|
18139
18139
|
})(togeojson)), togeojson.exports;
|
|
18140
18140
|
}
|
|
18141
18141
|
var togeojsonExports = requireTogeojson();
|
|
18142
|
-
const KMLConvert = /* @__PURE__ */ getDefaultExportFromCjs$1(togeojsonExports), bundle$
|
|
18142
|
+
const KMLConvert = /* @__PURE__ */ getDefaultExportFromCjs$1(togeojsonExports), bundle$n = {
|
|
18143
18143
|
name: "addData",
|
|
18144
18144
|
getReducer() {
|
|
18145
18145
|
const e = {
|
|
@@ -18260,10 +18260,10 @@ const KMLConvert = /* @__PURE__ */ getDefaultExportFromCjs$1(togeojsonExports),
|
|
|
18260
18260
|
if (e.addData.shouldAddListeners)
|
|
18261
18261
|
return { actionCreator: "doAddMapDragDropListeners" };
|
|
18262
18262
|
}
|
|
18263
|
-
}, plugin$
|
|
18263
|
+
}, plugin$s = {
|
|
18264
18264
|
pluginName: "Add Data",
|
|
18265
18265
|
enabled: !0,
|
|
18266
|
-
bundle: bundle$
|
|
18266
|
+
bundle: bundle$n,
|
|
18267
18267
|
components: [{
|
|
18268
18268
|
component: AddDataButton$1,
|
|
18269
18269
|
region: "basic-toolbar",
|
|
@@ -18346,7 +18346,7 @@ function formatUrl$1(e) {
|
|
|
18346
18346
|
a !== "root" && r.push(a + "=" + e[a].toString());
|
|
18347
18347
|
return t += r.join("&"), t;
|
|
18348
18348
|
}
|
|
18349
|
-
const bundle$
|
|
18349
|
+
const bundle$m = {
|
|
18350
18350
|
name: "arcGisRestIdent",
|
|
18351
18351
|
getReducer() {
|
|
18352
18352
|
const e = {
|
|
@@ -18386,10 +18386,10 @@ const bundle$l = {
|
|
|
18386
18386
|
const E = b.mapLayer.getSource(), I = E.getUrl ? E.getUrl() : E.getUrls()[0], x = b.layerList;
|
|
18387
18387
|
m.layers = `all:${x}`;
|
|
18388
18388
|
const S = Object.assign({}, m, { root: I }), T = formatUrl$1(S);
|
|
18389
|
-
y.push((
|
|
18390
|
-
r(T, (
|
|
18391
|
-
if (
|
|
18392
|
-
|
|
18389
|
+
y.push((k) => {
|
|
18390
|
+
r(T, (N, L, M) => {
|
|
18391
|
+
if (N || L.statusCode !== 200)
|
|
18392
|
+
k(`Error for ${b.displayName}`);
|
|
18393
18393
|
else
|
|
18394
18394
|
try {
|
|
18395
18395
|
let G = JSON.parse(M);
|
|
@@ -18406,7 +18406,7 @@ const bundle$l = {
|
|
|
18406
18406
|
for (const [V, Y] of Object.entries(U.attributes))
|
|
18407
18407
|
for (const [X, Q] of Object.entries(b.identifyRenameColums))
|
|
18408
18408
|
V === X && (U.attributes[Q] = U.attributes[V], delete U.attributes[V]);
|
|
18409
|
-
}),
|
|
18409
|
+
}), k(null, {
|
|
18410
18410
|
dataset: b.uid,
|
|
18411
18411
|
layerName: b.displayName,
|
|
18412
18412
|
err: null,
|
|
@@ -18425,7 +18425,7 @@ const bundle$l = {
|
|
|
18425
18425
|
}
|
|
18426
18426
|
});
|
|
18427
18427
|
} catch (G) {
|
|
18428
|
-
|
|
18428
|
+
k(`Error for ${b.displayName}`, G);
|
|
18429
18429
|
}
|
|
18430
18430
|
});
|
|
18431
18431
|
});
|
|
@@ -18438,10 +18438,10 @@ const bundle$l = {
|
|
|
18438
18438
|
if (e.arcGisRestIdent.shouldRegister)
|
|
18439
18439
|
return { actionCreator: "doArcGisRestIdentRegister" };
|
|
18440
18440
|
}
|
|
18441
|
-
}, plugin$
|
|
18441
|
+
}, plugin$r = {
|
|
18442
18442
|
pluginName: "Identify ArcGIS Rest",
|
|
18443
18443
|
enabled: !0,
|
|
18444
|
-
bundle: bundle$
|
|
18444
|
+
bundle: bundle$m,
|
|
18445
18445
|
components: []
|
|
18446
18446
|
};
|
|
18447
18447
|
class BasemapItem extends React__default.Component {
|
|
@@ -18509,7 +18509,7 @@ class BasemapSwitcherButton extends React__default.Component {
|
|
|
18509
18509
|
);
|
|
18510
18510
|
}
|
|
18511
18511
|
}
|
|
18512
|
-
const plugin$
|
|
18512
|
+
const plugin$q = {
|
|
18513
18513
|
pluginName: "BasemapSwitcher",
|
|
18514
18514
|
enabled: !0,
|
|
18515
18515
|
components: [{
|
|
@@ -18757,7 +18757,7 @@ class BookmarkButton extends React__default.Component {
|
|
|
18757
18757
|
);
|
|
18758
18758
|
}
|
|
18759
18759
|
}
|
|
18760
|
-
const bundle$
|
|
18760
|
+
const bundle$l = {
|
|
18761
18761
|
name: "bookmarks",
|
|
18762
18762
|
getReducer: () => {
|
|
18763
18763
|
const e = {
|
|
@@ -18798,10 +18798,10 @@ const bundle$k = {
|
|
|
18798
18798
|
selectBookmarksIsAnimating: (e) => e.bookmarks.isAnimating,
|
|
18799
18799
|
selectBookmarkAnimationIdx: (e) => e.bookmarks.animIdx,
|
|
18800
18800
|
persistActions: ["BOOKMARK_SAVED", "BOOKMARK_DELETED"]
|
|
18801
|
-
}, plugin$
|
|
18801
|
+
}, plugin$p = {
|
|
18802
18802
|
pluginName: "Bookmarks",
|
|
18803
18803
|
enabled: !0,
|
|
18804
|
-
bundle: bundle$
|
|
18804
|
+
bundle: bundle$l,
|
|
18805
18805
|
components: [{
|
|
18806
18806
|
component: BookmarkButton,
|
|
18807
18807
|
region: "left-sidebar-top",
|
|
@@ -18922,7 +18922,7 @@ function _objectWithoutProperties(e, t) {
|
|
|
18922
18922
|
}
|
|
18923
18923
|
var _excluded$6 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
18924
18924
|
function useStateManager(e) {
|
|
18925
|
-
var t = e.defaultInputValue, r = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, s = a === void 0 ? !1 : a, d = e.defaultValue, g = d === void 0 ? null : d, m = e.inputValue, y = e.menuIsOpen, b = e.onChange, E = e.onInputChange, I = e.onMenuClose, x = e.onMenuOpen, S = e.value, T = _objectWithoutProperties(e, _excluded$6),
|
|
18925
|
+
var t = e.defaultInputValue, r = t === void 0 ? "" : t, a = e.defaultMenuIsOpen, s = a === void 0 ? !1 : a, d = e.defaultValue, g = d === void 0 ? null : d, m = e.inputValue, y = e.menuIsOpen, b = e.onChange, E = e.onInputChange, I = e.onMenuClose, x = e.onMenuOpen, S = e.value, T = _objectWithoutProperties(e, _excluded$6), k = useState$1(m !== void 0 ? m : r), N = _slicedToArray(k, 2), L = N[0], M = N[1], G = useState$1(y !== void 0 ? y : s), U = _slicedToArray(G, 2), V = U[0], Y = U[1], X = useState$1(S !== void 0 ? S : g), Q = _slicedToArray(X, 2), H = Q[0], K = Q[1], ee = useCallback(function(ve, Ee) {
|
|
18926
18926
|
typeof b == "function" && b(ve, Ee), K(ve);
|
|
18927
18927
|
}, [b]), ae = useCallback(function(ve, Ee) {
|
|
18928
18928
|
var ce;
|
|
@@ -19223,7 +19223,7 @@ function compile$1(e) {
|
|
|
19223
19223
|
return dealloc(parse("", null, null, null, [""], e = alloc(e), 0, [0], e));
|
|
19224
19224
|
}
|
|
19225
19225
|
function parse(e, t, r, a, s, d, g, m, y) {
|
|
19226
|
-
for (var b = 0, E = 0, I = g, x = 0, S = 0, T = 0,
|
|
19226
|
+
for (var b = 0, E = 0, I = g, x = 0, S = 0, T = 0, k = 1, N = 1, L = 1, M = 0, G = "", U = s, V = d, Y = a, X = G; N; )
|
|
19227
19227
|
switch (T = M, M = next()) {
|
|
19228
19228
|
// (
|
|
19229
19229
|
case 40:
|
|
@@ -19260,17 +19260,17 @@ function parse(e, t, r, a, s, d, g, m, y) {
|
|
|
19260
19260
|
}
|
|
19261
19261
|
break;
|
|
19262
19262
|
// {
|
|
19263
|
-
case 123 *
|
|
19263
|
+
case 123 * k:
|
|
19264
19264
|
m[b++] = strlen(X) * L;
|
|
19265
19265
|
// } ; \0
|
|
19266
|
-
case 125 *
|
|
19266
|
+
case 125 * k:
|
|
19267
19267
|
case 59:
|
|
19268
19268
|
case 0:
|
|
19269
19269
|
switch (M) {
|
|
19270
19270
|
// \0 }
|
|
19271
19271
|
case 0:
|
|
19272
19272
|
case 125:
|
|
19273
|
-
|
|
19273
|
+
N = 0;
|
|
19274
19274
|
// ;
|
|
19275
19275
|
case 59 + E:
|
|
19276
19276
|
L == -1 && (X = replace$1(X, /\f/g, "")), S > 0 && strlen(X) - I && append(S > 32 ? declaration$1(X + ";", a, r, I - 1) : declaration$1(replace$1(X, " ", "") + ";", a, r, I - 2), y);
|
|
@@ -19296,19 +19296,19 @@ function parse(e, t, r, a, s, d, g, m, y) {
|
|
|
19296
19296
|
parse(X, Y, Y, Y, [""], V, 0, m, V);
|
|
19297
19297
|
}
|
|
19298
19298
|
}
|
|
19299
|
-
b = E = S = 0,
|
|
19299
|
+
b = E = S = 0, k = L = 1, G = X = "", I = g;
|
|
19300
19300
|
break;
|
|
19301
19301
|
// :
|
|
19302
19302
|
case 58:
|
|
19303
19303
|
I = 1 + strlen(X), S = T;
|
|
19304
19304
|
default:
|
|
19305
|
-
if (
|
|
19305
|
+
if (k < 1) {
|
|
19306
19306
|
if (M == 123)
|
|
19307
|
-
--
|
|
19308
|
-
else if (M == 125 &&
|
|
19307
|
+
--k;
|
|
19308
|
+
else if (M == 125 && k++ == 0 && prev() == 125)
|
|
19309
19309
|
continue;
|
|
19310
19310
|
}
|
|
19311
|
-
switch (X += from(M), M *
|
|
19311
|
+
switch (X += from(M), M * k) {
|
|
19312
19312
|
// &
|
|
19313
19313
|
case 38:
|
|
19314
19314
|
L = E > 0 ? 1 : (X += "\f", -1);
|
|
@@ -19323,15 +19323,15 @@ function parse(e, t, r, a, s, d, g, m, y) {
|
|
|
19323
19323
|
break;
|
|
19324
19324
|
// -
|
|
19325
19325
|
case 45:
|
|
19326
|
-
T === 45 && strlen(X) == 2 && (
|
|
19326
|
+
T === 45 && strlen(X) == 2 && (k = 0);
|
|
19327
19327
|
}
|
|
19328
19328
|
}
|
|
19329
19329
|
return d;
|
|
19330
19330
|
}
|
|
19331
19331
|
function ruleset(e, t, r, a, s, d, g, m, y, b, E) {
|
|
19332
|
-
for (var I = s - 1, x = s === 0 ? d : [""], S = sizeof(x), T = 0,
|
|
19333
|
-
for (var L = 0, M = substr(e, I + 1, I = abs(
|
|
19334
|
-
(G = trim(
|
|
19332
|
+
for (var I = s - 1, x = s === 0 ? d : [""], S = sizeof(x), T = 0, k = 0, N = 0; T < a; ++T)
|
|
19333
|
+
for (var L = 0, M = substr(e, I + 1, I = abs(k = g[T])), G = e; L < S; ++L)
|
|
19334
|
+
(G = trim(k > 0 ? x[L] + " " + M : replace$1(M, /&\f/g, x[L]))) && (y[N++] = G);
|
|
19335
19335
|
return node(e, t, r, s === 0 ? RULESET : m, y, b, E);
|
|
19336
19336
|
}
|
|
19337
19337
|
function comment$1(e, t, r) {
|
|
@@ -19605,9 +19605,9 @@ var prefixer = function e(t, r, a, s) {
|
|
|
19605
19605
|
var r = t.key;
|
|
19606
19606
|
if (r === "css") {
|
|
19607
19607
|
var a = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
19608
|
-
Array.prototype.forEach.call(a, function(
|
|
19609
|
-
var
|
|
19610
|
-
|
|
19608
|
+
Array.prototype.forEach.call(a, function(k) {
|
|
19609
|
+
var N = k.getAttribute("data-emotion");
|
|
19610
|
+
N.indexOf(" ") !== -1 && (document.head.appendChild(k), k.setAttribute("data-s", ""));
|
|
19611
19611
|
});
|
|
19612
19612
|
}
|
|
19613
19613
|
var s = t.stylisPlugins || defaultStylisPlugins, d = {}, g, m = [];
|
|
@@ -19615,21 +19615,21 @@ var prefixer = function e(t, r, a, s) {
|
|
|
19615
19615
|
// this means we will ignore elements which don't have a space in them which
|
|
19616
19616
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
19617
19617
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
19618
|
-
function(
|
|
19619
|
-
for (var
|
|
19620
|
-
d[
|
|
19621
|
-
m.push(
|
|
19618
|
+
function(k) {
|
|
19619
|
+
for (var N = k.getAttribute("data-emotion").split(" "), L = 1; L < N.length; L++)
|
|
19620
|
+
d[N[L]] = !0;
|
|
19621
|
+
m.push(k);
|
|
19622
19622
|
}
|
|
19623
19623
|
);
|
|
19624
19624
|
var y, b = [compat, removeLabel];
|
|
19625
19625
|
{
|
|
19626
|
-
var E, I = [stringify, rulesheet(function(
|
|
19627
|
-
E.insert(
|
|
19628
|
-
})], x = middleware(b.concat(s, I)), S = function(
|
|
19629
|
-
return serialize(compile$1(
|
|
19626
|
+
var E, I = [stringify, rulesheet(function(k) {
|
|
19627
|
+
E.insert(k);
|
|
19628
|
+
})], x = middleware(b.concat(s, I)), S = function(N) {
|
|
19629
|
+
return serialize(compile$1(N), x);
|
|
19630
19630
|
};
|
|
19631
|
-
y = function(
|
|
19632
|
-
E = M, S(
|
|
19631
|
+
y = function(N, L, M, G) {
|
|
19632
|
+
E = M, S(N ? N + "{" + L.styles + "}" : L.styles), G && (T.inserted[L.name] = !0);
|
|
19633
19633
|
};
|
|
19634
19634
|
}
|
|
19635
19635
|
var T = {
|
|
@@ -19653,7 +19653,7 @@ var hasRequiredReactIs_production_min;
|
|
|
19653
19653
|
function requireReactIs_production_min() {
|
|
19654
19654
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
19655
19655
|
hasRequiredReactIs_production_min = 1;
|
|
19656
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, d = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, g = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, m = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, I = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116,
|
|
19656
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, d = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, g = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, m = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, I = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, k = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, N = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, L = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
19657
19657
|
function G(V) {
|
|
19658
19658
|
if (typeof V == "object" && V !== null) {
|
|
19659
19659
|
var Y = V.$$typeof;
|
|
@@ -19712,16 +19712,16 @@ function requireReactIs_production_min() {
|
|
|
19712
19712
|
}, reactIs_production_min.isSuspense = function(V) {
|
|
19713
19713
|
return G(V) === I;
|
|
19714
19714
|
}, reactIs_production_min.isValidElementType = function(V) {
|
|
19715
|
-
return typeof V == "string" || typeof V == "function" || V === a || V === b || V === d || V === s || V === I || V === x || typeof V == "object" && V !== null && (V.$$typeof === T || V.$$typeof === S || V.$$typeof === g || V.$$typeof === m || V.$$typeof === E || V.$$typeof ===
|
|
19715
|
+
return typeof V == "string" || typeof V == "function" || V === a || V === b || V === d || V === s || V === I || V === x || typeof V == "object" && V !== null && (V.$$typeof === T || V.$$typeof === S || V.$$typeof === g || V.$$typeof === m || V.$$typeof === E || V.$$typeof === N || V.$$typeof === L || V.$$typeof === M || V.$$typeof === k);
|
|
19716
19716
|
}, reactIs_production_min.typeOf = G, reactIs_production_min;
|
|
19717
19717
|
}
|
|
19718
19718
|
var reactIs_development = {}, hasRequiredReactIs_development;
|
|
19719
19719
|
function requireReactIs_development() {
|
|
19720
19720
|
return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process$1.env.NODE_ENV !== "production" && (function() {
|
|
19721
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, d = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, g = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, m = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, I = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116,
|
|
19721
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, a = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, s = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, d = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, g = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, m = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, y = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, b = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, E = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, I = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, x = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, S = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, k = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, N = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, L = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, M = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
19722
19722
|
function G(q) {
|
|
19723
19723
|
return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
19724
|
-
q === a || q === b || q === d || q === s || q === I || q === x || typeof q == "object" && q !== null && (q.$$typeof === T || q.$$typeof === S || q.$$typeof === g || q.$$typeof === m || q.$$typeof === E || q.$$typeof ===
|
|
19724
|
+
q === a || q === b || q === d || q === s || q === I || q === x || typeof q == "object" && q !== null && (q.$$typeof === T || q.$$typeof === S || q.$$typeof === g || q.$$typeof === m || q.$$typeof === E || q.$$typeof === N || q.$$typeof === L || q.$$typeof === M || q.$$typeof === k);
|
|
19725
19725
|
}
|
|
19726
19726
|
function U(q) {
|
|
19727
19727
|
if (typeof q == "object" && q !== null) {
|
|
@@ -19845,18 +19845,18 @@ function requireHoistNonReactStatics_cjs() {
|
|
|
19845
19845
|
return e.isMemo(T) ? s : d[T.$$typeof] || t;
|
|
19846
19846
|
}
|
|
19847
19847
|
var m = Object.defineProperty, y = Object.getOwnPropertyNames, b = Object.getOwnPropertySymbols, E = Object.getOwnPropertyDescriptor, I = Object.getPrototypeOf, x = Object.prototype;
|
|
19848
|
-
function S(T,
|
|
19849
|
-
if (typeof
|
|
19848
|
+
function S(T, k, N) {
|
|
19849
|
+
if (typeof k != "string") {
|
|
19850
19850
|
if (x) {
|
|
19851
|
-
var L = I(
|
|
19852
|
-
L && L !== x && S(T, L,
|
|
19851
|
+
var L = I(k);
|
|
19852
|
+
L && L !== x && S(T, L, N);
|
|
19853
19853
|
}
|
|
19854
|
-
var M = y(
|
|
19855
|
-
b && (M = M.concat(b(
|
|
19856
|
-
for (var G = g(T), U = g(
|
|
19854
|
+
var M = y(k);
|
|
19855
|
+
b && (M = M.concat(b(k)));
|
|
19856
|
+
for (var G = g(T), U = g(k), V = 0; V < M.length; ++V) {
|
|
19857
19857
|
var Y = M[V];
|
|
19858
|
-
if (!r[Y] && !(
|
|
19859
|
-
var X = E(
|
|
19858
|
+
if (!r[Y] && !(N && N[Y]) && !(U && U[Y]) && !(G && G[Y])) {
|
|
19859
|
+
var X = E(k, Y);
|
|
19860
19860
|
try {
|
|
19861
19861
|
m(T, Y, X);
|
|
19862
19862
|
} catch {
|
|
@@ -20312,10 +20312,10 @@ function getBoundingClientRect(e, t, r, a) {
|
|
|
20312
20312
|
let y = (s.left + m.x) / g.x, b = (s.top + m.y) / g.y, E = s.width / g.x, I = s.height / g.y;
|
|
20313
20313
|
if (d) {
|
|
20314
20314
|
const x = getWindow(d), S = a;
|
|
20315
|
-
let T = x,
|
|
20316
|
-
for (;
|
|
20317
|
-
const
|
|
20318
|
-
y *=
|
|
20315
|
+
let T = x, k = getFrameElement(T);
|
|
20316
|
+
for (; k && a && S !== T; ) {
|
|
20317
|
+
const N = getScale(k), L = k.getBoundingClientRect(), M = getComputedStyle$1(k), G = L.left + (k.clientLeft + parseFloat(M.paddingLeft)) * N.x, U = L.top + (k.clientTop + parseFloat(M.paddingTop)) * N.y;
|
|
20318
|
+
y *= N.x, b *= N.y, E *= N.x, I *= N.y, y += G, b += U, T = getWindow(k), k = getFrameElement(T);
|
|
20319
20319
|
}
|
|
20320
20320
|
}
|
|
20321
20321
|
return rectToClientRect({
|
|
@@ -20345,8 +20345,8 @@ function observeMove(e, t) {
|
|
|
20345
20345
|
} = b;
|
|
20346
20346
|
if (m || t(), !x || !S)
|
|
20347
20347
|
return;
|
|
20348
|
-
const T = floor$1(I),
|
|
20349
|
-
rootMargin: -T + "px " + -
|
|
20348
|
+
const T = floor$1(I), k = floor$1(s.clientWidth - (E + x)), N = floor$1(s.clientHeight - (I + S)), L = floor$1(E), G = {
|
|
20349
|
+
rootMargin: -T + "px " + -k + "px " + -N + "px " + -L + "px",
|
|
20350
20350
|
threshold: max$1(0, min(1, y)) || 1
|
|
20351
20351
|
};
|
|
20352
20352
|
let U = !0;
|
|
@@ -20397,11 +20397,11 @@ function autoUpdate(e, t, r, a) {
|
|
|
20397
20397
|
(G = S) == null || G.observe(t);
|
|
20398
20398
|
})), r();
|
|
20399
20399
|
}), b && !y && S.observe(b), t && S.observe(t));
|
|
20400
|
-
let T,
|
|
20401
|
-
y &&
|
|
20402
|
-
function
|
|
20400
|
+
let T, k = y ? getBoundingClientRect(e) : null;
|
|
20401
|
+
y && N();
|
|
20402
|
+
function N() {
|
|
20403
20403
|
const L = getBoundingClientRect(e);
|
|
20404
|
-
|
|
20404
|
+
k && !rectsAreEqual(k, L) && r(), k = L, T = requestAnimationFrame(N);
|
|
20405
20405
|
}
|
|
20406
20406
|
return r(), () => {
|
|
20407
20407
|
var L;
|
|
@@ -20546,7 +20546,7 @@ function getMenuPlacement(e) {
|
|
|
20546
20546
|
maxHeight: t
|
|
20547
20547
|
};
|
|
20548
20548
|
if (!r || !r.offsetParent) return b;
|
|
20549
|
-
var E = y.getBoundingClientRect(), I = E.height, x = r.getBoundingClientRect(), S = x.bottom, T = x.height,
|
|
20549
|
+
var E = y.getBoundingClientRect(), I = E.height, x = r.getBoundingClientRect(), S = x.bottom, T = x.height, k = x.top, N = r.offsetParent.getBoundingClientRect(), L = N.top, M = g ? window.innerHeight : normalizedHeight(y), G = getScrollTop(y), U = parseInt(getComputedStyle(r).marginBottom, 10), V = parseInt(getComputedStyle(r).marginTop, 10), Y = L - V, X = M - k, Q = Y + G, H = I - G - k, K = S - M + G + U, ee = G + k - V, ae = 160;
|
|
20550
20550
|
switch (s) {
|
|
20551
20551
|
case "auto":
|
|
20552
20552
|
case "bottom":
|
|
@@ -20629,7 +20629,7 @@ var coercePlacement = function e(t) {
|
|
|
20629
20629
|
marginTop: m.menuGutter
|
|
20630
20630
|
});
|
|
20631
20631
|
}, PortalPlacementContext = /* @__PURE__ */ createContext(null), MenuPlacer = function e(t) {
|
|
20632
|
-
var r = t.children, a = t.minMenuHeight, s = t.maxMenuHeight, d = t.menuPlacement, g = t.menuPosition, m = t.menuShouldScrollIntoView, y = t.theme, b = useContext$1(PortalPlacementContext) || {}, E = b.setPortalPlacement, I = useRef(null), x = useState$1(s), S = _slicedToArray(x, 2), T = S[0],
|
|
20632
|
+
var r = t.children, a = t.minMenuHeight, s = t.maxMenuHeight, d = t.menuPlacement, g = t.menuPosition, m = t.menuShouldScrollIntoView, y = t.theme, b = useContext$1(PortalPlacementContext) || {}, E = b.setPortalPlacement, I = useRef(null), x = useState$1(s), S = _slicedToArray(x, 2), T = S[0], k = S[1], N = useState$1(null), L = _slicedToArray(N, 2), M = L[0], G = L[1], U = y.spacing.controlHeight;
|
|
20633
20633
|
return index(function() {
|
|
20634
20634
|
var V = I.current;
|
|
20635
20635
|
if (V) {
|
|
@@ -20642,7 +20642,7 @@ var coercePlacement = function e(t) {
|
|
|
20642
20642
|
isFixedPosition: Y,
|
|
20643
20643
|
controlHeight: U
|
|
20644
20644
|
});
|
|
20645
|
-
|
|
20645
|
+
k(Q.maxHeight), G(Q.placement), E?.(Q.placement);
|
|
20646
20646
|
}
|
|
20647
20647
|
}, [s, d, g, m, a, E, U]), r({
|
|
20648
20648
|
ref: I,
|
|
@@ -20718,7 +20718,7 @@ var coercePlacement = function e(t) {
|
|
|
20718
20718
|
return {
|
|
20719
20719
|
setPortalPlacement: S
|
|
20720
20720
|
};
|
|
20721
|
-
}, []),
|
|
20721
|
+
}, []), k = useState$1(null), N = _slicedToArray(k, 2), L = N[0], M = N[1], G = useCallback(function() {
|
|
20722
20722
|
if (s) {
|
|
20723
20723
|
var X = getBoundingClientObj(s), Q = m === "fixed" ? 0 : window.pageYOffset, H = X[x] + Q;
|
|
20724
20724
|
(H !== L?.offset || X.left !== L?.rect.left || X.width !== L?.rect.width) && M({
|
|
@@ -21304,8 +21304,8 @@ var _ref = process$1.env.NODE_ENV === "production" ? {
|
|
|
21304
21304
|
}
|
|
21305
21305
|
},
|
|
21306
21306
|
onFocus: function e(t) {
|
|
21307
|
-
var r = t.context, a = t.focused, s = t.options, d = t.label, g = d === void 0 ? "" : d, m = t.selectValue, y = t.isDisabled, b = t.isSelected, E = t.isAppleDevice, I = function(
|
|
21308
|
-
return
|
|
21307
|
+
var r = t.context, a = t.focused, s = t.options, d = t.label, g = d === void 0 ? "" : d, m = t.selectValue, y = t.isDisabled, b = t.isSelected, E = t.isAppleDevice, I = function(k, N) {
|
|
21308
|
+
return k && k.length ? "".concat(k.indexOf(N) + 1, " of ").concat(k.length) : "";
|
|
21309
21309
|
};
|
|
21310
21310
|
if (r === "value" && m)
|
|
21311
21311
|
return "value ".concat(g, " focused, ").concat(I(m, a), ".");
|
|
@@ -21320,7 +21320,7 @@ var _ref = process$1.env.NODE_ENV === "production" ? {
|
|
|
21320
21320
|
return "".concat(a).concat(r ? " for search term " + r : "", ".");
|
|
21321
21321
|
}
|
|
21322
21322
|
}, LiveRegion = function e(t) {
|
|
21323
|
-
var r = t.ariaSelection, a = t.focusedOption, s = t.focusedValue, d = t.focusableOptions, g = t.isFocused, m = t.selectValue, y = t.selectProps, b = t.id, E = t.isAppleDevice, I = y.ariaLiveMessages, x = y.getOptionLabel, S = y.inputValue, T = y.isMulti,
|
|
21323
|
+
var r = t.ariaSelection, a = t.focusedOption, s = t.focusedValue, d = t.focusableOptions, g = t.isFocused, m = t.selectValue, y = t.selectProps, b = t.id, E = t.isAppleDevice, I = y.ariaLiveMessages, x = y.getOptionLabel, S = y.inputValue, T = y.isMulti, k = y.isOptionDisabled, N = y.isSearchable, L = y.menuIsOpen, M = y.options, G = y.screenReaderStatus, U = y.tabSelectsValue, V = y.isLoading, Y = y["aria-label"], X = y["aria-live"], Q = useMemo$1(function() {
|
|
21324
21324
|
return _objectSpread2(_objectSpread2({}, defaultAriaLiveMessages), I || {});
|
|
21325
21325
|
}, [I]), H = useMemo$1(function() {
|
|
21326
21326
|
var ue = "";
|
|
@@ -21330,20 +21330,20 @@ var _ref = process$1.env.NODE_ENV === "production" ? {
|
|
|
21330
21330
|
}, xe = ve || le || Re(ce), ge = xe ? x(xe) : "", pe = he || Ee || void 0, Ie = pe ? pe.map(x) : [], De = _objectSpread2({
|
|
21331
21331
|
// multiSelected items are usually items that have already been selected
|
|
21332
21332
|
// or set by the user as a default value so we assume they are not disabled
|
|
21333
|
-
isDisabled: xe &&
|
|
21333
|
+
isDisabled: xe && k(xe, m),
|
|
21334
21334
|
label: ge,
|
|
21335
21335
|
labels: Ie
|
|
21336
21336
|
}, r);
|
|
21337
21337
|
ue = Q.onChange(De);
|
|
21338
21338
|
}
|
|
21339
21339
|
return ue;
|
|
21340
|
-
}, [r, Q,
|
|
21340
|
+
}, [r, Q, k, m, x]), K = useMemo$1(function() {
|
|
21341
21341
|
var ue = "", le = a || s, he = !!(a && m && m.includes(a));
|
|
21342
21342
|
if (le && Q.onFocus) {
|
|
21343
21343
|
var ve = {
|
|
21344
21344
|
focused: le,
|
|
21345
21345
|
label: x(le),
|
|
21346
|
-
isDisabled:
|
|
21346
|
+
isDisabled: k(le, m),
|
|
21347
21347
|
isSelected: he,
|
|
21348
21348
|
options: d,
|
|
21349
21349
|
context: le === a ? "menu" : "value",
|
|
@@ -21353,7 +21353,7 @@ var _ref = process$1.env.NODE_ENV === "production" ? {
|
|
|
21353
21353
|
ue = Q.onFocus(ve);
|
|
21354
21354
|
}
|
|
21355
21355
|
return ue;
|
|
21356
|
-
}, [a, s, x,
|
|
21356
|
+
}, [a, s, x, k, Q, d, m, E]), ee = useMemo$1(function() {
|
|
21357
21357
|
var ue = "";
|
|
21358
21358
|
if (L && M.length && !V && Q.onFilter) {
|
|
21359
21359
|
var le = G({
|
|
@@ -21372,15 +21372,15 @@ var _ref = process$1.env.NODE_ENV === "production" ? {
|
|
|
21372
21372
|
ue = Q.guidance({
|
|
21373
21373
|
"aria-label": Y,
|
|
21374
21374
|
context: le,
|
|
21375
|
-
isDisabled: a &&
|
|
21375
|
+
isDisabled: a && k(a, m),
|
|
21376
21376
|
isMulti: T,
|
|
21377
|
-
isSearchable:
|
|
21377
|
+
isSearchable: N,
|
|
21378
21378
|
tabSelectsValue: U,
|
|
21379
21379
|
isInitialFocus: ae
|
|
21380
21380
|
});
|
|
21381
21381
|
}
|
|
21382
21382
|
return ue;
|
|
21383
|
-
}, [Y, a, s, T,
|
|
21383
|
+
}, [Y, a, s, T, k, N, L, Q, m, U, ae]), te = jsx(Fragment$1, null, jsx("span", {
|
|
21384
21384
|
id: "aria-selection"
|
|
21385
21385
|
}, H), jsx("span", {
|
|
21386
21386
|
id: "aria-focused"
|
|
@@ -21708,37 +21708,37 @@ var cancelScroll = function e(t) {
|
|
|
21708
21708
|
t.cancelable && t.preventDefault(), t.stopPropagation();
|
|
21709
21709
|
};
|
|
21710
21710
|
function useScrollCapture(e) {
|
|
21711
|
-
var t = e.isEnabled, r = e.onBottomArrive, a = e.onBottomLeave, s = e.onTopArrive, d = e.onTopLeave, g = useRef(!1), m = useRef(!1), y = useRef(0), b = useRef(null), E = useCallback(function(
|
|
21711
|
+
var t = e.isEnabled, r = e.onBottomArrive, a = e.onBottomLeave, s = e.onTopArrive, d = e.onTopLeave, g = useRef(!1), m = useRef(!1), y = useRef(0), b = useRef(null), E = useCallback(function(N, L) {
|
|
21712
21712
|
if (b.current !== null) {
|
|
21713
21713
|
var M = b.current, G = M.scrollTop, U = M.scrollHeight, V = M.clientHeight, Y = b.current, X = L > 0, Q = U - V - G, H = !1;
|
|
21714
|
-
Q > L && g.current && (a && a(
|
|
21715
|
-
}
|
|
21716
|
-
}, [r, a, s, d]), I = useCallback(function(
|
|
21717
|
-
E(
|
|
21718
|
-
}, [E]), x = useCallback(function(
|
|
21719
|
-
y.current =
|
|
21720
|
-
}, []), S = useCallback(function(
|
|
21721
|
-
var L = y.current -
|
|
21722
|
-
E(
|
|
21723
|
-
}, [E]), T = useCallback(function(
|
|
21724
|
-
if (
|
|
21714
|
+
Q > L && g.current && (a && a(N), g.current = !1), X && m.current && (d && d(N), m.current = !1), X && L > Q ? (r && !g.current && r(N), Y.scrollTop = U, H = !0, g.current = !0) : !X && -L > G && (s && !m.current && s(N), Y.scrollTop = 0, H = !0, m.current = !0), H && cancelScroll(N);
|
|
21715
|
+
}
|
|
21716
|
+
}, [r, a, s, d]), I = useCallback(function(N) {
|
|
21717
|
+
E(N, N.deltaY);
|
|
21718
|
+
}, [E]), x = useCallback(function(N) {
|
|
21719
|
+
y.current = N.changedTouches[0].clientY;
|
|
21720
|
+
}, []), S = useCallback(function(N) {
|
|
21721
|
+
var L = y.current - N.changedTouches[0].clientY;
|
|
21722
|
+
E(N, L);
|
|
21723
|
+
}, [E]), T = useCallback(function(N) {
|
|
21724
|
+
if (N) {
|
|
21725
21725
|
var L = supportsPassiveEvents ? {
|
|
21726
21726
|
passive: !1
|
|
21727
21727
|
} : !1;
|
|
21728
|
-
|
|
21728
|
+
N.addEventListener("wheel", I, L), N.addEventListener("touchstart", x, L), N.addEventListener("touchmove", S, L);
|
|
21729
21729
|
}
|
|
21730
|
-
}, [S, x, I]),
|
|
21731
|
-
|
|
21730
|
+
}, [S, x, I]), k = useCallback(function(N) {
|
|
21731
|
+
N && (N.removeEventListener("wheel", I, !1), N.removeEventListener("touchstart", x, !1), N.removeEventListener("touchmove", S, !1));
|
|
21732
21732
|
}, [S, x, I]);
|
|
21733
21733
|
return useEffect$1(function() {
|
|
21734
21734
|
if (t) {
|
|
21735
|
-
var
|
|
21736
|
-
return T(
|
|
21737
|
-
N
|
|
21735
|
+
var N = b.current;
|
|
21736
|
+
return T(N), function() {
|
|
21737
|
+
k(N);
|
|
21738
21738
|
};
|
|
21739
21739
|
}
|
|
21740
|
-
}, [t, T,
|
|
21741
|
-
b.current =
|
|
21740
|
+
}, [t, T, k]), function(N) {
|
|
21741
|
+
b.current = N;
|
|
21742
21742
|
};
|
|
21743
21743
|
}
|
|
21744
21744
|
var STYLE_KEYS = ["boxSizing", "height", "overflow", "paddingRight", "position"], LOCK_STYLES = {
|
|
@@ -21770,13 +21770,13 @@ function useScrollLock(e) {
|
|
|
21770
21770
|
if (canUseDOM) {
|
|
21771
21771
|
var b = document.body, E = b && b.style;
|
|
21772
21772
|
if (a && STYLE_KEYS.forEach(function(T) {
|
|
21773
|
-
var
|
|
21774
|
-
s.current[T] =
|
|
21773
|
+
var k = E && E[T];
|
|
21774
|
+
s.current[T] = k;
|
|
21775
21775
|
}), a && activeScrollLocks < 1) {
|
|
21776
21776
|
var I = parseInt(s.current.paddingRight, 10) || 0, x = document.body ? document.body.clientWidth : 0, S = window.innerWidth - x + I || 0;
|
|
21777
21777
|
Object.keys(LOCK_STYLES).forEach(function(T) {
|
|
21778
|
-
var
|
|
21779
|
-
E && (E[T] =
|
|
21778
|
+
var k = LOCK_STYLES[T];
|
|
21779
|
+
E && (E[T] = k);
|
|
21780
21780
|
}), E && (E.paddingRight = "".concat(S, "px"));
|
|
21781
21781
|
}
|
|
21782
21782
|
b && isTouchDevice() && (b.addEventListener("touchmove", preventTouchMove, listenerOptions), y && (y.addEventListener("touchstart", preventInertiaScroll, listenerOptions), y.addEventListener("touchmove", allowTouchMove, listenerOptions))), activeScrollLocks += 1;
|
|
@@ -22133,13 +22133,13 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22133
22133
|
option: E
|
|
22134
22134
|
});
|
|
22135
22135
|
}, s.selectOption = function(y) {
|
|
22136
|
-
var b = s.props, E = b.blurInputOnSelect, I = b.isMulti, x = b.name, S = s.state.selectValue, T = I && s.isOptionSelected(y, S),
|
|
22136
|
+
var b = s.props, E = b.blurInputOnSelect, I = b.isMulti, x = b.name, S = s.state.selectValue, T = I && s.isOptionSelected(y, S), k = s.isOptionDisabled(y, S);
|
|
22137
22137
|
if (T) {
|
|
22138
|
-
var
|
|
22138
|
+
var N = s.getOptionValue(y);
|
|
22139
22139
|
s.setValue(S.filter(function(L) {
|
|
22140
|
-
return s.getOptionValue(L) !==
|
|
22140
|
+
return s.getOptionValue(L) !== N;
|
|
22141
22141
|
}), "deselect-option", y);
|
|
22142
|
-
} else if (!
|
|
22142
|
+
} else if (!k)
|
|
22143
22143
|
I ? s.setValue([].concat(_toConsumableArray(S), [y]), "select-option", y) : s.setValue(y, "select-option");
|
|
22144
22144
|
else {
|
|
22145
22145
|
s.ariaOnChange(y, {
|
|
@@ -22292,8 +22292,8 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22292
22292
|
}, s.onValueInputFocus = function(y) {
|
|
22293
22293
|
y.preventDefault(), y.stopPropagation(), s.focus();
|
|
22294
22294
|
}, s.onKeyDown = function(y) {
|
|
22295
|
-
var b = s.props, E = b.isMulti, I = b.backspaceRemovesValue, x = b.escapeClearsValue, S = b.inputValue, T = b.isClearable,
|
|
22296
|
-
if (!
|
|
22295
|
+
var b = s.props, E = b.isMulti, I = b.backspaceRemovesValue, x = b.escapeClearsValue, S = b.inputValue, T = b.isClearable, k = b.isDisabled, N = b.menuIsOpen, L = b.onKeyDown, M = b.tabSelectsValue, G = b.openMenuOnFocus, U = s.state, V = U.focusedOption, Y = U.focusedValue, X = U.selectValue;
|
|
22296
|
+
if (!k && !(typeof L == "function" && (L(y), y.defaultPrevented))) {
|
|
22297
22297
|
switch (s.blockOptionHover = !0, y.key) {
|
|
22298
22298
|
case "ArrowLeft":
|
|
22299
22299
|
if (!E || S) return;
|
|
@@ -22314,7 +22314,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22314
22314
|
}
|
|
22315
22315
|
break;
|
|
22316
22316
|
case "Tab":
|
|
22317
|
-
if (s.isComposing || y.shiftKey || !
|
|
22317
|
+
if (s.isComposing || y.shiftKey || !N || !M || !V || // don't capture the event if the menu opens on focus and the focused
|
|
22318
22318
|
// option is already selected; it breaks the flow of navigation
|
|
22319
22319
|
G && s.isOptionSelected(V, X))
|
|
22320
22320
|
return;
|
|
@@ -22323,14 +22323,14 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22323
22323
|
case "Enter":
|
|
22324
22324
|
if (y.keyCode === 229)
|
|
22325
22325
|
break;
|
|
22326
|
-
if (
|
|
22326
|
+
if (N) {
|
|
22327
22327
|
if (!V || s.isComposing) return;
|
|
22328
22328
|
s.selectOption(V);
|
|
22329
22329
|
break;
|
|
22330
22330
|
}
|
|
22331
22331
|
return;
|
|
22332
22332
|
case "Escape":
|
|
22333
|
-
|
|
22333
|
+
N ? (s.setState({
|
|
22334
22334
|
inputIsHiddenAfterUpdate: !1
|
|
22335
22335
|
}), s.onInputChange("", {
|
|
22336
22336
|
action: "menu-close",
|
|
@@ -22340,7 +22340,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22340
22340
|
case " ":
|
|
22341
22341
|
if (S)
|
|
22342
22342
|
return;
|
|
22343
|
-
if (!
|
|
22343
|
+
if (!N) {
|
|
22344
22344
|
s.openMenu("first");
|
|
22345
22345
|
break;
|
|
22346
22346
|
}
|
|
@@ -22348,25 +22348,25 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22348
22348
|
s.selectOption(V);
|
|
22349
22349
|
break;
|
|
22350
22350
|
case "ArrowUp":
|
|
22351
|
-
|
|
22351
|
+
N ? s.focusOption("up") : s.openMenu("last");
|
|
22352
22352
|
break;
|
|
22353
22353
|
case "ArrowDown":
|
|
22354
|
-
|
|
22354
|
+
N ? s.focusOption("down") : s.openMenu("first");
|
|
22355
22355
|
break;
|
|
22356
22356
|
case "PageUp":
|
|
22357
|
-
if (!
|
|
22357
|
+
if (!N) return;
|
|
22358
22358
|
s.focusOption("pageup");
|
|
22359
22359
|
break;
|
|
22360
22360
|
case "PageDown":
|
|
22361
|
-
if (!
|
|
22361
|
+
if (!N) return;
|
|
22362
22362
|
s.focusOption("pagedown");
|
|
22363
22363
|
break;
|
|
22364
22364
|
case "Home":
|
|
22365
|
-
if (!
|
|
22365
|
+
if (!N) return;
|
|
22366
22366
|
s.focusOption("first");
|
|
22367
22367
|
break;
|
|
22368
22368
|
case "End":
|
|
22369
|
-
if (!
|
|
22369
|
+
if (!N) return;
|
|
22370
22370
|
s.focusOption("last");
|
|
22371
22371
|
break;
|
|
22372
22372
|
default:
|
|
@@ -22509,14 +22509,14 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22509
22509
|
}, {
|
|
22510
22510
|
key: "getCommonProps",
|
|
22511
22511
|
value: function() {
|
|
22512
|
-
var s = this.clearValue, d = this.cx, g = this.getStyles, m = this.getClassNames, y = this.getValue, b = this.selectOption, E = this.setValue, I = this.props, x = I.isMulti, S = I.isRtl, T = I.options,
|
|
22512
|
+
var s = this.clearValue, d = this.cx, g = this.getStyles, m = this.getClassNames, y = this.getValue, b = this.selectOption, E = this.setValue, I = this.props, x = I.isMulti, S = I.isRtl, T = I.options, k = this.hasValue();
|
|
22513
22513
|
return {
|
|
22514
22514
|
clearValue: s,
|
|
22515
22515
|
cx: d,
|
|
22516
22516
|
getStyles: g,
|
|
22517
22517
|
getClassNames: m,
|
|
22518
22518
|
getValue: y,
|
|
22519
|
-
hasValue:
|
|
22519
|
+
hasValue: k,
|
|
22520
22520
|
isMulti: x,
|
|
22521
22521
|
isRtl: S,
|
|
22522
22522
|
options: T,
|
|
@@ -22616,7 +22616,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22616
22616
|
// Renderers
|
|
22617
22617
|
// ==============================
|
|
22618
22618
|
function() {
|
|
22619
|
-
var s = this.props, d = s.isDisabled, g = s.isSearchable, m = s.inputId, y = s.inputValue, b = s.tabIndex, E = s.form, I = s.menuIsOpen, x = s.required, S = this.getComponents(), T = S.Input,
|
|
22619
|
+
var s = this.props, d = s.isDisabled, g = s.isSearchable, m = s.inputId, y = s.inputValue, b = s.tabIndex, E = s.form, I = s.menuIsOpen, x = s.required, S = this.getComponents(), T = S.Input, k = this.state, N = k.inputIsHidden, L = k.ariaSelection, M = this.commonProps, G = m || this.getElementId("input"), U = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
22620
22620
|
"aria-autocomplete": "list",
|
|
22621
22621
|
"aria-expanded": I,
|
|
22622
22622
|
"aria-haspopup": !0,
|
|
@@ -22643,7 +22643,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22643
22643
|
id: G,
|
|
22644
22644
|
innerRef: this.getInputRef,
|
|
22645
22645
|
isDisabled: d,
|
|
22646
|
-
isHidden:
|
|
22646
|
+
isHidden: N,
|
|
22647
22647
|
onBlur: this.onInputBlur,
|
|
22648
22648
|
onChange: this.handleInputChange,
|
|
22649
22649
|
onFocus: this.onInputFocus,
|
|
@@ -22669,17 +22669,17 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22669
22669
|
}, {
|
|
22670
22670
|
key: "renderPlaceholderOrValue",
|
|
22671
22671
|
value: function() {
|
|
22672
|
-
var s = this, d = this.getComponents(), g = d.MultiValue, m = d.MultiValueContainer, y = d.MultiValueLabel, b = d.MultiValueRemove, E = d.SingleValue, I = d.Placeholder, x = this.commonProps, S = this.props, T = S.controlShouldRenderValue,
|
|
22672
|
+
var s = this, d = this.getComponents(), g = d.MultiValue, m = d.MultiValueContainer, y = d.MultiValueLabel, b = d.MultiValueRemove, E = d.SingleValue, I = d.Placeholder, x = this.commonProps, S = this.props, T = S.controlShouldRenderValue, k = S.isDisabled, N = S.isMulti, L = S.inputValue, M = S.placeholder, G = this.state, U = G.selectValue, V = G.focusedValue, Y = G.isFocused;
|
|
22673
22673
|
if (!this.hasValue() || !T)
|
|
22674
22674
|
return L ? null : /* @__PURE__ */ React.createElement(I, _extends({}, x, {
|
|
22675
22675
|
key: "placeholder",
|
|
22676
|
-
isDisabled:
|
|
22676
|
+
isDisabled: k,
|
|
22677
22677
|
isFocused: Y,
|
|
22678
22678
|
innerProps: {
|
|
22679
22679
|
id: this.getElementId("placeholder")
|
|
22680
22680
|
}
|
|
22681
22681
|
}), M);
|
|
22682
|
-
if (
|
|
22682
|
+
if (N)
|
|
22683
22683
|
return U.map(function(Q, H) {
|
|
22684
22684
|
var K = Q === V, ee = "".concat(s.getOptionLabel(Q), "-").concat(s.getOptionValue(Q));
|
|
22685
22685
|
return /* @__PURE__ */ React.createElement(g, _extends({}, x, {
|
|
@@ -22689,7 +22689,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22689
22689
|
Remove: b
|
|
22690
22690
|
},
|
|
22691
22691
|
isFocused: K,
|
|
22692
|
-
isDisabled:
|
|
22692
|
+
isDisabled: k,
|
|
22693
22693
|
key: ee,
|
|
22694
22694
|
index: H,
|
|
22695
22695
|
removeProps: {
|
|
@@ -22711,7 +22711,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22711
22711
|
var X = U[0];
|
|
22712
22712
|
return /* @__PURE__ */ React.createElement(E, _extends({}, x, {
|
|
22713
22713
|
data: X,
|
|
22714
|
-
isDisabled:
|
|
22714
|
+
isDisabled: k
|
|
22715
22715
|
}), this.formatOptionLabel(X, "value"));
|
|
22716
22716
|
}
|
|
22717
22717
|
}, {
|
|
@@ -22774,10 +22774,10 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22774
22774
|
}, {
|
|
22775
22775
|
key: "renderMenu",
|
|
22776
22776
|
value: function() {
|
|
22777
|
-
var s = this, d = this.getComponents(), g = d.Group, m = d.GroupHeading, y = d.Menu, b = d.MenuList, E = d.MenuPortal, I = d.LoadingMessage, x = d.NoOptionsMessage, S = d.Option, T = this.commonProps,
|
|
22777
|
+
var s = this, d = this.getComponents(), g = d.Group, m = d.GroupHeading, y = d.Menu, b = d.MenuList, E = d.MenuPortal, I = d.LoadingMessage, x = d.NoOptionsMessage, S = d.Option, T = this.commonProps, k = this.state.focusedOption, N = this.props, L = N.captureMenuScroll, M = N.inputValue, G = N.isLoading, U = N.loadingMessage, V = N.minMenuHeight, Y = N.maxMenuHeight, X = N.menuIsOpen, Q = N.menuPlacement, H = N.menuPosition, K = N.menuPortalTarget, ee = N.menuShouldBlockScroll, ae = N.menuShouldScrollIntoView, ie = N.noOptionsMessage, te = N.onMenuScrollToTop, ue = N.onMenuScrollToBottom;
|
|
22778
22778
|
if (!X) return null;
|
|
22779
22779
|
var le = function(ge, pe) {
|
|
22780
|
-
var Ie = ge.type, De = ge.data, Pe = ge.isDisabled, J = ge.isSelected, $e = ge.label, ye = ge.value, de =
|
|
22780
|
+
var Ie = ge.type, De = ge.data, Pe = ge.isDisabled, J = ge.isSelected, $e = ge.label, ye = ge.value, de = k === De, q = Pe ? void 0 : function() {
|
|
22781
22781
|
return s.onOptionHover(De);
|
|
22782
22782
|
}, Ae = Pe ? void 0 : function() {
|
|
22783
22783
|
return s.selectOption(De);
|
|
@@ -22870,7 +22870,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22870
22870
|
},
|
|
22871
22871
|
isLoading: G,
|
|
22872
22872
|
maxHeight: De,
|
|
22873
|
-
focusedOption:
|
|
22873
|
+
focusedOption: k
|
|
22874
22874
|
}), he);
|
|
22875
22875
|
}));
|
|
22876
22876
|
});
|
|
@@ -22893,8 +22893,8 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22893
22893
|
if (!(!b || m))
|
|
22894
22894
|
if (y)
|
|
22895
22895
|
if (g) {
|
|
22896
|
-
var x = I.map(function(
|
|
22897
|
-
return s.getOptionValue(
|
|
22896
|
+
var x = I.map(function(k) {
|
|
22897
|
+
return s.getOptionValue(k);
|
|
22898
22898
|
}).join(g);
|
|
22899
22899
|
return /* @__PURE__ */ React.createElement("input", {
|
|
22900
22900
|
name: b,
|
|
@@ -22902,12 +22902,12 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22902
22902
|
value: x
|
|
22903
22903
|
});
|
|
22904
22904
|
} else {
|
|
22905
|
-
var S = I.length > 0 ? I.map(function(
|
|
22905
|
+
var S = I.length > 0 ? I.map(function(k, N) {
|
|
22906
22906
|
return /* @__PURE__ */ React.createElement("input", {
|
|
22907
|
-
key: "i-".concat(
|
|
22907
|
+
key: "i-".concat(N),
|
|
22908
22908
|
name: b,
|
|
22909
22909
|
type: "hidden",
|
|
22910
|
-
value: s.getOptionValue(
|
|
22910
|
+
value: s.getOptionValue(k)
|
|
22911
22911
|
});
|
|
22912
22912
|
}) : /* @__PURE__ */ React.createElement("input", {
|
|
22913
22913
|
name: b,
|
|
@@ -22943,8 +22943,8 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22943
22943
|
}, {
|
|
22944
22944
|
key: "render",
|
|
22945
22945
|
value: function() {
|
|
22946
|
-
var s = this.getComponents(), d = s.Control, g = s.IndicatorsContainer, m = s.SelectContainer, y = s.ValueContainer, b = this.props, E = b.className, I = b.id, x = b.isDisabled, S = b.menuIsOpen, T = this.state.isFocused,
|
|
22947
|
-
return /* @__PURE__ */ React.createElement(m, _extends({},
|
|
22946
|
+
var s = this.getComponents(), d = s.Control, g = s.IndicatorsContainer, m = s.SelectContainer, y = s.ValueContainer, b = this.props, E = b.className, I = b.id, x = b.isDisabled, S = b.menuIsOpen, T = this.state.isFocused, k = this.commonProps = this.getCommonProps();
|
|
22947
|
+
return /* @__PURE__ */ React.createElement(m, _extends({}, k, {
|
|
22948
22948
|
className: E,
|
|
22949
22949
|
innerProps: {
|
|
22950
22950
|
id: I,
|
|
@@ -22952,7 +22952,7 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22952
22952
|
},
|
|
22953
22953
|
isDisabled: x,
|
|
22954
22954
|
isFocused: T
|
|
22955
|
-
}), this.renderLiveRegion(), /* @__PURE__ */ React.createElement(d, _extends({},
|
|
22955
|
+
}), this.renderLiveRegion(), /* @__PURE__ */ React.createElement(d, _extends({}, k, {
|
|
22956
22956
|
innerRef: this.getControlRef,
|
|
22957
22957
|
innerProps: {
|
|
22958
22958
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -22961,18 +22961,18 @@ var shouldHideSelectedOptions = function e(t) {
|
|
|
22961
22961
|
isDisabled: x,
|
|
22962
22962
|
isFocused: T,
|
|
22963
22963
|
menuIsOpen: S
|
|
22964
|
-
}), /* @__PURE__ */ React.createElement(y, _extends({},
|
|
22964
|
+
}), /* @__PURE__ */ React.createElement(y, _extends({}, k, {
|
|
22965
22965
|
isDisabled: x
|
|
22966
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React.createElement(g, _extends({},
|
|
22966
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ React.createElement(g, _extends({}, k, {
|
|
22967
22967
|
isDisabled: x
|
|
22968
22968
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
22969
22969
|
}
|
|
22970
22970
|
}], [{
|
|
22971
22971
|
key: "getDerivedStateFromProps",
|
|
22972
22972
|
value: function(s, d) {
|
|
22973
|
-
var g = d.prevProps, m = d.clearFocusValueOnUpdate, y = d.inputIsHiddenAfterUpdate, b = d.ariaSelection, E = d.isFocused, I = d.prevWasFocused, x = d.instancePrefix, S = s.options, T = s.value,
|
|
22974
|
-
if (g && (T !== g.value || S !== g.options ||
|
|
22975
|
-
var U =
|
|
22973
|
+
var g = d.prevProps, m = d.clearFocusValueOnUpdate, y = d.inputIsHiddenAfterUpdate, b = d.ariaSelection, E = d.isFocused, I = d.prevWasFocused, x = d.instancePrefix, S = s.options, T = s.value, k = s.menuIsOpen, N = s.inputValue, L = s.isMulti, M = cleanValue(T), G = {};
|
|
22974
|
+
if (g && (T !== g.value || S !== g.options || k !== g.menuIsOpen || N !== g.inputValue)) {
|
|
22975
|
+
var U = k ? buildFocusableOptions(s, M) : [], V = k ? buildFocusableOptionsWithIds(buildCategorizedOptions(s, M), "".concat(x, "-option")) : [], Y = m ? getNextFocusedValue(d, M) : null, X = getNextFocusedOption(d, U), Q = getFocusedOptionId(V, X);
|
|
22976
22976
|
G = {
|
|
22977
22977
|
selectValue: M,
|
|
22978
22978
|
focusedOption: X,
|
|
@@ -23256,7 +23256,7 @@ const ChangeLogModal$1 = connect(
|
|
|
23256
23256
|
function getChangeLogUrl() {
|
|
23257
23257
|
return window.FUDS_CHANGE_LOG_URL || "";
|
|
23258
23258
|
}
|
|
23259
|
-
const bundle$
|
|
23259
|
+
const bundle$k = {
|
|
23260
23260
|
name: "changeLog",
|
|
23261
23261
|
getReducer: () => {
|
|
23262
23262
|
const e = {
|
|
@@ -23392,10 +23392,10 @@ class ChangeLogButton extends React__default.Component {
|
|
|
23392
23392
|
);
|
|
23393
23393
|
}
|
|
23394
23394
|
}
|
|
23395
|
-
const changeLogButton = connect("doModalOpen", "doGetChangeLogData", ChangeLogButton), plugin$
|
|
23395
|
+
const changeLogButton = connect("doModalOpen", "doGetChangeLogData", ChangeLogButton), plugin$o = {
|
|
23396
23396
|
pluginName: "changeLog",
|
|
23397
23397
|
enabled: !0,
|
|
23398
|
-
bundle: bundle$
|
|
23398
|
+
bundle: bundle$k,
|
|
23399
23399
|
components: [{
|
|
23400
23400
|
component: changeLogButton,
|
|
23401
23401
|
region: "right-sidebar-top",
|
|
@@ -23548,7 +23548,7 @@ const defaultHtml = [
|
|
|
23548
23548
|
name: "IPaC Information for Planning and Consultation - Default",
|
|
23549
23549
|
url: "https://ipac.ecosphere.fws.gov/"
|
|
23550
23550
|
}
|
|
23551
|
-
], bundle$
|
|
23551
|
+
], bundle$j = {
|
|
23552
23552
|
name: "resources",
|
|
23553
23553
|
getReducer: () => {
|
|
23554
23554
|
const e = {
|
|
@@ -23631,10 +23631,10 @@ class ResourcesButton extends React__default.Component {
|
|
|
23631
23631
|
);
|
|
23632
23632
|
}
|
|
23633
23633
|
}
|
|
23634
|
-
const resourcesButton = connect("doModalOpen", "doGetResourceData", ResourcesButton), plugin$
|
|
23634
|
+
const resourcesButton = connect("doModalOpen", "doGetResourceData", ResourcesButton), plugin$n = {
|
|
23635
23635
|
pluginName: "resources",
|
|
23636
23636
|
enabled: !0,
|
|
23637
|
-
bundle: bundle$
|
|
23637
|
+
bundle: bundle$j,
|
|
23638
23638
|
components: [{
|
|
23639
23639
|
component: resourcesButton,
|
|
23640
23640
|
region: "right-sidebar-top",
|
|
@@ -23986,7 +23986,7 @@ function requireThrottle() {
|
|
|
23986
23986
|
return throttle_1 = a, throttle_1;
|
|
23987
23987
|
}
|
|
23988
23988
|
var throttleExports = requireThrottle();
|
|
23989
|
-
const throttle = /* @__PURE__ */ getDefaultExportFromCjs$1(throttleExports), bundle$
|
|
23989
|
+
const throttle = /* @__PURE__ */ getDefaultExportFromCjs$1(throttleExports), bundle$i = {
|
|
23990
23990
|
name: "coordinateDisplay",
|
|
23991
23991
|
getReducer() {
|
|
23992
23992
|
const e = {
|
|
@@ -24152,10 +24152,10 @@ const throttle = /* @__PURE__ */ getDefaultExportFromCjs$1(throttleExports), bun
|
|
|
24152
24152
|
if (e.coordinateDisplay._shouldInitialize)
|
|
24153
24153
|
return { actionCreator: "doCoordsInitialize" };
|
|
24154
24154
|
}
|
|
24155
|
-
}, plugin$
|
|
24155
|
+
}, plugin$m = {
|
|
24156
24156
|
pluginName: "PositionText",
|
|
24157
24157
|
enabled: !0,
|
|
24158
|
-
bundle: bundle$
|
|
24158
|
+
bundle: bundle$i,
|
|
24159
24159
|
components: [{
|
|
24160
24160
|
component: CoordinateDisplay$1,
|
|
24161
24161
|
region: "lower-right-toolbar",
|
|
@@ -24503,7 +24503,7 @@ const DrawButton$1 = connect(
|
|
|
24503
24503
|
HIDE: `${s}_HIDE`,
|
|
24504
24504
|
ACTIVATE: `${s}_ACTIVATE`,
|
|
24505
24505
|
DEACTIVATE: `${s}_DEACTIVATE`
|
|
24506
|
-
}, g = `do${a}Initialize`, m = `do${a}AddLayer`, y = `do${a}RemoveLayer`, b = `do${a}AddInteractions`, E = `do${a}RemoveInteractions`, I = `do${a}ToggleVisible`, x = `do${a}ToggleInteractions`, S = `select${a}Layer`, T = `select${a}DrawInteraction`,
|
|
24506
|
+
}, g = `do${a}Initialize`, m = `do${a}AddLayer`, y = `do${a}RemoveLayer`, b = `do${a}AddInteractions`, E = `do${a}RemoveInteractions`, I = `do${a}ToggleVisible`, x = `do${a}ToggleInteractions`, S = `select${a}Layer`, T = `select${a}DrawInteraction`, k = `select${a}InterselectInteractions`, N = `select${a}Active`, L = `select${a}Visible`, M = `react${a}ShouldInitialize`;
|
|
24507
24507
|
return {
|
|
24508
24508
|
name: r.name,
|
|
24509
24509
|
getReducer() {
|
|
@@ -24588,7 +24588,7 @@ const DrawButton$1 = connect(
|
|
|
24588
24588
|
[b]: () => ({ dispatch: G, store: U }) => {
|
|
24589
24589
|
U.doSetCursor("crosshair");
|
|
24590
24590
|
const V = U.selectMap();
|
|
24591
|
-
U[
|
|
24591
|
+
U[k]().forEach((X) => {
|
|
24592
24592
|
V.addInteraction(X);
|
|
24593
24593
|
}), G({
|
|
24594
24594
|
type: d.ACTIVATE,
|
|
@@ -24600,7 +24600,7 @@ const DrawButton$1 = connect(
|
|
|
24600
24600
|
[E]: () => ({ dispatch: G, store: U }) => {
|
|
24601
24601
|
U.doSetCursor();
|
|
24602
24602
|
const V = U.selectMap();
|
|
24603
|
-
U[
|
|
24603
|
+
U[k]().forEach((X) => {
|
|
24604
24604
|
V.removeInteraction(X);
|
|
24605
24605
|
}), G({
|
|
24606
24606
|
type: d.DEACTIVATE,
|
|
@@ -24612,11 +24612,11 @@ const DrawButton$1 = connect(
|
|
|
24612
24612
|
[x]: () => ({ store: G }) => {
|
|
24613
24613
|
G.selectActive() ? G[E]() : G[b]();
|
|
24614
24614
|
},
|
|
24615
|
-
[
|
|
24615
|
+
[N]: (G) => G[r.name].active,
|
|
24616
24616
|
[L]: (G) => G[r.name].visible,
|
|
24617
24617
|
[S]: (G) => G[r.name].layer,
|
|
24618
24618
|
[T]: (G) => G[r.name].drawInteraction,
|
|
24619
|
-
[
|
|
24619
|
+
[k]: createSelector(T, (G) => [G]),
|
|
24620
24620
|
[M]: (G) => {
|
|
24621
24621
|
if (G[r.name].shouldInitialize)
|
|
24622
24622
|
return { actionCreator: g };
|
|
@@ -24860,13 +24860,13 @@ function requireFileSaver_min() {
|
|
|
24860
24860
|
}
|
|
24861
24861
|
} : function(b, E, I, x) {
|
|
24862
24862
|
if (x = x || open("", "_blank"), x && (x.document.title = x.document.body.innerText = "downloading..."), typeof b == "string") return a(b, E, I);
|
|
24863
|
-
var S = b.type === "application/octet-stream", T = /constructor/i.test(g.HTMLElement) || g.safari,
|
|
24864
|
-
if ((
|
|
24865
|
-
var
|
|
24866
|
-
|
|
24867
|
-
var G =
|
|
24868
|
-
G =
|
|
24869
|
-
},
|
|
24863
|
+
var S = b.type === "application/octet-stream", T = /constructor/i.test(g.HTMLElement) || g.safari, k = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
24864
|
+
if ((k || S && T || m) && typeof FileReader < "u") {
|
|
24865
|
+
var N = new FileReader();
|
|
24866
|
+
N.onloadend = function() {
|
|
24867
|
+
var G = N.result;
|
|
24868
|
+
G = k ? G : G.replace(/^data:[^;]*;/, "data:attachment/file;"), x ? x.location.href = G : location = G, x = null;
|
|
24869
|
+
}, N.readAsDataURL(b);
|
|
24870
24870
|
} else {
|
|
24871
24871
|
var L = g.URL || g.webkitURL, M = L.createObjectURL(b);
|
|
24872
24872
|
x ? x.location = M : location.href = M, x = null, setTimeout(function() {
|
|
@@ -24998,7 +24998,7 @@ const FileSaver = /* @__PURE__ */ getDefaultExportFromCjs$1(FileSaver_minExports
|
|
|
24998
24998
|
if (e.drawSave.shouldInitialize) return { actionCreator: "doDrawSaveInitialize" };
|
|
24999
24999
|
},
|
|
25000
25000
|
persistActions: ["DRAW_SAVE_COMPLETE"]
|
|
25001
|
-
}, plugin$
|
|
25001
|
+
}, plugin$l = {
|
|
25002
25002
|
pluginName: "Draw Tools",
|
|
25003
25003
|
enabled: !0,
|
|
25004
25004
|
bundle: [
|
|
@@ -25154,7 +25154,7 @@ const SearchBar$1 = connect(
|
|
|
25154
25154
|
address: 19,
|
|
25155
25155
|
poi: 19,
|
|
25156
25156
|
"poi.landmark": 19
|
|
25157
|
-
}, bundle$
|
|
25157
|
+
}, bundle$h = {
|
|
25158
25158
|
name: "geocoder",
|
|
25159
25159
|
getReducer() {
|
|
25160
25160
|
const e = {
|
|
@@ -25244,15 +25244,15 @@ const SearchBar$1 = connect(
|
|
|
25244
25244
|
return S.features ? e(
|
|
25245
25245
|
null,
|
|
25246
25246
|
S.features.map((T) => {
|
|
25247
|
-
let
|
|
25248
|
-
const
|
|
25247
|
+
let k = "mdi mdi-map-marker";
|
|
25248
|
+
const N = zoomScales[T.place_type[0]] || 11;
|
|
25249
25249
|
return {
|
|
25250
25250
|
provider: "geocoder",
|
|
25251
25251
|
displayName: T.place_name,
|
|
25252
25252
|
place_type: T.place_type,
|
|
25253
|
-
iconClass:
|
|
25253
|
+
iconClass: k,
|
|
25254
25254
|
center: T.center,
|
|
25255
|
-
zoom:
|
|
25255
|
+
zoom: N,
|
|
25256
25256
|
geometry: T.geometry,
|
|
25257
25257
|
properties: T.properties
|
|
25258
25258
|
};
|
|
@@ -25270,10 +25270,10 @@ const SearchBar$1 = connect(
|
|
|
25270
25270
|
if (e.geocoder.shouldRegister)
|
|
25271
25271
|
return { actionCreator: "doGeocoderRegister" };
|
|
25272
25272
|
}
|
|
25273
|
-
}, plugin$
|
|
25273
|
+
}, plugin$k = {
|
|
25274
25274
|
pluginName: "Geocoder",
|
|
25275
25275
|
enabled: !0,
|
|
25276
|
-
bundle: bundle$
|
|
25276
|
+
bundle: bundle$h,
|
|
25277
25277
|
components: [{
|
|
25278
25278
|
component: SearchBar$1,
|
|
25279
25279
|
region: "basic-toolbar",
|
|
@@ -25303,16 +25303,16 @@ function vec(e) {
|
|
|
25303
25303
|
}
|
|
25304
25304
|
const ccwerrboundA = (3 + 16 * epsilon) * epsilon, ccwerrboundB = (2 + 12 * epsilon) * epsilon, ccwerrboundC = (9 + 64 * epsilon) * epsilon * epsilon, B = vec(4), C1 = vec(8), C2 = vec(12), D = vec(16), u = vec(4);
|
|
25305
25305
|
function orient2dadapt(e, t, r, a, s, d, g) {
|
|
25306
|
-
let m, y, b, E, I, x, S, T,
|
|
25306
|
+
let m, y, b, E, I, x, S, T, k, N, L, M, G, U, V, Y, X, Q;
|
|
25307
25307
|
const H = e - s, K = r - s, ee = t - d, ae = a - d;
|
|
25308
|
-
U = H * ae, x = splitter * H, S = x - (x - H), T = H - S, x = splitter * ae,
|
|
25308
|
+
U = H * ae, x = splitter * H, S = x - (x - H), T = H - S, x = splitter * ae, k = x - (x - ae), N = ae - k, V = T * N - (U - S * k - T * k - S * N), Y = ee * K, x = splitter * ee, S = x - (x - ee), T = ee - S, x = splitter * K, k = x - (x - K), N = K - k, X = T * N - (Y - S * k - T * k - S * N), L = V - X, I = V - L, B[0] = V - (L + I) + (I - X), M = U + L, I = M - U, G = U - (M - I) + (L - I), L = G - Y, I = G - L, B[1] = G - (L + I) + (I - Y), Q = M + L, I = Q - M, B[2] = M - (Q - I) + (L - I), B[3] = Q;
|
|
25309
25309
|
let ie = estimate(4, B), te = ccwerrboundB * g;
|
|
25310
25310
|
if (ie >= te || -ie >= te || (I = e - H, m = e - (H + I) + (I - s), I = r - K, b = r - (K + I) + (I - s), I = t - ee, y = t - (ee + I) + (I - d), I = a - ae, E = a - (ae + I) + (I - d), m === 0 && y === 0 && b === 0 && E === 0) || (te = ccwerrboundC * g + resulterrbound * Math.abs(ie), ie += H * E + ae * m - (ee * b + K * y), ie >= te || -ie >= te)) return ie;
|
|
25311
|
-
U = m * ae, x = splitter * m, S = x - (x - m), T = m - S, x = splitter * ae,
|
|
25311
|
+
U = m * ae, x = splitter * m, S = x - (x - m), T = m - S, x = splitter * ae, k = x - (x - ae), N = ae - k, V = T * N - (U - S * k - T * k - S * N), Y = y * K, x = splitter * y, S = x - (x - y), T = y - S, x = splitter * K, k = x - (x - K), N = K - k, X = T * N - (Y - S * k - T * k - S * N), L = V - X, I = V - L, u[0] = V - (L + I) + (I - X), M = U + L, I = M - U, G = U - (M - I) + (L - I), L = G - Y, I = G - L, u[1] = G - (L + I) + (I - Y), Q = M + L, I = Q - M, u[2] = M - (Q - I) + (L - I), u[3] = Q;
|
|
25312
25312
|
const ue = sum$1(4, B, 4, u, C1);
|
|
25313
|
-
U = H * E, x = splitter * H, S = x - (x - H), T = H - S, x = splitter * E,
|
|
25313
|
+
U = H * E, x = splitter * H, S = x - (x - H), T = H - S, x = splitter * E, k = x - (x - E), N = E - k, V = T * N - (U - S * k - T * k - S * N), Y = ee * b, x = splitter * ee, S = x - (x - ee), T = ee - S, x = splitter * b, k = x - (x - b), N = b - k, X = T * N - (Y - S * k - T * k - S * N), L = V - X, I = V - L, u[0] = V - (L + I) + (I - X), M = U + L, I = M - U, G = U - (M - I) + (L - I), L = G - Y, I = G - L, u[1] = G - (L + I) + (I - Y), Q = M + L, I = Q - M, u[2] = M - (Q - I) + (L - I), u[3] = Q;
|
|
25314
25314
|
const le = sum$1(ue, C1, 4, u, C2);
|
|
25315
|
-
U = m * E, x = splitter * m, S = x - (x - m), T = m - S, x = splitter * E,
|
|
25315
|
+
U = m * E, x = splitter * m, S = x - (x - m), T = m - S, x = splitter * E, k = x - (x - E), N = E - k, V = T * N - (U - S * k - T * k - S * N), Y = y * b, x = splitter * y, S = x - (x - y), T = y - S, x = splitter * b, k = x - (x - b), N = b - k, X = T * N - (Y - S * k - T * k - S * N), L = V - X, I = V - L, u[0] = V - (L + I) + (I - X), M = U + L, I = M - U, G = U - (M - I) + (L - I), L = G - Y, I = G - L, u[1] = G - (L + I) + (I - Y), Q = M + L, I = Q - M, u[2] = M - (Q - I) + (L - I), u[3] = Q;
|
|
25316
25316
|
const he = sum$1(le, C2, 4, u, D);
|
|
25317
25317
|
return D[he - 1];
|
|
25318
25318
|
}
|
|
@@ -25324,11 +25324,11 @@ function pointInPolygon(e, t) {
|
|
|
25324
25324
|
var r, a, s = 0, d, g, m, y, b, E, I, x = e[0], S = e[1], T = t.length;
|
|
25325
25325
|
for (r = 0; r < T; r++) {
|
|
25326
25326
|
a = 0;
|
|
25327
|
-
var
|
|
25328
|
-
if (E =
|
|
25327
|
+
var k = t[r], N = k.length - 1;
|
|
25328
|
+
if (E = k[0], E[0] !== k[N][0] && E[1] !== k[N][1])
|
|
25329
25329
|
throw new Error("First and last coordinates in a ring must be the same");
|
|
25330
|
-
for (g = E[0] - x, m = E[1] - S, a; a <
|
|
25331
|
-
if (I =
|
|
25330
|
+
for (g = E[0] - x, m = E[1] - S, a; a < N; a++) {
|
|
25331
|
+
if (I = k[a + 1], y = I[0] - x, b = I[1] - S, m === 0 && b === 0) {
|
|
25332
25332
|
if (y <= 0 && g >= 0 || g <= 0 && y >= 0)
|
|
25333
25333
|
return 0;
|
|
25334
25334
|
} else if (b >= 0 && m <= 0 || b <= 0 && m >= 0) {
|
|
@@ -25471,8 +25471,8 @@ function testSegmentIntersect(e, t) {
|
|
|
25471
25471
|
return !1;
|
|
25472
25472
|
const S = I / E, T = x / E;
|
|
25473
25473
|
if (S >= 0 && S <= 1 && T >= 0 && T <= 1) {
|
|
25474
|
-
const
|
|
25475
|
-
return [
|
|
25474
|
+
const k = r + S * (s - r), N = a + S * (d - a);
|
|
25475
|
+
return [k, N];
|
|
25476
25476
|
}
|
|
25477
25477
|
return !1;
|
|
25478
25478
|
}
|
|
@@ -25711,24 +25711,24 @@ function requirePathBrowserify() {
|
|
|
25711
25711
|
;
|
|
25712
25712
|
for (var y = d.length, b = y - m, E = 1; E < g.length && g.charCodeAt(E) === 47; ++E)
|
|
25713
25713
|
;
|
|
25714
|
-
for (var I = g.length, x = I - E, S = b < x ? b : x, T = -1,
|
|
25715
|
-
if (
|
|
25714
|
+
for (var I = g.length, x = I - E, S = b < x ? b : x, T = -1, k = 0; k <= S; ++k) {
|
|
25715
|
+
if (k === S) {
|
|
25716
25716
|
if (x > S) {
|
|
25717
|
-
if (g.charCodeAt(E +
|
|
25718
|
-
return g.slice(E +
|
|
25719
|
-
if (
|
|
25720
|
-
return g.slice(E +
|
|
25721
|
-
} else b > S && (d.charCodeAt(m +
|
|
25717
|
+
if (g.charCodeAt(E + k) === 47)
|
|
25718
|
+
return g.slice(E + k + 1);
|
|
25719
|
+
if (k === 0)
|
|
25720
|
+
return g.slice(E + k);
|
|
25721
|
+
} else b > S && (d.charCodeAt(m + k) === 47 ? T = k : k === 0 && (T = 0));
|
|
25722
25722
|
break;
|
|
25723
25723
|
}
|
|
25724
|
-
var
|
|
25725
|
-
if (
|
|
25724
|
+
var N = d.charCodeAt(m + k), L = g.charCodeAt(E + k);
|
|
25725
|
+
if (N !== L)
|
|
25726
25726
|
break;
|
|
25727
|
-
|
|
25727
|
+
N === 47 && (T = k);
|
|
25728
25728
|
}
|
|
25729
25729
|
var M = "";
|
|
25730
|
-
for (
|
|
25731
|
-
(
|
|
25730
|
+
for (k = m + T + 1; k <= y; ++k)
|
|
25731
|
+
(k === y || d.charCodeAt(k) === 47) && (M.length === 0 ? M += ".." : M += "/..");
|
|
25732
25732
|
return M.length > 0 ? M + g.slice(E + T) : (E += T, g.charCodeAt(E) === 47 && ++E, g.slice(E));
|
|
25733
25733
|
},
|
|
25734
25734
|
_makeLong: function(d) {
|
|
@@ -25803,7 +25803,7 @@ function requirePathBrowserify() {
|
|
|
25803
25803
|
if (d.length === 0) return g;
|
|
25804
25804
|
var m = d.charCodeAt(0), y = m === 47, b;
|
|
25805
25805
|
y ? (g.root = "/", b = 1) : b = 0;
|
|
25806
|
-
for (var E = -1, I = 0, x = -1, S = !0, T = d.length - 1,
|
|
25806
|
+
for (var E = -1, I = 0, x = -1, S = !0, T = d.length - 1, k = 0; T >= b; --T) {
|
|
25807
25807
|
if (m = d.charCodeAt(T), m === 47) {
|
|
25808
25808
|
if (!S) {
|
|
25809
25809
|
I = T + 1;
|
|
@@ -25811,11 +25811,11 @@ function requirePathBrowserify() {
|
|
|
25811
25811
|
}
|
|
25812
25812
|
continue;
|
|
25813
25813
|
}
|
|
25814
|
-
x === -1 && (S = !1, x = T + 1), m === 46 ? E === -1 ? E = T :
|
|
25814
|
+
x === -1 && (S = !1, x = T + 1), m === 46 ? E === -1 ? E = T : k !== 1 && (k = 1) : E !== -1 && (k = -1);
|
|
25815
25815
|
}
|
|
25816
25816
|
return E === -1 || x === -1 || // We saw a non-dot character immediately before the dot
|
|
25817
|
-
|
|
25818
|
-
|
|
25817
|
+
k === 0 || // The (right-most) trimmed path component is exactly '..'
|
|
25818
|
+
k === 1 && E === x - 1 && E === I + 1 ? x !== -1 && (I === 0 && y ? g.base = g.name = d.slice(1, x) : g.base = g.name = d.slice(I, x)) : (I === 0 && y ? (g.name = d.slice(1, E), g.base = d.slice(1, x)) : (g.name = d.slice(I, E), g.base = d.slice(I, x)), g.ext = d.slice(E, x)), I > 0 ? g.dir = d.slice(0, I - 1) : y && (g.dir = "/"), g;
|
|
25819
25819
|
},
|
|
25820
25820
|
sep: "/",
|
|
25821
25821
|
delimiter: ":",
|
|
@@ -25825,7 +25825,7 @@ function requirePathBrowserify() {
|
|
|
25825
25825
|
return a.posix = a, pathBrowserify = a, pathBrowserify;
|
|
25826
25826
|
}
|
|
25827
25827
|
requirePathBrowserify();
|
|
25828
|
-
const bundle$
|
|
25828
|
+
const bundle$g = {
|
|
25829
25829
|
name: "geojsonIdent",
|
|
25830
25830
|
getReducer() {
|
|
25831
25831
|
const e = {
|
|
@@ -25925,10 +25925,10 @@ const bundle$f = {
|
|
|
25925
25925
|
if (e.geojsonIdent.shouldHandleRemove)
|
|
25926
25926
|
return { actionCreator: "doGeojsonIdentRemoveFeatures" };
|
|
25927
25927
|
}
|
|
25928
|
-
}, plugin$
|
|
25928
|
+
}, plugin$j = {
|
|
25929
25929
|
pluginName: "Identify GeoJSON",
|
|
25930
25930
|
enabled: !0,
|
|
25931
|
-
bundle: bundle$
|
|
25931
|
+
bundle: bundle$g,
|
|
25932
25932
|
components: []
|
|
25933
25933
|
};
|
|
25934
25934
|
var _baseSlice, hasRequired_baseSlice;
|
|
@@ -25978,7 +25978,7 @@ var _unicodeToArray, hasRequired_unicodeToArray;
|
|
|
25978
25978
|
function require_unicodeToArray() {
|
|
25979
25979
|
if (hasRequired_unicodeToArray) return _unicodeToArray;
|
|
25980
25980
|
hasRequired_unicodeToArray = 1;
|
|
25981
|
-
var e = "\\ud800-\\udfff", t = "\\u0300-\\u036f", r = "\\ufe20-\\ufe2f", a = "\\u20d0-\\u20ff", s = t + r + a, d = "\\ufe0e\\ufe0f", g = "[" + e + "]", m = "[" + s + "]", y = "\\ud83c[\\udffb-\\udfff]", b = "(?:" + m + "|" + y + ")", E = "[^" + e + "]", I = "(?:\\ud83c[\\udde6-\\uddff]){2}", x = "[\\ud800-\\udbff][\\udc00-\\udfff]", S = "\\u200d", T = b + "?",
|
|
25981
|
+
var e = "\\ud800-\\udfff", t = "\\u0300-\\u036f", r = "\\ufe20-\\ufe2f", a = "\\u20d0-\\u20ff", s = t + r + a, d = "\\ufe0e\\ufe0f", g = "[" + e + "]", m = "[" + s + "]", y = "\\ud83c[\\udffb-\\udfff]", b = "(?:" + m + "|" + y + ")", E = "[^" + e + "]", I = "(?:\\ud83c[\\udde6-\\uddff]){2}", x = "[\\ud800-\\udbff][\\udc00-\\udfff]", S = "\\u200d", T = b + "?", k = "[" + d + "]?", N = "(?:" + S + "(?:" + [E, I, x].join("|") + ")" + k + T + ")*", L = k + T + N, M = "(?:" + [E + m + "?", m, I, x, g].join("|") + ")", G = RegExp(y + "(?=" + y + ")|" + M + L, "g");
|
|
25982
25982
|
function U(V) {
|
|
25983
25983
|
return V.match(G) || [];
|
|
25984
25984
|
}
|
|
@@ -26933,9 +26933,9 @@ function require_equalArrays() {
|
|
|
26933
26933
|
var x = y & a, S = g.length, T = m.length;
|
|
26934
26934
|
if (S != T && !(x && T > S))
|
|
26935
26935
|
return !1;
|
|
26936
|
-
var
|
|
26937
|
-
if (
|
|
26938
|
-
return
|
|
26936
|
+
var k = I.get(g), N = I.get(m);
|
|
26937
|
+
if (k && N)
|
|
26938
|
+
return k == m && N == g;
|
|
26939
26939
|
var L = -1, M = !0, G = y & s ? new e() : void 0;
|
|
26940
26940
|
for (I.set(g, m), I.set(m, g); ++L < S; ) {
|
|
26941
26941
|
var U = g[L], V = m[L];
|
|
@@ -26999,7 +26999,7 @@ var _equalByTag, hasRequired_equalByTag;
|
|
|
26999
26999
|
function require_equalByTag() {
|
|
27000
27000
|
if (hasRequired_equalByTag) return _equalByTag;
|
|
27001
27001
|
hasRequired_equalByTag = 1;
|
|
27002
|
-
var e = require_Symbol(), t = require_Uint8Array(), r = requireEq(), a = require_equalArrays(), s = require_mapToArray(), d = require_setToArray(), g = 1, m = 2, y = "[object Boolean]", b = "[object Date]", E = "[object Error]", I = "[object Map]", x = "[object Number]", S = "[object RegExp]", T = "[object Set]",
|
|
27002
|
+
var e = require_Symbol(), t = require_Uint8Array(), r = requireEq(), a = require_equalArrays(), s = require_mapToArray(), d = require_setToArray(), g = 1, m = 2, y = "[object Boolean]", b = "[object Date]", E = "[object Error]", I = "[object Map]", x = "[object Number]", S = "[object RegExp]", T = "[object Set]", k = "[object String]", N = "[object Symbol]", L = "[object ArrayBuffer]", M = "[object DataView]", G = e ? e.prototype : void 0, U = G ? G.valueOf : void 0;
|
|
27003
27003
|
function V(Y, X, Q, H, K, ee, ae) {
|
|
27004
27004
|
switch (Q) {
|
|
27005
27005
|
case M:
|
|
@@ -27015,7 +27015,7 @@ function require_equalByTag() {
|
|
|
27015
27015
|
case E:
|
|
27016
27016
|
return Y.name == X.name && Y.message == X.message;
|
|
27017
27017
|
case S:
|
|
27018
|
-
case
|
|
27018
|
+
case k:
|
|
27019
27019
|
return Y == X + "";
|
|
27020
27020
|
case I:
|
|
27021
27021
|
var ie = s;
|
|
@@ -27029,7 +27029,7 @@ function require_equalByTag() {
|
|
|
27029
27029
|
H |= m, ae.set(Y, X);
|
|
27030
27030
|
var le = a(ie(Y), ie(X), H, K, ee, ae);
|
|
27031
27031
|
return ae.delete(Y), le;
|
|
27032
|
-
case
|
|
27032
|
+
case N:
|
|
27033
27033
|
if (U)
|
|
27034
27034
|
return U.call(Y) == U.call(X);
|
|
27035
27035
|
}
|
|
@@ -27134,8 +27134,8 @@ var _baseIsTypedArray, hasRequired_baseIsTypedArray;
|
|
|
27134
27134
|
function require_baseIsTypedArray() {
|
|
27135
27135
|
if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
|
|
27136
27136
|
hasRequired_baseIsTypedArray = 1;
|
|
27137
|
-
var e = require_baseGetTag(), t = requireIsLength(), r = requireIsObjectLike(), a = "[object Arguments]", s = "[object Array]", d = "[object Boolean]", g = "[object Date]", m = "[object Error]", y = "[object Function]", b = "[object Map]", E = "[object Number]", I = "[object Object]", x = "[object RegExp]", S = "[object Set]", T = "[object String]",
|
|
27138
|
-
ee[M] = ee[G] = ee[U] = ee[V] = ee[Y] = ee[X] = ee[Q] = ee[H] = ee[K] = !0, ee[a] = ee[s] = ee[
|
|
27137
|
+
var e = require_baseGetTag(), t = requireIsLength(), r = requireIsObjectLike(), a = "[object Arguments]", s = "[object Array]", d = "[object Boolean]", g = "[object Date]", m = "[object Error]", y = "[object Function]", b = "[object Map]", E = "[object Number]", I = "[object Object]", x = "[object RegExp]", S = "[object Set]", T = "[object String]", k = "[object WeakMap]", N = "[object ArrayBuffer]", L = "[object DataView]", M = "[object Float32Array]", G = "[object Float64Array]", U = "[object Int8Array]", V = "[object Int16Array]", Y = "[object Int32Array]", X = "[object Uint8Array]", Q = "[object Uint8ClampedArray]", H = "[object Uint16Array]", K = "[object Uint32Array]", ee = {};
|
|
27138
|
+
ee[M] = ee[G] = ee[U] = ee[V] = ee[Y] = ee[X] = ee[Q] = ee[H] = ee[K] = !0, ee[a] = ee[s] = ee[N] = ee[d] = ee[L] = ee[g] = ee[m] = ee[y] = ee[b] = ee[E] = ee[I] = ee[x] = ee[S] = ee[T] = ee[k] = !1;
|
|
27139
27139
|
function ae(ie) {
|
|
27140
27140
|
return r(ie) && t(ie.length) && !!ee[e(ie)];
|
|
27141
27141
|
}
|
|
@@ -27180,14 +27180,14 @@ function require_arrayLikeKeys() {
|
|
|
27180
27180
|
hasRequired_arrayLikeKeys = 1;
|
|
27181
27181
|
var e = require_baseTimes(), t = requireIsArguments(), r = requireIsArray(), a = requireIsBuffer(), s = require_isIndex(), d = requireIsTypedArray(), g = Object.prototype, m = g.hasOwnProperty;
|
|
27182
27182
|
function y(b, E) {
|
|
27183
|
-
var I = r(b), x = !I && t(b), S = !I && !x && a(b), T = !I && !x && !S && d(b),
|
|
27183
|
+
var I = r(b), x = !I && t(b), S = !I && !x && a(b), T = !I && !x && !S && d(b), k = I || x || S || T, N = k ? e(b.length, String) : [], L = N.length;
|
|
27184
27184
|
for (var M in b)
|
|
27185
|
-
(E || m.call(b, M)) && !(
|
|
27185
|
+
(E || m.call(b, M)) && !(k && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
27186
27186
|
(M == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
27187
27187
|
S && (M == "offset" || M == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
27188
27188
|
T && (M == "buffer" || M == "byteLength" || M == "byteOffset") || // Skip index properties.
|
|
27189
|
-
s(M, L))) &&
|
|
27190
|
-
return
|
|
27189
|
+
s(M, L))) && N.push(M);
|
|
27190
|
+
return N;
|
|
27191
27191
|
}
|
|
27192
27192
|
return _arrayLikeKeys = y, _arrayLikeKeys;
|
|
27193
27193
|
}
|
|
@@ -27271,11 +27271,11 @@ function require_equalObjects() {
|
|
|
27271
27271
|
hasRequired_equalObjects = 1;
|
|
27272
27272
|
var e = require_getAllKeys(), t = 1, r = Object.prototype, a = r.hasOwnProperty;
|
|
27273
27273
|
function s(d, g, m, y, b, E) {
|
|
27274
|
-
var I = m & t, x = e(d), S = x.length, T = e(g),
|
|
27275
|
-
if (S !=
|
|
27274
|
+
var I = m & t, x = e(d), S = x.length, T = e(g), k = T.length;
|
|
27275
|
+
if (S != k && !I)
|
|
27276
27276
|
return !1;
|
|
27277
|
-
for (var
|
|
27278
|
-
var L = x[
|
|
27277
|
+
for (var N = S; N--; ) {
|
|
27278
|
+
var L = x[N];
|
|
27279
27279
|
if (!(I ? L in g : a.call(g, L)))
|
|
27280
27280
|
return !1;
|
|
27281
27281
|
}
|
|
@@ -27284,8 +27284,8 @@ function require_equalObjects() {
|
|
|
27284
27284
|
return M == g && G == d;
|
|
27285
27285
|
var U = !0;
|
|
27286
27286
|
E.set(d, g), E.set(g, d);
|
|
27287
|
-
for (var V = I; ++
|
|
27288
|
-
L = x[
|
|
27287
|
+
for (var V = I; ++N < S; ) {
|
|
27288
|
+
L = x[N];
|
|
27289
27289
|
var Y = d[L], X = g[L];
|
|
27290
27290
|
if (y)
|
|
27291
27291
|
var Q = I ? y(X, Y, L, g, d, E) : y(Y, X, L, d, g, E);
|
|
@@ -27335,7 +27335,7 @@ var _getTag, hasRequired_getTag;
|
|
|
27335
27335
|
function require_getTag() {
|
|
27336
27336
|
if (hasRequired_getTag) return _getTag;
|
|
27337
27337
|
hasRequired_getTag = 1;
|
|
27338
|
-
var e = require_DataView(), t = require_Map(), r = require_Promise(), a = require_Set(), s = require_WeakMap(), d = require_baseGetTag(), g = require_toSource(), m = "[object Map]", y = "[object Object]", b = "[object Promise]", E = "[object Set]", I = "[object WeakMap]", x = "[object DataView]", S = g(e), T = g(t),
|
|
27338
|
+
var e = require_DataView(), t = require_Map(), r = require_Promise(), a = require_Set(), s = require_WeakMap(), d = require_baseGetTag(), g = require_toSource(), m = "[object Map]", y = "[object Object]", b = "[object Promise]", E = "[object Set]", I = "[object WeakMap]", x = "[object DataView]", S = g(e), T = g(t), k = g(r), N = g(a), L = g(s), M = d;
|
|
27339
27339
|
return (e && M(new e(new ArrayBuffer(1))) != x || t && M(new t()) != m || r && M(r.resolve()) != b || a && M(new a()) != E || s && M(new s()) != I) && (M = function(G) {
|
|
27340
27340
|
var U = d(G), V = U == y ? G.constructor : void 0, Y = V ? g(V) : "";
|
|
27341
27341
|
if (Y)
|
|
@@ -27344,9 +27344,9 @@ function require_getTag() {
|
|
|
27344
27344
|
return x;
|
|
27345
27345
|
case T:
|
|
27346
27346
|
return m;
|
|
27347
|
-
case N:
|
|
27348
|
-
return b;
|
|
27349
27347
|
case k:
|
|
27348
|
+
return b;
|
|
27349
|
+
case N:
|
|
27350
27350
|
return E;
|
|
27351
27351
|
case L:
|
|
27352
27352
|
return I;
|
|
@@ -27359,25 +27359,25 @@ function require_baseIsEqualDeep() {
|
|
|
27359
27359
|
if (hasRequired_baseIsEqualDeep) return _baseIsEqualDeep;
|
|
27360
27360
|
hasRequired_baseIsEqualDeep = 1;
|
|
27361
27361
|
var e = require_Stack(), t = require_equalArrays(), r = require_equalByTag(), a = require_equalObjects(), s = require_getTag(), d = requireIsArray(), g = requireIsBuffer(), m = requireIsTypedArray(), y = 1, b = "[object Arguments]", E = "[object Array]", I = "[object Object]", x = Object.prototype, S = x.hasOwnProperty;
|
|
27362
|
-
function T(
|
|
27363
|
-
var V = d(
|
|
27362
|
+
function T(k, N, L, M, G, U) {
|
|
27363
|
+
var V = d(k), Y = d(N), X = V ? E : s(k), Q = Y ? E : s(N);
|
|
27364
27364
|
X = X == b ? I : X, Q = Q == b ? I : Q;
|
|
27365
27365
|
var H = X == I, K = Q == I, ee = X == Q;
|
|
27366
|
-
if (ee && g(
|
|
27367
|
-
if (!g(
|
|
27366
|
+
if (ee && g(k)) {
|
|
27367
|
+
if (!g(N))
|
|
27368
27368
|
return !1;
|
|
27369
27369
|
V = !0, H = !1;
|
|
27370
27370
|
}
|
|
27371
27371
|
if (ee && !H)
|
|
27372
|
-
return U || (U = new e()), V || m(
|
|
27372
|
+
return U || (U = new e()), V || m(k) ? t(k, N, L, M, G, U) : r(k, N, X, L, M, G, U);
|
|
27373
27373
|
if (!(L & y)) {
|
|
27374
|
-
var ae = H && S.call(
|
|
27374
|
+
var ae = H && S.call(k, "__wrapped__"), ie = K && S.call(N, "__wrapped__");
|
|
27375
27375
|
if (ae || ie) {
|
|
27376
|
-
var te = ae ?
|
|
27376
|
+
var te = ae ? k.value() : k, ue = ie ? N.value() : N;
|
|
27377
27377
|
return U || (U = new e()), G(te, ue, L, M, U);
|
|
27378
27378
|
}
|
|
27379
27379
|
}
|
|
27380
|
-
return ee ? (U || (U = new e()), a(
|
|
27380
|
+
return ee ? (U || (U = new e()), a(k, N, L, M, G, U)) : !1;
|
|
27381
27381
|
}
|
|
27382
27382
|
return _baseIsEqualDeep = T, _baseIsEqualDeep;
|
|
27383
27383
|
}
|
|
@@ -27407,15 +27407,15 @@ function require_baseIsMatch() {
|
|
|
27407
27407
|
}
|
|
27408
27408
|
for (; ++b < E; ) {
|
|
27409
27409
|
x = m[b];
|
|
27410
|
-
var S = x[0], T = d[S],
|
|
27410
|
+
var S = x[0], T = d[S], k = x[1];
|
|
27411
27411
|
if (I && x[2]) {
|
|
27412
27412
|
if (T === void 0 && !(S in d))
|
|
27413
27413
|
return !1;
|
|
27414
27414
|
} else {
|
|
27415
|
-
var
|
|
27415
|
+
var N = new e();
|
|
27416
27416
|
if (y)
|
|
27417
|
-
var L = y(T,
|
|
27418
|
-
if (!(L === void 0 ? t(
|
|
27417
|
+
var L = y(T, k, S, d, g, N);
|
|
27418
|
+
if (!(L === void 0 ? t(k, T, r | a, y, N) : L))
|
|
27419
27419
|
return !1;
|
|
27420
27420
|
}
|
|
27421
27421
|
}
|
|
@@ -28364,7 +28364,7 @@ const IdentifyBufferSettings = (e) => {
|
|
|
28364
28364
|
zIndex: 1e3
|
|
28365
28365
|
}), identify = {
|
|
28366
28366
|
overlays: []
|
|
28367
|
-
}, bundle$
|
|
28367
|
+
}, bundle$f = {
|
|
28368
28368
|
name: "identifyUi",
|
|
28369
28369
|
getReducer() {
|
|
28370
28370
|
const e = {
|
|
@@ -28762,7 +28762,7 @@ const ArcGisListener = {
|
|
|
28762
28762
|
m.layers = `all:${b}`;
|
|
28763
28763
|
const E = Object.assign({}, m, { root: y.url }), I = formatUrl(E);
|
|
28764
28764
|
s.push((x) => {
|
|
28765
|
-
r(I, (S, T,
|
|
28765
|
+
r(I, (S, T, k) => {
|
|
28766
28766
|
if (S || T.statusCode !== 200)
|
|
28767
28767
|
x(null, {
|
|
28768
28768
|
dataset: y.uid,
|
|
@@ -28772,15 +28772,15 @@ const ArcGisListener = {
|
|
|
28772
28772
|
});
|
|
28773
28773
|
else
|
|
28774
28774
|
try {
|
|
28775
|
-
let
|
|
28776
|
-
|
|
28775
|
+
let N = JSON.parse(k);
|
|
28776
|
+
N.results.length ? (N = identifyColumnsArcgisrest(N, g), x(null, {
|
|
28777
28777
|
dataset: y.uid,
|
|
28778
28778
|
layerName: y.displayName,
|
|
28779
28779
|
err: null,
|
|
28780
28780
|
result: {
|
|
28781
28781
|
[y.uid]: {
|
|
28782
28782
|
type: "FeatureCollection",
|
|
28783
|
-
features:
|
|
28783
|
+
features: N.results.map((L) => {
|
|
28784
28784
|
const G = esrijsonFormat.readFeature(L, {
|
|
28785
28785
|
featureProjection: "EPSG:3857"
|
|
28786
28786
|
}).getGeometry();
|
|
@@ -28801,8 +28801,8 @@ const ArcGisListener = {
|
|
|
28801
28801
|
err: null,
|
|
28802
28802
|
result: { [y.uid]: {} }
|
|
28803
28803
|
});
|
|
28804
|
-
} catch (
|
|
28805
|
-
console.log(
|
|
28804
|
+
} catch (N) {
|
|
28805
|
+
console.log(N), x(null, {
|
|
28806
28806
|
dataset: y.uid,
|
|
28807
28807
|
layerName: y.displayName,
|
|
28808
28808
|
err: `Error for ${y.displayName}`,
|
|
@@ -28850,11 +28850,11 @@ const ArcGisListener = {
|
|
|
28850
28850
|
let E = t.selectIdentifyColumnsExclude();
|
|
28851
28851
|
const I = g.identifyFields, x = g.identifyRenameColumns ?? g.identifyRenameColums, S = g.identifyFormatColumns;
|
|
28852
28852
|
b.forEachFeatureIntersectingExtent(d, (T) => {
|
|
28853
|
-
const
|
|
28853
|
+
const k = geoJSON$1.writeFeatureObject(T, {
|
|
28854
28854
|
featureProjection: "EPSG:3857",
|
|
28855
28855
|
dataProjection: "EPSG:4326"
|
|
28856
28856
|
});
|
|
28857
|
-
index_default(a,
|
|
28857
|
+
index_default(a, k) || y.push(k);
|
|
28858
28858
|
}), y = identifyExcludeColumnsArcgisvector(y, E), I && (y = identifyIncludeColumnsArcgisvector(y, I)), x && (y = identifyRenameColumnsArcgisvector(y, x)), S && (y = identifyFormatColumnsArcgisvector(y, S)), s.push({
|
|
28859
28859
|
dataset: g.uid,
|
|
28860
28860
|
layerName: g.displayName,
|
|
@@ -28873,11 +28873,11 @@ const ArcGisListener = {
|
|
|
28873
28873
|
if (e.vectorIdent.shouldRegister)
|
|
28874
28874
|
return { actionCreator: "doVectorIdentRegister" };
|
|
28875
28875
|
}
|
|
28876
|
-
}, plugin$
|
|
28876
|
+
}, plugin$i = {
|
|
28877
28877
|
pluginName: "IdentifyTools",
|
|
28878
28878
|
enabled: !0,
|
|
28879
28879
|
bundle: [
|
|
28880
|
-
bundle$
|
|
28880
|
+
bundle$f,
|
|
28881
28881
|
ArcGisListener,
|
|
28882
28882
|
// GeoJsonListener,
|
|
28883
28883
|
// RasterListener,
|
|
@@ -28891,12 +28891,108 @@ const ArcGisListener = {
|
|
|
28891
28891
|
}
|
|
28892
28892
|
]
|
|
28893
28893
|
};
|
|
28894
|
-
function
|
|
28895
|
-
const r = e.identifyType === "MAP" ? "1.0.0" : "1.1.0";
|
|
28894
|
+
function buildGeoserverUrl(e, t) {
|
|
28896
28895
|
return [
|
|
28897
28896
|
`${e.url}`,
|
|
28898
28897
|
"?service=WFS",
|
|
28899
|
-
|
|
28898
|
+
"&version=1.1.0",
|
|
28899
|
+
"&request=GetFeature",
|
|
28900
|
+
`&bbox=${t[0]},${t[1]},${t[2]},${t[3]},EPSG:4326`,
|
|
28901
|
+
`&typeName=${e.layerList}`,
|
|
28902
|
+
"&outputFormat=application%2Fjson"
|
|
28903
|
+
].join("");
|
|
28904
|
+
}
|
|
28905
|
+
const bundle$e = {
|
|
28906
|
+
name: "geoserverIdent",
|
|
28907
|
+
getReducer() {
|
|
28908
|
+
const e = {
|
|
28909
|
+
shouldRegister: !0
|
|
28910
|
+
};
|
|
28911
|
+
return (t = e, { type: r, payload: a }) => r === "GEOSERVER_IDENT_REGISTERED" ? Object.assign({}, t, a) : t;
|
|
28912
|
+
},
|
|
28913
|
+
doGeoserverIdentRegister: () => ({ dispatch: e, store: t }) => {
|
|
28914
|
+
e({
|
|
28915
|
+
type: "GEOSERVER_IDENT_REGISTERED",
|
|
28916
|
+
payload: { shouldRegister: !1 }
|
|
28917
|
+
}), t.doIdentifyAddCollection({
|
|
28918
|
+
onIdentify: t.doGeoserverIdentFire
|
|
28919
|
+
});
|
|
28920
|
+
},
|
|
28921
|
+
doGeoserverIdentFire: (e) => ({ store: t, anonGet: r }) => {
|
|
28922
|
+
const a = t.selectVisibleLayers(), s = t.doSetIdentifyFeature(), d = index_default$2(s), g = t.selectIdentifyColumnsExclude(), m = [];
|
|
28923
|
+
a.forEach((y) => {
|
|
28924
|
+
if (y.identifyType && y.identifyType === "ORM-GEOSERVER") {
|
|
28925
|
+
const b = buildGeoserverUrl(y, d);
|
|
28926
|
+
m.push((E) => {
|
|
28927
|
+
r(b, (I, x, S) => {
|
|
28928
|
+
if (I || x.statusCode !== 200)
|
|
28929
|
+
return E(null, {
|
|
28930
|
+
dataset: y.uid,
|
|
28931
|
+
layerName: y.displayName,
|
|
28932
|
+
err: `Error for ${y.displayName}`,
|
|
28933
|
+
result: { [y.uid]: {} }
|
|
28934
|
+
});
|
|
28935
|
+
try {
|
|
28936
|
+
let k = JSON.parse(S).features.filter((L) => !index_default(L, s)).map((L) => (L.properties.LATITUDE && (L.properties.LATITUDE = Number(
|
|
28937
|
+
L.properties.LATITUDE
|
|
28938
|
+
).toFixed(6)), L.properties.LONGITUDE && (L.properties.LONGITUDE = Number(
|
|
28939
|
+
L.properties.LONGITUDE
|
|
28940
|
+
).toFixed(6)), L));
|
|
28941
|
+
k = identifyExcludeColumnsArcgisvector(
|
|
28942
|
+
k,
|
|
28943
|
+
g
|
|
28944
|
+
), y.identifyFields && (k = identifyIncludeColumnsArcgisvector(
|
|
28945
|
+
k,
|
|
28946
|
+
y.identifyFields
|
|
28947
|
+
));
|
|
28948
|
+
const N = y.identifyRenameColumns ?? y.identifyRenameColums;
|
|
28949
|
+
return N && (k = identifyRenameColumnsArcgisvector(
|
|
28950
|
+
k,
|
|
28951
|
+
N
|
|
28952
|
+
)), y.identifyFormatColumns && (k = identifyFormatColumnsArcgisvector(
|
|
28953
|
+
k,
|
|
28954
|
+
y.identifyFormatColumns
|
|
28955
|
+
)), k = formatArcgisVector(k), E(null, {
|
|
28956
|
+
dataset: y.uid,
|
|
28957
|
+
layerName: y.displayName,
|
|
28958
|
+
err: null,
|
|
28959
|
+
result: {
|
|
28960
|
+
[y.uid]: {
|
|
28961
|
+
type: "FeatureCollection",
|
|
28962
|
+
features: k
|
|
28963
|
+
}
|
|
28964
|
+
}
|
|
28965
|
+
});
|
|
28966
|
+
} catch (T) {
|
|
28967
|
+
return console.log(T), E(null, {
|
|
28968
|
+
dataset: y.uid,
|
|
28969
|
+
layerName: y.displayName,
|
|
28970
|
+
err: `Error for ${y.displayName}`,
|
|
28971
|
+
result: { [y.uid]: {} }
|
|
28972
|
+
});
|
|
28973
|
+
}
|
|
28974
|
+
});
|
|
28975
|
+
});
|
|
28976
|
+
}
|
|
28977
|
+
}), async.parallel(m, (y, b) => {
|
|
28978
|
+
e(y, b);
|
|
28979
|
+
});
|
|
28980
|
+
},
|
|
28981
|
+
reactGeoserverIdentShouldRegister: (e) => {
|
|
28982
|
+
if (e.geoserverIdent.shouldRegister)
|
|
28983
|
+
return { actionCreator: "doGeoserverIdentRegister" };
|
|
28984
|
+
}
|
|
28985
|
+
}, plugin$h = {
|
|
28986
|
+
pluginName: "Identify GeoServer",
|
|
28987
|
+
enabled: !0,
|
|
28988
|
+
bundle: bundle$e,
|
|
28989
|
+
components: []
|
|
28990
|
+
};
|
|
28991
|
+
function buildMapServerUrl(e, t) {
|
|
28992
|
+
return [
|
|
28993
|
+
`${e.url}`,
|
|
28994
|
+
"?service=WFS",
|
|
28995
|
+
"&version=1.0.0",
|
|
28900
28996
|
"&request=GetFeature",
|
|
28901
28997
|
`&bbox=${t[0]},${t[1]},${t[2]},${t[3]},EPSG:4326`,
|
|
28902
28998
|
`&typeName=${e.layerList}`,
|
|
@@ -28904,26 +29000,26 @@ function buildOrmGeoserverUrl(e, t) {
|
|
|
28904
29000
|
].join("");
|
|
28905
29001
|
}
|
|
28906
29002
|
const bundle$d = {
|
|
28907
|
-
name: "
|
|
29003
|
+
name: "mapServerIdent",
|
|
28908
29004
|
getReducer() {
|
|
28909
29005
|
const e = {
|
|
28910
29006
|
shouldRegister: !0
|
|
28911
29007
|
};
|
|
28912
|
-
return (t = e, { type: r, payload: a }) => r === "
|
|
29008
|
+
return (t = e, { type: r, payload: a }) => r === "MAP_SERVER_IDENT_REGISTERED" ? Object.assign({}, t, a) : t;
|
|
28913
29009
|
},
|
|
28914
|
-
|
|
29010
|
+
doMapServerIdentRegister: () => ({ dispatch: e, store: t }) => {
|
|
28915
29011
|
e({
|
|
28916
|
-
type: "
|
|
29012
|
+
type: "MAP_SERVER_IDENT_REGISTERED",
|
|
28917
29013
|
payload: { shouldRegister: !1 }
|
|
28918
29014
|
}), t.doIdentifyAddCollection({
|
|
28919
|
-
onIdentify: t.
|
|
29015
|
+
onIdentify: t.doMapServerIdentFire
|
|
28920
29016
|
});
|
|
28921
29017
|
},
|
|
28922
|
-
|
|
29018
|
+
doMapServerIdentFire: (e) => ({ store: t, anonGet: r }) => {
|
|
28923
29019
|
const a = t.selectVisibleLayers(), s = t.doSetIdentifyFeature(), d = index_default$2(s), g = t.selectIdentifyColumnsExclude(), m = [];
|
|
28924
29020
|
a.forEach((y) => {
|
|
28925
|
-
if (y.identifyType &&
|
|
28926
|
-
const b =
|
|
29021
|
+
if (y.identifyType && y.identifyType === "MAP") {
|
|
29022
|
+
const b = buildMapServerUrl(y, d);
|
|
28927
29023
|
m.push((E) => {
|
|
28928
29024
|
r(b, (I, x, S) => {
|
|
28929
29025
|
if (I || x.statusCode !== 200)
|
|
@@ -28934,33 +29030,33 @@ const bundle$d = {
|
|
|
28934
29030
|
result: { [y.uid]: {} }
|
|
28935
29031
|
});
|
|
28936
29032
|
try {
|
|
28937
|
-
let
|
|
29033
|
+
let k = JSON.parse(S).features.filter((L) => !index_default(L, s)).map((L) => (L.properties.LATITUDE && (L.properties.LATITUDE = Number(
|
|
28938
29034
|
L.properties.LATITUDE
|
|
28939
29035
|
).toFixed(6)), L.properties.LONGITUDE && (L.properties.LONGITUDE = Number(
|
|
28940
29036
|
L.properties.LONGITUDE
|
|
28941
29037
|
).toFixed(6)), L));
|
|
28942
|
-
|
|
28943
|
-
|
|
29038
|
+
k = identifyExcludeColumnsArcgisvector(
|
|
29039
|
+
k,
|
|
28944
29040
|
g
|
|
28945
|
-
), y.identifyFields && (
|
|
28946
|
-
|
|
29041
|
+
), y.identifyFields && (k = identifyIncludeColumnsArcgisvector(
|
|
29042
|
+
k,
|
|
28947
29043
|
y.identifyFields
|
|
28948
29044
|
));
|
|
28949
|
-
const
|
|
28950
|
-
return
|
|
28951
|
-
|
|
28952
|
-
|
|
28953
|
-
)), y.identifyFormatColumns && (
|
|
28954
|
-
|
|
29045
|
+
const N = y.identifyRenameColumns ?? y.identifyRenameColums;
|
|
29046
|
+
return N && (k = identifyRenameColumnsArcgisvector(
|
|
29047
|
+
k,
|
|
29048
|
+
N
|
|
29049
|
+
)), y.identifyFormatColumns && (k = identifyFormatColumnsArcgisvector(
|
|
29050
|
+
k,
|
|
28955
29051
|
y.identifyFormatColumns
|
|
28956
|
-
)),
|
|
29052
|
+
)), k = formatArcgisVector(k), E(null, {
|
|
28957
29053
|
dataset: y.uid,
|
|
28958
29054
|
layerName: y.displayName,
|
|
28959
29055
|
err: null,
|
|
28960
29056
|
result: {
|
|
28961
29057
|
[y.uid]: {
|
|
28962
29058
|
type: "FeatureCollection",
|
|
28963
|
-
features:
|
|
29059
|
+
features: k
|
|
28964
29060
|
}
|
|
28965
29061
|
}
|
|
28966
29062
|
});
|
|
@@ -28979,12 +29075,12 @@ const bundle$d = {
|
|
|
28979
29075
|
e(y, b);
|
|
28980
29076
|
});
|
|
28981
29077
|
},
|
|
28982
|
-
|
|
28983
|
-
if (e.
|
|
28984
|
-
return { actionCreator: "
|
|
29078
|
+
reactMapServerIdentShouldRegister: (e) => {
|
|
29079
|
+
if (e.mapServerIdent.shouldRegister)
|
|
29080
|
+
return { actionCreator: "doMapServerIdentRegister" };
|
|
28985
29081
|
}
|
|
28986
29082
|
}, plugin$g = {
|
|
28987
|
-
pluginName: "Identify
|
|
29083
|
+
pluginName: "Identify Map Server",
|
|
28988
29084
|
enabled: !0,
|
|
28989
29085
|
bundle: bundle$d,
|
|
28990
29086
|
components: []
|
|
@@ -29114,21 +29210,21 @@ function require_baseOrderBy() {
|
|
|
29114
29210
|
hasRequired_baseOrderBy = 1;
|
|
29115
29211
|
var e = require_arrayMap(), t = require_baseGet(), r = require_baseIteratee(), a = require_baseMap(), s = require_baseSortBy(), d = require_baseUnary(), g = require_compareMultiple(), m = requireIdentity(), y = requireIsArray();
|
|
29116
29212
|
function b(E, I, x) {
|
|
29117
|
-
I.length ? I = e(I, function(
|
|
29118
|
-
return y(
|
|
29119
|
-
return t(
|
|
29120
|
-
} :
|
|
29213
|
+
I.length ? I = e(I, function(k) {
|
|
29214
|
+
return y(k) ? function(N) {
|
|
29215
|
+
return t(N, k.length === 1 ? k[0] : k);
|
|
29216
|
+
} : k;
|
|
29121
29217
|
}) : I = [m];
|
|
29122
29218
|
var S = -1;
|
|
29123
29219
|
I = e(I, d(r));
|
|
29124
|
-
var T = a(E, function(
|
|
29220
|
+
var T = a(E, function(k, N, L) {
|
|
29125
29221
|
var M = e(I, function(G) {
|
|
29126
|
-
return G(
|
|
29222
|
+
return G(k);
|
|
29127
29223
|
});
|
|
29128
|
-
return { criteria: M, index: ++S, value:
|
|
29224
|
+
return { criteria: M, index: ++S, value: k };
|
|
29129
29225
|
});
|
|
29130
|
-
return s(T, function(
|
|
29131
|
-
return g(
|
|
29226
|
+
return s(T, function(k, N) {
|
|
29227
|
+
return g(k, N, x);
|
|
29132
29228
|
});
|
|
29133
29229
|
}
|
|
29134
29230
|
return _baseOrderBy = b, _baseOrderBy;
|
|
@@ -29553,14 +29649,14 @@ Url.prototype.parse = function(e, t) {
|
|
|
29553
29649
|
const S = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
29554
29650
|
if (!S) {
|
|
29555
29651
|
const T = this.hostname.split(/\./);
|
|
29556
|
-
for (let
|
|
29557
|
-
const L = T[
|
|
29652
|
+
for (let k = 0, N = T.length; k < N; k++) {
|
|
29653
|
+
const L = T[k];
|
|
29558
29654
|
if (L && !L.match(hostnamePartPattern)) {
|
|
29559
29655
|
let M = "";
|
|
29560
29656
|
for (let G = 0, U = L.length; G < U; G++)
|
|
29561
29657
|
L.charCodeAt(G) > 127 ? M += "x" : M += L[G];
|
|
29562
29658
|
if (!M.match(hostnamePartPattern)) {
|
|
29563
|
-
const G = T.slice(0,
|
|
29659
|
+
const G = T.slice(0, k), U = T.slice(k + 1), V = L.match(hostnamePartStart);
|
|
29564
29660
|
V && (G.push(V[1]), U.unshift(V[2])), U.length && (d = U.join(".") + d), this.hostname = G.join(".");
|
|
29565
29661
|
break;
|
|
29566
29662
|
}
|
|
@@ -30476,20 +30572,20 @@ function linkify$1(e) {
|
|
|
30476
30572
|
let I = m.level, x = 0;
|
|
30477
30573
|
b.length > 0 && b[0].index === 0 && g > 0 && s[g - 1].type === "text_special" && (b = b.slice(1));
|
|
30478
30574
|
for (let S = 0; S < b.length; S++) {
|
|
30479
|
-
const T = b[S].url,
|
|
30480
|
-
if (!e.md.validateLink(
|
|
30575
|
+
const T = b[S].url, k = e.md.normalizeLink(T);
|
|
30576
|
+
if (!e.md.validateLink(k))
|
|
30481
30577
|
continue;
|
|
30482
|
-
let
|
|
30483
|
-
b[S].schema ? b[S].schema === "mailto:" && !/^mailto:/i.test(
|
|
30578
|
+
let N = b[S].text;
|
|
30579
|
+
b[S].schema ? b[S].schema === "mailto:" && !/^mailto:/i.test(N) ? N = e.md.normalizeLinkText("mailto:" + N).replace(/^mailto:/, "") : N = e.md.normalizeLinkText(N) : N = e.md.normalizeLinkText("http://" + N).replace(/^http:\/\//, "");
|
|
30484
30580
|
const L = b[S].index;
|
|
30485
30581
|
if (L > x) {
|
|
30486
30582
|
const V = new e.Token("text", "", 0);
|
|
30487
30583
|
V.content = y.slice(x, L), V.level = I, E.push(V);
|
|
30488
30584
|
}
|
|
30489
30585
|
const M = new e.Token("link_open", "a", 1);
|
|
30490
|
-
M.attrs = [["href",
|
|
30586
|
+
M.attrs = [["href", k]], M.level = I++, M.markup = "linkify", M.info = "auto", E.push(M);
|
|
30491
30587
|
const G = new e.Token("text", "", 0);
|
|
30492
|
-
G.content =
|
|
30588
|
+
G.content = N, G.level = I, E.push(G);
|
|
30493
30589
|
const U = new e.Token("link_close", "a", -1);
|
|
30494
30590
|
U.level = --I, U.markup = "linkify", U.info = "auto", E.push(U), x = b[S].lastIndex;
|
|
30495
30591
|
}
|
|
@@ -30564,26 +30660,26 @@ function process_inlines(e, t) {
|
|
|
30564
30660
|
let x = !0, S = !0;
|
|
30565
30661
|
b = I.index + 1;
|
|
30566
30662
|
const T = I[0] === "'";
|
|
30567
|
-
let
|
|
30663
|
+
let k = 32;
|
|
30568
30664
|
if (I.index - 1 >= 0)
|
|
30569
|
-
|
|
30665
|
+
k = y.charCodeAt(I.index - 1);
|
|
30570
30666
|
else
|
|
30571
30667
|
for (r = d - 1; r >= 0 && !(e[r].type === "softbreak" || e[r].type === "hardbreak"); r--)
|
|
30572
30668
|
if (e[r].content) {
|
|
30573
|
-
|
|
30669
|
+
k = e[r].content.charCodeAt(e[r].content.length - 1);
|
|
30574
30670
|
break;
|
|
30575
30671
|
}
|
|
30576
|
-
let
|
|
30672
|
+
let N = 32;
|
|
30577
30673
|
if (b < E)
|
|
30578
|
-
|
|
30674
|
+
N = y.charCodeAt(b);
|
|
30579
30675
|
else
|
|
30580
30676
|
for (r = d + 1; r < e.length && !(e[r].type === "softbreak" || e[r].type === "hardbreak"); r++)
|
|
30581
30677
|
if (e[r].content) {
|
|
30582
|
-
|
|
30678
|
+
N = e[r].content.charCodeAt(0);
|
|
30583
30679
|
break;
|
|
30584
30680
|
}
|
|
30585
|
-
const L = isMdAsciiPunct(
|
|
30586
|
-
if (U ? x = !1 : M && (G || L || (x = !1)), G ? S = !1 : L && (U || M || (S = !1)),
|
|
30681
|
+
const L = isMdAsciiPunct(k) || isPunctCharCode(k), M = isMdAsciiPunct(N) || isPunctCharCode(N), G = isWhiteSpace(k), U = isWhiteSpace(N);
|
|
30682
|
+
if (U ? x = !1 : M && (G || L || (x = !1)), G ? S = !1 : L && (U || M || (S = !1)), N === 34 && I[0] === '"' && k >= 48 && k <= 57 && (S = x = !1), x && S && (x = L, S = M), !x && !S) {
|
|
30587
30683
|
T && addReplacement(s, d, I.index, APOSTROPHE);
|
|
30588
30684
|
continue;
|
|
30589
30685
|
}
|
|
@@ -30786,10 +30882,10 @@ function table(e, t, r, a) {
|
|
|
30786
30882
|
return !0;
|
|
30787
30883
|
const x = e.parentType;
|
|
30788
30884
|
e.parentType = "table";
|
|
30789
|
-
const S = e.md.block.ruler.getRules("blockquote"), T = e.push("table_open", "table", 1),
|
|
30790
|
-
T.map =
|
|
30791
|
-
const
|
|
30792
|
-
|
|
30885
|
+
const S = e.md.block.ruler.getRules("blockquote"), T = e.push("table_open", "table", 1), k = [t, 0];
|
|
30886
|
+
T.map = k;
|
|
30887
|
+
const N = e.push("thead_open", "thead", 1);
|
|
30888
|
+
N.map = [t, t + 1];
|
|
30793
30889
|
const L = e.push("tr_open", "tr", 1);
|
|
30794
30890
|
L.map = [t, t + 1];
|
|
30795
30891
|
for (let U = 0; U < b.length; U++) {
|
|
@@ -30823,7 +30919,7 @@ function table(e, t, r, a) {
|
|
|
30823
30919
|
}
|
|
30824
30920
|
e.push("tr_close", "tr", -1);
|
|
30825
30921
|
}
|
|
30826
|
-
return M && (e.push("tbody_close", "tbody", -1), M[1] = s), e.push("table_close", "table", -1),
|
|
30922
|
+
return M && (e.push("tbody_close", "tbody", -1), M[1] = s), e.push("table_close", "table", -1), k[1] = s, e.parentType = x, e.line = s, !0;
|
|
30827
30923
|
}
|
|
30828
30924
|
function code(e, t, r) {
|
|
30829
30925
|
if (e.sCount[t] - e.blkIndent < 4)
|
|
@@ -30915,17 +31011,17 @@ function blockquote(e, t, r, a) {
|
|
|
30915
31011
|
}
|
|
30916
31012
|
m.push(e.bMarks[T]), y.push(e.bsCount[T]), E.push(e.tShift[T]), b.push(e.sCount[T]), e.sCount[T] = -1;
|
|
30917
31013
|
}
|
|
30918
|
-
const
|
|
31014
|
+
const k = e.blkIndent;
|
|
30919
31015
|
e.blkIndent = 0;
|
|
30920
|
-
const
|
|
30921
|
-
|
|
31016
|
+
const N = e.push("blockquote_open", "blockquote", 1);
|
|
31017
|
+
N.markup = ">";
|
|
30922
31018
|
const L = [t, 0];
|
|
30923
|
-
|
|
31019
|
+
N.map = L, e.md.block.tokenize(e, t, T);
|
|
30924
31020
|
const M = e.push("blockquote_close", "blockquote", -1);
|
|
30925
31021
|
M.markup = ">", e.lineMax = g, e.parentType = x, L[1] = e.line;
|
|
30926
31022
|
for (let G = 0; G < E.length; G++)
|
|
30927
31023
|
e.bMarks[G + t] = m[G], e.tShift[G + t] = E[G], e.sCount[G + t] = b[G], e.bsCount[G + t] = y[G];
|
|
30928
|
-
return e.blkIndent =
|
|
31024
|
+
return e.blkIndent = k, !0;
|
|
30929
31025
|
}
|
|
30930
31026
|
function hr(e, t, r, a) {
|
|
30931
31027
|
const s = e.eMarks[t];
|
|
@@ -31007,10 +31103,10 @@ function list(e, t, r, a) {
|
|
|
31007
31103
|
return !1;
|
|
31008
31104
|
if (a)
|
|
31009
31105
|
return !0;
|
|
31010
|
-
const T = e.src.charCodeAt(S - 1),
|
|
31106
|
+
const T = e.src.charCodeAt(S - 1), k = e.tokens.length;
|
|
31011
31107
|
I ? (m = e.push("ordered_list_open", "ol", 1), x !== 1 && (m.attrs = [["start", x]])) : m = e.push("bullet_list_open", "ul", 1);
|
|
31012
|
-
const
|
|
31013
|
-
m.map =
|
|
31108
|
+
const N = [y, 0];
|
|
31109
|
+
m.map = N, m.markup = String.fromCharCode(T);
|
|
31014
31110
|
let L = !1;
|
|
31015
31111
|
const M = e.md.block.ruler.getRules("list"), G = e.parentType;
|
|
31016
31112
|
for (e.parentType = "list"; y < r; ) {
|
|
@@ -31054,7 +31150,7 @@ function list(e, t, r, a) {
|
|
|
31054
31150
|
if (T !== e.src.charCodeAt(S - 1))
|
|
31055
31151
|
break;
|
|
31056
31152
|
}
|
|
31057
|
-
return I ? m = e.push("ordered_list_close", "ol", -1) : m = e.push("bullet_list_close", "ul", -1), m.markup = String.fromCharCode(T),
|
|
31153
|
+
return I ? m = e.push("ordered_list_close", "ol", -1) : m = e.push("bullet_list_close", "ul", -1), m.markup = String.fromCharCode(T), N[1] = y, e.line = y, e.parentType = G, b && markTightParagraphs(e, k), !0;
|
|
31058
31154
|
}
|
|
31059
31155
|
function reference(e, t, r, a) {
|
|
31060
31156
|
let s = e.bMarks[t] + e.tShift[t], d = e.eMarks[t], g = t + 1;
|
|
@@ -31122,21 +31218,21 @@ function reference(e, t, r, a) {
|
|
|
31122
31218
|
G !== null && (y += G, d = y.length, g++);
|
|
31123
31219
|
} else if (!isSpace(M)) break;
|
|
31124
31220
|
}
|
|
31125
|
-
let
|
|
31126
|
-
for (;
|
|
31221
|
+
let k = e.md.helpers.parseLinkTitle(y, s, d);
|
|
31222
|
+
for (; k.can_continue; ) {
|
|
31127
31223
|
const M = m(g);
|
|
31128
31224
|
if (M === null) break;
|
|
31129
|
-
y += M, s = d, d = y.length, g++,
|
|
31225
|
+
y += M, s = d, d = y.length, g++, k = e.md.helpers.parseLinkTitle(y, s, d, k);
|
|
31130
31226
|
}
|
|
31131
|
-
let
|
|
31132
|
-
for (s < d && T !== s &&
|
|
31227
|
+
let N;
|
|
31228
|
+
for (s < d && T !== s && k.ok ? (N = k.str, s = k.pos) : (N = "", s = x, g = S); s < d; ) {
|
|
31133
31229
|
const M = y.charCodeAt(s);
|
|
31134
31230
|
if (!isSpace(M))
|
|
31135
31231
|
break;
|
|
31136
31232
|
s++;
|
|
31137
31233
|
}
|
|
31138
|
-
if (s < d && y.charCodeAt(s) !== 10 &&
|
|
31139
|
-
for (
|
|
31234
|
+
if (s < d && y.charCodeAt(s) !== 10 && N)
|
|
31235
|
+
for (N = "", s = x, g = S; s < d; ) {
|
|
31140
31236
|
const M = y.charCodeAt(s);
|
|
31141
31237
|
if (!isSpace(M))
|
|
31142
31238
|
break;
|
|
@@ -31145,7 +31241,7 @@ function reference(e, t, r, a) {
|
|
|
31145
31241
|
if (s < d && y.charCodeAt(s) !== 10)
|
|
31146
31242
|
return !1;
|
|
31147
31243
|
const L = normalizeReference(y.slice(1, b));
|
|
31148
|
-
return L ? (a || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[L] > "u" && (e.env.references[L] = { title:
|
|
31244
|
+
return L ? (a || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[L] > "u" && (e.env.references[L] = { title: N, href: I }), e.line = g), !0) : !1;
|
|
31149
31245
|
}
|
|
31150
31246
|
const block_names = [
|
|
31151
31247
|
"address",
|
|
@@ -31397,8 +31493,8 @@ StateInline.prototype.scanDelims = function(e, t) {
|
|
|
31397
31493
|
else if (e === 1)
|
|
31398
31494
|
s = this.src.charCodeAt(0), (s & 63488) === 55296 && (s = 65533);
|
|
31399
31495
|
else if (s = this.src.charCodeAt(e - 1), (s & 64512) === 56320) {
|
|
31400
|
-
const
|
|
31401
|
-
s = (
|
|
31496
|
+
const N = this.src.charCodeAt(e - 2);
|
|
31497
|
+
s = (N & 64512) === 55296 ? 65536 + (N - 55296 << 10) + (s - 56320) : 65533;
|
|
31402
31498
|
} else (s & 64512) === 55296 && (s = 65533);
|
|
31403
31499
|
let d = e;
|
|
31404
31500
|
for (; d < r && this.src.charCodeAt(d) === a; )
|
|
@@ -31406,8 +31502,8 @@ StateInline.prototype.scanDelims = function(e, t) {
|
|
|
31406
31502
|
const g = d - e;
|
|
31407
31503
|
let m = d < r ? this.src.charCodeAt(d) : 32;
|
|
31408
31504
|
if ((m & 64512) === 55296) {
|
|
31409
|
-
const
|
|
31410
|
-
m = (
|
|
31505
|
+
const N = this.src.charCodeAt(d + 1);
|
|
31506
|
+
m = (N & 64512) === 56320 ? 65536 + (m - 55296 << 10) + (N - 56320) : 65533;
|
|
31411
31507
|
} else (m & 64512) === 56320 && (m = 65533);
|
|
31412
31508
|
const y = isMdAsciiPunct(s) || isPunctCharCode(s), b = isMdAsciiPunct(m) || isPunctCharCode(m), E = isWhiteSpace(s), I = isWhiteSpace(m), x = !I && (!b || E || y), S = !E && (!y || I || b);
|
|
31413
31509
|
return { can_open: x && (t || !S || y), can_close: S && (t || !x || b), length: g };
|
|
@@ -31688,8 +31784,8 @@ function link(e, t) {
|
|
|
31688
31784
|
}
|
|
31689
31785
|
if (!t) {
|
|
31690
31786
|
e.pos = x, e.posMax = S;
|
|
31691
|
-
const
|
|
31692
|
-
|
|
31787
|
+
const k = e.push("link_open", "a", 1), N = [["href", g]];
|
|
31788
|
+
k.attrs = N, m && N.push(["title", m]), e.linkLevel++, e.md.inline.tokenize(e), e.linkLevel--, e.push("link_close", "a", -1);
|
|
31693
31789
|
}
|
|
31694
31790
|
return e.pos = T, e.posMax = I, !0;
|
|
31695
31791
|
}
|
|
@@ -31725,15 +31821,15 @@ function image(e, t) {
|
|
|
31725
31821
|
}
|
|
31726
31822
|
if (!t) {
|
|
31727
31823
|
a = e.src.slice(S, T);
|
|
31728
|
-
const
|
|
31824
|
+
const k = [];
|
|
31729
31825
|
e.md.inline.parse(
|
|
31730
31826
|
a,
|
|
31731
31827
|
e.md,
|
|
31732
31828
|
e.env,
|
|
31733
|
-
|
|
31829
|
+
k
|
|
31734
31830
|
);
|
|
31735
|
-
const
|
|
31736
|
-
|
|
31831
|
+
const N = e.push("image", "img", 0), L = [["src", E], ["alt", ""]];
|
|
31832
|
+
N.attrs = L, N.children = k, N.content = a, y && L.push(["title", y]);
|
|
31737
31833
|
}
|
|
31738
31834
|
return e.pos = d, e.posMax = x, !0;
|
|
31739
31835
|
}
|
|
@@ -32265,10 +32361,10 @@ const ucs2encode = (e) => String.fromCodePoint(...e), basicToDigit = function(e)
|
|
|
32265
32361
|
const S = x <= d ? tMin : x >= d + tMax ? tMax : x - d;
|
|
32266
32362
|
if (I < S)
|
|
32267
32363
|
break;
|
|
32268
|
-
const T = I - S,
|
|
32364
|
+
const T = I - S, k = base - S;
|
|
32269
32365
|
t.push(
|
|
32270
|
-
stringFromCharCode(digitToBasic(S + T %
|
|
32271
|
-
), I = floor(T /
|
|
32366
|
+
stringFromCharCode(digitToBasic(S + T % k, 0))
|
|
32367
|
+
), I = floor(T / k);
|
|
32272
32368
|
}
|
|
32273
32369
|
t.push(stringFromCharCode(digitToBasic(I, 0))), d = adapt(s, b, m === g), s = 0, ++m;
|
|
32274
32370
|
}
|
|
@@ -32782,7 +32878,7 @@ class TreeListItemDataset extends React__default.Component {
|
|
|
32782
32878
|
hoverText: I
|
|
32783
32879
|
} = t, x = I || g;
|
|
32784
32880
|
if (!t.passFilter) return null;
|
|
32785
|
-
const S = t.minzoom <= s && t.maxzoom >= s, T = S ? { color: "#666" } : { color: "#bbb" },
|
|
32881
|
+
const S = t.minzoom <= s && t.maxzoom >= s, T = S ? { color: "#666" } : { color: "#bbb" }, k = classnames({
|
|
32786
32882
|
"cm-checkbox-inline": !0,
|
|
32787
32883
|
"cm-checkbox-ellipsis": !0,
|
|
32788
32884
|
"tree-list-item-hover": r
|
|
@@ -32795,17 +32891,17 @@ class TreeListItemDataset extends React__default.Component {
|
|
|
32795
32891
|
"mdi-grid": m === "RASTER",
|
|
32796
32892
|
"mdi-google-maps": m === "SERVICE"
|
|
32797
32893
|
});
|
|
32798
|
-
const
|
|
32894
|
+
const N = classnames({
|
|
32799
32895
|
[a]: d,
|
|
32800
32896
|
"layertree-layeritem-detailsicon": !0,
|
|
32801
32897
|
expanded: d
|
|
32802
32898
|
});
|
|
32803
32899
|
return /* @__PURE__ */ jsxs("div", { className: "layertree-layeritem", children: [
|
|
32804
|
-
/* @__PURE__ */ jsx$1("span", { className: "pull-right", children: /* @__PURE__ */ jsx$1("span", { onClick: this.toggleExpanded, className:
|
|
32900
|
+
/* @__PURE__ */ jsx$1("span", { className: "pull-right", children: /* @__PURE__ */ jsx$1("span", { onClick: this.toggleExpanded, className: N, children: /* @__PURE__ */ jsx$1("i", { className: "mdi mdi-dots-horizontal", title: "More Info" }) }) }),
|
|
32805
32901
|
/* @__PURE__ */ jsxs(
|
|
32806
32902
|
"label",
|
|
32807
32903
|
{
|
|
32808
|
-
className:
|
|
32904
|
+
className: k,
|
|
32809
32905
|
title: `${x} ${S ? "" : "- zoom in to enable"}`,
|
|
32810
32906
|
style: T,
|
|
32811
32907
|
children: [
|
|
@@ -33396,8 +33492,8 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33396
33492
|
S === !0 ? T = `${T}/legend?f=pjson` : T = `${T}/${y}?f=pjson`;
|
|
33397
33493
|
break;
|
|
33398
33494
|
}
|
|
33399
|
-
req$1 = xhr.get(T, (
|
|
33400
|
-
if (
|
|
33495
|
+
req$1 = xhr.get(T, (k, N, L) => {
|
|
33496
|
+
if (k || N.statusCode !== 200)
|
|
33401
33497
|
a[b] = ["Legend not available!"], t({
|
|
33402
33498
|
type: "LEGEND_LAYERS_UPDATE_ERROR",
|
|
33403
33499
|
payload: {
|
|
@@ -33435,14 +33531,14 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33435
33531
|
widths: [],
|
|
33436
33532
|
heights: []
|
|
33437
33533
|
};
|
|
33438
|
-
const S = e.layers.filter((T) => I.indexOf(T.layerId) !== -1).map((T) => T.legend.map((
|
|
33439
|
-
let
|
|
33440
|
-
return
|
|
33534
|
+
const S = e.layers.filter((T) => I.indexOf(T.layerId) !== -1).map((T) => T.legend.map((k) => {
|
|
33535
|
+
let N = new Image();
|
|
33536
|
+
return N.addEventListener(
|
|
33441
33537
|
"load",
|
|
33442
33538
|
function() {
|
|
33443
33539
|
let L = document.createElement("canvas"), M = L.getContext("2d");
|
|
33444
|
-
const G = Number(M.measureText(
|
|
33445
|
-
L.width = Number(
|
|
33540
|
+
const G = Number(M.measureText(k.label).width);
|
|
33541
|
+
L.width = Number(k.width) + G + 4, L.height = k.height, E[s].widths.push(L.width), E[s].heights.push(L.height), M.fillStyle = "white", M.fillRect(0, 0, L.width, L.height), M.drawImage(N, 0, 0), M.font = "10px Arial", M.fillStyle = "black", M.fillText(k.label, k.width + 2, k.height / 2), E[s].canvas.push(L), r({
|
|
33446
33542
|
type: "LEGEND_CANVAS_ADDED",
|
|
33447
33543
|
payload: {
|
|
33448
33544
|
legendCanvases: E,
|
|
@@ -33451,7 +33547,7 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33451
33547
|
});
|
|
33452
33548
|
},
|
|
33453
33549
|
!1
|
|
33454
|
-
),
|
|
33550
|
+
), N.src = `data:${k.contentType};base64,${k.imageData}`, N.alt = `Style for ${k.label}`, N.crossOrigin = "anonymous", N.title = k.label, N;
|
|
33455
33551
|
}));
|
|
33456
33552
|
b[s] = flatten(S), r({
|
|
33457
33553
|
type: "LEGEND_LAYERS_UPDATED",
|
|
@@ -33477,8 +33573,8 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33477
33573
|
if (E.renderer.symbol && E.renderer.symbol.type === "esriSFS" && E.renderer.symbol.style === "esriSFSSolid") {
|
|
33478
33574
|
let I = new Image();
|
|
33479
33575
|
const x = E.renderer.symbol.color, S = E.renderer.symbol.outline?.color ?? x;
|
|
33480
|
-
let T = document.createElement("canvas"),
|
|
33481
|
-
T.width = 20, T.height = 20, b[s].widths.push(T.width), b[s].heights.push(T.height),
|
|
33576
|
+
let T = document.createElement("canvas"), k = T.getContext("2d");
|
|
33577
|
+
T.width = 20, T.height = 20, b[s].widths.push(T.width), b[s].heights.push(T.height), k.beginPath(), k.lineWidth = "2", k.strokeStyle = safeRgba(S), k.rect(0, 0, 20, 20), k.stroke(), k.fillStyle = safeRgba(x), k.fillRect(1, 1, 18, 18), I.src = T.toDataURL(), I.alt = `Style for ${d}`, I.crossOrigin = "anonymous", b[s].canvas.push(T), r({
|
|
33482
33578
|
type: "LEGEND_CANVAS_ADDED",
|
|
33483
33579
|
payload: {
|
|
33484
33580
|
legendCanvases: b,
|
|
@@ -33494,8 +33590,8 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33494
33590
|
} else if (E.renderer.symbol && E.renderer.symbol.type === "esriSFS" && E.renderer.symbol.style === "esriSFSBackwardDiagonal") {
|
|
33495
33591
|
let I = new Image();
|
|
33496
33592
|
const x = E.renderer.symbol.color, S = E.renderer.symbol.outline?.color ?? x;
|
|
33497
|
-
let T = document.createElement("canvas"),
|
|
33498
|
-
T.width = 20, T.height = 20, b[s].widths.push(T.width), b[s].heights.push(T.height),
|
|
33593
|
+
let T = document.createElement("canvas"), k = T.getContext("2d");
|
|
33594
|
+
T.width = 20, T.height = 20, b[s].widths.push(T.width), b[s].heights.push(T.height), k.beginPath(), k.moveTo(0, 10), k.lineTo(10, 0), k.moveTo(0, 20), k.lineTo(20, 0), k.moveTo(10, 20), k.lineTo(20, 10), k.lineWidth = "2", k.strokeStyle = safeRgba(S), k.rect(0, 0, 20, 20), k.stroke(), I.src = T.toDataURL(), I.alt = `Style for ${d}`, I.crossOrigin = "anonymous", b[s].canvas.push(T), r({
|
|
33499
33595
|
type: "LEGEND_CANVAS_ADDED",
|
|
33500
33596
|
payload: {
|
|
33501
33597
|
legendCanvases: b,
|
|
@@ -33514,10 +33610,10 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33514
33610
|
if (!x.label || I.has(x.label)) return;
|
|
33515
33611
|
I.add(x.label);
|
|
33516
33612
|
let S = new Image();
|
|
33517
|
-
const T = x.symbol.color,
|
|
33518
|
-
let
|
|
33613
|
+
const T = x.symbol.color, k = x.symbol.outline?.color ?? T;
|
|
33614
|
+
let N = document.createElement("canvas"), L = N.getContext("2d");
|
|
33519
33615
|
const M = Number(L.measureText(x.label).width);
|
|
33520
|
-
|
|
33616
|
+
N.width = 20 + M + 4, N.height = 20, b[s].widths.push(N.width), b[s].heights.push(N.height), L.beginPath(), L.lineWidth = "2", L.strokeStyle = safeRgba(k), L.rect(0, 0, 20, 20), L.stroke(), L.fillStyle = safeRgba(T), L.fillRect(1, 1, 18, 18), L.font = "10px Arial", L.fillStyle = "black", L.fillText(x.label, 22, N.height / 2), S.src = N.toDataURL(), S.alt = `Style for ${d}`, S.crossOrigin = "anonymous", b[s].canvas.push(N), r({
|
|
33521
33617
|
type: "LEGEND_CANVAS_ADDED",
|
|
33522
33618
|
payload: {
|
|
33523
33619
|
legendCanvases: b,
|
|
@@ -33555,9 +33651,9 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33555
33651
|
E.renderer.uniqueValueInfos.forEach((x) => {
|
|
33556
33652
|
if (!x.label || I.has(x.label)) return;
|
|
33557
33653
|
I.add(x.label);
|
|
33558
|
-
let S = new Image(), T = document.createElement("canvas"),
|
|
33559
|
-
const
|
|
33560
|
-
T.width = 20 +
|
|
33654
|
+
let S = new Image(), T = document.createElement("canvas"), k = T.getContext("2d");
|
|
33655
|
+
const N = Number(k.measureText(x.label).width), L = x.symbol.color;
|
|
33656
|
+
T.width = 20 + N + 4, T.height = 20, b[s].widths.push(T.width), b[s].heights.push(T.height), k.beginPath(), k.strokeStyle = safeRgba(L), k.moveTo(0, 0), k.lineTo(20, 20), k.stroke(), k.font = "10px Arial", k.fillStyle = "black", k.fillText(x.label, 22, T.height / 2), S.src = T.toDataURL(), S.alt = `Style for ${d}`, S.crossOrigin = "anonymous", b[s].canvas.push(T), r({
|
|
33561
33657
|
type: "LEGEND_CANVAS_ADDED",
|
|
33562
33658
|
payload: {
|
|
33563
33659
|
legendCanvases: b,
|
|
@@ -33598,9 +33694,9 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33598
33694
|
});
|
|
33599
33695
|
} else if (E.renderer.symbol && E.renderer.symbol.type === "esriSMS") {
|
|
33600
33696
|
let I = new Image();
|
|
33601
|
-
const x = E.renderer.symbol.color, S = E.renderer.symbol.outline?.color ?? x, T = E.renderer.symbol.outline?.width ?? 1,
|
|
33602
|
-
let
|
|
33603
|
-
|
|
33697
|
+
const x = E.renderer.symbol.color, S = E.renderer.symbol.outline?.color ?? x, T = E.renderer.symbol.outline?.width ?? 1, k = E.renderer.symbol.size;
|
|
33698
|
+
let N = document.createElement("canvas"), L = N.getContext("2d");
|
|
33699
|
+
N.width = 20, N.height = 20, b[s].widths.push(N.width), b[s].heights.push(N.height), L.beginPath(), L.strokeStyle = safeRgba(S), L.lineWidth = T, L.arc(k, k, k / 1.5, 0, Math.PI * 2), L.fillStyle = safeRgba(x), L.fill(), L.stroke(), I.src = N.toDataURL(), I.alt = `Style for ${d}`, I.crossOrigin = "anonymous", b[s].canvas.push(N), r({
|
|
33604
33700
|
type: "LEGEND_CANVAS_ADDED",
|
|
33605
33701
|
payload: {
|
|
33606
33702
|
legendCanvases: b,
|
|
@@ -33616,16 +33712,16 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33616
33712
|
} else if (E.renderer.uniqueValueInfos) {
|
|
33617
33713
|
let I = [];
|
|
33618
33714
|
console.log("[legend] esriGeometryPoint uniqueValueInfos count:", E.renderer.uniqueValueInfos.length), E.renderer.uniqueValueInfos.forEach((x) => {
|
|
33619
|
-
let S = x.label, T = new Image(),
|
|
33620
|
-
const L = Number(
|
|
33715
|
+
let S = x.label, T = new Image(), k = document.createElement("canvas"), N = k.getContext("2d");
|
|
33716
|
+
const L = Number(N.measureText(S).width);
|
|
33621
33717
|
if (console.log("[legend] processing val:", S, "symbol type:", x.symbol.type), x.symbol.type === "esriPMS")
|
|
33622
|
-
T.src = `data:image/png;base64,${x.symbol.imageData}`,
|
|
33718
|
+
T.src = `data:image/png;base64,${x.symbol.imageData}`, k.width = Number(x.symbol.width) + L + 4, k.height = x.symbol.height, N.fillStyle = "white", N.fillRect(0, 0, k.width, k.height), N.drawImage(T, 0, 0);
|
|
33623
33719
|
else if (x.symbol.type === "esriSMS") {
|
|
33624
33720
|
const M = x.symbol.size || 10;
|
|
33625
|
-
|
|
33721
|
+
k.width = M * 2, k.height = M * 2, N.fillStyle = safeRgba(x.symbol.color), N.beginPath(), N.arc(M, M, M / 1.5, 0, Math.PI * 2), N.fill(), x.symbol.outline && (N.strokeStyle = safeRgba(x.symbol.outline.color), N.lineWidth = x.symbol.outline.width, N.stroke()), T.src = k.toDataURL(), console.log("[legend] esriSMS canvas size:", k.width, "x", k.height, "src length:", T.src.length);
|
|
33626
33722
|
}
|
|
33627
33723
|
T.alt = `Style for ${S}`, T.crossOrigin = "anonymous", T.title = S, I.push({
|
|
33628
|
-
canvas:
|
|
33724
|
+
canvas: k,
|
|
33629
33725
|
image: T
|
|
33630
33726
|
});
|
|
33631
33727
|
}), I.forEach((x) => {
|
|
@@ -33645,9 +33741,9 @@ const safeRgba = (e, t = [0, 0, 0, 0]) => e ? `rgba(${e.join()})` : `rgba(${t.jo
|
|
|
33645
33741
|
});
|
|
33646
33742
|
} else E.renderer.classBreakInfos ? E.renderer.classBreakInfos.forEach((I) => {
|
|
33647
33743
|
let x = new Image();
|
|
33648
|
-
const S = I.symbol.color, T = I.symbol.outline?.color ?? S,
|
|
33744
|
+
const S = I.symbol.color, T = I.symbol.outline?.color ?? S, k = I.symbol.outline?.width ?? 1, N = I.symbol.size;
|
|
33649
33745
|
let L = document.createElement("canvas"), M = L.getContext("2d");
|
|
33650
|
-
L.width = 20 * 2.5, L.height = 20, b[s].widths.push(L.width), b[s].heights.push(L.height), M.font = "11px Arial", M.fillText(I.label,
|
|
33746
|
+
L.width = 20 * 2.5, L.height = 20, b[s].widths.push(L.width), b[s].heights.push(L.height), M.font = "11px Arial", M.fillText(I.label, N * 3, N * 2, 30), M.beginPath(), M.strokeStyle = safeRgba(T), M.lineWidth = k, M.arc(N, N * 1.5, N / 1.5, 0, Math.PI * 2), M.fillStyle = safeRgba(S), M.fill(), M.stroke(), x.src = L.toDataURL(), x.alt = `Style for ${d}`, x.crossOrigin = "anonymous", b[s].canvas.push(L), r({
|
|
33651
33747
|
type: "LEGEND_CANVAS_ADDED",
|
|
33652
33748
|
payload: {
|
|
33653
33749
|
legendCanvases: b,
|
|
@@ -34478,8 +34574,8 @@ const sum = /* @__PURE__ */ getDefaultExportFromCjs$1(sumExports), bundle$9 = {
|
|
|
34478
34574
|
s.fillStyle = "#000", s.fillRect(E, I, b, y);
|
|
34479
34575
|
const x = E + 3, S = I + 3;
|
|
34480
34576
|
s.beginPath(), s.moveTo(x, S), s.lineTo(x, S + y / 2), s.lineTo(x + (b - 6), S + y / 2), s.lineTo(x + (b - 6), S), s.strokeStyle = "#fff", s.stroke();
|
|
34481
|
-
const T = x + (b / 2 - 6),
|
|
34482
|
-
s.font = "10px", s.fillStyle = "#fff", s.textAlign = "center", s.fillText(g, T,
|
|
34577
|
+
const T = x + (b / 2 - 6), k = S + (y / 2 - 4);
|
|
34578
|
+
s.font = "10px", s.fillStyle = "#fff", s.textAlign = "center", s.fillText(g, T, k);
|
|
34483
34579
|
}
|
|
34484
34580
|
), t({
|
|
34485
34581
|
type: "PRINT_MAP_CANVAS_GENERATED",
|
|
@@ -34498,16 +34594,16 @@ const sum = /* @__PURE__ */ getDefaultExportFromCjs$1(sumExports), bundle$9 = {
|
|
|
34498
34594
|
S.measureText(r[I.uid].displayName).width
|
|
34499
34595
|
) + 50;
|
|
34500
34596
|
if (r[I.uid].canvas.length) {
|
|
34501
|
-
const
|
|
34502
|
-
x.width = T >
|
|
34503
|
-
let
|
|
34597
|
+
const k = max(r[I.uid].widths);
|
|
34598
|
+
x.width = T > k ? T : k, x.height = sum(r[I.uid].heights) + 70, S.fillStyle = "white", S.fillRect(0, 0, x.width, x.height), S.font = "bold 12px Arial", S.fillStyle = "black", S.fillText(r[I.uid].displayName, 0, 15);
|
|
34599
|
+
let N = 20;
|
|
34504
34600
|
r[I.uid].canvas.forEach((L) => {
|
|
34505
|
-
S.drawImage(L, 0,
|
|
34506
|
-
}), r[I.uid].attributions && (
|
|
34601
|
+
S.drawImage(L, 0, N), N += Number(L.height);
|
|
34602
|
+
}), r[I.uid].attributions && (N += 20, S.font = "bold 12px Arial", S.fillStyle = "black", S.fillText(`Credits: ${r[I.uid].attributions}`, 0, N), N += 50, S.fillText("", 0, N)), d.push(x);
|
|
34507
34603
|
} else {
|
|
34508
34604
|
if (x.width = T, x.height = 90, S.fillStyle = "white", S.fillRect(0, 0, x.width, x.height), S.font = "bold 12px Arial", S.fillStyle = "black", S.fillText(r[I.uid].displayName, 0, 15), S.font = "10px Arial", S.fillStyle = "black", S.fillText("N/A", 5, 30), r[I.uid].attributions) {
|
|
34509
|
-
let
|
|
34510
|
-
S.font = "bold 12px Arial", S.fillStyle = "black", S.fillText(`Credits: ${r[I.uid].attributions}`, 0,
|
|
34605
|
+
let k = 20;
|
|
34606
|
+
S.font = "bold 12px Arial", S.fillStyle = "black", S.fillText(`Credits: ${r[I.uid].attributions}`, 0, k), k += 50, S.fillText("", 0, k);
|
|
34511
34607
|
}
|
|
34512
34608
|
d.push(x);
|
|
34513
34609
|
}
|
|
@@ -36048,14 +36144,14 @@ const treeViewDownload = {
|
|
|
36048
36144
|
const x = E.getSource();
|
|
36049
36145
|
let S = r.selectIdentifyColumnsExclude();
|
|
36050
36146
|
x.forEachFeatureIntersectingExtent(y, (T) => {
|
|
36051
|
-
const
|
|
36147
|
+
const k = geoJSON.writeFeatureObject(T, {
|
|
36052
36148
|
featureProjection: "EPSG:3857",
|
|
36053
36149
|
dataProjection: "EPSG:4326"
|
|
36054
36150
|
});
|
|
36055
|
-
index_default(g,
|
|
36151
|
+
index_default(g, k) || I.push(k);
|
|
36056
36152
|
}), I = identifyColumnsArcgisvector(I, S), a[0].identifyFields && I.forEach((T) => {
|
|
36057
36153
|
if (T.properties)
|
|
36058
|
-
for (const [
|
|
36154
|
+
for (const [k, N] of Object.entries(T.properties)) {
|
|
36059
36155
|
let L = {};
|
|
36060
36156
|
a[0].identifyFields.forEach((M) => {
|
|
36061
36157
|
T.properties[M] && (L[M] = T.properties[M]);
|
|
@@ -36063,9 +36159,9 @@ const treeViewDownload = {
|
|
|
36063
36159
|
}
|
|
36064
36160
|
}), a[0].identifyRenameColums && I.forEach((T) => {
|
|
36065
36161
|
if (T.properties)
|
|
36066
|
-
for (const [
|
|
36162
|
+
for (const [k, N] of Object.entries(T.properties))
|
|
36067
36163
|
for (const [L, M] of Object.entries(a[0].identifyRenameColums))
|
|
36068
|
-
|
|
36164
|
+
k === L && (T.properties[M] = T.properties[k], delete T.properties[k]);
|
|
36069
36165
|
}), m.push({
|
|
36070
36166
|
dataset: b.uid,
|
|
36071
36167
|
layerName: b.displayName,
|
|
@@ -36551,27 +36647,28 @@ export {
|
|
|
36551
36647
|
TreeListFolder,
|
|
36552
36648
|
TreeListItem$2 as TreeListItem,
|
|
36553
36649
|
TreeView,
|
|
36554
|
-
plugin$
|
|
36555
|
-
plugin$
|
|
36556
|
-
plugin$
|
|
36557
|
-
plugin$
|
|
36558
|
-
plugin$
|
|
36650
|
+
plugin$s as addData,
|
|
36651
|
+
plugin$r as arcgisIdent,
|
|
36652
|
+
plugin$q as basemapSwitcher,
|
|
36653
|
+
plugin$p as bookmarks,
|
|
36654
|
+
plugin$o as changeLog,
|
|
36559
36655
|
connect,
|
|
36560
|
-
plugin$
|
|
36561
|
-
plugin$
|
|
36562
|
-
plugin$
|
|
36563
|
-
plugin$
|
|
36564
|
-
plugin$
|
|
36565
|
-
plugin$h as
|
|
36656
|
+
plugin$m as coordDisplay,
|
|
36657
|
+
plugin$l as draw,
|
|
36658
|
+
plugin$r as esriIdent,
|
|
36659
|
+
plugin$k as geocoder,
|
|
36660
|
+
plugin$j as geojsonIdent,
|
|
36661
|
+
plugin$h as geoserverIdent,
|
|
36662
|
+
plugin$i as identify,
|
|
36566
36663
|
plugin$f as legend,
|
|
36567
36664
|
plugin as mapLoadingIndicator,
|
|
36665
|
+
plugin$g as mapServerIdent,
|
|
36568
36666
|
plugin$e as measureTools,
|
|
36569
|
-
plugin$g as ormGeoserverIdent,
|
|
36570
36667
|
plugin$d as permalink,
|
|
36571
36668
|
plugin$c as printMap,
|
|
36572
36669
|
plugin$b as questionsTab,
|
|
36573
36670
|
plugin$a as rasterIdent,
|
|
36574
|
-
plugin$
|
|
36671
|
+
plugin$n as resources,
|
|
36575
36672
|
plugin$9 as rotateNorth,
|
|
36576
36673
|
plugin$8 as themeSwitcher,
|
|
36577
36674
|
plugin$7 as treeView,
|