bok-reader 0.4.6 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bok.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsxs as mt, jsx as rt, Fragment as qt } from "react/jsx-runtime";
2
- import Vt, { forwardRef as $t, createElement as Wt, useState as wt, useRef as At, useCallback as re, useEffect as gt, useImperativeHandle as ne } from "react";
2
+ import Vt, { forwardRef as $t, createElement as Wt, useState as wt, useRef as At, useCallback as re, useEffect as _t, useImperativeHandle as ne } from "react";
3
3
  import './main.css';var Ft = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function ie($) {
5
5
  return $ && $.__esModule && Object.prototype.hasOwnProperty.call($, "default") ? $.default : $;
@@ -311,20 +311,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
311
311
  return f;
312
312
  }
313
313
  function h(o, m, s, f, a, _) {
314
- var x, E, C = o.file, B = o.compression, F = _ !== w.utf8encode, W = i.transformTo("string", _(C.name)), R = i.transformTo("string", w.utf8encode(C.name)), q = C.comment, Q = i.transformTo("string", _(q)), p = i.transformTo("string", w.utf8encode(q)), S = R.length !== C.name.length, r = p.length !== q.length, T = "", K = "", P = "", Y = C.dir, U = C.date, X = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
314
+ var x, E, C = o.file, B = o.compression, F = _ !== w.utf8encode, j = i.transformTo("string", _(C.name)), R = i.transformTo("string", w.utf8encode(C.name)), q = C.comment, Q = i.transformTo("string", _(q)), p = i.transformTo("string", w.utf8encode(q)), S = R.length !== C.name.length, r = p.length !== q.length, T = "", K = "", P = "", G = C.dir, U = C.date, X = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
315
315
  m && !s || (X.crc32 = o.crc32, X.compressedSize = o.compressedSize, X.uncompressedSize = o.uncompressedSize);
316
316
  var O = 0;
317
317
  m && (O |= 8), F || !S && !r || (O |= 2048);
318
318
  var A = 0, J = 0;
319
- Y && (A |= 16), a === "UNIX" ? (J = 798, A |= function(M, it) {
320
- var st = M;
321
- return M || (st = it ? 16893 : 33204), (65535 & st) << 16;
322
- }(C.unixPermissions, Y)) : (J = 20, A |= function(M) {
323
- return 63 & (M || 0);
324
- }(C.dosPermissions)), x = U.getUTCHours(), x <<= 6, x |= U.getUTCMinutes(), x <<= 5, x |= U.getUTCSeconds() / 2, E = U.getUTCFullYear() - 1980, E <<= 4, E |= U.getUTCMonth() + 1, E <<= 5, E |= U.getUTCDate(), S && (K = l(1, 1) + l(b(W), 4) + R, T += "up" + l(K.length, 2) + K), r && (P = l(1, 1) + l(b(Q), 4) + p, T += "uc" + l(P.length, 2) + P);
319
+ G && (A |= 16), a === "UNIX" ? (J = 798, A |= function(W, at) {
320
+ var it = W;
321
+ return W || (it = at ? 16893 : 33204), (65535 & it) << 16;
322
+ }(C.unixPermissions, G)) : (J = 20, A |= function(W) {
323
+ return 63 & (W || 0);
324
+ }(C.dosPermissions)), x = U.getUTCHours(), x <<= 6, x |= U.getUTCMinutes(), x <<= 5, x |= U.getUTCSeconds() / 2, E = U.getUTCFullYear() - 1980, E <<= 4, E |= U.getUTCMonth() + 1, E <<= 5, E |= U.getUTCDate(), S && (K = l(1, 1) + l(b(j), 4) + R, T += "up" + l(K.length, 2) + K), r && (P = l(1, 1) + l(b(Q), 4) + p, T += "uc" + l(P.length, 2) + P);
325
325
  var Z = "";
326
326
  return Z += `
327
- \0`, Z += l(O, 2), Z += B.magic, Z += l(x, 2), Z += l(E, 2), Z += l(X.crc32, 4), Z += l(X.compressedSize, 4), Z += l(X.uncompressedSize, 4), Z += l(W.length, 2), Z += l(T.length, 2), { fileRecord: y.LOCAL_FILE_HEADER + Z + W + T, dirRecord: y.CENTRAL_FILE_HEADER + l(J, 2) + Z + l(Q.length, 2) + "\0\0\0\0" + l(A, 4) + l(f, 4) + W + T + Q };
327
+ \0`, Z += l(O, 2), Z += B.magic, Z += l(x, 2), Z += l(E, 2), Z += l(X.crc32, 4), Z += l(X.compressedSize, 4), Z += l(X.uncompressedSize, 4), Z += l(j.length, 2), Z += l(T.length, 2), { fileRecord: y.LOCAL_FILE_HEADER + Z + j + T, dirRecord: y.CENTRAL_FILE_HEADER + l(J, 2) + Z + l(Q.length, 2) + "\0\0\0\0" + l(A, 4) + l(f, 4) + j + T + Q };
328
328
  }
329
329
  var i = n("../utils"), u = n("../stream/GenericWorker"), w = n("../utf8"), b = n("../crc32"), y = n("../signature");
330
330
  function v(o, m, s, f) {
@@ -510,8 +510,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
510
510
  } };
511
511
  }, {}], 15: [function(n, I, d) {
512
512
  function l(C, B, F) {
513
- var W, R = i.getTypeOf(B), q = i.extend(F || {}, b);
514
- q.date = q.date || /* @__PURE__ */ new Date(), q.compression !== null && (q.compression = q.compression.toUpperCase()), typeof q.unixPermissions == "string" && (q.unixPermissions = parseInt(q.unixPermissions, 8)), q.unixPermissions && 16384 & q.unixPermissions && (q.dir = !0), q.dosPermissions && 16 & q.dosPermissions && (q.dir = !0), q.dir && (C = a(C)), q.createFolders && (W = f(C)) && _.call(this, W, !0);
513
+ var j, R = i.getTypeOf(B), q = i.extend(F || {}, b);
514
+ q.date = q.date || /* @__PURE__ */ new Date(), q.compression !== null && (q.compression = q.compression.toUpperCase()), typeof q.unixPermissions == "string" && (q.unixPermissions = parseInt(q.unixPermissions, 8)), q.unixPermissions && 16384 & q.unixPermissions && (q.dir = !0), q.dosPermissions && 16 & q.dosPermissions && (q.dir = !0), q.dir && (C = a(C)), q.createFolders && (j = f(C)) && _.call(this, j, !0);
515
515
  var Q = R === "string" && q.binary === !1 && q.base64 === !1;
516
516
  F && F.binary !== void 0 || (q.binary = !Q), (B instanceof y && B.uncompressedSize === 0 || q.dir || !B || B.length === 0) && (q.base64 = !1, q.binary = !0, B = "", q.compression = "STORE", R = "string");
517
517
  var p = null;
@@ -534,21 +534,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
534
534
  var E = { load: function() {
535
535
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
536
536
  }, forEach: function(C) {
537
- var B, F, W;
537
+ var B, F, j;
538
538
  for (B in this.files)
539
- W = this.files[B], (F = B.slice(this.root.length, B.length)) && B.slice(0, this.root.length) === this.root && C(F, W);
539
+ j = this.files[B], (F = B.slice(this.root.length, B.length)) && B.slice(0, this.root.length) === this.root && C(F, j);
540
540
  }, filter: function(C) {
541
541
  var B = [];
542
- return this.forEach(function(F, W) {
543
- C(F, W) && B.push(W);
542
+ return this.forEach(function(F, j) {
543
+ C(F, j) && B.push(j);
544
544
  }), B;
545
545
  }, file: function(C, B, F) {
546
546
  if (arguments.length !== 1)
547
547
  return C = this.root + C, l.call(this, C, B, F), this;
548
548
  if (x(C)) {
549
- var W = C;
549
+ var j = C;
550
550
  return this.filter(function(q, Q) {
551
- return !Q.dir && W.test(q);
551
+ return !Q.dir && j.test(q);
552
552
  });
553
553
  }
554
554
  var R = this.files[this.root + C];
@@ -560,8 +560,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
560
560
  return this.filter(function(R, q) {
561
561
  return q.dir && C.test(R);
562
562
  });
563
- var B = this.root + C, F = _.call(this, B), W = this.clone();
564
- return W.root = F.name, W;
563
+ var B = this.root + C, F = _.call(this, B), j = this.clone();
564
+ return j.root = F.name, j;
565
565
  }, remove: function(C) {
566
566
  C = this.root + C;
567
567
  var B = this.files[C];
@@ -570,8 +570,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
570
570
  else
571
571
  for (var F = this.filter(function(R, q) {
572
572
  return q.name.slice(0, C.length) === C;
573
- }), W = 0; W < F.length; W++)
574
- delete this.files[F[W].name];
573
+ }), j = 0; j < F.length; j++)
574
+ delete this.files[F[j].name];
575
575
  return this;
576
576
  }, generate: function() {
577
577
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -581,8 +581,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
581
581
  if ((F = i.extend(C || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: h.utf8encode })).type = F.type.toLowerCase(), F.compression = F.compression.toUpperCase(), F.type === "binarystring" && (F.type = "string"), !F.type)
582
582
  throw new Error("No output type specified.");
583
583
  i.checkSupport(F.type), F.platform !== "darwin" && F.platform !== "freebsd" && F.platform !== "linux" && F.platform !== "sunos" || (F.platform = "UNIX"), F.platform === "win32" && (F.platform = "DOS");
584
- var W = F.comment || this.comment || "";
585
- B = o.generateWorker(this, F, W);
584
+ var j = F.comment || this.comment || "";
585
+ B = o.generateWorker(this, F, j);
586
586
  } catch (R) {
587
587
  (B = new u("error")).error(R);
588
588
  }
@@ -835,30 +835,30 @@ https://github.com/nodeca/pako/blob/main/LICENSE
835
835
  _ = [], a(B);
836
836
  }).on("end", function() {
837
837
  try {
838
- var B = function(F, W, R) {
838
+ var B = function(F, j, R) {
839
839
  switch (F) {
840
840
  case "blob":
841
- return l.newBlob(l.transformTo("arraybuffer", W), R);
841
+ return l.newBlob(l.transformTo("arraybuffer", j), R);
842
842
  case "base64":
843
- return u.encode(W);
843
+ return u.encode(j);
844
844
  default:
845
- return l.transformTo(F, W);
845
+ return l.transformTo(F, j);
846
846
  }
847
- }(E, function(F, W) {
847
+ }(E, function(F, j) {
848
848
  var R, q = 0, Q = null, p = 0;
849
- for (R = 0; R < W.length; R++)
850
- p += W[R].length;
849
+ for (R = 0; R < j.length; R++)
850
+ p += j[R].length;
851
851
  switch (F) {
852
852
  case "string":
853
- return W.join("");
853
+ return j.join("");
854
854
  case "array":
855
- return Array.prototype.concat.apply([], W);
855
+ return Array.prototype.concat.apply([], j);
856
856
  case "uint8array":
857
- for (Q = new Uint8Array(p), R = 0; R < W.length; R++)
858
- Q.set(W[R], q), q += W[R].length;
857
+ for (Q = new Uint8Array(p), R = 0; R < j.length; R++)
858
+ Q.set(j[R], q), q += j[R].length;
859
859
  return Q;
860
860
  case "nodebuffer":
861
- return Buffer.concat(W);
861
+ return Buffer.concat(j);
862
862
  default:
863
863
  throw new Error("concat : unsupported type '" + F + "'");
864
864
  }
@@ -1121,10 +1121,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1121
1121
  return u.Promise.resolve(f).then(function(E) {
1122
1122
  return l.blob && (E instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(E)) !== -1) && typeof FileReader < "u" ? new u.Promise(function(C, B) {
1123
1123
  var F = new FileReader();
1124
- F.onload = function(W) {
1125
- C(W.target.result);
1126
- }, F.onerror = function(W) {
1127
- B(W.target.error);
1124
+ F.onload = function(j) {
1125
+ C(j.target.result);
1126
+ }, F.onerror = function(j) {
1127
+ B(j.target.error);
1128
1128
  }, F.readAsArrayBuffer(E);
1129
1129
  }) : E;
1130
1130
  }).then(function(E) {
@@ -1456,14 +1456,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1456
1456
  var x = a.length, E = !1;
1457
1457
  if (!x)
1458
1458
  return this.resolve([]);
1459
- for (var C = new Array(x), B = 0, F = -1, W = new this(h); ++F < x; )
1459
+ for (var C = new Array(x), B = 0, F = -1, j = new this(h); ++F < x; )
1460
1460
  R(a[F], F);
1461
- return W;
1461
+ return j;
1462
1462
  function R(q, Q) {
1463
1463
  _.resolve(q).then(function(p) {
1464
- C[Q] = p, ++B !== x || E || (E = !0, i.resolve(W, C));
1464
+ C[Q] = p, ++B !== x || E || (E = !0, i.resolve(j, C));
1465
1465
  }, function(p) {
1466
- E || (E = !0, i.reject(W, p));
1466
+ E || (E = !0, i.reject(j, p));
1467
1467
  });
1468
1468
  }
1469
1469
  }, y.race = function(a) {
@@ -1474,10 +1474,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1474
1474
  if (!x)
1475
1475
  return this.resolve([]);
1476
1476
  for (var C = -1, B = new this(h); ++C < x; )
1477
- F = a[C], _.resolve(F).then(function(W) {
1478
- E || (E = !0, i.resolve(B, W));
1479
- }, function(W) {
1480
- E || (E = !0, i.reject(B, W));
1477
+ F = a[C], _.resolve(F).then(function(j) {
1478
+ E || (E = !0, i.resolve(B, j));
1479
+ }, function(j) {
1480
+ E || (E = !0, i.reject(B, j));
1481
1481
  });
1482
1482
  var F;
1483
1483
  return B;
@@ -1549,14 +1549,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1549
1549
  return a.result;
1550
1550
  }
1551
1551
  o.prototype.push = function(s, f) {
1552
- var a, _, x, E, C, B, F = this.strm, W = this.options.chunkSize, R = this.options.dictionary, q = !1;
1552
+ var a, _, x, E, C, B, F = this.strm, j = this.options.chunkSize, R = this.options.dictionary, q = !1;
1553
1553
  if (this.ended)
1554
1554
  return !1;
1555
1555
  _ = f === ~~f ? f : f === !0 ? u.Z_FINISH : u.Z_NO_FLUSH, typeof s == "string" ? F.input = i.binstring2buf(s) : v.call(s) === "[object ArrayBuffer]" ? F.input = new Uint8Array(s) : F.input = s, F.next_in = 0, F.avail_in = F.input.length;
1556
1556
  do {
1557
- if (F.avail_out === 0 && (F.output = new h.Buf8(W), F.next_out = 0, F.avail_out = W), (a = l.inflate(F, u.Z_NO_FLUSH)) === u.Z_NEED_DICT && R && (B = typeof R == "string" ? i.string2buf(R) : v.call(R) === "[object ArrayBuffer]" ? new Uint8Array(R) : R, a = l.inflateSetDictionary(this.strm, B)), a === u.Z_BUF_ERROR && q === !0 && (a = u.Z_OK, q = !1), a !== u.Z_STREAM_END && a !== u.Z_OK)
1557
+ if (F.avail_out === 0 && (F.output = new h.Buf8(j), F.next_out = 0, F.avail_out = j), (a = l.inflate(F, u.Z_NO_FLUSH)) === u.Z_NEED_DICT && R && (B = typeof R == "string" ? i.string2buf(R) : v.call(R) === "[object ArrayBuffer]" ? new Uint8Array(R) : R, a = l.inflateSetDictionary(this.strm, B)), a === u.Z_BUF_ERROR && q === !0 && (a = u.Z_OK, q = !1), a !== u.Z_STREAM_END && a !== u.Z_OK)
1558
1558
  return this.onEnd(a), !(this.ended = !0);
1559
- F.next_out && (F.avail_out !== 0 && a !== u.Z_STREAM_END && (F.avail_in !== 0 || _ !== u.Z_FINISH && _ !== u.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = i.utf8border(F.output, F.next_out), E = F.next_out - x, C = i.buf2string(F.output, x), F.next_out = E, F.avail_out = W - E, E && h.arraySet(F.output, F.output, x, E, 0), this.onData(C)) : this.onData(h.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (q = !0);
1559
+ F.next_out && (F.avail_out !== 0 && a !== u.Z_STREAM_END && (F.avail_in !== 0 || _ !== u.Z_FINISH && _ !== u.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = i.utf8border(F.output, F.next_out), E = F.next_out - x, C = i.buf2string(F.output, x), F.next_out = E, F.avail_out = j - E, E && h.arraySet(F.output, F.output, x, E, 0), this.onData(C)) : this.onData(h.shrinkBuf(F.output, F.next_out)))), F.avail_in === 0 && F.avail_out === 0 && (q = !0);
1560
1560
  } while ((0 < F.avail_in || F.avail_out === 0) && a !== u.Z_STREAM_END);
1561
1561
  return a === u.Z_STREAM_END && (_ = u.Z_FINISH), _ === u.Z_FINISH ? (a = l.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === u.Z_OK) : _ !== u.Z_SYNC_FLUSH || (this.onEnd(u.Z_OK), !(F.avail_out = 0));
1562
1562
  }, o.prototype.onData = function(s) {
@@ -1686,8 +1686,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1686
1686
  return -1 ^ h;
1687
1687
  };
1688
1688
  }, {}], 46: [function(n, I, d) {
1689
- var l, h = n("../utils/common"), i = n("./trees"), u = n("./adler32"), w = n("./crc32"), b = n("./messages"), y = 0, v = 4, o = 0, m = -2, s = -1, f = 4, a = 2, _ = 8, x = 9, E = 286, C = 30, B = 19, F = 2 * E + 1, W = 15, R = 3, q = 258, Q = q + R + 1, p = 42, S = 113, r = 1, T = 2, K = 3, P = 4;
1690
- function Y(e, D) {
1689
+ var l, h = n("../utils/common"), i = n("./trees"), u = n("./adler32"), w = n("./crc32"), b = n("./messages"), y = 0, v = 4, o = 0, m = -2, s = -1, f = 4, a = 2, _ = 8, x = 9, E = 286, C = 30, B = 19, F = 2 * E + 1, j = 15, R = 3, q = 258, Q = q + R + 1, p = 42, S = 113, r = 1, T = 2, K = 3, P = 4;
1690
+ function G(e, D) {
1691
1691
  return e.msg = b[D], D;
1692
1692
  }
1693
1693
  function U(e) {
@@ -1710,50 +1710,50 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1710
1710
  function Z(e, D) {
1711
1711
  e.pending_buf[e.pending++] = D >>> 8 & 255, e.pending_buf[e.pending++] = 255 & D;
1712
1712
  }
1713
- function M(e, D) {
1714
- var N, g, c = e.max_chain_length, k = e.strstart, L = e.prev_length, j = e.nice_match, z = e.strstart > e.w_size - Q ? e.strstart - (e.w_size - Q) : 0, H = e.window, V = e.w_mask, G = e.prev, et = e.strstart + q, lt = H[k + L - 1], at = H[k + L];
1715
- e.prev_length >= e.good_match && (c >>= 2), j > e.lookahead && (j = e.lookahead);
1713
+ function W(e, D) {
1714
+ var N, g, c = e.max_chain_length, k = e.strstart, L = e.prev_length, M = e.nice_match, z = e.strstart > e.w_size - Q ? e.strstart - (e.w_size - Q) : 0, H = e.window, V = e.w_mask, Y = e.prev, et = e.strstart + q, lt = H[k + L - 1], st = H[k + L];
1715
+ e.prev_length >= e.good_match && (c >>= 2), M > e.lookahead && (M = e.lookahead);
1716
1716
  do
1717
- if (H[(N = D) + L] === at && H[N + L - 1] === lt && H[N] === H[k] && H[++N] === H[k + 1]) {
1717
+ if (H[(N = D) + L] === st && H[N + L - 1] === lt && H[N] === H[k] && H[++N] === H[k + 1]) {
1718
1718
  k += 2, N++;
1719
1719
  do
1720
1720
  ;
1721
1721
  while (H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && H[++k] === H[++N] && k < et);
1722
1722
  if (g = q - (et - k), k = et - q, L < g) {
1723
- if (e.match_start = D, j <= (L = g))
1723
+ if (e.match_start = D, M <= (L = g))
1724
1724
  break;
1725
- lt = H[k + L - 1], at = H[k + L];
1725
+ lt = H[k + L - 1], st = H[k + L];
1726
1726
  }
1727
1727
  }
1728
- while ((D = G[D & V]) > z && --c != 0);
1728
+ while ((D = Y[D & V]) > z && --c != 0);
1729
1729
  return L <= e.lookahead ? L : e.lookahead;
1730
1730
  }
1731
- function it(e) {
1732
- var D, N, g, c, k, L, j, z, H, V, G = e.w_size;
1731
+ function at(e) {
1732
+ var D, N, g, c, k, L, M, z, H, V, Y = e.w_size;
1733
1733
  do {
1734
- if (c = e.window_size - e.lookahead - e.strstart, e.strstart >= G + (G - Q)) {
1735
- for (h.arraySet(e.window, e.window, G, G, 0), e.match_start -= G, e.strstart -= G, e.block_start -= G, D = N = e.hash_size; g = e.head[--D], e.head[D] = G <= g ? g - G : 0, --N; )
1734
+ if (c = e.window_size - e.lookahead - e.strstart, e.strstart >= Y + (Y - Q)) {
1735
+ for (h.arraySet(e.window, e.window, Y, Y, 0), e.match_start -= Y, e.strstart -= Y, e.block_start -= Y, D = N = e.hash_size; g = e.head[--D], e.head[D] = Y <= g ? g - Y : 0, --N; )
1736
1736
  ;
1737
- for (D = N = G; g = e.prev[--D], e.prev[D] = G <= g ? g - G : 0, --N; )
1737
+ for (D = N = Y; g = e.prev[--D], e.prev[D] = Y <= g ? g - Y : 0, --N; )
1738
1738
  ;
1739
- c += G;
1739
+ c += Y;
1740
1740
  }
1741
1741
  if (e.strm.avail_in === 0)
1742
1742
  break;
1743
- if (L = e.strm, j = e.window, z = e.strstart + e.lookahead, H = c, V = void 0, V = L.avail_in, H < V && (V = H), N = V === 0 ? 0 : (L.avail_in -= V, h.arraySet(j, L.input, L.next_in, V, z), L.state.wrap === 1 ? L.adler = u(L.adler, j, V, z) : L.state.wrap === 2 && (L.adler = w(L.adler, j, V, z)), L.next_in += V, L.total_in += V, V), e.lookahead += N, e.lookahead + e.insert >= R)
1743
+ if (L = e.strm, M = e.window, z = e.strstart + e.lookahead, H = c, V = void 0, V = L.avail_in, H < V && (V = H), N = V === 0 ? 0 : (L.avail_in -= V, h.arraySet(M, L.input, L.next_in, V, z), L.state.wrap === 1 ? L.adler = u(L.adler, M, V, z) : L.state.wrap === 2 && (L.adler = w(L.adler, M, V, z)), L.next_in += V, L.total_in += V, V), e.lookahead += N, e.lookahead + e.insert >= R)
1744
1744
  for (k = e.strstart - e.insert, e.ins_h = e.window[k], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[k + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[k + R - 1]) & e.hash_mask, e.prev[k & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = k, k++, e.insert--, !(e.lookahead + e.insert < R)); )
1745
1745
  ;
1746
1746
  } while (e.lookahead < Q && e.strm.avail_in !== 0);
1747
1747
  }
1748
- function st(e, D) {
1748
+ function it(e, D) {
1749
1749
  for (var N, g; ; ) {
1750
1750
  if (e.lookahead < Q) {
1751
- if (it(e), e.lookahead < Q && D === y)
1751
+ if (at(e), e.lookahead < Q && D === y)
1752
1752
  return r;
1753
1753
  if (e.lookahead === 0)
1754
1754
  break;
1755
1755
  }
1756
- if (N = 0, e.lookahead >= R && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), N !== 0 && e.strstart - N <= e.w_size - Q && (e.match_length = M(e, N)), e.match_length >= R)
1756
+ if (N = 0, e.lookahead >= R && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), N !== 0 && e.strstart - N <= e.w_size - Q && (e.match_length = W(e, N)), e.match_length >= R)
1757
1757
  if (g = i._tr_tally(e, e.strstart - e.match_start, e.match_length - R), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= R) {
1758
1758
  for (e.match_length--; e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart, --e.match_length != 0; )
1759
1759
  ;
@@ -1770,12 +1770,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1770
1770
  function nt(e, D) {
1771
1771
  for (var N, g, c; ; ) {
1772
1772
  if (e.lookahead < Q) {
1773
- if (it(e), e.lookahead < Q && D === y)
1773
+ if (at(e), e.lookahead < Q && D === y)
1774
1774
  return r;
1775
1775
  if (e.lookahead === 0)
1776
1776
  break;
1777
1777
  }
1778
- if (N = 0, e.lookahead >= R && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = R - 1, N !== 0 && e.prev_length < e.max_lazy_match && e.strstart - N <= e.w_size - Q && (e.match_length = M(e, N), e.match_length <= 5 && (e.strategy === 1 || e.match_length === R && 4096 < e.strstart - e.match_start) && (e.match_length = R - 1)), e.prev_length >= R && e.match_length <= e.prev_length) {
1778
+ if (N = 0, e.lookahead >= R && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = R - 1, N !== 0 && e.prev_length < e.max_lazy_match && e.strstart - N <= e.w_size - Q && (e.match_length = W(e, N), e.match_length <= 5 && (e.strategy === 1 || e.match_length === R && 4096 < e.strstart - e.match_start) && (e.match_length = R - 1)), e.prev_length >= R && e.match_length <= e.prev_length) {
1779
1779
  for (c = e.strstart + e.lookahead - R, g = i._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - R), e.lookahead -= e.prev_length - 1, e.prev_length -= 2; ++e.strstart <= c && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + R - 1]) & e.hash_mask, N = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), --e.prev_length != 0; )
1780
1780
  ;
1781
1781
  if (e.match_available = 0, e.match_length = R - 1, e.strstart++, g && (A(e, !1), e.strm.avail_out === 0))
@@ -1792,11 +1792,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1792
1792
  this.good_length = e, this.max_lazy = D, this.nice_length = N, this.max_chain = g, this.func = c;
1793
1793
  }
1794
1794
  function ct() {
1795
- this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = _, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new h.Buf16(2 * F), this.dyn_dtree = new h.Buf16(2 * (2 * C + 1)), this.bl_tree = new h.Buf16(2 * (2 * B + 1)), X(this.dyn_ltree), X(this.dyn_dtree), X(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new h.Buf16(W + 1), this.heap = new h.Buf16(2 * E + 1), X(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new h.Buf16(2 * E + 1), X(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1795
+ this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = _, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new h.Buf16(2 * F), this.dyn_dtree = new h.Buf16(2 * (2 * C + 1)), this.bl_tree = new h.Buf16(2 * (2 * B + 1)), X(this.dyn_ltree), X(this.dyn_dtree), X(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new h.Buf16(j + 1), this.heap = new h.Buf16(2 * E + 1), X(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new h.Buf16(2 * E + 1), X(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1796
1796
  }
1797
1797
  function ot(e) {
1798
1798
  var D;
1799
- return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = a, (D = e.state).pending = 0, D.pending_out = 0, D.wrap < 0 && (D.wrap = -D.wrap), D.status = D.wrap ? p : S, e.adler = D.wrap === 2 ? 0 : 1, D.last_flush = y, i._tr_init(D), o) : Y(e, m);
1799
+ return e && e.state ? (e.total_in = e.total_out = 0, e.data_type = a, (D = e.state).pending = 0, D.pending_out = 0, D.wrap < 0 && (D.wrap = -D.wrap), D.status = D.wrap ? p : S, e.adler = D.wrap === 2 ? 0 : 1, D.last_flush = y, i._tr_init(D), o) : G(e, m);
1800
1800
  }
1801
1801
  function ft(e) {
1802
1802
  var D = ot(e);
@@ -1809,16 +1809,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1809
1809
  return m;
1810
1810
  var L = 1;
1811
1811
  if (D === s && (D = 6), g < 0 ? (L = 0, g = -g) : 15 < g && (L = 2, g -= 16), c < 1 || x < c || N !== _ || g < 8 || 15 < g || D < 0 || 9 < D || k < 0 || f < k)
1812
- return Y(e, m);
1812
+ return G(e, m);
1813
1813
  g === 8 && (g = 9);
1814
- var j = new ct();
1815
- return (e.state = j).strm = e, j.wrap = L, j.gzhead = null, j.w_bits = g, j.w_size = 1 << j.w_bits, j.w_mask = j.w_size - 1, j.hash_bits = c + 7, j.hash_size = 1 << j.hash_bits, j.hash_mask = j.hash_size - 1, j.hash_shift = ~~((j.hash_bits + R - 1) / R), j.window = new h.Buf8(2 * j.w_size), j.head = new h.Buf16(j.hash_size), j.prev = new h.Buf16(j.w_size), j.lit_bufsize = 1 << c + 6, j.pending_buf_size = 4 * j.lit_bufsize, j.pending_buf = new h.Buf8(j.pending_buf_size), j.d_buf = 1 * j.lit_bufsize, j.l_buf = 3 * j.lit_bufsize, j.level = D, j.strategy = k, j.method = N, ft(e);
1814
+ var M = new ct();
1815
+ return (e.state = M).strm = e, M.wrap = L, M.gzhead = null, M.w_bits = g, M.w_size = 1 << M.w_bits, M.w_mask = M.w_size - 1, M.hash_bits = c + 7, M.hash_size = 1 << M.hash_bits, M.hash_mask = M.hash_size - 1, M.hash_shift = ~~((M.hash_bits + R - 1) / R), M.window = new h.Buf8(2 * M.w_size), M.head = new h.Buf16(M.hash_size), M.prev = new h.Buf16(M.w_size), M.lit_bufsize = 1 << c + 6, M.pending_buf_size = 4 * M.lit_bufsize, M.pending_buf = new h.Buf8(M.pending_buf_size), M.d_buf = 1 * M.lit_bufsize, M.l_buf = 3 * M.lit_bufsize, M.level = D, M.strategy = k, M.method = N, ft(e);
1816
1816
  }
1817
1817
  l = [new tt(0, 0, 0, 0, function(e, D) {
1818
1818
  var N = 65535;
1819
1819
  for (N > e.pending_buf_size - 5 && (N = e.pending_buf_size - 5); ; ) {
1820
1820
  if (e.lookahead <= 1) {
1821
- if (it(e), e.lookahead === 0 && D === y)
1821
+ if (at(e), e.lookahead === 0 && D === y)
1822
1822
  return r;
1823
1823
  if (e.lookahead === 0)
1824
1824
  break;
@@ -1829,16 +1829,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1829
1829
  return r;
1830
1830
  }
1831
1831
  return e.insert = 0, D === v ? (A(e, !0), e.strm.avail_out === 0 ? K : P) : (e.strstart > e.block_start && (A(e, !1), e.strm.avail_out), r);
1832
- }), new tt(4, 4, 8, 4, st), new tt(4, 5, 16, 8, st), new tt(4, 6, 32, 32, st), new tt(4, 4, 16, 16, nt), new tt(8, 16, 32, 32, nt), new tt(8, 16, 128, 128, nt), new tt(8, 32, 128, 256, nt), new tt(32, 128, 258, 1024, nt), new tt(32, 258, 258, 4096, nt)], d.deflateInit = function(e, D) {
1832
+ }), new tt(4, 4, 8, 4, it), new tt(4, 5, 16, 8, it), new tt(4, 6, 32, 32, it), new tt(4, 4, 16, 16, nt), new tt(8, 16, 32, 32, nt), new tt(8, 16, 128, 128, nt), new tt(8, 32, 128, 256, nt), new tt(32, 128, 258, 1024, nt), new tt(32, 258, 258, 4096, nt)], d.deflateInit = function(e, D) {
1833
1833
  return ht(e, D, _, 15, 8, 0);
1834
1834
  }, d.deflateInit2 = ht, d.deflateReset = ft, d.deflateResetKeep = ot, d.deflateSetHeader = function(e, D) {
1835
1835
  return e && e.state ? e.state.wrap !== 2 ? m : (e.state.gzhead = D, o) : m;
1836
1836
  }, d.deflate = function(e, D) {
1837
1837
  var N, g, c, k;
1838
1838
  if (!e || !e.state || 5 < D || D < 0)
1839
- return e ? Y(e, m) : m;
1839
+ return e ? G(e, m) : m;
1840
1840
  if (g = e.state, !e.output || !e.input && e.avail_in !== 0 || g.status === 666 && D !== v)
1841
- return Y(e, e.avail_out === 0 ? -5 : m);
1841
+ return G(e, e.avail_out === 0 ? -5 : m);
1842
1842
  if (g.strm = e, N = g.last_flush, g.last_flush = D, g.status === p)
1843
1843
  if (g.wrap === 2)
1844
1844
  e.adler = 0, J(g, 31), J(g, 139), J(g, 8), g.gzhead ? (J(g, (g.gzhead.text ? 1 : 0) + (g.gzhead.hcrc ? 2 : 0) + (g.gzhead.extra ? 4 : 0) + (g.gzhead.name ? 8 : 0) + (g.gzhead.comment ? 16 : 0)), J(g, 255 & g.gzhead.time), J(g, g.gzhead.time >> 8 & 255), J(g, g.gzhead.time >> 16 & 255), J(g, g.gzhead.time >> 24 & 255), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 255 & g.gzhead.os), g.gzhead.extra && g.gzhead.extra.length && (J(g, 255 & g.gzhead.extra.length), J(g, g.gzhead.extra.length >> 8 & 255)), g.gzhead.hcrc && (e.adler = w(e.adler, g.pending_buf, g.pending, 0)), g.gzindex = 0, g.status = 69) : (J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, 0), J(g, g.level === 9 ? 2 : 2 <= g.strategy || g.level < 2 ? 4 : 0), J(g, 3), g.status = S);
@@ -1883,13 +1883,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1883
1883
  if (O(e), e.avail_out === 0)
1884
1884
  return g.last_flush = -1, o;
1885
1885
  } else if (e.avail_in === 0 && U(D) <= U(N) && D !== v)
1886
- return Y(e, -5);
1886
+ return G(e, -5);
1887
1887
  if (g.status === 666 && e.avail_in !== 0)
1888
- return Y(e, -5);
1888
+ return G(e, -5);
1889
1889
  if (e.avail_in !== 0 || g.lookahead !== 0 || D !== y && g.status !== 666) {
1890
- var j = g.strategy === 2 ? function(z, H) {
1890
+ var M = g.strategy === 2 ? function(z, H) {
1891
1891
  for (var V; ; ) {
1892
- if (z.lookahead === 0 && (it(z), z.lookahead === 0)) {
1892
+ if (z.lookahead === 0 && (at(z), z.lookahead === 0)) {
1893
1893
  if (H === y)
1894
1894
  return r;
1895
1895
  break;
@@ -1899,18 +1899,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1899
1899
  }
1900
1900
  return z.insert = 0, H === v ? (A(z, !0), z.strm.avail_out === 0 ? K : P) : z.last_lit && (A(z, !1), z.strm.avail_out === 0) ? r : T;
1901
1901
  }(g, D) : g.strategy === 3 ? function(z, H) {
1902
- for (var V, G, et, lt, at = z.window; ; ) {
1902
+ for (var V, Y, et, lt, st = z.window; ; ) {
1903
1903
  if (z.lookahead <= q) {
1904
- if (it(z), z.lookahead <= q && H === y)
1904
+ if (at(z), z.lookahead <= q && H === y)
1905
1905
  return r;
1906
1906
  if (z.lookahead === 0)
1907
1907
  break;
1908
1908
  }
1909
- if (z.match_length = 0, z.lookahead >= R && 0 < z.strstart && (G = at[et = z.strstart - 1]) === at[++et] && G === at[++et] && G === at[++et]) {
1909
+ if (z.match_length = 0, z.lookahead >= R && 0 < z.strstart && (Y = st[et = z.strstart - 1]) === st[++et] && Y === st[++et] && Y === st[++et]) {
1910
1910
  lt = z.strstart + q;
1911
1911
  do
1912
1912
  ;
1913
- while (G === at[++et] && G === at[++et] && G === at[++et] && G === at[++et] && G === at[++et] && G === at[++et] && G === at[++et] && G === at[++et] && et < lt);
1913
+ while (Y === st[++et] && Y === st[++et] && Y === st[++et] && Y === st[++et] && Y === st[++et] && Y === st[++et] && Y === st[++et] && Y === st[++et] && et < lt);
1914
1914
  z.match_length = q - (lt - et), z.match_length > z.lookahead && (z.match_length = z.lookahead);
1915
1915
  }
1916
1916
  if (z.match_length >= R ? (V = i._tr_tally(z, 1, z.match_length - R), z.lookahead -= z.match_length, z.strstart += z.match_length, z.match_length = 0) : (V = i._tr_tally(z, 0, z.window[z.strstart]), z.lookahead--, z.strstart++), V && (A(z, !1), z.strm.avail_out === 0))
@@ -1918,25 +1918,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1918
1918
  }
1919
1919
  return z.insert = 0, H === v ? (A(z, !0), z.strm.avail_out === 0 ? K : P) : z.last_lit && (A(z, !1), z.strm.avail_out === 0) ? r : T;
1920
1920
  }(g, D) : l[g.level].func(g, D);
1921
- if (j !== K && j !== P || (g.status = 666), j === r || j === K)
1921
+ if (M !== K && M !== P || (g.status = 666), M === r || M === K)
1922
1922
  return e.avail_out === 0 && (g.last_flush = -1), o;
1923
- if (j === T && (D === 1 ? i._tr_align(g) : D !== 5 && (i._tr_stored_block(g, 0, 0, !1), D === 3 && (X(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), O(e), e.avail_out === 0))
1923
+ if (M === T && (D === 1 ? i._tr_align(g) : D !== 5 && (i._tr_stored_block(g, 0, 0, !1), D === 3 && (X(g.head), g.lookahead === 0 && (g.strstart = 0, g.block_start = 0, g.insert = 0))), O(e), e.avail_out === 0))
1924
1924
  return g.last_flush = -1, o;
1925
1925
  }
1926
1926
  return D !== v ? o : g.wrap <= 0 ? 1 : (g.wrap === 2 ? (J(g, 255 & e.adler), J(g, e.adler >> 8 & 255), J(g, e.adler >> 16 & 255), J(g, e.adler >> 24 & 255), J(g, 255 & e.total_in), J(g, e.total_in >> 8 & 255), J(g, e.total_in >> 16 & 255), J(g, e.total_in >> 24 & 255)) : (Z(g, e.adler >>> 16), Z(g, 65535 & e.adler)), O(e), 0 < g.wrap && (g.wrap = -g.wrap), g.pending !== 0 ? o : 1);
1927
1927
  }, d.deflateEnd = function(e) {
1928
1928
  var D;
1929
- return e && e.state ? (D = e.state.status) !== p && D !== 69 && D !== 73 && D !== 91 && D !== 103 && D !== S && D !== 666 ? Y(e, m) : (e.state = null, D === S ? Y(e, -3) : o) : m;
1929
+ return e && e.state ? (D = e.state.status) !== p && D !== 69 && D !== 73 && D !== 91 && D !== 103 && D !== S && D !== 666 ? G(e, m) : (e.state = null, D === S ? G(e, -3) : o) : m;
1930
1930
  }, d.deflateSetDictionary = function(e, D) {
1931
- var N, g, c, k, L, j, z, H, V = D.length;
1931
+ var N, g, c, k, L, M, z, H, V = D.length;
1932
1932
  if (!e || !e.state || (k = (N = e.state).wrap) === 2 || k === 1 && N.status !== p || N.lookahead)
1933
1933
  return m;
1934
- for (k === 1 && (e.adler = u(e.adler, D, V, 0)), N.wrap = 0, V >= N.w_size && (k === 0 && (X(N.head), N.strstart = 0, N.block_start = 0, N.insert = 0), H = new h.Buf8(N.w_size), h.arraySet(H, D, V - N.w_size, N.w_size, 0), D = H, V = N.w_size), L = e.avail_in, j = e.next_in, z = e.input, e.avail_in = V, e.next_in = 0, e.input = D, it(N); N.lookahead >= R; ) {
1934
+ for (k === 1 && (e.adler = u(e.adler, D, V, 0)), N.wrap = 0, V >= N.w_size && (k === 0 && (X(N.head), N.strstart = 0, N.block_start = 0, N.insert = 0), H = new h.Buf8(N.w_size), h.arraySet(H, D, V - N.w_size, N.w_size, 0), D = H, V = N.w_size), L = e.avail_in, M = e.next_in, z = e.input, e.avail_in = V, e.next_in = 0, e.input = D, at(N); N.lookahead >= R; ) {
1935
1935
  for (g = N.strstart, c = N.lookahead - (R - 1); N.ins_h = (N.ins_h << N.hash_shift ^ N.window[g + R - 1]) & N.hash_mask, N.prev[g & N.w_mask] = N.head[N.ins_h], N.head[N.ins_h] = g, g++, --c; )
1936
1936
  ;
1937
- N.strstart = g, N.lookahead = R - 1, it(N);
1937
+ N.strstart = g, N.lookahead = R - 1, at(N);
1938
1938
  }
1939
- return N.strstart += N.lookahead, N.block_start = N.strstart, N.insert = N.lookahead, N.lookahead = 0, N.match_length = N.prev_length = R - 1, N.match_available = 0, e.next_in = j, e.input = z, e.avail_in = L, N.wrap = k, o;
1939
+ return N.strstart += N.lookahead, N.block_start = N.strstart, N.insert = N.lookahead, N.lookahead = 0, N.match_length = N.prev_length = R - 1, N.match_available = 0, e.next_in = M, e.input = z, e.avail_in = L, N.wrap = k, o;
1940
1940
  }, d.deflateInfo = "pako deflate (from Nodeca project)";
1941
1941
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(n, I, d) {
1942
1942
  I.exports = function() {
@@ -1944,19 +1944,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1944
1944
  };
1945
1945
  }, {}], 48: [function(n, I, d) {
1946
1946
  I.exports = function(l, h) {
1947
- var i, u, w, b, y, v, o, m, s, f, a, _, x, E, C, B, F, W, R, q, Q, p, S, r, T;
1947
+ var i, u, w, b, y, v, o, m, s, f, a, _, x, E, C, B, F, j, R, q, Q, p, S, r, T;
1948
1948
  i = l.state, u = l.next_in, r = l.input, w = u + (l.avail_in - 5), b = l.next_out, T = l.output, y = b - (h - l.avail_out), v = b + (l.avail_out - 257), o = i.dmax, m = i.wsize, s = i.whave, f = i.wnext, a = i.window, _ = i.hold, x = i.bits, E = i.lencode, C = i.distcode, B = (1 << i.lenbits) - 1, F = (1 << i.distbits) - 1;
1949
1949
  t:
1950
1950
  do {
1951
- x < 15 && (_ += r[u++] << x, x += 8, _ += r[u++] << x, x += 8), W = E[_ & B];
1951
+ x < 15 && (_ += r[u++] << x, x += 8, _ += r[u++] << x, x += 8), j = E[_ & B];
1952
1952
  e:
1953
1953
  for (; ; ) {
1954
- if (_ >>>= R = W >>> 24, x -= R, (R = W >>> 16 & 255) === 0)
1955
- T[b++] = 65535 & W;
1954
+ if (_ >>>= R = j >>> 24, x -= R, (R = j >>> 16 & 255) === 0)
1955
+ T[b++] = 65535 & j;
1956
1956
  else {
1957
1957
  if (!(16 & R)) {
1958
1958
  if (!(64 & R)) {
1959
- W = E[(65535 & W) + (_ & (1 << R) - 1)];
1959
+ j = E[(65535 & j) + (_ & (1 << R) - 1)];
1960
1960
  continue e;
1961
1961
  }
1962
1962
  if (32 & R) {
@@ -1966,18 +1966,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1966
1966
  l.msg = "invalid literal/length code", i.mode = 30;
1967
1967
  break t;
1968
1968
  }
1969
- q = 65535 & W, (R &= 15) && (x < R && (_ += r[u++] << x, x += 8), q += _ & (1 << R) - 1, _ >>>= R, x -= R), x < 15 && (_ += r[u++] << x, x += 8, _ += r[u++] << x, x += 8), W = C[_ & F];
1969
+ q = 65535 & j, (R &= 15) && (x < R && (_ += r[u++] << x, x += 8), q += _ & (1 << R) - 1, _ >>>= R, x -= R), x < 15 && (_ += r[u++] << x, x += 8, _ += r[u++] << x, x += 8), j = C[_ & F];
1970
1970
  r:
1971
1971
  for (; ; ) {
1972
- if (_ >>>= R = W >>> 24, x -= R, !(16 & (R = W >>> 16 & 255))) {
1972
+ if (_ >>>= R = j >>> 24, x -= R, !(16 & (R = j >>> 16 & 255))) {
1973
1973
  if (!(64 & R)) {
1974
- W = C[(65535 & W) + (_ & (1 << R) - 1)];
1974
+ j = C[(65535 & j) + (_ & (1 << R) - 1)];
1975
1975
  continue r;
1976
1976
  }
1977
1977
  l.msg = "invalid distance code", i.mode = 30;
1978
1978
  break t;
1979
1979
  }
1980
- if (Q = 65535 & W, x < (R &= 15) && (_ += r[u++] << x, (x += 8) < R && (_ += r[u++] << x, x += 8)), o < (Q += _ & (1 << R) - 1)) {
1980
+ if (Q = 65535 & j, x < (R &= 15) && (_ += r[u++] << x, (x += 8) < R && (_ += r[u++] << x, x += 8)), o < (Q += _ & (1 << R) - 1)) {
1981
1981
  l.msg = "invalid distance too far back", i.mode = 30;
1982
1982
  break t;
1983
1983
  }
@@ -2047,11 +2047,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2047
2047
  var r, T;
2048
2048
  return p ? (T = new _(), (p.state = T).window = null, (r = C(p, S)) !== v && (p.state = null), r) : o;
2049
2049
  }
2050
- var F, W, R = !0;
2050
+ var F, j, R = !0;
2051
2051
  function q(p) {
2052
2052
  if (R) {
2053
2053
  var S;
2054
- for (F = new l.Buf32(512), W = new l.Buf32(32), S = 0; S < 144; )
2054
+ for (F = new l.Buf32(512), j = new l.Buf32(32), S = 0; S < 144; )
2055
2055
  p.lens[S++] = 8;
2056
2056
  for (; S < 256; )
2057
2057
  p.lens[S++] = 9;
@@ -2061,9 +2061,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2061
2061
  p.lens[S++] = 8;
2062
2062
  for (w(b, p.lens, 0, 288, F, 0, p.work, { bits: 9 }), S = 0; S < 32; )
2063
2063
  p.lens[S++] = 5;
2064
- w(y, p.lens, 0, 32, W, 0, p.work, { bits: 5 }), R = !1;
2064
+ w(y, p.lens, 0, 32, j, 0, p.work, { bits: 5 }), R = !1;
2065
2065
  }
2066
- p.lencode = F, p.lenbits = 9, p.distcode = W, p.distbits = 5;
2066
+ p.lencode = F, p.lenbits = 9, p.distcode = j, p.distbits = 5;
2067
2067
  }
2068
2068
  function Q(p, S, r, T) {
2069
2069
  var K, P = p.state;
@@ -2072,10 +2072,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2072
2072
  d.inflateReset = E, d.inflateReset2 = C, d.inflateResetKeep = x, d.inflateInit = function(p) {
2073
2073
  return B(p, 15);
2074
2074
  }, d.inflateInit2 = B, d.inflate = function(p, S) {
2075
- var r, T, K, P, Y, U, X, O, A, J, Z, M, it, st, nt, tt, ct, ot, ft, ht, e, D, N, g, c = 0, k = new l.Buf8(4), L = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
2075
+ var r, T, K, P, G, U, X, O, A, J, Z, W, at, it, nt, tt, ct, ot, ft, ht, e, D, N, g, c = 0, k = new l.Buf8(4), L = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
2076
2076
  if (!p || !p.state || !p.output || !p.input && p.avail_in !== 0)
2077
2077
  return o;
2078
- (r = p.state).mode === 12 && (r.mode = 13), Y = p.next_out, K = p.output, X = p.avail_out, P = p.next_in, T = p.input, U = p.avail_in, O = r.hold, A = r.bits, J = U, Z = X, D = v;
2078
+ (r = p.state).mode === 12 && (r.mode = 13), G = p.next_out, K = p.output, X = p.avail_out, P = p.next_in, T = p.input, U = p.avail_in, O = r.hold, A = r.bits, J = U, Z = X, D = v;
2079
2079
  t:
2080
2080
  for (; ; )
2081
2081
  switch (r.mode) {
@@ -2150,16 +2150,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2150
2150
  r.head && (r.head.extra = null);
2151
2151
  r.mode = 6;
2152
2152
  case 6:
2153
- if (1024 & r.flags && (U < (M = r.length) && (M = U), M && (r.head && (e = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), l.arraySet(r.head.extra, T, P, M, e)), 512 & r.flags && (r.check = i(r.check, T, M, P)), U -= M, P += M, r.length -= M), r.length))
2153
+ if (1024 & r.flags && (U < (W = r.length) && (W = U), W && (r.head && (e = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), l.arraySet(r.head.extra, T, P, W, e)), 512 & r.flags && (r.check = i(r.check, T, W, P)), U -= W, P += W, r.length -= W), r.length))
2154
2154
  break t;
2155
2155
  r.length = 0, r.mode = 7;
2156
2156
  case 7:
2157
2157
  if (2048 & r.flags) {
2158
2158
  if (U === 0)
2159
2159
  break t;
2160
- for (M = 0; e = T[P + M++], r.head && e && r.length < 65536 && (r.head.name += String.fromCharCode(e)), e && M < U; )
2160
+ for (W = 0; e = T[P + W++], r.head && e && r.length < 65536 && (r.head.name += String.fromCharCode(e)), e && W < U; )
2161
2161
  ;
2162
- if (512 & r.flags && (r.check = i(r.check, T, M, P)), U -= M, P += M, e)
2162
+ if (512 & r.flags && (r.check = i(r.check, T, W, P)), U -= W, P += W, e)
2163
2163
  break t;
2164
2164
  } else
2165
2165
  r.head && (r.head.name = null);
@@ -2168,9 +2168,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2168
2168
  if (4096 & r.flags) {
2169
2169
  if (U === 0)
2170
2170
  break t;
2171
- for (M = 0; e = T[P + M++], r.head && e && r.length < 65536 && (r.head.comment += String.fromCharCode(e)), e && M < U; )
2171
+ for (W = 0; e = T[P + W++], r.head && e && r.length < 65536 && (r.head.comment += String.fromCharCode(e)), e && W < U; )
2172
2172
  ;
2173
- if (512 & r.flags && (r.check = i(r.check, T, M, P)), U -= M, P += M, e)
2173
+ if (512 & r.flags && (r.check = i(r.check, T, W, P)), U -= W, P += W, e)
2174
2174
  break t;
2175
2175
  } else
2176
2176
  r.head && (r.head.comment = null);
@@ -2199,7 +2199,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2199
2199
  p.adler = r.check = a(O), A = O = 0, r.mode = 11;
2200
2200
  case 11:
2201
2201
  if (r.havedict === 0)
2202
- return p.next_out = Y, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, 2;
2202
+ return p.next_out = G, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, 2;
2203
2203
  p.adler = r.check = 1, r.mode = 12;
2204
2204
  case 12:
2205
2205
  if (S === 5 || S === 6)
@@ -2246,10 +2246,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2246
2246
  case 15:
2247
2247
  r.mode = 16;
2248
2248
  case 16:
2249
- if (M = r.length) {
2250
- if (U < M && (M = U), X < M && (M = X), M === 0)
2249
+ if (W = r.length) {
2250
+ if (U < W && (W = U), X < W && (W = X), W === 0)
2251
2251
  break t;
2252
- l.arraySet(K, T, P, M, Y), U -= M, P += M, X -= M, Y += M, r.length -= M;
2252
+ l.arraySet(K, T, P, W, G), U -= W, P += W, X -= W, G += W, r.length -= W;
2253
2253
  break;
2254
2254
  }
2255
2255
  r.mode = 12;
@@ -2301,27 +2301,27 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2301
2301
  p.msg = "invalid bit length repeat", r.mode = 30;
2302
2302
  break;
2303
2303
  }
2304
- e = r.lens[r.have - 1], M = 3 + (3 & O), O >>>= 2, A -= 2;
2304
+ e = r.lens[r.have - 1], W = 3 + (3 & O), O >>>= 2, A -= 2;
2305
2305
  } else if (ct === 17) {
2306
2306
  for (g = nt + 3; A < g; ) {
2307
2307
  if (U === 0)
2308
2308
  break t;
2309
2309
  U--, O += T[P++] << A, A += 8;
2310
2310
  }
2311
- A -= nt, e = 0, M = 3 + (7 & (O >>>= nt)), O >>>= 3, A -= 3;
2311
+ A -= nt, e = 0, W = 3 + (7 & (O >>>= nt)), O >>>= 3, A -= 3;
2312
2312
  } else {
2313
2313
  for (g = nt + 7; A < g; ) {
2314
2314
  if (U === 0)
2315
2315
  break t;
2316
2316
  U--, O += T[P++] << A, A += 8;
2317
2317
  }
2318
- A -= nt, e = 0, M = 11 + (127 & (O >>>= nt)), O >>>= 7, A -= 7;
2318
+ A -= nt, e = 0, W = 11 + (127 & (O >>>= nt)), O >>>= 7, A -= 7;
2319
2319
  }
2320
- if (r.have + M > r.nlen + r.ndist) {
2320
+ if (r.have + W > r.nlen + r.ndist) {
2321
2321
  p.msg = "invalid bit length repeat", r.mode = 30;
2322
2322
  break;
2323
2323
  }
2324
- for (; M--; )
2324
+ for (; W--; )
2325
2325
  r.lens[r.have++] = e;
2326
2326
  }
2327
2327
  }
@@ -2345,7 +2345,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2345
2345
  r.mode = 21;
2346
2346
  case 21:
2347
2347
  if (6 <= U && 258 <= X) {
2348
- p.next_out = Y, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, u(p, Z), Y = p.next_out, K = p.output, X = p.avail_out, P = p.next_in, T = p.input, U = p.avail_in, O = r.hold, A = r.bits, r.mode === 12 && (r.back = -1);
2348
+ p.next_out = G, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, u(p, Z), G = p.next_out, K = p.output, X = p.avail_out, P = p.next_in, T = p.input, U = p.avail_in, O = r.hold, A = r.bits, r.mode === 12 && (r.back = -1);
2349
2349
  break;
2350
2350
  }
2351
2351
  for (r.back = 0; tt = (c = r.lencode[O & (1 << r.lenbits) - 1]) >>> 16 & 255, ct = 65535 & c, !((nt = c >>> 24) <= A); ) {
@@ -2420,22 +2420,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2420
2420
  case 25:
2421
2421
  if (X === 0)
2422
2422
  break t;
2423
- if (M = Z - X, r.offset > M) {
2424
- if ((M = r.offset - M) > r.whave && r.sane) {
2423
+ if (W = Z - X, r.offset > W) {
2424
+ if ((W = r.offset - W) > r.whave && r.sane) {
2425
2425
  p.msg = "invalid distance too far back", r.mode = 30;
2426
2426
  break;
2427
2427
  }
2428
- it = M > r.wnext ? (M -= r.wnext, r.wsize - M) : r.wnext - M, M > r.length && (M = r.length), st = r.window;
2428
+ at = W > r.wnext ? (W -= r.wnext, r.wsize - W) : r.wnext - W, W > r.length && (W = r.length), it = r.window;
2429
2429
  } else
2430
- st = K, it = Y - r.offset, M = r.length;
2431
- for (X < M && (M = X), X -= M, r.length -= M; K[Y++] = st[it++], --M; )
2430
+ it = K, at = G - r.offset, W = r.length;
2431
+ for (X < W && (W = X), X -= W, r.length -= W; K[G++] = it[at++], --W; )
2432
2432
  ;
2433
2433
  r.length === 0 && (r.mode = 21);
2434
2434
  break;
2435
2435
  case 26:
2436
2436
  if (X === 0)
2437
2437
  break t;
2438
- K[Y++] = r.length, X--, r.mode = 21;
2438
+ K[G++] = r.length, X--, r.mode = 21;
2439
2439
  break;
2440
2440
  case 27:
2441
2441
  if (r.wrap) {
@@ -2444,7 +2444,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2444
2444
  break t;
2445
2445
  U--, O |= T[P++] << A, A += 8;
2446
2446
  }
2447
- if (Z -= X, p.total_out += Z, r.total += Z, Z && (p.adler = r.check = r.flags ? i(r.check, K, Z, Y - Z) : h(r.check, K, Z, Y - Z)), Z = X, (r.flags ? O : a(O)) !== r.check) {
2447
+ if (Z -= X, p.total_out += Z, r.total += Z, Z && (p.adler = r.check = r.flags ? i(r.check, K, Z, G - Z) : h(r.check, K, Z, G - Z)), Z = X, (r.flags ? O : a(O)) !== r.check) {
2448
2448
  p.msg = "incorrect data check", r.mode = 30;
2449
2449
  break;
2450
2450
  }
@@ -2477,7 +2477,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2477
2477
  default:
2478
2478
  return o;
2479
2479
  }
2480
- return p.next_out = Y, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, (r.wsize || Z !== p.avail_out && r.mode < 30 && (r.mode < 27 || S !== 4)) && Q(p, p.output, p.next_out, Z - p.avail_out) ? (r.mode = 31, -4) : (J -= p.avail_in, Z -= p.avail_out, p.total_in += J, p.total_out += Z, r.total += Z, r.wrap && Z && (p.adler = r.check = r.flags ? i(r.check, K, Z, p.next_out - Z) : h(r.check, K, Z, p.next_out - Z)), p.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === 12 ? 128 : 0) + (r.mode === 20 || r.mode === 15 ? 256 : 0), (J == 0 && Z === 0 || S === 4) && D === v && (D = -5), D);
2480
+ return p.next_out = G, p.avail_out = X, p.next_in = P, p.avail_in = U, r.hold = O, r.bits = A, (r.wsize || Z !== p.avail_out && r.mode < 30 && (r.mode < 27 || S !== 4)) && Q(p, p.output, p.next_out, Z - p.avail_out) ? (r.mode = 31, -4) : (J -= p.avail_in, Z -= p.avail_out, p.total_in += J, p.total_out += Z, r.total += Z, r.wrap && Z && (p.adler = r.check = r.flags ? i(r.check, K, Z, p.next_out - Z) : h(r.check, K, Z, p.next_out - Z)), p.data_type = r.bits + (r.last ? 64 : 0) + (r.mode === 12 ? 128 : 0) + (r.mode === 20 || r.mode === 15 ? 256 : 0), (J == 0 && Z === 0 || S === 4) && D === v && (D = -5), D);
2481
2481
  }, d.inflateEnd = function(p) {
2482
2482
  if (!p || !p.state)
2483
2483
  return o;
@@ -2493,7 +2493,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2493
2493
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, I, d) {
2494
2494
  var l = n("../utils/common"), h = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], i = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], u = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], w = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
2495
2495
  I.exports = function(b, y, v, o, m, s, f, a) {
2496
- var _, x, E, C, B, F, W, R, q, Q = a.bits, p = 0, S = 0, r = 0, T = 0, K = 0, P = 0, Y = 0, U = 0, X = 0, O = 0, A = null, J = 0, Z = new l.Buf16(16), M = new l.Buf16(16), it = null, st = 0;
2496
+ var _, x, E, C, B, F, j, R, q, Q = a.bits, p = 0, S = 0, r = 0, T = 0, K = 0, P = 0, G = 0, U = 0, X = 0, O = 0, A = null, J = 0, Z = new l.Buf16(16), W = new l.Buf16(16), at = null, it = 0;
2497
2497
  for (p = 0; p <= 15; p++)
2498
2498
  Z[p] = 0;
2499
2499
  for (S = 0; S < o; S++)
@@ -2509,14 +2509,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2509
2509
  return -1;
2510
2510
  if (0 < U && (b === 0 || T !== 1))
2511
2511
  return -1;
2512
- for (M[1] = 0, p = 1; p < 15; p++)
2513
- M[p + 1] = M[p] + Z[p];
2512
+ for (W[1] = 0, p = 1; p < 15; p++)
2513
+ W[p + 1] = W[p] + Z[p];
2514
2514
  for (S = 0; S < o; S++)
2515
- y[v + S] !== 0 && (f[M[y[v + S]]++] = S);
2516
- if (F = b === 0 ? (A = it = f, 19) : b === 1 ? (A = h, J -= 257, it = i, st -= 257, 256) : (A = u, it = w, -1), p = r, B = s, Y = S = O = 0, E = -1, C = (X = 1 << (P = K)) - 1, b === 1 && 852 < X || b === 2 && 592 < X)
2515
+ y[v + S] !== 0 && (f[W[y[v + S]]++] = S);
2516
+ if (F = b === 0 ? (A = at = f, 19) : b === 1 ? (A = h, J -= 257, at = i, it -= 257, 256) : (A = u, at = w, -1), p = r, B = s, G = S = O = 0, E = -1, C = (X = 1 << (P = K)) - 1, b === 1 && 852 < X || b === 2 && 592 < X)
2517
2517
  return 1;
2518
2518
  for (; ; ) {
2519
- for (W = p - Y, q = f[S] < F ? (R = 0, f[S]) : f[S] > F ? (R = it[st + f[S]], A[J + f[S]]) : (R = 96, 0), _ = 1 << p - Y, r = x = 1 << P; m[B + (O >> Y) + (x -= _)] = W << 24 | R << 16 | q | 0, x !== 0; )
2519
+ for (j = p - G, q = f[S] < F ? (R = 0, f[S]) : f[S] > F ? (R = at[it + f[S]], A[J + f[S]]) : (R = 96, 0), _ = 1 << p - G, r = x = 1 << P; m[B + (O >> G) + (x -= _)] = j << 24 | R << 16 | q | 0, x !== 0; )
2520
2520
  ;
2521
2521
  for (_ = 1 << p - 1; O & _; )
2522
2522
  _ >>= 1;
@@ -2526,14 +2526,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2526
2526
  p = y[v + f[S]];
2527
2527
  }
2528
2528
  if (K < p && (O & C) !== E) {
2529
- for (Y === 0 && (Y = K), B += r, U = 1 << (P = p - Y); P + Y < T && !((U -= Z[P + Y]) <= 0); )
2529
+ for (G === 0 && (G = K), B += r, U = 1 << (P = p - G); P + G < T && !((U -= Z[P + G]) <= 0); )
2530
2530
  P++, U <<= 1;
2531
2531
  if (X += 1 << P, b === 1 && 852 < X || b === 2 && 592 < X)
2532
2532
  return 1;
2533
2533
  m[E = O & C] = K << 24 | P << 16 | B - s | 0;
2534
2534
  }
2535
2535
  }
2536
- return O !== 0 && (m[B + O] = p - Y << 24 | 64 << 16 | 0), a.bits = K, 0;
2536
+ return O !== 0 && (m[B + O] = p - G << 24 | 64 << 16 | 0), a.bits = K, 0;
2537
2537
  };
2538
2538
  }, { "../utils/common": 41 }], 51: [function(n, I, d) {
2539
2539
  I.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
@@ -2543,7 +2543,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2543
2543
  for (var k = c.length; 0 <= --k; )
2544
2544
  c[k] = 0;
2545
2545
  }
2546
- var w = 0, b = 29, y = 256, v = y + 1 + b, o = 30, m = 19, s = 2 * v + 1, f = 15, a = 16, _ = 7, x = 256, E = 16, C = 17, B = 18, F = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], W = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], R = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], q = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (v + 2));
2546
+ var w = 0, b = 29, y = 256, v = y + 1 + b, o = 30, m = 19, s = 2 * v + 1, f = 15, a = 16, _ = 7, x = 256, E = 16, C = 17, B = 18, F = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], j = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], R = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], q = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (v + 2));
2547
2547
  u(Q);
2548
2548
  var p = new Array(2 * o);
2549
2549
  u(p);
@@ -2553,9 +2553,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2553
2553
  u(r);
2554
2554
  var T = new Array(b);
2555
2555
  u(T);
2556
- var K, P, Y, U = new Array(o);
2557
- function X(c, k, L, j, z) {
2558
- this.static_tree = c, this.extra_bits = k, this.extra_base = L, this.elems = j, this.max_length = z, this.has_stree = c && c.length;
2556
+ var K, P, G, U = new Array(o);
2557
+ function X(c, k, L, M, z) {
2558
+ this.static_tree = c, this.extra_bits = k, this.extra_base = L, this.elems = M, this.max_length = z, this.has_stree = c && c.length;
2559
2559
  }
2560
2560
  function O(c, k) {
2561
2561
  this.dyn_tree = c, this.max_code = 0, this.stat_desc = k;
@@ -2569,21 +2569,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2569
2569
  function Z(c, k, L) {
2570
2570
  c.bi_valid > a - L ? (c.bi_buf |= k << c.bi_valid & 65535, J(c, c.bi_buf), c.bi_buf = k >> a - c.bi_valid, c.bi_valid += L - a) : (c.bi_buf |= k << c.bi_valid & 65535, c.bi_valid += L);
2571
2571
  }
2572
- function M(c, k, L) {
2572
+ function W(c, k, L) {
2573
2573
  Z(c, L[2 * k], L[2 * k + 1]);
2574
2574
  }
2575
- function it(c, k) {
2575
+ function at(c, k) {
2576
2576
  for (var L = 0; L |= 1 & c, c >>>= 1, L <<= 1, 0 < --k; )
2577
2577
  ;
2578
2578
  return L >>> 1;
2579
2579
  }
2580
- function st(c, k, L) {
2581
- var j, z, H = new Array(f + 1), V = 0;
2582
- for (j = 1; j <= f; j++)
2583
- H[j] = V = V + L[j - 1] << 1;
2580
+ function it(c, k, L) {
2581
+ var M, z, H = new Array(f + 1), V = 0;
2582
+ for (M = 1; M <= f; M++)
2583
+ H[M] = V = V + L[M - 1] << 1;
2584
2584
  for (z = 0; z <= k; z++) {
2585
- var G = c[2 * z + 1];
2586
- G !== 0 && (c[2 * z] = it(H[G]++, G));
2585
+ var Y = c[2 * z + 1];
2586
+ Y !== 0 && (c[2 * z] = at(H[Y]++, Y));
2587
2587
  }
2588
2588
  }
2589
2589
  function nt(c) {
@@ -2599,85 +2599,85 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2599
2599
  function tt(c) {
2600
2600
  8 < c.bi_valid ? J(c, c.bi_buf) : 0 < c.bi_valid && (c.pending_buf[c.pending++] = c.bi_buf), c.bi_buf = 0, c.bi_valid = 0;
2601
2601
  }
2602
- function ct(c, k, L, j) {
2602
+ function ct(c, k, L, M) {
2603
2603
  var z = 2 * k, H = 2 * L;
2604
- return c[z] < c[H] || c[z] === c[H] && j[k] <= j[L];
2604
+ return c[z] < c[H] || c[z] === c[H] && M[k] <= M[L];
2605
2605
  }
2606
2606
  function ot(c, k, L) {
2607
- for (var j = c.heap[L], z = L << 1; z <= c.heap_len && (z < c.heap_len && ct(k, c.heap[z + 1], c.heap[z], c.depth) && z++, !ct(k, j, c.heap[z], c.depth)); )
2607
+ for (var M = c.heap[L], z = L << 1; z <= c.heap_len && (z < c.heap_len && ct(k, c.heap[z + 1], c.heap[z], c.depth) && z++, !ct(k, M, c.heap[z], c.depth)); )
2608
2608
  c.heap[L] = c.heap[z], L = z, z <<= 1;
2609
- c.heap[L] = j;
2609
+ c.heap[L] = M;
2610
2610
  }
2611
2611
  function ft(c, k, L) {
2612
- var j, z, H, V, G = 0;
2612
+ var M, z, H, V, Y = 0;
2613
2613
  if (c.last_lit !== 0)
2614
- for (; j = c.pending_buf[c.d_buf + 2 * G] << 8 | c.pending_buf[c.d_buf + 2 * G + 1], z = c.pending_buf[c.l_buf + G], G++, j === 0 ? M(c, z, k) : (M(c, (H = r[z]) + y + 1, k), (V = F[H]) !== 0 && Z(c, z -= T[H], V), M(c, H = A(--j), L), (V = W[H]) !== 0 && Z(c, j -= U[H], V)), G < c.last_lit; )
2614
+ for (; M = c.pending_buf[c.d_buf + 2 * Y] << 8 | c.pending_buf[c.d_buf + 2 * Y + 1], z = c.pending_buf[c.l_buf + Y], Y++, M === 0 ? W(c, z, k) : (W(c, (H = r[z]) + y + 1, k), (V = F[H]) !== 0 && Z(c, z -= T[H], V), W(c, H = A(--M), L), (V = j[H]) !== 0 && Z(c, M -= U[H], V)), Y < c.last_lit; )
2615
2615
  ;
2616
- M(c, x, k);
2616
+ W(c, x, k);
2617
2617
  }
2618
2618
  function ht(c, k) {
2619
- var L, j, z, H = k.dyn_tree, V = k.stat_desc.static_tree, G = k.stat_desc.has_stree, et = k.stat_desc.elems, lt = -1;
2619
+ var L, M, z, H = k.dyn_tree, V = k.stat_desc.static_tree, Y = k.stat_desc.has_stree, et = k.stat_desc.elems, lt = -1;
2620
2620
  for (c.heap_len = 0, c.heap_max = s, L = 0; L < et; L++)
2621
2621
  H[2 * L] !== 0 ? (c.heap[++c.heap_len] = lt = L, c.depth[L] = 0) : H[2 * L + 1] = 0;
2622
2622
  for (; c.heap_len < 2; )
2623
- H[2 * (z = c.heap[++c.heap_len] = lt < 2 ? ++lt : 0)] = 1, c.depth[z] = 0, c.opt_len--, G && (c.static_len -= V[2 * z + 1]);
2623
+ H[2 * (z = c.heap[++c.heap_len] = lt < 2 ? ++lt : 0)] = 1, c.depth[z] = 0, c.opt_len--, Y && (c.static_len -= V[2 * z + 1]);
2624
2624
  for (k.max_code = lt, L = c.heap_len >> 1; 1 <= L; L--)
2625
2625
  ot(c, H, L);
2626
- for (z = et; L = c.heap[1], c.heap[1] = c.heap[c.heap_len--], ot(c, H, 1), j = c.heap[1], c.heap[--c.heap_max] = L, c.heap[--c.heap_max] = j, H[2 * z] = H[2 * L] + H[2 * j], c.depth[z] = (c.depth[L] >= c.depth[j] ? c.depth[L] : c.depth[j]) + 1, H[2 * L + 1] = H[2 * j + 1] = z, c.heap[1] = z++, ot(c, H, 1), 2 <= c.heap_len; )
2626
+ for (z = et; L = c.heap[1], c.heap[1] = c.heap[c.heap_len--], ot(c, H, 1), M = c.heap[1], c.heap[--c.heap_max] = L, c.heap[--c.heap_max] = M, H[2 * z] = H[2 * L] + H[2 * M], c.depth[z] = (c.depth[L] >= c.depth[M] ? c.depth[L] : c.depth[M]) + 1, H[2 * L + 1] = H[2 * M + 1] = z, c.heap[1] = z++, ot(c, H, 1), 2 <= c.heap_len; )
2627
2627
  ;
2628
- c.heap[--c.heap_max] = c.heap[1], function(at, pt) {
2629
- var xt, bt, St, ut, vt, yt, _t = pt.dyn_tree, It = pt.max_code, Nt = pt.stat_desc.static_tree, Rt = pt.stat_desc.has_stree, Et = pt.stat_desc.extra_bits, Tt = pt.stat_desc.extra_base, Ot = pt.stat_desc.max_length, Pt = 0;
2628
+ c.heap[--c.heap_max] = c.heap[1], function(st, pt) {
2629
+ var xt, gt, bt, ut, vt, yt, Ct = pt.dyn_tree, It = pt.max_code, Nt = pt.stat_desc.static_tree, Rt = pt.stat_desc.has_stree, Et = pt.stat_desc.extra_bits, Tt = pt.stat_desc.extra_base, Ot = pt.stat_desc.max_length, Pt = 0;
2630
2630
  for (ut = 0; ut <= f; ut++)
2631
- at.bl_count[ut] = 0;
2632
- for (_t[2 * at.heap[at.heap_max] + 1] = 0, xt = at.heap_max + 1; xt < s; xt++)
2633
- Ot < (ut = _t[2 * _t[2 * (bt = at.heap[xt]) + 1] + 1] + 1) && (ut = Ot, Pt++), _t[2 * bt + 1] = ut, It < bt || (at.bl_count[ut]++, vt = 0, Tt <= bt && (vt = Et[bt - Tt]), yt = _t[2 * bt], at.opt_len += yt * (ut + vt), Rt && (at.static_len += yt * (Nt[2 * bt + 1] + vt)));
2631
+ st.bl_count[ut] = 0;
2632
+ for (Ct[2 * st.heap[st.heap_max] + 1] = 0, xt = st.heap_max + 1; xt < s; xt++)
2633
+ Ot < (ut = Ct[2 * Ct[2 * (gt = st.heap[xt]) + 1] + 1] + 1) && (ut = Ot, Pt++), Ct[2 * gt + 1] = ut, It < gt || (st.bl_count[ut]++, vt = 0, Tt <= gt && (vt = Et[gt - Tt]), yt = Ct[2 * gt], st.opt_len += yt * (ut + vt), Rt && (st.static_len += yt * (Nt[2 * gt + 1] + vt)));
2634
2634
  if (Pt !== 0) {
2635
2635
  do {
2636
- for (ut = Ot - 1; at.bl_count[ut] === 0; )
2636
+ for (ut = Ot - 1; st.bl_count[ut] === 0; )
2637
2637
  ut--;
2638
- at.bl_count[ut]--, at.bl_count[ut + 1] += 2, at.bl_count[Ot]--, Pt -= 2;
2638
+ st.bl_count[ut]--, st.bl_count[ut + 1] += 2, st.bl_count[Ot]--, Pt -= 2;
2639
2639
  } while (0 < Pt);
2640
2640
  for (ut = Ot; ut !== 0; ut--)
2641
- for (bt = at.bl_count[ut]; bt !== 0; )
2642
- It < (St = at.heap[--xt]) || (_t[2 * St + 1] !== ut && (at.opt_len += (ut - _t[2 * St + 1]) * _t[2 * St], _t[2 * St + 1] = ut), bt--);
2641
+ for (gt = st.bl_count[ut]; gt !== 0; )
2642
+ It < (bt = st.heap[--xt]) || (Ct[2 * bt + 1] !== ut && (st.opt_len += (ut - Ct[2 * bt + 1]) * Ct[2 * bt], Ct[2 * bt + 1] = ut), gt--);
2643
2643
  }
2644
- }(c, k), st(H, lt, c.bl_count);
2644
+ }(c, k), it(H, lt, c.bl_count);
2645
2645
  }
2646
2646
  function e(c, k, L) {
2647
- var j, z, H = -1, V = k[1], G = 0, et = 7, lt = 4;
2648
- for (V === 0 && (et = 138, lt = 3), k[2 * (L + 1) + 1] = 65535, j = 0; j <= L; j++)
2649
- z = V, V = k[2 * (j + 1) + 1], ++G < et && z === V || (G < lt ? c.bl_tree[2 * z] += G : z !== 0 ? (z !== H && c.bl_tree[2 * z]++, c.bl_tree[2 * E]++) : G <= 10 ? c.bl_tree[2 * C]++ : c.bl_tree[2 * B]++, H = z, lt = (G = 0) === V ? (et = 138, 3) : z === V ? (et = 6, 3) : (et = 7, 4));
2647
+ var M, z, H = -1, V = k[1], Y = 0, et = 7, lt = 4;
2648
+ for (V === 0 && (et = 138, lt = 3), k[2 * (L + 1) + 1] = 65535, M = 0; M <= L; M++)
2649
+ z = V, V = k[2 * (M + 1) + 1], ++Y < et && z === V || (Y < lt ? c.bl_tree[2 * z] += Y : z !== 0 ? (z !== H && c.bl_tree[2 * z]++, c.bl_tree[2 * E]++) : Y <= 10 ? c.bl_tree[2 * C]++ : c.bl_tree[2 * B]++, H = z, lt = (Y = 0) === V ? (et = 138, 3) : z === V ? (et = 6, 3) : (et = 7, 4));
2650
2650
  }
2651
2651
  function D(c, k, L) {
2652
- var j, z, H = -1, V = k[1], G = 0, et = 7, lt = 4;
2653
- for (V === 0 && (et = 138, lt = 3), j = 0; j <= L; j++)
2654
- if (z = V, V = k[2 * (j + 1) + 1], !(++G < et && z === V)) {
2655
- if (G < lt)
2656
- for (; M(c, z, c.bl_tree), --G != 0; )
2652
+ var M, z, H = -1, V = k[1], Y = 0, et = 7, lt = 4;
2653
+ for (V === 0 && (et = 138, lt = 3), M = 0; M <= L; M++)
2654
+ if (z = V, V = k[2 * (M + 1) + 1], !(++Y < et && z === V)) {
2655
+ if (Y < lt)
2656
+ for (; W(c, z, c.bl_tree), --Y != 0; )
2657
2657
  ;
2658
2658
  else
2659
- z !== 0 ? (z !== H && (M(c, z, c.bl_tree), G--), M(c, E, c.bl_tree), Z(c, G - 3, 2)) : G <= 10 ? (M(c, C, c.bl_tree), Z(c, G - 3, 3)) : (M(c, B, c.bl_tree), Z(c, G - 11, 7));
2660
- H = z, lt = (G = 0) === V ? (et = 138, 3) : z === V ? (et = 6, 3) : (et = 7, 4);
2659
+ z !== 0 ? (z !== H && (W(c, z, c.bl_tree), Y--), W(c, E, c.bl_tree), Z(c, Y - 3, 2)) : Y <= 10 ? (W(c, C, c.bl_tree), Z(c, Y - 3, 3)) : (W(c, B, c.bl_tree), Z(c, Y - 11, 7));
2660
+ H = z, lt = (Y = 0) === V ? (et = 138, 3) : z === V ? (et = 6, 3) : (et = 7, 4);
2661
2661
  }
2662
2662
  }
2663
2663
  u(U);
2664
2664
  var N = !1;
2665
- function g(c, k, L, j) {
2666
- Z(c, (w << 1) + (j ? 1 : 0), 3), function(z, H, V, G) {
2667
- tt(z), G && (J(z, V), J(z, ~V)), l.arraySet(z.pending_buf, z.window, H, V, z.pending), z.pending += V;
2665
+ function g(c, k, L, M) {
2666
+ Z(c, (w << 1) + (M ? 1 : 0), 3), function(z, H, V, Y) {
2667
+ tt(z), Y && (J(z, V), J(z, ~V)), l.arraySet(z.pending_buf, z.window, H, V, z.pending), z.pending += V;
2668
2668
  }(c, k, L, !0);
2669
2669
  }
2670
2670
  d._tr_init = function(c) {
2671
2671
  N || (function() {
2672
- var k, L, j, z, H, V = new Array(f + 1);
2673
- for (z = j = 0; z < b - 1; z++)
2674
- for (T[z] = j, k = 0; k < 1 << F[z]; k++)
2675
- r[j++] = z;
2676
- for (r[j - 1] = z, z = H = 0; z < 16; z++)
2677
- for (U[z] = H, k = 0; k < 1 << W[z]; k++)
2672
+ var k, L, M, z, H, V = new Array(f + 1);
2673
+ for (z = M = 0; z < b - 1; z++)
2674
+ for (T[z] = M, k = 0; k < 1 << F[z]; k++)
2675
+ r[M++] = z;
2676
+ for (r[M - 1] = z, z = H = 0; z < 16; z++)
2677
+ for (U[z] = H, k = 0; k < 1 << j[z]; k++)
2678
2678
  S[H++] = z;
2679
2679
  for (H >>= 7; z < o; z++)
2680
- for (U[z] = H << 7, k = 0; k < 1 << W[z] - 7; k++)
2680
+ for (U[z] = H << 7, k = 0; k < 1 << j[z] - 7; k++)
2681
2681
  S[256 + H++] = z;
2682
2682
  for (L = 0; L <= f; L++)
2683
2683
  V[L] = 0;
@@ -2689,38 +2689,38 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2689
2689
  Q[2 * k + 1] = 7, k++, V[7]++;
2690
2690
  for (; k <= 287; )
2691
2691
  Q[2 * k + 1] = 8, k++, V[8]++;
2692
- for (st(Q, v + 1, V), k = 0; k < o; k++)
2693
- p[2 * k + 1] = 5, p[2 * k] = it(k, 5);
2694
- K = new X(Q, F, y + 1, v, f), P = new X(p, W, 0, o, f), Y = new X(new Array(0), R, 0, m, _);
2695
- }(), N = !0), c.l_desc = new O(c.dyn_ltree, K), c.d_desc = new O(c.dyn_dtree, P), c.bl_desc = new O(c.bl_tree, Y), c.bi_buf = 0, c.bi_valid = 0, nt(c);
2696
- }, d._tr_stored_block = g, d._tr_flush_block = function(c, k, L, j) {
2692
+ for (it(Q, v + 1, V), k = 0; k < o; k++)
2693
+ p[2 * k + 1] = 5, p[2 * k] = at(k, 5);
2694
+ K = new X(Q, F, y + 1, v, f), P = new X(p, j, 0, o, f), G = new X(new Array(0), R, 0, m, _);
2695
+ }(), N = !0), c.l_desc = new O(c.dyn_ltree, K), c.d_desc = new O(c.dyn_dtree, P), c.bl_desc = new O(c.bl_tree, G), c.bi_buf = 0, c.bi_valid = 0, nt(c);
2696
+ }, d._tr_stored_block = g, d._tr_flush_block = function(c, k, L, M) {
2697
2697
  var z, H, V = 0;
2698
- 0 < c.level ? (c.strm.data_type === 2 && (c.strm.data_type = function(G) {
2698
+ 0 < c.level ? (c.strm.data_type === 2 && (c.strm.data_type = function(Y) {
2699
2699
  var et, lt = 4093624447;
2700
2700
  for (et = 0; et <= 31; et++, lt >>>= 1)
2701
- if (1 & lt && G.dyn_ltree[2 * et] !== 0)
2701
+ if (1 & lt && Y.dyn_ltree[2 * et] !== 0)
2702
2702
  return h;
2703
- if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0)
2703
+ if (Y.dyn_ltree[18] !== 0 || Y.dyn_ltree[20] !== 0 || Y.dyn_ltree[26] !== 0)
2704
2704
  return i;
2705
2705
  for (et = 32; et < y; et++)
2706
- if (G.dyn_ltree[2 * et] !== 0)
2706
+ if (Y.dyn_ltree[2 * et] !== 0)
2707
2707
  return i;
2708
2708
  return h;
2709
- }(c)), ht(c, c.l_desc), ht(c, c.d_desc), V = function(G) {
2709
+ }(c)), ht(c, c.l_desc), ht(c, c.d_desc), V = function(Y) {
2710
2710
  var et;
2711
- for (e(G, G.dyn_ltree, G.l_desc.max_code), e(G, G.dyn_dtree, G.d_desc.max_code), ht(G, G.bl_desc), et = m - 1; 3 <= et && G.bl_tree[2 * q[et] + 1] === 0; et--)
2711
+ for (e(Y, Y.dyn_ltree, Y.l_desc.max_code), e(Y, Y.dyn_dtree, Y.d_desc.max_code), ht(Y, Y.bl_desc), et = m - 1; 3 <= et && Y.bl_tree[2 * q[et] + 1] === 0; et--)
2712
2712
  ;
2713
- return G.opt_len += 3 * (et + 1) + 5 + 5 + 4, et;
2714
- }(c), z = c.opt_len + 3 + 7 >>> 3, (H = c.static_len + 3 + 7 >>> 3) <= z && (z = H)) : z = H = L + 5, L + 4 <= z && k !== -1 ? g(c, k, L, j) : c.strategy === 4 || H === z ? (Z(c, 2 + (j ? 1 : 0), 3), ft(c, Q, p)) : (Z(c, 4 + (j ? 1 : 0), 3), function(G, et, lt, at) {
2713
+ return Y.opt_len += 3 * (et + 1) + 5 + 5 + 4, et;
2714
+ }(c), z = c.opt_len + 3 + 7 >>> 3, (H = c.static_len + 3 + 7 >>> 3) <= z && (z = H)) : z = H = L + 5, L + 4 <= z && k !== -1 ? g(c, k, L, M) : c.strategy === 4 || H === z ? (Z(c, 2 + (M ? 1 : 0), 3), ft(c, Q, p)) : (Z(c, 4 + (M ? 1 : 0), 3), function(Y, et, lt, st) {
2715
2715
  var pt;
2716
- for (Z(G, et - 257, 5), Z(G, lt - 1, 5), Z(G, at - 4, 4), pt = 0; pt < at; pt++)
2717
- Z(G, G.bl_tree[2 * q[pt] + 1], 3);
2718
- D(G, G.dyn_ltree, et - 1), D(G, G.dyn_dtree, lt - 1);
2719
- }(c, c.l_desc.max_code + 1, c.d_desc.max_code + 1, V + 1), ft(c, c.dyn_ltree, c.dyn_dtree)), nt(c), j && tt(c);
2716
+ for (Z(Y, et - 257, 5), Z(Y, lt - 1, 5), Z(Y, st - 4, 4), pt = 0; pt < st; pt++)
2717
+ Z(Y, Y.bl_tree[2 * q[pt] + 1], 3);
2718
+ D(Y, Y.dyn_ltree, et - 1), D(Y, Y.dyn_dtree, lt - 1);
2719
+ }(c, c.l_desc.max_code + 1, c.d_desc.max_code + 1, V + 1), ft(c, c.dyn_ltree, c.dyn_dtree)), nt(c), M && tt(c);
2720
2720
  }, d._tr_tally = function(c, k, L) {
2721
2721
  return c.pending_buf[c.d_buf + 2 * c.last_lit] = k >>> 8 & 255, c.pending_buf[c.d_buf + 2 * c.last_lit + 1] = 255 & k, c.pending_buf[c.l_buf + c.last_lit] = 255 & L, c.last_lit++, k === 0 ? c.dyn_ltree[2 * L]++ : (c.matches++, k--, c.dyn_ltree[2 * (r[L] + y + 1)]++, c.dyn_dtree[2 * A(k)]++), c.last_lit === c.lit_bufsize - 1;
2722
2722
  }, d._tr_align = function(c) {
2723
- Z(c, 2, 3), M(c, x, Q), function(k) {
2723
+ Z(c, 2, 3), W(c, x, Q), function(k) {
2724
2724
  k.bi_valid === 16 ? (J(k, k.bi_buf), k.bi_buf = 0, k.bi_valid = 0) : 8 <= k.bi_valid && (k.pending_buf[k.pending++] = 255 & k.bi_buf, k.bi_buf >>= 8, k.bi_valid -= 8);
2725
2725
  }(c);
2726
2726
  };
@@ -2777,22 +2777,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2777
2777
  m = !0;
2778
2778
  try {
2779
2779
  (function(B) {
2780
- var F = B.callback, W = B.args;
2781
- switch (W.length) {
2780
+ var F = B.callback, j = B.args;
2781
+ switch (j.length) {
2782
2782
  case 0:
2783
2783
  F();
2784
2784
  break;
2785
2785
  case 1:
2786
- F(W[0]);
2786
+ F(j[0]);
2787
2787
  break;
2788
2788
  case 2:
2789
- F(W[0], W[1]);
2789
+ F(j[0], j[1]);
2790
2790
  break;
2791
2791
  case 3:
2792
- F(W[0], W[1], W[2]);
2792
+ F(j[0], j[1], j[2]);
2793
2793
  break;
2794
2794
  default:
2795
- F.apply(i, W);
2795
+ F.apply(i, j);
2796
2796
  }
2797
2797
  })(C);
2798
2798
  } finally {
@@ -2850,10 +2850,10 @@ function ge() {
2850
2850
  if (!P)
2851
2851
  throw new Error("OPF file path not found.");
2852
2852
  b = P.substring(0, P.lastIndexOf("/") + 1);
2853
- const Y = v.current.file(P);
2854
- if (!Y)
2853
+ const G = v.current.file(P);
2854
+ if (!G)
2855
2855
  throw new Error(`OPF file not found at path: ${P}`);
2856
- const U = await Y.async("text"), X = r.parseFromString(U, "application/xml");
2856
+ const U = await G.async("text"), X = r.parseFromString(U, "application/xml");
2857
2857
  if (X.querySelector("parsererror"))
2858
2858
  throw new Error("Error parsing OPF file.");
2859
2859
  a(X), await _(X);
@@ -2866,8 +2866,8 @@ function ge() {
2866
2866
  if (!v.current)
2867
2867
  return;
2868
2868
  const S = {}, r = {};
2869
- p.querySelectorAll("manifest > item").forEach((Y) => {
2870
- const U = Y.getAttribute("id"), X = Y.getAttribute("href"), O = Y.getAttribute("media-type"), A = Y.getAttribute("properties");
2869
+ p.querySelectorAll("manifest > item").forEach((G) => {
2870
+ const U = G.getAttribute("id"), X = G.getAttribute("href"), O = G.getAttribute("media-type"), A = G.getAttribute("properties");
2871
2871
  if (U && X && O) {
2872
2872
  const J = decodeURIComponent(X);
2873
2873
  S[U] = {
@@ -2877,26 +2877,26 @@ function ge() {
2877
2877
  }, r[J] = U;
2878
2878
  }
2879
2879
  }), await x(p, S, r);
2880
- const T = Array.from(p.querySelectorAll("spine > itemref")).map((Y) => Y.getAttribute("idref"));
2880
+ const T = Array.from(p.querySelectorAll("spine > itemref")).map((G) => G.getAttribute("idref"));
2881
2881
  let K = "";
2882
2882
  const P = /* @__PURE__ */ new Set();
2883
- for (const Y of T) {
2884
- if (!Y)
2883
+ for (const G of T) {
2884
+ if (!G)
2885
2885
  continue;
2886
- const U = S[Y];
2886
+ const U = S[G];
2887
2887
  if (U && (U.type.includes("html") || U.type.includes("xml")))
2888
2888
  try {
2889
2889
  const X = b + U.href, O = v.current.file(X);
2890
2890
  if (O) {
2891
- const A = await O.async("text"), J = await C(A, U.type, Y, U.href, r);
2892
- K += `<div class="bok-chapter" id="${Y}">${J}</div>`;
2891
+ const A = await O.async("text"), J = await C(A, U.type, G, U.href, r);
2892
+ K += `<div class="bok-chapter" id="${G}">${J}</div>`;
2893
2893
  }
2894
2894
  } catch (X) {
2895
2895
  console.warn(`Failed to process spine item ${U.href}:`, X);
2896
2896
  }
2897
2897
  }
2898
- for (const Y in S) {
2899
- const U = S[Y];
2898
+ for (const G in S) {
2899
+ const U = S[G];
2900
2900
  if (U.type.includes("css")) {
2901
2901
  const X = b + U.href;
2902
2902
  if (!P.has(X)) {
@@ -2914,8 +2914,8 @@ function ge() {
2914
2914
  async function x(p, S, r) {
2915
2915
  let T = null, K = null;
2916
2916
  const P = Object.keys(S).find((Z) => {
2917
- var M;
2918
- return S[Z].properties && ((M = S[Z].properties) == null ? void 0 : M.includes("nav"));
2917
+ var W;
2918
+ return S[Z].properties && ((W = S[Z].properties) == null ? void 0 : W.includes("nav"));
2919
2919
  });
2920
2920
  if (P)
2921
2921
  K = S[P];
@@ -2927,77 +2927,77 @@ function ge() {
2927
2927
  console.log("No TOC found.");
2928
2928
  return;
2929
2929
  }
2930
- const Y = b + K.href, U = v.current.file(Y);
2930
+ const G = b + K.href, U = v.current.file(G);
2931
2931
  if (!U)
2932
2932
  return;
2933
2933
  const X = await U.async("text"), A = new DOMParser().parseFromString(X, "application/xml");
2934
2934
  let J = [];
2935
2935
  if (K.type.includes("ncx")) {
2936
- const Z = Array.from(A.querySelectorAll("navMap > navPoint")), M = (it) => it.map((st) => {
2936
+ const Z = Array.from(A.querySelectorAll("navMap > navPoint")), W = (at) => at.map((it) => {
2937
2937
  var ot, ft;
2938
- const nt = ((ot = st.querySelector("navLabel > text")) == null ? void 0 : ot.textContent) || "Unnamed", tt = ((ft = st.querySelector("content")) == null ? void 0 : ft.getAttribute("src")) || "", ct = Array.from(st.children).filter((ht) => ht.tagName.toLowerCase() === "navpoint");
2938
+ const nt = ((ot = it.querySelector("navLabel > text")) == null ? void 0 : ot.textContent) || "Unnamed", tt = ((ft = it.querySelector("content")) == null ? void 0 : ft.getAttribute("src")) || "", ct = Array.from(it.children).filter((ht) => ht.tagName.toLowerCase() === "navpoint");
2939
2939
  return {
2940
2940
  label: nt,
2941
2941
  href: E(tt, K.href, r),
2942
- subitems: M(ct)
2942
+ subitems: W(ct)
2943
2943
  };
2944
2944
  });
2945
- J = M(Z);
2945
+ J = W(Z);
2946
2946
  } else {
2947
- const Z = A.querySelector("nav[epub\\:type='toc']") || A.querySelector("nav"), M = Z == null ? void 0 : Z.querySelector("ol"), it = (st) => st ? Array.from(st.children).filter((nt) => nt.tagName.toLowerCase() === "li").map((nt) => {
2947
+ const Z = A.querySelector("nav[epub\\:type='toc']") || A.querySelector("nav"), W = Z == null ? void 0 : Z.querySelector("ol"), at = (it) => it ? Array.from(it.children).filter((nt) => nt.tagName.toLowerCase() === "li").map((nt) => {
2948
2948
  var ht;
2949
2949
  const tt = nt.querySelector(":scope > a") || nt.querySelector(":scope > span"), ct = ((ht = tt == null ? void 0 : tt.textContent) == null ? void 0 : ht.trim()) || "Unnamed", ot = (tt == null ? void 0 : tt.getAttribute("href")) || "", ft = nt.querySelector(":scope > ol");
2950
2950
  return {
2951
2951
  label: ct,
2952
2952
  href: E(ot, K.href, r),
2953
- subitems: it(ft)
2953
+ subitems: at(ft)
2954
2954
  };
2955
2955
  }) : [];
2956
- M && (J = it(M));
2956
+ W && (J = at(W));
2957
2957
  }
2958
2958
  console.log("Parsed TOC:", J), i(J);
2959
2959
  }
2960
2960
  function E(p, S, r) {
2961
2961
  if (!p)
2962
2962
  return "";
2963
- const [T, K] = p.split("#"), P = Kt(S, T), Y = r[P];
2964
- return Y ? K ? `#${Y}_${K}` : `#${Y}` : "";
2963
+ const [T, K] = p.split("#"), P = Kt(S, T), G = r[P];
2964
+ return G ? K ? `#${G}_${K}` : `#${G}` : "";
2965
2965
  }
