@nika-js/onlymap 0.11.5 → 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.
Files changed (34) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{basemap-CnjAGLZo.js → basemap-BrQCDtfj.js} +2 -2
  4. package/dist/elements/om-map.d.ts +20 -1
  5. package/dist/elements/om-overlay.d.ts +8 -0
  6. package/dist/{geoparquet-CHtunmD2.js → geoparquet-BSQY5PIo.js} +1 -1
  7. package/dist/{globe-view-CgQa-07O.js → globe-view-CGXyelOy.js} +1 -1
  8. package/dist/{hillshade-BgXgVdjg.js → hillshade-BtfW1P2c.js} +1 -1
  9. package/dist/{index-D4x57ql0.js → index-Bl8RF_ZY.js} +1 -1
  10. package/dist/{index-NCXX8bDe.js → index-CNderrhB.js} +1 -1
  11. package/dist/{index-BTTCf4nb.js → index-CPoNS0ZN.js} +308 -271
  12. package/dist/{index-aOe9cOFs.js → index-Clg4OPrB.js} +1 -1
  13. package/dist/{index-DoNtp5Nh.js → index-CtsYIqaJ.js} +3 -3
  14. package/dist/{index-ClLMdW3k.js → index-CvLkkFyD.js} +2 -2
  15. package/dist/{index-DjtM8ecq.js → index-Df36FLVl.js} +1 -1
  16. package/dist/{index-k7l7kqTk.js → index-riq9qTYh.js} +3 -3
  17. package/dist/{index-BTsRqhXB.js → index-wHUqi1zW.js} +1 -1
  18. package/dist/{lerc-BtdiMDO7.js → lerc-B31CKJ6m.js} +1 -1
  19. package/dist/onlymap.standalone.js +759 -706
  20. package/dist/onlymapjs.js +1 -1
  21. package/dist/{post-process-effect-BWrq5IR8.js → post-process-effect-8OT9O84M.js} +1 -1
  22. package/dist/{raster-iGwPuAgo.js → raster-Dx2oylKT.js} +3 -3
  23. package/dist/{raster-pipeline-Dxs9TpD6.js → raster-pipeline-CPM9CeZ0.js} +1 -1
  24. package/dist/{text-on-path-C8h_3Snf.js → text-on-path-Bki2IUm0.js} +64 -48
  25. package/dist/text-on-path.d.ts +13 -1
  26. package/dist/version.d.ts +1 -1
  27. package/dist/{zarr-C1zXD9VD.js → zarr-CsY2lbLD.js} +2 -2
  28. package/docs/cartograph.md +2 -2
  29. package/docs/cartography.md +1 -0
  30. package/llms.txt +2 -1
  31. package/onlymapjs.attributes.json +1 -0
  32. package/package.json +1 -1
  33. package/skills/onlymapjs/SKILL.md +3 -2
  34. package/skills/onlymapjs/references/syntax.md +5 -3
@@ -91,7 +91,7 @@ Zr("maptiler-satellite", {
91
91
  label: "MapTiler Satellite",
92
92
  requiresKey: "maptiler"
93
93
  });
94
- function Ct(t) {
94
+ function gt(t) {
95
95
  return t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
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-NCXX8bDe.js"), import("./index-ClLMdW3k.js")]), r = await n.parse(e, i.CSVLoader, { csv: { shape: "object-row-table" } });
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-ClLMdW3k.js"), import("./index-DjtM8ecq.js")]), r = t.url || e, s = /* @__PURE__ */ new Map(), o = (m) => {
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-ClLMdW3k.js"), import("./index-D4x57ql0.js")]);
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-ClLMdW3k.js"), import("./index-D4x57ql0.js")]), o = ((await n.parse(i, r.GPXLoader)).features ?? []).map((l) => {
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-CHtunmD2.js")
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, mt = Se.d, iw = Se.e, eV = Se.f, tV = Se.g, iV = Se.h, nV = Se.i, U = 28416;
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
- mt(27634, 26928, 533, 26936);
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, yt = 0, vt = 0, Ui = 0, ut = 0, _t = 0, sn = 0;
40238
- if (vt = U, U = U + 64 | 0, We = vt + 48 | 0, Te = vt + 32 | 0, Ne = vt + 24 | 0, Ae = vt + 8 | 0, xe = vt, C = c[f >> 2] | 0, (C | 0) <= 0)
40239
- return yt = 0, U = vt, yt | 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, 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, _t = +(C >>> 0) + 4294967296 * +(V() | 0), Ui = +(ne >>> 0) + 4294967296 * +(j | 0), H[Ae >> 3] = ut * (sn * _t) + ut * (+H[Te >> 3] * Ui), H[ve >> 3] = ut * (+H[re >> 3] * _t) + ut * (+H[Oe >> 3] * Ui), C = Mg(Ae, g, xe) | 0, C | 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, yt = 16;
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, yt = 16;
40265
+ te = C, bt = 16;
40266
40266
  break;
40267
40267
  }
40268
40268
  }
40269
40269
  while (!1);
40270
- if ((yt | 0) == 16 && (yt = 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)) {
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
- yt = 21;
40280
+ bt = 21;
40281
40281
  break;
40282
40282
  }
40283
40283
  if (C = c[f >> 2] | 0, (se | 0) >= (C | 0)) {
40284
- x = 0, yt = 21;
40284
+ x = 0, bt = 21;
40285
40285
  break;
40286
40286
  }
40287
40287
  }
40288
- return (yt | 0) == 21 ? (U = vt, x | 0) : 0;
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, yt = 0, vt = 0, Ui = 0, ut = 0, _t = 0;
40293
- if (_t = U, U = U + 112 | 0, yt = _t + 80 | 0, C = _t + 72 | 0, vt = _t, Ui = _t + 56 | 0, p = Wc(A) | 0, p | 0)
40294
- return ut = p, U = _t, ut | 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, 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 = _t, ut | 0;
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, yt), p = dw(yt, d, vt) | 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, 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 = vt, 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 = vt, 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 = vt, c[p >> 2] = Te, c[p + 4 >> 2] = Ne, p = 0;
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 = _t, ut | 0;
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 = _t, ut | 0;
40316
- ve = yt, 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, yt, A, x) | 0;
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, yt, A, x) | 0, y = y + 1 | 0, !(p | 0); )
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 = yt, ve = c[We + 4 >> 2] | 0;
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 = vt, C = x + 56 | 0;
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, vt, 0) | 0) {
40341
- x = vt, C = x + 56 | 0;
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, vt, x, 7, 0, 0) | 0, Ue(x));
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 = vt + (W << 3) | 0, N = c[F >> 2] | 0, F = c[F + 4 >> 2] | 0;
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 = yt, y = c[b >> 2] | 0, b = c[b + 4 >> 2] | 0, (se | 0) < (b | 0) | (se | 0) == (b | 0) & j >>> 0 < y >>> 0)
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 = yt, j = c[se + 4 >> 2] | 0;
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 = yt, c[se >> 2] = x, c[se + 4 >> 2] = C, (C | 0) > 0 | (C | 0) == 0 & x >>> 0 > 0)
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 = _t, ut | 0;
40400
+ return ut = p, U = xt, ut | 0;
40401
40401
  }
