pptx-vue-viewer 4.65.0 → 4.67.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 (81) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +10 -0
  3. package/dist/i18n/de.cjs +3 -0
  4. package/dist/i18n/de.cjs.br +0 -0
  5. package/dist/i18n/de.cjs.gz +0 -0
  6. package/dist/i18n/de.mjs +3 -0
  7. package/dist/i18n/de.mjs.br +0 -0
  8. package/dist/i18n/de.mjs.gz +0 -0
  9. package/dist/i18n/es.cjs +3 -0
  10. package/dist/i18n/es.cjs.br +0 -0
  11. package/dist/i18n/es.cjs.gz +0 -0
  12. package/dist/i18n/es.mjs +3 -0
  13. package/dist/i18n/es.mjs.br +0 -0
  14. package/dist/i18n/es.mjs.gz +0 -0
  15. package/dist/i18n/fr.cjs +3 -0
  16. package/dist/i18n/fr.cjs.br +0 -0
  17. package/dist/i18n/fr.cjs.gz +0 -0
  18. package/dist/i18n/fr.mjs +3 -0
  19. package/dist/i18n/fr.mjs.br +0 -0
  20. package/dist/i18n/fr.mjs.gz +0 -0
  21. package/dist/i18n/zh-CN.cjs +3 -0
  22. package/dist/i18n/zh-CN.cjs.br +0 -0
  23. package/dist/i18n/zh-CN.cjs.gz +0 -0
  24. package/dist/i18n/zh-CN.mjs +3 -0
  25. package/dist/i18n/zh-CN.mjs.br +0 -0
  26. package/dist/i18n/zh-CN.mjs.gz +0 -0
  27. package/dist/index.cjs +1 -1
  28. package/dist/index.cjs.br +0 -0
  29. package/dist/index.cjs.gz +0 -0
  30. package/dist/index.d.ts +6 -2
  31. package/dist/index.js +3 -3
  32. package/dist/index.js.br +0 -0
  33. package/dist/index.js.gz +0 -0
  34. package/dist/internals.cjs +1 -1
  35. package/dist/internals.cjs.br +0 -0
  36. package/dist/internals.cjs.gz +0 -0
  37. package/dist/internals.d.ts +9 -0
  38. package/dist/internals.js +1 -1
  39. package/dist/internals.js.br +0 -0
  40. package/dist/internals.js.gz +0 -0
  41. package/dist/pptx-vue-viewer.css +1 -1
  42. package/dist/pptx-vue-viewer.css.br +0 -0
  43. package/dist/pptx-vue-viewer.css.gz +0 -0
  44. package/dist/{useViewerSettingsDialog-CuiWscv-.cjs → useViewerSettingsDialog-BNnWGJwV.cjs} +430 -388
  45. package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.br +0 -0
  46. package/dist/useViewerSettingsDialog-BNnWGJwV.cjs.gz +0 -0
  47. package/dist/{useViewerSettingsDialog-D5C2Wbjw.js → useViewerSettingsDialog-CGI6HR0i.js} +1913 -1866
  48. package/dist/useViewerSettingsDialog-CGI6HR0i.js.br +0 -0
  49. package/dist/useViewerSettingsDialog-CGI6HR0i.js.gz +0 -0
  50. package/dist/viewer/index.cjs +1 -1
  51. package/dist/viewer/index.cjs.br +0 -0
  52. package/dist/viewer/index.cjs.gz +0 -0
  53. package/dist/viewer/index.d.ts +14 -2
  54. package/dist/viewer/index.js +3 -3
  55. package/dist/viewer/index.js.br +0 -0
  56. package/dist/viewer/index.js.gz +0 -0
  57. package/dist/{viewer-q1mZieZF.cjs → viewer-B-B4pL2o.cjs} +1328 -1361
  58. package/dist/viewer-B-B4pL2o.cjs.br +0 -0
  59. package/dist/viewer-B-B4pL2o.cjs.gz +0 -0
  60. package/dist/{viewer-DQPBgO7l.js → viewer-DYs723bH.js} +8472 -8505
  61. package/dist/viewer-DYs723bH.js.br +0 -0
  62. package/dist/viewer-DYs723bH.js.gz +0 -0
  63. package/dist/{y-webrtc-CpZkvep1.js → y-webrtc-BxRkXfn3.js} +23 -23
  64. package/dist/y-webrtc-BxRkXfn3.js.br +0 -0
  65. package/dist/y-webrtc-BxRkXfn3.js.gz +0 -0
  66. package/dist/{y-webrtc-CTBB9Ok0.cjs → y-webrtc-D9l3ByiO.cjs} +1 -1
  67. package/dist/y-webrtc-D9l3ByiO.cjs.br +0 -0
  68. package/dist/y-webrtc-D9l3ByiO.cjs.gz +0 -0
  69. package/package.json +4 -4
  70. package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
  71. package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
  72. package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
  73. package/dist/useViewerSettingsDialog-D5C2Wbjw.js.gz +0 -0
  74. package/dist/viewer-DQPBgO7l.js.br +0 -0
  75. package/dist/viewer-DQPBgO7l.js.gz +0 -0
  76. package/dist/viewer-q1mZieZF.cjs.br +0 -0
  77. package/dist/viewer-q1mZieZF.cjs.gz +0 -0
  78. package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
  79. package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
  80. package/dist/y-webrtc-CpZkvep1.js.br +0 -0
  81. package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
@@ -91,19 +91,11 @@ var b = (e, t) => {
91
91
  const n = e.__vccOpts || e;
92
92
  for (const [e, l] of t) n[e] = l;
93
93
  return n;
94
- }, w = Symbol("pptx-vue-field-context");
95
- function E() {
96
- return (0, p.inject)(w, void 0);
97
- }
98
- function B(e) {
99
- return e ? (0, p.toValue)(e) : void 0;
100
- }
101
- var C = Symbol("pptx-vue-slide-elements");
102
- var I = "#111827", P = "#1f2937";
103
- function T(e, t) {
94
+ }, w = "#111827", E = "#1f2937";
95
+ function B(e, t) {
104
96
  return (0, d.getContainerStyle)(e, t);
105
97
  }
106
- function D(e, t, n, l) {
98
+ function C(e, t, n, l) {
107
99
  const o = (0, d.getFrameEffectStyle)(e);
108
100
  if (o) return { ...o };
109
101
  if (!(0, k.hasShapeProperties)(e)) return {};
@@ -134,16 +126,24 @@ function D(e, t, n, l) {
134
126
  default: return a;
135
127
  }
136
128
  }
137
- function z(e) {
129
+ function I(e) {
138
130
  return (0, k.hasTextProperties)(e) ? (0, d.buildTextBlockStyle)(e, {
139
- fallbackColor: I,
131
+ fallbackColor: w,
140
132
  bodyLayout: !0,
141
133
  pxLengths: !0
142
134
  }) : {};
143
135
  }
144
- function A(e, t) {
136
+ function P(e, t) {
145
137
  return (0, d.getImageSrc)(e, t);
146
138
  }
139
+ var T = Symbol("pptx-vue-field-context");
140
+ function D() {
141
+ return (0, p.inject)(T, void 0);
142
+ }
143
+ function z(e) {
144
+ return e ? (0, p.toValue)(e) : void 0;
145
+ }
146
+ var A = Symbol("pptx-vue-slide-elements");
147
147
  function O(e, t, n) {
148
148
  return (0, p.computed)(() => {
149
149
  return (0, d.shouldRenderHitTarget)(!0 === t(), !0 === n()) ? (l = e(), (0, d.elementHitTargetStyle)(l)) : void 0;
@@ -872,7 +872,7 @@ var Ue = (0, p.defineComponent)({
872
872
  },
873
873
  setup(e) {
874
874
  const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => ({
875
- ...T(t.element, t.zIndex),
875
+ ...B(t.element, t.zIndex),
876
876
  ...(0, d.getFrameEffectStyle)(t.element)
877
877
  })), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.ref)(null), { interactiveClass: r, renderedElement: i, dragLabel: s, titleDraft: u, onPointerdown: m, onPointermove: v, onPointerup: f, onDblclick: h, setTitleDraft: y, commitTitle: g, cancelTitle: k } = function(e) {
878
878
  const t = X(), n = q(), l = (t) => (0, d.chartFormatTargetFromEvent)(t, e.rootEl.value, e.element()), o = (0, p.shallowRef)(null), a = (0, p.ref)(null), r = (0, p.ref)(null);
@@ -1006,7 +1006,7 @@ var Ue = (0, p.defineComponent)({
1006
1006
  if ("chart" !== e.type) return;
1007
1007
  const t = e.chartData;
1008
1008
  return t && 0 !== t.series.length ? t : void 0;
1009
- }), b = (0, p.computed)(() => S.value?.chartType ?? "bar"), w = (0, p.computed)(() => S.value ? (0, d.resolveChartKind)(b.value) : "unsupported"), E = (0, p.computed)(() => "unsupported" === w.value), B = function(e, t) {
1009
+ }), b = (0, p.computed)(() => S.value?.chartType ?? "bar"), w = (0, p.computed)(() => S.value ? (0, d.resolveChartKind)(b.value) : "unsupported"), E = (0, p.computed)(() => "unsupported" === w.value), C = function(e, t) {
1010
1010
  const n = V(), l = X(), o = (0, p.ref)(null), a = (0, p.computed)(() => (0, d.resolveChartThreeViewSpec)(e(), n.value)), r = (0, p.computed)(() => {
1011
1011
  const t = l?.selection.value;
1012
1012
  return t && t.elementId === e().id ? t.part : null;
@@ -1033,7 +1033,7 @@ var Ue = (0, p.defineComponent)({
1033
1033
  onSelect: (e) => (0, d.applyChart3DSelect)(s(), e),
1034
1034
  onDrag: (e) => (0, d.applyChart3DDrag)(s(), e)
1035
1035
  };
1036
- }(() => t.element, () => !0 === t.interactive), C = B.spec, I = (0, p.computed)(() => (0, d.chartPlaceholderLabel)(b.value, (e, t) => n(e, t ?? {}))), P = function() {
1036
+ }(() => t.element, () => !0 === t.interactive), I = C.spec, P = (0, p.computed)(() => (0, d.chartPlaceholderLabel)(b.value, (e, t) => n(e, t ?? {}))), T = function() {
1037
1037
  const e = (0, p.ref)((0, d.getBarFacePicturePixelSampleVersion)());
1038
1038
  let t;
1039
1039
  return (0, p.onMounted)(() => {
@@ -1041,7 +1041,7 @@ var Ue = (0, p.defineComponent)({
1041
1041
  e.value = (0, d.getBarFacePicturePixelSampleVersion)();
1042
1042
  });
1043
1043
  }), (0, p.onBeforeUnmount)(() => t?.()), e;
1044
- }(), D = (0, p.computed)(() => (P.value, E.value ? void 0 : J(x.value))), z = (0, p.computed)(() => (0, d.chartPreserveAspectRatio)(w.value)), A = (0, p.computed)(() => t.animationState?.textStyle);
1044
+ }(), D = (0, p.computed)(() => (T.value, E.value ? void 0 : J(x.value))), z = (0, p.computed)(() => (0, d.chartPreserveAspectRatio)(w.value)), A = (0, p.computed)(() => t.animationState?.textStyle);
1045
1045
  return (t, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
1046
1046
  ref_key: "rootEl",
1047
1047
  ref: a,
@@ -1064,14 +1064,14 @@ var Ue = (0, p.defineComponent)({
1064
1064
  default: (0, p.withCtx)(() => [(0, p.createTextVNode)((0, p.toDisplayString)(e.textStyleOverrideCss), 1)]),
1065
1065
  _: 1
1066
1066
  })) : (0, p.createCommentVNode)("", !0),
1067
- E.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", We, (0, p.toDisplayString)(I.value), 1)) : (0, p.unref)(C) && D.value ? ((0, p.openBlock)(), (0, p.createBlock)((0, p.unref)(Ue), {
1067
+ E.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", We, (0, p.toDisplayString)(P.value), 1)) : (0, p.unref)(I) && D.value ? ((0, p.openBlock)(), (0, p.createBlock)((0, p.unref)(Ue), {
1068
1068
  key: 3,
1069
- spec: (0, p.unref)(C),
1070
- interactive: (0, p.unref)(B).interactive.value,
1071
- "selected-part": (0, p.unref)(B).selectedPart.value,
1069
+ spec: (0, p.unref)(I),
1070
+ interactive: (0, p.unref)(C).interactive.value,
1071
+ "selected-part": (0, p.unref)(C).selectedPart.value,
1072
1072
  "text-style": A.value,
1073
- onSelect: (0, p.unref)(B).onSelect,
1074
- onDrag: (0, p.unref)(B).onDrag
1073
+ onSelect: (0, p.unref)(C).onSelect,
1074
+ onDrag: (0, p.unref)(C).onDrag
1075
1075
  }, {
1076
1076
  default: (0, p.withCtx)(() => [(0, p.createVNode)(je, {
1077
1077
  "element-id": e.element.id,
@@ -1101,7 +1101,7 @@ var Ue = (0, p.defineComponent)({
1101
1101
  "preserve-aspect-ratio"
1102
1102
  ])) : (0, p.createCommentVNode)("", !0),
1103
1103
  (0, p.createVNode)(te, {
1104
- "drag-label": (0, p.unref)(s) ?? (0, p.unref)(B).dragLabel.value,
1104
+ "drag-label": (0, p.unref)(s) ?? (0, p.unref)(C).dragLabel.value,
1105
1105
  "title-draft": (0, p.unref)(u),
1106
1106
  onTitleInput: (0, p.unref)(y),
1107
1107
  onTitleCommit: (0, p.unref)(g),
@@ -1228,11 +1228,11 @@ var Ue = (0, p.defineComponent)({
1228
1228
  if (!f.value) return null;
1229
1229
  const e = t.element;
1230
1230
  return (0, k.hasShapeProperties)(e) ? (0, k.getConnectorPathGeometry)(e) : null;
1231
- }), y = (0, p.computed)(() => Math.max(t.element.width, 0)), g = (0, p.computed)(() => Math.max(t.element.height, 0)), x = (0, p.computed)(() => t.element.flipHorizontal ? y.value : 0), S = (0, p.computed)(() => t.element.flipVertical ? g.value : 0), b = (0, p.computed)(() => t.element.flipHorizontal ? 0 : y.value), w = (0, p.computed)(() => t.element.flipVertical ? 0 : g.value), E = (0, p.computed)(() => (0, d.connectorSnapTransform)(t.element, !f.value, m.value.length, l.value)), B = (0, p.computed)(() => Math.max(3 * l.value, 14)), C = (0, p.computed)(() => f.value && h.value ? h.value.pathData : `M ${x.value} ${S.value} L ${b.value} ${w.value}`), I = (0, p.computed)(() => T(n.value?.connectorStartArrow)), P = (0, p.computed)(() => T(n.value?.connectorEndArrow));
1232
- function T(e) {
1231
+ }), y = (0, p.computed)(() => Math.max(t.element.width, 0)), g = (0, p.computed)(() => Math.max(t.element.height, 0)), x = (0, p.computed)(() => t.element.flipHorizontal ? y.value : 0), S = (0, p.computed)(() => t.element.flipVertical ? g.value : 0), b = (0, p.computed)(() => t.element.flipHorizontal ? 0 : y.value), w = (0, p.computed)(() => t.element.flipVertical ? 0 : g.value), E = (0, p.computed)(() => (0, d.connectorSnapTransform)(t.element, !f.value, m.value.length, l.value)), B = (0, p.computed)(() => Math.max(3 * l.value, 14)), C = (0, p.computed)(() => f.value && h.value ? h.value.pathData : `M ${x.value} ${S.value} L ${b.value} ${w.value}`), I = (0, p.computed)(() => (0, d.connectorSquareCapPath)(C.value, n.value, l.value, m.value.length > 1 || !!P.value || !!T.value) ?? (f.value ? h.value?.pathData : void 0)), P = (0, p.computed)(() => D(n.value?.connectorStartArrow)), T = (0, p.computed)(() => D(n.value?.connectorEndArrow));
1232
+ function D(e) {
1233
1233
  return e && "none" !== e ? e : void 0;
1234
1234
  }
1235
- const D = (0, p.computed)(() => t.element.id.replace(/[^a-zA-Z0-9_-]/gu, "_")), z = (0, p.computed)(() => `${D.value}-start`), A = (0, p.computed)(() => `${D.value}-end`), O = (0, p.computed)(() => {
1235
+ const z = (0, p.computed)(() => t.element.id.replace(/[^a-zA-Z0-9_-]/gu, "_")), A = (0, p.computed)(() => `${z.value}-start`), O = (0, p.computed)(() => `${z.value}-end`), M = (0, p.computed)(() => {
1236
1236
  const e = t.element, n = {
1237
1237
  position: "absolute",
1238
1238
  left: `${e.x}px`,
@@ -1243,23 +1243,23 @@ var Ue = (0, p.defineComponent)({
1243
1243
  pointerEvents: "none",
1244
1244
  overflow: "visible"
1245
1245
  };
1246
- return e.rotation && (n.transform = `rotate(${e.rotation}deg)`), "number" == typeof e.opacity && (n.opacity = e.opacity), R.value && (n.filter = R.value), e.hidden && (n.display = "none"), n;
1247
- }), M = (0, p.computed)(() => I.value ? (0, d.markerPath)(I.value, n.value?.connectorStartArrowWidth, n.value?.connectorStartArrowLength) : null), F = (0, p.computed)(() => P.value ? (0, d.markerPath)(P.value, n.value?.connectorEndArrowWidth, n.value?.connectorEndArrowLength) : null), L = (0, p.computed)(() => (0, d.getLineShadowParams)(n.value)), R = (0, p.computed)(() => (0, d.getLineGlowFilterCss)(n.value)), V = (0, p.computed)(() => `${D.value}-line-shadow`), N = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) ? t.element : void 0), _ = (0, p.computed)(() => N.value?.text?.trim() ?? ""), j = (0, p.computed)(() => N.value?.textSegments), U = (0, p.computed)(() => N.value?.textStyle);
1248
- function $(e) {
1246
+ return e.rotation && (n.transform = `rotate(${e.rotation}deg)`), "number" == typeof e.opacity && (n.opacity = e.opacity), V.value && (n.filter = V.value), e.hidden && (n.display = "none"), n;
1247
+ }), F = (0, p.computed)(() => P.value ? (0, d.markerPath)(P.value, n.value?.connectorStartArrowWidth, n.value?.connectorStartArrowLength) : null), L = (0, p.computed)(() => T.value ? (0, d.markerPath)(T.value, n.value?.connectorEndArrowWidth, n.value?.connectorEndArrowLength) : null), R = (0, p.computed)(() => (0, d.getLineShadowParams)(n.value)), V = (0, p.computed)(() => (0, d.getLineGlowFilterCss)(n.value)), N = (0, p.computed)(() => `${z.value}-line-shadow`), _ = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) ? t.element : void 0), j = (0, p.computed)(() => _.value?.text?.trim() ?? ""), U = (0, p.computed)(() => _.value?.textSegments), $ = (0, p.computed)(() => _.value?.textStyle);
1248
+ function W(e) {
1249
1249
  if (0 !== e) return `translate(0, ${e}px)`;
1250
1250
  }
1251
- function W(e) {
1251
+ function H(e) {
1252
1252
  return Math.max(v.value[e] ?? l.value, 1);
1253
1253
  }
1254
- function H(e, t) {
1254
+ function G(e, t) {
1255
1255
  return {
1256
1256
  strokeWidth: (0, d.connectorStrandScreenWidth)(v.value, l.value, e),
1257
- transform: $(t) ?? E.value
1257
+ transform: W(t) ?? E.value
1258
1258
  };
1259
1259
  }
1260
1260
  return (t, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
1261
1261
  class: "pptx-vue-element pptx-vue-connector",
1262
- style: (0, p.normalizeStyle)(O.value),
1262
+ style: (0, p.normalizeStyle)(M.value),
1263
1263
  "data-element-id": e.element.id
1264
1264
  }, [
1265
1265
  e.textStyleOverrideCss ? ((0, p.openBlock)(), (0, p.createBlock)((0, p.resolveDynamicComponent)("style"), { key: 0 }, {
@@ -1276,18 +1276,18 @@ var Ue = (0, p.defineComponent)({
1276
1276
  }
1277
1277
  }, [
1278
1278
  (0, p.createElementVNode)("defs", null, [
1279
- M.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
1279
+ F.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
1280
1280
  key: 0,
1281
- id: z.value,
1281
+ id: A.value,
1282
1282
  viewBox: "0 0 10 10",
1283
- refX: M.value.refX,
1283
+ refX: F.value.refX,
1284
1284
  refY: "5",
1285
- markerWidth: M.value.markerWidth,
1285
+ markerWidth: F.value.markerWidth,
1286
1286
  preserveAspectRatio: "none",
1287
- markerHeight: M.value.markerHeight,
1287
+ markerHeight: F.value.markerHeight,
1288
1288
  orient: "auto-start-reverse",
1289
1289
  markerUnits: "strokeWidth"
1290
- }, ["circle" === M.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
1290
+ }, ["circle" === F.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
1291
1291
  key: 0,
1292
1292
  cx: "5",
1293
1293
  cy: "5",
@@ -1295,22 +1295,22 @@ var Ue = (0, p.defineComponent)({
1295
1295
  fill: o.value
1296
1296
  }, null, 8, Ze)) : ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
1297
1297
  key: 1,
1298
- d: M.value.d,
1299
- fill: M.value.strokeOnly ? "none" : o.value,
1300
- stroke: M.value.strokeOnly ? o.value : void 0
1298
+ d: F.value.d,
1299
+ fill: F.value.strokeOnly ? "none" : o.value,
1300
+ stroke: F.value.strokeOnly ? o.value : void 0
1301
1301
  }, null, 8, Je))], 8, Xe)) : (0, p.createCommentVNode)("", !0),
1302
- F.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
1302
+ L.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("marker", {
1303
1303
  key: 1,
1304
- id: A.value,
1304
+ id: O.value,
1305
1305
  viewBox: "0 0 10 10",
1306
- refX: F.value.refX,
1306
+ refX: L.value.refX,
1307
1307
  refY: "5",
1308
- markerWidth: F.value.markerWidth,
1308
+ markerWidth: L.value.markerWidth,
1309
1309
  preserveAspectRatio: "none",
1310
- markerHeight: F.value.markerHeight,
1310
+ markerHeight: L.value.markerHeight,
1311
1311
  orient: "auto-start-reverse",
1312
1312
  markerUnits: "strokeWidth"
1313
- }, ["circle" === F.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
1313
+ }, ["circle" === L.value.shape ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
1314
1314
  key: 0,
1315
1315
  cx: "5",
1316
1316
  cy: "5",
@@ -1318,23 +1318,23 @@ var Ue = (0, p.defineComponent)({
1318
1318
  fill: o.value
1319
1319
  }, null, 8, et)) : ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
1320
1320
  key: 1,
1321
- d: F.value.d,
1322
- fill: F.value.strokeOnly ? "none" : o.value,
1323
- stroke: F.value.strokeOnly ? o.value : void 0
1321
+ d: L.value.d,
1322
+ fill: L.value.strokeOnly ? "none" : o.value,
1323
+ stroke: L.value.strokeOnly ? o.value : void 0
1324
1324
  }, null, 8, tt))], 8, Qe)) : (0, p.createCommentVNode)("", !0),
1325
- L.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("filter", {
1325
+ R.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("filter", {
1326
1326
  key: 2,
1327
- id: V.value,
1327
+ id: N.value,
1328
1328
  x: "-50%",
1329
1329
  y: "-50%",
1330
1330
  width: "200%",
1331
1331
  height: "200%"
1332
1332
  }, [(0, p.createElementVNode)("feDropShadow", {
1333
- dx: L.value.offsetX,
1334
- dy: L.value.offsetY,
1335
- stdDeviation: L.value.blur / 2,
1336
- "flood-color": L.value.color,
1337
- "flood-opacity": L.value.opacity
1333
+ dx: R.value.offsetX,
1334
+ dy: R.value.offsetY,
1335
+ stdDeviation: R.value.blur / 2,
1336
+ "flood-color": R.value.color,
1337
+ "flood-opacity": R.value.opacity
1338
1338
  }, null, 8, lt)], 8, nt)) : (0, p.createCommentVNode)("", !0)
1339
1339
  ]),
1340
1340
  (0, p.createElementVNode)("path", {
@@ -1347,21 +1347,21 @@ var Ue = (0, p.defineComponent)({
1347
1347
  "stroke-linejoin": "round",
1348
1348
  style: { "pointer-events": "stroke" }
1349
1349
  }, null, 8, ot),
1350
- f.value && h.value ? ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 0 }, (0, p.renderList)(m.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
1350
+ void 0 !== I.value ? ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 0 }, (0, p.renderList)(m.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
1351
1351
  key: t,
1352
1352
  "data-pptx-line": "",
1353
- d: h.value.pathData,
1353
+ d: I.value,
1354
1354
  fill: "none",
1355
1355
  stroke: o.value,
1356
- "stroke-width": W(t),
1356
+ "stroke-width": H(t),
1357
1357
  "stroke-opacity": a.value,
1358
1358
  "stroke-dasharray": r.value,
1359
1359
  "stroke-linecap": i.value,
1360
1360
  "stroke-linejoin": "round",
1361
- filter: 0 === t && L.value ? `url(#${V.value})` : void 0,
1362
- style: (0, p.normalizeStyle)(H(t, e)),
1363
- "marker-start": 0 === t && M.value ? `url(#${z.value})` : void 0,
1364
- "marker-end": t === m.value.length - 1 && F.value ? `url(#${A.value})` : void 0
1361
+ filter: 0 === t && R.value ? `url(#${N.value})` : void 0,
1362
+ style: (0, p.normalizeStyle)(G(t, e)),
1363
+ "marker-start": 0 === t && F.value ? `url(#${A.value})` : void 0,
1364
+ "marker-end": t === m.value.length - 1 && L.value ? `url(#${O.value})` : void 0
1365
1365
  }, null, 12, at))), 128)) : ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 1 }, (0, p.renderList)(m.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("line", {
1366
1366
  key: t,
1367
1367
  "data-pptx-line": "",
@@ -1370,21 +1370,21 @@ var Ue = (0, p.defineComponent)({
1370
1370
  x2: b.value,
1371
1371
  y2: w.value + e,
1372
1372
  stroke: o.value,
1373
- "stroke-width": W(t),
1374
- style: (0, p.normalizeStyle)(H(t, 0)),
1373
+ "stroke-width": H(t),
1374
+ style: (0, p.normalizeStyle)(G(t, 0)),
1375
1375
  "stroke-opacity": a.value,
1376
1376
  "stroke-dasharray": r.value,
1377
1377
  "stroke-linecap": i.value,
1378
- filter: 0 === t && L.value ? `url(#${V.value})` : void 0,
1379
- "marker-start": 0 === t && M.value ? `url(#${z.value})` : void 0,
1380
- "marker-end": t === m.value.length - 1 && F.value ? `url(#${A.value})` : void 0
1378
+ filter: 0 === t && R.value ? `url(#${N.value})` : void 0,
1379
+ "marker-start": 0 === t && F.value ? `url(#${A.value})` : void 0,
1380
+ "marker-end": t === m.value.length - 1 && L.value ? `url(#${O.value})` : void 0
1381
1381
  }, null, 12, rt))), 128))
1382
1382
  ], 8, Ye)),