2966
2966
  async function C(p, S, r, T, K) {
2967
2967
  let P = [...p.matchAll(/<style[^>]*>([\s\S]*?)<\/style>/gi)].map((U) => U[1]).join(`
2968
2968
  `);
2969
2969
  P = q(P), y += P;
2970
- let Y = p.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "");
2971
- return Y = Y.replace(/<link[^>]*?>/gi, ""), Y = Y.replace(/<title[^>]*>[\s\S]*?<\/title>/gi, ""), Y = await B(Y, S, r, T, K), Y;
2970
+ let G = p.replace(/<style[^>]*>[\s\S]*?<\/style>/gi, "");
2971
+ return G = G.replace(/<link[^>]*?>/gi, ""), G = G.replace(/<title[^>]*>[\s\S]*?<\/title>/gi, ""), G = await B(G, S, r, T, K), G;
2972
2972
  }
2973
2973
  async function B(p, S, r, T, K) {
2974
- const Y = new DOMParser().parseFromString(p, S);
2975
- if (Y.querySelector("parsererror"))
2974
+ const G = new DOMParser().parseFromString(p, S);
2975
+ if (G.querySelector("parsererror"))
2976
2976
  return console.warn("Parser error in manipulateDom"), p;
2977
- const U = Y.querySelectorAll("[id]");
2977
+ const U = G.querySelectorAll("[id]");
2978
2978
  for (const Z of U) {
2979
- const M = Z.getAttribute("id");
2980
- Z.setAttribute("id", `${r}_${M}`);
2979
+ const W = Z.getAttribute("id");
2980
+ Z.setAttribute("id", `${r}_${W}`);
2981
2981
  }
2982
- const X = Y.querySelectorAll("a[href]");
2982
+ const X = G.querySelectorAll("a[href]");
2983
2983
  for (const Z of X) {
2984
- const M = Z.getAttribute("href");
2985
- if (!(!M || M.startsWith("http") || M.startsWith("mailto")))
2986
- if (M.startsWith("#")) {
2987
- const it = M.substring(1);
2988
- Z.setAttribute("href", `#${r}_${it}`);
2984
+ const W = Z.getAttribute("href");
2985
+ if (!(!W || W.startsWith("http") || W.startsWith("mailto")))
2986
+ if (W.startsWith("#")) {
2987
+ const at = W.substring(1);
2988
+ Z.setAttribute("href", `#${r}_${at}`);
2989
2989
  } else {
2990
- const [it, st] = M.split("#"), nt = Kt(T, it), tt = K[nt];
2991
- tt && (st ? Z.setAttribute("href", `#${tt}_${st}`) : Z.setAttribute("href", `#${tt}`));
2990
+ const [at, it] = W.split("#"), nt = Kt(T, at), tt = K[nt];
2991
+ tt && (it ? Z.setAttribute("href", `#${tt}_${it}`) : Z.setAttribute("href", `#${tt}`));
2992
2992
  }
2993
2993
  }
2994
- const O = Y.querySelectorAll("img");
2994
+ const O = G.querySelectorAll("img");
2995
2995
  for (const Z of O)
2996
2996
  await F(Z);
2997
- const A = Y.querySelectorAll("image");
2997
+ const A = G.querySelectorAll("image");
2998
2998
  for (const Z of A)
2999
- await W(Z);
3000
- return new XMLSerializer().serializeToString(Y.documentElement || Y);
2999
+ await j(Z);
3000
+ return new XMLSerializer().serializeToString(G.documentElement || G);
3001
3001
  }
3002
3002
  async function F(p) {
3003
3003
  let S = p.getAttribute("src");
@@ -3007,7 +3007,7 @@ function ge() {
3007
3007
  S = b + S, await R(p, "src", S);
3008
3008
  }
3009
3009
  }
3010
- async function W(p) {
3010
+ async function j(p) {
3011
3011
  let S = p.getAttribute("xlink:href");
3012
3012
  if (S) {
3013
3013
  for (; S.startsWith(".") || S.startsWith("/"); )
@@ -3071,7 +3071,7 @@ function Bt($, t) {
3071
3071
  return console.warn(`Error reading localStorage key "${$}":`, d), t;
3072
3072
  }
3073
3073
  });
3074
- return gt(() => {
3074
+ return _t(() => {
3075
3075
  try {
3076
3076
  n !== void 0 && localStorage.setItem($, JSON.stringify(n));
3077
3077
  } catch (d) {
@@ -3115,7 +3115,7 @@ function ee($) {
3115
3115
  b.unobserve(u);
3116
3116
  };
3117
3117
  }
3118
- }, h = [$], t[1] = $, t[2] = l, t[3] = h) : (l = t[2], h = t[3]), gt(l, h);
3118
+ }, h = [$], t[1] = $, t[2] = l, t[3] = h) : (l = t[2], h = t[3]), _t(l, h);
3119
3119
  let i;
3120
3120
  return t[4] !== I.height || t[5] !== I.noOfPages || t[6] !== I.width ? (i = [I.width, I.height, I.noOfPages], t[4] = I.height, t[5] = I.noOfPages, t[6] = I.width, t[7] = i) : i = t[7], i;
3121
3121
  }
@@ -3143,7 +3143,7 @@ function be($) {
3143
3143
  return w.addEventListener("scroll", y), l(), () => {
3144
3144
  b && clearTimeout(b), w.removeEventListener("scroll", y);
3145
3145
  };
3146
- }, i = [l, $], t[2] = $, t[3] = l, t[4] = h, t[5] = i) : (h = t[4], i = t[5]), gt(h, i);
3146
+ }, i = [l, $], t[2] = $, t[3] = l, t[4] = h, t[5] = i) : (h = t[4], i = t[5]), _t(h, i);
3147
3147
  let u;
