pptx-vue-viewer 1.24.2 → 1.24.3

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 (62) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/composables-unstable.cjs +1 -1
  3. package/dist/composables-unstable.cjs.br +0 -0
  4. package/dist/composables-unstable.cjs.gz +0 -0
  5. package/dist/composables-unstable.js +1 -1
  6. package/dist/composables-unstable.js.br +0 -0
  7. package/dist/composables-unstable.js.gz +0 -0
  8. package/dist/{dist-5FcjzIkV.js → dist-CMnQ-wCx.js} +121 -117
  9. package/dist/dist-CMnQ-wCx.js.br +0 -0
  10. package/dist/dist-CMnQ-wCx.js.gz +0 -0
  11. package/dist/{dist-Cm_BQgBe.cjs → dist-V2853frW.cjs} +121 -117
  12. package/dist/dist-V2853frW.cjs.br +0 -0
  13. package/dist/dist-V2853frW.cjs.gz +0 -0
  14. package/dist/gif-encoder-C_JOjQDF.js +2 -0
  15. package/dist/gif-encoder-C_JOjQDF.js.br +0 -0
  16. package/dist/gif-encoder-C_JOjQDF.js.gz +0 -0
  17. package/dist/gif-encoder-pYsxpOka.cjs +2 -0
  18. package/dist/gif-encoder-pYsxpOka.cjs.br +0 -0
  19. package/dist/gif-encoder-pYsxpOka.cjs.gz +0 -0
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.cjs.br +0 -0
  22. package/dist/index.cjs.gz +0 -0
  23. package/dist/index.js +2 -2
  24. package/dist/index.js.br +0 -0
  25. package/dist/index.js.gz +0 -0
  26. package/dist/{useViewerSettingsDialog-BdPOup9Q.js → useViewerSettingsDialog-BVSc0Rlh.js} +34 -6
  27. package/dist/useViewerSettingsDialog-BVSc0Rlh.js.br +0 -0
  28. package/dist/useViewerSettingsDialog-BVSc0Rlh.js.gz +0 -0
  29. package/dist/{useViewerSettingsDialog-D5oP7tps.cjs → useViewerSettingsDialog-Dk1xF6cg.cjs} +202 -174
  30. package/dist/useViewerSettingsDialog-Dk1xF6cg.cjs.br +0 -0
  31. package/dist/useViewerSettingsDialog-Dk1xF6cg.cjs.gz +0 -0
  32. package/dist/viewer/index.cjs +1 -1
  33. package/dist/viewer/index.cjs.br +0 -0
  34. package/dist/viewer/index.cjs.gz +0 -0
  35. package/dist/viewer/index.js +2 -2
  36. package/dist/viewer/index.js.br +0 -0
  37. package/dist/viewer/index.js.gz +0 -0
  38. package/dist/{viewer-Bl5YfWO0.cjs → viewer-B86J9Mdo.cjs} +2 -2
  39. package/dist/viewer-B86J9Mdo.cjs.br +0 -0
  40. package/dist/viewer-B86J9Mdo.cjs.gz +0 -0
  41. package/dist/{viewer-B3tFbH1y.js → viewer-Bp2Imd72.js} +3 -3
  42. package/dist/viewer-Bp2Imd72.js.br +0 -0
  43. package/dist/viewer-Bp2Imd72.js.gz +0 -0
  44. package/package.json +1 -1
  45. package/dist/dist-5FcjzIkV.js.br +0 -0
  46. package/dist/dist-5FcjzIkV.js.gz +0 -0
  47. package/dist/dist-Cm_BQgBe.cjs.br +0 -0
  48. package/dist/dist-Cm_BQgBe.cjs.gz +0 -0
  49. package/dist/gif-encoder-BZra4crt.cjs +0 -2
  50. package/dist/gif-encoder-BZra4crt.cjs.br +0 -0
  51. package/dist/gif-encoder-BZra4crt.cjs.gz +0 -0
  52. package/dist/gif-encoder-DhAWBkxt.js +0 -2
  53. package/dist/gif-encoder-DhAWBkxt.js.br +0 -0
  54. package/dist/gif-encoder-DhAWBkxt.js.gz +0 -0
  55. package/dist/useViewerSettingsDialog-BdPOup9Q.js.br +0 -0
  56. package/dist/useViewerSettingsDialog-BdPOup9Q.js.gz +0 -0
  57. package/dist/useViewerSettingsDialog-D5oP7tps.cjs.br +0 -0
  58. package/dist/useViewerSettingsDialog-D5oP7tps.cjs.gz +0 -0
  59. package/dist/viewer-B3tFbH1y.js.br +0 -0
  60. package/dist/viewer-B3tFbH1y.js.gz +0 -0
  61. package/dist/viewer-Bl5YfWO0.cjs.br +0 -0
  62. package/dist/viewer-Bl5YfWO0.cjs.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -4,6 +4,8 @@ All notable changes to this project are documented here.
