@sheetxl/io-xlsx 0.8.0-beta.20 → 0.8.0-beta.22

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 (22) hide show
  1. package/browser/esm/{Bw35-W8cnzxxvqQy.mjs → 2Tu0hkxKQVlv9Cra.mjs} +4 -4
  2. package/browser/esm/{CSOuRlSN9bhykqDr.mjs → B-gFy6wqDX1nS1H6.mjs} +724 -719
  3. package/browser/esm/{RFSuXvJ9sgsaA2LC.mjs → BksP77A3tWZz2uFZ.mjs} +4 -4
  4. package/browser/esm/{C16bEh6IrUpJONhS.mjs → CSeKlqJLKPdaHQnM.mjs} +2 -2
  5. package/browser/esm/{D7ogsrtXfjU5NW7r.mjs → Cx9ap9QP6pCr4onD.mjs} +2 -2
  6. package/browser/esm/{S4Uq85YdUb6O5Pz0.mjs → DEQzaCJ7RX2QoCut.mjs} +1 -1
  7. package/browser/esm/{PgUWs0pPSCSFYJtU.mjs → DKFJjTTJkuTmxyrC.mjs} +2 -2
  8. package/browser/esm/{CPK1-z95jtLOfCXG.mjs → Dm3PlbhnXRlbfwcc.mjs} +2 -2
  9. package/browser/esm/{DpPFQ7-tBwVyjvWr.mjs → TlUpdMxCXP6T7d5o.mjs} +1 -1
  10. package/browser/esm/{D2872f7aTugYxhht.mjs → fw-xerhhOIbrtjj8.mjs} +2 -2
  11. package/browser/esm/{D8CQKL3Y3CMFOPqD.mjs → hYm31nxQHahoYW47.mjs} +329 -319
  12. package/browser/esm/index.mjs +2 -2
  13. package/node/esm/{D2vDZOgLcv-YiWnB.mjs → -4emwUa_cqmg0qom.mjs} +279 -274
  14. package/node/esm/{BSHqfcsR9hY-JB30.mjs → B1_JjHLkB9GQt41F.mjs} +1 -1
  15. package/node/esm/{DFw0ibBUmPyd-wey.mjs → BaRyFsg1YMFUyXd4.mjs} +4 -4
  16. package/node/esm/{BOAucs-qLpjtUOcZ.mjs → C1VsUbGfwY9-dlaU.mjs} +1 -1
  17. package/node/esm/{DGuQIj077oygCTGu.mjs → C6HiyeKhrpNGFeb3.mjs} +2 -2
  18. package/node/esm/{Qn2Bv4QG3mOLiJHh.mjs → CeRdSa9ObgI_mmCT.mjs} +478 -468
  19. package/node/esm/{C6eSWtTkyDQKbQdT.mjs → Dd0rxpiUIxg4BeeC.mjs} +2 -2
  20. package/node/esm/index.mjs +4 -4
  21. package/node/esm/{CPhiu1T7tl-leKh2.mjs → yNj0KH21rJk2rfm7.mjs} +2 -2
  22. package/package.json +3 -3
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.20
2
+ * @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.22
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { $ as t, $n as e, An as o, C as r, Ct as n, Dr as i, E as a, Fr as l, Gt as c, In as u, It as h, Jn as d, Kn as p, Ln as f, Lr as g, Lt as m, Mr as b, Nn as x, Nt as y, Pn as v, Qn as w, Rn as T, Rt as S, Sr as k, St as C, T as A, Tr as E, Tt as I, Ut as P, Vn as O, Wt as D, Xn as N, Yn as _, Z as $, Zn as R, _ as M, _t as L, ar as V, br as j, ct as B, dn as F, dr as H, er as W, f as z, fn as X, fr as q, ft as U, gr as G, hr as K, ht as J, in as Z, ir as Q, it as Y, jn as tt, jt as et, lt as ot, mn as st, mt as rt, n as nt, nn as it, nt as at, o as lt, or as ct, ot as ut, p as ht, pt as dt, rn as pt, rr as ft, sr as gt, t as mt, tn as bt, tr as xt, ur as yt, ut as vt, vr as wt, vt as Tt, wt as St, xt as kt, yn as Ct, yr as At } from "./BOAucs-qLpjtUOcZ.mjs";
7
+ import { $ as t, $n as e, An as o, C as r, Ct as n, Dr as i, E as a, Fr as l, Gt as c, In as u, It as h, Jn as d, Kn as p, Ln as f, Lr as g, Lt as m, Mr as b, Nn as x, Nt as y, Pn as v, Qn as w, Rn as T, Rt as S, Sr as C, St as k, T as A, Tr as E, Tt as I, Ut as P, Vn as O, Wt as D, Xn as N, Yn as _, Z as $, Zn as M, _ as R, _t as V, ar as L, br as j, ct as B, dn as F, dr as H, er as W, f as z, fn as X, fr as q, ft as U, gr as G, hr as K, ht as J, in as Z, ir as Q, it as Y, jn as tt, jt as et, lt as ot, mn as st, mt as rt, n as nt, nn as it, nt as at, o as lt, or as ct, ot as ut, p as ht, pt as dt, rn as pt, rr as ft, sr as gt, t as mt, tn as bt, tr as xt, ur as yt, ut as vt, vr as wt, vt as Tt, wt as St, xt as Ct, yn as kt, yr as At } from "./C1VsUbGfwY9-dlaU.mjs";
8
8
  import { BufferUtils as Et, CommonUtils as It, ExpectedError as Pt, OverlappingRange as Ot, RangeAxis as Dt } from "@sheetxl/utils";
9
- import { AddressUtils as Nt, BufferUtils as _t, CommonUtils as $t, CoordUtils as Rt, FormulaError as Mt, FormulaText as Lt, FunctionDeclarations as Vt, ICellStyle as jt, ICondition as Bt, IConditionalFormat as Ft, ICustomProperty as Ht, IFont as Wt, IRange as zt, ITextFrame as Xt, NumberFormat as qt, OutOfBoundsError as Ut, PersonCollection as Gt, ResourceCollection as Kt, RichDataRegistry as Jt, Scalar as Zt, Sort as Qt, Theme as Yt, Tuple as te, Workbook as ee, pivotCellFormatsOf as oe } from "@sheetxl/sdk";
9
+ import { AddressUtils as Nt, BufferUtils as _t, CommonUtils as $t, CoordUtils as Mt, FormulaError as Rt, FormulaText as Vt, FunctionDeclarations as Lt, ICellStyle as jt, ICondition as Bt, IConditionalFormat as Ft, ICustomProperty as Ht, IFont as Wt, IRange as zt, ITextFrame as Xt, NumberFormat as qt, OutOfBoundsError as Ut, PersonCollection as Gt, ResourceCollection as Kt, RichDataRegistry as Jt, Scalar as Zt, Sort as Qt, Theme as Yt, Tuple as te, Workbook as ee, pivotCellFormatsOf as oe } from "@sheetxl/sdk";
10
10
  import { BlobReader as se, Uint8ArrayReader as re, Uint8ArrayWriter as ne, ZipReader as ie } from "@zip.js/zip.js";
11
11
  var ae = {
12
12
  ascending: "ascending",
@@ -60,7 +60,7 @@ function le(t, e) {
60
60
  continue;
61
61
  }
62
62
  const p = s.get(String(u.tableId)), f = p ? ce(p.columns, u.columnId) : null;
63
- p && f ? (o.json = he(u, o.json, Lt.structuredReference(p.name, f.name)), l.add(c), u.cachePath && e.markAbsorbed(u.cachePath)) : (e.warn("A slicer names no table; it was not imported.", "xlsx.slicer.cacheDefinition"), d.splice(t, 1));
63
+ p && f ? (o.json = he(u, o.json, Vt.structuredReference(p.name, f.name)), l.add(c), u.cachePath && e.markAbsorbed(u.cachePath)) : (e.warn("A slicer names no table; it was not imported.", "xlsx.slicer.cacheDefinition"), d.splice(t, 1));
64
64
  }
65
65
  delete u.slicers;
66
66
  }
@@ -127,7 +127,7 @@ var de = "xl/richData/rdrichvaluestructure.xml", pe = "xl/richData/rdrichvalue.x
127
127
  e.set(o.getAttribute("name") ?? "", t);
128
128
  }
129
129
  return e;
130
- }, Se = /* @__PURE__ */ new Uint8Array(0), ke = class t {
130
+ }, Se = /* @__PURE__ */ new Uint8Array(0), Ce = class t {
131
131
  constructor(t, e, o) {
132
132
  this.buffers = /* @__PURE__ */ new Map(), this.zip = t, this.entries = e, this.rawBuffer = o;
133
133
  }
@@ -201,7 +201,7 @@ var de = "xl/richData/rdrichvaluestructure.xml", pe = "xl/richData/rdrichvalue.x
201
201
  async close() {
202
202
  await this.zip.close();
203
203
  }
204
- }, Ce = class {
204
+ }, ke = class {
205
205
  constructor(t) {
206
206
  this._sink = t, this._samples = [], this._t0 = Ae(), this._tPrev = this._t0, this._heapPrev = Ee();
207
207
  }
@@ -252,9 +252,9 @@ var Oe = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏
252
252
  function $e(t) {
253
253
  return t >= 65 && t <= 90 || t >= 97 && t <= 122 || 58 === t || 95 === t || 8204 === t || 8205 === t || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
254
254
  }
255
- var Re = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Me = `-${Re}.0-9·̀-ͯ‿-⁀`;
256
- new RegExp(`^[${Re}]$`, "u"), new RegExp(`^[${Me}]$`, "u"), new RegExp(`^[${Re}][${Me}]*$`, "u"), new RegExp(`^[${Me}]+$`, "u");
257
- var Le = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Ve = `-${Le}.0-9·̀-ͯ‿-⁀`, je = (new RegExp(`^[${Le}]$`, "u"), new RegExp(`^[${Ve}]$`, "u"), new RegExp(`^[${Le}][${Ve}]*$`, "u"));
255
+ var Me = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Re = `-${Me}.0-9·̀-ͯ‿-⁀`;
256
+ new RegExp(`^[${Me}]$`, "u"), new RegExp(`^[${Re}]$`, "u"), new RegExp(`^[${Me}][${Re}]*$`, "u"), new RegExp(`^[${Re}]+$`, "u");
257
+ var Ve = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Le = `-${Ve}.0-9·̀-ͯ‿-⁀`, je = (new RegExp(`^[${Ve}]$`, "u"), new RegExp(`^[${Le}]$`, "u"), new RegExp(`^[${Ve}][${Le}]*$`, "u"));
258
258
  function Be(t) {
259
259
  return t >= 65 && t <= 90 || 95 === t || t >= 97 && t <= 122 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 767 || t >= 880 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
260
260
  }
@@ -1035,20 +1035,20 @@ var yo, vo = (t) => Je.test(t), wo = (t) => qe.test(t), To = {
1035
1035
  let e = NaN;
1036
1036
  return "x" === t[1] && /^#x[0-9a-f]+$/i.test(t) ? e = parseInt(t.slice(2), 16) : /^#[0-9]+$/.test(t) && (e = parseInt(t.slice(1), 10)), this.isChar(e) ? String.fromCodePoint(e) : (this.fail("malformed character entity."), `&${t};`);
1037
1037
  }
1038
- }, ko = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, Co = {
1038
+ }, Co = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, ko = {
1039
1039
  amp: "&",
1040
1040
  lt: "<",
1041
1041
  gt: ">",
1042
1042
  quot: "\"",
1043
1043
  apos: "'"
1044
1044
  }, Ao = (t, e) => {
1045
- const o = Co[e];
1045
+ const o = ko[e];
1046
1046
  if (void 0 !== o) return o;
1047
1047
  const s = 120 === e.charCodeAt(1) ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
1048
1048
  return s > 0 && s <= 1114111 ? String.fromCodePoint(s) : t;
1049
1049
  }, Eo = (t) => {
1050
1050
  let e = t;
1051
- return -1 !== e.indexOf("\r") && (e = e.replace(/\r\n?/g, "\n")), -1 !== e.indexOf("&") && (e = e.replace(ko, Ao)), e;
1051
+ return -1 !== e.indexOf("\r") && (e = e.replace(/\r\n?/g, "\n")), -1 !== e.indexOf("&") && (e = e.replace(Co, Ao)), e;
1052
1052
  }, Io = (t) => {
1053
1053
  let e = t;
1054
1054
  const o = e.length;
@@ -1059,7 +1059,7 @@ var yo, vo = (t) => Je.test(t), wo = (t) => qe.test(t), To = {
1059
1059
  break;
1060
1060
  }
1061
1061
  }