3148
3148
  return t[6] !== n ? (u = [n, I], t[6] = n, t[7] = u) : u = t[7], u;
3149
3149
  }
@@ -3164,7 +3164,7 @@ const ve = ($, t, n, I) => {
3164
3164
  return document.addEventListener("selectionchange", a), () => {
3165
3165
  document.removeEventListener("selectionchange", a);
3166
3166
  };
3167
- }, v = [], d[6] = y, d[7] = v) : (y = d[6], v = d[7]), gt(y, v);
3167
+ }, v = [], d[6] = y, d[7] = v) : (y = d[6], v = d[7]), _t(y, v);
3168
3168
  let o;
3169
3169
  d[8] !== b ? (o = () => {
3170
3170
  const a = () => {
@@ -3186,7 +3186,7 @@ const ve = ($, t, n, I) => {
3186
3186
  };
3187
3187
  }, d[8] = b, d[9] = o) : o = d[9];
3188
3188
  let m;
3189
- d[10] !== b || d[11] !== l ? (m = [l, b], d[10] = b, d[11] = l, d[12] = m) : m = d[12], gt(o, m);
3189
+ d[10] !== b || d[11] !== l ? (m = [l, b], d[10] = b, d[11] = l, d[12] = m) : m = d[12], _t(o, m);
3190
3190
  let s;
3191
3191
  d[13] !== n || d[14] !== b ? (s = () => {
3192
3192
  const a = n.current, _ = () => {
@@ -3199,7 +3199,7 @@ const ve = ($, t, n, I) => {
3199
3199
  };
3200
3200
  }, d[13] = n, d[14] = b, d[15] = s) : s = d[15];
3201
3201
  let f;
3202
- d[16] !== n || d[17] !== b || d[18] !== t || d[19] !== l ? (f = [l, t, b, n], d[16] = n, d[17] = b, d[18] = t, d[19] = l, d[20] = f) : f = d[20], gt(s, f);
3202
+ d[16] !== n || d[17] !== b || d[18] !== t || d[19] !== l ? (f = [l, t, b, n], d[16] = n, d[17] = b, d[18] = t, d[19] = l, d[20] = f) : f = d[20], _t(s, f);
3203
3203
  };
3204
3204
  function ye() {
3205
3205
  }
@@ -3236,40 +3236,40 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), xe =
3236
3236
  showTutorial: y,
