@silurus/ooxml 0.89.0 → 0.89.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/THIRD_PARTY_NOTICES.md +1 -1
  2. package/dist/assets/render-worker-C5G_Nr_A.js +35 -0
  3. package/dist/assets/render-worker-DQfWdNsm.js +16 -0
  4. package/dist/assets/render-worker-Ds7LjwU-.js +15 -0
  5. package/dist/bounded-raw-part-cache-CsnNptAy.js +33925 -0
  6. package/dist/{canvas-viewer-mechanics-DfQqRKkD.js → canvas-viewer-mechanics-BZ8QCrRi.js} +2 -2
  7. package/dist/{cfb-guard-9QTRTg7f.js → cfb-guard-dNeUiANF.js} +1 -1
  8. package/dist/chart-ex.mjs +477 -477
  9. package/dist/{comment-overlay-controller-B5_zGgG5.js → comment-overlay-controller-CBvQx-En.js} +16 -16
  10. package/dist/{comment-ui-runtime-D_sb2K6s.js → comment-ui-runtime-BKidRH36.js} +3 -3
  11. package/dist/{comment-ui-runtime-Jy-3goA9.js → comment-ui-runtime-C47QoDUy.js} +3 -3
  12. package/dist/{document-model-source-BKNrXjAL.js → document-model-source-MzFPrxt0.js} +44 -44
  13. package/dist/{document-pull-client-CxONDGbk.js → document-pull-client-BoJeuURD.js} +6102 -7994
  14. package/dist/{document-pull-worker-AMyXYpPq.js → document-pull-worker-CaP8XESP.js} +18 -18
  15. package/dist/{docx-D91ER1_S.js → docx-BN70UhvX.js} +24 -24
  16. package/dist/{docx-DhDnKEI6.js → docx-BRRtSvk3.js} +556 -556
  17. package/dist/{docx-model-source-CdrSt3hF.js → docx-model-source-CTO9iw_W.js} +12 -12
  18. package/dist/docx.mjs +4 -4
  19. package/dist/{drawingml-shape-ChcGZNd8.js → drawingml-shape-CHmq8kpM.js} +55 -55
  20. package/dist/{duotone-ekYik4ix.js → duotone-DN8P4aXe.js} +1 -1
  21. package/dist/{emf-UT6I8rVi.js → emf-CGFQIz6c.js} +60 -60
  22. package/dist/{font-preload-demand-CdJZUMCT.js → font-preload-demand-Dmy31xt-.js} +2 -2
  23. package/dist/{grid-geometry-uQOgViJU.js → grid-geometry-C3IG20ut.js} +1 -1
  24. package/dist/{host-layout-measure-CCEgaC_v.js → host-layout-measure-DsuQ2UJs.js} +1 -1
  25. package/dist/index.mjs +3 -3
  26. package/dist/internal-companion.mjs +2 -2
  27. package/dist/{line-distribute-CPOV6csk.js → line-distribute-Bu8psjGd.js} +153 -70
  28. package/dist/{model-source-DJGzDtGb.js → model-source-s5hRpk4w.js} +4 -4
  29. package/dist/{model-source-session-Bu9CHFHc.js → model-source-session-6fuaqbGs.js} +18 -18
  30. package/dist/{model-source-session-CDuijwv1.js → model-source-session-DqrR4XHR.js} +2 -2
  31. package/dist/{model-source-session-sKpNiIJI.js → model-source-session-cPJSF_Ak.js} +10 -10
  32. package/dist/node.mjs +5 -5
  33. package/dist/{bounded-raw-part-cache-B7JoC1CD.js → plot-area-frame-Bs_j4uu7.js} +15189 -37964
  34. package/dist/{pptx-C_uxLVKB.js → pptx-CaJ6ILnw.js} +9 -9
  35. package/dist/{pptx-CDP9dZHe.js → pptx-_BOGcBym.js} +58 -58
  36. package/dist/{pptx-model-source-O7LhpOjz.js → pptx-model-source-B_9afw9R.js} +5 -5
  37. package/dist/pptx.mjs +5 -5
  38. package/dist/{presentation-model-source-tmROzteR.js → presentation-model-source-CGHLyX32.js} +5 -5
  39. package/dist/region-map.mjs +53 -53
  40. package/dist/{render-CJVglUHl.js → render-CzbDzRKa.js} +2 -2
  41. package/dist/{render-worker-host-BseIaVvm.js → render-worker-host-B1u6BOUd.js} +1 -1
  42. package/dist/{render-worker-host-CyxPU4JU.js → render-worker-host-C-EECo68.js} +1 -1
  43. package/dist/{render-worker-host-aF6aWkC0.js → render-worker-host-DDqZTCVf.js} +1 -1
  44. package/dist/renderer-CD2cvVAF.js +5823 -0
  45. package/dist/{renderer-CkGLj0CC.js → renderer-DRoeb14O.js} +696 -696
  46. package/dist/{resource-measurement-mXw-WjMF.js → resource-measurement-Dhhm7P_l.js} +162 -161
  47. package/dist/{session-Csv9maad.js → session-XPmC0CUd.js} +176 -176
  48. package/dist/{slide-pull-client-DRZYwBTu.js → slide-pull-client-tq7U_fYg.js} +1454 -1484
  49. package/dist/{three-d-BK5siJgJ.js → three-d-BKwNPAP4.js} +107 -107
  50. package/dist/three-d.mjs +625 -625
  51. package/dist/{wasm-runtime-generation-DX4y0Ecl.js → wasm-runtime-generation-D6TKZdNb.js} +4 -4
  52. package/dist/{workbook-model-source-BTC4ISTS.js → workbook-model-source-BIGrfZy6.js} +6 -6
  53. package/dist/worker-source-DrwhR9fw.js +22 -0
  54. package/dist/{worksheet-pull-client-CkHgbtyM.js → worksheet-pull-client-ClvPO_Jf.js} +74 -74
  55. package/dist/{xlsx-CpSDPAEU.js → xlsx-CsmREBaZ.js} +430 -420
  56. package/dist/{xlsx-D5569TPf.js → xlsx-DmHfeNNp.js} +24 -24
  57. package/dist/{xlsx-model-source-DPSkjFic.js → xlsx-model-source-D1flORqy.js} +55 -55
  58. package/dist/xlsx.mjs +5 -5
  59. package/package.json +1 -1
  60. package/dist/assets/render-worker-CUOU6mL2.js +0 -16
  61. package/dist/assets/render-worker-DOqrFhSU.js +0 -15
  62. package/dist/assets/render-worker-DvWUdZUN.js +0 -35
  63. package/dist/plot-area-frame-CaJFvZ7p.js +0 -8502
  64. package/dist/renderer-Czw1cCC7.js +0 -5823
  65. package/dist/worker-source-I1cIYBel.js +0 -22
