@eternalheart/react-file-preview 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +437 -60
  2. package/README.zh-CN.md +437 -60
  3. package/lib/FilePreviewContent.d.ts +1 -0
  4. package/lib/FilePreviewContent.d.ts.map +1 -1
  5. package/lib/FilePreviewEmbed.d.ts +2 -0
  6. package/lib/FilePreviewEmbed.d.ts.map +1 -1
  7. package/lib/FilePreviewModal.d.ts +2 -0
  8. package/lib/FilePreviewModal.d.ts.map +1 -1
  9. package/lib/chunks/index-BBYKNNLb.mjs +329 -0
  10. package/lib/chunks/index-BBYKNNLb.mjs.map +1 -0
  11. package/lib/chunks/index-BFh22D_W.mjs +78 -0
  12. package/lib/chunks/index-BFh22D_W.mjs.map +1 -0
  13. package/lib/chunks/{index-DoFsoBKL.mjs → index-BKXvtJh5.mjs} +27 -25
  14. package/lib/chunks/index-BKXvtJh5.mjs.map +1 -0
  15. package/lib/chunks/index-Bw3Fh4b5.mjs +116 -0
  16. package/lib/chunks/index-Bw3Fh4b5.mjs.map +1 -0
  17. package/lib/chunks/{index-kALp0tqz.mjs → index-CEC_DHgr.mjs} +22 -20
  18. package/lib/chunks/index-CEC_DHgr.mjs.map +1 -0
  19. package/lib/chunks/{index-CzM2mxrD.mjs → index-COOUxB5e.mjs} +130 -128
  20. package/lib/chunks/{index-CzM2mxrD.mjs.map → index-COOUxB5e.mjs.map} +1 -1
  21. package/lib/chunks/index-CU1Lc3lV.mjs +120 -0
  22. package/lib/chunks/index-CU1Lc3lV.mjs.map +1 -0
  23. package/lib/chunks/index-CgFv7B_G.mjs +359 -0
  24. package/lib/chunks/index-CgFv7B_G.mjs.map +1 -0
  25. package/lib/chunks/index-Cn4ZyhGM.mjs +587 -0
  26. package/lib/chunks/index-Cn4ZyhGM.mjs.map +1 -0
  27. package/lib/chunks/{index-DaAXRBWL.mjs → index-DGNNEnWE.mjs} +864 -862
  28. package/lib/chunks/{index-DaAXRBWL.mjs.map → index-DGNNEnWE.mjs.map} +1 -1
  29. package/lib/chunks/index-DLk08ylq.mjs +313 -0
  30. package/lib/chunks/index-DLk08ylq.mjs.map +1 -0
  31. package/lib/chunks/index-DVtPyN-s.mjs +200 -0
  32. package/lib/chunks/index-DVtPyN-s.mjs.map +1 -0
  33. package/lib/chunks/index-DreA69iU.mjs +2409 -0
  34. package/lib/chunks/index-DreA69iU.mjs.map +1 -0
  35. package/lib/chunks/{index-Cp68OevR.mjs → index-Dta7iGov.mjs} +1299 -1297
  36. package/lib/chunks/{index-Cp68OevR.mjs.map → index-Dta7iGov.mjs.map} +1 -1
  37. package/lib/chunks/index-fQGAUFAX.mjs +275 -0
  38. package/lib/chunks/index-fQGAUFAX.mjs.map +1 -0
  39. package/lib/chunks/{index-C_BJatqr.mjs → index-fSw6Hl5e.mjs} +42 -40
  40. package/lib/chunks/index-fSw6Hl5e.mjs.map +1 -0
  41. package/lib/chunks/index-jvNrkVkp.mjs +291 -0
  42. package/lib/chunks/index-jvNrkVkp.mjs.map +1 -0
  43. package/lib/chunks/index-oVJyD-FV.mjs +107 -0
  44. package/lib/chunks/index-oVJyD-FV.mjs.map +1 -0
  45. package/lib/chunks/{index-DuP0Tlpo.mjs → index-vRLKumL8.mjs} +43 -41
  46. package/lib/chunks/index-vRLKumL8.mjs.map +1 -0
  47. package/lib/chunks/useShikiHighlight-C6nJcETW.mjs +36 -0
  48. package/lib/chunks/useShikiHighlight-C6nJcETW.mjs.map +1 -0
  49. package/lib/components/preview/FilePreviewToolbar.d.ts +1 -0
  50. package/lib/components/preview/FilePreviewToolbar.d.ts.map +1 -1
  51. package/lib/components/preview/ToolbarButton.d.ts +3 -1
  52. package/lib/components/preview/ToolbarButton.d.ts.map +1 -1
  53. package/lib/hooks/index.d.ts +0 -6
  54. package/lib/hooks/index.d.ts.map +1 -1
  55. package/lib/hooks/useShikiHighlight.d.ts +3 -1
  56. package/lib/hooks/useShikiHighlight.d.ts.map +1 -1
  57. package/lib/index.cjs +32 -30
  58. package/lib/index.cjs.map +1 -1
  59. package/lib/index.css +1 -1
  60. package/lib/index.mjs +1 -1
  61. package/lib/renderers/Audio/index.d.ts +2 -1
  62. package/lib/renderers/Audio/index.d.ts.map +1 -1
  63. package/lib/renderers/Csv/index.d.ts +2 -1
  64. package/lib/renderers/Csv/index.d.ts.map +1 -1
  65. package/lib/renderers/Docx/index.d.ts +2 -1
  66. package/lib/renderers/Docx/index.d.ts.map +1 -1
  67. package/lib/renderers/Epub/index.d.ts +2 -3
  68. package/lib/renderers/Epub/index.d.ts.map +1 -1
  69. package/lib/renderers/Font/index.d.ts +2 -1
  70. package/lib/renderers/Font/index.d.ts.map +1 -1
  71. package/lib/renderers/Image/index.d.ts +6 -7
  72. package/lib/renderers/Image/index.d.ts.map +1 -1
  73. package/lib/renderers/Json/index.d.ts +2 -1
  74. package/lib/renderers/Json/index.d.ts.map +1 -1
  75. package/lib/renderers/Markdown/index.d.ts +2 -2
  76. package/lib/renderers/Markdown/index.d.ts.map +1 -1
  77. package/lib/renderers/Mobi/index.d.ts +2 -3
  78. package/lib/renderers/Mobi/index.d.ts.map +1 -1
  79. package/lib/renderers/Msg/index.d.ts +2 -1
  80. package/lib/renderers/Msg/index.d.ts.map +1 -1
  81. package/lib/renderers/Pdf/index.d.ts +4 -8
  82. package/lib/renderers/Pdf/index.d.ts.map +1 -1
  83. package/lib/renderers/Pptx/index.d.ts +2 -1
  84. package/lib/renderers/Pptx/index.d.ts.map +1 -1
  85. package/lib/renderers/Subtitle/index.d.ts +2 -1
  86. package/lib/renderers/Subtitle/index.d.ts.map +1 -1
  87. package/lib/renderers/Text/index.d.ts +2 -3
  88. package/lib/renderers/Text/index.d.ts.map +1 -1
  89. package/lib/renderers/Video/index.d.ts +2 -1
  90. package/lib/renderers/Video/index.d.ts.map +1 -1
  91. package/lib/renderers/Xlsx/index.d.ts +2 -1
  92. package/lib/renderers/Xlsx/index.d.ts.map +1 -1
  93. package/lib/renderers/Xml/index.d.ts +2 -1
  94. package/lib/renderers/Xml/index.d.ts.map +1 -1
  95. package/lib/renderers/Zip/index.d.ts +7 -2
  96. package/lib/renderers/Zip/index.d.ts.map +1 -1
  97. package/lib/renderers/base.types.d.ts +38 -0
  98. package/lib/renderers/base.types.d.ts.map +1 -0
  99. package/lib/renderers/registry.d.ts +36 -0
  100. package/lib/renderers/registry.d.ts.map +1 -0
  101. package/lib/renderers/toolbar.types.d.ts +2 -0
  102. package/lib/renderers/toolbar.types.d.ts.map +1 -1
  103. package/lib/toolbar/renderItems.d.ts.map +1 -1
  104. package/package.json +3 -3
  105. package/lib/chunks/index-0v5STX5f.mjs +0 -105
  106. package/lib/chunks/index-0v5STX5f.mjs.map +0 -1
  107. package/lib/chunks/index-10O8tfTH.mjs +0 -529
  108. package/lib/chunks/index-10O8tfTH.mjs.map +0 -1
  109. package/lib/chunks/index-BCyv1HM9.mjs +0 -175
  110. package/lib/chunks/index-BCyv1HM9.mjs.map +0 -1
  111. package/lib/chunks/index-Bo90aGhy.mjs +0 -114
  112. package/lib/chunks/index-Bo90aGhy.mjs.map +0 -1
  113. package/lib/chunks/index-CEeKt7L3.mjs +0 -2808
  114. package/lib/chunks/index-CEeKt7L3.mjs.map +0 -1
  115. package/lib/chunks/index-CWKbnvW6.mjs +0 -270
  116. package/lib/chunks/index-CWKbnvW6.mjs.map +0 -1
  117. package/lib/chunks/index-C_BJatqr.mjs.map +0 -1
  118. package/lib/chunks/index-Cbz5Z6ZK.mjs +0 -263
  119. package/lib/chunks/index-Cbz5Z6ZK.mjs.map +0 -1
  120. package/lib/chunks/index-DTYBFuAH.mjs +0 -357
  121. package/lib/chunks/index-DTYBFuAH.mjs.map +0 -1
  122. package/lib/chunks/index-DoFsoBKL.mjs.map +0 -1
  123. package/lib/chunks/index-DuP0Tlpo.mjs.map +0 -1
  124. package/lib/chunks/index-Dv3RQz86.mjs +0 -270
  125. package/lib/chunks/index-Dv3RQz86.mjs.map +0 -1
  126. package/lib/chunks/index-QfpHck8N.mjs +0 -55
  127. package/lib/chunks/index-QfpHck8N.mjs.map +0 -1
  128. package/lib/chunks/index-gjSQeou7.mjs +0 -194
  129. package/lib/chunks/index-gjSQeou7.mjs.map +0 -1
  130. package/lib/chunks/index-kALp0tqz.mjs.map +0 -1
  131. package/lib/chunks/index-kCeSnFs-.mjs +0 -54
  132. package/lib/chunks/index-kCeSnFs-.mjs.map +0 -1
  133. package/lib/chunks/useShikiHighlight-BA9qgdGA.mjs +0 -23
  134. package/lib/chunks/useShikiHighlight-BA9qgdGA.mjs.map +0 -1
  135. package/lib/hooks/rendererReducer.d.ts +0 -10
  136. package/lib/hooks/rendererReducer.d.ts.map +0 -1
  137. package/lib/hooks/types.d.ts +0 -152
  138. package/lib/hooks/types.d.ts.map +0 -1
  139. package/lib/hooks/useBookRenderer.d.ts +0 -14
  140. package/lib/hooks/useBookRenderer.d.ts.map +0 -1
  141. package/lib/hooks/useFilePreviewState.d.ts +0 -10
  142. package/lib/hooks/useFilePreviewState.d.ts.map +0 -1
  143. package/lib/hooks/useImageAutoFit.d.ts +0 -13
  144. package/lib/hooks/useImageAutoFit.d.ts.map +0 -1
  145. package/lib/hooks/useToolbarConfig.d.ts +0 -25
  146. package/lib/hooks/useToolbarConfig.d.ts.map +0 -1
  147. package/lib/renderers/Epub/toolbar.d.ts +0 -13
  148. package/lib/renderers/Epub/toolbar.d.ts.map +0 -1
  149. package/lib/renderers/Image/toolbar.d.ts +0 -15
  150. package/lib/renderers/Image/toolbar.d.ts.map +0 -1
  151. package/lib/renderers/Markdown/toolbar.d.ts +0 -9
  152. package/lib/renderers/Markdown/toolbar.d.ts.map +0 -1
  153. package/lib/renderers/Mobi/toolbar.d.ts +0 -13
  154. package/lib/renderers/Mobi/toolbar.d.ts.map +0 -1
  155. package/lib/renderers/Pdf/toolbar.d.ts +0 -16
  156. package/lib/renderers/Pdf/toolbar.d.ts.map +0 -1
  157. package/lib/renderers/Text/toolbar.d.ts +0 -12
  158. package/lib/renderers/Text/toolbar.d.ts.map +0 -1
  159. package/lib/renderers/Zip/toolbar.d.ts +0 -13
  160. package/lib/renderers/Zip/toolbar.d.ts.map +0 -1
  161. package/lib/toolbar/registry.d.ts +0 -51
  162. package/lib/toolbar/registry.d.ts.map +0 -1
