@silurus/ooxml 0.89.4 → 0.89.6

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 (50) hide show
  1. package/dist/assets/{render-worker-CyUrUidp.js → render-worker-B5HWxkbU.js} +7 -7
  2. package/dist/assets/render-worker-Ba4LYMJd.js +15 -0
  3. package/dist/assets/{render-worker-Bye3wDV9.js → render-worker-DkqinUC6.js} +28 -28
  4. package/dist/{bounded-raw-part-cache-Bi_VqXmg.js → bounded-raw-part-cache-B8t03tSP.js} +740 -731
  5. package/dist/{canvas-viewer-mechanics-ycCX6v-z.js → canvas-viewer-mechanics-DI38gHNV.js} +1 -1
  6. package/dist/{comment-overlay-controller-CR5ySvki.js → comment-overlay-controller-Crm5Syhx.js} +2 -2
  7. package/dist/{comment-ui-runtime-CwTOCwA8.js → comment-ui-runtime-BfEPgl5r.js} +2 -2
  8. package/dist/{comment-ui-runtime-BWhLz4gq.js → comment-ui-runtime-hfewTmVJ.js} +3 -3
  9. package/dist/{document-model-source-Csow9uxO.js → document-model-source-BUTSwkyP.js} +6 -6
  10. package/dist/{document-pull-client-CHpz0Q1p.js → document-pull-client-C_D779tO.js} +60 -58
  11. package/dist/{document-pull-worker-1ZJv9f9W.js → document-pull-worker-Bkewz-So.js} +2 -2
  12. package/dist/{docx-D9E0vCq-.js → docx-BC2HQtjg.js} +9 -9
  13. package/dist/{docx-GXxH0AwW.js → docx-BfLZeiwa.js} +16 -16
  14. package/dist/{docx-model-source-aKx2gZH9.js → docx-model-source-IjrOZgnl.js} +6 -6
  15. package/dist/docx.mjs +3 -3
  16. package/dist/docx_parser_bg.wasm +0 -0
  17. package/dist/{drawingml-shape-BwELUfNW.js → drawingml-shape-BcXkRayC.js} +1 -1
  18. package/dist/{font-preload-demand-BuMy4iJ1.js → font-preload-demand-B6HPFxDp.js} +1 -1
  19. package/dist/{host-layout-measure-GU0oJ4Me.js → host-layout-measure-DJvccDI3.js} +1 -1
  20. package/dist/index.mjs +3 -3
  21. package/dist/internal-companion.mjs +2 -2
  22. package/dist/{line-distribute-C_CJisnJ.js → line-distribute-DR9Qwd3u.js} +1 -1
  23. package/dist/{model-source-DLXFe4_2.js → model-source-DcI3vC00.js} +1 -1
  24. package/dist/{model-source-session-B3WVQCM5.js → model-source-session-BCteVilS.js} +2 -2
  25. package/dist/{model-source-session-BVZBHZ04.js → model-source-session-BlQWNyj2.js} +2 -2
  26. package/dist/{model-source-session-DfUgVpr1.js → model-source-session-D0LF49Ve.js} +2 -2
  27. package/dist/node.mjs +4 -4
  28. package/dist/{pptx-CLyebeF_.js → pptx-CfCiVlNB.js} +15 -15
  29. package/dist/{pptx-BD0jwWs6.js → pptx-SmjDGyub.js} +8 -8
  30. package/dist/{pptx-model-source-D_2mnSxI.js → pptx-model-source-B2Irk68a.js} +5 -5
  31. package/dist/pptx.mjs +4 -4
  32. package/dist/{presentation-model-source-rWZ3Y-S_.js → presentation-model-source-DL6duh5l.js} +5 -5
  33. package/dist/{render-Cs1bgbEm.js → render-CMUEAeHp.js} +2 -2
  34. package/dist/{render-worker-host-BR7n4xKy.js → render-worker-host-CtlBbau5.js} +1 -1
  35. package/dist/{render-worker-host-BxsA-yJo.js → render-worker-host-D_0g-TQ2.js} +1 -1
  36. package/dist/{render-worker-host-CZC0WOn8.js → render-worker-host-DjBotZNL.js} +1 -1
  37. package/dist/{renderer-DFDF48zw.js → renderer-IFuBkPvF.js} +848 -773
  38. package/dist/{resource-measurement-CTGrNAsD.js → resource-measurement-D2bu0Qfx.js} +1 -1
  39. package/dist/{session-B5CgMc2N.js → session-KIWcCCP2.js} +4 -4
  40. package/dist/{slide-pull-client-43mS9T70.js → slide-pull-client-BUuJQQVE.js} +48 -48
  41. package/dist/{wasm-runtime-generation-BsWKRY7U.js → wasm-runtime-generation-BLweKv8r.js} +1 -1
  42. package/dist/{workbook-model-source-CZtKSWad.js → workbook-model-source-DBfVsWj7.js} +6 -6
  43. package/dist/{worksheet-pull-client-D5zAevQv.js → worksheet-pull-client-Du0MuIro.js} +2 -2
  44. package/dist/{xlsx-lvftmF1U.js → xlsx-CCMRAxPB.js} +431 -426
  45. package/dist/{xlsx-S6orTmKI.js → xlsx-CD1VeDIg.js} +4 -4
  46. package/dist/{xlsx-model-source-Cm9ocDgT.js → xlsx-model-source-udh7Q4WB.js} +6 -6
  47. package/dist/xlsx.mjs +4 -4
  48. package/dist/xlsx_parser_bg.wasm +0 -0
  49. package/package.json +1 -1
  50. package/dist/assets/render-worker-BUa1gyCE.js +0 -15
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./chunk-D5OxutzX.js";
2
2
  import { _o as t, ja as n, vo as r, yo as i } from "./plot-area-frame-D3JtHvov.js";
3
3
  import { n as a, t as o } from "./cfb-guard-BIaHdonq.js";
