pptx-svelte-viewer 4.75.0 → 4.76.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.
package/dist/index.js CHANGED
@@ -1,43 +1,43 @@
1
- import { A as L, B as z, F as V, I as q, L as M, M as U, N as xe, O as H, P as G, R as K, _ as Fe, b as Le, c as ze, d as Ve, f as W, j as X, k as j, m as Q, p as J, s as qe, t as Y, u as Z, v as Me, x as Ue, y as He, z as $ } from "./export-CVudgvaM.js";
1
+ import { A as F, B as z, F as L, H as V, I as q, L as U, M, N as ze, O as H, P as G, R as K, V as W, _ as Le, b as Ve, c as qe, d as Ue, f as X, j, k as Q, m as J, p as Y, s as Me, t as Z, u as $, v as He, x as Ge, y as Ke, z as ee } from "./export-B-KZgn51.js";
2
2
  import "./i18n.js";
3
- import { i as We, t as ee } from "./translator-2U8GG-ce.js";
4
- import { p as te } from "./transition-overlay-SNUzj4xJ.js";
5
- import { BACKSTAGE_CARD_IDS as Qe, BACKSTAGE_PAGE_IDS as Je, BUILDING_BLOCK_OK as O, CANVAS_CONTEXT_MENU_COMMAND_IDS as Ye, EDITOR_SHORTCUT_ACTION_IDS as Ze, ELEMENT_CONTEXT_MENU_COMMAND_IDS as $e, OPTIONS_PAGE_IDS as et, OPTIONS_SECTION_IDS as tt, OPTIONS_SETTING_IDS as ot, PPTX_OPEN_ACCEPT as rt, PRESENTATION_OPEN_EXTENSIONS as it, RIBBON_CONTROL_IDS as nt, RIBBON_GROUP_IDS as at, RIBBON_TAB_IDS as st, TOOLBAR_BUTTON_IDS as lt, VIEWER_DIALOG_IDS as dt, VIEWER_EXPORT_FORMAT_IDS as ct, VIEWER_FEATURE_IDS as ut, VIEWER_PANEL_IDS as gt, buildingBlockFailure as P, collectUsedFonts as oe, createImageElementFromFile as pt, createPptxBuildingBlockSession as re, defaultCssVars as mt, defaultRadius as vt, defaultThemeColors as St, deleteAutosaveSnapshot as ht, describeBuildingBlockToolbar as ie, describeCollaborationShellState as ft, findHighlightTargets as ne, forgetSessionDeck as bt, getAutosaveSnapshot as _t, getSessionTabId as yt, hyperlinkEditPatch as ae, isLegacyBinaryPresentation as Ct, isSupportedPresentationFile as Pt, listAutosaveSnapshots as kt, loadPresentationDeck as Et, loadSessionDeck as wt, markFindHighlights as A, parsePresentationSessionId as Tt, presentationBaseName as It, registerBuildingBlockGroups as se, rememberSessionDeck as Ot, resetSlideLayoutPath as le, resolveAuthoredCustomShowId as de, resolveBuildingBlockMode as ce, restoreSessionDeck as At, runBuildingBlockToolbarControl as ue, savedPresentationFileName as Bt, scopeLayoutOptionsToSlide as ge, selectionEquation as pe, themeToCssVars as Nt, themeToCssVars as me, vermilionDarkColors as Rt, vermilionDarkTheme as Dt, vermilionLightColors as xt, vermilionLightTheme as Ft, vermilionRadius as Lt } from "ooxml-ui/pptx";
3
+ import { i as je, t as te } from "./translator-2U8GG-ce.js";
4
+ import { g as oe, h as re } from "./transition-overlay-DXsGFRMK.js";
5
+ import { BACKSTAGE_CARD_IDS as Ye, BACKSTAGE_PAGE_IDS as Ze, BUILDING_BLOCK_OK as B, CANVAS_CONTEXT_MENU_COMMAND_IDS as $e, EDITOR_SHORTCUT_ACTION_IDS as et, ELEMENT_CONTEXT_MENU_COMMAND_IDS as tt, OPTIONS_PAGE_IDS as ot, OPTIONS_SECTION_IDS as rt, OPTIONS_SETTING_IDS as nt, PPTX_OPEN_ACCEPT as it, PRESENTATION_OPEN_EXTENSIONS as at, RIBBON_CONTROL_IDS as st, RIBBON_GROUP_IDS as lt, RIBBON_TAB_IDS as dt, TOOLBAR_BUTTON_IDS as ct, VIEWER_DIALOG_IDS as ut, VIEWER_EXPORT_FORMAT_IDS as gt, VIEWER_FEATURE_IDS as pt, VIEWER_PANEL_IDS as mt, buildingBlockFailure as _, collectUsedFonts as ne, createBuildingBlockShell as ie, createImageElementFromFile as vt, createPptxBuildingBlockSession as ae, defaultCssVars as St, defaultRadius as ht, defaultThemeColors as ft, deleteAutosaveSnapshot as bt, describeBuildingBlockToolbar as se, describeCollaborationShellState as Ct, findTextHighlightsByElement as le, forgetSessionDeck as yt, getAutosaveSnapshot as _t, getSessionTabId as Pt, hyperlinkEditPatch as de, isLegacyBinaryPresentation as Et, isSupportedPresentationFile as kt, listAutosaveSnapshots as wt, loadPresentationDeck as Tt, loadSessionDeck as It, parsePresentationSessionId as Ot, presentationBaseName as Bt, registerBuildingBlockGroups as ce, rememberSessionDeck as At, resetSlideLayoutPath as ue, resolveAuthoredCustomShowId as ge, resolveBuildingBlockMode as pe, resolveCollaborationConfig as me, restoreSessionDeck as Rt, runBuildingBlockToolbarControl as ve, savedPresentationFileName as Nt, scopeLayoutOptionsToSlide as Se, selectionEquation as he, themeToCssVars as xt, themeToCssVars as fe, vermilionDarkColors as Dt, vermilionDarkTheme as Ft, vermilionLightColors as zt, vermilionLightTheme as Lt, vermilionRadius as Vt } from "ooxml-ui/pptx";
6
6
  import "svelte/internal/disclose-version";
7
7
  import * as e from "svelte/internal/client";
