pptx-vue-viewer 4.63.0 → 4.64.0

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 (77) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/i18n/de.cjs +5 -0
  3. package/dist/i18n/de.cjs.br +0 -0
  4. package/dist/i18n/de.cjs.gz +0 -0
  5. package/dist/i18n/de.mjs +5 -0
  6. package/dist/i18n/de.mjs.br +0 -0
  7. package/dist/i18n/de.mjs.gz +0 -0
  8. package/dist/i18n/es.cjs +5 -0
  9. package/dist/i18n/es.cjs.br +0 -0
  10. package/dist/i18n/es.cjs.gz +0 -0
  11. package/dist/i18n/es.mjs +5 -0
  12. package/dist/i18n/es.mjs.br +0 -0
  13. package/dist/i18n/es.mjs.gz +0 -0
  14. package/dist/i18n/fr.cjs +5 -0
  15. package/dist/i18n/fr.cjs.br +0 -0
  16. package/dist/i18n/fr.cjs.gz +0 -0
  17. package/dist/i18n/fr.mjs +5 -0
  18. package/dist/i18n/fr.mjs.br +0 -0
  19. package/dist/i18n/fr.mjs.gz +0 -0
  20. package/dist/i18n/zh-CN.cjs +5 -0
  21. package/dist/i18n/zh-CN.cjs.br +0 -0
  22. package/dist/i18n/zh-CN.cjs.gz +0 -0
  23. package/dist/i18n/zh-CN.mjs +5 -0
  24. package/dist/i18n/zh-CN.mjs.br +0 -0
  25. package/dist/i18n/zh-CN.mjs.gz +0 -0
  26. package/dist/index.cjs +1 -1
  27. package/dist/index.cjs.br +0 -0
  28. package/dist/index.cjs.gz +0 -0
  29. package/dist/index.js +2 -2
  30. package/dist/index.js.br +0 -0
  31. package/dist/index.js.gz +0 -0
  32. package/dist/internals.cjs +1 -1
  33. package/dist/internals.cjs.br +0 -0
  34. package/dist/internals.cjs.gz +0 -0
  35. package/dist/internals.js +1 -1
  36. package/dist/internals.js.br +0 -0
  37. package/dist/internals.js.gz +0 -0
  38. package/dist/pptx-vue-viewer.css +1 -1
  39. package/dist/pptx-vue-viewer.css.br +0 -0
  40. package/dist/pptx-vue-viewer.css.gz +0 -0
  41. package/dist/{useViewerSettingsDialog-Cf0EUQ6A.cjs → useViewerSettingsDialog-D2C68gva.cjs} +60 -58
  42. package/dist/useViewerSettingsDialog-D2C68gva.cjs.br +0 -0
  43. package/dist/useViewerSettingsDialog-D2C68gva.cjs.gz +0 -0
  44. package/dist/{useViewerSettingsDialog-CCdx0WaP.js → useViewerSettingsDialog-DQ-7sQiE.js} +1838 -1836
  45. package/dist/useViewerSettingsDialog-DQ-7sQiE.js.br +0 -0
  46. package/dist/useViewerSettingsDialog-DQ-7sQiE.js.gz +0 -0
  47. package/dist/viewer/index.cjs +1 -1
  48. package/dist/viewer/index.cjs.br +0 -0
  49. package/dist/viewer/index.cjs.gz +0 -0
  50. package/dist/viewer/index.js +2 -2
  51. package/dist/viewer/index.js.br +0 -0
  52. package/dist/viewer/index.js.gz +0 -0
  53. package/dist/{viewer-vQxiJYTJ.js → viewer-Ct-iuQ5z.js} +7173 -7163
  54. package/dist/viewer-Ct-iuQ5z.js.br +0 -0
  55. package/dist/viewer-Ct-iuQ5z.js.gz +0 -0
  56. package/dist/{viewer-CEr7y9hX.cjs → viewer-CyKE_1FR.cjs} +1312 -1302
  57. package/dist/viewer-CyKE_1FR.cjs.br +0 -0
  58. package/dist/viewer-CyKE_1FR.cjs.gz +0 -0
  59. package/dist/{y-webrtc-B4BFox9k.js → y-webrtc-DFA3NALq.js} +1 -1
  60. package/dist/y-webrtc-DFA3NALq.js.br +0 -0
  61. package/dist/y-webrtc-DFA3NALq.js.gz +0 -0
  62. package/dist/{y-webrtc-Er9ajboC.cjs → y-webrtc-J37L1eue.cjs} +1 -1
  63. package/dist/y-webrtc-J37L1eue.cjs.br +0 -0
  64. package/dist/y-webrtc-J37L1eue.cjs.gz +0 -0
  65. package/package.json +3 -3
  66. package/dist/useViewerSettingsDialog-CCdx0WaP.js.br +0 -0
  67. package/dist/useViewerSettingsDialog-CCdx0WaP.js.gz +0 -0
  68. package/dist/useViewerSettingsDialog-Cf0EUQ6A.cjs.br +0 -0
  69. package/dist/useViewerSettingsDialog-Cf0EUQ6A.cjs.gz +0 -0
  70. package/dist/viewer-CEr7y9hX.cjs.br +0 -0
  71. package/dist/viewer-CEr7y9hX.cjs.gz +0 -0
  72. package/dist/viewer-vQxiJYTJ.js.br +0 -0
  73. package/dist/viewer-vQxiJYTJ.js.gz +0 -0
  74. package/dist/y-webrtc-B4BFox9k.js.br +0 -0
  75. package/dist/y-webrtc-B4BFox9k.js.gz +0 -0
  76. package/dist/y-webrtc-Er9ajboC.cjs.br +0 -0
  77. package/dist/y-webrtc-Er9ajboC.cjs.gz +0 -0
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-Cf0EUQ6A.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
1
+ const e = require("./useViewerSettingsDialog-D2C68gva.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
2
2
  require("./i18n.cjs");
3
3
  let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
4
4
  var c = Symbol("pptx-viewer-theme");
@@ -2874,7 +2874,7 @@ var so = Symbol("pptx-viewer-storage");
2874
2874
  function co() {
2875
2875
  return (0, l.inject)(so, () => {});
2876
2876
  }
2877
- var po = "4.63.0", uo = Symbol("pptx-account-auth");
2877
+ var po = "4.64.0", uo = Symbol("pptx-account-auth");
2878
2878
  var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
2879
2879
  "aria-pressed",
2880
2880
  "aria-label",
@@ -7721,6 +7721,7 @@ var oi = ["placement", ".state"], ai = {
7721
7721
  isDirty: { type: Boolean },
7722
7722
  autosaveStatus: {},
7723
7723
  lastSavedAt: {},
7724
+ saveProgress: {},
7724
7725
  scale: {},
7725
7726
  isNotesExpanded: { type: Boolean },
7726
7727
  mode: {},
@@ -7744,6 +7745,7 @@ var oi = ["placement", ".state"], ai = {
7744
7745
  state: r.autosaveStatus,
7745
7746
  timestamp: r.lastSavedAt ?? void 0
7746
7747
  } : void 0,
7748
+ saveProgress: r.saveProgress ? (0, a.saveProgressStatus)(r.saveProgress, (e) => o(e, { percent: "{percent}" })) : void 0,
7747
7749
  zoomPercent: void 0 === r.scale ? void 0 : 100 * r.scale,
7748
7750
  notesExpanded: r.isNotesExpanded,
7749
7751
  viewMode: (0, a.statusBarViewMode)(r.mode),
@@ -26227,12 +26229,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
26227
26229
  d(k.effectiveTheme);
26228
26230
  const S = u(k.effectiveTheme);
26229
26231
  (0, l.provide)(uo, v.accountAuth), (0, l.provide)(Ol, () => v.ribbonAddIns);
26230
- const E = (0, a.createCloudDocumentController)(), C = t.useController(E), w = (0, l.computed)(() => (0, a.resolveCloudDocumentView)(C.value.file, {
26231
- storage: v.storage,
26232
- canEdit: v.canEdit && !v.readOnly,
26233
- fileName: v.fileName,
26234
- filePath: v.filePath
26235
- })), B = () => w.value.filePath ?? w.value.fileName ?? "Untitled Presentation", N = function(e) {
26232
+ const E = (0, a.createCloudDocumentController)(), C = t.useController(E), w = (0, a.createSaveProgressController)(), B = t.useController(w), N = (0, l.computed)(() => {
26233
+ const e = (0, a.resolveCloudDocumentView)(C.value.file, {
26234
+ storage: v.storage,
26235
+ canEdit: v.canEdit && !v.readOnly,
26236
+ fileName: v.fileName,
26237
+ filePath: v.filePath
26238
+ });
26239
+ return e.storage ? {
26240
+ ...e,
26241
+ storage: w.wrap(e.storage)
26242
+ } : e;
26243
+ }), V = () => N.value.filePath ?? N.value.fileName ?? "Untitled Presentation", T = function(e) {
26236
26244
  const t = (0, l.ref)(null);
26237
26245
  (0, l.watch)(e.content, () => {
26238
26246
  t.value = null, e.onDocumentReplaced?.();
@@ -26265,15 +26273,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
26265
26273
  onDocumentReplaced: E.clear
26266
26274
  });
26267
26275
  (0, l.provide)(so, () => v.storage);
26268
- const V = [];
26276
+ const F = [];
26269
26277
  (0, l.provide)(ro, {
26270
- providers: () => v.fileProviders ?? V,
26278
+ providers: () => v.fileProviders ?? F,
26271
26279
  open: (e) => {
26272
- N.openBytes(e.bytes), E.open(e);
26280
+ T.openBytes(e.bytes), E.open(e);
26273
26281
  },
26274
26282
  clear: E.clear
26275
26283
  });
26276
- const T = N.activeContent, F = (0, l.ref)(0), P = e.usePasswordProtection(), { optionsStore: D, viewerOptions: _ } = e.useViewerOptionsStore(), A = function(e) {
26284
+ const P = T.activeContent, D = (0, l.ref)(0), _ = e.usePasswordProtection(), { optionsStore: A, viewerOptions: M } = e.useViewerOptionsStore(), L = function(e) {
26277
26285
  const { props: t } = e, o = (0, a.createCustomizationController)(t.customization);
26278
26286
  o.setAllowExternalContent(t.allowExternalContent);
26279
26287
  const r = (0, l.shallowRef)(o.getResolved());
@@ -26298,46 +26306,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
26298
26306
  };
26299
26307
  }({
26300
26308
  props: v,
26301
- optionsStore: D
26302
- }), { panelVisible: M, dialogAvailable: L, effectiveHiddenActions: H, aiEnabled: G, aiConfig: K, aiChatPanel: $ } = A, j = function(e) {
26309
+ optionsStore: A
26310
+ }), { panelVisible: H, dialogAvailable: G, effectiveHiddenActions: K, aiEnabled: $, aiConfig: j, aiChatPanel: W } = L, q = function(e) {
26303
26311
  const t = `pptx-vue-ribbon-${MG += 1}`;
26304
26312
  return {
26305
26313
  rootAttrs: { [a.RIBBON_SCOPE_ATTR]: t },
26306
26314
  css: (0, l.computed)(() => (0, a.ribbonCustomizationCss)(e.value, t))
26307
26315
  };
26308
- }(A.resolved), W = (0, l.shallowRef)(void 0), q = e.useLoadContent(() => T.value, {
26309
- getHeldDeck: () => W.value,
26316
+ }(L.resolved), Y = (0, l.shallowRef)(void 0), X = e.useLoadContent(() => P.value, {
26317
+ getHeldDeck: () => Y.value,
26310
26318
  getPendingInlineEdit: () => {
26311
- if (!Fe.value) return;
26312
- const e = yt.value?.readInlineSnapshot();
26313
- if (ho.showMasterView.value && e) return {
26319
+ if (!De.value) return;
26320
+ const e = bt.value?.readInlineSnapshot();
26321
+ if (ko.showMasterView.value && e) return {
26314
26322
  snapshot: e,
26315
26323
  target: { masterView: {
26316
- tab: ho.masterViewTab.value,
26317
- masterIndex: ho.activeMasterIndex.value,
26318
- layoutIndex: ho.activeLayoutIndex.value
26324
+ tab: ko.masterViewTab.value,
26325
+ masterIndex: ko.activeMasterIndex.value,
26326
+ layoutIndex: ko.activeLayoutIndex.value
26319
26327
  } }
26320
26328
  };
26321
- if (xt.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
26322
- const t = xt.readInlineSnapshot();
26323
- return t && Me.value ? {
26329
+ if (ht.isInlineInputPending()) throw new Error("Finish the current text input before saving.");
26330
+ const t = ht.readInlineSnapshot();
26331
+ return t && Re.value ? {
26324
26332
  snapshot: t,
26325
- text: (0, a.applyAutoCorrectToEdit)(t.text, xt.readInlineStartText(), _.value.proofing),
26326
- target: { slideId: Me.value.id }
26333
+ text: (0, a.applyAutoCorrectToEdit)(t.text, ht.readInlineStartText(), M.value.proofing),
26334
+ target: { slideId: Re.value.id }
26327
26335
  } : void 0;
26328
26336
  },
26329
26337
  onContentApplied: () => {
26330
- F.value += 1, Ae.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Y.value.length);
26338
+ D.value += 1, Me.value = (0, a.resolveInitialSlideIndex)(v.initialSlide, Z.value.length);
26331
26339
  },
26332
26340
  getSaveIntent: () => ({
26333
- password: P.presentationPassword.value,
26334
- passwordProtected: P.isPasswordProtected.value
26341
+ password: _.presentationPassword.value,
26342
+ passwordProtected: _.isPasswordProtected.value
26335
26343
  }),
26336
- getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent, _.value),
26344
+ getAllowExternalImages: () => (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
26337
26345
  getLimits: () => v.limits,
26338
26346
  translate: (e, t) => b(e, t),
26339
- getEmbedFonts: () => io.embedFontsEnabled.value
26340
- }), { slides: Y, templateElementsBySlideId: X, canvasSize: Z, mediaDataUrls: Q, loading: J, error: ee, isEncrypted: te, coreProperties: ne, customProperties: oe, modifyVerifier: ae, compatibilityWarnings: le, appProperties: re, tagCollections: se, signatures: ce, tableStyleMap: de, slideMasters: pe, sections: ue, customShows: me, modernCommentAuthors: ve, presentationProperties: ge, viewProperties: fe, headerFooter: xe, notesMaster: ye, handoutMaster: he, theme: be, themeColorMap: ke, handler: Se, getContent: Ee, getRecoverySnapshot: Ce } = q, we = (0, l.ref)(!1), Be = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(_.value) && !we.value), Ne = function(e) {
26347
+ getEmbedFonts: () => po.embedFontsEnabled.value
26348
+ }), { slides: Z, templateElementsBySlideId: Q, canvasSize: J, mediaDataUrls: ee, loading: te, error: ne, isEncrypted: oe, coreProperties: ae, customProperties: le, modifyVerifier: re, compatibilityWarnings: se, appProperties: ce, tagCollections: de, signatures: pe, tableStyleMap: ue, slideMasters: me, sections: ve, customShows: ge, modernCommentAuthors: fe, presentationProperties: xe, viewProperties: ye, headerFooter: he, notesMaster: be, handoutMaster: ke, theme: Se, themeColorMap: Ee, handler: Ce, getContent: we, getRecoverySnapshot: Be } = X, Ne = (0, l.ref)(!1), Ve = (0, l.computed)(() => (0, a.shouldOpenInProtectedView)(M.value) && !Ne.value), Te = function(e) {
26341
26349
  function t() {
26342
26350
  return (0, a.readOnlyRecommendation)({
26343
26351
  modifyVerifier: e.modifyVerifier.value,
@@ -26371,14 +26379,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
26371
26379
  cancelPasswordPrompt: r.cancelPassword
26372
26380
  };
26373
26381
  }({
26374
- modifyVerifier: ae,
26375
- customProperties: oe,
26376
- loadVersion: F
26377
- }), Ve = (0, l.ref)(!0), Te = (0, l.ref)(!1), Fe = (0, l.computed)(() => Ve.value && w.value.canEdit && (0, a.isEditingAllowed)(A.resolved.value) && !Te.value && !Be.value && !Ne.locked.value);
26378
- function Pe() {
26379
- we.value = !0;
26380
- }
26381
- const De = function(e) {
26382
+ modifyVerifier: re,
26383
+ customProperties: le,
26384
+ loadVersion: D
26385
+ }), Fe = (0, l.ref)(!0), Pe = (0, l.ref)(!1), De = (0, l.computed)(() => Fe.value && N.value.canEdit && (0, a.isEditingAllowed)(L.resolved.value) && !Pe.value && !Ve.value && !Te.locked.value);
26386
+ function Ie() {
26387
+ Ne.value = !0;
26388
+ }
26389
+ const _e = function(e) {
26382
26390
  const t = (0, l.ref)(/* @__PURE__ */ new Set()), n = (0, l.ref)(!1), o = (0, l.ref)([]), r = (0, l.computed)(() => [...o.value, ...(0, a.compatibilityWarningToasts)(e.warnings.value)]), i = (0, l.computed)(() => n.value ? [] : r.value.filter((e) => !t.value.has(e.id)));
26383
26391
  return {
26384
26392
  visibleToasts: (0, l.computed)(() => i.value.slice(0, 5)),
@@ -26397,9 +26405,9 @@ var UG = ["aria-busy", "tabindex"], HG = {
26397
26405
  o.value = [e, ...o.value.filter((t) => t.id !== e.id)], a.delete(e.id), t.value = a, n.value = !1;
26398
26406
  }
26399
26407
  };
26400
- }({ warnings: le });
26401
- (0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(be.value, de.value));
26402
- const Ie = function(e) {
26408
+ }({ warnings: se });
26409
+ (0, l.provide)(e.TableThemeKey, () => e.tableThemeContextFor(Se.value, ue.value));
26410
+ const Ae = function(e) {
26403
26411
  const t = (0, l.ref)((0, a.seedRecentColors)(e.presentationProperties.value));
26404
26412
  return e.loadVersion && (0, l.watch)(e.loadVersion, () => {
26405
26413
  t.value = (0, a.seedRecentColors)(e.presentationProperties.value);
@@ -26414,28 +26422,28 @@ var UG = ["aria-busy", "tabindex"], HG = {
26414
26422
  }
26415
26423
  };
26416
26424
  }({
26417
- presentationProperties: ge,
26418
- loadVersion: F
26425
+ presentationProperties: xe,
26426
+ loadVersion: D
26419
26427
  });
26420
- (0, l.provide)(to, Ie), (0, l.provide)(qa, ke), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Y.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
26421
- headerFooter: xe.value,
26422
- customProperties: oe.value,
26423
- slide: Me.value,
26424
- firstSlideNumber: q.firstSlideNumber.value
26428
+ (0, l.provide)(to, Ae), (0, l.provide)(qa, Ee), e.provideZoomTargetLookup((t) => e.toZoomTargetInfo(Z.value[t])), (0, l.provide)(e.FieldContextKey, () => (0, a.buildFieldSubstitutionContext)({
26429
+ headerFooter: he.value,
26430
+ customProperties: le.value,
26431
+ slide: Re.value,
26432
+ firstSlideNumber: X.firstSlideNumber.value
26425
26433
  }));
26426
- const { tableSelection: _e } = e.useTableCellEditingContext({
26427
- canEdit: () => Fe.value,
26428
- canEditInline: () => Fe.value && !Rt.presenting.value,
26429
- findActiveElement: (e) => qe.findActiveElement(e),
26430
- updateElement: (e, t) => lt.updateElement(e, t),
26431
- commitTableCell: (e, t, n, o) => xt.commitTableCell(e, t, n, o)
26434
+ const { tableSelection: ze } = e.useTableCellEditingContext({
26435
+ canEdit: () => De.value,
26436
+ canEditInline: () => De.value && !Ut.presenting.value,
26437
+ findActiveElement: (e) => Xe.findActiveElement(e),
26438
+ updateElement: (e, t) => it.updateElement(e, t),
26439
+ commitTableCell: (e, t, n, o) => ht.commitTableCell(e, t, n, o)
26432
26440
  });
26433
26441
  e.useSmartArtNodeEditContext({
26434
- canEdit: () => Fe.value,
26435
- canEditInline: () => Fe.value && !Rt.presenting.value,
26436
- findActiveElement: (e) => qe.findActiveElement(e),
26437
- updateElement: (e, t) => lt.updateElement(e, t)
26438
- }), e.useEmbeddedFonts(q.embeddedFonts), function(t, n, o) {
26442
+ canEdit: () => De.value,
26443
+ canEditInline: () => De.value && !Ut.presenting.value,
26444
+ findActiveElement: (e) => Xe.findActiveElement(e),
26445
+ updateElement: (e, t) => it.updateElement(e, t)
26446
+ }), e.useEmbeddedFonts(X.embeddedFonts), function(t, n, o) {
26439
26447
  const r = "pptx-vue-google-fonts";
26440
26448
  (0, l.watchEffect)((e) => {
26441
26449
  if ("undefined" == typeof document) return;
@@ -26469,13 +26477,13 @@ var UG = ["aria-busy", "tabindex"], HG = {
26469
26477
  o && !i && (e.glyphOutlineFontsTick.value += 1);
26470
26478
  });
26471
26479
  });
26472
- }(Y, q.embeddedFonts, () => v.googleFonts), (0, l.watchEffect)((e) => {
26480
+ }(Z, X.embeddedFonts, () => v.googleFonts), (0, l.watchEffect)((e) => {
26473
26481
  const t = (0, a.buildUserFontFaceStyles)(v.fonts ?? []);
26474
26482
  if (!t || "undefined" == typeof document) return;
26475
26483
  const n = document.createElement("style");
26476
26484
  n.dataset.pptxUserFonts = "vue", n.textContent = t, document.head.appendChild(n), e(() => n.remove());
26477
26485
  });
26478
- const { activeSlideIndex: Ae, slideCount: ze, activeSlide: Me, goTo: Oe, goPrev: Re, goNext: Le } = function(e) {
26486
+ const { activeSlideIndex: Me, slideCount: Oe, activeSlide: Re, goTo: Le, goPrev: Ue, goNext: He } = function(e) {
26479
26487
  const t = (0, l.ref)(0), n = (0, l.computed)(() => e.value.length), o = (0, l.computed)(() => e.value[t.value]);
26480
26488
  function a(e) {
26481
26489
  e < 0 || e >= n.value || (t.value = e);
@@ -26488,7 +26496,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
26488
26496
  goPrev: () => a(t.value - 1),
26489
26497
  goNext: () => a(t.value + 1)
26490
26498
  };
26491
- }(Y), { zoom: Ue, fitScale: He, effectiveZoom: Ge, zoomIn: Ke, zoomOut: $e, zoomReset: je } = function() {
26499
+ }(Z), { zoom: Ge, fitScale: Ke, effectiveZoom: $e, zoomIn: je, zoomOut: We, zoomReset: qe } = function() {
26492
26500
  const e = (0, a.createViewerZoomStore)(), t = LG(e, (e) => e.zoom), n = LG(e, (e) => e.fitScale);
26493
26501
  return {
26494
26502
  zoom: (0, l.computed)({
@@ -26512,12 +26520,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
26512
26520
  store: e
26513
26521
  };
26514
26522
  }();
26515
- (0, l.watch)(T, () => {
26516
- Ae.value = 0, qe.selectedElementIds.value = [], at.clearHistory(), we.value = !1, Ne.reset(), De.reset();
26517
- }), (0, l.watch)(Ae, (e) => {
26523
+ (0, l.watch)(P, () => {
26524
+ Me.value = 0, Xe.selectedElementIds.value = [], rt.clearHistory(), Ne.value = !1, Te.reset(), _e.reset();
26525
+ }), (0, l.watch)(Me, (e) => {
26518
26526
  h("active-slide-change", e);
26519
26527
  });
26520
- const We = function(e) {
26528
+ const Ye = function(e) {
26521
26529
  let t = null;
26522
26530
  return {
26523
26531
  onTouchStart: function(n) {
@@ -26538,10 +26546,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
26538
26546
  }
26539
26547
  };
26540
26548
  }({
26541
- canEdit: () => Fe.value,
26542
- goPrev: Re,
26543
- goNext: Le
26544
- }), qe = function(e) {
26549
+ canEdit: () => De.value,
26550
+ goPrev: Ue,
26551
+ goNext: He
26552
+ }), Xe = function(e) {
26545
26553
  const { slides: t, templateElementsBySlideId: n, activeSlide: o } = e, r = (0, l.ref)([]), i = (0, l.ref)(!1), s = (0, l.computed)(() => r.value.length > 0), c = (0, l.computed)(() => n.value[o.value?.id ?? ""] ?? []), d = (0, l.computed)(() => (0, a.slideSpaceMembers)(o.value?.elements ?? [])), p = (0, l.computed)(() => {
26546
26554
  const e = new Set(r.value), t = (o.value?.elements ?? []).filter((t) => e.has(t.id)), n = c.value.filter((t) => e.has(t.id)), a = new Set(t.map((e) => e.id)), l = r.value.flatMap((e) => {
26547
26555
  const t = a.has(e) ? void 0 : d.value.get(e);
@@ -26582,10 +26590,10 @@ var UG = ["aria-busy", "tabindex"], HG = {
26582
26590
  isInteractive: (e) => (0, a.isElementIdInteractive)(e, i.value)
26583
26591
  };
26584
26592
  }({
26585
- slides: Y,
26586
- templateElementsBySlideId: X,
26587
- activeSlide: Me
26588
- }), Ye = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
26593
+ slides: Z,
26594
+ templateElementsBySlideId: Q,
26595
+ activeSlide: Re
26596
+ }), Ze = function({ activeSlideIndex: e, goTo: t, selectedElementIds: n }) {
26589
26597
  let o = null;
26590
26598
  return (0, l.watch)(e, (e) => {
26591
26599
  const t = o === e;
@@ -26594,46 +26602,46 @@ var UG = ["aria-busy", "tabindex"], HG = {
26594
26602
  t(a), o = e.value, n.value = l;
26595
26603
  } };
26596
26604
  }({
26597
- activeSlideIndex: Ae,
26598
- goTo: Oe,
26599
- selectedElementIds: qe.selectedElementIds
26600
- }), { selectedElementIds: Xe, editTemplateMode: Ze, activeTemplateElements: Qe, findActiveElement: Je, selectedElements: et, mergedSlides: tt, clearSelection: nt } = qe, ot = () => (0, a.loadedThemeName)(q.themeOptions.value, pe.value), at = e.useEditorHistory(Y, X, {
26601
- maxDepth: (0, a.resolveHistoryDepth)(_.value),
26602
- activeSlideIndex: Ae,
26605
+ activeSlideIndex: Me,
26606
+ goTo: Le,
26607
+ selectedElementIds: Xe.selectedElementIds
26608
+ }), { selectedElementIds: Qe, editTemplateMode: Je, activeTemplateElements: et, findActiveElement: tt, selectedElements: nt, mergedSlides: ot, clearSelection: at } = Xe, lt = () => (0, a.loadedThemeName)(X.themeOptions.value, me.value), rt = e.useEditorHistory(Z, Q, {
26609
+ maxDepth: (0, a.resolveHistoryDepth)(M.value),
26610
+ activeSlideIndex: Me,
26603
26611
  onChange: () => h("change"),
26604
26612
  theme: {
26605
- theme: be,
26606
- themeColorMap: ke,
26607
- handler: Se,
26608
- loadedThemeName: ot,
26609
- slideMasters: pe
26613
+ theme: Se,
26614
+ themeColorMap: Ee,
26615
+ handler: Ce,
26616
+ loadedThemeName: lt,
26617
+ slideMasters: me
26610
26618
  }
26611
26619
  });
26612
- (0, l.watch)(() => (0, a.resolveHistoryDepth)(_.value), (e) => at.setMaxDepth(e));
26613
- const lt = e.useEditorOperations({
26614
- slides: Y,
26615
- activeSlideIndex: Ae,
26616
- pushHistory: at.pushHistory,
26617
- selectedElementIds: Xe,
26618
- templateElementsBySlideId: X
26619
- }), rt = mn(lt, () => A.resolved.value);
26620
- (0, l.watch)(Ue, (e) => {
26620
+ (0, l.watch)(() => (0, a.resolveHistoryDepth)(M.value), (e) => rt.setMaxDepth(e));
26621
+ const it = e.useEditorOperations({
26622
+ slides: Z,
26623
+ activeSlideIndex: Me,
26624
+ pushHistory: rt.pushHistory,
26625
+ selectedElementIds: Qe,
26626
+ templateElementsBySlideId: Q
26627
+ }), st = mn(it, () => L.resolved.value);
26628
+ (0, l.watch)(Ge, (e) => {
26621
26629
  h("zoom-change", e);
26622
- }), (0, l.watch)(Xe, (e) => {
26630
+ }), (0, l.watch)(Qe, (e) => {
26623
26631
  h("selection-change", e);
26624
- const t = _e.value;
26625
- t && !e.includes(t.elementId) && (_e.value = null);
26626
- }), (0, l.watch)(ze, (e) => {
26632
+ const t = ze.value;
26633
+ t && !e.includes(t.elementId) && (ze.value = null);
26634
+ }), (0, l.watch)(Oe, (e) => {
26627
26635
  h("slide-count-change", e);
26628
- }), (0, l.watch)(J, (e, t) => {
26629
- !t || e || ee.value || h("load", {
26630
- slideCount: Y.value.length,
26631
- canvasSize: Z.value
26636
+ }), (0, l.watch)(te, (e, t) => {
26637
+ !t || e || ne.value || h("load", {
26638
+ slideCount: Z.value.length,
26639
+ canvasSize: J.value
26632
26640
  });
26633
- }), (0, l.watch)(ee, (e) => {
26641
+ }), (0, l.watch)(ne, (e) => {
26634
26642
  e && h("error", e);
26635
26643
  });
26636
- const { marquee: it, beginMarquee: st, cancelMarquee: ct } = function(e) {
26644
+ const { marquee: ct, beginMarquee: dt, cancelMarquee: pt } = function(e) {
26637
26645
  const { getSelectableElements: t, getCanvasSize: n, selectedElementIds: o } = e, r = (0, l.ref)(null);
26638
26646
  let i = null, s = 0, c = 0, d = [], p = !1;
26639
26647
  function u() {
@@ -26689,111 +26697,111 @@ var UG = ["aria-busy", "tabindex"], HG = {
26689
26697
  }
26690
26698
  };
26691
26699
  }({
26692
- getSelectableElements: () => [...Qe.value, ...Me.value?.elements ?? []].filter((e) => qe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
26693
- getCanvasSize: () => Z.value,
26694
- selectedElementIds: Xe
26700
+ getSelectableElements: () => [...et.value, ...Re.value?.elements ?? []].filter((e) => Xe.isInteractive(e.id) && (0, a.canInteractWithElement)(e, "select")),
26701
+ getCanvasSize: () => J.value,
26702
+ selectedElementIds: Qe
26695
26703
  });
26696
- (0, l.onBeforeUnmount)(ct);
26697
- const dt = (0, l.ref)(!1), pt = o.useAiPanelController({
26698
- activeSlideIndex: Ae,
26699
- selectedElementIds: Xe,
26704
+ (0, l.onBeforeUnmount)(pt);
26705
+ const ut = (0, l.ref)(!1), mt = o.useAiPanelController({
26706
+ activeSlideIndex: Me,
26707
+ selectedElementIds: Qe,
26700
26708
  selectedElement: () => {
26701
- const e = Xe.value[0];
26702
- return e ? Je(e) ?? null : null;
26709
+ const e = Qe.value[0];
26710
+ return e ? tt(e) ?? null : null;
26703
26711
  }
26704
- }), { formatPainterActive: ut, canActivateFormatPainter: mt, toggleFormatPainter: vt, cancelFormatPainter: gt, applyFormatToTarget: ft } = e.useFormatPainter({
26705
- selectedElements: et,
26706
- findActiveElement: Je,
26707
- ops: lt
26708
- }), xt = e.useInlineEditing({
26709
- canEdit: () => Fe.value,
26710
- findActiveElement: Je,
26711
- ops: lt,
26712
- livePatcher: () => no.collab.livePatcher,
26713
- autosave: () => Gn.engine,
26714
- activeSlide: () => Me.value,
26712
+ }), { formatPainterActive: vt, canActivateFormatPainter: gt, toggleFormatPainter: ft, cancelFormatPainter: xt, applyFormatToTarget: yt } = e.useFormatPainter({
26713
+ selectedElements: nt,
26714
+ findActiveElement: tt,
26715
+ ops: it
26716
+ }), ht = e.useInlineEditing({
26717
+ canEdit: () => De.value,
26718
+ findActiveElement: tt,
26719
+ ops: it,
26720
+ livePatcher: () => ao.collab.livePatcher,
26721
+ autosave: () => $n.engine,
26722
+ activeSlide: () => Re.value,
26715
26723
  onConnectedSuspend: (e) => {
26716
- const t = Me.value?.id;
26717
- Y.value = Y.value.map((n) => n.id === t ? {
26724
+ const t = Re.value?.id;
26725
+ Z.value = Z.value.map((n) => n.id === t ? {
26718
26726
  ...n,
26719
26727
  elements: [...(0, a.overlayInlineTextSnapshot)(n.elements, e)]
26720
26728
  } : n);
26721
26729
  },
26722
- proofing: () => _.value.proofing
26723
- }), yt = (0, l.ref)(null), ht = e.useInsertElementDialogs({
26724
- ops: lt,
26725
- selectedElementIds: Xe,
26726
- findActiveElement: Je
26727
- }), { requestElementEdit: bt, onCanvasDoubleClick: kt, onCanvasPointerDown: St, onEscape: Et } = TG({
26728
- canEdit: () => Fe.value,
26729
- editTemplateMode: Ze,
26730
- findActiveElement: Je,
26731
- openEquationEditorForElement: ht.openEquationEditorForElement,
26732
- enterInlineEdit: xt.enterInlineEdit,
26733
- inlineEditingElementId: xt.inlineEditingElementId,
26734
- commitInlineEdit: xt.commitInlineEdit,
26735
- cancelInlineEdit: xt.cancelInlineEdit,
26736
- formatPainterActive: ut,
26737
- cancelFormatPainter: gt,
26738
- applyFormatToTarget: ft,
26739
- selectedElementIds: Xe,
26740
- selectElement: qe.selectElement,
26741
- clearSelection: nt,
26742
- activeSlideIndex: Ae,
26743
- aiPickMode: pt.pickMode,
26744
- addAiPick: pt.addPick,
26745
- startElementDrag: (e, t, n) => wt.startElementDrag(e, t, n),
26746
- beginMarquee: st,
26747
- slideElements: () => Me.value?.elements,
26748
- canvasSize: () => Z.value
26749
- }), Ct = (0, l.computed)(() => (0, a.computeGridSpacingPx)(fe.value?.gridSpacing, 8)), wt = e.useElementDrag({
26750
- findActiveElement: Je,
26751
- pushHistory: at.pushHistory,
26752
- effectiveZoom: Ge,
26753
- activeTemplateElements: Qe,
26754
- activeSlide: Me,
26755
- activeSlideIndex: Ae,
26756
- gridSpacingPx: Ct,
26757
- slides: Y,
26758
- templateElementsBySlideId: X,
26759
- canvasSize: Z,
26760
- enterInlineEdit: bt
26761
- }), Bt = e.useElementInsertion({
26762
- canvasSize: Z,
26763
- ops: lt,
26764
- selectedElementIds: Xe,
26765
- slides: Y,
26766
- activeSlideIndex: Ae,
26767
- pushHistory: at.pushHistory,
26768
- handler: Se,
26769
- templateElementsBySlideId: X
26770
- }), { imageInputRef: Nt, mediaInputRef: Vt } = Bt, Tt = e.useSlideTemplateInsertion({
26771
- canvasSize: Z,
26772
- slides: Y,
26773
- activeSlideIndex: Ae,
26774
- pushHistory: at.pushHistory,
26775
- theme: be
26776
- }), { deleteSelected: Ft, duplicateSelected: Pt, bringForward: Dt, sendBackward: It } = e.useMultiSelectOps({
26777
- selectedElementIds: Xe,
26778
- ops: lt,
26779
- clearSelection: nt
26780
- }), _t = PG({
26781
- slides: Y,
26782
- activeSlide: Me,
26783
- activeSlideIndex: Ae,
26784
- selectedElements: et,
26785
- pushHistory: at.pushHistory,
26786
- updateElement: (e, t) => lt.updateElement(e, t),
26787
- previewElement: (e, t) => lt.previewElement(e, t),
26788
- findActiveElement: Je
26730
+ proofing: () => M.value.proofing
26731
+ }), bt = (0, l.ref)(null), kt = e.useInsertElementDialogs({
26732
+ ops: it,
26733
+ selectedElementIds: Qe,
26734
+ findActiveElement: tt
26735
+ }), { requestElementEdit: St, onCanvasDoubleClick: Et, onCanvasPointerDown: Ct, onEscape: wt } = TG({
26736
+ canEdit: () => De.value,
26737
+ editTemplateMode: Je,
26738
+ findActiveElement: tt,
26739
+ openEquationEditorForElement: kt.openEquationEditorForElement,
26740
+ enterInlineEdit: ht.enterInlineEdit,
26741
+ inlineEditingElementId: ht.inlineEditingElementId,
26742
+ commitInlineEdit: ht.commitInlineEdit,
26743
+ cancelInlineEdit: ht.cancelInlineEdit,
26744
+ formatPainterActive: vt,
26745
+ cancelFormatPainter: xt,
26746
+ applyFormatToTarget: yt,
26747
+ selectedElementIds: Qe,
26748
+ selectElement: Xe.selectElement,
26749
+ clearSelection: at,
26750
+ activeSlideIndex: Me,
26751
+ aiPickMode: mt.pickMode,
26752
+ addAiPick: mt.addPick,
26753
+ startElementDrag: (e, t, n) => Nt.startElementDrag(e, t, n),
26754
+ beginMarquee: dt,
26755
+ slideElements: () => Re.value?.elements,
26756
+ canvasSize: () => J.value
26757
+ }), Bt = (0, l.computed)(() => (0, a.computeGridSpacingPx)(ye.value?.gridSpacing, 8)), Nt = e.useElementDrag({
26758
+ findActiveElement: tt,
26759
+ pushHistory: rt.pushHistory,
26760
+ effectiveZoom: $e,
26761
+ activeTemplateElements: et,
26762
+ activeSlide: Re,
26763
+ activeSlideIndex: Me,
26764
+ gridSpacingPx: Bt,
26765
+ slides: Z,
26766
+ templateElementsBySlideId: Q,
26767
+ canvasSize: J,
26768
+ enterInlineEdit: St
26769
+ }), Vt = e.useElementInsertion({
26770
+ canvasSize: J,
26771
+ ops: it,
26772
+ selectedElementIds: Qe,
26773
+ slides: Z,
26774
+ activeSlideIndex: Me,
26775
+ pushHistory: rt.pushHistory,
26776
+ handler: Ce,
26777
+ templateElementsBySlideId: Q
26778
+ }), { imageInputRef: Tt, mediaInputRef: Ft } = Vt, Pt = e.useSlideTemplateInsertion({
26779
+ canvasSize: J,
26780
+ slides: Z,
26781
+ activeSlideIndex: Me,
26782
+ pushHistory: rt.pushHistory,
26783
+ theme: Se
26784
+ }), { deleteSelected: Dt, duplicateSelected: It, bringForward: _t, sendBackward: At } = e.useMultiSelectOps({
26785
+ selectedElementIds: Qe,
26786
+ ops: it,
26787
+ clearSelection: at
26788
+ }), zt = PG({
26789
+ slides: Z,
26790
+ activeSlide: Re,
26791
+ activeSlideIndex: Me,
26792
+ selectedElements: nt,
26793
+ pushHistory: rt.pushHistory,
26794
+ updateElement: (e, t) => it.updateElement(e, t),
26795
+ previewElement: (e, t) => it.previewElement(e, t),
26796
+ findActiveElement: tt
26789
26797
  });
26790
- (0, l.provide)(Ww, _t.inspectorPreview);
26791
- const At = e.useSlideOperations({
26792
- slides: Y,
26793
- activeSlideIndex: Ae,
26794
- pushHistory: at.pushHistory,
26795
- templateElementsBySlideId: X
26796
- }), zt = function(t) {
26798
+ (0, l.provide)(Ww, zt.inspectorPreview);
26799
+ const Mt = e.useSlideOperations({
26800
+ slides: Z,
26801
+ activeSlideIndex: Me,
26802
+ pushHistory: rt.pushHistory,
26803
+ templateElementsBySlideId: Q
26804
+ }), Ot = function(t) {
26797
26805
  const n = (0, l.shallowRef)(null), o = (0, l.computed)(() => null !== n.value);
26798
26806
  function r(o) {
26799
26807
  const a = t.findSlideElement(o);
@@ -26813,11 +26821,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
26813
26821
  }
26814
26822
  };
26815
26823
  }({
26816
- findSlideElement: (e) => Me.value?.elements.find((t) => t.id === e),
26817
- addElement: (e) => lt.addElement(e),
26818
- removeElement: (e) => lt.removeElement(e),
26819
- selectedElementIds: Xe
26820
- }), Mt = function(e) {
26824
+ findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
26825
+ addElement: (e) => it.addElement(e),
26826
+ removeElement: (e) => it.removeElement(e),
26827
+ selectedElementIds: Qe
26828
+ }), Rt = function(e) {
26821
26829
  const { clipboard: t, ops: n, selectedElementIds: o } = e, r = (0, l.ref)(!1), i = (0, l.shallowRef)(null);
26822
26830
  return {
26823
26831
  isPasteSpecialDialogOpen: r,
@@ -26865,15 +26873,15 @@ var UG = ["aria-busy", "tabindex"], HG = {
26865
26873
  }
26866
26874
  };
26867
26875
  }({
26868
- clipboard: zt.clipboard,
26869
- ops: lt,
26870
- selectedElementIds: Xe
26876
+ clipboard: Ot.clipboard,
26877
+ ops: it,
26878
+ selectedElementIds: Qe
26871
26879
  });
26872
- function Ot() {
26873
- const e = zt.pasteElement();
26874
- e && Mt.notePastedElement(e);
26880
+ function Lt() {
26881
+ const e = Ot.pasteElement();
26882
+ e && Rt.notePastedElement(e);
26875
26883
  }
26876
- const Rt = function(t) {
26884
+ const Ut = function(t) {
26877
26885
  const { slides: n, activeSlideIndex: o, pushHistory: r } = t, { presenting: i, startPresenting: s, onPresentClose: c, onPresentSlideChange: d } = e.usePresentationModeWiring({
26878
26886
  slides: n,
26879
26887
  activeSlideIndex: o,
@@ -26919,23 +26927,23 @@ var UG = ["aria-busy", "tabindex"], HG = {
26919
26927
  presentationStartIndex: u
26920
26928
  };
26921
26929
  }({
26922
- slides: Y,
26923
- activeSlideIndex: Ae,
26924
- customShows: me,
26925
- activeCustomShowId: () => xo.activeCustomShowId.value,
26926
- authoredRange: () => yo.value,
26927
- pushHistory: at.pushHistory
26930
+ slides: Z,
26931
+ activeSlideIndex: Me,
26932
+ customShows: ge,
26933
+ activeCustomShowId: () => ho.activeCustomShowId.value,
26934
+ authoredRange: () => bo.value,
26935
+ pushHistory: rt.pushHistory
26928
26936
  });
26929
26937
  e.useChartCanvasEditContext({
26930
- canEditInline: () => Fe.value && !Rt.presenting.value,
26931
- isElementSelected: (e) => Xe.value.includes(e),
26932
- updateElement: (e, t) => lt.updateElement(e, t)
26938
+ canEditInline: () => De.value && !Ut.presenting.value,
26939
+ isElementSelected: (e) => Qe.value.includes(e),
26940
+ updateElement: (e, t) => it.updateElement(e, t)
26933
26941
  });
26934
- const Lt = e.useChartFormatPane({
26935
- selectedElement: () => 1 === Xe.value.length ? et.value[0] : null,
26936
- canEdit: () => Fe.value && !Rt.presenting.value,
26937
- updateElement: (e, t) => lt.updateElement(e, t)
26938
- }), Ut = function(e) {
26942
+ const Ht = e.useChartFormatPane({
26943
+ selectedElement: () => 1 === Qe.value.length ? nt.value[0] : null,
26944
+ canEdit: () => De.value && !Ut.presenting.value,
26945
+ updateElement: (e, t) => it.updateElement(e, t)
26946
+ }), Gt = function(e) {
26939
26947
  const t = (0, l.ref)(!1), n = (0, l.ref)(null);
26940
26948
  function o(o) {
26941
26949
  const a = e.findSlideElement(o);
@@ -26954,43 +26962,43 @@ var UG = ["aria-busy", "tabindex"], HG = {
26954
26962
  }
26955
26963
  };
26956
26964
  }({
26957
- findSlideElement: (e) => Me.value?.elements.find((t) => t.id === e),
26958
- selectedElementIds: Xe,
26959
- updateElement: (e, t) => lt.updateElement(e, t)
26965
+ findSlideElement: (e) => Re.value?.elements.find((t) => t.id === e),
26966
+ selectedElementIds: Qe,
26967
+ updateElement: (e, t) => it.updateElement(e, t)
26960
26968
  });
26961
- const Ht = (0, l.ref)(!1), Gt = e.useFindReplace({
26962
- slides: Y,
26963
- showMatch: Ye.showSlideSelection,
26964
- pushHistory: at.pushHistory,
26965
- open: Ht
26966
- }), Kt = e.useExportWiring({
26967
- mergedSlides: tt,
26968
- slides: Y,
26969
- slideCount: ze,
26970
- canvasSize: Z,
26971
- activeSlideIndex: Ae,
26972
- saveAs: q.saveAs,
26973
- fileName: () => w.value.fileName,
26974
- getDeckData: () => VG(q),
26975
- imageExportScale: () => (0, a.resolveImageResolutionScale)(_.value),
26976
- getOptions: () => _.value,
26977
- filePath: B,
26978
- storage: () => w.value.storage,
26969
+ const Kt = (0, l.ref)(!1), $t = e.useFindReplace({
26970
+ slides: Z,
26971
+ showMatch: Ze.showSlideSelection,
26972
+ pushHistory: rt.pushHistory,
26973
+ open: Kt
26974
+ }), Wt = e.useExportWiring({
26975
+ mergedSlides: ot,
26976
+ slides: Z,
26977
+ slideCount: Oe,
26978
+ canvasSize: J,
26979
+ activeSlideIndex: Me,
26980
+ saveAs: X.saveAs,
26981
+ fileName: () => N.value.fileName,
26982
+ getDeckData: () => VG(X),
26983
+ imageExportScale: () => (0, a.resolveImageResolutionScale)(M.value),
26984
+ getOptions: () => M.value,
26985
+ filePath: V,
26986
+ storage: () => N.value.storage,
26979
26987
  onSaveError: (e) => {
26980
- h("error", (0, a.saveFailureMessage)(e)), De.notify(a.SAVE_FAILED_TOAST);
26988
+ h("error", (0, a.saveFailureMessage)(e)), _e.notify(a.SAVE_FAILED_TOAST);
26981
26989
  },
26982
- changeSources: () => [Y.value, X.value],
26990
+ changeSources: () => [Z.value, Q.value],
26983
26991
  onSavedClean: () => {
26984
- Gn.isDirty.value = !1;
26992
+ $n.isDirty.value = !1;
26985
26993
  }
26986
- }), { exportStageRef: $t, exportSlide: Wt, rasterizeSlide: qt, exportProgressCtl: Yt, onExportPdf: Xt } = Kt, Zt = e.usePrint({
26987
- slides: tt,
26988
- activeSlideIndex: Ae,
26989
- rasterizeSlide: qt,
26990
- slideSize: Z,
26991
- handoutMaster: he,
26992
- canOpen: () => L("print")
26993
- }), Qt = function(e) {
26994
+ }), { exportStageRef: qt, exportSlide: Yt, rasterizeSlide: Xt, exportProgressCtl: Zt, onExportPdf: Qt } = Wt, Jt = e.usePrint({
26995
+ slides: ot,
26996
+ activeSlideIndex: Me,
26997
+ rasterizeSlide: Xt,
26998
+ slideSize: J,
26999
+ handoutMaster: ke,
27000
+ canOpen: () => G("print")
27001
+ }), en = function(e) {
26994
27002
  const t = (0, l.ref)(!1), n = (0, l.ref)(!1), o = (0, l.ref)(!1);
26995
27003
  return {
26996
27004
  showSorter: t,
@@ -27008,39 +27016,39 @@ var UG = ["aria-busy", "tabindex"], HG = {
27008
27016
  }
27009
27017
  };
27010
27018
  }({
27011
- slides: Y,
27012
- goTo: Oe,
27013
- moveSlide: At.moveSlide,
27014
- pushHistory: at.pushHistory
27015
- }), Jt = (0, l.ref)(!1), en = e.useAccessibility(Y), { onNotesUpdate: tn, toggleSlideHidden: nn, applySlideBackgroundPatch: on, onTransitionChange: an, onApplyTransitionToAll: ln, onAddAnimation: rn, onRemoveAnimation: sn } = e.useSlideMutations({
27016
- slides: Y,
27017
- activeSlideIndex: Ae,
27018
- activeSlide: Me,
27019
- pushHistory: at.pushHistory,
27020
- selectedElements: et,
27019
+ slides: Z,
27020
+ goTo: Le,
27021
+ moveSlide: Mt.moveSlide,
27022
+ pushHistory: rt.pushHistory
27023
+ }), tn = (0, l.ref)(!1), nn = e.useAccessibility(Z), { onNotesUpdate: on, toggleSlideHidden: an, applySlideBackgroundPatch: ln, onTransitionChange: rn, onApplyTransitionToAll: sn, onAddAnimation: cn, onRemoveAnimation: dn } = e.useSlideMutations({
27024
+ slides: Z,
27025
+ activeSlideIndex: Me,
27026
+ activeSlide: Re,
27027
+ pushHistory: rt.pushHistory,
27028
+ selectedElements: nt,
27021
27029
  onNotesChanged: (e) => h("notes-update", e)
27022
- }), { canGroup: cn, canUngroup: dn, canDistribute: pn, selectionGroupable: un, onAlign: vn, onDistribute: gn, onGroup: fn, onUngroup: xn } = e.useAlignGroup({
27023
- selectedElements: et,
27024
- selectedElementIds: Xe,
27025
- activeSlideIndex: Ae,
27026
- slides: Y,
27027
- canvasSize: Z,
27028
- pushHistory: at.pushHistory
27029
- }), yn = {
27030
- canEdit: () => Fe.value && !Rt.presenting.value,
27031
- slides: Y,
27032
- activeSlideIndex: Ae,
27033
- selectedElementIds: Xe,
27034
- pushHistory: () => at.pushHistory()
27035
- }, hn = {
27036
- ..._G(yn),
27030
+ }), { canGroup: pn, canUngroup: un, canDistribute: vn, selectionGroupable: gn, onAlign: fn, onDistribute: xn, onGroup: yn, onUngroup: hn } = e.useAlignGroup({
27031
+ selectedElements: nt,
27032
+ selectedElementIds: Qe,
27033
+ activeSlideIndex: Me,
27034
+ slides: Z,
27035
+ canvasSize: J,
27036
+ pushHistory: rt.pushHistory
27037
+ }), bn = {
27038
+ canEdit: () => De.value && !Ut.presenting.value,
27039
+ slides: Z,
27040
+ activeSlideIndex: Me,
27041
+ selectedElementIds: Qe,
27042
+ pushHistory: () => rt.pushHistory()
27043
+ }, kn = {
27044
+ ..._G(bn),
27037
27045
  ...zG({
27038
- ...yn,
27039
- mediaDataUrls: Q
27046
+ ...bn,
27047
+ mediaDataUrls: ee
27040
27048
  })
27041
27049
  };
27042
- (0, l.provide)(Dn, hn);
27043
- const bn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: kn, drawingColor: Sn, drawingWidth: En, inspectorOpen: Cn, sidebarCollapsed: wn, notesExpanded: Bn, showGrid: Nn, showRulers: Vn, showGuides: Tn, spellCheckEnabled: Fn, themeGalleryOpen: Pn, themeEditorOpen: In } = bn, _n = (0, l.ref)(null), An = function(e) {
27050
+ (0, l.provide)(Dn, kn);
27051
+ const Sn = e.useRibbonUiState(v.inspectorInitiallyOpen), { activeTool: En, drawingColor: Cn, drawingWidth: wn, inspectorOpen: Bn, sidebarCollapsed: Nn, notesExpanded: Vn, showGrid: Tn, showRulers: Fn, showGuides: Pn, spellCheckEnabled: In, themeGalleryOpen: _n, themeEditorOpen: An } = Sn, zn = (0, l.ref)(null), Mn = function(e) {
27044
27052
  const { t: n } = t.useI18n(), o = (0, l.ref)({
27045
27053
  open: !1,
27046
27054
  x: 0,
@@ -27105,78 +27113,78 @@ var UG = ["aria-busy", "tabindex"], HG = {
27105
27113
  }
27106
27114
  };
27107
27115
  }({
27108
- slideIndex: () => Ae.value,
27109
- hasClipboard: zt.hasClipboard,
27110
- showGrid: Nn,
27111
- showRulers: Vn,
27112
- onPaste: Ot,
27116
+ slideIndex: () => Me.value,
27117
+ hasClipboard: Ot.hasClipboard,
27118
+ showGrid: Tn,
27119
+ showRulers: Fn,
27120
+ onPaste: Lt,
27113
27121
  onOpenLayoutGallery: (e, t) => {
27114
- _n.value = {
27122
+ zn.value = {
27115
27123
  x: e,
27116
27124
  y: t
27117
27125
  };
27118
27126
  },
27119
27127
  onResetSlide: () => {
27120
- const e = (0, a.resetSlideLayoutPath)(Me.value);
27121
- e && Bt.applyLayoutToActiveSlide(e);
27128
+ const e = (0, a.resetSlideLayoutPath)(Re.value);
27129
+ e && Vt.applyLayoutToActiveSlide(e);
27122
27130
  },
27123
27131
  onOpenFormatBackground: () => {
27124
- Xe.value = [], Cn.value = !0;
27132
+ Qe.value = [], Bn.value = !0;
27125
27133
  },
27126
- customization: () => A.resolved.value
27127
- }), zn = (0, l.ref)(/* @__PURE__ */ new Map());
27134
+ customization: () => L.resolved.value
27135
+ }), On = (0, l.ref)(/* @__PURE__ */ new Map());
27128
27136
  (0, l.watchEffect)(() => {
27129
- _n.value && Bt.loadLayoutPreviews().then((e) => {
27130
- zn.value = new Map(e.map((e) => [e.path, e]));
27137
+ zn.value && Vt.loadLayoutPreviews().then((e) => {
27138
+ On.value = new Map(e.map((e) => [e.path, e]));
27131
27139
  }).catch(() => {});
27132
27140
  });
27133
- const Mn = (0, l.computed)(() => ({
27134
- anchor: _n.value,
27135
- layoutOptions: q.layoutOptions.value,
27136
- previews: zn.value,
27137
- currentLayoutPath: Me.value?.layoutPath,
27141
+ const Rn = (0, l.computed)(() => ({
27142
+ anchor: zn.value,
27143
+ layoutOptions: X.layoutOptions.value,
27144
+ previews: On.value,
27145
+ currentLayoutPath: Re.value?.layoutPath,
27138
27146
  onSelect: (e) => {
27139
- Bt.applyLayoutToActiveSlide(e.path), _n.value = null;
27147
+ Vt.applyLayoutToActiveSlide(e.path), zn.value = null;
27140
27148
  },
27141
27149
  onClose: () => {
27142
- _n.value = null;
27150
+ zn.value = null;
27143
27151
  }
27144
- })), { contextMenu: On, contextItems: Rn, onCanvasContextMenu: Ln, onContextSelect: Un } = e.useContextMenu({
27145
- slideIndex: () => Ae.value,
27146
- canEdit: () => Fe.value,
27147
- findActiveElement: Je,
27148
- tableSelection: _e,
27149
- hasClipboard: zt.hasClipboard,
27150
- canGroup: cn,
27151
- selectionGroupable: un,
27152
- editTemplateMode: Ze,
27153
- selectedElementIds: Xe,
27154
- inlineEditingElementId: xt.inlineEditingElementId,
27155
- inspectorOpen: Cn,
27156
- enterInlineEdit: xt.enterInlineEdit,
27157
- ops: lt,
27158
- cutElement: zt.cutElement,
27159
- copyElement: zt.copyElement,
27160
- pasteElement: Ot,
27161
- onGroup: fn,
27162
- onUngroup: xn,
27163
- onEmptyCanvasContextMenu: An.openCanvasContextMenu,
27164
- openHyperlinkDialog: Ut.openHyperlinkDialog,
27152
+ })), { contextMenu: Ln, contextItems: Un, onCanvasContextMenu: Hn, onContextSelect: Gn } = e.useContextMenu({
27153
+ slideIndex: () => Me.value,
27154
+ canEdit: () => De.value,
27155
+ findActiveElement: tt,
27156
+ tableSelection: ze,
27157
+ hasClipboard: Ot.hasClipboard,
27158
+ canGroup: pn,
27159
+ selectionGroupable: gn,
27160
+ editTemplateMode: Je,
27161
+ selectedElementIds: Qe,
27162
+ inlineEditingElementId: ht.inlineEditingElementId,
27163
+ inspectorOpen: Bn,
27164
+ enterInlineEdit: ht.enterInlineEdit,
27165
+ ops: it,
27166
+ cutElement: Ot.cutElement,
27167
+ copyElement: Ot.copyElement,
27168
+ pasteElement: Lt,
27169
+ onGroup: yn,
27170
+ onUngroup: hn,
27171
+ onEmptyCanvasContextMenu: Mn.openCanvasContextMenu,
27172
+ openHyperlinkDialog: Gt.openHyperlinkDialog,
27165
27173
  onAddComment: () => {
27166
- eo.showComments.value = !0;
27174
+ oo.showComments.value = !0;
27167
27175
  },
27168
- aiEnabled: () => G.value,
27169
- customization: () => A.resolved.value,
27170
- onEditPoints: rt.startEditPoints,
27171
- mergeCrop: hn,
27172
- chartFormat: Lt,
27176
+ aiEnabled: () => $.value,
27177
+ customization: () => L.resolved.value,
27178
+ onEditPoints: st.startEditPoints,
27179
+ mergeCrop: kn,
27180
+ chartFormat: Ht,
27173
27181
  onAskAi: () => {
27174
- pt.askAboutSelection(), dt.value = !0;
27182
+ mt.askAboutSelection(), ut.value = !0;
27175
27183
  },
27176
27184
  onFixAi: () => {
27177
- pt.fixSelection(), dt.value = !0;
27185
+ mt.fixSelection(), ut.value = !0;
27178
27186
  }
27179
- }), Hn = (0, l.ref)(!1), { autosave: Gn, autosaveEnabled: Kn, autosaveActive: $n, toggleAutosave: jn, autosaveDisabledReason: qn, autosaveToggleAvailable: Yn } = function(t) {
27187
+ }), Kn = (0, l.ref)(!1), { autosave: $n, autosaveEnabled: jn, autosaveActive: qn, toggleAutosave: Yn, autosaveDisabledReason: Xn, autosaveToggleAvailable: Zn } = function(t) {
27180
27188
  const n = (0, l.ref)(!0), o = (0, l.computed)(() => (0, a.resolveAutosaveActivation)({
27181
27189
  hostAutosave: t.autosaveEnabledByHost(),
27182
27190
  userEnabled: n.value,
@@ -27212,21 +27220,21 @@ var UG = ["aria-busy", "tabindex"], HG = {
27212
27220
  autosaveToggleAvailable: s
27213
27221
  };
27214
27222
  }({
27215
- slides: Y,
27216
- templateElements: X,
27217
- paused: Hn,
27218
- loading: J,
27219
- canEdit: () => Fe.value,
27223
+ slides: Z,
27224
+ templateElements: Q,
27225
+ paused: Kn,
27226
+ loading: te,
27227
+ canEdit: () => De.value,
27220
27228
  autosaveEnabledByHost: () => v.autosave,
27221
27229
  intervalMs: () => v.autosaveIntervalMs,
27222
- optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(_.value),
27223
- snapshotName: B,
27224
- storage: () => w.value.storage,
27225
- getRecoverySnapshot: Ce,
27226
- getInlineEditingId: () => xt.inlineEditingElementId.value,
27230
+ optionsIntervalSeconds: () => (0, a.resolveAutosaveIntervalSeconds)(M.value),
27231
+ snapshotName: V,
27232
+ storage: () => N.value.storage,
27233
+ getRecoverySnapshot: Be,
27234
+ getInlineEditingId: () => ht.inlineEditingElementId.value,
27227
27235
  emitAutosave: (e) => h("autosave", e),
27228
- captureVersion: (e, t) => fo.versionHistory.capture(e, t)
27229
- }), Xn = function(e) {
27236
+ captureVersion: (e, t) => yo.versionHistory.capture(e, t)
27237
+ }), Qn = function(e) {
27230
27238
  const n = (0, a.createAutosaveRecoveryController)({
27231
27239
  getStorage: () => e.storage?.(),
27232
27240
  load: (t) => e.onRestore(t),
@@ -27255,18 +27263,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
27255
27263
  discard: () => n.discard()
27256
27264
  };
27257
27265
  }({
27258
- filePath: B,
27259
- fileName: () => w.value.fileName,
27260
- storage: () => w.value.storage,
27261
- loading: J,
27262
- error: ee,
27263
- slideCount: () => Y.value.length,
27266
+ filePath: V,
27267
+ fileName: () => N.value.fileName,
27268
+ storage: () => N.value.storage,
27269
+ loading: te,
27270
+ error: ne,
27271
+ slideCount: () => Z.value.length,
27264
27272
  autosaveAllowed: () => !1 !== v.autosave,
27265
27273
  onOffered: (e) => h("autosave-recovery", e),
27266
27274
  onRestore: (e) => {
27267
- N.internalContent.value = e;
27275
+ T.internalContent.value = e;
27268
27276
  }
27269
- }), Zn = function(e) {
27277
+ }), Jn = function(e) {
27270
27278
  const { handler: t, slideMasters: n, canvasSize: o, slideSize: r, slides: i, templateElementsBySlideId: s, pptxTheme: c, themeColorMap: d, coreProperties: p, appProperties: u, customProperties: m, tagCollections: v, markDirty: g, pushHistory: f } = e, x = (0, l.ref)(null);
27271
27279
  function y(e) {
27272
27280
  const t = Math.max(1, Math.round(e.width)), n = Math.max(1, Math.round(e.height));
@@ -27338,24 +27346,24 @@ var UG = ["aria-busy", "tabindex"], HG = {
27338
27346
  }
27339
27347
  };
27340
27348
  }({
27341
- handler: Se,
27342
- slideMasters: pe,
27343
- canvasSize: Z,
27344
- slideSize: q.slideSize,
27345
- slides: Y,
27346
- templateElementsBySlideId: X,
27347
- pptxTheme: be,
27348
- themeColorMap: ke,
27349
- coreProperties: ne,
27350
- appProperties: re,
27351
- customProperties: oe,
27352
- tagCollections: se,
27349
+ handler: Ce,
27350
+ slideMasters: me,
27351
+ canvasSize: J,
27352
+ slideSize: X.slideSize,
27353
+ slides: Z,
27354
+ templateElementsBySlideId: Q,
27355
+ pptxTheme: Se,
27356
+ themeColorMap: Ee,
27357
+ coreProperties: ae,
27358
+ appProperties: ce,
27359
+ customProperties: le,
27360
+ tagCollections: de,
27353
27361
  markDirty: () => {
27354
- Gn.isDirty.value = !0;
27362
+ $n.isDirty.value = !0;
27355
27363
  },
27356
27364
  onCorePropertiesChanged: (e) => h("properties-change", e),
27357
- pushHistory: at.pushHistory
27358
- }), Qn = function(e) {
27365
+ pushHistory: rt.pushHistory
27366
+ }), eo = function(e) {
27359
27367
  const { tableStyleMap: t, tableStylesToDelete: n, markDirty: o } = e;
27360
27368
  return {
27361
27369
  onTableStyleMapChange: function(e) {
@@ -27374,105 +27382,105 @@ var UG = ["aria-busy", "tabindex"], HG = {
27374
27382
  }
27375
27383
  };
27376
27384
  }({
27377
- tableStyleMap: q.tableStyleMap,
27378
- tableStylesToDelete: q.tableStylesToDelete,
27385
+ tableStyleMap: X.tableStyleMap,
27386
+ tableStylesToDelete: X.tableStylesToDelete,
27379
27387
  markDirty: () => {
27380
- Gn.isDirty.value = !0;
27388
+ $n.isDirty.value = !0;
27381
27389
  }
27382
- }), Jn = (0, l.computed)(() => v.authorName || _.value.general.userName || "You"), eo = e.useCommentsWiring({
27383
- activeSlide: Me,
27384
- activeSlideIndex: Ae,
27385
- slides: Y,
27386
- authorName: Jn,
27387
- pushHistory: at.pushHistory
27388
- }), no = e.useCollaborationWiring({
27389
- slides: Y,
27390
- history: at,
27391
- slidesPaused: () => Hn.value,
27392
- loadVersion: F,
27393
- getLoadOrigin: () => N.loadOrigin.value,
27394
- getTemplateElements: () => X.value,
27390
+ }), no = (0, l.computed)(() => v.authorName || M.value.general.userName || "You"), oo = e.useCommentsWiring({
27391
+ activeSlide: Re,
27392
+ activeSlideIndex: Me,
27393
+ slides: Z,
27394
+ authorName: no,
27395
+ pushHistory: rt.pushHistory
27396
+ }), ao = e.useCollaborationWiring({
27397
+ slides: Z,
27398
+ history: rt,
27399
+ slidesPaused: () => Kn.value,
27400
+ loadVersion: D,
27401
+ getLoadOrigin: () => T.loadOrigin.value,
27402
+ getTemplateElements: () => Q.value,
27395
27403
  getSourceBytes: () => {
27396
- const e = T.value;
27404
+ const e = P.value;
27397
27405
  return e ? e instanceof Uint8Array ? e : new Uint8Array(e) : null;
27398
27406
  },
27399
27407
  getSaveOptions: () => (0, a.buildDeckSaveOptions)({
27400
- headerFooter: xe.value,
27401
- presentationProperties: ge.value,
27402
- viewProperties: fe.value,
27403
- customShows: me.value,
27404
- sections: ue.value,
27405
- coreProperties: ne.value,
27406
- appProperties: re.value,
27407
- customProperties: oe.value,
27408
- tagCollections: se.value,
27409
- slideMasters: pe.value,
27410
- notesMaster: ye.value,
27411
- handoutMaster: he.value,
27408
+ headerFooter: he.value,
27409
+ presentationProperties: xe.value,
27410
+ viewProperties: ye.value,
27411
+ customShows: ge.value,
27412
+ sections: ve.value,
27413
+ coreProperties: ae.value,
27414
+ appProperties: ce.value,
27415
+ customProperties: le.value,
27416
+ tagCollections: de.value,
27417
+ slideMasters: me.value,
27418
+ notesMaster: be.value,
27419
+ handoutMaster: ke.value,
27412
27420
  slideSize: (0, a.resolveSlideSizeSelection)({
27413
- current: q.slideSize.value,
27414
- canvas: Z.value
27421
+ current: X.slideSize.value,
27422
+ canvas: J.value
27415
27423
  }).size,
27416
- tableStyleMap: de.value,
27417
- tableStylesDefaultId: q.tableStylesDefaultId.value,
27418
- tableStylesToDelete: q.tableStylesToDelete.value,
27419
- embedFonts: io.embedFontsEnabled.value
27424
+ tableStyleMap: ue.value,
27425
+ tableStylesDefaultId: X.tableStylesDefaultId.value,
27426
+ tableStylesToDelete: X.tableStylesToDelete.value,
27427
+ embedFonts: po.embedFontsEnabled.value
27420
27428
  }),
27421
27429
  initialUserColor: (0, a.resolveCollaborationConfig)(v.collaboration)?.userColor,
27422
- canvasWidth: (0, l.computed)(() => Z.value.width),
27423
- canvasHeight: (0, l.computed)(() => Z.value.height),
27430
+ canvasWidth: (0, l.computed)(() => J.value.width),
27431
+ canvasHeight: (0, l.computed)(() => J.value.height),
27424
27432
  collaborationProp: () => v.collaboration,
27425
- selectedElementIds: Xe,
27426
- activeSlideIndex: Ae,
27427
- goTo: Oe,
27428
- effectiveZoom: Ge,
27433
+ selectedElementIds: Qe,
27434
+ activeSlideIndex: Me,
27435
+ goTo: Le,
27436
+ effectiveZoom: $e,
27429
27437
  authorName: () => v.authorName,
27430
27438
  onStartCollaboration: (e) => h("start-collaboration", e),
27431
27439
  onStopCollaboration: () => h("stop-collaboration")
27432
27440
  });
27433
- (0, l.watch)(no.collab.readOnly, (e) => {
27434
- e && !Te.value && xt.commitInlineEdit(), Te.value = e;
27441
+ (0, l.watch)(ao.collab.readOnly, (e) => {
27442
+ e && !Pe.value && ht.commitInlineEdit(), Pe.value = e;
27435
27443
  }, {
27436
27444
  immediate: !0,
27437
27445
  flush: "sync"
27438
27446
  });
27439
- const oo = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
27440
- (0, l.watch)(no.collab.state, (e) => oo.update(e), {
27447
+ const lo = (0, a.createCollaborationStateReporter)((e) => h("collaboration-change", e));
27448
+ (0, l.watch)(ao.collab.state, (e) => lo.update(e), {
27441
27449
  immediate: !0,
27442
27450
  flush: "sync"
27443
27451
  });
27444
- const ao = e.useSignatureWorkflow({
27445
- signatures: ce,
27446
- isDirty: Gn.isDirty
27447
- }), lo = e.useSlideShowSettings({ presentationProperties: ge }), io = e.useFontEmbedding({
27448
- slides: Y,
27449
- embeddedFonts: q.embeddedFonts
27450
- }), co = (0, l.ref)([]);
27451
- function po(e) {
27452
- co.value.includes(e) || (co.value = [...co.value, e]);
27453
- }
27454
- const mo = e.useSelectionPaneWiring({
27455
- findActiveElement: Je,
27456
- activeSlide: Me,
27457
- selectedElementIds: Xe,
27458
- ops: lt
27459
- }), vo = e.useDocumentPropertiesDialog({
27460
- coreProperties: ne,
27461
- customProperties: oe,
27462
- appProperties: re,
27452
+ const io = e.useSignatureWorkflow({
27453
+ signatures: pe,
27454
+ isDirty: $n.isDirty
27455
+ }), co = e.useSlideShowSettings({ presentationProperties: xe }), po = e.useFontEmbedding({
27456
+ slides: Z,
27457
+ embeddedFonts: X.embeddedFonts
27458
+ }), mo = (0, l.ref)([]);
27459
+ function vo(e) {
27460
+ mo.value.includes(e) || (mo.value = [...mo.value, e]);
27461
+ }
27462
+ const go = e.useSelectionPaneWiring({
27463
+ findActiveElement: tt,
27464
+ activeSlide: Re,
27465
+ selectedElementIds: Qe,
27466
+ ops: it
27467
+ }), fo = e.useDocumentPropertiesDialog({
27468
+ coreProperties: ae,
27469
+ customProperties: le,
27470
+ appProperties: ce,
27463
27471
  onCorePropertiesChanged: (e) => h("properties-change", e)
27464
- }), go = e.useHeaderFooterDialog({ headerFooter: xe }), fo = e.useVersionHistoryWiring({
27465
- slides: Y,
27466
- pushHistory: at.pushHistory
27467
- }), xo = e.useCustomShowsWiring({
27468
- customShows: me,
27469
- slides: Y,
27470
- activeSlideIndex: Ae,
27471
- activeSlide: Me,
27472
- presentationProperties: ge,
27473
- pushHistory: at.pushHistory,
27474
- startShow: () => Rt.presentFromBeginning()
27475
- }), yo = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(ge.value, Y.value.length) ?? null), ho = function(t) {
27472
+ }), xo = e.useHeaderFooterDialog({ headerFooter: he }), yo = e.useVersionHistoryWiring({
27473
+ slides: Z,
27474
+ pushHistory: rt.pushHistory
27475
+ }), ho = e.useCustomShowsWiring({
27476
+ customShows: ge,
27477
+ slides: Z,
27478
+ activeSlideIndex: Me,
27479
+ activeSlide: Re,
27480
+ presentationProperties: xe,
27481
+ pushHistory: rt.pushHistory,
27482
+ startShow: () => Ut.presentFromBeginning()
27483
+ }), bo = (0, l.computed)(() => (0, a.resolveAuthoredSlideRange)(xe.value, Z.value.length) ?? null), ko = function(t) {
27476
27484
  const n = e.useMasterViewState();
27477
27485
  function o() {
27478
27486
  return {
@@ -27542,69 +27550,69 @@ var UG = ["aria-busy", "tabindex"], HG = {
27542
27550
  }
27543
27551
  };
27544
27552
  }({
27545
- slideMasters: pe,
27546
- notesMaster: ye,
27547
- handoutMaster: he,
27553
+ slideMasters: me,
27554
+ notesMaster: be,
27555
+ handoutMaster: ke,
27548
27556
  markDirty: () => {
27549
- Gn.isDirty.value = !0;
27557
+ $n.isDirty.value = !0;
27550
27558
  }
27551
- }), bo = IG({
27552
- handler: Se,
27553
- slideMasters: pe,
27554
- layoutOptions: q.layoutOptions,
27555
- deckData: () => VG(q),
27559
+ }), So = IG({
27560
+ handler: Ce,
27561
+ slideMasters: me,
27562
+ layoutOptions: X.layoutOptions,
27563
+ deckData: () => VG(X),
27556
27564
  target: () => ({
27557
- tab: ho.masterViewTab.value,
27558
- masterIndex: ho.activeMasterIndex.value,
27559
- layoutIndex: ho.activeLayoutIndex.value
27565
+ tab: ko.masterViewTab.value,
27566
+ masterIndex: ko.activeMasterIndex.value,
27567
+ layoutIndex: ko.activeLayoutIndex.value
27560
27568
  }),
27561
- onSelectMaster: ho.onSelectMaster,
27562
- onSelectLayout: ho.onSelectLayout,
27569
+ onSelectMaster: ko.onSelectMaster,
27570
+ onSelectLayout: ko.onSelectLayout,
27563
27571
  markDirty: () => {
27564
- Gn.isDirty.value = !0;
27572
+ $n.isDirty.value = !0;
27565
27573
  },
27566
- pushHistory: at.pushHistory,
27567
- forgetHistory: at.forgetHistory
27568
- }), ko = e.useSectionOperations({
27569
- sections: ue,
27570
- slides: Y,
27571
- activeSlideIndex: Ae,
27572
- pushHistory: at.pushHistory
27573
- }), So = (0, l.computed)(() => ue.value.length > 0);
27574
- const Eo = (0, l.ref)(null);
27574
+ pushHistory: rt.pushHistory,
27575
+ forgetHistory: rt.forgetHistory
27576
+ }), Eo = e.useSectionOperations({
27577
+ sections: ve,
27578
+ slides: Z,
27579
+ activeSlideIndex: Me,
27580
+ pushHistory: rt.pushHistory
27581
+ }), Co = (0, l.computed)(() => ve.value.length > 0);
27582
+ const wo = (0, l.ref)(null);
27575
27583
  (0, l.watchEffect)((e) => {
27576
- const t = Eo.value, n = Fe.value;
27584
+ const t = wo.value, n = De.value;
27577
27585
  t && e((0, a.attachViewerHyperlinks)(t, {
27578
27586
  getState: () => ({
27579
- slide: tt.value[Ae.value],
27580
- slideCount: tt.value.length,
27581
- currentSlideIndex: Ae.value,
27587
+ slide: ot.value[Me.value],
27588
+ slideCount: ot.value.length,
27589
+ currentSlideIndex: Me.value,
27582
27590
  editable: n,
27583
- presenting: Rt.presenting.value
27591
+ presenting: Ut.presenting.value
27584
27592
  }),
27585
- goToSlide: Oe,
27593
+ goToSlide: Le,
27586
27594
  onHyperlinkClick: (e) => v.onHyperlinkClick?.(e),
27587
- confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(_.value, e) || (0, a.confirmExternalHyperlinkDialog)(e, {
27595
+ confirmExternalHyperlink: (e) => !(0, a.shouldConfirmExternalHyperlink)(M.value, e) || (0, a.confirmExternalHyperlinkDialog)(e, {
27588
27596
  t: b,
27589
27597
  host: t
27590
27598
  })
27591
27599
  }));
27592
27600
  }, { flush: "post" });
27593
- const { isMobile: Co, isTouchDevice: wo } = e.useIsMobile(768), { keyboardInset: Bo } = e.useKeyboardInsets(), No = (0, l.ref)(null), Vo = (0, l.ref)(null);
27601
+ const { isMobile: Bo, isTouchDevice: No } = e.useIsMobile(768), { keyboardInset: Vo } = e.useKeyboardInsets(), To = (0, l.ref)(null), Fo = (0, l.ref)(null);
27594
27602
  e.useTouchGestures({
27595
- targetRef: No,
27596
- currentScale: Ue,
27603
+ targetRef: To,
27604
+ currentScale: Ge,
27597
27605
  minScale: a.MIN_ZOOM_SCALE,
27598
27606
  maxScale: a.MAX_ZOOM_SCALE,
27599
- enabled: wo,
27607
+ enabled: No,
27600
27608
  callbacks: {
27601
27609
  onPinchZoom: (e) => {
27602
- Ue.value = Number(e.toFixed(2));
27610
+ Ge.value = Number(e.toFixed(2));
27603
27611
  },
27604
27612
  onLongPress: (e, t) => {
27605
- if (!Fe.value || Rt.presenting.value) return;
27606
- const n = Xe.value[0];
27607
- n && (On.value = {
27613
+ if (!De.value || Ut.presenting.value) return;
27614
+ const n = Qe.value[0];
27615
+ n && (Ln.value = {
27608
27616
  open: !0,
27609
27617
  x: e,
27610
27618
  y: t,
@@ -27613,74 +27621,74 @@ var UG = ["aria-busy", "tabindex"], HG = {
27613
27621
  }
27614
27622
  }
27615
27623
  });
27616
- const To = e.useMobileChrome({ presenting: Rt.presenting }), Fo = e.useRibbonActions({
27617
- readInlineSnapshot: xt.readInlineSnapshot,
27618
- formatInlineSnapshot: xt.formatInlineSnapshot,
27619
- endInlineListSession: xt.endInlineListSession,
27624
+ const Po = e.useMobileChrome({ presenting: Ut.presenting }), Do = e.useRibbonActions({
27625
+ readInlineSnapshot: ht.readInlineSnapshot,
27626
+ formatInlineSnapshot: ht.formatInlineSnapshot,
27627
+ endInlineListSession: ht.endInlineListSession,
27620
27628
  listConversionScope: () => v.listConversionScope,
27621
- canEdit: () => Fe.value,
27622
- presenting: Rt.presenting,
27623
- showMasterView: ho.showMasterView,
27624
- tableSelection: _e,
27625
- selectedElements: et,
27626
- selectedElementIds: Xe,
27627
- activeSlide: Me,
27628
- activeSlideIndex: Ae,
27629
- slides: Y,
27630
- pushHistory: at.pushHistory,
27631
- ops: lt
27632
- }), { ribbonMode: Po, ribbonUpdateTextStyle: Do, ribbonMoveToEdge: Io } = Fo, _o = (0, l.computed)(() => "preview" === Po.value && Ve.value ? "edit" : Po.value);
27633
- (0, l.watch)(Po, (e) => {
27629
+ canEdit: () => De.value,
27630
+ presenting: Ut.presenting,
27631
+ showMasterView: ko.showMasterView,
27632
+ tableSelection: ze,
27633
+ selectedElements: nt,
27634
+ selectedElementIds: Qe,
27635
+ activeSlide: Re,
27636
+ activeSlideIndex: Me,
27637
+ slides: Z,
27638
+ pushHistory: rt.pushHistory,
27639
+ ops: it
27640
+ }), { ribbonMode: Io, ribbonUpdateTextStyle: _o, ribbonMoveToEdge: Ao } = Do, zo = (0, l.computed)(() => "preview" === Io.value && Fe.value ? "edit" : Io.value);
27641
+ (0, l.watch)(Io, (e) => {
27634
27642
  h("mode-change", e);
27635
- }), (0, l.watch)(() => "present" === Po.value, (e) => h("presentation-change", e));
27636
- const { showShortcuts: Ao, onEditorKeydown: zo, copySelected: Mo, cutSelected: Oo, selectAllElements: Ro } = e.useEditorKeyboard({
27637
- canEdit: () => Fe.value,
27638
- canPaste: () => zt.hasClipboard.value && Boolean(Me.value),
27639
- hasSelection: qe.hasSelection,
27640
- presenting: Rt.presenting,
27641
- findOpen: Ht,
27642
- selectedElementIds: Xe,
27643
- activeSlide: Me,
27644
- activeSlideIndex: Ae,
27645
- slides: Y,
27646
- templateElementsBySlideId: X,
27647
- pushHistory: at.pushHistory,
27648
- undo: at.undo,
27649
- redo: at.redo,
27650
- copyElement: zt.copyElement,
27651
- cutElement: zt.cutElement,
27652
- pasteElement: Ot,
27653
- onPasteSpecial: Mt.openPasteSpecialDialog,
27654
- duplicateSelected: Pt,
27655
- deleteSelected: Ft,
27656
- goPrev: Re,
27657
- goNext: Le,
27658
- onEscape: Et,
27659
- onGroup: fn,
27660
- onUngroup: xn,
27661
- presentFromBeginning: Rt.presentFromBeginning,
27662
- startPresenting: Rt.startPresenting,
27663
- inlineEditingElementId: xt.inlineEditingElementId,
27664
- tableEditorIsEditing: () => null !== _e.value,
27665
- activeTool: () => kn.value,
27666
- selectedElements: et,
27667
- selectElement: qe.selectElement,
27668
- ribbonUpdateTextStyle: Do,
27669
- addSlide: () => At.addSlide(),
27670
- openHyperlinkForSelection: Ut.openHyperlinkForSelection,
27671
- toggleFormatPainter: vt,
27672
- applyFormatToTarget: ft,
27673
- cancelFormatPainter: gt,
27674
- customization: () => A.resolved.value
27675
- }), Lo = (0, l.computed)(() => Co.value || !Cn.value && !dt.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), Uo = (0, l.ref)(null), Ho = (0, l.ref)(0);
27643
+ }), (0, l.watch)(() => "present" === Io.value, (e) => h("presentation-change", e));
27644
+ const { showShortcuts: Mo, onEditorKeydown: Oo, copySelected: Ro, cutSelected: Lo, selectAllElements: Uo } = e.useEditorKeyboard({
27645
+ canEdit: () => De.value,
27646
+ canPaste: () => Ot.hasClipboard.value && Boolean(Re.value),
27647
+ hasSelection: Xe.hasSelection,
27648
+ presenting: Ut.presenting,
27649
+ findOpen: Kt,
27650
+ selectedElementIds: Qe,
27651
+ activeSlide: Re,
27652
+ activeSlideIndex: Me,
27653
+ slides: Z,
27654
+ templateElementsBySlideId: Q,
27655
+ pushHistory: rt.pushHistory,
27656
+ undo: rt.undo,
27657
+ redo: rt.redo,
27658
+ copyElement: Ot.copyElement,
27659
+ cutElement: Ot.cutElement,
27660
+ pasteElement: Lt,
27661
+ onPasteSpecial: Rt.openPasteSpecialDialog,
27662
+ duplicateSelected: It,
27663
+ deleteSelected: Dt,
27664
+ goPrev: Ue,
27665
+ goNext: He,
27666
+ onEscape: wt,
27667
+ onGroup: yn,
27668
+ onUngroup: hn,
27669
+ presentFromBeginning: Ut.presentFromBeginning,
27670
+ startPresenting: Ut.startPresenting,
27671
+ inlineEditingElementId: ht.inlineEditingElementId,
27672
+ tableEditorIsEditing: () => null !== ze.value,
27673
+ activeTool: () => En.value,
27674
+ selectedElements: nt,
27675
+ selectElement: Xe.selectElement,
27676
+ ribbonUpdateTextStyle: _o,
27677
+ addSlide: () => Mt.addSlide(),
27678
+ openHyperlinkForSelection: Gt.openHyperlinkForSelection,
27679
+ toggleFormatPainter: ft,
27680
+ applyFormatToTarget: yt,
27681
+ cancelFormatPainter: xt,
27682
+ customization: () => L.resolved.value
27683
+ }), Ho = (0, l.computed)(() => Bo.value || !Bn.value && !ut.value ? 0 : a.INSPECTOR_PANEL_DEFAULT_WIDTH), Go = (0, l.ref)(null), Ko = (0, l.ref)(0);
27676
27684
  (0, l.watchEffect)((e) => {
27677
- const t = Uo.value?.$el;
27678
- if (!(t instanceof HTMLElement)) return void (Ho.value = 0);
27685
+ const t = Go.value?.$el;
27686
+ if (!(t instanceof HTMLElement)) return void (Ko.value = 0);
27679
27687
  const n = (0, a.observeElementHeight)(t, (e) => {
27680
- Ho.value = e;
27688
+ Ko.value = e;
27681
27689
  });
27682
27690
  e(() => {
27683
- n(), Ho.value = 0;
27691
+ n(), Ko.value = 0;
27684
27692
  });
27685
27693
  }), function(e) {
27686
27694
  const { viewProperties: t, loadVersion: n, snapToGrid: o, snapToObjects: r, showGuides: i } = e;
@@ -27717,65 +27725,65 @@ var UG = ["aria-busy", "tabindex"], HG = {
27717
27725
  };
27718
27726
  }, { flush: "sync" });
27719
27727
  }({
27720
- viewProperties: fe,
27721
- loadVersion: F,
27722
- snapToGrid: wt.snapToGrid,
27723
- snapToObjects: wt.snapToShape,
27724
- showGuides: Tn
27728
+ viewProperties: ye,
27729
+ loadVersion: D,
27730
+ snapToGrid: Nt.snapToGrid,
27731
+ snapToObjects: Nt.snapToShape,
27732
+ showGuides: Pn
27725
27733
  });
27726
- const Go = (0, l.ref)(!1), Ko = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(_.value, "pptx-vue")), $o = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
27734
+ const $o = (0, l.ref)(!1), jo = (0, l.computed)(() => (0, a.resolveOptionRootClasses)(M.value, "pptx-vue")), Wo = (0, l.computed)(() => (0, a.resolve3DRenderingFlags)({
27727
27735
  smartArt3D: v.smartArt3D,
27728
27736
  surfaceChart3D: v.surfaceChart3D,
27729
27737
  barChart3D: v.barChart3D,
27730
27738
  lineChart3D: v.lineChart3D,
27731
27739
  areaChart3D: v.areaChart3D,
27732
27740
  pieChart3D: v.pieChart3D
27733
- }, _.value));
27734
- (0, l.provide)(e.Rendering3DFlagsKey, $o);
27735
- const jo = (0, l.computed)(() => ({
27736
- smartArt3d: $o.value.smartArt3D,
27737
- collaboration: no.collabActive.value
27738
- })), { showSettings: Wo } = e.useViewerSettingsDialog({
27739
- autoSave: Kn,
27740
- spellCheck: Fn,
27741
- showGrid: Nn,
27742
- showRulers: Vn,
27743
- snapToGrid: wt.snapToGrid,
27744
- reducedMotion: Go,
27745
- optionsStore: D,
27746
- viewerOptions: _
27741
+ }, M.value));
27742
+ (0, l.provide)(e.Rendering3DFlagsKey, Wo);
27743
+ const qo = (0, l.computed)(() => ({
27744
+ smartArt3d: Wo.value.smartArt3D,
27745
+ collaboration: ao.collabActive.value
27746
+ })), { showSettings: Yo } = e.useViewerSettingsDialog({
27747
+ autoSave: jn,
27748
+ spellCheck: In,
27749
+ showGrid: Tn,
27750
+ showRulers: Fn,
27751
+ snapToGrid: Nt.snapToGrid,
27752
+ reducedMotion: $o,
27753
+ optionsStore: A,
27754
+ viewerOptions: M
27747
27755
  });
27748
- function qo() {
27749
- (0, a.clearAutosaveSnapshots)(w.value.storage).catch(() => {});
27756
+ function Xo() {
27757
+ (0, a.clearAutosaveSnapshots)(N.value.storage).catch(() => {});
27750
27758
  }
27751
- function Yo() {
27752
- (0, a.shouldClearAutosaveCacheOnClose)(_.value) && qo();
27759
+ function Zo() {
27760
+ (0, a.shouldClearAutosaveCacheOnClose)(M.value) && Xo();
27753
27761
  }
27754
- (0, l.watch)(() => Gn.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(Kn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)(Gn.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => no.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
27755
- (0, a.pruneExpiredAutosaveSnapshots)(_.value, w.value.storage).catch(() => {});
27756
- }), "undefined" != typeof window && window.addEventListener("beforeunload", Yo), (0, l.onBeforeUnmount)(() => {
27757
- "undefined" != typeof window && window.removeEventListener("beforeunload", Yo), Yo();
27762
+ (0, l.watch)(() => $n.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(jn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)($n.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => ao.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
27763
+ (0, a.pruneExpiredAutosaveSnapshots)(M.value, N.value.storage).catch(() => {});
27764
+ }), "undefined" != typeof window && window.addEventListener("beforeunload", Zo), (0, l.onBeforeUnmount)(() => {
27765
+ "undefined" != typeof window && window.removeEventListener("beforeunload", Zo), Zo();
27758
27766
  });
27759
- const { drawingActive: Xo, addInkStroke: Zo, eraseInkAt: Qo } = e.useInkDrawing({
27760
- canEdit: () => Fe.value,
27761
- presenting: Rt.presenting,
27762
- activeTool: kn,
27763
- activeSlide: Me,
27764
- selectedElementIds: Xe,
27765
- ops: lt
27766
- }), Jo = e.useThemeEditing({
27767
- handler: Se,
27768
- slides: Y,
27769
- pptxTheme: be,
27770
- themeColorMap: ke,
27771
- pushHistory: at.pushHistory,
27772
- themeGalleryOpen: Pn,
27773
- themeEditorOpen: In,
27774
- templateElementsBySlideId: X,
27775
- loadedThemeName: ot
27767
+ const { drawingActive: Qo, addInkStroke: Jo, eraseInkAt: ea } = e.useInkDrawing({
27768
+ canEdit: () => De.value,
27769
+ presenting: Ut.presenting,
27770
+ activeTool: En,
27771
+ activeSlide: Re,
27772
+ selectedElementIds: Qe,
27773
+ ops: it
27774
+ }), ta = e.useThemeEditing({
27775
+ handler: Ce,
27776
+ slides: Z,
27777
+ pptxTheme: Se,
27778
+ themeColorMap: Ee,
27779
+ pushHistory: rt.pushHistory,
27780
+ themeGalleryOpen: _n,
27781
+ themeEditorOpen: An,
27782
+ templateElementsBySlideId: Q,
27783
+ loadedThemeName: lt
27776
27784
  });
27777
- function ea(e) {
27778
- Jo.applyThemeUpdates(e);
27785
+ function na(e) {
27786
+ ta.applyThemeUpdates(e);
27779
27787
  }
27780
27788
  Wn({
27781
27789
  deckStyle: function(e) {
@@ -27803,27 +27811,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
27803
27811
  }
27804
27812
  }));
27805
27813
  }({
27806
- held: Hn,
27807
- heldDeck: W,
27808
- slides: Y,
27809
- templateElementsBySlideId: X,
27810
- pptxTheme: be,
27811
- themeColorMap: ke,
27812
- handler: Se,
27813
- selectedSlideIds: () => Me.value ? [Me.value.id] : [],
27814
- pushHistory: at.pushHistory
27814
+ held: Kn,
27815
+ heldDeck: Y,
27816
+ slides: Z,
27817
+ templateElementsBySlideId: Q,
27818
+ pptxTheme: Se,
27819
+ themeColorMap: Ee,
27820
+ handler: Ce,
27821
+ selectedSlideIds: () => Re.value ? [Re.value.id] : [],
27822
+ pushHistory: rt.pushHistory
27815
27823
  }),
27816
- activeSlide: () => Me.value ?? null,
27817
- editable: () => Fe.value,
27818
- selectedElement: () => et.value[0] ?? null,
27819
- theme: be,
27820
- themeColorMap: ke,
27821
- handler: Se,
27822
- tableSelection: () => _e.value,
27823
- updateElement: (e, t) => lt.updateElement(e, t),
27824
- applyTheme: ea
27824
+ activeSlide: () => Re.value ?? null,
27825
+ editable: () => De.value,
27826
+ selectedElement: () => nt.value[0] ?? null,
27827
+ theme: Se,
27828
+ themeColorMap: Ee,
27829
+ handler: Ce,
27830
+ tableSelection: () => ze.value,
27831
+ updateElement: (e, t) => it.updateElement(e, t),
27832
+ applyTheme: na
27825
27833
  });
27826
- const ta = function(e) {
27834
+ const oa = function(e) {
27827
27835
  return (0, i.createPptxAiBridge)({
27828
27836
  getSlides: () => e.slides.value,
27829
27837
  getActiveSlideIndex: () => e.activeSlideIndex.value,
@@ -27896,267 +27904,267 @@ var UG = ["aria-busy", "tabindex"], HG = {
27896
27904
  });
27897
27905
  }({
27898
27906
  onCorePropertiesChanged: (e) => h("properties-change", e),
27899
- slides: Y,
27900
- activeSlideIndex: Ae,
27901
- canvasSize: Z,
27902
- theme: be,
27903
- handler: Se,
27904
- sections: ue,
27905
- customShows: me,
27906
- presentationProperties: ge,
27907
- customProperties: oe,
27908
- coreProperties: ne,
27909
- appProperties: re,
27910
- viewProperties: fe,
27911
- tableStyleMap: de,
27912
- tableStylesDefaultId: q.tableStylesDefaultId,
27913
- tagCollections: se,
27914
- fileName: () => w.value.fileName,
27915
- pushHistory: at.pushHistory,
27907
+ slides: Z,
27908
+ activeSlideIndex: Me,
27909
+ canvasSize: J,
27910
+ theme: Se,
27911
+ handler: Ce,
27912
+ sections: ve,
27913
+ customShows: ge,
27914
+ presentationProperties: xe,
27915
+ customProperties: le,
27916
+ coreProperties: ae,
27917
+ appProperties: ce,
27918
+ viewProperties: ye,
27919
+ tableStyleMap: ue,
27920
+ tableStylesDefaultId: X.tableStylesDefaultId,
27921
+ tagCollections: de,
27922
+ fileName: () => N.value.fileName,
27923
+ pushHistory: rt.pushHistory,
27916
27924
  markDirty: () => {
27917
- Gn.isDirty.value = !0;
27925
+ $n.isDirty.value = !0;
27918
27926
  },
27919
- goTo: Oe,
27927
+ goTo: Le,
27920
27928
  setSelection: (e) => {
27921
- Xe.value = e;
27929
+ Qe.value = e;
27922
27930
  },
27923
- applyThemeUpdates: ea,
27924
- selectedElementIds: () => Xe.value,
27925
- pinnedFocus: () => pt.pinnedFocus.value,
27926
- pickedFocus: () => pt.pickTargets.value
27927
- }), na = (oa = {
27928
- canEdit: () => Fe.value,
27929
- isMobile: Co,
27930
- zoom: Ue,
27931
- zoomIn: Ke,
27932
- zoomOut: $e,
27933
- zoomReset: je,
27934
- findOpen: Ht,
27935
- activeSlide: Me,
27936
- activeSlideIndex: Ae,
27937
- showA11y: Jt,
27938
- showShortcuts: Ao,
27939
- showSettings: Wo,
27940
- deck: q,
27941
- embeddedFontFamilies: io.embeddedFontNames,
27942
- customFontFamilies: co,
27943
- ui: bn,
27944
- selection: qe,
27945
- history: at,
27931
+ applyThemeUpdates: na,
27932
+ selectedElementIds: () => Qe.value,
27933
+ pinnedFocus: () => mt.pinnedFocus.value,
27934
+ pickedFocus: () => mt.pickTargets.value
27935
+ }), aa = (la = {
27936
+ canEdit: () => De.value,
27937
+ isMobile: Bo,
27938
+ zoom: Ge,
27939
+ zoomIn: je,
27940
+ zoomOut: We,
27941
+ zoomReset: qe,
27942
+ findOpen: Kt,
27943
+ activeSlide: Re,
27944
+ activeSlideIndex: Me,
27945
+ showA11y: tn,
27946
+ showShortcuts: Mo,
27947
+ showSettings: Yo,
27948
+ deck: X,
27949
+ embeddedFontFamilies: po.embeddedFontNames,
27950
+ customFontFamilies: mo,
27951
+ ui: Sn,
27952
+ selection: Xe,
27953
+ history: rt,
27946
27954
  arrange: {
27947
- bringForward: Dt,
27948
- sendBackward: It,
27949
- duplicateSelected: Pt,
27950
- deleteSelected: Ft,
27951
- canDistribute: pn,
27952
- onAlign: vn,
27953
- onDistribute: gn,
27954
- onGroup: fn,
27955
- onUngroup: xn
27955
+ bringForward: _t,
27956
+ sendBackward: At,
27957
+ duplicateSelected: It,
27958
+ deleteSelected: Dt,
27959
+ canDistribute: vn,
27960
+ onAlign: fn,
27961
+ onDistribute: xn,
27962
+ onGroup: yn,
27963
+ onUngroup: hn
27956
27964
  },
27957
27965
  editing: {
27958
- clipboard: zt.clipboard,
27959
- pasteElement: Ot,
27960
- copySelected: Mo,
27961
- cutSelected: Oo,
27962
- formatPainterActive: ut,
27963
- canActivateFormatPainter: mt,
27964
- toggleFormatPainter: vt,
27966
+ clipboard: Ot.clipboard,
27967
+ pasteElement: Lt,
27968
+ copySelected: Ro,
27969
+ cutSelected: Lo,
27970
+ formatPainterActive: vt,
27971
+ canActivateFormatPainter: gt,
27972
+ toggleFormatPainter: ft,
27965
27973
  updateSelectedShapeStyle: function(t) {
27966
- const n = et.value[0];
27967
- n && (0, e.dist_exports.hasShapeProperties)(n) && lt.updateElement(n.id, { shapeStyle: {
27974
+ const n = nt.value[0];
27975
+ n && (0, e.dist_exports.hasShapeProperties)(n) && it.updateElement(n.id, { shapeStyle: {
27968
27976
  ...n.shapeStyle,
27969
27977
  ...t
27970
27978
  } });
27971
27979
  },
27972
- openHyperlinkForSelection: Ut.openHyperlinkForSelection
27980
+ openHyperlinkForSelection: Gt.openHyperlinkForSelection
27973
27981
  },
27974
27982
  slideMutations: {
27975
- toggleSlideHidden: nn,
27976
- onAddAnimation: rn,
27977
- onRemoveAnimation: sn,
27978
- onTransitionChange: an,
27979
- onApplyTransitionToAll: ln
27983
+ toggleSlideHidden: an,
27984
+ onAddAnimation: cn,
27985
+ onRemoveAnimation: dn,
27986
+ onTransitionChange: rn,
27987
+ onApplyTransitionToAll: sn
27980
27988
  },
27981
27989
  slideCommands: {
27982
- addSection: ko.addSection,
27990
+ addSection: Eo.addSection,
27983
27991
  defaultSectionName: () => b("pptx.sections.defaultName"),
27984
- selectAllElements: Ro,
27985
- clearSelection: nt
27992
+ selectAllElements: Uo,
27993
+ clearSelection: at
27986
27994
  },
27987
- presentationProperties: ge,
27988
- ribbonActions: Fo,
27989
- chromeMode: _o,
27990
- drag: wt,
27991
- insertion: Bt,
27992
- templateInsertion: Tt,
27993
- insertDialogs: ht,
27994
- exporter: Kt,
27995
- printer: Zt,
27996
- presentation: Rt,
27997
- deckViews: Qt,
27998
- comments: eo,
27999
- collaboration: no,
28000
- customShows: xo,
28001
- versionHistory: fo,
28002
- documentProperties: vo,
28003
- fontEmbedding: io,
28004
- signatureWorkflow: ao,
28005
- selectionPane: mo,
28006
- slideShow: lo,
28007
- password: P,
28008
- masterView: ho,
28009
- headerFooterDialog: go,
28010
- handleOpenFile: N.handleOpenFile,
28011
- handleOpenRecentFile: N.handleOpenRecentFile,
27995
+ presentationProperties: xe,
27996
+ ribbonActions: Do,
27997
+ chromeMode: zo,
27998
+ drag: Nt,
27999
+ insertion: Vt,
28000
+ templateInsertion: Pt,
28001
+ insertDialogs: kt,
28002
+ exporter: Wt,
28003
+ printer: Jt,
28004
+ presentation: Ut,
28005
+ deckViews: en,
28006
+ comments: oo,
28007
+ collaboration: ao,
28008
+ customShows: ho,
28009
+ versionHistory: yo,
28010
+ documentProperties: fo,
28011
+ fontEmbedding: po,
28012
+ signatureWorkflow: io,
28013
+ selectionPane: go,
28014
+ slideShow: co,
28015
+ password: _,
28016
+ masterView: ko,
28017
+ headerFooterDialog: xo,
28018
+ handleOpenFile: T.handleOpenFile,
28019
+ handleOpenRecentFile: T.handleOpenRecentFile,
28012
28020
  createPresentation: function(e) {
28013
- Y.value = (0, a.createBackstagePresentation)(e), X.value = {}, Ae.value = 0, qe.selectedElementIds.value = [];
28021
+ Z.value = (0, a.createBackstagePresentation)(e), Q.value = {}, Me.value = 0, Xe.selectedElementIds.value = [];
28014
28022
  },
28015
28023
  compareWithPresentation: async function() {
28016
28024
  const t = await (0, a.openPptxFile)();
28017
28025
  if (!t) return;
28018
- const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, _.value) });
28019
- n && fo.compareWithSlides(n.slides);
28026
+ const n = await new e.dist_exports.PptxHandler().load(t.buffer, { allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value) });
28027
+ n && yo.compareWithSlides(n.slides);
28020
28028
  }
28021
28029
  }, e.useRibbonProps({
28022
- ribbonMode: oa.chromeMode,
28023
- canEdit: oa.canEdit,
28024
- isMobile: oa.isMobile,
28025
- sidebarCollapsed: oa.ui.sidebarCollapsed,
28026
- inspectorOpen: oa.ui.inspectorOpen,
28027
- ribbonExpanded: oa.ui.ribbonExpanded,
28028
- toolbarSection: oa.ui.toolbarSection,
28029
- zoom: oa.zoom,
28030
- canUndo: oa.history.canUndo,
28031
- canRedo: oa.history.canRedo,
28032
- findOpen: oa.findOpen,
28033
- selectedElements: oa.selection.selectedElements,
28034
- activeTableSelection: oa.ribbonActions.activeTableSelection,
28035
- editTemplateMode: oa.selection.editTemplateMode,
28036
- newShapeType: oa.ui.newShapeType,
28037
- activeTool: oa.ui.activeTool,
28038
- drawingColor: oa.ui.drawingColor,
28039
- drawingWidth: oa.ui.drawingWidth,
28040
- clipboard: oa.editing.clipboard,
28041
- spellCheckEnabled: oa.ui.spellCheckEnabled,
28042
- showGrid: oa.ui.showGrid,
28043
- showRulers: oa.ui.showRulers,
28044
- showGuides: oa.ui.showGuides,
28045
- snapToGrid: oa.drag.snapToGrid,
28046
- snapToShape: oa.drag.snapToShape,
28047
- overflowOpen: oa.ui.overflowOpen,
28048
- layoutOptions: oa.deck.layoutOptions,
28049
- embeddedFontFamilies: oa.embeddedFontFamilies,
28050
- customFontFamilies: oa.customFontFamilies,
28051
- theme: oa.deck.theme,
28052
- customShows: oa.deck.customShows,
28053
- activeCustomShowId: oa.customShows.activeCustomShowId,
28054
- isCurrentSlideInActiveShow: oa.customShows.isCurrentSlideInActiveShow,
28055
- themeEditorOpen: oa.ui.themeEditorOpen,
28056
- themeGalleryOpen: oa.ui.themeGalleryOpen,
28057
- eyedropperActive: oa.ui.eyedropperActive,
28058
- showComments: oa.comments.showComments,
28059
- activeComments: oa.comments.activeComments,
28060
- reviewComments: oa.comments.reviewHost,
28061
- formatPainterActive: oa.editing.formatPainterActive,
28062
- canActivateFormatPainter: oa.editing.canActivateFormatPainter,
28063
- showSelectionPane: oa.selectionPane.showSelectionPane,
28064
- showSubtitles: oa.slideShow.showSubtitles,
28065
- activeSlide: oa.activeSlide,
28066
- activeSlideIndex: oa.activeSlideIndex,
28067
- toggleSlideHidden: oa.slideMutations.toggleSlideHidden,
28068
- presentationProperties: oa.presentationProperties,
28069
- presenting: oa.presentation.presenting,
28070
- canDistribute: oa.arrange.canDistribute,
28071
- shareOpen: oa.collaboration.shareOpen,
28072
- showShortcuts: oa.showShortcuts,
28073
- showSettings: oa.showSettings,
28074
- showHeaderFooter: oa.headerFooterDialog.showHeaderFooter,
28075
- showA11y: oa.showA11y,
28076
- showSorter: oa.deckViews.showSorter,
28077
- showReadingView: oa.deckViews.showReadingView,
28078
- showOutlineView: oa.deckViews.showOutlineView,
28079
- showCustomShows: oa.customShows.showCustomShows,
28080
- showVersionHistory: oa.versionHistory.showVersionHistory,
28081
- showPasswordDialog: oa.password.showPasswordDialog,
28082
- propertiesOpen: oa.documentProperties.propertiesOpen,
28083
- showFontEmbedding: oa.fontEmbedding.showFontEmbedding,
28084
- showSignatures: oa.signatureWorkflow.showSignatures,
28085
- showMasterView: oa.masterView.showMasterView,
28086
- showSetUpSlideShow: oa.slideShow.showSetUpSlideShow,
28087
- broadcastOpen: oa.collaboration.broadcastOpen,
28088
- showInsertSmartArt: oa.insertDialogs.showInsertSmartArt,
28089
- showEquationEditor: oa.insertDialogs.showEquationEditor,
28090
- collab: oa.collaboration.collab,
28091
- startPresenting: oa.presentation.startPresenting,
28092
- presentFromBeginning: oa.presentation.presentFromBeginning,
28093
- startPresenterView: oa.presentation.startPresenterView,
28094
- startRehearsal: oa.presentation.startRehearsal,
28095
- compareWithPresentation: oa.compareWithPresentation,
28096
- onAddAnimation: oa.slideMutations.onAddAnimation,
28097
- onRemoveAnimation: oa.slideMutations.onRemoveAnimation,
28098
- zoomIn: oa.zoomIn,
28099
- zoomOut: oa.zoomOut,
28100
- zoomReset: oa.zoomReset,
28101
- undo: oa.history.undo,
28102
- redo: oa.history.redo,
28103
- addText: oa.insertion.addText,
28104
- addShape: oa.insertion.addShape,
28105
- addTable: oa.insertion.addTable,
28106
- addChart: oa.insertion.addChart,
28107
- addField: oa.insertion.addField,
28108
- addActionButton: oa.insertion.addActionButton,
28109
- openImagePicker: oa.insertion.openImagePicker,
28110
- openMediaPicker: oa.insertion.openMediaPicker,
28111
- addGuide: oa.drag.addGuide,
28112
- onAlign: oa.arrange.onAlign,
28113
- onDistribute: oa.arrange.onDistribute,
28114
- copySelected: oa.editing.copySelected,
28115
- cutSelected: oa.editing.cutSelected,
28116
- pasteElement: oa.editing.pasteElement,
28117
- ribbonFlip: oa.ribbonActions.ribbonFlip,
28118
- bringForward: oa.arrange.bringForward,
28119
- sendBackward: oa.arrange.sendBackward,
28120
- ribbonMoveToEdge: oa.ribbonActions.ribbonMoveToEdge,
28121
- onGroup: oa.arrange.onGroup,
28122
- onUngroup: oa.arrange.onUngroup,
28123
- updateSelectedShapeStyle: oa.editing.updateSelectedShapeStyle,
28124
- openHyperlinkForSelection: oa.editing.openHyperlinkForSelection,
28125
- duplicateSelected: oa.arrange.duplicateSelected,
28126
- deleteSelected: oa.arrange.deleteSelected,
28127
- handleOpenFile: oa.handleOpenFile,
28128
- handleOpenRecentFile: oa.handleOpenRecentFile,
28129
- createPresentation: oa.createPresentation,
28130
- onExportPng: oa.exporter.onExportPng,
28131
- onExportPdf: oa.exporter.onExportPdf,
28132
- onExportWebm: oa.exporter.onExportWebm,
28133
- onExportGif: oa.exporter.onExportGif,
28134
- onExportJson: oa.exporter.onExportJson,
28135
- downloadAs: oa.exporter.downloadAs,
28136
- save: oa.exporter.save,
28137
- onCopySlideAsImage: oa.exporter.onCopySlideAsImage,
28138
- openPrintDialog: oa.printer.openPrintDialog,
28139
- ribbonUpdateTextStyle: oa.ribbonActions.ribbonUpdateTextStyle,
28140
- ribbonUpdateTextCase: oa.ribbonActions.ribbonUpdateTextCase,
28141
- insertSlideFromLayout: oa.insertion.insertSlideFromLayout,
28142
- applyLayoutToActiveSlide: oa.insertion.applyLayoutToActiveSlide,
28143
- loadLayoutPreviews: oa.insertion.loadLayoutPreviews,
28144
- insertSlideFromTemplate: oa.templateInsertion.insertSlideFromTemplate,
28145
- onRenameActiveCustomShow: oa.customShows.onRenameActiveCustomShow,
28146
- onDeleteActiveCustomShow: oa.customShows.onDeleteActiveCustomShow,
28147
- onToggleCurrentSlideInActiveShow: oa.customShows.onToggleCurrentSlideInActiveShow,
28148
- toggleFormatPainter: oa.editing.toggleFormatPainter,
28149
- onToggleSubtitles: oa.slideShow.onToggleSubtitles,
28150
- onTransitionChange: oa.slideMutations.onTransitionChange,
28151
- onApplyTransitionToAll: oa.slideMutations.onApplyTransitionToAll,
28152
- addSection: oa.slideCommands.addSection,
28153
- defaultSectionName: oa.slideCommands.defaultSectionName,
28154
- selectAllElements: oa.slideCommands.selectAllElements,
28155
- clearSelection: oa.slideCommands.clearSelection,
28156
- onPresentationPropertiesUpdate: oa.slideShow.onPresentationPropertiesUpdate
28030
+ ribbonMode: la.chromeMode,
28031
+ canEdit: la.canEdit,
28032
+ isMobile: la.isMobile,
28033
+ sidebarCollapsed: la.ui.sidebarCollapsed,
28034
+ inspectorOpen: la.ui.inspectorOpen,
28035
+ ribbonExpanded: la.ui.ribbonExpanded,
28036
+ toolbarSection: la.ui.toolbarSection,
28037
+ zoom: la.zoom,
28038
+ canUndo: la.history.canUndo,
28039
+ canRedo: la.history.canRedo,
28040
+ findOpen: la.findOpen,
28041
+ selectedElements: la.selection.selectedElements,
28042
+ activeTableSelection: la.ribbonActions.activeTableSelection,
28043
+ editTemplateMode: la.selection.editTemplateMode,
28044
+ newShapeType: la.ui.newShapeType,
28045
+ activeTool: la.ui.activeTool,
28046
+ drawingColor: la.ui.drawingColor,
28047
+ drawingWidth: la.ui.drawingWidth,
28048
+ clipboard: la.editing.clipboard,
28049
+ spellCheckEnabled: la.ui.spellCheckEnabled,
28050
+ showGrid: la.ui.showGrid,
28051
+ showRulers: la.ui.showRulers,
28052
+ showGuides: la.ui.showGuides,
28053
+ snapToGrid: la.drag.snapToGrid,
28054
+ snapToShape: la.drag.snapToShape,
28055
+ overflowOpen: la.ui.overflowOpen,
28056
+ layoutOptions: la.deck.layoutOptions,
28057
+ embeddedFontFamilies: la.embeddedFontFamilies,
28058
+ customFontFamilies: la.customFontFamilies,
28059
+ theme: la.deck.theme,
28060
+ customShows: la.deck.customShows,
28061
+ activeCustomShowId: la.customShows.activeCustomShowId,
28062
+ isCurrentSlideInActiveShow: la.customShows.isCurrentSlideInActiveShow,
28063
+ themeEditorOpen: la.ui.themeEditorOpen,
28064
+ themeGalleryOpen: la.ui.themeGalleryOpen,
28065
+ eyedropperActive: la.ui.eyedropperActive,
28066
+ showComments: la.comments.showComments,
28067
+ activeComments: la.comments.activeComments,
28068
+ reviewComments: la.comments.reviewHost,
28069
+ formatPainterActive: la.editing.formatPainterActive,
28070
+ canActivateFormatPainter: la.editing.canActivateFormatPainter,
28071
+ showSelectionPane: la.selectionPane.showSelectionPane,
28072
+ showSubtitles: la.slideShow.showSubtitles,
28073
+ activeSlide: la.activeSlide,
28074
+ activeSlideIndex: la.activeSlideIndex,
28075
+ toggleSlideHidden: la.slideMutations.toggleSlideHidden,
28076
+ presentationProperties: la.presentationProperties,
28077
+ presenting: la.presentation.presenting,
28078
+ canDistribute: la.arrange.canDistribute,
28079
+ shareOpen: la.collaboration.shareOpen,
28080
+ showShortcuts: la.showShortcuts,
28081
+ showSettings: la.showSettings,
28082
+ showHeaderFooter: la.headerFooterDialog.showHeaderFooter,
28083
+ showA11y: la.showA11y,
28084
+ showSorter: la.deckViews.showSorter,
28085
+ showReadingView: la.deckViews.showReadingView,
28086
+ showOutlineView: la.deckViews.showOutlineView,
28087
+ showCustomShows: la.customShows.showCustomShows,
28088
+ showVersionHistory: la.versionHistory.showVersionHistory,
28089
+ showPasswordDialog: la.password.showPasswordDialog,
28090
+ propertiesOpen: la.documentProperties.propertiesOpen,
28091
+ showFontEmbedding: la.fontEmbedding.showFontEmbedding,
28092
+ showSignatures: la.signatureWorkflow.showSignatures,
28093
+ showMasterView: la.masterView.showMasterView,
28094
+ showSetUpSlideShow: la.slideShow.showSetUpSlideShow,
28095
+ broadcastOpen: la.collaboration.broadcastOpen,
28096
+ showInsertSmartArt: la.insertDialogs.showInsertSmartArt,
28097
+ showEquationEditor: la.insertDialogs.showEquationEditor,
28098
+ collab: la.collaboration.collab,
28099
+ startPresenting: la.presentation.startPresenting,
28100
+ presentFromBeginning: la.presentation.presentFromBeginning,
28101
+ startPresenterView: la.presentation.startPresenterView,
28102
+ startRehearsal: la.presentation.startRehearsal,
28103
+ compareWithPresentation: la.compareWithPresentation,
28104
+ onAddAnimation: la.slideMutations.onAddAnimation,
28105
+ onRemoveAnimation: la.slideMutations.onRemoveAnimation,
28106
+ zoomIn: la.zoomIn,
28107
+ zoomOut: la.zoomOut,
28108
+ zoomReset: la.zoomReset,
28109
+ undo: la.history.undo,
28110
+ redo: la.history.redo,
28111
+ addText: la.insertion.addText,
28112
+ addShape: la.insertion.addShape,
28113
+ addTable: la.insertion.addTable,
28114
+ addChart: la.insertion.addChart,
28115
+ addField: la.insertion.addField,
28116
+ addActionButton: la.insertion.addActionButton,
28117
+ openImagePicker: la.insertion.openImagePicker,
28118
+ openMediaPicker: la.insertion.openMediaPicker,
28119
+ addGuide: la.drag.addGuide,
28120
+ onAlign: la.arrange.onAlign,
28121
+ onDistribute: la.arrange.onDistribute,
28122
+ copySelected: la.editing.copySelected,
28123
+ cutSelected: la.editing.cutSelected,
28124
+ pasteElement: la.editing.pasteElement,
28125
+ ribbonFlip: la.ribbonActions.ribbonFlip,
28126
+ bringForward: la.arrange.bringForward,
28127
+ sendBackward: la.arrange.sendBackward,
28128
+ ribbonMoveToEdge: la.ribbonActions.ribbonMoveToEdge,
28129
+ onGroup: la.arrange.onGroup,
28130
+ onUngroup: la.arrange.onUngroup,
28131
+ updateSelectedShapeStyle: la.editing.updateSelectedShapeStyle,
28132
+ openHyperlinkForSelection: la.editing.openHyperlinkForSelection,
28133
+ duplicateSelected: la.arrange.duplicateSelected,
28134
+ deleteSelected: la.arrange.deleteSelected,
28135
+ handleOpenFile: la.handleOpenFile,
28136
+ handleOpenRecentFile: la.handleOpenRecentFile,
28137
+ createPresentation: la.createPresentation,
28138
+ onExportPng: la.exporter.onExportPng,
28139
+ onExportPdf: la.exporter.onExportPdf,
28140
+ onExportWebm: la.exporter.onExportWebm,
28141
+ onExportGif: la.exporter.onExportGif,
28142
+ onExportJson: la.exporter.onExportJson,
28143
+ downloadAs: la.exporter.downloadAs,
28144
+ save: la.exporter.save,
28145
+ onCopySlideAsImage: la.exporter.onCopySlideAsImage,
28146
+ openPrintDialog: la.printer.openPrintDialog,
28147
+ ribbonUpdateTextStyle: la.ribbonActions.ribbonUpdateTextStyle,
28148
+ ribbonUpdateTextCase: la.ribbonActions.ribbonUpdateTextCase,
28149
+ insertSlideFromLayout: la.insertion.insertSlideFromLayout,
28150
+ applyLayoutToActiveSlide: la.insertion.applyLayoutToActiveSlide,
28151
+ loadLayoutPreviews: la.insertion.loadLayoutPreviews,
28152
+ insertSlideFromTemplate: la.templateInsertion.insertSlideFromTemplate,
28153
+ onRenameActiveCustomShow: la.customShows.onRenameActiveCustomShow,
28154
+ onDeleteActiveCustomShow: la.customShows.onDeleteActiveCustomShow,
28155
+ onToggleCurrentSlideInActiveShow: la.customShows.onToggleCurrentSlideInActiveShow,
28156
+ toggleFormatPainter: la.editing.toggleFormatPainter,
28157
+ onToggleSubtitles: la.slideShow.onToggleSubtitles,
28158
+ onTransitionChange: la.slideMutations.onTransitionChange,
28159
+ onApplyTransitionToAll: la.slideMutations.onApplyTransitionToAll,
28160
+ addSection: la.slideCommands.addSection,
28161
+ defaultSectionName: la.slideCommands.defaultSectionName,
28162
+ selectAllElements: la.slideCommands.selectAllElements,
28163
+ clearSelection: la.slideCommands.clearSelection,
28164
+ onPresentationPropertiesUpdate: la.slideShow.onPresentationPropertiesUpdate
28157
28165
  }));
28158
- var oa;
28159
- const { handleCommandSearch: aa, handleQuickAccessCommand: la } = function(e) {
28166
+ var la;
28167
+ const { handleCommandSearch: ra, handleQuickAccessCommand: ia } = function(e) {
28160
28168
  const t = {
28161
28169
  format: {
28162
28170
  bold: () => e.updateTextStyle({ bold: !0 }),
@@ -28239,138 +28247,138 @@ var UG = ["aria-busy", "tabindex"], HG = {
28239
28247
  }
28240
28248
  };
28241
28249
  }({
28242
- updateTextStyle: Do,
28243
- addText: Bt.addText,
28244
- addShape: Bt.addShape,
28245
- addTable: Bt.addTable,
28246
- addChart: Bt.addChart,
28247
- openImagePicker: Bt.openImagePicker,
28248
- openMediaPicker: Bt.openMediaPicker,
28249
- showInsertSmartArt: ht.showInsertSmartArt,
28250
- showEquationEditor: ht.showEquationEditor,
28251
- editingEquationOmml: ht.editingEquationOmml,
28252
- hyperlinkOpen: Ut.hyperlinkOpen,
28253
- showGrid: Nn,
28254
- showRulers: Vn,
28255
- showSorter: Qt.showSorter,
28256
- spellCheckEnabled: Fn,
28257
- themeGalleryOpen: Pn,
28258
- zoomIn: Ke,
28259
- zoomOut: $e,
28260
- zoomReset: je,
28261
- startPresenting: Rt.startPresenting,
28262
- presentFromBeginning: Rt.presentFromBeginning,
28263
- moveToEdge: Io,
28264
- duplicateSelected: Pt,
28265
- openPrintDialog: Zt.openPrintDialog,
28266
- exportPdf: Xt,
28267
- addSlide: At.addSlide
28268
- }), ra = NG(na, A.resolved);
28269
- var ia = Eo, sa = {
28270
- getCanvas: () => No.value,
28271
- getTarget: () => !Fe.value || J.value || ee.value || Rt.presenting.value || ho.showMasterView.value || Ze.value || xt.inlineEditingElementId.value || "select" !== kn.value || On.value?.open || !Me.value || !Se.value ? null : {
28272
- documentId: Se.value,
28273
- slideId: Me.value.id,
28274
- canvasSize: Z.value
28250
+ updateTextStyle: _o,
28251
+ addText: Vt.addText,
28252
+ addShape: Vt.addShape,
28253
+ addTable: Vt.addTable,
28254
+ addChart: Vt.addChart,
28255
+ openImagePicker: Vt.openImagePicker,
28256
+ openMediaPicker: Vt.openMediaPicker,
28257
+ showInsertSmartArt: kt.showInsertSmartArt,
28258
+ showEquationEditor: kt.showEquationEditor,
28259
+ editingEquationOmml: kt.editingEquationOmml,
28260
+ hyperlinkOpen: Gt.hyperlinkOpen,
28261
+ showGrid: Tn,
28262
+ showRulers: Fn,
28263
+ showSorter: en.showSorter,
28264
+ spellCheckEnabled: In,
28265
+ themeGalleryOpen: _n,
28266
+ zoomIn: je,
28267
+ zoomOut: We,
28268
+ zoomReset: qe,
28269
+ startPresenting: Ut.startPresenting,
28270
+ presentFromBeginning: Ut.presentFromBeginning,
28271
+ moveToEdge: Ao,
28272
+ duplicateSelected: It,
28273
+ openPrintDialog: Jt.openPrintDialog,
28274
+ exportPdf: Qt,
28275
+ addSlide: Mt.addSlide
28276
+ }), sa = NG(aa, L.resolved);
28277
+ var ca = wo, da = {
28278
+ getCanvas: () => To.value,
28279
+ getTarget: () => !De.value || te.value || ne.value || Ut.presenting.value || ko.showMasterView.value || Je.value || ht.inlineEditingElementId.value || "select" !== En.value || Ln.value?.open || !Re.value || !Ce.value ? null : {
28280
+ documentId: Ce.value,
28281
+ slideId: Re.value.id,
28282
+ canvasSize: J.value
28275
28283
  },
28276
- insertElement: lt.addElement
28284
+ insertElement: it.addElement
28277
28285
  };
28278
28286
  (0, l.watch)([
28279
- ia,
28280
- () => sa.getTarget()?.documentId,
28281
- () => sa.getTarget()?.slideId,
28282
- () => sa.getTarget()?.canvasSize.width,
28283
- () => sa.getTarget()?.canvasSize.height
28287
+ ca,
28288
+ () => da.getTarget()?.documentId,
28289
+ () => da.getTarget()?.slideId,
28290
+ () => da.getTarget()?.canvasSize.width,
28291
+ () => da.getTarget()?.canvasSize.height
28284
28292
  ], (e, t, n) => {
28285
- ia.value && n((0, a.attachEditorImagePaste)(ia.value, sa));
28293
+ ca.value && n((0, a.attachEditorImagePaste)(ca.value, da));
28286
28294
  }, {
28287
28295
  immediate: !0,
28288
28296
  flush: "sync"
28289
28297
  });
28290
- const ca = {
28298
+ const pa = {
28291
28299
  ...RG({
28292
- slides: Y,
28293
- activeSlide: Me,
28294
- activeSlideIndex: Ae,
28295
- slideCount: ze,
28296
- selectedElementIds: Xe,
28297
- zoom: Ue,
28298
- isDirty: Gn.isDirty,
28299
- presenting: Rt.presenting,
28300
- showMasterView: ho.showMasterView,
28301
- mode: Po,
28302
- canEdit: Fe,
28303
- loading: J,
28304
- error: ee,
28305
- editTemplateMode: Ze,
28300
+ slides: Z,
28301
+ activeSlide: Re,
28302
+ activeSlideIndex: Me,
28303
+ slideCount: Oe,
28304
+ selectedElementIds: Qe,
28305
+ zoom: Ge,
28306
+ isDirty: $n.isDirty,
28307
+ presenting: Ut.presenting,
28308
+ showMasterView: ko.showMasterView,
28309
+ mode: Io,
28310
+ canEdit: De,
28311
+ loading: te,
28312
+ error: ne,
28313
+ editTemplateMode: Je,
28306
28314
  setEditingRequested: (e) => {
28307
- Ve.value = e;
28315
+ Fe.value = e;
28308
28316
  },
28309
- hasActivePointerInteraction: () => wt.hasActivePointerInteraction() || null !== it.value || Boolean(Vo.value?.hasActivePointerInteraction()),
28310
- commitPendingText: xt.commitInlineEdit,
28311
- getContent: Ee,
28312
- goTo: Oe,
28313
- goPrev: Re,
28314
- goNext: Le,
28315
- zoomIn: Ke,
28316
- zoomOut: $e,
28317
- zoomReset: je,
28318
- startPresenting: Rt.startPresenting,
28319
- history: at,
28320
- slideOps: At,
28321
- toggleSlideHidden: nn,
28322
- elementOps: lt
28317
+ hasActivePointerInteraction: () => Nt.hasActivePointerInteraction() || null !== ct.value || Boolean(Fo.value?.hasActivePointerInteraction()),
28318
+ commitPendingText: ht.commitInlineEdit,
28319
+ getContent: we,
28320
+ goTo: Le,
28321
+ goPrev: Ue,
28322
+ goNext: He,
28323
+ zoomIn: je,
28324
+ zoomOut: We,
28325
+ zoomReset: qe,
28326
+ startPresenting: Ut.startPresenting,
28327
+ history: rt,
28328
+ slideOps: Mt,
28329
+ toggleSlideHidden: an,
28330
+ elementOps: it
28323
28331
  }),
28324
- ...A.api
28332
+ ...L.api
28325
28333
  };
28326
- p(ca), (0, l.provide)(y, (0, l.computed)(() => ({
28327
- viewer: ca,
28328
- mode: Po.value,
28329
- canEdit: Fe.value,
28330
- activeSlideIndex: Ae.value,
28331
- slideCount: ze.value,
28332
- selectedElementIds: Xe.value,
28334
+ p(pa), (0, l.provide)(y, (0, l.computed)(() => ({
28335
+ viewer: pa,
28336
+ mode: Io.value,
28337
+ canEdit: De.value,
28338
+ activeSlideIndex: Me.value,
28339
+ slideCount: Oe.value,
28340
+ selectedElementIds: Qe.value,
28333
28341
  locale: k.localeCode.value
28334
28342
  })));
28335
- const da = (0, a.createSlidePackageClipboard)({
28336
- getSnapshot: () => Se.value ? {
28337
- handler: Se.value,
28338
- slides: Y.value,
28339
- templateElementsBySlideId: X.value,
28340
- allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, _.value),
28341
- editable: Fe.value
28343
+ const ua = (0, a.createSlidePackageClipboard)({
28344
+ getSnapshot: () => Ce.value ? {
28345
+ handler: Ce.value,
28346
+ slides: Z.value,
28347
+ templateElementsBySlideId: Q.value,
28348
+ allowExternalImages: (0, a.resolveAllowExternalContent)(v.allowExternalContent, M.value),
28349
+ editable: De.value
28342
28350
  } : null,
28343
28351
  commit: (e) => {
28344
- at.pushHistory(), Se.value = e.handler, Y.value = e.slides, X.value = e.templateElementsBySlideId, pe.value = e.data.slideMasters ?? [], q.layoutOptions.value = e.data.layoutOptions ?? [], q.themeOptions.value = e.data.themeOptions ?? [];
28345
- for (const [t, n] of e.mediaUrls) Q.value.set(t, n);
28346
- Ae.value = e.insertAt, Gn.isDirty.value = !0;
28352
+ rt.pushHistory(), Ce.value = e.handler, Z.value = e.slides, Q.value = e.templateElementsBySlideId, me.value = e.data.slideMasters ?? [], X.layoutOptions.value = e.data.layoutOptions ?? [], X.themeOptions.value = e.data.themeOptions ?? [];
28353
+ for (const [t, n] of e.mediaUrls) ee.value.set(t, n);
28354
+ Me.value = e.insertAt, $n.isDirty.value = !0;
28347
28355
  }
28348
28356
  });
28349
- return (0, l.onBeforeUnmount)(() => da.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
28357
+ return (0, l.onBeforeUnmount)(() => ua.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
28350
28358
  ref_key: "viewerRootRef",
28351
- ref: Eo,
28359
+ ref: wo,
28352
28360
  class: ["pptx-vue-viewer", [
28353
28361
  v.class,
28354
- { "pptx-vue-reduced-motion": Go.value },
28355
- ...Ko.value
28362
+ { "pptx-vue-reduced-motion": $o.value },
28363
+ ...jo.value
28356
28364
  ]],
28357
28365
  "data-pptx-theme-root": "",
28358
28366
  "data-pptx-scope": "",
28359
28367
  "data-pptx-editor-chrome": "",
28360
28368
  style: (0, l.unref)(S)
28361
- }, (0, l.unref)(j).rootAttrs, {
28362
- "aria-busy": (0, l.unref)(J) ? "true" : "false",
28363
- tabindex: Fe.value ? 0 : void 0,
28364
- onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(zo) && (0, l.unref)(zo)(...e))
28369
+ }, (0, l.unref)(q).rootAttrs, {
28370
+ "aria-busy": (0, l.unref)(te) ? "true" : "false",
28371
+ tabindex: De.value ? 0 : void 0,
28372
+ onKeydown: n[21] || (n[21] = (...e) => (0, l.unref)(Oo) && (0, l.unref)(Oo)(...e))
28365
28373
  }), [
28366
28374
  (0, l.createVNode)((0, l.unref)(R)),
28367
- (0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(j).css.value }, null, 8, ["css"]),
28368
- (0, l.unref)(J) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
28375
+ (0, l.createVNode)((0, l.unref)(OG), { css: (0, l.unref)(q).css.value }, null, 8, ["css"]),
28376
+ (0, l.unref)(te) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", HG, [n[22] || (n[22] = (0, l.createElementVNode)("div", {
28369
28377
  class: "pptx-vue-spinner",
28370
28378
  "aria-hidden": "true"
28371
- }, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(te) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", GG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.encrypted")), 1)])) : (0, l.unref)(ee) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loadError")), 1), (0, l.createElementVNode)("pre", $G, (0, l.toDisplayString)((0, l.unref)(ee)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
28372
- !(0, l.unref)(Rt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
28373
- w.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(A).resolved.value) && Be.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
28379
+ }, null, -1)), (0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loading")), 1)])) : (0, l.unref)(oe) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", GG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.encrypted")), 1)])) : (0, l.unref)(ne) ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", KG, [(0, l.createElementVNode)("p", null, (0, l.toDisplayString)((0, l.unref)(b)("pptx.viewer.loadError")), 1), (0, l.createElementVNode)("pre", $G, (0, l.toDisplayString)((0, l.unref)(ne)), 1)])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [
28380
+ !(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 0 }, [
28381
+ N.value.canEdit && (0, l.unref)(a.isEditingAllowed)((0, l.unref)(L).resolved.value) && Ve.value ? ((0, l.openBlock)(), (0, l.createElementBlock)("div", jG, [
28374
28382
  (0, l.createVNode)((0, l.unref)(r.ShieldAlert), {
28375
28383
  class: "h-4 w-4 shrink-0 text-amber-400",
28376
28384
  "aria-hidden": "true"
@@ -28379,20 +28387,20 @@ var UG = ["aria-busy", "tabindex"], HG = {
28379
28387
  (0, l.createElementVNode)("button", {
28380
28388
  type: "button",
28381
28389
  class: "shrink-0 rounded border border-amber-600/50 px-3 py-1 text-xs font-medium text-amber-100 transition-colors hover:bg-amber-700/30",
28382
- onClick: Pe
28390
+ onClick: Ie
28383
28391
  }, (0, l.toDisplayString)((0, l.unref)(b)("pptx.security.enableEditing")), 1)
28384
28392
  ])) : (0, l.createCommentVNode)("", !0),
28385
- (0, l.unref)(Ne).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
28393
+ (0, l.unref)(Te).showBanner.value ? ((0, l.openBlock)(), (0, l.createBlock)(Ml, {
28386
28394
  key: 1,
28387
- kind: (0, l.unref)(Ne).recommendation.value.kind,
28388
- "message-key": (0, l.unref)(Ne).recommendation.value.messageKey,
28389
- "password-prompt-open": (0, l.unref)(Ne).passwordPromptOpen.value,
28390
- "password-error": (0, l.unref)(Ne).passwordError.value,
28391
- "checking-password": (0, l.unref)(Ne).checkingPassword.value,
28392
- onEditAnyway: (0, l.unref)(Ne).editAnyway,
28393
- onDismiss: (0, l.unref)(Ne).dismiss,
28394
- onSubmitPassword: (0, l.unref)(Ne).submitPassword,
28395
- onCancelPassword: (0, l.unref)(Ne).cancelPasswordPrompt
28395
+ kind: (0, l.unref)(Te).recommendation.value.kind,
28396
+ "message-key": (0, l.unref)(Te).recommendation.value.messageKey,
28397
+ "password-prompt-open": (0, l.unref)(Te).passwordPromptOpen.value,
28398
+ "password-error": (0, l.unref)(Te).passwordError.value,
28399
+ "checking-password": (0, l.unref)(Te).checkingPassword.value,
28400
+ onEditAnyway: (0, l.unref)(Te).editAnyway,
28401
+ onDismiss: (0, l.unref)(Te).dismiss,
28402
+ onSubmitPassword: (0, l.unref)(Te).submitPassword,
28403
+ onCancelPassword: (0, l.unref)(Te).cancelPasswordPrompt
28396
28404
  }, null, 8, [
28397
28405
  "kind",
28398
28406
  "message-key",
@@ -28404,31 +28412,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
28404
28412
  "onSubmitPassword",
28405
28413
  "onCancelPassword"
28406
28414
  ])) : (0, l.createCommentVNode)("", !0),
28407
- !(0, l.unref)(Co) && (0, l.unref)(M)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
28415
+ !(0, l.unref)(Bo) && (0, l.unref)(H)("titleBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ri, {
28408
28416
  key: 2,
28409
- mode: _o.value,
28410
- "can-edit": Fe.value,
28411
- "file-name": w.value.fileName,
28412
- "is-dirty": (0, l.unref)(Gn).isDirty.value,
28413
- "autosave-status": (0, l.unref)(qn) ? "disabled" : (0, l.unref)(Gn).status.value,
28414
- "autosave-enabled": (0, l.unref)($n),
28415
- "autosave-disabled-reason": (0, l.unref)(qn),
28416
- "autosave-toggle-available": (0, l.unref)(Yn),
28417
- "on-toggle-autosave": (0, l.unref)(jn),
28418
- "can-undo": (0, l.unref)(at).canUndo.value,
28419
- "undo-label": (0, l.unref)(at).undoLabel.value,
28420
- "redo-label": (0, l.unref)(at).redoLabel.value,
28421
- "can-redo": (0, l.unref)(at).canRedo.value,
28422
- "on-undo": (0, l.unref)(at).undo,
28423
- "on-redo": (0, l.unref)(at).redo,
28417
+ mode: zo.value,
28418
+ "can-edit": De.value,
28419
+ "file-name": N.value.fileName,
28420
+ "is-dirty": (0, l.unref)($n).isDirty.value,
28421
+ "autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)($n).status.value,
28422
+ "autosave-enabled": (0, l.unref)(qn),
28423
+ "autosave-disabled-reason": (0, l.unref)(Xn),
28424
+ "autosave-toggle-available": (0, l.unref)(Zn),
28425
+ "on-toggle-autosave": (0, l.unref)(Yn),
28426
+ "can-undo": (0, l.unref)(rt).canUndo.value,
28427
+ "undo-label": (0, l.unref)(rt).undoLabel.value,
28428
+ "redo-label": (0, l.unref)(rt).redoLabel.value,
28429
+ "can-redo": (0, l.unref)(rt).canRedo.value,
28430
+ "on-undo": (0, l.unref)(rt).undo,
28431
+ "on-redo": (0, l.unref)(rt).redo,
28424
28432
  "on-save": () => {
28425
- (0, l.unref)(Kt).save();
28433
+ (0, l.unref)(Wt).save();
28426
28434
  },
28427
- "find-replace-open": Ht.value,
28428
- "on-toggle-find-replace": () => Ht.value = !Ht.value,
28429
- "on-command-search": (0, l.unref)(aa),
28430
- "on-quick-command": (0, l.unref)(la),
28431
- "hidden-actions": (0, l.unref)(H)
28435
+ "find-replace-open": Kt.value,
28436
+ "on-toggle-find-replace": () => Kt.value = !Kt.value,
28437
+ "on-command-search": (0, l.unref)(ra),
28438
+ "on-quick-command": (0, l.unref)(ia),
28439
+ "hidden-actions": (0, l.unref)(K)
28432
28440
  }, null, 8, [
28433
28441
  "mode",
28434
28442
  "can-edit",
@@ -28452,14 +28460,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
28452
28460
  "on-quick-command",
28453
28461
  "hidden-actions"
28454
28462
  ])) : (0, l.createCommentVNode)("", !0),
28455
- (0, l.unref)(Co) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(ra), {
28456
- "hidden-actions": (0, l.unref)(H),
28457
- "recent-presentations-count": (0, l.unref)(_).advanced.recentPresentationsCount,
28458
- "ai-enabled": (0, l.unref)(G),
28459
- "is-ai-panel-open": dt.value,
28460
- "on-toggle-ai-panel": () => dt.value = !dt.value,
28461
- "insert-open": (0, l.unref)(To).mobileInsertOpen.value,
28462
- onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(To).mobileInsertOpen.value = !1)
28463
+ (0, l.unref)(Bo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(sa), {
28464
+ "hidden-actions": (0, l.unref)(K),
28465
+ "recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
28466
+ "ai-enabled": (0, l.unref)($),
28467
+ "is-ai-panel-open": ut.value,
28468
+ "on-toggle-ai-panel": () => ut.value = !ut.value,
28469
+ "insert-open": (0, l.unref)(Po).mobileInsertOpen.value,
28470
+ onCloseInsert: n[0] || (n[0] = (e) => (0, l.unref)(Po).mobileInsertOpen.value = !1)
28463
28471
  }), null, 16, [
28464
28472
  "hidden-actions",
28465
28473
  "recent-presentations-count",
@@ -28467,12 +28475,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
28467
28475
  "is-ai-panel-open",
28468
28476
  "on-toggle-ai-panel",
28469
28477
  "insert-open"
28470
- ])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(ra), {
28471
- "hidden-actions": (0, l.unref)(H),
28472
- "recent-presentations-count": (0, l.unref)(_).advanced.recentPresentationsCount,
28473
- "ai-enabled": (0, l.unref)(G),
28474
- "is-ai-panel-open": dt.value,
28475
- "on-toggle-ai-panel": () => dt.value = !dt.value
28478
+ ])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(sa), {
28479
+ "hidden-actions": (0, l.unref)(K),
28480
+ "recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
28481
+ "ai-enabled": (0, l.unref)($),
28482
+ "is-ai-panel-open": ut.value,
28483
+ "on-toggle-ai-panel": () => ut.value = !ut.value
28476
28484
  }), null, 16, [
28477
28485
  "hidden-actions",
28478
28486
  "recent-presentations-count",
@@ -28481,11 +28489,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
28481
28489
  "on-toggle-ai-panel"
28482
28490
  ]), (0, l.createVNode)(ri, {
28483
28491
  placement: "belowRibbon",
28484
- mode: _o.value,
28485
- "can-edit": Fe.value,
28486
- "is-dirty": (0, l.unref)(Gn).isDirty.value,
28487
- "autosave-enabled": (0, l.unref)($n),
28488
- "on-quick-command": (0, l.unref)(la)
28492
+ mode: zo.value,
28493
+ "can-edit": De.value,
28494
+ "is-dirty": (0, l.unref)($n).isDirty.value,
28495
+ "autosave-enabled": (0, l.unref)(qn),
28496
+ "on-quick-command": (0, l.unref)(ia)
28489
28497
  }, null, 8, [
28490
28498
  "mode",
28491
28499
  "can-edit",
@@ -28496,44 +28504,44 @@ var UG = ["aria-busy", "tabindex"], HG = {
28496
28504
  ], 64)) : (0, l.createCommentVNode)("", !0),
28497
28505
  (0, l.createElementVNode)("input", {
28498
28506
  ref_key: "imageInputRef",
28499
- ref: Nt,
28507
+ ref: Tt,
28500
28508
  type: "file",
28501
28509
  accept: "image/*",
28502
28510
  "aria-hidden": "true",
28503
28511
  style: { display: "none" },
28504
- onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Bt).onImageFileSelected && (0, l.unref)(Bt).onImageFileSelected(...e))
28512
+ onChange: n[1] || (n[1] = (...e) => (0, l.unref)(Vt).onImageFileSelected && (0, l.unref)(Vt).onImageFileSelected(...e))
28505
28513
  }, null, 544),
28506
28514
  (0, l.createElementVNode)("input", {
28507
28515
  ref_key: "mediaInputRef",
28508
- ref: Vt,
28516
+ ref: Ft,
28509
28517
  type: "file",
28510
28518
  accept: "audio/*,video/*",
28511
28519
  "aria-hidden": "true",
28512
28520
  style: { display: "none" },
28513
- onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Bt).onMediaFileSelected && (0, l.unref)(Bt).onMediaFileSelected(...e))
28521
+ onChange: n[2] || (n[2] = (...e) => (0, l.unref)(Vt).onMediaFileSelected && (0, l.unref)(Vt).onMediaFileSelected(...e))
28514
28522
  }, null, 544),
28515
- Fe.value && Ht.value && (0, l.unref)(M)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
28523
+ De.value && Kt.value && (0, l.unref)(H)("findReplace") ? ((0, l.openBlock)(), (0, l.createBlock)(ie, {
28516
28524
  key: 1,
28517
- query: (0, l.unref)(Gt).query.value,
28518
- "onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)(Gt).query.value = e),
28519
- replacement: (0, l.unref)(Gt).replacement.value,
28520
- "onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)(Gt).replacement.value = e),
28521
- "match-case": (0, l.unref)(Gt).matchCase.value,
28522
- "onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)(Gt).matchCase.value = e),
28523
- "include-notes": (0, l.unref)(Gt).includeNotes.value,
28524
- "onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)(Gt).includeNotes.value = e),
28525
- "include-chart-titles": (0, l.unref)(Gt).includeChartTitles.value,
28526
- "onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)(Gt).includeChartTitles.value = e),
28527
- "include-chart-data": (0, l.unref)(Gt).includeChartData.value,
28528
- "onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)(Gt).includeChartData.value = e),
28529
- "match-count": (0, l.unref)(Gt).matchCount.value,
28530
- "current-index": (0, l.unref)(Gt).currentMatch.value,
28531
- matches: (0, l.unref)(Gt).matches.value,
28532
- onNext: (0, l.unref)(Gt).next,
28533
- onPrev: (0, l.unref)(Gt).prev,
28534
- onReplace: (0, l.unref)(Gt).replaceCurrent,
28535
- onReplaceAll: (0, l.unref)(Gt).replaceAll,
28536
- onClose: n[9] || (n[9] = (e) => Ht.value = !1)
28525
+ query: (0, l.unref)($t).query.value,
28526
+ "onUpdate:query": n[3] || (n[3] = (e) => (0, l.unref)($t).query.value = e),
28527
+ replacement: (0, l.unref)($t).replacement.value,
28528
+ "onUpdate:replacement": n[4] || (n[4] = (e) => (0, l.unref)($t).replacement.value = e),
28529
+ "match-case": (0, l.unref)($t).matchCase.value,
28530
+ "onUpdate:matchCase": n[5] || (n[5] = (e) => (0, l.unref)($t).matchCase.value = e),
28531
+ "include-notes": (0, l.unref)($t).includeNotes.value,
28532
+ "onUpdate:includeNotes": n[6] || (n[6] = (e) => (0, l.unref)($t).includeNotes.value = e),
28533
+ "include-chart-titles": (0, l.unref)($t).includeChartTitles.value,
28534
+ "onUpdate:includeChartTitles": n[7] || (n[7] = (e) => (0, l.unref)($t).includeChartTitles.value = e),
28535
+ "include-chart-data": (0, l.unref)($t).includeChartData.value,
28536
+ "onUpdate:includeChartData": n[8] || (n[8] = (e) => (0, l.unref)($t).includeChartData.value = e),
28537
+ "match-count": (0, l.unref)($t).matchCount.value,
28538
+ "current-index": (0, l.unref)($t).currentMatch.value,
28539
+ matches: (0, l.unref)($t).matches.value,
28540
+ onNext: (0, l.unref)($t).next,
28541
+ onPrev: (0, l.unref)($t).prev,
28542
+ onReplace: (0, l.unref)($t).replaceCurrent,
28543
+ onReplaceAll: (0, l.unref)($t).replaceAll,
28544
+ onClose: n[9] || (n[9] = (e) => Kt.value = !1)
28537
28545
  }, null, 8, [
28538
28546
  "query",
28539
28547
  "replacement",
@@ -28550,25 +28558,25 @@ var UG = ["aria-busy", "tabindex"], HG = {
28550
28558
  "onReplaceAll"
28551
28559
  ])) : (0, l.createCommentVNode)("", !0),
28552
28560
  (0, l.withDirectives)((0, l.createElementVNode)("div", qG, [
28553
- (0, l.unref)(Co) || (0, l.unref)(wn) || (0, l.unref)(Rt).presenting.value || !x.value.showThumbnails || !(0, l.unref)(M)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
28561
+ (0, l.unref)(Bo) || (0, l.unref)(Nn) || (0, l.unref)(Ut).presenting.value || !x.value.showThumbnails || !(0, l.unref)(H)("slidesPane") ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(wG, {
28554
28562
  key: 0,
28555
- "merged-slides": (0, l.unref)(tt),
28556
- "active-slide-index": (0, l.unref)(Ae),
28557
- "canvas-size": (0, l.unref)(Z),
28558
- "media-data-urls": (0, l.unref)(Q),
28559
- "can-edit": Fe.value,
28560
- "has-sections": So.value,
28561
- "section-ops": (0, l.unref)(ko),
28562
- "slide-ops": (0, l.unref)(At),
28563
- "go-to": (0, l.unref)(Oe),
28564
- "toggle-slide-hidden": (0, l.unref)(nn),
28565
- "header-footer": (0, l.unref)(xe),
28566
- "custom-properties": (0, l.unref)(oe),
28567
- "first-slide-number": (0, l.unref)(q).firstSlideNumber.value,
28568
- theme: (0, l.unref)(be),
28569
- "table-style-map": (0, l.unref)(de),
28563
+ "merged-slides": (0, l.unref)(ot),
28564
+ "active-slide-index": (0, l.unref)(Me),
28565
+ "canvas-size": (0, l.unref)(J),
28566
+ "media-data-urls": (0, l.unref)(ee),
28567
+ "can-edit": De.value,
28568
+ "has-sections": Co.value,
28569
+ "section-ops": (0, l.unref)(Eo),
28570
+ "slide-ops": (0, l.unref)(Mt),
28571
+ "go-to": (0, l.unref)(Le),
28572
+ "toggle-slide-hidden": (0, l.unref)(an),
28573
+ "header-footer": (0, l.unref)(he),
28574
+ "custom-properties": (0, l.unref)(le),
28575
+ "first-slide-number": (0, l.unref)(X).firstSlideNumber.value,
28576
+ theme: (0, l.unref)(Se),
28577
+ "table-style-map": (0, l.unref)(ue),
28570
28578
  "on-open-layout-for-slide": (e, t, n) => {
28571
- (0, l.unref)(Oe)(e), _n.value = {
28579
+ (0, l.unref)(Le)(e), zn.value = {
28572
28580
  x: t,
28573
28581
  y: n
28574
28582
  };
@@ -28593,64 +28601,64 @@ var UG = ["aria-busy", "tabindex"], HG = {
28593
28601
  ])),
28594
28602
  (0, l.createElementVNode)("main", {
28595
28603
  ref_key: "mainRef",
28596
- ref: No,
28597
- class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": Fe.value }]),
28598
- "data-pptx-ai-active": (0, l.unref)(K) && (0, l.unref)(pt).canvasAnimating.value ? "true" : void 0,
28599
- onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(St) && (0, l.unref)(St)(...e)),
28600
- onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(kt) && (0, l.unref)(kt)(...e)),
28601
- onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Ln) && (0, l.unref)(Ln)(...e)),
28602
- onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(no).onCollabPointerMove && (0, l.unref)(no).onCollabPointerMove(...e)),
28603
- onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(We).onTouchStart && (0, l.unref)(We).onTouchStart(...e)),
28604
- onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(We).onTouchEnd && (0, l.unref)(We).onTouchEnd(...e))
28604
+ ref: To,
28605
+ class: (0, l.normalizeClass)(["pptx-vue-main", { "is-editable": De.value }]),
28606
+ "data-pptx-ai-active": (0, l.unref)(j) && (0, l.unref)(mt).canvasAnimating.value ? "true" : void 0,
28607
+ onPointerdown: n[11] || (n[11] = (...e) => (0, l.unref)(Ct) && (0, l.unref)(Ct)(...e)),
28608
+ onDblclickCapture: n[12] || (n[12] = (...e) => (0, l.unref)(Et) && (0, l.unref)(Et)(...e)),
28609
+ onContextmenu: n[13] || (n[13] = (...e) => (0, l.unref)(Hn) && (0, l.unref)(Hn)(...e)),
28610
+ onPointermove: n[14] || (n[14] = (...e) => (0, l.unref)(ao).onCollabPointerMove && (0, l.unref)(ao).onCollabPointerMove(...e)),
28611
+ onTouchstart: n[15] || (n[15] = (...e) => (0, l.unref)(Ye).onTouchStart && (0, l.unref)(Ye).onTouchStart(...e)),
28612
+ onTouchend: n[16] || (n[16] = (...e) => (0, l.unref)(Ye).onTouchEnd && (0, l.unref)(Ye).onTouchEnd(...e))
28605
28613
  }, [(0, l.createVNode)(xi, {
28606
- slide: (0, l.unref)(Me),
28607
- "canvas-size": (0, l.unref)(Z),
28608
- "media-data-urls": (0, l.unref)(Q),
28609
- zoom: (0, l.unref)(Ge),
28614
+ slide: (0, l.unref)(Re),
28615
+ "canvas-size": (0, l.unref)(J),
28616
+ "media-data-urls": (0, l.unref)(ee),
28617
+ zoom: (0, l.unref)($e),
28610
28618
  "fit-padding": v.fitPadding,
28611
28619
  "max-fit-scale": v.maxFitScale,
28612
- "show-rulers": (0, l.unref)(Vn) && !(0, l.unref)(Rt).presenting.value,
28613
- "ruler-selected-bounds": (0, l.unref)(qe).rulerSelectedBounds.value,
28614
- "can-drag-guides": Fe.value && !(0, l.unref)(Rt).presenting.value,
28615
- "template-elements": (0, l.unref)(Qe),
28616
- "edit-template-mode": (0, l.unref)(Ze) && !(0, l.unref)(Rt).presenting.value,
28617
- "inline-editing-element-id": (0, l.unref)(xt).inlineEditingElementId.value,
28618
- "selected-element-ids": (0, l.unref)(qe).selectedElementIds.value,
28619
- "onUpdate:fitScale": n[10] || (n[10] = (e) => He.value = e),
28620
- onCreateGuide: (0, l.unref)(wt).addGuide
28620
+ "show-rulers": (0, l.unref)(Fn) && !(0, l.unref)(Ut).presenting.value,
28621
+ "ruler-selected-bounds": (0, l.unref)(Xe).rulerSelectedBounds.value,
28622
+ "can-drag-guides": De.value && !(0, l.unref)(Ut).presenting.value,
28623
+ "template-elements": (0, l.unref)(et),
28624
+ "edit-template-mode": (0, l.unref)(Je) && !(0, l.unref)(Ut).presenting.value,
28625
+ "inline-editing-element-id": (0, l.unref)(ht).inlineEditingElementId.value,
28626
+ "selected-element-ids": (0, l.unref)(Xe).selectedElementIds.value,
28627
+ "onUpdate:fitScale": n[10] || (n[10] = (e) => Ke.value = e),
28628
+ onCreateGuide: (0, l.unref)(Nt).addGuide
28621
28629
  }, {
28622
28630
  default: (0, l.withCtx)(() => [(0, l.createVNode)(Ys, {
28623
28631
  ref_key: "canvasOverlaysRef",
28624
- ref: Vo,
28625
- "can-edit": Fe.value,
28626
- presenting: (0, l.unref)(Rt).presenting.value,
28627
- "canvas-size": (0, l.unref)(Z),
28628
- "effective-zoom": (0, l.unref)(Ge),
28629
- "active-slide": (0, l.unref)(Me),
28630
- "active-slide-index": (0, l.unref)(Ae),
28631
- "selected-elements": (0, l.unref)(et),
28632
- "selected-element-ids": (0, l.unref)(Xe),
28633
- marquee: (0, l.unref)(it),
28634
- "active-comments": (0, l.unref)(eo).activeComments.value,
28635
- "on-comment-marker-click": (0, l.unref)(eo).onCommentMarkerClick,
28636
- "show-grid": (0, l.unref)(Nn),
28637
- "grid-spacing-px": Ct.value,
28638
- "show-guides": (0, l.unref)(Tn),
28639
- drag: (0, l.unref)(wt),
28640
- "inline-edit": (0, l.unref)(xt),
28641
- inspector: (0, l.unref)(_t),
28642
- collaboration: (0, l.unref)(no),
28643
- "spell-check-enabled": (0, l.unref)(Fn),
28644
- "drawing-active": (0, l.unref)(Xo),
28645
- "active-tool": (0, l.unref)(kn),
28646
- "drawing-color": (0, l.unref)(Sn),
28647
- "drawing-width": (0, l.unref)(En),
28648
- "on-stroke": (0, l.unref)(Zo),
28649
- "on-erase": (0, l.unref)(Qo),
28650
- ai: (0, l.unref)(K),
28651
- "ai-panel": (0, l.unref)(pt),
28652
- "on-request-edit": (0, l.unref)(bt),
28653
- "on-format": (0, l.unref)(Do)
28632
+ ref: Fo,
28633
+ "can-edit": De.value,
28634
+ presenting: (0, l.unref)(Ut).presenting.value,
28635
+ "canvas-size": (0, l.unref)(J),
28636
+ "effective-zoom": (0, l.unref)($e),
28637
+ "active-slide": (0, l.unref)(Re),
28638
+ "active-slide-index": (0, l.unref)(Me),
28639
+ "selected-elements": (0, l.unref)(nt),
28640
+ "selected-element-ids": (0, l.unref)(Qe),
28641
+ marquee: (0, l.unref)(ct),
28642
+ "active-comments": (0, l.unref)(oo).activeComments.value,
28643
+ "on-comment-marker-click": (0, l.unref)(oo).onCommentMarkerClick,
28644
+ "show-grid": (0, l.unref)(Tn),
28645
+ "grid-spacing-px": Bt.value,
28646
+ "show-guides": (0, l.unref)(Pn),
28647
+ drag: (0, l.unref)(Nt),
28648
+ "inline-edit": (0, l.unref)(ht),
28649
+ inspector: (0, l.unref)(zt),
28650
+ collaboration: (0, l.unref)(ao),
28651
+ "spell-check-enabled": (0, l.unref)(In),
28652
+ "drawing-active": (0, l.unref)(Qo),
28653
+ "active-tool": (0, l.unref)(En),
28654
+ "drawing-color": (0, l.unref)(Cn),
28655
+ "drawing-width": (0, l.unref)(wn),
28656
+ "on-stroke": (0, l.unref)(Jo),
28657
+ "on-erase": (0, l.unref)(ea),
28658
+ ai: (0, l.unref)(j),
28659
+ "ai-panel": (0, l.unref)(mt),
28660
+ "on-request-edit": (0, l.unref)(St),
28661
+ "on-format": (0, l.unref)(_o)
28654
28662
  }, null, 8, [
28655
28663
  "can-edit",
28656
28664
  "presenting",
@@ -28699,41 +28707,41 @@ var UG = ["aria-busy", "tabindex"], HG = {
28699
28707
  "selected-element-ids",
28700
28708
  "onCreateGuide"
28701
28709
  ])], 42, YG),
28702
- (0, l.unref)(Rt).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
28710
+ (0, l.unref)(Ut).presenting.value ? (0, l.createCommentVNode)("", !0) : ((0, l.openBlock)(), (0, l.createBlock)(dG, {
28703
28711
  key: 1,
28704
- deck: (0, l.unref)(q),
28705
- "can-edit": Fe.value,
28706
- "edit-template-mode": (0, l.unref)(Ze),
28707
- "is-mobile": (0, l.unref)(Co),
28708
- "inspector-open": (0, l.unref)(Cn),
28709
- "on-close-inspector": () => Cn.value = !1,
28710
- "inspector-element": (0, l.unref)(_t).inspectorElementForPanels.value,
28711
- "active-slide": (0, l.unref)(Me),
28712
- "slide-count": (0, l.unref)(ze),
28713
- "author-name": Jn.value,
28714
- "selected-element-ids": (0, l.unref)(Xe),
28715
- "deck-actions": (0, l.unref)(Zn),
28716
- comments: (0, l.unref)(eo),
28717
- accessibility: (0, l.unref)(en),
28718
- "show-a11y": Jt.value,
28719
- "signature-workflow": (0, l.unref)(ao),
28720
- "selection-pane": (0, l.unref)(mo),
28721
- collaboration: (0, l.unref)(no),
28722
- "custom-shows": (0, l.unref)(xo),
28723
- ai: (0, l.unref)(K),
28724
- "ai-chat-panel": (0, l.unref)($),
28725
- "ai-panel-open": dt.value,
28726
- "on-close-ai-panel": () => dt.value = !1,
28727
- "ai-panel": (0, l.unref)(pt),
28728
- "ai-bridge": (0, l.unref)(ta),
28729
- "ribbon-mode": _o.value,
28730
- "go-to": (0, l.unref)(Oe),
28731
- "on-inspector-update": (0, l.unref)(_t).onInspectorUpdate,
28732
- "on-update-slide-animations": (0, l.unref)(_t).writeSlideAnimations,
28733
- "on-table-style-map-change": (0, l.unref)(Qn).onTableStyleMapChange,
28734
- "on-delete-table-style": (0, l.unref)(Qn).onDeleteTableStyle,
28735
- "on-slide-update": (0, l.unref)(on),
28736
- "on-presentation-update": (0, l.unref)(lo).onPresentationPropertiesUpdate
28712
+ deck: (0, l.unref)(X),
28713
+ "can-edit": De.value,
28714
+ "edit-template-mode": (0, l.unref)(Je),
28715
+ "is-mobile": (0, l.unref)(Bo),
28716
+ "inspector-open": (0, l.unref)(Bn),
28717
+ "on-close-inspector": () => Bn.value = !1,
28718
+ "inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
28719
+ "active-slide": (0, l.unref)(Re),
28720
+ "slide-count": (0, l.unref)(Oe),
28721
+ "author-name": no.value,
28722
+ "selected-element-ids": (0, l.unref)(Qe),
28723
+ "deck-actions": (0, l.unref)(Jn),
28724
+ comments: (0, l.unref)(oo),
28725
+ accessibility: (0, l.unref)(nn),
28726
+ "show-a11y": tn.value,
28727
+ "signature-workflow": (0, l.unref)(io),
28728
+ "selection-pane": (0, l.unref)(go),
28729
+ collaboration: (0, l.unref)(ao),
28730
+ "custom-shows": (0, l.unref)(ho),
28731
+ ai: (0, l.unref)(j),
28732
+ "ai-chat-panel": (0, l.unref)(W),
28733
+ "ai-panel-open": ut.value,
28734
+ "on-close-ai-panel": () => ut.value = !1,
28735
+ "ai-panel": (0, l.unref)(mt),
28736
+ "ai-bridge": (0, l.unref)(oa),
28737
+ "ribbon-mode": zo.value,
28738
+ "go-to": (0, l.unref)(Le),
28739
+ "on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
28740
+ "on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
28741
+ "on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
28742
+ "on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
28743
+ "on-slide-update": (0, l.unref)(ln),
28744
+ "on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate
28737
28745
  }, null, 8, [
28738
28746
  "deck",
28739
28747
  "can-edit",
@@ -28769,46 +28777,47 @@ var UG = ["aria-busy", "tabindex"], HG = {
28769
28777
  "on-slide-update",
28770
28778
  "on-presentation-update"
28771
28779
  ]))
28772
- ], 512), [[l.vShow, !(0, l.unref)(Rt).presenting.value]]),
28773
- Fe.value && !(0, l.unref)(Co) && (0, l.unref)(ze) > 0 && !(0, l.unref)(Rt).presenting.value && (0, l.unref)(M)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
28780
+ ], 512), [[l.vShow, !(0, l.unref)(Ut).presenting.value]]),
28781
+ De.value && !(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && (0, l.unref)(H)("notes") ? ((0, l.openBlock)(), (0, l.createBlock)(Al, {
28774
28782
  key: 2,
28775
28783
  ref_key: "notesPanel",
28776
- ref: Uo,
28777
- slide: (0, l.unref)(Me),
28778
- expanded: (0, l.unref)(Bn),
28779
- "notes-style": (0, l.unref)(ye)?.notesStyle,
28780
- onUpdate: (0, l.unref)(tn),
28781
- onToggle: n[17] || (n[17] = (e) => Bn.value = !(0, l.unref)(Bn))
28784
+ ref: Go,
28785
+ slide: (0, l.unref)(Re),
28786
+ expanded: (0, l.unref)(Vn),
28787
+ "notes-style": (0, l.unref)(be)?.notesStyle,
28788
+ onUpdate: (0, l.unref)(on),
28789
+ onToggle: n[17] || (n[17] = (e) => Vn.value = !(0, l.unref)(Vn))
28782
28790
  }, null, 8, [
28783
28791
  "slide",
28784
28792
  "expanded",
28785
28793
  "notes-style",
28786
28794
  "onUpdate"
28787
28795
  ])) : (0, l.createCommentVNode)("", !0),
28788
- !(0, l.unref)(Co) && (0, l.unref)(ze) > 0 && !(0, l.unref)(Rt).presenting.value && x.value.showToolbar && (0, l.unref)(M)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
28796
+ !(0, l.unref)(Bo) && (0, l.unref)(Oe) > 0 && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar && (0, l.unref)(H)("statusBar") ? ((0, l.openBlock)(), (0, l.createBlock)(ki, {
28789
28797
  key: 3,
28790
- "slide-count": (0, l.unref)(ze),
28791
- "active-slide-index": (0, l.unref)(Ae),
28792
- "is-dirty": (0, l.unref)(Gn).isDirty.value,
28793
- "autosave-status": (0, l.unref)(qn) ? "disabled" : (0, l.unref)(Kn) ? (0, l.unref)(Gn).status.value : void 0,
28794
- "last-saved-at": (0, l.unref)(Gn).lastSavedAt.value,
28795
- scale: (0, l.unref)(Ue),
28796
- mode: _o.value,
28797
- "is-notes-expanded": (0, l.unref)(Bn),
28798
- "show-notes": Fe.value && (0, l.unref)(M)("notes"),
28799
- "hidden-actions": (0, l.unref)(H),
28800
- onZoomIn: (0, l.unref)(Ke),
28801
- onZoomOut: (0, l.unref)($e),
28802
- onZoomToFit: (0, l.unref)(je),
28803
- onToggleNotes: n[18] || (n[18] = (e) => Bn.value = !(0, l.unref)(Bn)),
28804
- onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(Qt).showSorter.value = !0),
28805
- onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Rt).startPresenting() : (0, l.unref)(Rt).presenting.value = !1)
28806
- }, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(no).collabActive.value && (0, l.unref)(L)("share") ? {
28798
+ "slide-count": (0, l.unref)(Oe),
28799
+ "active-slide-index": (0, l.unref)(Me),
28800
+ "is-dirty": (0, l.unref)($n).isDirty.value,
28801
+ "autosave-status": (0, l.unref)(Xn) ? "disabled" : (0, l.unref)(jn) ? (0, l.unref)($n).status.value : void 0,
28802
+ "last-saved-at": (0, l.unref)($n).lastSavedAt.value,
28803
+ "save-progress": (0, l.unref)(B),
28804
+ scale: (0, l.unref)(Ge),
28805
+ mode: zo.value,
28806
+ "is-notes-expanded": (0, l.unref)(Vn),
28807
+ "show-notes": De.value && (0, l.unref)(H)("notes"),
28808
+ "hidden-actions": (0, l.unref)(K),
28809
+ onZoomIn: (0, l.unref)(je),
28810
+ onZoomOut: (0, l.unref)(We),
28811
+ onZoomToFit: (0, l.unref)(qe),
28812
+ onToggleNotes: n[18] || (n[18] = (e) => Vn.value = !(0, l.unref)(Vn)),
28813
+ onToggleSlideSorter: n[19] || (n[19] = (e) => (0, l.unref)(en).showSorter.value = !0),
28814
+ onSetMode: n[20] || (n[20] = (e) => "present" === e ? (0, l.unref)(Ut).startPresenting() : (0, l.unref)(Ut).presenting.value = !1)
28815
+ }, (0, l.createSlots)({ _: 2 }, [(0, l.unref)(ao).collabActive.value && (0, l.unref)(G)("share") ? {
28807
28816
  name: "collaboration",
28808
28817
  fn: (0, l.withCtx)(() => [(0, l.createVNode)(z, {
28809
- status: (0, l.unref)(no).collab.status.value,
28810
- "connected-count": (0, l.unref)(no).collab.connectedCount.value,
28811
- onRetry: (0, l.unref)(no).collab.retry
28818
+ status: (0, l.unref)(ao).collab.status.value,
28819
+ "connected-count": (0, l.unref)(ao).collab.connectedCount.value,
28820
+ onRetry: (0, l.unref)(ao).collab.retry
28812
28821
  }, null, 8, [
28813
28822
  "status",
28814
28823
  "connected-count",
@@ -28821,6 +28830,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
28821
28830
  "is-dirty",
28822
28831
  "autosave-status",
28823
28832
  "last-saved-at",
28833
+ "save-progress",
28824
28834
  "scale",
28825
28835
  "mode",
28826
28836
  "is-notes-expanded",
@@ -28831,27 +28841,27 @@ var UG = ["aria-busy", "tabindex"], HG = {
28831
28841
  "onZoomToFit"
28832
28842
  ])) : (0, l.createCommentVNode)("", !0),
28833
28843
  (0, l.createVNode)(Zu, {
28834
- "can-edit": Fe.value,
28835
- theme: (0, l.unref)(be),
28836
- "theme-gallery-open": (0, l.unref)(Pn),
28837
- "on-close-theme-gallery": () => Pn.value = !1,
28838
- "theme-editor-open": (0, l.unref)(In),
28839
- "on-close-theme-editor": () => In.value = !1,
28840
- "theme-editing": (0, l.unref)(Jo),
28841
- "context-menu": (0, l.unref)(On),
28842
- "context-items": (0, l.unref)(Rn),
28843
- "on-context-select": (0, l.unref)(Un),
28844
- "on-close-context-menu": () => (0, l.unref)(On).open = !1,
28845
- "canvas-context-menu": (0, l.unref)(An).canvasContextMenu.value,
28846
- "canvas-context-items": (0, l.unref)(An).canvasContextItems.value,
28847
- "on-canvas-context-select": (0, l.unref)(An).onCanvasContextSelect,
28848
- "on-close-canvas-context-menu": (0, l.unref)(An).closeCanvasContextMenu,
28849
- "layout-gallery": Mn.value,
28850
- hyperlink: (0, l.unref)(Ut),
28851
- "slide-count": (0, l.unref)(ze),
28852
- collaboration: (0, l.unref)(no),
28844
+ "can-edit": De.value,
28845
+ theme: (0, l.unref)(Se),
28846
+ "theme-gallery-open": (0, l.unref)(_n),
28847
+ "on-close-theme-gallery": () => _n.value = !1,
28848
+ "theme-editor-open": (0, l.unref)(An),
28849
+ "on-close-theme-editor": () => An.value = !1,
28850
+ "theme-editing": (0, l.unref)(ta),
28851
+ "context-menu": (0, l.unref)(Ln),
28852
+ "context-items": (0, l.unref)(Un),
28853
+ "on-context-select": (0, l.unref)(Gn),
28854
+ "on-close-context-menu": () => (0, l.unref)(Ln).open = !1,
28855
+ "canvas-context-menu": (0, l.unref)(Mn).canvasContextMenu.value,
28856
+ "canvas-context-items": (0, l.unref)(Mn).canvasContextItems.value,
28857
+ "on-canvas-context-select": (0, l.unref)(Mn).onCanvasContextSelect,
28858
+ "on-close-canvas-context-menu": (0, l.unref)(Mn).closeCanvasContextMenu,
28859
+ "layout-gallery": Rn.value,
28860
+ hyperlink: (0, l.unref)(Gt),
28861
+ "slide-count": (0, l.unref)(Oe),
28862
+ collaboration: (0, l.unref)(ao),
28853
28863
  "share-defaults": v.shareDefaults,
28854
- "paste-special": (0, l.unref)(Mt)
28864
+ "paste-special": (0, l.unref)(Rt)
28855
28865
  }, null, 8, [
28856
28866
  "can-edit",
28857
28867
  "theme",
@@ -28877,12 +28887,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
28877
28887
  ]),
28878
28888
  (0, l.createVNode)(I, {
28879
28889
  prompt: (0, l.unref)(a.shouldShowAutosaveRecoveryPrompt)({
28880
- prompt: (0, l.unref)(Xn).prompt.value,
28881
- presenting: (0, l.unref)(Rt).presenting.value
28882
- }) ? (0, l.unref)(Xn).prompt.value : null,
28883
- discarding: (0, l.unref)(Xn).discarding.value,
28884
- onRestore: (0, l.unref)(Xn).restore,
28885
- onDiscard: (0, l.unref)(Xn).discard
28890
+ prompt: (0, l.unref)(Qn).prompt.value,
28891
+ presenting: (0, l.unref)(Ut).presenting.value
28892
+ }) ? (0, l.unref)(Qn).prompt.value : null,
28893
+ discarding: (0, l.unref)(Qn).discarding.value,
28894
+ onRestore: (0, l.unref)(Qn).restore,
28895
+ onDiscard: (0, l.unref)(Qn).discard
28886
28896
  }, null, 8, [
28887
28897
  "prompt",
28888
28898
  "discarding",
@@ -28890,35 +28900,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
28890
28900
  "onDiscard"
28891
28901
  ]),
28892
28902
  (0, l.createVNode)(dx, {
28893
- "custom-font-families": co.value,
28894
- slides: (0, l.unref)(Y),
28895
- onCustomFontRegistered: po,
28896
- "active-slide-index": (0, l.unref)(Ae),
28897
- "canvas-size": (0, l.unref)(Z),
28898
- "media-data-urls": (0, l.unref)(Q),
28899
- "core-properties": (0, l.unref)(ne),
28900
- "custom-properties": (0, l.unref)(oe),
28901
- "app-properties": (0, l.unref)(re),
28902
- "header-footer": (0, l.unref)(xe),
28903
- "document-properties": (0, l.unref)(vo),
28904
- "version-history": (0, l.unref)(fo),
28905
- printer: (0, l.unref)(Zt),
28906
- "header-footer-dialog": (0, l.unref)(go),
28907
- "show-shortcuts": (0, l.unref)(Ao),
28908
- "on-close-shortcuts": () => Ao.value = !1,
28909
- "show-settings": (0, l.unref)(Wo) && (0, l.unref)(L)("options"),
28910
- "on-close-settings": () => Wo.value = !1,
28911
- "options-store": (0, l.unref)(D),
28912
- "viewer-options": (0, l.unref)(_),
28913
- "addin-status": jo.value,
28903
+ "custom-font-families": mo.value,
28904
+ slides: (0, l.unref)(Z),
28905
+ onCustomFontRegistered: vo,
28906
+ "active-slide-index": (0, l.unref)(Me),
28907
+ "canvas-size": (0, l.unref)(J),
28908
+ "media-data-urls": (0, l.unref)(ee),
28909
+ "core-properties": (0, l.unref)(ae),
28910
+ "custom-properties": (0, l.unref)(le),
28911
+ "app-properties": (0, l.unref)(ce),
28912
+ "header-footer": (0, l.unref)(he),
28913
+ "document-properties": (0, l.unref)(fo),
28914
+ "version-history": (0, l.unref)(yo),
28915
+ printer: (0, l.unref)(Jt),
28916
+ "header-footer-dialog": (0, l.unref)(xo),
28917
+ "show-shortcuts": (0, l.unref)(Mo),
28918
+ "on-close-shortcuts": () => Mo.value = !1,
28919
+ "show-settings": (0, l.unref)(Yo) && (0, l.unref)(G)("options"),
28920
+ "on-close-settings": () => Yo.value = !1,
28921
+ "options-store": (0, l.unref)(A),
28922
+ "viewer-options": (0, l.unref)(M),
28923
+ "addin-status": qo.value,
28914
28924
  "theme-key": (0, l.unref)(k).themeKey.value,
28915
28925
  "on-theme-select": (0, l.unref)(k).selectTheme,
28916
28926
  "locale-code": (0, l.unref)(k).localeCode.value,
28917
28927
  "on-locale-select": (0, l.unref)(k).selectLocale,
28918
28928
  "available-themes": v.availableThemes,
28919
28929
  "available-locales": (0, l.unref)(k).resolvedAvailableLocales.value,
28920
- "ai-enabled": (0, l.unref)(G),
28921
- "on-clear-cache": qo
28930
+ "ai-enabled": (0, l.unref)($),
28931
+ "on-clear-cache": Xo
28922
28932
  }, null, 8, [
28923
28933
  "custom-font-families",
28924
28934
  "slides",
@@ -28948,19 +28958,19 @@ var UG = ["aria-busy", "tabindex"], HG = {
28948
28958
  "available-locales",
28949
28959
  "ai-enabled"
28950
28960
  ]),
28951
- (0, l.unref)(ho).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
28961
+ (0, l.unref)(ko).showMasterView.value ? ((0, l.openBlock)(), (0, l.createBlock)(jt, {
28952
28962
  key: 4,
28953
28963
  ref_key: "masterInlineEditor",
28954
- ref: yt,
28955
- state: (0, l.unref)(ho),
28956
- crud: (0, l.unref)(bo),
28957
- "slide-masters": (0, l.unref)(pe),
28958
- "canvas-size": (0, l.unref)(Z),
28959
- "media-data-urls": (0, l.unref)(Q),
28960
- "notes-master": (0, l.unref)(ye),
28961
- "notes-canvas-size": (0, l.unref)(q).notesCanvasSize.value,
28962
- "handout-master": (0, l.unref)(he),
28963
- "can-edit": Fe.value,
28964
+ ref: bt,
28965
+ state: (0, l.unref)(ko),
28966
+ crud: (0, l.unref)(So),
28967
+ "slide-masters": (0, l.unref)(me),
28968
+ "canvas-size": (0, l.unref)(J),
28969
+ "media-data-urls": (0, l.unref)(ee),
28970
+ "notes-master": (0, l.unref)(be),
28971
+ "notes-canvas-size": (0, l.unref)(X).notesCanvasSize.value,
28972
+ "handout-master": (0, l.unref)(ke),
28973
+ "can-edit": De.value,
28964
28974
  "list-conversion-scope": v.listConversionScope
28965
28975
  }, null, 8, [
28966
28976
  "state",
@@ -28975,18 +28985,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
28975
28985
  "list-conversion-scope"
28976
28986
  ])) : (0, l.createCommentVNode)("", !0),
28977
28987
  (0, l.createVNode)(rp, {
28978
- collaboration: (0, l.unref)(no),
28988
+ collaboration: (0, l.unref)(ao),
28979
28989
  "broadcast-server-url": v.shareDefaults?.serverUrl,
28980
- "slide-show": (0, l.unref)(lo),
28981
- "presentation-properties": (0, l.unref)(ge),
28982
- "custom-shows": (0, l.unref)(me),
28983
- "slide-count": (0, l.unref)(ze),
28984
- password: (0, l.unref)(P),
28985
- "font-embedding": (0, l.unref)(io),
28986
- "insert-dialogs": (0, l.unref)(ht),
28987
- "signature-workflow": (0, l.unref)(ao),
28988
- "signature-count": (0, l.unref)(ce).length,
28989
- "deck-actions": (0, l.unref)(Zn)
28990
+ "slide-show": (0, l.unref)(co),
28991
+ "presentation-properties": (0, l.unref)(xe),
28992
+ "custom-shows": (0, l.unref)(ge),
28993
+ "slide-count": (0, l.unref)(Oe),
28994
+ password: (0, l.unref)(_),
28995
+ "font-embedding": (0, l.unref)(po),
28996
+ "insert-dialogs": (0, l.unref)(kt),
28997
+ "signature-workflow": (0, l.unref)(io),
28998
+ "signature-count": (0, l.unref)(pe).length,
28999
+ "deck-actions": (0, l.unref)(Jn)
28990
29000
  }, null, 8, [
28991
29001
  "collaboration",
28992
29002
  "broadcast-server-url",
@@ -29001,35 +29011,35 @@ var UG = ["aria-busy", "tabindex"], HG = {
29001
29011
  "signature-count",
29002
29012
  "deck-actions"
29003
29013
  ]),
29004
- (0, l.unref)(Co) && !(0, l.unref)(Rt).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
29014
+ (0, l.unref)(Bo) && !(0, l.unref)(Ut).presenting.value && x.value.showToolbar ? ((0, l.openBlock)(), (0, l.createBlock)(dR, {
29005
29015
  key: 5,
29006
- chrome: (0, l.unref)(To),
29007
- deck: (0, l.unref)(q),
29008
- "slide-ops": (0, l.unref)(At),
29009
- comments: (0, l.unref)(eo),
29010
- "deck-actions": (0, l.unref)(Zn),
29011
- "edit-template-mode": (0, l.unref)(Ze),
29012
- "merged-slides": (0, l.unref)(tt),
29013
- "active-slide": (0, l.unref)(Me),
29014
- "active-slide-index": (0, l.unref)(Ae),
29015
- "slide-count": (0, l.unref)(ze),
29016
- "active-comments": (0, l.unref)(eo).activeComments.value,
29017
- "can-edit": Fe.value,
29018
- "keyboard-inset": (0, l.unref)(Bo),
29019
- "inspector-element": (0, l.unref)(_t).inspectorElementForPanels.value,
29020
- "author-name": Jn.value,
29021
- "notes-master": (0, l.unref)(ye),
29022
- "go-to": (0, l.unref)(Oe),
29023
- "toggle-slide-hidden": (0, l.unref)(nn),
29024
- "on-add-section": (0, l.unref)(ko).addSection,
29025
- "on-notes-update": (0, l.unref)(tn),
29026
- "on-inspector-update": (0, l.unref)(_t).onInspectorUpdate,
29027
- "on-update-slide-animations": (0, l.unref)(_t).writeSlideAnimations,
29028
- "on-table-style-map-change": (0, l.unref)(Qn).onTableStyleMapChange,
29029
- "on-delete-table-style": (0, l.unref)(Qn).onDeleteTableStyle,
29030
- "on-slide-update": (0, l.unref)(on),
29031
- "on-presentation-update": (0, l.unref)(lo).onPresentationPropertiesUpdate,
29032
- "on-select-element": (0, l.unref)(mo).onSelectionPaneSelect
29016
+ chrome: (0, l.unref)(Po),
29017
+ deck: (0, l.unref)(X),
29018
+ "slide-ops": (0, l.unref)(Mt),
29019
+ comments: (0, l.unref)(oo),
29020
+ "deck-actions": (0, l.unref)(Jn),
29021
+ "edit-template-mode": (0, l.unref)(Je),
29022
+ "merged-slides": (0, l.unref)(ot),
29023
+ "active-slide": (0, l.unref)(Re),
29024
+ "active-slide-index": (0, l.unref)(Me),
29025
+ "slide-count": (0, l.unref)(Oe),
29026
+ "active-comments": (0, l.unref)(oo).activeComments.value,
29027
+ "can-edit": De.value,
29028
+ "keyboard-inset": (0, l.unref)(Vo),
29029
+ "inspector-element": (0, l.unref)(zt).inspectorElementForPanels.value,
29030
+ "author-name": no.value,
29031
+ "notes-master": (0, l.unref)(be),
29032
+ "go-to": (0, l.unref)(Le),
29033
+ "toggle-slide-hidden": (0, l.unref)(an),
29034
+ "on-add-section": (0, l.unref)(Eo).addSection,
29035
+ "on-notes-update": (0, l.unref)(on),
29036
+ "on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
29037
+ "on-update-slide-animations": (0, l.unref)(zt).writeSlideAnimations,
29038
+ "on-table-style-map-change": (0, l.unref)(eo).onTableStyleMapChange,
29039
+ "on-delete-table-style": (0, l.unref)(eo).onDeleteTableStyle,
29040
+ "on-slide-update": (0, l.unref)(ln),
29041
+ "on-presentation-update": (0, l.unref)(co).onPresentationPropertiesUpdate,
29042
+ "on-select-element": (0, l.unref)(go).onSelectionPaneSelect
29033
29043
  }, null, 8, [
29034
29044
  "chrome",
29035
29045
  "deck",
@@ -29061,7 +29071,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
29061
29071
  ])) : (0, l.createCommentVNode)("", !0),
29062
29072
  (0, l.createElementVNode)("div", {
29063
29073
  ref_key: "exportStageRef",
29064
- ref: $t,
29074
+ ref: qt,
29065
29075
  class: "pptx-vue-export-stage",
29066
29076
  "aria-hidden": "true",
29067
29077
  style: {
@@ -29071,11 +29081,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
29071
29081
  "pointer-events": "none",
29072
29082
  opacity: "0"
29073
29083
  }
29074
- }, [(0, l.unref)(Wt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
29084
+ }, [(0, l.unref)(Yt) ? ((0, l.openBlock)(), (0, l.createBlock)(e.SlideStage_default, {
29075
29085
  key: 0,
29076
- slide: (0, l.unref)(Wt),
29077
- "canvas-size": (0, l.unref)(Z),
29078
- "media-data-urls": (0, l.unref)(Q),
29086
+ slide: (0, l.unref)(Yt),
29087
+ "canvas-size": (0, l.unref)(J),
29088
+ "media-data-urls": (0, l.unref)(ee),
29079
29089
  scale: 1
29080
29090
  }, null, 8, [
29081
29091
  "slide",
@@ -29083,14 +29093,14 @@ var UG = ["aria-busy", "tabindex"], HG = {
29083
29093
  "media-data-urls"
29084
29094
  ])) : (0, l.createCommentVNode)("", !0)], 512)
29085
29095
  ], 64)),
29086
- !(0, l.unref)(Rt).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
29096
+ !(0, l.unref)(Ut).presenting.value && x.value.showCompatibilityToasts ? ((0, l.openBlock)(), (0, l.createBlock)(O, {
29087
29097
  key: 4,
29088
- toasts: (0, l.unref)(De).visibleToasts.value,
29089
- "overflow-count": (0, l.unref)(De).overflowCount.value,
29090
- "right-inset": Lo.value,
29091
- "bottom-inset": Ho.value,
29092
- onDismiss: (0, l.unref)(De).dismiss,
29093
- onDismissAll: (0, l.unref)(De).dismissAll
29098
+ toasts: (0, l.unref)(_e).visibleToasts.value,
29099
+ "overflow-count": (0, l.unref)(_e).overflowCount.value,
29100
+ "right-inset": Ho.value,
29101
+ "bottom-inset": Ko.value,
29102
+ onDismiss: (0, l.unref)(_e).dismiss,
29103
+ onDismissAll: (0, l.unref)(_e).dismissAll
29094
29104
  }, null, 8, [
29095
29105
  "toasts",
29096
29106
  "overflow-count",
@@ -29100,11 +29110,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
29100
29110
  "onDismissAll"
29101
29111
  ])) : (0, l.createCommentVNode)("", !0),
29102
29112
  (0, l.createVNode)(U, {
29103
- open: (0, l.unref)(Yt).exportModalOpen.value,
29104
- title: (0, l.unref)(Yt).exportModalTitle.value,
29105
- progress: (0, l.unref)(Yt).exportProgress.value,
29106
- "status-message": (0, l.unref)(Yt).exportStatusMessage.value,
29107
- onCancel: (0, l.unref)(Yt).cancelExport
29113
+ open: (0, l.unref)(Zt).exportModalOpen.value,
29114
+ title: (0, l.unref)(Zt).exportModalTitle.value,
29115
+ progress: (0, l.unref)(Zt).exportProgress.value,
29116
+ "status-message": (0, l.unref)(Zt).exportStatusMessage.value,
29117
+ onCancel: (0, l.unref)(Zt).cancelExport
29108
29118
  }, null, 8, [
29109
29119
  "open",
29110
29120
  "title",
@@ -29113,31 +29123,31 @@ var UG = ["aria-busy", "tabindex"], HG = {
29113
29123
  "onCancel"
29114
29124
  ]),
29115
29125
  (0, l.createVNode)(LU, {
29116
- "deck-views": (0, l.unref)(Qt),
29126
+ "deck-views": (0, l.unref)(en),
29117
29127
  "on-hyperlink-click": v.onHyperlinkClick,
29118
- presentation: (0, l.unref)(Rt),
29119
- "merged-slides": (0, l.unref)(tt),
29120
- "clipboard-templates": (0, l.unref)(X),
29121
- slides: (0, l.unref)(Y),
29122
- "canvas-size": (0, l.unref)(Z),
29123
- "media-data-urls": (0, l.unref)(Q),
29128
+ presentation: (0, l.unref)(Ut),
29129
+ "merged-slides": (0, l.unref)(ot),
29130
+ "clipboard-templates": (0, l.unref)(Q),
29131
+ slides: (0, l.unref)(Z),
29132
+ "canvas-size": (0, l.unref)(J),
29133
+ "media-data-urls": (0, l.unref)(ee),
29124
29134
  content: v.content,
29125
- "active-slide-index": (0, l.unref)(Ae),
29126
- "can-edit": Fe.value,
29127
- "presentation-properties": (0, l.unref)(ge),
29128
- "custom-shows": (0, l.unref)(me),
29129
- "authored-range": yo.value,
29130
- "end-with-black-slide": (0, l.unref)(_).advanced.slideShowEndWithBlackSlide,
29131
- "prompt-keep-ink-annotations": (0, l.unref)(_).advanced.slideShowPromptKeepInkAnnotations,
29132
- "show-menu-on-right-click": (0, l.unref)(_).advanced.slideShowShowMenuOnRightClick,
29133
- "show-popup-toolbar": (0, l.unref)(_).advanced.slideShowShowPopupToolbar,
29134
- "pixelate-mosaic-animation": (0, l.unref)(_).advanced.pixelateMosaicAnimation,
29135
- "duplicate-slide": (0, l.unref)(At).duplicateSlide,
29136
- "paste-slides": (0, l.unref)(At).pasteSlides,
29137
- "copy-system-slides": (e) => (0, l.unref)(da).copy(e),
29138
- "paste-system-slides": (e) => (0, l.unref)(da).paste(e),
29139
- "delete-slide": (0, l.unref)(At).deleteSlide,
29140
- "toggle-slide-hidden": (0, l.unref)(nn)
29135
+ "active-slide-index": (0, l.unref)(Me),
29136
+ "can-edit": De.value,
29137
+ "presentation-properties": (0, l.unref)(xe),
29138
+ "custom-shows": (0, l.unref)(ge),
29139
+ "authored-range": bo.value,
29140
+ "end-with-black-slide": (0, l.unref)(M).advanced.slideShowEndWithBlackSlide,
29141
+ "prompt-keep-ink-annotations": (0, l.unref)(M).advanced.slideShowPromptKeepInkAnnotations,
29142
+ "show-menu-on-right-click": (0, l.unref)(M).advanced.slideShowShowMenuOnRightClick,
29143
+ "show-popup-toolbar": (0, l.unref)(M).advanced.slideShowShowPopupToolbar,
29144
+ "pixelate-mosaic-animation": (0, l.unref)(M).advanced.pixelateMosaicAnimation,
29145
+ "duplicate-slide": (0, l.unref)(Mt).duplicateSlide,
29146
+ "paste-slides": (0, l.unref)(Mt).pasteSlides,
29147
+ "copy-system-slides": (e) => (0, l.unref)(ua).copy(e),
29148
+ "paste-system-slides": (e) => (0, l.unref)(ua).paste(e),
29149
+ "delete-slide": (0, l.unref)(Mt).deleteSlide,
29150
+ "toggle-slide-hidden": (0, l.unref)(an)
29141
29151
  }, null, 8, [
29142
29152
  "deck-views",
29143
29153
  "on-hyperlink-click",