4
- import { Dn as s, En as c, H as l, M as u, N as d, On as f, V as p, Xt as m, Y as h, Yt as g, hn as _, ht as v, j as y, qt as b, st as x, t as S, u as C, ut as ee } from "./bounded-raw-part-cache-Bi_VqXmg.js";
5
- import { A as te, C as w, D as ne, E as T, M as re, N as ie, P as E, S as ae, T as D, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as pe, i as me, j as he, k as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./comment-overlay-controller-CR5ySvki.js";
6
- import { A as ke, B as Ae, C as je, D as O, E as Me, F as Ne, I as Pe, L as k, M as Fe, N as A, O as Ie, P as Le, R as Re, S as ze, T as Be, V as j, _ as Ve, a as He, b as Ue, c as We, f as Ge, h as Ke, j as M, k as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, y as N, z as at } from "./document-pull-client-CHpz0Q1p.js";
4
+ import { Dn as s, En as c, H as l, M as u, N as d, On as f, V as p, Xt as m, Y as h, Yt as g, hn as _, j as v, lt as y, mt as b, ot as x, qt as S, t as ee, u as C } from "./bounded-raw-part-cache-B8t03tSP.js";
5
+ import { A as te, C as w, D as ne, E as T, M as re, N as ie, P as E, S as ae, T as D, _ as oe, a as se, b as ce, c as le, d as ue, f as de, g as fe, h as pe, i as me, j as he, k as ge, l as _e, m as ve, n as ye, o as be, p as xe, r as Se, t as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "./comment-overlay-controller-Crm5Syhx.js";
6
+ import { A as ke, B as Ae, C as je, D as O, E as Me, F as Ne, I as Pe, L as k, M as Fe, N as A, O as Ie, P as Le, R as Re, S as ze, T as Be, V as j, _ as Ve, a as He, b as Ue, c as We, f as Ge, h as Ke, j as M, k as qe, l as Je, m as Ye, n as Xe, o as Ze, p as Qe, s as $e, t as et, u as tt, v as nt, w as rt, x as it, y as N, z as at } from "./document-pull-client-C_D779tO.js";
7
7
  import { f as ot, u as st } from "./pixel-budget-DI82Hn3R.js";
8
8
  import { i as ct, t as lt } from "./tiff-contract-DEd8CGuz.js";
9
- import { D as ut, E as dt, T as ft, a as pt, b as mt, c as ht, d as gt, f as _t, i as vt, l as yt, n as bt, o as xt, p as St, r as Ct, s as wt, t as Tt, u as Et, v as Dt, w as Ot, x as kt, y as At } from "./canvas-viewer-mechanics-ycCX6v-z.js";
9
+ import { D as ut, E as dt, T as ft, a as pt, b as mt, c as ht, d as gt, f as _t, i as vt, l as yt, n as bt, o as xt, p as St, r as Ct, s as wt, t as Tt, u as Et, v as Dt, w as Ot, x as kt, y as At } from "./canvas-viewer-mechanics-DI38gHNV.js";
10
10
  import { n as jt } from "./renderer-module-contract-BuTx2FWJ.js";
11
11
  var P = (e) => (e.charCodeAt(0) << 24 >>> 0 | e.charCodeAt(1) << 16 | e.charCodeAt(2) << 8 | e.charCodeAt(3)) >>> 0, Mt = P("ttcf"), Nt = P("OTTO"), Pt = P("true"), Ft = P("typ1"), It = P("head"), Lt = P("hhea"), Rt = P("OS/2"), zt = P("cmap"), Bt = P("fvar"), F = [
12
12
  [4352, 4607],
@@ -1309,7 +1309,7 @@ var Q = class e {
1309
1309
  _tiff;
1310
1310
  _worker;
1311
1311
  _bridge;
1312
- _rawParts = new S({
1312
+ _rawParts = new ee({
1313
1313
  maxEntries: 64,
1314
1314
  maxBytes: _
1315
1315
  });
@@ -1344,11 +1344,11 @@ var Q = class e {
1344
1344
  if (i?.aborted) throw new N();
1345
1345
  };
1346
1346
  if (l(), n.legacyDoc !== void 0) {
1347
- let { loadDocxModelSource: e } = await import("./document-model-source-Csow9uxO.js"), a = await e(t, n, r);
1347
+ let { loadDocxModelSource: e } = await import("./document-model-source-BUTSwkyP.js"), a = await e(t, n, r);
1348
1348
  if (i?.aborted) throw a.destroy(), new N();
1349
1349
  return a;
1350
1350
  }
1351
- let u = b(n.cjkFallback), p = d(n), h = Date.now(), g = n.mode ?? "main", _ = new y({
1351
+ let u = S(n.cjkFallback), p = d(n), h = Date.now(), g = n.mode ?? "main", _ = new v({
1352
1352
  enabled: !0,
1353
1353
  format: "docx",
1354
1354
  mode: g,
@@ -1365,11 +1365,11 @@ var Q = class e {
1365
1365
  d = await e.arrayBuffer();
1366
1366
  } else d = t;
1367
1367
  l(), d = a(await o(d, n.password)), l(), _.setSourceBytes(d.byteLength), _.checkpoint("container ready");
1368
- let v = g === "worker" ? (await import("./render-worker-host-BxsA-yJo.js")).createRenderWorker() : new fn(), y = g === "worker" ? jt(n) : void 0, b = g === "worker" && !!n.progressiveLayout, x, S = !1, C = () => {
1368
+ let v = g === "worker" ? (await import("./render-worker-host-DjBotZNL.js")).createRenderWorker() : new fn(), y = g === "worker" ? jt(n) : void 0, b = g === "worker" && !!n.progressiveLayout, x, S = !1, ee = () => {
1369
1369
  S || !x || (S = !0, x.destroy());
1370
1370
  };
1371
1371
  try {
1372
- x = new e(v, g, h, n.wasmUrl), i?.addEventListener("abort", C, { once: !0 }), l(), x._metrics = _, x._cjkFallback = u, x._allowFootnoteContinuation = n.allowFootnoteContinuation !== !1;
1372
+ x = new e(v, g, h, n.wasmUrl), i?.addEventListener("abort", ee, { once: !0 }), l(), x._metrics = _, x._cjkFallback = u, x._allowFootnoteContinuation = n.allowFootnoteContinuation !== !1;
1373
1373
  let t = A(x), a = M(n.currentDate, t.defaultCurrentDateMs, n.showTrackedChanges === !0);
1374
1374
  t.activeLayoutOptions = a, await x._parse(d, p.policy, g === "worker" ? !!n.useGoogleFonts : !1, n.workerTimeoutMs, (e) => _.observeUsage(e), y, b ? {
1375
1375
  onPartial: n.onLayoutPartial,
@@ -1381,10 +1381,10 @@ var Q = class e {
1381
1381
  published: !1,
1382
1382
  settled: !1
1383
1383
  } : void 0), l(), g === "worker" && x._mode === "main" && (_.setMode("main"), console.warn(mn(x._mainThreadFallbackReason))), n.math && x._mode === "worker" && !y?.math && console.warn("[ooxml] a custom math renderer cannot cross the worker boundary; equations will be skipped in mode: 'worker'. Use the math renderer from @silurus/ooxml/math."), n.threeD && x._mode === "worker" && !y?.threeD && console.warn("[ooxml] a custom 3-D chart renderer cannot cross the worker boundary; charts use their 2-D family fallback in mode: 'worker'. Use the renderer from @silurus/ooxml/three-d."), x._threeD = x._mode === "worker" ? void 0 : n.threeD, n.regionMap && x._mode === "worker" && !y?.regionMap && console.warn("[ooxml] a custom Region Map renderer cannot cross the worker boundary; geospatial charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/region-map."), x._regionMap = x._mode === "worker" ? void 0 : n.regionMap, n.chartEx && x._mode === "worker" && !y?.chartEx && console.warn("[ooxml] a custom ChartEx renderer cannot cross the worker boundary; ChartEx charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/chart-ex."), x._chartEx = x._mode === "worker" ? void 0 : n.chartEx, n.tiff && x._mode === "worker" && !y?.tiff && console.warn("[ooxml] a custom TIFF codec cannot cross the worker boundary; recognized TIFF images will use an unavailable-image placeholder in mode: 'worker'. Use the codec from @silurus/ooxml/tiff to display them."), x._tiff = x._mode === "worker" ? void 0 : n.tiff;
1384
- let o, S, ee = x, te = x._mode === "main" && x._document && x._source ? Ke(tt(x._source, x._document, {
1384
+ let o, S, C = x, te = x._mode === "main" && x._document && x._source ? Ke(tt(x._source, x._document, {
1385
1385
  useGoogleFonts: !!n.useGoogleFonts,
1386
1386
  cjkFallback: u
1387
- }), !0).then((e) => ee._nativeRouteFacesReleased ? (m(e.faces), null) : (ee._nativeRouteFaces.push(...e.faces), e), () => null) : null;
1387
+ }), !0).then((e) => C._nativeRouteFacesReleased ? (m(e.faces), null) : (C._nativeRouteFaces.push(...e.faces), e), () => null) : null;
1388
1388
  if (x._mode === "main" && x._document?.embeddedFonts?.length) {
1389
1389
  let e = x, t = await xn(x._document, (t) => e.getFontBytes(t));
1390
1390
  if (i?.aborted) throw E(t.faces), new N();
@@ -1516,9 +1516,9 @@ var Q = class e {
1516
1516
  }
1517
1517
  return l(), await x._resourceUsage(n.workerTimeoutMs ?? 1e3).then((e) => _.observeUsage(e), () => void 0), _.checkpoint("model and layout ready"), l(), _.succeed({ pages: x.pageCount }), x;
1518
1518
  } catch (e) {
1519
- throw ft(v, x ? C : void 0), e;
1519
+ throw ft(v, x ? ee : void 0), e;
1520
1520
  } finally {
1521
- i?.removeEventListener("abort", C);
1521
+ i?.removeEventListener("abort", ee);
1522
1522
  }
1523
1523
  } catch (e) {
1524
1524
  throw _.fail(e), e;
@@ -1735,7 +1735,7 @@ var Q = class e {
1735
1735
  }), this._rearmParseWatchdog(), await o.firstPublication.promise;
1736
1736
  }
1737
1737
  destroy() {
1738
- this._layoutAbort?.abort(), this._layoutAbort = null, this._clearParseWatchdog(), this._parseRequestId = null, this._progressive = null, this._layoutViewGeneration++, this._bridge.terminate(), this._document = null, this._source = null, this._meta = null, this._review = Sr, A(this).services = null, this._bookmarkPages = null, this._commentAnchorRanges = null, this._revisionAnchorRanges = null, this._reviewProjectionIndex = null, this._rawParts.clear(), this._embeddedFontFaces.length > 0 && (E(this._embeddedFontFaces), this._embeddedFontFaces = []), this._officeFontFaces.length > 0 && (m(this._officeFontFaces), this._officeFontFaces = []), this._nativeRouteFacesReleased = !0, this._nativeRouteFaces?.length > 0 && (m(this._nativeRouteFaces), this._nativeRouteFaces = []), this._googleFontFaces.length > 0 && (f(this._googleFontFaces), this._googleFontFaces = []), ee(this._fetchImage), x(this._fetchImage);
1738
+ this._layoutAbort?.abort(), this._layoutAbort = null, this._clearParseWatchdog(), this._parseRequestId = null, this._progressive = null, this._layoutViewGeneration++, this._bridge.terminate(), this._document = null, this._source = null, this._meta = null, this._review = Sr, A(this).services = null, this._bookmarkPages = null, this._commentAnchorRanges = null, this._revisionAnchorRanges = null, this._reviewProjectionIndex = null, this._rawParts.clear(), this._embeddedFontFaces.length > 0 && (E(this._embeddedFontFaces), this._embeddedFontFaces = []), this._officeFontFaces.length > 0 && (m(this._officeFontFaces), this._officeFontFaces = []), this._nativeRouteFacesReleased = !0, this._nativeRouteFaces?.length > 0 && (m(this._nativeRouteFaces), this._nativeRouteFaces = []), this._googleFontFaces.length > 0 && (f(this._googleFontFaces), this._googleFontFaces = []), y(this._fetchImage), x(this._fetchImage);
1739
1739
  }
1740
1740
  async getImage(e, t) {
1741
1741
  return this._rawParts.get(e, t, () => this._bridge.request((t) => ({
@@ -1938,7 +1938,7 @@ var Q = class e {
1938
1938
  try {
1939
1939
  if (L(this, r.diagnostics), n) for (let e of r.runs) n(e);
1940
1940
  } catch (e) {
1941
- throw v(r.bitmap), e;
1941
+ throw b(r.bitmap), e;
1942
1942
  }
1943
1943
  return r.bitmap;
1944
1944
  }
@@ -2760,7 +2760,7 @@ var Mr = Symbol("DocxViewer.borrowedDocument"), Nr = class e {
2760
2760
  }
2761
2761
  }, Ir = 12, Lr = 13, Rr = Symbol("DocxScrollViewer.borrowedDocument"), zr;
2762
2762
  function Br() {
2763
- return zr ??= import("./comment-ui-runtime-BWhLz4gq.js");
2763
+ return zr ??= import("./comment-ui-runtime-hfewTmVJ.js");
2764
2764
  }
2765
2765
  var Vr = class e {
2766
2766
  _pendingLoadAbort = null;
@@ -1,9 +1,9 @@
1
- import { H as e, U as t, qt as n } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
- import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-CHpz0Q1p.js";
1
+ import { H as e, U as t, qt as n } from "./bounded-raw-part-cache-B8t03tSP.js";
2
+ import { a as r, g as i, i as a, j as o, l as s, r as c } from "./document-pull-client-C_D779tO.js";
3
3
  import { r as l } from "./wasm-loader-KAOyLXzf.js";
4
- import { r as u } from "./document-pull-worker-1ZJv9f9W.js";
5
- import { i as d, t as f } from "./docx-D9E0vCq-.js";
6
- import { t as p } from "./model-source-DLXFe4_2.js";
4
+ import { r as u } from "./document-pull-worker-Bkewz-So.js";
5
+ import { i as d, t as f } from "./docx-BC2HQtjg.js";
6
+ import { t as p } from "./model-source-DcI3vC00.js";
7
7
  var m = class extends f {
8
8
  constructor(...e) {
9
9
  super(...e);
@@ -67,7 +67,7 @@ function _(e) {
67
67
  return t;
68
68
  }
69
69
  async function v(e, n, r, i) {
70
- let { acquireDocxSessionFromArchive: a, validateDocxModelSourceArchive: o, validateDocxModelSourceViewDefaults: s } = await import("./model-source-session-B3WVQCM5.js"), c = await p(e, "docx", {
70
+ let { acquireDocxSessionFromArchive: a, validateDocxModelSourceArchive: o, validateDocxModelSourceViewDefaults: s } = await import("./model-source-session-BCteVilS.js"), c = await p(e, "docx", {
71
71
  ...n,
72
72
  source: n.legacyDoc
73
73
  }, o, (e) => t(e) ?? u(e));
package/dist/docx.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { vo as e, yo as t } from "./plot-area-frame-D3JtHvov.js";
2
- import { u as n } from "./bounded-raw-part-cache-Bi_VqXmg.js";
3
- import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-GXxH0AwW.js";
2
+ import { u as n } from "./bounded-raw-part-cache-B8t03tSP.js";
3
+ import { a as r, c as i, d as a, f as o, i as s, n as c, o as l, p as u, r as d, s as f } from "./docx-BfLZeiwa.js";
4
4
  import { f as p, u as m } from "./pixel-budget-DI82Hn3R.js";
5
5
  import { i as h, t as g } from "./tiff-contract-DEd8CGuz.js";
6
- import { D as _ } from "./canvas-viewer-mechanics-ycCX6v-z.js";
6
+ import { D as _ } from "./canvas-viewer-mechanics-DI38gHNV.js";
7
7
  export { i as DocxDocument, d as DocxScrollViewer, s as DocxViewer, m as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, g as TiffDecodeError, _ as autoResize, l as buildDocxHighlightLayer, f as buildDocxTextLayer, p as isOoxmlDecodedImageLimitError, h as isTiffDecodeError, c as noteText, n as openExternalHyperlink, r as readDocxTextSelectionContext, o as resolveCommentAnchorRuns, u as resolveDocxCommentThreads, a as resolveRevisionAnchorRuns };
Binary file
@@ -1,5 +1,5 @@
1
1
  import { ar as e, cr as t, fr as n, hr as r, or as i, pr as a, tr as o, vr as s } from "./plot-area-frame-D3JtHvov.js";
2
- import { At as c, Bt as l, Ct as u, Dt as d, Ft as f, Ht as p, It as m, Mt as h, Ot as g, St as _, Ut as v, Vt as y, Wt as b, jt as x, kt as S, zt as C } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { At as c, Bt as l, Ct as u, Dt as d, Ft as f, Ht as p, It as m, Mt as h, Ot as g, St as _, Ut as v, Vt as y, Wt as b, jt as x, kt as S, zt as C } from "./bounded-raw-part-cache-B8t03tSP.js";
3
3
  var w = new Set([
4
4
  "line",
5
5
  "straightconnector1",
@@ -1,4 +1,4 @@
1
- import { m as e } from "./slide-pull-client-43mS9T70.js";
1
+ import { m as e } from "./slide-pull-client-BUuJQQVE.js";
2
2
  import { Kr as t } from "./plot-area-frame-D3JtHvov.js";
3
3
  var n;
4
4
  function r() {
@@ -1,4 +1,4 @@
1
- import { a as e } from "./renderer-DFDF48zw.js";
1
+ import { a as e } from "./renderer-IFuBkPvF.js";
2
2
  function t(t, n) {
3
3
  return e(t.family, t.sizePt, void 0, !1, t.bold ? 700 : 400, t.italic ? "italic" : "normal", n);
4
4
  }
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./docx-GXxH0AwW.js";
2
- import { t } from "./pptx-CLyebeF_.js";
3
- import { t as n } from "./xlsx-lvftmF1U.js";
1
+ import { t as e } from "./docx-BfLZeiwa.js";
2
+ import { t } from "./pptx-CfCiVlNB.js";
3
+ import { t as n } from "./xlsx-CCMRAxPB.js";
4
4
  export { e as docx, t as pptx, n as xlsx };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./model-source-COXegBNA.js";
2
- var t = "0.89.4", n = class extends Error {
2
+ var t = "0.89.6", n = class extends Error {
3
3
  constructor(n, r) {
4
4
  super(`Companion requires @silurus/ooxml ${n} (${r}); installed runtime is ${t} (${e})`), this.code = "companion-runtime-mismatch", this.name = "CompanionRuntimeMismatchError";
5
5
  }
6
6
  };
7
7
  function r(e, t) {
8
- if (e !== "0.89.4" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
8
+ if (e !== "0.89.6" || t !== "ooxml-model-source-module/v2") throw new n(e, t);
9
9
  }
10
10
  export { n as CompanionRuntimeMismatchError, e as MODEL_SOURCE_MODULE_PROTOCOL, r as assertCompanionRuntime };
@@ -1,5 +1,5 @@
1
1
  import { Ao as e, ko as t } from "./plot-area-frame-D3JtHvov.js";
2
- import { Lt as n, Rt as r, an as i, in as a, sn as o, tn as s } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { Lt as n, Rt as r, an as i, in as a, sn as o, tn as s } from "./bounded-raw-part-cache-B8t03tSP.js";
3
3
  var c = /^\p{Cf}$/u, l = /^\s$/u, u = /^\p{M}$/u, d = /^\p{Script_Extensions=Arabic}$/u, f = /^(?=\p{Script=Arabic})\p{L}$/u;
4
4
  function p(e, t) {
5
5
  for (let n of t) if (!(l.test(n) || c.test(n))) switch (e) {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cfb-guard-BIaHdonq.js";
2
- import { U as t } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { U as t } from "./bounded-raw-part-cache-B8t03tSP.js";
3
3
  import { i as n, n as r, o as i } from "./model-source-COXegBNA.js";
4
4
  async function a(a, s, c, l, u = (e) => t(e) ?? e) {
5
5
  let d = a instanceof Uint8Array ? a : new Uint8Array(a), f = c.source === void 0 ? void 0 : i([c.source], s, d);
@@ -1,8 +1,8 @@
1
- import { N as e, U as t, j as n } from "./bounded-raw-part-cache-Bi_VqXmg.js";
1
+ import { N as e, U as t, j as n } from "./bounded-raw-part-cache-B8t03tSP.js";
2
2
  import { n as r } from "./abort-JztSoyw2.js";
3
3
  import { a as i } from "./model-source-COXegBNA.js";
4
4
  import { t as a } from "./in-process-pull-transport-BPJ7M0uC.js";
5
- import { n as o, r as s, t as c } from "./document-pull-worker-1ZJv9f9W.js";
5
+ import { n as o, r as s, t as c } from "./document-pull-worker-Bkewz-So.js";
6
6
  var l = [
7
7
  "open_document_cursor",
8
8
  "pull_document_chunk",
@@ -1,6 +1,6 @@
1
- import { B as e, N as t, U as n, j as r } from "./bounded-raw-part-cache-Bi_VqXmg.js";
1
+ import { B as e, N as t, U as n, j as r } from "./bounded-raw-part-cache-B8t03tSP.js";
2
2
  import { n as i } from "./abort-JztSoyw2.js";
3
- import { b as a } from "./worksheet-pull-client-D5zAevQv.js";
3
+ import { b as a } from "./worksheet-pull-client-Du0MuIro.js";
4
4
  import { a as o } from "./model-source-COXegBNA.js";
5
5
  import { t as s } from "./host-layout-Cz_lCuTZ.js";
6
6
  var c = [
@@ -1,5 +1,5 @@
1
- import { a as e } from "./slide-pull-client-43mS9T70.js";
2
- import { H as t, N as n, j as r } from "./bounded-raw-part-cache-Bi_VqXmg.js";
1
+ import { a as e } from "./slide-pull-client-BUuJQQVE.js";
2
+ import { H as t, N as n, j as r } from "./bounded-raw-part-cache-B8t03tSP.js";
3
3
  import { n as i } from "./abort-JztSoyw2.js";
4
4
  import { a } from "./model-source-COXegBNA.js";
5
5
  var o = [
package/dist/node.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { vo as e, yo as t } from "./plot-area-frame-D3JtHvov.js";
2
2
  import { f as n, u as r } from "./pixel-budget-DI82Hn3R.js";
3
- import { n as i, r as a } from "./pptx-BD0jwWs6.js";
4
- import { n as o, r as s } from "./docx-D9E0vCq-.js";
5
- import { n as c, r as l, t as u } from "./render-Cs1bgbEm.js";
6
- import { a as d, i as f, n as p, r as m } from "./xlsx-S6orTmKI.js";
3
+ import { n as i, r as a } from "./pptx-SmjDGyub.js";
4
+ import { n as o, r as s } from "./docx-BC2HQtjg.js";
5
+ import { n as c, r as l, t as u } from "./render-CMUEAeHp.js";
6
+ import { a as d, i as f, n as p, r as m } from "./xlsx-CD1VeDIg.js";
7
7
  export { r as OoxmlDecodedImageLimitError, e as OoxmlError, t as OoxmlResourceLimitError, u as installImageBitmapShim, c as installOffscreenCanvasShim, n as isOoxmlDecodedImageLimitError, o as materializeDocxDocument, i as materializePptxPresentation, p as materializeXlsxWorkbook, m as materializeXlsxWorkbookIndex, f as materializeXlsxWorksheet, s as openDocxDocument, a as openPptxPresentation, d as openXlsxWorkbook, l as renderSlideNode };
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./chunk-D5OxutzX.js";
2
- import { a as t, c as n, d as r, f as i, i as a, l as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./slide-pull-client-43mS9T70.js";
2
+ import { a as t, c as n, d as r, f as i, i as a, l as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./slide-pull-client-BUuJQQVE.js";
3
3
  import { Aa as m, vo as h, yo as g } from "./plot-area-frame-D3JtHvov.js";
4
4
  import { n as _, t as ee } from "./cfb-guard-BIaHdonq.js";
5
- import { H as v, M as y, N as b, Tn as x, V as S, X as C, Xt as w, Y as T, Yt as te, Zt as E, fn as ne, hn as re, ht as ie, j as ae, n as oe, qt as se, st as ce, t as le, u as D, ut as ue } from "./bounded-raw-part-cache-Bi_VqXmg.js";
6
- import { C as de, D as fe, E as O, N as pe, O as me, P as k, S as he, T as A, _ as ge, a as _e, b as ve, c as ye, d as be, f as xe, g as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, t as je, u as Me, v as Ne, w as j, x as Pe, y as Fe } from "./comment-overlay-controller-CR5ySvki.js";
5
+ import { H as v, M as y, N as b, Tn as x, V as S, X as C, Xt as w, Y as T, Yt as te, Zt as E, fn as ne, hn as re, j as ie, lt as ae, mt as oe, n as se, ot as ce, qt as le, t as ue, u as D } from "./bounded-raw-part-cache-B8t03tSP.js";
6
+ import { C as de, D as fe, E as O, N as pe, O as me, P as k, S as he, T as A, _ as ge, a as _e, b as ve, c as ye, d as be, f as xe, g as Se, h as Ce, i as we, l as Te, m as Ee, n as De, o as Oe, p as ke, r as Ae, t as je, u as Me, v as Ne, w as j, x as Pe, y as Fe } from "./comment-overlay-controller-Crm5Syhx.js";
7
7
  import { f as M, u as Ie } from "./pixel-budget-DI82Hn3R.js";
8
8
  import { i as Le, t as Re } from "./tiff-contract-DEd8CGuz.js";
9
- import { D as ze, E as Be, T as Ve, a as N, b as He, c as Ue, f as We, i as Ge, l as Ke, n as qe, o as P, p as Je, r as Ye, s as Xe, t as Ze, u as F, v as Qe, w as $e, x as et, y as tt } from "./canvas-viewer-mechanics-ycCX6v-z.js";
9
+ import { D as ze, E as Be, T as Ve, a as N, b as He, c as Ue, f as We, i as Ge, l as Ke, n as qe, o as P, p as Je, r as Ye, s as Xe, t as Ze, u as F, v as Qe, w as $e, x as et, y as tt } from "./canvas-viewer-mechanics-DI38gHNV.js";
10
10
  import { n as nt } from "./renderer-module-contract-BuTx2FWJ.js";
11
11
  import { t as rt } from "./visible-index-vN-4BNn7.js";
12
- import { n as it } from "./resource-measurement-CTGrNAsD.js";
12
+ import { n as it } from "./resource-measurement-D2bu0Qfx.js";
13
13
  function at(e, t) {
14
14
  let n = t.startsWith("/") ? [] : e.split("/").filter((e) => e !== "");
15
15
  for (let e of t.split("/")) if (e === "..") n.pop();
@@ -118,7 +118,7 @@ var ft = class extends de {
118
118
  }
119
119
  };
120
120
  async function pt(e) {
121
- return e ? (await import("./font-preload-demand-BuMy4iJ1.js")).collectSlideFontDemand : void 0;
121
+ return e ? (await import("./font-preload-demand-B6HPFxDp.js")).collectSlideFontDemand : void 0;
122
122
  }
123
123
  var mt = (e) => e >= "0" && e <= "9";
124
124
  function ht(e) {
@@ -466,7 +466,7 @@ var Vt = class {
466
466
  #o;
467
467
  constructor(e) {
468
468
  if (!Number.isSafeInteger(e.slideCount) || e.slideCount < 0) throw TypeError("slideCount must be a non-negative safe integer");
469
- this.#e = e.slideCount, this.#t = e.loadSlide, this.#n = new oe({
469
+ this.#e = e.slideCount, this.#t = e.loadSlide, this.#n = new se({
470
470
  maxEntries: e.maxCachedSlides,
471
471
  maxWeight: e.maxCachedStructuralBytes,
472
472
  measure: (e) => it(e).jsonBytes
@@ -818,7 +818,7 @@ var X = class e {
818
818
  _slidePullClient = null;
819
819
  _resourceFailure = null;
820
820
  _slidePartIndex = null;
821
- _rawParts = new le({
821
+ _rawParts = new ue({
822
822
  maxEntries: 64,
823
823
  maxBytes: re
824
824
  });
@@ -857,10 +857,10 @@ var X = class e {
857
857
  }
858
858
  static async load(t, n = {}) {
859
859
  if (n.legacyPpt !== void 0) {
860
- let { loadPptxModelSource: e } = await import("./presentation-model-source-rWZ3Y-S_.js");
860
+ let { loadPptxModelSource: e } = await import("./presentation-model-source-DL6duh5l.js");
861
861
  return e(t, n);
862
862
  }
863
- let r = se(n.cjkFallback), i = b(n), a = n.mode ?? "main", o = new ae({
863
+ let r = le(n.cjkFallback), i = b(n), a = n.mode ?? "main", o = new ie({
864
864
  enabled: !0,
865
865
  format: "pptx",
866
866
  mode: a,
@@ -877,7 +877,7 @@ var X = class e {
877
877
  s = await e.arrayBuffer();
878
878
  } else s = t;
879
879
  s = _(await ee(s, n.password)), o.setSourceBytes(s.byteLength), o.checkpoint("container ready");
880
- let c = a === "worker" ? (await import("./render-worker-host-CZC0WOn8.js")).createRenderWorker() : new Jt(), l = a === "worker" ? nt(n) : void 0, u;
880
+ let c = a === "worker" ? (await import("./render-worker-host-CtlBbau5.js")).createRenderWorker() : new Jt(), l = a === "worker" ? nt(n) : void 0, u;
881
881
  try {
882
882
  u = new e(c, a, n.wasmUrl), u._metrics = o, n.math && a === "worker" && !l?.math && console.warn("[ooxml] a custom math renderer cannot cross the worker boundary; equations will be skipped in mode: 'worker'. Use the math renderer from @silurus/ooxml/math."), n.threeD && a === "worker" && !l?.threeD && console.warn("[ooxml] a custom 3-D chart renderer cannot cross the worker boundary; charts use their 2-D family fallback in mode: 'worker'. Use the renderer from @silurus/ooxml/three-d."), u._cjkFallback = r, u._math = a === "worker" ? void 0 : n.math, u._threeD = a === "worker" ? void 0 : n.threeD, n.regionMap && a === "worker" && !l?.regionMap && console.warn("[ooxml] a custom Region Map renderer cannot cross the worker boundary; geospatial charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/region-map."), u._regionMap = a === "worker" ? void 0 : n.regionMap, n.chartEx && a === "worker" && !l?.chartEx && console.warn("[ooxml] a custom ChartEx renderer cannot cross the worker boundary; ChartEx charts use the unsupported-chart placeholder in mode: 'worker'. Use the renderer from @silurus/ooxml/chart-ex."), u._chartEx = a === "worker" ? void 0 : n.chartEx, n.tiff && a === "worker" && !l?.tiff && console.warn("[ooxml] a custom TIFF codec cannot cross the worker boundary; recognized TIFF images will use an unavailable-image placeholder in mode: 'worker'. Use the codec from @silurus/ooxml/tiff to display them."), u._tiff = a === "worker" ? void 0 : n.tiff;
883
883
  let t = n.progressiveLayout ? {
@@ -1244,7 +1244,7 @@ var X = class e {
1244
1244
  try {
1245
1245
  if (t.onTextRun) for (let e of a.runs) t.onTextRun(e);
1246
1246
  } catch (e) {
1247
- throw ie(a.bitmap), e;
1247
+ throw oe(a.bitmap), e;
1248
1248
  }
1249
1249
  return a.bitmap;
1250
1250
  }
@@ -1403,7 +1403,7 @@ var X = class e {
1403
1403
  if (!t) throw Error("2D context not available");
1404
1404
  t.drawImage(a, 0, 0);
1405
1405
  } finally {
1406
- ie(a);
1406
+ oe(a);
1407
1407
  }
1408
1408
  } : () => this.renderSlide(e, t, {
1409
1409
  width: i,
@@ -1429,7 +1429,7 @@ var X = class e {
1429
1429
  destroy() {
1430
1430
  this._destroyed = !0, this._clearProgressiveWatchdog(), this._slidePullClient?.cancelAll(), this._bridge.terminate(), this._slides?.clear(), this._slides = null, this._slidePullClient = null, this._bootstrap = null, this._preflight = null, this._availableSlideCount = 0, this._layoutLifecycle.succeed(), this._layoutCompletion = null, this._progressive = null, this._parseRequestId = null, this._wakeLayoutWaiters(), this._resourceFailure = null, this._slidePartIndex = null, this._rawParts.clear(), this._googleFonts?.release(), this._googleFonts = null;
1431
1431
  for (let e of this._officeFontLoads.values()) for (let t of Bt(e)) t.then((e) => w(e.faces));
1432
- this._officeFontLoads.clear(), this._embeddedFontFaces.length > 0 && (k(this._embeddedFontFaces), this._embeddedFontFaces = []), this._embeddedFontAliases = /* @__PURE__ */ new Map(), this._embeddedFontAuthoredFamilies = /* @__PURE__ */ new Map(), this._embeddedFontTuples = /* @__PURE__ */ new Set(), ue(this._fetchImage), ce(this._fetchImage);
1432
+ this._officeFontLoads.clear(), this._embeddedFontFaces.length > 0 && (k(this._embeddedFontFaces), this._embeddedFontFaces = []), this._embeddedFontAliases = /* @__PURE__ */ new Map(), this._embeddedFontAuthoredFamilies = /* @__PURE__ */ new Map(), this._embeddedFontTuples = /* @__PURE__ */ new Set(), ae(this._fetchImage), ce(this._fetchImage);
1433
1433
  }
1434
1434
  };
1435
1435
  function un(e, t, n, r, i = {}) {
@@ -2194,7 +2194,7 @@ var gn = class {
2194
2194
  }
2195
2195
  }, yn = 12, bn;
2196
2196
  function xn() {
2197
- return bn ??= import("./comment-ui-runtime-CwTOCwA8.js");
2197
+ return bn ??= import("./comment-ui-runtime-BfEPgl5r.js");
2198
2198
  }
2199
2199
  var Sn = 440, Cn = 20, wn = Symbol("PptxScrollViewer.borrowedPresentation"), Tn = class e {
2200
2200
  _presentationOwner;
@@ -1,9 +1,9 @@
1
- import { t as e } from "./slide-pull-client-43mS9T70.js";
1
+ import { t as e } from "./slide-pull-client-BUuJQQVE.js";
2
2
  import { yo as t } from "./plot-area-frame-D3JtHvov.js";
3
- import { B as n, H as r, hn as i, qt as a, st as o, t as s, ut as c } from "./bounded-raw-part-cache-Bi_VqXmg.js";
3
+ import { B as n, H as r, hn as i, lt as a, ot as o, qt as s, t as c } from "./bounded-raw-part-cache-B8t03tSP.js";
4
4
  import { n as l } from "./abort-JztSoyw2.js";
5
5
  import { n as u, r as d, t as f } from "./wasm-loader-KAOyLXzf.js";
6
- import { i as p, n as m, r as h } from "./session-B5CgMc2N.js";
6
+ import { i as p, n as m, r as h } from "./session-KIWcCCP2.js";
7
7
  import { t as g } from "./in-process-pull-transport-BPJ7M0uC.js";
8
8
  var _ = "PPTX presentation session was aborted", v = f(() => u(import.meta.url, "pptx_parser_bg.wasm", "@silurus/ooxml-pptx/wasm-binary"));
9
9
  async function y(e, t = {}) {
@@ -11,10 +11,10 @@ async function y(e, t = {}) {
11
11
  }
12
12
  async function b(e, t = {}) {
13
13
  if (t.legacyPpt !== void 0) {
14
- let { openPptxSource: n } = await import("./pptx-model-source-D_2mnSxI.js");
14
+ let { openPptxSource: n } = await import("./pptx-model-source-B2Irk68a.js");
15
15
  return n(e, t, v);
16
16
  }
17
- let n = a(t.cjkFallback), r = await m(C(e), v(), t);
17
+ let n = s(t.cjkFallback), r = await m(C(e), v(), t);
18
18
  return new x(r.closeArchive, r.archive, r.bootstrap, r.metrics, t.signal, n);
19
19
  }
20
20
  var x = class {
@@ -39,7 +39,7 @@ var x = class {
39
39
  renderTail = Promise.resolve();
40
40
  fetchImage = (e, t) => this.getPartInternal(e, t, (t) => t.extract_image(e));
41
41
  fetchMedia = (e) => this.getPartInternal(e, "application/octet-stream", (t) => t.extract_media(e));
42
- rawParts = new s({
42
+ rawParts = new c({
43
43
  maxEntries: 64,
44
44
  maxBytes: i
45
45
  });
@@ -79,7 +79,7 @@ var x = class {
79
79
  async renderSlide(e, t, n) {
80
80
  return this.assertOpen(), this.enqueueRender(async () => {
81
81
  l(this.signal, _);
82
- let { renderSlideNode: r } = await import("./render-Cs1bgbEm.js").then((e) => e.i);
82
+ let { renderSlideNode: r } = await import("./render-CMUEAeHp.js").then((e) => e.i);
83
83
  await r(e, {
84
84
  slideWidth: this.slideWidth,
85
85
  slideHeight: this.slideHeight,
@@ -127,7 +127,7 @@ var x = class {
127
127
  }
128
128
  async release() {
129
129
  let e;
130
- await this.renderTail, c(this.fetchImage), o(this.fetchImage);
130
+ await this.renderTail, a(this.fetchImage), o(this.fetchImage);
131
131
  try {
132
132
  await this.slidePull.reset();
133
133
  } catch (t) {
@@ -1,7 +1,7 @@
1
- import { qt as e } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
- import { n as t } from "./session-B5CgMc2N.js";
3
- import { t as n } from "./pptx-BD0jwWs6.js";
4
- import { t as r } from "./model-source-DLXFe4_2.js";
1
+ import { qt as e } from "./bounded-raw-part-cache-B8t03tSP.js";
2
+ import { n as t } from "./session-KIWcCCP2.js";
3
+ import { t as n } from "./pptx-SmjDGyub.js";
4
+ import { t as r } from "./model-source-DcI3vC00.js";
5
5
  async function i(t, r, i) {
6
6
  let o = await a(t, r, i), s = new Proxy(o.archive, { get(e, t) {
7
7
  if (t === "extract_media" && !e.extract_media) return () => {
@@ -13,7 +13,7 @@ async function i(t, r, i) {
13
13
  return new n(o.closeArchive, s, o.bootstrap, o.metrics, r.signal, e(r.cjkFallback));
14
14
  }
15
15
  async function a(e, n, i) {
16
- let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-DfUgVpr1.js"), c = await r(e, "pptx", {
16
+ let { acquirePptxSessionFromArchive: a, validatePptxModelSourceArchive: o, validatePptxModelSourceViewDefaults: s } = await import("./model-source-session-D0LF49Ve.js"), c = await r(e, "pptx", {
17
17
  ...n,
18
18
  source: n.legacyPpt
19
19
  }, o);
package/dist/pptx.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { l as e } from "./slide-pull-client-43mS9T70.js";
1
+ import { l as e } from "./slide-pull-client-BUuJQQVE.js";
2
2
  import { vo as t, yo as n } from "./plot-area-frame-D3JtHvov.js";
3
- import { u as r } from "./bounded-raw-part-cache-Bi_VqXmg.js";
3
+ import { u as r } from "./bounded-raw-part-cache-B8t03tSP.js";
4
4
  import { f as i, u as a } from "./pixel-budget-DI82Hn3R.js";
5
5
  import { i as o, t as s } from "./tiff-contract-DEd8CGuz.js";
6
- import { D as c } from "./canvas-viewer-mechanics-ycCX6v-z.js";
7
- import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-CLyebeF_.js";
6
+ import { D as c } from "./canvas-viewer-mechanics-DI38gHNV.js";
7
+ import { a as l, c as u, i as d, l as f, n as p, o as m } from "./pptx-CfCiVlNB.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 { N as e, j as t, qt as n } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
- import { b as r } from "./comment-overlay-controller-CR5ySvki.js";
3
- import { T as i } from "./canvas-viewer-mechanics-ycCX6v-z.js";
1
+ import { N as e, j as t, qt as n } from "./bounded-raw-part-cache-B8t03tSP.js";
2
+ import { b as r } from "./comment-overlay-controller-Crm5Syhx.js";
3
+ import { T as i } from "./canvas-viewer-mechanics-DI38gHNV.js";
4
4
  import { n as a } from "./renderer-module-contract-BuTx2FWJ.js";
5
- import { o, s } from "./pptx-CLyebeF_.js";
5
+ import { o, s } from "./pptx-CfCiVlNB.js";
6
6
  import { n as c, o as l, r as u } from "./model-source-COXegBNA.js";
7
7
  import { t as d } from "./bundled-asset-url-BMJ8vNHP.js";
8
8
  async function f(u, d) {
@@ -30,7 +30,7 @@ async function f(u, d) {
30
30
  let _ = c(t, "pptx");
31
31
  try {
32
32
  g.setSourceBytes(e.byteLength), g.checkpoint("container ready");
33
- let t = f === "worker" ? (await import("./render-worker-host-CZC0WOn8.js")).createRenderWorker() : new (await (import("./worker-source-ZQE9C1j6.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
33
+ let t = f === "worker" ? (await import("./render-worker-host-CtlBbau5.js")).createRenderWorker() : new (await (import("./worker-source-ZQE9C1j6.js"))).default(), c = p(t, _), l = f === "worker" ? a(d) : void 0, u;
34
34
  try {
35
35
  u = new o(c, f, d.wasmUrl);
36
36
  let t = u;
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./chunk-D5OxutzX.js";
2
- import { qt as t } from "./bounded-raw-part-cache-Bi_VqXmg.js";
2
+ import { qt as t } from "./bounded-raw-part-cache-B8t03tSP.js";
3
3
  var n = /* @__PURE__ */ e({
4
4
  installImageBitmapShim: () => a,
5
5
  installOffscreenCanvasShim: () => i,
@@ -46,7 +46,7 @@ function o(e, t) {
46
46
  return r = o.then(() => void 0, () => void 0), o;
47
47
  }
48
48
  async function s(e, n, r, i = {}) {
49
- let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-B5CgMc2N.js").then((e) => e.t), c = n.slides[r];
49
+ let a = t(i.cjkFallback), { renderSlide: s } = await import("./session-KIWcCCP2.js").then((e) => e.t), c = n.slides[r];
50
50
  if (!c) throw Error(`Slide index ${r} out of range`);
51
51
  let l = i.width ?? 960, u = i.dpr ?? 2, d = i.fetchImage ?? (async () => new Blob([])), f = async () => {
52
52
  await s(e, c, n.slideWidth, n.slideHeight, {
@@ -1,4 +1,4 @@
1
- var e = "" + new URL("assets/render-worker-Bye3wDV9.js", import.meta.url).href;
1
+ var e = "" + new URL("assets/render-worker-B5HWxkbU.js", import.meta.url).href;
2
2
  function t() {
3
3
  return new Worker(e, { type: "module" });
4
4
  }
@@ -1,4 +1,4 @@
1
- var e = "" + new URL("assets/render-worker-BUa1gyCE.js", import.meta.url).href;
1
+ var e = "" + new URL("assets/render-worker-DkqinUC6.js", import.meta.url).href;
2
2
  function t() {
3
3
  return new Worker(e, { type: "module" });
4
4
  }
@@ -1,4 +1,4 @@
1
- var e = "" + new URL("assets/render-worker-CyUrUidp.js", import.meta.url).href;
1
+ var e = "" + new URL("assets/render-worker-Ba4LYMJd.js", import.meta.url).href;
2
2
  function t() {
3
3
  return new Worker(e, { type: "module" });
4
4
  }