@arcgis/coding-components 5.0.0-next.12 → 5.0.0-next.14
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/addons.js +1 -1
- package/dist/cdn/{7LPAOMR5.js → 6JKGSMUV.js} +2 -2
- package/dist/cdn/{MY3OA4SV.js → 6QTMDF63.js} +2 -2
- package/dist/cdn/{UEDGUWSX.js → 7VG76UQP.js} +2 -2
- package/dist/cdn/{BOLOXR7H.js → AQSGCRMO.js} +2 -2
- package/dist/cdn/{GTMVWOIZ.js → B5CVGNPN.js} +2 -2
- package/dist/cdn/{6G4WXGSV.js → BLRXEZAD.js} +2 -2
- package/dist/cdn/{LCCNEXXW.js → BWOFUL2A.js} +2 -2
- package/dist/cdn/{SHZSTDMM.js → CEXF7K36.js} +2 -2
- package/dist/cdn/{WYSVHIVU.js → CMNVBTMM.js} +2 -2
- package/dist/cdn/{3GZTNYBN.js → COLNJ5FC.js} +1 -1
- package/dist/cdn/{HMIZKO4W.js → EBTSWU5V.js} +2 -2
- package/dist/cdn/{UVOYNQK5.js → EI7JGRX2.js} +2 -2
- package/dist/cdn/{XBPWD75L.js → G5RZ22V3.js} +2 -2
- package/dist/cdn/{GGBUVOFO.js → GIXWNZRN.js} +2 -2
- package/dist/cdn/{KBSZXCAJ.js → GSFNFFA7.js} +2 -2
- package/dist/cdn/{5QAGJABR.js → H4GU3D66.js} +1 -1
- package/dist/cdn/{TXADP7AT.js → JW6L72GN.js} +2 -2
- package/dist/cdn/K4KRFMDW.js +4 -0
- package/dist/cdn/{I7IODFNP.js → KDP7O4UJ.js} +2 -2
- package/dist/cdn/{FVEQX5UH.js → MF4ZMWDX.js} +1 -1
- package/dist/cdn/{GFDMARSS.js → MWR6BVH3.js} +2 -2
- package/dist/cdn/{477EYYM3.js → MZG7OVY6.js} +2 -2
- package/dist/cdn/{CMTDPIKM.js → O2LKZF7N.js} +1 -1
- package/dist/cdn/{W77PC6Z6.js → OF62H7HS.js} +1 -1
- package/dist/cdn/{U46R7IIN.js → OJNQSXTC.js} +2 -2
- package/dist/cdn/{HAIKT5DY.js → OVF5PFR4.js} +2 -2
- package/dist/cdn/{BWACVHLX.js → QUMWKFQL.js} +2 -2
- package/dist/cdn/{2XTWADTR.js → R7J4YH3B.js} +2 -2
- package/dist/cdn/{RXUT7GEV.js → RDGIBW2N.js} +4 -4
- package/dist/cdn/{NCZO3KUI.js → SJT7ZELZ.js} +2 -2
- package/dist/cdn/{UFPU4W3S.js → TAAXLO3X.js} +2 -2
- package/dist/cdn/{P4X2E3OA.js → U3X6VCWV.js} +2 -2
- package/dist/cdn/{45ZZK2LR.js → UHHZXKDW.js} +2 -2
- package/dist/cdn/{NVVR7EZX.js → USXHY3PW.js} +2 -2
- package/dist/cdn/{HIBECXAG.js → VI2TS3N2.js} +2 -2
- package/dist/cdn/{YOEMWY3G.js → VOW75JXX.js} +2 -2
- package/dist/cdn/{SFODRJ33.js → W3I3HDWO.js} +1 -1
- package/dist/cdn/{N4LWCPVJ.js → XQ3ANESE.js} +2 -2
- package/dist/cdn/{JNI3JPNH.js → Y2SZ3CB3.js} +2 -2
- package/dist/cdn/{6SDZSXVK.js → YJ7D7MWU.js} +2 -2
- package/dist/cdn/{7SAF4KBB.js → YQAS5G65.js} +2 -2
- package/dist/cdn/{5AFQXCJK.js → ZISLIRYT.js} +1 -1
- package/dist/cdn/{4NRAWEYI.js → ZKRRWDHY.js} +2 -2
- package/dist/cdn/{BEOTSOQZ.js → ZQZRG3OT.js} +2 -2
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +109 -108
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/arcade-defaults.js +1 -1
- package/dist/chunks/arcade-executor.js +1 -1
- package/dist/chunks/arcade-mode.js +1 -1
- package/dist/chunks/arcade-service-accessors.js +1 -1
- package/dist/chunks/editor.js +1 -1
- package/dist/chunks/fields.js +1 -1
- package/dist/chunks/language-defaults-base.js +1 -1
- package/dist/chunks/markdown.js +1 -1
- package/dist/chunks/monaco-importer.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/setup-monaco.js +1 -1
- package/dist/chunks/sql-expr-contribution.js +1 -1
- package/dist/chunks/sql-expr-defaults.js +1 -1
- package/dist/chunks/sql-expr-mode.js +1 -1
- package/dist/chunks/sql-expr-service-accessors.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +1 -1
- package/dist/components/arcgis-arcade-editor/customElement.js +1 -1
- package/dist/components/arcgis-arcade-results/customElement.js +1 -1
- package/dist/components/arcgis-arcade-suggestions/customElement.js +1 -1
- package/dist/components/arcgis-code-editor/customElement.js +1 -1
- package/dist/components/arcgis-editor-variables/customElement.js +1 -1
- package/dist/components/arcgis-language-api-panel/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-editor/customElement.js +1 -1
- package/dist/components/arcgis-sql-expression-fields/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/monacoStyles.js +1 -1
- package/package.json +6 -6
- package/dist/cdn/EP3U65TD.js +0 -4
|
@@ -99,8 +99,8 @@ var ma;
|
|
|
99
99
|
}
|
|
100
100
|
t.from = u;
|
|
101
101
|
function* l(U) {
|
|
102
|
-
for (let
|
|
103
|
-
yield U[
|
|
102
|
+
for (let F = U.length - 1; F >= 0; F--)
|
|
103
|
+
yield U[F];
|
|
104
104
|
}
|
|
105
105
|
t.reverse = l;
|
|
106
106
|
function c(U) {
|
|
@@ -111,60 +111,60 @@ var ma;
|
|
|
111
111
|
return U[Symbol.iterator]().next().value;
|
|
112
112
|
}
|
|
113
113
|
t.first = m;
|
|
114
|
-
function _(U,
|
|
114
|
+
function _(U, F) {
|
|
115
115
|
let B = 0;
|
|
116
116
|
for (const Z of U)
|
|
117
|
-
if (
|
|
117
|
+
if (F(Z, B++))
|
|
118
118
|
return !0;
|
|
119
119
|
return !1;
|
|
120
120
|
}
|
|
121
121
|
t.some = _;
|
|
122
|
-
function y(U,
|
|
122
|
+
function y(U, F) {
|
|
123
123
|
for (const B of U)
|
|
124
|
-
if (
|
|
124
|
+
if (F(B))
|
|
125
125
|
return B;
|
|
126
126
|
}
|
|
127
127
|
t.find = y;
|
|
128
|
-
function* v(U,
|
|
128
|
+
function* v(U, F) {
|
|
129
129
|
for (const B of U)
|
|
130
|
-
|
|
130
|
+
F(B) && (yield B);
|
|
131
131
|
}
|
|
132
132
|
t.filter = v;
|
|
133
|
-
function* S(U,
|
|
133
|
+
function* S(U, F) {
|
|
134
134
|
let B = 0;
|
|
135
135
|
for (const Z of U)
|
|
136
|
-
yield
|
|
136
|
+
yield F(Z, B++);
|
|
137
137
|
}
|
|
138
138
|
t.map = S;
|
|
139
|
-
function* x(U,
|
|
139
|
+
function* x(U, F) {
|
|
140
140
|
let B = 0;
|
|
141
141
|
for (const Z of U)
|
|
142
|
-
yield*
|
|
142
|
+
yield* F(Z, B++);
|
|
143
143
|
}
|
|
144
144
|
t.flatMap = x;
|
|
145
145
|
function* M(...U) {
|
|
146
|
-
for (const
|
|
147
|
-
yield*
|
|
146
|
+
for (const F of U)
|
|
147
|
+
yield* F;
|
|
148
148
|
}
|
|
149
149
|
t.concat = M;
|
|
150
|
-
function D(U,
|
|
150
|
+
function D(U, F, B) {
|
|
151
151
|
let Z = B;
|
|
152
152
|
for (const ee of U)
|
|
153
|
-
Z =
|
|
153
|
+
Z = F(Z, ee);
|
|
154
154
|
return Z;
|
|
155
155
|
}
|
|
156
156
|
t.reduce = D;
|
|
157
|
-
function* z(U,
|
|
158
|
-
for (
|
|
159
|
-
yield U[
|
|
157
|
+
function* z(U, F, B = U.length) {
|
|
158
|
+
for (F < 0 && (F += U.length), B < 0 ? B += U.length : B > U.length && (B = U.length); F < B; F++)
|
|
159
|
+
yield U[F];
|
|
160
160
|
}
|
|
161
161
|
t.slice = z;
|
|
162
|
-
function j(U,
|
|
162
|
+
function j(U, F = Number.POSITIVE_INFINITY) {
|
|
163
163
|
const B = [];
|
|
164
|
-
if (
|
|
164
|
+
if (F === 0)
|
|
165
165
|
return [B, U];
|
|
166
166
|
const Z = U[Symbol.iterator]();
|
|
167
|
-
for (let ee = 0; ee <
|
|
167
|
+
for (let ee = 0; ee < F; ee++) {
|
|
168
168
|
const ye = Z.next();
|
|
169
169
|
if (ye.done)
|
|
170
170
|
return [B, t.empty()];
|
|
@@ -176,10 +176,10 @@ var ma;
|
|
|
176
176
|
}
|
|
177
177
|
t.consume = j;
|
|
178
178
|
async function G(U) {
|
|
179
|
-
const
|
|
179
|
+
const F = [];
|
|
180
180
|
for await (const B of U)
|
|
181
|
-
|
|
182
|
-
return Promise.resolve(
|
|
181
|
+
F.push(B);
|
|
182
|
+
return Promise.resolve(F);
|
|
183
183
|
}
|
|
184
184
|
t.asyncToArray = G;
|
|
185
185
|
})(ma || (ma = {}));
|
|
@@ -548,11 +548,11 @@ var _a;
|
|
|
548
548
|
return xe.event;
|
|
549
549
|
}
|
|
550
550
|
t.fromNodeEventEmitter = U;
|
|
551
|
-
function
|
|
551
|
+
function F(K, Y, re = (te) => te) {
|
|
552
552
|
const te = (...et) => xe.fire(re(...et)), ae = () => K.addEventListener(Y, te), ge = () => K.removeEventListener(Y, te), xe = new vr({ onWillAddFirstListener: ae, onDidRemoveLastListener: ge });
|
|
553
553
|
return xe.event;
|
|
554
554
|
}
|
|
555
|
-
t.fromDOMEventEmitter =
|
|
555
|
+
t.fromDOMEventEmitter = F;
|
|
556
556
|
function B(K) {
|
|
557
557
|
return new Promise((Y) => r(K)(Y));
|
|
558
558
|
}
|
|
@@ -2448,12 +2448,12 @@ class xn {
|
|
|
2448
2448
|
];
|
|
2449
2449
|
}
|
|
2450
2450
|
WALKTRACE(e, r, n, i, s, u, l, c, m, _, y, v, S, x, M, D, z, j) {
|
|
2451
|
-
let G = null, U = null,
|
|
2451
|
+
let G = null, U = null, F = new Ld(), B = r, Z = n, ee = S[0] - D[0] - i, ye = -1073741824, Ie = this.m_forwardHistory.length - 1;
|
|
2452
2452
|
do {
|
|
2453
2453
|
const ve = ee + e;
|
|
2454
|
-
ve === B || ve < Z && m[ve - 1] < m[ve + 1] ? (y = m[ve + 1], x = y - ee - i, y < ye &&
|
|
2454
|
+
ve === B || ve < Z && m[ve - 1] < m[ve + 1] ? (y = m[ve + 1], x = y - ee - i, y < ye && F.MarkNextChange(), ye = y, F.AddModifiedElement(y + 1, x), ee = ve + 1 - e) : (y = m[ve - 1] + 1, x = y - ee - i, y < ye && F.MarkNextChange(), ye = y - 1, F.AddOriginalElement(y, x + 1), ee = ve - 1 - e), Ie >= 0 && (m = this.m_forwardHistory[Ie], e = m[0], B = 1, Z = m.length - 1);
|
|
2455
2455
|
} while (--Ie >= -1);
|
|
2456
|
-
if (G =
|
|
2456
|
+
if (G = F.getReverseChanges(), j[0]) {
|
|
2457
2457
|
let ve = S[0] + 1, le = D[0] + 1;
|
|
2458
2458
|
if (G !== null && G.length > 0) {
|
|
2459
2459
|
const K = G[G.length - 1];
|
|
@@ -2463,12 +2463,12 @@ class xn {
|
|
|
2463
2463
|
new Sn(ve, v - ve + 1, le, M - le + 1)
|
|
2464
2464
|
];
|
|
2465
2465
|
} else {
|
|
2466
|
-
|
|
2466
|
+
F = new Ld(), B = u, Z = l, ee = S[0] - D[0] - c, ye = 1073741824, Ie = z ? this.m_reverseHistory.length - 1 : this.m_reverseHistory.length - 2;
|
|
2467
2467
|
do {
|
|
2468
2468
|
const ve = ee + s;
|
|
2469
|
-
ve === B || ve < Z && _[ve - 1] >= _[ve + 1] ? (y = _[ve + 1] - 1, x = y - ee - c, y > ye &&
|
|
2469
|
+
ve === B || ve < Z && _[ve - 1] >= _[ve + 1] ? (y = _[ve + 1] - 1, x = y - ee - c, y > ye && F.MarkNextChange(), ye = y + 1, F.AddOriginalElement(y + 1, x + 1), ee = ve + 1 - s) : (y = _[ve - 1], x = y - ee - c, y > ye && F.MarkNextChange(), ye = y, F.AddModifiedElement(y + 1, x + 1), ee = ve - 1 - s), Ie >= 0 && (_ = this.m_reverseHistory[Ie], s = _[0], B = 1, Z = _.length - 1);
|
|
2470
2470
|
} while (--Ie >= -1);
|
|
2471
|
-
U =
|
|
2471
|
+
U = F.getChanges();
|
|
2472
2472
|
}
|
|
2473
2473
|
return this.ConcatenateChanges(G, U);
|
|
2474
2474
|
}
|
|
@@ -2491,7 +2491,7 @@ class xn {
|
|
|
2491
2491
|
ComputeRecursionPoint(e, r, n, i, s, u, l) {
|
|
2492
2492
|
let c = 0, m = 0, _ = 0, y = 0, v = 0, S = 0;
|
|
2493
2493
|
e--, n--, s[0] = 0, u[0] = 0, this.m_forwardHistory = [], this.m_reverseHistory = [];
|
|
2494
|
-
const x = r - e + (i - n), M = x + 1, D = new Int32Array(M), z = new Int32Array(M), j = i - n, G = r - e, U = e - n,
|
|
2494
|
+
const x = r - e + (i - n), M = x + 1, D = new Int32Array(M), z = new Int32Array(M), j = i - n, G = r - e, U = e - n, F = r - i, Z = (G - j) % 2 === 0;
|
|
2495
2495
|
D[j] = e, z[G] = r, l[0] = !1;
|
|
2496
2496
|
for (let ee = 1; ee <= x / 2 + 1; ee++) {
|
|
2497
2497
|
let ye = 0, Ie = 0;
|
|
@@ -2502,28 +2502,28 @@ class xn {
|
|
|
2502
2502
|
for (; c < r && m < i && this.ElementsAreEqual(c + 1, m + 1); )
|
|
2503
2503
|
c++, m++;
|
|
2504
2504
|
if (D[le] = c, c + m > ye + Ie && (ye = c, Ie = m), !Z && Math.abs(le - G) <= ee - 1 && c >= z[le])
|
|
2505
|
-
return s[0] = c, u[0] = m, K <= z[le] && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S,
|
|
2505
|
+
return s[0] = c, u[0] = m, K <= z[le] && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S, F, D, z, c, r, s, m, i, u, Z, l) : null;
|
|
2506
2506
|
}
|
|
2507
2507
|
const ve = (ye - e + (Ie - n) - ee) / 2;
|
|
2508
2508
|
if (this.ContinueProcessingPredicate !== null && !this.ContinueProcessingPredicate(ye, ve))
|
|
2509
|
-
return l[0] = !0, s[0] = ye, u[0] = Ie, ve > 0 && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S,
|
|
2509
|
+
return l[0] = !0, s[0] = ye, u[0] = Ie, ve > 0 && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S, F, D, z, c, r, s, m, i, u, Z, l) : (e++, n++, [
|
|
2510
2510
|
new Sn(e, r - e + 1, n, i - n + 1)
|
|
2511
2511
|
]);
|
|
2512
2512
|
v = this.ClipDiagonalBound(G - ee, ee, G, M), S = this.ClipDiagonalBound(G + ee, ee, G, M);
|
|
2513
2513
|
for (let le = v; le <= S; le += 2) {
|
|
2514
|
-
le === v || le < S && z[le - 1] >= z[le + 1] ? c = z[le + 1] - 1 : c = z[le - 1], m = c - (le - G) -
|
|
2514
|
+
le === v || le < S && z[le - 1] >= z[le + 1] ? c = z[le + 1] - 1 : c = z[le - 1], m = c - (le - G) - F;
|
|
2515
2515
|
const K = c;
|
|
2516
2516
|
for (; c > e && m > n && this.ElementsAreEqual(c, m); )
|
|
2517
2517
|
c--, m--;
|
|
2518
2518
|
if (z[le] = c, Z && Math.abs(le - j) <= ee && c <= D[le])
|
|
2519
|
-
return s[0] = c, u[0] = m, K >= D[le] && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S,
|
|
2519
|
+
return s[0] = c, u[0] = m, K >= D[le] && ee <= 1448 ? this.WALKTRACE(j, _, y, U, G, v, S, F, D, z, c, r, s, m, i, u, Z, l) : null;
|
|
2520
2520
|
}
|
|
2521
2521
|
if (ee <= 1447) {
|
|
2522
2522
|
let le = new Int32Array(y - _ + 2);
|
|
2523
2523
|
le[0] = j - _ + 1, di.Copy2(D, _, le, 1, y - _ + 1), this.m_forwardHistory.push(le), le = new Int32Array(S - v + 2), le[0] = G - v + 1, di.Copy2(z, v, le, 1, S - v + 1), this.m_reverseHistory.push(le);
|
|
2524
2524
|
}
|
|
2525
2525
|
}
|
|
2526
|
-
return this.WALKTRACE(j, _, y, U, G, v, S,
|
|
2526
|
+
return this.WALKTRACE(j, _, y, U, G, v, S, F, D, z, c, r, s, m, i, u, Z, l);
|
|
2527
2527
|
}
|
|
2528
2528
|
/**
|
|
2529
2529
|
* Shifts the given changes to provide a more intuitive diff.
|
|
@@ -5489,16 +5489,16 @@ class K5 {
|
|
|
5489
5489
|
m.reset(0);
|
|
5490
5490
|
do
|
|
5491
5491
|
if (v = m.next(j), v) {
|
|
5492
|
-
let U = v.index,
|
|
5492
|
+
let U = v.index, F = v.index + v[0].length;
|
|
5493
5493
|
if (U > 0) {
|
|
5494
5494
|
const ye = j.charCodeAt(U - 1);
|
|
5495
5495
|
$1(ye) && U--;
|
|
5496
5496
|
}
|
|
5497
|
-
if (
|
|
5498
|
-
const ye = j.charCodeAt(
|
|
5499
|
-
$1(ye) &&
|
|
5497
|
+
if (F + 1 < G) {
|
|
5498
|
+
const ye = j.charCodeAt(F - 1);
|
|
5499
|
+
$1(ye) && F++;
|
|
5500
5500
|
}
|
|
5501
|
-
const B = j.substring(U,
|
|
5501
|
+
const B = j.substring(U, F);
|
|
5502
5502
|
let Z = s0(U + 1, h_, j, 0);
|
|
5503
5503
|
Z && Z.endColumn <= U + 1 && (Z = null);
|
|
5504
5504
|
const ee = u.shouldHighlightNonBasicASCII(B, Z ? Z.word : null);
|
|
@@ -5507,7 +5507,7 @@ class K5 {
|
|
|
5507
5507
|
y = !0;
|
|
5508
5508
|
break e;
|
|
5509
5509
|
}
|
|
5510
|
-
_.push(new Ne(D, U + 1, D,
|
|
5510
|
+
_.push(new Ne(D, U + 1, D, F + 1));
|
|
5511
5511
|
}
|
|
5512
5512
|
}
|
|
5513
5513
|
while (v);
|
|
@@ -6631,10 +6631,10 @@ class g_ {
|
|
|
6631
6631
|
const z = _ === D ? -1 : c.get(_ + 1), j = _ === M ? -1 : c.get(_ - 1) + 1, G = Math.min(Math.max(z, j), i.length), U = G - _;
|
|
6632
6632
|
if (G > i.length || U > s.length)
|
|
6633
6633
|
continue;
|
|
6634
|
-
const
|
|
6635
|
-
c.set(_,
|
|
6634
|
+
const F = u(G, U);
|
|
6635
|
+
c.set(_, F);
|
|
6636
6636
|
const B = G === z ? m.get(_ + 1) : m.get(_ - 1);
|
|
6637
|
-
if (m.set(_,
|
|
6637
|
+
if (m.set(_, F !== G ? new Wm(B, G, U, F - G) : B), c.get(_) === i.length && c.get(_) - _ === s.length)
|
|
6638
6638
|
break e;
|
|
6639
6639
|
}
|
|
6640
6640
|
}
|
|
@@ -6865,13 +6865,13 @@ function E8(t, e, r, n, i, s) {
|
|
|
6865
6865
|
break;
|
|
6866
6866
|
}
|
|
6867
6867
|
U > 0 && (_.addRange(new be(S.original.startLineNumber - U, S.original.startLineNumber)), m.addRange(new be(S.modified.startLineNumber - U, S.modified.startLineNumber)));
|
|
6868
|
-
let
|
|
6869
|
-
for (
|
|
6870
|
-
const B = S.original.endLineNumberExclusive +
|
|
6868
|
+
let F;
|
|
6869
|
+
for (F = 0; F < G; F++) {
|
|
6870
|
+
const B = S.original.endLineNumberExclusive + F, Z = S.modified.endLineNumberExclusive + F;
|
|
6871
6871
|
if (B > n.length || Z > i.length || m.contains(Z) || _.contains(B) || !Hm(n[B - 1], i[Z - 1], s))
|
|
6872
6872
|
break;
|
|
6873
6873
|
}
|
|
6874
|
-
|
|
6874
|
+
F > 0 && (_.addRange(new be(S.original.endLineNumberExclusive, S.original.endLineNumberExclusive + F)), m.addRange(new be(S.modified.endLineNumberExclusive, S.modified.endLineNumberExclusive + F))), (U > 0 || F > 0) && (u[v] = new Tr(new be(S.original.startLineNumber - U, S.original.endLineNumberExclusive + F), new be(S.modified.startLineNumber - U, S.modified.endLineNumberExclusive + F)));
|
|
6875
6875
|
}
|
|
6876
6876
|
return u;
|
|
6877
6877
|
}
|
|
@@ -7016,8 +7016,8 @@ function A8(t, e, r) {
|
|
|
7016
7016
|
const D = n[0];
|
|
7017
7017
|
if (!(D.seq1Range.intersects(v.seq1Range) || D.seq2Range.intersects(v.seq2Range)))
|
|
7018
7018
|
break;
|
|
7019
|
-
const j = t.findWordContaining(D.seq1Range.start), G = e.findWordContaining(D.seq2Range.start), U = new Je(j, G),
|
|
7020
|
-
if (x +=
|
|
7019
|
+
const j = t.findWordContaining(D.seq1Range.start), G = e.findWordContaining(D.seq2Range.start), U = new Je(j, G), F = U.intersect(D);
|
|
7020
|
+
if (x += F.seq1Range.length, M += F.seq2Range.length, v = v.join(U), v.seq1Range.endExclusive >= D.seq1Range.endExclusive)
|
|
7021
7021
|
n.shift();
|
|
7022
7022
|
else
|
|
7023
7023
|
break;
|
|
@@ -7080,11 +7080,11 @@ function O8(t, e, r) {
|
|
|
7080
7080
|
const j = t.getText(D).trim();
|
|
7081
7081
|
if (j.length > 20 || j.split(/\r\n|\r|\n/).length > 1)
|
|
7082
7082
|
return !1;
|
|
7083
|
-
const G = t.countLinesIn(x.seq1Range), U = x.seq1Range.length,
|
|
7083
|
+
const G = t.countLinesIn(x.seq1Range), U = x.seq1Range.length, F = e.countLinesIn(x.seq2Range), B = x.seq2Range.length, Z = t.countLinesIn(M.seq1Range), ee = M.seq1Range.length, ye = e.countLinesIn(M.seq2Range), Ie = M.seq2Range.length, ve = 2 * 40 + 50;
|
|
7084
7084
|
function le(K) {
|
|
7085
7085
|
return Math.min(K, ve);
|
|
7086
7086
|
}
|
|
7087
|
-
return Math.pow(Math.pow(le(G * 40 + U), 1.5) + Math.pow(le(
|
|
7087
|
+
return Math.pow(Math.pow(le(G * 40 + U), 1.5) + Math.pow(le(F * 40 + B), 1.5), 1.5) + Math.pow(Math.pow(le(Z * 40 + ee), 1.5) + Math.pow(le(ye * 40 + Ie), 1.5), 1.5) > (ve ** 1.5) ** 1.5 * 1.3;
|
|
7088
7088
|
};
|
|
7089
7089
|
var l = v;
|
|
7090
7090
|
const _ = n[m], y = c[c.length - 1];
|
|
@@ -7139,7 +7139,7 @@ class C8 {
|
|
|
7139
7139
|
this.dynamicProgrammingDiffing = new g8(), this.myersDiffingAlgorithm = new g_();
|
|
7140
7140
|
}
|
|
7141
7141
|
computeDiff(e, r, n) {
|
|
7142
|
-
if (e.length <= 1 && l8(e, r, (
|
|
7142
|
+
if (e.length <= 1 && l8(e, r, (F, B) => F === B))
|
|
7143
7143
|
return new Yo([], [], !1);
|
|
7144
7144
|
if (e.length === 1 && e[0].length === 0 || r.length === 1 && r[0].length === 0)
|
|
7145
7145
|
return new Yo([
|
|
@@ -7148,16 +7148,16 @@ class C8 {
|
|
|
7148
7148
|
])
|
|
7149
7149
|
], [], !1);
|
|
7150
7150
|
const i = n.maxComputationTimeMs === 0 ? Fs.instance : new p8(n.maxComputationTimeMs), s = !n.ignoreTrimWhitespace, u = /* @__PURE__ */ new Map();
|
|
7151
|
-
function l(
|
|
7152
|
-
let B = u.get(
|
|
7153
|
-
return B === void 0 && (B = u.size, u.set(
|
|
7151
|
+
function l(F) {
|
|
7152
|
+
let B = u.get(F);
|
|
7153
|
+
return B === void 0 && (B = u.size, u.set(F, B)), B;
|
|
7154
7154
|
}
|
|
7155
|
-
const c = e.map((
|
|
7155
|
+
const c = e.map((F) => l(F.trim())), m = r.map((F) => l(F.trim())), _ = new Jm(c, e), y = new Jm(m, r), v = _.length + y.length < 1700 ? this.dynamicProgrammingDiffing.compute(_, y, i, (F, B) => e[F] === r[B] ? r[B].length === 0 ? 0.1 : 1 + Math.log(1 + r[B].length) : 0.99) : this.myersDiffingAlgorithm.compute(_, y, i);
|
|
7156
7156
|
let S = v.diffs, x = v.hitTimeout;
|
|
7157
7157
|
S = Ym(_, y, S), S = L8(_, y, S);
|
|
7158
|
-
const M = [], D = (
|
|
7158
|
+
const M = [], D = (F) => {
|
|
7159
7159
|
if (s)
|
|
7160
|
-
for (let B = 0; B <
|
|
7160
|
+
for (let B = 0; B < F; B++) {
|
|
7161
7161
|
const Z = z + B, ee = j + B;
|
|
7162
7162
|
if (e[Z] !== r[ee]) {
|
|
7163
7163
|
const ye = this.refineDiff(e, r, new Je(new Te(Z, Z + 1), new Te(ee, ee + 1)), i, s);
|
|
@@ -7168,11 +7168,11 @@ class C8 {
|
|
|
7168
7168
|
}
|
|
7169
7169
|
};
|
|
7170
7170
|
let z = 0, j = 0;
|
|
7171
|
-
for (const
|
|
7172
|
-
Na(() =>
|
|
7173
|
-
const B =
|
|
7174
|
-
D(B), z =
|
|
7175
|
-
const Z = this.refineDiff(e, r,
|
|
7171
|
+
for (const F of S) {
|
|
7172
|
+
Na(() => F.seq1Range.start - z === F.seq2Range.start - j);
|
|
7173
|
+
const B = F.seq1Range.start - z;
|
|
7174
|
+
D(B), z = F.seq1Range.endExclusive, j = F.seq2Range.endExclusive;
|
|
7175
|
+
const Z = this.refineDiff(e, r, F, i, s);
|
|
7176
7176
|
Z.hitTimeout && (x = !0);
|
|
7177
7177
|
for (const ee of Z.mappings)
|
|
7178
7178
|
M.push(ee);
|
|
@@ -7181,7 +7181,7 @@ class C8 {
|
|
|
7181
7181
|
const G = Km(M, e, r);
|
|
7182
7182
|
let U = [];
|
|
7183
7183
|
return n.computeMoves && (U = this.computeMoves(G, e, r, c, m, i, s)), Na(() => {
|
|
7184
|
-
function
|
|
7184
|
+
function F(Z, ee) {
|
|
7185
7185
|
if (Z.lineNumber < 1 || Z.lineNumber > ee.length)
|
|
7186
7186
|
return !1;
|
|
7187
7187
|
const ye = ee[Z.lineNumber - 1];
|
|
@@ -7194,7 +7194,7 @@ class C8 {
|
|
|
7194
7194
|
if (!Z.innerChanges)
|
|
7195
7195
|
return !1;
|
|
7196
7196
|
for (const ee of Z.innerChanges)
|
|
7197
|
-
if (!(
|
|
7197
|
+
if (!(F(ee.modifiedRange.getStartPosition(), r) && F(ee.modifiedRange.getEndPosition(), r) && F(ee.originalRange.getStartPosition(), e) && F(ee.originalRange.getEndPosition(), e)))
|
|
7198
7198
|
return !1;
|
|
7199
7199
|
if (!B(Z.modified, r) || !B(Z.original, e))
|
|
7200
7200
|
return !1;
|
|
@@ -10025,41 +10025,41 @@ async function P_(t, e) {
|
|
|
10025
10025
|
}
|
|
10026
10026
|
let Ln;
|
|
10027
10027
|
const kt = globalThis;
|
|
10028
|
-
function
|
|
10028
|
+
function $(t) {
|
|
10029
10029
|
return typeof Ln[t] == "function" ? Ln[t] = Ln[t](kt) : Ln[t];
|
|
10030
10030
|
}
|
|
10031
|
-
Ln = kt.dojoConfig?.has || kt.esriConfig?.has ? { ...kt.dojoConfig?.has, ...kt.esriConfig?.has } : {},
|
|
10032
|
-
(n || Ln[t] === void 0) && (Ln[t] = e), r &&
|
|
10033
|
-
},
|
|
10034
|
-
|
|
10031
|
+
Ln = kt.dojoConfig?.has || kt.esriConfig?.has ? { ...kt.dojoConfig?.has, ...kt.esriConfig?.has } : {}, $.add = (t, e, r, n) => {
|
|
10032
|
+
(n || Ln[t] === void 0) && (Ln[t] = e), r && $(t);
|
|
10033
|
+
}, $.cache = Ln, $.add("big-integer-warning-enabled", !0), $.add("esri-deprecation-warnings", !0), $.add("esri-tests-disable-screenshots", !1), $.add("esri-tests-use-full-window", !1), $.add("esri-tests-post-to-influx", !0), $.add("esri-cim-animations-enable-status", "enabled"), $.add("esri-cim-animations-spotlight", !1), $.add("esri-cim-animations-freeze-time", !1), (() => {
|
|
10034
|
+
$.add("host-webworker", kt.WorkerGlobalScope !== void 0 && self instanceof kt.WorkerGlobalScope);
|
|
10035
10035
|
const t = typeof window < "u" && typeof location < "u" && typeof document < "u" && window.location === location && window.document === document;
|
|
10036
|
-
if (
|
|
10036
|
+
if ($.add("host-browser", t), $.add("host-node", !(typeof kt.process != "object" || !kt.process.versions?.node || !kt.process.versions.v8)), $.add("dom", t), $("host-browser")) {
|
|
10037
10037
|
const e = navigator, r = e.userAgent, n = e.appVersion, i = parseFloat(n);
|
|
10038
|
-
if (
|
|
10038
|
+
if ($.add("wp", parseFloat(r.split("Windows Phone")[1]) || void 0), $.add("msapp", parseFloat(r.split("MSAppHost/")[1]) || void 0), $.add("khtml", n.includes("Konqueror") ? i : void 0), $.add("edge", parseFloat(r.split("Edge/")[1]) || void 0), $.add("opr", parseFloat(r.split("OPR/")[1]) || void 0), $.add("webkit", !$("wp") && !$("edge") && parseFloat(r.split("WebKit/")[1]) || void 0), $.add("chrome", !$("edge") && !$("opr") && parseFloat(r.split("Chrome/")[1]) || void 0), $.add("android", !$("wp") && parseFloat(r.split("Android ")[1]) || void 0), $.add("safari", !n.includes("Safari") || $("wp") || $("chrome") || $("android") || $("edge") || $("opr") ? void 0 : parseFloat(n.split("Version/")[1])), $.add("mac", n.includes("Macintosh")), !$("wp") && /(iPhone|iPod|iPad)/.test(r)) {
|
|
10039
10039
|
const s = RegExp.$1.replace(/P/, "p"), u = /OS ([\d_]+)/.test(r) ? RegExp.$1 : "1", l = parseFloat(u.replace(/_/, ".").replaceAll("_", ""));
|
|
10040
|
-
|
|
10040
|
+
$.add(s, l), $.add("ios", l);
|
|
10041
10041
|
}
|
|
10042
|
-
|
|
10042
|
+
$("webkit") || (!r.includes("Gecko") || $("wp") || $("khtml") || $("edge") || $.add("mozilla", i), $("mozilla") && $.add("ff", parseFloat(r.split("Firefox/")[1] || r.split("Minefield/")[1]) || void 0));
|
|
10043
10043
|
}
|
|
10044
10044
|
})(), (() => {
|
|
10045
10045
|
if (kt.navigator) {
|
|
10046
10046
|
const t = navigator.userAgent, e = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(t), r = /iPhone/i.test(t);
|
|
10047
|
-
e &&
|
|
10047
|
+
e && $.add("esri-mobile", e), r && $.add("esri-iPhone", r), $.add("esri-geolocation", !!navigator.geolocation);
|
|
10048
10048
|
}
|
|
10049
|
-
|
|
10049
|
+
$.add("esri-wasm", "WebAssembly" in kt), $.add("esri-performance-mode-frames-between-render", 20), $.add("esri-force-performance-mode", !1), $.add("esri-shared-array-buffer", () => {
|
|
10050
10050
|
const t = "SharedArrayBuffer" in kt, e = kt.crossOriginIsolated === !1;
|
|
10051
10051
|
return t && !e;
|
|
10052
|
-
}),
|
|
10052
|
+
}), $.add("wasm-simd", () => {
|
|
10053
10053
|
const t = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
|
|
10054
10054
|
return WebAssembly.validate(new Uint8Array(t));
|
|
10055
|
-
}),
|
|
10055
|
+
}), $.add("esri-atomics", "Atomics" in kt), $.add("esri-workers", "Worker" in kt), $.add("web-feat:cache", "caches" in kt), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("workers-pool-size", 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-fast-triangulation-enabled", !0), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 4), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:basemap-groundlayers", !0), $("host-webworker") || $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
10056
10056
|
try {
|
|
10057
10057
|
new Function();
|
|
10058
10058
|
} catch {
|
|
10059
10059
|
return !0;
|
|
10060
10060
|
}
|
|
10061
10061
|
return !1;
|
|
10062
|
-
}),
|
|
10062
|
+
}), $.add("esri-url-encodes-apostrophe", () => {
|
|
10063
10063
|
const t = window.document.createElement("a");
|
|
10064
10064
|
return t.href = "?'", t.href.includes("?%27");
|
|
10065
10065
|
}));
|
|
@@ -10183,7 +10183,7 @@ function L_(t, e, r) {
|
|
|
10183
10183
|
const lr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
10184
10184
|
if (globalThis.esriConfig && (R7(lr, globalThis.esriConfig, !0), delete lr.has), !lr.assetsPath) {
|
|
10185
10185
|
{
|
|
10186
|
-
const t = "5.0.0-next.
|
|
10186
|
+
const t = "5.0.0-next.9";
|
|
10187
10187
|
lr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
10188
10188
|
}
|
|
10189
10189
|
lr.defaultAssetsPath = lr.assetsPath;
|
|
@@ -14462,9 +14462,9 @@ class H {
|
|
|
14462
14462
|
const ve = s[Ie];
|
|
14463
14463
|
pe(ve) ? G ? s[Ie] = z[Ie] : s[Ie] = j[Ie] : G = !0;
|
|
14464
14464
|
}
|
|
14465
|
-
const U = M ? hw(s, u, l) : _ ? dw(s) : oy(s),
|
|
14466
|
-
if (
|
|
14467
|
-
return H.invalid(
|
|
14465
|
+
const U = M ? hw(s, u, l) : _ ? dw(s) : oy(s), F = U || ay(s);
|
|
14466
|
+
if (F)
|
|
14467
|
+
return H.invalid(F);
|
|
14468
14468
|
const B = M ? Sg(s, u, l) : _ ? Eg(s) : s, [Z, ee] = Ko(B, m, n), ye = new H({
|
|
14469
14469
|
ts: Z,
|
|
14470
14470
|
zone: n,
|
|
@@ -17036,7 +17036,7 @@ class Pv {
|
|
|
17036
17036
|
return null;
|
|
17037
17037
|
}
|
|
17038
17038
|
}
|
|
17039
|
-
const Mh = -3, Av = Mh - 1, Mv =
|
|
17039
|
+
const Mh = -3, Av = Mh - 1, Mv = !!$("esri-tests-disable-gpu-memory-measurements");
|
|
17040
17040
|
let Lv = class {
|
|
17041
17041
|
get size() {
|
|
17042
17042
|
return this._size;
|
|
@@ -18067,7 +18067,7 @@ function ja(t, e, r) {
|
|
|
18067
18067
|
}
|
|
18068
18068
|
}
|
|
18069
18069
|
function aS(t, e) {
|
|
18070
|
-
if (
|
|
18070
|
+
if ($("esri-unknown-property-errors") && !uS(t, e)) throw new si("set:unknown-property", lS(t, e));
|
|
18071
18071
|
}
|
|
18072
18072
|
function uS(t, e) {
|
|
18073
18073
|
return e.metadata[t] != null;
|
|
@@ -18531,13 +18531,13 @@ function DS(t, e, r = !1) {
|
|
|
18531
18531
|
i || (i = /* @__PURE__ */ new Set(), d2.set(t, i)), i.has(e) || (i.add(e), t.warn(n));
|
|
18532
18532
|
}
|
|
18533
18533
|
function $S(t, e, r = {}) {
|
|
18534
|
-
if (
|
|
18534
|
+
if ($("esri-deprecation-warnings")) {
|
|
18535
18535
|
const { moduleName: n } = r;
|
|
18536
18536
|
FS(t, `Function: ${(n ? n + "::" : "") + e + "()"}`, r);
|
|
18537
18537
|
}
|
|
18538
18538
|
}
|
|
18539
18539
|
function FS(t, e, r = {}) {
|
|
18540
|
-
if (
|
|
18540
|
+
if ($("esri-deprecation-warnings")) {
|
|
18541
18541
|
const { replacement: n, version: i, see: s, warnOnce: u } = r;
|
|
18542
18542
|
let l = e;
|
|
18543
18543
|
if (n && (l += `
|
|
@@ -18659,7 +18659,7 @@ let S0 = class Fh {
|
|
|
18659
18659
|
e.dispose && typeof e.dispose == "function" && e.dispose();
|
|
18660
18660
|
}
|
|
18661
18661
|
static {
|
|
18662
|
-
this.test = { disabled:
|
|
18662
|
+
this.test = { disabled: !!$("esri-tests-disable-memory-pools") };
|
|
18663
18663
|
}
|
|
18664
18664
|
}, VS = class {
|
|
18665
18665
|
constructor(e, r) {
|
|
@@ -19777,7 +19777,8 @@ function x2(t) {
|
|
|
19777
19777
|
}
|
|
19778
19778
|
const oT = /([^.]*)\.([^/]*)$/;
|
|
19779
19779
|
Symbol.dispose ??= Symbol("Symbol.dispose"), Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
19780
|
-
|
|
19780
|
+
$("host-webworker") || globalThis.$arcgis || Object.defineProperty(globalThis, "$arcgis", { configurable: !1, enumerable: !0, writable: !1, value: {} }), $("host-webworker");
|
|
19781
|
+
fetch.bind(null);
|
|
19781
19782
|
function V3(t, e) {
|
|
19782
19783
|
const r = e?.url?.path;
|
|
19783
19784
|
if (t && r && (t = cu(t, r, { preserveProtocolRelative: !0 }), e.portalItem && e.readResourcePaths)) {
|
|
@@ -19851,7 +19852,7 @@ function mT() {
|
|
|
19851
19852
|
return !!T;
|
|
19852
19853
|
}
|
|
19853
19854
|
function pT() {
|
|
19854
|
-
return
|
|
19855
|
+
return !!$("esri-wasm");
|
|
19855
19856
|
}
|
|
19856
19857
|
function gT() {
|
|
19857
19858
|
return w1 || (w1 = Promise.resolve().then(function() {
|
|
@@ -21142,8 +21143,8 @@ function pb(t, e, r) {
|
|
|
21142
21143
|
function cN(t, e, r, n, i) {
|
|
21143
21144
|
const [s, u] = t, [l, c] = e, [m, _] = r, [y, v] = n, S = y - m, x = s - m, M = l - s, D = v - _, z = u - _, j = c - u, G = D * M - S * j;
|
|
21144
21145
|
if (G === 0) return !1;
|
|
21145
|
-
const U = (S * z - D * x) / G,
|
|
21146
|
-
return U >= 0 && U <= 1 &&
|
|
21146
|
+
const U = (S * z - D * x) / G, F = (M * z - j * x) / G;
|
|
21147
|
+
return U >= 0 && U <= 1 && F >= 0 && F <= 1 && !0;
|
|
21147
21148
|
}
|
|
21148
21149
|
function fN(t) {
|
|
21149
21150
|
switch (t) {
|
|
@@ -21314,10 +21315,10 @@ let Mt = kr = class extends $r {
|
|
|
21314
21315
|
_ = A1(this.xmax, t);
|
|
21315
21316
|
const M = _.x, D = _.frameId, z = S === M && l > 0;
|
|
21316
21317
|
if (l > 2 * v) {
|
|
21317
|
-
const j = new kr(c < m ? S : M, i, v, s, u), G = new kr(y, i, c < m ? M : S, s, u), U = new kr(0, i, v, s, u),
|
|
21318
|
-
j.contains(U) && B.push(x), j.contains(
|
|
21318
|
+
const j = new kr(c < m ? S : M, i, v, s, u), G = new kr(y, i, c < m ? M : S, s, u), U = new kr(0, i, v, s, u), F = new kr(y, i, 0, s, u), B = [], Z = [];
|
|
21319
|
+
j.contains(U) && B.push(x), j.contains(F) && Z.push(x), G.contains(U) && B.push(D), G.contains(F) && Z.push(D);
|
|
21319
21320
|
for (let ee = x + 1; ee < D; ee++) B.push(ee), Z.push(ee);
|
|
21320
|
-
e.push({ extent: j, frameIds: [x] }, { extent: G, frameIds: [D] }, { extent: U, frameIds: B }, { extent:
|
|
21321
|
+
e.push({ extent: j, frameIds: [x] }, { extent: G, frameIds: [D] }, { extent: U, frameIds: B }, { extent: F, frameIds: Z });
|
|
21321
21322
|
} else S > M || z ? e.push({ extent: new kr(S, i, v, s, u), frameIds: [x] }, { extent: new kr(y, i, M, s, u), frameIds: [D] }) : e.push({ extent: new kr(S, i, M, s, u), frameIds: [x] });
|
|
21322
21323
|
this.cache._parts = e;
|
|
21323
21324
|
}
|
|
@@ -22579,7 +22580,7 @@ let R1 = class extends SyntaxError {
|
|
|
22579
22580
|
function Fx(t, e) {
|
|
22580
22581
|
const r = {}, n = (e = e !== void 0 ? e : {}).grammarSource, i = { start: $0 };
|
|
22581
22582
|
let s = $0;
|
|
22582
|
-
const u = "!", l = "=", c = ">=", m = ">", _ = "<=", y = "<>", v = "!=", S = "||", x = "@", M = "'", D = "N'", z = "''", j = ".", G = "null", U = "true",
|
|
22583
|
+
const u = "!", l = "=", c = ">=", m = ">", _ = "<=", y = "<>", v = "!=", S = "||", x = "@", M = "'", D = "N'", z = "''", j = ".", G = "null", U = "true", F = "false", B = "in", Z = "is", ee = "like", ye = "escape", Ie = "not", ve = "and", le = "or", K = "between", Y = "from", re = "for", te = "substring", ae = "extract", ge = "trim", xe = "position", et = "timestamp", ft = "date", qr = "time", fn = "leading", en = "trailing", ai = "both", tn = "cast", Ot = "as", rs = "integer", pu = "int", gu = "smallint", _u = "float", yu = "real", bu = "varchar", wu = "to", vu = "interval", Su = "year", Eu = "timezone_hour", Tu = "timezone_minute", Nu = "month", xu = "day", Pu = "hour", Au = "minute", Mu = "second", qs = "dow", Un = "doy", Lu = "week", Ou = "case", Cu = "end", Hs = "when", Ru = "then", Iu = "else", ns = ",", ku = "(", zn = ")", Ys = "`", Zs = /^[<-=]/, ui = /^[+\-]/, Du = /^[*\/]/, $u = /^[A-Za-z_\x80-\uFFFF]/, Fu = /^[A-Za-z0-9_]/, Xs = /^[A-Za-z0-9_.\x80-\uFFFF]/, Uu = /^["]/, Js = /^[^']/, zu = /^[0-9]/, Vu = /^[eE]/, Gu = /^[ \t\n\r]/, A = /^[^`]/, ju = ne("!", !1), Wu = ne("=", !1), Bu = ne(">=", !1), qu = ne(">", !1), Hu = ne("<=", !1), Yu = ne("<>", !1), Zu = yr([["<", "="]], !1, !1, !1), Xu = ne("!=", !1), li = yr(["+", "-"], !1, !1, !1), Ju = ne("||", !1), Qu = yr(["*", "/"], !1, !1, !1), Ku = yr([["A", "Z"], ["a", "z"], "_", ["", ""]], !1, !1, !1), el = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_"], !1, !1, !1), Qs = yr([["A", "Z"], ["a", "z"], ["0", "9"], "_", ".", ["", ""]], !1, !1, !1), tl = yr(['"'], !1, !1, !1), rl = ne("@", !1), Ks = ne("'", !1), nl = ne("N'", !1), eo = ne("''", !1), to = yr(["'"], !0, !1, !1), il = ne(".", !1), sl = yr([["0", "9"]], !1, !1, !1), ol = yr(["e", "E"], !1, !1, !1), al = ne("NULL", !0), ul = ne("TRUE", !0), ll = ne("FALSE", !0), cl = ne("IN", !0), fl = ne("IS", !0), hl = ne("LIKE", !0), dl = ne("ESCAPE", !0), ml = ne("NOT", !0), pl = ne("AND", !0), gl = ne("OR", !0), _l = ne("BETWEEN", !0), yl = ne("FROM", !0), bl = ne("FOR", !0), wl = ne("SUBSTRING", !0), vl = ne("EXTRACT", !0), Sl = ne("TRIM", !0), El = ne("POSITION", !0), Tl = ne("TIMESTAMP", !0), Nl = ne("DATE", !0), xl = ne("TIME", !0), Pl = ne("LEADING", !0), Al = ne("TRAILING", !0), Ml = ne("BOTH", !0), Ll = ne("CAST", !0), Ol = ne("AS", !0), Cl = ne("INTEGER", !0), Rl = ne("INT", !0), Il = ne("SMALLINT", !0), kl = ne("FLOAT", !0), Dl = ne("REAL", !0), $l = ne("VARCHAR", !0), Fl = ne("TO", !0), Ul = ne("INTERVAL", !0), zl = ne("YEAR", !0), Vl = ne("TIMEZONE_HOUR", !0), Gl = ne("TIMEZONE_MINUTE", !0), jl = ne("MONTH", !0), Wl = ne("DAY", !0), Bl = ne("HOUR", !0), ql = ne("MINUTE", !0), Hl = ne("SECOND", !0), Yl = ne("DOW", !0), Zl = ne("DOY", !0), Xl = ne("WEEK", !0), Jl = ne("CASE", !0), Ql = ne("END", !0), Kl = ne("WHEN", !0), ec = ne("THEN", !0), tc = ne("ELSE", !0), rc = ne(",", !1), nc = ne("(", !1), ic = ne(")", !1), sc = yr([" ", " ", `
|
|
22583
22584
|
`, "\r"], !1, !1, !1), ro = ne("`", !1), no = yr(["`"], !0, !1, !1);
|
|
22584
22585
|
function R0(a) {
|
|
22585
22586
|
return a;
|
|
@@ -23453,7 +23454,7 @@ function Fx(t, e) {
|
|
|
23453
23454
|
}
|
|
23454
23455
|
function C9() {
|
|
23455
23456
|
let a, f, d, b;
|
|
23456
|
-
return a = h, f = t.substr(h, 5), f.toLowerCase() ===
|
|
23457
|
+
return a = h, f = t.substr(h, 5), f.toLowerCase() === F ? h += 5 : (f = r, P === 0 && q(ll)), f !== r ? (d = h, P++, b = de(), P--, b === r ? d = void 0 : (h = d, d = r), d !== r ? (f = [f, d], a = f) : (h = a, a = r)) : (h = a, a = r), a;
|
|
23457
23458
|
}
|
|
23458
23459
|
function jf() {
|
|
23459
23460
|
let a, f, d, b;
|
|
@@ -23999,7 +24000,7 @@ class C0 {
|
|
|
23999
24000
|
}
|
|
24000
24001
|
tryGetCompiledExecutor() {
|
|
24001
24002
|
if (this._compiledExecutor != null) return this._compiledExecutor;
|
|
24002
|
-
if (
|
|
24003
|
+
if ($("esri-csp-restrictions")) return null;
|
|
24003
24004
|
const e = new Wx(this.parseTree);
|
|
24004
24005
|
return this._compiledExecutor = e.compile(), this._compiledExecutor;
|
|
24005
24006
|
}
|
|
@@ -24294,7 +24295,7 @@ var Yx = /* @__PURE__ */ Object.freeze({
|
|
|
24294
24295
|
if (E.ok) return E.arrayBuffer();
|
|
24295
24296
|
throw new Error(E.status + " : " + E.url);
|
|
24296
24297
|
};
|
|
24297
|
-
var _, y, v, S, x, M, D, z, j, G, U = console.log.bind(console),
|
|
24298
|
+
var _, y, v, S, x, M, D, z, j, G, U = console.log.bind(console), F = console.error.bind(console), B = !1;
|
|
24298
24299
|
function Z(p, E) {
|
|
24299
24300
|
p || re(E);
|
|
24300
24301
|
}
|
|
@@ -24316,7 +24317,7 @@ var Yx = /* @__PURE__ */ Object.freeze({
|
|
|
24316
24317
|
}
|
|
24317
24318
|
}
|
|
24318
24319
|
function re(p) {
|
|
24319
|
-
|
|
24320
|
+
F(p = "Aborted(" + p + ")"), B = !0, p += ". Build with -sASSERTIONS for more info.";
|
|
24320
24321
|
var E = new WebAssembly.RuntimeError(p);
|
|
24321
24322
|
throw r(E), E;
|
|
24322
24323
|
}
|
|
@@ -24339,7 +24340,7 @@ var Yx = /* @__PURE__ */ Object.freeze({
|
|
|
24339
24340
|
var k = await ge(p);
|
|
24340
24341
|
return await WebAssembly.instantiate(k, E);
|
|
24341
24342
|
} catch (W) {
|
|
24342
|
-
|
|
24343
|
+
F(`failed to asynchronously prepare wasm: ${W}`), re(W);
|
|
24343
24344
|
}
|
|
24344
24345
|
}
|
|
24345
24346
|
async function et(p, E, k) {
|
|
@@ -24347,7 +24348,7 @@ var Yx = /* @__PURE__ */ Object.freeze({
|
|
|
24347
24348
|
var W = fetch(E, { credentials: "same-origin" });
|
|
24348
24349
|
return await WebAssembly.instantiateStreaming(W, k);
|
|
24349
24350
|
} catch (X) {
|
|
24350
|
-
|
|
24351
|
+
F(`wasm streaming compile failed: ${X}`), F("falling back to ArrayBuffer instantiation");
|
|
24351
24352
|
}
|
|
24352
24353
|
return xe(E, k);
|
|
24353
24354
|
}
|
|
@@ -24515,7 +24516,7 @@ var Yx = /* @__PURE__ */ Object.freeze({
|
|
|
24515
24516
|
}
|
|
24516
24517
|
var Xs = [null, [], []], Uu = (p, E) => {
|
|
24517
24518
|
var k = Xs[p];
|
|
24518
|
-
E === 0 || E === 10 ? ((p === 1 ? U :
|
|
24519
|
+
E === 0 || E === 10 ? ((p === 1 ? U : F)(tn(k)), k.length = 0) : k.push(E);
|
|
24519
24520
|
}, Js = (p, E, k, W) => {
|
|
24520
24521
|
for (var X = 0, ie = 0; ie < k; ie++) {
|
|
24521
24522
|
var me = D[E >> 2], se = D[E + 4 >> 2];
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{C as i,o as e}from"./
|
|
3
|
+
v5.0.0-next.14 */
|
|
4
|
+
import{C as i,o as e}from"./6JKGSMUV.js";import"./OF62H7HS.js";import"./O2LKZF7N.js";var r=e(i,{"arcgis-arcade-coding-assistant":[()=>import("./AQSGCRMO.js"),"appVersion,assistantsEnabled,closed,closePanel:,editorRef:,feedbackServiceUrl,helpBase,insertText:,layer,portalUrl,serviceUrl;destroy"],"arcgis-arcade-editor":[()=>import("./EBTSWU5V.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,hideDocumentationActions,hideSideBar,openedSidePanel:,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getEditorInstance,getScript,getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./R7J4YH3B.js"),"consoleLogs:,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./YJ7D7MWU.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./CMNVBTMM.js"),"editorInstance:,editorOptions:,language,modelId:,value;getEditorInstance,getValue,insertSnippet,insertText,setFocus,setValue"],"arcgis-editor-variables":[()=>import("./MWR6BVH3.js"),"closed,loading,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./QUMWKFQL.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./B5CVGNPN.js"),"hideSideBar,profile:,script"],"arcgis-sql-expression-fields":[()=>import("./6QTMDF63.js"),"loading,modelId"]});r({resourcesUrl:import.meta.url});var o=new CSSStyleSheet();var ___=new CSSStyleSheet();___.replaceSync(`@layer{/*!-----------------------------------------------------------
|
|
5
5
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6
6
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
|
7
7
|
* Released under the MIT license
|