@mlightcad/mtext-renderer 0.12.5 → 0.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1257,8 +1257,8 @@ class Bt {
1257
1257
  const c = (l) => this.polylines.map((u) => {
1258
1258
  let f = "";
1259
1259
  return u.forEach((h, p) => {
1260
- const { x: y, y: g } = l(h);
1261
- f += p === 0 ? `M ${y} ${g} ` : `L ${y} ${g} `;
1260
+ const { x: y, y: m } = l(h);
1261
+ f += p === 0 ? `M ${y} ${m} ` : `L ${y} ${m} `;
1262
1262
  }), `<path d="${f}" stroke="${r}" stroke-width="${n}" fill="none"/>`;
1263
1263
  }).join("");
1264
1264
  if (i) {
@@ -1268,22 +1268,22 @@ class Bt {
1268
1268
  showFrame: f = !1,
1269
1269
  frameColor: h = "red",
1270
1270
  frameStrokeWidth: p = "0.5%"
1271
- } = i, y = la(i), g = this.bbox;
1271
+ } = i, y = la(i), m = this.bbox;
1272
1272
  let b = y;
1273
- u && Vo(g) && !qo(y, g) && (b = jo(y, g));
1274
- const v = b.maxX - b.minX, w = b.maxY - b.minY, C = v * l, T = w * l, E = b.minX - C, R = b.maxX + C, U = b.minY - T, W = b.maxY + T;
1273
+ u && Vo(m) && !qo(y, m) && (b = jo(y, m));
1274
+ const v = b.maxX - b.minX, w = b.maxY - b.minY, C = v * l, T = w * l, E = b.minX - C, R = b.maxX + C, P = b.minY - T, W = b.maxY + T;
1275
1275
  o = c((N) => ({
1276
1276
  x: N.x,
1277
1277
  y: -N.y
1278
1278
  }));
1279
1279
  const j = f ? Xo(i, h, p) : "";
1280
- return a = `${E} ${-W} ${R - E} ${W - U}`, `<svg width="100%" height="100%" viewBox="${a}" preserveAspectRatio="xMidYMid meet">${j}${o}</svg>`;
1280
+ return a = `${E} ${-W} ${R - E} ${W - P}`, `<svg width="100%" height="100%" viewBox="${a}" preserveAspectRatio="xMidYMid meet">${j}${o}</svg>`;
1281
1281
  } else if (s) {
1282
- const l = this.bbox, u = 0.2, f = l.maxX - l.minX, h = l.maxY - l.minY, p = f === 0 ? h : f, y = h === 0 ? f : h, g = l.minX - p * u, b = l.maxX + p * u, v = l.minY - y * u, w = l.maxY + y * u;
1282
+ const l = this.bbox, u = 0.2, f = l.maxX - l.minX, h = l.maxY - l.minY, p = f === 0 ? h : f, y = h === 0 ? f : h, m = l.minX - p * u, b = l.maxX + p * u, v = l.minY - y * u, w = l.maxY + y * u;
1283
1283
  o = c((C) => ({
1284
1284
  x: C.x,
1285
1285
  y: -C.y
1286
- })), a = `${g} ${-w} ${b - g} ${w - v}`;
1286
+ })), a = `${m} ${-w} ${b - m} ${w - v}`;
1287
1287
  } else
