triiiceratops 0.19.4 → 0.19.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,138 +1,138 @@
1
1
  import "svelte/internal/disclose-version";
2
- import * as F from "svelte/internal/client";
2
+ import * as C from "svelte/internal/client";
3
3
  import { g as xs, X as ws, V as Ss, m as Fs } from "./X-e7GCAN1o.js";
4
4
  import { getContext as Cs } from "svelte";
5
5
  import { c as ks, d as fo, f as Ps, r as Ts, h as As, g as Ds } from "./annotationAdapter-B3K4C32n.js";
6
6
  import { g as Rs } from "./_commonjsHelpers-B4e78b8K.js";
7
- var Os = F.from_svg('<path d="M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"></path>'), Es = F.from_svg('<path d="M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z" opacity="0.2"></path><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path>', 1), Bs = F.from_svg('<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"></path>'), Is = F.from_svg('<path d="M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"></path>'), zs = F.from_svg('<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path>'), Ns = F.from_svg('<path d="M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"></path>'), Ms = F.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
7
+ var Os = C.from_svg('<path d="M228,144v64a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V144a12,12,0,0,1,24,0v52H204V144a12,12,0,0,1,24,0Zm-108.49,8.49a12,12,0,0,0,17,0l40-40a12,12,0,0,0-17-17L140,115V32a12,12,0,0,0-24,0v83L96.49,95.51a12,12,0,0,0-17,17Z"></path>'), Es = C.from_svg('<path d="M216,48V208H40V48A16,16,0,0,1,56,32H200A16,16,0,0,1,216,48Z" opacity="0.2"></path><path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path>', 1), Bs = C.from_svg('<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,168,96H136V32a8,8,0,0,0-16,0V96H88a8,8,0,0,0-5.66,13.66Z"></path>'), Is = C.from_svg('<path d="M222,144v64a6,6,0,0,1-6,6H40a6,6,0,0,1-6-6V144a6,6,0,0,1,12,0v58H210V144a6,6,0,0,1,12,0Zm-98.24,4.24a6,6,0,0,0,8.48,0l40-40a6,6,0,0,0-8.48-8.48L134,129.51V32a6,6,0,0,0-12,0v97.51L92.24,99.76a6,6,0,0,0-8.48,8.48Z"></path>'), zs = C.from_svg('<path d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path>'), Ns = C.from_svg('<path d="M220,144v64a4,4,0,0,1-4,4H40a4,4,0,0,1-4-4V144a4,4,0,0,1,8,0v60H212V144a4,4,0,0,1,8,0Zm-94.83,2.83a4,4,0,0,0,5.66,0l40-40a4,4,0,1,0-5.66-5.66L132,134.34V32a4,4,0,0,0-8,0V134.34L90.83,101.17a4,4,0,0,0-5.66,5.66Z"></path>'), Ms = C.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8
8
  function Ai(r, e) {
9
- F.push(e, !0);
9
+ C.push(e, !0);
10
10
  const t = xs();
11
- let n = F.rest_props(e, ["$$slots", "$$events", "$$legacy", "children"]), i = F.derived(() => e.weight ?? t.weight ?? "regular"), a = F.derived(() => e.color ?? t.color ?? "currentColor"), o = F.derived(() => e.size ?? t.size ?? "1em"), s = F.derived(() => e.mirrored ?? t.mirrored ?? !1);
11
+ let n = C.rest_props(e, ["$$slots", "$$events", "$$legacy", "children"]), i = C.derived(() => e.weight ?? t.weight ?? "regular"), a = C.derived(() => e.color ?? t.color ?? "currentColor"), o = C.derived(() => e.size ?? t.size ?? "1em"), s = C.derived(() => e.mirrored ?? t.mirrored ?? !1);
12
12
  function f(m) {
13
- let { weight: C, color: S, size: A, mirrored: k, ...E } = m;
13
+ let { weight: S, color: F, size: A, mirrored: k, ...E } = m;
14
14
  return E;
15
15
  }
16
16
  var u = Ms();
17
- F.attribute_effect(
17
+ C.attribute_effect(
18
18
  u,
19
- (m, C) => ({
19
+ (m, S) => ({
20
20
  xmlns: "http://www.w3.org/2000/svg",
21
21
  role: "img",
22
- width: F.get(o),
23
- height: F.get(o),
24
- fill: F.get(a),
25
- transform: F.get(s) ? "scale(-1, 1)" : void 0,
22
+ width: C.get(o),
23
+ height: C.get(o),
24
+ fill: C.get(a),
25
+ transform: C.get(s) ? "scale(-1, 1)" : void 0,
26
26
  viewBox: "0 0 256 256",
27
27
  ...m,
28
- ...C
28
+ ...S
29
29
  }),
30
30
  [() => f(t), () => f(n)]
31
31
  );
32
- var c = F.child(u);
32
+ var c = C.child(u);
33
33
  {
34
34
  var h = (m) => {
35
- var C = F.comment(), S = F.first_child(C);
36
- F.snippet(S, () => e.children), F.append(m, C);
35
+ var S = C.comment(), F = C.first_child(S);
36
+ C.snippet(F, () => e.children), C.append(m, S);
37
37
  };
38
- F.if(c, (m) => {
38
+ C.if(c, (m) => {
39
39
  e.children && m(h);
40
40
  });
41
41
  }
42
- var d = F.sibling(c, 2);
42
+ var d = C.sibling(c, 2);
43
43
  {
44
44
  var v = (m) => {
45
- var C = Os();
46
- F.append(m, C);
45
+ var S = Os();
46
+ C.append(m, S);
47
47
  }, g = (m) => {
48
- var C = F.comment(), S = F.first_child(C);
48
+ var S = C.comment(), F = C.first_child(S);
49
49
  {
50
50
  var A = (E) => {
51
51
  var B = Es();
52
- F.next(), F.append(E, B);
52
+ C.next(), C.append(E, B);
53
53
  }, k = (E) => {
54
- var B = F.comment(), R = F.first_child(B);
54
+ var B = C.comment(), R = C.first_child(B);
55
55
  {
56
56
  var D = (I) => {
57
57
  var U = Bs();
58
- F.append(I, U);
58
+ C.append(I, U);
59
59
  }, V = (I) => {
60
- var U = F.comment(), q = F.first_child(U);
60
+ var U = C.comment(), q = C.first_child(U);
61
61
  {
62
- var G = (X) => {
62
+ var H = (X) => {
63
63
  var $ = Is();
64
- F.append(X, $);
64
+ C.append(X, $);
65
65
  }, N = (X) => {
66
- var $ = F.comment(), _ = F.first_child($);
66
+ var $ = C.comment(), Q = C.first_child($);
67
67
  {
68
- var Q = (le) => {
68
+ var _ = (le) => {
69
69
  var Ne = zs();
70
- F.append(le, Ne);
70
+ C.append(le, Ne);
71
71
  }, Fe = (le) => {
72
- var Ne = F.comment(), De = F.first_child(Ne);
72
+ var Ne = C.comment(), Pe = C.first_child(Ne);
73
73
  {
74
- var Re = (ee) => {
74
+ var Ce = (ee) => {
75
75
  var re = Ns();
76
- F.append(ee, re);
77
- }, We = (ee) => {
78
- var re = F.text();
79
- re.nodeValue = (console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'), ""), F.append(ee, re);
76
+ C.append(ee, re);
77
+ }, Me = (ee) => {
78
+ var re = C.text();
79
+ re.nodeValue = (console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'), ""), C.append(ee, re);
80
80
  };
81
- F.if(
82
- De,
81
+ C.if(
82
+ Pe,
83
83
  (ee) => {
84
- F.get(i) === "thin" ? ee(Re) : ee(We, !1);
84
+ C.get(i) === "thin" ? ee(Ce) : ee(Me, !1);
85
85
  },
86
86
  !0
87
87
  );
88
88
  }
89
- F.append(le, Ne);
89
+ C.append(le, Ne);
90
90
  };
91
- F.if(
92
- _,
91
+ C.if(
92
+ Q,
93
93
  (le) => {
94
- F.get(i) === "regular" ? le(Q) : le(Fe, !1);
94
+ C.get(i) === "regular" ? le(_) : le(Fe, !1);
95
95
  },
96
96
  !0
97
97
  );
98
98
  }
99
- F.append(X, $);
99
+ C.append(X, $);
100
100
  };
101
- F.if(
101
+ C.if(
102
102
  q,
103
103
  (X) => {
104
- F.get(i) === "light" ? X(G) : X(N, !1);
104
+ C.get(i) === "light" ? X(H) : X(N, !1);
105
105
  },
106
106
  !0
107
107
  );
108
108
  }
109
- F.append(I, U);
109
+ C.append(I, U);
110
110
  };
111
- F.if(
111
+ C.if(
112
112
  R,
113
113
  (I) => {
114
- F.get(i) === "fill" ? I(D) : I(V, !1);
114
+ C.get(i) === "fill" ? I(D) : I(V, !1);
115
115
  },
116
116
  !0
117
117
  );
118
118
  }
119
- F.append(E, B);
119
+ C.append(E, B);
120
120
  };
121
- F.if(
122
- S,
121
+ C.if(
122
+ F,
123
123
  (E) => {
124
- F.get(i) === "duotone" ? E(A) : E(k, !1);
124
+ C.get(i) === "duotone" ? E(A) : E(k, !1);
125
125
  },
126
126
  !0
127
127
  );
128
128
  }
129
- F.append(m, C);
129
+ C.append(m, S);
130
130
  };
131
- F.if(d, (m) => {
132
- F.get(i) === "bold" ? m(v) : m(g, !1);
131
+ C.if(d, (m) => {
132
+ C.get(i) === "bold" ? m(v) : m(g, !1);
133
133
  });
134
134
  }
135
- F.reset(u), F.append(r, u), F.pop();
135
+ C.reset(u), C.append(r, u), C.pop();
136
136
  }
137
137
  /*! *****************************************************************************
138
138
  Copyright (c) Microsoft Corporation.
@@ -361,7 +361,7 @@ var Us = function(r) {
361
361
  }, Ys = /^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/, po = function(r) {
362
362
  var e = r.match(Ys);
363
363
  if (e) {
364
- var t = e[1], n = e[2], i = n === void 0 ? "01" : n, a = e[3], o = a === void 0 ? "01" : a, s = e[4], f = s === void 0 ? "00" : s, u = e[5], c = u === void 0 ? "00" : u, h = e[6], d = h === void 0 ? "00" : h, v = e[7], g = v === void 0 ? "Z" : v, m = e[8], C = m === void 0 ? "00" : m, S = e[9], A = S === void 0 ? "00" : S, k = g === "Z" ? "Z" : "" + g + C + ":" + A, E = /* @__PURE__ */ new Date(t + "-" + i + "-" + o + "T" + f + ":" + c + ":" + d + k);
364
+ var t = e[1], n = e[2], i = n === void 0 ? "01" : n, a = e[3], o = a === void 0 ? "01" : a, s = e[4], f = s === void 0 ? "00" : s, u = e[5], c = u === void 0 ? "00" : u, h = e[6], d = h === void 0 ? "00" : h, v = e[7], g = v === void 0 ? "Z" : v, m = e[8], S = m === void 0 ? "00" : m, F = e[9], A = F === void 0 ? "00" : F, k = g === "Z" ? "Z" : "" + g + S + ":" + A, E = /* @__PURE__ */ new Date(t + "-" + i + "-" + o + "T" + f + ":" + c + ":" + d + k);
365
365
  return E;
366
366
  }
367
367
  }, qi = function(r, e) {
@@ -590,7 +590,7 @@ function lu() {
590
590
  for (var K = b.length; --K >= 0; )
591
591
  b[K] = 0;
592
592
  }
593
- var o = 0, s = 1, f = 2, u = 3, c = 258, h = 29, d = 256, v = d + 1 + h, g = 30, m = 19, C = 2 * v + 1, S = 15, A = 16, k = 7, E = 256, B = 16, R = 17, D = 18, V = (
593
+ var o = 0, s = 1, f = 2, u = 3, c = 258, h = 29, d = 256, v = d + 1 + h, g = 30, m = 19, S = 2 * v + 1, F = 15, A = 16, k = 7, E = 256, B = 16, R = 17, D = 18, V = (
594
594
  /* extra bits for each length code */
595
595
  [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]
596
596
  ), I = (
@@ -599,23 +599,23 @@ function lu() {
599
599
  ), U = (
600
600
  /* extra bits for each bit length code */
601
601
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
602
- ), q = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], G = 512, N = new Array((v + 2) * 2);
602
+ ), q = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], H = 512, N = new Array((v + 2) * 2);
603
603
  a(N);
604
604
  var X = new Array(g * 2);
605
605
  a(X);
606
- var $ = new Array(G);
606
+ var $ = new Array(H);
607
607
  a($);
608
- var _ = new Array(c - u + 1);
609
- a(_);
610
- var Q = new Array(h);
608
+ var Q = new Array(c - u + 1);
611
609
  a(Q);
610
+ var _ = new Array(h);
611
+ a(_);
612
612
  var Fe = new Array(g);
613
613
  a(Fe);
614
614
  function le(b, K, Y, ie, T) {
615
615
  this.static_tree = b, this.extra_bits = K, this.extra_base = Y, this.elems = ie, this.max_length = T, this.has_stree = b && b.length;
616
616
  }
617
- var Ne, De, Re;
618
- function We(b, K) {
617
+ var Ne, Pe, Ce;
618
+ function Me(b, K) {
619
619
  this.dyn_tree = b, this.max_code = 0, this.stat_desc = K;
620
620
  }
621
621
  function ee(b) {
@@ -627,7 +627,7 @@ function lu() {
627
627
  function ae(b, K, Y) {
628
628
  b.bi_valid > A - Y ? (b.bi_buf |= K << b.bi_valid & 65535, re(b, b.bi_buf), b.bi_buf = K >> A - b.bi_valid, b.bi_valid += Y - A) : (b.bi_buf |= K << b.bi_valid & 65535, b.bi_valid += Y);
629
629
  }
630
- function Ce(b, K, Y) {
630
+ function ke(b, K, Y) {
631
631
  ae(
632
632
  b,
633
633
  Y[K * 2],
@@ -646,11 +646,11 @@ function lu() {
646
646
  b.bi_valid === 16 ? (re(b, b.bi_buf), b.bi_buf = 0, b.bi_valid = 0) : b.bi_valid >= 8 && (b.pending_buf[b.pending++] = b.bi_buf & 255, b.bi_buf >>= 8, b.bi_valid -= 8);
647
647
  }
648
648
  function at(b, K) {
649
- var Y = K.dyn_tree, ie = K.max_code, T = K.stat_desc.static_tree, W = K.stat_desc.has_stree, p = K.stat_desc.extra_bits, H = K.stat_desc.extra_base, he = K.stat_desc.max_length, l, M, j, y, P, z, se = 0;
650
- for (y = 0; y <= S; y++)
649
+ var Y = K.dyn_tree, ie = K.max_code, T = K.stat_desc.static_tree, W = K.stat_desc.has_stree, p = K.stat_desc.extra_bits, G = K.stat_desc.extra_base, he = K.stat_desc.max_length, l, M, j, y, P, z, se = 0;
650
+ for (y = 0; y <= F; y++)
651
651
  b.bl_count[y] = 0;
652
- for (Y[b.heap[b.heap_max] * 2 + 1] = 0, l = b.heap_max + 1; l < C; l++)
653
- M = b.heap[l], y = Y[Y[M * 2 + 1] * 2 + 1] + 1, y > he && (y = he, se++), Y[M * 2 + 1] = y, !(M > ie) && (b.bl_count[y]++, P = 0, M >= H && (P = p[M - H]), z = Y[M * 2], b.opt_len += z * (y + P), W && (b.static_len += z * (T[M * 2 + 1] + P)));
652
+ for (Y[b.heap[b.heap_max] * 2 + 1] = 0, l = b.heap_max + 1; l < S; l++)
653
+ M = b.heap[l], y = Y[Y[M * 2 + 1] * 2 + 1] + 1, y > he && (y = he, se++), Y[M * 2 + 1] = y, !(M > ie) && (b.bl_count[y]++, P = 0, M >= G && (P = p[M - G]), z = Y[M * 2], b.opt_len += z * (y + P), W && (b.static_len += z * (T[M * 2 + 1] + P)));
654
654
  if (se !== 0) {
655
655
  do {
656
656
  for (y = he - 1; b.bl_count[y] === 0; )
@@ -663,26 +663,26 @@ function lu() {
663
663
  }
664
664
  }
665
665
  function mt(b, K, Y) {
666
- var ie = new Array(S + 1), T = 0, W, p;
667
- for (W = 1; W <= S; W++)
666
+ var ie = new Array(F + 1), T = 0, W, p;
667
+ for (W = 1; W <= F; W++)
668
668
  ie[W] = T = T + Y[W - 1] << 1;
669
669
  for (p = 0; p <= K; p++) {
670
- var H = b[p * 2 + 1];
671
- H !== 0 && (b[p * 2] = oe(ie[H]++, H));
670
+ var G = b[p * 2 + 1];
671
+ G !== 0 && (b[p * 2] = oe(ie[G]++, G));
672
672
  }
673
673
  }
674
674
  function qe() {
675
- var b, K, Y, ie, T, W = new Array(S + 1);
675
+ var b, K, Y, ie, T, W = new Array(F + 1);
676
676
  for (Y = 0, ie = 0; ie < h - 1; ie++)
677
- for (Q[ie] = Y, b = 0; b < 1 << V[ie]; b++)
678
- _[Y++] = ie;
679
- for (_[Y - 1] = ie, T = 0, ie = 0; ie < 16; ie++)
677
+ for (_[ie] = Y, b = 0; b < 1 << V[ie]; b++)
678
+ Q[Y++] = ie;
679
+ for (Q[Y - 1] = ie, T = 0, ie = 0; ie < 16; ie++)
680
680
  for (Fe[ie] = T, b = 0; b < 1 << I[ie]; b++)
681
681
  $[T++] = ie;
682
682
  for (T >>= 7; ie < g; ie++)
683
683
  for (Fe[ie] = T << 7, b = 0; b < 1 << I[ie] - 7; b++)
684
684
  $[256 + T++] = ie;
685
- for (K = 0; K <= S; K++)
685
+ for (K = 0; K <= F; K++)
686
686
  W[K] = 0;
687
687
  for (b = 0; b <= 143; )
688
688
  N[b * 2 + 1] = 8, b++, W[8]++;
@@ -694,7 +694,7 @@ function lu() {
694
694
  N[b * 2 + 1] = 8, b++, W[8]++;
695
695
  for (mt(N, v + 1, W), b = 0; b < g; b++)
696
696
  X[b * 2 + 1] = 5, X[b * 2] = oe(b, 5);
697
- Ne = new le(N, V, d + 1, v, S), De = new le(X, I, 0, g, S), Re = new le(new Array(0), U, 0, m, k);
697
+ Ne = new le(N, V, d + 1, v, F), Pe = new le(X, I, 0, g, F), Ce = new le(new Array(0), U, 0, m, k);
698
698
  }
699
699
  function ct(b) {
700
700
  var K;
@@ -721,17 +721,17 @@ function lu() {
721
721
  b.heap[Y] = b.heap[T], Y = T, T <<= 1;
722
722
  b.heap[Y] = ie;
723
723
  }
724
- function ke(b, K, Y) {
725
- var ie, T, W = 0, p, H;
724
+ function Te(b, K, Y) {
725
+ var ie, T, W = 0, p, G;
726
726
  if (b.last_lit !== 0)
727
727
  do
728
- ie = b.pending_buf[b.d_buf + W * 2] << 8 | b.pending_buf[b.d_buf + W * 2 + 1], T = b.pending_buf[b.l_buf + W], W++, ie === 0 ? Ce(b, T, K) : (p = _[T], Ce(b, p + d + 1, K), H = V[p], H !== 0 && (T -= Q[p], ae(b, T, H)), ie--, p = ee(ie), Ce(b, p, Y), H = I[p], H !== 0 && (ie -= Fe[p], ae(b, ie, H)));
728
+ ie = b.pending_buf[b.d_buf + W * 2] << 8 | b.pending_buf[b.d_buf + W * 2 + 1], T = b.pending_buf[b.l_buf + W], W++, ie === 0 ? ke(b, T, K) : (p = Q[T], ke(b, p + d + 1, K), G = V[p], G !== 0 && (T -= _[p], ae(b, T, G)), ie--, p = ee(ie), ke(b, p, Y), G = I[p], G !== 0 && (ie -= Fe[p], ae(b, ie, G)));
729
729
  while (W < b.last_lit);
730
- Ce(b, E, K);
730
+ ke(b, E, K);
731
731
  }
732
732
  function wt(b, K) {
733
- var Y = K.dyn_tree, ie = K.stat_desc.static_tree, T = K.stat_desc.has_stree, W = K.stat_desc.elems, p, H, he = -1, l;
734
- for (b.heap_len = 0, b.heap_max = C, p = 0; p < W; p++)
733
+ var Y = K.dyn_tree, ie = K.stat_desc.static_tree, T = K.stat_desc.has_stree, W = K.stat_desc.elems, p, G, he = -1, l;
734
+ for (b.heap_len = 0, b.heap_max = S, p = 0; p < W; p++)
735
735
  Y[p * 2] !== 0 ? (b.heap[++b.heap_len] = he = p, b.depth[p] = 0) : Y[p * 2 + 1] = 0;
736
736
  for (; b.heap_len < 2; )
737
737
  l = b.heap[++b.heap_len] = he < 2 ? ++he : 0, Y[l * 2] = 1, b.depth[l] = 0, b.opt_len--, T && (b.static_len -= ie[l * 2 + 1]);
@@ -750,10 +750,10 @@ function lu() {
750
750
  Y,
751
751
  1
752
752
  /*SMALLEST*/
753
- ), H = b.heap[
753
+ ), G = b.heap[
754
754
  1
755
755
  /*SMALLEST*/
756
- ], b.heap[--b.heap_max] = p, b.heap[--b.heap_max] = H, Y[l * 2] = Y[p * 2] + Y[H * 2], b.depth[l] = (b.depth[p] >= b.depth[H] ? b.depth[p] : b.depth[H]) + 1, Y[p * 2 + 1] = Y[H * 2 + 1] = l, b.heap[
756
+ ], b.heap[--b.heap_max] = p, b.heap[--b.heap_max] = G, Y[l * 2] = Y[p * 2] + Y[G * 2], b.depth[l] = (b.depth[p] >= b.depth[G] ? b.depth[p] : b.depth[G]) + 1, Y[p * 2 + 1] = Y[G * 2 + 1] = l, b.heap[
757
757
  1
758
758
  /*SMALLEST*/
759
759
  ] = l++, Ke(
@@ -769,20 +769,20 @@ function lu() {
769
769
  ], at(b, K), mt(Y, he, b.bl_count);
770
770
  }
771
771
  function wr(b, K, Y) {
772
- var ie, T = -1, W, p = K[1], H = 0, he = 7, l = 4;
772
+ var ie, T = -1, W, p = K[1], G = 0, he = 7, l = 4;
773
773
  for (p === 0 && (he = 138, l = 3), K[(Y + 1) * 2 + 1] = 65535, ie = 0; ie <= Y; ie++)
774
- W = p, p = K[(ie + 1) * 2 + 1], !(++H < he && W === p) && (H < l ? b.bl_tree[W * 2] += H : W !== 0 ? (W !== T && b.bl_tree[W * 2]++, b.bl_tree[B * 2]++) : H <= 10 ? b.bl_tree[R * 2]++ : b.bl_tree[D * 2]++, H = 0, T = W, p === 0 ? (he = 138, l = 3) : W === p ? (he = 6, l = 3) : (he = 7, l = 4));
774
+ W = p, p = K[(ie + 1) * 2 + 1], !(++G < he && W === p) && (G < l ? b.bl_tree[W * 2] += G : W !== 0 ? (W !== T && b.bl_tree[W * 2]++, b.bl_tree[B * 2]++) : G <= 10 ? b.bl_tree[R * 2]++ : b.bl_tree[D * 2]++, G = 0, T = W, p === 0 ? (he = 138, l = 3) : W === p ? (he = 6, l = 3) : (he = 7, l = 4));
775
775
  }
776
776
  function Jt(b, K, Y) {
777
- var ie, T = -1, W, p = K[1], H = 0, he = 7, l = 4;
777
+ var ie, T = -1, W, p = K[1], G = 0, he = 7, l = 4;
778
778
  for (p === 0 && (he = 138, l = 3), ie = 0; ie <= Y; ie++)
779
- if (W = p, p = K[(ie + 1) * 2 + 1], !(++H < he && W === p)) {
780
- if (H < l)
779
+ if (W = p, p = K[(ie + 1) * 2 + 1], !(++G < he && W === p)) {
780
+ if (G < l)
781
781
  do
782
- Ce(b, W, b.bl_tree);
783
- while (--H !== 0);
784
- else W !== 0 ? (W !== T && (Ce(b, W, b.bl_tree), H--), Ce(b, B, b.bl_tree), ae(b, H - 3, 2)) : H <= 10 ? (Ce(b, R, b.bl_tree), ae(b, H - 3, 3)) : (Ce(b, D, b.bl_tree), ae(b, H - 11, 7));
785
- H = 0, T = W, p === 0 ? (he = 138, l = 3) : W === p ? (he = 6, l = 3) : (he = 7, l = 4);
782
+ ke(b, W, b.bl_tree);
783
+ while (--G !== 0);
784
+ else W !== 0 ? (W !== T && (ke(b, W, b.bl_tree), G--), ke(b, B, b.bl_tree), ae(b, G - 3, 2)) : G <= 10 ? (ke(b, R, b.bl_tree), ae(b, G - 3, 3)) : (ke(b, D, b.bl_tree), ae(b, G - 11, 7));
785
+ G = 0, T = W, p === 0 ? (he = 138, l = 3) : W === p ? (he = 6, l = 3) : (he = 7, l = 4);
786
786
  }
787
787
  }
788
788
  function St(b) {
@@ -811,20 +811,20 @@ function lu() {
811
811
  }
812
812
  var Bt = !1;
813
813
  function Fr(b) {
814
- Bt || (qe(), Bt = !0), b.l_desc = new We(b.dyn_ltree, Ne), b.d_desc = new We(b.dyn_dtree, De), b.bl_desc = new We(b.bl_tree, Re), b.bi_buf = 0, b.bi_valid = 0, ct(b);
814
+ Bt || (qe(), Bt = !0), b.l_desc = new Me(b.dyn_ltree, Ne), b.d_desc = new Me(b.dyn_dtree, Pe), b.bl_desc = new Me(b.bl_tree, Ce), b.bi_buf = 0, b.bi_valid = 0, ct(b);
815
815
  }
816
816
  function _t(b, K, Y, ie) {
817
817
  ae(b, (o << 1) + (ie ? 1 : 0), 3), xt(b, K, Y);
818
818
  }
819
819
  function ot(b) {
820
- ae(b, s << 1, 3), Ce(b, E, N), et(b);
820
+ ae(b, s << 1, 3), ke(b, E, N), et(b);
821
821
  }
822
822
  function jt(b, K, Y, ie) {
823
823
  var T, W, p = 0;
824
- b.level > 0 ? (b.strm.data_type === i && (b.strm.data_type = Qt(b)), wt(b, b.l_desc), wt(b, b.d_desc), p = St(b), T = b.opt_len + 3 + 7 >>> 3, W = b.static_len + 3 + 7 >>> 3, W <= T && (T = W)) : T = W = Y + 5, Y + 4 <= T && K !== -1 ? _t(b, K, Y, ie) : b.strategy === e || W === T ? (ae(b, (s << 1) + (ie ? 1 : 0), 3), ke(b, N, X)) : (ae(b, (f << 1) + (ie ? 1 : 0), 3), Sr(b, b.l_desc.max_code + 1, b.d_desc.max_code + 1, p + 1), ke(b, b.dyn_ltree, b.dyn_dtree)), ct(b), ie && lr(b);
824
+ b.level > 0 ? (b.strm.data_type === i && (b.strm.data_type = Qt(b)), wt(b, b.l_desc), wt(b, b.d_desc), p = St(b), T = b.opt_len + 3 + 7 >>> 3, W = b.static_len + 3 + 7 >>> 3, W <= T && (T = W)) : T = W = Y + 5, Y + 4 <= T && K !== -1 ? _t(b, K, Y, ie) : b.strategy === e || W === T ? (ae(b, (s << 1) + (ie ? 1 : 0), 3), Te(b, N, X)) : (ae(b, (f << 1) + (ie ? 1 : 0), 3), Sr(b, b.l_desc.max_code + 1, b.d_desc.max_code + 1, p + 1), Te(b, b.dyn_ltree, b.dyn_dtree)), ct(b), ie && lr(b);
825
825
  }
826
826
  function Cr(b, K, Y) {
827
- return b.pending_buf[b.d_buf + b.last_lit * 2] = K >>> 8 & 255, b.pending_buf[b.d_buf + b.last_lit * 2 + 1] = K & 255, b.pending_buf[b.l_buf + b.last_lit] = Y & 255, b.last_lit++, K === 0 ? b.dyn_ltree[Y * 2]++ : (b.matches++, K--, b.dyn_ltree[(_[Y] + d + 1) * 2]++, b.dyn_dtree[ee(K) * 2]++), b.last_lit === b.lit_bufsize - 1;
827
+ return b.pending_buf[b.d_buf + b.last_lit * 2] = K >>> 8 & 255, b.pending_buf[b.d_buf + b.last_lit * 2 + 1] = K & 255, b.pending_buf[b.l_buf + b.last_lit] = Y & 255, b.last_lit++, K === 0 ? b.dyn_ltree[Y * 2]++ : (b.matches++, K--, b.dyn_ltree[(Q[Y] + d + 1) * 2]++, b.dyn_dtree[ee(K) * 2]++), b.last_lit === b.lit_bufsize - 1;
828
828
  }
829
829
  return cr._tr_init = Fr, cr._tr_stored_block = _t, cr._tr_flush_block = jt, cr._tr_tally = Cr, cr._tr_align = ot, cr;
830
830
  }
@@ -894,7 +894,7 @@ var xa;
894
894
  function cu() {
895
895
  if (xa) return It;
896
896
  xa = 1;
897
- var r = sr(), e = lu(), t = Fo(), n = Co(), i = Li(), a = 0, o = 1, s = 3, f = 4, u = 5, c = 0, h = 1, d = -2, v = -3, g = -5, m = -1, C = 1, S = 2, A = 3, k = 4, E = 0, B = 2, R = 8, D = 9, V = 15, I = 8, U = 29, q = 256, G = q + 1 + U, N = 30, X = 19, $ = 2 * G + 1, _ = 15, Q = 3, Fe = 258, le = Fe + Q + 1, Ne = 32, De = 42, Re = 69, We = 73, ee = 91, re = 103, ae = 113, Ce = 666, oe = 1, et = 2, at = 3, mt = 4, qe = 3;
897
+ var r = sr(), e = lu(), t = Fo(), n = Co(), i = Li(), a = 0, o = 1, s = 3, f = 4, u = 5, c = 0, h = 1, d = -2, v = -3, g = -5, m = -1, S = 1, F = 2, A = 3, k = 4, E = 0, B = 2, R = 8, D = 9, V = 15, I = 8, U = 29, q = 256, H = q + 1 + U, N = 30, X = 19, $ = 2 * H + 1, Q = 15, _ = 3, Fe = 258, le = Fe + _ + 1, Ne = 32, Pe = 42, Ce = 69, Me = 73, ee = 91, re = 103, ae = 113, ke = 666, oe = 1, et = 2, at = 3, mt = 4, qe = 3;
898
898
  function ct(l, M) {
899
899
  return l.msg = i[M], M;
900
900
  }
@@ -912,7 +912,7 @@ function cu() {
912
912
  function Ke(l, M) {
913
913
  e._tr_flush_block(l, l.block_start >= 0 ? l.block_start : -1, l.strstart - l.block_start, M), l.block_start = l.strstart, vt(l.strm);
914
914
  }
915
- function ke(l, M) {
915
+ function Te(l, M) {
916
916
  l.pending_buf[l.pending++] = M;
917
917
  }
918
918
  function wt(l, M) {
@@ -956,8 +956,8 @@ function cu() {
956
956
  }
957
957
  if (l.strm.avail_in === 0)
958
958
  break;
959
- if (y = wr(l.strm, l.window, l.strstart + l.lookahead, z), l.lookahead += y, l.lookahead + l.insert >= Q)
960
- for (se = l.strstart - l.insert, l.ins_h = l.window[se], l.ins_h = (l.ins_h << l.hash_shift ^ l.window[se + 1]) & l.hash_mask; l.insert && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[se + Q - 1]) & l.hash_mask, l.prev[se & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = se, se++, l.insert--, !(l.lookahead + l.insert < Q)); )
959
+ if (y = wr(l.strm, l.window, l.strstart + l.lookahead, z), l.lookahead += y, l.lookahead + l.insert >= _)
960
+ for (se = l.strstart - l.insert, l.ins_h = l.window[se], l.ins_h = (l.ins_h << l.hash_shift ^ l.window[se + 1]) & l.hash_mask; l.insert && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[se + _ - 1]) & l.hash_mask, l.prev[se & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = se, se++, l.insert--, !(l.lookahead + l.insert < _)); )
961
961
  ;
962
962
  } while (l.lookahead < le && l.strm.avail_in !== 0);
963
963
  }
@@ -985,11 +985,11 @@ function cu() {
985
985
  if (l.lookahead === 0)
986
986
  break;
987
987
  }
988
- if (j = 0, l.lookahead >= Q && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + Q - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart), j !== 0 && l.strstart - j <= l.w_size - le && (l.match_length = Jt(l, j)), l.match_length >= Q)
989
- if (y = e._tr_tally(l, l.strstart - l.match_start, l.match_length - Q), l.lookahead -= l.match_length, l.match_length <= l.max_lazy_match && l.lookahead >= Q) {
988
+ if (j = 0, l.lookahead >= _ && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + _ - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart), j !== 0 && l.strstart - j <= l.w_size - le && (l.match_length = Jt(l, j)), l.match_length >= _)
989
+ if (y = e._tr_tally(l, l.strstart - l.match_start, l.match_length - _), l.lookahead -= l.match_length, l.match_length <= l.max_lazy_match && l.lookahead >= _) {
990
990
  l.match_length--;
991
991
  do
992
- l.strstart++, l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + Q - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart;
992
+ l.strstart++, l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + _ - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart;
993
993
  while (--l.match_length !== 0);
994
994
  l.strstart++;
995
995
  } else
@@ -999,7 +999,7 @@ function cu() {
999
999
  if (y && (Ke(l, !1), l.strm.avail_out === 0))
1000
1000
  return oe;
1001
1001
  }
1002
- return l.insert = l.strstart < Q - 1 ? l.strstart : Q - 1, M === f ? (Ke(l, !0), l.strm.avail_out === 0 ? at : mt) : l.last_lit && (Ke(l, !1), l.strm.avail_out === 0) ? oe : et;
1002
+ return l.insert = l.strstart < _ - 1 ? l.strstart : _ - 1, M === f ? (Ke(l, !0), l.strm.avail_out === 0 ? at : mt) : l.last_lit && (Ke(l, !1), l.strm.avail_out === 0) ? oe : et;
1003
1003
  }
1004
1004
  function Bt(l, M) {
1005
1005
  for (var j, y, P; ; ) {
@@ -1009,12 +1009,12 @@ function cu() {
1009
1009
  if (l.lookahead === 0)
1010
1010
  break;
1011
1011
  }
1012
- if (j = 0, l.lookahead >= Q && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + Q - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart), l.prev_length = l.match_length, l.prev_match = l.match_start, l.match_length = Q - 1, j !== 0 && l.prev_length < l.max_lazy_match && l.strstart - j <= l.w_size - le && (l.match_length = Jt(l, j), l.match_length <= 5 && (l.strategy === C || l.match_length === Q && l.strstart - l.match_start > 4096) && (l.match_length = Q - 1)), l.prev_length >= Q && l.match_length <= l.prev_length) {
1013
- P = l.strstart + l.lookahead - Q, y = e._tr_tally(l, l.strstart - 1 - l.prev_match, l.prev_length - Q), l.lookahead -= l.prev_length - 1, l.prev_length -= 2;
1012
+ if (j = 0, l.lookahead >= _ && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + _ - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart), l.prev_length = l.match_length, l.prev_match = l.match_start, l.match_length = _ - 1, j !== 0 && l.prev_length < l.max_lazy_match && l.strstart - j <= l.w_size - le && (l.match_length = Jt(l, j), l.match_length <= 5 && (l.strategy === S || l.match_length === _ && l.strstart - l.match_start > 4096) && (l.match_length = _ - 1)), l.prev_length >= _ && l.match_length <= l.prev_length) {
1013
+ P = l.strstart + l.lookahead - _, y = e._tr_tally(l, l.strstart - 1 - l.prev_match, l.prev_length - _), l.lookahead -= l.prev_length - 1, l.prev_length -= 2;
1014
1014
  do
1015
- ++l.strstart <= P && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + Q - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart);
1015
+ ++l.strstart <= P && (l.ins_h = (l.ins_h << l.hash_shift ^ l.window[l.strstart + _ - 1]) & l.hash_mask, j = l.prev[l.strstart & l.w_mask] = l.head[l.ins_h], l.head[l.ins_h] = l.strstart);
1016
1016
  while (--l.prev_length !== 0);
1017
- if (l.match_available = 0, l.match_length = Q - 1, l.strstart++, y && (Ke(l, !1), l.strm.avail_out === 0))
1017
+ if (l.match_available = 0, l.match_length = _ - 1, l.strstart++, y && (Ke(l, !1), l.strm.avail_out === 0))
1018
1018
  return oe;
1019
1019
  } else if (l.match_available) {
1020
1020
  if (y = e._tr_tally(l, 0, l.window[l.strstart - 1]), y && Ke(l, !1), l.strstart++, l.lookahead--, l.strm.avail_out === 0)
@@ -1022,7 +1022,7 @@ function cu() {
1022
1022
  } else
1023
1023
  l.match_available = 1, l.strstart++, l.lookahead--;
1024
1024
  }
1025
- return l.match_available && (y = e._tr_tally(l, 0, l.window[l.strstart - 1]), l.match_available = 0), l.insert = l.strstart < Q - 1 ? l.strstart : Q - 1, M === f ? (Ke(l, !0), l.strm.avail_out === 0 ? at : mt) : l.last_lit && (Ke(l, !1), l.strm.avail_out === 0) ? oe : et;
1025
+ return l.match_available && (y = e._tr_tally(l, 0, l.window[l.strstart - 1]), l.match_available = 0), l.insert = l.strstart < _ - 1 ? l.strstart : _ - 1, M === f ? (Ke(l, !0), l.strm.avail_out === 0 ? at : mt) : l.last_lit && (Ke(l, !1), l.strm.avail_out === 0) ? oe : et;
1026
1026
  }
1027
1027
  function Fr(l, M) {
1028
1028
  for (var j, y, P, z, se = l.window; ; ) {
@@ -1032,14 +1032,14 @@ function cu() {
1032
1032
  if (l.lookahead === 0)
1033
1033
  break;
1034
1034
  }
1035
- if (l.match_length = 0, l.lookahead >= Q && l.strstart > 0 && (P = l.strstart - 1, y = se[P], y === se[++P] && y === se[++P] && y === se[++P])) {
1035
+ if (l.match_length = 0, l.lookahead >= _ && l.strstart > 0 && (P = l.strstart - 1, y = se[P], y === se[++P] && y === se[++P] && y === se[++P])) {
1036
1036
  z = l.strstart + Fe;
1037
1037
  do
1038
1038
  ;
1039
1039
  while (y === se[++P] && y === se[++P] && y === se[++P] && y === se[++P] && y === se[++P] && y === se[++P] && y === se[++P] && y === se[++P] && P < z);
1040
1040
  l.match_length = Fe - (z - P), l.match_length > l.lookahead && (l.match_length = l.lookahead);
1041
1041
  }
1042
- if (l.match_length >= Q ? (j = e._tr_tally(l, 1, l.match_length - Q), l.lookahead -= l.match_length, l.strstart += l.match_length, l.match_length = 0) : (j = e._tr_tally(l, 0, l.window[l.strstart]), l.lookahead--, l.strstart++), j && (Ke(l, !1), l.strm.avail_out === 0))
1042
+ if (l.match_length >= _ ? (j = e._tr_tally(l, 1, l.match_length - _), l.lookahead -= l.match_length, l.strstart += l.match_length, l.match_length = 0) : (j = e._tr_tally(l, 0, l.window[l.strstart]), l.lookahead--, l.strstart++), j && (Ke(l, !1), l.strm.avail_out === 0))
1043
1043
  return oe;
1044
1044
  }
1045
1045
  return l.insert = 0, M === f ? (Ke(l, !0), l.strm.avail_out === 0 ? at : mt) : l.last_lit && (Ke(l, !1), l.strm.avail_out === 0) ? oe : et;
@@ -1084,14 +1084,14 @@ function cu() {
1084
1084
  /* 9 max compression */
1085
1085
  ];
1086
1086
  function Cr(l) {
1087
- l.window_size = 2 * l.w_size, xt(l.head), l.max_lazy_match = jt[l.level].max_lazy, l.good_match = jt[l.level].good_length, l.nice_match = jt[l.level].nice_length, l.max_chain_length = jt[l.level].max_chain, l.strstart = 0, l.block_start = 0, l.lookahead = 0, l.insert = 0, l.match_length = l.prev_length = Q - 1, l.match_available = 0, l.ins_h = 0;
1087
+ l.window_size = 2 * l.w_size, xt(l.head), l.max_lazy_match = jt[l.level].max_lazy, l.good_match = jt[l.level].good_length, l.nice_match = jt[l.level].nice_length, l.max_chain_length = jt[l.level].max_chain, l.strstart = 0, l.block_start = 0, l.lookahead = 0, l.insert = 0, l.match_length = l.prev_length = _ - 1, l.match_available = 0, l.ins_h = 0;
1088
1088
  }
1089
1089
  function b() {
1090
- this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = R, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new r.Buf16($ * 2), this.dyn_dtree = new r.Buf16((2 * N + 1) * 2), this.bl_tree = new r.Buf16((2 * X + 1) * 2), xt(this.dyn_ltree), xt(this.dyn_dtree), xt(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new r.Buf16(_ + 1), this.heap = new r.Buf16(2 * G + 1), xt(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new r.Buf16(2 * G + 1), xt(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1090
+ this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = R, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new r.Buf16($ * 2), this.dyn_dtree = new r.Buf16((2 * N + 1) * 2), this.bl_tree = new r.Buf16((2 * X + 1) * 2), xt(this.dyn_ltree), xt(this.dyn_dtree), xt(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new r.Buf16(Q + 1), this.heap = new r.Buf16(2 * H + 1), xt(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new r.Buf16(2 * H + 1), xt(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1091
1091
  }
1092
1092
  function K(l) {
1093
1093
  var M;
1094
- return !l || !l.state ? ct(l, d) : (l.total_in = l.total_out = 0, l.data_type = B, M = l.state, M.pending = 0, M.pending_out = 0, M.wrap < 0 && (M.wrap = -M.wrap), M.status = M.wrap ? De : ae, l.adler = M.wrap === 2 ? 0 : 1, M.last_flush = a, e._tr_init(M), c);
1094
+ return !l || !l.state ? ct(l, d) : (l.total_in = l.total_out = 0, l.data_type = B, M = l.state, M.pending = 0, M.pending_out = 0, M.wrap < 0 && (M.wrap = -M.wrap), M.status = M.wrap ? Pe : ae, l.adler = M.wrap === 2 ? 0 : 1, M.last_flush = a, e._tr_init(M), c);
1095
1095
  }
1096
1096
  function Y(l) {
1097
1097
  var M = K(l);
@@ -1108,7 +1108,7 @@ function cu() {
1108
1108
  return ct(l, d);
1109
1109
  y === 8 && (y = 9);
1110
1110
  var te = new b();
1111
- return l.state = te, te.strm = l, te.wrap = se, te.gzhead = null, te.w_bits = y, te.w_size = 1 << te.w_bits, te.w_mask = te.w_size - 1, te.hash_bits = P + 7, te.hash_size = 1 << te.hash_bits, te.hash_mask = te.hash_size - 1, te.hash_shift = ~~((te.hash_bits + Q - 1) / Q), te.window = new r.Buf8(te.w_size * 2), te.head = new r.Buf16(te.hash_size), te.prev = new r.Buf16(te.w_size), te.lit_bufsize = 1 << P + 6, te.pending_buf_size = te.lit_bufsize * 4, te.pending_buf = new r.Buf8(te.pending_buf_size), te.d_buf = 1 * te.lit_bufsize, te.l_buf = 3 * te.lit_bufsize, te.level = M, te.strategy = z, te.method = j, Y(l);
1111
+ return l.state = te, te.strm = l, te.wrap = se, te.gzhead = null, te.w_bits = y, te.w_size = 1 << te.w_bits, te.w_mask = te.w_size - 1, te.hash_bits = P + 7, te.hash_size = 1 << te.hash_bits, te.hash_mask = te.hash_size - 1, te.hash_shift = ~~((te.hash_bits + _ - 1) / _), te.window = new r.Buf8(te.w_size * 2), te.head = new r.Buf16(te.hash_size), te.prev = new r.Buf16(te.w_size), te.lit_bufsize = 1 << P + 6, te.pending_buf_size = te.lit_bufsize * 4, te.pending_buf = new r.Buf8(te.pending_buf_size), te.d_buf = 1 * te.lit_bufsize, te.l_buf = 3 * te.lit_bufsize, te.level = M, te.strategy = z, te.method = j, Y(l);
1112
1112
  }
1113
1113
  function W(l, M) {
1114
1114
  return T(l, M, R, V, I, E);
@@ -1117,26 +1117,26 @@ function cu() {
1117
1117
  var j, y, P, z;
1118
1118
  if (!l || !l.state || M > u || M < 0)
1119
1119
  return l ? ct(l, d) : d;
1120
- if (y = l.state, !l.output || !l.input && l.avail_in !== 0 || y.status === Ce && M !== f)
1120
+ if (y = l.state, !l.output || !l.input && l.avail_in !== 0 || y.status === ke && M !== f)
1121
1121
  return ct(l, l.avail_out === 0 ? g : d);
1122
- if (y.strm = l, j = y.last_flush, y.last_flush = M, y.status === De)
1122
+ if (y.strm = l, j = y.last_flush, y.last_flush = M, y.status === Pe)
1123
1123
  if (y.wrap === 2)
1124
- l.adler = 0, ke(y, 31), ke(y, 139), ke(y, 8), y.gzhead ? (ke(
1124
+ l.adler = 0, Te(y, 31), Te(y, 139), Te(y, 8), y.gzhead ? (Te(
1125
1125
  y,
1126
1126
  (y.gzhead.text ? 1 : 0) + (y.gzhead.hcrc ? 2 : 0) + (y.gzhead.extra ? 4 : 0) + (y.gzhead.name ? 8 : 0) + (y.gzhead.comment ? 16 : 0)
1127
- ), ke(y, y.gzhead.time & 255), ke(y, y.gzhead.time >> 8 & 255), ke(y, y.gzhead.time >> 16 & 255), ke(y, y.gzhead.time >> 24 & 255), ke(y, y.level === 9 ? 2 : y.strategy >= S || y.level < 2 ? 4 : 0), ke(y, y.gzhead.os & 255), y.gzhead.extra && y.gzhead.extra.length && (ke(y, y.gzhead.extra.length & 255), ke(y, y.gzhead.extra.length >> 8 & 255)), y.gzhead.hcrc && (l.adler = n(l.adler, y.pending_buf, y.pending, 0)), y.gzindex = 0, y.status = Re) : (ke(y, 0), ke(y, 0), ke(y, 0), ke(y, 0), ke(y, 0), ke(y, y.level === 9 ? 2 : y.strategy >= S || y.level < 2 ? 4 : 0), ke(y, qe), y.status = ae);
1127
+ ), Te(y, y.gzhead.time & 255), Te(y, y.gzhead.time >> 8 & 255), Te(y, y.gzhead.time >> 16 & 255), Te(y, y.gzhead.time >> 24 & 255), Te(y, y.level === 9 ? 2 : y.strategy >= F || y.level < 2 ? 4 : 0), Te(y, y.gzhead.os & 255), y.gzhead.extra && y.gzhead.extra.length && (Te(y, y.gzhead.extra.length & 255), Te(y, y.gzhead.extra.length >> 8 & 255)), y.gzhead.hcrc && (l.adler = n(l.adler, y.pending_buf, y.pending, 0)), y.gzindex = 0, y.status = Ce) : (Te(y, 0), Te(y, 0), Te(y, 0), Te(y, 0), Te(y, 0), Te(y, y.level === 9 ? 2 : y.strategy >= F || y.level < 2 ? 4 : 0), Te(y, qe), y.status = ae);
1128
1128
  else {
1129
1129
  var se = R + (y.w_bits - 8 << 4) << 8, te = -1;
1130
- y.strategy >= S || y.level < 2 ? te = 0 : y.level < 6 ? te = 1 : y.level === 6 ? te = 2 : te = 3, se |= te << 6, y.strstart !== 0 && (se |= Ne), se += 31 - se % 31, y.status = ae, wt(y, se), y.strstart !== 0 && (wt(y, l.adler >>> 16), wt(y, l.adler & 65535)), l.adler = 1;
1130
+ y.strategy >= F || y.level < 2 ? te = 0 : y.level < 6 ? te = 1 : y.level === 6 ? te = 2 : te = 3, se |= te << 6, y.strstart !== 0 && (se |= Ne), se += 31 - se % 31, y.status = ae, wt(y, se), y.strstart !== 0 && (wt(y, l.adler >>> 16), wt(y, l.adler & 65535)), l.adler = 1;
1131
1131
  }
1132
- if (y.status === Re)
1132
+ if (y.status === Ce)
1133
1133
  if (y.gzhead.extra) {
1134
1134
  for (P = y.pending; y.gzindex < (y.gzhead.extra.length & 65535) && !(y.pending === y.pending_buf_size && (y.gzhead.hcrc && y.pending > P && (l.adler = n(l.adler, y.pending_buf, y.pending - P, P)), vt(l), P = y.pending, y.pending === y.pending_buf_size)); )
1135
- ke(y, y.gzhead.extra[y.gzindex] & 255), y.gzindex++;
1136
- y.gzhead.hcrc && y.pending > P && (l.adler = n(l.adler, y.pending_buf, y.pending - P, P)), y.gzindex === y.gzhead.extra.length && (y.gzindex = 0, y.status = We);
1135
+ Te(y, y.gzhead.extra[y.gzindex] & 255), y.gzindex++;
1136
+ y.gzhead.hcrc && y.pending > P && (l.adler = n(l.adler, y.pending_buf, y.pending - P, P)), y.gzindex === y.gzhead.extra.length && (y.gzindex = 0, y.status = Me);
1137
1137
  } else
1138
- y.status = We;
1139
- if (y.status === We)
1138
+ y.status = Me;
1139
+ if (y.status === Me)
1140
1140
  if (y.gzhead.name) {
1141
1141
  P = y.pending;
1142
1142
  do {
@@ -1144,7 +1144,7 @@ function cu() {
1144
1144
  z = 1;
1145
1145
  break;
1146
1146
  }
1147
- y.gzindex < y.gzhead.name.length ? z = y.gzhead.name.charCodeAt(y.gzindex++) & 255 : z = 0, ke(y, z);
1147
+ y.gzindex < y.gzhead.name.length ? z = y.gzhead.name.charCodeAt(y.gzindex++) & 255 : z = 0, Te(y, z);
1148
1148
  } while (z !== 0);
1149
1149
  y.gzhead.hcrc && y.pending > P && (l.adler = n(l.adler, y.pending_buf, y.pending - P, P)), z === 0 && (y.gzindex = 0, y.status = ee);
1150
1150
  } else
@@ -1157,45 +1157,45 @@ function cu() {
1157
1157
  z = 1;
1158
1158
  break;
1159
1159
  }
1160
- y.gzindex < y.gzhead.comment.length ? z = y.gzhead.comment.charCodeAt(y.gzindex++) & 255 : z = 0, ke(y, z);
1160
+ y.gzindex < y.gzhead.comment.length ? z = y.gzhead.comment.charCodeAt(y.gzindex++) & 255 : z = 0, Te(y, z);
1161
1161
  } while (z !== 0);
1162
1162
  y.gzhead.hcrc && y.pending > P && (l.adler = n(l.adler, y.pending_buf, y.pending - P, P)), z === 0 && (y.status = re);
1163
1163
  } else
1164
1164
  y.status = re;
1165
- if (y.status === re && (y.gzhead.hcrc ? (y.pending + 2 > y.pending_buf_size && vt(l), y.pending + 2 <= y.pending_buf_size && (ke(y, l.adler & 255), ke(y, l.adler >> 8 & 255), l.adler = 0, y.status = ae)) : y.status = ae), y.pending !== 0) {
1165
+ if (y.status === re && (y.gzhead.hcrc ? (y.pending + 2 > y.pending_buf_size && vt(l), y.pending + 2 <= y.pending_buf_size && (Te(y, l.adler & 255), Te(y, l.adler >> 8 & 255), l.adler = 0, y.status = ae)) : y.status = ae), y.pending !== 0) {
1166
1166
  if (vt(l), l.avail_out === 0)
1167
1167
  return y.last_flush = -1, c;
1168
1168
  } else if (l.avail_in === 0 && lr(M) <= lr(j) && M !== f)
1169
1169
  return ct(l, g);
1170
- if (y.status === Ce && l.avail_in !== 0)
1170
+ if (y.status === ke && l.avail_in !== 0)
1171
1171
  return ct(l, g);
1172
- if (l.avail_in !== 0 || y.lookahead !== 0 || M !== a && y.status !== Ce) {
1173
- var ne = y.strategy === S ? _t(y, M) : y.strategy === A ? Fr(y, M) : jt[y.level].func(y, M);
1174
- if ((ne === at || ne === mt) && (y.status = Ce), ne === oe || ne === at)
1172
+ if (l.avail_in !== 0 || y.lookahead !== 0 || M !== a && y.status !== ke) {
1173
+ var ne = y.strategy === F ? _t(y, M) : y.strategy === A ? Fr(y, M) : jt[y.level].func(y, M);
1174
+ if ((ne === at || ne === mt) && (y.status = ke), ne === oe || ne === at)
1175
1175
  return l.avail_out === 0 && (y.last_flush = -1), c;
1176
1176
  if (ne === et && (M === o ? e._tr_align(y) : M !== u && (e._tr_stored_block(y, 0, 0, !1), M === s && (xt(y.head), y.lookahead === 0 && (y.strstart = 0, y.block_start = 0, y.insert = 0))), vt(l), l.avail_out === 0))
1177
1177
  return y.last_flush = -1, c;
1178
1178
  }
1179
- return M !== f ? c : y.wrap <= 0 ? h : (y.wrap === 2 ? (ke(y, l.adler & 255), ke(y, l.adler >> 8 & 255), ke(y, l.adler >> 16 & 255), ke(y, l.adler >> 24 & 255), ke(y, l.total_in & 255), ke(y, l.total_in >> 8 & 255), ke(y, l.total_in >> 16 & 255), ke(y, l.total_in >> 24 & 255)) : (wt(y, l.adler >>> 16), wt(y, l.adler & 65535)), vt(l), y.wrap > 0 && (y.wrap = -y.wrap), y.pending !== 0 ? c : h);
1179
+ return M !== f ? c : y.wrap <= 0 ? h : (y.wrap === 2 ? (Te(y, l.adler & 255), Te(y, l.adler >> 8 & 255), Te(y, l.adler >> 16 & 255), Te(y, l.adler >> 24 & 255), Te(y, l.total_in & 255), Te(y, l.total_in >> 8 & 255), Te(y, l.total_in >> 16 & 255), Te(y, l.total_in >> 24 & 255)) : (wt(y, l.adler >>> 16), wt(y, l.adler & 65535)), vt(l), y.wrap > 0 && (y.wrap = -y.wrap), y.pending !== 0 ? c : h);
1180
1180
  }
1181
- function H(l) {
1181
+ function G(l) {
1182
1182
  var M;
1183
- return !l || !l.state ? d : (M = l.state.status, M !== De && M !== Re && M !== We && M !== ee && M !== re && M !== ae && M !== Ce ? ct(l, d) : (l.state = null, M === ae ? ct(l, v) : c));
1183
+ return !l || !l.state ? d : (M = l.state.status, M !== Pe && M !== Ce && M !== Me && M !== ee && M !== re && M !== ae && M !== ke ? ct(l, d) : (l.state = null, M === ae ? ct(l, v) : c));
1184
1184
  }
1185
1185
  function he(l, M) {
1186
1186
  var j = M.length, y, P, z, se, te, ne, Be, qt;
1187
- if (!l || !l.state || (y = l.state, se = y.wrap, se === 2 || se === 1 && y.status !== De || y.lookahead))
1187
+ if (!l || !l.state || (y = l.state, se = y.wrap, se === 2 || se === 1 && y.status !== Pe || y.lookahead))
1188
1188
  return d;
1189
- for (se === 1 && (l.adler = t(l.adler, M, j, 0)), y.wrap = 0, j >= y.w_size && (se === 0 && (xt(y.head), y.strstart = 0, y.block_start = 0, y.insert = 0), qt = new r.Buf8(y.w_size), r.arraySet(qt, M, j - y.w_size, y.w_size, 0), M = qt, j = y.w_size), te = l.avail_in, ne = l.next_in, Be = l.input, l.avail_in = j, l.next_in = 0, l.input = M, St(y); y.lookahead >= Q; ) {
1190
- P = y.strstart, z = y.lookahead - (Q - 1);
1189
+ for (se === 1 && (l.adler = t(l.adler, M, j, 0)), y.wrap = 0, j >= y.w_size && (se === 0 && (xt(y.head), y.strstart = 0, y.block_start = 0, y.insert = 0), qt = new r.Buf8(y.w_size), r.arraySet(qt, M, j - y.w_size, y.w_size, 0), M = qt, j = y.w_size), te = l.avail_in, ne = l.next_in, Be = l.input, l.avail_in = j, l.next_in = 0, l.input = M, St(y); y.lookahead >= _; ) {
1190
+ P = y.strstart, z = y.lookahead - (_ - 1);
1191
1191
  do
1192
- y.ins_h = (y.ins_h << y.hash_shift ^ y.window[P + Q - 1]) & y.hash_mask, y.prev[P & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = P, P++;
1192
+ y.ins_h = (y.ins_h << y.hash_shift ^ y.window[P + _ - 1]) & y.hash_mask, y.prev[P & y.w_mask] = y.head[y.ins_h], y.head[y.ins_h] = P, P++;
1193
1193
  while (--z);
1194
- y.strstart = P, y.lookahead = Q - 1, St(y);
1194
+ y.strstart = P, y.lookahead = _ - 1, St(y);
1195
1195
  }
1196
- return y.strstart += y.lookahead, y.block_start = y.strstart, y.insert = y.lookahead, y.lookahead = 0, y.match_length = y.prev_length = Q - 1, y.match_available = 0, l.next_in = ne, l.input = Be, l.avail_in = te, y.wrap = se, c;
1196
+ return y.strstart += y.lookahead, y.block_start = y.strstart, y.insert = y.lookahead, y.lookahead = 0, y.match_length = y.prev_length = _ - 1, y.match_available = 0, l.next_in = ne, l.input = Be, l.avail_in = te, y.wrap = se, c;
1197
1197
  }
1198
- return It.deflateInit = W, It.deflateInit2 = T, It.deflateReset = Y, It.deflateResetKeep = K, It.deflateSetHeader = ie, It.deflate = p, It.deflateEnd = H, It.deflateSetDictionary = he, It.deflateInfo = "pako deflate (from Nodeca project)", It;
1198
+ return It.deflateInit = W, It.deflateInit2 = T, It.deflateReset = Y, It.deflateResetKeep = K, It.deflateSetHeader = ie, It.deflate = p, It.deflateEnd = G, It.deflateSetDictionary = he, It.deflateInfo = "pako deflate (from Nodeca project)", It;
1199
1199
  }
1200
1200
  var hr = {}, wa;
1201
1201
  function ko() {
@@ -1328,13 +1328,13 @@ function hu() {
1328
1328
  throw E.msg || n[E.err];
1329
1329
  return E.result;
1330
1330
  }
1331
- function C(A, k) {
1331
+ function S(A, k) {
1332
1332
  return k = k || {}, k.raw = !0, m(A, k);
1333
1333
  }
1334
- function S(A, k) {
1334
+ function F(A, k) {
1335
1335
  return k = k || {}, k.gzip = !0, m(A, k);
1336
1336
  }
1337
- return Tr.Deflate = g, Tr.deflate = m, Tr.deflateRaw = C, Tr.gzip = S, Tr;
1337
+ return Tr.Deflate = g, Tr.deflate = m, Tr.deflateRaw = S, Tr.gzip = F, Tr;
1338
1338
  }
1339
1339
  var Ar = {}, Ct = {}, yi, Ca;
1340
1340
  function du() {
@@ -1342,25 +1342,25 @@ function du() {
1342
1342
  Ca = 1;
1343
1343
  var r = 30, e = 12;
1344
1344
  return yi = function(n, i) {
1345
- var a, o, s, f, u, c, h, d, v, g, m, C, S, A, k, E, B, R, D, V, I, U, q, G, N;
1346
- a = n.state, o = n.next_in, G = n.input, s = o + (n.avail_in - 5), f = n.next_out, N = n.output, u = f - (i - n.avail_out), c = f + (n.avail_out - 257), h = a.dmax, d = a.wsize, v = a.whave, g = a.wnext, m = a.window, C = a.hold, S = a.bits, A = a.lencode, k = a.distcode, E = (1 << a.lenbits) - 1, B = (1 << a.distbits) - 1;
1345
+ var a, o, s, f, u, c, h, d, v, g, m, S, F, A, k, E, B, R, D, V, I, U, q, H, N;
1346
+ a = n.state, o = n.next_in, H = n.input, s = o + (n.avail_in - 5), f = n.next_out, N = n.output, u = f - (i - n.avail_out), c = f + (n.avail_out - 257), h = a.dmax, d = a.wsize, v = a.whave, g = a.wnext, m = a.window, S = a.hold, F = a.bits, A = a.lencode, k = a.distcode, E = (1 << a.lenbits) - 1, B = (1 << a.distbits) - 1;
1347
1347
  e:
1348
1348
  do {
1349
- S < 15 && (C += G[o++] << S, S += 8, C += G[o++] << S, S += 8), R = A[C & E];
1349
+ F < 15 && (S += H[o++] << F, F += 8, S += H[o++] << F, F += 8), R = A[S & E];
1350
1350
  t:
1351
1351
  for (; ; ) {
1352
- if (D = R >>> 24, C >>>= D, S -= D, D = R >>> 16 & 255, D === 0)
1352
+ if (D = R >>> 24, S >>>= D, F -= D, D = R >>> 16 & 255, D === 0)
1353
1353
  N[f++] = R & 65535;
1354
1354
  else if (D & 16) {
1355
- V = R & 65535, D &= 15, D && (S < D && (C += G[o++] << S, S += 8), V += C & (1 << D) - 1, C >>>= D, S -= D), S < 15 && (C += G[o++] << S, S += 8, C += G[o++] << S, S += 8), R = k[C & B];
1355
+ V = R & 65535, D &= 15, D && (F < D && (S += H[o++] << F, F += 8), V += S & (1 << D) - 1, S >>>= D, F -= D), F < 15 && (S += H[o++] << F, F += 8, S += H[o++] << F, F += 8), R = k[S & B];
1356
1356
  r:
1357
1357
  for (; ; ) {
1358
- if (D = R >>> 24, C >>>= D, S -= D, D = R >>> 16 & 255, D & 16) {
1359
- if (I = R & 65535, D &= 15, S < D && (C += G[o++] << S, S += 8, S < D && (C += G[o++] << S, S += 8)), I += C & (1 << D) - 1, I > h) {
1358
+ if (D = R >>> 24, S >>>= D, F -= D, D = R >>> 16 & 255, D & 16) {
1359
+ if (I = R & 65535, D &= 15, F < D && (S += H[o++] << F, F += 8, F < D && (S += H[o++] << F, F += 8)), I += S & (1 << D) - 1, I > h) {
1360
1360
  n.msg = "invalid distance too far back", a.mode = r;
1361
1361
  break e;
1362
1362
  }
1363
- if (C >>>= D, S -= D, D = f - u, I > D) {
1363
+ if (S >>>= D, F -= D, D = f - u, I > D) {
1364
1364
  if (D = I - D, D > v && a.sane) {
1365
1365
  n.msg = "invalid distance too far back", a.mode = r;
1366
1366
  break e;
@@ -1405,7 +1405,7 @@ function du() {
1405
1405
  V && (N[f++] = N[U++], V > 1 && (N[f++] = N[U++]));
1406
1406
  }
1407
1407
  } else if ((D & 64) === 0) {
1408
- R = k[(R & 65535) + (C & (1 << D) - 1)];
1408
+ R = k[(R & 65535) + (S & (1 << D) - 1)];
1409
1409
  continue r;
1410
1410
  } else {
1411
1411
  n.msg = "invalid distance code", a.mode = r;
@@ -1414,7 +1414,7 @@ function du() {
1414
1414
  break;
1415
1415
  }
1416
1416
  } else if ((D & 64) === 0) {
1417
- R = A[(R & 65535) + (C & (1 << D) - 1)];
1417
+ R = A[(R & 65535) + (S & (1 << D) - 1)];
1418
1418
  continue t;
1419
1419
  } else if (D & 32) {
1420
1420
  a.mode = e;
@@ -1426,7 +1426,7 @@ function du() {
1426
1426
  break;
1427
1427
  }
1428
1428
  } while (o < s && f < c);
1429
- V = S >> 3, o -= V, S -= V << 3, C &= (1 << S) - 1, n.next_in = o, n.next_out = f, n.avail_in = o < s ? 5 + (s - o) : 5 - (o - s), n.avail_out = f < c ? 257 + (c - f) : 257 - (f - c), a.hold = C, a.bits = S;
1429
+ V = F >> 3, o -= V, F -= V << 3, S &= (1 << F) - 1, n.next_in = o, n.next_out = f, n.avail_in = o < s ? 5 + (s - o) : 5 - (o - s), n.avail_out = f < c ? 257 + (c - f) : 257 - (f - c), a.hold = S, a.bits = F;
1430
1430
  }, yi;
1431
1431
  }
1432
1432
  var bi, ka;
@@ -1568,57 +1568,57 @@ function vu() {
1568
1568
  64,
1569
1569
  64
1570
1570
  ];
1571
- return bi = function(d, v, g, m, C, S, A, k) {
1572
- var E = k.bits, B = 0, R = 0, D = 0, V = 0, I = 0, U = 0, q = 0, G = 0, N = 0, X = 0, $, _, Q, Fe, le, Ne = null, De = 0, Re, We = new r.Buf16(e + 1), ee = new r.Buf16(e + 1), re = null, ae = 0, Ce, oe, et;
1571
+ return bi = function(d, v, g, m, S, F, A, k) {
1572
+ var E = k.bits, B = 0, R = 0, D = 0, V = 0, I = 0, U = 0, q = 0, H = 0, N = 0, X = 0, $, Q, _, Fe, le, Ne = null, Pe = 0, Ce, Me = new r.Buf16(e + 1), ee = new r.Buf16(e + 1), re = null, ae = 0, ke, oe, et;
1573
1573
  for (B = 0; B <= e; B++)
1574
- We[B] = 0;
1574
+ Me[B] = 0;
1575
1575
  for (R = 0; R < m; R++)
1576
- We[v[g + R]]++;
1577
- for (I = E, V = e; V >= 1 && We[V] === 0; V--)
1576
+ Me[v[g + R]]++;
1577
+ for (I = E, V = e; V >= 1 && Me[V] === 0; V--)
1578
1578
  ;
1579
1579
  if (I > V && (I = V), V === 0)
1580
- return C[S++] = 1 << 24 | 64 << 16 | 0, C[S++] = 1 << 24 | 64 << 16 | 0, k.bits = 1, 0;
1581
- for (D = 1; D < V && We[D] === 0; D++)
1580
+ return S[F++] = 1 << 24 | 64 << 16 | 0, S[F++] = 1 << 24 | 64 << 16 | 0, k.bits = 1, 0;
1581
+ for (D = 1; D < V && Me[D] === 0; D++)
1582
1582
  ;
1583
- for (I < D && (I = D), G = 1, B = 1; B <= e; B++)
1584
- if (G <<= 1, G -= We[B], G < 0)
1583
+ for (I < D && (I = D), H = 1, B = 1; B <= e; B++)
1584
+ if (H <<= 1, H -= Me[B], H < 0)
1585
1585
  return -1;
1586
- if (G > 0 && (d === i || V !== 1))
1586
+ if (H > 0 && (d === i || V !== 1))
1587
1587
  return -1;
1588
1588
  for (ee[1] = 0, B = 1; B < e; B++)
1589
- ee[B + 1] = ee[B] + We[B];
1589
+ ee[B + 1] = ee[B] + Me[B];
1590
1590
  for (R = 0; R < m; R++)
1591
1591
  v[g + R] !== 0 && (A[ee[v[g + R]]++] = R);
1592
- if (d === i ? (Ne = re = A, Re = 19) : d === a ? (Ne = s, De -= 257, re = f, ae -= 257, Re = 256) : (Ne = u, re = c, Re = -1), X = 0, R = 0, B = D, le = S, U = I, q = 0, Q = -1, N = 1 << I, Fe = N - 1, d === a && N > t || d === o && N > n)
1592
+ if (d === i ? (Ne = re = A, Ce = 19) : d === a ? (Ne = s, Pe -= 257, re = f, ae -= 257, Ce = 256) : (Ne = u, re = c, Ce = -1), X = 0, R = 0, B = D, le = F, U = I, q = 0, _ = -1, N = 1 << I, Fe = N - 1, d === a && N > t || d === o && N > n)
1593
1593
  return 1;
1594
1594
  for (; ; ) {
1595
- Ce = B - q, A[R] < Re ? (oe = 0, et = A[R]) : A[R] > Re ? (oe = re[ae + A[R]], et = Ne[De + A[R]]) : (oe = 96, et = 0), $ = 1 << B - q, _ = 1 << U, D = _;
1595
+ ke = B - q, A[R] < Ce ? (oe = 0, et = A[R]) : A[R] > Ce ? (oe = re[ae + A[R]], et = Ne[Pe + A[R]]) : (oe = 96, et = 0), $ = 1 << B - q, Q = 1 << U, D = Q;
1596
1596
  do
1597
- _ -= $, C[le + (X >> q) + _] = Ce << 24 | oe << 16 | et | 0;
1598
- while (_ !== 0);
1597
+ Q -= $, S[le + (X >> q) + Q] = ke << 24 | oe << 16 | et | 0;
1598
+ while (Q !== 0);
1599
1599
  for ($ = 1 << B - 1; X & $; )
1600
1600
  $ >>= 1;
1601
- if ($ !== 0 ? (X &= $ - 1, X += $) : X = 0, R++, --We[B] === 0) {
1601
+ if ($ !== 0 ? (X &= $ - 1, X += $) : X = 0, R++, --Me[B] === 0) {
1602
1602
  if (B === V)
1603
1603
  break;
1604
1604
  B = v[g + A[R]];
1605
1605
  }
1606
- if (B > I && (X & Fe) !== Q) {
1607
- for (q === 0 && (q = I), le += D, U = B - q, G = 1 << U; U + q < V && (G -= We[U + q], !(G <= 0)); )
1608
- U++, G <<= 1;
1606
+ if (B > I && (X & Fe) !== _) {
1607
+ for (q === 0 && (q = I), le += D, U = B - q, H = 1 << U; U + q < V && (H -= Me[U + q], !(H <= 0)); )
1608
+ U++, H <<= 1;
1609
1609
  if (N += 1 << U, d === a && N > t || d === o && N > n)
1610
1610
  return 1;
1611
- Q = X & Fe, C[Q] = I << 24 | U << 16 | le - S | 0;
1611
+ _ = X & Fe, S[_] = I << 24 | U << 16 | le - F | 0;
1612
1612
  }
1613
1613
  }
1614
- return X !== 0 && (C[le + X] = B - q << 24 | 64 << 16 | 0), k.bits = I, 0;
1614
+ return X !== 0 && (S[le + X] = B - q << 24 | 64 << 16 | 0), k.bits = I, 0;
1615
1615
  }, bi;
1616
1616
  }
1617
1617
  var Pa;
1618
1618
  function pu() {
1619
1619
  if (Pa) return Ct;
1620
1620
  Pa = 1;
1621
- var r = sr(), e = Fo(), t = Co(), n = du(), i = vu(), a = 0, o = 1, s = 2, f = 4, u = 5, c = 6, h = 0, d = 1, v = 2, g = -2, m = -3, C = -4, S = -5, A = 8, k = 1, E = 2, B = 3, R = 4, D = 5, V = 6, I = 7, U = 8, q = 9, G = 10, N = 11, X = 12, $ = 13, _ = 14, Q = 15, Fe = 16, le = 17, Ne = 18, De = 19, Re = 20, We = 21, ee = 22, re = 23, ae = 24, Ce = 25, oe = 26, et = 27, at = 28, mt = 29, qe = 30, ct = 31, lr = 32, xt = 852, vt = 592, Ke = 15, ke = Ke;
1621
+ var r = sr(), e = Fo(), t = Co(), n = du(), i = vu(), a = 0, o = 1, s = 2, f = 4, u = 5, c = 6, h = 0, d = 1, v = 2, g = -2, m = -3, S = -4, F = -5, A = 8, k = 1, E = 2, B = 3, R = 4, D = 5, V = 6, I = 7, U = 8, q = 9, H = 10, N = 11, X = 12, $ = 13, Q = 14, _ = 15, Fe = 16, le = 17, Ne = 18, Pe = 19, Ce = 20, Me = 21, ee = 22, re = 23, ae = 24, ke = 25, oe = 26, et = 27, at = 28, mt = 29, qe = 30, ct = 31, lr = 32, xt = 852, vt = 592, Ke = 15, Te = Ke;
1622
1622
  function wt(T) {
1623
1623
  return (T >>> 24 & 255) + (T >>> 8 & 65280) + ((T & 65280) << 8) + ((T & 255) << 24);
1624
1624
  }
@@ -1634,15 +1634,15 @@ function pu() {
1634
1634
  return !T || !T.state ? g : (W = T.state, W.wsize = 0, W.whave = 0, W.wnext = 0, Jt(T));
1635
1635
  }
1636
1636
  function Sr(T, W) {
1637
- var p, H;
1638
- return !T || !T.state || (H = T.state, W < 0 ? (p = 0, W = -W) : (p = (W >> 4) + 1, W < 48 && (W &= 15)), W && (W < 8 || W > 15)) ? g : (H.window !== null && H.wbits !== W && (H.window = null), H.wrap = p, H.wbits = W, St(T));
1637
+ var p, G;
1638
+ return !T || !T.state || (G = T.state, W < 0 ? (p = 0, W = -W) : (p = (W >> 4) + 1, W < 48 && (W &= 15)), W && (W < 8 || W > 15)) ? g : (G.window !== null && G.wbits !== W && (G.window = null), G.wrap = p, G.wbits = W, St(T));
1639
1639
  }
1640
1640
  function Qt(T, W) {
1641
- var p, H;
1642
- return T ? (H = new wr(), T.state = H, H.window = null, p = Sr(T, W), p !== h && (T.state = null), p) : g;
1641
+ var p, G;
1642
+ return T ? (G = new wr(), T.state = G, G.window = null, p = Sr(T, W), p !== h && (T.state = null), p) : g;
1643
1643
  }
1644
1644
  function Bt(T) {
1645
- return Qt(T, ke);
1645
+ return Qt(T, Te);
1646
1646
  }
1647
1647
  var Fr = !0, _t, ot;
1648
1648
  function jt(T) {
@@ -1662,18 +1662,18 @@ function pu() {
1662
1662
  }
1663
1663
  T.lencode = _t, T.lenbits = 9, T.distcode = ot, T.distbits = 5;
1664
1664
  }
1665
- function Cr(T, W, p, H) {
1665
+ function Cr(T, W, p, G) {
1666
1666
  var he, l = T.state;
1667
- return l.window === null && (l.wsize = 1 << l.wbits, l.wnext = 0, l.whave = 0, l.window = new r.Buf8(l.wsize)), H >= l.wsize ? (r.arraySet(l.window, W, p - l.wsize, l.wsize, 0), l.wnext = 0, l.whave = l.wsize) : (he = l.wsize - l.wnext, he > H && (he = H), r.arraySet(l.window, W, p - H, he, l.wnext), H -= he, H ? (r.arraySet(l.window, W, p - H, H, 0), l.wnext = H, l.whave = l.wsize) : (l.wnext += he, l.wnext === l.wsize && (l.wnext = 0), l.whave < l.wsize && (l.whave += he))), 0;
1667
+ return l.window === null && (l.wsize = 1 << l.wbits, l.wnext = 0, l.whave = 0, l.window = new r.Buf8(l.wsize)), G >= l.wsize ? (r.arraySet(l.window, W, p - l.wsize, l.wsize, 0), l.wnext = 0, l.whave = l.wsize) : (he = l.wsize - l.wnext, he > G && (he = G), r.arraySet(l.window, W, p - G, he, l.wnext), G -= he, G ? (r.arraySet(l.window, W, p - G, G, 0), l.wnext = G, l.whave = l.wsize) : (l.wnext += he, l.wnext === l.wsize && (l.wnext = 0), l.whave < l.wsize && (l.whave += he))), 0;
1668
1668
  }
1669
1669
  function b(T, W) {
1670
- var p, H, he, l, M, j, y, P, z, se, te, ne, Be, qt, He = 0, Ie, Ye, st, ht, bn, mn, Xe, Ft, rt = new r.Buf8(4), Lt, Ut, ca = (
1670
+ var p, G, he, l, M, j, y, P, z, se, te, ne, Be, qt, He = 0, Ie, Ye, st, ht, bn, mn, Xe, Ft, rt = new r.Buf8(4), Lt, Ut, ca = (
1671
1671
  /* permutation of code lengths */
1672
1672
  [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
1673
1673
  );
1674
1674
  if (!T || !T.state || !T.output || !T.input && T.avail_in !== 0)
1675
1675
  return g;
1676
- p = T.state, p.mode === X && (p.mode = $), M = T.next_out, he = T.output, y = T.avail_out, l = T.next_in, H = T.input, j = T.avail_in, P = p.hold, z = p.bits, se = j, te = y, Ft = h;
1676
+ p = T.state, p.mode === X && (p.mode = $), M = T.next_out, he = T.output, y = T.avail_out, l = T.next_in, G = T.input, j = T.avail_in, P = p.hold, z = p.bits, se = j, te = y, Ft = h;
1677
1677
  e:
1678
1678
  for (; ; )
1679
1679
  switch (p.mode) {
@@ -1685,7 +1685,7 @@ function pu() {
1685
1685
  for (; z < 16; ) {
1686
1686
  if (j === 0)
1687
1687
  break e;
1688
- j--, P += H[l++] << z, z += 8;
1688
+ j--, P += G[l++] << z, z += 8;
1689
1689
  }
1690
1690
  if (p.wrap & 2 && P === 35615) {
1691
1691
  p.check = 0, rt[0] = P & 255, rt[1] = P >>> 8 & 255, p.check = t(p.check, rt, 2, 0), P = 0, z = 0, p.mode = E;
@@ -1706,13 +1706,13 @@ function pu() {
1706
1706
  T.msg = "invalid window size", p.mode = qe;
1707
1707
  break;
1708
1708
  }
1709
- p.dmax = 1 << Xe, T.adler = p.check = 1, p.mode = P & 512 ? G : X, P = 0, z = 0;
1709
+ p.dmax = 1 << Xe, T.adler = p.check = 1, p.mode = P & 512 ? H : X, P = 0, z = 0;
1710
1710
  break;
1711
1711
  case E:
1712
1712
  for (; z < 16; ) {
1713
1713
  if (j === 0)
1714
1714
  break e;
1715
- j--, P += H[l++] << z, z += 8;
1715
+ j--, P += G[l++] << z, z += 8;
1716
1716
  }
1717
1717
  if (p.flags = P, (p.flags & 255) !== A) {
1718
1718
  T.msg = "unknown compression method", p.mode = qe;
@@ -1728,7 +1728,7 @@ function pu() {
1728
1728
  for (; z < 32; ) {
1729
1729
  if (j === 0)
1730
1730
  break e;
1731
- j--, P += H[l++] << z, z += 8;
1731
+ j--, P += G[l++] << z, z += 8;
1732
1732
  }
1733
1733
  p.head && (p.head.time = P), p.flags & 512 && (rt[0] = P & 255, rt[1] = P >>> 8 & 255, rt[2] = P >>> 16 & 255, rt[3] = P >>> 24 & 255, p.check = t(p.check, rt, 4, 0)), P = 0, z = 0, p.mode = R;
1734
1734
  /* falls through */
@@ -1736,7 +1736,7 @@ function pu() {
1736
1736
  for (; z < 16; ) {
1737
1737
  if (j === 0)
1738
1738
  break e;
1739
- j--, P += H[l++] << z, z += 8;
1739
+ j--, P += G[l++] << z, z += 8;
1740
1740
  }
1741
1741
  p.head && (p.head.xflags = P & 255, p.head.os = P >> 8), p.flags & 512 && (rt[0] = P & 255, rt[1] = P >>> 8 & 255, p.check = t(p.check, rt, 2, 0)), P = 0, z = 0, p.mode = D;
1742
1742
  /* falls through */
@@ -1745,7 +1745,7 @@ function pu() {
1745
1745
  for (; z < 16; ) {
1746
1746
  if (j === 0)
1747
1747
  break e;
1748
- j--, P += H[l++] << z, z += 8;
1748
+ j--, P += G[l++] << z, z += 8;
1749
1749
  }
1750
1750
  p.length = P, p.head && (p.head.extra_len = P), p.flags & 512 && (rt[0] = P & 255, rt[1] = P >>> 8 & 255, p.check = t(p.check, rt, 2, 0)), P = 0, z = 0;
1751
1751
  } else p.head && (p.head.extra = null);
@@ -1754,14 +1754,14 @@ function pu() {
1754
1754
  case V:
1755
1755
  if (p.flags & 1024 && (ne = p.length, ne > j && (ne = j), ne && (p.head && (Xe = p.head.extra_len - p.length, p.head.extra || (p.head.extra = new Array(p.head.extra_len)), r.arraySet(
1756
1756
  p.head.extra,
1757
- H,
1757
+ G,
1758
1758
  l,
1759
1759
  // extra field is limited to 65536 bytes
1760
1760
  // - no need for additional size check
1761
1761
  ne,
1762
1762
  /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/
1763
1763
  Xe
1764
- )), p.flags & 512 && (p.check = t(p.check, H, ne, l)), j -= ne, l += ne, p.length -= ne), p.length))
1764
+ )), p.flags & 512 && (p.check = t(p.check, G, ne, l)), j -= ne, l += ne, p.length -= ne), p.length))
1765
1765
  break e;
1766
1766
  p.length = 0, p.mode = I;
1767
1767
  /* falls through */
@@ -1771,9 +1771,9 @@ function pu() {
1771
1771
  break e;
1772
1772
  ne = 0;
1773
1773
  do
1774
- Xe = H[l + ne++], p.head && Xe && p.length < 65536 && (p.head.name += String.fromCharCode(Xe));
1774
+ Xe = G[l + ne++], p.head && Xe && p.length < 65536 && (p.head.name += String.fromCharCode(Xe));
1775
1775
  while (Xe && ne < j);
1776
- if (p.flags & 512 && (p.check = t(p.check, H, ne, l)), j -= ne, l += ne, Xe)
1776
+ if (p.flags & 512 && (p.check = t(p.check, G, ne, l)), j -= ne, l += ne, Xe)
1777
1777
  break e;
1778
1778
  } else p.head && (p.head.name = null);
1779
1779
  p.length = 0, p.mode = U;
@@ -1784,9 +1784,9 @@ function pu() {
1784
1784
  break e;
1785
1785
  ne = 0;
1786
1786
  do
1787
- Xe = H[l + ne++], p.head && Xe && p.length < 65536 && (p.head.comment += String.fromCharCode(Xe));
1787
+ Xe = G[l + ne++], p.head && Xe && p.length < 65536 && (p.head.comment += String.fromCharCode(Xe));
1788
1788
  while (Xe && ne < j);
1789
- if (p.flags & 512 && (p.check = t(p.check, H, ne, l)), j -= ne, l += ne, Xe)
1789
+ if (p.flags & 512 && (p.check = t(p.check, G, ne, l)), j -= ne, l += ne, Xe)
1790
1790
  break e;
1791
1791
  } else p.head && (p.head.comment = null);
1792
1792
  p.mode = q;
@@ -1796,7 +1796,7 @@ function pu() {
1796
1796
  for (; z < 16; ) {
1797
1797
  if (j === 0)
1798
1798
  break e;
1799
- j--, P += H[l++] << z, z += 8;
1799
+ j--, P += G[l++] << z, z += 8;
1800
1800
  }
1801
1801
  if (P !== (p.check & 65535)) {
1802
1802
  T.msg = "header crc mismatch", p.mode = qe;
@@ -1806,11 +1806,11 @@ function pu() {
1806
1806
  }
1807
1807
  p.head && (p.head.hcrc = p.flags >> 9 & 1, p.head.done = !0), T.adler = p.check = 0, p.mode = X;
1808
1808
  break;
1809
- case G:
1809
+ case H:
1810
1810
  for (; z < 32; ) {
1811
1811
  if (j === 0)
1812
1812
  break e;
1813
- j--, P += H[l++] << z, z += 8;
1813
+ j--, P += G[l++] << z, z += 8;
1814
1814
  }
1815
1815
  T.adler = p.check = wt(P), P = 0, z = 0, p.mode = N;
1816
1816
  /* falls through */
@@ -1831,14 +1831,14 @@ function pu() {
1831
1831
  for (; z < 3; ) {
1832
1832
  if (j === 0)
1833
1833
  break e;
1834
- j--, P += H[l++] << z, z += 8;
1834
+ j--, P += G[l++] << z, z += 8;
1835
1835
  }
1836
1836
  switch (p.last = P & 1, P >>>= 1, z -= 1, P & 3) {
1837
1837
  case 0:
1838
- p.mode = _;
1838
+ p.mode = Q;
1839
1839
  break;
1840
1840
  case 1:
1841
- if (jt(p), p.mode = Re, W === c) {
1841
+ if (jt(p), p.mode = Ce, W === c) {
1842
1842
  P >>>= 2, z -= 2;
1843
1843
  break e;
1844
1844
  }
@@ -1851,27 +1851,27 @@ function pu() {
1851
1851
  }
1852
1852
  P >>>= 2, z -= 2;
1853
1853
  break;
1854
- case _:
1854
+ case Q:
1855
1855
  for (P >>>= z & 7, z -= z & 7; z < 32; ) {
1856
1856
  if (j === 0)
1857
1857
  break e;
1858
- j--, P += H[l++] << z, z += 8;
1858
+ j--, P += G[l++] << z, z += 8;
1859
1859
  }
1860
1860
  if ((P & 65535) !== (P >>> 16 ^ 65535)) {
1861
1861
  T.msg = "invalid stored block lengths", p.mode = qe;
1862
1862
  break;
1863
1863
  }
1864
- if (p.length = P & 65535, P = 0, z = 0, p.mode = Q, W === c)
1864
+ if (p.length = P & 65535, P = 0, z = 0, p.mode = _, W === c)
1865
1865
  break e;
1866
1866
  /* falls through */
1867
- case Q:
1867
+ case _:
1868
1868
  p.mode = Fe;
1869
1869
  /* falls through */
1870
1870
  case Fe:
1871
1871
  if (ne = p.length, ne) {
1872
1872
  if (ne > j && (ne = j), ne > y && (ne = y), ne === 0)
1873
1873
  break e;
1874
- r.arraySet(he, H, l, ne, M), j -= ne, l += ne, y -= ne, M += ne, p.length -= ne;
1874
+ r.arraySet(he, G, l, ne, M), j -= ne, l += ne, y -= ne, M += ne, p.length -= ne;
1875
1875
  break;
1876
1876
  }
1877
1877
  p.mode = X;
@@ -1880,7 +1880,7 @@ function pu() {
1880
1880
  for (; z < 14; ) {
1881
1881
  if (j === 0)
1882
1882
  break e;
1883
- j--, P += H[l++] << z, z += 8;
1883
+ j--, P += G[l++] << z, z += 8;
1884
1884
  }
1885
1885
  if (p.nlen = (P & 31) + 257, P >>>= 5, z -= 5, p.ndist = (P & 31) + 1, P >>>= 5, z -= 5, p.ncode = (P & 15) + 4, P >>>= 4, z -= 4, p.nlen > 286 || p.ndist > 30) {
1886
1886
  T.msg = "too many length or distance symbols", p.mode = qe;
@@ -1893,7 +1893,7 @@ function pu() {
1893
1893
  for (; z < 3; ) {
1894
1894
  if (j === 0)
1895
1895
  break e;
1896
- j--, P += H[l++] << z, z += 8;
1896
+ j--, P += G[l++] << z, z += 8;
1897
1897
  }
1898
1898
  p.lens[ca[p.have++]] = P & 7, P >>>= 3, z -= 3;
1899
1899
  }
@@ -1903,14 +1903,14 @@ function pu() {
1903
1903
  T.msg = "invalid code lengths set", p.mode = qe;
1904
1904
  break;
1905
1905
  }
1906
- p.have = 0, p.mode = De;
1906
+ p.have = 0, p.mode = Pe;
1907
1907
  /* falls through */
1908
- case De:
1908
+ case Pe:
1909
1909
  for (; p.have < p.nlen + p.ndist; ) {
1910
1910
  for (; He = p.lencode[P & (1 << p.lenbits) - 1], Ie = He >>> 24, Ye = He >>> 16 & 255, st = He & 65535, !(Ie <= z); ) {
1911
1911
  if (j === 0)
1912
1912
  break e;
1913
- j--, P += H[l++] << z, z += 8;
1913
+ j--, P += G[l++] << z, z += 8;
1914
1914
  }
1915
1915
  if (st < 16)
1916
1916
  P >>>= Ie, z -= Ie, p.lens[p.have++] = st;
@@ -1919,7 +1919,7 @@ function pu() {
1919
1919
  for (Ut = Ie + 2; z < Ut; ) {
1920
1920
  if (j === 0)
1921
1921
  break e;
1922
- j--, P += H[l++] << z, z += 8;
1922
+ j--, P += G[l++] << z, z += 8;
1923
1923
  }
1924
1924
  if (P >>>= Ie, z -= Ie, p.have === 0) {
1925
1925
  T.msg = "invalid bit length repeat", p.mode = qe;
@@ -1930,14 +1930,14 @@ function pu() {
1930
1930
  for (Ut = Ie + 3; z < Ut; ) {
1931
1931
  if (j === 0)
1932
1932
  break e;
1933
- j--, P += H[l++] << z, z += 8;
1933
+ j--, P += G[l++] << z, z += 8;
1934
1934
  }
1935
1935
  P >>>= Ie, z -= Ie, Xe = 0, ne = 3 + (P & 7), P >>>= 3, z -= 3;
1936
1936
  } else {
1937
1937
  for (Ut = Ie + 7; z < Ut; ) {
1938
1938
  if (j === 0)
1939
1939
  break e;
1940
- j--, P += H[l++] << z, z += 8;
1940
+ j--, P += G[l++] << z, z += 8;
1941
1941
  }
1942
1942
  P >>>= Ie, z -= Ie, Xe = 0, ne = 11 + (P & 127), P >>>= 7, z -= 7;
1943
1943
  }
@@ -1963,27 +1963,27 @@ function pu() {
1963
1963
  T.msg = "invalid distances set", p.mode = qe;
1964
1964
  break;
1965
1965
  }
1966
- if (p.mode = Re, W === c)
1966
+ if (p.mode = Ce, W === c)
1967
1967
  break e;
1968
1968
  /* falls through */
1969
- case Re:
1970
- p.mode = We;
1969
+ case Ce:
1970
+ p.mode = Me;
1971
1971
  /* falls through */
1972
- case We:
1972
+ case Me:
1973
1973
  if (j >= 6 && y >= 258) {
1974
- T.next_out = M, T.avail_out = y, T.next_in = l, T.avail_in = j, p.hold = P, p.bits = z, n(T, te), M = T.next_out, he = T.output, y = T.avail_out, l = T.next_in, H = T.input, j = T.avail_in, P = p.hold, z = p.bits, p.mode === X && (p.back = -1);
1974
+ T.next_out = M, T.avail_out = y, T.next_in = l, T.avail_in = j, p.hold = P, p.bits = z, n(T, te), M = T.next_out, he = T.output, y = T.avail_out, l = T.next_in, G = T.input, j = T.avail_in, P = p.hold, z = p.bits, p.mode === X && (p.back = -1);
1975
1975
  break;
1976
1976
  }
1977
1977
  for (p.back = 0; He = p.lencode[P & (1 << p.lenbits) - 1], Ie = He >>> 24, Ye = He >>> 16 & 255, st = He & 65535, !(Ie <= z); ) {
1978
1978
  if (j === 0)
1979
1979
  break e;
1980
- j--, P += H[l++] << z, z += 8;
1980
+ j--, P += G[l++] << z, z += 8;
1981
1981
  }
1982
1982
  if (Ye && (Ye & 240) === 0) {
1983
1983
  for (ht = Ie, bn = Ye, mn = st; He = p.lencode[mn + ((P & (1 << ht + bn) - 1) >> ht)], Ie = He >>> 24, Ye = He >>> 16 & 255, st = He & 65535, !(ht + Ie <= z); ) {
1984
1984
  if (j === 0)
1985
1985
  break e;
1986
- j--, P += H[l++] << z, z += 8;
1986
+ j--, P += G[l++] << z, z += 8;
1987
1987
  }
1988
1988
  P >>>= ht, z -= ht, p.back += ht;
1989
1989
  }
@@ -2006,7 +2006,7 @@ function pu() {
2006
2006
  for (Ut = p.extra; z < Ut; ) {
2007
2007
  if (j === 0)
2008
2008
  break e;
2009
- j--, P += H[l++] << z, z += 8;
2009
+ j--, P += G[l++] << z, z += 8;
2010
2010
  }
2011
2011
  p.length += P & (1 << p.extra) - 1, P >>>= p.extra, z -= p.extra, p.back += p.extra;
2012
2012
  }
@@ -2016,13 +2016,13 @@ function pu() {
2016
2016
  for (; He = p.distcode[P & (1 << p.distbits) - 1], Ie = He >>> 24, Ye = He >>> 16 & 255, st = He & 65535, !(Ie <= z); ) {
2017
2017
  if (j === 0)
2018
2018
  break e;
2019
- j--, P += H[l++] << z, z += 8;
2019
+ j--, P += G[l++] << z, z += 8;
2020
2020
  }
2021
2021
  if ((Ye & 240) === 0) {
2022
2022
  for (ht = Ie, bn = Ye, mn = st; He = p.distcode[mn + ((P & (1 << ht + bn) - 1) >> ht)], Ie = He >>> 24, Ye = He >>> 16 & 255, st = He & 65535, !(ht + Ie <= z); ) {
2023
2023
  if (j === 0)
2024
2024
  break e;
2025
- j--, P += H[l++] << z, z += 8;
2025
+ j--, P += G[l++] << z, z += 8;
2026
2026
  }
2027
2027
  P >>>= ht, z -= ht, p.back += ht;
2028
2028
  }
@@ -2037,7 +2037,7 @@ function pu() {
2037
2037
  for (Ut = p.extra; z < Ut; ) {
2038
2038
  if (j === 0)
2039
2039
  break e;
2040
- j--, P += H[l++] << z, z += 8;
2040
+ j--, P += G[l++] << z, z += 8;
2041
2041
  }
2042
2042
  p.offset += P & (1 << p.extra) - 1, P >>>= p.extra, z -= p.extra, p.back += p.extra;
2043
2043
  }
@@ -2045,9 +2045,9 @@ function pu() {
2045
2045
  T.msg = "invalid distance too far back", p.mode = qe;
2046
2046
  break;
2047
2047
  }
2048
- p.mode = Ce;
2048
+ p.mode = ke;
2049
2049
  /* falls through */
2050
- case Ce:
2050
+ case ke:
2051
2051
  if (y === 0)
2052
2052
  break e;
2053
2053
  if (ne = te - y, p.offset > ne) {
@@ -2062,19 +2062,19 @@ function pu() {
2062
2062
  do
2063
2063
  he[M++] = qt[Be++];
2064
2064
  while (--ne);
2065
- p.length === 0 && (p.mode = We);
2065
+ p.length === 0 && (p.mode = Me);
2066
2066
  break;
2067
2067
  case oe:
2068
2068
  if (y === 0)
2069
2069
  break e;
2070
- he[M++] = p.length, y--, p.mode = We;
2070
+ he[M++] = p.length, y--, p.mode = Me;
2071
2071
  break;
2072
2072
  case et:
2073
2073
  if (p.wrap) {
2074
2074
  for (; z < 32; ) {
2075
2075
  if (j === 0)
2076
2076
  break e;
2077
- j--, P |= H[l++] << z, z += 8;
2077
+ j--, P |= G[l++] << z, z += 8;
2078
2078
  }
2079
2079
  if (te -= y, T.total_out += te, p.total += te, te && (T.adler = p.check = /*UPDATE(state.check, put - _out, _out);*/
2080
2080
  p.flags ? t(p.check, he, te, M - te) : e(p.check, he, te, M - te)), te = y, (p.flags ? P : wt(P)) !== p.check) {
@@ -2090,7 +2090,7 @@ function pu() {
2090
2090
  for (; z < 32; ) {
2091
2091
  if (j === 0)
2092
2092
  break e;
2093
- j--, P += H[l++] << z, z += 8;
2093
+ j--, P += G[l++] << z, z += 8;
2094
2094
  }
2095
2095
  if (P !== (p.total & 4294967295)) {
2096
2096
  T.msg = "incorrect length check", p.mode = qe;
@@ -2107,14 +2107,14 @@ function pu() {
2107
2107
  Ft = m;
2108
2108
  break e;
2109
2109
  case ct:
2110
- return C;
2110
+ return S;
2111
2111
  case lr:
2112
2112
  /* falls through */
2113
2113
  default:
2114
2114
  return g;
2115
2115
  }
2116
2116
  return T.next_out = M, T.avail_out = y, T.next_in = l, T.avail_in = j, p.hold = P, p.bits = z, (p.wsize || te !== T.avail_out && p.mode < qe && (p.mode < et || W !== f)) && Cr(T, T.output, T.next_out, te - T.avail_out), se -= T.avail_in, te -= T.avail_out, T.total_in += se, T.total_out += te, p.total += te, p.wrap && te && (T.adler = p.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
2117
- p.flags ? t(p.check, he, te, T.next_out - te) : e(p.check, he, te, T.next_out - te)), T.data_type = p.bits + (p.last ? 64 : 0) + (p.mode === X ? 128 : 0) + (p.mode === Re || p.mode === Q ? 256 : 0), (se === 0 && te === 0 || W === f) && Ft === h && (Ft = S), Ft;
2117
+ p.flags ? t(p.check, he, te, T.next_out - te) : e(p.check, he, te, T.next_out - te)), T.data_type = p.bits + (p.last ? 64 : 0) + (p.mode === X ? 128 : 0) + (p.mode === Ce || p.mode === _ ? 256 : 0), (se === 0 && te === 0 || W === f) && Ft === h && (Ft = F), Ft;
2118
2118
  }
2119
2119
  function K(T) {
2120
2120
  if (!T || !T.state)
@@ -2127,8 +2127,8 @@ function pu() {
2127
2127
  return !T || !T.state || (p = T.state, (p.wrap & 2) === 0) ? g : (p.head = W, W.done = !1, h);
2128
2128
  }
2129
2129
  function ie(T, W) {
2130
- var p = W.length, H, he, l;
2131
- return !T || !T.state || (H = T.state, H.wrap !== 0 && H.mode !== N) ? g : H.mode === N && (he = 1, he = e(he, W, p, 0), he !== H.check) ? m : (l = Cr(T, W, p, p), l ? (H.mode = ct, C) : (H.havedict = 1, h));
2130
+ var p = W.length, G, he, l;
2131
+ return !T || !T.state || (G = T.state, G.wrap !== 0 && G.mode !== N) ? g : G.mode === N && (he = 1, he = e(he, W, p, 0), he !== G.check) ? m : (l = Cr(T, W, p, p), l ? (G.mode = ct, S) : (G.havedict = 1, h));
2132
2132
  }
2133
2133
  return Ct.inflateReset = St, Ct.inflateReset2 = Sr, Ct.inflateResetKeep = Jt, Ct.inflateInit = Bt, Ct.inflateInit2 = Qt, Ct.inflate = b, Ct.inflateEnd = K, Ct.inflateGetHeader = Y, Ct.inflateSetDictionary = ie, Ct.inflateInfo = "pako inflate (from Nodeca project)", Ct;
2134
2134
  }
@@ -2208,16 +2208,16 @@ function yu() {
2208
2208
  throw new Error(i[v]);
2209
2209
  }
2210
2210
  f.prototype.push = function(h, d) {
2211
- var v = this.strm, g = this.options.chunkSize, m = this.options.dictionary, C, S, A, k, E, B = !1;
2211
+ var v = this.strm, g = this.options.chunkSize, m = this.options.dictionary, S, F, A, k, E, B = !1;
2212
2212
  if (this.ended)
2213
2213
  return !1;
2214
- S = d === ~~d ? d : d === !0 ? n.Z_FINISH : n.Z_NO_FLUSH, typeof h == "string" ? v.input = t.binstring2buf(h) : s.call(h) === "[object ArrayBuffer]" ? v.input = new Uint8Array(h) : v.input = h, v.next_in = 0, v.avail_in = v.input.length;
2214
+ F = d === ~~d ? d : d === !0 ? n.Z_FINISH : n.Z_NO_FLUSH, typeof h == "string" ? v.input = t.binstring2buf(h) : s.call(h) === "[object ArrayBuffer]" ? v.input = new Uint8Array(h) : v.input = h, v.next_in = 0, v.avail_in = v.input.length;
2215
2215
  do {
2216
- if (v.avail_out === 0 && (v.output = new e.Buf8(g), v.next_out = 0, v.avail_out = g), C = r.inflate(v, n.Z_NO_FLUSH), C === n.Z_NEED_DICT && m && (C = r.inflateSetDictionary(this.strm, m)), C === n.Z_BUF_ERROR && B === !0 && (C = n.Z_OK, B = !1), C !== n.Z_STREAM_END && C !== n.Z_OK)
2217
- return this.onEnd(C), this.ended = !0, !1;
2218
- v.next_out && (v.avail_out === 0 || C === n.Z_STREAM_END || v.avail_in === 0 && (S === n.Z_FINISH || S === n.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (A = t.utf8border(v.output, v.next_out), k = v.next_out - A, E = t.buf2string(v.output, A), v.next_out = k, v.avail_out = g - k, k && e.arraySet(v.output, v.output, A, k, 0), this.onData(E)) : this.onData(e.shrinkBuf(v.output, v.next_out))), v.avail_in === 0 && v.avail_out === 0 && (B = !0);
2219
- } while ((v.avail_in > 0 || v.avail_out === 0) && C !== n.Z_STREAM_END);
2220
- return C === n.Z_STREAM_END && (S = n.Z_FINISH), S === n.Z_FINISH ? (C = r.inflateEnd(this.strm), this.onEnd(C), this.ended = !0, C === n.Z_OK) : (S === n.Z_SYNC_FLUSH && (this.onEnd(n.Z_OK), v.avail_out = 0), !0);
2216
+ if (v.avail_out === 0 && (v.output = new e.Buf8(g), v.next_out = 0, v.avail_out = g), S = r.inflate(v, n.Z_NO_FLUSH), S === n.Z_NEED_DICT && m && (S = r.inflateSetDictionary(this.strm, m)), S === n.Z_BUF_ERROR && B === !0 && (S = n.Z_OK, B = !1), S !== n.Z_STREAM_END && S !== n.Z_OK)
2217
+ return this.onEnd(S), this.ended = !0, !1;
2218
+ v.next_out && (v.avail_out === 0 || S === n.Z_STREAM_END || v.avail_in === 0 && (F === n.Z_FINISH || F === n.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (A = t.utf8border(v.output, v.next_out), k = v.next_out - A, E = t.buf2string(v.output, A), v.next_out = k, v.avail_out = g - k, k && e.arraySet(v.output, v.output, A, k, 0), this.onData(E)) : this.onData(e.shrinkBuf(v.output, v.next_out))), v.avail_in === 0 && v.avail_out === 0 && (B = !0);
2219
+ } while ((v.avail_in > 0 || v.avail_out === 0) && S !== n.Z_STREAM_END);
2220
+ return S === n.Z_STREAM_END && (F = n.Z_FINISH), F === n.Z_FINISH ? (S = r.inflateEnd(this.strm), this.onEnd(S), this.ended = !0, S === n.Z_OK) : (F === n.Z_SYNC_FLUSH && (this.onEnd(n.Z_OK), v.avail_out = 0), !0);
2221
2221
  }, f.prototype.onData = function(h) {
2222
2222
  this.chunks.push(h);
2223
2223
  }, f.prototype.onEnd = function(h) {
@@ -3135,7 +3135,7 @@ endstream`, t;
3135
3135
  return new e(t, n);
3136
3136
  }, e;
3137
3137
  })(yt)
3138
- ), Va = {}, Wa = /* @__PURE__ */ new Map(), Ue = (
3138
+ ), Va = {}, Wa = /* @__PURE__ */ new Map(), Ve = (
3139
3139
  /** @class */
3140
3140
  (function(r) {
3141
3141
  J(e, r);
@@ -3159,7 +3159,7 @@ endstream`, t;
3159
3159
  return a || (a = new e(Va, t, n), Wa.set(i, a)), a;
3160
3160
  }, e;
3161
3161
  })(ft)
3162
- ), Ae = (
3162
+ ), Re = (
3163
3163
  /** @class */
3164
3164
  (function() {
3165
3165
  function r(e, t) {
@@ -3275,7 +3275,7 @@ var Zi = (
3275
3275
  return r.prototype.assign = function(e, t) {
3276
3276
  this.indirectObjects.set(e, t), e.objectNumber > this.largestObjectNumber && (this.largestObjectNumber = e.objectNumber);
3277
3277
  }, r.prototype.nextRef = function() {
3278
- return this.largestObjectNumber += 1, Ue.of(this.largestObjectNumber);
3278
+ return this.largestObjectNumber += 1, Ve.of(this.largestObjectNumber);
3279
3279
  }, r.prototype.register = function(e) {
3280
3280
  var t = this.nextRef();
3281
3281
  return this.assign(t, e), t;
@@ -3284,7 +3284,7 @@ var Zi = (
3284
3284
  }, r.prototype.lookupMaybe = function(e) {
3285
3285
  for (var t = [], n = 1; n < arguments.length; n++)
3286
3286
  t[n - 1] = arguments[n];
3287
- var i = t.includes(dt), a = e instanceof Ue ? this.indirectObjects.get(e) : e;
3287
+ var i = t.includes(dt), a = e instanceof Ve ? this.indirectObjects.get(e) : e;
3288
3288
  if (!(!a || a === dt && !i)) {
3289
3289
  for (var o = 0, s = t.length; o < s; o++) {
3290
3290
  var f = t[o];
@@ -3299,7 +3299,7 @@ var Zi = (
3299
3299
  }, r.prototype.lookup = function(e) {
3300
3300
  for (var t = [], n = 1; n < arguments.length; n++)
3301
3301
  t[n - 1] = arguments[n];
3302
- var i = e instanceof Ue ? this.indirectObjects.get(e) : e;
3302
+ var i = e instanceof Ve ? this.indirectObjects.get(e) : e;
3303
3303
  if (t.length === 0)
3304
3304
  return i;
3305
3305
  for (var a = 0, o = t.length; a < o; a++) {
@@ -3352,12 +3352,12 @@ var Zi = (
3352
3352
  }, r.prototype.getPushGraphicsStateContentStream = function() {
3353
3353
  if (this.pushGraphicsStateContentStreamRef)
3354
3354
  return this.pushGraphicsStateContentStreamRef;
3355
- var e = this.obj({}), t = Ae.of(Ee.PushGraphicsState), n = en.of(e, [t]);
3355
+ var e = this.obj({}), t = Re.of(Ee.PushGraphicsState), n = en.of(e, [t]);
3356
3356
  return this.pushGraphicsStateContentStreamRef = this.register(n), this.pushGraphicsStateContentStreamRef;
3357
3357
  }, r.prototype.getPopGraphicsStateContentStream = function() {
3358
3358
  if (this.popGraphicsStateContentStreamRef)
3359
3359
  return this.popGraphicsStateContentStreamRef;
3360
- var e = this.obj({}), t = Ae.of(Ee.PopGraphicsState), n = en.of(e, [t]);
3360
+ var e = this.obj({}), t = Re.of(Ee.PopGraphicsState), n = en.of(e, [t]);
3361
3361
  return this.popGraphicsStateContentStreamRef = this.register(n), this.popGraphicsStateContentStreamRef;
3362
3362
  }, r.prototype.addRandomSuffix = function(e, t) {
3363
3363
  return t === void 0 && (t = 4), e + "-" + Math.floor(this.rng.nextInt() * Math.pow(10, t));
@@ -3498,7 +3498,7 @@ var Zi = (
3498
3498
  function r(e, t) {
3499
3499
  var n = this;
3500
3500
  this.traversedObjects = /* @__PURE__ */ new Map(), this.copy = function(i) {
3501
- return i instanceof Xt ? n.copyPDFPage(i) : i instanceof me ? n.copyPDFDict(i) : i instanceof ze ? n.copyPDFArray(i) : i instanceof yt ? n.copyPDFStream(i) : i instanceof Ue ? n.copyPDFIndirectObject(i) : i.clone();
3501
+ return i instanceof Xt ? n.copyPDFPage(i) : i instanceof me ? n.copyPDFDict(i) : i instanceof ze ? n.copyPDFArray(i) : i instanceof yt ? n.copyPDFStream(i) : i instanceof Ve ? n.copyPDFIndirectObject(i) : i.clone();
3502
3502
  }, this.copyPDFPage = function(i) {
3503
3503
  for (var a = i.clone(), o = Xt.InheritableEntries, s = 0, f = o.length; s < f; s++) {
3504
3504
  var u = x.of(o[s]), c = a.getInheritableAttribute(u);
@@ -3610,7 +3610,7 @@ var Zi = (
3610
3610
  e.ref.objectNumber - n.ref.objectNumber > 1 ? (this.subsections.push([e]), this.chunkIdx += 1, this.chunkLength = 1) : (t.push(e), this.chunkLength += 1);
3611
3611
  }, r.create = function() {
3612
3612
  return new r({
3613
- ref: Ue.of(0, 65535),
3613
+ ref: Ve.of(0, 65535),
3614
3614
  offset: 0,
3615
3615
  deleted: !0
3616
3616
  });
@@ -3710,7 +3710,7 @@ var Zi = (
3710
3710
  }
3711
3711
  return r.prototype.serializeToBuffer = function() {
3712
3712
  return xe(this, void 0, void 0, function() {
3713
- var e, t, n, i, a, o, s, f, u, c, h, d, v, g, m, C, S;
3713
+ var e, t, n, i, a, o, s, f, u, c, h, d, v, g, m, S, F;
3714
3714
  return we(this, function(A) {
3715
3715
  switch (A.label) {
3716
3716
  case 0:
@@ -3718,7 +3718,7 @@ var Zi = (
3718
3718
  case 1:
3719
3719
  e = A.sent(), t = e.size, n = e.header, i = e.indirectObjects, a = e.xref, o = e.trailerDict, s = e.trailer, f = 0, u = new Uint8Array(t), f += n.copyBytesInto(u, f), u[f++] = w.Newline, u[f++] = w.Newline, c = 0, h = i.length, A.label = 2;
3720
3720
  case 2:
3721
- return c < h ? (d = i[c], v = d[0], g = d[1], m = String(v.objectNumber), f += nt(m, u, f), u[f++] = w.Space, C = String(v.generationNumber), f += nt(C, u, f), u[f++] = w.Space, u[f++] = w.o, u[f++] = w.b, u[f++] = w.j, u[f++] = w.Newline, f += g.copyBytesInto(u, f), u[f++] = w.Newline, u[f++] = w.e, u[f++] = w.n, u[f++] = w.d, u[f++] = w.o, u[f++] = w.b, u[f++] = w.j, u[f++] = w.Newline, u[f++] = w.Newline, S = g instanceof Io ? g.getObjectsCount() : 1, this.shouldWaitForTick(S) ? [4, zr()] : [3, 4]) : [3, 5];
3721
+ return c < h ? (d = i[c], v = d[0], g = d[1], m = String(v.objectNumber), f += nt(m, u, f), u[f++] = w.Space, S = String(v.generationNumber), f += nt(S, u, f), u[f++] = w.Space, u[f++] = w.o, u[f++] = w.b, u[f++] = w.j, u[f++] = w.Newline, f += g.copyBytesInto(u, f), u[f++] = w.Newline, u[f++] = w.e, u[f++] = w.n, u[f++] = w.d, u[f++] = w.o, u[f++] = w.b, u[f++] = w.j, u[f++] = w.Newline, u[f++] = w.Newline, F = g instanceof Io ? g.getObjectsCount() : 1, this.shouldWaitForTick(F) ? [4, zr()] : [3, 4]) : [3, 5];
3722
3722
  case 3:
3723
3723
  A.sent(), A.label = 4;
3724
3724
  case 4:
@@ -3819,8 +3819,8 @@ var mf = (
3819
3819
  return o;
3820
3820
  }, a.computeMaxEntryByteWidths = function() {
3821
3821
  for (var o = a.entryTuplesCache.access(), s = [0, 0, 0], f = 0, u = o.length; f < u; f++) {
3822
- var c = o[f], h = c[0], d = c[1], v = c[2], g = On(h), m = On(d), C = On(v);
3823
- g > s[0] && (s[0] = g), m > s[1] && (s[1] = m), C > s[2] && (s[2] = C);
3822
+ var c = o[f], h = c[0], d = c[1], v = c[2], g = On(h), m = On(d), S = On(v);
3823
+ g > s[0] && (s[0] = g), m > s[1] && (s[1] = m), S > s[2] && (s[2] = S);
3824
3824
  }
3825
3825
  return s;
3826
3826
  }, a.entries = n || [], a.entryTuplesCache = Ht.populatedBy(a.computeEntryTuples), a.maxByteWidthsCache = Ht.populatedBy(a.computeMaxEntryByteWidths), a.indexCache = Ht.populatedBy(a.computeIndex), t.set(x.of("Type"), x.of("XRef")), a;
@@ -3867,7 +3867,7 @@ var mf = (
3867
3867
  }, e.create = function(t, n) {
3868
3868
  n === void 0 && (n = !0);
3869
3869
  var i = new e(t, [], n);
3870
- return i.addDeletedEntry(Ue.of(0, 65535), 0), i;
3870
+ return i.addDeletedEntry(Ve.of(0, 65535), 0), i;
3871
3871
  }, e.of = function(t, n, i) {
3872
3872
  return i === void 0 && (i = !0), new e(t, n, i);
3873
3873
  }, e;
@@ -3882,31 +3882,31 @@ var mf = (
3882
3882
  }
3883
3883
  return e.prototype.computeBufferSize = function() {
3884
3884
  return xe(this, void 0, void 0, function() {
3885
- var t, n, i, a, o, s, f, u, g, m, c, S, h, d, C, v, g, m, C, S, A, k, E, B;
3885
+ var t, n, i, a, o, s, f, u, g, m, c, F, h, d, S, v, g, m, S, F, A, k, E, B;
3886
3886
  return we(this, function(R) {
3887
3887
  switch (R.label) {
3888
3888
  case 0:
3889
3889
  t = this.context.largestObjectNumber + 1, n = $n.forVersion(1, 7), i = n.sizeInBytes() + 2, a = mf.create(this.createTrailerDict(), this.encodeStreams), o = [], s = [], f = [], u = this.context.enumerateIndirectObjects(), g = 0, m = u.length, R.label = 1;
3890
3890
  case 1:
3891
- return g < m ? (c = u[g], S = c[0], h = c[1], d = S === this.context.trailerInfo.Encrypt || h instanceof yt || h instanceof No || S.generationNumber !== 0, d ? (o.push(c), a.addUncompressedEntry(S, i), i += this.computeIndirectObjectSize(c), this.shouldWaitForTick(1) ? [4, zr()] : [3, 3]) : [3, 4]) : [3, 6];
3891
+ return g < m ? (c = u[g], F = c[0], h = c[1], d = F === this.context.trailerInfo.Encrypt || h instanceof yt || h instanceof No || F.generationNumber !== 0, d ? (o.push(c), a.addUncompressedEntry(F, i), i += this.computeIndirectObjectSize(c), this.shouldWaitForTick(1) ? [4, zr()] : [3, 3]) : [3, 4]) : [3, 6];
3892
3892
  case 2:
3893
3893
  R.sent(), R.label = 3;
3894
3894
  case 3:
3895
3895
  return [3, 5];
3896
3896
  case 4:
3897
- C = Mn(s), v = Mn(f), (!C || C.length % this.objectsPerStream === 0) && (C = [], s.push(C), v = Ue.of(t++), f.push(v)), a.addCompressedEntry(S, v, C.length), C.push(c), R.label = 5;
3897
+ S = Mn(s), v = Mn(f), (!S || S.length % this.objectsPerStream === 0) && (S = [], s.push(S), v = Ve.of(t++), f.push(v)), a.addCompressedEntry(F, v, S.length), S.push(c), R.label = 5;
3898
3898
  case 5:
3899
3899
  return g++, [3, 1];
3900
3900
  case 6:
3901
3901
  g = 0, m = s.length, R.label = 7;
3902
3902
  case 7:
3903
- return g < m ? (C = s[g], S = f[g], A = Io.withContextAndObjects(this.context, C, this.encodeStreams), a.addUncompressedEntry(S, i), i += this.computeIndirectObjectSize([S, A]), o.push([S, A]), this.shouldWaitForTick(C.length) ? [4, zr()] : [3, 9]) : [3, 10];
3903
+ return g < m ? (S = s[g], F = f[g], A = Io.withContextAndObjects(this.context, S, this.encodeStreams), a.addUncompressedEntry(F, i), i += this.computeIndirectObjectSize([F, A]), o.push([F, A]), this.shouldWaitForTick(S.length) ? [4, zr()] : [3, 9]) : [3, 10];
3904
3904
  case 8:
3905
3905
  R.sent(), R.label = 9;
3906
3906
  case 9:
3907
3907
  return g++, [3, 7];
3908
3908
  case 10:
3909
- return k = Ue.of(t++), a.dict.set(x.of("Size"), ve.of(t)), a.addUncompressedEntry(k, i), E = i, i += this.computeIndirectObjectSize([k, a]), o.push([k, a]), B = Yi.forLastCrossRefSectionOffset(E), i += B.sizeInBytes(), [2, { size: i, header: n, indirectObjects: o, trailer: B }];
3909
+ return k = Ve.of(t++), a.dict.set(x.of("Size"), ve.of(t)), a.addUncompressedEntry(k, i), E = i, i += this.computeIndirectObjectSize([k, a]), o.push([k, a]), B = Yi.forLastCrossRefSectionOffset(E), i += B.sizeInBytes(), [2, { size: i, header: n, indirectObjects: o, trailer: B }];
3910
3910
  }
3911
3911
  });
3912
3912
  });
@@ -4057,7 +4057,7 @@ end`;
4057
4057
  italic: r.head.macStyle.italic
4058
4058
  });
4059
4059
  return t;
4060
- }, je = (
4060
+ }, Ue = (
4061
4061
  /** @class */
4062
4062
  (function(r) {
4063
4063
  J(e, r);
@@ -4178,8 +4178,8 @@ end`;
4178
4178
  CIDToGIDMap: "Identity",
4179
4179
  BaseFont: this.baseFontName,
4180
4180
  CIDSystemInfo: {
4181
- Registry: je.of("Adobe"),
4182
- Ordering: je.of("Identity"),
4181
+ Registry: Ue.of("Adobe"),
4182
+ Ordering: Ue.of("Identity"),
4183
4183
  Supplement: 0
4184
4184
  },
4185
4185
  FontDescriptor: t,
@@ -4190,13 +4190,13 @@ end`;
4190
4190
  });
4191
4191
  }, r.prototype.embedFontDescriptor = function(e) {
4192
4192
  return xe(this, void 0, void 0, function() {
4193
- var t, n, i, a, o, s, f, u, c, h, d, v, g, m, C;
4194
- return we(this, function(S) {
4195
- switch (S.label) {
4193
+ var t, n, i, a, o, s, f, u, c, h, d, v, g, m, S;
4194
+ return we(this, function(F) {
4195
+ switch (F.label) {
4196
4196
  case 0:
4197
4197
  return [4, this.embedFontStream(e)];
4198
4198
  case 1:
4199
- return t = S.sent(), n = this.scale, i = this.font, a = i.italicAngle, o = i.ascent, s = i.descent, f = i.capHeight, u = i.xHeight, c = this.font.bbox, h = c.minX, d = c.minY, v = c.maxX, g = c.maxY, m = e.obj((C = {
4199
+ return t = F.sent(), n = this.scale, i = this.font, a = i.italicAngle, o = i.ascent, s = i.descent, f = i.capHeight, u = i.xHeight, c = this.font.bbox, h = c.minX, d = c.minY, v = c.maxX, g = c.maxY, m = e.obj((S = {
4200
4200
  Type: "FontDescriptor",
4201
4201
  FontName: this.baseFontName,
4202
4202
  Flags: kf(this.font),
@@ -4209,7 +4209,7 @@ end`;
4209
4209
  // Not sure how to compute/find this, nor is anybody else really:
4210
4210
  // https://stackoverflow.com/questions/35485179/stemv-value-of-the-truetype-font
4211
4211
  StemV: 0
4212
- }, C[this.isCFF() ? "FontFile3" : "FontFile2"] = t, C)), [2, e.register(m)];
4212
+ }, S[this.isCFF() ? "FontFile3" : "FontFile2"] = t, S)), [2, e.register(m)];
4213
4213
  }
4214
4214
  });
4215
4215
  });
@@ -4313,12 +4313,12 @@ var Tf = (
4313
4313
  Subtype: i ?? void 0,
4314
4314
  Params: {
4315
4315
  Size: this.fileData.length,
4316
- CreationDate: o ? je.fromDate(o) : void 0,
4317
- ModDate: s ? je.fromDate(s) : void 0
4316
+ CreationDate: o ? Ue.fromDate(o) : void 0,
4317
+ ModDate: s ? Ue.fromDate(s) : void 0
4318
4318
  }
4319
4319
  }), c = e.register(u), h = e.obj({
4320
4320
  Type: "Filespec",
4321
- F: je.of(this.fileName),
4321
+ F: Ue.of(this.fileName),
4322
4322
  UF: ce.fromText(this.fileName),
4323
4323
  EF: { F: c },
4324
4324
  Desc: a ? ce.fromText(a) : void 0,
@@ -4435,14 +4435,14 @@ L.toRGBA8.decodeImage = function(r, e, t, n) {
4435
4435
  f[v] = 255 << 24 | r[m + 4] << 16 | r[m + 2] << 8 | r[m];
4436
4436
  }
4437
4437
  } else {
4438
- var C = g[0], S = g[1], A = g[2];
4438
+ var S = g[0], F = g[1], A = g[2];
4439
4439
  if (c == 8) for (var v = 0; v < i; v++) {
4440
4440
  var k = v << 2, m = v * 3;
4441
- f[v] = 255 << 24 | r[m + 2] << 16 | r[m + 1] << 8 | r[m], r[m] == C && r[m + 1] == S && r[m + 2] == A && (s[k + 3] = 0);
4441
+ f[v] = 255 << 24 | r[m + 2] << 16 | r[m + 1] << 8 | r[m], r[m] == S && r[m + 1] == F && r[m + 2] == A && (s[k + 3] = 0);
4442
4442
  }
4443
4443
  if (c == 16) for (var v = 0; v < i; v++) {
4444
4444
  var k = v << 2, m = v * 6;
4445
- f[v] = 255 << 24 | r[m + 4] << 16 | r[m + 2] << 8 | r[m], h(r, m) == C && h(r, m + 2) == S && h(r, m + 4) == A && (s[k + 3] = 0);
4445
+ f[v] = 255 << 24 | r[m + 4] << 16 | r[m + 2] << 8 | r[m], h(r, m) == S && h(r, m + 2) == F && h(r, m + 4) == A && (s[k + 3] = 0);
4446
4446
  }
4447
4447
  }
4448
4448
  } else if (u == 3) {
@@ -4468,35 +4468,35 @@ L.toRGBA8.decodeImage = function(r, e, t, n) {
4468
4468
  }
4469
4469
  } else if (u == 4) {
4470
4470
  if (c == 8) for (var v = 0; v < i; v++) {
4471
- var k = v << 2, G = v << 1, N = r[G];
4472
- s[k] = N, s[k + 1] = N, s[k + 2] = N, s[k + 3] = r[G + 1];
4471
+ var k = v << 2, H = v << 1, N = r[H];
4472
+ s[k] = N, s[k + 1] = N, s[k + 2] = N, s[k + 3] = r[H + 1];
4473
4473
  }
4474
4474
  if (c == 16) for (var v = 0; v < i; v++) {
4475
- var k = v << 2, G = v << 2, N = r[G];
4476
- s[k] = N, s[k + 1] = N, s[k + 2] = N, s[k + 3] = r[G + 2];
4475
+ var k = v << 2, H = v << 2, N = r[H];
4476
+ s[k] = N, s[k + 1] = N, s[k + 2] = N, s[k + 3] = r[H + 2];
4477
4477
  }
4478
4478
  } else if (u == 0)
4479
- for (var C = n.tabs.tRNS ? n.tabs.tRNS : -1, D = 0; D < t; D++) {
4479
+ for (var S = n.tabs.tRNS ? n.tabs.tRNS : -1, D = 0; D < t; D++) {
4480
4480
  var X = D * o, $ = D * e;
4481
- if (c == 1) for (var _ = 0; _ < e; _++) {
4482
- var N = 255 * (r[X + (_ >>> 3)] >>> 7 - (_ & 7) & 1), Q = N == C * 255 ? 0 : 255;
4483
- f[$ + _] = Q << 24 | N << 16 | N << 8 | N;
4481
+ if (c == 1) for (var Q = 0; Q < e; Q++) {
4482
+ var N = 255 * (r[X + (Q >>> 3)] >>> 7 - (Q & 7) & 1), _ = N == S * 255 ? 0 : 255;
4483
+ f[$ + Q] = _ << 24 | N << 16 | N << 8 | N;
4484
4484
  }
4485
- else if (c == 2) for (var _ = 0; _ < e; _++) {
4486
- var N = 85 * (r[X + (_ >>> 2)] >>> 6 - ((_ & 3) << 1) & 3), Q = N == C * 85 ? 0 : 255;
4487
- f[$ + _] = Q << 24 | N << 16 | N << 8 | N;
4485
+ else if (c == 2) for (var Q = 0; Q < e; Q++) {
4486
+ var N = 85 * (r[X + (Q >>> 2)] >>> 6 - ((Q & 3) << 1) & 3), _ = N == S * 85 ? 0 : 255;
4487
+ f[$ + Q] = _ << 24 | N << 16 | N << 8 | N;
4488
4488
  }
4489
- else if (c == 4) for (var _ = 0; _ < e; _++) {
4490
- var N = 17 * (r[X + (_ >>> 1)] >>> 4 - ((_ & 1) << 2) & 15), Q = N == C * 17 ? 0 : 255;
4491
- f[$ + _] = Q << 24 | N << 16 | N << 8 | N;
4489
+ else if (c == 4) for (var Q = 0; Q < e; Q++) {
4490
+ var N = 17 * (r[X + (Q >>> 1)] >>> 4 - ((Q & 1) << 2) & 15), _ = N == S * 17 ? 0 : 255;
4491
+ f[$ + Q] = _ << 24 | N << 16 | N << 8 | N;
4492
4492
  }
4493
- else if (c == 8) for (var _ = 0; _ < e; _++) {
4494
- var N = r[X + _], Q = N == C ? 0 : 255;
4495
- f[$ + _] = Q << 24 | N << 16 | N << 8 | N;
4493
+ else if (c == 8) for (var Q = 0; Q < e; Q++) {
4494
+ var N = r[X + Q], _ = N == S ? 0 : 255;
4495
+ f[$ + Q] = _ << 24 | N << 16 | N << 8 | N;
4496
4496
  }
4497
- else if (c == 16) for (var _ = 0; _ < e; _++) {
4498
- var N = r[X + (_ << 1)], Q = h(r, X + (_ << v)) == C ? 0 : 255;
4499
- f[$ + _] = Q << 24 | N << 16 | N << 8 | N;
4497
+ else if (c == 16) for (var Q = 0; Q < e; Q++) {
4498
+ var N = r[X + (Q << 1)], _ = h(r, X + (Q << v)) == S ? 0 : 255;
4499
+ f[$ + Q] = _ << 24 | N << 16 | N << 8 | N;
4500
4500
  }
4501
4501
  }
4502
4502
  return s;
@@ -4519,9 +4519,9 @@ L.decode = function(r) {
4519
4519
  var m = o.frames[o.frames.length - 1];
4520
4520
  m.data = L.decode._decompress(o, u.slice(0, c), m.rect.width, m.rect.height), c = 0;
4521
4521
  }
4522
- var C = { x: a(e, t + 12), y: a(e, t + 16), width: a(e, t + 4), height: a(e, t + 8) }, S = i(e, t + 22);
4523
- S = i(e, t + 20) / (S == 0 ? 100 : S);
4524
- var A = { rect: C, delay: Math.round(S * 1e3), dispose: e[t + 24], blend: e[t + 25] };
4522
+ var S = { x: a(e, t + 12), y: a(e, t + 16), width: a(e, t + 4), height: a(e, t + 8) }, F = i(e, t + 22);
4523
+ F = i(e, t + 20) / (F == 0 ? 100 : F);
4524
+ var A = { rect: S, delay: Math.round(F * 1e3), dispose: e[t + 24], blend: e[t + 25] };
4525
4525
  o.frames.push(A);
4526
4526
  } else if (g == "fdAT") {
4527
4527
  for (var d = 0; d < v - 4; d++) u[c + d] = e[t + d + 4];
@@ -4578,21 +4578,21 @@ L.inflateRaw = (function() {
4578
4578
  return r.H = {}, r.H.N = function(e, t) {
4579
4579
  var n = Uint8Array, i = 0, a = 0, o = 0, s = 0, f = 0, u = 0, c = 0, h = 0, d = 0, v, g;
4580
4580
  if (e[0] == 3 && e[1] == 0) return t || new n(0);
4581
- var m = r.H, C = m.b, S = m.e, A = m.R, k = m.n, E = m.A, B = m.Z, R = m.m, D = t == null;
4581
+ var m = r.H, S = m.b, F = m.e, A = m.R, k = m.n, E = m.A, B = m.Z, R = m.m, D = t == null;
4582
4582
  for (D && (t = new n(e.length >>> 2 << 3)); i == 0; ) {
4583
- if (i = C(e, d, 1), a = C(e, d + 1, 2), d += 3, a == 0) {
4583
+ if (i = S(e, d, 1), a = S(e, d + 1, 2), d += 3, a == 0) {
4584
4584
  (d & 7) != 0 && (d += 8 - (d & 7));
4585
4585
  var V = (d >>> 3) + 4, I = e[V - 4] | e[V - 3] << 8;
4586
4586
  D && (t = r.H.W(t, h + I)), t.set(new n(e.buffer, e.byteOffset + V, I), h), d = V + I << 3, h += I;
4587
4587
  continue;
4588
4588
  }
4589
4589
  if (D && (t = r.H.W(t, h + (1 << 17))), a == 1 && (v = R.J, g = R.h, u = 511, c = 31), a == 2) {
4590
- o = S(e, d, 5) + 257, s = S(e, d + 5, 5) + 1, f = S(e, d + 10, 4) + 4, d += 14;
4590
+ o = F(e, d, 5) + 257, s = F(e, d + 5, 5) + 1, f = F(e, d + 10, 4) + 4, d += 14;
4591
4591
  for (var U = 1, q = 0; q < 38; q += 2)
4592
4592
  R.Q[q] = 0, R.Q[q + 1] = 0;
4593
4593
  for (var q = 0; q < f; q++) {
4594
- var G = S(e, d + q * 3, 3);
4595
- R.Q[(R.X[q] << 1) + 1] = G, G > U && (U = G);
4594
+ var H = F(e, d + q * 3, 3);
4595
+ R.Q[(R.X[q] << 1) + 1] = H, H > U && (U = H);
4596
4596
  }
4597
4597
  d += 3 * f, k(R.Q, U), E(R.Q, U, R.u), v = R.w, g = R.d, d = A(R.u, (1 << U) - 1, o + s, e, d, R.v);
4598
4598
  var N = m.V(R.v, 0, o, R.C);
@@ -4603,23 +4603,23 @@ L.inflateRaw = (function() {
4603
4603
  for (; ; ) {
4604
4604
  var $ = v[B(e, d) & u];
4605
4605
  d += $ & 15;
4606
- var _ = $ >>> 4;
4607
- if (!(_ >>> 8))
4608
- t[h++] = _;
4606
+ var Q = $ >>> 4;
4607
+ if (!(Q >>> 8))
4608
+ t[h++] = Q;
4609
4609
  else {
4610
- if (_ == 256)
4610
+ if (Q == 256)
4611
4611
  break;
4612
- var Q = h + _ - 254;
4613
- if (_ > 264) {
4614
- var Fe = R.q[_ - 257];
4615
- Q = h + (Fe >>> 3) + S(e, d, Fe & 7), d += Fe & 7;
4612
+ var _ = h + Q - 254;
4613
+ if (Q > 264) {
4614
+ var Fe = R.q[Q - 257];
4615
+ _ = h + (Fe >>> 3) + F(e, d, Fe & 7), d += Fe & 7;
4616
4616
  }
4617
4617
  var le = g[B(e, d) & c];
4618
4618
  d += le & 15;
4619
- var Ne = le >>> 4, De = R.c[Ne], Re = (De >>> 4) + C(e, d, De & 15);
4620
- for (d += De & 15; h < Q; )
4621
- t[h] = t[h++ - Re], t[h] = t[h++ - Re], t[h] = t[h++ - Re], t[h] = t[h++ - Re];
4622
- h = Q;
4619
+ var Ne = le >>> 4, Pe = R.c[Ne], Ce = (Pe >>> 4) + S(e, d, Pe & 15);
4620
+ for (d += Pe & 15; h < _; )
4621
+ t[h] = t[h++ - Ce], t[h] = t[h++ - Ce], t[h] = t[h++ - Ce], t[h] = t[h++ - Ce];
4622
+ h = _;
4623
4623
  }
4624
4624
  }
4625
4625
  }
@@ -4705,12 +4705,12 @@ L.inflateRaw = (function() {
4705
4705
  })();
4706
4706
  L.decode._readInterlace = function(r, e) {
4707
4707
  for (var t = e.width, n = e.height, i = L.decode._getBPP(e), a = i >> 3, o = Math.ceil(t * i / 8), s = new Uint8Array(n * o), f = 0, u = [0, 0, 4, 0, 2, 0, 1], c = [0, 4, 0, 2, 0, 1, 0], h = [8, 8, 8, 4, 4, 2, 2], d = [8, 8, 4, 4, 2, 2, 1], v = 0; v < 7; ) {
4708
- for (var g = h[v], m = d[v], C = 0, S = 0, A = u[v]; A < n; )
4709
- A += g, S++;
4708
+ for (var g = h[v], m = d[v], S = 0, F = 0, A = u[v]; A < n; )
4709
+ A += g, F++;
4710
4710
  for (var k = c[v]; k < t; )
4711
- k += m, C++;
4712
- var E = Math.ceil(C * i / 8);
4713
- L.decode._filterZero(r, e, f, C, S);
4711
+ k += m, S++;
4712
+ var E = Math.ceil(S * i / 8);
4713
+ L.decode._filterZero(r, e, f, S, F);
4714
4714
  for (var B = 0, R = u[v]; R < n; ) {
4715
4715
  for (var D = c[v], V = f + B * E << 3; D < t; ) {
4716
4716
  if (i == 1) {
@@ -4731,7 +4731,7 @@ L.decode._readInterlace = function(r, e) {
4731
4731
  }
4732
4732
  B++, R += g;
4733
4733
  }
4734
- C * S != 0 && (f += S * (1 + E)), v = v + 1;
4734
+ S * F != 0 && (f += F * (1 + E)), v = v + 1;
4735
4735
  }
4736
4736
  return s;
4737
4737
  };
@@ -4815,14 +4815,14 @@ L._copyTile = function(r, e, t, n, i, a, o, s, f) {
4815
4815
  if (o >= 0 && s >= 0 ? (h = v * e + g << 2, d = (s + v) * i + o + g << 2) : (h = (-s + v) * e - o + g << 2, d = v * i + g << 2), f == 0)
4816
4816
  n[d] = r[h], n[d + 1] = r[h + 1], n[d + 2] = r[h + 2], n[d + 3] = r[h + 3];
4817
4817
  else if (f == 1) {
4818
- var m = r[h + 3] * 0.00392156862745098, C = r[h] * m, S = r[h + 1] * m, A = r[h + 2] * m, k = n[d + 3] * (1 / 255), E = n[d] * k, B = n[d + 1] * k, R = n[d + 2] * k, D = 1 - m, V = m + k * D, I = V == 0 ? 0 : 1 / V;
4819
- n[d + 3] = 255 * V, n[d + 0] = (C + E * D) * I, n[d + 1] = (S + B * D) * I, n[d + 2] = (A + R * D) * I;
4818
+ var m = r[h + 3] * 0.00392156862745098, S = r[h] * m, F = r[h + 1] * m, A = r[h + 2] * m, k = n[d + 3] * (1 / 255), E = n[d] * k, B = n[d + 1] * k, R = n[d + 2] * k, D = 1 - m, V = m + k * D, I = V == 0 ? 0 : 1 / V;
4819
+ n[d + 3] = 255 * V, n[d + 0] = (S + E * D) * I, n[d + 1] = (F + B * D) * I, n[d + 2] = (A + R * D) * I;
4820
4820
  } else if (f == 2) {
4821
- var m = r[h + 3], C = r[h], S = r[h + 1], A = r[h + 2], k = n[d + 3], E = n[d], B = n[d + 1], R = n[d + 2];
4822
- m == k && C == E && S == B && A == R ? (n[d] = 0, n[d + 1] = 0, n[d + 2] = 0, n[d + 3] = 0) : (n[d] = C, n[d + 1] = S, n[d + 2] = A, n[d + 3] = m);
4821
+ var m = r[h + 3], S = r[h], F = r[h + 1], A = r[h + 2], k = n[d + 3], E = n[d], B = n[d + 1], R = n[d + 2];
4822
+ m == k && S == E && F == B && A == R ? (n[d] = 0, n[d + 1] = 0, n[d + 2] = 0, n[d + 3] = 0) : (n[d] = S, n[d + 1] = F, n[d + 2] = A, n[d + 3] = m);
4823
4823
  } else if (f == 3) {
4824
- var m = r[h + 3], C = r[h], S = r[h + 1], A = r[h + 2], k = n[d + 3], E = n[d], B = n[d + 1], R = n[d + 2];
4825
- if (m == k && C == E && S == B && A == R) continue;
4824
+ var m = r[h + 3], S = r[h], F = r[h + 1], A = r[h + 2], k = n[d + 3], E = n[d], B = n[d + 1], R = n[d + 2];
4825
+ if (m == k && S == E && F == B && A == R) continue;
4826
4826
  if (m < 220 && k > 20) return !1;
4827
4827
  }
4828
4828
  return !0;
@@ -4847,33 +4847,33 @@ L.encode._main = function(r, e, t, n, i) {
4847
4847
  d += 8 + v * 3 + 4 + (h ? 8 + v * 1 + 4 : 0);
4848
4848
  }
4849
4849
  for (var m = 0; m < r.frames.length; m++) {
4850
- var C = r.frames[m];
4851
- c && (d += 38), d += C.cimg.length + 12, m != 0 && (d += 4);
4850
+ var S = r.frames[m];
4851
+ c && (d += 38), d += S.cimg.length + 12, m != 0 && (d += 4);
4852
4852
  }
4853
4853
  d += 12;
4854
- for (var S = new Uint8Array(d), A = [137, 80, 78, 71, 13, 10, 26, 10], g = 0; g < 8; g++) S[g] = A[g];
4855
- if (o(S, u, 13), u += 4, f(S, u, "IHDR"), u += 4, o(S, u, e), u += 4, o(S, u, t), u += 4, S[u] = r.depth, u++, S[u] = r.ctype, u++, S[u] = 0, u++, S[u] = 0, u++, S[u] = 0, u++, o(S, u, a(S, u - 17, 17)), u += 4, i.sRGB != null && (o(S, u, 1), u += 4, f(S, u, "sRGB"), u += 4, S[u] = i.sRGB, u++, o(S, u, a(S, u - 5, 5)), u += 4), i.pHYs != null && (o(S, u, 9), u += 4, f(S, u, "pHYs"), u += 4, o(S, u, i.pHYs[0]), u += 4, o(S, u, i.pHYs[1]), u += 4, S[u] = i.pHYs[2], u++, o(S, u, a(S, u - 13, 13)), u += 4), c && (o(S, u, 8), u += 4, f(S, u, "acTL"), u += 4, o(S, u, r.frames.length), u += 4, o(S, u, i.loop != null ? i.loop : 0), u += 4, o(S, u, a(S, u - 12, 12)), u += 4), r.ctype == 3) {
4854
+ for (var F = new Uint8Array(d), A = [137, 80, 78, 71, 13, 10, 26, 10], g = 0; g < 8; g++) F[g] = A[g];
4855
+ if (o(F, u, 13), u += 4, f(F, u, "IHDR"), u += 4, o(F, u, e), u += 4, o(F, u, t), u += 4, F[u] = r.depth, u++, F[u] = r.ctype, u++, F[u] = 0, u++, F[u] = 0, u++, F[u] = 0, u++, o(F, u, a(F, u - 17, 17)), u += 4, i.sRGB != null && (o(F, u, 1), u += 4, f(F, u, "sRGB"), u += 4, F[u] = i.sRGB, u++, o(F, u, a(F, u - 5, 5)), u += 4), i.pHYs != null && (o(F, u, 9), u += 4, f(F, u, "pHYs"), u += 4, o(F, u, i.pHYs[0]), u += 4, o(F, u, i.pHYs[1]), u += 4, F[u] = i.pHYs[2], u++, o(F, u, a(F, u - 13, 13)), u += 4), c && (o(F, u, 8), u += 4, f(F, u, "acTL"), u += 4, o(F, u, r.frames.length), u += 4, o(F, u, i.loop != null ? i.loop : 0), u += 4, o(F, u, a(F, u - 12, 12)), u += 4), r.ctype == 3) {
4856
4856
  var v = r.plte.length;
4857
- o(S, u, v * 3), u += 4, f(S, u, "PLTE"), u += 4;
4857
+ o(F, u, v * 3), u += 4, f(F, u, "PLTE"), u += 4;
4858
4858
  for (var g = 0; g < v; g++) {
4859
4859
  var k = g * 3, E = r.plte[g], B = E & 255, R = E >>> 8 & 255, D = E >>> 16 & 255;
4860
- S[u + k + 0] = B, S[u + k + 1] = R, S[u + k + 2] = D;
4860
+ F[u + k + 0] = B, F[u + k + 1] = R, F[u + k + 2] = D;
4861
4861
  }
4862
- if (u += v * 3, o(S, u, a(S, u - v * 3 - 4, v * 3 + 4)), u += 4, h) {
4863
- o(S, u, v), u += 4, f(S, u, "tRNS"), u += 4;
4864
- for (var g = 0; g < v; g++) S[u + g] = r.plte[g] >>> 24 & 255;
4865
- u += v, o(S, u, a(S, u - v - 4, v + 4)), u += 4;
4862
+ if (u += v * 3, o(F, u, a(F, u - v * 3 - 4, v * 3 + 4)), u += 4, h) {
4863
+ o(F, u, v), u += 4, f(F, u, "tRNS"), u += 4;
4864
+ for (var g = 0; g < v; g++) F[u + g] = r.plte[g] >>> 24 & 255;
4865
+ u += v, o(F, u, a(F, u - v - 4, v + 4)), u += 4;
4866
4866
  }
4867
4867
  }
4868
4868
  for (var V = 0, m = 0; m < r.frames.length; m++) {
4869
- var C = r.frames[m];
4870
- c && (o(S, u, 26), u += 4, f(S, u, "fcTL"), u += 4, o(S, u, V++), u += 4, o(S, u, C.rect.width), u += 4, o(S, u, C.rect.height), u += 4, o(S, u, C.rect.x), u += 4, o(S, u, C.rect.y), u += 4, s(S, u, n[m]), u += 2, s(S, u, 1e3), u += 2, S[u] = C.dispose, u++, S[u] = C.blend, u++, o(S, u, a(S, u - 30, 30)), u += 4);
4871
- var I = C.cimg, v = I.length;
4872
- o(S, u, v + (m == 0 ? 0 : 4)), u += 4;
4869
+ var S = r.frames[m];
4870
+ c && (o(F, u, 26), u += 4, f(F, u, "fcTL"), u += 4, o(F, u, V++), u += 4, o(F, u, S.rect.width), u += 4, o(F, u, S.rect.height), u += 4, o(F, u, S.rect.x), u += 4, o(F, u, S.rect.y), u += 4, s(F, u, n[m]), u += 2, s(F, u, 1e3), u += 2, F[u] = S.dispose, u++, F[u] = S.blend, u++, o(F, u, a(F, u - 30, 30)), u += 4);
4871
+ var I = S.cimg, v = I.length;
4872
+ o(F, u, v + (m == 0 ? 0 : 4)), u += 4;
4873
4873
  var U = u;
4874
- f(S, u, m == 0 ? "IDAT" : "fdAT"), u += 4, m != 0 && (o(S, u, V++), u += 4), S.set(I, u), u += v, o(S, u, a(S, U, u - U)), u += 4;
4874
+ f(F, u, m == 0 ? "IDAT" : "fdAT"), u += 4, m != 0 && (o(F, u, V++), u += 4), F.set(I, u), u += v, o(F, u, a(F, U, u - U)), u += 4;
4875
4875
  }
4876
- return o(S, u, 0), u += 4, f(S, u, "IEND"), u += 4, o(S, u, a(S, u - 4, 4)), u += 4, S.buffer;
4876
+ return o(F, u, 0), u += 4, f(F, u, "IEND"), u += 4, o(F, u, a(F, u - 4, 4)), u += 4, F.buffer;
4877
4877
  };
4878
4878
  L.encode.compressPNG = function(r, e, t) {
4879
4879
  for (var n = 0; n < r.frames.length; n++) {
@@ -4885,31 +4885,31 @@ L.encode.compressPNG = function(r, e, t) {
4885
4885
  };
4886
4886
  L.encode.compress = function(r, e, t, n, i) {
4887
4887
  for (var a = i[0], o = i[1], s = i[2], f = i[3], u = i[4], c = 6, h = 8, d = 255, v = 0; v < r.length; v++)
4888
- for (var g = new Uint8Array(r[v]), m = g.length, C = 0; C < m; C += 4) d &= g[C + 3];
4889
- var S = d != 255, A = L.encode.framize(r, e, t, a, o, s), k = {}, E = [], B = [];
4888
+ for (var g = new Uint8Array(r[v]), m = g.length, S = 0; S < m; S += 4) d &= g[S + 3];
4889
+ var F = d != 255, A = L.encode.framize(r, e, t, a, o, s), k = {}, E = [], B = [];
4890
4890
  if (n != 0) {
4891
- for (var R = [], C = 0; C < A.length; C++) R.push(A[C].img.buffer);
4892
- for (var D = L.encode.concatRGBA(R), V = L.quantize(D, n), I = 0, U = new Uint8Array(V.abuf), C = 0; C < A.length; C++) {
4893
- var q = A[C].img, G = q.length;
4894
- B.push(new Uint8Array(V.inds.buffer, I >> 2, G >> 2));
4895
- for (var v = 0; v < G; v += 4)
4891
+ for (var R = [], S = 0; S < A.length; S++) R.push(A[S].img.buffer);
4892
+ for (var D = L.encode.concatRGBA(R), V = L.quantize(D, n), I = 0, U = new Uint8Array(V.abuf), S = 0; S < A.length; S++) {
4893
+ var q = A[S].img, H = q.length;
4894
+ B.push(new Uint8Array(V.inds.buffer, I >> 2, H >> 2));
4895
+ for (var v = 0; v < H; v += 4)
4896
4896
  q[v] = U[I + v], q[v + 1] = U[I + v + 1], q[v + 2] = U[I + v + 2], q[v + 3] = U[I + v + 3];
4897
- I += G;
4897
+ I += H;
4898
4898
  }
4899
- for (var C = 0; C < V.plte.length; C++) E.push(V.plte[C].est.rgba);
4899
+ for (var S = 0; S < V.plte.length; S++) E.push(V.plte[S].est.rgba);
4900
4900
  } else
4901
4901
  for (var v = 0; v < A.length; v++) {
4902
- var N = A[v], X = new Uint32Array(N.img.buffer), $ = N.rect.width, m = X.length, _ = new Uint8Array(m);
4903
- B.push(_);
4904
- for (var C = 0; C < m; C++) {
4905
- var Q = X[C];
4906
- if (C != 0 && Q == X[C - 1]) _[C] = _[C - 1];
4907
- else if (C > $ && Q == X[C - $]) _[C] = _[C - $];
4902
+ var N = A[v], X = new Uint32Array(N.img.buffer), $ = N.rect.width, m = X.length, Q = new Uint8Array(m);
4903
+ B.push(Q);
4904
+ for (var S = 0; S < m; S++) {
4905
+ var _ = X[S];
4906
+ if (S != 0 && _ == X[S - 1]) Q[S] = Q[S - 1];
4907
+ else if (S > $ && _ == X[S - $]) Q[S] = Q[S - $];
4908
4908
  else {
4909
- var Fe = k[Q];
4910
- if (Fe == null && (k[Q] = Fe = E.length, E.push(Q), E.length >= 300))
4909
+ var Fe = k[_];
4910
+ if (Fe == null && (k[_] = Fe = E.length, E.push(_), E.length >= 300))
4911
4911
  break;
4912
- _[C] = Fe;
4912
+ Q[S] = Fe;
4913
4913
  }
4914
4914
  }
4915
4915
  }
@@ -4918,27 +4918,27 @@ L.encode.compress = function(r, e, t, n, i) {
4918
4918
  for (var v = 0; v < A.length; v++) {
4919
4919
  var N = A[v];
4920
4920
  N.rect.x, N.rect.y;
4921
- var $ = N.rect.width, Ne = N.rect.height, De = N.img;
4922
- new Uint32Array(De.buffer);
4923
- var Re = 4 * $, We = 4;
4921
+ var $ = N.rect.width, Ne = N.rect.height, Pe = N.img;
4922
+ new Uint32Array(Pe.buffer);
4923
+ var Ce = 4 * $, Me = 4;
4924
4924
  if (le <= 256 && u == !1) {
4925
- Re = Math.ceil(h * $ / 8);
4926
- for (var ee = new Uint8Array(Re * Ne), re = B[v], ae = 0; ae < Ne; ae++) {
4927
- var C = ae * Re, Ce = ae * $;
4928
- if (h == 8) for (var oe = 0; oe < $; oe++) ee[C + oe] = re[Ce + oe];
4929
- else if (h == 4) for (var oe = 0; oe < $; oe++) ee[C + (oe >> 1)] |= re[Ce + oe] << 4 - (oe & 1) * 4;
4930
- else if (h == 2) for (var oe = 0; oe < $; oe++) ee[C + (oe >> 2)] |= re[Ce + oe] << 6 - (oe & 3) * 2;
4931
- else if (h == 1) for (var oe = 0; oe < $; oe++) ee[C + (oe >> 3)] |= re[Ce + oe] << 7 - (oe & 7) * 1;
4925
+ Ce = Math.ceil(h * $ / 8);
4926
+ for (var ee = new Uint8Array(Ce * Ne), re = B[v], ae = 0; ae < Ne; ae++) {
4927
+ var S = ae * Ce, ke = ae * $;
4928
+ if (h == 8) for (var oe = 0; oe < $; oe++) ee[S + oe] = re[ke + oe];
4929
+ else if (h == 4) for (var oe = 0; oe < $; oe++) ee[S + (oe >> 1)] |= re[ke + oe] << 4 - (oe & 1) * 4;
4930
+ else if (h == 2) for (var oe = 0; oe < $; oe++) ee[S + (oe >> 2)] |= re[ke + oe] << 6 - (oe & 3) * 2;
4931
+ else if (h == 1) for (var oe = 0; oe < $; oe++) ee[S + (oe >> 3)] |= re[ke + oe] << 7 - (oe & 7) * 1;
4932
4932
  }
4933
- De = ee, c = 3, We = 1;
4934
- } else if (S == !1 && A.length == 1) {
4935
- for (var ee = new Uint8Array($ * Ne * 3), et = $ * Ne, C = 0; C < et; C++) {
4936
- var q = C * 3, at = C * 4;
4937
- ee[q] = De[at], ee[q + 1] = De[at + 1], ee[q + 2] = De[at + 2];
4933
+ Pe = ee, c = 3, Me = 1;
4934
+ } else if (F == !1 && A.length == 1) {
4935
+ for (var ee = new Uint8Array($ * Ne * 3), et = $ * Ne, S = 0; S < et; S++) {
4936
+ var q = S * 3, at = S * 4;
4937
+ ee[q] = Pe[at], ee[q + 1] = Pe[at + 1], ee[q + 2] = Pe[at + 2];
4938
4938
  }
4939
- De = ee, c = 2, We = 3, Re = 3 * $;
4939
+ Pe = ee, c = 2, Me = 3, Ce = 3 * $;
4940
4940
  }
4941
- N.img = De, N.bpl = Re, N.bpp = We;
4941
+ N.img = Pe, N.bpl = Ce, N.bpp = Me;
4942
4942
  }
4943
4943
  return { ctype: c, depth: h, plte: E, frames: A };
4944
4944
  };
@@ -4946,40 +4946,40 @@ L.encode.framize = function(r, e, t, n, i, a) {
4946
4946
  for (var o = [], s = 0; s < r.length; s++) {
4947
4947
  var f = new Uint8Array(r[s]), u = new Uint32Array(f.buffer), c, h = 0, d = 0, v = e, g = t, m = n ? 1 : 0;
4948
4948
  if (s != 0) {
4949
- for (var C = a || n || s == 1 || o[s - 2].dispose != 0 ? 1 : 2, S = 0, A = 1e9, k = 0; k < C; k++) {
4949
+ for (var S = a || n || s == 1 || o[s - 2].dispose != 0 ? 1 : 2, F = 0, A = 1e9, k = 0; k < S; k++) {
4950
4950
  for (var N = new Uint8Array(r[s - 1 - k]), E = new Uint32Array(r[s - 1 - k]), B = e, R = t, D = -1, V = -1, I = 0; I < t; I++) for (var U = 0; U < e; U++) {
4951
4951
  var q = I * e + U;
4952
4952
  u[q] != E[q] && (U < B && (B = U), U > D && (D = U), I < R && (R = I), I > V && (V = I));
4953
4953
  }
4954
4954
  D == -1 && (B = R = D = V = 0), i && ((B & 1) == 1 && B--, (R & 1) == 1 && R--);
4955
- var G = (D - B + 1) * (V - R + 1);
4956
- G < A && (A = G, S = k, h = B, d = R, v = D - B + 1, g = V - R + 1);
4955
+ var H = (D - B + 1) * (V - R + 1);
4956
+ H < A && (A = H, F = k, h = B, d = R, v = D - B + 1, g = V - R + 1);
4957
4957
  }
4958
- var N = new Uint8Array(r[s - 1 - S]);
4959
- S == 1 && (o[s - 1].dispose = 2), c = new Uint8Array(v * g * 4), L._copyTile(N, e, t, c, v, g, -h, -d, 0), m = L._copyTile(f, e, t, c, v, g, -h, -d, 3) ? 1 : 0, m == 1 ? L.encode._prepareDiff(f, e, t, c, { x: h, y: d, width: v, height: g }) : L._copyTile(f, e, t, c, v, g, -h, -d, 0);
4958
+ var N = new Uint8Array(r[s - 1 - F]);
4959
+ F == 1 && (o[s - 1].dispose = 2), c = new Uint8Array(v * g * 4), L._copyTile(N, e, t, c, v, g, -h, -d, 0), m = L._copyTile(f, e, t, c, v, g, -h, -d, 3) ? 1 : 0, m == 1 ? L.encode._prepareDiff(f, e, t, c, { x: h, y: d, width: v, height: g }) : L._copyTile(f, e, t, c, v, g, -h, -d, 0);
4960
4960
  } else c = f.slice(0);
4961
4961
  o.push({ rect: { x: h, y: d, width: v, height: g }, img: c, blend: m, dispose: 0 });
4962
4962
  }
4963
4963
  if (n) for (var s = 0; s < o.length; s++) {
4964
4964
  var X = o[s];
4965
4965
  if (X.blend != 1) {
4966
- var $ = X.rect, _ = o[s - 1].rect, Q = Math.min($.x, _.x), Fe = Math.min($.y, _.y), le = Math.max($.x + $.width, _.x + _.width), Ne = Math.max($.y + $.height, _.y + _.height), De = { x: Q, y: Fe, width: le - Q, height: Ne - Fe };
4967
- o[s - 1].dispose = 1, s - 1 != 0 && L.encode._updateFrame(r, e, t, o, s - 1, De, i), L.encode._updateFrame(r, e, t, o, s, De, i);
4966
+ var $ = X.rect, Q = o[s - 1].rect, _ = Math.min($.x, Q.x), Fe = Math.min($.y, Q.y), le = Math.max($.x + $.width, Q.x + Q.width), Ne = Math.max($.y + $.height, Q.y + Q.height), Pe = { x: _, y: Fe, width: le - _, height: Ne - Fe };
4967
+ o[s - 1].dispose = 1, s - 1 != 0 && L.encode._updateFrame(r, e, t, o, s - 1, Pe, i), L.encode._updateFrame(r, e, t, o, s, Pe, i);
4968
4968
  }
4969
4969
  }
4970
- var Re = 0;
4970
+ var Ce = 0;
4971
4971
  if (r.length != 1) for (var q = 0; q < o.length; q++) {
4972
4972
  var X = o[q];
4973
- Re += X.rect.width * X.rect.height;
4973
+ Ce += X.rect.width * X.rect.height;
4974
4974
  }
4975
4975
  return o;
4976
4976
  };
4977
4977
  L.encode._updateFrame = function(r, e, t, n, i, a, o) {
4978
- for (var s = Uint8Array, f = Uint32Array, u = new s(r[i - 1]), c = new f(r[i - 1]), h = i + 1 < r.length ? new s(r[i + 1]) : null, d = new s(r[i]), v = new f(d.buffer), g = e, m = t, C = -1, S = -1, A = 0; A < a.height; A++) for (var k = 0; k < a.width; k++) {
4978
+ for (var s = Uint8Array, f = Uint32Array, u = new s(r[i - 1]), c = new f(r[i - 1]), h = i + 1 < r.length ? new s(r[i + 1]) : null, d = new s(r[i]), v = new f(d.buffer), g = e, m = t, S = -1, F = -1, A = 0; A < a.height; A++) for (var k = 0; k < a.width; k++) {
4979
4979
  var E = a.x + k, B = a.y + A, R = B * e + E, D = v[R];
4980
- D == 0 || n[i - 1].dispose == 0 && c[R] == D && (h == null || h[R * 4 + 3] != 0) || (E < g && (g = E), E > C && (C = E), B < m && (m = B), B > S && (S = B));
4980
+ D == 0 || n[i - 1].dispose == 0 && c[R] == D && (h == null || h[R * 4 + 3] != 0) || (E < g && (g = E), E > S && (S = E), B < m && (m = B), B > F && (F = B));
4981
4981
  }
4982
- C == -1 && (g = m = C = S = 0), o && ((g & 1) == 1 && g--, (m & 1) == 1 && m--), a = { x: g, y: m, width: C - g + 1, height: S - m + 1 };
4982
+ S == -1 && (g = m = S = F = 0), o && ((g & 1) == 1 && g--, (m & 1) == 1 && m--), a = { x: g, y: m, width: S - g + 1, height: F - m + 1 };
4983
4983
  var V = n[i];
4984
4984
  V.rect = a, V.blend = 1, V.img = new Uint8Array(a.width * a.height * 4), n[i - 1].dispose == 0 ? (L._copyTile(u, e, t, V.img, a.width, a.height, -a.x, -a.y, 0), L.encode._prepareDiff(d, e, t, V.img, a)) : L._copyTile(d, e, t, V.img, a.width, a.height, -a.x, -a.y, 0);
4985
4985
  };
@@ -5045,8 +5045,8 @@ L.quantize = function(r, e) {
5045
5045
  var t = new Uint8Array(r), n = t.slice(0), i = new Uint32Array(n.buffer), a = L.quantize.getKDtree(n, e), o = a[0], s = a[1];
5046
5046
  L.quantize.planeDst;
5047
5047
  for (var f = t, u = i, c = f.length, h = new Uint8Array(t.length >> 2), d = 0; d < c; d += 4) {
5048
- var v = f[d] * 0.00392156862745098, g = f[d + 1] * (1 / 255), m = f[d + 2] * (1 / 255), C = f[d + 3] * (1 / 255), S = L.quantize.getNearest(o, v, g, m, C);
5049
- h[d >> 2] = S.ind, u[d >> 2] = S.est.rgba;
5048
+ var v = f[d] * 0.00392156862745098, g = f[d + 1] * (1 / 255), m = f[d + 2] * (1 / 255), S = f[d + 3] * (1 / 255), F = L.quantize.getNearest(o, v, g, m, S);
5049
+ h[d >> 2] = F.ind, u[d >> 2] = F.est.rgba;
5050
5050
  }
5051
5051
  return { abuf: n.buffer, inds: h, plte: s };
5052
5052
  };
@@ -5138,15 +5138,15 @@ L.quantize.estats = function(r) {
5138
5138
  if (n != 0)
5139
5139
  for (var m = 0; m < 10 && (d = h.multVec(c, d), g = Math.sqrt(h.dot(d, d)), d = h.sml(1 / g, d), !(Math.abs(g - v) < 1e-9)); m++)
5140
5140
  v = g;
5141
- var C = [i * f, a * f, o * f, s * f], S = h.dot(h.sml(255, C), d);
5141
+ var S = [i * f, a * f, o * f, s * f], F = h.dot(h.sml(255, S), d);
5142
5142
  return {
5143
5143
  Cov: u,
5144
- q: C,
5144
+ q: S,
5145
5145
  e: d,
5146
5146
  L: v,
5147
- eMq255: S,
5148
- eMq: h.dot(d, C),
5149
- rgba: (Math.round(255 * C[3]) << 24 | Math.round(255 * C[2]) << 16 | Math.round(255 * C[1]) << 8 | Math.round(255 * C[0]) << 0) >>> 0
5147
+ eMq255: F,
5148
+ eMq: h.dot(d, S),
5149
+ rgba: (Math.round(255 * S[3]) << 24 | Math.round(255 * S[2]) << 16 | Math.round(255 * S[1]) << 8 | Math.round(255 * S[0]) << 0) >>> 0
5150
5150
  };
5151
5151
  };
5152
5152
  L.M4 = {
@@ -6151,10 +6151,10 @@ var Of = (
6151
6151
  if (a === 1)
6152
6152
  d = Mf, v = jf;
6153
6153
  else if (a === 2) {
6154
- var g = this.getBits(5) + 257, m = this.getBits(5) + 1, C = this.getBits(4) + 4, S = new Uint8Array(Ha.length), A = void 0;
6155
- for (A = 0; A < C; ++A)
6156
- S[Ha[A]] = this.getBits(3);
6157
- var k = this.generateHuffmanTable(S);
6154
+ var g = this.getBits(5) + 257, m = this.getBits(5) + 1, S = this.getBits(4) + 4, F = new Uint8Array(Ha.length), A = void 0;
6155
+ for (A = 0; A < S; ++A)
6156
+ F[Ha[A]] = this.getBits(3);
6157
+ var k = this.generateHuffmanTable(F);
6158
6158
  n = 0, A = 0;
6159
6159
  for (var E = g + m, B = new Uint8Array(E), R = void 0, D = void 0, V = void 0; A < E; ) {
6160
6160
  var I = this.getCode(k);
@@ -6175,23 +6175,23 @@ var Of = (
6175
6175
  } else
6176
6176
  throw new Error("Unknown block type in flate stream");
6177
6177
  t = this.buffer;
6178
- for (var q = t ? t.length : 0, G = this.bufferLength; ; ) {
6178
+ for (var q = t ? t.length : 0, H = this.bufferLength; ; ) {
6179
6179
  var N = this.getCode(d);
6180
6180
  if (N < 256) {
6181
- G + 1 >= q && (t = this.ensureBuffer(G + 1), q = t.length), t[G++] = N;
6181
+ H + 1 >= q && (t = this.ensureBuffer(H + 1), q = t.length), t[H++] = N;
6182
6182
  continue;
6183
6183
  }
6184
6184
  if (N === 256) {
6185
- this.bufferLength = G;
6185
+ this.bufferLength = H;
6186
6186
  return;
6187
6187
  }
6188
6188
  N -= 257, N = zf[N];
6189
6189
  var X = N >> 16;
6190
6190
  X > 0 && (X = this.getBits(X)), n = (N & 65535) + X, N = this.getCode(v), N = Nf[N], X = N >> 16, X > 0 && (X = this.getBits(X));
6191
6191
  var $ = (N & 65535) + X;
6192
- G + n >= q && (t = this.ensureBuffer(G + n), q = t.length);
6193
- for (var _ = 0; _ < n; ++_, ++G)
6194
- t[G] = t[G - $];
6192
+ H + n >= q && (t = this.ensureBuffer(H + n), q = t.length);
6193
+ for (var Q = 0; Q < n; ++Q, ++H)
6194
+ t[H] = t[H - $];
6195
6195
  }
6196
6196
  }, e.prototype.getBits = function(t) {
6197
6197
  for (var n = this.stream, i = this.codeSize, a = this.codeBuf, o; i < t; ) {
@@ -6247,34 +6247,34 @@ var Of = (
6247
6247
  return e.prototype.readBlock = function() {
6248
6248
  var t = 512, n = t * 2, i = t, a, o, s, f = this.lzwState;
6249
6249
  if (f) {
6250
- var u = f.earlyChange, c = f.nextCode, h = f.dictionaryValues, d = f.dictionaryLengths, v = f.dictionaryPrevCodes, g = f.codeLength, m = f.prevCode, C = f.currentSequence, S = f.currentSequenceLength, A = 0, k = this.bufferLength, E = this.ensureBuffer(this.bufferLength + n);
6250
+ var u = f.earlyChange, c = f.nextCode, h = f.dictionaryValues, d = f.dictionaryLengths, v = f.dictionaryPrevCodes, g = f.codeLength, m = f.prevCode, S = f.currentSequence, F = f.currentSequenceLength, A = 0, k = this.bufferLength, E = this.ensureBuffer(this.bufferLength + n);
6251
6251
  for (a = 0; a < t; a++) {
6252
- var B = this.readBits(g), R = S > 0;
6252
+ var B = this.readBits(g), R = F > 0;
6253
6253
  if (!B || B < 256)
6254
- C[0] = B, S = 1;
6254
+ S[0] = B, F = 1;
6255
6255
  else if (B >= 258)
6256
6256
  if (B < c)
6257
- for (S = d[B], o = S - 1, s = B; o >= 0; o--)
6258
- C[o] = h[s], s = v[s];
6257
+ for (F = d[B], o = F - 1, s = B; o >= 0; o--)
6258
+ S[o] = h[s], s = v[s];
6259
6259
  else
6260
- C[S++] = C[0];
6260
+ S[F++] = S[0];
6261
6261
  else if (B === 256) {
6262
- g = 9, c = 258, S = 0;
6262
+ g = 9, c = 258, F = 0;
6263
6263
  continue;
6264
6264
  } else {
6265
6265
  this.eof = !0, delete this.lzwState;
6266
6266
  break;
6267
6267
  }
6268
- if (R && (v[c] = m, d[c] = d[m] + 1, h[c] = C[0], c++, g = c + u & c + u - 1 ? g : Math.min(Math.log(c + u) / 0.6931471805599453 + 1, 12) | 0), m = B, A += S, n < A) {
6268
+ if (R && (v[c] = m, d[c] = d[m] + 1, h[c] = S[0], c++, g = c + u & c + u - 1 ? g : Math.min(Math.log(c + u) / 0.6931471805599453 + 1, 12) | 0), m = B, A += F, n < A) {
6269
6269
  do
6270
6270
  n += i;
6271
6271
  while (n < A);
6272
6272
  E = this.ensureBuffer(this.bufferLength + n);
6273
6273
  }
6274
- for (o = 0; o < S; o++)
6275
- E[k++] = C[o];
6274
+ for (o = 0; o < F; o++)
6275
+ E[k++] = S[o];
6276
6276
  }
6277
- f.nextCode = c, f.codeLength = g, f.prevCode = m, f.currentSequenceLength = S, this.bufferLength = k;
6277
+ f.nextCode = c, f.codeLength = g, f.prevCode = m, f.currentSequenceLength = F, this.bufferLength = k;
6278
6278
  }
6279
6279
  }, e.prototype.readBits = function(t) {
6280
6280
  for (var n = this.bitsCached, i = this.cachedData; n < t; ) {
@@ -6563,7 +6563,7 @@ var Za = (
6563
6563
  this.dict = e, this.ref = t;
6564
6564
  }
6565
6565
  return r.prototype.T = function() {
6566
- return this.dict.lookupMaybe(x.of("T"), je, ce);
6566
+ return this.dict.lookupMaybe(x.of("T"), Ue, ce);
6567
6567
  }, r.prototype.Ff = function() {
6568
6568
  var e = this.getInheritableAttribute(x.of("Ff"));
6569
6569
  return this.dict.context.lookupMaybe(e, ve);
@@ -6574,13 +6574,13 @@ var Za = (
6574
6574
  return this.dict.lookupMaybe(x.of("Kids"), ze);
6575
6575
  }, r.prototype.DA = function() {
6576
6576
  var e = this.dict.lookup(x.of("DA"));
6577
- if (e instanceof je || e instanceof ce)
6577
+ if (e instanceof Ue || e instanceof ce)
6578
6578
  return e;
6579
6579
  }, r.prototype.setKids = function(e) {
6580
6580
  this.dict.set(x.of("Kids"), this.dict.context.obj(e));
6581
6581
  }, r.prototype.getParent = function() {
6582
6582
  var e = this.dict.get(x.of("Parent"));
6583
- if (e instanceof Ue) {
6583
+ if (e instanceof Ve) {
6584
6584
  var t = this.dict.lookup(x.of("Parent"), me);
6585
6585
  return new r(t, e);
6586
6586
  }
@@ -6595,7 +6595,7 @@ var Za = (
6595
6595
  }, r.prototype.setPartialName = function(e) {
6596
6596
  e ? this.dict.set(x.of("T"), ce.fromText(e)) : this.dict.delete(x.of("T"));
6597
6597
  }, r.prototype.setDefaultAppearance = function(e) {
6598
- this.dict.set(x.of("DA"), je.of(e));
6598
+ this.dict.set(x.of("DA"), Ue.of(e));
6599
6599
  }, r.prototype.getDefaultAppearance = function() {
6600
6600
  var e = this.DA();
6601
6601
  return e instanceof ce ? e.decodeText() : e == null ? void 0 : e.asString();
@@ -6687,7 +6687,7 @@ var Za = (
6687
6687
  return e || (e = this.dict.context.obj({}), this.dict.set(x.of("AP"), e)), e;
6688
6688
  }, r.prototype.getNormalAppearance = function() {
6689
6689
  var e = this.ensureAP(), t = e.get(x.of("N"));
6690
- if (t instanceof Ue || t instanceof me)
6690
+ if (t instanceof Ve || t instanceof me)
6691
6691
  return t;
6692
6692
  throw new Error("Unexpected N type: " + (t == null ? void 0 : t.constructor.name));
6693
6693
  }, r.prototype.setNormalAppearance = function(e) {
@@ -6751,15 +6751,15 @@ var Za = (
6751
6751
  return e;
6752
6752
  }, r.prototype.CA = function() {
6753
6753
  var e = this.dict.lookup(x.of("CA"));
6754
- if (e instanceof ce || e instanceof je)
6754
+ if (e instanceof ce || e instanceof Ue)
6755
6755
  return e;
6756
6756
  }, r.prototype.RC = function() {
6757
6757
  var e = this.dict.lookup(x.of("RC"));
6758
- if (e instanceof ce || e instanceof je)
6758
+ if (e instanceof ce || e instanceof Ue)
6759
6759
  return e;
6760
6760
  }, r.prototype.AC = function() {
6761
6761
  var e = this.dict.lookup(x.of("AC"));
6762
- if (e instanceof ce || e instanceof je)
6762
+ if (e instanceof ce || e instanceof Ue)
6763
6763
  return e;
6764
6764
  }, r.prototype.getRotation = function() {
6765
6765
  var e;
@@ -6831,16 +6831,16 @@ var Za = (
6831
6831
  return t;
6832
6832
  }, e.prototype.DA = function() {
6833
6833
  var t = this.dict.lookup(x.of("DA"));
6834
- if (t instanceof je || t instanceof ce)
6834
+ if (t instanceof Ue || t instanceof ce)
6835
6835
  return t;
6836
6836
  }, e.prototype.P = function() {
6837
6837
  var t = this.dict.get(x.of("P"));
6838
- if (t instanceof Ue)
6838
+ if (t instanceof Ve)
6839
6839
  return t;
6840
6840
  }, e.prototype.setP = function(t) {
6841
6841
  this.dict.set(x.of("P"), t);
6842
6842
  }, e.prototype.setDefaultAppearance = function(t) {
6843
- this.dict.set(x.of("DA"), je.of(t));
6843
+ this.dict.set(x.of("DA"), Ue.of(t));
6844
6844
  }, e.prototype.getDefaultAppearance = function() {
6845
6845
  var t = this.DA();
6846
6846
  return t instanceof ce ? t.decodeText() : t == null ? void 0 : t.asString();
@@ -6932,24 +6932,24 @@ var Za = (
6932
6932
  return r !== null && r.apply(this, arguments) || this;
6933
6933
  }
6934
6934
  return e.prototype.Opt = function() {
6935
- return this.dict.lookupMaybe(x.of("Opt"), je, ce, ze);
6935
+ return this.dict.lookupMaybe(x.of("Opt"), Ue, ce, ze);
6936
6936
  }, e.prototype.setOpt = function(t) {
6937
6937
  this.dict.set(x.of("Opt"), this.dict.context.obj(t));
6938
6938
  }, e.prototype.getExportValues = function() {
6939
6939
  var t = this.Opt();
6940
6940
  if (t) {
6941
- if (t instanceof je || t instanceof ce)
6941
+ if (t instanceof Ue || t instanceof ce)
6942
6942
  return [t];
6943
6943
  for (var n = [], i = 0, a = t.size(); i < a; i++) {
6944
6944
  var o = t.lookup(i);
6945
- (o instanceof je || o instanceof ce) && n.push(o);
6945
+ (o instanceof Ue || o instanceof ce) && n.push(o);
6946
6946
  }
6947
6947
  return n;
6948
6948
  }
6949
6949
  }, e.prototype.removeExportValue = function(t) {
6950
6950
  var n = this.Opt();
6951
6951
  if (n)
6952
- if (n instanceof je || n instanceof ce) {
6952
+ if (n instanceof Ue || n instanceof ce) {
6953
6953
  if (t !== 0)
6954
6954
  throw new Un(t, 0, 0);
6955
6955
  this.setOpt([]);
@@ -7026,10 +7026,10 @@ var Ge;
7026
7026
  (function(r) {
7027
7027
  r[r.Multiline = Ze(12)] = "Multiline", r[r.Password = Ze(13)] = "Password", r[r.FileSelect = Ze(20)] = "FileSelect", r[r.DoNotSpellCheck = Ze(22)] = "DoNotSpellCheck", r[r.DoNotScroll = Ze(23)] = "DoNotScroll", r[r.Comb = Ze(24)] = "Comb", r[r.RichText = Ze(25)] = "RichText";
7028
7028
  })(Ge || (Ge = {}));
7029
- var Me;
7029
+ var je;
7030
7030
  (function(r) {
7031
7031
  r[r.Combo = Ze(17)] = "Combo", r[r.Edit = Ze(18)] = "Edit", r[r.Sort = Ze(19)] = "Sort", r[r.MultiSelect = Ze(21)] = "MultiSelect", r[r.DoNotSpellCheck = Ze(22)] = "DoNotSpellCheck", r[r.CommitOnSelChange = Ze(26)] = "CommitOnSelChange";
7032
- })(Me || (Me = {}));
7032
+ })(je || (je = {}));
7033
7033
  var Lo = (
7034
7034
  /** @class */
7035
7035
  (function(r) {
@@ -7038,10 +7038,10 @@ var Lo = (
7038
7038
  return r !== null && r.apply(this, arguments) || this;
7039
7039
  }
7040
7040
  return e.prototype.setValues = function(t) {
7041
- if (this.hasFlag(Me.Combo) && !this.hasFlag(Me.Edit) && !this.valuesAreValid(t))
7041
+ if (this.hasFlag(je.Combo) && !this.hasFlag(je.Edit) && !this.valuesAreValid(t))
7042
7042
  throw new Hi();
7043
7043
  if (t.length === 0 && this.dict.delete(x.of("V")), t.length === 1 && this.dict.set(x.of("V"), t[0]), t.length > 1) {
7044
- if (!this.hasFlag(Me.MultiSelect))
7044
+ if (!this.hasFlag(je.MultiSelect))
7045
7045
  throw new ef();
7046
7046
  this.dict.set(x.of("V"), this.dict.context.obj(t));
7047
7047
  }
@@ -7073,18 +7073,18 @@ var Lo = (
7073
7073
  this.dict.delete(x.of("I"));
7074
7074
  }, e.prototype.getValues = function() {
7075
7075
  var t = this.V();
7076
- if (t instanceof je || t instanceof ce)
7076
+ if (t instanceof Ue || t instanceof ce)
7077
7077
  return [t];
7078
7078
  if (t instanceof ze) {
7079
7079
  for (var n = [], i = 0, a = t.size(); i < a; i++) {
7080
7080
  var o = t.lookup(i);
7081
- (o instanceof je || o instanceof ce) && n.push(o);
7081
+ (o instanceof Ue || o instanceof ce) && n.push(o);
7082
7082
  }
7083
7083
  return n;
7084
7084
  }
7085
7085
  return [];
7086
7086
  }, e.prototype.Opt = function() {
7087
- return this.dict.lookupMaybe(x.of("Opt"), je, ce, ze);
7087
+ return this.dict.lookupMaybe(x.of("Opt"), Ue, ce, ze);
7088
7088
  }, e.prototype.setOptions = function(t) {
7089
7089
  for (var n = new Array(t.length), i = 0, a = t.length; i < a; i++) {
7090
7090
  var o = t[i], s = o.value, f = o.display;
@@ -7093,13 +7093,13 @@ var Lo = (
7093
7093
  this.dict.set(x.of("Opt"), this.dict.context.obj(n));
7094
7094
  }, e.prototype.getOptions = function() {
7095
7095
  var t = this.Opt();
7096
- if (t instanceof je || t instanceof ce)
7096
+ if (t instanceof Ue || t instanceof ce)
7097
7097
  return [{ value: t, display: t }];
7098
7098
  if (t instanceof ze) {
7099
7099
  for (var n = [], i = 0, a = t.size(); i < a; i++) {
7100
7100
  var o = t.lookup(i);
7101
- if ((o instanceof je || o instanceof ce) && n.push({ value: o, display: o }), o instanceof ze && o.size() > 0) {
7102
- var s = o.lookup(0, je, ce), f = o.lookupMaybe(1, je, ce);
7101
+ if ((o instanceof Ue || o instanceof ce) && n.push({ value: o, display: o }), o instanceof ze && o.size() > 0) {
7102
+ var s = o.lookup(0, Ue, ce), f = o.lookupMaybe(1, Ue, ce);
7103
7103
  n.push({ value: s, display: f || s });
7104
7104
  }
7105
7105
  }
@@ -7120,7 +7120,7 @@ var Lo = (
7120
7120
  }, e.create = function(t) {
7121
7121
  var n = t.obj({
7122
7122
  FT: "Ch",
7123
- Ff: Me.Combo,
7123
+ Ff: je.Combo,
7124
7124
  Kids: []
7125
7125
  }), i = t.register(n);
7126
7126
  return new e(n, i);
@@ -7190,7 +7190,7 @@ var Lo = (
7190
7190
  this.dict.delete(x.of("V"));
7191
7191
  }, e.prototype.getValue = function() {
7192
7192
  var t = this.V();
7193
- if (t instanceof je || t instanceof ce)
7193
+ if (t instanceof Ue || t instanceof ce)
7194
7194
  return t;
7195
7195
  }, e.fromDict = function(t, n) {
7196
7196
  return new e(t, n);
@@ -7278,7 +7278,7 @@ var Lo = (
7278
7278
  return [];
7279
7279
  for (var e = [], t = 0, n = r.size(); t < n; t++) {
7280
7280
  var i = r.get(t), a = r.lookup(t);
7281
- i instanceof Ue && a instanceof me && e.push([Ko(a, i), i]);
7281
+ i instanceof Ve && a instanceof me && e.push([Ko(a, i), i]);
7282
7282
  }
7283
7283
  return e;
7284
7284
  }, Ko = function(r, e) {
@@ -7301,7 +7301,7 @@ var Lo = (
7301
7301
  return Ni(a, Pt.PushButton) ? ni.fromDict(r, e) : Ni(a, Pt.Radio) ? ii.fromDict(r, e) : ei.fromDict(r, e);
7302
7302
  }, Yf = function(r, e) {
7303
7303
  var t, n = ea(r, x.of("Ff")), i = r.context.lookupMaybe(n, ve), a = (t = i == null ? void 0 : i.asNumber()) !== null && t !== void 0 ? t : 0;
7304
- return Ni(a, Me.Combo) ? ti.fromDict(r, e) : ai.fromDict(r, e);
7304
+ return Ni(a, je.Combo) ? ti.fromDict(r, e) : ai.fromDict(r, e);
7305
7305
  }, Ni = function(r, e) {
7306
7306
  return (r & e) !== 0;
7307
7307
  }, ea = function(r, e) {
@@ -7732,7 +7732,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7732
7732
  if (ut[this.bytes.peek()]) {
7733
7733
  var i = this.parseRawNumber();
7734
7734
  if (this.skipWhitespaceAndComments(), this.bytes.peek() === w.R)
7735
- return this.bytes.assertNext(w.R), Ue.of(t, i);
7735
+ return this.bytes.assertNext(w.R), Ve.of(t, i);
7736
7736
  }
7737
7737
  return this.bytes.moveTo(n), ve.of(t);
7738
7738
  }, e.prototype.parseHexString = function() {
@@ -7744,7 +7744,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7744
7744
  for (var t = 0, n = !1, i = ""; !this.bytes.done(); ) {
7745
7745
  var a = this.bytes.next();
7746
7746
  if (i += Gt(a), n || (a === w.LeftParen && (t += 1), a === w.RightParen && (t -= 1)), a === w.BackSlash ? n = !n : n && (n = !1), t === 0)
7747
- return je.of(i.substring(1, i.length - 1));
7747
+ return Ue.of(i.substring(1, i.length - 1));
7748
7748
  }
7749
7749
  throw new uf(this.bytes.position());
7750
7750
  }, e.prototype.parseName = function() {
@@ -7812,7 +7812,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7812
7812
  throw new Gi("PDFObjectStreamParser", "parseIntoContext");
7813
7813
  this.alreadyParsed = !0, t = this.parseOffsetsAndObjectNumbers(), n = 0, i = t.length, c.label = 1;
7814
7814
  case 1:
7815
- return n < i ? (a = t[n], o = a.objectNumber, s = a.offset, this.bytes.moveTo(this.firstOffset + s), f = this.parseObject(), u = Ue.of(o, 0), this.context.assign(u, f), this.shouldWaitForTick() ? [4, zr()] : [3, 3]) : [3, 4];
7815
+ return n < i ? (a = t[n], o = a.objectNumber, s = a.offset, this.bytes.moveTo(this.firstOffset + s), f = this.parseObject(), u = Ve.of(o, 0), this.context.assign(u, f), this.shouldWaitForTick() ? [4, zr()] : [3, 3]) : [3, 4];
7816
7816
  case 2:
7817
7817
  c.sent(), c.label = 3;
7818
7818
  case 3:
@@ -7875,11 +7875,11 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7875
7875
  d = d << 8 | this.bytes.next();
7876
7876
  for (var m = 0, v = 0, g = i; v < g; v++)
7877
7877
  m = m << 8 | this.bytes.next();
7878
- for (var C = 0, v = 0, g = a; v < g; v++)
7879
- C = C << 8 | this.bytes.next();
7878
+ for (var S = 0, v = 0, g = a; v < g; v++)
7879
+ S = S << 8 | this.bytes.next();
7880
7880
  n === 0 && (d = 1);
7881
- var S = u + h, A = {
7882
- ref: Ue.of(S, C),
7881
+ var F = u + h, A = {
7882
+ ref: Ve.of(F, S),
7883
7883
  offset: m,
7884
7884
  deleted: d === 0,
7885
7885
  inObjectStream: d === 2
@@ -7918,7 +7918,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7918
7918
  throw new ff(this.bytes.position());
7919
7919
  return t = n, [3, 1];
7920
7920
  case 3:
7921
- return this.maybeRecoverRoot(), this.context.lookup(Ue.of(0)) && (console.warn("Removing parsed object: 0 0 R"), this.context.delete(Ue.of(0))), [2, this.context];
7921
+ return this.maybeRecoverRoot(), this.context.lookup(Ve.of(0)) && (console.warn("Removing parsed object: 0 0 R"), this.context.delete(Ve.of(0))), [2, this.context];
7922
7922
  }
7923
7923
  });
7924
7924
  });
@@ -7949,7 +7949,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
7949
7949
  var n = this.parseRawInt();
7950
7950
  if (this.skipWhitespaceAndComments(), !this.matchKeyword(Le.obj))
7951
7951
  throw new cf(this.bytes.position(), Le.obj);
7952
- return Ue.of(t, n);
7952
+ return Ve.of(t, n);
7953
7953
  }, e.prototype.matchIndirectObjectHeader = function() {
7954
7954
  var t = this.bytes.offset();
7955
7955
  try {
@@ -8026,7 +8026,7 @@ var Ya = w.Newline, Ja = w.CarriageReturn, Qf = (
8026
8026
  this.skipWhitespaceAndComments();
8027
8027
  var o = this.bytes.peek();
8028
8028
  if (o === w.n || o === w.f) {
8029
- var s = Ue.of(t, a);
8029
+ var s = Ve.of(t, a);
8030
8030
  this.bytes.next() === w.n ? n.addEntry(s, i) : n.addDeletedEntry(s, i), t += 1;
8031
8031
  } else
8032
8032
  t = i;
@@ -8125,9 +8125,9 @@ var de = function(r) {
8125
8125
  var n = r.x, i = r.y, a = r.width, o = r.height, s = Yt(t), f = e / 2;
8126
8126
  return s === 0 ? { x: n - f, y: i - f, width: a, height: o } : s === 90 ? { x: n - o + f, y: i - f, width: o, height: a } : s === 180 ? { x: n - a + f, y: i - o + f, width: a, height: o } : s === 270 ? { x: n - f, y: i - a + f, width: o, height: a } : { x: n - f, y: i - f, width: a, height: o };
8127
8127
  }, $o = function() {
8128
- return Ae.of(Ee.ClipNonZero);
8128
+ return Re.of(Ee.ClipNonZero);
8129
8129
  }, Kn = Math.cos, Gn = Math.sin, Hn = Math.tan, fi = function(r, e, t, n, i, a) {
8130
- return Ae.of(Ee.ConcatTransformationMatrix, [
8130
+ return Re.of(Ee.ConcatTransformationMatrix, [
8131
8131
  pe(r),
8132
8132
  pe(e),
8133
8133
  pe(t),
@@ -8146,7 +8146,7 @@ var de = function(r) {
8146
8146
  }, ra = function(r, e) {
8147
8147
  return fi(1, Hn(Se(r)), Hn(Se(e)), 1, 0, 0);
8148
8148
  }, li = function(r, e) {
8149
- return Ae.of(Ee.SetLineDashPattern, [
8149
+ return Re.of(Ee.SetLineDashPattern, [
8150
8150
  "[" + r.map(pe).join(" ") + "]",
8151
8151
  pe(e)
8152
8152
  ]);
@@ -8155,21 +8155,21 @@ var de = function(r) {
8155
8155
  r[r.Butt = 0] = "Butt", r[r.Round = 1] = "Round", r[r.Projecting = 2] = "Projecting";
8156
8156
  })(Br || (Br = {}));
8157
8157
  var ci = function(r) {
8158
- return Ae.of(Ee.SetLineCapStyle, [pe(r)]);
8158
+ return Re.of(Ee.SetLineCapStyle, [pe(r)]);
8159
8159
  }, Qa;
8160
8160
  (function(r) {
8161
8161
  r[r.Miter = 0] = "Miter", r[r.Round = 1] = "Round", r[r.Bevel = 2] = "Bevel";
8162
8162
  })(Qa || (Qa = {}));
8163
8163
  var br = function(r) {
8164
- return Ae.of(Ee.SetGraphicsStateParams, [ui(r)]);
8164
+ return Re.of(Ee.SetGraphicsStateParams, [ui(r)]);
8165
8165
  }, _e = function() {
8166
- return Ae.of(Ee.PushGraphicsState);
8166
+ return Re.of(Ee.PushGraphicsState);
8167
8167
  }, $e = function() {
8168
- return Ae.of(Ee.PopGraphicsState);
8168
+ return Re.of(Ee.PopGraphicsState);
8169
8169
  }, pn = function(r) {
8170
- return Ae.of(Ee.SetLineWidth, [pe(r)]);
8170
+ return Re.of(Ee.SetLineWidth, [pe(r)]);
8171
8171
  }, gt = function(r, e, t, n, i, a) {
8172
- return Ae.of(Ee.AppendBezierCurve, [
8172
+ return Re.of(Ee.AppendBezierCurve, [
8173
8173
  pe(r),
8174
8174
  pe(e),
8175
8175
  pe(t),
@@ -8178,44 +8178,44 @@ var br = function(r) {
8178
8178
  pe(a)
8179
8179
  ]);
8180
8180
  }, An = function(r, e, t, n) {
8181
- return Ae.of(Ee.CurveToReplicateInitialPoint, [
8181
+ return Re.of(Ee.CurveToReplicateInitialPoint, [
8182
8182
  pe(r),
8183
8183
  pe(e),
8184
8184
  pe(t),
8185
8185
  pe(n)
8186
8186
  ]);
8187
8187
  }, ir = function() {
8188
- return Ae.of(Ee.ClosePath);
8188
+ return Re.of(Ee.ClosePath);
8189
8189
  }, Wt = function(r, e) {
8190
- return Ae.of(Ee.MoveTo, [pe(r), pe(e)]);
8190
+ return Re.of(Ee.MoveTo, [pe(r), pe(e)]);
8191
8191
  }, tt = function(r, e) {
8192
- return Ae.of(Ee.LineTo, [pe(r), pe(e)]);
8192
+ return Re.of(Ee.LineTo, [pe(r), pe(e)]);
8193
8193
  }, gn = function() {
8194
- return Ae.of(Ee.StrokePath);
8194
+ return Re.of(Ee.StrokePath);
8195
8195
  }, na = function() {
8196
- return Ae.of(Ee.FillNonZero);
8196
+ return Re.of(Ee.FillNonZero);
8197
8197
  }, ia = function() {
8198
- return Ae.of(Ee.FillNonZeroAndStroke);
8198
+ return Re.of(Ee.FillNonZeroAndStroke);
8199
8199
  }, es = function() {
8200
- return Ae.of(Ee.EndPath);
8200
+ return Re.of(Ee.EndPath);
8201
8201
  }, il = function() {
8202
- return Ae.of(Ee.NextLine);
8202
+ return Re.of(Ee.NextLine);
8203
8203
  }, ts = function(r) {
8204
- return Ae.of(Ee.ShowText, [r]);
8204
+ return Re.of(Ee.ShowText, [r]);
8205
8205
  }, rs = function() {
8206
- return Ae.of(Ee.BeginText);
8206
+ return Re.of(Ee.BeginText);
8207
8207
  }, ns = function() {
8208
- return Ae.of(Ee.EndText);
8208
+ return Re.of(Ee.EndText);
8209
8209
  }, aa = function(r, e) {
8210
- return Ae.of(Ee.SetFontAndSize, [ui(r), pe(e)]);
8210
+ return Re.of(Ee.SetFontAndSize, [ui(r), pe(e)]);
8211
8211
  }, al = function(r) {
8212
- return Ae.of(Ee.SetTextLineHeight, [pe(r)]);
8212
+ return Re.of(Ee.SetTextLineHeight, [pe(r)]);
8213
8213
  }, _a;
8214
8214
  (function(r) {
8215
8215
  r[r.Fill = 0] = "Fill", r[r.Outline = 1] = "Outline", r[r.FillAndOutline = 2] = "FillAndOutline", r[r.Invisible = 3] = "Invisible", r[r.FillAndClip = 4] = "FillAndClip", r[r.OutlineAndClip = 5] = "OutlineAndClip", r[r.FillAndOutlineAndClip = 6] = "FillAndOutlineAndClip", r[r.Clip = 7] = "Clip";
8216
8216
  })(_a || (_a = {}));
8217
8217
  var ol = function(r, e, t, n, i, a) {
8218
- return Ae.of(Ee.SetTextMatrix, [
8218
+ return Re.of(Ee.SetTextMatrix, [
8219
8219
  pe(r),
8220
8220
  pe(e),
8221
8221
  pe(t),
@@ -8226,48 +8226,48 @@ var ol = function(r, e, t, n, i, a) {
8226
8226
  }, is = function(r, e, t, n, i) {
8227
8227
  return ol(Kn(Se(r)), Gn(Se(r)) + Hn(Se(e)), -Gn(Se(r)) + Hn(Se(t)), Kn(Se(r)), n, i);
8228
8228
  }, oa = function(r) {
8229
- return Ae.of(Ee.DrawObject, [ui(r)]);
8229
+ return Re.of(Ee.DrawObject, [ui(r)]);
8230
8230
  }, sl = function(r) {
8231
- return Ae.of(Ee.NonStrokingColorGray, [pe(r)]);
8231
+ return Re.of(Ee.NonStrokingColorGray, [pe(r)]);
8232
8232
  }, ul = function(r) {
8233
- return Ae.of(Ee.StrokingColorGray, [pe(r)]);
8233
+ return Re.of(Ee.StrokingColorGray, [pe(r)]);
8234
8234
  }, fl = function(r, e, t) {
8235
- return Ae.of(Ee.NonStrokingColorRgb, [
8235
+ return Re.of(Ee.NonStrokingColorRgb, [
8236
8236
  pe(r),
8237
8237
  pe(e),
8238
8238
  pe(t)
8239
8239
  ]);
8240
8240
  }, ll = function(r, e, t) {
8241
- return Ae.of(Ee.StrokingColorRgb, [
8241
+ return Re.of(Ee.StrokingColorRgb, [
8242
8242
  pe(r),
8243
8243
  pe(e),
8244
8244
  pe(t)
8245
8245
  ]);
8246
8246
  }, cl = function(r, e, t, n) {
8247
- return Ae.of(Ee.NonStrokingColorCmyk, [
8247
+ return Re.of(Ee.NonStrokingColorCmyk, [
8248
8248
  pe(r),
8249
8249
  pe(e),
8250
8250
  pe(t),
8251
8251
  pe(n)
8252
8252
  ]);
8253
8253
  }, hl = function(r, e, t, n) {
8254
- return Ae.of(Ee.StrokingColorCmyk, [
8254
+ return Re.of(Ee.StrokingColorCmyk, [
8255
8255
  pe(r),
8256
8256
  pe(e),
8257
8257
  pe(t),
8258
8258
  pe(n)
8259
8259
  ]);
8260
8260
  }, as = function(r) {
8261
- return Ae.of(Ee.BeginMarkedContent, [ui(r)]);
8261
+ return Re.of(Ee.BeginMarkedContent, [ui(r)]);
8262
8262
  }, os = function() {
8263
- return Ae.of(Ee.EndMarkedContent);
8263
+ return Re.of(Ee.EndMarkedContent);
8264
8264
  }, ar;
8265
8265
  (function(r) {
8266
8266
  r.Grayscale = "Grayscale", r.RGB = "RGB", r.CMYK = "CMYK";
8267
8267
  })(ar || (ar = {}));
8268
8268
  var ss = function(r) {
8269
8269
  return pt(r, "gray", 0, 1), { type: ar.Grayscale, gray: r };
8270
- }, Ve = function(r, e, t) {
8270
+ }, We = function(r, e, t) {
8271
8271
  return pt(r, "red", 0, 1), pt(e, "green", 0, 1), pt(t, "blue", 0, 1), { type: ar.RGB, red: r, green: e, blue: t };
8272
8272
  }, us = function(r, e, t, n) {
8273
8273
  return pt(r, "cyan", 0, 1), pt(e, "magenta", 0, 1), pt(t, "yellow", 0, 1), pt(n, "key", 0, 1), { type: ar.CMYK, cyan: r, magenta: e, yellow: t, key: n };
@@ -8276,10 +8276,10 @@ var ss = function(r) {
8276
8276
  }, yn = function(r) {
8277
8277
  return r.type === sa ? ul(r.gray) : r.type === ua ? ll(r.red, r.green, r.blue) : r.type === fa ? hl(r.cyan, r.magenta, r.yellow, r.key) : dn("Invalid color: " + JSON.stringify(r));
8278
8278
  }, lt = function(r, e) {
8279
- return e === void 0 && (e = 1), (r == null ? void 0 : r.length) === 1 ? ss(r[0] * e) : (r == null ? void 0 : r.length) === 3 ? Ve(r[0] * e, r[1] * e, r[2] * e) : (r == null ? void 0 : r.length) === 4 ? us(r[0] * e, r[1] * e, r[2] * e, r[3] * e) : void 0;
8279
+ return e === void 0 && (e = 1), (r == null ? void 0 : r.length) === 1 ? ss(r[0] * e) : (r == null ? void 0 : r.length) === 3 ? We(r[0] * e, r[1] * e, r[2] * e) : (r == null ? void 0 : r.length) === 4 ? us(r[0] * e, r[1] * e, r[2] * e, r[3] * e) : void 0;
8280
8280
  }, $a = function(r) {
8281
8281
  return r.type === sa ? [r.gray] : r.type === ua ? [r.red, r.green, r.blue] : r.type === fa ? [r.cyan, r.magenta, r.yellow, r.key] : dn("Invalid color: " + JSON.stringify(r));
8282
- }, ue = 0, fe = 0, Pe = 0, Te = 0, Jr = 0, Qr = 0, eo = /* @__PURE__ */ new Map([
8282
+ }, ue = 0, fe = 0, Ae = 0, De = 0, Jr = 0, Qr = 0, eo = /* @__PURE__ */ new Map([
8283
8283
  ["A", 7],
8284
8284
  ["a", 7],
8285
8285
  ["C", 6],
@@ -8314,7 +8314,7 @@ var ss = function(r) {
8314
8314
  }
8315
8315
  return i.length > 0 && (n.length === o ? (t[t.length] = { cmd: e, args: n }, n = [+i], e === "M" && (e = "L"), e === "m" && (e = "l")) : n[n.length] = +i), t[t.length] = { cmd: e, args: n }, t;
8316
8316
  }, vl = function(r) {
8317
- ue = fe = Pe = Te = Jr = Qr = 0;
8317
+ ue = fe = Ae = De = Jr = Qr = 0;
8318
8318
  for (var e = [], t = 0; t < r.length; t++) {
8319
8319
  var n = r[t];
8320
8320
  if (n.cmd && typeof to[n.cmd] == "function") {
@@ -8325,43 +8325,43 @@ var ss = function(r) {
8325
8325
  return e;
8326
8326
  }, to = {
8327
8327
  M: function(r) {
8328
- return ue = r[0], fe = r[1], Pe = Te = null, Jr = ue, Qr = fe, Wt(ue, fe);
8328
+ return ue = r[0], fe = r[1], Ae = De = null, Jr = ue, Qr = fe, Wt(ue, fe);
8329
8329
  },
8330
8330
  m: function(r) {
8331
- return ue += r[0], fe += r[1], Pe = Te = null, Jr = ue, Qr = fe, Wt(ue, fe);
8331
+ return ue += r[0], fe += r[1], Ae = De = null, Jr = ue, Qr = fe, Wt(ue, fe);
8332
8332
  },
8333
8333
  C: function(r) {
8334
- return ue = r[4], fe = r[5], Pe = r[2], Te = r[3], gt(r[0], r[1], r[2], r[3], r[4], r[5]);
8334
+ return ue = r[4], fe = r[5], Ae = r[2], De = r[3], gt(r[0], r[1], r[2], r[3], r[4], r[5]);
8335
8335
  },
8336
8336
  c: function(r) {
8337
8337
  var e = gt(r[0] + ue, r[1] + fe, r[2] + ue, r[3] + fe, r[4] + ue, r[5] + fe);
8338
- return Pe = ue + r[2], Te = fe + r[3], ue += r[4], fe += r[5], e;
8338
+ return Ae = ue + r[2], De = fe + r[3], ue += r[4], fe += r[5], e;
8339
8339
  },
8340
8340
  S: function(r) {
8341
- (Pe === null || Te === null) && (Pe = ue, Te = fe);
8342
- var e = gt(ue - (Pe - ue), fe - (Te - fe), r[0], r[1], r[2], r[3]);
8343
- return Pe = r[0], Te = r[1], ue = r[2], fe = r[3], e;
8341
+ (Ae === null || De === null) && (Ae = ue, De = fe);
8342
+ var e = gt(ue - (Ae - ue), fe - (De - fe), r[0], r[1], r[2], r[3]);
8343
+ return Ae = r[0], De = r[1], ue = r[2], fe = r[3], e;
8344
8344
  },
8345
8345
  s: function(r) {
8346
- (Pe === null || Te === null) && (Pe = ue, Te = fe);
8347
- var e = gt(ue - (Pe - ue), fe - (Te - fe), ue + r[0], fe + r[1], ue + r[2], fe + r[3]);
8348
- return Pe = ue + r[0], Te = fe + r[1], ue += r[2], fe += r[3], e;
8346
+ (Ae === null || De === null) && (Ae = ue, De = fe);
8347
+ var e = gt(ue - (Ae - ue), fe - (De - fe), ue + r[0], fe + r[1], ue + r[2], fe + r[3]);
8348
+ return Ae = ue + r[0], De = fe + r[1], ue += r[2], fe += r[3], e;
8349
8349
  },
8350
8350
  Q: function(r) {
8351
- return Pe = r[0], Te = r[1], ue = r[2], fe = r[3], An(r[0], r[1], ue, fe);
8351
+ return Ae = r[0], De = r[1], ue = r[2], fe = r[3], An(r[0], r[1], ue, fe);
8352
8352
  },
8353
8353
  q: function(r) {
8354
8354
  var e = An(r[0] + ue, r[1] + fe, r[2] + ue, r[3] + fe);
8355
- return Pe = ue + r[0], Te = fe + r[1], ue += r[2], fe += r[3], e;
8355
+ return Ae = ue + r[0], De = fe + r[1], ue += r[2], fe += r[3], e;
8356
8356
  },
8357
8357
  T: function(r) {
8358
- Pe === null || Te === null ? (Pe = ue, Te = fe) : (Pe = ue - (Pe - ue), Te = fe - (Te - fe));
8359
- var e = An(Pe, Te, r[0], r[1]);
8360
- return Pe = ue - (Pe - ue), Te = fe - (Te - fe), ue = r[0], fe = r[1], e;
8358
+ Ae === null || De === null ? (Ae = ue, De = fe) : (Ae = ue - (Ae - ue), De = fe - (De - fe));
8359
+ var e = An(Ae, De, r[0], r[1]);
8360
+ return Ae = ue - (Ae - ue), De = fe - (De - fe), ue = r[0], fe = r[1], e;
8361
8361
  },
8362
8362
  t: function(r) {
8363
- Pe === null || Te === null ? (Pe = ue, Te = fe) : (Pe = ue - (Pe - ue), Te = fe - (Te - fe));
8364
- var e = An(Pe, Te, ue + r[0], fe + r[1]);
8363
+ Ae === null || De === null ? (Ae = ue, De = fe) : (Ae = ue - (Ae - ue), De = fe - (De - fe));
8364
+ var e = An(Ae, De, ue + r[0], fe + r[1]);
8365
8365
  return ue += r[0], fe += r[1], e;
8366
8366
  },
8367
8367
  A: function(r) {
@@ -8374,22 +8374,22 @@ var ss = function(r) {
8374
8374
  return ue = r[5], fe = r[6], e;
8375
8375
  },
8376
8376
  L: function(r) {
8377
- return ue = r[0], fe = r[1], Pe = Te = null, tt(ue, fe);
8377
+ return ue = r[0], fe = r[1], Ae = De = null, tt(ue, fe);
8378
8378
  },
8379
8379
  l: function(r) {
8380
- return ue += r[0], fe += r[1], Pe = Te = null, tt(ue, fe);
8380
+ return ue += r[0], fe += r[1], Ae = De = null, tt(ue, fe);
8381
8381
  },
8382
8382
  H: function(r) {
8383
- return ue = r[0], Pe = Te = null, tt(ue, fe);
8383
+ return ue = r[0], Ae = De = null, tt(ue, fe);
8384
8384
  },
8385
8385
  h: function(r) {
8386
- return ue += r[0], Pe = Te = null, tt(ue, fe);
8386
+ return ue += r[0], Ae = De = null, tt(ue, fe);
8387
8387
  },
8388
8388
  V: function(r) {
8389
- return fe = r[0], Pe = Te = null, tt(ue, fe);
8389
+ return fe = r[0], Ae = De = null, tt(ue, fe);
8390
8390
  },
8391
8391
  v: function(r) {
8392
- return fe += r[0], Pe = Te = null, tt(ue, fe);
8392
+ return fe += r[0], Ae = De = null, tt(ue, fe);
8393
8393
  },
8394
8394
  Z: function() {
8395
8395
  var r = ir();
@@ -8407,28 +8407,28 @@ var ss = function(r) {
8407
8407
  return h;
8408
8408
  }, pl = function(r, e, t, n, i, a, o, s, f) {
8409
8409
  var u = o * (Math.PI / 180), c = Math.sin(u), h = Math.cos(u);
8410
- t = Math.abs(t), n = Math.abs(n), Pe = h * (s - r) * 0.5 + c * (f - e) * 0.5, Te = h * (f - e) * 0.5 - c * (s - r) * 0.5;
8411
- var d = Pe * Pe / (t * t) + Te * Te / (n * n);
8410
+ t = Math.abs(t), n = Math.abs(n), Ae = h * (s - r) * 0.5 + c * (f - e) * 0.5, De = h * (f - e) * 0.5 - c * (s - r) * 0.5;
8411
+ var d = Ae * Ae / (t * t) + De * De / (n * n);
8412
8412
  d > 1 && (d = Math.sqrt(d), t *= d, n *= d);
8413
- var v = h / t, g = c / t, m = -c / n, C = h / n, S = v * s + g * f, A = m * s + C * f, k = v * r + g * e, E = m * r + C * e, B = (k - S) * (k - S) + (E - A) * (E - A), R = 1 / B - 0.25;
8413
+ var v = h / t, g = c / t, m = -c / n, S = h / n, F = v * s + g * f, A = m * s + S * f, k = v * r + g * e, E = m * r + S * e, B = (k - F) * (k - F) + (E - A) * (E - A), R = 1 / B - 0.25;
8414
8414
  R < 0 && (R = 0);
8415
8415
  var D = Math.sqrt(R);
8416
8416
  a === i && (D = -D);
8417
- var V = 0.5 * (S + k) - D * (E - A), I = 0.5 * (A + E) + D * (k - S), U = Math.atan2(A - I, S - V), q = Math.atan2(E - I, k - V), G = q - U;
8418
- G < 0 && a === 1 ? G += 2 * Math.PI : G > 0 && a === 0 && (G -= 2 * Math.PI);
8419
- for (var N = Math.ceil(Math.abs(G / (Math.PI * 0.5 + 1e-3))), X = [], $ = 0; $ < N; $++) {
8420
- var _ = U + $ * G / N, Q = U + ($ + 1) * G / N;
8421
- X[$] = [V, I, _, Q, t, n, c, h];
8417
+ var V = 0.5 * (F + k) - D * (E - A), I = 0.5 * (A + E) + D * (k - F), U = Math.atan2(A - I, F - V), q = Math.atan2(E - I, k - V), H = q - U;
8418
+ H < 0 && a === 1 ? H += 2 * Math.PI : H > 0 && a === 0 && (H -= 2 * Math.PI);
8419
+ for (var N = Math.ceil(Math.abs(H / (Math.PI * 0.5 + 1e-3))), X = [], $ = 0; $ < N; $++) {
8420
+ var Q = U + $ * H / N, _ = U + ($ + 1) * H / N;
8421
+ X[$] = [V, I, Q, _, t, n, c, h];
8422
8422
  }
8423
8423
  return X;
8424
8424
  }, gl = function(r, e, t, n, i, a, o, s) {
8425
- var f = s * i, u = -o * a, c = o * i, h = s * a, d = 0.5 * (n - t), v = 8 / 3 * Math.sin(d * 0.5) * Math.sin(d * 0.5) / Math.sin(d), g = r + Math.cos(t) - v * Math.sin(t), m = e + Math.sin(t) + v * Math.cos(t), C = r + Math.cos(n), S = e + Math.sin(n), A = C + v * Math.sin(n), k = S - v * Math.cos(n), E = [
8425
+ var f = s * i, u = -o * a, c = o * i, h = s * a, d = 0.5 * (n - t), v = 8 / 3 * Math.sin(d * 0.5) * Math.sin(d * 0.5) / Math.sin(d), g = r + Math.cos(t) - v * Math.sin(t), m = e + Math.sin(t) + v * Math.cos(t), S = r + Math.cos(n), F = e + Math.sin(n), A = S + v * Math.sin(n), k = F - v * Math.cos(n), E = [
8426
8426
  f * g + u * m,
8427
8427
  c * g + h * m,
8428
8428
  f * A + u * k,
8429
8429
  c * A + h * k,
8430
- f * C + u * S,
8431
- c * C + h * S
8430
+ f * S + u * F,
8431
+ c * S + h * F
8432
8432
  ];
8433
8433
  return E;
8434
8434
  }, yl = function(r) {
@@ -8735,13 +8735,13 @@ var ss = function(r) {
8735
8735
  rotate: de(0),
8736
8736
  xSkew: de(0),
8737
8737
  ySkew: de(0)
8738
- }), g = [], m = 0, C = r.selectedLines.length; m < C; m++) {
8739
- var S = r.textLines[r.selectedLines[m]];
8738
+ }), g = [], m = 0, S = r.selectedLines.length; m < S; m++) {
8739
+ var F = r.textLines[r.selectedLines[m]];
8740
8740
  g.push.apply(g, Nr({
8741
- x: S.x - s,
8742
- y: S.y - (a - S.height) / 2,
8741
+ x: F.x - s,
8742
+ y: F.y - (a - F.height) / 2,
8743
8743
  width: n - o,
8744
- height: S.height + (a - S.height) / 2,
8744
+ height: F.height + (a - F.height) / 2,
8745
8745
  borderWidth: 0,
8746
8746
  color: r.selectedColor,
8747
8747
  borderColor: void 0,
@@ -8923,7 +8923,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
8923
8923
  }
8924
8924
  if (!n && a > r.length)
8925
8925
  return i - 1;
8926
- var C = e.heightAtSize(i), S = C + C * 0.2, A = S * a;
8926
+ var S = e.heightAtSize(i), F = S + S * 0.2, A = F * a;
8927
8927
  if (A > Math.abs(t.height))
8928
8928
  return i - 1;
8929
8929
  i += 1;
@@ -8964,10 +8964,10 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
8964
8964
  }, ps = function(r, e) {
8965
8965
  var t = e.alignment, n = e.fontSize, i = e.font, a = e.bounds, o = co(hn(r));
8966
8966
  (n === void 0 || n === 0) && (n = vs(o, i, a, !0));
8967
- for (var s = i.heightAtSize(n), f = s + s * 0.2, u = [], c = a.x, h = a.y, d = a.x + a.width, v = a.y + a.height, g = a.y + a.height, m = 0, C = o.length; m < C; m++)
8968
- for (var S = o[m]; S !== void 0; ) {
8969
- var A = jl(S, a.width, i, n), k = A.line, E = A.encoded, B = A.width, R = A.remainder, D = t === Qe.Left ? a.x : t === Qe.Center ? a.x + a.width / 2 - B / 2 : t === Qe.Right ? a.x + a.width - B : a.x;
8970
- g -= f, D < c && (c = D), g < h && (h = g), D + B > d && (d = D + B), g + s > v && (v = g + s), u.push({ text: k, encoded: E, width: B, height: s, x: D, y: g }), S = R == null ? void 0 : R.trim();
8967
+ for (var s = i.heightAtSize(n), f = s + s * 0.2, u = [], c = a.x, h = a.y, d = a.x + a.width, v = a.y + a.height, g = a.y + a.height, m = 0, S = o.length; m < S; m++)
8968
+ for (var F = o[m]; F !== void 0; ) {
8969
+ var A = jl(F, a.width, i, n), k = A.line, E = A.encoded, B = A.width, R = A.remainder, D = t === Qe.Left ? a.x : t === Qe.Center ? a.x + a.width / 2 - B / 2 : t === Qe.Right ? a.x + a.width - B : a.x;
8970
+ g -= f, D < c && (c = D), g < h && (h = g), D + B > d && (d = D + B), g + s > v && (v = g + s), u.push({ text: k, encoded: E, width: B, height: s, x: D, y: g }), F = R == null ? void 0 : R.trim();
8971
8971
  }
8972
8972
  return {
8973
8973
  fontSize: n,
@@ -8985,9 +8985,9 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
8985
8985
  if (o.length > a)
8986
8986
  throw new Bl(o.length, a);
8987
8987
  (t === void 0 || t === 0) && (t = Nl(o, n, i, a));
8988
- for (var s = i.width / a, f = n.heightAtSize(t, { descender: !1 }), u = i.y + (i.height / 2 - f / 2), c = [], h = i.x, d = i.y, v = i.x + i.width, g = i.y + i.height, m = 0, C = 0; m < a; ) {
8989
- var S = vo(o, C), A = S[0], k = S[1], E = n.encodeText(A), B = n.widthOfTextAtSize(A, t), R = i.x + (s * m + s / 2), D = R - B / 2;
8990
- D < h && (h = D), u < d && (d = u), D + B > v && (v = D + B), u + f > g && (g = u + f), c.push({ text: o, encoded: E, width: B, height: f, x: D, y: u }), m += 1, C += k;
8988
+ for (var s = i.width / a, f = n.heightAtSize(t, { descender: !1 }), u = i.y + (i.height / 2 - f / 2), c = [], h = i.x, d = i.y, v = i.x + i.width, g = i.y + i.height, m = 0, S = 0; m < a; ) {
8989
+ var F = vo(o, S), A = F[0], k = F[1], E = n.encodeText(A), B = n.widthOfTextAtSize(A, t), R = i.x + (s * m + s / 2), D = R - B / 2;
8990
+ D < h && (h = D), u < d && (d = u), D + B > v && (v = D + B), u + f > g && (g = u + f), c.push({ text: o, encoded: E, width: B, height: f, x: D, y: u }), m += 1, S += k;
8991
8991
  }
8992
8992
  return {
8993
8993
  fontSize: t,
@@ -9018,7 +9018,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9018
9018
  if (u === "g" && a)
9019
9019
  return ss(Number(a));
9020
9020
  if (u === "rg" && a && o && s)
9021
- return Ve(Number(a), Number(o), Number(s));
9021
+ return We(Number(a), Number(o), Number(s));
9022
9022
  if (u === "k" && a && o && s && f)
9023
9023
  return us(Number(a), Number(o), Number(s), Number(f));
9024
9024
  }, Ot = function(r, e, t, n) {
@@ -9031,7 +9031,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9031
9031
  `);
9032
9032
  r.setDefaultAppearance(a);
9033
9033
  }, ql = function(r, e) {
9034
- var t, n, i, a = Rt(e), o = Rt(r.acroField), s = e.getRectangle(), f = e.getAppearanceCharacteristics(), u = e.getBorderStyle(), c = (t = u == null ? void 0 : u.getWidth()) !== null && t !== void 0 ? t : 0, h = Yt(f == null ? void 0 : f.getRotation()), d = yr(s, h), v = d.width, g = d.height, m = fr(ye(ye({}, s), { rotation: h })), C = Ve(0, 0, 0), S = (n = lt(f == null ? void 0 : f.getBorderColor())) !== null && n !== void 0 ? n : C, A = lt(f == null ? void 0 : f.getBackgroundColor()), k = lt(f == null ? void 0 : f.getBackgroundColor(), 0.8), E = (i = a ?? o) !== null && i !== void 0 ? i : C;
9034
+ var t, n, i, a = Rt(e), o = Rt(r.acroField), s = e.getRectangle(), f = e.getAppearanceCharacteristics(), u = e.getBorderStyle(), c = (t = u == null ? void 0 : u.getWidth()) !== null && t !== void 0 ? t : 0, h = Yt(f == null ? void 0 : f.getRotation()), d = yr(s, h), v = d.width, g = d.height, m = fr(ye(ye({}, s), { rotation: h })), S = We(0, 0, 0), F = (n = lt(f == null ? void 0 : f.getBorderColor())) !== null && n !== void 0 ? n : S, A = lt(f == null ? void 0 : f.getBackgroundColor()), k = lt(f == null ? void 0 : f.getBackgroundColor(), 0.8), E = (i = a ?? o) !== null && i !== void 0 ? i : S;
9035
9035
  Ot(a ? e : r.acroField, E);
9036
9036
  var B = {
9037
9037
  x: 0 + c / 2,
@@ -9040,7 +9040,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9040
9040
  height: g - c,
9041
9041
  thickness: 1.5,
9042
9042
  borderWidth: c,
9043
- borderColor: S,
9043
+ borderColor: F,
9044
9044
  markColor: E
9045
9045
  };
9046
9046
  return {
@@ -9054,7 +9054,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9054
9054
  }
9055
9055
  };
9056
9056
  }, Ll = function(r, e) {
9057
- var t, n, i, a = Rt(e), o = Rt(r.acroField), s = e.getRectangle(), f = e.getAppearanceCharacteristics(), u = e.getBorderStyle(), c = (t = u == null ? void 0 : u.getWidth()) !== null && t !== void 0 ? t : 0, h = Yt(f == null ? void 0 : f.getRotation()), d = yr(s, h), v = d.width, g = d.height, m = fr(ye(ye({}, s), { rotation: h })), C = Ve(0, 0, 0), S = (n = lt(f == null ? void 0 : f.getBorderColor())) !== null && n !== void 0 ? n : C, A = lt(f == null ? void 0 : f.getBackgroundColor()), k = lt(f == null ? void 0 : f.getBackgroundColor(), 0.8), E = (i = a ?? o) !== null && i !== void 0 ? i : C;
9057
+ var t, n, i, a = Rt(e), o = Rt(r.acroField), s = e.getRectangle(), f = e.getAppearanceCharacteristics(), u = e.getBorderStyle(), c = (t = u == null ? void 0 : u.getWidth()) !== null && t !== void 0 ? t : 0, h = Yt(f == null ? void 0 : f.getRotation()), d = yr(s, h), v = d.width, g = d.height, m = fr(ye(ye({}, s), { rotation: h })), S = We(0, 0, 0), F = (n = lt(f == null ? void 0 : f.getBorderColor())) !== null && n !== void 0 ? n : S, A = lt(f == null ? void 0 : f.getBackgroundColor()), k = lt(f == null ? void 0 : f.getBackgroundColor(), 0.8), E = (i = a ?? o) !== null && i !== void 0 ? i : S;
9058
9058
  Ot(a ? e : r.acroField, E);
9059
9059
  var B = {
9060
9060
  x: v / 2,
@@ -9062,7 +9062,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9062
9062
  width: v - c,
9063
9063
  height: g - c,
9064
9064
  borderWidth: c,
9065
- borderColor: S,
9065
+ borderColor: F,
9066
9066
  dotColor: E
9067
9067
  };
9068
9068
  return {
@@ -9076,69 +9076,69 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9076
9076
  }
9077
9077
  };
9078
9078
  }, Kl = function(r, e, t) {
9079
- var n, i, a, o, s, f = Rt(e), u = Rt(r.acroField), c = or(e), h = or(r.acroField), d = e.getRectangle(), v = e.getAppearanceCharacteristics(), g = e.getBorderStyle(), m = v == null ? void 0 : v.getCaptions(), C = (n = m == null ? void 0 : m.normal) !== null && n !== void 0 ? n : "", S = (a = (i = m == null ? void 0 : m.down) !== null && i !== void 0 ? i : C) !== null && a !== void 0 ? a : "", A = (o = g == null ? void 0 : g.getWidth()) !== null && o !== void 0 ? o : 0, k = Yt(v == null ? void 0 : v.getRotation()), E = yr(d, k), B = E.width, R = E.height, D = fr(ye(ye({}, d), { rotation: k })), V = Ve(0, 0, 0), I = lt(v == null ? void 0 : v.getBorderColor()), U = lt(v == null ? void 0 : v.getBackgroundColor()), q = lt(v == null ? void 0 : v.getBackgroundColor(), 0.8), G = {
9079
+ var n, i, a, o, s, f = Rt(e), u = Rt(r.acroField), c = or(e), h = or(r.acroField), d = e.getRectangle(), v = e.getAppearanceCharacteristics(), g = e.getBorderStyle(), m = v == null ? void 0 : v.getCaptions(), S = (n = m == null ? void 0 : m.normal) !== null && n !== void 0 ? n : "", F = (a = (i = m == null ? void 0 : m.down) !== null && i !== void 0 ? i : S) !== null && a !== void 0 ? a : "", A = (o = g == null ? void 0 : g.getWidth()) !== null && o !== void 0 ? o : 0, k = Yt(v == null ? void 0 : v.getRotation()), E = yr(d, k), B = E.width, R = E.height, D = fr(ye(ye({}, d), { rotation: k })), V = We(0, 0, 0), I = lt(v == null ? void 0 : v.getBorderColor()), U = lt(v == null ? void 0 : v.getBackgroundColor()), q = lt(v == null ? void 0 : v.getBackgroundColor(), 0.8), H = {
9080
9080
  x: A,
9081
9081
  y: A,
9082
9082
  width: B - A * 2,
9083
9083
  height: R - A * 2
9084
- }, N = Zn(C, {
9084
+ }, N = Zn(S, {
9085
9085
  alignment: Qe.Center,
9086
9086
  fontSize: c ?? h,
9087
9087
  font: t,
9088
- bounds: G
9089
- }), X = Zn(S, {
9088
+ bounds: H
9089
+ }), X = Zn(F, {
9090
9090
  alignment: Qe.Center,
9091
9091
  fontSize: c ?? h,
9092
9092
  font: t,
9093
- bounds: G
9094
- }), $ = Math.min(N.fontSize, X.fontSize), _ = (s = f ?? u) !== null && s !== void 0 ? s : V;
9095
- Ot(f || c !== void 0 ? e : r.acroField, _, t, $);
9096
- var Q = {
9093
+ bounds: H
9094
+ }), $ = Math.min(N.fontSize, X.fontSize), Q = (s = f ?? u) !== null && s !== void 0 ? s : V;
9095
+ Ot(f || c !== void 0 ? e : r.acroField, Q, t, $);
9096
+ var _ = {
9097
9097
  x: 0 + A / 2,
9098
9098
  y: 0 + A / 2,
9099
9099
  width: B - A,
9100
9100
  height: R - A,
9101
9101
  borderWidth: A,
9102
9102
  borderColor: I,
9103
- textColor: _,
9103
+ textColor: Q,
9104
9104
  font: t.name,
9105
9105
  fontSize: $
9106
9106
  };
9107
9107
  return {
9108
- normal: Oe(D, no(ye(ye({}, Q), { color: U, textLines: [N.line] }))),
9109
- down: Oe(D, no(ye(ye({}, Q), { color: q, textLines: [X.line] })))
9108
+ normal: Oe(D, no(ye(ye({}, _), { color: U, textLines: [N.line] }))),
9109
+ down: Oe(D, no(ye(ye({}, _), { color: q, textLines: [X.line] })))
9110
9110
  };
9111
9111
  }, Gl = function(r, e, t) {
9112
- var n, i, a, o, s = Rt(e), f = Rt(r.acroField), u = or(e), c = or(r.acroField), h = e.getRectangle(), d = e.getAppearanceCharacteristics(), v = e.getBorderStyle(), g = (n = r.getText()) !== null && n !== void 0 ? n : "", m = (i = v == null ? void 0 : v.getWidth()) !== null && i !== void 0 ? i : 0, C = Yt(d == null ? void 0 : d.getRotation()), S = yr(h, C), A = S.width, k = S.height, E = fr(ye(ye({}, h), { rotation: C })), B = Ve(0, 0, 0), R = lt(d == null ? void 0 : d.getBorderColor()), D = lt(d == null ? void 0 : d.getBackgroundColor()), V, I, U = r.isCombed() ? 0 : 1, q = {
9112
+ var n, i, a, o, s = Rt(e), f = Rt(r.acroField), u = or(e), c = or(r.acroField), h = e.getRectangle(), d = e.getAppearanceCharacteristics(), v = e.getBorderStyle(), g = (n = r.getText()) !== null && n !== void 0 ? n : "", m = (i = v == null ? void 0 : v.getWidth()) !== null && i !== void 0 ? i : 0, S = Yt(d == null ? void 0 : d.getRotation()), F = yr(h, S), A = F.width, k = F.height, E = fr(ye(ye({}, h), { rotation: S })), B = We(0, 0, 0), R = lt(d == null ? void 0 : d.getBorderColor()), D = lt(d == null ? void 0 : d.getBackgroundColor()), V, I, U = r.isCombed() ? 0 : 1, q = {
9113
9113
  x: m + U,
9114
9114
  y: m + U,
9115
9115
  width: A - (m + U) * 2,
9116
9116
  height: k - (m + U) * 2
9117
9117
  };
9118
9118
  if (r.isMultiline()) {
9119
- var G = ps(g, {
9119
+ var H = ps(g, {
9120
9120
  alignment: r.getAlignment(),
9121
9121
  fontSize: u ?? c,
9122
9122
  font: t,
9123
9123
  bounds: q
9124
9124
  });
9125
- V = G.lines, I = G.fontSize;
9125
+ V = H.lines, I = H.fontSize;
9126
9126
  } else if (r.isCombed()) {
9127
- var G = Ul(g, {
9127
+ var H = Ul(g, {
9128
9128
  fontSize: u ?? c,
9129
9129
  font: t,
9130
9130
  bounds: q,
9131
9131
  cellCount: (a = r.getMaxLength()) !== null && a !== void 0 ? a : 0
9132
9132
  });
9133
- V = G.cells, I = G.fontSize;
9133
+ V = H.cells, I = H.fontSize;
9134
9134
  } else {
9135
- var G = Zn(g, {
9135
+ var H = Zn(g, {
9136
9136
  alignment: r.getAlignment(),
9137
9137
  fontSize: u ?? c,
9138
9138
  font: t,
9139
9139
  bounds: q
9140
9140
  });
9141
- V = [G.line], I = G.fontSize;
9141
+ V = [H.line], I = H.fontSize;
9142
9142
  }
9143
9143
  var N = (o = s ?? f) !== null && o !== void 0 ? o : B;
9144
9144
  Ot(s || u !== void 0 ? e : r.acroField, N, t, I);
@@ -9158,26 +9158,26 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9158
9158
  };
9159
9159
  return Oe(E, ls(X));
9160
9160
  }, Hl = function(r, e, t) {
9161
- var n, i, a, o = Rt(e), s = Rt(r.acroField), f = or(e), u = or(r.acroField), c = e.getRectangle(), h = e.getAppearanceCharacteristics(), d = e.getBorderStyle(), v = (n = r.getSelected()[0]) !== null && n !== void 0 ? n : "", g = (i = d == null ? void 0 : d.getWidth()) !== null && i !== void 0 ? i : 0, m = Yt(h == null ? void 0 : h.getRotation()), C = yr(c, m), S = C.width, A = C.height, k = fr(ye(ye({}, c), { rotation: m })), E = Ve(0, 0, 0), B = lt(h == null ? void 0 : h.getBorderColor()), R = lt(h == null ? void 0 : h.getBackgroundColor()), D = 1, V = {
9161
+ var n, i, a, o = Rt(e), s = Rt(r.acroField), f = or(e), u = or(r.acroField), c = e.getRectangle(), h = e.getAppearanceCharacteristics(), d = e.getBorderStyle(), v = (n = r.getSelected()[0]) !== null && n !== void 0 ? n : "", g = (i = d == null ? void 0 : d.getWidth()) !== null && i !== void 0 ? i : 0, m = Yt(h == null ? void 0 : h.getRotation()), S = yr(c, m), F = S.width, A = S.height, k = fr(ye(ye({}, c), { rotation: m })), E = We(0, 0, 0), B = lt(h == null ? void 0 : h.getBorderColor()), R = lt(h == null ? void 0 : h.getBackgroundColor()), D = 1, V = {
9162
9162
  x: g + D,
9163
9163
  y: g + D,
9164
- width: S - (g + D) * 2,
9164
+ width: F - (g + D) * 2,
9165
9165
  height: A - (g + D) * 2
9166
9166
  }, I = Zn(v, {
9167
9167
  alignment: Qe.Left,
9168
9168
  fontSize: f ?? u,
9169
9169
  font: t,
9170
9170
  bounds: V
9171
- }), U = I.line, q = I.fontSize, G = (a = o ?? s) !== null && a !== void 0 ? a : E;
9172
- Ot(o || f !== void 0 ? e : r.acroField, G, t, q);
9171
+ }), U = I.line, q = I.fontSize, H = (a = o ?? s) !== null && a !== void 0 ? a : E;
9172
+ Ot(o || f !== void 0 ? e : r.acroField, H, t, q);
9173
9173
  var N = {
9174
9174
  x: 0 + g / 2,
9175
9175
  y: 0 + g / 2,
9176
- width: S - g,
9176
+ width: F - g,
9177
9177
  height: A - g,
9178
9178
  borderWidth: g ?? 0,
9179
9179
  borderColor: B,
9180
- textColor: G,
9180
+ textColor: H,
9181
9181
  font: t.name,
9182
9182
  fontSize: q,
9183
9183
  color: R,
@@ -9186,7 +9186,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9186
9186
  };
9187
9187
  return Oe(k, ls(N));
9188
9188
  }, Xl = function(r, e, t) {
9189
- var n, i, a = Rt(e), o = Rt(r.acroField), s = or(e), f = or(r.acroField), u = e.getRectangle(), c = e.getAppearanceCharacteristics(), h = e.getBorderStyle(), d = (n = h == null ? void 0 : h.getWidth()) !== null && n !== void 0 ? n : 0, v = Yt(c == null ? void 0 : c.getRotation()), g = yr(u, v), m = g.width, C = g.height, S = fr(ye(ye({}, u), { rotation: v })), A = Ve(0, 0, 0), k = lt(c == null ? void 0 : c.getBorderColor()), E = lt(c == null ? void 0 : c.getBackgroundColor()), B = r.getOptions(), R = r.getSelected();
9189
+ var n, i, a = Rt(e), o = Rt(r.acroField), s = or(e), f = or(r.acroField), u = e.getRectangle(), c = e.getAppearanceCharacteristics(), h = e.getBorderStyle(), d = (n = h == null ? void 0 : h.getWidth()) !== null && n !== void 0 ? n : 0, v = Yt(c == null ? void 0 : c.getRotation()), g = yr(u, v), m = g.width, S = g.height, F = fr(ye(ye({}, u), { rotation: v })), A = We(0, 0, 0), k = lt(c == null ? void 0 : c.getBorderColor()), E = lt(c == null ? void 0 : c.getBackgroundColor()), B = r.getOptions(), R = r.getSelected();
9190
9190
  r.isSorted() && B.sort();
9191
9191
  for (var D = "", V = 0, I = B.length; V < I; V++)
9192
9192
  D += B[V], V < I - 1 && (D += `
@@ -9195,22 +9195,22 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9195
9195
  x: d + U,
9196
9196
  y: d + U,
9197
9197
  width: m - (d + U) * 2,
9198
- height: C - (d + U) * 2
9199
- }, G = ps(D, {
9198
+ height: S - (d + U) * 2
9199
+ }, H = ps(D, {
9200
9200
  alignment: Qe.Left,
9201
9201
  fontSize: s ?? f,
9202
9202
  font: t,
9203
9203
  bounds: q
9204
- }), N = G.lines, X = G.fontSize, $ = G.lineHeight, _ = [], V = 0, I = N.length; V < I; V++) {
9205
- var Q = N[V];
9206
- R.includes(Q.text) && _.push(V);
9204
+ }), N = H.lines, X = H.fontSize, $ = H.lineHeight, Q = [], V = 0, I = N.length; V < I; V++) {
9205
+ var _ = N[V];
9206
+ R.includes(_.text) && Q.push(V);
9207
9207
  }
9208
- var Fe = Ve(153 / 255, 193 / 255, 218 / 255), le = (i = a ?? o) !== null && i !== void 0 ? i : A;
9209
- return Ot(a || s !== void 0 ? e : r.acroField, le, t, X), Oe(S, kl({
9208
+ var Fe = We(153 / 255, 193 / 255, 218 / 255), le = (i = a ?? o) !== null && i !== void 0 ? i : A;
9209
+ return Ot(a || s !== void 0 ? e : r.acroField, le, t, X), Oe(F, kl({
9210
9210
  x: 0 + d / 2,
9211
9211
  y: 0 + d / 2,
9212
9212
  width: m - d,
9213
- height: C - d,
9213
+ height: S - d,
9214
9214
  borderWidth: d ?? 0,
9215
9215
  borderColor: k,
9216
9216
  textColor: le,
@@ -9220,14 +9220,14 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9220
9220
  textLines: N,
9221
9221
  lineHeight: $,
9222
9222
  selectedColor: Fe,
9223
- selectedLines: _,
9223
+ selectedLines: Q,
9224
9224
  padding: U
9225
9225
  }));
9226
9226
  }, gs = (
9227
9227
  /** @class */
9228
9228
  (function() {
9229
9229
  function r(e, t, n) {
9230
- this.alreadyEmbedded = !1, O(e, "ref", [[Ue, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [[Wo, "PDFPageEmbedder"]]), this.ref = e, this.doc = t, this.width = n.width, this.height = n.height, this.embedder = n;
9230
+ this.alreadyEmbedded = !1, O(e, "ref", [[Ve, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [[Wo, "PDFPageEmbedder"]]), this.ref = e, this.doc = t, this.width = n.width, this.height = n.height, this.embedder = n;
9231
9231
  }
9232
9232
  return r.prototype.scale = function(e) {
9233
9233
  return O(e, "factor", ["number"]), { width: this.width * e, height: this.height * e };
@@ -9257,7 +9257,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9257
9257
  /** @class */
9258
9258
  (function() {
9259
9259
  function r(e, t, n) {
9260
- this.modified = !0, O(e, "ref", [[Ue, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [
9260
+ this.modified = !0, O(e, "ref", [[Ve, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [
9261
9261
  [Ji, "CustomFontEmbedder"],
9262
9262
  [Vn, "StandardFontEmbedder"]
9263
9263
  ]), this.ref = e, this.doc = t, this.name = n.fontName, this.embedder = n;
@@ -9299,7 +9299,7 @@ var hs = 4, ds = 500, vs = function(r, e, t, n) {
9299
9299
  /** @class */
9300
9300
  (function() {
9301
9301
  function r(e, t, n) {
9302
- O(e, "ref", [[Ue, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [
9302
+ O(e, "ref", [[Ve, "PDFRef"]]), O(t, "doc", [[gr, "PDFDocument"]]), O(n, "embedder", [
9303
9303
  [Mo, "JpegEmbedder"],
9304
9304
  [jo, "PngEmbedder"]
9305
9305
  ]), this.ref = e, this.doc = t, this.width = n.width, this.height = n.height, this.embedder = n;
@@ -9350,7 +9350,7 @@ var Vr = function(r) {
9350
9350
  /** @class */
9351
9351
  (function() {
9352
9352
  function r(e, t, n) {
9353
- O(e, "acroField", [[Mr, "PDFAcroTerminal"]]), O(t, "ref", [[Ue, "PDFRef"]]), O(n, "doc", [[gr, "PDFDocument"]]), this.acroField = e, this.ref = t, this.doc = n;
9353
+ O(e, "acroField", [[Mr, "PDFAcroTerminal"]]), O(t, "ref", [[Ve, "PDFRef"]]), O(n, "doc", [[gr, "PDFDocument"]]), this.acroField = e, this.ref = t, this.doc = n;
9354
9354
  }
9355
9355
  return r.prototype.getName = function() {
9356
9356
  var e;
@@ -9386,10 +9386,10 @@ var Vr = function(r) {
9386
9386
  }, r.prototype.createWidget = function(e) {
9387
9387
  var t, n = e.textColor, i = e.backgroundColor, a = e.borderColor, o = e.borderWidth, s = _o(e.rotate), f = e.caption, u = e.x, c = e.y, h = e.width + o, d = e.height + o, v = !!e.hidden, g = e.page;
9388
9388
  Ro(s, "degreesAngle", 90);
9389
- var m = zi.create(this.doc.context, this.ref), C = nl({ x: u, y: c, width: h, height: d }, o, s);
9390
- m.setRectangle(C), g && m.setP(g);
9391
- var S = m.getOrCreateAppearanceCharacteristics();
9392
- i && S.setBackgroundColor($a(i)), S.setRotation(s), f && S.setCaptions({ normal: f }), a && S.setBorderColor($a(a));
9389
+ var m = zi.create(this.doc.context, this.ref), S = nl({ x: u, y: c, width: h, height: d }, o, s);
9390
+ m.setRectangle(S), g && m.setP(g);
9391
+ var F = m.getOrCreateAppearanceCharacteristics();
9392
+ i && F.setBackgroundColor($a(i)), F.setRotation(s), f && F.setCaptions({ normal: f }), a && F.setBorderColor($a(a));
9393
9393
  var A = m.getOrCreateBorderStyle();
9394
9394
  if (o !== void 0 && A.setWidth(o), m.setFlagTo(an.Print, !0), m.setFlagTo(an.Hidden, v), m.setFlagTo(an.Invisible, !1), n) {
9395
9395
  var k = (t = this.acroField.getDefaultAppearance()) !== null && t !== void 0 ? t : "", E = k + `
@@ -9433,7 +9433,7 @@ var Vr = function(r) {
9433
9433
  ySkew: de(0)
9434
9434
  };
9435
9435
  n === nr.Center ? (m.x += (v.width - c * 2) / 2 - g.width / 2, m.y += (v.height - c * 2) / 2 - g.height / 2) : n === nr.Right && (m.x = v.width - c - g.width, m.y = v.height - c - g.height);
9436
- var C = this.doc.context.addRandomSuffix("Image", 10), S = Oe(d, fs(C, m)), A = { XObject: (i = {}, i[C] = t.ref, i) }, k = o.formXObject(S, {
9436
+ var S = this.doc.context.addRandomSuffix("Image", 10), F = Oe(d, fs(S, m)), A = { XObject: (i = {}, i[S] = t.ref, i) }, k = o.formXObject(F, {
9437
9437
  Resources: A,
9438
9438
  BBox: o.obj([0, 0, s.width, s.height]),
9439
9439
  Matrix: o.obj([1, 0, 0, 1, 0, 0])
@@ -9464,7 +9464,7 @@ var Vr = function(r) {
9464
9464
  return !!t && t === this.acroField.getValue();
9465
9465
  }, e.prototype.addToPage = function(t, n) {
9466
9466
  var i, a, o, s, f, u;
9467
- O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = Ve(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Ve(1, 1, 1)), "borderColor" in n || (n.borderColor = Ve(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9467
+ O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = We(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = We(1, 1, 1)), "borderColor" in n || (n.borderColor = We(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9468
9468
  var c = this.createWidget({
9469
9469
  x: (i = n.x) !== null && i !== void 0 ? i : 0,
9470
9470
  y: (a = n.y) !== null && a !== void 0 ? a : 0,
@@ -9551,38 +9551,38 @@ var Vr = function(r) {
9551
9551
  }, e.prototype.setFontSize = function(t) {
9552
9552
  _n(t, "fontSize"), this.acroField.setFontSize(t), this.markAsDirty();
9553
9553
  }, e.prototype.isEditable = function() {
9554
- return this.acroField.hasFlag(Me.Edit);
9554
+ return this.acroField.hasFlag(je.Edit);
9555
9555
  }, e.prototype.enableEditing = function() {
9556
- this.acroField.setFlagTo(Me.Edit, !0);
9556
+ this.acroField.setFlagTo(je.Edit, !0);
9557
9557
  }, e.prototype.disableEditing = function() {
9558
- this.acroField.setFlagTo(Me.Edit, !1);
9558
+ this.acroField.setFlagTo(je.Edit, !1);
9559
9559
  }, e.prototype.isSorted = function() {
9560
- return this.acroField.hasFlag(Me.Sort);
9560
+ return this.acroField.hasFlag(je.Sort);
9561
9561
  }, e.prototype.enableSorting = function() {
9562
- this.acroField.setFlagTo(Me.Sort, !0);
9562
+ this.acroField.setFlagTo(je.Sort, !0);
9563
9563
  }, e.prototype.disableSorting = function() {
9564
- this.acroField.setFlagTo(Me.Sort, !1);
9564
+ this.acroField.setFlagTo(je.Sort, !1);
9565
9565
  }, e.prototype.isMultiselect = function() {
9566
- return this.acroField.hasFlag(Me.MultiSelect);
9566
+ return this.acroField.hasFlag(je.MultiSelect);
9567
9567
  }, e.prototype.enableMultiselect = function() {
9568
- this.acroField.setFlagTo(Me.MultiSelect, !0);
9568
+ this.acroField.setFlagTo(je.MultiSelect, !0);
9569
9569
  }, e.prototype.disableMultiselect = function() {
9570
- this.acroField.setFlagTo(Me.MultiSelect, !1);
9570
+ this.acroField.setFlagTo(je.MultiSelect, !1);
9571
9571
  }, e.prototype.isSpellChecked = function() {
9572
- return !this.acroField.hasFlag(Me.DoNotSpellCheck);
9572
+ return !this.acroField.hasFlag(je.DoNotSpellCheck);
9573
9573
  }, e.prototype.enableSpellChecking = function() {
9574
- this.acroField.setFlagTo(Me.DoNotSpellCheck, !1);
9574
+ this.acroField.setFlagTo(je.DoNotSpellCheck, !1);
9575
9575
  }, e.prototype.disableSpellChecking = function() {
9576
- this.acroField.setFlagTo(Me.DoNotSpellCheck, !0);
9576
+ this.acroField.setFlagTo(je.DoNotSpellCheck, !0);
9577
9577
  }, e.prototype.isSelectOnClick = function() {
9578
- return this.acroField.hasFlag(Me.CommitOnSelChange);
9578
+ return this.acroField.hasFlag(je.CommitOnSelChange);
9579
9579
  }, e.prototype.enableSelectOnClick = function() {
9580
- this.acroField.setFlagTo(Me.CommitOnSelChange, !0);
9580
+ this.acroField.setFlagTo(je.CommitOnSelChange, !0);
9581
9581
  }, e.prototype.disableSelectOnClick = function() {
9582
- this.acroField.setFlagTo(Me.CommitOnSelChange, !1);
9582
+ this.acroField.setFlagTo(je.CommitOnSelChange, !1);
9583
9583
  }, e.prototype.addToPage = function(t, n) {
9584
9584
  var i, a, o, s, f, u, c;
9585
- O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = Ve(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Ve(1, 1, 1)), "borderColor" in n || (n.borderColor = Ve(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9585
+ O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = We(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = We(1, 1, 1)), "borderColor" in n || (n.borderColor = We(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9586
9586
  var h = this.createWidget({
9587
9587
  x: (i = n.x) !== null && i !== void 0 ? i : 0,
9588
9588
  y: (a = n.y) !== null && a !== void 0 ? a : 0,
@@ -9669,26 +9669,26 @@ var Vr = function(r) {
9669
9669
  }, e.prototype.setFontSize = function(t) {
9670
9670
  _n(t, "fontSize"), this.acroField.setFontSize(t), this.markAsDirty();
9671
9671
  }, e.prototype.isSorted = function() {
9672
- return this.acroField.hasFlag(Me.Sort);
9672
+ return this.acroField.hasFlag(je.Sort);
9673
9673
  }, e.prototype.enableSorting = function() {
9674
- this.acroField.setFlagTo(Me.Sort, !0);
9674
+ this.acroField.setFlagTo(je.Sort, !0);
9675
9675
  }, e.prototype.disableSorting = function() {
9676
- this.acroField.setFlagTo(Me.Sort, !1);
9676
+ this.acroField.setFlagTo(je.Sort, !1);
9677
9677
  }, e.prototype.isMultiselect = function() {
9678
- return this.acroField.hasFlag(Me.MultiSelect);
9678
+ return this.acroField.hasFlag(je.MultiSelect);
9679
9679
  }, e.prototype.enableMultiselect = function() {
9680
- this.acroField.setFlagTo(Me.MultiSelect, !0);
9680
+ this.acroField.setFlagTo(je.MultiSelect, !0);
9681
9681
  }, e.prototype.disableMultiselect = function() {
9682
- this.acroField.setFlagTo(Me.MultiSelect, !1);
9682
+ this.acroField.setFlagTo(je.MultiSelect, !1);
9683
9683
  }, e.prototype.isSelectOnClick = function() {
9684
- return this.acroField.hasFlag(Me.CommitOnSelChange);
9684
+ return this.acroField.hasFlag(je.CommitOnSelChange);
9685
9685
  }, e.prototype.enableSelectOnClick = function() {
9686
- this.acroField.setFlagTo(Me.CommitOnSelChange, !0);
9686
+ this.acroField.setFlagTo(je.CommitOnSelChange, !0);
9687
9687
  }, e.prototype.disableSelectOnClick = function() {
9688
- this.acroField.setFlagTo(Me.CommitOnSelChange, !1);
9688
+ this.acroField.setFlagTo(je.CommitOnSelChange, !1);
9689
9689
  }, e.prototype.addToPage = function(t, n) {
9690
9690
  var i, a, o, s, f, u, c;
9691
- O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = Ve(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Ve(1, 1, 1)), "borderColor" in n || (n.borderColor = Ve(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9691
+ O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = We(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = We(1, 1, 1)), "borderColor" in n || (n.borderColor = We(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9692
9692
  var h = this.createWidget({
9693
9693
  x: (i = n.x) !== null && i !== void 0 ? i : 0,
9694
9694
  y: (a = n.y) !== null && a !== void 0 ? a : 0,
@@ -9797,15 +9797,15 @@ var Vr = function(r) {
9797
9797
  y: (o = i == null ? void 0 : i.y) !== null && o !== void 0 ? o : 0,
9798
9798
  width: (s = i == null ? void 0 : i.width) !== null && s !== void 0 ? s : 50,
9799
9799
  height: (f = i == null ? void 0 : i.height) !== null && f !== void 0 ? f : 50,
9800
- textColor: (u = i == null ? void 0 : i.textColor) !== null && u !== void 0 ? u : Ve(0, 0, 0),
9801
- backgroundColor: (c = i == null ? void 0 : i.backgroundColor) !== null && c !== void 0 ? c : Ve(1, 1, 1),
9802
- borderColor: (h = i == null ? void 0 : i.borderColor) !== null && h !== void 0 ? h : Ve(0, 0, 0),
9800
+ textColor: (u = i == null ? void 0 : i.textColor) !== null && u !== void 0 ? u : We(0, 0, 0),
9801
+ backgroundColor: (c = i == null ? void 0 : i.backgroundColor) !== null && c !== void 0 ? c : We(1, 1, 1),
9802
+ borderColor: (h = i == null ? void 0 : i.borderColor) !== null && h !== void 0 ? h : We(0, 0, 0),
9803
9803
  borderWidth: (d = i == null ? void 0 : i.borderWidth) !== null && d !== void 0 ? d : 1,
9804
9804
  rotate: (v = i == null ? void 0 : i.rotate) !== null && v !== void 0 ? v : de(0),
9805
9805
  hidden: i == null ? void 0 : i.hidden,
9806
9806
  page: n.ref
9807
- }), m = this.doc.context.register(g.dict), C = this.acroField.addWidgetWithOpt(m, ce.fromText(t), !this.isMutuallyExclusive());
9808
- g.setAppearanceState(x.of("Off")), this.updateWidgetAppearance(g, C), n.node.addAnnot(m);
9807
+ }), m = this.doc.context.register(g.dict), S = this.acroField.addWidgetWithOpt(m, ce.fromText(t), !this.isMutuallyExclusive());
9808
+ g.setAppearanceState(x.of("Off")), this.updateWidgetAppearance(g, S), n.node.addAnnot(m);
9809
9809
  }, e.prototype.needsAppearancesUpdate = function() {
9810
9810
  for (var t, n = this.acroField.getWidgets(), i = 0, a = n.length; i < a; i++) {
9811
9811
  var o = n[i], s = o.getAppearanceState(), f = (t = o.getAppearances()) === null || t === void 0 ? void 0 : t.normal;
@@ -9937,7 +9937,7 @@ var Vr = function(r) {
9937
9937
  this.acroField.setFlagTo(Ge.RichText, !1);
9938
9938
  }, e.prototype.addToPage = function(t, n) {
9939
9939
  var i, a, o, s, f, u, c;
9940
- O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = Ve(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = Ve(1, 1, 1)), "borderColor" in n || (n.borderColor = Ve(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9940
+ O(t, "page", [[Tt, "PDFPage"]]), Vr(n), n || (n = {}), "textColor" in n || (n.textColor = We(0, 0, 0)), "backgroundColor" in n || (n.backgroundColor = We(1, 1, 1)), "borderColor" in n || (n.borderColor = We(0, 0, 0)), "borderWidth" in n || (n.borderWidth = 1);
9941
9941
  var h = this.createWidget({
9942
9942
  x: (i = n.x) !== null && i !== void 0 ? i : 0,
9943
9943
  y: (a = n.y) !== null && a !== void 0 ? a : 0,
@@ -10107,7 +10107,7 @@ var Zl = (
10107
10107
  }), this.acroForm.removeField(e.acroField);
10108
10108
  for (var u = e.acroField.normalizedEntries().Kids, c = u.size(), h = 0; h < c; h++) {
10109
10109
  var d = u.get(h);
10110
- d instanceof Ue && this.doc.context.delete(d);
10110
+ d instanceof Ve && this.doc.context.delete(d);
10111
10111
  }
10112
10112
  this.doc.context.delete(e.ref);
10113
10113
  }, r.prototype.updateFieldAppearances = function(e) {
@@ -10117,11 +10117,11 @@ var Zl = (
10117
10117
  a.needsAppearancesUpdate() && a.defaultUpdateAppearances(e);
10118
10118
  }
10119
10119
  }, r.prototype.markFieldAsDirty = function(e) {
10120
- Z(e, "fieldRef", [[Ue, "PDFRef"]]), this.dirtyFields.add(e);
10120
+ Z(e, "fieldRef", [[Ve, "PDFRef"]]), this.dirtyFields.add(e);
10121
10121
  }, r.prototype.markFieldAsClean = function(e) {
10122
- Z(e, "fieldRef", [[Ue, "PDFRef"]]), this.dirtyFields.delete(e);
10122
+ Z(e, "fieldRef", [[Ve, "PDFRef"]]), this.dirtyFields.delete(e);
10123
10123
  }, r.prototype.fieldIsDirty = function(e) {
10124
- return Z(e, "fieldRef", [[Ue, "PDFRef"]]), this.dirtyFields.has(e);
10124
+ return Z(e, "fieldRef", [[Ve, "PDFRef"]]), this.dirtyFields.has(e);
10125
10125
  }, r.prototype.getDefaultFont = function() {
10126
10126
  return this.defaultFontCache.access();
10127
10127
  }, r.prototype.findWidgetPage = function(e) {
@@ -10140,9 +10140,9 @@ var Zl = (
10140
10140
  var n, i = t.getNormalAppearance();
10141
10141
  if (i instanceof me && (e instanceof _r || e instanceof $r)) {
10142
10142
  var a = e.acroField.getValue(), o = (n = i.get(a)) !== null && n !== void 0 ? n : i.get(x.of("Off"));
10143
- o instanceof Ue && (i = o);
10143
+ o instanceof Ve && (i = o);
10144
10144
  }
10145
- if (!(i instanceof Ue)) {
10145
+ if (!(i instanceof Ve)) {
10146
10146
  var s = e.getName();
10147
10147
  throw new Error("Failed to extract appearance ref for: " + s);
10148
10148
  }
@@ -10395,15 +10395,15 @@ var Ql = (
10395
10395
  }, r.prototype.setLanguage = function(e) {
10396
10396
  O(e, "language", ["string"]);
10397
10397
  var t = x.of("Lang");
10398
- this.catalog.set(t, je.of(e));
10398
+ this.catalog.set(t, Ue.of(e));
10399
10399
  }, r.prototype.setCreationDate = function(e) {
10400
10400
  O(e, "creationDate", [[Date, "Date"]]);
10401
10401
  var t = x.of("CreationDate");
10402
- this.getInfoDict().set(t, je.fromDate(e));
10402
+ this.getInfoDict().set(t, Ue.fromDate(e));
10403
10403
  }, r.prototype.setModificationDate = function(e) {
10404
10404
  O(e, "modificationDate", [[Date, "Date"]]);
10405
10405
  var t = x.of("ModDate");
10406
- this.getInfoDict().set(t, je.fromDate(e));
10406
+ this.getInfoDict().set(t, Ue.fromDate(e));
10407
10407
  }, r.prototype.getPageCount = function() {
10408
10408
  return this.pageCount === void 0 && (this.pageCount = this.getPages().length), this.pageCount;
10409
10409
  }, r.prototype.getPages = function() {
@@ -10563,9 +10563,9 @@ var Ql = (
10563
10563
  });
10564
10564
  }, r.prototype.embedPages = function(e, t, n) {
10565
10565
  return t === void 0 && (t = []), n === void 0 && (n = []), xe(this, void 0, void 0, function() {
10566
- var u, c, i, a, o, s, f, u, c, h, d, v, g, m, C;
10567
- return we(this, function(S) {
10568
- switch (S.label) {
10566
+ var u, c, i, a, o, s, f, u, c, h, d, v, g, m, S;
10567
+ return we(this, function(F) {
10568
+ switch (F.label) {
10569
10569
  case 0:
10570
10570
  if (e.length === 0)
10571
10571
  return [2, []];
@@ -10574,15 +10574,15 @@ var Ql = (
10574
10574
  throw new _u();
10575
10575
  o = e[0].node.context, s = o === this.context ? function(A) {
10576
10576
  return A;
10577
- } : qa.for(o, this.context).copy, f = new Array(e.length), u = 0, c = e.length, S.label = 1;
10577
+ } : qa.for(o, this.context).copy, f = new Array(e.length), u = 0, c = e.length, F.label = 1;
10578
10578
  case 1:
10579
10579
  return u < c ? (h = s(e[u].node), d = t[u], v = n[u], [4, Wo.for(h, d, v)]) : [3, 4];
10580
10580
  case 2:
10581
- g = S.sent(), m = this.context.nextRef(), f[u] = gs.of(m, this, g), S.label = 3;
10581
+ g = F.sent(), m = this.context.nextRef(), f[u] = gs.of(m, this, g), F.label = 3;
10582
10582
  case 3:
10583
10583
  return u++, [3, 1];
10584
10584
  case 4:
10585
- return (C = this.embeddedPages).push.apply(C, f), [2, f];
10585
+ return (S = this.embeddedPages).push.apply(S, f), [2, f];
10586
10586
  }
10587
10587
  });
10588
10588
  });
@@ -10676,8 +10676,8 @@ var Ql = (
10676
10676
  })()
10677
10677
  );
10678
10678
  function $t(r) {
10679
- if (!(r instanceof ce) && !(r instanceof je))
10680
- throw new jn([ce, je], r);
10679
+ if (!(r instanceof ce) && !(r instanceof Ue))
10680
+ throw new jn([ce, Ue], r);
10681
10681
  }
10682
10682
  var Kt;
10683
10683
  (function(r) {
@@ -10687,7 +10687,7 @@ var Tt = (
10687
10687
  /** @class */
10688
10688
  (function() {
10689
10689
  function r(e, t, n) {
10690
- this.fontSize = 24, this.fontColor = Ve(0, 0, 0), this.lineHeight = 24, this.x = 0, this.y = 0, O(e, "leafNode", [[Xt, "PDFPageLeaf"]]), O(t, "ref", [[Ue, "PDFRef"]]), O(n, "doc", [[gr, "PDFDocument"]]), this.node = e, this.ref = t, this.doc = n;
10690
+ this.fontSize = 24, this.fontColor = We(0, 0, 0), this.lineHeight = 24, this.x = 0, this.y = 0, O(e, "leafNode", [[Xt, "PDFPageLeaf"]]), O(t, "ref", [[Ve, "PDFRef"]]), O(n, "doc", [[gr, "PDFDocument"]]), this.node = e, this.ref = t, this.doc = n;
10691
10691
  }
10692
10692
  return r.prototype.setRotation = function(e) {
10693
10693
  var t = _o(e);
@@ -10794,16 +10794,16 @@ var Tt = (
10794
10794
  }, r.prototype.pushOperators = function() {
10795
10795
  for (var e = [], t = 0; t < arguments.length; t++)
10796
10796
  e[t] = arguments[t];
10797
- Do(e, "operator", [[Ae, "PDFOperator"]]);
10797
+ Do(e, "operator", [[Re, "PDFOperator"]]);
10798
10798
  var n = this.getContentStream();
10799
10799
  n.push.apply(n, e);
10800
10800
  }, r.prototype.drawText = function(e, t) {
10801
10801
  var n, i, a, o, s, f, u;
10802
10802
  t === void 0 && (t = {}), O(e, "text", ["string"]), Z(t.color, "options.color", [[Object, "Color"]]), zt(t.opacity, "opacity.opacity", 0, 1), Z(t.font, "options.font", [[bt, "PDFFont"]]), Z(t.size, "options.size", ["number"]), Z(t.rotate, "options.rotate", [[Object, "Rotation"]]), Z(t.xSkew, "options.xSkew", [[Object, "Rotation"]]), Z(t.ySkew, "options.ySkew", [[Object, "Rotation"]]), Z(t.x, "options.x", ["number"]), Z(t.y, "options.y", ["number"]), Z(t.lineHeight, "options.lineHeight", ["number"]), Z(t.maxWidth, "options.maxWidth", ["number"]), Z(t.wordBreaks, "options.wordBreaks", [Array]), kt(t.blendMode, "options.blendMode", Kt);
10803
- for (var c = this.setOrEmbedFont(t.font), h = c.oldFont, d = c.newFont, v = c.newFontKey, g = t.size || this.fontSize, m = t.wordBreaks || this.doc.defaultWordBreaks, C = function(D) {
10803
+ for (var c = this.setOrEmbedFont(t.font), h = c.oldFont, d = c.newFont, v = c.newFontKey, g = t.size || this.fontSize, m = t.wordBreaks || this.doc.defaultWordBreaks, S = function(D) {
10804
10804
  return d.widthOfTextAtSize(D, g);
10805
- }, S = t.maxWidth === void 0 ? co(hn(e)) : Zs(e, m, t.maxWidth, C), A = new Array(S.length), k = 0, E = S.length; k < E; k++)
10806
- A[k] = d.encodeText(S[k]);
10805
+ }, F = t.maxWidth === void 0 ? co(hn(e)) : Zs(e, m, t.maxWidth, S), A = new Array(F.length), k = 0, E = F.length; k < E; k++)
10806
+ A[k] = d.encodeText(F[k]);
10807
10807
  var B = this.maybeEmbedGraphicsState({
10808
10808
  opacity: t.opacity,
10809
10809
  blendMode: t.blendMode
@@ -10870,7 +10870,7 @@ var Tt = (
10870
10870
  borderOpacity: t.borderOpacity,
10871
10871
  blendMode: t.blendMode
10872
10872
  });
10873
- !("color" in t) && !("borderColor" in t) && (t.borderColor = Ve(0, 0, 0));
10873
+ !("color" in t) && !("borderColor" in t) && (t.borderColor = We(0, 0, 0));
10874
10874
  var v = this.getContentStream();
10875
10875
  v.push.apply(v, Fl(e, {
10876
10876
  x: (n = t.x) !== null && n !== void 0 ? n : this.x,
@@ -10896,7 +10896,7 @@ var Tt = (
10896
10896
  borderOpacity: e.opacity,
10897
10897
  blendMode: e.blendMode
10898
10898
  });
10899
- "color" in e || (e.color = Ve(0, 0, 0));
10899
+ "color" in e || (e.color = We(0, 0, 0));
10900
10900
  var f = this.getContentStream();
10901
10901
  f.push.apply(f, xl({
10902
10902
  start: e.start,
@@ -10922,9 +10922,9 @@ var Tt = (
10922
10922
  borderOpacity: e.borderOpacity,
10923
10923
  blendMode: e.blendMode
10924
10924
  });
10925
- !("color" in e) && !("borderColor" in e) && (e.color = Ve(0, 0, 0));
10926
- var C = this.getContentStream();
10927
- C.push.apply(C, Nr({
10925
+ !("color" in e) && !("borderColor" in e) && (e.color = We(0, 0, 0));
10926
+ var S = this.getContentStream();
10927
+ S.push.apply(S, Nr({
10928
10928
  x: (t = e.x) !== null && t !== void 0 ? t : this.x,
10929
10929
  y: (n = e.y) !== null && n !== void 0 ? n : this.y,
10930
10930
  width: (i = e.width) !== null && i !== void 0 ? i : 150,
@@ -10958,7 +10958,7 @@ var Tt = (
10958
10958
  borderOpacity: e.borderOpacity,
10959
10959
  blendMode: e.blendMode
10960
10960
  });
10961
- !("color" in e) && !("borderColor" in e) && (e.color = Ve(0, 0, 0));
10961
+ !("color" in e) && !("borderColor" in e) && (e.color = We(0, 0, 0));
10962
10962
  var g = this.getContentStream();
10963
10963
  g.push.apply(g, Mi({
10964
10964
  x: (t = e.x) !== null && t !== void 0 ? t : this.x,
@@ -11024,7 +11024,7 @@ var Tt = (
11024
11024
  return new r(e, t, n);
11025
11025
  }, r.create = function(e) {
11026
11026
  O(e, "doc", [[gr, "PDFDocument"]]);
11027
- var t = Ue.of(-1), n = Xt.withContextAndParent(e.context, t), i = e.context.register(n);
11027
+ var t = Ve.of(-1), n = Xt.withContextAndParent(e.context, t), i = e.context.register(n);
11028
11028
  return new r(n, i, e);
11029
11029
  }, r;
11030
11030
  })()
@@ -11050,23 +11050,23 @@ var Tt = (
11050
11050
  }, e.prototype.addToPage = function(t, n, i) {
11051
11051
  var a, o, s, f, u, c, h, d, v, g, m;
11052
11052
  Z(t, "text", ["string"]), Z(n, "page", [[Tt, "PDFPage"]]), Vr(i);
11053
- var C = this.createWidget({
11053
+ var S = this.createWidget({
11054
11054
  x: ((a = i == null ? void 0 : i.x) !== null && a !== void 0 ? a : 0) - ((o = i == null ? void 0 : i.borderWidth) !== null && o !== void 0 ? o : 0) / 2,
11055
11055
  y: ((s = i == null ? void 0 : i.y) !== null && s !== void 0 ? s : 0) - ((f = i == null ? void 0 : i.borderWidth) !== null && f !== void 0 ? f : 0) / 2,
11056
11056
  width: (u = i == null ? void 0 : i.width) !== null && u !== void 0 ? u : 100,
11057
11057
  height: (c = i == null ? void 0 : i.height) !== null && c !== void 0 ? c : 50,
11058
- textColor: (h = i == null ? void 0 : i.textColor) !== null && h !== void 0 ? h : Ve(0, 0, 0),
11059
- backgroundColor: (d = i == null ? void 0 : i.backgroundColor) !== null && d !== void 0 ? d : Ve(0.75, 0.75, 0.75),
11058
+ textColor: (h = i == null ? void 0 : i.textColor) !== null && h !== void 0 ? h : We(0, 0, 0),
11059
+ backgroundColor: (d = i == null ? void 0 : i.backgroundColor) !== null && d !== void 0 ? d : We(0.75, 0.75, 0.75),
11060
11060
  borderColor: i == null ? void 0 : i.borderColor,
11061
11061
  borderWidth: (v = i == null ? void 0 : i.borderWidth) !== null && v !== void 0 ? v : 0,
11062
11062
  rotate: (g = i == null ? void 0 : i.rotate) !== null && g !== void 0 ? g : de(0),
11063
11063
  caption: t,
11064
11064
  hidden: i == null ? void 0 : i.hidden,
11065
11065
  page: n.ref
11066
- }), S = this.doc.context.register(C.dict);
11067
- this.acroField.addWidget(S);
11066
+ }), F = this.doc.context.register(S.dict);
11067
+ this.acroField.addWidget(F);
11068
11068
  var A = (m = i == null ? void 0 : i.font) !== null && m !== void 0 ? m : this.doc.getForm().getDefaultFont();
11069
- this.updateWidgetAppearance(C, A), n.node.addAnnot(S);
11069
+ this.updateWidgetAppearance(S, A), n.node.addAnnot(F);
11070
11070
  }, e.prototype.needsAppearancesUpdate = function() {
11071
11071
  var t;
11072
11072
  if (this.isDirty())
@@ -11216,40 +11216,40 @@ function cc(r, e) {
11216
11216
  n.href = t, n.download = e, document.body.appendChild(n), n.click(), n.remove(), URL.revokeObjectURL(t);
11217
11217
  }
11218
11218
  function uo(r, e, t, n) {
11219
- const i = r.split(/\r?\n/), a = [];
11220
- for (const o of i) {
11221
- const s = o.split(/\s+/).filter(Boolean);
11222
- if (!s.length) {
11223
- a.push({ text: "", width: 0 });
11219
+ const a = String(r).split(/\r?\n/), o = [];
11220
+ for (const s of Array.from(a)) {
11221
+ const f = s.split(/\s+/).filter(Boolean);
11222
+ if (!f.length) {
11223
+ o.push({ text: "", width: 0 });
11224
11224
  continue;
11225
11225
  }
11226
- let f = s[0];
11227
- for (let u = 1; u < s.length; u += 1) {
11228
- const c = `${f} ${s[u]}`;
11229
- if (e.widthOfTextAtSize(c, t) <= n) {
11230
- f = c;
11226
+ let u = f[0];
11227
+ for (let c = 1; c < f.length; c += 1) {
11228
+ const h = `${u} ${f[c]}`;
11229
+ if (e.widthOfTextAtSize(h, t) <= n) {
11230
+ u = h;
11231
11231
  continue;
11232
11232
  }
11233
- a.push({
11234
- text: f,
11235
- width: e.widthOfTextAtSize(f, t)
11236
- }), f = s[u];
11233
+ o.push({
11234
+ text: u,
11235
+ width: e.widthOfTextAtSize(u, t)
11236
+ }), u = f[c];
11237
11237
  }
11238
- a.push({
11239
- text: f,
11240
- width: e.widthOfTextAtSize(f, t)
11238
+ o.push({
11239
+ text: u,
11240
+ width: e.widthOfTextAtSize(u, t)
11241
11241
  });
11242
11242
  }
11243
- return a;
11243
+ return o;
11244
11244
  }
11245
11245
  function hc(r, e) {
11246
11246
  const t = ys(r.fields);
11247
11247
  return t.push({
11248
11248
  label: "Created",
11249
- value: nc(e.createdAt)
11249
+ value: String(nc(e.createdAt))
11250
11250
  }), e.currentUrl && t.push({
11251
11251
  label: "Source URL",
11252
- value: e.currentUrl
11252
+ value: String(e.currentUrl)
11253
11253
  }), t;
11254
11254
  }
11255
11255
  function dc(r) {
@@ -11366,54 +11366,75 @@ async function xc(r, e) {
11366
11366
  return r.embedPng(n);
11367
11367
  }
11368
11368
  async function wc(r, e, t) {
11369
- const n = r.addPage(ec), i = await r.embedFont(pr.HelveticaBold), a = i, o = await r.embedFont(pr.Helvetica), [s, f] = n.getSize(), u = s - Or * 2, c = 140, h = u - c - 24;
11370
- let d = f - io;
11371
- n.drawText(e.title || "Export Summary", {
11372
- x: Or,
11373
- y: d,
11374
- size: tc,
11375
- font: i
11376
- }), d -= 26, n.drawLine({
11377
- start: { x: Or, y: d },
11378
- end: { x: s - Or, y: d },
11379
- thickness: 1
11380
- }), d -= 28;
11381
- for (const v of hc(e, t)) {
11382
- const g = uo(
11383
- v.label,
11384
- a,
11385
- ao,
11386
- c
11387
- ), m = uo(
11388
- v.value,
11389
- o,
11390
- oo,
11391
- h
11392
- ), S = Math.max(g.length, m.length) * 16 + 12;
11393
- if (d - S < io)
11394
- break;
11395
- g.forEach((A, k) => {
11396
- n.drawText(A.text, {
11397
- x: Or,
11398
- y: d - k * 16,
11399
- size: ao,
11400
- font: a
11401
- });
11402
- }), m.forEach((A, k) => {
11403
- n.drawText(A.text, {
11404
- x: Or + c + 24,
11405
- y: d - k * 16,
11406
- size: oo,
11407
- font: o
11408
- });
11409
- }), d -= S;
11369
+ try {
11370
+ const n = r.addPage(ec), i = await r.embedFont(pr.HelveticaBold), a = i, o = await r.embedFont(pr.Helvetica), { width: s, height: f } = n.getSize(), u = s - Or * 2, c = 140, h = u - c - 24;
11371
+ let d = f - io;
11372
+ n.drawText(e.title || "Export Summary", {
11373
+ x: Or,
11374
+ y: d,
11375
+ size: tc,
11376
+ font: i
11377
+ }), d -= 26, n.drawLine({
11378
+ start: { x: Or, y: d },
11379
+ end: { x: s - Or, y: d },
11380
+ thickness: 1
11381
+ }), d -= 28;
11382
+ let v;
11383
+ try {
11384
+ v = Array.from(
11385
+ hc(e, t)
11386
+ );
11387
+ } catch (g) {
11388
+ throw console.error("[PDF export] Error building cover sheet fields", {
11389
+ fieldsError: g,
11390
+ coverSheetKeys: Object.keys(e || {})
11391
+ }), g;
11392
+ }
11393
+ v.length;
11394
+ for (let g = 0; g < v.length; g += 1) {
11395
+ const m = v[g];
11396
+ m == null || m.label, m == null || m.value;
11397
+ const S = uo(
11398
+ m.label,
11399
+ a,
11400
+ ao,
11401
+ c
11402
+ ), F = uo(
11403
+ m.value,
11404
+ o,
11405
+ oo,
11406
+ h
11407
+ ), k = Math.max(S.length, F.length) * 16 + 12;
11408
+ if (d - k < io)
11409
+ break;
11410
+ S.forEach((E, B) => {
11411
+ n.drawText(E.text, {
11412
+ x: Or,
11413
+ y: d - B * 16,
11414
+ size: ao,
11415
+ font: a
11416
+ });
11417
+ }), F.forEach((E, B) => {
11418
+ n.drawText(E.text, {
11419
+ x: Or + c + 24,
11420
+ y: d - B * 16,
11421
+ size: oo,
11422
+ font: o
11423
+ });
11424
+ }), d -= k;
11425
+ }
11426
+ } catch (n) {
11427
+ throw console.error("[PDF export] Error in addCoverSheetPage", {
11428
+ message: n instanceof Error ? n.message : String(n),
11429
+ stack: n instanceof Error ? n.stack : void 0
11430
+ }), n;
11410
11431
  }
11411
11432
  }
11412
11433
  async function Sc(r, e, t, n) {
11413
11434
  if (!t.length)
11414
11435
  return;
11415
11436
  const i = await e.embedFont(pr.Helvetica), { width: a, height: o } = r.getSize(), s = a / n.width, f = o / n.height;
11416
- for (const u of t) {
11437
+ for (const u of Array.from(t)) {
11417
11438
  const c = u.width * s, h = u.height * f, d = u.x * s, v = o - (u.y + u.height) * f, g = fc(i, u.text, c, h);
11418
11439
  if (g < 1)
11419
11440
  continue;
@@ -11452,260 +11473,291 @@ async function Cc({
11452
11473
  currentUrl: v,
11453
11474
  onProgress: g
11454
11475
  }) {
11455
- r.length, Wi(h == null ? void 0 : h.fields);
11456
- const m = bs(e, t, r.length);
11457
- if (!m)
11458
- throw new Error("No canvases available to export.");
11459
- const { PDFDocument: C } = await import("./index-xExyd-5I.js"), S = await C.create(), A = [];
11460
- let k = 0;
11461
- const E = ys(h == null ? void 0 : h.fields);
11462
- h && E.length > 0 && (E.length, h.title, g == null || g("Preparing cover sheet..."), await wc(
11463
- S,
11464
- h,
11465
- Fc(d, v)
11466
- ));
11467
- for (const [V, I] of m.indices.entries()) {
11468
- const U = r[I], q = fo(U, I);
11469
- g == null || g(
11470
- `Exporting ${V + 1} of ${m.indices.length}: ${q}`
11476
+ var m;
11477
+ try {
11478
+ r.length, Wi(h == null ? void 0 : h.fields);
11479
+ const S = bs(
11480
+ e,
11481
+ t,
11482
+ r.length
11471
11483
  );
11472
- try {
11473
- const { imageUrl: G, resolvedImage: N } = lc(
11474
- U,
11475
- n,
11476
- o
11484
+ if (!S)
11485
+ throw new Error("No canvases available to export.");
11486
+ const { PDFDocument: F } = await import("./index-DqiA6zBT.js"), A = await F.create(), k = [];
11487
+ let E = 0;
11488
+ const B = ys(h == null ? void 0 : h.fields);
11489
+ h && B.length > 0 && (B.length, h.title, g == null || g("Preparing cover sheet..."), await wc(
11490
+ A,
11491
+ h,
11492
+ Fc(d, v)
11493
+ ));
11494
+ const R = Array.isArray(S.indices) ? Array.from(S.indices) : [];
11495
+ for (const [U, q] of R.entries()) {
11496
+ const H = r[q], N = fo(H, q);
11497
+ g == null || g(
11498
+ `Exporting ${U + 1} of ${R.length}: ${N}`
11477
11499
  );
11478
- if (!G)
11479
- throw new Error("No exportable image found for this canvas.");
11480
- const X = Ps(U), $ = ms(f), _ = await mc({
11481
- canvas: U,
11482
- canvasId: X,
11483
- imageUrl: G,
11484
- manifestId: i,
11485
- targetWidth: n,
11486
- imageRequest: $,
11487
- resolvedImage: N,
11488
- loadImageBlob: u
11489
- }), Q = await xc(S, _), Fe = S.addPage([
11490
- Q.width,
11491
- Q.height
11492
- ]);
11493
- Fe.drawImage(Q, {
11494
- x: 0,
11495
- y: 0,
11496
- width: Q.width,
11497
- height: Q.height
11498
- });
11499
- const le = uc(U), Ne = X && s ? await s(X) : [];
11500
- if (le && Ne.length)
11501
- try {
11502
- await Sc(
11503
- Fe,
11504
- S,
11505
- vc(Ne),
11506
- le
11507
- );
11508
- } catch {
11509
- }
11510
- k += 1;
11511
- } catch (G) {
11512
- if (yc(G))
11513
- throw console.warn(
11514
- "PDF export blocked by image source access policy.",
11515
- G
11516
- ), new Error(
11517
- "PDF export is not available for this item because the image source does not allow direct browser download access."
11500
+ try {
11501
+ const { imageUrl: X, resolvedImage: $ } = lc(
11502
+ H,
11503
+ n,
11504
+ o
11518
11505
  );
11519
- console.error("[PDF export] Failed to export canvas", {
11520
- index: I,
11521
- label: q,
11522
- error: G
11523
- }), A.push(q);
11524
- }
11525
- }
11526
- if (!k)
11527
- throw new Error("Unable to export any canvases to PDF.");
11528
- const B = c || dc({
11529
- manifestId: i,
11530
- manifestLabel: a,
11531
- startIndex: m.startIndex,
11532
- endIndex: m.endIndex
11533
- });
11534
- g == null || g(`Preparing download: ${B}`), A.length;
11535
- const R = await S.save(), D = Uint8Array.from(R);
11536
- return cc(
11537
- new Blob([D.buffer], { type: "application/pdf" }),
11538
- B
11539
- ), {
11540
- exportedCount: k,
11541
- failedCanvases: A,
11542
- filename: B
11543
- };
11506
+ if (!X)
11507
+ throw new Error(
11508
+ "No exportable image found for this canvas."
11509
+ );
11510
+ const Q = Ps(H), _ = ms(f), Fe = await mc({
11511
+ canvas: H,
11512
+ canvasId: Q,
11513
+ imageUrl: X,
11514
+ manifestId: i,
11515
+ targetWidth: n,
11516
+ imageRequest: _,
11517
+ resolvedImage: $,
11518
+ loadImageBlob: u
11519
+ }), le = await xc(A, Fe), Ne = A.addPage([
11520
+ le.width,
11521
+ le.height
11522
+ ]);
11523
+ Ne.drawImage(le, {
11524
+ x: 0,
11525
+ y: 0,
11526
+ width: le.width,
11527
+ height: le.height
11528
+ });
11529
+ const Pe = uc(H), Ce = Q && s ? await s(Q) : [];
11530
+ if (Pe && Ce.length)
11531
+ try {
11532
+ await Sc(
11533
+ Ne,
11534
+ A,
11535
+ vc(Ce),
11536
+ Pe
11537
+ );
11538
+ } catch (Me) {
11539
+ console.error(
11540
+ "[PDF export] Failed to add selectable OCR text layer",
11541
+ {
11542
+ canvasId: Q,
11543
+ label: N,
11544
+ annotationCount: Ce.length,
11545
+ error: Me
11546
+ }
11547
+ );
11548
+ }
11549
+ E += 1;
11550
+ } catch (X) {
11551
+ if (yc(X))
11552
+ throw console.warn(
11553
+ "PDF export blocked by image source access policy.",
11554
+ X
11555
+ ), new Error(
11556
+ "PDF export is not available for this item because the image source does not allow direct browser download access."
11557
+ );
11558
+ console.error("[PDF export] Failed to export canvas", {
11559
+ index: q,
11560
+ label: N,
11561
+ error: X
11562
+ }), k.push(N);
11563
+ }
11564
+ }
11565
+ if (!E)
11566
+ throw new Error("Unable to export any canvases to PDF.");
11567
+ const D = c || dc({
11568
+ manifestId: i,
11569
+ manifestLabel: a,
11570
+ startIndex: S.startIndex,
11571
+ endIndex: S.endIndex
11572
+ });
11573
+ g == null || g(`Preparing download: ${D}`), k.length;
11574
+ const V = await A.save(), I = Uint8Array.from(V);
11575
+ return cc(
11576
+ new Blob([I.buffer], { type: "application/pdf" }),
11577
+ D
11578
+ ), {
11579
+ exportedCount: E,
11580
+ failedCanvases: k,
11581
+ filename: D
11582
+ };
11583
+ } catch (S) {
11584
+ const F = S instanceof Error ? S.message : String(S), A = S instanceof Error ? S.stack : "No stack trace";
11585
+ throw console.error("[PDF export] Critical export error", {
11586
+ message: F,
11587
+ stack: A,
11588
+ name: S instanceof Error ? S.name : "Unknown",
11589
+ cause: S instanceof Error ? S.cause : void 0,
11590
+ canvasCount: r.length,
11591
+ startIndex: e,
11592
+ endIndex: t,
11593
+ coverSheetFieldCount: ((m = h == null ? void 0 : h.fields) == null ? void 0 : m.length) ?? 0
11594
+ }), S;
11595
+ }
11544
11596
  }
11545
- var kc = F.from_html(`<div class="alert alert-info alert-soft text-sm">A configured cover sheet will be included before the selected
11546
- canvases.</div>`), Pc = F.from_html("<option> </option>"), Tc = F.from_html("<option> </option>"), Ac = F.from_html('<div class="alert alert-info alert-soft text-sm py-2"><span> </span></div>'), Dc = F.from_html('<div class="alert alert-success alert-soft text-sm py-2"><span> </span></div>'), Rc = F.from_html('<div class="alert alert-error alert-soft text-sm py-2"><span> </span></div>'), Oc = F.from_html('<div class="alert alert-soft text-sm py-2"><span> </span></div>'), Ec = F.from_html(`<div class="w-80 h-full bg-base-200 border-r border-base-300 shadow-xl flex flex-col"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="text-lg font-semibold flex items-center gap-2"><!> PDF export</h2> <button class="btn btn-sm btn-ghost btn-circle" aria-label="Close PDF export"><!></button></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><p class="text-sm text-base-content/70">Export a flat range of canvases as one PDF page per canvas. IIIF OCR
11597
+ var kc = C.from_html(`<div class="alert alert-info alert-soft text-sm">A configured cover sheet will be included before the selected
11598
+ canvases.</div>`), Pc = C.from_html("<option> </option>"), Tc = C.from_html("<option> </option>"), Ac = C.from_html('<div class="alert alert-info alert-soft text-sm py-2"><span> </span></div>'), Dc = C.from_html('<div class="alert alert-success alert-soft text-sm py-2"><span> </span></div>'), Rc = C.from_html('<div class="alert alert-error alert-soft text-sm py-2"><span> </span></div>'), Oc = C.from_html('<div class="alert alert-soft text-sm py-2"><span> </span></div>'), Ec = C.from_html(`<div class="w-80 h-full bg-base-200 border-r border-base-300 shadow-xl flex flex-col"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="text-lg font-semibold flex items-center gap-2"><!> PDF export</h2> <button class="btn btn-sm btn-ghost btn-circle" aria-label="Close PDF export"><!></button></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><p class="text-sm text-base-content/70">Export a flat range of canvases as one PDF page per canvas. IIIF OCR
11547
11599
  annotations marked as supplementing text are embedded as selectable
11548
11600
  PDF text when present.</p> <!> <div class="grid grid-cols-1 gap-3"><div class="form-control w-full"><label class="label" for="pdf-export-start-canvas"><span class="label-text">Start canvas</span></label> <select id="pdf-export-start-canvas" class="select select-bordered w-full"><option disabled>Select a start canvas</option><!></select></div> <div class="form-control w-full"><label class="label" for="pdf-export-end-canvas"><span class="label-text">End canvas</span></label> <select id="pdf-export-end-canvas" class="select select-bordered w-full"><option disabled>Select an end canvas</option><!></select></div></div> <div class="card bg-base-100 border border-base-300"><div class="card-body gap-2 p-4"><div class="flex items-center justify-between text-sm"><span class="text-base-content/70">Selected canvases</span> <span class="font-semibold"> </span></div> <!> <!> <!> <!></div></div></div> <div class="p-4 border-t border-base-300"><button class="btn btn-primary btn-block"><!> </button></div></div>`);
11549
11601
  function Bc(r, e) {
11550
- F.push(e, !0);
11602
+ C.push(e, !0);
11551
11603
  function t(ee) {
11552
11604
  if (ee === "")
11553
11605
  return null;
11554
11606
  const re = Number(ee);
11555
11607
  return Number.isInteger(re) ? re : null;
11556
11608
  }
11557
- var n = Ec(), i = F.child(n), a = F.child(i), o = F.child(a);
11558
- Ai(o, { size: 20 }), F.next(), F.reset(a);
11559
- var s = F.sibling(a, 2);
11609
+ var n = Ec(), i = C.child(n), a = C.child(i), o = C.child(a);
11610
+ Ai(o, { size: 20 }), C.next(), C.reset(a);
11611
+ var s = C.sibling(a, 2);
11560
11612
  s.__click = function(...ee) {
11561
11613
  var re;
11562
11614
  (re = e.onClose) == null || re.apply(this, ee);
11563
11615
  };
11564
- var f = F.child(s);
11565
- ws(f, { size: 20 }), F.reset(s), F.reset(i);
11566
- var u = F.sibling(i, 2), c = F.sibling(F.child(u), 2);
11616
+ var f = C.child(s);
11617
+ ws(f, { size: 20 }), C.reset(s), C.reset(i);
11618
+ var u = C.sibling(i, 2), c = C.sibling(C.child(u), 2);
11567
11619
  {
11568
11620
  var h = (ee) => {
11569
11621
  var re = kc();
11570
- F.append(ee, re);
11622
+ C.append(ee, re);
11571
11623
  };
11572
- F.if(c, (ee) => {
11624
+ C.if(c, (ee) => {
11573
11625
  e.hasCoverSheet && ee(h);
11574
11626
  });
11575
11627
  }
11576
- var d = F.sibling(c, 2), v = F.child(d), g = F.sibling(F.child(v), 2);
11628
+ var d = C.sibling(c, 2), v = C.child(d), g = C.sibling(C.child(v), 2);
11577
11629
  g.__change = (ee) => e.onStartIndexChange(t(ee.currentTarget.value));
11578
- var m = F.child(g);
11630
+ var m = C.child(g);
11579
11631
  m.value = m.__value = "";
11580
- var C = F.sibling(m);
11581
- F.each(C, 17, () => e.canvasOptions, (ee) => ee.id, (ee, re) => {
11582
- var ae = Pc(), Ce = F.child(ae);
11583
- F.reset(ae);
11632
+ var S = C.sibling(m);
11633
+ C.each(S, 17, () => e.canvasOptions, (ee) => ee.id, (ee, re) => {
11634
+ var ae = Pc(), ke = C.child(ae);
11635
+ C.reset(ae);
11584
11636
  var oe = {};
11585
- F.template_effect(() => {
11586
- ae.disabled = e.endIndex !== null && F.get(re).index > e.endIndex, F.set_text(Ce, `${F.get(re).index + 1}. ${F.get(re).label ?? ""}`), oe !== (oe = F.get(re).index) && (ae.value = (ae.__value = F.get(re).index) ?? "");
11587
- }), F.append(ee, ae);
11588
- }), F.reset(g);
11589
- var S;
11590
- F.init_select(g), F.reset(v);
11591
- var A = F.sibling(v, 2), k = F.sibling(F.child(A), 2);
11637
+ C.template_effect(() => {
11638
+ ae.disabled = e.endIndex !== null && C.get(re).index > e.endIndex, C.set_text(ke, `${C.get(re).index + 1}. ${C.get(re).label ?? ""}`), oe !== (oe = C.get(re).index) && (ae.value = (ae.__value = C.get(re).index) ?? "");
11639
+ }), C.append(ee, ae);
11640
+ }), C.reset(g);
11641
+ var F;
11642
+ C.init_select(g), C.reset(v);
11643
+ var A = C.sibling(v, 2), k = C.sibling(C.child(A), 2);
11592
11644
  k.__change = (ee) => e.onEndIndexChange(t(ee.currentTarget.value));
11593
- var E = F.child(k);
11645
+ var E = C.child(k);
11594
11646
  E.value = E.__value = "";
11595
- var B = F.sibling(E);
11596
- F.each(B, 17, () => e.canvasOptions, (ee) => ee.id, (ee, re) => {
11597
- var ae = Tc(), Ce = F.child(ae);
11598
- F.reset(ae);
11647
+ var B = C.sibling(E);
11648
+ C.each(B, 17, () => e.canvasOptions, (ee) => ee.id, (ee, re) => {
11649
+ var ae = Tc(), ke = C.child(ae);
11650
+ C.reset(ae);
11599
11651
  var oe = {};
11600
- F.template_effect(() => {
11601
- ae.disabled = e.startIndex !== null && F.get(re).index < e.startIndex, F.set_text(Ce, `${F.get(re).index + 1}. ${F.get(re).label ?? ""}`), oe !== (oe = F.get(re).index) && (ae.value = (ae.__value = F.get(re).index) ?? "");
11602
- }), F.append(ee, ae);
11603
- }), F.reset(k);
11652
+ C.template_effect(() => {
11653
+ ae.disabled = e.startIndex !== null && C.get(re).index < e.startIndex, C.set_text(ke, `${C.get(re).index + 1}. ${C.get(re).label ?? ""}`), oe !== (oe = C.get(re).index) && (ae.value = (ae.__value = C.get(re).index) ?? "");
11654
+ }), C.append(ee, ae);
11655
+ }), C.reset(k);
11604
11656
  var R;
11605
- F.init_select(k), F.reset(A), F.reset(d);
11606
- var D = F.sibling(d, 2), V = F.child(D), I = F.child(V), U = F.sibling(F.child(I), 2), q = F.child(U, !0);
11607
- F.reset(U), F.reset(I);
11608
- var G = F.sibling(I, 2);
11657
+ C.init_select(k), C.reset(A), C.reset(d);
11658
+ var D = C.sibling(d, 2), V = C.child(D), I = C.child(V), U = C.sibling(C.child(I), 2), q = C.child(U, !0);
11659
+ C.reset(U), C.reset(I);
11660
+ var H = C.sibling(I, 2);
11609
11661
  {
11610
11662
  var N = (ee) => {
11611
- var re = Ac(), ae = F.child(re), Ce = F.child(ae, !0);
11612
- F.reset(ae), F.reset(re), F.template_effect(() => F.set_text(Ce, e.progressMessage)), F.append(ee, re);
11663
+ var re = Ac(), ae = C.child(re), ke = C.child(ae, !0);
11664
+ C.reset(ae), C.reset(re), C.template_effect(() => C.set_text(ke, e.progressMessage)), C.append(ee, re);
11613
11665
  };
11614
- F.if(G, (ee) => {
11666
+ C.if(H, (ee) => {
11615
11667
  e.progressMessage && ee(N);
11616
11668
  });
11617
11669
  }
11618
- var X = F.sibling(G, 2);
11670
+ var X = C.sibling(H, 2);
11619
11671
  {
11620
11672
  var $ = (ee) => {
11621
- var re = Dc(), ae = F.child(re), Ce = F.child(ae, !0);
11622
- F.reset(ae), F.reset(re), F.template_effect(() => F.set_text(Ce, e.resultMessage)), F.append(ee, re);
11673
+ var re = Dc(), ae = C.child(re), ke = C.child(ae, !0);
11674
+ C.reset(ae), C.reset(re), C.template_effect(() => C.set_text(ke, e.resultMessage)), C.append(ee, re);
11623
11675
  };
11624
- F.if(X, (ee) => {
11676
+ C.if(X, (ee) => {
11625
11677
  e.resultMessage && ee($);
11626
11678
  });
11627
11679
  }
11628
- var _ = F.sibling(X, 2);
11680
+ var Q = C.sibling(X, 2);
11629
11681
  {
11630
- var Q = (ee) => {
11631
- var re = Rc(), ae = F.child(re), Ce = F.child(ae, !0);
11632
- F.reset(ae), F.reset(re), F.template_effect(() => F.set_text(Ce, e.errorMessage)), F.append(ee, re);
11682
+ var _ = (ee) => {
11683
+ var re = Rc(), ae = C.child(re), ke = C.child(ae, !0);
11684
+ C.reset(ae), C.reset(re), C.template_effect(() => C.set_text(ke, e.errorMessage)), C.append(ee, re);
11633
11685
  };
11634
- F.if(_, (ee) => {
11635
- e.errorMessage && ee(Q);
11686
+ C.if(Q, (ee) => {
11687
+ e.errorMessage && ee(_);
11636
11688
  });
11637
11689
  }
11638
- var Fe = F.sibling(_, 2);
11690
+ var Fe = C.sibling(Q, 2);
11639
11691
  {
11640
11692
  var le = (ee) => {
11641
- var re = Oc(), ae = F.child(re), Ce = F.child(ae, !0);
11642
- F.reset(ae), F.reset(re), F.template_effect(() => F.set_text(Ce, e.disabledReason)), F.append(ee, re);
11693
+ var re = Oc(), ae = C.child(re), ke = C.child(ae, !0);
11694
+ C.reset(ae), C.reset(re), C.template_effect(() => C.set_text(ke, e.disabledReason)), C.append(ee, re);
11643
11695
  };
11644
- F.if(Fe, (ee) => {
11696
+ C.if(Fe, (ee) => {
11645
11697
  e.disabledReason && ee(le);
11646
11698
  });
11647
11699
  }
11648
- F.reset(V), F.reset(D), F.reset(u);
11649
- var Ne = F.sibling(u, 2), De = F.child(Ne);
11650
- De.__click = function(...ee) {
11700
+ C.reset(V), C.reset(D), C.reset(u);
11701
+ var Ne = C.sibling(u, 2), Pe = C.child(Ne);
11702
+ Pe.__click = function(...ee) {
11651
11703
  var re;
11652
11704
  (re = e.onExport) == null || re.apply(this, ee);
11653
11705
  };
11654
- var Re = F.child(De);
11655
- Ai(Re, { size: 18 });
11656
- var We = F.sibling(Re);
11657
- F.reset(De), F.reset(Ne), F.reset(n), F.template_effect(() => {
11658
- g.disabled = !e.canvasOptions.length || e.isExporting, S !== (S = e.startIndex ?? "") && (g.value = (g.__value = e.startIndex ?? "") ?? "", F.select_option(g, e.startIndex ?? "")), k.disabled = !e.canvasOptions.length || e.isExporting, R !== (R = e.endIndex ?? "") && (k.value = (k.__value = e.endIndex ?? "") ?? "", F.select_option(k, e.endIndex ?? "")), F.set_text(q, e.selectedCount), De.disabled = !e.canExport, F.set_text(We, ` ${e.isExporting ? "Exporting..." : "Download PDF"}`);
11659
- }), F.append(r, n), F.pop();
11706
+ var Ce = C.child(Pe);
11707
+ Ai(Ce, { size: 18 });
11708
+ var Me = C.sibling(Ce);
11709
+ C.reset(Pe), C.reset(Ne), C.reset(n), C.template_effect(() => {
11710
+ g.disabled = !e.canvasOptions.length || e.isExporting, F !== (F = e.startIndex ?? "") && (g.value = (g.__value = e.startIndex ?? "") ?? "", C.select_option(g, e.startIndex ?? "")), k.disabled = !e.canvasOptions.length || e.isExporting, R !== (R = e.endIndex ?? "") && (k.value = (k.__value = e.endIndex ?? "") ?? "", C.select_option(k, e.endIndex ?? "")), C.set_text(q, e.selectedCount), Pe.disabled = !e.canExport, C.set_text(Me, ` ${e.isExporting ? "Exporting..." : "Download PDF"}`);
11711
+ }), C.append(r, n), C.pop();
11660
11712
  }
11661
- F.delegate(["click", "change"]);
11713
+ C.delegate(["click", "change"]);
11662
11714
  function Ic(r, e) {
11663
- F.push(e, !0), F.prop(e, "isOpen", 3, !1);
11664
- let t = F.prop(e, "config", 19, () => ({}));
11715
+ C.push(e, !0), C.prop(e, "isOpen", 3, !1);
11716
+ let t = C.prop(e, "config", 19, () => ({}));
11665
11717
  const n = Cs(Ss), i = n.currentCanvasIndex >= 0 ? n.currentCanvasIndex : 0;
11666
- let a = F.state(F.proxy(i)), o = F.state(F.proxy(i)), s = F.state(!1), f = F.state(""), u = F.state(""), c = F.state("");
11718
+ let a = C.state(C.proxy(i)), o = C.state(C.proxy(i)), s = C.state(!1), f = C.state(""), u = C.state(""), c = C.state("");
11667
11719
  function h(I, U) {
11668
11720
  return Math.min(Math.max(0, I), U - 1);
11669
11721
  }
11670
11722
  function d(I) {
11671
11723
  return Array.isArray(I) ? I.some((U) => Array.isArray(U) && U.length >= 2 || !!U && typeof U == "object" && "label" in U && "value" in U) : !I || typeof I != "object" ? !1 : "label" in I && "value" in I || Object.keys(I).length > 0;
11672
11724
  }
11673
- let v = F.derived(() => n.canvases.map((I, U) => ({
11725
+ let v = C.derived(() => n.canvases.map((I, U) => ({
11674
11726
  id: I.id || I["@id"] || `canvas-${U}`,
11675
11727
  label: fo(I, U),
11676
11728
  index: U
11677
- }))), g = F.derived(() => F.get(a) !== null && F.get(v).length ? h(F.get(a), F.get(v).length) : null), m = F.derived(() => F.get(o) !== null && F.get(v).length ? h(F.get(o), F.get(v).length) : null), C = F.derived(() => F.get(g) !== null && F.get(m) !== null ? bs(F.get(g), F.get(m), F.get(v).length) : null), S = F.derived(() => {
11729
+ }))), g = C.derived(() => C.get(a) !== null && C.get(v).length ? h(C.get(a), C.get(v).length) : null), m = C.derived(() => C.get(o) !== null && C.get(v).length ? h(C.get(o), C.get(v).length) : null), S = C.derived(() => C.get(g) !== null && C.get(m) !== null ? bs(C.get(g), C.get(m), C.get(v).length) : null), F = C.derived(() => {
11678
11730
  var I;
11679
- return ((I = F.get(C)) == null ? void 0 : I.indices.length) ?? 0;
11680
- }), A = F.derived(() => n.manifestId ? F.get(v).length ? F.get(g) === null || F.get(m) === null ? "Select a valid start and end canvas to export." : null : "No canvases are available to export." : "Load a manifest to export canvases."), k = F.derived(() => !F.get(s) && !F.get(A) && !!F.get(C)), E = F.derived(() => {
11731
+ return ((I = C.get(S)) == null ? void 0 : I.indices.length) ?? 0;
11732
+ }), A = C.derived(() => n.manifestId ? C.get(v).length ? C.get(g) === null || C.get(m) === null ? "Select a valid start and end canvas to export." : null : "No canvases are available to export." : "Load a manifest to export canvases."), k = C.derived(() => !C.get(s) && !C.get(A) && !!C.get(S)), E = C.derived(() => {
11681
11733
  var I;
11682
11734
  return d((I = t().coverSheet) == null ? void 0 : I.fields);
11683
11735
  });
11684
11736
  function B(I) {
11685
- F.set(a, I, !0), I !== null && F.get(o) !== null && F.get(o) < I && F.set(o, null);
11737
+ C.set(a, I, !0), I !== null && C.get(o) !== null && C.get(o) < I && C.set(o, null);
11686
11738
  }
11687
11739
  function R(I) {
11688
- F.set(o, I, !0), I !== null && F.get(a) !== null && F.get(a) > I && F.set(a, null);
11740
+ C.set(o, I, !0), I !== null && C.get(a) !== null && C.get(a) > I && C.set(a, null);
11689
11741
  }
11690
11742
  function D() {
11691
- var q, G;
11692
- const I = ((G = (q = n.osdViewer) == null ? void 0 : q.container) == null ? void 0 : G.clientWidth) || 1200, U = window.devicePixelRatio || 1;
11743
+ var q, H;
11744
+ const I = ((H = (q = n.osdViewer) == null ? void 0 : q.container) == null ? void 0 : H.clientWidth) || 1200, U = window.devicePixelRatio || 1;
11693
11745
  return Math.min(1800, Math.max(1200, Math.round(I * U)));
11694
11746
  }
11695
11747
  async function V() {
11696
11748
  var I, U;
11697
- if (!(!F.get(C) || !F.get(k))) {
11698
- F.set(s, !0), F.set(f, ""), F.set(u, ""), F.set(c, "Preparing export...");
11749
+ if (!(!C.get(S) || !C.get(k))) {
11750
+ C.set(s, !0), C.set(f, ""), C.set(u, ""), C.set(c, "Preparing export...");
11699
11751
  try {
11700
- const q = n.manifest, G = ((U = (I = q == null ? void 0 : q.getLabel()) == null ? void 0 : I[0]) == null ? void 0 : U.value) || null;
11701
- n.manifestId, F.get(C).startIndex, F.get(C).endIndex, n.canvases.length, t().coverSheet;
11752
+ const q = n.manifest, H = ((U = (I = q == null ? void 0 : q.getLabel()) == null ? void 0 : I[0]) == null ? void 0 : U.value) || null;
11753
+ n.manifestId, C.get(S).startIndex, C.get(S).endIndex, n.canvases.length, t().coverSheet;
11702
11754
  const N = await Cc({
11703
11755
  canvases: n.canvases,
11704
- startIndex: F.get(C).startIndex,
11705
- endIndex: F.get(C).endIndex,
11756
+ startIndex: C.get(S).startIndex,
11757
+ endIndex: C.get(S).endIndex,
11706
11758
  targetWidth: D(),
11707
11759
  manifestId: n.manifestId,
11708
- manifestLabel: G,
11760
+ manifestLabel: H,
11709
11761
  coverSheet: t().coverSheet,
11710
11762
  imageRequest: t().imageRequest,
11711
11763
  loadImageBlob: t().loadImageBlob,
@@ -11713,10 +11765,10 @@ function Ic(r, e) {
11713
11765
  getCanvasAnnotations: async (X) => n.manifestId ? Fs.ensureCanvasAnnotations(n.manifestId, X, t().ocrAnnotationSource) : [],
11714
11766
  currentUrl: window.location.href,
11715
11767
  onProgress: (X) => {
11716
- F.set(c, X, !0);
11768
+ C.set(c, X, !0);
11717
11769
  }
11718
11770
  });
11719
- F.set(c, ""), F.set(
11771
+ C.set(c, ""), C.set(
11720
11772
  u,
11721
11773
  N.failedCanvases.length ? `Downloaded ${N.exportedCount} canvas(es). Skipped ${N.failedCanvases.length}.` : `Downloaded ${N.exportedCount} canvas(es) as ${N.filename}.`,
11722
11774
  !0
@@ -11725,50 +11777,50 @@ function Ic(r, e) {
11725
11777
  console.error("[PDF export] Export failed in controller", {
11726
11778
  error: q,
11727
11779
  manifestId: n.manifestId,
11728
- startIndex: F.get(C).startIndex,
11729
- endIndex: F.get(C).endIndex,
11780
+ startIndex: C.get(S).startIndex,
11781
+ endIndex: C.get(S).endIndex,
11730
11782
  coverSheet: t().coverSheet
11731
- }), F.set(c, ""), F.set(f, "Unable to export PDF. Check the browser console for details.");
11783
+ }), C.set(c, ""), C.set(f, "Unable to export PDF. Check the browser console for details.");
11732
11784
  } finally {
11733
- F.set(s, !1);
11785
+ C.set(s, !1);
11734
11786
  }
11735
11787
  }
11736
11788
  }
11737
11789
  {
11738
- let I = F.derived(() => !!F.get(k));
11790
+ let I = C.derived(() => !!C.get(k));
11739
11791
  Bc(r, {
11740
11792
  get canvasOptions() {
11741
- return F.get(v);
11793
+ return C.get(v);
11742
11794
  },
11743
11795
  get startIndex() {
11744
- return F.get(g);
11796
+ return C.get(g);
11745
11797
  },
11746
11798
  get endIndex() {
11747
- return F.get(m);
11799
+ return C.get(m);
11748
11800
  },
11749
11801
  get selectedCount() {
11750
- return F.get(S);
11802
+ return C.get(F);
11751
11803
  },
11752
11804
  get isExporting() {
11753
- return F.get(s);
11805
+ return C.get(s);
11754
11806
  },
11755
11807
  get progressMessage() {
11756
- return F.get(c);
11808
+ return C.get(c);
11757
11809
  },
11758
11810
  get resultMessage() {
11759
- return F.get(u);
11811
+ return C.get(u);
11760
11812
  },
11761
11813
  get errorMessage() {
11762
- return F.get(f);
11814
+ return C.get(f);
11763
11815
  },
11764
11816
  get canExport() {
11765
- return F.get(I);
11817
+ return C.get(I);
11766
11818
  },
11767
11819
  get disabledReason() {
11768
- return F.get(A);
11820
+ return C.get(A);
11769
11821
  },
11770
11822
  get hasCoverSheet() {
11771
- return F.get(E);
11823
+ return C.get(E);
11772
11824
  },
11773
11825
  onStartIndexChange: B,
11774
11826
  onEndIndexChange: R,
@@ -11778,7 +11830,7 @@ function Ic(r, e) {
11778
11830
  }
11779
11831
  });
11780
11832
  }
11781
- F.pop();
11833
+ C.pop();
11782
11834
  }
11783
11835
  function zc(r = {}) {
11784
11836
  return {
@@ -11906,7 +11958,7 @@ export {
11906
11958
  Xo as bG,
11907
11959
  Xt as bH,
11908
11960
  Zi as bI,
11909
- Ae as bJ,
11961
+ Re as bJ,
11910
11962
  Ee as bK,
11911
11963
  Zo as bL,
11912
11964
  $f as bM,
@@ -11942,13 +11994,13 @@ export {
11942
11994
  ft as bp,
11943
11995
  sn as bq,
11944
11996
  ve as br,
11945
- je as bs,
11997
+ Ue as bs,
11946
11998
  ce as bt,
11947
11999
  x as bu,
11948
12000
  dt as bv,
11949
12001
  ze as bw,
11950
12002
  me as bx,
11951
- Ue as by,
12003
+ Ve as by,
11952
12004
  No as bz,
11953
12005
  Tt as c,
11954
12006
  Gs as c$,
@@ -12014,7 +12066,7 @@ export {
12014
12066
  Nt as cw,
12015
12067
  Pt as cx,
12016
12068
  Ge as cy,
12017
- Me as cz,
12069
+ je as cz,
12018
12070
  gs as d,
12019
12071
  lo as d0,
12020
12072
  co as d1,
@@ -12091,5 +12143,5 @@ export {
12091
12143
  Ul as w,
12092
12144
  Zn as x,
12093
12145
  ss as y,
12094
- Ve as z
12146
+ We as z
12095
12147
  };