@@ -1,13 +1,13 @@
1
- import { jsx as L, jsxs as G } from "react/jsx-runtime";
2
- import { useState as qe, useEffect as tr } from "react";
3
- import { User as rr, Users as ze, Calendar as mt, Clock as gt, Tag as wt, Mail as ir, Paperclip as nr, Hash as ar } from "lucide-react";
4
- import { u as sr, a as or } from "./index-CEeKt7L3.mjs";
5
- import { R as cr } from "./RendererError-D5i8eSpN.mjs";
6
- var ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function fr(e) {
1
+ import { jsx as L, jsxs as H } from "react/jsx-runtime";
2
+ import { forwardRef as tr, useState as qe, useEffect as rr, useImperativeHandle as ir } from "react";
3
+ import { User as nr, Users as ze, Calendar as mt, Clock as gt, Tag as wt, Mail as ar, Paperclip as sr, Hash as or } from "lucide-react";
4
+ import { u as cr, a as fr } from "./index-DreA69iU.mjs";
5
+ import { R as ur } from "./RendererError-D5i8eSpN.mjs";
6
+ var ne = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
+ function hr(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function ur(e) {
10
+ function lr(e) {
11
11
  if (e.__esModule) return e;
12
12
  var t = e.default;
13
13
  if (typeof t == "function") {
@@ -26,20 +26,20 @@ function ur(e) {
26
26
  });
27
27
  }), a;
28
28
  }
29
- var Vt = {}, at = {}, De = {}, Q = {};
30
- Object.defineProperty(Q, "__esModule", { value: !0 });
31
- Q.arraysEqual = hr;
32
- Q.uInt2int = lr;
33
- Q.toHexStr = dr;
34
- Q.toHex1 = J;
35
- Q.toHex2 = pr;
36
- Q.toHex4 = yr;
37
- Q.msftUuidStringify = br;
38
- Q.emptyToNull = vr;
39
- Q.readSystemTime = Er;
40
- Q.readTransitionSystemTime = mr;
41
- Q.bin2HexUpper = gr;
42
- function hr(e, t) {
29
+ var Vt = {}, at = {}, De = {}, ee = {};
30
+ Object.defineProperty(ee, "__esModule", { value: !0 });
31
+ ee.arraysEqual = dr;
32
+ ee.uInt2int = pr;
33
+ ee.toHexStr = yr;
34
+ ee.toHex1 = Q;
35
+ ee.toHex2 = br;
36
+ ee.toHex4 = vr;
37
+ ee.msftUuidStringify = Er;
38
+ ee.emptyToNull = mr;
39
+ ee.readSystemTime = gr;
40
+ ee.readTransitionSystemTime = wr;
41
+ ee.bin2HexUpper = _r;
42
+ function dr(e, t) {
43
43
  if (e === t)
44
44
  return !0;
45
45
  if (e == null || t == null || e.length != t.length)
@@ -49,38 +49,38 @@ function hr(e, t) {
49
49
  return !1;
50
50
  return !0;
51
51
  }
52
- function lr(e) {
52
+ function pr(e) {
53
53
  for (var t = new Array(e.length), a = 0; a < e.length; a++)
54
54
  t[a] = e[a] << 24 >> 24;
55
55
  return t;
56
56
  }
57
- function dr(e, t) {
57
+ function yr(e, t) {
58
58
  for (var a = ""; e != 0; )
59
59
  a = "0123456789abcdef"[e & 15] + a, e >>= 4, a = "0123456789abcdef"[e & 15] + a, e >>= 4;
60
60
  for (; a.length < t; )
61
61
  a = "0" + a;
62
62
  return a;
63
63
  }
64
- var re = "0123456789abcdef";
65
- function J(e) {
66
- return re[e >> 4 & 15] + re[e & 15];
64
+ var ie = "0123456789abcdef";
65
+ function Q(e) {
66
+ return ie[e >> 4 & 15] + ie[e & 15];
67
67
  }
68
- function pr(e) {
69
- return re[e >> 12 & 15] + re[e >> 8 & 15] + re[e >> 4 & 15] + re[e & 15];
68
+ function br(e) {
69
+ return ie[e >> 12 & 15] + ie[e >> 8 & 15] + ie[e >> 4 & 15] + ie[e & 15];
70
70
  }
71
- function yr(e) {
72
- return re[e >> 28 & 15] + re[e >> 24 & 15] + re[e >> 20 & 15] + re[e >> 16 & 15] + re[e >> 12 & 15] + re[e >> 8 & 15] + re[e >> 4 & 15] + re[e & 15];
71
+ function vr(e) {
72
+ return ie[e >> 28 & 15] + ie[e >> 24 & 15] + ie[e >> 20 & 15] + ie[e >> 16 & 15] + ie[e >> 12 & 15] + ie[e >> 8 & 15] + ie[e >> 4 & 15] + ie[e & 15];
73
73
  }
74
- function br(e, t) {
75
- return "" + J(e[t + 3]) + J(e[t + 2]) + J(e[t + 1]) + J(e[t + 0]) + "-" + J(e[t + 5]) + J(e[t + 4]) + "-" + J(e[t + 7]) + J(e[t + 6]) + "-" + J(e[t + 8]) + J(e[t + 9]) + "-" + J(e[t + 10]) + J(e[t + 11]) + J(e[t + 12]) + J(e[t + 13]) + J(e[t + 14]) + J(e[t + 15]);
74
+ function Er(e, t) {
75
+ return "" + Q(e[t + 3]) + Q(e[t + 2]) + Q(e[t + 1]) + Q(e[t + 0]) + "-" + Q(e[t + 5]) + Q(e[t + 4]) + "-" + Q(e[t + 7]) + Q(e[t + 6]) + "-" + Q(e[t + 8]) + Q(e[t + 9]) + "-" + Q(e[t + 10]) + Q(e[t + 11]) + Q(e[t + 12]) + Q(e[t + 13]) + Q(e[t + 14]) + Q(e[t + 15]);
76
76
  }
77
- function vr(e) {
77
+ function mr(e) {
78
78
  return e === "" ? null : e;
79
79
  }
80
80
  function xe(e, t) {
81
81
  return ("" + e).padStart(t, "0");
82
82
  }
83
- function Er(e) {
83
+ function gr(e) {
84
84
  var t = e.readUint16(), a = e.readUint16();
85
85
  e.readUint16();
86
86
  var n = e.readUint16(), c = e.readUint16(), u = e.readUint16(), f = e.readUint16();
@@ -88,7 +88,7 @@ function Er(e) {
88
88
  var s = "".concat(xe(t, 4), "-").concat(xe(a, 2), "-").concat(xe(n, 2), "T").concat(xe(c, 2), ":").concat(xe(u, 2), ":").concat(xe(f, 2), "Z");
89
89
  return s === "0000-00-00T00:00:00Z" ? null : new Date(s);
90
90
  }
91
- function mr(e) {
91
+ function wr(e) {
92
92
  var t = e.readUint16(), a = e.readUint16(), n = e.readUint16(), c = e.readUint16(), u = e.readUint16(), f = e.readUint16();
93
93
  return e.readUint16(), e.readUint16(), {
94
94
  year: t,
@@ -99,15 +99,15 @@ function mr(e) {
99
99
  minute: f
100
100
  };
101
101
  }
102
- function gr(e) {
102
+ function _r(e) {
103
103
  for (var t = ""; !e.isEof(); )
104
- t += J(e.readUint8());
104
+ t += Q(e.readUint8());
105
105
  return t.toUpperCase();
106
106
  }
107
107
  Object.defineProperty(De, "__esModule", { value: !0 });
108
- var wr = Q;
108
+ var Ar = ee;
109
109
  De.default = {
110
- FILE_HEADER: (0, wr.uInt2int)([208, 207, 17, 224, 161, 177, 26, 225]),
110
+ FILE_HEADER: (0, Ar.uInt2int)([208, 207, 17, 224, 161, 177, 26, 225]),
111
111
  MSG: {
112
112
  UNUSED_BLOCK: -1,
113
113
  END_OF_CHAIN: -2,
@@ -296,11 +296,11 @@ De.default = {
296
296
  }
297
297
  };
298
298
  var Ne = {}, Wt = { exports: {} }, st = {}, Pe = {};
299
- Pe.byteLength = xr;
300
- Pe.toByteArray = Ir;
301
- Pe.fromByteArray = Ur;
302
- var ye = [], he = [], _r = typeof Uint8Array < "u" ? Uint8Array : Array, Ve = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
303
- for (var Se = 0, Ar = Ve.length; Se < Ar; ++Se)
299
+ Pe.byteLength = Ir;
300
+ Pe.toByteArray = Br;
301
+ Pe.fromByteArray = Lr;
302
+ var ye = [], he = [], xr = typeof Uint8Array < "u" ? Uint8Array : Array, Ve = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
303
+ for (var Se = 0, Sr = Ve.length; Se < Sr; ++Se)
304
304
  ye[Se] = Ve[Se], he[Ve.charCodeAt(Se)] = Se;
305
305
  he[45] = 62;
306
306
  he[95] = 63;
@@ -313,30 +313,30 @@ function Zt(e) {
313
313
  var n = a === t ? 0 : 4 - a % 4;
314
314
  return [a, n];
315
315
  }
316
- function xr(e) {
316
+ function Ir(e) {
317
317
  var t = Zt(e), a = t[0], n = t[1];
318
318
  return (a + n) * 3 / 4 - n;
319
319
  }
320
- function Sr(e, t, a) {
320
+ function Tr(e, t, a) {
321
321
  return (t + a) * 3 / 4 - a;
322
322
  }
323
- function Ir(e) {
324
- var t, a = Zt(e), n = a[0], c = a[1], u = new _r(Sr(e, n, c)), f = 0, s = c > 0 ? n - 4 : n, p;
323
+ function Br(e) {
324
+ var t, a = Zt(e), n = a[0], c = a[1], u = new xr(Tr(e, n, c)), f = 0, s = c > 0 ? n - 4 : n, p;
325
325
  for (p = 0; p < s; p += 4)
326
326
  t = he[e.charCodeAt(p)] << 18 | he[e.charCodeAt(p + 1)] << 12 | he[e.charCodeAt(p + 2)] << 6 | he[e.charCodeAt(p + 3)], u[f++] = t >> 16 & 255, u[f++] = t >> 8 & 255, u[f++] = t & 255;
327
327
  return c === 2 && (t = he[e.charCodeAt(p)] << 2 | he[e.charCodeAt(p + 1)] >> 4, u[f++] = t & 255), c === 1 && (t = he[e.charCodeAt(p)] << 10 | he[e.charCodeAt(p + 1)] << 4 | he[e.charCodeAt(p + 2)] >> 2, u[f++] = t >> 8 & 255, u[f++] = t & 255), u;
328
328
  }
329
- function Tr(e) {
329
+ function Ur(e) {
330
330
  return ye[e >> 18 & 63] + ye[e >> 12 & 63] + ye[e >> 6 & 63] + ye[e & 63];
331
331
  }
332
- function Br(e, t, a) {
332
+ function Nr(e, t, a) {
333
333
  for (var n, c = [], u = t; u < a; u += 3)
334
- n = (e[u] << 16 & 16711680) + (e[u + 1] << 8 & 65280) + (e[u + 2] & 255), c.push(Tr(n));
334
+ n = (e[u] << 16 & 16711680) + (e[u + 1] << 8 & 65280) + (e[u + 2] & 255), c.push(Ur(n));
335
335
  return c.join("");
336
336
  }
337
- function Ur(e) {
337
+ function Lr(e) {
338
338
  for (var t, a = e.length, n = a % 3, c = [], u = 16383, f = 0, s = a - n; f < s; f += u)
339
- c.push(Br(e, f, f + u > s ? s : f + u));
339
+ c.push(Nr(e, f, f + u > s ? s : f + u));
340
340
  return n === 1 ? (t = e[a - 1], c.push(
341
341
  ye[t >> 2] + ye[t << 4 & 63] + "=="
342
342
  )) : n === 2 && (t = (e[a - 2] << 8) + e[a - 1], c.push(
@@ -346,10 +346,10 @@ function Ur(e) {
346
346
  var ot = {};
347
347
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
348
348
  ot.read = function(e, t, a, n, c) {
349
- var u, f, s = c * 8 - n - 1, p = (1 << s) - 1, l = p >> 1, b = -7, w = a ? c - 1 : 0, g = a ? -1 : 1, m = e[t + w];
350
- for (w += g, u = m & (1 << -b) - 1, m >>= -b, b += s; b > 0; u = u * 256 + e[t + w], w += g, b -= 8)
349
+ var u, f, s = c * 8 - n - 1, p = (1 << s) - 1, l = p >> 1, v = -7, w = a ? c - 1 : 0, g = a ? -1 : 1, m = e[t + w];
350
+ for (w += g, u = m & (1 << -v) - 1, m >>= -v, v += s; v > 0; u = u * 256 + e[t + w], w += g, v -= 8)
351
351
  ;
352
- for (f = u & (1 << -b) - 1, u >>= -b, b += n; b > 0; f = f * 256 + e[t + w], w += g, b -= 8)
352
+ for (f = u & (1 << -v) - 1, u >>= -v, v += n; v > 0; f = f * 256 + e[t + w], w += g, v -= 8)
353
353
  ;
354
354
  if (u === 0)
355
355
  u = 1 - l;
@@ -361,8 +361,8 @@ ot.read = function(e, t, a, n, c) {
361
361
  return (m ? -1 : 1) * f * Math.pow(2, u - n);
362
362
  };
363
363
  ot.write = function(e, t, a, n, c, u) {
364
- var f, s, p, l = u * 8 - c - 1, b = (1 << l) - 1, w = b >> 1, g = c === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = n ? 0 : u - 1, x = n ? 1 : -1, A = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
365
- for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, f = b) : (f = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -f)) < 1 && (f--, p *= 2), f + w >= 1 ? t += g / p : t += g * Math.pow(2, 1 - w), t * p >= 2 && (f++, p /= 2), f + w >= b ? (s = 0, f = b) : f + w >= 1 ? (s = (t * p - 1) * Math.pow(2, c), f = f + w) : (s = t * Math.pow(2, w - 1) * Math.pow(2, c), f = 0)); c >= 8; e[a + m] = s & 255, m += x, s /= 256, c -= 8)
364
+ var f, s, p, l = u * 8 - c - 1, v = (1 << l) - 1, w = v >> 1, g = c === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, m = n ? 0 : u - 1, x = n ? 1 : -1, A = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
365
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, f = v) : (f = Math.floor(Math.log(t) / Math.LN2), t * (p = Math.pow(2, -f)) < 1 && (f--, p *= 2), f + w >= 1 ? t += g / p : t += g * Math.pow(2, 1 - w), t * p >= 2 && (f++, p /= 2), f + w >= v ? (s = 0, f = v) : f + w >= 1 ? (s = (t * p - 1) * Math.pow(2, c), f = f + w) : (s = t * Math.pow(2, w - 1) * Math.pow(2, c), f = 0)); c >= 8; e[a + m] = s & 255, m += x, s /= 256, c -= 8)
366
366
  ;
367
367
  for (f = f << c | s, l += c; l > 0; e[a + m] = f & 255, m += x, f /= 256, l -= 8)
368
368
  ;
@@ -376,7 +376,7 @@ ot.write = function(e, t, a, n, c, u) {
376
376
  */
377
377
  (function(e) {
378
378
  var t = Pe, a = ot, n = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
379
- e.Buffer = s, e.SlowBuffer = v, e.INSPECT_MAX_BYTES = 50;
379
+ e.Buffer = s, e.SlowBuffer = E, e.INSPECT_MAX_BYTES = 50;
380
380
  var c = 2147483647;
381
381
  e.kMaxLength = c, s.TYPED_ARRAY_SUPPORT = u(), !s.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
382
382
  "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
@@ -439,7 +439,7 @@ ot.write = function(e, t, a, n, c, u) {
439
439
  var h = o.valueOf && o.valueOf();
440
440
  if (h != null && h !== o)
441
441
  return s.from(h, r, i);
442
- var _ = S(o);
442
+ var _ = I(o);
443
443
  if (_) return _;
444
444
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof o[Symbol.toPrimitive] == "function")
445
445
  return s.from(
@@ -460,11 +460,11 @@ ot.write = function(e, t, a, n, c, u) {
460
460
  if (o < 0)
461
461
  throw new RangeError('The value "' + o + '" is invalid for option "size"');
462
462
  }
463
- function b(o, r, i) {
463
+ function v(o, r, i) {
464
464
  return l(o), o <= 0 ? f(o) : r !== void 0 ? typeof i == "string" ? f(o).fill(r, i) : f(o).fill(r) : f(o);
465
465
  }
466
466
  s.alloc = function(o, r, i) {
467
- return b(o, r, i);
467
+ return v(o, r, i);
468
468
  };
469
469
  function w(o) {
470
470
  return l(o), f(o < 0 ? 0 : d(o) | 0);
@@ -477,7 +477,7 @@ ot.write = function(e, t, a, n, c, u) {
477
477
  function g(o, r) {
478
478
  if ((typeof r != "string" || r === "") && (r = "utf8"), !s.isEncoding(r))
479
479
  throw new TypeError("Unknown encoding: " + r);
480
- var i = E(o, r) | 0, h = f(i), _ = h.write(o, r);
480
+ var i = b(o, r) | 0, h = f(i), _ = h.write(o, r);
481
481
  return _ !== i && (h = h.slice(0, _)), h;
482
482
  }
483
483
  function m(o) {
@@ -500,7 +500,7 @@ ot.write = function(e, t, a, n, c, u) {
500
500
  var h;
501
501
  return r === void 0 && i === void 0 ? h = new Uint8Array(o) : i === void 0 ? h = new Uint8Array(o, r) : h = new Uint8Array(o, r, i), Object.setPrototypeOf(h, s.prototype), h;
502
502
  }
503
- function S(o) {
503
+ function I(o) {
504
504
  if (s.isBuffer(o)) {
505
505
  var r = d(o.length) | 0, i = f(r);
506
506
  return i.length === 0 || o.copy(i, 0, 0, r), i;
@@ -515,7 +515,7 @@ ot.write = function(e, t, a, n, c, u) {
515
515
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + c.toString(16) + " bytes");
516
516
  return o | 0;
517
517
  }
518
- function v(o) {
518
+ function E(o) {
519
519
  return +o != o && (o = 0), s.alloc(+o);
520
520
  }
521
521
  s.isBuffer = function(r) {
@@ -575,7 +575,7 @@ ot.write = function(e, t, a, n, c, u) {
575
575
  }
576
576
  return _;
577
577
  };
578
- function E(o, r) {
578
+ function b(o, r) {
579
579
  if (s.isBuffer(o))
580
580
  return o.length;
581
581
  if (ArrayBuffer.isView(o) || pe(o, ArrayBuffer))
@@ -610,7 +610,7 @@ ot.write = function(e, t, a, n, c, u) {
610
610
  r = ("" + r).toLowerCase(), _ = !0;
611
611
  }
612
612
  }
613
- s.byteLength = E;
613
+ s.byteLength = b;
614
614
  function y(o, r, i) {
615
615
  var h = !1;
616
616
  if ((r === void 0 || r < 0) && (r = 0), r > this.length || ((i === void 0 || i > this.length) && (i = this.length), i <= 0) || (i >>>= 0, r >>>= 0, i <= r))
@@ -618,29 +618,29 @@ ot.write = function(e, t, a, n, c, u) {
618
618
  for (o || (o = "utf8"); ; )
619
619
  switch (o) {
620
620
  case "hex":
621
- return ae(this, r, i);
621
+ return J(this, r, i);
622
622
  case "utf8":
623
623
  case "utf-8":
624
- return z(this, r, i);
624
+ return Z(this, r, i);
625
625
  case "ascii":
626
- return W(this, r, i);
626
+ return $(this, r, i);
627
627
  case "latin1":
628
628
  case "binary":
629
- return C(this, r, i);
629
+ return M(this, r, i);
630
630
  case "base64":
631
- return q(this, r, i);
631
+ return z(this, r, i);
632
632
  case "ucs2":
633
633
  case "ucs-2":
634
634
  case "utf16le":
635
635
  case "utf-16le":
636
- return Z(this, r, i);
636
+ return V(this, r, i);
637
637
  default:
638
638
  if (h) throw new TypeError("Unknown encoding: " + o);
639
639
  o = (o + "").toLowerCase(), h = !0;
640
640
  }
641
641
  }
642
642
  s.prototype._isBuffer = !0;
643
- function I(o, r, i) {
643
+ function S(o, r, i) {
644
644
  var h = o[r];
645
645
  o[r] = o[i], o[i] = h;
646
646
  }
@@ -649,25 +649,25 @@ ot.write = function(e, t, a, n, c, u) {
649
649
  if (r % 2 !== 0)
650
650
  throw new RangeError("Buffer size must be a multiple of 16-bits");
651
651
  for (var i = 0; i < r; i += 2)
652
- I(this, i, i + 1);
652
+ S(this, i, i + 1);
653
653
  return this;
654
654
  }, s.prototype.swap32 = function() {
655
655
  var r = this.length;
656
656
  if (r % 4 !== 0)
657
657
  throw new RangeError("Buffer size must be a multiple of 32-bits");
658
658
  for (var i = 0; i < r; i += 4)
659
- I(this, i, i + 3), I(this, i + 1, i + 2);
659
+ S(this, i, i + 3), S(this, i + 1, i + 2);
660
660
  return this;
661
661
  }, s.prototype.swap64 = function() {
662
662
  var r = this.length;
663
663
  if (r % 8 !== 0)
664
664
  throw new RangeError("Buffer size must be a multiple of 64-bits");
665
665
  for (var i = 0; i < r; i += 8)
666
- I(this, i, i + 7), I(this, i + 1, i + 6), I(this, i + 2, i + 5), I(this, i + 3, i + 4);
666
+ S(this, i, i + 7), S(this, i + 1, i + 6), S(this, i + 2, i + 5), S(this, i + 3, i + 4);
667
667
  return this;
668
668
  }, s.prototype.toString = function() {
669
669
  var r = this.length;
670
- return r === 0 ? "" : arguments.length === 0 ? z(this, 0, r) : y.apply(this, arguments);
670
+ return r === 0 ? "" : arguments.length === 0 ? Z(this, 0, r) : y.apply(this, arguments);
671
671
  }, s.prototype.toLocaleString = s.prototype.toString, s.prototype.equals = function(r) {
672
672
  if (!s.isBuffer(r)) throw new TypeError("Argument must be a Buffer");
673
673
  return this === r ? !0 : s.compare(this, r) === 0;
@@ -688,9 +688,9 @@ ot.write = function(e, t, a, n, c, u) {
688
688
  if (i >= h)
689
689
  return 1;
690
690
  if (i >>>= 0, h >>>= 0, _ >>>= 0, T >>>= 0, this === r) return 0;
691
- for (var B = T - _, P = h - i, j = Math.min(B, P), K = this.slice(_, T), ee = r.slice(i, h), $ = 0; $ < j; ++$)
692
- if (K[$] !== ee[$]) {
693
- B = K[$], P = ee[$];
691
+ for (var B = T - _, P = h - i, j = Math.min(B, P), W = this.slice(_, T), te = r.slice(i, h), K = 0; K < j; ++K)
692
+ if (W[K] !== te[K]) {
693
+ B = W[K], P = te[K];
694
694
  break;
695
695
  }
696
696
  return B < P ? -1 : P < B ? 1 : 0;
@@ -719,22 +719,22 @@ ot.write = function(e, t, a, n, c, u) {
719
719
  function j(vt, Et) {
720
720
  return T === 1 ? vt[Et] : vt.readUInt16BE(Et * T);
721
721
  }
722
- var K;
722
+ var W;
723
723
  if (_) {
724
- var ee = -1;
725
- for (K = i; K < B; K++)
726
- if (j(o, K) === j(r, ee === -1 ? 0 : K - ee)) {
727
- if (ee === -1 && (ee = K), K - ee + 1 === P) return ee * T;
724
+ var te = -1;
725
+ for (W = i; W < B; W++)
726
+ if (j(o, W) === j(r, te === -1 ? 0 : W - te)) {
727
+ if (te === -1 && (te = W), W - te + 1 === P) return te * T;
728
728
  } else
729
- ee !== -1 && (K -= K - ee), ee = -1;
729
+ te !== -1 && (W -= W - te), te = -1;
730
730
  } else
731
- for (i + P > B && (i = B - P), K = i; K >= 0; K--) {
732
- for (var $ = !0, Oe = 0; Oe < P; Oe++)
733
- if (j(o, K + Oe) !== j(r, Oe)) {
734
- $ = !1;
731
+ for (i + P > B && (i = B - P), W = i; W >= 0; W--) {
732
+ for (var K = !0, Oe = 0; Oe < P; Oe++)
733
+ if (j(o, W + Oe) !== j(r, Oe)) {
734
+ K = !1;
735
735
  break;
736
736
  }
737
- if ($) return K;
737
+ if (K) return W;
738
738
  }
739
739
  return -1;
740
740
  }
@@ -745,7 +745,7 @@ ot.write = function(e, t, a, n, c, u) {
745
745
  }, s.prototype.lastIndexOf = function(r, i, h) {
746
746
  return U(this, r, i, h, !1);
747
747
  };
748
- function O(o, r, i, h) {
748
+ function R(o, r, i, h) {
749
749
  i = Number(i) || 0;
750
750
  var _ = o.length - i;
751
751
  h ? (h = Number(h), h > _ && (h = _)) : h = _;
@@ -764,10 +764,10 @@ ot.write = function(e, t, a, n, c, u) {
764
764
  function F(o, r, i, h) {
765
765
  return Fe(Jt(r), o, i, h);
766
766
  }
767
- function M(o, r, i, h) {
767
+ function C(o, r, i, h) {
768
768
  return Fe(bt(r), o, i, h);
769
769
  }
770
- function Y(o, r, i, h) {
770
+ function G(o, r, i, h) {
771
771
  return Fe(Qt(r, o.length - i), o, i, h);
772
772
  }
773
773
  s.prototype.write = function(r, i, h, _) {
@@ -788,7 +788,7 @@ ot.write = function(e, t, a, n, c, u) {
788
788
  for (var B = !1; ; )
789
789
  switch (_) {
790
790
  case "hex":
791
- return O(this, r, i, h);
791
+ return R(this, r, i, h);
792
792
  case "utf8":
793
793
  case "utf-8":
794
794
  return D(this, r, i, h);
@@ -797,12 +797,12 @@ ot.write = function(e, t, a, n, c, u) {
797
797
  case "binary":
798
798
  return F(this, r, i, h);
799
799
  case "base64":
800
- return M(this, r, i, h);
800
+ return C(this, r, i, h);
801
801
  case "ucs2":
802
802
  case "ucs-2":
803
803
  case "utf16le":
804
804
  case "utf-16le":
805
- return Y(this, r, i, h);
805
+ return G(this, r, i, h);
806
806
  default:
807
807
  if (B) throw new TypeError("Unknown encoding: " + _);
808
808
  _ = ("" + _).toLowerCase(), B = !0;
@@ -813,67 +813,67 @@ ot.write = function(e, t, a, n, c, u) {
813
813
  data: Array.prototype.slice.call(this._arr || this, 0)
814
814
  };
815
815
  };
816
- function q(o, r, i) {
816
+ function z(o, r, i) {
817
817
  return r === 0 && i === o.length ? t.fromByteArray(o) : t.fromByteArray(o.slice(r, i));
818
818
  }
819
- function z(o, r, i) {
819
+ function Z(o, r, i) {
820
820
  i = Math.min(o.length, i);
821
821
  for (var h = [], _ = r; _ < i; ) {
822
822
  var T = o[_], B = null, P = T > 239 ? 4 : T > 223 ? 3 : T > 191 ? 2 : 1;
823
823
  if (_ + P <= i) {
824
- var j, K, ee, $;
824
+ var j, W, te, K;
825
825
  switch (P) {
826
826
  case 1:
827
827
  T < 128 && (B = T);
828
828
  break;
829
829
  case 2:
830
- j = o[_ + 1], (j & 192) === 128 && ($ = (T & 31) << 6 | j & 63, $ > 127 && (B = $));
830
+ j = o[_ + 1], (j & 192) === 128 && (K = (T & 31) << 6 | j & 63, K > 127 && (B = K));
831
831
  break;
832
832
  case 3:
833
- j = o[_ + 1], K = o[_ + 2], (j & 192) === 128 && (K & 192) === 128 && ($ = (T & 15) << 12 | (j & 63) << 6 | K & 63, $ > 2047 && ($ < 55296 || $ > 57343) && (B = $));
833
+ j = o[_ + 1], W = o[_ + 2], (j & 192) === 128 && (W & 192) === 128 && (K = (T & 15) << 12 | (j & 63) << 6 | W & 63, K > 2047 && (K < 55296 || K > 57343) && (B = K));
834
834
  break;
835
835
  case 4:
836
- j = o[_ + 1], K = o[_ + 2], ee = o[_ + 3], (j & 192) === 128 && (K & 192) === 128 && (ee & 192) === 128 && ($ = (T & 15) << 18 | (j & 63) << 12 | (K & 63) << 6 | ee & 63, $ > 65535 && $ < 1114112 && (B = $));
836
+ j = o[_ + 1], W = o[_ + 2], te = o[_ + 3], (j & 192) === 128 && (W & 192) === 128 && (te & 192) === 128 && (K = (T & 15) << 18 | (j & 63) << 12 | (W & 63) << 6 | te & 63, K > 65535 && K < 1114112 && (B = K));
837
837
  }
838
838
  }
839
839
  B === null ? (B = 65533, P = 1) : B > 65535 && (B -= 65536, h.push(B >>> 10 & 1023 | 55296), B = 56320 | B & 1023), h.push(B), _ += P;
840
840
  }
841
841
  return k(h);
842
842
  }
843
- var H = 4096;
843
+ var Y = 4096;
844
844
  function k(o) {
845
845
  var r = o.length;
846
- if (r <= H)
846
+ if (r <= Y)
847
847
  return String.fromCharCode.apply(String, o);
848
848
  for (var i = "", h = 0; h < r; )
849
849
  i += String.fromCharCode.apply(
850
850
  String,
851
- o.slice(h, h += H)
851
+ o.slice(h, h += Y)
852
852
  );
853
853
  return i;
854
854
  }
855
- function W(o, r, i) {
855
+ function $(o, r, i) {
856
856
  var h = "";
857
857
  i = Math.min(o.length, i);
858
858
  for (var _ = r; _ < i; ++_)
859
859
  h += String.fromCharCode(o[_] & 127);
860
860
  return h;
861
861
  }
862
- function C(o, r, i) {
862
+ function M(o, r, i) {
863
863
  var h = "";
864
864
  i = Math.min(o.length, i);
865
865
  for (var _ = r; _ < i; ++_)
866
866
  h += String.fromCharCode(o[_]);
867
867
  return h;
868
868
  }
869
- function ae(o, r, i) {
869
+ function J(o, r, i) {
870
870
  var h = o.length;
871
871
  (!r || r < 0) && (r = 0), (!i || i < 0 || i > h) && (i = h);
872
872
  for (var _ = "", T = r; T < i; ++T)
873
873
  _ += er[o[T]];
874
874
  return _;
875
875
  }
876
- function Z(o, r, i) {
876
+ function V(o, r, i) {
877
877
  for (var h = o.slice(r, i), _ = "", T = 0; T < h.length - 1; T += 2)
878
878
  _ += String.fromCharCode(h[T] + h[T + 1] * 256);
879
879
  return _;
@@ -884,62 +884,62 @@ ot.write = function(e, t, a, n, c, u) {
884
884
  var _ = this.subarray(r, i);
885
885
  return Object.setPrototypeOf(_, s.prototype), _;
886
886
  };
887
- function V(o, r, i) {
887
+ function q(o, r, i) {
888
888
  if (o % 1 !== 0 || o < 0) throw new RangeError("offset is not uint");
889
889
  if (o + r > i) throw new RangeError("Trying to access beyond buffer length");
890
890
  }
891
891
  s.prototype.readUintLE = s.prototype.readUIntLE = function(r, i, h) {
892
- r = r >>> 0, i = i >>> 0, h || V(r, i, this.length);
892
+ r = r >>> 0, i = i >>> 0, h || q(r, i, this.length);
893
893
  for (var _ = this[r], T = 1, B = 0; ++B < i && (T *= 256); )
894
894
  _ += this[r + B] * T;
895
895
  return _;
896
896
  }, s.prototype.readUintBE = s.prototype.readUIntBE = function(r, i, h) {
897
- r = r >>> 0, i = i >>> 0, h || V(r, i, this.length);
897
+ r = r >>> 0, i = i >>> 0, h || q(r, i, this.length);
898
898
  for (var _ = this[r + --i], T = 1; i > 0 && (T *= 256); )
899
899
  _ += this[r + --i] * T;
900
900
  return _;
901
901
  }, s.prototype.readUint8 = s.prototype.readUInt8 = function(r, i) {
902
- return r = r >>> 0, i || V(r, 1, this.length), this[r];
902
+ return r = r >>> 0, i || q(r, 1, this.length), this[r];
903
903
  }, s.prototype.readUint16LE = s.prototype.readUInt16LE = function(r, i) {
904
- return r = r >>> 0, i || V(r, 2, this.length), this[r] | this[r + 1] << 8;
904
+ return r = r >>> 0, i || q(r, 2, this.length), this[r] | this[r + 1] << 8;
905
905
  }, s.prototype.readUint16BE = s.prototype.readUInt16BE = function(r, i) {
906
- return r = r >>> 0, i || V(r, 2, this.length), this[r] << 8 | this[r + 1];
906
+ return r = r >>> 0, i || q(r, 2, this.length), this[r] << 8 | this[r + 1];
907
907
  }, s.prototype.readUint32LE = s.prototype.readUInt32LE = function(r, i) {
908
- return r = r >>> 0, i || V(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
908
+ return r = r >>> 0, i || q(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
909
909
  }, s.prototype.readUint32BE = s.prototype.readUInt32BE = function(r, i) {
910
- return r = r >>> 0, i || V(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
910
+ return r = r >>> 0, i || q(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
911
911
  }, s.prototype.readIntLE = function(r, i, h) {
912
- r = r >>> 0, i = i >>> 0, h || V(r, i, this.length);
912
+ r = r >>> 0, i = i >>> 0, h || q(r, i, this.length);
913
913
  for (var _ = this[r], T = 1, B = 0; ++B < i && (T *= 256); )
914
914
  _ += this[r + B] * T;
915
915
  return T *= 128, _ >= T && (_ -= Math.pow(2, 8 * i)), _;
916
916
  }, s.prototype.readIntBE = function(r, i, h) {
917
- r = r >>> 0, i = i >>> 0, h || V(r, i, this.length);
917
+ r = r >>> 0, i = i >>> 0, h || q(r, i, this.length);
918
918
  for (var _ = i, T = 1, B = this[r + --_]; _ > 0 && (T *= 256); )
919
919
  B += this[r + --_] * T;
920
920
  return T *= 128, B >= T && (B -= Math.pow(2, 8 * i)), B;
921
921
  }, s.prototype.readInt8 = function(r, i) {
922
- return r = r >>> 0, i || V(r, 1, this.length), this[r] & 128 ? (255 - this[r] + 1) * -1 : this[r];
922
+ return r = r >>> 0, i || q(r, 1, this.length), this[r] & 128 ? (255 - this[r] + 1) * -1 : this[r];
923
923
  }, s.prototype.readInt16LE = function(r, i) {
924
- r = r >>> 0, i || V(r, 2, this.length);
924
+ r = r >>> 0, i || q(r, 2, this.length);
925
925
  var h = this[r] | this[r + 1] << 8;
926
926
  return h & 32768 ? h | 4294901760 : h;
927
927
  }, s.prototype.readInt16BE = function(r, i) {
928
- r = r >>> 0, i || V(r, 2, this.length);
928
+ r = r >>> 0, i || q(r, 2, this.length);
929
929
  var h = this[r + 1] | this[r] << 8;
930
930
  return h & 32768 ? h | 4294901760 : h;
931
931
  }, s.prototype.readInt32LE = function(r, i) {
932
- return r = r >>> 0, i || V(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
932
+ return r = r >>> 0, i || q(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
933
933
  }, s.prototype.readInt32BE = function(r, i) {
934
- return r = r >>> 0, i || V(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
934
+ return r = r >>> 0, i || q(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
935
935
  }, s.prototype.readFloatLE = function(r, i) {
936
- return r = r >>> 0, i || V(r, 4, this.length), a.read(this, r, !0, 23, 4);
936
+ return r = r >>> 0, i || q(r, 4, this.length), a.read(this, r, !0, 23, 4);
937
937
  }, s.prototype.readFloatBE = function(r, i) {
938
- return r = r >>> 0, i || V(r, 4, this.length), a.read(this, r, !1, 23, 4);
938
+ return r = r >>> 0, i || q(r, 4, this.length), a.read(this, r, !1, 23, 4);
939
939
  }, s.prototype.readDoubleLE = function(r, i) {
940
- return r = r >>> 0, i || V(r, 8, this.length), a.read(this, r, !0, 52, 8);
940
+ return r = r >>> 0, i || q(r, 8, this.length), a.read(this, r, !0, 52, 8);
941
941
  }, s.prototype.readDoubleBE = function(r, i) {
942
- return r = r >>> 0, i || V(r, 8, this.length), a.read(this, r, !1, 52, 8);
942
+ return r = r >>> 0, i || q(r, 8, this.length), a.read(this, r, !1, 52, 8);
943
943
  };
944
944
  function X(o, r, i, h, _, T) {
945
945
  if (!s.isBuffer(o)) throw new TypeError('"buffer" argument must be a Buffer instance');
@@ -1206,7 +1206,7 @@ ut.prototype.end = function() {
1206
1206
  return this.decoder.end();
1207
1207
  };
1208
1208
  var We = {}, Ze = {}, Re = { exports: {} }, _t;
1209
- function Nr() {
1209
+ function Dr() {
1210
1210
  return _t || (_t = 1, function(e, t) {
1211
1211
  var a = st, n = a.Buffer;
1212
1212
  function c(f, s) {
@@ -1238,10 +1238,10 @@ function Nr() {
1238
1238
  }(Re, Re.exports)), Re.exports;
1239
1239
  }
1240
1240
  var At;
1241
- function Lr() {
1241
+ function Fr() {
1242
1242
  if (At) return Ze;
1243
1243
  At = 1;
1244
- var e = Nr().Buffer, t = e.isEncoding || function(d) {
1244
+ var e = Dr().Buffer, t = e.isEncoding || function(d) {
1245
1245
  switch (d = "" + d, d && d.toLowerCase()) {
1246
1246
  case "hex":
1247
1247
  case "utf8":
@@ -1261,7 +1261,7 @@ function Lr() {
1261
1261
  };
1262
1262
  function a(d) {
1263
1263
  if (!d) return "utf8";
1264
- for (var v; ; )
1264
+ for (var E; ; )
1265
1265
  switch (d) {
1266
1266
  case "utf8":
1267
1267
  case "utf-8":
@@ -1279,45 +1279,45 @@ function Lr() {
1279
1279
  case "hex":
1280
1280
  return d;
1281
1281
  default:
1282
- if (v) return;
1283
- d = ("" + d).toLowerCase(), v = !0;
1282
+ if (E) return;
1283
+ d = ("" + d).toLowerCase(), E = !0;
1284
1284
  }
1285
1285
  }
1286
1286
  function n(d) {
1287
- var v = a(d);
1288
- if (typeof v != "string" && (e.isEncoding === t || !t(d))) throw new Error("Unknown encoding: " + d);
1289
- return v || d;
1287
+ var E = a(d);
1288
+ if (typeof E != "string" && (e.isEncoding === t || !t(d))) throw new Error("Unknown encoding: " + d);
1289
+ return E || d;
1290
1290
  }
1291
1291
  Ze.StringDecoder = c;
1292
1292
  function c(d) {
1293
1293
  this.encoding = n(d);
1294
- var v;
1294
+ var E;
1295
1295
  switch (this.encoding) {
1296
1296
  case "utf16le":
1297
- this.text = w, this.end = g, v = 4;
1297
+ this.text = w, this.end = g, E = 4;
1298
1298
  break;
1299
1299
  case "utf8":
1300
- this.fillLast = p, v = 4;
1300
+ this.fillLast = p, E = 4;
1301
1301
  break;
1302
1302
  case "base64":
1303
- this.text = m, this.end = x, v = 3;
1303
+ this.text = m, this.end = x, E = 3;
1304
1304
  break;
1305
1305
  default:
1306
- this.write = A, this.end = S;
1306
+ this.write = A, this.end = I;
1307
1307
  return;
1308
1308
  }
1309
- this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(v);
1309
+ this.lastNeed = 0, this.lastTotal = 0, this.lastChar = e.allocUnsafe(E);
1310
1310
  }
1311
1311
  c.prototype.write = function(d) {
1312
1312
  if (d.length === 0) return "";
1313
- var v, E;
1313
+ var E, b;
1314
1314
  if (this.lastNeed) {
1315
- if (v = this.fillLast(d), v === void 0) return "";
1316
- E = this.lastNeed, this.lastNeed = 0;
1315
+ if (E = this.fillLast(d), E === void 0) return "";
1316
+ b = this.lastNeed, this.lastNeed = 0;
1317
1317
  } else
1318
- E = 0;
1319
- return E < d.length ? v ? v + this.text(d, E) : this.text(d, E) : v || "";
1320
- }, c.prototype.end = b, c.prototype.text = l, c.prototype.fillLast = function(d) {
1318
+ b = 0;
1319
+ return b < d.length ? E ? E + this.text(d, b) : this.text(d, b) : E || "";
1320
+ }, c.prototype.end = v, c.prototype.text = l, c.prototype.fillLast = function(d) {
1321
1321
  if (this.lastNeed <= d.length)
1322
1322
  return d.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1323
1323
  d.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, d.length), this.lastNeed -= d.length;
@@ -1325,78 +1325,78 @@ function Lr() {
1325
1325
  function u(d) {
1326
1326
  return d <= 127 ? 0 : d >> 5 === 6 ? 2 : d >> 4 === 14 ? 3 : d >> 3 === 30 ? 4 : d >> 6 === 2 ? -1 : -2;
1327
1327
  }
1328
- function f(d, v, E) {
1329
- var y = v.length - 1;
1330
- if (y < E) return 0;
1331
- var I = u(v[y]);
1332
- return I >= 0 ? (I > 0 && (d.lastNeed = I - 1), I) : --y < E || I === -2 ? 0 : (I = u(v[y]), I >= 0 ? (I > 0 && (d.lastNeed = I - 2), I) : --y < E || I === -2 ? 0 : (I = u(v[y]), I >= 0 ? (I > 0 && (I === 2 ? I = 0 : d.lastNeed = I - 3), I) : 0));
1328
+ function f(d, E, b) {
1329
+ var y = E.length - 1;
1330
+ if (y < b) return 0;
1331
+ var S = u(E[y]);
1332
+ return S >= 0 ? (S > 0 && (d.lastNeed = S - 1), S) : --y < b || S === -2 ? 0 : (S = u(E[y]), S >= 0 ? (S > 0 && (d.lastNeed = S - 2), S) : --y < b || S === -2 ? 0 : (S = u(E[y]), S >= 0 ? (S > 0 && (S === 2 ? S = 0 : d.lastNeed = S - 3), S) : 0));
1333
1333
  }
1334
- function s(d, v, E) {
1335
- if ((v[0] & 192) !== 128)
1334
+ function s(d, E, b) {
1335
+ if ((E[0] & 192) !== 128)
1336
1336
  return d.lastNeed = 0, "�";
1337
- if (d.lastNeed > 1 && v.length > 1) {
1338
- if ((v[1] & 192) !== 128)
1337
+ if (d.lastNeed > 1 && E.length > 1) {
1338
+ if ((E[1] & 192) !== 128)
1339
1339
  return d.lastNeed = 1, "�";
1340
- if (d.lastNeed > 2 && v.length > 2 && (v[2] & 192) !== 128)
1340
+ if (d.lastNeed > 2 && E.length > 2 && (E[2] & 192) !== 128)
1341
1341
  return d.lastNeed = 2, "�";
1342
1342
  }
1343
1343
  }
1344
1344
  function p(d) {
1345
- var v = this.lastTotal - this.lastNeed, E = s(this, d);
1346
- if (E !== void 0) return E;
1345
+ var E = this.lastTotal - this.lastNeed, b = s(this, d);
1346
+ if (b !== void 0) return b;
1347
1347
  if (this.lastNeed <= d.length)
1348
- return d.copy(this.lastChar, v, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1349
- d.copy(this.lastChar, v, 0, d.length), this.lastNeed -= d.length;
1348
+ return d.copy(this.lastChar, E, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal);
1349
+ d.copy(this.lastChar, E, 0, d.length), this.lastNeed -= d.length;
1350
1350
  }
1351
- function l(d, v) {
1352
- var E = f(this, d, v);
1353
- if (!this.lastNeed) return d.toString("utf8", v);
1354
- this.lastTotal = E;
1355
- var y = d.length - (E - this.lastNeed);
1356
- return d.copy(this.lastChar, 0, y), d.toString("utf8", v, y);
1351
+ function l(d, E) {
1352
+ var b = f(this, d, E);
1353
+ if (!this.lastNeed) return d.toString("utf8", E);
1354
+ this.lastTotal = b;
1355
+ var y = d.length - (b - this.lastNeed);
1356
+ return d.copy(this.lastChar, 0, y), d.toString("utf8", E, y);
1357
1357
  }
1358
- function b(d) {
1359
- var v = d && d.length ? this.write(d) : "";
1360
- return this.lastNeed ? v + "�" : v;
1358
+ function v(d) {
1359
+ var E = d && d.length ? this.write(d) : "";
1360
+ return this.lastNeed ? E + "�" : E;
1361
1361
  }
1362
- function w(d, v) {
1363
- if ((d.length - v) % 2 === 0) {
1364
- var E = d.toString("utf16le", v);
1365
- if (E) {
1366
- var y = E.charCodeAt(E.length - 1);
1362
+ function w(d, E) {
1363
+ if ((d.length - E) % 2 === 0) {
1364
+ var b = d.toString("utf16le", E);
1365
+ if (b) {
1366
+ var y = b.charCodeAt(b.length - 1);
1367
1367
  if (y >= 55296 && y <= 56319)
1368
- return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = d[d.length - 2], this.lastChar[1] = d[d.length - 1], E.slice(0, -1);
1368
+ return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = d[d.length - 2], this.lastChar[1] = d[d.length - 1], b.slice(0, -1);
1369
1369
  }
1370
- return E;
1370
+ return b;
1371
1371
  }
1372
- return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = d[d.length - 1], d.toString("utf16le", v, d.length - 1);
1372
+ return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = d[d.length - 1], d.toString("utf16le", E, d.length - 1);
1373
1373
  }
1374
1374
  function g(d) {
1375
- var v = d && d.length ? this.write(d) : "";
1375
+ var E = d && d.length ? this.write(d) : "";
1376
1376
  if (this.lastNeed) {
1377
- var E = this.lastTotal - this.lastNeed;
1378
- return v + this.lastChar.toString("utf16le", 0, E);
1377
+ var b = this.lastTotal - this.lastNeed;
1378
+ return E + this.lastChar.toString("utf16le", 0, b);
1379
1379
  }
1380
- return v;
1380
+ return E;
1381
1381
  }
1382
- function m(d, v) {
1383
- var E = (d.length - v) % 3;
1384
- return E === 0 ? d.toString("base64", v) : (this.lastNeed = 3 - E, this.lastTotal = 3, E === 1 ? this.lastChar[0] = d[d.length - 1] : (this.lastChar[0] = d[d.length - 2], this.lastChar[1] = d[d.length - 1]), d.toString("base64", v, d.length - E));
1382
+ function m(d, E) {
1383
+ var b = (d.length - E) % 3;
1384
+ return b === 0 ? d.toString("base64", E) : (this.lastNeed = 3 - b, this.lastTotal = 3, b === 1 ? this.lastChar[0] = d[d.length - 1] : (this.lastChar[0] = d[d.length - 2], this.lastChar[1] = d[d.length - 1]), d.toString("base64", E, d.length - b));
1385
1385
  }
1386
1386
  function x(d) {
1387
- var v = d && d.length ? this.write(d) : "";
1388
- return this.lastNeed ? v + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : v;
1387
+ var E = d && d.length ? this.write(d) : "";
1388
+ return this.lastNeed ? E + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : E;
1389
1389
  }
1390
1390
  function A(d) {
1391
1391
  return d.toString(this.encoding);
1392
1392
  }
1393
- function S(d) {
1393
+ function I(d) {
1394
1394
  return d && d.length ? this.write(d) : "";
1395
1395
  }
1396
1396
  return Ze;
1397
1397
  }
1398
1398
  var Ke, xt;
1399
- function Dr() {
1399
+ function Or() {
1400
1400
  if (xt) return Ke;
1401
1401
  xt = 1;
1402
1402
  var e = ge.Buffer;
@@ -1417,7 +1417,7 @@ function Dr() {
1417
1417
  this.enc = p.encodingName, this.bomAware = p.bomAware, this.enc === "base64" ? this.encoder = u : this.enc === "cesu8" && (this.enc = "utf8", this.encoder = f, e.from("eda0bdedb2a9", "hex").toString() !== "💩" && (this.decoder = s, this.defaultCharUnicode = l.defaultCharUnicode));
1418
1418
  }
1419
1419
  t.prototype.encoder = c, t.prototype.decoder = n;
1420
- var a = Lr().StringDecoder;
1420
+ var a = Fr().StringDecoder;
1421
1421
  a.prototype.end || (a.prototype.end = function() {
1422
1422
  });
1423
1423
  function n(p, l) {
@@ -1448,52 +1448,52 @@ function Dr() {
1448
1448
  function f(p, l) {
1449
1449
  }
1450
1450
  f.prototype.write = function(p) {
1451
- for (var l = e.alloc(p.length * 3), b = 0, w = 0; w < p.length; w++) {
1451
+ for (var l = e.alloc(p.length * 3), v = 0, w = 0; w < p.length; w++) {
1452
1452
  var g = p.charCodeAt(w);
1453
- g < 128 ? l[b++] = g : g < 2048 ? (l[b++] = 192 + (g >>> 6), l[b++] = 128 + (g & 63)) : (l[b++] = 224 + (g >>> 12), l[b++] = 128 + (g >>> 6 & 63), l[b++] = 128 + (g & 63));
1453
+ g < 128 ? l[v++] = g : g < 2048 ? (l[v++] = 192 + (g >>> 6), l[v++] = 128 + (g & 63)) : (l[v++] = 224 + (g >>> 12), l[v++] = 128 + (g >>> 6 & 63), l[v++] = 128 + (g & 63));
1454
1454
  }
1455
- return l.slice(0, b);
1455
+ return l.slice(0, v);
1456
1456
  }, f.prototype.end = function() {
1457
1457
  };
1458
1458
  function s(p, l) {
1459
1459
  this.acc = 0, this.contBytes = 0, this.accBytes = 0, this.defaultCharUnicode = l.defaultCharUnicode;
1460
1460
  }
1461
1461
  return s.prototype.write = function(p) {
1462
- for (var l = this.acc, b = this.contBytes, w = this.accBytes, g = "", m = 0; m < p.length; m++) {
1462
+ for (var l = this.acc, v = this.contBytes, w = this.accBytes, g = "", m = 0; m < p.length; m++) {
1463
1463
  var x = p[m];
1464
- (x & 192) !== 128 ? (b > 0 && (g += this.defaultCharUnicode, b = 0), x < 128 ? g += String.fromCharCode(x) : x < 224 ? (l = x & 31, b = 1, w = 1) : x < 240 ? (l = x & 15, b = 2, w = 1) : g += this.defaultCharUnicode) : b > 0 ? (l = l << 6 | x & 63, b--, w++, b === 0 && (w === 2 && l < 128 && l > 0 ? g += this.defaultCharUnicode : w === 3 && l < 2048 ? g += this.defaultCharUnicode : g += String.fromCharCode(l))) : g += this.defaultCharUnicode;
1464
+ (x & 192) !== 128 ? (v > 0 && (g += this.defaultCharUnicode, v = 0), x < 128 ? g += String.fromCharCode(x) : x < 224 ? (l = x & 31, v = 1, w = 1) : x < 240 ? (l = x & 15, v = 2, w = 1) : g += this.defaultCharUnicode) : v > 0 ? (l = l << 6 | x & 63, v--, w++, v === 0 && (w === 2 && l < 128 && l > 0 ? g += this.defaultCharUnicode : w === 3 && l < 2048 ? g += this.defaultCharUnicode : g += String.fromCharCode(l))) : g += this.defaultCharUnicode;
1465
1465
  }
1466
- return this.acc = l, this.contBytes = b, this.accBytes = w, g;
1466
+ return this.acc = l, this.contBytes = v, this.accBytes = w, g;
1467
1467
  }, s.prototype.end = function() {
1468
1468
  var p = 0;
1469
1469
  return this.contBytes > 0 && (p += this.defaultCharUnicode), p;
1470
1470
  }, Ke;
1471
1471
  }
1472
1472
  var ve = {}, St;
1473
- function Fr() {
1473
+ function Rr() {
1474
1474
  if (St) return ve;
1475
1475
  St = 1;
1476
1476
  var e = ge.Buffer;
1477
1477
  ve._utf32 = t;
1478
- function t(l, b) {
1479
- this.iconv = b, this.bomAware = !0, this.isLE = l.isLE;
1478
+ function t(l, v) {
1479
+ this.iconv = v, this.bomAware = !0, this.isLE = l.isLE;
1480
1480
  }
1481
1481
  ve.utf32le = { type: "_utf32", isLE: !0 }, ve.utf32be = { type: "_utf32", isLE: !1 }, ve.ucs4le = "utf32le", ve.ucs4be = "utf32be", t.prototype.encoder = a, t.prototype.decoder = n;
1482
- function a(l, b) {
1483
- this.isLE = b.isLE, this.highSurrogate = 0;
1482
+ function a(l, v) {
1483
+ this.isLE = v.isLE, this.highSurrogate = 0;
1484
1484
  }
1485
1485
  a.prototype.write = function(l) {
1486
- for (var b = e.from(l, "ucs2"), w = e.alloc(b.length * 2), g = this.isLE ? w.writeUInt32LE : w.writeUInt32BE, m = 0, x = 0; x < b.length; x += 2) {
1487
- var A = b.readUInt16LE(x), S = 55296 <= A && A < 56320, d = 56320 <= A && A < 57344;
1486
+ for (var v = e.from(l, "ucs2"), w = e.alloc(v.length * 2), g = this.isLE ? w.writeUInt32LE : w.writeUInt32BE, m = 0, x = 0; x < v.length; x += 2) {
1487
+ var A = v.readUInt16LE(x), I = 55296 <= A && A < 56320, d = 56320 <= A && A < 57344;
1488
1488
  if (this.highSurrogate)
1489
- if (S || !d)
1489
+ if (I || !d)
1490
1490
  g.call(w, this.highSurrogate, m), m += 4;
1491
1491
  else {
1492
- var v = (this.highSurrogate - 55296 << 10 | A - 56320) + 65536;
1493
- g.call(w, v, m), m += 4, this.highSurrogate = 0;
1492
+ var E = (this.highSurrogate - 55296 << 10 | A - 56320) + 65536;
1493
+ g.call(w, E, m), m += 4, this.highSurrogate = 0;
1494
1494
  continue;
1495
1495
  }
1496
- S ? this.highSurrogate = A : (g.call(w, A, m), m += 4, this.highSurrogate = 0);
1496
+ I ? this.highSurrogate = A : (g.call(w, A, m), m += 4, this.highSurrogate = 0);
1497
1497
  }
1498
1498
  return m < w.length && (w = w.slice(0, m)), w;
1499
1499
  }, a.prototype.end = function() {
@@ -1502,57 +1502,57 @@ function Fr() {
1502
1502
  return this.isLE ? l.writeUInt32LE(this.highSurrogate, 0) : l.writeUInt32BE(this.highSurrogate, 0), this.highSurrogate = 0, l;
1503
1503
  }
1504
1504
  };
1505
- function n(l, b) {
1506
- this.isLE = b.isLE, this.badChar = b.iconv.defaultCharUnicode.charCodeAt(0), this.overflow = [];
1505
+ function n(l, v) {
1506
+ this.isLE = v.isLE, this.badChar = v.iconv.defaultCharUnicode.charCodeAt(0), this.overflow = [];
1507
1507
  }
1508
1508
  n.prototype.write = function(l) {
1509
1509
  if (l.length === 0)
1510
1510
  return "";
1511
- var b = 0, w = 0, g = e.alloc(l.length + 4), m = 0, x = this.isLE, A = this.overflow, S = this.badChar;
1511
+ var v = 0, w = 0, g = e.alloc(l.length + 4), m = 0, x = this.isLE, A = this.overflow, I = this.badChar;
1512
1512
  if (A.length > 0) {
1513
- for (; b < l.length && A.length < 4; b++)
1514
- A.push(l[b]);
1515
- A.length === 4 && (x ? w = A[b] | A[b + 1] << 8 | A[b + 2] << 16 | A[b + 3] << 24 : w = A[b + 3] | A[b + 2] << 8 | A[b + 1] << 16 | A[b] << 24, A.length = 0, m = c(g, m, w, S));
1513
+ for (; v < l.length && A.length < 4; v++)
1514
+ A.push(l[v]);
1515
+ A.length === 4 && (x ? w = A[v] | A[v + 1] << 8 | A[v + 2] << 16 | A[v + 3] << 24 : w = A[v + 3] | A[v + 2] << 8 | A[v + 1] << 16 | A[v] << 24, A.length = 0, m = c(g, m, w, I));
1516
1516
  }
1517
- for (; b < l.length - 3; b += 4)
1518
- x ? w = l[b] | l[b + 1] << 8 | l[b + 2] << 16 | l[b + 3] << 24 : w = l[b + 3] | l[b + 2] << 8 | l[b + 1] << 16 | l[b] << 24, m = c(g, m, w, S);
1519
- for (; b < l.length; b++)
1520
- A.push(l[b]);
1517
+ for (; v < l.length - 3; v += 4)
1518
+ x ? w = l[v] | l[v + 1] << 8 | l[v + 2] << 16 | l[v + 3] << 24 : w = l[v + 3] | l[v + 2] << 8 | l[v + 1] << 16 | l[v] << 24, m = c(g, m, w, I);
1519
+ for (; v < l.length; v++)
1520
+ A.push(l[v]);
1521
1521
  return g.slice(0, m).toString("ucs2");
1522
1522
  };
1523
- function c(l, b, w, g) {
1523
+ function c(l, v, w, g) {
1524
1524
  if ((w < 0 || w > 1114111) && (w = g), w >= 65536) {
1525
1525
  w -= 65536;
1526
1526
  var m = 55296 | w >> 10;
1527
- l[b++] = m & 255, l[b++] = m >> 8;
1527
+ l[v++] = m & 255, l[v++] = m >> 8;
1528
1528
  var w = 56320 | w & 1023;
1529
1529
  }
1530
- return l[b++] = w & 255, l[b++] = w >> 8, b;
1530
+ return l[v++] = w & 255, l[v++] = w >> 8, v;
1531
1531
  }
1532
1532
  n.prototype.end = function() {
1533
1533
  this.overflow.length = 0;
1534
1534
  }, ve.utf32 = u, ve.ucs4 = "utf32";
1535
- function u(l, b) {
1536
- this.iconv = b;
1535
+ function u(l, v) {
1536
+ this.iconv = v;
1537
1537
  }
1538
1538
  u.prototype.encoder = f, u.prototype.decoder = s;
1539
- function f(l, b) {
1540
- l = l || {}, l.addBOM === void 0 && (l.addBOM = !0), this.encoder = b.iconv.getEncoder(l.defaultEncoding || "utf-32le", l);
1539
+ function f(l, v) {
1540
+ l = l || {}, l.addBOM === void 0 && (l.addBOM = !0), this.encoder = v.iconv.getEncoder(l.defaultEncoding || "utf-32le", l);
1541
1541
  }
1542
1542
  f.prototype.write = function(l) {
1543
1543
  return this.encoder.write(l);
1544
1544
  }, f.prototype.end = function() {
1545
1545
  return this.encoder.end();
1546
1546
  };
1547
- function s(l, b) {
1548
- this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = l || {}, this.iconv = b.iconv;
1547
+ function s(l, v) {
1548
+ this.decoder = null, this.initialBufs = [], this.initialBufsLen = 0, this.options = l || {}, this.iconv = v.iconv;
1549
1549
  }
1550
1550
  s.prototype.write = function(l) {
1551
1551
  if (!this.decoder) {
1552
1552
  if (this.initialBufs.push(l), this.initialBufsLen += l.length, this.initialBufsLen < 32)
1553
1553
  return "";
1554
- var b = p(this.initialBufs, this.options.defaultEncoding);
1555
- this.decoder = this.iconv.getDecoder(b, this.options);
1554
+ var v = p(this.initialBufs, this.options.defaultEncoding);
1555
+ this.decoder = this.iconv.getDecoder(v, this.options);
1556
1556
  for (var w = "", g = 0; g < this.initialBufs.length; g++)
1557
1557
  w += this.decoder.write(this.initialBufs[g]);
1558
1558
  return this.initialBufs.length = this.initialBufsLen = 0, w;
@@ -1562,34 +1562,34 @@ function Fr() {
1562
1562
  if (!this.decoder) {
1563
1563
  var l = p(this.initialBufs, this.options.defaultEncoding);
1564
1564
  this.decoder = this.iconv.getDecoder(l, this.options);
1565
- for (var b = "", w = 0; w < this.initialBufs.length; w++)
1566
- b += this.decoder.write(this.initialBufs[w]);
1565
+ for (var v = "", w = 0; w < this.initialBufs.length; w++)
1566
+ v += this.decoder.write(this.initialBufs[w]);
1567
1567
  var g = this.decoder.end();
1568
- return g && (b += g), this.initialBufs.length = this.initialBufsLen = 0, b;
1568
+ return g && (v += g), this.initialBufs.length = this.initialBufsLen = 0, v;
1569
1569
  }
1570
1570
  return this.decoder.end();
1571
1571
  };
1572
- function p(l, b) {
1573
- var w = [], g = 0, m = 0, x = 0, A = 0, S = 0;
1572
+ function p(l, v) {
1573
+ var w = [], g = 0, m = 0, x = 0, A = 0, I = 0;
1574
1574
  e:
1575
1575
  for (var d = 0; d < l.length; d++)
1576
- for (var v = l[d], E = 0; E < v.length; E++)
1577
- if (w.push(v[E]), w.length === 4) {
1576
+ for (var E = l[d], b = 0; b < E.length; b++)
1577
+ if (w.push(E[b]), w.length === 4) {
1578
1578
  if (g === 0) {
1579
1579
  if (w[0] === 255 && w[1] === 254 && w[2] === 0 && w[3] === 0)
1580
1580
  return "utf-32le";
1581
1581
  if (w[0] === 0 && w[1] === 0 && w[2] === 254 && w[3] === 255)
1582
1582
  return "utf-32be";
1583
1583
  }
1584
- if ((w[0] !== 0 || w[1] > 16) && x++, (w[3] !== 0 || w[2] > 16) && m++, w[0] === 0 && w[1] === 0 && (w[2] !== 0 || w[3] !== 0) && S++, (w[0] !== 0 || w[1] !== 0) && w[2] === 0 && w[3] === 0 && A++, w.length = 0, g++, g >= 100)
1584
+ if ((w[0] !== 0 || w[1] > 16) && x++, (w[3] !== 0 || w[2] > 16) && m++, w[0] === 0 && w[1] === 0 && (w[2] !== 0 || w[3] !== 0) && I++, (w[0] !== 0 || w[1] !== 0) && w[2] === 0 && w[3] === 0 && A++, w.length = 0, g++, g >= 100)
1585
1585
  break e;
1586
1586
  }
1587
- return S - x > A - m ? "utf-32be" : S - x < A - m ? "utf-32le" : b || "utf-32le";
1587
+ return I - x > A - m ? "utf-32be" : I - x < A - m ? "utf-32le" : v || "utf-32le";
1588
1588
  }
1589
1589
  return ve;
1590
1590
  }
1591
1591
  var Me = {}, It;
1592
- function Or() {
1592
+ function Mr() {
1593
1593
  if (It) return Me;
1594
1594
  It = 1;
1595
1595
  var e = ge.Buffer;
@@ -1600,9 +1600,9 @@ function Or() {
1600
1600
  function a() {
1601
1601
  }
1602
1602
  a.prototype.write = function(p) {
1603
- for (var l = e.from(p, "ucs2"), b = 0; b < l.length; b += 2) {
1604
- var w = l[b];
1605
- l[b] = l[b + 1], l[b + 1] = w;
1603
+ for (var l = e.from(p, "ucs2"), v = 0; v < l.length; v += 2) {
1604
+ var w = l[v];
1605
+ l[v] = l[v + 1], l[v + 1] = w;
1606
1606
  }
1607
1607
  return l;
1608
1608
  }, a.prototype.end = function() {
@@ -1613,10 +1613,10 @@ function Or() {
1613
1613
  n.prototype.write = function(p) {
1614
1614
  if (p.length == 0)
1615
1615
  return "";
1616
- var l = e.alloc(p.length + 1), b = 0, w = 0;
1617
- for (this.overflowByte !== -1 && (l[0] = p[0], l[1] = this.overflowByte, b = 1, w = 2); b < p.length - 1; b += 2, w += 2)
1618
- l[w] = p[b + 1], l[w + 1] = p[b];
1619
- return this.overflowByte = b == p.length - 1 ? p[p.length - 1] : -1, l.slice(0, w).toString("ucs2");
1616
+ var l = e.alloc(p.length + 1), v = 0, w = 0;
1617
+ for (this.overflowByte !== -1 && (l[0] = p[0], l[1] = this.overflowByte, v = 1, w = 2); v < p.length - 1; v += 2, w += 2)
1618
+ l[w] = p[v + 1], l[w + 1] = p[v];
1619
+ return this.overflowByte = v == p.length - 1 ? p[p.length - 1] : -1, l.slice(0, w).toString("ucs2");
1620
1620
  }, n.prototype.end = function() {
1621
1621
  this.overflowByte = -1;
1622
1622
  }, Me.utf16 = c;
@@ -1641,33 +1641,33 @@ function Or() {
1641
1641
  return "";
1642
1642
  var l = s(this.initialBufs, this.options.defaultEncoding);
1643
1643
  this.decoder = this.iconv.getDecoder(l, this.options);
1644
- for (var b = "", w = 0; w < this.initialBufs.length; w++)
1645
- b += this.decoder.write(this.initialBufs[w]);
1646
- return this.initialBufs.length = this.initialBufsLen = 0, b;
1644
+ for (var v = "", w = 0; w < this.initialBufs.length; w++)
1645
+ v += this.decoder.write(this.initialBufs[w]);
1646
+ return this.initialBufs.length = this.initialBufsLen = 0, v;
1647
1647
  }
1648
1648
  return this.decoder.write(p);
1649
1649
  }, f.prototype.end = function() {
1650
1650
  if (!this.decoder) {
1651
1651
  var p = s(this.initialBufs, this.options.defaultEncoding);
1652
1652
  this.decoder = this.iconv.getDecoder(p, this.options);
1653
- for (var l = "", b = 0; b < this.initialBufs.length; b++)
1654
- l += this.decoder.write(this.initialBufs[b]);
1653
+ for (var l = "", v = 0; v < this.initialBufs.length; v++)
1654
+ l += this.decoder.write(this.initialBufs[v]);
1655
1655
  var w = this.decoder.end();
1656
1656
  return w && (l += w), this.initialBufs.length = this.initialBufsLen = 0, l;
1657
1657
  }
1658
1658
  return this.decoder.end();
1659
1659
  };
1660
1660
  function s(p, l) {
1661
- var b = [], w = 0, g = 0, m = 0;
1661
+ var v = [], w = 0, g = 0, m = 0;
1662
1662
  e:
1663
1663
  for (var x = 0; x < p.length; x++)
1664
- for (var A = p[x], S = 0; S < A.length; S++)
1665
- if (b.push(A[S]), b.length === 2) {
1664
+ for (var A = p[x], I = 0; I < A.length; I++)
1665
+ if (v.push(A[I]), v.length === 2) {
1666
1666
  if (w === 0) {
1667
- if (b[0] === 255 && b[1] === 254) return "utf-16le";
1668
- if (b[0] === 254 && b[1] === 255) return "utf-16be";
1667
+ if (v[0] === 255 && v[1] === 254) return "utf-16le";
1668
+ if (v[0] === 254 && v[1] === 255) return "utf-16be";
1669
1669
  }
1670
- if (b[0] === 0 && b[1] !== 0 && m++, b[0] !== 0 && b[1] === 0 && g++, b.length = 0, w++, w >= 100)
1670
+ if (v[0] === 0 && v[1] !== 0 && m++, v[0] !== 0 && v[1] === 0 && g++, v.length = 0, w++, w >= 100)
1671
1671
  break e;
1672
1672
  }
1673
1673
  return m > g ? "utf-16be" : m < g ? "utf-16le" : l || "utf-16le";
@@ -1675,103 +1675,103 @@ function Or() {
1675
1675
  return Me;
1676
1676
  }
1677
1677
  var Le = {}, Tt;
1678
- function Rr() {
1678
+ function Cr() {
1679
1679
  if (Tt) return Le;
1680
1680
  Tt = 1;
1681
1681
  var e = ge.Buffer;
1682
1682
  Le.utf7 = t, Le.unicode11utf7 = "utf7";
1683
- function t(A, S) {
1684
- this.iconv = S;
1683
+ function t(A, I) {
1684
+ this.iconv = I;
1685
1685
  }
1686
1686
  t.prototype.encoder = n, t.prototype.decoder = c, t.prototype.bomAware = !0;
1687
1687
  var a = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;
1688
- function n(A, S) {
1689
- this.iconv = S.iconv;
1688
+ function n(A, I) {
1689
+ this.iconv = I.iconv;
1690
1690
  }
1691
1691
  n.prototype.write = function(A) {
1692
- return e.from(A.replace(a, (function(S) {
1693
- return "+" + (S === "+" ? "" : this.iconv.encode(S, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
1692
+ return e.from(A.replace(a, (function(I) {
1693
+ return "+" + (I === "+" ? "" : this.iconv.encode(I, "utf16-be").toString("base64").replace(/=+$/, "")) + "-";
1694
1694
  }).bind(this)));
1695
1695
  }, n.prototype.end = function() {
1696
1696
  };
1697
- function c(A, S) {
1698
- this.iconv = S.iconv, this.inBase64 = !1, this.base64Accum = "";
1697
+ function c(A, I) {
1698
+ this.iconv = I.iconv, this.inBase64 = !1, this.base64Accum = "";
1699
1699
  }
1700
1700
  for (var u = /[A-Za-z0-9\/+]/, f = [], s = 0; s < 256; s++)
1701
1701
  f[s] = u.test(String.fromCharCode(s));
1702
- var p = 43, l = 45, b = 38;
1702
+ var p = 43, l = 45, v = 38;
1703
1703
  c.prototype.write = function(A) {
1704
- for (var S = "", d = 0, v = this.inBase64, E = this.base64Accum, y = 0; y < A.length; y++)
1705
- if (!v)
1706
- A[y] == p && (S += this.iconv.decode(A.slice(d, y), "ascii"), d = y + 1, v = !0);
1704
+ for (var I = "", d = 0, E = this.inBase64, b = this.base64Accum, y = 0; y < A.length; y++)
1705
+ if (!E)
1706
+ A[y] == p && (I += this.iconv.decode(A.slice(d, y), "ascii"), d = y + 1, E = !0);
1707
1707
  else if (!f[A[y]]) {
1708
1708
  if (y == d && A[y] == l)
1709
- S += "+";
1709
+ I += "+";
1710
1710
  else {
1711
- var I = E + this.iconv.decode(A.slice(d, y), "ascii");
1712
- S += this.iconv.decode(e.from(I, "base64"), "utf16-be");
1711
+ var S = b + this.iconv.decode(A.slice(d, y), "ascii");
1712
+ I += this.iconv.decode(e.from(S, "base64"), "utf16-be");
1713
1713
  }
1714
- A[y] != l && y--, d = y + 1, v = !1, E = "";
1714
+ A[y] != l && y--, d = y + 1, E = !1, b = "";
1715
1715
  }
1716
- if (!v)
1717
- S += this.iconv.decode(A.slice(d), "ascii");
1716
+ if (!E)
1717
+ I += this.iconv.decode(A.slice(d), "ascii");
1718
1718
  else {
1719
- var I = E + this.iconv.decode(A.slice(d), "ascii"), U = I.length - I.length % 8;
1720
- E = I.slice(U), I = I.slice(0, U), S += this.iconv.decode(e.from(I, "base64"), "utf16-be");
1719
+ var S = b + this.iconv.decode(A.slice(d), "ascii"), U = S.length - S.length % 8;
1720
+ b = S.slice(U), S = S.slice(0, U), I += this.iconv.decode(e.from(S, "base64"), "utf16-be");
1721
1721
  }
1722
- return this.inBase64 = v, this.base64Accum = E, S;
1722
+ return this.inBase64 = E, this.base64Accum = b, I;
1723
1723
  }, c.prototype.end = function() {
1724
1724
  var A = "";
1725
1725
  return this.inBase64 && this.base64Accum.length > 0 && (A = this.iconv.decode(e.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", A;
1726
1726
  }, Le.utf7imap = w;
1727
- function w(A, S) {
1728
- this.iconv = S;
1727
+ function w(A, I) {
1728
+ this.iconv = I;
1729
1729
  }
1730
1730
  w.prototype.encoder = g, w.prototype.decoder = m, w.prototype.bomAware = !0;
1731
- function g(A, S) {
1732
- this.iconv = S.iconv, this.inBase64 = !1, this.base64Accum = e.alloc(6), this.base64AccumIdx = 0;
1731
+ function g(A, I) {
1732
+ this.iconv = I.iconv, this.inBase64 = !1, this.base64Accum = e.alloc(6), this.base64AccumIdx = 0;
1733
1733
  }
1734
1734
  g.prototype.write = function(A) {
1735
- for (var S = this.inBase64, d = this.base64Accum, v = this.base64AccumIdx, E = e.alloc(A.length * 5 + 10), y = 0, I = 0; I < A.length; I++) {
1736
- var U = A.charCodeAt(I);
1737
- 32 <= U && U <= 126 ? (S && (v > 0 && (y += E.write(d.slice(0, v).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), y), v = 0), E[y++] = l, S = !1), S || (E[y++] = U, U === b && (E[y++] = l))) : (S || (E[y++] = b, S = !0), S && (d[v++] = U >> 8, d[v++] = U & 255, v == d.length && (y += E.write(d.toString("base64").replace(/\//g, ","), y), v = 0)));
1735
+ for (var I = this.inBase64, d = this.base64Accum, E = this.base64AccumIdx, b = e.alloc(A.length * 5 + 10), y = 0, S = 0; S < A.length; S++) {
1736
+ var U = A.charCodeAt(S);
1737
+ 32 <= U && U <= 126 ? (I && (E > 0 && (y += b.write(d.slice(0, E).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), y), E = 0), b[y++] = l, I = !1), I || (b[y++] = U, U === v && (b[y++] = l))) : (I || (b[y++] = v, I = !0), I && (d[E++] = U >> 8, d[E++] = U & 255, E == d.length && (y += b.write(d.toString("base64").replace(/\//g, ","), y), E = 0)));
1738
1738
  }
1739
- return this.inBase64 = S, this.base64AccumIdx = v, E.slice(0, y);
1739
+ return this.inBase64 = I, this.base64AccumIdx = E, b.slice(0, y);
1740
1740
  }, g.prototype.end = function() {
1741
- var A = e.alloc(10), S = 0;
1742
- return this.inBase64 && (this.base64AccumIdx > 0 && (S += A.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), S), this.base64AccumIdx = 0), A[S++] = l, this.inBase64 = !1), A.slice(0, S);
1741
+ var A = e.alloc(10), I = 0;
1742
+ return this.inBase64 && (this.base64AccumIdx > 0 && (I += A.write(this.base64Accum.slice(0, this.base64AccumIdx).toString("base64").replace(/\//g, ",").replace(/=+$/, ""), I), this.base64AccumIdx = 0), A[I++] = l, this.inBase64 = !1), A.slice(0, I);
1743
1743
  };
1744
- function m(A, S) {
1745
- this.iconv = S.iconv, this.inBase64 = !1, this.base64Accum = "";
1744
+ function m(A, I) {
1745
+ this.iconv = I.iconv, this.inBase64 = !1, this.base64Accum = "";
1746
1746
  }
1747
1747
  var x = f.slice();
1748
1748
  return x[44] = !0, m.prototype.write = function(A) {
1749
- for (var S = "", d = 0, v = this.inBase64, E = this.base64Accum, y = 0; y < A.length; y++)
1750
- if (!v)
1751
- A[y] == b && (S += this.iconv.decode(A.slice(d, y), "ascii"), d = y + 1, v = !0);
1749
+ for (var I = "", d = 0, E = this.inBase64, b = this.base64Accum, y = 0; y < A.length; y++)
1750
+ if (!E)
1751
+ A[y] == v && (I += this.iconv.decode(A.slice(d, y), "ascii"), d = y + 1, E = !0);
1752
1752
  else if (!x[A[y]]) {
1753
1753
  if (y == d && A[y] == l)
1754
- S += "&";
1754
+ I += "&";
1755
1755
  else {
1756
- var I = E + this.iconv.decode(A.slice(d, y), "ascii").replace(/,/g, "/");
1757
- S += this.iconv.decode(e.from(I, "base64"), "utf16-be");
1756
+ var S = b + this.iconv.decode(A.slice(d, y), "ascii").replace(/,/g, "/");
1757
+ I += this.iconv.decode(e.from(S, "base64"), "utf16-be");
1758
1758
  }
1759
- A[y] != l && y--, d = y + 1, v = !1, E = "";
1759
+ A[y] != l && y--, d = y + 1, E = !1, b = "";
1760
1760
  }
1761
- if (!v)
1762
- S += this.iconv.decode(A.slice(d), "ascii");
1761
+ if (!E)
1762
+ I += this.iconv.decode(A.slice(d), "ascii");
1763
1763
  else {
1764
- var I = E + this.iconv.decode(A.slice(d), "ascii").replace(/,/g, "/"), U = I.length - I.length % 8;
1765
- E = I.slice(U), I = I.slice(0, U), S += this.iconv.decode(e.from(I, "base64"), "utf16-be");
1764
+ var S = b + this.iconv.decode(A.slice(d), "ascii").replace(/,/g, "/"), U = S.length - S.length % 8;
1765
+ b = S.slice(U), S = S.slice(0, U), I += this.iconv.decode(e.from(S, "base64"), "utf16-be");
1766
1766
  }
1767
- return this.inBase64 = v, this.base64Accum = E, S;
1767
+ return this.inBase64 = E, this.base64Accum = b, I;
1768
1768
  }, m.prototype.end = function() {
1769
1769
  var A = "";
1770
1770
  return this.inBase64 && this.base64Accum.length > 0 && (A = this.iconv.decode(e.from(this.base64Accum, "base64"), "utf16-be")), this.inBase64 = !1, this.base64Accum = "", A;
1771
1771
  }, Le;
1772
1772
  }
1773
1773
  var $e = {}, Bt;
1774
- function Mr() {
1774
+ function kr() {
1775
1775
  if (Bt) return $e;
1776
1776
  Bt = 1;
1777
1777
  var e = ge.Buffer;
@@ -1812,7 +1812,7 @@ function Mr() {
1812
1812
  }, $e;
1813
1813
  }
1814
1814
  var Xe, Ut;
1815
- function Cr() {
1815
+ function Pr() {
1816
1816
  return Ut || (Ut = 1, Xe = {
1817
1817
  // Not supported by iconv, not sure why.
1818
1818
  10029: "maccenteuro",
@@ -1961,7 +1961,7 @@ function Cr() {
1961
1961
  }), Xe;
1962
1962
  }
1963
1963
  var Je, Nt;
1964
- function kr() {
1964
+ function Gr() {
1965
1965
  return Nt || (Nt = 1, Je = {
1966
1966
  437: "cp437",
1967
1967
  737: "cp737",
@@ -2417,7 +2417,7 @@ function kr() {
2417
2417
  }), Je;
2418
2418
  }
2419
2419
  var Qe = {}, Lt;
2420
- function Pr() {
2420
+ function Hr() {
2421
2421
  if (Lt) return Qe;
2422
2422
  Lt = 1;
2423
2423
  var e = ge.Buffer;
@@ -2435,27 +2435,27 @@ function Pr() {
2435
2435
  this._addDecodeChunk(x[A]);
2436
2436
  if (typeof g.gb18030 == "function") {
2437
2437
  this.gb18030 = g.gb18030();
2438
- var S = this.decodeTables.length;
2438
+ var I = this.decodeTables.length;
2439
2439
  this.decodeTables.push(u.slice(0));
2440
2440
  var d = this.decodeTables.length;
2441
2441
  this.decodeTables.push(u.slice(0));
2442
- for (var v = this.decodeTables[0], A = 129; A <= 254; A++)
2443
- for (var E = this.decodeTables[c - v[A]], y = 48; y <= 57; y++) {
2444
- if (E[y] === t)
2445
- E[y] = c - S;
2446
- else if (E[y] > c)
2442
+ for (var E = this.decodeTables[0], A = 129; A <= 254; A++)
2443
+ for (var b = this.decodeTables[c - E[A]], y = 48; y <= 57; y++) {
2444
+ if (b[y] === t)
2445
+ b[y] = c - I;
2446
+ else if (b[y] > c)
2447
2447
  throw new Error("gb18030 decode tables conflict at byte 2");
2448
- for (var I = this.decodeTables[c - E[y]], U = 129; U <= 254; U++) {
2449
- if (I[U] === t)
2450
- I[U] = c - d;
2448
+ for (var S = this.decodeTables[c - b[y]], U = 129; U <= 254; U++) {
2449
+ if (S[U] === t)
2450
+ S[U] = c - d;
2451
2451
  else {
2452
- if (I[U] === c - d)
2452
+ if (S[U] === c - d)
2453
2453
  continue;
2454
- if (I[U] > c)
2454
+ if (S[U] > c)
2455
2455
  throw new Error("gb18030 decode tables conflict at byte 3");
2456
2456
  }
2457
- for (var N = this.decodeTables[c - I[U]], O = 48; O <= 57; O++)
2458
- N[O] === t && (N[O] = a);
2457
+ for (var N = this.decodeTables[c - S[U]], R = 48; R <= 57; R++)
2458
+ N[R] === t && (N[R] = a);
2459
2459
  }
2460
2460
  }
2461
2461
  }
@@ -2471,20 +2471,20 @@ function Pr() {
2471
2471
  D[y] = !0;
2472
2472
  }
2473
2473
  if (this._fillEncodeTable(0, 0, D), g.encodeAdd)
2474
- for (var M in g.encodeAdd)
2475
- Object.prototype.hasOwnProperty.call(g.encodeAdd, M) && this._setEncodeChar(M.charCodeAt(0), g.encodeAdd[M]);
2474
+ for (var C in g.encodeAdd)
2475
+ Object.prototype.hasOwnProperty.call(g.encodeAdd, C) && this._setEncodeChar(C.charCodeAt(0), g.encodeAdd[C]);
2476
2476
  this.defCharSB = this.encodeTable[0][m.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === t && (this.defCharSB = this.encodeTable[0]["?"]), this.defCharSB === t && (this.defCharSB = 63);
2477
2477
  }
2478
- p.prototype.encoder = l, p.prototype.decoder = b, p.prototype._getDecodeTrieNode = function(g) {
2478
+ p.prototype.encoder = l, p.prototype.decoder = v, p.prototype._getDecodeTrieNode = function(g) {
2479
2479
  for (var m = []; g > 0; g >>>= 8)
2480
2480
  m.push(g & 255);
2481
2481
  m.length == 0 && m.push(0);
2482
2482
  for (var x = this.decodeTables[0], A = m.length - 1; A > 0; A--) {
2483
- var S = x[m[A]];
2484
- if (S == t)
2483
+ var I = x[m[A]];
2484
+ if (I == t)
2485
2485
  x[m[A]] = c - this.decodeTables.length, this.decodeTables.push(x = u.slice(0));
2486
- else if (S <= c)
2487
- x = this.decodeTables[c - S];
2486
+ else if (I <= c)
2487
+ x = this.decodeTables[c - I];
2488
2488
  else
2489
2489
  throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + g.toString(16));
2490
2490
  }
@@ -2493,28 +2493,28 @@ function Pr() {
2493
2493
  var m = parseInt(g[0], 16), x = this._getDecodeTrieNode(m);
2494
2494
  m = m & 255;
2495
2495
  for (var A = 1; A < g.length; A++) {
2496
- var S = g[A];
2497
- if (typeof S == "string")
2498
- for (var d = 0; d < S.length; ) {
2499
- var v = S.charCodeAt(d++);
2500
- if (55296 <= v && v < 56320) {
2501
- var E = S.charCodeAt(d++);
2502
- if (56320 <= E && E < 57344)
2503
- x[m++] = 65536 + (v - 55296) * 1024 + (E - 56320);
2496
+ var I = g[A];
2497
+ if (typeof I == "string")
2498
+ for (var d = 0; d < I.length; ) {
2499
+ var E = I.charCodeAt(d++);
2500
+ if (55296 <= E && E < 56320) {
2501
+ var b = I.charCodeAt(d++);
2502
+ if (56320 <= b && b < 57344)
2503
+ x[m++] = 65536 + (E - 55296) * 1024 + (b - 56320);
2504
2504
  else
2505
2505
  throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + g[0]);
2506
- } else if (4080 < v && v <= 4095) {
2507
- for (var y = 4095 - v + 2, I = [], U = 0; U < y; U++)
2508
- I.push(S.charCodeAt(d++));
2509
- x[m++] = n - this.decodeTableSeq.length, this.decodeTableSeq.push(I);
2506
+ } else if (4080 < E && E <= 4095) {
2507
+ for (var y = 4095 - E + 2, S = [], U = 0; U < y; U++)
2508
+ S.push(I.charCodeAt(d++));
2509
+ x[m++] = n - this.decodeTableSeq.length, this.decodeTableSeq.push(S);
2510
2510
  } else
2511
- x[m++] = v;
2511
+ x[m++] = E;
2512
2512
  }
2513
- else if (typeof S == "number")
2514
- for (var N = x[m - 1] + 1, d = 0; d < S; d++)
2513
+ else if (typeof I == "number")
2514
+ for (var N = x[m - 1] + 1, d = 0; d < I; d++)
2515
2515
  x[m++] = N++;
2516
2516
  else
2517
- throw new Error("Incorrect type '" + typeof S + "' given in " + this.encodingName + " at chunk " + g[0]);
2517
+ throw new Error("Incorrect type '" + typeof I + "' given in " + this.encodingName + " at chunk " + g[0]);
2518
2518
  }
2519
2519
  if (m > 255)
2520
2520
  throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + g[0] + ": too long" + m);
@@ -2525,77 +2525,77 @@ function Pr() {
2525
2525
  var x = this._getEncodeBucket(g), A = g & 255;
2526
2526
  x[A] <= n ? this.encodeTableSeq[n - x[A]][f] = m : x[A] == t && (x[A] = m);
2527
2527
  }, p.prototype._setEncodeSequence = function(g, m) {
2528
- var x = g[0], A = this._getEncodeBucket(x), S = x & 255, d;
2529
- A[S] <= n ? d = this.encodeTableSeq[n - A[S]] : (d = {}, A[S] !== t && (d[f] = A[S]), A[S] = n - this.encodeTableSeq.length, this.encodeTableSeq.push(d));
2530
- for (var v = 1; v < g.length - 1; v++) {
2531
- var E = d[x];
2532
- typeof E == "object" ? d = E : (d = d[x] = {}, E !== void 0 && (d[f] = E));
2528
+ var x = g[0], A = this._getEncodeBucket(x), I = x & 255, d;
2529
+ A[I] <= n ? d = this.encodeTableSeq[n - A[I]] : (d = {}, A[I] !== t && (d[f] = A[I]), A[I] = n - this.encodeTableSeq.length, this.encodeTableSeq.push(d));
2530
+ for (var E = 1; E < g.length - 1; E++) {
2531
+ var b = d[x];
2532
+ typeof b == "object" ? d = b : (d = d[x] = {}, b !== void 0 && (d[f] = b));
2533
2533
  }
2534
2534
  x = g[g.length - 1], d[x] = m;
2535
2535
  }, p.prototype._fillEncodeTable = function(g, m, x) {
2536
- for (var A = this.decodeTables[g], S = !1, d = {}, v = 0; v < 256; v++) {
2537
- var E = A[v], y = m + v;
2536
+ for (var A = this.decodeTables[g], I = !1, d = {}, E = 0; E < 256; E++) {
2537
+ var b = A[E], y = m + E;
2538
2538
  if (!x[y])
2539
- if (E >= 0)
2540
- this._setEncodeChar(E, y), S = !0;
2541
- else if (E <= c) {
2542
- var I = c - E;
2543
- if (!d[I]) {
2539
+ if (b >= 0)
2540
+ this._setEncodeChar(b, y), I = !0;
2541
+ else if (b <= c) {
2542
+ var S = c - b;
2543
+ if (!d[S]) {
2544
2544
  var U = y << 8 >>> 0;
2545
- this._fillEncodeTable(I, U, x) ? S = !0 : d[I] = !0;
2545
+ this._fillEncodeTable(S, U, x) ? I = !0 : d[S] = !0;
2546
2546
  }
2547
- } else E <= n && (this._setEncodeSequence(this.decodeTableSeq[n - E], y), S = !0);
2547
+ } else b <= n && (this._setEncodeSequence(this.decodeTableSeq[n - b], y), I = !0);
2548
2548
  }
2549
- return S;
2549
+ return I;
2550
2550
  };
2551
2551
  function l(g, m) {
2552
2552
  this.leadSurrogate = -1, this.seqObj = void 0, this.encodeTable = m.encodeTable, this.encodeTableSeq = m.encodeTableSeq, this.defaultCharSingleByte = m.defCharSB, this.gb18030 = m.gb18030;
2553
2553
  }
2554
2554
  l.prototype.write = function(g) {
2555
- for (var m = e.alloc(g.length * (this.gb18030 ? 4 : 3)), x = this.leadSurrogate, A = this.seqObj, S = -1, d = 0, v = 0; ; ) {
2556
- if (S === -1) {
2555
+ for (var m = e.alloc(g.length * (this.gb18030 ? 4 : 3)), x = this.leadSurrogate, A = this.seqObj, I = -1, d = 0, E = 0; ; ) {
2556
+ if (I === -1) {
2557
2557
  if (d == g.length) break;
2558
- var E = g.charCodeAt(d++);
2558
+ var b = g.charCodeAt(d++);
2559
2559
  } else {
2560
- var E = S;
2561
- S = -1;
2560
+ var b = I;
2561
+ I = -1;
2562
2562
  }
2563
- if (55296 <= E && E < 57344)
2564
- if (E < 56320)
2563
+ if (55296 <= b && b < 57344)
2564
+ if (b < 56320)
2565
2565
  if (x === -1) {
2566
- x = E;
2566
+ x = b;
2567
2567
  continue;
2568
2568
  } else
2569
- x = E, E = t;
2569
+ x = b, b = t;
2570
2570
  else
2571
- x !== -1 ? (E = 65536 + (x - 55296) * 1024 + (E - 56320), x = -1) : E = t;
2572
- else x !== -1 && (S = E, E = t, x = -1);
2571
+ x !== -1 ? (b = 65536 + (x - 55296) * 1024 + (b - 56320), x = -1) : b = t;
2572
+ else x !== -1 && (I = b, b = t, x = -1);
2573
2573
  var y = t;
2574
- if (A !== void 0 && E != t) {
2575
- var I = A[E];
2576
- if (typeof I == "object") {
2577
- A = I;
2574
+ if (A !== void 0 && b != t) {
2575
+ var S = A[b];
2576
+ if (typeof S == "object") {
2577
+ A = S;
2578
2578
  continue;
2579
- } else typeof I == "number" ? y = I : I == null && (I = A[f], I !== void 0 && (y = I, S = E));
2579
+ } else typeof S == "number" ? y = S : S == null && (S = A[f], S !== void 0 && (y = S, I = b));
2580
2580
  A = void 0;
2581
- } else if (E >= 0) {
2582
- var U = this.encodeTable[E >> 8];
2583
- if (U !== void 0 && (y = U[E & 255]), y <= n) {
2581
+ } else if (b >= 0) {
2582
+ var U = this.encodeTable[b >> 8];
2583
+ if (U !== void 0 && (y = U[b & 255]), y <= n) {
2584
2584
  A = this.encodeTableSeq[n - y];
2585
2585
  continue;
2586
2586
  }
2587
2587
  if (y == t && this.gb18030) {
2588
- var N = w(this.gb18030.uChars, E);
2588
+ var N = w(this.gb18030.uChars, b);
2589
2589
  if (N != -1) {
2590
- var y = this.gb18030.gbChars[N] + (E - this.gb18030.uChars[N]);
2591
- m[v++] = 129 + Math.floor(y / 12600), y = y % 12600, m[v++] = 48 + Math.floor(y / 1260), y = y % 1260, m[v++] = 129 + Math.floor(y / 10), y = y % 10, m[v++] = 48 + y;
2590
+ var y = this.gb18030.gbChars[N] + (b - this.gb18030.uChars[N]);
2591
+ m[E++] = 129 + Math.floor(y / 12600), y = y % 12600, m[E++] = 48 + Math.floor(y / 1260), y = y % 1260, m[E++] = 129 + Math.floor(y / 10), y = y % 10, m[E++] = 48 + y;
2592
2592
  continue;
2593
2593
  }
2594
2594
  }
2595
2595
  }
2596
- y === t && (y = this.defaultCharSingleByte), y < 256 ? m[v++] = y : y < 65536 ? (m[v++] = y >> 8, m[v++] = y & 255) : y < 16777216 ? (m[v++] = y >> 16, m[v++] = y >> 8 & 255, m[v++] = y & 255) : (m[v++] = y >>> 24, m[v++] = y >>> 16 & 255, m[v++] = y >>> 8 & 255, m[v++] = y & 255);
2596
+ y === t && (y = this.defaultCharSingleByte), y < 256 ? m[E++] = y : y < 65536 ? (m[E++] = y >> 8, m[E++] = y & 255) : y < 16777216 ? (m[E++] = y >> 16, m[E++] = y >> 8 & 255, m[E++] = y & 255) : (m[E++] = y >>> 24, m[E++] = y >>> 16 & 255, m[E++] = y >>> 8 & 255, m[E++] = y & 255);
2597
2597
  }
2598
- return this.seqObj = A, this.leadSurrogate = x, m.slice(0, v);
2598
+ return this.seqObj = A, this.leadSurrogate = x, m.slice(0, E);
2599
2599
  }, l.prototype.end = function() {
2600
2600
  if (!(this.leadSurrogate === -1 && this.seqObj === void 0)) {
2601
2601
  var g = e.alloc(10), m = 0;
@@ -2606,39 +2606,39 @@ function Pr() {
2606
2606
  return this.leadSurrogate !== -1 && (g[m++] = this.defaultCharSingleByte, this.leadSurrogate = -1), g.slice(0, m);
2607
2607
  }
2608
2608
  }, l.prototype.findIdx = w;
2609
- function b(g, m) {
2609
+ function v(g, m) {
2610
2610
  this.nodeIdx = 0, this.prevBytes = [], this.decodeTables = m.decodeTables, this.decodeTableSeq = m.decodeTableSeq, this.defaultCharUnicode = m.defaultCharUnicode, this.gb18030 = m.gb18030;
2611
2611
  }
2612
- b.prototype.write = function(g) {
2613
- for (var m = e.alloc(g.length * 2), x = this.nodeIdx, A = this.prevBytes, S = this.prevBytes.length, d = -this.prevBytes.length, v, E = 0, y = 0; E < g.length; E++) {
2614
- var I = E >= 0 ? g[E] : A[E + S], v = this.decodeTables[x][I];
2615
- if (!(v >= 0)) if (v === t)
2616
- v = this.defaultCharUnicode.charCodeAt(0), E = d;
2617
- else if (v === a) {
2618
- if (E >= 3)
2619
- var U = (g[E - 3] - 129) * 12600 + (g[E - 2] - 48) * 1260 + (g[E - 1] - 129) * 10 + (I - 48);
2612
+ v.prototype.write = function(g) {
2613
+ for (var m = e.alloc(g.length * 2), x = this.nodeIdx, A = this.prevBytes, I = this.prevBytes.length, d = -this.prevBytes.length, E, b = 0, y = 0; b < g.length; b++) {
2614
+ var S = b >= 0 ? g[b] : A[b + I], E = this.decodeTables[x][S];
2615
+ if (!(E >= 0)) if (E === t)
2616
+ E = this.defaultCharUnicode.charCodeAt(0), b = d;
2617
+ else if (E === a) {
2618
+ if (b >= 3)
2619
+ var U = (g[b - 3] - 129) * 12600 + (g[b - 2] - 48) * 1260 + (g[b - 1] - 129) * 10 + (S - 48);
2620
2620
  else
2621
- var U = (A[E - 3 + S] - 129) * 12600 + ((E - 2 >= 0 ? g[E - 2] : A[E - 2 + S]) - 48) * 1260 + ((E - 1 >= 0 ? g[E - 1] : A[E - 1 + S]) - 129) * 10 + (I - 48);
2621
+ var U = (A[b - 3 + I] - 129) * 12600 + ((b - 2 >= 0 ? g[b - 2] : A[b - 2 + I]) - 48) * 1260 + ((b - 1 >= 0 ? g[b - 1] : A[b - 1 + I]) - 129) * 10 + (S - 48);
2622
2622
  var N = w(this.gb18030.gbChars, U);
2623
- v = this.gb18030.uChars[N] + U - this.gb18030.gbChars[N];
2624
- } else if (v <= c) {
2625
- x = c - v;
2623
+ E = this.gb18030.uChars[N] + U - this.gb18030.gbChars[N];
2624
+ } else if (E <= c) {
2625
+ x = c - E;
2626
2626
  continue;
2627
- } else if (v <= n) {
2628
- for (var O = this.decodeTableSeq[n - v], D = 0; D < O.length - 1; D++)
2629
- v = O[D], m[y++] = v & 255, m[y++] = v >> 8;
2630
- v = O[O.length - 1];
2627
+ } else if (E <= n) {
2628
+ for (var R = this.decodeTableSeq[n - E], D = 0; D < R.length - 1; D++)
2629
+ E = R[D], m[y++] = E & 255, m[y++] = E >> 8;
2630
+ E = R[R.length - 1];
2631
2631
  } else
2632
- throw new Error("iconv-lite internal error: invalid decoding table value " + v + " at " + x + "/" + I);
2633
- if (v >= 65536) {
2634
- v -= 65536;
2635
- var F = 55296 | v >> 10;
2636
- m[y++] = F & 255, m[y++] = F >> 8, v = 56320 | v & 1023;
2632
+ throw new Error("iconv-lite internal error: invalid decoding table value " + E + " at " + x + "/" + S);
2633
+ if (E >= 65536) {
2634
+ E -= 65536;
2635
+ var F = 55296 | E >> 10;
2636
+ m[y++] = F & 255, m[y++] = F >> 8, E = 56320 | E & 1023;
2637
2637
  }
2638
- m[y++] = v & 255, m[y++] = v >> 8, x = 0, d = E + 1;
2638
+ m[y++] = E & 255, m[y++] = E >> 8, x = 0, d = b + 1;
2639
2639
  }
2640
- return this.nodeIdx = x, this.prevBytes = d >= 0 ? Array.prototype.slice.call(g, d) : A.slice(d + S).concat(Array.prototype.slice.call(g)), m.slice(0, y).toString("ucs2");
2641
- }, b.prototype.end = function() {
2640
+ return this.nodeIdx = x, this.prevBytes = d >= 0 ? Array.prototype.slice.call(g, d) : A.slice(d + I).concat(Array.prototype.slice.call(g)), m.slice(0, y).toString("ucs2");
2641
+ }, v.prototype.end = function() {
2642
2642
  for (var g = ""; this.prevBytes.length > 0; ) {
2643
2643
  g += this.defaultCharUnicode;
2644
2644
  var m = this.prevBytes.slice(1);
@@ -2650,14 +2650,14 @@ function Pr() {
2650
2650
  if (g[0] > m)
2651
2651
  return -1;
2652
2652
  for (var x = 0, A = g.length; x < A - 1; ) {
2653
- var S = x + (A - x + 1 >> 1);
2654
- g[S] <= m ? x = S : A = S;
2653
+ var I = x + (A - x + 1 >> 1);
2654
+ g[I] <= m ? x = I : A = I;
2655
2655
  }
2656
2656
  return x;
2657
2657
  }
2658
2658
  return Qe;
2659
2659
  }
2660
- const Gr = [
2660
+ const Yr = [
2661
2661
  [
2662
2662
  "0",
2663
2663
  "\0",
@@ -3202,7 +3202,7 @@ const Gr = [
3202
3202
  "fc40",
3203
3203
  "髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"
3204
3204
  ]
3205
- ], Hr = [
3205
+ ], jr = [
3206
3206
  [
3207
3207
  "0",
3208
3208
  "\0",
@@ -6900,7 +6900,7 @@ const Gr = [
6900
6900
  "8135f437",
6901
6901
  ""
6902
6902
  ]
6903
- ], Yr = [
6903
+ ], qr = [
6904
6904
  128,
6905
6905
  165,
6906
6906
  169,
@@ -7108,7 +7108,7 @@ const Gr = [
7108
7108
  65375,
7109
7109
  65510,
7110
7110
  65536
7111
- ], jr = [
7111
+ ], zr = [
7112
7112
  0,
7113
7113
  36,
7114
7114
  38,
@@ -7316,10 +7316,10 @@ const Gr = [
7316
7316
  39265,
7317
7317
  39394,
7318
7318
  189e3
7319
- ], qr = {
7320
- uChars: Yr,
7321
- gbChars: jr
7322
- }, zr = [
7319
+ ], Vr = {
7320
+ uChars: qr,
7321
+ gbChars: zr
7322
+ }, Wr = [
7323
7323
  [
7324
7324
  "0",
7325
7325
  "\0",
@@ -10422,7 +10422,7 @@ const Gr = [
10422
10422
  "f9a1",
10423
10423
  "龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"
10424
10424
  ]
10425
- ], Vr = [
10425
+ ], Zr = [
10426
10426
  [
10427
10427
  "8740",
10428
10428
  "䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"
@@ -10927,7 +10927,7 @@ const Gr = [
10927
10927
  ]
10928
10928
  ];
10929
10929
  var tt, Ot;
10930
- function Wr() {
10930
+ function Kr() {
10931
10931
  return Ot || (Ot = 1, tt = {
10932
10932
  // == Japanese/ShiftJIS ====================================================
10933
10933
  // All japanese encodings are based on JIS X set of standards:
@@ -10962,7 +10962,7 @@ function Wr() {
10962
10962
  shiftjis: {
10963
10963
  type: "_dbcs",
10964
10964
  table: function() {
10965
- return Gr;
10965
+ return Yr;
10966
10966
  },
10967
10967
  encodeAdd: { "¥": 92, "‾": 126 },
10968
10968
  encodeSkipVals: [{ from: 60736, to: 63808 }]
@@ -10980,7 +10980,7 @@ function Wr() {
10980
10980
  eucjp: {
10981
10981
  type: "_dbcs",
10982
10982
  table: function() {
10983
- return Hr;
10983
+ return jr;
10984
10984
  },
10985
10985
  encodeAdd: { "¥": 92, "‾": 126 }
10986
10986
  },
@@ -11027,7 +11027,7 @@ function Wr() {
11027
11027
  return et.concat(Dt);
11028
11028
  },
11029
11029
  gb18030: function() {
11030
- return qr;
11030
+ return Vr;
11031
11031
  },
11032
11032
  encodeSkipVals: [128],
11033
11033
  encodeAdd: { "€": 41699 }
@@ -11041,7 +11041,7 @@ function Wr() {
11041
11041
  cp949: {
11042
11042
  type: "_dbcs",
11043
11043
  table: function() {
11044
- return zr;
11044
+ return Wr;
11045
11045
  }
11046
11046
  },
11047
11047
  cseuckr: "cp949",
@@ -11088,7 +11088,7 @@ function Wr() {
11088
11088
  big5hkscs: {
11089
11089
  type: "_dbcs",
11090
11090
  table: function() {
11091
- return Ft.concat(Vr);
11091
+ return Ft.concat(Zr);
11092
11092
  },
11093
11093
  encodeSkipVals: [
11094
11094
  // Although Encoding Standard says we should avoid encoding to HKSCS area (See Step 1 of
@@ -11170,18 +11170,18 @@ function Wr() {
11170
11170
  }), tt;
11171
11171
  }
11172
11172
  var Rt;
11173
- function Zr() {
11173
+ function $r() {
11174
11174
  return Rt || (Rt = 1, function(e) {
11175
11175
  for (var t = [
11176
- Dr(),
11177
- Fr(),
11178
11176
  Or(),
11179
11177
  Rr(),
11180
11178
  Mr(),
11181
11179
  Cr(),
11182
11180
  kr(),
11183
11181
  Pr(),
11184
- Wr()
11182
+ Gr(),
11183
+ Hr(),
11184
+ Kr()
11185
11185
  ], a = 0; a < t.length; a++) {
11186
11186
  var n = t[a];
11187
11187
  for (var c in n)
@@ -11190,7 +11190,7 @@ function Zr() {
11190
11190
  }(We)), We;
11191
11191
  }
11192
11192
  var rt, Mt;
11193
- function Kr() {
11193
+ function Xr() {
11194
11194
  if (Mt) return rt;
11195
11195
  Mt = 1;
11196
11196
  var e = ge.Buffer;
@@ -11259,25 +11259,25 @@ function Kr() {
11259
11259
  };
11260
11260
  }, rt;
11261
11261
  }
11262
- const $r = void 0, Xr = void 0, Jr = void 0, Qr = void 0, ei = void 0, ti = {}, ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11262
+ const Jr = void 0, Qr = void 0, ei = void 0, ti = void 0, ri = void 0, ii = {}, ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11263
11263
  __proto__: null,
11264
- Duplex: Qr,
11265
- PassThrough: ei,
11266
- Readable: Xr,
11267
- Transform: $r,
11268
- Writable: Jr,
11269
- default: ti
11270
- }, Symbol.toStringTag, { value: "Module" })), ii = /* @__PURE__ */ ur(ri);
11264
+ Duplex: ti,
11265
+ PassThrough: ri,
11266
+ Readable: Qr,
11267
+ Transform: Jr,
11268
+ Writable: ei,
11269
+ default: ii
11270
+ }, Symbol.toStringTag, { value: "Module" })), ai = /* @__PURE__ */ lr(ni);
11271
11271
  (function(e) {
11272
11272
  var t = ge.Buffer, a = ct, n = e.exports;
11273
11273
  n.encodings = null, n.defaultCharUnicode = "�", n.defaultCharSingleByte = "?", n.encode = function(f, s, p) {
11274
11274
  f = "" + (f || "");
11275
- var l = n.getEncoder(s, p), b = l.write(f), w = l.end();
11276
- return w && w.length > 0 ? t.concat([b, w]) : b;
11275
+ var l = n.getEncoder(s, p), v = l.write(f), w = l.end();
11276
+ return w && w.length > 0 ? t.concat([v, w]) : v;
11277
11277
  }, n.decode = function(f, s, p) {
11278
11278
  typeof f == "string" && (n.skipDecodeWarning || (console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"), n.skipDecodeWarning = !0), f = t.from("" + (f || ""), "binary"));
11279
- var l = n.getDecoder(s, p), b = l.write(f), w = l.end();
11280
- return w ? b + w : b;
11279
+ var l = n.getDecoder(s, p), v = l.write(f), w = l.end();
11280
+ return w ? v + w : v;
11281
11281
  }, n.encodingExists = function(f) {
11282
11282
  try {
11283
11283
  return n.getCodec(f), !0;
@@ -11285,23 +11285,23 @@ const $r = void 0, Xr = void 0, Jr = void 0, Qr = void 0, ei = void 0, ti = {},
11285
11285
  return !1;
11286
11286
  }
11287
11287
  }, n.toEncoding = n.encode, n.fromEncoding = n.decode, n._codecDataCache = {}, n.getCodec = function(f) {
11288
- n.encodings || (n.encodings = Zr());
11288
+ n.encodings || (n.encodings = $r());
11289
11289
  for (var s = n._canonicalizeEncoding(f), p = {}; ; ) {
11290
11290
  var l = n._codecDataCache[s];
11291
11291
  if (l)
11292
11292
  return l;
11293
- var b = n.encodings[s];
11294
- switch (typeof b) {
11293
+ var v = n.encodings[s];
11294
+ switch (typeof v) {
11295
11295
  case "string":
11296
- s = b;
11296
+ s = v;
11297
11297
  break;
11298
11298
  case "object":
11299
- for (var w in b)
11300
- p[w] = b[w];
11301
- p.encodingName || (p.encodingName = s), s = b.type;
11299
+ for (var w in v)
11300
+ p[w] = v[w];
11301
+ p.encodingName || (p.encodingName = s), s = v.type;
11302
11302
  break;
11303
11303
  case "function":
11304
- return p.encodingName || (p.encodingName = s), l = new b(p, n), n._codecDataCache[p.encodingName] = l, l;
11304
+ return p.encodingName || (p.encodingName = s), l = new v(p, n), n._codecDataCache[p.encodingName] = l, l;
11305
11305
  default:
11306
11306
  throw new Error("Encoding not recognized: '" + f + "' (searched as: '" + s + "')");
11307
11307
  }
@@ -11316,26 +11316,26 @@ const $r = void 0, Xr = void 0, Jr = void 0, Qr = void 0, ei = void 0, ti = {},
11316
11316
  return p.bomAware && !(s && s.stripBOM === !1) && (l = new a.StripBOM(l, s)), l;
11317
11317
  }, n.enableStreamingAPI = function(f) {
11318
11318
  if (!n.supportsStreams) {
11319
- var s = Kr()(f);
11320
- n.IconvLiteEncoderStream = s.IconvLiteEncoderStream, n.IconvLiteDecoderStream = s.IconvLiteDecoderStream, n.encodeStream = function(l, b) {
11321
- return new n.IconvLiteEncoderStream(n.getEncoder(l, b), b);
11322
- }, n.decodeStream = function(l, b) {
11323
- return new n.IconvLiteDecoderStream(n.getDecoder(l, b), b);
11319
+ var s = Xr()(f);
11320
+ n.IconvLiteEncoderStream = s.IconvLiteEncoderStream, n.IconvLiteDecoderStream = s.IconvLiteDecoderStream, n.encodeStream = function(l, v) {
11321
+ return new n.IconvLiteEncoderStream(n.getEncoder(l, v), v);
11322
+ }, n.decodeStream = function(l, v) {
11323
+ return new n.IconvLiteDecoderStream(n.getDecoder(l, v), v);
11324
11324
  }, n.supportsStreams = !0;
11325
11325
  }
11326
11326
  };
11327
11327
  var c;
11328
11328
  try {
11329
- c = ii;
11329
+ c = ai;
11330
11330
  } catch {
11331
11331
  }
11332
11332
  c && c.Transform ? n.enableStreamingAPI(c) : n.encodeStream = n.decodeStream = function() {
11333
11333
  throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
11334
11334
  };
11335
11335
  })(Wt);
11336
- var ni = Wt.exports;
11336
+ var si = Wt.exports;
11337
11337
  Object.defineProperty(Ne, "__esModule", { value: !0 });
11338
- var Ct = ni, ai = (
11338
+ var Ct = si, oi = (
11339
11339
  /** @class */
11340
11340
  function() {
11341
11341
  function e(t, a, n) {
@@ -11763,38 +11763,38 @@ var Ct = ni, ai = (
11763
11763
  break;
11764
11764
  default:
11765
11765
  if (t.length == 3) {
11766
- var l = t[1], s = t[2], b = 0;
11767
- if (typeof s == "function" ? b = s(a, this, t) : typeof s == "string" && a[s] != null ? b = parseInt(a[s]) : b = parseInt(s), typeof l == "string") {
11766
+ var l = t[1], s = t[2], v = 0;
11767
+ if (typeof s == "function" ? v = s(a, this, t) : typeof s == "string" && a[s] != null ? v = parseInt(a[s]) : v = parseInt(s), typeof l == "string") {
11768
11768
  var w = l.replace(/(le|be)$/, ""), g = null;
11769
- switch (/le$/.test(l) ? g = e.LITTLE_ENDIAN : /be$/.test(l) && (g = e.BIG_ENDIAN), s == "*" && (b = null), w) {
11769
+ switch (/le$/.test(l) ? g = e.LITTLE_ENDIAN : /be$/.test(l) && (g = e.BIG_ENDIAN), s == "*" && (v = null), w) {
11770
11770
  case "uint8":
11771
- n = this.readUint8Array(b);
11771
+ n = this.readUint8Array(v);
11772
11772
  break;
11773
11773
  case "uint16":
11774
- n = this.readUint16Array(b, g);
11774
+ n = this.readUint16Array(v, g);
11775
11775
  break;
11776
11776
  case "uint32":
11777
- n = this.readUint32Array(b, g);
11777
+ n = this.readUint32Array(v, g);
11778
11778
  break;
11779
11779
  case "int8":
11780
- n = this.readInt8Array(b);
11780
+ n = this.readInt8Array(v);
11781
11781
  break;
11782
11782
  case "int16":
11783
- n = this.readInt16Array(b, g);
11783
+ n = this.readInt16Array(v, g);
11784
11784
  break;
11785
11785
  case "int32":
11786
- n = this.readInt32Array(b, g);
11786
+ n = this.readInt32Array(v, g);
11787
11787
  break;
11788
11788
  case "float32":
11789
- n = this.readFloat32Array(b, g);
11789
+ n = this.readFloat32Array(v, g);
11790
11790
  break;
11791
11791
  case "float64":
11792
- n = this.readFloat64Array(b, g);
11792
+ n = this.readFloat64Array(v, g);
11793
11793
  break;
11794
11794
  case "cstring":
11795
11795
  case "utf16string":
11796
11796
  case "string":
11797
- if (b == null)
11797
+ if (v == null)
11798
11798
  for (n = []; !this.isEof(); ) {
11799
11799
  var m = this.readType(l, a);
11800
11800
  if (m == null)
@@ -11802,8 +11802,8 @@ var Ct = ni, ai = (
11802
11802
  n.push(m);
11803
11803
  }
11804
11804
  else {
11805
- n = new Array(b);
11806
- for (var x = 0; x < b; x++)
11805
+ n = new Array(v);
11806
+ for (var x = 0; x < v; x++)
11807
11807
  n[x] = this.readType(l, a);
11808
11808
  }
11809
11809
  break;
@@ -11812,20 +11812,20 @@ var Ct = ni, ai = (
11812
11812
  for (n = [], this.buffer; ; ) {
11813
11813
  var A = this.position;
11814
11814
  try {
11815
- var S = this.readType(l, a);
11816
- if (S == null) {
11815
+ var I = this.readType(l, a);
11816
+ if (I == null) {
11817
11817
  this.position = A;
11818
11818
  break;
11819
11819
  }
11820
- n.push(S);
11820
+ n.push(I);
11821
11821
  } catch {
11822
11822
  this.position = A;
11823
11823
  break;
11824
11824
  }
11825
11825
  }
11826
11826
  else {
11827
- n = new Array(b);
11828
- for (var x = 0; x < b; x++) {
11827
+ n = new Array(v);
11828
+ for (var x = 0; x < v; x++) {
11829
11829
  var m = this.readType(l, a);
11830
11830
  if (m == null)
11831
11831
  return null;
@@ -11945,52 +11945,52 @@ var Ct = ni, ai = (
11945
11945
  }, e.BIG_ENDIAN = !1, e.LITTLE_ENDIAN = !0, e.endianness = new Int8Array(new Int16Array([1]).buffer)[0] > 0, e;
11946
11946
  }()
11947
11947
  );
11948
- Ne.default = ai;
11948
+ Ne.default = oi;
11949
11949
  Uint8Array.prototype.BYTES_PER_ELEMENT === void 0 && (Object.defineProperties(Uint8Array.prototype, { BYTES_PER_ELEMENT: { value: Uint8Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Int8Array.prototype, { BYTES_PER_ELEMENT: { value: Int8Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Uint8ClampedArray.prototype, { BYTES_PER_ELEMENT: { value: Uint8ClampedArray.BYTES_PER_ELEMENT } }), Object.defineProperties(Uint16Array.prototype, { BYTES_PER_ELEMENT: { value: Uint16Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Int16Array.prototype, { BYTES_PER_ELEMENT: { value: Int16Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Uint32Array.prototype, { BYTES_PER_ELEMENT: { value: Uint32Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Int32Array.prototype, { BYTES_PER_ELEMENT: { value: Int32Array.BYTES_PER_ELEMENT } }), Object.defineProperties(Float64Array.prototype, { BYTES_PER_ELEMENT: { value: Float64Array.BYTES_PER_ELEMENT } }));
11950
- var _e = {}, $t = ie && ie.__importDefault || function(e) {
11950
+ var _e = {}, $t = ne && ne.__importDefault || function(e) {
11951
11951
  return e && e.__esModule ? e : { default: e };
11952
11952
  };
11953
11953
  Object.defineProperty(_e, "__esModule", { value: !0 });
11954
11954
  _e.Reader = _e.TypeEnum = void 0;
11955
- var kt = $t(Ne), si = Q, R = $t(De), Te;
11955
+ var kt = $t(Ne), ci = ee, O = $t(De), Te;
11956
11956
  (function(e) {
11957
11957
  e[e.DIRECTORY = 1] = "DIRECTORY", e[e.DOCUMENT = 2] = "DOCUMENT", e[e.ROOT = 5] = "ROOT";
11958
11958
  })(Te || (_e.TypeEnum = Te = {}));
11959
- var oi = (
11959
+ var fi = (
11960
11960
  /** @class */
11961
11961
  function() {
11962
11962
  function e(t) {
11963
11963
  this.ds = new kt.default(t, 0, kt.default.LITTLE_ENDIAN);
11964
11964
  }
11965
11965
  return e.prototype.isMSGFile = function() {
11966
- return this.ds.seek(0), (0, si.arraysEqual)(R.default.FILE_HEADER, this.ds.readInt8Array(R.default.FILE_HEADER.length));
11966
+ return this.ds.seek(0), (0, ci.arraysEqual)(O.default.FILE_HEADER, this.ds.readInt8Array(O.default.FILE_HEADER.length));
11967
11967
  }, e.prototype.headerData = function() {
11968
- this.bigBlockSize = this.ds.readByte(30) == R.default.MSG.L_BIG_BLOCK_MARK ? R.default.MSG.L_BIG_BLOCK_SIZE : R.default.MSG.S_BIG_BLOCK_SIZE, this.bigBlockLength = this.bigBlockSize / 4, this.xBlockLength = this.bigBlockLength - 1, this.batCount = this.ds.readInt(R.default.MSG.HEADER.BAT_COUNT_OFFSET), this.propertyStart = this.ds.readInt(R.default.MSG.HEADER.PROPERTY_START_OFFSET), this.sbatStart = this.ds.readInt(R.default.MSG.HEADER.SBAT_START_OFFSET), this.sbatCount = this.ds.readInt(R.default.MSG.HEADER.SBAT_COUNT_OFFSET), this.xbatStart = this.ds.readInt(R.default.MSG.HEADER.XBAT_START_OFFSET), this.xbatCount = this.ds.readInt(R.default.MSG.HEADER.XBAT_COUNT_OFFSET);
11968
+ this.bigBlockSize = this.ds.readByte(30) == O.default.MSG.L_BIG_BLOCK_MARK ? O.default.MSG.L_BIG_BLOCK_SIZE : O.default.MSG.S_BIG_BLOCK_SIZE, this.bigBlockLength = this.bigBlockSize / 4, this.xBlockLength = this.bigBlockLength - 1, this.batCount = this.ds.readInt(O.default.MSG.HEADER.BAT_COUNT_OFFSET), this.propertyStart = this.ds.readInt(O.default.MSG.HEADER.PROPERTY_START_OFFSET), this.sbatStart = this.ds.readInt(O.default.MSG.HEADER.SBAT_START_OFFSET), this.sbatCount = this.ds.readInt(O.default.MSG.HEADER.SBAT_COUNT_OFFSET), this.xbatStart = this.ds.readInt(O.default.MSG.HEADER.XBAT_START_OFFSET), this.xbatCount = this.ds.readInt(O.default.MSG.HEADER.XBAT_COUNT_OFFSET);
11969
11969
  }, e.prototype.convertName = function(t) {
11970
- var a = this.ds.readShort(t + R.default.MSG.PROP.NAME_SIZE_OFFSET);
11970
+ var a = this.ds.readShort(t + O.default.MSG.PROP.NAME_SIZE_OFFSET);
11971
11971
  return a < 1 ? "" : this.ds.readStringAt(t, a / 2).split("\0")[0];
11972
11972
  }, e.prototype.convertProperty = function(t) {
11973
11973
  return {
11974
- type: this.ds.readByte(t + R.default.MSG.PROP.TYPE_OFFSET),
11974
+ type: this.ds.readByte(t + O.default.MSG.PROP.TYPE_OFFSET),
11975
11975
  name: this.convertName(t),
11976
11976
  // hierarchy
11977
- previousProperty: this.ds.readInt(t + R.default.MSG.PROP.PREVIOUS_PROPERTY_OFFSET),
11978
- nextProperty: this.ds.readInt(t + R.default.MSG.PROP.NEXT_PROPERTY_OFFSET),
11979
- childProperty: this.ds.readInt(t + R.default.MSG.PROP.CHILD_PROPERTY_OFFSET),
11977
+ previousProperty: this.ds.readInt(t + O.default.MSG.PROP.PREVIOUS_PROPERTY_OFFSET),
11978
+ nextProperty: this.ds.readInt(t + O.default.MSG.PROP.NEXT_PROPERTY_OFFSET),
11979
+ childProperty: this.ds.readInt(t + O.default.MSG.PROP.CHILD_PROPERTY_OFFSET),
11980
11980
  // data offset
11981
- startBlock: this.ds.readInt(t + R.default.MSG.PROP.START_BLOCK_OFFSET),
11982
- sizeBlock: this.ds.readInt(t + R.default.MSG.PROP.SIZE_OFFSET)
11981
+ startBlock: this.ds.readInt(t + O.default.MSG.PROP.START_BLOCK_OFFSET),
11982
+ sizeBlock: this.ds.readInt(t + O.default.MSG.PROP.SIZE_OFFSET)
11983
11983
  };
11984
11984
  }, e.prototype.convertBlockToProperties = function(t, a) {
11985
- for (var n = this.bigBlockSize / R.default.MSG.PROP.PROPERTY_SIZE, c = this.getBlockOffsetAt(t), u = 0; u < n && !(this.ds.byteLength < c + R.default.MSG.PROP.TYPE_OFFSET); u++) {
11986
- var f = this.ds.readByte(c + R.default.MSG.PROP.TYPE_OFFSET);
11985
+ for (var n = this.bigBlockSize / O.default.MSG.PROP.PROPERTY_SIZE, c = this.getBlockOffsetAt(t), u = 0; u < n && !(this.ds.byteLength < c + O.default.MSG.PROP.TYPE_OFFSET); u++) {
11986
+ var f = this.ds.readByte(c + O.default.MSG.PROP.TYPE_OFFSET);
11987
11987
  switch (f) {
11988
- case R.default.MSG.PROP.TYPE_ENUM.ROOT:
11989
- case R.default.MSG.PROP.TYPE_ENUM.DIRECTORY:
11990
- case R.default.MSG.PROP.TYPE_ENUM.DOCUMENT:
11988
+ case O.default.MSG.PROP.TYPE_ENUM.ROOT:
11989
+ case O.default.MSG.PROP.TYPE_ENUM.DIRECTORY:
11990
+ case O.default.MSG.PROP.TYPE_ENUM.DOCUMENT:
11991
11991
  a.push(this.convertProperty(c));
11992
11992
  break;
11993
- case R.default.MSG.PROP.TYPE_ENUM.UNALLOCATED:
11993
+ case O.default.MSG.PROP.TYPE_ENUM.UNALLOCATED:
11994
11994
  default:
11995
11995
  a.push({
11996
11996
  type: f,
@@ -12003,28 +12003,28 @@ var oi = (
12003
12003
  });
12004
12004
  break;
12005
12005
  }
12006
- c += R.default.MSG.PROP.PROPERTY_SIZE;
12006
+ c += O.default.MSG.PROP.PROPERTY_SIZE;
12007
12007
  }
12008
12008
  }, e.prototype.createPropertyHierarchy = function(t, a) {
12009
- if (!(!a || a.childProperty == R.default.MSG.PROP.NO_INDEX)) {
12009
+ if (!(!a || a.childProperty == O.default.MSG.PROP.NO_INDEX)) {
12010
12010
  a.children = [];
12011
12011
  for (var n = [{ currentMode: "walk", currentIndex: a.childProperty }]; n.length != 0; ) {
12012
12012
  var c = n.pop(), u = c.currentMode, f = c.currentIndex, s = t[f];
12013
- u === "push" ? a.children.push(f) : (s.type == R.default.MSG.PROP.TYPE_ENUM.DIRECTORY && this.createPropertyHierarchy(t, s), s.nextProperty != R.default.MSG.PROP.NO_INDEX && n.push({ currentMode: "walk", currentIndex: s.nextProperty }), n.push({ currentMode: "push", currentIndex: f }), s.previousProperty != R.default.MSG.PROP.NO_INDEX && n.push({ currentMode: "walk", currentIndex: s.previousProperty }));
12013
+ u === "push" ? a.children.push(f) : (s.type == O.default.MSG.PROP.TYPE_ENUM.DIRECTORY && this.createPropertyHierarchy(t, s), s.nextProperty != O.default.MSG.PROP.NO_INDEX && n.push({ currentMode: "walk", currentIndex: s.nextProperty }), n.push({ currentMode: "push", currentIndex: f }), s.previousProperty != O.default.MSG.PROP.NO_INDEX && n.push({ currentMode: "walk", currentIndex: s.previousProperty }));
12014
12014
  }
12015
12015
  }
12016
12016
  }, e.prototype.propertyDataReader = function(t) {
12017
- for (var a = [], n = t; n != R.default.MSG.END_OF_CHAIN; )
12017
+ for (var a = [], n = t; n != O.default.MSG.END_OF_CHAIN; )
12018
12018
  this.convertBlockToProperties(n, a), n = this.getNextBlock(n);
12019
12019
  return this.createPropertyHierarchy(a, a[0]), a;
12020
12020
  }, e.prototype.parse = function() {
12021
12021
  this.headerData(), this.batData = this.batDataReader(), this.xbatCount > 0 && this.xbatDataReader(), this.sbatData = this.sbatDataReader(), this.propertyData = this.propertyDataReader(this.propertyStart), this.bigBlockTable = this.readBigBlockTable();
12022
12022
  }, e.prototype.batCountInHeader = function() {
12023
- var t = (R.default.MSG.S_BIG_BLOCK_SIZE - R.default.MSG.HEADER.BAT_START_OFFSET) / 4;
12023
+ var t = (O.default.MSG.S_BIG_BLOCK_SIZE - O.default.MSG.HEADER.BAT_START_OFFSET) / 4;
12024
12024
  return Math.min(this.batCount, t);
12025
12025
  }, e.prototype.batDataReader = function() {
12026
12026
  var t = new Array(this.batCountInHeader());
12027
- this.ds.seek(R.default.MSG.HEADER.BAT_START_OFFSET);
12027
+ this.ds.seek(O.default.MSG.HEADER.BAT_START_OFFSET);
12028
12028
  for (var a = 0; a < t.length; a++)
12029
12029
  t[a] = this.ds.readInt32();
12030
12030
  return t;
@@ -12038,46 +12038,46 @@ var oi = (
12038
12038
  return this.ds.seek(n + 4 * a), this.ds.readInt32();
12039
12039
  }, e.prototype.getNextBlockInner = function(t, a) {
12040
12040
  var n = Math.floor(t / this.bigBlockLength), c = t % this.bigBlockLength, u = a[n];
12041
- return typeof u > "u" ? R.default.MSG.END_OF_CHAIN : this.getBlockValueAt(u, c);
12041
+ return typeof u > "u" ? O.default.MSG.END_OF_CHAIN : this.getBlockValueAt(u, c);
12042
12042
  }, e.prototype.getNextBlock = function(t) {
12043
12043
  return this.getNextBlockInner(t, this.batData);
12044
12044
  }, e.prototype.sbatDataReader = function() {
12045
- for (var t = [], a = this.sbatStart, n = 0; n < this.sbatCount && a && a != R.default.MSG.END_OF_CHAIN; n++)
12045
+ for (var t = [], a = this.sbatStart, n = 0; n < this.sbatCount && a && a != O.default.MSG.END_OF_CHAIN; n++)
12046
12046
  t.push(a), a = this.getNextBlock(a);
12047
12047
  return t;
12048
12048
  }, e.prototype.xbatDataReader = function() {
12049
12049
  for (var t = this.batCountInHeader(), a = this.batCount, n = a - t, c = this.xbatStart, u = 0; u < this.xbatCount; u++) {
12050
12050
  for (var f = this.getBlockAt(c), s = Math.min(n, this.xBlockLength), p = 0; p < s; p++) {
12051
12051
  var l = f[p];
12052
- if (l == R.default.MSG.UNUSED_BLOCK || l == R.default.MSG.END_OF_CHAIN)
12052
+ if (l == O.default.MSG.UNUSED_BLOCK || l == O.default.MSG.END_OF_CHAIN)
12053
12053
  break;
12054
12054
  this.batData.push(l);
12055
12055
  }
12056
- if (n -= s, c = f[this.xBlockLength], c == R.default.MSG.UNUSED_BLOCK || c == R.default.MSG.END_OF_CHAIN)
12056
+ if (n -= s, c = f[this.xBlockLength], c == O.default.MSG.UNUSED_BLOCK || c == O.default.MSG.END_OF_CHAIN)
12057
12057
  break;
12058
12058
  }
12059
12059
  }, e.prototype.getNextBlockSmall = function(t) {
12060
12060
  return this.getNextBlockInner(t, this.sbatData);
12061
12061
  }, e.prototype.getChainByBlockSmall = function(t) {
12062
- for (var a = [], n = t.startBlock; n != R.default.MSG.END_OF_CHAIN; )
12062
+ for (var a = [], n = t.startBlock; n != O.default.MSG.END_OF_CHAIN; )
12063
12063
  a.push(n), n = this.getNextBlockSmall(n);
12064
12064
  return a;
12065
12065
  }, e.prototype.readBigBlockTable = function() {
12066
- for (var t = this.propertyData[0], a = [], n = t.startBlock, c = 0; n != R.default.MSG.END_OF_CHAIN; c++)
12066
+ for (var t = this.propertyData[0], a = [], n = t.startBlock, c = 0; n != O.default.MSG.END_OF_CHAIN; c++)
12067
12067
  a.push(n), n = this.getNextBlock(n);
12068
12068
  return a;
12069
12069
  }, e.prototype.readDataByBlockSmall = function(t, a, n, c) {
12070
- var u = t * R.default.MSG.SMALL_BLOCK_SIZE, f = Math.floor(u / this.bigBlockSize), s = u % this.bigBlockSize, p = this.bigBlockTable[f], l = this.getBlockOffsetAt(p);
12070
+ var u = t * O.default.MSG.SMALL_BLOCK_SIZE, f = Math.floor(u / this.bigBlockSize), s = u % this.bigBlockSize, p = this.bigBlockTable[f], l = this.getBlockOffsetAt(p);
12071
12071
  return this.ds.seek(l + s), this.ds.readToUint8Array(a, n, c);
12072
12072
  }, e.prototype.readChainDataByBlockSmall = function(t, a) {
12073
12073
  for (var n = new Uint8Array(t.sizeBlock), c = 0, u = 0; c < a.length; c++) {
12074
- var f = n.length < u + R.default.MSG.SMALL_BLOCK_SIZE ? n.length - u : R.default.MSG.SMALL_BLOCK_SIZE;
12074
+ var f = n.length < u + O.default.MSG.SMALL_BLOCK_SIZE ? n.length - u : O.default.MSG.SMALL_BLOCK_SIZE;
12075
12075
  this.readDataByBlockSmall(a[c], f, n, u), u += f;
12076
12076
  }
12077
12077
  return n;
12078
12078
  }, e.prototype.readProperty = function(t) {
12079
12079
  if (t.sizeBlock)
12080
- if (t.sizeBlock < R.default.MSG.BIG_BLOCK_MIN_DOC_SIZE) {
12080
+ if (t.sizeBlock < O.default.MSG.BIG_BLOCK_MIN_DOC_SIZE) {
12081
12081
  var a = this.getChainByBlockSmall(t);
12082
12082
  if (a.length == 1) {
12083
12083
  var n = new Uint8Array(t.sizeBlock);
@@ -12147,9 +12147,9 @@ var oi = (
12147
12147
  var f = c.children;
12148
12148
  if (f)
12149
12149
  for (var s = 0, p = f; s < p.length; s++) {
12150
- var l = p[s], b = n[l];
12151
- if (b && b.type === Te.DOCUMENT && b.name === u)
12152
- return a.readProperty(b);
12150
+ var l = p[s], v = n[l];
12151
+ if (v && v.type === Te.DOCUMENT && v.name === u)
12152
+ return a.readProperty(v);
12153
12153
  }
12154
12154
  return null;
12155
12155
  }
@@ -12159,17 +12159,17 @@ var oi = (
12159
12159
  }, e;
12160
12160
  }()
12161
12161
  );
12162
- _e.Reader = oi;
12163
- var ht = {}, Xt = ie && ie.__importDefault || function(e) {
12162
+ _e.Reader = fi;
12163
+ var ht = {}, Xt = ne && ne.__importDefault || function(e) {
12164
12164
  return e && e.__esModule ? e : { default: e };
12165
12165
  };
12166
12166
  Object.defineProperty(ht, "__esModule", { value: !0 });
12167
- ht.burn = hi;
12168
- var we = _e, Pt = Xt(Ne), ci = Xt(De);
12167
+ ht.burn = di;
12168
+ var we = _e, Pt = Xt(Ne), ui = Xt(De);
12169
12169
  function Ie(e) {
12170
12170
  return e + 511 & -512;
12171
12171
  }
12172
- function fi(e) {
12172
+ function hi(e) {
12173
12173
  return e + 63 & -64;
12174
12174
  }
12175
12175
  var Gt = (
@@ -12196,7 +12196,7 @@ var Gt = (
12196
12196
  return this.sectors.length;
12197
12197
  }, e;
12198
12198
  }()
12199
- ), ui = (
12199
+ ), li = (
12200
12200
  /** @class */
12201
12201
  function() {
12202
12202
  function e(t) {
@@ -12221,56 +12221,56 @@ var Gt = (
12221
12221
  return k.entry.type == we.TypeEnum.DOCUMENT && k.isMini === !0;
12222
12222
  }); f < s.length; f++) {
12223
12223
  var u = s[f];
12224
- u.firstSector = u.entry.length === 0 ? -2 : this.miniFat.allocate(fi(u.entry.length) / 64);
12224
+ u.firstSector = u.entry.length === 0 ? -2 : this.miniFat.allocate(hi(u.entry.length) / 64);
12225
12225
  }
12226
- var p = Ie(4 * this.miniFat.count()) / 512, l = p !== 0 ? this.fat.allocate(p) : -2, b = 64 * this.miniFat.count(), w = this.fat.allocate(Ie(b) / 512);
12226
+ var p = Ie(4 * this.miniFat.count()) / 512, l = p !== 0 ? this.fat.allocate(p) : -2, v = 64 * this.miniFat.count(), w = this.fat.allocate(Ie(v) / 512);
12227
12227
  this.liteEnts[0].firstSector = w;
12228
- var g = this.fat.allocateAs(Ie(4 * (this.fat.count() + this.fat.count() / 128 + this.fat.count() / (128 * 109))) / 512, -3), m = this.fat.count() - g, x = m > 109 ? Ie(4 * Math.floor((m - 109) / 127 * 128)) / 512 : 0, A = x !== 0 ? this.fat.allocateAs(x, -4) : -2, S = new ArrayBuffer(512 * (1 + this.fat.count())), d = new Pt.default(S, 0, Pt.default.LITTLE_ENDIAN);
12228
+ var g = this.fat.allocateAs(Ie(4 * (this.fat.count() + this.fat.count() / 128 + this.fat.count() / (128 * 109))) / 512, -3), m = this.fat.count() - g, x = m > 109 ? Ie(4 * Math.floor((m - 109) / 127 * 128)) / 512 : 0, A = x !== 0 ? this.fat.allocateAs(x, -4) : -2, I = new ArrayBuffer(512 * (1 + this.fat.count())), d = new Pt.default(I, 0, Pt.default.LITTLE_ENDIAN);
12229
12229
  d.dynamicSize = !1, this.miniFat.finalize(512 / 4, -1);
12230
- var v = [], E = [];
12230
+ var E = [], b = [];
12231
12231
  {
12232
12232
  for (var y = 0; y < 109 && y < m; y++)
12233
- v.push(g + y);
12234
- for (var I = A + 1; y < m; y++) {
12235
12233
  E.push(g + y);
12236
- var U = E.length & 127;
12237
- U === 127 && (E.push(I), I++);
12234
+ for (var S = A + 1; y < m; y++) {
12235
+ b.push(g + y);
12236
+ var U = b.length & 127;
12237
+ U === 127 && (b.push(S), S++);
12238
12238
  }
12239
12239
  for (; ; ) {
12240
- var U = E.length & 127;
12240
+ var U = b.length & 127;
12241
12241
  if (U === 0)
12242
12242
  break;
12243
- E.push(U === 127 ? -2 : -1);
12243
+ b.push(U === 127 ? -2 : -1);
12244
12244
  }
12245
12245
  }
12246
12246
  {
12247
- d.seek(0), d.writeUint8Array(ci.default.FILE_HEADER), d.seek(24), d.writeUint16(62), d.writeUint16(3), d.writeUint16(65534), d.writeUint16(9), d.writeUint16(6), d.seek(44), d.writeInt32(m), d.writeInt32(a), d.seek(56), d.writeInt32(4096), d.writeInt32(l), d.writeInt32(p), d.writeInt32(A), d.writeInt32(x);
12248
- for (var y = 0; y < v.length; y++)
12249
- d.writeInt32(v[y]);
12247
+ d.seek(0), d.writeUint8Array(ui.default.FILE_HEADER), d.seek(24), d.writeUint16(62), d.writeUint16(3), d.writeUint16(65534), d.writeUint16(9), d.writeUint16(6), d.seek(44), d.writeInt32(m), d.writeInt32(a), d.seek(56), d.writeInt32(4096), d.writeInt32(l), d.writeInt32(p), d.writeInt32(A), d.writeInt32(x);
12248
+ for (var y = 0; y < E.length; y++)
12249
+ d.writeInt32(E[y]);
12250
12250
  for (; y < 109; y++)
12251
12251
  d.writeInt32(-1);
12252
12252
  }
12253
12253
  for (var y = 0; y < this.liteEnts.length; y++) {
12254
12254
  var u = this.liteEnts[y], N = 512 * (1 + a) + 128 * y;
12255
12255
  d.seek(N), d.writeUCS2String(u.entry.name, null, null);
12256
- var O = d.position - N;
12257
- d.seek(N + 64), d.writeUint16(Math.min(64, O + 2)), d.writeUint8(u.entry.type), d.writeUint8(u.isRed ? 0 : 1), d.writeInt32(u.left), d.writeInt32(u.right), d.writeInt32(u.child), y === 0 && (d.seek(N + 80), d.writeUint8Array([11, 13, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70]));
12258
- var D = y === 0 ? b : u.entry.length, F = D !== 0 ? u.firstSector : u.entry.type === we.TypeEnum.DIRECTORY ? 0 : -2;
12256
+ var R = d.position - N;
12257
+ d.seek(N + 64), d.writeUint16(Math.min(64, R + 2)), d.writeUint8(u.entry.type), d.writeUint8(u.isRed ? 0 : 1), d.writeInt32(u.left), d.writeInt32(u.right), d.writeInt32(u.child), y === 0 && (d.seek(N + 80), d.writeUint8Array([11, 13, 2, 0, 0, 0, 0, 0, 192, 0, 0, 0, 0, 0, 0, 70]));
12258
+ var D = y === 0 ? v : u.entry.length, F = D !== 0 ? u.firstSector : u.entry.type === we.TypeEnum.DIRECTORY ? 0 : -2;
12259
12259
  d.seek(N + 116), d.writeInt32(F), d.writeInt32(D);
12260
12260
  }
12261
- for (var M = 0, Y = this.liteEnts.filter(function(k) {
12261
+ for (var C = 0, G = this.liteEnts.filter(function(k) {
12262
12262
  return k.entry.type == we.TypeEnum.DOCUMENT && k.isMini === !1;
12263
- }); M < Y.length; M++) {
12264
- var u = Y[M], q = u.entry.binaryProvider();
12265
- d.seek(512 * (1 + u.firstSector)), d.writeUint8Array(q);
12263
+ }); C < G.length; C++) {
12264
+ var u = G[C], z = u.entry.binaryProvider();
12265
+ d.seek(512 * (1 + u.firstSector)), d.writeUint8Array(z);
12266
12266
  }
12267
- for (var z = 0, H = this.liteEnts.filter(function(k) {
12267
+ for (var Z = 0, Y = this.liteEnts.filter(function(k) {
12268
12268
  return k.entry.type == we.TypeEnum.DOCUMENT && k.isMini === !0;
12269
- }); z < H.length; z++) {
12270
- var u = H[z], q = u.entry.binaryProvider();
12271
- d.seek(512 * (1 + w) + 64 * u.firstSector), d.writeUint8Array(q);
12269
+ }); Z < Y.length; Z++) {
12270
+ var u = Y[Z], z = u.entry.binaryProvider();
12271
+ d.seek(512 * (1 + w) + 64 * u.firstSector), d.writeUint8Array(z);
12272
12272
  }
12273
- d.seek(512 * (1 + l)), d.writeInt32Array(this.miniFat.sectors), this.fat.finalize(512 / 4, -1), d.seek(512 * (1 + g)), d.writeInt32Array(this.fat.sectors), x >= 1 && (d.seek(512 * (1 + A)), d.writeInt32Array(E)), this.array = S;
12273
+ d.seek(512 * (1 + l)), d.writeInt32Array(this.miniFat.sectors), this.fat.finalize(512 / 4, -1), d.seek(512 * (1 + g)), d.writeInt32Array(this.fat.sectors), x >= 1 && (d.seek(512 * (1 + A)), d.writeInt32Array(b)), this.array = I;
12274
12274
  }
12275
12275
  return e.prototype.compareName = function(t, a) {
12276
12276
  var n = t.length - a.length;
@@ -12290,8 +12290,8 @@ var Gt = (
12290
12290
  });
12291
12291
  var f = function(w, g, m) {
12292
12292
  if (w < g) {
12293
- var x = Math.floor((w + g) / 2), A = u[x], S = n[A];
12294
- return S.isRed = m, S.left = f(w, x, !m), S.right = f(x + 1, g, !m), A;
12293
+ var x = Math.floor((w + g) / 2), A = u[x], I = n[A];
12294
+ return I.isRed = m, I.left = f(w, x, !m), I.right = f(x + 1, g, !m), A;
12295
12295
  } else
12296
12296
  return -1;
12297
12297
  }, s = function() {
@@ -12302,23 +12302,23 @@ var Gt = (
12302
12302
  for (var p = 0, l = u.filter(function(w) {
12303
12303
  return n[w].entry.type === we.TypeEnum.DIRECTORY;
12304
12304
  }); p < l.length; p++) {
12305
- var b = l[p];
12306
- this.buildTree(b);
12305
+ var v = l[p];
12306
+ this.buildTree(v);
12307
12307
  }
12308
12308
  }
12309
12309
  }, e;
12310
12310
  }()
12311
12311
  );
12312
- function hi(e) {
12313
- return new Uint8Array(new ui(e).array);
12312
+ function di(e) {
12313
+ return new Uint8Array(new li(e).array);
12314
12314
  }
12315
- var lt = {}, li = ie && ie.__importDefault || function(e) {
12315
+ var lt = {}, pi = ne && ne.__importDefault || function(e) {
12316
12316
  return e && e.__esModule ? e : { default: e };
12317
12317
  };
12318
12318
  Object.defineProperty(lt, "__esModule", { value: !0 });
12319
- lt.parse = di;
12320
- var Ht = li(Ne);
12321
- function di(e) {
12319
+ lt.parse = yi;
12320
+ var Ht = pi(Ne);
12321
+ function yi(e) {
12322
12322
  for (var t = new Ht.default(e, 0, Ht.default.LITTLE_ENDIAN), a = []; !t.isEof(); ) {
12323
12323
  var n = t.readUint32(), c = t.readUint16(), u = t.readUint16();
12324
12324
  a.push({
@@ -12332,8 +12332,8 @@ function di(e) {
12332
12332
  }
12333
12333
  var dt = {};
12334
12334
  Object.defineProperty(dt, "__esModule", { value: !0 });
12335
- dt.parse = pi;
12336
- function pi(e) {
12335
+ dt.parse = bi;
12336
+ function bi(e) {
12337
12337
  for (var t = [], a = 0; !e.isEof(); ) {
12338
12338
  var n = e.readUint16();
12339
12339
  if (n === 258) {
@@ -12343,13 +12343,13 @@ function pi(e) {
12343
12343
  e.readString(p);
12344
12344
  var l = e.readUint8();
12345
12345
  e.readString(l);
12346
- var b = e.readUint8();
12347
- e.readString(b), e.readInt32(), e.readUint8(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), t.push({ VerbType: u, DisplayName: s });
12346
+ var v = e.readUint8();
12347
+ e.readString(v), e.readInt32(), e.readUint8(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32(), t.push({ VerbType: u, DisplayName: s });
12348
12348
  }
12349
12349
  } else if (n === 260)
12350
12350
  for (var c = 0; c < a; c += 1) {
12351
- var f = e.readUint8(), s = e.readUCS2String(f), b = e.readUint8();
12352
- e.readUCS2String(b), t[c].DisplayName = s;
12351
+ var f = e.readUint8(), s = e.readUCS2String(f), v = e.readUint8();
12352
+ e.readUCS2String(v), t[c].DisplayName = s;
12353
12353
  }
12354
12354
  }
12355
12355
  return t.filter(function(w) {
@@ -12360,9 +12360,9 @@ function pi(e) {
12360
12360
  }
12361
12361
  var pt = {};
12362
12362
  Object.defineProperty(pt, "__esModule", { value: !0 });
12363
- pt.parse = vi;
12364
- var it = Q, yi = 1, bi = 2;
12365
- function vi(e) {
12363
+ pt.parse = mi;
12364
+ var it = ee, vi = 1, Ei = 2;
12365
+ function mi(e) {
12366
12366
  var t = { rules: [] };
12367
12367
  if (!e.isEof()) {
12368
12368
  var a = e.readUint8();
@@ -12371,7 +12371,7 @@ function vi(e) {
12371
12371
  if (e.readUint8(), a < 1)
12372
12372
  throw new Error("TZDEFINITION minor version not supported");
12373
12373
  var n = e.readUint16(), c = e.readUint16();
12374
- if (c & yi && (e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32()), c & bi) {
12374
+ if (c & vi && (e.readInt32(), e.readInt32(), e.readInt32(), e.readInt32()), c & Ei) {
12375
12375
  var u = e.readUint16();
12376
12376
  t.keyName = e.readUCS2String(u);
12377
12377
  }
@@ -12381,25 +12381,25 @@ function vi(e) {
12381
12381
  var p = e.readUint8();
12382
12382
  if (p !== 2 || (e.readUint8(), p < 1))
12383
12383
  break;
12384
- var l = e.readUint16(), b = e.position, w = e.readUint16(), g = (0, it.readSystemTime)(e), m = e.readInt32(), x = e.readInt32(), A = e.readInt32(), S = (0, it.readTransitionSystemTime)(e), d = (0, it.readTransitionSystemTime)(e), v = Object.assign({}, {
12384
+ var l = e.readUint16(), v = e.position, w = e.readUint16(), g = (0, it.readSystemTime)(e), m = e.readInt32(), x = e.readInt32(), A = e.readInt32(), I = (0, it.readTransitionSystemTime)(e), d = (0, it.readTransitionSystemTime)(e), E = Object.assign({}, {
12385
12385
  flags: w,
12386
12386
  start: (g == null ? void 0 : g.toUTCString()) || null,
12387
12387
  bias: m,
12388
12388
  standardBias: x,
12389
12389
  daylightBias: A,
12390
- standardDate: S,
12390
+ standardDate: I,
12391
12391
  daylightDate: d
12392
12392
  });
12393
- t.rules.push(v), e.seek(b + l);
12393
+ t.rules.push(E), e.seek(v + l);
12394
12394
  }
12395
12395
  }
12396
12396
  return t;
12397
12397
  }
12398
12398
  var yt = {};
12399
12399
  Object.defineProperty(yt, "__esModule", { value: !0 });
12400
- yt.parse = Ei;
12401
- var Yt = Q;
12402
- function Ei(e) {
12400
+ yt.parse = gi;
12401
+ var Yt = ee;
12402
+ function gi(e) {
12403
12403
  if (!e.isEof()) {
12404
12404
  var t = e.readInt32(), a = e.readInt32(), n = e.readInt32(), c = e.readUint16(), u = (0, Yt.readTransitionSystemTime)(e), f = e.readUint16(), s = (0, Yt.readTransitionSystemTime)(e);
12405
12405
  return Object.assign({}, {
@@ -12414,47 +12414,47 @@ function Ei(e) {
12414
12414
  }
12415
12415
  return null;
12416
12416
  }
12417
- var ne = {};
12418
- Object.defineProperty(ne, "__esModule", { value: !0 });
12419
- ne.OverrideFlags = ne.EndType = ne.CalendarType = ne.PatternType = ne.RecurFrequency = void 0;
12420
- ne.parse = gi;
12417
+ var ae = {};
12418
+ Object.defineProperty(ae, "__esModule", { value: !0 });
12419
+ ae.OverrideFlags = ae.EndType = ae.CalendarType = ae.PatternType = ae.RecurFrequency = void 0;
12420
+ ae.parse = _i;
12421
12421
  var jt;
12422
12422
  (function(e) {
12423
12423
  e[e.Daily = 8202] = "Daily", e[e.Weekly = 8203] = "Weekly", e[e.Monthly = 8204] = "Monthly", e[e.Yearly = 8205] = "Yearly";
12424
- })(jt || (ne.RecurFrequency = jt = {}));
12424
+ })(jt || (ae.RecurFrequency = jt = {}));
12425
12425
  var Ee;
12426
12426
  (function(e) {
12427
12427
  e[e.Day = 0] = "Day", e[e.Week = 1] = "Week", e[e.Month = 2] = "Month", e[e.MonthEnd = 4] = "MonthEnd", e[e.MonthNth = 3] = "MonthNth", e[e.HjMonth = 10] = "HjMonth", e[e.HjMonthNth = 11] = "HjMonthNth", e[e.HjMonthEnd = 12] = "HjMonthEnd";
12428
- })(Ee || (ne.PatternType = Ee = {}));
12428
+ })(Ee || (ae.PatternType = Ee = {}));
12429
12429
  var qt;
12430
12430
  (function(e) {
12431
12431
  e[e.Default = 0] = "Default", e[e.CAL_GREGORIAN = 1] = "CAL_GREGORIAN", e[e.CAL_GREGORIAN_US = 2] = "CAL_GREGORIAN_US", e[e.CAL_JAPAN = 3] = "CAL_JAPAN", e[e.CAL_TAIWAN = 4] = "CAL_TAIWAN", e[e.CAL_KOREA = 5] = "CAL_KOREA", e[e.CAL_HIJRI = 6] = "CAL_HIJRI", e[e.CAL_THAI = 7] = "CAL_THAI", e[e.CAL_HEBREW = 8] = "CAL_HEBREW", e[e.CAL_GREGORIAN_ME_FRENCH = 9] = "CAL_GREGORIAN_ME_FRENCH", e[e.CAL_GREGORIAN_ARABIC = 10] = "CAL_GREGORIAN_ARABIC", e[e.CAL_GREGORIAN_XLIT_ENGLISH = 11] = "CAL_GREGORIAN_XLIT_ENGLISH", e[e.CAL_GREGORIAN_XLIT_FRENCH = 12] = "CAL_GREGORIAN_XLIT_FRENCH", e[e.CAL_LUNAR_JAPANESE = 14] = "CAL_LUNAR_JAPANESE", e[e.CAL_CHINESE_LUNAR = 15] = "CAL_CHINESE_LUNAR", e[e.CAL_SAKA = 16] = "CAL_SAKA", e[e.CAL_LUNAR_ETO_CHN = 17] = "CAL_LUNAR_ETO_CHN", e[e.CAL_LUNAR_ETO_KOR = 18] = "CAL_LUNAR_ETO_KOR", e[e.CAL_LUNAR_ROKUYOU = 19] = "CAL_LUNAR_ROKUYOU", e[e.CAL_LUNAR_KOREAN = 20] = "CAL_LUNAR_KOREAN", e[e.CAL_UMALQURA = 23] = "CAL_UMALQURA";
12432
- })(qt || (ne.CalendarType = qt = {}));
12432
+ })(qt || (ae.CalendarType = qt = {}));
12433
12433
  var zt;
12434
12434
  (function(e) {
12435
12435
  e[e.EndAfterDate = 8225] = "EndAfterDate", e[e.EndAfterNOccurrences = 8226] = "EndAfterNOccurrences", e[e.NeverEnd = 8227] = "NeverEnd", e[e.NeverEnd2 = 4294967295] = "NeverEnd2";
12436
- })(zt || (ne.EndType = zt = {}));
12437
- var te;
12436
+ })(zt || (ae.EndType = zt = {}));
12437
+ var re;
12438
12438
  (function(e) {
12439
12439
  e[e.ARO_SUBJECT = 1] = "ARO_SUBJECT", e[e.ARO_MEETINGTYPE = 2] = "ARO_MEETINGTYPE", e[e.ARO_REMINDERDELTA = 4] = "ARO_REMINDERDELTA", e[e.ARO_REMINDER = 8] = "ARO_REMINDER", e[e.ARO_LOCATION = 16] = "ARO_LOCATION", e[e.ARO_BUSYSTATUS = 32] = "ARO_BUSYSTATUS", e[e.ARO_ATTACHMENT = 64] = "ARO_ATTACHMENT", e[e.ARO_SUBTYPE = 128] = "ARO_SUBTYPE", e[e.ARO_APPTCOLOR = 256] = "ARO_APPTCOLOR", e[e.ARO_EXCEPTIONAL_BODY = 512] = "ARO_EXCEPTIONAL_BODY";
12440
- })(te || (ne.OverrideFlags = te = {}));
12441
- function mi(e) {
12440
+ })(re || (ae.OverrideFlags = re = {}));
12441
+ function wi(e) {
12442
12442
  var t = e.readUint16();
12443
12443
  if (t !== 12292)
12444
12444
  throw new Error("ReaderVersion not supported");
12445
12445
  var a = e.readUint16();
12446
12446
  if (a !== 12292)
12447
12447
  throw new Error("WriterVersion not supported");
12448
- var n = e.readUint16(), c = e.readUint16(), u = e.readUint16(), f = e.readUint32(), s = e.readUint32(), p = e.readUint32(), l = void 0, b = void 0, w = void 0;
12448
+ var n = e.readUint16(), c = e.readUint16(), u = e.readUint16(), f = e.readUint32(), s = e.readUint32(), p = e.readUint32(), l = void 0, v = void 0, w = void 0;
12449
12449
  c === Ee.Week ? l = {
12450
12450
  dayOfWeekBits: e.readUint32()
12451
- } : c === Ee.Month || c === Ee.MonthEnd || c === Ee.HjMonth || c === Ee.HjMonthEnd ? b = {
12451
+ } : c === Ee.Month || c === Ee.MonthEnd || c === Ee.HjMonth || c === Ee.HjMonthEnd ? v = {
12452
12452
  day: e.readUint32()
12453
12453
  } : (c === Ee.MonthNth || c === Ee.HjMonthNth) && (w = {
12454
12454
  dayOfWeekBits: e.readUint32(),
12455
12455
  n: e.readUint32()
12456
12456
  });
12457
- var g = e.readUint32(), m = e.readUint32(), x = e.readUint32(), A = e.readUint32(), S = Array.from(e.readUint32Array(A)), d = e.readUint32(), v = Array.from(e.readUint32Array(d)), E = e.readUint32(), y = e.readUint32();
12457
+ var g = e.readUint32(), m = e.readUint32(), x = e.readUint32(), A = e.readUint32(), I = Array.from(e.readUint32Array(A)), d = e.readUint32(), E = Array.from(e.readUint32Array(d)), b = e.readUint32(), y = e.readUint32();
12458
12458
  return Object.assign({
12459
12459
  recurFrequency: n,
12460
12460
  patternType: c,
@@ -12465,84 +12465,84 @@ function mi(e) {
12465
12465
  endType: g,
12466
12466
  occurrenceCount: m,
12467
12467
  firstDOW: x,
12468
- deletedInstanceDates: S,
12469
- modifiedInstanceDates: v,
12470
- startDate: E,
12468
+ deletedInstanceDates: I,
12469
+ modifiedInstanceDates: E,
12470
+ startDate: b,
12471
12471
  endDate: y
12472
- }, l ? { patternTypeWeek: l } : {}, b ? { patternTypeMonth: b } : {}, w ? { patternTypeMonthNth: w } : {});
12472
+ }, l ? { patternTypeWeek: l } : {}, v ? { patternTypeMonth: v } : {}, w ? { patternTypeMonthNth: w } : {});
12473
12473
  }
12474
- function gi(e, t) {
12475
- var a = mi(e), n = e.readUint32();
12474
+ function _i(e, t) {
12475
+ var a = wi(e), n = e.readUint32();
12476
12476
  if (n !== 12294)
12477
12477
  throw new Error("ReaderVersion2 not supported");
12478
12478
  var c = e.readUint32();
12479
12479
  if (c < 12294)
12480
12480
  throw new Error("WriterVersion2 not supported");
12481
12481
  for (var u = e.readUint32(), f = e.readUint32(), s = e.readUint16(), p = [], l = 0; l < s; l++) {
12482
- var b = e.readUint32(), w = e.readUint32(), g = e.readUint32(), m = e.readUint16(), x = void 0;
12483
- if (m & te.ARO_SUBJECT) {
12484
- var A = e.readUint16(), S = e.readUint16();
12485
- if (A - 1 !== S)
12486
- throw new Error("subjectLength ".concat(A, " and subjectLength2 ").concat(S, " are not close!"));
12487
- x = e.readString(S, t);
12482
+ var v = e.readUint32(), w = e.readUint32(), g = e.readUint32(), m = e.readUint16(), x = void 0;
12483
+ if (m & re.ARO_SUBJECT) {
12484
+ var A = e.readUint16(), I = e.readUint16();
12485
+ if (A - 1 !== I)
12486
+ throw new Error("subjectLength ".concat(A, " and subjectLength2 ").concat(I, " are not close!"));
12487
+ x = e.readString(I, t);
12488
12488
  }
12489
12489
  var d = void 0;
12490
- m & te.ARO_MEETINGTYPE && (d = e.readUint32());
12491
- var v = void 0;
12492
- m & te.ARO_REMINDERDELTA && (v = e.readUint32());
12490
+ m & re.ARO_MEETINGTYPE && (d = e.readUint32());
12493
12491
  var E = void 0;
12494
- m & te.ARO_REMINDER && (E = e.readUint32());
12492
+ m & re.ARO_REMINDERDELTA && (E = e.readUint32());
12493
+ var b = void 0;
12494
+ m & re.ARO_REMINDER && (b = e.readUint32());
12495
12495
  var y = void 0;
12496
- if (m & te.ARO_LOCATION) {
12497
- var I = e.readUint16(), U = e.readUint16();
12498
- if (I - 1 !== U)
12499
- throw new Error("locationLength ".concat(I, " and locationLength2 ").concat(U, " are not close!"));
12496
+ if (m & re.ARO_LOCATION) {
12497
+ var S = e.readUint16(), U = e.readUint16();
12498
+ if (S - 1 !== U)
12499
+ throw new Error("locationLength ".concat(S, " and locationLength2 ").concat(U, " are not close!"));
12500
12500
  y = e.readString(U, t);
12501
12501
  }
12502
12502
  var N = void 0;
12503
- m & te.ARO_BUSYSTATUS && (N = e.readUint32());
12504
- var O = void 0;
12505
- m & te.ARO_ATTACHMENT && (O = e.readUint32());
12503
+ m & re.ARO_BUSYSTATUS && (N = e.readUint32());
12504
+ var R = void 0;
12505
+ m & re.ARO_ATTACHMENT && (R = e.readUint32());
12506
12506
  var D = void 0;
12507
- m & te.ARO_SUBTYPE && (D = e.readUint32());
12507
+ m & re.ARO_SUBTYPE && (D = e.readUint32());
12508
12508
  var F = void 0;
12509
- m & te.ARO_APPTCOLOR && (F = e.readUint32()), p.push(Object.assign({
12510
- startDateTime: b,
12509
+ m & re.ARO_APPTCOLOR && (F = e.readUint32()), p.push(Object.assign({
12510
+ startDateTime: v,
12511
12511
  endDateTime: w,
12512
12512
  originalStartTime: g,
12513
12513
  overrideFlags: m
12514
- }, x ? { subject: x } : {}, d ? { meetingType: d } : {}, v ? { reminderDelta: v } : {}, E ? { reminderSet: E } : {}, y ? { location: y } : {}, N ? { busyStatus: N } : {}, O ? { attachment: O } : {}, D ? { subType: D } : {}, F ? { appointmentColor: F } : {}));
12514
+ }, x ? { subject: x } : {}, d ? { meetingType: d } : {}, E ? { reminderDelta: E } : {}, b ? { reminderSet: b } : {}, y ? { location: y } : {}, N ? { busyStatus: N } : {}, R ? { attachment: R } : {}, D ? { subType: D } : {}, F ? { appointmentColor: F } : {}));
12515
12515
  }
12516
- var M = e.readUint32();
12517
- if (M !== 0)
12518
- throw new Error("reservedBlock1Size ".concat(M, " is not zero, AppointmentRecur is broken"));
12516
+ var C = e.readUint32();
12517
+ if (C !== 0)
12518
+ throw new Error("reservedBlock1Size ".concat(C, " is not zero, AppointmentRecur is broken"));
12519
12519
  for (var l = 0; l < s; l++) {
12520
- var Y = p[l];
12520
+ var G = p[l];
12521
12521
  if (12297 <= c) {
12522
- var q = e.readUint32();
12523
- Y.changeHighlight = e.readUint32(), e.position += q - 4;
12522
+ var z = e.readUint32();
12523
+ G.changeHighlight = e.readUint32(), e.position += z - 4;
12524
12524
  }
12525
- var z = e.readUint32();
12526
- if (z !== 0)
12527
- throw new Error("reservedBlockEE1Size ".concat(z, " is not zero, AppointmentRecur is broken"));
12528
- if (Y.overrideFlags & (te.ARO_SUBJECT | te.ARO_LOCATION)) {
12529
- var b = e.readUint32(), w = e.readUint32();
12530
- if (e.readUint32(), Y.overrideFlags & te.ARO_SUBJECT) {
12531
- var H = e.readUint16();
12532
- Y.subject = e.readUCS2String(H);
12525
+ var Z = e.readUint32();
12526
+ if (Z !== 0)
12527
+ throw new Error("reservedBlockEE1Size ".concat(Z, " is not zero, AppointmentRecur is broken"));
12528
+ if (G.overrideFlags & (re.ARO_SUBJECT | re.ARO_LOCATION)) {
12529
+ var v = e.readUint32(), w = e.readUint32();
12530
+ if (e.readUint32(), G.overrideFlags & re.ARO_SUBJECT) {
12531
+ var Y = e.readUint16();
12532
+ G.subject = e.readUCS2String(Y);
12533
12533
  }
12534
- if (Y.overrideFlags & te.ARO_LOCATION) {
12534
+ if (G.overrideFlags & re.ARO_LOCATION) {
12535
12535
  var k = e.readUint16();
12536
- Y.location = e.readUCS2String(k);
12536
+ G.location = e.readUCS2String(k);
12537
12537
  }
12538
- var W = e.readUint32();
12539
- if (W !== 0)
12540
- throw new Error("reservedBlockEE2Size ".concat(W, " is not zero, AppointmentRecur is broken"));
12538
+ var $ = e.readUint32();
12539
+ if ($ !== 0)
12540
+ throw new Error("reservedBlockEE2Size ".concat($, " is not zero, AppointmentRecur is broken"));
12541
12541
  }
12542
12542
  }
12543
- var C = e.readUint32();
12544
- if (C !== 0)
12545
- throw new Error("reservedBlock2Size ".concat(C, " is not zero, AppointmentRecur is broken"));
12543
+ var M = e.readUint32();
12544
+ if (M !== 0)
12545
+ throw new Error("reservedBlock2Size ".concat(M, " is not zero, AppointmentRecur is broken"));
12546
12546
  return {
12547
12547
  recurrencePattern: a,
12548
12548
  startTimeOffset: u,
@@ -12551,11 +12551,11 @@ function gi(e, t) {
12551
12551
  };
12552
12552
  }
12553
12553
  (function(e) {
12554
- var t = ie && ie.__importDefault || function(v) {
12555
- return v && v.__esModule ? v : { default: v };
12554
+ var t = ne && ne.__importDefault || function(E) {
12555
+ return E && E.__esModule ? E : { default: E };
12556
12556
  };
12557
12557
  Object.defineProperty(e, "__esModule", { value: !0 }), e.OverrideFlags = e.EndType = e.CalendarType = e.PatternType = e.RecurFrequency = void 0;
12558
- var a = t(De), n = t(Ne), c = _e, u = ht, f = Q, s = lt, p = dt, l = pt, b = yt, w = ne, g = ne;
12558
+ var a = t(De), n = t(Ne), c = _e, u = ht, f = ee, s = lt, p = dt, l = pt, v = yt, w = ae, g = ae;
12559
12559
  Object.defineProperty(e, "RecurFrequency", { enumerable: !0, get: function() {
12560
12560
  return g.RecurFrequency;
12561
12561
  } }), Object.defineProperty(e, "PatternType", { enumerable: !0, get: function() {
@@ -12568,119 +12568,119 @@ function gi(e, t) {
12568
12568
  return g.OverrideFlags;
12569
12569
  } });
12570
12570
  var m;
12571
- (function(v) {
12572
- v[v.DIRECTORY = 1] = "DIRECTORY", v[v.DOCUMENT = 2] = "DOCUMENT", v[v.ROOT = 5] = "ROOT";
12571
+ (function(E) {
12572
+ E[E.DIRECTORY = 1] = "DIRECTORY", E[E.DOCUMENT = 2] = "DOCUMENT", E[E.ROOT = 5] = "ROOT";
12573
12573
  })(m || (m = {}));
12574
12574
  var x;
12575
- (function(v) {
12576
- v[v.root = 0] = "root", v[v.toSub = 1] = "toSub", v[v.named = 2] = "named";
12575
+ (function(E) {
12576
+ E[E.root = 0] = "root", E[E.toSub = 1] = "toSub", E[E.named = 2] = "named";
12577
12577
  })(x || (x = {}));
12578
- function A(v) {
12579
- return (v - 116444736e9) / 1e4;
12578
+ function A(E) {
12579
+ return (E - 116444736e9) / 1e4;
12580
12580
  }
12581
- function S(v) {
12582
- var E = v.indexOf("\0");
12583
- return E !== -1 ? v.substring(0, E) : v;
12581
+ function I(E) {
12582
+ var b = E.indexOf("\0");
12583
+ return b !== -1 ? E.substring(0, b) : E;
12584
12584
  }
12585
12585
  var d = (
12586
12586
  /** @class */
12587
12587
  function() {
12588
- function v(E) {
12589
- this.reader = new c.Reader(E);
12588
+ function E(b) {
12589
+ this.reader = new c.Reader(b);
12590
12590
  }
12591
- return v.prototype.decodeField = function(E, y, I, U, N) {
12592
- var O = I(), D = new n.default(O, 0, n.default.LITTLE_ENDIAN), F = a.default.MSG.FIELD.FULL_NAME_MAPPING["".concat(E).concat(y)] || a.default.MSG.FIELD.NAME_MAPPING[E], M = x.root, Y = void 0, q = void 0, z = parseInt("0x".concat(E));
12593
- if (z >= 32768) {
12594
- var H = this.privatePidToKeyed[z];
12595
- if (H)
12596
- if (H.useName)
12597
- F = H.name, M = x.named;
12591
+ return E.prototype.decodeField = function(b, y, S, U, N) {
12592
+ var R = S(), D = new n.default(R, 0, n.default.LITTLE_ENDIAN), F = a.default.MSG.FIELD.FULL_NAME_MAPPING["".concat(b).concat(y)] || a.default.MSG.FIELD.NAME_MAPPING[b], C = x.root, G = void 0, z = void 0, Z = parseInt("0x".concat(b));
12593
+ if (Z >= 32768) {
12594
+ var Y = this.privatePidToKeyed[Z];
12595
+ if (Y)
12596
+ if (Y.useName)
12597
+ F = Y.name, C = x.named;
12598
12598
  else {
12599
- Y = H.propertySet, q = (0, f.toHex4)(H.propertyLid);
12600
- var k = a.default.MSG.FIELD.PIDLID_MAPPING[H.propertySet];
12599
+ G = Y.propertySet, z = (0, f.toHex4)(Y.propertyLid);
12600
+ var k = a.default.MSG.FIELD.PIDLID_MAPPING[Y.propertySet];
12601
12601
  if (k !== void 0) {
12602
- var W = k[H.propertyLid];
12603
- W !== void 0 && (W.dispid !== void 0 ? (F = W.dispid, M = x.root) : (F = W.id, M = x.toSub));
12602
+ var $ = k[Y.propertyLid];
12603
+ $ !== void 0 && ($.dispid !== void 0 ? (F = $.dispid, C = x.root) : (F = $.id, C = x.toSub));
12604
12604
  }
12605
12605
  }
12606
12606
  }
12607
- var C = O, ae = !1, Z = a.default.MSG.FIELD.TYPE_MAPPING[y];
12608
- if (Z === "string")
12609
- C = S(D.readString(O.length, U)), ae = N;
12610
- else if (Z === "unicode")
12611
- C = S(D.readUCS2String(O.length / 2)), ae = N;
12612
- else if (Z === "binary")
12613
- ae = N;
12614
- else if (Z === "integer")
12615
- C = D.readUint32();
12616
- else if (Z === "boolean")
12617
- C = !!D.readUint16();
12618
- else if (Z === "time") {
12619
- var V = D.readUint32(), X = V + 4294967296 * D.readUint32();
12620
- C = new Date(A(X)).toUTCString();
12607
+ var M = R, J = !1, V = a.default.MSG.FIELD.TYPE_MAPPING[y];
12608
+ if (V === "string")
12609
+ M = I(D.readString(R.length, U)), J = N;
12610
+ else if (V === "unicode")
12611
+ M = I(D.readUCS2String(R.length / 2)), J = N;
12612
+ else if (V === "binary")
12613
+ J = N;
12614
+ else if (V === "integer")
12615
+ M = D.readUint32();
12616
+ else if (V === "boolean")
12617
+ M = !!D.readUint16();
12618
+ else if (V === "time") {
12619
+ var q = D.readUint32(), X = q + 4294967296 * D.readUint32();
12620
+ M = new Date(A(X)).toUTCString();
12621
12621
  }
12622
- if (ae && (F = void 0), F === "PidLidVerbStream")
12623
- F = "votingOptions", M = x.root, C = (0, p.parse)(D);
12622
+ if (J && (F = void 0), F === "PidLidVerbStream")
12623
+ F = "votingOptions", C = x.root, M = (0, p.parse)(D);
12624
12624
  else if (F === "apptTZDefStartDisplay" || F === "apptTZDefEndDisplay" || F === "apptTZDefRecur")
12625
- M = x.root, C = (0, l.parse)(D);
12625
+ C = x.root, M = (0, l.parse)(D);
12626
12626
  else if (F === "timeZoneStruct")
12627
- C = (0, b.parse)(D);
12627
+ M = (0, v.parse)(D);
12628
12628
  else if (F === "apptRecur")
12629
12629
  try {
12630
- C = (0, w.parse)(D, U);
12630
+ M = (0, w.parse)(D, U);
12631
12631
  } catch (He) {
12632
12632
  console.debug(He), F = void 0;
12633
12633
  }
12634
12634
  else if (F === "recipType") {
12635
12635
  var me = 1, be = 2, Ae = 3;
12636
- C === me ? C = "to" : C === be ? C = "cc" : C === Ae && (C = "bcc");
12637
- } else F === "globalAppointmentID" && (C = (0, f.bin2HexUpper)(D));
12638
- var Ge = "".concat(E).concat(y);
12639
- return { key: F, keyType: M, value: C, notForRawProp: ae, propertyTag: Ge, propertySet: Y, propertyLid: q };
12640
- }, v.prototype.fieldsDataDocument = function(E, y, I) {
12641
- var U = y.name.substring(12).toLowerCase(), N = U.substring(0, 4), O = U.substring(4, 8);
12642
- E.propertyObserver && E.propertyObserver(I, parseInt(U.substring(0, 8), 16), y.provider()), N == a.default.MSG.FIELD.CLASS_MAPPING.ATTACHMENT_DATA ? (I.dataId = y.dataId, I.contentLength = y.length) : this.setDecodedFieldTo(E, I, this.decodeField(N, O, y.provider, E.ansiEncoding, !1));
12643
- }, v.prototype.setDecodedFieldTo = function(E, y, I) {
12644
- var U = I.key, N = I.keyType, O = I.value;
12645
- U !== void 0 && N === x.root && (y[U] = O), E.includeRawProps === !0 && (y.rawProps = y.rawProps || [], I.notForRawProp || y.rawProps.push({
12646
- propertyTag: I.propertyTag,
12647
- propertySet: I.propertySet,
12648
- propertyLid: I.propertyLid,
12649
- propertyName: I.keyType === x.named ? I.key : void 0,
12650
- value: O
12636
+ M === me ? M = "to" : M === be ? M = "cc" : M === Ae && (M = "bcc");
12637
+ } else F === "globalAppointmentID" && (M = (0, f.bin2HexUpper)(D));
12638
+ var Ge = "".concat(b).concat(y);
12639
+ return { key: F, keyType: C, value: M, notForRawProp: J, propertyTag: Ge, propertySet: G, propertyLid: z };
12640
+ }, E.prototype.fieldsDataDocument = function(b, y, S) {
12641
+ var U = y.name.substring(12).toLowerCase(), N = U.substring(0, 4), R = U.substring(4, 8);
12642
+ b.propertyObserver && b.propertyObserver(S, parseInt(U.substring(0, 8), 16), y.provider()), N == a.default.MSG.FIELD.CLASS_MAPPING.ATTACHMENT_DATA ? (S.dataId = y.dataId, S.contentLength = y.length) : this.setDecodedFieldTo(b, S, this.decodeField(N, R, y.provider, b.ansiEncoding, !1));
12643
+ }, E.prototype.setDecodedFieldTo = function(b, y, S) {
12644
+ var U = S.key, N = S.keyType, R = S.value;
12645
+ U !== void 0 && N === x.root && (y[U] = R), b.includeRawProps === !0 && (y.rawProps = y.rawProps || [], S.notForRawProp || y.rawProps.push({
12646
+ propertyTag: S.propertyTag,
12647
+ propertySet: S.propertySet,
12648
+ propertyLid: S.propertyLid,
12649
+ propertyName: S.keyType === x.named ? S.key : void 0,
12650
+ value: R
12651
12651
  }));
12652
- }, v.prototype.getFieldType = function(E) {
12653
- var y = E.name.substring(12).toLowerCase();
12652
+ }, E.prototype.getFieldType = function(b) {
12653
+ var y = b.name.substring(12).toLowerCase();
12654
12654
  return y.substring(4, 8);
12655
- }, v.prototype.fieldsDataDirInner = function(E, y, I, U) {
12655
+ }, E.prototype.fieldsDataDirInner = function(b, y, S, U) {
12656
12656
  var N = this;
12657
12657
  if (y.name.indexOf(a.default.MSG.FIELD.PREFIX.ATTACHMENT) == 0) {
12658
- var O = {
12658
+ var R = {
12659
12659
  dataType: "attachment"
12660
12660
  };
12661
- U.attachments.push(O), this.fieldsDataDir(E, y, I, O, "attachment");
12661
+ U.attachments.push(R), this.fieldsDataDir(b, y, S, R, "attachment");
12662
12662
  } else if (y.name.indexOf(a.default.MSG.FIELD.PREFIX.RECIPIENT) == 0) {
12663
12663
  var D = {
12664
12664
  dataType: "recipient"
12665
12665
  };
12666
- U.recipients.push(D), this.fieldsDataDir(E, y, I, D, "recip");
12666
+ U.recipients.push(D), this.fieldsDataDir(b, y, S, D, "recip");
12667
12667
  } else if (y.name.indexOf(a.default.MSG.FIELD.PREFIX.NAMEID) == 0)
12668
- this.fieldsNameIdDir(E, y, I, U);
12668
+ this.fieldsNameIdDir(b, y, S, U);
12669
12669
  else {
12670
12670
  var F = this.getFieldType(y);
12671
12671
  if (F == a.default.MSG.FIELD.DIR_TYPE.INNER_MSG) {
12672
- var M = {
12672
+ var C = {
12673
12673
  dataType: "msg",
12674
12674
  attachments: [],
12675
12675
  recipients: []
12676
12676
  };
12677
- this.fieldsDataDir(E, y, I, M, "sub"), U.innerMsgContentFields = M, U.innerMsgContent = !0, U.folderId = y.dataId, this.innerMsgBurners[y.dataId] = function() {
12678
- return N.burnMsg(y, I);
12677
+ this.fieldsDataDir(b, y, S, C, "sub"), U.innerMsgContentFields = C, U.innerMsgContent = !0, U.folderId = y.dataId, this.innerMsgBurners[y.dataId] = function() {
12678
+ return N.burnMsg(y, S);
12679
12679
  };
12680
12680
  }
12681
12681
  }
12682
- }, v.prototype.burnMsg = function(E, y) {
12683
- var I = [
12682
+ }, E.prototype.burnMsg = function(b, y) {
12683
+ var S = [
12684
12684
  {
12685
12685
  name: "Root Entry",
12686
12686
  type: m.ROOT,
@@ -12688,116 +12688,116 @@ function gi(e, t) {
12688
12688
  length: 0
12689
12689
  }
12690
12690
  ];
12691
- return this.registerFolder(I, 0, E, y, 0), (0, u.burn)(I);
12692
- }, v.prototype.registerFolder = function(E, y, I, U, N) {
12693
- for (var O = function(Z) {
12694
- var V = Z.provider, X = Z.length;
12695
- if (N === 0 && Z.name === "__properties_version1.0") {
12696
- var me = V(), be = new Uint8Array(me.length + 8);
12697
- be.set(me.subarray(0, 24), 0), be.set(me.subarray(24), 32), V = function() {
12691
+ return this.registerFolder(S, 0, b, y, 0), (0, u.burn)(S);
12692
+ }, E.prototype.registerFolder = function(b, y, S, U, N) {
12693
+ for (var R = function(V) {
12694
+ var q = V.provider, X = V.length;
12695
+ if (N === 0 && V.name === "__properties_version1.0") {
12696
+ var me = q(), be = new Uint8Array(me.length + 8);
12697
+ be.set(me.subarray(0, 24), 0), be.set(me.subarray(24), 32), q = function() {
12698
12698
  return be;
12699
12699
  }, X = be.length;
12700
12700
  }
12701
- var Ae = E.length;
12702
- E[y].children.push(Ae), E.push({
12703
- name: Z.name,
12701
+ var Ae = b.length;
12702
+ b[y].children.push(Ae), b.push({
12703
+ name: V.name,
12704
12704
  type: m.DOCUMENT,
12705
- binaryProvider: V,
12705
+ binaryProvider: q,
12706
12706
  length: X
12707
12707
  });
12708
- }, D = 0, F = I.fileNameSets(); D < F.length; D++) {
12709
- var M = F[D];
12710
- O(M);
12708
+ }, D = 0, F = S.fileNameSets(); D < F.length; D++) {
12709
+ var C = F[D];
12710
+ R(C);
12711
12711
  }
12712
12712
  if (N === 0)
12713
- for (var Y = U.subFolders().filter(function(Z) {
12714
- return Z.name === a.default.MSG.FIELD.PREFIX.NAMEID;
12715
- }), q = 0, z = Y; q < z.length; q++) {
12716
- var H = z[q], k = E.length;
12717
- E[y].children.push(k), E.push({
12718
- name: H.name,
12713
+ for (var G = U.subFolders().filter(function(V) {
12714
+ return V.name === a.default.MSG.FIELD.PREFIX.NAMEID;
12715
+ }), z = 0, Z = G; z < Z.length; z++) {
12716
+ var Y = Z[z], k = b.length;
12717
+ b[y].children.push(k), b.push({
12718
+ name: Y.name,
12719
12719
  type: m.DIRECTORY,
12720
12720
  children: [],
12721
12721
  length: 0
12722
- }), this.registerFolder(E, k, H, U, N + 1);
12722
+ }), this.registerFolder(b, k, Y, U, N + 1);
12723
12723
  }
12724
- for (var W = 0, C = I.subFolders(); W < C.length; W++) {
12725
- var ae = C[W], k = E.length;
12726
- E[y].children.push(k), E.push({
12727
- name: ae.name,
12724
+ for (var $ = 0, M = S.subFolders(); $ < M.length; $++) {
12725
+ var J = M[$], k = b.length;
12726
+ b[y].children.push(k), b.push({
12727
+ name: J.name,
12728
12728
  type: m.DIRECTORY,
12729
12729
  children: [],
12730
12730
  length: 0
12731
- }), this.registerFolder(E, k, ae, U, N + 1);
12731
+ }), this.registerFolder(b, k, J, U, N + 1);
12732
12732
  }
12733
- }, v.prototype.fieldsRecipAndAttachmentProperties = function(E, y, I) {
12733
+ }, E.prototype.fieldsRecipAndAttachmentProperties = function(b, y, S) {
12734
12734
  var U = y.provider(), N = new n.default(U, 8, n.default.LITTLE_ENDIAN);
12735
- this.importPropertiesFromFile(E, N, I);
12736
- }, v.prototype.importPropertiesFromFile = function(E, y, I) {
12735
+ this.importPropertiesFromFile(b, N, S);
12736
+ }, E.prototype.importPropertiesFromFile = function(b, y, S) {
12737
12737
  for (var U = function() {
12738
12738
  var D = y.readUint32();
12739
12739
  if (D === 0)
12740
12740
  return "break";
12741
12741
  y.readUint32();
12742
12742
  var F = y.readUint8Array(8);
12743
- E.propertyObserver(I, D, F);
12744
- var M = (0, f.toHex2)(D / 65536 & 65535), Y = (0, f.toHex2)(D & 65535);
12745
- N.setDecodedFieldTo(E, I, N.decodeField(M, Y, function() {
12743
+ b.propertyObserver(S, D, F);
12744
+ var C = (0, f.toHex2)(D / 65536 & 65535), G = (0, f.toHex2)(D & 65535);
12745
+ N.setDecodedFieldTo(b, S, N.decodeField(C, G, function() {
12746
12746
  return F;
12747
- }, E.ansiEncoding, !0));
12747
+ }, b.ansiEncoding, !0));
12748
12748
  }, N = this; !y.isEof(); ) {
12749
- var O = U();
12750
- if (O === "break")
12749
+ var R = U();
12750
+ if (R === "break")
12751
12751
  break;
12752
12752
  }
12753
- }, v.prototype.fieldsRootProperties = function(E, y, I) {
12753
+ }, E.prototype.fieldsRootProperties = function(b, y, S) {
12754
12754
  var U = y.provider(), N = new n.default(U, 32, n.default.LITTLE_ENDIAN);
12755
- this.importPropertiesFromFile(E, N, I);
12756
- }, v.prototype.fieldsDataDir = function(E, y, I, U, N) {
12757
- for (var O = 0, D = y.subFolders(); O < D.length; O++) {
12758
- var F = D[O];
12759
- this.fieldsDataDirInner(E, F, I, U);
12755
+ this.importPropertiesFromFile(b, N, S);
12756
+ }, E.prototype.fieldsDataDir = function(b, y, S, U, N) {
12757
+ for (var R = 0, D = y.subFolders(); R < D.length; R++) {
12758
+ var F = D[R];
12759
+ this.fieldsDataDirInner(b, F, S, U);
12760
12760
  }
12761
- for (var M = 0, Y = y.fileNameSets(); M < Y.length; M++) {
12762
- var q = Y[M];
12763
- q.name.indexOf(a.default.MSG.FIELD.PREFIX.DOCUMENT) == 0 ? this.fieldsDataDocument(E, q, U) : q.name === "__properties_version1.0" && (N === "recip" || N === "attachment" || N === "sub" ? this.fieldsRecipAndAttachmentProperties(E, q, U) : N === "root" && this.fieldsRootProperties(E, q, U));
12761
+ for (var C = 0, G = y.fileNameSets(); C < G.length; C++) {
12762
+ var z = G[C];
12763
+ z.name.indexOf(a.default.MSG.FIELD.PREFIX.DOCUMENT) == 0 ? this.fieldsDataDocument(b, z, U) : z.name === "__properties_version1.0" && (N === "recip" || N === "attachment" || N === "sub" ? this.fieldsRecipAndAttachmentProperties(b, z, U) : N === "root" && this.fieldsRootProperties(b, z, U));
12764
12764
  }
12765
- }, v.prototype.fieldsNameIdDir = function(E, y, I, U) {
12766
- for (var N = void 0, O = void 0, D = void 0, F = 0, M = y.fileNameSets(); F < M.length; F++) {
12767
- var Y = M[F];
12768
- if (Y.name.indexOf(a.default.MSG.FIELD.PREFIX.DOCUMENT) == 0) {
12769
- var q = Y.name.substring(12).toLowerCase(), z = q.substring(0, 4), H = q.substring(4, 8);
12770
- z === "0002" && H === "0102" ? N = Y.provider() : z === "0003" && H === "0102" ? D = Y.provider() : z === "0004" && H === "0102" && (O = Y.provider());
12765
+ }, E.prototype.fieldsNameIdDir = function(b, y, S, U) {
12766
+ for (var N = void 0, R = void 0, D = void 0, F = 0, C = y.fileNameSets(); F < C.length; F++) {
12767
+ var G = C[F];
12768
+ if (G.name.indexOf(a.default.MSG.FIELD.PREFIX.DOCUMENT) == 0) {
12769
+ var z = G.name.substring(12).toLowerCase(), Z = z.substring(0, 4), Y = z.substring(4, 8);
12770
+ Z === "0002" && Y === "0102" ? N = G.provider() : Z === "0003" && Y === "0102" ? D = G.provider() : Z === "0004" && Y === "0102" && (R = G.provider());
12771
12771
  }
12772
12772
  }
12773
- if (N !== void 0 && O !== void 0 && D !== void 0)
12774
- for (var k = (0, s.parse)(D), W = new n.default(O, 0, n.default.LITTLE_ENDIAN), C = 0, ae = k; C < ae.length; C++) {
12775
- var Z = ae[C];
12776
- if (Z.isStringProperty) {
12777
- W.seek(Z.key);
12778
- var V = W.readUint32();
12779
- this.privatePidToKeyed[32768 | Z.propertyIndex] = {
12773
+ if (N !== void 0 && R !== void 0 && D !== void 0)
12774
+ for (var k = (0, s.parse)(D), $ = new n.default(R, 0, n.default.LITTLE_ENDIAN), M = 0, J = k; M < J.length; M++) {
12775
+ var V = J[M];
12776
+ if (V.isStringProperty) {
12777
+ $.seek(V.key);
12778
+ var q = $.readUint32();
12779
+ this.privatePidToKeyed[32768 | V.propertyIndex] = {
12780
12780
  useName: !0,
12781
- name: W.readUCS2String(V / 2)
12781
+ name: $.readUCS2String(q / 2)
12782
12782
  };
12783
12783
  } else
12784
- this.privatePidToKeyed[32768 | Z.propertyIndex] = {
12784
+ this.privatePidToKeyed[32768 | V.propertyIndex] = {
12785
12785
  useName: !1,
12786
- propertySet: Z.guidIndex === 1 ? "00020328-00000-0000-C000-00000000046" : Z.guidIndex === 2 ? "00020329-00000-0000-C000-00000000046" : (0, f.msftUuidStringify)(N, 16 * (Z.guidIndex - 3)),
12787
- propertyLid: Z.key
12786
+ propertySet: V.guidIndex === 1 ? "00020328-00000-0000-C000-00000000046" : V.guidIndex === 2 ? "00020329-00000-0000-C000-00000000046" : (0, f.msftUuidStringify)(N, 16 * (V.guidIndex - 3)),
12787
+ propertyLid: V.key
12788
12788
  };
12789
12789
  }
12790
- }, v.prototype.fieldsDataReader = function(E) {
12790
+ }, E.prototype.fieldsDataReader = function(b) {
12791
12791
  var y = {
12792
12792
  dataType: "msg",
12793
12793
  attachments: [],
12794
12794
  recipients: []
12795
12795
  };
12796
- return this.fieldsDataDir(E, this.reader.rootFolder(), this.reader.rootFolder(), y, "root"), y;
12797
- }, v.prototype.parseMsgData = function(E) {
12798
- return this.reader.parse(), this.fieldsDataReader(E);
12799
- }, v.prototype.getFileData = function() {
12800
- var E, y, I;
12796
+ return this.fieldsDataDir(b, this.reader.rootFolder(), this.reader.rootFolder(), y, "root"), y;
12797
+ }, E.prototype.parseMsgData = function(b) {
12798
+ return this.reader.parse(), this.fieldsDataReader(b);
12799
+ }, E.prototype.getFileData = function() {
12800
+ var b, y, S;
12801
12801
  if (this.fieldsData === void 0) {
12802
12802
  if (!this.reader.isMSGFile())
12803
12803
  return {
@@ -12805,26 +12805,26 @@ function gi(e, t) {
12805
12805
  error: "Unsupported file type!"
12806
12806
  };
12807
12807
  this.innerMsgBurners = {}, this.privatePidToKeyed = {}, this.fieldsData = this.parseMsgData({
12808
- propertyObserver: ((E = this.parserConfig) === null || E === void 0 ? void 0 : E.propertyObserver) || function() {
12808
+ propertyObserver: ((b = this.parserConfig) === null || b === void 0 ? void 0 : b.propertyObserver) || function() {
12809
12809
  },
12810
12810
  includeRawProps: !!(!((y = this.parserConfig) === null || y === void 0) && y.includeRawProps),
12811
- ansiEncoding: (0, f.emptyToNull)((I = this.parserConfig) === null || I === void 0 ? void 0 : I.ansiEncoding)
12811
+ ansiEncoding: (0, f.emptyToNull)((S = this.parserConfig) === null || S === void 0 ? void 0 : S.ansiEncoding)
12812
12812
  });
12813
12813
  }
12814
12814
  return this.fieldsData;
12815
- }, v.prototype.getAttachment = function(E) {
12816
- var y = typeof E == "number" ? this.fieldsData.attachments[E] : E;
12815
+ }, E.prototype.getAttachment = function(b) {
12816
+ var y = typeof b == "number" ? this.fieldsData.attachments[b] : b;
12817
12817
  if (y.innerMsgContent === !0 && typeof y.folderId == "number")
12818
12818
  return { fileName: y.name + ".msg", content: this.innerMsgBurners[y.folderId]() };
12819
- var I = this.reader.readFileOf(y.dataId);
12820
- return { fileName: y.fileName, content: I };
12821
- }, v;
12819
+ var S = this.reader.readFileOf(y.dataId);
12820
+ return { fileName: y.fileName, content: S };
12821
+ }, E;
12822
12822
  }()
12823
12823
  );
12824
12824
  e.default = d;
12825
12825
  })(at);
12826
12826
  (function(e) {
12827
- var t = ie && ie.__createBinding || (Object.create ? function(u, f, s, p) {
12827
+ var t = ne && ne.__createBinding || (Object.create ? function(u, f, s, p) {
12828
12828
  p === void 0 && (p = s);
12829
12829
  var l = Object.getOwnPropertyDescriptor(f, s);
12830
12830
  (!l || ("get" in l ? !f.__esModule : l.writable || l.configurable)) && (l = { enumerable: !0, get: function() {
@@ -12832,16 +12832,16 @@ function gi(e, t) {
12832
12832
  } }), Object.defineProperty(u, p, l);
12833
12833
  } : function(u, f, s, p) {
12834
12834
  p === void 0 && (p = s), u[p] = f[s];
12835
- }), a = ie && ie.__exportStar || function(u, f) {
12835
+ }), a = ne && ne.__exportStar || function(u, f) {
12836
12836
  for (var s in u) s !== "default" && !Object.prototype.hasOwnProperty.call(f, s) && t(f, u, s);
12837
- }, n = ie && ie.__importDefault || function(u) {
12837
+ }, n = ne && ne.__importDefault || function(u) {
12838
12838
  return u && u.__esModule ? u : { default: u };
12839
12839
  };
12840
12840
  Object.defineProperty(e, "__esModule", { value: !0 });
12841
12841
  var c = n(at);
12842
12842
  a(at, e), e.default = c.default;
12843
12843
  })(Vt);
12844
- const wi = /* @__PURE__ */ fr(Vt);
12844
+ const Ai = /* @__PURE__ */ hr(Vt);
12845
12845
  function nt(e, t) {
12846
12846
  return e ? e.filter((a) => a.recipType === t).map((a) => {
12847
12847
  const n = a.name || "", c = a.smtpAddress || a.email || "";
@@ -12857,7 +12857,7 @@ function Ce(e) {
12857
12857
  return e;
12858
12858
  }
12859
12859
  }
12860
- function _i(e, t) {
12860
+ function xi(e, t) {
12861
12861
  if (e.bodyHtml)
12862
12862
  return e.bodyHtml;
12863
12863
  if (e.html)
@@ -12867,7 +12867,7 @@ function _i(e, t) {
12867
12867
  }
12868
12868
  return e.body ? `<pre style="white-space: pre-wrap; word-wrap: break-word; font-family: system-ui, sans-serif;">${e.body.replace(/&/g, "&amp;").replace(/\x3c/g, "&lt;").replace(/>/g, "&gt;")}</pre>` : `<p style="color: #999;">${t}</p>`;
12869
12869
  }
12870
- function Ai(e) {
12870
+ function Si(e) {
12871
12871
  return e ? {
12872
12872
  "IPM.Note": "Email",
12873
12873
  "IPM.Note.SMIME": "Encrypted Email",
@@ -12903,40 +12903,42 @@ const se = {
12903
12903
  color: "#111827",
12904
12904
  wordBreak: "break-word",
12905
12905
  flex: 1
12906
- }, Ui = ({ url: e }) => {
12907
- const t = sr(), a = or(), [n, c] = qe(!0), [u, f] = qe(null), [s, p] = qe(null);
12908
- if (tr(() => {
12906
+ }, Li = tr(({ url: e }, t) => {
12907
+ const a = cr(), n = fr(), [c, u] = qe(!0), [f, s] = qe(null), [p, l] = qe(null);
12908
+ if (rr(() => {
12909
12909
  if (!e) return;
12910
12910
  (async () => {
12911
- c(!0), f(null), p(null);
12911
+ u(!0), s(null), l(null);
12912
12912
  try {
12913
- const H = await a(e);
12914
- if (!H.ok)
12913
+ const k = await n(e);
12914
+ if (!k.ok)
12915
12915
  throw new Error("文件加载失败");
12916
- const k = await H.arrayBuffer(), C = new wi(k).getFileData();
12917
- p(C);
12918
- } catch (H) {
12919
- console.error("MSG 解析错误:", H), f(t("msg.parse_failed"));
12916
+ const $ = await k.arrayBuffer(), J = new Ai($).getFileData();
12917
+ l(J);
12918
+ } catch (k) {
12919
+ console.error("MSG 解析错误:", k), s(a("msg.parse_failed"));
12920
12920
  } finally {
12921
- c(!1);
12921
+ u(!1);
12922
12922
  }
12923
12923
  })();
12924
- }, [e]), n)
12924
+ }, [e]), ir(t, () => ({
12925
+ getToolbarGroups: () => []
12926
+ }), []), c)
12925
12927
  return /* @__PURE__ */ L("div", { className: "rfp-flex rfp-items-center rfp-justify-center rfp-w-full rfp-h-full", children: /* @__PURE__ */ L("div", { className: "rfp-w-12 rfp-h-12 rfp-border-4 rfp-border-line-strong rfp-border-t-spinner-head rfp-rounded-full rfp-animate-spin" }) });
12926
- if (u || !s)
12927
- return /* @__PURE__ */ L(cr, { message: u || t("msg.parse_failed_short") });
12928
- const l = nt(s.recipients, "to"), b = nt(s.recipients, "cc"), w = nt(s.recipients, "bcc"), g = s.senderName || "", m = s.senderSmtpAddress || s.senderEmail || "", x = g && m && g !== m ? `${g} <${m}>` : g || m, A = Ce(s.clientSubmitTime), S = Ce(s.messageDeliveryTime), d = Ce(s.creationTime), v = Ce(s.lastModificationTime), E = s.subject || "(无主题)", y = (s.attachments || []).filter((z) => !z.attachmentHidden), I = _i(s, t("msg.empty_body")), U = Ai(s.messageClass), N = s.messageId || "", O = s, D = typeof O.importance == "number" ? O.importance : void 0, F = D === 2 ? "High" : D === 0 ? "Low" : "", M = typeof O.sensitivity == "number" ? O.sensitivity : void 0, q = M !== void 0 && M !== 0 && {
12928
+ if (f || !p)
12929
+ return /* @__PURE__ */ L(ur, { message: f || a("msg.parse_failed_short") });
12930
+ const v = nt(p.recipients, "to"), w = nt(p.recipients, "cc"), g = nt(p.recipients, "bcc"), m = p.senderName || "", x = p.senderSmtpAddress || p.senderEmail || "", A = m && x && m !== x ? `${m} <${x}>` : m || x, I = Ce(p.clientSubmitTime), d = Ce(p.messageDeliveryTime), E = Ce(p.creationTime), b = Ce(p.lastModificationTime), y = p.subject || "(无主题)", S = (p.attachments || []).filter((Y) => !Y.attachmentHidden), U = xi(p, a("msg.empty_body")), N = Si(p.messageClass), R = p.messageId || "", D = p, F = typeof D.importance == "number" ? D.importance : void 0, C = F === 2 ? "High" : F === 0 ? "Low" : "", G = typeof D.sensitivity == "number" ? D.sensitivity : void 0, Z = G !== void 0 && G !== 0 && {
12929
12931
  0: "Normal",
12930
12932
  1: "Personal",
12931
12933
  2: "Private",
12932
12934
  3: "Confidential"
12933
- }[M] || "";
12935
+ }[G] || "";
12934
12936
  return /* @__PURE__ */ L(
12935
12937
  "div",
12936
12938
  {
12937
12939
  className: "rfp-w-full rfp-h-full rfp-overflow-auto",
12938
12940
  style: { background: "white" },
12939
- children: /* @__PURE__ */ G(
12941
+ children: /* @__PURE__ */ H(
12940
12942
  "div",
12941
12943
  {
12942
12944
  style: {
@@ -12945,90 +12947,90 @@ const se = {
12945
12947
  minHeight: "100%"
12946
12948
  },
12947
12949
  children: [
12948
- /* @__PURE__ */ G("div", { style: { borderBottom: "1px solid #e5e7eb", padding: "clamp(12px, 3vw, 24px) clamp(16px, 3vw, 28px)", background: "#f9fafb" }, children: [
12949
- /* @__PURE__ */ L("h2", { style: { margin: "0 0 16px 0", fontSize: "clamp(16px, 2.5vw, 20px)", fontWeight: 600, color: "#111827", lineHeight: 1.4 }, children: E }),
12950
- /* @__PURE__ */ G("div", { style: { display: "flex", flexDirection: "column", fontSize: "clamp(12px, 1.8vw, 14px)", color: "#4b5563" }, children: [
12951
- x && /* @__PURE__ */ G("div", { style: oe, children: [
12952
- /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(rr, { size: 16, style: fe }) }),
12953
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12950
+ /* @__PURE__ */ H("div", { style: { borderBottom: "1px solid #e5e7eb", padding: "clamp(12px, 3vw, 24px) clamp(16px, 3vw, 28px)", background: "#f9fafb" }, children: [
12951
+ /* @__PURE__ */ L("h2", { style: { margin: "0 0 16px 0", fontSize: "clamp(16px, 2.5vw, 20px)", fontWeight: 600, color: "#111827", lineHeight: 1.4 }, children: y }),
12952
+ /* @__PURE__ */ H("div", { style: { display: "flex", flexDirection: "column", fontSize: "clamp(12px, 1.8vw, 14px)", color: "#4b5563" }, children: [
12953
+ A && /* @__PURE__ */ H("div", { style: oe, children: [
12954
+ /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(nr, { size: 16, style: fe }) }),
12955
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12954
12956
  /* @__PURE__ */ L("span", { style: se, children: "From" }),
12955
- /* @__PURE__ */ L("span", { style: ue, children: x })
12957
+ /* @__PURE__ */ L("span", { style: ue, children: A })
12956
12958
  ] })
12957
12959
  ] }),
12958
- l && /* @__PURE__ */ G("div", { style: oe, children: [
12960
+ v && /* @__PURE__ */ H("div", { style: oe, children: [
12959
12961
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ze, { size: 16, style: fe }) }),
12960
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12962
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12961
12963
  /* @__PURE__ */ L("span", { style: se, children: "To" }),
12962
- /* @__PURE__ */ L("span", { style: ue, children: l })
12964
+ /* @__PURE__ */ L("span", { style: ue, children: v })
12963
12965
  ] })
12964
12966
  ] }),
12965
- b && /* @__PURE__ */ G("div", { style: oe, children: [
12967
+ w && /* @__PURE__ */ H("div", { style: oe, children: [
12966
12968
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ze, { size: 16, style: fe }) }),
12967
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12969
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12968
12970
  /* @__PURE__ */ L("span", { style: se, children: "Cc" }),
12969
- /* @__PURE__ */ L("span", { style: ue, children: b })
12971
+ /* @__PURE__ */ L("span", { style: ue, children: w })
12970
12972
  ] })
12971
12973
  ] }),
12972
- w && /* @__PURE__ */ G("div", { style: oe, children: [
12974
+ g && /* @__PURE__ */ H("div", { style: oe, children: [
12973
12975
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ze, { size: 16, style: fe }) }),
12974
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12976
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12975
12977
  /* @__PURE__ */ L("span", { style: se, children: "Bcc" }),
12976
- /* @__PURE__ */ L("span", { style: ue, children: w })
12978
+ /* @__PURE__ */ L("span", { style: ue, children: g })
12977
12979
  ] })
12978
12980
  ] }),
12979
- A && /* @__PURE__ */ G("div", { style: oe, children: [
12981
+ I && /* @__PURE__ */ H("div", { style: oe, children: [
12980
12982
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(mt, { size: 16, style: fe }) }),
12981
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12983
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12982
12984
  /* @__PURE__ */ L("span", { style: se, children: "Sent" }),
12983
- /* @__PURE__ */ L("span", { style: ue, children: A })
12985
+ /* @__PURE__ */ L("span", { style: ue, children: I })
12984
12986
  ] })
12985
12987
  ] }),
12986
- S && S !== A && /* @__PURE__ */ G("div", { style: oe, children: [
12988
+ d && d !== I && /* @__PURE__ */ H("div", { style: oe, children: [
12987
12989
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(gt, { size: 16, style: fe }) }),
12988
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12990
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12989
12991
  /* @__PURE__ */ L("span", { style: se, children: "Received" }),
12990
- /* @__PURE__ */ L("span", { style: ue, children: S })
12992
+ /* @__PURE__ */ L("span", { style: ue, children: d })
12991
12993
  ] })
12992
12994
  ] }),
12993
- !A && !S && d && /* @__PURE__ */ G("div", { style: oe, children: [
12995
+ !I && !d && E && /* @__PURE__ */ H("div", { style: oe, children: [
12994
12996
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(mt, { size: 16, style: fe }) }),
12995
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
12997
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
12996
12998
  /* @__PURE__ */ L("span", { style: se, children: "Date" }),
12997
- /* @__PURE__ */ L("span", { style: ue, children: d })
12999
+ /* @__PURE__ */ L("span", { style: ue, children: E })
12998
13000
  ] })
12999
13001
  ] }),
13000
- F && /* @__PURE__ */ G("div", { style: oe, children: [
13002
+ C && /* @__PURE__ */ H("div", { style: oe, children: [
13001
13003
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(wt, { size: 16, style: fe }) }),
13002
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13004
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13003
13005
  /* @__PURE__ */ L("span", { style: se, children: "Importance" }),
13004
13006
  /* @__PURE__ */ L("span", { style: {
13005
13007
  ...ue,
13006
- color: D === 2 ? "#dc2626" : "#2563eb",
13008
+ color: F === 2 ? "#dc2626" : "#2563eb",
13007
13009
  fontWeight: 500
13008
- }, children: F })
13010
+ }, children: C })
13009
13011
  ] })
13010
13012
  ] }),
13011
- q && /* @__PURE__ */ G("div", { style: oe, children: [
13013
+ Z && /* @__PURE__ */ H("div", { style: oe, children: [
13012
13014
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(wt, { size: 16, style: fe }) }),
13013
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13015
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13014
13016
  /* @__PURE__ */ L("span", { style: se, children: "Sensitivity" }),
13015
- /* @__PURE__ */ L("span", { style: ue, children: q })
13017
+ /* @__PURE__ */ L("span", { style: ue, children: Z })
13016
13018
  ] })
13017
13019
  ] }),
13018
- U && U !== "Email" && /* @__PURE__ */ G("div", { style: oe, children: [
13019
- /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ir, { size: 16, style: fe }) }),
13020
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13020
+ N && N !== "Email" && /* @__PURE__ */ H("div", { style: oe, children: [
13021
+ /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ar, { size: 16, style: fe }) }),
13022
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13021
13023
  /* @__PURE__ */ L("span", { style: se, children: "Type" }),
13022
- /* @__PURE__ */ L("span", { style: ue, children: U })
13024
+ /* @__PURE__ */ L("span", { style: ue, children: N })
13023
13025
  ] })
13024
13026
  ] }),
13025
- y.length > 0 && /* @__PURE__ */ G("div", { style: { ...oe, borderTop: "1px solid #e5e7eb", marginTop: "4px", paddingTop: "10px" }, children: [
13026
- /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(nr, { size: 16, style: fe }) }),
13027
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13027
+ S.length > 0 && /* @__PURE__ */ H("div", { style: { ...oe, borderTop: "1px solid #e5e7eb", marginTop: "4px", paddingTop: "10px" }, children: [
13028
+ /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(sr, { size: 16, style: fe }) }),
13029
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13028
13030
  /* @__PURE__ */ L("span", { style: se, children: "Attachments" }),
13029
- /* @__PURE__ */ L("div", { style: { ...ue, display: "flex", flexWrap: "wrap", gap: "6px" }, children: y.map((z, H) => {
13030
- const k = z.fileName || z.name || "未知文件", W = z.contentLength, C = W ? W > 1048576 ? `${(W / 1048576).toFixed(1)} MB` : W > 1024 ? `${(W / 1024).toFixed(0)} KB` : `${W} B` : "";
13031
- return /* @__PURE__ */ G(
13031
+ /* @__PURE__ */ L("div", { style: { ...ue, display: "flex", flexWrap: "wrap", gap: "6px" }, children: S.map((Y, k) => {
13032
+ const $ = Y.fileName || Y.name || "未知文件", M = Y.contentLength, J = M ? M > 1048576 ? `${(M / 1048576).toFixed(1)} MB` : M > 1024 ? `${(M / 1024).toFixed(0)} KB` : `${M} B` : "";
13033
+ return /* @__PURE__ */ H(
13032
13034
  "span",
13033
13035
  {
13034
13036
  style: {
@@ -13043,31 +13045,31 @@ const se = {
13043
13045
  border: "1px solid #e5e7eb"
13044
13046
  },
13045
13047
  children: [
13046
- k,
13047
- C && /* @__PURE__ */ G("span", { style: { color: "#9ca3af", fontSize: "12px" }, children: [
13048
+ $,
13049
+ J && /* @__PURE__ */ H("span", { style: { color: "#9ca3af", fontSize: "12px" }, children: [
13048
13050
  "(",
13049
- C,
13051
+ J,
13050
13052
  ")"
13051
13053
  ] })
13052
13054
  ]
13053
13055
  },
13054
- H
13056
+ k
13055
13057
  );
13056
13058
  }) })
13057
13059
  ] })
13058
13060
  ] }),
13059
- N && /* @__PURE__ */ G("div", { style: { ...oe, borderTop: y.length > 0 ? "none" : "1px solid #e5e7eb", marginTop: "4px", paddingTop: "10px" }, children: [
13060
- /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(ar, { size: 16, style: fe }) }),
13061
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13061
+ R && /* @__PURE__ */ H("div", { style: { ...oe, borderTop: S.length > 0 ? "none" : "1px solid #e5e7eb", marginTop: "4px", paddingTop: "10px" }, children: [
13062
+ /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(or, { size: 16, style: fe }) }),
13063
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13062
13064
  /* @__PURE__ */ L("span", { style: se, children: "Message-ID" }),
13063
- /* @__PURE__ */ L("span", { style: { ...ue, fontSize: "12px", color: "#9ca3af", fontFamily: "monospace" }, children: N })
13065
+ /* @__PURE__ */ L("span", { style: { ...ue, fontSize: "12px", color: "#9ca3af", fontFamily: "monospace" }, children: R })
13064
13066
  ] })
13065
13067
  ] }),
13066
- v && v !== A && v !== S && /* @__PURE__ */ G("div", { style: oe, children: [
13068
+ b && b !== I && b !== d && /* @__PURE__ */ H("div", { style: oe, children: [
13067
13069
  /* @__PURE__ */ L("span", { style: ce, children: /* @__PURE__ */ L(gt, { size: 16, style: fe }) }),
13068
- /* @__PURE__ */ G("div", { style: { display: "flex", flex: 1 }, children: [
13070
+ /* @__PURE__ */ H("div", { style: { display: "flex", flex: 1 }, children: [
13069
13071
  /* @__PURE__ */ L("span", { style: se, children: "Modified" }),
13070
- /* @__PURE__ */ L("span", { style: { ...ue, fontSize: "12px", color: "#9ca3af" }, children: v })
13072
+ /* @__PURE__ */ L("span", { style: { ...ue, fontSize: "12px", color: "#9ca3af" }, children: b })
13071
13073
  ] })
13072
13074
  ] })
13073
13075
  ] })
@@ -13082,7 +13084,7 @@ const se = {
13082
13084
  color: "#333",
13083
13085
  overflowX: "auto"
13084
13086
  },
13085
- dangerouslySetInnerHTML: { __html: I }
13087
+ dangerouslySetInnerHTML: { __html: U }
13086
13088
  }
13087
13089
  )
13088
13090
  ]
@@ -13090,8 +13092,8 @@ const se = {
13090
13092
  )
13091
13093
  }
13092
13094
  );
13093
- };
13095
+ });
13094
13096
  export {
13095
- Ui as MsgRenderer
13097
+ Li as MsgRenderer
13096
13098
  };
13097
- //# sourceMappingURL=index-DaAXRBWL.mjs.map
13099
+ //# sourceMappingURL=index-DGNNEnWE.mjs.map