@sheetxl/sdk 0.7.22 → 0.7.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/browser/cjs/4nRTADv5HPQL1vXg.cjs +55 -0
  2. package/browser/cjs/{Crp9TU9-MK3650CN.cjs → B-GZ3aGR4CC3aXY8.cjs} +1 -1
  3. package/browser/cjs/{kPuyJm8mZoWTYS_E.cjs → B0QQPONDaFljhVKo.cjs} +1 -1
  4. package/browser/cjs/{eNn-ZEASuspyp1hx.cjs → B7mYmhEMfsgLLZSO.cjs} +1 -1
  5. package/browser/cjs/{RCfQ4lI4PRIrMC8x.cjs → BK32k40KghpIOlB8.cjs} +1 -1
  6. package/browser/cjs/{DLiId6Hk_ia6LkL1.cjs → BNuFUcNR06uRsvA1.cjs} +1 -1
  7. package/browser/cjs/{BG_oucq-hFgpN3c_.cjs → BXxW8zZCnM6ekizZ.cjs} +3 -3
  8. package/browser/cjs/{BG81a_nQI23GJS2e.cjs → B_q_wjH1K_m5Z-OG.cjs} +1 -1
  9. package/browser/cjs/{4ehQu8sjj5Pnrysi.cjs → Ba0AsDQgQrStKCkJ.cjs} +1 -1
  10. package/browser/cjs/{B8W9RuhDKmuIzhpX.cjs → BnaX3btSZgKjJD3g.cjs} +1 -1
  11. package/browser/cjs/{BwnUVVFNWZGHfNoa.cjs → BpXJOTZx-SAOZ1N7.cjs} +1 -1
  12. package/browser/cjs/{DaENj_w2AIRp0Mqp.cjs → BudkWKSqVr7bJRuF.cjs} +2 -2
  13. package/browser/cjs/{BzeCA_-fu9cCwq8D.cjs → C4saOjDU56FUA1C_.cjs} +1 -1
  14. package/browser/cjs/{DAsr1dw3BvkcVNSg.cjs → CHthfW83cXfuE388.cjs} +1 -1
  15. package/browser/cjs/{DWBmsvMLywwdyxBk.cjs → CPqsppW_PDdOuWi7.cjs} +2 -2
  16. package/browser/cjs/{rh6SPofhK2I4u0wE.cjs → CUudmqy1T7P7mkGl.cjs} +1 -1
  17. package/browser/cjs/{CKxBDw1KEkPQauXM.cjs → CbYba_LEevcP8X8n.cjs} +1 -1
  18. package/browser/cjs/{BWVgq2uGlV4ae5C1.cjs → CkvATWjOKcLiTZCO.cjs} +1 -1
  19. package/browser/cjs/{Prn8RKUoSRnLhv0l.cjs → D3iRCLdh1hUWXkvK.cjs} +1 -1
  20. package/browser/cjs/{BF-zwvT-2M-AV0hY.cjs → D53FOFh4WSvGe4_f.cjs} +1 -1
  21. package/browser/cjs/{Bwdp2MZZ_KMUSHFP.cjs → D8NjQdFy1FQENdPM.cjs} +1 -1
  22. package/browser/cjs/{C9c-bLrS-ABA59Nt.cjs → DHnFVxl2wCVXd5C4.cjs} +1 -1
  23. package/browser/cjs/{8P123x_psu0vZSU9.cjs → Dw64xUCVjlNdSiKN.cjs} +1 -1
  24. package/browser/cjs/{BPqqnIrbiWknh9gL.cjs → MOaKSxq_UD2J5Eni.cjs} +1 -1
  25. package/browser/cjs/{BjtI3uBzEXjY1mkq.cjs → VTRx4UGe0xOmFTvv.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{DXR0dXDjeEBxAu4n.cjs → qxyizrNao-3Gks7D.cjs} +1 -1
  28. package/browser/cjs/{DtIDwaFB44U_fs6n.cjs → wcdsJwbp_PMMWcu8.cjs} +1 -1
  29. package/browser/esm/{DgV8M1pBIWVXUkDT.mjs → 3ZLVRcfE1wxWjdrj.mjs} +1 -1
  30. package/browser/esm/{C95Fv6Jcx41y7Ojk.mjs → B5kmsnnq_a2zF3O9.mjs} +2 -2
  31. package/{node/esm/DHzDNjbwGeV557ui.mjs → browser/esm/BAo36lBnQlvEr4dC.mjs} +1 -1
  32. package/{node/esm/DSq_gbos0Y_f1e79.mjs → browser/esm/BwZ944RRk5Fvs6Yd.mjs} +1 -1
  33. package/{node/esm/eQPdjMXubhwL38RR.mjs → browser/esm/C1G-xsCH6Y_ja7D_.mjs} +1 -1
  34. package/{node/esm/CRdl_Q0yPGAfPz6h.mjs → browser/esm/CAzE79mu7a-x2pEZ.mjs} +1 -1
  35. package/{node/esm/DtMc3NKUQdBlPqjH.mjs → browser/esm/CEm5O9cEAKspymuB.mjs} +1 -1
  36. package/browser/esm/{JFehdQ_Sk02CZY_O.mjs → CSeyYzHBuoitKLbn.mjs} +1 -1
  37. package/{node/esm/CQc0tnp5lxsTPGdY.mjs → browser/esm/Cmpebek34NmB7dV0.mjs} +1 -1
  38. package/browser/esm/{B7pD0rGUnhHtNaJF.mjs → CpwLd2BOCK1WVLsD.mjs} +1 -1
  39. package/browser/esm/{E1JJ_668Lc6gmWHk.mjs → CrC5be5VvjN8YfwZ.mjs} +1 -1
  40. package/browser/esm/{CVZfQjAdTLHiHG6R.mjs → CsuiTCfCzmPduqfj.mjs} +1 -1
  41. package/browser/esm/{DzXpNzto_AaLbLeR.mjs → CxwxBO2x7yk3tpIF.mjs} +2 -2
  42. package/browser/esm/{BDSR4TWQKSu4MJs5.mjs → D0auuAKpMpbhgEMy.mjs} +1 -1
  43. package/browser/esm/{Cx9SZZloPWCEjdF7.mjs → D5goRcMOjSd8ZZif.mjs} +1 -1
  44. package/browser/esm/{DxDSAU2V0O76Q2g9.mjs → DDEe6q9G_Pmz1lDx.mjs} +1 -1
  45. package/{node/esm/C4mqQtlHSj_kEvZt.mjs → browser/esm/DDZRbsQDDnP5GEsf.mjs} +1 -1
  46. package/browser/esm/{iaNS1GssHrDrrGa9.mjs → DJqp9vjX0ZdGvX7s.mjs} +1 -1
  47. package/browser/esm/{Ckwnr4G6FNOBxUKU.mjs → DPbybjBmhyd8GfFC.mjs} +1 -1
  48. package/browser/esm/{BLLhl3k63e5tEJYP.mjs → DZnIIFWA1G12eVHx.mjs} +1 -1
  49. package/{node/esm/CYEygIjH4EBxGCp5.mjs → browser/esm/Db5bJe8Onimcrhvj.mjs} +1 -1
  50. package/browser/esm/{DhJTZCn3Uv0UfNlL.mjs → DnKyXPJdm_lAYion.mjs} +1 -1
  51. package/browser/esm/{DBrBKxntXAS4EBsJ.mjs → DpOcuJqOimTs7oFN.mjs} +4391 -4383
  52. package/browser/esm/{Ccad_NL38ZuzsOuN.mjs → DugIyKvxDMZtI6zo.mjs} +1 -1
  53. package/browser/esm/{C4B6ieQfBNQ8NWT8.mjs → Szxfyfq7rOsoSgQD.mjs} +3 -3
  54. package/browser/esm/{DNCwOd97er-oE4i-.mjs → Xr5FE3F8vCWGZ5F8.mjs} +1 -1
  55. package/browser/esm/index.mjs +2 -2
  56. package/browser/esm/{BeNiW7K89qdTHcyZ.mjs → sZ-OlGRn3tftSRQo.mjs} +1 -1
  57. package/{browser/esm/DHzDNjbwGeV557ui.mjs → node/esm/BAo36lBnQlvEr4dC.mjs} +1 -1
  58. package/node/esm/{B3pPsPOxXfjIbpBc.mjs → BLx9RY501fxRpmUh.mjs} +1 -1
  59. package/node/esm/{DtMeBzYnl2ofA3SU.mjs → BUGUMXvtGVRJjqoa.mjs} +1 -1
  60. package/node/esm/{D6vgNmNn2sa8Zo2E.mjs → BY5bpznEGVoQ2nbr.mjs} +1 -1
  61. package/node/esm/{C5z5W2VKCDZxZErS.mjs → BZngrRnBLy2_q09D.mjs} +1 -1
  62. package/node/esm/{BS2w8nLO6jwewlIh.mjs → BaCXM0LlL1TEKxSV.mjs} +1 -1
  63. package/{browser/esm/DSq_gbos0Y_f1e79.mjs → node/esm/BwZ944RRk5Fvs6Yd.mjs} +1 -1
  64. package/{browser/esm/eQPdjMXubhwL38RR.mjs → node/esm/C1G-xsCH6Y_ja7D_.mjs} +1 -1
  65. package/{browser/esm/CRdl_Q0yPGAfPz6h.mjs → node/esm/CAzE79mu7a-x2pEZ.mjs} +1 -1
  66. package/{browser/esm/DtMc3NKUQdBlPqjH.mjs → node/esm/CEm5O9cEAKspymuB.mjs} +1 -1
  67. package/node/esm/{JFehdQ_Sk02CZY_O.mjs → CSeyYzHBuoitKLbn.mjs} +1 -1
  68. package/{browser/esm/CQc0tnp5lxsTPGdY.mjs → node/esm/Cmpebek34NmB7dV0.mjs} +1 -1
  69. package/node/esm/{BDSR4TWQKSu4MJs5.mjs → D0auuAKpMpbhgEMy.mjs} +1 -1
  70. package/node/esm/{DxDSAU2V0O76Q2g9.mjs → DDEe6q9G_Pmz1lDx.mjs} +1 -1
  71. package/{browser/esm/C4mqQtlHSj_kEvZt.mjs → node/esm/DDZRbsQDDnP5GEsf.mjs} +1 -1
  72. package/node/esm/{iaNS1GssHrDrrGa9.mjs → DJqp9vjX0ZdGvX7s.mjs} +1 -1
  73. package/node/esm/{Ckwnr4G6FNOBxUKU.mjs → DPbybjBmhyd8GfFC.mjs} +1 -1
  74. package/node/esm/{DlH4gSCmCWHrZ5KA.mjs → DZ2bNT_wREthJFNz.mjs} +2 -2
  75. package/node/esm/{BLLhl3k63e5tEJYP.mjs → DZnIIFWA1G12eVHx.mjs} +1 -1
  76. package/{browser/esm/CYEygIjH4EBxGCp5.mjs → node/esm/Db5bJe8Onimcrhvj.mjs} +1 -1
  77. package/node/esm/{5ncGZrnXLJWZdlAS.mjs → DleT-7IR4Y9SNWld.mjs} +1 -1
  78. package/node/esm/{DhJTZCn3Uv0UfNlL.mjs → DnKyXPJdm_lAYion.mjs} +1 -1
  79. package/node/esm/{C8SJyJrK7wauvaYH.mjs → K-TBJLm0kRanHzjh.mjs} +1 -1
  80. package/node/esm/index.mjs +485 -491
  81. package/node/esm/{D5GT8lL2mkHYYpEm.mjs → llZohIB6k9AHOBpc.mjs} +1 -1
  82. package/node/esm/{BeNiW7K89qdTHcyZ.mjs → sZ-OlGRn3tftSRQo.mjs} +1 -1
  83. package/package.json +4 -4
  84. package/types/index.d.ts +12 -3
  85. package/types/scripting.d.ts +50 -16
  86. package/browser/cjs/CY9eCFSjX4vHL2wh.cjs +0 -55
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.22
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.7.24
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -18,8 +18,8 @@ const N = (t2, e2) => {
18
18
  e2.get(r2) !== t3 && n2.set(r2, t3);
19
19
  }), n2;
20
20
  };