3237
3237
  onPageChange: v,
3238
3238
  onPageCountChange: o
3239
- } = $, m = At(null), [s, f, a] = ee(b), [_, x] = be(m), [E, C] = wt(1), [B, F] = wt(0), [W, R] = Bt(`bok_progress_${d}`, 0), q = At(_), Q = At(null);
3239
+ } = $, m = At(null), [s, f, a] = ee(b), [_, x] = be(m), [E, C] = wt(1), [B, F] = wt(0), [j, R] = Bt(`bok_progress_${d}`, 0), q = At(_), Q = At(null);
3240
3240
  let p, S;
3241
3241
  n[0] !== o || n[1] !== B ? (p = () => {
3242
3242
  o && o(B);
3243
- }, S = [B, o], n[0] = o, n[1] = B, n[2] = p, n[3] = S) : (p = n[2], S = n[3]), gt(p, S);
3243
+ }, S = [B, o], n[0] = o, n[1] = B, n[2] = p, n[3] = S) : (p = n[2], S = n[3]), _t(p, S);
3244
3244
  let r, T;
3245
3245
  n[4] !== E || n[5] !== v ? (r = () => {
3246
3246
  v && v(E);
3247
- }, T = [E, v], n[4] = E, n[5] = v, n[6] = r, n[7] = T) : (r = n[6], T = n[7]), gt(r, T);
3247
+ }, T = [E, v], n[4] = E, n[5] = v, n[6] = r, n[7] = T) : (r = n[6], T = n[7]), _t(r, T);
3248
3248
  let K, P;