40402
40402
  }
40403
- return Ue(ut), ut = p, U = _t, ut | 0;
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
- mt(27634, 26956, 108, 26975);
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 && mt(27634, 26956, 258, 27001), p = 0, y = 0;
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 ? mt(27634, 26956, 351, 27016) : (ve | 0) == 75 && Ue(F), (ne | 0) > 0 | (ne | 0) == 0 & A >>> 0 > 0)
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 && mt(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);
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, yt = 0, vt = 0, Ui = 0, ut = 0, _t = 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, yt = An + 224 | 0, ti = An, ci = An + 208 | 0, ri = An + 192 | 0, vt = An + 168 | 0, Ui = An + 152 | 0, ut = An + 136 | 0, _t = An + 120 | 0, sn = An + 104 | 0, li = An + 80 | 0, c[y >> 2] = d, c[yt >> 2] = c[f >> 2], c[yt + 4 >> 2] = c[f + 4 >> 2], c[yt + 8 >> 2] = c[f + 8 >> 2], c[yt + 12 >> 2] = c[f + 12 >> 2], gw(yt, y, ti), c[p >> 2] = 0, yt = g + A + ((g | 0) == 5 & 1) | 0, (yt | 0) <= (A | 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 = vt + 8 | 0, Oe = 16928 + (te << 2) | 0, ve = Ui + 8 | 0, We = ut + 8 | 0, Te = _t + 8 | 0, Ne = ri + 8 | 0, N = vt + 8 | 0, W = vt + 16 | 0, F = li + 8 | 0, K = li + 16 | 0, L = A, g = 0, b = 0, x = 0, C = 0;
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[vt >> 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[_t >> 3] = Lo, H[Te >> 3] = Si * -2.598076211353316, c[17008 + (M * 80 | 0) + (R << 2) >> 2] | 0) {
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 = _t, g = ut;
41166
+ f = xt, g = ut;
41167
41167
  break;
41168
41168
  }
41169
41169
  case 2: {
41170
- f = Ui, g = _t;
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, vt, 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;
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, vt), Bt = c[p >> 2] | 0, Si = +Ns(+ +H[W >> 3]), Lo = +nn(+ +H[N >> 3], + +H[vt >> 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) >= (yt | 0)) {
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 && mt(27073, 27120, 599, 27130);
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, yt = 0, vt = 0, Ui = 0, ut = 0, _t = 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, _t = li + 224 | 0, sn = li + 208 | 0, ve = li + 184 | 0, We = li + 168 | 0, Te = li + 152 | 0, Ne = li + 136 | 0, yt = li + 120 | 0, vt = 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)) {
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 = _t + 4 | 0, N = _t + 8 | 0, F = _t + 12 | 0, K = sn + 8 | 0, C = ve + 8 | 0, M = ve + 16 | 0, S = vt + 8 | 0, R = vt + 16 | 0, b = 0, x = A, g = -1;
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[_t >> 2] = c[f >> 2], c[_t + 4 >> 2] = c[f + 4 >> 2], c[_t + 8 >> 2] = c[f + 8 >> 2], c[_t + 12 >> 2] = c[f + 12 >> 2], f = b, b = Ga(_t, ne, 0, 1) | 0, (x | 0) > (A | 0) & (Hn(d) | 0) != 0 && (Ui = c[_t >> 2] | 0, (f | 0) != 1 & (Ui | 0) != (g | 0))) {
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, yt), !(Pw(sn, yt) | 0) && !(Pw(ve, yt) | 0) && (Uc(yt, W, ne, 1, vt), ri = c[p >> 2] | 0, ti = +Ns(+ +H[R >> 3]), ci = +nn(+ +H[S >> 3], + +H[vt >> 3]), H[p + 8 + (ri << 4) >> 3] = ti, H[p + 8 + (ri << 4) + 8 >> 3] = ci, c[p >> 2] = (c[p >> 2] | 0) + 1);
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[_t >> 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)) {
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[_t >> 2] | 0;
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 && mt(27157, 27120, 766, 27202);
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
- mt(27634, 27225, 620, 27235);
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 ? mt(27634, 27225, 711, 27235) : (Ne | 0) == 81 ? mt(27634, 27225, 723, 27235) : (Ne | 0) == 85 && (pr(d | 0, Te | 0, A << 3 | 0) | 0, Ne = 89);
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
- mt(27634, 27225, 1073, 27248);
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
- mt(27634, 27225, 1407, 27259);
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 && mt(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) : (mt(27634, 27225, 1447, 27259), 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 && mt(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))))
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 ? mt(27291, 27315, 164, 27325) : (W = b, y = x);
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 || mt(27340, 27315, 194, 27325), b = (R | 0) != 0, y = (L | 0) != 0, b & y && mt(27367, 27315, 195, 27325), b) {
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) && mt(27398, 27315, 264, 27325), b = dn(f, d) | 0, y = dn(A, g) | 0, (b | 0) == 7 | (y | 0) == 7)
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
- mt(27634, 27425, 416, 27447);
43291
+ yt(27634, 27425, 416, 27447);
43292
43292
  else if ((j | 0) == 36)
43293
- mt(27634, 27425, 464, 27461);
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 && mt(27476, 27315, 415, 27506), $t(y) | 0 ? mt(27521, 27315, 416, 27506) : (p = y, se = b, ne = A);
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 && mt(27552, 27315, 423, 27506), !S) {
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 && mt(27291, 27315, 432, 27506), A = g, y = c[A >> 2] | 0, A = c[A + 4 >> 2] | 0, (C | 0) > 0) {
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 && mt(27634, 27315, 444, 27506), y = gg(p) | 0, y = c[(y ? 21760 : 21552) + (x * 28 | 0) + (A << 2) >> 2] | 0, (y | 0) < 0 && mt(27634, 27315, 458, 27506), !y)
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 && mt(27634, 27315, 696, 27575), Hc(f, d, A, g, L) | 0 && mt(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)
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
- mt(27634, 27600, 470, 27611);
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
- mt(27634, 27600, 493, 27611);
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
- mt(27634, 27636, 75, 27645);
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 && mt(27634, 27636, 248, 27661), C = (p | 0) != 0, ((C ? 4 : 5) | 0) < (x | 0) && mt(27634, 27636, 248, 27661), $c(f, d, j) | 0 && mt(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 && mt(27634, 27636, 248, 27661), c[N >> 2] = 0, p = gi(f, d, x, N, L) | 0, p | 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
- }, wt = {
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 = wt.UNSIGNED_INT, n = 1) {
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: wt.UNSIGNED_BYTE,
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: wt.UNSIGNED_BYTE,
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: wt.UNSIGNED_BYTE,
59831
+ type: Ct.UNSIGNED_BYTE,
59832
59832
  value: e,
59833
59833
  size: 3,
59834
59834
  normalized: !0
59835
59835
  } : {
59836
- type: wt.UNSIGNED_BYTE,
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: wt.FLOAT,
59851
+ type: Ct.FLOAT,
59852
59852
  size: 2,
59853
59853
  value: i
59854
59854
  };