1383
- j.value ? ((0, p.openBlock)(), (0, p.createBlock)(Ke, {
1383
+ U.value ? ((0, p.openBlock)(), (0, p.createBlock)(Ke, {
1384
1384
  key: 1,
1385
- text: _.value,
1386
- segments: j.value,
1387
- "text-style": U.value
1385
+ text: j.value,
1386
+ segments: U.value,
1387
+ "text-style": $.value
1388
1388
  }, null, 8, [
1389
1389
  "text",
1390
1390
  "segments",
@@ -1433,7 +1433,7 @@ var ut = ["data-element-id"], ct = ["viewBox"], dt = ["opacity"], pt = [
1433
1433
  interactive: { type: Boolean }
1434
1434
  },
1435
1435
  setup(e) {
1436
- const t = e, n = st(), l = (0, p.computed)(() => T(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "contentPart" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => a.value ? (0, d.buildContentPartStrokes)(a.value) : []), i = (0, p.computed)(() => a.value ? (0, d.contentPartViewBox)(a.value) : "0 0 1 1"), s = (0, p.computed)(() => t.presenting && a.value ? (0, d.getContentPartReplayStyles)(a.value.inkStrokes ?? []) : []);
1436
+ const t = e, n = st(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "contentPart" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => a.value ? (0, d.buildContentPartStrokes)(a.value) : []), i = (0, p.computed)(() => a.value ? (0, d.contentPartViewBox)(a.value) : "0 0 1 1"), s = (0, p.computed)(() => t.presenting && a.value ? (0, d.getContentPartReplayStyles)(a.value.inkStrokes ?? []) : []);
1437
1437
  function u(e) {
1438
1438
  return "multiply" === e ? { mixBlendMode: "multiply" } : void 0;
1439
1439
  }
@@ -1741,7 +1741,7 @@ var Pt = { style: {
1741
1741
  }
1742
1742
  },
1743
1743
  setup(e) {
1744
- const t = e, n = (0, p.computed)(() => "group" === t.element.type), l = (0, p.computed)(() => (0, k.isImageLikeElement)(t.element)), o = (0, p.computed)(() => t.mediaDataUrls ?? /* @__PURE__ */ new Map()), a = (0, p.computed)(() => D(t.element, t.parentGroupFill)), r = (0, p.computed)(() => (0, d.buildParagraphs)(t.element)), i = (0, p.computed)(() => r.value.some((e) => e.runs.length > 0)), s = (0, p.computed)(() => z(t.element)), u = (0, p.computed)(() => l.value ? (0, d.getImageSrc)(t.element, o.value) : void 0), c = (0, p.computed)(() => (0, d.getImageFitStyle)(t.element)), m = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), v = (0, p.computed)(() => n.value ? t.element.children ?? [] : []);
1744
+ const t = e, n = (0, p.computed)(() => "group" === t.element.type), l = (0, p.computed)(() => (0, k.isImageLikeElement)(t.element)), o = (0, p.computed)(() => t.mediaDataUrls ?? /* @__PURE__ */ new Map()), a = (0, p.computed)(() => C(t.element, t.parentGroupFill)), r = (0, p.computed)(() => (0, d.buildParagraphs)(t.element)), i = (0, p.computed)(() => r.value.some((e) => e.runs.length > 0)), s = (0, p.computed)(() => I(t.element)), u = (0, p.computed)(() => l.value ? (0, d.getImageSrc)(t.element, o.value) : void 0), c = (0, p.computed)(() => (0, d.getImageFitStyle)(t.element)), m = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), v = (0, p.computed)(() => n.value ? t.element.children ?? [] : []);
1745
1745
  return (t, l) => {
1746
1746
  const o = (0, p.resolveComponent)("ReflectionMirrorContent", !0);
1747
1747
  return n.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
@@ -2064,9 +2064,9 @@ var Pt = { style: {
2064
2064
  borderRadius: n.value?.borderRadius,
2065
2065
  clipPath: n.value?.clipPath ?? l.value
2066
2066
  })), a = (0, p.computed)(() => ({
2067
- ...T(t.element, t.zIndex),
2067
+ ...B(t.element, t.zIndex),
2068
2068
  ...o.value.box
2069
- })), r = (0, p.computed)(() => o.value.surface ?? { display: "contents" }), i = (0, p.computed)(() => (0, d.getImageFitStyle)(t.element)), s = (0, p.computed)(() => (0, d.getImageFillCounterTransform)(t.element, Boolean(i.value.transform))), u = (0, p.computed)(() => A(t.element, t.mediaDataUrls)), c = function(e) {
2069
+ })), r = (0, p.computed)(() => o.value.surface ?? { display: "contents" }), i = (0, p.computed)(() => (0, d.getImageFitStyle)(t.element)), s = (0, p.computed)(() => (0, d.getImageFillCounterTransform)(t.element, Boolean(i.value.transform))), u = (0, p.computed)(() => P(t.element, t.mediaDataUrls)), c = function(e) {
2070
2070
  const t = (0, p.ref)((0, d.getCachedNativeImageSize)(e.value));
2071
2071
  return (0, p.watch)(e, (n) => {
2072
2072
  if (!n) return void (t.value = void 0);
@@ -2250,9 +2250,9 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2250
2250
  }
2251
2251
  };
2252
2252
  }(() => t.element, () => l.value, () => !0 === t.presenting), u = (0, p.computed)(() => ({
2253
- ...T(t.element, t.zIndex),
2253
+ ...B(t.element, t.zIndex),
2254
2254
  ...s.overlayStyle.value
2255
- })), m = (0, p.computed)(() => A(t.element, t.mediaDataUrls)), v = (0, p.computed)(() => {
2255
+ })), m = (0, p.computed)(() => P(t.element, t.mediaDataUrls)), v = (0, p.computed)(() => {
2256
2256
  const e = t.element;
2257
2257
  if ("media" === e.type) return e.mediaData ?? (e.mediaPath ? t.mediaDataUrls.get(e.mediaPath) : void 0);
2258
2258
  }), f = (0, p.computed)(() => "media" === t.element.type ? t.element.mediaType : void 0), h = (0, p.computed)(() => (0, d.getOnlineVideoEmbed)(t.element)?.embedUrl), y = (0, p.computed)(() => "media" === t.element.type ? t.element.posterFrameData ?? m.value : m.value), g = (0, p.computed)(() => (0, d.mediaPlaybackAttributes)(a.value).loop), k = (0, p.computed)(() => "media" === t.element.type && !0 === t.element.autoPlay), x = (0, p.computed)(() => (0, d.mediaSurfaceOf)({
@@ -2271,18 +2271,18 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2271
2271
  const w = (0, p.computed)(() => (0, d.mediaFallbackVisual)(x.value, {
2272
2272
  hasPoster: Boolean(y.value),
2273
2273
  missing: "media" === t.element.type && !0 === t.element.mediaMissing
2274
- })), E = (0, p.computed)(() => (0, d.mediaFallbackIcon)(w.value, f.value)), B = (0, p.computed)(() => (0, d.mediaFallbackLabelKey)(w.value, f.value)), C = (0, p.computed)(() => s.active.value ? { pointerEvents: "auto" } : t.interactive ? null : { pointerEvents: "none" }), I = O(() => t.element, () => t.interactive, () => t.presenting);
2274
+ })), E = (0, p.computed)(() => (0, d.mediaFallbackIcon)(w.value, f.value)), C = (0, p.computed)(() => (0, d.mediaFallbackLabelKey)(w.value, f.value)), I = (0, p.computed)(() => s.active.value ? { pointerEvents: "auto" } : t.interactive ? null : { pointerEvents: "none" }), T = O(() => t.element, () => t.interactive, () => t.presenting);
2275
2275
  return (t, o) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2276
2276
  class: "pptx-vue-element pptx-vue-media",
2277
- style: (0, p.normalizeStyle)([u.value, C.value]),
2277
+ style: (0, p.normalizeStyle)([u.value, I.value]),
2278
2278
  "data-element-id": e.element.id,
2279
2279
  "data-pptx-element": e.interactive || e.marked ? "true" : void 0
2280
2280
  }, [
2281
- (0, p.unref)(I) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2281
+ (0, p.unref)(T) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2282
2282
  key: 0,
2283
2283
  "aria-hidden": "true",
2284
2284
  "data-pptx-hit-target": "true",
2285
- style: (0, p.normalizeStyle)((0, p.unref)(I))
2285
+ style: (0, p.normalizeStyle)((0, p.unref)(T))
2286
2286
  }, null, 4)) : (0, p.createCommentVNode)("", !0),
2287
2287
  h.value && "video" === f.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("iframe", {
2288
2288
  key: 1,
@@ -2347,14 +2347,14 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2347
2347
  }, [((0, p.openBlock)(), (0, p.createElementBlock)("svg", Cn, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(E.value, (e) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
2348
2348
  key: e,
2349
2349
  d: e
2350
- }, null, 8, In))), 128))])), B.value && "missing" === w.value.badge ? ((0, p.openBlock)(), (0, p.createElementBlock)("span", Pn, (0, p.toDisplayString)((0, p.unref)(n)(B.value)), 1)) : (0, p.createCommentVNode)("", !0)], 10, Bn)) : (0, p.createCommentVNode)("", !0)], 64)) : "none" !== w.value.placeholder ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2350
+ }, null, 8, In))), 128))])), C.value && "missing" === w.value.badge ? ((0, p.openBlock)(), (0, p.createElementBlock)("span", Pn, (0, p.toDisplayString)((0, p.unref)(n)(C.value)), 1)) : (0, p.createCommentVNode)("", !0)], 10, Bn)) : (0, p.createCommentVNode)("", !0)], 64)) : "none" !== w.value.placeholder ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2351
2351
  key: 5,