3249
3249
  n[8] !== _ ? (K = () => {
3250
3250
  q.current = _;
3251
- }, P = [_], n[8] = _, n[9] = K, n[10] = P) : (K = n[9], P = n[10]), gt(K, P);
3252
- let Y, U;
3253
- n[11] !== _ || n[12] !== R ? (Y = () => {
3251
+ }, P = [_], n[8] = _, n[9] = K, n[10] = P) : (K = n[9], P = n[10]), _t(K, P);
3252
+ let G, U;
3253
+ n[11] !== _ || n[12] !== R ? (G = () => {
3254
3254
  _ > 0 && R(_);
3255
- }, U = [_, R], n[11] = _, n[12] = R, n[13] = Y, n[14] = U) : (Y = n[13], U = n[14]), gt(Y, U);
3255
+ }, U = [_, R], n[11] = _, n[12] = R, n[13] = G, n[14] = U) : (G = n[13], U = n[14]), _t(G, U);
3256
3256
  let X, O;
3257
- n[15] !== W || n[16] !== x ? (O = () => {
3258
- W > 0 && x(W);
3259
- }, X = [W, x], n[15] = W, n[16] = x, n[17] = X, n[18] = O) : (X = n[17], O = n[18]), gt(O, X);
3257
+ n[15] !== j || n[16] !== x ? (O = () => {
3258
+ j > 0 && x(j);
3259
+ }, X = [j, x], n[15] = j, n[16] = x, n[17] = X, n[18] = O) : (X = n[17], O = n[18]), _t(O, X);
3260
3260
  let A;
