@opengis/gis 0.1.4 → 0.1.5

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.
@@ -19,8 +19,8 @@ function jv() {
19
19
  var y = {}, x = {};
20
20
  function A(v, s, D) {
21
21
  if (x[v] = D, v === "index") {
22
- var L = "var sharedModule = {}; (" + x.shared + ")(sharedModule); (" + x.worker + ")(sharedModule);", I = {};
23
- return x.shared(I), x.index(y, I), typeof window < "u" && y.setWorkerUrl(window.URL.createObjectURL(new Blob([L], { type: "text/javascript" }))), y;
22
+ var R = "var sharedModule = {}; (" + x.shared + ")(sharedModule); (" + x.worker + ")(sharedModule);", I = {};
23
+ return x.shared(I), x.index(y, I), typeof window < "u" && y.setWorkerUrl(window.URL.createObjectURL(new Blob([R], { type: "text/javascript" }))), y;
24
24
  }
25
25
  }
26
26
  A("shared", ["exports"], function(v) {
@@ -29,21 +29,21 @@ function jv() {
29
29
  function m(C) {
30
30
  try {
31
31
  w(o.next(C));
32
- } catch (R) {
33
- f(R);
32
+ } catch (L) {
33
+ f(L);
34
34
  }
35
35
  }
36
36
  function _(C) {
37
37
  try {
38
38
  w(o.throw(C));
39
- } catch (R) {
40
- f(R);
39
+ } catch (L) {
40
+ f(L);
41
41
  }
42
42
  }
43
43
  function w(C) {
44
- var R;
45
- C.done ? c(C.value) : (R = C.value, R instanceof i ? R : new i(function(B) {
46
- B(R);
44
+ var L;
45
+ C.done ? c(C.value) : (L = C.value, L instanceof i ? L : new i(function(B) {
46
+ B(L);
47
47
  })).then(m, _);
48
48
  }
49
49
  w((o = o.apply(n, t || [])).next());
@@ -52,13 +52,13 @@ function jv() {
52
52
  function D(n) {
53
53
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
54
54
  }
55
- var L, I;
55
+ var R, I;
56
56
  function N() {
57
- if (I) return L;
57
+ if (I) return R;
58
58
  function n(t, i) {
59
59
  this.x = t, this.y = i;
60
60
  }
61
- return I = 1, L = n, n.prototype = { clone: function() {
61
+ return I = 1, R = n, n.prototype = { clone: function() {
62
62
  return new n(this.x, this.y);
63
63
  }, add: function(t) {
64
64
  return this.clone()._add(t);
@@ -131,7 +131,7 @@ function jv() {
131
131
  return this.x = Math.round(this.x), this.y = Math.round(this.y), this;
132
132
  } }, n.convert = function(t) {
133
133
  return t instanceof n ? t : Array.isArray(t) ? new n(t[0], t[1]) : t;
134
- }, L;
134
+ }, R;
135
135
  }
136
136
  typeof SuppressedError == "function" && SuppressedError;
137
137
  var M, k, T = D(N()), q = function() {
@@ -293,12 +293,12 @@ function jv() {
293
293
  const m = f == null ? void 0 : f.format;
294
294
  if (!m || !m.startsWith("BGR") && !m.startsWith("RGB")) throw new Error(`Unrecognized format ${m}`);
295
295
  const _ = m.startsWith("BGR"), w = new Uint8ClampedArray(o * c * 4);
296
- if (yield f.copyTo(w, function(C, R, B, V, j) {
297
- const H = 4 * Math.max(1, 0), J = (Math.max(0, B) - B) * V * 4 + H, te = 4 * V, ae = Math.max(0, R), Se = Math.max(0, B);
298
- return { rect: { x: ae, y: Se, width: Math.min(C.width, R + V) - ae, height: Math.min(C.height, B + j) - Se }, layout: [{ offset: J, stride: te }] };
296
+ if (yield f.copyTo(w, function(C, L, B, V, j) {
297
+ const H = 4 * Math.max(1, 0), J = (Math.max(0, B) - B) * V * 4 + H, te = 4 * V, ae = Math.max(0, L), Se = Math.max(0, B);
298
+ return { rect: { x: ae, y: Se, width: Math.min(C.width, L + V) - ae, height: Math.min(C.height, B + j) - Se }, layout: [{ offset: J, stride: te }] };
299
299
  }(n, t, i, o, c)), _) for (let C = 0; C < w.length; C += 4) {
300
- const R = w[C];
301
- w[C] = w[C + 2], w[C + 2] = R;
300
+ const L = w[C];
301
+ w[C] = w[C + 2], w[C + 2] = L;
302
302
  }
303
303
  return w;
304
304
  } finally {
@@ -375,8 +375,8 @@ function jv() {
375
375
  let C = w.response;
376
376
  if (o.type === "json") try {
377
377
  C = JSON.parse(w.response);
378
- } catch (R) {
379
- return void m(R);
378
+ } catch (L) {
379
+ return void m(L);
380
380
  }
381
381
  f({ data: C, cacheControl: w.getResponseHeader("Cache-Control"), expires: w.getResponseHeader("Expires") });
382
382
  } else {
@@ -635,7 +635,7 @@ function jv() {
635
635
  if (o.startsWith("rgb")) {
636
636
  const m = o.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);
637
637
  if (m) {
638
- const [_, w, C, R, B, V, j, H, J, te, ae, Se] = m, fe = [R || " ", j || " ", te].join("");
638
+ const [_, w, C, L, B, V, j, H, J, te, ae, Se] = m, fe = [L || " ", j || " ", te].join("");
639
639
  if (fe === " " || fe === " /" || fe === ",," || fe === ",,,") {
640
640
  const U = [C, V, J].join(""), Q = U === "%%%" ? 100 : U === "" ? 255 : 0;
641
641
  if (Q) {
@@ -648,7 +648,7 @@ function jv() {
648
648
  }
649
649
  const f = o.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);
650
650
  if (f) {
651
- const [m, _, w, C, R, B, V, j, H] = f, J = [w || " ", R || " ", V].join("");
651
+ const [m, _, w, C, L, B, V, j, H] = f, J = [w || " ", L || " ", V].join("");
652
652
  if (J === " " || J === " /" || J === ",," || J === ",,,") {
653
653
  const te = [+_, _i(+C, 0, 100), _i(+B, 0, 100), j ? wo(+j, H) : 1];
654
654
  if (sr(te)) return function([ae, Se, fe, U]) {
@@ -690,16 +690,16 @@ function jv() {
690
690
  return new qt(f, m, _, w, !1);
691
691
  }
692
692
  case "hcl": {
693
- const [f, m, _, w] = t.hcl, [C, R, B, V] = i.hcl;
693
+ const [f, m, _, w] = t.hcl, [C, L, B, V] = i.hcl;
694
694
  let j, H;
695
- if (isNaN(f) || isNaN(C)) isNaN(f) ? isNaN(C) ? j = NaN : (j = C, _ !== 1 && _ !== 0 || (H = R)) : (j = f, B !== 1 && B !== 0 || (H = m));
695
+ if (isNaN(f) || isNaN(C)) isNaN(f) ? isNaN(C) ? j = NaN : (j = C, _ !== 1 && _ !== 0 || (H = L)) : (j = f, B !== 1 && B !== 0 || (H = m));
696
696
  else {
697
697
  let fe = C - f;
698
698
  C > f && fe > 180 ? fe -= 360 : C < f && f - C > 180 && (fe += 360), j = f + o * fe;
699
699
  }
700
700
  const [J, te, ae, Se] = function([fe, U, Q, ge]) {
701
701
  return fe = isNaN(fe) ? 0 : fe * pa, fa([Q, Math.cos(fe) * U, Math.sin(fe) * U, ge]);
702
- }([j, H ?? vi(m, R, o), vi(_, B, o), vi(w, V, o)]);
702
+ }([j, H ?? vi(m, L, o), vi(_, B, o), vi(w, V, o)]);
703
703
  return new qt(J, te, ae, Se, !1);
704
704
  }
705
705
  case "lab": {
@@ -855,8 +855,8 @@ function jv() {
855
855
  for (let _ = 0; _ < c.length; _ += 2) {
856
856
  if (c[_] !== f[_]) throw new Oe(`Cannot interpolate values containing mismatched anchors. from[${_}]: ${c[_]}, to[${_}]: ${f[_]}`);
857
857
  m.push(c[_]);
858
- const [w, C] = c[_ + 1], [R, B] = f[_ + 1];
859
- m.push([vi(w, R, o), vi(C, B, o)]);
858
+ const [w, C] = c[_ + 1], [L, B] = f[_ + 1];
859
+ m.push([vi(w, L, o), vi(C, B, o)]);
860
860
  }
861
861
  return new Qe(m);
862
862
  }
@@ -1311,12 +1311,12 @@ function jv() {
1311
1311
  i.expectedType && i.expectedType.kind !== "value" && (c = i.expectedType);
1312
1312
  const f = {}, m = [];
1313
1313
  for (let C = 2; C < t.length - 1; C += 2) {
1314
- let R = t[C];
1314
+ let L = t[C];
1315
1315
  const B = t[C + 1];
1316
- Array.isArray(R) || (R = [R]);
1316
+ Array.isArray(L) || (L = [L]);
1317
1317
  const V = i.concat(C);
1318
- if (R.length === 0) return V.error("Expected at least one branch label.");
1319
- for (const H of R) {
1318
+ if (L.length === 0) return V.error("Expected at least one branch label.");
1319
+ for (const H of L) {
1320
1320
  if (typeof H != "number" && typeof H != "string") return V.error("Branch labels must be numbers or strings.");
1321
1321
  if (typeof H == "number" && Math.abs(H) > Number.MAX_SAFE_INTEGER) return V.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);
1322
1322
  if (typeof H == "number" && Math.floor(H) !== H) return V.error("Numeric branch labels must be integer values.");
@@ -1435,10 +1435,10 @@ function jv() {
1435
1435
  let f = null;
1436
1436
  i.expectedType && i.expectedType.kind !== "value" && (f = i.expectedType);
1437
1437
  for (let m = 1; m < t.length; m += 2) {
1438
- const _ = m === 1 ? -1 / 0 : t[m], w = t[m + 1], C = m, R = m + 1;
1438
+ const _ = m === 1 ? -1 / 0 : t[m], w = t[m + 1], C = m, L = m + 1;
1439
1439
  if (typeof _ != "number") return i.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.', C);
1440
1440
  if (c.length && c[c.length - 1][0] >= _) return i.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.', C);
1441
- const B = i.parse(w, R, f);
1441
+ const B = i.parse(w, L, f);
1442
1442
  if (!B) return null;
1443
1443
  f = f || B.type, c.push([_, B]);
1444
1444
  }
@@ -1518,7 +1518,7 @@ function jv() {
1518
1518
  if (c[0] !== "cubic-bezier") return i.error(`Unknown interpolation type ${String(c[0])}`, 1, 0);
1519
1519
  {
1520
1520
  const C = c.slice(1);
1521
- if (C.length !== 4 || C.some((R) => typeof R != "number" || R < 0 || R > 1)) return i.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.", 1);
1521
+ if (C.length !== 4 || C.some((L) => typeof L != "number" || L < 0 || L > 1)) return i.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.", 1);
1522
1522
  c = { name: "cubic-bezier", controlPoints: C };
1523
1523
  }
1524
1524
  }
@@ -1529,12 +1529,12 @@ function jv() {
1529
1529
  let w = null;
1530
1530
  o !== "interpolate-hcl" && o !== "interpolate-lab" || i.expectedType == Un ? i.expectedType && i.expectedType.kind !== "value" && (w = i.expectedType) : w = Or;
1531
1531
  for (let C = 0; C < m.length; C += 2) {
1532
- const R = m[C], B = m[C + 1], V = C + 3, j = C + 4;
1533
- if (typeof R != "number") return i.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.', V);
1534
- if (_.length && _[_.length - 1][0] >= R) return i.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.', V);
1532
+ const L = m[C], B = m[C + 1], V = C + 3, j = C + 4;
1533
+ if (typeof L != "number") return i.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.', V);
1534
+ if (_.length && _[_.length - 1][0] >= L) return i.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.', V);
1535
1535
  const H = i.parse(B, j, w);
1536
1536
  if (!H) return null;
1537
- w = w || H.type, _.push([R, H]);
1537
+ w = w || H.type, _.push([L, H]);
1538
1538
  }
1539
1539
  return Zi(w, Ye) || Zi(w, kr) || Zi(w, Or) || Zi(w, Mn) || Zi(w, Wi) || Zi(w, Un) || Zi(w, Nr) || Zi(w, Mi(Ye)) ? new Oi(w, o, c, f, _) : i.error(`Type ${Cr(w)} is not interpolatable.`);
1540
1540
  }
@@ -1649,12 +1649,12 @@ function jv() {
1649
1649
  if (!Co(_, C.type)) return m.concat(2).error(`"${_}" comparisons are not supported for type '${Cr(C.type)}'.`);
1650
1650
  if (w.type.kind !== C.type.kind && w.type.kind !== "value" && C.type.kind !== "value") return m.error(`Cannot compare types '${Cr(w.type)}' and '${Cr(C.type)}'.`);
1651
1651
  o && (w.type.kind === "value" && C.type.kind !== "value" ? w = new mt(C.type, [w]) : w.type.kind !== "value" && C.type.kind === "value" && (C = new mt(w.type, [C])));
1652
- let R = null;
1652
+ let L = null;
1653
1653
  if (f.length === 4) {
1654
1654
  if (w.type.kind !== "string" && C.type.kind !== "string" && w.type.kind !== "value" && C.type.kind !== "value") return m.error("Cannot use collator to compare non-string types.");
1655
- if (R = m.parse(f[3], 3, Xi), !R) return null;
1655
+ if (L = m.parse(f[3], 3, Xi), !L) return null;
1656
1656
  }
1657
- return new Jg(w, C, R);
1657
+ return new Jg(w, C, L);
1658
1658
  }
1659
1659
  evaluate(f) {
1660
1660
  const m = this.lhs.evaluate(f), _ = this.rhs.evaluate(f);
@@ -1771,15 +1771,15 @@ function jv() {
1771
1771
  if (_["font-scale"] && (w = i.parse(_["font-scale"], 1, Ye), !w)) return null;
1772
1772
  let C = null;
1773
1773
  if (_["text-font"] && (C = i.parse(_["text-font"], 1, Mi(zt)), !C)) return null;
1774
- let R = null;
1775
- if (_["text-color"] && (R = i.parse(_["text-color"], 1, Or), !R)) return null;
1774
+ let L = null;
1775
+ if (_["text-color"] && (L = i.parse(_["text-color"], 1, Or), !L)) return null;
1776
1776
  let B = null;
1777
1777
  if (_["vertical-align"]) {
1778
1778
  if (typeof _["vertical-align"] == "string" && !Qi.includes(_["vertical-align"])) return i.error(`'vertical-align' must be one of: 'bottom', 'center', 'top' but found '${_["vertical-align"]}' instead.`);
1779
1779
  if (B = i.parse(_["vertical-align"], 1, zt), !B) return null;
1780
1780
  }
1781
1781
  const V = c[c.length - 1];
1782
- V.scale = w, V.font = C, V.textColor = R, V.verticalAlign = B;
1782
+ V.scale = w, V.font = C, V.textColor = L, V.verticalAlign = B;
1783
1783
  } else {
1784
1784
  const w = i.parse(t[m], 1, Xt);
1785
1785
  if (!w) return null;
@@ -1939,8 +1939,8 @@ function jv() {
1939
1939
  const c = Math.pow(2, o.z) * Dn, f = [o.x * Dn, o.y * Dn], m = [];
1940
1940
  for (const w of n) {
1941
1941
  const C = [];
1942
- for (const R of w) {
1943
- const B = [R.x + f[0], R.y + f[1]];
1942
+ for (const L of w) {
1943
+ const B = [L.x + f[0], L.y + f[1]];
1944
1944
  Po(t, B), C.push(B);
1945
1945
  }
1946
1946
  m.push(C);
@@ -2051,7 +2051,7 @@ function jv() {
2051
2051
  function Jc(n, t, i = 0, o = n.length - 1, c = Xc) {
2052
2052
  for (; o > i; ) {
2053
2053
  if (o - i > 600) {
2054
- const w = o - i + 1, C = t - i + 1, R = Math.log(w), B = 0.5 * Math.exp(2 * R / 3), V = 0.5 * Math.sqrt(R * B * (w - B) / w) * (C - w / 2 < 0 ? -1 : 1);
2054
+ const w = o - i + 1, C = t - i + 1, L = Math.log(w), B = 0.5 * Math.exp(2 * L / 3), V = 0.5 * Math.sqrt(L * B * (w - B) / w) * (C - w / 2 < 0 ? -1 : 1);
2055
2055
  Jc(n, t, Math.max(i, Math.floor(t - C * B / w + V)), Math.min(o, Math.floor(t + (w - C) * B / w + V)), c);
2056
2056
  }
2057
2057
  const f = n[t];
@@ -2102,10 +2102,10 @@ function jv() {
2102
2102
  pointOnLine(t, i) {
2103
2103
  let o, c, f, m, _ = 1 / 0;
2104
2104
  for (let w = 0; w < t.length - 1; w++) {
2105
- let C = t[w][0], R = t[w][1], B = this.wrap(t[w + 1][0] - C) * this.kx, V = (t[w + 1][1] - R) * this.ky, j = 0;
2106
- B === 0 && V === 0 || (j = (this.wrap(i[0] - C) * this.kx * B + (i[1] - R) * this.ky * V) / (B * B + V * V), j > 1 ? (C = t[w + 1][0], R = t[w + 1][1]) : j > 0 && (C += B / this.kx * j, R += V / this.ky * j)), B = this.wrap(i[0] - C) * this.kx, V = (i[1] - R) * this.ky;
2105
+ let C = t[w][0], L = t[w][1], B = this.wrap(t[w + 1][0] - C) * this.kx, V = (t[w + 1][1] - L) * this.ky, j = 0;
2106
+ B === 0 && V === 0 || (j = (this.wrap(i[0] - C) * this.kx * B + (i[1] - L) * this.ky * V) / (B * B + V * V), j > 1 ? (C = t[w + 1][0], L = t[w + 1][1]) : j > 0 && (C += B / this.kx * j, L += V / this.ky * j)), B = this.wrap(i[0] - C) * this.kx, V = (i[1] - L) * this.ky;
2107
2107
  const H = B * B + V * V;
2108
- H < _ && (_ = H, o = C, c = R, f = w, m = j);
2108
+ H < _ && (_ = H, o = C, c = L, f = w, m = j);
2109
2109
  }
2110
2110
  return { point: [o, c], index: f, t: Math.max(0, Math.min(1, m)) };
2111
2111
  }
@@ -2169,9 +2169,9 @@ function jv() {
2169
2169
  for (let m = t[0]; m < t[1]; ++m) {
2170
2170
  const _ = n[m], w = n[m + 1];
2171
2171
  for (let C = o[0]; C < o[1]; ++C) {
2172
- const R = i[C], B = i[C + 1];
2173
- if (Sa(_, w, R, B)) return 0;
2174
- f = Math.min(f, Ml(_, w, R, B, c));
2172
+ const L = i[C], B = i[C + 1];
2173
+ if (Sa(_, w, L, B)) return 0;
2174
+ f = Math.min(f, Ml(_, w, L, B, c));
2175
2175
  }
2176
2176
  }
2177
2177
  return f;
@@ -2199,7 +2199,7 @@ function jv() {
2199
2199
  let c = 1 / 0;
2200
2200
  for (let f = t[0]; f < t[1]; ++f) {
2201
2201
  const m = n[f], _ = n[f + 1];
2202
- for (const w of i) for (let C = 0, R = w.length, B = R - 1; C < R; B = C++) {
2202
+ for (const w of i) for (let C = 0, L = w.length, B = L - 1; C < L; B = C++) {
2203
2203
  const V = w[B], j = w[C];
2204
2204
  if (Sa(m, _, V, j)) return 0;
2205
2205
  c = Math.min(c, Ml(m, _, V, j, o));
@@ -2218,8 +2218,8 @@ function jv() {
2218
2218
  if (tu(n, t)) return 0;
2219
2219
  } else if (tu(t, n)) return 0;
2220
2220
  let m = 1 / 0;
2221
- for (const _ of n) for (let w = 0, C = _.length, R = C - 1; w < C; R = w++) {
2222
- const B = _[R], V = _[w];
2221
+ for (const _ of n) for (let w = 0, C = _.length, L = C - 1; w < C; L = w++) {
2222
+ const B = _[L], V = _[w];
2223
2223
  for (const j of t) for (let H = 0, J = j.length, te = J - 1; H < J; te = H++) {
2224
2224
  const ae = j[te], Se = j[H];
2225
2225
  if (Sa(B, V, ae, Se)) return 0;
@@ -2245,8 +2245,8 @@ function jv() {
2245
2245
  for (; m.length > 0; ) {
2246
2246
  const w = m.pop();
2247
2247
  if (w[0] >= f) continue;
2248
- const C = w[1], R = t ? 50 : 100;
2249
- if (hr(C) <= R) {
2248
+ const C = w[1], L = t ? 50 : 100;
2249
+ if (hr(C) <= L) {
2250
2250
  if (!Jn(C, n.length)) return NaN;
2251
2251
  if (t) {
2252
2252
  const B = $h(n, C, i, o);
@@ -2270,20 +2270,20 @@ function jv() {
2270
2270
  for (; _.length > 0; ) {
2271
2271
  const w = _.pop();
2272
2272
  if (w[0] >= m) continue;
2273
- const C = w[1], R = w[2], B = t ? 50 : 100, V = o ? 50 : 100;
2274
- if (hr(C) <= B && hr(R) <= V) {
2275
- if (!Jn(C, n.length) && Jn(R, i.length)) return NaN;
2273
+ const C = w[1], L = w[2], B = t ? 50 : 100, V = o ? 50 : 100;
2274
+ if (hr(C) <= B && hr(L) <= V) {
2275
+ if (!Jn(C, n.length) && Jn(L, i.length)) return NaN;
2276
2276
  let j;
2277
- if (t && o) j = Xh(n, C, i, R, c), m = Math.min(m, j);
2277
+ if (t && o) j = Xh(n, C, i, L, c), m = Math.min(m, j);
2278
2278
  else if (t && !o) {
2279
2279
  const H = n.slice(C[0], C[1] + 1);
2280
- for (let J = R[0]; J <= R[1]; ++J) if (j = Ls(i[J], H, c), m = Math.min(m, j), m === 0) return m;
2280
+ for (let J = L[0]; J <= L[1]; ++J) if (j = Ls(i[J], H, c), m = Math.min(m, j), m === 0) return m;
2281
2281
  } else if (!t && o) {
2282
- const H = i.slice(R[0], R[1] + 1);
2282
+ const H = i.slice(L[0], L[1] + 1);
2283
2283
  for (let J = C[0]; J <= C[1]; ++J) if (j = Ls(n[J], H, c), m = Math.min(m, j), m === 0) return m;
2284
- } else j = Qh(n, C, i, R, c), m = Math.min(m, j);
2284
+ } else j = Qh(n, C, i, L, c), m = Math.min(m, j);
2285
2285
  } else {
2286
- const j = Cl(C, t), H = Cl(R, o);
2286
+ const j = Cl(C, t), H = Cl(L, o);
2287
2287
  ka(_, m, c, n, i, j[0], H[0]), ka(_, m, c, n, i, j[0], H[1]), ka(_, m, c, n, i, j[1], H[0]), ka(_, m, c, n, i, j[1], H[1]);
2288
2288
  }
2289
2289
  }
@@ -2351,7 +2351,7 @@ function jv() {
2351
2351
  if (t.geometryType() === "Polygon") return function(i, o) {
2352
2352
  const c = i.geometry();
2353
2353
  if (c.length === 0 || c[0].length === 0) return NaN;
2354
- const f = Aa(c, 0).map((w) => w.map((C) => C.map((R) => Sl([R.x, R.y], i.canonical)))), m = new Tl(f[0][0][0][1]);
2354
+ const f = Aa(c, 0).map((w) => w.map((C) => C.map((L) => Sl([L.x, L.y], i.canonical)))), m = new Tl(f[0][0][0][1]);
2355
2355
  let _ = 1 / 0;
2356
2356
  for (const w of o) for (const C of f) {
2357
2357
  switch (w.type) {
@@ -2416,7 +2416,7 @@ function jv() {
2416
2416
  if (!c) return i.error(`Unknown expression "${o}". If you wanted a literal array, use ["literal", [...]].`, 0);
2417
2417
  const f = Array.isArray(c) ? c[0] : c.type, m = Array.isArray(c) ? [[c[1], c[2]]] : c.overloads, _ = m.filter(([C]) => !Array.isArray(C) || C.length === t.length - 1);
2418
2418
  let w = null;
2419
- for (const [C, R] of _) {
2419
+ for (const [C, L] of _) {
2420
2420
  w = new bn(i.registry, Ea, i.path, null, i.scope);
2421
2421
  const B = [];
2422
2422
  let V = !1;
@@ -2434,7 +2434,7 @@ function jv() {
2434
2434
  const H = Array.isArray(C) ? C[j] : C.type, J = B[j];
2435
2435
  w.concat(j + 1).checkSubtype(H, J.type);
2436
2436
  }
2437
- if (w.errors.length === 0) return new hn(o, f, R, B);
2437
+ if (w.errors.length === 0) return new hn(o, f, L, B);
2438
2438
  }
2439
2439
  }
2440
2440
  if (_.length === 1) i.errors.push(...w.errors);
@@ -2442,13 +2442,13 @@ function jv() {
2442
2442
  const C = (_.length ? _ : m).map(([B]) => {
2443
2443
  return V = B, Array.isArray(V) ? `(${V.map(Cr).join(", ")})` : `(${Cr(V.type)}...)`;
2444
2444
  var V;
2445
- }).join(" | "), R = [];
2445
+ }).join(" | "), L = [];
2446
2446
  for (let B = 1; B < t.length; B++) {
2447
- const V = i.parse(t[B], 1 + R.length);
2447
+ const V = i.parse(t[B], 1 + L.length);
2448
2448
  if (!V) return null;
2449
- R.push(Cr(V.type));
2449
+ L.push(Cr(V.type));
2450
2450
  }
2451
- i.error(`Expected arguments of type ${C}, but found (${R.join(", ")}) instead.`);
2451
+ i.error(`Expected arguments of type ${C}, but found (${L.join(", ")}) instead.`);
2452
2452
  }
2453
2453
  return null;
2454
2454
  }
@@ -2528,8 +2528,8 @@ function jv() {
2528
2528
  return n;
2529
2529
  }
2530
2530
  function zl(n, t) {
2531
- const i = n.stops && typeof n.stops[0][0] == "object", o = i || !(i || n.property !== void 0), c = n.type || (Ra(t) ? "exponential" : "interval"), f = function(R) {
2532
- switch (R.type) {
2531
+ const i = n.stops && typeof n.stops[0][0] == "object", o = i || !(i || n.property !== void 0), c = n.type || (Ra(t) ? "exponential" : "interval"), f = function(L) {
2532
+ switch (L.type) {
2533
2533
  case "color":
2534
2534
  return qt.parse;
2535
2535
  case "padding":
@@ -2542,10 +2542,10 @@ function jv() {
2542
2542
  return null;
2543
2543
  }
2544
2544
  }(t);
2545
- if (f && ((n = fr({}, n)).stops && (n.stops = n.stops.map((R) => [R[0], f(R[1])])), n.default = f(n.default ? n.default : t.default)), n.colorSpace && (m = n.colorSpace) !== "rgb" && m !== "hcl" && m !== "lab") throw new Error(`Unknown color space: "${n.colorSpace}"`);
2545
+ if (f && ((n = fr({}, n)).stops && (n.stops = n.stops.map((L) => [L[0], f(L[1])])), n.default = f(n.default ? n.default : t.default)), n.colorSpace && (m = n.colorSpace) !== "rgb" && m !== "hcl" && m !== "lab") throw new Error(`Unknown color space: "${n.colorSpace}"`);
2546
2546
  var m;
2547
- const _ = function(R) {
2548
- switch (R) {
2547
+ const _ = function(L) {
2548
+ switch (L) {
2549
2549
  case "exponential":
2550
2550
  return ou;
2551
2551
  case "interval":
@@ -2555,31 +2555,31 @@ function jv() {
2555
2555
  case "identity":
2556
2556
  return ip;
2557
2557
  default:
2558
- throw new Error(`Unknown function type "${R}"`);
2558
+ throw new Error(`Unknown function type "${L}"`);
2559
2559
  }
2560
2560
  }(c);
2561
2561
  let w, C;
2562
2562
  if (c === "categorical") {
2563
2563
  w = /* @__PURE__ */ Object.create(null);
2564
- for (const R of n.stops) w[R[0]] = R[1];
2564
+ for (const L of n.stops) w[L[0]] = L[1];
2565
2565
  C = typeof n.stops[0][0];
2566
2566
  }
2567
2567
  if (i) {
2568
- const R = {}, B = [];
2568
+ const L = {}, B = [];
2569
2569
  for (let H = 0; H < n.stops.length; H++) {
2570
2570
  const J = n.stops[H], te = J[0].zoom;
2571
- R[te] === void 0 && (R[te] = { zoom: te, type: n.type, property: n.property, default: n.default, stops: [] }, B.push(te)), R[te].stops.push([J[0].value, J[1]]);
2571
+ L[te] === void 0 && (L[te] = { zoom: te, type: n.type, property: n.property, default: n.default, stops: [] }, B.push(te)), L[te].stops.push([J[0].value, J[1]]);
2572
2572
  }
2573
2573
  const V = [];
2574
- for (const H of B) V.push([R[H].zoom, zl(R[H], t)]);
2574
+ for (const H of B) V.push([L[H].zoom, zl(L[H], t)]);
2575
2575
  const j = { name: "linear" };
2576
2576
  return { kind: "composite", interpolationType: j, interpolationFactor: Oi.interpolationFactor.bind(void 0, j), zoomStops: V.map((H) => H[0]), evaluate: ({ zoom: H }, J) => ou({ stops: V, base: n.base }, t, H).evaluate(H, J) };
2577
2577
  }
2578
2578
  if (o) {
2579
- const R = c === "exponential" ? { name: "exponential", base: n.base !== void 0 ? n.base : 1 } : null;
2580
- return { kind: "camera", interpolationType: R, interpolationFactor: Oi.interpolationFactor.bind(void 0, R), zoomStops: n.stops.map((B) => B[0]), evaluate: ({ zoom: B }) => _(n, t, B, w, C) };
2579
+ const L = c === "exponential" ? { name: "exponential", base: n.base !== void 0 ? n.base : 1 } : null;
2580
+ return { kind: "camera", interpolationType: L, interpolationFactor: Oi.interpolationFactor.bind(void 0, L), zoomStops: n.stops.map((B) => B[0]), evaluate: ({ zoom: B }) => _(n, t, B, w, C) };
2581
2581
  }
2582
- return { kind: "source", evaluate(R, B) {
2582
+ return { kind: "source", evaluate(L, B) {
2583
2583
  const V = B && B.properties ? B.properties[n.property] : void 0;
2584
2584
  return V === void 0 ? Lo(n.default, t.default) : _(n, t, V, w, C);
2585
2585
  } };
@@ -2604,12 +2604,12 @@ function jv() {
2604
2604
  const c = n.stops.length;
2605
2605
  if (c === 1 || i <= n.stops[0][0]) return n.stops[0][1];
2606
2606
  if (i >= n.stops[c - 1][0]) return n.stops[c - 1][1];
2607
- const f = ko(n.stops.map((R) => R[0]), i), m = function(R, B, V, j) {
2608
- const H = j - V, J = R - V;
2607
+ const f = ko(n.stops.map((L) => L[0]), i), m = function(L, B, V, j) {
2608
+ const H = j - V, J = L - V;
2609
2609
  return H === 0 ? 0 : B === 1 ? J / H : (Math.pow(B, J) - 1) / (Math.pow(B, H) - 1);
2610
2610
  }(i, o, n.stops[f][0], n.stops[f + 1][0]), _ = n.stops[f][1], w = n.stops[f + 1][1], C = zn[t.type] || Da;
2611
- return typeof _.evaluate == "function" ? { evaluate(...R) {
2612
- const B = _.evaluate.apply(void 0, R), V = w.evaluate.apply(void 0, R);
2611
+ return typeof _.evaluate == "function" ? { evaluate(...L) {
2612
+ const B = _.evaluate.apply(void 0, L), V = w.evaluate.apply(void 0, L);
2613
2613
  if (B !== void 0 && V !== void 0) return C(B, V, m, n.colorSpace);
2614
2614
  } } : C(_, w, m, n.colorSpace);
2615
2615
  }
@@ -2922,22 +2922,22 @@ function jv() {
2922
2922
  let w = [];
2923
2923
  const C = rr(i);
2924
2924
  if (C !== "object") return [new je(t, i, `object expected, ${C} found`)];
2925
- for (const R in i) {
2926
- const B = R.split(".")[0], V = ls(o, B) || o["*"];
2925
+ for (const L in i) {
2926
+ const B = L.split(".")[0], V = ls(o, B) || o["*"];
2927
2927
  let j;
2928
2928
  if (ls(c, B)) j = c[B];
2929
2929
  else if (ls(o, B)) j = _;
2930
2930
  else if (c["*"]) j = c["*"];
2931
2931
  else {
2932
2932
  if (!o["*"]) {
2933
- w.push(new je(t, i[R], `unknown property "${R}"`));
2933
+ w.push(new je(t, i[L], `unknown property "${L}"`));
2934
2934
  continue;
2935
2935
  }
2936
2936
  j = _;
2937
2937
  }
2938
- w = w.concat(j({ key: (t && `${t}.`) + R, value: i[R], valueSpec: V, style: f, styleSpec: m, object: i, objectKey: R, validateSpec: _ }, i));
2938
+ w = w.concat(j({ key: (t && `${t}.`) + L, value: i[L], valueSpec: V, style: f, styleSpec: m, object: i, objectKey: L, validateSpec: _ }, i));
2939
2939
  }
2940
- for (const R in o) c[R] || o[R].required && o[R].default === void 0 && i[R] === void 0 && w.push(new je(t, i, `missing required property "${R}"`));
2940
+ for (const L in o) c[L] || o[L].required && o[L].default === void 0 && i[L] === void 0 && w.push(new je(t, i, `missing required property "${L}"`));
2941
2941
  return w;
2942
2942
  }
2943
2943
  function Vl(n) {
@@ -2959,7 +2959,7 @@ function jv() {
2959
2959
  function ql(n) {
2960
2960
  const t = n.valueSpec, i = ti(n.value.type);
2961
2961
  let o, c, f, m = {};
2962
- const _ = i !== "categorical" && n.value.property === void 0, w = !_, C = rr(n.value.stops) === "array" && rr(n.value.stops[0]) === "array" && rr(n.value.stops[0][0]) === "object", R = Yi({ key: n.key, value: n.value, valueSpec: n.styleSpec.function, validateSpec: n.validateSpec, style: n.style, styleSpec: n.styleSpec, objectElementValidators: { stops: function(j) {
2962
+ const _ = i !== "categorical" && n.value.property === void 0, w = !_, C = rr(n.value.stops) === "array" && rr(n.value.stops[0]) === "array" && rr(n.value.stops[0][0]) === "object", L = Yi({ key: n.key, value: n.value, valueSpec: n.styleSpec.function, validateSpec: n.validateSpec, style: n.style, styleSpec: n.styleSpec, objectElementValidators: { stops: function(j) {
2963
2963
  if (i === "identity") return [new je(j.key, j.value, 'identity function may not have a "stops" property')];
2964
2964
  let H = [];
2965
2965
  const J = j.value;
@@ -2967,7 +2967,7 @@ function jv() {
2967
2967
  }, default: function(j) {
2968
2968
  return j.validateSpec({ key: j.key, value: j.value, valueSpec: t, validateSpec: j.validateSpec, style: j.style, styleSpec: j.styleSpec });
2969
2969
  } } });
2970
- return i === "identity" && _ && R.push(new je(n.key, n.value, 'missing required property "property"')), i === "identity" || n.value.stops || R.push(new je(n.key, n.value, 'missing required property "stops"')), i === "exponential" && n.valueSpec.expression && !Ra(n.valueSpec) && R.push(new je(n.key, n.value, "exponential functions not supported")), n.styleSpec.$version >= 8 && (w && !Qs(n.valueSpec) ? R.push(new je(n.key, n.value, "property functions not supported")) : _ && !su(n.valueSpec) && R.push(new je(n.key, n.value, "zoom functions not supported"))), i !== "categorical" && !C || n.value.property !== void 0 || R.push(new je(n.key, n.value, '"property" property is required')), R;
2970
+ return i === "identity" && _ && L.push(new je(n.key, n.value, 'missing required property "property"')), i === "identity" || n.value.stops || L.push(new je(n.key, n.value, 'missing required property "stops"')), i === "exponential" && n.valueSpec.expression && !Ra(n.valueSpec) && L.push(new je(n.key, n.value, "exponential functions not supported")), n.styleSpec.$version >= 8 && (w && !Qs(n.valueSpec) ? L.push(new je(n.key, n.value, "property functions not supported")) : _ && !su(n.valueSpec) && L.push(new je(n.key, n.value, "zoom functions not supported"))), i !== "categorical" && !C || n.value.property !== void 0 || L.push(new je(n.key, n.value, '"property" property is required')), L;
2971
2971
  function B(j) {
2972
2972
  let H = [];
2973
2973
  const J = j.value, te = j.key;
@@ -3055,13 +3055,13 @@ function jv() {
3055
3055
  if (!w) return [];
3056
3056
  const C = _.match(/^(.*)-transition$/);
3057
3057
  if (t === "paint" && C && w[C[1]] && w[C[1]].transition) return o({ key: i, value: m, valueSpec: f.transition, style: c, styleSpec: f });
3058
- const R = n.valueSpec || w[_];
3059
- if (!R) return [new je(i, m, `unknown property "${_}"`)];
3058
+ const L = n.valueSpec || w[_];
3059
+ if (!L) return [new je(i, m, `unknown property "${_}"`)];
3060
3060
  let B;
3061
- if (rr(m) === "string" && Qs(R) && !R.tokens && (B = /^{([^}]+)}$/.exec(m))) return [new je(i, m, `"${_}" does not support interpolation syntax
3061
+ if (rr(m) === "string" && Qs(L) && !L.tokens && (B = /^{([^}]+)}$/.exec(m))) return [new je(i, m, `"${_}" does not support interpolation syntax
3062
3062
  Use an identity property function instead: \`{ "type": "identity", "property": ${JSON.stringify(B[1])} }\`.`)];
3063
3063
  const V = [];
3064
- return n.layerType === "symbol" && (_ === "text-field" && c && !c.glyphs && V.push(new je(i, m, 'use of "text-field" requires a style "glyphs" property')), _ === "text-font" && za(ps(m)) && ti(m.type) === "identity" && V.push(new je(i, m, '"text-font" does not support identity functions'))), V.concat(o({ key: n.key, value: m, valueSpec: R, style: c, styleSpec: f, expressionContext: "property", propertyType: t, propertyKey: _ }));
3064
+ return n.layerType === "symbol" && (_ === "text-field" && c && !c.glyphs && V.push(new je(i, m, 'use of "text-field" requires a style "glyphs" property')), _ === "text-font" && za(ps(m)) && ti(m.type) === "identity" && V.push(new je(i, m, '"text-font" does not support identity functions'))), V.concat(o({ key: n.key, value: m, valueSpec: L, style: c, styleSpec: f, expressionContext: "property", propertyType: t, propertyKey: _ }));
3065
3065
  }
3066
3066
  function du(n) {
3067
3067
  return pu(n, "paint");
@@ -3079,8 +3079,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3079
3079
  if (i.id) {
3080
3080
  const w = ti(i.id);
3081
3081
  for (let C = 0; C < n.arrayIndex; C++) {
3082
- const R = c.layers[C];
3083
- ti(R.id) === w && t.push(new je(o, i.id, `duplicate layer id "${i.id}", previously used at line ${R.id.__line__}`));
3082
+ const L = c.layers[C];
3083
+ ti(L.id) === w && t.push(new je(o, i.id, `duplicate layer id "${i.id}", previously used at line ${L.id.__line__}`));
3084
3084
  }
3085
3085
  }
3086
3086
  if ("ref" in i) {
@@ -3120,19 +3120,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3120
3120
  case "raster-dem":
3121
3121
  return _ = function(w) {
3122
3122
  var C;
3123
- const R = (C = w.sourceName) !== null && C !== void 0 ? C : "", B = w.value, V = w.styleSpec, j = V.source_raster_dem, H = w.style;
3123
+ const L = (C = w.sourceName) !== null && C !== void 0 ? C : "", B = w.value, V = w.styleSpec, j = V.source_raster_dem, H = w.style;
3124
3124
  let J = [];
3125
3125
  const te = rr(B);
3126
3126
  if (B === void 0) return J;
3127
3127
  if (te !== "object") return J.push(new je("source_raster_dem", B, `object expected, ${te} found`)), J;
3128
3128
  const ae = ti(B.encoding) === "custom", Se = ["redFactor", "greenFactor", "blueFactor", "baseShift"], fe = w.value.encoding ? `"${w.value.encoding}"` : "Default";
3129
- for (const U in B) !ae && Se.includes(U) ? J.push(new je(U, B[U], `In "${R}": "${U}" is only valid when "encoding" is set to "custom". ${fe} encoding found`)) : j[U] ? J = J.concat(w.validateSpec({ key: U, value: B[U], valueSpec: j[U], validateSpec: w.validateSpec, style: H, styleSpec: V })) : J.push(new je(U, B[U], `unknown property "${U}"`));
3129
+ for (const U in B) !ae && Se.includes(U) ? J.push(new je(U, B[U], `In "${L}": "${U}" is only valid when "encoding" is set to "custom". ${fe} encoding found`)) : j[U] ? J = J.concat(w.validateSpec({ key: U, value: B[U], valueSpec: j[U], validateSpec: w.validateSpec, style: H, styleSpec: V })) : J.push(new je(U, B[U], `unknown property "${U}"`));
3130
3130
  return J;
3131
3131
  }({ sourceName: i, value: t, style: n.style, styleSpec: o, validateSpec: f }), _;
3132
3132
  case "geojson":
3133
3133
  if (_ = Yi({ key: i, value: t, valueSpec: o.source_geojson, style: c, styleSpec: o, validateSpec: f, objectElementValidators: eo }), t.cluster) for (const w in t.clusterProperties) {
3134
- const [C, R] = t.clusterProperties[w], B = typeof C == "string" ? [C, ["accumulated"], ["get", w]] : C;
3135
- _.push(...Bn({ key: `${i}.${w}.map`, value: R, expressionContext: "cluster-map" })), _.push(...Bn({ key: `${i}.${w}.reduce`, value: B, expressionContext: "cluster-reduce" }));
3134
+ const [C, L] = t.clusterProperties[w], B = typeof C == "string" ? [C, ["accumulated"], ["get", w]] : C;
3135
+ _.push(...Bn({ key: `${i}.${w}.map`, value: L, expressionContext: "cluster-map" })), _.push(...Bn({ key: `${i}.${w}.reduce`, value: B, expressionContext: "cluster-reduce" }));
3136
3136
  }
3137
3137
  return _;
3138
3138
  case "video":
@@ -3288,8 +3288,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3288
3288
  const m = new Int32Array(this.arrayBuffer);
3289
3289
  t = m[0], this.d = (i = m[1]) + 2 * (o = m[2]);
3290
3290
  for (let w = 0; w < this.d * this.d; w++) {
3291
- const C = m[3 + w], R = m[3 + w + 1];
3292
- c.push(C === R ? null : m.subarray(C, R));
3291
+ const C = m[3 + w], L = m[3 + w + 1];
3292
+ c.push(C === L ? null : m.subarray(C, L));
3293
3293
  }
3294
3294
  const _ = m[3 + c.length + 1];
3295
3295
  this.keys = m.subarray(m[3 + c.length], _), this.bboxes = m.subarray(_), this.insert = this._insertReadonly;
@@ -3322,19 +3322,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
3322
3322
  _queryCell(t, i, o, c, f, m, _, w) {
3323
3323
  const C = this.cells[f];
3324
3324
  if (C !== null) {
3325
- const R = this.keys, B = this.bboxes;
3325
+ const L = this.keys, B = this.bboxes;
3326
3326
  for (let V = 0; V < C.length; V++) {
3327
3327
  const j = C[V];
3328
3328
  if (_[j] === void 0) {
3329
3329
  const H = 4 * j;
3330
- (w ? w(B[H + 0], B[H + 1], B[H + 2], B[H + 3]) : t <= B[H + 2] && i <= B[H + 3] && o >= B[H + 0] && c >= B[H + 1]) ? (_[j] = !0, m.push(R[j])) : _[j] = !1;
3330
+ (w ? w(B[H + 0], B[H + 1], B[H + 2], B[H + 3]) : t <= B[H + 2] && i <= B[H + 3] && o >= B[H + 0] && c >= B[H + 1]) ? (_[j] = !0, m.push(L[j])) : _[j] = !1;
3331
3331
  }
3332
3332
  }
3333
3333
  }
3334
3334
  }
3335
3335
  _forEachCell(t, i, o, c, f, m, _, w) {
3336
- const C = this._convertToCellCoord(t), R = this._convertToCellCoord(i), B = this._convertToCellCoord(o), V = this._convertToCellCoord(c);
3337
- for (let j = C; j <= B; j++) for (let H = R; H <= V; H++) {
3336
+ const C = this._convertToCellCoord(t), L = this._convertToCellCoord(i), B = this._convertToCellCoord(o), V = this._convertToCellCoord(c);
3337
+ for (let j = C; j <= B; j++) for (let H = L; H <= V; H++) {
3338
3338
  const J = this.d * H + j;
3339
3339
  if ((!w || w(this._convertFromCellCoord(j), this._convertFromCellCoord(H), this._convertFromCellCoord(j + 1), this._convertFromCellCoord(H + 1))) && f.call(this, t, i, o, c, J, m, _, w)) return;
3340
3340
  }
@@ -4002,13 +4002,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4002
4002
  _refreshViews() {
4003
4003
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
4004
4004
  }
4005
- emplaceBack(t, i, o, c, f, m, _, w, C, R) {
4005
+ emplaceBack(t, i, o, c, f, m, _, w, C, L) {
4006
4006
  const B = this.length;
4007
- return this.resize(B + 1), this.emplace(B, t, i, o, c, f, m, _, w, C, R);
4007
+ return this.resize(B + 1), this.emplace(B, t, i, o, c, f, m, _, w, C, L);
4008
4008
  }
4009
- emplace(t, i, o, c, f, m, _, w, C, R, B) {
4009
+ emplace(t, i, o, c, f, m, _, w, C, L, B) {
4010
4010
  const V = 10 * t;
4011
- return this.uint16[V + 0] = i, this.uint16[V + 1] = o, this.uint16[V + 2] = c, this.uint16[V + 3] = f, this.uint16[V + 4] = m, this.uint16[V + 5] = _, this.uint16[V + 6] = w, this.uint16[V + 7] = C, this.uint16[V + 8] = R, this.uint16[V + 9] = B, t;
4011
+ return this.uint16[V + 0] = i, this.uint16[V + 1] = o, this.uint16[V + 2] = c, this.uint16[V + 3] = f, this.uint16[V + 4] = m, this.uint16[V + 5] = _, this.uint16[V + 6] = w, this.uint16[V + 7] = C, this.uint16[V + 8] = L, this.uint16[V + 9] = B, t;
4012
4012
  }
4013
4013
  }
4014
4014
  rc.prototype.bytesPerElement = 20, St("StructArrayLayout10ui20", rc);
@@ -4016,13 +4016,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4016
4016
  _refreshViews() {
4017
4017
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
4018
4018
  }
4019
- emplaceBack(t, i, o, c, f, m, _, w, C, R, B, V) {
4019
+ emplaceBack(t, i, o, c, f, m, _, w, C, L, B, V) {
4020
4020
  const j = this.length;
4021
- return this.resize(j + 1), this.emplace(j, t, i, o, c, f, m, _, w, C, R, B, V);
4021
+ return this.resize(j + 1), this.emplace(j, t, i, o, c, f, m, _, w, C, L, B, V);
4022
4022
  }
4023
- emplace(t, i, o, c, f, m, _, w, C, R, B, V, j) {
4023
+ emplace(t, i, o, c, f, m, _, w, C, L, B, V, j) {
4024
4024
  const H = 12 * t;
4025
- return this.int16[H + 0] = i, this.int16[H + 1] = o, this.int16[H + 2] = c, this.int16[H + 3] = f, this.uint16[H + 4] = m, this.uint16[H + 5] = _, this.uint16[H + 6] = w, this.uint16[H + 7] = C, this.int16[H + 8] = R, this.int16[H + 9] = B, this.int16[H + 10] = V, this.int16[H + 11] = j, t;
4025
+ return this.int16[H + 0] = i, this.int16[H + 1] = o, this.int16[H + 2] = c, this.int16[H + 3] = f, this.uint16[H + 4] = m, this.uint16[H + 5] = _, this.uint16[H + 6] = w, this.uint16[H + 7] = C, this.int16[H + 8] = L, this.int16[H + 9] = B, this.int16[H + 10] = V, this.int16[H + 11] = j, t;
4026
4026
  }
4027
4027
  }
4028
4028
  h.prototype.bytesPerElement = 24, St("StructArrayLayout4i4ui4i24", h);
@@ -4058,12 +4058,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4058
4058
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
4059
4059
  }
4060
4060
  emplaceBack(t, i, o, c, f, m, _, w, C) {
4061
- const R = this.length;
4062
- return this.resize(R + 1), this.emplace(R, t, i, o, c, f, m, _, w, C);
4061
+ const L = this.length;
4062
+ return this.resize(L + 1), this.emplace(L, t, i, o, c, f, m, _, w, C);
4063
4063
  }
4064
- emplace(t, i, o, c, f, m, _, w, C, R) {
4064
+ emplace(t, i, o, c, f, m, _, w, C, L) {
4065
4065
  const B = 10 * t, V = 5 * t;
4066
- return this.int16[B + 0] = i, this.int16[B + 1] = o, this.int16[B + 2] = c, this.int16[B + 3] = f, this.int16[B + 4] = m, this.int16[B + 5] = _, this.uint32[V + 3] = w, this.uint16[B + 8] = C, this.uint16[B + 9] = R, t;
4066
+ return this.int16[B + 0] = i, this.int16[B + 1] = o, this.int16[B + 2] = c, this.int16[B + 3] = f, this.int16[B + 4] = m, this.int16[B + 5] = _, this.uint32[V + 3] = w, this.uint16[B + 8] = C, this.uint16[B + 9] = L, t;
4067
4067
  }
4068
4068
  }
4069
4069
  a.prototype.bytesPerElement = 20, St("StructArrayLayout6i1ul2ui20", a);
@@ -4104,8 +4104,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4104
4104
  return this.resize(_ + 1), this.emplace(_, t, i, o, c, f, m);
4105
4105
  }
4106
4106
  emplace(t, i, o, c, f, m, _) {
4107
- const w = 16 * t, C = 4 * t, R = 8 * t;
4108
- return this.uint8[w + 0] = i, this.uint8[w + 1] = o, this.float32[C + 1] = c, this.float32[C + 2] = f, this.int16[R + 6] = m, this.int16[R + 7] = _, t;
4107
+ const w = 16 * t, C = 4 * t, L = 8 * t;
4108
+ return this.uint8[w + 0] = i, this.uint8[w + 1] = o, this.float32[C + 1] = c, this.float32[C + 2] = f, this.int16[L + 6] = m, this.int16[L + 7] = _, t;
4109
4109
  }
4110
4110
  }
4111
4111
  g.prototype.bytesPerElement = 16, St("StructArrayLayout2ub2f2i16", g);
@@ -4127,13 +4127,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4127
4127
  _refreshViews() {
4128
4128
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
4129
4129
  }
4130
- emplaceBack(t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae) {
4130
+ emplaceBack(t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae) {
4131
4131
  const Se = this.length;
4132
- return this.resize(Se + 1), this.emplace(Se, t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae);
4132
+ return this.resize(Se + 1), this.emplace(Se, t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae);
4133
4133
  }
4134
- emplace(t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae, Se) {
4134
+ emplace(t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae, Se) {
4135
4135
  const fe = 24 * t, U = 12 * t, Q = 48 * t;
4136
- return this.int16[fe + 0] = i, this.int16[fe + 1] = o, this.uint16[fe + 2] = c, this.uint16[fe + 3] = f, this.uint32[U + 2] = m, this.uint32[U + 3] = _, this.uint32[U + 4] = w, this.uint16[fe + 10] = C, this.uint16[fe + 11] = R, this.uint16[fe + 12] = B, this.float32[U + 7] = V, this.float32[U + 8] = j, this.uint8[Q + 36] = H, this.uint8[Q + 37] = J, this.uint8[Q + 38] = te, this.uint32[U + 10] = ae, this.int16[fe + 22] = Se, t;
4136
+ return this.int16[fe + 0] = i, this.int16[fe + 1] = o, this.uint16[fe + 2] = c, this.uint16[fe + 3] = f, this.uint32[U + 2] = m, this.uint32[U + 3] = _, this.uint32[U + 4] = w, this.uint16[fe + 10] = C, this.uint16[fe + 11] = L, this.uint16[fe + 12] = B, this.float32[U + 7] = V, this.float32[U + 8] = j, this.uint8[Q + 36] = H, this.uint8[Q + 37] = J, this.uint8[Q + 38] = te, this.uint32[U + 10] = ae, this.int16[fe + 22] = Se, t;
4137
4137
  }
4138
4138
  }
4139
4139
  S.prototype.bytesPerElement = 48, St("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48", S);
@@ -4141,13 +4141,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4141
4141
  _refreshViews() {
4142
4142
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
4143
4143
  }
4144
- emplaceBack(t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt) {
4144
+ emplaceBack(t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt) {
4145
4145
  const ct = this.length;
4146
- return this.resize(ct + 1), this.emplace(ct, t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt);
4146
+ return this.resize(ct + 1), this.emplace(ct, t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt);
4147
4147
  }
4148
- emplace(t, i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt, ct) {
4148
+ emplace(t, i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae, Se, fe, U, Q, ge, Re, tt, Ve, We, at, rt, ct) {
4149
4149
  const Ge = 32 * t, kt = 16 * t;
4150
- return this.int16[Ge + 0] = i, this.int16[Ge + 1] = o, this.int16[Ge + 2] = c, this.int16[Ge + 3] = f, this.int16[Ge + 4] = m, this.int16[Ge + 5] = _, this.int16[Ge + 6] = w, this.int16[Ge + 7] = C, this.uint16[Ge + 8] = R, this.uint16[Ge + 9] = B, this.uint16[Ge + 10] = V, this.uint16[Ge + 11] = j, this.uint16[Ge + 12] = H, this.uint16[Ge + 13] = J, this.uint16[Ge + 14] = te, this.uint16[Ge + 15] = ae, this.uint16[Ge + 16] = Se, this.uint16[Ge + 17] = fe, this.uint16[Ge + 18] = U, this.uint16[Ge + 19] = Q, this.uint16[Ge + 20] = ge, this.uint16[Ge + 21] = Re, this.uint16[Ge + 22] = tt, this.uint32[kt + 12] = Ve, this.float32[kt + 13] = We, this.float32[kt + 14] = at, this.uint16[Ge + 30] = rt, this.uint16[Ge + 31] = ct, t;
4150
+ return this.int16[Ge + 0] = i, this.int16[Ge + 1] = o, this.int16[Ge + 2] = c, this.int16[Ge + 3] = f, this.int16[Ge + 4] = m, this.int16[Ge + 5] = _, this.int16[Ge + 6] = w, this.int16[Ge + 7] = C, this.uint16[Ge + 8] = L, this.uint16[Ge + 9] = B, this.uint16[Ge + 10] = V, this.uint16[Ge + 11] = j, this.uint16[Ge + 12] = H, this.uint16[Ge + 13] = J, this.uint16[Ge + 14] = te, this.uint16[Ge + 15] = ae, this.uint16[Ge + 16] = Se, this.uint16[Ge + 17] = fe, this.uint16[Ge + 18] = U, this.uint16[Ge + 19] = Q, this.uint16[Ge + 20] = ge, this.uint16[Ge + 21] = Re, this.uint16[Ge + 22] = tt, this.uint32[kt + 12] = Ve, this.float32[kt + 13] = We, this.float32[kt + 14] = at, this.uint16[Ge + 30] = rt, this.uint16[Ge + 31] = ct, t;
4151
4151
  }
4152
4152
  }
4153
4153
  E.prototype.bytesPerElement = 64, St("StructArrayLayout8i15ui1ul2f2ui64", E);
@@ -4557,15 +4557,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4557
4557
  if (Ko) return ms.exports;
4558
4558
  Ko = 1;
4559
4559
  var n = (fs || (fs = 1, Fs.exports = function(i, o) {
4560
- var c, f, m, _, w, C, R, B;
4561
- for (f = i.length - (c = 3 & i.length), m = o, w = 3432918353, C = 461845907, B = 0; B < f; ) R = 255 & i.charCodeAt(B) | (255 & i.charCodeAt(++B)) << 8 | (255 & i.charCodeAt(++B)) << 16 | (255 & i.charCodeAt(++B)) << 24, ++B, m = 27492 + (65535 & (_ = 5 * (65535 & (m = (m ^= R = (65535 & (R = (R = (65535 & R) * w + (((R >>> 16) * w & 65535) << 16) & 4294967295) << 15 | R >>> 17)) * C + (((R >>> 16) * C & 65535) << 16) & 4294967295) << 13 | m >>> 19)) + ((5 * (m >>> 16) & 65535) << 16) & 4294967295)) + ((58964 + (_ >>> 16) & 65535) << 16);
4562
- switch (R = 0, c) {
4560
+ var c, f, m, _, w, C, L, B;
4561
+ for (f = i.length - (c = 3 & i.length), m = o, w = 3432918353, C = 461845907, B = 0; B < f; ) L = 255 & i.charCodeAt(B) | (255 & i.charCodeAt(++B)) << 8 | (255 & i.charCodeAt(++B)) << 16 | (255 & i.charCodeAt(++B)) << 24, ++B, m = 27492 + (65535 & (_ = 5 * (65535 & (m = (m ^= L = (65535 & (L = (L = (65535 & L) * w + (((L >>> 16) * w & 65535) << 16) & 4294967295) << 15 | L >>> 17)) * C + (((L >>> 16) * C & 65535) << 16) & 4294967295) << 13 | m >>> 19)) + ((5 * (m >>> 16) & 65535) << 16) & 4294967295)) + ((58964 + (_ >>> 16) & 65535) << 16);
4562
+ switch (L = 0, c) {
4563
4563
  case 3:
4564
- R ^= (255 & i.charCodeAt(B + 2)) << 16;
4564
+ L ^= (255 & i.charCodeAt(B + 2)) << 16;
4565
4565
  case 2:
4566
- R ^= (255 & i.charCodeAt(B + 1)) << 8;
4566
+ L ^= (255 & i.charCodeAt(B + 1)) << 8;
4567
4567
  case 1:
4568
- m ^= R = (65535 & (R = (R = (65535 & (R ^= 255 & i.charCodeAt(B))) * w + (((R >>> 16) * w & 65535) << 16) & 4294967295) << 15 | R >>> 17)) * C + (((R >>> 16) * C & 65535) << 16) & 4294967295;
4568
+ m ^= L = (65535 & (L = (L = (65535 & (L ^= 255 & i.charCodeAt(B))) * w + (((L >>> 16) * w & 65535) << 16) & 4294967295) << 15 | L >>> 17)) * C + (((L >>> 16) * C & 65535) << 16) & 4294967295;
4569
4569
  }
4570
4570
  return m ^= i.length, m = 2246822507 * (65535 & (m ^= m >>> 16)) + ((2246822507 * (m >>> 16) & 65535) << 16) & 4294967295, m = 3266489909 * (65535 & (m ^= m >>> 13)) + ((3266489909 * (m >>> 16) & 65535) << 16) & 4294967295, (m ^= m >>> 16) >>> 0;
4571
4571
  }), Fs.exports), t = (Os || (Os = 1, $i.exports = function(i, o) {
@@ -4771,8 +4771,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4771
4771
  }
4772
4772
  _setPaintValues(t, i, o, c) {
4773
4773
  if (!c || !o) return;
4774
- const { min: f, mid: m, max: _ } = o, w = c[f], C = c[m], R = c[_];
4775
- if (w && C && R) for (let B = t; B < i; B++) this.zoomInPaintVertexArray.emplace(B, C.tl[0], C.tl[1], C.br[0], C.br[1], w.tl[0], w.tl[1], w.br[0], w.br[1], C.pixelRatio, w.pixelRatio), this.zoomOutPaintVertexArray.emplace(B, C.tl[0], C.tl[1], C.br[0], C.br[1], R.tl[0], R.tl[1], R.br[0], R.br[1], C.pixelRatio, R.pixelRatio);
4774
+ const { min: f, mid: m, max: _ } = o, w = c[f], C = c[m], L = c[_];
4775
+ if (w && C && L) for (let B = t; B < i; B++) this.zoomInPaintVertexArray.emplace(B, C.tl[0], C.tl[1], C.br[0], C.br[1], w.tl[0], w.tl[1], w.br[0], w.br[1], C.pixelRatio, w.pixelRatio), this.zoomOutPaintVertexArray.emplace(B, C.tl[0], C.tl[1], C.br[0], C.br[1], L.tl[0], L.tl[1], L.br[0], L.br[1], C.pixelRatio, L.pixelRatio);
4776
4776
  }
4777
4777
  upload(t) {
4778
4778
  this.zoomInPaintVertexArray && this.zoomInPaintVertexArray.arrayBuffer && this.zoomOutPaintVertexArray && this.zoomOutPaintVertexArray.arrayBuffer && (this.zoomInPaintVertexBuffer = t.createVertexBuffer(this.zoomInPaintVertexArray, Fn.members, this.expression.isStateDependent), this.zoomOutPaintVertexBuffer = t.createVertexBuffer(this.zoomOutPaintVertexArray, Fn.members, this.expression.isStateDependent));
@@ -4789,14 +4789,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4789
4789
  if (!o(f)) continue;
4790
4790
  const m = t.paint.get(f);
4791
4791
  if (!(m instanceof Ui && Qs(m.property.specification))) continue;
4792
- const _ = nc(f, t.type), w = m.value, C = m.property.specification.type, R = m.property.useIntegerZoom, B = m.property.specification["property-type"], V = B === "cross-faded" || B === "cross-faded-data-driven";
4792
+ const _ = nc(f, t.type), w = m.value, C = m.property.specification.type, L = m.property.useIntegerZoom, B = m.property.specification["property-type"], V = B === "cross-faded" || B === "cross-faded-data-driven";
4793
4793
  if (w.kind === "constant") this.binders[f] = V ? new dn(w.value, _) : new Go(w.value, _, C), c.push(`/u_${f}`);
4794
4794
  else if (w.kind === "source" || V) {
4795
4795
  const j = Nd(f, C, "source");
4796
- this.binders[f] = V ? new Yn(w, C, R, i, j, t.id) : new Vn(w, _, C, j), c.push(`/a_${f}`);
4796
+ this.binders[f] = V ? new Yn(w, C, L, i, j, t.id) : new Vn(w, _, C, j), c.push(`/a_${f}`);
4797
4797
  } else {
4798
4798
  const j = Nd(f, C, "composite");
4799
- this.binders[f] = new fn(w, _, C, R, i, j), c.push(`/z_${f}`);
4799
+ this.binders[f] = new fn(w, _, C, L, i, j), c.push(`/z_${f}`);
4800
4800
  }
4801
4801
  }
4802
4802
  this.cacheKey = c.sort().join("");
@@ -4822,12 +4822,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4822
4822
  for (const _ in t) {
4823
4823
  const w = i.getPositions(_);
4824
4824
  for (const C of w) {
4825
- const R = o.feature(C.index);
4825
+ const L = o.feature(C.index);
4826
4826
  for (const B in this.binders) {
4827
4827
  const V = this.binders[B];
4828
4828
  if ((V instanceof Vn || V instanceof fn || V instanceof Yn) && V.expression.isStateDependent === !0) {
4829
4829
  const j = c.paint.get(B);
4830
- V.expression = j.value, V.updatePaintArray(C.start, C.end, R, t[_], f), m = !0;
4830
+ V.expression = j.value, V.updatePaintArray(C.start, C.end, L, t[_], f), m = !0;
4831
4831
  }
4832
4832
  }
4833
4833
  }
@@ -4965,20 +4965,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
4965
4965
  const c = this.layers[0], f = [];
4966
4966
  let m = null, _ = !1, w = c.type === "heatmap";
4967
4967
  if (c.type === "circle") {
4968
- const R = c;
4969
- m = R.layout.get("circle-sort-key"), _ = !m.isConstant(), w = w || R.paint.get("circle-pitch-alignment") === "map";
4968
+ const L = c;
4969
+ m = L.layout.get("circle-sort-key"), _ = !m.isConstant(), w = w || L.paint.get("circle-pitch-alignment") === "map";
4970
4970
  }
4971
4971
  const C = w ? i.subdivisionGranularity.circle : 1;
4972
- for (const { feature: R, id: B, index: V, sourceLayerIndex: j } of t) {
4973
- const H = this.layers[0]._featureFilter.needGeometry, J = Xo(R, H);
4972
+ for (const { feature: L, id: B, index: V, sourceLayerIndex: j } of t) {
4973
+ const H = this.layers[0]._featureFilter.needGeometry, J = Xo(L, H);
4974
4974
  if (!this.layers[0]._featureFilter.filter(new Fr(this.zoom), J, o)) continue;
4975
- const te = _ ? m.evaluate(J, {}, o) : void 0, ae = { id: B, properties: R.properties, type: R.type, sourceLayerIndex: j, index: V, geometry: H ? J.geometry : Jo(R), patterns: {}, sortKey: te };
4975
+ const te = _ ? m.evaluate(J, {}, o) : void 0, ae = { id: B, properties: L.properties, type: L.type, sourceLayerIndex: j, index: V, geometry: H ? J.geometry : Jo(L), patterns: {}, sortKey: te };
4976
4976
  f.push(ae);
4977
4977
  }
4978
- _ && f.sort((R, B) => R.sortKey - B.sortKey);
4979
- for (const R of f) {
4980
- const { geometry: B, index: V, sourceLayerIndex: j } = R, H = t[V].feature;
4981
- this.addFeature(R, B, V, o, C), i.featureIndex.insert(H, B, V, j, this.index);
4978
+ _ && f.sort((L, B) => L.sortKey - B.sortKey);
4979
+ for (const L of f) {
4980
+ const { geometry: B, index: V, sourceLayerIndex: j } = L, H = t[V].feature;
4981
+ this.addFeature(L, B, V, o, C), i.featureIndex.insert(H, B, V, j, this.index);
4982
4982
  }
4983
4983
  }
4984
4984
  update(t, i, o) {
@@ -5016,10 +5016,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5016
5016
  }
5017
5017
  const _ = m.length;
5018
5018
  for (const w of i) for (const C of w) {
5019
- const R = C.x, B = C.y;
5020
- if (R < 0 || R >= lr || B < 0 || B >= lr) continue;
5019
+ const L = C.x, B = C.y;
5020
+ if (L < 0 || L >= lr || B < 0 || B >= lr) continue;
5021
5021
  const V = this.segments.prepareSegment(_ * _, this.layoutVertexArray, this.indexArray, t.sortKey), j = V.vertexLength;
5022
- for (let H = 0; H < _; H++) for (let J = 0; J < _; J++) Yy(this.layoutVertexArray, R, B, m[J], m[H]);
5022
+ for (let H = 0; H < _; H++) for (let J = 0; J < _; J++) Yy(this.layoutVertexArray, L, B, m[J], m[H]);
5023
5023
  for (let H = 0; H < _ - 1; H++) for (let J = 0; J < _ - 1; J++) {
5024
5024
  const te = j + H * _ + J, ae = j + (H + 1) * _ + J;
5025
5025
  this.indexArray.emplaceBack(te, ae + 1, te + 1), this.indexArray.emplaceBack(te, ae, ae + 1);
@@ -5130,9 +5130,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5130
5130
  return sc("circle-radius", this, i) + sc("circle-stroke-width", this, i) + Cu(this.paint.get("circle-translate"));
5131
5131
  }
5132
5132
  queryIntersectsFeature({ queryGeometry: t, feature: i, featureState: o, geometry: c, transform: f, pixelsToTileUnits: m, unwrappedTileID: _, getElevation: w }) {
5133
- const C = Pu(t, this.paint.get("circle-translate"), this.paint.get("circle-translate-anchor"), -f.bearingInRadians, m), R = this.paint.get("circle-radius").evaluate(i, o) + this.paint.get("circle-stroke-width").evaluate(i, o), B = this.paint.get("circle-pitch-alignment") === "map", V = B ? C : function(H, J, te, ae) {
5133
+ const C = Pu(t, this.paint.get("circle-translate"), this.paint.get("circle-translate-anchor"), -f.bearingInRadians, m), L = this.paint.get("circle-radius").evaluate(i, o) + this.paint.get("circle-stroke-width").evaluate(i, o), B = this.paint.get("circle-pitch-alignment") === "map", V = B ? C : function(H, J, te, ae) {
5134
5134
  return H.map((Se) => Qd(Se, J, te, ae));
5135
- }(C, f, _, w), j = B ? R * m : R;
5135
+ }(C, f, _, w), j = B ? L * m : L;
5136
5136
  for (const H of c) for (const J of H) {
5137
5137
  const te = B ? J : Qd(J, f, _, w);
5138
5138
  let ae = j;
@@ -5172,8 +5172,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5172
5172
  const m = n.data, _ = t.data;
5173
5173
  if (m === _) throw new Error("srcData equals dstData, so image is already copied");
5174
5174
  for (let w = 0; w < c.height; w++) {
5175
- const C = ((i.y + w) * n.width + i.x) * f, R = ((o.y + w) * t.width + o.x) * f;
5176
- for (let B = 0; B < c.width * f; B++) _[R + B] = m[C + B];
5175
+ const C = ((i.y + w) * n.width + i.x) * f, L = ((o.y + w) * t.width + o.x) * f;
5176
+ for (let B = 0; B < c.width * f; B++) _[L + B] = m[C + B];
5177
5177
  }
5178
5178
  return t;
5179
5179
  }
@@ -5217,8 +5217,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5217
5217
  c.data[m + _ + 0] = Math.floor(255 * C.r / C.a), c.data[m + _ + 1] = Math.floor(255 * C.g / C.a), c.data[m + _ + 2] = Math.floor(255 * C.b / C.a), c.data[m + _ + 3] = Math.floor(255 * C.a);
5218
5218
  };
5219
5219
  if (n.clips) for (let m = 0, _ = 0; m < o; ++m, _ += 4 * i) for (let w = 0, C = 0; w < i; w++, C += 4) {
5220
- const R = w / (i - 1), { start: B, end: V } = n.clips[m];
5221
- f(_, C, B * (1 - R) + V * R);
5220
+ const L = w / (i - 1), { start: B, end: V } = n.clips[m];
5221
+ f(_, C, B * (1 - L) + V * L);
5222
5222
  }
5223
5223
  else for (let m = 0, _ = 0; m < i; m++, _ += 4) f(0, _, m / (i - 1));
5224
5224
  return c;
@@ -5287,8 +5287,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5287
5287
  for (const m of t) {
5288
5288
  const _ = m.paint.get(`${n}-pattern`).value;
5289
5289
  if (_.kind !== "constant") {
5290
- let w = _.evaluate({ zoom: o - 1 }, i, {}, c.availableImages), C = _.evaluate({ zoom: o }, i, {}, c.availableImages), R = _.evaluate({ zoom: o + 1 }, i, {}, c.availableImages);
5291
- w = w && w.name ? w.name : w, C = C && C.name ? C.name : C, R = R && R.name ? R.name : R, f[w] = !0, f[C] = !0, f[R] = !0, i.patterns[m.id] = { min: w, mid: C, max: R };
5290
+ let w = _.evaluate({ zoom: o - 1 }, i, {}, c.availableImages), C = _.evaluate({ zoom: o }, i, {}, c.availableImages), L = _.evaluate({ zoom: o + 1 }, i, {}, c.availableImages);
5291
+ w = w && w.name ? w.name : w, C = C && C.name ? C.name : C, L = L && L.name ? L.name : L, f[w] = !0, f[C] = !0, f[L] = !0, i.patterns[m.id] = { min: w, mid: C, max: L };
5292
5292
  }
5293
5293
  }
5294
5294
  return i;
@@ -5296,9 +5296,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5296
5296
  function nf(n, t, i, o, c) {
5297
5297
  let f;
5298
5298
  if (c === function(m, _, w, C) {
5299
- let R = 0;
5300
- for (let B = _, V = w - C; B < w; B += C) R += (m[V] - m[B]) * (m[B + 1] + m[V + 1]), V = B;
5301
- return R;
5299
+ let L = 0;
5300
+ for (let B = _, V = w - C; B < w; B += C) L += (m[V] - m[B]) * (m[B + 1] + m[V + 1]), V = B;
5301
+ return L;
5302
5302
  }(n, t, i, o) > 0) for (let m = t; m < i; m += o) f = lf(m / o | 0, n[m], n[m + 1], f);
5303
5303
  else for (let m = i - o; m >= t; m -= o) f = lf(m / o | 0, n[m], n[m + 1], f);
5304
5304
  return f && el(f, f.next) && (uc(f), f = f.next), f;
@@ -5318,10 +5318,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5318
5318
  }
5319
5319
  function ac(n, t, i, o, c, f, m) {
5320
5320
  if (!n) return;
5321
- !m && f && function(w, C, R, B) {
5321
+ !m && f && function(w, C, L, B) {
5322
5322
  let V = w;
5323
5323
  do
5324
- V.z === 0 && (V.z = xp(V.x, V.y, C, R, B)), V.prevZ = V.prev, V.nextZ = V.next, V = V.next;
5324
+ V.z === 0 && (V.z = xp(V.x, V.y, C, L, B)), V.prevZ = V.prev, V.nextZ = V.next, V = V.next;
5325
5325
  while (V !== w);
5326
5326
  V.prevZ.nextZ = null, V.prevZ = null, function(j) {
5327
5327
  let H, J = 1;
@@ -5354,10 +5354,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5354
5354
  function h_(n) {
5355
5355
  const t = n.prev, i = n, o = n.next;
5356
5356
  if (ii(t, i, o) >= 0) return !1;
5357
- const c = t.x, f = i.x, m = o.x, _ = t.y, w = i.y, C = o.y, R = Math.min(c, f, m), B = Math.min(_, w, C), V = Math.max(c, f, m), j = Math.max(_, w, C);
5357
+ const c = t.x, f = i.x, m = o.x, _ = t.y, w = i.y, C = o.y, L = Math.min(c, f, m), B = Math.min(_, w, C), V = Math.max(c, f, m), j = Math.max(_, w, C);
5358
5358
  let H = o.next;
5359
5359
  for (; H !== t; ) {
5360
- if (H.x >= R && H.x <= V && H.y >= B && H.y <= j && lc(c, _, f, w, m, C, H.x, H.y) && ii(H.prev, H, H.next) >= 0) return !1;
5360
+ if (H.x >= L && H.x <= V && H.y >= B && H.y <= j && lc(c, _, f, w, m, C, H.x, H.y) && ii(H.prev, H, H.next) >= 0) return !1;
5361
5361
  H = H.next;
5362
5362
  }
5363
5363
  return !0;
@@ -5365,18 +5365,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5365
5365
  function p_(n, t, i, o) {
5366
5366
  const c = n.prev, f = n, m = n.next;
5367
5367
  if (ii(c, f, m) >= 0) return !1;
5368
- const _ = c.x, w = f.x, C = m.x, R = c.y, B = f.y, V = m.y, j = Math.min(_, w, C), H = Math.min(R, B, V), J = Math.max(_, w, C), te = Math.max(R, B, V), ae = xp(j, H, t, i, o), Se = xp(J, te, t, i, o);
5368
+ const _ = c.x, w = f.x, C = m.x, L = c.y, B = f.y, V = m.y, j = Math.min(_, w, C), H = Math.min(L, B, V), J = Math.max(_, w, C), te = Math.max(L, B, V), ae = xp(j, H, t, i, o), Se = xp(J, te, t, i, o);
5369
5369
  let fe = n.prevZ, U = n.nextZ;
5370
5370
  for (; fe && fe.z >= ae && U && U.z <= Se; ) {
5371
- if (fe.x >= j && fe.x <= J && fe.y >= H && fe.y <= te && fe !== c && fe !== m && lc(_, R, w, B, C, V, fe.x, fe.y) && ii(fe.prev, fe, fe.next) >= 0 || (fe = fe.prevZ, U.x >= j && U.x <= J && U.y >= H && U.y <= te && U !== c && U !== m && lc(_, R, w, B, C, V, U.x, U.y) && ii(U.prev, U, U.next) >= 0)) return !1;
5371
+ if (fe.x >= j && fe.x <= J && fe.y >= H && fe.y <= te && fe !== c && fe !== m && lc(_, L, w, B, C, V, fe.x, fe.y) && ii(fe.prev, fe, fe.next) >= 0 || (fe = fe.prevZ, U.x >= j && U.x <= J && U.y >= H && U.y <= te && U !== c && U !== m && lc(_, L, w, B, C, V, U.x, U.y) && ii(U.prev, U, U.next) >= 0)) return !1;
5372
5372
  U = U.nextZ;
5373
5373
  }
5374
5374
  for (; fe && fe.z >= ae; ) {
5375
- if (fe.x >= j && fe.x <= J && fe.y >= H && fe.y <= te && fe !== c && fe !== m && lc(_, R, w, B, C, V, fe.x, fe.y) && ii(fe.prev, fe, fe.next) >= 0) return !1;
5375
+ if (fe.x >= j && fe.x <= J && fe.y >= H && fe.y <= te && fe !== c && fe !== m && lc(_, L, w, B, C, V, fe.x, fe.y) && ii(fe.prev, fe, fe.next) >= 0) return !1;
5376
5376
  fe = fe.prevZ;
5377
5377
  }
5378
5378
  for (; U && U.z <= Se; ) {
5379
- if (U.x >= j && U.x <= J && U.y >= H && U.y <= te && U !== c && U !== m && lc(_, R, w, B, C, V, U.x, U.y) && ii(U.prev, U, U.next) >= 0) return !1;
5379
+ if (U.x >= j && U.x <= J && U.y >= H && U.y <= te && U !== c && U !== m && lc(_, L, w, B, C, V, U.x, U.y) && ii(U.prev, U, U.next) >= 0) return !1;
5380
5380
  U = U.nextZ;
5381
5381
  }
5382
5382
  return !0;
@@ -5411,13 +5411,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5411
5411
  const i = function(c, f) {
5412
5412
  let m = f;
5413
5413
  const _ = c.x, w = c.y;
5414
- let C, R = -1 / 0;
5414
+ let C, L = -1 / 0;
5415
5415
  if (el(c, m)) return m;
5416
5416
  do {
5417
5417
  if (el(c, m.next)) return m.next;
5418
5418
  if (w <= m.y && w >= m.next.y && m.next.y !== m.y) {
5419
5419
  const J = m.x + (w - m.y) * (m.next.x - m.x) / (m.next.y - m.y);
5420
- if (J <= _ && J > R && (R = J, C = m.x < m.next.x ? m : m.next, J === _)) return C;
5420
+ if (J <= _ && J > L && (L = J, C = m.x < m.next.x ? m : m.next, J === _)) return C;
5421
5421
  }
5422
5422
  m = m.next;
5423
5423
  } while (m !== f);
@@ -5426,7 +5426,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5426
5426
  let H = 1 / 0;
5427
5427
  m = C;
5428
5428
  do {
5429
- if (_ >= m.x && m.x >= V && _ !== m.x && sf(w < j ? _ : R, w, V, j, w < j ? R : _, w, m.x, m.y)) {
5429
+ if (_ >= m.x && m.x >= V && _ !== m.x && sf(w < j ? _ : L, w, V, j, w < j ? L : _, w, m.x, m.y)) {
5430
5430
  const J = Math.abs(w - m.y) / (_ - m.x);
5431
5431
  cc(m, c) && (J < H || J === H && (m.x > C.x || m.x === C.x && y_(C, m))) && (C = m, H = J);
5432
5432
  }
@@ -5541,21 +5541,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5541
5541
  if (this._granularity < 2) return function(c, f) {
5542
5542
  const m = [];
5543
5543
  for (let _ = 0; _ < f.length; _ += 3) {
5544
- const w = f[_], C = f[_ + 1], R = f[_ + 2], B = c[2 * w], V = c[2 * w + 1];
5545
- (c[2 * C] - B) * (c[2 * R + 1] - V) - (c[2 * C + 1] - V) * (c[2 * R] - B) > 0 ? (m.push(w), m.push(R), m.push(C)) : (m.push(w), m.push(C), m.push(R));
5544
+ const w = f[_], C = f[_ + 1], L = f[_ + 2], B = c[2 * w], V = c[2 * w + 1];
5545
+ (c[2 * C] - B) * (c[2 * L + 1] - V) - (c[2 * C + 1] - V) * (c[2 * L] - B) > 0 ? (m.push(w), m.push(L), m.push(C)) : (m.push(w), m.push(C), m.push(L));
5546
5546
  }
5547
5547
  return m;
5548
5548
  }(this._vertexBuffer, t);
5549
5549
  const i = [], o = t.length;
5550
5550
  for (let c = 0; c < o; c += 3) {
5551
5551
  const f = [t[c + 0], t[c + 1], t[c + 2]], m = [this._vertexBuffer[2 * t[c + 0] + 0], this._vertexBuffer[2 * t[c + 0] + 1], this._vertexBuffer[2 * t[c + 1] + 0], this._vertexBuffer[2 * t[c + 1] + 1], this._vertexBuffer[2 * t[c + 2] + 0], this._vertexBuffer[2 * t[c + 2] + 1]];
5552
- let _ = 1 / 0, w = 1 / 0, C = -1 / 0, R = -1 / 0;
5552
+ let _ = 1 / 0, w = 1 / 0, C = -1 / 0, L = -1 / 0;
5553
5553
  for (let J = 0; J < 3; J++) {
5554
5554
  const te = m[2 * J], ae = m[2 * J + 1];
5555
- _ = Math.min(_, te), C = Math.max(C, te), w = Math.min(w, ae), R = Math.max(R, ae);
5555
+ _ = Math.min(_, te), C = Math.max(C, te), w = Math.min(w, ae), L = Math.max(L, ae);
5556
5556
  }
5557
- if (_ === C || w === R) continue;
5558
- const B = Math.floor(_ / this._granularityCellSize), V = Math.ceil(C / this._granularityCellSize), j = Math.floor(w / this._granularityCellSize), H = Math.ceil(R / this._granularityCellSize);
5557
+ if (_ === C || w === L) continue;
5558
+ const B = Math.floor(_ / this._granularityCellSize), V = Math.ceil(C / this._granularityCellSize), j = Math.floor(w / this._granularityCellSize), H = Math.ceil(L / this._granularityCellSize);
5559
5559
  if (B !== V || j !== H) for (let J = j; J < H; J++) {
5560
5560
  const te = this._scanlineGenerateVertexRingForCellRow(J, m, f);
5561
5561
  b_(this._vertexBuffer, te, i);
@@ -5567,20 +5567,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5567
5567
  _scanlineGenerateVertexRingForCellRow(t, i, o) {
5568
5568
  const c = t * this._granularityCellSize, f = c + this._granularityCellSize, m = [];
5569
5569
  for (let _ = 0; _ < 3; _++) {
5570
- const w = i[2 * _], C = i[2 * _ + 1], R = i[2 * (_ + 1) % 6], B = i[(2 * (_ + 1) + 1) % 6], V = i[2 * (_ + 2) % 6], j = i[(2 * (_ + 2) + 1) % 6], H = R - w, J = B - C, te = H === 0, ae = J === 0, Se = (c - C) / J, fe = (f - C) / J, U = Math.min(Se, fe), Q = Math.max(Se, fe);
5570
+ const w = i[2 * _], C = i[2 * _ + 1], L = i[2 * (_ + 1) % 6], B = i[(2 * (_ + 1) + 1) % 6], V = i[2 * (_ + 2) % 6], j = i[(2 * (_ + 2) + 1) % 6], H = L - w, J = B - C, te = H === 0, ae = J === 0, Se = (c - C) / J, fe = (f - C) / J, U = Math.min(Se, fe), Q = Math.max(Se, fe);
5571
5571
  if (!ae && (U >= 1 || Q <= 0) || ae && (C < c || C > f)) {
5572
5572
  B >= c && B <= f && m.push(o[(_ + 1) % 3]);
5573
5573
  continue;
5574
5574
  }
5575
5575
  !ae && U > 0 && m.push(this._vertexToIndex(w + H * U, C + J * U));
5576
5576
  const ge = w + H * Math.max(U, 0), Re = w + H * Math.min(Q, 1);
5577
- te || this._generateIntraEdgeVertices(m, w, C, R, B, ge, Re), !ae && Q < 1 && m.push(this._vertexToIndex(w + H * Q, C + J * Q)), (ae || B >= c && B <= f) && m.push(o[(_ + 1) % 3]), !ae && (B <= c || B >= f) && this._generateInterEdgeVertices(m, w, C, R, B, V, j, Re, c, f);
5577
+ te || this._generateIntraEdgeVertices(m, w, C, L, B, ge, Re), !ae && Q < 1 && m.push(this._vertexToIndex(w + H * Q, C + J * Q)), (ae || B >= c && B <= f) && m.push(o[(_ + 1) % 3]), !ae && (B <= c || B >= f) && this._generateInterEdgeVertices(m, w, C, L, B, V, j, Re, c, f);
5578
5578
  }
5579
5579
  return m;
5580
5580
  }
5581
5581
  _generateIntraEdgeVertices(t, i, o, c, f, m, _) {
5582
- const w = c - i, C = f - o, R = C === 0, B = R ? Math.min(i, c) : Math.min(m, _), V = R ? Math.max(i, c) : Math.max(m, _), j = Math.floor(B / this._granularityCellSize) + 1, H = Math.ceil(V / this._granularityCellSize) - 1;
5583
- if (R ? i < c : m < _) for (let J = j; J <= H; J++) {
5582
+ const w = c - i, C = f - o, L = C === 0, B = L ? Math.min(i, c) : Math.min(m, _), V = L ? Math.max(i, c) : Math.max(m, _), j = Math.floor(B / this._granularityCellSize) + 1, H = Math.ceil(V / this._granularityCellSize) - 1;
5583
+ if (L ? i < c : m < _) for (let J = j; J <= H; J++) {
5584
5584
  const te = J * this._granularityCellSize;
5585
5585
  t.push(this._vertexToIndex(te, o + C * (te - i) / w));
5586
5586
  }
@@ -5589,16 +5589,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5589
5589
  t.push(this._vertexToIndex(te, o + C * (te - i) / w));
5590
5590
  }
5591
5591
  }
5592
- _generateInterEdgeVertices(t, i, o, c, f, m, _, w, C, R) {
5593
- const B = f - o, V = m - c, j = _ - f, H = (C - f) / j, J = (R - f) / j, te = Math.min(H, J), ae = Math.max(H, J), Se = c + V * te;
5592
+ _generateInterEdgeVertices(t, i, o, c, f, m, _, w, C, L) {
5593
+ const B = f - o, V = m - c, j = _ - f, H = (C - f) / j, J = (L - f) / j, te = Math.min(H, J), ae = Math.max(H, J), Se = c + V * te;
5594
5594
  let fe = Math.floor(Math.min(Se, w) / this._granularityCellSize) + 1, U = Math.ceil(Math.max(Se, w) / this._granularityCellSize) - 1, Q = w < Se;
5595
5595
  const ge = j === 0;
5596
- if (ge && (_ === C || _ === R)) return;
5596
+ if (ge && (_ === C || _ === L)) return;
5597
5597
  if (ge || te >= 1 || ae <= 0) {
5598
- const tt = o - _, Ve = m + (i - m) * Math.min((C - _) / tt, (R - _) / tt);
5598
+ const tt = o - _, Ve = m + (i - m) * Math.min((C - _) / tt, (L - _) / tt);
5599
5599
  fe = Math.floor(Math.min(Ve, w) / this._granularityCellSize) + 1, U = Math.ceil(Math.max(Ve, w) / this._granularityCellSize) - 1, Q = w < Ve;
5600
5600
  }
5601
- const Re = B > 0 ? R : C;
5601
+ const Re = B > 0 ? L : C;
5602
5602
  if (Q) for (let tt = fe; tt <= U; tt++) t.push(this._vertexToIndex(tt * this._granularityCellSize, Re));
5603
5603
  else for (let tt = U; tt >= fe; tt--) t.push(this._vertexToIndex(tt * this._granularityCellSize, Re));
5604
5604
  }
@@ -5628,8 +5628,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5628
5628
  _fillPoles(t, i, o) {
5629
5629
  const c = this._vertexBuffer, f = lr, m = t.length;
5630
5630
  for (let _ = 2; _ < m; _ += 3) {
5631
- const w = t[_ - 2], C = t[_ - 1], R = t[_], B = c[2 * w], V = c[2 * w + 1], j = c[2 * C], H = c[2 * C + 1], J = c[2 * R], te = c[2 * R + 1];
5632
- i && (V === 0 && H === 0 && this._generatePoleQuad(t, w, C, B, j, rl), H === 0 && te === 0 && this._generatePoleQuad(t, C, R, j, J, rl), te === 0 && V === 0 && this._generatePoleQuad(t, R, w, J, B, rl)), o && (V === f && H === f && this._generatePoleQuad(t, w, C, B, j, hc), H === f && te === f && this._generatePoleQuad(t, C, R, j, J, hc), te === f && V === f && this._generatePoleQuad(t, R, w, J, B, hc));
5631
+ const w = t[_ - 2], C = t[_ - 1], L = t[_], B = c[2 * w], V = c[2 * w + 1], j = c[2 * C], H = c[2 * C + 1], J = c[2 * L], te = c[2 * L + 1];
5632
+ i && (V === 0 && H === 0 && this._generatePoleQuad(t, w, C, B, j, rl), H === 0 && te === 0 && this._generatePoleQuad(t, C, L, j, J, rl), te === 0 && V === 0 && this._generatePoleQuad(t, L, w, J, B, rl)), o && (V === f && H === f && this._generatePoleQuad(t, w, C, B, j, hc), H === f && te === f && this._generatePoleQuad(t, C, L, j, J, hc), te === f && V === f && this._generatePoleQuad(t, L, w, J, B, hc));
5633
5633
  }
5634
5634
  }
5635
5635
  _initializeVertices(t) {
@@ -5640,17 +5640,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5640
5640
  this._used = !0;
5641
5641
  const { flattened: o, holeIndices: c } = function(_) {
5642
5642
  const w = [], C = [];
5643
- for (const R of _) if (R.length !== 0) {
5644
- R !== _[0] && w.push(C.length / 2);
5645
- for (let B = 0; B < R.length; B++) C.push(R[B].x), C.push(R[B].y);
5643
+ for (const L of _) if (L.length !== 0) {
5644
+ L !== _[0] && w.push(C.length / 2);
5645
+ for (let B = 0; B < L.length; B++) C.push(L[B].x), C.push(L[B].y);
5646
5646
  }
5647
5647
  return { flattened: C, holeIndices: w };
5648
5648
  }(t);
5649
5649
  let f;
5650
5650
  this._initializeVertices(o);
5651
5651
  try {
5652
- const _ = function(C, R, B = 2) {
5653
- const V = R && R.length, j = V ? R[0] * B : C.length;
5652
+ const _ = function(C, L, B = 2) {
5653
+ const V = L && L.length, j = V ? L[0] * B : C.length;
5654
5654
  let H = nf(C, 0, j, B, !0);
5655
5655
  const J = [];
5656
5656
  if (!H || H.next === H.prev) return J;
@@ -5664,7 +5664,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5664
5664
  Re.sort(m_);
5665
5665
  for (let tt = 0; tt < Re.length; tt++) Q = g_(Re[tt], Q);
5666
5666
  return Q;
5667
- }(C, R, H, B)), C.length > 80 * B) {
5667
+ }(C, L, H, B)), C.length > 80 * B) {
5668
5668
  te = 1 / 0, ae = 1 / 0;
5669
5669
  let fe = -1 / 0, U = -1 / 0;
5670
5670
  for (let Q = B; Q < j; Q += B) {
@@ -5707,8 +5707,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5707
5707
  const m = Math.floor(lr / t), _ = [];
5708
5708
  _.push(new T(n[0].x, n[0].y));
5709
5709
  const w = n.length, C = f ? w : w - 1;
5710
- for (let R = 0; R < C; R++) {
5711
- const B = n[R], V = R < w - 1 ? n[R + 1] : n[0], j = B.x, H = B.y, J = V.x, te = V.y, ae = j !== J, Se = H !== te;
5710
+ for (let L = 0; L < C; L++) {
5711
+ const B = n[L], V = L < w - 1 ? n[L + 1] : n[0], j = B.x, H = B.y, J = V.x, te = V.y, ae = j !== J, Se = H !== te;
5712
5712
  if (!ae && !Se) continue;
5713
5713
  const fe = J - j, U = te - H, Q = Math.abs(fe), ge = Math.abs(U);
5714
5714
  let Re = j, tt = H;
@@ -5740,13 +5740,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5740
5740
  const f = t.length;
5741
5741
  let m = o, _ = (m + 1) % f;
5742
5742
  for (; ; ) {
5743
- const w = m - 1 >= 0 ? m - 1 : f - 1, C = (_ + 1) % f, R = n[2 * t[w]], B = n[2 * t[C]], V = n[2 * t[m]], j = n[2 * t[m] + 1], H = n[2 * t[_] + 1];
5743
+ const w = m - 1 >= 0 ? m - 1 : f - 1, C = (_ + 1) % f, L = n[2 * t[w]], B = n[2 * t[C]], V = n[2 * t[m]], j = n[2 * t[m] + 1], H = n[2 * t[_] + 1];
5744
5744
  let J = !1;
5745
- if (R < B) J = !0;
5746
- else if (R > B) J = !1;
5745
+ if (L < B) J = !0;
5746
+ else if (L > B) J = !1;
5747
5747
  else {
5748
5748
  const te = H - j, ae = -(n[2 * t[_]] - V), Se = j < H ? 1 : -1;
5749
- ((R - V) * te + (n[2 * t[w] + 1] - j) * ae) * Se > ((B - V) * te + (n[2 * t[C] + 1] - j) * ae) * Se && (J = !0);
5749
+ ((L - V) * te + (n[2 * t[w] + 1] - j) * ae) * Se > ((B - V) * te + (n[2 * t[C] + 1] - j) * ae) * Se && (J = !0);
5750
5750
  }
5751
5751
  if (J) {
5752
5752
  const te = t[w], ae = t[m], Se = t[_];
@@ -5759,14 +5759,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5759
5759
  }
5760
5760
  }
5761
5761
  function uf(n, t, i, o, c, f, m, _, w) {
5762
- const C = c.length / 2, R = m && _ && w;
5762
+ const C = c.length / 2, L = m && _ && w;
5763
5763
  if (C < yr.MAX_VERTEX_ARRAY_LENGTH) {
5764
5764
  const B = t.prepareSegment(C, i, o), V = B.vertexLength;
5765
5765
  for (let J = 0; J < f.length; J += 3) o.emplaceBack(V + f[J], V + f[J + 1], V + f[J + 2]);
5766
5766
  let j, H;
5767
- B.vertexLength += C, B.primitiveLength += f.length / 3, R && (H = m.prepareSegment(C, i, _), j = H.vertexLength, H.vertexLength += C);
5767
+ B.vertexLength += C, B.primitiveLength += f.length / 3, L && (H = m.prepareSegment(C, i, _), j = H.vertexLength, H.vertexLength += C);
5768
5768
  for (let J = 0; J < c.length; J += 2) n(c[J], c[J + 1]);
5769
- if (R) for (let J = 0; J < w.length; J++) {
5769
+ if (L) for (let J = 0; J < w.length; J++) {
5770
5770
  const te = w[J];
5771
5771
  for (let ae = 1; ae < te.length; ae += 2) _.emplaceBack(j + te[ae - 1], j + te[ae]);
5772
5772
  H.primitiveLength += te.length / 2;
@@ -5783,7 +5783,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5783
5783
  const ct = pc(ae, H, te, Se, Re, We, U), Ge = pc(ae, H, te, Se, tt, at, U), kt = pc(ae, H, te, Se, Ve, rt, U);
5784
5784
  j.emplaceBack(Q + ct - fe, Q + Ge - fe, Q + kt - fe), U.primitiveLength++;
5785
5785
  }
5786
- })(t, i, o, c, f, n), R && function(B, V, j, H, J, te) {
5786
+ })(t, i, o, c, f, n), L && function(B, V, j, H, J, te) {
5787
5787
  const ae = [];
5788
5788
  for (let ge = 0; ge < H.length / 2; ge++) ae.push(-1);
5789
5789
  const Se = { count: 0 };
@@ -5814,20 +5814,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5814
5814
  populate(t, i, o) {
5815
5815
  this.hasPattern = _p("fill", this.layers, i);
5816
5816
  const c = this.layers[0].layout.get("fill-sort-key"), f = !c.isConstant(), m = [];
5817
- for (const { feature: _, id: w, index: C, sourceLayerIndex: R } of t) {
5817
+ for (const { feature: _, id: w, index: C, sourceLayerIndex: L } of t) {
5818
5818
  const B = this.layers[0]._featureFilter.needGeometry, V = Xo(_, B);
5819
5819
  if (!this.layers[0]._featureFilter.filter(new Fr(this.zoom), V, o)) continue;
5820
- const j = f ? c.evaluate(V, {}, o, i.availableImages) : void 0, H = { id: w, properties: _.properties, type: _.type, sourceLayerIndex: R, index: C, geometry: B ? V.geometry : Jo(_), patterns: {}, sortKey: j };
5820
+ const j = f ? c.evaluate(V, {}, o, i.availableImages) : void 0, H = { id: w, properties: _.properties, type: _.type, sourceLayerIndex: L, index: C, geometry: B ? V.geometry : Jo(_), patterns: {}, sortKey: j };
5821
5821
  m.push(H);
5822
5822
  }
5823
5823
  f && m.sort((_, w) => _.sortKey - w.sortKey);
5824
5824
  for (const _ of m) {
5825
- const { geometry: w, index: C, sourceLayerIndex: R } = _;
5825
+ const { geometry: w, index: C, sourceLayerIndex: L } = _;
5826
5826
  if (this.hasPattern) {
5827
5827
  const B = vp("fill", this.layers, _, this.zoom, i);
5828
5828
  this.patternFeatures.push(B);
5829
5829
  } else this.addFeature(_, w, C, o, {}, i.subdivisionGranularity);
5830
- i.featureIndex.insert(t[C].feature, w, C, R, this.index);
5830
+ i.featureIndex.insert(t[C].feature, w, C, L, this.index);
5831
5831
  }
5832
5832
  }
5833
5833
  update(t, i, o) {
@@ -5851,8 +5851,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5851
5851
  addFeature(t, i, o, c, f, m) {
5852
5852
  for (const _ of Aa(i, 500)) {
5853
5853
  const w = cf(_, c, m.fill.getGranularityForZoomLevel(c.z)), C = this.layoutVertexArray;
5854
- uf((R, B) => {
5855
- C.emplaceBack(R, B);
5854
+ uf((L, B) => {
5855
+ C.emplaceBack(L, B);
5856
5856
  }, this.segments, this.layoutVertexArray, this.indexArray, w.verticesFlattened, w.indicesTriangles, this.segments2, this.indexArray2, w.indicesLineList);
5857
5857
  }
5858
5858
  this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, o, f, c);
@@ -5899,24 +5899,24 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5899
5899
  function i(c, f, m) {
5900
5900
  c == 1 ? f.id = m.readVarint() : c == 2 ? function(_, w) {
5901
5901
  for (var C = _.readVarint() + _.pos; _.pos < C; ) {
5902
- var R = w._keys[_.readVarint()], B = w._values[_.readVarint()];
5903
- w.properties[R] = B;
5902
+ var L = w._keys[_.readVarint()], B = w._values[_.readVarint()];
5903
+ w.properties[L] = B;
5904
5904
  }
5905
5905
  }(m, f) : c == 3 ? f.type = m.readVarint() : c == 4 && (f._geometry = m.pos);
5906
5906
  }
5907
5907
  function o(c) {
5908
- for (var f, m, _ = 0, w = 0, C = c.length, R = C - 1; w < C; R = w++) _ += ((m = c[R]).x - (f = c[w]).x) * (f.y + m.y);
5908
+ for (var f, m, _ = 0, w = 0, C = c.length, L = C - 1; w < C; L = w++) _ += ((m = c[L]).x - (f = c[w]).x) * (f.y + m.y);
5909
5909
  return _;
5910
5910
  }
5911
5911
  return Sp = t, t.types = ["Unknown", "Point", "LineString", "Polygon"], t.prototype.loadGeometry = function() {
5912
5912
  var c = this._pbf;
5913
5913
  c.pos = this._geometry;
5914
- for (var f, m = c.readVarint() + c.pos, _ = 1, w = 0, C = 0, R = 0, B = []; c.pos < m; ) {
5914
+ for (var f, m = c.readVarint() + c.pos, _ = 1, w = 0, C = 0, L = 0, B = []; c.pos < m; ) {
5915
5915
  if (w <= 0) {
5916
5916
  var V = c.readVarint();
5917
5917
  _ = 7 & V, w = V >> 3;
5918
5918
  }
5919
- if (w--, _ === 1 || _ === 2) C += c.readSVarint(), R += c.readSVarint(), _ === 1 && (f && B.push(f), f = []), f.push(new n(C, R));
5919
+ if (w--, _ === 1 || _ === 2) C += c.readSVarint(), L += c.readSVarint(), _ === 1 && (f && B.push(f), f = []), f.push(new n(C, L));
5920
5920
  else {
5921
5921
  if (_ !== 7) throw new Error("unknown command " + _);
5922
5922
  f && f.push(f[0].clone());
@@ -5926,21 +5926,21 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5926
5926
  }, t.prototype.bbox = function() {
5927
5927
  var c = this._pbf;
5928
5928
  c.pos = this._geometry;
5929
- for (var f = c.readVarint() + c.pos, m = 1, _ = 0, w = 0, C = 0, R = 1 / 0, B = -1 / 0, V = 1 / 0, j = -1 / 0; c.pos < f; ) {
5929
+ for (var f = c.readVarint() + c.pos, m = 1, _ = 0, w = 0, C = 0, L = 1 / 0, B = -1 / 0, V = 1 / 0, j = -1 / 0; c.pos < f; ) {
5930
5930
  if (_ <= 0) {
5931
5931
  var H = c.readVarint();
5932
5932
  m = 7 & H, _ = H >> 3;
5933
5933
  }
5934
- if (_--, m === 1 || m === 2) (w += c.readSVarint()) < R && (R = w), w > B && (B = w), (C += c.readSVarint()) < V && (V = C), C > j && (j = C);
5934
+ if (_--, m === 1 || m === 2) (w += c.readSVarint()) < L && (L = w), w > B && (B = w), (C += c.readSVarint()) < V && (V = C), C > j && (j = C);
5935
5935
  else if (m !== 7) throw new Error("unknown command " + m);
5936
5936
  }
5937
- return [R, V, B, j];
5937
+ return [L, V, B, j];
5938
5938
  }, t.prototype.toGeoJSON = function(c, f, m) {
5939
- var _, w, C = this.extent * Math.pow(2, m), R = this.extent * c, B = this.extent * f, V = this.loadGeometry(), j = t.types[this.type];
5939
+ var _, w, C = this.extent * Math.pow(2, m), L = this.extent * c, B = this.extent * f, V = this.loadGeometry(), j = t.types[this.type];
5940
5940
  function H(ae) {
5941
5941
  for (var Se = 0; Se < ae.length; Se++) {
5942
5942
  var fe = ae[Se];
5943
- ae[Se] = [360 * (fe.x + R) / C - 180, 360 / Math.PI * Math.atan(Math.exp((180 - 360 * (fe.y + B) / C) * Math.PI / 180)) - 90];
5943
+ ae[Se] = [360 * (fe.x + L) / C - 180, 360 / Math.PI * Math.atan(Math.exp((180 - 360 * (fe.y + B) / C) * Math.PI / 180)) - 90];
5944
5944
  }
5945
5945
  }
5946
5946
  switch (this.type) {
@@ -6021,8 +6021,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6021
6021
  for (const { feature: c, id: f, index: m, sourceLayerIndex: _ } of t) {
6022
6022
  const w = this.layers[0]._featureFilter.needGeometry, C = Xo(c, w);
6023
6023
  if (!this.layers[0]._featureFilter.filter(new Fr(this.zoom), C, o)) continue;
6024
- const R = { id: f, sourceLayerIndex: _, index: m, geometry: w ? C.geometry : Jo(c), properties: c.properties, type: c.type, patterns: {} };
6025
- this.hasPattern ? this.features.push(vp("fill-extrusion", this.layers, R, this.zoom, i)) : this.addFeature(R, R.geometry, m, o, {}, i.subdivisionGranularity), i.featureIndex.insert(c, R.geometry, m, _, this.index, !0);
6024
+ const L = { id: f, sourceLayerIndex: _, index: m, geometry: w ? C.geometry : Jo(c), properties: c.properties, type: c.type, patterns: {} };
6025
+ this.hasPattern ? this.features.push(vp("fill-extrusion", this.layers, L, this.zoom, i)) : this.addFeature(L, L.geometry, m, o, {}, i.subdivisionGranularity), i.featureIndex.insert(c, L.geometry, m, _, this.index, !0);
6026
6026
  }
6027
6027
  }
6028
6028
  addFeatures(t, i, o) {
@@ -6050,8 +6050,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6050
6050
  for (const _ of Aa(i, 500)) {
6051
6051
  const w = { x: 0, y: 0, sampleCount: 0 }, C = this.layoutVertexArray.length;
6052
6052
  this.processPolygon(w, c, t, _, m);
6053
- const R = this.layoutVertexArray.length - C, B = Math.floor(w.x / w.sampleCount), V = Math.floor(w.y / w.sampleCount);
6054
- for (let j = 0; j < R; j++) this.centroidVertexArray.emplaceBack(B, V);
6053
+ const L = this.layoutVertexArray.length - C, B = Math.floor(w.x / w.sampleCount), V = Math.floor(w.y / w.sampleCount);
6054
+ for (let j = 0; j < L; j++) this.centroidVertexArray.emplaceBack(B, V);
6055
6055
  }
6056
6056
  this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, o, f, c);
6057
6057
  }
@@ -6065,9 +6065,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6065
6065
  this._generateSideFaces(V, m);
6066
6066
  }
6067
6067
  if (!w) return;
6068
- const C = cf(c, i, _, !1), R = this.layoutVertexArray;
6068
+ const C = cf(c, i, _, !1), L = this.layoutVertexArray;
6069
6069
  uf((B, V) => {
6070
- fc(R, B, V, 0, 0, 1, 1, 0);
6070
+ fc(L, B, V, 0, 0, 1, 1, 0);
6071
6071
  }, this.segments, this.layoutVertexArray, this.indexArray, C.verticesFlattened, C.indicesTriangles);
6072
6072
  }
6073
6073
  _generateSideFaces(t, i) {
@@ -6114,7 +6114,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6114
6114
  return !0;
6115
6115
  }
6116
6116
  queryIntersectsFeature({ queryGeometry: t, feature: i, featureState: o, geometry: c, transform: f, pixelsToTileUnits: m, pixelPosMatrix: _ }) {
6117
- const w = Pu(t, this.paint.get("fill-extrusion-translate"), this.paint.get("fill-extrusion-translate-anchor"), -f.bearingInRadians, m), C = this.paint.get("fill-extrusion-height").evaluate(i, o), R = this.paint.get("fill-extrusion-base").evaluate(i, o), B = function(j, H, J) {
6117
+ const w = Pu(t, this.paint.get("fill-extrusion-translate"), this.paint.get("fill-extrusion-translate-anchor"), -f.bearingInRadians, m), C = this.paint.get("fill-extrusion-height").evaluate(i, o), L = this.paint.get("fill-extrusion-base").evaluate(i, o), B = function(j, H, J) {
6118
6118
  const te = [];
6119
6119
  for (const ae of j) {
6120
6120
  const Se = [ae.x, ae.y, 0, 1];
@@ -6134,7 +6134,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6134
6134
  ae.push(rt), Se.push(ct);
6135
6135
  }
6136
6136
  return [ae, Se];
6137
- }(c, R, C, _);
6137
+ }(c, L, C, _);
6138
6138
  return function(j, H, J) {
6139
6139
  let te = 1 / 0;
6140
6140
  Zd(J, H) && (te = wf(J, H[0]));
@@ -6159,7 +6159,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6159
6159
  let c;
6160
6160
  for (; !c || o.equals(c); ) if (c = t[i++], !c) return 1 / 0;
6161
6161
  for (; i < t.length; i++) {
6162
- const f = t[i], m = n[0], _ = c.sub(o), w = f.sub(o), C = m.sub(o), R = mc(_, _), B = mc(_, w), V = mc(w, w), j = mc(C, _), H = mc(C, w), J = R * V - B * B, te = (V * j - B * H) / J, ae = (R * H - B * j) / J, Se = o.z * (1 - te - ae) + c.z * te + f.z * ae;
6162
+ const f = t[i], m = n[0], _ = c.sub(o), w = f.sub(o), C = m.sub(o), L = mc(_, _), B = mc(_, w), V = mc(w, w), j = mc(C, _), H = mc(C, w), J = L * V - B * B, te = (V * j - B * H) / J, ae = (L * H - B * j) / J, Se = o.z * (1 - te - ae) + c.z * te + f.z * ae;
6163
6163
  if (isFinite(Se)) return Se;
6164
6164
  }
6165
6165
  return 1 / 0;
@@ -6180,20 +6180,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6180
6180
  populate(t, i, o) {
6181
6181
  this.hasPattern = _p("line", this.layers, i);
6182
6182
  const c = this.layers[0].layout.get("line-sort-key"), f = !c.isConstant(), m = [];
6183
- for (const { feature: _, id: w, index: C, sourceLayerIndex: R } of t) {
6183
+ for (const { feature: _, id: w, index: C, sourceLayerIndex: L } of t) {
6184
6184
  const B = this.layers[0]._featureFilter.needGeometry, V = Xo(_, B);
6185
6185
  if (!this.layers[0]._featureFilter.filter(new Fr(this.zoom), V, o)) continue;
6186
- const j = f ? c.evaluate(V, {}, o) : void 0, H = { id: w, properties: _.properties, type: _.type, sourceLayerIndex: R, index: C, geometry: B ? V.geometry : Jo(_), patterns: {}, sortKey: j };
6186
+ const j = f ? c.evaluate(V, {}, o) : void 0, H = { id: w, properties: _.properties, type: _.type, sourceLayerIndex: L, index: C, geometry: B ? V.geometry : Jo(_), patterns: {}, sortKey: j };
6187
6187
  m.push(H);
6188
6188
  }
6189
6189
  f && m.sort((_, w) => _.sortKey - w.sortKey);
6190
6190
  for (const _ of m) {
6191
- const { geometry: w, index: C, sourceLayerIndex: R } = _;
6191
+ const { geometry: w, index: C, sourceLayerIndex: L } = _;
6192
6192
  if (this.hasPattern) {
6193
6193
  const B = vp("line", this.layers, _, this.zoom, i);
6194
6194
  this.patternFeatures.push(B);
6195
6195
  } else this.addFeature(_, w, C, o, {}, i.subdivisionGranularity);
6196
- i.featureIndex.insert(t[C].feature, w, C, R, this.index);
6196
+ i.featureIndex.insert(t[C].feature, w, C, L, this.index);
6197
6197
  }
6198
6198
  }
6199
6199
  update(t, i, o) {
@@ -6218,9 +6218,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6218
6218
  if (t.properties && Object.prototype.hasOwnProperty.call(t.properties, "mapbox_clip_start") && Object.prototype.hasOwnProperty.call(t.properties, "mapbox_clip_end")) return { start: +t.properties.mapbox_clip_start, end: +t.properties.mapbox_clip_end };
6219
6219
  }
6220
6220
  addFeature(t, i, o, c, f, m) {
6221
- const _ = this.layers[0].layout, w = _.get("line-join").evaluate(t, {}), C = _.get("line-cap"), R = _.get("line-miter-limit"), B = _.get("line-round-limit");
6221
+ const _ = this.layers[0].layout, w = _.get("line-join").evaluate(t, {}), C = _.get("line-cap"), L = _.get("line-miter-limit"), B = _.get("line-round-limit");
6222
6222
  this.lineClips = this.lineFeatureClips(t);
6223
- for (const V of i) this.addLine(V, t, w, C, R, B, c, m);
6223
+ for (const V of i) this.addLine(V, t, w, C, L, B, c, m);
6224
6224
  this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length, t, o, f, c);
6225
6225
  }
6226
6226
  addLine(t, i, o, c, f, m, _, w) {
@@ -6230,17 +6230,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6230
6230
  this.updateScaledDistance(), this.maxLineLength = Math.max(this.maxLineLength, this.totalDistance);
6231
6231
  }
6232
6232
  const C = B_[i.type] === "Polygon";
6233
- let R = t.length;
6234
- for (; R >= 2 && t[R - 1].equals(t[R - 2]); ) R--;
6233
+ let L = t.length;
6234
+ for (; L >= 2 && t[L - 1].equals(t[L - 2]); ) L--;
6235
6235
  let B = 0;
6236
- for (; B < R - 1 && t[B].equals(t[B + 1]); ) B++;
6237
- if (R < (C ? 3 : 2)) return;
6236
+ for (; B < L - 1 && t[B].equals(t[B + 1]); ) B++;
6237
+ if (L < (C ? 3 : 2)) return;
6238
6238
  o === "bevel" && (f = 1.05);
6239
- const V = this.overscaling <= 16 ? 15 * lr / (512 * this.overscaling) : 0, j = this.segments.prepareSegment(10 * R, this.layoutVertexArray, this.indexArray);
6239
+ const V = this.overscaling <= 16 ? 15 * lr / (512 * this.overscaling) : 0, j = this.segments.prepareSegment(10 * L, this.layoutVertexArray, this.indexArray);
6240
6240
  let H, J, te, ae, Se;
6241
- this.e1 = this.e2 = -1, C && (H = t[R - 2], Se = t[B].sub(H)._unit()._perp());
6242
- for (let fe = B; fe < R; fe++) {
6243
- if (te = fe === R - 1 ? C ? t[B + 1] : void 0 : t[fe + 1], te && t[fe].equals(te)) continue;
6241
+ this.e1 = this.e2 = -1, C && (H = t[L - 2], Se = t[B].sub(H)._unit()._perp());
6242
+ for (let fe = B; fe < L; fe++) {
6243
+ if (te = fe === L - 1 ? C ? t[B + 1] : void 0 : t[fe + 1], te && t[fe].equals(te)) continue;
6244
6244
  Se && (ae = Se), H && (J = H), H = t[fe], Se = te ? te.sub(H)._unit()._perp() : ae, ae = ae || Se;
6245
6245
  let U = ae.add(Se);
6246
6246
  U.x === 0 && U.y === 0 || U._unit();
@@ -6282,7 +6282,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6282
6282
  const ct = J ? 1 : -1;
6283
6283
  this.addCurrentVertex(H, U, ct, ct, j);
6284
6284
  } else rt === "round" && (J && (this.addCurrentVertex(H, ae, 0, 0, j), this.addCurrentVertex(H, ae, 1, 1, j, !0)), te && (this.addCurrentVertex(H, Se, -1, -1, j, !0), this.addCurrentVertex(H, Se, 0, 0, j)));
6285
- if (Ve && fe < R - 1) {
6285
+ if (Ve && fe < L - 1) {
6286
6286
  const ct = H.dist(te);
6287
6287
  if (ct > 2 * V) {
6288
6288
  const Ge = H.add(te.sub(H)._mult(V / ct)._round());
@@ -6298,8 +6298,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6298
6298
  addHalfVertex({ x: t, y: i }, o, c, f, m, _, w) {
6299
6299
  const C = 0.5 * (this.lineClips ? this.scaledDistance * (Sf - 1) : this.scaledDistance);
6300
6300
  this.layoutVertexArray.emplaceBack((t << 1) + (f ? 1 : 0), (i << 1) + (m ? 1 : 0), Math.round(63 * o) + 128, Math.round(63 * c) + 128, 1 + (_ === 0 ? 0 : _ < 0 ? -1 : 1) | (63 & C) << 2, C >> 6), this.lineClips && this.layoutVertexArray2.emplaceBack((this.scaledDistance - this.lineClips.start) / (this.lineClips.end - this.lineClips.start), this.lineClipsArray.length);
6301
- const R = w.vertexLength++;
6302
- this.e1 >= 0 && this.e2 >= 0 && (this.indexArray.emplaceBack(this.e1, R, this.e2), w.primitiveLength++), m ? this.e2 = R : this.e1 = R;
6301
+ const L = w.vertexLength++;
6302
+ this.e1 >= 0 && this.e2 >= 0 && (this.indexArray.emplaceBack(this.e1, L, this.e2), w.primitiveLength++), m ? this.e2 = L : this.e1 = L;
6303
6303
  }
6304
6304
  updateScaledDistance() {
6305
6305
  this.scaledDistance = this.lineClips ? this.lineClips.start + (this.lineClips.end - this.lineClips.start) * this.distance / this.totalDistance : this.distance;
@@ -6351,10 +6351,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6351
6351
  }
6352
6352
  queryIntersectsFeature({ queryGeometry: t, feature: i, featureState: o, geometry: c, transform: f, pixelsToTileUnits: m }) {
6353
6353
  const _ = Pu(t, this.paint.get("line-translate"), this.paint.get("line-translate-anchor"), -f.bearingInRadians, m), w = m / 2 * Cf(this.paint.get("line-width").evaluate(i, o), this.paint.get("line-gap-width").evaluate(i, o)), C = this.paint.get("line-offset").evaluate(i, o);
6354
- return C && (c = function(R, B) {
6354
+ return C && (c = function(L, B) {
6355
6355
  const V = [];
6356
- for (let j = 0; j < R.length; j++) {
6357
- const H = R[j], J = [];
6356
+ for (let j = 0; j < L.length; j++) {
6357
+ const H = L[j], J = [];
6358
6358
  for (let te = 0; te < H.length; te++) {
6359
6359
  const ae = H[te - 1], Se = H[te], fe = H[te + 1], U = te === 0 ? new T(0, 0) : Se.sub(ae)._unit()._perp(), Q = te === H.length - 1 ? new T(0, 0) : fe.sub(Se)._unit()._perp(), ge = U._add(Q)._unit(), Re = ge.x * Q.x + ge.y * Q.y;
6360
6360
  Re !== 0 && ge._mult(1 / Re), J.push(ge._mult(B)._add(Se));
@@ -6362,13 +6362,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6362
6362
  V.push(J);
6363
6363
  }
6364
6364
  return V;
6365
- }(c, C * m)), function(R, B, V) {
6365
+ }(c, C * m)), function(L, B, V) {
6366
6366
  for (let j = 0; j < B.length; j++) {
6367
6367
  const H = B[j];
6368
- if (R.length >= 3) {
6369
- for (let J = 0; J < H.length; J++) if (Qo(R, H[J])) return !0;
6368
+ if (L.length >= 3) {
6369
+ for (let J = 0; J < H.length; J++) if (Qo(L, H[J])) return !0;
6370
6370
  }
6371
- if (e_(R, H, V)) return !0;
6371
+ if (e_(L, H, V)) return !0;
6372
6372
  }
6373
6373
  return !1;
6374
6374
  }(_, c, w);
@@ -6398,9 +6398,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6398
6398
  var Ef, Ep, If, fi = 24, Ip = {};
6399
6399
  function W_() {
6400
6400
  return Ef || (Ef = 1, Ip.read = function(n, t, i, o, c) {
6401
- var f, m, _ = 8 * c - o - 1, w = (1 << _) - 1, C = w >> 1, R = -7, B = i ? c - 1 : 0, V = i ? -1 : 1, j = n[t + B];
6402
- for (B += V, f = j & (1 << -R) - 1, j >>= -R, R += _; R > 0; f = 256 * f + n[t + B], B += V, R -= 8) ;
6403
- for (m = f & (1 << -R) - 1, f >>= -R, R += o; R > 0; m = 256 * m + n[t + B], B += V, R -= 8) ;
6401
+ var f, m, _ = 8 * c - o - 1, w = (1 << _) - 1, C = w >> 1, L = -7, B = i ? c - 1 : 0, V = i ? -1 : 1, j = n[t + B];
6402
+ for (B += V, f = j & (1 << -L) - 1, j >>= -L, L += _; L > 0; f = 256 * f + n[t + B], B += V, L -= 8) ;
6403
+ for (m = f & (1 << -L) - 1, f >>= -L, L += o; L > 0; m = 256 * m + n[t + B], B += V, L -= 8) ;
6404
6404
  if (f === 0) f = 1 - C;
6405
6405
  else {
6406
6406
  if (f === w) return m ? NaN : 1 / 0 * (j ? -1 : 1);
@@ -6408,8 +6408,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6408
6408
  }
6409
6409
  return (j ? -1 : 1) * m * Math.pow(2, f - o);
6410
6410
  }, Ip.write = function(n, t, i, o, c, f) {
6411
- var m, _, w, C = 8 * f - c - 1, R = (1 << C) - 1, B = R >> 1, V = c === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, j = o ? 0 : f - 1, H = o ? 1 : -1, J = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
6412
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (_ = isNaN(t) ? 1 : 0, m = R) : (m = Math.floor(Math.log(t) / Math.LN2), t * (w = Math.pow(2, -m)) < 1 && (m--, w *= 2), (t += m + B >= 1 ? V / w : V * Math.pow(2, 1 - B)) * w >= 2 && (m++, w /= 2), m + B >= R ? (_ = 0, m = R) : m + B >= 1 ? (_ = (t * w - 1) * Math.pow(2, c), m += B) : (_ = t * Math.pow(2, B - 1) * Math.pow(2, c), m = 0)); c >= 8; n[i + j] = 255 & _, j += H, _ /= 256, c -= 8) ;
6411
+ var m, _, w, C = 8 * f - c - 1, L = (1 << C) - 1, B = L >> 1, V = c === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, j = o ? 0 : f - 1, H = o ? 1 : -1, J = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
6412
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (_ = isNaN(t) ? 1 : 0, m = L) : (m = Math.floor(Math.log(t) / Math.LN2), t * (w = Math.pow(2, -m)) < 1 && (m--, w *= 2), (t += m + B >= 1 ? V / w : V * Math.pow(2, 1 - B)) * w >= 2 && (m++, w /= 2), m + B >= L ? (_ = 0, m = L) : m + B >= 1 ? (_ = (t * w - 1) * Math.pow(2, c), m += B) : (_ = t * Math.pow(2, B - 1) * Math.pow(2, c), m = 0)); c >= 8; n[i + j] = 255 & _, j += H, _ /= 256, c -= 8) ;
6413
6413
  for (m = m << c | _, C += c; C > 0; n[i + j] = 255 & m, j += H, m /= 256, C -= 8) ;
6414
6414
  n[i + j - H] |= 128 * J;
6415
6415
  }), Ip;
@@ -6440,7 +6440,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6440
6440
  function C(U, Q) {
6441
6441
  for (var ge = 0; ge < U.length; ge++) Q.writeSVarint(U[ge]);
6442
6442
  }
6443
- function R(U, Q) {
6443
+ function L(U, Q) {
6444
6444
  for (var ge = 0; ge < U.length; ge++) Q.writeFloat(U[ge]);
6445
6445
  }
6446
6446
  function B(U, Q) {
@@ -6659,7 +6659,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6659
6659
  }, writePackedBoolean: function(U, Q) {
6660
6660
  Q.length && this.writeMessage(U, V, Q);
6661
6661
  }, writePackedFloat: function(U, Q) {
6662
- Q.length && this.writeMessage(U, R, Q);
6662
+ Q.length && this.writeMessage(U, L, Q);
6663
6663
  }, writePackedDouble: function(U, Q) {
6664
6664
  Q.length && this.writeMessage(U, B, Q);
6665
6665
  }, writePackedFixed32: function(U, Q) {
@@ -6753,12 +6753,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6753
6753
  this.addImages(t, o, f), this.addImages(i, c, f);
6754
6754
  const { w: m, h: _ } = Lf(f), w = new An({ width: m || 1, height: _ || 1 });
6755
6755
  for (const C in t) {
6756
- const R = t[C], B = o[C].paddedRect;
6757
- An.copy(R.data, w, { x: 0, y: 0 }, { x: B.x + en, y: B.y + en }, R.data);
6756
+ const L = t[C], B = o[C].paddedRect;
6757
+ An.copy(L.data, w, { x: 0, y: 0 }, { x: B.x + en, y: B.y + en }, L.data);
6758
6758
  }
6759
6759
  for (const C in i) {
6760
- const R = i[C], B = c[C].paddedRect, V = B.x + en, j = B.y + en, H = R.data.width, J = R.data.height;
6761
- An.copy(R.data, w, { x: 0, y: 0 }, { x: V, y: j }, R.data), An.copy(R.data, w, { x: 0, y: J - 1 }, { x: V, y: j - 1 }, { width: H, height: 1 }), An.copy(R.data, w, { x: 0, y: 0 }, { x: V, y: j + J }, { width: H, height: 1 }), An.copy(R.data, w, { x: H - 1, y: 0 }, { x: V - 1, y: j }, { width: 1, height: J }), An.copy(R.data, w, { x: 0, y: 0 }, { x: V + H, y: j }, { width: 1, height: J });
6760
+ const L = i[C], B = c[C].paddedRect, V = B.x + en, j = B.y + en, H = L.data.width, J = L.data.height;
6761
+ An.copy(L.data, w, { x: 0, y: 0 }, { x: V, y: j }, L.data), An.copy(L.data, w, { x: 0, y: J - 1 }, { x: V, y: j - 1 }, { width: H, height: 1 }), An.copy(L.data, w, { x: 0, y: 0 }, { x: V, y: j + J }, { width: H, height: 1 }), An.copy(L.data, w, { x: H - 1, y: 0 }, { x: V - 1, y: j }, { width: 1, height: J }), An.copy(L.data, w, { x: 0, y: 0 }, { x: V + H, y: j }, { width: 1, height: J });
6762
6762
  }
6763
6763
  this.image = w, this.iconPositions = o, this.patternPositions = c;
6764
6764
  }
@@ -6874,7 +6874,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6874
6874
  return this.imageSectionID ? this.imageSectionID >= 63743 ? null : ++this.imageSectionID : (this.imageSectionID = 57344, this.imageSectionID);
6875
6875
  }
6876
6876
  }
6877
- function Du(n, t, i, o, c, f, m, _, w, C, R, B, V, j, H) {
6877
+ function Du(n, t, i, o, c, f, m, _, w, C, L, B, V, j, H) {
6878
6878
  const J = il.fromFeature(n, c);
6879
6879
  let te;
6880
6880
  B === v.al.vertical && J.verticalizePunctuation();
@@ -6901,7 +6901,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6901
6901
  for (const We of ge) Re.push(Q.substring(Ve, We)), Ve = We;
6902
6902
  return Ve < tt.length && Re.push(Q.substring(Ve, tt.length)), Re;
6903
6903
  }(J, zp(J, C, f, t, o, j));
6904
- const fe = [], U = { positionedLines: fe, text: J.toString(), top: R[1], bottom: R[1], left: R[0], right: R[0], writingMode: B, iconsInText: !1, verticalizable: !1 };
6904
+ const fe = [], U = { positionedLines: fe, text: J.toString(), top: L[1], bottom: L[1], left: L[0], right: L[0], writingMode: B, iconsInText: !1, verticalizable: !1 };
6905
6905
  return function(Q, ge, Re, tt, Ve, We, at, rt, ct, Ge, kt, Dt) {
6906
6906
  let Lt = 0, Pt = 0, or = 0, Yr = 0;
6907
6907
  const mi = rt === "right" ? 1 : rt === "left" ? 0 : 0.5, qi = fi / Dt;
@@ -6987,11 +6987,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
6987
6987
  for (let B = 0; B < n.length(); B++) {
6988
6988
  const V = n.getSection(B), j = n.getCharCode(B);
6989
6989
  if (Bu[j] || (C += zf(j, V, o, c, t, f)), B < n.length() - 1) {
6990
- const H = !((R = j) < 11904) && (!!ir["CJK Compatibility Forms"](R) || !!ir["CJK Compatibility"](R) || !!ir["CJK Strokes"](R) || !!ir["CJK Symbols and Punctuation"](R) || !!ir["Enclosed CJK Letters and Months"](R) || !!ir["Halfwidth and Fullwidth Forms"](R) || !!ir["Ideographic Description Characters"](R) || !!ir["Vertical Forms"](R) || Jl.test(String.fromCodePoint(R)));
6990
+ const H = !((L = j) < 11904) && (!!ir["CJK Compatibility Forms"](L) || !!ir["CJK Compatibility"](L) || !!ir["CJK Strokes"](L) || !!ir["CJK Symbols and Punctuation"](L) || !!ir["Enclosed CJK Letters and Months"](L) || !!ir["Halfwidth and Fullwidth Forms"](L) || !!ir["Ideographic Description Characters"](L) || !!ir["Vertical Forms"](L) || Jl.test(String.fromCodePoint(L)));
6991
6991
  (X_[j] || H || V.imageName || B !== n.length() - 2 && Q_[n.getCharCode(B + 1)]) && m.push(Bf(B + 1, C, _, m, Y_(j, n.getCharCode(B + 1), H && w), !1));
6992
6992
  }
6993
6993
  }
6994
- var R;
6994
+ var L;
6995
6995
  return Of(Bf(n.length(), C, _, m, 0, !0));
6996
6996
  }
6997
6997
  function Dp(n) {
@@ -7039,9 +7039,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7039
7039
  var o;
7040
7040
  }
7041
7041
  function tv(n, t, i, o, c, f) {
7042
- const m = f[n.fontStack], _ = function(C, R, B, V) {
7042
+ const m = f[n.fontStack], _ = function(C, L, B, V) {
7043
7043
  if (C && C.rect) return C;
7044
- const j = R[B.fontStack], H = j && j[V];
7044
+ const j = L[B.fontStack], H = j && j[V];
7045
7045
  return H ? { rect: null, metrics: H.metrics } : null;
7046
7046
  }(m && m[t], c, n, t);
7047
7047
  if (_ === null) return null;
@@ -7060,8 +7060,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7060
7060
  let C;
7061
7061
  if (t) C = o.verticalLineContentWidth - _[1] * n.scale;
7062
7062
  else {
7063
- const R = Ff(n.verticalAlign);
7064
- C = (o.horizontalLineContentHeight - _[1] * n.scale) * R;
7063
+ const L = Ff(n.verticalAlign);
7064
+ C = (o.horizontalLineContentHeight - _[1] * n.scale) * L;
7065
7065
  }
7066
7066
  return { rect: m, metrics: w, baselineOffset: C, imageOffset: (t ? _[0] : _[1]) * n.scale - fi * i };
7067
7067
  }
@@ -7080,12 +7080,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7080
7080
  const _ = (t = n.image.textFitWidth) !== null && t !== void 0 ? t : "stretchOrShrink", w = (i = n.image.textFitHeight) !== null && i !== void 0 ? i : "stretchOrShrink", C = (n.image.content[2] - n.image.content[0]) / (n.image.content[3] - n.image.content[1]);
7081
7081
  if (w === "proportional") {
7082
7082
  if (_ === "stretchOnly" && f / m < C || _ === "proportional") {
7083
- const R = Math.ceil(m * C);
7084
- o *= R / f, f = R;
7083
+ const L = Math.ceil(m * C);
7084
+ o *= L / f, f = L;
7085
7085
  }
7086
7086
  } else if (_ === "proportional" && w === "stretchOnly" && C !== 0 && f / m > C) {
7087
- const R = Math.ceil(f / C);
7088
- c *= R / m, m = R;
7087
+ const L = Math.ceil(f / C);
7088
+ c *= L / m, m = L;
7089
7089
  }
7090
7090
  return { x1: o, y1: c, x2: o + f, y2: c + m };
7091
7091
  }
@@ -7097,10 +7097,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7097
7097
  _ = [te[0] / ae, te[1] / ae, m.displaySize[0] - te[2] / ae, m.displaySize[1] - te[3] / ae];
7098
7098
  }
7099
7099
  const w = t.left * f, C = t.right * f;
7100
- let R, B, V, j;
7100
+ let L, B, V, j;
7101
7101
  i === "width" || i === "both" ? (j = c[0] + w - o[3], B = c[0] + C + o[1]) : (j = c[0] + (w + C - m.displaySize[0]) / 2, B = j + m.displaySize[0]);
7102
7102
  const H = t.top * f, J = t.bottom * f;
7103
- return i === "height" || i === "both" ? (R = c[1] + H - o[0], V = c[1] + J + o[2]) : (R = c[1] + (H + J - m.displaySize[1]) / 2, V = R + m.displaySize[1]), { image: m, top: R, right: B, bottom: V, left: j, collisionPadding: _ };
7103
+ return i === "height" || i === "both" ? (L = c[1] + H - o[0], V = c[1] + J + o[2]) : (L = c[1] + (H + J - m.displaySize[1]) / 2, V = L + m.displaySize[1]), { image: m, top: L, right: B, bottom: V, left: j, collisionPadding: _ };
7104
7104
  }
7105
7105
  const _c = 255, vs = 128, uo = _c * vs;
7106
7106
  function Uf(n, t) {
@@ -7125,9 +7125,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7125
7125
  return c ? o = c : n.get(i) && (o = "always"), o;
7126
7126
  }
7127
7127
  const sv = dc.VectorTileFeature.types, ov = [{ name: "a_fade_opacity", components: 1, type: "Uint8", offset: 0 }];
7128
- function Ou(n, t, i, o, c, f, m, _, w, C, R, B, V) {
7128
+ function Ou(n, t, i, o, c, f, m, _, w, C, L, B, V) {
7129
7129
  const j = _ ? Math.min(uo, Math.round(_[0])) : 0, H = _ ? Math.min(uo, Math.round(_[1])) : 0;
7130
- n.emplaceBack(t, i, Math.round(32 * o), Math.round(32 * c), f, m, (j << 1) + (w ? 1 : 0), H, 16 * C, 16 * R, 256 * B, 256 * V);
7130
+ n.emplaceBack(t, i, Math.round(32 * o), Math.round(32 * c), f, m, (j << 1) + (w ? 1 : 0), H, 16 * C, 16 * L, 256 * B, 256 * V);
7131
7131
  }
7132
7132
  function Op(n, t, i) {
7133
7133
  n.emplaceBack(t.x, t.y, i), n.emplaceBack(t.x, t.y, i), n.emplaceBack(t.x, t.y, i), n.emplaceBack(t.x, t.y, i);
@@ -7181,8 +7181,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7181
7181
  }
7182
7182
  }
7183
7183
  populate(t, i, o) {
7184
- const c = this.layers[0], f = c.layout, m = f.get("text-font"), _ = f.get("text-field"), w = f.get("icon-image"), C = (_.value.kind !== "constant" || _.value.value instanceof ue && !_.value.value.isEmpty() || _.value.value.toString().length > 0) && (m.value.kind !== "constant" || m.value.value.length > 0), R = w.value.kind !== "constant" || !!w.value.value || Object.keys(w.parameters).length > 0, B = f.get("symbol-sort-key");
7185
- if (this.features = [], !C && !R) return;
7184
+ const c = this.layers[0], f = c.layout, m = f.get("text-font"), _ = f.get("text-field"), w = f.get("icon-image"), C = (_.value.kind !== "constant" || _.value.value instanceof ue && !_.value.value.isEmpty() || _.value.value.toString().length > 0) && (m.value.kind !== "constant" || m.value.value.length > 0), L = w.value.kind !== "constant" || !!w.value.value || Object.keys(w.parameters).length > 0, B = f.get("symbol-sort-key");
7185
+ if (this.features = [], !C && !L) return;
7186
7186
  const V = i.iconDependencies, j = i.glyphDependencies, H = i.availableImages, J = new Fr(this.zoom);
7187
7187
  for (const { feature: te, id: ae, index: Se, sourceLayerIndex: fe } of t) {
7188
7188
  const U = c._featureFilter.needGeometry, Q = Xo(te, U);
@@ -7192,7 +7192,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7192
7192
  const Ve = c.getValueAndResolveTokens("text-field", Q, o, H), We = ue.factory(Ve), at = this.hasRTLText = this.hasRTLText || av(We);
7193
7193
  (!at || Xn.getRTLTextPluginStatus() === "unavailable" || at && Xn.isParsed()) && (ge = H_(We, c, Q));
7194
7194
  }
7195
- if (R) {
7195
+ if (L) {
7196
7196
  const Ve = c.getValueAndResolveTokens("icon-image", Q, o, H);
7197
7197
  Re = Ve instanceof st ? Ve : st.fromString(Ve);
7198
7198
  }
@@ -7273,20 +7273,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7273
7273
  }
7274
7274
  return { lineStartIndex: o, lineLength: this.lineVertexArray.length - o };
7275
7275
  }
7276
- addSymbols(t, i, o, c, f, m, _, w, C, R, B, V) {
7276
+ addSymbols(t, i, o, c, f, m, _, w, C, L, B, V) {
7277
7277
  const j = t.indexArray, H = t.layoutVertexArray, J = t.segments.prepareSegment(4 * i.length, H, j, this.canOverlap ? m.sortKey : void 0), te = this.glyphOffsetArray.length, ae = J.vertexLength, Se = this.allowVerticalPlacement && _ === v.al.vertical ? Math.PI / 2 : 0, fe = m.text && m.text.sections;
7278
7278
  for (let U = 0; U < i.length; U++) {
7279
7279
  const { tl: Q, tr: ge, bl: Re, br: tt, tex: Ve, pixelOffsetTL: We, pixelOffsetBR: at, minFontScaleX: rt, minFontScaleY: ct, glyphOffset: Ge, isSDF: kt, sectionIndex: Dt } = i[U], Lt = J.vertexLength, Pt = Ge[1];
7280
7280
  Ou(H, w.x, w.y, Q.x, Pt + Q.y, Ve.x, Ve.y, o, kt, We.x, We.y, rt, ct), Ou(H, w.x, w.y, ge.x, Pt + ge.y, Ve.x + Ve.w, Ve.y, o, kt, at.x, We.y, rt, ct), Ou(H, w.x, w.y, Re.x, Pt + Re.y, Ve.x, Ve.y + Ve.h, o, kt, We.x, at.y, rt, ct), Ou(H, w.x, w.y, tt.x, Pt + tt.y, Ve.x + Ve.w, Ve.y + Ve.h, o, kt, at.x, at.y, rt, ct), Op(t.dynamicLayoutVertexArray, w, Se), j.emplaceBack(Lt, Lt + 2, Lt + 1), j.emplaceBack(Lt + 1, Lt + 2, Lt + 3), J.vertexLength += 4, J.primitiveLength += 2, this.glyphOffsetArray.emplaceBack(Ge[0]), U !== i.length - 1 && Dt === i[U + 1].sectionIndex || t.programConfigurations.populatePaintArrays(H.length, m, m.index, {}, V, fe && fe[Dt]);
7281
7281
  }
7282
- t.placedSymbolArray.emplaceBack(w.x, w.y, te, this.glyphOffsetArray.length - te, ae, C, R, w.segment, o ? o[0] : 0, o ? o[1] : 0, c[0], c[1], _, 0, !1, 0, B);
7282
+ t.placedSymbolArray.emplaceBack(w.x, w.y, te, this.glyphOffsetArray.length - te, ae, C, L, w.segment, o ? o[0] : 0, o ? o[1] : 0, c[0], c[1], _, 0, !1, 0, B);
7283
7283
  }
7284
7284
  _addCollisionDebugVertex(t, i, o, c, f, m) {
7285
7285
  return i.emplaceBack(0, 0), t.emplaceBack(o.x, o.y, c, f, Math.round(m.x), Math.round(m.y));
7286
7286
  }
7287
7287
  addCollisionDebugVertices(t, i, o, c, f, m, _) {
7288
- const w = f.segments.prepareSegment(4, f.layoutVertexArray, f.indexArray), C = w.vertexLength, R = f.layoutVertexArray, B = f.collisionVertexArray, V = _.anchorX, j = _.anchorY;
7289
- this._addCollisionDebugVertex(R, B, m, V, j, new T(t, i)), this._addCollisionDebugVertex(R, B, m, V, j, new T(o, i)), this._addCollisionDebugVertex(R, B, m, V, j, new T(o, c)), this._addCollisionDebugVertex(R, B, m, V, j, new T(t, c)), w.vertexLength += 4;
7288
+ const w = f.segments.prepareSegment(4, f.layoutVertexArray, f.indexArray), C = w.vertexLength, L = f.layoutVertexArray, B = f.collisionVertexArray, V = _.anchorX, j = _.anchorY;
7289
+ this._addCollisionDebugVertex(L, B, m, V, j, new T(t, i)), this._addCollisionDebugVertex(L, B, m, V, j, new T(o, i)), this._addCollisionDebugVertex(L, B, m, V, j, new T(o, c)), this._addCollisionDebugVertex(L, B, m, V, j, new T(t, c)), w.vertexLength += 4;
7290
7290
  const H = f.indexArray;
7291
7291
  H.emplaceBack(C, C + 1), H.emplaceBack(C + 1, C + 2), H.emplaceBack(C + 2, C + 3), H.emplaceBack(C + 3, C), w.primitiveLength += 4;
7292
7292
  }
@@ -7304,28 +7304,28 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7304
7304
  }
7305
7305
  }
7306
7306
  _deserializeCollisionBoxesForSymbol(t, i, o, c, f, m, _, w, C) {
7307
- const R = {};
7307
+ const L = {};
7308
7308
  for (let B = i; B < o; B++) {
7309
7309
  const V = t.get(B);
7310
- R.textBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, R.textFeatureIndex = V.featureIndex;
7310
+ L.textBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, L.textFeatureIndex = V.featureIndex;
7311
7311
  break;
7312
7312
  }
7313
7313
  for (let B = c; B < f; B++) {
7314
7314
  const V = t.get(B);
7315
- R.verticalTextBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, R.verticalTextFeatureIndex = V.featureIndex;
7315
+ L.verticalTextBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, L.verticalTextFeatureIndex = V.featureIndex;
7316
7316
  break;
7317
7317
  }
7318
7318
  for (let B = m; B < _; B++) {
7319
7319
  const V = t.get(B);
7320
- R.iconBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, R.iconFeatureIndex = V.featureIndex;
7320
+ L.iconBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, L.iconFeatureIndex = V.featureIndex;
7321
7321
  break;
7322
7322
  }
7323
7323
  for (let B = w; B < C; B++) {
7324
7324
  const V = t.get(B);
7325
- R.verticalIconBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, R.verticalIconFeatureIndex = V.featureIndex;
7325
+ L.verticalIconBox = { x1: V.x1, y1: V.y1, x2: V.x2, y2: V.y2, anchorPointX: V.anchorPointX, anchorPointY: V.anchorPointY }, L.verticalIconFeatureIndex = V.featureIndex;
7326
7326
  break;
7327
7327
  }
7328
- return R;
7328
+ return L;
7329
7329
  }
7330
7330
  deserializeCollisionBoxes(t) {
7331
7331
  this.collisionArrays = [];
@@ -7428,7 +7428,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7428
7428
  getValueAndResolveTokens(t, i, o, c) {
7429
7429
  const f = this.layout.get(t).evaluate(i, {}, o, c), m = this._unevaluatedLayout._values[t];
7430
7430
  return m.isDataDriven() || Ro(m.value) || !f ? f : function(_, w) {
7431
- return w.replace(/{([^{}]+)}/g, (C, R) => _ && R in _ ? String(_[R]) : "");
7431
+ return w.replace(/{([^{}]+)}/g, (C, L) => _ && L in _ ? String(_[L]) : "");
7432
7432
  }(i.properties, f);
7433
7433
  }
7434
7434
  createBucket(t) {
@@ -7607,12 +7607,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7607
7607
  url(t, i, o) {
7608
7608
  const c = (m = this.y, _ = this.z, w = $f(256 * (f = this.x), 256 * (m = Math.pow(2, _) - m - 1), _), C = $f(256 * (f + 1), 256 * (m + 1), _), w[0] + "," + w[1] + "," + C[0] + "," + C[1]);
7609
7609
  var f, m, _, w, C;
7610
- const R = function(B, V, j) {
7610
+ const L = function(B, V, j) {
7611
7611
  let H, J = "";
7612
7612
  for (let te = B; te > 0; te--) H = 1 << te - 1, J += (V & H ? 1 : 0) + (j & H ? 2 : 0);
7613
7613
  return J;
7614
7614
  }(this.z, this.x, this.y);
7615
- return t[(this.x + this.y) % t.length].replace(/{prefix}/g, (this.x % 16).toString(16) + (this.y % 16).toString(16)).replace(/{z}/g, String(this.z)).replace(/{x}/g, String(this.x)).replace(/{y}/g, String(o === "tms" ? Math.pow(2, this.z) - this.y - 1 : this.y)).replace(/{ratio}/g, i > 1 ? "@2x" : "").replace(/{quadkey}/g, R).replace(/{bbox-epsg-3857}/g, c);
7615
+ return t[(this.x + this.y) % t.length].replace(/{prefix}/g, (this.x % 16).toString(16) + (this.y % 16).toString(16)).replace(/{z}/g, String(this.z)).replace(/{x}/g, String(this.x)).replace(/{y}/g, String(o === "tms" ? Math.pow(2, this.z) - this.y - 1 : this.y)).replace(/{ratio}/g, i > 1 ? "@2x" : "").replace(/{quadkey}/g, L).replace(/{bbox-epsg-3857}/g, c);
7616
7616
  }
7617
7617
  isChildOf(t) {
7618
7618
  const i = this.z - t.z;
@@ -7708,8 +7708,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7708
7708
  }
7709
7709
  for (let C = 0; C < w; C++) this.data[this._idx(-1, C)] = this.data[this._idx(0, C)], this.data[this._idx(w, C)] = this.data[this._idx(w - 1, C)], this.data[this._idx(C, -1)] = this.data[this._idx(C, 0)], this.data[this._idx(C, w)] = this.data[this._idx(C, w - 1)];
7710
7710
  this.data[this._idx(-1, -1)] = this.data[this._idx(0, 0)], this.data[this._idx(w, -1)] = this.data[this._idx(w - 1, 0)], this.data[this._idx(-1, w)] = this.data[this._idx(0, w - 1)], this.data[this._idx(w, w)] = this.data[this._idx(w - 1, w - 1)], this.min = Number.MAX_SAFE_INTEGER, this.max = Number.MIN_SAFE_INTEGER;
7711
- for (let C = 0; C < w; C++) for (let R = 0; R < w; R++) {
7712
- const B = this.get(C, R);
7711
+ for (let C = 0; C < w; C++) for (let L = 0; L < w; L++) {
7712
+ const B = this.get(C, L);
7713
7713
  B > this.max && (this.max = B), B < this.min && (this.min = B);
7714
7714
  }
7715
7715
  }
@@ -7748,7 +7748,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7748
7748
  _ = m + 1;
7749
7749
  }
7750
7750
  const w = -i * this.dim, C = -o * this.dim;
7751
- for (let R = m; R < _; R++) for (let B = c; B < f; B++) this.data[this._idx(B, R)] = t.data[this._idx(B + w, R + C)];
7751
+ for (let L = m; L < _; L++) for (let B = c; B < f; B++) this.data[this._idx(B, L)] = t.data[this._idx(B + w, L + C)];
7752
7752
  }
7753
7753
  }
7754
7754
  St("DEMData", tm);
@@ -7793,9 +7793,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7793
7793
  this.featureIndexArray.emplaceBack(o, c, f);
7794
7794
  const w = m ? this.grid3D : this.grid;
7795
7795
  for (let C = 0; C < i.length; C++) {
7796
- const R = i[C], B = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
7797
- for (let V = 0; V < R.length; V++) {
7798
- const j = R[V];
7796
+ const L = i[C], B = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
7797
+ for (let V = 0; V < L.length; V++) {
7798
+ const j = L[V];
7799
7799
  B[0] = Math.min(B[0], j.x), B[1] = Math.min(B[1], j.y), B[2] = Math.max(B[2], j.x), B[3] = Math.max(B[3], j.y);
7800
7800
  }
7801
7801
  B[0] < lr && B[1] < lr && B[2] >= 0 && B[3] >= 0 && w.insert(_, B[0], B[1], B[2], B[3]);
@@ -7806,7 +7806,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7806
7806
  }
7807
7807
  query(t, i, o, c) {
7808
7808
  this.loadVTLayers();
7809
- const f = t.params, m = lr / t.tileSize / t.scale, _ = Oo(f.filter), w = t.queryGeometry, C = t.queryPadding * m, R = om(w), B = this.grid.query(R.minX - C, R.minY - C, R.maxX + C, R.maxY + C), V = om(t.cameraQueryGeometry), j = this.grid3D.query(V.minX - C, V.minY - C, V.maxX + C, V.maxY + C, (te, ae, Se, fe) => function(U, Q, ge, Re, tt) {
7809
+ const f = t.params, m = lr / t.tileSize / t.scale, _ = Oo(f.filter), w = t.queryGeometry, C = t.queryPadding * m, L = om(w), B = this.grid.query(L.minX - C, L.minY - C, L.maxX + C, L.maxY + C), V = om(t.cameraQueryGeometry), j = this.grid3D.query(V.minX - C, V.minY - C, V.maxX + C, V.maxY + C, (te, ae, Se, fe) => function(U, Q, ge, Re, tt) {
7810
7810
  for (const We of U) if (Q <= We.x && ge <= We.y && Re >= We.x && tt >= We.y) return !0;
7811
7811
  const Ve = [new T(Q, ge), new T(Q, tt), new T(Re, tt), new T(Re, ge)];
7812
7812
  if (U.length > 2) {
@@ -7829,7 +7829,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7829
7829
  }
7830
7830
  return H;
7831
7831
  }
7832
- loadMatchingFeature(t, i, o, c, f, m, _, w, C, R, B) {
7832
+ loadMatchingFeature(t, i, o, c, f, m, _, w, C, L, B) {
7833
7833
  const V = this.bucketLayerIDs[i];
7834
7834
  if (m && !V.some((te) => m.has(te))) return;
7835
7835
  const j = this.sourceLayerCoder.decode(o), H = this.vtLayers[j].feature(c);
@@ -7844,7 +7844,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7844
7844
  const Se = w[ae];
7845
7845
  if (!Se) continue;
7846
7846
  let fe = {};
7847
- J && R && (fe = R.getState(Se.sourceLayer || "_geojsonTileLayer", J));
7847
+ J && L && (fe = L.getState(Se.sourceLayer || "_geojsonTileLayer", J));
7848
7848
  const U = hi({}, C[ae]);
7849
7849
  U.paint = sm(U.paint, Se.paint, H, fe, _), U.layout = sm(U.layout, Se.layout, H, fe, _);
7850
7850
  const Q = !B || B(H, Se, fe);
@@ -7858,8 +7858,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7858
7858
  lookupSymbolFeatures(t, i, o, c, f, m, _, w) {
7859
7859
  const C = {};
7860
7860
  this.loadVTLayers();
7861
- const R = Oo(f);
7862
- for (const B of t) this.loadMatchingFeature(C, o, c, B, R, m, _, w, i);
7861
+ const L = Oo(f);
7862
+ for (const B of t) this.loadMatchingFeature(C, o, c, B, L, m, _, w, i);
7863
7863
  return C;
7864
7864
  }
7865
7865
  hasLayer(t) {
@@ -7892,8 +7892,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7892
7892
  const _ = n[m];
7893
7893
  let w;
7894
7894
  for (let C = 0; C < _.length - 1; C++) {
7895
- let R = _[C], B = _[C + 1];
7896
- R.x < t && B.x < t || (R.x < t ? R = new T(t, R.y + (t - R.x) / (B.x - R.x) * (B.y - R.y))._round() : B.x < t && (B = new T(t, R.y + (t - R.x) / (B.x - R.x) * (B.y - R.y))._round()), R.y < i && B.y < i || (R.y < i ? R = new T(R.x + (i - R.y) / (B.y - R.y) * (B.x - R.x), i)._round() : B.y < i && (B = new T(R.x + (i - R.y) / (B.y - R.y) * (B.x - R.x), i)._round()), R.x >= o && B.x >= o || (R.x >= o ? R = new T(o, R.y + (o - R.x) / (B.x - R.x) * (B.y - R.y))._round() : B.x >= o && (B = new T(o, R.y + (o - R.x) / (B.x - R.x) * (B.y - R.y))._round()), R.y >= c && B.y >= c || (R.y >= c ? R = new T(R.x + (c - R.y) / (B.y - R.y) * (B.x - R.x), c)._round() : B.y >= c && (B = new T(R.x + (c - R.y) / (B.y - R.y) * (B.x - R.x), c)._round()), w && R.equals(w[w.length - 1]) || (w = [R], f.push(w)), w.push(B)))));
7895
+ let L = _[C], B = _[C + 1];
7896
+ L.x < t && B.x < t || (L.x < t ? L = new T(t, L.y + (t - L.x) / (B.x - L.x) * (B.y - L.y))._round() : B.x < t && (B = new T(t, L.y + (t - L.x) / (B.x - L.x) * (B.y - L.y))._round()), L.y < i && B.y < i || (L.y < i ? L = new T(L.x + (i - L.y) / (B.y - L.y) * (B.x - L.x), i)._round() : B.y < i && (B = new T(L.x + (i - L.y) / (B.y - L.y) * (B.x - L.x), i)._round()), L.x >= o && B.x >= o || (L.x >= o ? L = new T(o, L.y + (o - L.x) / (B.x - L.x) * (B.y - L.y))._round() : B.x >= o && (B = new T(o, L.y + (o - L.x) / (B.x - L.x) * (B.y - L.y))._round()), L.y >= c && B.y >= c || (L.y >= c ? L = new T(L.x + (c - L.y) / (B.y - L.y) * (B.x - L.x), c)._round() : B.y >= c && (B = new T(L.x + (c - L.y) / (B.y - L.y) * (B.x - L.x), c)._round()), w && L.equals(w[w.length - 1]) || (w = [L], f.push(w)), w.push(B)))));
7897
7897
  }
7898
7898
  }
7899
7899
  return f;
@@ -7918,12 +7918,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7918
7918
  const w = [];
7919
7919
  let C = 0;
7920
7920
  for (; _ < i / 2; ) {
7921
- const R = n[m], B = n[m + 1];
7921
+ const L = n[m], B = n[m + 1];
7922
7922
  if (!B) return !1;
7923
- let V = n[m - 1].angleTo(R) - R.angleTo(B);
7923
+ let V = n[m - 1].angleTo(L) - L.angleTo(B);
7924
7924
  for (V = Math.abs((V + 3 * Math.PI) % (2 * Math.PI) - Math.PI), w.push({ distance: _, angleDelta: V }), C += V; _ - w[0].distance > o; ) C -= w.shift().angleDelta;
7925
7925
  if (C > c) return !1;
7926
- m++, _ += R.dist(B);
7926
+ m++, _ += L.dist(B);
7927
7927
  }
7928
7928
  return !0;
7929
7929
  }
@@ -7942,28 +7942,28 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7942
7942
  const m = um(i, c, f), _ = hm(i, o) * f;
7943
7943
  let w = 0;
7944
7944
  const C = cm(n) / 2;
7945
- for (let R = 0; R < n.length - 1; R++) {
7946
- const B = n[R], V = n[R + 1], j = B.dist(V);
7945
+ for (let L = 0; L < n.length - 1; L++) {
7946
+ const B = n[L], V = n[L + 1], j = B.dist(V);
7947
7947
  if (w + j > C) {
7948
- const H = (C - w) / j, J = zn.number(B.x, V.x, H), te = zn.number(B.y, V.y, H), ae = new po(J, te, V.angleTo(B), R);
7948
+ const H = (C - w) / j, J = zn.number(B.x, V.x, H), te = zn.number(B.y, V.y, H), ae = new po(J, te, V.angleTo(B), L);
7949
7949
  return ae._round(), !m || lm(n, ae, _, m, t) ? ae : void 0;
7950
7950
  }
7951
7951
  w += j;
7952
7952
  }
7953
7953
  }
7954
7954
  function yv(n, t, i, o, c, f, m, _, w) {
7955
- const C = um(o, f, m), R = hm(o, c), B = R * m, V = n[0].x === 0 || n[0].x === w || n[0].y === 0 || n[0].y === w;
7956
- return t - B < t / 4 && (t = B + t / 4), pm(n, V ? t / 2 * _ % t : (R / 2 + 2 * f) * m * _ % t, t, C, i, B, V, !1, w);
7955
+ const C = um(o, f, m), L = hm(o, c), B = L * m, V = n[0].x === 0 || n[0].x === w || n[0].y === 0 || n[0].y === w;
7956
+ return t - B < t / 4 && (t = B + t / 4), pm(n, V ? t / 2 * _ % t : (L / 2 + 2 * f) * m * _ % t, t, C, i, B, V, !1, w);
7957
7957
  }
7958
7958
  function pm(n, t, i, o, c, f, m, _, w) {
7959
- const C = f / 2, R = cm(n);
7959
+ const C = f / 2, L = cm(n);
7960
7960
  let B = 0, V = t - i, j = [];
7961
7961
  for (let H = 0; H < n.length - 1; H++) {
7962
7962
  const J = n[H], te = n[H + 1], ae = J.dist(te), Se = te.angleTo(J);
7963
7963
  for (; V + i < B + ae; ) {
7964
7964
  V += i;
7965
7965
  const fe = (V - B) / ae, U = zn.number(J.x, te.x, fe), Q = zn.number(J.y, te.y, fe);
7966
- if (U >= 0 && U < w && Q >= 0 && Q < w && V - C >= 0 && V + C <= R) {
7966
+ if (U >= 0 && U < w && Q >= 0 && Q < w && V - C >= 0 && V + C <= L) {
7967
7967
  const ge = new po(U, Q, Se, H);
7968
7968
  ge._round(), o && !lm(n, ge, f, o, c) || j.push(ge);
7969
7969
  }
@@ -7977,11 +7977,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7977
7977
  function dm(n, t, i, o) {
7978
7978
  const c = [], f = n.image, m = f.pixelRatio, _ = f.paddedRect.w - 2 * xc, w = f.paddedRect.h - 2 * xc;
7979
7979
  let C = { x1: n.left, y1: n.top, x2: n.right, y2: n.bottom };
7980
- const R = f.stretchX || [[0, _]], B = f.stretchY || [[0, w]], V = (Ge, kt) => Ge + kt[1] - kt[0], j = R.reduce(V, 0), H = B.reduce(V, 0), J = _ - j, te = w - H;
7980
+ const L = f.stretchX || [[0, _]], B = f.stretchY || [[0, w]], V = (Ge, kt) => Ge + kt[1] - kt[0], j = L.reduce(V, 0), H = B.reduce(V, 0), J = _ - j, te = w - H;
7981
7981
  let ae = 0, Se = j, fe = 0, U = H, Q = 0, ge = J, Re = 0, tt = te;
7982
7982
  if (f.content && o) {
7983
7983
  const Ge = f.content, kt = Ge[2] - Ge[0], Dt = Ge[3] - Ge[1];
7984
- (f.textFitWidth || f.textFitHeight) && (C = Vf(n)), ae = Vu(R, 0, Ge[0]), fe = Vu(B, 0, Ge[1]), Se = Vu(R, Ge[0], Ge[2]), U = Vu(B, Ge[1], Ge[3]), Q = Ge[0] - ae, Re = Ge[1] - fe, ge = kt - Se, tt = Dt - U;
7984
+ (f.textFitWidth || f.textFitHeight) && (C = Vf(n)), ae = Vu(L, 0, Ge[0]), fe = Vu(B, 0, Ge[1]), Se = Vu(L, Ge[0], Ge[2]), U = Vu(B, Ge[1], Ge[3]), Q = Ge[0] - ae, Re = Ge[1] - fe, ge = kt - Se, tt = Dt - U;
7985
7985
  }
7986
7986
  const Ve = C.x1, We = C.y1, at = C.x2 - Ve, rt = C.y2 - We, ct = (Ge, kt, Dt, Lt) => {
7987
7987
  const Pt = qu(Ge.stretch - ae, Se, at, Ve), or = Uu(Ge.fixed - Q, ge, Ge.stretch, j), Yr = qu(kt.stretch - fe, U, rt, We), mi = Uu(kt.fixed - Re, tt, kt.stretch, H), qi = qu(Dt.stretch - ae, Se, at, Ve), Tn = Uu(Dt.fixed - Q, ge, Dt.stretch, j), tn = qu(Lt.stretch - fe, U, rt, We), Ri = Uu(Lt.fixed - Re, tt, Lt.stretch, H), Xr = new T(Pt, Yr), Si = new T(qi, Yr), zi = new T(qi, tn), Di = new T(Pt, tn), Ki = new T(or / m, mi / m), Cn = new T(Tn / m, Ri / m), Ai = t * Math.PI / 180;
@@ -7993,7 +7993,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
7993
7993
  return { tl: Xr, tr: Si, bl: Di, br: zi, tex: { x: f.paddedRect.x + xc + rn, y: f.paddedRect.y + xc + gi, w: Dt.stretch + Dt.fixed - rn, h: Lt.stretch + Lt.fixed - gi }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: Ki, pixelOffsetBR: Cn, minFontScaleX: ge / m / at, minFontScaleY: tt / m / rt, isSDF: i };
7994
7994
  };
7995
7995
  if (o && (f.stretchX || f.stretchY)) {
7996
- const Ge = fm(R, J, j), kt = fm(B, te, H);
7996
+ const Ge = fm(L, J, j), kt = fm(B, te, H);
7997
7997
  for (let Dt = 0; Dt < Ge.length - 1; Dt++) {
7998
7998
  const Lt = Ge[Dt], Pt = Ge[Dt + 1];
7999
7999
  for (let or = 0; or < kt.length - 1; or++) c.push(ct(Lt, kt[or], Pt, kt[or + 1]));
@@ -8021,7 +8021,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8021
8021
  return n - t * i / o;
8022
8022
  }
8023
8023
  class Nu {
8024
- constructor(t, i, o, c, f, m, _, w, C, R) {
8024
+ constructor(t, i, o, c, f, m, _, w, C, L) {
8025
8025
  var B;
8026
8026
  if (this.boxStartIndex = t.length, C) {
8027
8027
  let V = m.top, j = m.bottom;
@@ -8033,8 +8033,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8033
8033
  const V = !((B = m.image) === null || B === void 0) && B.content && (m.image.textFitWidth || m.image.textFitHeight) ? Vf(m) : { x1: m.left, y1: m.top, x2: m.right, y2: m.bottom };
8034
8034
  V.y1 = V.y1 * _ - w[0], V.y2 = V.y2 * _ + w[2], V.x1 = V.x1 * _ - w[3], V.x2 = V.x2 * _ + w[1];
8035
8035
  const j = m.collisionPadding;
8036
- if (j && (V.x1 -= j[0] * _, V.y1 -= j[1] * _, V.x2 += j[2] * _, V.y2 += j[3] * _), R) {
8037
- const H = new T(V.x1, V.y1), J = new T(V.x2, V.y1), te = new T(V.x1, V.y2), ae = new T(V.x2, V.y2), Se = R * Math.PI / 180;
8036
+ if (j && (V.x1 -= j[0] * _, V.y1 -= j[1] * _, V.x2 += j[2] * _, V.y2 += j[3] * _), L) {
8037
+ const H = new T(V.x1, V.y1), J = new T(V.x2, V.y1), te = new T(V.x1, V.y2), ae = new T(V.x2, V.y2), Se = L * Math.PI / 180;
8038
8038
  H._rotate(Se), J._rotate(Se), te._rotate(Se), ae._rotate(Se), V.x1 = Math.min(H.x, J.x, te.x, ae.x), V.x2 = Math.max(H.x, J.x, te.x, ae.x), V.y1 = Math.min(H.y, J.y, te.y, ae.y), V.y2 = Math.max(H.y, J.y, te.y, ae.y);
8039
8039
  }
8040
8040
  t.emplaceBack(i.x, i.y, V.x1, V.y1, V.x2, V.y2, o, c, f);
@@ -8086,9 +8086,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8086
8086
  }
8087
8087
  const w = Math.min(f - o, m - c);
8088
8088
  let C = w / 2;
8089
- const R = new _v([], xv);
8089
+ const L = new _v([], xv);
8090
8090
  if (w === 0) return new T(o, c);
8091
- for (let j = o; j < f; j += w) for (let H = c; H < m; H += w) R.push(new ol(j + C, H + C, C, n));
8091
+ for (let j = o; j < f; j += w) for (let H = c; H < m; H += w) L.push(new ol(j + C, H + C, C, n));
8092
8092
  let B = function(j) {
8093
8093
  let H = 0, J = 0, te = 0;
8094
8094
  const ae = j[0];
@@ -8097,10 +8097,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8097
8097
  J += (Q.x + ge.x) * Re, te += (Q.y + ge.y) * Re, H += 3 * Re;
8098
8098
  }
8099
8099
  return new ol(J / H, te / H, 0, j);
8100
- }(n), V = R.length;
8101
- for (; R.length; ) {
8102
- const j = R.pop();
8103
- (j.d > B.d || !B.d) && (B = j, i && console.log("found best %d after %d probes", Math.round(1e4 * j.d) / 1e4, V)), j.max - B.d <= t || (C = j.h / 2, R.push(new ol(j.p.x - C, j.p.y - C, C, n)), R.push(new ol(j.p.x + C, j.p.y - C, C, n)), R.push(new ol(j.p.x - C, j.p.y + C, C, n)), R.push(new ol(j.p.x + C, j.p.y + C, C, n)), V += 4);
8100
+ }(n), V = L.length;
8101
+ for (; L.length; ) {
8102
+ const j = L.pop();
8103
+ (j.d > B.d || !B.d) && (B = j, i && console.log("found best %d after %d probes", Math.round(1e4 * j.d) / 1e4, V)), j.max - B.d <= t || (C = j.h / 2, L.push(new ol(j.p.x - C, j.p.y - C, C, n)), L.push(new ol(j.p.x + C, j.p.y - C, C, n)), L.push(new ol(j.p.x - C, j.p.y + C, C, n)), L.push(new ol(j.p.x + C, j.p.y + C, C, n)), V += 4);
8104
8104
  }
8105
8105
  return i && (console.log(`num probes: ${V}`), console.log(`best distance: ${B.d}`)), B.p;
8106
8106
  }
@@ -8112,8 +8112,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8112
8112
  let m = !1, _ = 1 / 0;
8113
8113
  for (let w = 0; w < f.length; w++) {
8114
8114
  const C = f[w];
8115
- for (let R = 0, B = C.length, V = B - 1; R < B; V = R++) {
8116
- const j = C[R], H = C[V];
8115
+ for (let L = 0, B = C.length, V = B - 1; L < B; V = L++) {
8116
+ const j = C[L], H = C[V];
8117
8117
  j.y > c.y != H.y > c.y && c.x < (H.x - j.x) * (c.y - j.y) / (H.y - j.y) + j.x && (m = !m), _ = Math.min(_, Kd(c, j, H));
8118
8118
  }
8119
8119
  }
@@ -8192,8 +8192,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8192
8192
  if (f) {
8193
8193
  const _ = f.values, w = [];
8194
8194
  for (let C = 0; C < _.length; C += 2) {
8195
- const R = w[C] = _[C], B = _[C + 1].map((V) => V * fi);
8196
- R.startsWith("top") ? B[1] -= fo : R.startsWith("bottom") && (B[1] += fo), w[C + 1] = B;
8195
+ const L = w[C] = _[C], B = _[C + 1].map((V) => V * fi);
8196
+ L.startsWith("top") ? B[1] -= fo : L.startsWith("bottom") && (B[1] += fo), w[C + 1] = B;
8197
8197
  }
8198
8198
  return new Qe(w);
8199
8199
  }
@@ -8220,16 +8220,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8220
8220
  }
8221
8221
  return "center";
8222
8222
  }
8223
- function bv(n, t, i, o, c, f, m, _, w, C, R, B) {
8223
+ function bv(n, t, i, o, c, f, m, _, w, C, L, B) {
8224
8224
  let V = f.textMaxSize.evaluate(t, {});
8225
8225
  V === void 0 && (V = m);
8226
- const j = n.layers[0].layout, H = j.get("icon-offset").evaluate(t, {}, R), J = _m(i.horizontal), te = m / 24, ae = n.tilePixelRatio * te, Se = n.tilePixelRatio * V / 24, fe = n.tilePixelRatio * _, U = n.tilePixelRatio * j.get("symbol-spacing"), Q = j.get("text-padding") * n.tilePixelRatio, ge = function(Dt, Lt, Pt, or = 1) {
8226
+ const j = n.layers[0].layout, H = j.get("icon-offset").evaluate(t, {}, L), J = _m(i.horizontal), te = m / 24, ae = n.tilePixelRatio * te, Se = n.tilePixelRatio * V / 24, fe = n.tilePixelRatio * _, U = n.tilePixelRatio * j.get("symbol-spacing"), Q = j.get("text-padding") * n.tilePixelRatio, ge = function(Dt, Lt, Pt, or = 1) {
8227
8227
  const Yr = Dt.get("icon-padding").evaluate(Lt, {}, Pt), mi = Yr && Yr.values;
8228
8228
  return [mi[0] * or, mi[1] * or, mi[2] * or, mi[3] * or];
8229
- }(j, t, R, n.tilePixelRatio), Re = j.get("text-max-angle") / 180 * Math.PI, tt = j.get("text-rotation-alignment") !== "viewport" && j.get("symbol-placement") !== "point", Ve = j.get("icon-rotation-alignment") === "map" && j.get("symbol-placement") !== "point", We = j.get("symbol-placement"), at = U / 2, rt = j.get("icon-text-fit");
8229
+ }(j, t, L, n.tilePixelRatio), Re = j.get("text-max-angle") / 180 * Math.PI, tt = j.get("text-rotation-alignment") !== "viewport" && j.get("symbol-placement") !== "point", Ve = j.get("icon-rotation-alignment") === "map" && j.get("symbol-placement") !== "point", We = j.get("symbol-placement"), at = U / 2, rt = j.get("icon-text-fit");
8230
8230
  let ct;
8231
8231
  o && rt !== "none" && (n.allowVerticalPlacement && i.vertical && (ct = qf(o, i.vertical, rt, j.get("icon-text-fit-padding"), H, te)), J && (o = qf(o, J, rt, j.get("icon-text-fit-padding"), H, te)));
8232
- const Ge = R ? B.line.getGranularityForZoomLevel(R.z) : 1, kt = (Dt, Lt) => {
8232
+ const Ge = L ? B.line.getGranularityForZoomLevel(L.z) : 1, kt = (Dt, Lt) => {
8233
8233
  Lt.x < 0 || Lt.x >= lr || Lt.y < 0 || Lt.y >= lr || function(Pt, or, Yr, mi, qi, Tn, tn, Ri, Xr, Si, zi, Di, Ki, Cn, Ai, rn, gi, ki, Ti, ui, qr, $n, al, es, Av) {
8234
8234
  const ll = Pt.addToLineVertexArray(or, Yr);
8235
8235
  let ea, cl, ul, hl, wm = 0, Sm = 0, Am = 0, km = 0, $p = -1, ed = -1;
@@ -8273,7 +8273,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8273
8273
  return [ta, ji.length];
8274
8274
  }(Pt.textAnchorOffsets, Rv);
8275
8275
  Pt.symbolInstances.emplaceBack(or.x, or.y, Vs.right >= 0 ? Vs.right : -1, Vs.center >= 0 ? Vs.center : -1, Vs.left >= 0 ? Vs.left : -1, Vs.vertical || -1, $p, ed, Tm, kv, Tv, Cv, Pv, Ev, Iv, Mv, Lv, Si, Am, km, wm, Sm, Pm, 0, Ki, ts, zv, Dv);
8276
- }(n, Lt, Dt, i, o, c, ct, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, ae, [Q, Q, Q, Q], tt, w, fe, ge, Ve, H, t, f, C, R, m);
8276
+ }(n, Lt, Dt, i, o, c, ct, n.layers[0], n.collisionBoxArray, t.index, t.sourceLayerIndex, n.index, ae, [Q, Q, Q, Q], tt, w, fe, ge, Ve, H, t, f, C, L, m);
8277
8277
  };
8278
8278
  if (We === "line") for (const Dt of am(t.geometry, 0, 0, lr, lr)) {
8279
8279
  const Lt = $o(Dt, Ge), Pt = yv(Lt, U, Re, i.vertical || J, o, 24, Se, n.overscaling, lr);
@@ -8294,7 +8294,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8294
8294
  }
8295
8295
  else if (t.type === "Point") for (const Dt of t.geometry) for (const Lt of Dt) kt([Lt], new po(Lt.x, Lt.y, 0));
8296
8296
  }
8297
- function ym(n, t, i, o, c, f, m, _, w, C, R, B, V, j, H) {
8297
+ function ym(n, t, i, o, c, f, m, _, w, C, L, B, V, j, H) {
8298
8298
  const J = function(Se, fe, U, Q, ge, Re, tt, Ve) {
8299
8299
  const We = Q.layout.get("text-rotate").evaluate(Re, {}) * Math.PI / 180, at = [];
8300
8300
  for (const rt of fe.positionedLines) for (const ct of rt.positionedGlyphs) {
@@ -8325,7 +8325,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8325
8325
  }(0, i, _, c, f, m, o, n.allowVerticalPlacement), te = n.textSizeData;
8326
8326
  let ae = null;
8327
8327
  te.kind === "source" ? (ae = [vs * c.layout.get("text-size").evaluate(m, {})], ae[0] > uo && wt(`${n.layerIds[0]}: Value for "text-size" is >= ${_c}. Reduce your "text-size".`)) : te.kind === "composite" && (ae = [vs * j.compositeTextSizes[0].evaluate(m, {}, H), vs * j.compositeTextSizes[1].evaluate(m, {}, H)], (ae[0] > uo || ae[1] > uo) && wt(`${n.layerIds[0]}: Value for "text-size" is >= ${_c}. Reduce your "text-size".`)), n.addSymbols(n.text, J, ae, _, f, m, C, t, w.lineStartIndex, w.lineLength, V, H);
8328
- for (const Se of R) B[Se] = n.text.placedSymbolArray.length - 1;
8328
+ for (const Se of L) B[Se] = n.text.placedSymbolArray.length - 1;
8329
8329
  return 4 * J.length;
8330
8330
  }
8331
8331
  function _m(n) {
@@ -8373,7 +8373,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8373
8373
  if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
8374
8374
  const { ids: f, coords: m, nodeSize: _ } = this, w = [0, f.length - 1, 0], C = [];
8375
8375
  for (; w.length; ) {
8376
- const R = w.pop() || 0, B = w.pop() || 0, V = w.pop() || 0;
8376
+ const L = w.pop() || 0, B = w.pop() || 0, V = w.pop() || 0;
8377
8377
  if (B - V <= _) {
8378
8378
  for (let te = V; te <= B; te++) {
8379
8379
  const ae = m[2 * te], Se = m[2 * te + 1];
@@ -8382,7 +8382,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8382
8382
  continue;
8383
8383
  }
8384
8384
  const j = V + B >> 1, H = m[2 * j], J = m[2 * j + 1];
8385
- H >= t && H <= o && J >= i && J <= c && C.push(f[j]), (R === 0 ? t <= H : i <= J) && (w.push(V), w.push(j - 1), w.push(1 - R)), (R === 0 ? o >= H : c >= J) && (w.push(j + 1), w.push(B), w.push(1 - R));
8385
+ H >= t && H <= o && J >= i && J <= c && C.push(f[j]), (L === 0 ? t <= H : i <= J) && (w.push(V), w.push(j - 1), w.push(1 - L)), (L === 0 ? o >= H : c >= J) && (w.push(j + 1), w.push(B), w.push(1 - L));
8386
8386
  }
8387
8387
  return C;
8388
8388
  }
@@ -8390,13 +8390,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8390
8390
  if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
8391
8391
  const { ids: c, coords: f, nodeSize: m } = this, _ = [0, c.length - 1, 0], w = [], C = o * o;
8392
8392
  for (; _.length; ) {
8393
- const R = _.pop() || 0, B = _.pop() || 0, V = _.pop() || 0;
8393
+ const L = _.pop() || 0, B = _.pop() || 0, V = _.pop() || 0;
8394
8394
  if (B - V <= m) {
8395
8395
  for (let te = V; te <= B; te++) bm(f[2 * te], f[2 * te + 1], t, i) <= C && w.push(c[te]);
8396
8396
  continue;
8397
8397
  }
8398
8398
  const j = V + B >> 1, H = f[2 * j], J = f[2 * j + 1];
8399
- bm(H, J, t, i) <= C && w.push(c[j]), (R === 0 ? t - o <= H : i - o <= J) && (_.push(V), _.push(j - 1), _.push(1 - R)), (R === 0 ? t + o >= H : i + o >= J) && (_.push(j + 1), _.push(B), _.push(1 - R));
8399
+ bm(H, J, t, i) <= C && w.push(c[j]), (L === 0 ? t - o <= H : i - o <= J) && (_.push(V), _.push(j - 1), _.push(1 - L)), (L === 0 ? t + o >= H : i + o >= J) && (_.push(j + 1), _.push(B), _.push(1 - L));
8400
8400
  }
8401
8401
  return w;
8402
8402
  }
@@ -8409,8 +8409,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8409
8409
  function xm(n, t, i, o, c, f) {
8410
8410
  for (; c > o; ) {
8411
8411
  if (c - o > 600) {
8412
- const C = c - o + 1, R = i - o + 1, B = Math.log(C), V = 0.5 * Math.exp(2 * B / 3), j = 0.5 * Math.sqrt(B * V * (C - V) / C) * (R - C / 2 < 0 ? -1 : 1);
8413
- xm(n, t, i, Math.max(o, Math.floor(i - R * V / C + j)), Math.min(c, Math.floor(i + (C - R) * V / C + j)), f);
8412
+ const C = c - o + 1, L = i - o + 1, B = Math.log(C), V = 0.5 * Math.exp(2 * B / 3), j = 0.5 * Math.sqrt(B * V * (C - V) / C) * (L - C / 2 < 0 ? -1 : 1);
8413
+ xm(n, t, i, Math.max(o, Math.floor(i - L * V / C + j)), Math.min(c, Math.floor(i + (C - L) * V / C + j)), f);
8414
8414
  }
8415
8415
  const m = t[2 * i + f];
8416
8416
  let _ = o, w = c;
@@ -8524,14 +8524,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8524
8524
  var n = new ze(16);
8525
8525
  return ze != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[4] = 0, n[6] = 0, n[7] = 0, n[8] = 0, n[9] = 0, n[11] = 0, n[12] = 0, n[13] = 0, n[14] = 0), n[0] = 1, n[5] = 1, n[10] = 1, n[15] = 1, n;
8526
8526
  }, v.L = function(n, t, i) {
8527
- var o, c, f, m, _, w, C, R, B, V, j, H, J = i[0], te = i[1], ae = i[2];
8528
- return t === n ? (n[12] = t[0] * J + t[4] * te + t[8] * ae + t[12], n[13] = t[1] * J + t[5] * te + t[9] * ae + t[13], n[14] = t[2] * J + t[6] * te + t[10] * ae + t[14], n[15] = t[3] * J + t[7] * te + t[11] * ae + t[15]) : (c = t[1], f = t[2], m = t[3], _ = t[4], w = t[5], C = t[6], R = t[7], B = t[8], V = t[9], j = t[10], H = t[11], n[0] = o = t[0], n[1] = c, n[2] = f, n[3] = m, n[4] = _, n[5] = w, n[6] = C, n[7] = R, n[8] = B, n[9] = V, n[10] = j, n[11] = H, n[12] = o * J + _ * te + B * ae + t[12], n[13] = c * J + w * te + V * ae + t[13], n[14] = f * J + C * te + j * ae + t[14], n[15] = m * J + R * te + H * ae + t[15]), n;
8527
+ var o, c, f, m, _, w, C, L, B, V, j, H, J = i[0], te = i[1], ae = i[2];
8528
+ return t === n ? (n[12] = t[0] * J + t[4] * te + t[8] * ae + t[12], n[13] = t[1] * J + t[5] * te + t[9] * ae + t[13], n[14] = t[2] * J + t[6] * te + t[10] * ae + t[14], n[15] = t[3] * J + t[7] * te + t[11] * ae + t[15]) : (c = t[1], f = t[2], m = t[3], _ = t[4], w = t[5], C = t[6], L = t[7], B = t[8], V = t[9], j = t[10], H = t[11], n[0] = o = t[0], n[1] = c, n[2] = f, n[3] = m, n[4] = _, n[5] = w, n[6] = C, n[7] = L, n[8] = B, n[9] = V, n[10] = j, n[11] = H, n[12] = o * J + _ * te + B * ae + t[12], n[13] = c * J + w * te + V * ae + t[13], n[14] = f * J + C * te + j * ae + t[14], n[15] = m * J + L * te + H * ae + t[15]), n;
8529
8529
  }, v.M = function(n, t, i) {
8530
8530
  var o = i[0], c = i[1], f = i[2];
8531
8531
  return n[0] = t[0] * o, n[1] = t[1] * o, n[2] = t[2] * o, n[3] = t[3] * o, n[4] = t[4] * c, n[5] = t[5] * c, n[6] = t[6] * c, n[7] = t[7] * c, n[8] = t[8] * f, n[9] = t[9] * f, n[10] = t[10] * f, n[11] = t[11] * f, n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15], n;
8532
8532
  }, v.N = function(n, t, i) {
8533
- var o = t[0], c = t[1], f = t[2], m = t[3], _ = t[4], w = t[5], C = t[6], R = t[7], B = t[8], V = t[9], j = t[10], H = t[11], J = t[12], te = t[13], ae = t[14], Se = t[15], fe = i[0], U = i[1], Q = i[2], ge = i[3];
8534
- return n[0] = fe * o + U * _ + Q * B + ge * J, n[1] = fe * c + U * w + Q * V + ge * te, n[2] = fe * f + U * C + Q * j + ge * ae, n[3] = fe * m + U * R + Q * H + ge * Se, n[4] = (fe = i[4]) * o + (U = i[5]) * _ + (Q = i[6]) * B + (ge = i[7]) * J, n[5] = fe * c + U * w + Q * V + ge * te, n[6] = fe * f + U * C + Q * j + ge * ae, n[7] = fe * m + U * R + Q * H + ge * Se, n[8] = (fe = i[8]) * o + (U = i[9]) * _ + (Q = i[10]) * B + (ge = i[11]) * J, n[9] = fe * c + U * w + Q * V + ge * te, n[10] = fe * f + U * C + Q * j + ge * ae, n[11] = fe * m + U * R + Q * H + ge * Se, n[12] = (fe = i[12]) * o + (U = i[13]) * _ + (Q = i[14]) * B + (ge = i[15]) * J, n[13] = fe * c + U * w + Q * V + ge * te, n[14] = fe * f + U * C + Q * j + ge * ae, n[15] = fe * m + U * R + Q * H + ge * Se, n;
8533
+ var o = t[0], c = t[1], f = t[2], m = t[3], _ = t[4], w = t[5], C = t[6], L = t[7], B = t[8], V = t[9], j = t[10], H = t[11], J = t[12], te = t[13], ae = t[14], Se = t[15], fe = i[0], U = i[1], Q = i[2], ge = i[3];
8534
+ return n[0] = fe * o + U * _ + Q * B + ge * J, n[1] = fe * c + U * w + Q * V + ge * te, n[2] = fe * f + U * C + Q * j + ge * ae, n[3] = fe * m + U * L + Q * H + ge * Se, n[4] = (fe = i[4]) * o + (U = i[5]) * _ + (Q = i[6]) * B + (ge = i[7]) * J, n[5] = fe * c + U * w + Q * V + ge * te, n[6] = fe * f + U * C + Q * j + ge * ae, n[7] = fe * m + U * L + Q * H + ge * Se, n[8] = (fe = i[8]) * o + (U = i[9]) * _ + (Q = i[10]) * B + (ge = i[11]) * J, n[9] = fe * c + U * w + Q * V + ge * te, n[10] = fe * f + U * C + Q * j + ge * ae, n[11] = fe * m + U * L + Q * H + ge * Se, n[12] = (fe = i[12]) * o + (U = i[13]) * _ + (Q = i[14]) * B + (ge = i[15]) * J, n[13] = fe * c + U * w + Q * V + ge * te, n[14] = fe * f + U * C + Q * j + ge * ae, n[15] = fe * m + U * L + Q * H + ge * Se, n;
8535
8535
  }, v.O = function(n, t) {
8536
8536
  const i = {};
8537
8537
  for (let o = 0; o < t.length; o++) {
@@ -8540,8 +8540,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8540
8540
  }
8541
8541
  return i;
8542
8542
  }, v.P = T, v.Q = ho, v.R = An, v.S = Xf, v.T = bu, v.U = Jf, v.V = Pe, v.W = ee, v.X = jt, v.Y = kn, v.Z = lr, v._ = s, v.a = Lr, v.a$ = function(n, t, i) {
8543
- var o = Math.sin(i), c = Math.cos(i), f = t[4], m = t[5], _ = t[6], w = t[7], C = t[8], R = t[9], B = t[10], V = t[11];
8544
- return t !== n && (n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[4] = f * c + C * o, n[5] = m * c + R * o, n[6] = _ * c + B * o, n[7] = w * c + V * o, n[8] = C * c - f * o, n[9] = R * c - m * o, n[10] = B * c - _ * o, n[11] = V * c - w * o, n;
8543
+ var o = Math.sin(i), c = Math.cos(i), f = t[4], m = t[5], _ = t[6], w = t[7], C = t[8], L = t[9], B = t[10], V = t[11];
8544
+ return t !== n && (n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[4] = f * c + C * o, n[5] = m * c + L * o, n[6] = _ * c + B * o, n[7] = w * c + V * o, n[8] = C * c - f * o, n[9] = L * c - m * o, n[10] = B * c - _ * o, n[11] = V * c - w * o, n;
8545
8545
  }, v.a0 = 25, v.a1 = jp, v.a2 = (n) => {
8546
8546
  const t = window.document.createElement("video");
8547
8547
  return t.muted = !0, new Promise((i) => {
@@ -8589,8 +8589,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8589
8589
  var t = new ze(16);
8590
8590
  return t[0] = n[0], t[1] = n[1], t[2] = n[2], t[3] = n[3], t[4] = n[4], t[5] = n[5], t[6] = n[6], t[7] = n[7], t[8] = n[8], t[9] = n[9], t[10] = n[10], t[11] = n[11], t[12] = n[12], t[13] = n[13], t[14] = n[14], t[15] = n[15], t;
8591
8591
  }, v.a_ = function(n, t, i) {
8592
- var o = Math.sin(i), c = Math.cos(i), f = t[0], m = t[1], _ = t[2], w = t[3], C = t[4], R = t[5], B = t[6], V = t[7];
8593
- return t !== n && (n[8] = t[8], n[9] = t[9], n[10] = t[10], n[11] = t[11], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[0] = f * c + C * o, n[1] = m * c + R * o, n[2] = _ * c + B * o, n[3] = w * c + V * o, n[4] = C * c - f * o, n[5] = R * c - m * o, n[6] = B * c - _ * o, n[7] = V * c - w * o, n;
8592
+ var o = Math.sin(i), c = Math.cos(i), f = t[0], m = t[1], _ = t[2], w = t[3], C = t[4], L = t[5], B = t[6], V = t[7];
8593
+ return t !== n && (n[8] = t[8], n[9] = t[9], n[10] = t[10], n[11] = t[11], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[0] = f * c + C * o, n[1] = m * c + L * o, n[2] = _ * c + B * o, n[3] = w * c + V * o, n[4] = C * c - f * o, n[5] = L * c - m * o, n[6] = B * c - _ * o, n[7] = V * c - w * o, n;
8594
8594
  }, v.aa = function(n) {
8595
8595
  const t = {};
8596
8596
  if (n.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g, (i, o, c, f) => {
@@ -8623,8 +8623,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8623
8623
  }, v.am = function(n, { uSize: t, uSizeT: i }, { lowerSize: o, upperSize: c }) {
8624
8624
  return n.kind === "source" ? o / vs : n.kind === "composite" ? zn.number(o / vs, c / vs, i) : t;
8625
8625
  }, v.an = function(n, t) {
8626
- var i = t[0], o = t[1], c = t[2], f = t[3], m = t[4], _ = t[5], w = t[6], C = t[7], R = t[8], B = t[9], V = t[10], j = t[11], H = t[12], J = t[13], te = t[14], ae = t[15], Se = i * _ - o * m, fe = i * w - c * m, U = i * C - f * m, Q = o * w - c * _, ge = o * C - f * _, Re = c * C - f * w, tt = R * J - B * H, Ve = R * te - V * H, We = R * ae - j * H, at = B * te - V * J, rt = B * ae - j * J, ct = V * ae - j * te, Ge = Se * ct - fe * rt + U * at + Q * We - ge * Ve + Re * tt;
8627
- return Ge ? (n[0] = (_ * ct - w * rt + C * at) * (Ge = 1 / Ge), n[1] = (c * rt - o * ct - f * at) * Ge, n[2] = (J * Re - te * ge + ae * Q) * Ge, n[3] = (V * ge - B * Re - j * Q) * Ge, n[4] = (w * We - m * ct - C * Ve) * Ge, n[5] = (i * ct - c * We + f * Ve) * Ge, n[6] = (te * U - H * Re - ae * fe) * Ge, n[7] = (R * Re - V * U + j * fe) * Ge, n[8] = (m * rt - _ * We + C * tt) * Ge, n[9] = (o * We - i * rt - f * tt) * Ge, n[10] = (H * ge - J * U + ae * Se) * Ge, n[11] = (B * U - R * ge - j * Se) * Ge, n[12] = (_ * Ve - m * at - w * tt) * Ge, n[13] = (i * at - o * Ve + c * tt) * Ge, n[14] = (J * fe - H * Q - te * Se) * Ge, n[15] = (R * Q - B * fe + V * Se) * Ge, n) : null;
8626
+ var i = t[0], o = t[1], c = t[2], f = t[3], m = t[4], _ = t[5], w = t[6], C = t[7], L = t[8], B = t[9], V = t[10], j = t[11], H = t[12], J = t[13], te = t[14], ae = t[15], Se = i * _ - o * m, fe = i * w - c * m, U = i * C - f * m, Q = o * w - c * _, ge = o * C - f * _, Re = c * C - f * w, tt = L * J - B * H, Ve = L * te - V * H, We = L * ae - j * H, at = B * te - V * J, rt = B * ae - j * J, ct = V * ae - j * te, Ge = Se * ct - fe * rt + U * at + Q * We - ge * Ve + Re * tt;
8627
+ return Ge ? (n[0] = (_ * ct - w * rt + C * at) * (Ge = 1 / Ge), n[1] = (c * rt - o * ct - f * at) * Ge, n[2] = (J * Re - te * ge + ae * Q) * Ge, n[3] = (V * ge - B * Re - j * Q) * Ge, n[4] = (w * We - m * ct - C * Ve) * Ge, n[5] = (i * ct - c * We + f * Ve) * Ge, n[6] = (te * U - H * Re - ae * fe) * Ge, n[7] = (L * Re - V * U + j * fe) * Ge, n[8] = (m * rt - _ * We + C * tt) * Ge, n[9] = (o * We - i * rt - f * tt) * Ge, n[10] = (H * ge - J * U + ae * Se) * Ge, n[11] = (B * U - L * ge - j * Se) * Ge, n[12] = (_ * Ve - m * at - w * tt) * Ge, n[13] = (i * at - o * Ve + c * tt) * Ge, n[14] = (J * fe - H * Q - te * Se) * Ge, n[15] = (L * Q - B * fe + V * Se) * Ge, n) : null;
8628
8628
  }, v.ao = Mr, v.ap = function(n) {
8629
8629
  return Math.hypot(n[0], n[1]);
8630
8630
  }, v.aq = function(n) {
@@ -8654,16 +8654,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8654
8654
  return function(c, f, m, _) {
8655
8655
  var w = 0.5 * Math.PI / 180;
8656
8656
  f *= w, m *= w, _ *= w;
8657
- var C = Math.sin(f), R = Math.cos(f), B = Math.sin(m), V = Math.cos(m), j = Math.sin(_), H = Math.cos(_);
8658
- c[0] = C * V * H - R * B * j, c[1] = R * B * H + C * V * j, c[2] = R * V * j - C * B * H, c[3] = R * V * H + C * B * j;
8657
+ var C = Math.sin(f), L = Math.cos(f), B = Math.sin(m), V = Math.cos(m), j = Math.sin(_), H = Math.cos(_);
8658
+ c[0] = C * V * H - L * B * j, c[1] = L * B * H + C * V * j, c[2] = L * V * j - C * B * H, c[3] = L * V * H + C * B * j;
8659
8659
  }(o, n, t - 90, i), o;
8660
8660
  }, v.b4 = function(n, t, i, o) {
8661
- var c, f, m, _, w, C = t[0], R = t[1], B = t[2], V = t[3], j = i[0], H = i[1], J = i[2], te = i[3];
8662
- return (f = C * j + R * H + B * J + V * te) < 0 && (f = -f, j = -j, H = -H, J = -J, te = -te), 1 - f > me ? (c = Math.acos(f), m = Math.sin(c), _ = Math.sin((1 - o) * c) / m, w = Math.sin(o * c) / m) : (_ = 1 - o, w = o), n[0] = _ * C + w * j, n[1] = _ * R + w * H, n[2] = _ * B + w * J, n[3] = _ * V + w * te, n;
8661
+ var c, f, m, _, w, C = t[0], L = t[1], B = t[2], V = t[3], j = i[0], H = i[1], J = i[2], te = i[3];
8662
+ return (f = C * j + L * H + B * J + V * te) < 0 && (f = -f, j = -j, H = -H, J = -J, te = -te), 1 - f > me ? (c = Math.acos(f), m = Math.sin(c), _ = Math.sin((1 - o) * c) / m, w = Math.sin(o * c) / m) : (_ = 1 - o, w = o), n[0] = _ * C + w * j, n[1] = _ * L + w * H, n[2] = _ * B + w * J, n[3] = _ * V + w * te, n;
8663
8663
  }, v.b5 = function(n) {
8664
8664
  const t = new Float64Array(9);
8665
- var i, o, c, f, m, _, w, C, R, B, V, j, H, J, te, ae, Se, fe;
8666
- B = (c = (o = n)[0]) * (w = c + c), V = (f = o[1]) * w, H = (m = o[2]) * w, J = m * (C = f + f), ae = (_ = o[3]) * w, Se = _ * C, fe = _ * (R = m + m), (i = t)[0] = 1 - (j = f * C) - (te = m * R), i[3] = V - fe, i[6] = H + Se, i[1] = V + fe, i[4] = 1 - B - te, i[7] = J - ae, i[2] = H - Se, i[5] = J + ae, i[8] = 1 - B - j;
8665
+ var i, o, c, f, m, _, w, C, L, B, V, j, H, J, te, ae, Se, fe;
8666
+ B = (c = (o = n)[0]) * (w = c + c), V = (f = o[1]) * w, H = (m = o[2]) * w, J = m * (C = f + f), ae = (_ = o[3]) * w, Se = _ * C, fe = _ * (L = m + m), (i = t)[0] = 1 - (j = f * C) - (te = m * L), i[3] = V - fe, i[6] = H + Se, i[1] = V + fe, i[4] = 1 - B - te, i[7] = J - ae, i[2] = H - Se, i[5] = J + ae, i[8] = 1 - B - j;
8667
8667
  const U = Ei(-Math.asin(ri(t[2], -1, 1)));
8668
8668
  let Q, ge;
8669
8669
  return Math.hypot(t[5], t[8]) < 1e-3 ? (Q = 0, ge = -Ei(Math.atan2(t[3], t[4]))) : (Q = Ei(t[5] === 0 && t[8] === 0 ? 0 : Math.atan2(t[5], t[8])), ge = Ei(t[1] === 0 && t[0] === 0 ? 0 : Math.atan2(t[1], t[0]))), { roll: Q, pitch: U + 90, bearing: ge };
@@ -8699,20 +8699,20 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8699
8699
  Ie(n.center, t.center) || i.push({ command: "setCenter", args: [t.center] }), Ie(n.state, t.state) || i.push({ command: "setGlobalState", args: [t.state] }), Ie(n.centerAltitude, t.centerAltitude) || i.push({ command: "setCenterAltitude", args: [t.centerAltitude] }), Ie(n.zoom, t.zoom) || i.push({ command: "setZoom", args: [t.zoom] }), Ie(n.bearing, t.bearing) || i.push({ command: "setBearing", args: [t.bearing] }), Ie(n.pitch, t.pitch) || i.push({ command: "setPitch", args: [t.pitch] }), Ie(n.roll, t.roll) || i.push({ command: "setRoll", args: [t.roll] }), Ie(n.sprite, t.sprite) || i.push({ command: "setSprite", args: [t.sprite] }), Ie(n.glyphs, t.glyphs) || i.push({ command: "setGlyphs", args: [t.glyphs] }), Ie(n.transition, t.transition) || i.push({ command: "setTransition", args: [t.transition] }), Ie(n.light, t.light) || i.push({ command: "setLight", args: [t.light] }), Ie(n.terrain, t.terrain) || i.push({ command: "setTerrain", args: [t.terrain] }), Ie(n.sky, t.sky) || i.push({ command: "setSky", args: [t.sky] }), Ie(n.projection, t.projection) || i.push({ command: "setProjection", args: [t.projection] });
8700
8700
  const o = {}, c = [];
8701
8701
  (function(m, _, w, C) {
8702
- let R;
8703
- for (R in _ = _ || {}, m = m || {}) Object.prototype.hasOwnProperty.call(m, R) && (Object.prototype.hasOwnProperty.call(_, R) || $e(R, w, C));
8704
- for (R in _) Object.prototype.hasOwnProperty.call(_, R) && (Object.prototype.hasOwnProperty.call(m, R) ? Ie(m[R], _[R]) || (m[R].type === "geojson" && _[R].type === "geojson" && vt(m, _, R) ? Fe(w, { command: "setGeoJSONSourceData", args: [R, _[R].data] }) : pt(R, _, w, C)) : Ee(R, _, w));
8702
+ let L;
8703
+ for (L in _ = _ || {}, m = m || {}) Object.prototype.hasOwnProperty.call(m, L) && (Object.prototype.hasOwnProperty.call(_, L) || $e(L, w, C));
8704
+ for (L in _) Object.prototype.hasOwnProperty.call(_, L) && (Object.prototype.hasOwnProperty.call(m, L) ? Ie(m[L], _[L]) || (m[L].type === "geojson" && _[L].type === "geojson" && vt(m, _, L) ? Fe(w, { command: "setGeoJSONSourceData", args: [L, _[L].data] }) : pt(L, _, w, C)) : Ee(L, _, w));
8705
8705
  })(n.sources, t.sources, c, o);
8706
8706
  const f = [];
8707
8707
  n.layers && n.layers.forEach((m) => {
8708
8708
  "source" in m && o[m.source] ? i.push({ command: "removeLayer", args: [m.id] }) : f.push(m);
8709
8709
  }), i = i.concat(c), function(m, _, w) {
8710
8710
  _ = _ || [];
8711
- const C = (m = m || []).map(Zt), R = _.map(Zt), B = m.reduce(Bt, {}), V = _.reduce(Bt, {}), j = C.slice(), H = /* @__PURE__ */ Object.create(null);
8711
+ const C = (m = m || []).map(Zt), L = _.map(Zt), B = m.reduce(Bt, {}), V = _.reduce(Bt, {}), j = C.slice(), H = /* @__PURE__ */ Object.create(null);
8712
8712
  let J, te, ae, Se, fe;
8713
8713
  for (let U = 0, Q = 0; U < C.length; U++) J = C[U], Object.prototype.hasOwnProperty.call(V, J) ? Q++ : (Fe(w, { command: "removeLayer", args: [J] }), j.splice(j.indexOf(J, Q), 1));
8714
- for (let U = 0, Q = 0; U < R.length; U++) J = R[R.length - 1 - U], j[j.length - 1 - U] !== J && (Object.prototype.hasOwnProperty.call(B, J) ? (Fe(w, { command: "removeLayer", args: [J] }), j.splice(j.lastIndexOf(J, j.length - Q), 1)) : Q++, Se = j[j.length - U], Fe(w, { command: "addLayer", args: [V[J], Se] }), j.splice(j.length - U, 0, J), H[J] = !0);
8715
- for (let U = 0; U < R.length; U++) if (J = R[U], te = B[J], ae = V[J], !H[J] && !Ie(te, ae)) if (Ie(te.source, ae.source) && Ie(te["source-layer"], ae["source-layer"]) && Ie(te.type, ae.type)) {
8714
+ for (let U = 0, Q = 0; U < L.length; U++) J = L[L.length - 1 - U], j[j.length - 1 - U] !== J && (Object.prototype.hasOwnProperty.call(B, J) ? (Fe(w, { command: "removeLayer", args: [J] }), j.splice(j.lastIndexOf(J, j.length - Q), 1)) : Q++, Se = j[j.length - U], Fe(w, { command: "addLayer", args: [V[J], Se] }), j.splice(j.length - U, 0, J), H[J] = !0);
8715
+ for (let U = 0; U < L.length; U++) if (J = L[U], te = B[J], ae = V[J], !H[J] && !Ie(te, ae)) if (Ie(te.source, ae.source) && Ie(te["source-layer"], ae["source-layer"]) && Ie(te.type, ae.type)) {
8716
8716
  for (fe in Mt(te.layout, ae.layout, w, J, null, "setLayoutProperty"), Mt(te.paint, ae.paint, w, J, null, "setPaintProperty"), Ie(te.filter, ae.filter) || Fe(w, { command: "setFilter", args: [J, ae.filter] }), Ie(te.minzoom, ae.minzoom) && Ie(te.maxzoom, ae.maxzoom) || Fe(w, { command: "setLayerZoomRange", args: [J, ae.minzoom, ae.maxzoom] }), te) Object.prototype.hasOwnProperty.call(te, fe) && fe !== "layout" && fe !== "paint" && fe !== "filter" && fe !== "metadata" && fe !== "minzoom" && fe !== "maxzoom" && (fe.indexOf("paint.") === 0 ? Mt(te[fe], ae[fe], w, J, fe.slice(6), "setPaintProperty") : Ie(te[fe], ae[fe]) || Fe(w, { command: "setLayerProperty", args: [J, fe, ae[fe]] }));
8717
8717
  for (fe in ae) Object.prototype.hasOwnProperty.call(ae, fe) && !Object.prototype.hasOwnProperty.call(te, fe) && fe !== "layout" && fe !== "paint" && fe !== "filter" && fe !== "metadata" && fe !== "minzoom" && fe !== "maxzoom" && (fe.indexOf("paint.") === 0 ? Mt(te[fe], ae[fe], w, J, fe.slice(6), "setPaintProperty") : Ie(te[fe], ae[fe]) || Fe(w, { command: "setLayerProperty", args: [J, fe, ae[fe]] }));
8718
8718
  } else Fe(w, { command: "removeLayer", args: [J] }), Se = j[j.lastIndexOf(J) + 1], Fe(w, { command: "addLayer", args: [ae, Se] });
@@ -8826,8 +8826,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8826
8826
  var c = [], f = [];
8827
8827
  return c[0] = t[0] - i[0], c[1] = t[1] - i[1], c[2] = t[2] - i[2], f[0] = c[2] * Math.sin(o) + c[0] * Math.cos(o), f[1] = c[1], f[2] = c[2] * Math.cos(o) - c[0] * Math.sin(o), n[0] = f[0] + i[0], n[1] = f[1] + i[1], n[2] = f[2] + i[2], n;
8828
8828
  }, v.bo = xt, v.bp = function(n, t, i) {
8829
- var o = Math.sin(i), c = Math.cos(i), f = t[0], m = t[1], _ = t[2], w = t[3], C = t[8], R = t[9], B = t[10], V = t[11];
8830
- return t !== n && (n[4] = t[4], n[5] = t[5], n[6] = t[6], n[7] = t[7], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[0] = f * c - C * o, n[1] = m * c - R * o, n[2] = _ * c - B * o, n[3] = w * c - V * o, n[8] = f * o + C * c, n[9] = m * o + R * c, n[10] = _ * o + B * c, n[11] = w * o + V * c, n;
8829
+ var o = Math.sin(i), c = Math.cos(i), f = t[0], m = t[1], _ = t[2], w = t[3], C = t[8], L = t[9], B = t[10], V = t[11];
8830
+ return t !== n && (n[4] = t[4], n[5] = t[5], n[6] = t[6], n[7] = t[7], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15]), n[0] = f * c - C * o, n[1] = m * c - L * o, n[2] = _ * c - B * o, n[3] = w * c - V * o, n[8] = f * o + C * c, n[9] = m * o + L * c, n[10] = _ * o + B * c, n[11] = w * o + V * c, n;
8831
8831
  }, v.bq = function(n, t) {
8832
8832
  const i = Hr(n, 360), o = Hr(t, 360), c = o - i, f = o > i ? c - 360 : c + 360;
8833
8833
  return Math.abs(c) < Math.abs(f) ? c : f;
@@ -8862,8 +8862,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8862
8862
  }, v.c = Nt, v.c0 = function(n, t) {
8863
8863
  return n[0] === t[0] && n[1] === t[1] && n[2] === t[2] && n[3] === t[3] && n[4] === t[4] && n[5] === t[5] && n[6] === t[6] && n[7] === t[7] && n[8] === t[8] && n[9] === t[9] && n[10] === t[10] && n[11] === t[11] && n[12] === t[12] && n[13] === t[13] && n[14] === t[14] && n[15] === t[15];
8864
8864
  }, v.c1 = function(n, t) {
8865
- var i = n[0], o = n[1], c = n[2], f = n[3], m = n[4], _ = n[5], w = n[6], C = n[7], R = n[8], B = n[9], V = n[10], j = n[11], H = n[12], J = n[13], te = n[14], ae = n[15], Se = t[0], fe = t[1], U = t[2], Q = t[3], ge = t[4], Re = t[5], tt = t[6], Ve = t[7], We = t[8], at = t[9], rt = t[10], ct = t[11], Ge = t[12], kt = t[13], Dt = t[14], Lt = t[15];
8866
- return Math.abs(i - Se) <= me * Math.max(1, Math.abs(i), Math.abs(Se)) && Math.abs(o - fe) <= me * Math.max(1, Math.abs(o), Math.abs(fe)) && Math.abs(c - U) <= me * Math.max(1, Math.abs(c), Math.abs(U)) && Math.abs(f - Q) <= me * Math.max(1, Math.abs(f), Math.abs(Q)) && Math.abs(m - ge) <= me * Math.max(1, Math.abs(m), Math.abs(ge)) && Math.abs(_ - Re) <= me * Math.max(1, Math.abs(_), Math.abs(Re)) && Math.abs(w - tt) <= me * Math.max(1, Math.abs(w), Math.abs(tt)) && Math.abs(C - Ve) <= me * Math.max(1, Math.abs(C), Math.abs(Ve)) && Math.abs(R - We) <= me * Math.max(1, Math.abs(R), Math.abs(We)) && Math.abs(B - at) <= me * Math.max(1, Math.abs(B), Math.abs(at)) && Math.abs(V - rt) <= me * Math.max(1, Math.abs(V), Math.abs(rt)) && Math.abs(j - ct) <= me * Math.max(1, Math.abs(j), Math.abs(ct)) && Math.abs(H - Ge) <= me * Math.max(1, Math.abs(H), Math.abs(Ge)) && Math.abs(J - kt) <= me * Math.max(1, Math.abs(J), Math.abs(kt)) && Math.abs(te - Dt) <= me * Math.max(1, Math.abs(te), Math.abs(Dt)) && Math.abs(ae - Lt) <= me * Math.max(1, Math.abs(ae), Math.abs(Lt));
8865
+ var i = n[0], o = n[1], c = n[2], f = n[3], m = n[4], _ = n[5], w = n[6], C = n[7], L = n[8], B = n[9], V = n[10], j = n[11], H = n[12], J = n[13], te = n[14], ae = n[15], Se = t[0], fe = t[1], U = t[2], Q = t[3], ge = t[4], Re = t[5], tt = t[6], Ve = t[7], We = t[8], at = t[9], rt = t[10], ct = t[11], Ge = t[12], kt = t[13], Dt = t[14], Lt = t[15];
8866
+ return Math.abs(i - Se) <= me * Math.max(1, Math.abs(i), Math.abs(Se)) && Math.abs(o - fe) <= me * Math.max(1, Math.abs(o), Math.abs(fe)) && Math.abs(c - U) <= me * Math.max(1, Math.abs(c), Math.abs(U)) && Math.abs(f - Q) <= me * Math.max(1, Math.abs(f), Math.abs(Q)) && Math.abs(m - ge) <= me * Math.max(1, Math.abs(m), Math.abs(ge)) && Math.abs(_ - Re) <= me * Math.max(1, Math.abs(_), Math.abs(Re)) && Math.abs(w - tt) <= me * Math.max(1, Math.abs(w), Math.abs(tt)) && Math.abs(C - Ve) <= me * Math.max(1, Math.abs(C), Math.abs(Ve)) && Math.abs(L - We) <= me * Math.max(1, Math.abs(L), Math.abs(We)) && Math.abs(B - at) <= me * Math.max(1, Math.abs(B), Math.abs(at)) && Math.abs(V - rt) <= me * Math.max(1, Math.abs(V), Math.abs(rt)) && Math.abs(j - ct) <= me * Math.max(1, Math.abs(j), Math.abs(ct)) && Math.abs(H - Ge) <= me * Math.max(1, Math.abs(H), Math.abs(Ge)) && Math.abs(J - kt) <= me * Math.max(1, Math.abs(J), Math.abs(kt)) && Math.abs(te - Dt) <= me * Math.max(1, Math.abs(te), Math.abs(Dt)) && Math.abs(ae - Lt) <= me * Math.max(1, Math.abs(ae), Math.abs(Lt));
8867
8867
  }, v.c2 = function(n, t) {
8868
8868
  return n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n[4] = t[4], n[5] = t[5], n[6] = t[6], n[7] = t[7], n[8] = t[8], n[9] = t[9], n[10] = t[10], n[11] = t[11], n[12] = t[12], n[13] = t[13], n[14] = t[14], n[15] = t[15], n;
8869
8869
  }, v.c3 = (n) => n.type === "symbol", v.c4 = (n) => n.type === "circle", v.c5 = (n) => n.type === "heatmap", v.c6 = (n) => n.type === "line", v.c7 = (n) => n.type === "fill", v.c8 = (n) => n.type === "fill-extrusion", v.c9 = (n) => n.type === "hillshade", v.cA = wp, v.cB = Cp, v.cC = dc, v.cD = Mp, v.cE = class {
@@ -8882,10 +8882,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8882
8882
  } catch {
8883
8883
  }
8884
8884
  return function(f, m, _, w, C) {
8885
- const R = f.width, B = f.height;
8886
- Ar && ei || (Ar = new OffscreenCanvas(R, B), ei = Ar.getContext("2d", { willReadFrequently: !0 })), Ar.width = R, Ar.height = B, ei.drawImage(f, 0, 0, R, B);
8885
+ const L = f.width, B = f.height;
8886
+ Ar && ei || (Ar = new OffscreenCanvas(L, B), ei = Ar.getContext("2d", { willReadFrequently: !0 })), Ar.width = L, Ar.height = B, ei.drawImage(f, 0, 0, L, B);
8887
8887
  const V = ei.getImageData(m, _, w, C);
8888
- return ei.clearRect(0, 0, R, B), V.data;
8888
+ return ei.clearRect(0, 0, L, B), V.data;
8889
8889
  }(n, t, i, o, c);
8890
8890
  });
8891
8891
  }, v.cG = tm, v.cH = D, v.cI = N, v.cJ = vf, v.cK = Mf, v.cL = Oa, v.cM = Xn, v.ca = (n) => n.type === "raster", v.cb = (n) => n.type === "background", v.cc = (n) => n.type === "custom", v.cd = vn, v.ce = function(n, t, i) {
@@ -8928,16 +8928,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8928
8928
  n.bucket.createArrays(), n.bucket.tilePixelRatio = lr / (512 * n.bucket.overscaling), n.bucket.compareText = {}, n.bucket.iconsNeedLinear = !1;
8929
8929
  const t = n.bucket.layers[0], i = t.layout, o = t._unevaluatedLayout._values, c = { layoutIconSize: o["icon-size"].possiblyEvaluate(new Fr(n.bucket.zoom + 1), n.canonical), layoutTextSize: o["text-size"].possiblyEvaluate(new Fr(n.bucket.zoom + 1), n.canonical), textMaxSize: o["text-size"].possiblyEvaluate(new Fr(18)) };
8930
8930
  if (n.bucket.textSizeData.kind === "composite") {
8931
- const { minZoom: C, maxZoom: R } = n.bucket.textSizeData;
8932
- c.compositeTextSizes = [o["text-size"].possiblyEvaluate(new Fr(C), n.canonical), o["text-size"].possiblyEvaluate(new Fr(R), n.canonical)];
8931
+ const { minZoom: C, maxZoom: L } = n.bucket.textSizeData;
8932
+ c.compositeTextSizes = [o["text-size"].possiblyEvaluate(new Fr(C), n.canonical), o["text-size"].possiblyEvaluate(new Fr(L), n.canonical)];
8933
8933
  }
8934
8934
  if (n.bucket.iconSizeData.kind === "composite") {
8935
- const { minZoom: C, maxZoom: R } = n.bucket.iconSizeData;
8936
- c.compositeIconSizes = [o["icon-size"].possiblyEvaluate(new Fr(C), n.canonical), o["icon-size"].possiblyEvaluate(new Fr(R), n.canonical)];
8935
+ const { minZoom: C, maxZoom: L } = n.bucket.iconSizeData;
8936
+ c.compositeIconSizes = [o["icon-size"].possiblyEvaluate(new Fr(C), n.canonical), o["icon-size"].possiblyEvaluate(new Fr(L), n.canonical)];
8937
8937
  }
8938
8938
  const f = i.get("text-line-height") * fi, m = i.get("text-rotation-alignment") !== "viewport" && i.get("symbol-placement") !== "point", _ = i.get("text-keep-upright"), w = i.get("text-size");
8939
8939
  for (const C of n.bucket.features) {
8940
- const R = i.get("text-font").evaluate(C, {}, n.canonical).join(","), B = w.evaluate(C, {}, n.canonical), V = c.layoutTextSize.evaluate(C, {}, n.canonical), j = c.layoutIconSize.evaluate(C, {}, n.canonical), H = { horizontal: {}, vertical: void 0 }, J = C.text;
8940
+ const L = i.get("text-font").evaluate(C, {}, n.canonical).join(","), B = w.evaluate(C, {}, n.canonical), V = c.layoutTextSize.evaluate(C, {}, n.canonical), j = c.layoutIconSize.evaluate(C, {}, n.canonical), H = { horizontal: {}, vertical: void 0 }, J = C.text;
8941
8941
  let te, ae = [0, 0];
8942
8942
  if (J) {
8943
8943
  const U = J.toString(), Q = i.get("text-letter-spacing").evaluate(C, {}, n.canonical) * fi, ge = sp(U) ? Q : 0, Re = i.get("text-anchor").evaluate(C, {}, n.canonical), tt = gm(t, C, n.canonical);
@@ -8947,7 +8947,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8947
8947
  }
8948
8948
  let Ve = m ? "center" : i.get("text-justify").evaluate(C, {}, n.canonical);
8949
8949
  const We = i.get("symbol-placement") === "point" ? i.get("text-max-width").evaluate(C, {}, n.canonical) * fi : 1 / 0, at = () => {
8950
- n.bucket.allowVerticalPlacement && Ga(U) && (H.vertical = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, R, We, f, Re, "left", ge, ae, v.al.vertical, !0, V, B));
8950
+ n.bucket.allowVerticalPlacement && Ga(U) && (H.vertical = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, L, We, f, Re, "left", ge, ae, v.al.vertical, !0, V, B));
8951
8951
  };
8952
8952
  if (!m && tt) {
8953
8953
  const rt = /* @__PURE__ */ new Set();
@@ -8956,14 +8956,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
8956
8956
  let ct = !1;
8957
8957
  for (const Ge of rt) if (!H.horizontal[Ge]) if (ct) H.horizontal[Ge] = H.horizontal[0];
8958
8958
  else {
8959
- const kt = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, R, We, f, "center", Ge, ge, ae, v.al.horizontal, !1, V, B);
8959
+ const kt = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, L, We, f, "center", Ge, ge, ae, v.al.horizontal, !1, V, B);
8960
8960
  kt && (H.horizontal[Ge] = kt, ct = kt.positionedLines.length === 1);
8961
8961
  }
8962
8962
  at();
8963
8963
  } else {
8964
8964
  Ve === "auto" && (Ve = Wp(Re));
8965
- const rt = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, R, We, f, Re, Ve, ge, ae, v.al.horizontal, !1, V, B);
8966
- rt && (H.horizontal[Ve] = rt), at(), Ga(U) && m && _ && (H.vertical = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, R, We, f, Re, Ve, ge, ae, v.al.vertical, !1, V, B));
8965
+ const rt = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, L, We, f, Re, Ve, ge, ae, v.al.horizontal, !1, V, B);
8966
+ rt && (H.horizontal[Ve] = rt), at(), Ga(U) && m && _ && (H.vertical = Du(J, n.glyphMap, n.glyphPositions, n.imagePositions, L, We, f, Re, Ve, ge, ae, v.al.vertical, !1, V, B));
8967
8967
  }
8968
8968
  }
8969
8969
  let Se = !1;
@@ -9052,7 +9052,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9052
9052
  }
9053
9053
  }
9054
9054
  v.cu("GlyphAtlas", D);
9055
- class L {
9055
+ class R {
9056
9056
  constructor(Z) {
9057
9057
  this.tileID = new v.Y(Z.tileID.overscaledZ, Z.tileID.wrap, Z.tileID.canonical.z, Z.tileID.canonical.x, Z.tileID.canonical.y), this.uid = Z.uid, this.zoom = Z.zoom, this.pixelRatio = Z.pixelRatio, this.tileSize = Z.tileSize, this.source = Z.source, this.overscaling = this.tileID.overscaleFactor(), this.showCollisionBoxes = Z.showCollisionBoxes, this.collectResourceTiming = !!Z.collectResourceTiming, this.returnDependencies = !!Z.returnDependencies, this.promoteId = Z.promoteId, this.inFlightDependencies = [];
9058
9058
  }
@@ -9126,7 +9126,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
9126
9126
  }
9127
9127
  loadTile(Z) {
9128
9128
  return v._(this, void 0, void 0, function* () {
9129
- const X = Z.uid, $ = !!(Z && Z.request && Z.request.collectResourceTiming) && new v.cE(Z.request), he = new L(Z);
9129
+ const X = Z.uid, $ = !!(Z && Z.request && Z.request.collectResourceTiming) && new v.cE(Z.request), he = new R(Z);
9130
9130
  this.loading[X] = he;
9131
9131
  const be = new AbortController();
9132
9132
  he.abort = be;
@@ -10051,7 +10051,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
10051
10051
  return v.i(self) && (self.worker = new At(self)), At;
10052
10052
  }), A("index", ["exports", "./shared"], function(v, s) {
10053
10053
  var D = "5.5.0";
10054
- function L() {
10054
+ function R() {
10055
10055
  var h = new s.A(4);
10056
10056
  return s.A != Float32Array && (h[1] = 0, h[2] = 0), h[0] = 1, h[3] = 1, h;
10057
10057
  }
@@ -12248,7 +12248,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12248
12248
  function Mt(h, e, r) {
12249
12249
  const a = s.K();
12250
12250
  if (!h) {
12251
- const { vecSouth: F, vecEast: O } = Bt(e), W = L();
12251
+ const { vecSouth: F, vecEast: O } = Bt(e), W = R();
12252
12252
  W[0] = O[0], W[1] = O[1], W[2] = F[0], W[3] = F[1], l = W, (z = (g = (d = W)[0]) * (E = d[3]) - (S = d[2]) * (b = d[1])) && (l[0] = E * (z = 1 / z), l[1] = -b * z, l[2] = -S * z, l[3] = g * z), a[0] = W[0], a[1] = W[1], a[4] = W[2], a[5] = W[3];
12253
12253
  }
12254
12254
  var l, d, g, b, S, E, z;
@@ -13946,7 +13946,7 @@ uniform ${z} ${F} u_${O};
13946
13946
  setBearing(e) {
13947
13947
  const r = s.aL(e, -180, 180) * Math.PI / 180;
13948
13948
  var a, l, d, g, b, S, E, z, F;
13949
- this._bearingInRadians !== r && (this._unmodified = !1, this._bearingInRadians = r, this._calcMatrices(), this._rotationMatrix = L(), a = this._rotationMatrix, d = -this._bearingInRadians, g = (l = this._rotationMatrix)[0], b = l[1], S = l[2], E = l[3], z = Math.sin(d), F = Math.cos(d), a[0] = g * F + S * z, a[1] = b * F + E * z, a[2] = g * -z + S * F, a[3] = b * -z + E * F);
13949
+ this._bearingInRadians !== r && (this._unmodified = !1, this._bearingInRadians = r, this._calcMatrices(), this._rotationMatrix = R(), a = this._rotationMatrix, d = -this._bearingInRadians, g = (l = this._rotationMatrix)[0], b = l[1], S = l[2], E = l[3], z = Math.sin(d), F = Math.cos(d), a[0] = g * F + S * z, a[1] = b * F + E * z, a[2] = g * -z + S * F, a[3] = b * -z + E * F);
13950
13950
  }
13951
13951
  get rotationMatrix() {
13952
13952
  return this._rotationMatrix;
@@ -21132,16 +21132,16 @@ const Sr = (u, p) => {
21132
21132
  const p = u, y = pr("voyager"), x = Tr(() => {
21133
21133
  var D;
21134
21134
  if (!((D = p.config) != null && D.layers)) return [];
21135
- const s = p.config.layers.map((L) => ({
21136
- id: L.id,
21137
- title: L.label || L.title,
21138
- url: L.url,
21139
- service: L.type,
21135
+ const s = p.config.layers.map((R) => ({
21136
+ id: R.id,
21137
+ title: R.label || R.title,
21138
+ url: R.url,
21139
+ service: R.type,
21140
21140
  category: "Базові карти",
21141
- attribution: L.attribution,
21142
- image: L.image,
21141
+ attribution: R.attribution,
21142
+ image: R.image,
21143
21143
  enabled: !0,
21144
- owner: L.owner || "Unknown"
21144
+ owner: R.owner || "Unknown"
21145
21145
  }));
21146
21146
  return s.push({
21147
21147
  id: "__none__",
@@ -21177,9 +21177,9 @@ const Sr = (u, p) => {
21177
21177
  }
21178
21178
  const P = (s) => {
21179
21179
  if (!p.map) return;
21180
- const D = p.map.getStyle(), L = x.value.map((k) => k.id), I = D.layers.filter((k) => !L.includes(k.id)), N = {};
21180
+ const D = p.map.getStyle(), R = x.value.map((k) => k.id), I = D.layers.filter((k) => !R.includes(k.id)), N = {};
21181
21181
  for (const k in D.sources)
21182
- L.includes(k) || (N[k] = D.sources[k]);
21182
+ R.includes(k) || (N[k] = D.sources[k]);
21183
21183
  if (s.id === "__none__") {
21184
21184
  const k = {
21185
21185
  version: 8,
@@ -21198,16 +21198,16 @@ const Sr = (u, p) => {
21198
21198
  });
21199
21199
  }, v = (s) => {
21200
21200
  y.value = s;
21201
- const D = x.value.find((L) => L.id === s);
21201
+ const D = x.value.find((R) => R.id === s);
21202
21202
  D && p.map && P(D);
21203
21203
  };
21204
21204
  return _l(() => {
21205
21205
  var s;
21206
21206
  (s = p.config) != null && s.default && (y.value = p.config.default);
21207
21207
  }), (s, D) => {
21208
- const L = dr("VsPopover");
21208
+ const R = dr("VsPopover");
21209
21209
  return Be(), Ke("div", $v, [
21210
- (Be(!0), Ke(ar, null, $r(x.value, (I) => (Be(), ni(L, {
21210
+ (Be(!0), Ke(ar, null, $r(x.value, (I) => (Be(), ni(R, {
21211
21211
  trigger: "hover",
21212
21212
  placement: "top",
21213
21213
  key: I.id
@@ -21445,7 +21445,7 @@ function l0(u) {
21445
21445
  return u.startsWith("http") ? u : `${window.location.origin}${u}`;
21446
21446
  }
21447
21447
  function c0(u) {
21448
- const { id: p, sourceLayer: y, url: x, bounds: A, title: P, style: v, service: s, service_type: D, source_type: L, data: I } = u, N = l0(x), M = D || s || L || "vector";
21448
+ const { id: p, sourceLayer: y, url: x, bounds: A, title: P, style: v, service: s, service_type: D, source_type: R, data: I } = u, N = l0(x), M = D || s || R || "vector";
21449
21449
  switch (M) {
21450
21450
  case "vtile":
21451
21451
  case "vector":
@@ -21523,7 +21523,7 @@ function p0(u, p, y, x, A) {
21523
21523
  const N = (I = p.features[0].geometry) == null ? void 0 : I.type;
21524
21524
  N === "Polygon" || N === "MultiPolygon" ? v = "polygon" : N === "LineString" || N === "MultiLineString" ? v = "line" : v = "point";
21525
21525
  }
21526
- const s = A || $g(v), L = Yg(s).map((N, M) => ({
21526
+ const s = A || $g(v), R = Yg(s).map((N, M) => ({
21527
21527
  ...N,
21528
21528
  id: `${u}-${M}`,
21529
21529
  source: u
@@ -21532,7 +21532,7 @@ function p0(u, p, y, x, A) {
21532
21532
  id: u,
21533
21533
  title: x,
21534
21534
  source: P,
21535
- layers: L,
21535
+ layers: R,
21536
21536
  visible: !0
21537
21537
  };
21538
21538
  }
@@ -21661,7 +21661,7 @@ const g0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21661
21661
  if (!A.value) return P.value;
21662
21662
  const k = A.value.toLowerCase();
21663
21663
  return P.value.filter((T) => (T.title || T.name || T.label || "").toLowerCase().includes(k));
21664
- }), L = Tr(() => P.value.every((k) => k.visible)), I = () => P.value.filter((k) => k.visible).map((k) => k.id), N = (k) => {
21664
+ }), R = Tr(() => P.value.every((k) => k.visible)), I = () => P.value.filter((k) => k.visible).map((k) => k.id), N = (k) => {
21665
21665
  k.visible ? mo(y.map, k) : (ml(y.map, k.id), x("set-filter-layer", null)), y.map.getStyle().layers.filter((K) => K.source === k.id).forEach((K) => {
21666
21666
  y.map.setLayoutProperty(
21667
21667
  K.id,
@@ -21670,7 +21670,7 @@ const g0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21670
21670
  );
21671
21671
  }), x("update:enabledLayerIds", I());
21672
21672
  }, M = () => {
21673
- const k = !L.value;
21673
+ const k = !R.value;
21674
21674
  P.value.forEach((T) => {
21675
21675
  T.visible = k, k ? mo(y.map, T) : ml(y.map, T.id);
21676
21676
  }), k || x("set-filter-layer", null), x("update:enabledLayerIds", I());
@@ -21714,7 +21714,7 @@ const g0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21714
21714
  re("button", {
21715
21715
  onClick: M,
21716
21716
  class: "w-full py-[7px] bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors"
21717
- }, Et(L.value ? "Вимкнути всі" : "Увімкнути всі"), 1)
21717
+ }, Et(R.value ? "Вимкнути всі" : "Увімкнути всі"), 1)
21718
21718
  ])) : Qt("", !0),
21719
21719
  re("div", b0, [
21720
21720
  re("ul", w0, [
@@ -21777,12 +21777,12 @@ const g0 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
21777
21777
  return ((P = p.config) == null ? void 0 : P.goTo) || [];
21778
21778
  });
21779
21779
  return (P, v) => {
21780
- var D, L;
21780
+ var D, R;
21781
21781
  const s = dr("VsPopover");
21782
21782
  return Be(), Ke("div", M0, [
21783
21783
  y.value || (D = A.value) != null && D.length ? (Be(), Ke("div", L0, [
21784
21784
  re("h2", R0, Et(y.value), 1),
21785
- (L = A.value) != null && L.length ? (Be(), ni(s, {
21785
+ (R = A.value) != null && R.length ? (Be(), ni(s, {
21786
21786
  key: 0,
21787
21787
  placement: "bottom"
21788
21788
  }, {
@@ -22153,7 +22153,7 @@ function Bh(u, p, y) {
22153
22153
  const x = y.metaTokens, A = y.visitor || I, P = y.dots, v = y.indexes, D = (y.Blob || typeof Blob < "u" && Blob) && Xe.isSpecCompliantForm(p);
22154
22154
  if (!Xe.isFunction(A))
22155
22155
  throw new TypeError("visitor must be a function");
22156
- function L(T) {
22156
+ function R(T) {
22157
22157
  if (T === null) return "";
22158
22158
  if (Xe.isDate(T))
22159
22159
  return T.toISOString();
@@ -22171,15 +22171,15 @@ function Bh(u, p, y) {
22171
22171
  !(Xe.isUndefined(Pe) || Pe === null) && p.append(
22172
22172
  // eslint-disable-next-line no-nested-ternary
22173
22173
  v === !0 ? Mm([q], ee, P) : v === null ? q : q + "[]",
22174
- L(Pe)
22174
+ R(Pe)
22175
22175
  );
22176
22176
  }), !1;
22177
22177
  }
22178
- return gd(T) ? !0 : (p.append(Mm(K, q, P), L(T)), !1);
22178
+ return gd(T) ? !0 : (p.append(Mm(K, q, P), R(T)), !1);
22179
22179
  }
22180
22180
  const N = [], M = Object.assign(Cx, {
22181
22181
  defaultVisitor: I,
22182
- convertValue: L,
22182
+ convertValue: R,
22183
22183
  isVisitable: gd
22184
22184
  });
22185
22185
  function k(T, q) {
@@ -22509,24 +22509,24 @@ let yn = class {
22509
22509
  }
22510
22510
  set(p, y, x) {
22511
22511
  const A = this;
22512
- function P(s, D, L) {
22512
+ function P(s, D, R) {
22513
22513
  const I = Sc(D);
22514
22514
  if (!I)
22515
22515
  throw new Error("header name must be a non-empty string");
22516
22516
  const N = Xe.findKey(A, I);
22517
- (!N || A[N] === void 0 || L === !0 || L === void 0 && A[N] !== !1) && (A[N || D] = wh(s));
22517
+ (!N || A[N] === void 0 || R === !0 || R === void 0 && A[N] !== !1) && (A[N || D] = wh(s));
22518
22518
  }
22519
- const v = (s, D) => Xe.forEach(s, (L, I) => P(L, I, D));
22519
+ const v = (s, D) => Xe.forEach(s, (R, I) => P(R, I, D));
22520
22520
  if (Xe.isPlainObject(p) || p instanceof this.constructor)
22521
22521
  v(p, y);
22522
22522
  else if (Xe.isString(p) && (p = p.trim()) && !Hx(p))
22523
22523
  v(Nx(p), y);
22524
22524
  else if (Xe.isObject(p) && Xe.isIterable(p)) {
22525
- let s = {}, D, L;
22525
+ let s = {}, D, R;
22526
22526
  for (const I of p) {
22527
22527
  if (!Xe.isArray(I))
22528
22528
  throw TypeError("Object iterator must return a key-value pair");
22529
- s[L = I[0]] = (D = s[L]) ? Xe.isArray(D) ? [...D, I[1]] : [D, I[1]] : I[1];
22529
+ s[R = I[0]] = (D = s[R]) ? Xe.isArray(D) ? [...D, I[1]] : [D, I[1]] : I[1];
22530
22530
  }
22531
22531
  v(s, y);
22532
22532
  } else
@@ -22675,25 +22675,25 @@ function Gx(u, p) {
22675
22675
  const y = new Array(u), x = new Array(u);
22676
22676
  let A = 0, P = 0, v;
22677
22677
  return p = p !== void 0 ? p : 1e3, function(D) {
22678
- const L = Date.now(), I = x[P];
22679
- v || (v = L), y[A] = D, x[A] = L;
22678
+ const R = Date.now(), I = x[P];
22679
+ v || (v = R), y[A] = D, x[A] = R;
22680
22680
  let N = P, M = 0;
22681
22681
  for (; N !== A; )
22682
22682
  M += y[N++], N = N % u;
22683
- if (A = (A + 1) % u, A === P && (P = (P + 1) % u), L - v < p)
22683
+ if (A = (A + 1) % u, A === P && (P = (P + 1) % u), R - v < p)
22684
22684
  return;
22685
- const k = I && L - I;
22685
+ const k = I && R - I;
22686
22686
  return k ? Math.round(M * 1e3 / k) : void 0;
22687
22687
  };
22688
22688
  }
22689
22689
  function Jx(u, p) {
22690
22690
  let y = 0, x = 1e3 / p, A, P;
22691
- const v = (L, I = Date.now()) => {
22692
- y = I, A = null, P && (clearTimeout(P), P = null), u.apply(null, L);
22691
+ const v = (R, I = Date.now()) => {
22692
+ y = I, A = null, P && (clearTimeout(P), P = null), u.apply(null, R);
22693
22693
  };
22694
- return [(...L) => {
22694
+ return [(...R) => {
22695
22695
  const I = Date.now(), N = I - y;
22696
- N >= x ? v(L, I) : (A = L, P || (P = setTimeout(() => {
22696
+ N >= x ? v(R, I) : (A = R, P || (P = setTimeout(() => {
22697
22697
  P = null, v(A);
22698
22698
  }, x - N)));
22699
22699
  }, () => A && v(A)];
@@ -22702,15 +22702,15 @@ const kh = (u, p, y = 3) => {
22702
22702
  let x = 0;
22703
22703
  const A = Gx(50, 250);
22704
22704
  return Jx((P) => {
22705
- const v = P.loaded, s = P.lengthComputable ? P.total : void 0, D = v - x, L = A(D), I = v <= s;
22705
+ const v = P.loaded, s = P.lengthComputable ? P.total : void 0, D = v - x, R = A(D), I = v <= s;
22706
22706
  x = v;
22707
22707
  const N = {
22708
22708
  loaded: v,
22709
22709
  total: s,
22710
22710
  progress: s ? v / s : void 0,
22711
22711
  bytes: D,
22712
- rate: L || void 0,
22713
- estimated: L && s && I ? (s - v) / L : void 0,
22712
+ rate: R || void 0,
22713
+ estimated: R && s && I ? (s - v) / R : void 0,
22714
22714
  event: P,
22715
22715
  lengthComputable: s != null,
22716
22716
  [p ? "download" : "upload"]: !0
@@ -22768,30 +22768,30 @@ const Om = (u) => u instanceof yn ? { ...u } : u;
22768
22768
  function aa(u, p) {
22769
22769
  p = p || {};
22770
22770
  const y = {};
22771
- function x(L, I, N, M) {
22772
- return Xe.isPlainObject(L) && Xe.isPlainObject(I) ? Xe.merge.call({ caseless: M }, L, I) : Xe.isPlainObject(I) ? Xe.merge({}, I) : Xe.isArray(I) ? I.slice() : I;
22771
+ function x(R, I, N, M) {
22772
+ return Xe.isPlainObject(R) && Xe.isPlainObject(I) ? Xe.merge.call({ caseless: M }, R, I) : Xe.isPlainObject(I) ? Xe.merge({}, I) : Xe.isArray(I) ? I.slice() : I;
22773
22773
  }
22774
- function A(L, I, N, M) {
22774
+ function A(R, I, N, M) {
22775
22775
  if (Xe.isUndefined(I)) {
22776
- if (!Xe.isUndefined(L))
22777
- return x(void 0, L, N, M);
22778
- } else return x(L, I, N, M);
22776
+ if (!Xe.isUndefined(R))
22777
+ return x(void 0, R, N, M);
22778
+ } else return x(R, I, N, M);
22779
22779
  }
22780
- function P(L, I) {
22780
+ function P(R, I) {
22781
22781
  if (!Xe.isUndefined(I))
22782
22782
  return x(void 0, I);
22783
22783
  }
22784
- function v(L, I) {
22784
+ function v(R, I) {
22785
22785
  if (Xe.isUndefined(I)) {
22786
- if (!Xe.isUndefined(L))
22787
- return x(void 0, L);
22786
+ if (!Xe.isUndefined(R))
22787
+ return x(void 0, R);
22788
22788
  } else return x(void 0, I);
22789
22789
  }
22790
- function s(L, I, N) {
22790
+ function s(R, I, N) {
22791
22791
  if (N in p)
22792
- return x(L, I);
22792
+ return x(R, I);
22793
22793
  if (N in u)
22794
- return x(void 0, L);
22794
+ return x(void 0, R);
22795
22795
  }
22796
22796
  const D = {
22797
22797
  url: P,
@@ -22822,7 +22822,7 @@ function aa(u, p) {
22822
22822
  socketPath: v,
22823
22823
  responseEncoding: v,
22824
22824
  validateStatus: s,
22825
- headers: (L, I, N) => A(Om(L), Om(I), N, !0)
22825
+ headers: (R, I, N) => A(Om(R), Om(I), N, !0)
22826
22826
  };
22827
22827
  return Xe.forEach(Object.keys(Object.assign({}, u, p)), function(I) {
22828
22828
  const N = D[I] || A, M = N(u[I], p[I], I);
@@ -22841,13 +22841,13 @@ const vy = (u) => {
22841
22841
  if (Gi.hasStandardBrowserEnv || Gi.hasStandardBrowserWebWorkerEnv)
22842
22842
  v.setContentType(void 0);
22843
22843
  else if ((D = v.getContentType()) !== !1) {
22844
- const [L, ...I] = D ? D.split(";").map((N) => N.trim()).filter(Boolean) : [];
22845
- v.setContentType([L || "multipart/form-data", ...I].join("; "));
22844
+ const [R, ...I] = D ? D.split(";").map((N) => N.trim()).filter(Boolean) : [];
22845
+ v.setContentType([R || "multipart/form-data", ...I].join("; "));
22846
22846
  }
22847
22847
  }
22848
22848
  if (Gi.hasStandardBrowserEnv && (x && Xe.isFunction(x) && (x = x(p)), x || x !== !1 && Xx(p.url))) {
22849
- const L = A && P && Qx.read(P);
22850
- L && v.set(A, L);
22849
+ const R = A && P && Qx.read(P);
22850
+ R && v.set(A, R);
22851
22851
  }
22852
22852
  return p;
22853
22853
  }, eb = typeof XMLHttpRequest < "u", tb = eb && function(u) {
@@ -22855,7 +22855,7 @@ const vy = (u) => {
22855
22855
  const A = vy(u);
22856
22856
  let P = A.data;
22857
22857
  const v = yn.from(A.headers).normalize();
22858
- let { responseType: s, onUploadProgress: D, onDownloadProgress: L } = A, I, N, M, k, T;
22858
+ let { responseType: s, onUploadProgress: D, onDownloadProgress: R } = A, I, N, M, k, T;
22859
22859
  function q() {
22860
22860
  k && k(), T && T(), A.cancelToken && A.cancelToken.unsubscribe(I), A.signal && A.signal.removeEventListener("abort", I);
22861
22861
  }
@@ -22897,7 +22897,7 @@ const vy = (u) => {
22897
22897
  )), K = null;
22898
22898
  }, P === void 0 && v.setContentType(null), "setRequestHeader" in K && Xe.forEach(v.toJSON(), function(ee, me) {
22899
22899
  K.setRequestHeader(me, ee);
22900
- }), Xe.isUndefined(A.withCredentials) || (K.withCredentials = !!A.withCredentials), s && s !== "json" && (K.responseType = A.responseType), L && ([M, T] = kh(L, !0), K.addEventListener("progress", M)), D && K.upload && ([N, k] = kh(D), K.upload.addEventListener("progress", N), K.upload.addEventListener("loadend", k)), (A.cancelToken || A.signal) && (I = (Pe) => {
22900
+ }), Xe.isUndefined(A.withCredentials) || (K.withCredentials = !!A.withCredentials), s && s !== "json" && (K.responseType = A.responseType), R && ([M, T] = kh(R, !0), K.addEventListener("progress", M)), D && K.upload && ([N, k] = kh(D), K.upload.addEventListener("progress", N), K.upload.addEventListener("loadend", k)), (A.cancelToken || A.signal) && (I = (Pe) => {
22901
22901
  K && (x(!Pe || Pe.type ? new xl(null, u, K) : Pe), K.abort(), K = null);
22902
22902
  }, A.cancelToken && A.cancelToken.subscribe(I), A.signal && (A.signal.aborted ? I() : A.signal.addEventListener("abort", I)));
22903
22903
  const le = Kx(A.url);
@@ -22911,10 +22911,10 @@ const vy = (u) => {
22911
22911
  const { length: y } = u = u ? u.filter(Boolean) : [];
22912
22912
  if (p || y) {
22913
22913
  let x = new AbortController(), A;
22914
- const P = function(L) {
22914
+ const P = function(R) {
22915
22915
  if (!A) {
22916
22916
  A = !0, s();
22917
- const I = L instanceof Error ? L : this.reason;
22917
+ const I = R instanceof Error ? R : this.reason;
22918
22918
  x.abort(I instanceof nr ? I : new xl(I instanceof Error ? I.message : I));
22919
22919
  }
22920
22920
  };
@@ -22922,11 +22922,11 @@ const vy = (u) => {
22922
22922
  v = null, P(new nr(`timeout ${p} of ms exceeded`, nr.ETIMEDOUT));
22923
22923
  }, p);
22924
22924
  const s = () => {
22925
- u && (v && clearTimeout(v), v = null, u.forEach((L) => {
22926
- L.unsubscribe ? L.unsubscribe(P) : L.removeEventListener("abort", P);
22925
+ u && (v && clearTimeout(v), v = null, u.forEach((R) => {
22926
+ R.unsubscribe ? R.unsubscribe(P) : R.removeEventListener("abort", P);
22927
22927
  }), u = null);
22928
22928
  };
22929
- u.forEach((L) => L.addEventListener("abort", P));
22929
+ u.forEach((R) => R.addEventListener("abort", P));
22930
22930
  const { signal: D } = x;
22931
22931
  return D.unsubscribe = () => Xe.asap(s), D;
22932
22932
  }
@@ -22966,8 +22966,8 @@ const vy = (u) => {
22966
22966
  return new ReadableStream({
22967
22967
  async pull(D) {
22968
22968
  try {
22969
- const { done: L, value: I } = await A.next();
22970
- if (L) {
22969
+ const { done: R, value: I } = await A.next();
22970
+ if (R) {
22971
22971
  s(), D.close();
22972
22972
  return;
22973
22973
  }
@@ -22977,8 +22977,8 @@ const vy = (u) => {
22977
22977
  y(M);
22978
22978
  }
22979
22979
  D.enqueue(new Uint8Array(I));
22980
- } catch (L) {
22981
- throw s(L), L;
22980
+ } catch (R) {
22981
+ throw s(R), R;
22982
22982
  }
22983
22983
  },
22984
22984
  cancel(D) {
@@ -23040,12 +23040,12 @@ const lb = async (u) => {
23040
23040
  timeout: v,
23041
23041
  onDownloadProgress: s,
23042
23042
  onUploadProgress: D,
23043
- responseType: L,
23043
+ responseType: R,
23044
23044
  headers: I,
23045
23045
  withCredentials: N = "same-origin",
23046
23046
  fetchOptions: M
23047
23047
  } = vy(u);
23048
- L = L ? (L + "").toLowerCase() : "text";
23048
+ R = R ? (R + "").toLowerCase() : "text";
23049
23049
  let k = rb([A, P && P.toAbortSignal()], v), T;
23050
23050
  const q = k && k.unsubscribe && (() => {
23051
23051
  k.unsubscribe();
@@ -23078,7 +23078,7 @@ const lb = async (u) => {
23078
23078
  credentials: ie ? N : void 0
23079
23079
  });
23080
23080
  let le = await fetch(T);
23081
- const Pe = _d && (L === "stream" || L === "response");
23081
+ const Pe = _d && (R === "stream" || R === "response");
23082
23082
  if (_d && (s || Pe && q)) {
23083
23083
  const me = {};
23084
23084
  ["status", "statusText", "headers"].forEach((Tt) => {
@@ -23095,8 +23095,8 @@ const lb = async (u) => {
23095
23095
  me
23096
23096
  );
23097
23097
  }
23098
- L = L || "text";
23099
- let ee = await Th[Xe.findKey(Th, L) || "text"](le, u);
23098
+ R = R || "text";
23099
+ let ee = await Th[Xe.findKey(Th, R) || "text"](le, u);
23100
23100
  return !Pe && q && q(), await new Promise((me, ze) => {
23101
23101
  yy(me, ze, {
23102
23102
  data: ee,
@@ -23294,14 +23294,14 @@ let sa = class {
23294
23294
  this.interceptors.request.forEach(function(q) {
23295
23295
  typeof q.runWhen == "function" && q.runWhen(y) === !1 || (D = D && q.synchronous, s.unshift(q.fulfilled, q.rejected));
23296
23296
  });
23297
- const L = [];
23297
+ const R = [];
23298
23298
  this.interceptors.response.forEach(function(q) {
23299
- L.push(q.fulfilled, q.rejected);
23299
+ R.push(q.fulfilled, q.rejected);
23300
23300
  });
23301
23301
  let I, N = 0, M;
23302
23302
  if (!D) {
23303
23303
  const T = [Um.bind(this), void 0];
23304
- for (T.unshift.apply(T, s), T.push.apply(T, L), M = T.length, I = Promise.resolve(y); N < M; )
23304
+ for (T.unshift.apply(T, s), T.push.apply(T, R), M = T.length, I = Promise.resolve(y); N < M; )
23305
23305
  I = I.then(T[N++], T[N++]);
23306
23306
  return I;
23307
23307
  }
@@ -23321,8 +23321,8 @@ let sa = class {
23321
23321
  } catch (T) {
23322
23322
  return Promise.reject(T);
23323
23323
  }
23324
- for (N = 0, M = L.length; N < M; )
23325
- I = I.then(L[N++], L[N++]);
23324
+ for (N = 0, M = R.length; N < M; )
23325
+ I = I.then(R[N++], R[N++]);
23326
23326
  return I;
23327
23327
  }
23328
23328
  getUri(p) {
@@ -23582,7 +23582,7 @@ const {
23582
23582
  const y = u, x = p, A = Tr(() => {
23583
23583
  var K;
23584
23584
  return ((K = y.config) == null ? void 0 : K.title) || "";
23585
- }), P = pr([]), v = pr(!1), s = pr(null), D = pr(0), L = Tr(() => D.value + 1), I = Tr(() => {
23585
+ }), P = pr([]), v = pr(!1), s = pr(null), D = pr(0), R = Tr(() => D.value + 1), I = Tr(() => {
23586
23586
  var K;
23587
23587
  return ((K = y.info) == null ? void 0 : K.length) || 0;
23588
23588
  }), N = Tr(() => P.value[D.value]), M = Tr(() => {
@@ -23653,19 +23653,19 @@ const {
23653
23653
  re("button", {
23654
23654
  type: "button",
23655
23655
  class: nn([{
23656
- "opacity-flex items-center justify-between border-b px-[16px] py-[8px]50 pointer-events-none": L.value === 1
23656
+ "opacity-flex items-center justify-between border-b px-[16px] py-[8px]50 pointer-events-none": R.value === 1
23657
23657
  }, "min-h-[34px] min-w-[34px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"]),
23658
23658
  onClick: q
23659
23659
  }, " ◀ ", 2),
23660
23660
  re("div", xb, [
23661
- re("span", bb, Et(L.value), 1),
23661
+ re("span", bb, Et(R.value), 1),
23662
23662
  ie[2] || (ie[2] = re("span", { class: "min-h-[34px] flex justify-center items-center text-stone-500 py-2 px-1.5 text-sm" }, "з", -1)),
23663
23663
  re("span", wb, Et(I.value), 1)
23664
23664
  ]),
23665
23665
  re("button", {
23666
23666
  type: "button",
23667
23667
  onClick: T,
23668
- class: nn([{ "opacity-50 pointer-events-none": L.value === I.value }, "min-h-[34px] min-w-[34px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"])
23668
+ class: nn([{ "opacity-50 pointer-events-none": R.value === I.value }, "min-h-[34px] min-w-[34px] py-2 px-2.5 inline-flex justify-center items-center gap-x-2 text-sm rounded-lg text-stone-800 hover:bg-stone-100 disabled:opacity-50 disabled:pointer-events-none focus:outline-none focus:bg-stone-100"])
23669
23669
  }, " ▶ ", 2)
23670
23670
  ])) : Qt("", !0),
23671
23671
  re("div", Sb, [
@@ -23720,14 +23720,14 @@ const {
23720
23720
  const p = u, y = Tr(() => {
23721
23721
  var D;
23722
23722
  return ((D = p.config) == null ? void 0 : D.title) || "";
23723
- }), x = pr([]), A = Tr(() => p.config.layer.style.rules.some((D) => D.count !== void 0)), P = Tr(() => p.config.layer.style.rules.reduce((D, L) => D + (L.count || 0), 0)), v = (D) => !D || P.value === 0 ? 0 : Math.round(D / P.value * 100), s = () => {
23724
- const L = p.config.layer.style.rules.filter(
23723
+ }), x = pr([]), A = Tr(() => p.config.layer.style.rules.some((D) => D.count !== void 0)), P = Tr(() => p.config.layer.style.rules.reduce((D, R) => D + (R.count || 0), 0)), v = (D) => !D || P.value === 0 ? 0 : Math.round(D / P.value * 100), s = () => {
23724
+ const R = p.config.layer.style.rules.filter(
23725
23725
  (I, N) => x.value[N]
23726
23726
  ).map((I) => I.id || I.value).join(",");
23727
23727
  if (p.config.layer.id) {
23728
23728
  const I = p.map.getSource(p.config.layer.id);
23729
23729
  if (I) {
23730
- const M = I.tiles[0].split("?filter=")[0], k = L ? `${M}?filter=${p.config.layer.style.attribute}=${L}` : M;
23730
+ const M = I.tiles[0].split("?filter=")[0], k = R ? `${M}?filter=${p.config.layer.style.attribute}=${R}` : M;
23731
23731
  I.setTiles([k]);
23732
23732
  }
23733
23733
  }
@@ -23735,7 +23735,7 @@ const {
23735
23735
  return _l(() => {
23736
23736
  var D;
23737
23737
  (D = p.config) != null && D.layer && (mo(p.map, p.config.layer), x.value = new Array(p.config.layer.style.rules.length).fill(!1));
23738
- }), (D, L) => (Be(), Ke("div", Rb, [
23738
+ }), (D, R) => (Be(), Ke("div", Rb, [
23739
23739
  y.value ? (Be(), Ke("div", zb, [
23740
23740
  re("div", null, [
23741
23741
  re("h2", Db, Et(y.value), 1)
@@ -23826,7 +23826,7 @@ const {
23826
23826
  x(s ? "select" : "remove", y.layer);
23827
23827
  };
23828
23828
  return (s, D) => {
23829
- var L, I, N, M, k;
23829
+ var R, I, N, M, k;
23830
23830
  return Be(), Ke("div", Gb, [
23831
23831
  re("label", {
23832
23832
  class: "flex items-center w-full cursor-pointer",
@@ -23854,7 +23854,7 @@ const {
23854
23854
  re("div", e1, [
23855
23855
  re("div", {
23856
23856
  class: "whitespace-nowrap text text-ellipsis max-w-[260px] overflow-hidden text-[13px] text-[#4b5563]",
23857
- title: (L = u.layer) == null ? void 0 : L.name
23857
+ title: (R = u.layer) == null ? void 0 : R.name
23858
23858
  }, Et(((I = u.layer) == null ? void 0 : I.name) || ((N = u.layer) == null ? void 0 : N.title)), 9, t1),
23859
23859
  isNaN(P((M = u.layer) == null ? void 0 : M.count)) ? Qt("", !0) : (Be(), Ke("div", r1, Et(P((k = u.layer) == null ? void 0 : k.count)), 1))
23860
23860
  ])
@@ -24022,7 +24022,7 @@ function I1() {
24022
24022
  (function(y, x) {
24023
24023
  x(p);
24024
24024
  })(E1, function(y) {
24025
- var x, A, P = "smooth-dnd-container-instance", v = "smooth-dnd-draggable-wrapper", s = "animated", D = "__smooth_dnd_draggable_translation_value", L = "__smooth_dnd_draggable_visibility_value", I = "smooth-dnd-ghost", N = "smooth-dnd-container", M = "smooth-dnd-extra-size-for-insertion", k = "smooth-dnd-stretcher-element", T = "smooth-dnd-stretcher-instance", q = "smooth-dnd-disable-touch-action", K = "smooth-dnd-no-user-select", ie = "smooth-dnd-prevent-auto-scroll-class", le = "smooth-dnd-drop-preview-default-class", Pe = "smooth-dnd-drop-preview-inner-class", ee = "smooth-dnd-drop-preview-constant-class", me = "smooth-dnd-drop-preview-flex-container-class", ze = Object.freeze({ containerInstance: P, defaultGroupName: "@@smooth-dnd-default-group@@", wrapperClass: v, defaultGrabHandleClass: "smooth-dnd-default-grap-handle", animationClass: s, translationValue: D, visibilityValue: L, ghostClass: I, containerClass: N, extraSizeForInsertion: M, stretcherElementClass: k, stretcherElementInstance: T, isDraggableDetached: "smoth-dnd-is-draggable-detached", disbaleTouchActions: q, noUserSelectClass: K, preventAutoScrollClass: ie, dropPlaceholderDefaultClass: le, dropPlaceholderInnerClass: Pe, dropPlaceholderWrapperClass: ee, dropPlaceholderFlexContainerClass: me }), Ne = { groupName: void 0, behaviour: "move", orientation: "vertical", getChildPayload: void 0, animationDuration: 250, autoScrollEnabled: !0, shouldAcceptDrop: void 0, shouldAnimateDrop: void 0 };
24025
+ var x, A, P = "smooth-dnd-container-instance", v = "smooth-dnd-draggable-wrapper", s = "animated", D = "__smooth_dnd_draggable_translation_value", R = "__smooth_dnd_draggable_visibility_value", I = "smooth-dnd-ghost", N = "smooth-dnd-container", M = "smooth-dnd-extra-size-for-insertion", k = "smooth-dnd-stretcher-element", T = "smooth-dnd-stretcher-instance", q = "smooth-dnd-disable-touch-action", K = "smooth-dnd-no-user-select", ie = "smooth-dnd-prevent-auto-scroll-class", le = "smooth-dnd-drop-preview-default-class", Pe = "smooth-dnd-drop-preview-inner-class", ee = "smooth-dnd-drop-preview-constant-class", me = "smooth-dnd-drop-preview-flex-container-class", ze = Object.freeze({ containerInstance: P, defaultGroupName: "@@smooth-dnd-default-group@@", wrapperClass: v, defaultGrabHandleClass: "smooth-dnd-default-grap-handle", animationClass: s, translationValue: D, visibilityValue: R, ghostClass: I, containerClass: N, extraSizeForInsertion: M, stretcherElementClass: k, stretcherElementInstance: T, isDraggableDetached: "smoth-dnd-is-draggable-detached", disbaleTouchActions: q, noUserSelectClass: K, preventAutoScrollClass: ie, dropPlaceholderDefaultClass: le, dropPlaceholderInnerClass: Pe, dropPlaceholderWrapperClass: ee, dropPlaceholderFlexContainerClass: me }), Ne = { groupName: void 0, behaviour: "move", orientation: "vertical", getChildPayload: void 0, animationDuration: 250, autoScrollEnabled: !0, shouldAcceptDrop: void 0, shouldAnimateDrop: void 0 };
24026
24026
  function nt(ce) {
24027
24027
  return (nt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(ue) {
24028
24028
  return typeof ue;
@@ -24210,9 +24210,9 @@ function I1() {
24210
24210
  }, getTranslation: function(De) {
24211
24211
  return De[D];
24212
24212
  }, setVisibility: function(De, Je) {
24213
- De[L] !== void 0 && De[L] === Je || (Je ? De.style.removeProperty("visibility") : De.style.visibility = "hidden", De[L] = Je);
24213
+ De[R] !== void 0 && De[R] === Je || (Je ? De.style.removeProperty("visibility") : De.style.visibility = "hidden", De[R] = Je);
24214
24214
  }, isVisible: function(De) {
24215
- return De[L] === void 0 || De[L];
24215
+ return De[R] === void 0 || De[R];
24216
24216
  }, isInVisibleRect: function(De, Je) {
24217
24217
  var et = Ce.visibleRect, gt = et.left, dt = et.top, ot = et.right, Jt = et.bottom;
24218
24218
  Jt - dt < 2 && (Jt = dt + 30);
@@ -25338,7 +25338,7 @@ const D1 = {
25338
25338
  }, dw = ["onClick"], fw = { class: "flex items-center gap-x-3" }, mw = ["title"], gw = { class: "text-xs opacity-60 text-[#4b5563]" };
25339
25339
  function yw(u, p, y, x, A, P) {
25340
25340
  var T;
25341
- const v = dr("VsPopover"), s = dr("DotsIcon"), D = dr("Draggable"), L = dr("Container"), I = dr("searchIcon"), N = dr("closeIcon"), M = dr("VsLayersItem"), k = dr("chevronRightIcon");
25341
+ const v = dr("VsPopover"), s = dr("DotsIcon"), D = dr("Draggable"), R = dr("Container"), I = dr("searchIcon"), N = dr("closeIcon"), M = dr("VsLayersItem"), k = dr("chevronRightIcon");
25342
25342
  return Be(), Ke("div", B1, [
25343
25343
  re("div", O1, [
25344
25344
  re("div", F1, [
@@ -25411,7 +25411,7 @@ function yw(u, p, y, x, A, P) {
25411
25411
  re("span", null, "Вибрати шар", -1)
25412
25412
  ]))
25413
25413
  ]),
25414
- (Be(), ni(L, {
25414
+ (Be(), ni(R, {
25415
25415
  onDrop: P.onDrop,
25416
25416
  lockAxis: "y",
25417
25417
  "drag-class": "dragging",
@@ -25847,9 +25847,9 @@ function Km(u) {
25847
25847
  function Gm(u, p) {
25848
25848
  var P;
25849
25849
  const y = u.replace(sn.findPipe, (v, s, D) => {
25850
- let L = !1, I = s;
25851
- for (; --I >= 0 && D[I] === "\\"; ) L = !L;
25852
- return L ? "|" : " |";
25850
+ let R = !1, I = s;
25851
+ for (; --I >= 0 && D[I] === "\\"; ) R = !R;
25852
+ return R ? "|" : " |";
25853
25853
  }), x = y.split(sn.splitPipe);
25854
25854
  let A = 0;
25855
25855
  if (x[0].trim() || x.shift(), x.length > 0 && !((P = x.at(-1)) != null && P.trim()) && x.pop(), p)
@@ -25998,11 +25998,11 @@ var Ph = class {
25998
25998
  else
25999
25999
  break;
26000
26000
  y = y.slice(D);
26001
- const L = s.join(`
26002
- `), I = L.replace(this.rules.other.blockquoteSetextReplace, `
26001
+ const R = s.join(`
26002
+ `), I = R.replace(this.rules.other.blockquoteSetextReplace, `
26003
26003
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
26004
26004
  x = x ? `${x}
26005
- ${L}` : L, A = A ? `${A}
26005
+ ${R}` : R, A = A ? `${A}
26006
26006
  ${I}` : I;
26007
26007
  const N = this.lexer.state.top;
26008
26008
  if (this.lexer.state.top = !0, this.lexer.blockTokens(I, P, !0), this.lexer.state.top = N, y.length === 0)
@@ -26049,14 +26049,14 @@ ${I}` : I;
26049
26049
  const P = this.rules.other.listItemRegex(y);
26050
26050
  let v = !1;
26051
26051
  for (; u; ) {
26052
- let D = !1, L = "", I = "";
26052
+ let D = !1, R = "", I = "";
26053
26053
  if (!(p = P.exec(u)) || this.rules.block.hr.test(u))
26054
26054
  break;
26055
- L = p[0], u = u.substring(L.length);
26055
+ R = p[0], u = u.substring(R.length);
26056
26056
  let N = p[2].split(`
26057
26057
  `, 1)[0].replace(this.rules.other.listReplaceTabs, (ie) => " ".repeat(3 * ie.length)), M = u.split(`
26058
26058
  `, 1)[0], k = !N.trim(), T = 0;
26059
- if (this.options.pedantic ? (T = 2, I = N.trimStart()) : k ? T = p[1].length + 1 : (T = p[2].search(this.rules.other.nonSpaceChar), T = T > 4 ? 1 : T, I = N.slice(T), T += p[1].length), k && this.rules.other.blankLine.test(M) && (L += M + `
26059
+ if (this.options.pedantic ? (T = 2, I = N.trimStart()) : k ? T = p[1].length + 1 : (T = p[2].search(this.rules.other.nonSpaceChar), T = T > 4 ? 1 : T, I = N.slice(T), T += p[1].length), k && this.rules.other.blankLine.test(M) && (R += M + `
26060
26060
  `, u = u.substring(M.length + 1), D = !0), !D) {
26061
26061
  const ie = this.rules.other.nextBulletRegex(T), le = this.rules.other.hrRegex(T), Pe = this.rules.other.fencesBeginRegex(T), ee = this.rules.other.headingBeginRegex(T), me = this.rules.other.htmlBeginRegex(T);
26062
26062
  for (; u; ) {
@@ -26074,21 +26074,21 @@ ${I}` : I;
26074
26074
  I += `
26075
26075
  ` + M;
26076
26076
  }
26077
- !k && !M.trim() && (k = !0), L += ze + `
26077
+ !k && !M.trim() && (k = !0), R += ze + `
26078
26078
  `, u = u.substring(ze.length + 1), N = Ne.slice(T);
26079
26079
  }
26080
26080
  }
26081
- A.loose || (v ? A.loose = !0 : this.rules.other.doubleBlankLine.test(L) && (v = !0));
26081
+ A.loose || (v ? A.loose = !0 : this.rules.other.doubleBlankLine.test(R) && (v = !0));
26082
26082
  let q = null, K;
26083
26083
  this.options.gfm && (q = this.rules.other.listIsTask.exec(I), q && (K = q[0] !== "[ ] ", I = I.replace(this.rules.other.listReplaceTask, ""))), A.items.push({
26084
26084
  type: "list_item",
26085
- raw: L,
26085
+ raw: R,
26086
26086
  task: !!q,
26087
26087
  checked: K,
26088
26088
  loose: !1,
26089
26089
  text: I,
26090
26090
  tokens: []
26091
- }), A.raw += L;
26091
+ }), A.raw += R;
26092
26092
  }
26093
26093
  const s = A.items.at(-1);
26094
26094
  if (s)
@@ -26098,7 +26098,7 @@ ${I}` : I;
26098
26098
  A.raw = A.raw.trimEnd();
26099
26099
  for (let D = 0; D < A.items.length; D++)
26100
26100
  if (this.lexer.state.top = !1, A.items[D].tokens = this.lexer.blockTokens(A.items[D].text, []), !A.loose) {
26101
- const L = A.items[D].tokens.filter((N) => N.type === "space"), I = L.length > 0 && L.some((N) => this.rules.other.anyLine.test(N.raw));
26101
+ const R = A.items[D].tokens.filter((N) => N.type === "space"), I = R.length > 0 && R.some((N) => this.rules.other.anyLine.test(N.raw));
26102
26102
  A.loose = I;
26103
26103
  }
26104
26104
  if (A.loose)
@@ -26155,11 +26155,11 @@ ${I}` : I;
26155
26155
  align: P.align[s]
26156
26156
  });
26157
26157
  for (const s of A)
26158
- P.rows.push(Gm(s, P.header.length).map((D, L) => ({
26158
+ P.rows.push(Gm(s, P.header.length).map((D, R) => ({
26159
26159
  text: D,
26160
26160
  tokens: this.lexer.inline(D),
26161
26161
  header: !1,
26162
- align: P.align[L]
26162
+ align: P.align[R]
26163
26163
  })));
26164
26164
  return P;
26165
26165
  }
@@ -26270,7 +26270,7 @@ ${I}` : I;
26270
26270
  if (!x || x[3] && y.match(this.rules.other.unicodeAlphaNumeric)) return;
26271
26271
  if (!(x[1] || x[2] || "") || !y || this.rules.inline.punctuation.exec(y)) {
26272
26272
  const P = [...x[0]].length - 1;
26273
- let v, s, D = P, L = 0;
26273
+ let v, s, D = P, R = 0;
26274
26274
  const I = x[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
26275
26275
  for (I.lastIndex = 0, p = p.slice(-1 * u.length + P); (x = I.exec(p)) != null; ) {
26276
26276
  if (v = x[1] || x[2] || x[3] || x[4] || x[5] || x[6], !v) continue;
@@ -26278,11 +26278,11 @@ ${I}` : I;
26278
26278
  D += s;
26279
26279
  continue;
26280
26280
  } else if ((x[5] || x[6]) && P % 3 && !((P + s) % 3)) {
26281
- L += s;
26281
+ R += s;
26282
26282
  continue;
26283
26283
  }
26284
26284
  if (D -= s, D > 0) continue;
26285
- s = Math.min(s, s + D + L);
26285
+ s = Math.min(s, s + D + R);
26286
26286
  const N = [...x[0]][0].length, M = u.slice(0, P + x.index + N + s);
26287
26287
  if (Math.min(P, s) % 2) {
26288
26288
  const T = M.slice(1, -1);
@@ -26449,21 +26449,21 @@ ${I}` : I;
26449
26449
  var A, P, v;
26450
26450
  for (this.options.pedantic && (p = p.replace(sn.tabCharGlobal, " ").replace(sn.spaceLine, "")); p; ) {
26451
26451
  let s;
26452
- if ((P = (A = this.options.extensions) == null ? void 0 : A.block) != null && P.some((L) => (s = L.call({ lexer: this }, p, y)) ? (p = p.substring(s.raw.length), y.push(s), !0) : !1))
26452
+ if ((P = (A = this.options.extensions) == null ? void 0 : A.block) != null && P.some((R) => (s = R.call({ lexer: this }, p, y)) ? (p = p.substring(s.raw.length), y.push(s), !0) : !1))
26453
26453
  continue;
26454
26454
  if (s = this.tokenizer.space(p)) {
26455
26455
  p = p.substring(s.raw.length);
26456
- const L = y.at(-1);
26457
- s.raw.length === 1 && L !== void 0 ? L.raw += `
26456
+ const R = y.at(-1);
26457
+ s.raw.length === 1 && R !== void 0 ? R.raw += `
26458
26458
  ` : y.push(s);
26459
26459
  continue;
26460
26460
  }
26461
26461
  if (s = this.tokenizer.code(p)) {
26462
26462
  p = p.substring(s.raw.length);
26463
- const L = y.at(-1);
26464
- (L == null ? void 0 : L.type) === "paragraph" || (L == null ? void 0 : L.type) === "text" ? (L.raw += `
26465
- ` + s.raw, L.text += `
26466
- ` + s.text, this.inlineQueue.at(-1).src = L.text) : y.push(s);
26463
+ const R = y.at(-1);
26464
+ (R == null ? void 0 : R.type) === "paragraph" || (R == null ? void 0 : R.type) === "text" ? (R.raw += `
26465
+ ` + s.raw, R.text += `
26466
+ ` + s.text, this.inlineQueue.at(-1).src = R.text) : y.push(s);
26467
26467
  continue;
26468
26468
  }
26469
26469
  if (s = this.tokenizer.fences(p)) {
@@ -26492,10 +26492,10 @@ ${I}` : I;
26492
26492
  }
26493
26493
  if (s = this.tokenizer.def(p)) {
26494
26494
  p = p.substring(s.raw.length);
26495
- const L = y.at(-1);
26496
- (L == null ? void 0 : L.type) === "paragraph" || (L == null ? void 0 : L.type) === "text" ? (L.raw += `
26497
- ` + s.raw, L.text += `
26498
- ` + s.raw, this.inlineQueue.at(-1).src = L.text) : this.tokens.links[s.tag] || (this.tokens.links[s.tag] = {
26495
+ const R = y.at(-1);
26496
+ (R == null ? void 0 : R.type) === "paragraph" || (R == null ? void 0 : R.type) === "text" ? (R.raw += `
26497
+ ` + s.raw, R.text += `
26498
+ ` + s.raw, this.inlineQueue.at(-1).src = R.text) : this.tokens.links[s.tag] || (this.tokens.links[s.tag] = {
26499
26499
  href: s.href,
26500
26500
  title: s.title
26501
26501
  });
@@ -26511,35 +26511,35 @@ ${I}` : I;
26511
26511
  }
26512
26512
  let D = p;
26513
26513
  if ((v = this.options.extensions) != null && v.startBlock) {
26514
- let L = 1 / 0;
26514
+ let R = 1 / 0;
26515
26515
  const I = p.slice(1);
26516
26516
  let N;
26517
26517
  this.options.extensions.startBlock.forEach((M) => {
26518
- N = M.call({ lexer: this }, I), typeof N == "number" && N >= 0 && (L = Math.min(L, N));
26519
- }), L < 1 / 0 && L >= 0 && (D = p.substring(0, L + 1));
26518
+ N = M.call({ lexer: this }, I), typeof N == "number" && N >= 0 && (R = Math.min(R, N));
26519
+ }), R < 1 / 0 && R >= 0 && (D = p.substring(0, R + 1));
26520
26520
  }
26521
26521
  if (this.state.top && (s = this.tokenizer.paragraph(D))) {
26522
- const L = y.at(-1);
26523
- x && (L == null ? void 0 : L.type) === "paragraph" ? (L.raw += `
26524
- ` + s.raw, L.text += `
26525
- ` + s.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = L.text) : y.push(s), x = D.length !== p.length, p = p.substring(s.raw.length);
26522
+ const R = y.at(-1);
26523
+ x && (R == null ? void 0 : R.type) === "paragraph" ? (R.raw += `
26524
+ ` + s.raw, R.text += `
26525
+ ` + s.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = R.text) : y.push(s), x = D.length !== p.length, p = p.substring(s.raw.length);
26526
26526
  continue;
26527
26527
  }
26528
26528
  if (s = this.tokenizer.text(p)) {
26529
26529
  p = p.substring(s.raw.length);
26530
- const L = y.at(-1);
26531
- (L == null ? void 0 : L.type) === "text" ? (L.raw += `
26532
- ` + s.raw, L.text += `
26533
- ` + s.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = L.text) : y.push(s);
26530
+ const R = y.at(-1);
26531
+ (R == null ? void 0 : R.type) === "text" ? (R.raw += `
26532
+ ` + s.raw, R.text += `
26533
+ ` + s.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = R.text) : y.push(s);
26534
26534
  continue;
26535
26535
  }
26536
26536
  if (p) {
26537
- const L = "Infinite loop on byte: " + p.charCodeAt(0);
26537
+ const R = "Infinite loop on byte: " + p.charCodeAt(0);
26538
26538
  if (this.options.silent) {
26539
- console.error(L);
26539
+ console.error(R);
26540
26540
  break;
26541
26541
  } else
26542
- throw new Error(L);
26542
+ throw new Error(R);
26543
26543
  }
26544
26544
  }
26545
26545
  return this.state.top = !0, y;
@@ -26551,7 +26551,7 @@ ${I}` : I;
26551
26551
  * Lexing/Compiling
26552
26552
  */
26553
26553
  inlineTokens(p, y = []) {
26554
- var s, D, L;
26554
+ var s, D, R;
26555
26555
  let x = p, A = null;
26556
26556
  if (this.tokens.links) {
26557
26557
  const I = Object.keys(this.tokens.links);
@@ -26612,7 +26612,7 @@ ${I}` : I;
26612
26612
  continue;
26613
26613
  }
26614
26614
  let N = p;
26615
- if ((L = this.options.extensions) != null && L.startInline) {
26615
+ if ((R = this.options.extensions) != null && R.startInline) {
26616
26616
  let M = 1 / 0;
26617
26617
  const k = p.slice(1);
26618
26618
  let T;
@@ -26829,8 +26829,8 @@ ${u}</tr>
26829
26829
  for (let v = 0; v < p.length; v++) {
26830
26830
  const s = p[v];
26831
26831
  if ((P = (A = this.options.extensions) == null ? void 0 : A.renderers) != null && P[s.type]) {
26832
- const L = s, I = this.options.extensions.renderers[L.type].call({ parser: this }, L);
26833
- if (I !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(L.type)) {
26832
+ const R = s, I = this.options.extensions.renderers[R.type].call({ parser: this }, R);
26833
+ if (I !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "paragraph", "text"].includes(R.type)) {
26834
26834
  x += I || "";
26835
26835
  continue;
26836
26836
  }
@@ -26874,10 +26874,10 @@ ${u}</tr>
26874
26874
  continue;
26875
26875
  }
26876
26876
  case "text": {
26877
- let L = D, I = this.renderer.text(L);
26877
+ let R = D, I = this.renderer.text(R);
26878
26878
  for (; v + 1 < p.length && p[v + 1].type === "text"; )
26879
- L = p[++v], I += `
26880
- ` + this.renderer.text(L);
26879
+ R = p[++v], I += `
26880
+ ` + this.renderer.text(R);
26881
26881
  y ? x += this.renderer.paragraph({
26882
26882
  type: "paragraph",
26883
26883
  raw: I,
@@ -26887,10 +26887,10 @@ ${u}</tr>
26887
26887
  continue;
26888
26888
  }
26889
26889
  default: {
26890
- const L = 'Token with "' + D.type + '" type was not found.';
26890
+ const R = 'Token with "' + D.type + '" type was not found.';
26891
26891
  if (this.options.silent)
26892
- return console.error(L), "";
26893
- throw new Error(L);
26892
+ return console.error(R), "";
26893
+ throw new Error(R);
26894
26894
  }
26895
26895
  }
26896
26896
  }
@@ -26905,9 +26905,9 @@ ${u}</tr>
26905
26905
  for (let v = 0; v < p.length; v++) {
26906
26906
  const s = p[v];
26907
26907
  if ((P = (A = this.options.extensions) == null ? void 0 : A.renderers) != null && P[s.type]) {
26908
- const L = this.options.extensions.renderers[s.type].call({ parser: this }, s);
26909
- if (L !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(s.type)) {
26910
- x += L || "";
26908
+ const R = this.options.extensions.renderers[s.type].call({ parser: this }, s);
26909
+ if (R !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(s.type)) {
26910
+ x += R || "";
26911
26911
  continue;
26912
26912
  }
26913
26913
  }
@@ -26954,10 +26954,10 @@ ${u}</tr>
26954
26954
  break;
26955
26955
  }
26956
26956
  default: {
26957
- const L = 'Token with "' + D.type + '" type was not found.';
26957
+ const R = 'Token with "' + D.type + '" type was not found.';
26958
26958
  if (this.options.silent)
26959
- return console.error(L), "";
26960
- throw new Error(L);
26959
+ return console.error(R), "";
26960
+ throw new Error(R);
26961
26961
  }
26962
26962
  }
26963
26963
  }
@@ -27078,9 +27078,9 @@ ${u}</tr>
27078
27078
  if (["options", "parser"].includes(P))
27079
27079
  continue;
27080
27080
  const v = P, s = y.renderer[v], D = A[v];
27081
- A[v] = (...L) => {
27082
- let I = s.apply(A, L);
27083
- return I === !1 && (I = D.apply(A, L)), I || "";
27081
+ A[v] = (...R) => {
27082
+ let I = s.apply(A, R);
27083
+ return I === !1 && (I = D.apply(A, R)), I || "";
27084
27084
  };
27085
27085
  }
27086
27086
  x.renderer = A;
@@ -27093,9 +27093,9 @@ ${u}</tr>
27093
27093
  if (["options", "rules", "lexer"].includes(P))
27094
27094
  continue;
27095
27095
  const v = P, s = y.tokenizer[v], D = A[v];
27096
- A[v] = (...L) => {
27097
- let I = s.apply(A, L);
27098
- return I === !1 && (I = D.apply(A, L)), I;
27096
+ A[v] = (...R) => {
27097
+ let I = s.apply(A, R);
27098
+ return I === !1 && (I = D.apply(A, R)), I;
27099
27099
  };
27100
27100
  }
27101
27101
  x.tokenizer = A;
@@ -27108,14 +27108,14 @@ ${u}</tr>
27108
27108
  if (["options", "block"].includes(P))
27109
27109
  continue;
27110
27110
  const v = P, s = y.hooks[v], D = A[v];
27111
- Ah.passThroughHooks.has(P) ? A[v] = (L) => {
27111
+ Ah.passThroughHooks.has(P) ? A[v] = (R) => {
27112
27112
  if (this.defaults.async)
27113
- return Promise.resolve(s.call(A, L)).then((N) => D.call(A, N));
27114
- const I = s.call(A, L);
27113
+ return Promise.resolve(s.call(A, R)).then((N) => D.call(A, N));
27114
+ const I = s.call(A, R);
27115
27115
  return D.call(A, I);
27116
- } : A[v] = (...L) => {
27117
- let I = s.apply(A, L);
27118
- return I === !1 && (I = D.apply(A, L)), I;
27116
+ } : A[v] = (...R) => {
27117
+ let I = s.apply(A, R);
27118
+ return I === !1 && (I = D.apply(A, R)), I;
27119
27119
  };
27120
27120
  }
27121
27121
  x.hooks = A;
@@ -27151,15 +27151,15 @@ ${u}</tr>
27151
27151
  P.hooks && (P.hooks.options = P, P.hooks.block = u);
27152
27152
  const s = P.hooks ? P.hooks.provideLexer() : u ? js.lex : js.lexInline, D = P.hooks ? P.hooks.provideParser() : u ? Hs.parse : Hs.parseInline;
27153
27153
  if (P.async)
27154
- return Promise.resolve(P.hooks ? P.hooks.preprocess(y) : y).then((L) => s(L, P)).then((L) => P.hooks ? P.hooks.processAllTokens(L) : L).then((L) => P.walkTokens ? Promise.all(this.walkTokens(L, P.walkTokens)).then(() => L) : L).then((L) => D(L, P)).then((L) => P.hooks ? P.hooks.postprocess(L) : L).catch(v);
27154
+ return Promise.resolve(P.hooks ? P.hooks.preprocess(y) : y).then((R) => s(R, P)).then((R) => P.hooks ? P.hooks.processAllTokens(R) : R).then((R) => P.walkTokens ? Promise.all(this.walkTokens(R, P.walkTokens)).then(() => R) : R).then((R) => D(R, P)).then((R) => P.hooks ? P.hooks.postprocess(R) : R).catch(v);
27155
27155
  try {
27156
27156
  P.hooks && (y = P.hooks.preprocess(y));
27157
- let L = s(y, P);
27158
- P.hooks && (L = P.hooks.processAllTokens(L)), P.walkTokens && this.walkTokens(L, P.walkTokens);
27159
- let I = D(L, P);
27157
+ let R = s(y, P);
27158
+ P.hooks && (R = P.hooks.processAllTokens(R)), P.walkTokens && this.walkTokens(R, P.walkTokens);
27159
+ let I = D(R, P);
27160
27160
  return P.hooks && (I = P.hooks.postprocess(I)), I;
27161
- } catch (L) {
27162
- return v(L);
27161
+ } catch (R) {
27162
+ return v(R);
27163
27163
  }
27164
27164
  };
27165
27165
  }
@@ -27210,7 +27210,7 @@ js.lex;
27210
27210
  var Zu = { exports: {} }, Ku = { exports: {} }, is = {}, mn = {}, Xm;
27211
27211
  function _n() {
27212
27212
  if (Xm) return mn;
27213
- Xm = 1, mn.__esModule = !0, mn.extend = A, mn.indexOf = D, mn.escapeExpression = L, mn.isEmpty = I, mn.createFrame = N, mn.blockParams = M, mn.appendContextPath = k;
27213
+ Xm = 1, mn.__esModule = !0, mn.extend = A, mn.indexOf = D, mn.escapeExpression = R, mn.isEmpty = I, mn.createFrame = N, mn.blockParams = M, mn.appendContextPath = k;
27214
27214
  var u = {
27215
27215
  "&": "&amp;",
27216
27216
  "<": "&lt;",
@@ -27247,7 +27247,7 @@ function _n() {
27247
27247
  return K;
27248
27248
  return -1;
27249
27249
  }
27250
- function L(T) {
27250
+ function R(T) {
27251
27251
  if (typeof T != "string") {
27252
27252
  if (T && T.toHTML)
27253
27253
  return T.toHTML();
@@ -27280,19 +27280,19 @@ function ss() {
27280
27280
  p.__esModule = !0;
27281
27281
  var y = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
27282
27282
  function x(A, P) {
27283
- var v = P && P.loc, s = void 0, D = void 0, L = void 0, I = void 0;
27284
- v && (s = v.start.line, D = v.end.line, L = v.start.column, I = v.end.column, A += " - " + s + ":" + L);
27283
+ var v = P && P.loc, s = void 0, D = void 0, R = void 0, I = void 0;
27284
+ v && (s = v.start.line, D = v.end.line, R = v.start.column, I = v.end.column, A += " - " + s + ":" + R);
27285
27285
  for (var N = Error.prototype.constructor.call(this, A), M = 0; M < y.length; M++)
27286
27286
  this[y[M]] = N[y[M]];
27287
27287
  Error.captureStackTrace && Error.captureStackTrace(this, x);
27288
27288
  try {
27289
27289
  v && (this.lineNumber = s, this.endLineNumber = D, Object.defineProperty ? (Object.defineProperty(this, "column", {
27290
- value: L,
27290
+ value: R,
27291
27291
  enumerable: !0
27292
27292
  }), Object.defineProperty(this, "endColumn", {
27293
27293
  value: I,
27294
27294
  enumerable: !0
27295
- })) : (this.column = L, this.endColumn = I));
27295
+ })) : (this.column = R, this.endColumn = I));
27296
27296
  } catch {
27297
27297
  }
27298
27298
  }
@@ -27334,10 +27334,10 @@ function r2() {
27334
27334
  v.registerHelper("each", function(s, D) {
27335
27335
  if (!D)
27336
27336
  throw new P.default("Must pass iterator to #each");
27337
- var L = D.fn, I = D.inverse, N = 0, M = "", k = void 0, T = void 0;
27337
+ var R = D.fn, I = D.inverse, N = 0, M = "", k = void 0, T = void 0;
27338
27338
  D.data && D.ids && (T = x.appendContextPath(D.data.contextPath, D.ids[0]) + "."), x.isFunction(s) && (s = s.call(this)), D.data && (k = x.createFrame(D.data));
27339
27339
  function q(ee, me, ze) {
27340
- k && (k.key = ee, k.index = me, k.first = me === 0, k.last = !!ze, T && (k.contextPath = T + ee)), M = M + L(s[ee], {
27340
+ k && (k.key = ee, k.index = me, k.first = me === 0, k.last = !!ze, T && (k.contextPath = T + ee)), M = M + R(s[ee], {
27341
27341
  data: k,
27342
27342
  blockParams: x.blockParams([s[ee], ee], [T + ee, null])
27343
27343
  });
@@ -27441,11 +27441,11 @@ function a2() {
27441
27441
  if (arguments.length != 2)
27442
27442
  throw new P.default("#with requires exactly one argument");
27443
27443
  x.isFunction(s) && (s = s.call(this));
27444
- var L = D.fn;
27444
+ var R = D.fn;
27445
27445
  if (x.isEmpty(s))
27446
27446
  return D.inverse(this);
27447
27447
  var I = D.data;
27448
- return D.data && D.ids && (I = x.createFrame(D.data), I.contextPath = x.appendContextPath(D.data.contextPath, D.ids[0])), L(s, {
27448
+ return D.data && D.ids && (I = x.createFrame(D.data), I.contextPath = x.appendContextPath(D.data.contextPath, D.ids[0])), R(s, {
27449
27449
  data: I,
27450
27450
  blockParams: x.blockParams([s], [I && I.contextPath])
27451
27451
  });
@@ -27460,7 +27460,7 @@ function qy() {
27460
27460
  function u(ie) {
27461
27461
  return ie && ie.__esModule ? ie : { default: ie };
27462
27462
  }
27463
- var p = t2(), y = u(p), x = r2(), A = u(x), P = i2(), v = u(P), s = n2(), D = u(s), L = s2(), I = u(L), N = o2(), M = u(N), k = a2(), T = u(k);
27463
+ var p = t2(), y = u(p), x = r2(), A = u(x), P = i2(), v = u(P), s = n2(), D = u(s), R = s2(), I = u(R), N = o2(), M = u(N), k = a2(), T = u(k);
27464
27464
  function q(ie) {
27465
27465
  y.default(ie), A.default(ie), v.default(ie), D.default(ie), I.default(ie), M.default(ie), T.default(ie);
27466
27466
  }
@@ -27477,10 +27477,10 @@ function l2() {
27477
27477
  p.default = function(x) {
27478
27478
  x.registerDecorator("inline", function(A, P, v, s) {
27479
27479
  var D = A;
27480
- return P.partials || (P.partials = {}, D = function(L, I) {
27480
+ return P.partials || (P.partials = {}, D = function(R, I) {
27481
27481
  var N = v.partials;
27482
27482
  v.partials = y.extend({}, N, P.partials);
27483
- var M = A(L, I);
27483
+ var M = A(R, I);
27484
27484
  return v.partials = N, M;
27485
27485
  }), P.partials[s.args[0]] = s.fn, D;
27486
27486
  });
@@ -27520,8 +27520,8 @@ function Uy() {
27520
27520
  if (P = x.lookupLevel(P), typeof console < "u" && x.lookupLevel(x.level) <= P) {
27521
27521
  var v = x.methodMap[P];
27522
27522
  console[v] || (v = "log");
27523
- for (var s = arguments.length, D = Array(s > 1 ? s - 1 : 0), L = 1; L < s; L++)
27524
- D[L - 1] = arguments[L];
27523
+ for (var s = arguments.length, D = Array(s > 1 ? s - 1 : 0), R = 1; R < s; R++)
27524
+ D[R - 1] = arguments[R];
27525
27525
  console[v].apply(console, D);
27526
27526
  }
27527
27527
  }
@@ -27544,7 +27544,7 @@ function u2() {
27544
27544
  var ug;
27545
27545
  function Ny() {
27546
27546
  if (ug) return pl;
27547
- ug = 1, pl.__esModule = !0, pl.createProtoAccessControl = P, pl.resultIsAllowed = v, pl.resetLoggedProperties = L;
27547
+ ug = 1, pl.__esModule = !0, pl.createProtoAccessControl = P, pl.resultIsAllowed = v, pl.resetLoggedProperties = R;
27548
27548
  function u(I) {
27549
27549
  return I && I.__esModule ? I : { default: I };
27550
27550
  }
@@ -27575,7 +27575,7 @@ function Ny() {
27575
27575
  You can add a runtime option to disable the check or this warning:
27576
27576
  See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
27577
27577
  }
27578
- function L() {
27578
+ function R() {
27579
27579
  Object.keys(A).forEach(function(I) {
27580
27580
  delete A[I];
27581
27581
  });
@@ -27589,8 +27589,8 @@ function qd() {
27589
27589
  function u(K) {
27590
27590
  return K && K.__esModule ? K : { default: K };
27591
27591
  }
27592
- var p = _n(), y = ss(), x = u(y), A = qy(), P = c2(), v = Uy(), s = u(v), D = Ny(), L = "4.7.8";
27593
- is.VERSION = L;
27592
+ var p = _n(), y = ss(), x = u(y), A = qy(), P = c2(), v = Uy(), s = u(v), D = Ny(), R = "4.7.8";
27593
+ is.VERSION = R;
27594
27594
  var I = 8;
27595
27595
  is.COMPILER_REVISION = I;
27596
27596
  var N = 7;
@@ -27703,7 +27703,7 @@ function d2() {
27703
27703
  Object.prototype.hasOwnProperty.call(ee, ze) && (me[ze] = ee[ze]);
27704
27704
  return me.default = ee, me;
27705
27705
  }
27706
- var y = _n(), x = p(y), A = ss(), P = u(A), v = qd(), s = qy(), D = p2(), L = Ny();
27706
+ var y = _n(), x = p(y), A = ss(), P = u(A), v = qd(), s = qy(), D = p2(), R = Ny();
27707
27707
  function I(ee) {
27708
27708
  var me = ee && ee[0] || 1, ze = v.COMPILER_REVISION;
27709
27709
  if (!(me >= v.LAST_COMPATIBLE_COMPILER_REVISION && me <= v.COMPILER_REVISION))
@@ -27748,7 +27748,7 @@ function d2() {
27748
27748
  },
27749
27749
  lookupProperty: function(ut, bt) {
27750
27750
  var Ht = ut[bt];
27751
- if (Ht == null || Object.prototype.hasOwnProperty.call(ut, bt) || L.resultIsAllowed(Ht, nt.protoAccessControl, bt))
27751
+ if (Ht == null || Object.prototype.hasOwnProperty.call(ut, bt) || R.resultIsAllowed(Ht, nt.protoAccessControl, bt))
27752
27752
  return Ht;
27753
27753
  },
27754
27754
  lookup: function(ut, bt) {
@@ -27801,7 +27801,7 @@ function d2() {
27801
27801
  nt.protoAccessControl = xt.protoAccessControl, nt.helpers = xt.helpers, nt.partials = xt.partials, nt.decorators = xt.decorators, nt.hooks = xt.hooks;
27802
27802
  else {
27803
27803
  var ut = x.extend({}, me.helpers, xt.helpers);
27804
- le(ut, nt), nt.helpers = ut, ee.usePartial && (nt.partials = nt.mergeIfNeeded(xt.partials, me.partials)), (ee.usePartial || ee.useDecorators) && (nt.decorators = x.extend({}, me.decorators, xt.decorators)), nt.hooks = {}, nt.protoAccessControl = L.createProtoAccessControl(xt);
27804
+ le(ut, nt), nt.helpers = ut, ee.usePartial && (nt.partials = nt.mergeIfNeeded(xt.partials, me.partials)), (ee.usePartial || ee.useDecorators) && (nt.decorators = x.extend({}, me.decorators, xt.decorators)), nt.hooks = {}, nt.protoAccessControl = R.createProtoAccessControl(xt);
27805
27805
  var bt = xt.allowCallsToHelperMissing || ze;
27806
27806
  s.moveHelperToHooks(nt, "helperMissing", bt), s.moveHelperToHooks(nt, "blockHelperMissing", bt);
27807
27807
  }
@@ -27898,10 +27898,10 @@ function f2() {
27898
27898
  Object.prototype.hasOwnProperty.call(le, ee) && (Pe[ee] = le[ee]);
27899
27899
  return Pe.default = le, Pe;
27900
27900
  }
27901
- var A = qd(), P = x(A), v = h2(), s = y(v), D = ss(), L = y(D), I = _n(), N = x(I), M = d2(), k = x(M), T = jy(), q = y(T);
27901
+ var A = qd(), P = x(A), v = h2(), s = y(v), D = ss(), R = y(D), I = _n(), N = x(I), M = d2(), k = x(M), T = jy(), q = y(T);
27902
27902
  function K() {
27903
27903
  var le = new P.HandlebarsEnvironment();
27904
- return N.extend(le, P), le.SafeString = s.default, le.Exception = L.default, le.Utils = N, le.escapeExpression = N.escapeExpression, le.VM = k, le.template = function(Pe) {
27904
+ return N.extend(le, P), le.SafeString = s.default, le.Exception = R.default, le.Utils = N, le.escapeExpression = N.escapeExpression, le.VM = k, le.template = function(Pe) {
27905
27905
  return k.template(Pe, le);
27906
27906
  }, le;
27907
27907
  }
@@ -27947,7 +27947,7 @@ function m2() {
27947
27947
  symbols_: { error: 2, root: 3, program: 4, EOF: 5, program_repetition0: 6, statement: 7, mustache: 8, block: 9, rawBlock: 10, partial: 11, partialBlock: 12, content: 13, COMMENT: 14, CONTENT: 15, openRawBlock: 16, rawBlock_repetition0: 17, END_RAW_BLOCK: 18, OPEN_RAW_BLOCK: 19, helperName: 20, openRawBlock_repetition0: 21, openRawBlock_option0: 22, CLOSE_RAW_BLOCK: 23, openBlock: 24, block_option0: 25, closeBlock: 26, openInverse: 27, block_option1: 28, OPEN_BLOCK: 29, openBlock_repetition0: 30, openBlock_option0: 31, openBlock_option1: 32, CLOSE: 33, OPEN_INVERSE: 34, openInverse_repetition0: 35, openInverse_option0: 36, openInverse_option1: 37, openInverseChain: 38, OPEN_INVERSE_CHAIN: 39, openInverseChain_repetition0: 40, openInverseChain_option0: 41, openInverseChain_option1: 42, inverseAndProgram: 43, INVERSE: 44, inverseChain: 45, inverseChain_option0: 46, OPEN_ENDBLOCK: 47, OPEN: 48, mustache_repetition0: 49, mustache_option0: 50, OPEN_UNESCAPED: 51, mustache_repetition1: 52, mustache_option1: 53, CLOSE_UNESCAPED: 54, OPEN_PARTIAL: 55, partialName: 56, partial_repetition0: 57, partial_option0: 58, openPartialBlock: 59, OPEN_PARTIAL_BLOCK: 60, openPartialBlock_repetition0: 61, openPartialBlock_option0: 62, param: 63, sexpr: 64, OPEN_SEXPR: 65, sexpr_repetition0: 66, sexpr_option0: 67, CLOSE_SEXPR: 68, hash: 69, hash_repetition_plus0: 70, hashSegment: 71, ID: 72, EQUALS: 73, blockParams: 74, OPEN_BLOCK_PARAMS: 75, blockParams_repetition_plus0: 76, CLOSE_BLOCK_PARAMS: 77, path: 78, dataName: 79, STRING: 80, NUMBER: 81, BOOLEAN: 82, UNDEFINED: 83, NULL: 84, DATA: 85, pathSegments: 86, SEP: 87, $accept: 0, $end: 1 },
27948
27948
  terminals_: { 2: "error", 5: "EOF", 14: "COMMENT", 15: "CONTENT", 18: "END_RAW_BLOCK", 19: "OPEN_RAW_BLOCK", 23: "CLOSE_RAW_BLOCK", 29: "OPEN_BLOCK", 33: "CLOSE", 34: "OPEN_INVERSE", 39: "OPEN_INVERSE_CHAIN", 44: "INVERSE", 47: "OPEN_ENDBLOCK", 48: "OPEN", 51: "OPEN_UNESCAPED", 54: "CLOSE_UNESCAPED", 55: "OPEN_PARTIAL", 60: "OPEN_PARTIAL_BLOCK", 65: "OPEN_SEXPR", 68: "CLOSE_SEXPR", 72: "ID", 73: "EQUALS", 75: "OPEN_BLOCK_PARAMS", 77: "CLOSE_BLOCK_PARAMS", 80: "STRING", 81: "NUMBER", 82: "BOOLEAN", 83: "UNDEFINED", 84: "NULL", 85: "DATA", 87: "SEP" },
27949
27949
  productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 0], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],
27950
- performAction: function(s, D, L, I, N, M, k) {
27950
+ performAction: function(s, D, R, I, N, M, k) {
27951
27951
  var T = M.length - 1;
27952
27952
  switch (N) {
27953
27953
  case 1:
@@ -28195,7 +28195,7 @@ function m2() {
28195
28195
  throw new Error(s);
28196
28196
  },
28197
28197
  parse: function(s) {
28198
- var D = this, L = [0], I = [null], N = [], M = this.table, k = "", T = 0, q = 0;
28198
+ var D = this, R = [0], I = [null], N = [], M = this.table, k = "", T = 0, q = 0;
28199
28199
  this.lexer.setInput(s), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
28200
28200
  var K = this.lexer.yylloc;
28201
28201
  N.push(K);
@@ -28206,7 +28206,7 @@ function m2() {
28206
28206
  return Ht = D.lexer.lex() || 1, typeof Ht != "number" && (Ht = D.symbols_[Ht] || Ht), Ht;
28207
28207
  }
28208
28208
  for (var Pe, ee, me, ze, Ne = {}, nt, Tt, xt, ut; ; ) {
28209
- if (ee = L[L.length - 1], this.defaultActions[ee] ? me = this.defaultActions[ee] : ((Pe === null || typeof Pe > "u") && (Pe = le()), me = M[ee] && M[ee][Pe]), typeof me > "u" || !me.length || !me[0]) {
28209
+ if (ee = R[R.length - 1], this.defaultActions[ee] ? me = this.defaultActions[ee] : ((Pe === null || typeof Pe > "u") && (Pe = le()), me = M[ee] && M[ee][Pe]), typeof me > "u" || !me.length || !me[0]) {
28210
28210
  var bt = "";
28211
28211
  {
28212
28212
  ut = [];
@@ -28220,12 +28220,12 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28220
28220
  throw new Error("Parse Error: multiple actions possible at state: " + ee + ", token: " + Pe);
28221
28221
  switch (me[0]) {
28222
28222
  case 1:
28223
- L.push(Pe), I.push(this.lexer.yytext), N.push(this.lexer.yylloc), L.push(me[1]), Pe = null, q = this.lexer.yyleng, k = this.lexer.yytext, T = this.lexer.yylineno, K = this.lexer.yylloc;
28223
+ R.push(Pe), I.push(this.lexer.yytext), N.push(this.lexer.yylloc), R.push(me[1]), Pe = null, q = this.lexer.yyleng, k = this.lexer.yytext, T = this.lexer.yylineno, K = this.lexer.yylloc;
28224
28224
  break;
28225
28225
  case 2:
28226
28226
  if (Tt = this.productions_[me[1]][1], Ne.$ = I[I.length - Tt], Ne._$ = { first_line: N[N.length - (Tt || 1)].first_line, last_line: N[N.length - 1].last_line, first_column: N[N.length - (Tt || 1)].first_column, last_column: N[N.length - 1].last_column }, ie && (Ne._$.range = [N[N.length - (Tt || 1)].range[0], N[N.length - 1].range[1]]), ze = this.performAction.call(Ne, k, q, T, this.yy, me[1], I, N), typeof ze < "u")
28227
28227
  return ze;
28228
- Tt && (L = L.slice(0, -1 * Tt * 2), I = I.slice(0, -1 * Tt), N = N.slice(0, -1 * Tt)), L.push(this.productions_[me[1]][0]), I.push(Ne.$), N.push(Ne._$), xt = M[L[L.length - 2]][L[L.length - 1]], L.push(xt);
28228
+ Tt && (R = R.slice(0, -1 * Tt * 2), I = I.slice(0, -1 * Tt), N = N.slice(0, -1 * Tt)), R.push(this.productions_[me[1]][0]), I.push(Ne.$), N.push(Ne._$), xt = M[R[R.length - 2]][R[R.length - 1]], R.push(xt);
28229
28229
  break;
28230
28230
  case 3:
28231
28231
  return !0;
@@ -28236,9 +28236,9 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28236
28236
  }, A = function() {
28237
28237
  var v = {
28238
28238
  EOF: 1,
28239
- parseError: function(D, L) {
28239
+ parseError: function(D, R) {
28240
28240
  if (this.yy.parser)
28241
- this.yy.parser.parseError(D, L);
28241
+ this.yy.parser.parseError(D, R);
28242
28242
  else
28243
28243
  throw new Error(D);
28244
28244
  },
@@ -28248,12 +28248,12 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28248
28248
  input: function() {
28249
28249
  var D = this._input[0];
28250
28250
  this.yytext += D, this.yyleng++, this.offset++, this.match += D, this.matched += D;
28251
- var L = D.match(/(?:\r\n?|\n).*/g);
28252
- return L ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), D;
28251
+ var R = D.match(/(?:\r\n?|\n).*/g);
28252
+ return R ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), D;
28253
28253
  },
28254
28254
  unput: function(D) {
28255
- var L = D.length, I = D.split(/(?:\r\n?|\n)/g);
28256
- this._input = D + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - L - 1), this.offset -= L;
28255
+ var R = D.length, I = D.split(/(?:\r\n?|\n)/g);
28256
+ this._input = D + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - R - 1), this.offset -= R;
28257
28257
  var N = this.match.split(/(?:\r\n?|\n)/g);
28258
28258
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), I.length - 1 && (this.yylineno -= I.length - 1);
28259
28259
  var M = this.yylloc.range;
@@ -28261,8 +28261,8 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28261
28261
  first_line: this.yylloc.first_line,
28262
28262
  last_line: this.yylineno + 1,
28263
28263
  first_column: this.yylloc.first_column,
28264
- last_column: I ? (I.length === N.length ? this.yylloc.first_column : 0) + N[N.length - I.length].length - I[0].length : this.yylloc.first_column - L
28265
- }, this.options.ranges && (this.yylloc.range = [M[0], M[0] + this.yyleng - L]), this;
28264
+ last_column: I ? (I.length === N.length ? this.yylloc.first_column : 0) + N[N.length - I.length].length - I[0].length : this.yylloc.first_column - R
28265
+ }, this.options.ranges && (this.yylloc.range = [M[0], M[0] + this.yyleng - R]), this;
28266
28266
  },
28267
28267
  more: function() {
28268
28268
  return this._more = !0, this;
@@ -28279,24 +28279,24 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28279
28279
  return D.length < 20 && (D += this._input.substr(0, 20 - D.length)), (D.substr(0, 20) + (D.length > 20 ? "..." : "")).replace(/\n/g, "");
28280
28280
  },
28281
28281
  showPosition: function() {
28282
- var D = this.pastInput(), L = new Array(D.length + 1).join("-");
28282
+ var D = this.pastInput(), R = new Array(D.length + 1).join("-");
28283
28283
  return D + this.upcomingInput() + `
28284
- ` + L + "^";
28284
+ ` + R + "^";
28285
28285
  },
28286
28286
  next: function() {
28287
28287
  if (this.done)
28288
28288
  return this.EOF;
28289
28289
  this._input || (this.done = !0);
28290
- var D, L, I, N, M;
28290
+ var D, R, I, N, M;
28291
28291
  this._more || (this.yytext = "", this.match = "");
28292
- for (var k = this._currentRules(), T = 0; T < k.length && (I = this._input.match(this.rules[k[T]]), !(I && (!L || I[0].length > L[0].length) && (L = I, N = T, !this.options.flex))); T++)
28292
+ for (var k = this._currentRules(), T = 0; T < k.length && (I = this._input.match(this.rules[k[T]]), !(I && (!R || I[0].length > R[0].length) && (R = I, N = T, !this.options.flex))); T++)
28293
28293
  ;
28294
- return L ? (M = L[0].match(/(?:\r\n?|\n).*/g), M && (this.yylineno += M.length), this.yylloc = {
28294
+ return R ? (M = R[0].match(/(?:\r\n?|\n).*/g), M && (this.yylineno += M.length), this.yylloc = {
28295
28295
  first_line: this.yylloc.last_line,
28296
28296
  last_line: this.yylineno + 1,
28297
28297
  first_column: this.yylloc.last_column,
28298
- last_column: M ? M[M.length - 1].length - M[M.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + L[0].length
28299
- }, this.yytext += L[0], this.match += L[0], this.matches = L, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(L[0].length), this.matched += L[0], D = this.performAction.call(this, this.yy, this, k[N], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), D || void 0) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
28298
+ last_column: M ? M[M.length - 1].length - M[M.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + R[0].length
28299
+ }, this.yytext += R[0], this.match += R[0], this.matches = R, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(R[0].length), this.matched += R[0], D = this.performAction.call(this, this.yy, this, k[N], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), D || void 0) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
28300
28300
  ` + this.showPosition(), { text: "", token: null, line: this.yylineno });
28301
28301
  },
28302
28302
  lex: function() {
@@ -28319,13 +28319,13 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28319
28319
  this.begin(D);
28320
28320
  }
28321
28321
  };
28322
- return v.options = {}, v.performAction = function(D, L, I, N) {
28322
+ return v.options = {}, v.performAction = function(D, R, I, N) {
28323
28323
  function M(k, T) {
28324
- return L.yytext = L.yytext.substring(k, L.yyleng - T + k);
28324
+ return R.yytext = R.yytext.substring(k, R.yyleng - T + k);
28325
28325
  }
28326
28326
  switch (I) {
28327
28327
  case 0:
28328
- if (L.yytext.slice(-2) === "\\\\" ? (M(0, 1), this.begin("mu")) : L.yytext.slice(-1) === "\\" ? (M(0, 1), this.begin("emu")) : this.begin("mu"), L.yytext) return 15;
28328
+ if (R.yytext.slice(-2) === "\\\\" ? (M(0, 1), this.begin("mu")) : R.yytext.slice(-1) === "\\" ? (M(0, 1), this.begin("emu")) : this.begin("mu"), R.yytext) return 15;
28329
28329
  break;
28330
28330
  case 1:
28331
28331
  return 15;
@@ -28368,7 +28368,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28368
28368
  case 20:
28369
28369
  return 48;
28370
28370
  case 21:
28371
- this.unput(L.yytext), this.popState(), this.begin("com");
28371
+ this.unput(R.yytext), this.popState(), this.begin("com");
28372
28372
  break;
28373
28373
  case 22:
28374
28374
  return this.popState(), 14;
@@ -28389,9 +28389,9 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28389
28389
  case 30:
28390
28390
  return this.popState(), 33;
28391
28391
  case 31:
28392
- return L.yytext = M(1, 2).replace(/\\"/g, '"'), 80;
28392
+ return R.yytext = M(1, 2).replace(/\\"/g, '"'), 80;
28393
28393
  case 32:
28394
- return L.yytext = M(1, 2).replace(/\\'/g, "'"), 80;
28394
+ return R.yytext = M(1, 2).replace(/\\'/g, "'"), 80;
28395
28395
  case 33:
28396
28396
  return 85;
28397
28397
  case 34:
@@ -28411,7 +28411,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[Pe] || Pe) + "'" : bt
28411
28411
  case 41:
28412
28412
  return 72;
28413
28413
  case 42:
28414
- return L.yytext = L.yytext.replace(/\\([\\\]])/g, "$1"), 72;
28414
+ return R.yytext = R.yytext.replace(/\\([\\\]])/g, "$1"), 72;
28415
28415
  case 43:
28416
28416
  return "INVALID";
28417
28417
  case 44:
@@ -28432,8 +28432,8 @@ var hh = { exports: {} }, ph = { exports: {} }, vg;
28432
28432
  function Wy() {
28433
28433
  return vg || (vg = 1, function(u, p) {
28434
28434
  p.__esModule = !0;
28435
- function y(L) {
28436
- return L && L.__esModule ? L : { default: L };
28435
+ function y(R) {
28436
+ return R && R.__esModule ? R : { default: R };
28437
28437
  }
28438
28438
  var x = ss(), A = y(x);
28439
28439
  function P() {
@@ -28510,14 +28510,14 @@ function Wy() {
28510
28510
  this.acceptRequired(I, "value");
28511
28511
  }
28512
28512
  };
28513
- function v(L) {
28514
- this.acceptRequired(L, "path"), this.acceptArray(L.params), this.acceptKey(L, "hash");
28513
+ function v(R) {
28514
+ this.acceptRequired(R, "path"), this.acceptArray(R.params), this.acceptKey(R, "hash");
28515
28515
  }
28516
- function s(L) {
28517
- v.call(this, L), this.acceptKey(L, "program"), this.acceptKey(L, "inverse");
28516
+ function s(R) {
28517
+ v.call(this, R), this.acceptKey(R, "program"), this.acceptKey(R, "inverse");
28518
28518
  }
28519
- function D(L) {
28520
- this.acceptRequired(L, "name"), this.acceptArray(L.params), this.acceptKey(L, "hash");
28519
+ function D(R) {
28520
+ this.acceptRequired(R, "name"), this.acceptArray(R.params), this.acceptKey(R, "hash");
28521
28521
  }
28522
28522
  p.default = P, u.exports = p.default;
28523
28523
  }(ph, ph.exports)), ph.exports;
@@ -28541,7 +28541,7 @@ function g2() {
28541
28541
  var K = k[T], ie = this.accept(K);
28542
28542
  if (ie) {
28543
28543
  var le = v(k, T, M), Pe = s(k, T, M), ee = ie.openStandalone && le, me = ie.closeStandalone && Pe, ze = ie.inlineStandalone && le && Pe;
28544
- ie.close && D(k, T, !0), ie.open && L(k, T, !0), N && ze && (D(k, T), L(k, T) && K.type === "PartialStatement" && (K.indent = /([ \t]+$)/.exec(k[T - 1].original)[1])), N && ee && (D((K.program || K.inverse).body), L(k, T)), N && me && (D(k, T), L((K.inverse || K.program).body));
28544
+ ie.close && D(k, T, !0), ie.open && R(k, T, !0), N && ze && (D(k, T), R(k, T) && K.type === "PartialStatement" && (K.indent = /([ \t]+$)/.exec(k[T - 1].original)[1])), N && ee && (D((K.program || K.inverse).body), R(k, T)), N && me && (D(k, T), R((K.inverse || K.program).body));
28545
28545
  }
28546
28546
  }
28547
28547
  return I;
@@ -28561,8 +28561,8 @@ function g2() {
28561
28561
  };
28562
28562
  if (I.openStrip.close && D(N.body, null, !0), M) {
28563
28563
  var K = I.inverseStrip;
28564
- K.open && L(N.body, null, !0), K.close && D(k.body, null, !0), I.closeStrip.open && L(T.body, null, !0), !this.options.ignoreStandalone && v(N.body) && s(k.body) && (L(N.body), D(k.body));
28565
- } else I.closeStrip.open && L(N.body, null, !0);
28564
+ K.open && R(N.body, null, !0), K.close && D(k.body, null, !0), I.closeStrip.open && R(T.body, null, !0), !this.options.ignoreStandalone && v(N.body) && s(k.body) && (R(N.body), D(k.body));
28565
+ } else I.closeStrip.open && R(N.body, null, !0);
28566
28566
  return q;
28567
28567
  }, P.prototype.Decorator = P.prototype.MustacheStatement = function(I) {
28568
28568
  return I.strip;
@@ -28597,7 +28597,7 @@ function g2() {
28597
28597
  k.value = k.value.replace(M ? /^\s+/ : /^[ \t]*\r?\n?/, ""), k.rightStripped = k.value !== T;
28598
28598
  }
28599
28599
  }
28600
- function L(I, N, M) {
28600
+ function R(I, N, M) {
28601
28601
  var k = I[N == null ? I.length - 1 : N - 1];
28602
28602
  if (!(!k || k.type !== "ContentStatement" || !M && k.leftStripped)) {
28603
28603
  var T = k.value;
@@ -28610,7 +28610,7 @@ function g2() {
28610
28610
  var En = {}, bg;
28611
28611
  function y2() {
28612
28612
  if (bg) return En;
28613
- bg = 1, En.__esModule = !0, En.SourceLocation = A, En.id = P, En.stripFlags = v, En.stripComment = s, En.preparePath = D, En.prepareMustache = L, En.prepareRawBlock = I, En.prepareBlock = N, En.prepareProgram = M, En.preparePartialBlock = k;
28613
+ bg = 1, En.__esModule = !0, En.SourceLocation = A, En.id = P, En.stripFlags = v, En.stripComment = s, En.preparePath = D, En.prepareMustache = R, En.prepareRawBlock = I, En.prepareBlock = N, En.prepareProgram = M, En.preparePartialBlock = k;
28614
28614
  function u(T) {
28615
28615
  return T && T.__esModule ? T : { default: T };
28616
28616
  }
@@ -28662,7 +28662,7 @@ function y2() {
28662
28662
  loc: K
28663
28663
  };
28664
28664
  }
28665
- function L(T, q, K, ie, le, Pe) {
28665
+ function R(T, q, K, ie, le, Pe) {
28666
28666
  var ee = ie.charAt(3) || ie.charAt(2), me = ee !== "{" && ee !== "&", ze = /\*/.test(ie);
28667
28667
  return {
28668
28668
  type: ze ? "Decorator" : "MustacheStatement",
@@ -28771,13 +28771,13 @@ function _2() {
28771
28771
  }
28772
28772
  var y = m2(), x = p(y), A = g2(), P = p(A), v = y2(), s = u(v), D = _n();
28773
28773
  dl.parser = x.default;
28774
- var L = {};
28775
- D.extend(L, s);
28774
+ var R = {};
28775
+ D.extend(R, s);
28776
28776
  function I(M, k) {
28777
28777
  if (M.type === "Program")
28778
28778
  return M;
28779
- x.default.yy = L, L.locInfo = function(q) {
28780
- return new L.SourceLocation(k && k.srcName, q);
28779
+ x.default.yy = R, R.locInfo = function(q) {
28780
+ return new R.SourceLocation(k && k.srcName, q);
28781
28781
  };
28782
28782
  var T = x.default.parse(M);
28783
28783
  return T;
@@ -28791,7 +28791,7 @@ function _2() {
28791
28791
  var fl = {}, Sg;
28792
28792
  function v2() {
28793
28793
  if (Sg) return fl;
28794
- Sg = 1, fl.__esModule = !0, fl.Compiler = s, fl.precompile = D, fl.compile = L;
28794
+ Sg = 1, fl.__esModule = !0, fl.Compiler = s, fl.precompile = D, fl.compile = R;
28795
28795
  function u(M) {
28796
28796
  return M && M.__esModule ? M : { default: M };
28797
28797
  }
@@ -28992,7 +28992,7 @@ function v2() {
28992
28992
  var q = T.parse(M, k), K = new T.Compiler().compile(q, k);
28993
28993
  return new T.JavaScriptCompiler().compile(K, k);
28994
28994
  }
28995
- function L(M, k, T) {
28995
+ function R(M, k, T) {
28996
28996
  if (k === void 0 && (k = {}), M == null || typeof M != "string" && M.type !== "Program")
28997
28997
  throw new y.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + M);
28998
28998
  k = x.extend({}, k), "data" in k || (k.data = !0), k.compat && (k.useDepths = !0);
@@ -29045,8 +29045,8 @@ function x2() {
29045
29045
  return u[p];
29046
29046
  throw new TypeError("Must be between 0 and 63: " + p);
29047
29047
  }, gh.decode = function(p) {
29048
- var y = 65, x = 90, A = 97, P = 122, v = 48, s = 57, D = 43, L = 47, I = 26, N = 52;
29049
- return y <= p && p <= x ? p - y : A <= p && p <= P ? p - A + I : v <= p && p <= s ? p - v + N : p == D ? 62 : p == L ? 63 : -1;
29048
+ var y = 65, x = 90, A = 97, P = 122, v = 48, s = 57, D = 43, R = 47, I = 26, N = 52;
29049
+ return y <= p && p <= x ? p - y : A <= p && p <= P ? p - A + I : v <= p && p <= s ? p - v + N : p == D ? 62 : p == R ? 63 : -1;
29050
29050
  }, gh;
29051
29051
  }
29052
29052
  var kg;
@@ -29058,25 +29058,25 @@ function Zy() {
29058
29058
  return s < 0 ? (-s << 1) + 1 : (s << 1) + 0;
29059
29059
  }
29060
29060
  function v(s) {
29061
- var D = (s & 1) === 1, L = s >> 1;
29062
- return D ? -L : L;
29061
+ var D = (s & 1) === 1, R = s >> 1;
29062
+ return D ? -R : R;
29063
29063
  }
29064
29064
  return mh.encode = function(D) {
29065
- var L = "", I, N = P(D);
29065
+ var R = "", I, N = P(D);
29066
29066
  do
29067
- I = N & x, N >>>= p, N > 0 && (I |= A), L += u.encode(I);
29067
+ I = N & x, N >>>= p, N > 0 && (I |= A), R += u.encode(I);
29068
29068
  while (N > 0);
29069
- return L;
29070
- }, mh.decode = function(D, L, I) {
29069
+ return R;
29070
+ }, mh.decode = function(D, R, I) {
29071
29071
  var N = D.length, M = 0, k = 0, T, q;
29072
29072
  do {
29073
- if (L >= N)
29073
+ if (R >= N)
29074
29074
  throw new Error("Expected more digits in base 64 VLQ value.");
29075
- if (q = u.decode(D.charCodeAt(L++)), q === -1)
29076
- throw new Error("Invalid base64 digit: " + D.charAt(L - 1));
29075
+ if (q = u.decode(D.charCodeAt(R++)), q === -1)
29076
+ throw new Error("Invalid base64 digit: " + D.charAt(R - 1));
29077
29077
  T = !!(q & A), q &= x, M = M + (q << k), k += p;
29078
29078
  } while (T);
29079
- I.value = v(M), I.rest = L;
29079
+ I.value = v(M), I.rest = R;
29080
29080
  }, mh;
29081
29081
  }
29082
29082
  var sd = {}, Tg;
@@ -29145,7 +29145,7 @@ function Fc() {
29145
29145
  return Array(ze + 1).join("../") + me.substr(ee.length + 1);
29146
29146
  }
29147
29147
  u.relative = D;
29148
- var L = function() {
29148
+ var R = function() {
29149
29149
  var ee = /* @__PURE__ */ Object.create(null);
29150
29150
  return !("__proto__" in ee);
29151
29151
  }();
@@ -29155,11 +29155,11 @@ function Fc() {
29155
29155
  function N(ee) {
29156
29156
  return k(ee) ? "$" + ee : ee;
29157
29157
  }
29158
- u.toSetString = L ? I : N;
29158
+ u.toSetString = R ? I : N;
29159
29159
  function M(ee) {
29160
29160
  return k(ee) ? ee.slice(1) : ee;
29161
29161
  }
29162
- u.fromSetString = L ? I : M;
29162
+ u.fromSetString = R ? I : M;
29163
29163
  function k(ee) {
29164
29164
  if (!ee)
29165
29165
  return !1;
@@ -29218,14 +29218,14 @@ function Ky() {
29218
29218
  this._array = [], this._set = y ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
29219
29219
  }
29220
29220
  return x.fromArray = function(P, v) {
29221
- for (var s = new x(), D = 0, L = P.length; D < L; D++)
29221
+ for (var s = new x(), D = 0, R = P.length; D < R; D++)
29222
29222
  s.add(P[D], v);
29223
29223
  return s;
29224
29224
  }, x.prototype.size = function() {
29225
29225
  return y ? this._set.size : Object.getOwnPropertyNames(this._set).length;
29226
29226
  }, x.prototype.add = function(P, v) {
29227
- var s = y ? P : u.toSetString(P), D = y ? this.has(P) : p.call(this._set, s), L = this._array.length;
29228
- (!D || v) && this._array.push(P), D || (y ? this._set.set(P, L) : this._set[s] = L);
29227
+ var s = y ? P : u.toSetString(P), D = y ? this.has(P) : p.call(this._set, s), R = this._array.length;
29228
+ (!D || v) && this._array.push(P), D || (y ? this._set.set(P, R) : this._set[s] = R);
29229
29229
  }, x.prototype.has = function(P) {
29230
29230
  if (y)
29231
29231
  return this._set.has(P);
@@ -29283,50 +29283,50 @@ function Gy() {
29283
29283
  file: v.file,
29284
29284
  sourceRoot: s
29285
29285
  });
29286
- return v.eachMapping(function(L) {
29286
+ return v.eachMapping(function(R) {
29287
29287
  var I = {
29288
29288
  generated: {
29289
- line: L.generatedLine,
29290
- column: L.generatedColumn
29289
+ line: R.generatedLine,
29290
+ column: R.generatedColumn
29291
29291
  }
29292
29292
  };
29293
- L.source != null && (I.source = L.source, s != null && (I.source = p.relative(s, I.source)), I.original = {
29294
- line: L.originalLine,
29295
- column: L.originalColumn
29296
- }, L.name != null && (I.name = L.name)), D.addMapping(I);
29297
- }), v.sources.forEach(function(L) {
29298
- var I = L;
29299
- s !== null && (I = p.relative(s, L)), D._sources.has(I) || D._sources.add(I);
29300
- var N = v.sourceContentFor(L);
29301
- N != null && D.setSourceContent(L, N);
29293
+ R.source != null && (I.source = R.source, s != null && (I.source = p.relative(s, I.source)), I.original = {
29294
+ line: R.originalLine,
29295
+ column: R.originalColumn
29296
+ }, R.name != null && (I.name = R.name)), D.addMapping(I);
29297
+ }), v.sources.forEach(function(R) {
29298
+ var I = R;
29299
+ s !== null && (I = p.relative(s, R)), D._sources.has(I) || D._sources.add(I);
29300
+ var N = v.sourceContentFor(R);
29301
+ N != null && D.setSourceContent(R, N);
29302
29302
  }), D;
29303
29303
  }, A.prototype.addMapping = function(v) {
29304
- var s = p.getArg(v, "generated"), D = p.getArg(v, "original", null), L = p.getArg(v, "source", null), I = p.getArg(v, "name", null);
29305
- this._skipValidation || this._validateMapping(s, D, L, I), L != null && (L = String(L), this._sources.has(L) || this._sources.add(L)), I != null && (I = String(I), this._names.has(I) || this._names.add(I)), this._mappings.add({
29304
+ var s = p.getArg(v, "generated"), D = p.getArg(v, "original", null), R = p.getArg(v, "source", null), I = p.getArg(v, "name", null);
29305
+ this._skipValidation || this._validateMapping(s, D, R, I), R != null && (R = String(R), this._sources.has(R) || this._sources.add(R)), I != null && (I = String(I), this._names.has(I) || this._names.add(I)), this._mappings.add({
29306
29306
  generatedLine: s.line,
29307
29307
  generatedColumn: s.column,
29308
29308
  originalLine: D != null && D.line,
29309
29309
  originalColumn: D != null && D.column,
29310
- source: L,
29310
+ source: R,
29311
29311
  name: I
29312
29312
  });
29313
29313
  }, A.prototype.setSourceContent = function(v, s) {
29314
29314
  var D = v;
29315
29315
  this._sourceRoot != null && (D = p.relative(this._sourceRoot, D)), s != null ? (this._sourcesContents || (this._sourcesContents = /* @__PURE__ */ Object.create(null)), this._sourcesContents[p.toSetString(D)] = s) : this._sourcesContents && (delete this._sourcesContents[p.toSetString(D)], Object.keys(this._sourcesContents).length === 0 && (this._sourcesContents = null));
29316
29316
  }, A.prototype.applySourceMap = function(v, s, D) {
29317
- var L = s;
29317
+ var R = s;
29318
29318
  if (s == null) {
29319
29319
  if (v.file == null)
29320
29320
  throw new Error(
29321
29321
  `SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`
29322
29322
  );
29323
- L = v.file;
29323
+ R = v.file;
29324
29324
  }
29325
29325
  var I = this._sourceRoot;
29326
- I != null && (L = p.relative(I, L));
29326
+ I != null && (R = p.relative(I, R));
29327
29327
  var N = new y(), M = new y();
29328
29328
  this._mappings.unsortedForEach(function(k) {
29329
- if (k.source === L && k.originalLine != null) {
29329
+ if (k.source === R && k.originalLine != null) {
29330
29330
  var T = v.originalPositionFor({
29331
29331
  line: k.originalLine,
29332
29332
  column: k.originalColumn
@@ -29341,23 +29341,23 @@ function Gy() {
29341
29341
  var T = v.sourceContentFor(k);
29342
29342
  T != null && (D != null && (k = p.join(D, k)), I != null && (k = p.relative(I, k)), this.setSourceContent(k, T));
29343
29343
  }, this);
29344
- }, A.prototype._validateMapping = function(v, s, D, L) {
29344
+ }, A.prototype._validateMapping = function(v, s, D, R) {
29345
29345
  if (s && typeof s.line != "number" && typeof s.column != "number")
29346
29346
  throw new Error(
29347
29347
  "original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values."
29348
29348
  );
29349
- if (!(v && "line" in v && "column" in v && v.line > 0 && v.column >= 0 && !s && !D && !L)) {
29349
+ if (!(v && "line" in v && "column" in v && v.line > 0 && v.column >= 0 && !s && !D && !R)) {
29350
29350
  if (v && "line" in v && "column" in v && s && "line" in s && "column" in s && v.line > 0 && v.column >= 0 && s.line > 0 && s.column >= 0 && D)
29351
29351
  return;
29352
29352
  throw new Error("Invalid mapping: " + JSON.stringify({
29353
29353
  generated: v,
29354
29354
  source: D,
29355
29355
  original: s,
29356
- name: L
29356
+ name: R
29357
29357
  }));
29358
29358
  }
29359
29359
  }, A.prototype._serializeMappings = function() {
29360
- for (var v = 0, s = 1, D = 0, L = 0, I = 0, N = 0, M = "", k, T, q, K, ie = this._mappings.toArray(), le = 0, Pe = ie.length; le < Pe; le++) {
29360
+ for (var v = 0, s = 1, D = 0, R = 0, I = 0, N = 0, M = "", k, T, q, K, ie = this._mappings.toArray(), le = 0, Pe = ie.length; le < Pe; le++) {
29361
29361
  if (T = ie[le], k = "", T.generatedLine !== s)
29362
29362
  for (v = 0; T.generatedLine !== s; )
29363
29363
  k += ";", s++;
@@ -29366,7 +29366,7 @@ function Gy() {
29366
29366
  continue;
29367
29367
  k += ",";
29368
29368
  }
29369
- k += u.encode(T.generatedColumn - v), v = T.generatedColumn, T.source != null && (K = this._sources.indexOf(T.source), k += u.encode(K - N), N = K, k += u.encode(T.originalLine - 1 - L), L = T.originalLine - 1, k += u.encode(T.originalColumn - D), D = T.originalColumn, T.name != null && (q = this._names.indexOf(T.name), k += u.encode(q - I), I = q)), M += k;
29369
+ k += u.encode(T.generatedColumn - v), v = T.generatedColumn, T.source != null && (K = this._sources.indexOf(T.source), k += u.encode(K - N), N = K, k += u.encode(T.originalLine - 1 - R), R = T.originalLine - 1, k += u.encode(T.originalColumn - D), D = T.originalColumn, T.name != null && (q = this._names.indexOf(T.name), k += u.encode(q - I), I = q)), M += k;
29370
29370
  }
29371
29371
  return M;
29372
29372
  }, A.prototype._generateSourcesContent = function(v, s) {
@@ -29374,8 +29374,8 @@ function Gy() {
29374
29374
  if (!this._sourcesContents)
29375
29375
  return null;
29376
29376
  s != null && (D = p.relative(s, D));
29377
- var L = p.toSetString(D);
29378
- return Object.prototype.hasOwnProperty.call(this._sourcesContents, L) ? this._sourcesContents[L] : null;
29377
+ var R = p.toSetString(D);
29378
+ return Object.prototype.hasOwnProperty.call(this._sourcesContents, R) ? this._sourcesContents[R] : null;
29379
29379
  }, this);
29380
29380
  }, A.prototype.toJSON = function() {
29381
29381
  var v = {
@@ -29394,8 +29394,8 @@ function w2() {
29394
29394
  return Ig || (Ig = 1, function(u) {
29395
29395
  u.GREATEST_LOWER_BOUND = 1, u.LEAST_UPPER_BOUND = 2;
29396
29396
  function p(y, x, A, P, v, s) {
29397
- var D = Math.floor((x - y) / 2) + y, L = v(A, P[D], !0);
29398
- return L === 0 ? D : L > 0 ? x - D > 1 ? p(D, x, A, P, v, s) : s == u.LEAST_UPPER_BOUND ? x < P.length ? x : -1 : D : D - y > 1 ? p(y, D, A, P, v, s) : s == u.LEAST_UPPER_BOUND ? D : y < 0 ? -1 : y;
29397
+ var D = Math.floor((x - y) / 2) + y, R = v(A, P[D], !0);
29398
+ return R === 0 ? D : R > 0 ? x - D > 1 ? p(D, x, A, P, v, s) : s == u.LEAST_UPPER_BOUND ? x < P.length ? x : -1 : D : D - y > 1 ? p(y, D, A, P, v, s) : s == u.LEAST_UPPER_BOUND ? D : y < 0 ? -1 : y;
29399
29399
  }
29400
29400
  u.search = function(x, A, P, v) {
29401
29401
  if (A.length === 0)
@@ -29431,8 +29431,8 @@ function S2() {
29431
29431
  if (P < v) {
29432
29432
  var s = p(P, v), D = P - 1;
29433
29433
  u(x, s, v);
29434
- for (var L = x[v], I = P; I < v; I++)
29435
- A(x[I], L) <= 0 && (D += 1, u(x, D, I));
29434
+ for (var R = x[v], I = P; I < v; I++)
29435
+ A(x[I], R) <= 0 && (D += 1, u(x, D, I));
29436
29436
  u(x, D + 1, I);
29437
29437
  var N = D + 1;
29438
29438
  y(x, A, P, N - 1), y(x, A, N + 1, v);
@@ -29447,12 +29447,12 @@ function A2() {
29447
29447
  if (Lg) return Pc;
29448
29448
  Lg = 1;
29449
29449
  var u = Fc(), p = w2(), y = Ky().ArraySet, x = Zy(), A = S2().quickSort;
29450
- function P(L, I) {
29451
- var N = L;
29452
- return typeof L == "string" && (N = u.parseSourceMapInput(L)), N.sections != null ? new D(N, I) : new v(N, I);
29450
+ function P(R, I) {
29451
+ var N = R;
29452
+ return typeof R == "string" && (N = u.parseSourceMapInput(R)), N.sections != null ? new D(N, I) : new v(N, I);
29453
29453
  }
29454
- P.fromSourceMap = function(L, I) {
29455
- return v.fromSourceMap(L, I);
29454
+ P.fromSourceMap = function(R, I) {
29455
+ return v.fromSourceMap(R, I);
29456
29456
  }, P.prototype._version = 3, P.prototype.__generatedMappings = null, Object.defineProperty(P.prototype, "_generatedMappings", {
29457
29457
  configurable: !0,
29458
29458
  enumerable: !0,
@@ -29529,9 +29529,9 @@ function A2() {
29529
29529
  }
29530
29530
  return k;
29531
29531
  }, Pc.SourceMapConsumer = P;
29532
- function v(L, I) {
29533
- var N = L;
29534
- typeof L == "string" && (N = u.parseSourceMapInput(L));
29532
+ function v(R, I) {
29533
+ var N = R;
29534
+ typeof R == "string" && (N = u.parseSourceMapInput(R));
29535
29535
  var M = u.getArg(N, "version"), k = u.getArg(N, "sources"), T = u.getArg(N, "names", []), q = u.getArg(N, "sourceRoot", null), K = u.getArg(N, "sourcesContent", null), ie = u.getArg(N, "mappings"), le = u.getArg(N, "file", null);
29536
29536
  if (M != this._version)
29537
29537
  throw new Error("Unsupported version: " + M);
@@ -29541,13 +29541,13 @@ function A2() {
29541
29541
  return u.computeSourceURL(q, Pe, I);
29542
29542
  }), this.sourceRoot = q, this.sourcesContent = K, this._mappings = ie, this._sourceMapURL = I, this.file = le;
29543
29543
  }
29544
- v.prototype = Object.create(P.prototype), v.prototype.consumer = P, v.prototype._findSourceIndex = function(L) {
29545
- var I = L;
29544
+ v.prototype = Object.create(P.prototype), v.prototype.consumer = P, v.prototype._findSourceIndex = function(R) {
29545
+ var I = R;
29546
29546
  if (this.sourceRoot != null && (I = u.relative(this.sourceRoot, I)), this._sources.has(I))
29547
29547
  return this._sources.indexOf(I);
29548
29548
  var N;
29549
29549
  for (N = 0; N < this._absoluteSources.length; ++N)
29550
- if (this._absoluteSources[N] == L)
29550
+ if (this._absoluteSources[N] == R)
29551
29551
  return N;
29552
29552
  return -1;
29553
29553
  }, v.fromSourceMap = function(I, N) {
@@ -29702,9 +29702,9 @@ function A2() {
29702
29702
  lastColumn: null
29703
29703
  };
29704
29704
  }, Pc.BasicSourceMapConsumer = v;
29705
- function D(L, I) {
29706
- var N = L;
29707
- typeof L == "string" && (N = u.parseSourceMapInput(L));
29705
+ function D(R, I) {
29706
+ var N = R;
29707
+ typeof R == "string" && (N = u.parseSourceMapInput(R));
29708
29708
  var M = u.getArg(N, "version"), k = u.getArg(N, "sections");
29709
29709
  if (M != this._version)
29710
29710
  throw new Error("Unsupported version: " + M);
@@ -29732,10 +29732,10 @@ function A2() {
29732
29732
  }
29733
29733
  return D.prototype = Object.create(P.prototype), D.prototype.constructor = P, D.prototype._version = 3, Object.defineProperty(D.prototype, "sources", {
29734
29734
  get: function() {
29735
- for (var L = [], I = 0; I < this._sections.length; I++)
29735
+ for (var R = [], I = 0; I < this._sections.length; I++)
29736
29736
  for (var N = 0; N < this._sections[I].consumer.sources.length; N++)
29737
- L.push(this._sections[I].consumer.sources[N]);
29738
- return L;
29737
+ R.push(this._sections[I].consumer.sources[N]);
29738
+ return R;
29739
29739
  }
29740
29740
  }), D.prototype.originalPositionFor = function(I) {
29741
29741
  var N = {
@@ -29816,10 +29816,10 @@ function k2() {
29816
29816
  if (Rg) return ud;
29817
29817
  Rg = 1;
29818
29818
  var u = Gy().SourceMapGenerator, p = Fc(), y = /(\r?\n)/, x = 10, A = "$$$isSourceNode$$$";
29819
- function P(v, s, D, L, I) {
29820
- this.children = [], this.sourceContents = {}, this.line = v ?? null, this.column = s ?? null, this.source = D ?? null, this.name = I ?? null, this[A] = !0, L != null && this.add(L);
29819
+ function P(v, s, D, R, I) {
29820
+ this.children = [], this.sourceContents = {}, this.line = v ?? null, this.column = s ?? null, this.source = D ?? null, this.name = I ?? null, this[A] = !0, R != null && this.add(R);
29821
29821
  }
29822
- return P.fromStringWithSourceMap = function(s, D, L) {
29822
+ return P.fromStringWithSourceMap = function(s, D, R) {
29823
29823
  var I = new P(), N = s.split(y), M = 0, k = function() {
29824
29824
  var le = ee(), Pe = ee() || "";
29825
29825
  return le + Pe;
@@ -29845,13 +29845,13 @@ function k2() {
29845
29845
  K = le;
29846
29846
  }, this), M < N.length && (K && ie(K, k()), I.add(N.splice(M).join(""))), D.sources.forEach(function(le) {
29847
29847
  var Pe = D.sourceContentFor(le);
29848
- Pe != null && (L != null && (le = p.join(L, le)), I.setSourceContent(le, Pe));
29848
+ Pe != null && (R != null && (le = p.join(R, le)), I.setSourceContent(le, Pe));
29849
29849
  }), I;
29850
29850
  function ie(le, Pe) {
29851
29851
  if (le === null || le.source === void 0)
29852
29852
  I.add(Pe);
29853
29853
  else {
29854
- var ee = L ? p.join(L, le.source) : le.source;
29854
+ var ee = R ? p.join(R, le.source) : le.source;
29855
29855
  I.add(new P(
29856
29856
  le.originalLine,
29857
29857
  le.originalColumn,
@@ -29885,30 +29885,30 @@ function k2() {
29885
29885
  );
29886
29886
  return this;
29887
29887
  }, P.prototype.walk = function(s) {
29888
- for (var D, L = 0, I = this.children.length; L < I; L++)
29889
- D = this.children[L], D[A] ? D.walk(s) : D !== "" && s(D, {
29888
+ for (var D, R = 0, I = this.children.length; R < I; R++)
29889
+ D = this.children[R], D[A] ? D.walk(s) : D !== "" && s(D, {
29890
29890
  source: this.source,
29891
29891
  line: this.line,
29892
29892
  column: this.column,
29893
29893
  name: this.name
29894
29894
  });
29895
29895
  }, P.prototype.join = function(s) {
29896
- var D, L, I = this.children.length;
29896
+ var D, R, I = this.children.length;
29897
29897
  if (I > 0) {
29898
- for (D = [], L = 0; L < I - 1; L++)
29899
- D.push(this.children[L]), D.push(s);
29900
- D.push(this.children[L]), this.children = D;
29898
+ for (D = [], R = 0; R < I - 1; R++)
29899
+ D.push(this.children[R]), D.push(s);
29900
+ D.push(this.children[R]), this.children = D;
29901
29901
  }
29902
29902
  return this;
29903
29903
  }, P.prototype.replaceRight = function(s, D) {
29904
- var L = this.children[this.children.length - 1];
29905
- return L[A] ? L.replaceRight(s, D) : typeof L == "string" ? this.children[this.children.length - 1] = L.replace(s, D) : this.children.push("".replace(s, D)), this;
29904
+ var R = this.children[this.children.length - 1];
29905
+ return R[A] ? R.replaceRight(s, D) : typeof R == "string" ? this.children[this.children.length - 1] = R.replace(s, D) : this.children.push("".replace(s, D)), this;
29906
29906
  }, P.prototype.setSourceContent = function(s, D) {
29907
29907
  this.sourceContents[p.toSetString(s)] = D;
29908
29908
  }, P.prototype.walkSourceContents = function(s) {
29909
- for (var D = 0, L = this.children.length; D < L; D++)
29909
+ for (var D = 0, R = this.children.length; D < R; D++)
29910
29910
  this.children[D][A] && this.children[D].walkSourceContents(s);
29911
- for (var I = Object.keys(this.sourceContents), D = 0, L = I.length; D < L; D++)
29911
+ for (var I = Object.keys(this.sourceContents), D = 0, R = I.length; D < R; D++)
29912
29912
  s(p.fromSetString(I[D]), this.sourceContents[I[D]]);
29913
29913
  }, P.prototype.toString = function() {
29914
29914
  var s = "";
@@ -29920,9 +29920,9 @@ function k2() {
29920
29920
  code: "",
29921
29921
  line: 1,
29922
29922
  column: 0
29923
- }, L = new u(s), I = !1, N = null, M = null, k = null, T = null;
29923
+ }, R = new u(s), I = !1, N = null, M = null, k = null, T = null;
29924
29924
  return this.walk(function(q, K) {
29925
- D.code += q, K.source !== null && K.line !== null && K.column !== null ? ((N !== K.source || M !== K.line || k !== K.column || T !== K.name) && L.addMapping({
29925
+ D.code += q, K.source !== null && K.line !== null && K.column !== null ? ((N !== K.source || M !== K.line || k !== K.column || T !== K.name) && R.addMapping({
29926
29926
  source: K.source,
29927
29927
  original: {
29928
29928
  line: K.line,
@@ -29933,14 +29933,14 @@ function k2() {
29933
29933
  column: D.column
29934
29934
  },
29935
29935
  name: K.name
29936
- }), N = K.source, M = K.line, k = K.column, T = K.name, I = !0) : I && (L.addMapping({
29936
+ }), N = K.source, M = K.line, k = K.column, T = K.name, I = !0) : I && (R.addMapping({
29937
29937
  generated: {
29938
29938
  line: D.line,
29939
29939
  column: D.column
29940
29940
  }
29941
29941
  }), N = null, I = !1);
29942
29942
  for (var ie = 0, le = q.length; ie < le; ie++)
29943
- q.charCodeAt(ie) === x ? (D.line++, D.column = 0, ie + 1 === le ? (N = null, I = !1) : I && L.addMapping({
29943
+ q.charCodeAt(ie) === x ? (D.line++, D.column = 0, ie + 1 === le ? (N = null, I = !1) : I && R.addMapping({
29944
29944
  source: K.source,
29945
29945
  original: {
29946
29946
  line: K.line,
@@ -29953,8 +29953,8 @@ function k2() {
29953
29953
  name: K.name
29954
29954
  })) : D.column++;
29955
29955
  }), this.walkSourceContents(function(q, K) {
29956
- L.setSourceContent(q, K);
29957
- }), { code: D.code, map: L };
29956
+ R.setSourceContent(q, K);
29957
+ }), { code: D.code, map: R };
29958
29958
  }, ud.SourceNode = P, ud;
29959
29959
  }
29960
29960
  var zg;
@@ -29971,7 +29971,7 @@ function C2() {
29971
29971
  x = A.SourceNode;
29972
29972
  } catch {
29973
29973
  }
29974
- x || (x = function(s, D, L, I) {
29974
+ x || (x = function(s, D, R, I) {
29975
29975
  this.src = "", I && this.add(I);
29976
29976
  }, x.prototype = {
29977
29977
  add: function(D) {
@@ -29987,10 +29987,10 @@ function C2() {
29987
29987
  return this.src;
29988
29988
  }
29989
29989
  });
29990
- function P(s, D, L) {
29990
+ function P(s, D, R) {
29991
29991
  if (y.isArray(s)) {
29992
29992
  for (var I = [], N = 0, M = s.length; N < M; N++)
29993
- I.push(D.wrap(s[N], L));
29993
+ I.push(D.wrap(s[N], R));
29994
29994
  return I;
29995
29995
  } else if (typeof s == "boolean" || typeof s == "number")
29996
29996
  return s + "";
@@ -30003,54 +30003,54 @@ function C2() {
30003
30003
  isEmpty: function() {
30004
30004
  return !this.source.length;
30005
30005
  },
30006
- prepend: function(D, L) {
30007
- this.source.unshift(this.wrap(D, L));
30006
+ prepend: function(D, R) {
30007
+ this.source.unshift(this.wrap(D, R));
30008
30008
  },
30009
- push: function(D, L) {
30010
- this.source.push(this.wrap(D, L));
30009
+ push: function(D, R) {
30010
+ this.source.push(this.wrap(D, R));
30011
30011
  },
30012
30012
  merge: function() {
30013
30013
  var D = this.empty();
30014
- return this.each(function(L) {
30015
- D.add([" ", L, `
30014
+ return this.each(function(R) {
30015
+ D.add([" ", R, `
30016
30016
  `]);
30017
30017
  }), D;
30018
30018
  },
30019
30019
  each: function(D) {
30020
- for (var L = 0, I = this.source.length; L < I; L++)
30021
- D(this.source[L]);
30020
+ for (var R = 0, I = this.source.length; R < I; R++)
30021
+ D(this.source[R]);
30022
30022
  },
30023
30023
  empty: function() {
30024
30024
  var D = this.currentLocation || { start: {} };
30025
30025
  return new x(D.start.line, D.start.column, this.srcFile);
30026
30026
  },
30027
30027
  wrap: function(D) {
30028
- var L = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
30029
- return D instanceof x ? D : (D = P(D, this, L), new x(L.start.line, L.start.column, this.srcFile, D));
30028
+ var R = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
30029
+ return D instanceof x ? D : (D = P(D, this, R), new x(R.start.line, R.start.column, this.srcFile, D));
30030
30030
  },
30031
- functionCall: function(D, L, I) {
30032
- return I = this.generateList(I), this.wrap([D, L ? "." + L + "(" : "(", I, ")"]);
30031
+ functionCall: function(D, R, I) {
30032
+ return I = this.generateList(I), this.wrap([D, R ? "." + R + "(" : "(", I, ")"]);
30033
30033
  },
30034
30034
  quotedString: function(D) {
30035
30035
  return '"' + (D + "").replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + '"';
30036
30036
  },
30037
30037
  objectLiteral: function(D) {
30038
- var L = this, I = [];
30038
+ var R = this, I = [];
30039
30039
  Object.keys(D).forEach(function(M) {
30040
- var k = P(D[M], L);
30041
- k !== "undefined" && I.push([L.quotedString(M), ":", k]);
30040
+ var k = P(D[M], R);
30041
+ k !== "undefined" && I.push([R.quotedString(M), ":", k]);
30042
30042
  });
30043
30043
  var N = this.generateList(I);
30044
30044
  return N.prepend("{"), N.add("}"), N;
30045
30045
  },
30046
30046
  generateList: function(D) {
30047
- for (var L = this.empty(), I = 0, N = D.length; I < N; I++)
30048
- I && L.add(","), L.add(P(D[I], this));
30049
- return L;
30047
+ for (var R = this.empty(), I = 0, N = D.length; I < N; I++)
30048
+ I && R.add(","), R.add(P(D[I], this));
30049
+ return R;
30050
30050
  },
30051
30051
  generateArray: function(D) {
30052
- var L = this.generateList(D);
30053
- return L.prepend("["), L.add("]"), L;
30052
+ var R = this.generateList(D);
30053
+ return R.prepend("["), R.add("]"), R;
30054
30054
  }
30055
30055
  }, p.default = v, u.exports = p.default;
30056
30056
  }(fh, fh.exports)), fh.exports;
@@ -30063,7 +30063,7 @@ function P2() {
30063
30063
  return M && M.__esModule ? M : { default: M };
30064
30064
  }
30065
30065
  var x = qd(), A = ss(), P = y(A), v = _n(), s = C2(), D = y(s);
30066
- function L(M) {
30066
+ function R(M) {
30067
30067
  this.value = M;
30068
30068
  }
30069
30069
  function I() {
@@ -30459,10 +30459,10 @@ function P2() {
30459
30459
  this.registers[k] || (this.registers[k] = !0, this.registers.list.push(k));
30460
30460
  },
30461
30461
  push: function(k) {
30462
- return k instanceof L || (k = this.source.wrap(k)), this.inlineStack.push(k), k;
30462
+ return k instanceof R || (k = this.source.wrap(k)), this.inlineStack.push(k), k;
30463
30463
  },
30464
30464
  pushStackLiteral: function(k) {
30465
- this.push(new L(k));
30465
+ this.push(new R(k));
30466
30466
  },
30467
30467
  pushSource: function(k) {
30468
30468
  this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0), k && this.source.push(k);
@@ -30472,7 +30472,7 @@ function P2() {
30472
30472
  if (!this.isInline())
30473
30473
  throw new P.default("replaceStack on non-inline");
30474
30474
  var le = this.popStack(!0);
30475
- if (le instanceof L)
30475
+ if (le instanceof R)
30476
30476
  q = [le.value], T = ["(", q], ie = !0;
30477
30477
  else {
30478
30478
  K = !0;
@@ -30493,7 +30493,7 @@ function P2() {
30493
30493
  this.inlineStack = [];
30494
30494
  for (var T = 0, q = k.length; T < q; T++) {
30495
30495
  var K = k[T];
30496
- if (K instanceof L)
30496
+ if (K instanceof R)
30497
30497
  this.compileStack.push(K);
30498
30498
  else {
30499
30499
  var ie = this.incrStack();
@@ -30506,7 +30506,7 @@ function P2() {
30506
30506
  },
30507
30507
  popStack: function(k) {
30508
30508
  var T = this.isInline(), q = (T ? this.inlineStack : this.compileStack).pop();
30509
- if (!k && q instanceof L)
30509
+ if (!k && q instanceof R)
30510
30510
  return q.value;
30511
30511
  if (!T) {
30512
30512
  if (!this.stackSlot)
@@ -30517,7 +30517,7 @@ function P2() {
30517
30517
  },
30518
30518
  topStack: function() {
30519
30519
  var k = this.isInline() ? this.inlineStack : this.compileStack, T = k[k.length - 1];
30520
- return T instanceof L ? T.value : T;
30520
+ return T instanceof R ? T.value : T;
30521
30521
  },
30522
30522
  contextName: function(k) {
30523
30523
  return this.useDepths && k ? "depths[" + k + "]" : "depth" + k;
@@ -30576,7 +30576,7 @@ function E2() {
30576
30576
  function y(le) {
30577
30577
  return le && le.__esModule ? le : { default: le };
30578
30578
  }
30579
- var x = f2(), A = y(x), P = Hy(), v = y(P), s = _2(), D = v2(), L = P2(), I = y(L), N = Wy(), M = y(N), k = jy(), T = y(k), q = A.default.create;
30579
+ var x = f2(), A = y(x), P = Hy(), v = y(P), s = _2(), D = v2(), R = P2(), I = y(R), N = Wy(), M = y(N), k = jy(), T = y(k), q = A.default.create;
30580
30580
  function K() {
30581
30581
  var le = q();
30582
30582
  return le.compile = function(Pe, ee) {
@@ -30601,8 +30601,8 @@ function Fg(u, p, y, x) {
30601
30601
  if (u > s && p > s)
30602
30602
  P = s - x, v = s - x;
30603
30603
  else {
30604
- const D = Math.min(u, p), L = y - D;
30605
- u > p ? (P = Math.max(L, 100) - x, v = D) : (P = D, v = Math.max(L, 100) - x);
30604
+ const D = Math.min(u, p), R = y - D;
30605
+ u > p ? (P = Math.max(R, 100) - x, v = D) : (P = D, v = Math.max(R, 100) - x);
30606
30606
  }
30607
30607
  }
30608
30608
  return { topMaxHeight: P, bottomMaxHeight: v };
@@ -30622,7 +30622,7 @@ function Vg(u, p, y) {
30622
30622
  }
30623
30623
  function qg(u, p) {
30624
30624
  var Pe, ee, me, ze, Ne, nt, Tt;
30625
- const x = p - 80, A = ((Pe = u.topLeft) == null ? void 0 : Pe.scrollHeight) || 0, P = ((ee = u.bottomLeft) == null ? void 0 : ee.scrollHeight) || 0, { topMaxHeight: v, bottomMaxHeight: s } = Fg(A, P, x, 40), D = ((me = u.topRight) == null ? void 0 : me.scrollHeight) || 0, L = ((ze = u.bottomRight) == null ? void 0 : ze.scrollHeight) || 0, { topMaxHeight: I, bottomMaxHeight: N } = Fg(D, L, x, 40), M = ((Ne = u.center) == null ? void 0 : Ne.scrollHeight) || 0, k = M2(M, p, 40), T = ((nt = u.topCenter) == null ? void 0 : nt.scrollHeight) || 0, q = Vg(T, p, 40), K = ((Tt = u.bottomCenter) == null ? void 0 : Tt.scrollHeight) || 0, ie = Vg(
30625
+ const x = p - 80, A = ((Pe = u.topLeft) == null ? void 0 : Pe.scrollHeight) || 0, P = ((ee = u.bottomLeft) == null ? void 0 : ee.scrollHeight) || 0, { topMaxHeight: v, bottomMaxHeight: s } = Fg(A, P, x, 40), D = ((me = u.topRight) == null ? void 0 : me.scrollHeight) || 0, R = ((ze = u.bottomRight) == null ? void 0 : ze.scrollHeight) || 0, { topMaxHeight: I, bottomMaxHeight: N } = Fg(D, R, x, 40), M = ((Ne = u.center) == null ? void 0 : Ne.scrollHeight) || 0, k = M2(M, p, 40), T = ((nt = u.topCenter) == null ? void 0 : nt.scrollHeight) || 0, q = Vg(T, p, 40), K = ((Tt = u.bottomCenter) == null ? void 0 : Tt.scrollHeight) || 0, ie = Vg(
30626
30626
  K,
30627
30627
  p,
30628
30628
  40
@@ -30740,23 +30740,23 @@ const O2 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
30740
30740
  },
30741
30741
  setup(u) {
30742
30742
  const p = u, y = pr(0), x = pr(null), A = Tr(() => {
30743
- var L;
30744
- return ((L = p.config) == null ? void 0 : L.filters) || [];
30745
- }), P = Tr(() => A.value.map((L) => ({
30746
- ...L,
30747
- id: L.name
30743
+ var R;
30744
+ return ((R = p.config) == null ? void 0 : R.filters) || [];
30745
+ }), P = Tr(() => A.value.map((R) => ({
30746
+ ...R,
30747
+ id: R.name
30748
30748
  }))), v = Tr(() => {
30749
30749
  var I;
30750
- const L = (I = p.config) == null ? void 0 : I.conditions;
30751
- return !L || !L.layers ? !0 : p.enabledLayerIds.some((N) => L.layers.includes(N));
30750
+ const R = (I = p.config) == null ? void 0 : I.conditions;
30751
+ return !R || !R.layers ? !0 : p.enabledLayerIds.some((N) => R.layers.includes(N));
30752
30752
  }), s = Tr(() => {
30753
- var L;
30753
+ var R;
30754
30754
  if (p.enabledLayerIds && p.enabledLayerIds.length) {
30755
- const N = (((L = p.config) == null ? void 0 : L.layers) || []).find((M) => M.id === p.enabledLayerIds[0]);
30755
+ const N = (((R = p.config) == null ? void 0 : R.layers) || []).find((M) => M.id === p.enabledLayerIds[0]);
30756
30756
  return (N == null ? void 0 : N.title) || (N == null ? void 0 : N.name) || (N == null ? void 0 : N.label) || p.enabledLayerIds[0];
30757
30757
  }
30758
30758
  return "";
30759
- }), D = async ({ url: L }) => {
30759
+ }), D = async ({ url: R }) => {
30760
30760
  var k, T;
30761
30761
  const I = (k = p.config) == null ? void 0 : k.conditions;
30762
30762
  if (!I) {
@@ -30764,7 +30764,7 @@ const O2 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
30764
30764
  if (!q) return;
30765
30765
  const K = p.map.getSource(q);
30766
30766
  if (K) {
30767
- const le = K.tiles[0].split("?filter=")[0], Pe = L ? `${le}?filter=${L}` : le;
30767
+ const le = K.tiles[0].split("?filter=")[0], Pe = R ? `${le}?filter=${R}` : le;
30768
30768
  K.setTiles([Pe]);
30769
30769
  }
30770
30770
  return;
@@ -30773,26 +30773,26 @@ const O2 = { class: "w-full flex flex-col bg-white border border-stone-200 shado
30773
30773
  M.length && M.forEach((q) => {
30774
30774
  const K = p.map.getSource(q);
30775
30775
  if (K) {
30776
- const le = K.tiles[0].split("?filter=")[0], Pe = L ? `${le}?filter=${L}` : le;
30776
+ const le = K.tiles[0].split("?filter=")[0], Pe = R ? `${le}?filter=${R}` : le;
30777
30777
  K.setTiles([Pe]);
30778
30778
  }
30779
30779
  });
30780
30780
  };
30781
30781
  return Ws(
30782
30782
  () => p.enabledLayerIds,
30783
- (L) => {
30784
- (!L || !L.length) && x.value && (x.value.activeFilters = {}, y.value = 0);
30783
+ (R) => {
30784
+ (!R || !R.length) && x.value && (x.value.activeFilters = {}, y.value = 0);
30785
30785
  }
30786
30786
  ), Ws(
30787
30787
  () => {
30788
- var L;
30789
- return (L = x.value) == null ? void 0 : L.activeFilters;
30788
+ var R;
30789
+ return (R = x.value) == null ? void 0 : R.activeFilters;
30790
30790
  },
30791
- (L) => {
30792
- y.value = Object.keys(L || {}).length;
30791
+ (R) => {
30792
+ y.value = Object.keys(R || {}).length;
30793
30793
  },
30794
30794
  { deep: !0 }
30795
- ), (L, I) => {
30795
+ ), (R, I) => {
30796
30796
  const N = dr("VsPopover"), M = dr("VsFilterList");
30797
30797
  return v.value && P.value.length ? (Be(), ni(M, {
30798
30798
  key: 0,
@@ -30930,7 +30930,7 @@ function nS(u, p, y, x, A, P) {
30930
30930
  (Be(!0), Ke(ar, null, $r(A.items, (D) => (Be(), Ke("div", {
30931
30931
  key: D.id,
30932
30932
  class: "py-4 border-b last:border-b-0 hover:bg-gray-50",
30933
- onClick: (L) => u.$emit("cardValuesId", D.id)
30933
+ onClick: (R) => u.$emit("cardValuesId", D.id)
30934
30934
  }, [
30935
30935
  re("h3", Y2, Et(D.name), 1),
30936
30936
  re("div", $2, [
@@ -31433,7 +31433,7 @@ const FS = /* @__PURE__ */ Sr(ES, [["render", OS]]), { Marker: VS } = fd, qS = {
31433
31433
  class: "max-w-[412px] absolute w-full top-[20px] right-[70px] bg-white border rounded-[15px] p-4 z-10"
31434
31434
  }, NS = { class: "flex justify-between items-center border-b pb-[16px]" }, jS = { class: "d-flex" }, HS = { class: "pt-[16px]" };
31435
31435
  function WS(u, p, y, x, A, P) {
31436
- var L, I, N, M, k, T;
31436
+ var R, I, N, M, k, T;
31437
31437
  const v = dr("closeIcon"), s = dr("geoIcon"), D = dr("VsPopover");
31438
31438
  return Be(), Ke("div", null, [
31439
31439
  (Be(), ni(Cd, { to: "#maplibre-demo-map" }, [
@@ -31447,7 +31447,7 @@ function WS(u, p, y, x, A, P) {
31447
31447
  re("div", HS, [
31448
31448
  re("div", null, [
31449
31449
  p[1] || (p[1] = re("strong", null, "Широта:", -1)),
31450
- si(" " + Et((L = A.location) == null ? void 0 : L.latitude), 1)
31450
+ si(" " + Et((R = A.location) == null ? void 0 : R.latitude), 1)
31451
31451
  ]),
31452
31452
  re("div", null, [
31453
31453
  p[2] || (p[2] = re("strong", null, "Довгота:", -1)),
@@ -31494,14 +31494,14 @@ function WS(u, p, y, x, A, P) {
31494
31494
  const ZS = /* @__PURE__ */ Sr(qS, [["render", WS]]);
31495
31495
  var Ug = 63710088e-1;
31496
31496
  function KS(u, p) {
31497
- var y, x, A, P, v, s, D, L, I, N, M = 0, k = u.type === "FeatureCollection", T = u.type === "Feature", q = k ? u.features.length : 1;
31497
+ var y, x, A, P, v, s, D, R, I, N, M = 0, k = u.type === "FeatureCollection", T = u.type === "Feature", q = k ? u.features.length : 1;
31498
31498
  for (y = 0; y < q; y++) {
31499
- for (s = k ? u.features[y].geometry : T ? u.geometry : u, L = k ? u.features[y].properties : T ? u.properties : {}, I = k ? u.features[y].bbox : T ? u.bbox : void 0, N = k ? u.features[y].id : T ? u.id : void 0, D = s ? s.type === "GeometryCollection" : !1, v = D ? s.geometries.length : 1, A = 0; A < v; A++) {
31499
+ for (s = k ? u.features[y].geometry : T ? u.geometry : u, R = k ? u.features[y].properties : T ? u.properties : {}, I = k ? u.features[y].bbox : T ? u.bbox : void 0, N = k ? u.features[y].id : T ? u.id : void 0, D = s ? s.type === "GeometryCollection" : !1, v = D ? s.geometries.length : 1, A = 0; A < v; A++) {
31500
31500
  if (P = D ? s.geometries[A] : s, P === null) {
31501
31501
  if (p(
31502
31502
  null,
31503
31503
  M,
31504
- L,
31504
+ R,
31505
31505
  I,
31506
31506
  N
31507
31507
  ) === !1)
@@ -31518,7 +31518,7 @@ function KS(u, p) {
31518
31518
  if (p(
31519
31519
  P,
31520
31520
  M,
31521
- L,
31521
+ R,
31522
31522
  I,
31523
31523
  N
31524
31524
  ) === !1)
@@ -31530,7 +31530,7 @@ function KS(u, p) {
31530
31530
  if (p(
31531
31531
  P.geometries[x],
31532
31532
  M,
31533
- L,
31533
+ R,
31534
31534
  I,
31535
31535
  N
31536
31536
  ) === !1)
@@ -31599,8 +31599,8 @@ function jg(u) {
31599
31599
  if (p <= 2) return 0;
31600
31600
  let y = 0, x = 0;
31601
31601
  for (; x < p; ) {
31602
- const A = u[x], P = u[x + 1 === p ? 0 : x + 1], v = u[x + 2 >= p ? (x + 2) % p : x + 2], s = A[0] * hd, D = P[1] * hd, L = v[0] * hd;
31603
- y += (L - s) * Math.sin(D), x++;
31602
+ const A = u[x], P = u[x + 1 === p ? 0 : x + 1], v = u[x + 2 >= p ? (x + 2) % p : x + 2], s = A[0] * hd, D = P[1] * hd, R = v[0] * hd;
31603
+ y += (R - s) * Math.sin(D), x++;
31604
31604
  }
31605
31605
  return y * QS;
31606
31606
  }
@@ -31677,19 +31677,19 @@ function Hg(u) {
31677
31677
  throw new Error("coord must be GeoJSON Point or an Array of numbers");
31678
31678
  }
31679
31679
  function Ad(u, p, y = {}) {
31680
- var x = Hg(u), A = Hg(p), P = vh(A[1] - x[1]), v = vh(A[0] - x[0]), s = vh(x[1]), D = vh(A[1]), L = Math.pow(Math.sin(P / 2), 2) + Math.pow(Math.sin(v / 2), 2) * Math.cos(s) * Math.cos(D);
31680
+ var x = Hg(u), A = Hg(p), P = vh(A[1] - x[1]), v = vh(A[0] - x[0]), s = vh(x[1]), D = vh(A[1]), R = Math.pow(Math.sin(P / 2), 2) + Math.pow(Math.sin(v / 2), 2) * Math.cos(s) * Math.cos(D);
31681
31681
  return $S(
31682
- 2 * Math.atan2(Math.sqrt(L), Math.sqrt(1 - L)),
31682
+ 2 * Math.atan2(Math.sqrt(R), Math.sqrt(1 - R)),
31683
31683
  y.units
31684
31684
  );
31685
31685
  }
31686
31686
  function Xy(u, p, y) {
31687
31687
  if (u !== null)
31688
- for (var x, A, P, v, s, D, L, I = 0, N = 0, M, k = u.type, T = k === "FeatureCollection", q = k === "Feature", K = T ? u.features.length : 1, ie = 0; ie < K; ie++) {
31689
- L = T ? u.features[ie].geometry : q ? u.geometry : u, M = L ? L.type === "GeometryCollection" : !1, s = M ? L.geometries.length : 1;
31688
+ for (var x, A, P, v, s, D, R, I = 0, N = 0, M, k = u.type, T = k === "FeatureCollection", q = k === "Feature", K = T ? u.features.length : 1, ie = 0; ie < K; ie++) {
31689
+ R = T ? u.features[ie].geometry : q ? u.geometry : u, M = R ? R.type === "GeometryCollection" : !1, s = M ? R.geometries.length : 1;
31690
31690
  for (var le = 0; le < s; le++) {
31691
31691
  var Pe = 0, ee = 0;
31692
- if (v = M ? L.geometries[le] : L, v !== null) {
31692
+ if (v = M ? R.geometries[le] : R, v !== null) {
31693
31693
  D = v.coordinates;
31694
31694
  var me = v.type;
31695
31695
  switch (I = 0, me) {
@@ -31771,14 +31771,14 @@ function Xy(u, p, y) {
31771
31771
  }
31772
31772
  }
31773
31773
  function eA(u, p) {
31774
- var y, x, A, P, v, s, D, L, I, N, M = 0, k = u.type === "FeatureCollection", T = u.type === "Feature", q = k ? u.features.length : 1;
31774
+ var y, x, A, P, v, s, D, R, I, N, M = 0, k = u.type === "FeatureCollection", T = u.type === "Feature", q = k ? u.features.length : 1;
31775
31775
  for (y = 0; y < q; y++) {
31776
- for (s = k ? u.features[y].geometry : T ? u.geometry : u, L = k ? u.features[y].properties : T ? u.properties : {}, I = k ? u.features[y].bbox : T ? u.bbox : void 0, N = k ? u.features[y].id : T ? u.id : void 0, D = s ? s.type === "GeometryCollection" : !1, v = D ? s.geometries.length : 1, A = 0; A < v; A++) {
31776
+ for (s = k ? u.features[y].geometry : T ? u.geometry : u, R = k ? u.features[y].properties : T ? u.properties : {}, I = k ? u.features[y].bbox : T ? u.bbox : void 0, N = k ? u.features[y].id : T ? u.id : void 0, D = s ? s.type === "GeometryCollection" : !1, v = D ? s.geometries.length : 1, A = 0; A < v; A++) {
31777
31777
  if (P = D ? s.geometries[A] : s, P === null) {
31778
31778
  if (p(
31779
31779
  null,
31780
31780
  M,
31781
- L,
31781
+ R,
31782
31782
  I,
31783
31783
  N
31784
31784
  ) === !1)
@@ -31795,7 +31795,7 @@ function eA(u, p) {
31795
31795
  if (p(
31796
31796
  P,
31797
31797
  M,
31798
- L,
31798
+ R,
31799
31799
  I,
31800
31800
  N
31801
31801
  ) === !1)
@@ -31807,7 +31807,7 @@ function eA(u, p) {
31807
31807
  if (p(
31808
31808
  P.geometries[x],
31809
31809
  M,
31810
- L,
31810
+ R,
31811
31811
  I,
31812
31812
  N
31813
31813
  ) === !1)
@@ -31847,12 +31847,12 @@ function tA(u, p) {
31847
31847
  D = "Polygon";
31848
31848
  break;
31849
31849
  }
31850
- for (var L = 0; L < y.coordinates.length; L++) {
31851
- var I = y.coordinates[L], N = {
31850
+ for (var R = 0; R < y.coordinates.length; R++) {
31851
+ var I = y.coordinates[R], N = {
31852
31852
  type: D,
31853
31853
  coordinates: I
31854
31854
  };
31855
- if (p(Ih(N, A), x, L) === !1)
31855
+ if (p(Ih(N, A), x, R) === !1)
31856
31856
  return !1;
31857
31857
  }
31858
31858
  });
@@ -31863,12 +31863,12 @@ function rA(u, p) {
31863
31863
  if (y.geometry) {
31864
31864
  var v = y.geometry.type;
31865
31865
  if (!(v === "Point" || v === "MultiPoint")) {
31866
- var s, D = 0, L = 0, I = 0;
31866
+ var s, D = 0, R = 0, I = 0;
31867
31867
  if (Xy(
31868
31868
  y,
31869
31869
  function(N, M, k, T, q) {
31870
- if (s === void 0 || x > D || T > L || q > I) {
31871
- s = N, D = x, L = T, I = q, P = 0;
31870
+ if (s === void 0 || x > D || T > R || q > I) {
31871
+ s = N, D = x, R = T, I = q, P = 0;
31872
31872
  return;
31873
31873
  }
31874
31874
  var K = Mh(
@@ -31895,14 +31895,14 @@ function iA(u, p, y) {
31895
31895
  var x = y, A = !1;
31896
31896
  return rA(
31897
31897
  u,
31898
- function(P, v, s, D, L) {
31898
+ function(P, v, s, D, R) {
31899
31899
  A === !1 && y === void 0 ? x = P : x = p(
31900
31900
  x,
31901
31901
  P,
31902
31902
  v,
31903
31903
  s,
31904
31904
  D,
31905
- L
31905
+ R
31906
31906
  ), A = !0;
31907
31907
  }
31908
31908
  ), x;
@@ -32033,8 +32033,8 @@ const dA = /* @__PURE__ */ Sr(sA, [["render", pA]]), fA = {
32033
32033
  },
32034
32034
  async setPoints() {
32035
32035
  const u = this.points.filter((A) => A == null ? void 0 : A.geometry), p = u.map((A, P) => {
32036
- var D, L;
32037
- const v = Ad(u[P ? P - 1 : 0], A), s = this.distanceType ? v : v + +((L = (D = u[P - 1]) == null ? void 0 : D.properties) == null ? void 0 : L.distance) || 0;
32036
+ var D, R;
32037
+ const v = Ad(u[P ? P - 1 : 0], A), s = this.distanceType ? v : v + +((R = (D = u[P - 1]) == null ? void 0 : D.properties) == null ? void 0 : R.distance) || 0;
32038
32038
  return A.properties.distance = s, A.properties.title = `${s.toLocaleString()}км`, A;
32039
32039
  }), y = await Mc(p);
32040
32040
  if (p.length > 2) {
@@ -32225,7 +32225,7 @@ const dA = /* @__PURE__ */ Sr(sA, [["render", pA]]), fA = {
32225
32225
  ref: "distanceContainer"
32226
32226
  };
32227
32227
  function bA(u, p, y, x, A, P) {
32228
- const v = dr("closeIcon"), s = dr("VsPopover"), D = dr("VsSwitch"), L = dr("rulerIcon");
32228
+ const v = dr("closeIcon"), s = dr("VsPopover"), D = dr("VsSwitch"), R = dr("rulerIcon");
32229
32229
  return Be(), Ke("div", null, [
32230
32230
  (Be(), ni(Cd, { to: "#maplibre-demo-map" }, [
32231
32231
  A.modalVisible && y.activeTool === "length" ? (Be(), Ke("div", mA, [
@@ -32284,7 +32284,7 @@ function bA(u, p, y, x, A, P) {
32284
32284
  class: "flex"
32285
32285
  }, {
32286
32286
  reference: _r(() => [
32287
- Er(L, {
32287
+ Er(R, {
32288
32288
  class: nn([P.buttonClasses, "w-full h-auto p-[9px] [transition:.3s] hover:[transition:.3s] text-[24px] hover:bg-[#DBEAFE] flex font-normal cursor-pointer text-[#1E40AF] bg-[#fff] rounded-[4px] border-[1px] border-solid border-[#E5E7EB]"]),
32289
32289
  onClick: P.toggleMeasure
32290
32290
  }, null, 8, ["class", "onClick"])
@@ -32585,7 +32585,7 @@ function BA(u, p, y, x, A, P) {
32585
32585
  re("button", {
32586
32586
  type: "button",
32587
32587
  class: "size-8 inline-flex justify-center items-center gap-x-2 rounded-full border border-transparent bg-gray-100 text-gray-800 hover:bg-gray-200 focus:outline-none focus:bg-gray-200 disabled:opacity-50 disabled:pointer-events-none dark:bg-neutral-700 dark:hover:bg-neutral-600 dark:text-neutral-400 dark:focus:bg-neutral-600",
32588
- onClick: p[0] || (p[0] = (...L) => P.toggleMeasure && P.toggleMeasure(...L))
32588
+ onClick: p[0] || (p[0] = (...R) => P.toggleMeasure && P.toggleMeasure(...R))
32589
32589
  }, [
32590
32590
  Er(v, { class: "cursor-pointer" })
32591
32591
  ])
@@ -32660,29 +32660,28 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32660
32660
  ],
32661
32661
  setup(u, { expose: p, emit: y }) {
32662
32662
  const x = y, A = u, P = pr(
32663
- A.widgets.map((L) => {
32663
+ A.widgets.map((R) => {
32664
32664
  var I;
32665
32665
  return {
32666
- ...L,
32667
- config: { ...L.config, visible: ((I = L.config) == null ? void 0 : I.visible) !== !1 }
32666
+ ...R,
32667
+ config: { ...R.config, visible: ((I = R.config) == null ? void 0 : I.visible) !== !1 }
32668
32668
  };
32669
32669
  })
32670
32670
  );
32671
32671
  Ws(
32672
- () => A.widgets.map((L) => L.id || L.type).join(","),
32672
+ () => A.widgets.map((R) => R.id || R.type).join(","),
32673
32673
  () => {
32674
- P.value = A.widgets.map((L) => {
32674
+ P.value = A.widgets.map((R) => {
32675
32675
  var I;
32676
32676
  return {
32677
- ...L,
32678
- config: { ...L.config, visible: ((I = L.config) == null ? void 0 : I.visible) !== !1 }
32677
+ ...R,
32678
+ config: { ...R.config, visible: ((I = R.config) == null ? void 0 : I.visible) !== !1 }
32679
32679
  };
32680
32680
  });
32681
32681
  }
32682
32682
  );
32683
- function v(L) {
32684
- console.log(L);
32685
- const I = P.value.find((N) => N.type === L);
32683
+ function v(R) {
32684
+ const I = P.value.find((N) => N.id === R);
32686
32685
  I && I.config && (I.config.visible = !I.config.visible, setTimeout(() => {
32687
32686
  x("content-resize");
32688
32687
  }, 30));
@@ -32692,8 +32691,8 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32692
32691
  let D = null;
32693
32692
  return _l(() => {
32694
32693
  D = new MutationObserver(() => {
32695
- var L;
32696
- clearTimeout((L = s.value) == null ? void 0 : L._resizeTimeout), s.value._resizeTimeout = setTimeout(() => {
32694
+ var R;
32695
+ clearTimeout((R = s.value) == null ? void 0 : R._resizeTimeout), s.value._resizeTimeout = setTimeout(() => {
32697
32696
  x("content-resize");
32698
32697
  }, 30);
32699
32698
  }), s.value && D.observe(s.value, {
@@ -32703,7 +32702,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32703
32702
  });
32704
32703
  }), Kg(() => {
32705
32704
  D && D.disconnect();
32706
- }), (L, I) => u.mapLoaded ? (Be(), Ke("div", {
32705
+ }), (R, I) => u.mapLoaded ? (Be(), Ke("div", {
32707
32706
  key: 0,
32708
32707
  class: nn(["widget-column", [Vv(Xg)(u.position)]]),
32709
32708
  ref_key: "columnRef",
@@ -32727,10 +32726,10 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32727
32726
  currentLayer: u.currentFilterLayer,
32728
32727
  enabledLayerIds: u.enabledLayerIds,
32729
32728
  history: u.history,
32730
- onSetFilterLayer: I[0] || (I[0] = (k) => L.$emit("set-filter-layer", k)),
32731
- "onUpdate:enabledLayerIds": I[1] || (I[1] = (k) => L.$emit("update:enabledLayerIds", k)),
32732
- onCardValuesId: I[2] || (I[2] = (k) => L.$emit("cardValuesId", k)),
32733
- onContentResize: I[3] || (I[3] = (k) => L.$emit("content-resize")),
32729
+ onSetFilterLayer: I[0] || (I[0] = (k) => R.$emit("set-filter-layer", k)),
32730
+ "onUpdate:enabledLayerIds": I[1] || (I[1] = (k) => R.$emit("update:enabledLayerIds", k)),
32731
+ onCardValuesId: I[2] || (I[2] = (k) => R.$emit("cardValuesId", k)),
32732
+ onContentResize: I[3] || (I[3] = (k) => R.$emit("content-resize")),
32734
32733
  onShowWidget: v,
32735
32734
  class: "widget"
32736
32735
  }, null, 40, ["map", "config", "hasFilters", "currentLayer", "enabledLayerIds", "history"])), [
@@ -32741,14 +32740,14 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32741
32740
  config: N.config,
32742
32741
  cardValues: u.cardValues,
32743
32742
  class: "widget",
32744
- onClose: I[4] || (I[4] = (k) => L.$emit("closeCard")),
32745
- onContentResize: I[5] || (I[5] = (k) => L.$emit("content-resize"))
32743
+ onClose: I[4] || (I[4] = (k) => R.$emit("closeCard")),
32744
+ onContentResize: I[5] || (I[5] = (k) => R.$emit("content-resize"))
32746
32745
  }, null, 8, ["config", "cardValues"])) : Qt("", !0)
32747
32746
  ], 64);
32748
32747
  }), 128))
32749
32748
  ], 6)) : Qt("", !0);
32750
32749
  }
32751
- }, VA = /* @__PURE__ */ Sr(FA, [["__scopeId", "data-v-dbd93f52"]]), qA = { class: "map-widgets" }, UA = { class: "absolute top-[180px] right-2 z-10 flex flex-col gap-[5px]" }, NA = {
32750
+ }, VA = /* @__PURE__ */ Sr(FA, [["__scopeId", "data-v-3be78334"]]), qA = { class: "map-widgets" }, UA = { class: "absolute top-[180px] right-2 z-10 flex flex-col gap-[5px]" }, NA = {
32752
32751
  __name: "vs-map",
32753
32752
  props: {
32754
32753
  config: {
@@ -32759,7 +32758,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
32759
32758
  setup(u) {
32760
32759
  const p = u, y = pr(null), x = pr(!1);
32761
32760
  let A = null;
32762
- const P = pr(null), v = pr(null), s = pr([]), D = pr([]), L = pr(null), I = pr(null), N = [
32761
+ const P = pr(null), v = pr(null), s = pr([]), D = pr([]), R = pr(null), I = pr(null), N = [
32763
32762
  "top-left",
32764
32763
  "top-right",
32765
32764
  "top-center",
@@ -33096,7 +33095,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33096
33095
  (Ae) => Ae.type === "attribute"
33097
33096
  );
33098
33097
  let Rt = (wr == null ? void 0 : wr.config.layer) || ($t == null ? void 0 : $t.config.layers.find((Ae) => Ae.id === Nt.layer.source));
33099
- L.value = {
33098
+ R.value = {
33100
33099
  layer: (Rt == null ? void 0 : Rt.service_key) || "",
33101
33100
  map: (Rt == null ? void 0 : Rt.map_key) || "",
33102
33101
  id: Nt.properties.id,
@@ -33114,7 +33113,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33114
33113
  (br) => br.visible !== !1 && ["tms", "wms", "raster"].includes(
33115
33114
  (br.service_type || br.service || "").toLowerCase()
33116
33115
  )
33117
- )), L.value = {
33116
+ )), R.value = {
33118
33117
  layer: (Nt == null ? void 0 : Nt.map_key) || "",
33119
33118
  map: (Nt == null ? void 0 : Nt.service_key) || "",
33120
33119
  id: "",
@@ -33141,7 +33140,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33141
33140
  y.value && Hr(y.value, _t.source, _t.id, {
33142
33141
  selected: !1
33143
33142
  });
33144
- }), s.value = [], L.value = null;
33143
+ }), s.value = [], R.value = null;
33145
33144
  };
33146
33145
  _l(async () => {
33147
33146
  await gl(), er(), me(), window.addEventListener("resize", () => {
@@ -33259,7 +33258,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33259
33258
  const { map_key: wt, service_key: ht } = p.config.widgets.find(
33260
33259
  (Vt) => Vt.type === "list"
33261
33260
  ).config;
33262
- wt && ht && (L.value = {
33261
+ wt && ht && (R.value = {
33263
33262
  id: _t,
33264
33263
  map: wt,
33265
33264
  layer: ht
@@ -33303,7 +33302,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33303
33302
  widgets: ze(ht),
33304
33303
  map: y.value,
33305
33304
  mapLoaded: x.value,
33306
- cardValues: L.value,
33305
+ cardValues: R.value,
33307
33306
  hasFilters: xt.value,
33308
33307
  history: p.config.history,
33309
33308
  currentFilterLayer: P.value,
@@ -33345,7 +33344,7 @@ const OA = /* @__PURE__ */ Sr(IA, [["render", BA], ["__scopeId", "data-v-024154e
33345
33344
  hasFilters: xt.value,
33346
33345
  currentFilterLayer: P.value,
33347
33346
  enabledLayerIds: lr.value,
33348
- cardValues: L.value,
33347
+ cardValues: R.value,
33349
33348
  onSetFilterLayer: ut,
33350
33349
  "onUpdate:enabledLayerIds": wt[1] || (wt[1] = (Kt) => lr.value = Kt),
33351
33350
  onCardValuesId: Hi,
@@ -33476,7 +33475,7 @@ const Qy = /* @__PURE__ */ Sr(HA, [["render", GA]]), JA = {
33476
33475
  class: "text-center text-slate-400"
33477
33476
  };
33478
33477
  function lk(u, p, y, x, A, P) {
33479
- var L, I;
33478
+ var R, I;
33480
33479
  const v = dr("HeroBlock"), s = dr("VsFilterList"), D = dr("VsPagination");
33481
33480
  return Be(), Ke("div", XA, [
33482
33481
  re("section", null, [
@@ -33487,7 +33486,7 @@ function lk(u, p, y, x, A, P) {
33487
33486
  ]),
33488
33487
  re("section", QA, [
33489
33488
  re("div", YA, [
33490
- (L = y.breadcrumbs) != null && L.length ? (Be(), Ke("div", $A, [
33489
+ (R = y.breadcrumbs) != null && R.length ? (Be(), Ke("div", $A, [
33491
33490
  (Be(!0), Ke(ar, null, $r(y.breadcrumbs, (N, M) => (Be(), Ke(ar, { key: M }, [
33492
33491
  M < y.breadcrumbs.length - 1 ? (Be(), Ke(ar, { key: 0 }, [
33493
33492
  re("a", {
@@ -34004,7 +34003,7 @@ const vT = /* @__PURE__ */ Sr(sT, [["render", _T]]), xT = {
34004
34003
  };
34005
34004
  function zT(u, p, y, x, A, P) {
34006
34005
  var N, M;
34007
- const v = dr("HeroBlock"), s = dr("VsFilterList"), D = dr("VsAutocompleteOption"), L = dr("VsAutocomplete"), I = dr("VsPagination");
34006
+ const v = dr("HeroBlock"), s = dr("VsFilterList"), D = dr("VsAutocompleteOption"), R = dr("VsAutocomplete"), I = dr("VsPagination");
34008
34007
  return Be(), Ke("div", wT, [
34009
34008
  re("section", null, [
34010
34009
  Er(v, {
@@ -34046,7 +34045,7 @@ function zT(u, p, y, x, A, P) {
34046
34045
  ])),
34047
34046
  _: 1
34048
34047
  }, 8, ["scheme", "token", "isDialog", "onFilterChange"])) : Qt("", !0),
34049
- Er(L, {
34048
+ Er(R, {
34050
34049
  modelValue: A.templateView,
34051
34050
  "onUpdate:modelValue": p[0] || (p[0] = (k) => A.templateView = k),
34052
34051
  class: "w-[150px]"