2352
2352
  class: "pptx-vue-placeholder pptx-vue-media-placeholder",
2353
2353
  "data-pptx-media-chrome": w.value.placeholder
2354
2354
  }, [E.value.length > 0 ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", Dn, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(E.value, (e) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
2355
2355
  key: e,
2356
2356
  d: e
2357
- }, null, 8, zn))), 128))])) : (0, p.createCommentVNode)("", !0), B.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("span", An, (0, p.toDisplayString)((0, p.unref)(n)(B.value)), 1)) : (0, p.createCommentVNode)("", !0)], 8, Tn)) : (0, p.createCommentVNode)("", !0),
2357
+ }, null, 8, zn))), 128))])) : (0, p.createCommentVNode)("", !0), C.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("span", An, (0, p.toDisplayString)((0, p.unref)(n)(C.value)), 1)) : (0, p.createCommentVNode)("", !0)], 8, Tn)) : (0, p.createCommentVNode)("", !0),
2358
2358
  (0, p.unref)(s).active.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("button", {
2359
2359
  key: 6,
2360
2360
  type: "button",
@@ -2394,8 +2394,8 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2394
2394
  },
2395
2395
  setup(e) {
2396
2396
  const t = e, n = (0, p.computed)(() => ({
2397
- ...(0, d.buildEquationBlockStyle)(z(t.element)),
2398
- ...T(t.element, t.zIndex)
2397
+ ...(0, d.buildEquationBlockStyle)(I(t.element)),
2398
+ ...B(t.element, t.zIndex)
2399
2399
  })), l = O(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => {
2400
2400
  const e = t.element;
2401
2401
  if (!(0, k.hasTextProperties)(e)) return [];
@@ -2499,10 +2499,10 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2499
2499
  presenting: { type: Boolean }
2500
2500
  },
2501
2501
  setup(e) {
2502
- const t = e, n = (0, p.computed)(() => T(t.element, t.zIndex)), l = O(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => (0, k.isInkElement)(t.element) ? t.element : void 0), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = (0, p.computed)(() => {
2502
+ const t = e, n = (0, p.computed)(() => B(t.element, t.zIndex)), l = O(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => (0, k.isInkElement)(t.element) ? t.element : void 0), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = (0, p.computed)(() => {
2503
2503
  const e = o.value;
2504
2504
  return e ? (0, d.buildInkGroupStrokes)(e, {
2505
- color: P,
2505
+ color: E,
2506
2506
  width: 1
2507
2507
  }) : [];
2508
2508
  }), s = (0, p.computed)(() => t.replay && o.value ? (0, d.getInkReplayStyles)(o.value) : []);
@@ -2620,7 +2620,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2620
2620
  presenting: { type: Boolean }
2621
2621
  },
2622
2622
  setup(e) {
2623
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => T(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "model3d" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => {
2623
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "model3d" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => {
2624
2624
  const e = a.value;
2625
2625
  if (e) return e.posterImage ?? e.imageData;
2626
2626
  }), i = (0, p.ref)(null), { mounted: m } = el({
@@ -2714,7 +2714,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2714
2714
  presenting: { type: Boolean }
2715
2715
  },
2716
2716
  setup(e) {
2717
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => T(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, d.oleActionsVisible)((0, d.mediaSurfaceOf)({
2717
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, d.oleActionsVisible)((0, d.mediaSurfaceOf)({
2718
2718
  interactive: !0 === t.interactive,
2719
2719
  presenting: !0 === t.presenting
2720
2720
  }))), r = (0, p.computed)(() => "ole" === t.element.type ? t.element : void 0), i = (0, p.computed)(() => {
@@ -2723,15 +2723,15 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2723
2723
  }), s = (0, p.computed)(() => (0, d.getOleTypeColor)(i.value)), u = (0, p.computed)(() => (0, d.getOleTypeLabel)(i.value)), m = (0, p.computed)(() => (0, d.getOleIconShapes)(i.value)), v = (0, p.computed)(() => r.value?.previewImageData), f = (0, p.computed)(() => r.value?.fileName), h = (0, p.computed)(() => r.value?.oleEmbeddedData), y = (0, p.computed)(() => r.value?.oleEmbeddedFileName ?? f.value ?? `${u.value}`), g = (0, p.computed)(() => r.value ? (0, d.getOleDisplayName)(r.value) : u.value), k = (0, p.computed)(() => (0, d.formatBytes)(r.value?.oleEmbeddedByteSize)), x = (0, p.computed)(() => r.value?.oleEmbeddedMimeType), S = (0, p.computed)(() => Boolean(h.value) && (0, d.isBrowserOpenableMime)(x.value)), b = (0, p.computed)(() => r.value?.oleProgId), w = (0, p.computed)(() => {
2724
2724
  const e = [u.value], t = r.value?.oleEmbeddedFileName ?? f.value;
2725
2725
  return t && e.push(t), k.value && e.push(k.value), b.value && e.push(b.value), e;
2726
- }), E = (0, p.computed)(() => w.value.join("\n")), B = (0, p.computed)(() => r.value ? (0, d.getOleAriaLabel)(r.value) : u.value);
2727
- function C() {
2726
+ }), E = (0, p.computed)(() => w.value.join("\n")), C = (0, p.computed)(() => r.value ? (0, d.getOleAriaLabel)(r.value) : u.value);
2727
+ function I() {
2728
2728
  const e = h.value;
2729
2729
  e && (0, d.openUrlInNewTab)(e);
2730
2730
  }
2731
- function I(e) {
2731
+ function P(e) {
2732
2732
  e.stopPropagation();
2733
2733
  }
2734
- const P = (0, p.computed)(() => (0, d.getOleBadgeLabel)(i.value)), D = (0, p.computed)(() => ({
2734
+ const T = (0, p.computed)(() => (0, d.getOleBadgeLabel)(i.value)), D = (0, p.computed)(() => ({
2735
2735
  border: `2px solid ${s.value}33`,
2736
2736
  borderRadius: "6px",
2737
2737
  backgroundColor: `${s.value}0d`
@@ -2741,7 +2741,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2741
2741
  style: (0, p.normalizeStyle)(l.value),
2742
2742
  "data-element-id": e.element.id,
2743
2743
  role: "group",
2744
- "aria-label": B.value,
2744
+ "aria-label": C.value,
2745
2745
  title: E.value
2746
2746
  }, [
2747
2747
  (0, p.unref)(o) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
@@ -2752,7 +2752,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2752
2752
  }, null, 4)) : (0, p.createCommentVNode)("", !0),
2753
2753
  v.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", il, [(0, p.createElementVNode)("img", {
2754
2754
  src: v.value,
2755
- alt: B.value,
2755
+ alt: C.value,
2756
2756
  class: "pptx-vue-ole-img",
2757
2757
  draggable: "false"
2758
2758
  }, null, 8, sl), ((0, p.openBlock)(), (0, p.createElementBlock)("svg", ul, [(0, p.createElementVNode)("rect", {
@@ -2767,9 +2767,9 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2767
2767
  y: "16",
2768
2768
  "text-anchor": "middle",
2769
2769
  fill: "white",
2770
- "font-size": P.value.length > 4 ? 6 : 10,
2770
+ "font-size": T.value.length > 4 ? 6 : 10,
2771
2771
  "font-weight": "bold"
2772
- }, (0, p.toDisplayString)(P.value), 9, dl)]))])) : ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2772
+ }, (0, p.toDisplayString)(T.value), 9, dl)]))])) : ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2773
2773
  key: 2,
2774
2774
  class: "pptx-vue-ole-placeholder",
2775
2775
  style: (0, p.normalizeStyle)(D.value)
@@ -2793,9 +2793,9 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2793
2793
  h.value && a.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2794
2794
  key: 3,
2795
2795
  class: "pptx-vue-ole-actions",
2796
- onPointerdown: I,
2797
- onMousedown: I,
2798
- onClick: I
2796
+ onPointerdown: P,
2797
+ onMousedown: P,
2798
+ onClick: P
2799
2799
  }, [
2800
2800
  k.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("span", yl, (0, p.toDisplayString)(k.value), 1)) : (0, p.createCommentVNode)("", !0),
2801
2801
  (0, p.createElementVNode)("a", {
@@ -2811,7 +2811,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2811
2811
  class: "pptx-vue-ole-action",
2812
2812
  "aria-label": (0, p.unref)(n)("pptx.ole.openName", { name: y.value }),
2813
2813
  title: (0, p.unref)(n)("pptx.ole.openName", { name: y.value }),
2814
- onClick: C
2814
+ onClick: I
2815
2815
  }, (0, p.toDisplayString)((0, p.unref)(n)("pptx.ole.open")), 9, kl)) : (0, p.createCommentVNode)("", !0)
2816
2816
  ], 32)) : (0, p.createCommentVNode)("", !0)
2817
2817
  ], 12, rl));
@@ -3043,24 +3043,24 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3043
3043
  function i(e) {
3044
3044
  return e ? r.value.get(e) : void 0;
3045
3045
  }
3046
- const s = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), u = (0, p.computed)(() => l.value?.style ?? "flat"), m = (0, p.computed)(() => l.value?.chrome), v = (0, p.computed)(() => T(t.element, t.zIndex)), f = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), h = O(() => t.element, () => t.interactive, () => t.presenting), y = (0, p.computed)(() => (0, d.buildChromeStyle)(m.value)), g = (0, p.computed)(() => l.value?.drawingShapes ?? []), x = (0, p.computed)(() => g.value.length > 0), S = (0, p.computed)(() => (0, d.resolveRevealedSmartArtNodes)(o.value, t.animationState, l.value?.presLayoutVars)), b = (0, p.computed)(() => S.value.nodes), w = (0, p.computed)(() => 0 === g.value.length ? g.value : (0, d.resolveRevealedDrawingShapes)(g.value, o.value, t.animationState)), E = (0, p.computed)(() => (0, d.computeDrawingViewBox)(g.value)), B = (0, p.computed)(() => {
3046
+ const s = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), u = (0, p.computed)(() => l.value?.style ?? "flat"), m = (0, p.computed)(() => l.value?.chrome), v = (0, p.computed)(() => B(t.element, t.zIndex)), f = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), h = O(() => t.element, () => t.interactive, () => t.presenting), y = (0, p.computed)(() => (0, d.buildChromeStyle)(m.value)), g = (0, p.computed)(() => l.value?.drawingShapes ?? []), x = (0, p.computed)(() => g.value.length > 0), S = (0, p.computed)(() => (0, d.resolveRevealedSmartArtNodes)(o.value, t.animationState, l.value?.presLayoutVars)), b = (0, p.computed)(() => S.value.nodes), w = (0, p.computed)(() => 0 === g.value.length ? g.value : (0, d.resolveRevealedDrawingShapes)(g.value, o.value, t.animationState)), E = (0, p.computed)(() => (0, d.computeDrawingViewBox)(g.value)), C = (0, p.computed)(() => {
3047
3047
  const e = w.value, n = (0, d.resolveRevealedDrawingShapeNodeIds)(g.value, e, o.value);
3048
3048
  return (0, d.projectDrawingShapes)(t.element.id, e, E.value, s.value, u.value).map((e, t) => ({
3049
3049
  ...e,
3050
3050
  nodeId: n[t]
3051
3051
  }));
3052
3052
  });
3053
- function C(e) {
3053
+ function I(e) {
3054
3054
  return e.textLines.map((e) => e.text).join(" ");
3055
3055
  }
3056
- const I = (0, p.computed)(() => (0, d.styleShadowFilter)(u.value)), P = (0, p.computed)(() => {
3056
+ const P = (0, p.computed)(() => (0, d.styleShadowFilter)(u.value)), T = (0, p.computed)(() => {
3057
3057
  if (x.value || 0 === o.value.length) return;
3058
3058
  const e = l.value;
3059
3059
  return (0, d.computeSmartArtElementLayout)(e ?? {}, b.value, {
3060
3060
  width: t.element.width,
3061
3061
  height: t.element.height
3062
3062
  }, s.value, u.value, t.element.id);
3063
- }), D = (0, p.computed)(() => (P.value?.connectors ?? []).map((e) => (0, d.smartArtConnectorPaint)(e))), z = (0, p.computed)(() => (P.value?.nodes ?? []).map((e) => (0, d.smartArtNodeLabel)(e))), A = (0, p.computed)(() => 0 === o.value.length && !x.value), M = Il(), F = (0, p.computed)(() => Boolean(M?.canEdit()) && (0, d.canDrillDown)(t.element)), L = (0, p.computed)(() => P.value ? bl(b.value) : []), R = Bl(), V = (0, p.ref)(null), N = (0, p.ref)(null), _ = (0, p.ref)(null), { hoveredNodeId: j, hoveredNodeRect: U, onMouseMove: $, onMouseLeave: W } = Tl(V);
3063
+ }), D = (0, p.computed)(() => (T.value?.connectors ?? []).map((e) => (0, d.smartArtConnectorPaint)(e))), z = (0, p.computed)(() => (T.value?.nodes ?? []).map((e) => (0, d.smartArtNodeLabel)(e))), A = (0, p.computed)(() => 0 === o.value.length && !x.value), M = Il(), F = (0, p.computed)(() => Boolean(M?.canEdit()) && (0, d.canDrillDown)(t.element)), L = (0, p.computed)(() => T.value ? bl(b.value) : []), R = Bl(), V = (0, p.ref)(null), N = (0, p.ref)(null), _ = (0, p.ref)(null), { hoveredNodeId: j, hoveredNodeRect: U, onMouseMove: $, onMouseLeave: W } = Tl(V);
3064
3064
  function H(e) {
3065
3065
  $(e, _.value);
3066
3066
  }
@@ -3124,7 +3124,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3124
3124
  "data-testid": t.interactive ? "smartart-drawing-shapes" : void 0,
3125
3125
  viewBox: `0 0 ${E.value.width} ${E.value.height}`,
3126
3126
  preserveAspectRatio: "xMidYMid meet"
3127
- }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(B.value, (e) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3127
+ }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(C.value, (e) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3128
3128
  key: e.key,
3129
3129
  class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": F.value && e.nodeId }),
3130
3130
  "data-node-id": e.nodeId,
@@ -3132,9 +3132,9 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3132
3132
  tabindex: F.value && e.nodeId ? 0 : void 0,
3133
3133
  role: i(e.nodeId) ? "img" : void 0,
3134
3134
  "aria-label": i(e.nodeId),
3135
- style: (0, p.normalizeStyle)(I.value ? { filter: I.value } : void 0),
3136
- onDblclick: (t) => K(e.nodeId, C(e), t),
3137
- onKeydown: (0, p.withKeys)((0, p.withModifiers)((t) => K(e.nodeId, C(e), t), ["prevent"]), ["enter"])
3135
+ style: (0, p.normalizeStyle)(P.value ? { filter: P.value } : void 0),
3136
+ onDblclick: (t) => K(e.nodeId, I(e), t),
3137
+ onKeydown: (0, p.withKeys)((0, p.withModifiers)((t) => K(e.nodeId, I(e), t), ["prevent"]), ["enter"])
3138
3138
  }, [
3139
3139
  i(e.nodeId) ? ((0, p.openBlock)(), (0, p.createElementBlock)("title", Rl, (0, p.toDisplayString)(i(e.nodeId)), 1)) : (0, p.createCommentVNode)("", !0),
3140
3140
  e.gradient ? ((0, p.openBlock)(), (0, p.createElementBlock)("defs", Vl, ["radial" === e.gradient.kind ? ((0, p.openBlock)(), (0, p.createElementBlock)("radialGradient", {
@@ -3218,14 +3218,14 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3218
3218
  x: e.textX,
3219
3219
  y: t.y
3220
3220
  }, (0, p.toDisplayString)(t.text), 9, ql))), 128))], 8, Kl)) : (0, p.createCommentVNode)("", !0)
3221
- ], 46, Ll))), 128))], 8, Fl)) : P.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", {
3221
+ ], 46, Ll))), 128))], 8, Fl)) : T.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", {
3222
3222
  key: 2,
3223
3223
  class: "pptx-vue-smartart-svg",