21
- let k = false;
22
- class F {
21
+ let F = false;
22
+ class k {
23
23
  constructor(t2) {
24
24
  this._record = t2;
25
25
  }
@@ -44,15 +44,15 @@ class F {
44
44
  }
45
45
  class O {
46
46
  constructor(t2) {
47
- this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ?? k, this._isTransient = t2?.transient ?? false, this._author = t2?.author;
48
- const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new F(e2) };
47
+ this._listeners = /* @__PURE__ */ new Set(), this._listenersState = /* @__PURE__ */ new Map(), this._commits = /* @__PURE__ */ new Map(), this._locked = false, this._current = null, this._pending = null, this._isSync = t2?.sync ?? F, this._isTransient = t2?.transient ?? false, this._author = t2?.author;
48
+ const e2 = { id: "0", description: "initial", meta: {}, author: this._author, timestamp: Date.now(), states: /* @__PURE__ */ new Map(), version: 0, previousId: null }, n2 = { record: e2, commit: new k(e2) };
49
49
  this._current = n2, this._cacheModel = null, this._cacheState = null, this._states = e2.states, this._transactionStack = [], this._transactionOpen = false;
50
50
  const r2 = /* @__PURE__ */ new Map();
51
51
  r2.set(e2.id, n2), this._commits = r2;
52
52
  }
53
53
  static {
54
54
  this.setDefaultSync = (t2) => {
55
- k = t2;
55
+ F = t2;
56
56
  };
57
57
  }
58
58
  getLog(t2, e2 = 100) {
@@ -132,7 +132,7 @@ class O {
132
132
  };
133
133
  let l2;
134
134
  if (0 === n2.length) {
135
- const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new F(n3) };
135
+ const e3 = this._current.record, n3 = { states: /* @__PURE__ */ new Map(), id: o.uuidV4(), description: "string" == typeof t2 ? t2 : t2?.description ?? null, meta: {}, timestamp: Date.now(), author: null, version: e3.version + 1, previousId: e3.id, viewBefore: null, viewAfter: {}, operation: t2?.operation }, r3 = { record: n3, commit: new k(n3) };
136
136
  this._pending = r3, this._notify("onCommitStart", r3.commit), l2 = new B(this, r3, e3?.states, t2, a2);
137
137
  } else {
138
138
  l2 = n2[n2.length - 1].beginTransaction(t2, a2);
@@ -377,13 +377,13 @@ class z extends s {
377
377
  }
378
378
  const P = () => {
379
379
  try {
380
- return "0.7.22";
380
+ return "0.7.24";
381
381
  } catch (t2) {
382
382
  return "";
383
383
  }
384
384
  }, H = Object.freeze(Object.defineProperty({ __proto__: null, getBuildDate: () => {
385
385
  try {
386
- return "Sun Oct 19 2025";
386
+ return "Mon Oct 20 2025";
387
387
  } catch (t2) {
388
388
  return "";
389
389
  }
@@ -471,198 +471,192 @@ Cpus: ${r3}`), console.log(a2(o2)), o2 = null;
471
471
  return r2.join("");
472
472
  })(t2, n2 - e2), J = (t2) => "object" == typeof window ? window.atob(t2) : Buffer.from(t2, "base64").toString("ascii");
473
473
  function q(t2, e2, n2, r2, o2) {
474
- return st(e2 - 882, r2);
474
+ return K(o2 - -23, r2);
475
475
  }
476
- function K(t2, e2, n2, r2, o2) {
477
- return st(e2 - 299, t2);
476
+ function K(t2, e2) {
477
+ const n2 = rt();
478
+ return K = function(e3, r2) {
479
+ let o2 = n2[e3 -= 287];
480
+ if (void 0 === K.UYXYAv) {
481
+ const e4 = function(t3, e5) {
482
+ let n3, r3, o3 = [], s3 = 0, i3 = "";
483
+ for (t3 = (function(t4) {
484
+ let e6 = "", n4 = "";
485
+ for (let n5, r4, o4 = 0, s4 = 0; r4 = t4.charAt(s4++); ~r4 && (n5 = o4 % 4 ? 64 * n5 + r4 : r4, o4++ % 4) ? e6 += String.fromCharCode(255 & n5 >> (-2 * o4 & 6)) : 0) r4 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r4);
486
+ for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
487
+ return decodeURIComponent(n4);
488
+ })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
489
+ for (r3 = 0; r3 < 256; r3++) s3 = (s3 + o3[r3] + e5.charCodeAt(r3 % e5.length)) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3;
490
+ r3 = 0, s3 = 0;
491
+ for (let e6 = 0; e6 < t3.length; e6++) r3 = (r3 + 1) % 256, s3 = (s3 + o3[r3]) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3, i3 += String.fromCharCode(t3.charCodeAt(e6) ^ o3[(o3[r3] + o3[s3]) % 256]);
492
+ return i3;
493
+ };
494
+ K.yrSWek = e4, t2 = arguments, K.UYXYAv = true;
495
+ }
496
+ const s2 = e3 + n2[0], i2 = t2[s2];
497
+ return i2 ? o2 = i2 : (void 0 === K.REGrVv && (K.REGrVv = true), o2 = K.yrSWek(o2, r2), t2[s2] = o2), o2;
498
+ }, K(t2, e2);
499
+ }
500
+ function X(t2, e2, n2, r2, o2) {
501
+ return K(n2 - -542, o2);
478
502
  }
479
503
  !(function() {
480
- const t2 = "SSfl", e2 = "UosF", n2 = 774, r2 = "EnBH", o2 = 829, s2 = "P!XI", i2 = 879, a2 = 577, l2 = "DwwS", c2 = "ps*x", h2 = "u965", d2 = 615, u2 = 770;
504
+ const t2 = "ys*q", e2 = "iU7d", n2 = 216, r2 = "yupe", o2 = "%A9[", s2 = 149, i2 = 171, a2 = "yxK[", l2 = 300, c2 = 326, h2 = "s!b9";
505
+ function d2(t3, e3, n3, r3, o3) {
506
+ return K(o3 - -481, r3);
507
+ }
508
+ function u2(t3, e3, n3, r3, o3) {
509
+ return K(n3 - -138, o3);
510
+ }
481
511
  function g2(t3, e3, n3, r3, o3) {
482
- return st(r3 - u2, e3);
512
+ return K(n3 - -60, r3);
483
513
  }
484
514
  function m2(t3, e3, n3, r3, o3) {
485
- return st(e3 - 641, t3);
515
+ return K(e3 - -319, n3);
486
516
  }
487
517
  function f2(t3, e3, n3, r3, o3) {
488
- return st(e3 - -715, r3);
489
- }
490
- function p2(t3, e3, n3, r3, o3) {
491
- return st(o3 - d2, r3);
518
+ return K(t3 - -140, e3);
492
519
  }
493
- function _2(t3, e3, n3, r3, o3) {
494
- return st(t3 - -110, r3);
495
- }
496
- const S2 = ht();
520
+ const p2 = rt();
497
521
  for (; ; ) try {
498
- if (422799 === -parseInt(m2(t2, 908)) / 1 * (parseInt(f2(0, -487, 0, "yTkX")) / 2) + -parseInt(f2(0, -453, 0, "D@ku")) / 3 * (-parseInt(m2(e2, n2)) / 4) + -parseInt(m2(r2, o2)) / 5 * (parseInt(_2(94, 0, 0, "DwwS")) / 6) + parseInt(m2(s2, i2)) / 7 + parseInt(f2(0, -a2, 0, l2)) / 8 * (-parseInt(f2(0, -586, 0, "wqa9")) / 9) + -parseInt(p2(0, 0, 0, c2, 922)) / 10 + -parseInt(g2(0, "JEJ5", 0, 946)) / 11 * (-parseInt(_2(142, 0, 0, h2)) / 12)) break;
499
- S2.push(S2.shift());
522
+ if (127213 === parseInt(d2(0, 0, 0, "tR31", -81)) / 1 * (parseInt(d2(0, 0, 0, t2, -11)) / 2) + parseInt(m2(0, 14, e2)) / 3 + -parseInt(f2(n2, r2)) / 4 + parseInt(d2(0, 0, 0, o2, -s2)) / 5 + parseInt(u2(0, 0, i2, 0, a2)) / 6 * (-parseInt(g2(0, 0, l2, "Lg0^")) / 7) + parseInt(f2(c2, "a0Fx")) / 8 + -parseInt(f2(190, h2)) / 9) break;
523
+ p2.push(p2.shift());
500
524
  } catch (t3) {
501
- S2.push(S2.shift());
525
+ p2.push(p2.shift());
502
526
  }
503
527
  })();
504
- const X = () => {
505
- const t2 = "&C7^", e2 = "]#[p";
506
- if (typeof window === n2("#Um(", 776)) return window[n2(t2, 793)][n2("1NDV", 845)];
507
- function n2(t3, e3, n3, r2, o2) {
508
- return st(e3 - 603, t3);
509
- }
510
- return o[n2(e2, 722)]();
511
- }, Y = () => {
512
- const t2 = "1NDV", e2 = 305, n2 = 863;
513
- function r2(t3, n3, r3, o2, s2) {
514
- return st(r3 - e2, t3);
515
- }
516
- return X()[r2("zHPK", 0, 564)](st(1040 - n2, t2)) || X() === r2("hWvx", 0, 441);
517
- };
518
- function Q(t2, e2, n2, r2, o2) {
519
- return st(o2 - -829, e2);
520
- }
521
- function Z(t2, e2, n2, r2, o2) {
522
- return st(e2 - 350, n2);
523
- }
524
- const tt = (t2, e2, n2, r2) => {
525
- const o2 = 756, s2 = "(nX5", i2 = "PbeI", a2 = 652, l2 = 624;
526
- function c2(t3, e3, n3, r3, o3) {
527
- return st(o3 - l2, r3);
528
+ const Y = () => {
529
+ const t2 = "a0Fx", e2 = 535, n2 = "Km(t";
530
+ function r2(t3, e3, n3, r3, o2) {
531
+ return K(e3 - 209, n3);
528
532
  }
529
- function h2(t3, e3, n3, r3, o3) {
530
- return st(t3 - 960, e3);
533
+ return typeof window === K(-425 - -784, "0y89") ? window[s2 = t2, i2 = -99, K(i2 - -544, s2)][r2(0, e2, "ici#")] : o[r2(0, 513, n2)]();
534
+ var s2, i2;
535
+ }, Q = () => {
536
+ const t2 = "GxFu", e2 = 156, n2 = "iU7d", r2 = 32, o2 = 51;
537
+ function s2(t3, e3, n3, r3, o3) {
538
+ return K(o3 - -321, e3);
531
539
  }
532
- function d2(t3, e3, n3, r3, o3) {
533
- return st(r3 - a2, o3);
540
+ return Y()[s2(0, t2, 0, 0, e2)](s2(0, n2, 0, 0, r2)) || Y() === s2(0, "pSaa", 0, 0, o2);
541
+ }, Z = (t2, e2, n2, r2) => {
542
+ const o2 = "@2a5", s2 = "Lg0^", i2 = 342;
543
+ function a2(t3, e3, n3, r3, o3) {
544
+ return K(o3 - -495, t3);
534
545
  }
535
- function u2(t3, e3, n3, r3, o3) {
536
- return st(t3 - -34, r3);
546
+ function l2(t3, e3, n3, r3, o3) {
547
+ return K(n3 - -189, r3);
548
+ }
549
+ function c2(t3, e3, n3, r3, o3) {
550
+ return K(o3 - -430, t3);
551
+ }
552
+ function h2(t3, e3, n3, r3, o3) {
553
+ return K(t3 - -808, o3);
537
554
  }
538
- return { getLicensee: () => t2[h2(1109, "YoGQ")], getExpiration: () => new Date(t2[h2(1169, "]#[p")]), getDomains: () => t2[c2(0, 0, 0, "rn4K", 853)] ?? [], getDeveloperCount: () => t2[d2(0, 0, 0, 838, "eckh")] ?? 1, getCpuCount: () => t2[d2(0, 0, 0, 893, "EGKx")] ?? 0, getType: () => {
539
- return t2[e3 = "]#[p", n3 = -563, st(n3 - -708, e3)] ?? h2(1179, "3SR*");
540
- var e3, n3;
541
- }, getExceptions: () => e2, hasExceptions() {
542
- return !!e2 && e2[t3 = i2, n3 = 570, h2(n3 - -588, t3)] > 0;
555
+ return { getLicensee: () => t2[h2(-490, 0, 0, 0, "XAIy")], getExpiration: () => new Date(t2[h2(-461, 0, 0, 0, "oZNK")]), getDomains: () => t2[l2(0, 0, 228, "6$eS")] ?? [], getDeveloperCount: () => t2[c2("tR31", 0, 0, 0, 26)] ?? 1, getCpuCount: () => t2[a2("@2a5", 0, 0, 0, -172)] ?? 0, getType: () => t2[c2("j80T", 0, 0, 0, -56)] ?? h2(-382, 0, 0, 0, "4V^x"), getExceptions: () => e2, hasExceptions() {
556
+ return !!e2 && e2[t3 = -100, n3 = "yxK[", h2(t3 - i2, 0, 0, 0, n3)] > 0;
543
557
  var t3, n3;
544
558
  }, isValidFor: (t3) => {
545
- const n3 = 192;
546
- if (e2?.[r3 = "PbeI", o3 = 356, u2(o3 - n3, 0, 0, r3)] > 0) return false;
547
- var r3, o3;
559
+ const n3 = 411;
560
+ if (e2?.[r3 = "(AOC", o3 = 783, s3 = o3 - n3, i3 = r3, K(s3 - -47, i3)] > 0) return false;
561
+ var r3, o3, s3, i3;
548
562
  return true;
549
- }, isValid: () => true, isEval: () => false, getFeatures: () => Object[u2(278, 0, 0, "CD5q")](t2[h2(1205, "G(f&")] ?? {}), getKeyFrom: () => n2, getBuildVersion: H[c2(0, 0, 0, "CD5q", o2)], getBuildDate: H[u2(147, 0, 0, s2)] };
550
- }, et = (t2) => {
551
- const e2 = 309, n2 = 397, r2 = 418, s2 = 1011, i2 = 402, a2 = 444, l2 = 441, c2 = "ps*x", h2 = "4b8y", d2 = 102;
552
- let u2 = o[g2(1011, 891, 988, 910, "m*^!")];
563
+ }, isValid: () => true, isEval: () => false, getFeatures: () => Object[a2("Rzxh", 0, 0, 0, -115)](t2[c2("Y5M&", 0, 0, 0, 60)] ?? {}), getKeyFrom: () => n2, getBuildVersion: H[h2(-431, 0, 0, 0, o2)], getBuildDate: H[l2(0, 0, 231, s2)] };
564
+ }, tt = (t2) => {
565
+ const e2 = "FxzG", n2 = 267, r2 = "Rzxh", s2 = "ys*q", i2 = 222, a2 = 213, l2 = 795;
566
+ function c2(t3, e3, n3, r3, o2) {
567
+ return K(t3 - -190, r3);
568
+ }
569
+ let h2 = o[c2(220, 0, 0, "yzvI")];
570
+ function d2(t3, e3, n3, r3, o2) {
571
+ return K(n3 - l2, r3);
572
+ }
573
+ function u2(t3, e3, n3, r3, o2) {
574
+ return K(o2 - -611, r3);
575
+ }
576
+ if (Q() || o[c2(147, 0, 0, e2)]()) {
577
+ const t3 = H[g2("oZNK", n2)](), e3 = new Date(t3), o2 = /* @__PURE__ */ new Date(), a3 = 864e5;
578
+ Math[d2(0, 0, 1168, "IoxP")]((o2[d2(0, 0, 1219, r2)]() - e3[u2(0, 0, 0, s2, -243)]()) / a3) >= 120 && (h2 = [c2(i2, 0, 0, r2)]);
579
+ } else h2 = [];
553
580
  function g2(t3, e3, n3, r3, o2) {
554
- return st(n3 - 867, o2);
581
+ return K(e3 - -134, t3);
555
582
  }
556
- function m2(t3, e3, n3, r3, o2) {
557
- return st(r3 - -858, e3);
558
- }
559
- function f2(t3, e3, n3, r3, o2) {
560
- return st(o2 - -642, n3);
561
- }
562
- if (Y() || o[_2(500, e2, "Lp#5", n2)]()) {
563
- const t3 = H[_2(488, 373, "1v1Q", r2)](), e3 = new Date(t3), n3 = /* @__PURE__ */ new Date(), o2 = 864e5;
564
- Math[g2(0, 0, s2, 0, "GY47")]((n3[_2(i2, a2, "q10S", l2)]() - e3[f2(0, 0, "G(f&", 0, -323)]()) / o2) >= 120 && (u2 = [_2(421, 278, c2, 365)]);
565
- } else u2 = [];
566
- function p2(t3, e3, n3, r3, o2) {
567
- return st(n3 - d2, t3);
568
- }
569
- function _2(t3, e3, n3, r3, o2) {
570
- return st(r3 - 215, n3);
571
- }
572
- return { getLicensee: () => f2(0, 0, "m*^!", 0, -449), getExpiration: () => null, getDomains: () => [X()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => p2("@7gi", 0, 287), isEval: () => true, getExceptions: () => u2, hasExceptions: () => u2[p2("#Um(", 0, 378)] > 0, isValidFor: () => 0 === u2[p2("GY47", 0, 224)], isValid: () => false, getFeatures: () => Object[m2(0, "m*^!", 0, -740)]({}), getKeyFrom: () => t2, getBuildVersion: H[m2(0, h2, 0, -641)], getBuildDate: H[f2(0, 0, "f9o0", 0, -331)] };
573
- }, nt = () => {
574
- const t2 = "rn4K";
575
- if (rt[e2 = 432, n2 = "&C7^", st(e2 - 230, n2)] && rt[r2(-674, -581, -643, -488, "rn4K")]) return false;
576
- var e2, n2;
577
- function r2(t3, e3, n3, r3, o3) {
578
- return st(e3 - -803, o3);
579
- }
580
- const o2 = rt[r2(0, -560, 0, 0, "]#[p")];
581
- var s2, i2;
582
- return !!(o2[r2(0, -606, 0, 0, "BnOa")]() || o2[r2(0, -620, 0, 0, t2)]() || o2[s2 = -666, i2 = "&C7^", st(s2 - -922, i2)]()?.pb);
583
- }, rt = { promise: null, printNeeded: false, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
584
- function ot(t2, e2, n2, r2, o2) {
585
- return st(r2 - 210, e2);
583
+ return { getLicensee: () => d2(0, 0, 1200, "Km(t"), getExpiration: () => null, getDomains: () => [Y()], getDeveloperCount: () => 1, getCpuCount: () => 0, getType: () => c2(249, 0, 0, "XAIy"), isEval: () => true, getExceptions: () => h2, hasExceptions: () => h2[u2(0, 0, 0, "BSR3", -143)] > 0, isValidFor: () => 0 === h2[g2("GxFu", 288)], isValid: () => false, getFeatures: () => Object[u2(0, 0, 0, "f@k(", -176)]({}), getKeyFrom: () => t2, getBuildVersion: H[c2(a2, 0, 0, "Rzxh")], getBuildDate: H[d2(0, 0, 1164, "Km(t")] };
584
+ };
585
+ function et(t2, e2, n2, r2, o2) {
586
+ return K(r2 - -546, t2);
586
587
  }
587
- function st(t2, e2) {
588
- const n2 = ht();
589
- return st = function(e3, r2) {
590
- let o2 = n2[e3 -= 117];
591
- if (void 0 === st.HRzRBa) {
592
- const e4 = function(t3, e5) {
593
- let n3, r3, o3 = [], s3 = 0, i3 = "";
594
- for (t3 = (function(t4) {
595
- let e6 = "", n4 = "";
596
- for (let n5, r4, o4 = 0, s4 = 0; r4 = t4.charAt(s4++); ~r4 && (n5 = o4 % 4 ? 64 * n5 + r4 : r4, o4++ % 4) ? e6 += String.fromCharCode(255 & n5 >> (-2 * o4 & 6)) : 0) r4 = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r4);
597
- for (let t5 = 0, r4 = e6.length; t5 < r4; t5++) n4 += "%" + ("00" + e6.charCodeAt(t5).toString(16)).slice(-2);
598
- return decodeURIComponent(n4);
599
- })(t3), r3 = 0; r3 < 256; r3++) o3[r3] = r3;
600
- for (r3 = 0; r3 < 256; r3++) s3 = (s3 + o3[r3] + e5.charCodeAt(r3 % e5.length)) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3;
601
- r3 = 0, s3 = 0;
602
- for (let e6 = 0; e6 < t3.length; e6++) r3 = (r3 + 1) % 256, s3 = (s3 + o3[r3]) % 256, n3 = o3[r3], o3[r3] = o3[s3], o3[s3] = n3, i3 += String.fromCharCode(t3.charCodeAt(e6) ^ o3[(o3[r3] + o3[s3]) % 256]);
603
- return i3;
604
- };
605
- st.bQbJuZ = e4, t2 = arguments, st.HRzRBa = true;
606
- }
607
- const s2 = e3 + n2[0], i2 = t2[s2];
608
- return i2 ? o2 = i2 : (void 0 === st.wHrFKZ && (st.wHrFKZ = true), o2 = st.bQbJuZ(o2, r2), t2[s2] = o2), o2;
609
- }, st(t2, e2);
588
+ function nt(t2, e2, n2, r2, o2) {
589
+ return K(r2 - -535, e2);
610
590
  }
591
+ function rt() {
592
+ const t2 = ["W6pdOu4gW7JcTa", "wSoXm8kpW7O0WPNcRsnoW5VcNSoS", "zSkJdmo1WQ/dTqe", "zSojW5JcGfrGq8o6uLTfWRa", "CGrPeYuVfa", "mmo2r1xcNdJcOSkEbSoCWOxdJHq", "WROVy3pcRmoljCopCG", "zbPPet4", "W5v3st0", "vJ7cSSohgYxcSv3dPMCOuWbNW77cMSoIDKWN", "W6tcV8kkE8oDkq", "AqZcVg4lW5rPWPVcLqrqW5xcMtzv", "W4DimSkTW7y", "WOZcNrbdphmHW6uc", "W4ubpmoxp8oi", "WOZcMWngo2mcW7ajWOStW4y", "W7bsva/cRSketWNdTwBdGYldHW", "AmoFW6NcTebL", "W4ONFSoGWRXcnW", "WQhdMCkBlNfDWQ3cHmozW6FcQf10ha", "W65ta8oMqZRdPgu", "y8ozW7CgbxeP", "bK5JWPm2i8k3Amk0W5W6yW", "W7fhW5pcNd/dJCo6cN/dISozWPldNq", "zcebzwq", "W554WPDrW5L+eMpcNmkQEwi/WRC", "hmo4cv/cLIFcK8kfaCobW5hdMaajWRNdMuaFa2S", "FmowW60sdf47", "W5DvnSkTW7miWOS", "WQ0gW5BdPCkJpmomWQ1HWQCUy2m", "W5rcjc/dS8krESk+ha", "WQtcIGj/j34UW6ucWOe", "W5nwkW", "WQmdcfxdV8kavHBdR1hdPq", "yCkGwNhcNrRcVSkP", "z8o8zvJdJCkwWOajW6KsWOtdQq", "WRddVNhcT8kmsHpdQCopW6POo3RcIq", "W4qwlCoWmmoejmkGfCooWOi0W6JdJgi", "t3NcMNzIe8oJivi", "rmoAW43cRLrOw8o3EvqrWPNcLmkSWPC0W7BdNW", "DHn+cG", "zHnYhYuWaG", "WOFdNs0pcxyzjSkpWOa", "WONdOM7cUmkuyrBcP8ofW6b3", "xCoZWP/dGhxcIYusWQlcKW", "W4Oaf8oDiCoi", "W6yfomoEmmompmkTlmofW5a3W6tdKwxdG8knW78wW7RdNuO2WQ/cHW", "jvqgW6HOWRD8AmkbWRXwW4C", "WOxcOuRdM2/dQa", "WOldHXGlc2Wy", "zrnYpdK1hCoFW5ZdU07cVGxdGCoU", "W5jxmmkBW6TVWR8", "A8o7WPVdV2NcSW", "kmoGh0NdM8kG", "WP7dTxpcLmkvsHVcRCoVW6rXpW", "W4LPWOjcW4rHnLRcMSkR", "WQNdMCkbkgXz", "yeFcU8kWWODrWO7cHCosEhpcNmk0W5hcPJa", "W4qwlCoMlmoalq", "D2ZcNffJa8ocdui6f0Pz", "W7LYWO5DW4v8ceFcLW", "WR/cGHjko2qLW5OcWPW", "CCoTWQRdGM3cPG", "DIpcISojeYK", "W7VdQ2WoW6/cVCocdcZcMwCmCSoyumo7wmoE", "W57cGhPyuZCTc8knWOZdHSkz", "W6FcKq3cU8k6W5i", "jSk9BZ3cLZ3dNa", "WRRcMcDoox4K", "pmkZouTuW5a", "W6jbuW/cV8k4EH7dUg3dKW", "W4a2WO/cM8k2WO3cN8oFjSoC", "mCkODZxcIG", "hMerW6G", "W41fwW3cOSksFG/dUq", "dCk0W79UW5GglXVcTsxcNSoudq", "W4jeW4ddMG", "W75ylxH+dSkI", "W48wn8ovmCof", "EGSMrKNdUCojWRy", "oSkXW6n7W5imjb8", "WRFdVYFcS8kyuX7cU8okW7fSnx0", "W4yJECoeWQ1niCoQW71li8o6W6e", "WOegW4ddUmooASkQzG", "WQldMCkBc31fWR/cVCohW70", "W4feWPBcTmo9E8kXWP5fWO0Uvv4", "wg7cH1z5m8oJhfCYeLu", "W5rdW5BdL8oqxW", "CSkYgCotWRldQZpcNJmw", "W754wdqxW4BdPwBdIG", "nSoYx17cLsxcGSkjhCoXWP7dNH4y", "WOZcJX5/j34UW6u", "W7HPns/dQmkwqSkin0u", "W51saSorrtS", "WPhdTwHBW69QW7S8cwvQda", "W65OhmoexIFdPu7cKa", "xSk2cSoiWQJdRcBcLIKqvCo/", "wCkZjCoCB8oxlmkpxJWiFCoWxa", "E1tcQ31zl8okn3OspwnKztBdU8k5W6qL", "hCo6WQvBArOiWPPtlNZcSfK", "j1XXea/cOCkqWPRcKmoAW79KWRa", "telcLmkZW4n4", "WRBcTfBdLxxdTa", "sXHWhYa1fCkBW6/dPKZcPb7dJ8o0WPZcVem", "mmo2sSkvW7ldRI3cMJqNyG", "hCkUEJdcLZxdJSotdG", "CtarerVcMSoCAdBdSf0", "W4zknmkuW7zpWQLPW7DnrW", "WRBcKWfgj24", "os/cSwC5W6vl", "mSkAWP7dSXG7D8ovyhXKWRe", "WQddKSklpe9yWQRcVa", "W4aCn8oulmokg8kWlmozWPu", "W7TaFXFcQSkA", "FCkDWRyEWPi9WPi", "CCozW5/cQG", "WOCZkGWlWQFdTCocWOhdRNFdRCkj", "ch8vW6hcRWBcVG", "a0P5WR8MomklFSkzW5m6y1G", "ASkkWQ0XWO4NWPVdJ3vcWONdNLqCWPy", "W7DlsGJcUCkp", "W77cUmkUF8oinLpcP8ksWQm", "WQtdG1ZdVCoPWOxcRYRcK8oQWRzQ", "W4vYDbhdTCkgCmkpmeHRW5ZdGSk/", "W7HrWOxcQCoMFCkqWOG", "W5z4WO1xW4r6", "pCkKkgHlW5rqWPvcy8oi", "WOBdONn0W7nWW7i", "srq3tLpdPa", "W6hcPCkSAmosnMhcHCkdWRi", "wdC8W63cUbVcVmo6zSorBmkhmq", "EGSI", "tCkKomotCSo5pSkXqJau", "CqjNcJKV", "W5bvnCk/W7ukWP0kCw3cSbVdKInnWRRcGhNdGG", "amk7W6HyW7CmpGm", "W41dsaJcPCkc", "W71pnL5Yba", "zrnYnsKL", "CCk0eCopWRldLGhcKImBva", "WQhdMCkBlNfDWQ0", "W7zlW5ZcMZBcNW", "ACkkWQ0sWPiIWOq", "zSojW5JcJxi", "hueAW6r0WQjkBmkHWR1xW5b2W7O", "urNcUKuqW4K", "WOe3mamhWRNdLSoGWPRdQw3dVmkioG", "W75yk3TJoCkIumk6WOn/Da", "WR7cSXvsWRZdRSoJhaNcQgSi", "rmkIW6yNjdqGWPjMhMm", "W5rzm8kuW6DZWPX+W7Pgv8ooW6i", "W4POWPby", "W4H9DZCAW4C", "qCoGlmkJW7y", "iSoGbu3dH8oGWQFdKGy", "x8oPy3pdLSklWQGiW5KsWPNdOaq", "sYmAyN7dSv3dVG7cOfRdJG", "f34tW6hcTq3cT8oS", "sSoiW6KAdKm", "yCkkWRCuWO8M", "W7L4jZldSmktCa", "W7HgWOhcUmoPAG", "BrNcVw8rW4HRWOS", "C8o7WPBdSN7cPtO", "fSkGW7XBW5iaorJcKt7cMmoucG", "wSo/m8k+W6W2WPhcUa", "jvivW61VWQDFFCkk", "l8oGcgJdNCkNW60", "WR7cTeZdK2JdScG4A3lcPmoSv8ku", "pSoDW6TlW4T9W47dVxnSWPldT3m", "e8k0W6bEW4uJpa", "WOidA8o1WQ8RWRuLwudcQa", "WQddGf3dVmoTWOxcSZNcLCopWPzb", "CCoEW4pcR0H6sG", "W6PpnNr+eCk0DmkPWOn9C0FcUa", "W7ZdReueW7JcPmocnGtcKxamt8oFr8onxCoCWPq", "WRRcMd9amxi", "WQS9zaKlWQW", "W4SSFmoxWRrC", "WPBcUfVdL2/dRZ5iFgpcUSoXqmkvceugWRri", "W4zkmSkxW6TYWQK", "cvavW7nYWRbPymkBWRO", "W5lcK8k/F8otmwVcKCk5", "W7NcVSkMya", "vLtcRSkqW45+WOlcImoeC0VcNmoT", "aSkWW7HVW4urkWlcRt8", "zCoHyxpdISkg", "eSo+WQjADa0mWOnlna", "FqZcVgaxW55GWPhcSarPW4pcIq", "W5eYWPFcQSk2WR/cIa", "v8oMiCkM", "FHZcU0q", "W7NcMWRcR8k1W5/cJsZcHG", "WRyAasC6WO3dQq", "sXXaWRy0W7iis8kBWRX3W6bN", "rSkTW6qVkeS1WQfrauBcUG", "DauRsvJdOSo2WQRcJCoAW49uWOW", "WQVdK8klkLfv", "cSk3W6zoW4mr", "W47dLN7cNCkNEZK", "W6HDWPFcTmoNlW", "Bf/cRmk9W4T0WOpdHSo7F2pcNmo6W6NcPMLyW6FdSXBdJKhdLSkaWQVcSmkh", "tSo2mxBdKCkCWOKdW54wW5ddVauNW7LNxaDW", "WQBdOhxcV8kovZpcRmoFW6rSnMa", "W48AoSoxk8oElCkpjSos"];
593
+ return (rt = function() {
594
+ return t2;
595
+ })();
596
+ }
597
+ const ot = () => {
598
+ const t2 = "sY8p", e2 = "s!b9", n2 = "yupe";
599
+ if (st[a2(-204, -156, -172, -223, "SqIZ")] && st[a2(-318, -248, -321, -412, t2)]) return false;
600
+ const r2 = st[a2(-446, -453, -353, -256, e2)];
601
+ function o2(t3, e3, n3, r3, o3) {
602
+ return K(t3 - -995, o3);
603
+ }
604
+ var s2, i2;
605
+ function a2(t3, e3, n3, r3, o3) {
606
+ return K(n3 - -656, o3);
607
+ }
608
+ return !!(r2[o2(-612, 0, 0, 0, "Km(t")]() || r2[o2(-530, 0, 0, 0, n2)]() || r2[s2 = "f@k(", i2 = -45, K(i2 - -332, s2)]()?.pb);
609
+ }, st = { promise: null, printNeeded: false, details: null, bannerPrinted: false, detailsPrinted: false, licenseKey: null, keyFrom: null };
611
610
  let it = false, at = false;
612
- const lt = Q(0, "&S2e", 0, 0, -649)[Q(0, "rn4K", 0, 0, -593)]("")[ot(0, "XwHR", 0, 476)]((t2, e2) => e2 + t2, "");
611
+ const lt = X(0, 0, -70, 0, "x*&*")[X(0, 0, -228, 0, "ici#")]("")[nt(0, "iU7d", 0, -103)]((t2, e2) => e2 + t2, "");
613
612
  class ct {
614
613
  constructor() {
615
- function t2(t3, e2, n2, r2, o2) {
616
- return ot(0, r2, 0, e2 - -753);
617
- }
618
- this[t2(0, -369, 0, "zHPK")][t2(0, -234, 0, "G(f&")] = null;
614
+ var t2, e2, n2, r2;
615
+ this[n2 = "PWGz", r2 = 1366, et(n2, 0, 0, r2 - 1451)][t2 = "0y89", e2 = -316, et(t2, 0, 0, e2 - -101)] = null;
619
616
  }
620
- async [K("u965", 554)](t2, e2 = false) {
621
- const n2 = 904, r2 = 930, s2 = "i07%", i2 = 1146, a2 = 937, l2 = 958, c2 = "yTkX", h2 = 1224, d2 = 984, u2 = 1046, g2 = 1044, m2 = 283, f2 = "mWS6", p2 = "#Um(", _2 = 869, S2 = "YoGQ", w2 = 305, y2 = 379, E2 = 424, C2 = 313, b2 = 396, v2 = 304, x2 = 222, I2 = "BnOa", R2 = "u965", A2 = 822, M2 = 1008, T2 = 1089, N2 = 998, k2 = 942, F2 = 892, O2 = "E^H#", D2 = 890, B2 = 838, L2 = 855, z2 = 934, P2 = "&C7^", H2 = "BnOa", W2 = "FJKy", V2 = 1007, j2 = 967, $2 = "wqa9", U2 = 1183, J2 = 1090, q2 = 1166, K2 = "zHPK", X2 = "PbeI", Y2 = 1120, Z2 = 1099, tt2 = 683, et2 = 1515;
622
- if (!t2 || t2[at2(437, 427, 374, "m*^!")](lt2(939, n2, r2, s2)) || t2[ht2("BnOa", i2, 1058, 1111)](lt2(a2, 933, l2, "ps*x")) || t2[ht2(c2, h2, 1106, 1157)](st2("1v1Q", d2, u2, g2)) || t2[nt2(-137, -154, "0mxY", -82)](at2(249, m2, 259, f2))) return it = true, o[nt2(8, -94, p2, -80)]() && await G[lt2(_2, 958, 891, S2)](t2, e2), await this[at2(w2, y2, E2, "G(f&")](true);
623
- if (it = false, !e2 && rt[at2(368, C2, b2, "YoGQ")]) {
624
- const t3 = await this[at2(x2, v2, 350, I2)]();
625
- if (t3[lt2(844, 875, 923, R2)]() && !t3[lt2(A2, 869, 898, "yTkX")]()) return t3;
617
+ async [nt(0, "@2a5", 0, -186)](t2, e2 = false) {
618
+ const n2 = "ys*q", r2 = 287, s2 = 222, i2 = 202, a2 = 39, l2 = 132, c2 = 294, h2 = 158, d2 = 301, u2 = 215, g2 = "j80T", m2 = "Rzxh", f2 = 87, p2 = "FxzG", _2 = 1223, S2 = 89, w2 = 179, y2 = 124, E2 = 1117, C2 = "(AOC", b2 = 71, v2 = "GxFu", x2 = 99, I2 = "BSR3", R2 = 58, A2 = 123, M2 = "yzvI", T2 = 220;
619
+ function N2(t3, e3, n3, r3, o2) {
620
+ return q(0, 0, 0, e3, t3 - 812);
626
621
  }
627
- function nt2(t3, e3, n3, r3, o2) {
628
- return Q(0, n3, 0, 0, t3 - 569);
622
+ if (!t2 || t2[k2(88, 27, "WCTk")](N2(1150, "Y5M&")) || t2[B2(277, n2, r2, s2, i2)](O2(-251, -262, "u6Ew")) || t2[N2(1276, "0*WN")](k2(a2, 63, "%A9[")) || t2[k2(l2, 106, "4V^x")](O2(-202, -248, "ici#"))) return it = true, o[B2(c2, "j9PS", h2, d2, u2)]() && await G[N2(1087, "sY8p")](t2, e2), await this[O2(-98, -157, g2)](true);
623
+ if (it = false, !e2 && st[D2(-528, -548, m2)]) {
624
+ const t3 = await this[B2(f2, p2, 57, 38, 127)]();
625
+ if (t3[N2(_2, "FxzG")]() && !t3[B2(S2, "0*WN", 134, w2, y2)]()) return t3;
629
626
  }
630
- function st2(t3, e3, n3, r3, o2) {
631
- return Q(0, t3, 0, 0, n3 - 1577);
627
+ st[D2(-485, -585, "1YuC")] = t2, st[N2(E2, C2)] = B2(98, "j9PS", 43, b2, 93), st[D2(-592, -620, v2)] = null, st[k2(265, 165, "s!b9")] = null;
628
+ const F2 = await this[N2(1116, "WCTk")]();
629
+ function k2(t3, e3, n3, r3, o2) {
630
+ return nt(0, n3, 0, e3 - T2);
632
631
  }
633
- function at2(t3, e3, n3, r3, o2) {
634
- return ot(0, r3, 0, e3 - -64);
632
+ if (!F2[O2(-138, -205, "1YuC")]()) throw await this[k2(0, x2, I2)](true), new Error(B2(45, "CbYt", 176, R2, A2));
633
+ function O2(t3, e3, n3, r3, o2) {
634
+ return q(0, 0, 0, n3, t3 - -530);
635
635
  }
636
- function lt2(t3, e3, n3, r3, o2) {
637
- return Q(0, r3, 0, 0, n3 - et2);
636
+ function D2(t3, e3, n3, r3, o2) {
637
+ return et(n3, 0, 0, t3 - -347);
638
638
  }
639
- rt[ht2("PbeI", 1077, M2, T2)] = t2, rt[lt2(N2, k2, 970, "ghdM")] = lt2(853, F2, 839, O2), rt[lt2(D2, 909, B2, "i07%")] = null, rt[lt2(L2, 857, z2, P2)] = null;
640
- const ct2 = await this[nt2(-102, 0, H2)]();
641
- if (!ct2[ht2(W2, V2, j2, 1024)]()) throw await this[ht2($2, U2, J2, q2)](true), new Error(st2(K2, 0, 947));
642
- function ht2(t3, e3, n3, r3, o2) {
643
- return ot(0, t3, 0, r3 - tt2);
639
+ function B2(t3, e3, n3, r3, o2) {
640
+ return et(e3, 0, 0, o2 - 294);
644
641
  }
645
- return await G[ht2(X2, Y2, 1063, Z2)](t2, e2), ct2;
642
+ return await G[D2(-475, 0, M2)](t2, e2), F2;
646
643
  }
647
- async [ot(0, "CD5q", 0, 485)](t2 = false) {
648
- const e2 = "@7gi", n2 = "#Um(", r2 = "0mxY", s2 = 22, i2 = "&S2e", a2 = 0, l2 = "EGKx", c2 = 491, h2 = "PbeI", d2 = "DwwS", u2 = "eckh", g2 = "UosF", m2 = "rn4K", f2 = "BnOa", p2 = ")MR]", _2 = 450, S2 = 482, w2 = 473, y2 = "UosF", E2 = 580, C2 = 816, b2 = 747, v2 = 156, x2 = 122, I2 = "i07%", R2 = 282, A2 = "CD5q", M2 = "f9o0", T2 = "E^H#", N2 = 3, k2 = "4b8y", F2 = "D@ku", O2 = "@7gi", D2 = 511, B2 = "ak3b";
649
- function L2(t3, e3, n3, r3, o2) {
650
- return K(t3, e3 - -1019);
651
- }
652
- function z2(t3, e3, n3, r3, o2) {
653
- return Z(0, r3 - -31, e3);
644
+ async [et("HdIM", 0, 0, -106)](t2 = false) {
645
+ const e2 = "tR31", n2 = "ys*q", r2 = 1245, s2 = 1153, i2 = "Km(t", a2 = "IoxP", l2 = 1299, c2 = 1230, h2 = "pSaa", d2 = "U!EI", u2 = 1287, g2 = 1222, m2 = 1128, f2 = 1057, p2 = 1106, _2 = "sY8p", S2 = "Rzxh", w2 = "6$eS", y2 = 1332, E2 = 1362, C2 = "7I*G", b2 = 1300, v2 = "XAIy", x2 = 1343, I2 = "yxK[", R2 = 1121, A2 = 1156, M2 = "Rzxh", T2 = 687, N2 = 1254, F2 = 1266, k2 = 527, O2 = 532, D2 = "2qvw", B2 = "4V^x", L2 = 399, z2 = 1162, P2 = 1145, W2 = 1152, V2 = 1223, j2 = 1175, $2 = "pSaa", q2 = "m)E!", rt2 = 1237, at2 = "PWGz", ct2 = 364, dt2 = 966, ut2 = 259, gt2 = 393, mt2 = 113;
646
+ function ft2(t3, e3, n3, r3, o2) {
647
+ return nt(0, e3, 0, t3 - -264);
654
648
  }
655
- function P2(t3, e3, n3, r3, o2) {
656
- return Z(0, t3 - -948, o2);
649
+ if (t2 && (st[Ct2("IoxP", 1295, 1260)] && !st[ft2(-428, e2, -400)] && this[ft2(-353, "0y89", -422)](), st[Ct2(n2, r2, s2)] = true), st[ft2(-465, i2)]) return st[vt2(1271, 1286, a2, l2, c2)];
650
+ if (!this[bt2(-570, -552, -560, -574, h2)][bt2(-693, -567, -702, -620, "$bsj")] && (this[pt2(-612, -514, -501, -537, "0*WN")][Ct2(d2, 1331, 1240)] = new Error("FV")), st[vt2(u2, g2, "6$eS", m2, 1201)]) return st[vt2(f2, 1168, "Spcl", p2, 1148)];
651
+ function pt2(t3, e3, n3, r3, o2) {
652
+ return X(0, 0, e3 - -315, 0, o2);
657
653
  }
658
- if (t2 && (rt[L2("wqa9", -551)] && !rt[at2(-674, e2, -619, -657)] && this[L2(n2, -426)](), rt[at2(-719, ")MR]", -725, -819)] = true), rt[ct2(-78, -152, r2, -4)]) return rt[ct2(-12, s2, "&S2e", -111)];
659
- if (!this[P2(-441, 0, 0, 0, "rn4K")][z2(0, "FJKy", 0, 610)] && (this[P2(-303, 0, 0, 0, i2)][ct2(a2, 51, l2, -4)] = new Error("FV")), rt[P2(-292, 0, 0, 0, "&S2e")]) return rt[z2(0, l2, 0, c2)];
660
- let W2 = null;
661
- rt[at2(-740, h2, -732, -735)] = new Promise((t3) => {
662
- W2 = t3;
654
+ let _t2 = null;
655
+ st[pt2(0, -414, 0, 0, _2)] = new Promise((t3) => {
656
+ _t2 = t3;
663
657
  });
664
- let V2, j2 = null;
665
- const $2 = async (t3, e3) => {
658
+ let St2, wt2 = null;
659
+ const yt2 = async (t3, e3) => {
666
660
  try {
667
661
  const i3 = ((t4) => {
668
662
  let e4 = t4;
@@ -677,190 +671,190 @@ class ct {
677
671
  throw new Error("Invalid license key.");
678
672
  }
679
673
  })(e3), a3 = await (async (t4) => {
680
- const e4 = "EnBH", n4 = "&S2e", r4 = 911, s4 = "P!XI", i4 = "zHPK", a4 = 1248, l4 = "UosF", c3 = 233, h3 = 907, d3 = "mWS6", u3 = "1v1Q", g3 = "wqa9", m3 = 1024, f3 = 98, p3 = "mWS6", _3 = 942, S3 = 423, w3 = 777, y3 = t4[R3(139, e4)];
681
- function E3(t5, e5, n5, r5, o2) {
682
- return st(r5 - w3, o2);
683
- }
684
- const C3 = t4[R3(235, n4)] ? new Date(t4[E3(0, 0, 0, r4, s4)]) : null;
685
- t4[I3(1196, i4, 1117, a4, 1174)];
686
- const b3 = [];
687
- function v3(t5, e5, n5, r5, o2) {
688
- return st(n5 - -592, e5);
689
- }
674
+ const e4 = 148, n4 = 8, r4 = 57, s4 = "HdIM", i4 = "4V^x", a4 = 314, l4 = "Lg0^", c3 = 26, h3 = 471, d3 = "BSR3", u3 = 432, g3 = "CbYt", m3 = "PWGz", f3 = "5%yF", p3 = 485, _3 = "tR31", S3 = "Rzxh", w3 = 144, y3 = "0y89", E3 = 298, C3 = 395, b3 = 43, v3 = t4[I3(126, 102, "%A9[", 37, 68)];
690
675
  function x3(t5, e5, n5, r5, o2) {
691
- return st(e5 - S3, t5);
676
+ return K(n5 - 2, e5);
692
677
  }
693
678
  function I3(t5, e5, n5, r5, o2) {
694
- return st(o2 - _3, e5);
679
+ return K(o2 - -326, n5);
680
+ }
681
+ const R3 = t4[I3(0, 0, "FxzG", 0, e4)] ? new Date(t4[A3(n4, 36, r4, s4, -19)]) : null;
682
+ function A3(t5, e5, n5, r5, o2) {
683
+ return K(o2 - -505, r5);
695
684
  }
696
- if (C3 ? isNaN(C3) ? b3[E3(0, 0, 0, h3, "1NDV")](R3(155, "zHPK")) : C3 < /* @__PURE__ */ new Date() && b3[I3(0, d3, 0, 0, 1108)](R3(102, "0mxY") + C3[v3(0, u3, -341)]()) : b3[x3(l4, 725)](R3(c3, "f9o0")), o[x3(e4, 684)]()) ;
685
+ t4[A3(-211, -150, -164, "GxFu", -147)];
686
+ const M3 = [];
687
+ function T3(t5, e5, n5, r5, o2) {
688
+ return K(r5 - b3, t5);
689
+ }
690
+ function N3(t5, e5, n5, r5, o2) {
691
+ return K(r5 - -300, e5);
692
+ }
693
+ if (R3 ? isNaN(R3) ? M3[I3(0, 0, "@2a5", 0, c3)](x3(0, "IoxP", h3)) : R3 < /* @__PURE__ */ new Date() && M3[T3("Km(t", 0, 0, 524)](I3(0, 0, d3, 0, 14) + R3[x3(0, "yxK[", u3)]()) : M3[x3(0, i4, a4)](A3(0, 0, 0, l4, -58)), o[I3(0, 0, g3, 0, 103)]()) ;
697
694
  else {
698
- if (Y()) return b3;
699
- if (y3 && 0 !== y3[I3(0, "EnBH", 0, 0, 1136)]) {
695
+ if (Q()) return M3;
696
+ if (v3 && 0 !== v3[N3(0, m3, 0, 159)]) {
700
697
  let t5 = false;
701
- const n5 = X();
702
- for (let r5 = 0; !t5 && r5 < y3[E3(0, 0, 0, 964, g3)]; r5++) t5 = n5[E3(0, 0, 0, m3, e4)](y3[r5]);
703
- !t5 && b3[R3(f3, p3)](v3(0, "4Z&Y", -299));
704
- } else b3[R3(159, "ak3b")](x3("(Cwj", 549));
705
- }
706
- function R3(t5, e5, n5, r5, o2) {
707
- return st(t5 - -68, e5);
698
+ const e5 = Y();
699
+ for (let n5 = 0; !t5 && n5 < v3[N3(0, S3, 0, w3)]; n5++) t5 = e5[x3(0, y3, E3)](v3[n5]);
700
+ !t5 && M3[T3("@2a5", 0, 0, C3)](N3(0, "Lg0^", 0, 102));
701
+ } else M3[T3(f3, 0, 0, p3)](A3(0, 0, 0, _3, -113));
708
702
  }
709
- return b3;
710
- })(i3), l3 = tt(i3, a3, t3);
711
- return l3[n3 = -487, r3 = B2, s3 = -468, ct2(s3 - -408, n3 - 338, r3, s3 - 340)]() && (V2 = l3), l3;
703
+ return M3;
704
+ })(i3), l3 = Z(i3, a3, t3);
705
+ return l3[n3 = 963, r3 = dt2, s3 = "0y89", bt2(n3 - ut2, r3 - gt2, s3 - mt2, n3 - 1492, s3)]() && (St2 = l3), l3;
712
706
  } catch (e4) {
713
- V2 = ((t4) => {
714
- const e5 = "]#[p", n4 = "EnBH", r4 = 217, o2 = 944;
715
- function s4(t5, e6, n5, r5, s5) {
716
- return st(r5 - o2, s5);
707
+ St2 = ((t4) => {
708
+ const e5 = "j9PS", n4 = 542, r4 = 102;
709
+ function o2(t5, e6, n5, o3, s5) {
710
+ return K(o3 - r4, e6);
717
711
  }
718
- return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => s4(0, 0, 0, 1061, ")MR]"), getExceptions: () => {
719
- return [(e6 = n4, r5 = 635, s4(0, 0, 0, r5 - -623, e6) + t4 + "'")];
720
- var e6, r5;
721
- }, hasExceptions: () => true, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, getFeatures: () => Object[s4(0, 0, 0, 1109, "D@ku")]({}), getKeyFrom: () => t4, getBuildVersion: H[s4(0, 0, 0, 1227, "#Um(")], getBuildDate: H[i3 = e5, a3 = 451, st(a3 - r4, i3)] };
722
- var i3, a3;
712
+ return { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => o2(0, "U!EI", 0, 495), getExceptions: () => {
713
+ return [(r5 = e5, s5 = n4, o2(0, r5, 0, s5 - 78) + t4 + "'")];
714
+ var r5, s5;
715
+ }, hasExceptions: () => true, isValidFor: (t5) => false, isValid: () => false, isEval: () => false, getFeatures: () => Object[o2(0, "5%yF", 0, 555)]({}), getKeyFrom: () => t4, getBuildVersion: H[o2(0, "IoxP", 0, 518)], getBuildDate: H[s4 = -17, i3 = "Spcl", K(s4 - -477, i3)] };
716
+ var s4, i3;
723
717
  })(t3);
724
718
  }
725
719
  var n3, r3, s3;
726
720
  };
727
- rt[z2(0, d2, 0, 569)] && (j2 = await $2(rt[L2(u2, -504)], rt[z2(0, "PbeI", 0, 515)]));
728
- let q2 = false;
729
- if (it && (q2 = true, j2 = et(P2(-463, 0, 0, 0, g2))), !j2) {
730
- if (o[ct2(-21, -27, "rn4K", -33)]()) {
731
- if (!j2) {
732
- const t3 = process[P2(-276, 0, 0, 0, "#Um(")], e3 = t3[at2(-804, u2, -712, -710)] || t3[z2(0, m2, 0, 460)] || t3[L2("@7gi", -421)] || t3[P2(-452, 0, 0, 0, f2)];
733
- e3 && (j2 = await $2(ct2(-190, -145, "JEJ5", -108), e3));
721
+ st[bt2(-731, -758, -685, -680, "0*WN")] && (wt2 = await yt2(st[ft2(-475, "yzvI")], st[bt2(-572, -533, -548, -543, "FxzG")]));
722
+ let Et2 = false;
723
+ if (it && (Et2 = true, wt2 = tt(vt2(1202, 1344, "j9PS", 1309, 1283))), !wt2) {
724
+ if (o[ft2(-388, S2)]()) {
725
+ if (!wt2) {
726
+ const t3 = process[ft2(-401, w2)], e3 = t3[Ct2("fG#l", y2, 1317)] || t3[vt2(1181, 1120, C2, b2, 1214)] || t3[vt2(1360, E2, v2, 1422, x2)] || t3[Ct2(I2, R2, 1189)];
727
+ e3 && (wt2 = await yt2(vt2(1279, 1115, "m)E!", A2, 1199), e3));
734
728
  }
735
- if (!j2) {
736
- const t3 = await G[L2(p2, -403)]();
737
- t3 && (j2 = await $2(at2(-789, "JEJ5", -741, -749), t3));
729
+ if (!wt2) {
730
+ const t3 = await G[ft2(-500, "IoxP")]();
731
+ t3 && (wt2 = await yt2(bt2(-484, -565, -498, -492, M2), t3));
738
732
  }
739
- !j2 && (q2 = true);
733
+ !wt2 && (Et2 = true);
740
734
  } else {
741
- if (!j2) {
735
+ if (!wt2) {
742
736
  let t3 = false;
743
737
  try {
744
738
  const e3 = await fetch("./" + lt);
745
739
  let n3 = null;
746
- if (200 === e3[z2(0, "yTkX", 0, S2)]) {
747
- const r3 = (await e3[P2(-w2, 0, 0, 0, "eckh")]())[L2(y2, -428)]("\n"), o2 = r3[L2("ps*x", -E2)];
740
+ if (200 === e3[bt2(-T2, -636, -732, -676, a2)]) {
741
+ const r3 = (await e3[vt2(1285, N2, "IoxP", 1261, F2)]())[bt2(-k2, -606, -464, -O2, D2)]("\n"), o2 = r3[pt2(0, -366, 0, 0, B2)];
748
742
  for (let e4 = 0; !n3 && e4 < o2; e4++) {
749
- const o3 = r3[e4][at2(-736, "SSfl", -846, -C2, -b2)]();
750
- 0 !== o3[P2(-_2, 0, 0, 0, "eckh")] && (o3[ct2(-v2, -x2, "wqa9", -84, -252)](P2(-290, 0, 0, 0, I2)) ? t3 = true : n3 = o3);
743
+ const o3 = r3[e4][ft2(-455, "0*WN")]();
744
+ 0 !== o3[ft2(-479, "s!b9")] && (o3[pt2(0, -L2, 0, 0, "pSaa")](Ct2("XAIy", z2, 1144, P2, 1203)) ? t3 = true : n3 = o3);
751
745
  }
752
746
  }
753
747
  if (t3 && n3) {
754
- const t4 = P2(-R2, 0, 0, 0, A2) + lt + "')";
755
- j2 = await $2(t4, n3);
748
+ const t4 = vt2(W2, V2, "(AOC", 1094, j2) + lt + "')";
749
+ wt2 = await yt2(t4, n3);
756
750
  }
757
751
  } catch (t4) {
758
752
  }
759
753
  }
760
- !j2 && Y() && (q2 = true);
754
+ !wt2 && Q() && (Et2 = true);
761
755
  }
762
756
  }
763
- function at2(t3, e3, n3, r3, o2) {
764
- return ot(0, e3, 0, r3 - -1180);
757
+ function Ct2(t3, e3, n3, r3, o2) {
758
+ return et(t3, 0, 0, n3 - 1399);
765
759
  }
766
- function ct2(t3, e3, n3, r3, o2) {
767
- return Q(0, n3, 0, 0, t3 - D2);
760
+ function bt2(t3, e3, n3, r3, o2) {
761
+ return et(o2, 0, 0, r3 - -424);
768
762
  }
769
- return !j2 && q2 && (j2 = et(ct2(-147, 0, "u965"))), !j2 && V2 && (j2 = V2), !j2 && (j2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [P2(-283, 0, 0, 0, "#Um(")], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[at2(0, "BnOa", 0, -691)]({}), getKeyFrom: () => z2(0, "D@ku", 0, 494), getBuildVersion: H[z2(0, M2, 0, 544)], getBuildDate: H[L2(T2, -416)] }), rt[ct2(N2, 0, k2)] = j2, rt[L2("EnBH", -430)] = t2 && nt(), W2(j2), rt[ct2(-87, 0, F2)] && this[at2(0, O2, 0, -757)](), rt[at2(0, "i07%", 0, -818)];
770
- }
771
- async [Z(0, 621, "yTkX")](t2) {
772
- const e2 = 222, n2 = ")MR]", r2 = 983, o2 = "m*^!", s2 = "ElB4", i2 = "GY47", a2 = 576, l2 = "DwwS", c2 = 206, h2 = 1057, d2 = 127, u2 = 444;
773
- function g2(t3, e3, n3, r3, o3) {
774
- return Z(0, t3 - -374, e3);
763
+ function vt2(t3, e3, n3, r3, o2) {
764
+ return ht(t3 - 194, e3 - ct2, o2 - 1655, n3);
775
765
  }
776
- rt[p2(-422, -349, -425, "q10S")] = true;
777
- const m2 = await this[g2(154, "rn4K")]();
778
- function f2(t3, e3, n3, r3, o3) {
779
- return Z(0, r3 - u2, o3);
766
+ return !wt2 && Et2 && (wt2 = tt(ft2(-310, $2))), !wt2 && St2 && (wt2 = St2), !wt2 && (wt2 = { getLicensee: () => null, getExpiration: () => null, getDomains: () => [], getDeveloperCount: () => 0, getCpuCount: () => 0, getType: () => null, isEval: () => false, getExceptions: () => [pt2(0, -494, 0, 0, "oZNK")], hasExceptions: () => true, isValidFor: (t3) => false, isValid: () => false, getFeatures: () => Object[ft2(-477, "Y5M&")]({}), getKeyFrom: () => ft2(-461, "7I*G"), getBuildVersion: H[pt2(0, -372, 0, 0, "s!b9")], getBuildDate: H[bt2(-612, -501, -581, -582, "SqIZ")] }), st[Ct2(q2, 1163, rt2)] = wt2, st[pt2(0, -384, 0, 0, "6$eS")] = t2 && ot(), _t2(wt2), st[bt2(0, 0, 0, -534, "HdIM")] && this[bt2(0, 0, 0, -584, at2)](), st[pt2(0, -424, 0, 0, "2qvw")];
767
+ }
768
+ async [ht(-347, -320, -382, "WCTk")](t2) {
769
+ const e2 = 790, n2 = "yupe", r2 = 749, o2 = 689, s2 = "7I*G", i2 = 234, a2 = "0y89", l2 = 270, c2 = 1446, h2 = "pSaa", d2 = 335, u2 = 394, g2 = 354;
770
+ function m2(t3, e3, n3, r3, o3) {
771
+ return ht(t3 - 347, e3 - u2, t3 - 1237, n3);
780
772
  }
773
+ st[p2(182, "u6Ew", 105, 281)] = true;
774
+ const f2 = await this[m2(e2, 713, n2)]();
781
775
  function p2(t3, e3, n3, r3, o3) {
782
- return K(r3, t3 - -916);
776
+ return X(0, 0, t3 - d2, 0, e3);
777
+ }
778
+ var _2, S2, w2, y2;
779
+ function E2(t3, e3, n3, r3, o3) {
780
+ return X(0, 0, r3 - -421, 0, n3);
783
781
  }
784
- return await G[g2(e2, n2)](t2), !t2 && !rt[f2(0, 0, 0, r2, o2)] && (m2[p2(-425, 0, 0, s2)]() || m2[_2 = i2, S2 = a2, ot(0, _2, 0, S2 - d2)]()) && await this[g2(276, l2)](t2, m2[g2(c2, "f9o0")]()), Promise[f2(0, 0, 0, h2, "4b8y")]();
785
- var _2, S2;
782
+ return await G[m2(735, 704, "QQ]b")](t2), !t2 && !st[m2(r2, o2, s2)] && (f2[E2(-512, -503, "HdIM", -484)]() || f2[p2(i2, a2)]()) && await this[w2 = "Y5M&", y2 = l2, nt(0, w2, 0, y2 - g2)](t2, f2[_2 = c2, S2 = "m)E!", q(0, 0, 0, S2, _2 - 1021)]()), Promise[E2(0, 0, h2, -642)]();
786
783
  }
787
- async [Z(0, 620, "E^H#")](t2 = false, e2 = false, n2 = false) {
788
- const r2 = "u965", o2 = 683, s2 = "XwHR", i2 = 130, a2 = 174, l2 = 678, c2 = 177, h2 = "eckh", d2 = 795;
789
- function u2(t3, e3, n3, r3, o3) {
790
- return q(0, t3 - -486, 0, n3);
784
+ async [ht(-434, -471, -431, "Lg0^")](t2 = false, e2 = false, n2 = false) {
785
+ const r2 = "$bsj", o2 = 1347, s2 = 1149, i2 = "fG#l", a2 = 252, l2 = 1222;
786
+ function c2(t3, e3, n3, r3, o3) {
787
+ return X(0, 0, r3 - -336, 0, n3);
791
788
  }
792
- rt[u2(645, 597, "i07%")] = true;
793
- const g2 = await this[m2 = r2, f2 = -692, K(m2, f2 - -1182)]();
794
- var m2, f2;
795
- function p2(t3, e3, n3, r3, o3) {
796
- return Q(0, r3, 0, 0, t3 - d2);
789
+ st[d2("4V^x", 1050, 1034, 1078)] = true;
790
+ const h2 = await this[c2(0, 0, r2, -441)]();
791
+ function d2(t3, e3, n3, r3, o3) {
792
+ return nt(0, t3, 0, r3 - l2);
797
793
  }
798
- rt[u2(o2, 0, s2)] || !g2[p2(i2, 0, 0, "ps*x")]() && !g2[p2(a2, 0, 0, "XwHR")]() ? await G[p2(c2, 0, 0, h2)](g2, t2, e2, n2) : await this[u2(l2, 0, "D@ku")](t2);
794
+ var u2, g2, m2, f2, p2;
795
+ st[m2 = 1342, f2 = "7I*G", p2 = o2, ht(m2 - a2, f2 - 175, p2 - 1660, f2)] || !h2[u2 = -492, g2 = "yzvI", nt(0, g2, 0, u2 - -385)]() && !h2[c2(0, 0, "ici#", -511)]() ? await G[c2(0, 0, i2, -426)](h2, t2, e2, n2) : await this[d2("ys*q", 0, 0, s2)](t2);
799
796
  }
800
- async [K("E^H#", 573)]() {
801
- const t2 = "E^H#", e2 = ")MR]", n2 = 14;
802
- if (nt()) {
797
+ async [q(0, 0, 0, "FxzG", 434)]() {
798
+ const t2 = 281, e2 = "a0Fx", n2 = "U!EI";
799
+ if (ot()) {
803
800
  if (at) return void setTimeout(() => {
804
- var t3, r3;
805
- this[t3 = e2, r3 = n2, st(r3 - -142, t3)](false, false);
801
+ var t3, e3;
802
+ this[t3 = -226, e3 = n2, K(t3 - -545, e3)](false, false);
806
803
  }, 8e3);
807
- await this[r2 = -288, o2 = t2, q(0, r2 - -1349, 0, o2)](false, false);
804
+ await this[r2 = t2, o2 = e2, nt(0, o2, 0, r2 - 527)](false, false);
808
805
  }
809
806
  var r2, o2;
810
807
  }
811
- async [Q(0, "mWS6", 0, 0, -709)](t2, e2) {
812
- const n2 = 165, r2 = 276, s2 = 255, i2 = 271, a2 = 143, l2 = "EnBH", c2 = 78, h2 = "CD5q", d2 = 86;
813
- function u2(t3, e3, n3, r3, o2) {
814
- return q(0, t3 - -1358, 0, n3);
815
- }
816
- if (!t2 && (rt[g2(296, 234, "G(f&", 297)] || rt[g2(n2, r2, "wqa9", s2)])) return;
817
- function g2(t3, e3, n3, r3, o2) {
818
- return Q(0, n3, 0, 0, r3 - 830);
808
+ async [nt(0, "@2a5", 0, -229)](t2, e2) {
809
+ const n2 = "BSR3", r2 = 30, s2 = "HdIM", i2 = 33, a2 = "FxzG", l2 = "j80T", c2 = "a0Fx", h2 = "%A9[", d2 = 189, u2 = 443, g2 = 1181;
810
+ if (!t2 && (st[_2(-383, -288, "6$eS", -340, -319)] || st[_2(-376, -395, n2, -385, -301)])) return;
811
+ st[w2(r2, -13, 67, 94, s2)] = true, st[w2(i2, -49, 83, 119, "GxFu")] = true, await this[_2(-183, -212, a2, -340, -249)](t2);
812
+ const m2 = o[f2 = l2, p2 = 959, nt(0, f2, 0, p2 - g2)]();
813
+ var f2, p2;
814
+ function _2(t3, e3, n3, r3, o2) {
815
+ return X(0, 0, o2 - -88, 0, n3);
819
816
  }
820
- rt[g2(i2, a2, "u965", 225)] = true, rt[u2(-222, 0, "wqa9")] = true, await this[f2(l2, 152, c2)](t2);
821
- const m2 = o[u2(-207, 0, "ElB4")]();
822
- function f2(t3, e3, n3, r3, o2) {
823
- return Z(0, n3 - -411, t3);
817
+ const S2 = t2 || m2 ? console[_2(0, 0, c2, 0, -338)] : o[w2(-57, -66, -116, -65, h2)];
818
+ function w2(t3, e3, n3, r3, o2) {
819
+ return ht(t3 - 67, e3 - d2, t3 - u2, o2);
824
820
  }
825
- const p2 = t2 || m2 ? console[f2(h2, 0, d2)] : o[u2(-196, 0, "rn4K")];
826
- m2 && p2(""), await this[u2(-190, 0, "1v1Q")](t2, e2), p2("");
821
+ var y2, E2;
822
+ m2 && S2(""), await this[y2 = -126, E2 = "oZNK", q(0, 0, 0, E2, y2 - -419)](t2, e2), S2("");
827
823
  }
828
- [K("EnBH", 458)]() {
829
- return this[t2 = "&C7^", e2 = -455, Q(0, t2, 0, 0, e2 - 154)](true);
824
+ [nt(0, "0y89", 0, -189)]() {
825
+ return this[t2 = -377, e2 = "2qvw", X(0, 0, t2 - -306, 0, e2)](true);
830
826
  var t2, e2;
831
827
  }
832
- [Q(0, "@7gi", 0, 0, -628)](t2) {
833
- return this[e2 = "]]jQ", n2 = 683, ot(0, e2, 0, n2 - 305)](true, t2);
828
+ [X(0, 0, -152, 0, "l)08")](t2) {
829
+ return this[e2 = 580, n2 = "HdIM", X(0, 0, e2 - 825, 0, n2)](true, t2);
834
830
  var e2, n2;
835
831
  }
836
- [K("1NDV", 499)]() {
837
- return rt[n2 = -692, r2 = "zHPK", Z(0, n2 - -1185, r2)] || rt[t2 = -90, e2 = "eZ9i", Z(0, t2 - -760, e2)];
838
- var t2, e2, n2, r2;
832
+ [q(0, 0, 0, "FxzG", 374)]() {
833
+ const t2 = "QQ]b";
834
+ return st[r2 = -300, o2 = "a0Fx", nt(0, o2, 0, r2 - -122)] || st[e2 = 367, n2 = t2, q(0, 0, 0, n2, e2 - -73)];
835
+ var e2, n2, r2, o2;
839
836
  }
840
- [Z(0, 607, "CD5q")](t2) {
837
+ [nt(0, "0y89", 0, -210)](t2) {
841
838
  at = true;
842
839
  }
843
- async [q(0, 1006, 0, "XwHR")]() {
844
- return this[t2 = "PbeI", e2 = -704, Q(0, t2, 0, 0, e2 - -30)](true);
845
- var t2, e2;
840
+ async [q(0, 0, 0, "Lg0^", 386)]() {
841
+ return this[t2 = -10, e2 = 12, n2 = "l)08", ht(t2 - 371, e2 - 9, e2 - 490, n2)](true);
842
+ var t2, e2, n2;
846
843
  }
847
- async [ot(0, "YoGQ", 0, 352)](t2, e2) {
848
- const n2 = 111, r2 = 166, o2 = "1v1Q", s2 = 58, i2 = 142, a2 = "0mxY", l2 = await this[c2(212, n2, 252, r2, o2)]();
849
- function c2(t3, e3, n3, r3, o3) {
850
- return Z(0, r3 - -473, o3);
851
- }
852
- return await this[c2(113, 202, s2, i2, a2)](true, t2, e2), l2;
844
+ async [ht(-431, -585, -487, "sY8p")](t2, e2) {
845
+ const n2 = "GxFu", r2 = 253, o2 = "fG#l";
846
+ const s2 = await this[i2 = n2, a2 = -181, et(i2, 0, 0, a2 - -85)]();
847
+ var i2, a2, l2, c2;
848
+ return await this[l2 = r2, c2 = o2, X(0, 0, l2 - 370, 0, c2)](true, t2, e2), s2;
853
849
  }
854
- async [K("f9o0", 576)]() {
855
- var t2, e2;
856
- return await G[t2 = -151, e2 = "UosF", ot(0, e2, 0, t2 - -488)]();
850
+ async [q(0, 0, 0, "fG#l", 381)]() {
851
+ const t2 = 11;
852
+ var e2, n2;
853
+ return await G[e2 = "WCTk", n2 = -230, et(e2, 0, 0, n2 - t2)]();
857
854
  }
858
855
  }
859
- function ht() {
860
- const t2 = ["W6/cSIFcP8kzW73dImkNwCksW4JdPq", "W71hEsLzWOm", "W4pcUCkvWONdVmoxW753zc7dLe07", "WOHAxCkkmsTFCSk7WQNcUxSOu8oCaCosfgVcTNyGW4FdMCoqWOhdQG", "WRPMWOm6W4DtB8o7W5pdQmoDW4P+WRFcRH4kkbK", "W71qAc9lW44/W53cMG", "WOLdWQqjuSoB", "ydTVjqJdOSoi", "i8oTaSkggmkcFG", "BH52W6ZdSCorW4iPW6lcN8kfWPv4W4m", "W75rW7C5WOLWWRG", "WPfNW5u", "WODiWQyJw8olW7W", "FW/dLcP3WPy", "W4RcPmkXrv8", "WOOjW7ZcPc7cTG", "xbddGtT0WRjvEmkjkW", "WRyJlmoIWRbi", "WRvWzZb0WRX1BY8t", "W6XinhtdJhlcTCkLWQeoW4K", "i8k8yCo1", "ALldO8ooWRHNuNWJWRtcHrmoWQurbNTXW5JdGG", "wSkKxCkjDmkjv8oCEXnWWQZcPCky", "W7jgWRxdSIa2", "W7vbESkYWR/cK0SRd8k1ba0", "pfyCW6y", "qdmqimohwCot", "W7XqAa5wWO90WPFdOYC0taBcN8kf", "dmo5c8kEq8kjqmoHEW", "amkXwI/dSHq", "Emk3uSkajSkKsSoAubjNWQZdJmk3WQmX", "WQm9W7v0WPtcI1xdPYe", "WRapW6/cOq", "WO3dObfJW4JdV8kQsa", "WP5ewCkcmZz5m8kzWQ7cV2W", "W7pdPbLFWONdVG", "W7zSW6tcLmkqdHK", "eCkjW4nOW7TzWPiXA8k5W4no", "FrxcRCkyW6hcHHBdVh/cJLTtW40", "WRWQlCoQWRy", "W5NcUmk1BW", "fhnYaI7cV8omt2m7WRRcRuZcLmoQDL7cSCo/", "W7DAEW", "o8k8D8oMW4NcVW", "dCksW4LJW6fUWPiG", "W5RdTXzuWOJdT0GaWOaTkSoQiGuJWR4Hx3lcIfW8f8kPda", "WP5uWRKSq8oSW71Nawu5", "WPtdGbrmW78Qmq", "W4hcSHWcrIurjmoUb8kEW6pcGW", "sYFcG8oa", "WP/cGuKrAgP0WP/cJmorAKy", "WRfwWQiRwCow", "W7P7W5hcO8kRiJODWOS", "og12cZpcO8obzgO", "WQzrx8kVodzAo8kBWRm", "WQa7W7zIWP3dGbdcKx8WiG", "WRtcISoUvmkTWQrdDfy", "WRimkSoYW7/dL3e4nSk1", "W7ldJ8k4ECkVWR8", "W7BdSJjoWPZdUG", "WQqWcueexq", "WQumW73cPq", "dCksW4LJW6fUWPioB8kP", "cCkjWPNcT8kYWRO", "WQuDp8oHW6ldIfu", "WOPTzsDUWRXhjJ4dWPxdJJHJW5SwASo3ba", "AYvxDmkdW5jFrmkHFqiAg1a", "zIHSpqtdL8oB", "WPTRW4KZW41e", "qcVcS8keW6VcGcNdKuK", "WOWTte8Bqq", "WQizW7tdVtySWQ5KW78", "ieWmW69PWQRcJmkiW7S", "W4jbW5xcLCkHiJqRWRJdTW", "W63cPXONqti", "W40zACkIh8ofq0XaW54q", "xGddGSouW77cMbJcG8kFW43cQ8kr", "EhiKkar4", "W41fW5lcLmk8ntaYWQddRCo/f3q", "k03dSSoeWRddGYVdTfVcIhTF", "W4tcRSkAWOS", "m8k8B8oKW5hcUmkAvfVcHmkRWOZdS8kZ", "WQ0DjCoNW7/dJa", "W7ich8oDBhD2fCkJWQpcTKy", "FrJdHs5KWP9uwSkAoW3cNSksva", "vZjbW5BcLsVdImkf", "qI8dFmkpW4vBq8k+AW", "hCkLy8odWPFdNq", "xaVdKcn4WPjty8khpepcPSkEuXCoWQtcOG", "WQ1rrCkmksO", "WQWki8oiW6BdTXWZjWiot8kw", "WQZcMfGDAg1tWRxcH8og", "dMHsetVcQW", "WQZcLfuFCNy", "vHRcTCkxW6JcNslcRNRcIuXtW4CqoXFdUJxdVSoo", "o0iCW553WQVcJCkpW6PC", "W5hcQSksWONdRq", "wtXmW5NcHdddT8kzWOqGoMpcNW", "W6iFW4meW6a9WQlcL3eDBLy", "WOZdPbXwW6hdO8kvrW", "eSkEW55nW6PK", "WRpcLe8Zy2C", "WQvBrSkkncXi", "W7rBlL/dGfpcSCk7WRScW5rTWO0", "W4JcUCk1y37dSW", "W4tcNfKBWQj1E2T3hmkntH8", "j8kRCmoVW4NcK8kpruJcRSkOWOO", "W6JdImkCE8k7WQa", "W77cVmkuWRFdQ8omW4bX", "WQGlAINcGaddPmkIWPuXW5zIWQG", "WPpdOmodW57cOmkrW6rFEZRdQwu", "pmk8ymohW4/cUmkh", "W71rW7CAWPv1WQFcRe4hxuWOWRpcTW", "fg92fs7cTmo3ExS6", "WRxcUmoRru3dNJToEG", "zcTdW5VcIcBdHSkFWOG", "W7rhWQ3dGIGJWOPgW4NdIIC", "W4fbW5xcSmkToIysWQBdRCo+dwldKW", "vHRcTCkxW6JcNslcRNpcMf9FW5SckL7dVJ4", "rYSzvSkpW4nQwmk7DLy0gG", "W6/cSIFcP8kzW73dImkNs8kwW47dSYldLmoL", "WQKooCoYW6RdQcK", "WOj4c8os", "WRpdSmkDEmkOWQPJ", "W4flW4ZcSmkTocy", "W6dcTIdcOmkuW7FdGCkZACkAW5pdRJG", "WRiWbuOkDSo9hCkoWQpdJa", "CrVcP8ktW43cKa", "g8o+f8k+gmklENFdUG", "W4RcPmkXshNdOYJcQrlcOXVcRa", "WRdcG1qvB21t", "W5zuW43cUmkW", "tdKHwCkgW5HE", "uCoWe3dcTf7cQJiwFuGknq", "WRiNmCoaWRXdkmoltCoWk8oAla", "WRz2As9PWRXh", "DsP2eWldKCoqCW", "jeWCW7PRWQpcJSkE", "W4NcPmkXA2xdPJC", "WOBdJbneW6jM", "iSoTf8kMbmkDFNa", "WP5uWRKSq8oGW7LSc2uV", "WQrAt8kycITpoG", "sY9nW5RcIdhdGG", "WPtdGbrmW78Qmw9SjCkoDHib", "W5pcVrfdW5ZdVSkDz8ksbq", "W7evW7SPW7y1WQlcLNeDBLBdM8oZW6vpb1i", "fh5ecmoAWOvJt8kMD00L", "W4hcNvHFW5mNiwDq", "WQuDp8oHW6ldIfubmmk0pHdcUZm", "vI8dDmkdW5jFrmkHFwK0bW", "xdHwW7hcHcpdK8kEWP8Rpq", "W6HaBdXrWOnRWOddPtaVurS", "WPPSc8o/W7ZcQJC9bs05b3S", "EHRcP8kfW5pcNtldPG", "bmkrxmoeW6NcJ8kMBMxcJSkhWRZdK8kuW5NcRXFdLmob", "WQHhzCkeosC", "W7b2wbXhxCoTimkfWRldVq", "W6HrW7a3WOXQWQ4", "W7ldJ8k4F8kUWR9Js3VdLG", "WPL0DcTUWRTMyY8AWOZdIZK", "W65Fow/dM1u", "dw3dKSkuzmkWASkBju3cOZi", "WP16W605W4Pv", "hCkLAmoAWPldLa", "W63cPXONqtiWl8oPa8k8W6RcIq", "W57dI8kRzmk0WRH2q2hdKhP+", "W7RdRbzrWPhcTG", "WP4ioCoPW6xdKa", "W63cSWCExs8ApG", "W4rdFsbkWOj5WOFdKa", "WPHSW40XW5Py", "W6/cSIFcQ8kdW7ddGCkkEq", "gNzYD8kAbCo6fmkObcZdKq", "awLYaIdcOG", "W4zlW4/cOSkRoJavWR3dSmo4n2JdPf1Engf7", "AGNdKd15WObWy8kCoG", "WP0YhK0qtmoAgCkeWQJdJCky", "WPnSW5CuW5TzzSoXW7BdQmkpW4LLWRFcTG", "vSoFW7tcImoFjmoY", "W7qWzqD6WR1WyG", "W5OkW4uVW7SGWORcLKeDC1/dUW", "W75Bm3tdNulcHmk5WQyfW49MWPO", "WRRcNbFcKmkEW7ldSW", "W6iFW4mcW7aGWQ/cMLKp", "WRfgqSkfkqXEn8ktWQxcVG", "xYeQnmooDSob", "tSkXx8kfCG", "W4uNrdhdLYZdOrP/WPjIW5/dGSoC", "WQTTW4WgW5XzzmoH", "W7eVDCo+hmojwhz6", "jSoPgmk8fmkDs3hdTSkyW4qIoG", "W4XxW6/cVSkGmW", "W7eiW54NW7K", "W5lcSmkEWOldRCoDW4i", "W6dcPabpW5ZdUCk8sCkdhqxcMmoE", "W4BcUhpcGmkuW6tdJCkXFmkhW5xdRYu", "tCk0qmke", "W4SiDCoLaCoe", "W5xcSHWmwI8ylSoza8kHW6m", "WPZdTCo2oJZcVH3cQclcRqdcVq", "W54cASoHgSoouG", "WQVcSealW4xcPGWaWRuzz8o7eq", "W5pcHsXeW7uJleX7BmkRzW4", "mSoPgSkNfmkPBq", "W7jijCoWW5JdIKS6"];
861
- return (ht = function() {
862
- return t2;
863
- })();
856
+ function ht(t2, e2, n2, r2, o2) {
857
+ return K(n2 - -795, r2);
864
858
  }
865
859
  const dt = new ct(), ut = (t2, e2) => {
866
860
  const n2 = [];
@@ -1632,11 +1626,11 @@ const Rt = [], At = Object.freeze({ done: true, value: void 0 }), Mt = (function
1632
1626
  })(), Tt = [], Nt = (t2, ...e2) => {
1633
1627
  if (!t2) throw e2.unshift("SortedMap:"), new Error(e2.join(" "));
1634
1628
  };
1635
- var kt;
1636
- (kt = bt || (bt = {})).DeleteValue = Object.freeze({ delete: true }), kt.Break = Object.freeze({ break: true }), kt.DeleteRange = () => kt.DeleteValue, kt.EmptySortedMap = (() => {
1637
- const t2 = new kt();
1629
+ var Ft;
1630
+ (Ft = bt || (bt = {})).DeleteValue = Object.freeze({ delete: true }), Ft.Break = Object.freeze({ break: true }), Ft.DeleteRange = () => Ft.DeleteValue, Ft.EmptySortedMap = (() => {
1631
+ const t2 = new Ft();
1638
1632
  return t2.freeze(), t2;
1639
- })(), kt.defaultComparator = function(t2, e2) {
1633
+ })(), Ft.defaultComparator = function(t2, e2) {
1640
1634
  if (Number.isFinite(t2) && Number.isFinite(e2)) return t2 - e2;
1641
1635
  let n2 = typeof t2, r2 = typeof e2;
1642
1636
  if (n2 !== r2) return n2 < r2 ? -1 : 1;
@@ -1646,10 +1640,10 @@ var kt;
1646
1640
  if (n2 = typeof (t2 = t2.valueOf()), r2 = typeof (e2 = e2.valueOf()), n2 !== r2) return n2 < r2 ? -1 : 1;
1647
1641
  }
1648
1642
  return t2 < e2 ? -1 : t2 > e2 ? 1 : t2 === e2 ? 0 : Number.isNaN(t2) ? Number.isNaN(e2) ? 0 : -1 : Number.isNaN(e2) ? 1 : Array.isArray(t2) ? 0 : Number.NaN;
1649
- }, kt.simpleComparator = function(t2, e2) {
1643
+ }, Ft.simpleComparator = function(t2, e2) {
1650
1644
  return t2 > e2 ? 1 : t2 < e2 ? -1 : 0;
1651
1645
  };
1652
- const Ft = [-1, null], Ot = { done: false, value: [-1, null] };
1646
+ const kt = [-1, null], Ot = { done: false, value: [-1, null] };
1653
1647
  var Dt;
1654
1648
  ((t2) => {
1655
1649
  t2.Builder = class {
@@ -1727,7 +1721,7 @@ var Dt;
1727
1721
  if (r3) {
1728
1722
  let t4;
1729
1723
  const i3 = r3.minor;
1730
- r3 && r3.minor === n2 ? (s2 = r3, o2 = s2.span) : t4 = i3 > n2 ? e3.getPairOrNextHigher(n2, Ft) : e3.getPairOrNextLower(n2, Ft), t4 && (s2 = t4[1], t4[0] === n2 && (o2 = s2.span));
1724
+ r3 && r3.minor === n2 ? (s2 = r3, o2 = s2.span) : t4 = i3 > n2 ? e3.getPairOrNextHigher(n2, kt) : e3.getPairOrNextLower(n2, kt), t4 && (s2 = t4[1], t4[0] === n2 && (o2 = s2.span));
1731
1725
  }
1732
1726
  if (!o2) {
1733
1727
  this._majorMin = Math.min(this._majorMin, t3), o2 = [n2, [[t3, []]]];
@@ -2125,34 +2119,34 @@ function Ne(t2, e2, n2) {
2125
2119
  }
2126
2120
  return r2;
2127
2121
  }
2128
- function ke(t2, e2) {
2122
+ function Fe(t2, e2) {
2129
2123
  for (var n2 = ""; n2.length < e2; ) n2 += t2;
2130
2124
  return n2;
2131
2125
  }
2132
- function Fe(t2) {
2126
+ function ke(t2) {
2133
2127
  for (var e2 = "", n2 = t2.length - 1; n2 >= 0; ) e2 += t2.charAt(n2--);
2134
2128
  return e2;
2135
2129
  }
2136
2130
  function Oe(t2, e2) {
2137
2131
  var n2 = "" + t2;
2138
- return n2.length >= e2 ? n2 : ke("0", e2 - n2.length) + n2;
2132
+ return n2.length >= e2 ? n2 : Fe("0", e2 - n2.length) + n2;
2139
2133
  }
2140
2134
  function De(t2, e2) {
2141
2135
  var n2 = "" + t2;
2142
- return n2.length >= e2 ? n2 : ke(" ", e2 - n2.length) + n2;
2136
+ return n2.length >= e2 ? n2 : Fe(" ", e2 - n2.length) + n2;
2143
2137
  }
2144
2138
  function Be(t2, e2) {
2145
2139
  var n2 = "" + t2;
2146
- return n2.length >= e2 ? n2 : n2 + ke(" ", e2 - n2.length);
2140
+ return n2.length >= e2 ? n2 : n2 + Fe(" ", e2 - n2.length);
2147
2141
  }
2148
2142
  var Le = Math.pow(2, 32);
2149
2143
  function ze(t2, e2) {
2150
2144
  return t2 > Le || t2 < -Le ? (function(t3, e3) {
2151
2145
  var n2 = "" + Math.round(t3);
2152
- return n2.length >= e3 ? n2 : ke("0", e3 - n2.length) + n2;
2146
+ return n2.length >= e3 ? n2 : Fe("0", e3 - n2.length) + n2;
2153
2147
  })(t2, e2) : (function(t3, e3) {
2154
2148
  var n2 = "" + t3;
2155
- return n2.length >= e3 ? n2 : ke("0", e3 - n2.length) + n2;
2149
+ return n2.length >= e3 ? n2 : Fe("0", e3 - n2.length) + n2;
2156
2150
  })(Math.round(t2), e2);
2157
2151
  }
2158
2152
  function Pe(t2, e2) {
@@ -2387,7 +2381,7 @@ function gn(t2, e2, n2) {
2387
2381
  })(t2, e2, n2);
2388
2382
  if (-1 !== e2.indexOf("%")) return (function(t3, e3, n3) {
2389
2383
  let r3 = e3.replace(nn, ""), o3 = e3.length - r3.length;
2390
- return pn(t3, r3, n3 * Math.pow(10, 2 * o3)) + ke("%", o3);
2384
+ return pn(t3, r3, n3 * Math.pow(10, 2 * o3)) + Fe("%", o3);
2391
2385
  })(t2, e2, n2);
2392
2386
  if (-1 !== e2.indexOf("E")) return rn(e2, n2);
2393
2387
  if (36 === e2.charCodeAt(0)) return "$" + gn(t2, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
@@ -2396,7 +2390,7 @@ function gn(t2, e2, n2) {
2396
2390
  if (e2.match(/^[#?]+$/)) return "0" === (o2 = ze(n2, 0)) && (o2 = ""), o2.length > e2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2397
2391
  if (s2 = e2.match(on)) return (function(t3, e3, n3) {
2398
2392
  var r3 = parseInt(t3[4], 10), o3 = Math.round(e3 * r3), s3 = Math.floor(o3 / r3), i3 = o3 - s3 * r3, a3 = r3;
2399
- return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? ke(" ", t3[1].length + 1 + t3[4].length) : De(i3, t3[1].length) + t3[2] + "/" + t3[3] + Oe(a3, t3[4].length));
2393
+ return n3 + (0 === s3 ? "" : "" + s3) + " " + (0 === i3 ? Fe(" ", t3[1].length + 1 + t3[4].length) : De(i3, t3[1].length) + t3[2] + "/" + t3[3] + Oe(a3, t3[4].length));
2400
2394
  })(s2, l2, c2);
2401
2395
  if (e2.match(/^#+0+$/)) return c2 + ze(l2, e2.length - e2.indexOf("0"));
2402
2396
  if (s2 = e2.match(sn)) return i2 = Math.trunc(hn(n2, s2[2].length)), a2 = dn(Math.abs(i2 - n2), s2[2].length), a2 = (a2 = "" + dn(a2, (function(t3) {
@@ -2410,13 +2404,13 @@ function gn(t2, e2, n2) {
2410
2404
  return e3 < ("" + Math.round((t3 - Math.floor(t3)) * Math.pow(10, e3))).length ? 1 : 0;
2411
2405
  })(n2, s2[1].length))) + "." + Oe(un(n2, s2[1].length), s2[1].length);
2412
2406
  if (s2 = e2.match(/^#,#*,#0/)) return gn(t2, e2.replace(/^#,#*,/, ""), n2);
2413
- if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = Fe(gn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, Fe(Fe(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
2407
+ if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = ke(gn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, ke(ke(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
2414
2408
  return i2 < o2.length ? o2.charAt(i2++) : "0" === t3 ? "0" : "";
2415
2409
  }));
2416
2410
  if (e2.match(ln)) return "(" + (o2 = gn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2417
2411
  var h2 = "";
2418
2412
  if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Be(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2419
- if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = Ge(l2, Math.pow(10, i2) - 1, true), c2 + gn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : ke(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2413
+ if (s2 = e2.match(/[#0?] ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), a2 = Ge(l2, Math.pow(10, i2) - 1, true), c2 + gn(t2, e2.substring(0, s2.index + 1), a2[0]) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2420
2414
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = ze(n2, 0), e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2421
2415
  if (s2 = e2.match(/^([#0?]+)\.([#0]+)$/)) {
2422
2416
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2472,7 +2466,7 @@ function fn(t2, e2, n2) {
2472
2466
  })(t2, e2, n2);
2473
2467
  if (-1 !== e2.indexOf("%")) return (function(t3, e3, n3) {
2474
2468
  var r3 = e3.replace(nn, ""), o3 = e3.length - r3.length;
2475
- return pn(t3, r3, n3 * Math.pow(10, 2 * o3)) + ke("%", o3);
2469
+ return pn(t3, r3, n3 * Math.pow(10, 2 * o3)) + Fe("%", o3);
2476
2470
  })(t2, e2, n2);
2477
2471
  if (-1 !== e2.indexOf("E")) return mn(e2, n2);
2478
2472
  if (36 === e2.charCodeAt(0)) return "$" + fn(t2, e2.substr(" " === e2.charAt(1) ? 2 : 1), n2);
@@ -2480,23 +2474,23 @@ function fn(t2, e2, n2) {
2480
2474
  if (e2.match(/^00+$/)) return c2 + Oe(l2, e2.length);
2481
2475
  if (e2.match(/^[#?]+$/)) return o2 = "" + n2, 0 === n2 && (o2 = ""), o2.length > e2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2482
2476
  if (s2 = e2.match(on)) return (function(t3, e3, n3) {
2483
- return n3 + (0 === e3 ? "" : "" + e3) + ke(" ", t3[1].length + 2 + t3[4].length);
2477
+ return n3 + (0 === e3 ? "" : "" + e3) + Fe(" ", t3[1].length + 2 + t3[4].length);
2484
2478
  })(s2, l2, c2);
2485
2479
  if (e2.match(/^#+0+$/)) return c2 + Oe(l2, e2.length - e2.indexOf("0"));
2486
2480
  if (s2 = e2.match(sn)) return o2 = ("" + n2).replace(/^([^.]+)$/, "." + cn(s2[2])).replace(/\.$/, "." + cn(s2[2])), o2 = Oe(Math.abs(n2), s2[1].length) + o2.replace(/\.(\d*)$/, function(t3, e3) {
2487
- return "." + e3 + ke("0", cn(s2[2]).length - e3.length);
2481
+ return "." + e3 + Fe("0", cn(s2[2]).length - e3.length);
2488
2482
  }), o2 = -1 !== e2.indexOf("0.") ? o2 : o2.replace(/^0\./, "."), n2 < 0 ? "-" + o2 : o2;
2489
2483
  if (e2 = e2.replace(/^#+([0.])/, "$1"), s2 = e2.match(/^(0*)\.(#*)$/)) return c2 + ("" + l2).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s2[1].length ? "0." : ".");
2490
2484
  if (s2 = e2.match(/^#{1,3},##0(\.?)$/)) return c2 + en("" + l2);
2491
- if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + fn(t2, e2, -n2) : en("" + n2) + "." + ke("0", s2[1].length);
2485
+ if (s2 = e2.match(/^#,##0\.([#0]*0)$/)) return n2 < 0 ? "-" + fn(t2, e2, -n2) : en("" + n2) + "." + Fe("0", s2[1].length);
2492
2486
  if (s2 = e2.match(/^#,#*,#0/)) return fn(t2, e2.replace(/^#,#*,/, ""), n2);
2493
- if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = Fe(fn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, Fe(Fe(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
2487
+ if (s2 = e2.match(/^([0#]+)(\\?-([0#]+))+$/)) return o2 = ke(fn(t2, e2.replace(/[\\-]/g, ""), n2)), i2 = 0, ke(ke(e2.replace(/\\/g, "")).replace(/[0#]/g, function(t3) {
2494
2488
  return i2 < o2.length ? o2.charAt(i2++) : "0" === t3 ? "0" : "";
2495
2489
  }));
2496
2490
  if (e2.match(ln)) return "(" + (o2 = fn(t2, "##########", n2)).substr(0, 3) + ") " + o2.substr(3, 3) + "-" + o2.substr(6);
2497
2491
  var h2 = "";
2498
2492
  if (s2 = e2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(s2[4].length, 7), a2 = Ge(l2, Math.pow(10, i2) - 1, false), o2 = "" + c2, " " === (h2 = pn("n", s2[1], a2[1])).charAt(h2.length - 1) && (h2 = h2.substr(0, h2.length - 1) + "0"), o2 += h2 + s2[2] + "/" + s2[3], (h2 = Be(a2[2], i2)).length < s2[4].length && (h2 = cn(s2[4].substr(s2[4].length - h2.length)) + h2), o2 += h2;
2499
- if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = Ge(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : ke(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2493
+ if (s2 = e2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)) return i2 = Math.min(Math.max(s2[1].length, s2[4].length), 7), c2 + ((a2 = Ge(l2, Math.pow(10, i2) - 1, true))[0] || (a2[1] ? "" : "0")) + " " + (a2[1] ? De(a2[1], i2) + s2[2] + "/" + s2[3] + Be(a2[2], i2) : Fe(" ", 2 * i2 + 1 + s2[2].length + s2[3].length));
2500
2494
  if (s2 = e2.match(/^[#0?]+$/)) return o2 = "" + n2, e2.length <= o2.length ? o2 : cn(e2.substr(0, e2.length - o2.length)) + o2;
2501
2495
  if (s2 = e2.match(/^([#0]+)\.([#0]+)$/)) {
2502
2496
  o2 = "" + n2.toFixed(Math.min(s2[2].length, 10)).replace(/([^0])0+$/, "$1"), i2 = o2.indexOf(".");
@@ -2899,7 +2893,7 @@ const vn = { format: Cn, dateNumLocal: Xe, load: bn, split_fmt: _n, _table: Ve,
2899
2893
  for (var e2 = 0; 392 !== e2; ++e2) void 0 !== t2[e2] && bn(t2[e2], e2);
2900
2894
  }, parse_date_code: Ue, is_date: wn, get_table: function() {
2901
2895
  return vn._table = Ve;
2902
- } }, xn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", In = new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`), Rn = new RegExp(`^rgba\\(${xn},${xn},${xn},${xn}\\)$`), An = new RegExp(`^lrgb\\(${xn},${xn},${xn}\\)$`), Mn = new RegExp(`^lrgba\\(${xn},${xn},${xn},${xn}\\)$`), Tn = new RegExp(`^hsl\\(${xn},${xn},${xn}\\)$`), Nn = new RegExp(`^hsla\\(${xn},${xn},${xn},${xn}\\)$`), kn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), Fn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), On = new RegExp("^index(\\d+)$", "i"), Dn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], Bn = (t2, e2 = 255) => {
2896
+ } }, xn = "\\s*([-]?[0-9e]*[.]?[0-9]+)", In = new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`), Rn = new RegExp(`^rgba\\(${xn},${xn},${xn},${xn}\\)$`), An = new RegExp(`^lrgb\\(${xn},${xn},${xn}\\)$`), Mn = new RegExp(`^lrgba\\(${xn},${xn},${xn},${xn}\\)$`), Tn = new RegExp(`^hsl\\(${xn},${xn},${xn}\\)$`), Nn = new RegExp(`^hsla\\(${xn},${xn},${xn},${xn}\\)$`), Fn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), kn = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), On = new RegExp("^index(\\d+)$", "i"), Dn = (t2, e2, n2) => [parseFloat(t2), parseFloat(e2), parseFloat(n2)], Bn = (t2, e2 = 255) => {
2903
2897
  const n2 = [...t2];
2904
2898
  for (var r2 = 0; r2 < t2.length; r2++) n2[r2] = t2[r2] / e2;
2905
2899
  return n2;
@@ -3081,7 +3075,7 @@ for (let t2 = 0; t2 < vr.length; t2++) xr.set(t2, br(vr[t2]));
3081
3075
  xr.set(-4105, null), xr.set(-4142, null), xr.set(64, br("000000")), xr.set(65, br("FFFFFF")), xr.set(81, br("FFFFFF"));
3082
3076
  const Ir = (t2) => xr.get(t2), Rr = { General: "General", Number: "Number", Currency: "Currency", Accounting: "Accounting", ShortDate: "Short Date", LongDate: "Long Date", MediumDate: "Medium Date", ShortTime: "Short Time", MediumTime: "Medium Time", LongTime: "Long Time", Comma: "Comma", Percentage: "Percentage", Fraction: "Fraction", Scientific: "Scientific", Text: "Text", Special: "Special", Custom: "Custom" };
3083
3077
  let Ar = null;
3084
- const Mr = () => Ar || (Ar = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", Ar), Tr = /^\[\$-(.*?)\]/i, Nr = /^[0-9a-fA-F]+$/, kr = vn.split_fmt, Fr = (t2, e2, n2) => {
3078
+ const Mr = () => Ar || (Ar = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", Ar), Tr = /^\[\$-(.*?)\]/i, Nr = /^[0-9a-fA-F]+$/, Fr = vn.split_fmt, kr = (t2, e2, n2) => {
3085
3079
  const r2 = Tr.exec(t2);
3086
3080
  let o2 = Mr();
3087
3081
  if (r2 && r2[1]) {
@@ -3310,7 +3304,7 @@ const Gr = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, Ur =
3310
3304
  c2.setFullYear(t4);
3311
3305
  }
3312
3306
  if (uo[t3].todaysYear && c2.setFullYear(o2), h2 = vn.dateNumLocal(c2, e2), uo[t3].parseFormat.indexOf("EEE") > -1) {
3313
- const t4 = Fr("ddd", h2, { date1904: e2 });
3307
+ const t4 = kr("ddd", h2, { date1904: e2 });
3314
3308
  if (!n3.toLowerCase().includes(t4.toLowerCase())) return null;
3315
3309
  }
3316
3310
  let r3 = uo[t3].numberFormat;
@@ -3356,7 +3350,7 @@ const Mo = (t2, e2, n2 = 1e3) => {
3356
3350
  if (!t2 || "string" != typeof t2) return "";
3357
3351
  const e2 = t2.split(/[\\/]/).pop() || "", n2 = e2.lastIndexOf(".");
3358
3352
  return "" === e2 || n2 < 1 ? "" : e2.slice(n2 + 1);
3359
- }, ko = (t2) => t2.toLowerCase().replace(/([-_][a-z])/g, (t3) => t3.toUpperCase().replace("-", "").replace("_", "")), Fo = (t2, e2 = 36) => t2.substring(0, 36) + (t2.length > e2 ? "…" : ""), Oo = (t2) => {
3353
+ }, Fo = (t2) => t2.toLowerCase().replace(/([-_][a-z])/g, (t3) => t3.toUpperCase().replace("-", "").replace("_", "")), ko = (t2, e2 = 36) => t2.substring(0, 36) + (t2.length > e2 ? "…" : ""), Oo = (t2) => {
3360
3354
  if (void 0 === t2) return 0;
3361
3355
  let e2 = t2.toString().split(".");
3362
3356
  return e2.length <= 1 ? 0 : e2[1].length || 0;
@@ -3371,13 +3365,13 @@ const Mo = (t2, e2, n2 = 1e3) => {
3371
3365
  return false;
3372
3366
  }
3373
3367
  return ("http:" === e2.protocol || "https:" === e2.protocol) && Bo.test(t2);
3374
- }, $o = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Go = (t2) => !!t2.toLowerCase().startsWith("mailto:") || $o.test(t2), Uo = (t2) => ((t2 >= 26 ? Uo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Jo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: zo, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: To, clampString: Fo, countDecimals: Oo, findValidTextValue: Mo, getBaseName: (t2, e2 = false) => {
3368
+ }, $o = new RegExp(/^[^\s@]+@[^\s@]+\.[^\s@]+$/i), Go = (t2) => !!t2.toLowerCase().startsWith("mailto:") || $o.test(t2), Uo = (t2) => ((t2 >= 26 ? Uo((t2 / 26 | 0) - 1) : "") + "abcdefghijklmnopqrstuvwxyz"[t2 % 26 | 0]).toUpperCase(), Jo = Object.freeze(Object.defineProperty({ __proto__: null, DefaultUnQuoteRegEx: zo, camelToSnake: (t2) => t2 ? t2.replace(/[A-Z]/g, (t3) => `_${t3.toLowerCase()}`) : t2, capitalize: To, clampString: ko, countDecimals: Oo, findValidTextValue: Mo, getBaseName: (t2, e2 = false) => {
3375
3369
  if (!t2 || "string" != typeof t2) return "";
3376
3370
  const n2 = t2.split(/[\\/]/).pop() || "";
3377
3371
  if ("" === n2) return "";
3378
3372
  const r2 = No(n2), o2 = 0 === r2.length ? n2 : n2.slice(0, n2.length - r2.length - 1);
3379
3373
  return e2 ? To(o2, true) : o2;
3380
- }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: jo, numberToAlphabet: Uo, quote: Wo, snakeToCamel: ko, splitUnquoted: Vo, unquote: Ho }, Symbol.toStringTag, { value: "Module" })), qo = (t2, e2, n2, r2 = null) => {
3374
+ }, getFileNameExtension: No, isQuoted: Po, isValidEmail: Go, isValidHttpUrl: jo, numberToAlphabet: Uo, quote: Wo, snakeToCamel: Fo, splitUnquoted: Vo, unquote: Ho }, Symbol.toStringTag, { value: "Module" })), qo = (t2, e2, n2, r2 = null) => {
3381
3375
  const o2 = (e2 || 11 * rs.getDeviceScale()) / rs.getDeviceScale(), s2 = r2?.letterSpacing || 0, i2 = t2.length;
3382
3376
  const a2 = i2 * (0.55 * o2) - (t2.match(/[il.,;!|]/g) || []).length * o2 * 0.15 + (t2.match(/[mwMW]/g) || []).length * o2 * 0.1 + (i2 > 0 ? (i2 - 1) * s2 : 0), l2 = Math.ceil(1.2 * o2), c2 = Math.ceil(0.8 * o2), h2 = Math.ceil(0.2 * o2), d2 = Math.ceil(0.45 * o2), u2 = Math.ceil(1.1 * o2), g2 = Math.max(1, Math.ceil(0.08 * o2));
3383
3377
  return { width: a2, lineHeight: l2, baseline: c2, lineGap: h2, strikePosition: d2, underlinePosition: u2, strikeThickness: g2, underlineThickness: g2, actualBoundingBoxLeft: 0, actualBoundingBoxRight: a2, actualBoundingBoxAscent: c2, actualBoundingBoxDescent: l2 - c2, fontBoundingBoxAscent: c2, fontBoundingBoxDescent: l2 - c2, emHeightAscent: c2, emHeightDescent: l2 - c2, hangingBaseline: 0.8 * c2, alphabeticBaseline: c2, ideographicBaseline: l2 };
@@ -3860,7 +3854,7 @@ function Ts(t2, e2, n2, r2) {
3860
3854
  function Ns(t2) {
3861
3855
  return null == t2;
3862
3856
  }
3863
- function ks(t2, e2, n2 = 1, r2) {
3857
+ function Fs(t2, e2, n2 = 1, r2) {
3864
3858
  if (0 === n2) return { preceding: t2 ? [...t2] : [], modified: [], trailing: [] };
3865
3859
  const s2 = (function(t3, e3, n3 = 1) {
3866
3860
  let r3 = o.findEqualOrGreater(t3, e3, (t4) => t4.max);
@@ -3873,7 +3867,7 @@ function ks(t2, e2, n2 = 1, r2) {
3873
3867
  i2.length > 0 && l2.push(i2.pop()), l2 = l2.concat(s2.modified), a2.length > 0 && l2.push(a2.shift());
3874
3868
  return { preceding: i2, modified: Ds(l2, { onMerge: Ts }).modified, trailing: a2 };
3875
3869
  }
3876
- function Fs(t2, e2, n2) {
3870
+ function ks(t2, e2, n2) {
3877
3871
  if (!t2) throw new Error("runs can not be null");
3878
3872
  if (!e2) return { preceding: [], modified: t2 ? [...t2] : [], trailing: [] };
3879
3873
  const r2 = (function(t3, e3, n3, r3, s3 = false) {
@@ -4294,7 +4288,7 @@ const Zs = (t2) => t2 ? { srgb: [t2.red / 255, t2.green / 255, t2.blue / 255], a
4294
4288
  }
4295
4289
  var l2;
4296
4290
  if (null === o2) {
4297
- let e3 = t2.match(kn) || t2.match(Fn);
4291
+ let e3 = t2.match(Fn) || t2.match(kn);
4298
4292
  if (e3) {
4299
4293
  let t3, n3 = 1;
4300
4294
  4 === e3.length ? t3 = [parseInt(e3[1], 16), parseInt(e3[2], 16), parseInt(e3[3], 16)] : (t3 = [parseInt(e3[2], 16), parseInt(e3[3], 16), parseInt(e3[4], 16)], n3 = Pn(parseInt(e3[1], 16) / 255)), t3 = Bn(t3), t3 = zn(t3), o2 = { srgb: t3, alpha: n3 }, a2 = Js.Type.Hex;
@@ -4522,7 +4516,7 @@ for (let t2 = 0; t2 < gi.length; t2++) {
4522
4516
  ((t2) => {
4523
4517
  t2.isEqualStrokes = (t3, e2) => !(t3 && !e2 || e2 && !t3) && (t3 === e2 || t3.getStyle() === e2.getStyle() && t3.getColor().isEqual(e2.getColor())), t2.oppositeEdge = (e2) => e2 === t2.Edge.Left ? t2.Edge.Right : e2 === t2.Edge.Right ? t2.Edge.Left : e2 === t2.Edge.Top ? t2.Edge.Bottom : e2 === t2.Edge.Bottom ? t2.Edge.Top : e2, t2.BuiltInDefinitionsArray = di, t2.BuiltInDefinitions = ui;
4524
4518
  })(ci || (ci = {}));
4525
- const mi = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, fi = (t2) => !(!t2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)), pi = Object.freeze({ formatValue: Fr, isFractionFormat: fi, adjustDecimalPlaces: (t2, e2) => {
4519
+ const mi = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, fi = (t2) => !(!t2.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t2.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)), pi = Object.freeze({ formatValue: kr, isFractionFormat: fi, adjustDecimalPlaces: (t2, e2) => {
4526
4520
  if (!t2) return "";
4527
4521
  const n2 = (t3, e3) => {
4528
4522
  let n3 = t3 || "";
@@ -4543,7 +4537,7 @@ const mi = { Text: "text", Repeat: "repeat", Spacing: "spacing" }, fi = (t2) =>
4543
4537
  }
4544
4538
  return -1 === o3 ? t3 : (r3 = n2(r3, e3), t3.substring(0, o3) + r3 + t3.substring(s3, t3.length));
4545
4539
  }, o2 = [];
4546
- let s2 = kr(t2);
4540
+ let s2 = Fr(t2);
4547
4541
  for (let t3 = 0; t3 < s2.length; t3++) o2.push(r2(s2[t3].trim(), e2));
4548
4542
  return o2.join(";");
4549
4543
  } }), _i = vn._table, Si = (t2) => 14 === t2 ? "Short Date" : _i[t2] ?? null, wi = [{ numberFormat: "General", formatType: Rr.General, primary: 1 }, { numberFormat: "0", formatType: Rr.Number, regMatch: /^0[.]{0,1}[0]*$/, args: { decimalPlaces: 0, separator: false } }, { numberFormat: "#,##0.00", formatType: Rr.Number, regMatch: /^#,##0[.]{0,1}[0]*$/, primary: 2, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "#,##0_);(#,##0)", formatType: Rr.Number, args: { decimalPlaces: 0, separator: true } }, { numberFormat: "#,##0_);[Red](#,##0)", formatType: Rr.Number, args: { decimalPlaces: 0, separator: true } }, { numberFormat: "#,##0.00_);(#,##0.00)", formatType: Rr.Number, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "#,##0.00_);[Red](#,##0.00)", formatType: Rr.Number, args: { decimalPlaces: 2, separator: true } }, { numberFormat: "$#,##0.00", formatType: Rr.Currency, primary: 3, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0_);($#,##0)", formatType: Rr.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0_);[Red]($#,##0)", formatType: Rr.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);($#,##0.00)", formatType: Rr.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);[Red]($#,##0.00)", formatType: Rr.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', primary: 4, formatType: Rr.Accounting }, { numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', formatType: Rr.Accounting }, { numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', formatType: Rr.Accounting }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: Rr.Accounting }, { numberFormat: "Short Date", formatType: Rr.ShortDate, primary: 5 }, { numberFormat: "d-mmm-yy", formatType: Rr.MediumDate, primary: 5.5 }, { numberFormat: "Long Date", formatType: Rr.LongDate, primary: 6 }, { numberFormat: "h:mm", formatType: Rr.ShortTime, primary: 7 }, { numberFormat: "h:mm AM/PM", formatType: Rr.MediumTime, primary: 7.5 }, { numberFormat: "Long Time", formatType: Rr.LongTime, primary: 8 }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: Rr.Comma, primary: 9 }, { numberFormat: "0.00%", formatType: Rr.Percentage, primary: 10, args: { decimalPlaces: 2 }, regMatch: /^^[0#?]*[.]{0,1}[0#?]*%*$/ }, { numberFormat: "0%", formatType: Rr.Percentage, args: { decimalPlaces: 0 } }, { numberFormat: "# ?/?", formatType: Rr.Fraction, primary: 11 }, { numberFormat: "# ??/??", formatType: Rr.Fraction }, { numberFormat: "0.00E+00", formatType: Rr.Scientific, primary: 12, args: { decimalPlaces: 2 }, regMatch: /^[0#?]*[.]{0,1}[0#?]*E\+[0#?]*$/ }, { numberFormat: "##0.0E+0", formatType: Rr.Custom, args: { decimalPlaces: 0 } }, { numberFormat: "@", formatType: Rr.Text, primary: 13 }, { numberFormat: "d-mmm", formatType: Rr.Custom }, { numberFormat: "mmm-yy", formatType: Rr.Custom }, { numberFormat: "h:mm:ss", formatType: Rr.Custom }, { numberFormat: "m/d/yyyy h:mm", formatType: Rr.Custom }, { numberFormat: "mm:ss", formatType: Rr.Custom }, { numberFormat: "mm:ss.0", formatType: Rr.Custom }, { numberFormat: "[h]:mm:ss", formatType: Rr.Custom }], yi = [{ numberFormat: "00000", formatType: Rr.Special, primary: 11 }, { numberFormat: "00000-0000", formatType: Rr.Special }, { numberFormat: "[<=9999999]###-####;(###) ###-####", formatType: Rr.Special }, { numberFormat: "000-00-0000", formatType: Rr.Special }], Ei = /* @__PURE__ */ new Map(), Ci = [];
@@ -4592,7 +4586,7 @@ const Ni = (t2, e2, n2, r2, o2) => {
4592
4586
  r2?.set(h2, c2);
4593
4587
  const d2 = c2.toRGBA().toString();
4594
4588
  return o2?.set(d2, c2), { description: t2.description + ", " + i2, definition: s2 };
4595
- }, ki = (t2, e2, n2, r2) => {
4589
+ }, Fi = (t2, e2, n2, r2) => {
4596
4590
  let o2 = [];
4597
4591
  for (let s2 = 0; s2 < t2.length; s2++) {
4598
4592
  let i2 = [];
@@ -4605,8 +4599,8 @@ const Ni = (t2, e2, n2, r2, o2) => {
4605
4599
  }
4606
4600
  return o2;
4607
4601
  };
4608
- var Fi, Oi;
4609
- (Fi || (Fi = {})).buildPalette = ki, (Oi || (Oi = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4602
+ var ki, Oi;
4603
+ (ki || (ki = {})).buildPalette = Fi, (Oi || (Oi = {})).BuiltInFilterType = { BuiltIn: "builtIn", All: "all", Custom: "custom" };
4610
4604
  const Di = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E97132", "196B24", "0F9ED5", "A02B93", "4EA72E", "467886", "96607D"], ["Office 2013-2022", "windowText", "window", "44546A", "E7E6E6", "4472C4", "ED7D31", "A5A5A5", "FFC000", "5B9BD5", "70AD47", "0563C1", "954F72"], ["Office 2007-2010", "windowText", "window", "1F497D", "EEECE1", "4F81BD", "C0504D", "9BBB59", "8064A2", "4BACC6", "F79646", "0000FF", "800080"], ["Grayscale", "windowText", "window", "000000", "F8F8F8", "DDDDDD", "B2B2B2", "969696", "808080", "5F5F5F", "4D4D4D", "5F5F5F", "919191"], ["Atlas", "windowText", "window", "454545", "E0E0E0", "F81B02", "FC7715", "AFBF41", "50C49F", "3B95C4", "B560D4", "FC5A1A", "B49E74"], ["Banded", "2C2C2C", "FFFFFF", "099BDD", "F2F2F2", "FFC000", "A5D028", "08CC78", "F24099", "828288", "F56617", "005DBA", "6C606A"], ["Basis", "000000", "FFFFFF", "565349", "DDDDDD", "A6B727", "DF5327", "FE9E00", "418AB3", "D7D447", "818183", "F59E00", "B2B2B2"], ["Berlin", "windowText", "window", "9D360E", "E7E6E6", "F09415", "C1B56B", "4BAF73", "5AA6C0", "D17DF9", "FA7E5C", "FFAE3E", "FCC77E"], ["Celestial", "windowText", "window", "18276C", "EBEBEB", "AC3EC1", "477BD1", "46B298", "90BA4C", "DD9D31", "E25247", "C573D2", "CCAEE8"], ["Circuit", "windowText", "window", "134770", "82FFFF", "9ACD4C", "FAA93A", "D35940", "B258D3", "63A0CC", "8AC4A7", "B8FA56", "7AF8CC"], ["Damask", "windowText", "window", "2A5B7F", "ABDAFC", "9EC544", "50BEA3", "4A9CCC", "9A66CA", "C54F71", "DE9C3C", "6BA9DA", "A0BCD3"], ["Depth", "windowText", "window", "455F51", "94D7E4", "41AEBD", "97E9D5", "A2CF49", "608F3D", "F4DE3A", "FCB11C", "FBCA98", "D3B86D"], ["Dividend", "windowText", "window", "3D3D3D", "EBEBEB", "4D1434", "903163", "B2324B", "969FA7", "66B1CE", "40619D", "828282", "A5A5A5"], ["Droplet", "windowText", "window", "355071", "AABED7", "2FA3EE", "4BCAAD", "86C157", "D99C3F", "CE6633", "A35DD1", "56BCFE", "97C5E3"], ["Facet", "windowText", "window", "2C3C43", "EBEBEB", "90C226", "54A021", "E6B91E", "E76618", "C42F1A", "918655", "99CA3C", "B9D181"], ["Frame", "000000", "FFFFFF", "545454", "BFBFBF", "40BAD2", "FAB900", "90BB23", "EE7008", "1AB39F", "D5393D", "90BB23", "EE7008"], ["Gallery", "windowText", "window", "454545", "DFDBD5", "B71E42", "DE478E", "BC72F0", "795FAF", "586EA6", "6892A0", "FA2B5C", "BC658E"], ["Integral", "windowText", "window", "335B74", "DFE3E5", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "6B9F25", "B26B02"], ["Ion Boardroom", "windowText", "window", "3B3059", "EBEBEB", "B31166", "E33D6F", "E45F3C", "E9943A", "9B6BF2", "D53DD0", "8F8F8F", "A5A5A5"], ["Ion", "windowText", "window", "1E5155", "EBEBEB", "B01513", "EA6312", "E6B729", "6AAC90", "54849A", "9E5E9B", "58C1BA", "9DFFCB"], ["Madison", "windowText", "window", "1F2D29", "C5FAEB", "A1D68B", "5EC795", "4DADCF", "CDB756", "E29C36", "8EC0C1", "6D9D9B", "6D8583"], ["Main Event", "windowText", "window", "424242", "C8C8C8", "B80E0F", "A6987D", "7F9A71", "64969F", "9B75B2", "80737A", "F21213", "B6A394"], ["Mesh", "windowText", "window", "363D46", "EBEBEB", "6F6F6F", "BFBFA5", "DCD084", "E7BF5F", "E9A039", "CF7133", "F28943", "F1B76C"], ["Metropolitan", "windowText", "window", "162F33", "EAF0E0", "50B4C8", "A8B97F", "9B9256", "657689", "7A855D", "84AC9D", "2370CD", "877589"], ["Organic", "windowText", "window", "212121", "DADADA", "83992A", "3C9770", "44709D", "A23C33", "D97828", "DEB340", "A8BF4D", "B4CA80"], ["Parallax", "windowText", "window", "212121", "CDD0D1", "30ACEC", "80C34F", "E29D3E", "D64A3B", "D64787", "A666E1", "3085ED", "82B6F4"], ["Parcel", "000000", "FFFFFF", "4A5356", "E8E3CE", "F6A21D", "9BAFB5", "C96731", "9CA383", "87795D", "A0988C", "00B0F0", "738F97"], ["Quotable", "windowText", "window", "212121", "636363", "00C6BB", "6FEBA0", "B6DF5E", "EFB251", "EF755F", "ED515C", "8F8F8F", "A5A5A5"], ["Retrospect", "000000", "window", "637052", "CCDDEA", "E48312", "BD582C", "865640", "9B8357", "C2BC80", "94A088", "2998E3", "8C8C8C"], ["Savon", "windowText", "window", "1485A4", "E3DED1", "1CADE4", "2683C6", "27CED7", "42BA97", "3E8853", "62A39F", "F49100", "739D9B"], ["Slate", "windowText", "window", "212123", "DADADA", "BC451B", "D3BA68", "BB8640", "AD9277", "A55A43", "AD9D7B", "E98052", "F4B69B"], ["Slice", "windowText", "window", "146194", "76DBF4", "052F61", "A50E82", "14967C", "6A9E1F", "E87D37", "C62324", "0D2E46", "356A95"], ["Vapor Trail", "windowText", "window", "454545", "DADADA", "DF2E28", "FE801A", "E9BF35", "81BB42", "32C7A9", "4A9BDC", "F0532B", "F38B53"], ["View", "000000", "FFFFFF", "46464A", "D6D3CC", "6F6F74", "92A9B9", "A7B789", "B9A489", "8D6374", "9B7362", "67AABF", "ABAFA5"], ["Wisp", "windowText", "window", "766F54", "E3EACF", "A53010", "DE7E18", "9F8351", "728653", "92AA4C", "6AAC91", "FB4A18", "FB9318"], ["Wood Type", "windowText", "window", "696464", "E9E5DC", "D34817", "9B2D1F", "A28E6A", "956251", "918485", "855D5D", "CC9900", "96A9A9"]], Bi = [["Office", "Calibri Light", "Calibri"], ["Office 2013-2022", "Calibri Light", "Calibri"], ["Office 2007-2010", "Calibri Light", "Calibri"], ["Grayscale", "Calibri Light", "Calibri"], ["Atlas", "Calibri Light", "Rockwell"], ["Banded", "Corbel", "Corbel"], ["Basis", "Corbel", "Corbel"], ["Berlin", "Trebuchet MS", "Trebuchet MS"], ["Celestial", "Calibri Light", "Calibri"], ["Circuit", "Tw Cen MT", "Tw Cen MT"], ["Damask", "Bookman Old Style", "Rockwell"], ["Depth", "Corbel", "Corbel"], ["Madison", "Arial", "Arial"], ["Main Event", "Impact", "Impact"], ["Mesh", "Century Gothic", "Century Gothic"], ["Metropolitan", "Calibri Light", "Calibri Light"], ["Organic", "Garamond", "Garamond"], ["Parallax", "Corbel", "Corbel"], ["Parcel", "Gill Sans MT", "Gill Sans MT"], ["Quotable", "Century Gothic", "Century Gothic"], ["Retrospect", "Calibri Light", "Calibri"], ["Savon", "Century Gothic", "Century Gothic"], ["Slate", "Calisto MT", "Calisto MT"], ["Slice", "Century Gothic", "Century Gothic"], ["Vapor Trail", "Century Gothic", "Century Gothic"], ["View", "Century Schoolbook", "Century Schoolbook"], ["Wisp", "Century Gothic", "Century Gothic"], ["Wood Type", "Rockwell Condensed", "Rockwell"]], Li = [["Office", "Office", "Office"], ["2013-2022", "Office 2013-2022", "Office 2013-2022"], ["Atlas", "Atlas", "Atlas"], ["Banded", "Banded", "Banded"], ["Basis", "Basis", "Basis"], ["Berlin", "Berlin", "Berlin"], ["Celestial", "Celestial", "Celestial"], ["Circuit", "Circuit", "Circuit"], ["Damask", "Damask", "Damask"], ["Depth", "Depth", "Depth"], ["Dividend", "Dividend", "Dividend"], ["Droplet", "Droplet", "Droplet"], ["Facet", "Facet", "Facet"], ["Frame", "Frame", "Frame"], ["Gallery", "Gallery", "Gallery"], ["Grayscale", "Grayscale", "Grayscale"], ["Integral", "Integral", "Integral"], ["Ion Boardroom", "Ion Boardroom", "Ion Boardroom"], ["Ion", "Ion", "Ion"], ["Madison", "Madison", "Madison"], ["Main Event", "Main Event", "Main Event"], ["Mesh", "Mesh", "Mesh"], ["Metropolitan", "Metropolitan", "Metropolitan"], ["Organic", "Organic", "Organic"], ["Parallax", "Parallax", "Parallax"], ["Parcel", "Parcel", "Parcel"], ["Quotable", "Quotable", "Quotable"], ["Retrospect", "Retrospect", "Retrospect"], ["Savon", "Savon", "Savon"], ["Slate", "Slate", "Slate"], ["Slice", "Slice", "Slice"], ["Vapor Trail", "Vapor Trail", "Vapor Trail"], ["View", "View", "View"], ["Wisp", "Wisp", "Wisp"], ["Wood Type", "Wood Type", "Wood Type"], ["Office 2007-2010", "Office 2007-2010", "Office 2007-2010"]], zi = "Themes is readonly. To make modifications create a new DocsThemes instance.", Pi = { [Js.Scheme.Bg1]: "lt1", [Js.Scheme.Bg2]: "lt2", [Js.Scheme.Tx1]: "dk1", [Js.Scheme.Tx2]: "dk2", [Js.Scheme.Accent1]: "accent1", [Js.Scheme.Accent2]: "accent2", [Js.Scheme.Accent3]: "accent3", [Js.Scheme.Accent4]: "accent4", [Js.Scheme.Accent5]: "accent5", [Js.Scheme.Accent6]: "accent6", [Js.Scheme.Hlink]: "hlink", [Js.Scheme.FolHlink]: "folHlink" }, Hi = "Office", Wi = [Hi, "Calibri Light", "Calibri"], Vi = ["dk1", "lt1", "dk2", "lt2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "hlink", "folHlink"], ji = (t2) => {
4611
4605
  const e2 = {};
4612
4606
  for (let n2 = 0; n2 < t2.length; n2++) {
@@ -5710,7 +5704,7 @@ class Aa {
5710
5704
  const g2 = u2.min, m2 = u2.max;
5711
5705
  if (o2 && g2 > r2 || !o2 && m2 < n2) return pa;
5712
5706
  let f2 = c3[1];
5713
- return s2 || (m2 > r2 && (f2 = f2.slice(0, f2.length - (m2 - r2)), u2 = { ...u2 }, u2.max = r2), g2 < n2 && (f2 = f2.slice(n2 - g2), u2 === h2 && (u2 = { ...u2 }), u2.min = n2)), ka(u2, f2, e2);
5707
+ return s2 || (m2 > r2 && (f2 = f2.slice(0, f2.length - (m2 - r2)), u2 = { ...u2 }, u2.max = r2), g2 < n2 && (f2 = f2.slice(n2 - g2), u2 === h2 && (u2 = { ...u2 }), u2.min = n2)), Fa(u2, f2, e2);
5714
5708
  }, return: (t3) => null, throw: (t3) => null };
5715
5709
  return l2(o2 ? n2 : r2), c2;
5716
5710
  }
@@ -5760,7 +5754,7 @@ class Aa {
5760
5754
  toArray(t2 = Number.MAX_SAFE_INTEGER, e2 = true) {
5761
5755
  if (0 === this.length) return o.EmptyArray;
5762
5756
  const n2 = e2 ? 0 : Number.MIN_SAFE_INTEGER, r2 = Math.min(this._runs.maxKey().max, t2);
5763
- return La.bounds.min = Number.MIN_SAFE_INTEGER, La.bounds.max = r2, Fa(this.entries(La), e2, r2, n2);
5757
+ return La.bounds.min = Number.MIN_SAFE_INTEGER, La.bounds.max = r2, ka(this.entries(La), e2, r2, n2);
5764
5758
  }
5765
5759
  get isIReadableList() {
5766
5760
  return true;
@@ -5871,10 +5865,10 @@ Aa || (Aa = {});
5871
5865
  const Ma = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [-1, null]), t2) : true === t2 ? Da : void 0, Ta = (t2, e2, n2) => {
5872
5866
  const r2 = n2 ?? { done: false, value: [-1, null] }, o2 = r2.value;
5873
5867
  return o2[0] = t2, o2[1] = e2, r2;
5874
- }, Na = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [null, null]), t2) : true === t2 ? Oa : void 0, ka = (t2, e2, n2) => {
5868
+ }, Na = (t2) => "boolean" != typeof t2 ? (t2 && !t2.value && (t2.value = [null, null]), t2) : true === t2 ? Oa : void 0, Fa = (t2, e2, n2) => {
5875
5869
  const r2 = n2 ?? { done: false, value: [null, null] }, o2 = r2.value;
5876
5870
  return o2[0] = t2, o2[1] = e2, r2;
5877
- }, Fa = (t2, e2 = false, n2 = Number.MIN_SAFE_INTEGER, r2 = Number.MAX_SAFE_INTEGER) => {
5871
+ }, ka = (t2, e2 = false, n2 = Number.MIN_SAFE_INTEGER, r2 = Number.MAX_SAFE_INTEGER) => {
5878
5872
  const o2 = [];
5879
5873
  let s2 = t2.next(), i2 = Math.max(r2, 0) - 1;
5880
5874
  for (; !s2.done; ) {
@@ -6207,7 +6201,7 @@ class il {
6207
6201
  let _2 = null;
6208
6202
  const S2 = this.getBoundingCoords();
6209
6203
  if (!S2) return this;
6210
- const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? ml, A2 = C2?.getShifted, M2 = C2?.onShifted, T2 = C2?.onRemoved, N2 = C2?.onMerged, k2 = C2?.onUpdated, F2 = M2 ? [] : null, O2 = T2 ? [] : null, D2 = k2 ? [] : null;
6204
+ const w2 = n2 === h.Up || n2 === h.Left ? h.Right : h.Left, y2 = /* @__PURE__ */ new Map(), E2 = /* @__PURE__ */ new Map(), C2 = this._options?.updateEntryOptions, b2 = C2?.isMergeOnShift ?? false, v2 = C2?.isSplitOnExpand ?? false, x2 = C2?.isTrailingEdge ?? false, I2 = n2 === h.Left || n2 === h.Up, R2 = C2?.getSplit ?? ml, A2 = C2?.getShifted, M2 = C2?.onShifted, T2 = C2?.onRemoved, N2 = C2?.onMerged, F2 = C2?.onUpdated, k2 = M2 ? [] : null, O2 = T2 ? [] : null, D2 = F2 ? [] : null;
6211
6205
  this.visitRanges({ colStart: e2.colStart - (a2 ? 1 : 0), rowStart: e2.rowStart - (a2 ? 0 : 1), colEnd: a2 ? S2.colEnd : e2.colEnd, rowEnd: a2 ? e2.rowEnd : S2.rowEnd }, (t3) => {
6212
6206
  if ((a2 ? t3.colEnd < e2.colStart : t3.rowEnd < e2.rowStart) && !x2) return;
6213
6207
  const r3 = pl(e2, t3, a2 ? g.Column : g.Row), o2 = t3.group;
@@ -6230,7 +6224,7 @@ class il {
6230
6224
  o2 ? (y2.set(o2.uuid, o2), e3 = [], E2.set(t3.uuid, e3)) : f2.push(t3);
6231
6225
  for (let n3 = 0; n3 < w3; n3++) {
6232
6226
  const r4 = S3[n3];
6233
- _2 = c.unionRanges(_2, r4), o2 ? e3.push(r4) : (p2.push(r4), F2 && F2.push(r4), D2 && D2.push(t3));
6227
+ _2 = c.unionRanges(_2, r4), o2 ? e3.push(r4) : (p2.push(r4), k2 && k2.push(r4), D2 && D2.push(t3));
6234
6228
  }
6235
6229
  }
6236
6230
  }, w2);
@@ -6244,7 +6238,7 @@ class il {
6244
6238
  N2 && (L2 = B2._mergeNodes(t4, false));
6245
6239
  }
6246
6240
  }
6247
- return k2 && D2.length > 0 && k2(D2), M2 && F2.length > 0 && M2(F2), N2 && L2.length > 0 && N2(L2), T2 && O2.length > 0 && T2(O2), B2;
6241
+ return F2 && D2.length > 0 && F2(D2), M2 && k2.length > 0 && M2(k2), N2 && L2.length > 0 && N2(L2), T2 && O2.length > 0 && T2(O2), B2;
6248
6242
  }
6249
6243
  insertNonOverlapping(t2, e2) {
6250
6244
  const n2 = e2?.onIntersect ?? ((t3, e3) => ({ ...t3, value: e3.value })), r2 = this.search(t2), s2 = /* @__PURE__ */ new Map(), i2 = /* @__PURE__ */ new Map(), a2 = this._options?.updateEntryOptions, h2 = a2?.onUpdated, d2 = a2?.onRemoved, u2 = a2?.onMerged, g2 = a2?.getSplit, m2 = a2?.getIntersect, f2 = a2?.getUpdate;
@@ -6920,9 +6914,9 @@ const Al = "Must be an array of arrays.", Ml = (t2, e2, n2) => {
6920
6914
  return l2.build();
6921
6915
  }, Nl = (t2, e2, n2) => {
6922
6916
  if (t2 === e2) return e2;
6923
- }, kl = (t2, e2, n2) => {
6917
+ }, Fl = (t2, e2, n2) => {
6924
6918
  if (t2[0].value === t2[1].value) return e2;
6925
- }, Fl = [null, null], Ol = (t2 = true, e2 = Nl) => {
6919
+ }, kl = [null, null], Ol = (t2 = true, e2 = Nl) => {
6926
6920
  const n2 = [];
6927
6921
  let r2, o2, s2 = Number.MIN_SAFE_INTEGER, i2 = Number.MIN_SAFE_INTEGER;
6928
6922
  return { append: (a2, l2, c2) => {
@@ -6935,7 +6929,7 @@ const Al = "Must be an array of arrays.", Ml = (t2, e2, n2) => {
6935
6929
  r2 && n2.push(r2);
6936
6930
  const d2 = t2 ? a2 : l2, u2 = t2 ? l2 : a2;
6937
6931
  r2 = { colStart: d2, rowStart: u2, colEnd: d2, rowEnd: u2, value: c2 }, s2 = a2, i2 = l2, o2 = c2;
6938
- }, done: (e3 = false) => (r2 && (n2.push(r2), r2 = null), e3 ? ul(n2, t2 ? l.Column : l.Row, 2, kl, Fl) : n2) };
6932
+ }, done: (e3 = false) => (r2 && (n2.push(r2), r2 = null), e3 ? ul(n2, t2 ? l.Column : l.Row, 2, Fl, kl) : n2) };
6939
6933
  };
6940
6934
  class Dl {
6941
6935
  constructor(t2) {
@@ -7242,16 +7236,16 @@ class Dl {
7242
7236
  o2 || (A2 = Number.MAX_SAFE_INTEGER, M2 = Number.MIN_SAFE_INTEGER);
7243
7237
  let T2 = Number.MAX_SAFE_INTEGER;
7244
7238
  r2 && (T2 = s2 ? r2.colEnd : r2.rowEnd);
7245
- const N2 = /* @__PURE__ */ new Set(), k2 = E2 ? /* @__PURE__ */ new Map() : null, F2 = [], O2 = v2.entries(Wl), D2 = { bounds: { min: g2, max: m2 } };
7239
+ const N2 = /* @__PURE__ */ new Set(), F2 = E2 ? /* @__PURE__ */ new Map() : null, k2 = [], O2 = v2.entries(Wl), D2 = { bounds: { min: g2, max: m2 } };
7246
7240
  let B2 = O2.next();
7247
7241
  for (; !B2.done; ) {
7248
7242
  const t3 = B2.value, e3 = t3[0], n3 = t3[1].clone(), r3 = n3.getCoords(), o3 = r3.min, s3 = r3.max;
7249
- if (E2 && k2.set(e3, n3), g2 <= s3) {
7243
+ if (E2 && F2.set(e3, n3), g2 <= s3) {
7250
7244
  const t4 = n3.getCount();
7251
7245
  E2 ? (e3 >= a2 - C2 && ga(n3.runs(D2), (t5, n4) => {
7252
7246
  const r5 = n4.min, o4 = n4.max;
7253
7247
  let s4 = t5;
7254
- r5 - 1 <= m2 && o4 > m2 && (s4 = s4.slice(0, m2 + 1 - r5)), r5 < g2 && o4 + 1 >= g2 && (s4 = s4.slice(g2 - r5)), F2.push({ majorIndex: e3 + C2, minorIndex: Math.max(r5, g2), run: s4 });
7248
+ r5 - 1 <= m2 && o4 > m2 && (s4 = s4.slice(0, m2 + 1 - r5)), r5 < g2 && o4 + 1 >= g2 && (s4 = s4.slice(g2 - r5)), k2.push({ majorIndex: e3 + C2, minorIndex: Math.max(r5, g2), run: s4 });
7255
7249
  }), n3.delete(g2, m2 - g2 + 1)) : n3.shift(g2, C2);
7256
7250
  const r4 = n3.getCount();
7257
7251
  if (0 === r4) N2.add(e3), A2 = Math.min(A2, s3), M2 = Math.max(M2, o3);
@@ -7265,10 +7259,10 @@ class Dl {
7265
7259
  }
7266
7260
  const L2 = this._optionsMinor;
7267
7261
  let z2 = false;
7268
- for (let t3 = 0; t3 < F2.length; t3++) {
7269
- const e3 = F2[t3], n3 = e3.majorIndex, r3 = e3.run;
7270
- let o3 = k2.get(n3);
7271
- o3 || (o3 = new Aa(L2), k2.set(n3, o3), x2.push([n3, o3]), z2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), N2 && N2.delete(n3);
7262
+ for (let t3 = 0; t3 < k2.length; t3++) {
7263
+ const e3 = k2[t3], n3 = e3.majorIndex, r3 = e3.run;
7264
+ let o3 = F2.get(n3);
7265
+ o3 || (o3 = new Aa(L2), F2.set(n3, o3), x2.push([n3, o3]), z2 = true), o3.setRunAt(e3.minorIndex, r3), b2 += r3.length, I2 = Math.min(I2, n3), R2 = Math.max(R2, n3), N2 && N2.delete(n3);
7272
7266
  }
7273
7267
  if (this._updateMajorSpan(x2, z2), N2 && N2.size > 0) {
7274
7268
  const t3 = Array.from(N2.values()), e3 = Ls(t3);
@@ -7816,12 +7810,12 @@ class pc {
7816
7810
  const t2 = { ...M2 };
7817
7811
  1 === p2 && (t2.colEnd = t2.colStart), 1 === _2 && (t2.rowEnd = t2.rowStart), A2 = new Il({ delegate: g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: t2, reuseResult: false }), bounds: t2, orientation: x2, dims: { major: I2 ? S2 : w2, minor: I2 ? w2 : S2 } });
7818
7812
  } else A2 = g2._entries({ ...s2, type: l2 ?? null, orientation: x2, bounds: M2, reuseResult: false });
7819
- const T2 = i2.colStart, N2 = i2.rowStart, k2 = T2 - M2.colStart, F2 = N2 - M2.rowStart, O2 = x2 === v2 ? new Dt.Builder() : new Dt.TransposedBuilder(), D2 = new Rl({ ...s2, bounds: i2, comparator: (I2 ? uc : gc)(i2, M2) }, R2, A2);
7813
+ const T2 = i2.colStart, N2 = i2.rowStart, F2 = T2 - M2.colStart, k2 = N2 - M2.rowStart, O2 = x2 === v2 ? new Dt.Builder() : new Dt.TransposedBuilder(), D2 = new Rl({ ...s2, bounds: i2, comparator: (I2 ? uc : gc)(i2, M2) }, R2, A2);
7820
7814
  let B2, L2 = D2.next();
7821
7815
  for (; !L2.done; ) {
7822
7816
  const t2 = L2.value;
7823
7817
  let e2 = t2[1], r3 = t2[3];
7824
- const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + k2, l3 = s3 ? s3.rowIndex : i3.rowIndex + F2;
7818
+ const s3 = t2[0], i3 = t2[2], a3 = s3 ? s3.colIndex : i3.colIndex + F2, l3 = s3 ? s3.rowIndex : i3.rowIndex + k2;
7825
7819
  let c2, u3;
7826
7820
  e2 instanceof n.Value ? c2 = e2 : r3 instanceof n.Value && (c2 = r3), u3 = c2 || o2(e2 ?? h2, r3 ?? d2, { colIndex: a3 - T2, rowIndex: l3 - N2 }, this);
7827
7821
  const g3 = I2 ? a3 : l3, m3 = I2 ? l3 : a3;
@@ -8199,7 +8193,7 @@ const _c = { colStart: Number.MIN_SAFE_INTEGER, rowStart: Number.MIN_SAFE_INTEGE
8199
8193
  const i2 = n2.getOrientation() === e.Orientation.Column, a2 = Tl(s2, i2, El(r2?.colStart ?? 0, r2?.rowStart ?? 0, void 0, void 0, i2), true), l2 = Cl(a2.bounds, i2);
8200
8194
  n2.setValues(a2.tuples);
8201
8195
  return new pc(n2, l2, o2, !r2);
8202
- }, kc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), Fc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Oc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Dc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Bc = /\s+/g, Lc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, zc = /[\uE000-\uF8FF]/g, Pc = "#REF!", Hc = Math.pow(2, 14), Wc = Math.pow(2, 20);
8196
+ }, Fc = new RegExp(/^([$]?[a-zA-Z]*[$]?[0-9]*)[:]?([$]?[a-zA-Z]*[$]?[0-9]*)?$/), kc = new RegExp(/^(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?)(:(R(?:\[?[-+]?\d+\]?|\d+)?C(?:\[?[-+]?\d+\]?|\d+)?))?$/, "i"), Oc = new RegExp(/^(R?)(\[?[-+]?\d+\]?|\d+)?(C?)(\[?[-+]?\d+\]?|\d+)?$/, "i"), Dc = new RegExp("(?:'[^']+'|[A-Za-z0-9_\\-.]+?!)?(\\$?[A-Za-z]+\\$?\\d+(?::\\$?[A-Za-z]+\\$?\\d+)?|\\$?[A-Za-z]+:\\$?[A-Za-z]+|\\$?\\d+:\\$?\\d+)", "g"), Bc = /\s+/g, Lc = /"(?:[^"]|"")*"|\[[^[\]]+\]/g, zc = /[\uE000-\uF8FF]/g, Pc = "#REF!", Hc = Math.pow(2, 14), Wc = Math.pow(2, 20);
8203
8197
  let Vc, jc;
8204
8198
  const $c = (t2) => (Vc === t2 || (jc = "" + (t2 + 1), Vc = t2), jc);
8205
8199
  let Gc, Uc;
@@ -8421,7 +8415,7 @@ const Jc = (t2) => {
8421
8415
  }
8422
8416
  return n2.rowEnd = --r2, n2;
8423
8417
  }, fh = (t2, e2 = false) => {
8424
- const n2 = t2.match(e2 ? Fc : kc);
8418
+ const n2 = t2.match(e2 ? kc : Fc);
8425
8419
  return t2.endsWith(":") ? null : n2;
8426
8420
  }, ph = { rowIndex: -1, colIndex: -1, $colIndex: false, $rowIndex: false }, _h = (t2, e2, n2, r2 = Hc) => {
8427
8421
  let o2 = t2.lastIndexOf("!"), s2 = "";
@@ -8513,7 +8507,7 @@ const Jc = (t2) => {
8513
8507
  }, Ih = "Must specify an address.", Rh = "Only a single range is allowed for this operation. Use 'getRanges' instead.", Ah = "Only a single cell is allowed.", Mh = "Invalid range. The Range must be specified as '{ TOP_LEFT:BOTTOM_RIGHT }'.", Th = (t2) => `Invalid address. Can not parse ${"string" == typeof t2 ? `'${t2}' ` : ""}as an address or named item.`, Nh = () => {
8514
8508
  throw new Error("Invalid range.");
8515
8509
  };
8516
- class kh {
8510
+ class Fh {
8517
8511
  constructor(t2, e2, n2 = false) {
8518
8512
  this._c = t2, this._cycleId = e2, this._e = n2;
8519
8513
  }
@@ -8528,20 +8522,20 @@ class kh {
8528
8522
  }
8529
8523
  setError(t2, e2) {
8530
8524
  const n2 = this._c;
8531
- return { ...n2, value: new kh(n2, e2, t2) };
8525
+ return { ...n2, value: new Fh(n2, e2, t2) };
8532
8526
  }
8533
8527
  getShifted(t2) {
8534
8528
  const e2 = t2.after;
8535
8529
  if (!e2) return null;
8536
8530
  const n2 = c.sanitizeRange(e2);
8537
- return { ...n2, value: new kh(n2, this._cycleId, this._e) };
8531
+ return { ...n2, value: new Fh(n2, this._cycleId, this._e) };
8538
8532
  }
8539
8533
  getMerged(t2, e2, n2) {
8540
8534
  }
8541
8535
  getSplit(t2, e2) {
8542
8536
  }
8543
8537
  }
8544
- class Fh {
8538
+ class kh {
8545
8539
  constructor(t2, e2) {
8546
8540
  this._c = t2, this._o = e2;
8547
8541
  }
@@ -8552,15 +8546,15 @@ class Fh {
8552
8546
  return this._o;
8553
8547
  }
8554
8548
  getShifted(t2) {
8555
- return t2.after ? { ...t2.after, value: new Fh(t2.after, this._o) } : null;
8549
+ return t2.after ? { ...t2.after, value: new kh(t2.after, this._o) } : null;
8556
8550
  }
8557
8551
  getMerged(t2, e2, n2) {
8558
8552
  const r2 = this._o;
8559
- return new Fh(e2, r2);
8553
+ return new kh(e2, r2);
8560
8554
  }
8561
8555
  getSplit(t2, e2) {
8562
8556
  const n2 = this._o;
8563
- return [new Fh(t2[0], n2), new Fh(t2[1], n2)];
8557
+ return [new kh(t2[0], n2), new kh(t2[1], n2)];
8564
8558
  }
8565
8559
  getState() {
8566
8560
  return this._c;
@@ -8572,7 +8566,7 @@ const Oh = (t2, n2) => {
8572
8566
  for (let e2 = 0; e2 < t2.length; e2++) {
8573
8567
  const o2 = t2[e2], i2 = o2[0], a2 = o2[1];
8574
8568
  for (let t3 = 0; t3 < a2.length; t3++) {
8575
- const e3 = a2[t3], o3 = e3[0], l2 = e3[1].length - 1, c2 = { colStart: n2 ? i2 : o3, rowStart: n2 ? o3 : i2, colEnd: n2 ? i2 : o3 + l2, rowEnd: n2 ? o3 + l2 : i2, value: new Fh({ colStart: n2 ? i2 : o3, rowStart: n2 ? o3 : i2, colEnd: n2 ? i2 : o3 + l2, rowEnd: n2 ? o3 + l2 : i2 }, s2) };
8569
+ const e3 = a2[t3], o3 = e3[0], l2 = e3[1].length - 1, c2 = { colStart: n2 ? i2 : o3, rowStart: n2 ? o3 : i2, colEnd: n2 ? i2 : o3 + l2, rowEnd: n2 ? o3 + l2 : i2, value: new kh({ colStart: n2 ? i2 : o3, rowStart: n2 ? o3 : i2, colEnd: n2 ? i2 : o3 + l2, rowEnd: n2 ? o3 + l2 : i2 }, s2) };
8576
8570
  r2.push(c2);
8577
8571
  }
8578
8572
  }
@@ -8667,7 +8661,7 @@ class Lh {
8667
8661
  }
8668
8662
  const zh = Object.freeze({ break: true });
8669
8663
  var Ph;
8670
- (Ph || (Ph = {})).Type = { Style: "style", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Continuous: "continuous", Pending: "pending", CalcError: "calcError" };
8664
+ (Ph || (Ph = {})).Type = { Style: "style", Continuous: "continuous", Table: "table", Merge: "merge", Hyperlink: "hyperlink", Comments: "comments", Unlock: "unlock", Contentful: "contentful", Conditional: "conditional", Formula: "formula", Spill: "spill", Pending: "pending", CalcError: "calcError", Validation: "dataValidation" };
8671
8665
  const Hh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Contentful]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Wh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false, [Ph.Type.Spill]: false, [Ph.Type.Pending]: false, [Ph.Type.CalcError]: false, [Ph.Type.Conditional]: false, [Ph.Type.Continuous]: false }), Vh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: true, [Ph.Type.Merge]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Formula]: false });
8672
8666
  Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Table]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Comments]: false, [Ph.Type.Unlock]: false, [Ph.Type.Contentful]: false, [Ph.Type.Formula]: false });
8673
8667
  const jh = Object.freeze({ [Ph.Type.Style]: false, [Ph.Type.Hyperlink]: false, [Ph.Type.Continuous]: false, [Ph.Type.Contentful]: false }), $h = "This sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.", Gh = (t2 = "update") => `Unable to ${t2}, this sheet is protected. To make a change, unprotect the sheet. You might be requested to enter a password.`, Uh = "The range is outside of the bounds of the sheet.", Jh = "Listener can not be null", qh = "We can't insert items. The sheet is protected.", Kh = (t2) => `We can't create a ${t2} that overlaps with another table or merge.`, Xh = "Overlapping ranges can not be merged.", Yh = "We can't insert cells because this would push values off the end of the worksheet. These cells may appear empty but they have some formatting or formulas. Delete enough rows or columns and try again.", Qh = "Unable to partially fill over merged cells.", Zh = "Unable to sort merged cells unless they are all the same size.", td = "Sheet has been closed. No further operations are allowed.", ed = "IteratorContext can only be used during visit.", nd = "When using addresses directly from the sheet do not include the sheet name.", rd = (t2) => `Unable to return more than ${t2} values. To access values in a more scalable solution use 'ICellRange.forEach' or an iterator.`, od = "'setValue' expects a single value; when working with an array use 'setValue'.", sd = "Multiple selection ranges can not be copied.", id = "Unable to determine source.", ad = "When pasting before or after the cut area both areas must align.";
@@ -8726,8 +8720,8 @@ const dd = (t2) => {
8726
8720
  n2 && "]" !== s2 && '"' !== s2 ? e2 += s2 : '"' === s2 ? (e2 += "\\0022", n2 = !n2) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(s2) ? (e2 += "\\" + s2, "[" === s2 ? n2 = true : "]" === s2 && (n2 = false)) : ["(", ")"].includes(s2) ? e2 += "_" === r2 ? "\\" + s2 : "\\\\\\" + s2 : ["$"].includes(s2) ? e2 += "\\0022" + s2 + "\\0022" : e2 += s2, r2 = s2;
8727
8721
  }
8728
8722
  return '"' + e2 + '"';
8729
- }, Ed = "Thin", Cd = "Hairline", bd = "Extra Light", vd = "Ultra Light", xd = "Light", Id = "Normal", Rd = "Regular", Ad = "Medium", Md = "Semi Bold", Td = "Demi Bold", Nd = "Bold", kd = "Extra Bold", Fd = "Ultra Bold", Od = "Black", Dd = "Heavy", Bd = "Extra Black", Ld = "Ultra Black", zd = "lighter", Pd = "normal", Hd = "bold", Wd = "bolder", Vd = /* @__PURE__ */ new Map();
8730
- Vd.set(o.textToKey(Ed), 100), Vd.set(o.textToKey(Cd), 100), Vd.set(o.textToKey(bd), 200), Vd.set(o.textToKey(vd), 200), Vd.set(o.textToKey(xd), 300), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Rd), 400), Vd.set(o.textToKey(Ad), 500), Vd.set(o.textToKey(Md), 600), Vd.set(o.textToKey(Td), 600), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Nd), 700), Vd.set(o.textToKey(kd), 800), Vd.set(o.textToKey(Fd), 800), Vd.set(o.textToKey(Od), 900), Vd.set(o.textToKey(Dd), 900), Vd.set(o.textToKey(Bd), 950), Vd.set(o.textToKey(Ld), 950), Vd.set(o.textToKey(zd), 100), Vd.set(o.textToKey(Pd), 400), Vd.set(o.textToKey(Hd), 700), Vd.set(o.textToKey(Wd), 700);
8723
+ }, Ed = "Thin", Cd = "Hairline", bd = "Extra Light", vd = "Ultra Light", xd = "Light", Id = "Normal", Rd = "Regular", Ad = "Medium", Md = "Semi Bold", Td = "Demi Bold", Nd = "Bold", Fd = "Extra Bold", kd = "Ultra Bold", Od = "Black", Dd = "Heavy", Bd = "Extra Black", Ld = "Ultra Black", zd = "lighter", Pd = "normal", Hd = "bold", Wd = "bolder", Vd = /* @__PURE__ */ new Map();
8724
+ Vd.set(o.textToKey(Ed), 100), Vd.set(o.textToKey(Cd), 100), Vd.set(o.textToKey(bd), 200), Vd.set(o.textToKey(vd), 200), Vd.set(o.textToKey(xd), 300), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Rd), 400), Vd.set(o.textToKey(Ad), 500), Vd.set(o.textToKey(Md), 600), Vd.set(o.textToKey(Td), 600), Vd.set(o.textToKey(Id), 400), Vd.set(o.textToKey(Nd), 700), Vd.set(o.textToKey(Fd), 800), Vd.set(o.textToKey(kd), 800), Vd.set(o.textToKey(Od), 900), Vd.set(o.textToKey(Dd), 900), Vd.set(o.textToKey(Bd), 950), Vd.set(o.textToKey(Ld), 950), Vd.set(o.textToKey(zd), 100), Vd.set(o.textToKey(Pd), 400), Vd.set(o.textToKey(Hd), 700), Vd.set(o.textToKey(Wd), 700);
8731
8725
  const jd = "xx-small", $d = "x-small", Gd = "small", Ud = "medium", Jd = "large", qd = "x-large", Kd = "xx-large", Xd = "xxx-large", Yd = "smaller", Qd = "larger", Zd = "math", tu = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), eu = /* @__PURE__ */ new Map();