3261
3261
  n[19] !== a || n[20] !== s ? (A = (c) => {
3262
3262
  const k = m.current;
3263
3263
  if (!k)
3264
3264
  return;
3265
3265
  Q.current && cancelAnimationFrame(Q.current);
3266
- const L = k.scrollLeft, j = c * s * a, z = j - L, H = performance.now(), V = (G) => {
3267
- const et = G - H;
3266
+ const L = k.scrollLeft, M = c * s * a, z = M - L, H = performance.now(), V = (Y) => {
3267
+ const et = Y - H;
3268
3268
  if (et < 450) {
3269
3269
  const lt = ke(et / 450);
3270
3270
  k.scrollLeft = L + z * lt, Q.current = requestAnimationFrame(V);
3271
3271
  } else
3272
- k.scrollLeft = j, Q.current = null;
3272
+ k.scrollLeft = M, Q.current = null;
3273
3273
  };
3274
3274
  Q.current = requestAnimationFrame(V);
3275
3275
  }, n[19] = a, n[20] = s, n[21] = A) : A = n[21];
@@ -3279,31 +3279,31 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), xe =
3279
3279
  let k = c;
3280
3280
  k < 0 && (k = 0), k >= B && (k = B - 1), C(k), J(k);
3281
3281
  }, n[22] = B, n[23] = J, n[24] = Z) : Z = n[24];
3282
- const M = Z;
3283
- let it;
3284
- n[25] !== B || n[26] !== J ? (it = (c) => {
3282
+ const W = Z;
3283
+ let at;
3284
+ n[25] !== B || n[26] !== J ? (at = (c) => {
3285
3285
  C((k) => {
3286
3286
  let L = k + c;
3287
3287
  return L < 0 && (L = 0), L >= B && (L = B - 1), J(L), L;
3288
3288
  });
3289
- }, n[25] = B, n[26] = J, n[27] = it) : it = n[27];
3290
- const st = it;
3289
+ }, n[25] = B, n[26] = J, n[27] = at) : at = n[27];
3290
+ const it = at;
3291
3291
  let nt;
3292
- n[28] !== M ? (nt = () => ({
3293
- goToPage: M,
3292
+ n[28] !== W ? (nt = () => ({
3293
+ goToPage: W,
3294
3294
  findAndJumpToHref: (c) => {
3295
3295
  const k = c.startsWith("#") ? c.substring(1) : c, L = document.getElementById(k);
3296
3296
  if (L)
3297
3297
  try {
3298
- const j = Zt(L);
3299
- M(j);
3300
- } catch (j) {
3301
- console.warn("Could not calculate page for link", j);
3298
+ const M = Zt(L);
3299
+ W(M);
3300
+ } catch (M) {
3301
+ console.warn("Could not calculate page for link", M);
3302
3302
  }
3303
3303
  }
3304
- }), n[28] = M, n[29] = nt) : nt = n[29], ne(t, nt), ve(st, w, b, y);
3304
+ }), n[28] = W, n[29] = nt) : nt = n[29], ne(t, nt), ve(it, w, b, y);
3305
3305
  let tt, ct;
3306
- n[30] !== M ? (tt = () => {
3306
+ n[30] !== W ? (tt = () => {
3307
3307
  const c = m.current;
3308
3308
  if (!c)
3309
3309
  return;
@@ -3312,18 +3312,18 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), xe =
3312
3312
  const z = L.target.closest("a");
3313
3313
  if (z && ((H = z.getAttribute("href")) != null && H.startsWith("#"))) {
3314
3314
  L.preventDefault();
3315
- const V = z.getAttribute("href"), G = decodeURIComponent(V.substring(1)), et = document.getElementById(G);
3315
+ const V = z.getAttribute("href"), Y = decodeURIComponent(V.substring(1)), et = document.getElementById(Y);
3316
3316
  if (et)
3317
3317
  try {
3318
3318
  const lt = Zt(et);
3319
- M(lt);
3319
+ W(lt);
3320
3320
  } catch (lt) {
3321
3321
  console.warn("Could not calculate page for link", lt);
3322
3322
  }
3323
3323
  }
3324
3324
  };
3325
3325
  return c.addEventListener("click", k), () => c.removeEventListener("click", k);
3326
- }, ct = [M], n[30] = M, n[31] = tt, n[32] = ct) : (tt = n[31], ct = n[32]), gt(tt, ct);
3326
+ }, ct = [W], n[30] = W, n[31] = tt, n[32] = ct) : (tt = n[31], ct = n[32]), _t(tt, ct);
3327
3327
  let ot;
3328
3328
  n[33] !== u || n[34] !== h || n[35] !== a || n[36] !== f || n[37] !== s || n[38] !== l || n[39] !== i ? (ot = () => {
3329
3329
  const c = m.current;
@@ -3334,7 +3334,7 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), xe =
3334
3334
  c.style.setProperty("--side-padding", `${i}px`), c.style.setProperty("--font-size", `${h}em`), c.style.setProperty("--font-family", u), c.style.setProperty("--computed-width", `${s}px`), c.style.maxHeight = `${f}px`, requestAnimationFrame(() => {
3335
3335
  if (!c)
3336
3336
  return;
3337
- const L = c.scrollWidth, j = s > 0 && L > 0 ? Math.round(L / s) : 0, z = a === 1 ? j : Math.round(j / 2);
3337
+ const L = c.scrollWidth, M = s > 0 && L > 0 ? Math.round(L / s) : 0, z = a === 1 ? M : Math.round(M / 2);
3338
3338
  if (F(z), z > 0 && c.clientWidth > 0) {
3339
3339
  const H = q.current;
3340
3340
  let V = Math.round(z * H);
@@ -3349,14 +3349,14 @@ const ke = ($) => 1 + 2.1 * Math.pow($ - 1, 3) + 1.1 * Math.pow($ - 1, 2), xe =
3349
3349
  };
3350
3350
  }, n[33] = u, n[34] = h, n[35] = a, n[36] = f, n[37] = s, n[38] = l, n[39] = i, n[40] = ot) : ot = n[40];
3351
3351
  let ft;
3352
- n[41] !== I || n[42] !== u || n[43] !== h || n[44] !== a || n[45] !== f || n[46] !== s || n[47] !== l || n[48] !== i || n[49] !== d ? (ft = [s, f, i, h, u, a, I, d, l], n[41] = I, n[42] = u, n[43] = h, n[44] = a, n[45] = f, n[46] = s, n[47] = l, n[48] = i, n[49] = d, n[50] = ft) : ft = n[50], gt(ot, ft);
3352
+ n[41] !== I || n[42] !== u || n[43] !== h || n[44] !== a || n[45] !== f || n[46] !== s || n[47] !== l || n[48] !== i || n[49] !== d ? (ft = [s, f, i, h, u, a, I, d, l], n[41] = I, n[42] = u, n[43] = h, n[44] = a, n[45] = f, n[46] = s, n[47] = l, n[48] = i, n[49] = d, n[50] = ft) : ft = n[50], _t(ot, ft);
3353
3353
  let ht, e;
3354
- n[51] !== st ? (ht = () => {
3354
+ n[51] !== it ? (ht = () => {
3355
3355
  const c = (k) => {
3356
- k.key === "ArrowLeft" ? (k.preventDefault(), st(-1)) : k.key === "ArrowRight" && (k.preventDefault(), st(1));
3356
+ k.key === "ArrowLeft" ? (k.preventDefault(), it(-1)) : k.key === "ArrowRight" && (k.preventDefault(), it(1));
3357
3357
  };
3358
3358
  return document.addEventListener("keydown", c), () => document.removeEventListener("keydown", c);
3359
- }, e = [st], n[51] = st, n[52] = ht, n[53] = e) : (ht = n[52], e = n[53]), gt(ht, e);
3359
+ }, e = [it], n[51] = it, n[52] = ht, n[53] = e) : (ht = n[52], e = n[53]), _t(ht, e);
3360
3360
  let D;
3361
3361
  n[54] !== I ? (D = /* @__PURE__ */ rt("div", { ref: m, dangerouslySetInnerHTML: {
3362
3362
  __html: I
@@ -3435,13 +3435,13 @@ function Te($) {
3435
3435
  displayName: "Roboto",
3436
3436
  name: "Roboto Condensed"
3437
3437
  }, t[2] = C, t[3] = B, t[4] = F) : (C = t[2], B = t[3], F = t[4]);
3438
- let W;
3439
- t[5] === Symbol.for("react.memo_cache_sentinel") ? (W = {
3438
+ let j;
3439
+ t[5] === Symbol.for("react.memo_cache_sentinel") ? (j = {
3440
3440
  displayName: "System Default",
3441
3441
  name: "system-ui"
3442
- }, t[5] = W) : W = t[5];
3442
+ }, t[5] = j) : j = t[5];
3443
3443
  let R;
3444
- t[6] !== m ? (R = [C, B, F, ...m, W], t[6] = m, t[7] = R) : R = t[7];
3444
+ t[6] !== m ? (R = [C, B, F, ...m, j], t[6] = m, t[7] = R) : R = t[7];
3445
3445
  const q = R;
3446
3446
  let Q;
3447
3447
  t[8] !== v ? (Q = Object.keys(v), t[8] = v, t[9] = Q) : Q = t[9];
@@ -3453,7 +3453,7 @@ function Te($) {
3453
3453
  _(!0);
3454
3454
  });
3455
3455
  });
3456
- }, S = [], t[10] = S, t[11] = r) : (S = t[10], r = t[11]), gt(r, S);
3456
+ }, S = [], t[10] = S, t[11] = r) : (S = t[10], r = t[11]), _t(r, S);
3457
3457
  let T;