3224
- viewBox: P.value.viewBox,
3224
+ viewBox: T.value.viewBox,
3225
3225
  preserveAspectRatio: "xMidYMid meet",
3226
- "data-testid": t.interactive ? `smartart-${P.value.family}` : void 0,
3227
- "data-layout-family": P.value.family
3228
- }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(P.value.connectors, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
3226
+ "data-testid": t.interactive ? `smartart-${T.value.family}` : void 0,
3227
+ "data-layout-family": T.value.family
3228
+ }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(T.value.connectors, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
3229
3229
  key: e.key,
3230
3230
  d: D.value[t].d,
3231
3231
  fill: "none",
@@ -3233,7 +3233,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3233
3233
  "stroke-width": D.value[t].strokeWidth,
3234
3234
  opacity: D.value[t].opacity,
3235
3235
  "stroke-dasharray": D.value[t].dash
3236
- }, null, 8, Xl))), 128)), ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(P.value.nodes, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3236
+ }, null, 8, Xl))), 128)), ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(T.value.nodes, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3237
3237
  key: e.key,
3238
3238
  class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": F.value && L.value[t] }),
3239
3239
  "data-node-id": L.value[t],
@@ -3241,7 +3241,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3241
3241
  tabindex: F.value && L.value[t] ? 0 : void 0,
3242
3242
  role: i(L.value[t]) ? "img" : void 0,
3243
3243
  "aria-label": i(L.value[t]),
3244
- style: (0, p.normalizeStyle)(P.value.shadowFilter ? { filter: P.value.shadowFilter } : void 0),
3244
+ style: (0, p.normalizeStyle)(T.value.shadowFilter ? { filter: T.value.shadowFilter } : void 0),
3245
3245
  onDblclick: (n) => K(L.value[t], e.text, n),
3246
3246
  onKeydown: (0, p.withKeys)((0, p.withModifiers)((n) => K(L.value[t], e.text, n), ["prevent"]), ["enter"])
3247
3247
  }, [
@@ -3351,7 +3351,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3351
3351
  textStyleOverrideCss: {}
3352
3352
  },
3353
3353
  setup(e) {
3354
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), o = V(), a = (0, p.computed)(() => (0, d.resolveSmartArtThreeViewSpec)(t.element, o.value.smartArt3D)), r = (0, p.computed)(() => (0, d.elementInLocalFrame)(t.element)), i = (0, p.ref)(null), s = (0, p.ref)(null), u = (0, p.computed)(() => T(t.element, t.zIndex)), m = O(() => t.element, () => t.interactive, () => t.presenting), v = Il(), f = (0, p.computed)(() => Boolean(v?.canEdit())), h = Bl(), y = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), g = (0, p.ref)(null), { hoveredNodeId: k, hoveredNodeRect: x, onMouseMove: S, onMouseLeave: b } = Tl(i), w = (0, p.computed)(() => {
3354
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), o = V(), a = (0, p.computed)(() => (0, d.resolveSmartArtThreeViewSpec)(t.element, o.value.smartArt3D)), r = (0, p.computed)(() => (0, d.elementInLocalFrame)(t.element)), i = (0, p.ref)(null), s = (0, p.ref)(null), u = (0, p.computed)(() => B(t.element, t.zIndex)), m = O(() => t.element, () => t.interactive, () => t.presenting), v = Il(), f = (0, p.computed)(() => Boolean(v?.canEdit())), h = Bl(), y = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), g = (0, p.ref)(null), { hoveredNodeId: k, hoveredNodeRect: x, onMouseMove: S, onMouseLeave: b } = Tl(i), w = (0, p.computed)(() => {
3355
3355
  const e = x.value, t = i.value;
3356
3356
  if (!e || !t) return;
3357
3357
  const n = Math.max(0, t.clientWidth - 168), l = Math.max(0, t.clientHeight - 40);
@@ -3366,7 +3366,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3366
3366
  const t = e.relatedTarget, n = i.value;
3367
3367
  t instanceof Node && n?.contains(t) && !(t instanceof HTMLTextAreaElement) || b();
3368
3368
  }
3369
- function B(e) {
3369
+ function C(e) {
3370
3370
  const t = e.currentTarget, n = i.value;
3371
3371
  if (!(t instanceof Element && n)) return;
3372
3372
  const o = (0, d.smartArtNodeAtPoint)(t, e.clientX, e.clientY);
@@ -3380,7 +3380,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3380
3380
  s.value?.focus(), s.value?.select();
3381
3381
  }));
3382
3382
  }