8732
8726
  eu.set(o.textToKey(jd), (t2) => 0.4 * t2), eu.set(o.textToKey($d), (t2) => 0.5 * t2), eu.set(o.textToKey(Gd), (t2) => 0.6 * t2), eu.set(o.textToKey(Ud), (t2) => t2), eu.set(o.textToKey(Jd), (t2) => 1.1 * t2), eu.set(o.textToKey(qd), (t2) => 1.25 * t2), eu.set(o.textToKey(Kd), (t2) => 1.5 * t2), eu.set(o.textToKey(Xd), (t2) => 2 * t2), eu.set(o.textToKey(Yd), (t2) => 0.9 * t2), eu.set(o.textToKey(Qd), (t2) => 1.1 * t2), eu.set(o.textToKey(Zd), (t2) => t2);
8733
8727
  const nu = (t2, e2 = 11, n2 = "pt") => {
@@ -8839,10 +8833,10 @@ const Su = new RegExp(`(\\s*(?:${pu}))`, "g"), wu = new RegExp("(\\s*[0-9]*[.]?[
8839
8833
  const a2 = n2 ? n2.trim() : null;
8840
8834
  let l2 = null === i2 ? s2 : `${i2.toString()} ${s2}`, c2 = gu.get(l2);
8841
8835
  return c2 || (c2 = gu.get(s2)), c2 ? { color: a2, style: c2 } : null;
8842
- }, Eu = "start", Cu = "end", bu = "left", vu = "right", xu = "center", Iu = "justify", Ru = "justify-all", Au = "baseline", Mu = "top", Tu = "middle", Nu = "bottom", ku = "sub", Fu = "text-top", Ou = "justify", Du = "distributed", Bu = /* @__PURE__ */ new Map();
8836
+ }, Eu = "start", Cu = "end", bu = "left", vu = "right", xu = "center", Iu = "justify", Ru = "justify-all", Au = "baseline", Mu = "top", Tu = "middle", Nu = "bottom", Fu = "sub", ku = "text-top", Ou = "justify", Du = "distributed", Bu = /* @__PURE__ */ new Map();
8843
8837
  Bu.set(o.textToKey(Eu), Ro.HorizontalAlignment.Left), Bu.set(o.textToKey(bu), Ro.HorizontalAlignment.Left), Bu.set(o.textToKey(Cu), Ro.HorizontalAlignment.Right), Bu.set(o.textToKey(vu), Ro.HorizontalAlignment.Right), Bu.set(o.textToKey(xu), Ro.HorizontalAlignment.Center), Bu.set(o.textToKey(Iu), Ro.HorizontalAlignment.Justify), Bu.set(o.textToKey(Ru), Ro.HorizontalAlignment.Justify);