3458
3458
  t[12] !== n ? (T = () => {
3459
3459
  requestAnimationFrame(() => {
@@ -3465,7 +3465,7 @@ function Te($) {
3465
3465
  t[14] !== K ? (P = () => {
3466
3466
  K();
3467
3467
  }, t[14] = K, t[15] = P) : P = t[15];
3468
- const Y = P, U = je, X = Ue;
3468
+ const G = P, U = je, X = Ue;
3469
3469
  let O;
3470
3470
  t[16] !== d || t[17] !== u ? (O = () => {
3471
3471
  d <= 70 && (u(Le), X(E));
@@ -3476,16 +3476,16 @@ function Te($) {
3476
3476
  d - 5 > 0 && (u(De), X(E));
3477
3477
  }, t[19] = d, t[20] = u, t[21] = J) : J = t[21];
3478
3478
  const Z = J;
3479
- let M;
3480
- t[22] !== I || t[23] !== i ? (M = () => {
3479
+ let W;
3480
+ t[22] !== I || t[23] !== i ? (W = () => {
3481
3481
  I < 3 && (i(Fe), X(x));
3482
- }, t[22] = I, t[23] = i, t[24] = M) : M = t[24];
3483
- const it = M;
3484
- let st;
3485
- t[25] !== I || t[26] !== i ? (st = () => {
3482
+ }, t[22] = I, t[23] = i, t[24] = W) : W = t[24];
3483
+ const at = W;
3484
+ let it;
3485
+ t[25] !== I || t[26] !== i ? (it = () => {
3486
3486
  I - 0.2 > 0.6 && (i(Pe), X(x));
3487
- }, t[25] = I, t[26] = i, t[27] = st) : st = t[27];
3488
- const nt = st;
3487
+ }, t[25] = I, t[26] = i, t[27] = it) : it = t[27];
3488
+ const nt = it;
3489
3489
  let tt;
3490
3490
  t[28] !== s || t[29] !== a ? (tt = () => {
3491
3491
  const Et = [dt["options-menu"]];
@@ -3516,8 +3516,8 @@ function Te($) {
3516
3516
  g,
3517
3517
  /* @__PURE__ */ rt("select", { className: dt.select, value: l, onChange: c, children: k })
3518
3518
  ] }), t[42] = l, t[43] = c, t[44] = k, t[45] = L) : L = t[45];
3519
- let j;
3520
- t[46] === Symbol.for("react.memo_cache_sentinel") ? (j = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Color Scheme" }), t[46] = j) : j = t[46];
3519
+ let M;
3520
+ t[46] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Color Scheme" }), t[46] = M) : M = t[46];
3521
3521
  let z;
3522
3522
  t[47] !== p || t[48] !== w ? (z = (Et) => {
3523
3523
  const Tt = p.find((Ot) => Ot === Et.target.value);
@@ -3527,54 +3527,54 @@ function Te($) {
3527
3527
  t[50] !== p ? (H = p.map(Re), t[50] = p, t[51] = H) : H = t[51];
3528
3528
  let V;
3529
3529
  t[52] !== z || t[53] !== H || t[54] !== h ? (V = /* @__PURE__ */ mt("div", { className: dt["option-row"], children: [
3530
- j,
3530
+ M,
3531
3531
  /* @__PURE__ */ rt("select", { className: dt.select, value: h, onChange: z, children: H })
3532
3532
  ] }), t[52] = z, t[53] = H, t[54] = h, t[55] = V) : V = t[55];
3533
- let G;
3534
- t[56] === Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Side padding" }), t[56] = G) : G = t[56];
3533
+ let Y;
3534
+ t[56] === Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Side padding" }), t[56] = Y) : Y = t[56];
3535
3535
  let et;
3536
3536
  t[57] !== Z ? (et = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: Z, children: "-" }), t[57] = Z, t[58] = et) : et = t[58];
3537
3537
  let lt;
3538
3538
  t[59] !== d ? (lt = /* @__PURE__ */ rt("span", { ref: E, className: dt["option-value"], children: d }), t[59] = d, t[60] = lt) : lt = t[60];
3539
- let at;
3540
- t[61] !== A ? (at = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: A, children: "+" }), t[61] = A, t[62] = at) : at = t[62];
3539
+ let st;
3540
+ t[61] !== A ? (st = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: A, children: "+" }), t[61] = A, t[62] = st) : st = t[62];
3541
3541
  let pt;
3542
- t[63] !== et || t[64] !== lt || t[65] !== at ? (pt = /* @__PURE__ */ mt("div", { className: dt["option-row"], children: [
3543
- G,
3542
+ t[63] !== et || t[64] !== lt || t[65] !== st ? (pt = /* @__PURE__ */ mt("div", { className: dt["option-row"], children: [
3543
+ Y,
3544
3544
  /* @__PURE__ */ mt("div", { className: dt["option-controls"], children: [
3545
3545
  et,
3546
3546
  lt,
3547
- at
3547
+ st
3548
3548
  ] })
3549
- ] }), t[63] = et, t[64] = lt, t[65] = at, t[66] = pt) : pt = t[66];
3549
+ ] }), t[63] = et, t[64] = lt, t[65] = st, t[66] = pt) : pt = t[66];
3550
3550
  let xt;
3551
3551
  t[67] === Symbol.for("react.memo_cache_sentinel") ? (xt = /* @__PURE__ */ rt("div", { className: dt["option-label"], children: "Font size" }), t[67] = xt) : xt = t[67];
3552
+ let gt;
3553
+ t[68] !== nt ? (gt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: nt, children: "-" }), t[68] = nt, t[69] = gt) : gt = t[69];
3552
3554
  let bt;
3553
- t[68] !== nt ? (bt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: nt, children: "-" }), t[68] = nt, t[69] = bt) : bt = t[69];
3554
- let St;
3555
- t[70] !== I ? (St = Math.round(I * 10), t[70] = I, t[71] = St) : St = t[71];
3555
+ t[70] !== I ? (bt = Math.round(I * 10), t[70] = I, t[71] = bt) : bt = t[71];
3556
3556
  let ut;
3557
- t[72] !== St ? (ut = /* @__PURE__ */ rt("span", { ref: x, className: dt["option-value"], children: St }), t[72] = St, t[73] = ut) : ut = t[73];
3557
+ t[72] !== bt ? (ut = /* @__PURE__ */ rt("span", { ref: x, className: dt["option-value"], children: bt }), t[72] = bt, t[73] = ut) : ut = t[73];
3558
3558
  let vt;
3559
- t[74] !== it ? (vt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: it, children: "+" }), t[74] = it, t[75] = vt) : vt = t[75];
3559
+ t[74] !== at ? (vt = /* @__PURE__ */ rt("button", { className: dt["stepper-button"], onClick: at, children: "+" }), t[74] = at, t[75] = vt) : vt = t[75];
3560
3560
  let yt;
3561
- t[76] !== bt || t[77] !== ut || t[78] !== vt ? (yt = /* @__PURE__ */ mt("div", { className: dt["option-row"], children: [
3561
+ t[76] !== gt || t[77] !== ut || t[78] !== vt ? (yt = /* @__PURE__ */ mt("div", { className: dt["option-row"], children: [
3562
3562
  xt,
3563
3563
  /* @__PURE__ */ mt("div", { className: dt["option-controls"], children: [
3564
- bt,
3564
+ gt,
3565
3565
  ut,
3566
3566
  vt
3567
3567
  ] })
3568
- ] }), t[76] = bt, t[77] = ut, t[78] = vt, t[79] = yt) : yt = t[79];
3569
- let _t;
3570
- t[80] === Symbol.for("react.memo_cache_sentinel") ? (_t = "requestFullscreen" in document.documentElement ? /* @__PURE__ */ rt("button", { className: dt["fullscreen-button"], onClick: ze, children: "Toggle fullscreen" }) : /* @__PURE__ */ rt(qt, {}), t[80] = _t) : _t = t[80];
3568
+ ] }), t[76] = gt, t[77] = ut, t[78] = vt, t[79] = yt) : yt = t[79];
3569
+ let Ct;
3570
+ t[80] === Symbol.for("react.memo_cache_sentinel") ? (Ct = "requestFullscreen" in document.documentElement ? /* @__PURE__ */ rt("button", { className: dt["fullscreen-button"], onClick: ze, children: "Toggle fullscreen" }) : /* @__PURE__ */ rt(qt, {}), t[80] = Ct) : Ct = t[80];
3571
3571
  let It;
3572
3572
  t[81] !== L || t[82] !== V || t[83] !== pt || t[84] !== yt ? (It = /* @__PURE__ */ mt("div", { className: dt["options-buttons"], children: [
3573
3573
  L,
3574
3574
  V,
3575
3575
  pt,
3576
3576
  yt,
3577
- _t
3577
+ Ct
3578
3578
  ] }), t[81] = L, t[82] = V, t[83] = pt, t[84] = yt, t[85] = It) : It = t[85];
3579
3579
  let Nt;
3580
3580
  t[86] !== e || t[87] !== D || t[88] !== It ? (Nt = /* @__PURE__ */ mt("div", { className: e, onClick: U, children: [
@@ -3583,7 +3583,7 @@ function Te($) {
3583
3583
  It
3584
3584
  ] }), t[86] = e, t[87] = D, t[88] = It, t[89] = Nt) : Nt = t[89];
3585
3585
  let Rt;
3586
- return t[90] !== Y || t[91] !== ht || t[92] !== Nt ? (Rt = /* @__PURE__ */ rt("div", { className: ht, onClick: Y, children: Nt }), t[90] = Y, t[91] = ht, t[92] = Nt, t[93] = Rt) : Rt = t[93], Rt;
3586
+ return t[90] !== G || t[91] !== ht || t[92] !== Nt ? (Rt = /* @__PURE__ */ rt("div", { className: ht, onClick: G, children: Nt }), t[90] = G, t[91] = ht, t[92] = Nt, t[93] = Rt) : Rt = t[93], Rt;
3587
3587
  }
3588
3588
  function Re($) {
3589
3589
  return /* @__PURE__ */ rt("option", { value: $, children: $ }, $);
@@ -3649,7 +3649,7 @@ const We = "_visible_1oftk_66", kt = {
3649
3649
  w(!0);
3650
3650
  });
3651
3651
  });
3652
- }, _ = [], t[1] = a, t[2] = _) : (a = t[1], _ = t[2]), gt(a, _);
3652
+ }, _ = [], t[1] = a, t[2] = _) : (a = t[1], _ = t[2]), _t(a, _);
3653
3653
  let x, E;
3654
3654
  t[3] !== n ? (x = () => {
3655
3655
  const tt = {}, ct = (ft) => {
@@ -3668,18 +3668,18 @@ const We = "_visible_1oftk_66", kt = {
3668
3668
  ct(n), f(tt);
3669
3669
  }, 100);
3670
3670
  return () => clearTimeout(ot);
3671
- }, E = [n], t[3] = n, t[4] = x, t[5] = E) : (x = t[4], E = t[5]), gt(x, E);
3671
+ }, E = [n], t[3] = n, t[4] = x, t[5] = E) : (x = t[4], E = t[5]), _t(x, E);
3672
3672
  let C, B;
3673
3673
  t[6] !== I ? (C = () => {
3674
3674
  o(I + 1);
3675
- }, B = [I], t[6] = I, t[7] = C, t[8] = B) : (C = t[7], B = t[8]), gt(C, B);
3675
+ }, B = [I], t[6] = I, t[7] = C, t[8] = B) : (C = t[7], B = t[8]), _t(C, B);
3676
3676
  let F;
3677
3677
  t[9] !== l ? (F = () => {
3678
3678
  requestAnimationFrame(() => {
3679
3679
  w(!1), y(!0);
3680
3680
  }), setTimeout(l, 350);
3681
3681
  }, t[9] = l, t[10] = F) : F = t[10];
3682
- const W = F;
3682
+ const j = F;
3683
3683
  let R;