59855
59855
  }
59856
59856
  return {
59857
- type: wt.FLOAT,
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: wt.UNSIGNED_SHORT,
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", wt.FLOAT, 3);
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", wt.FLOAT, 3);
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", wt.UNSIGNED_SHORT, 3);
59908
- if (t.isQuantized = !0, t.quantizedRange = 65535, t.quantizedVolumeScale = e.getGlobalProperty("QUANTIZED_VOLUME_SCALE", wt.FLOAT, 3), !t.quantizedVolumeScale)
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", wt.FLOAT, 3), !t.quantizedVolumeOffset)
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", wt.UNSIGNED_BYTE, 4), t.isTranslucent = !0) : e.hasProperty("RGB") ? n = e.getPropertyArray("RGB", wt.UNSIGNED_BYTE, 3) : e.hasProperty("RGB565") && (n = e.getPropertyArray("RGB565", wt.UNSIGNED_SHORT, 1), t.isRGB565 = !0), t.attributes.colors = nD(t, n, i);
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", wt.UNSIGNED_BYTE, 4));
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", wt.FLOAT, 3) : e.hasProperty("NORMAL_OCT16P") && (i = e.getPropertyArray("NORMAL_OCT16P", wt.UNSIGNED_BYTE, 2), t.isOctEncoded16P = !0), t.attributes.normals = Oye(t, i);
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", wt.UNSIGNED_SHORT, 1), t.batchIds)) {
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", wt.FLOAT, 3), i;
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", wt.FLOAT, 3);
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", wt.FLOAT, 3, T, s);
60081
+ E = e.getProperty("POSITION", Ct.FLOAT, 3, T, s);
60082
60082
  else if (e.hasProperty("POSITION_QUANTIZED")) {
60083
- E = e.getProperty("POSITION_QUANTIZED", wt.UNSIGNED_SHORT, 3, T, s);
60084
- const k = e.getGlobalProperty("QUANTIZED_VOLUME_OFFSET", wt.FLOAT, 3);
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", wt.FLOAT, 3);
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", wt.FLOAT, 3, T, m), t.normalRight = e.getProperty("NORMAL_RIGHT", wt.FLOAT, 3, T, v), t.normalUp) {
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", wt.UNSIGNED_SHORT, 2, T, m), t.octNormalRight = e.getProperty("NORMAL_RIGHT_OCT32P", wt.UNSIGNED_SHORT, 2, T, v), t.octNormalUp)
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", wt.FLOAT, 1, T, _);
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", wt.FLOAT, 3, T, m);
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", wt.UNSIGNED_SHORT, 1, T, w);
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-iGwPuAgo.js").then((t) => t.r).then((t) => t.OmCOGLayer),
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-C1zXD9VD.js").then((t) => t.OmZarrLayer),
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-BgXgVdjg.js").then((t) => t.OmHillshadeLayer),
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-C8h_3Snf.js").then((t) => t.OmTextOnPathLayer),
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" },
@@ -69917,6 +69917,9 @@ un({
69917
69917
  { attr: "max-angle", kind: "scalar", deckProp: "maxAngle", type: "number", default: 45 },
69918
69918
  { attr: "orientation", kind: "scalar", deckProp: "orientation", type: "string", default: "curve" },
69919
69919
  { attr: "max-labels", kind: "scalar", deckProp: "maxLabels", type: "number", default: 2e3 },
69920
+ // Clickable like any other layer: a pick reports the row the label
69921
+ // spells (OmTextOnPathLayer.getPickingInfo), so `{{name}}` popups work.
69922
+ { attr: "pickable", kind: "scalar", deckProp: "pickable", type: "boolean", default: !1 },
69920
69923
  { attr: "opacity", kind: "scalar", deckProp: "opacity", type: "number", default: 1 },
69921
69924
  { attr: "visible", kind: "scalar", deckProp: "visible", type: "boolean", default: !0 }
69922
69925
  ]
@@ -70098,42 +70101,42 @@ function Wr(t, e) {
70098
70101
  function yo(t, e) {
70099
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);
70100
70103
  }
70101
- var xt = function(e, i) {
70104
+ var wt = function(e, i) {
70102
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;
70103
70106
  };
70104
70107
  function Xn(t, e) {
70105
- return new xt(t, { beforeExpr: !0, binop: e });
70108
+ return new wt(t, { beforeExpr: !0, binop: e });
70106
70109
  }
70107
70110
  var Yn = { beforeExpr: !0 }, mn = { startsExpr: !0 }, J_ = {};
70108
- function bt(t, e) {
70109
- return e === void 0 && (e = {}), e.keyword = t, J_[t] = new xt(t, e);
70111
+ function vt(t, e) {
70112
+ return e === void 0 && (e = {}), e.keyword = t, J_[t] = new wt(t, e);
70110
70113
  }
70111
70114
  var G = {
70112
- num: new xt("num", mn),
70113
- regexp: new xt("regexp", mn),
70114
- string: new xt("string", mn),
70115
- name: new xt("name", mn),
70116
- privateId: new xt("privateId", mn),
70117
- eof: new xt("eof"),
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"),
70118
70121
  // Punctuation token types.
70119
- bracketL: new xt("[", { beforeExpr: !0, startsExpr: !0 }),
70120
- bracketR: new xt("]"),
70121
- braceL: new xt("{", { beforeExpr: !0, startsExpr: !0 }),
70122
- braceR: new xt("}"),
70123
- parenL: new xt("(", { beforeExpr: !0, startsExpr: !0 }),
70124
- parenR: new xt(")"),
70125
- comma: new xt(",", Yn),
70126
- semi: new xt(";", Yn),
70127
- colon: new xt(":", Yn),
70128
- dot: new xt("."),
70129
- question: new xt("?", Yn),
70130
- questionDot: new xt("?."),
70131
- arrow: new xt("=>", Yn),
70132
- template: new xt("template"),
70133
- invalidTemplate: new xt("invalidTemplate"),
70134
- ellipsis: new xt("...", Yn),
70135
- backQuote: new xt("`", mn),
70136
- dollarBraceL: new xt("${", { beforeExpr: !0, startsExpr: !0 }),
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 }),
70137
70140
  // Operators. These carry several kinds of properties to help the
70138
70141
  // parser use them properly (the presence of these properties is
70139
70142
  // what categorizes them as operators).
@@ -70147,10 +70150,10 @@ var G = {
70147
70150
  // `isAssign` marks all of `=`, `+=`, `-=` etcetera, which act as
70148
70151
  // binary operators with a very low precedence, that should result
70149
70152
  // in AssignmentExpression nodes.
70150
- eq: new xt("=", { beforeExpr: !0, isAssign: !0 }),
70151
- assign: new xt("_=", { beforeExpr: !0, isAssign: !0 }),
70152
- incDec: new xt("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
70153
- prefix: new xt("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
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 }),
70154
70157
  logicalOR: Xn("||", 1),
70155
70158
  logicalAND: Xn("&&", 2),
70156
70159
  bitwiseOR: Xn("|", 3),
@@ -70159,48 +70162,48 @@ var G = {
70159
70162
  equality: Xn("==/!=/===/!==", 6),
70160
70163
  relational: Xn("</>/<=/>=", 7),
70161
70164
  bitShift: Xn("<</>>/>>>", 8),
70162
- plusMin: new xt("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
70165
+ plusMin: new wt("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
70163
70166
  modulo: Xn("%", 10),
70164
70167
  star: Xn("*", 10),
70165
70168
  slash: Xn("/", 10),
70166
- starstar: new xt("**", { beforeExpr: !0 }),
70169
+ starstar: new wt("**", { beforeExpr: !0 }),
70167
70170
  coalesce: Xn("??", 1),
70168
70171
  // Keyword token types.
70169
- _break: bt("break"),
70170
- _case: bt("case", Yn),
70171
- _catch: bt("catch"),
70172
- _continue: bt("continue"),
70173
- _debugger: bt("debugger"),
70174
- _default: bt("default", Yn),
70175
- _do: bt("do", { isLoop: !0, beforeExpr: !0 }),
70176
- _else: bt("else", Yn),
70177
- _finally: bt("finally"),
70178
- _for: bt("for", { isLoop: !0 }),
70179
- _function: bt("function", mn),
70180
- _if: bt("if"),
70181
- _return: bt("return", Yn),
70182
- _switch: bt("switch"),
70183
- _throw: bt("throw", Yn),
70184
- _try: bt("try"),
70185
- _var: bt("var"),
70186
- _const: bt("const"),
70187
- _while: bt("while", { isLoop: !0 }),
70188
- _with: bt("with"),
70189
- _new: bt("new", { beforeExpr: !0, startsExpr: !0 }),
70190
- _this: bt("this", mn),
70191
- _super: bt("super", mn),
70192
- _class: bt("class", mn),
70193
- _extends: bt("extends", Yn),
70194
- _export: bt("export"),
70195
- _import: bt("import", mn),
70196
- _null: bt("null", mn),
70197
- _true: bt("true", mn),
70198
- _false: bt("false", mn),
70199
- _in: bt("in", { beforeExpr: !0, binop: 7 }),
70200
- _instanceof: bt("instanceof", { beforeExpr: !0, binop: 7 }),
70201
- _typeof: bt("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
70202
- _void: bt("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
70203
- _delete: bt("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
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 })
70204
70207
  }, wn = /\r\n?|\n|\u2028|\u2029/, K_e = new RegExp(wn.source, "g");
70205
70208
  function Ic(t) {
70206
70209
  return t === 10 || t === 13 || t === 8232 || t === 8233;
@@ -72709,14 +72712,14 @@ Ke.regexp_eatFixedHexDigits = function(t, e) {
72709
72712
  };
72710
72713
  var ix = function(e) {
72711
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]);
72712
- }, gt = pi.prototype;
72713
- gt.next = function(t) {
72715
+ }, mt = pi.prototype;
72716
+ mt.next = function(t) {
72714
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();
72715
72718
  };
72716
- gt.getToken = function() {
72719
+ mt.getToken = function() {
72717
72720
  return this.next(), new ix(this);
72718
72721
  };
72719
- typeof Symbol < "u" && (gt[Symbol.iterator] = function() {
72722
+ typeof Symbol < "u" && (mt[Symbol.iterator] = function() {
72720
72723
  var t = this;
72721
72724
  return {
72722
72725
  next: function() {
@@ -72728,7 +72731,7 @@ typeof Symbol < "u" && (gt[Symbol.iterator] = function() {
72728
72731
  }
72729
72732
  };
72730
72733
  });
72731
- gt.nextToken = function() {
72734
+ mt.nextToken = function() {
72732
72735
  var t = this.curContext();
72733
72736
  if ((!t || !t.preserveSpace) && this.skipSpace(), this.start = this.pos, this.options.locations && (this.startLoc = this.curPosition()), this.pos >= this.input.length)
72734
72737
  return this.finishToken(G.eof);
@@ -72736,20 +72739,20 @@ gt.nextToken = function() {
72736
72739
  return t.override(this);
72737
72740
  this.readToken(this.fullCharCodeAtPos());
72738
72741
  };
72739
- gt.readToken = function(t) {
72742
+ mt.readToken = function(t) {
72740
72743
  return Wr(t, this.options.ecmaVersion >= 6) || t === 92 ? this.readWord() : this.getTokenFromCode(t);
72741
72744
  };
72742
- gt.fullCharCodeAt = function(t) {
72745
+ mt.fullCharCodeAt = function(t) {
72743
72746
  var e = this.input.charCodeAt(t);
72744
72747
  if (e <= 55295 || e >= 56320)
72745
72748
  return e;
72746
72749
  var i = this.input.charCodeAt(t + 1);
72747
72750
  return i <= 56319 || i >= 57344 ? e : (e << 10) + i - 56613888;
72748
72751
  };
72749
- gt.fullCharCodeAtPos = function() {
72752
+ mt.fullCharCodeAtPos = function() {
72750
72753
  return this.fullCharCodeAt(this.pos);
72751
72754
  };
72752
- gt.skipBlockComment = function() {
72755
+ mt.skipBlockComment = function() {
72753
72756
  var t = this.options.onComment && this.curPosition(), e = this.pos, i = this.input.indexOf("*/", this.pos += 2);
72754
72757
  if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations)
72755
72758
  for (var n = void 0, r = e; (n = T6(this.input, r, this.pos)) > -1; )
@@ -72763,7 +72766,7 @@ gt.skipBlockComment = function() {
72763
72766
  this.curPosition()
72764
72767
  );
72765
72768
  };
72766
- gt.skipLineComment = function(t) {
72769
+ mt.skipLineComment = function(t) {
72767
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); )
72768
72771
  n = this.input.charCodeAt(++this.pos);
72769
72772
  this.options.onComment && this.options.onComment(
@@ -72775,7 +72778,7 @@ gt.skipLineComment = function(t) {
72775
72778
  this.curPosition()
72776
72779
  );
72777
72780
  };
72778
- gt.skipSpace = function() {
72781
+ mt.skipSpace = function() {
72779
72782
  e: for (; this.pos < this.input.length; ) {
72780
72783
  var t = this.input.charCodeAt(this.pos);
72781
72784
  switch (t) {
@@ -72810,27 +72813,27 @@ gt.skipSpace = function() {
72810
72813
  }
72811
72814
  }
72812
72815
  };
72813
- gt.finishToken = function(t, e) {
72816
+ mt.finishToken = function(t, e) {
72814
72817
  this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
72815
72818
  var i = this.type;
72816
72819
  this.type = t, this.value = e, this.updateContext(i);
72817
72820
  };
72818
- gt.readToken_dot = function() {
72821
+ mt.readToken_dot = function() {
72819
72822
  var t = this.input.charCodeAt(this.pos + 1);
72820
72823
  if (t >= 48 && t <= 57)
72821
72824
  return this.readNumber(!0);
72822
72825
  var e = this.input.charCodeAt(this.pos + 2);
72823
72826
  return this.options.ecmaVersion >= 6 && t === 46 && e === 46 ? (this.pos += 3, this.finishToken(G.ellipsis)) : (++this.pos, this.finishToken(G.dot));
72824
72827
  };
72825
- gt.readToken_slash = function() {
72828
+ mt.readToken_slash = function() {
72826
72829
  var t = this.input.charCodeAt(this.pos + 1);
72827
72830
  return this.exprAllowed ? (++this.pos, this.readRegexp()) : t === 61 ? this.finishOp(G.assign, 2) : this.finishOp(G.slash, 1);
72828
72831
  };
72829
- gt.readToken_mult_modulo_exp = function(t) {
72832
+ mt.readToken_mult_modulo_exp = function(t) {
72830
72833
  var e = this.input.charCodeAt(this.pos + 1), i = 1, n = t === 42 ? G.star : G.modulo;
72831
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);
72832
72835
  };
72833
- gt.readToken_pipe_amp = function(t) {
72836
+ mt.readToken_pipe_amp = function(t) {
72834
72837
  var e = this.input.charCodeAt(this.pos + 1);
72835
72838
  if (e === t) {
72836
72839
  if (this.options.ecmaVersion >= 12) {
@@ -72842,23 +72845,23 @@ gt.readToken_pipe_amp = function(t) {
72842
72845
  }
72843
72846
  return e === 61 ? this.finishOp(G.assign, 2) : this.finishOp(t === 124 ? G.bitwiseOR : G.bitwiseAND, 1);
72844
72847
  };
72845
- gt.readToken_caret = function() {
72848
+ mt.readToken_caret = function() {
72846
72849
  var t = this.input.charCodeAt(this.pos + 1);
72847
72850
  return t === 61 ? this.finishOp(G.assign, 2) : this.finishOp(G.bitwiseXOR, 1);
72848
72851
  };
72849
- gt.readToken_plus_min = function(t) {
72852
+ mt.readToken_plus_min = function(t) {
72850
72853
  var e = this.input.charCodeAt(this.pos + 1);
72851
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);
72852
72855
  };
72853
- gt.readToken_lt_gt = function(t) {
72856
+ mt.readToken_lt_gt = function(t) {
72854
72857
  var e = this.input.charCodeAt(this.pos + 1), i = 1;
72855
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));
72856
72859
  };
72857
- gt.readToken_eq_excl = function(t) {
72860
+ mt.readToken_eq_excl = function(t) {
72858
72861
  var e = this.input.charCodeAt(this.pos + 1);
72859
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);
72860
72863
  };
72861
- gt.readToken_question = function() {
72864
+ mt.readToken_question = function() {
72862
72865
  var t = this.options.ecmaVersion;
72863
72866
  if (t >= 11) {
72864
72867
  var e = this.input.charCodeAt(this.pos + 1);
@@ -72878,13 +72881,13 @@ gt.readToken_question = function() {
72878
72881
  }
72879
72882
  return this.finishOp(G.question, 1);
72880
72883
  };
72881
- gt.readToken_numberSign = function() {
72884
+ mt.readToken_numberSign = function() {
72882
72885
  var t = this.options.ecmaVersion, e = 35;
72883
72886
  if (t >= 13 && (++this.pos, e = this.fullCharCodeAtPos(), Wr(e, !0) || e === 92))
72884
72887
  return this.finishToken(G.privateId, this.readWord1());
72885
72888
  this.raise(this.pos, "Unexpected character '" + ws(e) + "'");
72886
72889
  };
72887
- gt.getTokenFromCode = function(t) {
72890
+ mt.getTokenFromCode = function(t) {
72888
72891
  switch (t) {
72889
72892
  // The interpretation of a dot depends on whether it is followed
72890
72893
  // by a digit or another two dots.
@@ -72971,11 +72974,11 @@ gt.getTokenFromCode = function(t) {
72971
72974
  }
72972
72975
  this.raise(this.pos, "Unexpected character '" + ws(t) + "'");
72973
72976
  };
72974
- gt.finishOp = function(t, e) {
72977
+ mt.finishOp = function(t, e) {
72975
72978
  var i = this.input.slice(this.pos, this.pos + e);
72976
72979
  return this.pos += e, this.finishToken(t, i);
72977
72980
  };
72978
- gt.readRegexp = function() {
72981
+ mt.readRegexp = function() {
72979
72982
  for (var t, e, i = this.pos; ; ) {
72980
72983
  this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
72981
72984
  var n = this.input.charAt(this.pos);
@@ -73005,7 +73008,7 @@ gt.readRegexp = function() {
73005
73008
  }
73006
73009
  return this.finishToken(G.regexp, { pattern: r, flags: o, value: l });
73007
73010
  };
73008
- gt.readInt = function(t, e, i) {
73011
+ mt.readInt = function(t, e, i) {
73009
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) {
73010
73013
  var h = this.input.charCodeAt(this.pos), m = void 0;
73011
73014
  if (n && h === 95) {
@@ -73024,13 +73027,13 @@ function Mxe(t, e) {
73024
73027
  function rU(t) {
73025
73028
  return typeof BigInt != "function" ? null : BigInt(t.replace(/_/g, ""));
73026
73029
  }
73027
- gt.readRadixNumber = function(t) {
73030
+ mt.readRadixNumber = function(t) {
73028
73031
  var e = this.pos;
73029
73032
  this.pos += 2;
73030
73033
  var i = this.readInt(t);
73031
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);
73032
73035
  };
73033
- gt.readNumber = function(t) {
73036
+ mt.readNumber = function(t) {
73034
73037
  var e = this.pos;
73035
73038
  !t && this.readInt(10, void 0, !0) === null && this.raise(e, "Invalid number");
73036
73039
  var i = this.pos - e >= 2 && this.input.charCodeAt(e) === 48;
@@ -73044,7 +73047,7 @@ gt.readNumber = function(t) {
73044
73047
  var s = Mxe(this.input.slice(e, this.pos), i);
73045
73048
  return this.finishToken(G.num, s);
73046
73049
  };
73047
- gt.readCodePoint = function() {
73050
+ mt.readCodePoint = function() {
73048
73051
  var t = this.input.charCodeAt(this.pos), e;
73049
73052
  if (t === 123) {
73050
73053
  this.options.ecmaVersion < 6 && this.unexpected();
@@ -73054,7 +73057,7 @@ gt.readCodePoint = function() {
73054
73057
  e = this.readHexChar(4);
73055
73058
  return e;
73056
73059
  };
73057
- gt.readString = function(t) {
73060
+ mt.readString = function(t) {
73058
73061
  for (var e = "", i = ++this.pos; ; ) {
73059
73062
  this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant");
73060
73063
  var n = this.input.charCodeAt(this.pos);
@@ -73065,7 +73068,7 @@ gt.readString = function(t) {
73065
73068
  return e += this.input.slice(i, this.pos++), this.finishToken(G.string, e);
73066
73069
  };
73067
73070
  var sU = {};
73068
- gt.tryReadTemplateToken = function() {
73071
+ mt.tryReadTemplateToken = function() {
73069
73072
  this.inTemplateElement = !0;
73070
73073
  try {
73071
73074
  this.readTmplToken();
@@ -73077,12 +73080,12 @@ gt.tryReadTemplateToken = function() {
73077
73080
  }
73078
73081
  this.inTemplateElement = !1;
73079
73082
  };
73080
- gt.invalidStringToken = function(t, e) {
73083
+ mt.invalidStringToken = function(t, e) {
73081
73084
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
73082
73085
  throw sU;
73083
73086
  this.raise(t, e);
73084
73087
  };
73085
- gt.readTmplToken = function() {
73088
+ mt.readTmplToken = function() {
73086
73089
  for (var t = "", e = this.pos; ; ) {
73087
73090
  this.pos >= this.input.length && this.raise(this.start, "Unterminated template");
73088
73091
  var i = this.input.charCodeAt(this.pos);
@@ -73107,7 +73110,7 @@ gt.readTmplToken = function() {
73107
73110
  ++this.pos;
73108
73111
  }
73109
73112
  };
73110
- gt.readInvalidTemplateToken = function() {
73113
+ mt.readInvalidTemplateToken = function() {
73111
73114
  for (; this.pos < this.input.length; this.pos++)
73112
73115
  switch (this.input[this.pos]) {
73113
73116
  case "\\":
@@ -73132,7 +73135,7 @@ gt.readInvalidTemplateToken = function() {
73132
73135
  }
73133
73136
  this.raise(this.start, "Unterminated template");
73134
73137
  };
73135
- gt.readEscapedChar = function(t) {
73138
+ mt.readEscapedChar = function(t) {
73136
73139
  var e = this.input.charCodeAt(++this.pos);
73137
73140
  switch (++this.pos, e) {
73138
73141
  case 110:
@@ -73188,11 +73191,11 @@ gt.readEscapedChar = function(t) {
73188
73191
  return Ic(e) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(e);
73189
73192
  }
73190
73193
  };
73191
- gt.readHexChar = function(t) {
73194
+ mt.readHexChar = function(t) {
73192
73195
  var e = this.pos, i = this.readInt(16, t);
73193
73196
  return i === null && this.invalidStringToken(e, "Bad character escape sequence"), i;
73194
73197
  };
73195
- gt.readWord1 = function() {
73198
+ mt.readWord1 = function() {
73196
73199
  this.containsEsc = !1;
73197
73200
  for (var t = "", e = !0, i = this.pos, n = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
73198
73201
  var r = this.fullCharCodeAtPos();
@@ -73210,7 +73213,7 @@ gt.readWord1 = function() {
73210
73213
  }
73211
73214
  return t + this.input.slice(i, this.pos);
73212
73215
  };
73213
- gt.readWord = function() {
73216
+ mt.readWord = function() {
73214
73217
  var t = this.readWord1(), e = G.name;
73215
73218
  return this.keywords.test(t) && (e = J_[t]), this.finishToken(e, t);
73216
73219
  };
@@ -73223,7 +73226,7 @@ pi.acorn = {
73223
73226
  SourceLocation: V0,
73224
73227
  getLineInfo: I6,
73225
73228
  Node: j0,
73226
- TokenType: xt,
73229
+ TokenType: wt,
73227
73230
  tokTypes: G,
73228
73231
  keywordTypes: J_,
73229
73232
  TokContext: yr,
@@ -79042,30 +79045,30 @@ const Ux = `
79042
79045
  .omni-legend-field { font-size: 10px; color: var(--om-widget-muted, #6b7280); margin-bottom: 2px; }
79043
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; }
79044
79047
  `;
79045
- function kEe(t) {
79048
+ function kEe(t, e) {
79046
79049
  return `
79047
- <div class="omni-legend-sub">
79048
- <div class="omni-legend-entry"><span class="omni-swatch omni-swatch-cluster" style="background:${Ct(t)}">n</span><span>n points, clustered — click to expand</span></div>
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>
79049
79052
  </div>`;
79050
79053
  }
79051
- function OEe(t) {
79054
+ function OEe(t, e) {
79052
79055
  if (t.kind === "ramp") {
79053
- const n = `linear-gradient(to right, ${t.colors.map(Ct).join(", ")})`;
79056
+ const r = `linear-gradient(to right, ${t.colors.map(gt).join(", ")})`;
79054
79057
  return `
79055
- <div class="omni-legend-sub">
79056
- <div class="omni-legend-field">${Ct(t.field)}</div>
79057
- <div class="omni-legend-ramp" style="background:${n}"></div>
79058
- <div class="omni-legend-ramp-labels"><span>${Ct(t.domain[0].toLocaleString("en-US"))}</span><span>${Ct(t.domain[1].toLocaleString("en-US"))}</span></div>
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>
79059
79062
  </div>`;
79060
79063
  }
79061
- const e = t.entries.map(
79062
- (n) => `
79063
- <div class="omni-legend-entry"><span class="omni-swatch" style="background:${Ct(n.color)}"></span><span>${Ct(n.label)}</span></div>`
79064
- ).join(""), i = t.kind === "categories" && t.defaultColor ? `
79065
- <div class="omni-legend-entry"><span class="omni-swatch" style="background:${Ct(t.defaultColor)}"></span><span>other</span></div>` : "";
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>` : "";
79066
79069
  return `
79067
- <div class="omni-legend-sub">
79068
- <div class="omni-legend-field">${Ct(t.field)}</div>${e}${i}
79070
+ <div class="omni-legend-sub" data-layer="${gt(e)}">
79071
+ <div class="omni-legend-field">${gt(t.field)}</div>${i}${n}
79069
79072
  </div>`;
79070
79073
  }
79071
79074
  Yt("legend", {
@@ -79075,14 +79078,14 @@ Yt("legend", {
79075
79078
  const i = e.getAttribute("title") ?? "Legend", n = e.hasAttribute("interactive");
79076
79079
  let r = e.$(".omni-panel");
79077
79080
  r || (r = document.createElement("div"), r.className = "omni-panel", e.root.appendChild(r)), r.innerHTML = `
79078
- <h4>${Ct(i)}</h4>
79081
+ <h4>${gt(i)}</h4>
79079
79082
  ${t.layers.map((s) => {
79080
79083
  const o = s.color ?? (s.legend?.kind === "ramp" ? s.legend.colors[0] : s.legend?.entries[0]?.color) ?? "#999";
79081
79084
  return `
79082
- <div class="omni-row">
79083
- <span class="omni-swatch" style="background:${Ct(o)}"></span>
79084
- ${n ? `<label><input type="checkbox" ${s.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${Ct(s.id)}"> ${Ct(s.label ?? s.id)}</label>` : `<span>${Ct(s.label ?? s.id)}</span>`}
79085
- </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) : ""}`;
79086
79089
  }).join("")}
79087
79090
  `;
79088
79091
  }
@@ -79094,8 +79097,8 @@ Yt("layer-switcher", {
79094
79097
  let i = e.$(".omni-panel");
79095
79098
  i || (i = document.createElement("div"), i.className = "omni-panel", e.root.appendChild(i)), i.innerHTML = t.layers.map(
79096
79099
  (n) => `
79097
- <div class="omni-row">
79098
- <label><input type="checkbox" ${n.visible ? "checked" : ""} data-emit="toggle-layer" data-layer="${Ct(n.id)}"> ${Ct(n.label ?? n.id)}</label>
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>
79099
79102
  </div>`
79100
79103
  ).join("");
79101
79104
  }
@@ -79175,12 +79178,12 @@ Yt("basemap-switcher", {
79175
79178
  ), r = e.closest("om-map")?.getAttribute("basemap") ?? "maplibre", s = e.getAttribute("title") ?? "Basemap";
79176
79179
  let o = e.$(".omni-panel");
79177
79180
  o || (o = document.createElement("div"), o.className = "omni-panel", e.root.appendChild(o)), o.innerHTML = `
79178
- <h4>${Ct(s)}</h4>
79181
+ <h4>${gt(s)}</h4>
79179
79182
  ${n.map((a) => {
79180
79183
  const l = ob().get(a)?.label ?? a;
79181
79184
  return `
79182
79185
  <div class="omni-row">
79183
- <label><input type="radio" name="omni-basemap" ${a === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${Ct(a)}"> ${Ct(l)}</label>
79186
+ <label><input type="radio" name="omni-basemap" ${a === r ? "checked" : ""} data-emit="set-basemap" data-basemap="${gt(a)}"> ${gt(l)}</label>
79184
79187
  </div>`;
79185
79188
  }).join("")}
79186
79189
  `;
@@ -79435,9 +79438,9 @@ Yt("player", {
79435
79438
  }
79436
79439
  const o = r.getAttribute("id") ?? "";
79437
79440
  s.innerHTML = `
79438
- <button type="button" class="pp" data-emit="story-play" data-story="${Ct(o)}" aria-label="Play">▶</button>
79441
+ <button type="button" class="pp" data-emit="story-play" data-story="${gt(o)}" aria-label="Play">▶</button>
79439
79442
  <input type="range" class="seek" min="0" max="0" step="1" value="0"
79440
- data-emit="story-seek" data-story="${Ct(o)}" aria-label="Seek">
79443
+ data-emit="story-seek" data-story="${gt(o)}" aria-label="Seek">
79441
79444
  <span class="time">0:00 / 0:00</span>
79442
79445
  `, e.root.appendChild(s);
79443
79446
  const a = s.querySelector(".pp"), l = s.querySelector(".seek"), u = s.querySelector(".time");
@@ -79532,13 +79535,13 @@ function oP(t) {
79532
79535
  return t.toFixed(2).replace(/\.?0+$/, "");
79533
79536
  }
79534
79537
  function ZEe(t) {
79535
- if (!t) return Ct("Pick a mode, then click the map.");
79536
- if (t.poleWarning) return Ct("Footprint unavailable (ring encloses a pole).");
79538
+ if (!t) return gt("Pick a mode, then click the map.");
79539
+ if (t.poleWarning) return gt("Footprint unavailable (ring encloses a pole).");
79537
79540
  if (t.segments < 3 || t.areaMeters2 == null)
79538
- return Ct("Click the map to outline the footprint, double-click to close.");
79541
+ return gt("Click the map to outline the footprint, double-click to close.");
79539
79542
  if (t.cutMeters3 == null) {
79540
79543
  const h = `Area: ${MA(t.areaMeters2, t.units)} · Perimeter: ${Bn(t.perimeterMeters, t.units)}`;
79541
- return Ct(t.footprintClosed ? `${h} — sampling elevation…` : h);
79544
+ return gt(t.footprintClosed ? `${h} — sampling elevation…` : h);
79542
79545
  }
79543
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 = [
79544
79547
  ["Cut (removed)", $s(t.cutMeters3 ?? 0, t.units) + n],
@@ -79549,9 +79552,9 @@ function ZEe(t) {
79549
79552
  ["Perimeter", Bn(t.perimeterMeters, t.units)]
79550
79553
  ];
79551
79554
  t.baseSurface && s.push(["Base surface", t.baseSurface]), t.cellSizeM != null && s.push(["Cell size", Bn(t.cellSizeM, t.units)]);
79552
- 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>${Ct(h)}</span><b>${Ct(m)}</b></div>`).join("") + o, l = [];
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 = [];
79553
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)]);
79554
- const u = l.length ? `<div class="vol-material-label">Material</div>${l.map(([h, m]) => `<div class="vol-row"><span>${Ct(h)}</span><b>${Ct(m)}</b></div>`).join("")}` : "";
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("")}` : "";
79555
79558
  return e + a + u + (t.stale ? '<div class="vol-stale">Updating…</div>' : "");
79556
79559
  }
79557
79560
  Yt("measure", {
@@ -79694,7 +79697,7 @@ Yt("effects", {
79694
79697
  const i = e.closest("om-map"), n = e.getAttribute("title") ?? "Finish";
79695
79698
  let r = e.$(".omni-effects");
79696
79699
  r || (r = document.createElement("div"), r.className = "omni-effects", r.innerHTML = `
79697
- <h4>${Ct(n)}</h4>
79700
+ <h4>${gt(n)}</h4>
79698
79701
  <div class="omni-effects-presets">
79699
79702
  ${["none", ...Kb].map(
79700
79703
  (a) => `
@@ -79717,7 +79720,7 @@ Yt("lighting", {
79717
79720
  const i = e.closest("om-map"), n = e.getAttribute("title") ?? "Lighting";
79718
79721
  let r = e.$(".omni-lighting");
79719
79722
  r || (r = document.createElement("div"), r.className = "omni-lighting", r.innerHTML = `
79720
- <h4>${Ct(n)}</h4>
79723
+ <h4>${gt(n)}</h4>
79721
79724
  <div class="omni-lighting-presets">
79722
79725
  ${["default", ...k2].map(
79723
79726
  (u) => `
@@ -79796,7 +79799,7 @@ Yt("clip-box", {
79796
79799
  r = document.createElement("div"), r.className = "omni-clip-box";
79797
79800
  const u = (m, v) => `<input type="number" step="any" data-field="${m}" aria-label="${v}">`;
79798
79801
  r.innerHTML = `
79799
- <h4>${Ct(n)}</h4>
79802
+ <h4>${gt(n)}</h4>
79800
79803
  <div class="omni-clip-box-grid">
79801
79804
  <span></span><span>Lng</span><span>Lat</span><span>Elev (m)</span>
79802
79805
  <span>Min</span>${u("minLng", "Min longitude")}${u("minLat", "Min latitude")}${u("minElev", "Min elevation")}
@@ -83311,7 +83314,7 @@ class d5 {
83311
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).`
83312
83315
  );
83313
83316
  else {
83314
- this.mode = "basemap", this.basemapAttr = e, import("./basemap-CnjAGLZo.js").then(({ MapLibreBasemapAdapter: s }) => {
83317
+ this.mode = "basemap", this.basemapAttr = e, import("./basemap-BrQCDtfj.js").then(({ MapLibreBasemapAdapter: s }) => {
83315
83318
  this.destroyed || i !== this.rendererGeneration || (this.basemap = new s(
83316
83319
  this.parent,
83317
83320
  // this.basemapAttr, not the captured param: a style switch that
@@ -83623,7 +83626,7 @@ class d5 {
83623
83626
  this.postProcess = null, this.applyEffects();
83624
83627
  return;
83625
83628
  }
83626
- import("./index-k7l7kqTk.js").then(({ buildPostProcessEffects: i }) => {
83629
+ import("./index-riq9qTYh.js").then(({ buildPostProcessEffects: i }) => {
83627
83630
  this.destroyed || this.effectsIR !== e || (this.postProcess = i(e, this.pixelsPerMm()), this.applyEffects());
83628
83631
  });
83629
83632
  }
@@ -84063,7 +84066,7 @@ class d5 {
84063
84066
  * than the export failing.
84064
84067
  */
84065
84068
  async captureBand(e, i) {
84066
- const { bandScaleFor: n } = await import("./index-aOe9cOFs.js"), r = n(i);
84069
+ const { bandScaleFor: n } = await import("./index-Clg4OPrB.js"), r = n(i);
84067
84070
  return this.withCapturePixelRatio(r, async () => {
84068
84071
  this.bandIsolation = e ? new Set(e) : null;
84069
84072
  try {
@@ -84085,7 +84088,7 @@ class d5 {
84085
84088
  async resolvedPostProcessPass() {
84086
84089
  const e = this.buildEffects();
84087
84090
  if (e.length === 0) return { present: !1 };
84088
- const { PostProcessEffect: i } = await import("./index-DoNtp5Nh.js");
84091
+ const { PostProcessEffect: i } = await import("./index-CtsYIqaJ.js");
84089
84092
  for (const n of e)
84090
84093
  if (n instanceof i) {
84091
84094
  const r = n;
@@ -84548,7 +84551,7 @@ class d5 {
84548
84551
  const { width: n, height: r } = i, s = (v) => {
84549
84552
  const _ = i.project([v[0], v[1]]);
84550
84553
  return [_[0], _[1]];
84551
- }, 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-aOe9cOFs.js"), m = await h(this.lastIRs, {
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, {
84552
84555
  width: n,
84553
84556
  height: r,
84554
84557
  project: s,
@@ -85290,7 +85293,7 @@ function _5(t, e, i, n, r, s) {
85290
85293
  if (u) return u;
85291
85294
  const h = `${r}|${l}#${o.length}`;
85292
85295
  if (!eb.has(h)) {
85293
- const m = import("./index-BTsRqhXB.js").then(async ({ runTransforms: v }) => {
85296
+ const m = import("./index-wHUqi1zW.js").then(async ({ runTransforms: v }) => {
85294
85297
  JP(a, l, await v(o, e, i, n, r));
85295
85298
  }).catch((v) => {
85296
85299
  console.error(`[onlymapjs] ${r} failed to load the geometry transforms:`, v), JP(a, l, t);
@@ -85524,7 +85527,7 @@ function T5({ layerIRs: t, core: e, mapEl: i, selection: n, history: r, featureT
85524
85527
  }
85525
85528
  };
85526
85529
  }
85527
- const E5 = "0.11.5", JIe = "https://om-api.nika.eco/v1/t", co = { endpoint: JIe };
85530
+ const E5 = "0.11.7", JIe = "https://om-api.nika.eco/v1/t", co = { endpoint: JIe };
85528
85531
  function KIe(t) {
85529
85532
  for (const e of Object.keys(t))
85530
85533
  co[e] = t[e];
@@ -87838,6 +87841,10 @@ class uPe extends Eo {
87838
87841
  overlayFlushPending = !1;
87839
87842
  errorPanel = null;
87840
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;
87841
87848
  /** Dedup guard for the approximate-BIM-georeferencing warning — same shape as applyLicenseGates' own `warned` set, keyed per layer id. */
87842
87849
  warnedApproximatePlacement = /* @__PURE__ */ new Set();
87843
87850
  /** Dedup guard for the no-terrain-for-elevation error — same shape as `warnedApproximatePlacement`. */
@@ -88908,7 +88915,7 @@ class uPe extends Eo {
88908
88915
  this.core?.setEffects([]);
88909
88916
  return;
88910
88917
  }
88911
- import("./index-k7l7kqTk.js").then(({ parseEffectEls: i }) => {
88918
+ import("./index-riq9qTYh.js").then(({ parseEffectEls: i }) => {
88912
88919
  !this.core || !this.isConnected || this.core.setEffects(i(this));
88913
88920
  });
88914
88921
  }
@@ -88961,18 +88968,38 @@ class uPe extends Eo {
88961
88968
  reportRuntimeErrorInternal(e) {
88962
88969
  this.runtimeErrors.push(e), this.runtimeErrors.length > sPe && this.runtimeErrors.shift(), this.publishValidation();
88963
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
+ }
88964
88993
  publishValidation() {
88965
88994
  const e = this.getAttribute("validate");
88966
- if (e === null) {
88967
- this.errorPanel?.destroy(), this.errorPanel = null;
88995
+ if (e === null && (this.errorPanel?.destroy(), this.errorPanel = null, !this.diagnosticsOn))
88968
88996
  return;
88969
- }
88970
88997
  const i = G5(this), n = this.runtimeErrors.filter((o) => o.severity === "error"), r = this.runtimeErrors.filter((o) => o.severity === "warning"), s = {
88971
88998
  valid: i.valid && n.length === 0,
88972
88999
  errors: [...i.errors, ...n],
88973
89000
  warnings: [...i.warnings, ...r]
88974
89001
  };
88975
- 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") {
88976
89003
  this.errorPanel?.destroy(), this.errorPanel = null;
88977
89004
  return;
88978
89005
  }
@@ -89111,7 +89138,7 @@ function vPe(t) {
89111
89138
  function Ld(t, e) {
89112
89139
  return t.replace(yPe, (i, n, r, s) => {
89113
89140
  const o = n !== void 0, a = n ?? r, l = e[a], u = l == null ? "" : String(l);
89114
- 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:).`), "") : Ct(u);
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);
89115
89142
  });
89116
89143
  }
89117
89144
  const dB = {
@@ -89174,6 +89201,16 @@ class _Pe extends Eo {
89174
89201
  disconnectedCallback() {
89175
89202
  this.mapEl?.unregisterOverlayInternal(this), this.mapEl = null;
89176
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
+ }
89177
89214
  /**
89178
89215
  * Replaces the overlay's content template (used by the internal, runtime-
89179
89216
  * managed tooltip overlay the `show-tooltip` action drives — see
@@ -90765,7 +90802,7 @@ async function DBe(t) {
90765
90802
  e(t);
90766
90803
  }
90767
90804
  async function qPe() {
90768
- return import("./raster-iGwPuAgo.js").then((t) => t.r);
90805
+ return import("./raster-Dx2oylKT.js").then((t) => t.r);
90769
90806
  }
90770
90807
  const UBe = {
90771
90808
  registerLayer: un,