1062
- return -1 !== e.indexOf("&") && (e = e.replace(ko, Ao)), e;
1062
+ return -1 !== e.indexOf("&") && (e = e.replace(Co, Ao)), e;
1063
1063
  }, Po = (t) => 32 === t || 9 === t || 10 === t || 13 === t, Oo = class t {
1064
1064
  constructor() {
1065
1065
  this._openTagHandler = void 0, this._closeTagHandler = void 0, this._textHandler = void 0, this._cdataHandler = void 0, this._errorHandler = void 0, this._endHandler = void 0, this._scanners = null, this._carry = "", this._text = "", this._tags = [], this._sawRoot = !1, this._closed = !1;
@@ -1313,7 +1313,7 @@ var Do = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
1313
1313
  }, _o = (t) => {
1314
1314
  const e = parseFloat(t);
1315
1315
  return isNaN(e) ? null : e;
1316
- }, $o = null, Ro = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Mo = (t) => Ro(t).replace(/"/g, "&quot;"), Lo = class {
1316
+ }, $o = null, Mo = (t) => t.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Ro = (t) => Mo(t).replace(/"/g, "&quot;"), Vo = class {
1317
1317
  constructor() {
1318
1318
  this._registeredVisitors = /* @__PURE__ */ new Map();
1319
1319
  }
@@ -1385,7 +1385,7 @@ var Do = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
1385
1385
  let o = `<${t.name}`;
1386
1386
  for (const t in e) {
1387
1387
  const s = e[t];
1388
- o += ` ${t}="${Mo("string" == typeof s ? s : s?.value ?? "")}"`;
1388
+ o += ` ${t}="${Ro("string" == typeof s ? s : s?.value ?? "")}"`;
1389
1389
  }
1390
1390
  return o + ">";
1391
1391
  })(t)), i = {
@@ -1435,12 +1435,12 @@ var Do = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
1435
1435
  a = i?.local ?? null, l = i?.tag ?? null, c = i?.visitor ?? null, p = !i?.destination;
1436
1436
  },
1437
1437
  onText: (t) => {
1438
- f ? f.push(Ro(t)) : c?.text?.(t, x);
1438
+ f ? f.push(Mo(t)) : c?.text?.(t, x);
1439
1439
  },
1440
1440
  onEnd: e
1441
1441
  };
1442
1442
  }