3684
3684
  t[11] !== v || t[12] !== h || t[13] !== d ? (R = () => {
3685
3685
  const tt = Math.max(1, Math.min(d, v));
@@ -3687,12 +3687,12 @@ const We = "_visible_1oftk_66", kt = {
3687
3687
  }, t[11] = v, t[12] = h, t[13] = d, t[14] = R) : R = t[14];
3688
3688
  const q = R;
3689
3689
  let Q;
3690
- t[15] !== W || t[16] !== i ? (Q = (tt) => {
3691
- i(tt), W();
3692
- }, t[15] = W, t[16] = i, t[17] = Q) : Q = t[17];
3690
+ t[15] !== j || t[16] !== i ? (Q = (tt) => {
3691
+ i(tt), j();
3692
+ }, t[15] = j, t[16] = i, t[17] = Q) : Q = t[17];
3693
3693
  const p = Q;
3694
- let S, r, T, K, P, Y, U;
3695
- if (t[18] !== p || t[19] !== W || t[20] !== b || t[21] !== u || t[22] !== s || t[23] !== n) {
3694
+ let S, r, T, K, P, G, U;
3695
+ if (t[18] !== p || t[19] !== j || t[20] !== b || t[21] !== u || t[22] !== s || t[23] !== n) {
3696
3696
  const tt = (ot, ft) => {
3697
3697
  const ht = ft === void 0 ? 0 : ft;
3698
3698
  return /* @__PURE__ */ rt("ul", { className: ht === 0 ? kt["toc-list"] : kt["toc-sublist"], children: ot.map((e, D) => {
@@ -3706,22 +3706,22 @@ const We = "_visible_1oftk_66", kt = {
3706
3706
  ] }, D);
3707
3707
  }) });
3708
3708
  };
3709
- Y = `${kt["nav-menu-overlay"]} ${b ? kt["fade-out"] : ""}`, U = W, T = `
3709
+ G = `${kt["nav-menu-overlay"]} ${b ? kt["fade-out"] : ""}`, U = j, T = `
3710
3710
  ${kt["nav-menu"]}
3711
3711
  ${u ? kt.visible : ""}
3712
3712
  ${b ? kt["slide-down"] : ""}
3713
3713
  `, K = Ze;
3714
3714
  let ct;
3715
- t[31] === Symbol.for("react.memo_cache_sentinel") ? (ct = /* @__PURE__ */ rt("h2", { children: "Table of Contents" }), t[31] = ct) : ct = t[31], t[32] !== W ? (P = /* @__PURE__ */ mt("div", { className: kt["nav-header"], children: [
3715
+ t[31] === Symbol.for("react.memo_cache_sentinel") ? (ct = /* @__PURE__ */ rt("h2", { children: "Table of Contents" }), t[31] = ct) : ct = t[31], t[32] !== j ? (P = /* @__PURE__ */ mt("div", { className: kt["nav-header"], children: [
3716
3716
  ct,
3717
- /* @__PURE__ */ rt("button", { className: kt["close-btn"], onClick: W, children: "×" })
3718
- ] }), t[32] = W, t[33] = P) : P = t[33], S = kt["toc-container"], r = n.length > 0 ? tt(n) : /* @__PURE__ */ rt("div", { style: {
3717
+ /* @__PURE__ */ rt("button", { className: kt["close-btn"], onClick: j, children: "×" })
3718
+ ] }), t[32] = j, t[33] = P) : P = t[33], S = kt["toc-container"], r = n.length > 0 ? tt(n) : /* @__PURE__ */ rt("div", { style: {
3719
3719
  padding: "20px",
3720
3720
  textAlign: "center",
3721
3721
  opacity: 0.5
3722
- }, children: "No chapters found" }), t[18] = p, t[19] = W, t[20] = b, t[21] = u, t[22] = s, t[23] = n, t[24] = S, t[25] = r, t[26] = T, t[27] = K, t[28] = P, t[29] = Y, t[30] = U;
3722
+ }, children: "No chapters found" }), t[18] = p, t[19] = j, t[20] = b, t[21] = u, t[22] = s, t[23] = n, t[24] = S, t[25] = r, t[26] = T, t[27] = K, t[28] = P, t[29] = G, t[30] = U;
3723
3723
  } else
3724
- S = t[24], r = t[25], T = t[26], K = t[27], P = t[28], Y = t[29], U = t[30];
3724
+ S = t[24], r = t[25], T = t[26], K = t[27], P = t[28], G = t[29], U = t[30];
3725
3725
  let X;
3726
3726
  t[34] !== S || t[35] !== r ? (X = /* @__PURE__ */ rt("div", { className: S, children: r }), t[34] = S, t[35] = r, t[36] = X) : X = t[36];
3727
3727
  let O;
@@ -3735,22 +3735,22 @@ const We = "_visible_1oftk_66", kt = {
3735
3735
  "of ",
3736
3736
  d
3737
3737
  ] }), t[43] = d, t[44] = Z) : Z = t[44];
3738
- let M;
3739
- t[45] !== q ? (M = /* @__PURE__ */ rt("button", { className: kt["go-btn"], onClick: q, children: "Go" }), t[45] = q, t[46] = M) : M = t[46];
3740
- let it;
3741
- t[47] !== J || t[48] !== Z || t[49] !== M ? (it = /* @__PURE__ */ rt("div", { className: kt["page-jumper"], children: /* @__PURE__ */ mt("div", { className: kt["jumper-controls"], children: [
3738
+ let W;
3739
+ t[45] !== q ? (W = /* @__PURE__ */ rt("button", { className: kt["go-btn"], onClick: q, children: "Go" }), t[45] = q, t[46] = W) : W = t[46];
3740
+ let at;
3741
+ t[47] !== J || t[48] !== Z || t[49] !== W ? (at = /* @__PURE__ */ rt("div", { className: kt["page-jumper"], children: /* @__PURE__ */ mt("div", { className: kt["jumper-controls"], children: [
3742
3742
  J,
3743
3743
  Z,
3744
- M
3745
- ] }) }), t[47] = J, t[48] = Z, t[49] = M, t[50] = it) : it = t[50];
3746
- let st;
3747
- t[51] !== T || t[52] !== K || t[53] !== P || t[54] !== X || t[55] !== it ? (st = /* @__PURE__ */ mt("div", { className: T, onClick: K, children: [
3744
+ W
3745
+ ] }) }), t[47] = J, t[48] = Z, t[49] = W, t[50] = at) : at = t[50];
3746
+ let it;
3747
+ t[51] !== T || t[52] !== K || t[53] !== P || t[54] !== X || t[55] !== at ? (it = /* @__PURE__ */ mt("div", { className: T, onClick: K, children: [
3748
3748
  P,
3749
3749
  X,
3750
- it
3751
- ] }), t[51] = T, t[52] = K, t[53] = P, t[54] = X, t[55] = it, t[56] = st) : st = t[56];
3750
+ at
3751
+ ] }), t[51] = T, t[52] = K, t[53] = P, t[54] = X, t[55] = at, t[56] = it) : it = t[56];
3752
3752
  let nt;
3753
- return t[57] !== Y || t[58] !== U || t[59] !== st ? (nt = /* @__PURE__ */ rt("div", { className: Y, onClick: U, children: st }), t[57] = Y, t[58] = U, t[59] = st, t[60] = nt) : nt = t[60], nt;
3753
+ return t[57] !== G || t[58] !== U || t[59] !== it ? (nt = /* @__PURE__ */ rt("div", { className: G, onClick: U, children: it }), t[57] = G, t[58] = U, t[59] = it, t[60] = nt) : nt = t[60], nt;
3754
3754
  };
3755
3755
  function Ze($) {
3756
3756
  return $.stopPropagation();
@@ -3758,7 +3758,7 @@ function Ze($) {
3758
3758
  function qe($) {
3759
3759
  return $.currentTarget.select();
3760
3760
  }
3761
- const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86", Ye = "_interactionZone_qt7kv_92", Ke = "_centerZone_qt7kv_103", Ve = "_iconWrapper_qt7kv_115", Xe = "_pulse_qt7kv_1", Je = "_label_qt7kv_139", Qe = "_bottomIconGroup_qt7kv_151", tr = "_bottomIconWrapper_qt7kv_158", er = "_bounceArrow_qt7kv_181", rr = "_bounce_qt7kv_181", nr = "_dismissButton_qt7kv_191", ir = "_float_qt7kv_1", Ct = {
3761
+ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86", Ye = "_interactionZone_qt7kv_92", Ke = "_centerZone_qt7kv_103", Ve = "_iconWrapper_qt7kv_115", Xe = "_pulse_qt7kv_1", Je = "_label_qt7kv_139", Qe = "_bottomIconGroup_qt7kv_151", tr = "_bottomIconWrapper_qt7kv_158", er = "_bounceArrow_qt7kv_181", rr = "_bounce_qt7kv_181", nr = "_dismissButton_qt7kv_191", ir = "_float_qt7kv_1", St = {
3762
3762
  overlay: $e,
3763
3763
  fadeIn: He,
3764
3764
  fadeOut: Ge,
@@ -3781,28 +3781,28 @@ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86"
3781
3781
  t[0] !== n ? (l = () => {
3782
3782
  d(!0), setTimeout(n, 400);
3783
3783
  }, t[0] = n, t[1] = l) : l = t[1];
3784
- const h = l, i = `${Ct.overlay} ${I ? Ct.fadeOut : ""}`;
3784
+ const h = l, i = `${St.overlay} ${I ? St.fadeOut : ""}`;
3785
3785
  let u;
3786
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ mt("div", { className: Ct.interactionZone, children: [
3787
- /* @__PURE__ */ rt("div", { className: Ct.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) }) }),
3788
- /* @__PURE__ */ rt("div", { className: Ct.label, children: "Previous" })
3786
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ mt("div", { className: St.interactionZone, children: [
3787
+ /* @__PURE__ */ rt("div", { className: St.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" }) }) }),
3788
+ /* @__PURE__ */ rt("div", { className: St.label, children: "Previous" })
3789
3789
  ] }), t[2] = u) : u = t[2];
3790
3790
  let w;
3791
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ mt("div", { className: Ct.interactionZone, children: [
3792
- /* @__PURE__ */ rt("div", { className: Ct.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) }),
3793
- /* @__PURE__ */ rt("div", { className: Ct.label, children: "Next" })
3791
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ mt("div", { className: St.interactionZone, children: [
3792
+ /* @__PURE__ */ rt("div", { className: St.iconWrapper, children: /* @__PURE__ */ rt("svg", { viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" }) }) }),
3793
+ /* @__PURE__ */ rt("div", { className: St.label, children: "Next" })
3794
3794
  ] }), t[3] = w) : w = t[3];
3795
3795
  let b;
3796
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ rt("div", { className: Ct.bottomIconWrapper, children: /* @__PURE__ */ rt(de, { size: 24 }) }), t[4] = b) : b = t[4];
3796
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ rt("div", { className: St.bottomIconWrapper, children: /* @__PURE__ */ rt(de, { size: 24 }) }), t[4] = b) : b = t[4];
3797
3797
  let y;
3798
- t[5] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ rt("div", { className: Ct.label, style: {
3798
+ t[5] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ rt("div", { className: St.label, style: {
3799
3799
  fontSize: "0.9rem"
3800
3800
  }, children: "Navigation" }), t[5] = y) : y = t[5];
3801
3801
  let v;
3802
- t[6] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ mt("div", { className: Ct.bottomIconGroup, children: [
3802
+ t[6] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ mt("div", { className: St.bottomIconGroup, children: [
3803
3803
  b,
3804
3804
  y,
3805
- /* @__PURE__ */ rt("div", { className: Ct.bounceArrow, children: /* @__PURE__ */ rt("svg", { width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }) }) })
3805
+ /* @__PURE__ */ rt("div", { className: St.bounceArrow, children: /* @__PURE__ */ rt("svg", { width: "24", height: "24", viewBox: "0 0 24 24", children: /* @__PURE__ */ rt("path", { d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }) }) })
3806
3806
  ] }), t[6] = v) : v = t[6];
3807
3807
  let o;
3808
3808
  t[7] === Symbol.for("react.memo_cache_sentinel") ? (o = {
@@ -3811,19 +3811,19 @@ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86"
3811
3811
  bottom: "80px"
3812
3812
  }, t[7] = o) : o = t[7];
3813
3813
  let m;
3814
- t[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ rt("div", { className: Ct.bottomIconWrapper, children: /* @__PURE__ */ rt(Qt, { size: 20 }) }), t[8] = m) : m = t[8];
3814
+ t[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ rt("div", { className: St.bottomIconWrapper, children: /* @__PURE__ */ rt(Qt, { size: 20 }) }), t[8] = m) : m = t[8];
3815
3815
  let s;
3816
- t[9] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ mt("div", { className: Ct.bottomIconGroup, style: o, children: [
3816
+ t[9] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ mt("div", { className: St.bottomIconGroup, style: o, children: [
3817
3817
  m,
3818
- /* @__PURE__ */ rt("div", { className: Ct.label, style: {
3818
+ /* @__PURE__ */ rt("div", { className: St.label, style: {
3819
3819
  fontSize: "0.8rem"
3820
3820
  }, children: "Options" })
3821
3821
  ] }), t[9] = s) : s = t[9];
3822
3822
  let f;
3823
- t[10] !== h ? (f = /* @__PURE__ */ mt("div", { className: Ct.centerZone, children: [
3823
+ t[10] !== h ? (f = /* @__PURE__ */ mt("div", { className: St.centerZone, children: [
3824
3824
  v,
3825
3825
  s,
3826
- /* @__PURE__ */ rt("button", { className: Ct.dismissButton, onClick: (_) => {
3826
+ /* @__PURE__ */ rt("button", { className: St.dismissButton, onClick: (_) => {
3827
3827
  _.stopPropagation(), h();
3828
3828
  }, children: "Start Reading" })
3829
3829
  ] }), t[10] = h, t[11] = f) : f = t[11];
@@ -3851,7 +3851,7 @@ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86"
3851
3851
  "--color-tint": "#c9f"
3852
3852
  }
3853
3853
  }, or = {}, hr = ($) => {
3854
- const t = zt.c(80), {
3854
+ const t = zt.c(75), {
3855
3855
  epubDataSource: n,
3856
3856
  onTitleChange: I,
3857
3857
  onLoadingChange: d,
@@ -3877,94 +3877,90 @@ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86"
3877
3877
  ...ar,
3878
3878
  ...v
3879
3879
  }, t[2] = v, t[3] = E) : E = t[3];
3880
- const C = E, [B, F] = wt("none"), [W, R] = Bt("bok_global_side_padding", 20), [q, Q] = Bt("bok_global_fontsize", 1.4), [p, S] = Bt("bok_global_font_family", "Literata"), [r, T] = Bt("bok_global_theme", "Amoled Dark"), K = At(null), P = At(null), [Y, U] = wt(0), [X, O] = wt(0), [A, J] = Bt("bok_tutorial_shown", !1), [Z, M] = wt(!A);
3881
- let it, st;
3882
- t[4] !== C || t[5] !== T || t[6] !== r ? (it = () => {
3883
- C[r] || T("Amoled Dark");
3884
- }, st = [C, r, T], t[4] = C, t[5] = T, t[6] = r, t[7] = it, t[8] = st) : (it = t[7], st = t[8]), gt(it, st);
3885
- let nt, tt;
3886
- t[9] !== A ? (nt = () => {
3887
- A && M(!1);
3888
- }, tt = [A], t[9] = A, t[10] = nt, t[11] = tt) : (nt = t[10], tt = t[11]), gt(nt, tt);
3889
- let ct;
3890
- t[12] === Symbol.for("react.memo_cache_sentinel") ? (ct = () => {
3891
- const ut = setTimeout(() => {
3880
+ const C = E, [B, F] = wt("none"), [j, R] = Bt("bok_global_side_padding", 20), [q, Q] = Bt("bok_global_fontsize", 1.4), [p, S] = Bt("bok_global_font_family", "Literata"), [r, T] = Bt("bok_global_theme", "Amoled Dark"), K = At(null), P = At(null), [G, U] = wt(0), [X, O] = wt(0), [A, J] = Bt("bok_tutorial_shown", !1), [Z, W] = wt(!A), at = C[r] ? r : "Amoled Dark";
3881
+ let it, nt;
3882
+ t[4] !== A ? (it = () => {
3883
+ A && W(!1);
3884
+ }, nt = [A], t[4] = A, t[5] = it, t[6] = nt) : (it = t[5], nt = t[6]), _t(it, nt);
3885
+ let tt;
3886
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (tt = () => {
3887
+ const bt = setTimeout(() => {
3892
3888
  if (K.current) {
3893
- const yt = getComputedStyle(K.current).getPropertyValue("--bg-color").trim();
3894
- let _t = document.querySelector("meta[name='theme-color']");
3895
- _t || (_t = document.createElement("meta"), _t.setAttribute("name", "theme-color"), document.head.appendChild(_t)), yt && (_t.setAttribute("content", yt), document.body.style.backgroundColor = yt);
3889
+ const vt = getComputedStyle(K.current).getPropertyValue("--bg-color").trim();
3890
+ let yt = document.querySelector("meta[name='theme-color']");
3891
+ yt || (yt = document.createElement("meta"), yt.setAttribute("name", "theme-color"), document.head.appendChild(yt)), vt && yt.setAttribute("content", vt);
3896
3892
  }
3897
3893
  }, 50);
3898
- return () => clearTimeout(ut);
3899
- }, t[12] = ct) : ct = t[12];
3894
+ return () => clearTimeout(bt);
3895
+ }, t[7] = tt) : tt = t[7];
3896
+ let ct;
3897
+ t[8] !== r ? (ct = [r], t[8] = r, t[9] = ct) : ct = t[9], _t(tt, ct);
3900
3898
  let ot;
3901
- t[13] !== r ? (ot = [r], t[13] = r, t[14] = ot) : ot = t[14], gt(ct, ot);
3902
- let ft;
3903
- t[15] !== J ? (ft = () => {
3904
- M(!1), J(!0);
3905
- }, t[15] = J, t[16] = ft) : ft = t[16];
3906
- const ht = ft;
3907
- let e, D;
3908
- t[17] !== n || t[18] !== _ ? (e = () => {
3899
+ t[10] !== J ? (ot = () => {
3900
+ W(!1), J(!0);
3901
+ }, t[10] = J, t[11] = ot) : ot = t[11];
3902
+ const ft = ot;
3903
+ let ht, e;
3904
+ t[12] !== n || t[13] !== _ ? (ht = () => {
3909
3905
  n && _(n);
3910
- }, D = [n, _], t[17] = n, t[18] = _, t[19] = e, t[20] = D) : (e = t[19], D = t[20]), gt(e, D);
3911
- let N, g;
3912
- t[21] !== I || t[22] !== o ? (N = () => {
3906
+ }, e = [n, _], t[12] = n, t[13] = _, t[14] = ht, t[15] = e) : (ht = t[14], e = t[15]), _t(ht, e);
3907
+ let D, N;
3908
+ t[16] !== I || t[17] !== o ? (D = () => {
3913
3909
  I && I(o);
3914
- }, g = [o, I], t[21] = I, t[22] = o, t[23] = N, t[24] = g) : (N = t[23], g = t[24]), gt(N, g);
3915
- let c, k;
3916
- t[25] !== f || t[26] !== d ? (c = () => {
3910
+ }, N = [o, I], t[16] = I, t[17] = o, t[18] = D, t[19] = N) : (D = t[18], N = t[19]), _t(D, N);
3911
+ let g, c;
3912
+ t[20] !== f || t[21] !== d ? (g = () => {
3917
3913
  d && d(f);
3918
- }, k = [f, d], t[25] = f, t[26] = d, t[27] = c, t[28] = k) : (c = t[27], k = t[28]), gt(c, k);
3919
- let L, j;
3920
- t[29] !== a || t[30] !== l ? (L = () => {
3914
+ }, c = [f, d], t[20] = f, t[21] = d, t[22] = g, t[23] = c) : (g = t[22], c = t[23]), _t(g, c);
3915
+ let k, L;
3916
+ t[24] !== a || t[25] !== l ? (k = () => {
3921
3917
  a && l && l(a);
3922
- }, j = [a, l], t[29] = a, t[30] = l, t[31] = L, t[32] = j) : (L = t[31], j = t[32]), gt(L, j);
3923
- const z = `${W}px`, H = `${q}em`, V = C[r];
3924
- let G;
3925
- t[33] !== p || t[34] !== z || t[35] !== H || t[36] !== V ? (G = {
3926
- "--side-padding": z,
3918
+ }, L = [a, l], t[24] = a, t[25] = l, t[26] = k, t[27] = L) : (k = t[26], L = t[27]), _t(k, L);
3919
+ const M = `${j}px`, z = `${q}em`, H = C[at];
3920
+ let V;
3921
+ t[28] !== p || t[29] !== M || t[30] !== z || t[31] !== H ? (V = {
3922
+ "--side-padding": M,
3927
3923
  "--top-padding": "30px",
3928
3924
  "--bottom-padding": "70px",
3929
- "--font-size": H,
3925
+ "--font-size": z,
3930
3926
  "--font-family": p,
3931
- ...V
3932
- }, t[33] = p, t[34] = z, t[35] = H, t[36] = V, t[37] = G) : G = t[37];
3933
- const et = G;
3927
+ ...H
3928
+ }, t[28] = p, t[29] = M, t[30] = z, t[31] = H, t[32] = V) : V = t[32];
3929
+ const Y = V;
3934
3930
  if (a && !f && !m) {
3935
- const ut = `bok-reader-container ${h || ""}`;
3936
- let vt;
3937
- t[38] === Symbol.for("react.memo_cache_sentinel") ? (vt = {
3931
+ const bt = `bok-reader-container ${h || ""}`;
3932
+ let ut;
3933
+ t[33] === Symbol.for("react.memo_cache_sentinel") ? (ut = {
3938
3934
  padding: "20px",
3939
3935
  color: "red"
3940
- }, t[38] = vt) : vt = t[38];
3941
- let yt;
3942
- t[39] !== a ? (yt = /* @__PURE__ */ mt("div", { style: vt, children: [
3936
+ }, t[33] = ut) : ut = t[33];
3937
+ let vt;
3938
+ t[34] !== a ? (vt = /* @__PURE__ */ mt("div", { style: ut, children: [
3943
3939
  "Error loading EPUB: ",
3944
3940
  a
3945
- ] }), t[39] = a, t[40] = yt) : yt = t[40];
3946
- let _t;
3947
- return t[41] !== i || t[42] !== ut || t[43] !== yt ? (_t = /* @__PURE__ */ rt("div", { className: ut, style: i, children: yt }), t[41] = i, t[42] = ut, t[43] = yt, t[44] = _t) : _t = t[44], _t;
3941
+ ] }), t[34] = a, t[35] = vt) : vt = t[35];
3942
+ let yt;
3943
+ return t[36] !== i || t[37] !== bt || t[38] !== vt ? (yt = /* @__PURE__ */ rt("div", { className: bt, style: i, children: vt }), t[36] = i, t[37] = bt, t[38] = vt, t[39] = yt) : yt = t[39], yt;
3948
3944
  }
3949
- let lt;
3950
- t[45] !== et || t[46] !== i ? (lt = {
3945
+ let et;
3946
+ t[40] !== Y || t[41] !== i ? (et = {
3951
3947
  ...i,
3952
- ...et
3953
- }, t[45] = et, t[46] = i, t[47] = lt) : lt = t[47];
3954
- const at = lt;
3948
+ ...Y
3949
+ }, t[40] = Y, t[41] = i, t[42] = et) : et = t[42];
3950
+ const lt = et;
3951
+ let st;
3952
+ t[43] !== f ? (st = /* @__PURE__ */ rt(Ae, { isLoading: f }), t[43] = f, t[44] = st) : st = t[44];
3955
3953
  let pt;
3956
- t[48] !== f ? (pt = /* @__PURE__ */ rt(Ae, { isLoading: f }), t[48] = f, t[49] = pt) : pt = t[49];
3957
- let xt;
3958
- t[50] !== B || t[51] !== C || t[52] !== Y || t[53] !== ht || t[54] !== p || t[55] !== q || t[56] !== f || t[57] !== m || t[58] !== S || t[59] !== Q || t[60] !== x || t[61] !== R || t[62] !== T || t[63] !== Z || t[64] !== W || t[65] !== y || t[66] !== r || t[67] !== o || t[68] !== s || t[69] !== X ? (xt = m && /* @__PURE__ */ mt(qt, { children: [
3959
- Z && !f && /* @__PURE__ */ rt(sr, { onDismiss: ht }),
3960
- /* @__PURE__ */ rt(xe, { ref: P, content: m, title: o, setIsLoading: x, fontSize: q, sidePadding: W, fontFamily: p, isOptionMenuVisible: B !== "none", containerElementRef: K, showTutorial: Z, onPageChange: U, onPageCountChange: O }),
3961
- B === "options" && /* @__PURE__ */ rt(Te, { onClose: () => F("none"), fontSize: q, padding: W, fontFamily: p, theme: r, setPadding: R, setFontSize: Q, setFontFamily: S, setTheme: T, allThemes: C, supportedFonts: y }),
3962
- B === "navigation" && !f && /* @__PURE__ */ rt(Me, { toc: s, currentPage: Y, totalPages: X, onClose: () => F("none"), onGoToPage: (ut) => {
3963
- var vt;
3964
- return (vt = P.current) == null ? void 0 : vt.goToPage(ut);
3965
- }, onChapterClick: (ut) => {
3966
- var vt;
3967
- return (vt = P.current) == null ? void 0 : vt.findAndJumpToHref(ut);
3954
+ t[45] !== B || t[46] !== C || t[47] !== G || t[48] !== ft || t[49] !== p || t[50] !== q || t[51] !== f || t[52] !== m || t[53] !== S || t[54] !== Q || t[55] !== x || t[56] !== R || t[57] !== T || t[58] !== Z || t[59] !== j || t[60] !== y || t[61] !== r || t[62] !== o || t[63] !== s || t[64] !== X ? (pt = m && /* @__PURE__ */ mt(qt, { children: [
3955
+ Z && !f && /* @__PURE__ */ rt(sr, { onDismiss: ft }),
3956
+ /* @__PURE__ */ rt(xe, { ref: P, content: m, title: o, setIsLoading: x, fontSize: q, sidePadding: j, fontFamily: p, isOptionMenuVisible: B !== "none", containerElementRef: K, showTutorial: Z, onPageChange: U, onPageCountChange: O }),
3957
+ B === "options" && /* @__PURE__ */ rt(Te, { onClose: () => F("none"), fontSize: q, padding: j, fontFamily: p, theme: r, setPadding: R, setFontSize: Q, setFontFamily: S, setTheme: T, allThemes: C, supportedFonts: y }),
3958
+ B === "navigation" && !f && /* @__PURE__ */ rt(Me, { toc: s, currentPage: G, totalPages: X, onClose: () => F("none"), onGoToPage: (bt) => {
3959
+ var ut;
3960
+ return (ut = P.current) == null ? void 0 : ut.goToPage(bt);
3961
+ }, onChapterClick: (bt) => {
3962
+ var ut;
3963
+ return (ut = P.current) == null ? void 0 : ut.findAndJumpToHref(bt);
3968
3964
  } }),
3969
3965
  B === "none" && !Z && !f && /* @__PURE__ */ mt("div", { className: "bottom-interaction-layer", children: [
3970
3966
  /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: lr }),
@@ -3972,18 +3968,18 @@ const $e = "_overlay_qt7kv_61", He = "_fadeIn_qt7kv_1", Ge = "_fadeOut_qt7kv_86"
3972
3968
  /* @__PURE__ */ rt("div", { className: "trigger-zone", onClick: () => F("options"), "aria-label": "Open Settings" }),
3973
3969
  /* @__PURE__ */ rt("div", { className: "settings-icon", onClick: () => F("options"), "aria-label": "Open Settings", children: /* @__PURE__ */ rt(Qt, { size: 16 }) })
3974
3970
  ] })
3975
- ] }), t[50] = B, t[51] = C, t[52] = Y, t[53] = ht, t[54] = p, t[55] = q, t[56] = f, t[57] = m, t[58] = S, t[59] = Q, t[60] = x, t[61] = R, t[62] = T, t[63] = Z, t[64] = W, t[65] = y, t[66] = r, t[67] = o, t[68] = s, t[69] = X, t[70] = xt) : xt = t[70];
3976
- let bt;
3977
- t[71] !== n || t[72] !== a || t[73] !== f ? (bt = !n && !f && !a && /* @__PURE__ */ rt("div", { style: {
3971
+ ] }), t[45] = B, t[46] = C, t[47] = G, t[48] = ft, t[49] = p, t[50] = q, t[51] = f, t[52] = m, t[53] = S, t[54] = Q, t[55] = x, t[56] = R, t[57] = T, t[58] = Z, t[59] = j, t[60] = y, t[61] = r, t[62] = o, t[63] = s, t[64] = X, t[65] = pt) : pt = t[65];
3972
+ let xt;
3973
+ t[66] !== n || t[67] !== a || t[68] !== f ? (xt = !n && !f && !a && /* @__PURE__ */ rt("div", { style: {
3978
3974
  padding: "20px",
3979
3975
  textAlign: "center"
3980
- }, children: "No EPUB loaded." }), t[71] = n, t[72] = a, t[73] = f, t[74] = bt) : bt = t[74];
3981
- let St;
3982
- return t[75] !== at || t[76] !== pt || t[77] !== xt || t[78] !== bt ? (St = /* @__PURE__ */ mt("div", { className: "bok-reader-container", style: at, ref: K, children: [
3976
+ }, children: "No EPUB loaded." }), t[66] = n, t[67] = a, t[68] = f, t[69] = xt) : xt = t[69];
3977
+ let gt;
3978
+ return t[70] !== lt || t[71] !== st || t[72] !== pt || t[73] !== xt ? (gt = /* @__PURE__ */ mt("div", { className: "bok-reader-container", style: lt, ref: K, children: [
3979
+ st,
3983
3980
  pt,
3984
- xt,
3985
- bt
3986
- ] }), t[75] = at, t[76] = pt, t[77] = xt, t[78] = bt, t[79] = St) : St = t[79], St;
3981
+ xt
3982
+ ] }), t[70] = lt, t[71] = st, t[72] = pt, t[73] = xt, t[74] = gt) : gt = t[74], gt;
3987
3983
  };
3988
3984
  function lr() {
3989
3985
  console.log("Left Click - Reserved");