3383
- function C() {
3383
+ function I() {
3384
3384
  const e = h.editingNodeId.value, n = l.value;
3385
3385
  e && n && v && (0, d.shouldCommitSmartArtNodeText)(n, e, h.draft.value) && v.commit(t.element.id, e, h.draft.value), h.cancel();
3386
3386
  }
@@ -3422,7 +3422,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3422
3422
  f.value ? ((0, p.openBlock)(), (0, p.createElementBlock)(p.Fragment, { key: 1 }, [
3423
3423
  (0, p.createElementVNode)("div", {
3424
3424
  class: "pptx-vue-smartart-3d-hittest",
3425
- onDblclick: (0, p.withModifiers)(B, ["stop"]),
3425
+ onDblclick: (0, p.withModifiers)(C, ["stop"]),
3426
3426
  onMousemove: o[0] || (o[0] = (e) => (0, p.unref)(S)(e, g.value)),
3427
3427
  onMouseleave: E
3428
3428
  }, [(0, p.createVNode)(io, {
@@ -3460,9 +3460,9 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3460
3460
  onMousedown: o[4] || (o[4] = (0, p.withModifiers)(() => {}, ["stop"])),
3461
3461
  onClick: o[5] || (o[5] = (0, p.withModifiers)(() => {}, ["stop"])),
3462
3462
  onDblclick: o[6] || (o[6] = (0, p.withModifiers)(() => {}, ["stop"])),
3463
- onBlur: C,
3463
+ onBlur: I,
3464
3464
  onKeydown: [
3465
- (0, p.withKeys)((0, p.withModifiers)(C, ["prevent"]), ["enter"]),
3465
+ (0, p.withKeys)((0, p.withModifiers)(I, ["prevent"]), ["enter"]),
3466
3466
  o[7] || (o[7] = (0, p.withKeys)((0, p.withModifiers)((e) => (0, p.unref)(h).cancel(), ["prevent"]), ["esc"])),
3467
3467
  o[8] || (o[8] = (0, p.withModifiers)(() => {}, ["stop"]))
3468
3468
  ]
@@ -3701,7 +3701,7 @@ var wo = b((0, p.defineComponent)({
3701
3701
  fontScheme: e?.fontScheme,
3702
3702
  formatScheme: e?.formatScheme
3703
3703
  }),
3704
- ...T(t.element, t.zIndex)
3704
+ ...B(t.element, t.zIndex)
3705
3705
  };
3706
3706
  }), l = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.inject)(ko, void 0), r = (0, p.computed)(() => {
3707
3707
  const e = t.element;
@@ -3780,25 +3780,25 @@ var wo = b((0, p.defineComponent)({
3780
3780
  function E(e) {
3781
3781
  w.value = e instanceof HTMLInputElement ? e : null;
3782
3782
  }
3783
- const B = (0, p.computed)(() => t.interactive && (h?.canEdit() ?? !1) && (0, d.canDrillDown)(t.element));
3784
- function C(e) {
3783
+ const C = (0, p.computed)(() => t.interactive && (h?.canEdit() ?? !1) && (0, d.canDrillDown)(t.element));
3784
+ function I(e) {
3785
3785
  const t = S.value;
3786
3786
  return null !== t && t.rowIndex === e.rowIndex && t.colIndex === e.colIndex;
3787
3787
  }
3788
- function I(e, t) {
3789
- B.value && (e.stopPropagation(), function(e) {
3788
+ function P(e, t) {
3789
+ C.value && (e.stopPropagation(), function(e) {
3790
3790
  b.value = " " === e.text ? "" : e.text, S.value = {
3791
3791
  rowIndex: e.rowIndex,
3792
3792
  colIndex: e.colIndex
3793
3793
  };
3794
3794
  }(t));
3795
3795
  }
3796
- function P() {
3796
+ function T() {
3797
3797
  const e = S.value;
3798
3798
  e && (S.value = null, h?.commit(t.element.id, e.rowIndex, e.colIndex, b.value));
3799
3799
  }
3800
3800
  function D(e) {
3801
- e.stopPropagation(), "Enter" === e.key || "Tab" === e.key ? (e.preventDefault(), P()) : "Escape" === e.key && (e.preventDefault(), S.value = null);
3801
+ e.stopPropagation(), "Enter" === e.key || "Tab" === e.key ? (e.preventDefault(), T()) : "Escape" === e.key && (e.preventDefault(), S.value = null);
3802
3802
  }
3803
3803
  let z = null;
3804
3804
  return (0, p.watch)(S, (e) => {
@@ -3832,7 +3832,7 @@ var wo = b((0, p.defineComponent)({
3832
3832
  (0, p.createVNode)(wo, {
3833
3833
  "column-widths": r.value.columnWidths,
3834
3834
  rows: r.value.rows,
3835
- editable: B.value,
3835
+ editable: C.value,
3836
3836
  onResizeColumns: k,
3837
3837
  onResizeRow: x
3838
3838
  }, {
@@ -3850,13 +3850,13 @@ var wo = b((0, p.defineComponent)({
3850
3850
  class: (0, p.normalizeClass)(["pptx-vue-table__cell", {
3851
3851
  "pptx-vue-table__cell--selected": (0, p.unref)(g).isCellSelected(e.rowIndex, e.colIndex),
3852
3852
  "pptx-vue-table__cell--in-selection": (0, p.unref)(g).isCellInSelection(e.rowIndex, e.colIndex) && !(0, p.unref)(g).isCellSelected(e.rowIndex, e.colIndex),
3853
- "pptx-vue-table__cell--editable": B.value
3853
+ "pptx-vue-table__cell--editable": C.value
3854
3854
  }]),
3855
3855
  colspan: e.colSpan,
3856
3856
  rowspan: e.rowSpan,
3857
3857
  style: (0, p.normalizeStyle)(v(e)),
3858
3858
  onPointerdown: a[5] || (a[5] = (e) => {
3859
- t = e, B.value && "extend" === (0, d.tableCellPointerIntent)({
3859
+ t = e, C.value && "extend" === (0, d.tableCellPointerIntent)({
3860
3860
  isTableCell: !0,
3861
3861
  shiftKey: t.shiftKey,
3862
3862
  elementSelected: null !== g.activeSelection.value,
@@ -3866,9 +3866,9 @@ var wo = b((0, p.defineComponent)({
3866
3866
  var t;
3867
3867
  }),
3868
3868
  onClick: (t) => function(e, t) {
3869
- B.value && (e.stopPropagation(), g.selectCell(t.rowIndex, t.colIndex, e.shiftKey));
3869
+ C.value && (e.stopPropagation(), g.selectCell(t.rowIndex, t.colIndex, e.shiftKey));
3870
3870
  }(t, e),
3871
- onDblclick: (t) => I(t, e)
3871
+ onDblclick: (t) => P(t, e)
3872
3872
  }, [e.diagonals ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", Io, [e.diagonals.diagDownColor && e.diagonals.diagDownWidth ? ((0, p.openBlock)(), (0, p.createElementBlock)("line", {
3873
3873
  key: 0,
3874
3874
  x1: "0",
@@ -3887,7 +3887,7 @@ var wo = b((0, p.defineComponent)({
3887
3887
  stroke: e.diagonals.diagUpColor,
3888
3888
  "stroke-width": e.diagonals.diagUpWidth,
3889
3889
  style: (0, p.normalizeStyle)({ strokeWidth: (0, p.unref)(d.screenStrokeWidth)(e.diagonals.diagUpWidth) })
3890
- }, null, 12, To)) : (0, p.createCommentVNode)("", !0)])) : (0, p.createCommentVNode)("", !0), C(e) ? (0, p.withDirectives)(((0, p.openBlock)(), (0, p.createElementBlock)("input", {
3890
+ }, null, 12, To)) : (0, p.createCommentVNode)("", !0)])) : (0, p.createCommentVNode)("", !0), I(e) ? (0, p.withDirectives)(((0, p.openBlock)(), (0, p.createElementBlock)("input", {
3891
3891
  key: 1,
3892
3892
  ref_for: !0,
3893
3893
  ref: E,
@@ -3898,7 +3898,7 @@ var wo = b((0, p.defineComponent)({
3898
3898
  onMousedown: a[2] || (a[2] = (0, p.withModifiers)(() => {}, ["stop"])),
3899
3899
  onClick: a[3] || (a[3] = (0, p.withModifiers)(() => {}, ["stop"])),
3900
3900
  onDblclick: a[4] || (a[4] = (0, p.withModifiers)(() => {}, ["stop"])),
3901
- onBlur: P,
3901
+ onBlur: T,
3902
3902
  onKeydown: D
3903
3903
  }, null, 544)), [[p.vModelText, b.value]]) : e.paragraphs ? ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, { key: 2 }, (0, p.renderList)(e.paragraphs, (t, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
3904
3904
  key: `${e.key}-para-${n}`,
@@ -4035,10 +4035,10 @@ var No = ["d", "fill"], _o = [
4035
4035
  zIndex: {}
4036
4036
  },
4037
4037
  setup(e) {
4038
- const t = e, n = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) ? t.element : null), l = (0, p.computed)(() => n.value?.textStyle?.textWarpPreset), o = (0, p.computed)(() => Boolean(n.value) && (0, d.shouldUseSvgWarp)(l.value)), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = E(), s = (0, p.computed)(() => {
4038
+ const t = e, n = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) ? t.element : null), l = (0, p.computed)(() => n.value?.textStyle?.textWarpPreset), o = (0, p.computed)(() => Boolean(n.value) && (0, d.shouldUseSvgWarp)(l.value)), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = D(), s = (0, p.computed)(() => {
4039
4039
  const e = n.value;
4040
4040
  if (!e) return [];
4041
- const t = B(i);
4041
+ const t = z(i);
4042
4042
  return (0, d.groupIntoParagraphs)(e, (e) => {
4043
4043
  if (e.fieldType) {
4044
4044
  const n = (0, d.substituteFieldText)(e.text, e.fieldType, t, e.style?.language);
@@ -4065,21 +4065,25 @@ var No = ["d", "fill"], _o = [
4065
4065
  };
4066
4066
  }
4067
4067
  }), f = (0, p.computed)(() => n.value?.textStyle?.fontSize ?? 24), h = (0, p.computed)(() => n.value?.textStyle?.fontFamily ? (0, k.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : d.DEFAULT_FONT_FAMILY), y = (0, p.computed)(() => (0, d.normalizeHexColor)(n.value?.textStyle?.color, Jo)), g = (0, p.computed)(() => (0, d.resolveFontWeight)(n.value?.textStyle?.fontFamily, n.value?.textStyle?.bold)), x = (0, p.computed)(() => (0, d.resolveFontItalic)(n.value?.textStyle?.fontFamily, n.value?.textStyle?.italic) ? "italic" : "normal");
4068
- function S(e) {
4069
- const t = (0, d.resolveWarpRunPaint)(e, n.value?.textStyle, Jo, 24);
4068
+ function S(e, t = 1) {
4069
+ const l = (0, d.resolveWarpRunPaint)(e, n.value?.textStyle, Jo, 24);
4070
4070
  return {
4071
- fill: t.fill,
4072
- fontSize: t.fontSizePx,
4073
- fontWeight: t.fontWeight ?? "normal",
4074
- fontStyle: t.fontStyle ?? "normal",
4075
- fontFamily: t.fontFamily,
4076
- ...t.textDecoration ? { textDecoration: t.textDecoration } : {}
4071
+ fill: l.fill,
4072
+ fontSize: l.fontSizePx * t,
4073
+ fontWeight: l.fontWeight ?? "normal",
4074
+ fontStyle: l.fontStyle ?? "normal",
4075
+ fontFamily: l.fontFamily,
4076
+ ...l.textDecoration ? { textDecoration: l.textDecoration } : {}
4077
4077
  };
4078
4078
  }
4079
- function b(e) {
4080
- return (0, d.buildWarpPath)(l.value, a.value, r.value, e, s.value.length, c.value, m.value);
4079
+ const b = (0, p.computed)(() => l.value ? (0, d.warpParagraphLayouts)(l.value, a.value, r.value, s.value, c.value, m.value, n.value?.textStyle) : []);
4080
+ function w(e) {
4081
+ return b.value[e]?.d ?? "";
4081
4082
  }
4082
- const { useGlyphEnvelope: w, glyphLines: C } = function(e) {
4083
+ function E(e) {
4084
+ return b.value[e]?.fitScale ?? 1;
4085
+ }
4086
+ const { useGlyphEnvelope: B, glyphLines: C } = function(e) {
4083
4087
  const { textEl: t, preset: n, paragraphs: l, width: o, height: a, warpAdj: r, warpAdj2: i, defaultFontFamily: s, defaultFontSize: u } = e, c = (0, p.computed)(() => l.value.length > 0 && (0, d.hasGlyphEnvelope)(n.value ?? ""));
4084
4088
  function m(e) {
4085
4089
  const n = e.style ?? {}, l = t.value?.textStyle, o = n.fontFamily ?? l?.fontFamily;
@@ -4118,7 +4122,7 @@ var No = ["d", "fill"], _o = [
4118
4122
  defaultFontFamily: d.DEFAULT_FONT_FAMILY,
4119
4123
  defaultFontSize: 24
4120
4124
  });
4121
- return (t, n) => (0, p.unref)(w) ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", {
4125
+ return (t, n) => (0, p.unref)(B) ? ((0, p.openBlock)(), (0, p.createElementBlock)("svg", {
4122
4126
  key: 0,
4123
4127
  class: "pptx-vue-wordart",
4124
4128
  width: a.value,
@@ -4151,7 +4155,7 @@ var No = ["d", "fill"], _o = [
4151
4155
  }, [(0, p.createElementVNode)("defs", null, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(s.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("path", {
4152
4156
  id: `${u.value}-${t}`,
4153
4157
  key: `def-${t}`,
4154
- d: b(t),
4158
+ d: w(t),
4155
4159
  fill: "none"
4156
4160
  }, null, 8, qo))), 128))]), ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(s.value, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("text", {
4157
4161
  key: `txt-${t}`,
@@ -4166,15 +4170,15 @@ var No = ["d", "fill"], _o = [
4166
4170
  "text-anchor": v.value.textAnchor
4167
4171
  }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(e.segments, (e, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("tspan", {
4168
4172
  key: `ts-${t}-${n}`,
4169
- fill: S(e).fill,
4170
- "font-size": S(e).fontSize,
4173
+ fill: S(e, E(t)).fill,
4174
+ "font-size": S(e, E(t)).fontSize,
4171
4175
  "font-weight": S(e).fontWeight,
4172
4176
  "font-style": S(e).fontStyle,
4173
4177
  "font-family": S(e).fontFamily,
4174
4178
  "text-decoration": S(e).textDecoration
4175
4179
  }, (0, p.toDisplayString)(e.text), 9, Zo))), 128))], 8, Xo)], 8, Yo))), 128))], 12, Ko)) : (0, p.createCommentVNode)("", !0);
4176
4180
  }
4177
- }), [["__scopeId", "data-v-6769cda1"]]), ea = Symbol("pptx-vue-zoom-navigation");
4181
+ }), [["__scopeId", "data-v-60a2ce03"]]), ea = Symbol("pptx-vue-zoom-navigation");
4178
4182
  function ta(e) {
4179
4183
  (0, p.provide)(ea, e);
4180
4184
  }
@@ -4220,7 +4224,7 @@ var aa = [
4220
4224
  presenting: { type: Boolean }
4221
4225
  },
4222
4226
  setup(e) {
4223
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => T(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, k.isZoomElement)(t.element) ? t.element : void 0), r = (0, p.computed)(() => a.value?.imageData), i = (0, p.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, p.computed)(() => a.value?.zoomType ?? "slide"), u = (0, p.computed)(() => a.value?.targetSectionId), m = (0, p.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), v = (0, p.inject)(na, void 0), f = (0, p.computed)(() => v?.(i.value)), h = (0, p.computed)(() => a.value ? (0, d.buildSummaryZoomView)(a.value, v, (e, t) => n(e, t ?? {})) : void 0), y = (0, p.computed)(() => ({ backgroundColor: f.value?.backgroundColor ?? "#f0f0f0" })), g = (0, p.computed)(() => void 0 !== f.value?.slideNumber ? n("pptx.notes.slideN", { n: f.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), x = (0, p.computed)(() => f.value?.sectionName ?? u.value), S = (0, p.computed)(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
4227
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, k.isZoomElement)(t.element) ? t.element : void 0), r = (0, p.computed)(() => a.value?.imageData), i = (0, p.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, p.computed)(() => a.value?.zoomType ?? "slide"), u = (0, p.computed)(() => a.value?.targetSectionId), m = (0, p.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), v = (0, p.inject)(na, void 0), f = (0, p.computed)(() => v?.(i.value)), h = (0, p.computed)(() => a.value ? (0, d.buildSummaryZoomView)(a.value, v, (e, t) => n(e, t ?? {})) : void 0), y = (0, p.computed)(() => ({ backgroundColor: f.value?.backgroundColor ?? "#f0f0f0" })), g = (0, p.computed)(() => void 0 !== f.value?.slideNumber ? n("pptx.notes.slideN", { n: f.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), x = (0, p.computed)(() => f.value?.sectionName ?? u.value), S = (0, p.computed)(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
4224
4228
  number: i.value + 1,
4225
4229
  section: u.value
4226
4230
  }) : n("pptx.zoom.ariaLabel", { number: i.value + 1 })), b = (0, p.inject)(ea, void 0), w = (0, p.computed)(() => Boolean(b && a.value));
@@ -4229,7 +4233,7 @@ var aa = [
4229
4233
  const e = (0, d.resolveZoomNavigationTarget)(a.value);
4230
4234
  e && b.navigateToZoomTarget(e);
4231
4235
  }
4232
- function B(e, t) {
4236
+ function C(e, t) {
4233
4237
  w.value && b && (e.preventDefault(), e.stopPropagation(), b.navigateToZoomTarget({
4234
4238
  targetSlideIndex: t.targetSlideIndex,
4235
4239
  targetSectionId: t.sectionId,
@@ -4237,10 +4241,10 @@ var aa = [
4237
4241
  transitionDurationMs: t.transitionDurationMs
4238
4242
  }));
4239
4243
  }
4240
- function C(e) {
4244
+ function I(e) {
4241
4245
  w.value && (e.stopPropagation(), E());
4242
4246
  }
4243
- function I(e) {
4247
+ function P(e) {
4244
4248
  !w.value || "Enter" !== e.key && " " !== e.key || (e.preventDefault(), e.stopPropagation(), E());
4245
4249
  }
4246
4250
  return (t, a) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
@@ -4252,8 +4256,8 @@ var aa = [
4252
4256
  "aria-label": h.value?.ariaLabel ?? S.value,
4253
4257
  role: h.value ? "group" : w.value ? "button" : void 0,
4254
4258
  tabindex: !h.value && w.value ? 0 : void 0,
4255
- onClick: C,
4256
- onKeydown: I
4259
+ onClick: I,
4260
+ onKeydown: P
4257
4261
  }, [(0, p.unref)(o) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4258
4262
  key: 0,
4259
4263
  "aria-hidden": "true",
@@ -4275,8 +4279,8 @@ var aa = [
4275
4279
  "aria-label": e.ariaLabel,
4276
4280
  role: w.value ? "button" : void 0,
4277
4281
  tabindex: w.value ? 0 : void 0,
4278
- onClick: (t) => B(t, e),
4279
- onKeydown: [(0, p.withKeys)((t) => B(t, e), ["enter"]), (0, p.withKeys)((t) => B(t, e), ["space"])]
4282
+ onClick: (t) => C(t, e),
4283
+ onKeydown: [(0, p.withKeys)((t) => C(t, e), ["enter"]), (0, p.withKeys)((t) => C(t, e), ["space"])]
4280
4284
  }, [e.imageSrc ? ((0, p.openBlock)(), (0, p.createElementBlock)("img", {
4281
4285
  key: 0,
4282
4286
  src: e.imageSrc,
@@ -4310,7 +4314,7 @@ var aa = [
4310
4314
  inlineEditingElementId: {}
4311
4315
  },
4312
4316
  setup(e) {
4313
- const t = e, n = V(), l = (0, p.computed)(() => n.value.smartArt3D), o = E(), a = (0, p.inject)(C, void 0), r = (0, p.inject)(M, () => (0, p.shallowRef)(/* @__PURE__ */ new Map()), !0), i = (0, p.computed)(() => r.value.get(t.element.id)), s = (0, p.computed)(() => (0, d.getBackgroundAnimationState)(t.element, r.value)), u = (0, p.computed)(() => (0, d.buildTextStyleOverrideCss)(t.element.id, i.value?.textStyle)), c = (0, p.computed)(() => T(t.element, t.zIndex)), m = (0, p.computed)(() => D(t.element, t.parentGroupFill, (s.value ?? i.value)?.animatesFill, (s.value ?? i.value)?.animatesStroke)), v = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), f = (0, p.computed)(() => {
4317
+ const t = e, n = V(), l = (0, p.computed)(() => n.value.smartArt3D), o = D(), a = (0, p.inject)(A, void 0), r = (0, p.inject)(M, () => (0, p.shallowRef)(/* @__PURE__ */ new Map()), !0), i = (0, p.computed)(() => r.value.get(t.element.id)), s = (0, p.computed)(() => (0, d.getBackgroundAnimationState)(t.element, r.value)), u = (0, p.computed)(() => (0, d.buildTextStyleOverrideCss)(t.element.id, i.value?.textStyle)), c = (0, p.computed)(() => B(t.element, t.zIndex)), m = (0, p.computed)(() => C(t.element, t.parentGroupFill, (s.value ?? i.value)?.animatesFill, (s.value ?? i.value)?.animatesStroke)), v = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), f = (0, p.computed)(() => {
4314
4318
  const e = c.value, n = m.value, l = {
4315
4319
  ...e,
4316
4320
  ...n
@@ -4320,7 +4324,7 @@ var aa = [
4320
4324
  ...(0, d.abuttingEdgeBleedStyle)(t.element, t.edgeBleed, l)
4321
4325
  };
4322
4326
  }), h = (0, p.computed)(() => (0, d.getBackgroundAnimationLayers)(t.element, f.value, s.value)), y = (0, p.computed)(() => {
4323
- const e = z(t.element), n = (0, k.hasTextProperties)(t.element) ? t.element.textStyle : void 0, l = (0, d.buildTextBody3DSceneStyle)(n, {
4327
+ const e = I(t.element), n = (0, k.hasTextProperties)(t.element) ? t.element.textStyle : void 0, l = (0, d.buildTextBody3DSceneStyle)(n, {
4324
4328
  width: t.element.width,
4325
4329
  height: t.element.height
4326
4330
  });
@@ -4333,10 +4337,10 @@ var aa = [
4333
4337
  }), g = (0, p.computed)(() => {
4334
4338
  const e = (0, k.hasShapeProperties)(t.element) ? t.element.shapeStyle : void 0;
4335
4339
  return (0, d.build3DExtrusionData)(e?.shape3d, e?.scene3d, e?.fillColor, t.element.width, t.element.height);
4336
- }), x = (0, p.computed)(() => "text" === t.element.type || "shape" === t.element.type), S = (0, p.computed)(() => "picture" === t.element.type || "image" === t.element.type), b = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) && (0, d.isEquationOnlyText)(t.element.textSegments)), w = (0, p.computed)(() => (0, d.hasTextWarp)(t.element)), I = (0, p.computed)(() => {
4340
+ }), x = (0, p.computed)(() => "text" === t.element.type || "shape" === t.element.type), S = (0, p.computed)(() => "picture" === t.element.type || "image" === t.element.type), b = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) && (0, d.isEquationOnlyText)(t.element.textSegments)), w = (0, p.computed)(() => (0, d.hasTextWarp)(t.element)), E = (0, p.computed)(() => {
4337
4341
  return (0, d.getOverflowSegments)(t.element, (e = a) ? (0, p.toValue)(e) : void 0);
4338
4342
  var e;
4339
- }), P = (0, p.computed)(() => (0, d.buildParagraphs)(t.element, B(o), I.value)), A = (0, p.computed)(() => P.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), F = (0, p.computed)(() => A.value ? null : (0, d.placeholderPromptDescriptor)(t.element, t.interactive && !t.presenting ? "edit" : "present")), L = (0, p.computed)(() => t.templateEditing ? "pptx-vue-template-editing" : null), R = (0, p.computed)(() => t.interactive || t.marked ? "true" : void 0), N = (0, p.computed)(() => {
4343
+ }), P = (0, p.computed)(() => (0, d.buildParagraphs)(t.element, z(o), E.value)), T = (0, p.computed)(() => P.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), F = (0, p.computed)(() => T.value ? null : (0, d.placeholderPromptDescriptor)(t.element, t.interactive && !t.presenting ? "edit" : "present")), L = (0, p.computed)(() => t.templateEditing ? "pptx-vue-template-editing" : null), R = (0, p.computed)(() => t.interactive || t.marked ? "true" : void 0), N = (0, p.computed)(() => {
4340
4344
  const e = (0, d.inlineElementPointerEvents)({
4341
4345
  interactive: !0 === t.interactive,
4342
4346
  presenting: !0 === t.presenting
@@ -4630,7 +4634,7 @@ var aa = [
4630
4634
  key: 0,
4631
4635
  element: e.element,
4632
4636
  "z-index": 0
4633
- }, null, 8, ["element"])) : A.value ? ((0, p.openBlock)(), (0, p.createBlock)(Ht, {
4637
+ }, null, 8, ["element"])) : T.value ? ((0, p.openBlock)(), (0, p.createBlock)(Ht, {
4634
4638
  key: 1,
4635
4639
  paragraphs: P.value,
4636
4640
  "text-style": y.value,
@@ -4679,12 +4683,12 @@ var aa = [
4679
4683
  setup(e) {
4680
4684
  const t = e, { t: n } = c.useI18n(), l = (0, p.ref)(null);
4681
4685
  (function(e) {
4682
- const t = E();
4683
- (0, p.provide)(w, () => (0, d.deriveSlideFieldContext)(B(t), e()));
4686
+ const t = D();
4687
+ (0, p.provide)(T, () => (0, d.deriveSlideFieldContext)(z(t), e()));
4684
4688
  })(() => t.slide);
4685
4689
  const o = (0, p.computed)(() => [...(0, d.visibleTemplateElements)(t.slide, t.templateElements ?? [])]);
4686
4690
  var a = () => [...o.value, ...t.slide?.elements ?? []];
4687
- (0, p.provide)(C, a);
4691
+ (0, p.provide)(A, a);
4688
4692
  const r = (0, p.computed)(() => t.preserveElementIds ? /* @__PURE__ */ new Map() : (0, d.resolveStageEdgeBleeds)(o.value, t.slide, t.selectedElementIds?.length ? new Set(t.selectedElementIds) : void 0)), i = (0, p.computed)(() => o.value.length), s = (0, p.computed)(() => [...o.value, ...t.slide?.elements ?? []]), u = (0, p.computed)(() => (t.interactive ?? !1) && (t.editTemplateMode ?? !1));
4689
4693
  (0, p.watchPostEffect)(() => {
4690
4694
  const e = l.value, a = s.value;
@@ -5775,7 +5779,7 @@ function fr(e) {
5775
5779
  var hr = {
5776
5780
  loadYjs: () => import("yjs"),
5777
5781
  loadWebsocket: () => import("y-websocket"),
5778
- loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-CTBB9Ok0.cjs"))
5782
+ loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-D9l3ByiO.cjs"))
5779
5783
  };
5780
5784
  function yr(e, t) {
5781
5785
  const n = (0, p.ref)(!1), l = (0, p.ref)(!1), o = (0, p.ref)(void 0), a = (0, d.createCollaborationLivePatcher)();
@@ -7701,7 +7705,33 @@ function oi(e) {
7701
7705
  }
7702
7706
  };
7703
7707
  }
7704
- function ai(e) {
7708
+ var ai = "pptx-vue-google-fonts";
7709
+ function ri(e, t, n = void 0) {
7710
+ const l = ai;
7711
+ (0, p.watchEffect)((o) => {
7712
+ if ("undefined" == typeof document) return;
7713
+ let a = !1;
7714
+ o(() => {
7715
+ a = !0;
7716
+ }), (0, d.resolveGoogleWebfontHref)((0, p.toValue)(e) ?? [], (0, p.toValue)(t) ?? [], void 0, (0, d.resolveGoogleFontsCss2Base)((0, p.toValue)(n))).then((e) => a ? null : ((0, d.syncGoogleWebfontStylesheet)(document, l, e), e));
7717
+ }), (0, p.onScopeDispose)(() => {
7718
+ document.getElementById(l)?.remove();
7719
+ }), (0, p.watchEffect)((l) => {
7720
+ let o = !1;
7721
+ l(() => {
7722
+ o = !0;
7723
+ }), (0, d.loadDeckWebfontOutlines)({
7724
+ slides: (0, p.toValue)(e) ?? [],
7725
+ embeddedFonts: (0, p.toValue)(t) ?? [],
7726
+ googleFontsBase: (0, d.resolveGoogleFontsCss2Base)((0, p.toValue)(n)),
7727
+ cache: Lo,
7728
+ isCancelled: () => o
7729
+ }).then((e) => {
7730
+ e && !o && (Ro.value += 1);
7731
+ });
7732
+ });
7733
+ }
7734
+ function ii(e) {
7705
7735
  const { headerFooter: t } = e, n = (0, p.ref)(!1);
7706
7736
  return {
7707
7737
  showHeaderFooter: n,
@@ -7710,7 +7740,7 @@ function ai(e) {
7710
7740
  }
7711
7741
  };
7712
7742
  }
7713
- function ri(e) {
7743
+ function si(e) {
7714
7744
  const { canEdit: t, presenting: n, activeTool: l, activeSlide: o, selectedElementIds: a, ops: r } = e;
7715
7745
  return {
7716
7746
  drawingActive: (0, p.computed)(() => t() && !n.value && "select" !== l.value),
@@ -7731,7 +7761,7 @@ function ri(e) {
7731
7761
  }
7732
7762
  };
7733
7763
  }
7734
- function ii(e) {
7764
+ function ui(e) {
7735
7765
  const { canEdit: t, findActiveElement: n, ops: l } = e;
7736
7766
  function o(t, n) {
7737
7767
  const l = e.proofing?.();
@@ -7815,10 +7845,10 @@ function ii(e) {
7815
7845
  }
7816
7846
  };
7817
7847
  }
7818
- function si(e) {
7848
+ function ci(e) {
7819
7849
  return "undefined" != typeof crypto && "function" == typeof crypto.randomUUID ? `${e}-${crypto.randomUUID()}` : `${e}-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
7820
7850
  }
7821
- function ui(e) {
7851
+ function di(e) {
7822
7852
  const { ops: t, selectedElementIds: n, findActiveElement: l } = e, o = (0, p.ref)(!1), a = (0, p.ref)(!1), r = (0, p.ref)(null), i = (0, p.ref)(null);
7823
7853
  function s(e) {
7824
7854
  t.addElement(e), n.value = [e.id], o.value = !1, a.value = !1, r.value = null, i.value = null;
@@ -7833,13 +7863,13 @@ function ui(e) {
7833
7863
  onInsertElement: s,
7834
7864
  onInsertSmartArt: function(e, t) {
7835
7865
  s({
7836
- id: si("smartart"),
7866
+ id: ci("smartart"),
7837
7867
  type: "smartArt",
7838
7868
  x: 100,
7839
7869
  y: 120,
7840
7870
  width: 600,
7841
7871
  height: 340,
7842
- smartArtData: (0, d.buildSmartArtPresetData)(e, t, (e) => si(`node-${e}`))
7872
+ smartArtData: (0, d.buildSmartArtPresetData)(e, t, (e) => ci(`node-${e}`))
7843
7873
  });
7844
7874
  },
7845
7875
  openEquationEditorForElement: function(e) {
@@ -7855,7 +7885,7 @@ function ui(e) {
7855
7885
  closeEquationEditor: u
7856
7886
  };
7857
7887
  }
7858
- function ci(e) {
7888
+ function pi(e) {
7859
7889
  if (e <= 0 || "undefined" == typeof document) return;
7860
7890
  const t = document.activeElement;
7861
7891
  if (!function(e) {
@@ -7872,7 +7902,7 @@ function ci(e) {
7872
7902
  behavior: "smooth"
7873
7903
  });
7874
7904
  }
7875
- function di() {
7905
+ function mi() {
7876
7906
  const e = (0, p.ref)(0), t = (0, p.ref)(!1);
7877
7907
  return (0, p.onMounted)(() => {
7878
7908
  if ("undefined" == typeof window) return;
@@ -7880,11 +7910,11 @@ function di() {
7880
7910
  if (!n) return;
7881
7911
  const l = () => {
7882
7912
  const n = (0, d.readViewportMetrics)(window), l = n ? (0, d.computeKeyboardInset)(n) : 0;
7883
- e.value = l, t.value = (0, d.isKeyboardOpen)(l), l > 0 && window.requestAnimationFrame(() => ci(l));
7913
+ e.value = l, t.value = (0, d.isKeyboardOpen)(l), l > 0 && window.requestAnimationFrame(() => pi(l));
7884
7914
  }, o = () => {
7885
7915
  window.requestAnimationFrame(() => {
7886
7916
  const e = (0, d.readViewportMetrics)(window), t = e ? (0, d.computeKeyboardInset)(e) : 0;
7887
- t > 0 && ci(t);
7917
+ t > 0 && pi(t);
7888
7918
  });
7889
7919
  };
7890
7920
  l(), n.addEventListener("resize", l), n.addEventListener("scroll", l), document.addEventListener("focusin", o), (0, p.onScopeDispose)(() => {
@@ -7895,7 +7925,7 @@ function di() {
7895
7925
  isKeyboardOpen: (0, p.readonly)(t)
7896
7926
  };
7897
7927
  }
7898
- async function pi(e) {
7928
+ async function vi(e) {
7899
7929
  try {
7900
7930
  const t = await f.default.loadAsync(e), n = new v.XMLParser({
7901
7931
  ignoreAttributes: !1,
@@ -7915,126 +7945,142 @@ async function pi(e) {
7915
7945
  return [];
7916
7946
  }
7917
7947
  }
7918
- function mi(e, t) {
7948
+ function fi(e, t) {
7919
7949
  const n = (0, p.shallowRef)([]), l = (0, p.shallowRef)({}), o = (0, p.ref)({
7920
7950
  width: 1280,
7921
7951
  height: 720
7922
- }), a = (0, p.ref)(void 0), r = (0, p.shallowRef)(void 0), i = (0, p.shallowRef)(void 0), s = (0, p.shallowRef)([]), u = (0, p.shallowRef)([]), c = (0, p.shallowRef)(/* @__PURE__ */ new Map()), m = (0, p.ref)(!1), v = (0, p.ref)(null), f = (0, p.ref)(!1), h = (0, p.shallowRef)(null), y = (0, p.shallowRef)(void 0), g = (0, p.shallowRef)([]), x = (0, p.shallowRef)(void 0), S = (0, p.shallowRef)([]), b = (0, p.shallowRef)(void 0), w = (0, p.shallowRef)([]), E = (0, p.shallowRef)([]), B = (0, p.shallowRef)([]), C = (0, p.shallowRef)(void 0), I = (0, p.shallowRef)(void 0), P = (0, p.shallowRef)([]), T = (0, p.shallowRef)([]), D = (0, p.shallowRef)([]), z = (0, p.shallowRef)([]), A = (0, p.shallowRef)([]), O = (0, p.shallowRef)({}), M = (0, p.shallowRef)(void 0), F = (0, p.shallowRef)(void 0), L = (0, p.shallowRef)(void 0), R = (0, p.shallowRef)(void 0), V = (0, p.shallowRef)(void 0), N = (0, p.shallowRef)([]), _ = (0, p.ref)(void 0);
7923
- let j = 0, U = [];
7924
- const $ = (e) => {
7952
+ }), a = (0, p.ref)(void 0), r = (0, p.shallowRef)(void 0), i = (0, p.shallowRef)(void 0), s = (0, p.shallowRef)([]), u = (0, p.shallowRef)([]), c = (0, p.shallowRef)(/* @__PURE__ */ new Map()), m = (0, p.ref)(!1), v = (0, p.shallowRef)(null), f = (0, p.ref)(null), h = (0, p.ref)(!1), y = (0, p.shallowRef)(null), g = (0, p.shallowRef)(void 0), x = (0, p.shallowRef)([]), S = (0, p.shallowRef)(void 0), b = (0, p.shallowRef)([]), w = (0, p.shallowRef)(void 0), E = (0, p.shallowRef)([]), B = (0, p.shallowRef)([]), C = (0, p.shallowRef)([]), I = (0, p.shallowRef)(void 0), P = (0, p.shallowRef)(void 0), T = (0, p.shallowRef)([]), D = (0, p.shallowRef)([]), z = (0, p.shallowRef)([]), A = (0, p.shallowRef)([]), O = (0, p.shallowRef)([]), M = (0, p.shallowRef)({}), F = (0, p.shallowRef)(void 0), L = (0, p.shallowRef)(void 0), R = (0, p.shallowRef)(void 0), V = (0, p.shallowRef)(void 0), N = (0, p.shallowRef)(void 0), _ = (0, p.shallowRef)([]), j = (0, p.ref)(void 0);
7953
+ let U = 0, $ = [];
7954
+ const W = (e) => {
7925
7955
  for (const t of e) t.startsWith("blob:") && URL.revokeObjectURL(t);
7926
- }, W = async (e, r, i = null) => {
7927
- if (!h.value) throw new Error("No presentation is loaded.");
7956
+ }, H = async (e, r, i = null) => {
7957
+ if (!y.value) throw new Error("No presentation is loaded.");
7928
7958
  const u = t?.getPendingInlineEdit?.(), c = {
7929
7959
  slideMasters: s.value,
7930
- notesMaster: R.value,
7931
- handoutMaster: V.value
7960
+ notesMaster: V.value,
7961
+ handoutMaster: N.value
7932
7962
  }, p = u && "masterView" in u.target ? (0, d.overlayMasterViewInlineSnapshot)(c, u.target.masterView, u.snapshot, u.text) : null, m = (0, d.buildSaveSlides)([...(0, d.applyInlineTextDraft)(t?.getHeldDeck?.()?.slides ?? n.value, u ? null : i)], t?.getHeldDeck?.()?.templateElementsBySlideId ?? l.value).map((e) => u && "slideId" in u.target && e.id === u.target.slideId ? {
7933
7963
  ...e,
7934
7964
  elements: [...(0, d.overlayInlineTextSnapshot)(e.elements, u.snapshot, u.text)]
7935
7965
  } : e);
7936
- return (0, d.saveDeckWithPassword)(h.value, m, (0, d.buildDeckSaveOptions)({
7937
- coreProperties: y.value,
7938
- customProperties: g.value,
7939
- appProperties: b.value,
7940
- sections: T.value,
7941
- customShows: D.value,
7942
- presentationProperties: O.value,
7943
- headerFooter: F.value,
7966
+ return (0, d.saveDeckWithPassword)(y.value, m, (0, d.buildDeckSaveOptions)({
7967
+ coreProperties: g.value,
7968
+ customProperties: x.value,
7969
+ appProperties: w.value,
7970
+ sections: D.value,
7971
+ customShows: z.value,
7972
+ presentationProperties: M.value,
7973
+ headerFooter: L.value,
7944
7974
  slideSize: (0, d.resolveSlideSizeSelection)({
7945
7975
  current: a.value,
7946
7976
  canvas: o.value
7947
7977
  }).size,
7948
7978
  slideMasters: p?.slideMasters ?? s.value,
7949
- notesMaster: p?.notesMaster ?? R.value,
7950
- handoutMaster: p?.handoutMaster ?? V.value,
7951
- tagCollections: w.value,
7952
- viewProperties: M.value,
7953
- tableStyleMap: C.value,
7954
- tableStylesDefaultId: I.value,
7955
- tableStylesToDelete: P.value,
7979
+ notesMaster: p?.notesMaster ?? V.value,
7980
+ handoutMaster: p?.handoutMaster ?? N.value,
7981
+ tagCollections: E.value,
7982
+ viewProperties: F.value,
7983
+ tableStyleMap: I.value,
7984
+ tableStylesDefaultId: P.value,
7985
+ tableStylesToDelete: T.value,
7956
7986
  outputFormat: e,
7957
7987
  embedFonts: t?.getEmbedFonts?.() ?? !0
7958
7988
  }), {
7959
7989
  ...t?.getSaveIntent?.(),
7960
7990
  purpose: r
7961
7991
  });
7962
- }, H = (e) => W(e, "user-file");
7992
+ }, G = (e) => H(e, "user-file");
7963
7993
  return (0, p.watch)(() => (0, p.toValue)(e), (e) => {
7964
7994
  e && (async (e) => {
7965
- const p = ++j, W = new k.PptxHandler(), H = (0, d.createPresentationLoadResources)(W), G = H.blobUrls;
7995
+ const p = ++U, H = new k.PptxHandler(), G = (0, d.createPresentationLoadResources)(H), K = G.blobUrls;
7966
7996
  try {
7967
- m.value = !0, v.value = null, f.value = !1;
7968
- const k = e instanceof Uint8Array ? e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) : e, K = k.slice(0), q = k instanceof ArrayBuffer ? k.byteLength / 1048576 : 0;
7969
- q > 50 && console.warn(`[pptx] Large file detected (${q.toFixed(1)} MB). Loading may use significant memory.`);
7970
- const Y = h.value, X = await W.load(k, {
7997
+ m.value = !0, v.value = null, f.value = null, h.value = !1;
7998
+ const k = e instanceof Uint8Array ? e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) : e, q = k.slice(0), Y = k instanceof ArrayBuffer ? k.byteLength / 1048576 : 0;
7999
+ Y > 50 && console.warn(`[pptx] Large file detected (${Y.toFixed(1)} MB). Loading may use significant memory.`);
8000
+ const X = y.value;
8001
+ let Z;
8002
+ const J = (e, n) => {
8003
+ "undefined" != typeof document && p === U && (Z = (0, d.prepareDeckWebfonts)({
8004
+ document,
8005
+ linkId: ai,
8006
+ slides: (0, d.partitionTemplateElements)(e).slides,
8007
+ embeddedFonts: n,
8008
+ googleFontsBase: (0, d.resolveGoogleFontsCss2Base)(t?.getGoogleFonts?.()),
8009
+ onProgress: (e) => {
8010
+ p === U && (v.value = e);
8011
+ }
8012
+ }));
8013
+ }, Q = await H.load(k, {
7971
8014
  allowExternalImages: t?.getAllowExternalImages?.(),
7972
- limits: t?.getLimits?.()
8015
+ limits: t?.getLimits?.(),
8016
+ onSlidesParsed: (e) => J([...e.slides], [...e.embeddedFonts])
7973
8017
  });
7974
- if (p !== j) return;
7975
- const Z = [];
7976
- for (const e of X.slides) (0, d.collectMediaElements)(e.elements, Z);
7977
- const J = /* @__PURE__ */ new Map();
7978
- await Promise.all(Z.map(async (e) => {
7979
- const t = await (0, d.resolveMediaElementSource)(e, W);
7980
- !t.missing && t.mediaPath && t.url ? (J.set(t.mediaPath, t.url), t.isBlobUrl && G.push(t.url)) : e.mediaMissing = !0;
8018
+ if (p !== U) return;
8019
+ Z || J(Q.slides, Q.embeddedFonts ?? []);
8020
+ const ee = [];
8021
+ for (const e of Q.slides) (0, d.collectMediaElements)(e.elements, ee);
8022
+ const te = /* @__PURE__ */ new Map();
8023
+ await Promise.all(ee.map(async (e) => {
8024
+ const t = await (0, d.resolveMediaElementSource)(e, H);
8025
+ !t.missing && t.mediaPath && t.url ? (te.set(t.mediaPath, t.url), t.isBlobUrl && K.push(t.url)) : e.mediaMissing = !0;
7981
8026
  }));
7982
- const Q = (0, d.collectAnimationSoundPaths)(X.slides).filter((e) => !J.has(e));
7983
- await Promise.all(Q.map(async (e) => {
8027
+ const ne = (0, d.collectAnimationSoundPaths)(Q.slides).filter((e) => !te.has(e));
8028
+ await Promise.all(ne.map(async (e) => {
7984
8029
  try {
7985
- const t = await W.getMediaArrayBuffer(e);
8030
+ const t = await H.getMediaArrayBuffer(e);
7986
8031
  if (t) {
7987
8032
  const n = URL.createObjectURL(new Blob([t]));
7988
- G.push(n), J.set(e, n);
8033
+ K.push(n), te.set(e, n);
7989
8034
  }
7990
8035
  } catch {}
7991
8036
  }));
7992
- const { paths: ee, refs: te } = (0, d.collectImagePaths)(X.slides);
7993
- let ne = X.slides;
7994
- if (ee.size > 0) {
8037
+ const { paths: le, refs: oe } = (0, d.collectImagePaths)(Q.slides);
8038
+ let ae = Q.slides;
8039
+ if (le.size > 0) {
7995
8040
  const e = /* @__PURE__ */ new Map();
7996
- await Promise.all(Array.from(ee).map(async (t) => {
8041
+ await Promise.all(Array.from(le).map(async (t) => {
7997
8042
  try {
7998
- const n = await W.getImageData(t);
8043
+ const n = await H.getImageData(t);
7999
8044
  n && e.set(t, n);
8000
8045
  } catch {}
8001
- })), ne = X.slides.map((t) => {
8002
- const n = (0, d.applyImagePathPatches)(t.elements, e, te);
8046
+ })), ae = Q.slides.map((t) => {
8047
+ const n = (0, d.applyImagePathPatches)(t.elements, e, oe);
8003
8048
  return n === t.elements ? t : {
8004
8049
  ...t,
8005
8050
  elements: n
8006
8051
  };
8007
8052
  });
8008
8053
  }
8009
- ne = await (0, d.resolveTableCellImageUrls)(ne, (e) => W.getImageData(e));
8010
- const le = await (0, d.resolveTableStyleImageUrls)(X.tableStyleMap, (e) => W.getImageData(e));
8011
- ne = await (0, d.resolveTextFillBlipUrls)(ne, (e) => W.getImageData(e));
8012
- const oe = X.hasDigitalSignatures && K instanceof ArrayBuffer ? await pi(K) : [];
8013
- if (p !== j) return;
8014
- const ae = (0, d.partitionTemplateElements)(ne);
8015
- Y?.dispose(), $(Array.from(c.value.values())), $(U), U = G, H.commit(), h.value = W, n.value = ae.slides, l.value = ae.templateElementsBySlideId, c.value = J, o.value = {
8016
- width: X.width ?? 1280,
8017
- height: X.height ?? 720
8018
- }, a.value = "number" == typeof X.widthEmu && "number" == typeof X.heightEmu && X.widthEmu > 0 && X.heightEmu > 0 ? {
8019
- widthEmu: X.widthEmu,
8020
- heightEmu: X.heightEmu,
8021
- type: X.slideSizeType ?? ""
8022
- } : void 0, r.value = X.theme, i.value = X.themeColorMap, s.value = X.slideMasters ?? [], u.value = X.layoutOptions ?? [], y.value = X.coreProperties, g.value = X.customProperties ?? [], x.value = X.modifyVerifier, S.value = W.getCompatibilityWarnings(), b.value = X.appProperties, w.value = X.tags ?? [], E.value = X.embeddedFonts ?? [], C.value = le, I.value = X.tableStylesDefaultId, P.value = [], T.value = X.sections ?? [], D.value = X.customShows ?? [], z.value = X.modernCommentAuthors ?? [], A.value = X.commentAuthors ?? [], O.value = X.presentationProperties ?? {}, M.value = X.viewProperties, F.value = X.headerFooter, L.value = X.firstSlideNumber, R.value = X.notesMaster, V.value = X.handoutMaster, N.value = X.themeOptions ?? [], _.value = "number" == typeof X.notesWidthEmu && "number" == typeof X.notesHeightEmu && X.notesWidthEmu > 0 && X.notesHeightEmu > 0 ? {
8023
- width: Math.round(X.notesWidthEmu / 9525),
8024
- height: Math.round(X.notesHeightEmu / 9525)
8025
- } : void 0, B.value = oe, t?.onContentApplied?.();
8054
+ ae = await (0, d.resolveTableCellImageUrls)(ae, (e) => H.getImageData(e));
8055
+ const re = await (0, d.resolveTableStyleImageUrls)(Q.tableStyleMap, (e) => H.getImageData(e));
8056
+ ae = await (0, d.resolveTextFillBlipUrls)(ae, (e) => H.getImageData(e));
8057
+ const ie = Q.hasDigitalSignatures && q instanceof ArrayBuffer ? await vi(q) : [];
8058
+ if (p !== U) return;
8059
+ const se = (0, d.partitionTemplateElements)(ae);
8060
+ if (Z && (await Z, p !== U)) return;
8061
+ X?.dispose(), W(Array.from(c.value.values())), W($), $ = K, G.commit(), y.value = H, n.value = se.slides, l.value = se.templateElementsBySlideId, c.value = te, o.value = {
8062
+ width: Q.width ?? 1280,
8063
+ height: Q.height ?? 720
8064
+ }, a.value = "number" == typeof Q.widthEmu && "number" == typeof Q.heightEmu && Q.widthEmu > 0 && Q.heightEmu > 0 ? {
8065
+ widthEmu: Q.widthEmu,
8066
+ heightEmu: Q.heightEmu,
8067
+ type: Q.slideSizeType ?? ""
8068
+ } : void 0, r.value = Q.theme, i.value = Q.themeColorMap, s.value = Q.slideMasters ?? [], u.value = Q.layoutOptions ?? [], g.value = Q.coreProperties, x.value = Q.customProperties ?? [], S.value = Q.modifyVerifier, b.value = H.getCompatibilityWarnings(), w.value = Q.appProperties, E.value = Q.tags ?? [], B.value = Q.embeddedFonts ?? [], I.value = re, P.value = Q.tableStylesDefaultId, T.value = [], D.value = Q.sections ?? [], z.value = Q.customShows ?? [], A.value = Q.modernCommentAuthors ?? [], O.value = Q.commentAuthors ?? [], M.value = Q.presentationProperties ?? {}, F.value = Q.viewProperties, L.value = Q.headerFooter, R.value = Q.firstSlideNumber, V.value = Q.notesMaster, N.value = Q.handoutMaster, _.value = Q.themeOptions ?? [], j.value = "number" == typeof Q.notesWidthEmu && "number" == typeof Q.notesHeightEmu && Q.notesWidthEmu > 0 && Q.notesHeightEmu > 0 ? {
8069
+ width: Math.round(Q.notesWidthEmu / 9525),
8070
+ height: Math.round(Q.notesHeightEmu / 9525)
8071
+ } : void 0, C.value = ie, t?.onContentApplied?.();
8026
8072
  } catch (e) {
8027
- if (p === j) if (e instanceof k.EncryptedFileError) f.value = !0;
8073
+ if (p === U) if (e instanceof k.EncryptedFileError) h.value = !0;
8028
8074
  else {
8029
8075
  const n = t?.translate;
8030
- v.value = n ? (0, d.pptxLoadErrorMessage)(e, n) : e instanceof Error ? e.message : String(e);
8076
+ f.value = n ? (0, d.pptxLoadErrorMessage)(e, n) : e instanceof Error ? e.message : String(e);
8031
8077
  }
8032
8078
  } finally {
8033
- H.releaseIfUncommitted(), p === j && (m.value = !1);
8079
+ G.releaseIfUncommitted(), p === U && (v.value = null, m.value = !1);
8034
8080
  }
8035
8081
  })(e);
8036
8082
  }, { immediate: !0 }), (0, p.onScopeDispose)(() => {
8037
- j++, $(U), $(Array.from(c.value.values())), h.value && (h.value.dispose(), h.value = null);
8083
+ U++, W($), W(Array.from(c.value.values())), y.value && (y.value.dispose(), y.value = null);
8038
8084
  }), {
8039
8085
  slides: n,
8040
8086
  templateElementsBySlideId: l,
@@ -8046,38 +8092,39 @@ function mi(e, t) {
8046
8092
  slideMasters: s,
8047
8093
  mediaDataUrls: c,
8048
8094
  loading: m,
8049
- error: v,
8050
- isEncrypted: f,
8051
- handler: h,
8052
- coreProperties: y,
8053
- customProperties: g,
8054
- modifyVerifier: x,
8055
- compatibilityWarnings: S,
8056
- appProperties: b,
8057
- tagCollections: w,
8058
- embeddedFonts: E,
8059
- signatures: B,
8060
- tableStyleMap: C,
8061
- tableStylesDefaultId: I,
8062
- tableStylesToDelete: P,
8063
- sections: T,
8064
- customShows: D,
8065
- modernCommentAuthors: z,
8066
- commentAuthors: A,
8067
- presentationProperties: O,
8068
- viewProperties: M,
8069
- headerFooter: F,
8070
- firstSlideNumber: L,
8071
- notesMaster: R,
8072
- handoutMaster: V,
8073
- themeOptions: N,
8074
- notesCanvasSize: _,
8075
- saveAs: H,
8076
- getContent: () => H("pptx"),
8077
- getRecoverySnapshot: (e) => W("pptx", "recovery-snapshot", e ?? null)
8095
+ fontProgress: v,
8096
+ error: f,
8097
+ isEncrypted: h,
8098
+ handler: y,
8099
+ coreProperties: g,
8100
+ customProperties: x,
8101
+ modifyVerifier: S,
8102
+ compatibilityWarnings: b,
8103
+ appProperties: w,
8104
+ tagCollections: E,
8105
+ embeddedFonts: B,
8106
+ signatures: C,
8107
+ tableStyleMap: I,
8108
+ tableStylesDefaultId: P,
8109
+ tableStylesToDelete: T,
8110
+ sections: D,
8111
+ customShows: z,
8112
+ modernCommentAuthors: A,
8113
+ commentAuthors: O,
8114
+ presentationProperties: M,
8115
+ viewProperties: F,
8116
+ headerFooter: L,
8117
+ firstSlideNumber: R,
8118
+ notesMaster: V,
8119
+ handoutMaster: N,
8120
+ themeOptions: _,
8121
+ notesCanvasSize: j,
8122
+ saveAs: G,
8123
+ getContent: () => G("pptx"),
8124
+ getRecoverySnapshot: (e) => H("pptx", "recovery-snapshot", e ?? null)
8078
8125
  };
8079
8126
  }
8080
- function vi() {
8127
+ function hi() {
8081
8128
  const e = (0, p.ref)(!1), t = (0, p.ref)("slides"), n = (0, p.ref)(0), l = (0, p.ref)(null);
8082
8129
  return {
8083
8130
  showMasterView: e,
@@ -8093,14 +8140,14 @@ function vi() {
8093
8140
  }
8094
8141
  };
8095
8142
  }
8096
- var fi = {
8143
+ var yi = {
8097
8144
  slides: "slides",
8098
8145
  insert: "insert",
8099
8146
  format: "inspector",
8100
8147
  comments: "comments",
8101
8148
  notes: "notes"
8102
8149
  };
8103
- function hi(e) {
8150
+ function gi(e) {
8104
8151
  const { presenting: t } = e, n = (0, p.ref)(!1), l = (0, p.ref)(!1), o = (0, p.ref)(!1), a = (0, p.ref)(!1), r = (0, p.ref)(!1);
8105
8152
  function i(e) {
8106
8153
  n.value = "slides" === e, l.value = "insert" === e, o.value = "format" === e, a.value = "comments" === e, r.value = "notes" === e;
@@ -8114,8 +8161,8 @@ function hi(e) {
8114
8161
  mobileNotesOpen: r,
8115
8162
  openMobileSheet: i,
8116
8163
  toggleMobileSheet: function(e) {
8117
- const t = s.value ? fi[s.value] : null;
8118
- null === (0, d.toggleSheet)(t, fi[e]) ? (n.value = !1, l.value = !1, o.value = !1, a.value = !1, r.value = !1) : i(e);
8164
+ const t = s.value ? yi[s.value] : null;
8165
+ null === (0, d.toggleSheet)(t, yi[e]) ? (n.value = !1, l.value = !1, o.value = !1, a.value = !1, r.value = !1) : i(e);
8119
8166
  },
8120
8167
  activeSheet: s,
8121
8168
  present: function() {
@@ -8123,7 +8170,7 @@ function hi(e) {
8123
8170
  }
8124
8171
  };
8125
8172
  }
8126
- function yi(e) {
8173
+ function ki(e) {
8127
8174
  const { selectedElementIds: t, ops: n, clearSelection: l } = e;
8128
8175
  return {
8129
8176
  deleteSelected: function() {
@@ -8146,7 +8193,7 @@ function yi(e) {
8146
8193
  }
8147
8194
  };
8148
8195
  }
8149
- function gi() {
8196
+ function xi() {
8150
8197
  const e = (0, p.ref)(!1), t = (0, p.ref)(!1), n = (0, p.ref)(null);
8151
8198
  return {
8152
8199
  showPasswordDialog: e,
@@ -8160,7 +8207,7 @@ function gi() {
8160
8207
  }
8161
8208
  };
8162
8209
  }
8163
- function ki(e) {
8210
+ function Si(e) {
8164
8211
  const { slides: t, activeSlideIndex: n, pushHistory: l } = e, o = (0, p.ref)("undefined" != typeof window && (0, d.isPresentationAudience)(window.location.hash));
8165
8212
  return {
8166
8213
  presenting: o,
@@ -8193,22 +8240,22 @@ function ki(e) {
8193
8240
  }
8194
8241
  };
8195
8242
  }
8196
- function xi(e, t, n, l = {}) {
8243
+ function bi(e, t, n, l = {}) {
8197
8244
  return k.SvgExporter.exportSlide(e, t, n, l);
8198
8245
  }
8199
- function Si(e, t, n, l = {}) {
8200
- return new Blob([xi(e, t, n, l)], { type: "image/svg+xml;charset=utf-8" });
8246
+ function wi(e, t, n, l = {}) {
8247
+ return new Blob([bi(e, t, n, l)], { type: "image/svg+xml;charset=utf-8" });
8201
8248
  }
8202
- function bi(e, t = {}) {
8249
+ function Ei(e, t = {}) {
8203
8250
  return k.SvgExporter.exportAll(e, t);
8204
8251
  }
8205
- function wi(e, t = {}) {
8206
- return bi(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
8252
+ function Bi(e, t = {}) {
8253
+ return Ei(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
8207
8254
  }
8208
- function Ei(e) {
8255
+ function Ci(e) {
8209
8256
  return (0, d.openPrintWindow)(e);
8210
8257
  }
8211
- function Bi(e) {
8258
+ function Ii(e) {
8212
8259
  const { slides: t, activeSlideIndex: n, rasterizeSlide: l } = e, o = e.openPrintWindow, a = e.slideSize ?? (0, p.ref)({
8213
8260
  width: 960,
8214
8261
  height: 540
@@ -8230,10 +8277,10 @@ function Bi(e) {
8230
8277
  includeHiddenSlides: m.advanced.printHiddenSlides
8231
8278
  });
8232
8279
  if (!v.ok) return;
8233
- const f = o ?? Ei;
8280
+ const f = o ?? Ci;
8234
8281
  if ("outline" !== v.output) {
8235
8282
  if ("vector" === v.output) try {
8236
- const e = a.value, t = v.slideIndices.map((t) => xi(p[t], e.width, e.height));
8283
+ const e = a.value, t = v.slideIndices.map((t) => bi(p[t], e.width, e.height));
8237
8284
  f((0, d.buildVectorPrintJobDocument)(v, u(v), t, e));
8238
8285
  return;
8239
8286
  } catch (e) {
@@ -8261,7 +8308,7 @@ function Bi(e) {
8261
8308
  }
8262
8309
  };
8263
8310
  }
8264
- var Ci = {
8311
+ var Pi = {
8265
8312
  left: "left",
8266
8313
  center: "centerH",
8267
8314
  right: "right",
@@ -8269,10 +8316,10 @@ var Ci = {
8269
8316
  middle: "middle",
8270
8317
  bottom: "bottom"
8271
8318
  };
8272
- function Ii(e) {
8319
+ function Ti(e) {
8273
8320
  return "ellipse" === e || "roundRect" === e || "triangle" === e ? e : "rect";
8274
8321
  }
8275
- function Pi(e) {
8322
+ function Di(e) {
8276
8323
  const { canEdit: t, presenting: n, showMasterView: l, tableSelection: o, selectedElements: a, selectedElementIds: r, activeSlide: i, activeSlideIndex: s, slides: u, pushHistory: c, ops: m } = e;
8277
8324
  return {
8278
8325
  ribbonMode: (0, p.computed)(() => n.value ? "present" : l.value ? "master" : t() ? "edit" : "preview"),
@@ -8382,7 +8429,7 @@ function Pi(e) {
8382
8429
  }
8383
8430
  };
8384
8431
  }
8385
- function Ti(e) {
8432
+ function zi(e) {
8386
8433
  return {
8387
8434
  toolbarSection: (0, p.ref)("home"),
8388
8435
  newShapeType: (0, p.ref)("rect"),
@@ -8403,7 +8450,7 @@ function Ti(e) {
8403
8450
  eyedropperActive: (0, p.ref)(!1)
8404
8451
  };
8405
8452
  }
8406
- function Di(e) {
8453
+ function Ai(e) {
8407
8454
  const { sections: t, slides: n, activeSlideIndex: l, pushHistory: o } = e;
8408
8455
  return {
8409
8456
  addSection: (e, l) => {
@@ -8445,7 +8492,7 @@ function Di(e) {
8445
8492
  slidesBySection: (0, p.computed)(() => (0, d.groupSlidesBySection)(t.value, n.value))
8446
8493
  };
8447
8494
  }
8448
- function zi(e) {
8495
+ function Oi(e) {
8449
8496
  const { findActiveElement: t, activeSlide: n, selectedElementIds: l, ops: o } = e;
8450
8497
  return {
8451
8498
  showSelectionPane: (0, p.ref)(!1),
@@ -8465,7 +8512,7 @@ function zi(e) {
8465
8512
  }
8466
8513
  };
8467
8514
  }
8468
- function Ai(e) {
8515
+ function Mi(e) {
8469
8516
  const { signatures: t, isDirty: n } = e, l = (0, p.ref)(!1), o = cr(t), a = (0, p.computed)(() => t.value.length > 0), r = (0, p.ref)(!1), i = (0, p.ref)(!1);
8470
8517
  return (0, p.watch)(() => n.value, (e) => {
8471
8518
  e && a.value && !i.value && (r.value = !0);
@@ -8479,7 +8526,7 @@ function Ai(e) {
8479
8526
  }
8480
8527
  };
8481
8528
  }
8482
- function Oi(e) {
8529
+ function Fi(e) {
8483
8530
  const { slides: t, activeSlideIndex: n, activeSlide: l, pushHistory: o, selectedElements: a } = e;
8484
8531
  function r(e) {
8485
8532
  const l = n.value, a = t.value[l];
@@ -8559,7 +8606,7 @@ function Oi(e) {
8559
8606
  }
8560
8607
  };
8561
8608
  }
8562
- function Mi(e) {
8609
+ function Li(e) {
8563
8610
  const { slides: t, activeSlideIndex: n, pushHistory: l } = e;
8564
8611
  return {
8565
8612
  addSlide: (e = n.value) => {
@@ -8594,7 +8641,7 @@ function Mi(e) {
8594
8641
  }
8595
8642
  };
8596
8643
  }
8597
- function Fi(e) {
8644
+ function Ri(e) {
8598
8645
  const { presentationProperties: t } = e, n = (0, p.ref)(!1), l = (0, p.ref)(!1);
8599
8646
  return (0, p.watch)(() => t.value.showSubtitles, (e) => {
8600
8647
  l.value = Boolean(e);
@@ -8618,7 +8665,7 @@ function Fi(e) {
8618
8665
  }
8619
8666
  };
8620
8667
  }
8621
- function Li(e) {
8668
+ function Vi(e) {
8622
8669
  const { canvasSize: t, slides: n, activeSlideIndex: l, pushHistory: o, theme: a } = e;
8623
8670
  return { insertSlideFromTemplate: function(e) {
8624
8671
  const r = Math.max(0, Math.min(l.value + 1, n.value.length));
@@ -8631,7 +8678,7 @@ function Li(e) {
8631
8678
  s.splice(r, 0, i), n.value = s, l.value = r;
8632
8679
  } };
8633
8680
  }
8634
- function Ri(e) {
8681
+ function Ni(e) {
8635
8682
  const { canEdit: t, findActiveElement: n, updateElement: l, canEditInline: o } = e;
8636
8683
  function a(e, t) {
8637
8684
  return (0, d.rebuildDrawingShapesIfCleared)(t, t.layout, (0, d.resolvePalette)(t), t.style ?? "flat", e.id, {
@@ -8658,7 +8705,7 @@ function Ri(e) {
8658
8705
  }
8659
8706
  });
8660
8707
  }
8661
- function Vi(e) {
8708
+ function _i(e) {
8662
8709
  const { canEdit: t, canEditInline: n, findActiveElement: l, updateElement: o, commitTableCell: a } = e;
8663
8710
  (0, p.provide)(mo, {
8664
8711
  canEdit: n,
@@ -8691,7 +8738,7 @@ function Vi(e) {
8691
8738
  }
8692
8739
  }), { tableSelection: r };
8693
8740
  }
8694
- function Ni(e) {
8741
+ function ji(e) {
8695
8742
  const t = (0, p.ref)(!1), { slides: n, pptxTheme: l, themeColorMap: o, pushHistory: a, themeGalleryOpen: r, themeEditorOpen: i, templateElementsBySlideId: s } = e;
8696
8743
  function u(e, t, r) {
8697
8744
  a();
@@ -8734,21 +8781,21 @@ function Ni(e) {
8734
8781
  themeEditorBusy: t
8735
8782
  };
8736
8783
  }
8737
- var _i = 0;
8738
- function ji(e) {
8739
- return `ver-${e}-${_i += 1}-${Math.random().toString(36).slice(2, 6)}`;
8784
+ var Ui = 0;
8785
+ function $i(e) {
8786
+ return `ver-${e}-${Ui += 1}-${Math.random().toString(36).slice(2, 6)}`;
8740
8787
  }
8741
- function Ui(e) {
8788
+ function Wi(e) {
8742
8789
  return e.map(k.cloneSlide);
8743
8790
  }
8744
- function $i(e) {
8791
+ function Hi(e) {
8745
8792
  const { slides: t, pushHistory: n } = e, l = Math.max(1, e.maxVersions ?? 50), o = (0, p.shallowRef)([]);
8746
8793
  return {
8747
8794
  versions: o,
8748
8795
  hasVersions: (0, p.computed)(() => o.value.length > 0),
8749
8796
  capture: (e, n) => {
8750
- const a = Ui(t.value), r = {
8751
- id: ji(n),
8797
+ const a = Wi(t.value), r = {
8798
+ id: $i(n),
8752
8799
  label: e,
8753
8800
  timestamp: n,
8754
8801
  slideCount: a.length,
@@ -8759,7 +8806,7 @@ function $i(e) {
8759
8806
  },
8760
8807
  restore: (e) => {
8761
8808
  const l = o.value.find((t) => t.id === e);
8762
- return !!l && (n(), t.value = Ui(l.slides), !0);
8809
+ return !!l && (n(), t.value = Wi(l.slides), !0);
8763
8810
  },
8764
8811
  remove: (e) => {
8765
8812
  const t = o.value.filter((t) => t.id !== e);
@@ -8770,8 +8817,8 @@ function $i(e) {
8770
8817
  }
8771
8818
  };
8772
8819
  }
8773
- function Wi(e) {
8774
- const { slides: t, pushHistory: n } = e, l = $i({
8820
+ function Gi(e) {
8821
+ const { slides: t, pushHistory: n } = e, l = Hi({
8775
8822
  slides: t,
8776
8823
  pushHistory: n
8777
8824
  }), o = (0, p.ref)(!1), a = (0, p.ref)(null), r = (0, p.ref)(null), i = (0, p.ref)(null), s = (0, p.computed)(() => null !== a.value);
@@ -8803,7 +8850,7 @@ function Wi(e) {
8803
8850
  }
8804
8851
  };
8805
8852
  }
8806
- function Hi(e) {
8853
+ function Ki(e) {
8807
8854
  return {
8808
8855
  onSetMode: (t) => {
8809
8856
  "present" === t ? e.startPresenting() : e.presenting.value = !1;
@@ -8838,7 +8885,7 @@ function Hi(e) {
8838
8885
  e.newShapeType.value = t;
8839
8886
  },
8840
8887
  onAddTextBox: e.addText,
8841
- onAddShape: () => e.addShape(Ii(e.newShapeType.value)),
8888
+ onAddShape: () => e.addShape(Ti(e.newShapeType.value)),
8842
8889
  onAddTable: e.addTable,
8843
8890
  onAddChart: e.addChart,
8844
8891
  onAddSmartArt: () => {
@@ -8886,7 +8933,7 @@ function Hi(e) {
8886
8933
  },
8887
8934
  onAddGuide: e.addGuide,
8888
8935
  onAlignElements: (t) => {
8889
- const n = Ci[t];
8936
+ const n = Pi[t];
8890
8937
  n && e.onAlign(n);
8891
8938
  },
8892
8939
  onDistributeElements: (t) => {
@@ -9048,7 +9095,7 @@ function Hi(e) {
9048
9095
  onPresentationPropertiesChange: e.onPresentationPropertiesUpdate
9049
9096
  };
9050
9097
  }
9051
- function Gi(e) {
9098
+ function qi(e) {
9052
9099
  return {
9053
9100
  mode: e.ribbonMode.value,
9054
9101
  canEdit: e.canEdit(),
@@ -9110,13 +9157,13 @@ function Gi(e) {
9110
9157
  collaboratorCount: e.collab.connectedCount.value
9111
9158
  };
9112
9159
  }
9113
- function Ki(e) {
9160
+ function Yi(e) {
9114
9161
  return (0, p.computed)(() => ({
9115
- ...Gi(e),
9116
- ...Hi(e)
9162
+ ...qi(e),
9163
+ ...Ki(e)
9117
9164
  }));
9118
9165
  }
9119
- function qi(e) {
9166
+ function Xi(e) {
9120
9167
  const t = (0, p.ref)(!1), n = (0, p.ref)({
9121
9168
  ...d.DEFAULT_VIEWER_SETTINGS,
9122
9169
  autoSave: e.autoSave.value,
@@ -9214,12 +9261,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9214
9261
  }), Object.defineProperty(exports, "DEFAULT_STROKE_COLOR", {
9215
9262
  enumerable: !0,
9216
9263
  get: function() {
9217
- return P;
9264
+ return E;
9218
9265
  }
9219
9266
  }), Object.defineProperty(exports, "DEFAULT_TEXT_COLOR", {
9220
9267
  enumerable: !0,
9221
9268
  get: function() {
9222
- return I;
9269
+ return w;
9223
9270
  }
9224
9271
  }), Object.defineProperty(exports, "ERASER_RADIUS", {
9225
9272
  enumerable: !0,
@@ -9239,7 +9286,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9239
9286
  }), Object.defineProperty(exports, "FieldContextKey", {
9240
9287
  enumerable: !0,
9241
9288
  get: function() {
9242
- return w;
9289
+ return T;
9243
9290
  }
9244
9291
  }), Object.defineProperty(exports, "FragmentedTransitionLayer_default", {
9245
9292
  enumerable: !0,
@@ -9289,7 +9336,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9289
9336
  }), Object.defineProperty(exports, "RIBBON_ALIGN", {
9290
9337
  enumerable: !0,
9291
9338
  get: function() {
9292
- return Ci;
9339
+ return Pi;
9293
9340
  }
9294
9341
  }), Object.defineProperty(exports, "Rendering3DFlagsKey", {
9295
9342
  enumerable: !0,
@@ -9424,22 +9471,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9424
9471
  }), Object.defineProperty(exports, "exportAllSlidesToSvg", {
9425
9472
  enumerable: !0,
9426
9473
  get: function() {
9427
- return bi;
9474
+ return Ei;
9428
9475
  }
9429
9476
  }), Object.defineProperty(exports, "exportAllSlidesToSvgBlobs", {
9430
9477
  enumerable: !0,
9431
9478
  get: function() {
9432
- return wi;
9479
+ return Bi;
9433
9480
  }
9434
9481
  }), Object.defineProperty(exports, "exportSlideToSvg", {
9435
9482
  enumerable: !0,
9436
9483
  get: function() {
9437
- return xi;
9484
+ return bi;
9438
9485
  }
9439
9486
  }), Object.defineProperty(exports, "exportSlideToSvgBlob", {
9440
9487
  enumerable: !0,
9441
9488
  get: function() {
9442
- return Si;
9489
+ return wi;
9443
9490
  }
9444
9491
  }), Object.defineProperty(exports, "formatRehearseMs", {
9445
9492
  enumerable: !0,
@@ -9449,32 +9496,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9449
9496
  }), Object.defineProperty(exports, "getContainerStyle", {
9450
9497
  enumerable: !0,
9451
9498
  get: function() {
9452
- return T;
9499
+ return B;
9453
9500
  }
9454
9501
  }), Object.defineProperty(exports, "getImageSrc", {
9455
9502
  enumerable: !0,
9456
9503
  get: function() {
9457
- return A;
9504
+ return P;
9458
9505
  }
9459
9506
  }), Object.defineProperty(exports, "getShapeFillStrokeStyle", {
9460
9507
  enumerable: !0,
9461
9508
  get: function() {
9462
- return D;
9509
+ return C;
9463
9510
  }
9464
9511
  }), Object.defineProperty(exports, "getTextBlockStyle", {
9465
9512
  enumerable: !0,
9466
9513
  get: function() {
9467
- return z;
9468
- }
9469
- }), Object.defineProperty(exports, "glyphOutlineFontCache", {
9470
- enumerable: !0,
9471
- get: function() {
9472
- return Lo;
9473
- }
9474
- }), Object.defineProperty(exports, "glyphOutlineFontsTick", {
9475
- enumerable: !0,
9476
- get: function() {
9477
- return Ro;
9514
+ return I;
9478
9515
  }
9479
9516
  }), Object.defineProperty(exports, "injectChartCanvasEdit", {
9480
9517
  enumerable: !0,
@@ -9504,7 +9541,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9504
9541
  }), Object.defineProperty(exports, "parseSignaturesFromBuffer", {
9505
9542
  enumerable: !0,
9506
9543
  get: function() {
9507
- return pi;
9544
+ return vi;
9508
9545
  }
9509
9546
  }), Object.defineProperty(exports, "playAnimationSound", {
9510
9547
  enumerable: !0,
@@ -9564,7 +9601,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9564
9601
  }), Object.defineProperty(exports, "toShapePreset", {
9565
9602
  enumerable: !0,
9566
9603
  get: function() {
9567
- return Ii;
9604
+ return Ti;
9568
9605
  }
9569
9606
  }), Object.defineProperty(exports, "toZoomTargetInfo", {
9570
9607
  enumerable: !0,
@@ -9721,20 +9758,25 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9721
9758
  get: function() {
9722
9759
  return oi;
9723
9760
  }
9761
+ }), Object.defineProperty(exports, "useGoogleWebfonts", {
9762
+ enumerable: !0,
9763
+ get: function() {
9764
+ return ri;
9765
+ }
9724
9766
  }), Object.defineProperty(exports, "useHeaderFooterDialog", {
9725
9767
  enumerable: !0,
9726
9768
  get: function() {
9727
- return ai;
9769
+ return ii;
9728
9770
  }
9729
9771
  }), Object.defineProperty(exports, "useInkDrawing", {
9730
9772
  enumerable: !0,
9731
9773
  get: function() {
9732
- return ri;
9774
+ return si;
9733
9775
  }
9734
9776
  }), Object.defineProperty(exports, "useInlineEditing", {
9735
9777
  enumerable: !0,
9736
9778
  get: function() {
9737
- return ii;
9779
+ return ui;
9738
9780
  }
9739
9781
  }), Object.defineProperty(exports, "useInlineListSession", {
9740
9782
  enumerable: !0,
@@ -9744,7 +9786,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9744
9786
  }), Object.defineProperty(exports, "useInsertElementDialogs", {
9745
9787
  enumerable: !0,
9746
9788
  get: function() {
9747
- return ui;
9789
+ return di;
9748
9790
  }
9749
9791
  }), Object.defineProperty(exports, "useIsMobile", {
9750
9792
  enumerable: !0,
@@ -9754,7 +9796,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9754
9796
  }), Object.defineProperty(exports, "useKeyboardInsets", {
9755
9797
  enumerable: !0,
9756
9798
  get: function() {
9757
- return di;
9799
+ return mi;
9758
9800
  }
9759
9801
  }), Object.defineProperty(exports, "useKeyboardShortcuts", {
9760
9802
  enumerable: !0,
@@ -9764,12 +9806,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9764
9806
  }), Object.defineProperty(exports, "useLoadContent", {
9765
9807
  enumerable: !0,
9766
9808
  get: function() {
9767
- return mi;
9809
+ return fi;
9768
9810
  }
9769
9811
  }), Object.defineProperty(exports, "useMasterViewState", {
9770
9812
  enumerable: !0,
9771
9813
  get: function() {
9772
- return vi;
9814
+ return hi;
9773
9815
  }
9774
9816
  }), Object.defineProperty(exports, "useMediaExport", {
9775
9817
  enumerable: !0,
@@ -9779,7 +9821,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9779
9821
  }), Object.defineProperty(exports, "useMobileChrome", {
9780
9822
  enumerable: !0,
9781
9823
  get: function() {
9782
- return hi;
9824
+ return gi;
9783
9825
  }
9784
9826
  }), Object.defineProperty(exports, "useModel3dScene", {
9785
9827
  enumerable: !0,
@@ -9794,12 +9836,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9794
9836
  }), Object.defineProperty(exports, "useMultiSelectOps", {
9795
9837
  enumerable: !0,
9796
9838
  get: function() {
9797
- return yi;
9839
+ return ki;
9798
9840
  }
9799
9841
  }), Object.defineProperty(exports, "usePasswordProtection", {
9800
9842
  enumerable: !0,
9801
9843
  get: function() {
9802
- return gi;
9844
+ return xi;
9803
9845
  }
9804
9846
  }), Object.defineProperty(exports, "usePresentationAnnotations", {
9805
9847
  enumerable: !0,
@@ -9809,12 +9851,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9809
9851
  }), Object.defineProperty(exports, "usePresentationModeWiring", {
9810
9852
  enumerable: !0,
9811
9853
  get: function() {
9812
- return ki;
9854
+ return Si;
9813
9855
  }
9814
9856
  }), Object.defineProperty(exports, "usePrint", {
9815
9857
  enumerable: !0,
9816
9858
  get: function() {
9817
- return Bi;
9859
+ return Ii;
9818
9860
  }
9819
9861
  }), Object.defineProperty(exports, "useRehearseTimings", {
9820
9862
  enumerable: !0,
@@ -9829,22 +9871,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9829
9871
  }), Object.defineProperty(exports, "useRibbonActions", {
9830
9872
  enumerable: !0,
9831
9873
  get: function() {
9832
- return Pi;
9874
+ return Di;
9833
9875
  }
9834
9876
  }), Object.defineProperty(exports, "useRibbonProps", {
9835
9877
  enumerable: !0,
9836
9878
  get: function() {
9837
- return Ki;
9879
+ return Yi;
9838
9880
  }
9839
9881
  }), Object.defineProperty(exports, "useRibbonUiState", {
9840
9882
  enumerable: !0,
9841
9883
  get: function() {
9842
- return Ti;
9884
+ return zi;
9843
9885
  }
9844
9886
  }), Object.defineProperty(exports, "useSectionOperations", {
9845
9887
  enumerable: !0,
9846
9888
  get: function() {
9847
- return Di;
9889
+ return Ai;
9848
9890
  }
9849
9891
  }), Object.defineProperty(exports, "useSelectionAffordances", {
9850
9892
  enumerable: !0,
@@ -9854,7 +9896,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9854
9896
  }), Object.defineProperty(exports, "useSelectionPaneWiring", {
9855
9897
  enumerable: !0,
9856
9898
  get: function() {
9857
- return zi;
9899
+ return Oi;
9858
9900
  }
9859
9901
  }), Object.defineProperty(exports, "useSheetDismissDrag", {
9860
9902
  enumerable: !0,
@@ -9864,7 +9906,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9864
9906
  }), Object.defineProperty(exports, "useSignatureWorkflow", {
9865
9907
  enumerable: !0,
9866
9908
  get: function() {
9867
- return Ai;
9909
+ return Mi;
9868
9910
  }
9869
9911
  }), Object.defineProperty(exports, "useSignatures", {
9870
9912
  enumerable: !0,
@@ -9874,22 +9916,22 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9874
9916
  }), Object.defineProperty(exports, "useSlideMutations", {
9875
9917
  enumerable: !0,
9876
9918
  get: function() {
9877
- return Oi;
9919
+ return Fi;
9878
9920
  }
9879
9921
  }), Object.defineProperty(exports, "useSlideOperations", {
9880
9922
  enumerable: !0,
9881
9923
  get: function() {
9882
- return Mi;
9924
+ return Li;
9883
9925
  }
9884
9926
  }), Object.defineProperty(exports, "useSlideShowSettings", {
9885
9927
  enumerable: !0,
9886
9928
  get: function() {
9887
- return Fi;
9929
+ return Ri;
9888
9930
  }
9889
9931
  }), Object.defineProperty(exports, "useSlideTemplateInsertion", {
9890
9932
  enumerable: !0,
9891
9933
  get: function() {
9892
- return Li;
9934
+ return Vi;
9893
9935
  }
9894
9936
  }), Object.defineProperty(exports, "useSmartArtEditing", {
9895
9937
  enumerable: !0,
@@ -9909,12 +9951,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9909
9951
  }), Object.defineProperty(exports, "useSmartArtNodeEditContext", {
9910
9952
  enumerable: !0,
9911
9953
  get: function() {
9912
- return Ri;
9954
+ return Ni;
9913
9955
  }
9914
9956
  }), Object.defineProperty(exports, "useTableCellEditingContext", {
9915
9957
  enumerable: !0,
9916
9958
  get: function() {
9917
- return Vi;
9959
+ return _i;
9918
9960
  }
9919
9961
  }), Object.defineProperty(exports, "useTableCellSelection", {
9920
9962
  enumerable: !0,
@@ -9924,7 +9966,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9924
9966
  }), Object.defineProperty(exports, "useThemeEditing", {
9925
9967
  enumerable: !0,
9926
9968
  get: function() {
9927
- return Ni;
9969
+ return ji;
9928
9970
  }
9929
9971
  }), Object.defineProperty(exports, "useToolbarAutoHide", {
9930
9972
  enumerable: !0,
@@ -9944,12 +9986,12 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9944
9986
  }), Object.defineProperty(exports, "useVersionHistory", {
9945
9987
  enumerable: !0,
9946
9988
  get: function() {
9947
- return $i;
9989
+ return Hi;
9948
9990
  }
9949
9991
  }), Object.defineProperty(exports, "useVersionHistoryWiring", {
9950
9992
  enumerable: !0,
9951
9993
  get: function() {
9952
- return Wi;
9994
+ return Gi;
9953
9995
  }
9954
9996
  }), Object.defineProperty(exports, "useViewerOptionsStore", {
9955
9997
  enumerable: !0,
@@ -9959,6 +10001,6 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9959
10001
  }), Object.defineProperty(exports, "useViewerSettingsDialog", {
9960
10002
  enumerable: !0,
9961
10003
  get: function() {
9962
- return qi;
10004
+ return Xi;
9963
10005
  }
9964
10006
  });