@@ -1,7 +1,7 @@
1
- import { cn as e } from "./bounded-raw-part-cache-B7JoC1CD.js";
2
- import { n as t } from "./session-Csv9maad.js";
3
- import { t as n } from "./pptx-C_uxLVKB.js";
4
- import { t as r } from "./model-source-DJGzDtGb.js";
1
+ import { qt as e } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { n as t } from "./session-XPmC0CUd.js";
3
+ import { t as n } from "./pptx-CaJ6ILnw.js";
4
+ import { t as r } from "./model-source-s5hRpk4w.js";
5
5
  //#region packages/node/src/pptx-model-source.ts
6
6
  async function i(t, r, i) {
7
7
  let o = await a(t, r, i), s = new Proxy(o.archive, { get(e, t) {
@@ -14,7 +14,7 @@ async function i(t, r, i) {
14
14
  return new n(o.closeArchive, s, o.bootstrap, o.metrics, r.signal, e(r.cjkFallback));
15
15
  }
16
16
  async function a(e, n, i) {
17
- let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-sKpNiIJI.js"), c = await r(e, "pptx", {
17
+ let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-cPJSF_Ak.js"), c = await r(e, "pptx", {
18
18
  ...n,
19
19
  source: n.legacyPpt
20
20
  }, o);
package/dist/pptx.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { l as e } from "./slide-pull-client-DRZYwBTu.js";
2
- import { $a as t, eo as n } from "./plot-area-frame-CaJFvZ7p.js";
3
- import { u as r } from "./bounded-raw-part-cache-B7JoC1CD.js";
1
+ import { l as e } from "./slide-pull-client-tq7U_fYg.js";
2
+ import { vo as t, yo as n } from "./plot-area-frame-Bs_j4uu7.js";
3
+ import { u as r } from "./bounded-raw-part-cache-CsnNptAy.js";
4
4
  import { f as i, u as a } from "./pixel-budget-BpTYrepD.js";
5
5
  import { i as o, t as s } from "./tiff-contract-C6M3QcPp.js";
6
- import { D as c } from "./canvas-viewer-mechanics-DfQqRKkD.js";
7
- import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-CDP9dZHe.js";
6
+ import { D as c } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
7
+ import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-_BOGcBym.js";
8
8
  export { a as OoxmlDecodedImageLimitError, t as OoxmlError, n as OoxmlResourceLimitError, m as PptxPresentation, p as PptxScrollViewer, d as PptxViewer, s as TiffDecodeError, c as autoResize, u as buildPptxHighlightLayer, f as buildPptxTextLayer, i as isOoxmlDecodedImageLimitError, o as isTiffDecodeError, r as openExternalHyperlink, l as readPptxTextSelectionContext, e as renderSlide };
@@ -1,8 +1,8 @@
1
- import { F as e, N as t, cn as n } from "./bounded-raw-part-cache-B7JoC1CD.js";
2
- import { b as r } from "./comment-overlay-controller-B5_zGgG5.js";
3
- import { T as i } from "./canvas-viewer-mechanics-DfQqRKkD.js";
1
+ import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-CsnNptAy.js";
2
+ import { b as r } from "./comment-overlay-controller-CBvQx-En.js";
3
+ import { T as i } from "./canvas-viewer-mechanics-BZ8QCrRi.js";
4
4
  import { n as a } from "./renderer-module-contract-CWM7jv6d.js";
5
- import { o, s } from "./pptx-CDP9dZHe.js";
5
+ import { o, s } from "./pptx-_BOGcBym.js";
6
6
  import { n as c, o as l, r as u } from "./model-source-kz_NkZqT.js";
7
7
  import { t as d } from "./bundled-asset-url-E2nXURF9.js";
8
8
  //#region packages/pptx/src/internal/presentation-model-source.ts
@@ -31,7 +31,7 @@ async function f(u, d) {
31
31
  let _ = c(t, "pptx");
32
32
  try {
33
33
  g.setSourceBytes(e.byteLength), g.checkpoint("container ready");
34
- let t = f === "worker" ? (await import("./render-worker-host-CyxPU4JU.js")).createRenderWorker() : new (await (import("./worker-source-I1cIYBel.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
34
+ let t = f === "worker" ? (await import("./render-worker-host-C-EECo68.js")).createRenderWorker() : new (await (import("./worker-source-DrwhR9fw.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
35
35
  try {
36
36
  u = new o(c, f, d.wasmUrl);
37
37
  let t = u;
@@ -1,5 +1,5 @@
1
- import { $i as e, Cn as t, Xi as n, aa as r, ca as i, ea as a, no as o, oa as s, qt as c, ra as l, t as u } from "./plot-area-frame-CaJFvZ7p.js";
2
- import { a as d, l as f, s as p } from "./duotone-ekYik4ix.js";
1
+ import { Ao as e, Cn as t, _a as n, aa as r, ca as i, fa as a, ha as o, la as s, ma as c, qt as l, t as u } from "./plot-area-frame-Bs_j4uu7.js";
2
+ import { a as d, l as f, s as p } from "./duotone-DN8P4aXe.js";
3
3
  import { t as m } from "./renderer-module-contract-CWM7jv6d.js";
4
4
  //#region packages/core/src/chart/region-map-natural-earth.generated.ts
5
5
  var h = [
@@ -12512,11 +12512,11 @@ var E = {
12512
12512
  drcongo: "Democratic Republic of the Congo",
12513
12513
  congodemocraticrepublic: "Democratic Republic of the Congo"
12514
12514
  };
12515
- function D(e, t) {
12516
- let n = (e) => S.get(e) ?? C.get(e) ?? w.get(e) ?? T.get(e), r = t ? n(x(t)) : void 0;
12517
- if (r) return r;
12518
- let i = x(e), a = o(E, i);
12519
- return n(i) ?? (a ? n(x(a)) : void 0);
12515
+ function D(t, n) {
12516
+ let r = (e) => S.get(e) ?? C.get(e) ?? w.get(e) ?? T.get(e), i = n ? r(x(n)) : void 0;
12517
+ if (i) return i;
12518
+ let a = x(t), o = e(E, a);
12519
+ return r(a) ?? (o ? r(x(o)) : void 0);
12520
12520
  }
12521
12521
  function O(e, t) {
12522
12522
  return d((e ?? "").replace(/^#/, "").slice(0, 6)) ?? O(t, "000000");
@@ -12581,49 +12581,49 @@ function I(e) {
12581
12581
  function L(e, t, n, r, i) {
12582
12582
  if (!t.title && !t.titlePresent) return;
12583
12583
  let a = t.titleFontFace || t.themeMajorFontLatin || "sans-serif";
12584
- e.font = `${t.titleFontBold ?? !0 ? "bold " : ""}${r}px ${JSON.stringify(a)}`, e.fillStyle = t.titleFontColor ? `#${t.titleFontColor}` : "#333333", e.textAlign = "center", e.textBaseline = "top", s(e, t.title ?? "", n.x + n.w / 2, n.y + i, r);
12584
+ e.font = `${t.titleFontBold ?? !0 ? "bold " : ""}${r}px ${JSON.stringify(a)}`, e.fillStyle = t.titleFontColor ? `#${t.titleFontColor}` : "#333333", e.textAlign = "center", e.textBaseline = "top", o(e, t.title ?? "", n.x + n.w / 2, n.y + i, r);
12585
12585
  }
12586
- function R(e, n, r, i, a, o, c, u) {
12586
+ function R(e, n, r, i, s, c, l, u) {
12587
12587
  let d = n.series[0]?.name ?? "", f = Math.max(8, (n.legendFontSizeHpt ?? 900) / 100 * u);
12588
- e.font = `${n.legendFontBold ? "bold " : ""}${f}px ${JSON.stringify(n.legendFontFace || n.themeMinorFontLatin || "sans-serif")}`, e.fillStyle = n.legendFontColor ? `#${n.legendFontColor}` : "#595959", e.textAlign = "center", e.textBaseline = "top", d && s(e, d, i + o / 2, a, f + 2);
12589
- let p = Math.min(o * .58, 240), m = Math.max(6, Math.min(12, c * .25)), h = i + (o - p) / 2, g = a + (d ? f + 2 + (l(d) - 1) * (f + 2) : 0), _ = e.createLinearGradient(h, 0, h + p, 0);
12588
+ e.font = `${n.legendFontBold ? "bold " : ""}${f}px ${JSON.stringify(n.legendFontFace || n.themeMinorFontLatin || "sans-serif")}`, e.fillStyle = n.legendFontColor ? `#${n.legendFontColor}` : "#595959", e.textAlign = "center", e.textBaseline = "top", d && o(e, d, i + c / 2, s, f + 2);
12589
+ let p = Math.min(c * .58, 240), m = Math.max(6, Math.min(12, l * .25)), h = i + (c - p) / 2, g = s + (d ? f + 2 + (a(d) - 1) * (f + 2) : 0), _ = e.createLinearGradient(h, 0, h + p, 0);
12590
12590
  _.addColorStop(0, r.minColor), r.midColor && _.addColorStop(.5, r.midColor), _.addColorStop(1, r.maxColor), e.fillStyle = _, e.fillRect(h, g, p, m), e.fillStyle = n.legendFontColor ? `#${n.legendFontColor}` : "#595959", e.textBaseline = "top", e.textAlign = "left";
12591
12591
  let v = n.series[0]?.valFormatCode ?? null;
12592
- s(e, t(r.min, v, n.date1904), h, g + m + 2, f + 2), e.textAlign = "right", s(e, t(r.max, v, n.date1904), h + p, g + m + 2, f + 2);
12592
+ o(e, t(r.min, v, n.date1904), h, g + m + 2, f + 2), e.textAlign = "right", o(e, t(r.max, v, n.date1904), h + p, g + m + 2, f + 2);
12593
12593
  }
12594
12594
  function z(e, n, r, i) {
12595
- let a = e.series[0]?.name ?? "", o = Math.max(8, (e.legendFontSizeHpt ?? 900) / 100 * r), s = e.series[0]?.valFormatCode ?? null, c = a ? l(a) : 0, u = Math.max(l(t(n.min, s, e.date1904)), l(t(n.max, s, e.date1904)));
12596
- if (c <= 1 && u <= 1) return i;
12597
- let d = c * (o + 2) + 12 + 2 + (u - 1) * (o + 2) + o;
12595
+ let o = e.series[0]?.name ?? "", s = Math.max(8, (e.legendFontSizeHpt ?? 900) / 100 * r), c = e.series[0]?.valFormatCode ?? null, l = o ? a(o) : 0, u = Math.max(a(t(n.min, c, e.date1904)), a(t(n.max, c, e.date1904)));
12596
+ if (l <= 1 && u <= 1) return i;
12597
+ let d = l * (s + 2) + 12 + 2 + (u - 1) * (s + 2) + s;
12598
12598
  return Math.max(i, d);
12599
12599
  }
12600
12600
  function B(e, t, n, r) {
12601
12601
  e.fillStyle = "#666666", e.font = `${Math.max(9, 9 * n)}px sans-serif`, e.textAlign = "center", e.textBaseline = "middle", e.fillText(r, t.x + t.w / 2, t.y + t.h / 2);
12602
12602
  }
12603
- function V(t, o, l, d, f = 0) {
12604
- if (o.chartType !== "regionMap" || !o.chartexRegionMap) return !1;
12605
- let p = o.chartexRegionMap;
12606
- if (p.rows.length > y) return B(t, l, d, "(chart values exceed rendering limit)"), !0;
12607
- if (p.geography?.cachePresent) return B(t, l, d, "(region map cache is unavailable offline)"), !0;
12603
+ function V(e, t, a, d, f = 0) {
12604
+ if (t.chartType !== "regionMap" || !t.chartexRegionMap) return !1;
12605
+ let p = t.chartexRegionMap;
12606
+ if (p.rows.length > y) return B(e, a, d, "(chart values exceed rendering limit)"), !0;
12607
+ if (p.geography?.cachePresent) return B(e, a, d, "(region map cache is unavailable offline)"), !0;
12608
12608
  let m = p.geography?.viewedRegionType;
12609
- if (m != null && m !== "world") return B(t, l, d, "(region map detail is unavailable offline)"), !0;
12610
- let g = I(p), _ = F([...g.values()], p.colors, o.chartexAccents?.[0]), v = n(o, l.h, d, .02, .015), x = o.titleRichRuns?.length ? {
12609
+ if (m != null && m !== "world") return B(e, a, d, "(region map detail is unavailable offline)"), !0;
12610
+ let g = I(p), _ = F([...g.values()], p.colors, t.chartexAccents?.[0]), v = r(t, a.h, d, .02, .015), x = t.titleRichRuns?.length ? {
12611
12611
  ...v,
12612
- bandH: v.bandH + a(o.title, v.fontPx)
12612
+ bandH: v.bandH + s(t.title, v.fontPx)
12613
12613
  } : v;
12614
- L(t, o, l, x.fontPx, x.topPad);
12615
- let S = o.showLegend ? z(o, _, d, Math.max(32, l.h * .16)) : 0, C = o.showLegend ? {
12616
- x: l.x,
12617
- y: l.y + x.bandH,
12618
- w: l.w,
12614
+ L(e, t, a, x.fontPx, x.topPad);
12615
+ let S = t.showLegend ? z(t, _, d, Math.max(32, a.h * .16)) : 0, C = t.showLegend ? {
12616
+ x: a.x,
12617
+ y: a.y + x.bandH,
12618
+ w: a.w,
12619
12619
  h: S
12620
- } : null, w = C && o.legendManualLayout ? e(o.legendManualLayout, l, C) ?? C : C, T = o.legendOverlay === !0 ? 0 : S, E = l.w * .03, O = l.h * .035, k = {
12621
- x: l.x + E,
12622
- y: l.y + x.bandH + T,
12623
- w: Math.max(1, l.w - E * 2),
12624
- h: Math.max(1, l.h - x.bandH - T - O)
12625
- }, A = o.plotAreaManualLayout ? e(o.plotAreaManualLayout, l, k) ?? k : k;
12626
- u(t, o, A.x, A.y, A.w, A.h, d, f), w && (c(t, o, w, d, f), R(t, o, _, w.x, w.y, w.w, w.h, d));
12620
+ } : null, w = C && t.legendManualLayout ? i(t.legendManualLayout, a, C) ?? C : C, T = t.legendOverlay === !0 ? 0 : S, E = a.w * .03, O = a.h * .035, k = {
12621
+ x: a.x + E,
12622
+ y: a.y + x.bandH + T,
12623
+ w: Math.max(1, a.w - E * 2),
12624
+ h: Math.max(1, a.h - x.bandH - T - O)
12625
+ }, A = t.plotAreaManualLayout ? i(t.plotAreaManualLayout, a, k) ?? k : k;
12626
+ u(e, t, A.x, A.y, A.w, A.h, d, f), w && (l(e, t, w, d, f), R(e, t, _, w.x, w.y, w.w, w.h, d));
12627
12627
  let j = p.geography?.projectionType, M = Infinity, N = Infinity, P = -Infinity, V = -Infinity;
12628
12628
  for (let e of h) for (let t of e.g) for (let e of t) for (let t of e) {
12629
12629
  let e = b(t, j);
@@ -12636,38 +12636,38 @@ function V(t, o, l, d, f = 0) {
12636
12636
  y: W + t.y * H
12637
12637
  };
12638
12638
  }, K = /* @__PURE__ */ new Map();
12639
- t.lineWidth = Math.max(.35, .55 * d), t.strokeStyle = "#FFFFFF";
12640
- for (let e of h) {
12641
- t.beginPath();
12639
+ e.lineWidth = Math.max(.35, .55 * d), e.strokeStyle = "#FFFFFF";
12640
+ for (let t of h) {
12641
+ e.beginPath();
12642
12642
  let n = {
12643
12643
  minX: Infinity,
12644
12644
  minY: Infinity,
12645
12645
  maxX: -Infinity,
12646
12646
  maxY: -Infinity
12647
12647
  };
12648
- for (let r of e.g) for (let e of r) {
12648
+ for (let r of t.g) for (let t of r) {
12649
12649
  let r;
12650
- for (let i = 0; i < e.length; i++) {
12651
- let a = e[i], o = G(a);
12652
- n.minX = Math.min(n.minX, o.x), n.maxX = Math.max(n.maxX, o.x), n.minY = Math.min(n.minY, o.y), n.maxY = Math.max(n.maxY, o.y), i === 0 || r && Math.abs(a[0] - r[0]) > 180 ? t.moveTo(o.x, o.y) : t.lineTo(o.x, o.y), r = a;
12650
+ for (let i = 0; i < t.length; i++) {
12651
+ let a = t[i], o = G(a);
12652
+ n.minX = Math.min(n.minX, o.x), n.maxX = Math.max(n.maxX, o.x), n.minY = Math.min(n.minY, o.y), n.maxY = Math.max(n.maxY, o.y), i === 0 || r && Math.abs(a[0] - r[0]) > 180 ? e.moveTo(o.x, o.y) : e.lineTo(o.x, o.y), r = a;
12653
12653
  }
12654
- t.closePath();
12654
+ e.closePath();
12655
12655
  }
12656
- t.fillStyle = g.has(e) ? _.color(g.get(e)) : "#E0E0E0", t.fill("evenodd"), t.stroke(), K.set(e, n);
12656
+ e.fillStyle = g.has(t) ? _.color(g.get(t)) : "#E0E0E0", e.fill("evenodd"), e.stroke(), K.set(t, n);
12657
12657
  }
12658
12658
  if (p.regionLabelLayout && p.regionLabelLayout !== "none") {
12659
- let e = Math.max(7, (o.dataLabelFontSizeHpt ?? 800) / 100 * d);
12660
- t.font = `${e}px ${JSON.stringify(o.dataLabelFontFace || o.themeMinorFontLatin || "sans-serif")}`, t.fillStyle = o.dataLabelFontColor ? `#${o.dataLabelFontColor}` : "#404040", t.textAlign = "center", t.textBaseline = "middle";
12661
- for (let n of p.rows) {
12662
- let a = D(n.label, n.entityId), o = a ? K.get(a) : void 0;
12663
- if (!a || !o || !n.label) continue;
12664
- let c = G(a.l), l = i(t, n.label) <= Math.max(0, o.maxX - o.minX - 4);
12665
- (p.regionLabelLayout === "showAll" || l) && s(t, n.label, c.x, c.y, r(e));
12659
+ let r = Math.max(7, (t.dataLabelFontSizeHpt ?? 800) / 100 * d);
12660
+ e.font = `${r}px ${JSON.stringify(t.dataLabelFontFace || t.themeMinorFontLatin || "sans-serif")}`, e.fillStyle = t.dataLabelFontColor ? `#${t.dataLabelFontColor}` : "#404040", e.textAlign = "center", e.textBaseline = "middle";
12661
+ for (let t of p.rows) {
12662
+ let i = D(t.label, t.entityId), a = i ? K.get(i) : void 0;
12663
+ if (!i || !a || !t.label) continue;
12664
+ let s = G(i.l), l = n(e, t.label) <= Math.max(0, a.maxX - a.minX - 4);
12665
+ (p.regionLabelLayout === "showAll" || l) && o(e, t.label, s.x, s.y, c(r));
12666
12666
  }
12667
12667
  }
12668
12668
  if (p.geography?.attribution) {
12669
- let e = Math.max(7, 7 * d);
12670
- t.font = `${e}px sans-serif`, t.fillStyle = "#777777", t.textAlign = "right", t.textBaseline = "bottom", s(t, p.geography.attribution, l.x + l.w - 4, l.y + l.h - 2, r(e));
12669
+ let t = Math.max(7, 7 * d);
12670
+ e.font = `${t}px sans-serif`, e.fillStyle = "#777777", e.textAlign = "right", e.textBaseline = "bottom", o(e, p.geography.attribution, a.x + a.w - 4, a.y + a.h - 2, c(t));
12671
12671
  }
12672
12672
  return !0;
12673
12673
  }
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-Dy4uBu1J.js";
2
- import { cn as t } from "./bounded-raw-part-cache-B7JoC1CD.js";
2
+ import { qt as t } from "./bounded-raw-part-cache-CsnNptAy.js";
3
3
  //#region packages/node/src/render.ts
4
4
  var n = /* @__PURE__ */ e({
5
5
  installImageBitmapShim: () => a,
@@ -47,7 +47,7 @@ function o(e, t) {
47
47
  return r = o.then(() => void 0, () => void 0), o;
48
48
  }
49
49
  async function s(e, n, r, i = {}) {
50
- let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-Csv9maad.js").then((e) => e.t), c = n.slides[r];
50
+ let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-XPmC0CUd.js").then((e) => e.t), c = n.slides[r];
51
51
  if (!c) throw Error(`Slide index ${r} out of range`);
52
52
  let l = i.width ?? 960, u = i.dpr ?? 2, d = i.fetchImage ?? (async () => new Blob([])), f = async () => {
53
53
  await s(e, c, n.slideWidth, n.slideHeight, {
@@ -1,5 +1,5 @@
1
1
  //#region packages/xlsx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-DvWUdZUN.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-C5G_Nr_A.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/xlsx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  //#region packages/pptx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-CUOU6mL2.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-DQfWdNsm.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/pptx/src/render-worker-host.ts
5
5
  function t() {
@@ -1,5 +1,5 @@
1
1
  //#region packages/docx/src/render-worker.ts?worker&url
2
- var e = "" + new URL("assets/render-worker-DOqrFhSU.js", import.meta.url).href;
2
+ var e = "" + new URL("assets/render-worker-Ds7LjwU-.js", import.meta.url).href;
3
3
  //#endregion
4
4
  //#region packages/docx/src/render-worker-host.ts
5
5
  function t() {