4
4
  This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
5
5
  by [git-cliff](https://git-cliff.org); do not edit it by hand.
6
6
 
7
+ ## [1.24.2](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.2) - 2026-07-19
8
+
7
9
  ## [1.24.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.1) - 2026-07-18
8
10
 
9
11
  ## [1.24.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.24.0) - 2026-07-18
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-D5oP7tps.cjs");
2
+ const e = require("./useViewerSettingsDialog-Dk1xF6cg.cjs");
3
3
  let t = require("vue");
4
4
  function s(e) {
5
5
  const t = /* @__PURE__ */ new Set(), s = [];
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- import { $ as a, $t as s, A as t, At as e, B as n, Bt as u, Ct as l, D as i, Dt as c, E as o, Ei as r, Et as v, F as f, G as d, Gt as g, H as h, Ht as m, I as p, J as w, Jt as y, K as E, Kt as S, L as j, M as D, Mt as M, N as V, Nt as W, O as k, Ot as q, P as x, Pr as z, Q as A, R as B, St as G, T as H, Tt as I, U as J, Ut as K, V as N, Vt as O, W as P, Wa as T, Wt as U, X, Xt as Y, Y as Z, Yt as $, Z as _, Zt as b, _ as C, _t as F, a as L, an as Q, at as R, bt as aa, c as sa, ci as ta, cn as ea, ct as na, d as ua, dt as la, er as ia, et as ca, f as oa, fr as ra, ft as va, g as fa, gt as da, h as ga, hn as ha, ht as ma, i as pa, in as wa, it as ya, j as Ea, jt as Sa, k as ja, kt as Da, l as Ma, ln as Va, m as Wa, mt as ka, n as qa, nn as xa, nt as za, o as Aa, on as Ba, ot as Ga, p as Ha, pt as Ia, q as Ja, qt as Ka, r as Na, rn as Oa, rt as Pa, s as Ta, sn as Ua, st as Xa, t as Ya, tr as Za, tt as $a, u as _a, v as ba, vt as Ca, w as Fa, wt as La, xt as Qa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-BdPOup9Q.js";
1
+ import { $ as a, $t as s, A as t, At as e, B as n, Bt as u, Ct as l, D as i, Dt as c, E as o, Ei as r, Et as v, F as f, G as d, Gt as g, H as h, Ht as m, I as p, J as w, Jt as y, K as E, Kt as S, L as j, M as D, Mt as M, N as V, Nt as W, O as k, Ot as q, P as x, Pr as z, Q as A, R as B, St as G, T as H, Tt as I, U as J, Ut as K, V as N, Vt as O, W as P, Wa as T, Wt as U, X, Xt as Y, Y as Z, Yt as $, Z as _, Zt as b, _ as C, _t as F, a as L, an as Q, at as R, bt as aa, c as sa, ci as ta, cn as ea, ct as na, d as ua, dt as la, er as ia, et as ca, f as oa, fr as ra, ft as va, g as fa, gt as da, h as ga, hn as ha, ht as ma, i as pa, in as wa, it as ya, j as Ea, jt as Sa, k as ja, kt as Da, l as Ma, ln as Va, m as Wa, mt as ka, n as qa, nn as xa, nt as za, o as Aa, on as Ba, ot as Ga, p as Ha, pt as Ia, q as Ja, qt as Ka, r as Na, rn as Oa, rt as Pa, s as Ta, sn as Ua, st as Xa, t as Ya, tr as Za, tt as $a, u as _a, v as ba, vt as Ca, w as Fa, wt as La, xt as Qa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-BVSc0Rlh.js";
2
2
  import { computed as es, readonly as ns, ref as us } from "vue";
3
3
  function ls(a = []) {
4
4
  const s = us(is(a)), t = es(() => 0 === s.value.length);
Binary file
Binary file
@@ -29592,7 +29592,7 @@ function Id(e) {
29592
29592
  }
29593
29593
  function Md(e) {
29594
29594
  const t = [];
29595
- return e.flipHorizontal && t.push("scaleX(-1)"), e.flipVertical && t.push("scaleY(-1)"), e.rotation && t.push(`rotate(${e.rotation}deg)`), t.length > 0 ? t.join(" ") : void 0;
29595
+ return e.rotation && t.push(`rotate(${e.rotation}deg)`), e.flipHorizontal && t.push("scaleX(-1)"), e.flipVertical && t.push("scaleY(-1)"), t.length > 0 ? t.join(" ") : void 0;
29596
29596
  }
29597
29597
  function Fd(e) {
29598
29598
  const t = [];
@@ -51776,10 +51776,12 @@ var RF = class e extends FF {
51776
51776
  pointsToPixels(e) {
51777
51777
  return e * (96 / 72);
51778
51778
  }
51779
- parseParagraphSpacingPx(e) {
51779
+ parseParagraphSpacingPx(e, t) {
51780
51780
  if (!e) return;
51781
- const t = Number.parseInt(String(e["a:spcPts"]?.["@_val"] || ""), 10);
51782
- return Number.isFinite(t) ? this.pointsToPixels(t / 100) : void 0;
51781
+ const r = Number.parseInt(String(e["a:spcPts"]?.["@_val"] || ""), 10);
51782
+ if (Number.isFinite(r)) return this.pointsToPixels(r / 100);
51783
+ const n = Number.parseInt(String(e["a:spcPct"]?.["@_val"] || ""), 10);
51784
+ return Number.isFinite(n) && "number" == typeof t && t > 0 ? n / 1e5 * t : void 0;
51783
51785
  }
51784
51786
  parseLineSpacingMultiplier(e) {
51785
51787
  if (!e) return;
@@ -51795,79 +51797,76 @@ var RF = class e extends FF {
51795
51797
  void 0 === e.fontFamily && void 0 !== t.fontFamily && (e.fontFamily = t.fontFamily), void 0 === e.fontSize && void 0 !== t.fontSize && (e.fontSize = t.fontSize), void 0 === e.bold && void 0 !== t.bold && (e.bold = t.bold), void 0 === e.italic && void 0 !== t.italic && (e.italic = t.italic), void 0 === e.color && void 0 !== t.color && (e.color = t.color), void 0 === e.paragraphMarginLeft && void 0 !== t.marginLeft && (e.paragraphMarginLeft = t.marginLeft), void 0 === e.paragraphIndent && void 0 !== t.indent && (e.paragraphIndent = t.indent), void 0 === e.lineSpacing && void 0 === e.lineSpacingExactPt && (void 0 !== t.lineSpacing ? e.lineSpacing = t.lineSpacing : void 0 !== t.lineSpacingExactPt && (e.lineSpacingExactPt = t.lineSpacingExactPt)), void 0 === e.paragraphSpacingBefore && void 0 !== t.spaceBefore && (e.paragraphSpacingBefore = t.spaceBefore), void 0 === e.paragraphSpacingAfter && void 0 !== t.spaceAfter && (e.paragraphSpacingAfter = t.spaceAfter), void 0 === e.align && void 0 !== t.alignment && (e.align = t.alignment);
51796
51798
  }
51797
51799
  }, jF = class extends $F {
51798
- resolveParagraphBulletInfo(e, t, r, n, i = !1, a) {
51800
+ resolveParagraphBulletInfo(e, t, r, n, i = !1, a, o) {
51799
51801
  if (!e) return null;
51800
- const o = e["a:pPr"];
51801
- if (Iu(o, "a:buNone")) return { none: !0 };
51802
- const s = Number.parseInt(String(o?.["@_lvl"] || "0"), 10), l = Number.isFinite(s) ? Math.min(Math.max(s + 1, 1), 9) : 1, c = `a:lvl${l}pPr`, d = Lu(Lu(n, "a:lstStyle"), c), p = [
51803
- o,
51804
- Lu(Lu(r, "a:lstStyle"), c),
51805
- d,
51802
+ const s = e["a:pPr"];
51803
+ if (Iu(s, "a:buNone")) return { none: !0 };
51804
+ const l = Number.parseInt(String(s?.["@_lvl"] || "0"), 10), c = Number.isFinite(l) ? Math.min(Math.max(l + 1, 1), 9) : 1, d = `a:lvl${c}pPr`, p = Lu(Lu(n, "a:lstStyle"), d), h = [
51805
+ s,
51806
+ Lu(Lu(r, "a:lstStyle"), d),
51807
+ p,
51806
51808
  Bu(r, "a:lstStyle", "a:defPPr"),
51807
51809
  Bu(n, "a:lstStyle", "a:defPPr")
51808
51810
  ];
51809
- let h;
51810
- for (const e of p) if (e) {
51811
+ let u;
51812
+ for (const e of h) if (e) {
51811
51813
  if (Iu(e, "a:buNone")) return { none: !0 };
51812
51814
  if (e["a:buChar"] || e["a:buAutoNum"] || e["a:buBlip"] || void 0 !== e["a:buFontTx"] || void 0 !== e["a:buClrTx"] || void 0 !== e["a:buSzTx"]) {
51813
- h = e;
51815
+ u = e;
51814
51816
  break;
51815
51817
  }
51816
51818
  }
51817
- if (!h) {
51818
- if (i) {
51819
- const e = this.presentationDefaultTextStyle?.levelStyles?.[l - 1] ?? this.presentationDefaultTextStyle?.levelStyles?.[-1];
51820
- return this.createBulletInfoFromLevelStyle(e, t);
51821
- }
51822
- return null;
51823
- }
51824
- const u = h["a:buFont"], m = u?.["@_typeface"] ? String(u["@_typeface"]) : void 0, g = void 0 !== h["a:buFontTx"], f = h["a:buSzPct"];
51825
- let y;
51826
- if (void 0 !== f?.["@_val"]) {
51827
- const e = Number.parseInt(String(f["@_val"]), 10);
51828
- Number.isFinite(e) && (y = e / 1e3);
51829
- }
51830
- const x = h["a:buSzPts"];
51831
- let b;
51832
- if (void 0 !== x?.["@_val"]) {
51833
- const e = Number.parseInt(String(x["@_val"]), 10);
51834
- Number.isFinite(e) && (b = e / 100);
51835
- }
51836
- const T = void 0 !== h["a:buSzTx"], S = h["a:buClr"];
51837
- let w, v;
51838
- S && (w = this.parseColor(S), v = xi(S));
51839
- const C = void 0 !== h["a:buClrTx"], _ = String(h["a:buChar"]?.["@_char"] || "");
51840
- if (_.length > 0) return {
51841
- char: _,
51842
- fontFamily: m,
51843
- sizePercent: y,
51844
- sizePts: b,
51845
- color: w,
51846
- ...v ? { colorXml: v } : {},
51847
- ...g ? { fontInherit: !0 } : {},
51848
- ...C ? { colorInherit: !0 } : {},
51849
- ...T ? { sizeInherit: !0 } : {}
51819
+ if (!u) {
51820
+ const e = o?.[c - 1] ?? o?.[-1] ?? (i ? this.presentationDefaultTextStyle?.levelStyles?.[c - 1] ?? this.presentationDefaultTextStyle?.levelStyles?.[-1] : void 0);
51821
+ return this.createBulletInfoFromLevelStyle(e, t);
51822
+ }
51823
+ const m = u["a:buFont"], g = m?.["@_typeface"] ? String(m["@_typeface"]) : void 0, f = void 0 !== u["a:buFontTx"], y = u["a:buSzPct"];
51824
+ let x;
51825
+ if (void 0 !== y?.["@_val"]) {
51826
+ const e = Number.parseInt(String(y["@_val"]), 10);
51827
+ Number.isFinite(e) && (x = e / 1e3);
51828
+ }
51829
+ const b = u["a:buSzPts"];
51830
+ let T;
51831
+ if (void 0 !== b?.["@_val"]) {
51832
+ const e = Number.parseInt(String(b["@_val"]), 10);
51833
+ Number.isFinite(e) && (T = e / 100);
51834
+ }
51835
+ const S = void 0 !== u["a:buSzTx"], w = u["a:buClr"];
51836
+ let v, C;
51837
+ w && (v = this.parseColor(w), C = xi(w));
51838
+ const _ = void 0 !== u["a:buClrTx"], k = String(u["a:buChar"]?.["@_char"] || "");
51839
+ if (k.length > 0) return {
51840
+ char: k,
51841
+ fontFamily: g,
51842
+ sizePercent: x,
51843
+ sizePts: T,
51844
+ color: v,
51845
+ ...C ? { colorXml: C } : {},
51846
+ ...f ? { fontInherit: !0 } : {},
51847
+ ..._ ? { colorInherit: !0 } : {},
51848
+ ...S ? { sizeInherit: !0 } : {}
51850
51849
  };
51851
- const k = h["a:buAutoNum"];
51852
- if (k) {
51853
- const e = k["@_type"] ? String(k["@_type"]) : void 0, r = Number.parseInt(String(k["@_startAt"] || "1"), 10);
51850
+ const P = u["a:buAutoNum"];
51851
+ if (P) {
51852
+ const e = P["@_type"] ? String(P["@_type"]) : void 0, r = Number.parseInt(String(P["@_startAt"] || "1"), 10);
51854
51853
  return {
51855
51854
  autoNumType: e,
51856
51855
  autoNumStartAt: Number.isFinite(r) ? r : 1,
51857
51856
  paragraphIndex: t,
51858
- fontFamily: m,
51859
- sizePercent: y,
51860
- sizePts: b,
51861
- color: w,
51862
- ...v ? { colorXml: v } : {},
51863
- ...g ? { fontInherit: !0 } : {},
51864
- ...C ? { colorInherit: !0 } : {},
51865
- ...T ? { sizeInherit: !0 } : {}
51857
+ fontFamily: g,
51858
+ sizePercent: x,
51859
+ sizePts: T,
51860
+ color: v,
51861
+ ...C ? { colorXml: C } : {},
51862
+ ...f ? { fontInherit: !0 } : {},
51863
+ ..._ ? { colorInherit: !0 } : {},
51864
+ ...S ? { sizeInherit: !0 } : {}
51866
51865
  };
51867
51866
  }
51868
- const P = h["a:buBlip"];
51869
- if (P) {
51870
- const e = P["a:blip"], t = e?.["@_r:embed"] ? String(e["@_r:embed"]) : void 0, r = { ...P };
51867
+ const L = u["a:buBlip"];
51868
+ if (L) {
51869
+ const e = L["a:blip"], t = e?.["@_r:embed"] ? String(e["@_r:embed"]) : void 0, r = { ...L };
51871
51870
  if (t && a) {
51872
51871
  const n = this.slideRelsMap.get(a)?.get(t);
51873
51872
  let i;
@@ -51880,20 +51879,20 @@ var RF = class e extends FF {
51880
51879
  imageRelId: t,
51881
51880
  imageDataUrl: i,
51882
51881
  imageBlipFillXml: r,
51883
- fontFamily: m,
51884
- sizePercent: y,
51885
- sizePts: b,
51886
- color: w,
51887
- ...v ? { colorXml: v } : {}
51882
+ fontFamily: g,
51883
+ sizePercent: x,
51884
+ sizePts: T,
51885
+ color: v,
51886
+ ...C ? { colorXml: C } : {}
51888
51887
  };
51889
51888
  }
51890
51889
  return {
51891
51890
  imageBlipFillXml: r,
51892
- fontFamily: m,
51893
- sizePercent: y,
51894
- sizePts: b,
51895
- color: w,
51896
- ...v ? { colorXml: v } : {}
51891
+ fontFamily: g,
51892
+ sizePercent: x,
51893
+ sizePts: T,
51894
+ color: v,
51895
+ ...C ? { colorXml: C } : {}
51897
51896
  };
51898
51897
  }
51899
51898
  return null;
@@ -52101,12 +52100,13 @@ var RF = class e extends FF {
52101
52100
  dist: "dist",
52102
52101
  thaiDist: "thaiDist"
52103
52102
  }[a["@_algn"]] || "left", r.align || (r.align = s);
52103
+ const l = "number" == typeof r.fontSize ? r.fontSize : void 0;
52104
52104
  if (void 0 === r.paragraphSpacingBefore) {
52105
- const e = this.parseParagraphSpacingPx(a?.["a:spcBef"]);
52105
+ const e = this.parseParagraphSpacingPx(a?.["a:spcBef"], l);
52106
52106
  void 0 !== e && (r.paragraphSpacingBefore = e);
52107
52107
  }
52108
52108
  if (void 0 === r.paragraphSpacingAfter) {
52109
- const e = this.parseParagraphSpacingPx(a?.["a:spcAft"]);
52109
+ const e = this.parseParagraphSpacingPx(a?.["a:spcAft"], l);
52110
52110
  void 0 !== e && (r.paragraphSpacingAfter = e);
52111
52111
  }
52112
52112
  if (void 0 === r.lineSpacing && void 0 === r.lineSpacingExactPt) {
@@ -52163,29 +52163,29 @@ var RF = class e extends FF {
52163
52163
  const e = this.parseOptionalBooleanAttr(a["@_hangingPunct"]);
52164
52164
  void 0 !== e && (r.hangingPunctuation = e);
52165
52165
  }
52166
- const l = this.extractTextRunStyle(a?.["a:defRPr"], s, n.slideRelationshipMap, !1), c = void 0 === a?.["@_lvl"] ? -1 : Number.parseInt(String(a["@_lvl"]), 10), d = -1 === c ? "a:defPPr" : `a:lvl${Number.isFinite(c) ? Math.min(Math.max(c + 1, 1), 9) : 1}pPr`, p = this.extractTextRunStyle(n.inheritedTxBody?.["a:lstStyle"]?.[d]?.["a:defRPr"], s, n.slideRelationshipMap, !1), h = this.extractTextRunStyle(n.txBody?.["a:lstStyle"]?.[d]?.["a:defRPr"], s, n.slideRelationshipMap, !1), u = this.extractTextRunStyle(t?.["a:endParaRPr"], s, n.slideRelationshipMap, !1), m = {
52166
+ const c = this.extractTextRunStyle(a?.["a:defRPr"], s, n.slideRelationshipMap, !1), d = void 0 === a?.["@_lvl"] ? -1 : Number.parseInt(String(a["@_lvl"]), 10), p = -1 === d ? "a:defPPr" : `a:lvl${Number.isFinite(d) ? Math.min(Math.max(d + 1, 1), 9) : 1}pPr`, h = this.extractTextRunStyle(n.inheritedTxBody?.["a:lstStyle"]?.[p]?.["a:defRPr"], s, n.slideRelationshipMap, !1), u = this.extractTextRunStyle(n.txBody?.["a:lstStyle"]?.[p]?.["a:defRPr"], s, n.slideRelationshipMap, !1), m = this.extractTextRunStyle(t?.["a:endParaRPr"], s, n.slideRelationshipMap, !1), g = {
52167
52167
  ...n.bodyDefaultRunStyle,
52168
- ...p,
52169
52168
  ...h,
52170
52169
  ...u,
52171
- ...l
52170
+ ...m,
52171
+ ...c
52172
52172
  };
52173
52173
  if (n.effectiveLevelStyles) {
52174
- const e = -1 === c ? -1 : Number.isFinite(c) ? Math.min(Math.max(c, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
52175
- t && (this.applyPlaceholderLevelDefaults(m, t), this.applyPlaceholderLevelDefaults(r, t));
52174
+ const e = -1 === d ? -1 : Number.isFinite(d) ? Math.min(Math.max(d, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
52175
+ t && (this.applyPlaceholderLevelDefaults(g, t), this.applyPlaceholderLevelDefaults(r, t));
52176
52176
  }
52177
52177
  void 0 === a?.["@_algn"] && void 0 !== r.align && (s = r.align);
52178
- let g = void 0 !== a?.["@_marL"] ? Number.parseInt(String(a["@_marL"]), 10) / e.EMU_PER_PX : void 0, f = void 0 !== a?.["@_indent"] ? Number.parseInt(String(a["@_indent"]), 10) / e.EMU_PER_PX : void 0;
52178
+ let f = void 0 !== a?.["@_marL"] ? Number.parseInt(String(a["@_marL"]), 10) / e.EMU_PER_PX : void 0, y = void 0 !== a?.["@_indent"] ? Number.parseInt(String(a["@_indent"]), 10) / e.EMU_PER_PX : void 0;
52179
52179
  if (n.effectiveLevelStyles) {
52180
- const e = -1 === c ? -1 : Number.isFinite(c) ? Math.min(Math.max(c, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
52181
- t && (void 0 === g && void 0 !== t.marginLeft && (g = t.marginLeft), void 0 === f && void 0 !== t.indent && (f = t.indent));
52180
+ const e = -1 === d ? -1 : Number.isFinite(d) ? Math.min(Math.max(d, 0), 8) : 0, t = n.effectiveLevelStyles[e] ?? n.effectiveLevelStyles[-1] ?? (-1 === e ? n.effectiveLevelStyles[0] : void 0);
52181
+ t && (void 0 === f && void 0 !== t.marginLeft && (f = t.marginLeft), void 0 === y && void 0 !== t.indent && (y = t.indent));
52182
52182
  }
52183
52183
  return {
52184
52184
  paraAlign: s,
52185
- mergedDefaultRunStyle: m,
52185
+ mergedDefaultRunStyle: g,
52186
52186
  indent: {
52187
- marginLeft: g,
52188
- indent: f
52187
+ marginLeft: f,
52188
+ indent: y
52189
52189
  }
52190
52190
  };
52191
52191
  }
@@ -52195,7 +52195,7 @@ var RF = class e extends FF {
52195
52195
  let l;
52196
52196
  const c = (e) => {
52197
52197
  l || (l = { ...e });
52198
- }, d = "body" === a.placeholderInfo?.type || "obj" === a.placeholderInfo?.type, p = this.resolveParagraphBulletInfo(e, t, a.txBody, a.inheritedTxBody, d, a.slidePath);
52198
+ }, d = "body" === a.placeholderInfo?.type || "obj" === a.placeholderInfo?.type, p = this.resolveParagraphBulletInfo(e, t, a.txBody, a.inheritedTxBody, d, a.slidePath, a.effectiveLevelStyles);
52199
52199
  if (p && !p.none) {
52200
52200
  let e;
52201
52201
  if (p.char) e = `${p.char} `;
@@ -53001,16 +53001,20 @@ var QF = class e extends YF {
53001
53001
  resolveThemeColor(e) {
53002
53002
  const t = e.trim().toLowerCase();
53003
53003
  if (!t) return;
53004
+ const r = (e) => "folhlink" === e.toLowerCase() ? "folHlink" : e;
53004
53005
  if ("phclr" === t) return this.themeColorMap.phclr || this.themeColorMap.accent1 || this.getDefaultSchemeColorMap().accent1;
53005
- const r = this.currentSlideClrMapOverride ?? this.currentMasterClrMap;
53006
- if (r) {
53007
- const e = r[t];
53008
- if (e) return this.themeColorMap[e] || this.getDefaultSchemeColorMap()[e];
53006
+ const n = this.currentSlideClrMapOverride ?? this.currentMasterClrMap;
53007
+ if (n) {
53008
+ const e = n[r(t)];
53009
+ if (e) {
53010
+ const t = r(e);
53011
+ return this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
53012
+ }
53009
53013
  } else {
53010
53014
  const e = tD[t];
53011
- if (e) return this.themeColorMap[e] || this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
53015
+ if (e) return this.themeColorMap[e] || this.themeColorMap[r(t)] || this.getDefaultSchemeColorMap()[r(t)];
53012
53016
  }
53013
- return this.themeColorMap[t] || this.getDefaultSchemeColorMap()[t];
53017
+ return this.themeColorMap[r(t)] || this.getDefaultSchemeColorMap()[r(t)];
53014
53018
  }
53015
53019
  normalizeStrokeDashType(e) {
53016
53020
  const t = String(e ?? "").trim();
@@ -53452,42 +53456,42 @@ var QF = class e extends YF {
53452
53456
  void 0 !== e && (r.lineSpacingExactPt = e);
53453
53457
  }
53454
53458
  }
53455
- const s = this.parseParagraphSpacingPx(t["a:spcBef"]);
53456
- void 0 !== s && (r.spaceBefore = s);
53457
- const l = this.parseParagraphSpacingPx(t["a:spcAft"]);
53458
- void 0 !== l && (r.spaceAfter = l);
53459
- const c = t["a:buChar"];
53460
- c?.["@_char"] && (r.bulletChar = String(c["@_char"]));
53461
- const d = t["a:buAutoNum"];
53462
- d?.["@_type"] && (r.bulletAutoNumType = String(d["@_type"]));
53463
- const p = t["a:buFont"];
53464
- p?.["@_typeface"] && (r.bulletFontFamily = String(p["@_typeface"]));
53465
- const h = t["a:buSzPct"];
53466
- if (void 0 !== h?.["@_val"]) {
53467
- const e = Number.parseInt(String(h["@_val"]), 10);
53459
+ const s = Number.parseInt(String(t["a:defRPr"]?.["@_sz"] || ""), 10), l = Number.isFinite(s) ? this.pointsToPixels(s / 100) : void 0, c = this.parseParagraphSpacingPx(t["a:spcBef"], l);
53460
+ void 0 !== c && (r.spaceBefore = c);
53461
+ const d = this.parseParagraphSpacingPx(t["a:spcAft"], l);
53462
+ void 0 !== d && (r.spaceAfter = d);
53463
+ const p = t["a:buChar"];
53464
+ p?.["@_char"] && (r.bulletChar = String(p["@_char"]));
53465
+ const h = t["a:buAutoNum"];
53466
+ h?.["@_type"] && (r.bulletAutoNumType = String(h["@_type"]));
53467
+ const u = t["a:buFont"];
53468
+ u?.["@_typeface"] && (r.bulletFontFamily = String(u["@_typeface"]));
53469
+ const m = t["a:buSzPct"];
53470
+ if (void 0 !== m?.["@_val"]) {
53471
+ const e = Number.parseInt(String(m["@_val"]), 10);
53468
53472
  Number.isFinite(e) && (r.bulletSizePercent = e / 1e3);
53469
53473
  }
53470
- const u = t["a:buClr"];
53471
- if (u) {
53472
- const e = u["a:srgbClr"];
53474
+ const g = t["a:buClr"];
53475
+ if (g) {
53476
+ const e = g["a:srgbClr"];
53473
53477
  e?.["@_val"] && (r.bulletColor = String(e["@_val"]));
53474
53478
  }
53475
- const m = t["a:buSzPts"];
53476
- if (void 0 !== m?.["@_val"]) {
53477
- const e = Number.parseInt(String(m["@_val"]), 10);
53479
+ const f = t["a:buSzPts"];
53480
+ if (void 0 !== f?.["@_val"]) {
53481
+ const e = Number.parseInt(String(f["@_val"]), 10);
53478
53482
  Number.isFinite(e) && (r.bulletSizePts = e / 100);
53479
53483
  }
53480
53484
  Iu(t, "a:buNone") && (r.bulletNone = !0);
53481
- const g = t["a:defRPr"];
53482
- if (g) {
53483
- if (void 0 !== g["@_sz"]) {
53484
- const e = Number.parseInt(String(g["@_sz"]), 10);
53485
+ const y = t["a:defRPr"];
53486
+ if (y) {
53487
+ if (void 0 !== y["@_sz"]) {
53488
+ const e = Number.parseInt(String(y["@_sz"]), 10);
53485
53489
  Number.isFinite(e) && (r.fontSize = e / 100 * (96 / 72));
53486
53490
  }
53487
- void 0 !== g["@_b"] && (r.bold = "1" === g["@_b"]), void 0 !== g["@_i"] && (r.italic = "1" === g["@_i"]);
53488
- const e = this.parseColor(g["a:solidFill"]);
53491
+ void 0 !== y["@_b"] && (r.bold = "1" === y["@_b"]), void 0 !== y["@_i"] && (r.italic = "1" === y["@_i"]);
53492
+ const e = this.parseColor(y["a:solidFill"]);
53489
53493
  e && (r.color = e);
53490
- const t = g["a:latin"];
53494
+ const t = y["a:latin"];
53491
53495
  if (t?.["@_typeface"]) {
53492
53496
  const e = String(t["@_typeface"]);
53493
53497
  r.fontFamily = this.resolveThemeTypeface(e) ?? e;
Binary file
Binary file