@embeddable.com/remarkable-ui 0.1.11 → 0.1.13

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 (108) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +3 -3
  2. package/dist/BarChartDefaultPro.js +3 -3
  3. package/dist/BarChartGroupedHorizontalPro.js +3 -3
  4. package/dist/BarChartGroupedPro.js +3 -3
  5. package/dist/BarChartStackedHorizontalPro.js +3 -3
  6. package/dist/BarChartStackedPro.js +3 -3
  7. package/dist/{BaseButton-8lCm-nHV.js → BaseButton-BbhHQD9t.js} +2 -2
  8. package/dist/{BaseButton-8lCm-nHV.js.map → BaseButton-BbhHQD9t.js.map} +1 -1
  9. package/dist/ChartCard-11lQWjXq.js +106 -0
  10. package/dist/ChartCard-11lQWjXq.js.map +1 -0
  11. package/dist/ComparisonPeriod.type.emb-D51Sg3wt.js +15 -0
  12. package/dist/ComparisonPeriod.type.emb-D51Sg3wt.js.map +1 -0
  13. package/dist/ComparisonPeriodSelectFieldPro.js +45 -53
  14. package/dist/ComparisonPeriodSelectFieldPro.js.map +1 -1
  15. package/dist/DateRangeSelectFieldPro.js +3 -3
  16. package/dist/DonutChartPro.js +2 -2
  17. package/dist/DonutLabelChartPro.js +2 -2
  18. package/dist/{EditorCard-_U0it3Eb.js → EditorCard-BriyqUva.js} +17 -17
  19. package/dist/{EditorCard-_U0it3Eb.js.map → EditorCard-BriyqUva.js.map} +1 -1
  20. package/dist/KpiChart-BLMULQMh.js +77 -0
  21. package/dist/KpiChart-BLMULQMh.js.map +1 -0
  22. package/dist/KpiChartNumberComparisonPro.js +156 -0
  23. package/dist/KpiChartNumberComparisonPro.js.map +1 -0
  24. package/dist/KpiChartNumberPro.js +47 -0
  25. package/dist/KpiChartNumberPro.js.map +1 -0
  26. package/dist/MultiSelectFieldPro.js +2 -3
  27. package/dist/MultiSelectFieldPro.js.map +1 -1
  28. package/dist/PieChartPro.js +2 -2
  29. package/dist/{SingleSelectField-Coqlrz4l.js → SingleSelectField-D1E9OJxC.js} +3 -3
  30. package/dist/{SingleSelectField-Coqlrz4l.js.map → SingleSelectField-D1E9OJxC.js.map} +1 -1
  31. package/dist/SingleSelectFieldPro.js +2 -2
  32. package/dist/{charts.fillGaps.hooks-BdlMosSu.js → charts.fillGaps.hooks-lZwsRfDF.js} +4 -4
  33. package/dist/{charts.fillGaps.hooks-BdlMosSu.js.map → charts.fillGaps.hooks-lZwsRfDF.js.map} +1 -1
  34. package/dist/{component.constants-6skM25Z_.js → component.constants-DIhZCTG3.js} +120 -84
  35. package/dist/component.constants-DIhZCTG3.js.map +1 -0
  36. package/dist/{editors.timeRange.utils-Dv6T01Ys.js → date.utils-CNVHSCO8.js} +18 -31
  37. package/dist/date.utils-CNVHSCO8.js.map +1 -0
  38. package/dist/editors.timeRange.utils-CG333N7U.js +18 -0
  39. package/dist/editors.timeRange.utils-CG333N7U.js.map +1 -0
  40. package/dist/embeddable-components.json +8 -6
  41. package/dist/embeddable-theme-2b917.js +974 -964
  42. package/dist/{formatter.utils-DMMBiLDD.js → formatter.utils-CuZlh4EL.js} +2 -2
  43. package/dist/{formatter.utils-DMMBiLDD.js.map → formatter.utils-CuZlh4EL.js.map} +1 -1
  44. package/dist/{index-DufpVBMb.js → index-B7KNswsW.js} +8 -8
  45. package/dist/{index-DufpVBMb.js.map → index-B7KNswsW.js.map} +1 -1
  46. package/dist/{index-j6OFGLY6.js → index-B_4rK6tI.js} +12 -11
  47. package/dist/{index-j6OFGLY6.js.map → index-B_4rK6tI.js.map} +1 -1
  48. package/dist/{index-D7GTSbzO.js → index-Bgj2EBb8.js} +10 -10
  49. package/dist/{index-D7GTSbzO.js.map → index-Bgj2EBb8.js.map} +1 -1
  50. package/dist/{index-B3vcfrrk.js → index-C-zjH8iP.js} +5 -5
  51. package/dist/{index-B3vcfrrk.js.map → index-C-zjH8iP.js.map} +1 -1
  52. package/dist/{index-pxtCdM0I.js → index-C8pGCEGw.js} +5 -5
  53. package/dist/{index-pxtCdM0I.js.map → index-C8pGCEGw.js.map} +1 -1
  54. package/dist/{index-B9XcOUp_.js → index-DqKfDjMs.js} +25 -25
  55. package/dist/{index-B9XcOUp_.js.map → index-DqKfDjMs.js.map} +1 -1
  56. package/dist/index.js +115 -107
  57. package/dist/index.js.map +1 -1
  58. package/dist/{object.utils-DB9Hp3Uk.js → object.utils-CMJleY-P.js} +2511 -2602
  59. package/dist/object.utils-CMJleY-P.js.map +1 -0
  60. package/dist/{pies.utils-DrVWhPX3.js → pies.utils-DluC4GlY.js} +4 -4
  61. package/dist/{pies.utils-DrVWhPX3.js.map → pies.utils-DluC4GlY.js.map} +1 -1
  62. package/dist/remarkable-pro/components/charts/kpis/KpiChartNumberComparisonPro/index.d.ts +19 -0
  63. package/dist/remarkable-pro/components/charts/kpis/KpiChartNumberComparisonPro/index.d.ts.map +1 -0
  64. package/dist/remarkable-pro/components/charts/kpis/KpiChartNumberPro/index.d.ts +11 -0
  65. package/dist/remarkable-pro/components/charts/kpis/KpiChartNumberPro/index.d.ts.map +1 -0
  66. package/dist/remarkable-pro/components/component.constants.d.ts +35 -0
  67. package/dist/remarkable-pro/components/component.constants.d.ts.map +1 -1
  68. package/dist/remarkable-pro/components/utils/timeRange.utils.d.ts +5 -0
  69. package/dist/remarkable-pro/components/utils/timeRange.utils.d.ts.map +1 -0
  70. package/dist/remarkable-pro/theme/defaults/defaults.ComparisonPeriods.constants.d.ts +9 -0
  71. package/dist/remarkable-pro/theme/defaults/defaults.ComparisonPeriods.constants.d.ts.map +1 -0
  72. package/dist/remarkable-pro/theme/defaults/defaults.DateRanges.constants.d.ts +9 -0
  73. package/dist/remarkable-pro/theme/defaults/defaults.DateRanges.constants.d.ts.map +1 -0
  74. package/dist/remarkable-pro/theme/i18n/translations/de.d.ts.map +1 -1
  75. package/dist/remarkable-pro/theme/i18n/translations/en.d.ts.map +1 -1
  76. package/dist/remarkable-pro/theme/theme.constants.d.ts.map +1 -1
  77. package/dist/remarkable-pro/theme/theme.types.d.ts +7 -0
  78. package/dist/remarkable-pro/theme/theme.types.d.ts.map +1 -1
  79. package/dist/remarkable-ui/charts/kpis/KpiChart.d.ts +4 -0
  80. package/dist/remarkable-ui/charts/kpis/KpiChart.d.ts.map +1 -0
  81. package/dist/remarkable-ui/charts/{kpi/Kpi.stories.d.ts → kpis/KpiChart.stories.d.ts} +10 -2
  82. package/dist/remarkable-ui/charts/kpis/KpiChart.stories.d.ts.map +1 -0
  83. package/dist/remarkable-ui/charts/kpis/KpiChart.types.d.ts +13 -0
  84. package/dist/remarkable-ui/charts/kpis/KpiChart.types.d.ts.map +1 -0
  85. package/dist/remarkable-ui/charts/kpis/components/KpiChartChange.d.ts +8 -0
  86. package/dist/remarkable-ui/charts/kpis/components/KpiChartChange.d.ts.map +1 -0
  87. package/dist/remarkable-ui/index.d.ts +1 -0
  88. package/dist/remarkable-ui/index.d.ts.map +1 -1
  89. package/dist/remarkable-ui/shared/Typography/Typography.d.ts +2 -1
  90. package/dist/remarkable-ui/shared/Typography/Typography.d.ts.map +1 -1
  91. package/dist/remarkable-ui/types/css.types.d.ts +2 -0
  92. package/dist/remarkable-ui/types/css.types.d.ts.map +1 -0
  93. package/dist/remarkable-ui.css +559 -1
  94. package/package.json +3 -3
  95. package/dist/component.constants-6skM25Z_.js.map +0 -1
  96. package/dist/editors.timeRange.utils-Dv6T01Ys.js.map +0 -1
  97. package/dist/object.utils-DB9Hp3Uk.js.map +0 -1
  98. package/dist/remarkable-pro/components/editors/ComparisonPeriodSelectFieldPro/ComparisonPeriodSelectFieldPro.constants.d.ts +0 -3
  99. package/dist/remarkable-pro/components/editors/ComparisonPeriodSelectFieldPro/ComparisonPeriodSelectFieldPro.constants.d.ts.map +0 -1
  100. package/dist/remarkable-pro/components/editors/DateRangeSelectFieldPro/DateRangeSelectFieldPro.constants.d.ts +0 -3
  101. package/dist/remarkable-pro/components/editors/DateRangeSelectFieldPro/DateRangeSelectFieldPro.constants.d.ts.map +0 -1
  102. package/dist/remarkable-ui/charts/kpi/Kpi.d.ts +0 -4
  103. package/dist/remarkable-ui/charts/kpi/Kpi.d.ts.map +0 -1
  104. package/dist/remarkable-ui/charts/kpi/Kpi.stories.d.ts.map +0 -1
  105. package/dist/remarkable-ui/charts/kpi/Kpi.types.d.ts +0 -9
  106. package/dist/remarkable-ui/charts/kpi/Kpi.types.d.ts.map +0 -1
  107. package/dist/remarkable-ui/charts/kpi/KpiChange.d.ts +0 -8
  108. package/dist/remarkable-ui/charts/kpi/KpiChange.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- const qo = {
1
+ const Qo = {
2
2
  translation: {
3
3
  common: {
4
4
  other: "Other",
@@ -15,7 +15,10 @@ const qo = {
15
15
  emptyMessage: "Try adding something."
16
16
  },
17
17
  editors: {
18
- ComparisonPeriodSelectFieldPro: {
18
+ errorTitle: "Something went wrong."
19
+ },
20
+ defaults: {
21
+ comparisonPeriodOptions: {
19
22
  previousPeriod: "Previous period",
20
23
  previousWeek: "Previous week",
21
24
  previousMonth: "Previous month",
@@ -27,7 +30,7 @@ const qo = {
27
30
  quarter: "Q{{quarter}} {{year}}"
28
31
  }
29
32
  }
30
- }, Qo = {
33
+ }, Zo = {
31
34
  translation: {
32
35
  common: {
33
36
  other: "Andere",
@@ -55,7 +58,10 @@ const qo = {
55
58
  emptyMessage: "Versuchen Sie, etwas hinzuzufügen."
56
59
  },
57
60
  editors: {
58
- ComparisonPeriodSelectFieldPro: {
61
+ errorTitle: "Etwas ist schiefgelaufen."
62
+ },
63
+ defaults: {
64
+ comparisonPeriodOptions: {
59
65
  previousPeriod: "Vorheriger Zeitraum",
60
66
  previousWeek: "Vorherige Woche",
61
67
  previousMonth: "Vorheriger Monat",
@@ -75,7 +81,7 @@ const qo = {
75
81
  * (c) 2022-2024 John Hildenbiddle
76
82
  * MIT license
77
83
  */
78
- function fa(...e) {
84
+ function la(...e) {
79
85
  const t = {};
80
86
  return e.forEach((r) => {
81
87
  r.forEach((n) => {
@@ -83,24 +89,24 @@ function fa(...e) {
83
89
  });
84
90
  }), t;
85
91
  }
86
- function Zo(...e) {
92
+ function e0(...e) {
87
93
  return e.reduce(
88
94
  (t, r) => t.filter(Set.prototype.has, new Set(r))
89
95
  );
90
96
  }
91
- function e0(...e) {
92
- const t = fa(...e);
97
+ function t0(...e) {
98
+ const t = la(...e);
93
99
  return Object.keys(t).filter((r) => t[r] > 1);
94
100
  }
95
- function t0(...e) {
96
- const t = fa(...e);
101
+ function r0(...e) {
102
+ const t = la(...e);
97
103
  return Object.keys(t).filter((r) => t[r] < e.length);
98
104
  }
99
- function r0(...e) {
100
- const t = fa(...e);
105
+ function n0(...e) {
106
+ const t = la(...e);
101
107
  return Object.keys(t).filter((r) => t[r] === 1);
102
108
  }
103
- function n0(e, t = !1) {
109
+ function a0(e, t = !1) {
104
110
  const r = Object.getOwnPropertyNames(e);
105
111
  if (t)
106
112
  for (const n in e)
@@ -110,7 +116,7 @@ function n0(e, t = !1) {
110
116
  function ta(e) {
111
117
  return typeof e == "object" && e !== null && !Array.isArray(e);
112
118
  }
113
- function Ha(e) {
119
+ function $a(e) {
114
120
  if (!ta(e))
115
121
  return !1;
116
122
  const t = ["writable", "enumerable", "configurable"].some(
@@ -309,19 +315,19 @@ var rr = {
309
315
  * (single argument) or new merged object (multiple arguments)
310
316
  * @preserve
311
317
  */
312
- function ji(e, ...t) {
318
+ function Ki(e, ...t) {
313
319
  const r = arguments.length === 1 ? arguments[0] : {}, n = { ...rr, ...r }, a = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s = typeof n.sortArrays == "function" ? n.sortArrays : void 0, o = /* @__PURE__ */ new WeakMap();
314
320
  let l = 0;
315
321
  function f(u) {
316
- return n0(u, n.hoistEnumerable);
322
+ return a0(u, n.hoistEnumerable);
317
323
  }
318
324
  function c(...u) {
319
325
  let d;
320
- u.length > 1 && (n.onlyCommonKeys ? d = e0(
326
+ u.length > 1 && (n.onlyCommonKeys ? d = t0(
321
327
  ...u.map((h) => f(h))
322
- ) : n.onlyUniversalKeys ? d = Zo(...u.map((h) => f(h))) : n.skipCommonKeys ? d = r0(
328
+ ) : n.onlyUniversalKeys ? d = e0(...u.map((h) => f(h))) : n.skipCommonKeys ? d = n0(
323
329
  ...u.map((h) => f(h))
324
- ) : n.skipUniversalKeys && (d = t0(...u.map((h) => f(h))))), !d && n.onlyKeys.length && (d = n.onlyKeys), d && d !== n.onlyKeys && n.onlyKeys.length && (d = d.filter(
330
+ ) : n.skipUniversalKeys && (d = r0(...u.map((h) => f(h))))), !d && n.onlyKeys.length && (d = n.onlyKeys), d && d !== n.onlyKeys && n.onlyKeys.length && (d = d.filter(
325
331
  (h) => n.onlyKeys.includes(h)
326
332
  ));
327
333
  const m = u.reduce((h, x) => {
@@ -394,7 +400,7 @@ function ji(e, ...t) {
394
400
  const b = i.get(h);
395
401
  b && !b.includes(D) ? b.push(D) : i.set(h, [D]);
396
402
  }
397
- } else _ instanceof Date ? _ = new Date(_) : ta(_) && (!re || !Ha(_)) && (l++, ta(B) ? _ = c(B, _) : _ = c(_), l--);
403
+ } else _ instanceof Date ? _ = new Date(_) : ta(_) && (!re || !$a(_)) && (l++, ta(B) ? _ = c(B, _) : _ = c(_), l--);
398
404
  if (n.afterEach !== rr.afterEach) {
399
405
  const b = n.afterEach({
400
406
  depth: l,
@@ -406,7 +412,7 @@ function ji(e, ...t) {
406
412
  b !== void 0 && (re = !0, _ = b);
407
413
  }
408
414
  if (re) {
409
- const b = Ha(_) ? _ : {
415
+ const b = $a(_) ? _ : {
410
416
  configurable: !0,
411
417
  enumerable: !0,
412
418
  value: _,
@@ -456,7 +462,7 @@ function ji(e, ...t) {
456
462
  return p;
457
463
  }
458
464
  return arguments.length === 1 ? function(...u) {
459
- return arguments.length === 1 ? ji({ ...n, ...u[0] }) : c(...u);
465
+ return arguments.length === 1 ? Ki({ ...n, ...u[0] }) : c(...u);
460
466
  } : c(...arguments);
461
467
  }
462
468
  const un = "en-US", At = (e, t = {}) => ({
@@ -467,7 +473,7 @@ const un = "en-US", At = (e, t = {}) => ({
467
473
  optionLabel: () => e,
468
474
  ...t
469
475
  }
470
- }), a0 = "dimension", i0 = (e) => (e == null ? void 0 : e.__type__) === a0;
476
+ }), i0 = "dimension", s0 = (e) => (e == null ? void 0 : e.__type__) === i0;
471
477
  At("string", {
472
478
  transform: (e) => e,
473
479
  optionLabel: (e) => Array.isArray(e) ? `[${e.map((t) => `"${t}"`).join(",")}]` : `"${e}"`
@@ -517,29 +523,29 @@ At("dataset");
517
523
  At("measure");
518
524
  At("dimension");
519
525
  At("dimensionOrMeasure");
520
- const s0 = (e, t) => ji(e, t), ve = (e) => typeof e == "string", yr = () => {
526
+ const o0 = (e, t) => Ki(e, t), ve = (e) => typeof e == "string", yr = () => {
521
527
  let e, t;
522
528
  const r = new Promise((n, a) => {
523
529
  e = n, t = a;
524
530
  });
525
531
  return r.resolve = e, r.reject = t, r;
526
- }, $a = (e) => e == null ? "" : "" + e, o0 = (e, t, r) => {
532
+ }, Wa = (e) => e == null ? "" : "" + e, f0 = (e, t, r) => {
527
533
  e.forEach((n) => {
528
534
  t[n] && (r[n] = t[n]);
529
535
  });
530
- }, f0 = /###/g, Wa = (e) => e && e.indexOf("###") > -1 ? e.replace(f0, ".") : e, Va = (e) => !e || ve(e), Or = (e, t, r) => {
536
+ }, l0 = /###/g, Va = (e) => e && e.indexOf("###") > -1 ? e.replace(l0, ".") : e, za = (e) => !e || ve(e), Or = (e, t, r) => {
531
537
  const n = ve(t) ? t.split(".") : t;
532
538
  let a = 0;
533
539
  for (; a < n.length - 1; ) {
534
- if (Va(e)) return {};
535
- const i = Wa(n[a]);
540
+ if (za(e)) return {};
541
+ const i = Va(n[a]);
536
542
  !e[i] && r && (e[i] = new r()), Object.prototype.hasOwnProperty.call(e, i) ? e = e[i] : e = {}, ++a;
537
543
  }
538
- return Va(e) ? {} : {
544
+ return za(e) ? {} : {
539
545
  obj: e,
540
- k: Wa(n[a])
546
+ k: Va(n[a])
541
547
  };
542
- }, za = (e, t, r) => {
548
+ }, Ya = (e, t, r) => {
543
549
  const {
544
550
  obj: n,
545
551
  k: a
@@ -552,7 +558,7 @@ const s0 = (e, t) => ji(e, t), ve = (e) => typeof e == "string", yr = () => {
552
558
  for (; o.obj === void 0 && s.length; )
553
559
  i = `${s[s.length - 1]}.${i}`, s = s.slice(0, s.length - 1), o = Or(e, s, Object), o != null && o.obj && typeof o.obj[`${o.k}.${i}`] < "u" && (o.obj = void 0);
554
560
  o.obj[`${o.k}.${i}`] = r;
555
- }, l0 = (e, t, r, n) => {
561
+ }, c0 = (e, t, r, n) => {
556
562
  const {
557
563
  obj: a,
558
564
  k: i
@@ -565,15 +571,15 @@ const s0 = (e, t) => ji(e, t), ve = (e) => typeof e == "string", yr = () => {
565
571
  } = Or(e, t);
566
572
  if (r && Object.prototype.hasOwnProperty.call(r, n))
567
573
  return r[n];
568
- }, c0 = (e, t, r) => {
574
+ }, u0 = (e, t, r) => {
569
575
  const n = hn(e, r);
570
576
  return n !== void 0 ? n : hn(t, r);
571
- }, Ki = (e, t, r) => {
577
+ }, Xi = (e, t, r) => {
572
578
  for (const n in t)
573
- n !== "__proto__" && n !== "constructor" && (n in e ? ve(e[n]) || e[n] instanceof String || ve(t[n]) || t[n] instanceof String ? r && (e[n] = t[n]) : Ki(e[n], t[n], r) : e[n] = t[n]);
579
+ n !== "__proto__" && n !== "constructor" && (n in e ? ve(e[n]) || e[n] instanceof String || ve(t[n]) || t[n] instanceof String ? r && (e[n] = t[n]) : Xi(e[n], t[n], r) : e[n] = t[n]);
574
580
  return e;
575
581
  }, nr = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
576
- var u0 = {
582
+ var h0 = {
577
583
  "&": "&amp;",
578
584
  "<": "&lt;",
579
585
  ">": "&gt;",
@@ -581,8 +587,8 @@ var u0 = {
581
587
  "'": "&#39;",
582
588
  "/": "&#x2F;"
583
589
  };
584
- const h0 = (e) => ve(e) ? e.replace(/[&<>"'\/]/g, (t) => u0[t]) : e;
585
- class d0 {
590
+ const d0 = (e) => ve(e) ? e.replace(/[&<>"'\/]/g, (t) => h0[t]) : e;
591
+ class m0 {
586
592
  constructor(t) {
587
593
  this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
588
594
  }
@@ -594,11 +600,11 @@ class d0 {
594
600
  return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(t, n), this.regExpQueue.push(t), n;
595
601
  }
596
602
  }
597
- const m0 = [" ", ",", "?", "!", ";"], g0 = new d0(20), p0 = (e, t, r) => {
603
+ const g0 = [" ", ",", "?", "!", ";"], p0 = new m0(20), x0 = (e, t, r) => {
598
604
  t = t || "", r = r || "";
599
- const n = m0.filter((s) => t.indexOf(s) < 0 && r.indexOf(s) < 0);
605
+ const n = g0.filter((s) => t.indexOf(s) < 0 && r.indexOf(s) < 0);
600
606
  if (n.length === 0) return !0;
601
- const a = g0.getRegExp(`(${n.map((s) => s === "?" ? "\\?" : s).join("|")})`);
607
+ const a = p0.getRegExp(`(${n.map((s) => s === "?" ? "\\?" : s).join("|")})`);
602
608
  let i = !a.test(e);
603
609
  if (!i) {
604
610
  const s = e.indexOf(r);
@@ -625,7 +631,7 @@ const m0 = [" ", ",", "?", "!", ";"], g0 = new d0(20), p0 = (e, t, r) => {
625
631
  a = s;
626
632
  }
627
633
  return a;
628
- }, Lr = (e) => e == null ? void 0 : e.replace("_", "-"), x0 = {
634
+ }, Lr = (e) => e == null ? void 0 : e.replace("_", "-"), v0 = {
629
635
  type: "logger",
630
636
  log(e) {
631
637
  this.output("log", e);
@@ -646,7 +652,7 @@ class dn {
646
652
  this.init(t, r);
647
653
  }
648
654
  init(t, r = {}) {
649
- this.prefix = r.prefix || "i18next:", this.logger = t || x0, this.options = r, this.debug = r.debug;
655
+ this.prefix = r.prefix || "i18next:", this.logger = t || v0, this.options = r, this.debug = r.debug;
650
656
  }
651
657
  log(...t) {
652
658
  return this.forward(t, "log", "", !0);
@@ -704,7 +710,7 @@ class Dn {
704
710
  });
705
711
  }
706
712
  }
707
- class Ya extends Dn {
713
+ class Ga extends Dn {
708
714
  constructor(t, r = {
709
715
  ns: ["translation"],
710
716
  defaultNS: "translation"
@@ -731,7 +737,7 @@ class Ya extends Dn {
731
737
  }) {
732
738
  const s = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator;
733
739
  let o = [t, r];
734
- n && (o = o.concat(s ? n.split(s) : n)), t.indexOf(".") > -1 && (o = t.split("."), a = r, r = o[1]), this.addNamespaces(r), za(this.data, o, a), i.silent || this.emit("added", t, r, n, a);
740
+ n && (o = o.concat(s ? n.split(s) : n)), t.indexOf(".") > -1 && (o = t.split("."), a = r, r = o[1]), this.addNamespaces(r), Ya(this.data, o, a), i.silent || this.emit("added", t, r, n, a);
735
741
  }
736
742
  addResources(t, r, n, a = {
737
743
  silent: !1
@@ -749,10 +755,10 @@ class Ya extends Dn {
749
755
  let o = [t, r];
750
756
  t.indexOf(".") > -1 && (o = t.split("."), a = n, n = r, r = o[1]), this.addNamespaces(r);
751
757
  let l = hn(this.data, o) || {};
752
- s.skipCopy || (n = JSON.parse(JSON.stringify(n))), a ? Ki(l, n, i) : l = {
758
+ s.skipCopy || (n = JSON.parse(JSON.stringify(n))), a ? Xi(l, n, i) : l = {
753
759
  ...l,
754
760
  ...n
755
- }, za(this.data, o, l), s.silent || this.emit("added", t, r, n);
761
+ }, Ya(this.data, o, l), s.silent || this.emit("added", t, r, n);
756
762
  }
757
763
  removeResourceBundle(t, r) {
758
764
  this.hasResourceBundle(t, r) && delete this.data[t][r], this.removeNamespaces(r), this.emit("removed", t, r);
@@ -774,7 +780,7 @@ class Ya extends Dn {
774
780
  return this.data;
775
781
  }
776
782
  }
777
- var Xi = {
783
+ var Ji = {
778
784
  processors: {},
779
785
  addPostProcessor(e) {
780
786
  this.processors[e.name] = e;
@@ -786,25 +792,25 @@ var Xi = {
786
792
  }), t;
787
793
  }
788
794
  };
789
- const Ji = Symbol("i18next/PATH_KEY");
790
- function v0() {
795
+ const qi = Symbol("i18next/PATH_KEY");
796
+ function w0() {
791
797
  const e = [], t = /* @__PURE__ */ Object.create(null);
792
798
  let r;
793
799
  return t.get = (n, a) => {
794
800
  var i;
795
- return (i = r == null ? void 0 : r.revoke) == null || i.call(r), a === Ji ? e : (e.push(a), r = Proxy.revocable(n, t), r.proxy);
801
+ return (i = r == null ? void 0 : r.revoke) == null || i.call(r), a === qi ? e : (e.push(a), r = Proxy.revocable(n, t), r.proxy);
796
802
  }, Proxy.revocable(/* @__PURE__ */ Object.create(null), t).proxy;
797
803
  }
798
804
  function na(e, t) {
799
805
  const {
800
- [Ji]: r
801
- } = e(v0());
806
+ [qi]: r
807
+ } = e(w0());
802
808
  return r.join((t == null ? void 0 : t.keySeparator) ?? ".");
803
809
  }
804
- const Ga = {}, ja = (e) => !ve(e) && typeof e != "boolean" && typeof e != "number";
810
+ const ja = {}, Ka = (e) => !ve(e) && typeof e != "boolean" && typeof e != "number";
805
811
  class mn extends Dn {
806
812
  constructor(t, r = {}) {
807
- super(), o0(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = yt.create("translator");
813
+ super(), f0(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = yt.create("translator");
808
814
  }
809
815
  changeLanguage(t) {
810
816
  t && (this.language = t);
@@ -824,7 +830,7 @@ class mn extends Dn {
824
830
  n === void 0 && (n = ":");
825
831
  const a = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
826
832
  let i = r.ns || this.options.defaultNS || [];
827
- const s = n && t.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !p0(t, n, a);
833
+ const s = n && t.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !x0(t, n, a);
828
834
  if (s && !o) {
829
835
  const l = t.match(this.interpolator.nestingRegexp);
830
836
  if (l && l.length > 0)
@@ -881,7 +887,7 @@ class mn extends Dn {
881
887
  }) : "", C = B && !a.ordinal && a.count === 0, R = C && a[`defaultValue${this.options.pluralSeparator}zero`] || a[`defaultValue${re}`] || a[`defaultValue${_}`] || a.defaultValue;
882
888
  let b = p;
883
889
  D && !p && K && (b = R);
884
- const M = ja(b), H = Object.prototype.toString.apply(b);
890
+ const M = Ka(b), H = Object.prototype.toString.apply(b);
885
891
  if (D && b && M && P.indexOf(H) < 0 && !(ve(L) && Array.isArray(b))) {
886
892
  if (!a.returnObjects && !this.options.returnObjects) {
887
893
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
@@ -898,7 +904,7 @@ class mn extends Dn {
898
904
  const j = `${I}${s}${N}`;
899
905
  K && !p ? U[N] = this.translate(j, {
900
906
  ...a,
901
- defaultValue: ja(R) ? R[N] : void 0,
907
+ defaultValue: Ka(R) ? R[N] : void 0,
902
908
  joinArrays: !1,
903
909
  ns: l
904
910
  }) : U[N] = this.translate(j, {
@@ -979,7 +985,7 @@ class mn extends Dn {
979
985
  !n.lng && a && a.res && (n.lng = this.language || a.usedLng), n.nest !== !1 && (t = this.interpolator.nest(t, (...m) => (i == null ? void 0 : i[0]) === m[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${r[0]}`), null) : this.translate(...m, r), n)), n.interpolation && this.interpolator.reset();
980
986
  }
981
987
  const s = n.postProcess || this.options.postProcess, o = ve(s) ? [s] : s;
982
- return t != null && (o != null && o.length) && n.applyPostProcessor !== !1 && (t = Xi.handle(o, t, r, this.options && this.options.postProcessPassResolved ? {
988
+ return t != null && (o != null && o.length) && n.applyPostProcessor !== !1 && (t = Ji.handle(o, t, r, this.options && this.options.postProcessPassResolved ? {
983
989
  i18nResolved: {
984
990
  ...a,
985
991
  usedParams: this.getUsedParamsDetails(n)
@@ -998,7 +1004,7 @@ class mn extends Dn {
998
1004
  const d = r.count !== void 0 && !ve(r.count), m = d && !r.ordinal && r.count === 0, p = r.context !== void 0 && (ve(r.context) || typeof r.context == "number") && r.context !== "", h = r.lngs ? r.lngs : this.languageUtils.toResolveHierarchy(r.lng || this.language, r.fallbackLng);
999
1005
  u.forEach((x) => {
1000
1006
  var P, L;
1001
- this.isValidLookup(n) || (o = x, !Ga[`${h[0]}-${x}`] && ((P = this.utils) != null && P.hasLoadedNamespace) && !((L = this.utils) != null && L.hasLoadedNamespace(o)) && (Ga[`${h[0]}-${x}`] = !0, this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((D) => {
1007
+ this.isValidLookup(n) || (o = x, !ja[`${h[0]}-${x}`] && ((P = this.utils) != null && P.hasLoadedNamespace) && !((L = this.utils) != null && L.hasLoadedNamespace(o)) && (ja[`${h[0]}-${x}`] = !0, this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((D) => {
1002
1008
  var re;
1003
1009
  if (this.isValidLookup(n)) return;
1004
1010
  s = D;
@@ -1057,7 +1063,7 @@ class mn extends Dn {
1057
1063
  return !1;
1058
1064
  }
1059
1065
  }
1060
- class Ka {
1066
+ class Xa {
1061
1067
  constructor(t) {
1062
1068
  this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = yt.create("languageUtils");
1063
1069
  }
@@ -1121,20 +1127,20 @@ class Ka {
1121
1127
  }), a;
1122
1128
  }
1123
1129
  }
1124
- const Xa = {
1130
+ const Ja = {
1125
1131
  zero: 0,
1126
1132
  one: 1,
1127
1133
  two: 2,
1128
1134
  few: 3,
1129
1135
  many: 4,
1130
1136
  other: 5
1131
- }, Ja = {
1137
+ }, qa = {
1132
1138
  select: (e) => e === 1 ? "one" : "other",
1133
1139
  resolvedOptions: () => ({
1134
1140
  pluralCategories: ["one", "other"]
1135
1141
  })
1136
1142
  };
1137
- class w0 {
1143
+ class _0 {
1138
1144
  constructor(t, r = {}) {
1139
1145
  this.languageUtils = t, this.options = r, this.logger = yt.create("pluralResolver"), this.pluralRulesCache = {};
1140
1146
  }
@@ -1158,8 +1164,8 @@ class w0 {
1158
1164
  });
1159
1165
  } catch {
1160
1166
  if (!Intl)
1161
- return this.logger.error("No Intl support, please use an Intl polyfill!"), Ja;
1162
- if (!t.match(/-|_/)) return Ja;
1167
+ return this.logger.error("No Intl support, please use an Intl polyfill!"), qa;
1168
+ if (!t.match(/-|_/)) return qa;
1163
1169
  const l = this.languageUtils.getLanguagePartFromCode(t);
1164
1170
  s = this.getRule(l, r);
1165
1171
  }
@@ -1174,18 +1180,18 @@ class w0 {
1174
1180
  }
1175
1181
  getSuffixes(t, r = {}) {
1176
1182
  let n = this.getRule(t, r);
1177
- return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((a, i) => Xa[a] - Xa[i]).map((a) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : [];
1183
+ return n || (n = this.getRule("dev", r)), n ? n.resolvedOptions().pluralCategories.sort((a, i) => Ja[a] - Ja[i]).map((a) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${a}`) : [];
1178
1184
  }
1179
1185
  getSuffix(t, r, n = {}) {
1180
1186
  const a = this.getRule(t, n);
1181
1187
  return a ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${a.select(r)}` : (this.logger.warn(`no plural rule found for: ${t}`), this.getSuffix("dev", r, n));
1182
1188
  }
1183
1189
  }
1184
- const qa = (e, t, r, n = ".", a = !0) => {
1185
- let i = c0(e, t, r);
1190
+ const Qa = (e, t, r, n = ".", a = !0) => {
1191
+ let i = u0(e, t, r);
1186
1192
  return !i && a && ve(r) && (i = ra(e, r, n), i === void 0 && (i = ra(t, r, n))), i;
1187
1193
  }, zn = (e) => e.replace(/\$/g, "$$$$");
1188
- class _0 {
1194
+ class T0 {
1189
1195
  constructor(t = {}) {
1190
1196
  var r;
1191
1197
  this.logger = yt.create("interpolator"), this.options = t, this.format = ((r = t == null ? void 0 : t.interpolation) == null ? void 0 : r.format) || ((n) => n), this.init(t);
@@ -1213,7 +1219,7 @@ class _0 {
1213
1219
  maxReplaces: P,
1214
1220
  alwaysFormat: L
1215
1221
  } = t.interpolation;
1216
- this.escape = r !== void 0 ? r : h0, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = i ? nr(i) : s || "{{", this.suffix = o ? nr(o) : l || "}}", this.formatSeparator = f || ",", this.unescapePrefix = c ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = d ? nr(d) : m || nr("$t("), this.nestingSuffix = p ? nr(p) : h || nr(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = P || 1e3, this.alwaysFormat = L !== void 0 ? L : !1, this.resetRegExp();
1222
+ this.escape = r !== void 0 ? r : d0, this.escapeValue = n !== void 0 ? n : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = i ? nr(i) : s || "{{", this.suffix = o ? nr(o) : l || "}}", this.formatSeparator = f || ",", this.unescapePrefix = c ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = d ? nr(d) : m || nr("$t("), this.nestingSuffix = p ? nr(p) : h || nr(")"), this.nestingOptionsSeparator = x || ",", this.maxReplaces = P || 1e3, this.alwaysFormat = L !== void 0 ? L : !1, this.resetRegExp();
1217
1223
  }
1218
1224
  reset() {
1219
1225
  this.options && this.init(this.options);
@@ -1227,7 +1233,7 @@ class _0 {
1227
1233
  let i, s, o;
1228
1234
  const l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, f = (p) => {
1229
1235
  if (p.indexOf(this.formatSeparator) < 0) {
1230
- const L = qa(r, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
1236
+ const L = Qa(r, l, p, this.options.keySeparator, this.options.ignoreJSONStructure);
1231
1237
  return this.alwaysFormat ? this.format(L, void 0, n, {
1232
1238
  ...a,
1233
1239
  ...r,
@@ -1235,7 +1241,7 @@ class _0 {
1235
1241
  }) : L;
1236
1242
  }
1237
1243
  const h = p.split(this.formatSeparator), x = h.shift().trim(), P = h.join(this.formatSeparator).trim();
1238
- return this.format(qa(r, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), P, n, {
1244
+ return this.format(Qa(r, l, x, this.options.keySeparator, this.options.ignoreJSONStructure), P, n, {
1239
1245
  ...a,
1240
1246
  ...r,
1241
1247
  interpolationkey: x
@@ -1263,7 +1269,7 @@ class _0 {
1263
1269
  continue;
1264
1270
  } else
1265
1271
  this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`), s = "";
1266
- else !ve(s) && !this.useRawValueToEscape && (s = $a(s));
1272
+ else !ve(s) && !this.useRawValueToEscape && (s = Wa(s));
1267
1273
  const x = p.safeValue(s);
1268
1274
  if (t = t.replace(i[0], x), u ? (p.regex.lastIndex += s.length, p.regex.lastIndex -= i[0].length) : p.regex.lastIndex = 0, o++, o >= this.maxReplaces)
1269
1275
  break;
@@ -1297,7 +1303,7 @@ class _0 {
1297
1303
  }, s = s.replace && !ve(s.replace) ? s.replace : s, s.applyPostProcessor = !1, delete s.defaultValue;
1298
1304
  const f = /{.*}/.test(a[1]) ? a[1].lastIndexOf("}") + 1 : a[1].indexOf(this.formatSeparator);
1299
1305
  if (f !== -1 && (l = a[1].slice(f).split(this.formatSeparator).map((c) => c.trim()).filter(Boolean), a[1] = a[1].slice(0, f)), i = r(o.call(this, a[1].trim(), s), s), i && a[0] === t && !ve(i)) return i;
1300
- ve(i) || (i = $a(i)), i || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`), i = ""), l.length && (i = l.reduce((c, u) => this.format(c, u, n.lng, {
1306
+ ve(i) || (i = Wa(i)), i || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`), i = ""), l.length && (i = l.reduce((c, u) => this.format(c, u, n.lng, {
1301
1307
  ...n,
1302
1308
  interpolationkey: a[1].trim()
1303
1309
  }), i.trim())), t = t.replace(a[0], i), this.regexp.lastIndex = 0;
@@ -1305,7 +1311,7 @@ class _0 {
1305
1311
  return t;
1306
1312
  }
1307
1313
  }
1308
- const T0 = (e) => {
1314
+ const E0 = (e) => {
1309
1315
  let t = e.toLowerCase().trim();
1310
1316
  const r = {};
1311
1317
  if (e.indexOf("(") > -1) {
@@ -1323,7 +1329,7 @@ const T0 = (e) => {
1323
1329
  formatName: t,
1324
1330
  formatOptions: r
1325
1331
  };
1326
- }, Qa = (e) => {
1332
+ }, Za = (e) => {
1327
1333
  const t = {};
1328
1334
  return (r, n, a) => {
1329
1335
  let i = a;
@@ -1335,8 +1341,8 @@ const T0 = (e) => {
1335
1341
  let o = t[s];
1336
1342
  return o || (o = e(Lr(n), a), t[s] = o), o(r);
1337
1343
  };
1338
- }, E0 = (e) => (t, r, n) => e(Lr(r), n)(t);
1339
- class y0 {
1344
+ }, y0 = (e) => (t, r, n) => e(Lr(r), n)(t);
1345
+ class S0 {
1340
1346
  constructor(t = {}) {
1341
1347
  this.logger = yt.create("formatter"), this.options = t, this.init(t);
1342
1348
  }
@@ -1344,7 +1350,7 @@ class y0 {
1344
1350
  interpolation: {}
1345
1351
  }) {
1346
1352
  this.formatSeparator = r.interpolation.formatSeparator || ",";
1347
- const n = r.cacheInBuiltFormats ? Qa : E0;
1353
+ const n = r.cacheInBuiltFormats ? Za : y0;
1348
1354
  this.formats = {
1349
1355
  number: n((a, i) => {
1350
1356
  const s = new Intl.NumberFormat(a, {
@@ -1383,7 +1389,7 @@ class y0 {
1383
1389
  this.formats[t.toLowerCase().trim()] = r;
1384
1390
  }
1385
1391
  addCached(t, r) {
1386
- this.formats[t.toLowerCase().trim()] = Qa(r);
1392
+ this.formats[t.toLowerCase().trim()] = Za(r);
1387
1393
  }
1388
1394
  format(t, r, n, a = {}) {
1389
1395
  const i = r.split(this.formatSeparator);
@@ -1396,7 +1402,7 @@ class y0 {
1396
1402
  const {
1397
1403
  formatName: f,
1398
1404
  formatOptions: c
1399
- } = T0(l);
1405
+ } = E0(l);
1400
1406
  if (this.formats[f]) {
1401
1407
  let d = o;
1402
1408
  try {
@@ -1416,10 +1422,10 @@ class y0 {
1416
1422
  }, t);
1417
1423
  }
1418
1424
  }
1419
- const S0 = (e, t) => {
1425
+ const A0 = (e, t) => {
1420
1426
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
1421
1427
  };
1422
- class A0 extends Dn {
1428
+ class F0 extends Dn {
1423
1429
  constructor(t, r, n, a = {}) {
1424
1430
  var i, s;
1425
1431
  super(), this.backend = t, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = a, this.logger = yt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], (s = (i = this.backend) == null ? void 0 : i.init) == null || s.call(i, n, a.backend, a);
@@ -1452,7 +1458,7 @@ class A0 extends Dn {
1452
1458
  }), this.state[t] = r ? -1 : 2, r && n && (this.state[t] = 0);
1453
1459
  const o = {};
1454
1460
  this.queue.forEach((l) => {
1455
- l0(l.loaded, [i], s), S0(l, t), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((f) => {
1461
+ c0(l.loaded, [i], s), A0(l, t), r && l.errors.push(r), l.pendingCount === 0 && !l.done && (Object.keys(l.loaded).forEach((f) => {
1456
1462
  o[f] || (o[f] = {});
1457
1463
  const c = l.loaded[f];
1458
1464
  c.length && c.forEach((u) => {
@@ -1551,7 +1557,7 @@ class A0 extends Dn {
1551
1557
  }
1552
1558
  }
1553
1559
  }
1554
- const Za = () => ({
1560
+ const ei = () => ({
1555
1561
  debug: !1,
1556
1562
  initAsync: !0,
1557
1563
  ns: ["translation"],
@@ -1608,20 +1614,20 @@ const Za = () => ({
1608
1614
  skipOnVariables: !0
1609
1615
  },
1610
1616
  cacheInBuiltFormats: !0
1611
- }), ei = (e) => {
1617
+ }), ti = (e) => {
1612
1618
  var t, r;
1613
1619
  return ve(e.ns) && (e.ns = [e.ns]), ve(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), ve(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), ((r = (t = e.supportedLngs) == null ? void 0 : t.indexOf) == null ? void 0 : r.call(t, "cimode")) < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e;
1614
1620
  }, Jr = () => {
1615
- }, F0 = (e) => {
1621
+ }, O0 = (e) => {
1616
1622
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((r) => {
1617
1623
  typeof e[r] == "function" && (e[r] = e[r].bind(e));
1618
1624
  });
1619
1625
  };
1620
1626
  class Nr extends Dn {
1621
1627
  constructor(t = {}, r) {
1622
- if (super(), this.options = ei(t), this.services = {}, this.logger = yt, this.modules = {
1628
+ if (super(), this.options = ti(t), this.services = {}, this.logger = yt, this.modules = {
1623
1629
  external: []
1624
- }, F0(this), r && !this.isInitialized && !t.isClone) {
1630
+ }, O0(this), r && !this.isInitialized && !t.isClone) {
1625
1631
  if (!this.options.initAsync)
1626
1632
  return this.init(t, r), this;
1627
1633
  setTimeout(() => {
@@ -1631,11 +1637,11 @@ class Nr extends Dn {
1631
1637
  }
1632
1638
  init(t = {}, r) {
1633
1639
  this.isInitializing = !0, typeof t == "function" && (r = t, t = {}), t.defaultNS == null && t.ns && (ve(t.ns) ? t.defaultNS = t.ns : t.ns.indexOf("translation") < 0 && (t.defaultNS = t.ns[0]));
1634
- const n = Za();
1640
+ const n = ei();
1635
1641
  this.options = {
1636
1642
  ...n,
1637
1643
  ...this.options,
1638
- ...ei(t)
1644
+ ...ti(t)
1639
1645
  }, this.options.interpolation = {
1640
1646
  ...n.interpolation,
1641
1647
  ...this.options.interpolation
@@ -1644,16 +1650,16 @@ class Nr extends Dn {
1644
1650
  if (!this.options.isClone) {
1645
1651
  this.modules.logger ? yt.init(a(this.modules.logger), this.options) : yt.init(null, this.options);
1646
1652
  let f;
1647
- this.modules.formatter ? f = this.modules.formatter : f = y0;
1648
- const c = new Ka(this.options);
1649
- this.store = new Ya(this.options.resources, this.options);
1653
+ this.modules.formatter ? f = this.modules.formatter : f = S0;
1654
+ const c = new Xa(this.options);
1655
+ this.store = new Ga(this.options.resources, this.options);
1650
1656
  const u = this.services;
1651
- u.logger = yt, u.resourceStore = this.store, u.languageUtils = c, u.pluralResolver = new w0(c, {
1657
+ u.logger = yt, u.resourceStore = this.store, u.languageUtils = c, u.pluralResolver = new _0(c, {
1652
1658
  prepend: this.options.pluralSeparator,
1653
1659
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
1654
- }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), f && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = a(f), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new _0(this.options), u.utils = {
1660
+ }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), f && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (u.formatter = a(f), u.formatter.init && u.formatter.init(u, this.options), this.options.interpolation.format = u.formatter.format.bind(u.formatter)), u.interpolator = new T0(this.options), u.utils = {
1655
1661
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
1656
- }, u.backendConnector = new A0(a(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (m, ...p) => {
1662
+ }, u.backendConnector = new F0(a(this.modules.backend), u.resourceStore, u, this.options), u.backendConnector.on("*", (m, ...p) => {
1657
1663
  this.emit(m, ...p);
1658
1664
  }), this.modules.languageDetector && (u.languageDetector = a(this.modules.languageDetector), u.languageDetector.init && u.languageDetector.init(u, this.options.detection, this.options)), this.modules.i18nFormat && (u.i18nFormat = a(this.modules.i18nFormat), u.i18nFormat.init && u.i18nFormat.init(this)), this.translator = new mn(this.services, this.options), this.translator.on("*", (m, ...p) => {
1659
1665
  this.emit(m, ...p);
@@ -1706,7 +1712,7 @@ class Nr extends Dn {
1706
1712
  use(t) {
1707
1713
  if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1708
1714
  if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
1709
- return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Xi.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
1715
+ return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Ji.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
1710
1716
  }
1711
1717
  setResolvedLanguage(t) {
1712
1718
  if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1)) {
@@ -1811,7 +1817,7 @@ class Nr extends Dn {
1811
1817
  }
1812
1818
  } catch {
1813
1819
  }
1814
- const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = ((i = this.services) == null ? void 0 : i.languageUtils) || new Ka(Za());
1820
+ const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = ((i = this.services) == null ? void 0 : i.languageUtils) || new Xa(ei());
1815
1821
  return t.toLowerCase().indexOf("-latn") > 1 ? "ltr" : r.indexOf(n.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
1816
1822
  }
1817
1823
  static createInstance(t = {}, r) {
@@ -1837,7 +1843,7 @@ class Nr extends Dn {
1837
1843
  }, l[f] = Object.keys(l[f]).reduce((c, u) => (c[u] = {
1838
1844
  ...l[f][u]
1839
1845
  }, c), l[f]), l), {});
1840
- i.store = new Ya(o, a), i.services.resourceStore = i.store;
1846
+ i.store = new Ga(o, a), i.services.resourceStore = i.store;
1841
1847
  }
1842
1848
  return i.translator = new mn(i.services, a), i.translator.on("*", (o, ...l) => {
1843
1849
  i.emit(o, ...l);
@@ -1871,7 +1877,7 @@ Le.setDefaultNamespace;
1871
1877
  Le.hasLoadedNamespace;
1872
1878
  Le.loadNamespaces;
1873
1879
  Le.loadLanguages;
1874
- const qi = (e) => {
1880
+ const Qi = (e) => {
1875
1881
  var t, r;
1876
1882
  !((t = e == null ? void 0 : e.i18n) != null && t.language) || !((r = e == null ? void 0 : e.i18n) != null && r.translations) || Le.language === e.i18n.language && Le.isInitialized || Le.init({
1877
1883
  lng: e.i18n.language,
@@ -1881,13 +1887,13 @@ const qi = (e) => {
1881
1887
  escapeValue: !1
1882
1888
  }
1883
1889
  });
1884
- }, la = (e) => {
1890
+ }, ca = (e) => {
1885
1891
  try {
1886
1892
  return new Intl.Locale(e);
1887
1893
  } catch {
1888
1894
  return new Intl.Locale("en-US");
1889
1895
  }
1890
- }, O0 = (e, t) => {
1896
+ }, C0 = (e, t) => {
1891
1897
  try {
1892
1898
  return new Intl.NumberFormat(e, {
1893
1899
  style: "currency",
@@ -1896,16 +1902,16 @@ const qi = (e) => {
1896
1902
  } catch {
1897
1903
  return !1;
1898
1904
  }
1899
- }, C0 = () => ({
1905
+ }, b0 = () => ({
1900
1906
  format: (e) => Le.t(e)
1901
- }), b0 = {}, D0 = (e, t = e.formatter.defaultNumberFormatterOptions) => {
1902
- const r = la(e.formatter.locale), n = t == null ? void 0 : t.currency;
1903
- return n && !O0(r, n) ? {
1907
+ }), D0 = {}, k0 = (e, t = e.formatter.defaultNumberFormatterOptions) => {
1908
+ const r = ca(e.formatter.locale), n = t == null ? void 0 : t.currency;
1909
+ return n && !C0(r, n) ? {
1904
1910
  format: (a) => `${n} ${Intl.NumberFormat(r, { ...t, currency: void 0, style: void 0 }).format(a)}`
1905
1911
  } : {
1906
1912
  format: Intl.NumberFormat(r, t ?? e.formatter.defaultNumberFormatterOptions).format
1907
1913
  };
1908
- }, k0 = (e, t) => {
1914
+ }, R0 = (e, t) => {
1909
1915
  var a, i, s;
1910
1916
  const r = (a = t.inputs) == null ? void 0 : a.currency, n = {
1911
1917
  style: r ? "currency" : void 0,
@@ -1914,20 +1920,20 @@ const qi = (e) => {
1914
1920
  maximumFractionDigits: ((s = t.inputs) == null ? void 0 : s.decimalPlaces) ?? 0
1915
1921
  };
1916
1922
  return e.formatter.numberFormatter(e, n);
1917
- }, R0 = {
1923
+ }, P0 = {
1918
1924
  year: "numeric",
1919
1925
  month: "short",
1920
1926
  day: "numeric",
1921
1927
  hour: "numeric",
1922
1928
  minute: "numeric",
1923
1929
  second: "numeric"
1924
- }, P0 = (e, t) => {
1925
- const r = la(e.formatter.locale), { year: n, month: a, day: i, hour: s, minute: o, second: l } = t ?? e.formatter.defaultDateTimeFormatOptions;
1926
- return new Intl.DateTimeFormat(r, { year: n, month: a, day: i, hour: s, minute: o, second: l });
1927
1930
  }, L0 = (e, t) => {
1931
+ const r = ca(e.formatter.locale), { year: n, month: a, day: i, hour: s, minute: o, second: l } = t ?? e.formatter.defaultDateTimeFormatOptions;
1932
+ return new Intl.DateTimeFormat(r, { year: n, month: a, day: i, hour: s, minute: o, second: l });
1933
+ }, N0 = (e, t) => {
1928
1934
  var f, c;
1929
- qi(e);
1930
- const r = la(e.formatter.locale);
1935
+ Qi(e);
1936
+ const r = ca(e.formatter.locale);
1931
1937
  if (!((f = t.inputs) != null && f.granularity))
1932
1938
  return e.formatter.dateTimeFormatter(e);
1933
1939
  const { year: n, month: a, day: i, hour: s, minute: o, second: l } = e.formatter.defaultDateTimeFormatOptions;
@@ -1954,9 +1960,9 @@ const qi = (e) => {
1954
1960
  default:
1955
1961
  return new Intl.DateTimeFormat(r, { year: n, month: a, day: i, hour: s, minute: o, second: l });
1956
1962
  }
1957
- }, N0 = (e, t) => {
1958
- qi(e);
1959
- const r = t.name, n = i0(t) ? "dimension" : "measure";
1963
+ }, I0 = (e, t) => {
1964
+ Qi(e);
1965
+ const r = t.name, n = s0(t) ? "dimension" : "measure";
1960
1966
  return {
1961
1967
  format: (a) => {
1962
1968
  if (!a)
@@ -1979,17 +1985,17 @@ const qi = (e) => {
1979
1985
  );
1980
1986
  }
1981
1987
  };
1982
- }, I0 = {
1983
- locale: navigator.language,
1984
- defaultNumberFormatterOptions: b0,
1985
- defaultDateTimeFormatOptions: R0,
1986
- stringFormatter: C0,
1987
- numberFormatter: D0,
1988
- dateTimeFormatter: P0,
1989
- dataNumberFormatter: k0,
1990
- dataDateTimeFormatter: L0,
1991
- dataOthersFormatter: N0
1992
1988
  }, M0 = {
1989
+ locale: navigator.language,
1990
+ defaultNumberFormatterOptions: D0,
1991
+ defaultDateTimeFormatOptions: P0,
1992
+ stringFormatter: b0,
1993
+ numberFormatter: k0,
1994
+ dateTimeFormatter: L0,
1995
+ dataNumberFormatter: R0,
1996
+ dataDateTimeFormatter: N0,
1997
+ dataOthersFormatter: I0
1998
+ }, B0 = {
1993
1999
  "--em-gray-0": "rgb(255 255 255)",
1994
2000
  "--em-gray-050": "rgb(247 247 248)",
1995
2001
  "--em-gray-100": "rgb(237 237 241)",
@@ -2012,7 +2018,7 @@ const qi = (e) => {
2012
2018
  "--em-orange-700": "rgb(255 119 51)",
2013
2019
  "--em-orange-800": "rgb(255 102 26)",
2014
2020
  "--em-orange-900": "rgb(255 84 0)"
2015
- }, B0 = {
2021
+ }, U0 = {
2016
2022
  "--em-height-0": "0px",
2017
2023
  "--em-height-050": "2px",
2018
2024
  "--em-height-100": "4px",
@@ -2077,7 +2083,7 @@ const qi = (e) => {
2077
2083
  "--em-width-700": "28px",
2078
2084
  "--em-width-800": "32px",
2079
2085
  "--em-width-900": "36px"
2080
- }, U0 = {
2086
+ }, H0 = {
2081
2087
  "--em-border-radius-0": "0px",
2082
2088
  "--em-border-radius-050": "2px",
2083
2089
  "--em-border-radius-100": "4px",
@@ -2090,7 +2096,7 @@ const qi = (e) => {
2090
2096
  "--em-border-width-default": "1px",
2091
2097
  "--em-border-width-l": "2px",
2092
2098
  "--em-border-width-xl": "4px"
2093
- }, H0 = {
2099
+ }, $0 = {
2094
2100
  "--em-background-color-default": "var(--em-gray-050)",
2095
2101
  "--em-background-color-inverted": "var(--em-gray-900)",
2096
2102
  "--em-background-color-light": "var(--em-gray-100)",
@@ -2531,7 +2537,7 @@ const qi = (e) => {
2531
2537
  "--em-text-input-size-height": "var(--em-height-1000)",
2532
2538
  "--em-text-input-size-max-width": "400px",
2533
2539
  "--em-text-input-size-min-width": "160px"
2534
- }, $0 = {
2540
+ }, W0 = {
2535
2541
  "--em-font-family-default": "inter",
2536
2542
  "--em-font-size-md": "16px",
2537
2543
  "--em-font-size-sm": "14px",
@@ -2545,323 +2551,73 @@ const qi = (e) => {
2545
2551
  "--em-line-height-md": "16px",
2546
2552
  "--em-line-height-sm": "14px",
2547
2553
  "--em-line-height-xl": "38px"
2548
- }, W0 = {
2554
+ }, V0 = {
2549
2555
  "--em-box-shadow-default-blur": "40px",
2550
2556
  "--em-box-shadow-default-color": "rgb(33 33 41 / 25%)",
2551
2557
  "--em-box-shadow-default-position-x": "0px",
2552
2558
  "--em-box-shadow-default-position-y": "1px",
2553
2559
  "--em-box-shadow-default-spread": "0px"
2554
- }, V0 = {
2555
- ...M0,
2560
+ }, z0 = {
2556
2561
  ...B0,
2557
2562
  ...U0,
2558
2563
  ...H0,
2559
2564
  ...$0,
2560
- ...W0
2561
- }, z0 = V0, Yn = (e, t = 0) => {
2562
- const r = new Date(e), n = (r.getDay() + 6) % 7;
2563
- r.setDate(r.getDate() - n + t * 7);
2564
- const a = new Date(r.getFullYear(), r.getMonth(), r.getDate()), i = new Date(a);
2565
- return i.setDate(a.getDate() + 6), i.setHours(23, 59, 59, 999), {
2566
- from: a,
2567
- to: i,
2568
- relativeTimeString: ""
2569
- };
2570
- }, qr = (e, t = 0) => {
2571
- const n = Math.floor(e.getMonth() / 3) + t, a = Math.floor(n / 4), i = (n % 4 + 4) % 4, s = e.getFullYear() + a, o = new Date(s, i * 3, 1), l = new Date(s, i * 3 + 3, 0, 23, 59, 59, 999);
2572
- return {
2573
- from: o,
2574
- to: l,
2575
- relativeTimeString: ""
2576
- };
2577
- }, Y0 = [
2578
- {
2579
- value: "Today",
2580
- label: "Today",
2581
- getRange: () => {
2582
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth(), e.getDate()), r = new Date(t);
2583
- return r.setHours(23, 59, 59, 999), {
2584
- from: t,
2585
- to: r,
2586
- relativeTimeString: ""
2587
- };
2588
- },
2589
- dateFormat: "MMM DD"
2590
- },
2591
- {
2592
- value: "Yesterday",
2593
- label: "Yesterday",
2594
- getRange: () => {
2595
- const e = /* @__PURE__ */ new Date(), t = new Date(e);
2596
- t.setDate(e.getDate() - 1), t.setHours(0, 0, 0, 0);
2597
- const r = new Date(t);
2598
- return r.setHours(23, 59, 59, 999), {
2599
- from: t,
2600
- to: r,
2601
- relativeTimeString: ""
2602
- };
2603
- },
2604
- dateFormat: "MMM DD"
2605
- },
2606
- {
2607
- value: "This week",
2608
- label: "This week",
2609
- getRange: () => Yn(/* @__PURE__ */ new Date(), 0),
2610
- dateFormat: "MMM DD"
2611
- },
2612
- {
2613
- value: "Last week",
2614
- label: "Last week",
2615
- getRange: () => Yn(/* @__PURE__ */ new Date(), -1),
2616
- dateFormat: "MMM DD"
2617
- },
2618
- {
2619
- value: "Week to date",
2620
- label: "Week to date",
2621
- getRange: () => {
2622
- const e = /* @__PURE__ */ new Date(), { from: t } = Yn(e, 0), r = new Date(e);
2623
- return r.setHours(23, 59, 59, 999), {
2624
- from: t,
2625
- to: r,
2626
- relativeTimeString: ""
2627
- };
2628
- },
2629
- dateFormat: "MMM DD"
2630
- },
2631
- {
2632
- value: "Last 7 days",
2633
- label: "Last 7 days",
2634
- getRange: () => {
2635
- const e = /* @__PURE__ */ new Date();
2636
- e.setHours(23, 59, 59, 999);
2637
- const t = new Date(e);
2638
- return t.setDate(e.getDate() - 6), t.setHours(0, 0, 0, 0), {
2639
- from: t,
2640
- to: e,
2641
- relativeTimeString: ""
2642
- };
2643
- },
2644
- dateFormat: "MMM DD"
2645
- },
2646
- {
2647
- value: "Next 7 days",
2648
- label: "Next 7 days",
2649
- getRange: () => {
2650
- const e = /* @__PURE__ */ new Date();
2651
- e.setHours(0, 0, 0, 0);
2652
- const t = new Date(e);
2653
- return t.setDate(e.getDate() + 6), t.setHours(23, 59, 59, 999), {
2654
- from: e,
2655
- to: t,
2656
- relativeTimeString: ""
2657
- };
2658
- },
2659
- dateFormat: "MMM DD"
2660
- },
2661
- {
2662
- value: "Last 30 days",
2663
- label: "Last 30 days",
2664
- getRange: () => {
2665
- const e = /* @__PURE__ */ new Date();
2666
- e.setHours(23, 59, 59, 999);
2667
- const t = new Date(e);
2668
- return t.setDate(e.getDate() - 29), t.setHours(0, 0, 0, 0), {
2669
- from: t,
2670
- to: e,
2671
- relativeTimeString: ""
2672
- };
2673
- },
2674
- dateFormat: "MMM DD"
2675
- },
2676
- {
2677
- value: "Next 30 days",
2678
- label: "Next 30 days",
2679
- getRange: () => {
2680
- const e = /* @__PURE__ */ new Date();
2681
- e.setHours(0, 0, 0, 0);
2682
- const t = new Date(e);
2683
- return t.setDate(e.getDate() + 29), t.setHours(23, 59, 59, 999), {
2684
- from: e,
2685
- to: t,
2686
- relativeTimeString: ""
2687
- };
2688
- },
2689
- dateFormat: "MMM DD"
2690
- },
2691
- {
2692
- value: "This month",
2693
- label: "This month",
2694
- getRange: () => {
2695
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth(), 1), r = new Date(e.getFullYear(), e.getMonth() + 1, 0, 23, 59, 59, 999);
2696
- return {
2697
- from: t,
2698
- to: r,
2699
- relativeTimeString: ""
2700
- };
2701
- },
2702
- dateFormat: "MMM YYYY"
2703
- },
2704
- {
2705
- value: "Last month",
2706
- label: "Last month",
2707
- getRange: () => {
2708
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth() - 1, 1), r = new Date(e.getFullYear(), e.getMonth(), 0, 23, 59, 59, 999);
2709
- return {
2710
- from: t,
2711
- to: r,
2712
- relativeTimeString: ""
2713
- };
2714
- },
2715
- dateFormat: "MMM YYYY"
2716
- },
2717
- {
2718
- value: "Next month",
2719
- label: "Next month",
2720
- getRange: () => {
2721
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth() + 1, 1), r = new Date(e.getFullYear(), e.getMonth() + 2, 0, 23, 59, 59, 999);
2722
- return { from: t, to: r, relativeTimeString: "" };
2723
- },
2724
- dateFormat: "MMM YYYY"
2725
- },
2726
- {
2727
- value: "This quarter",
2728
- label: "This quarter",
2729
- getRange: () => qr(/* @__PURE__ */ new Date(), 0),
2730
- dateFormat: "MMM YYYY"
2731
- },
2732
- {
2733
- value: "Last quarter",
2734
- label: "Last quarter",
2735
- getRange: () => qr(/* @__PURE__ */ new Date(), -1),
2736
- dateFormat: "MMM YYYY"
2737
- },
2738
- {
2739
- value: "Next quarter",
2740
- label: "Next quarter",
2741
- getRange: () => qr(/* @__PURE__ */ new Date(), 1),
2742
- dateFormat: "MMM YYYY"
2743
- },
2744
- {
2745
- value: "Quarter to date",
2746
- label: "Quarter to date",
2747
- getRange: () => {
2748
- const e = /* @__PURE__ */ new Date(), { from: t } = qr(e, 0), r = new Date(e);
2749
- return r.setHours(23, 59, 59, 999), { from: t, to: r, relativeTimeString: "" };
2750
- },
2751
- dateFormat: "MMM YYYY"
2752
- },
2753
- {
2754
- value: "Last 6 months",
2755
- label: "Last 6 months",
2756
- getRange: () => {
2757
- const e = /* @__PURE__ */ new Date();
2758
- e.setHours(23, 59, 59, 999);
2759
- const t = new Date(e);
2760
- return t.setMonth(e.getMonth() - 6), t.setHours(0, 0, 0, 0), { from: t, to: e, relativeTimeString: "" };
2761
- },
2762
- dateFormat: "MMM YYYY"
2763
- },
2764
- {
2765
- value: "Last 12 months",
2766
- label: "Last 12 months",
2767
- getRange: () => {
2768
- const e = /* @__PURE__ */ new Date();
2769
- e.setHours(23, 59, 59, 999);
2770
- const t = new Date(e);
2771
- return t.setMonth(e.getMonth() - 12), t.setHours(0, 0, 0, 0), { from: t, to: e, relativeTimeString: "" };
2772
- },
2773
- dateFormat: "MMM YYYY"
2774
- },
2775
- {
2776
- value: "This year",
2777
- label: "This year",
2778
- getRange: () => {
2779
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), 0, 1), r = new Date(e.getFullYear(), 11, 31, 23, 59, 59, 999);
2780
- return { from: t, to: r, relativeTimeString: "" };
2781
- },
2782
- dateFormat: "YYYY"
2783
- },
2784
- {
2785
- value: "Last year",
2786
- label: "Last year",
2787
- getRange: () => {
2788
- const t = (/* @__PURE__ */ new Date()).getFullYear() - 1, r = new Date(t, 0, 1), n = new Date(t, 11, 31, 23, 59, 59, 999);
2789
- return { from: r, to: n, relativeTimeString: "" };
2790
- },
2791
- dateFormat: "YYYY"
2792
- },
2793
- {
2794
- value: "Next year",
2795
- label: "Next year",
2796
- getRange: () => {
2797
- const t = (/* @__PURE__ */ new Date()).getFullYear() + 1, r = new Date(t, 0, 1), n = new Date(t, 11, 31, 23, 59, 59, 999);
2798
- return { from: r, to: n, relativeTimeString: "" };
2799
- },
2800
- dateFormat: "YYYY"
2801
- },
2802
- {
2803
- value: "Year to date",
2804
- label: "Year to date",
2805
- getRange: () => {
2806
- const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), 0, 1), r = new Date(e);
2807
- return r.setHours(23, 59, 59, 999), { from: t, to: r, relativeTimeString: "" };
2808
- },
2809
- dateFormat: "MMM YYYY"
2810
- }
2811
- ];
2812
- /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
2813
- var gn = {};
2814
- gn.version = "0.18.5";
2815
- var Qi = 1252, G0 = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], Zi = function(e) {
2816
- G0.indexOf(e) != -1 && (Qi = e);
2817
- };
2818
- function j0() {
2819
- Zi(1252);
2820
- }
2821
- var Ir = function(e) {
2822
- Zi(e);
2823
- };
2824
- function K0() {
2825
- Ir(1200), j0();
2826
- }
2827
- var Qr = function(t) {
2828
- return String.fromCharCode(t);
2829
- }, ti = function(t) {
2830
- return String.fromCharCode(t);
2831
- }, pn, It = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
2832
- function Mr(e) {
2833
- for (var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, o = 0, l = 0, f = 0; f < e.length; )
2834
- r = e.charCodeAt(f++), i = r >> 2, n = e.charCodeAt(f++), s = (r & 3) << 4 | n >> 4, a = e.charCodeAt(f++), o = (n & 15) << 2 | a >> 6, l = a & 63, isNaN(n) ? o = l = 64 : isNaN(a) && (l = 64), t += It.charAt(i) + It.charAt(s) + It.charAt(o) + It.charAt(l);
2835
- return t;
2836
- }
2837
- function kt(e) {
2838
- var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, o = 0, l = 0;
2839
- e = e.replace(/[^\w\+\/\=]/g, "");
2840
- for (var f = 0; f < e.length; )
2841
- i = It.indexOf(e.charAt(f++)), s = It.indexOf(e.charAt(f++)), r = i << 2 | s >> 4, t += String.fromCharCode(r), o = It.indexOf(e.charAt(f++)), n = (s & 15) << 4 | o >> 2, o !== 64 && (t += String.fromCharCode(n)), l = It.indexOf(e.charAt(f++)), a = (o & 3) << 6 | l, l !== 64 && (t += String.fromCharCode(a));
2842
- return t;
2843
- }
2844
- var ye = /* @__PURE__ */ (function() {
2845
- return typeof Buffer < "u" && typeof process < "u" && typeof process.versions < "u" && !!process.versions.node;
2846
- })(), Pt = /* @__PURE__ */ (function() {
2847
- if (typeof Buffer < "u") {
2848
- var e = !Buffer.from;
2849
- if (!e) try {
2850
- Buffer.from("foo", "utf8");
2851
- } catch {
2852
- e = !0;
2853
- }
2854
- return e ? function(t, r) {
2855
- return r ? new Buffer(t, r) : new Buffer(t);
2856
- } : Buffer.from.bind(Buffer);
2857
- }
2858
- return function() {
2565
+ ...W0,
2566
+ ...V0
2567
+ }, Y0 = z0;
2568
+ /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
2569
+ var gn = {};
2570
+ gn.version = "0.18.5";
2571
+ var Zi = 1252, G0 = [874, 932, 936, 949, 950, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1e4], es = function(e) {
2572
+ G0.indexOf(e) != -1 && (Zi = e);
2573
+ };
2574
+ function j0() {
2575
+ es(1252);
2576
+ }
2577
+ var Ir = function(e) {
2578
+ es(e);
2579
+ };
2580
+ function K0() {
2581
+ Ir(1200), j0();
2582
+ }
2583
+ var qr = function(t) {
2584
+ return String.fromCharCode(t);
2585
+ }, ri = function(t) {
2586
+ return String.fromCharCode(t);
2587
+ }, pn, It = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
2588
+ function Mr(e) {
2589
+ for (var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, o = 0, l = 0, f = 0; f < e.length; )
2590
+ r = e.charCodeAt(f++), i = r >> 2, n = e.charCodeAt(f++), s = (r & 3) << 4 | n >> 4, a = e.charCodeAt(f++), o = (n & 15) << 2 | a >> 6, l = a & 63, isNaN(n) ? o = l = 64 : isNaN(a) && (l = 64), t += It.charAt(i) + It.charAt(s) + It.charAt(o) + It.charAt(l);
2591
+ return t;
2592
+ }
2593
+ function kt(e) {
2594
+ var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, o = 0, l = 0;
2595
+ e = e.replace(/[^\w\+\/\=]/g, "");
2596
+ for (var f = 0; f < e.length; )
2597
+ i = It.indexOf(e.charAt(f++)), s = It.indexOf(e.charAt(f++)), r = i << 2 | s >> 4, t += String.fromCharCode(r), o = It.indexOf(e.charAt(f++)), n = (s & 15) << 4 | o >> 2, o !== 64 && (t += String.fromCharCode(n)), l = It.indexOf(e.charAt(f++)), a = (o & 3) << 6 | l, l !== 64 && (t += String.fromCharCode(a));
2598
+ return t;
2599
+ }
2600
+ var ye = /* @__PURE__ */ (function() {
2601
+ return typeof Buffer < "u" && typeof process < "u" && typeof process.versions < "u" && !!process.versions.node;
2602
+ })(), Pt = /* @__PURE__ */ (function() {
2603
+ if (typeof Buffer < "u") {
2604
+ var e = !Buffer.from;
2605
+ if (!e) try {
2606
+ Buffer.from("foo", "utf8");
2607
+ } catch {
2608
+ e = !0;
2609
+ }
2610
+ return e ? function(t, r) {
2611
+ return r ? new Buffer(t, r) : new Buffer(t);
2612
+ } : Buffer.from.bind(Buffer);
2613
+ }
2614
+ return function() {
2859
2615
  };
2860
2616
  })();
2861
2617
  function jt(e) {
2862
2618
  return ye ? Buffer.alloc ? Buffer.alloc(e) : new Buffer(e) : typeof Uint8Array < "u" ? new Uint8Array(e) : new Array(e);
2863
2619
  }
2864
- function ri(e) {
2620
+ function ni(e) {
2865
2621
  return ye ? Buffer.allocUnsafe ? Buffer.allocUnsafe(e) : new Buffer(e) : typeof Uint8Array < "u" ? new Uint8Array(e) : new Array(e);
2866
2622
  }
2867
2623
  var vt = function(t) {
@@ -2923,7 +2679,7 @@ function J0(e) {
2923
2679
  }
2924
2680
  return t.push(a.slice(0, r)), Ye(t);
2925
2681
  }
2926
- var Cr = /\u0000/g, Zr = /[\u0001-\u0006]/g;
2682
+ var Cr = /\u0000/g, Qr = /[\u0001-\u0006]/g;
2927
2683
  function lr(e) {
2928
2684
  for (var t = "", r = e.length - 1; r >= 0; ) t += e.charAt(r--);
2929
2685
  return t;
@@ -2932,7 +2688,7 @@ function wt(e, t) {
2932
2688
  var r = "" + e;
2933
2689
  return r.length >= t ? r : Pe("0", t - r.length) + r;
2934
2690
  }
2935
- function ca(e, t) {
2691
+ function ua(e, t) {
2936
2692
  var r = "" + e;
2937
2693
  return r.length >= t ? r : Pe(" ", t - r.length) + r;
2938
2694
  }
@@ -2948,16 +2704,16 @@ function Q0(e, t) {
2948
2704
  var r = "" + e;
2949
2705
  return r.length >= t ? r : Pe("0", t - r.length) + r;
2950
2706
  }
2951
- var ni = /* @__PURE__ */ Math.pow(2, 32);
2707
+ var ai = /* @__PURE__ */ Math.pow(2, 32);
2952
2708
  function ar(e, t) {
2953
- if (e > ni || e < -ni) return q0(e, t);
2709
+ if (e > ai || e < -ai) return q0(e, t);
2954
2710
  var r = Math.round(e);
2955
2711
  return Q0(r, t);
2956
2712
  }
2957
2713
  function vn(e, t) {
2958
2714
  return t = t || 0, e.length >= 7 + t && (e.charCodeAt(t) | 32) === 103 && (e.charCodeAt(t + 1) | 32) === 101 && (e.charCodeAt(t + 2) | 32) === 110 && (e.charCodeAt(t + 3) | 32) === 101 && (e.charCodeAt(t + 4) | 32) === 114 && (e.charCodeAt(t + 5) | 32) === 97 && (e.charCodeAt(t + 6) | 32) === 108;
2959
2715
  }
2960
- var ai = [
2716
+ var ii = [
2961
2717
  ["Sun", "Sunday"],
2962
2718
  ["Mon", "Monday"],
2963
2719
  ["Tue", "Tuesday"],
@@ -2965,7 +2721,7 @@ var ai = [
2965
2721
  ["Thu", "Thursday"],
2966
2722
  ["Fri", "Friday"],
2967
2723
  ["Sat", "Saturday"]
2968
- ], Gn = [
2724
+ ], Yn = [
2969
2725
  ["J", "Jan", "January"],
2970
2726
  ["F", "Feb", "February"],
2971
2727
  ["M", "Mar", "March"],
@@ -3012,7 +2768,7 @@ var Ne = {
3012
2768
  48: "##0.0E+0",
3013
2769
  49: "@",
3014
2770
  56: '"上午/下午 "hh"時"mm"分"ss"秒 "'
3015
- }, ii = {
2771
+ }, si = {
3016
2772
  5: 37,
3017
2773
  6: 38,
3018
2774
  7: 39,
@@ -3095,7 +2851,7 @@ function wn(e, t, r) {
3095
2851
  var d = Math.floor(n * o / c);
3096
2852
  return [d, n * o - d * c, c];
3097
2853
  }
3098
- function en(e, t, r) {
2854
+ function Zr(e, t, r) {
3099
2855
  if (e > 2958465 || e < 0) return null;
3100
2856
  var n = e | 0, a = Math.floor(86400 * (e - n)), i = 0, s = [], o = { D: n, T: a, u: 86400 * (e - n) - a, y: 0, m: 0, d: 0, H: 0, M: 0, S: 0, q: 0 };
3101
2857
  if (Math.abs(o.u) < 1e-6 && (o.u = 0), t && t.date1904 && (n += 1462), o.u > 0.9999 && (o.u = 0, ++a == 86400 && (o.T = a = 0, ++n, ++o.D)), n === 60)
@@ -3109,28 +2865,28 @@ function en(e, t, r) {
3109
2865
  }
3110
2866
  return o.y = s[0], o.m = s[1], o.d = s[2], o.S = a % 60, a = Math.floor(a / 60), o.M = a % 60, a = Math.floor(a / 60), o.H = a, o.q = i, o;
3111
2867
  }
3112
- var es = /* @__PURE__ */ new Date(1899, 11, 31, 0, 0, 0), tf = /* @__PURE__ */ es.getTime(), rf = /* @__PURE__ */ new Date(1900, 2, 1, 0, 0, 0);
3113
- function ts(e, t) {
2868
+ var ts = /* @__PURE__ */ new Date(1899, 11, 31, 0, 0, 0), tf = /* @__PURE__ */ ts.getTime(), rf = /* @__PURE__ */ new Date(1900, 2, 1, 0, 0, 0);
2869
+ function rs(e, t) {
3114
2870
  var r = /* @__PURE__ */ e.getTime();
3115
- return t ? r -= 1461 * 24 * 60 * 60 * 1e3 : e >= rf && (r += 1440 * 60 * 1e3), (r - (tf + (/* @__PURE__ */ e.getTimezoneOffset() - /* @__PURE__ */ es.getTimezoneOffset()) * 6e4)) / (1440 * 60 * 1e3);
2871
+ return t ? r -= 1461 * 24 * 60 * 60 * 1e3 : e >= rf && (r += 1440 * 60 * 1e3), (r - (tf + (/* @__PURE__ */ e.getTimezoneOffset() - /* @__PURE__ */ ts.getTimezoneOffset()) * 6e4)) / (1440 * 60 * 1e3);
3116
2872
  }
3117
- function ua(e) {
2873
+ function ha(e) {
3118
2874
  return e.indexOf(".") == -1 ? e : e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/, "$1");
3119
2875
  }
3120
2876
  function nf(e) {
3121
2877
  return e.indexOf("E") == -1 ? e : e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/, "$1E").replace(/(E[+-])(\d)$/, "$10$2");
3122
2878
  }
3123
2879
  function af(e) {
3124
- var t = e < 0 ? 12 : 11, r = ua(e.toFixed(12));
2880
+ var t = e < 0 ? 12 : 11, r = ha(e.toFixed(12));
3125
2881
  return r.length <= t || (r = e.toPrecision(10), r.length <= t) ? r : e.toExponential(5);
3126
2882
  }
3127
2883
  function sf(e) {
3128
- var t = ua(e.toFixed(11));
2884
+ var t = ha(e.toFixed(11));
3129
2885
  return t.length > (e < 0 ? 12 : 11) || t === "0" || t === "-0" ? e.toPrecision(6) : t;
3130
2886
  }
3131
2887
  function of(e) {
3132
2888
  var t = Math.floor(Math.log(Math.abs(e)) * Math.LOG10E), r;
3133
- return t >= -4 && t <= -1 ? r = e.toPrecision(10 + t) : Math.abs(t) <= 9 ? r = af(e) : t === 10 ? r = e.toFixed(10).substr(0, 12) : r = sf(e), ua(nf(r.toUpperCase()));
2889
+ return t >= -4 && t <= -1 ? r = e.toPrecision(10 + t) : Math.abs(t) <= 9 ? r = af(e) : t === 10 ? r = e.toFixed(10).substr(0, 12) : r = sf(e), ha(nf(r.toUpperCase()));
3134
2890
  }
3135
2891
  function aa(e, t) {
3136
2892
  switch (typeof e) {
@@ -3144,7 +2900,7 @@ function aa(e, t) {
3144
2900
  return "";
3145
2901
  case "object":
3146
2902
  if (e == null) return "";
3147
- if (e instanceof Date) return Bt(14, ts(e, t && t.date1904), t);
2903
+ if (e instanceof Date) return Bt(14, rs(e, t && t.date1904), t);
3148
2904
  }
3149
2905
  throw new Error("unsupported value in General format: " + e);
3150
2906
  }
@@ -3177,11 +2933,11 @@ function lf(e, t, r, n) {
3177
2933
  l = r.m, f = t.length;
3178
2934
  break;
3179
2935
  case 3:
3180
- return Gn[r.m - 1][1];
2936
+ return Yn[r.m - 1][1];
3181
2937
  case 5:
3182
- return Gn[r.m - 1][0];
2938
+ return Yn[r.m - 1][0];
3183
2939
  default:
3184
- return Gn[r.m - 1][2];
2940
+ return Yn[r.m - 1][2];
3185
2941
  }
3186
2942
  break;
3187
2943
  case 100:
@@ -3191,9 +2947,9 @@ function lf(e, t, r, n) {
3191
2947
  l = r.d, f = t.length;
3192
2948
  break;
3193
2949
  case 3:
3194
- return ai[r.q][0];
2950
+ return ii[r.q][0];
3195
2951
  default:
3196
- return ai[r.q][1];
2952
+ return ii[r.q][1];
3197
2953
  }
3198
2954
  break;
3199
2955
  case 104:
@@ -3261,20 +3017,20 @@ function Mt(e) {
3261
3017
  for (var r = e.length % t, n = e.substr(0, r); r != e.length; r += t) n += (n.length > 0 ? "," : "") + e.substr(r, t);
3262
3018
  return n;
3263
3019
  }
3264
- var rs = /%/g;
3020
+ var ns = /%/g;
3265
3021
  function cf(e, t, r) {
3266
- var n = t.replace(rs, ""), a = t.length - n.length;
3022
+ var n = t.replace(ns, ""), a = t.length - n.length;
3267
3023
  return Ct(e, n, r * Math.pow(10, 2 * a)) + Pe("%", a);
3268
3024
  }
3269
3025
  function uf(e, t, r) {
3270
3026
  for (var n = t.length - 1; t.charCodeAt(n - 1) === 44; ) --n;
3271
3027
  return Ct(e, t.substr(0, n), r / Math.pow(10, 3 * (t.length - n)));
3272
3028
  }
3273
- function ns(e, t) {
3029
+ function as(e, t) {
3274
3030
  var r, n = e.indexOf("E") - e.indexOf(".") - 1;
3275
3031
  if (e.match(/^#+0.0E\+0$/)) {
3276
3032
  if (t == 0) return "0.0E+0";
3277
- if (t < 0) return "-" + ns(e, -t);
3033
+ if (t < 0) return "-" + as(e, -t);
3278
3034
  var a = e.indexOf(".");
3279
3035
  a === -1 && (a = e.indexOf("E"));
3280
3036
  var i = Math.floor(Math.log(t) * Math.LOG10E) % a;
@@ -3290,15 +3046,15 @@ function ns(e, t) {
3290
3046
  } else r = t.toExponential(n);
3291
3047
  return e.match(/E\+00$/) && r.match(/e[+-]\d$/) && (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)), e.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")), r.replace("e", "E");
3292
3048
  }
3293
- var as = /# (\?+)( ?)\/( ?)(\d+)/;
3049
+ var is = /# (\?+)( ?)\/( ?)(\d+)/;
3294
3050
  function hf(e, t, r) {
3295
3051
  var n = parseInt(e[4], 10), a = Math.round(t * n), i = Math.floor(a / n), s = a - i * n, o = n;
3296
- return r + (i === 0 ? "" : "" + i) + " " + (s === 0 ? Pe(" ", e[1].length + 1 + e[4].length) : ca(s, e[1].length) + e[2] + "/" + e[3] + wt(o, e[4].length));
3052
+ return r + (i === 0 ? "" : "" + i) + " " + (s === 0 ? Pe(" ", e[1].length + 1 + e[4].length) : ua(s, e[1].length) + e[2] + "/" + e[3] + wt(o, e[4].length));
3297
3053
  }
3298
3054
  function df(e, t, r) {
3299
3055
  return r + (t === 0 ? "" : "" + t) + Pe(" ", e[1].length + 2 + e[4].length);
3300
3056
  }
3301
- var is = /^#*0*\.([0#]+)/, ss = /\).*[0#]/, os = /\(###\) ###\\?-####/;
3057
+ var ss = /^#*0*\.([0#]+)/, os = /\).*[0#]/, fs = /\(###\) ###\\?-####/;
3302
3058
  function Ze(e) {
3303
3059
  for (var t = "", r, n = 0; n != e.length; ++n) switch (r = e.charCodeAt(n)) {
3304
3060
  case 35:
@@ -3314,11 +3070,11 @@ function Ze(e) {
3314
3070
  }
3315
3071
  return t;
3316
3072
  }
3317
- function si(e, t) {
3073
+ function oi(e, t) {
3318
3074
  var r = Math.pow(10, t);
3319
3075
  return "" + Math.round(e * r) / r;
3320
3076
  }
3321
- function oi(e, t) {
3077
+ function fi(e, t) {
3322
3078
  var r = e - Math.floor(e), n = Math.pow(10, t);
3323
3079
  return t < ("" + Math.round(r * n)).length ? 0 : Math.round(r * n);
3324
3080
  }
@@ -3329,38 +3085,38 @@ function gf(e) {
3329
3085
  return e < 2147483647 && e > -2147483648 ? "" + (e >= 0 ? e | 0 : e - 1 | 0) : "" + Math.floor(e);
3330
3086
  }
3331
3087
  function ht(e, t, r) {
3332
- if (e.charCodeAt(0) === 40 && !t.match(ss)) {
3088
+ if (e.charCodeAt(0) === 40 && !t.match(os)) {
3333
3089
  var n = t.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
3334
3090
  return r >= 0 ? ht("n", n, r) : "(" + ht("n", n, -r) + ")";
3335
3091
  }
3336
3092
  if (t.charCodeAt(t.length - 1) === 44) return uf(e, t, r);
3337
3093
  if (t.indexOf("%") !== -1) return cf(e, t, r);
3338
- if (t.indexOf("E") !== -1) return ns(t, r);
3094
+ if (t.indexOf("E") !== -1) return as(t, r);
3339
3095
  if (t.charCodeAt(0) === 36) return "$" + ht(e, t.substr(t.charAt(1) == " " ? 2 : 1), r);
3340
3096
  var a, i, s, o, l = Math.abs(r), f = r < 0 ? "-" : "";
3341
3097
  if (t.match(/^00+$/)) return f + ar(l, t.length);
3342
3098
  if (t.match(/^[#?]+$/))
3343
3099
  return a = ar(r, 0), a === "0" && (a = ""), a.length > t.length ? a : Ze(t.substr(0, t.length - a.length)) + a;
3344
- if (i = t.match(as)) return hf(i, l, f);
3100
+ if (i = t.match(is)) return hf(i, l, f);
3345
3101
  if (t.match(/^#+0+$/)) return f + ar(l, t.length - t.indexOf("0"));
3346
- if (i = t.match(is))
3347
- return a = si(r, i[1].length).replace(/^([^\.]+)$/, "$1." + Ze(i[1])).replace(/\.$/, "." + Ze(i[1])).replace(/\.(\d*)$/, function(p, h) {
3102
+ if (i = t.match(ss))
3103
+ return a = oi(r, i[1].length).replace(/^([^\.]+)$/, "$1." + Ze(i[1])).replace(/\.$/, "." + Ze(i[1])).replace(/\.(\d*)$/, function(p, h) {
3348
3104
  return "." + h + Pe("0", Ze(
3349
3105
  /*::(*/
3350
3106
  i[1]
3351
3107
  ).length - h.length);
3352
3108
  }), t.indexOf("0.") !== -1 ? a : a.replace(/^0\./, ".");
3353
3109
  if (t = t.replace(/^#+([0.])/, "$1"), i = t.match(/^(0*)\.(#*)$/))
3354
- return f + si(l, i[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, i[1].length ? "0." : ".");
3110
+ return f + oi(l, i[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, i[1].length ? "0." : ".");
3355
3111
  if (i = t.match(/^#{1,3},##0(\.?)$/)) return f + Mt(ar(l, 0));
3356
3112
  if (i = t.match(/^#,##0\.([#0]*0)$/))
3357
- return r < 0 ? "-" + ht(e, t, -r) : Mt("" + (Math.floor(r) + mf(r, i[1].length))) + "." + wt(oi(r, i[1].length), i[1].length);
3113
+ return r < 0 ? "-" + ht(e, t, -r) : Mt("" + (Math.floor(r) + mf(r, i[1].length))) + "." + wt(fi(r, i[1].length), i[1].length);
3358
3114
  if (i = t.match(/^#,#*,#0/)) return ht(e, t.replace(/^#,#*,/, ""), r);
3359
3115
  if (i = t.match(/^([0#]+)(\\?-([0#]+))+$/))
3360
3116
  return a = lr(ht(e, t.replace(/[\\-]/g, ""), r)), s = 0, lr(lr(t.replace(/\\/g, "")).replace(/[0#]/g, function(p) {
3361
3117
  return s < a.length ? a.charAt(s++) : p === "0" ? "0" : "";
3362
3118
  }));
3363
- if (t.match(os))
3119
+ if (t.match(fs))
3364
3120
  return a = ht(e, "##########", r), "(" + a.substr(0, 3) + ") " + a.substr(3, 3) + "-" + a.substr(6);
3365
3121
  var c = "";
3366
3122
  if (i = t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))
@@ -3377,7 +3133,7 @@ function ht(e, t, r) {
3377
3133
  i[2] + "/" + /*::String(*/
3378
3134
  i[3], c = xn(o[2], s), c.length < i[4].length && (c = Ze(i[4].substr(i[4].length - c.length)) + c), a += c, a;
3379
3135
  if (i = t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))
3380
- return s = Math.min(Math.max(i[1].length, i[4].length), 7), o = wn(l, Math.pow(10, s) - 1, !0), f + (o[0] || (o[1] ? "" : "0")) + " " + (o[1] ? ca(o[1], s) + i[2] + "/" + i[3] + xn(o[2], s) : Pe(" ", 2 * s + 1 + i[2].length + i[3].length));
3136
+ return s = Math.min(Math.max(i[1].length, i[4].length), 7), o = wn(l, Math.pow(10, s) - 1, !0), f + (o[0] || (o[1] ? "" : "0")) + " " + (o[1] ? ua(o[1], s) + i[2] + "/" + i[3] + xn(o[2], s) : Pe(" ", 2 * s + 1 + i[2].length + i[3].length));
3381
3137
  if (i = t.match(/^[#0?]+$/))
3382
3138
  return a = ar(r, 0), t.length <= a.length ? a : Ze(t.substr(0, t.length - a.length)) + a;
3383
3139
  if (i = t.match(/^([#0?]+)\.([#0]+)$/)) {
@@ -3386,7 +3142,7 @@ function ht(e, t, r) {
3386
3142
  return Ze(t.substr(0, u) + a + t.substr(t.length - d));
3387
3143
  }
3388
3144
  if (i = t.match(/^00,000\.([#0]*0)$/))
3389
- return s = oi(r, i[1].length), r < 0 ? "-" + ht(e, t, -r) : Mt(gf(r)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(p) {
3145
+ return s = fi(r, i[1].length), r < 0 ? "-" + ht(e, t, -r) : Mt(gf(r)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(p) {
3390
3146
  return "00," + (p.length < 3 ? wt(0, 3 - p.length) : "") + p;
3391
3147
  }) + "." + wt(s, i[1].length);
3392
3148
  switch (t) {
@@ -3409,14 +3165,14 @@ function pf(e, t, r) {
3409
3165
  return Ct(e, t.substr(0, n), r / Math.pow(10, 3 * (t.length - n)));
3410
3166
  }
3411
3167
  function xf(e, t, r) {
3412
- var n = t.replace(rs, ""), a = t.length - n.length;
3168
+ var n = t.replace(ns, ""), a = t.length - n.length;
3413
3169
  return Ct(e, n, r * Math.pow(10, 2 * a)) + Pe("%", a);
3414
3170
  }
3415
- function fs(e, t) {
3171
+ function ls(e, t) {
3416
3172
  var r, n = e.indexOf("E") - e.indexOf(".") - 1;
3417
3173
  if (e.match(/^#+0.0E\+0$/)) {
3418
3174
  if (t == 0) return "0.0E+0";
3419
- if (t < 0) return "-" + fs(e, -t);
3175
+ if (t < 0) return "-" + ls(e, -t);
3420
3176
  var a = e.indexOf(".");
3421
3177
  a === -1 && (a = e.indexOf("E"));
3422
3178
  var i = Math.floor(Math.log(t) * Math.LOG10E) % a;
@@ -3431,21 +3187,21 @@ function fs(e, t) {
3431
3187
  return e.match(/E\+00$/) && r.match(/e[+-]\d$/) && (r = r.substr(0, r.length - 1) + "0" + r.charAt(r.length - 1)), e.match(/E\-/) && r.match(/e\+/) && (r = r.replace(/e\+/, "e")), r.replace("e", "E");
3432
3188
  }
3433
3189
  function Tt(e, t, r) {
3434
- if (e.charCodeAt(0) === 40 && !t.match(ss)) {
3190
+ if (e.charCodeAt(0) === 40 && !t.match(os)) {
3435
3191
  var n = t.replace(/\( */, "").replace(/ \)/, "").replace(/\)/, "");
3436
3192
  return r >= 0 ? Tt("n", n, r) : "(" + Tt("n", n, -r) + ")";
3437
3193
  }
3438
3194
  if (t.charCodeAt(t.length - 1) === 44) return pf(e, t, r);
3439
3195
  if (t.indexOf("%") !== -1) return xf(e, t, r);
3440
- if (t.indexOf("E") !== -1) return fs(t, r);
3196
+ if (t.indexOf("E") !== -1) return ls(t, r);
3441
3197
  if (t.charCodeAt(0) === 36) return "$" + Tt(e, t.substr(t.charAt(1) == " " ? 2 : 1), r);
3442
3198
  var a, i, s, o, l = Math.abs(r), f = r < 0 ? "-" : "";
3443
3199
  if (t.match(/^00+$/)) return f + wt(l, t.length);
3444
3200
  if (t.match(/^[#?]+$/))
3445
3201
  return a = "" + r, r === 0 && (a = ""), a.length > t.length ? a : Ze(t.substr(0, t.length - a.length)) + a;
3446
- if (i = t.match(as)) return df(i, l, f);
3202
+ if (i = t.match(is)) return df(i, l, f);
3447
3203
  if (t.match(/^#+0+$/)) return f + wt(l, t.length - t.indexOf("0"));
3448
- if (i = t.match(is))
3204
+ if (i = t.match(ss))
3449
3205
  return a = ("" + r).replace(/^([^\.]+)$/, "$1." + Ze(i[1])).replace(/\.$/, "." + Ze(i[1])), a = a.replace(/\.(\d*)$/, function(p, h) {
3450
3206
  return "." + h + Pe("0", Ze(i[1]).length - h.length);
3451
3207
  }), t.indexOf("0.") !== -1 ? a : a.replace(/^0\./, ".");
@@ -3459,7 +3215,7 @@ function Tt(e, t, r) {
3459
3215
  return a = lr(Tt(e, t.replace(/[\\-]/g, ""), r)), s = 0, lr(lr(t.replace(/\\/g, "")).replace(/[0#]/g, function(p) {
3460
3216
  return s < a.length ? a.charAt(s++) : p === "0" ? "0" : "";
3461
3217
  }));
3462
- if (t.match(os))
3218
+ if (t.match(fs))
3463
3219
  return a = Tt(e, "##########", r), "(" + a.substr(0, 3) + ") " + a.substr(3, 3) + "-" + a.substr(6);
3464
3220
  var c = "";
3465
3221
  if (i = t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))
@@ -3476,7 +3232,7 @@ function Tt(e, t, r) {
3476
3232
  i[2] + "/" + /*::String(*/
3477
3233
  i[3], c = xn(o[2], s), c.length < i[4].length && (c = Ze(i[4].substr(i[4].length - c.length)) + c), a += c, a;
3478
3234
  if (i = t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))
3479
- return s = Math.min(Math.max(i[1].length, i[4].length), 7), o = wn(l, Math.pow(10, s) - 1, !0), f + (o[0] || (o[1] ? "" : "0")) + " " + (o[1] ? ca(o[1], s) + i[2] + "/" + i[3] + xn(o[2], s) : Pe(" ", 2 * s + 1 + i[2].length + i[3].length));
3235
+ return s = Math.min(Math.max(i[1].length, i[4].length), 7), o = wn(l, Math.pow(10, s) - 1, !0), f + (o[0] || (o[1] ? "" : "0")) + " " + (o[1] ? ua(o[1], s) + i[2] + "/" + i[3] + xn(o[2], s) : Pe(" ", 2 * s + 1 + i[2].length + i[3].length));
3480
3236
  if (i = t.match(/^[#0?]+$/))
3481
3237
  return a = "" + r, t.length <= a.length ? a : Ze(t.substr(0, t.length - a.length)) + a;
3482
3238
  if (i = t.match(/^([#0]+)\.([#0]+)$/)) {
@@ -3521,8 +3277,8 @@ function vf(e) {
3521
3277
  if (t[t.length] = e.substr(a), r === !0) throw new Error("Format |" + e + "| unterminated string ");
3522
3278
  return t;
3523
3279
  }
3524
- var ls = /\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;
3525
- function cs(e) {
3280
+ var cs = /\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;
3281
+ function us(e) {
3526
3282
  for (var t = 0, r = "", n = ""; t < e.length; )
3527
3283
  switch (r = e.charAt(t)) {
3528
3284
  case "G":
@@ -3573,7 +3329,7 @@ function cs(e) {
3573
3329
  break;
3574
3330
  case "[":
3575
3331
  for (n = r; e.charAt(t++) !== "]" && t < e.length; ) n += e.charAt(t);
3576
- if (n.match(ls)) return !0;
3332
+ if (n.match(cs)) return !0;
3577
3333
  break;
3578
3334
  case ".":
3579
3335
  /* falls through */
@@ -3638,7 +3394,7 @@ function wf(e, t, r, n) {
3638
3394
  case "B":
3639
3395
  case "b":
3640
3396
  if (e.charAt(s + 1) === "1" || e.charAt(s + 1) === "2") {
3641
- if (f == null && (f = en(t, r, e.charAt(s + 1) === "2"), f == null))
3397
+ if (f == null && (f = Zr(t, r, e.charAt(s + 1) === "2"), f == null))
3642
3398
  return "";
3643
3399
  a[a.length] = { t: "X", v: e.substr(s, 2) }, l = o, s += 2;
3644
3400
  break;
@@ -3659,7 +3415,7 @@ function wf(e, t, r, n) {
3659
3415
  case "s":
3660
3416
  case "e":
3661
3417
  case "g":
3662
- if (t < 0 || f == null && (f = en(t, r), f == null))
3418
+ if (t < 0 || f == null && (f = Zr(t, r), f == null))
3663
3419
  return "";
3664
3420
  for (i = o; ++s < e.length && e.charAt(s).toLowerCase() === o; ) i += o;
3665
3421
  o === "m" && l.toLowerCase() === "h" && (o = "M"), o === "h" && (o = d), a[a.length] = { t: o, v: i }, l = o;
@@ -3668,17 +3424,17 @@ function wf(e, t, r, n) {
3668
3424
  case "a":
3669
3425
  case "上":
3670
3426
  var h = { t: o, v: o };
3671
- if (f == null && (f = en(t, r)), e.substr(s, 3).toUpperCase() === "A/P" ? (f != null && (h.v = f.H >= 12 ? "P" : "A"), h.t = "T", d = "h", s += 3) : e.substr(s, 5).toUpperCase() === "AM/PM" ? (f != null && (h.v = f.H >= 12 ? "PM" : "AM"), h.t = "T", s += 5, d = "h") : e.substr(s, 5).toUpperCase() === "上午/下午" ? (f != null && (h.v = f.H >= 12 ? "下午" : "上午"), h.t = "T", s += 5, d = "h") : (h.t = "t", ++s), f == null && h.t === "T") return "";
3427
+ if (f == null && (f = Zr(t, r)), e.substr(s, 3).toUpperCase() === "A/P" ? (f != null && (h.v = f.H >= 12 ? "P" : "A"), h.t = "T", d = "h", s += 3) : e.substr(s, 5).toUpperCase() === "AM/PM" ? (f != null && (h.v = f.H >= 12 ? "PM" : "AM"), h.t = "T", s += 5, d = "h") : e.substr(s, 5).toUpperCase() === "上午/下午" ? (f != null && (h.v = f.H >= 12 ? "下午" : "上午"), h.t = "T", s += 5, d = "h") : (h.t = "t", ++s), f == null && h.t === "T") return "";
3672
3428
  a[a.length] = h, l = o;
3673
3429
  break;
3674
3430
  case "[":
3675
3431
  for (i = o; e.charAt(s++) !== "]" && s < e.length; ) i += e.charAt(s);
3676
3432
  if (i.slice(-1) !== "]") throw 'unterminated "[" block: |' + i + "|";
3677
- if (i.match(ls)) {
3678
- if (f == null && (f = en(t, r), f == null))
3433
+ if (i.match(cs)) {
3434
+ if (f == null && (f = Zr(t, r), f == null))
3679
3435
  return "";
3680
3436
  a[a.length] = { t: "Z", v: i.toLowerCase() }, l = i.charAt(1);
3681
- } else i.indexOf("$") > -1 && (i = (i.match(/\$([^-\[\]]*)/) || [])[1] || "$", cs(e) || (a[a.length] = { t: "t", v: i }));
3437
+ } else i.indexOf("$") > -1 && (i = (i.match(/\$([^-\[\]]*)/) || [])[1] || "$", us(e) || (a[a.length] = { t: "t", v: i }));
3682
3438
  break;
3683
3439
  /* Numbers */
3684
3440
  case ".":
@@ -3828,8 +3584,8 @@ function wf(e, t, r, n) {
3828
3584
  for (s = 0; s !== a.length; ++s) a[s] != null && (b += a[s].v);
3829
3585
  return b;
3830
3586
  }
3831
- var fi = /\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;
3832
- function li(e, t) {
3587
+ var li = /\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;
3588
+ function ci(e, t) {
3833
3589
  if (t == null) return !1;
3834
3590
  var r = parseFloat(t[2]);
3835
3591
  switch (t[1]) {
@@ -3872,8 +3628,8 @@ function _f(e, t) {
3872
3628
  var i = t > 0 ? r[0] : t < 0 ? r[1] : r[2];
3873
3629
  if (r[0].indexOf("[") === -1 && r[1].indexOf("[") === -1) return [n, i];
3874
3630
  if (r[0].match(/\[[=<>]/) != null || r[1].match(/\[[=<>]/) != null) {
3875
- var s = r[0].match(fi), o = r[1].match(fi);
3876
- return li(t, s) ? [n, r[0]] : li(t, o) ? [n, r[1]] : [n, r[s != null && o != null ? 2 : 1]];
3631
+ var s = r[0].match(li), o = r[1].match(li);
3632
+ return ci(t, s) ? [n, r[0]] : ci(t, o) ? [n, r[1]] : [n, r[s != null && o != null ? 2 : 1]];
3877
3633
  }
3878
3634
  return [n, i];
3879
3635
  }
@@ -3885,11 +3641,11 @@ function Bt(e, t, r) {
3885
3641
  e == "m/d/yy" && r.dateNF ? n = r.dateNF : n = e;
3886
3642
  break;
3887
3643
  case "number":
3888
- e == 14 && r.dateNF ? n = r.dateNF : n = (r.table != null ? r.table : Ne)[e], n == null && (n = r.table && r.table[ii[e]] || Ne[ii[e]]), n == null && (n = ef[e] || "General");
3644
+ e == 14 && r.dateNF ? n = r.dateNF : n = (r.table != null ? r.table : Ne)[e], n == null && (n = r.table && r.table[si[e]] || Ne[si[e]]), n == null && (n = ef[e] || "General");
3889
3645
  break;
3890
3646
  }
3891
3647
  if (vn(n, 0)) return aa(t, r);
3892
- t instanceof Date && (t = ts(t, r.date1904));
3648
+ t instanceof Date && (t = rs(t, r.date1904));
3893
3649
  var a = _f(n, t);
3894
3650
  if (vn(a[1])) return aa(t, r);
3895
3651
  if (t === !0) t = "TRUE";
@@ -3897,7 +3653,7 @@ function Bt(e, t, r) {
3897
3653
  else if (t === "" || t == null) return "";
3898
3654
  return wf(a[1], t, r, a[0]);
3899
3655
  }
3900
- function us(e, t) {
3656
+ function hs(e, t) {
3901
3657
  if (typeof t != "number") {
3902
3658
  t = +t || -1;
3903
3659
  for (var r = 0; r < 392; ++r) {
@@ -3916,19 +3672,19 @@ function us(e, t) {
3916
3672
  }
3917
3673
  function Rn(e) {
3918
3674
  for (var t = 0; t != 392; ++t)
3919
- e[t] !== void 0 && us(e[t], t);
3675
+ e[t] !== void 0 && hs(e[t], t);
3920
3676
  }
3921
3677
  function Pn() {
3922
3678
  Ne = Z0();
3923
3679
  }
3924
- var hs = /[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;
3680
+ var ds = /[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;
3925
3681
  function Tf(e) {
3926
3682
  var t = typeof e == "number" ? Ne[e] : e;
3927
- return t = t.replace(hs, "(\\d+)"), new RegExp("^" + t + "$");
3683
+ return t = t.replace(ds, "(\\d+)"), new RegExp("^" + t + "$");
3928
3684
  }
3929
3685
  function Ef(e, t, r) {
3930
3686
  var n = -1, a = -1, i = -1, s = -1, o = -1, l = -1;
3931
- (t.match(hs) || []).forEach(function(u, d) {
3687
+ (t.match(ds) || []).forEach(function(u, d) {
3932
3688
  var m = parseInt(r[d + 1], 10);
3933
3689
  switch (u.toLowerCase().charAt(0)) {
3934
3690
  case "y":
@@ -4046,8 +3802,8 @@ var yf = /* @__PURE__ */ (function() {
4046
3802
  return l || (l = {});
4047
3803
  }
4048
3804
  function c(g, T) {
4049
- if (g[0] == 80 && g[1] == 75) return Ua(g, T);
4050
- if ((g[0] | 32) == 109 && (g[1] | 32) == 105) return Yo(g, T);
3805
+ if (g[0] == 80 && g[1] == 75) return Ha(g, T);
3806
+ if ((g[0] | 32) == 109 && (g[1] | 32) == 105) return Go(g, T);
4051
3807
  if (g.length < 512) throw new Error("CFB file size " + g.length + " < 512");
4052
3808
  var v = 3, w = 512, y = 0, S = 0, V = 0, X = 0, W = 0, z = [], Y = (
4053
3809
  /*::(*/
@@ -4063,7 +3819,7 @@ var yf = /* @__PURE__ */ (function() {
4063
3819
  w = 4096;
4064
3820
  break;
4065
3821
  case 0:
4066
- if (te[1] == 0) return Ua(g, T);
3822
+ if (te[1] == 0) return Ha(g, T);
4067
3823
  /* falls through */
4068
3824
  default:
4069
3825
  throw new Error("Major Version: Expected 3 or 4 saw " + v);
@@ -4161,7 +3917,7 @@ var yf = /* @__PURE__ */ (function() {
4161
3917
  if (!g[Y]) break;
4162
3918
  W = Yt(g[Y], z);
4163
3919
  }
4164
- return { nodes: S, data: xi([V]) };
3920
+ return { nodes: S, data: vi([V]) };
4165
3921
  }
4166
3922
  function L(g, T, v, w) {
4167
3923
  var y = g.length, S = [], V = [], X = [], W = [], z = w - 1, Y = 0, te = 0, fe = 0, de = 0;
@@ -4175,7 +3931,7 @@ var yf = /* @__PURE__ */ (function() {
4175
3931
  if (de = te * 4 & z, w < 4 + de) throw new Error("FAT boundary crossed: " + te + " 4 " + w);
4176
3932
  if (!g[he] || (te = Yt(g[he], de), ne[te])) break;
4177
3933
  }
4178
- S[fe] = { nodes: X, data: xi([W]) };
3934
+ S[fe] = { nodes: X, data: vi([W]) };
4179
3935
  }
4180
3936
  return S;
4181
3937
  }
@@ -4185,7 +3941,7 @@ var yf = /* @__PURE__ */ (function() {
4185
3941
  /*::(*/
4186
3942
  Y.slice(te, te + 128)
4187
3943
  );
4188
- ft(ne, 64), fe = ne.read_shift(2), de = pa(ne, 0, fe - z), w.push(de);
3944
+ ft(ne, 64), fe = ne.read_shift(2), de = xa(ne, 0, fe - z), w.push(de);
4189
3945
  var he = {
4190
3946
  name: de,
4191
3947
  type: ne.read_shift(1),
@@ -4289,10 +4045,10 @@ var yf = /* @__PURE__ */ (function() {
4289
4045
  }
4290
4046
  function b(g, T) {
4291
4047
  var v = T || {};
4292
- if (v.fileType == "mad") return Go(g, v);
4048
+ if (v.fileType == "mad") return jo(g, v);
4293
4049
  switch (R(g), v.fileType) {
4294
4050
  case "zip":
4295
- return Uo(g, v);
4051
+ return Ho(g, v);
4296
4052
  }
4297
4053
  var w = (function(de) {
4298
4054
  for (var ne = 0, he = 0, we = 0; we < de.FileIndex.length; ++we) {
@@ -4376,9 +4132,9 @@ var yf = /* @__PURE__ */ (function() {
4376
4132
  T.charCodeAt(0) === 47 ? (y = !0, T = v[0].slice(0, -1) + T) : y = T.indexOf("/") !== -1;
4377
4133
  var S = T.toUpperCase(), V = y === !0 ? v.indexOf(S) : w.indexOf(S);
4378
4134
  if (V !== -1) return g.FileIndex[V];
4379
- var X = !S.match(Zr);
4380
- for (S = S.replace(Cr, ""), X && (S = S.replace(Zr, "!")), V = 0; V < v.length; ++V)
4381
- if ((X ? v[V].replace(Zr, "!") : v[V]).replace(Cr, "") == S || (X ? w[V].replace(Zr, "!") : w[V]).replace(Cr, "") == S) return g.FileIndex[V];
4135
+ var X = !S.match(Qr);
4136
+ for (S = S.replace(Cr, ""), X && (S = S.replace(Qr, "!")), V = 0; V < v.length; ++V)
4137
+ if ((X ? v[V].replace(Qr, "!") : v[V]).replace(Cr, "") == S || (X ? w[V].replace(Qr, "!") : w[V]).replace(Cr, "") == S) return g.FileIndex[V];
4382
4138
  return null;
4383
4139
  }
4384
4140
  var H = 64, F = -2, U = "d0cf11e0a1b11ae1", I = [208, 207, 17, 224, 161, 177, 26, 225], N = "00000000000000000000000000000000", j = {
@@ -4434,12 +4190,12 @@ var yf = /* @__PURE__ */ (function() {
4434
4190
  }
4435
4191
  }
4436
4192
  function A(g, T) {
4437
- if (!le) return Ma(g, T);
4193
+ if (!le) return Ba(g, T);
4438
4194
  var v = le.InflateRaw, w = new v(), y = w._processChunk(g.slice(g.l), w._finishFlushFlag);
4439
4195
  return g.l += w.bytesRead, y;
4440
4196
  }
4441
4197
  function O(g) {
4442
- return le ? le.deflateRawSync(g) : ka(g);
4198
+ return le ? le.deflateRawSync(g) : Ra(g);
4443
4199
  }
4444
4200
  var k = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], J = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258], ce = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577];
4445
4201
  function ue(g) {
@@ -4495,7 +4251,7 @@ var yf = /* @__PURE__ */ (function() {
4495
4251
  var v = g.length, w = 2 * v > T ? 2 * v : T + 5, y = 0;
4496
4252
  if (v >= T) return g;
4497
4253
  if (ye) {
4498
- var S = ri(w);
4254
+ var S = ni(w);
4499
4255
  if (g.copy) g.copy(S);
4500
4256
  else for (; y < g.length; ++y) S[y] = g[y];
4501
4257
  return S;
@@ -4544,7 +4300,7 @@ var yf = /* @__PURE__ */ (function() {
4544
4300
  for (; T <= 287; T++) v.push(8);
4545
4301
  tr(v, wr, 288);
4546
4302
  })();
4547
- var No = /* @__PURE__ */ (function() {
4303
+ var Io = /* @__PURE__ */ (function() {
4548
4304
  for (var T = ie ? new Uint8Array(32768) : [], v = 0, w = 0; v < ce.length - 1; ++v)
4549
4305
  for (; w < ce[v + 1]; ++w) T[w] = v;
4550
4306
  for (; w < 32768; ++w) T[w] = 29;
@@ -4596,12 +4352,12 @@ var yf = /* @__PURE__ */ (function() {
4596
4352
  return W.length < 8 ? S(W, z) : V(W, z);
4597
4353
  };
4598
4354
  })();
4599
- function ka(g) {
4600
- var T = G(50 + Math.floor(g.length * 1.1)), v = No(g, T);
4355
+ function Ra(g) {
4356
+ var T = G(50 + Math.floor(g.length * 1.1)), v = Io(g, T);
4601
4357
  return T.slice(0, v);
4602
4358
  }
4603
- var Ra = ie ? new Uint16Array(32768) : nt(32768), Pa = ie ? new Uint16Array(32768) : nt(32768), La = ie ? new Uint16Array(128) : nt(128), Na = 1, Ia = 1;
4604
- function Io(g, T) {
4359
+ var Pa = ie ? new Uint16Array(32768) : nt(32768), La = ie ? new Uint16Array(32768) : nt(32768), Na = ie ? new Uint16Array(128) : nt(128), Ia = 1, Ma = 1;
4360
+ function Mo(g, T) {
4605
4361
  var v = be(g, T) + 257;
4606
4362
  T += 5;
4607
4363
  var w = be(g, T) + 1;
@@ -4617,11 +4373,11 @@ var yf = /* @__PURE__ */ (function() {
4617
4373
  for (fe = 0; fe < te; ++fe)
4618
4374
  if (ne = V[fe], ne != 0) {
4619
4375
  de = Z[X[fe]] >> 8 - ne;
4620
- for (var he = (1 << 7 - ne) - 1; he >= 0; --he) La[de | he << ne] = ne & 7 | fe << 3;
4376
+ for (var he = (1 << 7 - ne) - 1; he >= 0; --he) Na[de | he << ne] = ne & 7 | fe << 3;
4621
4377
  }
4622
4378
  var we = [];
4623
4379
  for (W = 1; we.length < v + w; )
4624
- switch (de = La[me(g, T)], T += de & 7, de >>>= 3) {
4380
+ switch (de = Na[me(g, T)], T += de & 7, de >>>= 3) {
4625
4381
  case 16:
4626
4382
  for (S = 3 + pe(g, T), T += 2, de = we[we.length - 1]; S-- > 0; ) we.push(de);
4627
4383
  break;
@@ -4638,14 +4394,14 @@ var yf = /* @__PURE__ */ (function() {
4638
4394
  var ke = we.slice(0, v), Re = we.slice(v);
4639
4395
  for (fe = v; fe < 286; ++fe) ke[fe] = 0;
4640
4396
  for (fe = w; fe < 30; ++fe) Re[fe] = 0;
4641
- return Na = tr(ke, Ra, 286), Ia = tr(Re, Pa, 30), T;
4397
+ return Ia = tr(ke, Pa, 286), Ma = tr(Re, La, 30), T;
4642
4398
  }
4643
- function Mo(g, T) {
4399
+ function Bo(g, T) {
4644
4400
  if (g[0] == 3 && !(g[1] & 3))
4645
4401
  return [jt(T), 2];
4646
- for (var v = 0, w = 0, y = ri(T || 1 << 18), S = 0, V = y.length >>> 0, X = 0, W = 0; (w & 1) == 0; ) {
4402
+ for (var v = 0, w = 0, y = ni(T || 1 << 18), S = 0, V = y.length >>> 0, X = 0, W = 0; (w & 1) == 0; ) {
4647
4403
  if (w = Te(g, v), v += 3, w >>> 1)
4648
- w >> 1 == 1 ? (X = 9, W = 5) : (v = Io(g, v), X = Na, W = Ia);
4404
+ w >> 1 == 1 ? (X = 9, W = 5) : (v = Mo(g, v), X = Ia, W = Ma);
4649
4405
  else {
4650
4406
  v & 7 && (v += 8 - (v & 7));
4651
4407
  var z = g[v >>> 3] | g[(v >>> 3) + 1] << 8;
@@ -4656,7 +4412,7 @@ var yf = /* @__PURE__ */ (function() {
4656
4412
  }
4657
4413
  for (; ; ) {
4658
4414
  !T && V < S + 32767 && (y = vr(y, S + 32767), V = y.length);
4659
- var Y = rt(g, v, X), te = w >>> 1 == 1 ? wr[Y] : Ra[Y];
4415
+ var Y = rt(g, v, X), te = w >>> 1 == 1 ? wr[Y] : Pa[Y];
4660
4416
  if (v += te & 15, te >>>= 4, (te >>> 8 & 255) === 0) y[S++] = te;
4661
4417
  else {
4662
4418
  if (te == 256) break;
@@ -4664,7 +4420,7 @@ var yf = /* @__PURE__ */ (function() {
4664
4420
  var fe = te < 8 ? 0 : te - 4 >> 2;
4665
4421
  fe > 5 && (fe = 0);
4666
4422
  var de = S + J[te];
4667
- fe > 0 && (de += rt(g, v, fe), v += fe), Y = rt(g, v, W), te = w >>> 1 == 1 ? $n[Y] : Pa[Y], v += te & 15, te >>>= 4;
4423
+ fe > 0 && (de += rt(g, v, fe), v += fe), Y = rt(g, v, W), te = w >>> 1 == 1 ? $n[Y] : La[Y], v += te & 15, te >>>= 4;
4668
4424
  var ne = te < 4 ? 0 : te - 2 >> 1, he = ce[te];
4669
4425
  for (ne > 0 && (he += rt(g, v, ne), v += ne), !T && V < de && (y = vr(y, de + 100), V = y.length); S < de; )
4670
4426
  y[S] = y[S - he], ++S;
@@ -4673,16 +4429,16 @@ var yf = /* @__PURE__ */ (function() {
4673
4429
  }
4674
4430
  return T ? [y, v + 7 >>> 3] : [y.slice(0, S), v + 7 >>> 3];
4675
4431
  }
4676
- function Ma(g, T) {
4677
- var v = g.slice(g.l || 0), w = Mo(v, T);
4432
+ function Ba(g, T) {
4433
+ var v = g.slice(g.l || 0), w = Bo(v, T);
4678
4434
  return g.l += w[1], w[0];
4679
4435
  }
4680
- function Ba(g, T) {
4436
+ function Ua(g, T) {
4681
4437
  if (g)
4682
4438
  typeof console < "u" && console.error(T);
4683
4439
  else throw new Error(T);
4684
4440
  }
4685
- function Ua(g, T) {
4441
+ function Ha(g, T) {
4686
4442
  var v = (
4687
4443
  /*::(*/
4688
4444
  g
@@ -4709,11 +4465,11 @@ var yf = /* @__PURE__ */ (function() {
4709
4465
  );
4710
4466
  v.l += te + fe + de;
4711
4467
  var we = v.l;
4712
- v.l = ne + 4, Bo(v, z, Y, S, he), v.l = we;
4468
+ v.l = ne + 4, Uo(v, z, Y, S, he), v.l = we;
4713
4469
  }
4714
4470
  return S;
4715
4471
  }
4716
- function Bo(g, T, v, w, y) {
4472
+ function Uo(g, T, v, w, y) {
4717
4473
  g.l += 2;
4718
4474
  var S = g.read_shift(2), V = g.read_shift(2), X = s(g);
4719
4475
  if (S & 8257) throw new Error("Unsupported ZIP encryption");
@@ -4739,9 +4495,9 @@ var yf = /* @__PURE__ */ (function() {
4739
4495
  throw new Error("Unsupported ZIP Compression method " + V);
4740
4496
  }
4741
4497
  var ke = !1;
4742
- S & 8 && (W = g.read_shift(4), W == 134695760 && (W = g.read_shift(4), ke = !0), z = g.read_shift(4), Y = g.read_shift(4)), z != T && Ba(ke, "Bad compressed size: " + T + " != " + z), Y != v && Ba(ke, "Bad uncompressed size: " + v + " != " + Y), Wn(w, de, we, { unsafe: !0, mt: X });
4498
+ S & 8 && (W = g.read_shift(4), W == 134695760 && (W = g.read_shift(4), ke = !0), z = g.read_shift(4), Y = g.read_shift(4)), z != T && Ua(ke, "Bad compressed size: " + T + " != " + z), Y != v && Ua(ke, "Bad uncompressed size: " + v + " != " + Y), Wn(w, de, we, { unsafe: !0, mt: X });
4743
4499
  }
4744
- function Uo(g, T) {
4500
+ function Ho(g, T) {
4745
4501
  var v = T || {}, w = [], y = [], S = G(1), V = v.compression ? 8 : 0, X = 0, W = 0, z = 0, Y = 0, te = 0, fe = g.FullPaths[0], de = fe, ne = g.FileIndex[0], he = [], we = 0;
4746
4502
  for (W = 1; W < g.FullPaths.length; ++W)
4747
4503
  if (de = g.FullPaths[W].slice(fe.length), ne = g.FileIndex[W], !(!ne.size || !ne.content || de == "Sh33tJ5")) {
@@ -4775,18 +4531,18 @@ var yf = /* @__PURE__ */ (function() {
4775
4531
  thmx: "application/vnd.ms-officetheme",
4776
4532
  sh33tj5: "application/octet-stream"
4777
4533
  };
4778
- function Ho(g, T) {
4534
+ function $o(g, T) {
4779
4535
  if (g.ctype) return g.ctype;
4780
4536
  var v = g.name || "", w = v.match(/\.([^\.]+)$/);
4781
4537
  return w && Xr[w[1]] || T && (w = (v = T).match(/[\.\\]([^\.\\])+$/), w && Xr[w[1]]) ? Xr[w[1]] : "application/octet-stream";
4782
4538
  }
4783
- function $o(g) {
4539
+ function Wo(g) {
4784
4540
  for (var T = Mr(g), v = [], w = 0; w < T.length; w += 76) v.push(T.slice(w, w + 76));
4785
4541
  return v.join(`\r
4786
4542
  `) + `\r
4787
4543
  `;
4788
4544
  }
4789
- function Wo(g) {
4545
+ function Vo(g) {
4790
4546
  var T = g.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g, function(z) {
4791
4547
  var Y = z.charCodeAt(0).toString(16).toUpperCase();
4792
4548
  return "=" + (Y.length == 1 ? "0" + Y : Y);
@@ -4809,7 +4565,7 @@ var yf = /* @__PURE__ */ (function() {
4809
4565
  return v.join(`\r
4810
4566
  `);
4811
4567
  }
4812
- function Vo(g) {
4568
+ function zo(g) {
4813
4569
  for (var T = [], v = 0; v < g.length; ++v) {
4814
4570
  for (var w = g[v]; v <= g.length && w.charAt(w.length - 1) == "="; ) w = w.slice(0, w.length - 1) + g[++v];
4815
4571
  T.push(w);
@@ -4820,7 +4576,7 @@ var yf = /* @__PURE__ */ (function() {
4820
4576
  return vt(T.join(`\r
4821
4577
  `));
4822
4578
  }
4823
- function zo(g, T, v) {
4579
+ function Yo(g, T, v) {
4824
4580
  for (var w = "", y = "", S = "", V, X = 0; X < 10; ++X) {
4825
4581
  var W = T[X];
4826
4582
  if (!W || W.match(/^\s*$/)) break;
@@ -4842,7 +4598,7 @@ var yf = /* @__PURE__ */ (function() {
4842
4598
  V = vt(kt(T.slice(X).join("")));
4843
4599
  break;
4844
4600
  case "quoted-printable":
4845
- V = Vo(T.slice(X));
4601
+ V = zo(T.slice(X));
4846
4602
  break;
4847
4603
  default:
4848
4604
  throw new Error("Unsupported Content-Transfer-Encoding " + y);
@@ -4850,7 +4606,7 @@ var yf = /* @__PURE__ */ (function() {
4850
4606
  var Y = Wn(g, w.slice(v.length), V, { unsafe: !0 });
4851
4607
  S && (Y.ctype = S);
4852
4608
  }
4853
- function Yo(g, T) {
4609
+ function Go(g, T) {
4854
4610
  if (oe(g.slice(0, 13)).toLowerCase() != "mime-version:") throw new Error("Unsupported MAD header");
4855
4611
  var v = T && T.root || "", w = (ye && Buffer.isBuffer(g) ? g.toString("binary") : oe(g)).split(`\r
4856
4612
  `), y = 0, S = "";
@@ -4868,11 +4624,11 @@ var yf = /* @__PURE__ */ (function() {
4868
4624
  var te, fe = 0;
4869
4625
  for (y = 0; y < w.length; ++y) {
4870
4626
  var de = w[y];
4871
- de !== X && de !== X + "--" || (fe++ && zo(Y, w.slice(te, y), v), te = y);
4627
+ de !== X && de !== X + "--" || (fe++ && Yo(Y, w.slice(te, y), v), te = y);
4872
4628
  }
4873
4629
  return Y;
4874
4630
  }
4875
- function Go(g, T) {
4631
+ function jo(g, T) {
4876
4632
  var v = T || {}, w = v.boundary || "SheetJS";
4877
4633
  w = "------=" + w;
4878
4634
  for (var y = [
@@ -4890,13 +4646,13 @@ var yf = /* @__PURE__ */ (function() {
4890
4646
  });
4891
4647
  for (var z = X.content, Y = ye && Buffer.isBuffer(z) ? z.toString("binary") : oe(z), te = 0, fe = Math.min(1024, Y.length), de = 0, ne = 0; ne <= fe; ++ne) (de = Y.charCodeAt(ne)) >= 32 && de < 128 && ++te;
4892
4648
  var he = te >= fe * 4 / 5;
4893
- y.push(w), y.push("Content-Location: " + (v.root || "file:///C:/SheetJS/") + V), y.push("Content-Transfer-Encoding: " + (he ? "quoted-printable" : "base64")), y.push("Content-Type: " + Ho(X, V)), y.push(""), y.push(he ? Wo(Y) : $o(Y));
4649
+ y.push(w), y.push("Content-Location: " + (v.root || "file:///C:/SheetJS/") + V), y.push("Content-Transfer-Encoding: " + (he ? "quoted-printable" : "base64")), y.push("Content-Type: " + $o(X, V)), y.push(""), y.push(he ? Vo(Y) : Wo(Y));
4894
4650
  }
4895
4651
  return y.push(w + `--\r
4896
4652
  `), y.join(`\r
4897
4653
  `);
4898
4654
  }
4899
- function jo(g) {
4655
+ function Ko(g) {
4900
4656
  var T = {};
4901
4657
  return _(T, g), T;
4902
4658
  }
@@ -4910,7 +4666,7 @@ var yf = /* @__PURE__ */ (function() {
4910
4666
  }
4911
4667
  return S.content = v, S.size = v ? v.length : 0, w && (w.CLSID && (S.clsid = w.CLSID), w.mt && (S.mt = w.mt), w.ct && (S.ct = w.ct)), S;
4912
4668
  }
4913
- function Ko(g, T) {
4669
+ function Xo(g, T) {
4914
4670
  _(g);
4915
4671
  var v = Ce.find(g, T);
4916
4672
  if (v) {
@@ -4919,7 +4675,7 @@ var yf = /* @__PURE__ */ (function() {
4919
4675
  }
4920
4676
  return !1;
4921
4677
  }
4922
- function Xo(g, T, v) {
4678
+ function Jo(g, T, v) {
4923
4679
  _(g);
4924
4680
  var w = Ce.find(g, T);
4925
4681
  if (w) {
@@ -4928,22 +4684,22 @@ var yf = /* @__PURE__ */ (function() {
4928
4684
  }
4929
4685
  return !1;
4930
4686
  }
4931
- function Jo(g) {
4687
+ function qo(g) {
4932
4688
  R(g, !0);
4933
4689
  }
4934
4690
  return t.find = M, t.read = re, t.parse = c, t.write = ee, t.writeFile = q, t.utils = {
4935
- cfb_new: jo,
4691
+ cfb_new: Ko,
4936
4692
  cfb_add: Wn,
4937
- cfb_del: Ko,
4938
- cfb_mov: Xo,
4939
- cfb_gc: Jo,
4693
+ cfb_del: Xo,
4694
+ cfb_mov: Jo,
4695
+ cfb_gc: qo,
4940
4696
  ReadShift: Dr,
4941
- CheckField: Ds,
4697
+ CheckField: ks,
4942
4698
  prep_blob: ft,
4943
4699
  bconcat: Ye,
4944
4700
  use_zlib: E,
4945
- _deflateRaw: ka,
4946
- _inflateRaw: Ma,
4701
+ _deflateRaw: Ra,
4702
+ _inflateRaw: Ba,
4947
4703
  consts: j
4948
4704
  }, t;
4949
4705
  })();
@@ -4996,11 +4752,11 @@ function Ke(e) {
4996
4752
  for (var t = Object.keys(e), r = [], n = 0; n < t.length; ++n) Object.prototype.hasOwnProperty.call(e, t[n]) && r.push(t[n]);
4997
4753
  return r;
4998
4754
  }
4999
- function ci(e, t) {
4755
+ function ui(e, t) {
5000
4756
  for (var r = [], n = Ke(e), a = 0; a !== n.length; ++a) r[e[n[a]][t]] == null && (r[e[n[a]][t]] = n[a]);
5001
4757
  return r;
5002
4758
  }
5003
- function ha(e) {
4759
+ function da(e) {
5004
4760
  for (var t = [], r = Ke(e), n = 0; n !== r.length; ++n) t[e[r[n]]] = r[n];
5005
4761
  return t;
5006
4762
  }
@@ -5018,18 +4774,18 @@ function it(e, t) {
5018
4774
  var r = /* @__PURE__ */ e.getTime(), n = /* @__PURE__ */ _n.getTime() + (/* @__PURE__ */ e.getTimezoneOffset() - /* @__PURE__ */ _n.getTimezoneOffset()) * 6e4;
5019
4775
  return (r - n) / (1440 * 60 * 1e3);
5020
4776
  }
5021
- var ds = /* @__PURE__ */ new Date(), Ff = /* @__PURE__ */ _n.getTime() + (/* @__PURE__ */ ds.getTimezoneOffset() - /* @__PURE__ */ _n.getTimezoneOffset()) * 6e4, ui = /* @__PURE__ */ ds.getTimezoneOffset();
5022
- function ms(e) {
4777
+ var ms = /* @__PURE__ */ new Date(), Ff = /* @__PURE__ */ _n.getTime() + (/* @__PURE__ */ ms.getTimezoneOffset() - /* @__PURE__ */ _n.getTimezoneOffset()) * 6e4, hi = /* @__PURE__ */ ms.getTimezoneOffset();
4778
+ function gs(e) {
5023
4779
  var t = /* @__PURE__ */ new Date();
5024
- return t.setTime(e * 24 * 60 * 60 * 1e3 + Ff), t.getTimezoneOffset() !== ui && t.setTime(t.getTime() + (t.getTimezoneOffset() - ui) * 6e4), t;
4780
+ return t.setTime(e * 24 * 60 * 60 * 1e3 + Ff), t.getTimezoneOffset() !== hi && t.setTime(t.getTime() + (t.getTimezoneOffset() - hi) * 6e4), t;
5025
4781
  }
5026
- var hi = /* @__PURE__ */ new Date("2017-02-19T19:06:09.000Z"), gs = /* @__PURE__ */ isNaN(/* @__PURE__ */ hi.getFullYear()) ? /* @__PURE__ */ new Date("2/19/17") : hi, Of = /* @__PURE__ */ gs.getFullYear() == 2017;
4782
+ var di = /* @__PURE__ */ new Date("2017-02-19T19:06:09.000Z"), ps = /* @__PURE__ */ isNaN(/* @__PURE__ */ di.getFullYear()) ? /* @__PURE__ */ new Date("2/19/17") : di, Of = /* @__PURE__ */ ps.getFullYear() == 2017;
5027
4783
  function tt(e, t) {
5028
4784
  var r = new Date(e);
5029
4785
  if (Of)
5030
4786
  return t > 0 ? r.setTime(r.getTime() + r.getTimezoneOffset() * 60 * 1e3) : t < 0 && r.setTime(r.getTime() - r.getTimezoneOffset() * 60 * 1e3), r;
5031
4787
  if (e instanceof Date) return e;
5032
- if (gs.getFullYear() == 1917 && !isNaN(r.getFullYear())) {
4788
+ if (ps.getFullYear() == 1917 && !isNaN(r.getFullYear())) {
5033
4789
  var n = r.getFullYear();
5034
4790
  return e.indexOf("" + n) > -1 || r.setFullYear(r.getFullYear() + 100), r;
5035
4791
  }
@@ -5119,7 +4875,7 @@ function _e(e, t, r) {
5119
4875
  Ce.utils.cfb_add(e, t, r);
5120
4876
  } else e.file(t, r);
5121
4877
  }
5122
- function da() {
4878
+ function ma() {
5123
4879
  return Ce.utils.cfb_new();
5124
4880
  }
5125
4881
  var Be = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
@@ -5129,32 +4885,32 @@ var Be = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
5129
4885
  "&gt;": ">",
5130
4886
  "&lt;": "<",
5131
4887
  "&amp;": "&"
5132
- }, ma = /* @__PURE__ */ ha(bf), ga = /[&<>'"]/g, Df = /[\u0000-\u0008\u000b-\u001f]/g;
4888
+ }, ga = /* @__PURE__ */ da(bf), pa = /[&<>'"]/g, Df = /[\u0000-\u0008\u000b-\u001f]/g;
5133
4889
  function Fe(e) {
5134
4890
  var t = e + "";
5135
- return t.replace(ga, function(r) {
5136
- return ma[r];
4891
+ return t.replace(pa, function(r) {
4892
+ return ga[r];
5137
4893
  }).replace(Df, function(r) {
5138
4894
  return "_x" + ("000" + r.charCodeAt(0).toString(16)).slice(-4) + "_";
5139
4895
  });
5140
4896
  }
5141
- function di(e) {
4897
+ function mi(e) {
5142
4898
  return Fe(e).replace(/ /g, "_x0020_");
5143
4899
  }
5144
- var ps = /[\u0000-\u001f]/g;
4900
+ var xs = /[\u0000-\u001f]/g;
5145
4901
  function kf(e) {
5146
4902
  var t = e + "";
5147
- return t.replace(ga, function(r) {
5148
- return ma[r];
5149
- }).replace(/\n/g, "<br/>").replace(ps, function(r) {
4903
+ return t.replace(pa, function(r) {
4904
+ return ga[r];
4905
+ }).replace(/\n/g, "<br/>").replace(xs, function(r) {
5150
4906
  return "&#x" + ("000" + r.charCodeAt(0).toString(16)).slice(-4) + ";";
5151
4907
  });
5152
4908
  }
5153
4909
  function Rf(e) {
5154
4910
  var t = e + "";
5155
- return t.replace(ga, function(r) {
5156
- return ma[r];
5157
- }).replace(ps, function(r) {
4911
+ return t.replace(pa, function(r) {
4912
+ return ga[r];
4913
+ }).replace(xs, function(r) {
5158
4914
  return "&#x" + r.charCodeAt(0).toString(16).toUpperCase() + ";";
5159
4915
  });
5160
4916
  }
@@ -5174,7 +4930,7 @@ function Lf(e) {
5174
4930
  return !1;
5175
4931
  }
5176
4932
  }
5177
- function jn(e) {
4933
+ function Gn(e) {
5178
4934
  for (var t = "", r = 0, n = 0, a = 0, i = 0, s = 0, o = 0; r < e.length; ) {
5179
4935
  if (n = e.charCodeAt(r++), n < 128) {
5180
4936
  t += String.fromCharCode(n);
@@ -5192,16 +4948,16 @@ function jn(e) {
5192
4948
  }
5193
4949
  return t;
5194
4950
  }
5195
- function mi(e) {
4951
+ function gi(e) {
5196
4952
  var t = jt(2 * e.length), r, n, a = 1, i = 0, s = 0, o;
5197
4953
  for (n = 0; n < e.length; n += a)
5198
4954
  a = 1, (o = e.charCodeAt(n)) < 128 ? r = o : o < 224 ? (r = (o & 31) * 64 + (e.charCodeAt(n + 1) & 63), a = 2) : o < 240 ? (r = (o & 15) * 4096 + (e.charCodeAt(n + 1) & 63) * 64 + (e.charCodeAt(n + 2) & 63), a = 3) : (a = 4, r = (o & 7) * 262144 + (e.charCodeAt(n + 1) & 63) * 4096 + (e.charCodeAt(n + 2) & 63) * 64 + (e.charCodeAt(n + 3) & 63), r -= 65536, s = 55296 + (r >>> 10 & 1023), r = 56320 + (r & 1023)), s !== 0 && (t[i++] = s & 255, t[i++] = s >>> 8, s = 0), t[i++] = r % 256, t[i++] = r >>> 8;
5199
4955
  return t.slice(0, i).toString("ucs2");
5200
4956
  }
5201
- function gi(e) {
4957
+ function pi(e) {
5202
4958
  return Pt(e, "binary").toString("utf8");
5203
4959
  }
5204
- var tn = "foo bar baz☃🍣", br = ye && (/* @__PURE__ */ gi(tn) == /* @__PURE__ */ jn(tn) && gi || /* @__PURE__ */ mi(tn) == /* @__PURE__ */ jn(tn) && mi) || jn, Ur = ye ? function(e) {
4960
+ var en = "foo bar baz☃🍣", br = ye && (/* @__PURE__ */ pi(en) == /* @__PURE__ */ Gn(en) && pi || /* @__PURE__ */ gi(en) == /* @__PURE__ */ Gn(en) && gi) || Gn, Ur = ye ? function(e) {
5205
4961
  return Pt(e, "utf8").toString("binary");
5206
4962
  } : function(e) {
5207
4963
  for (var t = [], r = 0, n = 0, a = 0; r < e.length; )
@@ -5236,9 +4992,9 @@ var tn = "foo bar baz☃🍣", br = ye && (/* @__PURE__ */ gi(tn) == /* @
5236
4992
  `).replace(/<[^>]*>/g, ""), a = 0; a < e.length; ++a) n = n.replace(e[a][0], e[a][1]);
5237
4993
  return n;
5238
4994
  };
5239
- })(), xs = /(^\s|\s$|\n)/;
4995
+ })(), vs = /(^\s|\s$|\n)/;
5240
4996
  function Ge(e, t) {
5241
- return "<" + e + (t.match(xs) ? ' xml:space="preserve"' : "") + ">" + t + "</" + e + ">";
4997
+ return "<" + e + (t.match(vs) ? ' xml:space="preserve"' : "") + ">" + t + "</" + e + ">";
5242
4998
  }
5243
4999
  function Hr(e) {
5244
5000
  return Ke(e).map(function(t) {
@@ -5246,7 +5002,7 @@ function Hr(e) {
5246
5002
  }).join("");
5247
5003
  }
5248
5004
  function ae(e, t, r) {
5249
- return "<" + e + (r != null ? Hr(r) : "") + (t != null ? (t.match(xs) ? ' xml:space="preserve"' : "") + ">" + t + "</" + e : "/") + ">";
5005
+ return "<" + e + (r != null ? Hr(r) : "") + (t != null ? (t.match(vs) ? ' xml:space="preserve"' : "") + ">" + t + "</" + e : "/") + ">";
5250
5006
  }
5251
5007
  function ia(e, t) {
5252
5008
  try {
@@ -5307,71 +5063,71 @@ function Bf(e, t, r) {
5307
5063
  for (var o = 0; o <= 5; ++o, i /= 256) e[r + o] = i & 255;
5308
5064
  e[r + 6] = (a & 15) << 4 | i & 15, e[r + 7] = a >> 4 | n;
5309
5065
  }
5310
- var pi = function(e) {
5066
+ var xi = function(e) {
5311
5067
  for (var t = [], r = 10240, n = 0; n < e[0].length; ++n) if (e[0][n]) for (var a = 0, i = e[0][n].length; a < i; a += r) t.push.apply(t, e[0][n].slice(a, a + r));
5312
5068
  return t;
5313
- }, xi = ye ? function(e) {
5069
+ }, vi = ye ? function(e) {
5314
5070
  return e[0].length > 0 && Buffer.isBuffer(e[0][0]) ? Buffer.concat(e[0].map(function(t) {
5315
5071
  return Buffer.isBuffer(t) ? t : Pt(t);
5316
- })) : pi(e);
5317
- } : pi, vi = function(e, t, r) {
5072
+ })) : xi(e);
5073
+ } : xi, wi = function(e, t, r) {
5318
5074
  for (var n = [], a = t; a < r; a += 2) n.push(String.fromCharCode(Fr(e, a)));
5319
5075
  return n.join("").replace(Cr, "");
5320
- }, pa = ye ? function(e, t, r) {
5321
- return Buffer.isBuffer(e) ? e.toString("utf16le", t, r).replace(Cr, "") : vi(e, t, r);
5322
- } : vi, wi = function(e, t, r) {
5076
+ }, xa = ye ? function(e, t, r) {
5077
+ return Buffer.isBuffer(e) ? e.toString("utf16le", t, r).replace(Cr, "") : wi(e, t, r);
5078
+ } : wi, _i = function(e, t, r) {
5323
5079
  for (var n = [], a = t; a < t + r; ++a) n.push(("0" + e[a].toString(16)).slice(-2));
5324
5080
  return n.join("");
5325
- }, vs = ye ? function(e, t, r) {
5326
- return Buffer.isBuffer(e) ? e.toString("hex", t, t + r) : wi(e, t, r);
5327
- } : wi, _i = function(e, t, r) {
5081
+ }, ws = ye ? function(e, t, r) {
5082
+ return Buffer.isBuffer(e) ? e.toString("hex", t, t + r) : _i(e, t, r);
5083
+ } : _i, Ti = function(e, t, r) {
5328
5084
  for (var n = [], a = t; a < r; a++) n.push(String.fromCharCode(or(e, a)));
5329
5085
  return n.join("");
5330
5086
  }, Yr = ye ? function(t, r, n) {
5331
- return Buffer.isBuffer(t) ? t.toString("utf8", r, n) : _i(t, r, n);
5332
- } : _i, ws = function(e, t) {
5087
+ return Buffer.isBuffer(t) ? t.toString("utf8", r, n) : Ti(t, r, n);
5088
+ } : Ti, _s = function(e, t) {
5333
5089
  var r = ct(e, t);
5334
5090
  return r > 0 ? Yr(e, t + 4, t + 4 + r - 1) : "";
5335
- }, _s = ws, Ts = function(e, t) {
5091
+ }, Ts = _s, Es = function(e, t) {
5336
5092
  var r = ct(e, t);
5337
5093
  return r > 0 ? Yr(e, t + 4, t + 4 + r - 1) : "";
5338
- }, Es = Ts, ys = function(e, t) {
5094
+ }, ys = Es, Ss = function(e, t) {
5339
5095
  var r = 2 * ct(e, t);
5340
5096
  return r > 0 ? Yr(e, t + 4, t + 4 + r - 1) : "";
5341
- }, Ss = ys, As = function(t, r) {
5097
+ }, As = Ss, Fs = function(t, r) {
5342
5098
  var n = ct(t, r);
5343
- return n > 0 ? pa(t, r + 4, r + 4 + n) : "";
5344
- }, Fs = As, Os = function(e, t) {
5099
+ return n > 0 ? xa(t, r + 4, r + 4 + n) : "";
5100
+ }, Os = Fs, Cs = function(e, t) {
5345
5101
  var r = ct(e, t);
5346
5102
  return r > 0 ? Yr(e, t + 4, t + 4 + r) : "";
5347
- }, Cs = Os, bs = function(e, t) {
5103
+ }, bs = Cs, Ds = function(e, t) {
5348
5104
  return Mf(e, t);
5349
- }, Tn = bs, xa = function(t) {
5105
+ }, Tn = Ds, va = function(t) {
5350
5106
  return Array.isArray(t) || typeof Uint8Array < "u" && t instanceof Uint8Array;
5351
5107
  };
5352
- ye && (_s = function(t, r) {
5353
- if (!Buffer.isBuffer(t)) return ws(t, r);
5108
+ ye && (Ts = function(t, r) {
5109
+ if (!Buffer.isBuffer(t)) return _s(t, r);
5354
5110
  var n = t.readUInt32LE(r);
5355
5111
  return n > 0 ? t.toString("utf8", r + 4, r + 4 + n - 1) : "";
5356
- }, Es = function(t, r) {
5357
- if (!Buffer.isBuffer(t)) return Ts(t, r);
5112
+ }, ys = function(t, r) {
5113
+ if (!Buffer.isBuffer(t)) return Es(t, r);
5358
5114
  var n = t.readUInt32LE(r);
5359
5115
  return n > 0 ? t.toString("utf8", r + 4, r + 4 + n - 1) : "";
5360
- }, Ss = function(t, r) {
5361
- if (!Buffer.isBuffer(t)) return ys(t, r);
5116
+ }, As = function(t, r) {
5117
+ if (!Buffer.isBuffer(t)) return Ss(t, r);
5362
5118
  var n = 2 * t.readUInt32LE(r);
5363
5119
  return t.toString("utf16le", r + 4, r + 4 + n - 1);
5364
- }, Fs = function(t, r) {
5365
- if (!Buffer.isBuffer(t)) return As(t, r);
5120
+ }, Os = function(t, r) {
5121
+ if (!Buffer.isBuffer(t)) return Fs(t, r);
5366
5122
  var n = t.readUInt32LE(r);
5367
5123
  return t.toString("utf16le", r + 4, r + 4 + n);
5368
- }, Cs = function(t, r) {
5369
- if (!Buffer.isBuffer(t)) return Os(t, r);
5124
+ }, bs = function(t, r) {
5125
+ if (!Buffer.isBuffer(t)) return Cs(t, r);
5370
5126
  var n = t.readUInt32LE(r);
5371
5127
  return t.toString("utf8", r + 4, r + 4 + n);
5372
5128
  }, Tn = function(t, r) {
5373
- return Buffer.isBuffer(t) ? t.readDoubleLE(r) : bs(t, r);
5374
- }, xa = function(t) {
5129
+ return Buffer.isBuffer(t) ? t.readDoubleLE(r) : Ds(t, r);
5130
+ }, va = function(t) {
5375
5131
  return Buffer.isBuffer(t) || Array.isArray(t) || typeof Uint8Array < "u" && t instanceof Uint8Array;
5376
5132
  });
5377
5133
  var or = function(e, t) {
@@ -5401,36 +5157,36 @@ function Dr(e, t) {
5401
5157
  r = Yr(this, this.l, this.l + e);
5402
5158
  break;
5403
5159
  case "utf16le":
5404
- e *= 2, r = pa(this, this.l, this.l + e);
5160
+ e *= 2, r = xa(this, this.l, this.l + e);
5405
5161
  break;
5406
5162
  case "wstr":
5407
5163
  return Dr.call(this, e, "dbcs");
5408
5164
  /* [MS-OLEDS] 2.1.4 LengthPrefixedAnsiString */
5409
5165
  case "lpstr-ansi":
5410
- r = _s(this, this.l), e = 4 + ct(this, this.l);
5166
+ r = Ts(this, this.l), e = 4 + ct(this, this.l);
5411
5167
  break;
5412
5168
  case "lpstr-cp":
5413
- r = Es(this, this.l), e = 4 + ct(this, this.l);
5169
+ r = ys(this, this.l), e = 4 + ct(this, this.l);
5414
5170
  break;
5415
5171
  /* [MS-OLEDS] 2.1.5 LengthPrefixedUnicodeString */
5416
5172
  case "lpwstr":
5417
- r = Ss(this, this.l), e = 4 + 2 * ct(this, this.l);
5173
+ r = As(this, this.l), e = 4 + 2 * ct(this, this.l);
5418
5174
  break;
5419
5175
  /* [MS-OFFCRYPTO] 2.1.2 Length-Prefixed Padded Unicode String (UNICODE-LP-P4) */
5420
5176
  case "lpp4":
5421
- e = 4 + ct(this, this.l), r = Fs(this, this.l), e & 2 && (e += 2);
5177
+ e = 4 + ct(this, this.l), r = Os(this, this.l), e & 2 && (e += 2);
5422
5178
  break;
5423
5179
  /* [MS-OFFCRYPTO] 2.1.3 Length-Prefixed UTF-8 String (UTF-8-LP-P4) */
5424
5180
  case "8lpp4":
5425
- e = 4 + ct(this, this.l), r = Cs(this, this.l), e & 3 && (e += 4 - (e & 3));
5181
+ e = 4 + ct(this, this.l), r = bs(this, this.l), e & 3 && (e += 4 - (e & 3));
5426
5182
  break;
5427
5183
  case "cstr":
5428
- for (e = 0, r = ""; (s = or(this, this.l + e++)) !== 0; ) i.push(Qr(s));
5184
+ for (e = 0, r = ""; (s = or(this, this.l + e++)) !== 0; ) i.push(qr(s));
5429
5185
  r = i.join("");
5430
5186
  break;
5431
5187
  case "_wstr":
5432
5188
  for (e = 0, r = ""; (s = Fr(this, this.l + e)) !== 0; )
5433
- i.push(Qr(s)), e += 2;
5189
+ i.push(qr(s)), e += 2;
5434
5190
  e += 2, r = i.join("");
5435
5191
  break;
5436
5192
  /* sbcs and dbcs support continue records in the SST way TODO codepages */
@@ -5438,7 +5194,7 @@ function Dr(e, t) {
5438
5194
  for (r = "", f = this.l, l = 0; l < e; ++l) {
5439
5195
  if (this.lens && this.lens.indexOf(f) !== -1)
5440
5196
  return s = or(this, f), this.l = f + 1, o = Dr.call(this, e - l, s ? "dbcs-cont" : "sbcs-cont"), i.join("") + o;
5441
- i.push(Qr(Fr(this, f))), f += 2;
5197
+ i.push(qr(Fr(this, f))), f += 2;
5442
5198
  }
5443
5199
  r = i.join(""), e *= 2;
5444
5200
  break;
@@ -5448,7 +5204,7 @@ function Dr(e, t) {
5448
5204
  for (r = "", f = this.l, l = 0; l != e; ++l) {
5449
5205
  if (this.lens && this.lens.indexOf(f) !== -1)
5450
5206
  return s = or(this, f), this.l = f + 1, o = Dr.call(this, e - l, s ? "dbcs-cont" : "sbcs-cont"), i.join("") + o;
5451
- i.push(Qr(or(this, f))), f += 1;
5207
+ i.push(qr(or(this, f))), f += 1;
5452
5208
  }
5453
5209
  r = i.join("");
5454
5210
  break;
@@ -5468,7 +5224,7 @@ function Dr(e, t) {
5468
5224
  e = 8;
5469
5225
  /* falls through */
5470
5226
  case 16:
5471
- r = vs(this, this.l, e);
5227
+ r = ws(this, this.l, e);
5472
5228
  break;
5473
5229
  }
5474
5230
  }
@@ -5528,14 +5284,14 @@ function zf(e, t, r) {
5528
5284
  }
5529
5285
  return this.l += n, this;
5530
5286
  }
5531
- function Ds(e, t) {
5532
- var r = vs(this, this.l, e.length >> 1);
5287
+ function ks(e, t) {
5288
+ var r = ws(this, this.l, e.length >> 1);
5533
5289
  if (r !== e) throw new Error(t + "Expected " + e + " saw " + r);
5534
5290
  this.l += e.length >> 1;
5535
5291
  }
5536
5292
  function ft(e, t) {
5537
5293
  e.l = t, e.read_shift = /*::(*/
5538
- Dr, e.chk = Ds, e.write_shift = zf;
5294
+ Dr, e.chk = ks, e.write_shift = zf;
5539
5295
  }
5540
5296
  function St(e, t) {
5541
5297
  e.l += t;
@@ -5573,7 +5329,7 @@ function Q(e, t, r, n) {
5573
5329
  break;
5574
5330
  }
5575
5331
  /*:: length != null &&*/
5576
- n > 0 && xa(r) && e.push(r);
5332
+ n > 0 && va(r) && e.push(r);
5577
5333
  }
5578
5334
  }
5579
5335
  function kr(e, t, r) {
@@ -5584,7 +5340,7 @@ function kr(e, t, r) {
5584
5340
  }
5585
5341
  return n;
5586
5342
  }
5587
- function Ti(e, t, r) {
5343
+ function Ei(e, t, r) {
5588
5344
  var n = st(e);
5589
5345
  return n.s = kr(n.s, t.s, r), n.e = kr(n.e, t.s, r), n;
5590
5346
  }
@@ -5596,10 +5352,10 @@ function Rr(e, t) {
5596
5352
  var r = Oe(e);
5597
5353
  return !e.cRel && e.cRel != null && (r = jf(r)), !e.rRel && e.rRel != null && (r = Yf(r)), r;
5598
5354
  }
5599
- function Kn(e, t) {
5355
+ function jn(e, t) {
5600
5356
  return e.s.r == 0 && !e.s.rRel && e.e.r == (t.biff >= 12 ? 1048575 : t.biff >= 8 ? 65536 : 16384) && !e.e.rRel ? (e.s.cRel ? "" : "$") + qe(e.s.c) + ":" + (e.e.cRel ? "" : "$") + qe(e.e.c) : e.s.c == 0 && !e.s.cRel && e.e.c == (t.biff >= 12 ? 16383 : 255) && !e.e.cRel ? (e.s.rRel ? "" : "$") + je(e.s.r) + ":" + (e.e.rRel ? "" : "$") + je(e.e.r) : Rr(e.s, t.biff) + ":" + Rr(e.e, t.biff);
5601
5357
  }
5602
- function va(e) {
5358
+ function wa(e) {
5603
5359
  return parseInt(Gf(e), 10) - 1;
5604
5360
  }
5605
5361
  function je(e) {
@@ -5611,7 +5367,7 @@ function Yf(e) {
5611
5367
  function Gf(e) {
5612
5368
  return e.replace(/\$(\d+)$/, "$1");
5613
5369
  }
5614
- function wa(e) {
5370
+ function _a(e) {
5615
5371
  for (var t = Kf(e), r = 0, n = 0; n !== t.length; ++n) r = 26 * r + t.charCodeAt(n) - 64;
5616
5372
  return r - 1;
5617
5373
  }
@@ -5662,7 +5418,7 @@ function De(e) {
5662
5418
  r = 10 * r + a;
5663
5419
  return t.e.r = --r, t;
5664
5420
  }
5665
- function Ei(e, t) {
5421
+ function yi(e, t) {
5666
5422
  var r = e.t == "d" && t instanceof Date;
5667
5423
  if (e.z != null) try {
5668
5424
  return e.w = Bt(e.z, r ? it(t) : t);
@@ -5675,13 +5431,13 @@ function Ei(e, t) {
5675
5431
  }
5676
5432
  }
5677
5433
  function Rt(e, t, r) {
5678
- return e == null || e.t == null || e.t == "z" ? "" : e.w !== void 0 ? e.w : (e.t == "d" && !e.z && r && r.dateNF && (e.z = r.dateNF), e.t == "e" ? Gr[e.v] || e.v : t == null ? Ei(e, e.v) : Ei(e, t));
5434
+ return e == null || e.t == null || e.t == "z" ? "" : e.w !== void 0 ? e.w : (e.t == "d" && !e.z && r && r.dateNF && (e.z = r.dateNF), e.t == "e" ? Gr[e.v] || e.v : t == null ? yi(e, e.v) : yi(e, t));
5679
5435
  }
5680
5436
  function Jt(e, t) {
5681
5437
  var r = t && t.sheet ? t.sheet : "Sheet1", n = {};
5682
5438
  return n[r] = e, { SheetNames: [r], Sheets: n };
5683
5439
  }
5684
- function ks(e, t, r) {
5440
+ function Rs(e, t, r) {
5685
5441
  var n = r || {}, a = e ? Array.isArray(e) : n.dense, i = e || (a ? [] : {}), s = 0, o = 0;
5686
5442
  if (i && n.origin != null) {
5687
5443
  if (typeof n.origin == "number") s = n.origin;
@@ -5721,7 +5477,7 @@ function ks(e, t, r) {
5721
5477
  return f.s.c < 1e7 && (i["!ref"] = Me(f)), i;
5722
5478
  }
5723
5479
  function gr(e, t) {
5724
- return ks(null, e, t);
5480
+ return Rs(null, e, t);
5725
5481
  }
5726
5482
  function Jf(e) {
5727
5483
  return e.read_shift(4, "i");
@@ -5743,7 +5499,7 @@ function qf(e) {
5743
5499
  function Qf(e, t) {
5744
5500
  return t || (t = G(4)), t.write_shift(2, 0), t.write_shift(2, 0), t;
5745
5501
  }
5746
- function _a(e, t) {
5502
+ function Ta(e, t) {
5747
5503
  var r = e.l, n = e.read_shift(1), a = Qe(e), i = [], s = { t: a, h: a };
5748
5504
  if ((n & 1) !== 0) {
5749
5505
  for (var o = e.read_shift(4), l = 0; l != o; ++l) i.push(qf(e));
@@ -5755,7 +5511,7 @@ function Zf(e, t) {
5755
5511
  var r = !1;
5756
5512
  return t == null && (r = !0, t = G(15 + 4 * e.t.length)), t.write_shift(1, 0), We(e.t, t), r ? t.slice(0, t.l) : t;
5757
5513
  }
5758
- var el = _a;
5514
+ var el = Ta;
5759
5515
  function tl(e, t) {
5760
5516
  var r = !1;
5761
5517
  return t == null && (r = !0, t = G(23 + 4 * e.t.length)), t.write_shift(1, 1), We(e.t, t), t.write_shift(4, 1), Qf({}, t), r ? t.slice(0, t.l) : t;
@@ -5774,8 +5530,8 @@ function Qt(e) {
5774
5530
  function Zt(e, t) {
5775
5531
  return t == null && (t = G(4)), t.write_shift(3, e.iStyleRef || e.s), t.write_shift(1, 0), t;
5776
5532
  }
5777
- var rl = Qe, Rs = We;
5778
- function Ta(e) {
5533
+ var rl = Qe, Ps = We;
5534
+ function Ea(e) {
5779
5535
  var t = e.read_shift(4);
5780
5536
  return t === 0 || t === 4294967295 ? "" : e.read_shift(t, "dbcs");
5781
5537
  }
@@ -5783,27 +5539,27 @@ function En(e, t) {
5783
5539
  var r = !1;
5784
5540
  return t == null && (r = !0, t = G(127)), t.write_shift(4, e.length > 0 ? e.length : 4294967295), e.length > 0 && t.write_shift(0, e, "dbcs"), r ? t.slice(0, t.l) : t;
5785
5541
  }
5786
- var nl = Qe, sa = Ta, Ea = En;
5787
- function Ps(e) {
5542
+ var nl = Qe, sa = Ea, ya = En;
5543
+ function Ls(e) {
5788
5544
  var t = e.slice(e.l, e.l + 4), r = t[0] & 1, n = t[0] & 2;
5789
5545
  e.l += 4;
5790
5546
  var a = n === 0 ? Tn([0, 0, 0, 0, t[0] & 252, t[1], t[2], t[3]], 0) : Yt(t, 0) >> 2;
5791
5547
  return r ? a / 100 : a;
5792
5548
  }
5793
- function Ls(e, t) {
5549
+ function Ns(e, t) {
5794
5550
  t == null && (t = G(4));
5795
5551
  var r = 0, n = 0, a = e * 100;
5796
5552
  if (e == (e | 0) && e >= -536870912 && e < 1 << 29 ? n = 1 : a == (a | 0) && a >= -536870912 && a < 1 << 29 && (n = 1, r = 1), n) t.write_shift(-4, ((r ? a : e) << 2) + (r + 2));
5797
5553
  else throw new Error("unsupported RkNumber " + e);
5798
5554
  }
5799
- function Ns(e) {
5555
+ function Is(e) {
5800
5556
  var t = { s: {}, e: {} };
5801
5557
  return t.s.r = e.read_shift(4), t.e.r = e.read_shift(4), t.s.c = e.read_shift(4), t.e.c = e.read_shift(4), t;
5802
5558
  }
5803
5559
  function al(e, t) {
5804
5560
  return t || (t = G(16)), t.write_shift(4, e.s.r), t.write_shift(4, e.e.r), t.write_shift(4, e.s.c), t.write_shift(4, e.e.c), t;
5805
5561
  }
5806
- var er = Ns, pr = al;
5562
+ var er = Is, pr = al;
5807
5563
  function xr(e) {
5808
5564
  if (e.length - e.l < 8) throw "XLS Xnum Buffer underflow";
5809
5565
  return e.read_shift(8, "f");
@@ -5820,10 +5576,10 @@ function il(e) {
5820
5576
  case 1:
5821
5577
  t.index = a;
5822
5578
  var f = ml[a];
5823
- f && (t.rgb = Pi(f));
5579
+ f && (t.rgb = Li(f));
5824
5580
  break;
5825
5581
  case 2:
5826
- t.rgb = Pi([s, o, l]);
5582
+ t.rgb = Li([s, o, l]);
5827
5583
  break;
5828
5584
  case 3:
5829
5585
  t.theme = a;
@@ -5864,9 +5620,9 @@ function ol(e, t) {
5864
5620
  var r = (e.italic ? 2 : 0) | (e.strike ? 8 : 0) | (e.outline ? 16 : 0) | (e.shadow ? 32 : 0) | (e.condense ? 64 : 0) | (e.extend ? 128 : 0);
5865
5621
  return t.write_shift(1, r), t.write_shift(1, 0), t;
5866
5622
  }
5867
- var Is = 2, ot = 3, rn = 11, Sn = 19, nn = 64, fl = 65, ll = 71, cl = 4108, ul = 4126, ze = 80, yi = {
5623
+ var Ms = 2, ot = 3, tn = 11, Sn = 19, rn = 64, fl = 65, ll = 71, cl = 4108, ul = 4126, ze = 80, Si = {
5868
5624
  /*::[*/
5869
- 1: { n: "CodePage", t: Is },
5625
+ 1: { n: "CodePage", t: Ms },
5870
5626
  /*::[*/
5871
5627
  2: { n: "Category", t: ze },
5872
5628
  /*::[*/
@@ -5886,7 +5642,7 @@ var Is = 2, ot = 3, rn = 11, Sn = 19, nn = 64, fl = 65, ll = 71, cl = 4108, ul =
5886
5642
  /*::[*/
5887
5643
  10: { n: "MultimediaClipCount", t: ot },
5888
5644
  /*::[*/
5889
- 11: { n: "ScaleCrop", t: rn },
5645
+ 11: { n: "ScaleCrop", t: tn },
5890
5646
  /*::[*/
5891
5647
  12: {
5892
5648
  n: "HeadingPairs",
@@ -5904,13 +5660,13 @@ var Is = 2, ot = 3, rn = 11, Sn = 19, nn = 64, fl = 65, ll = 71, cl = 4108, ul =
5904
5660
  /*::[*/
5905
5661
  15: { n: "Company", t: ze },
5906
5662
  /*::[*/
5907
- 16: { n: "LinksUpToDate", t: rn },
5663
+ 16: { n: "LinksUpToDate", t: tn },
5908
5664
  /*::[*/
5909
5665
  17: { n: "CharacterCount", t: ot },
5910
5666
  /*::[*/
5911
- 19: { n: "SharedDoc", t: rn },
5667
+ 19: { n: "SharedDoc", t: tn },
5912
5668
  /*::[*/
5913
- 22: { n: "HyperlinksChanged", t: rn },
5669
+ 22: { n: "HyperlinksChanged", t: tn },
5914
5670
  /*::[*/
5915
5671
  23: { n: "AppVersion", t: ot, p: "version" },
5916
5672
  /*::[*/
@@ -5932,9 +5688,9 @@ var Is = 2, ot = 3, rn = 11, Sn = 19, nn = 64, fl = 65, ll = 71, cl = 4108, ul =
5932
5688
  2147483651: { n: "Behavior", t: Sn },
5933
5689
  /*::[*/
5934
5690
  1919054434: {}
5935
- }, Si = {
5691
+ }, Ai = {
5936
5692
  /*::[*/
5937
- 1: { n: "CodePage", t: Is },
5693
+ 1: { n: "CodePage", t: Ms },
5938
5694
  /*::[*/
5939
5695
  2: { n: "Title", t: ze },
5940
5696
  /*::[*/
@@ -5952,13 +5708,13 @@ var Is = 2, ot = 3, rn = 11, Sn = 19, nn = 64, fl = 65, ll = 71, cl = 4108, ul =
5952
5708
  /*::[*/
5953
5709
  9: { n: "RevNumber", t: ze },
5954
5710
  /*::[*/
5955
- 10: { n: "EditTime", t: nn },
5711
+ 10: { n: "EditTime", t: rn },
5956
5712
  /*::[*/
5957
- 11: { n: "LastPrinted", t: nn },
5713
+ 11: { n: "LastPrinted", t: rn },
5958
5714
  /*::[*/
5959
- 12: { n: "CreatedDate", t: nn },
5715
+ 12: { n: "CreatedDate", t: rn },
5960
5716
  /*::[*/
5961
- 13: { n: "ModifiedDate", t: nn },
5717
+ 13: { n: "ModifiedDate", t: rn },
5962
5718
  /*::[*/
5963
5719
  14: { n: "PageCount", t: ot },
5964
5720
  /*::[*/
@@ -6244,7 +6000,7 @@ var dl = /* @__PURE__ */ hl([
6244
6000
  /* Image */
6245
6001
  "image/png": "TODO",
6246
6002
  sheet: "js"
6247
- }, an = {
6003
+ }, nn = {
6248
6004
  workbooks: {
6249
6005
  xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",
6250
6006
  xlsm: "application/vnd.ms-excel.sheet.macroEnabled.main+xml",
@@ -6293,7 +6049,7 @@ var dl = /* @__PURE__ */ hl([
6293
6049
  xlsb: "application/vnd.ms-excel.styles"
6294
6050
  }
6295
6051
  };
6296
- function Ms() {
6052
+ function Bs() {
6297
6053
  return {
6298
6054
  workbooks: [],
6299
6055
  sheets: [],
@@ -6319,7 +6075,7 @@ function Ms() {
6319
6075
  xmlns: ""
6320
6076
  };
6321
6077
  }
6322
- function Bs(e, t) {
6078
+ function Us(e, t) {
6323
6079
  var r = Af(gl), n = [], a;
6324
6080
  n[n.length] = Be, n[n.length] = ae("Types", null, {
6325
6081
  xmlns: He.CT,
@@ -6348,13 +6104,13 @@ function Bs(e, t) {
6348
6104
  var i = function(l) {
6349
6105
  e[l] && e[l].length > 0 && (a = e[l][0], n[n.length] = ae("Override", null, {
6350
6106
  PartName: (a[0] == "/" ? "" : "/") + a,
6351
- ContentType: an[l][t.bookType] || an[l].xlsx
6107
+ ContentType: nn[l][t.bookType] || nn[l].xlsx
6352
6108
  }));
6353
6109
  }, s = function(l) {
6354
6110
  (e[l] || []).forEach(function(f) {
6355
6111
  n[n.length] = ae("Override", null, {
6356
6112
  PartName: (f[0] == "/" ? "" : "/") + f,
6357
- ContentType: an[l][t.bookType] || an[l].xlsx
6113
+ ContentType: nn[l][t.bookType] || nn[l].xlsx
6358
6114
  });
6359
6115
  });
6360
6116
  }, o = function(l) {
@@ -6390,7 +6146,7 @@ var Ee = {
6390
6146
  PEOPLE: "http://schemas.microsoft.com/office/2017/10/relationships/person",
6391
6147
  VBA: "http://schemas.microsoft.com/office/2006/relationships/vbaProject"
6392
6148
  };
6393
- function Us(e) {
6149
+ function Hs(e) {
6394
6150
  var t = e.lastIndexOf("/");
6395
6151
  return e.slice(0, t + 1) + "_rels/" + e.slice(t + 1) + ".rels";
6396
6152
  }
@@ -6418,7 +6174,7 @@ function pl(e) {
6418
6174
  `);
6419
6175
  return t.push("</manifest:manifest>"), t.join("");
6420
6176
  }
6421
- function Ai(e, t, r) {
6177
+ function Fi(e, t, r) {
6422
6178
  return [
6423
6179
  ' <rdf:Description rdf:about="' + e + `">
6424
6180
  `,
@@ -6443,10 +6199,10 @@ function vl(e) {
6443
6199
  t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
6444
6200
  `);
6445
6201
  for (var r = 0; r != e.length; ++r)
6446
- t.push(Ai(e[r][0], e[r][1])), t.push(xl("", e[r][0]));
6447
- return t.push(Ai("", "Document", "pkg")), t.push("</rdf:RDF>"), t.join("");
6202
+ t.push(Fi(e[r][0], e[r][1])), t.push(xl("", e[r][0]));
6203
+ return t.push(Fi("", "Document", "pkg")), t.push("</rdf:RDF>"), t.join("");
6448
6204
  }
6449
- function Hs() {
6205
+ function $s() {
6450
6206
  return '<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS ' + gn.version + "</meta:generator></office:meta></office:document-meta>";
6451
6207
  }
6452
6208
  var Gt = [
@@ -6466,10 +6222,10 @@ var Gt = [
6466
6222
  ["dcterms:created", "CreatedDate", "date"],
6467
6223
  ["dcterms:modified", "ModifiedDate", "date"]
6468
6224
  ];
6469
- function Xn(e, t, r, n, a) {
6225
+ function Kn(e, t, r, n, a) {
6470
6226
  a[e] != null || t == null || t === "" || (a[e] = t, t = Fe(t), n[n.length] = r ? ae(e, t, r) : Ge(e, t));
6471
6227
  }
6472
- function $s(e, t) {
6228
+ function Ws(e, t) {
6473
6229
  var r = t || {}, n = [Be, ae("cp:coreProperties", null, {
6474
6230
  //'xmlns': XMLNS.CORE_PROPS,
6475
6231
  "xmlns:cp": He.CORE_PROPS,
@@ -6479,10 +6235,10 @@ function $s(e, t) {
6479
6235
  "xmlns:xsi": He.xsi
6480
6236
  })], a = {};
6481
6237
  if (!e && !r.Props) return n.join("");
6482
- e && (e.CreatedDate != null && Xn("dcterms:created", typeof e.CreatedDate == "string" ? e.CreatedDate : ia(e.CreatedDate, r.WTF), { "xsi:type": "dcterms:W3CDTF" }, n, a), e.ModifiedDate != null && Xn("dcterms:modified", typeof e.ModifiedDate == "string" ? e.ModifiedDate : ia(e.ModifiedDate, r.WTF), { "xsi:type": "dcterms:W3CDTF" }, n, a));
6238
+ e && (e.CreatedDate != null && Kn("dcterms:created", typeof e.CreatedDate == "string" ? e.CreatedDate : ia(e.CreatedDate, r.WTF), { "xsi:type": "dcterms:W3CDTF" }, n, a), e.ModifiedDate != null && Kn("dcterms:modified", typeof e.ModifiedDate == "string" ? e.ModifiedDate : ia(e.ModifiedDate, r.WTF), { "xsi:type": "dcterms:W3CDTF" }, n, a));
6483
6239
  for (var i = 0; i != Gt.length; ++i) {
6484
6240
  var s = Gt[i], o = r.Props && r.Props[s[1]] != null ? r.Props[s[1]] : e ? e[s[1]] : null;
6485
- o === !0 ? o = "1" : o === !1 ? o = "0" : typeof o == "number" && (o = String(o)), o != null && Xn(s[0], o, null, n, a);
6241
+ o === !0 ? o = "1" : o === !1 ? o = "0" : typeof o == "number" && (o = String(o)), o != null && Kn(s[0], o, null, n, a);
6486
6242
  }
6487
6243
  return n.length > 2 && (n[n.length] = "</cp:coreProperties>", n[1] = n[1].replace("/>", ">")), n.join("");
6488
6244
  }
@@ -6498,7 +6254,7 @@ var ur = [
6498
6254
  ["ScaleCrop", "ScaleCrop", "bool"],
6499
6255
  ["HeadingPairs", "HeadingPairs", "raw"],
6500
6256
  ["TitlesOfParts", "TitlesOfParts", "raw"]
6501
- ], Ws = [
6257
+ ], Vs = [
6502
6258
  "Worksheets",
6503
6259
  "SheetNames",
6504
6260
  "NamedRanges",
@@ -6506,7 +6262,7 @@ var ur = [
6506
6262
  "Chartsheets",
6507
6263
  "ChartNames"
6508
6264
  ];
6509
- function Vs(e) {
6265
+ function zs(e) {
6510
6266
  var t = [], r = ae;
6511
6267
  return e || (e = {}), e.Application = "SheetJS", t[t.length] = Be, t[t.length] = ae("Properties", null, {
6512
6268
  xmlns: He.EXT_PROPS,
@@ -6528,7 +6284,7 @@ function Vs(e) {
6528
6284
  return "<vt:lpstr>" + Fe(n) + "</vt:lpstr>";
6529
6285
  }).join(""), { size: e.Worksheets, baseType: "lpstr" })), t.length > 2 && (t[t.length] = "</Properties>", t[1] = t[1].replace("/>", ">")), t.join("");
6530
6286
  }
6531
- function zs(e) {
6287
+ function Ys(e) {
6532
6288
  var t = [Be, ae("Properties", null, {
6533
6289
  xmlns: He.CUST_PROPS,
6534
6290
  "xmlns:vt": He.vt
@@ -6543,7 +6299,7 @@ function zs(e) {
6543
6299
  });
6544
6300
  }), t.length > 2 && (t[t.length] = "</Properties>", t[1] = t[1].replace("/>", ">")), t.join("");
6545
6301
  }
6546
- var Fi = {
6302
+ var Oi = {
6547
6303
  Title: "Title",
6548
6304
  Subject: "Subject",
6549
6305
  Author: "Author",
@@ -6579,7 +6335,7 @@ var Fi = {
6579
6335
  };
6580
6336
  function wl(e, t) {
6581
6337
  var r = [];
6582
- return Ke(Fi).map(function(n) {
6338
+ return Ke(Oi).map(function(n) {
6583
6339
  for (var a = 0; a < Gt.length; ++a) if (Gt[a][1] == n) return Gt[a];
6584
6340
  for (a = 0; a < ur.length; ++a) if (ur[a][1] == n) return ur[a];
6585
6341
  throw n;
@@ -6591,7 +6347,7 @@ function wl(e, t) {
6591
6347
  a = new Date(a).toISOString().replace(/\.\d*Z/, "Z");
6592
6348
  break;
6593
6349
  }
6594
- typeof a == "number" ? a = String(a) : a === !0 || a === !1 ? a = a ? "1" : "0" : a instanceof Date && (a = new Date(a).toISOString().replace(/\.\d*Z/, "")), r.push(Ge(Fi[n[1]] || n[1], a));
6350
+ typeof a == "number" ? a = String(a) : a === !0 || a === !1 ? a = a ? "1" : "0" : a instanceof Date && (a = new Date(a).toISOString().replace(/\.\d*Z/, "")), r.push(Ge(Oi[n[1]] || n[1], a));
6595
6351
  }
6596
6352
  }), ae("DocumentProperties", r.join(""), { xmlns: lt.o });
6597
6353
  }
@@ -6603,12 +6359,12 @@ function _l(e, t) {
6603
6359
  for (s = 0; s < ur.length; ++s) if (i == ur[s][1]) return;
6604
6360
  for (s = 0; s < r.length; ++s) if (i == r[s]) return;
6605
6361
  var o = e[i], l = "string";
6606
- typeof o == "number" ? (l = "float", o = String(o)) : o === !0 || o === !1 ? (l = "boolean", o = o ? "1" : "0") : o = String(o), a.push(ae(di(i), o, { "dt:dt": l }));
6362
+ typeof o == "number" ? (l = "float", o = String(o)) : o === !0 || o === !1 ? (l = "boolean", o = o ? "1" : "0") : o = String(o), a.push(ae(mi(i), o, { "dt:dt": l }));
6607
6363
  }
6608
6364
  }), t && Ke(t).forEach(function(i) {
6609
6365
  if (Object.prototype.hasOwnProperty.call(t, i) && !(e && Object.prototype.hasOwnProperty.call(e, i))) {
6610
6366
  var s = t[i], o = "string";
6611
- typeof s == "number" ? (o = "float", s = String(s)) : s === !0 || s === !1 ? (o = "boolean", s = s ? "1" : "0") : s instanceof Date ? (o = "dateTime.tz", s = s.toISOString()) : s = String(s), a.push(ae(di(i), s, { "dt:dt": o }));
6367
+ typeof s == "number" ? (o = "float", s = String(s)) : s === !0 || s === !1 ? (o = "boolean", s = s ? "1" : "0") : s instanceof Date ? (o = "dateTime.tz", s = s.toISOString()) : s = String(s), a.push(ae(mi(i), s, { "dt:dt": o }));
6612
6368
  }
6613
6369
  }), "<" + n + ' xmlns="' + lt.o + '">' + a.join("") + "</" + n + ">";
6614
6370
  }
@@ -6620,7 +6376,7 @@ function Tl(e) {
6620
6376
  var s = G(8);
6621
6377
  return s.write_shift(4, n), s.write_shift(4, a), s;
6622
6378
  }
6623
- function Oi(e, t) {
6379
+ function Ci(e, t) {
6624
6380
  var r = G(4), n = G(4);
6625
6381
  switch (r.write_shift(4, e == 80 ? 31 : e), e) {
6626
6382
  case 3:
@@ -6644,7 +6400,7 @@ function Oi(e, t) {
6644
6400
  }
6645
6401
  return Ye([r, n]);
6646
6402
  }
6647
- var Ys = ["CodePage", "Thumbnail", "_PID_LINKBASE", "_PID_HLINKS", "SystemIdentifier", "FMTID"];
6403
+ var Gs = ["CodePage", "Thumbnail", "_PID_LINKBASE", "_PID_HLINKS", "SystemIdentifier", "FMTID"];
6648
6404
  function El(e) {
6649
6405
  switch (typeof e) {
6650
6406
  case "boolean":
@@ -6659,7 +6415,7 @@ function El(e) {
6659
6415
  }
6660
6416
  return -1;
6661
6417
  }
6662
- function Ci(e, t, r) {
6418
+ function bi(e, t, r) {
6663
6419
  var n = G(8), a = [], i = [], s = 8, o = 0, l = G(8), f = G(8);
6664
6420
  if (l.write_shift(4, 2), l.write_shift(4, 1200), f.write_shift(4, 1), i.push(l), a.push(f), s += 8 + l.length, !t) {
6665
6421
  f = G(8), f.write_shift(4, 0), a.unshift(f);
@@ -6672,7 +6428,7 @@ function Ci(e, t, r) {
6672
6428
  l = Ye(c), i.unshift(l), s += 8 + l.length;
6673
6429
  }
6674
6430
  for (o = 0; o < e.length; ++o)
6675
- if (!(t && !t[e[o][0]]) && !(Ys.indexOf(e[o][0]) > -1 || Ws.indexOf(e[o][0]) > -1) && e[o][1] != null) {
6431
+ if (!(t && !t[e[o][0]]) && !(Gs.indexOf(e[o][0]) > -1 || Vs.indexOf(e[o][0]) > -1) && e[o][1] != null) {
6676
6432
  var d = e[o][1], m = 0;
6677
6433
  if (t) {
6678
6434
  m = +t[e[o][0]];
@@ -6681,10 +6437,10 @@ function Ci(e, t, r) {
6681
6437
  var h = d.split(".");
6682
6438
  d = (+h[0] << 16) + (+h[1] || 0);
6683
6439
  }
6684
- l = Oi(p.t, d);
6440
+ l = Ci(p.t, d);
6685
6441
  } else {
6686
6442
  var x = El(d);
6687
- x == -1 && (x = 31, d = String(d)), l = Oi(x, d);
6443
+ x == -1 && (x = 31, d = String(d)), l = Ci(x, d);
6688
6444
  }
6689
6445
  i.push(l), f = G(8), f.write_shift(4, t ? m : 2 + o), a.push(f), s += 8 + l.length;
6690
6446
  }
@@ -6693,12 +6449,12 @@ function Ci(e, t, r) {
6693
6449
  a[o].write_shift(4, P), P += i[o].length;
6694
6450
  return n.write_shift(4, s), n.write_shift(4, i.length), Ye([n].concat(a).concat(i));
6695
6451
  }
6696
- function bi(e, t, r, n, a, i) {
6452
+ function Di(e, t, r, n, a, i) {
6697
6453
  var s = G(a ? 68 : 48), o = [s];
6698
6454
  s.write_shift(2, 65534), s.write_shift(2, 0), s.write_shift(4, 842412599), s.write_shift(16, Ce.utils.consts.HEADER_CLSID, "hex"), s.write_shift(4, a ? 2 : 1), s.write_shift(16, t, "hex"), s.write_shift(4, a ? 68 : 48);
6699
- var l = Ci(e, r, n);
6455
+ var l = bi(e, r, n);
6700
6456
  if (o.push(l), a) {
6701
- var f = Ci(a, null, null);
6457
+ var f = bi(a, null, null);
6702
6458
  s.write_shift(16, i, "hex"), s.write_shift(4, 68 + l.length), o.push(f);
6703
6459
  }
6704
6460
  return Ye(o);
@@ -6714,16 +6470,16 @@ function Sl(e, t) {
6714
6470
  function et(e, t) {
6715
6471
  return t || (t = G(2)), t.write_shift(2, +!!e), t;
6716
6472
  }
6717
- function Gs(e) {
6473
+ function js(e) {
6718
6474
  return e.read_shift(2, "u");
6719
6475
  }
6720
6476
  function dt(e, t) {
6721
6477
  return t || (t = G(2)), t.write_shift(2, e), t;
6722
6478
  }
6723
- function js(e, t, r) {
6479
+ function Ks(e, t, r) {
6724
6480
  return r || (r = G(2)), r.write_shift(1, t == "e" ? +e : +!!e), r.write_shift(1, t == "e" ? 1 : 0), r;
6725
6481
  }
6726
- function Ks(e, t, r) {
6482
+ function Xs(e, t, r) {
6727
6483
  var n = e.read_shift(r && r.biff >= 12 ? 2 : 1), a = "sbcs-cont";
6728
6484
  if (r && r.biff >= 8, !r || r.biff == 8) {
6729
6485
  var i = e.read_shift(1);
@@ -6759,10 +6515,10 @@ function Cl(e, t, r) {
6759
6515
  var n = e.read_shift(1);
6760
6516
  return n === 0 ? (e.l++, "") : e.read_shift(n, r.biff <= 4 || !e.lens ? "cpstr" : "sbcs-cont");
6761
6517
  }
6762
- function Xs(e, t, r) {
6518
+ function Js(e, t, r) {
6763
6519
  return r || (r = G(3 + 2 * e.length)), r.write_shift(2, e.length), r.write_shift(1, 1), r.write_shift(31, e, "utf16le"), r;
6764
6520
  }
6765
- function Di(e, t) {
6521
+ function ki(e, t) {
6766
6522
  t || (t = G(6 + e.length * 2)), t.write_shift(4, 1 + e.length);
6767
6523
  for (var r = 0; r < e.length; ++r) t.write_shift(2, e.charCodeAt(r));
6768
6524
  return t.write_shift(2, 0), t;
@@ -6783,12 +6539,12 @@ function bl(e) {
6783
6539
  var s = [8, 6815827, 6619237, 4849780, 83];
6784
6540
  for (r = 0; r < s.length; ++r) t.write_shift(4, s[r]);
6785
6541
  if (i == 28)
6786
- n = n.slice(1), Di(n, t);
6542
+ n = n.slice(1), ki(n, t);
6787
6543
  else if (i & 2) {
6788
6544
  for (s = "e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "), r = 0; r < s.length; ++r) t.write_shift(1, parseInt(s[r], 16));
6789
6545
  var o = a > -1 ? n.slice(0, a) : n;
6790
6546
  for (t.write_shift(4, 2 * (o.length + 1)), r = 0; r < o.length; ++r) t.write_shift(2, o.charCodeAt(r));
6791
- t.write_shift(2, 0), i & 8 && Di(a > -1 ? n.slice(a + 1) : "", t);
6547
+ t.write_shift(2, 0), i & 8 && ki(a > -1 ? n.slice(a + 1) : "", t);
6792
6548
  } else {
6793
6549
  for (s = "03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "), r = 0; r < s.length; ++r) t.write_shift(1, parseInt(s[r], 16));
6794
6550
  for (var l = 0; n.slice(l * 3, l * 3 + 3) == "../" || n.slice(l * 3, l * 3 + 3) == "..\\"; ) ++l;
@@ -6808,10 +6564,10 @@ function kl(e) {
6808
6564
  var t = e.read_shift(2), r = e.read_shift(2), n = e.read_shift(2), a = e.read_shift(2);
6809
6565
  return { s: { c: n, r: t }, e: { c: a, r } };
6810
6566
  }
6811
- function Js(e, t) {
6567
+ function qs(e, t) {
6812
6568
  return t || (t = G(8)), t.write_shift(2, e.s.r), t.write_shift(2, e.e.r), t.write_shift(2, e.s.c), t.write_shift(2, e.e.c), t;
6813
6569
  }
6814
- function ya(e, t, r) {
6570
+ function Sa(e, t, r) {
6815
6571
  var n = 1536, a = 16;
6816
6572
  switch (r.bookType) {
6817
6573
  case "biff8":
@@ -6886,7 +6642,7 @@ function $l(e, t) {
6886
6642
  var r = t.biff == 8 || !t.biff ? 4 : 2, n = G(2 * r + 6);
6887
6643
  return n.write_shift(r, e.s.r), n.write_shift(r, e.e.r + 1), n.write_shift(2, e.s.c), n.write_shift(2, e.e.c + 1), n.write_shift(2, 0), n;
6888
6644
  }
6889
- function ki(e, t, r, n) {
6645
+ function Ri(e, t, r, n) {
6890
6646
  var a = r && r.biff == 5;
6891
6647
  n || (n = G(a ? 16 : 20)), n.write_shift(2, 0), e.style ? (n.write_shift(2, e.numFmtId || 0), n.write_shift(2, 65524)) : (n.write_shift(2, e.numFmtId || 0), n.write_shift(2, t << 4));
6892
6648
  var i = 0;
@@ -6898,7 +6654,7 @@ function Wl(e) {
6898
6654
  }
6899
6655
  function Vl(e, t, r, n, a, i) {
6900
6656
  var s = G(8);
6901
- return Xt(e, t, n, s), js(r, i, s), s;
6657
+ return Xt(e, t, n, s), Ks(r, i, s), s;
6902
6658
  }
6903
6659
  function zl(e, t, r, n) {
6904
6660
  var a = G(14);
@@ -6912,13 +6668,13 @@ function Yl(e, t, r) {
6912
6668
  }
6913
6669
  function Gl(e, t, r) {
6914
6670
  e[e.l + 1] == 3 && e[e.l]++;
6915
- var n = Ks(e, t, r);
6671
+ var n = Xs(e, t, r);
6916
6672
  return n.charCodeAt(0) == 3 ? n.slice(1) : n;
6917
6673
  }
6918
6674
  function jl(e) {
6919
6675
  var t = G(2 + e.length * 8);
6920
6676
  t.write_shift(2, e.length);
6921
- for (var r = 0; r < e.length; ++r) Js(e[r], t);
6677
+ for (var r = 0; r < e.length; ++r) qs(e[r], t);
6922
6678
  return t;
6923
6679
  }
6924
6680
  function Kl(e) {
@@ -7105,7 +6861,7 @@ var rc = /* @__PURE__ */ (function() {
7105
6861
  204: 1257,
7106
6862
  /*::[*/
7107
6863
  255: 16969
7108
- }, t = ha({
6864
+ }, t = da({
7109
6865
  /*::[*/
7110
6866
  1: 437,
7111
6867
  /*::[*/
@@ -7414,7 +7170,7 @@ var rc = /* @__PURE__ */ (function() {
7414
7170
  for (M.write_shift(4, 318902576), M.write_shift(4, m.length), M.write_shift(2, 296 + 32 * P), M.write_shift(2, L), h = 0; h < 4; ++h) M.write_shift(4, 0);
7415
7171
  for (M.write_shift(4, 0 | (+t[
7416
7172
  /*::String(*/
7417
- Qi
7173
+ Zi
7418
7174
  /*::)*/
7419
7175
  ] || 3) << 8), h = 0, x = 0; h < d.length; ++h)
7420
7176
  if (d[h] != null) {
@@ -7553,10 +7309,10 @@ var rc = /* @__PURE__ */ (function() {
7553
7309
  "{": 223
7554
7310
  }, t = new RegExp("\x1BN(" + Ke(e).join("|").replace(/\|\|\|/, "|\\||").replace(/([?()+])/g, "\\$1") + "|\\|)", "gm"), r = function(d, m) {
7555
7311
  var p = e[m];
7556
- return typeof p == "number" ? ti(p) : p;
7312
+ return typeof p == "number" ? ri(p) : p;
7557
7313
  }, n = function(d, m, p) {
7558
7314
  var h = m.charCodeAt(0) - 32 << 4 | p.charCodeAt(0) - 48;
7559
- return h == 59 ? d : ti(h);
7315
+ return h == 59 ? d : ri(h);
7560
7316
  };
7561
7317
  e["|"] = 254;
7562
7318
  function a(d, m) {
@@ -7611,7 +7367,7 @@ var rc = /* @__PURE__ */ (function() {
7611
7367
  for (h = parseInt(F[L].slice(1)) - 1, j || (x = 0), M = D.length; M <= h; ++M) D[M] = [];
7612
7368
  break;
7613
7369
  case "K":
7614
- I = F[L].slice(1), I.charAt(0) === '"' ? I = I.slice(1, I.length - 1) : I === "TRUE" ? I = !0 : I === "FALSE" ? I = !1 : isNaN(bt(I)) ? isNaN(Br(I).getDate()) || (I = tt(I)) : (I = bt(I), K !== null && cs(K) && (I = ms(I))), N = !0;
7370
+ I = F[L].slice(1), I.charAt(0) === '"' ? I = I.slice(1, I.length - 1) : I === "TRUE" ? I = !0 : I === "FALSE" ? I = !1 : isNaN(bt(I)) ? isNaN(Br(I).getDate()) || (I = tt(I)) : (I = bt(I), K !== null && us(K) && (I = gs(I))), N = !0;
7615
7371
  break;
7616
7372
  case "E":
7617
7373
  oe = !0;
@@ -7672,13 +7428,13 @@ var rc = /* @__PURE__ */ (function() {
7672
7428
  /* font */
7673
7429
  case "W":
7674
7430
  for (R = F[L].slice(1).split(" "), M = parseInt(R[0], 10); M <= parseInt(R[1], 10); ++M)
7675
- b = parseInt(R[2], 10), C[M - 1] = b === 0 ? { hidden: !0 } : { wch: b }, Sa(C[M - 1]);
7431
+ b = parseInt(R[2], 10), C[M - 1] = b === 0 ? { hidden: !0 } : { wch: b }, Aa(C[M - 1]);
7676
7432
  break;
7677
7433
  case "C":
7678
7434
  x = parseInt(F[L].slice(1)) - 1, C[x] || (C[x] = {});
7679
7435
  break;
7680
7436
  case "R":
7681
- h = parseInt(F[L].slice(1)) - 1, _[h] || (_[h] = {}), b > 0 ? (_[h].hpt = b, _[h].hpx = to(b)) : b === 0 && (_[h].hidden = !0);
7437
+ h = parseInt(F[L].slice(1)) - 1, _[h] || (_[h] = {}), b > 0 ? (_[h].hpt = b, _[h].hpx = ro(b)) : b === 0 && (_[h].hidden = !0);
7682
7438
  break;
7683
7439
  default:
7684
7440
  if (m && m.WTF) throw new Error("SYLK bad record " + H);
@@ -7704,7 +7460,7 @@ var rc = /* @__PURE__ */ (function() {
7704
7460
  var x = "C;Y" + (p + 1) + ";X" + (h + 1) + ";K";
7705
7461
  switch (d.t) {
7706
7462
  case "n":
7707
- x += d.v || 0, d.f && !d.F && (x += ";E" + Fa(d.f, { r: p, c: h }));
7463
+ x += d.v || 0, d.f && !d.F && (x += ";E" + Oa(d.f, { r: p, c: h }));
7708
7464
  break;
7709
7465
  case "b":
7710
7466
  x += d.v ? "TRUE" : "FALSE";
@@ -7847,7 +7603,7 @@ var rc = /* @__PURE__ */ (function() {
7847
7603
  to_sheet: r,
7848
7604
  from_sheet: a
7849
7605
  };
7850
- })(), qs = /* @__PURE__ */ (function() {
7606
+ })(), Qs = /* @__PURE__ */ (function() {
7851
7607
  function e(u) {
7852
7608
  return u.replace(/\\b/g, "\\").replace(/\\c/g, ":").replace(/\\n/g, `
7853
7609
  `);
@@ -8062,7 +7818,7 @@ var rc = /* @__PURE__ */ (function() {
8062
7818
  default:
8063
7819
  throw new Error("Unrecognized type " + u.type);
8064
7820
  }
8065
- return m[0] == 239 && m[1] == 187 && m[2] == 191 ? d = br(d.slice(3)) : u.type != "string" && u.type != "buffer" && u.codepage == 65001 ? d = br(d) : u.type == "binary" && typeof pn < "u", d.slice(0, 19) == "socialcalc:version:" ? qs.to_sheet(u.type == "string" ? d : br(d), u) : s(d, u);
7821
+ return m[0] == 239 && m[1] == 187 && m[2] == 191 ? d = br(d.slice(3)) : u.type != "string" && u.type != "buffer" && u.codepage == 65001 ? d = br(d) : u.type == "binary" && typeof pn < "u", d.slice(0, 19) == "socialcalc:version:" ? Qs.to_sheet(u.type == "string" ? d : br(d), u) : s(d, u);
8066
7822
  }
8067
7823
  function l(c, u) {
8068
7824
  return Jt(o(c, u), u);
@@ -8088,7 +7844,7 @@ var rc = /* @__PURE__ */ (function() {
8088
7844
  to_sheet: o,
8089
7845
  from_sheet: f
8090
7846
  };
8091
- })(), Ri = /* @__PURE__ */ (function() {
7847
+ })(), Pi = /* @__PURE__ */ (function() {
8092
7848
  function e(E, A, O) {
8093
7849
  if (E) {
8094
7850
  ft(E, E.l || 0);
@@ -8143,7 +7899,7 @@ var rc = /* @__PURE__ */ (function() {
8143
7899
  case 14:
8144
7900
  /* NUMBER */
8145
7901
  case 16:
8146
- gt == 14 && (me[2] & 112) == 112 && (me[2] & 15) > 1 && (me[2] & 15) < 15 && (me[1].z = O.dateNF || Ne[14], O.cellDates && (me[1].t = "d", me[1].v = ms(me[1].v))), O.qpro && me[3] > ue && (k["!ref"] = Me(ge), ie[J] = k, Z.push(J), k = O.dense ? [] : {}, ge = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, ue = me[3], J = ce || "Sheet" + (ue + 1), ce = "");
7902
+ gt == 14 && (me[2] & 112) == 112 && (me[2] & 15) > 1 && (me[2] & 15) < 15 && (me[1].z = O.dateNF || Ne[14], O.cellDates && (me[1].t = "d", me[1].v = gs(me[1].v))), O.qpro && me[3] > ue && (k["!ref"] = Me(ge), ie[J] = k, Z.push(J), k = O.dense ? [] : {}, ge = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, ue = me[3], J = ce || "Sheet" + (ue + 1), ce = "");
8147
7903
  var Ft = O.dense ? (k[me[0].r] || [])[me[0].c] : k[Oe(me[0])];
8148
7904
  if (Ft) {
8149
7905
  Ft.t = me[1].t, Ft.v = me[1].v, me[1].z != null && (Ft.z = me[1].z), me[1].f != null && (Ft.f = me[1].f);
@@ -8542,7 +8298,7 @@ var rc = /* @__PURE__ */ (function() {
8542
8298
  }
8543
8299
  var ee = {
8544
8300
  /*::[*/
8545
- 0: { n: "BOF", f: Gs },
8301
+ 0: { n: "BOF", f: js },
8546
8302
  /*::[*/
8547
8303
  1: { n: "EOF" },
8548
8304
  /*::[*/
@@ -8923,7 +8679,7 @@ var rc = /* @__PURE__ */ (function() {
8923
8679
  to_workbook: t
8924
8680
  };
8925
8681
  })(), sc = /^\s|\s$|[\t\n\r]/;
8926
- function Qs(e, t) {
8682
+ function Zs(e, t) {
8927
8683
  if (!t.bookSST) return "";
8928
8684
  var r = [Be];
8929
8685
  r[r.length] = ae("sst", null, {
@@ -8959,7 +8715,7 @@ function uc(e) {
8959
8715
  for (var t = [], r = e.split(""), n = 0; n < r.length; ++n) t[n] = r[n].charCodeAt(0);
8960
8716
  return t;
8961
8717
  }
8962
- function Zs(e) {
8718
+ function eo(e) {
8963
8719
  var t = 0, r, n = uc(e), a = n.length + 1, i, s, o, l, f;
8964
8720
  for (r = jt(a), r[0] = n.length, i = 1; i != a; ++i) r[i] = n[i - 1];
8965
8721
  for (i = a - 1; i >= 0; --i)
@@ -9022,7 +8778,7 @@ var hc = /* @__PURE__ */ (function() {
9022
8778
  from_sheet: n
9023
8779
  };
9024
8780
  })();
9025
- function Pi(e) {
8781
+ function Li(e) {
9026
8782
  for (var t = 0, r = 1; t != 3; ++t) r = r * 256 + (e[t] > 255 ? 255 : e[t] < 0 ? 0 : e[t]);
9027
8783
  return r.toString(16).toUpperCase().slice(1);
9028
8784
  }
@@ -9036,15 +8792,15 @@ function Fn(e) {
9036
8792
  function oa(e) {
9037
8793
  return Math.round((e * Dt + 5) / Dt * 256) / 256;
9038
8794
  }
9039
- function Sa(e) {
8795
+ function Aa(e) {
9040
8796
  e.width ? (e.wpx = An(e.width), e.wch = Fn(e.wpx), e.MDW = Dt) : e.wpx ? (e.wch = Fn(e.wpx), e.width = oa(e.wch), e.MDW = Dt) : typeof e.wch == "number" && (e.width = oa(e.wch), e.wpx = An(e.width), e.MDW = Dt), e.customWidth && delete e.customWidth;
9041
8797
  }
9042
- var mc = 96, eo = mc;
8798
+ var mc = 96, to = mc;
9043
8799
  function On(e) {
9044
- return e * 96 / eo;
8800
+ return e * 96 / to;
9045
8801
  }
9046
- function to(e) {
9047
- return e * eo / 96;
8802
+ function ro(e) {
8803
+ return e * to / 96;
9048
8804
  }
9049
8805
  function gc(e) {
9050
8806
  var t = ["<numFmts>"];
@@ -9063,7 +8819,7 @@ function pc(e) {
9063
8819
  t[t.length] = ae("xf", null, r);
9064
8820
  }), t[t.length] = "</cellXfs>", t.length === 2 ? "" : (t[0] = ae("cellXfs", null, { count: t.length - 2 }).replace("/>", ">"), t.join(""));
9065
8821
  }
9066
- function ro(e, t) {
8822
+ function no(e, t) {
9067
8823
  var r = [Be, ae("styleSheet", null, {
9068
8824
  xmlns: mr[0],
9069
8825
  "xmlns:vt": He.vt
@@ -9137,10 +8893,10 @@ var Tc = [
9137
8893
  "lightTrellis",
9138
8894
  "gray125",
9139
8895
  "gray0625"
9140
- ], Jn, Ec = St;
9141
- function Li(e, t) {
9142
- t || (t = G(84)), Jn || (Jn = ha(Tc));
9143
- var r = Jn[e.patternType];
8896
+ ], Xn, Ec = St;
8897
+ function Ni(e, t) {
8898
+ t || (t = G(84)), Xn || (Xn = da(Tc));
8899
+ var r = Xn[e.patternType];
9144
8900
  r == null && (r = 40), t.write_shift(4, r);
9145
8901
  var n = 0;
9146
8902
  if (r != 40)
@@ -9155,7 +8911,7 @@ function yc(e, t) {
9155
8911
  var r = e.l + t, n = e.read_shift(2), a = e.read_shift(2);
9156
8912
  return e.l = r, { ixfe: n, numFmtId: a };
9157
8913
  }
9158
- function no(e, t, r) {
8914
+ function ao(e, t, r) {
9159
8915
  r || (r = G(16)), r.write_shift(2, t || 0), r.write_shift(2, e.numFmtId || 0), r.write_shift(2, 0), r.write_shift(2, 0), r.write_shift(2, 0), r.write_shift(1, 0), r.write_shift(1, 0);
9160
8916
  var n = 0;
9161
8917
  return r.write_shift(1, n), r.write_shift(1, 0), r.write_shift(1, 0), r.write_shift(1, 0), r;
@@ -9213,7 +8969,7 @@ function bc(e) {
9213
8969
  }
9214
8970
  function Dc(e) {
9215
8971
  var t = 2;
9216
- Q(e, 603, _t(t)), Q(e, 45, Li({ patternType: "none" })), Q(e, 45, Li({ patternType: "gray125" })), Q(
8972
+ Q(e, 603, _t(t)), Q(e, 45, Ni({ patternType: "none" })), Q(e, 45, Ni({ patternType: "gray125" })), Q(
9217
8973
  e,
9218
8974
  604
9219
8975
  /* BrtEndFills */
@@ -9229,7 +8985,7 @@ function kc(e) {
9229
8985
  }
9230
8986
  function Rc(e) {
9231
8987
  var t = 1;
9232
- Q(e, 626, _t(t)), Q(e, 47, no({
8988
+ Q(e, 626, _t(t)), Q(e, 47, ao({
9233
8989
  numFmtId: 0
9234
8990
  }, 65535)), Q(
9235
8991
  e,
@@ -9239,7 +8995,7 @@ function Rc(e) {
9239
8995
  }
9240
8996
  function Pc(e, t) {
9241
8997
  Q(e, 617, _t(t.length)), t.forEach(function(r) {
9242
- Q(e, 47, no(r, 0));
8998
+ Q(e, 47, ao(r, 0));
9243
8999
  }), Q(
9244
9000
  e,
9245
9001
  618
@@ -9285,7 +9041,7 @@ function Mc(e, t) {
9285
9041
  /* BrtEndStyleSheet */
9286
9042
  ), r.end();
9287
9043
  }
9288
- function ao(e, t) {
9044
+ function io(e, t) {
9289
9045
  if (t && t.themeXLSX) return t.themeXLSX;
9290
9046
  if (e && typeof e.raw == "string") return e.raw;
9291
9047
  var r = [Be];
@@ -9333,7 +9089,7 @@ function Yc() {
9333
9089
  flags: 3496657072
9334
9090
  })), Q(e, 336), Q(e, 339, Wc(1, "XLDAPR")), Q(e, 52), Q(e, 35, _t(514)), Q(e, 4096, _t(0)), Q(e, 4097, dt(1)), Q(e, 36), Q(e, 53), Q(e, 340), Q(e, 337, zc(1)), Q(e, 51, $c([[1, 0]])), Q(e, 338), Q(e, 333), e.end();
9335
9091
  }
9336
- function io() {
9092
+ function so() {
9337
9093
  var e = [Be];
9338
9094
  return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
9339
9095
  <metadataTypes count="1">
@@ -9364,7 +9120,7 @@ function Gc(e) {
9364
9120
  return n & 2 && (t.l = "1"), n & 8 && (t.a = "1"), t;
9365
9121
  }
9366
9122
  var fr = 1024;
9367
- function so(e, t) {
9123
+ function oo(e, t) {
9368
9124
  for (var r = [21600, 21600], n = ["m0,0l0", r[1], r[0], r[1], r[0], "0xe"].join(","), a = [
9369
9125
  ae("xml", null, { "xmlns:v": lt.v, "xmlns:o": lt.o, "xmlns:x": lt.x, "xmlns:mv": lt.mv }).replace(/\/>/, ">"),
9370
9126
  ae("o:shapelayout", ae("o:idmap", null, { "v:ext": "edit", data: e }), { "v:ext": "edit" }),
@@ -9406,7 +9162,7 @@ function so(e, t) {
9406
9162
  ]);
9407
9163
  }), a.push("</xml>"), a.join("");
9408
9164
  }
9409
- function oo(e) {
9165
+ function fo(e) {
9410
9166
  var t = [Be, ae("comments", null, { xmlns: mr[0] })], r = [];
9411
9167
  return t.push("<authors>"), e.forEach(function(n) {
9412
9168
  n[1].forEach(function(a) {
@@ -9524,7 +9280,7 @@ function eu(e, t) {
9524
9280
  }
9525
9281
  });
9526
9282
  }
9527
- var fo = ["xlsb", "xlsm", "xlam", "biff8", "xla"], tu = /* @__PURE__ */ (function() {
9283
+ var lo = ["xlsb", "xlsm", "xlam", "biff8", "xla"], tu = /* @__PURE__ */ (function() {
9528
9284
  var e = /(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g, t = { r: 0, c: 0 };
9529
9285
  function r(n, a, i, s) {
9530
9286
  var o = !1, l = !1;
@@ -9535,17 +9291,17 @@ var fo = ["xlsb", "xlsm", "xlam", "biff8", "xla"], tu = /* @__PURE__ */ (functio
9535
9291
  return function(a, i) {
9536
9292
  return t = i, a.replace(e, r);
9537
9293
  };
9538
- })(), Aa = /(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g, Fa = /* @__PURE__ */ (function() {
9294
+ })(), Fa = /(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g, Oa = /* @__PURE__ */ (function() {
9539
9295
  return function(t, r) {
9540
- return t.replace(Aa, function(n, a, i, s, o, l) {
9541
- var f = wa(s) - (i ? 0 : r.c), c = va(l) - (o ? 0 : r.r), u = c == 0 ? "" : o ? c + 1 : "[" + c + "]", d = f == 0 ? "" : i ? f + 1 : "[" + f + "]";
9296
+ return t.replace(Fa, function(n, a, i, s, o, l) {
9297
+ var f = _a(s) - (i ? 0 : r.c), c = wa(l) - (o ? 0 : r.r), u = c == 0 ? "" : o ? c + 1 : "[" + c + "]", d = f == 0 ? "" : i ? f + 1 : "[" + f + "]";
9542
9298
  return a + "R" + u + "C" + d;
9543
9299
  });
9544
9300
  };
9545
9301
  })();
9546
9302
  function ru(e, t) {
9547
- return e.replace(Aa, function(r, n, a, i, s, o) {
9548
- return n + (a == "$" ? a + i : qe(wa(i) + t.c)) + (s == "$" ? s + o : je(va(o) + t.r));
9303
+ return e.replace(Fa, function(r, n, a, i, s, o) {
9304
+ return n + (a == "$" ? a + i : qe(_a(i) + t.c)) + (s == "$" ? s + o : je(wa(o) + t.r));
9549
9305
  });
9550
9306
  }
9551
9307
  function nu(e) {
@@ -9558,25 +9314,25 @@ function Ut(e, t) {
9558
9314
  var r = e.read_shift(2);
9559
9315
  return [r & 16383, r >> 14 & 1, r >> 15 & 1];
9560
9316
  }
9561
- function lo(e, t, r) {
9317
+ function co(e, t, r) {
9562
9318
  var n = 2;
9563
9319
  if (r) {
9564
- if (r.biff >= 2 && r.biff <= 5) return co(e);
9320
+ if (r.biff >= 2 && r.biff <= 5) return uo(e);
9565
9321
  r.biff == 12 && (n = 4);
9566
9322
  }
9567
9323
  var a = e.read_shift(n), i = e.read_shift(n), s = Ut(e), o = Ut(e);
9568
9324
  return { s: { r: a, c: s[0], cRel: s[1], rRel: s[2] }, e: { r: i, c: o[0], cRel: o[1], rRel: o[2] } };
9569
9325
  }
9570
- function co(e) {
9326
+ function uo(e) {
9571
9327
  var t = Ut(e), r = Ut(e), n = e.read_shift(1), a = e.read_shift(1);
9572
9328
  return { s: { r: t[0], c: n, cRel: t[1], rRel: t[2] }, e: { r: r[0], c: a, cRel: r[1], rRel: r[2] } };
9573
9329
  }
9574
9330
  function au(e, t, r) {
9575
- if (r.biff < 8) return co(e);
9331
+ if (r.biff < 8) return uo(e);
9576
9332
  var n = e.read_shift(r.biff == 12 ? 4 : 2), a = e.read_shift(r.biff == 12 ? 4 : 2), i = Ut(e), s = Ut(e);
9577
9333
  return { s: { r: n, c: i[0], cRel: i[1], rRel: i[2] }, e: { r: a, c: s[0], cRel: s[1], rRel: s[2] } };
9578
9334
  }
9579
- function uo(e, t, r) {
9335
+ function ho(e, t, r) {
9580
9336
  if (r && r.biff >= 2 && r.biff <= 5) return iu(e);
9581
9337
  var n = e.read_shift(r && r.biff == 12 ? 4 : 2), a = Ut(e);
9582
9338
  return { r: n, c: a[0], cRel: a[1], rRel: a[2] };
@@ -9602,7 +9358,7 @@ function fu(e) {
9602
9358
  return t &= 16383, n == 1 && t >= 8192 && (t = t - 16384), a == 1 && r >= 128 && (r = r - 256), { r: t, c: r, cRel: a, rRel: n };
9603
9359
  }
9604
9360
  function lu(e, t, r) {
9605
- var n = (e[e.l++] & 96) >> 5, a = lo(e, r.biff >= 2 && r.biff <= 5 ? 6 : 8, r);
9361
+ var n = (e[e.l++] & 96) >> 5, a = co(e, r.biff >= 2 && r.biff <= 5 ? 6 : 8, r);
9606
9362
  return [n, a];
9607
9363
  }
9608
9364
  function cu(e, t, r) {
@@ -9615,7 +9371,7 @@ function cu(e, t, r) {
9615
9371
  i = 12;
9616
9372
  break;
9617
9373
  }
9618
- var s = lo(e, i, r);
9374
+ var s = co(e, i, r);
9619
9375
  return [n, a, s];
9620
9376
  }
9621
9377
  function uu(e, t, r) {
@@ -9642,7 +9398,7 @@ function mu(e, t, r) {
9642
9398
  var n = (e[e.l++] & 96) >> 5;
9643
9399
  return e.l += r.biff == 2 ? 6 : r.biff == 12 ? 14 : 7, [n];
9644
9400
  }
9645
- function Ni(e) {
9401
+ function Ii(e) {
9646
9402
  var t = e[e.l + 1] & 1, r = 1;
9647
9403
  return e.l += 4, [t, r];
9648
9404
  }
@@ -9667,20 +9423,20 @@ function wu(e, t, r) {
9667
9423
  var n = e[e.l + 1] & 255 ? 1 : 0;
9668
9424
  return e.l += r && r.biff == 2 ? 3 : 4, [n];
9669
9425
  }
9670
- function ho(e) {
9426
+ function mo(e) {
9671
9427
  var t = e.read_shift(1), r = e.read_shift(1);
9672
9428
  return [t, r];
9673
9429
  }
9674
9430
  function _u(e) {
9675
- return e.read_shift(2), ho(e);
9431
+ return e.read_shift(2), mo(e);
9676
9432
  }
9677
9433
  function Tu(e) {
9678
- return e.read_shift(2), ho(e);
9434
+ return e.read_shift(2), mo(e);
9679
9435
  }
9680
9436
  function Eu(e, t, r) {
9681
9437
  var n = (e[e.l] & 96) >> 5;
9682
9438
  e.l += 1;
9683
- var a = uo(e, 0, r);
9439
+ var a = ho(e, 0, r);
9684
9440
  return [n, a];
9685
9441
  }
9686
9442
  function yu(e, t, r) {
@@ -9694,18 +9450,18 @@ function Su(e, t, r) {
9694
9450
  e.l += 1;
9695
9451
  var a = e.read_shift(2);
9696
9452
  r && r.biff == 5 && (e.l += 12);
9697
- var i = uo(e, 0, r);
9453
+ var i = ho(e, 0, r);
9698
9454
  return [n, a, i];
9699
9455
  }
9700
9456
  function Au(e, t, r) {
9701
9457
  var n = (e[e.l] & 96) >> 5;
9702
9458
  e.l += 1;
9703
9459
  var a = e.read_shift(r && r.biff <= 3 ? 1 : 2);
9704
- return [Ah[a], po[a], n];
9460
+ return [Ah[a], xo[a], n];
9705
9461
  }
9706
9462
  function Fu(e, t, r) {
9707
9463
  var n = e[e.l++], a = e.read_shift(1), i = r && r.biff <= 3 ? [n == 88 ? -1 : 0, e.read_shift(1)] : Ou(e);
9708
- return [a, (i[0] === 0 ? po : Sh)[i[1]]];
9464
+ return [a, (i[0] === 0 ? xo : Sh)[i[1]]];
9709
9465
  }
9710
9466
  function Ou(e) {
9711
9467
  return [e[e.l + 1] >> 7, e.read_shift(2) & 32767];
@@ -9731,7 +9487,7 @@ function Pu(e) {
9731
9487
  return e.l++, xr(e);
9732
9488
  }
9733
9489
  function Lu(e, t, r) {
9734
- return e.l++, Ks(e, t - 1, r);
9490
+ return e.l++, Xs(e, t - 1, r);
9735
9491
  }
9736
9492
  function Nu(e, t) {
9737
9493
  var r = [e.read_shift(1)];
@@ -9843,14 +9599,14 @@ var Yu = St, Gu = St, ju = St;
9843
9599
  function jr(e, t, r) {
9844
9600
  return e.l += 2, [su(e)];
9845
9601
  }
9846
- function Oa(e) {
9602
+ function Ca(e) {
9847
9603
  return e.l += 6, [];
9848
9604
  }
9849
- var Ku = jr, Xu = Oa, Ju = Oa, qu = jr;
9850
- function mo(e) {
9851
- return e.l += 2, [Gs(e), e.read_shift(2) & 1];
9605
+ var Ku = jr, Xu = Ca, Ju = Ca, qu = jr;
9606
+ function go(e) {
9607
+ return e.l += 2, [js(e), e.read_shift(2) & 1];
9852
9608
  }
9853
- var Qu = jr, Zu = mo, eh = Oa, th = jr, rh = jr, nh = [
9609
+ var Qu = jr, Zu = go, eh = Ca, th = jr, rh = jr, nh = [
9854
9610
  "Data",
9855
9611
  "All",
9856
9612
  "Headers",
@@ -9894,7 +9650,7 @@ function lh(e) {
9894
9650
  function ch(e) {
9895
9651
  return e.l += 4, [0, 0];
9896
9652
  }
9897
- var Ii = {
9653
+ var Mi = {
9898
9654
  /*::[*/
9899
9655
  1: { n: "PtgExp", f: bu },
9900
9656
  /*::[*/
@@ -10088,7 +9844,7 @@ var Ii = {
10088
9844
  125: 61
10089
9845
  }, hh = {
10090
9846
  /*::[*/
10091
- 1: { n: "PtgElfLel", f: mo },
9847
+ 1: { n: "PtgElfLel", f: go },
10092
9848
  /*::[*/
10093
9849
  2: { n: "PtgElfRw", f: th },
10094
9850
  /*::[*/
@@ -10127,9 +9883,9 @@ var Ii = {
10127
9883
  /*::[*/
10128
9884
  16: { n: "PtgAttrSum", f: Cu },
10129
9885
  /*::[*/
10130
- 32: { n: "PtgAttrBaxcel", f: Ni },
9886
+ 32: { n: "PtgAttrBaxcel", f: Ii },
10131
9887
  /*::[*/
10132
- 33: { n: "PtgAttrBaxcel", f: Ni },
9888
+ 33: { n: "PtgAttrBaxcel", f: Ii },
10133
9889
  /*::[*/
10134
9890
  64: { n: "PtgAttrSpace", f: _u },
10135
9891
  /*::[*/
@@ -10165,7 +9921,7 @@ function mh(e, t, r, n) {
10165
9921
  }
10166
9922
  function gh(e, t, r) {
10167
9923
  for (var n = e.l + t, a, i, s = []; n != e.l; )
10168
- t = n - e.l, i = e[e.l], a = Ii[i] || Ii[uh[i]], (i === 24 || i === 25) && (a = (i === 24 ? hh : dh)[e[e.l + 1]]), !a || !a.f ? St(e, t) : s.push([a.n, a.f(e, t, r)]);
9924
+ t = n - e.l, i = e[e.l], a = Mi[i] || Mi[uh[i]], (i === 24 || i === 25) && (a = (i === 24 ? hh : dh)[e[e.l + 1]]), !a || !a.f ? St(e, t) : s.push([a.n, a.f(e, t, r)]);
10169
9925
  return s;
10170
9926
  }
10171
9927
  function ph(e) {
@@ -10204,7 +9960,7 @@ function vh(e, t) {
10204
9960
  if (!e && !(t && t.biff <= 5 && t.biff >= 2)) throw new Error("empty sheet name");
10205
9961
  return /[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e) ? "'" + e + "'" : e;
10206
9962
  }
10207
- function go(e, t, r) {
9963
+ function po(e, t, r) {
10208
9964
  if (!e) return "SH33TJSERR0";
10209
9965
  if (r.biff > 8 && (!e.XTI || !e.XTI[t])) return e.SheetNames[t];
10210
9966
  if (!e.XTI) return "SH33TJSERR6";
@@ -10236,8 +9992,8 @@ function go(e, t, r) {
10236
9992
  return e[n[0]][0][3] ? (a = n[1] == -1 ? "#REF" : e[n[0]][0][3][n[1]] || "SH33TJSERR4", n[1] == n[2] ? a : a + ":" + e[n[0]][0][3][n[2]]) : "SH33TJSERR2";
10237
9993
  }
10238
9994
  }
10239
- function Mi(e, t, r) {
10240
- var n = go(e, t, r);
9995
+ function Bi(e, t, r) {
9996
+ var n = po(e, t, r);
10241
9997
  return n == "#REF" ? n : vh(n, r);
10242
9998
  }
10243
9999
  function dr(e, t, r, n, a) {
@@ -10321,7 +10077,7 @@ function dr(e, t, r, n, a) {
10321
10077
  break;
10322
10078
  case "PtgRef3d":
10323
10079
  u = /*::Number(*/
10324
- D[1][1], c = kr(D[1][2], s, a), p = Mi(n, u, a), o.push(p + "!" + Rr(c, i));
10080
+ D[1][1], c = kr(D[1][2], s, a), p = Bi(n, u, a), o.push(p + "!" + Rr(c, i));
10325
10081
  break;
10326
10082
  case "PtgFunc":
10327
10083
  /* [MS-XLS] 2.5.198.62 */
@@ -10355,14 +10111,14 @@ function dr(e, t, r, n, a) {
10355
10111
  );
10356
10112
  break;
10357
10113
  case "PtgAreaN":
10358
- m = Ti(D[1][1], r ? { s: r } : s, a), o.push(Kn(m, a));
10114
+ m = Ei(D[1][1], r ? { s: r } : s, a), o.push(jn(m, a));
10359
10115
  break;
10360
10116
  case "PtgArea":
10361
- m = Ti(D[1][1], s, a), o.push(Kn(m, a));
10117
+ m = Ei(D[1][1], s, a), o.push(jn(m, a));
10362
10118
  break;
10363
10119
  case "PtgArea3d":
10364
10120
  u = /*::Number(*/
10365
- D[1][1], m = D[1][2], p = Mi(n, u, a), o.push(p + "!" + Kn(m, a));
10121
+ D[1][1], m = D[1][2], p = Bi(n, u, a), o.push(p + "!" + jn(m, a));
10366
10122
  break;
10367
10123
  case "PtgAttrSum":
10368
10124
  o.push("SUM(" + o.pop() + ")");
@@ -10387,7 +10143,7 @@ function dr(e, t, r, n, a) {
10387
10143
  if (((n[R] || [])[0] || [])[0] == 14849 || (((n[R] || [])[0] || [])[0] == 1025 ? n[R][d] && n[R][d].itab > 0 && (M = n.SheetNames[n[R][d].itab - 1] + "!") : M = n.SheetNames[d - 1] + "!"), n[R] && n[R][d]) M += n[R][d].Name;
10388
10144
  else if (n[0] && n[0][d]) M += n[0][d].Name;
10389
10145
  else {
10390
- var H = (go(n, R, a) || "").split(";;");
10146
+ var H = (po(n, R, a) || "").split(";;");
10391
10147
  H[d - 1] ? M = H[d - 1] : M += "SH33TJSERRX";
10392
10148
  }
10393
10149
  o.push(M);
@@ -10955,7 +10711,7 @@ var Th = In, Mn = In, Eh = In, yh = In, Sh = {
10955
10711
  753: "OPTIONS.SAVE",
10956
10712
  755: "OPTIONS.SPELL",
10957
10713
  808: "HIDEALL.INKANNOTS"
10958
- }, po = {
10714
+ }, xo = {
10959
10715
  0: "COUNT",
10960
10716
  1: "IF",
10961
10717
  2: "ISNA",
@@ -11690,14 +11446,14 @@ var Th = In, Mn = In, Eh = In, yh = In, Sh = {
11690
11446
  65535: 0
11691
11447
  };
11692
11448
  function Fh(e) {
11693
- var t = "of:=" + e.replace(Aa, "$1[.$2$3$4$5]").replace(/\]:\[/g, ":");
11449
+ var t = "of:=" + e.replace(Fa, "$1[.$2$3$4$5]").replace(/\]:\[/g, ":");
11694
11450
  return t.replace(/;/g, "|").replace(/,/g, ";");
11695
11451
  }
11696
11452
  function Oh(e) {
11697
11453
  return e.replace(/\./, "!");
11698
11454
  }
11699
11455
  var Pr = typeof Map < "u";
11700
- function Ca(e, t, r) {
11456
+ function ba(e, t, r) {
11701
11457
  var n = 0, a = e.length;
11702
11458
  if (r) {
11703
11459
  if (Pr ? r.has(t) : Object.prototype.hasOwnProperty.call(r, t)) {
@@ -11714,7 +11470,7 @@ function Bn(e, t) {
11714
11470
  var r = { min: e + 1, max: e + 1 }, n = -1;
11715
11471
  return t.MDW && (Dt = t.MDW), t.width != null ? r.customWidth = 1 : t.wpx != null ? n = Fn(t.wpx) : t.wch != null && (n = t.wch), n > -1 ? (r.width = oa(n), r.customWidth = 1) : t.width != null && (r.width = t.width), t.hidden && (r.hidden = !0), t.level != null && (r.outlineLevel = r.level = t.level), r;
11716
11472
  }
11717
- function xo(e, t) {
11473
+ function vo(e, t) {
11718
11474
  if (e) {
11719
11475
  var r = [0.7, 0.7, 0.75, 0.75, 0.3, 0.3];
11720
11476
  e.left == null && (e.left = r[0]), e.right == null && (e.right = r[1]), e.top == null && (e.top = r[2]), e.bottom == null && (e.bottom = r[3]), e.header == null && (e.header = r[4]), e.footer == null && (e.footer = r[5]);
@@ -11724,7 +11480,7 @@ function Wt(e, t, r) {
11724
11480
  var n = r.revssf[t.z != null ? t.z : "General"], a = 60, i = e.length;
11725
11481
  if (n == null && r.ssf) {
11726
11482
  for (; a < 392; ++a) if (r.ssf[a] == null) {
11727
- us(t.z, a), r.ssf[a] = t.z, r.revssf[t.z] = n = a;
11483
+ hs(t.z, a), r.ssf[a] = t.z, r.revssf[t.z] = n = a;
11728
11484
  break;
11729
11485
  }
11730
11486
  }
@@ -11784,10 +11540,10 @@ function Ph(e) {
11784
11540
  e[r] != null && e[r] && (t[r] = "1");
11785
11541
  }), Rh.forEach(function(r) {
11786
11542
  e[r] != null && !e[r] && (t[r] = "0");
11787
- }), e.password && (t.password = Zs(e.password).toString(16).toUpperCase()), ae("sheetProtection", null, t);
11543
+ }), e.password && (t.password = eo(e.password).toString(16).toUpperCase()), ae("sheetProtection", null, t);
11788
11544
  }
11789
11545
  function Lh(e) {
11790
- return xo(e), ae("pageMargins", null, e);
11546
+ return vo(e), ae("pageMargins", null, e);
11791
11547
  }
11792
11548
  function Nh(e, t) {
11793
11549
  for (var r = ["<cols>"], n, a = 0; a != t.length; ++a)
@@ -11854,7 +11610,7 @@ function Bh(e, t, r, n) {
11854
11610
  }
11855
11611
  if (e.v.length > 32767) throw new Error("Text length must not exceed 32767 characters");
11856
11612
  if (n && n.bookSST) {
11857
- o = Ge("v", "" + Ca(n.Strings, e.v, n.revStrings)), l.t = "s";
11613
+ o = Ge("v", "" + ba(n.Strings, e.v, n.revStrings)), l.t = "s";
11858
11614
  break;
11859
11615
  }
11860
11616
  l.t = "str";
@@ -11881,7 +11637,7 @@ function Uh(e, t, r, n) {
11881
11637
  m && m[u] && (h = { r: u + 1 }, x = m[u], x.hidden && (h.hidden = 1), P = -1, x.hpx ? P = On(x.hpx) : x.hpt && (P = x.hpt), P > -1 && (h.ht = P, h.customHeight = 1), x.level && (h.outlineLevel = x.level), a[a.length] = ae("row", "", h));
11882
11638
  return a.join("");
11883
11639
  }
11884
- function vo(e, t, r, n) {
11640
+ function wo(e, t, r, n) {
11885
11641
  var a = [Be, ae("worksheet", null, {
11886
11642
  xmlns: mr[0],
11887
11643
  "xmlns:r": He.r
@@ -11952,7 +11708,7 @@ function jh(e, t, r) {
11952
11708
  var n = 192;
11953
11709
  t && (t.above && (n &= -65), t.left && (n &= -129)), r.write_shift(1, n);
11954
11710
  for (var a = 1; a < 3; ++a) r.write_shift(1, 0);
11955
- return yn({ auto: 1 }, r), r.write_shift(-4, -1), r.write_shift(-4, -1), Rs(e, r), r.slice(0, r.l);
11711
+ return yn({ auto: 1 }, r), r.write_shift(-4, -1), r.write_shift(-4, -1), Ps(e, r), r.slice(0, r.l);
11956
11712
  }
11957
11713
  function Kh(e) {
11958
11714
  var t = mt(e);
@@ -12025,21 +11781,21 @@ function dd(e, t, r) {
12025
11781
  return r == null && (r = G(12)), Zt(t, r), Kt(e.v, r), r;
12026
11782
  }
12027
11783
  function md(e) {
12028
- var t = mt(e), r = Ps(e);
11784
+ var t = mt(e), r = Ls(e);
12029
11785
  return [t, r, "n"];
12030
11786
  }
12031
11787
  function gd(e, t, r) {
12032
- return r == null && (r = G(12)), qt(t, r), Ls(e.v, r), r;
11788
+ return r == null && (r = G(12)), qt(t, r), Ns(e.v, r), r;
12033
11789
  }
12034
11790
  function pd(e) {
12035
- var t = Qt(e), r = Ps(e);
11791
+ var t = Qt(e), r = Ls(e);
12036
11792
  return [t, r, "n"];
12037
11793
  }
12038
11794
  function xd(e, t, r) {
12039
- return r == null && (r = G(8)), Zt(t, r), Ls(e.v, r), r;
11795
+ return r == null && (r = G(8)), Zt(t, r), Ns(e.v, r), r;
12040
11796
  }
12041
11797
  function vd(e) {
12042
- var t = mt(e), r = _a(e);
11798
+ var t = mt(e), r = Ta(e);
12043
11799
  return [t, r, "is"];
12044
11800
  }
12045
11801
  function wd(e) {
@@ -12105,21 +11861,21 @@ function bd(e, t) {
12105
11861
  return t == null && (t = G(4)), t.write_shift(4, e), t;
12106
11862
  }
12107
11863
  function Dd(e, t) {
12108
- var r = e.l + t, n = er(e), a = Ta(e), i = Qe(e), s = Qe(e), o = Qe(e);
11864
+ var r = e.l + t, n = er(e), a = Ea(e), i = Qe(e), s = Qe(e), o = Qe(e);
12109
11865
  e.l = r;
12110
11866
  var l = { rfx: n, relId: a, loc: i, display: o };
12111
11867
  return s && (l.Tooltip = s), l;
12112
11868
  }
12113
11869
  function kd(e, t) {
12114
11870
  var r = G(50 + 4 * (e[1].Target.length + (e[1].Tooltip || "").length));
12115
- pr({ s: $e(e[0]), e: $e(e[0]) }, r), Ea("rId" + t, r);
11871
+ pr({ s: $e(e[0]), e: $e(e[0]) }, r), ya("rId" + t, r);
12116
11872
  var n = e[1].Target.indexOf("#"), a = n == -1 ? "" : e[1].Target.slice(n + 1);
12117
11873
  return We(a || "", r), We(e[1].Tooltip || "", r), We("", r), r.slice(0, r.l);
12118
11874
  }
12119
11875
  function Rd() {
12120
11876
  }
12121
11877
  function Pd(e, t, r) {
12122
- var n = e.l + t, a = Ns(e), i = e.read_shift(1), s = [a];
11878
+ var n = e.l + t, a = Is(e), i = e.read_shift(1), s = [a];
12123
11879
  if (s[2] = i, r.cellFormula) {
12124
11880
  var o = Th(e, n - e.l, r);
12125
11881
  s[1] = o;
@@ -12145,15 +11901,15 @@ function Nd(e, t, r) {
12145
11901
  var a = 0;
12146
11902
  return t.hidden && (a |= 1), typeof n.width == "number" && (a |= 2), t.level && (a |= t.level << 8), r.write_shift(2, a), r;
12147
11903
  }
12148
- var wo = ["left", "right", "top", "bottom", "header", "footer"];
11904
+ var _o = ["left", "right", "top", "bottom", "header", "footer"];
12149
11905
  function Id(e) {
12150
11906
  var t = {};
12151
- return wo.forEach(function(r) {
11907
+ return _o.forEach(function(r) {
12152
11908
  t[r] = xr(e);
12153
11909
  }), t;
12154
11910
  }
12155
11911
  function Md(e, t) {
12156
- return t == null && (t = G(48)), xo(e), wo.forEach(function(r) {
11912
+ return t == null && (t = G(48)), vo(e), _o.forEach(function(r) {
12157
11913
  Kt(e[r], t);
12158
11914
  }), t;
12159
11915
  }
@@ -12171,7 +11927,7 @@ function Hd(e) {
12171
11927
  return t.write_shift(4, 4), t.write_shift(4, 1), pr(e, t), t;
12172
11928
  }
12173
11929
  function $d(e, t) {
12174
- return t == null && (t = G(66)), t.write_shift(2, e.password ? Zs(e.password) : 0), t.write_shift(4, 1), [
11930
+ return t == null && (t = G(66)), t.write_shift(2, e.password ? eo(e.password) : 0), t.write_shift(4, 1), [
12175
11931
  ["objects", !1],
12176
11932
  // fObjects
12177
11933
  ["scenarios", !1],
@@ -12233,7 +11989,7 @@ function zd(e, t, r, n, a, i, s) {
12233
11989
  switch (l.s = Wt(a.cellXfs, t, a), t.l && i["!links"].push([Oe(l), t.l]), t.c && i["!comments"].push([Oe(l), t.c]), t.t) {
12234
11990
  case "s":
12235
11991
  case "str":
12236
- return a.bookSST ? (o = Ca(a.Strings, t.v, a.revStrings), l.t = "s", l.v = o, s ? Q(e, 18, ld(t, l)) : Q(e, 7, od(t, l))) : (l.t = "str", s ? Q(e, 17, Ed(t, l)) : Q(e, 6, _d(t, l))), !0;
11992
+ return a.bookSST ? (o = ba(a.Strings, t.v, a.revStrings), l.t = "s", l.v = o, s ? Q(e, 18, ld(t, l)) : Q(e, 7, od(t, l))) : (l.t = "str", s ? Q(e, 17, Ed(t, l)) : Q(e, 6, _d(t, l))), !0;
12237
11993
  case "n":
12238
11994
  return t.v == (t.v | 0) && t.v > -1e3 && t.v < 1e3 ? s ? Q(e, 13, xd(t, l)) : Q(e, 2, gd(t, l)) : s ? Q(e, 16, dd(t, l)) : Q(e, 5, ud(t, l)), !0;
12239
11995
  case "b":
@@ -12315,7 +12071,7 @@ function Xd(e, t, r) {
12315
12071
  function Jd(e, t, r, n) {
12316
12072
  if (t["!comments"].length > 0) {
12317
12073
  var a = Ae(n, -1, "../drawings/vmlDrawing" + (r + 1) + ".vml", Ee.VML);
12318
- Q(e, 551, Ea("rId" + a)), t["!legacy"] = a;
12074
+ Q(e, 551, ya("rId" + a)), t["!legacy"] = a;
12319
12075
  }
12320
12076
  }
12321
12077
  function qd(e, t, r, n) {
@@ -12406,7 +12162,7 @@ function n1(e) {
12406
12162
  return !e.Workbook || !e.Workbook.WBProps ? "false" : Lf(e.Workbook.WBProps.date1904) ? "true" : "false";
12407
12163
  }
12408
12164
  var a1 = /* @__PURE__ */ "][*?/\\".split("");
12409
- function _o(e, t) {
12165
+ function To(e, t) {
12410
12166
  if (e.length > 31)
12411
12167
  throw new Error("Sheet names cannot exceed 31 chars");
12412
12168
  var r = !0;
@@ -12417,7 +12173,7 @@ function _o(e, t) {
12417
12173
  }
12418
12174
  function i1(e, t, r) {
12419
12175
  e.forEach(function(n, a) {
12420
- _o(n);
12176
+ To(n);
12421
12177
  for (var i = 0; i < a; ++i) if (n == e[i]) throw new Error("Duplicate Sheet Name: " + n);
12422
12178
  if (r) {
12423
12179
  var s = t && t[a] && t[a].CodeName || n;
@@ -12432,7 +12188,7 @@ function s1(e) {
12432
12188
  i1(e.SheetNames, t, !!e.vbaraw);
12433
12189
  for (var r = 0; r < e.SheetNames.length; ++r) Ch(e.Sheets[e.SheetNames[r]], e.SheetNames[r], r);
12434
12190
  }
12435
- function To(e) {
12191
+ function Eo(e) {
12436
12192
  var t = [Be];
12437
12193
  t[t.length] = ae("workbook", null, {
12438
12194
  xmlns: mr[0],
@@ -12472,7 +12228,7 @@ function o1(e, t) {
12472
12228
  return r.Hidden = e.read_shift(4), r.iTabID = e.read_shift(4), r.strRelID = sa(e), r.name = Qe(e), r;
12473
12229
  }
12474
12230
  function f1(e, t) {
12475
- return t || (t = G(127)), t.write_shift(4, e.Hidden), t.write_shift(4, e.iTabID), Ea(e.strRelID, t), We(e.name.slice(0, 31), t), t.length > t.l ? t.slice(0, t.l) : t;
12231
+ return t || (t = G(127)), t.write_shift(4, e.Hidden), t.write_shift(4, e.iTabID), ya(e.strRelID, t), We(e.name.slice(0, 31), t), t.length > t.l ? t.slice(0, t.l) : t;
12476
12232
  }
12477
12233
  function l1(e, t) {
12478
12234
  var r = {}, n = e.read_shift(4);
@@ -12483,12 +12239,12 @@ function l1(e, t) {
12483
12239
  function c1(e, t) {
12484
12240
  t || (t = G(72));
12485
12241
  var r = 0;
12486
- return e && e.filterPrivacy && (r |= 8), t.write_shift(4, r), t.write_shift(4, 0), Rs(e && e.CodeName || "ThisWorkbook", t), t.slice(0, t.l);
12242
+ return e && e.filterPrivacy && (r |= 8), t.write_shift(4, r), t.write_shift(4, 0), Ps(e && e.CodeName || "ThisWorkbook", t), t.slice(0, t.l);
12487
12243
  }
12488
12244
  function u1(e, t, r) {
12489
12245
  var n = e.l + t;
12490
12246
  e.l += 4, e.l += 1;
12491
- var a = e.read_shift(4), i = nl(e), s = Eh(e, 0, r), o = Ta(e);
12247
+ var a = e.read_shift(4), i = nl(e), s = Eh(e, 0, r), o = Ea(e);
12492
12248
  e.l = n;
12493
12249
  var l = { Name: i, Ptg: s };
12494
12250
  return a < 268435455 && (l.Sheet = a), o && (l.Comment = o), l;
@@ -12547,22 +12303,22 @@ function p1(e, t) {
12547
12303
  ), r.end();
12548
12304
  }
12549
12305
  function x1(e, t, r) {
12550
- return (t.slice(-4) === ".bin" ? p1 : To)(e);
12306
+ return (t.slice(-4) === ".bin" ? p1 : Eo)(e);
12551
12307
  }
12552
12308
  function v1(e, t, r, n, a) {
12553
- return (t.slice(-4) === ".bin" ? e1 : vo)(e, r, n, a);
12309
+ return (t.slice(-4) === ".bin" ? e1 : wo)(e, r, n, a);
12554
12310
  }
12555
12311
  function w1(e, t, r) {
12556
- return (t.slice(-4) === ".bin" ? Mc : ro)(e, r);
12312
+ return (t.slice(-4) === ".bin" ? Mc : no)(e, r);
12557
12313
  }
12558
12314
  function _1(e, t, r) {
12559
- return (t.slice(-4) === ".bin" ? cc : Qs)(e, r);
12315
+ return (t.slice(-4) === ".bin" ? cc : Zs)(e, r);
12560
12316
  }
12561
12317
  function T1(e, t, r) {
12562
- return (t.slice(-4) === ".bin" ? Zc : oo)(e);
12318
+ return (t.slice(-4) === ".bin" ? Zc : fo)(e);
12563
12319
  }
12564
12320
  function E1(e) {
12565
- return (e.slice(-4) === ".bin" ? Yc : io)();
12321
+ return (e.slice(-4) === ".bin" ? Yc : so)();
12566
12322
  }
12567
12323
  function y1(e, t) {
12568
12324
  var r = [];
@@ -12583,14 +12339,14 @@ function A1(e, t) {
12583
12339
  r.push(ae("Style", i.join(""), s));
12584
12340
  }), ae("Styles", r.join(""));
12585
12341
  }
12586
- function Eo(e) {
12587
- return ae("NamedRange", null, { "ss:Name": e.Name, "ss:RefersTo": "=" + Fa(e.Ref, { r: 0, c: 0 }) });
12342
+ function yo(e) {
12343
+ return ae("NamedRange", null, { "ss:Name": e.Name, "ss:RefersTo": "=" + Oa(e.Ref, { r: 0, c: 0 }) });
12588
12344
  }
12589
12345
  function F1(e) {
12590
12346
  if (!((e || {}).Workbook || {}).Names) return "";
12591
12347
  for (var t = e.Workbook.Names, r = [], n = 0; n < t.length; ++n) {
12592
12348
  var a = t[n];
12593
- a.Sheet == null && (a.Name.match(/^_xlfn\./) || r.push(Eo(a)));
12349
+ a.Sheet == null && (a.Name.match(/^_xlfn\./) || r.push(yo(a)));
12594
12350
  }
12595
12351
  return ae("Names", r.join(""));
12596
12352
  }
@@ -12598,7 +12354,7 @@ function O1(e, t, r, n) {
12598
12354
  if (!e || !((n || {}).Workbook || {}).Names) return "";
12599
12355
  for (var a = n.Workbook.Names, i = [], s = 0; s < a.length; ++s) {
12600
12356
  var o = a[s];
12601
- o.Sheet == r && (o.Name.match(/^_xlfn\./) || i.push(Eo(o)));
12357
+ o.Sheet == r && (o.Name.match(/^_xlfn\./) || i.push(yo(o)));
12602
12358
  }
12603
12359
  return i.join("");
12604
12360
  }
@@ -12641,7 +12397,7 @@ function b1(e) {
12641
12397
  function D1(e, t, r, n, a, i, s) {
12642
12398
  if (!e || e.v == null && e.f == null) return "";
12643
12399
  var o = {};
12644
- if (e.f && (o["ss:Formula"] = "=" + Fe(Fa(e.f, s))), e.F && e.F.slice(0, t.length) == t) {
12400
+ if (e.f && (o["ss:Formula"] = "=" + Fe(Oa(e.f, s))), e.F && e.F.slice(0, t.length) == t) {
12645
12401
  var l = $e(e.F.slice(t.length + 1));
12646
12402
  o["ss:ArrayRange"] = "RC:R" + (l.r == s.r ? "" : "[" + (l.r - s.r) + "]") + "C" + (l.c == s.c ? "" : "[" + (l.c - s.c) + "]");
12647
12403
  }
@@ -12676,13 +12432,13 @@ function D1(e, t, r, n, a, i, s) {
12676
12432
  }
12677
12433
  function k1(e, t) {
12678
12434
  var r = '<Row ss:Index="' + (e + 1) + '"';
12679
- return t && (t.hpt && !t.hpx && (t.hpx = to(t.hpt)), t.hpx && (r += ' ss:AutoFitHeight="0" ss:Height="' + t.hpx + '"'), t.hidden && (r += ' ss:Hidden="1"')), r + ">";
12435
+ return t && (t.hpt && !t.hpx && (t.hpx = ro(t.hpt)), t.hpx && (r += ' ss:AutoFitHeight="0" ss:Height="' + t.hpx + '"'), t.hidden && (r += ' ss:Hidden="1"')), r + ">";
12680
12436
  }
12681
12437
  function R1(e, t, r, n) {
12682
12438
  if (!e["!ref"]) return "";
12683
12439
  var a = De(e["!ref"]), i = e["!merges"] || [], s = 0, o = [];
12684
12440
  e["!cols"] && e["!cols"].forEach(function(x, P) {
12685
- Sa(x);
12441
+ Aa(x);
12686
12442
  var L = !!x.width, D = Bn(P, x), B = { "ss:Index": P + 1 };
12687
12443
  L && (B["ss:Width"] = An(D.width)), x.hidden && (B["ss:Hidden"] = "1"), o.push(ae("Column", null, B));
12688
12444
  });
@@ -12722,21 +12478,21 @@ function L1(e, t) {
12722
12478
  "xmlns:html": lt.html
12723
12479
  });
12724
12480
  }
12725
- var qn = {
12481
+ var Jn = {
12726
12482
  SI: "e0859ff2f94f6810ab9108002b27b3d9",
12727
12483
  DSI: "02d5cdd59c2e1b10939708002b2cf9ae",
12728
12484
  UDI: "05d5cdd59c2e1b10939708002b2cf9ae"
12729
12485
  };
12730
12486
  function N1(e, t) {
12731
- var r = [], n = [], a = [], i = 0, s, o = ci(yi, "n"), l = ci(Si, "n");
12487
+ var r = [], n = [], a = [], i = 0, s, o = ui(Si, "n"), l = ui(Ai, "n");
12732
12488
  if (e.Props)
12733
12489
  for (s = Ke(e.Props), i = 0; i < s.length; ++i) (Object.prototype.hasOwnProperty.call(o, s[i]) ? r : Object.prototype.hasOwnProperty.call(l, s[i]) ? n : a).push([s[i], e.Props[s[i]]]);
12734
12490
  if (e.Custprops)
12735
12491
  for (s = Ke(e.Custprops), i = 0; i < s.length; ++i) Object.prototype.hasOwnProperty.call(e.Props || {}, s[i]) || (Object.prototype.hasOwnProperty.call(o, s[i]) ? r : Object.prototype.hasOwnProperty.call(l, s[i]) ? n : a).push([s[i], e.Custprops[s[i]]]);
12736
12492
  var f = [];
12737
12493
  for (i = 0; i < a.length; ++i)
12738
- Ys.indexOf(a[i][0]) > -1 || Ws.indexOf(a[i][0]) > -1 || a[i][1] != null && f.push(a[i]);
12739
- n.length && Ce.utils.cfb_add(t, "/SummaryInformation", bi(n, qn.SI, l, Si)), (r.length || f.length) && Ce.utils.cfb_add(t, "/DocumentSummaryInformation", bi(r, qn.DSI, o, yi, f.length ? f : null, qn.UDI));
12494
+ Gs.indexOf(a[i][0]) > -1 || Vs.indexOf(a[i][0]) > -1 || a[i][1] != null && f.push(a[i]);
12495
+ n.length && Ce.utils.cfb_add(t, "/SummaryInformation", Di(n, Jn.SI, l, Ai)), (r.length || f.length) && Ce.utils.cfb_add(t, "/DocumentSummaryInformation", Di(r, Jn.DSI, o, Si, f.length ? f : null, Jn.UDI));
12740
12496
  }
12741
12497
  function I1(e, t) {
12742
12498
  var r = t || {}, n = Ce.utils.cfb_new({ root: "R" }), a = "/Workbook";
@@ -12756,7 +12512,7 @@ function I1(e, t) {
12756
12512
  default:
12757
12513
  throw new Error("invalid type " + r.bookType + " for XLS CFB");
12758
12514
  }
12759
- return Ce.utils.cfb_add(n, a, yo(e, r)), r.biff == 8 && (e.Props || e.Custprops) && N1(e, n), r.biff == 8 && e.vbaraw && eu(n, Ce.read(e.vbaraw, { type: typeof e.vbaraw == "string" ? "binary" : "buffer" })), n;
12515
+ return Ce.utils.cfb_add(n, a, So(e, r)), r.biff == 8 && (e.Props || e.Custprops) && N1(e, n), r.biff == 8 && e.vbaraw && eu(n, Ce.read(e.vbaraw, { type: typeof e.vbaraw == "string" ? "binary" : "buffer" })), n;
12760
12516
  }
12761
12517
  var M1 = {
12762
12518
  /*::[*/
@@ -12857,7 +12613,7 @@ var M1 = {
12857
12613
  /*::[*/
12858
12614
  19: {
12859
12615
  /* n:"BrtSSTItem", */
12860
- f: _a
12616
+ f: Ta
12861
12617
  },
12862
12618
  /*::[*/
12863
12619
  20: {
@@ -16845,7 +16601,7 @@ function se(e, t, r, n) {
16845
16601
  if (!isNaN(a)) {
16846
16602
  var i = n || (r || []).length || 0, s = e.next(4);
16847
16603
  s.write_shift(2, a), s.write_shift(2, i), /*:: len != null &&*/
16848
- i > 0 && xa(r) && e.push(r);
16604
+ i > 0 && va(r) && e.push(r);
16849
16605
  }
16850
16606
  }
16851
16607
  function B1(e, t, r, n) {
@@ -16868,7 +16624,7 @@ function Kr(e, t, r) {
16868
16624
  }
16869
16625
  function U1(e, t, r, n) {
16870
16626
  var a = G(9);
16871
- return Kr(a, e, t), js(r, n || "b", a), a;
16627
+ return Kr(a, e, t), Ks(r, n || "b", a), a;
16872
16628
  }
16873
16629
  function H1(e, t, r) {
16874
16630
  var n = G(8 + 2 * r.length);
@@ -16911,7 +16667,7 @@ function W1(e, t, r, n) {
16911
16667
  function V1(e, t) {
16912
16668
  for (var r = t || {}, n = at(), a = 0, i = 0; i < e.SheetNames.length; ++i) e.SheetNames[i] == r.sheet && (a = i);
16913
16669
  if (a == 0 && r.sheet && e.SheetNames[0] != r.sheet) throw new Error("Sheet not found: " + r.sheet);
16914
- return se(n, r.biff == 4 ? 1033 : r.biff == 3 ? 521 : 9, ya(e, 16, r)), W1(n, e.Sheets[e.SheetNames[a]], a, r), se(n, 10), n.end();
16670
+ return se(n, r.biff == 4 ? 1033 : r.biff == 3 ? 521 : 9, Sa(e, 16, r)), W1(n, e.Sheets[e.SheetNames[a]], a, r), se(n, 10), n.end();
16915
16671
  }
16916
16672
  function z1(e, t, r) {
16917
16673
  se(e, 49, Ml({
@@ -16931,12 +16687,12 @@ function Y1(e, t, r) {
16931
16687
  }
16932
16688
  function G1(e, t) {
16933
16689
  var r = G(19);
16934
- r.write_shift(4, 2151), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 1), r.write_shift(4, 0), se(e, 2151, r), r = G(39), r.write_shift(4, 2152), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 0), r.write_shift(4, 0), r.write_shift(2, 1), r.write_shift(4, 4), r.write_shift(2, 0), Js(De(t["!ref"] || "A1"), r), r.write_shift(4, 4), se(e, 2152, r);
16690
+ r.write_shift(4, 2151), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 1), r.write_shift(4, 0), se(e, 2151, r), r = G(39), r.write_shift(4, 2152), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 0), r.write_shift(4, 0), r.write_shift(2, 1), r.write_shift(4, 4), r.write_shift(2, 0), qs(De(t["!ref"] || "A1"), r), r.write_shift(4, 4), se(e, 2152, r);
16935
16691
  }
16936
16692
  function j1(e, t) {
16937
- for (var r = 0; r < 16; ++r) se(e, 224, ki({ numFmtId: 0, style: !0 }, 0, t));
16693
+ for (var r = 0; r < 16; ++r) se(e, 224, Ri({ numFmtId: 0, style: !0 }, 0, t));
16938
16694
  t.cellXfs.forEach(function(n) {
16939
- se(e, 224, ki(n, 0, t));
16695
+ se(e, 224, Ri(n, 0, t));
16940
16696
  });
16941
16697
  }
16942
16698
  function K1(e, t) {
@@ -16975,7 +16731,7 @@ function J1(e, t, r, n, a) {
16975
16731
  case "s":
16976
16732
  case "str":
16977
16733
  if (a.bookSST) {
16978
- var o = Ca(a.Strings, t.v, a.revStrings);
16734
+ var o = ba(a.Strings, t.v, a.revStrings);
16979
16735
  se(e, 253, Bl(r, n, o, i));
16980
16736
  } else se(e, 516, Ul(r, n, (t.v || "").slice(0, 255), i, a));
16981
16737
  break;
@@ -16989,7 +16745,7 @@ function q1(e, t, r) {
16989
16745
  if (t.WTF) throw new Error("Range " + (i["!ref"] || "A1") + " exceeds format limit A1:IV16384");
16990
16746
  m.e.c = Math.min(m.e.c, 255), m.e.r = Math.min(m.e.c, p - 1);
16991
16747
  }
16992
- se(n, 2057, ya(r, 16, t)), se(n, 13, dt(1)), se(n, 12, dt(100)), se(n, 15, et(!0)), se(n, 17, et(!1)), se(n, 16, Kt(1e-3)), se(n, 95, et(!0)), se(n, 42, et(!1)), se(n, 43, et(!1)), se(n, 130, dt(1)), se(n, 128, Wl()), se(n, 131, et(!1)), se(n, 132, et(!1)), f && X1(n, i["!cols"]), se(n, 512, $l(m, t)), f && (i["!links"] = []);
16748
+ se(n, 2057, Sa(r, 16, t)), se(n, 13, dt(1)), se(n, 12, dt(100)), se(n, 15, et(!0)), se(n, 17, et(!1)), se(n, 16, Kt(1e-3)), se(n, 95, et(!0)), se(n, 42, et(!1)), se(n, 43, et(!1)), se(n, 130, dt(1)), se(n, 128, Wl()), se(n, 131, et(!1)), se(n, 132, et(!1)), f && X1(n, i["!cols"]), se(n, 512, $l(m, t)), f && (i["!links"] = []);
16993
16749
  for (var h = m.s.r; h <= m.e.r; ++h) {
16994
16750
  u = je(h);
16995
16751
  for (var x = m.s.c; x <= m.e.c; ++x) {
@@ -16999,7 +16755,7 @@ function q1(e, t, r) {
16999
16755
  }
17000
16756
  }
17001
16757
  var L = o.CodeName || o.name || a;
17002
- return f && se(n, 574, Il((s.Views || [])[0])), f && (i["!merges"] || []).length && se(n, 229, jl(i["!merges"])), f && K1(n, i), se(n, 442, Xs(L)), f && G1(n, i), se(
16758
+ return f && se(n, 574, Il((s.Views || [])[0])), f && (i["!merges"] || []).length && se(n, 229, jl(i["!merges"])), f && K1(n, i), se(n, 442, Js(L)), f && G1(n, i), se(
17003
16759
  n,
17004
16760
  10
17005
16761
  /* EOF */
@@ -17012,7 +16768,7 @@ function Q1(e, t, r) {
17012
16768
  /*::CodeName:"ThisWorkbook"*/
17013
16769
  }
17014
16770
  ), o = r.biff == 8, l = r.biff == 5;
17015
- if (se(n, 2057, ya(e, 5, r)), r.bookType == "xla" && se(
16771
+ if (se(n, 2057, Sa(e, 5, r)), r.bookType == "xla" && se(
17016
16772
  n,
17017
16773
  135
17018
16774
  /* Addin */
@@ -17038,7 +16794,7 @@ function Q1(e, t, r) {
17038
16794
  /* ObProj */
17039
16795
  ), o && e.vbaraw) {
17040
16796
  var f = s.CodeName || "ThisWorkbook";
17041
- se(n, 442, Xs(f));
16797
+ se(n, 442, Js(f));
17042
16798
  }
17043
16799
  se(n, 156, dt(17)), se(n, 25, et(!1)), se(n, 18, et(!1)), se(n, 19, dt(0)), o && se(n, 431, et(!1)), o && se(n, 444, dt(0)), se(n, 61, Nl()), se(n, 64, et(!1)), se(n, 141, dt(0)), se(n, 34, et(n1(e) == "true")), se(n, 14, et(!0)), o && se(n, 439, et(!1)), se(n, 218, dt(0)), z1(n, e, r), Y1(n, e.SSF, r), j1(n, r), o && se(n, 352, et(!1));
17044
16800
  var c = n.end(), u = at();
@@ -17062,11 +16818,11 @@ function Q1(e, t, r) {
17062
16818
  function Z1(e, t) {
17063
16819
  var r = t || {}, n = [];
17064
16820
  e && !e.SSF && (e.SSF = st(Ne)), e && e.SSF && (Pn(), Rn(e.SSF), r.revssf = Ln(e.SSF), r.revssf[e.SSF[65535]] = 0, r.ssf = e.SSF), r.Strings = /*::((*/
17065
- [], r.Strings.Count = 0, r.Strings.Unique = 0, ba(r), r.cellXfs = [], Wt(r.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {});
16821
+ [], r.Strings.Count = 0, r.Strings.Unique = 0, Da(r), r.cellXfs = [], Wt(r.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {});
17066
16822
  for (var a = 0; a < e.SheetNames.length; ++a) n[n.length] = q1(a, r, e);
17067
16823
  return n.unshift(Q1(e, n, r)), Ye(n);
17068
16824
  }
17069
- function yo(e, t) {
16825
+ function So(e, t) {
17070
16826
  for (var r = 0; r <= e.SheetNames.length; ++r) {
17071
16827
  var n = e.Sheets[e.SheetNames[r]];
17072
16828
  if (!(!n || !n["!ref"])) {
@@ -17110,13 +16866,13 @@ function nm(e, t, r) {
17110
16866
  var n = [];
17111
16867
  return n.join("") + "<table" + (r && r.id ? ' id="' + r.id + '"' : "") + ">";
17112
16868
  }
17113
- function So(e, t) {
16869
+ function Ao(e, t) {
17114
16870
  var r = t || {}, n = r.header != null ? r.header : tm, a = r.footer != null ? r.footer : rm, i = [n], s = ut(e["!ref"]);
17115
16871
  r.dense = Array.isArray(e), i.push(nm(e, s, r));
17116
16872
  for (var o = s.s.r; o <= s.e.r; ++o) i.push(em(e, s, o, r));
17117
16873
  return i.push("</table>" + a), i.join("");
17118
16874
  }
17119
- function Ao(e, t, r) {
16875
+ function Fo(e, t, r) {
17120
16876
  var n = r || {}, a = 0, i = 0;
17121
16877
  if (n.origin != null)
17122
16878
  if (typeof n.origin == "number") a = n.origin;
@@ -17132,14 +16888,14 @@ function Ao(e, t, r) {
17132
16888
  var u = [], d = 0, m = e["!rows"] || (e["!rows"] = []), p = 0, h = 0, x = 0, P = 0, L = 0, D = 0;
17133
16889
  for (e["!cols"] || (e["!cols"] = []); p < o.length && h < l; ++p) {
17134
16890
  var B = o[p];
17135
- if (Bi(B)) {
16891
+ if (Ui(B)) {
17136
16892
  if (n.display) continue;
17137
16893
  m[h] = { hidden: !0 };
17138
16894
  }
17139
16895
  var K = B.children;
17140
16896
  for (x = P = 0; x < K.length; ++x) {
17141
16897
  var re = K[x];
17142
- if (!(n.display && Bi(re))) {
16898
+ if (!(n.display && Ui(re))) {
17143
16899
  var _ = re.hasAttribute("data-v") ? re.getAttribute("data-v") : re.hasAttribute("v") ? re.getAttribute("v") : Nf(re.innerHTML), C = re.getAttribute("data-z") || re.getAttribute("z");
17144
16900
  for (d = 0; d < u.length; ++d) {
17145
16901
  var R = u[d];
@@ -17157,14 +16913,14 @@ function Ao(e, t, r) {
17157
16913
  }
17158
16914
  return u.length && (e["!merges"] = (e["!merges"] || []).concat(u)), f.e.r = Math.max(f.e.r, h - 1 + a), e["!ref"] = Me(f), h >= l && (e["!fullref"] = Me((f.e.r = o.length - p + h - 1 + a, f))), e;
17159
16915
  }
17160
- function Fo(e, t) {
16916
+ function Oo(e, t) {
17161
16917
  var r = t || {}, n = r.dense ? [] : {};
17162
- return Ao(n, e, t);
16918
+ return Fo(n, e, t);
17163
16919
  }
17164
16920
  function am(e, t) {
17165
- return Jt(Fo(e, t), t);
16921
+ return Jt(Oo(e, t), t);
17166
16922
  }
17167
- function Bi(e) {
16923
+ function Ui(e) {
17168
16924
  var t = "", r = im(e);
17169
16925
  return r && (t = r(e).getPropertyValue("display")), t || (t = e.style && e.style.display), t === "none";
17170
16926
  }
@@ -17198,7 +16954,7 @@ var sm = /* @__PURE__ */ (function() {
17198
16954
  return function() {
17199
16955
  return Be + t;
17200
16956
  };
17201
- })(), Ui = /* @__PURE__ */ (function() {
16957
+ })(), Hi = /* @__PURE__ */ (function() {
17202
16958
  var e = function(i) {
17203
16959
  return Fe(i).replace(/ +/g, function(s) {
17204
16960
  return '<text:s text:c="' + s.length + '"/>';
@@ -17290,7 +17046,7 @@ var sm = /* @__PURE__ */ (function() {
17290
17046
  for (var c = 0; c < f["!cols"].length; ++c) if (f["!cols"][c]) {
17291
17047
  var u = f["!cols"][c];
17292
17048
  if (u.width == null && u.wpx == null && u.wch == null) continue;
17293
- Sa(u), u.ods = o;
17049
+ Aa(u), u.ods = o;
17294
17050
  var d = f["!cols"][c].wpx + "px";
17295
17051
  i.push(' <style:style style:name="co' + o + `" style:family="table-column">
17296
17052
  `), i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="' + d + `"/>
@@ -17364,7 +17120,7 @@ var sm = /* @__PURE__ */ (function() {
17364
17120
  "office:mimetype": "application/vnd.oasis.opendocument.spreadsheet"
17365
17121
  });
17366
17122
  o.bookType == "fods" ? (l.push("<office:document" + f + c + `>
17367
- `), l.push(Hs().replace(/office:document-meta/g, "office:meta"))) : l.push("<office:document-content" + f + `>
17123
+ `), l.push($s().replace(/office:document-meta/g, "office:meta"))) : l.push("<office:document-content" + f + `>
17368
17124
  `), a(l, s), l.push(` <office:body>
17369
17125
  `), l.push(` <office:spreadsheet>
17370
17126
  `);
@@ -17374,10 +17130,10 @@ var sm = /* @__PURE__ */ (function() {
17374
17130
  `), o.bookType == "fods" ? l.push("</office:document>") : l.push("</office:document-content>"), l.join("");
17375
17131
  };
17376
17132
  })();
17377
- function Oo(e, t) {
17378
- if (t.bookType == "fods") return Ui(e, t);
17379
- var r = da(), n = "", a = [], i = [];
17380
- return n = "mimetype", _e(r, n, "application/vnd.oasis.opendocument.spreadsheet"), n = "content.xml", _e(r, n, Ui(e, t)), a.push([n, "text/xml"]), i.push([n, "ContentFile"]), n = "styles.xml", _e(r, n, sm(e, t)), a.push([n, "text/xml"]), i.push([n, "StylesFile"]), n = "meta.xml", _e(r, n, Be + Hs(
17133
+ function Co(e, t) {
17134
+ if (t.bookType == "fods") return Hi(e, t);
17135
+ var r = ma(), n = "", a = [], i = [];
17136
+ return n = "mimetype", _e(r, n, "application/vnd.oasis.opendocument.spreadsheet"), n = "content.xml", _e(r, n, Hi(e, t)), a.push([n, "text/xml"]), i.push([n, "ContentFile"]), n = "styles.xml", _e(r, n, sm(e, t)), a.push([n, "text/xml"]), i.push([n, "StylesFile"]), n = "meta.xml", _e(r, n, Be + $s(
17381
17137
  /*::wb, opts*/
17382
17138
  )), a.push([n, "text/xml"]), i.push([n, "MetadataFile"]), n = "manifest.rdf", _e(r, n, vl(
17383
17139
  i
@@ -17573,7 +17329,7 @@ function sr(e) {
17573
17329
  }
17574
17330
  return Ht(t);
17575
17331
  }
17576
- function Qn(e, t) {
17332
+ function qn(e, t) {
17577
17333
  var r = new Uint8Array(32), n = Cn(r), a = 12, i = 0;
17578
17334
  switch (r[0] = 5, e.t) {
17579
17335
  case "n":
@@ -17592,7 +17348,7 @@ function Qn(e, t) {
17592
17348
  }
17593
17349
  return n.setUint32(8, i, !0), r.slice(0, a);
17594
17350
  }
17595
- function Zn(e, t) {
17351
+ function Qn(e, t) {
17596
17352
  var r = new Uint8Array(32), n = Cn(r), a = 12, i = 0;
17597
17353
  switch (r[0] = 3, e.t) {
17598
17354
  case "n":
@@ -17631,13 +17387,13 @@ function um(e, t, r) {
17631
17387
  var x, P;
17632
17388
  switch (typeof t[h]) {
17633
17389
  case "string":
17634
- x = Qn({ t: "s", v: t[h] }, r), P = Zn({ t: "s", v: t[h] }, r);
17390
+ x = qn({ t: "s", v: t[h] }, r), P = Qn({ t: "s", v: t[h] }, r);
17635
17391
  break;
17636
17392
  case "number":
17637
- x = Qn({ t: "n", v: t[h] }, r), P = Zn({ t: "n", v: t[h] }, r);
17393
+ x = qn({ t: "n", v: t[h] }, r), P = Qn({ t: "n", v: t[h] }, r);
17638
17394
  break;
17639
17395
  case "boolean":
17640
- x = Qn({ t: "b", v: t[h] }, r), P = Zn({ t: "b", v: t[h] }, r);
17396
+ x = qn({ t: "b", v: t[h] }, r), P = Qn({ t: "b", v: t[h] }, r);
17641
17397
  break;
17642
17398
  default:
17643
17399
  throw new Error("Unsupported value " + t[h]);
@@ -17821,7 +17577,7 @@ function dm(e) {
17821
17577
  }
17822
17578
  };
17823
17579
  }
17824
- function ba(e) {
17580
+ function Da(e) {
17825
17581
  dm([
17826
17582
  ["cellDates", !1],
17827
17583
  /* write date cells with type `d` */
@@ -17836,21 +17592,21 @@ function ba(e) {
17836
17592
  ])(e);
17837
17593
  }
17838
17594
  function mm(e, t) {
17839
- return t.bookType == "ods" ? Oo(e, t) : t.bookType == "numbers" ? hm(e, t) : t.bookType == "xlsb" ? gm(e, t) : pm(e, t);
17595
+ return t.bookType == "ods" ? Co(e, t) : t.bookType == "numbers" ? hm(e, t) : t.bookType == "xlsb" ? gm(e, t) : pm(e, t);
17840
17596
  }
17841
17597
  function gm(e, t) {
17842
17598
  fr = 1024, e && !e.SSF && (e.SSF = st(Ne)), e && e.SSF && (Pn(), Rn(e.SSF), t.revssf = Ln(e.SSF), t.revssf[e.SSF[65535]] = 0, t.ssf = e.SSF), t.rels = {}, t.wbrels = {}, t.Strings = /*::((*/
17843
17599
  [], t.Strings.Count = 0, t.Strings.Unique = 0, Pr ? t.revStrings = /* @__PURE__ */ new Map() : (t.revStrings = {}, t.revStrings.foo = [], delete t.revStrings.foo);
17844
- var r = t.bookType == "xlsb" ? "bin" : "xml", n = fo.indexOf(t.bookType) > -1, a = Ms();
17845
- ba(t = t || {});
17846
- var i = da(), s = "", o = 0;
17847
- if (t.cellXfs = [], Wt(t.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {}), s = "docProps/core.xml", _e(i, s, $s(e.Props, t)), a.coreprops.push(s), Ae(t.rels, 2, s, Ee.CORE_PROPS), s = "docProps/app.xml", !(e.Props && e.Props.SheetNames)) if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
17600
+ var r = t.bookType == "xlsb" ? "bin" : "xml", n = lo.indexOf(t.bookType) > -1, a = Bs();
17601
+ Da(t = t || {});
17602
+ var i = ma(), s = "", o = 0;
17603
+ if (t.cellXfs = [], Wt(t.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {}), s = "docProps/core.xml", _e(i, s, Ws(e.Props, t)), a.coreprops.push(s), Ae(t.rels, 2, s, Ee.CORE_PROPS), s = "docProps/app.xml", !(e.Props && e.Props.SheetNames)) if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
17848
17604
  else {
17849
17605
  for (var l = [], f = 0; f < e.SheetNames.length; ++f)
17850
17606
  (e.Workbook.Sheets[f] || {}).Hidden != 2 && l.push(e.SheetNames[f]);
17851
17607
  e.Props.SheetNames = l;
17852
17608
  }
17853
- for (e.Props.Worksheets = e.Props.SheetNames.length, _e(i, s, Vs(e.Props)), a.extprops.push(s), Ae(t.rels, 3, s, Ee.EXT_PROPS), e.Custprops !== e.Props && Ke(e.Custprops || {}).length > 0 && (s = "docProps/custom.xml", _e(i, s, zs(e.Custprops)), a.custprops.push(s), Ae(t.rels, 4, s, Ee.CUST_PROPS)), o = 1; o <= e.SheetNames.length; ++o) {
17609
+ for (e.Props.Worksheets = e.Props.SheetNames.length, _e(i, s, zs(e.Props)), a.extprops.push(s), Ae(t.rels, 3, s, Ee.EXT_PROPS), e.Custprops !== e.Props && Ke(e.Custprops || {}).length > 0 && (s = "docProps/custom.xml", _e(i, s, Ys(e.Custprops)), a.custprops.push(s), Ae(t.rels, 4, s, Ee.CUST_PROPS)), o = 1; o <= e.SheetNames.length; ++o) {
17854
17610
  var c = { "!id": {} }, u = e.Sheets[e.SheetNames[o - 1]], d = (u || {})["!type"] || "sheet";
17855
17611
  switch (d) {
17856
17612
  case "chart":
@@ -17860,25 +17616,25 @@ function gm(e, t) {
17860
17616
  }
17861
17617
  if (u) {
17862
17618
  var m = u["!comments"], p = !1, h = "";
17863
- m && m.length > 0 && (h = "xl/comments" + o + "." + r, _e(i, h, T1(m, h)), a.comments.push(h), Ae(c, -1, "../comments" + o + "." + r, Ee.CMNT), p = !0), u["!legacy"] && p && _e(i, "xl/drawings/vmlDrawing" + o + ".vml", so(o, u["!comments"])), delete u["!comments"], delete u["!legacy"];
17619
+ m && m.length > 0 && (h = "xl/comments" + o + "." + r, _e(i, h, T1(m, h)), a.comments.push(h), Ae(c, -1, "../comments" + o + "." + r, Ee.CMNT), p = !0), u["!legacy"] && p && _e(i, "xl/drawings/vmlDrawing" + o + ".vml", oo(o, u["!comments"])), delete u["!comments"], delete u["!legacy"];
17864
17620
  }
17865
- c["!id"].rId1 && _e(i, Us(s), cr(c));
17621
+ c["!id"].rId1 && _e(i, Hs(s), cr(c));
17866
17622
  }
17867
- return t.Strings != null && t.Strings.length > 0 && (s = "xl/sharedStrings." + r, _e(i, s, _1(t.Strings, s, t)), a.strs.push(s), Ae(t.wbrels, -1, "sharedStrings." + r, Ee.SST)), s = "xl/workbook." + r, _e(i, s, x1(e, s)), a.workbooks.push(s), Ae(t.rels, 1, s, Ee.WB), s = "xl/theme/theme1.xml", _e(i, s, ao(e.Themes, t)), a.themes.push(s), Ae(t.wbrels, -1, "theme/theme1.xml", Ee.THEME), s = "xl/styles." + r, _e(i, s, w1(e, s, t)), a.styles.push(s), Ae(t.wbrels, -1, "styles." + r, Ee.STY), e.vbaraw && n && (s = "xl/vbaProject.bin", _e(i, s, e.vbaraw), a.vba.push(s), Ae(t.wbrels, -1, "vbaProject.bin", Ee.VBA)), s = "xl/metadata." + r, _e(i, s, E1(s)), a.metadata.push(s), Ae(t.wbrels, -1, "metadata." + r, Ee.XLMETA), _e(i, "[Content_Types].xml", Bs(a, t)), _e(i, "_rels/.rels", cr(t.rels)), _e(i, "xl/_rels/workbook." + r + ".rels", cr(t.wbrels)), delete t.revssf, delete t.ssf, i;
17623
+ return t.Strings != null && t.Strings.length > 0 && (s = "xl/sharedStrings." + r, _e(i, s, _1(t.Strings, s, t)), a.strs.push(s), Ae(t.wbrels, -1, "sharedStrings." + r, Ee.SST)), s = "xl/workbook." + r, _e(i, s, x1(e, s)), a.workbooks.push(s), Ae(t.rels, 1, s, Ee.WB), s = "xl/theme/theme1.xml", _e(i, s, io(e.Themes, t)), a.themes.push(s), Ae(t.wbrels, -1, "theme/theme1.xml", Ee.THEME), s = "xl/styles." + r, _e(i, s, w1(e, s, t)), a.styles.push(s), Ae(t.wbrels, -1, "styles." + r, Ee.STY), e.vbaraw && n && (s = "xl/vbaProject.bin", _e(i, s, e.vbaraw), a.vba.push(s), Ae(t.wbrels, -1, "vbaProject.bin", Ee.VBA)), s = "xl/metadata." + r, _e(i, s, E1(s)), a.metadata.push(s), Ae(t.wbrels, -1, "metadata." + r, Ee.XLMETA), _e(i, "[Content_Types].xml", Us(a, t)), _e(i, "_rels/.rels", cr(t.rels)), _e(i, "xl/_rels/workbook." + r + ".rels", cr(t.wbrels)), delete t.revssf, delete t.ssf, i;
17868
17624
  }
17869
17625
  function pm(e, t) {
17870
17626
  fr = 1024, e && !e.SSF && (e.SSF = st(Ne)), e && e.SSF && (Pn(), Rn(e.SSF), t.revssf = Ln(e.SSF), t.revssf[e.SSF[65535]] = 0, t.ssf = e.SSF), t.rels = {}, t.wbrels = {}, t.Strings = /*::((*/
17871
17627
  [], t.Strings.Count = 0, t.Strings.Unique = 0, Pr ? t.revStrings = /* @__PURE__ */ new Map() : (t.revStrings = {}, t.revStrings.foo = [], delete t.revStrings.foo);
17872
- var r = "xml", n = fo.indexOf(t.bookType) > -1, a = Ms();
17873
- ba(t = t || {});
17874
- var i = da(), s = "", o = 0;
17875
- if (t.cellXfs = [], Wt(t.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {}), s = "docProps/core.xml", _e(i, s, $s(e.Props, t)), a.coreprops.push(s), Ae(t.rels, 2, s, Ee.CORE_PROPS), s = "docProps/app.xml", !(e.Props && e.Props.SheetNames)) if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
17628
+ var r = "xml", n = lo.indexOf(t.bookType) > -1, a = Bs();
17629
+ Da(t = t || {});
17630
+ var i = ma(), s = "", o = 0;
17631
+ if (t.cellXfs = [], Wt(t.cellXfs, {}, { revssf: { General: 0 } }), e.Props || (e.Props = {}), s = "docProps/core.xml", _e(i, s, Ws(e.Props, t)), a.coreprops.push(s), Ae(t.rels, 2, s, Ee.CORE_PROPS), s = "docProps/app.xml", !(e.Props && e.Props.SheetNames)) if (!e.Workbook || !e.Workbook.Sheets) e.Props.SheetNames = e.SheetNames;
17876
17632
  else {
17877
17633
  for (var l = [], f = 0; f < e.SheetNames.length; ++f)
17878
17634
  (e.Workbook.Sheets[f] || {}).Hidden != 2 && l.push(e.SheetNames[f]);
17879
17635
  e.Props.SheetNames = l;
17880
17636
  }
17881
- e.Props.Worksheets = e.Props.SheetNames.length, _e(i, s, Vs(e.Props)), a.extprops.push(s), Ae(t.rels, 3, s, Ee.EXT_PROPS), e.Custprops !== e.Props && Ke(e.Custprops || {}).length > 0 && (s = "docProps/custom.xml", _e(i, s, zs(e.Custprops)), a.custprops.push(s), Ae(t.rels, 4, s, Ee.CUST_PROPS));
17637
+ e.Props.Worksheets = e.Props.SheetNames.length, _e(i, s, zs(e.Props)), a.extprops.push(s), Ae(t.rels, 3, s, Ee.EXT_PROPS), e.Custprops !== e.Props && Ke(e.Custprops || {}).length > 0 && (s = "docProps/custom.xml", _e(i, s, Ys(e.Custprops)), a.custprops.push(s), Ae(t.rels, 4, s, Ee.CUST_PROPS));
17882
17638
  var c = ["SheetJ5"];
17883
17639
  for (t.tcid = 0, o = 1; o <= e.SheetNames.length; ++o) {
17884
17640
  var u = { "!id": {} }, d = e.Sheets[e.SheetNames[o - 1]], m = (d || {})["!type"] || "sheet";
@@ -17886,7 +17642,7 @@ function pm(e, t) {
17886
17642
  case "chart":
17887
17643
  /* falls through */
17888
17644
  default:
17889
- s = "xl/worksheets/sheet" + o + "." + r, _e(i, s, vo(o - 1, t, e, u)), a.sheets.push(s), Ae(t.wbrels, -1, "worksheets/sheet" + o + "." + r, Ee.WS[0]);
17645
+ s = "xl/worksheets/sheet" + o + "." + r, _e(i, s, wo(o - 1, t, e, u)), a.sheets.push(s), Ae(t.wbrels, -1, "worksheets/sheet" + o + "." + r, Ee.WS[0]);
17890
17646
  }
17891
17647
  if (d) {
17892
17648
  var p = d["!comments"], h = !1, x = "";
@@ -17896,13 +17652,13 @@ function pm(e, t) {
17896
17652
  L[1].forEach(function(D) {
17897
17653
  D.T == !0 && (P = !0);
17898
17654
  });
17899
- }), P && (x = "xl/threadedComments/threadedComment" + o + "." + r, _e(i, x, jc(p, c, t)), a.threadedcomments.push(x), Ae(u, -1, "../threadedComments/threadedComment" + o + "." + r, Ee.TCMNT)), x = "xl/comments" + o + "." + r, _e(i, x, oo(p)), a.comments.push(x), Ae(u, -1, "../comments" + o + "." + r, Ee.CMNT), h = !0;
17655
+ }), P && (x = "xl/threadedComments/threadedComment" + o + "." + r, _e(i, x, jc(p, c, t)), a.threadedcomments.push(x), Ae(u, -1, "../threadedComments/threadedComment" + o + "." + r, Ee.TCMNT)), x = "xl/comments" + o + "." + r, _e(i, x, fo(p)), a.comments.push(x), Ae(u, -1, "../comments" + o + "." + r, Ee.CMNT), h = !0;
17900
17656
  }
17901
- d["!legacy"] && h && _e(i, "xl/drawings/vmlDrawing" + o + ".vml", so(o, d["!comments"])), delete d["!comments"], delete d["!legacy"];
17657
+ d["!legacy"] && h && _e(i, "xl/drawings/vmlDrawing" + o + ".vml", oo(o, d["!comments"])), delete d["!comments"], delete d["!legacy"];
17902
17658
  }
17903
- u["!id"].rId1 && _e(i, Us(s), cr(u));
17659
+ u["!id"].rId1 && _e(i, Hs(s), cr(u));
17904
17660
  }
17905
- return t.Strings != null && t.Strings.length > 0 && (s = "xl/sharedStrings." + r, _e(i, s, Qs(t.Strings, t)), a.strs.push(s), Ae(t.wbrels, -1, "sharedStrings." + r, Ee.SST)), s = "xl/workbook." + r, _e(i, s, To(e)), a.workbooks.push(s), Ae(t.rels, 1, s, Ee.WB), s = "xl/theme/theme1.xml", _e(i, s, ao(e.Themes, t)), a.themes.push(s), Ae(t.wbrels, -1, "theme/theme1.xml", Ee.THEME), s = "xl/styles." + r, _e(i, s, ro(e, t)), a.styles.push(s), Ae(t.wbrels, -1, "styles." + r, Ee.STY), e.vbaraw && n && (s = "xl/vbaProject.bin", _e(i, s, e.vbaraw), a.vba.push(s), Ae(t.wbrels, -1, "vbaProject.bin", Ee.VBA)), s = "xl/metadata." + r, _e(i, s, io()), a.metadata.push(s), Ae(t.wbrels, -1, "metadata." + r, Ee.XLMETA), c.length > 1 && (s = "xl/persons/person.xml", _e(i, s, Kc(c)), a.people.push(s), Ae(t.wbrels, -1, "persons/person.xml", Ee.PEOPLE)), _e(i, "[Content_Types].xml", Bs(a, t)), _e(i, "_rels/.rels", cr(t.rels)), _e(i, "xl/_rels/workbook." + r + ".rels", cr(t.wbrels)), delete t.revssf, delete t.ssf, i;
17661
+ return t.Strings != null && t.Strings.length > 0 && (s = "xl/sharedStrings." + r, _e(i, s, Zs(t.Strings, t)), a.strs.push(s), Ae(t.wbrels, -1, "sharedStrings." + r, Ee.SST)), s = "xl/workbook." + r, _e(i, s, Eo(e)), a.workbooks.push(s), Ae(t.rels, 1, s, Ee.WB), s = "xl/theme/theme1.xml", _e(i, s, io(e.Themes, t)), a.themes.push(s), Ae(t.wbrels, -1, "theme/theme1.xml", Ee.THEME), s = "xl/styles." + r, _e(i, s, no(e, t)), a.styles.push(s), Ae(t.wbrels, -1, "styles." + r, Ee.STY), e.vbaraw && n && (s = "xl/vbaProject.bin", _e(i, s, e.vbaraw), a.vba.push(s), Ae(t.wbrels, -1, "vbaProject.bin", Ee.VBA)), s = "xl/metadata." + r, _e(i, s, so()), a.metadata.push(s), Ae(t.wbrels, -1, "metadata." + r, Ee.XLMETA), c.length > 1 && (s = "xl/persons/person.xml", _e(i, s, Kc(c)), a.people.push(s), Ae(t.wbrels, -1, "persons/person.xml", Ee.PEOPLE)), _e(i, "[Content_Types].xml", Us(a, t)), _e(i, "_rels/.rels", cr(t.rels)), _e(i, "xl/_rels/workbook." + r + ".rels", cr(t.wbrels)), delete t.revssf, delete t.ssf, i;
17906
17662
  }
17907
17663
  function xm(e, t) {
17908
17664
  var r = "";
@@ -17922,7 +17678,7 @@ function xm(e, t) {
17922
17678
  }
17923
17679
  return [r.charCodeAt(0), r.charCodeAt(1), r.charCodeAt(2), r.charCodeAt(3), r.charCodeAt(4), r.charCodeAt(5), r.charCodeAt(6), r.charCodeAt(7)];
17924
17680
  }
17925
- function Co(e, t) {
17681
+ function bo(e, t) {
17926
17682
  switch (t.type) {
17927
17683
  case "base64":
17928
17684
  case "binary":
@@ -17971,7 +17727,7 @@ function wm(e, t) {
17971
17727
  if (t.type == "binary" || t.type == "base64") return a;
17972
17728
  a = new Uint8Array(kn(a));
17973
17729
  }
17974
- return t.password && typeof encrypt_agile < "u" ? Co(encrypt_agile(a, t.password), t) : t.type === "file" ? zr(t.file, a) : t.type == "string" ? br(
17730
+ return t.password && typeof encrypt_agile < "u" ? bo(encrypt_agile(a, t.password), t) : t.type === "file" ? zr(t.file, a) : t.type == "string" ? br(
17975
17731
  /*::(*/
17976
17732
  a
17977
17733
  /*:: :any)*/
@@ -17979,7 +17735,7 @@ function wm(e, t) {
17979
17735
  }
17980
17736
  function _m(e, t) {
17981
17737
  var r = t || {}, n = I1(e, r);
17982
- return Co(n, r);
17738
+ return bo(n, r);
17983
17739
  }
17984
17740
  function Et(e, t, r) {
17985
17741
  r || (r = "");
@@ -18018,7 +17774,7 @@ function Tm(e, t) {
18018
17774
  }
18019
17775
  throw new Error("Unrecognized type " + t.type);
18020
17776
  }
18021
- function sn(e, t) {
17777
+ function an(e, t) {
18022
17778
  switch (t.type) {
18023
17779
  case "string":
18024
17780
  case "base64":
@@ -18033,12 +17789,12 @@ function sn(e, t) {
18033
17789
  throw new Error("Unrecognized type " + t.type);
18034
17790
  }
18035
17791
  }
18036
- function bo(e, t) {
17792
+ function Do(e, t) {
18037
17793
  K0(), s1(e);
18038
17794
  var r = st(t || {});
18039
17795
  if (r.cellStyles && (r.cellNF = !0, r.sheetStubs = !0), r.type == "array") {
18040
17796
  r.type = "binary";
18041
- var n = bo(e, r);
17797
+ var n = Do(e, r);
18042
17798
  return r.type = "array", kn(n);
18043
17799
  }
18044
17800
  var a = 0;
@@ -18053,27 +17809,27 @@ function bo(e, t) {
18053
17809
  return Et(nc.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18054
17810
  case "htm":
18055
17811
  case "html":
18056
- return Et(So(e.Sheets[e.SheetNames[a]], r), r);
17812
+ return Et(Ao(e.Sheets[e.SheetNames[a]], r), r);
18057
17813
  case "txt":
18058
- return Tm(Do(e.Sheets[e.SheetNames[a]], r), r);
17814
+ return Tm(ko(e.Sheets[e.SheetNames[a]], r), r);
18059
17815
  case "csv":
18060
- return Et(Da(e.Sheets[e.SheetNames[a]], r), r, "\uFEFF");
17816
+ return Et(ka(e.Sheets[e.SheetNames[a]], r), r, "\uFEFF");
18061
17817
  case "dif":
18062
17818
  return Et(ac.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18063
17819
  case "dbf":
18064
- return sn(rc.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
17820
+ return an(rc.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18065
17821
  case "prn":
18066
17822
  return Et(ic.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18067
17823
  case "rtf":
18068
17824
  return Et(hc.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18069
17825
  case "eth":
18070
- return Et(qs.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
17826
+ return Et(Qs.from_sheet(e.Sheets[e.SheetNames[a]], r), r);
18071
17827
  case "fods":
18072
- return Et(Oo(e, r), r);
17828
+ return Et(Co(e, r), r);
18073
17829
  case "wk1":
18074
- return sn(Ri.sheet_to_wk1(e.Sheets[e.SheetNames[a]], r), r);
17830
+ return an(Pi.sheet_to_wk1(e.Sheets[e.SheetNames[a]], r), r);
18075
17831
  case "wk3":
18076
- return sn(Ri.book_to_wk3(e, r), r);
17832
+ return an(Pi.book_to_wk3(e, r), r);
18077
17833
  case "biff2":
18078
17834
  r.biff || (r.biff = 2);
18079
17835
  /* falls through */
@@ -18081,7 +17837,7 @@ function bo(e, t) {
18081
17837
  r.biff || (r.biff = 3);
18082
17838
  /* falls through */
18083
17839
  case "biff4":
18084
- return r.biff || (r.biff = 4), sn(yo(e, r), r);
17840
+ return r.biff || (r.biff = 4), an(So(e, r), r);
18085
17841
  case "biff5":
18086
17842
  r.biff || (r.biff = 5);
18087
17843
  /* falls through */
@@ -18114,7 +17870,7 @@ function Em(e) {
18114
17870
  }
18115
17871
  function ym(e, t, r) {
18116
17872
  var n = {};
18117
- return n.type = "file", n.file = t, Em(n), bo(e, n);
17873
+ return n.type = "file", n.file = t, Em(n), Do(e, n);
18118
17874
  }
18119
17875
  function Sm(e, t, r, n, a, i, s, o) {
18120
17876
  var l = je(r), f = o.defval, c = o.raw || !Object.prototype.hasOwnProperty.call(o, "raw"), u = !0, d = a === 1 ? [] : {};
@@ -18207,7 +17963,7 @@ function bn(e, t) {
18207
17963
  }
18208
17964
  return m.length = p, m;
18209
17965
  }
18210
- var Hi = /"/g;
17966
+ var $i = /"/g;
18211
17967
  function Am(e, t, r, n, a, i, s, o) {
18212
17968
  for (var l = !0, f = [], c = "", u = je(r), d = t.s.c; d <= t.e.c; ++d)
18213
17969
  if (n[d]) {
@@ -18216,16 +17972,16 @@ function Am(e, t, r, n, a, i, s, o) {
18216
17972
  else if (m.v != null) {
18217
17973
  l = !1, c = "" + (o.rawNumbers && m.t == "n" ? m.v : Rt(m, null, o));
18218
17974
  for (var p = 0, h = 0; p !== c.length; ++p) if ((h = c.charCodeAt(p)) === a || h === i || h === 34 || o.forceQuotes) {
18219
- c = '"' + c.replace(Hi, '""') + '"';
17975
+ c = '"' + c.replace($i, '""') + '"';
18220
17976
  break;
18221
17977
  }
18222
17978
  c == "ID" && (c = '"ID"');
18223
- } else m.f != null && !m.F ? (l = !1, c = "=" + m.f, c.indexOf(",") >= 0 && (c = '"' + c.replace(Hi, '""') + '"')) : c = "";
17979
+ } else m.f != null && !m.F ? (l = !1, c = "=" + m.f, c.indexOf(",") >= 0 && (c = '"' + c.replace($i, '""') + '"')) : c = "";
18224
17980
  f.push(c);
18225
17981
  }
18226
17982
  return o.blankrows === !1 && l ? null : f.join(s);
18227
17983
  }
18228
- function Da(e, t) {
17984
+ function ka(e, t) {
18229
17985
  var r = [], n = t ?? {};
18230
17986
  if (e == null || e["!ref"] == null) return "";
18231
17987
  var a = De(e["!ref"]), i = n.FS !== void 0 ? n.FS : ",", s = i.charCodeAt(0), o = n.RS !== void 0 ? n.RS : `
@@ -18236,10 +17992,10 @@ function Da(e, t) {
18236
17992
  (m[x] || {}).hidden || (c = Am(e, a, x, u, s, l, i, n), c != null && (n.strip && (c = c.replace(f, "")), (c || n.blankrows !== !1) && r.push((h++ ? o : "") + c)));
18237
17993
  return delete n.dense, r.join("");
18238
17994
  }
18239
- function Do(e, t) {
17995
+ function ko(e, t) {
18240
17996
  t || (t = {}), t.FS = " ", t.RS = `
18241
17997
  `;
18242
- var r = Da(e, t);
17998
+ var r = ka(e, t);
18243
17999
  return r;
18244
18000
  }
18245
18001
  function Fm(e) {
@@ -18269,7 +18025,7 @@ function Fm(e) {
18269
18025
  }
18270
18026
  return l;
18271
18027
  }
18272
- function ko(e, t, r) {
18028
+ function Ro(e, t, r) {
18273
18029
  var n = r || {}, a = +!n.skipHeader, i = e || {}, s = 0, o = 0;
18274
18030
  if (i && n.origin != null)
18275
18031
  if (typeof n.origin == "number") s = n.origin;
@@ -18296,7 +18052,7 @@ function ko(e, t, r) {
18296
18052
  return i["!ref"] = Me(c), i;
18297
18053
  }
18298
18054
  function Om(e, t) {
18299
- return ko(null, e, t);
18055
+ return Ro(null, e, t);
18300
18056
  }
18301
18057
  function Wr(e, t, r) {
18302
18058
  if (typeof t == "string") {
@@ -18331,7 +18087,7 @@ function Dm(e, t, r, n) {
18331
18087
  var s = i && i[1] || r;
18332
18088
  for (++a; a <= 65535 && e.SheetNames.indexOf(r = s + a) != -1; ++a) ;
18333
18089
  }
18334
- if (_o(r), e.SheetNames.indexOf(r) >= 0) throw new Error("Worksheet with name |" + r + "| already exists!");
18090
+ if (To(r), e.SheetNames.indexOf(r) >= 0) throw new Error("Worksheet with name |" + r + "| already exists!");
18335
18091
  return e.SheetNames.push(r), e.Sheets[r] = t, r;
18336
18092
  }
18337
18093
  function km(e, t, r) {
@@ -18350,11 +18106,11 @@ function km(e, t, r) {
18350
18106
  function Rm(e, t) {
18351
18107
  return e.z = t, e;
18352
18108
  }
18353
- function Ro(e, t, r) {
18109
+ function Po(e, t, r) {
18354
18110
  return t ? (e.l = { Target: t }, r && (e.l.Tooltip = r)) : delete e.l, e;
18355
18111
  }
18356
18112
  function Pm(e, t, r) {
18357
- return Ro(e, "#" + t, r);
18113
+ return Po(e, "#" + t, r);
18358
18114
  }
18359
18115
  function Lm(e, t, r) {
18360
18116
  e.c || (e.c = []), e.c.push({ t, a: r || "SheetJS" });
@@ -18366,28 +18122,28 @@ function Nm(e, t, r, n) {
18366
18122
  }
18367
18123
  return e;
18368
18124
  }
18369
- var ea = {
18125
+ var Zn = {
18370
18126
  encode_col: qe,
18371
18127
  encode_row: je,
18372
18128
  encode_cell: Oe,
18373
18129
  encode_range: Me,
18374
- decode_col: wa,
18375
- decode_row: va,
18130
+ decode_col: _a,
18131
+ decode_row: wa,
18376
18132
  split_cell: Xf,
18377
18133
  decode_cell: $e,
18378
18134
  decode_range: ut,
18379
18135
  format_cell: Rt,
18380
- sheet_add_aoa: ks,
18381
- sheet_add_json: ko,
18382
- sheet_add_dom: Ao,
18136
+ sheet_add_aoa: Rs,
18137
+ sheet_add_json: Ro,
18138
+ sheet_add_dom: Fo,
18383
18139
  aoa_to_sheet: gr,
18384
18140
  json_to_sheet: Om,
18385
- table_to_sheet: Fo,
18141
+ table_to_sheet: Oo,
18386
18142
  table_to_book: am,
18387
- sheet_to_csv: Da,
18388
- sheet_to_txt: Do,
18143
+ sheet_to_csv: ka,
18144
+ sheet_to_txt: ko,
18389
18145
  sheet_to_json: bn,
18390
- sheet_to_html: So,
18146
+ sheet_to_html: Ao,
18391
18147
  sheet_to_formulae: Fm,
18392
18148
  sheet_to_row_object_array: bn,
18393
18149
  sheet_get_cell: Wr,
@@ -18395,7 +18151,7 @@ var ea = {
18395
18151
  book_append_sheet: Dm,
18396
18152
  book_set_sheet_visibility: km,
18397
18153
  cell_set_number_format: Rm,
18398
- cell_set_hyperlink: Ro,
18154
+ cell_set_hyperlink: Po,
18399
18155
  cell_set_internal_link: Pm,
18400
18156
  cell_add_comment: Lm,
18401
18157
  sheet_set_array_formula: Nm,
@@ -18410,9 +18166,9 @@ function Un(e) {
18410
18166
  }
18411
18167
  var on = { exports: {} };
18412
18168
  /*! dom-to-image-more 20-08-2025 */
18413
- var Im = on.exports, $i;
18169
+ var Im = on.exports, Wi;
18414
18170
  function Mm() {
18415
- return $i || ($i = 1, (function(e, t) {
18171
+ return Wi || (Wi = 1, (function(e, t) {
18416
18172
  ((r) => {
18417
18173
  let n = /* @__PURE__ */ (() => {
18418
18174
  let _ = 0;
@@ -18939,10 +18695,10 @@ const Um = /* @__PURE__ */ Un(Bm), Ar = (e) => {
18939
18695
  return (d = s.inputs) != null && d.maxCharacters ? f.length <= s.inputs.maxCharacters ? f : f.substring(0, s.inputs.maxCharacters) + "..." : f;
18940
18696
  }
18941
18697
  };
18942
- }, zm = (e) => `"${(e == null ? "" : String(e)).replace(/"/g, '""')}"`, Po = (e, t) => {
18698
+ }, zm = (e) => `"${(e == null ? "" : String(e)).replace(/"/g, '""')}"`, Lo = (e, t) => {
18943
18699
  const r = document.createElement("a");
18944
18700
  r.href = e, r.download = t, document.body.appendChild(r), r.click(), document.body.removeChild(r);
18945
- }, Lo = (e, t, r) => {
18701
+ }, No = (e, t, r) => {
18946
18702
  const n = Vm(r), a = t.map((s) => n.dimensionOrMeasureTitle(s)), i = e.map((s) => {
18947
18703
  const o = [];
18948
18704
  return t.forEach((l) => {
@@ -18958,9 +18714,9 @@ function Ym({
18958
18714
  title: r,
18959
18715
  theme: n
18960
18716
  }) {
18961
- const a = Lo(e, t, n).map((o) => o.map(zm).join(",")).join(`\r
18717
+ const a = No(e, t, n).map((o) => o.map(zm).join(",")).join(`\r
18962
18718
  `), i = new Blob([a], { type: "text/csv;charset=utf-8;" }), s = URL.createObjectURL(i);
18963
- Po(s, `${r ?? "untitled"}.csv`);
18719
+ Lo(s, `${r ?? "untitled"}.csv`);
18964
18720
  }
18965
18721
  function Gm({
18966
18722
  data: e = [],
@@ -18968,8 +18724,8 @@ function Gm({
18968
18724
  title: r,
18969
18725
  theme: n
18970
18726
  }) {
18971
- const a = Lo(e, t, n), i = ea.aoa_to_sheet(a), s = ea.book_new();
18972
- ea.book_append_sheet(s, i, "Sheet1"), ym(s, `${r ?? "untitled"}.xlsx`);
18727
+ const a = No(e, t, n), i = Zn.aoa_to_sheet(a), s = Zn.book_new();
18728
+ Zn.book_append_sheet(s, i, "Sheet1"), ym(s, `${r ?? "untitled"}.xlsx`);
18973
18729
  }
18974
18730
  async function jm({
18975
18731
  title: e,
@@ -18983,21 +18739,21 @@ async function jm({
18983
18739
  cacheBust: !0,
18984
18740
  filter: (o) => !(o instanceof HTMLElement && o.hasAttribute("data-no-export"))
18985
18741
  }), i = await (await fetch(n)).blob(), s = URL.createObjectURL(i);
18986
- Po(s, `${e ?? "untitled"}.png`), URL.revokeObjectURL(s);
18742
+ Lo(s, `${e ?? "untitled"}.png`), URL.revokeObjectURL(s);
18987
18743
  } catch (n) {
18988
18744
  throw new Error(`exportPNG failed: ${n.message}`);
18989
18745
  }
18990
18746
  }
18991
- const Wi = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-cloud-download'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M19%2018a3.5%203.5%200%200%200%200%20-7h-1a5%204.5%200%200%200%20-11%20-2a4.6%204.4%200%200%200%20-2.1%208.4'%20/%3e%3cpath%20d='M12%2013l0%209'%20/%3e%3cpath%20d='M9%2019l3%203l3%20-3'%20/%3e%3c/svg%3e", Km = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-photo-down'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M15%208h.01'%20/%3e%3cpath%20d='M12.5%2021h-6.5a3%203%200%200%201%20-3%20-3v-12a3%203%200%200%201%203%20-3h12a3%203%200%200%201%203%203v6.5'%20/%3e%3cpath%20d='M3%2016l5%20-5c.928%20-.893%202.072%20-.893%203%200l4%204'%20/%3e%3cpath%20d='M14%2014l1%20-1c.653%20-.629%201.413%20-.815%202.13%20-.559'%20/%3e%3cpath%20d='M19%2016v6'%20/%3e%3cpath%20d='M22%2019l-3%203l-3%20-3'%20/%3e%3c/svg%3e", Xm = [
18747
+ const Vi = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-cloud-download'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M19%2018a3.5%203.5%200%200%200%200%20-7h-1a5%204.5%200%200%200%20-11%20-2a4.6%204.4%200%200%200%20-2.1%208.4'%20/%3e%3cpath%20d='M12%2013l0%209'%20/%3e%3cpath%20d='M9%2019l3%203l3%20-3'%20/%3e%3c/svg%3e", Km = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-photo-down'%3e%3cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3e%3cpath%20d='M15%208h.01'%20/%3e%3cpath%20d='M12.5%2021h-6.5a3%203%200%200%201%20-3%20-3v-12a3%203%200%200%201%203%20-3h12a3%203%200%200%201%203%203v6.5'%20/%3e%3cpath%20d='M3%2016l5%20-5c.928%20-.893%202.072%20-.893%203%200l4%204'%20/%3e%3cpath%20d='M14%2014l1%20-1c.653%20-.629%201.413%20-.815%202.13%20-.559'%20/%3e%3cpath%20d='M19%2016v6'%20/%3e%3cpath%20d='M22%2019l-3%203l-3%20-3'%20/%3e%3c/svg%3e", Xm = [
18992
18748
  {
18993
18749
  labelKey: "charts.menuOptions.downloadCSV",
18994
18750
  onClick: Ym,
18995
- iconSrc: Wi
18751
+ iconSrc: Vi
18996
18752
  },
18997
18753
  {
18998
18754
  labelKey: "charts.menuOptions.downloadXLSX",
18999
18755
  onClick: Gm,
19000
- iconSrc: Wi
18756
+ iconSrc: Vi
19001
18757
  },
19002
18758
  {
19003
18759
  labelKey: "charts.menuOptions.downloadPNG",
@@ -19005,9 +18761,9 @@ const Wi = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
19005
18761
  iconSrc: Km
19006
18762
  }
19007
18763
  ];
19008
- var fn = { exports: {} }, Jm = fn.exports, Vi;
18764
+ var fn = { exports: {} }, Jm = fn.exports, zi;
19009
18765
  function qm() {
19010
- return Vi || (Vi = 1, (function(e, t) {
18766
+ return zi || (zi = 1, (function(e, t) {
19011
18767
  (function(r, n) {
19012
18768
  e.exports = n();
19013
18769
  })(Jm, (function() {
@@ -19285,9 +19041,9 @@ function qm() {
19285
19041
  }
19286
19042
  var Qm = qm();
19287
19043
  const $t = /* @__PURE__ */ Un(Qm);
19288
- var ln = { exports: {} }, Zm = ln.exports, zi;
19044
+ var ln = { exports: {} }, Zm = ln.exports, Yi;
19289
19045
  function eg() {
19290
- return zi || (zi = 1, (function(e, t) {
19046
+ return Yi || (Yi = 1, (function(e, t) {
19291
19047
  (function(r, n) {
19292
19048
  e.exports = n();
19293
19049
  })(Zm, (function() {
@@ -19316,9 +19072,9 @@ function eg() {
19316
19072
  }
19317
19073
  var tg = eg();
19318
19074
  const rg = /* @__PURE__ */ Un(tg);
19319
- var cn = { exports: {} }, ng = cn.exports, Yi;
19075
+ var cn = { exports: {} }, ng = cn.exports, Gi;
19320
19076
  function ag() {
19321
- return Yi || (Yi = 1, (function(e, t) {
19077
+ return Gi || (Gi = 1, (function(e, t) {
19322
19078
  (function(r, n) {
19323
19079
  e.exports = n();
19324
19080
  })(ng, (function() {
@@ -19397,68 +19153,322 @@ const og = (e) => {
19397
19153
  }, hg = [
19398
19154
  {
19399
19155
  value: "Previous period",
19400
- label: "editors.ComparisonPeriodSelectFieldPro.previousPeriod|Previous period",
19156
+ label: "defaults.comparisonPeriodOptions.previousPeriod|Previous period",
19401
19157
  getRange: og,
19402
19158
  dateFormat: "DD MMM YYYY"
19403
19159
  },
19404
19160
  {
19405
19161
  value: "Previous week",
19406
- label: "editors.ComparisonPeriodSelectFieldPro.previousWeek|Previous week",
19162
+ label: "defaults.comparisonPeriodOptions.previousWeek|Previous week",
19407
19163
  getRange: fg,
19408
19164
  dateFormat: "MMM DD"
19409
19165
  },
19410
19166
  {
19411
19167
  value: "Previous month",
19412
- label: "editors.ComparisonPeriodSelectFieldPro.previousMonth|Previous month",
19168
+ label: "defaults.comparisonPeriodOptions.previousMonth|Previous month",
19413
19169
  getRange: lg,
19414
19170
  dateFormat: "MMM YYYY"
19415
19171
  },
19416
19172
  {
19417
19173
  value: "Previous quarter",
19418
- label: "editors.ComparisonPeriodSelectFieldPro.previousQuarter|Previous quarter",
19174
+ label: "defaults.comparisonPeriodOptions.previousQuarter|Previous quarter",
19419
19175
  getRange: cg,
19420
19176
  dateFormat: "MMM YYYY"
19421
19177
  },
19422
19178
  {
19423
19179
  value: "Previous year",
19424
- label: "editors.ComparisonPeriodSelectFieldPro.previousYear|Previous year",
19180
+ label: "defaults.comparisonPeriodOptions.previousYear|Previous year",
19425
19181
  getRange: ug,
19426
19182
  dateFormat: "YYYY"
19427
19183
  }
19428
- ], dg = {
19184
+ ], ea = (e, t = 0) => {
19185
+ const r = new Date(e), n = (r.getDay() + 6) % 7;
19186
+ r.setDate(r.getDate() - n + t * 7);
19187
+ const a = new Date(r.getFullYear(), r.getMonth(), r.getDate()), i = new Date(a);
19188
+ return i.setDate(a.getDate() + 6), i.setHours(23, 59, 59, 999), {
19189
+ from: a,
19190
+ to: i,
19191
+ relativeTimeString: ""
19192
+ };
19193
+ }, sn = (e, t = 0) => {
19194
+ const n = Math.floor(e.getMonth() / 3) + t, a = Math.floor(n / 4), i = (n % 4 + 4) % 4, s = e.getFullYear() + a, o = new Date(s, i * 3, 1), l = new Date(s, i * 3 + 3, 0, 23, 59, 59, 999);
19195
+ return {
19196
+ from: o,
19197
+ to: l,
19198
+ relativeTimeString: ""
19199
+ };
19200
+ }, dg = [
19201
+ {
19202
+ value: "Today",
19203
+ label: "Today",
19204
+ getRange: () => {
19205
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth(), e.getDate()), r = new Date(t);
19206
+ return r.setHours(23, 59, 59, 999), {
19207
+ from: t,
19208
+ to: r,
19209
+ relativeTimeString: ""
19210
+ };
19211
+ },
19212
+ dateFormat: "MMM DD"
19213
+ },
19214
+ {
19215
+ value: "Yesterday",
19216
+ label: "Yesterday",
19217
+ getRange: () => {
19218
+ const e = /* @__PURE__ */ new Date(), t = new Date(e);
19219
+ t.setDate(e.getDate() - 1), t.setHours(0, 0, 0, 0);
19220
+ const r = new Date(t);
19221
+ return r.setHours(23, 59, 59, 999), {
19222
+ from: t,
19223
+ to: r,
19224
+ relativeTimeString: ""
19225
+ };
19226
+ },
19227
+ dateFormat: "MMM DD"
19228
+ },
19229
+ {
19230
+ value: "This week",
19231
+ label: "This week",
19232
+ getRange: () => ea(/* @__PURE__ */ new Date(), 0),
19233
+ dateFormat: "MMM DD"
19234
+ },
19235
+ {
19236
+ value: "Last week",
19237
+ label: "Last week",
19238
+ getRange: () => ea(/* @__PURE__ */ new Date(), -1),
19239
+ dateFormat: "MMM DD"
19240
+ },
19241
+ {
19242
+ value: "Week to date",
19243
+ label: "Week to date",
19244
+ getRange: () => {
19245
+ const e = /* @__PURE__ */ new Date(), { from: t } = ea(e, 0), r = new Date(e);
19246
+ return r.setHours(23, 59, 59, 999), {
19247
+ from: t,
19248
+ to: r,
19249
+ relativeTimeString: ""
19250
+ };
19251
+ },
19252
+ dateFormat: "MMM DD"
19253
+ },
19254
+ {
19255
+ value: "Last 7 days",
19256
+ label: "Last 7 days",
19257
+ getRange: () => {
19258
+ const e = /* @__PURE__ */ new Date();
19259
+ e.setHours(23, 59, 59, 999);
19260
+ const t = new Date(e);
19261
+ return t.setDate(e.getDate() - 6), t.setHours(0, 0, 0, 0), {
19262
+ from: t,
19263
+ to: e,
19264
+ relativeTimeString: ""
19265
+ };
19266
+ },
19267
+ dateFormat: "MMM DD"
19268
+ },
19269
+ {
19270
+ value: "Next 7 days",
19271
+ label: "Next 7 days",
19272
+ getRange: () => {
19273
+ const e = /* @__PURE__ */ new Date();
19274
+ e.setHours(0, 0, 0, 0);
19275
+ const t = new Date(e);
19276
+ return t.setDate(e.getDate() + 6), t.setHours(23, 59, 59, 999), {
19277
+ from: e,
19278
+ to: t,
19279
+ relativeTimeString: ""
19280
+ };
19281
+ },
19282
+ dateFormat: "MMM DD"
19283
+ },
19284
+ {
19285
+ value: "Last 30 days",
19286
+ label: "Last 30 days",
19287
+ getRange: () => {
19288
+ const e = /* @__PURE__ */ new Date();
19289
+ e.setHours(23, 59, 59, 999);
19290
+ const t = new Date(e);
19291
+ return t.setDate(e.getDate() - 29), t.setHours(0, 0, 0, 0), {
19292
+ from: t,
19293
+ to: e,
19294
+ relativeTimeString: ""
19295
+ };
19296
+ },
19297
+ dateFormat: "MMM DD"
19298
+ },
19299
+ {
19300
+ value: "Next 30 days",
19301
+ label: "Next 30 days",
19302
+ getRange: () => {
19303
+ const e = /* @__PURE__ */ new Date();
19304
+ e.setHours(0, 0, 0, 0);
19305
+ const t = new Date(e);
19306
+ return t.setDate(e.getDate() + 29), t.setHours(23, 59, 59, 999), {
19307
+ from: e,
19308
+ to: t,
19309
+ relativeTimeString: ""
19310
+ };
19311
+ },
19312
+ dateFormat: "MMM DD"
19313
+ },
19314
+ {
19315
+ value: "This month",
19316
+ label: "This month",
19317
+ getRange: () => {
19318
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth(), 1), r = new Date(e.getFullYear(), e.getMonth() + 1, 0, 23, 59, 59, 999);
19319
+ return {
19320
+ from: t,
19321
+ to: r,
19322
+ relativeTimeString: ""
19323
+ };
19324
+ },
19325
+ dateFormat: "MMM YYYY"
19326
+ },
19327
+ {
19328
+ value: "Last month",
19329
+ label: "Last month",
19330
+ getRange: () => {
19331
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth() - 1, 1), r = new Date(e.getFullYear(), e.getMonth(), 0, 23, 59, 59, 999);
19332
+ return {
19333
+ from: t,
19334
+ to: r,
19335
+ relativeTimeString: ""
19336
+ };
19337
+ },
19338
+ dateFormat: "MMM YYYY"
19339
+ },
19340
+ {
19341
+ value: "Next month",
19342
+ label: "Next month",
19343
+ getRange: () => {
19344
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), e.getMonth() + 1, 1), r = new Date(e.getFullYear(), e.getMonth() + 2, 0, 23, 59, 59, 999);
19345
+ return { from: t, to: r, relativeTimeString: "" };
19346
+ },
19347
+ dateFormat: "MMM YYYY"
19348
+ },
19349
+ {
19350
+ value: "This quarter",
19351
+ label: "This quarter",
19352
+ getRange: () => sn(/* @__PURE__ */ new Date(), 0),
19353
+ dateFormat: "MMM YYYY"
19354
+ },
19355
+ {
19356
+ value: "Last quarter",
19357
+ label: "Last quarter",
19358
+ getRange: () => sn(/* @__PURE__ */ new Date(), -1),
19359
+ dateFormat: "MMM YYYY"
19360
+ },
19361
+ {
19362
+ value: "Next quarter",
19363
+ label: "Next quarter",
19364
+ getRange: () => sn(/* @__PURE__ */ new Date(), 1),
19365
+ dateFormat: "MMM YYYY"
19366
+ },
19367
+ {
19368
+ value: "Quarter to date",
19369
+ label: "Quarter to date",
19370
+ getRange: () => {
19371
+ const e = /* @__PURE__ */ new Date(), { from: t } = sn(e, 0), r = new Date(e);
19372
+ return r.setHours(23, 59, 59, 999), { from: t, to: r, relativeTimeString: "" };
19373
+ },
19374
+ dateFormat: "MMM YYYY"
19375
+ },
19376
+ {
19377
+ value: "Last 6 months",
19378
+ label: "Last 6 months",
19379
+ getRange: () => {
19380
+ const e = /* @__PURE__ */ new Date();
19381
+ e.setHours(23, 59, 59, 999);
19382
+ const t = new Date(e);
19383
+ return t.setMonth(e.getMonth() - 6), t.setHours(0, 0, 0, 0), { from: t, to: e, relativeTimeString: "" };
19384
+ },
19385
+ dateFormat: "MMM YYYY"
19386
+ },
19387
+ {
19388
+ value: "Last 12 months",
19389
+ label: "Last 12 months",
19390
+ getRange: () => {
19391
+ const e = /* @__PURE__ */ new Date();
19392
+ e.setHours(23, 59, 59, 999);
19393
+ const t = new Date(e);
19394
+ return t.setMonth(e.getMonth() - 12), t.setHours(0, 0, 0, 0), { from: t, to: e, relativeTimeString: "" };
19395
+ },
19396
+ dateFormat: "MMM YYYY"
19397
+ },
19398
+ {
19399
+ value: "This year",
19400
+ label: "This year",
19401
+ getRange: () => {
19402
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), 0, 1), r = new Date(e.getFullYear(), 11, 31, 23, 59, 59, 999);
19403
+ return { from: t, to: r, relativeTimeString: "" };
19404
+ },
19405
+ dateFormat: "YYYY"
19406
+ },
19407
+ {
19408
+ value: "Last year",
19409
+ label: "Last year",
19410
+ getRange: () => {
19411
+ const t = (/* @__PURE__ */ new Date()).getFullYear() - 1, r = new Date(t, 0, 1), n = new Date(t, 11, 31, 23, 59, 59, 999);
19412
+ return { from: r, to: n, relativeTimeString: "" };
19413
+ },
19414
+ dateFormat: "YYYY"
19415
+ },
19416
+ {
19417
+ value: "Next year",
19418
+ label: "Next year",
19419
+ getRange: () => {
19420
+ const t = (/* @__PURE__ */ new Date()).getFullYear() + 1, r = new Date(t, 0, 1), n = new Date(t, 11, 31, 23, 59, 59, 999);
19421
+ return { from: r, to: n, relativeTimeString: "" };
19422
+ },
19423
+ dateFormat: "YYYY"
19424
+ },
19425
+ {
19426
+ value: "Year to date",
19427
+ label: "Year to date",
19428
+ getRange: () => {
19429
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getFullYear(), 0, 1), r = new Date(e);
19430
+ return r.setHours(23, 59, 59, 999), { from: t, to: r, relativeTimeString: "" };
19431
+ },
19432
+ dateFormat: "MMM YYYY"
19433
+ }
19434
+ ], mg = {
19429
19435
  language: "en",
19430
19436
  translations: {
19431
- en: qo,
19432
- de: Qo
19437
+ en: Qo,
19438
+ de: Zo
19433
19439
  }
19434
- }, mg = {
19440
+ }, gg = {
19435
19441
  legendPosition: "bottom",
19436
19442
  chartCardMenuPro: {
19437
19443
  options: Xm
19438
19444
  }
19439
- }, gg = {
19445
+ }, fa = {
19446
+ comparisonPeriodsOptions: hg,
19447
+ dateRangesOptions: dg
19448
+ }, pg = {
19440
19449
  dateRangeSelectFieldPro: {
19441
- options: Y0
19450
+ options: fa.dateRangesOptions
19442
19451
  },
19443
19452
  comparisonPeriodSelectFieldPro: {
19444
- options: hg
19445
- }
19446
- }, pg = {
19447
- i18n: dg,
19448
- charts: mg,
19449
- editors: gg,
19450
- formatter: I0,
19451
- styles: z0
19452
- }, Gi = () => pg, xg = [];
19453
- function vg(e) {
19453
+ options: fa.comparisonPeriodsOptions
19454
+ }
19455
+ }, xg = {
19456
+ i18n: mg,
19457
+ charts: gg,
19458
+ editors: pg,
19459
+ formatter: M0,
19460
+ styles: Y0,
19461
+ defaults: fa
19462
+ }, ji = () => xg, vg = [];
19463
+ function wg(e) {
19454
19464
  let t = {};
19455
- for (const r of xg)
19465
+ for (const r of vg)
19456
19466
  if (typeof r == "function") {
19457
19467
  const n = r(e, t);
19458
- t = s0(t, n);
19468
+ t = o0(t, n);
19459
19469
  }
19460
- return typeof Gi == "function" ? Gi() : t;
19470
+ return typeof ji == "function" ? ji() : t;
19461
19471
  }
19462
19472
  export {
19463
- vg as default
19473
+ wg as default
19464
19474
  };