1443
- }, Vo = `IFERROR(${S}(`, jo = Vo.toUpperCase(), Bo = m.toUpperCase(), Fo = { kind: "none" }, Ho = { kind: "spilled" }, Wo = (t, e) => {
1443
+ }, Lo = `IFERROR(${S}(`, jo = Lo.toUpperCase(), Bo = m.toUpperCase(), Fo = { kind: "none" }, Ho = { kind: "spilled" }, Wo = (t, e) => {
1444
1444
  if (34 !== t.charCodeAt(e)) return null;
1445
1445
  let o = "", s = e + 1;
1446
1446
  for (; s < t.length;) if (34 === t.charCodeAt(s)) {
@@ -1596,7 +1596,7 @@ var Do = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
1596
1596
  s.underline = I(o.val);
1597
1597
  break;
1598
1598
  case "vertAlign": {
1599
- const t = kt(o.val);
1599
+ const t = Ct(o.val);
1600
1600
  void 0 !== t && (s.baseline = t);
1601
1601
  break;
1602
1602
  }
@@ -1621,7 +1621,7 @@ var Do = (t) => !0 === t || "1" === t || "on" === t || "true" === t || !1 !== t
1621
1621
  break;
1622
1622
  }
1623
1623
  case "scheme":
1624
- C(s, o.val);
1624
+ k(s, o.val);
1625
1625
  break;
1626
1626
  case "color": {
1627
1627
  const t = o.rgb;
@@ -1708,7 +1708,7 @@ var is = (t) => {
1708
1708
  y: D(e("rowOff") ?? "0") ?? 0
1709
1709
  };
1710
1710
  }, as = "formulaDialect", ls = "isKnownFunction", cs = "date1904", us = "richStrings", hs = "defaultFont", ds = (o, s, r, n, i, a, u, h) => {
1711
- const d = new Lo(), p = (t) => {
1711
+ const d = new Vo(), p = (t) => {
1712
1712
  const e = t.getAttribute("dxfId", No);
1713
1713
  if (null === e) return;
1714
1714
  return n?.get(e) || (a?.(`A color filter or sort names a format that does not exist (dxfId '${e}').`), {});
@@ -1772,7 +1772,13 @@ var is = (t) => {
1772
1772
  n && (r.condition = n), s.style && (r.style = s.style), s.scale && (r.scale = s.scale), s.stopIfTrue && (r.stopIfTrue = !0), s.pivot && "number" == typeof s.priority && (r.pivotKey = s.priority), o.v = r, o.priority = s.priority, s.x14Id && (o.x14Id = s.x14Id), delete o.rule;
1773
1773
  }
1774
1774
  });
1775
- const T = (t) => {
1775
+ const T = (t, e) => {
1776
+ const o = e.minLength ?? 10, s = e.maxLength ?? 90;
1777
+ 0 === o ? delete t.minLength : t.minLength = o, 100 === s ? delete t.maxLength : t.maxLength = s;
1778
+ }, S = (t, e) => {
1779
+ const o = (t, e) => !t || t.type === e && void 0 === t.value && !t.exclusive, [s, r] = e;
1780
+ o(s, Ft.ColorStopType.Min) ? delete t.minPoint : t.minPoint = s, o(r, Ft.ColorStopType.Max) ? delete t.maxPoint : t.maxPoint = r;
1781
+ }, k = (t) => {
1776
1782
  const e = t.conditions ?? [], o = [];
1777
1783
  for (let t = 0; t < e.length; t++) {
1778
1784
  const s = e[t], r = {};
@@ -1785,7 +1791,7 @@ var is = (t) => {
1785
1791
  to: {},
1786
1792
  openTag: (t) => {},
1787
1793
  closeTag: (t) => {
1788
- const e = t.getSource(), o = e.colors ?? [], s = T(e);
1794
+ const e = t.getSource(), o = e.colors ?? [], s = k(e);
1789
1795
  for (let t = 0; t < s.length; t++) s[t].color = o[t];
1790
1796
  t.getParent().scale = {
1791
1797
  type: Ft.ScaleType.ColorScale,
@@ -1799,11 +1805,10 @@ var is = (t) => {
1799
1805
  t.copyTo("maxLength", No), t.copyTo("minLength", No), t.copyTo("showValue", Do);
1800
1806
  },
1801
1807
  closeTag: (t) => {
1802
- const e = t.getSource(), o = {
1803
- type: Ft.ScaleType.DataBar,
1804
- stops: T(e)
1805
- }, s = e.colors?.[0];
1806
- s && (o.color = s), void 0 !== e.minLength && (o.minLength = e.minLength), void 0 !== e.maxLength && (o.maxLength = e.maxLength), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
1808
+ const e = t.getSource(), o = { type: Ft.ScaleType.DataBar };
1809
+ S(o, k(e));
1810
+ const s = e.colors?.[0];
1811
+ s && (o.color = s), T(o, e), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
1807
1812
  }
1808
1813
  }), d.registerVisitor({
1809
1814
  from: "iconSet",
@@ -1814,7 +1819,7 @@ var is = (t) => {
1814
1819
  closeTag: (t) => {
1815
1820
  const e = t.getSource(), o = {
1816
1821
  type: Ft.ScaleType.IconSet,
1817
- stops: T(e)
1822
+ stops: k(e)
1818
1823
  };
1819
1824
  void 0 !== e.iconSet && (o.iconSet = e.iconSet), void 0 !== e.reverse && (o.reverse = e.reverse), void 0 !== e.showValue && (o.showValue = e.showValue), t.getParent().scale = o;
1820
1825
  }
@@ -1894,7 +1899,7 @@ var is = (t) => {
1894
1899
  e.operator = o.operator, e.param = o.param;
1895
1900
  }
1896
1901
  });
1897
- const S = {
1902
+ const A = {
1898
1903
  from: "filters",
1899
1904
  to: {},
1900
1905
  openTag: (t) => {
@@ -1902,8 +1907,8 @@ var is = (t) => {
1902
1907
  return e.selector = Bt.BuiltInSelectorNames.Display, e.operator = Bt.BuiltInOperatorNames.InSet, e.param = o, t.copyToObject(o, "blank", Do), t.copyToObject(o, "calendarType", $o), o;
1903
1908
  }
1904
1909
  };
1905
- d.registerVisitor(S);
1906
- const C = {
1910
+ d.registerVisitor(A);
1911
+ const E = {
1907
1912
  from: "filter",
1908
1913
  openTag: (t) => {
1909
1914
  const e = t.getParent();
@@ -1911,8 +1916,8 @@ var is = (t) => {
1911
1916
  o || (o = [], e.items = o), o.push(t.getAttribute("val", $o));
1912
1917
  }
1913
1918
  };
1914
- d.registerVisitor(C);
1915
- const A = {
1919
+ d.registerVisitor(E);
1920
+ const I = {
1916
1921
  from: "dateGroupItem",
1917
1922
  to: {},
1918
1923
  openTag: (t) => {
@@ -1921,12 +1926,12 @@ var is = (t) => {
1921
1926
  o || (o = [], e.dateGroups = o), o.push(t.getSource()), t.copyTo("group", $o, "dateTimeGrouping"), t.copyTo("day", No), t.copyTo("hour", No), t.copyTo("minute", No), t.copyTo("month", No), t.copyTo("second", No), t.copyTo("year", No);
1922
1927
  }
1923
1928
  };
1924
- d.registerVisitor(A);
1925
- const E = /* @__PURE__ */ new Map();
1926
- E.set("filterColumn", {
1929
+ d.registerVisitor(I);
1930
+ const O = /* @__PURE__ */ new Map();
1931
+ O.set("filterColumn", {
1927
1932
  from: "filterColumn",
1928
1933
  transparent: !0
1929
- }), E.set("filters", S), E.set("filter", C), E.set("dateGroupItem", A), d.registerVisitor({
1934
+ }), O.set("filters", A), O.set("filter", E), O.set("dateGroupItem", I), d.registerVisitor({
1930
1935
  from: "customFilters",
1931
1936
  openTag: (t) => {
1932
1937
  const e = t.getParent(), o = t.getAttribute("and"), s = "and" === o || "1" === o, r = [];
@@ -1944,14 +1949,14 @@ var is = (t) => {
1944
1949
  const e = t.getParent();
1945
1950
  let o;
1946
1951
  Array.isArray(e) ? (o = {}, e.push(o)) : o = e;
1947
- const s = Ct({
1952
+ const s = kt({
1948
1953
  operator: t.getAttribute("operator"),
1949
1954
  val: t.getAttribute("val")
1950
1955
  }, (e) => t.warn(e));
1951
1956
  s && (o.operator = s.operator, o.param = s.param);
1952
1957
  }
1953
1958
  });
1954
- let I = {}, O = null;
1959
+ let D = {}, N = null;
1955
1960
  d.registerVisitor({
1956
1961
  from: "sortState",
1957
1962
  to: {},
@@ -1960,16 +1965,16 @@ var is = (t) => {
1960
1965
  let o = e.v;
1961
1966
  if (!o) return;
1962
1967
  const s = {};
1963
- I = {};
1968
+ D = {};
1964
1969
  const r = t.getAttribute("caseSensitive", Do);
1965
- null != r && (I.collatorOptions = r ? Qt.CaseSensitiveOptions : Qt.CaseInsensitiveOptions);
1970
+ null != r && (D.collatorOptions = r ? Qt.CaseSensitiveOptions : Qt.CaseInsensitiveOptions);
1966
1971
  const n = t.getAttribute("sortMethod");
1967
- "stroke" !== n && "pinYin" !== n || (I.collatorOptions = {
1968
- ...I.collatorOptions,
1972
+ "stroke" !== n && "pinYin" !== n || (D.collatorOptions = {
1973
+ ...D.collatorOptions,
1969
1974
  collation: "stroke" === n ? "stroke" : "pinyin"
1970
1975
  }), t.getAttribute("columnSort", Do) && (s.axis = zt.Axis.Column);
1971
1976
  const i = t.getAttribute("ref"), a = e.r;
1972
- O = i && a ? Nt.fastStringToRange(i) : null, O && (s.extent = { range: y(a, O) }), o.sort = s, t.setSource(e);
1977
+ N = i && a ? Nt.fastStringToRange(i) : null, N && (s.extent = { range: y(a, N) }), o.sort = s, t.setSource(e);
1973
1978
  }
1974
1979
  }), d.registerVisitor({
1975
1980
  from: "sortCondition",
@@ -1985,10 +1990,10 @@ var is = (t) => {
1985
1990
  let i = 0, a = null;
1986
1991
  if (n) {
1987
1992
  const t = Nt.fastStringToRange(n, ms), o = t.colStart, s = e.r, r = s.colStart;
1988
- i = s ? o - r : o, s && O && (a = et(s, O, t));
1993
+ i = s ? o - r : o, s && N && (a = et(s, N, t));
1989
1994
  }
1990
1995
  s.extent && (s.extent.sorts ??= []).push(a);
1991
- const l = { ...I }, c = st(t.getAttribute("sortBy"));
1996
+ const l = { ...D }, c = st(t.getAttribute("sortBy"));
1992
1997
  c && (l.sortOn = c);
1993
1998
  const u = p(t);
1994
1999
  u && (l.style = u), t.copyToObject(l, "iconSet", $o), t.copyToObject(l, "customList", $o), l.reverse = t.getAttribute("descending", Do) ?? !1;
@@ -1999,7 +2004,7 @@ var is = (t) => {
1999
2004
  r.push(h);
2000
2005
  }
2001
2006
  });
2002
- const D = (t) => {
2007
+ const _ = (t) => {
2003
2008
  v = t.getSource(), w = "topLeft", t.copyTo("topLeft", $o, "topLeftCell");
2004
2009
  const e = P(t.getAttribute("defaultGridColor")), o = t.getAttribute("colorId");
2005
2010
  null === o || e || (t.getSource().gridLineColor = "index" + parseFloat(o)), t.copyTo("showZeros", Do), t.copyTo("showFormulas", Do), t.copyTo("zoomScale", No), t.copyTo("viewMode", $o, "view");
@@ -2014,7 +2019,7 @@ var is = (t) => {
2014
2019
  from: "sheetView",
2015
2020
  to: "view",
2016
2021
  openTag: (t) => {
2017
- D(t);
2022
+ _(t);
2018
2023
  },
2019
2024
  closeTag: () => {
2020
2025
  v = null;
@@ -2029,10 +2034,10 @@ var is = (t) => {
2029
2034
  from: "customSheetView",
2030
2035
  to: [],
2031
2036
  openTag: (t) => {
2032
- N = !0, D(t);
2037
+ M = !0, _(t);
2033
2038
  },
2034
2039
  closeTag: () => {
2035
- N = !1, v = null;
2040
+ M = !1, v = null;
2036
2041
  }
2037
2042
  }), d.registerVisitor({
2038
2043
  from: "selection",
@@ -2097,13 +2102,13 @@ var is = (t) => {
2097
2102
  s && (o.tabColor = s);
2098
2103
  }
2099
2104
  });
2100
- let N = !1;
2101
- const _ = () => o.pageLayout ??= {};
2105
+ let M = !1;
2106
+ const W = () => o.pageLayout ??= {};
2102
2107
  d.registerVisitor({
2103
2108
  from: "pageSetUpPr",
2104
2109
  to: null,
2105
2110
  openTag: (t) => {
2106
- !0 === t.getAttribute("fitToPage", Do) && (_().fitToPage = !0), !1 === t.getAttribute("autoPageBreaks", Do) && (_().hideAutoPageBreaks = !0);
2111
+ !0 === t.getAttribute("fitToPage", Do) && (W().fitToPage = !0), !1 === t.getAttribute("autoPageBreaks", Do) && (W().hideAutoPageBreaks = !0);
2107
2112
  }
2108
2113
  }), d.registerVisitor({
2109
2114
  from: "outlinePr",
@@ -2122,7 +2127,7 @@ var is = (t) => {
2122
2127
  from: "pageMargins",
2123
2128
  to: null,
2124
2129
  openTag: (t) => {
2125
- if (N) return;
2130
+ if (M) return;
2126
2131
  const e = (e, o) => t.getAttribute(e, _o) ?? o, o = {
2127
2132
  left: e("left", .7),
2128
2133
  right: e("right", .7),
@@ -2131,14 +2136,14 @@ var is = (t) => {
2131
2136
  header: e("header", .3),
2132
2137
  footer: e("footer", .3)
2133
2138
  };
2134
- .7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (_().margins = o);
2139
+ .7 === o.left && .7 === o.right && .75 === o.top && .75 === o.bottom && .3 === o.header && .3 === o.footer || (W().margins = o);
2135
2140
  }
2136
2141
  }), d.registerVisitor({
2137
2142
  from: "pageSetup",
2138
2143
  to: null,
2139
2144
  openTag: (t) => {
2140
- if (N) return;
2141
- const e = _(), o = (e) => t.getAttribute(e, No) ?? void 0, r = (e) => t.getAttribute(e, Do), n = t.getAttribute("orientation");
2145
+ if (M) return;
2146
+ const e = W(), o = (e) => t.getAttribute(e, No) ?? void 0, r = (e) => t.getAttribute(e, Do), n = t.getAttribute("orientation");
2142
2147
  "landscape" !== n && "portrait" !== n || (e.orientation = n);
2143
2148
  for (const t of [
2144
2149
  "paperSize",
@@ -2168,49 +2173,49 @@ var is = (t) => {
2168
2173
  from: "printOptions",
2169
2174
  to: null,
2170
2175
  openTag: (t) => {
2171
- if (N) return;
2176
+ if (M) return;
2172
2177
  const e = (e) => !0 === t.getAttribute(e, Do);
2173
- e("horizontalCentered") && (_().centerHorizontally = !0), e("verticalCentered") && (_().centerVertically = !0), e("gridLines") && (_().printGridlines = !0), e("headings") && (_().printHeadings = !0);
2178
+ e("horizontalCentered") && (W().centerHorizontally = !0), e("verticalCentered") && (W().centerVertically = !0), e("gridLines") && (W().printGridlines = !0), e("headings") && (W().printHeadings = !0);
2174
2179
  }
2175
2180
  }), d.registerVisitor({
2176
2181
  from: "headerFooter",
2177
2182
  to: {},
2178
2183
  openTag: (t) => {
2179
- if (N) return;
2184
+ if (M) return;
2180
2185
  const e = {}, o = (e) => t.getAttribute(e, Do);
2181
- !0 === o("differentOddEven") && (e.differentOddEven = !0), !0 === o("differentFirst") && (e.differentFirst = !0), !1 === o("scaleWithDoc") && (e.ignoreSheetScale = !0), !1 === o("alignWithMargins") && (e.ignoreSheetMargins = !0), Object.keys(e).length > 0 && (_().headerFooter = e);
2186
+ !0 === o("differentOddEven") && (e.differentOddEven = !0), !0 === o("differentFirst") && (e.differentFirst = !0), !1 === o("scaleWithDoc") && (e.ignoreSheetScale = !0), !1 === o("alignWithMargins") && (e.ignoreSheetMargins = !0), Object.keys(e).length > 0 && (W().headerFooter = e);
2182
2187
  }
2183
2188
  });
2184
2189
  for (const t of dt) d.registerVisitor({
2185
2190
  from: t,
2186
2191
  to: {},
2187
2192
  text: (e, o) => {
2188
- if (N) return;
2189
- const s = _(), r = s.headerFooter ??= {};
2193
+ if (M) return;
2194
+ const s = W(), r = s.headerFooter ??= {};
2190
2195
  r[t] = (r[t] ?? "") + l(e);
2191
2196
  }
2192
2197
  });
2193
- let R = "rowBreaks";
2198
+ let z = "rowBreaks";
2194
2199
  for (const [t, e] of [["rowBreaks", "rowBreaks"], ["colBreaks", "columnBreaks"]]) d.registerVisitor({
2195
2200
  from: t,
2196
2201
  to: {},
2197
2202
  openTag: () => {
2198
- R = e;
2203
+ z = e;
2199
2204
  }
2200
2205
  });
2201
2206
  d.registerVisitor({
2202
2207
  from: "brk",
2203
2208
  to: null,
2204
2209
  openTag: (t) => {
2205
- if (N) return;
2210
+ if (M) return;
2206
2211
  const e = t.getAttribute("id", No);
2207
2212
  if (null == e) return;
2208
2213
  const o = { index: e }, s = t.getAttribute("min", No);
2209
2214
  null != s && (o.min = s);
2210
2215
  const r = t.getAttribute("max", No);
2211
2216
  null != r && (o.max = r), !0 !== t.getAttribute("man", Do) && (o.automatic = !0), !0 === t.getAttribute("pt", Do) && (o.pivot = !0);
2212
- const n = _();
2213
- (n[R] ??= []).push(o);
2217
+ const n = W();
2218
+ (n[z] ??= []).push(o);
2214
2219
  }
2215
2220
  }), d.registerVisitor({
2216
2221
  from: "ignoredErrors",
@@ -2250,7 +2255,7 @@ var is = (t) => {
2250
2255
  });
2251
2256
  }
2252
2257
  });
2253
- const W = {
2258
+ const G = {
2254
2259
  from: "dataValidation",
2255
2260
  to: [],
2256
2261
  openTag: (t) => {
@@ -2273,7 +2278,7 @@ var is = (t) => {
2273
2278
  o && (t.getAttribute("allowBlank", Do) && (o.includeBlanks = !0), e.v.condition = o), delete e.rule;
2274
2279
  }
2275
2280
  };
2276
- d.registerVisitor(W), d.registerVisitor({
2281
+ d.registerVisitor(G), d.registerVisitor({
2277
2282
  from: "formula1",
2278
2283
  to: {},
2279
2284
  text: (t, e) => {
@@ -2297,7 +2302,7 @@ var is = (t) => {
2297
2302
  t.getSource().resId = o;
2298
2303
  }
2299
2304
  });
2300
- const z = {
2305
+ const Z = {
2301
2306
  from: "slicer",
2302
2307
  to: {},
2303
2308
  openTag: (t) => {
@@ -2309,8 +2314,8 @@ var is = (t) => {
2309
2314
  for (const t of n) r.slicers[t] = o[t];
2310
2315
  }
2311
2316
  };
2312
- d.registerVisitor(z);
2313
- const G = {
2317
+ d.registerVisitor(Z);
2318
+ const tt = {
2314
2319
  from: "timelineRef",
2315
2320
  to: {},
2316
2321
  openTag: (t) => {
@@ -2320,7 +2325,7 @@ var is = (t) => {
2320
2325
  r.slicers ??= {};
2321
2326
  for (const t of Object.keys(o)) r.slicers[t] = o[t];
2322
2327
  }
2323
- }, Z = (t, e) => ({
2328
+ }, ot = (t, e) => ({
2324
2329
  from: t,
2325
2330
  to: {},
2326
2331
  openTag: (t) => {
@@ -2332,8 +2337,8 @@ var is = (t) => {
2332
2337
  closeTag: (t) => {
2333
2338
  e(String(t.getSource() ?? ""), t);
2334
2339
  }
2335
- }), tt = /* @__PURE__ */ new Map();
2336
- tt.set("dataValidations", {
2340
+ }), nt = /* @__PURE__ */ new Map();
2341
+ nt.set("dataValidations", {
2337
2342
  from: "dataValidations",
2338
2343
  to: "validations",
2339
2344
  openTag: (t) => {
@@ -2343,15 +2348,15 @@ var is = (t) => {
2343
2348
  closeTag: (t) => {
2344
2349
  0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
2345
2350
  }
2346
- }), tt.set("dataValidation", {
2347
- ...W,
2351
+ }), nt.set("dataValidation", {
2352
+ ...G,
2348
2353
  closeTag: (t) => {
2349
- W.closeTag(t);
2354
+ G.closeTag(t);
2350
2355
  const e = t.getSource();
2351
2356
  e && !e.r && (t.warn("x14 dataValidation with no xm:sqref was dropped."), t.setSource(void 0));
2352
2357
  }
2353
2358
  });
2354
- const ot = (t) => ({
2359
+ const it = (t) => ({
2355
2360
  from: t,
2356
2361
  to: {},
2357
2362
  openTag: (e) => {
@@ -2361,18 +2366,18 @@ var is = (t) => {
2361
2366
  });
2362
2367
  }
2363
2368
  });
2364
- tt.set("formula1", ot("formula1")), tt.set("formula2", ot("formula2")), tt.set("f", Z("f", (t, e) => {
2369
+ nt.set("formula1", it("formula1")), nt.set("formula2", it("formula2")), nt.set("f", ot("f", (t, e) => {
2365
2370
  const o = e.getParent(), s = o?.rule;
2366
2371
  s && (s[o.key] = Y(b(t), s.type));
2367
- })), tt.set("sqref", Z("sqref", (t, e) => {
2372
+ })), nt.set("sqref", ot("sqref", (t, e) => {
2368
2373
  const o = e.getParent(), s = t.trim();
2369
2374
  o && s && (o.r = s.split(/\s+/).join(","));
2370
2375
  }));
2371
- const nt = /* @__PURE__ */ new Map(), it = [], lt = /* @__PURE__ */ new Map();
2372
- lt.set("conditionalFormattings", {
2376
+ const lt = /* @__PURE__ */ new Map(), ht = [], pt = /* @__PURE__ */ new Map();
2377
+ pt.set("conditionalFormattings", {
2373
2378
  from: "conditionalFormattings",
2374
2379
  transparent: !0
2375
- }), lt.set("conditionalFormatting", {
2380
+ }), pt.set("conditionalFormatting", {
2376
2381
  from: "conditionalFormatting",
2377
2382
  to: {},
2378
2383
  openTag: (t) => {
@@ -2382,10 +2387,10 @@ var is = (t) => {
2382
2387
  const e = t.getSource(), o = e?.rules ?? [];
2383
2388
  for (let t = 0; t < o.length; t++) {
2384
2389
  const s = o[t];
2385
- s.sqref = e.sqref, s.id ? nt.set(s.id, s) : it.push(s);
2390
+ s.sqref = e.sqref, s.id ? lt.set(s.id, s) : ht.push(s);
2386
2391
  }
2387
2392
  }
2388
- }), lt.set("cfRule", {
2393
+ }), pt.set("cfRule", {
2389
2394
  from: "cfRule",
2390
2395
  to: {},
2391
2396
  openTag: (t) => {
@@ -2395,10 +2400,10 @@ var is = (t) => {
2395
2400
  const e = t.getSource();
2396
2401
  e && t.getParent()?.rules?.push(e);
2397
2402
  }
2398
- }), lt.set("sqref", Z("sqref", (t, e) => {
2403
+ }), pt.set("sqref", ot("sqref", (t, e) => {
2399
2404
  const o = e.getParent(), s = t.trim();
2400
2405
  o && s && (o.sqref = s);
2401
- })), lt.set("dataBar", {
2406
+ })), pt.set("dataBar", {
2402
2407
  from: "dataBar",
2403
2408
  to: {},
2404
2409
  openTag: (t) => {
@@ -2407,7 +2412,7 @@ var is = (t) => {
2407
2412
  closeTag: (t) => {
2408
2413
  t.getParent().dataBar = t.getSource();
2409
2414
  }
2410
- }), lt.set("iconSet", {
2415
+ }), pt.set("iconSet", {
2411
2416
  from: "iconSet",
2412
2417
  to: {},
2413
2418
  openTag: (t) => {
@@ -2417,26 +2422,26 @@ var is = (t) => {
2417
2422
  t.getParent().iconSet = t.getSource();
2418
2423
  }
2419
2424
  });
2420
- const ht = /* @__PURE__ */ new Map();
2421
- ht.set("f", Z("f", (t, e) => {
2425
+ const mt = /* @__PURE__ */ new Map();
2426
+ mt.set("f", ot("f", (t, e) => {
2422
2427
  const o = e.getParent();
2423
2428
  if (!o) return;
2424
2429
  const s = t.trim(), r = Number(s);
2425
2430
  o.value = s.length > 0 && Number.isFinite(r) ? r : b(t);
2426
- })), lt.set("cfvo", {
2431
+ })), pt.set("cfvo", {
2427
2432
  from: "cfvo",
2428
2433
  to: {},
2429
- scope: () => ht,
2434
+ scope: () => mt,
2430
2435
  openTag: (t) => {
2431
2436
  const e = t.getParent();
2432
2437
  e.conditions || (e.conditions = []);
2433
2438
  const o = t.getSource();
2434
2439
  e.conditions.push(o), t.copyTo("type", $o), !1 === t.getAttribute("gte", Do) && (o.exclusive = !0);
2435
2440
  }
2436
- }), lt.set("f", Z("f", (t, e) => {
2441
+ }), pt.set("f", ot("f", (t, e) => {
2437
2442
  const o = e.getParent();
2438
2443
  o && (o.formulas ??= []).push(b(t));
2439
- })), lt.set("dxf", {
2444
+ })), pt.set("dxf", {
2440
2445
  from: "dxf",
2441
2446
  to: {},
2442
2447
  raw: !0,
@@ -2448,7 +2453,7 @@ var is = (t) => {
2448
2453
  o && (e.style = o);
2449
2454
  }
2450
2455
  });
2451
- const pt = (t) => ({
2456
+ const bt = (t) => ({
2452
2457
  from: t,
2453
2458
  to: {},
2454
2459
  openTag: (o) => {
@@ -2456,7 +2461,7 @@ var is = (t) => {
2456
2461
  s && (o.getParent()[t] = s);
2457
2462
  }
2458
2463
  });
2459
- lt.set("borderColor", pt("borderColor")), lt.set("negativeFillColor", pt("negativeFillColor")), lt.set("negativeBorderColor", pt("negativeBorderColor")), lt.set("axisColor", pt("axisColor")), lt.set("cfIcon", {
2464
+ pt.set("borderColor", bt("borderColor")), pt.set("negativeFillColor", bt("negativeFillColor")), pt.set("negativeBorderColor", bt("negativeBorderColor")), pt.set("axisColor", bt("axisColor")), pt.set("cfIcon", {
2460
2465
  from: "cfIcon",
2461
2466
  to: {},
2462
2467
  openTag: (t) => {
@@ -2469,23 +2474,23 @@ var is = (t) => {
2469
2474
  });
2470
2475
  }
2471
2476
  });
2472
- const mt = /* @__PURE__ */ new Map();
2473
- mt.set("id", Z("id", (t, e) => {
2477
+ const xt = /* @__PURE__ */ new Map();
2478
+ xt.set("id", ot("id", (t, e) => {
2474
2479
  const o = e.getParent(), s = t.trim();
2475
2480
  o && s && (o.x14Id = s);
2476
2481
  }));
2477
- const bt = /* @__PURE__ */ new Map();
2478
- bt.set("slicerList", {
2482
+ const vt = /* @__PURE__ */ new Map();
2483
+ vt.set("slicerList", {
2479
2484
  from: "slicerList",
2480
2485
  transparent: !0
2481
- }), bt.set("slicer", z);
2482
- const xt = /* @__PURE__ */ new Map();
2483
- xt.set("timelineRefs", {
2486
+ }), vt.set("slicer", Z);
2487
+ const wt = /* @__PURE__ */ new Map();
2488
+ wt.set("timelineRefs", {
2484
2489
  from: "timelineRefs",
2485
2490
  transparent: !0
2486
- }), xt.set("timelineRef", G);
2487
- const vt = /* @__PURE__ */ new Map();
2488
- vt.set("sparklineGroups", {
2491
+ }), wt.set("timelineRef", tt);
2492
+ const St = /* @__PURE__ */ new Map();
2493
+ St.set("sparklineGroups", {
2489
2494
  from: "sparklineGroups",
2490
2495
  to: "sparklineGroups",
2491
2496
  openTag: (t) => {
@@ -2495,7 +2500,7 @@ var is = (t) => {
2495
2500
  closeTag: (t) => {
2496
2501
  0 === (t.getSource()?.length ?? 0) && t.setSource(void 0);
2497
2502
  }
2498
- }), vt.set("sparklineGroup", {
2503
+ }), St.set("sparklineGroup", {
2499
2504
  from: "sparklineGroup",
2500
2505
  to: [],
2501
2506
  openTag: (e) => {
@@ -2514,7 +2519,7 @@ var is = (t) => {
2514
2519
  o || t.warn("A sparkline group with no sparklines was dropped.", { onceKey: "xlsx.sheet.sparklineGroup.empty" }), t.setSource(o ?? void 0);
2515
2520
  }
2516
2521
  });
2517
- for (const t of $) vt.set(t, {
2522
+ for (const t of $) St.set(t, {
2518
2523
  from: t,
2519
2524
  to: {},
2520
2525
  openTag: (o) => {
@@ -2522,10 +2527,10 @@ var is = (t) => {
2522
2527
  s && (o.getParent().properties[t] = s);
2523
2528
  }
2524
2529
  });
2525
- vt.set("sparklines", {
2530
+ St.set("sparklines", {
2526
2531
  from: "sparklines",
2527
2532
  transparent: !0
2528
- }), vt.set("sparkline", {
2533
+ }), St.set("sparkline", {
2529
2534
  from: "sparkline",
2530
2535
  to: {},
2531
2536
  openTag: (t) => {
@@ -2541,24 +2546,24 @@ var is = (t) => {
2541
2546
  data: e.data ?? ""
2542
2547
  }) : t.warn("A sparkline with no location was dropped.", { onceKey: "xlsx.sheet.sparkline.incomplete" });
2543
2548
  }
2544
- }), vt.set("f", Z("f", (t, e) => {
2549
+ }), St.set("f", ot("f", (t, e) => {
2545
2550
  const o = e.getParent(), s = t.trim();
2546
2551
  o && s && (o.isSparkline ? o.data = s : o.properties.dateRange = s);
2547
- })), vt.set("sqref", Z("sqref", (t, e) => {
2552
+ })), St.set("sqref", ot("sqref", (t, e) => {
2548
2553
  const o = e.getParent();
2549
2554
  o?.isSparkline && (o.sqref = t);
2550
2555
  }));
2551
- const wt = /* @__PURE__ */ new Map([
2552
- [k(q), vt],
2553
- [k(ct), tt],
2554
- [k(Q), lt],
2555
- [k(V), lt],
2556
- [k(ft), mt],
2557
- [k(yt), bt],
2558
- [k(H), bt],
2559
- [k(K), xt],
2560
- [k(gt), E]
2561
- ]), St = /* @__PURE__ */ new Set();
2556
+ const Ct = /* @__PURE__ */ new Map([
2557
+ [C(q), St],
2558
+ [C(ct), nt],
2559
+ [C(Q), pt],
2560
+ [C(L), pt],
2561
+ [C(ft), xt],
2562
+ [C(yt), vt],
2563
+ [C(H), vt],
2564
+ [C(K), wt],
2565
+ [C(gt), O]
2566
+ ]), Et = /* @__PURE__ */ new Set();
2562
2567
  d.registerVisitor({
2563
2568
  from: "extLst",
2564
2569
  transparent: !0
@@ -2566,10 +2571,10 @@ var is = (t) => {
2566
2571
  from: "ext",
2567
2572
  transparent: !0,
2568
2573
  scope: (t) => {
2569
- const e = t.getAttribute("uri"), o = k(e), s = wt.get(o);
2574
+ const e = t.getAttribute("uri"), o = C(e), s = Ct.get(o);
2570
2575
  if (s) return s;
2571
- if (!At.has(o) && !St.has(o)) {
2572
- St.add(o);
2576
+ if (!At.has(o) && !Et.has(o)) {
2577
+ Et.add(o);
2573
2578
  const s = j[o];
2574
2579
  t.warn(s ? `Extension content '${s}' (${e}) is not read; it will be lost on resave.` : `Unknown extension content (uri ${e}) is not read; it will be lost on resave.`);
2575
2580
  }
@@ -2629,20 +2634,20 @@ var is = (t) => {
2629
2634
  t.setSource(s(t.getAttribute("r:id"), "legacyDrawing") ?? void 0);
2630
2635
  }
2631
2636
  });
2632
- let kt = null, Et = !1;
2633
- const It = /* @__PURE__ */ new Map(), Pt = {
2637
+ let It = null, Pt = !1;
2638
+ const Ot = /* @__PURE__ */ new Map(), Dt = {
2634
2639
  from: "Fallback",
2635
2640
  to: null
2636
- }, Ot = {
2641
+ }, _t = {
2637
2642
  from: "Choice",
2638
2643
  transparent: !0
2639
2644
  };
2640
- It.set("Fallback", Pt), It.set("Choice", Ot), It.set("control", {
2645
+ Ot.set("Fallback", Dt), Ot.set("Choice", _t), Ot.set("control", {
2641
2646
  from: "control",
2642
2647
  transparent: !0,
2643
2648
  openTag: (t) => {
2644
2649
  const e = t.getAttribute("name"), o = t.getAttribute("r:id"), r = o ? s(o, "formControl") : null;
2645
- if (!r) return t.warn(`The form control '${e ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (kt = null);
2650
+ if (!r) return t.warn(`The form control '${e ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (It = null);
2646
2651
  const n = r.json, i = parseInt(t.getAttribute("shapeId") ?? "", 10);
2647
2652
  isNaN(i) || (n.shapeId = i);
2648
2653
  const a = {
@@ -2665,29 +2670,29 @@ var is = (t) => {
2665
2670
  json: n
2666
2671
  }
2667
2672
  };
2668
- e && (a.content.name = e), kt = {
2673
+ e && (a.content.name = e), It = {
2669
2674
  movable: a,
2670
2675
  control: n
2671
2676
  };
2672
2677
  },
2673
2678
  closeTag: () => {
2674
- kt && (o.movables || (o.movables = []), o.movables.push(kt.movable), kt = null);
2679
+ It && (o.movables || (o.movables = []), o.movables.push(It.movable), It = null);
2675
2680
  }
2676
- }), It.set("controlPr", {
2681
+ }), Ot.set("controlPr", {
2677
2682
  from: "controlPr",
2678
2683
  transparent: !0,
2679
2684
  raw: !0,
2680
2685
  openTag: (t) => {
2681
- if (!kt) return;
2686
+ if (!It) return;
2682
2687
  const e = t.getFrom().attributes ?? {}, o = {};
2683
2688
  for (const t in e) {
2684
2689
  const s = e[t];
2685
2690
  o[t] = "string" == typeof s ? s : s?.value ?? "";
2686
2691
  }
2687
- M(o, kt.control);
2692
+ R(o, It.control);
2688
2693
  },
2689
2694
  closeTag: (t) => {
2690
- if (!kt) return;
2695
+ if (!It) return;
2691
2696
  const e = ((t) => {
2692
2697
  const e = /<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(t);
2693
2698
  if (!e) return null;
@@ -2701,24 +2706,24 @@ var is = (t) => {
2701
2706
  rest: (t.slice(0, e.index) + t.slice(e.index + e[0].length)).trim()
2702
2707
  };
2703
2708
  })(t.getRawXml() ?? "");
2704
- e ? (kt.movable.anchor = e.anchor, "twoCell" !== e.anchorType && (kt.movable.anchorType = e.anchorType), e.rest && (kt.control.xml = e.rest)) : Et || (Et = !0, t.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2709
+ e ? (It.movable.anchor = e.anchor, "twoCell" !== e.anchorType && (It.movable.anchorType = e.anchorType), e.rest && (It.control.xml = e.rest)) : Pt || (Pt = !0, t.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2705
2710
  }
2706
2711
  });
2707
- const Dt = {
2712
+ const $t = {
2708
2713
  from: "controls",
2709
2714
  transparent: !0,
2710
- scope: () => It
2715
+ scope: () => Ot
2711
2716
  };
2712
- d.registerVisitor(Dt);
2713
- const _t = /* @__PURE__ */ new Map([
2714
- ["Choice", Ot],
2715
- ["Fallback", Pt],
2716
- ["controls", Dt]
2717
+ d.registerVisitor($t);
2718
+ const Mt = /* @__PURE__ */ new Map([
2719
+ ["Choice", _t],
2720
+ ["Fallback", Dt],
2721
+ ["controls", $t]
2717
2722
  ]);
2718
2723
  d.registerVisitor({
2719
2724
  from: "AlternateContent",
2720
2725
  transparent: !0,
2721
- scope: () => _t
2726
+ scope: () => Mt
2722
2727
  }), d.registerVisitor({
2723
2728
  from: "tableParts",
2724
2729
  to: "tables",
@@ -2735,11 +2740,11 @@ var is = (t) => {
2735
2740
  o ? t.setSource(o) : t.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
2736
2741
  }
2737
2742
  });
2738
- const $t = (t, e) => {
2739
- e.conditions?.length && (t.stops = T(e)), void 0 !== e.minLength && (t.minLength = e.minLength), void 0 !== e.maxLength && (t.maxLength = e.maxLength), (e.gradient ?? 1) && (t.gradient = !0), e.border && e.borderColor && (t.borderColor = e.borderColor), !e.negativeBarColorSameAsPositive && e.negativeFillColor && (t.negativeFillColor = e.negativeFillColor), !(e.negativeBarBorderColorSameAsPositive ?? 1) && e.negativeBorderColor && (t.negativeBorderColor = e.negativeBorderColor), e.axisColor && (t.axisColor = e.axisColor), "middle" !== e.axisPosition && "none" !== e.axisPosition || (t.axisPosition = e.axisPosition), "leftToRight" !== e.direction && "rightToLeft" !== e.direction || (t.direction = e.direction);
2740
- }, Rt = (t, e) => {
2741
- e.conditions?.length && (t.stops = T(e)), e.iconSet && e.iconSet !== t.iconSet && (t.iconSet = e.iconSet), e.icons?.length && (t.icon = e.icons), void 0 !== e.reverse && (t.reverse = e.reverse), void 0 !== e.showValue && (t.showValue = e.showValue);
2742
- }, Mt = (t) => {
2743
+ const Rt = (t, e) => {
2744
+ e.conditions?.length && S(t, k(e)), T(t, e), !1 === e.gradient ? t.solidFill = !0 : delete t.solidFill, e.border && e.borderColor && (t.borderColor = e.borderColor), !e.negativeBarColorSameAsPositive && e.negativeFillColor && (t.negativeFillColor = e.negativeFillColor), !(e.negativeBarBorderColorSameAsPositive ?? 1) && e.negativeBorderColor && (t.negativeBorderColor = e.negativeBorderColor), e.axisColor && (t.axisColor = e.axisColor), "middle" !== e.axisPosition && "none" !== e.axisPosition || (t.axisPosition = e.axisPosition), "leftToRight" !== e.direction && "rightToLeft" !== e.direction || (t.direction = e.direction);
2745
+ }, Vt = (t, e) => {
2746
+ e.conditions?.length && (t.stops = k(e)), e.iconSet && e.iconSet !== t.iconSet && (t.iconSet = e.iconSet), e.icons?.length && (t.icon = e.icons), void 0 !== e.reverse && (t.reverse = e.reverse), void 0 !== e.showValue && (t.showValue = e.showValue);
2747
+ }, Lt = (t) => {
2743
2748
  if (!t.sqref) return null;
2744
2749
  const e = t.sqref.split(/\s+/).join(",");
2745
2750
  if ("iconSet" === t.type) {
@@ -2748,7 +2753,7 @@ var is = (t) => {
2748
2753
  type: Ft.ScaleType.IconSet,
2749
2754
  stops: []
2750
2755
  };
2751
- return Rt(o, t.iconSet), {
2756
+ return Vt(o, t.iconSet), {
2752
2757
  r: e,
2753
2758
  v: { scale: o },
2754
2759
  priority: t.priority
@@ -2774,16 +2779,16 @@ var is = (t) => {
2774
2779
  const e = o[t], s = e.x14Id;
2775
2780
  if (!s) continue;
2776
2781
  delete e.x14Id;
2777
- const r = nt.get(s);
2782
+ const r = lt.get(s);
2778
2783
  if (!r) continue;
2779
- nt.delete(s);
2784
+ lt.delete(s);
2780
2785
  const n = e.v?.scale;
2781
- r.dataBar && n?.type === Ft.ScaleType.DataBar ? $t(n, r.dataBar) : r.iconSet && n?.type === Ft.ScaleType.IconSet && Rt(n, r.iconSet);
2786
+ r.dataBar && n?.type === Ft.ScaleType.DataBar ? Rt(n, r.dataBar) : r.iconSet && n?.type === Ft.ScaleType.IconSet && Vt(n, r.iconSet);
2782
2787
  }
2783
- const s = [...nt.values(), ...it], r = /* @__PURE__ */ new Set();
2788
+ const s = [...lt.values(), ...ht], r = /* @__PURE__ */ new Set();
2784
2789
  let n = 0;
2785
2790
  for (let t = 0; t < s.length; t++) {
2786
- const i = Mt(s[t]);
2791
+ const i = Lt(s[t]);
2787
2792
  i ? (o || (o = [], e.conditionals = o), o.push(i)) : (r.add(s[t].type ?? "unknown"), n++);
2788
2793
  }
2789
2794
  if (n > 0) {
@@ -2821,7 +2826,7 @@ var is = (t) => {
2821
2826
  to: "protection",
2822
2827
  openTag: (t) => {
2823
2828
  const e = t.getSource();
2824
- for (const o of L) {
2829
+ for (const o of V) {
2825
2830
  const s = t.hasAttribute(o.attribute) ? t.getAttribute(o.attribute) : null;
2826
2831
  e[o.key] = Tt(o, s);
2827
2832
  }
@@ -2885,30 +2890,30 @@ var is = (t) => {
2885
2890
  t.warn("'OLE Objects' are not supported.");
2886
2891
  }
2887
2892
  });
2888
- let Lt = !1, Vt = !1, jt = 0, Ht = "", Wt = "";
2889
- const Xt = (t) => {
2893
+ let jt = !1, Ht = !1, Wt = 0, Xt = "", qt = "";
2894
+ const Ut = (t) => {
2890
2895
  const e = t.indexOf(":");
2891
2896
  return -1 === e ? t : t.slice(e + 1);
2892
- }, qt = new os();
2897
+ }, Gt = new os();
2893
2898
  return xs(x, o, d.createEventHandler(o, i, a), a, u, {
2894
2899
  onOpenTag: (t) => {
2895
- Lt = !0;
2896
- const e = Xt(t.name);
2897
- "t" === e || "v" === e ? 0 === jt && (Vt = !0) : "rPh" === e || "phoneticPr" === e ? jt++ : 0 === jt && qt.onOpenTag(e, t.attributes);
2900
+ jt = !0;
2901
+ const e = Ut(t.name);
2902
+ "t" === e || "v" === e ? 0 === Wt && (Ht = !0) : "rPh" === e || "phoneticPr" === e ? Wt++ : 0 === Wt && Gt.onOpenTag(e, t.attributes);
2898
2903
  },
2899
2904
  onText: (t) => {
2900
- Vt && (Ht += t, qt.onText(t));
2905
+ Ht && (Xt += t, Gt.onText(t));
2901
2906
  },
2902
2907
  onCloseTag: (t) => {
2903
- const e = Xt(t.name);
2904
- "t" === e || "v" === e ? Vt = !1 : "rPh" === e || "phoneticPr" === e ? jt > 0 && jt-- : qt.onCloseTag(e);
2908
+ const e = Ut(t.name);
2909
+ "t" === e || "v" === e ? Ht = !1 : "rPh" === e || "phoneticPr" === e ? Wt > 0 && Wt-- : Gt.onCloseTag(e);
2905
2910
  },
2906
2911
  onEnd: () => {
2907
- if (!Lt) return;
2908
- const t = qt.take();
2909
- Lt = !1, Vt = !1, jt = 0;
2910
- const e = l(Ht);
2911
- return Ht = "", Wt = e, t ? {
2912
+ if (!jt) return;
2913
+ const t = Gt.take();
2914
+ jt = !1, Ht = !1, Wt = 0;
2915
+ const e = l(Xt);
2916
+ return Xt = "", qt = e, t ? {
2912
2917
  t: "r",
2913
2918
  v: {
2914
2919
  type: "richText",
@@ -2917,7 +2922,7 @@ var is = (t) => {
2917
2922
  } : r(e);
2918
2923
  },
2919
2924
  onError: (t) => {}
2920
- }, h, r, () => f, () => Wt);
2925
+ }, h, r, () => f, () => qt);
2921
2926
  }, ps = class {
2922
2927
  static {
2923
2928
  this.Collapsed = 1;
@@ -2959,12 +2964,12 @@ var is = (t) => {
2959
2964
  }, bs = (t) => "1" === t || "true" === t, xs = (t, e, o, s, r, n, i, a, l, c) => {
2960
2965
  let u = !1;
2961
2966
  const d = [], p = i?.get(us), f = i?.get(hs), g = /* @__PURE__ */ new Map();
2962
- let m = !1, b = [], x = !1, y = null, v = null, w = null, S = null, k = null, C = null;
2967
+ let m = !1, b = [], x = !1, y = null, v = null, w = null, S = null, C = null, k = null;
2963
2968
  const A = i?.get("richData") ?? $t.EmptyArray;
2964
2969
  let E = null, I = !1;
2965
- const P = Nt.normalizeA1ToR1C1, O = Rt.createConflatingRanges(), D = /* @__PURE__ */ new Map(), N = [], _ = [];
2966
- let $ = !1, R = !1, M = null;
2967
- const L = (t) => {
2970
+ const P = Nt.normalizeA1ToR1C1, O = Mt.createConflatingRanges(), D = /* @__PURE__ */ new Map(), N = [], _ = [];
2971
+ let $ = !1, M = !1, R = null;
2972
+ const V = (t) => {
2968
2973
  const e = (i?.get("metadata"))?.values;
2969
2974
  if (!e) return;
2970
2975
  const o = parseInt(t, 10);
@@ -2972,8 +2977,8 @@ var is = (t) => {
2972
2977
  const s = e[o - 1]?.get("XLRICHVALUE");
2973
2978
  return void 0 !== s?.richValueIndex ? A[s.richValueIndex] : void 0;
2974
2979
  };
2975
- let V = !1;
2976
- const j = Rt.createConflatingRanges();
2980
+ let L = !1;
2981
+ const j = Mt.createConflatingRanges();
2977
2982
  let B, F = !1, H = -1, W = -1, z = null, X = null;
2978
2983
  const q = (t) => ({
2979
2984
  t: "r",
@@ -3006,7 +3011,7 @@ var is = (t) => {
3006
3011
  v = e.ref, y = t;
3007
3012
  break;
3008
3013
  case "array":
3009
- v = e.ref, M = v;
3014
+ v = e.ref, R = v;
3010
3015
  break;
3011
3016
  case "dataTable": {
3012
3017
  const t = ((t, e, o) => {
@@ -3034,7 +3039,7 @@ var is = (t) => {
3034
3039
  }
3035
3040
  }
3036
3041
  const t = e.ca;
3037
- void 0 !== t && (V = "1" === t);
3042
+ void 0 !== t && (L = "1" === t);
3038
3043
  break;
3039
3044
  case "is":
3040
3045
  F = !0;
@@ -3057,7 +3062,7 @@ var is = (t) => {
3057
3062
  colEnd: W,
3058
3063
  rowEnd: H,
3059
3064
  value: r
3060
- }, b.push(pt))), M = null, R = !1, I = !1;
3065
+ }, b.push(pt))), R = null, M = !1, I = !1;
3061
3066
  const n = e.cm;
3062
3067
  $ = void 0 !== n && ((t) => {
3063
3068
  const e = (i?.get("metadata"))?.cells;
@@ -3067,13 +3072,13 @@ var is = (t) => {
3067
3072
  })(n);
3068
3073
  const a = e.vm;
3069
3074
  if (void 0 !== a) {
3070
- const t = L(a);
3071
- if (Mt.isError(t)) {
3075
+ const t = V(a);
3076
+ if (Rt.isError(t)) {
3072
3077
  const e = t.getCode();
3073
3078
  z = {
3074
3079
  t: "e",
3075
3080
  v: e
3076
- }, $ && e === Mt.Code.Spill && (R = !0);
3081
+ }, $ && e === Rt.Code.Spill && (M = !0);
3077
3082
  }
3078
3083
  }
3079
3084
  }
@@ -3126,7 +3131,7 @@ var is = (t) => {
3126
3131
  if (0 !== e || t.slice(s).trim().length > 0) return;
3127
3132
  const r = /^HYPERLINK\(\s*"((?:[^"]|"")*)"\s*[,)]/i.exec(t);
3128
3133
  return r ? r[1].replace(/""/g, "\"") : null;
3129
- })(S[2]), O.append(H, W, S), V && j.append(H, W)), null !== M && N.push([M, $ ? R ? "error" : "dynamic" : "fixed"]), x = !1, S = null, y = null, v = null, m = !1, V = !1, M = null, $ = !1, R = !1), X) {
3134
+ })(S[2]), O.append(H, W, S), L && j.append(H, W)), null !== R && N.push([R, $ ? M ? "error" : "dynamic" : "fixed"]), x = !1, S = null, y = null, v = null, m = !1, L = !1, R = null, $ = !1, M = !1), X) {
3130
3135
  const o = s.indexOf(":");
3131
3136
  if (-1 !== o && (s = s.slice(o + 1)), F) if ("is" === s || "v" === s) {
3132
3137
  const e = n?.onEnd?.();
@@ -3196,8 +3201,8 @@ var is = (t) => {
3196
3201
  if ("#VALUE!" === r) {
3197
3202
  const t = X.attributes.vm;
3198
3203
  if (void 0 !== t) {
3199
- const e = L(t);
3200
- if (Mt.isError(e)) {
3204
+ const e = V(t);
3205
+ if (Rt.isError(e)) {
3201
3206
  z = {
3202
3207
  t: "e",
3203
3208
  v: e.getCode()
@@ -3213,7 +3218,7 @@ var is = (t) => {
3213
3218
  }
3214
3219
  }
3215
3220
  }
3216
- const t = Mt.getBuiltInByLabel(r);
3221
+ const t = Rt.getBuiltInByLabel(r);
3217
3222
  t ? z = {
3218
3223
  t: "e",
3219
3224
  v: t.getCode()
@@ -3229,7 +3234,7 @@ var is = (t) => {
3229
3234
  }
3230
3235
  const l = null !== y;
3231
3236
  if (y) {
3232
- if (k === y) S = C;
3237
+ if (C === y) S = k;
3233
3238
  else {
3234
3239
  if (S = D.get(y) ?? null, !S) {
3235
3240
  const t = [];
@@ -3239,7 +3244,7 @@ var is = (t) => {
3239
3244
  r
3240
3245
  ], D.set(y, S);
3241
3246
  }
3242
- k = y, C = S;
3247
+ C = y, k = S;
3243
3248
  }
3244
3249
  y = null;
3245
3250
  }
@@ -3248,9 +3253,9 @@ var is = (t) => {
3248
3253
  const e = l ? void 0 : i?.get(ls);
3249
3254
  if (e) {
3250
3255
  const o = ((t) => {
3251
- if (t.length < Vo.length) return Fo;
3252
- if (t.slice(0, Vo.length).toUpperCase() !== jo) return Fo;
3253
- const e = Wo(t, Vo.length);
3256
+ if (t.length < Lo.length) return Fo;
3257
+ if (t.slice(0, Lo.length).toUpperCase() !== jo) return Fo;
3258
+ const e = Wo(t, Lo.length);
3254
3259
  if (null === e) return Fo;
3255
3260
  if (41 !== t.charCodeAt(e.end)) return Fo;
3256
3261
  if (44 !== t.charCodeAt(e.end + 1)) return Fo;
@@ -3261,9 +3266,9 @@ var is = (t) => {
3261
3266
  formula: o
3262
3267
  };
3263
3268
  })(r);
3264
- "none" !== o.kind && (E ??= new Xo(e), "spilled" === o.kind ? I = E.placeholder(H, W) : E.anchor(H, W, o.formula) && (t = o.formula, V ||= ((t) => zo(t).some((t) => T(t) || !0 === Vt.get(t)?.getDeclaration().getReturnType()?.isVolatile()))(t)));
3269
+ "none" !== o.kind && (E ??= new Xo(e), "spilled" === o.kind ? I = E.placeholder(H, W) : E.anchor(H, W, o.formula) && (t = o.formula, L ||= ((t) => zo(t).some((t) => T(t) || !0 === Lt.get(t)?.getDeclaration().getReturnType()?.isVolatile()))(t)));
3265
3270
  }
3266
- if (I) V = !1;
3271
+ if (I) L = !1;
3267
3272
  else {
3268
3273
  const e = [];
3269
3274
  w = P(t, H, W, e), S = [
@@ -3280,18 +3285,18 @@ var is = (t) => {
3280
3285
  s: void 0,
3281
3286
  cm: void 0,
3282
3287
  vm: void 0
3283
- }, kt = {
3288
+ }, Ct = {
3284
3289
  name: "c",
3285
3290
  attributes: St,
3286
3291
  isSelfClosing: !1
3287
- }, Ct = {
3292
+ }, kt = {
3288
3293
  t: void 0,
3289
3294
  si: void 0,
3290
3295
  ref: void 0,
3291
3296
  ca: void 0
3292
3297
  }, At = {
3293
3298
  name: "f",
3294
- attributes: Ct,
3299
+ attributes: kt,
3295
3300
  isSelfClosing: !1
3296
3301
  }, Et = {
3297
3302
  name: "v",
@@ -3311,14 +3316,14 @@ var is = (t) => {
3311
3316
  attributes: It,
3312
3317
  isSelfClosing: !1
3313
3318
  }, Ot = Oo.NEED_MORE, Dt = Oo.NOT_HANDLED, _t = Oo.decodeText;
3314
- let Lt = !1;
3319
+ let Vt = !1;
3315
3320
  const jt = (t, e, o, s) => {
3316
3321
  for (;;) {
3317
3322
  let r = 0;
3318
3323
  for (; e < o && (32 === (r = t.charCodeAt(e)) || 9 === r || 10 === r || 13 === r);) e++;
3319
3324
  if (e >= o) return Ot;
3320
- if (62 === r) return Lt = !1, e + 1;
3321
- if (47 === r) return e + 1 >= o ? Ot : 62 !== t.charCodeAt(e + 1) ? Dt : (Lt = !0, e + 2);
3325
+ if (62 === r) return Vt = !1, e + 1;
3326
+ if (47 === r) return e + 1 >= o ? Ot : 62 !== t.charCodeAt(e + 1) ? Dt : (Vt = !0, e + 2);
3322
3327
  const n = e;
3323
3328
  for (; e < o && 61 !== (r = t.charCodeAt(e));) {
3324
3329
  if (62 === r || 47 === r || 32 === r || 9 === r || 10 === r || 13 === r) return Dt;
@@ -3352,11 +3357,11 @@ var is = (t) => {
3352
3357
  case 12: t.startsWith("customHeight", n) ? It.customHeight = t.slice(l, c) : t.startsWith("customFormat", n) ? It.customFormat = t.slice(l, c) : t.startsWith("outlineLevel", n) && (It.outlineLevel = t.slice(l, c));
3353
3358
  }
3354
3359
  else if (0 === s) 1 === i ? 114 === u ? St.r = t.slice(l, c) : 116 === u ? St.t = t.slice(l, c) : 115 === u && (St.s = t.slice(l, c)) : 2 === i && 109 === t.charCodeAt(n + 1) && (99 === u ? St.cm = t.slice(l, c) : 118 === u && (St.vm = t.slice(l, c)));
3355
- else if (1 === i) 116 === u && (Ct.t = t.slice(l, c));
3360
+ else if (1 === i) 116 === u && (kt.t = t.slice(l, c));
3356
3361
  else if (2 === i) {
3357
3362
  const e = t.charCodeAt(n + 1);
3358
- 115 === u && 105 === e ? Ct.si = t.slice(l, c) : 99 === u && 97 === e && (Ct.ca = t.slice(l, c));
3359
- } else 3 === i && t.startsWith("ref", n) && (Ct.ref = t.slice(l, c));
3363
+ 115 === u && 105 === e ? kt.si = t.slice(l, c) : 99 === u && 97 === e && (kt.ca = t.slice(l, c));
3364
+ } else 3 === i && t.startsWith("ref", n) && (kt.ref = t.slice(l, c));
3360
3365
  }
3361
3366
  }, Bt = (t, e, o) => 47 === t.charCodeAt(e + 1) && t.charCodeAt(e + 2) === o && 62 === t.charCodeAt(e + 3);
3362
3367
  return {
@@ -3441,7 +3446,7 @@ var is = (t) => {
3441
3446
  E && N.push(...E.getFormulaArray()), N.length > 0 && (e.formulaArray = [...N]);
3442
3447
  const a = b.length;
3443
3448
  if (a > 0) {
3444
- b.sort(Rt.createRangeComparator(zt.Axis.Column));
3449
+ b.sort(Mt.createRangeComparator(zt.Axis.Column));
3445
3450
  let t = b[0], o = t.colStart, s = t.colEnd, r = t.rowEnd, n = t.value;
3446
3451
  const i = [];
3447
3452
  i.push(t);
@@ -3470,7 +3475,7 @@ var is = (t) => {
3470
3475
  const r = St.t;
3471
3476
  if (void 0 === St.r || "str" === r || "inlineStr" === r) return Dt;
3472
3477
  let n = !1, i = -1, a = -1, l = -1, c = -1, h = s;
3473
- if (!Lt) for (Ct.t = Ct.si = Ct.ref = Ct.ca = void 0;;) {
3478
+ if (!Vt) for (kt.t = kt.si = kt.ref = kt.ca = void 0;;) {
3474
3479
  const e = t.indexOf("<", s);
3475
3480
  if (-1 === e || e + 3 >= o) return Ot;
3476
3481
  for (let o = s; o < e; o++) {
@@ -3485,8 +3490,8 @@ var is = (t) => {
3485
3490
  }
3486
3491
  if (102 === r && !n && -1 === l && (32 === u || 62 === u || 47 === u)) {
3487
3492
  if (n = !0, s = jt(t, e + 2, o, 1), s < 0) return s;
3488
- if ("dataTable" === Ct.t) return Dt;
3489
- if (Lt) continue;
3493
+ if ("dataTable" === kt.t) return Dt;
3494
+ if (Vt) continue;
3490
3495
  const r = t.indexOf("<", s);
3491
3496
  if (-1 === r || r + 3 >= o) return Ot;
3492
3497
  if (!Bt(t, r, 102)) return Dt;
@@ -3502,7 +3507,7 @@ var is = (t) => {
3502
3507
  }
3503
3508
  return Dt;
3504
3509
  }
3505
- return yt(kt), n && (yt(At), a > i && Tt(_t(t.slice(i, a))), wt(At)), -1 !== l && (yt(Et), c > l && Tt(_t(t.slice(l, c))), wt(Et)), wt(kt), h;
3510
+ return yt(Ct), n && (yt(At), a > i && Tt(_t(t.slice(i, a))), wt(At)), -1 !== l && (yt(Et), c > l && Tt(_t(t.slice(l, c))), wt(Et)), wt(Ct), h;
3506
3511
  }
3507
3512
  }, {
3508
3513
  name: "row",
@@ -3511,7 +3516,7 @@ var is = (t) => {
3511
3516
  if (!gt || u || null !== X) return Dt;
3512
3517
  It.r = It.s = It.ht = It.hidden = It.collapsed = It.customHeight = It.customFormat = It.outlineLevel = void 0;
3513
3518
  const s = jt(t, e + 4, o, 2);
3514
- return s < 0 ? s : Lt || void 0 === It.r ? Dt : (yt(Pt), s);
3519
+ return s < 0 ? s : Vt || void 0 === It.r ? Dt : (yt(Pt), s);
3515
3520
  }
3516
3521
  }]
3517
3522
  };
@@ -3520,7 +3525,7 @@ var is = (t) => {
3520
3525
  ["urn:schemas-microsoft-com:office:office", "o"],
3521
3526
  ["urn:schemas-microsoft-com:office:excel", "x"]
3522
3527
  ]), vs = [...ys].map(([t, e]) => ` xmlns:${e}="${t}"`).join(""), ws = /<(\/?)([A-Za-z_][\w.-]*(?::[\w.-]+)?)((?:[^>"']|"[^"]*"|'[^']*')*?)(\/?)>/g, Ts = /(\s+)([A-Za-z_][\w.-]*(?::[\w.-]+)?)(\s*=\s*)("[^"]*"|'[^']*')/g, Ss = /\sxmlns(?::([\w.-]+))?\s*=\s*(?:"([^"]*)"|'([^']*)')/g;
3523
- function ks(t) {
3528
+ function Cs(t) {
3524
3529
  if (!t || !((t) => {
3525
3530
  let e;
3526
3531
  for (Ss.lastIndex = 0; null !== (e = Ss.exec(t));) {
@@ -3580,7 +3585,7 @@ function ks(t) {
3580
3585
  });
3581
3586
  return s ? t : n;
3582
3587
  }
3583
- var Cs = {
3588
+ var ks = {
3584
3589
  creator: "author",
3585
3590
  category: "category",
3586
3591
  description: "comments",
@@ -3676,7 +3681,7 @@ var Cs = {
3676
3681
  const u = `${t}|${i ?? ""}|${a ?? ""}|${c}`;
3677
3682
  let h = r.get(u);
3678
3683
  if (void 0 !== h) return h;
3679
- const d = o[t], p = d ? Ms(d, i, a, l) : null, f = e?.get(t);
3684
+ const d = o[t], p = d ? Rs(d, i, a, l) : null, f = e?.get(t);
3680
3685
  return h = p === d ? t : p || void 0 !== f ? ((t, r) => {
3681
3686
  if (!s) {
3682
3687
  s = /* @__PURE__ */ new Map();
@@ -3697,7 +3702,7 @@ var Cs = {
3697
3702
  if (!t || !o || 0 === o.length || !s || 0 === s.length) continue;
3698
3703
  let r = s, n = !1;
3699
3704
  for (const t of o) {
3700
- const e = Rs(t, a.get(t.cacheId));
3705
+ const e = Ms(t, a.get(t.cacheId));
3701
3706
  if (!e) continue;
3702
3707
  const o = [];
3703
3708
  for (const t of r) {
@@ -3730,7 +3735,7 @@ var Cs = {
3730
3735
  }
3731
3736
  n && (t.directStyles = r);
3732
3737
  }
3733
- }, Rs = (t, e) => {
3738
+ }, Ms = (t, e) => {
3734
3739
  const o = oe(t, e);
3735
3740
  if (!o || !t.location) return null;
3736
3741
  const s = Nt.fastStringToRange(t.location), r = {
@@ -3747,10 +3752,10 @@ var Cs = {
3747
3752
  origin: r,
3748
3753
  formats: o
3749
3754
  };
3750
- }, Ms = (t, e, o, s) => {
3755
+ }, Rs = (t, e, o, s) => {
3751
3756
  let r = t;
3752
3757
  const n = s?.numberFormat ?? e ?? 0;
3753
- if (void 0 !== t.numberFormat && Ls(t.numberFormat, n)) {
3758
+ if (void 0 !== t.numberFormat && Vs(t.numberFormat, n)) {
3754
3759
  const { numberFormat: t, ...e } = r;
3755
3760
  r = e;
3756
3761
  }
@@ -3772,7 +3777,7 @@ var Cs = {
3772
3777
  if (r === t) return t;
3773
3778
  for (const t of Object.keys(r)) if (void 0 !== r[t] && ("named" !== t || r.named !== jt.BuiltInName.Normal)) return r;
3774
3779
  return null;
3775
- }, Ls = (t, e) => t === e || qt.toBuiltInID(t) === qt.toBuiltInID(e), Vs = (t) => "object" == typeof t && null !== t && !Array.isArray(t), js = (t, e) => !(!Vs(t) || !Vs(e)) && ("solid" === t.patternType && "solid" === e.patternType ? t.foreground === e.foreground : _t.JSONStableStringify(t) === _t.JSONStableStringify(e)), Bs = (t, e) => {
3780
+ }, Vs = (t, e) => t === e || qt.toBuiltInID(t) === qt.toBuiltInID(e), Ls = (t) => "object" == typeof t && null !== t && !Array.isArray(t), js = (t, e) => !(!Ls(t) || !Ls(e)) && ("solid" === t.patternType && "solid" === e.patternType ? t.foreground === e.foreground : _t.JSONStableStringify(t) === _t.JSONStableStringify(e)), Bs = (t, e) => {
3776
3781
  let o = null;
3777
3782
  const s = (e, s) => {
3778
3783
  o ??= { ...t }, void 0 === s ? delete o[e] : o[e] = s;
@@ -3780,7 +3785,7 @@ var Cs = {
3780
3785
  for (const o of Object.keys(t)) {
3781
3786
  const r = t[o], n = e[o];
3782
3787
  if (void 0 !== n && void 0 !== r) if ("fill" === o) js(r, n) && s(o);
3783
- else if (Vs(r) && Vs(n)) {
3788
+ else if (Ls(r) && Ls(n)) {
3784
3789
  const t = Bs(r, n);
3785
3790
  t !== r && s(o, Object.keys(t).some((e) => void 0 !== t[e]) ? t : void 0);
3786
3791
  } else r === n && s(o);
@@ -3891,21 +3896,21 @@ var Cs = {
3891
3896
  225
3892
3897
  ], Ys = /^xl\/worksheets\/[^/]+\.xml$/i, tr = (t) => "string" == typeof t ? t : (t?.runs ?? []).map((t) => t.text ?? "").join(""), er = async (t, e) => {
3893
3898
  const { password: s, onVBA: n, profile: c, calcOnLoad: h = "auto", createWorkbookOptions: g = {}, ...m } = e ?? {};
3894
- await Lt.load();
3895
- const y = !!g.origin && "string" != typeof g.origin, T = c ? new Ce("function" == typeof c ? c : void 0) : null, S = [], k = (t, e, o) => {
3899
+ await Vt.load();
3900
+ const y = !!g.origin && "string" != typeof g.origin, T = c ? new ke("function" == typeof c ? c : void 0) : null, S = [], C = (t, e, o) => {
3896
3901
  S.push([
3897
3902
  t,
3898
3903
  e ?? "",
3899
3904
  o
3900
3905
  ]);
3901
- }, C = { onWarning: k }, I = e?.progress, P = I?.onProgress ? I.onProgress.bind(I) : void 0, D = t.byteLength;
3902
- let $ = 0, M = 0;
3903
- const L = P ? (t) => {
3906
+ }, k = { onWarning: C }, I = e?.progress, P = I?.onProgress ? I.onProgress.bind(I) : void 0, D = t.byteLength;
3907
+ let $ = 0, R = 0;
3908
+ const V = P ? (t) => {
3904
3909
  if ($ <= 0) return;
3905
- M += t;
3906
- const e = Math.min(D, Math.round(M / $ * D));
3910
+ R += t;
3911
+ const e = Math.min(D, Math.round(R / $ * D));
3907
3912
  P(e, D);
3908
- } : void 0, V = import("./DFw0ibBUmPyd-wey.mjs");
3913
+ } : void 0, L = import("./BaRyFsg1YMFUyXd4.mjs");
3909
3914
  let j = null;
3910
3915
  try {
3911
3916
  j = new DOMParser();
@@ -3917,7 +3922,7 @@ var Cs = {
3917
3922
  let F, H, X, q = null;
3918
3923
  j || (q = import("@xmldom/xmldom"));
3919
3924
  try {
3920
- const [t, e] = await Promise.all([q, V]);
3925
+ const [t, e] = await Promise.all([q, L]);
3921
3926
  F = new e.DOMTransformer(), H = j ?? new t.DOMParser(), X = B ?? new t.XMLSerializer();
3922
3927
  } catch (t) {
3923
3928
  throw new Error("Unable to load XLSX parser.", { cause: t });
@@ -3930,7 +3935,7 @@ var Cs = {
3930
3935
  })(t)) throw new Pt("This is an Excel 97-2003 workbook (.xls), which cannot be read. Save it as '.xlsx' and try again.");
3931
3936
  let K;
3932
3937
  try {
3933
- K = await ke.create(t);
3938
+ K = await Ce.create(t);
3934
3939
  } catch (t) {
3935
3940
  throw new Pt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: t });
3936
3941
  }
@@ -4004,7 +4009,7 @@ var Cs = {
4004
4009
  s && m.add(Zs(s));
4005
4010
  for (const t of m) $ += K.uncompressedSize(t);
4006
4011
  if (await K.prefetch((t) => !m.has(t) && !Ys.test(t)), T?.mark("prefetch-side-parts"), 0 === e.workbooks.length) {
4007
- const o = _("_rels/.rels", t, H, F, C), s = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
4012
+ const o = _("_rels/.rels", t, H, F, k), s = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument";
4008
4013
  if (o) {
4009
4014
  for (const t of o.values()) if (t.type === s && t.target) {
4010
4015
  e.workbooks.push(t.target);
@@ -4013,15 +4018,15 @@ var Cs = {
4013
4018
  }
4014
4019
  }
4015
4020
  if (0 === e.workbooks.length) throw new Pt("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
4016
- const M = g?.resources ?? new Kt(), V = M.beginPersist(), j = {}, B = /* @__PURE__ */ new Set(), X = /* @__PURE__ */ new Map();
4021
+ const R = g?.resources ?? new Kt(), L = R.beginPersist(), j = {}, B = /* @__PURE__ */ new Set(), X = /* @__PURE__ */ new Map();
4017
4022
  X.set("parseInlineDxf", (t) => {
4018
4023
  if (!t) return;
4019
4024
  const e = H.parseFromString(`<dxf xmlns:x14="${G}" xmlns:xm="${wt}">${t}</dxf>`, "text/xml")?.documentElement;
4020
4025
  if (!e) return;
4021
- const o = F.parseDxf(e, "", C);
4026
+ const o = F.parseDxf(e, "", k);
4022
4027
  return Object.keys(o).length > 0 ? o : void 0;
4023
4028
  });
4024
- const q = w("metadata", e, t, H, F, C).entries().next()?.value?.[1]?.metadata;
4029
+ const q = w("metadata", e, t, H, F, k).entries().next()?.value?.[1]?.metadata;
4025
4030
  q && X.set("metadata", q), X.set(as, u());
4026
4031
  const J = /* @__PURE__ */ new Map(), Q = [], Y = /* @__PURE__ */ new Set(), et = (t) => {
4027
4032
  Y.add(Zs(t));
@@ -4034,8 +4039,8 @@ var Cs = {
4034
4039
  if (!i) return null;
4035
4040
  if ("External" === n.targetMode) {
4036
4041
  if (!s) return n.target;
4037
- const t = M.add({ source: { external: n.target } });
4038
- return t.addReference(j), B.add(t), V.toResourceId(t);
4042
+ const t = R.add({ source: { external: n.target } });
4043
+ return t.addReference(j), B.add(t), L.toResourceId(t);
4039
4044
  }
4040
4045
  const a = o.lastIndexOf("/"), l = o.substring(0, a + 1);
4041
4046
  i.startsWith("/") || (i = l + i), i = xt(i);
@@ -4048,8 +4053,8 @@ var Cs = {
4048
4053
  u = t;
4049
4054
  const e = async () => {
4050
4055
  const e = ds(t, (t, e) => "legacyDrawing" === e ? ut(t, i) : "formControl" === e ? dt(t, i) : "part" === e ? ft(t, i) : rt(t, i, "resource" === e) ?? null, Bt, c, () => {}, (t, e, o) => {
4051
- k(t, e ? `${e} (${i})` : i, o);
4052
- }, void 0, X), o = await K.getTextStream(i, L);
4056
+ C(t, e ? `${e} (${i})` : i, o);
4057
+ }, void 0, X), o = await K.getTextStream(i, V);
4053
4058
  if (o) try {
4054
4059
  await yo.parseStream(o, e, {
4055
4060
  xmlns: !1,
@@ -4084,7 +4089,7 @@ var Cs = {
4084
4089
  };
4085
4090
  Q.push(e());
4086
4091
  } else if (n.type === o) {
4087
- const e = R(i, t, H, F, At);
4092
+ const e = M(i, t, H, F, At);
4088
4093
  if (e && 0 !== Object.keys(e).length) {
4089
4094
  const t = e, o = t.__bookRelId, s = t.__absoluteUrlRelId;
4090
4095
  delete t.__bookRelId, delete t.__absoluteUrlRelId;
@@ -4100,9 +4105,9 @@ var Cs = {
4100
4105
  }), n.sort((t, e) => ("book" === t.role ? 0 : 1) - ("book" === e.role ? 0 : 1)), t.sources = n, et(i), u = t;
4101
4106
  } else u = null;
4102
4107
  } else u = s ? N(i, t, (t, e) => {
4103
- const o = M.add({ source: { buffer: t } });
4104
- return o.addReference(j), B.add(o), V.toResourceId(o);
4105
- }, At) : R(i, t, H, F, At);
4108
+ const o = R.add({ source: { buffer: t } });
4109
+ return o.addReference(j), B.add(o), L.toResourceId(o);
4110
+ }, At) : M(i, t, H, F, At);
4106
4111
  }
4107
4112
  return u;
4108
4113
  }, at = (t, e) => {
@@ -4157,7 +4162,7 @@ var Cs = {
4157
4162
  id: It.uuidV4().toUpperCase(),
4158
4163
  asNote: !0,
4159
4164
  content: e.v.content ?? ""
4160
- }, r = o ? Ct({ displayName: o }) : void 0;
4165
+ }, r = o ? kt({ displayName: o }) : void 0;
4161
4166
  r && (s.personId = r.id), c.push({
4162
4167
  r: e.r,
4163
4168
  v: s
@@ -4216,7 +4221,7 @@ var Cs = {
4216
4221
  if (!s) return null;
4217
4222
  const r = t(Zs(s));
4218
4223
  if (!r) return null;
4219
- const n = { xml: ks(new TextDecoder("utf-8").decode(r.content)) }, i = [];
4224
+ const n = { xml: Cs(new TextDecoder("utf-8").decode(r.content)) }, i = [];
4220
4225
  return st(s, J)?.forEach((t, e) => {
4221
4226
  if ("http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" !== t.type) return;
4222
4227
  const o = rt(e, s, !0);
@@ -4228,7 +4233,7 @@ var Cs = {
4228
4233
  }, dt = (e, o) => {
4229
4234
  const s = at(e, o);
4230
4235
  if (!s) return null;
4231
- const r = R(s, t, H, F, At)?.formControl ?? null;
4236
+ const r = M(s, t, H, F, At)?.formControl ?? null;
4232
4237
  return r && et(s), r;
4233
4238
  }, ft = (o, s, r, n, i = /* @__PURE__ */ new Set()) => {
4234
4239
  const a = at(o, s);
@@ -4265,16 +4270,16 @@ var Cs = {
4265
4270
  const o = ft(e, a, t.type, n, i);
4266
4271
  o && p.push(o);
4267
4272
  }), p.length > 0 && (d.parts = p), et(a), d;
4268
- }, gt = w("coreprops", e, t, H, F, C), yt = w("extprops", e, t, H, F, C), Tt = w("custprops", e, t, H, F, C);
4273
+ }, gt = w("coreprops", e, t, H, F, k), yt = w("extprops", e, t, H, F, k), Tt = w("custprops", e, t, H, F, k);
4269
4274
  Tt.forEach((t, e) => {
4270
4275
  t?.custom && et(e);
4271
4276
  });
4272
- const St = new Gt(), kt = w("people", e, t, H, F, C);
4273
- if (kt.size > 0) {
4274
- const [t, e] = kt.entries().next().value;
4277
+ const St = new Gt(), Ct = w("people", e, t, H, F, k);
4278
+ if (Ct.size > 0) {
4279
+ const [t, e] = Ct.entries().next().value;
4275
4280
  St.fromJSON(e?.persons), et(t);
4276
4281
  }
4277
- const Ct = (t) => {
4282
+ const kt = (t) => {
4278
4283
  if (t) return St.add(t).toJSON();
4279
4284
  }, At = {
4280
4285
  paramMap: X,
@@ -4282,12 +4287,12 @@ var Cs = {
4282
4287
  getRef: rt,
4283
4288
  parsedRefs: J,
4284
4289
  readEmbeddedPart: (t, e) => ft(t, e),
4285
- addPerson: Ct,
4290
+ addPerson: kt,
4286
4291
  serializeElement: U,
4287
- onWarning: k
4292
+ onWarning: C
4288
4293
  }, _t = [], $t = /* @__PURE__ */ new Map();
4289
4294
  if (X.set(us, $t), s) {
4290
- const t = await K.getTextStream(s, L);
4295
+ const t = await K.getTextStream(s, V);
4291
4296
  if (t) {
4292
4297
  const e = ((t, e) => {
4293
4298
  let o = !1, s = !1, r = 0, n = "";
@@ -4311,7 +4316,7 @@ var Cs = {
4311
4316
  })((t, e) => {
4312
4317
  e && $t.set(_t.length, e), _t.push(t);
4313
4318
  }, (t) => {
4314
- k(t, s);
4319
+ C(t, s);
4315
4320
  });
4316
4321
  try {
4317
4322
  await yo.parseStream(t, e, { xmlns: !1 });
@@ -4321,14 +4326,14 @@ var Cs = {
4321
4326
  }
4322
4327
  }
4323
4328
  T?.mark("shared-strings");
4324
- let Rt = _t.length;
4325
- const Mt = /* @__PURE__ */ new Map();
4326
- let Lt = Rt;
4329
+ let Mt = _t.length;
4330
+ const Rt = /* @__PURE__ */ new Map();
4331
+ let Vt = Mt;
4327
4332
  const Bt = (t) => {
4328
- const e = Mt.get(t);
4333
+ const e = Rt.get(t);
4329
4334
  if (void 0 !== e) return e;
4330
- const o = Lt;
4331
- return Mt.set(t, Lt++), _t.push(t), o;
4335
+ const o = Vt;
4336
+ return Rt.set(t, Vt++), _t.push(t), o;
4332
4337
  }, Ft = [];
4333
4338
  e.slicersCache = Ft;
4334
4339
  const Ht = K.getNames(), Wt = Ht.length;
@@ -4358,11 +4363,11 @@ var Cs = {
4358
4363
  return r ? r.slice().buffer : null;
4359
4364
  },
4360
4365
  addFetched: (t, e) => {
4361
- const o = M.add({
4366
+ const o = R.add({
4362
4367
  source: { buffer: t },
4363
4368
  fetchedFrom: e
4364
4369
  });
4365
- return o.addReference(j), B.add(o), V.toResourceId(o);
4370
+ return o.addReference(j), B.add(o), L.toResourceId(o);
4366
4371
  },
4367
4372
  markAbsorbed: et
4368
4373
  }, Jt = /* @__PURE__ */ new Map();
@@ -4418,7 +4423,7 @@ var Cs = {
4418
4423
  })
4419
4424
  };
4420
4425
  })(t, H), Qt = p(Zt, Jt, (t) => {
4421
- k(t, "/xl/richData/rdrichvalue.xml");
4426
+ C(t, "/xl/richData/rdrichvalue.xml");
4422
4427
  });
4423
4428
  X.set("richData", Zt.values.map((t, e) => Qt.cellValue(e)));
4424
4429
  for (let t = 0; t < Wt; t++) {
@@ -4446,7 +4451,7 @@ var Cs = {
4446
4451
  }, /* @__PURE__ */ new Map());
4447
4452
  for (const t of s.keys()) o.add(t.toUpperCase());
4448
4453
  } catch {}
4449
- return (t) => o.has(t) || Vt.has(t);
4454
+ return (t) => o.has(t) || Lt.has(t);
4450
4455
  })(ne.entries().next().value?.[1]?.names, g.functions)), T?.mark("side-parts-json"), await Promise.all(Q);
4451
4456
  {
4452
4457
  const t = ne.entries().next().value?.[1], e = u(t?.names), o = t?.sheets ?? [];
@@ -4480,7 +4485,7 @@ var Cs = {
4480
4485
  } else r[t] = s;
4481
4486
  }
4482
4487
  };
4483
- if (n(t, Cs), n(e, As), o) {
4488
+ if (n(t, ks), n(e, As), o) {
4484
4489
  const t = [];
4485
4490
  for (const e of o) {
4486
4491
  const o = Is(e);
@@ -4490,7 +4495,7 @@ var Cs = {
4490
4495
  }
4491
4496
  return Object.keys(r).length > 0 ? r : void 0;
4492
4497
  })(gt.values().next().value?.properties, yt.values().next().value?.properties, Tt.values().next().value?.custom, (t, e) => {
4493
- k(t, "docProps/custom.xml", e);
4498
+ C(t, "docProps/custom.xml", e);
4494
4499
  });
4495
4500
  ae && (ie.properties = ae), ((t, e) => {
4496
4501
  if (!e || 0 === e.size) return;
@@ -4637,7 +4642,7 @@ var Cs = {
4637
4642
  t?.slicers && o.set(e, t.slicers);
4638
4643
  }), le(ie, {
4639
4644
  warn: (t, e) => {
4640
- k(t, "xl/slicers", e);
4645
+ C(t, "xl/slicers", e);
4641
4646
  },
4642
4647
  markAbsorbed: et,
4643
4648
  slicerParts: o
@@ -4651,7 +4656,7 @@ var Cs = {
4651
4656
  ue && ue.length > 0 && (ie.people = ue);
4652
4657
  const he = K.getEntry("xl/vbaProject.bin");
4653
4658
  if (he) try {
4654
- const { VBAProject: t } = await import("./C6eSWtTkyDQKbQdT.mjs"), e = t.extract(he);
4659
+ const { VBAProject: t } = await import("./Dd0rxpiUIxg4BeeC.mjs"), e = t.extract(he);
4655
4660
  if (e) {
4656
4661
  const o = /* @__PURE__ */ new Map();
4657
4662
  for (const t of ie.sheets ?? []) {
@@ -4671,10 +4676,10 @@ var Cs = {
4671
4676
  } catch (t) {
4672
4677
  S.push([`Error extracting VBA: ${t?.message ?? t}`, "xl/vbaProject.bin"]);
4673
4678
  }
4674
- const Se = X.get("calcId"), ke = void 0 === Se || !(Number(Se) >= 191029), Ce = g.calcOnLoad ?? ("auto" === h && ke ? "full" : h), Ae = {
4679
+ const Se = X.get("calcId"), Ce = void 0 === Se || !(Number(Se) >= 191029), ke = g.calcOnLoad ?? ("auto" === h && Ce ? "full" : h), Ae = {
4675
4680
  ...g,
4676
- calcOnLoad: Ce,
4677
- resources: M,
4681
+ calcOnLoad: ke,
4682
+ resources: R,
4678
4683
  json: ie
4679
4684
  };
4680
4685
  if (void 0 === Ae.disableLoadAutoFit) {
@@ -4685,7 +4690,7 @@ var Cs = {
4685
4690
  const Ee = new ee(Ae);
4686
4691
  if (T?.mark("workbook-constructed"), B.forEach((t) => {
4687
4692
  t.deleteReference(j);
4688
- }), V.endPersist(), y) {
4693
+ }), L.endPersist(), y) {
4689
4694
  x(Ee);
4690
4695
  const t = /* @__PURE__ */ new Map();
4691
4696
  let e = 0;