@nika-js/onlymap 0.11.6 → 0.11.7
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/{basemap-jgiazq81.js → basemap-BrQCDtfj.js} +2 -2
- package/dist/elements/om-map.d.ts +20 -1
- package/dist/elements/om-overlay.d.ts +8 -0
- package/dist/{geoparquet-BqlfpNfW.js → geoparquet-BSQY5PIo.js} +1 -1
- package/dist/{globe-view-BwEj9ar9.js → globe-view-CGXyelOy.js} +1 -1
- package/dist/{hillshade-50jNXHyP.js → hillshade-BtfW1P2c.js} +1 -1
- package/dist/{index-jPifVRWa.js → index-Bl8RF_ZY.js} +1 -1
- package/dist/{index-BBeBWH6b.js → index-CNderrhB.js} +1 -1
- package/dist/{index-mLeavkEr.js → index-CPoNS0ZN.js} +305 -271
- package/dist/{index-CiSq4_Va.js → index-Clg4OPrB.js} +1 -1
- package/dist/{index-CCVeg1y8.js → index-CtsYIqaJ.js} +3 -3
- package/dist/{index-BPRV9yxf.js → index-CvLkkFyD.js} +2 -2
- package/dist/{index-ALKRO96X.js → index-Df36FLVl.js} +1 -1
- package/dist/{index-BVIktcJJ.js → index-riq9qTYh.js} +3 -3
- package/dist/{index-CmfYI2km.js → index-wHUqi1zW.js} +1 -1
- package/dist/{lerc-B9Q9wT5l.js → lerc-B31CKJ6m.js} +1 -1
- package/dist/onlymap.standalone.js +739 -705
- package/dist/onlymapjs.js +1 -1
- package/dist/{post-process-effect-Dzn0f8iO.js → post-process-effect-8OT9O84M.js} +1 -1
- package/dist/{raster-C-WM-KNb.js → raster-Dx2oylKT.js} +3 -3
- package/dist/{raster-pipeline-qYYrkOdi.js → raster-pipeline-CPM9CeZ0.js} +1 -1
- package/dist/{text-on-path-1qHOZW1K.js → text-on-path-Bki2IUm0.js} +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/{zarr-CqHkmYTv.js → zarr-CsY2lbLD.js} +2 -2
- package/docs/cartograph.md +2 -2
- package/llms.txt +1 -0
- package/package.json +1 -1
- package/skills/onlymapjs/SKILL.md +2 -1
- package/skills/onlymapjs/references/syntax.md +4 -2
|
@@ -91,7 +91,7 @@ Zr("maptiler-satellite", {
|
|
|
91
91
|
label: "MapTiler Satellite",
|
|
92
92
|
requiresKey: "maptiler"
|
|
93
93
|
});
|
|
94
|
-
function
|
|
94
|
+
function gt(t) {
|
|
95
95
|
return t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
96
96
|
}
|
|
97
97
|
const Gw = /* @__PURE__ */ new WeakSet();
|
|
@@ -31145,7 +31145,7 @@ const rie = {
|
|
|
31145
31145
|
}, sie = {
|
|
31146
31146
|
match: (t, e) => ["csv", "tsv"].includes(xo(t) ?? "") || /text\/(csv|tab-separated-values)/i.test(e ?? ""),
|
|
31147
31147
|
parse: async (t) => {
|
|
31148
|
-
const [e, i, n] = await Promise.all([t.text(), import("./index-
|
|
31148
|
+
const [e, i, n] = await Promise.all([t.text(), import("./index-CNderrhB.js"), import("./index-CvLkkFyD.js")]), r = await n.parse(e, i.CSVLoader, { csv: { shape: "object-row-table" } });
|
|
31149
31149
|
return oie(r.data) ?? r.data;
|
|
31150
31150
|
}
|
|
31151
31151
|
};
|
|
@@ -31167,7 +31167,7 @@ const aie = {
|
|
|
31167
31167
|
parse: async (t, e) => {
|
|
31168
31168
|
t.body?.cancel().catch(() => {
|
|
31169
31169
|
});
|
|
31170
|
-
const [i, n] = await Promise.all([import("./index-
|
|
31170
|
+
const [i, n] = await Promise.all([import("./index-CvLkkFyD.js"), import("./index-Df36FLVl.js")]), r = t.url || e, s = /* @__PURE__ */ new Map(), o = (m) => {
|
|
31171
31171
|
const v = String(m);
|
|
31172
31172
|
let _ = s.get(v);
|
|
31173
31173
|
return _ || (_ = rO(v), s.set(v, _)), _.then((w) => w.clone());
|
|
@@ -31180,13 +31180,13 @@ const aie = {
|
|
|
31180
31180
|
}, lie = {
|
|
31181
31181
|
match: (t, e) => xo(t) === "kml" || /application\/vnd\.google-earth\.kml/i.test(e ?? ""),
|
|
31182
31182
|
parse: async (t) => {
|
|
31183
|
-
const [e, i, n] = await Promise.all([t.text(), import("./index-
|
|
31183
|
+
const [e, i, n] = await Promise.all([t.text(), import("./index-CvLkkFyD.js"), import("./index-Bl8RF_ZY.js")]);
|
|
31184
31184
|
return ql(await i.parse(e, n.KMLLoader));
|
|
31185
31185
|
}
|
|
31186
31186
|
}, cie = /* @__PURE__ */ new Set(["waypoint", "track", "route"]), uie = {
|
|
31187
31187
|
match: (t, e) => xo(t) === "gpx" || /application\/gpx\+xml/i.test(e ?? ""),
|
|
31188
31188
|
parse: async (t, e) => {
|
|
31189
|
-
const [i, n, r] = await Promise.all([t.text(), import("./index-
|
|
31189
|
+
const [i, n, r] = await Promise.all([t.text(), import("./index-CvLkkFyD.js"), import("./index-Bl8RF_ZY.js")]), o = ((await n.parse(i, r.GPXLoader)).features ?? []).map((l) => {
|
|
31190
31190
|
const u = l.properties?._gpxType, h = u === "trk" ? "track" : u === "rte" ? "route" : "waypoint";
|
|
31191
31191
|
return { ...l, properties: { ...l.properties, _gpxKind: h } };
|
|
31192
31192
|
}), a = e.split("#")[1]?.toLowerCase().replace(/s$/, "");
|
|
@@ -31219,7 +31219,7 @@ const aie = {
|
|
|
31219
31219
|
t.arrayBuffer(),
|
|
31220
31220
|
import("./index-BYbMtNVH.js"),
|
|
31221
31221
|
import("./index-CgPV7QlM.js"),
|
|
31222
|
-
import("./geoparquet-
|
|
31222
|
+
import("./geoparquet-BSQY5PIo.js")
|
|
31223
31223
|
]), o = new Uint8Array(i);
|
|
31224
31224
|
if (o.length < 8 || o[0] !== 80 || o[1] !== 65 || o[2] !== 82 || o[3] !== 49)
|
|
31225
31225
|
throw new Error(`data="${e}": not a Parquet file (missing PAR1 magic bytes).`);
|
|
@@ -39793,7 +39793,7 @@ var Mt = (function(t) {
|
|
|
39793
39793
|
"almost asm";
|
|
39794
39794
|
var _e = new ge.Int8Array(je), c = new ge.Int32Array(je);
|
|
39795
39795
|
new ge.Uint8Array(je), new ge.Float32Array(je);
|
|
39796
|
-
var H = new ge.Float64Array(je), ht = Se.o | 0, Nt = Se.p | 0, Ci = ge.Math.floor, Ot = ge.Math.abs, Pt = ge.Math.sqrt, Ft = ge.Math.cos, Gt = ge.Math.sin, fn = ge.Math.tan, Ls = ge.Math.acos, Ns = ge.Math.asin, tw = ge.Math.atan, nn = ge.Math.atan2, za = ge.Math.ceil, hn = ge.Math.imul, pg = ge.Math.min, q5 = ge.Math.max, qr = ge.Math.clz32, Q5 = Se.a, at = Se.b, V = Se.c,
|
|
39796
|
+
var H = new ge.Float64Array(je), ht = Se.o | 0, Nt = Se.p | 0, Ci = ge.Math.floor, Ot = ge.Math.abs, Pt = ge.Math.sqrt, Ft = ge.Math.cos, Gt = ge.Math.sin, fn = ge.Math.tan, Ls = ge.Math.acos, Ns = ge.Math.asin, tw = ge.Math.atan, nn = ge.Math.atan2, za = ge.Math.ceil, hn = ge.Math.imul, pg = ge.Math.min, q5 = ge.Math.max, qr = ge.Math.clz32, Q5 = Se.a, at = Se.b, V = Se.c, yt = Se.d, iw = Se.e, eV = Se.f, tV = Se.g, iV = Se.h, nV = Se.i, U = 28416;
|
|
39797
39797
|
function rV(f) {
|
|
39798
39798
|
return _e = new Int8Array(f), c = new Int32Array(f), H = new Float64Array(f), je = f, !0;
|
|
39799
39799
|
}
|
|
@@ -40055,7 +40055,7 @@ var Mt = (function(t) {
|
|
|
40055
40055
|
f = Eg(f, d) | 0, b = 1, d = V() | 0;
|
|
40056
40056
|
break;
|
|
40057
40057
|
} else
|
|
40058
|
-
|
|
40058
|
+
yt(27634, 26928, 533, 26936);
|
|
40059
40059
|
switch (C | 0) {
|
|
40060
40060
|
case 3: {
|
|
40061
40061
|
f = Po(f, d) | 0, d = V() | 0, c[g >> 2] = (c[g >> 2] | 0) + 1, b = 0;
|
|
@@ -40234,9 +40234,9 @@ var Mt = (function(t) {
|
|
|
40234
40234
|
}
|
|
40235
40235
|
function aw(f, d, A, g, p, y, b) {
|
|
40236
40236
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0, y = y | 0, b = b | 0;
|
|
40237
|
-
var x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0,
|
|
40238
|
-
if (
|
|
40239
|
-
return
|
|
40237
|
+
var x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0, bt = 0, _t = 0, Ui = 0, ut = 0, xt = 0, sn = 0;
|
|
40238
|
+
if (_t = U, U = U + 64 | 0, We = _t + 48 | 0, Te = _t + 32 | 0, Ne = _t + 24 | 0, Ae = _t + 8 | 0, xe = _t, C = c[f >> 2] | 0, (C | 0) <= 0)
|
|
40239
|
+
return bt = 0, U = _t, bt | 0;
|
|
40240
40240
|
for (ae = f + 4 | 0, re = We + 8 | 0, Oe = Te + 8 | 0, ve = Ae + 8 | 0, x = 0, se = 0; ; ) {
|
|
40241
40241
|
S = c[ae >> 2] | 0, j = S + (se << 4) | 0, c[We >> 2] = c[j >> 2], c[We + 4 >> 2] = c[j + 4 >> 2], c[We + 8 >> 2] = c[j + 8 >> 2], c[We + 12 >> 2] = c[j + 12 >> 2], (se | 0) == (C + -1 | 0) ? (c[Te >> 2] = c[S >> 2], c[Te + 4 >> 2] = c[S + 4 >> 2], c[Te + 8 >> 2] = c[S + 8 >> 2], c[Te + 12 >> 2] = c[S + 12 >> 2]) : (j = S + (se + 1 << 4) | 0, c[Te >> 2] = c[j >> 2], c[Te + 4 >> 2] = c[j + 4 >> 2], c[Te + 8 >> 2] = c[j + 8 >> 2], c[Te + 12 >> 2] = c[j + 12 >> 2]), C = EV(We, Te, g, Ne) | 0;
|
|
40242
40242
|
e: do
|
|
@@ -40245,14 +40245,14 @@ var Mt = (function(t) {
|
|
|
40245
40245
|
else if (C = Ne, S = c[C >> 2] | 0, C = c[C + 4 >> 2] | 0, (C | 0) > 0 | (C | 0) == 0 & S >>> 0 > 0) {
|
|
40246
40246
|
ne = 0, j = 0;
|
|
40247
40247
|
t: for (; ; ) {
|
|
40248
|
-
if (ut = 1 / (+(S >>> 0) + 4294967296 * +(C | 0)), sn = +H[We >> 3], C = mi(S | 0, C | 0, ne | 0, j | 0) | 0,
|
|
40248
|
+
if (ut = 1 / (+(S >>> 0) + 4294967296 * +(C | 0)), sn = +H[We >> 3], C = mi(S | 0, C | 0, ne | 0, j | 0) | 0, xt = +(C >>> 0) + 4294967296 * +(V() | 0), Ui = +(ne >>> 0) + 4294967296 * +(j | 0), H[Ae >> 3] = ut * (sn * xt) + ut * (+H[Te >> 3] * Ui), H[ve >> 3] = ut * (+H[re >> 3] * xt) + ut * (+H[Oe >> 3] * Ui), C = Mg(Ae, g, xe) | 0, C | 0) {
|
|
40249
40249
|
x = C;
|
|
40250
40250
|
break;
|
|
40251
40251
|
}
|
|
40252
40252
|
K = xe, W = c[K >> 2] | 0, K = c[K + 4 >> 2] | 0, L = Qr(W | 0, K | 0, d | 0, A | 0) | 0, M = V() | 0, C = b + (L << 3) | 0, R = C, S = c[R >> 2] | 0, R = c[R + 4 >> 2] | 0;
|
|
40253
40253
|
i: do
|
|
40254
40254
|
if ((S | 0) == 0 & (R | 0) == 0)
|
|
40255
|
-
te = C,
|
|
40255
|
+
te = C, bt = 16;
|
|
40256
40256
|
else
|
|
40257
40257
|
for (N = 0, F = 0; ; ) {
|
|
40258
40258
|
if ((N | 0) > (A | 0) | (N | 0) == (A | 0) & F >>> 0 > d >>> 0) {
|
|
@@ -40262,12 +40262,12 @@ var Mt = (function(t) {
|
|
|
40262
40262
|
if ((S | 0) == (W | 0) & (R | 0) == (K | 0))
|
|
40263
40263
|
break i;
|
|
40264
40264
|
if (C = ke(L | 0, M | 0, 1, 0) | 0, L = Fs(C | 0, V() | 0, d | 0, A | 0) | 0, M = V() | 0, F = ke(F | 0, N | 0, 1, 0) | 0, N = V() | 0, C = b + (L << 3) | 0, R = C, S = c[R >> 2] | 0, R = c[R + 4 >> 2] | 0, (S | 0) == 0 & (R | 0) == 0) {
|
|
40265
|
-
te = C,
|
|
40265
|
+
te = C, bt = 16;
|
|
40266
40266
|
break;
|
|
40267
40267
|
}
|
|
40268
40268
|
}
|
|
40269
40269
|
while (!1);
|
|
40270
|
-
if ((
|
|
40270
|
+
if ((bt | 0) == 16 && (bt = 0, !((W | 0) == 0 & (K | 0) == 0)) && (F = te, c[F >> 2] = W, c[F + 4 >> 2] = K, F = y + (c[p >> 2] << 3) | 0, c[F >> 2] = W, c[F + 4 >> 2] = K, F = p, F = ke(c[F >> 2] | 0, c[F + 4 >> 2] | 0, 1, 0) | 0, W = V() | 0, K = p, c[K >> 2] = F, c[K + 4 >> 2] = W), ne = ke(ne | 0, j | 0, 1, 0) | 0, j = V() | 0, C = Ne, S = c[C >> 2] | 0, C = c[C + 4 >> 2] | 0, !((C | 0) > (j | 0) | (C | 0) == (j | 0) & S >>> 0 > ne >>> 0)) {
|
|
40271
40271
|
S = 1;
|
|
40272
40272
|
break e;
|
|
40273
40273
|
}
|
|
@@ -40277,25 +40277,25 @@ var Mt = (function(t) {
|
|
|
40277
40277
|
S = 1;
|
|
40278
40278
|
while (!1);
|
|
40279
40279
|
if (se = se + 1 | 0, !S) {
|
|
40280
|
-
|
|
40280
|
+
bt = 21;
|
|
40281
40281
|
break;
|
|
40282
40282
|
}
|
|
40283
40283
|
if (C = c[f >> 2] | 0, (se | 0) >= (C | 0)) {
|
|
40284
|
-
x = 0,
|
|
40284
|
+
x = 0, bt = 21;
|
|
40285
40285
|
break;
|
|
40286
40286
|
}
|
|
40287
40287
|
}
|
|
40288
|
-
return (
|
|
40288
|
+
return (bt | 0) == 21 ? (U = _t, x | 0) : 0;
|
|
40289
40289
|
}
|
|
40290
40290
|
function dV(f, d, A, g) {
|
|
40291
40291
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0;
|
|
40292
|
-
var p = 0, y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0,
|
|
40293
|
-
if (
|
|
40294
|
-
return ut = p, U =
|
|
40292
|
+
var p = 0, y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0, bt = 0, _t = 0, Ui = 0, ut = 0, xt = 0;
|
|
40293
|
+
if (xt = U, U = U + 112 | 0, bt = xt + 80 | 0, C = xt + 72 | 0, _t = xt, Ui = xt + 56 | 0, p = Wc(A) | 0, p | 0)
|
|
40294
|
+
return ut = p, U = xt, ut | 0;
|
|
40295
40295
|
if (S = f + 8 | 0, ut = Zt((c[S >> 2] << 5) + 32 | 0) | 0, !ut)
|
|
40296
|
-
return ut = 13, U =
|
|
40296
|
+
return ut = 13, U = xt, ut | 0;
|
|
40297
40297
|
if (kg(f, ut), p = Wc(A) | 0, !p) {
|
|
40298
|
-
if (Te = f, Ne = c[Te + 4 >> 2] | 0, p = C, c[p >> 2] = c[Te >> 2], c[p + 4 >> 2] = Ne, Ew(C,
|
|
40298
|
+
if (Te = f, Ne = c[Te + 4 >> 2] | 0, p = C, c[p >> 2] = c[Te >> 2], c[p + 4 >> 2] = Ne, Ew(C, bt), p = dw(bt, d, _t) | 0, p)
|
|
40299
40299
|
Te = 0, Ne = 0;
|
|
40300
40300
|
else {
|
|
40301
40301
|
if (p = c[C >> 2] | 0, y = c[S >> 2] | 0, (y | 0) > 0) {
|
|
@@ -40306,46 +40306,46 @@ var Mt = (function(t) {
|
|
|
40306
40306
|
A = p;
|
|
40307
40307
|
} else
|
|
40308
40308
|
A = p;
|
|
40309
|
-
p =
|
|
40309
|
+
p = _t, y = c[p >> 2] | 0, p = c[p + 4 >> 2] | 0, b = ((A | 0) < 0) << 31 >> 31, (p | 0) < (b | 0) | (p | 0) == (b | 0) & y >>> 0 < A >>> 0 ? (p = _t, c[p >> 2] = A, c[p + 4 >> 2] = b, p = b) : A = y, Te = ke(A | 0, p | 0, 12, 0) | 0, Ne = V() | 0, p = _t, c[p >> 2] = Te, c[p + 4 >> 2] = Ne, p = 0;
|
|
40310
40310
|
}
|
|
40311
40311
|
if (!p) {
|
|
40312
40312
|
if (A = rn(Te, 8) | 0, !A)
|
|
40313
|
-
return Ue(ut), ut = 13, U =
|
|
40313
|
+
return Ue(ut), ut = 13, U = xt, ut | 0;
|
|
40314
40314
|
if (x = rn(Te, 8) | 0, !x)
|
|
40315
|
-
return Ue(ut), Ue(A), ut = 13, U =
|
|
40316
|
-
ve =
|
|
40315
|
+
return Ue(ut), Ue(A), ut = 13, U = xt, ut | 0;
|
|
40316
|
+
ve = bt, c[ve >> 2] = 0, c[ve + 4 >> 2] = 0, ve = f, We = c[ve + 4 >> 2] | 0, p = C, c[p >> 2] = c[ve >> 2], c[p + 4 >> 2] = We, p = aw(C, Te, Ne, d, bt, A, x) | 0;
|
|
40317
40317
|
e: do
|
|
40318
40318
|
if (p)
|
|
40319
40319
|
Ue(A), Ue(x), Ue(ut);
|
|
40320
40320
|
else {
|
|
40321
40321
|
t: do
|
|
40322
40322
|
if ((c[S >> 2] | 0) > 0) {
|
|
40323
|
-
for (b = f + 12 | 0, y = 0; p = aw((c[b >> 2] | 0) + (y << 3) | 0, Te, Ne, d,
|
|
40323
|
+
for (b = f + 12 | 0, y = 0; p = aw((c[b >> 2] | 0) + (y << 3) | 0, Te, Ne, d, bt, A, x) | 0, y = y + 1 | 0, !(p | 0); )
|
|
40324
40324
|
if ((y | 0) >= (c[S >> 2] | 0))
|
|
40325
40325
|
break t;
|
|
40326
40326
|
Ue(A), Ue(x), Ue(ut);
|
|
40327
40327
|
break e;
|
|
40328
40328
|
}
|
|
40329
40329
|
while (!1);
|
|
40330
|
-
(Ne | 0) > 0 | (Ne | 0) == 0 & Te >>> 0 > 0 && Ds(x | 0, 0, Te << 3 | 0) | 0, We =
|
|
40330
|
+
(Ne | 0) > 0 | (Ne | 0) == 0 & Te >>> 0 > 0 && Ds(x | 0, 0, Te << 3 | 0) | 0, We = bt, ve = c[We + 4 >> 2] | 0;
|
|
40331
40331
|
t: do
|
|
40332
40332
|
if ((ve | 0) > 0 | (ve | 0) == 0 & (c[We >> 2] | 0) >>> 0 > 0) {
|
|
40333
40333
|
ae = A, re = x, Oe = A, ve = x, We = A, p = A, te = A, Ae = x, xe = x, A = x;
|
|
40334
40334
|
i: for (; ; ) {
|
|
40335
40335
|
for (K = 0, ne = 0, j = 0, se = 0, y = 0, b = 0; ; ) {
|
|
40336
|
-
x =
|
|
40336
|
+
x = _t, C = x + 56 | 0;
|
|
40337
40337
|
do
|
|
40338
40338
|
c[x >> 2] = 0, x = x + 4 | 0;
|
|
40339
40339
|
while ((x | 0) < (C | 0));
|
|
40340
|
-
if (d = ae + (K << 3) | 0, S = c[d >> 2] | 0, d = c[d + 4 >> 2] | 0, sw(S, d, 1,
|
|
40341
|
-
x =
|
|
40340
|
+
if (d = ae + (K << 3) | 0, S = c[d >> 2] | 0, d = c[d + 4 >> 2] | 0, sw(S, d, 1, _t, 0) | 0) {
|
|
40341
|
+
x = _t, C = x + 56 | 0;
|
|
40342
40342
|
do
|
|
40343
40343
|
c[x >> 2] = 0, x = x + 4 | 0;
|
|
40344
40344
|
while ((x | 0) < (C | 0));
|
|
40345
|
-
x = rn(7, 4) | 0, x | 0 && (Nr(S, d, 1,
|
|
40345
|
+
x = rn(7, 4) | 0, x | 0 && (Nr(S, d, 1, _t, x, 7, 0, 0) | 0, Ue(x));
|
|
40346
40346
|
}
|
|
40347
40347
|
for (W = 0; ; ) {
|
|
40348
|
-
F =
|
|
40348
|
+
F = _t + (W << 3) | 0, N = c[F >> 2] | 0, F = c[F + 4 >> 2] | 0;
|
|
40349
40349
|
n: do
|
|
40350
40350
|
if ((N | 0) == 0 & (F | 0) == 0)
|
|
40351
40351
|
x = y, C = b;
|
|
@@ -40373,7 +40373,7 @@ var Mt = (function(t) {
|
|
|
40373
40373
|
break;
|
|
40374
40374
|
y = x, b = C;
|
|
40375
40375
|
}
|
|
40376
|
-
if (K = ke(K | 0, ne | 0, 1, 0) | 0, ne = V() | 0, j = ke(j | 0, se | 0, 1, 0) | 0, se = V() | 0, b =
|
|
40376
|
+
if (K = ke(K | 0, ne | 0, 1, 0) | 0, ne = V() | 0, j = ke(j | 0, se | 0, 1, 0) | 0, se = V() | 0, b = bt, y = c[b >> 2] | 0, b = c[b + 4 >> 2] | 0, (se | 0) < (b | 0) | (se | 0) == (b | 0) & j >>> 0 < y >>> 0)
|
|
40377
40377
|
y = x, b = C;
|
|
40378
40378
|
else
|
|
40379
40379
|
break;
|
|
@@ -40381,10 +40381,10 @@ var Mt = (function(t) {
|
|
|
40381
40381
|
if ((b | 0) > 0 | (b | 0) == 0 & y >>> 0 > 0) {
|
|
40382
40382
|
y = 0, b = 0;
|
|
40383
40383
|
do
|
|
40384
|
-
se = ae + (y << 3) | 0, c[se >> 2] = 0, c[se + 4 >> 2] = 0, y = ke(y | 0, b | 0, 1, 0) | 0, b = V() | 0, se =
|
|
40384
|
+
se = ae + (y << 3) | 0, c[se >> 2] = 0, c[se + 4 >> 2] = 0, y = ke(y | 0, b | 0, 1, 0) | 0, b = V() | 0, se = bt, j = c[se + 4 >> 2] | 0;
|
|
40385
40385
|
while ((b | 0) < (j | 0) | ((b | 0) == (j | 0) ? y >>> 0 < (c[se >> 2] | 0) >>> 0 : 0));
|
|
40386
40386
|
}
|
|
40387
|
-
if (se =
|
|
40387
|
+
if (se = bt, c[se >> 2] = x, c[se + 4 >> 2] = C, (C | 0) > 0 | (C | 0) == 0 & x >>> 0 > 0)
|
|
40388
40388
|
W = A, K = xe, ne = We, j = Ae, se = re, A = te, xe = p, Ae = Oe, te = W, p = K, We = ve, ve = ne, Oe = j, re = ae, ae = se;
|
|
40389
40389
|
else
|
|
40390
40390
|
break t;
|
|
@@ -40397,10 +40397,10 @@ var Mt = (function(t) {
|
|
|
40397
40397
|
Ue(ut), Ue(A), Ue(p), p = 0;
|
|
40398
40398
|
}
|
|
40399
40399
|
while (!1);
|
|
40400
|
-
return ut = p, U =
|
|
40400
|
+
return ut = p, U = xt, ut | 0;
|
|
40401
40401
|
}
|
|
40402
40402
|
}
|
|
40403
|
-
return Ue(ut), ut = p, U =
|
|
40403
|
+
return Ue(ut), ut = p, U = xt, ut | 0;
|
|
40404
40404
|
}
|
|
40405
40405
|
function AV(f, d, A) {
|
|
40406
40406
|
f = f | 0, d = d | 0, A = A | 0;
|
|
@@ -40711,7 +40711,7 @@ var Mt = (function(t) {
|
|
|
40711
40711
|
break e;
|
|
40712
40712
|
re = f + (F << 3) | 0, vg(c[re >> 2] | 0, c[re + 4 >> 2] | 0, Oe) | 0 || (N = We + (p << 5) | 0);
|
|
40713
40713
|
}
|
|
40714
|
-
|
|
40714
|
+
yt(27634, 26956, 108, 26975);
|
|
40715
40715
|
}
|
|
40716
40716
|
while (!1);
|
|
40717
40717
|
if ((se | 0) > 0 | (se | 0) == 0 & te >>> 0 > 0) {
|
|
@@ -40742,7 +40742,7 @@ var Mt = (function(t) {
|
|
|
40742
40742
|
}
|
|
40743
40743
|
R = ke(R | 0, L | 0, 1, 0) | 0, L = V() | 0;
|
|
40744
40744
|
} while ((L | 0) < (se | 0) | (L | 0) == (se | 0) & R >>> 0 < te >>> 0);
|
|
40745
|
-
(ve | 0) == 39 &&
|
|
40745
|
+
(ve | 0) == 39 && yt(27634, 26956, 258, 27001), p = 0, y = 0;
|
|
40746
40746
|
do
|
|
40747
40747
|
_e[We + (p << 5) + 8 >> 0] = 0, p = ke(p | 0, y | 0, 1, 0) | 0, y = V() | 0;
|
|
40748
40748
|
while ((y | 0) < (se | 0) | (y | 0) == (se | 0) & p >>> 0 < te >>> 0);
|
|
@@ -40808,7 +40808,7 @@ var Mt = (function(t) {
|
|
|
40808
40808
|
else
|
|
40809
40809
|
break t;
|
|
40810
40810
|
}
|
|
40811
|
-
if ((ve | 0) == 69 ?
|
|
40811
|
+
if ((ve | 0) == 69 ? yt(27634, 26956, 351, 27016) : (ve | 0) == 75 && Ue(F), (ne | 0) > 0 | (ne | 0) == 0 & A >>> 0 > 0)
|
|
40812
40812
|
for (x = 0, C = 0, p = A, b = ne; y = c[re + (x * 24 | 0) + 20 >> 2] | 0, y ? (Ue(y), y = ne, p = A) : y = b, x = ke(x | 0, C | 0, 1, 0) | 0, C = V() | 0, (C | 0) < (y | 0) | (C | 0) == (y | 0) & x >>> 0 < p >>> 0; )
|
|
40813
40813
|
b = y;
|
|
40814
40814
|
Ue(re);
|
|
@@ -41040,7 +41040,7 @@ var Mt = (function(t) {
|
|
|
41040
41040
|
function Dc(f, d, A) {
|
|
41041
41041
|
f = f | 0, d = d | 0, A = A | 0;
|
|
41042
41042
|
var g = 0, p = 0, y = 0, b = 0;
|
|
41043
|
-
return b = U, U = U + 16 | 0, p = b, y = d & -2130706433 | 134217728, !0 & (d & 2013265920 | 0) == 268435456 ? (g = Ce(f | 0, d | 0, 56) | 0, V() | 0, g = E9(f, y, g & 7) | 0, (g | 0) == -1 ? (c[A >> 2] = 0, y = 6, U = b, y | 0) : (Ha(f, y, p) | 0 &&
|
|
41043
|
+
return b = U, U = U + 16 | 0, p = b, y = d & -2130706433 | 134217728, !0 & (d & 2013265920 | 0) == 268435456 ? (g = Ce(f | 0, d | 0, 56) | 0, V() | 0, g = E9(f, y, g & 7) | 0, (g | 0) == -1 ? (c[A >> 2] = 0, y = 6, U = b, y | 0) : (Ha(f, y, p) | 0 && yt(27634, 27035, 282, 27050), d = Ce(f | 0, d | 0, 52) | 0, V() | 0, d = d & 15, kt(f, y) | 0 ? _g(p, d, g, 2, A) : xg(p, d, g, 2, A), y = 0, U = b, y | 0)) : (y = 6, U = b, y | 0);
|
|
41044
41044
|
}
|
|
41045
41045
|
function pw(f, d, A) {
|
|
41046
41046
|
f = f | 0, d = d | 0, A = A | 0;
|
|
@@ -41138,12 +41138,12 @@ var Mt = (function(t) {
|
|
|
41138
41138
|
}
|
|
41139
41139
|
function _g(f, d, A, g, p) {
|
|
41140
41140
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0;
|
|
41141
|
-
var y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0,
|
|
41142
|
-
if (An = U, U = U + 256 | 0, y = An + 240 | 0,
|
|
41141
|
+
var y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0, bt = 0, _t = 0, Ui = 0, ut = 0, xt = 0, sn = 0, li = 0, ti = 0, ci = 0, ri = 0, An = 0, Si = 0, Ti = 0, Wn = 0, Vi = 0, Bt = 0, Lo = 0;
|
|
41142
|
+
if (An = U, U = U + 256 | 0, y = An + 240 | 0, bt = An + 224 | 0, ti = An, ci = An + 208 | 0, ri = An + 192 | 0, _t = An + 168 | 0, Ui = An + 152 | 0, ut = An + 136 | 0, xt = An + 120 | 0, sn = An + 104 | 0, li = An + 80 | 0, c[y >> 2] = d, c[bt >> 2] = c[f >> 2], c[bt + 4 >> 2] = c[f + 4 >> 2], c[bt + 8 >> 2] = c[f + 8 >> 2], c[bt + 12 >> 2] = c[f + 12 >> 2], gw(bt, y, ti), c[p >> 2] = 0, bt = g + A + ((g | 0) == 5 & 1) | 0, (bt | 0) <= (A | 0)) {
|
|
41143
41143
|
U = An;
|
|
41144
41144
|
return;
|
|
41145
41145
|
}
|
|
41146
|
-
te = c[y >> 2] | 0, se = ci + 4 | 0, ne = ci + 8 | 0, j = ci + 12 | 0, Ae = ri + 8 | 0, xe = A + 5 | 0, ae = 16848 + (te << 2) | 0, re =
|
|
41146
|
+
te = c[y >> 2] | 0, se = ci + 4 | 0, ne = ci + 8 | 0, j = ci + 12 | 0, Ae = ri + 8 | 0, xe = A + 5 | 0, ae = 16848 + (te << 2) | 0, re = _t + 8 | 0, Oe = 16928 + (te << 2) | 0, ve = Ui + 8 | 0, We = ut + 8 | 0, Te = xt + 8 | 0, Ne = ri + 8 | 0, N = _t + 8 | 0, W = _t + 16 | 0, F = li + 8 | 0, K = li + 16 | 0, L = A, g = 0, b = 0, x = 0, C = 0;
|
|
41147
41147
|
e: for (; ; ) {
|
|
41148
41148
|
R = ti + (((L | 0) % 5 | 0) << 4) | 0, c[ci >> 2] = c[R >> 2], c[ci + 4 >> 2] = c[R + 4 >> 2], c[ci + 8 >> 2] = c[R + 8 >> 2], c[ci + 12 >> 2] = c[R + 12 >> 2];
|
|
41149
41149
|
do
|
|
@@ -41157,17 +41157,17 @@ var Mt = (function(t) {
|
|
|
41157
41157
|
while ((b | 0) < (x | 0));
|
|
41158
41158
|
} else
|
|
41159
41159
|
g = S;
|
|
41160
|
-
switch (Bt = (c[ae >> 2] | 0) * 3 | 0, Ti = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 4 >> 2] | 0) | 0) + f | 0, S = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 8 >> 2] | 0) | 0) + g | 0, Bt = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 12 >> 2] | 0) | 0) + y | 0, C = (Ti | 0) < 0, S = S - (C ? Ti : 0) | 0, Wn = (S | 0) < 0, Bt = Bt + (C ? 0 - Ti | 0 : 0) + (Wn ? 0 - S | 0 : 0) | 0, Vi = (Bt | 0) < 0, Ti = (C ? 0 : Ti) - (Wn ? S : 0) - (Vi ? Bt : 0) | 0, S = (Wn ? 0 : S) - (Vi ? Bt : 0) | 0, Bt = Vi ? 0 : Bt, Vi = (S | 0) < (Ti | 0) ? S : Ti, Vi = (Bt | 0) < (Vi | 0) ? Bt : Vi, Wn = (Vi | 0) > 0, Bt = Bt - (Wn ? Vi : 0) | 0, Si = +(S - (Wn ? Vi : 0) - Bt | 0), H[
|
|
41160
|
+
switch (Bt = (c[ae >> 2] | 0) * 3 | 0, Ti = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 4 >> 2] | 0) | 0) + f | 0, S = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 8 >> 2] | 0) | 0) + g | 0, Bt = (hn(Bt, c[18608 + (R * 80 | 0) + (C * 20 | 0) + 12 >> 2] | 0) | 0) + y | 0, C = (Ti | 0) < 0, S = S - (C ? Ti : 0) | 0, Wn = (S | 0) < 0, Bt = Bt + (C ? 0 - Ti | 0 : 0) + (Wn ? 0 - S | 0 : 0) | 0, Vi = (Bt | 0) < 0, Ti = (C ? 0 : Ti) - (Wn ? S : 0) - (Vi ? Bt : 0) | 0, S = (Wn ? 0 : S) - (Vi ? Bt : 0) | 0, Bt = Vi ? 0 : Bt, Vi = (S | 0) < (Ti | 0) ? S : Ti, Vi = (Bt | 0) < (Vi | 0) ? Bt : Vi, Wn = (Vi | 0) > 0, Bt = Bt - (Wn ? Vi : 0) | 0, Si = +(S - (Wn ? Vi : 0) - Bt | 0), H[_t >> 3] = +(Ti - (Wn ? Vi : 0) - Bt | 0) - Si * 0.5, H[re >> 3] = Si * 0.8660254037844386, Si = +(c[Oe >> 2] | 0), H[Ui >> 3] = Si * 3, H[ve >> 3] = 0, Lo = Si * -1.5, H[ut >> 3] = Lo, H[We >> 3] = Si * 2.598076211353316, H[xt >> 3] = Lo, H[Te >> 3] = Si * -2.598076211353316, c[17008 + (M * 80 | 0) + (R << 2) >> 2] | 0) {
|
|
41161
41161
|
case 1: {
|
|
41162
41162
|
f = ut, g = Ui;
|
|
41163
41163
|
break;
|
|
41164
41164
|
}
|
|
41165
41165
|
case 3: {
|
|
41166
|
-
f =
|
|
41166
|
+
f = xt, g = ut;
|
|
41167
41167
|
break;
|
|
41168
41168
|
}
|
|
41169
41169
|
case 2: {
|
|
41170
|
-
f = Ui, g =
|
|
41170
|
+
f = Ui, g = xt;
|
|
41171
41171
|
break;
|
|
41172
41172
|
}
|
|
41173
41173
|
default: {
|
|
@@ -41175,9 +41175,9 @@ var Mt = (function(t) {
|
|
|
41175
41175
|
break e;
|
|
41176
41176
|
}
|
|
41177
41177
|
}
|
|
41178
|
-
Rw(ri,
|
|
41178
|
+
Rw(ri, _t, g, f, sn), Uc(sn, M, te, 1, li), Bt = c[p >> 2] | 0, Si = +Ns(+ +H[K >> 3]), Lo = +nn(+ +H[F >> 3], + +H[li >> 3]), H[p + 8 + (Bt << 4) >> 3] = Si, H[p + 8 + (Bt << 4) + 8 >> 3] = Lo, c[p >> 2] = (c[p >> 2] | 0) + 1;
|
|
41179
41179
|
}
|
|
41180
|
-
if ((L | 0) < (xe | 0) && (Bt = c[j >> 2] | 0, Si = +((c[ne >> 2] | 0) - Bt | 0), H[ri >> 3] = +((c[se >> 2] | 0) - Bt | 0) - Si * 0.5, H[Ne >> 3] = Si * 0.8660254037844386, Uc(ri, c[ci >> 2] | 0, te, 1,
|
|
41180
|
+
if ((L | 0) < (xe | 0) && (Bt = c[j >> 2] | 0, Si = +((c[ne >> 2] | 0) - Bt | 0), H[ri >> 3] = +((c[se >> 2] | 0) - Bt | 0) - Si * 0.5, H[Ne >> 3] = Si * 0.8660254037844386, Uc(ri, c[ci >> 2] | 0, te, 1, _t), Bt = c[p >> 2] | 0, Si = +Ns(+ +H[W >> 3]), Lo = +nn(+ +H[N >> 3], + +H[_t >> 3]), H[p + 8 + (Bt << 4) >> 3] = Si, H[p + 8 + (Bt << 4) + 8 >> 3] = Lo, c[p >> 2] = (c[p >> 2] | 0) + 1), L = L + 1 | 0, (L | 0) >= (bt | 0)) {
|
|
41181
41181
|
f = 3;
|
|
41182
41182
|
break;
|
|
41183
41183
|
} else
|
|
@@ -41186,7 +41186,7 @@ var Mt = (function(t) {
|
|
|
41186
41186
|
if ((f | 0) == 3) {
|
|
41187
41187
|
U = An;
|
|
41188
41188
|
return;
|
|
41189
|
-
} else (f | 0) == 12 &&
|
|
41189
|
+
} else (f | 0) == 12 && yt(27073, 27120, 599, 27130);
|
|
41190
41190
|
}
|
|
41191
41191
|
function gw(f, d, A) {
|
|
41192
41192
|
f = f | 0, d = d | 0, A = A | 0;
|
|
@@ -41245,14 +41245,14 @@ var Mt = (function(t) {
|
|
|
41245
41245
|
}
|
|
41246
41246
|
function xg(f, d, A, g, p) {
|
|
41247
41247
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0;
|
|
41248
|
-
var y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0,
|
|
41249
|
-
if (li = U, U = U + 272 | 0, y = li + 256 | 0, b = li + 240 | 0, ut = li,
|
|
41248
|
+
var y = 0, b = 0, x = 0, C = 0, S = 0, M = 0, R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0, Ne = 0, bt = 0, _t = 0, Ui = 0, ut = 0, xt = 0, sn = 0, li = 0, ti = 0, ci = 0, ri = 0;
|
|
41249
|
+
if (li = U, U = U + 272 | 0, y = li + 256 | 0, b = li + 240 | 0, ut = li, xt = li + 224 | 0, sn = li + 208 | 0, ve = li + 184 | 0, We = li + 168 | 0, Te = li + 152 | 0, Ne = li + 136 | 0, bt = li + 120 | 0, _t = li + 96 | 0, c[y >> 2] = d, c[b >> 2] = c[f >> 2], c[b + 4 >> 2] = c[f + 4 >> 2], c[b + 8 >> 2] = c[f + 8 >> 2], c[b + 12 >> 2] = c[f + 12 >> 2], mw(b, y, ut), c[p >> 2] = 0, Oe = g + A + ((g | 0) == 6 & 1) | 0, (Oe | 0) <= (A | 0)) {
|
|
41250
41250
|
U = li;
|
|
41251
41251
|
return;
|
|
41252
41252
|
}
|
|
41253
|
-
ne = c[y >> 2] | 0, j = A + 6 | 0, se = sn + 8 | 0, te = ve + 8 | 0, Ae = 16928 + (ne << 2) | 0, xe = We + 8 | 0, ae = Te + 8 | 0, re = Ne + 8 | 0, W = c[b >> 2] | 0, L =
|
|
41253
|
+
ne = c[y >> 2] | 0, j = A + 6 | 0, se = sn + 8 | 0, te = ve + 8 | 0, Ae = 16928 + (ne << 2) | 0, xe = We + 8 | 0, ae = Te + 8 | 0, re = Ne + 8 | 0, W = c[b >> 2] | 0, L = xt + 4 | 0, N = xt + 8 | 0, F = xt + 12 | 0, K = sn + 8 | 0, C = ve + 8 | 0, M = ve + 16 | 0, S = _t + 8 | 0, R = _t + 16 | 0, b = 0, x = A, g = -1;
|
|
41254
41254
|
e: for (; ; ) {
|
|
41255
|
-
if (y = (x | 0) % 6 | 0, f = ut + (y << 4) | 0, c[
|
|
41255
|
+
if (y = (x | 0) % 6 | 0, f = ut + (y << 4) | 0, c[xt >> 2] = c[f >> 2], c[xt + 4 >> 2] = c[f + 4 >> 2], c[xt + 8 >> 2] = c[f + 8 >> 2], c[xt + 12 >> 2] = c[f + 12 >> 2], f = b, b = Ga(xt, ne, 0, 1) | 0, (x | 0) > (A | 0) & (Hn(d) | 0) != 0 && (Ui = c[xt >> 2] | 0, (f | 0) != 1 & (Ui | 0) != (g | 0))) {
|
|
41256
41256
|
switch (ri = (y + 5 | 0) % 6 | 0, f = c[ut + (ri << 4) + 12 >> 2] | 0, ti = +((c[ut + (ri << 4) + 8 >> 2] | 0) - f | 0), H[sn >> 3] = +((c[ut + (ri << 4) + 4 >> 2] | 0) - f | 0) - ti * 0.5, H[se >> 3] = ti * 0.8660254037844386, f = c[ut + (y << 4) + 12 >> 2] | 0, ti = +((c[ut + (y << 4) + 8 >> 2] | 0) - f | 0), H[ve >> 3] = +((c[ut + (y << 4) + 4 >> 2] | 0) - f | 0) - ti * 0.5, H[te >> 3] = ti * 0.8660254037844386, ti = +(c[Ae >> 2] | 0), H[We >> 3] = ti * 3, H[xe >> 3] = 0, ci = ti * -1.5, H[Te >> 3] = ci, H[ae >> 3] = ti * 2.598076211353316, H[Ne >> 3] = ci, H[re >> 3] = ti * -2.598076211353316, c[17008 + (W * 80 | 0) + (((g | 0) == (W | 0) ? Ui : g) << 2) >> 2] | 0) {
|
|
41257
41257
|
case 1: {
|
|
41258
41258
|
f = Te, g = We;
|
|
@@ -41271,18 +41271,18 @@ var Mt = (function(t) {
|
|
|
41271
41271
|
break e;
|
|
41272
41272
|
}
|
|
41273
41273
|
}
|
|
41274
|
-
Rw(sn, ve, g, f,
|
|
41274
|
+
Rw(sn, ve, g, f, bt), !(Pw(sn, bt) | 0) && !(Pw(ve, bt) | 0) && (Uc(bt, W, ne, 1, _t), ri = c[p >> 2] | 0, ti = +Ns(+ +H[R >> 3]), ci = +nn(+ +H[S >> 3], + +H[_t >> 3]), H[p + 8 + (ri << 4) >> 3] = ti, H[p + 8 + (ri << 4) + 8 >> 3] = ci, c[p >> 2] = (c[p >> 2] | 0) + 1);
|
|
41275
41275
|
}
|
|
41276
|
-
if ((x | 0) < (j | 0) && (ri = c[F >> 2] | 0, ti = +((c[N >> 2] | 0) - ri | 0), H[sn >> 3] = +((c[L >> 2] | 0) - ri | 0) - ti * 0.5, H[K >> 3] = ti * 0.8660254037844386, Uc(sn, c[
|
|
41276
|
+
if ((x | 0) < (j | 0) && (ri = c[F >> 2] | 0, ti = +((c[N >> 2] | 0) - ri | 0), H[sn >> 3] = +((c[L >> 2] | 0) - ri | 0) - ti * 0.5, H[K >> 3] = ti * 0.8660254037844386, Uc(sn, c[xt >> 2] | 0, ne, 1, ve), ri = c[p >> 2] | 0, ti = +Ns(+ +H[M >> 3]), ci = +nn(+ +H[C >> 3], + +H[ve >> 3]), H[p + 8 + (ri << 4) >> 3] = ti, H[p + 8 + (ri << 4) + 8 >> 3] = ci, c[p >> 2] = (c[p >> 2] | 0) + 1), x = x + 1 | 0, (x | 0) >= (Oe | 0)) {
|
|
41277
41277
|
f = 3;
|
|
41278
41278
|
break;
|
|
41279
41279
|
} else
|
|
41280
|
-
g = c[
|
|
41280
|
+
g = c[xt >> 2] | 0;
|
|
41281
41281
|
}
|
|
41282
41282
|
if ((f | 0) == 3) {
|
|
41283
41283
|
U = li;
|
|
41284
41284
|
return;
|
|
41285
|
-
} else (f | 0) == 8 &&
|
|
41285
|
+
} else (f | 0) == 8 && yt(27157, 27120, 766, 27202);
|
|
41286
41286
|
}
|
|
41287
41287
|
function mw(f, d, A) {
|
|
41288
41288
|
f = f | 0, d = d | 0, A = A | 0;
|
|
@@ -41643,13 +41643,13 @@ var Mt = (function(t) {
|
|
|
41643
41643
|
if ((Ne | 0) == 16)
|
|
41644
41644
|
!0 & (p & 117440512 | 0) == 0 ? (p = 4, Ne = 27) : Ne = 21;
|
|
41645
41645
|
else if ((Ne | 0) == 31)
|
|
41646
|
-
|
|
41646
|
+
yt(27634, 27225, 620, 27235);
|
|
41647
41647
|
else {
|
|
41648
41648
|
if ((Ne | 0) == 41)
|
|
41649
41649
|
return Ue(Te), Ue(We), Ne = 10, Ne | 0;
|
|
41650
41650
|
if ((Ne | 0) == 48)
|
|
41651
41651
|
return Ue(Te), Ue(We), Ne = 13, Ne | 0;
|
|
41652
|
-
(Ne | 0) == 80 ?
|
|
41652
|
+
(Ne | 0) == 80 ? yt(27634, 27225, 711, 27235) : (Ne | 0) == 81 ? yt(27634, 27225, 723, 27235) : (Ne | 0) == 85 && (pr(d | 0, Te | 0, A << 3 | 0) | 0, Ne = 89);
|
|
41653
41653
|
}
|
|
41654
41654
|
return (Ne | 0) == 21 ? (Ue(Te), Ue(We), Ne = 5, Ne | 0) : (Ne | 0) == 27 ? (Ue(Te), Ue(We), Ne = p, Ne | 0) : (Ne | 0) == 89 ? (Ue(Te), Ue(We), Ne = 0, Ne | 0) : 0;
|
|
41655
41655
|
}
|
|
@@ -42243,7 +42243,7 @@ var Mt = (function(t) {
|
|
|
42243
42243
|
do
|
|
42244
42244
|
if ((c[ht + 4 >> 2] & 2146435072 | 0) != 2146435072 && (H[ht >> 3] = g, f = c[ht + 4 >> 2] | 0, H[ht >> 3] = p, !((c[ht + 4 >> 2] & 2146435072 | 0) == 2146435072 | !0 & (f & 2146435072 | 0) == 2146435072)))
|
|
42245
42245
|
if (c[x >> 2] = c[S >> 2], c[x + 4 >> 2] = c[S + 4 >> 2], c[x + 8 >> 2] = c[S + 8 >> 2], c[x + 12 >> 2] = c[S + 12 >> 2], c[x + 16 >> 2] = c[S + 16 >> 2], c[x + 20 >> 2] = c[S + 20 >> 2], DV(x, d, C), C = JV(C, d) | 0, S = V() | 0, c[A >> 2] = C, c[A + 4 >> 2] = S, (C | 0) == 0 & (S | 0) == 0)
|
|
42246
|
-
|
|
42246
|
+
yt(27634, 27225, 1073, 27248);
|
|
42247
42247
|
else {
|
|
42248
42248
|
b = 0;
|
|
42249
42249
|
break;
|
|
@@ -42616,7 +42616,7 @@ var Mt = (function(t) {
|
|
|
42616
42616
|
}
|
|
42617
42617
|
}
|
|
42618
42618
|
if ((S | 0) == 19)
|
|
42619
|
-
|
|
42619
|
+
yt(27634, 27225, 1407, 27259);
|
|
42620
42620
|
else if ((S | 0) == 37) {
|
|
42621
42621
|
b = g, p = c[b + 4 >> 2] | 0, b = c[b >> 2] | 0;
|
|
42622
42622
|
break;
|
|
@@ -42642,7 +42642,7 @@ var Mt = (function(t) {
|
|
|
42642
42642
|
} else
|
|
42643
42643
|
p = 0, b = 0;
|
|
42644
42644
|
while (!1);
|
|
42645
|
-
return Vc(W, x, ne, K) | 0 &&
|
|
42645
|
+
return Vc(W, x, ne, K) | 0 && yt(27634, 27225, 1367, 27274), ne = K, K = c[ne + 4 >> 2] | 0, ((p | 0) > -1 | (p | 0) == -1 & b >>> 0 > 4294967295) & ((K | 0) > (p | 0) | ((K | 0) == (p | 0) ? (c[ne >> 2] | 0) >>> 0 > b >>> 0 : 0)) ? (ne = 0, U = j, ne | 0) : (yt(27634, 27225, 1447, 27259), 0);
|
|
42646
42646
|
}
|
|
42647
42647
|
function e9(f, d, A, g, p, y) {
|
|
42648
42648
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0, y = y | 0;
|
|
@@ -42651,7 +42651,7 @@ var Mt = (function(t) {
|
|
|
42651
42651
|
return y = 4, U = R, y | 0;
|
|
42652
42652
|
if (x = Ce(A | 0, g | 0, 52) | 0, V() | 0, x = x & 15, (x | 0) > (p | 0))
|
|
42653
42653
|
return y = 12, U = R, y | 0;
|
|
42654
|
-
if (Vc(A, g, p, b) | 0 &&
|
|
42654
|
+
if (Vc(A, g, p, b) | 0 && yt(27634, 27225, 1367, 27274), M = b, S = c[M + 4 >> 2] | 0, !(((d | 0) > -1 | (d | 0) == -1 & f >>> 0 > 4294967295) & ((S | 0) > (d | 0) | ((S | 0) == (d | 0) ? (c[M >> 2] | 0) >>> 0 > f >>> 0 : 0))))
|
|
42655
42655
|
return y = 2, U = R, y | 0;
|
|
42656
42656
|
M = p - x | 0, p = Pe(p | 0, 0, 52) | 0, C = V() | 0 | g & -15728641, S = y, c[S >> 2] = p | A, c[S + 4 >> 2] = C, S = Ce(A | 0, g | 0, 45) | 0, V() | 0;
|
|
42657
42657
|
e: do
|
|
@@ -42972,7 +42972,7 @@ var Mt = (function(t) {
|
|
|
42972
42972
|
if (N = (C | 0) != (S | 0), N) {
|
|
42973
42973
|
if (b = yg(C, S) | 0, (b | 0) == 7)
|
|
42974
42974
|
return K = 1, U = ne, K | 0;
|
|
42975
|
-
x = yg(S, C) | 0, (x | 0) == 7 ?
|
|
42975
|
+
x = yg(S, C) | 0, (x | 0) == 7 ? yt(27291, 27315, 164, 27325) : (W = b, y = x);
|
|
42976
42976
|
} else
|
|
42977
42977
|
W = 0, y = 0;
|
|
42978
42978
|
R = $t(C) | 0, L = $t(S) | 0, c[K >> 2] = 0, c[K + 4 >> 2] = 0, c[K + 8 >> 2] = 0, c[K + 12 >> 2] = 0;
|
|
@@ -43049,7 +43049,7 @@ var Mt = (function(t) {
|
|
|
43049
43049
|
else
|
|
43050
43050
|
S = y, C = A, x = g;
|
|
43051
43051
|
while (!1);
|
|
43052
|
-
if (Ig(C, x, K) | 0, N ||
|
|
43052
|
+
if (Ig(C, x, K) | 0, N || yt(27340, 27315, 194, 27325), b = (R | 0) != 0, y = (L | 0) != 0, b & y && yt(27367, 27315, 195, 27325), b) {
|
|
43053
43053
|
if (y = dn(f, d) | 0, (y | 0) == 7) {
|
|
43054
43054
|
y = 5;
|
|
43055
43055
|
break;
|
|
@@ -43097,7 +43097,7 @@ var Mt = (function(t) {
|
|
|
43097
43097
|
} else
|
|
43098
43098
|
y = 5;
|
|
43099
43099
|
} else if (Ig(A, g, K) | 0, (R | 0) != 0 & (L | 0) != 0)
|
|
43100
|
-
if ((S | 0) != (C | 0) &&
|
|
43100
|
+
if ((S | 0) != (C | 0) && yt(27398, 27315, 264, 27325), b = dn(f, d) | 0, y = dn(A, g) | 0, (b | 0) == 7 | (y | 0) == 7)
|
|
43101
43101
|
y = 5;
|
|
43102
43102
|
else if (_e[21968 + (b * 7 | 0) + y >> 0] | 0)
|
|
43103
43103
|
y = 1;
|
|
@@ -43288,9 +43288,9 @@ var Mt = (function(t) {
|
|
|
43288
43288
|
b = L, x = N, A = F;
|
|
43289
43289
|
}
|
|
43290
43290
|
if ((j | 0) == 24)
|
|
43291
|
-
|
|
43291
|
+
yt(27634, 27425, 416, 27447);
|
|
43292
43292
|
else if ((j | 0) == 36)
|
|
43293
|
-
|
|
43293
|
+
yt(27634, 27425, 464, 27461);
|
|
43294
43294
|
else if ((j | 0) == 47) {
|
|
43295
43295
|
if ((L | 0) > 1 | (N | 0) > 1 | (F | 0) > 1)
|
|
43296
43296
|
return re = 1, re | 0;
|
|
@@ -43379,10 +43379,10 @@ var Mt = (function(t) {
|
|
|
43379
43379
|
while (!1);
|
|
43380
43380
|
if ((A | 0) == 1)
|
|
43381
43381
|
return re = 9, re | 0;
|
|
43382
|
-
y = mg(te, A) | 0, (y | 0) == 127 &&
|
|
43382
|
+
y = mg(te, A) | 0, (y | 0) == 127 && yt(27476, 27315, 415, 27506), $t(y) | 0 ? yt(27521, 27315, 416, 27506) : (p = y, se = b, ne = A);
|
|
43383
43383
|
} else
|
|
43384
43384
|
p = x, se = 0, ne = y;
|
|
43385
|
-
if (C = c[4272 + (te * 28 | 0) + (ne << 2) >> 2] | 0, (C | 0) <= -1 &&
|
|
43385
|
+
if (C = c[4272 + (te * 28 | 0) + (ne << 2) >> 2] | 0, (C | 0) <= -1 && yt(27552, 27315, 423, 27506), !S) {
|
|
43386
43386
|
if ((se | 0) < 0)
|
|
43387
43387
|
return re = 5, re | 0;
|
|
43388
43388
|
if (se | 0) {
|
|
@@ -43401,13 +43401,13 @@ var Mt = (function(t) {
|
|
|
43401
43401
|
break e;
|
|
43402
43402
|
}
|
|
43403
43403
|
}
|
|
43404
|
-
if (x = yg(p, te) | 0, (x | 0) == 7 &&
|
|
43404
|
+
if (x = yg(p, te) | 0, (x | 0) == 7 && yt(27291, 27315, 432, 27506), A = g, y = c[A >> 2] | 0, A = c[A + 4 >> 2] | 0, (C | 0) > 0) {
|
|
43405
43405
|
b = 0;
|
|
43406
43406
|
do
|
|
43407
43407
|
y = Po(y, A) | 0, A = V() | 0, re = g, c[re >> 2] = y, c[re + 4 >> 2] = A, b = b + 1 | 0;
|
|
43408
43408
|
while ((b | 0) != (C | 0));
|
|
43409
43409
|
}
|
|
43410
|
-
if (A = dn(y, A) | 0, (A | 0) == 7 &&
|
|
43410
|
+
if (A = dn(y, A) | 0, (A | 0) == 7 && yt(27634, 27315, 444, 27506), y = gg(p) | 0, y = c[(y ? 21760 : 21552) + (x * 28 | 0) + (A << 2) >> 2] | 0, (y | 0) < 0 && yt(27634, 27315, 458, 27506), !y)
|
|
43411
43411
|
j = 104;
|
|
43412
43412
|
else {
|
|
43413
43413
|
x = g, A = 0, b = c[x >> 2] | 0, x = c[x + 4 >> 2] | 0;
|
|
@@ -43464,7 +43464,7 @@ var Mt = (function(t) {
|
|
|
43464
43464
|
function Sw(f, d, A, g, p, y, b, x, C, S, M) {
|
|
43465
43465
|
f = f | 0, d = d | 0, A = A | 0, g = g | 0, p = p | 0, y = y | 0, b = b | 0, x = x | 0, C = C | 0, S = S | 0, M = M | 0;
|
|
43466
43466
|
var R = 0, L = 0, N = 0, F = 0, W = 0, K = 0, ne = 0, j = 0, se = 0, te = 0, Ae = 0, xe = 0, ae = 0, re = 0, Oe = 0, ve = 0, We = 0, Te = 0;
|
|
43467
|
-
if (We = U, U = U + 48 | 0, R = We + 24 | 0, L = We + 12 | 0, ve = We, c[R >> 2] = 0, c[R + 4 >> 2] = 0, c[R + 8 >> 2] = 0, c[L >> 2] = 0, c[L + 4 >> 2] = 0, c[L + 8 >> 2] = 0, Hc(f, d, f, d, R) | 0 &&
|
|
43467
|
+
if (We = U, U = U + 48 | 0, R = We + 24 | 0, L = We + 12 | 0, ve = We, c[R >> 2] = 0, c[R + 4 >> 2] = 0, c[R + 8 >> 2] = 0, c[L >> 2] = 0, c[L + 4 >> 2] = 0, c[L + 8 >> 2] = 0, Hc(f, d, f, d, R) | 0 && yt(27634, 27315, 696, 27575), Hc(f, d, A, g, L) | 0 && yt(27634, 27315, 701, 27575), W = R + 8 | 0, g = c[W >> 2] | 0, A = g - (c[R >> 2] | 0) | 0, c[R >> 2] = A, Oe = R + 4 | 0, g = (c[Oe >> 2] | 0) - g | 0, c[Oe >> 2] = g, Oe = g + A | 0, R = 0 - Oe | 0, c[W >> 2] = R, W = L + 8 | 0, j = c[W >> 2] | 0, ne = j - (c[L >> 2] | 0) | 0, c[L >> 2] = ne, re = L + 4 | 0, j = (c[re >> 2] | 0) - j | 0, c[re >> 2] = j, re = j + ne | 0, c[W >> 2] = 0 - re, ae = 1 / (+(p >>> 0) + 4294967296 * +(y | 0)), Ae = ae * +(ne - A | 0), xe = ae * +(j - g | 0), ae = ae * +(Oe - re | 0), c[ve >> 2] = A, re = ve + 4 | 0, c[re >> 2] = g, Oe = ve + 8 | 0, c[Oe >> 2] = R, (y | 0) < 0)
|
|
43468
43468
|
return S = 0, U = We, S | 0;
|
|
43469
43469
|
for (te = +(A | 0), se = +(g | 0), K = +(R | 0), ne = 0, j = 0; ; ) {
|
|
43470
43470
|
if (F = +(ne >>> 0) + 4294967296 * +(j | 0), Te = Ae * F + te, N = xe * F + se, F = ae * F + K, g = ~~+ph(+Te), R = ~~+ph(+N), A = ~~+ph(+F), Te = +Ot(+(+(g | 0) - Te)), N = +Ot(+(+(R | 0) - N)), F = +Ot(+(+(A | 0) - F)), Te > N & Te > F ? (L = A + R | 0, g = 0 - L | 0) : (L = 0 - g | 0, N > F && (R = L - A | 0)), c[re >> 2] = R, c[ve >> 2] = L, c[Oe >> 2] = 0, A = g + R | 0, (g | 0) > 0 ? (c[re >> 2] = A, c[Oe >> 2] = g, c[ve >> 2] = 0, L = 0) : (A = R, g = 0), (A | 0) < 0 ? (R = L - A | 0, c[ve >> 2] = R, g = g - A | 0, c[Oe >> 2] = g, c[re >> 2] = 0, L = R - g | 0, A = 0 - g | 0, (g | 0) < 0 ? (c[ve >> 2] = L, c[re >> 2] = A, c[Oe >> 2] = 0, W = A, g = 0) : (W = 0, L = R)) : W = A, A = (W | 0) < (L | 0) ? W : L, A = (g | 0) < (A | 0) ? g : A, (A | 0) > 0 && (c[ve >> 2] = L - A, c[re >> 2] = W - A, c[Oe >> 2] = g - A), A = Xt(ne | 0, j | 0, S | 0, M | 0) | 0, A = ke(A | 0, V() | 0, x | 0, C | 0) | 0, V() | 0, A = Cw(f, d, ve, b + (A << 3) | 0) | 0, A | 0) {
|
|
@@ -43651,7 +43651,7 @@ var Mt = (function(t) {
|
|
|
43651
43651
|
break;
|
|
43652
43652
|
}
|
|
43653
43653
|
case 25: {
|
|
43654
|
-
|
|
43654
|
+
yt(27634, 27600, 470, 27611);
|
|
43655
43655
|
break;
|
|
43656
43656
|
}
|
|
43657
43657
|
case 29: {
|
|
@@ -43663,7 +43663,7 @@ var Mt = (function(t) {
|
|
|
43663
43663
|
return;
|
|
43664
43664
|
}
|
|
43665
43665
|
case 36: {
|
|
43666
|
-
|
|
43666
|
+
yt(27634, 27600, 493, 27611);
|
|
43667
43667
|
break;
|
|
43668
43668
|
}
|
|
43669
43669
|
case 42: {
|
|
@@ -44114,7 +44114,7 @@ var Mt = (function(t) {
|
|
|
44114
44114
|
break;
|
|
44115
44115
|
}
|
|
44116
44116
|
default:
|
|
44117
|
-
|
|
44117
|
+
yt(27634, 27636, 75, 27645);
|
|
44118
44118
|
}
|
|
44119
44119
|
while (!1);
|
|
44120
44120
|
if (b = c[26480 + (p * 24 | 0) + 8 >> 2] | 0, d = c[26480 + (p * 24 | 0) + 16 >> 2] | 0, f = c[x >> 2] | 0, (f | 0) != (c[C >> 2] | 0) && (C = gg(y) | 0, f = c[x >> 2] | 0, C | (f | 0) == (d | 0) && (g = (g + 1 | 0) % 6 | 0)), (S | 0) == 3 & (f | 0) == (d | 0)) {
|
|
@@ -44142,7 +44142,7 @@ var Mt = (function(t) {
|
|
|
44142
44142
|
if (x = F, S = c[x >> 2] | 0, x = c[x + 4 >> 2] | 0, b = x >>> 0 < d >>> 0 | (x | 0) == (d | 0) & S >>> 0 < f >>> 0, y = b ? S : f, b = b ? x : d, !R && (R = Pe(7, 0, (M ^ 15) * 3 | 0) | 0, (S & R | 0) == 0 & (x & (V() | 0) | 0) == 0))
|
|
44143
44143
|
p = A;
|
|
44144
44144
|
else {
|
|
44145
|
-
if (x = (A + -1 + C | 0) % (C | 0) | 0, p = kt(f, d) | 0, (x | 0) < 0 &&
|
|
44145
|
+
if (x = (A + -1 + C | 0) % (C | 0) | 0, p = kt(f, d) | 0, (x | 0) < 0 && yt(27634, 27636, 248, 27661), C = (p | 0) != 0, ((C ? 4 : 5) | 0) < (x | 0) && yt(27634, 27636, 248, 27661), $c(f, d, j) | 0 && yt(27634, 27636, 248, 27661), p = (c[j >> 2] | 0) + x | 0, C ? p = 26768 + (((p | 0) % 5 | 0) << 2) | 0 : p = 26800 + (((p | 0) % 6 | 0) << 2) | 0, x = c[p >> 2] | 0, (x | 0) == 7 && yt(27634, 27636, 248, 27661), c[N >> 2] = 0, p = gi(f, d, x, N, L) | 0, p | 0)
|
|
44146
44146
|
break;
|
|
44147
44147
|
S = L, C = c[S >> 2] | 0, S = c[S + 4 >> 2] | 0;
|
|
44148
44148
|
do
|
|
@@ -59246,7 +59246,7 @@ const yye = {
|
|
|
59246
59246
|
UNSIGNED_INT: 5125,
|
|
59247
59247
|
FLOAT: 5126,
|
|
59248
59248
|
DOUBLE: 5130
|
|
59249
|
-
},
|
|
59249
|
+
}, Ct = {
|
|
59250
59250
|
...yye,
|
|
59251
59251
|
...hi
|
|
59252
59252
|
}, gy = {
|
|
@@ -59387,7 +59387,7 @@ class T_ {
|
|
|
59387
59387
|
hasProperty(e) {
|
|
59388
59388
|
return !!this.json[e];
|
|
59389
59389
|
}
|
|
59390
|
-
getGlobalProperty(e, i =
|
|
59390
|
+
getGlobalProperty(e, i = Ct.UNSIGNED_INT, n = 1) {
|
|
59391
59391
|
const r = this.json[e];
|
|
59392
59392
|
return r && Number.isFinite(r.byteOffset) ? this._getTypedArrayFromBinary(e, i, n, 1, r.byteOffset) : r;
|
|
59393
59393
|
}
|
|
@@ -59808,7 +59808,7 @@ function nD(t, e, i) {
|
|
|
59808
59808
|
o[a * 3] = h[0], o[a * 3 + 1] = h[1], o[a * 3 + 2] = h[2];
|
|
59809
59809
|
}
|
|
59810
59810
|
return {
|
|
59811
|
-
type:
|
|
59811
|
+
type: Ct.UNSIGNED_BYTE,
|
|
59812
59812
|
value: o,
|
|
59813
59813
|
size: 3,
|
|
59814
59814
|
normalized: !0
|
|
@@ -59821,19 +59821,19 @@ function nD(t, e, i) {
|
|
|
59821
59821
|
o[a * 3] = l[0], o[a * 3 + 1] = l[1], o[a * 3 + 2] = l[2];
|
|
59822
59822
|
}
|
|
59823
59823
|
return {
|
|
59824
|
-
type:
|
|
59824
|
+
type: Ct.UNSIGNED_BYTE,
|
|
59825
59825
|
value: o,
|
|
59826
59826
|
size: 3,
|
|
59827
59827
|
normalized: !0
|
|
59828
59828
|
};
|
|
59829
59829
|
}
|
|
59830
59830
|
return e && e.length === s * 3 ? {
|
|
59831
|
-
type:
|
|
59831
|
+
type: Ct.UNSIGNED_BYTE,
|
|
59832
59832
|
value: e,
|
|
59833
59833
|
size: 3,
|
|
59834
59834
|
normalized: !0
|
|
59835
59835
|
} : {
|
|
59836
|
-
type:
|
|
59836
|
+
type: Ct.UNSIGNED_BYTE,
|
|
59837
59837
|
value: e || new Uint8ClampedArray(),
|
|
59838
59838
|
size: 4,
|
|
59839
59839
|
normalized: !0
|
|
@@ -59848,20 +59848,20 @@ function Oye(t, e) {
|
|
|
59848
59848
|
for (let n = 0; n < (t.pointsLength || 0); n++)
|
|
59849
59849
|
wye(e[n * 2], e[n * 2 + 1], cM), cM.toArray(i, n * 3);
|
|
59850
59850
|
return {
|
|
59851
|
-
type:
|
|
59851
|
+
type: Ct.FLOAT,
|
|
59852
59852
|
size: 2,
|
|
59853
59853
|
value: i
|
|
59854
59854
|
};
|
|
59855
59855
|
}
|
|
59856
59856
|
return {
|
|
59857
|
-
type:
|
|
59857
|
+
type: Ct.FLOAT,
|
|
59858
59858
|
size: 2,
|
|
59859
59859
|
value: e
|
|
59860
59860
|
};
|
|
59861
59861
|
}
|
|
59862
59862
|
function Fye(t, e, i) {
|
|
59863
59863
|
return t.isQuantized ? i["3d-tiles"] && i["3d-tiles"].decodeQuantizedPositions ? (t.isQuantized = !1, Dye(t, e)) : {
|
|
59864
|
-
type:
|
|
59864
|
+
type: Ct.UNSIGNED_SHORT,
|
|
59865
59865
|
value: e,
|
|
59866
59866
|
size: 3,
|
|
59867
59867
|
normalized: !0
|
|
@@ -59890,7 +59890,7 @@ function zye(t) {
|
|
|
59890
59890
|
const e = new T_(t.featureTableJson, t.featureTableBinary), i = e.getGlobalProperty("POINTS_LENGTH");
|
|
59891
59891
|
if (!Number.isFinite(i))
|
|
59892
59892
|
throw new Error("POINTS_LENGTH must be defined");
|
|
59893
|
-
e.featuresLength = i, t.featuresLength = i, t.pointsLength = i, t.pointCount = i, t.rtcCenter = e.getGlobalProperty("RTC_CENTER",
|
|
59893
|
+
e.featuresLength = i, t.featuresLength = i, t.pointsLength = i, t.pointCount = i, t.rtcCenter = e.getGlobalProperty("RTC_CENTER", Ct.FLOAT, 3);
|
|
59894
59894
|
const n = Wye(t, e);
|
|
59895
59895
|
return { featureTable: e, batchTable: n };
|
|
59896
59896
|
}
|
|
@@ -59902,12 +59902,12 @@ function Gye(t, e, i) {
|
|
|
59902
59902
|
batchIds: null
|
|
59903
59903
|
}, !t.attributes.positions) {
|
|
59904
59904
|
if (e.hasProperty("POSITION"))
|
|
59905
|
-
t.attributes.positions = e.getPropertyArray("POSITION",
|
|
59905
|
+
t.attributes.positions = e.getPropertyArray("POSITION", Ct.FLOAT, 3);
|
|
59906
59906
|
else if (e.hasProperty("POSITION_QUANTIZED")) {
|
|
59907
|
-
const n = e.getPropertyArray("POSITION_QUANTIZED",
|
|
59908
|
-
if (t.isQuantized = !0, t.quantizedRange = 65535, t.quantizedVolumeScale = e.getGlobalProperty("QUANTIZED_VOLUME_SCALE",
|
|
59907
|
+
const n = e.getPropertyArray("POSITION_QUANTIZED", Ct.UNSIGNED_SHORT, 3);
|
|
59908
|
+
if (t.isQuantized = !0, t.quantizedRange = 65535, t.quantizedVolumeScale = e.getGlobalProperty("QUANTIZED_VOLUME_SCALE", Ct.FLOAT, 3), !t.quantizedVolumeScale)
|
|
59909
59909
|
throw new Error("QUANTIZED_VOLUME_SCALE must be defined for quantized positions.");
|
|
59910
|
-
if (t.quantizedVolumeOffset = e.getGlobalProperty("QUANTIZED_VOLUME_OFFSET",
|
|
59910
|
+
if (t.quantizedVolumeOffset = e.getGlobalProperty("QUANTIZED_VOLUME_OFFSET", Ct.FLOAT, 3), !t.quantizedVolumeOffset)
|
|
59911
59911
|
throw new Error("QUANTIZED_VOLUME_OFFSET must be defined for quantized positions.");
|
|
59912
59912
|
t.attributes.positions = Fye(t, n, i);
|
|
59913
59913
|
}
|
|
@@ -59923,9 +59923,9 @@ function Hye(t, e, i) {
|
|
|
59923
59923
|
batchIds: null
|
|
59924
59924
|
}, !t.attributes.colors) {
|
|
59925
59925
|
let n = null;
|
|
59926
|
-
e.hasProperty("RGBA") ? (n = e.getPropertyArray("RGBA",
|
|
59926
|
+
e.hasProperty("RGBA") ? (n = e.getPropertyArray("RGBA", Ct.UNSIGNED_BYTE, 4), t.isTranslucent = !0) : e.hasProperty("RGB") ? n = e.getPropertyArray("RGB", Ct.UNSIGNED_BYTE, 3) : e.hasProperty("RGB565") && (n = e.getPropertyArray("RGB565", Ct.UNSIGNED_SHORT, 1), t.isRGB565 = !0), t.attributes.colors = nD(t, n, i);
|
|
59927
59927
|
}
|
|
59928
|
-
e.hasProperty("CONSTANT_RGBA") && (t.constantRGBA = e.getGlobalProperty("CONSTANT_RGBA",
|
|
59928
|
+
e.hasProperty("CONSTANT_RGBA") && (t.constantRGBA = e.getGlobalProperty("CONSTANT_RGBA", Ct.UNSIGNED_BYTE, 4));
|
|
59929
59929
|
}
|
|
59930
59930
|
function jye(t, e) {
|
|
59931
59931
|
if (t.attributes = t.attributes || {
|
|
@@ -59935,12 +59935,12 @@ function jye(t, e) {
|
|
|
59935
59935
|
batchIds: null
|
|
59936
59936
|
}, !t.attributes.normals) {
|
|
59937
59937
|
let i = null;
|
|
59938
|
-
e.hasProperty("NORMAL") ? i = e.getPropertyArray("NORMAL",
|
|
59938
|
+
e.hasProperty("NORMAL") ? i = e.getPropertyArray("NORMAL", Ct.FLOAT, 3) : e.hasProperty("NORMAL_OCT16P") && (i = e.getPropertyArray("NORMAL_OCT16P", Ct.UNSIGNED_BYTE, 2), t.isOctEncoded16P = !0), t.attributes.normals = Oye(t, i);
|
|
59939
59939
|
}
|
|
59940
59940
|
}
|
|
59941
59941
|
function Wye(t, e) {
|
|
59942
59942
|
let i = null;
|
|
59943
|
-
if (!t.batchIds && e.hasProperty("BATCH_ID") && (t.batchIds = e.getPropertyArray("BATCH_ID",
|
|
59943
|
+
if (!t.batchIds && e.hasProperty("BATCH_ID") && (t.batchIds = e.getPropertyArray("BATCH_ID", Ct.UNSIGNED_SHORT, 1), t.batchIds)) {
|
|
59944
59944
|
const n = e.getGlobalProperty("BATCH_LENGTH");
|
|
59945
59945
|
if (!n)
|
|
59946
59946
|
throw new Error("Global property: BATCH_LENGTH must be defined when BATCH_ID is defined.");
|
|
@@ -60052,7 +60052,7 @@ async function Yye(t, e, i, n, r) {
|
|
|
60052
60052
|
function Jye(t, e, i, n, r) {
|
|
60053
60053
|
i = R0(t, e, i), i = E_(t, e, i), i = M_(t, e, i), i = rD(t, e, i, n);
|
|
60054
60054
|
const s = new T_(t.featureTableJson, t.featureTableBinary);
|
|
60055
|
-
return t.rtcCenter = s.getGlobalProperty("RTC_CENTER",
|
|
60055
|
+
return t.rtcCenter = s.getGlobalProperty("RTC_CENTER", Ct.FLOAT, 3), i;
|
|
60056
60056
|
}
|
|
60057
60057
|
async function Kye(t, e, i, n, r) {
|
|
60058
60058
|
return i = qye(t, e, i, n), await sD(t, t.gltfFormat || 0, n, r), i;
|
|
@@ -60067,7 +60067,7 @@ function qye(t, e, i, n, r) {
|
|
|
60067
60067
|
const o = new T_(t.featureTableJson, t.featureTableBinary), a = o.getGlobalProperty("INSTANCES_LENGTH");
|
|
60068
60068
|
if (o.featuresLength = a, !Number.isFinite(a))
|
|
60069
60069
|
throw new Error("i3dm parser: INSTANCES_LENGTH must be defined");
|
|
60070
|
-
t.eastNorthUp = o.getGlobalProperty("EAST_NORTH_UP"), t.rtcCenter = o.getGlobalProperty("RTC_CENTER",
|
|
60070
|
+
t.eastNorthUp = o.getGlobalProperty("EAST_NORTH_UP"), t.rtcCenter = o.getGlobalProperty("RTC_CENTER", Ct.FLOAT, 3);
|
|
60071
60071
|
const l = new iD(t.batchTableJson, t.batchTableBinary, a);
|
|
60072
60072
|
return Qye(t, o, l, a), i;
|
|
60073
60073
|
}
|
|
@@ -60078,13 +60078,13 @@ function Qye(t, e, i, n) {
|
|
|
60078
60078
|
for (let T = 0; T < n; T++) {
|
|
60079
60079
|
let E;
|
|
60080
60080
|
if (e.hasProperty("POSITION"))
|
|
60081
|
-
E = e.getProperty("POSITION",
|
|
60081
|
+
E = e.getProperty("POSITION", Ct.FLOAT, 3, T, s);
|
|
60082
60082
|
else if (e.hasProperty("POSITION_QUANTIZED")) {
|
|
60083
|
-
E = e.getProperty("POSITION_QUANTIZED",
|
|
60084
|
-
const k = e.getGlobalProperty("QUANTIZED_VOLUME_OFFSET",
|
|
60083
|
+
E = e.getProperty("POSITION_QUANTIZED", Ct.UNSIGNED_SHORT, 3, T, s);
|
|
60084
|
+
const k = e.getGlobalProperty("QUANTIZED_VOLUME_OFFSET", Ct.FLOAT, 3);
|
|
60085
60085
|
if (!k)
|
|
60086
60086
|
throw new Error("i3dm parser: QUANTIZED_VOLUME_OFFSET must be defined for quantized positions.");
|
|
60087
|
-
const $ = e.getGlobalProperty("QUANTIZED_VOLUME_SCALE",
|
|
60087
|
+
const $ = e.getGlobalProperty("QUANTIZED_VOLUME_SCALE", Ct.FLOAT, 3);
|
|
60088
60088
|
if (!$)
|
|
60089
60089
|
throw new Error("i3dm parser: QUANTIZED_VOLUME_SCALE must be defined for quantized positions.");
|
|
60090
60090
|
const J = 65535;
|
|
@@ -60093,21 +60093,21 @@ function Qye(t, e, i, n) {
|
|
|
60093
60093
|
}
|
|
60094
60094
|
if (!E)
|
|
60095
60095
|
throw new Error("i3dm: POSITION or POSITION_QUANTIZED must be defined for each instance.");
|
|
60096
|
-
if (s.copy(E), u.translation = s, t.normalUp = e.getProperty("NORMAL_UP",
|
|
60096
|
+
if (s.copy(E), u.translation = s, t.normalUp = e.getProperty("NORMAL_UP", Ct.FLOAT, 3, T, m), t.normalRight = e.getProperty("NORMAL_RIGHT", Ct.FLOAT, 3, T, v), t.normalUp) {
|
|
60097
60097
|
if (!t.normalRight)
|
|
60098
60098
|
throw new Error("i3dm: Custom orientation requires both NORMAL_UP and NORMAL_RIGHT.");
|
|
60099
60099
|
t.hasCustomOrientation = !0;
|
|
60100
60100
|
} else {
|
|
60101
|
-
if (t.octNormalUp = e.getProperty("NORMAL_UP_OCT32P",
|
|
60101
|
+
if (t.octNormalUp = e.getProperty("NORMAL_UP_OCT32P", Ct.UNSIGNED_SHORT, 2, T, m), t.octNormalRight = e.getProperty("NORMAL_RIGHT_OCT32P", Ct.UNSIGNED_SHORT, 2, T, v), t.octNormalUp)
|
|
60102
60102
|
throw t.octNormalRight ? new Error("i3dm: oct-encoded orientation not implemented") : new Error("i3dm: oct-encoded orientation requires NORMAL_UP_OCT32P and NORMAL_RIGHT_OCT32P");
|
|
60103
60103
|
t.eastNorthUp ? (jt.WGS84.eastNorthUpToFixedFrame(s, h), h.getRotationMatrix3(o)) : o.identity();
|
|
60104
60104
|
}
|
|
60105
60105
|
a.fromMatrix3(o), u.rotation = a, l.set(1, 1, 1);
|
|
60106
|
-
const I = e.getProperty("SCALE",
|
|
60106
|
+
const I = e.getProperty("SCALE", Ct.FLOAT, 1, T, _);
|
|
60107
60107
|
Number.isFinite(I) && l.multiplyByScalar(I);
|
|
60108
|
-
const B = e.getProperty("SCALE_NON_UNIFORM",
|
|
60108
|
+
const B = e.getProperty("SCALE_NON_UNIFORM", Ct.FLOAT, 3, T, m);
|
|
60109
60109
|
B && l.scale(B), u.scale = l;
|
|
60110
|
-
let P = e.getProperty("BATCH_ID",
|
|
60110
|
+
let P = e.getProperty("BATCH_ID", Ct.UNSIGNED_SHORT, 1, T, w);
|
|
60111
60111
|
P === void 0 && (P = T);
|
|
60112
60112
|
const D = new Ye().fromQuaternion(u.rotation);
|
|
60113
60113
|
h.identity(), h.translate(u.translation), h.multiplyRight(D), h.scale(u.scale);
|
|
@@ -69802,7 +69802,7 @@ un({
|
|
|
69802
69802
|
type: "COGLayer",
|
|
69803
69803
|
carriesRasterWindow: !0,
|
|
69804
69804
|
carriesRasterIdentify: !0,
|
|
69805
|
-
loadClass: () => import("./raster-
|
|
69805
|
+
loadClass: () => import("./raster-Dx2oylKT.js").then((t) => t.r).then((t) => t.OmCOGLayer),
|
|
69806
69806
|
props: [
|
|
69807
69807
|
{ attr: "src", kind: "scalar", deckProp: "geotiff", type: "string", required: !0 },
|
|
69808
69808
|
// COG v2 (issue #13): 1-based band selection — a single band (colormap-
|
|
@@ -69838,7 +69838,7 @@ un({
|
|
|
69838
69838
|
});
|
|
69839
69839
|
un({
|
|
69840
69840
|
type: "ZarrLayer",
|
|
69841
|
-
loadClass: () => import("./zarr-
|
|
69841
|
+
loadClass: () => import("./zarr-CsY2lbLD.js").then((t) => t.OmZarrLayer),
|
|
69842
69842
|
props: [
|
|
69843
69843
|
{ attr: "src", kind: "scalar", deckProp: "src", type: "string", required: !0 },
|
|
69844
69844
|
{ attr: "variable", kind: "scalar", deckProp: "variable", type: "string" },
|
|
@@ -69870,7 +69870,7 @@ un({
|
|
|
69870
69870
|
});
|
|
69871
69871
|
un({
|
|
69872
69872
|
type: "HillshadeLayer",
|
|
69873
|
-
loadClass: () => import("./hillshade-
|
|
69873
|
+
loadClass: () => import("./hillshade-BtfW1P2c.js").then((t) => t.OmHillshadeLayer),
|
|
69874
69874
|
warpsInPlane: !0,
|
|
69875
69875
|
props: [
|
|
69876
69876
|
{ attr: "src", kind: "scalar", deckProp: "src", type: "string", required: !0 },
|
|
@@ -69900,7 +69900,7 @@ un({
|
|
|
69900
69900
|
});
|
|
69901
69901
|
un({
|
|
69902
69902
|
type: "TextOnPathLayer",
|
|
69903
|
-
loadClass: () => import("./text-on-path-
|
|
69903
|
+
loadClass: () => import("./text-on-path-Bki2IUm0.js").then((t) => t.OmTextOnPathLayer),
|
|
69904
69904
|
props: [
|
|
69905
69905
|
{ attr: "get-path", kind: "accessor", deckProp: "getPath", type: "string" },
|
|
69906
69906
|
{ attr: "get-text", kind: "accessor", deckProp: "getText", type: "string" },
|
|
@@ -70101,42 +70101,42 @@ function Wr(t, e) {
|
|
|
70101
70101
|
function yo(t, e) {
|
|
70102
70102
|
return t < 48 ? t === 36 : t < 58 ? !0 : t < 65 ? !1 : t < 91 ? !0 : t < 97 ? t === 95 : t < 123 ? !0 : t <= 65535 ? t >= 170 && J_e.test(String.fromCharCode(t)) : e === !1 ? !1 : X1(t, w6) || X1(t, $_e);
|
|
70103
70103
|
}
|
|
70104
|
-
var
|
|
70104
|
+
var wt = function(e, i) {
|
|
70105
70105
|
i === void 0 && (i = {}), this.label = e, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
|
|
70106
70106
|
};
|
|
70107
70107
|
function Xn(t, e) {
|
|
70108
|
-
return new
|
|
70108
|
+
return new wt(t, { beforeExpr: !0, binop: e });
|
|
70109
70109
|
}
|
|
70110
70110
|
var Yn = { beforeExpr: !0 }, mn = { startsExpr: !0 }, J_ = {};
|
|
70111
|
-
function
|
|
70112
|
-
return e === void 0 && (e = {}), e.keyword = t, J_[t] = new
|
|
70111
|
+
function vt(t, e) {
|
|
70112
|
+
return e === void 0 && (e = {}), e.keyword = t, J_[t] = new wt(t, e);
|
|
70113
70113
|
}
|
|
70114
70114
|
var G = {
|
|
70115
|
-
num: new
|
|
70116
|
-
regexp: new
|
|
70117
|
-
string: new
|
|
70118
|
-
name: new
|
|
70119
|
-
privateId: new
|
|
70120
|
-
eof: new
|
|
70115
|
+
num: new wt("num", mn),
|
|
70116
|
+
regexp: new wt("regexp", mn),
|
|
70117
|
+
string: new wt("string", mn),
|
|
70118
|
+
name: new wt("name", mn),
|
|
70119
|
+
privateId: new wt("privateId", mn),
|
|
70120
|
+
eof: new wt("eof"),
|
|
70121
70121
|
// Punctuation token types.
|
|
70122
|
-
bracketL: new
|
|
70123
|
-
bracketR: new
|
|
70124
|
-
braceL: new
|
|
70125
|
-
braceR: new
|
|
70126
|
-
parenL: new
|
|
70127
|
-
parenR: new
|
|
70128
|
-
comma: new
|
|
70129
|
-
semi: new
|
|
70130
|
-
colon: new
|
|
70131
|
-
dot: new
|
|
70132
|
-
question: new
|
|
70133
|
-
questionDot: new
|
|
70134
|
-
arrow: new
|
|
70135
|
-
template: new
|
|
70136
|
-
invalidTemplate: new
|
|
70137
|
-
ellipsis: new
|
|
70138
|
-
backQuote: new
|
|
70139
|
-
dollarBraceL: new
|
|
70122
|
+
bracketL: new wt("[", { beforeExpr: !0, startsExpr: !0 }),
|
|
70123
|
+
bracketR: new wt("]"),
|
|
70124
|
+
braceL: new wt("{", { beforeExpr: !0, startsExpr: !0 }),
|
|
70125
|
+
braceR: new wt("}"),
|
|
70126
|
+
parenL: new wt("(", { beforeExpr: !0, startsExpr: !0 }),
|
|
70127
|
+
parenR: new wt(")"),
|
|
70128
|
+
comma: new wt(",", Yn),
|
|
70129
|
+
semi: new wt(";", Yn),
|
|
70130
|
+
colon: new wt(":", Yn),
|
|
70131
|
+
dot: new wt("."),
|
|
70132
|
+
question: new wt("?", Yn),
|
|
70133
|
+
questionDot: new wt("?."),
|
|
70134
|
+
arrow: new wt("=>", Yn),
|
|
70135
|
+
template: new wt("template"),
|
|
70136
|
+
invalidTemplate: new wt("invalidTemplate"),
|
|
70137
|
+
ellipsis: new wt("...", Yn),
|
|
70138
|
+
backQuote: new wt("`", mn),
|
|
70139
|
+
dollarBraceL: new wt("${", { beforeExpr: !0, startsExpr: !0 }),
|
|
70140
70140
|
// Operators. These carry several kinds of properties to help the
|
|
70141
70141
|
// parser use them properly (the presence of these properties is
|
|
70142
70142
|
// what categorizes them as operators).
|
|
@@ -70150,10 +70150,10 @@ var G = {
|
|
|
70150
70150
|
// `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
|
|
70151
70151
|
// binary operators with a very low precedence, that should result
|
|
70152
70152
|
// in AssignmentExpression nodes.
|
|
70153
|
-
eq: new
|
|
70154
|
-
assign: new
|
|
70155
|
-
incDec: new
|
|
70156
|
-
prefix: new
|
|
70153
|
+
eq: new wt("=", { beforeExpr: !0, isAssign: !0 }),
|
|
70154
|
+
assign: new wt("_=", { beforeExpr: !0, isAssign: !0 }),
|
|
70155
|
+
incDec: new wt("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
|
|
70156
|
+
prefix: new wt("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
70157
70157
|
logicalOR: Xn("||", 1),
|
|
70158
70158
|
logicalAND: Xn("&&", 2),
|
|
70159
70159
|
bitwiseOR: Xn("|", 3),
|
|
@@ -70162,48 +70162,48 @@ var G = {
|
|
|
70162
70162
|
equality: Xn("==/!=/===/!==", 6),
|
|
70163
70163
|
relational: Xn("</>/<=/>=", 7),
|
|
70164
70164
|
bitShift: Xn("<</>>/>>>", 8),
|
|
70165
|
-
plusMin: new
|
|
70165
|
+
plusMin: new wt("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
|
|
70166
70166
|
modulo: Xn("%", 10),
|
|
70167
70167
|
star: Xn("*", 10),
|
|
70168
70168
|
slash: Xn("/", 10),
|
|
70169
|
-
starstar: new
|
|
70169
|
+
starstar: new wt("**", { beforeExpr: !0 }),
|
|
70170
70170
|
coalesce: Xn("??", 1),
|
|
70171
70171
|
// Keyword token types.
|
|
70172
|
-
_break:
|
|
70173
|
-
_case:
|
|
70174
|
-
_catch:
|
|
70175
|
-
_continue:
|
|
70176
|
-
_debugger:
|
|
70177
|
-
_default:
|
|
70178
|
-
_do:
|
|
70179
|
-
_else:
|
|
70180
|
-
_finally:
|
|
70181
|
-
_for:
|
|
70182
|
-
_function:
|
|
70183
|
-
_if:
|
|
70184
|
-
_return:
|
|
70185
|
-
_switch:
|
|
70186
|
-
_throw:
|
|
70187
|
-
_try:
|
|
70188
|
-
_var:
|
|
70189
|
-
_const:
|
|
70190
|
-
_while:
|
|
70191
|
-
_with:
|
|
70192
|
-
_new:
|
|
70193
|
-
_this:
|
|
70194
|
-
_super:
|
|
70195
|
-
_class:
|
|
70196
|
-
_extends:
|
|
70197
|
-
_export:
|
|
70198
|
-
_import:
|
|
70199
|
-
_null:
|
|
70200
|
-
_true:
|
|
70201
|
-
_false:
|
|
70202
|
-
_in:
|
|
70203
|
-
_instanceof:
|
|
70204
|
-
_typeof:
|
|
70205
|
-
_void:
|
|
70206
|
-
_delete:
|
|
70172
|
+
_break: vt("break"),
|
|
70173
|
+
_case: vt("case", Yn),
|
|
70174
|
+
_catch: vt("catch"),
|
|
70175
|
+
_continue: vt("continue"),
|
|
70176
|
+
_debugger: vt("debugger"),
|
|
70177
|
+
_default: vt("default", Yn),
|
|
70178
|
+
_do: vt("do", { isLoop: !0, beforeExpr: !0 }),
|
|
70179
|
+
_else: vt("else", Yn),
|
|
70180
|
+
_finally: vt("finally"),
|
|
70181
|
+
_for: vt("for", { isLoop: !0 }),
|
|
70182
|
+
_function: vt("function", mn),
|
|
70183
|
+
_if: vt("if"),
|
|
70184
|
+
_return: vt("return", Yn),
|
|
70185
|
+
_switch: vt("switch"),
|
|
70186
|
+
_throw: vt("throw", Yn),
|
|
70187
|
+
_try: vt("try"),
|
|
70188
|
+
_var: vt("var"),
|
|
70189
|
+
_const: vt("const"),
|
|
70190
|
+
_while: vt("while", { isLoop: !0 }),
|
|
70191
|
+
_with: vt("with"),
|
|
70192
|
+
_new: vt("new", { beforeExpr: !0, startsExpr: !0 }),
|
|
70193
|
+
_this: vt("this", mn),
|
|
70194
|
+
_super: vt("super", mn),
|
|
70195
|
+
_class: vt("class", mn),
|
|
70196
|
+
_extends: vt("extends", Yn),
|
|
70197
|
+
_export: vt("export"),
|
|
70198
|
+
_import: vt("import", mn),
|
|
70199
|
+
_null: vt("null", mn),
|
|
70200
|
+
_true: vt("true", mn),
|
|
70201
|
+
_false: vt("false", mn),
|
|
70202
|
+
_in: vt("in", { beforeExpr: !0, binop: 7 }),
|
|
70203
|
+
_instanceof: vt("instanceof", { beforeExpr: !0, binop: 7 }),
|
|
70204
|
+
_typeof: vt("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
70205
|
+
_void: vt("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
|
|
70206
|
+
_delete: vt("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
|
|
70207
70207
|
}, wn = /\r\n?|\n|\u2028|\u2029/, K_e = new RegExp(wn.source, "g");
|
|
70208
70208
|
function Ic(t) {
|
|
70209
70209
|
return t === 10 || t === 13 || t === 8232 || t === 8233;
|
|
@@ -72712,14 +72712,14 @@ Ke.regexp_eatFixedHexDigits = function(t, e) {
|
|
|
72712
72712
|
};
|
|
72713
72713
|
var ix = function(e) {
|
|
72714
72714
|
this.type = e.type, this.value = e.value, this.start = e.start, this.end = e.end, e.options.locations && (this.loc = new V0(e, e.startLoc, e.endLoc)), e.options.ranges && (this.range = [e.start, e.end]);
|
|
72715
|
-
},
|
|
72716
|
-
|
|
72715
|
+
}, mt = pi.prototype;
|
|
72716
|
+
mt.next = function(t) {
|
|
72717
72717
|
!t && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ix(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
|
|
72718
72718
|
};
|
|
72719
|
-
|
|
72719
|
+
mt.getToken = function() {
|
|
72720
72720
|
return this.next(), new ix(this);
|
|
72721
72721
|
};
|
|
72722
|
-
typeof Symbol < "u" && (
|
|
72722
|
+
typeof Symbol < "u" && (mt[Symbol.iterator] = function() {
|
|
72723
72723
|
var t = this;
|
|
72724
72724
|
return {
|
|
72725
72725
|
next: function() {
|
|
@@ -72731,7 +72731,7 @@ typeof Symbol < "u" && (gt[Symbol.iterator] = function() {
|
|
|
72731
72731
|
}
|
|
72732
72732
|
};
|
|
72733
72733
|
});
|
|
72734
|
-
|
|
72734
|
+
mt.nextToken = function() {
|
|
72735
72735
|
var t = this.curContext();
|
|
72736
72736
|
if ((!t || !t.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length)
|
|
72737
72737
|
return this.finishToken(G.eof);
|
|
@@ -72739,20 +72739,20 @@ gt.nextToken = function() {
|
|
|
72739
72739
|
return t.override(this);
|
|
72740
72740
|
this.readToken(this.fullCharCodeAtPos());
|
|
72741
72741
|
};
|
|
72742
|
-
|
|
72742
|
+
mt.readToken = function(t) {
|
|
72743
72743
|
return Wr(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
|
|
72744
72744
|
};
|
|
72745
|
-
|
|
72745
|
+
mt.fullCharCodeAt = function(t) {
|
|
72746
72746
|
var e = this.input.charCodeAt(t);
|
|
72747
72747
|
if (e <= 55295 || e >= 56320)
|
|
72748
72748
|
return e;
|
|
72749
72749
|
var i = this.input.charCodeAt(t + 1);
|
|
72750
72750
|
return i <= 56319 || i >= 57344 ? e : (e << 10) + i - 56613888;
|
|
72751
72751
|
};
|
|
72752
|
-
|
|
72752
|
+
mt.fullCharCodeAtPos = function() {
|
|
72753
72753
|
return this.fullCharCodeAt(this.pos);
|
|
72754
72754
|
};
|
|
72755
|
-
|
|
72755
|
+
mt.skipBlockComment = function() {
|
|
72756
72756
|
var t = this.options.onComment && this.curPosition(), e = this.pos, i = this.input.indexOf("*/", this.pos += 2);
|
|
72757
72757
|
if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations)
|
|
72758
72758
|
for (var n = void 0, r = e; (n = T6(this.input, r, this.pos)) > -1; )
|
|
@@ -72766,7 +72766,7 @@ gt.skipBlockComment = function() {
|
|
|
72766
72766
|
this.curPosition()
|
|
72767
72767
|
);
|
|
72768
72768
|
};
|
|
72769
|
-
|
|
72769
|
+
mt.skipLineComment = function(t) {
|
|
72770
72770
|
for (var e = this.pos, i = this.options.onComment && this.curPosition(), n = this.input.charCodeAt(this.pos += t); this.pos < this.input.length && !Ic(n); )
|
|
72771
72771
|
n = this.input.charCodeAt(++this.pos);
|
|
72772
72772
|
this.options.onComment && this.options.onComment(
|
|
@@ -72778,7 +72778,7 @@ gt.skipLineComment = function(t) {
|
|
|
72778
72778
|
this.curPosition()
|
|
72779
72779
|
);
|
|
72780
72780
|
};
|
|
72781
|
-
|
|
72781
|
+
mt.skipSpace = function() {
|
|
72782
72782
|
e: for (; this.pos < this.input.length; ) {
|
|
72783
72783
|
var t = this.input.charCodeAt(this.pos);
|
|
72784
72784
|
switch (t) {
|
|
@@ -72813,27 +72813,27 @@ gt.skipSpace = function() {
|
|
|
72813
72813
|
}
|
|
72814
72814
|
}
|
|
72815
72815
|
};
|
|
72816
|
-
|
|
72816
|
+
mt.finishToken = function(t, e) {
|
|
72817
72817
|
this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
|
|
72818
72818
|
var i = this.type;
|
|
72819
72819
|
this.type = t, this.value = e, this.updateContext(i);
|
|
72820
72820
|
};
|
|
72821
|
-
|
|
72821
|
+
mt.readToken_dot = function() {
|
|
72822
72822
|
var t = this.input.charCodeAt(this.pos + 1);
|
|
72823
72823
|
if (t >= 48 && t <= 57)
|
|
72824
72824
|
return this.readNumber(!0);
|
|
72825
72825
|
var e = this.input.charCodeAt(this.pos + 2);
|
|
72826
72826
|
return this.options.ecmaVersion >= 6 && t === 46 && e === 46 ? (this.pos += 3, this.finishToken(G.ellipsis)) : (++this.pos, this.finishToken(G.dot));
|
|
72827
72827
|
};
|
|
72828
|
-
|
|
72828
|
+
mt.readToken_slash = function() {
|
|
72829
72829
|
var t = this.input.charCodeAt(this.pos + 1);
|
|
72830
72830
|
return this.exprAllowed ? (++this.pos, this.readRegexp()) : t === 61 ? this.finishOp(G.assign, 2) : this.finishOp(G.slash, 1);
|
|
72831
72831
|
};
|
|
72832
|
-
|
|
72832
|
+
mt.readToken_mult_modulo_exp = function(t) {
|
|
72833
72833
|
var e = this.input.charCodeAt(this.pos + 1), i = 1, n = t === 42 ? G.star : G.modulo;
|
|
72834
72834
|
return this.options.ecmaVersion >= 7 && t === 42 && e === 42 && (++i, n = G.starstar, e = this.input.charCodeAt(this.pos + 2)), e === 61 ? this.finishOp(G.assign, i + 1) : this.finishOp(n, i);
|
|
72835
72835
|
};
|
|
72836
|
-
|
|
72836
|
+
mt.readToken_pipe_amp = function(t) {
|
|
72837
72837
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
72838
72838
|
if (e === t) {
|
|
72839
72839
|
if (this.options.ecmaVersion >= 12) {
|
|
@@ -72845,23 +72845,23 @@ gt.readToken_pipe_amp = function(t) {
|
|
|
72845
72845
|
}
|
|
72846
72846
|
return e === 61 ? this.finishOp(G.assign, 2) : this.finishOp(t === 124 ? G.bitwiseOR : G.bitwiseAND, 1);
|
|
72847
72847
|
};
|
|
72848
|
-
|
|
72848
|
+
mt.readToken_caret = function() {
|
|
72849
72849
|
var t = this.input.charCodeAt(this.pos + 1);
|
|
72850
72850
|
return t === 61 ? this.finishOp(G.assign, 2) : this.finishOp(G.bitwiseXOR, 1);
|
|
72851
72851
|
};
|
|
72852
|
-
|
|
72852
|
+
mt.readToken_plus_min = function(t) {
|
|
72853
72853
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
72854
72854
|
return e === t ? e === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || wn.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(G.incDec, 2) : e === 61 ? this.finishOp(G.assign, 2) : this.finishOp(G.plusMin, 1);
|
|
72855
72855
|
};
|
|
72856
|
-
|
|
72856
|
+
mt.readToken_lt_gt = function(t) {
|
|
72857
72857
|
var e = this.input.charCodeAt(this.pos + 1), i = 1;
|
|
72858
72858
|
return e === t ? (i = t === 62 && this.input.charCodeAt(this.pos + 2) === 62 ? 3 : 2, this.input.charCodeAt(this.pos + i) === 61 ? this.finishOp(G.assign, i + 1) : this.finishOp(G.bitShift, i)) : e === 33 && t === 60 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 45 && this.input.charCodeAt(this.pos + 3) === 45 ? (this.skipLineComment(4), this.skipSpace(), this.nextToken()) : (e === 61 && (i = 2), this.finishOp(G.relational, i));
|
|
72859
72859
|
};
|
|
72860
|
-
|
|
72860
|
+
mt.readToken_eq_excl = function(t) {
|
|
72861
72861
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
72862
72862
|
return e === 61 ? this.finishOp(G.equality, this.input.charCodeAt(this.pos + 2) === 61 ? 3 : 2) : t === 61 && e === 62 && this.options.ecmaVersion >= 6 ? (this.pos += 2, this.finishToken(G.arrow)) : this.finishOp(t === 61 ? G.eq : G.prefix, 1);
|
|
72863
72863
|
};
|
|
72864
|
-
|
|
72864
|
+
mt.readToken_question = function() {
|
|
72865
72865
|
var t = this.options.ecmaVersion;
|
|
72866
72866
|
if (t >= 11) {
|
|
72867
72867
|
var e = this.input.charCodeAt(this.pos + 1);
|
|
@@ -72881,13 +72881,13 @@ gt.readToken_question = function() {
|
|
|
72881
72881
|
}
|
|
72882
72882
|
return this.finishOp(G.question, 1);
|
|
72883
72883
|
};
|
|
72884
|
-
|
|
72884
|
+
mt.readToken_numberSign = function() {
|
|
72885
72885
|
var t = this.options.ecmaVersion, e = 35;
|
|
72886
72886
|
if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(), Wr(e, !0) || e === 92))
|
|
72887
72887
|
return this.finishToken(G.privateId, this.readWord1());
|
|
72888
72888
|
this.raise(this.pos, "Unexpected character '" + ws(e) + "'");
|
|
72889
72889
|
};
|
|
72890
|
-
|
|
72890
|
+
mt.getTokenFromCode = function(t) {
|
|
72891
72891
|
switch (t) {
|
|
72892
72892
|
// The interpretation of a dot depends on whether it is followed
|
|
72893
72893
|
// by a digit or another two dots.
|
|
@@ -72974,11 +72974,11 @@ gt.getTokenFromCode = function(t) {
|
|
|
72974
72974
|
}
|
|
72975
72975
|
this.raise(this.pos, "Unexpected character '" + ws(t) + "'");
|
|
72976
72976
|
};
|
|
72977
|
-
|
|
72977
|
+
mt.finishOp = function(t, e) {
|
|
72978
72978
|
var i = this.input.slice(this.pos, this.pos + e);
|
|
72979
72979
|
return this.pos += e, this.finishToken(t, i);
|
|
72980
72980
|
};
|
|
72981
|
-
|
|
72981
|
+
mt.readRegexp = function() {
|
|
72982
72982
|
for (var t, e, i = this.pos; ; ) {
|
|
72983
72983
|
this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
|
|
72984
72984
|
var n = this.input.charAt(this.pos);
|
|
@@ -73008,7 +73008,7 @@ gt.readRegexp = function() {
|
|
|
73008
73008
|
}
|
|
73009
73009
|
return this.finishToken(G.regexp, { pattern: r, flags: o, value: l });
|
|
73010
73010
|
};
|
|
73011
|
-
|
|
73011
|
+
mt.readInt = function(t, e, i) {
|
|
73012
73012
|
for (var n = this.options.ecmaVersion >= 12 && e === void 0, r = i && this.input.charCodeAt(this.pos) === 48, s = this.pos, o = 0, a = 0, l = 0, u = e ?? 1 / 0; l < u; ++l, ++this.pos) {
|
|
73013
73013
|
var h = this.input.charCodeAt(this.pos), m = void 0;
|
|
73014
73014
|
if (n && h === 95) {
|
|
@@ -73027,13 +73027,13 @@ function Mxe(t, e) {
|
|
|
73027
73027
|
function rU(t) {
|
|
73028
73028
|
return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
|
|
73029
73029
|
}
|
|
73030
|
-
|
|
73030
|
+
mt.readRadixNumber = function(t) {
|
|
73031
73031
|
var e = this.pos;
|
|
73032
73032
|
this.pos += 2;
|
|
73033
73033
|
var i = this.readInt(t);
|
|
73034
73034
|
return i == null && this.raise(this.start + 2, "Expected number in radix " + t), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = rU(this.input.slice(e, this.pos)), ++this.pos) : Wr(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(G.num, i);
|
|
73035
73035
|
};
|
|
73036
|
-
|
|
73036
|
+
mt.readNumber = function(t) {
|
|
73037
73037
|
var e = this.pos;
|
|
73038
73038
|
!t && this.readInt(10, void 0, !0) === null && this.raise(e, "Invalid number");
|
|
73039
73039
|
var i = this.pos - e >= 2 && this.input.charCodeAt(e) === 48;
|
|
@@ -73047,7 +73047,7 @@ gt.readNumber = function(t) {
|
|
|
73047
73047
|
var s = Mxe(this.input.slice(e, this.pos), i);
|
|
73048
73048
|
return this.finishToken(G.num, s);
|
|
73049
73049
|
};
|
|
73050
|
-
|
|
73050
|
+
mt.readCodePoint = function() {
|
|
73051
73051
|
var t = this.input.charCodeAt(this.pos), e;
|
|
73052
73052
|
if (t === 123) {
|
|
73053
73053
|
this.options.ecmaVersion < 6 && this.unexpected();
|
|
@@ -73057,7 +73057,7 @@ gt.readCodePoint = function() {
|
|
|
73057
73057
|
e = this.readHexChar(4);
|
|
73058
73058
|
return e;
|
|
73059
73059
|
};
|
|
73060
|
-
|
|
73060
|
+
mt.readString = function(t) {
|
|
73061
73061
|
for (var e = "", i = ++this.pos; ; ) {
|
|
73062
73062
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
|
|
73063
73063
|
var n = this.input.charCodeAt(this.pos);
|
|
@@ -73068,7 +73068,7 @@ gt.readString = function(t) {
|
|
|
73068
73068
|
return e += this.input.slice(i, this.pos++), this.finishToken(G.string, e);
|
|
73069
73069
|
};
|
|
73070
73070
|
var sU = {};
|
|
73071
|
-
|
|
73071
|
+
mt.tryReadTemplateToken = function() {
|
|
73072
73072
|
this.inTemplateElement = !0;
|
|
73073
73073
|
try {
|
|
73074
73074
|
this.readTmplToken();
|
|
@@ -73080,12 +73080,12 @@ gt.tryReadTemplateToken = function() {
|
|
|
73080
73080
|
}
|
|
73081
73081
|
this.inTemplateElement = !1;
|
|
73082
73082
|
};
|
|
73083
|
-
|
|
73083
|
+
mt.invalidStringToken = function(t, e) {
|
|
73084
73084
|
if (this.inTemplateElement && this.options.ecmaVersion >= 9)
|
|
73085
73085
|
throw sU;
|
|
73086
73086
|
this.raise(t, e);
|
|
73087
73087
|
};
|
|
73088
|
-
|
|
73088
|
+
mt.readTmplToken = function() {
|
|
73089
73089
|
for (var t = "", e = this.pos; ; ) {
|
|
73090
73090
|
this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
|
|
73091
73091
|
var i = this.input.charCodeAt(this.pos);
|
|
@@ -73110,7 +73110,7 @@ gt.readTmplToken = function() {
|
|
|
73110
73110
|
++this.pos;
|
|
73111
73111
|
}
|
|
73112
73112
|
};
|
|
73113
|
-
|
|
73113
|
+
mt.readInvalidTemplateToken = function() {
|
|
73114
73114
|
for (; this.pos < this.input.length; this.pos++)
|
|
73115
73115
|
switch (this.input[this.pos]) {
|
|
73116
73116
|
case "\\":
|
|
@@ -73135,7 +73135,7 @@ gt.readInvalidTemplateToken = function() {
|
|
|
73135
73135
|
}
|
|
73136
73136
|
this.raise(this.start, "Unterminated template");
|
|
73137
73137
|
};
|
|
73138
|
-
|
|
73138
|
+
mt.readEscapedChar = function(t) {
|
|
73139
73139
|
var e = this.input.charCodeAt(++this.pos);
|
|
73140
73140
|
switch (++this.pos, e) {
|
|
73141
73141
|
case 110:
|
|
@@ -73191,11 +73191,11 @@ gt.readEscapedChar = function(t) {
|
|
|
73191
73191
|
return Ic(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
|
|
73192
73192
|
}
|
|
73193
73193
|
};
|
|
73194
|
-
|
|
73194
|
+
mt.readHexChar = function(t) {
|
|
73195
73195
|
var e = this.pos, i = this.readInt(16, t);
|
|
73196
73196
|
return i === null && this.invalidStringToken(e, "Bad character escape sequence"), i;
|
|
73197
73197
|
};
|
|
73198
|
-
|
|
73198
|
+
mt.readWord1 = function() {
|
|
73199
73199
|
this.containsEsc = !1;
|
|
73200
73200
|
for (var t = "", e = !0, i = this.pos, n = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
|
|
73201
73201
|
var r = this.fullCharCodeAtPos();
|
|
@@ -73213,7 +73213,7 @@ gt.readWord1 = function() {
|
|
|
73213
73213
|
}
|
|
73214
73214
|
return t + this.input.slice(i, this.pos);
|
|
73215
73215
|
};
|
|
73216
|
-
|
|
73216
|
+
mt.readWord = function() {
|
|
73217
73217
|
var t = this.readWord1(), e = G.name;
|
|
73218
73218
|
return this.keywords.test(t) && (e = J_[t]), this.finishToken(e, t);
|
|
73219
73219
|
};
|
|
@@ -73226,7 +73226,7 @@ pi.acorn = {
|
|
|
73226
73226
|
SourceLocation: V0,
|
|
73227
73227
|
getLineInfo: I6,
|
|
73228
73228
|
Node: j0,
|
|
73229
|
-
TokenType:
|
|
73229
|
+
TokenType: wt,
|
|
73230
73230
|
tokTypes: G,
|
|
73231
73231
|
keywordTypes: J_,
|
|
73232
73232
|
TokContext: yr,
|
|
@@ -79045,30 +79045,30 @@ const Ux = `
|
|
|
79045
79045
|
.omni-legend-field { font-size: 10px; color: var(--om-widget-muted, #6b7280); margin-bottom: 2px; }
|
|
79046
79046
|
.omni-legend-entry .omni-swatch-cluster { border-radius: 50%; width: 12px; height: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 7px; font-weight: 700; line-height: 1; }
|
|
79047
79047
|
`;
|
|
79048
|
-
function kEe(t) {
|
|
79048
|
+
function kEe(t, e) {
|
|
79049
79049
|
return `
|
|
79050
|
-
<div class="omni-legend-sub">
|
|
79051
|
-
<div class="omni-legend-entry"><span class="omni-swatch omni-swatch-cluster" style="background:${
|
|
79050
|
+
<div class="omni-legend-sub" data-layer="${gt(e)}">
|
|
79051
|
+
<div class="omni-legend-entry"><span class="omni-swatch omni-swatch-cluster" style="background:${gt(t)}">n</span><span>n points, clustered — click to expand</span></div>
|
|
79052
79052
|
</div>`;
|
|
79053
79053
|
}
|
|
79054
|
-
function OEe(t) {
|
|
79054
|
+
function OEe(t, e) {
|
|
79055
79055
|
if (t.kind === "ramp") {
|
|
79056
|
-
const
|
|
79056
|
+
const r = `linear-gradient(to right, ${t.colors.map(gt).join(", ")})`;
|
|
79057
79057
|
return `
|
|
79058
|
-
<div class="omni-legend-sub">
|
|
79059
|
-
<div class="omni-legend-field">${
|
|
79060
|
-
<div class="omni-legend-ramp" style="background:${
|
|
79061
|
-
<div class="omni-legend-ramp-labels"><span>${
|
|
79058
|
+
<div class="omni-legend-sub" data-layer="${gt(e)}">
|
|
79059
|
+
<div class="omni-legend-field">${gt(t.field)}</div>
|
|
79060
|
+
<div class="omni-legend-ramp" style="background:${r}"></div>
|
|
79061
|
+
<div class="omni-legend-ramp-labels"><span>${gt(t.domain[0].toLocaleString("en-US"))}</span><span>${gt(t.domain[1].toLocaleString("en-US"))}</span></div>
|
|
79062
79062
|
</div>`;
|
|
79063
79063
|
}
|
|
79064
|
-
const
|
|
79065
|
-
(
|
|
79066
|
-
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${
|
|
79067
|
-
).join(""),
|
|
79068
|
-
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${
|
|
79064
|
+
const i = t.entries.map(
|
|
79065
|
+
(r) => `
|
|
79066
|
+
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${gt(r.color)}"></span><span>${gt(r.label)}</span></div>`
|
|
79067
|
+
).join(""), n = t.kind === "categories" && t.defaultColor ? `
|
|
79068
|
+
<div class="omni-legend-entry"><span class="omni-swatch" style="background:${gt(t.defaultColor)}"></span><span>other</span></div>` : "";
|
|
79069
79069
|
return `
|
|
79070
|
-
<div class="omni-legend-sub">
|
|
79071
|
-
<div class="omni-legend-field">${
|
|
79070
|
+
<div class="omni-legend-sub" data-layer="${gt(e)}">
|
|
79071
|
+
<div class="omni-legend-field">${gt(t.field)}</div>${i}${n}
|
|
79072
79072
|
</div>`;
|
|
79073
79073
|
}
|
|
79074
79074
|
Yt("legend", {
|
|
@@ -79078,14 +79078,14 @@ Yt("legend", {
|
|
|
79078
79078
|
const i = e.getAttribute("title") ?? "Legend", n = e.hasAttribute("interactive");
|
|
79079
79079
|
let r = e.$(".omni-panel");
|
|
79080
79080
|
r || (r = document.createElement("div"), r.className = "omni-panel", e.root.appendChild(r)), r.innerHTML = `
|
|
79081
|
-
<h4>${
|
|
79081
|
+
<h4>${gt(i)}</h4>
|
|
79082
79082
|
${t.layers.map((s) => {
|
|
79083
79083
|
const o = s.color ?? (s.legend?.kind === "ramp" ? s.legend.colors[0] : s.legend?.entries[0]?.color) ?? "#999";
|
|
79084
79084
|
return `
|
|
79085
|
-
<div class="omni-row">
|
|
79086
|
-
<span class="omni-swatch" style="background:${
|
|
79087
|
-
${n ? `<label><input type="checkbox" ${s.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${
|
|
79088
|
-
</div>${s.legend && s.visible ? OEe(s.legend) : ""}${s.cluster && s.visible ? kEe(o) : ""}`;
|
|
79085
|
+
<div class="omni-row" data-layer="${gt(s.id)}">
|
|
79086
|
+
<span class="omni-swatch" style="background:${gt(o)}"></span>
|
|
79087
|
+
${n ? `<label><input type="checkbox" ${s.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${gt(s.id)}"> ${gt(s.label ?? s.id)}</label>` : `<span>${gt(s.label ?? s.id)}</span>`}
|
|
79088
|
+
</div>${s.legend && s.visible ? OEe(s.legend, s.id) : ""}${s.cluster && s.visible ? kEe(o, s.id) : ""}`;
|
|
79089
79089
|
}).join("")}
|
|
79090
79090
|
`;
|
|
79091
79091
|
}
|
|
@@ -79097,8 +79097,8 @@ Yt("layer-switcher", {
|
|
|
79097
79097
|
let i = e.$(".omni-panel");
|
|
79098
79098
|
i || (i = document.createElement("div"), i.className = "omni-panel", e.root.appendChild(i)), i.innerHTML = t.layers.map(
|
|
79099
79099
|
(n) => `
|
|
79100
|
-
<div class="omni-row">
|
|
79101
|
-
<label><input type="checkbox" ${n.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${
|
|
79100
|
+
<div class="omni-row" data-layer="${gt(n.id)}">
|
|
79101
|
+
<label><input type="checkbox" ${n.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${gt(n.id)}"> ${gt(n.label ?? n.id)}</label>
|
|
79102
79102
|
</div>`
|
|
79103
79103
|
).join("");
|
|
79104
79104
|
}
|
|
@@ -79178,12 +79178,12 @@ Yt("basemap-switcher", {
|
|
|
79178
79178
|
), r = e.closest("om-map")?.getAttribute("basemap") ?? "maplibre", s = e.getAttribute("title") ?? "Basemap";
|
|
79179
79179
|
let o = e.$(".omni-panel");
|
|
79180
79180
|
o || (o = document.createElement("div"), o.className = "omni-panel", e.root.appendChild(o)), o.innerHTML = `
|
|
79181
|
-
<h4>${
|
|
79181
|
+
<h4>${gt(s)}</h4>
|
|
79182
79182
|
${n.map((a) => {
|
|
79183
79183
|
const l = ob().get(a)?.label ?? a;
|
|
79184
79184
|
return `
|
|
79185
79185
|
<div class="omni-row">
|
|
79186
|
-
<label><input type="radio" name="omni-basemap" ${a === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${
|
|
79186
|
+
<label><input type="radio" name="omni-basemap" ${a === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${gt(a)}"> ${gt(l)}</label>
|
|
79187
79187
|
</div>`;
|
|
79188
79188
|
}).join("")}
|
|
79189
79189
|
`;
|
|
@@ -79438,9 +79438,9 @@ Yt("player", {
|
|
|
79438
79438
|
}
|
|
79439
79439
|
const o = r.getAttribute("id") ?? "";
|
|
79440
79440
|
s.innerHTML = `
|
|
79441
|
-
<button type="button" class="pp" data-emit="story-play" data-story="${
|
|
79441
|
+
<button type="button" class="pp" data-emit="story-play" data-story="${gt(o)}" aria-label="Play">▶</button>
|
|
79442
79442
|
<input type="range" class="seek" min="0" max="0" step="1" value="0"
|
|
79443
|
-
data-emit="story-seek" data-story="${
|
|
79443
|
+
data-emit="story-seek" data-story="${gt(o)}" aria-label="Seek">
|
|
79444
79444
|
<span class="time">0:00 / 0:00</span>
|
|
79445
79445
|
`, e.root.appendChild(s);
|
|
79446
79446
|
const a = s.querySelector(".pp"), l = s.querySelector(".seek"), u = s.querySelector(".time");
|
|
@@ -79535,13 +79535,13 @@ function oP(t) {
|
|
|
79535
79535
|
return t.toFixed(2).replace(/\.?0+$/, "");
|
|
79536
79536
|
}
|
|
79537
79537
|
function ZEe(t) {
|
|
79538
|
-
if (!t) return
|
|
79539
|
-
if (t.poleWarning) return
|
|
79538
|
+
if (!t) return gt("Pick a mode, then click the map.");
|
|
79539
|
+
if (t.poleWarning) return gt("Footprint unavailable (ring encloses a pole).");
|
|
79540
79540
|
if (t.segments < 3 || t.areaMeters2 == null)
|
|
79541
|
-
return
|
|
79541
|
+
return gt("Click the map to outline the footprint, double-click to close.");
|
|
79542
79542
|
if (t.cutMeters3 == null) {
|
|
79543
79543
|
const h = `Area: ${MA(t.areaMeters2, t.units)} · Perimeter: ${Bn(t.perimeterMeters, t.units)}`;
|
|
79544
|
-
return
|
|
79544
|
+
return gt(t.footprintClosed ? `${h} — sampling elevation…` : h);
|
|
79545
79545
|
}
|
|
79546
79546
|
const e = t.baseSurface === "custom" ? `<button type="button" class="vol-flat-toggle${t.flatTargetPlane ? " active" : ""}" data-act="flat-target-plane" aria-pressed="${t.flatTargetPlane ? "true" : "false"}">${t.flatTargetPlane ? "✓ " : ""}Flat target plane</button>` : "", i = t.netMeters3 ?? 0, n = t.cutErrorM3 != null && t.cutErrorM3 > 0 ? ` ±${$s(t.cutErrorM3, t.units)}` : "", r = t.fillErrorM3 != null && t.fillErrorM3 > 0 ? ` ±${$s(t.fillErrorM3, t.units)}` : "", s = [
|
|
79547
79547
|
["Cut (removed)", $s(t.cutMeters3 ?? 0, t.units) + n],
|
|
@@ -79552,9 +79552,9 @@ function ZEe(t) {
|
|
|
79552
79552
|
["Perimeter", Bn(t.perimeterMeters, t.units)]
|
|
79553
79553
|
];
|
|
79554
79554
|
t.baseSurface && s.push(["Base surface", t.baseSurface]), t.cellSizeM != null && s.push(["Cell size", Bn(t.cellSizeM, t.units)]);
|
|
79555
|
-
const o = t.nodataFraction != null && t.nodataFraction > 0.01 ? `<div class="vol-stale">⚠ ${Math.round(t.nodataFraction * 100)}% of the footprint has no elevation data — totals under-report.</div>` : "", a = s.map(([h, m]) => `<div class="vol-row"><span>${
|
|
79555
|
+
const o = t.nodataFraction != null && t.nodataFraction > 0.01 ? `<div class="vol-stale">⚠ ${Math.round(t.nodataFraction * 100)}% of the footprint has no elevation data — totals under-report.</div>` : "", a = s.map(([h, m]) => `<div class="vol-row"><span>${gt(h)}</span><b>${gt(m)}</b></div>`).join("") + o, l = [];
|
|
79556
79556
|
t.cutAdjustedMeters3 != null && l.push([`Cut, loose (×${oP(t.swell ?? 1)} swell)`, $s(t.cutAdjustedMeters3, t.units)]), t.fillAdjustedMeters3 != null && l.push([`Fill, loose (÷${oP(t.shrink ?? 1)} shrink)`, $s(t.fillAdjustedMeters3, t.units)]), t.cutMassKg != null && l.push(["Cut tonnage", yT(t.cutMassKg, t.units)]), t.fillMassKg != null && l.push(["Fill tonnage", yT(t.fillMassKg, t.units)]);
|
|
79557
|
-
const u = l.length ? `<div class="vol-material-label">Material</div>${l.map(([h, m]) => `<div class="vol-row"><span>${
|
|
79557
|
+
const u = l.length ? `<div class="vol-material-label">Material</div>${l.map(([h, m]) => `<div class="vol-row"><span>${gt(h)}</span><b>${gt(m)}</b></div>`).join("")}` : "";
|
|
79558
79558
|
return e + a + u + (t.stale ? '<div class="vol-stale">Updating…</div>' : "");
|
|
79559
79559
|
}
|
|
79560
79560
|
Yt("measure", {
|
|
@@ -79697,7 +79697,7 @@ Yt("effects", {
|
|
|
79697
79697
|
const i = e.closest("om-map"), n = e.getAttribute("title") ?? "Finish";
|
|
79698
79698
|
let r = e.$(".omni-effects");
|
|
79699
79699
|
r || (r = document.createElement("div"), r.className = "omni-effects", r.innerHTML = `
|
|
79700
|
-
<h4>${
|
|
79700
|
+
<h4>${gt(n)}</h4>
|
|
79701
79701
|
<div class="omni-effects-presets">
|
|
79702
79702
|
${["none", ...Kb].map(
|
|
79703
79703
|
(a) => `
|
|
@@ -79720,7 +79720,7 @@ Yt("lighting", {
|
|
|
79720
79720
|
const i = e.closest("om-map"), n = e.getAttribute("title") ?? "Lighting";
|
|
79721
79721
|
let r = e.$(".omni-lighting");
|
|
79722
79722
|
r || (r = document.createElement("div"), r.className = "omni-lighting", r.innerHTML = `
|
|
79723
|
-
<h4>${
|
|
79723
|
+
<h4>${gt(n)}</h4>
|
|
79724
79724
|
<div class="omni-lighting-presets">
|
|
79725
79725
|
${["default", ...k2].map(
|
|
79726
79726
|
(u) => `
|
|
@@ -79799,7 +79799,7 @@ Yt("clip-box", {
|
|
|
79799
79799
|
r = document.createElement("div"), r.className = "omni-clip-box";
|
|
79800
79800
|
const u = (m, v) => `<input type="number" step="any" data-field="${m}" aria-label="${v}">`;
|
|
79801
79801
|
r.innerHTML = `
|
|
79802
|
-
<h4>${
|
|
79802
|
+
<h4>${gt(n)}</h4>
|
|
79803
79803
|
<div class="omni-clip-box-grid">
|
|
79804
79804
|
<span></span><span>Lng</span><span>Lat</span><span>Elev (m)</span>
|
|
79805
79805
|
<span>Min</span>${u("minLng", "Min longitude")}${u("minLat", "Min latitude")}${u("minElev", "Min elevation")}
|
|
@@ -83314,7 +83314,7 @@ class d5 {
|
|
|
83314
83314
|
`[onlymapjs] basemap="${e}" (Mapbox GL) is not implemented yet in this version — falling back to standalone (no basemap). Use a maplibre-* basemap instead (no token required).`
|
|
83315
83315
|
);
|
|
83316
83316
|
else {
|
|
83317
|
-
this.mode = "basemap", this.basemapAttr = e, import("./basemap-
|
|
83317
|
+
this.mode = "basemap", this.basemapAttr = e, import("./basemap-BrQCDtfj.js").then(({ MapLibreBasemapAdapter: s }) => {
|
|
83318
83318
|
this.destroyed || i !== this.rendererGeneration || (this.basemap = new s(
|
|
83319
83319
|
this.parent,
|
|
83320
83320
|
// this.basemapAttr, not the captured param: a style switch that
|
|
@@ -83626,7 +83626,7 @@ class d5 {
|
|
|
83626
83626
|
this.postProcess = null, this.applyEffects();
|
|
83627
83627
|
return;
|
|
83628
83628
|
}
|
|
83629
|
-
import("./index-
|
|
83629
|
+
import("./index-riq9qTYh.js").then(({ buildPostProcessEffects: i }) => {
|
|
83630
83630
|
this.destroyed || this.effectsIR !== e || (this.postProcess = i(e, this.pixelsPerMm()), this.applyEffects());
|
|
83631
83631
|
});
|
|
83632
83632
|
}
|
|
@@ -84066,7 +84066,7 @@ class d5 {
|
|
|
84066
84066
|
* than the export failing.
|
|
84067
84067
|
*/
|
|
84068
84068
|
async captureBand(e, i) {
|
|
84069
|
-
const { bandScaleFor: n } = await import("./index-
|
|
84069
|
+
const { bandScaleFor: n } = await import("./index-Clg4OPrB.js"), r = n(i);
|
|
84070
84070
|
return this.withCapturePixelRatio(r, async () => {
|
|
84071
84071
|
this.bandIsolation = e ? new Set(e) : null;
|
|
84072
84072
|
try {
|
|
@@ -84088,7 +84088,7 @@ class d5 {
|
|
|
84088
84088
|
async resolvedPostProcessPass() {
|
|
84089
84089
|
const e = this.buildEffects();
|
|
84090
84090
|
if (e.length === 0) return { present: !1 };
|
|
84091
|
-
const { PostProcessEffect: i } = await import("./index-
|
|
84091
|
+
const { PostProcessEffect: i } = await import("./index-CtsYIqaJ.js");
|
|
84092
84092
|
for (const n of e)
|
|
84093
84093
|
if (n instanceof i) {
|
|
84094
84094
|
const r = n;
|
|
@@ -84551,7 +84551,7 @@ class d5 {
|
|
|
84551
84551
|
const { width: n, height: r } = i, s = (v) => {
|
|
84552
84552
|
const _ = i.project([v[0], v[1]]);
|
|
84553
84553
|
return [_[0], _[1]];
|
|
84554
|
-
}, o = i.unproject([n / 2, r / 2]), a = i.unproject([n / 2 + 1, r / 2]), l = Math.max(_a([o[0], o[1]], [a[0], a[1]]), 1e-9), u = await this.resolvedPostProcessPass(), { serializeToSvg: h } = await import("./index-
|
|
84554
|
+
}, o = i.unproject([n / 2, r / 2]), a = i.unproject([n / 2 + 1, r / 2]), l = Math.max(_a([o[0], o[1]], [a[0], a[1]]), 1e-9), u = await this.resolvedPostProcessPass(), { serializeToSvg: h } = await import("./index-Clg4OPrB.js"), m = await h(this.lastIRs, {
|
|
84555
84555
|
width: n,
|
|
84556
84556
|
height: r,
|
|
84557
84557
|
project: s,
|
|
@@ -85293,7 +85293,7 @@ function _5(t, e, i, n, r, s) {
|
|
|
85293
85293
|
if (u) return u;
|
|
85294
85294
|
const h = `${r}|${l}#${o.length}`;
|
|
85295
85295
|
if (!eb.has(h)) {
|
|
85296
|
-
const m = import("./index-
|
|
85296
|
+
const m = import("./index-wHUqi1zW.js").then(async ({ runTransforms: v }) => {
|
|
85297
85297
|
JP(a, l, await v(o, e, i, n, r));
|
|
85298
85298
|
}).catch((v) => {
|
|
85299
85299
|
console.error(`[onlymapjs] ${r} failed to load the geometry transforms:`, v), JP(a, l, t);
|
|
@@ -85527,7 +85527,7 @@ function T5({ layerIRs: t, core: e, mapEl: i, selection: n, history: r, featureT
|
|
|
85527
85527
|
}
|
|
85528
85528
|
};
|
|
85529
85529
|
}
|
|
85530
|
-
const E5 = "0.11.
|
|
85530
|
+
const E5 = "0.11.7", JIe = "https://om-api.nika.eco/v1/t", co = { endpoint: JIe };
|
|
85531
85531
|
function KIe(t) {
|
|
85532
85532
|
for (const e of Object.keys(t))
|
|
85533
85533
|
co[e] = t[e];
|
|
@@ -87841,6 +87841,10 @@ class uPe extends Eo {
|
|
|
87841
87841
|
overlayFlushPending = !1;
|
|
87842
87842
|
errorPanel = null;
|
|
87843
87843
|
runtimeErrors = [];
|
|
87844
|
+
/** Host diagnostics channel (the `diagnostics` property) — see its setter. */
|
|
87845
|
+
diagnosticsOn = !1;
|
|
87846
|
+
/** The last merged static + runtime report, while anyone is listening. */
|
|
87847
|
+
lastDiagnostics = null;
|
|
87844
87848
|
/** Dedup guard for the approximate-BIM-georeferencing warning — same shape as applyLicenseGates' own `warned` set, keyed per layer id. */
|
|
87845
87849
|
warnedApproximatePlacement = /* @__PURE__ */ new Set();
|
|
87846
87850
|
/** Dedup guard for the no-terrain-for-elevation error — same shape as `warnedApproximatePlacement`. */
|
|
@@ -88911,7 +88915,7 @@ class uPe extends Eo {
|
|
|
88911
88915
|
this.core?.setEffects([]);
|
|
88912
88916
|
return;
|
|
88913
88917
|
}
|
|
88914
|
-
import("./index-
|
|
88918
|
+
import("./index-riq9qTYh.js").then(({ parseEffectEls: i }) => {
|
|
88915
88919
|
!this.core || !this.isConnected || this.core.setEffects(i(this));
|
|
88916
88920
|
});
|
|
88917
88921
|
}
|
|
@@ -88964,18 +88968,38 @@ class uPe extends Eo {
|
|
|
88964
88968
|
reportRuntimeErrorInternal(e) {
|
|
88965
88969
|
this.runtimeErrors.push(e), this.runtimeErrors.length > sPe && this.runtimeErrors.shift(), this.publishValidation();
|
|
88966
88970
|
}
|
|
88971
|
+
/**
|
|
88972
|
+
* A host's own diagnostics channel — a PROPERTY, never an attribute. While
|
|
88973
|
+
* `true`, the map validates on every reconcile and fires
|
|
88974
|
+
* `om-validation-error` exactly as `validate="silent"` would, with no
|
|
88975
|
+
* on-page panel and without touching the document. For an editor that
|
|
88976
|
+
* autosaves the DOM (writing `validate` there would save it into the user's
|
|
88977
|
+
* file) or a preview that must not change what it shows. An authored
|
|
88978
|
+
* `validate` attribute still decides whether the panel appears.
|
|
88979
|
+
*/
|
|
88980
|
+
get diagnostics() {
|
|
88981
|
+
return this.diagnosticsOn;
|
|
88982
|
+
}
|
|
88983
|
+
set diagnostics(e) {
|
|
88984
|
+
const i = e === !0;
|
|
88985
|
+
i !== this.diagnosticsOn && (this.diagnosticsOn = i, !i && this.getAttribute("validate") === null && (this.lastDiagnostics = null), this.publishValidation());
|
|
88986
|
+
}
|
|
88987
|
+
/** The latest merged static + runtime report — `null` until the map is
|
|
88988
|
+
* validating (a `validate` attribute, or `diagnostics = true`). For a host
|
|
88989
|
+
* that starts listening after the first reconcile. */
|
|
88990
|
+
getDiagnostics() {
|
|
88991
|
+
return this.lastDiagnostics;
|
|
88992
|
+
}
|
|
88967
88993
|
publishValidation() {
|
|
88968
88994
|
const e = this.getAttribute("validate");
|
|
88969
|
-
if (e === null)
|
|
88970
|
-
this.errorPanel?.destroy(), this.errorPanel = null;
|
|
88995
|
+
if (e === null && (this.errorPanel?.destroy(), this.errorPanel = null, !this.diagnosticsOn))
|
|
88971
88996
|
return;
|
|
88972
|
-
}
|
|
88973
88997
|
const i = G5(this), n = this.runtimeErrors.filter((o) => o.severity === "error"), r = this.runtimeErrors.filter((o) => o.severity === "warning"), s = {
|
|
88974
88998
|
valid: i.valid && n.length === 0,
|
|
88975
88999
|
errors: [...i.errors, ...n],
|
|
88976
89000
|
warnings: [...i.warnings, ...r]
|
|
88977
89001
|
};
|
|
88978
|
-
if (this.dispatchEvent(new CustomEvent("om-validation-error", { detail: s })), e === "silent") {
|
|
89002
|
+
if (this.lastDiagnostics = s, this.dispatchEvent(new CustomEvent("om-validation-error", { detail: s })), e === null || e === "silent") {
|
|
88979
89003
|
this.errorPanel?.destroy(), this.errorPanel = null;
|
|
88980
89004
|
return;
|
|
88981
89005
|
}
|
|
@@ -89114,7 +89138,7 @@ function vPe(t) {
|
|
|
89114
89138
|
function Ld(t, e) {
|
|
89115
89139
|
return t.replace(yPe, (i, n, r, s) => {
|
|
89116
89140
|
const o = n !== void 0, a = n ?? r, l = e[a], u = l == null ? "" : String(l);
|
|
89117
|
-
return o ? u : bPe(t, s) && vPe(u) ? (console.warn(`[onlymapjs] Blocked an unsafe URL scheme interpolated into {{${a}}} (href/src reject javascript:/non-image data:).`), "") :
|
|
89141
|
+
return o ? u : bPe(t, s) && vPe(u) ? (console.warn(`[onlymapjs] Blocked an unsafe URL scheme interpolated into {{${a}}} (href/src reject javascript:/non-image data:).`), "") : gt(u);
|
|
89118
89142
|
});
|
|
89119
89143
|
}
|
|
89120
89144
|
const dB = {
|
|
@@ -89177,6 +89201,16 @@ class _Pe extends Eo {
|
|
|
89177
89201
|
disconnectedCallback() {
|
|
89178
89202
|
this.mapEl?.unregisterOverlayInternal(this), this.mapEl = null;
|
|
89179
89203
|
}
|
|
89204
|
+
/**
|
|
89205
|
+
* The template this overlay renders, `{{fields}}` and all — read-only. The
|
|
89206
|
+
* authored content moves into the shadow root and is shown with its fields
|
|
89207
|
+
* filled in, so neither the light DOM nor the rendered text still holds the
|
|
89208
|
+
* template; a tool that needs to know which fields a popup shows (an
|
|
89209
|
+
* element picker naming what it reads) reads it here.
|
|
89210
|
+
*/
|
|
89211
|
+
get templateSource() {
|
|
89212
|
+
return this.template;
|
|
89213
|
+
}
|
|
89180
89214
|
/**
|
|
89181
89215
|
* Replaces the overlay's content template (used by the internal, runtime-
|
|
89182
89216
|
* managed tooltip overlay the `show-tooltip` action drives — see
|
|
@@ -90768,7 +90802,7 @@ async function DBe(t) {
|
|
|
90768
90802
|
e(t);
|
|
90769
90803
|
}
|
|
90770
90804
|
async function qPe() {
|
|
90771
|
-
return import("./raster-
|
|
90805
|
+
return import("./raster-Dx2oylKT.js").then((t) => t.r);
|
|
90772
90806
|
}
|
|
90773
90807
|
const UBe = {
|
|
90774
90808
|
registerLayer: un,
|