8844
8838
  const Lu = /* @__PURE__ */ new Map();
8845
- Lu.set(o.textToKey(Au), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Mu), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Tu), Ro.VerticalAlignment.Center), Lu.set(o.textToKey(Nu), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(ku), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Fu), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Ou), Ro.VerticalAlignment.Justify), Lu.set(o.textToKey(Du), Ro.VerticalAlignment.Distributed);
8839
+ Lu.set(o.textToKey(Au), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Mu), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Tu), Ro.VerticalAlignment.Center), Lu.set(o.textToKey(Nu), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(Fu), Ro.VerticalAlignment.Bottom), Lu.set(o.textToKey(ku), Ro.VerticalAlignment.Top), Lu.set(o.textToKey(Ou), Ro.VerticalAlignment.Justify), Lu.set(o.textToKey(Du), Ro.VerticalAlignment.Distributed);
8846
8840
  const zu = (t2) => {
8847
8841
  if (t2 instanceof li) return { color: t2.toString() };
8848
8842
  if ("string" == typeof t2) try {
@@ -8963,7 +8957,7 @@ const Yu = Xu.length, Qu = { properties: { font: ju, fill: { shorthand: (t2, e2)
8963
8957
  else if (r2 === t.RichData) l2 = "(Rich Object)";
8964
8958
  else if (r2 === t.Boolean) l2 = e2 ? "TRUE" : "FALSE";
8965
8959
  else if (s2) try {
8966
- l2 = Fr(s2, e2, { date1904: a2, spacingCharacter: "", digitCharacter: "", onRepeatChar: (t2, e3) => {
8960
+ l2 = kr(s2, e2, { date1904: a2, spacingCharacter: "", digitCharacter: "", onRepeatChar: (t2, e3) => {
8967
8961
  h2 || (h2 = []), h2.push({ offset: t2, char: e3 });
8968
8962
  }, onSpacingChar: (t2, e3) => {
8969
8963
  d2 || (d2 = []), d2.push({ offset: t2, char: e3 });
@@ -9824,7 +9818,7 @@ class Ag {
9824
9818
  return o.toSafeJSON(this._p);
9825
9819
  }
9826
9820
  }
9827
- const Mg = Object.freeze({ value: null, style: null, hyperlink: null, formula: null, type: t.Null, stringToParse: null }), Tg = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0, type: void 0, stringToParse: void 0 }), Ng = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0 }), kg = Object.freeze({ width: 1, height: 1 }), Fg = new I({ max: 1e3 });
9821
+ const Mg = Object.freeze({ value: null, style: null, hyperlink: null, formula: null, type: t.Null, stringToParse: null }), Tg = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0, type: void 0, stringToParse: void 0 }), Ng = Object.seal({ value: void 0, style: void 0, hyperlink: void 0, formula: void 0 }), Fg = Object.freeze({ width: 1, height: 1 }), kg = new I({ max: 1e3 });
9828
9822
  const Og = new class {
9829
9823
  isEditAllowed() {
9830
9824
  return true;
@@ -9932,12 +9926,12 @@ const Og = new class {
9932
9926
  const v2 = c2.colHeaders, x2 = v2.findOffset.bind(v2), I2 = v2.findIndex.bind(v2);
9933
9927
  let R2 = x2(h2);
9934
9928
  const A2 = R2;
9935
- let M2 = x2(h2 + b2), T2 = M2 - R2, N2 = h2, k2 = h2;
9936
- const F2 = { x: 0, y: 0, width: T2, height: d2?.height ?? 0 };
9929
+ let M2 = x2(h2 + b2), T2 = M2 - R2, N2 = h2, F2 = h2;
9930
+ const k2 = { x: 0, y: 0, width: T2, height: d2?.height ?? 0 };
9937
9931
  const O2 = h2 - h2 + b2;
9938
- let D2 = d2 ? d2.width - T2 : 0, B2 = F2;
9939
- T2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (k2 = I2(M2 + D2), null !== a2 && (k2 = Math.min(k2, a2.colIndex - 1)), M2 = x2(k2), C2 = D2, y2 = k2 - h2), S2 !== p.Right && S2 !== p.Center || (N2 = I2(R2 - D2), null !== i2 && (N2 = Math.max(N2, i2.colIndex + 1)), R2 = x2(N2), E2 = D2, w2 = h2 - N2), F2.x = A2 - R2, B2.x = F2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), F2.width = M2 - R2, B2 = { ...F2 }, B2.width = T2);
9940
- return { anchorBounds: F2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9932
+ let D2 = d2 ? d2.width - T2 : 0, B2 = k2;
9933
+ T2 > 0 && D2 > 0 && !m2 && (S2 === p.Center && (D2 /= 2), S2 !== p.Left && S2 !== p.Center || (F2 = I2(M2 + D2), null !== a2 && (F2 = Math.min(F2, a2.colIndex - 1)), M2 = x2(F2), C2 = D2, y2 = F2 - h2), S2 !== p.Right && S2 !== p.Center || (N2 = I2(R2 - D2), null !== i2 && (N2 = Math.max(N2, i2.colIndex + 1)), R2 = x2(N2), E2 = D2, w2 = h2 - N2), k2.x = A2 - R2, B2.x = k2.x), b2 > 1 && (y2 = S2 === p.Center ? Math.max(O2 - 1, y2) : b2 - 1, M2 = x2(h2 + 1), k2.width = M2 - R2, B2 = { ...k2 }, B2.width = T2);
9934
+ return { anchorBounds: k2, leftIndex: w2, rightIndex: y2, leftOffset: E2, rightOffset: C2, colSpan: O2, colBounds: B2 };
9941
9935
  };
9942
9936
  class Wg {
9943
9937
  constructor(t2, e2) {
@@ -9984,7 +9978,7 @@ class Wg {
9984
9978
  const Vg = (t2, e2, n2, r2) => {
9985
9979
  const o2 = r2.styles;
9986
9980
  return vg(o2, n2 ? new Wg(o2, n2) : null, e2, r2.styleUpdater);
9987
- }, jg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = Fg) => {
9981
+ }, jg = (e2, n2, r2, s2, i2, a2, l2, c2 = null, h2 = kg) => {
9988
9982
  if (null === r2) return n2 ? n2.getBestFit() : null;
9989
9983
  const d2 = e2 === t.String, u2 = n2.getFont(), g2 = u2.getWeight(), m2 = u2.getSize(), f2 = u2.getFamily(), p2 = n2.getAlignment(), _2 = p2.getOverflow(), S2 = p2.getRotation(), w2 = p2.getVertical(), y2 = n2.getNumberFormat(), E2 = d2 && _2 === Ro.Overflow.Visible, C2 = d2 && (_2 === Ro.Overflow.Wrap || w2 === Ro.VerticalAlignment.Justify || w2 === Ro.VerticalAlignment.Distributed), b2 = (c2 ?? "") + "\0" + m2 + f2 + g2 + y2 + S2 + E2 + C2 + a2 + l2 + (c2 ? "" : r2), v2 = h2.get(b2);
9990
9984
  if (v2) return v2;
@@ -9992,7 +9986,7 @@ const Vg = (t2, e2, n2, r2) => {
9992
9986
  const R2 = zg(e2, n2), A2 = R2.top + R2.bottom + +um(n2);
9993
9987
  let M2 = false, T2 = false;
9994
9988
  l2 && (T2 = true, (0 !== S2 || C2) && (T2 = false));
9995
- const N2 = T2 ? void 0 : Lg(e2, n2, r2, s2), k2 = R2.left + R2.right + 2;
9989
+ const N2 = T2 ? void 0 : Lg(e2, n2, r2, s2), F2 = R2.left + R2.right + 2;
9996
9990
  if (N2) {
9997
9991
  if (e2 === t.Number && "General" === y2 && a2) {
9998
9992
  let t2 = r2, e3 = o.splitNumber(t2), s3 = "";
@@ -10001,11 +9995,11 @@ const Vg = (t2, e2, n2, r2) => {
10001
9995
  x2 = i3.width, I2 = i3.lineHeight;
10002
9996
  } else {
10003
9997
  let t2 = null;
10004
- C2 && (t2 = { width: Math.max(1, i2 - k2) });
9998
+ C2 && (t2 = { width: Math.max(1, i2 - F2) });
10005
9999
  const e3 = N2.layout(t2);
10006
10000
  x2 = e3.bounds.width, I2 = e3.bounds.height;
10007
10001
  }
10008
- if (null !== x2 && (x2 += k2), null !== I2 && (I2 += A2), M2 = e2 === t.String, S2) {
10002
+ if (null !== x2 && (x2 += F2), null !== I2 && (I2 += A2), M2 = e2 === t.String, S2) {
10009
10003
  M2 && _2 === Ro.Overflow.Wrap && (M2 = false);
10010
10004
  const t2 = ((t3, e3) => {
10011
10005
  const { x: n3, y: r3, width: o2, height: s3 } = t3, i3 = e3 * Math.PI / 180, a3 = Math.sin(i3), l3 = Math.cos(i3), c3 = o2 / 2, h3 = s3 / 2, d3 = Is(-c3, -h3, a3, l3), u3 = Is(c3, -h3, a3, l3), g3 = Is(-c3, h3, a3, l3), m3 = Is(c3, h3, a3, l3);
@@ -10016,7 +10010,7 @@ const Vg = (t2, e2, n2, r2) => {
10016
10010
  }
10017
10011
  } else I2 = n2.getBestFit().height;
10018
10012
  a2 && M2 && (x2 = 0);
10019
- const F2 = { width: x2, height: I2 }, O2 = Object.freeze(F2);
10013
+ const k2 = { width: x2, height: I2 }, O2 = Object.freeze(k2);
10020
10014
  return h2.set(b2, O2), O2;
10021
10015
  }, $g = (t2, e2, n2, r2) => {
10022
10016
  const o2 = zg(t2, e2), s2 = Pg(t2, e2);
@@ -10229,7 +10223,7 @@ class Gg {
10229
10223
  }
10230
10224
  getSpans() {
10231
10225
  const t2 = this._ri?.merge;
10232
- if (!t2) return kg;
10226
+ if (!t2) return Fg;
10233
10227
  const e2 = t2.getCoords();
10234
10228
  return Object.freeze({ width: e2.colEnd - e2.colStart + 1, height: e2.rowEnd - e2.rowStart + 1 });
10235
10229
  }
@@ -10641,7 +10635,7 @@ const wm = (t2, e2) => {
10641
10635
  for (let e2 = 0; e2 < s2; e2++) {
10642
10636
  const s3 = t2[e2], i2 = s3[0], a2 = s3[1], l2 = a2.length;
10643
10637
  for (let t3 = 0; t3 < l2; t3++) {
10644
- const e3 = a2[t3], s4 = e3[0], l3 = e3[1].length - 1, c2 = { colStart: n2 ? i2 : s4, rowStart: n2 ? s4 : i2, colEnd: n2 ? i2 : s4 + l3, rowEnd: n2 ? s4 + l3 : i2, value: new Fh({ colStart: n2 ? i2 : s4, rowStart: n2 ? s4 : i2, colEnd: n2 ? i2 : s4 + l3, rowEnd: n2 ? s4 + l3 : i2 }, o2) };
10638
+ const e3 = a2[t3], s4 = e3[0], l3 = e3[1].length - 1, c2 = { colStart: n2 ? i2 : s4, rowStart: n2 ? s4 : i2, colEnd: n2 ? i2 : s4 + l3, rowEnd: n2 ? s4 + l3 : i2, value: new kh({ colStart: n2 ? i2 : s4, rowStart: n2 ? s4 : i2, colEnd: n2 ? i2 : s4 + l3, rowEnd: n2 ? s4 + l3 : i2 }, o2) };
10645
10639
  r2.push(c2);
10646
10640
  }
10647
10641
  }
@@ -10842,13 +10836,13 @@ class Tm extends xm {
10842
10836
  return n2.length > 0 && (t2.fields = n2), 0 === Object.keys(t2).length ? null : t2;
10843
10837
  }
10844
10838
  }
10845
- const Nm = (t2, e2) => t2.offset - e2.offset, km = (t2) => {
10839
+ const Nm = (t2, e2) => t2.offset - e2.offset, Fm = (t2) => {
10846
10840
  if (!t2 || 0 === t2.size) return [];
10847
10841
  let e2 = [];
10848
10842
  return t2.forEach((t3, n2) => {
10849
10843
  t3 && 0 !== Object.keys(t3).length && e2.push({ ...t3, offset: n2 });
10850
10844
  }), e2.sort(Nm);
10851
- }, Fm = (t2, e2 = /* @__PURE__ */ new Map()) => {
10845
+ }, km = (t2, e2 = /* @__PURE__ */ new Map()) => {
10852
10846
  if (!t2 || 0 === t2.length) return e2;
10853
10847
  for (let n2 = 0; n2 < t2.length; n2++) {
10854
10848
  const r2 = { ...t2[n2] }, o2 = r2.offset;
@@ -10886,7 +10880,7 @@ class Dm extends xm {
10886
10880
  }
10887
10881
  apply(t2) {
10888
10882
  const e2 = this._getState().byOffset, n2 = new Map(e2);
10889
- return Fm(t2, n2), this._updateState({ byOffset: n2, hiddenCount: Om(n2) }, { description: "Set Filter Criteria" }), this.reapply();
10883
+ return km(t2, n2), this._updateState({ byOffset: n2, hiddenCount: Om(n2) }, { description: "Set Filter Criteria" }), this.reapply();
10890
10884
  }
10891
10885
  setFieldAt(t2, e2) {
10892
10886
  const n2 = this._getState(), r2 = n2.anchor.colEnd - n2.anchor.colStart + 1;
@@ -10903,7 +10897,7 @@ class Dm extends xm {
10903
10897
  setShowFilterButton(t2) {
10904
10898
  const e2 = this.getAnchorCoords(), n2 = e2.colEnd - e2.colStart + 1;
10905
10899
  let r2 = Array(n2);
10906
- const o2 = this._getState().byOffset, s2 = km(o2);
10900
+ const o2 = this._getState().byOffset, s2 = Fm(o2);
10907
10901
  for (let e3 = 0; s2 && e3 < s2.length; e3++) {
10908
10902
  const n3 = { ...s2[e3] };
10909
10903
  r2[n3.offset] = n3, t2 ? delete n3.hiddenButton : n3.hiddenButton = true;
@@ -10932,7 +10926,7 @@ class Dm extends xm {
10932
10926
  return super._processContainerShift(t2);
10933
10927
  }
10934
10928
  reapply() {
10935
- const t2 = this._getState(), e2 = km(t2.byOffset);
10929
+ const t2 = this._getState(), e2 = Fm(t2.byOffset);
10936
10930
  return this._apply?.(e2), this;
10937
10931
  }
10938
10932
  clear() {
@@ -10940,12 +10934,12 @@ class Dm extends xm {
10940
10934
  }
10941
10935
  _fromJSON(t2) {
10942
10936
  const e2 = t2 ?? {}, n2 = { byOffset: /* @__PURE__ */ new Map(), hiddenCount: 0 };
10943
- e2.fields && (Fm(e2.fields, n2.byOffset), n2.hiddenCount = Om(n2.byOffset)), e2.sort, this._updateState(n2, { description: "Load" });
10937
+ e2.fields && (km(e2.fields, n2.byOffset), n2.hiddenCount = Om(n2.byOffset)), e2.sort, this._updateState(n2, { description: "Load" });
10944
10938
  }
10945
10939
  toJSON() {
10946
10940
  const t2 = {}, e2 = this._getState();
10947
10941
  e2.anchor && (t2.ref = Zc(e2.anchor, this._options.maxRangeCoords));
10948
- const n2 = km(e2.byOffset);
10942
+ const n2 = Fm(e2.byOffset);
10949
10943
  return n2.length > 0 && (t2.fields = n2), e2.sort, 0 === Object.keys(t2).length ? null : t2;
10950
10944
  }
10951
10945
  }
@@ -12468,13 +12462,13 @@ const df = (t2, e2) => {
12468
12462
  const e3 = E2[r3], s3 = e3.value.setError(true, t2);
12469
12463
  h2?.insert(s3), n3[r3] = s3, _2 = c.unionRanges(_2, e3);
12470
12464
  const i3 = { colStart: e3.colStart, rowStart: e3.rowStart, colEnd: e3.colStart, rowEnd: e3.rowStart };
12471
- o2.insertNonOverlapping({ colStart: e3.colStart, rowStart: e3.rowStart, colEnd: e3.colStart, rowEnd: e3.rowStart, value: new Fh(e3, b2) }), a2?.push(i3);
12465
+ o2.insertNonOverlapping({ colStart: e3.colStart, rowStart: e3.rowStart, colEnd: e3.colStart, rowEnd: e3.rowStart, value: new kh(e3, b2) }), a2?.push(i3);
12472
12466
  }
12473
12467
  s2.load(n3);
12474
12468
  }
12475
12469
  for (let t3 = 0; t3 < y2; t3++) {
12476
12470
  const e2 = c.sanitizeRange(r2[t3]);
12477
- o2.insertNonOverlapping({ colStart: e2.colStart, rowStart: e2.rowStart, colEnd: e2.colEnd, rowEnd: e2.rowEnd, value: new Fh(e2, b2) }), m2 && l2?.insertNonOverlapping(e2), a2?.push(e2), _2 = c.unionRanges(_2, e2);
12471
+ o2.insertNonOverlapping({ colStart: e2.colStart, rowStart: e2.rowStart, colEnd: e2.colEnd, rowEnd: e2.rowEnd, value: new kh(e2, b2) }), m2 && l2?.insertNonOverlapping(e2), a2?.push(e2), _2 = c.unionRanges(_2, e2);
12478
12472
  }
12479
12473
  return _2;
12480
12474
  }, _f = (t2, e2, n2) => {
@@ -12743,7 +12737,7 @@ class Sf {
12743
12737
  if (r3 < a2 || r3 > c2) continue;
12744
12738
  if (e3.value.getError()) continue;
12745
12739
  const o3 = d2 + (e3.colEnd - r3), m3 = u2 + (e3.rowEnd - n3), f2 = { colStart: d2, rowStart: u2, colEnd: o3, rowEnd: m3 };
12746
- s2.push({ colStart: d2, rowStart: u2, colEnd: o3, rowEnd: m3, value: new kh(f2, 0, false) });
12740
+ s2.push({ colStart: d2, rowStart: u2, colEnd: o3, rowEnd: m3, value: new Fh(f2, 0, false) });
12747
12741
  }
12748
12742
  return { removes: i2, inserts: s2 };
12749
12743
  }
@@ -13105,7 +13099,7 @@ class Sf {
13105
13099
  _evaluate(t2) {
13106
13100
  const r2 = this._calculation._getContext(), o2 = this._calculation._getScope();
13107
13101
  o2.sheetName = this._options.getSheetName?.();
13108
- let s2 = kf;
13102
+ let s2 = Ff;
13109
13103
  s2.length = 0;
13110
13104
  let i2 = 0, a2 = true;
13111
13105
  const l2 = this._cycleId, h2 = this._invalidations, d2 = this._contentfulSpatial, u2 = this._notifyValues, g2 = this._notifySpills, m2 = this._precedentSpatial, f2 = this._spillSpatial, p2 = this._values, _2 = p2.getOrientation(), S2 = _2 === e.Orientation.Column;
@@ -13150,15 +13144,15 @@ class Sf {
13150
13144
  }
13151
13145
  const T2 = S2 ? v2 : x2, N2 = S2 ? x2 : v2;
13152
13146
  o2.node = C2, o2.colIndex = v2, o2.rowIndex = x2;
13153
- const k2 = b2.formula;
13154
- let F2, O2;
13147
+ const F2 = b2.formula;
13148
+ let k2, O2;
13155
13149
  const D2 = C2.pending;
13156
13150
  let B2 = D2;
13157
- if ((A2 || C2.pendingPromise) && (B2 = true, F2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, F2 = void 0))), void 0 === F2 && (o2.formula = k2, o2.colIndex = v2, o2.rowIndex = x2, F2 = k2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = F2 && F2.then ? F2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = Ol(S2)), w2.append(T2, N2, B2)), O2 && (F2 = C2.cachedValue ?? null, !O2.__originator)) {
13151
+ if ((A2 || C2.pendingPromise) && (B2 = true, k2 = C2.cachedValue ?? null, C2.pendingPromise && (C2.pendingResolved ? (C2.pendingPromise = null, C2.pendingResolved = false, B2 = false) : (C2.pendingPromise.cancelled = true, k2 = void 0))), void 0 === k2 && (o2.formula = F2, o2.colIndex = v2, o2.rowIndex = x2, k2 = F2.evaluate(r2, void 0, C2.inputs), o2.formula = null, O2 = k2 && k2.then ? k2 : null, B2 = !!O2), B2 !== D2 && (C2.pending = B2, w2 || (w2 = Ol(S2)), w2.append(T2, N2, B2)), O2 && (k2 = C2.cachedValue ?? null, !O2.__originator)) {
13158
13152
  O2.__originator = l2;
13159
13153
  const t3 = C2;
13160
- Ff.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
13161
- if (Ff.delete(t3), O2.cancelled) return;
13154
+ kf.add(t3), t3.pendingPromise = O2, t3.pendingResolved = false, O2.then((e3) => {
13155
+ if (kf.delete(t3), O2.cancelled) return;
13162
13156
  t3.pendingPromise = O2, t3.pendingResolved = true;
13163
13157
  let n2 = Tc(e3, r2);
13164
13158
  null === n2 && (n2 = 0), t3.cachedValue = n2, this._scheduleRecalculation(t3);
@@ -13186,8 +13180,8 @@ class Sf {
13186
13180
  }
13187
13181
  }
13188
13182
  let V2 = 1, j2 = 1;
13189
- const $2 = F2, G2 = $2?.isIRange;
13190
- let U2, J2 = F2 instanceof n.Spill;
13183
+ const $2 = k2, G2 = $2?.isIRange;
13184
+ let U2, J2 = k2 instanceof n.Spill;
13191
13185
  if (G2 && $2.size > 1) {
13192
13186
  V2 = $2.getWidth(), j2 = $2.getHeight();
13193
13187
  const t3 = { colStart: v2, rowStart: x2, colEnd: v2 + V2 - 1, rowEnd: x2 + j2 - 1 }, e3 = r2.getEntireCoords(), o3 = !c.isRangeWithinRange(t3, e3);
@@ -13200,17 +13194,17 @@ class Sf {
13200
13194
  }
13201
13195
  let s3, i3;
13202
13196
  if (J2) {
13203
- F2 = n.BuiltIn.Spill, V2 = 1, j2 = 1;
13204
- s3 = [[T2, [[N2, [F2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
13197
+ k2 = n.BuiltIn.Spill, V2 = 1, j2 = 1;
13198
+ s3 = [[T2, [[N2, [k2]]]]], p2.setValues(s3), i3 = { colStart: v2, rowStart: x2, colEnd: v2, rowEnd: x2 };
13205
13199
  } else {
13206
13200
  const e4 = ff($2, T2, N2);
13207
13201
  e4 && (s3 = e4.tuples), s3 && p2.setValues(s3), i3 = t3;
13208
13202
  }
13209
- U2 = { ...t3, value: new kh(t3, l2, J2) }, f2.insert(U2), E2 = _f(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new Fh(i3, _2) });
13203
+ U2 = { ...t3, value: new Fh(t3, l2, J2) }, f2.insert(U2), E2 = _f(E2, C2, t3), u2.insertNonOverlapping(i3), h2.insertNonOverlapping(i3), d2.insertNonOverlapping({ ...i3, value: new kh(i3, _2) });
13210
13204
  }
13211
13205
  (!c.isEqualRanges(H2, U2) || J2 || W2) && (H2 && g2.insert(H2), U2 && g2.insert(U2)), V2 === L2 && j2 === z2 || (C2.state = Bh, h2.insertNonOverlapping({ colStart: v2, rowStart: x2, colEnd: v2 + Math.max(V2, L2) - 1, rowEnd: x2 + Math.max(j2, z2) - 1 }), a2 = false);
13212
- let q2 = F2 && F2.isFormulaError ? F2 : null;
13213
- k2.getError() && (q2 = k2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = F2, s2[i2++] = C2;
13206
+ let q2 = k2 && k2.isFormulaError ? k2 : null;
13207
+ F2.getError() && (q2 = F2.getError()), (q2 || R2 && !t2) && (q2 && !q2.equals(R2) || R2 && R2.equals(q2)), C2.cachedValue = k2, s2[i2++] = C2;
13214
13208
  }
13215
13209
  if (o2.node = null, o2.colIndex = Number.MAX_SAFE_INTEGER, o2.rowIndex = Number.MAX_SAFE_INTEGER, w2) {
13216
13210
  const t3 = w2.done(true);
@@ -13226,9 +13220,9 @@ class Sf {
13226
13220
  n2 || ("boolean" == typeof t2 ? n2 = t2 : t2 && (n2 = t2.full ?? false));
13227
13221
  const r2 = this._invalidations;
13228
13222
  if (this._formulaSpatial.isEmpty()) {
13229
- if (r2.clear(), Ff.size > 0) {
13223
+ if (r2.clear(), kf.size > 0) {
13230
13224
  const t3 = ++Mf;
13231
- Ff.forEach((e3) => {
13225
+ kf.forEach((e3) => {
13232
13226
  e3.markId = t3;
13233
13227
  });
13234
13228
  }
@@ -13363,7 +13357,7 @@ class Sf {
13363
13357
  const t4 = new pc(a3, g3);
13364
13358
  v2.cachedValue = t4;
13365
13359
  }
13366
- d3.value = new kh(g3, 0, u3), s3.push(d3);
13360
+ d3.value = new Fh(g3, 0, u3), s3.push(d3);
13367
13361
  const x2 = { colStart: m3, rowStart: f3, colEnd: p3, rowEnd: _2, value: u3 };
13368
13362
  c.isSingleCell(x2) || t3.push(x2), _f(i3, v2, g3);
13369
13363
  }
@@ -13493,7 +13487,7 @@ const wf = (t2, e2, n2, r2) => {
13493
13487
  new n.Calc("Cyclical dependency");
13494
13488
  const Af = (t2) => new wa(t2);
13495
13489
  let Mf = 0;
13496
- const Tf = 1e4, Nf = new Array(Tf), kf = new Array(Tf), Ff = /* @__PURE__ */ new Set(), Of = new Array(Tf);
13490
+ const Tf = 1e4, Nf = new Array(Tf), Ff = new Array(Tf), kf = /* @__PURE__ */ new Set(), Of = new Array(Tf);
13497
13491
  let Df = 0;
13498
13492
  const Bf = new Array(Tf);
13499
13493
  let Lf = 0, zf = 0;
@@ -13522,7 +13516,7 @@ class Yf {
13522
13516
  async _initialize() {
13523
13517
  const t2 = await dt._validate(true), e2 = Zf();
13524
13518
  this._calcScope = e2, this._runtime = new Qf(this._options, t2);
13525
- const { initializeBuiltIns: n2 } = await import("./DlH4gSCmCWHrZ5KA.mjs"), r2 = this;
13519
+ const { initializeBuiltIns: n2 } = await import("./DZ2bNT_wREthJFNz.mjs"), r2 = this;
13526
13520
  return this._builtInFunctions = Object.freeze(n2(() => r2)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
13527
13521
  }
13528
13522
  getBuiltInFunctions() {
@@ -13695,7 +13689,7 @@ class Qf {
13695
13689
  }
13696
13690
  getVersion() {
13697
13691
  try {
13698
- const t2 = "0.7.22";
13692
+ const t2 = "0.7.24";
13699
13693
  if (-1 === t2.indexOf(".env.")) return `${t2}`;
13700
13694
  } catch (t2) {
13701
13695
  return "local";
@@ -14245,7 +14239,7 @@ class vp extends la {
14245
14239
  this._context = r2;
14246
14240
  const o2 = await r2._initialize(), s2 = o2.builtInFunctions;
14247
14241
  this._functions = new bp({ transactions: this._transactions, context: r2, readonlyFunctions: s2 });
14248
- const i2 = await import("./5ncGZrnXLJWZdlAS.mjs");
14242
+ const i2 = await import("./DleT-7IR4Y9SNWld.mjs");
14249
14243
  this._formulaParser = new i2.FormulaParser(), this._scope = o2.calcScope, this._status = lf.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
14250
14244
  } catch (t2) {
14251
14245
  throw this._status = lf.Status.Off, this._emitter.notify("onError", t2), this._emitter.notify("onStatusChange"), t2;
@@ -14304,8 +14298,8 @@ const xp = Promise.resolve();
14304
14298
  var Ip, Rp;
14305
14299
  Ip || (Ip = {}), Rp || (Rp = {});
14306
14300
  const Ap = Object.freeze(Object.defineProperty({ __proto__: null, nowWithPrecision: (t2 = 6e4) => new Date(Math.floor(Date.now() / t2) * t2) }, Symbol.toStringTag, { value: "Module" }));
14307
- var Mp, Tp, Np, kp, Fp, Op;
14308
- Mp || (Mp = {}), (Np = Tp || (Tp = {})).NumberFilterOperatorType = { Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotEqual: "notEqual" }, Np.Type = { Color: "color", Custom: "custom", Dynamic: "dynamic", Items: "items", Icon: "icon", Top10: "top10" }, Np.DynamicType = { AboveAverage: "aboveAverage", BelowAverage: "belowAverage", LastMonth: "lastMonth", LastQuarter: "lastQuarter", LastWeek: "lastWeek", LastYear: "lastYear", M1: "M1", M2: "M2", M3: "M3", M4: "M4", M5: "M5", M6: "M6", M7: "M7", M8: "M8", M9: "M9", M10: "M10", M11: "M11", M12: "M12", NextMonth: "nextMonth", NextQuarter: "nextQuarter", NextWeek: "nextWeek", Null: "null", Q1: "Q1", Q2: "Q2", Q3: "Q3", Q4: "Q4", ThisMonth: "thisMonth", ThisQuarter: "thisQuarter", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", YearToDate: "yearToDate", Yesterday: "yesterday" }, Np.DateItemGroupingType = { Day: "day", Hour: "hour", Minute: "minute", Month: "month", Second: "Second", Year: "year" }, (Fp = kp || (kp = {})).Type = { AboveAverage: "aboveAverage", BeginsWith: "beginsWith", CellIs: "cellIs", ColorScale: "colorScale", ContainsBlanks: "containsBlanks", ContainsErrors: "containsErrors", ContainsText: "containsText", DataBar: "dataBar", DuplicateValues: "duplicateValues", EndsWith: "endsWith", Expression: "expression", IconSet: "iconSet", NotContainsBlanks: "notContainsBlanks", NotContainsErrors: "notContainsErrors", NotContainsText: "notContainsText", TimePeriod: "timePeriod", Top10: "top10", UniqueValues: "uniqueValues" }, Fp.OperatorType = { BeginsWith: "beginsWith", Between: "between", ContainsText: "containsText", EndsWith: "endsWith", Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotBetween: "notBetween", NotContains: "notContains", NotEqual: "notEqual" }, Fp.TimePeriod = { Last7Days: "last7Days", LastMonth: "lastMonth", LastWeek: "lastWeek", NextMonth: "nextMonth", NextWeek: "nextWeek", ThisMonth: "thisMonth", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", Yesterday: "yesterday" }, Fp.ConditionalBoundsType = { Formula: "formula", Max: "max", Min: "min", Num: "num", Percent: "percent", Percentile: "percentile" }, (Op || (Op = {})).HeaderTextStyle = { A1: "a1", Zero: "zero", One: "one" };
14301
+ var Mp, Tp, Np, Fp, kp, Op;
14302
+ Mp || (Mp = {}), (Np = Tp || (Tp = {})).NumberFilterOperatorType = { Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotEqual: "notEqual" }, Np.Type = { Color: "color", Custom: "custom", Dynamic: "dynamic", Items: "items", Icon: "icon", Top10: "top10" }, Np.DynamicType = { AboveAverage: "aboveAverage", BelowAverage: "belowAverage", LastMonth: "lastMonth", LastQuarter: "lastQuarter", LastWeek: "lastWeek", LastYear: "lastYear", M1: "M1", M2: "M2", M3: "M3", M4: "M4", M5: "M5", M6: "M6", M7: "M7", M8: "M8", M9: "M9", M10: "M10", M11: "M11", M12: "M12", NextMonth: "nextMonth", NextQuarter: "nextQuarter", NextWeek: "nextWeek", Null: "null", Q1: "Q1", Q2: "Q2", Q3: "Q3", Q4: "Q4", ThisMonth: "thisMonth", ThisQuarter: "thisQuarter", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", YearToDate: "yearToDate", Yesterday: "yesterday" }, Np.DateItemGroupingType = { Day: "day", Hour: "hour", Minute: "minute", Month: "month", Second: "Second", Year: "year" }, (kp = Fp || (Fp = {})).Type = { AboveAverage: "aboveAverage", BeginsWith: "beginsWith", CellIs: "cellIs", ColorScale: "colorScale", ContainsBlanks: "containsBlanks", ContainsErrors: "containsErrors", ContainsText: "containsText", DataBar: "dataBar", DuplicateValues: "duplicateValues", EndsWith: "endsWith", Expression: "expression", IconSet: "iconSet", NotContainsBlanks: "notContainsBlanks", NotContainsErrors: "notContainsErrors", NotContainsText: "notContainsText", TimePeriod: "timePeriod", Top10: "top10", UniqueValues: "uniqueValues" }, kp.OperatorType = { BeginsWith: "beginsWith", Between: "between", ContainsText: "containsText", EndsWith: "endsWith", Equal: "equal", GreaterThan: "greaterThan", GreaterThanOrEqual: "greaterThanOrEqual", LessThan: "lessThan", LessThanOrEqual: "lessThanOrEqual", NotBetween: "notBetween", NotContains: "notContains", NotEqual: "notEqual" }, kp.TimePeriod = { Last7Days: "last7Days", LastMonth: "lastMonth", LastWeek: "lastWeek", NextMonth: "nextMonth", NextWeek: "nextWeek", ThisMonth: "thisMonth", ThisWeek: "thisWeek", Today: "today", Tomorrow: "tomorrow", Yesterday: "yesterday" }, kp.ConditionalBoundsType = { Formula: "formula", Max: "max", Min: "min", Num: "num", Percent: "percent", Percentile: "percentile" }, (Op || (Op = {})).HeaderTextStyle = { A1: "a1", Zero: "zero", One: "one" };
14309
14303
  class Dp {
14310
14304
  constructor(t2, e2, n2, r2) {
14311
14305
  this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = t2, this._topLeft = r2 ?? { rowIndex: 0, colIndex: 0 }, this._sheet = new dS({ styles: this._styles, date1904: e2, container: { getName: () => n2, getIndex: () => 1 } }), this._cellUpdater = this._sheet.getEntireRange().startIncrementalUpdates();
@@ -14448,7 +14442,7 @@ const zp = (t2) => {
14448
14442
  const s2 = new RegExp(':(?=([^"]*"[^"]*")*[^"]*$)', "gsm");
14449
14443
  let i2, a2, l2;
14450
14444
  for (; null !== (l2 = s2.exec(n3)); ) i2 = unescape(n3.substring(0, l2.index)).trim(), a2 = unescape(n3.substring(l2.index + 1, n3.length)).trim();
14451
- null !== a2 && "null" !== a2 && (i2 && (i2 = ko(i2)), e2[i2] = a2);
14445
+ null !== a2 && "null" !== a2 && (i2 && (i2 = Fo(i2)), e2[i2] = a2);
14452
14446
  } catch (t3) {
14453
14447
  console.warn(t3);
14454
14448
  }
@@ -16007,7 +16001,7 @@ class f_ extends la {
16007
16001
  }
16008
16002
  _fromJSON(t2) {
16009
16003
  const e2 = {};
16010
- e2.type = t2.type ?? kp.Type.CellIs, e2.priority = t2.priority ?? 0, e2.stopIfTrue = t2.stopIfTrue ?? false, e2.style = t2.style ?? null, e2.colorScale = t2.colorScale ?? null, e2.dataBar = t2.dataBar ?? null, e2.iconSet = t2.iconSet ?? null, e2.aboveAverage = t2.aboveAverage ?? false, e2.equalAverage = t2.equalAverage ?? false, e2.stdDev = t2.stdDev ?? 0, e2.bottom = t2.bottom ?? false, e2.percent = t2.percent ?? false, e2.rank = t2.rank ?? 0, e2.operator = t2.operator ?? null, e2.formulas = t2.formulas ?? null, e2.text = t2.text ?? null, e2.timePeriod = t2.timePeriod ?? null, this._updateState(e2, { description: "Initialize Conditional Format" });
16004
+ e2.type = t2.type ?? Fp.Type.CellIs, e2.priority = t2.priority ?? 0, e2.stopIfTrue = t2.stopIfTrue ?? false, e2.style = t2.style ?? null, e2.colorScale = t2.colorScale ?? null, e2.dataBar = t2.dataBar ?? null, e2.iconSet = t2.iconSet ?? null, e2.aboveAverage = t2.aboveAverage ?? false, e2.equalAverage = t2.equalAverage ?? false, e2.stdDev = t2.stdDev ?? 0, e2.bottom = t2.bottom ?? false, e2.percent = t2.percent ?? false, e2.rank = t2.rank ?? 0, e2.operator = t2.operator ?? null, e2.formulas = t2.formulas ?? null, e2.text = t2.text ?? null, e2.timePeriod = t2.timePeriod ?? null, this._updateState(e2, { description: "Initialize Conditional Format" });
16011
16005
  }
16012
16006
  close() {
16013
16007
  super.close(), this.isClosed() || (this._updateState({}, { description: "Close Conditional" }), this._stylesRemoveListener?.());
@@ -16361,7 +16355,7 @@ class T_ {
16361
16355
  return true;
16362
16356
  }
16363
16357
  }
16364
- const N_ = "The columns are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", k_ = "The rows are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", F_ = "Rows", O_ = "Columns";
16358
+ const N_ = "The columns are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", F_ = "The rows are protected. To make a change, unprotect the sheet. You might be requested to enter a password.", k_ = "Rows", O_ = "Columns";
16365
16359
  class D_ {
16366
16360
  constructor(t2, e2) {
16367
16361
  this._header = t2, this._coords = e2;
@@ -16400,7 +16394,7 @@ class D_ {
16400
16394
  }
16401
16395
  updateHeaders(t2, e2) {
16402
16396
  const n2 = this._header;
16403
- return n2._updateHeaderPairs([{ address: this._coords, update: t2 }], { description: e2?.description ?? `Update ${n2._isColumn ? O_ : F_} ${toString()}`, ...e2 }), this;
16397
+ return n2._updateHeaderPairs([{ address: this._coords, update: t2 }], { description: e2?.description ?? `Update ${n2._isColumn ? O_ : k_} ${toString()}`, ...e2 }), this;
16404
16398
  }
16405
16399
  getCoords() {
16406
16400
  return { ...this._coords };
@@ -16470,7 +16464,7 @@ class B_ {
16470
16464
  }
16471
16465
  updateHeaders(t2, e2) {
16472
16466
  const n2 = this._header;
16473
- return n2.updateHeaderPairs([{ address: this._coords, update: t2 }], { description: e2?.description ?? `Update ${n2._isColumn ? O_ : F_} ${toString()}`, ...e2 }), this;
16467
+ return n2.updateHeaderPairs([{ address: this._coords, update: t2 }], { description: e2?.description ?? `Update ${n2._isColumn ? O_ : k_} ${toString()}`, ...e2 }), this;
16474
16468
  }
16475
16469
  getCoords() {
16476
16470
  return { ...this._coords };
@@ -16706,7 +16700,7 @@ class L_ {
16706
16700
  return this._lastHeaderRead = { offset: t2, header: r2 }, r2;
16707
16701
  }
16708
16702
  updateHeaderPairs(t2, e2) {
16709
- if (this.isProtected()) throw new Error(this._isColumn ? N_ : k_);
16703
+ if (this.isProtected()) throw new Error(this._isColumn ? N_ : F_);
16710
16704
  return this._updatePairsInternal(t2, e2);
16711
16705
  }
16712
16706
  _parseHeaderRangeAddress(t2) {
@@ -16730,11 +16724,11 @@ class L_ {
16730
16724
  }
16731
16725
  _setSize(t2, e2 = null, n2) {
16732
16726
  (n2?.relativeSize ?? false) || "number" != typeof e2 || (e2 += "px");
16733
- const r2 = { size: e2, autoSize: n2?.autoSize ?? false }, o2 = `Resize ${this._isColumn ? O_ : F_}`;
16727
+ const r2 = { size: e2, autoSize: n2?.autoSize ?? false }, o2 = `Resize ${this._isColumn ? O_ : k_}`;
16734
16728
  return this._update(t2, r2, { description: o2, ...n2 }), this;
16735
16729
  }
16736
16730
  _setHidden(t2, e2 = null) {
16737
- const n2 = { hidden: e2 }, r2 = `${e2 ? "Unhide" : "Hide"} ${this._isColumn ? O_ : F_}`;
16731
+ const n2 = { hidden: e2 }, r2 = `${e2 ? "Unhide" : "Hide"} ${this._isColumn ? O_ : k_}`;
16738
16732
  return this._update(t2, n2, { description: r2 }), this;
16739
16733
  }
16740
16734
  _clear(t2, e2) {
@@ -16780,14 +16774,14 @@ class L_ {
16780
16774
  }
16781
16775
  _updatePairsInternal(t2, e2) {
16782
16776
  if (!t2 || 0 === t2.length) return null;
16783
- const n2 = e2?.skipCustomSize ?? false, r2 = this._isColumn, o2 = this.getSheet().getStyles(), s2 = this._beginCommit({ description: e2?.description ?? `Update ${r2 ? O_ : F_}` });
16777
+ const n2 = e2?.skipCustomSize ?? false, r2 = this._isColumn, o2 = this.getSheet().getStyles(), s2 = this._beginCommit({ description: e2?.description ?? `Update ${r2 ? O_ : k_}` });
16784
16778
  let i2 = [...this._getState().headers], a2 = false, l2 = false;
16785
16779
  const c2 = r2 ? ci.Edge.Top : ci.Edge.Left;
16786
16780
  ci.oppositeEdge(c2);
16787
16781
  const h2 = r2 ? ci.Edge.Right : ci.Edge.Bottom;
16788
16782
  ci.oppositeEdge(h2);
16789
16783
  const u2 = this, g2 = (t3, e3) => {
16790
- if (this.isProtected()) throw new Error(this._isColumn ? N_ : k_);
16784
+ if (this.isProtected()) throw new Error(this._isColumn ? N_ : F_);
16791
16785
  l2 = l2 || null === e3, !l2 && e3 && (l2 = !!e3.isICellHeader || (void 0 !== e3?.size || void 0 !== e3?.hidden)), a2 = a2 || null === e3 || void 0 !== e3?.style || e3?.isICellHeader;
16792
16786
  const r3 = { onUpdate: (t4, e4) => {
16793
16787
  if (n2 && t4 && t4.csz) return t4;
@@ -16795,7 +16789,7 @@ class L_ {
16795
16789
  }, onSplit: (t4) => [t4.value, t4.value], onMerge: (t4, e4, n3, r4) => {
16796
16790
  if (!(t4 && !e4 || !t4 && e4 || !t4 && !e4) && t4.sz === e4.sz && t4.csz === e4.csz && t4.h === e4.h && t4.cs === e4.cs) return t4;
16797
16791
  }, isCull: (t4, e4, n3) => void 0 === t4 };
16798
- i2 = Os(Fs(i2, { min: t3.min, max: t3.max, value: e3 }, r3));
16792
+ i2 = Os(ks(i2, { min: t3.min, max: t3.max, value: e3 }, r3));
16799
16793
  }, m2 = t2.length, f2 = new Array(m2);
16800
16794
  for (let e3 = 0; e3 < m2; e3++) {
16801
16795
  const n3 = t2[e3], r3 = this._parseHeaderRangeAddress(n3.address);
@@ -16932,7 +16926,7 @@ class L_ {
16932
16926
  const i2 = t3.getOrientation() === e.Orientation.Column, a2 = o2.length;
16933
16927
  for (let t4 = 0; o2 && t4 < a2; t4++) {
16934
16928
  const e2 = o2[t4], n3 = i2 ? e2.colStart : e2.rowStart, a3 = i2 ? e2.colEnd : e2.rowEnd, l2 = i2 ? e2.rowStart : e2.colStart, c2 = i2 ? e2.rowEnd : e2.colEnd, h2 = i2 ? r2.rowStart : r2.colStart, d2 = i2 ? r2.rowEnd : r2.colEnd, u2 = l2 <= h2 && c2 >= d2;
16935
- s2 = Os(Fs(s2, { min: n3, max: a3, value: { isSelectedAll: false } }, { onUpdate: (t5, e3) => {
16929
+ s2 = Os(ks(s2, { min: n3, max: a3, value: { isSelectedAll: false } }, { onUpdate: (t5, e3) => {
16936
16930
  const n4 = As(t5, e3);
16937
16931
  return n4.isSelectedAll = t5?.isSelectedAll || u2, n4;
16938
16932
  } }));
@@ -16946,9 +16940,9 @@ class L_ {
16946
16940
  return !r2 || 0 !== r2.spanSize || r2.indexMin > t2 || r2.indexMax < t2 ? 0 : e2 ? t2 - r2.indexMin + 1 : r2.indexMax - t2 + 1;
16947
16941
  }
16948
16942
  _insertHeaders(t2, e2) {
16949
- if (this.isProtected()) throw new Error(this._isColumn ? N_ : k_);
16943
+ if (this.isProtected()) throw new Error(this._isColumn ? N_ : F_);
16950
16944
  if (e2 <= 0) return;
16951
- const n2 = this._beginCommit({ description: `Insert ${this._isColumn ? O_ : F_}` }), r2 = this._getState();
16945
+ const n2 = this._beginCommit({ description: `Insert ${this._isColumn ? O_ : k_}` }), r2 = this._getState();
16952
16946
  let s2 = [...r2.headers];
16953
16947
  s2 = Os(((t3, e3, n3 = 1) => {
16954
16948
  const r3 = o.findEqualOrGreater(t3, e3, (t4) => t4.max), s3 = t3.slice(0, r3), i3 = [], a2 = [];
@@ -16961,10 +16955,10 @@ class L_ {
16961
16955
  this._updateState({ headers: s2, runs: Os(Ds([...r2?.runs ?? [], ...i2])) }), n2.commit();
16962
16956
  }
16963
16957
  _deleteHeaders(t2, e2) {
16964
- if (this.isProtected()) throw new Error(this._isColumn ? N_ : k_);
16965
- const n2 = this._beginCommit({ description: `Delete ${this._isColumn ? O_ : F_}` }), r2 = this._getState();
16958
+ if (this.isProtected()) throw new Error(this._isColumn ? N_ : F_);
16959
+ const n2 = this._beginCommit({ description: `Delete ${this._isColumn ? O_ : k_}` }), r2 = this._getState();
16966
16960
  let o2 = [...r2.headers];
16967
- o2 = Os(ks(o2, t2, e2));
16961
+ o2 = Os(Fs(o2, t2, e2));
16968
16962
  const s2 = [{ min: t2, max: t2 + e2 }];
16969
16963
  this._updateState({ headers: o2, runs: Os(Ds([...r2?.runs ?? [], ...s2])) }), n2.commit();
16970
16964
  }
@@ -17386,7 +17380,7 @@ class J_ {
17386
17380
  }
17387
17381
  }
17388
17382
  async function q_() {
17389
- const { getCrypto: t2 } = await import("./BS2w8nLO6jwewlIh.mjs");
17383
+ const { getCrypto: t2 } = await import("./BaCXM0LlL1TEKxSV.mjs");
17390
17384
  return t2();
17391
17385
  }
17392
17386
  const K_ = async (t2, e2, ...n2) => {
@@ -18564,23 +18558,23 @@ class dS {
18564
18558
  v2.done || (x2 = v2.value[0], I2 = v2.value[1]);
18565
18559
  let A2 = p2?.[y2++], M2 = f2.next(), T2 = null;
18566
18560
  const N2 = s2 !== e.Orientation.Row;
18567
- let k2;
18568
- const F2 = c.createCellComparator(s2, i2);
18561
+ let F2;
18562
+ const k2 = c.createCellComparator(s2, i2);
18569
18563
  let O2;
18570
18564
  if (!M2.done) {
18571
18565
  const t3 = M2.value;
18572
18566
  T2 = t3.intersection, O2 = t3.start;
18573
18567
  }
18574
- k2 = (t3) => {
18568
+ F2 = (t3) => {
18575
18569
  let e2 = null, n3 = null, r3 = null, o3 = false, s3 = false, i3 = null, a3 = null, l3 = false;
18576
18570
  if (A2) if (x2) {
18577
- F2(A2, x2) < 0 && (l3 = true);
18571
+ k2(A2, x2) < 0 && (l3 = true);
18578
18572
  } else if (O2) {
18579
- F2(A2, O2) < 0 && (l3 = true);
18573
+ k2(A2, O2) < 0 && (l3 = true);
18580
18574
  } else y2 <= S2 && (l3 = true);
18581
18575
  if (l3) e2 = { colIndex: A2.colIndex, rowIndex: A2.rowIndex }, n3 = A2.scalar, r3 = A2.intersection, A2 = p2[y2++];
18582
18576
  else if (x2 && O2) {
18583
- const t4 = F2(x2, O2);
18577
+ const t4 = k2(x2, O2);
18584
18578
  t4 < 0 ? (e2 = x2, n3 = I2, o3 = true) : t4 > 0 ? (e2 = O2, r3 = T2, s3 = true) : (e2 = x2, n3 = I2, r3 = T2, o3 = true, s3 = true);
18585
18579
  } else if (x2) e2 = x2, n3 = I2, o3 = true;
18586
18580
  else {
@@ -18617,7 +18611,7 @@ class dS {
18617
18611
  }
18618
18612
  return (o3 || l3) && (R2 = e2), { done: false, value: [e2, n3, r3, i3, a3] };
18619
18613
  };
18620
- let D2 = { next: k2, return: (t3) => null, throw: (t3) => null };
18614
+ let D2 = { next: F2, return: (t3) => null, throw: (t3) => null };
18621
18615
  return a2 && (D2 = new xl(D2, l2)), D2;
18622
18616
  }
18623
18617
  _indexMerges(t2, e2 = null) {
@@ -18725,22 +18719,22 @@ class dS {
18725
18719
  let x2 = false;
18726
18720
  m2 && this._hasRangedEntries("unlockSpatial", E2) && (v2[Ph.Type.Unlock] = false, x2 = true), this._hasRangedEntries("mergeSpatial", E2) && (v2[Ph.Type.Merge] = false, x2 = true);
18727
18721
  const I2 = this._rangeStateIterator({ bounds: E2, orientation: g2, includeRangeTypes: v2 });
18728
- let R2 = I2.next(), A2 = -1, M2 = -1, T2 = -1, N2 = -1, k2 = null;
18722
+ let R2 = I2.next(), A2 = -1, M2 = -1, T2 = -1, N2 = -1, F2 = null;
18729
18723
  if (!R2.done) {
18730
18724
  const t3 = R2.value, e2 = t3.start, n3 = t3.end;
18731
- A2 = u2 ? e2.colIndex : e2.rowIndex, M2 = u2 ? n3.colIndex : n3.rowIndex, T2 = u2 ? e2.rowIndex : e2.colIndex, N2 = u2 ? n3.rowIndex : n3.colIndex, k2 = t3.intersection;
18725
+ A2 = u2 ? e2.colIndex : e2.rowIndex, M2 = u2 ? n3.colIndex : n3.rowIndex, T2 = u2 ? e2.rowIndex : e2.colIndex, N2 = u2 ? n3.rowIndex : n3.colIndex, F2 = t3.intersection;
18732
18726
  }
18733
- let F2 = (t3, e2) => {
18727
+ let k2 = (t3, e2) => {
18734
18728
  do {
18735
- if (!k2 || t3 <= T2 && e2 < T2) return null;
18736
- if (t3 >= A2 && e2 >= T2 && t3 <= M2 && e2 <= N2) return k2;
18737
- if (R2 = I2.next(), R2.done) k2 = null, F2 = null, x2 = false;
18729
+ if (!F2 || t3 <= T2 && e2 < T2) return null;
18730
+ if (t3 >= A2 && e2 >= T2 && t3 <= M2 && e2 <= N2) return F2;
18731
+ if (R2 = I2.next(), R2.done) F2 = null, k2 = null, x2 = false;
18738
18732
  else {
18739
18733
  const t4 = R2.value;
18740
- A2 = u2 ? t4.start.colIndex : t4.start.rowIndex, M2 = u2 ? t4.end.colIndex : t4.end.rowIndex, T2 = u2 ? t4.start.rowIndex : t4.start.colIndex, N2 = u2 ? t4.end.rowIndex : t4.end.colIndex, k2 = t4.intersection;
18734
+ A2 = u2 ? t4.start.colIndex : t4.start.rowIndex, M2 = u2 ? t4.end.colIndex : t4.end.rowIndex, T2 = u2 ? t4.start.rowIndex : t4.start.colIndex, N2 = u2 ? t4.end.rowIndex : t4.end.colIndex, F2 = t4.intersection;
18741
18735
  }
18742
- } while (k2);
18743
- return k2;
18736
+ } while (F2);
18737
+ return F2;
18744
18738
  };
18745
18739
  const O2 = c2.getState(this), D2 = O2.cellValuesGrid.clone(), B2 = O2.calcGraph.clone(), L2 = O2.formulaSpatial.clone(), z2 = O2.spillSpatial.clone(), P2 = O2.pendingSpatial.clone(), H2 = O2.calcErrorsSpatial.clone(), W2 = O2.contentfulSpatial.clone(), V2 = Ol(u2), j2 = Ol(u2, (t3, e2) => {
18746
18740
  if (t3 === e2) return e2;
@@ -18755,7 +18749,7 @@ class dS {
18755
18749
  q2 = { ignoreQuotePrefix: false, date1904: this._isDate1904, dateNF: false, parse: null, ...t3 }, J2 = new Sm(p2, null, this._cellOptions);
18756
18750
  }
18757
18751
  const K2 = [], X2 = this._cellOptions, Y2 = /* @__PURE__ */ new Map(), Q2 = Em, Z2 = (t3, e2, n3) => {
18758
- const r3 = F2?.(e2, n3);
18752
+ const r3 = k2?.(e2, n3);
18759
18753
  if (r3?.merge) {
18760
18754
  const t4 = r3.merge.getCoords(), o4 = u2 ? t4.colStart : t4.rowStart, s3 = u2 ? t4.rowStart : t4.colStart;
18761
18755
  if (o4 !== e2 || s3 !== n3) return;
@@ -18913,8 +18907,8 @@ class dS {
18913
18907
  }
18914
18908
  if (!y2) return;
18915
18909
  if (0 === w2.length) return;
18916
- const N2 = /* @__PURE__ */ new Map(), k2 = /* @__PURE__ */ new Map(), F2 = n2?.collators ?? da.DefaultCollators, O2 = F2.length;
18917
- for (let t3 = 0; t3 < O2; t3++) N2.set(F2[t3].type, F2[t3].compare), k2.set(F2[t3].type, t3);
18910
+ const N2 = /* @__PURE__ */ new Map(), F2 = /* @__PURE__ */ new Map(), k2 = n2?.collators ?? da.DefaultCollators, O2 = k2.length;
18911
+ for (let t3 = 0; t3 < O2; t3++) N2.set(k2[t3].type, k2[t3].compare), F2.set(k2[t3].type, t3);
18918
18912
  let D2 = null, B2 = null, L2 = null;
18919
18913
  w2.sort((t3, e2) => {
18920
18914
  const n3 = p2.length;
@@ -18927,14 +18921,14 @@ class dS {
18927
18921
  const h3 = o3.getType(), d2 = s3.getType();
18928
18922
  let u3 = 0;
18929
18923
  if (h3 !== d2) {
18930
- let t4 = k2.get(h3);
18931
- u3 = k2.get(d2) - t4;
18924
+ let t4 = F2.get(h3);
18925
+ u3 = F2.get(d2) - t4;
18932
18926
  } else {
18933
18927
  let t4 = B2;
18934
18928
  if (D2 !== h3) {
18935
18929
  t4 = N2.get(h3), B2 = t4, D2 = h3;
18936
- let e3 = k2.get(d2);
18937
- const r4 = F2[e3].defaultOptions;
18930
+ let e3 = F2.get(d2);
18931
+ const r4 = k2[e3].defaultOptions;
18938
18932
  L2 = { ...r4, ...n4.collatorOptions };
18939
18933
  }
18940
18934
  u3 = t4(i3, a3, L2);
@@ -18989,7 +18983,7 @@ class dS {
18989
18983
  if (s2 % E2 !== 0) throw new C(((t3) => `When filling with merged cells the amount to fill must be a multiple of the input range [${t3}].`)(E2));
18990
18984
  const b2 = i2 ? "rowIndex" : "colIndex", v2 = i2 ? "colIndex" : "rowIndex", I2 = i2 ? t2.rowEnd + 1 - t2.rowStart : t2.colEnd + 1 - t2.colStart, R2 = i2 ? t2.rowStart : t2.colStart, A2 = i2 ? t2.rowEnd : t2.colEnd, M2 = i2 ? n2.rowStart : n2.colStart, T2 = i2 ? n2.rowEnd : n2.colEnd, N2 = i2 ? o2 === e.Direction.Down : o2 === e.Direction.Right;
18991
18985
  N2 || (g2.reverse = true);
18992
- const k2 = N2 ? A2 + 1 : M2, F2 = (N2 ? T2 : R2 - 1) - k2 + 1, O2 = i2 ? t2.colEnd : t2.rowEnd;
18986
+ const F2 = N2 ? A2 + 1 : M2, k2 = (N2 ? T2 : R2 - 1) - F2 + 1, O2 = i2 ? t2.colEnd : t2.rowEnd;
18993
18987
  l2.push(c.unionRanges(p2, t2));
18994
18988
  const D2 = [];
18995
18989
  let B2 = null;
@@ -19039,11 +19033,11 @@ class dS {
19039
19033
  const V2 = this._createIncrementalUpdater({ orientation: i2 ? e.Orientation.Column : e.Orientation.Row }), j2 = D2.length;
19040
19034
  D2.sort((t3, e2) => t3.oppositeIndex - e2.oppositeIndex);
19041
19035
  for (let t3 = 0; t3 < j2; t3++) {
19042
- const e2 = t3, n3 = H2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + F2 - 1, s3 = this.isDate1904();
19043
- for (let t4 = 0; t4 < F2; t4++) {
19036
+ const e2 = t3, n3 = H2(u2, D2[e2].values), r3 = D2[e2].oppositeIndex, o3 = N2 ? I2 : I2 + k2 - 1, s3 = this.isDate1904();
19037
+ for (let t4 = 0; t4 < k2; t4++) {
19044
19038
  let e3 = n3(o3 + (N2 ? t4 : -t4));
19045
19039
  no(e3) && (e3 = co(e3, s3));
19046
- const a3 = k2 + t4;
19040
+ const a3 = F2 + t4;
19047
19041
  i2 ? V2.pushAt(a3, r3, e3) : V2.pushAt(r3, a3, e3);
19048
19042
  }
19049
19043
  }
@@ -19237,7 +19231,7 @@ class dS {
19237
19231
  const n3 = t3[e2], r3 = n3[0], i3 = n3[1], l4 = i3.length;
19238
19232
  for (let t4 = 0; t4 < l4; t4++) {
19239
19233
  const e3 = i3[t4], n4 = e3[0], l5 = n4 + e3[1].length - 1, c2 = { colStart: o3 ? r3 : n4, rowStart: o3 ? n4 : r3, colEnd: o3 ? r3 : l5, rowEnd: o3 ? l5 : r3 };
19240
- a3.insertNonOverlapping({ colStart: c2.colStart, rowStart: c2.rowStart, colEnd: c2.colEnd, rowEnd: c2.rowEnd, value: new Fh(c2, s3) });
19234
+ a3.insertNonOverlapping({ colStart: c2.colStart, rowStart: c2.rowStart, colEnd: c2.colEnd, rowEnd: c2.rowEnd, value: new kh(c2, s3) });
19241
19235
  }
19242
19236
  }
19243
19237
  }
@@ -19246,7 +19240,7 @@ class dS {
19246
19240
  const t3 = d2.length;
19247
19241
  for (let e2 = 0; e2 < t3; e2++) {
19248
19242
  const t4 = d2[e2], n3 = t4.value;
19249
- t4.value = new kh(c.sanitizeRange(t4), 0, n3);
19243
+ t4.value = new Fh(c.sanitizeRange(t4), 0, n3);
19250
19244
  }
19251
19245
  n2.spillSpatial.load(d2);
19252
19246
  }
@@ -19717,11 +19711,11 @@ class dS {
19717
19711
  r4(e2, n4.rowIndex - o3.rowIndex, n4.colIndex - o3.colIndex), u3 = l3.next();
19718
19712
  }
19719
19713
  }
19720
- const k2 = n2._getState(), F2 = {}, O2 = { transpose: s3 ?? false };
19721
- g2 && (F2.directStyleSpatial = k2.directStyleSpatial, F2.continuousFillSpatial = k2.continuousFillSpatial, F2.mergeSpatial = k2.mergeSpatial), u2 && (t2._clear([d2], void 0, void 0, false, true), E2.push(d2), F2.rangesListenerSpatial2 = k2.rangesListenerSpatial2);
19722
- const D2 = l2, B2 = D2._getState(), L2 = Object.keys(F2), z2 = L2.length;
19714
+ const F2 = n2._getState(), k2 = {}, O2 = { transpose: s3 ?? false };
19715
+ g2 && (k2.directStyleSpatial = F2.directStyleSpatial, k2.continuousFillSpatial = F2.continuousFillSpatial, k2.mergeSpatial = F2.mergeSpatial), u2 && (t2._clear([d2], void 0, void 0, false, true), E2.push(d2), k2.rangesListenerSpatial2 = F2.rangesListenerSpatial2);
19716
+ const D2 = l2, B2 = D2._getState(), L2 = Object.keys(k2), z2 = L2.length;
19723
19717
  for (let t3 = 0; t3 < z2; t3++) {
19724
- const e2 = L2[t3], n3 = F2[e2].createCopiedEntries(d2, x2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19718
+ const e2 = L2[t3], n3 = k2[e2].createCopiedEntries(d2, x2, O2), r4 = B2[e2].clone(), o2 = n3.removes, s4 = o2.length;
19725
19719
  for (let t4 = 0; t4 < s4; t4++) r4.remove(o2[t4]);
19726
19720
  r4.load(n3.inserts), B2[e2] = r4;
19727
19721
  }
@@ -19858,8 +19852,8 @@ class dS {
19858
19852
  I2 === m2.rangesListenerMap && (I2 = new Map(I2)), this._processListenerShift(I2, R2, m2.rangesListenerMap, t4);
19859
19853
  } }), v2 = v2.shift({ range: e2, direction: f2, cloneIfUpdate: v2 === m2.rangesListenerSpatial2, coordValidator: r2 });
19860
19854
  }
19861
- let T2 = m2.formulaSpatial, N2 = m2.spillSpatial, k2 = m2.pendingSpatial;
19862
- b2 !== m2.calcGraph && (T2 = T2.clone(), N2 = N2.clone(), k2 = k2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: T2, spillSpatial: N2, pendingSpatial: k2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, n2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } }, a2 ? e.Orientation.Column : e.Orientation.Row);
19855
+ let T2 = m2.formulaSpatial, N2 = m2.spillSpatial, F2 = m2.pendingSpatial;
19856
+ b2 !== m2.calcGraph && (T2 = T2.clone(), N2 = N2.clone(), F2 = F2.clone()), this._updateState({ contentfulSpatial: s3, unlockSpatial: i3, mergeSpatial: d2, directStyleSpatial: p2, continuousFillSpatial: _2, conditionalSpatial: S2, hyperlinkSpatial: w2, commentsSpatial: y2, movableSpatial: E2, tableSpatial: C2, calcGraph: b2, formulaSpatial: T2, spillSpatial: N2, pendingSpatial: F2, rangesListenerSpatial2: v2, rangeListenerSpatial: x2, rangesListenerMap: I2 }), this._commitAndAutoSelect(g2, u2, n2?.autoSelect, { viewAfter: { ranges: A2, listeners: R2 } }, a2 ? e.Orientation.Column : e.Orientation.Row);
19863
19857
  } catch (t3) {
19864
19858
  if (g2.rollback(), t3 instanceof d) throw new C(t3.message ?? Yh);
19865
19859
  throw t3;
@@ -19897,7 +19891,7 @@ class dS {
19897
19891
  const o2 = "Autofit";
19898
19892
  let s2;
19899
19893
  const i2 = Zg(n2, this._entireCoords, true), a2 = Qg(n2, this._entireCoords, true);
19900
- s2 = !i2 && a2 ? `${o2} ${O_}` : !a2 && i2 ? `${o2} ${F_}` : a2 && i2 ? `${o2} All` : `${o2}`;
19894
+ s2 = !i2 && a2 ? `${o2} ${O_}` : !a2 && i2 ? `${o2} ${k_}` : a2 && i2 ? `${o2} All` : `${o2}`;
19901
19895
  let l2 = r2.orientations !== e.Orientations.Row;
19902
19896
  this._colHeaders.isProtected() && (l2 = false);
19903
19897
  let h2 = r2.orientations !== e.Orientations.Column;
@@ -19913,14 +19907,14 @@ class dS {
19913
19907
  let o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, S2 = false, w2 = false, y2 = false, E2 = Number.MAX_SAFE_INTEGER, C2 = Number.MIN_SAFE_INTEGER;
19914
19908
  const b2 = this._styles.getNormal(), v2 = this._cellOptions, x2 = r2.orientations === e.Orientations.Row, I2 = /* @__PURE__ */ new Map(), R2 = gl(n2, 1);
19915
19909
  R2.sort(c.createRangeComparator(e.Orientation.Column));
19916
- const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize }, T2 = rs.getDeviceScale(), N2 = this._defaultRowHeight() * T2, k2 = this._defaultColWidth(), F2 = (t2, e2 = 1) => {
19910
+ const A2 = R2.length, M2 = { skipCustomSize: r2.skipCustomSize }, T2 = rs.getDeviceScale(), N2 = this._defaultRowHeight() * T2, F2 = this._defaultColWidth(), k2 = (t2, e2 = 1) => {
19917
19911
  if (0 !== t2 && !(e2 > 1)) return t2 = Math.max(t2, N2), (e3) => u2 ? t2 : Math.max(e3, t2 ?? N2);
19918
19912
  }, O2 = (t2, e2 = 1) => {
19919
- if (0 !== t2 && !(e2 > 1)) return (e3) => d2 ? t2 : Math.max(e3, t2 ?? k2);
19913
+ if (0 !== t2 && !(e2 > 1)) return (e3) => d2 ? t2 : Math.max(e3, t2 ?? F2);
19920
19914
  };
19921
19915
  for (let n3 = 0; n3 < A2; n3++) {
19922
19916
  const r3 = [];
19923
- let f3 = -1, p3 = false, A3 = b2, T3 = 1, N3 = 1, k3 = 1;
19917
+ let f3 = -1, p3 = false, A3 = b2, T3 = 1, N3 = 1, F3 = 1;
19924
19918
  const D2 = R2[n3];
19925
19919
  let B2 = D2.colStart, L2 = D2.rowStart, z2 = D2.colEnd, P2 = D2.rowEnd;
19926
19920
  const H2 = this._getUsedCoords();
@@ -19951,7 +19945,7 @@ class dS {
19951
19945
  mS.colStart = n4.colIndex, mS.rowStart = n4.rowIndex, mS.colEnd = r4.colIndex, mS.rowEnd = r4.rowIndex;
19952
19946
  const o4 = c.intersectRanges(mS, D2, gS), s4 = Vg(0, o4, e2, v2).getBestFit();
19953
19947
  if (h2) {
19954
- const t3 = Math.max(n4.rowIndex, L2), e3 = Math.min(r4.rowIndex, P2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: F2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19948
+ const t3 = Math.max(n4.rowIndex, L2), e3 = Math.min(r4.rowIndex, P2), o5 = s4.height, i4 = { address: { min: t3, max: e3 }, update: { size: k2(o5), autoSize: true }, sizeSet: null === o5 ? -1 : o5 };
19955
19949
  V2.push(i4);
19956
19950
  }
19957
19951
  if (l2) {
@@ -19977,12 +19971,12 @@ class dS {
19977
19971
  } else u3 = 1, g3 = 1;
19978
19972
  Q2 = u3, Z2 = g3;
19979
19973
  }
19980
- const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = Cc(R3), F3 = c.isCellWithinRange(n4, D2), O3 = l3?.continuous ?? null;
19974
+ const x3 = n4.colIndex, I3 = n4.rowIndex, R3 = e2[1], M3 = Cc(R3), k3 = c.isCellWithinRange(n4, D2), O3 = l3?.continuous ?? null;
19981
19975
  if (O3) {
19982
- k3 = O3.getCoords().colEnd - x3 + 1;
19976
+ F3 = O3.getCoords().colEnd - x3 + 1;
19983
19977
  }
19984
19978
  let B3 = false, L3 = false;
19985
- if (q2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && F3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), q2 = d3, X2 = m3, (f3 !== x3 || B3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: k3, isFit: p3 }), f3 = x3, A3 = h3, p3 = F3, T3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !L3) if (null === R3) y2 = true;
19979
+ if (q2 === d3 && u3 === T3 && g3 === N3 && M3 !== t.String && M3 !== t.Error && k3 === p3 || (B3 = true, M3 === t.RichData && (L3 = true), L3 && (B3 = false)), q2 = d3, X2 = m3, (f3 !== x3 || B3) && (-1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: u3, spanHeight: g3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), measureWidth: -1, measureHeight: -1, colSpan: F3, isFit: p3 }), f3 = x3, A3 = h3, p3 = k3, T3 = u3, N3 = g3, o3 = Number.MAX_SAFE_INTEGER, s3 = Number.MIN_SAFE_INTEGER, i3 = false, a3 = "", _2 = -1, w2 = false, S2 = false, y2 = false, E2 = I3), C2 = I3, !L3) if (null === R3) y2 = true;
19986
19980
  else switch (M3) {
19987
19981
  case t.Number:
19988
19982
  0 === R3 && (i3 = true), o3 = Math.min(o3, R3), s3 = Math.max(s3, R3);
@@ -19998,7 +19992,7 @@ class dS {
19998
19992
  }
19999
19993
  Y2 = J2.next();
20000
19994
  }
20001
- -1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: T3, spanHeight: N3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), colSpan: k3, measureWidth: -1, measureHeight: -1, isFit: p3 });
19995
+ -1 !== f3 && r3.push({ col: f3, style: A3, spanWidth: T3, spanHeight: N3, minVal: o3, maxVal: s3, hasZero: i3, text: a3, textId: _2, hasFalse: w2, hasTrue: S2, hasEmpty: y2, minRow: E2, maxRow: C2, colWidth: this._colHeaders.getSpanSize(f3), colSpan: F3, measureWidth: -1, measureHeight: -1, isFit: p3 });
20002
19996
  let tt2 = -1, et2 = -1;
20003
19997
  const nt2 = r3.length;
20004
19998
  for (let e2 = 0; e2 < nt2; e2++) {
@@ -20052,7 +20046,7 @@ class dS {
20052
20046
  for (let t3 = 0; t3 < nt2; t3++) {
20053
20047
  let e3 = r3[t3], n4 = e3.measureHeight ?? 0;
20054
20048
  0 === n4 && (n4 = null);
20055
- const o4 = F2(n4, e3.spanHeight);
20049
+ const o4 = k2(n4, e3.spanHeight);
20056
20050
  V2.push({ address: { min: e3.minRow, max: e3.maxRow }, update: { size: o4, autoSize: true }, sizeSet: null === n4 ? -1 : n4 });
20057
20051
  }
20058
20052
  V2.sort(m2);
@@ -20603,16 +20597,16 @@ class dS {
20603
20597
  if (!t2) return;
20604
20598
  const r2 = this._resolveSelectOptions(t2, n2), s2 = r2?.autoFocus, i2 = r2?.scrollIntoView, a2 = r2?.anchor, l2 = this.getSelection(), h2 = l2.getCoords(), d2 = l2.getRangesCoords(e2), u2 = this._entireCoords, g2 = ((t3, e3, n3) => {
20605
20599
  if (!t3 || 0 === t3.length || !e3) return o.EmptyArray;
20606
- const r3 = [...t3];
20607
- for (let t4 = 0; t4 < r3.length; t4++) {
20608
- const o2 = { ...r3[t4] };
20609
- let s3 = o2;
20610
- const i3 = e3.search(o2), a3 = o2.rowStart <= n3.rowStart && o2.rowEnd >= n3.rowEnd, l3 = o2.colStart <= n3.colStart && o2.colStart >= n3.colEnd, c2 = i3.length;
20611
- for (let t5 = 0; t5 < c2; t5++) {
20612
- const e4 = i3[t5];
20613
- a3 || (s3.colStart = Math.min(s3.colStart, e4.colStart), s3.colEnd = Math.max(s3.colEnd, e4.colEnd)), l3 || (s3.rowStart = Math.min(s3.rowStart, e4.rowStart), s3.rowEnd = Math.max(s3.rowEnd, e4.rowEnd));
20600
+ const r3 = [...t3], s3 = r3.length, i3 = n3.colStart, a3 = n3.rowStart, l3 = n3.colEnd, c2 = n3.rowEnd;
20601
+ for (let t4 = 0; t4 < s3; t4++) {
20602
+ const n4 = { ...r3[t4] };
20603
+ let o2 = n4;
20604
+ const s4 = e3.search(n4), h3 = n4.rowStart <= a3 && n4.rowEnd >= c2, d3 = n4.colStart <= i3 && n4.colStart >= l3, u3 = s4.length;
20605
+ for (let t5 = 0; t5 < u3; t5++) {
20606
+ const e4 = s4[t5];
20607
+ h3 || (o2.colStart = Math.min(o2.colStart, e4.colStart), o2.colEnd = Math.max(o2.colEnd, e4.colEnd)), d3 || (o2.rowStart = Math.min(o2.rowStart, e4.rowStart), o2.rowEnd = Math.max(o2.rowEnd, e4.rowEnd));
20614
20608
  }
20615
- r3[t4] = s3;
20609
+ r3[t4] = o2;
20616
20610
  }
20617
20611
  return r3;
20618
20612
  })(d2, this._getState().mergeSpatial, u2);
@@ -21809,19 +21803,19 @@ class dS {
21809
21803
  }
21810
21804
  T2.load(e2);
21811
21805
  }
21812
- const k2 = m2.movableMapModel, F2 = m2.movableSpatial;
21806
+ const F2 = m2.movableMapModel, k2 = m2.movableSpatial;
21813
21807
  if (s2.movables) {
21814
21808
  const t2 = [], e2 = s2.movables, n3 = e2.length;
21815
21809
  for (let r3 = 0; r3 < n3; r3++) {
21816
21810
  const n4 = e2[r3];
21817
21811
  try {
21818
21812
  const e3 = this._createMovableEntry(n4, r3, l2.fromResourceId.bind(l2));
21819
- k2.set(e3.value.model, e3), t2.push(e3);
21813
+ F2.set(e3.value.model, e3), t2.push(e3);
21820
21814
  } catch (t3) {
21821
21815
  console.warn("Unable to load movable", r3, n4, t3);
21822
21816
  }
21823
21817
  }
21824
- F2.load(t2);
21818
+ k2.load(t2);
21825
21819
  }
21826
21820
  const O2 = m2.tableMapModel, D2 = m2.tableMapName, B2 = m2.tableSpatial, L2 = s2.tables;
21827
21821
  if (L2) {
@@ -21841,7 +21835,7 @@ class dS {
21841
21835
  }
21842
21836
  }
21843
21837
  const W2 = m2.calcGraph, V2 = W2.fromJSON({ formulas: s2.formulas, data: y2, dynamic: s2.dynamicArray, volatile: s2.volatile });
21844
- m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: F2, movableMapModel: k2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: W2 });
21838
+ m2 = this._updateState({ hyperlinkSpatial: A2, commentsSpatial: T2, movableSpatial: k2, movableMapModel: F2, tableSpatial: B2, tableMapModel: O2, tableMapName: D2, conditionalSpatial: z2, conditionalModels: P2, calcGraph: W2 });
21845
21839
  const j2 = this._getUsedCoords();
21846
21840
  j2 && this._autoFit([j2], { orientations: e.Orientations.Row, skipCustomSize: true }), r2.commit(), V2 && this._realizeCalcedValues(V2), s2.protection && this._protection.fromJSON(s2.protection), this._emitter.notify("onLoad");
21847
21841
  } finally {
@@ -22075,8 +22069,8 @@ class AS {
22075
22069
  }
22076
22070
  let MS;
22077
22071
  const TS = "SheetXL", NS = MS || (MS = o.deepFreeze({ ISheet: { Visibility: jp.Visibility }, ICell: { Content: ld.Content, CalcStatus: ld.CalcStatus }, IColor: { Named: Js.Named, Scheme: Js.Scheme, Type: Js.Type, AdjustmentType: Js.AdjustmentType }, Direction: h }), MS);
22078
- let kS;
22079
- class FS extends gp {
22072
+ let FS;
22073
+ class kS extends gp {
22080
22074
  constructor(t2, e2, n2, r2 = null, o2 = false) {
22081
22075
  super(t2, e2, n2, r2, o2);
22082
22076
  }
@@ -22124,9 +22118,9 @@ class FS extends gp {
22124
22118
  })({});
22125
22119
  }
22126
22120
  try {
22127
- hp({ getPosition: () => n4.getCell().getCoords() }), kS = globalThis[TS], globalThis[TS] = NS;
22121
+ hp({ getPosition: () => n4.getCell().getCoords() }), FS = globalThis[TS], globalThis[TS] = NS;
22128
22122
  const e3 = this._fn;
22129
- o2 = e3.call(s2, ...t3), kS ? (globalThis[TS] = kS, kS = void 0) : delete globalThis[TS], dp();
22123
+ o2 = e3.call(s2, ...t3), FS ? (globalThis[TS] = FS, FS = void 0) : delete globalThis[TS], dp();
22130
22124
  } catch (t4) {
22131
22125
  throw t4;
22132
22126
  } finally {
@@ -22205,7 +22199,7 @@ const DS = async (t2, e2) => {
22205
22199
  const s2 = r2[t3], i2 = s2[0], a2 = s2[1];
22206
22200
  let l2, c2 = n2 ? () => {
22207
22201
  } : await DS(e2, i2);
22208
- l2 = i2.context && i2.context !== up.Context.Calculation ? new FS(i2, c2, () => null, a2) : new gp(i2, c2, () => null, a2), o2.set(i2.name.toUpperCase(), l2);
22202
+ l2 = i2.context && i2.context !== up.Context.Calculation ? new kS(i2, c2, () => null, a2) : new gp(i2, c2, () => null, a2), o2.set(i2.name.toUpperCase(), l2);
22209
22203
  }
22210
22204
  return new OS({ json: e2, readonlyFunctions: o2, name: t2 });
22211
22205
  };
@@ -22840,7 +22834,7 @@ class rw {
22840
22834
  let r2 = 0, o2 = null;
22841
22835
  const s2 = "function" == typeof e2, i2 = n2?.maxCount ?? Number.MAX_SAFE_INTEGER;
22842
22836
  let a2 = n2.maxCount ? "" : "All";
22843
- const l2 = "string" == typeof e2 ? ` with '${Fo(e2)}'` : "";
22837
+ const l2 = "string" == typeof e2 ? ` with '${ko(e2)}'` : "";
22844
22838
  let c2 = n2?.description ?? "Replace";
22845
22839
  const h2 = this._transactions.beginCommit({ description: c2 });
22846
22840
  try {
@@ -23225,7 +23219,7 @@ class rw {
23225
23219
  return true;
23226
23220
  }
23227
23221
  }
23228
- const ow = { address: null, scope: null }, sw = "0.7.22", iw = "Sun Oct 19 2025";
23222
+ const ow = { address: null, scope: null }, sw = "0.7.24", iw = "Mon Oct 20 2025";
23229
23223
  export {
23230
23224
  Im as AddressUtils,
23231
23225
  js as AutoFill,
@@ -23245,7 +23239,7 @@ export {
23245
23239
  Rp as ICellHeaderRange,
23246
23240
  Ip as ICellRange,
23247
23241
  Js as IColor,
23248
- kp as IConditionalFormat,
23242
+ Fp as IConditionalFormat,
23249
23243
  Gs as IFill,
23250
23244
  rs as IFont,
23251
23245
  gs as IFontCollection,
@@ -23259,7 +23253,7 @@ export {
23259
23253
  ra as ITableStyle,
23260
23254
  xo as IText,
23261
23255
  Ro as ITextFrame,
23262
- Fi as ITheme,
23256
+ ki as ITheme,
23263
23257
  Oi as IThemeCollection,
23264
23258
  dt as LicenseManager,
23265
23259
  Ri as NumberFormat,