1288
1288
  a = "0 0 20 20", o = c((l) => ({
1289
1289
  x: l.x + 5,
@@ -1902,8 +1902,8 @@ class ic {
1902
1902
  let h = u & 7;
1903
1903
  h === 0 && (h = 8), a !== 0 && h--;
1904
1904
  const p = Math.PI / 4;
1905
- let y = p * h, g = rc, b = 1;
1906
- u < 0 && (g = -g, y = -y, b = -1);
1905
+ let y = p * h, m = rc, b = 1;
1906
+ u < 0 && (m = -m, y = -y, b = -1);
1907
1907
  let v = p * f, w = v + y;
1908
1908
  v += p * i / 256 * b, w += p * a / 256 * b;
1909
1909
  const C = r.currentPoint.clone().subtract(new se(l * Math.cos(v), l * Math.sin(v)));
@@ -1912,14 +1912,14 @@ class ic {
1912
1912
  const E = [];
1913
1913
  if (E.push(
1914
1914
  C.clone().add(new se(l * Math.cos(T), l * Math.sin(T)))
1915
- ), g > 0)
1916
- for (; T + g < w; )
1917
- T += g, E.push(
1915
+ ), m > 0)
1916
+ for (; T + m < w; )
1917
+ T += m, E.push(
1918
1918
  C.clone().add(new se(l * Math.cos(T), l * Math.sin(T)))
1919
1919
  );
1920
1920
  else
1921
- for (; T + g > w; )
1922
- T += g, E.push(
1921
+ for (; T + m > w; )
1922
+ T += m, E.push(
1923
1923
  C.clone().add(new se(l * Math.cos(T), l * Math.sin(T)))
1924
1924
  );
1925
1925
  E.push(C.clone().add(new se(l * Math.cos(w), l * Math.sin(w)))), r.currentPolyline.push(...E);
@@ -2769,14 +2769,14 @@ Ft.prototype.addBezier = function(t, e, n, r, s, i, a, o) {
2769
2769
  const c = [t, e], l = [n, r], u = [s, i], f = [a, o];
2770
2770
  this.addPoint(t, e), this.addPoint(a, o);
2771
2771
  for (let h = 0; h <= 1; h++) {
2772
- const p = 6 * c[h] - 12 * l[h] + 6 * u[h], y = -3 * c[h] + 9 * l[h] - 9 * u[h] + 3 * f[h], g = 3 * l[h] - 3 * c[h];
2772
+ const p = 6 * c[h] - 12 * l[h] + 6 * u[h], y = -3 * c[h] + 9 * l[h] - 9 * u[h] + 3 * f[h], m = 3 * l[h] - 3 * c[h];
2773
2773
  if (y === 0) {
2774
2774
  if (p === 0) continue;
2775
- const C = -g / p;
2775
+ const C = -m / p;
2776
2776
  0 < C && C < 1 && (h === 0 && this.addX(Ot(c[h], l[h], u[h], f[h], C)), h === 1 && this.addY(Ot(c[h], l[h], u[h], f[h], C)));
2777
2777
  continue;
2778
2778
  }
2779
- const b = Math.pow(p, 2) - 4 * g * y;
2779
+ const b = Math.pow(p, 2) - 4 * m * y;
2780
2780
  if (b < 0) continue;
2781
2781
  const v = (-p + Math.sqrt(b)) / (2 * y);
2782
2782
  0 < v && v < 1 && (h === 0 && this.addX(Ot(c[h], l[h], u[h], f[h], v)), h === 1 && this.addY(Ot(c[h], l[h], u[h], f[h], v)));
@@ -2789,7 +2789,7 @@ Ft.prototype.addQuad = function(t, e, n, r, s, i) {
2789
2789
  this.addBezier(t, e, a, o, c, l, s, i);
2790
2790
  };
2791
2791
  var Sa = Ft;
2792
- function ge() {
2792
+ function de() {
2793
2793
  this.commands = [], this.fill = "black", this.stroke = null, this.strokeWidth = 1;
2794
2794
  }
2795
2795
  var Vt = {};
@@ -2829,32 +2829,32 @@ function Ic(t) {
2829
2829
  flipYBase: void 0
2830
2830
  }, t);
2831
2831
  }
2832
- ge.prototype.fromSVG = function(t, e = {}) {
2832
+ de.prototype.fromSVG = function(t, e = {}) {
2833
2833
  typeof SVGPathElement < "u" && t instanceof SVGPathElement && (t = t.getAttribute("d")), e = Lc(e), this.commands = [];
2834
2834
  const n = "0123456789", r = "MmLlQqCcZzHhVv", s = "SsTtAa", i = "-+";
2835
2835
  let a = {}, o = [""], c = !1;
2836
2836
  function l(y) {
2837
- return y.filter((g) => g.length).map((g) => {
2838
- let b = parseFloat(g);
2837
+ return y.filter((m) => m.length).map((m) => {
2838
+ let b = parseFloat(m);
2839
2839
  return (e.decimalPlaces || e.decimalPlaces === 0) && (b = wa(b, e.decimalPlaces)), b;
2840
2840
  });
2841
2841
  }
2842
2842
  function u(y) {
2843
2843
  if (!this.commands.length)
2844
2844
  return y;
2845
- const g = this.commands[this.commands.length - 1];
2845
+ const m = this.commands[this.commands.length - 1];
2846
2846
  for (let b = 0; b < y.length; b++)
2847
- y[b] += g[b & 1 ? "y" : "x"];
2847
+ y[b] += m[b & 1 ? "y" : "x"];
2848
2848
  return y;
2849
2849
  }
2850
2850
  function f() {
2851
2851
  if (a.type === void 0)
2852
2852
  return;
2853
- const y = a.type.toUpperCase(), g = y !== "Z" && a.type.toUpperCase() !== a.type;
2853
+ const y = a.type.toUpperCase(), m = y !== "Z" && a.type.toUpperCase() !== a.type;
2854
2854
  let b = l(o);
2855
2855
  if (o = [""], !b.length && y !== "Z")
2856
2856
  return;
2857
- g && y !== "H" && y !== "V" && (b = u.apply(this, [b]));
2857
+ m && y !== "H" && y !== "V" && (b = u.apply(this, [b]));
2858
2858
  const v = this.commands.length && this.commands[this.commands.length - 1].x || 0, w = this.commands.length && this.commands[this.commands.length - 1].y || 0;
2859
2859
  switch (y) {
2860
2860
  case "M":
@@ -2866,13 +2866,13 @@ ge.prototype.fromSVG = function(t, e = {}) {
2866
2866
  case "V":
2867
2867
  for (let C = 0; C < b.length; C++) {
2868
2868
  let T = 0;
2869
- g && (T = this.commands.length && this.commands[this.commands.length - 1].y || 0), this.lineTo(v, b[C] + T);
2869
+ m && (T = this.commands.length && this.commands[this.commands.length - 1].y || 0), this.lineTo(v, b[C] + T);
2870
2870
  }
2871
2871
  break;
2872
2872
  case "H":
2873
2873
  for (let C = 0; C < b.length; C++) {
2874
2874
  let T = 0;
2875
- g && (T = this.commands.length && this.commands[this.commands.length - 1].x || 0), this.lineTo(b[C] + T, w);
2875
+ m && (T = this.commands.length && this.commands[this.commands.length - 1].x || 0), this.lineTo(b[C] + T, w);
2876
2876
  }
2877
2877
  break;
2878
2878
  case "C":
@@ -2890,26 +2890,26 @@ ge.prototype.fromSVG = function(t, e = {}) {
2890
2890
  this.commands[this.commands.length - 1][C] === void 0 && (this.commands[this.commands.length - 1][C] = 0);
2891
2891
  }
2892
2892
  for (let y = 0; y < t.length; y++) {
2893
- const g = t.charAt(y), b = o[o.length - 1];
2894
- if (n.indexOf(g) > -1)
2895
- o[o.length - 1] += g;
2896
- else if (i.indexOf(g) > -1)
2897
- if (!a.type && !this.commands.length && (a.type = "L"), g === "-")
2898
- !a.type || b.indexOf("-") > 0 ? c = !0 : b.length ? o.push("-") : o[o.length - 1] = g;
2893
+ const m = t.charAt(y), b = o[o.length - 1];
2894
+ if (n.indexOf(m) > -1)
2895
+ o[o.length - 1] += m;
2896
+ else if (i.indexOf(m) > -1)
2897
+ if (!a.type && !this.commands.length && (a.type = "L"), m === "-")
2898
+ !a.type || b.indexOf("-") > 0 ? c = !0 : b.length ? o.push("-") : o[o.length - 1] = m;
2899
2899
  else if (!a.type || b.length > 0)
2900
2900
  c = !0;
2901
2901
  else
2902
2902
  continue;
2903
- else if (r.indexOf(g) > -1)
2904
- a.type ? (f.apply(this), a = { type: g }) : a.type = g;
2903
+ else if (r.indexOf(m) > -1)
2904
+ a.type ? (f.apply(this), a = { type: m }) : a.type = m;
2905
2905
  else {
2906
- if (s.indexOf(g) > -1)
2907
- throw new Error("Unsupported path command: " + g + ". Currently supported commands are " + r.split("").join(", ") + ".");
2906
+ if (s.indexOf(m) > -1)
2907
+ throw new Error("Unsupported path command: " + m + ". Currently supported commands are " + r.split("").join(", ") + ".");
2908
2908
  ` ,
2909
- \r\f\v`.indexOf(g) > -1 ? o.push("") : g === "." ? !a.type || b.indexOf(g) > -1 ? c = !0 : o[o.length - 1] += g : c = !0;
2909
+ \r\f\v`.indexOf(m) > -1 ? o.push("") : m === "." ? !a.type || b.indexOf(m) > -1 ? c = !0 : o[o.length - 1] += m : c = !0;
2910
2910
  }
2911
2911
  if (c)
2912
- throw new Error("Unexpected character: " + g + " at offset " + y);
2912
+ throw new Error("Unexpected character: " + m + " at offset " + y);
2913
2913
  }
2914
2914
  f.apply(this), e.optimize && (this.commands = Ca(this.commands));
2915
2915
  const h = e.flipY;
@@ -2919,30 +2919,30 @@ ge.prototype.fromSVG = function(t, e = {}) {
2919
2919
  p = y.y1 + y.y2;
2920
2920
  }
2921
2921
  for (const y in this.commands) {
2922
- const g = this.commands[y];
2923
- for (const b in g)
2924
- ["x", "x1", "x2"].includes(b) ? this.commands[y][b] = e.x + g[b] * e.scale : ["y", "y1", "y2"].includes(b) && (this.commands[y][b] = e.y + (h ? p - g[b] : g[b]) * e.scale);
2922
+ const m = this.commands[y];
2923
+ for (const b in m)
2924
+ ["x", "x1", "x2"].includes(b) ? this.commands[y][b] = e.x + m[b] * e.scale : ["y", "y1", "y2"].includes(b) && (this.commands[y][b] = e.y + (h ? p - m[b] : m[b]) * e.scale);
2925
2925
  }
2926
2926
  return this;
2927
2927
  };
2928
- ge.fromSVG = function(t, e) {
2929
- return new ge().fromSVG(t, e);
2928
+ de.fromSVG = function(t, e) {
2929
+ return new de().fromSVG(t, e);
2930
2930
  };
2931
- ge.prototype.moveTo = function(t, e) {
2931
+ de.prototype.moveTo = function(t, e) {
2932
2932
  this.commands.push({
2933
2933
  type: "M",
2934
2934
  x: t,
2935
2935
  y: e
2936
2936
  });
2937
2937
  };
2938
- ge.prototype.lineTo = function(t, e) {
2938
+ de.prototype.lineTo = function(t, e) {
2939
2939
  this.commands.push({
2940
2940
  type: "L",
2941
2941
  x: t,
2942
2942
  y: e
2943
2943
  });
2944
2944
  };
2945
- ge.prototype.curveTo = ge.prototype.bezierCurveTo = function(t, e, n, r, s, i) {
2945
+ de.prototype.curveTo = de.prototype.bezierCurveTo = function(t, e, n, r, s, i) {
2946
2946
  this.commands.push({
2947
2947
  type: "C",
2948
2948
  x1: t,
@@ -2953,7 +2953,7 @@ ge.prototype.curveTo = ge.prototype.bezierCurveTo = function(t, e, n, r, s, i) {
2953
2953
  y: i
2954
2954
  });
2955
2955
  };
2956
- ge.prototype.quadTo = ge.prototype.quadraticCurveTo = function(t, e, n, r) {
2956
+ de.prototype.quadTo = de.prototype.quadraticCurveTo = function(t, e, n, r) {
2957
2957
  this.commands.push({
2958
2958
  type: "Q",
2959
2959
  x1: t,
@@ -2962,12 +2962,12 @@ ge.prototype.quadTo = ge.prototype.quadraticCurveTo = function(t, e, n, r) {
2962
2962
  y: r
2963
2963
  });
2964
2964
  };
2965
- ge.prototype.close = ge.prototype.closePath = function() {
2965
+ de.prototype.close = de.prototype.closePath = function() {
2966
2966
  this.commands.push({
2967
2967
  type: "Z"
2968
2968
  });
2969
2969
  };
2970
- ge.prototype.extend = function(t) {
2970
+ de.prototype.extend = function(t) {
2971
2971
  if (t.commands)
2972
2972
  t = t.commands;
2973
2973
  else if (t instanceof Sa) {
@@ -2977,7 +2977,7 @@ ge.prototype.extend = function(t) {
2977
2977
  }
2978
2978
  Array.prototype.push.apply(this.commands, t);
2979
2979
  };
2980
- ge.prototype.getBoundingBox = function() {
2980
+ de.prototype.getBoundingBox = function() {
2981
2981
  const t = new Sa();
2982
2982
  let e = 0, n = 0, r = 0, s = 0;
2983
2983
  for (let i = 0; i < this.commands.length; i++) {
@@ -3004,7 +3004,7 @@ ge.prototype.getBoundingBox = function() {
3004
3004
  }
3005
3005
  return t.isEmpty() && t.addPoint(0, 0), t;
3006
3006
  };
3007
- ge.prototype.draw = function(t) {
3007
+ de.prototype.draw = function(t) {
3008
3008
  const e = this._layers;
3009
3009
  if (e && e.length) {
3010
3010
  for (let r = 0; r < e.length; r++)
@@ -3023,7 +3023,7 @@ ge.prototype.draw = function(t) {
3023
3023
  }
3024
3024
  this.fill && (t.fillStyle = this.fill, t.fill()), this.stroke && (t.strokeStyle = this.stroke, t.lineWidth = this.strokeWidth, t.stroke());
3025
3025
  };
3026
- ge.prototype.toPathData = function(t) {
3026
+ de.prototype.toPathData = function(t) {
3027
3027
  t = Ic(t);
3028
3028
  function e(o) {
3029
3029
  const c = wa(o, t.decimalPlaces);
@@ -3042,7 +3042,7 @@ ge.prototype.toPathData = function(t) {
3042
3042
  const s = t.flipY;
3043
3043
  let i = t.flipYBase;
3044
3044
  if (s === !0 && i === void 0) {
3045
- const o = new ge();
3045
+ const o = new de();
3046
3046
  o.extend(r);
3047
3047
  const c = o.getBoundingBox();
3048
3048
  i = c.y1 + c.y2;
@@ -3072,17 +3072,17 @@ ge.prototype.toPathData = function(t) {
3072
3072
  }
3073
3073
  return a;
3074
3074
  };
3075
- ge.prototype.toSVG = function(t, e) {
3075
+ de.prototype.toSVG = function(t, e) {
3076
3076
  this._layers && this._layers.length && console.warn("toSVG() does not support colr font layers yet"), this._image && console.warn("toSVG() does not support SVG glyphs yet"), e || (e = this.toPathData(t));
3077
3077
  let n = '<path d="';
3078
3078
  return n += e, n += '"', this.fill !== void 0 && this.fill !== "black" && (this.fill === null ? n += ' fill="none"' : n += ' fill="' + this.fill + '"'), this.stroke && (n += ' stroke="' + this.stroke + '" stroke-width="' + this.strokeWidth + '"'), n += "/>", n;
3079
3079
  };
3080
- ge.prototype.toDOMElement = function(t, e) {
3080
+ de.prototype.toDOMElement = function(t, e) {
3081
3081
  this._layers && this._layers.length && console.warn("toDOMElement() does not support colr font layers yet"), e || (e = this.toPathData(t));
3082
3082
  const n = document.createElementNS("http://www.w3.org/2000/svg", "path");
3083
3083
  return n.setAttribute("d", e), this.fill !== void 0 && this.fill !== "black" && (this.fill === null ? n.setAttribute("fill", "none") : n.setAttribute("fill", this.fill)), this.stroke && (n.setAttribute("stroke", this.stroke), n.setAttribute("stroke-width", this.strokeWidth)), n;
3084
3084
  };
3085
- var Pt = ge;
3085
+ var Pt = de;
3086
3086
  function Ta(t) {
3087
3087
  throw new Error(t);
3088
3088
  }
@@ -3518,7 +3518,7 @@ B.LITERAL = function(t) {
3518
3518
  z.LITERAL = function(t) {
3519
3519
  return t.length;
3520
3520
  };
3521
- function pe(t, e, n) {
3521
+ function fe(t, e, n) {
3522
3522
  if (e && e.length)
3523
3523
  for (let r = 0; r < e.length; r += 1) {
3524
3524
  const s = e[r];
@@ -3532,10 +3532,10 @@ function pe(t, e, n) {
3532
3532
  }
3533
3533
  }
3534
3534
  }
3535
- pe.prototype.encode = function() {
3535
+ fe.prototype.encode = function() {
3536
3536
  return B.TABLE(this);
3537
3537
  };
3538
- pe.prototype.sizeOf = function() {
3538
+ fe.prototype.sizeOf = function() {
3539
3539
  return z.TABLE(this);
3540
3540
  };
3541
3541
  function Gt(t, e, n) {
@@ -3562,11 +3562,11 @@ function Ht(t, e, n) {
3562
3562
  return s;
3563
3563
  }
3564
3564
  function En(t) {
3565
- t.format === 1 ? pe.call(
3565
+ t.format === 1 ? fe.call(
3566
3566
  this,
3567
3567
  "coverageTable",
3568
3568
  [{ name: "coverageFormat", type: "USHORT", value: 1 }].concat(Gt("glyph", t.glyphs))
3569
- ) : t.format === 2 ? pe.call(
3569
+ ) : t.format === 2 ? fe.call(
3570
3570
  this,
3571
3571
  "coverageTable",
3572
3572
  [{ name: "coverageFormat", type: "USHORT", value: 2 }].concat(Ht("rangeRecord", t.ranges, function(e, n) {
@@ -3578,10 +3578,10 @@ function En(t) {
3578
3578
  }))
3579
3579
  ) : H.assert(!1, "Coverage format must be 1 or 2.");
3580
3580
  }
3581
- En.prototype = Object.create(pe.prototype);
3581
+ En.prototype = Object.create(fe.prototype);
3582
3582
  En.prototype.constructor = En;
3583
3583
  function An(t) {
3584
- pe.call(
3584
+ fe.call(
3585
3585
  this,
3586
3586
  "scriptListTable",
3587
3587
  Ht("scriptRecord", t, function(e, n) {
@@ -3589,8 +3589,8 @@ function An(t) {
3589
3589
  let s = r.defaultLangSys;
3590
3590
  return H.assert(!!s, "Unable to write GSUB: script " + e.tag + " has no default language system."), [
3591
3591
  { name: "scriptTag" + n, type: "TAG", value: e.tag },
3592
- { name: "script" + n, type: "TABLE", value: new pe("scriptTable", [
3593
- { name: "defaultLangSys", type: "TABLE", value: new pe("defaultLangSys", [
3592
+ { name: "script" + n, type: "TABLE", value: new fe("scriptTable", [
3593
+ { name: "defaultLangSys", type: "TABLE", value: new fe("defaultLangSys", [
3594
3594
  { name: "lookupOrder", type: "USHORT", value: 0 },
3595
3595
  { name: "reqFeatureIndex", type: "USHORT", value: s.reqFeatureIndex }
3596
3596
  ].concat(Gt("featureIndex", s.featureIndexes))) }
@@ -3598,7 +3598,7 @@ function An(t) {
3598
3598
  const o = i.langSys;
3599
3599
  return [
3600
3600
  { name: "langSysTag" + a, type: "TAG", value: i.tag },
3601
- { name: "langSys" + a, type: "TABLE", value: new pe("langSys", [
3601
+ { name: "langSys" + a, type: "TABLE", value: new fe("langSys", [
3602
3602
  { name: "lookupOrder", type: "USHORT", value: 0 },
3603
3603
  { name: "reqFeatureIndex", type: "USHORT", value: o.reqFeatureIndex }
3604
3604
  ].concat(Gt("featureIndex", o.featureIndexes))) }
@@ -3608,45 +3608,45 @@ function An(t) {
3608
3608
  })
3609
3609
  );
3610
3610
  }
3611
- An.prototype = Object.create(pe.prototype);
3611
+ An.prototype = Object.create(fe.prototype);
3612
3612
  An.prototype.constructor = An;
3613
3613
  function On(t) {
3614
- pe.call(
3614
+ fe.call(
3615
3615
  this,
3616
3616
  "featureListTable",
3617
3617
  Ht("featureRecord", t, function(e, n) {
3618
3618
  const r = e.feature;
3619
3619
  return [
3620
3620
  { name: "featureTag" + n, type: "TAG", value: e.tag },
3621
- { name: "feature" + n, type: "TABLE", value: new pe("featureTable", [
3621
+ { name: "feature" + n, type: "TABLE", value: new fe("featureTable", [
3622
3622
  { name: "featureParams", type: "USHORT", value: r.featureParams }
3623
3623
  ].concat(Gt("lookupListIndex", r.lookupListIndexes))) }
3624
3624
  ];
3625
3625
  })
3626
3626
  );
3627
3627
  }
3628
- On.prototype = Object.create(pe.prototype);
3628
+ On.prototype = Object.create(fe.prototype);
3629
3629
  On.prototype.constructor = On;
3630
3630
  function Ln(t, e) {
3631
- pe.call(this, "lookupListTable", Ir("lookup", t, function(n) {
3631
+ fe.call(this, "lookupListTable", Ir("lookup", t, function(n) {
3632
3632
  let r = e[n.lookupType];
3633
- return H.assert(!!r, "Unable to write GSUB lookup type " + n.lookupType + " tables."), new pe("lookupTable", [
3633
+ return H.assert(!!r, "Unable to write GSUB lookup type " + n.lookupType + " tables."), new fe("lookupTable", [
3634
3634
  { name: "lookupType", type: "USHORT", value: n.lookupType },
3635
3635
  { name: "lookupFlag", type: "USHORT", value: n.lookupFlag }
3636
3636
  ].concat(Ir("subtable", n.subtables, r)));
3637
3637
  }));
3638
3638
  }
3639
- Ln.prototype = Object.create(pe.prototype);
3639
+ Ln.prototype = Object.create(fe.prototype);
3640
3640
  Ln.prototype.constructor = Ln;
3641
3641
  function In(t) {
3642
- t.format === 1 ? pe.call(
3642
+ t.format === 1 ? fe.call(
3643
3643
  this,
3644
3644
  "classDefTable",
3645
3645
  [
3646
3646
  { name: "classFormat", type: "USHORT", value: 1 },
3647
3647
  { name: "startGlyphID", type: "USHORT", value: t.startGlyph }
3648
3648
  ].concat(Gt("glyph", t.classes))
3649
- ) : t.format === 2 ? pe.call(
3649
+ ) : t.format === 2 ? fe.call(
3650
3650
  this,
3651
3651
  "classDefTable",
3652
3652
  [{ name: "classFormat", type: "USHORT", value: 2 }].concat(Ht("rangeRecord", t.ranges, function(e, n) {
@@ -3658,11 +3658,11 @@ function In(t) {
3658
3658
  }))
3659
3659
  ) : H.assert(!1, "Class format must be 1 or 2.");
3660
3660
  }
3661
- In.prototype = Object.create(pe.prototype);
3661
+ In.prototype = Object.create(fe.prototype);
3662
3662
  In.prototype.constructor = In;
3663
3663
  var O = {
3664
- Table: pe,
3665
- Record: pe,
3664
+ Table: fe,
3665
+ Record: fe,
3666
3666
  Coverage: En,
3667
3667
  ClassDef: In,
3668
3668
  ScriptList: An,
@@ -4183,37 +4183,37 @@ k.prototype.parseTupleVariationStore = function(t, e, n, r, s) {
4183
4183
  const u = [];
4184
4184
  let f = [];
4185
4185
  for (let y = 0; y < c; y++) {
4186
- const g = this.parseTupleVariationHeader(e, n);
4187
- u.push(g);
4186
+ const m = this.parseTupleVariationHeader(e, n);
4187
+ u.push(m);
4188
4188
  }
4189
4189
  this.relativeOffset !== t + l && (console.warn(`Unexpected offset after parsing tuple variation headers! Expected ${t + l}, actually ${this.relativeOffset}`), this.relativeOffset = t + l), o && (f = this.parsePackedPointNumbers());
4190
4190
  let h = this.relativeOffset;
4191
4191
  for (let y = 0; y < c; y++) {
4192
- const g = u[y];
4193
- g.privatePoints = [], this.relativeOffset = h, n === "cvar" && !g.peakTuple && console.warn("An embedded peak tuple is required in TupleVariationHeaders for the cvar table."), g.flags.privatePointNumbers && (g.privatePoints = this.parsePackedPointNumbers()), delete g.flags;
4192
+ const m = u[y];
4193
+ m.privatePoints = [], this.relativeOffset = h, n === "cvar" && !m.peakTuple && console.warn("An embedded peak tuple is required in TupleVariationHeaders for the cvar table."), m.flags.privatePointNumbers && (m.privatePoints = this.parsePackedPointNumbers()), delete m.flags;
4194
4194
  const b = this.offset, v = this.relativeOffset, w = (C) => {
4195
4195
  let T, E;
4196
4196
  const R = () => {
4197
- let U = 0;
4197
+ let P = 0;
4198
4198
  if (n === "gvar") {
4199
- if (U = g.privatePoints.length || f.length, !U) {
4199
+ if (P = m.privatePoints.length || f.length, !P) {
4200
4200
  const W = r.get(s);
4201
- W.path, U = W.points.length, U += 4;
4201
+ W.path, P = W.points.length, P += 4;
4202
4202
  }
4203
- } else n === "cvar" && (U = r.length);
4204
- this.offset = b, this.relativeOffset = v, T = this.parsePackedDeltas(U), n === "gvar" && (E = this.parsePackedDeltas(U));
4203
+ } else n === "cvar" && (P = r.length);
4204
+ this.offset = b, this.relativeOffset = v, T = this.parsePackedDeltas(P), n === "gvar" && (E = this.parsePackedDeltas(P));
4205
4205
  };
4206
4206
  return {
4207
4207
  configurable: !0,
4208
4208
  get: function() {
4209
4209
  return T === void 0 && R(), C === "deltasY" ? E : T;
4210
4210
  },
4211
- set: function(U) {
4212
- T === void 0 && R(), C === "deltasY" ? E = U : T = U;
4211
+ set: function(P) {
4212
+ T === void 0 && R(), C === "deltasY" ? E = P : T = P;
4213
4213
  }
4214
4214
  };
4215
4215
  };
4216
- Object.defineProperty(g, "deltas", w.call(this, "deltas")), n === "gvar" && Object.defineProperty(g, "deltasY", w.call(this, "deltasY")), h += g.variationDataSize, delete g.variationDataSize;
4216
+ Object.defineProperty(m, "deltas", w.call(this, "deltas")), n === "gvar" && Object.defineProperty(m, "deltasY", w.call(this, "deltasY")), h += m.variationDataSize, delete m.variationDataSize;
4217
4217
  }
4218
4218
  this.relativeOffset = i;
4219
4219
  const p = {
@@ -5025,10 +5025,10 @@ function Xc(t) {
5025
5025
  function Kc(t, e, n) {
5026
5026
  const r = {}, s = new M.Parser(t, e), i = s.parseUShort(), a = s.parseUShort(), o = s.offset + s.parseUShort();
5027
5027
  for (let c = 0; c < a; c++) {
5028
- const l = s.parseUShort(), u = s.parseUShort(), f = s.parseUShort(), h = s.parseUShort(), p = Bn[h] || h, y = s.parseUShort(), g = s.parseUShort(), b = jc(l, f, n), v = $r(l, u, f), w = Xc(l);
5028
+ const l = s.parseUShort(), u = s.parseUShort(), f = s.parseUShort(), h = s.parseUShort(), p = Bn[h] || h, y = s.parseUShort(), m = s.parseUShort(), b = jc(l, f, n), v = $r(l, u, f), w = Xc(l);
5029
5029
  if (v !== void 0 && b !== void 0 && w !== void 0) {
5030
5030
  let C;
5031
- if (v === Rr ? C = Nt.UTF16(t, o + g, y) : C = Nt.MACSTRING(t, o + g, y, v), C) {
5031
+ if (v === Rr ? C = Nt.UTF16(t, o + m, y) : C = Nt.MACSTRING(t, o + m, y, v), C) {
5032
5032
  let T = r[w];
5033
5033
  T === void 0 && (T = r[w] = {});
5034
5034
  let E = T[p];
@@ -5083,16 +5083,16 @@ function Jc(t, e) {
5083
5083
  let l;
5084
5084
  const u = [], f = {}, h = dn(Bn), p = n[c];
5085
5085
  for (let y in t[c]) {
5086
- let g = h[y];
5087
- if (g === void 0 && (g = y), l = parseInt(g), isNaN(l))
5086
+ let m = h[y];
5087
+ if (m === void 0 && (m = y), l = parseInt(m), isNaN(l))
5088
5088
  throw new Error('Name table entry "' + y + '" does not exist, see nameTableNames for complete list.');
5089
5089
  f[l] = t[c][y], u.push(l);
5090
5090
  }
5091
5091
  for (let y = 0; y < u.length; y++) {
5092
5092
  l = u[y];
5093
- const g = f[l];
5094
- for (let b in g) {
5095
- const v = g[b];
5093
+ const m = f[l];
5094
+ for (let b in m) {
5095
+ const v = m[b];
5096
5096
  if (p === 1 || p === 0) {
5097
5097
  let w = r[b], C = qc[w];
5098
5098
  const T = $r(p, C, w);
@@ -5176,9 +5176,9 @@ function tl(t, e, n, r, s) {
5176
5176
  let u = r + s + 16 + i * 8;
5177
5177
  for (let f = 0; f < i - 1; f += 1) {
5178
5178
  let h;
5179
- const p = a.parseUShort(), y = o.parseUShort(), g = c.parseShort(), b = l.parseUShort();
5179
+ const p = a.parseUShort(), y = o.parseUShort(), m = c.parseShort(), b = l.parseUShort();
5180
5180
  for (let v = y; v <= p; v += 1)
5181
- b !== 0 ? (u = l.offset + l.relativeOffset - 2, u += b, u += (v - y) * 2, h = M.getUShort(n, u), h !== 0 && (h = h + g & 65535)) : h = v + g & 65535, t.glyphIndexMap[v] = h;
5181
+ b !== 0 ? (u = l.offset + l.relativeOffset - 2, u += b, u += (v - y) * 2, h = M.getUShort(n, u), h !== 0 && (h = h + m & 65535)) : h = v + m & 65535, t.glyphIndexMap[v] = h;
5182
5182
  }
5183
5183
  }
5184
5184
  function nl(t, e) {
@@ -7321,8 +7321,8 @@ Ce.prototype.getPath = function(t, e, n, r, s) {
7321
7321
  f._layers = [];
7322
7322
  for (let p = 0; p < h.length; p += 1) {
7323
7323
  const y = h[p];
7324
- let g = Xr(s, y.paletteIndex, r.usePalette);
7325
- g === "currentColor" ? g = r.fill || "black" : g = zt(g, r.colorFormat || "rgba"), r = Object.assign({}, r, { fill: g }), f._layers.push(this.getPath.call(y.glyph, t, e, n, r, s));
7324
+ let m = Xr(s, y.paletteIndex, r.usePalette);
7325
+ m === "currentColor" ? m = r.fill || "black" : m = zt(m, r.colorFormat || "rgba"), r = Object.assign({}, r, { fill: m }), f._layers.push(this.getPath.call(y.glyph, t, e, n, r, s));
7326
7326
  }
7327
7327
  return f;
7328
7328
  }
@@ -7394,10 +7394,10 @@ Ce.prototype.drawPoints = function(t, e, n, r, s, i) {
7394
7394
  return;
7395
7395
  }
7396
7396
  }
7397
- function a(h, p, y, g) {
7397
+ function a(h, p, y, m) {
7398
7398
  t.beginPath();
7399
7399
  for (let b = 0; b < h.length; b += 1)
7400
- t.moveTo(p + h[b].x * g, y + h[b].y * g), t.arc(p + h[b].x * g, y + h[b].y * g, 2, 0, Math.PI * 2, !1);
7400
+ t.moveTo(p + h[b].x * m, y + h[b].y * m), t.arc(p + h[b].x * m, y + h[b].y * m, 2, 0, Math.PI * 2, !1);
7401
7401
  t.fill();
7402
7402
  }
7403
7403
  e = e !== void 0 ? e : 0, n = n !== void 0 ? n : 0, r = r !== void 0 ? r : 24;
@@ -7821,7 +7821,7 @@ function Ha(t, e) {
7821
7821
  function Dr(t, e, n, r, s) {
7822
7822
  let i, a, o, c;
7823
7823
  const l = new Pt(), u = [];
7824
- let f = 0, h = !1, p = !1, y = 0, g = 0, b, v, w, C, T = 0, E = [], R, U = 0;
7824
+ let f = 0, h = !1, p = !1, y = 0, m = 0, b, v, w, C, T = 0, E = [], R, P = 0;
7825
7825
  const W = t.tables.cff2 || t.tables.cff;
7826
7826
  if (w = W.topDict._defaultWidthX, C = W.topDict._nominalWidthX, s = s || t.variation && t.variation.get(), e.getBlendPath || (e.getBlendPath = function(D) {
7827
7827
  return Dr(t, e, n, r, D);
@@ -7832,15 +7832,15 @@ function Dr(t, e, n, r, s) {
7832
7832
  b = W.topDict._subrs, v = W.topDict._subrsBias;
7833
7833
  const j = Ha(t, l);
7834
7834
  let N = w;
7835
- function $(D, _) {
7835
+ function Y(D, _) {
7836
7836
  p && j !== 2 && l.closePath(), l.moveTo(D, _), p = !0;
7837
7837
  }
7838
7838
  function ie() {
7839
7839
  let D;
7840
7840
  D = (u.length & 1) !== 0, D && !h && (N = u.shift() + C), f += u.length >> 1, u.length = 0, h = !0;
7841
7841
  }
7842
- function P(D) {
7843
- let _, re, Te, Qe, _e, fe, Y, ne, de, be, me, ye, ce = 0;
7842
+ function U(D) {
7843
+ let _, re, Te, Qe, _e, me, $, ne, pe, be, ge, ye, ce = 0;
7844
7844
  for (; ce < D.length; ) {
7845
7845
  let ve = D[ce];
7846
7846
  switch (ce += 1, ve) {
@@ -7851,31 +7851,31 @@ function Dr(t, e, n, r, s) {
7851
7851
  ie();
7852
7852
  break;
7853
7853
  case 4:
7854
- u.length > 1 && !h && (N = u.shift() + C, h = !0), g += u.pop(), $(y, g);
7854
+ u.length > 1 && !h && (N = u.shift() + C, h = !0), m += u.pop(), Y(y, m);
7855
7855
  break;
7856
7856
  case 5:
7857
7857
  for (; u.length > 0; )
7858
- y += u.shift(), g += u.shift(), l.lineTo(y, g);
7858
+ y += u.shift(), m += u.shift(), l.lineTo(y, m);
7859
7859
  break;
7860
7860
  case 6:
7861
- for (; u.length > 0 && (y += u.shift(), l.lineTo(y, g), u.length !== 0); )
7862
- g += u.shift(), l.lineTo(y, g);
7861
+ for (; u.length > 0 && (y += u.shift(), l.lineTo(y, m), u.length !== 0); )
7862
+ m += u.shift(), l.lineTo(y, m);
7863
7863
  break;
7864
7864
  case 7:
7865
- for (; u.length > 0 && (g += u.shift(), l.lineTo(y, g), u.length !== 0); )
7866
- y += u.shift(), l.lineTo(y, g);
7865
+ for (; u.length > 0 && (m += u.shift(), l.lineTo(y, m), u.length !== 0); )
7866
+ y += u.shift(), l.lineTo(y, m);
7867
7867
  break;
7868
7868
  case 8:
7869
7869
  for (; u.length > 0; )
7870
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c + u.shift(), l.curveTo(i, a, o, c, y, g);
7870
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c + u.shift(), l.curveTo(i, a, o, c, y, m);
7871
7871
  break;
7872
7872
  case 10:
7873
- if (_e = u.pop() + v, fe = b[_e], fe) {
7874
- if (U >= Us) {
7873
+ if (_e = u.pop() + v, me = b[_e], me) {
7874
+ if (P >= Us) {
7875
7875
  console.warn("CFF charstring subroutine call depth exceeded, skipping callsubr");
7876
7876
  break;
7877
7877
  }
7878
- U++, P(fe), U--;
7878
+ P++, U(me), P--;
7879
7879
  }
7880
7880
  break;
7881
7881
  case 11:
@@ -7887,16 +7887,16 @@ function Dr(t, e, n, r, s) {
7887
7887
  case 12:
7888
7888
  switch (ve = D[ce], ce += 1, ve) {
7889
7889
  case 35:
7890
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), Y = o + u.shift(), ne = c + u.shift(), de = Y + u.shift(), be = ne + u.shift(), me = de + u.shift(), ye = be + u.shift(), y = me + u.shift(), g = ye + u.shift(), u.shift(), l.curveTo(i, a, o, c, Y, ne), l.curveTo(de, be, me, ye, y, g);
7890
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), $ = o + u.shift(), ne = c + u.shift(), pe = $ + u.shift(), be = ne + u.shift(), ge = pe + u.shift(), ye = be + u.shift(), y = ge + u.shift(), m = ye + u.shift(), u.shift(), l.curveTo(i, a, o, c, $, ne), l.curveTo(pe, be, ge, ye, y, m);
7891
7891
  break;
7892
7892
  case 34:
7893
- i = y + u.shift(), a = g, o = i + u.shift(), c = a + u.shift(), Y = o + u.shift(), ne = c, de = Y + u.shift(), be = c, me = de + u.shift(), ye = g, y = me + u.shift(), l.curveTo(i, a, o, c, Y, ne), l.curveTo(de, be, me, ye, y, g);
7893
+ i = y + u.shift(), a = m, o = i + u.shift(), c = a + u.shift(), $ = o + u.shift(), ne = c, pe = $ + u.shift(), be = c, ge = pe + u.shift(), ye = m, y = ge + u.shift(), l.curveTo(i, a, o, c, $, ne), l.curveTo(pe, be, ge, ye, y, m);
7894
7894
  break;
7895
7895
  case 36:
7896
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), Y = o + u.shift(), ne = c, de = Y + u.shift(), be = c, me = de + u.shift(), ye = be + u.shift(), y = me + u.shift(), l.curveTo(i, a, o, c, Y, ne), l.curveTo(de, be, me, ye, y, g);
7896
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), $ = o + u.shift(), ne = c, pe = $ + u.shift(), be = c, ge = pe + u.shift(), ye = be + u.shift(), y = ge + u.shift(), l.curveTo(i, a, o, c, $, ne), l.curveTo(pe, be, ge, ye, y, m);
7897
7897
  break;
7898
7898
  case 37:
7899
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), Y = o + u.shift(), ne = c + u.shift(), de = Y + u.shift(), be = ne + u.shift(), me = de + u.shift(), ye = be + u.shift(), Math.abs(me - y) > Math.abs(ye - g) ? y = me + u.shift() : g = ye + u.shift(), l.curveTo(i, a, o, c, Y, ne), l.curveTo(de, be, me, ye, y, g);
7899
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), $ = o + u.shift(), ne = c + u.shift(), pe = $ + u.shift(), be = ne + u.shift(), ge = pe + u.shift(), ye = be + u.shift(), Math.abs(ge - y) > Math.abs(ye - m) ? y = ge + u.shift() : m = ye + u.shift(), l.curveTo(i, a, o, c, $, ne), l.curveTo(pe, be, ge, ye, y, m);
7900
7900
  break;
7901
7901
  default:
7902
7902
  console.log("Glyph " + e.index + ": unknown operator 1200" + ve), u.length = 0;
@@ -7908,7 +7908,7 @@ function Dr(t, e, n, r, s) {
7908
7908
  break;
7909
7909
  }
7910
7910
  if (u.length >= 4) {
7911
- const et = Br[u.pop()], x = Br[u.pop()], d = u.pop(), m = u.pop();
7911
+ const et = Br[u.pop()], x = Br[u.pop()], d = u.pop(), g = u.pop();
7912
7912
  if (et && x) {
7913
7913
  e.isComposite = !0, e.components = [];
7914
7914
  const S = t.cffEncoding.charset.indexOf(et), F = t.cffEncoding.charset.indexOf(x);
@@ -7918,13 +7918,13 @@ function Dr(t, e, n, r, s) {
7918
7918
  dy: 0
7919
7919
  }), e.components.push({
7920
7920
  glyphIndex: S,
7921
- dx: m,
7921
+ dx: g,
7922
7922
  dy: d
7923
7923
  }), l.extend(t.glyphs.get(F).path);
7924
7924
  const A = t.glyphs.get(S), L = JSON.parse(JSON.stringify(A.path.commands));
7925
7925
  for (let q = 0; q < L.length; q += 1) {
7926
7926
  const V = L[q];
7927
- V.type !== "Z" && (V.x += m, V.y += d), (V.type === "Q" || V.type === "C") && (V.x1 += m, V.y1 += d), V.type === "C" && (V.x2 += m, V.y2 += d);
7927
+ V.type !== "Z" && (V.x += g, V.y += d), (V.type === "Q" || V.type === "C") && (V.x1 += g, V.y1 += d), V.type === "C" && (V.x2 += g, V.y2 += d);
7928
7928
  }
7929
7929
  l.extend(L);
7930
7930
  }
@@ -7963,58 +7963,58 @@ function Dr(t, e, n, r, s) {
7963
7963
  ie(), ce += f + 7 >> 3;
7964
7964
  break;
7965
7965
  case 21:
7966
- u.length > 2 && !h && (N = u.shift() + C, h = !0), g += u.pop(), y += u.pop(), $(y, g);
7966
+ u.length > 2 && !h && (N = u.shift() + C, h = !0), m += u.pop(), y += u.pop(), Y(y, m);
7967
7967
  break;
7968
7968
  case 22:
7969
- u.length > 1 && !h && (N = u.shift() + C, h = !0), y += u.pop(), $(y, g);
7969
+ u.length > 1 && !h && (N = u.shift() + C, h = !0), y += u.pop(), Y(y, m);
7970
7970
  break;
7971
7971
  case 23:
7972
7972
  ie();
7973
7973
  break;
7974
7974
  case 24:
7975
7975
  for (; u.length > 2; )
7976
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c + u.shift(), l.curveTo(i, a, o, c, y, g);
7977
- y += u.shift(), g += u.shift(), l.lineTo(y, g);
7976
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c + u.shift(), l.curveTo(i, a, o, c, y, m);
7977
+ y += u.shift(), m += u.shift(), l.lineTo(y, m);
7978
7978
  break;
7979
7979
  case 25:
7980
7980
  for (; u.length > 6; )
7981
- y += u.shift(), g += u.shift(), l.lineTo(y, g);
7982
- i = y + u.shift(), a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c + u.shift(), l.curveTo(i, a, o, c, y, g);
7981
+ y += u.shift(), m += u.shift(), l.lineTo(y, m);
7982
+ i = y + u.shift(), a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c + u.shift(), l.curveTo(i, a, o, c, y, m);
7983
7983
  break;
7984
7984
  case 26:
7985
7985
  for (u.length & 1 && (y += u.shift()); u.length > 0; )
7986
- i = y, a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o, g = c + u.shift(), l.curveTo(i, a, o, c, y, g);
7986
+ i = y, a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o, m = c + u.shift(), l.curveTo(i, a, o, c, y, m);
7987
7987
  break;
7988
7988
  case 27:
7989
- for (u.length & 1 && (g += u.shift()); u.length > 0; )
7990
- i = y + u.shift(), a = g, o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c, l.curveTo(i, a, o, c, y, g);
7989
+ for (u.length & 1 && (m += u.shift()); u.length > 0; )
7990
+ i = y + u.shift(), a = m, o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c, l.curveTo(i, a, o, c, y, m);
7991
7991
  break;
7992
7992
  case 28:
7993
7993
  _ = D[ce], re = D[ce + 1], u.push((_ << 24 | re << 16) >> 16), ce += 2;
7994
7994
  break;
7995
7995
  case 29:
7996
- if (_e = u.pop() + t.gsubrsBias, fe = t.gsubrs[_e], fe) {
7997
- if (U >= Us) {
7996
+ if (_e = u.pop() + t.gsubrsBias, me = t.gsubrs[_e], me) {
7997
+ if (P >= Us) {
7998
7998
  console.warn("CFF charstring subroutine call depth exceeded, skipping callgsubr");
7999
7999
  break;
8000
8000
  }
8001
- U++, P(fe), U--;
8001
+ P++, U(me), P--;
8002
8002
  }
8003
8003
  break;
8004
8004
  case 30:
8005
- for (; u.length > 0 && (i = y, a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, g), u.length !== 0); )
8006
- i = y + u.shift(), a = g, o = i + u.shift(), c = a + u.shift(), g = c + u.shift(), y = o + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, g);
8005
+ for (; u.length > 0 && (i = y, a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, m), u.length !== 0); )
8006
+ i = y + u.shift(), a = m, o = i + u.shift(), c = a + u.shift(), m = c + u.shift(), y = o + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, m);
8007
8007
  break;
8008
8008
  case 31:
8009
- for (; u.length > 0 && (i = y + u.shift(), a = g, o = i + u.shift(), c = a + u.shift(), g = c + u.shift(), y = o + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, g), u.length !== 0); )
8010
- i = y, a = g + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), g = c + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, g);
8009
+ for (; u.length > 0 && (i = y + u.shift(), a = m, o = i + u.shift(), c = a + u.shift(), m = c + u.shift(), y = o + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, m), u.length !== 0); )
8010
+ i = y, a = m + u.shift(), o = i + u.shift(), c = a + u.shift(), y = o + u.shift(), m = c + (u.length === 1 ? u.shift() : 0), l.curveTo(i, a, o, c, y, m);
8011
8011
  break;
8012
8012
  default:
8013
8013
  ve < 32 ? console.log("Glyph " + e.index + ": unknown operator " + ve) : ve < 247 ? u.push(ve - 139) : ve < 251 ? (_ = D[ce], ce += 1, u.push((ve - 247) * 256 + _ + 108)) : ve < 255 ? (_ = D[ce], ce += 1, u.push(-(ve - 251) * 256 - _ - 108)) : (_ = D[ce], re = D[ce + 1], Te = D[ce + 2], Qe = D[ce + 3], ce += 4, u.push((_ << 24 | re << 16 | Te << 8 | Qe) / 65536));
8014
8014
  }
8015
8015
  }
8016
8016
  }
8017
- return P(n), t.variation && s && (l.commands = l.commands.map((D) => {
8017
+ return U(n), t.variation && s && (l.commands = l.commands.map((D) => {
8018
8018
  const _ = Object.keys(D);
8019
8019
  for (let re = 0; re < _.length; re++) {
8020
8020
  const Te = _[re];
@@ -8074,21 +8074,21 @@ function Nl(t, e, n, r) {
8074
8074
  let h = u.fdArray, p = u.fdSelect;
8075
8075
  if (!h)
8076
8076
  throw new Error("This is a CFF2 font, but FDArray information is missing");
8077
- const y = $e(t, e + h, null, i.formatMajor), g = Ml(t, e, y.objects);
8078
- u._fdArray = g, p && (u._fdSelect = Ps(t, e + p, n.numGlyphs, g.length, i.formatMajor));
8077
+ const y = $e(t, e + h, null, i.formatMajor), m = Ml(t, e, y.objects);
8078
+ u._fdArray = m, p && (u._fdSelect = Ps(t, e + p, n.numGlyphs, m.length, i.formatMajor));
8079
8079
  } else if (n.isCIDFont) {
8080
8080
  let h = u.fdArray, p = u.fdSelect;
8081
8081
  if (h === 0 || p === 0)
8082
8082
  throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");
8083
8083
  h += e;
8084
- const y = $e(t, h), g = Qn(t, e, y.objects, c.objects, i.formatMajor);
8085
- u._fdArray = g, p += e, u._fdSelect = Ps(t, p, n.numGlyphs, g.length, i.formatMajor);
8084
+ const y = $e(t, h), m = Qn(t, e, y.objects, c.objects, i.formatMajor);
8085
+ u._fdArray = m, p += e, u._fdSelect = Ps(t, p, n.numGlyphs, m.length, i.formatMajor);
8086
8086
  }
8087
8087
  if (i.formatMajor < 2) {
8088
8088
  const h = e + u.private[1], p = Jr(t, h, u.private[0], c.objects, i.formatMajor);
8089
8089
  if (n.defaultWidthX = p.defaultWidthX, n.nominalWidthX = p.nominalWidthX, p.subrs !== 0) {
8090
- const y = h + p.subrs, g = $e(t, y);
8091
- n.subrs = g.objects, n.subrsBias = _n(n.subrs);
8090
+ const y = h + p.subrs, m = $e(t, y);
8091
+ n.subrs = m.objects, n.subrsBias = _n(n.subrs);
8092
8092
  } else
8093
8093
  n.subrs = [], n.subrsBias = 0;
8094
8094
  }
@@ -9274,13 +9274,13 @@ function Fu(t, e, n) {
9274
9274
  for (let b = 0; b < c; b++)
9275
9275
  r.offset = e + l, r.relativeOffset = b * o, p.push(r.parseStruct(Tu));
9276
9276
  r.offset = e, r.relativeOffset = f;
9277
- const y = r.parseUShortList(u), g = [];
9277
+ const y = r.parseUShortList(u), m = [];
9278
9278
  for (let b = 0; b < u; b++)
9279
- r.offset = e + f, r.relativeOffset = y[b], g.push(ku.apply(r));
9279
+ r.offset = e + f, r.relativeOffset = y[b], m.push(ku.apply(r));
9280
9280
  return {
9281
9281
  version: a,
9282
9282
  axes: p,
9283
- values: g,
9283
+ values: m,
9284
9284
  elidedFallbackNameID: h
9285
9285
  };
9286
9286
  }
@@ -9491,8 +9491,8 @@ function Gu(t, e) {
9491
9491
  const u = s.parseUShort(), f = s.parseUShort(), h = a + s.parseOffset32(), p = s.parseULong();
9492
9492
  let y = c.get(h);
9493
9493
  y === void 0 && (y = new Uint8Array(r, h, p), c.set(h, y));
9494
- for (let g = u; g <= f; g++)
9495
- n.set(g, y);
9494
+ for (let m = u; m <= f; m++)
9495
+ n.set(m, y);
9496
9496
  }
9497
9497
  return n;
9498
9498
  }
@@ -9500,21 +9500,21 @@ function Hu(t) {
9500
9500
  const e = Array.from(t.keys()).sort(), n = [], r = [], s = /* @__PURE__ */ new Map();
9501
9501
  let i = 0, a = { endGlyphID: null };
9502
9502
  for (let h = 0, p = e.length; h < p; h++) {
9503
- const y = e[h], g = t.get(y);
9504
- let b = s.get(g);
9505
- b === void 0 && (b = i, r.push(g), s.set(g, b), i += g.byteLength), y - 1 === a.endGlyphID && b === a.svgDocOffset ? a.endGlyphID = y : (a = {
9503
+ const y = e[h], m = t.get(y);
9504
+ let b = s.get(m);
9505
+ b === void 0 && (b = i, r.push(m), s.set(m, b), i += m.byteLength), y - 1 === a.endGlyphID && b === a.svgDocOffset ? a.endGlyphID = y : (a = {
9506
9506
  startGlyphID: y,
9507
9507
  endGlyphID: y,
9508
9508
  svgDocOffset: b,
9509
- svgDocLength: g.byteLength
9509
+ svgDocLength: m.byteLength
9510
9510
  }, n.push(a));
9511
9511
  }
9512
9512
  const o = n.length, c = r.length, l = 2 + o * 12, u = new Array(4 + o * 4 + c);
9513
9513
  let f = 0;
9514
9514
  u[f++] = { name: "version", type: "USHORT", value: 0 }, u[f++] = { name: "svgDocumentListOffset", type: "ULONG", value: 10 }, u[f++] = { name: "reserved", type: "ULONG", value: 0 }, u[f++] = { name: "numEntries", type: "USHORT", value: o };
9515
9515
  for (let h = 0; h < o; h++) {
9516
- const p = "documentRecord_" + h, { startGlyphID: y, endGlyphID: g, svgDocOffset: b, svgDocLength: v } = n[h];
9517
- u[f++] = { name: p + "_startGlyphID", type: "USHORT", value: y }, u[f++] = { name: p + "_endGlyphID", type: "USHORT", value: g }, u[f++] = { name: p + "_svgDocOffset", type: "ULONG", value: l + b }, u[f++] = { name: p + "_svgDocLength", type: "ULONG", value: v };
9516
+ const p = "documentRecord_" + h, { startGlyphID: y, endGlyphID: m, svgDocOffset: b, svgDocLength: v } = n[h];
9517
+ u[f++] = { name: p + "_startGlyphID", type: "USHORT", value: y }, u[f++] = { name: p + "_endGlyphID", type: "USHORT", value: m }, u[f++] = { name: p + "_svgDocOffset", type: "ULONG", value: l + b }, u[f++] = { name: p + "_svgDocLength", type: "ULONG", value: v };
9518
9518
  }
9519
9519
  for (let h = 0; h < c; h++)
9520
9520
  u[f++] = { name: "svgDoc_" + h, type: "LITERAL", value: r[h] };
@@ -9618,8 +9618,8 @@ function Wu(t) {
9618
9618
  minRightSideBearing: Math.min.apply(null, o)
9619
9619
  };
9620
9620
  y.ascender = t.ascender, y.descender = t.descender;
9621
- let g = 0;
9622
- t.weightClass >= 600 && (g |= t.macStyleValues.BOLD), t.italicAngle < 0 && (g |= t.macStyleValues.ITALIC);
9621
+ let m = 0;
9622
+ t.weightClass >= 600 && (m |= t.macStyleValues.BOLD), t.italicAngle < 0 && (m |= t.macStyleValues.ITALIC);
9623
9623
  const b = Va.make({
9624
9624
  flags: 3,
9625
9625
  // 00000011 (baseline for font at y=0; left sidebearing point at x=0)
@@ -9629,7 +9629,7 @@ function Wu(t) {
9629
9629
  xMax: y.xMax,
9630
9630
  yMax: y.yMax,
9631
9631
  lowestRecPPEM: 3,
9632
- macStyle: g,
9632
+ macStyle: m,
9633
9633
  createdTimestamp: t.createdTimestamp
9634
9634
  }), v = qa.make({
9635
9635
  ascender: y.ascender,
@@ -9664,14 +9664,14 @@ function Wu(t) {
9664
9664
  // Use space as the default character, if available.
9665
9665
  usBreakChar: t.hasChar(" ") ? 32 : 0
9666
9666
  // Use space as the break character, if available.
9667
- }, t.tables.os2)), T = ja.make(t.glyphs), E = Ia.make(t.glyphs), R = t.getEnglishName("fontFamily"), U = t.getEnglishName("fontSubfamily"), W = R + " " + U;
9667
+ }, t.tables.os2)), T = ja.make(t.glyphs), E = Ia.make(t.glyphs), R = t.getEnglishName("fontFamily"), P = t.getEnglishName("fontSubfamily"), W = R + " " + P;
9668
9668
  let j = t.getEnglishName("postScriptName");
9669
- j || (j = R.replace(/\s/g, "") + "-" + U);
9669
+ j || (j = R.replace(/\s/g, "") + "-" + P);
9670
9670
  const N = {};
9671
9671
  for (let K in t.names)
9672
9672
  N[K] = t.names[K];
9673
9673
  N.unicode = N.unicode || {}, N.macintosh = N.macintosh || {}, N.windows = N.windows || {};
9674
- const $ = t.names.unicode || {}, ie = t.names.macintosh || {}, P = t.names.windows || {};
9674
+ const Y = t.names.unicode || {}, ie = t.names.macintosh || {}, U = t.names.windows || {};
9675
9675
  for (const K in N) {
9676
9676
  if (N[K] = N[K] || {}, !N[K].uniqueID) {
9677
9677
  const xe = t.getEnglishName("manufacturer") || "";
@@ -9679,19 +9679,19 @@ function Wu(t) {
9679
9679
  }
9680
9680
  N[K].postScriptName || (N[K].postScriptName = { en: j });
9681
9681
  }
9682
- N.unicode.preferredFamily || (N.unicode.preferredFamily = $.fontFamily || ie.fontFamily || P.fontFamily), N.macintosh.preferredFamily || (N.macintosh.preferredFamily = ie.fontFamily || $.fontFamily || P.fontFamily), N.windows.preferredFamily || (N.windows.preferredFamily = P.fontFamily || $.fontFamily || ie.fontFamily), N.unicode.preferredSubfamily || (N.unicode.preferredSubfamily = $.fontSubfamily || ie.fontSubfamily || P.fontSubfamily), N.macintosh.preferredSubfamily || (N.macintosh.preferredSubfamily = ie.fontSubfamily || $.fontSubfamily || P.fontSubfamily), N.windows.preferredSubfamily || (N.windows.preferredSubfamily = P.fontSubfamily || $.fontSubfamily || ie.fontSubfamily);
9682
+ N.unicode.preferredFamily || (N.unicode.preferredFamily = Y.fontFamily || ie.fontFamily || U.fontFamily), N.macintosh.preferredFamily || (N.macintosh.preferredFamily = ie.fontFamily || Y.fontFamily || U.fontFamily), N.windows.preferredFamily || (N.windows.preferredFamily = U.fontFamily || Y.fontFamily || ie.fontFamily), N.unicode.preferredSubfamily || (N.unicode.preferredSubfamily = Y.fontSubfamily || ie.fontSubfamily || U.fontSubfamily), N.macintosh.preferredSubfamily || (N.macintosh.preferredSubfamily = ie.fontSubfamily || Y.fontSubfamily || U.fontSubfamily), N.windows.preferredSubfamily || (N.windows.preferredSubfamily = U.fontSubfamily || Y.fontSubfamily || ie.fontSubfamily);
9683
9683
  const D = [], _ = La.make(N, D), re = D.length > 0 ? $a.make(D) : void 0, Te = Xa.make(t), Qe = Mr.make(t.glyphs, {
9684
9684
  version: t.getEnglishName("version"),
9685
9685
  fullName: W,
9686
9686
  familyName: R,
9687
- weightName: U,
9687
+ weightName: P,
9688
9688
  postScriptName: j,
9689
9689
  unitsPerEm: t.unitsPerEm,
9690
9690
  fontBBox: [0, y.yMin, y.ascender, y.advanceWidthMax],
9691
9691
  topDict: t.tables.cff && t.tables.cff.topDict || {}
9692
- }), _e = t.metas && Object.keys(t.metas).length > 0 ? Za.make(t.metas) : void 0, fe = [b, v, w, C, _, E, Te, Qe, T];
9693
- re && fe.push(re);
9694
- const Y = {
9692
+ }), _e = t.metas && Object.keys(t.metas).length > 0 ? Za.make(t.metas) : void 0, me = [b, v, w, C, _, E, Te, Qe, T];
9693
+ re && me.push(re);
9694
+ const $ = {
9695
9695
  gsub: Ka,
9696
9696
  cpal: Ua,
9697
9697
  colr: Ja,
@@ -9706,24 +9706,24 @@ function Wu(t) {
9706
9706
  avar: [t.tables.fvar],
9707
9707
  fvar: [t.names]
9708
9708
  };
9709
- for (let K in Y) {
9709
+ for (let K in $) {
9710
9710
  const xe = t.tables[K];
9711
9711
  if (xe) {
9712
- const Ee = Y[K].make.call(t, xe, ...ne[K] || []);
9713
- Ee && fe.push(Ee);
9712
+ const Ee = $[K].make.call(t, xe, ...ne[K] || []);
9713
+ Ee && me.push(Ee);
9714
9714
  }
9715
9715
  }
9716
- _e && fe.push(_e);
9717
- const de = ao(fe), be = de.encode(), me = Qr(be), ye = de.fields;
9716
+ _e && me.push(_e);
9717
+ const pe = ao(me), be = pe.encode(), ge = Qr(be), ye = pe.fields;
9718
9718
  let ce = !1;
9719
9719
  for (let K = 0; K < ye.length; K += 1)
9720
9720
  if (ye[K].name === "head table") {
9721
- ye[K].value.checkSumAdjustment = 2981146554 - me, ce = !0;
9721
+ ye[K].value.checkSumAdjustment = 2981146554 - ge, ce = !0;
9722
9722
  break;
9723
9723
  }
9724
9724
  if (!ce)
9725
9725
  throw new Error("Could not find head table with checkSum to adjust.");
9726
- return de;
9726
+ return pe;
9727
9727
  }
9728
9728
  var Vu = { make: ao, fontToTable: Wu, computeCheckSum: Qr };
9729
9729
  function er(t, e) {
@@ -10191,10 +10191,10 @@ De.prototype.getLigatures = function(t, e, n) {
10191
10191
  for (let f = 0; f < l.length; f++) {
10192
10192
  const h = l[f], p = u[f];
10193
10193
  for (let y = 0; y < p.length; y++) {
10194
- const g = p[y];
10194
+ const m = p[y];
10195
10195
  r.push({
10196
- sub: [h].concat(g.components),
10197
- by: g.ligGlyph
10196
+ sub: [h].concat(m.components),
10197
+ by: m.ligGlyph
10198
10198
  });
10199
10199
  }
10200
10200
  }
@@ -10720,8 +10720,8 @@ function oh(t, e) {
10720
10720
  document.body.removeChild(l);
10721
10721
  const f = (u.x - s.x) * o, h = (s.y - u.y) * c, p = u.width * o, y = u.height * c;
10722
10722
  r.setAttribute("viewBox", [u.x, u.y, u.width, u.height].join(" ")), o !== 1 && r.setAttribute("width", p), c !== 1 && r.setAttribute("height", y);
10723
- const g = new Image(p, y);
10724
- return g.src = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(r.outerHTML), { leftSideBearing: f, baseline: h, image: g };
10723
+ const m = new Image(p, y);
10724
+ return m.src = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(r.outerHTML), { leftSideBearing: f, baseline: h, image: m };
10725
10725
  }
10726
10726
  var tr = /* @__PURE__ */ new WeakMap();
10727
10727
  function $s(t, e, n, r, s) {
@@ -10983,9 +10983,9 @@ var fo = { getPath: ts, parse: hh }, fh = class {
10983
10983
  let u = s[n][l], f = s[r][l], h = i[n][l], p = i[r][l];
10984
10984
  if (u !== f || h === p) {
10985
10985
  let y = u === f ? 0 : (p - h) / (f - u);
10986
- for (let g = t; g <= e; g++) {
10987
- let b = s[g][l];
10988
- b <= u ? b += h - u : b >= f ? b += p - f : b = h + (b - u) * y, i[g][l] = b;
10986
+ for (let m = t; m <= e; m++) {
10987
+ let b = s[m][l];
10988
+ b <= u ? b += h - u : b >= f ? b += p - f : b = h + (b - u) * y, i[m][l] = b;
10989
10989
  }
10990
10990
  }
10991
10991
  }
@@ -11031,16 +11031,16 @@ var fo = { getPath: ts, parse: hh }, fh = class {
11031
11031
  const f = a[u];
11032
11032
  let h = 1;
11033
11033
  for (let y = 0; y < c; y++) {
11034
- let g = [0];
11034
+ let m = [0];
11035
11035
  switch (r) {
11036
11036
  case "gvar":
11037
- g = f.peakTuple ? f.peakTuple : this.gvar().sharedTuples[f.sharedTupleRecordsIndex];
11037
+ m = f.peakTuple ? f.peakTuple : this.gvar().sharedTuples[f.sharedTupleRecordsIndex];
11038
11038
  break;
11039
11039
  case "cvar":
11040
- g = f.peakTuple;
11040
+ m = f.peakTuple;
11041
11041
  break;
11042
11042
  }
11043
- if (g[y] !== 0) {
11043
+ if (m[y] !== 0) {
11044
11044
  if (i[y] === 0) {
11045
11045
  h = 0;
11046
11046
  break;
@@ -11049,13 +11049,13 @@ var fo = { getPath: ts, parse: hh }, fh = class {
11049
11049
  if (i[y] < f.intermediateStartTuple[y] || i[y] > f.intermediateEndTuple[y]) {
11050
11050
  h = 0;
11051
11051
  break;
11052
- } else i[y] < g[y] ? h = h * (i[y] - f.intermediateStartTuple[y] + Number.EPSILON) / (g[y] - f.intermediateStartTuple[y] + Number.EPSILON) : h = h * (f.intermediateEndTuple[y] - i[y] + Number.EPSILON) / (f.intermediateEndTuple[y] - g[y] + Number.EPSILON);
11052
+ } else i[y] < m[y] ? h = h * (i[y] - f.intermediateStartTuple[y] + Number.EPSILON) / (m[y] - f.intermediateStartTuple[y] + Number.EPSILON) : h = h * (f.intermediateEndTuple[y] - i[y] + Number.EPSILON) / (f.intermediateEndTuple[y] - m[y] + Number.EPSILON);
11053
11053
  else {
11054
- if (i[y] < Math.min(0, g[y]) || i[y] > Math.max(0, g[y])) {
11054
+ if (i[y] < Math.min(0, m[y]) || i[y] > Math.max(0, m[y])) {
11055
11055
  h = 0;
11056
11056
  break;
11057
11057
  }
11058
- h = (h * i[y] + Number.EPSILON) / (g[y] + Number.EPSILON);
11058
+ h = (h * i[y] + Number.EPSILON) / (m[y] + Number.EPSILON);
11059
11059
  }
11060
11060
  }
11061
11061
  }
@@ -11066,27 +11066,27 @@ var fo = { getPath: ts, parse: hh }, fh = class {
11066
11066
  this.transformComponents(s.glyph, l, n, p, f, h);
11067
11067
  else if (p.length === 0)
11068
11068
  for (let y = 0; y < l.length; y++) {
11069
- const g = l[y];
11069
+ const m = l[y];
11070
11070
  r === "gvar" ? l[y] = {
11071
- x: Math.round(g.x + f.deltas[y] * h),
11072
- y: Math.round(g.y + f.deltasY[y] * h),
11073
- onCurve: g.onCurve,
11074
- lastPointOfContour: g.lastPointOfContour
11075
- } : r === "cvar" && (l[y] = Math.round(g + f.deltas[y] * h));
11071
+ x: Math.round(m.x + f.deltas[y] * h),
11072
+ y: Math.round(m.y + f.deltasY[y] * h),
11073
+ onCurve: m.onCurve,
11074
+ lastPointOfContour: m.lastPointOfContour
11075
+ } : r === "cvar" && (l[y] = Math.round(m + f.deltas[y] * h));
11076
11076
  }
11077
11077
  else {
11078
11078
  let y;
11079
11079
  r === "gvar" ? y = l.map(js) : r === "cvar" && (y = l);
11080
- const g = Array(e.length).fill(!1);
11080
+ const m = Array(e.length).fill(!1);
11081
11081
  for (let b = 0; b < p.length; b++) {
11082
11082
  let v = p[b];
11083
11083
  if (v < e.length) {
11084
11084
  let w = y[v];
11085
- r === "gvar" ? (g[v] = !0, w.x += f.deltas[b] * h, w.y += f.deltasY[b] * h) : r === "cvar" && (l[v] = Math.round(w + f.deltas[b] * h));
11085
+ r === "gvar" ? (m[v] = !0, w.x += f.deltas[b] * h, w.y += f.deltasY[b] * h) : r === "cvar" && (l[v] = Math.round(w + f.deltas[b] * h));
11086
11086
  }
11087
11087
  }
11088
11088
  if (r === "gvar") {
11089
- this.interpolatePoints(y, l, g);
11089
+ this.interpolatePoints(y, l, m);
11090
11090
  for (let b = 0; b < e.length; b++) {
11091
11091
  let v = y[b].x - l[b].x, w = y[b].y - l[b].y;
11092
11092
  l[b].x = Math.round(l[b].x + v), l[b].y = Math.round(l[b].y + w);
@@ -11607,15 +11607,15 @@ go = function(t, e) {
11607
11607
  for (let l = 0; l < s.length; l++) {
11608
11608
  const u = s[l], f = c.glyphs.get(u.glyphIndex);
11609
11609
  o = new pt("glyf", f.instructions), o.instructionCount = 0, o.callDepth = 0, Pr(f, o, n, r);
11610
- const h = Math.round(u.dx * n), p = Math.round(u.dy * r), y = o.gZone, g = o.contours;
11610
+ const h = Math.round(u.dx * n), p = Math.round(u.dy * r), y = o.gZone, m = o.contours;
11611
11611
  for (let v = 0; v < y.length; v++) {
11612
11612
  const w = y[v];
11613
11613
  w.xTouched = w.yTouched = !1, w.xo = w.x = w.x + h, w.yo = w.y = w.y + p;
11614
11614
  }
11615
11615
  const b = a.length;
11616
11616
  a.push.apply(a, y);
11617
- for (let v = 0; v < g.length; v++)
11618
- i.push(g[v] + b);
11617
+ for (let v = 0; v < m.length; v++)
11618
+ i.push(m[v] + b);
11619
11619
  }
11620
11620
  t.instructions && !o.inhibitGridFit && (o = new pt("glyf", t.instructions), o.gZone = o.z0 = o.z1 = o.z2 = a, o.contours = i, a.push(
11621
11621
  new at(0, 0),
@@ -11724,8 +11724,8 @@ function Th(t) {
11724
11724
  t.fv = t.pv;
11725
11725
  }
11726
11726
  function kh(t) {
11727
- const e = t.stack, n = e.pop(), r = e.pop(), s = e.pop(), i = e.pop(), a = e.pop(), o = t.z0, c = t.z1, l = o[n], u = o[r], f = c[s], h = c[i], p = t.z2[a], y = l.x, g = l.y, b = u.x, v = u.y, w = f.x, C = f.y, T = h.x, E = h.y, R = (y - b) * (C - E) - (g - v) * (w - T), U = y * v - g * b, W = w * E - C * T;
11728
- p.x = (U * (w - T) - W * (y - b)) / R, p.y = (U * (C - E) - W * (g - v)) / R;
11727
+ const e = t.stack, n = e.pop(), r = e.pop(), s = e.pop(), i = e.pop(), a = e.pop(), o = t.z0, c = t.z1, l = o[n], u = o[r], f = c[s], h = c[i], p = t.z2[a], y = l.x, m = l.y, b = u.x, v = u.y, w = f.x, C = f.y, T = h.x, E = h.y, R = (y - b) * (C - E) - (m - v) * (w - T), P = y * v - m * b, W = w * E - C * T;
11728
+ p.x = (P * (w - T) - W * (y - b)) / R, p.y = (P * (C - E) - W * (m - v)) / R;
11729
11729
  }
11730
11730
  function Fh(t) {
11731
11731
  t.rp0 = t.stack.pop();
@@ -12058,8 +12058,8 @@ function rr(t, e) {
12058
12058
  if (o + ((h & 240) >> 4) !== a) continue;
12059
12059
  let y = (h & 15) - 8;
12060
12060
  y >= 0 && y++;
12061
- const g = l[f];
12062
- s.setRelative(g, g, y * c, i);
12061
+ const m = l[f];
12062
+ s.setRelative(m, m, y * c, i);
12063
12063
  }
12064
12064
  }
12065
12065
  function Sf(t) {
@@ -12260,8 +12260,8 @@ function ct(t, e) {
12260
12260
  }
12261
12261
  function G(t, e, n, r, s, i) {
12262
12262
  const a = i.stack, o = t && a.pop(), c = a.pop(), l = i.rp0, u = i.z0[l], f = i.z1[c], h = i.minDis, p = i.fv, y = i.dpv;
12263
- let g, b, v;
12264
- g = y.distance(f, u, !0, !0), b = g >= 0 ? 1 : -1, g = Math.abs(g), t && (v = i.cvt[o], r && Math.abs(g - v) < i.cvCutIn && (g = v)), n && g < h && (g = h), r && (g = i.round(g)), p.setRelative(f, u, b * g, y), p.touch(f), i.rp1 = i.rp0, i.rp2 = c, e && (i.rp0 = c);
12263
+ let m, b, v;
12264
+ m = y.distance(f, u, !0, !0), b = m >= 0 ? 1 : -1, m = Math.abs(m), t && (v = i.cvt[o], r && Math.abs(m - v) < i.cvCutIn && (m = v)), n && m < h && (m = h), r && (m = i.round(m)), p.setRelative(f, u, b * m, y), p.touch(f), i.rp1 = i.rp0, i.rp2 = c, e && (i.rp0 = c);
12265
12265
  }
12266
12266
  po = [
12267
12267
  /* 0x00 */
@@ -13134,7 +13134,7 @@ function Zf(t, e) {
13134
13134
  let h = [];
13135
13135
  if (f)
13136
13136
  for (let p = 0; p < e.lookupRecords.length; p++) {
13137
- const y = e.lookupRecords[p], g = y.lookupListIndex, b = this.getLookupByIndex(g);
13137
+ const y = e.lookupRecords[p], m = y.lookupListIndex, b = this.getLookupByIndex(m);
13138
13138
  for (let v = 0; v < b.subtables.length; v++) {
13139
13139
  let w = b.subtables[v], C, T = this.getSubstitutionType(b, w);
13140
13140
  if (T === "71" ? (T = this.getSubstitutionType(w, w.extension), C = this.getLookupMethod(w, w.extension), w = w.extension) : C = this.getLookupMethod(b, w), T === "12") {
@@ -14478,26 +14478,26 @@ function vd(t, e = {}) {
14478
14478
  else if (c === "OTTO")
14479
14479
  s.outlinesFormat = "cff", a = M.getUShort(i, 4), o = yi(i, a);
14480
14480
  else if (c === "wOFF") {
14481
- const P = M.getTag(i, 4);
14482
- if (P === "\0\0\0")
14481
+ const U = M.getTag(i, 4);
14482
+ if (U === "\0\0\0")
14483
14483
  s.outlinesFormat = "truetype";
14484
- else if (P === "OTTO")
14484
+ else if (U === "OTTO")
14485
14485
  s.outlinesFormat = "cff";
14486
14486
  else
14487
14487
  throw new Error("Unsupported OpenType flavor " + c);
14488
14488
  a = M.getUShort(i, 12), o = xd(i, a);
14489
14489
  } else if (c === "wOF2") {
14490
- const P = "https://github.com/opentypejs/opentype.js/issues/183#issuecomment-1147228025";
14491
- throw new Error("WOFF2 require an external decompressor library, see examples at: " + P);
14490
+ const U = "https://github.com/opentypejs/opentype.js/issues/183#issuecomment-1147228025";
14491
+ throw new Error("WOFF2 require an external decompressor library, see examples at: " + U);
14492
14492
  } else
14493
14493
  throw new Error("Unsupported OpenType signature " + c);
14494
- let l, u, f, h, p, y, g, b, v, w, C, T, E, R, U, W, j, N;
14495
- for (let P = 0; P < a; P += 1) {
14496
- const D = o[P];
14494
+ let l, u, f, h, p, y, m, b, v, w, C, T, E, R, P, W, j, N;
14495
+ for (let U = 0; U < a; U += 1) {
14496
+ const D = o[U];
14497
14497
  let _;
14498
14498
  switch (D.tag) {
14499
14499
  case "avar":
14500
- g = D;
14500
+ m = D;
14501
14501
  break;
14502
14502
  case "cmap":
14503
14503
  _ = Z(i, D), s.tables.cmap = Ia.parse(_.data, _.offset), s.encoding = new Ba(s.tables.cmap);
@@ -14560,7 +14560,7 @@ function vd(t, e = {}) {
14560
14560
  b = D;
14561
14561
  break;
14562
14562
  case "loca":
14563
- U = D;
14563
+ P = D;
14564
14564
  break;
14565
14565
  case "CFF ":
14566
14566
  l = D;
@@ -14595,67 +14595,67 @@ function vd(t, e = {}) {
14595
14595
  break;
14596
14596
  }
14597
14597
  }
14598
- const $ = Z(i, W);
14599
- if (s.tables.name = La.parse($.data, $.offset, r), s.names = s.tables.name, b && U) {
14600
- const P = n === 0, D = Z(i, U), _ = bd.parse(D.data, D.offset, s.numGlyphs, P), re = Z(i, b);
14598
+ const Y = Z(i, W);
14599
+ if (s.tables.name = La.parse(Y.data, Y.offset, r), s.names = s.tables.name, b && P) {
14600
+ const U = n === 0, D = Z(i, P), _ = bd.parse(D.data, D.offset, s.numGlyphs, U), re = Z(i, b);
14601
14601
  s.glyphs = fo.parse(re.data, re.offset, _, s, e);
14602
14602
  } else if (l) {
14603
- const P = Z(i, l);
14604
- Mr.parse(P.data, P.offset, s, e);
14603
+ const U = Z(i, l);
14604
+ Mr.parse(U.data, U.offset, s, e);
14605
14605
  } else if (u) {
14606
- const P = Z(i, u);
14607
- Mr.parse(P.data, P.offset, s, e);
14606
+ const U = Z(i, u);
14607
+ Mr.parse(U.data, U.offset, s, e);
14608
14608
  } else
14609
14609
  throw new Error("Font doesn't contain TrueType, CFF or CFF2 outlines.");
14610
14610
  const ie = Z(i, T);
14611
14611
  if (ja.parse(s, ie.data, ie.offset, s.numberOfHMetrics, s.numGlyphs, s.glyphs, e), dl(s, e), R) {
14612
- const P = Z(i, R);
14613
- s.kerningPairs = md.parse(P.data, P.offset);
14612
+ const U = Z(i, R);
14613
+ s.kerningPairs = md.parse(U.data, U.offset);
14614
14614
  } else
14615
14615
  s.kerningPairs = {};
14616
14616
  if (v) {
14617
- const P = Z(i, v);
14618
- s.tables.gdef = cd.parse(P.data, P.offset);
14617
+ const U = Z(i, v);
14618
+ s.tables.gdef = cd.parse(U.data, U.offset);
14619
14619
  }
14620
14620
  if (w) {
14621
- const P = Z(i, w);
14622
- s.tables.gpos = fd.parse(P.data, P.offset), s.position.init();
14621
+ const U = Z(i, w);
14622
+ s.tables.gpos = fd.parse(U.data, U.offset), s.position.init();
14623
14623
  }
14624
14624
  if (C) {
14625
- const P = Z(i, C);
14626
- s.tables.gsub = Ka.parse(P.data, P.offset);
14625
+ const U = Z(i, C);
14626
+ s.tables.gsub = Ka.parse(U.data, U.offset);
14627
14627
  }
14628
14628
  if (f) {
14629
- const P = Z(i, f);
14630
- s.tables.fvar = Qa.parse(P.data, P.offset, s.names);
14629
+ const U = Z(i, f);
14630
+ s.tables.fvar = Qa.parse(U.data, U.offset, s.names);
14631
14631
  }
14632
14632
  if (h) {
14633
- const P = Z(i, h);
14634
- s.tables.stat = eo.parse(P.data, P.offset, s.tables.fvar);
14633
+ const U = Z(i, h);
14634
+ s.tables.stat = eo.parse(U.data, U.offset, s.tables.fvar);
14635
14635
  }
14636
14636
  if (p) {
14637
14637
  f || console.warn("This font provides a gvar table, but no fvar table, which is required for variable fonts."), b || console.warn("This font provides a gvar table, but no glyf table. Glyph variation only works with TrueType outlines.");
14638
- const P = Z(i, p);
14639
- s.tables.gvar = ro.parse(P.data, P.offset, s.tables.fvar, s.glyphs);
14638
+ const U = Z(i, p);
14639
+ s.tables.gvar = ro.parse(U.data, U.offset, s.tables.fvar, s.glyphs);
14640
14640
  }
14641
14641
  if (y) {
14642
14642
  f || console.warn("This font provides a cvar table, but no fvar table, which is required for variable fonts."), s.tables.cvt || console.warn("This font provides a cvar table, but no cvt table which could be made variable."), b || console.warn("This font provides a gvar table, but no glyf table. Glyph variation only works with TrueType outlines.");
14643
- const P = Z(i, y);
14644
- s.tables.cvar = no.parse(P.data, P.offset, s.tables.fvar, s.tables.cvt || []);
14643
+ const U = Z(i, y);
14644
+ s.tables.cvar = no.parse(U.data, U.offset, s.tables.fvar, s.tables.cvt || []);
14645
14645
  }
14646
- if (g) {
14646
+ if (m) {
14647
14647
  f || console.warn("This font provides an avar table, but no fvar table, which is required for variable fonts.");
14648
- const P = Z(i, g);
14649
- s.tables.avar = to.parse(P.data, P.offset, s.tables.fvar);
14648
+ const U = Z(i, m);
14649
+ s.tables.avar = to.parse(U.data, U.offset, s.tables.fvar);
14650
14650
  }
14651
14651
  if (E) {
14652
14652
  f || console.warn("This font provides an HVAR table, but no fvar table, which is required for variable fonts."), T || console.warn("This font provides an HVAR table, but no hmtx table to vary.");
14653
- const P = Z(i, E);
14654
- s.tables.hvar = td.parse(P.data, P.offset, s.tables.fvar);
14653
+ const U = Z(i, E);
14654
+ s.tables.hvar = td.parse(U.data, U.offset, s.tables.fvar);
14655
14655
  }
14656
14656
  if (j) {
14657
- const P = Z(i, j);
14658
- s.tables.meta = Za.parse(P.data, P.offset), s.metas = s.tables.meta;
14657
+ const U = Z(i, j);
14658
+ s.tables.meta = Za.parse(U.data, U.offset), s.metas = s.tables.meta;
14659
14659
  }
14660
14660
  return s.palettes = new lo(s), s;
14661
14661
  }
@@ -14715,8 +14715,8 @@ function Sd(t, e = !1) {
14715
14715
  c.morphAttributes = c.morphAttributes || {}, c.morphAttributes[u] = [];
14716
14716
  for (let h = 0; h < f; ++h) {
14717
14717
  const p = [];
14718
- for (let g = 0; g < a[u].length; ++g)
14719
- p.push(a[u][g][h]);
14718
+ for (let m = 0; m < a[u].length; ++m)
14719
+ p.push(a[u][m][h]);
14720
14720
  const y = bi(p);
14721
14721
  if (!y)
14722
14722
  return console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the " + u + " morphAttribute."), null;
@@ -14747,8 +14747,8 @@ function bi(t) {
14747
14747
  const f = c / n;
14748
14748
  for (let h = 0, p = u.count; h < p; h++)
14749
14749
  for (let y = 0; y < n; y++) {
14750
- const g = u.getComponent(h, y);
14751
- o.setComponent(h + f, y, g);
14750
+ const m = u.getComponent(h, y);
14751
+ o.setComponent(h + f, y, m);
14752
14752
  }
14753
14753
  } else
14754
14754
  a.set(u.array, c);
@@ -14769,28 +14769,28 @@ function wd(t, e = 1e-4) {
14769
14769
  E.normalized
14770
14770
  );
14771
14771
  const R = t.morphAttributes[T];
14772
- R && (l[T] || (l[T] = []), R.forEach((U, W) => {
14773
- const j = new U.array.constructor(U.count * U.itemSize);
14774
- l[T][W] = new U.constructor(j, U.itemSize, U.normalized);
14772
+ R && (l[T] || (l[T] = []), R.forEach((P, W) => {
14773
+ const j = new P.array.constructor(P.count * P.itemSize);
14774
+ l[T][W] = new P.constructor(j, P.itemSize, P.normalized);
14775
14775
  }));
14776
14776
  }
14777
- const p = e * 0.5, y = Math.log10(1 / e), g = Math.pow(10, y), b = p * g;
14777
+ const p = e * 0.5, y = Math.log10(1 / e), m = Math.pow(10, y), b = p * m;
14778
14778
  for (let w = 0; w < i; w++) {
14779
14779
  const C = r ? r.getX(w) : w;
14780
14780
  let T = "";
14781
14781
  for (let E = 0, R = o.length; E < R; E++) {
14782
- const U = o[E], W = t.getAttribute(U), j = W.itemSize;
14782
+ const P = o[E], W = t.getAttribute(P), j = W.itemSize;
14783
14783
  for (let N = 0; N < j; N++)
14784
- T += `${~~(W[f[N]](C) * g + b)},`;
14784
+ T += `${~~(W[f[N]](C) * m + b)},`;
14785
14785
  }
14786
14786
  if (T in n)
14787
14787
  u.push(n[T]);
14788
14788
  else {
14789
14789
  for (let E = 0, R = o.length; E < R; E++) {
14790
- const U = o[E], W = t.getAttribute(U), j = t.morphAttributes[U], N = W.itemSize, $ = c[U], ie = l[U];
14791
- for (let P = 0; P < N; P++) {
14792
- const D = f[P], _ = h[P];
14793
- if ($[_](a, W[D](C)), j)
14790
+ const P = o[E], W = t.getAttribute(P), j = t.morphAttributes[P], N = W.itemSize, Y = c[P], ie = l[P];
14791
+ for (let U = 0; U < N; U++) {
14792
+ const D = f[U], _ = h[U];
14793
+ if (Y[_](a, W[D](C)), j)
14794
14794
  for (let re = 0, Te = j.length; re < Te; re++)
14795
14795
  ie[re][_](a, j[re][D](C));
14796
14796
  }
@@ -14901,20 +14901,20 @@ function Fd(t, e, n, r, s) {
14901
14901
  const a = new Ji();
14902
14902
  let o, c, l, u, f, h, p, y;
14903
14903
  if (i.o) {
14904
- const g = i._cachedOutline || (i._cachedOutline = i.o.split(" "));
14905
- for (let b = 0, v = g.length; b < v; )
14906
- switch (g[b++]) {
14904
+ const m = i._cachedOutline || (i._cachedOutline = i.o.split(" "));
14905
+ for (let b = 0, v = m.length; b < v; )
14906
+ switch (m[b++]) {
14907
14907
  case "m":
14908
- o = g[b++] * e + n, c = g[b++] * e + r, a.moveTo(o, c);
14908
+ o = m[b++] * e + n, c = m[b++] * e + r, a.moveTo(o, c);
14909
14909
  break;
14910
14910
  case "l":
14911
- o = g[b++] * e + n, c = g[b++] * e + r, a.lineTo(o, c);
14911
+ o = m[b++] * e + n, c = m[b++] * e + r, a.lineTo(o, c);
14912
14912
  break;
14913
14913
  case "q":
14914
- l = g[b++] * e + n, u = g[b++] * e + r, f = g[b++] * e + n, h = g[b++] * e + r, a.quadraticCurveTo(f, h, l, u);
14914
+ l = m[b++] * e + n, u = m[b++] * e + r, f = m[b++] * e + n, h = m[b++] * e + r, a.quadraticCurveTo(f, h, l, u);
14915
14915
  break;
14916
14916
  case "b":
14917
- l = g[b++] * e + n, u = g[b++] * e + r, f = g[b++] * e + n, h = g[b++] * e + r, p = g[b++] * e + n, y = g[b++] * e + r, a.bezierCurveTo(f, h, p, y, l, u);
14917
+ l = m[b++] * e + n, u = m[b++] * e + r, f = m[b++] * e + n, h = m[b++] * e + r, p = m[b++] * e + n, y = m[b++] * e + r, a.bezierCurveTo(f, h, p, y, l, u);
14918
14918
  break;
14919
14919
  }
14920
14920
  }
@@ -14996,7 +14996,7 @@ function Od(t, e, n, r, s) {
14996
14996
  let c = 0;
14997
14997
  for (; c < o.length; ) {
14998
14998
  const l = o[c++];
14999
- let u, f, h, p, y, g, b, v;
14999
+ let u, f, h, p, y, m, b, v;
15000
15000
  switch (l) {
15001
15001
  case "m":
15002
15002
  u = parseFloat(o[c++]) * e + n, f = parseFloat(o[c++]) * e + r, a.moveTo(u, f);
@@ -15005,10 +15005,10 @@ function Od(t, e, n, r, s) {
15005
15005
  u = parseFloat(o[c++]) * e + n, f = parseFloat(o[c++]) * e + r, a.lineTo(u, f);
15006
15006
  break;
15007
15007
  case "q":
15008
- h = parseFloat(o[c++]) * e + n, p = parseFloat(o[c++]) * e + r, y = parseFloat(o[c++]) * e + n, g = parseFloat(o[c++]) * e + r, a.quadraticCurveTo(y, g, h, p);
15008
+ h = parseFloat(o[c++]) * e + n, p = parseFloat(o[c++]) * e + r, y = parseFloat(o[c++]) * e + n, m = parseFloat(o[c++]) * e + r, a.quadraticCurveTo(y, m, h, p);
15009
15009
  break;
15010
15010
  case "b":
15011
- h = parseFloat(o[c++]) * e + n, p = parseFloat(o[c++]) * e + r, y = parseFloat(o[c++]) * e + n, g = parseFloat(o[c++]) * e + r, b = parseFloat(o[c++]) * e + n, v = parseFloat(o[c++]) * e + r, a.bezierCurveTo(y, g, b, v, h, p);
15011
+ h = parseFloat(o[c++]) * e + n, p = parseFloat(o[c++]) * e + r, y = parseFloat(o[c++]) * e + n, m = parseFloat(o[c++]) * e + r, b = parseFloat(o[c++]) * e + n, v = parseFloat(o[c++]) * e + r, a.bezierCurveTo(y, m, b, v, h, p);
15012
15012
  break;
15013
15013
  }
15014
15014
  }
@@ -15099,19 +15099,19 @@ function Md(t, e = 32) {
15099
15099
  for (const p of a) {
15100
15100
  const y = [{ idx: p, d: 0 }];
15101
15101
  for (; y.length; ) {
15102
- const g = y.pop();
15103
- c[g.idx] = g.d, l[g.idx] = p;
15104
- for (const b of i[g.idx]) y.push({ idx: b, d: g.d + 1 });
15102
+ const m = y.pop();
15103
+ c[m.idx] = m.d, l[m.idx] = p;
15104
+ for (const b of i[m.idx]) y.push({ idx: b, d: m.d + 1 });
15105
15105
  }
15106
15106
  }
15107
15107
  const u = [], f = /* @__PURE__ */ new Set();
15108
15108
  function h(p) {
15109
15109
  const y = vi(n[p], !0);
15110
15110
  f.add(p);
15111
- for (const g of i[p])
15112
- if (!f.has(g) && c[g] === c[p] + 1) {
15113
- const b = vi(n[g], !1);
15114
- y.holes.push(b), f.add(g);
15111
+ for (const m of i[p])
15112
+ if (!f.has(m) && c[m] === c[p] + 1) {
15113
+ const b = vi(n[m], !1);
15114
+ y.holes.push(b), f.add(m);
15115
15115
  }
15116
15116
  u.push(y);
15117
15117
  }
@@ -15412,12 +15412,12 @@ ss.read = function(t, e, n, r, s) {
15412
15412
  return (p ? -1 : 1) * a * Math.pow(2, i - r);
15413
15413
  };
15414
15414
  ss.write = function(t, e, n, r, s, i) {
15415
- var a, o, c, l = i * 8 - s - 1, u = (1 << l) - 1, f = u >> 1, h = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : i - 1, y = r ? 1 : -1, g = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
15415
+ var a, o, c, l = i * 8 - s - 1, u = (1 << l) - 1, f = u >> 1, h = s === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, p = r ? 0 : i - 1, y = r ? 1 : -1, m = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
15416
15416
  for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (o = isNaN(e) ? 1 : 0, a = u) : (a = Math.floor(Math.log(e) / Math.LN2), e * (c = Math.pow(2, -a)) < 1 && (a--, c *= 2), a + f >= 1 ? e += h / c : e += h * Math.pow(2, 1 - f), e * c >= 2 && (a++, c /= 2), a + f >= u ? (o = 0, a = u) : a + f >= 1 ? (o = (e * c - 1) * Math.pow(2, s), a = a + f) : (o = e * Math.pow(2, f - 1) * Math.pow(2, s), a = 0)); s >= 8; t[n + p] = o & 255, p += y, o /= 256, s -= 8)
15417
15417
  ;
15418
15418
  for (a = a << s | o, l += s; l > 0; t[n + p] = a & 255, p += y, a /= 256, l -= 8)
15419
15419
  ;
15420
- t[n + p - y] |= g * 128;
15420
+ t[n + p - y] |= m * 128;
15421
15421
  };
15422
15422
  /*!
15423
15423
  * The buffer module from node.js, for the browser.
@@ -15461,7 +15461,7 @@ ss.write = function(t, e, n, r, s, i) {
15461
15461
  var d = new Uint8Array(x);
15462
15462
  return Object.setPrototypeOf(d, o.prototype), d;
15463
15463
  }
15464
- function o(x, d, m) {
15464
+ function o(x, d, g) {
15465
15465
  if (typeof x == "number") {
15466
15466
  if (typeof d == "string")
15467
15467
  throw new TypeError(
@@ -15469,10 +15469,10 @@ ss.write = function(t, e, n, r, s, i) {
15469
15469
  );
15470
15470
  return f(x);
15471
15471
  }
15472
- return c(x, d, m);
15472
+ return c(x, d, g);
15473
15473
  }
15474
15474
  o.poolSize = 8192;
15475
- function c(x, d, m) {
15475
+ function c(x, d, g) {
15476
15476
  if (typeof x == "string")
15477
15477
  return h(x, d);
15478
15478
  if (ArrayBuffer.isView(x))
@@ -15482,28 +15482,28 @@ ss.write = function(t, e, n, r, s, i) {
15482
15482
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof x
15483
15483
  );
15484
15484
  if (Re(x, ArrayBuffer) || x && Re(x.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Re(x, SharedArrayBuffer) || x && Re(x.buffer, SharedArrayBuffer)))
15485
- return g(x, d, m);
15485
+ return m(x, d, g);
15486
15486
  if (typeof x == "number")
15487
15487
  throw new TypeError(
15488
15488
  'The "value" argument must not be of type number. Received type number'
15489
15489
  );
15490
15490
  var S = x.valueOf && x.valueOf();
15491
15491
  if (S != null && S !== x)
15492
- return o.from(S, d, m);
15492
+ return o.from(S, d, g);
15493
15493
  var F = b(x);
15494
15494
  if (F) return F;
15495
15495
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof x[Symbol.toPrimitive] == "function")
15496
15496
  return o.from(
15497
15497
  x[Symbol.toPrimitive]("string"),
15498
15498
  d,
15499
- m
15499
+ g
15500
15500
  );
15501
15501
  throw new TypeError(
15502
15502
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof x
15503
15503
  );
15504
15504
  }
15505
- o.from = function(x, d, m) {
15506
- return c(x, d, m);
15505
+ o.from = function(x, d, g) {
15506
+ return c(x, d, g);
15507
15507
  }, Object.setPrototypeOf(o.prototype, Uint8Array.prototype), Object.setPrototypeOf(o, Uint8Array);
15508
15508
  function l(x) {
15509
15509
  if (typeof x != "number")
@@ -15511,11 +15511,11 @@ ss.write = function(t, e, n, r, s, i) {
15511
15511
  if (x < 0)
15512
15512
  throw new RangeError('The value "' + x + '" is invalid for option "size"');
15513
15513
  }
15514
- function u(x, d, m) {
15515
- return l(x), x <= 0 ? a(x) : d !== void 0 ? typeof m == "string" ? a(x).fill(d, m) : a(x).fill(d) : a(x);
15514
+ function u(x, d, g) {
15515
+ return l(x), x <= 0 ? a(x) : d !== void 0 ? typeof g == "string" ? a(x).fill(d, g) : a(x).fill(d) : a(x);
15516
15516
  }
15517
- o.alloc = function(x, d, m) {
15518
- return u(x, d, m);
15517
+ o.alloc = function(x, d, g) {
15518
+ return u(x, d, g);
15519
15519
  };
15520
15520
  function f(x) {
15521
15521
  return l(x), a(x < 0 ? 0 : v(x) | 0);
@@ -15528,33 +15528,33 @@ ss.write = function(t, e, n, r, s, i) {
15528
15528
  function h(x, d) {
15529
15529
  if ((typeof d != "string" || d === "") && (d = "utf8"), !o.isEncoding(d))
15530
15530
  throw new TypeError("Unknown encoding: " + d);
15531
- var m = C(x, d) | 0, S = a(m), F = S.write(x, d);
15532
- return F !== m && (S = S.slice(0, F)), S;
15531
+ var g = C(x, d) | 0, S = a(g), F = S.write(x, d);
15532
+ return F !== g && (S = S.slice(0, F)), S;
15533
15533
  }
15534
15534
  function p(x) {
15535
- for (var d = x.length < 0 ? 0 : v(x.length) | 0, m = a(d), S = 0; S < d; S += 1)
15536
- m[S] = x[S] & 255;
15537
- return m;
15535
+ for (var d = x.length < 0 ? 0 : v(x.length) | 0, g = a(d), S = 0; S < d; S += 1)
15536
+ g[S] = x[S] & 255;
15537
+ return g;
15538
15538
  }
15539
15539
  function y(x) {
15540
15540
  if (Re(x, Uint8Array)) {
15541
15541
  var d = new Uint8Array(x);
15542
- return g(d.buffer, d.byteOffset, d.byteLength);
15542
+ return m(d.buffer, d.byteOffset, d.byteLength);
15543
15543
  }
15544
15544
  return p(x);
15545
15545
  }
15546
- function g(x, d, m) {
15546
+ function m(x, d, g) {
15547
15547
  if (d < 0 || x.byteLength < d)
15548
15548
  throw new RangeError('"offset" is outside of buffer bounds');
15549
- if (x.byteLength < d + (m || 0))
15549
+ if (x.byteLength < d + (g || 0))
15550
15550
  throw new RangeError('"length" is outside of buffer bounds');
15551
15551
  var S;
15552
- return d === void 0 && m === void 0 ? S = new Uint8Array(x) : m === void 0 ? S = new Uint8Array(x, d) : S = new Uint8Array(x, d, m), Object.setPrototypeOf(S, o.prototype), S;
15552
+ return d === void 0 && g === void 0 ? S = new Uint8Array(x) : g === void 0 ? S = new Uint8Array(x, d) : S = new Uint8Array(x, d, g), Object.setPrototypeOf(S, o.prototype), S;
15553
15553
  }
15554
15554
  function b(x) {
15555
15555
  if (o.isBuffer(x)) {
15556
- var d = v(x.length) | 0, m = a(d);
15557
- return m.length === 0 || x.copy(m, 0, 0, d), m;
15556
+ var d = v(x.length) | 0, g = a(d);
15557
+ return g.length === 0 || x.copy(g, 0, 0, d), g;
15558
15558
  }
15559
15559
  if (x.length !== void 0)
15560
15560
  return typeof x.length != "number" || ve(x.length) ? a(0) : p(x);
@@ -15571,15 +15571,15 @@ ss.write = function(t, e, n, r, s, i) {
15571
15571
  }
15572
15572
  o.isBuffer = function(d) {
15573
15573
  return d != null && d._isBuffer === !0 && d !== o.prototype;
15574
- }, o.compare = function(d, m) {
15575
- if (Re(d, Uint8Array) && (d = o.from(d, d.offset, d.byteLength)), Re(m, Uint8Array) && (m = o.from(m, m.offset, m.byteLength)), !o.isBuffer(d) || !o.isBuffer(m))
15574
+ }, o.compare = function(d, g) {
15575
+ if (Re(d, Uint8Array) && (d = o.from(d, d.offset, d.byteLength)), Re(g, Uint8Array) && (g = o.from(g, g.offset, g.byteLength)), !o.isBuffer(d) || !o.isBuffer(g))
15576
15576
  throw new TypeError(
15577
15577
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
15578
15578
  );
15579
- if (d === m) return 0;
15580
- for (var S = d.length, F = m.length, A = 0, L = Math.min(S, F); A < L; ++A)
15581
- if (d[A] !== m[A]) {
15582
- S = d[A], F = m[A];
15579
+ if (d === g) return 0;
15580
+ for (var S = d.length, F = g.length, A = 0, L = Math.min(S, F); A < L; ++A)
15581
+ if (d[A] !== g[A]) {
15582
+ S = d[A], F = g[A];
15583
15583
  break;
15584
15584
  }
15585
15585
  return S < F ? -1 : F < S ? 1 : 0;
@@ -15600,16 +15600,16 @@ ss.write = function(t, e, n, r, s, i) {
15600
15600
  default:
15601
15601
  return !1;
15602
15602
  }
15603
- }, o.concat = function(d, m) {
15603
+ }, o.concat = function(d, g) {
15604
15604
  if (!Array.isArray(d))
15605
15605
  throw new TypeError('"list" argument must be an Array of Buffers');
15606
15606
  if (d.length === 0)
15607
15607
  return o.alloc(0);
15608
15608
  var S;
15609
- if (m === void 0)
15610
- for (m = 0, S = 0; S < d.length; ++S)
15611
- m += d[S].length;
15612
- var F = o.allocUnsafe(m), A = 0;
15609
+ if (g === void 0)
15610
+ for (g = 0, S = 0; S < d.length; ++S)
15611
+ g += d[S].length;
15612
+ var F = o.allocUnsafe(g), A = 0;
15613
15613
  for (S = 0; S < d.length; ++S) {
15614
15614
  var L = d[S];
15615
15615
  if (Re(L, Uint8Array))
@@ -15635,14 +15635,14 @@ ss.write = function(t, e, n, r, s, i) {
15635
15635
  throw new TypeError(
15636
15636
  'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof x
15637
15637
  );
15638
- var m = x.length, S = arguments.length > 2 && arguments[2] === !0;
15639
- if (!S && m === 0) return 0;
15638
+ var g = x.length, S = arguments.length > 2 && arguments[2] === !0;
15639
+ if (!S && g === 0) return 0;
15640
15640
  for (var F = !1; ; )
15641
15641
  switch (d) {
15642
15642
  case "ascii":
15643
15643
  case "latin1":
15644
15644
  case "binary":
15645
- return m;
15645
+ return g;
15646
15646
  case "utf8":
15647
15647
  case "utf-8":
15648
15648
  return K(x).length;
@@ -15650,9 +15650,9 @@ ss.write = function(t, e, n, r, s, i) {
15650
15650
  case "ucs-2":
15651
15651
  case "utf16le":
15652
15652
  case "utf-16le":
15653
- return m * 2;
15653
+ return g * 2;
15654
15654
  case "hex":
15655
- return m >>> 1;
15655
+ return g >>> 1;
15656
15656
  case "base64":
15657
15657
  return Ae(x).length;
15658
15658
  default:
@@ -15662,59 +15662,59 @@ ss.write = function(t, e, n, r, s, i) {
15662
15662
  }
15663
15663
  }
15664
15664
  o.byteLength = C;
15665
- function T(x, d, m) {
15665
+ function T(x, d, g) {
15666
15666
  var S = !1;
15667
- if ((d === void 0 || d < 0) && (d = 0), d > this.length || ((m === void 0 || m > this.length) && (m = this.length), m <= 0) || (m >>>= 0, d >>>= 0, m <= d))
15667
+ if ((d === void 0 || d < 0) && (d = 0), d > this.length || ((g === void 0 || g > this.length) && (g = this.length), g <= 0) || (g >>>= 0, d >>>= 0, g <= d))
15668
15668
  return "";
15669
15669
  for (x || (x = "utf8"); ; )
15670
15670
  switch (x) {
15671
15671
  case "hex":
15672
- return _e(this, d, m);
15672
+ return _e(this, d, g);
15673
15673
  case "utf8":
15674
15674
  case "utf-8":
15675
- return D(this, d, m);
15675
+ return D(this, d, g);
15676
15676
  case "ascii":
15677
- return Te(this, d, m);
15677
+ return Te(this, d, g);
15678
15678
  case "latin1":
15679
15679
  case "binary":
15680
- return Qe(this, d, m);
15680
+ return Qe(this, d, g);
15681
15681
  case "base64":
15682
- return P(this, d, m);
15682
+ return U(this, d, g);
15683
15683
  case "ucs2":
15684
15684
  case "ucs-2":
15685
15685
  case "utf16le":
15686
15686
  case "utf-16le":
15687
- return fe(this, d, m);
15687
+ return me(this, d, g);
15688
15688
  default:
15689
15689
  if (S) throw new TypeError("Unknown encoding: " + x);
15690
15690
  x = (x + "").toLowerCase(), S = !0;
15691
15691
  }
15692
15692
  }
15693
15693
  o.prototype._isBuffer = !0;
15694
- function E(x, d, m) {
15694
+ function E(x, d, g) {
15695
15695
  var S = x[d];
15696
- x[d] = x[m], x[m] = S;
15696
+ x[d] = x[g], x[g] = S;
15697
15697
  }
15698
15698
  o.prototype.swap16 = function() {
15699
15699
  var d = this.length;
15700
15700
  if (d % 2 !== 0)
15701
15701
  throw new RangeError("Buffer size must be a multiple of 16-bits");
15702
- for (var m = 0; m < d; m += 2)
15703
- E(this, m, m + 1);
15702
+ for (var g = 0; g < d; g += 2)
15703
+ E(this, g, g + 1);
15704
15704
  return this;
15705
15705
  }, o.prototype.swap32 = function() {
15706
15706
  var d = this.length;
15707
15707
  if (d % 4 !== 0)
15708
15708
  throw new RangeError("Buffer size must be a multiple of 32-bits");
15709
- for (var m = 0; m < d; m += 4)
15710
- E(this, m, m + 3), E(this, m + 1, m + 2);
15709
+ for (var g = 0; g < d; g += 4)
15710
+ E(this, g, g + 3), E(this, g + 1, g + 2);
15711
15711
  return this;
15712
15712
  }, o.prototype.swap64 = function() {
15713
15713
  var d = this.length;
15714
15714
  if (d % 8 !== 0)
15715
15715
  throw new RangeError("Buffer size must be a multiple of 64-bits");
15716
- for (var m = 0; m < d; m += 8)
15717
- E(this, m, m + 7), E(this, m + 1, m + 6), E(this, m + 2, m + 5), E(this, m + 3, m + 4);
15716
+ for (var g = 0; g < d; g += 8)
15717
+ E(this, g, g + 7), E(this, g + 1, g + 6), E(this, g + 2, g + 5), E(this, g + 3, g + 4);
15718
15718
  return this;
15719
15719
  }, o.prototype.toString = function() {
15720
15720
  var d = this.length;
@@ -15723,49 +15723,49 @@ ss.write = function(t, e, n, r, s, i) {
15723
15723
  if (!o.isBuffer(d)) throw new TypeError("Argument must be a Buffer");
15724
15724
  return this === d ? !0 : o.compare(this, d) === 0;
15725
15725
  }, o.prototype.inspect = function() {
15726
- var d = "", m = t.INSPECT_MAX_BYTES;
15727
- return d = this.toString("hex", 0, m).replace(/(.{2})/g, "$1 ").trim(), this.length > m && (d += " ... "), "<Buffer " + d + ">";
15728
- }, r && (o.prototype[r] = o.prototype.inspect), o.prototype.compare = function(d, m, S, F, A) {
15726
+ var d = "", g = t.INSPECT_MAX_BYTES;
15727
+ return d = this.toString("hex", 0, g).replace(/(.{2})/g, "$1 ").trim(), this.length > g && (d += " ... "), "<Buffer " + d + ">";
15728
+ }, r && (o.prototype[r] = o.prototype.inspect), o.prototype.compare = function(d, g, S, F, A) {
15729
15729
  if (Re(d, Uint8Array) && (d = o.from(d, d.offset, d.byteLength)), !o.isBuffer(d))
15730
15730
  throw new TypeError(
15731
15731
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof d
15732
15732
  );
15733
- if (m === void 0 && (m = 0), S === void 0 && (S = d ? d.length : 0), F === void 0 && (F = 0), A === void 0 && (A = this.length), m < 0 || S > d.length || F < 0 || A > this.length)
15733
+ if (g === void 0 && (g = 0), S === void 0 && (S = d ? d.length : 0), F === void 0 && (F = 0), A === void 0 && (A = this.length), g < 0 || S > d.length || F < 0 || A > this.length)
15734
15734
  throw new RangeError("out of range index");
15735
- if (F >= A && m >= S)
15735
+ if (F >= A && g >= S)
15736
15736
  return 0;
15737
15737
  if (F >= A)
15738
15738
  return -1;
15739
- if (m >= S)
15739
+ if (g >= S)
15740
15740
  return 1;
15741
- if (m >>>= 0, S >>>= 0, F >>>= 0, A >>>= 0, this === d) return 0;
15742
- for (var L = A - F, q = S - m, V = Math.min(L, q), ae = this.slice(F, A), Se = d.slice(m, S), le = 0; le < V; ++le)
15741
+ if (g >>>= 0, S >>>= 0, F >>>= 0, A >>>= 0, this === d) return 0;
15742
+ for (var L = A - F, q = S - g, V = Math.min(L, q), ae = this.slice(F, A), Se = d.slice(g, S), le = 0; le < V; ++le)
15743
15743
  if (ae[le] !== Se[le]) {
15744
15744
  L = ae[le], q = Se[le];
15745
15745
  break;
15746
15746
  }
15747
15747
  return L < q ? -1 : q < L ? 1 : 0;
15748
15748
  };
15749
- function R(x, d, m, S, F) {
15749
+ function R(x, d, g, S, F) {
15750
15750
  if (x.length === 0) return -1;
15751
- if (typeof m == "string" ? (S = m, m = 0) : m > 2147483647 ? m = 2147483647 : m < -2147483648 && (m = -2147483648), m = +m, ve(m) && (m = F ? 0 : x.length - 1), m < 0 && (m = x.length + m), m >= x.length) {
15751
+ if (typeof g == "string" ? (S = g, g = 0) : g > 2147483647 ? g = 2147483647 : g < -2147483648 && (g = -2147483648), g = +g, ve(g) && (g = F ? 0 : x.length - 1), g < 0 && (g = x.length + g), g >= x.length) {
15752
15752
  if (F) return -1;
15753
- m = x.length - 1;
15754
- } else if (m < 0)
15755
- if (F) m = 0;
15753
+ g = x.length - 1;
15754
+ } else if (g < 0)
15755
+ if (F) g = 0;
15756
15756
  else return -1;
15757
15757
  if (typeof d == "string" && (d = o.from(d, S)), o.isBuffer(d))
15758
- return d.length === 0 ? -1 : U(x, d, m, S, F);
15758
+ return d.length === 0 ? -1 : P(x, d, g, S, F);
15759
15759
  if (typeof d == "number")
15760
- return d = d & 255, typeof Uint8Array.prototype.indexOf == "function" ? F ? Uint8Array.prototype.indexOf.call(x, d, m) : Uint8Array.prototype.lastIndexOf.call(x, d, m) : U(x, [d], m, S, F);
15760
+ return d = d & 255, typeof Uint8Array.prototype.indexOf == "function" ? F ? Uint8Array.prototype.indexOf.call(x, d, g) : Uint8Array.prototype.lastIndexOf.call(x, d, g) : P(x, [d], g, S, F);
15761
15761
  throw new TypeError("val must be string, number or Buffer");
15762
15762
  }
15763
- function U(x, d, m, S, F) {
15763
+ function P(x, d, g, S, F) {
15764
15764
  var A = 1, L = x.length, q = d.length;
15765
15765
  if (S !== void 0 && (S = String(S).toLowerCase(), S === "ucs2" || S === "ucs-2" || S === "utf16le" || S === "utf-16le")) {
15766
15766
  if (x.length < 2 || d.length < 2)
15767
15767
  return -1;
15768
- A = 2, L /= 2, q /= 2, m /= 2;
15768
+ A = 2, L /= 2, q /= 2, g /= 2;
15769
15769
  }
15770
15770
  function V(us, hs) {
15771
15771
  return A === 1 ? us[hs] : us.readUInt16BE(hs * A);
@@ -15773,13 +15773,13 @@ ss.write = function(t, e, n, r, s, i) {
15773
15773
  var ae;
15774
15774
  if (F) {
15775
15775
  var Se = -1;
15776
- for (ae = m; ae < L; ae++)
15776
+ for (ae = g; ae < L; ae++)
15777
15777
  if (V(x, ae) === V(d, Se === -1 ? 0 : ae - Se)) {
15778
15778
  if (Se === -1 && (Se = ae), ae - Se + 1 === q) return Se * A;
15779
15779
  } else
15780
15780
  Se !== -1 && (ae -= ae - Se), Se = -1;
15781
15781
  } else
15782
- for (m + q > L && (m = L - q), ae = m; ae >= 0; ae--) {
15782
+ for (g + q > L && (g = L - q), ae = g; ae >= 0; ae--) {
15783
15783
  for (var le = !0, un = 0; un < q; un++)
15784
15784
  if (V(x, ae + un) !== V(d, un)) {
15785
15785
  le = !1;
@@ -15789,71 +15789,71 @@ ss.write = function(t, e, n, r, s, i) {
15789
15789
  }
15790
15790
  return -1;
15791
15791
  }
15792
- o.prototype.includes = function(d, m, S) {
15793
- return this.indexOf(d, m, S) !== -1;
15794
- }, o.prototype.indexOf = function(d, m, S) {
15795
- return R(this, d, m, S, !0);
15796
- }, o.prototype.lastIndexOf = function(d, m, S) {
15797
- return R(this, d, m, S, !1);
15792
+ o.prototype.includes = function(d, g, S) {
15793
+ return this.indexOf(d, g, S) !== -1;
15794
+ }, o.prototype.indexOf = function(d, g, S) {
15795
+ return R(this, d, g, S, !0);
15796
+ }, o.prototype.lastIndexOf = function(d, g, S) {
15797
+ return R(this, d, g, S, !1);
15798
15798
  };
15799
- function W(x, d, m, S) {
15800
- m = Number(m) || 0;
15801
- var F = x.length - m;
15799
+ function W(x, d, g, S) {
15800
+ g = Number(g) || 0;
15801
+ var F = x.length - g;
15802
15802
  S ? (S = Number(S), S > F && (S = F)) : S = F;
15803
15803
  var A = d.length;
15804
15804
  S > A / 2 && (S = A / 2);
15805
15805
  for (var L = 0; L < S; ++L) {
15806
15806
  var q = parseInt(d.substr(L * 2, 2), 16);
15807
15807
  if (ve(q)) return L;
15808
- x[m + L] = q;
15808
+ x[g + L] = q;
15809
15809
  }
15810
15810
  return L;
15811
15811
  }
15812
- function j(x, d, m, S) {
15813
- return Oe(K(d, x.length - m), x, m, S);
15812
+ function j(x, d, g, S) {
15813
+ return Oe(K(d, x.length - g), x, g, S);
15814
15814
  }
15815
- function N(x, d, m, S) {
15816
- return Oe(xe(d), x, m, S);
15815
+ function N(x, d, g, S) {
15816
+ return Oe(xe(d), x, g, S);
15817
15817
  }
15818
- function $(x, d, m, S) {
15819
- return Oe(Ae(d), x, m, S);
15818
+ function Y(x, d, g, S) {
15819
+ return Oe(Ae(d), x, g, S);
15820
15820
  }
15821
- function ie(x, d, m, S) {
15822
- return Oe(Ee(d, x.length - m), x, m, S);
15821
+ function ie(x, d, g, S) {
15822
+ return Oe(Ee(d, x.length - g), x, g, S);
15823
15823
  }
15824
- o.prototype.write = function(d, m, S, F) {
15825
- if (m === void 0)
15826
- F = "utf8", S = this.length, m = 0;
15827
- else if (S === void 0 && typeof m == "string")
15828
- F = m, S = this.length, m = 0;
15829
- else if (isFinite(m))
15830
- m = m >>> 0, isFinite(S) ? (S = S >>> 0, F === void 0 && (F = "utf8")) : (F = S, S = void 0);
15824
+ o.prototype.write = function(d, g, S, F) {
15825
+ if (g === void 0)
15826
+ F = "utf8", S = this.length, g = 0;
15827
+ else if (S === void 0 && typeof g == "string")
15828
+ F = g, S = this.length, g = 0;
15829
+ else if (isFinite(g))
15830
+ g = g >>> 0, isFinite(S) ? (S = S >>> 0, F === void 0 && (F = "utf8")) : (F = S, S = void 0);
15831
15831
  else
15832
15832
  throw new Error(
15833
15833
  "Buffer.write(string, encoding, offset[, length]) is no longer supported"
15834
15834
  );
15835
- var A = this.length - m;
15836
- if ((S === void 0 || S > A) && (S = A), d.length > 0 && (S < 0 || m < 0) || m > this.length)
15835
+ var A = this.length - g;
15836
+ if ((S === void 0 || S > A) && (S = A), d.length > 0 && (S < 0 || g < 0) || g > this.length)
15837
15837
  throw new RangeError("Attempt to write outside buffer bounds");
15838
15838
  F || (F = "utf8");
15839
15839
  for (var L = !1; ; )
15840
15840
  switch (F) {
15841
15841
  case "hex":
15842
- return W(this, d, m, S);
15842
+ return W(this, d, g, S);
15843
15843
  case "utf8":
15844
15844
  case "utf-8":
15845
- return j(this, d, m, S);
15845
+ return j(this, d, g, S);
15846
15846
  case "ascii":
15847
15847
  case "latin1":
15848
15848
  case "binary":
15849
- return N(this, d, m, S);
15849
+ return N(this, d, g, S);
15850
15850
  case "base64":
15851
- return $(this, d, m, S);
15851
+ return Y(this, d, g, S);
15852
15852
  case "ucs2":
15853
15853
  case "ucs-2":
15854
15854
  case "utf16le":
15855
15855
  case "utf-16le":
15856
- return ie(this, d, m, S);
15856
+ return ie(this, d, g, S);
15857
15857
  default:
15858
15858
  if (L) throw new TypeError("Unknown encoding: " + F);
15859
15859
  F = ("" + F).toLowerCase(), L = !0;
@@ -15864,14 +15864,14 @@ ss.write = function(t, e, n, r, s, i) {
15864
15864
  data: Array.prototype.slice.call(this._arr || this, 0)
15865
15865
  };
15866
15866
  };
15867
- function P(x, d, m) {
15868
- return d === 0 && m === x.length ? e.fromByteArray(x) : e.fromByteArray(x.slice(d, m));
15867
+ function U(x, d, g) {
15868
+ return d === 0 && g === x.length ? e.fromByteArray(x) : e.fromByteArray(x.slice(d, g));
15869
15869
  }
15870
- function D(x, d, m) {
15871
- m = Math.min(x.length, m);
15872
- for (var S = [], F = d; F < m; ) {
15870
+ function D(x, d, g) {
15871
+ g = Math.min(x.length, g);
15872
+ for (var S = [], F = d; F < g; ) {
15873
15873
  var A = x[F], L = null, q = A > 239 ? 4 : A > 223 ? 3 : A > 191 ? 2 : 1;
15874
- if (F + q <= m) {
15874
+ if (F + q <= g) {
15875
15875
  var V, ae, Se, le;
15876
15876
  switch (q) {
15877
15877
  case 1:
@@ -15896,200 +15896,200 @@ ss.write = function(t, e, n, r, s, i) {
15896
15896
  var d = x.length;
15897
15897
  if (d <= _)
15898
15898
  return String.fromCharCode.apply(String, x);
15899
- for (var m = "", S = 0; S < d; )
15900
- m += String.fromCharCode.apply(
15899
+ for (var g = "", S = 0; S < d; )
15900
+ g += String.fromCharCode.apply(
15901
15901
  String,
15902
15902
  x.slice(S, S += _)
15903
15903
  );
15904
- return m;
15904
+ return g;
15905
15905
  }
15906
- function Te(x, d, m) {
15906
+ function Te(x, d, g) {
15907
15907
  var S = "";
15908
- m = Math.min(x.length, m);
15909
- for (var F = d; F < m; ++F)
15908
+ g = Math.min(x.length, g);
15909
+ for (var F = d; F < g; ++F)
15910
15910
  S += String.fromCharCode(x[F] & 127);
15911
15911
  return S;
15912
15912
  }
15913
- function Qe(x, d, m) {
15913
+ function Qe(x, d, g) {
15914
15914
  var S = "";
15915
- m = Math.min(x.length, m);
15916
- for (var F = d; F < m; ++F)
15915
+ g = Math.min(x.length, g);
15916
+ for (var F = d; F < g; ++F)
15917
15917
  S += String.fromCharCode(x[F]);
15918
15918
  return S;
15919
15919
  }
15920
- function _e(x, d, m) {
15920
+ function _e(x, d, g) {
15921
15921
  var S = x.length;
15922
- (!d || d < 0) && (d = 0), (!m || m < 0 || m > S) && (m = S);
15923
- for (var F = "", A = d; A < m; ++A)
15922
+ (!d || d < 0) && (d = 0), (!g || g < 0 || g > S) && (g = S);
15923
+ for (var F = "", A = d; A < g; ++A)
15924
15924
  F += et[x[A]];
15925
15925
  return F;
15926
15926
  }
15927
- function fe(x, d, m) {
15928
- for (var S = x.slice(d, m), F = "", A = 0; A < S.length - 1; A += 2)
15927
+ function me(x, d, g) {
15928
+ for (var S = x.slice(d, g), F = "", A = 0; A < S.length - 1; A += 2)
15929
15929
  F += String.fromCharCode(S[A] + S[A + 1] * 256);
15930
15930
  return F;
15931
15931
  }
15932
- o.prototype.slice = function(d, m) {
15932
+ o.prototype.slice = function(d, g) {
15933
15933
  var S = this.length;
15934
- d = ~~d, m = m === void 0 ? S : ~~m, d < 0 ? (d += S, d < 0 && (d = 0)) : d > S && (d = S), m < 0 ? (m += S, m < 0 && (m = 0)) : m > S && (m = S), m < d && (m = d);
15935
- var F = this.subarray(d, m);
15934
+ d = ~~d, g = g === void 0 ? S : ~~g, d < 0 ? (d += S, d < 0 && (d = 0)) : d > S && (d = S), g < 0 ? (g += S, g < 0 && (g = 0)) : g > S && (g = S), g < d && (g = d);
15935
+ var F = this.subarray(d, g);
15936
15936
  return Object.setPrototypeOf(F, o.prototype), F;
15937
15937
  };
15938
- function Y(x, d, m) {
15938
+ function $(x, d, g) {
15939
15939
  if (x % 1 !== 0 || x < 0) throw new RangeError("offset is not uint");
15940
- if (x + d > m) throw new RangeError("Trying to access beyond buffer length");
15940
+ if (x + d > g) throw new RangeError("Trying to access beyond buffer length");
15941
15941
  }
15942
- o.prototype.readUintLE = o.prototype.readUIntLE = function(d, m, S) {
15943
- d = d >>> 0, m = m >>> 0, S || Y(d, m, this.length);
15944
- for (var F = this[d], A = 1, L = 0; ++L < m && (A *= 256); )
15942
+ o.prototype.readUintLE = o.prototype.readUIntLE = function(d, g, S) {
15943
+ d = d >>> 0, g = g >>> 0, S || $(d, g, this.length);
15944
+ for (var F = this[d], A = 1, L = 0; ++L < g && (A *= 256); )
15945
15945
  F += this[d + L] * A;
15946
15946
  return F;
15947
- }, o.prototype.readUintBE = o.prototype.readUIntBE = function(d, m, S) {
15948
- d = d >>> 0, m = m >>> 0, S || Y(d, m, this.length);
15949
- for (var F = this[d + --m], A = 1; m > 0 && (A *= 256); )
15950
- F += this[d + --m] * A;
15947
+ }, o.prototype.readUintBE = o.prototype.readUIntBE = function(d, g, S) {
15948
+ d = d >>> 0, g = g >>> 0, S || $(d, g, this.length);
15949
+ for (var F = this[d + --g], A = 1; g > 0 && (A *= 256); )
15950
+ F += this[d + --g] * A;
15951
15951
  return F;
15952
- }, o.prototype.readUint8 = o.prototype.readUInt8 = function(d, m) {
15953
- return d = d >>> 0, m || Y(d, 1, this.length), this[d];
15954
- }, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(d, m) {
15955
- return d = d >>> 0, m || Y(d, 2, this.length), this[d] | this[d + 1] << 8;
15956
- }, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(d, m) {
15957
- return d = d >>> 0, m || Y(d, 2, this.length), this[d] << 8 | this[d + 1];
15958
- }, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(d, m) {
15959
- return d = d >>> 0, m || Y(d, 4, this.length), (this[d] | this[d + 1] << 8 | this[d + 2] << 16) + this[d + 3] * 16777216;
15960
- }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(d, m) {
15961
- return d = d >>> 0, m || Y(d, 4, this.length), this[d] * 16777216 + (this[d + 1] << 16 | this[d + 2] << 8 | this[d + 3]);
15962
- }, o.prototype.readIntLE = function(d, m, S) {
15963
- d = d >>> 0, m = m >>> 0, S || Y(d, m, this.length);
15964
- for (var F = this[d], A = 1, L = 0; ++L < m && (A *= 256); )
15952
+ }, o.prototype.readUint8 = o.prototype.readUInt8 = function(d, g) {
15953
+ return d = d >>> 0, g || $(d, 1, this.length), this[d];
15954
+ }, o.prototype.readUint16LE = o.prototype.readUInt16LE = function(d, g) {
15955
+ return d = d >>> 0, g || $(d, 2, this.length), this[d] | this[d + 1] << 8;
15956
+ }, o.prototype.readUint16BE = o.prototype.readUInt16BE = function(d, g) {
15957
+ return d = d >>> 0, g || $(d, 2, this.length), this[d] << 8 | this[d + 1];
15958
+ }, o.prototype.readUint32LE = o.prototype.readUInt32LE = function(d, g) {
15959
+ return d = d >>> 0, g || $(d, 4, this.length), (this[d] | this[d + 1] << 8 | this[d + 2] << 16) + this[d + 3] * 16777216;
15960
+ }, o.prototype.readUint32BE = o.prototype.readUInt32BE = function(d, g) {
15961
+ return d = d >>> 0, g || $(d, 4, this.length), this[d] * 16777216 + (this[d + 1] << 16 | this[d + 2] << 8 | this[d + 3]);
15962
+ }, o.prototype.readIntLE = function(d, g, S) {
15963
+ d = d >>> 0, g = g >>> 0, S || $(d, g, this.length);
15964
+ for (var F = this[d], A = 1, L = 0; ++L < g && (A *= 256); )
15965
15965
  F += this[d + L] * A;
15966
- return A *= 128, F >= A && (F -= Math.pow(2, 8 * m)), F;
15967
- }, o.prototype.readIntBE = function(d, m, S) {
15968
- d = d >>> 0, m = m >>> 0, S || Y(d, m, this.length);
15969
- for (var F = m, A = 1, L = this[d + --F]; F > 0 && (A *= 256); )
15966
+ return A *= 128, F >= A && (F -= Math.pow(2, 8 * g)), F;
15967
+ }, o.prototype.readIntBE = function(d, g, S) {
15968
+ d = d >>> 0, g = g >>> 0, S || $(d, g, this.length);
15969
+ for (var F = g, A = 1, L = this[d + --F]; F > 0 && (A *= 256); )
15970
15970
  L += this[d + --F] * A;
15971
- return A *= 128, L >= A && (L -= Math.pow(2, 8 * m)), L;
15972
- }, o.prototype.readInt8 = function(d, m) {
15973
- return d = d >>> 0, m || Y(d, 1, this.length), this[d] & 128 ? (255 - this[d] + 1) * -1 : this[d];
15974
- }, o.prototype.readInt16LE = function(d, m) {
15975
- d = d >>> 0, m || Y(d, 2, this.length);
15971
+ return A *= 128, L >= A && (L -= Math.pow(2, 8 * g)), L;
15972
+ }, o.prototype.readInt8 = function(d, g) {
15973
+ return d = d >>> 0, g || $(d, 1, this.length), this[d] & 128 ? (255 - this[d] + 1) * -1 : this[d];
15974
+ }, o.prototype.readInt16LE = function(d, g) {
15975
+ d = d >>> 0, g || $(d, 2, this.length);
15976
15976
  var S = this[d] | this[d + 1] << 8;
15977
15977
  return S & 32768 ? S | 4294901760 : S;
15978
- }, o.prototype.readInt16BE = function(d, m) {
15979
- d = d >>> 0, m || Y(d, 2, this.length);
15978
+ }, o.prototype.readInt16BE = function(d, g) {
15979
+ d = d >>> 0, g || $(d, 2, this.length);
15980
15980
  var S = this[d + 1] | this[d] << 8;
15981
15981
  return S & 32768 ? S | 4294901760 : S;
15982
- }, o.prototype.readInt32LE = function(d, m) {
15983
- return d = d >>> 0, m || Y(d, 4, this.length), this[d] | this[d + 1] << 8 | this[d + 2] << 16 | this[d + 3] << 24;
15984
- }, o.prototype.readInt32BE = function(d, m) {
15985
- return d = d >>> 0, m || Y(d, 4, this.length), this[d] << 24 | this[d + 1] << 16 | this[d + 2] << 8 | this[d + 3];
15986
- }, o.prototype.readFloatLE = function(d, m) {
15987
- return d = d >>> 0, m || Y(d, 4, this.length), n.read(this, d, !0, 23, 4);
15988
- }, o.prototype.readFloatBE = function(d, m) {
15989
- return d = d >>> 0, m || Y(d, 4, this.length), n.read(this, d, !1, 23, 4);
15990
- }, o.prototype.readDoubleLE = function(d, m) {
15991
- return d = d >>> 0, m || Y(d, 8, this.length), n.read(this, d, !0, 52, 8);
15992
- }, o.prototype.readDoubleBE = function(d, m) {
15993
- return d = d >>> 0, m || Y(d, 8, this.length), n.read(this, d, !1, 52, 8);
15982
+ }, o.prototype.readInt32LE = function(d, g) {
15983
+ return d = d >>> 0, g || $(d, 4, this.length), this[d] | this[d + 1] << 8 | this[d + 2] << 16 | this[d + 3] << 24;
15984
+ }, o.prototype.readInt32BE = function(d, g) {
15985
+ return d = d >>> 0, g || $(d, 4, this.length), this[d] << 24 | this[d + 1] << 16 | this[d + 2] << 8 | this[d + 3];
15986
+ }, o.prototype.readFloatLE = function(d, g) {
15987
+ return d = d >>> 0, g || $(d, 4, this.length), n.read(this, d, !0, 23, 4);
15988
+ }, o.prototype.readFloatBE = function(d, g) {
15989
+ return d = d >>> 0, g || $(d, 4, this.length), n.read(this, d, !1, 23, 4);
15990
+ }, o.prototype.readDoubleLE = function(d, g) {
15991
+ return d = d >>> 0, g || $(d, 8, this.length), n.read(this, d, !0, 52, 8);
15992
+ }, o.prototype.readDoubleBE = function(d, g) {
15993
+ return d = d >>> 0, g || $(d, 8, this.length), n.read(this, d, !1, 52, 8);
15994
15994
  };
15995
- function ne(x, d, m, S, F, A) {
15995
+ function ne(x, d, g, S, F, A) {
15996
15996
  if (!o.isBuffer(x)) throw new TypeError('"buffer" argument must be a Buffer instance');
15997
15997
  if (d > F || d < A) throw new RangeError('"value" argument is out of bounds');
15998
- if (m + S > x.length) throw new RangeError("Index out of range");
15998
+ if (g + S > x.length) throw new RangeError("Index out of range");
15999
15999
  }
16000
- o.prototype.writeUintLE = o.prototype.writeUIntLE = function(d, m, S, F) {
16001
- if (d = +d, m = m >>> 0, S = S >>> 0, !F) {
16000
+ o.prototype.writeUintLE = o.prototype.writeUIntLE = function(d, g, S, F) {
16001
+ if (d = +d, g = g >>> 0, S = S >>> 0, !F) {
16002
16002
  var A = Math.pow(2, 8 * S) - 1;
16003
- ne(this, d, m, S, A, 0);
16003
+ ne(this, d, g, S, A, 0);
16004
16004
  }
16005
16005
  var L = 1, q = 0;
16006
- for (this[m] = d & 255; ++q < S && (L *= 256); )
16007
- this[m + q] = d / L & 255;
16008
- return m + S;
16009
- }, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(d, m, S, F) {
16010
- if (d = +d, m = m >>> 0, S = S >>> 0, !F) {
16006
+ for (this[g] = d & 255; ++q < S && (L *= 256); )
16007
+ this[g + q] = d / L & 255;
16008
+ return g + S;
16009
+ }, o.prototype.writeUintBE = o.prototype.writeUIntBE = function(d, g, S, F) {
16010
+ if (d = +d, g = g >>> 0, S = S >>> 0, !F) {
16011
16011
  var A = Math.pow(2, 8 * S) - 1;
16012
- ne(this, d, m, S, A, 0);
16012
+ ne(this, d, g, S, A, 0);
16013
16013
  }
16014
16014
  var L = S - 1, q = 1;
16015
- for (this[m + L] = d & 255; --L >= 0 && (q *= 256); )
16016
- this[m + L] = d / q & 255;
16017
- return m + S;
16018
- }, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(d, m, S) {
16019
- return d = +d, m = m >>> 0, S || ne(this, d, m, 1, 255, 0), this[m] = d & 255, m + 1;
16020
- }, o.prototype.writeUint16LE = o.prototype.writeUInt16LE = function(d, m, S) {
16021
- return d = +d, m = m >>> 0, S || ne(this, d, m, 2, 65535, 0), this[m] = d & 255, this[m + 1] = d >>> 8, m + 2;
16022
- }, o.prototype.writeUint16BE = o.prototype.writeUInt16BE = function(d, m, S) {
16023
- return d = +d, m = m >>> 0, S || ne(this, d, m, 2, 65535, 0), this[m] = d >>> 8, this[m + 1] = d & 255, m + 2;
16024
- }, o.prototype.writeUint32LE = o.prototype.writeUInt32LE = function(d, m, S) {
16025
- return d = +d, m = m >>> 0, S || ne(this, d, m, 4, 4294967295, 0), this[m + 3] = d >>> 24, this[m + 2] = d >>> 16, this[m + 1] = d >>> 8, this[m] = d & 255, m + 4;
16026
- }, o.prototype.writeUint32BE = o.prototype.writeUInt32BE = function(d, m, S) {
16027
- return d = +d, m = m >>> 0, S || ne(this, d, m, 4, 4294967295, 0), this[m] = d >>> 24, this[m + 1] = d >>> 16, this[m + 2] = d >>> 8, this[m + 3] = d & 255, m + 4;
16028
- }, o.prototype.writeIntLE = function(d, m, S, F) {
16029
- if (d = +d, m = m >>> 0, !F) {
16015
+ for (this[g + L] = d & 255; --L >= 0 && (q *= 256); )
16016
+ this[g + L] = d / q & 255;
16017
+ return g + S;
16018
+ }, o.prototype.writeUint8 = o.prototype.writeUInt8 = function(d, g, S) {
16019
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 1, 255, 0), this[g] = d & 255, g + 1;
16020
+ }, o.prototype.writeUint16LE = o.prototype.writeUInt16LE = function(d, g, S) {
16021
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 2, 65535, 0), this[g] = d & 255, this[g + 1] = d >>> 8, g + 2;
16022
+ }, o.prototype.writeUint16BE = o.prototype.writeUInt16BE = function(d, g, S) {
16023
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 2, 65535, 0), this[g] = d >>> 8, this[g + 1] = d & 255, g + 2;
16024
+ }, o.prototype.writeUint32LE = o.prototype.writeUInt32LE = function(d, g, S) {
16025
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 4, 4294967295, 0), this[g + 3] = d >>> 24, this[g + 2] = d >>> 16, this[g + 1] = d >>> 8, this[g] = d & 255, g + 4;
16026
+ }, o.prototype.writeUint32BE = o.prototype.writeUInt32BE = function(d, g, S) {
16027
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 4, 4294967295, 0), this[g] = d >>> 24, this[g + 1] = d >>> 16, this[g + 2] = d >>> 8, this[g + 3] = d & 255, g + 4;
16028
+ }, o.prototype.writeIntLE = function(d, g, S, F) {
16029
+ if (d = +d, g = g >>> 0, !F) {
16030
16030
  var A = Math.pow(2, 8 * S - 1);
16031
- ne(this, d, m, S, A - 1, -A);
16031
+ ne(this, d, g, S, A - 1, -A);
16032
16032
  }
16033
16033
  var L = 0, q = 1, V = 0;
16034
- for (this[m] = d & 255; ++L < S && (q *= 256); )
16035
- d < 0 && V === 0 && this[m + L - 1] !== 0 && (V = 1), this[m + L] = (d / q >> 0) - V & 255;
16036
- return m + S;
16037
- }, o.prototype.writeIntBE = function(d, m, S, F) {
16038
- if (d = +d, m = m >>> 0, !F) {
16034
+ for (this[g] = d & 255; ++L < S && (q *= 256); )
16035
+ d < 0 && V === 0 && this[g + L - 1] !== 0 && (V = 1), this[g + L] = (d / q >> 0) - V & 255;
16036
+ return g + S;
16037
+ }, o.prototype.writeIntBE = function(d, g, S, F) {
16038
+ if (d = +d, g = g >>> 0, !F) {
16039
16039
  var A = Math.pow(2, 8 * S - 1);
16040
- ne(this, d, m, S, A - 1, -A);
16040
+ ne(this, d, g, S, A - 1, -A);
16041
16041
  }
16042
16042
  var L = S - 1, q = 1, V = 0;
16043
- for (this[m + L] = d & 255; --L >= 0 && (q *= 256); )
16044
- d < 0 && V === 0 && this[m + L + 1] !== 0 && (V = 1), this[m + L] = (d / q >> 0) - V & 255;
16045
- return m + S;
16046
- }, o.prototype.writeInt8 = function(d, m, S) {
16047
- return d = +d, m = m >>> 0, S || ne(this, d, m, 1, 127, -128), d < 0 && (d = 255 + d + 1), this[m] = d & 255, m + 1;
16048
- }, o.prototype.writeInt16LE = function(d, m, S) {
16049
- return d = +d, m = m >>> 0, S || ne(this, d, m, 2, 32767, -32768), this[m] = d & 255, this[m + 1] = d >>> 8, m + 2;
16050
- }, o.prototype.writeInt16BE = function(d, m, S) {
16051
- return d = +d, m = m >>> 0, S || ne(this, d, m, 2, 32767, -32768), this[m] = d >>> 8, this[m + 1] = d & 255, m + 2;
16052
- }, o.prototype.writeInt32LE = function(d, m, S) {
16053
- return d = +d, m = m >>> 0, S || ne(this, d, m, 4, 2147483647, -2147483648), this[m] = d & 255, this[m + 1] = d >>> 8, this[m + 2] = d >>> 16, this[m + 3] = d >>> 24, m + 4;
16054
- }, o.prototype.writeInt32BE = function(d, m, S) {
16055
- return d = +d, m = m >>> 0, S || ne(this, d, m, 4, 2147483647, -2147483648), d < 0 && (d = 4294967295 + d + 1), this[m] = d >>> 24, this[m + 1] = d >>> 16, this[m + 2] = d >>> 8, this[m + 3] = d & 255, m + 4;
16043
+ for (this[g + L] = d & 255; --L >= 0 && (q *= 256); )
16044
+ d < 0 && V === 0 && this[g + L + 1] !== 0 && (V = 1), this[g + L] = (d / q >> 0) - V & 255;
16045
+ return g + S;
16046
+ }, o.prototype.writeInt8 = function(d, g, S) {
16047
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 1, 127, -128), d < 0 && (d = 255 + d + 1), this[g] = d & 255, g + 1;
16048
+ }, o.prototype.writeInt16LE = function(d, g, S) {
16049
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 2, 32767, -32768), this[g] = d & 255, this[g + 1] = d >>> 8, g + 2;
16050
+ }, o.prototype.writeInt16BE = function(d, g, S) {
16051
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 2, 32767, -32768), this[g] = d >>> 8, this[g + 1] = d & 255, g + 2;
16052
+ }, o.prototype.writeInt32LE = function(d, g, S) {
16053
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 4, 2147483647, -2147483648), this[g] = d & 255, this[g + 1] = d >>> 8, this[g + 2] = d >>> 16, this[g + 3] = d >>> 24, g + 4;
16054
+ }, o.prototype.writeInt32BE = function(d, g, S) {
16055
+ return d = +d, g = g >>> 0, S || ne(this, d, g, 4, 2147483647, -2147483648), d < 0 && (d = 4294967295 + d + 1), this[g] = d >>> 24, this[g + 1] = d >>> 16, this[g + 2] = d >>> 8, this[g + 3] = d & 255, g + 4;
16056
16056
  };
16057
- function de(x, d, m, S, F, A) {
16058
- if (m + S > x.length) throw new RangeError("Index out of range");
16059
- if (m < 0) throw new RangeError("Index out of range");
16057
+ function pe(x, d, g, S, F, A) {
16058
+ if (g + S > x.length) throw new RangeError("Index out of range");
16059
+ if (g < 0) throw new RangeError("Index out of range");
16060
16060
  }
16061
- function be(x, d, m, S, F) {
16062
- return d = +d, m = m >>> 0, F || de(x, d, m, 4), n.write(x, d, m, S, 23, 4), m + 4;
16061
+ function be(x, d, g, S, F) {
16062
+ return d = +d, g = g >>> 0, F || pe(x, d, g, 4), n.write(x, d, g, S, 23, 4), g + 4;
16063
16063
  }
16064
- o.prototype.writeFloatLE = function(d, m, S) {
16065
- return be(this, d, m, !0, S);
16066
- }, o.prototype.writeFloatBE = function(d, m, S) {
16067
- return be(this, d, m, !1, S);
16064
+ o.prototype.writeFloatLE = function(d, g, S) {
16065
+ return be(this, d, g, !0, S);
16066
+ }, o.prototype.writeFloatBE = function(d, g, S) {
16067
+ return be(this, d, g, !1, S);
16068
16068
  };
16069
- function me(x, d, m, S, F) {
16070
- return d = +d, m = m >>> 0, F || de(x, d, m, 8), n.write(x, d, m, S, 52, 8), m + 8;
16071
- }
16072
- o.prototype.writeDoubleLE = function(d, m, S) {
16073
- return me(this, d, m, !0, S);
16074
- }, o.prototype.writeDoubleBE = function(d, m, S) {
16075
- return me(this, d, m, !1, S);
16076
- }, o.prototype.copy = function(d, m, S, F) {
16069
+ function ge(x, d, g, S, F) {
16070
+ return d = +d, g = g >>> 0, F || pe(x, d, g, 8), n.write(x, d, g, S, 52, 8), g + 8;
16071
+ }
16072
+ o.prototype.writeDoubleLE = function(d, g, S) {
16073
+ return ge(this, d, g, !0, S);
16074
+ }, o.prototype.writeDoubleBE = function(d, g, S) {
16075
+ return ge(this, d, g, !1, S);
16076
+ }, o.prototype.copy = function(d, g, S, F) {
16077
16077
  if (!o.isBuffer(d)) throw new TypeError("argument should be a Buffer");
16078
- if (S || (S = 0), !F && F !== 0 && (F = this.length), m >= d.length && (m = d.length), m || (m = 0), F > 0 && F < S && (F = S), F === S || d.length === 0 || this.length === 0) return 0;
16079
- if (m < 0)
16078
+ if (S || (S = 0), !F && F !== 0 && (F = this.length), g >= d.length && (g = d.length), g || (g = 0), F > 0 && F < S && (F = S), F === S || d.length === 0 || this.length === 0) return 0;
16079
+ if (g < 0)
16080
16080
  throw new RangeError("targetStart out of bounds");
16081
16081
  if (S < 0 || S >= this.length) throw new RangeError("Index out of range");
16082
16082
  if (F < 0) throw new RangeError("sourceEnd out of bounds");
16083
- F > this.length && (F = this.length), d.length - m < F - S && (F = d.length - m + S);
16083
+ F > this.length && (F = this.length), d.length - g < F - S && (F = d.length - g + S);
16084
16084
  var A = F - S;
16085
- return this === d && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(m, S, F) : Uint8Array.prototype.set.call(
16085
+ return this === d && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(g, S, F) : Uint8Array.prototype.set.call(
16086
16086
  d,
16087
16087
  this.subarray(S, F),
16088
- m
16088
+ g
16089
16089
  ), A;
16090
- }, o.prototype.fill = function(d, m, S, F) {
16090
+ }, o.prototype.fill = function(d, g, S, F) {
16091
16091
  if (typeof d == "string") {
16092
- if (typeof m == "string" ? (F = m, m = 0, S = this.length) : typeof S == "string" && (F = S, S = this.length), F !== void 0 && typeof F != "string")
16092
+ if (typeof g == "string" ? (F = g, g = 0, S = this.length) : typeof S == "string" && (F = S, S = this.length), F !== void 0 && typeof F != "string")
16093
16093
  throw new TypeError("encoding must be a string");
16094
16094
  if (typeof F == "string" && !o.isEncoding(F))
16095
16095
  throw new TypeError("Unknown encoding: " + F);
@@ -16098,21 +16098,21 @@ ss.write = function(t, e, n, r, s, i) {
16098
16098
  (F === "utf8" && A < 128 || F === "latin1") && (d = A);
16099
16099
  }
16100
16100
  } else typeof d == "number" ? d = d & 255 : typeof d == "boolean" && (d = Number(d));
16101
- if (m < 0 || this.length < m || this.length < S)
16101
+ if (g < 0 || this.length < g || this.length < S)
16102
16102
  throw new RangeError("Out of range index");
16103
- if (S <= m)
16103
+ if (S <= g)
16104
16104
  return this;
16105
- m = m >>> 0, S = S === void 0 ? this.length : S >>> 0, d || (d = 0);
16105
+ g = g >>> 0, S = S === void 0 ? this.length : S >>> 0, d || (d = 0);
16106
16106
  var L;
16107
16107
  if (typeof d == "number")
16108
- for (L = m; L < S; ++L)
16108
+ for (L = g; L < S; ++L)
16109
16109
  this[L] = d;
16110
16110
  else {
16111
16111
  var q = o.isBuffer(d) ? d : o.from(d, F), V = q.length;
16112
16112
  if (V === 0)
16113
16113
  throw new TypeError('The value "' + d + '" is invalid for argument "value"');
16114
- for (L = 0; L < S - m; ++L)
16115
- this[L + m] = q[L % V];
16114
+ for (L = 0; L < S - g; ++L)
16115
+ this[L + g] = q[L % V];
16116
16116
  }
16117
16117
  return this;
16118
16118
  };
@@ -16125,48 +16125,48 @@ ss.write = function(t, e, n, r, s, i) {
16125
16125
  }
16126
16126
  function K(x, d) {
16127
16127
  d = d || 1 / 0;
16128
- for (var m, S = x.length, F = null, A = [], L = 0; L < S; ++L) {
16129
- if (m = x.charCodeAt(L), m > 55295 && m < 57344) {
16128
+ for (var g, S = x.length, F = null, A = [], L = 0; L < S; ++L) {
16129
+ if (g = x.charCodeAt(L), g > 55295 && g < 57344) {
16130
16130
  if (!F) {
16131
- if (m > 56319) {
16131
+ if (g > 56319) {
16132
16132
  (d -= 3) > -1 && A.push(239, 191, 189);
16133
16133
  continue;
16134
16134
  } else if (L + 1 === S) {
16135
16135
  (d -= 3) > -1 && A.push(239, 191, 189);
16136
16136
  continue;
16137
16137
  }
16138
- F = m;
16138
+ F = g;
16139
16139
  continue;
16140
16140
  }
16141
- if (m < 56320) {
16142
- (d -= 3) > -1 && A.push(239, 191, 189), F = m;
16141
+ if (g < 56320) {
16142
+ (d -= 3) > -1 && A.push(239, 191, 189), F = g;
16143
16143
  continue;
16144
16144
  }
16145
- m = (F - 55296 << 10 | m - 56320) + 65536;
16145
+ g = (F - 55296 << 10 | g - 56320) + 65536;
16146
16146
  } else F && (d -= 3) > -1 && A.push(239, 191, 189);
16147
- if (F = null, m < 128) {
16147
+ if (F = null, g < 128) {
16148
16148
  if ((d -= 1) < 0) break;
16149
- A.push(m);
16150
- } else if (m < 2048) {
16149
+ A.push(g);
16150
+ } else if (g < 2048) {
16151
16151
  if ((d -= 2) < 0) break;
16152
16152
  A.push(
16153
- m >> 6 | 192,
16154
- m & 63 | 128
16153
+ g >> 6 | 192,
16154
+ g & 63 | 128
16155
16155
  );
16156
- } else if (m < 65536) {
16156
+ } else if (g < 65536) {
16157
16157
  if ((d -= 3) < 0) break;
16158
16158
  A.push(
16159
- m >> 12 | 224,
16160
- m >> 6 & 63 | 128,
16161
- m & 63 | 128
16159
+ g >> 12 | 224,
16160
+ g >> 6 & 63 | 128,
16161
+ g & 63 | 128
16162
16162
  );
16163
- } else if (m < 1114112) {
16163
+ } else if (g < 1114112) {
16164
16164
  if ((d -= 4) < 0) break;
16165
16165
  A.push(
16166
- m >> 18 | 240,
16167
- m >> 12 & 63 | 128,
16168
- m >> 6 & 63 | 128,
16169
- m & 63 | 128
16166
+ g >> 18 | 240,
16167
+ g >> 12 & 63 | 128,
16168
+ g >> 6 & 63 | 128,
16169
+ g & 63 | 128
16170
16170
  );
16171
16171
  } else
16172
16172
  throw new Error("Invalid code point");
@@ -16174,21 +16174,21 @@ ss.write = function(t, e, n, r, s, i) {
16174
16174
  return A;
16175
16175
  }
16176
16176
  function xe(x) {
16177
- for (var d = [], m = 0; m < x.length; ++m)
16178
- d.push(x.charCodeAt(m) & 255);
16177
+ for (var d = [], g = 0; g < x.length; ++g)
16178
+ d.push(x.charCodeAt(g) & 255);
16179
16179
  return d;
16180
16180
  }
16181
16181
  function Ee(x, d) {
16182
- for (var m, S, F, A = [], L = 0; L < x.length && !((d -= 2) < 0); ++L)
16183
- m = x.charCodeAt(L), S = m >> 8, F = m % 256, A.push(F), A.push(S);
16182
+ for (var g, S, F, A = [], L = 0; L < x.length && !((d -= 2) < 0); ++L)
16183
+ g = x.charCodeAt(L), S = g >> 8, F = g % 256, A.push(F), A.push(S);
16184
16184
  return A;
16185
16185
  }
16186
16186
  function Ae(x) {
16187
16187
  return e.toByteArray(ce(x));
16188
16188
  }
16189
- function Oe(x, d, m, S) {
16190
- for (var F = 0; F < S && !(F + m >= d.length || F >= x.length); ++F)
16191
- d[F + m] = x[F];
16189
+ function Oe(x, d, g, S) {
16190
+ for (var F = 0; F < S && !(F + g >= d.length || F >= x.length); ++F)
16191
+ d[F + g] = x[F];
16192
16192
  return F;
16193
16193
  }
16194
16194
  function Re(x, d) {
@@ -16198,9 +16198,9 @@ ss.write = function(t, e, n, r, s, i) {
16198
16198
  return x !== x;
16199
16199
  }
16200
16200
  var et = function() {
16201
- for (var x = "0123456789abcdef", d = new Array(256), m = 0; m < 16; ++m)
16202
- for (var S = m * 16, F = 0; F < 16; ++F)
16203
- d[S + F] = x[m] + x[F];
16201
+ for (var x = "0123456789abcdef", d = new Array(256), g = 0; g < 16; ++g)
16202
+ for (var S = g * 16, F = 0; F < 16; ++F)
16203
+ d[S + F] = x[g] + x[F];
16204
16204
  return d;
16205
16205
  }();
16206
16206
  })(rs);
@@ -16361,7 +16361,7 @@ function Zd() {
16361
16361
  this.text = p, this.end = y, w = 3;
16362
16362
  break;
16363
16363
  default:
16364
- this.write = g, this.end = b;
16364
+ this.write = m, this.end = b;
16365
16365
  return;
16366
16366
  }
16367
16367
  this.lastNeed = 0, this.lastTotal = 0, this.lastChar = t.allocUnsafe(w);
@@ -16445,7 +16445,7 @@ function Zd() {
16445
16445
  var w = v && v.length ? this.write(v) : "";
16446
16446
  return this.lastNeed ? w + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : w;
16447
16447
  }
16448
- function g(v) {
16448
+ function m(v) {
16449
16449
  return v.toString(this.encoding);
16450
16450
  }
16451
16451
  function b(v) {
@@ -16516,8 +16516,8 @@ function Jd() {
16516
16516
  }
16517
16517
  o.prototype.write = function(l) {
16518
16518
  for (var u = this.acc, f = this.contBytes, h = this.accBytes, p = "", y = 0; y < l.length; y++) {
16519
- var g = l[y];
16520
- (g & 192) !== 128 ? (f > 0 && (p += this.defaultCharUnicode, f = 0), g < 128 ? p += String.fromCharCode(g) : g < 224 ? (u = g & 31, f = 1, h = 1) : g < 240 ? (u = g & 15, f = 2, h = 1) : p += this.defaultCharUnicode) : f > 0 ? (u = u << 6 | g & 63, f--, h++, f === 0 && (h === 2 && u < 128 && u > 0 ? p += this.defaultCharUnicode : h === 3 && u < 2048 ? p += this.defaultCharUnicode : p += String.fromCharCode(u))) : p += this.defaultCharUnicode;
16519
+ var m = l[y];
16520
+ (m & 192) !== 128 ? (f > 0 && (p += this.defaultCharUnicode, f = 0), m < 128 ? p += String.fromCharCode(m) : m < 224 ? (u = m & 31, f = 1, h = 1) : m < 240 ? (u = m & 15, f = 2, h = 1) : p += this.defaultCharUnicode) : f > 0 ? (u = u << 6 | m & 63, f--, h++, f === 0 && (h === 2 && u < 128 && u > 0 ? p += this.defaultCharUnicode : h === 3 && u < 2048 ? p += this.defaultCharUnicode : p += String.fromCharCode(u))) : p += this.defaultCharUnicode;
16521
16521
  }
16522
16522
  return this.acc = u, this.contBytes = f, this.accBytes = h, p;
16523
16523
  }, o.prototype.end = function() {
@@ -16555,16 +16555,16 @@ function Qd() {
16555
16555
  }
16556
16556
  n.prototype.write = function(l) {
16557
16557
  for (var u = t.from(l, "ucs2"), f = t.alloc(u.length * 2), h = this.isLE ? f.writeUInt32LE : f.writeUInt32BE, p = 0, y = 0; y < u.length; y += 2) {
16558
- var g = u.readUInt16LE(y), b = g >= 55296 && g < 56320, v = g >= 56320 && g < 57344;
16558
+ var m = u.readUInt16LE(y), b = m >= 55296 && m < 56320, v = m >= 56320 && m < 57344;
16559
16559
  if (this.highSurrogate)
16560
16560
  if (b || !v)
16561
16561
  h.call(f, this.highSurrogate, p), p += 4;
16562
16562
  else {
16563
- var w = (this.highSurrogate - 55296 << 10 | g - 56320) + 65536;
16563
+ var w = (this.highSurrogate - 55296 << 10 | m - 56320) + 65536;
16564
16564
  h.call(f, w, p), p += 4, this.highSurrogate = 0;
16565
16565
  continue;
16566
16566
  }
16567
- b ? this.highSurrogate = g : (h.call(f, g, p), p += 4, this.highSurrogate = 0);
16567
+ b ? this.highSurrogate = m : (h.call(f, m, p), p += 4, this.highSurrogate = 0);
16568
16568
  }
16569
16569
  return p < f.length && (f = f.slice(0, p)), f;
16570
16570
  }, n.prototype.end = function() {
@@ -16579,16 +16579,16 @@ function Qd() {
16579
16579
  r.prototype.write = function(l) {
16580
16580
  if (l.length === 0)
16581
16581
  return "";
16582
- var u = 0, f = 0, h = t.alloc(l.length + 4), p = 0, y = this.isLE, g = this.overflow, b = this.badChar;
16583
- if (g.length > 0) {
16584
- for (; u < l.length && g.length < 4; u++)
16585
- g.push(l[u]);
16586
- g.length === 4 && (y ? f = g[u] | g[u + 1] << 8 | g[u + 2] << 16 | g[u + 3] << 24 : f = g[u + 3] | g[u + 2] << 8 | g[u + 1] << 16 | g[u] << 24, g.length = 0, p = s(h, p, f, b));
16582
+ var u = 0, f = 0, h = t.alloc(l.length + 4), p = 0, y = this.isLE, m = this.overflow, b = this.badChar;
16583
+ if (m.length > 0) {
16584
+ for (; u < l.length && m.length < 4; u++)
16585
+ m.push(l[u]);
16586
+ m.length === 4 && (y ? f = m[u] | m[u + 1] << 8 | m[u + 2] << 16 | m[u + 3] << 24 : f = m[u + 3] | m[u + 2] << 8 | m[u + 1] << 16 | m[u] << 24, m.length = 0, p = s(h, p, f, b));
16587
16587
  }
16588
16588
  for (; u < l.length - 3; u += 4)
16589
16589
  y ? f = l[u] | l[u + 1] << 8 | l[u + 2] << 16 | l[u + 3] << 24 : f = l[u + 3] | l[u + 2] << 8 | l[u + 1] << 16 | l[u] << 24, p = s(h, p, f, b);
16590
16590
  for (; u < l.length; u++)
16591
- g.push(l[u]);
16591
+ m.push(l[u]);
16592
16592
  return h.slice(0, p).toString("ucs2");
16593
16593
  };
16594
16594
  function s(l, u, f, h) {
@@ -16641,7 +16641,7 @@ function Qd() {
16641
16641
  return this.decoder.end();
16642
16642
  };
16643
16643
  function c(l, u) {
16644
- var f = [], h = 0, p = 0, y = 0, g = 0, b = 0;
16644
+ var f = [], h = 0, p = 0, y = 0, m = 0, b = 0;
16645
16645
  e:
16646
16646
  for (var v = 0; v < l.length; v++)
16647
16647
  for (var w = l[v], C = 0; C < w.length; C++)
@@ -16652,10 +16652,10 @@ function Qd() {
16652
16652
  if (f[0] === 0 && f[1] === 0 && f[2] === 254 && f[3] === 255)
16653
16653
  return "utf-32be";
16654
16654
  }
16655
- if ((f[0] !== 0 || f[1] > 16) && y++, (f[3] !== 0 || f[2] > 16) && p++, f[0] === 0 && f[1] === 0 && (f[2] !== 0 || f[3] !== 0) && b++, (f[0] !== 0 || f[1] !== 0) && f[2] === 0 && f[3] === 0 && g++, f.length = 0, h++, h >= 100)
16655
+ if ((f[0] !== 0 || f[1] > 16) && y++, (f[3] !== 0 || f[2] > 16) && p++, f[0] === 0 && f[1] === 0 && (f[2] !== 0 || f[3] !== 0) && b++, (f[0] !== 0 || f[1] !== 0) && f[2] === 0 && f[3] === 0 && m++, f.length = 0, h++, h >= 100)
16656
16656
  break e;
16657
16657
  }
16658
- return b - y > g - p ? "utf-32be" : b - y < g - p ? "utf-32le" : u || "utf-32le";
16658
+ return b - y > m - p ? "utf-32be" : b - y < m - p ? "utf-32le" : u || "utf-32le";
16659
16659
  }
16660
16660
  return tt;
16661
16661
  }
@@ -16732,8 +16732,8 @@ function e0() {
16732
16732
  var u = [], f = 0, h = 0, p = 0;
16733
16733
  e:
16734
16734
  for (var y = 0; y < c.length; y++)
16735
- for (var g = c[y], b = 0; b < g.length; b++)
16736
- if (u.push(g[b]), u.length === 2) {
16735
+ for (var m = c[y], b = 0; b < m.length; b++)
16736
+ if (u.push(m[b]), u.length === 2) {
16737
16737
  if (f === 0) {
16738
16738
  if (u[0] === 255 && u[1] === 254) return "utf-16le";
16739
16739
  if (u[0] === 254 && u[1] === 255) return "utf-16be";
@@ -16751,94 +16751,94 @@ function t0() {
16751
16751
  Fi = 1;
16752
16752
  var t = xt.Buffer;
16753
16753
  qt.utf7 = e, qt.unicode11utf7 = "utf7";
16754
- function e(g, b) {
16754
+ function e(m, b) {
16755
16755
  this.iconv = b;
16756
16756
  }
16757
16757
  e.prototype.encoder = r, e.prototype.decoder = s, e.prototype.bomAware = !0;
16758
16758
  var n = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
16759
- function r(g, b) {
16759
+ function r(m, b) {
16760
16760
  this.iconv = b.iconv;
16761
16761
  }
16762
- r.prototype.write = function(g) {
16763
- return t.from(g.replace(n, (function(b) {
16762
+ r.prototype.write = function(m) {
16763
+ return t.from(m.replace(n, (function(b) {
16764
16764
  return "+" + (b === "+" ? "" : this.iconv.encode(b, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
16765
16765
  }).bind(this)));
16766
16766
  }, r.prototype.end = function() {
16767
16767
  };
16768
- function s(g, b) {
16768
+ function s(m, b) {
16769
16769
  this.iconv = b.iconv, this.inBase64 = !1, this.base64Accum = "";
16770
16770
  }
16771
16771
  for (var i = /[A-Za-z0-9\/+]/, a = [], o = 0; o < 256; o++)
16772
16772
  a[o] = i.test(String.fromCharCode(o));
16773
16773
  var c = 43, l = 45, u = 38;
16774
- s.prototype.write = function(g) {
16775
- for (var b = "", v = 0, w = this.inBase64, C = this.base64Accum, T = 0; T < g.length; T++)
16774
+ s.prototype.write = function(m) {
16775
+ for (var b = "", v = 0, w = this.inBase64, C = this.base64Accum, T = 0; T < m.length; T++)
16776
16776
  if (!w)
16777
- g[T] == c && (b += this.iconv.decode(g.slice(v, T), "ascii"), v = T + 1, w = !0);
16778
- else if (!a[g[T]]) {
16779
- if (T == v && g[T] == l)
16777
+ m[T] == c && (b += this.iconv.decode(m.slice(v, T), "ascii"), v = T + 1, w = !0);
16778
+ else if (!a[m[T]]) {
16779
+ if (T == v && m[T] == l)
16780
16780
  b += "+";
16781
16781
  else {
16782
- var E = C + this.iconv.decode(g.slice(v, T), "ascii");
16782
+ var E = C + this.iconv.decode(m.slice(v, T), "ascii");
16783
16783
  b += this.iconv.decode(t.from(E, "base64"), "utf16-be");
16784
16784
  }
16785
- g[T] != l && T--, v = T + 1, w = !1, C = "";
16785
+ m[T] != l && T--, v = T + 1, w = !1, C = "";
16786
16786
  }
16787
16787
  if (!w)
16788
- b += this.iconv.decode(g.slice(v), "ascii");
16788
+ b += this.iconv.decode(m.slice(v), "ascii");
16789
16789
  else {
16790
- var E = C + this.iconv.decode(g.slice(v), "ascii"), R = E.length - E.length % 8;
16790
+ var E = C + this.iconv.decode(m.slice(v), "ascii"), R = E.length - E.length % 8;
16791
16791
  C = E.slice(R), E = E.slice(0, R), b += this.iconv.decode(t.from(E, "base64"), "utf16-be");
16792
16792
  }
16793
16793
  return this.inBase64 = w, this.base64Accum = C, b;
16794
16794
  }, s.prototype.end = function() {
16795
- var g = "";
16796
- return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
16795
+ var m = "";
16796
+ return this.inBase64 && this.base64Accum.length > 0 && (m = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", m;
16797
16797
  }, qt.utf7imap = f;
16798
- function f(g, b) {
16798
+ function f(m, b) {
16799
16799
  this.iconv = b;
16800
16800
  }
16801
16801
  f.prototype.encoder = h, f.prototype.decoder = p, f.prototype.bomAware = !0;
16802
- function h(g, b) {
16802
+ function h(m, b) {
16803
16803
  this.iconv = b.iconv, this.inBase64 = !1, this.base64Accum = t.alloc(6), this.base64AccumIdx = 0;
16804
16804
  }
16805
- h.prototype.write = function(g) {
16806
- for (var b = this.inBase64, v = this.base64Accum, w = this.base64AccumIdx, C = t.alloc(g.length * 5 + 10), T = 0, E = 0; E < g.length; E++) {
16807
- var R = g.charCodeAt(E);
16805
+ h.prototype.write = function(m) {
16806
+ for (var b = this.inBase64, v = this.base64Accum, w = this.base64AccumIdx, C = t.alloc(m.length * 5 + 10), T = 0, E = 0; E < m.length; E++) {
16807
+ var R = m.charCodeAt(E);
16808
16808
  R >= 32 && R <= 126 ? (b && (w > 0 && (T += C.write(v.slice(0, w).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), T), w = 0), C[T++] = l, b = !1), b || (C[T++] = R, R === u && (C[T++] = l))) : (b || (C[T++] = u, b = !0), b && (v[w++] = R >> 8, v[w++] = R & 255, w == v.length && (T += C.write(v.toString("base64").replace(/\//g, ","), T), w = 0)));
16809
16809
  }
16810
16810
  return this.inBase64 = b, this.base64AccumIdx = w, C.slice(0, T);
16811
16811
  }, h.prototype.end = function() {
16812
- var g = t.alloc(10), b = 0;
16813
- return this.inBase64 && (this.base64AccumIdx > 0 && (b += g.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), b), this.base64AccumIdx = 0), g[b++] = l, this.inBase64 = !1), g.slice(0, b);
16812
+ var m = t.alloc(10), b = 0;
16813
+ return this.inBase64 && (this.base64AccumIdx > 0 && (b += m.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), b), this.base64AccumIdx = 0), m[b++] = l, this.inBase64 = !1), m.slice(0, b);
16814
16814
  };
16815
- function p(g, b) {
16815
+ function p(m, b) {
16816
16816
  this.iconv = b.iconv, this.inBase64 = !1, this.base64Accum = "";
16817
16817
  }
16818
16818
  var y = a.slice();
16819
- return y[44] = !0, p.prototype.write = function(g) {
16820
- for (var b = "", v = 0, w = this.inBase64, C = this.base64Accum, T = 0; T < g.length; T++)
16819
+ return y[44] = !0, p.prototype.write = function(m) {
16820
+ for (var b = "", v = 0, w = this.inBase64, C = this.base64Accum, T = 0; T < m.length; T++)
16821
16821
  if (!w)
16822
- g[T] == u && (b += this.iconv.decode(g.slice(v, T), "ascii"), v = T + 1, w = !0);
16823
- else if (!y[g[T]]) {
16824
- if (T == v && g[T] == l)
16822
+ m[T] == u && (b += this.iconv.decode(m.slice(v, T), "ascii"), v = T + 1, w = !0);
16823
+ else if (!y[m[T]]) {
16824
+ if (T == v && m[T] == l)
16825
16825
  b += "&";
16826
16826
  else {
16827
- var E = C + this.iconv.decode(g.slice(v, T), "ascii").replace(/,/g, "/");
16827
+ var E = C + this.iconv.decode(m.slice(v, T), "ascii").replace(/,/g, "/");
16828
16828
  b += this.iconv.decode(t.from(E, "base64"), "utf16-be");
16829
16829
  }
16830
- g[T] != l && T--, v = T + 1, w = !1, C = "";
16830
+ m[T] != l && T--, v = T + 1, w = !1, C = "";
16831
16831
  }
16832
16832
  if (!w)
16833
- b += this.iconv.decode(g.slice(v), "ascii");
16833
+ b += this.iconv.decode(m.slice(v), "ascii");
16834
16834
  else {
16835
- var E = C + this.iconv.decode(g.slice(v), "ascii").replace(/,/g, "/"), R = E.length - E.length % 8;
16835
+ var E = C + this.iconv.decode(m.slice(v), "ascii").replace(/,/g, "/"), R = E.length - E.length % 8;
16836
16836
  C = E.slice(R), E = E.slice(0, R), b += this.iconv.decode(t.from(E, "base64"), "utf16-be");
16837
16837
  }
16838
16838
  return this.inBase64 = w, this.base64Accum = C, b;
16839
16839
  }, p.prototype.end = function() {
16840
- var g = "";
16841
- return this.inBase64 && this.base64Accum.length > 0 && (g = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", g;
16840
+ var m = "";
16841
+ return this.inBase64 && this.base64Accum.length > 0 && (m = this.iconv.decode(t.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", m;
16842
16842
  }, qt;
16843
16843
  }
16844
16844
  var fr = {}, Ei;
@@ -17502,16 +17502,16 @@ function i0() {
17502
17502
  throw new Error("Encoding '" + this.encodingName + "' has no data.");
17503
17503
  var y = h.table();
17504
17504
  this.decodeTables = [], this.decodeTables[0] = i.slice(0), this.decodeTableSeq = [];
17505
- for (var g = 0; g < y.length; g++)
17506
- this._addDecodeChunk(y[g]);
17505
+ for (var m = 0; m < y.length; m++)
17506
+ this._addDecodeChunk(y[m]);
17507
17507
  if (typeof h.gb18030 == "function") {
17508
17508
  this.gb18030 = h.gb18030();
17509
17509
  var b = this.decodeTables.length;
17510
17510
  this.decodeTables.push(i.slice(0));
17511
17511
  var v = this.decodeTables.length;
17512
17512
  this.decodeTables.push(i.slice(0));
17513
- for (var w = this.decodeTables[0], g = 129; g <= 254; g++)
17514
- for (var C = this.decodeTables[s - w[g]], T = 48; T <= 57; T++) {
17513
+ for (var w = this.decodeTables[0], m = 129; m <= 254; m++)
17514
+ for (var C = this.decodeTables[s - w[m]], T = 48; T <= 57; T++) {
17515
17515
  if (C[T] === e)
17516
17516
  C[T] = s - b;
17517
17517
  else if (C[T] > s)
@@ -17525,16 +17525,16 @@ function i0() {
17525
17525
  if (E[R] > s)
17526
17526
  throw new Error("gb18030 decode tables conflict at byte 3");
17527
17527
  }
17528
- for (var U = this.decodeTables[s - E[R]], W = 48; W <= 57; W++)
17529
- U[W] === e && (U[W] = n);
17528
+ for (var P = this.decodeTables[s - E[R]], W = 48; W <= 57; W++)
17529
+ P[W] === e && (P[W] = n);
17530
17530
  }
17531
17531
  }
17532
17532
  }
17533
17533
  this.defaultCharUnicode = p.defaultCharUnicode, this.encodeTable = [], this.encodeTableSeq = [];
17534
17534
  var j = {};
17535
17535
  if (h.encodeSkipVals)
17536
- for (var g = 0; g < h.encodeSkipVals.length; g++) {
17537
- var N = h.encodeSkipVals[g];
17536
+ for (var m = 0; m < h.encodeSkipVals.length; m++) {
17537
+ var N = h.encodeSkipVals[m];
17538
17538
  if (typeof N == "number")
17539
17539
  j[N] = !0;
17540
17540
  else
@@ -17542,18 +17542,18 @@ function i0() {
17542
17542
  j[T] = !0;
17543
17543
  }
17544
17544
  if (this._fillEncodeTable(0, 0, j), h.encodeAdd)
17545
- for (var $ in h.encodeAdd)
17546
- Object.prototype.hasOwnProperty.call(h.encodeAdd, $) && this._setEncodeChar($.charCodeAt(0), h.encodeAdd[$]);
17545
+ for (var Y in h.encodeAdd)
17546
+ Object.prototype.hasOwnProperty.call(h.encodeAdd, Y) && this._setEncodeChar(Y.charCodeAt(0), h.encodeAdd[Y]);
17547
17547
  this.defCharSB = this.encodeTable[0][p.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === e && (this.defCharSB = this.encodeTable[0]["?"]), this.defCharSB === e && (this.defCharSB = 63);
17548
17548
  }
17549
17549
  c.prototype.encoder = l, c.prototype.decoder = u, c.prototype._getDecodeTrieNode = function(h) {
17550
17550
  for (var p = []; h > 0; h >>>= 8)
17551
17551
  p.push(h & 255);
17552
17552
  p.length == 0 && p.push(0);
17553
- for (var y = this.decodeTables[0], g = p.length - 1; g > 0; g--) {
17554
- var b = y[p[g]];
17553
+ for (var y = this.decodeTables[0], m = p.length - 1; m > 0; m--) {
17554
+ var b = y[p[m]];
17555
17555
  if (b == e)
17556
- y[p[g]] = s - this.decodeTables.length, this.decodeTables.push(y = i.slice(0));
17556
+ y[p[m]] = s - this.decodeTables.length, this.decodeTables.push(y = i.slice(0));
17557
17557
  else if (b <= s)
17558
17558
  y = this.decodeTables[s - b];
17559
17559
  else
@@ -17563,8 +17563,8 @@ function i0() {
17563
17563
  }, c.prototype._addDecodeChunk = function(h) {
17564
17564
  var p = parseInt(h[0], 16), y = this._getDecodeTrieNode(p);
17565
17565
  p = p & 255;
17566
- for (var g = 1; g < h.length; g++) {
17567
- var b = h[g];
17566
+ for (var m = 1; m < h.length; m++) {
17567
+ var b = h[m];
17568
17568
  if (typeof b == "string")
17569
17569
  for (var v = 0; v < b.length; ) {
17570
17570
  var w = b.charCodeAt(v++);
@@ -17582,8 +17582,8 @@ function i0() {
17582
17582
  y[p++] = w;
17583
17583
  }
17584
17584
  else if (typeof b == "number")
17585
- for (var U = y[p - 1] + 1, v = 0; v < b; v++)
17586
- y[p++] = U++;
17585
+ for (var P = y[p - 1] + 1, v = 0; v < b; v++)
17586
+ y[p++] = P++;
17587
17587
  else
17588
17588
  throw new Error("Incorrect type '" + typeof b + "' given in " + this.encodingName + " at chunk " + h[0]);
17589
17589
  }
@@ -17593,19 +17593,19 @@ function i0() {
17593
17593
  var p = h >> 8;
17594
17594
  return this.encodeTable[p] === void 0 && (this.encodeTable[p] = i.slice(0)), this.encodeTable[p];
17595
17595
  }, c.prototype._setEncodeChar = function(h, p) {
17596
- var y = this._getEncodeBucket(h), g = h & 255;
17597
- y[g] <= r ? this.encodeTableSeq[r - y[g]][a] = p : y[g] == e && (y[g] = p);
17596
+ var y = this._getEncodeBucket(h), m = h & 255;
17597
+ y[m] <= r ? this.encodeTableSeq[r - y[m]][a] = p : y[m] == e && (y[m] = p);
17598
17598
  }, c.prototype._setEncodeSequence = function(h, p) {
17599
- var y = h[0], g = this._getEncodeBucket(y), b = y & 255, v;
17600
- g[b] <= r ? v = this.encodeTableSeq[r - g[b]] : (v = {}, g[b] !== e && (v[a] = g[b]), g[b] = r - this.encodeTableSeq.length, this.encodeTableSeq.push(v));
17599
+ var y = h[0], m = this._getEncodeBucket(y), b = y & 255, v;
17600
+ m[b] <= r ? v = this.encodeTableSeq[r - m[b]] : (v = {}, m[b] !== e && (v[a] = m[b]), m[b] = r - this.encodeTableSeq.length, this.encodeTableSeq.push(v));
17601
17601
  for (var w = 1; w < h.length - 1; w++) {
17602
17602
  var C = v[y];
17603
17603
  typeof C == "object" ? v = C : (v = v[y] = {}, C !== void 0 && (v[a] = C));
17604
17604
  }
17605
17605
  y = h[h.length - 1], v[y] = p;
17606
17606
  }, c.prototype._fillEncodeTable = function(h, p, y) {
17607
- for (var g = this.decodeTables[h], b = !1, v = {}, w = 0; w < 256; w++) {
17608
- var C = g[w], T = p + w;
17607
+ for (var m = this.decodeTables[h], b = !1, v = {}, w = 0; w < 256; w++) {
17608
+ var C = m[w], T = p + w;
17609
17609
  if (!y[T])
17610
17610
  if (C >= 0)
17611
17611
  this._setEncodeChar(C, T), b = !0;
@@ -17623,7 +17623,7 @@ function i0() {
17623
17623
  this.leadSurrogate = -1, this.seqObj = void 0, this.encodeTable = p.encodeTable, this.encodeTableSeq = p.encodeTableSeq, this.defaultCharSingleByte = p.defCharSB, this.gb18030 = p.gb18030;
17624
17624
  }
17625
17625
  l.prototype.write = function(h) {
17626
- for (var p = t.alloc(h.length * (this.gb18030 ? 4 : 3)), y = this.leadSurrogate, g = this.seqObj, b = -1, v = 0, w = 0; ; ) {
17626
+ for (var p = t.alloc(h.length * (this.gb18030 ? 4 : 3)), y = this.leadSurrogate, m = this.seqObj, b = -1, v = 0, w = 0; ; ) {
17627
17627
  if (b === -1) {
17628
17628
  if (v == h.length) break;
17629
17629
  var C = h.charCodeAt(v++);
@@ -17642,23 +17642,23 @@ function i0() {
17642
17642
  y !== -1 ? (C = 65536 + (y - 55296) * 1024 + (C - 56320), y = -1) : C = e;
17643
17643
  else y !== -1 && (b = C, C = e, y = -1);
17644
17644
  var T = e;
17645
- if (g !== void 0 && C != e) {
17646
- var E = g[C];
17645
+ if (m !== void 0 && C != e) {
17646
+ var E = m[C];
17647
17647
  if (typeof E == "object") {
17648
- g = E;
17648
+ m = E;
17649
17649
  continue;
17650
- } else typeof E == "number" ? T = E : E == null && (E = g[a], E !== void 0 && (T = E, b = C));
17651
- g = void 0;
17650
+ } else typeof E == "number" ? T = E : E == null && (E = m[a], E !== void 0 && (T = E, b = C));
17651
+ m = void 0;
17652
17652
  } else if (C >= 0) {
17653
17653
  var R = this.encodeTable[C >> 8];
17654
17654
  if (R !== void 0 && (T = R[C & 255]), T <= r) {
17655
- g = this.encodeTableSeq[r - T];
17655
+ m = this.encodeTableSeq[r - T];
17656
17656
  continue;
17657
17657
  }
17658
17658
  if (T == e && this.gb18030) {
17659
- var U = f(this.gb18030.uChars, C);
17660
- if (U != -1) {
17661
- var T = this.gb18030.gbChars[U] + (C - this.gb18030.uChars[U]);
17659
+ var P = f(this.gb18030.uChars, C);
17660
+ if (P != -1) {
17661
+ var T = this.gb18030.gbChars[P] + (C - this.gb18030.uChars[P]);
17662
17662
  p[w++] = 129 + Math.floor(T / 12600), T = T % 12600, p[w++] = 48 + Math.floor(T / 1260), T = T % 1260, p[w++] = 129 + Math.floor(T / 10), T = T % 10, p[w++] = 48 + T;
17663
17663
  continue;
17664
17664
  }
@@ -17666,7 +17666,7 @@ function i0() {
17666
17666
  }
17667
17667
  T === e && (T = this.defaultCharSingleByte), T < 256 ? p[w++] = T : T < 65536 ? (p[w++] = T >> 8, p[w++] = T & 255) : T < 16777216 ? (p[w++] = T >> 16, p[w++] = T >> 8 & 255, p[w++] = T & 255) : (p[w++] = T >>> 24, p[w++] = T >>> 16 & 255, p[w++] = T >>> 8 & 255, p[w++] = T & 255);
17668
17668
  }
17669
- return this.seqObj = g, this.leadSurrogate = y, p.slice(0, w);
17669
+ return this.seqObj = m, this.leadSurrogate = y, p.slice(0, w);
17670
17670
  }, l.prototype.end = function() {
17671
17671
  if (!(this.leadSurrogate === -1 && this.seqObj === void 0)) {
17672
17672
  var h = t.alloc(10), p = 0;
@@ -17681,17 +17681,17 @@ function i0() {
17681
17681
  this.nodeIdx = 0, this.prevBytes = [], this.decodeTables = p.decodeTables, this.decodeTableSeq = p.decodeTableSeq, this.defaultCharUnicode = p.defaultCharUnicode, this.gb18030 = p.gb18030;
17682
17682
  }
17683
17683
  u.prototype.write = function(h) {
17684
- for (var p = t.alloc(h.length * 2), y = this.nodeIdx, g = this.prevBytes, b = this.prevBytes.length, v = -this.prevBytes.length, w, C = 0, T = 0; C < h.length; C++) {
17685
- var E = C >= 0 ? h[C] : g[C + b], w = this.decodeTables[y][E];
17684
+ for (var p = t.alloc(h.length * 2), y = this.nodeIdx, m = this.prevBytes, b = this.prevBytes.length, v = -this.prevBytes.length, w, C = 0, T = 0; C < h.length; C++) {
17685
+ var E = C >= 0 ? h[C] : m[C + b], w = this.decodeTables[y][E];
17686
17686
  if (!(w >= 0)) if (w === e)
17687
17687
  w = this.defaultCharUnicode.charCodeAt(0), C = v;
17688
17688
  else if (w === n) {
17689
17689
  if (C >= 3)
17690
17690
  var R = (h[C - 3] - 129) * 12600 + (h[C - 2] - 48) * 1260 + (h[C - 1] - 129) * 10 + (E - 48);
17691
17691
  else
17692
- var R = (g[C - 3 + b] - 129) * 12600 + ((C - 2 >= 0 ? h[C - 2] : g[C - 2 + b]) - 48) * 1260 + ((C - 1 >= 0 ? h[C - 1] : g[C - 1 + b]) - 129) * 10 + (E - 48);
17693
- var U = f(this.gb18030.gbChars, R);
17694
- w = this.gb18030.uChars[U] + R - this.gb18030.gbChars[U];
17692
+ var R = (m[C - 3 + b] - 129) * 12600 + ((C - 2 >= 0 ? h[C - 2] : m[C - 2 + b]) - 48) * 1260 + ((C - 1 >= 0 ? h[C - 1] : m[C - 1 + b]) - 129) * 10 + (E - 48);
17693
+ var P = f(this.gb18030.gbChars, R);
17694
+ w = this.gb18030.uChars[P] + R - this.gb18030.gbChars[P];
17695
17695
  } else if (w <= s) {
17696
17696
  y = s - w;
17697
17697
  continue;
@@ -17708,7 +17708,7 @@ function i0() {
17708
17708
  }
17709
17709
  p[T++] = w & 255, p[T++] = w >> 8, y = 0, v = C + 1;
17710
17710
  }
17711
- return this.nodeIdx = y, this.prevBytes = v >= 0 ? Array.prototype.slice.call(h, v) : g.slice(v + b).concat(Array.prototype.slice.call(h)), p.slice(0, T).toString("ucs2");
17711
+ return this.nodeIdx = y, this.prevBytes = v >= 0 ? Array.prototype.slice.call(h, v) : m.slice(v + b).concat(Array.prototype.slice.call(h)), p.slice(0, T).toString("ucs2");
17712
17712
  }, u.prototype.end = function() {
17713
17713
  for (var h = ""; this.prevBytes.length > 0; ) {
17714
17714
  h += this.defaultCharUnicode;
@@ -17720,9 +17720,9 @@ function i0() {
17720
17720
  function f(h, p) {
17721
17721
  if (h[0] > p)
17722
17722
  return -1;
17723
- for (var y = 0, g = h.length; y < g - 1; ) {
17724
- var b = y + (g - y + 1 >> 1);
17725
- h[b] <= p ? y = b : g = b;
17723
+ for (var y = 0, m = h.length; y < m - 1; ) {
17724
+ var b = y + (m - y + 1 >> 1);
17725
+ h[b] <= p ? y = b : m = b;
17726
17726
  }
17727
17727
  return y;
17728
17728
  }
@@ -26509,18 +26509,17 @@ const ft = class ft extends sa {
26509
26509
  generateShapes(e, n) {
26510
26510
  const r = [];
26511
26511
  let s = 0;
26512
- for (let i = 0; i < e.length; i++) {
26513
- const a = e[i];
26514
- if (a === " ") {
26512
+ for (const i of e) {
26513
+ if (i === " ") {
26515
26514
  s += this.getSpaceAdvance(n);
26516
26515
  continue;
26517
26516
  }
26518
- const o = this.getCharShape(a, n);
26519
- if (!o) {
26520
- s += this.getSpaceAdvance(n), this.addUnsupportedChar(a);
26517
+ const a = this.getCharShape(i, n);
26518
+ if (!a) {
26519
+ s += this.getSpaceAdvance(n), this.addUnsupportedChar(i);
26521
26520
  continue;
26522
26521
  }
26523
- r.push(o.offset(new se(s, 0))), s += o.width;
26522
+ r.push(a.offset(new se(s, 0))), s += a.width;
26524
26523
  }
26525
26524
  return r;
26526
26525
  }
@@ -27503,7 +27502,7 @@ function Ui(t, e = "") {
27503
27502
  }
27504
27503
  return n;
27505
27504
  }
27506
- function K0(t) {
27505
+ function J0(t) {
27507
27506
  const e = [
27508
27507
  `mtext-renderer memory estimate @ ${new Date(t.collectedAt).toISOString()}`,
27509
27508
  `total (live isolates): ${Le(t.totalEstimatedBytes)}`
@@ -27558,7 +27557,7 @@ function k0(t) {
27558
27557
  const [e, n, r] = t;
27559
27558
  return e << 16 | n << 8 | r;
27560
27559
  }
27561
- function Z0(t) {
27560
+ function Q0(t) {
27562
27561
  const e = t >> 16 & 255, n = t >> 8 & 255, r = t & 255;
27563
27562
  return [e, n, r];
27564
27563
  }
@@ -27614,10 +27613,10 @@ function A0(t) {
27614
27613
  }, a = i(s[0]), o = i(s[1]), c = i(s[2]);
27615
27614
  return k0([a, o, c]);
27616
27615
  }
27617
- function J0(t) {
27616
+ function e1(t) {
27618
27617
  return t.replace(/\r\n|\r|\n/g, "\\P");
27619
27618
  }
27620
- function Q0(t) {
27619
+ function t1(t) {
27621
27620
  return t.replace(/\\P/g, "").replace(/\\~/g, "").includes("\\");
27622
27621
  }
27623
27622
  function O0(t, e = !1) {
@@ -27740,6 +27739,41 @@ class I0 {
27740
27739
  } else
27741
27740
  return ((s = this.scanner.tail.match(new RegExp(`^[0-9A-Fa-f]{${e}}`))) == null ? void 0 : s[0]) ?? null;
27742
27741
  }
27742
+ /**
27743
+ * Parse an AutoCAD `\U+nnnn` escape after the leading `U` has been consumed.
27744
+ *
27745
+ * @remarks
27746
+ * Exactly four hexadecimal digits are read. A high surrogate followed by
27747
+ * another `\U+nnnn` low surrogate is combined into one supplementary-plane
27748
+ * character (AutoCAD's encoding for code points above U+FFFF).
27749
+ *
27750
+ * @returns The decoded character, or `null` if the escape is incomplete
27751
+ */
27752
+ parseUnicodeEscape() {
27753
+ if (this.scanner.peek() !== "+")
27754
+ return null;
27755
+ this.scanner.consume(1);
27756
+ const e = this.scanner.tail.match(/^[0-9A-Fa-f]{4}/);
27757
+ if (!e)
27758
+ return this.scanner.consume(-1), null;
27759
+ const n = parseInt(e[0], 16);
27760
+ if (this.scanner.consume(e[0].length), n >= 55296 && n <= 56319) {
27761
+ const r = this.scanner.tail.match(/^\\U\+([0-9A-Fa-f]{4})/);
27762
+ if (r) {
27763
+ const s = parseInt(r[1], 16);
27764
+ if (s >= 56320 && s <= 57343) {
27765
+ this.scanner.consume(r[0].length);
27766
+ const i = (n - 55296 << 10) + (s - 56320) + 65536;
27767
+ try {
27768
+ return String.fromCodePoint(i);
27769
+ } catch {
27770
+ return "▯";
27771
+ }
27772
+ }
27773
+ }
27774
+ }
27775
+ return String.fromCharCode(n);
27776
+ }
27743
27777
  /**
27744
27778
  * Push current context onto the stack
27745
27779
  */
@@ -28180,26 +28214,13 @@ class I0 {
28180
28214
  }
28181
28215
  o += "\\M";
28182
28216
  continue;
28183
- case "U":
28184
- if (this.scanner.peek() === "+") {
28185
- this.scanner.consume(1);
28186
- const h = this.scanner.tail.match(/^[0-9A-Fa-f]{4,8}/);
28187
- if (h) {
28188
- const p = h[0];
28189
- this.scanner.consume(p.length);
28190
- const y = parseInt(p, 16);
28191
- let g = "";
28192
- try {
28193
- g = String.fromCodePoint(y);
28194
- } catch {
28195
- g = "▯";
28196
- }
28197
- return o ? [e, o] : [e, g];
28198
- }
28199
- this.scanner.consume(-1);
28200
- }
28217
+ case "U": {
28218
+ const h = this.parseUnicodeEscape();
28219
+ if (h !== null)
28220
+ return o ? [e, o] : [e, h];
28201
28221
  o += "\\U";
28202
28222
  continue;
28223
+ }
28203
28224
  default:
28204
28225
  if (f)
28205
28226
  try {
@@ -28229,12 +28250,12 @@ class I0 {
28229
28250
  if (p.every((y) => y >= "0" && y <= "9")) {
28230
28251
  const y = Number.parseInt(p.join(""), 10);
28231
28252
  if (this.scanner.consume(5), this.yieldPercentSymbols) {
28232
- const g = {
28253
+ const m = {
28233
28254
  kind: "numeric",
28234
28255
  charCode: y,
28235
28256
  char: String.fromCharCode(y)
28236
28257
  };
28237
- return o ? (r = Q.PERCENT_SYMBOL, s = g, [e, o]) : [Q.PERCENT_SYMBOL, g];
28258
+ return o ? (r = Q.PERCENT_SYMBOL, s = m, [e, o]) : [Q.PERCENT_SYMBOL, m];
28238
28259
  }
28239
28260
  o += String.fromCharCode(y);
28240
28261
  } else
@@ -28713,7 +28734,7 @@ function Kt(t) {
28713
28734
  const e = t.color, n = e.aci;
28714
28735
  return n === 0 ? Yt(t.byBlockColor) : n === 256 ? Yt(t.byLayerColor) : n != null ? ta(n) : e.rgbValue !== null ? Yt(e.rgbValue) : Yt(t.byLayerColor);
28715
28736
  }
28716
- function e1(t) {
28737
+ function n1(t) {
28717
28738
  return t.isRgb && t.rgbValue != null ? { rgbValue: t.rgbValue } : t.aci != null ? { aci: t.aci } : { aci: 256 };
28718
28739
  }
28719
28740
  function R0(t) {
@@ -29671,9 +29692,9 @@ class ji {
29671
29692
  processWord(e, n, r, s, i) {
29672
29693
  const a = [];
29673
29694
  let o = 0;
29674
- for (let c = 0; c < e.length; c++) {
29675
- const l = e[c], u = this.resolveCharShape(l), f = u == null ? void 0 : u.shape;
29676
- a.push({ char: l, shape: f }), f ? this.currentHorizontalAlignment == oe.DISTRIBUTED ? o += f.width * this.currentWidthFactor : o += f.width * this.currentWordSpace * this.currentWidthFactor : o += this.currentBlankAdvance;
29695
+ for (const c of e) {
29696
+ const l = this.resolveCharShape(c), u = l == null ? void 0 : l.shape;
29697
+ a.push({ char: c, shape: u }), u ? this.currentHorizontalAlignment == oe.DISTRIBUTED ? o += u.width * this.currentWidthFactor : o += u.width * this.currentWordSpace * this.currentWidthFactor : o += this.currentBlankAdvance;
29677
29698
  }
29678
29699
  this.hOffset + o > (this.maxLineWidth || 1 / 0) && (this._vOffset <= 0 && this._currentLineObjects.length <= 0 || (this.recordVisualLineBreak(s, i), this.advanceToNextLine(!1)));
29679
29700
  for (const { char: c } of a)
@@ -29698,17 +29719,17 @@ class ji {
29698
29719
  const [a, o, c] = e, l = this._hOffset, u = this._vOffset, f = this._currentContext.charTrackingFactor.value, h = this.currentFontSize, p = this._currentContext.fontSizeScaleFactor;
29699
29720
  this._hOffset = l, this._currentContext.charTrackingFactor = { value: 1, isRelative: !1 };
29700
29721
  let y = 0;
29701
- for (let C = 0; C < a.length; C++) {
29702
- const T = this.getCharShape(a[C]);
29722
+ for (const C of a) {
29723
+ const T = this.getCharShape(C);
29703
29724
  T && (y += T.width * this.currentWidthFactor);
29704
29725
  }
29705
29726
  this._hOffset = l;
29706
- let g = 0;
29707
- for (let C = 0; C < o.length; C++) {
29708
- const T = this.getCharShape(o[C]);
29709
- T && (g += T.width * this.currentWidthFactor);
29727
+ let m = 0;
29728
+ for (const C of o) {
29729
+ const T = this.getCharShape(C);
29730
+ T && (m += T.width * this.currentWidthFactor);
29710
29731
  }
29711
- const b = Math.max(y, g), v = (b - y) / 2, w = (b - g) / 2;
29732
+ const b = Math.max(y, m), v = (b - y) / 2, w = (b - m) / 2;
29712
29733
  if (c === "^") {
29713
29734
  if (a && !o) {
29714
29735
  this._currentContext.fontSizeScaleFactor = p * 0.7, this.calcuateLineParams();
@@ -29717,9 +29738,9 @@ class ji {
29717
29738
  u + h * 0.1,
29718
29739
  this.currentFontSize
29719
29740
  );
29720
- for (let U = 0; U < a.length; U++)
29741
+ for (const P of a)
29721
29742
  this.processChar(
29722
- a[U],
29743
+ P,
29723
29744
  C,
29724
29745
  T,
29725
29746
  E,
@@ -29733,34 +29754,34 @@ class ji {
29733
29754
  u - h * 0.6,
29734
29755
  this.currentFontSize
29735
29756
  );
29736
- for (let U = 0; U < o.length; U++)
29757
+ for (const P of o)
29737
29758
  this.processChar(
29738
- o[U],
29759
+ P,
29739
29760
  C,
29740
29761
  T,
29741
29762
  E,
29742
29763
  R
29743
29764
  );
29744
- n.push(...C), r.push(...T), s.push(...E), i.push(...R), this._hOffset = l + g, this._currentContext.fontSizeScaleFactor = p, this.calcuateLineParams();
29765
+ n.push(...C), r.push(...T), s.push(...E), i.push(...R), this._hOffset = l + m, this._currentContext.fontSizeScaleFactor = p, this.calcuateLineParams();
29745
29766
  } else if (a && o) {
29746
29767
  const C = this._currentContext.fontScaleFactor || 1, T = (this._maxFontSize || this.currentFontSize) / C, E = Math.abs(this.currentLayoutFontSize - T) < 1e-6;
29747
29768
  E && (this._currentContext.fontSizeScaleFactor = p * 0.7, this.calcuateLineParams());
29748
- const R = Math.max(y, g), U = 0, W = 0, j = this.currentLayoutFontSize, N = u - T + j, $ = N + this.currentFontSize, ie = [], P = [], D = [], _ = [];
29749
- this._hOffset = l + U, this._vOffset = $;
29750
- for (let fe = 0; fe < a.length; fe++)
29769
+ const R = Math.max(y, m), P = 0, W = 0, j = this.currentLayoutFontSize, N = u - T + j, Y = N + this.currentFontSize, ie = [], U = [], D = [], _ = [];
29770
+ this._hOffset = l + P, this._vOffset = Y;
29771
+ for (const me of a)
29751
29772
  this.processChar(
29752
- a[fe],
29773
+ me,
29753
29774
  ie,
29754
- P,
29775
+ U,
29755
29776
  D,
29756
29777
  _
29757
29778
  );
29758
- n.push(...ie), r.push(...P), s.push(...D), i.push(..._);
29779
+ n.push(...ie), r.push(...U), s.push(...D), i.push(..._);
29759
29780
  const re = [], Te = [], Qe = [], _e = [];
29760
29781
  this._hOffset = l + W, this._vOffset = N;
29761
- for (let fe = 0; fe < o.length; fe++)
29782
+ for (const me of o)
29762
29783
  this.processChar(
29763
- o[fe],
29784
+ me,
29764
29785
  re,
29765
29786
  Te,
29766
29787
  Qe,
@@ -29774,9 +29795,9 @@ class ji {
29774
29795
  u + this.currentFontSize * 0.3,
29775
29796
  this.currentFontSize
29776
29797
  );
29777
- for (let $ = 0; $ < a.length; $++)
29798
+ for (const Y of a)
29778
29799
  this.processChar(
29779
- a[$],
29800
+ Y,
29780
29801
  C,
29781
29802
  T,
29782
29803
  E,
@@ -29789,21 +29810,21 @@ class ji {
29789
29810
  s,
29790
29811
  i
29791
29812
  );
29792
- const U = [], W = [], j = [], N = [];
29813
+ const P = [], W = [], j = [], N = [];
29793
29814
  this._hOffset = l + w, this._vOffset = this.convertTopAlignedVOffset(
29794
29815
  u - this.currentFontSize * 0.6,
29795
29816
  this.currentFontSize
29796
29817
  );
29797
- for (let $ = 0; $ < o.length; $++)
29818
+ for (const Y of o)
29798
29819
  this.processChar(
29799
- o[$],
29800
- U,
29820
+ Y,
29821
+ P,
29801
29822
  W,
29802
29823
  j,
29803
29824
  N
29804
29825
  );
29805
- if (n.push(...U), r.push(...W), s.push(...j), i.push(...N), c === "/" || c === "#") {
29806
- const $ = new I.BufferGeometry(), ie = new Float32Array([
29826
+ if (n.push(...P), r.push(...W), s.push(...j), i.push(...N), c === "/" || c === "#") {
29827
+ const Y = new I.BufferGeometry(), ie = new Float32Array([
29807
29828
  l,
29808
29829
  u - this.currentFontSize * 0.8 + this.defaultFontSize * bn,
29809
29830
  0,
@@ -29811,10 +29832,10 @@ class ji {
29811
29832
  u - this.currentFontSize * 0.8 + this.defaultFontSize * bn,
29812
29833
  0
29813
29834
  ]);
29814
- $.setAttribute(
29835
+ Y.setAttribute(
29815
29836
  "position",
29816
29837
  new I.BufferAttribute(ie, 3)
29817
- ), $.setIndex([0, 1]), $.userData = { isDecoration: !0 }, r.push($);
29838
+ ), Y.setIndex([0, 1]), Y.userData = { isDecoration: !0 }, r.push(Y);
29818
29839
  }
29819
29840
  this._hOffset = l + b;
29820
29841
  }
@@ -29963,11 +29984,11 @@ class ji {
29963
29984
  l,
29964
29985
  u,
29965
29986
  f
29966
- ), g = c.toGeometry();
29987
+ ), m = c.toGeometry();
29967
29988
  this.appendCharGeometry(
29968
29989
  c,
29969
29990
  e,
29970
- g,
29991
+ m,
29971
29992
  p,
29972
29993
  n,
29973
29994
  s,
@@ -30309,8 +30330,8 @@ class ji {
30309
30330
  o
30310
30331
  ), u = o.color.copy(), f = this._options.collectCharBoxes !== !1, h = e.filter((y) => y instanceof I.ShapeGeometry);
30311
30332
  if (h.length > 0) {
30312
- const y = h.length > 1 ? Sd(h) : h[0], g = new I.Mesh(y, c);
30313
- g.userData.bboxIntersectionCheck = !0, g.userData.charBoxType = i, g.userData.mtextColor = u, f && r.length > 0 && (g.userData.layout = { chars: r.slice() }), a.add(g);
30333
+ const y = h.length > 1 ? Sd(h) : h[0], m = new I.Mesh(y, c);
30334
+ m.userData.bboxIntersectionCheck = !0, m.userData.charBoxType = i, m.userData.mtextColor = u, f && r.length > 0 && (m.userData.layout = { chars: r.slice() }), a.add(m);
30314
30335
  }
30315
30336
  const p = [
30316
30337
  ...this._lineBatchEntries,
@@ -30321,8 +30342,8 @@ class ji {
30321
30342
  ...e.filter((y) => !(y instanceof I.ShapeGeometry)).map((y) => ({ geometry: y, matrix: zi }))
30322
30343
  ];
30323
30344
  if (p.length > 0) {
30324
- const y = Ct.mergeLineGeometries(p), g = new I.LineSegments(y, l);
30325
- g.userData.bboxIntersectionCheck = !0, g.userData.charBoxType = i, g.userData.mtextColor = u, f && s.length > 0 && (g.userData.layout = { chars: s.slice() }), a.add(g);
30345
+ const y = Ct.mergeLineGeometries(p), m = new I.LineSegments(y, l);
30346
+ m.userData.bboxIntersectionCheck = !0, m.userData.charBoxType = i, m.userData.mtextColor = u, f && s.length > 0 && (m.userData.layout = { chars: s.slice() }), a.add(m);
30326
30347
  }
30327
30348
  return a.children.length === 1 ? a.children[0] : a;
30328
30349
  }
@@ -30390,6 +30411,13 @@ function j0(t) {
30390
30411
  }
30391
30412
  });
30392
30413
  }
30414
+ const $0 = /\\U\+([0-9A-Fa-f]{4})/g;
30415
+ function Y0(t) {
30416
+ return t.replace($0, (e, n) => {
30417
+ const r = parseInt(n, 16);
30418
+ return String.fromCharCode(r);
30419
+ });
30420
+ }
30393
30421
  const $t = /* @__PURE__ */ new I.Vector3(), nt = /* @__PURE__ */ new I.Vector3(), rt = /* @__PURE__ */ new I.Vector3(), $i = /* @__PURE__ */ new I.Vector3(1, 0, 0);
30394
30422
  class tn extends I.Object3D {
30395
30423
  /**
@@ -30594,8 +30622,8 @@ class tn extends I.Object3D {
30594
30622
  e.updateWorldMatrix(!0, !0);
30595
30623
  const a = new I.Box3().setFromObject(e);
30596
30624
  if (!Number.isFinite(i)) {
30597
- const y = (p = e.userData) == null ? void 0 : p.logicalAdvanceWidth, g = typeof y == "number" && y > 0 ? y : a.max.x - a.min.x;
30598
- i = Number.isFinite(g) && g > 0 ? g : 0;
30625
+ const y = (p = e.userData) == null ? void 0 : p.logicalAdvanceWidth, m = typeof y == "number" && y > 0 ? y : a.max.x - a.min.x;
30626
+ i = Number.isFinite(m) && m > 0 ? m : 0;
30599
30627
  }
30600
30628
  const o = this.measureAnchorMetrics(
30601
30629
  e,
@@ -30613,31 +30641,31 @@ class tn extends I.Object3D {
30613
30641
  };
30614
30642
  const l = (y) => {
30615
30643
  if (!y || y.length === 0) return;
30616
- const g = new I.Vector3(c.x, c.y, 0), b = (v) => {
30644
+ const m = new I.Vector3(c.x, c.y, 0), b = (v) => {
30617
30645
  var w;
30618
- (w = v.box) == null || w.translate(g), v.children && v.children.length > 0 && v.children.forEach(b);
30646
+ (w = v.box) == null || w.translate(m), v.children && v.children.length > 0 && v.children.forEach(b);
30619
30647
  };
30620
30648
  y.forEach(b);
30621
30649
  }, u = (y) => {
30622
- !y || y.length === 0 || y.forEach((g) => {
30623
- g.y += c.y;
30650
+ !y || y.length === 0 || y.forEach((m) => {
30651
+ m.y += c.y;
30624
30652
  });
30625
30653
  };
30626
30654
  e.traverse((y) => {
30627
- var g, b, v;
30655
+ var m, b, v;
30628
30656
  if ("geometry" in y) {
30629
30657
  const w = y.geometry;
30630
30658
  Number.isFinite(c.x) && Number.isFinite(c.y) && w.translate(c.x, c.y, 0);
30631
30659
  }
30632
30660
  l(
30633
- (b = (g = y.userData) == null ? void 0 : g.layout) == null ? void 0 : b.chars
30661
+ (b = (m = y.userData) == null ? void 0 : m.layout) == null ? void 0 : b.chars
30634
30662
  ), u(
30635
30663
  (v = y.userData) == null ? void 0 : v.lineLayouts
30636
30664
  ), y.layers.enableAll();
30637
30665
  });
30638
30666
  let f = n.rotation || 0;
30639
30667
  if (n.directionVector && (s == null ? void 0 : s.shxFontType) !== X.SHAPES) {
30640
- const y = n.directionVector, g = new I.Vector3(y.x, y.y, y.z), b = g.clone().cross($i), v = $i.angleTo(g);
30668
+ const y = n.directionVector, m = new I.Vector3(y.x, y.y, y.z), b = m.clone().cross($i), v = $i.angleTo(m);
30641
30669
  f = b.z > 0 ? -v : v;
30642
30670
  }
30643
30671
  const h = n.position;
@@ -30734,13 +30762,17 @@ class tn extends I.Object3D {
30734
30762
  this.styleManager,
30735
30763
  this.fontManager,
30736
30764
  f
30737
- ), g = new I0(j0(e.text), h, {
30738
- resetParagraphParameters: !0,
30739
- yieldPropertyCommands: !0,
30740
- yieldPercentSymbols: !0
30741
- }).parse();
30765
+ ), m = new I0(
30766
+ Y0(j0(e.text)),
30767
+ h,
30768
+ {
30769
+ resetParagraphParameters: !0,
30770
+ yieldPropertyCommands: !0,
30771
+ yieldPercentSymbols: !0
30772
+ }
30773
+ ).parse();
30742
30774
  return {
30743
- object: p.processText(g),
30775
+ object: p.processText(m),
30744
30776
  height: p.totalHeight
30745
30777
  };
30746
30778
  }
@@ -30775,9 +30807,9 @@ class tn extends I.Object3D {
30775
30807
  baselineY: 0
30776
30808
  };
30777
30809
  let o = !1;
30778
- e.traverse((g) => {
30810
+ e.traverse((m) => {
30779
30811
  var v;
30780
- const b = (v = g.userData) == null ? void 0 : v.lineLayouts;
30812
+ const b = (v = m.userData) == null ? void 0 : v.lineLayouts;
30781
30813
  !b || b.length === 0 || b.forEach((w) => {
30782
30814
  const C = w.y - w.height / 2, T = w.y + w.height / 2;
30783
30815
  a.hasLine = !0, a.minY = Math.min(a.minY, C), a.maxY = Math.max(a.maxY, T), o || (a.baselineY = C, o = !0);
@@ -30949,8 +30981,8 @@ class tn extends I.Object3D {
30949
30981
  i,
30950
30982
  e.matrixWorld,
30951
30983
  p
30952
- ).forEach((g) => {
30953
- g.box && this.box.union(g.box);
30984
+ ).forEach((m) => {
30985
+ m.box && this.box.union(m.box);
30954
30986
  });
30955
30987
  return;
30956
30988
  }
@@ -31114,7 +31146,7 @@ class Eo {
31114
31146
  }
31115
31147
  }
31116
31148
  const Xi = /* @__PURE__ */ new I.Vector3(), Ki = /* @__PURE__ */ new I.Vector3(), Zi = /* @__PURE__ */ new I.Vector3();
31117
- class $0 {
31149
+ class X0 {
31118
31150
  constructor(e = {}) {
31119
31151
  this.workers = [], this.inFlightPerWorker = [], this.pendingRequests = /* @__PURE__ */ new Map(), this.requestId = 0, this.readyPromise = null, this.poolSyncedFonts = /* @__PURE__ */ new Set(), this.poolFontSyncInFlight = /* @__PURE__ */ new Map(), this.poolFontLoadedDispatched = /* @__PURE__ */ new Set(), this.poolSize = e.poolSize ?? Math.max(
31120
31152
  1,
@@ -31529,7 +31561,7 @@ class $0 {
31529
31561
  this.terminate();
31530
31562
  }
31531
31563
  }
31532
- class Y0 {
31564
+ class K0 {
31533
31565
  constructor() {
31534
31566
  this.fontManager = ee.instance, this.defaultStyleManager = new Eo(), this.isInitialized = !1;
31535
31567
  }
@@ -31631,7 +31663,7 @@ class Y0 {
31631
31663
  this.isInitialized || (this.fontManager.lazyFontLoading || await this.loadFonts(this.fontManager.getFontsToLoad()), this.isInitialized = !0);
31632
31664
  }
31633
31665
  }
31634
- class t1 {
31666
+ class r1 {
31635
31667
  /**
31636
31668
  * Constructor
31637
31669
  *
@@ -31640,10 +31672,10 @@ class t1 {
31640
31672
  * when render mode is 'worker'.
31641
31673
  */
31642
31674
  constructor(e = "main", n = {}) {
31643
- this.webWorkerRenderer = null, this.webWorkerConfigured = !1, this.workerLazyFontLoading = null, this.workerAwaitFontsBeforeDraw = null, this.defaultMode = e, this.workerConfig = n, this.mainThreadRenderer = new Y0(), this.renderer = this.mainThreadRenderer, e === "worker" && (this.renderer = this.ensureWebWorkerRenderer());
31675
+ this.webWorkerRenderer = null, this.webWorkerConfigured = !1, this.workerLazyFontLoading = null, this.workerAwaitFontsBeforeDraw = null, this.defaultMode = e, this.workerConfig = n, this.mainThreadRenderer = new K0(), this.renderer = this.mainThreadRenderer, e === "worker" && (this.renderer = this.ensureWebWorkerRenderer());
31644
31676
  }
31645
31677
  ensureWebWorkerRenderer() {
31646
- return this.webWorkerRenderer || (this.webWorkerRenderer = new $0(this.workerConfig), this.webWorkerRenderer.styleManager = this.mainThreadRenderer.styleManager, this.webWorkerConfigured = !1), this.webWorkerRenderer;
31678
+ return this.webWorkerRenderer || (this.webWorkerRenderer = new X0(this.workerConfig), this.webWorkerRenderer.styleManager = this.mainThreadRenderer.styleManager, this.webWorkerConfigured = !1), this.webWorkerRenderer;
31647
31679
  }
31648
31680
  async activateWebWorkerRenderer() {
31649
31681
  const e = this.ensureWebWorkerRenderer();
@@ -31863,7 +31895,7 @@ export {
31863
31895
  I0 as MTextParser,
31864
31896
  ht as MTextStroke,
31865
31897
  vr as MTextToken,
31866
- Y0 as MainThreadRenderer,
31898
+ K0 as MainThreadRenderer,
31867
31899
  Cc as SHX_PARSED_FONT_OVERHEAD,
31868
31900
  Tn as STACK_DIVIDER_CHAR,
31869
31901
  bn as STACK_VERTICAL_SHIFT_FACTOR,
@@ -31872,30 +31904,30 @@ export {
31872
31904
  ac as ShxParserFont,
31873
31905
  xr as TextScanner,
31874
31906
  Q as TokenType,
31875
- t1 as UnifiedRenderer,
31876
- $0 as WebWorkerRenderer,
31907
+ r1 as UnifiedRenderer,
31908
+ X0 as WebWorkerRenderer,
31877
31909
  B0 as buildWorkerMaterialColorSettings,
31878
31910
  ko as collectIsolateMemoryStats,
31879
31911
  Ie as createDefaultColorSettings,
31880
31912
  R0 as deserializeMTextColor,
31881
31913
  pa as emptyMaterialStats,
31882
- J0 as escapeDxfLineEndings,
31914
+ e1 as escapeDxfLineEndings,
31883
31915
  na as estimateGeometryBytes,
31884
31916
  Gi as estimateMTextWrapWidth,
31885
31917
  Sc as estimateMaterialBytes,
31886
31918
  Do as estimateStringBytes,
31887
31919
  Le as formatBytes,
31888
- K0 as formatMemoryUsageReport,
31920
+ J0 as formatMemoryUsageReport,
31889
31921
  ta as getColorByIndex,
31890
31922
  O0 as getFonts,
31891
31923
  S0 as getMaterialStatsFromStyleManager,
31892
31924
  ra as getSourceByteLength,
31893
- Q0 as hasInlineFormattingCodes,
31894
- Z0 as int2rgb,
31925
+ t1 as hasInlineFormattingCodes,
31926
+ Q0 as int2rgb,
31895
31927
  Fs as isDefaultFontsPreset,
31896
31928
  w0 as readJsHeapStats,
31897
31929
  Kt as resolveMTextColor,
31898
31930
  Hi as resolveMTextWrapWidth,
31899
31931
  k0 as rgb2int,
31900
- e1 as serializeMTextColor
31932
+ n1 as serializeMTextColor
31901
31933
  };