8
- import { onDestroy as ve, tick as Se, untrack as E } from "svelte";
9
- function he(r) {
10
- const { state: t } = r, { editor: i, loader: o, parityUi: n } = t, d = () => {
11
- i.dirty = !0;
12
- }, p = (a) => i.updateDocumentProperties(a.core ?? i.coreProperties ?? {}, a.app ?? i.appProperties ?? {}, a.custom ?? i.customProperties, a.core ?? null);
8
+ import { onDestroy as be, untrack as k } from "svelte";
9
+ function Ce(o) {
10
+ const { state: t } = o, { editor: n, loader: r, parityUi: i } = t, d = () => {
11
+ n.dirty = !0;
12
+ }, g = (a) => n.updateDocumentProperties(a.core ?? n.coreProperties ?? {}, a.app ?? n.appProperties ?? {}, a.custom ?? n.customProperties, a.core ?? null);
13
13
  return {
14
14
  passwordProtection: {
15
15
  input: () => ({
16
- openPasswordSet: r.openPasswordSet(),
16
+ openPasswordSet: o.openPasswordSet(),
17
17
  recommendation: { kind: t.readOnlyRec.recommendation.kind },
18
- hasModifyVerifier: o.modifyVerifier !== void 0,
19
- customProperties: i.customProperties
18
+ hasModifyVerifier: r.modifyVerifier !== void 0,
19
+ customProperties: n.customProperties
20
20
  }),
21
- customProperties: () => i.customProperties,
21
+ customProperties: () => n.customProperties,
22
22
  applyOpenPassword: (a) => {
23
- a === null ? i.clearSavePassword() : i.setSavePassword(a), r.setOpenPasswordSet(a !== null);
23
+ a === null ? n.clearSavePassword() : n.setSavePassword(a), o.setOpenPasswordSet(a !== null);
24
24
  },
25
- applyCustomProperties: (a) => p({ custom: a }),
25
+ applyCustomProperties: (a) => g({ custom: a }),
26
26
  markDirty: d
27
27
  },
28
28
  documentProperties: {
29
29
  current: () => ({
30
- core: i.coreProperties ?? {},
31
- custom: i.customProperties,
32
- app: i.appProperties ?? {}
30
+ core: n.coreProperties ?? {},
31
+ custom: n.customProperties,
32
+ app: n.appProperties ?? {}
33
33
  }),
34
- applyUpdate: (a) => p({
34
+ applyUpdate: (a) => g({
35
35
  ...a.core ? { core: {
36
- ...i.coreProperties,
36
+ ...n.coreProperties,
37
37
  ...a.core
38
38
  } } : {},
39
39
  ...a.app ? { app: {
40
- ...i.appProperties,
40
+ ...n.appProperties,
41
41
  ...a.app
42
42
  } } : {},
43
43
  ...a.custom ? { custom: a.custom } : {}
@@ -45,325 +45,343 @@ function he(r) {
45
45
  },
46
46
  fontEmbedding: {
47
47
  input: () => ({
48
- embedFonts: i.embedFonts,
49
- embeddedFamilies: [...i.embeddedFontFamilies],
50
- usedFamilies: oe(i.slides),
51
- descriptor: i.fontEmbedding
48
+ embedFonts: n.embedFonts,
49
+ embeddedFamilies: [...n.embeddedFontFamilies],
50
+ usedFamilies: ne(n.slides),
51
+ descriptor: n.fontEmbedding
52
52
  }),
53
53
  apply: (a) => {
54
- i.embedFonts = a;
54
+ n.embedFonts = a;
55
55
  },
56
56
  markDirty: d
57
57
  },
58
58
  digitalSignatures: {
59
- signed: () => o.hasDigitalSignatures,
60
- count: () => o.digitalSignatureCount,
61
- content: () => r.content(),
59
+ signed: () => r.hasDigitalSignatures,
60
+ count: () => r.digitalSignatureCount,
61
+ content: () => o.content(),
62
62
  markDirty: d
63
63
  },
64
64
  setUpSlideShow: {
65
- presentationProperties: () => i.presentationProperties,
66
- slideCount: () => i.slides.length,
67
- customShows: () => i.customShows,
65
+ presentationProperties: () => n.presentationProperties,
66
+ slideCount: () => n.slides.length,
67
+ customShows: () => n.customShows,
68
68
  save: (a) => {
69
- i.presentationMetadata.updatePresentationProperties(a), n.activeCustomShowId = de(a, i.customShows) ?? null;
69
+ n.presentationMetadata.updatePresentationProperties(a), i.activeCustomShowId = ge(a, n.customShows) ?? null;
70
70
  }
71
71
  },
72
72
  customShows: {
73
- customShows: () => i.customShows,
74
- slides: () => i.slides,
75
- activeId: () => n.activeCustomShowId,
76
- commit: (a, g) => {
77
- i.presentationMetadata.updateCustomShows(a), g && i.commitSlides([...g]);
73
+ customShows: () => n.customShows,
74
+ slides: () => n.slides,
75
+ activeId: () => i.activeCustomShowId,
76
+ commit: (a, m) => {
77
+ n.presentationMetadata.updateCustomShows(a), m && n.commitSlides([...m]);
78
78
  },
79
79
  start: (a) => {
80
- n.activeCustomShowId = a, t.presentation.firstSlide(), t.onFullscreenToggle();
80
+ i.activeCustomShowId = a, t.presentation.firstSlide(), t.onFullscreenToggle();
81
81
  }
82
82
  },
83
83
  shortcuts: {
84
- open: () => n.shortcutsOpen,
84
+ open: () => i.shortcutsOpen,
85
85
  setOpen: (a) => {
86
- n.shortcutsOpen = a;
86
+ i.shortcutsOpen = a;
87
87
  },
88
88
  toggle: () => {
89
- n.shortcutsOpen = !n.shortcutsOpen;
89
+ i.shortcutsOpen = !i.shortcutsOpen;
90
90
  },
91
91
  translate: (a) => t.t(a)
92
92
  }
93
93
  };
94
94
  }
95
- function B(r, t) {
95
+ function A(o, t) {
96
96
  e.user_effect(() => {
97
- r() && E(t);
97
+ o() && k(t);
98
98
  });
99
99
  }
100
- function f(r) {
101
- return r.editor.selectedElements[0] ?? null;
100
+ function C(o) {
101
+ return o.editor.selectedElements[0] ?? null;
102
102
  }
103
- function N(r, t) {
104
- return ge([...t], r.editor.slides[r.viewer.current]?.layoutPath);
103
+ function R(o, t) {
104
+ return Se([...t], o.editor.slides[o.viewer.current]?.layoutPath);
105
105
  }
106
- function R(r) {
107
- return r.editable && !r.collab.readOnly && !r.readOnlyRec.locked;
106
+ function N(o) {
107
+ return o.editable && !o.collab.readOnly && !o.readOnlyRec.locked;
108
108
  }
109
- function fe(r) {
110
- const { state: t } = r, i = f(t), o = t.editor.slides[t.viewer.current];
109
+ function ye(o) {
110
+ const { state: t } = o, n = C(t), r = t.editor.slides[t.viewer.current];
111
111
  return {
112
112
  ready: !t.loader.loading && !t.loader.error,
113
- hasActiveSlide: o !== void 0,
114
- canEdit: R(t),
113
+ hasActiveSlide: r !== void 0,
114
+ canEdit: N(t),
115
115
  editing: t.editingActive && !t.editor.masterViewTarget,
116
116
  canInsert: !t.protectedViewActive && !t.readOnlyRec.locked,
117
- hasSelection: i !== null,
118
- selectionHasHyperlink: !!i?.actionClick,
119
- selectionHasEquation: pe(i) !== null,
120
- layoutCount: N(t, r.layouts()).length,
121
- hasCurrentLayout: le(o) !== void 0,
117
+ hasSelection: n !== null,
118
+ selectionHasHyperlink: !!n?.actionClick,
119
+ selectionHasEquation: he(n) !== null,
120
+ layoutCount: R(t, o.layouts()).length,
121
+ hasCurrentLayout: ue(r) !== void 0,
122
122
  hasHandler: t.loader.handler !== null
123
123
  };
124
124
  }
125
- function be(r) {
125
+ function _e(o) {
126
126
  return {
127
- open: r.open,
127
+ open: o.open,
128
128
  setOpen: (t) => {
129
- t !== r.open && r.toggle();
129
+ t !== o.open && o.toggle();
130
130
  },
131
- query: r.query,
132
- replacement: r.replacement,
131
+ query: o.query,
132
+ replacement: o.replacement,
133
133
  options: {
134
- matchCase: r.matchCase,
135
- includeNotes: r.includeNotes,
136
- includeChartTitles: r.includeChartTitles,
137
- includeChartData: r.includeChartData
134
+ matchCase: o.matchCase,
135
+ includeNotes: o.includeNotes,
136
+ includeChartTitles: o.includeChartTitles,
137
+ includeChartData: o.includeChartData
138
138
  },
139
- matches: r.results,
140
- currentIndex: r.index,
139
+ matches: o.results,
140
+ currentIndex: o.index,
141
141
  setQuery: (t) => {
142
- r.query = t;
142
+ o.query = t;
143
143
  },
144
144
  setReplacement: (t) => {
145
- r.replacement = t;
145
+ o.replacement = t;
146
146
  },
147
147
  setOptions: (t) => {
148
- t.matchCase !== void 0 && (r.matchCase = t.matchCase), t.includeNotes !== void 0 && (r.includeNotes = t.includeNotes), t.includeChartTitles !== void 0 && (r.includeChartTitles = t.includeChartTitles), t.includeChartData !== void 0 && (r.includeChartData = t.includeChartData);
148
+ t.matchCase !== void 0 && (o.matchCase = t.matchCase), t.includeNotes !== void 0 && (o.includeNotes = t.includeNotes), t.includeChartTitles !== void 0 && (o.includeChartTitles = t.includeChartTitles), t.includeChartData !== void 0 && (o.includeChartData = t.includeChartData);
149
149
  },
150
- find: () => r.search(),
151
- navigate: (t) => t > 0 ? r.next() : r.prev(),
152
- replaceCurrent: () => r.replaceCurrent(),
153
- replaceAll: () => r.replaceAll()
150
+ find: () => o.search(),
151
+ navigate: (t) => t > 0 ? o.next() : o.prev(),
152
+ replaceCurrent: () => o.replaceCurrent(),
153
+ replaceAll: () => o.replaceAll()
154
154
  };
155
155
  }
156
- function _e(r) {
157
- const { state: t } = r, { editor: i } = t, o = (n) => {
158
- const d = f(t);
159
- return d ? (i.applyElementPatch(d.id, n), O) : P("no-selection");
156
+ function Pe(o) {
157
+ const { state: t } = o, { editor: n } = t, r = (i) => {
158
+ const d = C(t);
159
+ return d ? (n.applyElementPatch(d.id, i), B) : _("no-selection");
160
160
  };
161
161
  return {
162
- availabilityInput: () => fe(r),
162
+ availabilityInput: () => ye(o),
163
163
  onCancel: () => {
164
164
  t.parityUi.shortcutsOpen = !1;
165
165
  },
166
- fileLimits: () => r.options().fileLimits,
167
- onRequest: (n) => r.options().onRequest?.(n),
166
+ fileLimits: () => o.options().fileLimits,
167
+ onRequest: (i) => o.options().onRequest?.(i),
168
168
  target: () => ({
169
169
  deck: t.loader.handler,
170
- slideId: i.slides[t.viewer.current]?.id,
170
+ slideId: n.slides[t.viewer.current]?.id,
171
171
  slideIndex: t.viewer.current
172
172
  }),
173
173
  canvasSize: () => t.loader.canvasSize,
174
- selectedElement: () => f(t),
175
- slideCount: () => i.slides.length,
176
- activeSlide: () => i.slides[t.viewer.current],
177
- scopedLayouts: () => N(t, r.layouts()),
178
- addElement: (n) => {
179
- i.insertElement(n);
174
+ selectedElement: () => C(t),
175
+ slideCount: () => n.slides.length,
176
+ activeSlide: () => n.slides[t.viewer.current],
177
+ scopedLayouts: () => R(t, o.layouts()),
178
+ addElement: (i) => {
179
+ n.insertElement(i);
180
180
  },
181
- insertMediaFile: async (n, d) => {
182
- const p = await M(n, t.loader.canvasSize);
183
- return p ? d() ? (i.insertElement(p), O) : P("stale-target") : P("decode-failed");
181
+ insertMediaFile: async (i, d) => {
182
+ const g = await U(i, t.loader.canvasSize);
183
+ return g ? d() ? (n.insertElement(g), B) : _("stale-target") : _("decode-failed");
184
184
  },
185
- applyHyperlink: (n) => {
186
- const d = ae(n);
187
- return d.ok ? o({ actionClick: d.actionClick }) : d;
185
+ applyHyperlink: (i) => {
186
+ const d = de(i);
187
+ return d.ok ? r({ actionClick: d.actionClick }) : d;
188
188
  },
189
189
  removeHyperlink: () => {
190
- const n = f(t);
191
- return n && !n.actionClick ? P("no-hyperlink") : o({ actionClick: void 0 });
190
+ const i = C(t);
191
+ return i && !i.actionClick ? _("no-hyperlink") : r({ actionClick: void 0 });
192
192
  },
193
- insertSmartArt: (n, d) => {
194
- i.insertElement(q(n, d, t.loader.canvasSize));
193
+ insertSmartArt: (i, d) => {
194
+ n.insertElement(q(i, d, t.loader.canvasSize));
195
195
  },
196
- insertChart: (n, d) => {
197
- i.insertElement($(n, t.loader.canvasSize, d));
196
+ insertChart: (i, d) => {
197
+ n.insertElement(ee(i, t.loader.canvasSize, d));
198
198
  },
199
- insertEquation: (n) => {
200
- i.insertElement(K(n, t.loader.canvasSize));
199
+ insertEquation: (i) => {
200
+ n.insertElement(K(i, t.loader.canvasSize));
201
201
  },
202
- updateEquation: (n) => {
203
- const d = f(t);
204
- d && (i.equationOps.editingId = d.id, i.equationOps.apply(n));
202
+ updateEquation: (i) => {
203
+ const d = C(t);
204
+ d && (n.equationOps.editingId = d.id, n.equationOps.apply(i));
205
205
  },
206
- findReplace: () => be(t.findReplace),
207
- applyLayout: async (n) => {
208
- if (await i.slidesOps.applyLayout(n) === null) throw new Error(`Layout ${n} was not applied`);
206
+ findReplace: () => _e(t.findReplace),
207
+ applyLayout: async (i) => {
208
+ if (await n.slidesOps.applyLayout(i) === null) throw new Error(`Layout ${i} was not applied`);
209
209
  }
210
210
  };
211
211
  }
212
- function ye(r) {
213
- const t = e.derived(() => r().content), i = e.derived(() => r().canEdit === !0), o = (n) => r()[n];
212
+ function Ee(o) {
213
+ const t = e.derived(() => o().content), n = e.derived(() => o().canEdit === !0), r = (i) => o()[i];
214
214
  return {
215
215
  get source() {
216
216
  return e.get(t);
217
217
  },
218
218
  get editable() {
219
- return e.get(i);
219
+ return e.get(n);
220
220
  },
221
221
  get autosave() {
222
- return o("autosave") === !0;
222
+ return r("autosave") === !0;
223
223
  },
224
224
  get fileName() {
225
- return o("fileName");
225
+ return r("fileName");
226
226
  },
227
227
  get filePath() {
228
- return o("filePath");
228
+ return r("filePath");
229
229
  },
230
230
  get initialSlide() {
231
- return o("initialSlide");
231
+ return r("initialSlide");
232
232
  },
233
233
  get googleFonts() {
234
- return o("googleFonts");
234
+ return r("googleFonts");
235
235
  },
236
236
  get listConversionScope() {
237
- return o("listConversionScope");
237
+ return r("listConversionScope");
238
238
  },
239
239
  get allowExternalContent() {
240
- return o("allowExternalContent");
240
+ return r("allowExternalContent");
241
241
  },
242
242
  get limits() {
243
- return o("limits");
243
+ return r("limits");
244
244
  },
245
245
  get collaboration() {
246
- return o("collaboration");
246
+ return r("collaboration");
247
247
  },
248
248
  get fitPadding() {
249
- return o("fitPadding");
249
+ return r("fitPadding");
250
250
  },
251
251
  get maxFitScale() {
252
- return o("maxFitScale");
252
+ return r("maxFitScale");
253
253
  },
254
254
  get authorName() {
255
- return o("authorName") ?? o("userName");
255
+ return r("authorName") ?? r("userName");
256
256
  },
257
257
  get onload() {
258
- return o("onLoad");
258
+ return r("onLoad");
259
259
  },
260
260
  get onerror() {
261
- return o("onError");
261
+ return r("onError");
262
262
  },
263
263
  get onslidechange() {
264
- return o("onSlideChange");
264
+ return r("onSlideChange");
265
265
  },
266
266
  get ondirtychange() {
267
- return o("onDirtyChange");
267
+ return r("onDirtyChange");
268
268
  },
269
269
  get oncontentchange() {
270
- return o("onContentChange");
270
+ return r("onContentChange");
271
271
  },
272
272
  get onselectionchange() {
273
- return o("onSelectionChange");
273
+ return r("onSelectionChange");
274
274
  }
275
275
  };
276
276
  }
277
- var Ce = (r) => r instanceof ArrayBuffer || r instanceof Uint8Array ? r : null;
278
- function qt(r) {
279
- let t = e.state(void 0), i = e.state(void 0), o = e.state(0), n = e.state(0), d = e.state([]), p = e.state(!1);
280
- const a = ee(() => r().locale ?? "en"), g = ye(r), s = Q(J(() => g, {
277
+ var ke = (o) => o instanceof ArrayBuffer || o instanceof Uint8Array ? o : null;
278
+ function Mt(o) {
279
+ let t = e.state(void 0), n = e.state(void 0), r = e.state(0), i = e.state(0), d = e.state([]), g = e.state(!1);
280
+ const a = te(() => o().locale ?? "en"), m = Ee(o), v = V(() => {
281
+ }, () => o().allowExternalContent, () => o().googleFonts), s = J(Y(() => m, {
281
282
  t: a,
282
- getStageHolderEl: () => e.get(i),
283
+ getStageHolderEl: () => e.get(n),
283
284
  getRootEl: () => e.get(t),
284
- getViewportWidth: () => e.get(o),
285
- getViewportHeight: () => e.get(n),
285
+ getViewportWidth: () => e.get(r),
286
+ getViewportHeight: () => e.get(i),
286
287
  getMasterScale: () => 1
287
- })), { editor: c } = s, m = re(_e({
288
+ })), { editor: u } = s;
289
+ W(v, s.optionsState), oe(() => o().onElementRenderError);
290
+ const p = ae(Pe({
288
291
  state: s,
289
- options: r,
292
+ options: o,
290
293
  layouts: () => e.get(d)
291
294
  }));
292
- se(m, he({
295
+ ce(p, Ce({
293
296
  state: s,
294
- content: () => Ce(r().content),
295
- openPasswordSet: () => e.get(p),
297
+ content: () => ke(o().content),
298
+ openPasswordSet: () => e.get(g),
296
299
  setOpenPasswordSet: (l) => {
297
- e.set(p, l, !0);
300
+ e.set(g, l, !0);
298
301
  }
299
302
  }));
300
- const S = z(m.requests);
303
+ const P = z(p.requests);
301
304
  e.user_effect(() => {
302
305
  const l = s.loader.handler;
303
- let y = !1;
304
- return l ? E(() => c.slidesOps.availableLayouts()).then((k) => {
305
- y || e.set(d, k);
306
+ let h = !1;
307
+ return l ? k(() => u.slidesOps.availableLayouts()).then((w) => {
308
+ h || e.set(d, w);
306
309
  }).catch(() => {
307
310
  }) : e.set(d, []), () => {
308
- y = !0;
311
+ h = !0;
309
312
  };
310
313
  }), e.user_effect(() => {
311
- e.set(p, s.loader.isPasswordProtected, !0);
312
- }), B(() => s.controller.hyperlinkOpen, () => {
313
- s.controller.hyperlinkOpen = !1, m.request({ kind: "hyperlink" });
314
- }), B(() => !!c.equationOps.editingId, () => {
315
- const l = c.equationOps.omml;
316
- c.equationOps.close(), m.request({
314
+ e.set(g, s.loader.isPasswordProtected, !0);
315
+ }), A(() => s.controller.hyperlinkOpen, () => {
316
+ s.controller.hyperlinkOpen = !1, p.request({ kind: "hyperlink" });
317
+ }), A(() => !!u.equationOps.editingId, () => {
318
+ const l = u.equationOps.omml;
319
+ u.equationOps.close(), p.request({
317
320
  kind: "equation",
318
321
  existingOmml: l
319
322
  });
320
323
  });
321
- let b = !1;
324
+ let c = !1;
322
325
  e.user_effect(() => {
323
326
  const l = s.parityUi.shortcutsOpen;
324
- l !== b && (b = l, E(() => m.announce({
327
+ l !== c && (c = l, k(() => p.announce({
325
328
  kind: "shortcuts",
326
329
  open: l
327
330
  }, l)));
328
331
  });
329
- let _ = !1;
330
- const u = () => {
331
- _ || (_ = !0, s.destroy());
332
+ let S = !1;
333
+ const f = () => {
334
+ S || (S = !0, s.destroy());
332
335
  };
333
- ve(u);
334
- const v = () => ({
335
- mode: ce(s.viewerMode, R(s)),
336
+ be(f);
337
+ const E = ie(() => {
338
+ const { collab: l, loader: h } = s;
339
+ return {
340
+ shell: {
341
+ authorizedCanEdit: o().canEdit === !0,
342
+ configured: !!l.activeCollaboration || !!me(o().collaboration),
343
+ readOnly: l.readOnly,
344
+ sourcePending: !!o().content && h.loading,
345
+ sourceError: !!h.error,
346
+ status: l.status,
347
+ remoteUsers: l.remotePresences
348
+ },
349
+ collaboration: l.state
350
+ };
351
+ }), y = () => ({
352
+ ...E.current(),
353
+ mode: pe(s.viewerMode, N(s)),
336
354
  loading: s.loader.loading,
337
355
  error: s.loader.error,
338
- slideIndex: c.slides.length ? s.viewer.current : -1,
339
- slideCount: c.slides.length,
340
- canUndo: c.canUndo,
341
- canRedo: c.canRedo,
342
- dirty: c.dirty
356
+ slideIndex: u.slides.length ? s.viewer.current : -1,
357
+ slideCount: u.slides.length,
358
+ canUndo: u.canUndo,
359
+ canRedo: u.canRedo,
360
+ dirty: u.dirty
343
361
  });
344
362
  return {
345
363
  get actions() {
346
- return S.current, m.actions();
364
+ return P.current, p.actions();
347
365
  },
348
366
  get state() {
349
- return v();
367
+ return y();
350
368
  },
351
369
  get toolbar() {
352
- const l = v();
353
- return ie({
354
- availability: m.actions().availability,
370
+ const l = y();
371
+ return se({
372
+ availability: p.actions().availability,
355
373
  canUndo: l.canUndo,
356
374
  canRedo: l.canRedo,
357
375
  findOpen: s.findReplace.open,
358
376
  slideIndex: l.slideIndex,
359
377
  slideCount: l.slideCount,
360
- hiddenActions: r().hiddenActions
378
+ hiddenActions: o().hiddenActions
361
379
  });
362
380
  },
363
381
  runToolbarControl(l) {
364
- ue(l, m, {
365
- undo: () => c.undo(),
366
- redo: () => c.redo(),
382
+ ve(l, p, {
383
+ undo: () => u.undo(),
384
+ redo: () => u.redo(),
367
385
  toggleFind: () => s.findReplace.toggle(),
368
386
  zoomOut: () => s.deck.zoomOut(),
369
387
  zoomIn: () => s.deck.zoomIn(),
@@ -374,251 +392,242 @@ function qt(r) {
374
392
  nextSlide: () => s.deck.goNext()
375
393
  });
376
394
  },
377
- slidesPaneProps: Y(s, { onopenlayoutgallery: (l) => r().onOpenLayoutGallery?.(l) }),
395
+ slidesPaneProps: Z(s, { onopenlayoutgallery: (l) => o().onOpenLayoutGallery?.(l) }),
378
396
  get findHighlights() {
379
- return ne(s.findReplace.results, s.findReplace.index, s.viewer.current);
397
+ return le(s.findReplace.results, s.findReplace.index, s.viewer.current);
380
398
  },
381
399
  t: (l) => a(l),
382
400
  viewerState: s,
383
- session: m,
401
+ session: p,
384
402
  canvas: {
385
403
  setRoot(l) {
386
404
  e.set(t, l);
387
405
  },
388
406
  setStageHolder(l) {
389
- e.set(i, l);
407
+ e.set(n, l);
390
408
  },
391
409
  setViewportSize(l) {
392
- e.set(o, l.width, !0), e.set(n, l.height, !0);
410
+ e.set(r, l.width, !0), e.set(i, l.height, !0);
393
411
  }
394
412
  },
395
- destroy: u
413
+ destroy: f
396
414
  };
397
415
  }
398
- var Pe = e.from_html('<p role="alert"> </p>'), ke = e.from_html("<!> <!> <!>", 1), Ee = e.from_html('<div data-pptx-block="canvas" data-pptx-theme-root="" data-pptx-editor-chrome="" role="application" tabindex="0"><!> <!> <div class="pptx-svelte-blocks-viewport svelte-uasggf" data-pptx-viewport=""><!> <!></div></div>');
399
- function we(r, t) {
416
+ var we = e.from_html('<p role="alert"> </p>'), Te = e.from_html("<!> <!> <!>", 1), Ie = e.from_html('<div data-pptx-block="canvas" data-pptx-theme-root="" data-pptx-editor-chrome="" role="application" tabindex="0"><!> <!> <div class="pptx-svelte-blocks-viewport svelte-uasggf" data-pptx-viewport=""><!> <!></div></div>');
417
+ function Oe(o, t) {
400
418
  e.push(t, !0);
401
- const i = e.prop(t, "class", 3, ""), o = e.derived(() => t.blocks.viewerState), n = e.derived(() => j(e.get(o).editor)), d = e.derived(() => t.theme ? te(me(t.theme)) : void 0);
402
- let p = e.state(void 0);
403
- function a(u) {
404
- return t.blocks.canvas.setRoot(u), { destroy: () => t.blocks.canvas.setRoot(void 0) };
419
+ const n = e.prop(t, "class", 3, ""), r = e.derived(() => t.blocks.viewerState), i = e.derived(() => Q(e.get(r).editor)), d = e.derived(() => t.theme ? re(fe(t.theme)) : void 0);
420
+ function g(c) {
421
+ return t.blocks.canvas.setRoot(c), { destroy: () => t.blocks.canvas.setRoot(void 0) };
405
422
  }
406
- e.user_effect(() => {
407
- const u = t.blocks.findHighlights;
408
- if (e.get(o).activeSlide, !e.get(p) || u.length === 0) return;
409
- const v = e.get(p);
410
- let l = !1;
411
- return Se().then(() => {
412
- l || A(v, u);
413
- }), () => {
414
- l = !0, A(v, []);
415
- };
416
- });
417
- var g = Ee(), s = e.child(g);
418
- W(s, {});
419
- var c = e.sibling(s, 2);
420
- H(c, {});
421
- var m = e.sibling(c, 2), S = e.child(m), b = (u) => {
422
- var v = Pe(), l = e.only_child(v, !0);
423
- e.template_effect(() => e.set_text(l, e.get(o).loader.error)), e.append(u, v);
423
+ var a = Ie(), m = e.child(a);
424
+ X(m, {});
425
+ var v = e.sibling(m, 2);
426
+ H(v, {});
427
+ var s = e.sibling(v, 2), u = e.child(s), p = (c) => {
428
+ var S = we(), f = e.only_child(S, !0);
429
+ e.template_effect(() => e.set_text(f, e.get(r).loader.error)), e.append(c, S);
424
430
  };
425
- e.if(S, (u) => {
426
- e.get(o).loader.error && u(b);
431
+ e.if(u, (c) => {
432
+ e.get(r).loader.error && c(p);
427
433
  });
428
- var _ = e.sibling(S, 2);
434
+ var P = e.sibling(u, 2);
429
435
  {
430
- let u = e.derived(() => e.get(o).editingActive ? e.get(n).commitTableCell : void 0), v = e.derived(() => e.get(o).editingActive ? e.get(n).commitSmartArtNode : void 0), l = e.derived(() => e.get(o).editingActive ? e.get(n).commitSmartArtFill : void 0), y = e.derived(() => e.get(o).editingActive ? e.get(n).commitChartPoint : void 0), k = e.derived(() => e.get(o).editingActive ? e.get(n).commitTableResizeColumns : void 0), D = e.derived(() => e.get(o).editingActive ? e.get(n).commitTableResizeRow : void 0);
431
- U(_, {
436
+ let c = e.derived(() => e.get(r).editingActive ? e.get(i).commitTableCell : void 0), S = e.derived(() => e.get(r).editingActive ? e.get(i).commitSmartArtNode : void 0), f = e.derived(() => e.get(r).editingActive ? e.get(i).commitSmartArtFill : void 0), E = e.derived(() => e.get(r).editingActive ? e.get(i).commitChartPoint : void 0), y = e.derived(() => e.get(r).editingActive ? e.get(i).commitTableResizeColumns : void 0), l = e.derived(() => e.get(r).editingActive ? e.get(i).commitTableResizeRow : void 0);
437
+ M(P, {
432
438
  get slide() {
433
- return e.get(o).activeSlide;
439
+ return e.get(r).activeSlide;
434
440
  },
435
441
  get canvasSize() {
436
- return e.get(o).loader.canvasSize;
442
+ return e.get(r).loader.canvasSize;
437
443
  },
438
444
  get mediaDataUrls() {
439
- return e.get(o).loader.mediaDataUrls;
445
+ return e.get(r).loader.mediaDataUrls;
440
446
  },
441
447
  get scale() {
442
- return e.get(o).scale;
448
+ return e.get(r).scale;
443
449
  },
444
450
  get editingActive() {
445
- return e.get(o).editingActive;
451
+ return e.get(r).editingActive;
446
452
  },
447
453
  get editTemplateMode() {
448
- return e.get(o).editor.editTemplateMode;
454
+ return e.get(r).editor.editTemplateMode;
449
455
  },
450
456
  get editingElementId() {
451
- return e.get(o).controller.editingId;
457
+ return e.get(r).controller.editingId;
452
458
  },
453
459
  get selectedElementIds() {
454
- return e.get(o).editor.selection.ids;
460
+ return e.get(r).editor.selection.ids;
461
+ },
462
+ get findHighlights() {
463
+ return t.blocks.findHighlights;
455
464
  },
456
465
  get ontablecellcommit() {
457
- return e.get(u);
466
+ return e.get(c);
458
467
  },
459
468
  get onsmartartnodecommit() {
460
- return e.get(v);
469
+ return e.get(S);
461
470
  },
462
471
  get onsmartartnodefill() {
463
- return e.get(l);
472
+ return e.get(f);
464
473
  },
465
474
  get onchartpointcommit() {
466
- return e.get(y);
475
+ return e.get(E);
467
476
  },
468
477
  get ontableresizecolumns() {
469
- return e.get(k);
478
+ return e.get(y);
470
479
  },
471
480
  get ontableresizerow() {
472
- return e.get(D);
481
+ return e.get(l);
473
482
  },
474
- onstageholder: (C) => {
475
- e.set(p, C ?? void 0), t.blocks.canvas.setStageHolder(C ?? void 0);
483
+ onstageholder: (h) => {
484
+ t.blocks.canvas.setStageHolder(h ?? void 0);
476
485
  },
477
486
  get onstagepointerdown() {
478
- return e.get(o).controller.onStagePointerDown;
487
+ return e.get(r).controller.onStagePointerDown;
479
488
  },
480
489
  get onstagepointermove() {
481
- return e.get(o).controller.onStagePointerMove;
490
+ return e.get(r).controller.onStagePointerMove;
482
491
  },
483
492
  get onstagedblclick() {
484
- return e.get(o).controller.onStageDblClick;
493
+ return e.get(r).controller.onStageDblClick;
485
494
  },
486
495
  get onstageclick() {
487
- return e.get(o).controller.onStageClick;
496
+ return e.get(r).controller.onStageClick;
488
497
  },
489
- children: (C, Re) => {
490
- var w = ke(), T = e.first_child(w), x = (h) => {
491
- V(h, {
498
+ children: (h, w) => {
499
+ var T = Te(), I = e.first_child(T), x = (b) => {
500
+ L(b, {
492
501
  get controller() {
493
- return e.get(o).controller;
502
+ return e.get(r).controller;
494
503
  },
495
504
  get scale() {
496
- return e.get(o).scale;
505
+ return e.get(r).scale;
497
506
  }
498
507
  });
499
508
  };
500
- e.if(T, (h) => {
501
- e.get(o).editingActive && h(x);
509
+ e.if(I, (b) => {
510
+ e.get(r).editingActive && b(x);
502
511
  });
503
- var I = e.sibling(T, 2);
512
+ var O = e.sibling(I, 2);
504
513
  {
505
- let h = e.derived(() => e.get(o).activeSlide?.elements ?? []);
506
- L(I, {
514
+ let b = e.derived(() => e.get(r).activeSlide?.elements ?? []);
515
+ F(O, {
507
516
  get presences() {
508
- return e.get(o).collab.remotePresences;
517
+ return e.get(r).collab.remotePresences;
509
518
  },
510
519
  get elements() {
511
- return e.get(h);
520
+ return e.get(b);
512
521
  },
513
522
  get activeSlideIndex() {
514
- return e.get(o).viewer.current;
523
+ return e.get(r).viewer.current;
515
524
  },
516
525
  get zoom() {
517
- return e.get(o).scale;
526
+ return e.get(r).scale;
518
527
  }
519
528
  });
520
529
  }
521
- var F = e.sibling(I, 2);
522
- X(F, {
530
+ var D = e.sibling(O, 2);
531
+ j(D, {
523
532
  get cursors() {
524
- return e.get(o).collab.cursors;
533
+ return e.get(r).collab.cursors;
525
534
  },
526
535
  get zoom() {
527
- return e.get(o).scale;
536
+ return e.get(r).scale;
528
537
  }
529
- }), e.append(C, w);
538
+ }), e.append(h, T);
530
539
  },
531
540
  $$slots: { default: !0 }
532
541
  });
533
542
  }
534
- e.reset(m), e.action(m, (u, v) => G?.(u, v), () => t.blocks.canvas.setViewportSize), e.reset(g), e.action(g, (u) => a?.(u)), e.template_effect((u) => {
535
- e.set_class(g, 1, `pptx-svelte-viewer pptx-svelte-blocks-canvas ${i()}`, "svelte-uasggf"), e.set_style(g, e.get(d)), e.set_attribute(g, "aria-label", u), e.set_attribute(g, "aria-busy", e.get(o).loader.loading);
536
- }, [() => t.blocks.t("pptx.titleBar.defaultFileName")]), e.delegated("keydown", g, function(...u) {
537
- e.get(o).onKeydown?.apply(this, u);
538
- }), e.append(r, g), e.pop();
543
+ e.reset(s), e.action(s, (c, S) => G?.(c, S), () => t.blocks.canvas.setViewportSize), e.reset(a), e.action(a, (c) => g?.(c)), e.template_effect((c) => {
544
+ e.set_class(a, 1, `pptx-svelte-viewer pptx-svelte-blocks-canvas ${n()}`, "svelte-uasggf"), e.set_style(a, e.get(d)), e.set_attribute(a, "aria-label", c), e.set_attribute(a, "aria-busy", e.get(r).loader.loading);
545
+ }, [() => t.blocks.t("pptx.titleBar.defaultFileName")]), e.delegated("keydown", a, function(...c) {
546
+ e.get(r).onKeydown?.apply(this, c);
547
+ }), e.append(o, a), e.pop();
539
548
  }
540
549
  e.delegate(["keydown"]);
541
- var Te = e.from_html('<div data-pptx-block="slides-pane"><!></div>');
542
- function Ie(r, t) {
550
+ var Be = e.from_html('<div data-pptx-block="slides-pane"><!></div>');
551
+ function Ae(o, t) {
543
552
  e.push(t, !0);
544
- const i = e.prop(t, "class", 3, "");
545
- var o = Te(), n = e.child(o);
546
- Z(n, e.spread_props(() => t.blocks.slidesPaneProps)), e.reset(o), e.template_effect(() => e.set_class(o, 1, `pptx-svelte-viewer pptx-svelte-bb-slides-pane ${i()}`, "svelte-1ouyhsr")), e.append(r, o), e.pop();
553
+ const n = e.prop(t, "class", 3, "");
554
+ var r = Be(), i = e.child(r);
555
+ $(i, e.spread_props(() => t.blocks.slidesPaneProps)), e.reset(r), e.template_effect(() => e.set_class(r, 1, `pptx-svelte-viewer pptx-svelte-bb-slides-pane ${n()}`, "svelte-1ouyhsr")), e.append(o, r), e.pop();
547
556
  }
548
- var Oe = e.from_html('<button type="button"> </button>'), Ae = e.from_html('<span role="group" class="svelte-14vg6om"></span>'), Be = e.from_html('<div data-pptx-block="toolbar" role="toolbar"></div>');
549
- function Ne(r, t) {
557
+ var Re = e.from_html('<button type="button"> </button>'), Ne = e.from_html('<span role="group" class="svelte-14vg6om"></span>'), xe = e.from_html('<div data-pptx-block="toolbar" role="toolbar"></div>');
558
+ function De(o, t) {
550
559
  e.push(t, !0);
551
- const i = e.prop(t, "class", 3, ""), o = e.derived(() => t.blocks.toolbar.filter((d) => !t.include || t.include.includes(d.id)));
552
- var n = Be();
553
- e.each(n, 21, () => e.get(o), (d) => d.id, (d, p) => {
554
- var a = Ae();
555
- e.each(a, 21, () => e.get(p).controls, (g) => g.id, (g, s) => {
556
- var c = Oe(), m = e.only_child(c, !0);
557
- e.template_effect((S) => {
558
- e.set_attribute(c, "data-control", e.get(s).id), c.disabled = e.get(s).disabled, e.set_attribute(c, "aria-pressed", e.get(s).pressed === void 0 ? void 0 : e.get(s).pressed), e.set_text(m, S);
559
- }, [() => t.blocks.t(e.get(s).labelKey)]), e.delegated("click", c, () => t.blocks.runToolbarControl(e.get(s).id)), e.append(g, c);
560
- }), e.reset(a), e.template_effect(() => e.set_attribute(a, "data-group", e.get(p).id)), e.append(d, a);
561
- }), e.reset(n), e.template_effect(() => e.set_class(n, 1, `pptx-svelte-bb-toolbar ${i()}`, "svelte-14vg6om")), e.append(r, n), e.pop();
560
+ const n = e.prop(t, "class", 3, ""), r = e.derived(() => t.blocks.toolbar.filter((d) => !t.include || t.include.includes(d.id)));
561
+ var i = xe();
562
+ e.each(i, 21, () => e.get(r), (d) => d.id, (d, g) => {
563
+ var a = Ne();
564
+ e.each(a, 21, () => e.get(g).controls, (m) => m.id, (m, v) => {
565
+ var s = Re(), u = e.only_child(s, !0);
566
+ e.template_effect((p) => {
567
+ e.set_attribute(s, "data-control", e.get(v).id), s.disabled = e.get(v).disabled, e.set_attribute(s, "aria-pressed", e.get(v).pressed === void 0 ? void 0 : e.get(v).pressed), e.set_text(u, p);
568
+ }, [() => t.blocks.t(e.get(v).labelKey)]), e.delegated("click", s, () => t.blocks.runToolbarControl(e.get(v).id)), e.append(m, s);
569
+ }), e.reset(a), e.template_effect(() => e.set_attribute(a, "data-group", e.get(g).id)), e.append(d, a);
570
+ }), e.reset(i), e.template_effect(() => e.set_class(i, 1, `pptx-svelte-bb-toolbar ${n()}`, "svelte-14vg6om")), e.append(o, i), e.pop();
562
571
  }
563
572
  e.delegate(["click"]);
564
- var Mt = we, Ut = Ne, Ht = Ie;
573
+ var Ht = Oe, Gt = De, Kt = Ae;
565
574
  export {
566
- Qe as BACKSTAGE_CARD_IDS,
567
- Je as BACKSTAGE_PAGE_IDS,
568
- Mt as BuildingBlocksCanvas,
569
- Ht as BuildingBlocksSlidesPane,
570
- Ut as BuildingBlocksToolbar,
571
- Ye as CANVAS_CONTEXT_MENU_COMMAND_IDS,
572
- Ze as EDITOR_SHORTCUT_ACTION_IDS,
573
- $e as ELEMENT_CONTEXT_MENU_COMMAND_IDS,
574
- et as OPTIONS_PAGE_IDS,
575
- tt as OPTIONS_SECTION_IDS,
576
- ot as OPTIONS_SETTING_IDS,
577
- rt as PPTX_OPEN_ACCEPT,
578
- it as PRESENTATION_OPEN_EXTENSIONS,
579
- Ve as PowerPointViewer,
580
- nt as RIBBON_CONTROL_IDS,
581
- at as RIBBON_GROUP_IDS,
582
- st as RIBBON_TAB_IDS,
583
- qe as SlideThumbnail,
584
- ze as SlidesPane,
585
- lt as TOOLBAR_BUTTON_IDS,
586
- dt as VIEWER_DIALOG_IDS,
587
- ct as VIEWER_EXPORT_FORMAT_IDS,
588
- ut as VIEWER_FEATURE_IDS,
589
- gt as VIEWER_PANEL_IDS,
590
- pt as createImageElementFromFile,
591
- Y as createSlidesPaneProps,
592
- qt as createViewerBuildingBlocks,
593
- mt as defaultCssVars,
594
- vt as defaultRadius,
595
- St as defaultThemeColors,
596
- ht as deleteAutosaveSnapshot,
597
- ft as describeCollaborationShellState,
598
- Fe as exportAllSlidesToSvg,
599
- Me as exportAllSlidesToSvgBlobs,
600
- He as exportSlideAsSvg,
601
- Le as exportSlideToSvg,
602
- Ue as exportSlideToSvgBlob,
603
- bt as forgetSessionDeck,
575
+ Ye as BACKSTAGE_CARD_IDS,
576
+ Ze as BACKSTAGE_PAGE_IDS,
577
+ Ht as BuildingBlocksCanvas,
578
+ Kt as BuildingBlocksSlidesPane,
579
+ Gt as BuildingBlocksToolbar,
580
+ $e as CANVAS_CONTEXT_MENU_COMMAND_IDS,
581
+ et as EDITOR_SHORTCUT_ACTION_IDS,
582
+ tt as ELEMENT_CONTEXT_MENU_COMMAND_IDS,
583
+ ot as OPTIONS_PAGE_IDS,
584
+ rt as OPTIONS_SECTION_IDS,
585
+ nt as OPTIONS_SETTING_IDS,
586
+ it as PPTX_OPEN_ACCEPT,
587
+ at as PRESENTATION_OPEN_EXTENSIONS,
588
+ Ue as PowerPointViewer,
589
+ st as RIBBON_CONTROL_IDS,
590
+ lt as RIBBON_GROUP_IDS,
591
+ dt as RIBBON_TAB_IDS,
592
+ Me as SlideThumbnail,
593
+ qe as SlidesPane,
594
+ ct as TOOLBAR_BUTTON_IDS,
595
+ ut as VIEWER_DIALOG_IDS,
596
+ gt as VIEWER_EXPORT_FORMAT_IDS,
597
+ pt as VIEWER_FEATURE_IDS,
598
+ mt as VIEWER_PANEL_IDS,
599
+ vt as createImageElementFromFile,
600
+ Z as createSlidesPaneProps,
601
+ Mt as createViewerBuildingBlocks,
602
+ St as defaultCssVars,
603
+ ht as defaultRadius,
604
+ ft as defaultThemeColors,
605
+ bt as deleteAutosaveSnapshot,
606
+ Ct as describeCollaborationShellState,
607
+ Le as exportAllSlidesToSvg,
608
+ He as exportAllSlidesToSvgBlobs,
609
+ Ke as exportSlideAsSvg,
610
+ Ve as exportSlideToSvg,
611
+ Ge as exportSlideToSvgBlob,
612
+ yt as forgetSessionDeck,
604
613
  _t as getAutosaveSnapshot,
605
- yt as getSessionTabId,
606
- Ct as isLegacyBinaryPresentation,
607
- Pt as isSupportedPresentationFile,
608
- kt as listAutosaveSnapshots,
609
- Et as loadPresentationDeck,
610
- wt as loadSessionDeck,
611
- Tt as parsePresentationSessionId,
612
- It as presentationBaseName,
613
- We as registerTranslations,
614
- Ot as rememberSessionDeck,
615
- xe as renderToCanvas,
616
- At as restoreSessionDeck,
617
- Bt as savedPresentationFileName,
618
- Nt as themeToCssVars,
619
- Rt as vermilionDarkColors,
620
- Dt as vermilionDarkTheme,
621
- xt as vermilionLightColors,
622
- Ft as vermilionLightTheme,
623
- Lt as vermilionRadius
614
+ Pt as getSessionTabId,
615
+ Et as isLegacyBinaryPresentation,
616
+ kt as isSupportedPresentationFile,
617
+ wt as listAutosaveSnapshots,
618
+ Tt as loadPresentationDeck,
619
+ It as loadSessionDeck,
620
+ Ot as parsePresentationSessionId,
621
+ Bt as presentationBaseName,
622
+ je as registerTranslations,
623
+ At as rememberSessionDeck,
624
+ ze as renderToCanvas,
625
+ Rt as restoreSessionDeck,
626
+ Nt as savedPresentationFileName,
627
+ xt as themeToCssVars,
628
+ Dt as vermilionDarkColors,
629
+ Ft as vermilionDarkTheme,
630
+ zt as vermilionLightColors,
631
+ Lt as vermilionLightTheme,
632
+ Vt as vermilionRadius
624
633
  };