pptx-vue-viewer 4.36.2 → 4.37.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 (89) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{AiChatPanel-t6dL7YP4.js → AiChatPanel-C6b7B9gF.js} +2 -2
  3. package/dist/AiChatPanel-C6b7B9gF.js.br +0 -0
  4. package/dist/AiChatPanel-C6b7B9gF.js.gz +0 -0
  5. package/dist/{AiChatPanel-BeOTgP5C.cjs → AiChatPanel-Ctnnmz7J.cjs} +1 -1
  6. package/dist/AiChatPanel-Ctnnmz7J.cjs.br +0 -0
  7. package/dist/AiChatPanel-Ctnnmz7J.cjs.gz +0 -0
  8. package/dist/i18n/de.cjs +134 -8
  9. package/dist/i18n/de.cjs.br +0 -0
  10. package/dist/i18n/de.cjs.gz +0 -0
  11. package/dist/i18n/de.mjs +134 -8
  12. package/dist/i18n/de.mjs.br +0 -0
  13. package/dist/i18n/de.mjs.gz +0 -0
  14. package/dist/i18n/es.cjs +134 -8
  15. package/dist/i18n/es.cjs.br +0 -0
  16. package/dist/i18n/es.cjs.gz +0 -0
  17. package/dist/i18n/es.mjs +134 -8
  18. package/dist/i18n/es.mjs.br +0 -0
  19. package/dist/i18n/es.mjs.gz +0 -0
  20. package/dist/i18n/fr.cjs +134 -8
  21. package/dist/i18n/fr.cjs.br +0 -0
  22. package/dist/i18n/fr.cjs.gz +0 -0
  23. package/dist/i18n/fr.mjs +134 -8
  24. package/dist/i18n/fr.mjs.br +0 -0
  25. package/dist/i18n/fr.mjs.gz +0 -0
  26. package/dist/i18n/zh-CN.cjs +135 -9
  27. package/dist/i18n/zh-CN.cjs.br +0 -0
  28. package/dist/i18n/zh-CN.cjs.gz +0 -0
  29. package/dist/i18n/zh-CN.mjs +135 -9
  30. package/dist/i18n/zh-CN.mjs.br +0 -0
  31. package/dist/i18n/zh-CN.mjs.gz +0 -0
  32. package/dist/index.cjs +1 -1
  33. package/dist/index.cjs.br +0 -0
  34. package/dist/index.cjs.gz +0 -0
  35. package/dist/index.d.ts +3 -0
  36. package/dist/index.js +2 -2
  37. package/dist/index.js.br +0 -0
  38. package/dist/index.js.gz +0 -0
  39. package/dist/internals.cjs +1 -1
  40. package/dist/internals.cjs.br +0 -0
  41. package/dist/internals.cjs.gz +0 -0
  42. package/dist/internals.d.ts +7 -0
  43. package/dist/internals.js +2 -2
  44. package/dist/internals.js.br +0 -0
  45. package/dist/internals.js.gz +0 -0
  46. package/dist/pptx-vue-viewer.css +11 -11
  47. package/dist/pptx-vue-viewer.css.br +0 -0
  48. package/dist/pptx-vue-viewer.css.gz +0 -0
  49. package/dist/{useViewerSettingsDialog-TAbf4Ixp.cjs → useViewerSettingsDialog-Deo8WA7S.cjs} +459 -423
  50. package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.br +0 -0
  51. package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.gz +0 -0
  52. package/dist/{useViewerSettingsDialog-r1bUiLdb.js → useViewerSettingsDialog-fd8zrghi.js} +348 -317
  53. package/dist/useViewerSettingsDialog-fd8zrghi.js.br +0 -0
  54. package/dist/{useViewerSettingsDialog-r1bUiLdb.js.gz → useViewerSettingsDialog-fd8zrghi.js.gz} +0 -0
  55. package/dist/viewer/index.cjs +1 -1
  56. package/dist/viewer/index.cjs.br +0 -0
  57. package/dist/viewer/index.cjs.gz +0 -0
  58. package/dist/viewer/index.d.ts +3 -0
  59. package/dist/viewer/index.js +3 -3
  60. package/dist/viewer/index.js.br +0 -0
  61. package/dist/viewer/index.js.gz +0 -0
  62. package/dist/{viewer-CDJjPn4g.cjs → viewer-CGm4yC4h.cjs} +69 -37
  63. package/dist/viewer-CGm4yC4h.cjs.br +0 -0
  64. package/dist/viewer-CGm4yC4h.cjs.gz +0 -0
  65. package/dist/{viewer-SxxyChcY.js → viewer-nP5gJuGF.js} +9683 -9651
  66. package/dist/viewer-nP5gJuGF.js.br +0 -0
  67. package/dist/viewer-nP5gJuGF.js.gz +0 -0
  68. package/dist/{y-webrtc-KiXq-fxq.cjs → y-webrtc-DwByYfBA.cjs} +1 -1
  69. package/dist/y-webrtc-DwByYfBA.cjs.br +0 -0
  70. package/dist/y-webrtc-DwByYfBA.cjs.gz +0 -0
  71. package/dist/{y-webrtc-swexTCT2.js → y-webrtc-rRVx0xtd.js} +74 -74
  72. package/dist/y-webrtc-rRVx0xtd.js.br +0 -0
  73. package/dist/y-webrtc-rRVx0xtd.js.gz +0 -0
  74. package/package.json +3 -3
  75. package/dist/AiChatPanel-BeOTgP5C.cjs.br +0 -0
  76. package/dist/AiChatPanel-BeOTgP5C.cjs.gz +0 -0
  77. package/dist/AiChatPanel-t6dL7YP4.js.br +0 -0
  78. package/dist/AiChatPanel-t6dL7YP4.js.gz +0 -0
  79. package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.br +0 -0
  80. package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.gz +0 -0
  81. package/dist/useViewerSettingsDialog-r1bUiLdb.js.br +0 -0
  82. package/dist/viewer-CDJjPn4g.cjs.br +0 -0
  83. package/dist/viewer-CDJjPn4g.cjs.gz +0 -0
  84. package/dist/viewer-SxxyChcY.js.br +0 -0
  85. package/dist/viewer-SxxyChcY.js.gz +0 -0
  86. package/dist/y-webrtc-KiXq-fxq.cjs.br +0 -0
  87. package/dist/y-webrtc-KiXq-fxq.cjs.gz +0 -0
  88. package/dist/y-webrtc-swexTCT2.js.br +0 -0
  89. package/dist/y-webrtc-swexTCT2.js.gz +0 -0
@@ -5635,7 +5635,15 @@ function _g(e, t) {
5635
5635
  };
5636
5636
  }
5637
5637
  var Cg = Symbol("pptx-vue-table-theme");
5638
- var Pg = Av(ls({
5638
+ function Pg(e, t) {
5639
+ return {
5640
+ colorScheme: e?.colorScheme,
5641
+ tableStyleMap: t,
5642
+ fontScheme: e?.fontScheme,
5643
+ formatScheme: e?.formatScheme
5644
+ };
5645
+ }
5646
+ var Tg = Av(ls({
5639
5647
  __name: "TableResizeOverlay",
5640
5648
  props: {
5641
5649
  columnWidths: {},
@@ -5746,23 +5754,23 @@ var Pg = Av(ls({
5746
5754
  })
5747
5755
  }, [...n[1] || (n[1] = [ts("div", { class: "my-auto h-px w-full bg-transparent transition-colors group-hover:bg-blue-400/60" }, null, -1)])], 4))), 128))], 4))), 128))], 64)) : Qr("", !0)], 544));
5748
5756
  }
5749
- }), [["__scopeId", "data-v-288ab33e"]]), Tg = ["data-element-id", "data-pptx-element"], Dg = { key: 0 }, Mg = [
5757
+ }), [["__scopeId", "data-v-288ab33e"]]), Dg = ["data-element-id", "data-pptx-element"], Mg = { key: 0 }, Og = [
5750
5758
  "colspan",
5751
5759
  "rowspan",
5752
5760
  "onClick",
5753
5761
  "onDblclick"
5754
- ], Og = {
5762
+ ], Lg = {
5755
5763
  key: 0,
5756
5764
  class: "pptx-vue-table__diag",
5757
5765
  "aria-hidden": "true",
5758
5766
  preserveAspectRatio: "none"
5759
- }, Lg = ["stroke", "stroke-width"], zg = ["stroke", "stroke-width"], Ag = { key: 0 }, Fg = {
5767
+ }, zg = ["stroke", "stroke-width"], Ag = ["stroke", "stroke-width"], Fg = { key: 0 }, Ng = {
5760
5768
  key: 0,
5761
5769
  class: "pptx-vue-table__para-break"
5762
- }, Ng = { key: 1 }, Rg = {
5770
+ }, Rg = { key: 1 }, $g = {
5763
5771
  key: 4,
5764
5772
  class: "pptx-vue-table__text"
5765
- }, $g = Av(ls({
5773
+ }, Bg = Av(ls({
5766
5774
  __name: "TableRenderer",
5767
5775
  props: {
5768
5776
  element: {},
@@ -5793,10 +5801,11 @@ var Pg = Av(ls({
5793
5801
  if (!e) return [];
5794
5802
  const n = t.element.id, a = u.value, l = c.value, i = (s = o) ? Ms(s) : void 0;
5795
5803
  var s;
5796
- const d = t.colorScheme ?? i?.colorScheme, p = t.tableStyleMap ?? i?.tableStyleMap, v = i?.fontScheme, m = d || p || v ? {
5804
+ const d = t.colorScheme ?? i?.colorScheme, p = t.tableStyleMap ?? i?.tableStyleMap, v = i?.fontScheme, m = i?.formatScheme, f = d || p || v || m ? {
5797
5805
  colorScheme: d,
5798
5806
  tableStyleMap: p,
5799
- fontScheme: v
5807
+ fontScheme: v,
5808
+ formatScheme: m
5800
5809
  } : void 0;
5801
5810
  return e.rows.map((t, o) => {
5802
5811
  const i = [];
@@ -5807,7 +5816,7 @@ var Pg = Av(ls({
5807
5816
  cellIndex: r,
5808
5817
  rowCount: a,
5809
5818
  columnCount: l
5810
- }, m), d = t.style ? function(e) {
5819
+ }, f), d = t.style ? function(e) {
5811
5820
  return yt(e);
5812
5821
  }(t.style) : null, p = t, v = p.textRuns && p.textRuns.length > 0 ? p.textRuns : null;
5813
5822
  i.push({
@@ -5826,7 +5835,7 @@ var Pg = Av(ls({
5826
5835
  cellIndex: r,
5827
5836
  rowCount: a,
5828
5837
  columnCount: l
5829
- }, m)
5838
+ }, f)
5830
5839
  });
5831
5840
  }), {
5832
5841
  key: `${n}-row-${o}`,
@@ -5903,7 +5912,7 @@ var Pg = Av(ls({
5903
5912
  default: Rs(() => [ns(Ts(e.textStyleOverrideCss), 1)]),
5904
5913
  _: 1
5905
5914
  })) : Qr("", !0),
5906
- as(Pg, {
5915
+ as(Tg, {
5907
5916
  "column-widths": r.value.columnWidths,
5908
5917
  rows: r.value.rows,
5909
5918
  editable: E.value,
@@ -5913,7 +5922,7 @@ var Pg = Av(ls({
5913
5922
  default: Rs(() => [ts("table", {
5914
5923
  class: "pptx-vue-table__grid",
5915
5924
  style: ms(s.value)
5916
- }, [d.value.length > 0 ? (ks(), es("colgroup", Dg, [(ks(!0), es(Yr, null, Es(d.value, (t, n) => (ks(), es("col", {
5925
+ }, [d.value.length > 0 ? (ks(), es("colgroup", Mg, [(ks(!0), es(Yr, null, Es(d.value, (t, n) => (ks(), es("col", {
5917
5926
  key: `${e.element.id}-col-${n}`,
5918
5927
  style: ms({ width: t })
5919
5928
  }, null, 4))), 128))])) : Qr("", !0), ts("tbody", null, [(ks(!0), es(Yr, null, Es(p.value, (e) => (ks(), es("tr", {
@@ -5943,7 +5952,7 @@ var Pg = Av(ls({
5943
5952
  E.value && (e.stopPropagation(), y.selectCell(t.rowIndex, t.colIndex, e.shiftKey));
5944
5953
  }(t, e),
5945
5954
  onDblclick: (t) => _(t, e)
5946
- }, [e.diagonals ? (ks(), es("svg", Og, [e.diagonals.diagDownColor && e.diagonals.diagDownWidth ? (ks(), es("line", {
5955
+ }, [e.diagonals ? (ks(), es("svg", Lg, [e.diagonals.diagDownColor && e.diagonals.diagDownWidth ? (ks(), es("line", {
5947
5956
  key: 0,
5948
5957
  x1: "0",
5949
5958
  y1: "0",
@@ -5952,7 +5961,7 @@ var Pg = Av(ls({
5952
5961
  stroke: e.diagonals.diagDownColor,
5953
5962
  "stroke-width": e.diagonals.diagDownWidth,
5954
5963
  style: ms({ strokeWidth: Os(Ki)(e.diagonals.diagDownWidth) })
5955
- }, null, 12, Lg)) : Qr("", !0), e.diagonals.diagUpColor && e.diagonals.diagUpWidth ? (ks(), es("line", {
5964
+ }, null, 12, zg)) : Qr("", !0), e.diagonals.diagUpColor && e.diagonals.diagUpWidth ? (ks(), es("line", {
5956
5965
  key: 1,
5957
5966
  x1: "0",
5958
5967
  y1: "100%",
@@ -5961,7 +5970,7 @@ var Pg = Av(ls({
5961
5970
  stroke: e.diagonals.diagUpColor,
5962
5971
  "stroke-width": e.diagonals.diagUpWidth,
5963
5972
  style: ms({ strokeWidth: Os(Ki)(e.diagonals.diagUpWidth) })
5964
- }, null, 12, zg)) : Qr("", !0)])) : Qr("", !0), I(e) ? $s((ks(), es("input", {
5973
+ }, null, 12, Ag)) : Qr("", !0)])) : Qr("", !0), I(e) ? $s((ks(), es("input", {
5965
5974
  key: 1,
5966
5975
  ref_for: !0,
5967
5976
  ref: S,
@@ -5981,25 +5990,25 @@ var Pg = Av(ls({
5981
5990
  display: "block",
5982
5991
  ...t.css
5983
5992
  })
5984
- }, [(ks(!0), es(Yr, null, Es(t.runs, (t, a) => (ks(), es(Yr, { key: `${e.key}-para-${n}-run-${a}` }, [t.isLineBreak ? (ks(), es("br", Ag)) : (ks(), es("span", {
5993
+ }, [(ks(!0), es(Yr, null, Es(t.runs, (t, a) => (ks(), es(Yr, { key: `${e.key}-para-${n}-run-${a}` }, [t.isLineBreak ? (ks(), es("br", Fg)) : (ks(), es("span", {
5985
5994
  key: 1,
5986
5995
  class: "pptx-vue-table__run",
5987
5996
  style: ms(m(t))
5988
- }, Ts(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? (ks(!0), es(Yr, { key: 3 }, Es(e.textRuns, (t, n) => (ks(), es(Yr, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? (ks(), es("div", Fg)) : t.isLineBreak ? (ks(), es("br", Ng)) : (ks(), es("span", {
5997
+ }, Ts(t.text), 5))], 64))), 128))], 4))), 128)) : e.textRuns ? (ks(!0), es(Yr, { key: 3 }, Es(e.textRuns, (t, n) => (ks(), es(Yr, { key: `${e.key}-run-${n}` }, [t.isParagraphBreak ? (ks(), es("div", Ng)) : t.isLineBreak ? (ks(), es("br", Rg)) : (ks(), es("span", {
5989
5998
  key: 2,
5990
5999
  class: "pptx-vue-table__run",
5991
6000
  style: ms(m(t))
5992
- }, Ts(t.text), 5))], 64))), 128)) : (ks(), es("span", Rg, Ts(e.text), 1))], 46, Mg))), 128))], 4))), 128))])], 4)]),
6001
+ }, Ts(t.text), 5))], 64))), 128)) : (ks(), es("span", $g, Ts(e.text), 1))], 46, Og))), 128))], 4))), 128))])], 4)]),
5993
6002
  _: 1
5994
6003
  }, 8, [
5995
6004
  "column-widths",
5996
6005
  "rows",
5997
6006
  "editable"
5998
6007
  ])
5999
- ], 12, Tg)) : Qr("", !0);
6008
+ ], 12, Dg)) : Qr("", !0);
6000
6009
  }
6001
- }), [["__scopeId", "data-v-e3a900b7"]]), Bg = new y(), Wg = Ss(0), Ug = dn(Bg);
6002
- var Vg = ["d", "fill"], Hg = [
6010
+ }), [["__scopeId", "data-v-813c8811"]]), Wg = new y(), Ug = Ss(0), Vg = dn(Wg);
6011
+ var Hg = ["d", "fill"], jg = [
6003
6012
  "x",
6004
6013
  "y",
6005
6014
  "transform",
@@ -6009,7 +6018,7 @@ var Vg = ["d", "fill"], Hg = [
6009
6018
  "font-style",
6010
6019
  "font-family",
6011
6020
  "text-decoration"
6012
- ], jg = ["data-glyph-slices"], Gg = ["id"], qg = ["x", "width"], Kg = [
6021
+ ], Gg = ["data-glyph-slices"], qg = ["id"], Kg = ["x", "width"], Yg = [
6013
6022
  "x",
6014
6023
  "y",
6015
6024
  "transform",
@@ -6020,7 +6029,7 @@ var Vg = ["d", "fill"], Hg = [
6020
6029
  "font-style",
6021
6030
  "font-family",
6022
6031
  "text-decoration"
6023
- ], Yg = ls({
6032
+ ], Xg = ls({
6024
6033
  __name: "WordArtEnvelopeGlyph",
6025
6034
  props: {
6026
6035
  glyph: {},
@@ -6036,7 +6045,7 @@ var Vg = ["d", "fill"], Hg = [
6036
6045
  key: 0,
6037
6046
  d: e.glyph.outlinePath,
6038
6047
  fill: e.tspan.fill
6039
- }, null, 8, Vg)) : !e.glyph.slices || e.glyph.slices.length <= 1 ? (ks(), es("text", {
6048
+ }, null, 8, Hg)) : !e.glyph.slices || e.glyph.slices.length <= 1 ? (ks(), es("text", {
6040
6049
  key: 1,
6041
6050
  x: e.glyph.x,
6042
6051
  y: e.glyph.y,
@@ -6047,7 +6056,7 @@ var Vg = ["d", "fill"], Hg = [
6047
6056
  "font-style": e.tspan.fontStyle,
6048
6057
  "font-family": e.tspan.fontFamily,
6049
6058
  "text-decoration": e.tspan.textDecoration
6050
- }, Ts(e.glyph.char), 9, Hg)) : (ks(), es("g", {
6059
+ }, Ts(e.glyph.char), 9, jg)) : (ks(), es("g", {
6051
6060
  key: 2,
6052
6061
  "data-glyph-slices": e.glyph.slices.length
6053
6062
  }, [(ks(!0), es(Yr, null, Es(e.glyph.slices, (e, t) => (ks(), es("clipPath", {
@@ -6059,7 +6068,7 @@ var Vg = ["d", "fill"], Hg = [
6059
6068
  y: "-100000",
6060
6069
  width: Math.max(0, e.clipX1 - e.clipX0),
6061
6070
  height: "200000"
6062
- }, null, 8, qg)], 8, Gg))), 128)), (ks(!0), es(Yr, null, Es(e.glyph.slices, (t, a) => (ks(), es("text", {
6071
+ }, null, 8, Kg)], 8, qg))), 128)), (ks(!0), es(Yr, null, Es(e.glyph.slices, (t, a) => (ks(), es("text", {
6063
6072
  key: `txt-${a}`,
6064
6073
  x: e.glyph.x,
6065
6074
  y: e.glyph.y,
@@ -6071,34 +6080,34 @@ var Vg = ["d", "fill"], Hg = [
6071
6080
  "font-style": e.tspan.fontStyle,
6072
6081
  "font-family": e.tspan.fontFamily,
6073
6082
  "text-decoration": e.tspan.textDecoration
6074
- }, Ts(e.glyph.char), 9, Kg))), 128))], 8, jg));
6083
+ }, Ts(e.glyph.char), 9, Yg))), 128))], 8, Gg));
6075
6084
  }
6076
- }), Xg = [
6085
+ }), Zg = [
6077
6086
  "width",
6078
6087
  "height",
6079
6088
  "viewBox"
6080
- ], Zg = [
6089
+ ], Jg = [
6081
6090
  "width",
6082
6091
  "height",
6083
6092
  "viewBox"
6084
- ], Jg = ["id", "d"], Qg = [
6093
+ ], Qg = ["id", "d"], ex = [
6085
6094
  "font-size",
6086
6095
  "font-family",
6087
6096
  "fill",
6088
6097
  "font-weight",
6089
6098
  "font-style"
6090
- ], ex = [
6099
+ ], tx = [
6091
6100
  "href",
6092
6101
  "startOffset",
6093
6102
  "text-anchor"
6094
- ], tx = [
6103
+ ], nx = [
6095
6104
  "fill",
6096
6105
  "font-size",
6097
6106
  "font-weight",
6098
6107
  "font-style",
6099
6108
  "font-family",
6100
6109
  "text-decoration"
6101
- ], nx = "#111827", ax = Av(ls({
6110
+ ], ax = "#111827", lx = Av(ls({
6102
6111
  __name: "WordArtText",
6103
6112
  props: {
6104
6113
  element: {},
@@ -6134,11 +6143,11 @@ var Vg = ["d", "fill"], Hg = [
6134
6143
  textAnchor: "start"
6135
6144
  };
6136
6145
  }
6137
- }), m = Zr(() => n.value?.textStyle?.fontSize ?? 24), f = Zr(() => n.value?.textStyle?.fontFamily ? (0, lu.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : i), h = Zr(() => to(n.value?.textStyle?.color, nx)), y = Zr(() => n.value?.textStyle?.bold ? 700 : 400), g = Zr(() => n.value?.textStyle?.italic ? "italic" : "normal");
6146
+ }), m = Zr(() => n.value?.textStyle?.fontSize ?? 24), f = Zr(() => n.value?.textStyle?.fontFamily ? (0, lu.getSubstituteFontFamily)(n.value.textStyle.fontFamily) : i), h = Zr(() => to(n.value?.textStyle?.color, ax)), y = Zr(() => n.value?.textStyle?.bold ? 700 : 400), g = Zr(() => n.value?.textStyle?.italic ? "italic" : "normal");
6138
6147
  function x(e) {
6139
6148
  const t = e.style ?? {}, a = [];
6140
6149
  (t.underline || t.hyperlink) && a.push("underline"), t.strikethrough && a.push("line-through");
6141
- const l = n.value?.textStyle, o = t.hyperlink ? to(t.color ?? l?.color, "#0563C1") : to(t.color ?? l?.color, nx), r = t.fontFamily ?? l?.fontFamily;
6150
+ const l = n.value?.textStyle, o = t.hyperlink ? to(t.color ?? l?.color, "#0563C1") : to(t.color ?? l?.color, ax), r = t.fontFamily ?? l?.fontFamily;
6142
6151
  return {
6143
6152
  fill: o,
6144
6153
  fontSize: t.fontSize ?? l?.fontSize ?? 24,
@@ -6166,12 +6175,12 @@ var Vg = ["d", "fill"], Hg = [
6166
6175
  useGlyphEnvelope: c,
6167
6176
  glyphLines: Zr(() => {
6168
6177
  if (!c.value) return [];
6169
- Wg.value;
6178
+ Ug.value;
6170
6179
  const e = Re(n.value, a.value.map((e) => e.segments.map((e, t) => ({
6171
6180
  text: e.text,
6172
6181
  font: d(e),
6173
6182
  segmentIndex: t
6174
- }))), l.value, o.value, t.value?.textStyle?.align, i.value, r.value, Ug);
6183
+ }))), l.value, o.value, t.value?.textStyle?.align, i.value, r.value, Vg);
6175
6184
  return a.value.map((t, n) => ({
6176
6185
  lineIndex: n,
6177
6186
  glyphs: e[n] ?? [],
@@ -6200,7 +6209,7 @@ var Vg = ["d", "fill"], Hg = [
6200
6209
  "aria-hidden": "true",
6201
6210
  style: ms({ zIndex: e.zIndex })
6202
6211
  }, [(ks(!0), es(Yr, null, Es(Os(b), (e) => (ks(), es(Yr, { key: `line-${e.lineIndex}` }, [(ks(!0), es(Yr, null, Es(e.glyphs, (t, n) => {
6203
- return ks(), Jr(Yg, {
6212
+ return ks(), Jr(Xg, {
6204
6213
  key: `g-${e.lineIndex}-${n}`,
6205
6214
  glyph: t,
6206
6215
  tspan: (o = t, i = e.segments, x(i[o.segmentIndex])),
@@ -6211,7 +6220,7 @@ var Vg = ["d", "fill"], Hg = [
6211
6220
  "clip-id-prefix"
6212
6221
  ]);
6213
6222
  var a, l, o, i;
6214
- }), 128))], 64))), 128))], 12, Xg)) : l.value && u.value.length > 0 ? (ks(), es("svg", {
6223
+ }), 128))], 64))), 128))], 12, Zg)) : l.value && u.value.length > 0 ? (ks(), es("svg", {
6215
6224
  key: 1,
6216
6225
  class: "pptx-vue-wordart",
6217
6226
  width: o.value,
@@ -6225,7 +6234,7 @@ var Vg = ["d", "fill"], Hg = [
6225
6234
  key: `def-${t}`,
6226
6235
  d: k(t),
6227
6236
  fill: "none"
6228
- }, null, 8, Jg))), 128))]), (ks(!0), es(Yr, null, Es(u.value, (e, t) => (ks(), es("text", {
6237
+ }, null, 8, Qg))), 128))]), (ks(!0), es(Yr, null, Es(u.value, (e, t) => (ks(), es("text", {
6229
6238
  key: `txt-${t}`,
6230
6239
  "font-size": m.value,
6231
6240
  "font-family": f.value,
@@ -6244,31 +6253,31 @@ var Vg = ["d", "fill"], Hg = [
6244
6253
  "font-style": x(e).fontStyle,
6245
6254
  "font-family": x(e).fontFamily,
6246
6255
  "text-decoration": x(e).textDecoration
6247
- }, Ts(e.text), 9, tx))), 128))], 8, ex)], 8, Qg))), 128))], 12, Zg)) : Qr("", !0);
6256
+ }, Ts(e.text), 9, nx))), 128))], 8, tx)], 8, ex))), 128))], 12, Jg)) : Qr("", !0);
6248
6257
  }
6249
- }), [["__scopeId", "data-v-51c1eadc"]]), lx = Symbol("pptx-vue-zoom-navigation");
6250
- function ox(e) {
6251
- ws(lx, e);
6258
+ }), [["__scopeId", "data-v-51c1eadc"]]), ox = Symbol("pptx-vue-zoom-navigation");
6259
+ function ix(e) {
6260
+ ws(ox, e);
6252
6261
  }
6253
- var ix = Symbol("pptx-vue-zoom-target");
6254
- function rx(e) {
6262
+ var rx = Symbol("pptx-vue-zoom-target");
6263
+ function sx(e) {
6255
6264
  if (e) return {
6256
6265
  backgroundColor: e.backgroundColor,
6257
6266
  slideNumber: e.slideNumber,
6258
6267
  sectionName: e.sectionName
6259
6268
  };
6260
6269
  }
6261
- function sx(e) {
6262
- ws(ix, e);
6270
+ function ux(e) {
6271
+ ws(rx, e);
6263
6272
  }
6264
- var ux = [
6273
+ var cx = [
6265
6274
  "data-element-id",
6266
6275
  "data-zoom-type",
6267
6276
  "data-zoom-target",
6268
6277
  "aria-label",
6269
6278
  "role",
6270
6279
  "tabindex"
6271
- ], cx = [
6280
+ ], dx = [
6272
6281
  "data-zoom-target",
6273
6282
  "data-section-id",
6274
6283
  "aria-label",
@@ -6276,13 +6285,13 @@ var ux = [
6276
6285
  "tabindex",
6277
6286
  "onClick",
6278
6287
  "onKeydown"
6279
- ], dx = ["src", "alt"], px = {
6288
+ ], px = ["src", "alt"], vx = {
6280
6289
  key: 2,
6281
6290
  class: "pptx-vue-zoom-tile"
6282
- }, vx = ["src", "alt"], mx = { class: "pptx-vue-zoom-slide-label" }, fx = {
6291
+ }, mx = ["src", "alt"], fx = { class: "pptx-vue-zoom-slide-label" }, hx = {
6283
6292
  key: 0,
6284
6293
  class: "pptx-vue-zoom-section-label"
6285
- }, hx = { class: "pptx-vue-zoom-badge" }, gx = Av(ls({
6294
+ }, yx = { class: "pptx-vue-zoom-badge" }, xx = Av(ls({
6286
6295
  __name: "ZoomRenderer",
6287
6296
  props: {
6288
6297
  element: {},
@@ -6292,10 +6301,10 @@ var ux = [
6292
6301
  presenting: { type: Boolean }
6293
6302
  },
6294
6303
  setup(e) {
6295
- const t = e, { t: n } = Dv(), a = Zr(() => jv(t.element, t.zIndex)), l = Yv(() => t.element, () => t.interactive, () => t.presenting), o = Zr(() => (0, lu.isZoomElement)(t.element) ? t.element : void 0), i = Zr(() => o.value?.imageData), r = Zr(() => o.value?.targetSlideIndex ?? 0), s = Zr(() => o.value?.zoomType ?? "slide"), u = Zr(() => o.value?.targetSectionId), c = Zr(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), d = us(ix, void 0), p = Zr(() => d?.(r.value)), v = Zr(() => o.value ? lt(o.value, d, (e, t) => n(e, t ?? {})) : void 0), m = Zr(() => ({ backgroundColor: p.value?.backgroundColor ?? "#f0f0f0" })), f = Zr(() => void 0 !== p.value?.slideNumber ? n("pptx.notes.slideN", { n: p.value.slideNumber }) : n("pptx.notes.slideN", { n: r.value + 1 })), h = Zr(() => p.value?.sectionName ?? u.value), y = Zr(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
6304
+ const t = e, { t: n } = Dv(), a = Zr(() => jv(t.element, t.zIndex)), l = Yv(() => t.element, () => t.interactive, () => t.presenting), o = Zr(() => (0, lu.isZoomElement)(t.element) ? t.element : void 0), i = Zr(() => o.value?.imageData), r = Zr(() => o.value?.targetSlideIndex ?? 0), s = Zr(() => o.value?.zoomType ?? "slide"), u = Zr(() => o.value?.targetSectionId), c = Zr(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), d = us(rx, void 0), p = Zr(() => d?.(r.value)), v = Zr(() => o.value ? lt(o.value, d, (e, t) => n(e, t ?? {})) : void 0), m = Zr(() => ({ backgroundColor: p.value?.backgroundColor ?? "#f0f0f0" })), f = Zr(() => void 0 !== p.value?.slideNumber ? n("pptx.notes.slideN", { n: p.value.slideNumber }) : n("pptx.notes.slideN", { n: r.value + 1 })), h = Zr(() => p.value?.sectionName ?? u.value), y = Zr(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
6296
6305
  number: r.value + 1,
6297
6306
  section: u.value
6298
- }) : n("pptx.zoom.ariaLabel", { number: r.value + 1 })), g = us(lx, void 0), x = Zr(() => Boolean(g && o.value));
6307
+ }) : n("pptx.zoom.ariaLabel", { number: r.value + 1 })), g = us(ox, void 0), x = Zr(() => Boolean(g && o.value));
6299
6308
  function k() {
6300
6309
  if (!g || !o.value) return;
6301
6310
  const e = Ni(o.value);
@@ -6354,19 +6363,19 @@ var ux = [
6354
6363
  src: e.imageSrc,
6355
6364
  alt: e.ariaLabel,
6356
6365
  draggable: "false"
6357
- }, null, 8, dx)) : (ks(), es(Yr, { key: 1 }, [ts("div", null, Ts(e.label), 1), ts("div", null, Ts(e.slideLabel), 1)], 64))], 44, cx))), 128)), o[0] || (o[0] = ts("div", { class: "pptx-vue-zoom-badge" }, "Summary Zoom", -1))], 4)) : (ks(), es("div", px, [i.value ? (ks(), es("img", {
6366
+ }, null, 8, px)) : (ks(), es(Yr, { key: 1 }, [ts("div", null, Ts(e.label), 1), ts("div", null, Ts(e.slideLabel), 1)], 64))], 44, dx))), 128)), o[0] || (o[0] = ts("div", { class: "pptx-vue-zoom-badge" }, "Summary Zoom", -1))], 4)) : (ks(), es("div", vx, [i.value ? (ks(), es("img", {
6358
6367
  key: 0,
6359
6368
  src: i.value,
6360
6369
  alt: Os(n)("pptx.zoom.slidePreviewAlt", { number: r.value + 1 }),
6361
6370
  class: "pptx-vue-zoom-img",
6362
6371
  draggable: "false"
6363
- }, null, 8, vx)) : (ks(), es("div", {
6372
+ }, null, 8, mx)) : (ks(), es("div", {
6364
6373
  key: 1,
6365
6374
  class: "pptx-vue-zoom-thumbnail",
6366
6375
  style: ms(m.value)
6367
- }, [ts("div", mx, Ts(f.value), 1), h.value ? (ks(), es("div", fx, Ts(h.value), 1)) : Qr("", !0)], 4)), ts("div", hx, Ts(c.value), 1)]))], 46, ux));
6376
+ }, [ts("div", fx, Ts(f.value), 1), h.value ? (ks(), es("div", hx, Ts(h.value), 1)) : Qr("", !0)], 4)), ts("div", yx, Ts(c.value), 1)]))], 46, cx));
6368
6377
  }
6369
- }), [["__scopeId", "data-v-12ce2987"]]), xx = ["data-element-id", "data-pptx-element"], kx = ["data-element-id", "data-pptx-element"], wx = ["data-anim-id", "data-pptx-animation-layer"], bx = ["data-element-id", "data-pptx-element"], Sx = { class: "pptx-vue-placeholder" }, Ex = ls({
6378
+ }), [["__scopeId", "data-v-12ce2987"]]), kx = ["data-element-id", "data-pptx-element"], wx = ["data-element-id", "data-pptx-element"], bx = ["data-anim-id", "data-pptx-animation-layer"], Sx = ["data-element-id", "data-pptx-element"], Ex = { class: "pptx-vue-placeholder" }, Ix = ls({
6370
6379
  __name: "ElementRenderer",
6371
6380
  props: {
6372
6381
  element: {},
@@ -6449,7 +6458,7 @@ var ux = [
6449
6458
  "parent-group-fill",
6450
6459
  "inline-editing-element-id"
6451
6460
  ]))), 128))
6452
- ], 14, xx)) : g.value ? (ks(), Jr(zh, {
6461
+ ], 14, kx)) : g.value ? (ks(), Jr(zh, {
6453
6462
  key: 2,
6454
6463
  element: e.element,
6455
6464
  "media-data-urls": e.mediaDataUrls,
@@ -6496,7 +6505,7 @@ var ux = [
6496
6505
  "animation-state",
6497
6506
  "text-style-override-css",
6498
6507
  "data-pptx-element"
6499
- ])) : "table" === e.element.type ? (ks(), Jr($g, {
6508
+ ])) : "table" === e.element.type ? (ks(), Jr(Bg, {
6500
6509
  key: 5,
6501
6510
  element: e.element,
6502
6511
  "media-data-urls": e.mediaDataUrls,
@@ -6632,7 +6641,7 @@ var ux = [
6632
6641
  "interactive",
6633
6642
  "presenting",
6634
6643
  "data-pptx-element"
6635
- ])) : "zoom" === e.element.type ? (ks(), Jr(gx, {
6644
+ ])) : "zoom" === e.element.type ? (ks(), Jr(xx, {
6636
6645
  key: 13,
6637
6646
  element: e.element,
6638
6647
  "media-data-urls": e.mediaDataUrls,
@@ -6694,8 +6703,8 @@ var ux = [
6694
6703
  data: h.value
6695
6704
  }, null, 8, ["data"])) : Qr("", !0),
6696
6705
  as(am, { element: e.element }, null, 8, ["element"])
6697
- ], 12, wx),
6698
- T.value ? Qr("", !0) : (ks(), es(Yr, { key: 2 }, [k.value ? (ks(), Jr(ax, {
6706
+ ], 12, bx),
6707
+ T.value ? Qr("", !0) : (ks(), es(Yr, { key: 2 }, [k.value ? (ks(), Jr(lx, {
6699
6708
  key: 0,
6700
6709
  element: e.element,
6701
6710
  "z-index": 0
@@ -6715,21 +6724,21 @@ var ux = [
6715
6724
  class: "pptx-vue-text pptx-vue-placeholder-prompt",
6716
6725
  style: ms([f.value, E.value.style])
6717
6726
  }, Ts(E.value.text), 5)) : Qr("", !0)], 64))
6718
- ], 14, kx)) : (ks(), es("div", {
6727
+ ], 14, wx)) : (ks(), es("div", {
6719
6728
  key: 16,
6720
6729
  class: vs(["pptx-vue-element pptx-vue-unsupported", I.value]),
6721
6730
  style: ms([c.value, C.value]),
6722
6731
  "data-element-id": e.element.id,
6723
6732
  "data-pptx-element": _.value
6724
- }, [ts("div", Sx, Ts(e.element.type), 1)], 14, bx)) : (ks(), es(Yr, { key: 0 }, [], 64));
6733
+ }, [ts("div", Ex, Ts(e.element.type), 1)], 14, Sx)) : (ks(), es(Yr, { key: 0 }, [], 64));
6725
6734
  };
6726
6735
  }
6727
- }), Ix = [
6736
+ }), _x = [
6728
6737
  "role",
6729
6738
  "aria-roledescription",
6730
6739
  "aria-label",
6731
6740
  "aria-hidden"
6732
- ], _x = ls({
6741
+ ], Cx = ls({
6733
6742
  __name: "SlideStage",
6734
6743
  props: {
6735
6744
  slide: {},
@@ -6793,7 +6802,7 @@ var ux = [
6793
6802
  "aria-label": e.presenting ? Os(n)("pptx.canvas.slide") : void 0,
6794
6803
  "aria-hidden": e.interactive || e.presenting ? void 0 : "true"
6795
6804
  }, [
6796
- (ks(!0), es(Yr, null, Es(l.value, (t, n) => (ks(), Jr(Ex, {
6805
+ (ks(!0), es(Yr, null, Es(l.value, (t, n) => (ks(), Jr(Ix, {
6797
6806
  key: t.id,
6798
6807
  element: t,
6799
6808
  "media-data-urls": e.mediaDataUrls,
@@ -6811,7 +6820,7 @@ var ux = [
6811
6820
  "template-editing",
6812
6821
  "inline-editing-element-id"
6813
6822
  ]))), 128)),
6814
- (ks(!0), es(Yr, null, Es(e.slide?.elements ?? [], (t, n) => (ks(), Jr(Ex, {
6823
+ (ks(!0), es(Yr, null, Es(e.slide?.elements ?? [], (t, n) => (ks(), Jr(Ix, {
6815
6824
  key: t.id,
6816
6825
  element: t,
6817
6826
  "media-data-urls": e.mediaDataUrls,
@@ -6828,10 +6837,10 @@ var ux = [
6828
6837
  "inline-editing-element-id"
6829
6838
  ]))), 128)),
6830
6839
  Is(t.$slots, "default")
6831
- ], 12, Ix));
6840
+ ], 12, _x));
6832
6841
  }
6833
6842
  });
6834
- function Cx(e) {
6843
+ function Px(e) {
6835
6844
  return {
6836
6845
  x: e.x,
6837
6846
  y: e.y,
@@ -6840,7 +6849,7 @@ function Cx(e) {
6840
6849
  rotation: e.rotation ?? 0
6841
6850
  };
6842
6851
  }
6843
- function Px(e, t) {
6852
+ function Tx(e, t) {
6844
6853
  const n = Zr(() => function(e, t) {
6845
6854
  const n = new Set(t), a = /* @__PURE__ */ new Map();
6846
6855
  for (const t of e) n.has(t.id) && a.set(t.id, ui(t));
@@ -6851,7 +6860,7 @@ function Px(e, t) {
6851
6860
  canRotate: (e) => !1 !== n.value.get(e)?.rotatable
6852
6861
  };
6853
6862
  }
6854
- function Tx(e, t) {
6863
+ function Dx(e, t) {
6855
6864
  return {
6856
6865
  isHidden: (t) => dl(t, e()),
6857
6866
  visibleTabs: Zr(() => {
@@ -6860,14 +6869,14 @@ function Tx(e, t) {
6860
6869
  })
6861
6870
  };
6862
6871
  }
6863
- var Dx = null;
6864
- function Mx(e, t = !1) {
6865
- Ox(), "undefined" != typeof Audio && ((Dx = new Audio(e)).loop = t, Dx.play().catch(() => {}));
6872
+ var Mx = null;
6873
+ function Ox(e, t = !1) {
6874
+ Lx(), "undefined" != typeof Audio && ((Mx = new Audio(e)).loop = t, Mx.play().catch(() => {}));
6866
6875
  }
6867
- function Ox() {
6868
- Dx && (Dx.pause(), Dx.currentTime = 0, Dx = null);
6876
+ function Lx() {
6877
+ Mx && (Mx.pause(), Mx.currentTime = 0, Mx = null);
6869
6878
  }
6870
- function Lx(e = 768, t) {
6879
+ function zx(e = 768, t) {
6871
6880
  const n = Ss(!1), a = Ss(!1), l = Ss(!1), o = Ss(On()), i = Ss(Mn()), r = Ss(!1), s = Ss("undefined" != typeof window ? window.innerWidth : B), u = "undefined" != typeof window, c = Ss(u ? window.innerWidth : B), d = Ss(u ? window.innerHeight : 800), p = {
6872
6881
  isMobile: bs(n),
6873
6882
  isTablet: bs(a),
@@ -6941,10 +6950,10 @@ function Lx(e = 768, t) {
6941
6950
  y.removeEventListener("change", x), window.removeEventListener("resize", h);
6942
6951
  }), p;
6943
6952
  }
6944
- function zx(e, t) {
6953
+ function Ax(e, t) {
6945
6954
  return Zr(() => Ft(Ms(e), Ms(t)));
6946
6955
  }
6947
- var Ax = [
6956
+ var Fx = [
6948
6957
  {
6949
6958
  id: "undo",
6950
6959
  combo: "Mod+Z",
@@ -7065,21 +7074,21 @@ var Ax = [
7065
7074
  group: "general",
7066
7075
  descriptionKey: "pptx.slideShow.fromCurrent"
7067
7076
  }
7068
- ], Fx = {
7077
+ ], Nx = {
7069
7078
  history: "pptx.editorToolbar.history",
7070
7079
  clipboard: "pptx.ribbon.clipboard",
7071
7080
  editing: "pptx.shortcuts.group.editing",
7072
7081
  navigation: "pptx.shortcuts.group.navigation",
7073
7082
  general: "pptx.settings.general"
7074
7083
  };
7075
- function Nx(e = Ax) {
7076
- return Object.keys(Fx).map((t) => ({
7084
+ function Rx(e = Fx) {
7085
+ return Object.keys(Nx).map((t) => ({
7077
7086
  group: t,
7078
- labelKey: Fx[t],
7087
+ labelKey: Nx[t],
7079
7088
  shortcuts: e.filter((e) => e.group === t)
7080
7089
  })).filter((e) => e.shortcuts.length > 0);
7081
7090
  }
7082
- function Rx(e, t, n, a, l = !1, o) {
7091
+ function $x(e, t, n, a, l = !1, o) {
7083
7092
  return Ll({
7084
7093
  key: e,
7085
7094
  ctrlKey: t,
@@ -7096,23 +7105,23 @@ function Rx(e, t, n, a, l = !1, o) {
7096
7105
  isControlTarget: a.isControl ?? !1
7097
7106
  }, o);
7098
7107
  }
7099
- function $x(e) {
7108
+ function Bx(e) {
7100
7109
  return hl(e.target);
7101
7110
  }
7102
- function Bx(e) {
7111
+ function Wx(e) {
7103
7112
  const { actions: t } = e;
7104
7113
  function n(t) {
7105
7114
  const n = t.metaKey || t.ctrlKey;
7106
- return Rx(t.key, n, t.shiftKey, function(t) {
7115
+ return $x(t.key, n, t.shiftKey, function(t) {
7107
7116
  return {
7108
- canEdit: Wx(e.canEdit, !0),
7109
- canPaste: Wx(e.canPaste, !0),
7110
- isPresenting: Wx(e.isPresenting, !1),
7111
- hasSelection: Wx(e.hasSelection, !1),
7112
- inlineEditingElementId: Wx(e.inlineEditingElementId, null),
7113
- tableEditorIsEditing: Wx(e.tableEditorIsEditing, !1),
7114
- activeTool: Wx(e.activeTool, "select"),
7115
- isTextInput: $x(t),
7117
+ canEdit: Ux(e.canEdit, !0),
7118
+ canPaste: Ux(e.canPaste, !0),
7119
+ isPresenting: Ux(e.isPresenting, !1),
7120
+ hasSelection: Ux(e.hasSelection, !1),
7121
+ inlineEditingElementId: Ux(e.inlineEditingElementId, null),
7122
+ tableEditorIsEditing: Ux(e.tableEditorIsEditing, !1),
7123
+ activeTool: Ux(e.activeTool, "select"),
7124
+ isTextInput: Bx(t),
7116
7125
  isControl: fl(t.target)
7117
7126
  };
7118
7127
  }(t), t.altKey, e.keyboard?.());
@@ -7143,10 +7152,10 @@ function Bx(e) {
7143
7152
  attach: l
7144
7153
  };
7145
7154
  }
7146
- function Wx(e, t) {
7155
+ function Ux(e, t) {
7147
7156
  return void 0 === e ? t : Ms(e);
7148
7157
  }
7149
- function Ux(e, t, n, a = () => !0) {
7158
+ function Vx(e, t, n, a = () => !0) {
7150
7159
  const l = (e) => n(e), o = (e) => {
7151
7160
  const n = t.value;
7152
7161
  n && l(vo(n, e));
@@ -7251,7 +7260,7 @@ function Ux(e, t, n, a = () => !0) {
7251
7260
  }
7252
7261
  };
7253
7262
  }
7254
- function Vx(e, t = 180) {
7263
+ function Hx(e, t = 180) {
7255
7264
  let n, a;
7256
7265
  const l = () => {
7257
7266
  void 0 !== n && (clearTimeout(n), n = void 0), a = void 0;
@@ -7267,7 +7276,7 @@ function Vx(e, t = 180) {
7267
7276
  void 0 !== n && (clearTimeout(n), o());
7268
7277
  }, ys(l), i;
7269
7278
  }
7270
- function Hx() {
7279
+ function jx() {
7271
7280
  const e = /* @__PURE__ */ new Map(), t = Ss(null);
7272
7281
  return {
7273
7282
  pendingFocusId: t,
@@ -7281,21 +7290,21 @@ function Hx() {
7281
7290
  }
7282
7291
  };
7283
7292
  }
7284
- var jx = [
7293
+ var Gx = [
7285
7294
  "colorful1",
7286
7295
  "colorful2",
7287
7296
  "colorful3",
7288
7297
  "monochromatic1",
7289
7298
  "monochromatic2"
7290
- ], Gx = [
7299
+ ], qx = [
7291
7300
  "flat",
7292
7301
  "moderate",
7293
7302
  "intense"
7294
7303
  ];
7295
- function qx(e, t) {
7304
+ function Kx(e, t) {
7296
7305
  return Gi($, e, t);
7297
7306
  }
7298
- function Kx(e) {
7307
+ function Yx(e) {
7299
7308
  const { smartArtData: t, apply: n } = e, a = Zr(() => t.value.nodes ?? []), l = Zr(() => t.value.colorScheme ?? "colorful1"), o = Zr(() => t.value.style ?? "flat"), i = Zr(() => t.value.resolvedLayoutType ?? "list"), r = Zr(() => nn(t.value)), s = Zr(() => ct(i.value, r.value)), u = Zr(() => Dn(i.value)), c = Zr(() => jn(t.value)), d = Zr(() => {
7300
7309
  const e = t.value, n = ft(i.value, r.value);
7301
7310
  let l = 0;
@@ -7313,7 +7322,7 @@ function Kx(e) {
7313
7322
  removeDisabled: a.value.length <= 1 || !i && !n
7314
7323
  };
7315
7324
  });
7316
- }), { pendingFocusId: p, setInputEl: v, focusNode: m } = Hx();
7325
+ }), { pendingFocusId: p, setInputEl: v, focusNode: m } = jx();
7317
7326
  function f(t, a) {
7318
7327
  const l = e.box?.value, o = l ? Mo(t, t.layout, xi(t), t.style ?? "flat", e.elementId ?? "smartart", l) : t;
7319
7328
  n({ smartArtData: o }), m(a);
@@ -7397,24 +7406,24 @@ function Kx(e) {
7397
7406
  }
7398
7407
  };
7399
7408
  }
7400
- function Yx(e, t, n) {
7409
+ function Xx(e, t, n) {
7401
7410
  return cl(Ds(e), t, n);
7402
7411
  }
7403
- function Xx(e, t) {
7412
+ function Zx(e, t) {
7404
7413
  const n = Ds(e), a = Go(n, t);
7405
7414
  return a === n ? null : a;
7406
7415
  }
7407
- function Zx(e, t, n) {
7416
+ function Jx(e, t, n) {
7408
7417
  return ul(Ds(e), t, n);
7409
7418
  }
7410
- function Jx(e, t) {
7419
+ function Qx(e, t) {
7411
7420
  const n = Ds(e), a = jo(n, t);
7412
7421
  return a === n ? null : a;
7413
7422
  }
7414
- function Qx(e, t) {
7423
+ function ek(e, t) {
7415
7424
  return !t || t.length < 2 || !mt(t, e) ? null : Vl(t, e);
7416
7425
  }
7417
- function ek(e) {
7426
+ function tk(e) {
7418
7427
  const t = Ps(/* @__PURE__ */ new Map()), n = Ps(""), a = Ps(/* @__PURE__ */ new Set()), l = Ps(/* @__PURE__ */ new Set()), o = Ps(!0);
7419
7428
  let i = null;
7420
7429
  const r = [], s = ln(), u = {
@@ -7424,8 +7433,8 @@ function ek(e) {
7424
7433
  timers: r,
7425
7434
  buildHandle: { current: null },
7426
7435
  onPlayActionSound: e.onPlayActionSound,
7427
- playSound: Mx,
7428
- stopSound: Ox,
7436
+ playSound: Ox,
7437
+ stopSound: Lx,
7429
7438
  frameRoot: e.frameRoot
7430
7439
  }, c = () => !1 !== Ms(e.showWithAnimation);
7431
7440
  function d() {
@@ -7494,11 +7503,11 @@ function ek(e) {
7494
7503
  clearTimers: d
7495
7504
  };
7496
7505
  }
7497
- var tk = 2.5, nk = 14, ak = .4, lk = 16, ok = 0;
7498
- function ik(e, t, n, a, l) {
7506
+ var nk = 2.5, ak = 14, lk = .4, ok = 16, ik = 0;
7507
+ function rk(e, t, n, a, l) {
7499
7508
  const o = "pen" === e;
7500
7509
  return {
7501
- id: `stroke-${ok += 1}`,
7510
+ id: `stroke-${ik += 1}`,
7502
7511
  points: [{
7503
7512
  x: t,
7504
7513
  y: n
@@ -7508,14 +7517,14 @@ function ik(e, t, n, a, l) {
7508
7517
  opacity: o ? 1 : .4
7509
7518
  };
7510
7519
  }
7511
- function rk(e, t, n, a = 16) {
7520
+ function sk(e, t, n, a = 16) {
7512
7521
  const l = a * a, o = e.filter((e) => !e.points.some((e) => {
7513
7522
  const a = e.x - t, o = e.y - n;
7514
7523
  return a * a + o * o < l;
7515
7524
  }));
7516
7525
  return o.length === e.length ? e : o;
7517
7526
  }
7518
- function sk(e) {
7527
+ function uk(e) {
7519
7528
  const t = Ss("none"), n = Ss("#ff0000"), a = Ss("#ffff00"), l = Ss([]), o = Ss(null), i = Ss(null), r = /* @__PURE__ */ new Map(), s = Ss(0);
7520
7529
  let u = !1, c = Ms(e.activeSlideIndex);
7521
7530
  function d() {
@@ -7545,7 +7554,7 @@ function sk(e) {
7545
7554
  handlePointerDown: function(l, i) {
7546
7555
  if (!Ms(e.isActive)) return;
7547
7556
  const r = t.value;
7548
- "pen" !== r && "highlighter" !== r || (u = !0, o.value = ik(r, l, i, n.value, a.value));
7557
+ "pen" !== r && "highlighter" !== r || (u = !0, o.value = rk(r, l, i, n.value, a.value));
7549
7558
  },
7550
7559
  handlePointerMove: function(t, n) {
7551
7560
  if (!Ms(e.isActive) || !u) return;
@@ -7579,7 +7588,7 @@ function sk(e) {
7579
7588
  },
7580
7589
  eraseAtPoint: function(n, a) {
7581
7590
  if (!Ms(e.isActive) || "eraser" !== t.value) return;
7582
- const o = rk(l.value, n, a);
7591
+ const o = sk(l.value, n, a);
7583
7592
  if (o === l.value) return;
7584
7593
  l.value = o;
7585
7594
  const i = Ms(e.activeSlideIndex);
@@ -7599,7 +7608,7 @@ function sk(e) {
7599
7608
  hasAnyAnnotations: Zr(() => (s.value, l.value.length > 0 || r.size > 0))
7600
7609
  };
7601
7610
  }
7602
- function uk(e) {
7611
+ function ck(e) {
7603
7612
  const n = Ss(!1);
7604
7613
  let a = null;
7605
7614
  function l() {
@@ -7621,7 +7630,7 @@ function uk(e) {
7621
7630
  }
7622
7631
  };
7623
7632
  }
7624
- function ck(e) {
7633
+ function dk(e) {
7625
7634
  const { targetRef: t, currentScale: n, minScale: a, maxScale: l, callbacks: o, enabled: i = !0 } = e;
7626
7635
  let r = null;
7627
7636
  const s = () => {
@@ -7645,7 +7654,7 @@ function ck(e) {
7645
7654
  })(e);
7646
7655
  }, { immediate: !0 }), ys(s);
7647
7656
  }
7648
- function dk(e) {
7657
+ function pk(e) {
7649
7658
  const t = Zr(() => {
7650
7659
  const t = e.transition();
7651
7660
  return "morph" === t?.type ? Ge(e.outgoingSlide(), e.incomingSlide(), e.durationMs(), Gl(t.morphOption)) : void 0;
@@ -7702,7 +7711,7 @@ function dk(e) {
7702
7711
  })
7703
7712
  };
7704
7713
  }
7705
- var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7714
+ var vk = ["data-pptx-transition-fragment"], mk = Av(ls({
7706
7715
  __name: "FragmentedTransitionLayer",
7707
7716
  props: {
7708
7717
  layer: {},
@@ -7735,7 +7744,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7735
7744
  "data-pptx-transition-fragment": t.id,
7736
7745
  class: "pptx-vue-transition-fragment",
7737
7746
  style: ms(a(t))
7738
- }, [as(_x, {
7747
+ }, [as(Cx, {
7739
7748
  slide: e.slide,
7740
7749
  "canvas-size": e.canvasSize,
7741
7750
  "media-data-urls": e.mediaDataUrls,
@@ -7745,9 +7754,9 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7745
7754
  "canvas-size",
7746
7755
  "media-data-urls",
7747
7756
  "scale"
7748
- ])], 12, pk))), 128));
7757
+ ])], 12, vk))), 128));
7749
7758
  }
7750
- }), [["__scopeId", "data-v-f67781fa"]]), mk = ["data-pptx-morph-crossfade"], fk = Av(ls({
7759
+ }), [["__scopeId", "data-v-f67781fa"]]), fk = ["data-pptx-morph-crossfade"], hk = Av(ls({
7751
7760
  __name: "MorphExtraLayers",
7752
7761
  props: {
7753
7762
  liftedSlide: {},
@@ -7763,7 +7772,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7763
7772
  "data-pptx-transition-layer": "lifted",
7764
7773
  "data-pptx-morph-lifted": "true",
7765
7774
  style: ms(e.liftedLayerStyle)
7766
- }, [as(_x, {
7775
+ }, [as(Cx, {
7767
7776
  slide: e.liftedSlide,
7768
7777
  "canvas-size": e.canvasSize,
7769
7778
  "media-data-urls": e.mediaDataUrls,
@@ -7784,7 +7793,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7784
7793
  "data-pptx-transition-layer": "outgoing",
7785
7794
  "data-pptx-morph-outgoing": "true",
7786
7795
  style: ms(t.outgoingStyle)
7787
- }, [as(_x, {
7796
+ }, [as(Cx, {
7788
7797
  slide: t.outgoingSlide,
7789
7798
  "canvas-size": e.canvasSize,
7790
7799
  "media-data-urls": e.mediaDataUrls,
@@ -7801,7 +7810,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7801
7810
  "data-pptx-transition-layer": "lifted",
7802
7811
  "data-pptx-morph-lifted": "true",
7803
7812
  style: ms(t.incomingStyle)
7804
- }, [as(_x, {
7813
+ }, [as(Cx, {
7805
7814
  slide: t.incomingSlide,
7806
7815
  "canvas-size": e.canvasSize,
7807
7816
  "media-data-urls": e.mediaDataUrls,
@@ -7813,11 +7822,11 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7813
7822
  "canvas-size",
7814
7823
  "media-data-urls",
7815
7824
  "scale"
7816
- ])], 4)], 12, mk))), 128))], 64))
7817
- }), [["__scopeId", "data-v-adf1a9bf"]]), hk = {
7825
+ ])], 4)], 12, fk))), 128))], 64))
7826
+ }), [["__scopeId", "data-v-adf1a9bf"]]), yk = {
7818
7827
  class: "pptx-vue-transition-overlay",
7819
7828
  "data-pptx-transition-overlay": ""
7820
- }, yk = ["data-pptx-morph-outgoing", "data-pptx-transition-fragments"], gk = ["data-pptx-morph-incoming", "data-pptx-transition-fragments"], xk = Av(ls({
7829
+ }, gk = ["data-pptx-morph-outgoing", "data-pptx-transition-fragments"], xk = ["data-pptx-morph-incoming", "data-pptx-transition-fragments"], kk = Av(ls({
7821
7830
  __name: "PresentationTransitionOverlay",
7822
7831
  props: {
7823
7832
  outgoingSlide: {},
@@ -7829,7 +7838,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7829
7838
  },
7830
7839
  emits: ["done"],
7831
7840
  setup(e, { emit: t }) {
7832
- const n = e, a = t, l = Zr(() => Ci(n.transition)), o = Zr(() => Li(n.transition)), i = Zr(() => n.transition ? Ia(n.transition.type, o.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: r, morphOutgoingSlide: s, morphLiftedSlide: u, morphCrossfadeGroups: c, morphCss: d } = dk({
7841
+ const n = e, a = t, l = Zr(() => Ci(n.transition)), o = Zr(() => Li(n.transition)), i = Zr(() => n.transition ? Ia(n.transition.type, o.value, n.transition.direction, n.transition.spokes, n.transition.pattern) : void 0), { morphPlan: r, morphOutgoingSlide: s, morphLiftedSlide: u, morphCrossfadeGroups: c, morphCss: d } = pk({
7833
7842
  transition: () => n.transition,
7834
7843
  outgoingSlide: () => n.outgoingSlide,
7835
7844
  incomingSlide: () => n.incomingSlide,
@@ -7843,8 +7852,8 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7843
7852
  }));
7844
7853
  As(() => n.transition, (e) => {
7845
7854
  xe(e, (e) => n.mediaDataUrls.get(e), {
7846
- play: Mx,
7847
- stop: Ox
7855
+ play: Ox,
7856
+ stop: Lx
7848
7857
  });
7849
7858
  }, { immediate: !0 });
7850
7859
  let y = null;
@@ -7855,7 +7864,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7855
7864
  }, e);
7856
7865
  }), fs(function() {
7857
7866
  null !== y && (clearTimeout(y), y = null);
7858
- }), (t, n) => (ks(), es("div", hk, [
7867
+ }), (t, n) => (ks(), es("div", yk, [
7859
7868
  (ks(), Jr(Cs("style"), null, {
7860
7869
  default: Rs(() => [ns(Ts(Os(R)), 1)]),
7861
7870
  _: 1
@@ -7870,7 +7879,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7870
7879
  "data-pptx-morph-outgoing": Os(r) ? "true" : void 0,
7871
7880
  "data-pptx-transition-fragments": !Os(r) && i.value?.outgoing ? i.value.outgoing.keyframesName : void 0,
7872
7881
  style: ms(m.value)
7873
- }, [!Os(r) && i.value?.outgoing ? (ks(), Jr(vk, {
7882
+ }, [!Os(r) && i.value?.outgoing ? (ks(), Jr(mk, {
7874
7883
  key: 0,
7875
7884
  layer: i.value.outgoing,
7876
7885
  slide: e.outgoingSlide,
@@ -7884,7 +7893,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7884
7893
  "canvas-size",
7885
7894
  "media-data-urls",
7886
7895
  "scale"
7887
- ])) : (ks(), Jr(_x, {
7896
+ ])) : (ks(), Jr(Cx, {
7888
7897
  key: 1,
7889
7898
  slide: Os(r) ? Os(s) : e.outgoingSlide,
7890
7899
  "canvas-size": e.canvasSize,
@@ -7899,14 +7908,14 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7899
7908
  "scale",
7900
7909
  "preserve-element-ids",
7901
7910
  "transparent-background"
7902
- ]))], 12, yk),
7911
+ ]))], 12, gk),
7903
7912
  ts("div", {
7904
7913
  class: "pptx-vue-transition-layer",
7905
7914
  "data-pptx-transition-layer": "incoming",
7906
7915
  "data-pptx-morph-incoming": Os(r) ? "true" : void 0,
7907
7916
  "data-pptx-transition-fragments": !Os(r) && i.value?.incoming ? i.value.incoming.keyframesName : void 0,
7908
7917
  style: ms(h.value)
7909
- }, [!Os(r) && i.value?.incoming ? (ks(), Jr(vk, {
7918
+ }, [!Os(r) && i.value?.incoming ? (ks(), Jr(mk, {
7910
7919
  key: 0,
7911
7920
  layer: i.value.incoming,
7912
7921
  slide: e.incomingSlide,
@@ -7920,7 +7929,7 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7920
7929
  "canvas-size",
7921
7930
  "media-data-urls",
7922
7931
  "scale"
7923
- ])) : (ks(), Jr(_x, {
7932
+ ])) : (ks(), Jr(Cx, {
7924
7933
  key: 1,
7925
7934
  slide: e.incomingSlide,
7926
7935
  "canvas-size": e.canvasSize,
@@ -7933,8 +7942,8 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7933
7942
  "media-data-urls",
7934
7943
  "scale",
7935
7944
  "preserve-element-ids"
7936
- ]))], 12, gk),
7937
- as(fk, {
7945
+ ]))], 12, xk),
7946
+ as(hk, {
7938
7947
  "lifted-slide": Os(u),
7939
7948
  "lifted-layer-style": f.value,
7940
7949
  "crossfade-groups": Os(c),
@@ -7952,16 +7961,16 @@ var pk = ["data-pptx-transition-fragment"], vk = Av(ls({
7952
7961
  ]));
7953
7962
  }
7954
7963
  }), [["__scopeId", "data-v-be6bfe13"]]);
7955
- function kk(e) {
7964
+ function wk(e) {
7956
7965
  const t = Math.max(0, Math.floor(e / 1e3)), n = Math.floor(t / 60), a = t % 60;
7957
7966
  return `${String(n)}:${String(a).padStart(2, "0")}`;
7958
7967
  }
7959
- function wk(e, t, n = 0, a = null) {
7968
+ function bk(e, t, n = 0, a = null) {
7960
7969
  if (null === e) return 0;
7961
7970
  let l = n;
7962
7971
  return null !== a && (l += t - a), Math.max(0, t - e - l);
7963
7972
  }
7964
- function bk(e = {}) {
7973
+ function Sk(e = {}) {
7965
7974
  const t = e.now ?? Date.now, n = e.tickIntervalMs ?? 250, a = Ss(!1), l = Ss(!1), o = Ss(!1), i = Ss({}), r = Ss(null), s = Ss(null);
7966
7975
  let u = 0, c = null;
7967
7976
  const d = Ss(0);
@@ -7974,7 +7983,7 @@ function bk(e = {}) {
7974
7983
  d.value += 1;
7975
7984
  }, n));
7976
7985
  }
7977
- const f = Zr(() => (d.value, a.value ? wk(s.value, t(), u, c) : 0)), h = Zr(() => (d.value, a.value ? wk(r.value, t()) : 0)), y = Zr(() => Object.values(i.value).reduce((e, t) => e + t, 0));
7986
+ const f = Zr(() => (d.value, a.value ? bk(s.value, t(), u, c) : 0)), h = Zr(() => (d.value, a.value ? bk(r.value, t()) : 0)), y = Zr(() => Object.values(i.value).reduce((e, t) => e + t, 0));
7978
7987
  return ys(v), {
7979
7988
  rehearsing: a,
7980
7989
  paused: l,
@@ -7989,7 +7998,7 @@ function bk(e = {}) {
7989
7998
  },
7990
7999
  recordCurrentSlideTime: function(e) {
7991
8000
  if (null === s.value) return;
7992
- const n = wk(s.value, t(), u, c);
8001
+ const n = bk(s.value, t(), u, c);
7993
8002
  i.value = {
7994
8003
  ...i.value,
7995
8004
  [e]: n
@@ -8009,18 +8018,18 @@ function bk(e = {}) {
8009
8018
  }
8010
8019
  };
8011
8020
  }
8012
- var Sk = {
8021
+ var Ek = {
8013
8022
  valid: 0,
8014
8023
  unverified: 1,
8015
8024
  unknownCA: 2,
8016
8025
  expired: 3,
8017
8026
  invalid: 4
8018
8027
  };
8019
- function Ek(e) {
8028
+ function Ik(e) {
8020
8029
  const t = Zr(() => Ms(e) ?? []), n = Zr(() => t.value.length > 0), a = Zr(() => {
8021
8030
  if (0 === t.value.length) return;
8022
8031
  let e = "valid";
8023
- for (const n of t.value) Sk[n.status] > Sk[e] && (e = n.status);
8032
+ for (const n of t.value) Ek[n.status] > Ek[e] && (e = n.status);
8024
8033
  return e;
8025
8034
  });
8026
8035
  return {
@@ -8030,26 +8039,26 @@ function Ek(e) {
8030
8039
  overall: Zr(() => n.value ? "invalid" === a.value ? "invalid" : "signed" : "unsigned")
8031
8040
  };
8032
8041
  }
8033
- var Ik = {
8042
+ var _k = {
8034
8043
  error: 0,
8035
8044
  warning: 1,
8036
8045
  tip: 2
8037
8046
  };
8038
- function _k(e, t = {}) {
8047
+ function Ck(e, t = {}) {
8039
8048
  const n = Zr(() => {
8040
8049
  const n = Ms(e), a = Ms(t), l = a.minContrastRatio ?? 4.5, o = a.skipContrast ?? !1, i = a.skipBlankSlide ?? !1, r = [];
8041
8050
  for (let e = 0; e < n.length; e++) {
8042
8051
  const t = n[e];
8043
8052
  r.push(...(0, lu.checkMissingAltText)(t, e)), r.push(...(0, lu.checkMissingSlideTitle)(t, e)), o || r.push(...(0, lu.checkLowContrast)(t, e, l, t.backgroundColor)), r.push(...(0, lu.checkComplexTables)(t, e)), i || r.push(...(0, lu.checkBlankSlide)(t, e));
8044
8053
  }
8045
- return r.push(...(0, lu.checkDuplicateTitles)(n)), r.sort((e, t) => e.slideIndex - t.slideIndex || Ik[e.severity] - Ik[t.severity]), r;
8054
+ return r.push(...(0, lu.checkDuplicateTitles)(n)), r.sort((e, t) => e.slideIndex - t.slideIndex || _k[e.severity] - _k[t.severity]), r;
8046
8055
  });
8047
8056
  return {
8048
8057
  issues: n,
8049
8058
  issueCount: Zr(() => n.value.length)
8050
8059
  };
8051
8060
  }
8052
- function Ck(e) {
8061
+ function Pk(e) {
8053
8062
  const { selectedElements: t, selectedElementIds: n, activeSlideIndex: a, slides: l, canvasSize: o, pushHistory: i } = e;
8054
8063
  function r(e) {
8055
8064
  if (0 === e.size) return;
@@ -8107,14 +8116,14 @@ function Ck(e) {
8107
8116
  }
8108
8117
  };
8109
8118
  }
8110
- var Pk = {
8119
+ var Tk = {
8111
8120
  setTimer: (e, t) => setTimeout(e, t),
8112
8121
  clearTimer: (e) => {
8113
8122
  clearTimeout(e);
8114
8123
  }
8115
8124
  };
8116
- function Tk(e) {
8117
- const { slides: t, templateElements: n, enabled: a = !0, intervalMs: l, onSave: o } = e, i = e.timers ?? Pk, r = Ss("idle"), s = Ss(null), u = Ss(!1);
8125
+ function Dk(e) {
8126
+ const { slides: t, templateElements: n, enabled: a = !0, intervalMs: l, onSave: o } = e, i = e.timers ?? Tk, r = Ss("idle"), s = Ss(null), u = Ss(!1);
8118
8127
  let c = null, d = null, p = null;
8119
8128
  const v = () => !1 !== Ms(a), m = () => {
8120
8129
  null !== c && (i.clearTimer(c), c = null);
@@ -8157,7 +8166,7 @@ function Tk(e) {
8157
8166
  isDirty: u
8158
8167
  };
8159
8168
  }
8160
- function Dk(e, t) {
8169
+ function Mk(e, t) {
8161
8170
  const n = Ss(!1), a = rn();
8162
8171
  let l = null, o = null, i = null, r = !1, s = "", u = null, c = null;
8163
8172
  const d = wn({
@@ -8245,13 +8254,13 @@ function Dk(e, t) {
8245
8254
  }
8246
8255
  };
8247
8256
  }
8248
- var Mk = 1e5;
8249
- function Ok(e) {
8250
- if (void 0 === e) return Mk;
8257
+ var Ok = 1e5;
8258
+ function Lk(e) {
8259
+ if (void 0 === e) return Ok;
8251
8260
  const t = "number" == typeof e ? e : e.value;
8252
- return t > 0 ? t : Mk;
8261
+ return t > 0 ? t : Ok;
8253
8262
  }
8254
- function Lk(e) {
8263
+ function zk(e) {
8255
8264
  const t = Ss([]), n = Ss([]), a = Ss([]), l = Ss(null), o = Zr(() => t.value.find((e) => e.clientId === l.value)?.activeSlide ?? null), i = Zr(() => t.value.find((e) => "owner" === e.role)?.activeSlide ?? null), r = function() {
8256
8265
  const e = mn();
8257
8266
  let t = [];
@@ -8289,7 +8298,7 @@ function Lk(e) {
8289
8298
  let s = null, u = null, c = 0, d = null;
8290
8299
  function p() {
8291
8300
  if (!s) return;
8292
- const o = r.project(s.getStates(), s.clientID ?? -1, Ok(e.canvasWidth), Ok(e.canvasHeight), c);
8301
+ const o = r.project(s.getStates(), s.clientID ?? -1, Lk(e.canvasWidth), Lk(e.canvasHeight), c);
8293
8302
  o.changed && (t.value = o.presences, n.value = o.remoteUsers, a.value = o.cursors, null === l.value || o.presences.some((e) => e.clientId === l.value) || (l.value = null));
8294
8303
  }
8295
8304
  return {
@@ -8323,8 +8332,8 @@ function Lk(e) {
8323
8332
  }
8324
8333
  };
8325
8334
  }
8326
- function zk(e) {
8327
- const t = Ss("disconnected"), n = Zr(() => "connected" === t.value), a = Ss(!1), o = Ps(null), i = Ss(void 0), r = Lk(e), s = Dk(e, t), u = Zr(() => li({
8335
+ function Ak(e) {
8336
+ const t = Ss("disconnected"), n = Zr(() => "connected" === t.value), a = Ss(!1), o = Ps(null), i = Ss(void 0), r = zk(e), s = Mk(e, t), u = Zr(() => li({
8328
8337
  authorizedCanEdit: Ms(e.canEdit) ?? !0,
8329
8338
  configured: Boolean(Ms(e.collaboration) || o.value),
8330
8339
  readOnly: s.readOnly.value,
@@ -8365,7 +8374,7 @@ function zk(e) {
8365
8374
  }
8366
8375
  const x = await async function(e, t, n) {
8367
8376
  if ("webrtc" === e) {
8368
- const { WebrtcProvider: e } = await import("./y-webrtc-swexTCT2.js"), a = new e(t.roomId, n, {
8377
+ const { WebrtcProvider: e } = await import("./y-webrtc-rRVx0xtd.js"), a = new e(t.roomId, n, {
8369
8378
  signaling: t.signaling?.length ? t.signaling : void 0,
8370
8379
  password: t.authToken || void 0
8371
8380
  }), l = un(t.roomId, a.awareness);
@@ -8451,8 +8460,8 @@ function zk(e) {
8451
8460
  livePatcher: s.livePatcher
8452
8461
  };
8453
8462
  }
8454
- function Ak(e) {
8455
- const { slides: t, loadVersion: n, getLoadOrigin: a, getTemplateElements: l, getSourceBytes: o, getSaveOptions: i, initialUserColor: r, canvasWidth: s, canvasHeight: u, collaborationProp: c, selectedElementIds: d, activeSlideIndex: p, goTo: v, effectiveZoom: m, authorName: f, onStartCollaboration: h, onStopCollaboration: y } = e, g = zk({
8463
+ function Fk(e) {
8464
+ const { slides: t, loadVersion: n, getLoadOrigin: a, getTemplateElements: l, getSourceBytes: o, getSaveOptions: i, initialUserColor: r, canvasWidth: s, canvasHeight: u, collaborationProp: c, selectedElementIds: d, activeSlideIndex: p, goTo: v, effectiveZoom: m, authorName: f, onStartCollaboration: h, onStopCollaboration: y } = e, g = Ak({
8456
8465
  collaboration: c,
8457
8466
  slides: t,
8458
8467
  loadVersion: n,
@@ -8522,7 +8531,7 @@ function Ak(e) {
8522
8531
  }
8523
8532
  };
8524
8533
  }
8525
- function Fk(e) {
8534
+ function Nk(e) {
8526
8535
  const t = Zr(() => Ms(e.comments) ?? []);
8527
8536
  return {
8528
8537
  slideComments: t,
@@ -8557,12 +8566,12 @@ function Fk(e) {
8557
8566
  }
8558
8567
  };
8559
8568
  }
8560
- function Nk(e) {
8569
+ function Rk(e) {
8561
8570
  const { activeSlide: t, activeSlideIndex: n, slides: a, authorName: l, pushHistory: o } = e, i = Ss(!1), r = Zr(() => t.value?.comments ?? []);
8562
8571
  return {
8563
8572
  showComments: i,
8564
8573
  activeComments: r,
8565
- commentsApi: Fk({
8574
+ commentsApi: Nk({
8566
8575
  comments: r,
8567
8576
  activeSlideIndex: n,
8568
8577
  authorName: l
@@ -8580,10 +8589,31 @@ function Nk(e) {
8580
8589
  ...l,
8581
8590
  comments: e
8582
8591
  }, a.value = i;
8592
+ },
8593
+ reviewHost: {
8594
+ slides: () => a.value,
8595
+ currentSlide: () => n.value,
8596
+ goToSlide: (e) => {
8597
+ n.value = e;
8598
+ },
8599
+ ensureCommentsOpen: () => {
8600
+ i.value = !0;
8601
+ },
8602
+ applyComments: (e) => {
8603
+ const t = a.value.slice();
8604
+ for (const { slideIndex: n, comments: a } of e) {
8605
+ const e = t[n];
8606
+ e && (t[n] = {
8607
+ ...e,
8608
+ comments: a
8609
+ });
8610
+ }
8611
+ o(), a.value = t;
8612
+ }
8583
8613
  }
8584
8614
  };
8585
8615
  }
8586
- async function Rk(e, t = {}) {
8616
+ async function $k(e, t = {}) {
8587
8617
  const { default: n } = await import("html2canvas-pro"), a = t.onclone;
8588
8618
  return n(e, {
8589
8619
  ...t,
@@ -8592,7 +8622,7 @@ async function Rk(e, t = {}) {
8592
8622
  }
8593
8623
  });
8594
8624
  }
8595
- function $k(e, t, n) {
8625
+ function Bk(e, t, n) {
8596
8626
  const a = t?.el.tableData;
8597
8627
  if (!t || !a) return;
8598
8628
  const l = (e) => {
@@ -8605,22 +8635,22 @@ function $k(e, t, n) {
8605
8635
  }, { rowIndex: i, columnIndex: r } = t.sel;
8606
8636
  switch (e) {
8607
8637
  case "table-insert-row-above":
8608
- o(Yx(t.el, i, "above"));
8638
+ o(Xx(t.el, i, "above"));
8609
8639
  break;
8610
8640
  case "table-insert-row-below":
8611
- o(Yx(t.el, i, "below"));
8641
+ o(Xx(t.el, i, "below"));
8612
8642
  break;
8613
8643
  case "table-delete-row":
8614
- o(Xx(t.el, i));
8644
+ o(Zx(t.el, i));
8615
8645
  break;
8616
8646
  case "table-insert-col-left":
8617
- o(Zx(t.el, r, "left"));
8647
+ o(Jx(t.el, r, "left"));
8618
8648
  break;
8619
8649
  case "table-insert-col-right":
8620
- o(Zx(t.el, r, "right"));
8650
+ o(Jx(t.el, r, "right"));
8621
8651
  break;
8622
8652
  case "table-delete-col":
8623
- o(Jx(t.el, r));
8653
+ o(Qx(t.el, r));
8624
8654
  break;
8625
8655
  case "table-merge-right":
8626
8656
  l(function(e, t, n) {
@@ -8641,7 +8671,7 @@ function $k(e, t, n) {
8641
8671
  }(a, i, r));
8642
8672
  break;
8643
8673
  case "table-merge-selected":
8644
- l(Qx(a, t.sel.selectedCells));
8674
+ l(ek(a, t.sel.selectedCells));
8645
8675
  break;
8646
8676
  case "table-split": l(function(e, t, n) {
8647
8677
  const a = Yt(e, t, n);
@@ -8652,7 +8682,7 @@ function $k(e, t, n) {
8652
8682
  }(a, i, r));
8653
8683
  }
8654
8684
  }
8655
- function Bk(e) {
8685
+ function Wk(e) {
8656
8686
  const { t } = Dv(), { canEdit: n, findActiveElement: a, tableSelection: l, hasClipboard: o, canGroup: i, selectionGroupable: r, editTemplateMode: s, selectedElementIds: u, inlineEditingElementId: c, inspectorOpen: d, enterInlineEdit: p, ops: v, cutElement: m, copyElement: f, pasteElement: h, onGroup: y, onUngroup: g, openHyperlinkDialog: x, onAddComment: k, aiEnabled: w, onAskAi: b, onFixAi: S, onEmptyCanvasContextMenu: E, customization: I, onEditPoints: _, mergeCrop: C } = e, P = Ss({
8657
8687
  open: !1,
8658
8688
  x: 0,
@@ -8788,7 +8818,7 @@ function Bk(e) {
8788
8818
  const l = a.getBoundingClientRect(), o = l.width || a.offsetWidth, i = l.height || a.offsetHeight;
8789
8819
  await Vi(a, o, i, document, Bn(t, n), {
8790
8820
  scale: 2,
8791
- html2canvasFallback: (e, t) => Rk(a, {
8821
+ html2canvasFallback: (e, t) => $k(a, {
8792
8822
  scale: t.width / (e.width || 1),
8793
8823
  x: e.x,
8794
8824
  y: e.y,
@@ -8815,14 +8845,14 @@ function Bk(e) {
8815
8845
  break;
8816
8846
  default: {
8817
8847
  const t = Hl(e);
8818
- t ? C?.merge(t) : $k(e, D.value, v);
8848
+ t ? C?.merge(t) : Bk(e, D.value, v);
8819
8849
  break;
8820
8850
  }
8821
8851
  }
8822
8852
  }
8823
8853
  };
8824
8854
  }
8825
- function Wk(e) {
8855
+ function Uk(e) {
8826
8856
  const { customShows: t, slides: n, activeSlideIndex: a, pushHistory: l } = e, o = Zr(() => {
8827
8857
  const e = n.value[a.value];
8828
8858
  return e?.rId && e.rId.length > 0 ? e.rId : void 0;
@@ -8885,8 +8915,8 @@ function Wk(e) {
8885
8915
  activeSlideRId: o
8886
8916
  };
8887
8917
  }
8888
- function Uk(e) {
8889
- const { customShows: t, slides: n, activeSlideIndex: a, activeSlide: l, pushHistory: o } = e, { t: i } = Dv(), r = Ss(!1), s = Ss(null), u = Wk({
8918
+ function Vk(e) {
8919
+ const { customShows: t, slides: n, activeSlideIndex: a, activeSlide: l, pushHistory: o } = e, { t: i } = Dv(), r = Ss(!1), s = Ss(null), u = Uk({
8890
8920
  customShows: t,
8891
8921
  slides: n,
8892
8922
  activeSlideIndex: a,
@@ -8929,7 +8959,7 @@ function Uk(e) {
8929
8959
  }
8930
8960
  };
8931
8961
  }
8932
- function Vk(e) {
8962
+ function Hk(e) {
8933
8963
  const { coreProperties: t, customProperties: n, appProperties: a } = e, l = Ss(!1);
8934
8964
  return {
8935
8965
  propertiesOpen: l,
@@ -8944,7 +8974,7 @@ function Vk(e) {
8944
8974
  }
8945
8975
  };
8946
8976
  }
8947
- function Hk(e, t, n) {
8977
+ function jk(e, t, n) {
8948
8978
  const a = new f({ maxDepth: n?.maxDepth ?? 120 }), l = Ps(0), o = () => {
8949
8979
  l.value++;
8950
8980
  }, i = (e) => {
@@ -8986,17 +9016,17 @@ function Hk(e, t, n) {
8986
9016
  }
8987
9017
  };
8988
9018
  }
8989
- function jk(e, t) {
9019
+ function Gk(e, t) {
8990
9020
  return 0 === t.size ? e : ye(e, Zo(e, t));
8991
9021
  }
8992
- function Gk(e) {
9022
+ function qk(e) {
8993
9023
  const { slides: t, activeSlideIndex: n, templateElementsBySlideId: a } = e;
8994
9024
  return function(e) {
8995
9025
  if (0 === e.size) return;
8996
9026
  const l = n.value, o = function(e, t, n) {
8997
9027
  const a = e[t];
8998
9028
  if (!a) return e;
8999
- const l = jk(a.elements, n);
9029
+ const l = Gk(a.elements, n);
9000
9030
  if (l === a.elements) return e;
9001
9031
  const o = e.slice();
9002
9032
  return o[t] = {
@@ -9007,11 +9037,11 @@ function Gk(e) {
9007
9037
  o !== t.value && (t.value = o);
9008
9038
  const i = t.value[l], r = i ? a.value[i.id] : void 0;
9009
9039
  if (!i || !r) return;
9010
- const s = jk(r, e);
9040
+ const s = Gk(r, e);
9011
9041
  s !== r && (a.value = lr(a.value, i.id, s));
9012
9042
  };
9013
9043
  }
9014
- function qk(e) {
9044
+ function Kk(e) {
9015
9045
  const { canEdit: t, hasSelection: n, presenting: a, findOpen: l, selectedElementIds: o, activeSlide: i, activeSlideIndex: r, slides: s, templateElementsBySlideId: u, pushHistory: c, undo: d, redo: p, copyElement: v, cutElement: m, pasteElement: f, onPasteSpecial: h, duplicateSelected: y, deleteSelected: g, goPrev: x, goNext: k, onEscape: w, onGroup: b, onUngroup: S, presentFromBeginning: E, startPresenting: I, inlineEditingElementId: _, tableEditorIsEditing: C, activeTool: P, selectedElements: T, selectElement: D, ribbonUpdateTextStyle: M, addSlide: O, openHyperlinkForSelection: L, toggleFormatPainter: z, applyFormatToTarget: A, cancelFormatPainter: F } = e, N = Ss(!1);
9016
9046
  function R() {
9017
9047
  o.value = (i.value?.elements ?? []).map((e) => e.id);
@@ -9025,7 +9055,7 @@ function qk(e) {
9025
9055
  e && m(e);
9026
9056
  }
9027
9057
  const W = function(e) {
9028
- const { selectedElementIds: t, activeSlideIndex: n, slides: a, templateElementsBySlideId: l, pushHistory: o } = e, i = Gk({
9058
+ const { selectedElementIds: t, activeSlideIndex: n, slides: a, templateElementsBySlideId: l, pushHistory: o } = e, i = qk({
9029
9059
  slides: a,
9030
9060
  activeSlideIndex: n,
9031
9061
  templateElementsBySlideId: l
@@ -9075,7 +9105,7 @@ function qk(e) {
9075
9105
  const t = (i.value?.elements ?? []).map((e) => e.id), n = Sn(t, o.value[0] ?? null, e);
9076
9106
  n && D(n, !1);
9077
9107
  }
9078
- const H = Bx({
9108
+ const H = Wx({
9079
9109
  canPaste: e.canPaste,
9080
9110
  actions: {
9081
9111
  undo: d,
@@ -9154,7 +9184,7 @@ function qk(e) {
9154
9184
  selectAllElements: R
9155
9185
  };
9156
9186
  }
9157
- function Kk(e) {
9187
+ function Yk(e) {
9158
9188
  const { slides: t, activeSlideIndex: n, pushHistory: a } = e, l = e.selectedElementIds ?? Ss([]), o = Zr(() => t.value[n.value]), i = (e) => {
9159
9189
  const l = n.value;
9160
9190
  t.value[l] && (a(), t.value = t.value.map((t, n) => n === l ? {
@@ -9247,7 +9277,7 @@ function Kk(e) {
9247
9277
  }
9248
9278
  };
9249
9279
  }
9250
- function Yk(e) {
9280
+ function Xk(e) {
9251
9281
  const { findActiveElement: t, pushHistory: n, effectiveZoom: a, activeTemplateElements: l, activeSlide: o, activeSlideIndex: i, slides: r, templateElementsBySlideId: s, canvasSize: u, enterInlineEdit: c, gridSpacingPx: d } = e, p = function(e) {
9252
9282
  const t = Ss(!1), n = Ss(!1), a = Ss([]), l = Ss([]);
9253
9283
  return {
@@ -9292,13 +9322,13 @@ function Yk(e) {
9292
9322
  elements: u
9293
9323
  }, t.value = c;
9294
9324
  };
9295
- }(y), x = Gk(y);
9325
+ }(y), x = qk(y);
9296
9326
  let k = null, w = !0, b = !1;
9297
9327
  const S = cn({
9298
9328
  getScale: () => a.value,
9299
9329
  getElementBox: (e) => {
9300
9330
  const n = t(e);
9301
- return n ? Cx(n) : void 0;
9331
+ return n ? Px(n) : void 0;
9302
9332
  },
9303
9333
  getSiblings: () => {
9304
9334
  if (!k) return [];
@@ -9380,7 +9410,7 @@ function Yk(e) {
9380
9410
  cancelElementDrag: () => S.dispose(),
9381
9411
  onTransformStart: function(e) {
9382
9412
  const a = e ? t(e.id) : void 0;
9383
- I = a ? ui(a) : null, _ = a ? Cx(a) : null, n();
9413
+ I = a ? ui(a) : null, _ = a ? Px(a) : null, n();
9384
9414
  },
9385
9415
  onTransform: function(e) {
9386
9416
  E(C(e));
@@ -9402,7 +9432,7 @@ function Yk(e) {
9402
9432
  }
9403
9433
  };
9404
9434
  }
9405
- function Xk(e) {
9435
+ function Zk(e) {
9406
9436
  const { canvasSize: t, ops: n, selectedElementIds: a, activeSlideIndex: l } = e, o = function(e) {
9407
9437
  const { slides: t, activeSlideIndex: n, handler: a, pushHistory: l, templateElementsBySlideId: o } = e;
9408
9438
  return {
@@ -9550,27 +9580,27 @@ function Xk(e) {
9550
9580
  ...o
9551
9581
  };
9552
9582
  }
9553
- var Zk = /["\\\n\r;}<>]/u, Jk = /* @__PURE__ */ new Set([
9583
+ var Jk = /["\\\n\r;}<>]/u, Qk = /* @__PURE__ */ new Set([
9554
9584
  "truetype",
9555
9585
  "opentype",
9556
9586
  "woff",
9557
9587
  "woff2"
9558
- ]), Qk = /^data:font\/[a-z0-9+.-]+(?:;charset=[a-z0-9-]+)?;base64,[a-z0-9+/=]+$/iu;
9559
- function ew() {
9588
+ ]), ew = /^data:font\/[a-z0-9+.-]+(?:;charset=[a-z0-9-]+)?;base64,[a-z0-9+/=]+$/iu;
9589
+ function tw() {
9560
9590
  return "undefined" != typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "undefined" != typeof Blob;
9561
9591
  }
9562
- var tw = {
9592
+ var nw = {
9563
9593
  truetype: "font/ttf",
9564
9594
  opentype: "font/otf",
9565
9595
  woff: "font/woff",
9566
9596
  woff2: "font/woff2"
9567
9597
  };
9568
- function nw(e) {
9598
+ function aw(e) {
9569
9599
  const t = "string" == typeof e.name ? e.name.trim() : "";
9570
- if (0 === t.length || Zk.test(t)) return null;
9600
+ if (0 === t.length || Jk.test(t)) return null;
9571
9601
  const n = e.bold ? "700" : "400", a = e.italic ? "italic" : "normal";
9572
- if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") || Qk.test(l))) {
9573
- const l = e.format && Jk.has(e.format) ? e.format : "truetype";
9602
+ if ("string" == typeof (l = e.dataUrl) && 0 !== l.length && (l.startsWith("blob:") || ew.test(l))) {
9603
+ const l = e.format && Qk.has(e.format) ? e.format : "truetype";
9574
9604
  return {
9575
9605
  name: t,
9576
9606
  url: e.dataUrl,
@@ -9580,10 +9610,10 @@ function nw(e) {
9580
9610
  };
9581
9611
  }
9582
9612
  var l;
9583
- if (!ew()) return null;
9613
+ if (!tw()) return null;
9584
9614
  let o;
9585
9615
  if (e.rawFontData && e.rawFontData.length > 0 ? o = e.rawFontData : e.originalPartBytes && e.originalPartBytes.length > 0 && e.fontGuid && (o = (0, lu.deobfuscateFont)(e.originalPartBytes, e.fontGuid)), !o || o.length < 4) return null;
9586
- const i = (0, lu.detectFontFormat)(o), r = Jk.has(i) ? i : "truetype", s = tw[r] ?? "font/ttf", u = new Uint8Array(o.length);
9616
+ const i = (0, lu.detectFontFormat)(o), r = Qk.has(i) ? i : "truetype", s = nw[r] ?? "font/ttf", u = new Uint8Array(o.length);
9587
9617
  u.set(o);
9588
9618
  const c = new Blob([u], { type: s }), d = URL.createObjectURL(c);
9589
9619
  return {
@@ -9595,7 +9625,7 @@ function nw(e) {
9595
9625
  objectUrl: d
9596
9626
  };
9597
9627
  }
9598
- function aw(e) {
9628
+ function lw(e) {
9599
9629
  return [
9600
9630
  "@font-face {",
9601
9631
  `\tfont-family: "${e.name}";`,
@@ -9606,22 +9636,22 @@ function aw(e) {
9606
9636
  "}"
9607
9637
  ].join("\n");
9608
9638
  }
9609
- function lw(e) {
9639
+ function ow(e) {
9610
9640
  let t = [], n = null;
9611
9641
  const a = (e) => {
9612
- if (ew()) for (const t of e) URL.revokeObjectURL(t);
9642
+ if (tw()) for (const t of e) URL.revokeObjectURL(t);
9613
9643
  }, l = Zr(() => {
9614
9644
  const n = Ms(e) ?? [], l = t, o = [], i = [];
9615
9645
  for (const e of n) {
9616
- const t = nw(e);
9646
+ const t = aw(e);
9617
9647
  t && (i.push(t), t.objectUrl && o.push(t.objectUrl));
9618
9648
  }
9619
9649
  return t = o, a(l), i;
9620
- }), o = Zr(() => l.value.map(aw).join("\n\n")), i = Zr(() => {
9650
+ }), o = Zr(() => l.value.map(lw).join("\n\n")), i = Zr(() => {
9621
9651
  const e = /* @__PURE__ */ new Set(), t = [];
9622
9652
  for (const n of l.value) e.has(n.name) || (e.add(n.name), t.push((0, lu.getSubstituteFontFamily)(n.name)));
9623
9653
  return t;
9624
- }), r = As(() => Ms(e) ?? [], (e) => Bg.registerEmbeddedFonts(e), { immediate: !0 }), s = As(o, (e) => {
9654
+ }), r = As(() => Ms(e) ?? [], (e) => Wg.registerEmbeddedFonts(e), { immediate: !0 }), s = As(o, (e) => {
9625
9655
  if ("undefined" != typeof document && "function" == typeof document.createElement && void 0 !== document.head) {
9626
9656
  if (0 === e.length) return n && n.parentNode && n.parentNode.removeChild(n), void (n = null);
9627
9657
  n || (n = document.createElement("style"), n.id = "pptx-vue-embedded-fonts", document.head.appendChild(n)), n.textContent = e;
@@ -9634,11 +9664,11 @@ function lw(e) {
9634
9664
  fontFamilies: i
9635
9665
  };
9636
9666
  }
9637
- function ow(e) {
9667
+ function iw(e) {
9638
9668
  const t = "string" == typeof e || void 0 === e ? e : e.value;
9639
9669
  return ci(t);
9640
9670
  }
9641
- function iw(e) {
9671
+ function rw(e) {
9642
9672
  const { slides: t, canvasSize: n, rasterizeSlide: a } = e, l = Ss(!1);
9643
9673
  return {
9644
9674
  exporting: l,
@@ -9647,7 +9677,7 @@ function iw(e) {
9647
9677
  l.value = !0;
9648
9678
  try {
9649
9679
  const t = e.rasterizeSlideToRaster ? await Eo(await e.rasterizeSlideToRaster(n)) : (await a(n)).toDataURL("image/png");
9650
- Fn(t, `${ow(e.fileName)}-slide-${n + 1}.png`);
9680
+ Fn(t, `${iw(e.fileName)}-slide-${n + 1}.png`);
9651
9681
  } finally {
9652
9682
  l.value = !1;
9653
9683
  }
@@ -9677,14 +9707,14 @@ function iw(e) {
9677
9707
  c.addImage(e.toDataURL("image/png"), "PNG", 0, 0, o, s);
9678
9708
  }
9679
9709
  }
9680
- c.save(`${ow(e.fileName)}.pdf`);
9710
+ c.save(`${iw(e.fileName)}.pdf`);
9681
9711
  } finally {
9682
9712
  l.value = !1;
9683
9713
  }
9684
9714
  }
9685
9715
  };
9686
9716
  }
9687
- function rw(e) {
9717
+ function sw(e) {
9688
9718
  const { exporter: t, mediaExport: n } = e, { t: a } = Dv(), l = Ss(!1), o = Ss(""), i = Ss(0), r = Ss("");
9689
9719
  let s = null;
9690
9720
  function u(e) {
@@ -9752,12 +9782,12 @@ function rw(e) {
9752
9782
  }
9753
9783
  };
9754
9784
  }
9755
- var sw = 2e3;
9756
- function uw(e) {
9785
+ var uw = 2e3;
9786
+ function cw(e) {
9757
9787
  const t = "string" == typeof e || void 0 === e ? e : e.value;
9758
9788
  return ci(t);
9759
9789
  }
9760
- function cw(e, t) {
9790
+ function dw(e, t) {
9761
9791
  const { width: n, height: a } = bt(e.width, e.height, t);
9762
9792
  let l = e;
9763
9793
  if (n !== e.width || a !== e.height) {
@@ -9774,16 +9804,16 @@ function cw(e, t) {
9774
9804
  height: a
9775
9805
  };
9776
9806
  }
9777
- var dw = 3e3, pw = 30, vw = 5e6;
9778
- function mw(e, t, n) {
9807
+ var pw = 3e3, vw = 30, mw = 5e6;
9808
+ function fw(e, t, n) {
9779
9809
  const a = e.captureStream(t);
9780
9810
  return new MediaRecorder(a, n);
9781
9811
  }
9782
- function fw(e) {
9812
+ function hw(e) {
9783
9813
  if (e?.aborted) throw new DOMException("Export cancelled", "AbortError");
9784
9814
  }
9785
- function hw(e) {
9786
- const { slideCount: t, rasterizeSlide: n } = e, a = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-BavNpjL0.js")).encodeGif), l = e.createRecorder ?? mw, o = e.createCanvas ?? (() => document.createElement("canvas")), i = e.downloadBlob ?? An, r = Ss(!1), s = Ss(0);
9815
+ function yw(e) {
9816
+ const { slideCount: t, rasterizeSlide: n } = e, a = e.loadGifEncoder ?? (async () => (await import("./gif-encoder-BavNpjL0.js")).encodeGif), l = e.createRecorder ?? fw, o = e.createCanvas ?? (() => document.createElement("canvas")), i = e.downloadBlob ?? An, r = Ss(!1), s = Ss(0);
9787
9817
  return {
9788
9818
  exporting: r,
9789
9819
  progress: s,
@@ -9791,21 +9821,21 @@ function hw(e) {
9791
9821
  return async function(e, t = {}) {
9792
9822
  const { slideCount: n, rasterizeSlide: a, loadGifEncoder: l, exporting: o, progress: i } = e, r = e.downloadBlob ?? An, s = n.value;
9793
9823
  if (o.value || 0 === s) return;
9794
- const { slideDurationMs: u = sw, slideTimingsMs: c, maxSide: d = h, onProgress: p, signal: v } = t;
9824
+ const { slideDurationMs: u = uw, slideTimingsMs: c, maxSide: d = h, onProgress: p, signal: v } = t;
9795
9825
  o.value = !0, i.value = 0;
9796
9826
  try {
9797
9827
  const t = [];
9798
9828
  for (let e = 0; e < s; e++) {
9799
9829
  if (v?.aborted) throw new DOMException("Export cancelled", "AbortError");
9800
9830
  p?.(e, s);
9801
- const n = cw(await a(e), d);
9831
+ const n = dw(await a(e), d);
9802
9832
  n && (t.push(n), i.value = Math.round((e + 1) / s * 90));
9803
9833
  }
9804
9834
  if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for GIF export");
9805
9835
  const n = await l(), o = c?.[0], m = void 0 !== o && c?.every((e) => e === o) ? o : u, f = n(t, Math.max(1, Math.round(m / 10))), h = new ArrayBuffer(f.length);
9806
9836
  new Uint8Array(h).set(f);
9807
9837
  const y = new Blob([h], { type: "image/gif" });
9808
- return p?.(s, s), i.value = 95, r(y, `${uw(e.fileName)}.gif`), i.value = 100, y;
9838
+ return p?.(s, s), i.value = 95, r(y, `${cw(e.fileName)}.gif`), i.value = 100, y;
9809
9839
  } finally {
9810
9840
  o.value = !1;
9811
9841
  }
@@ -9822,11 +9852,11 @@ function hw(e) {
9822
9852
  exportWebm: async function(a = {}) {
9823
9853
  const u = t.value;
9824
9854
  if (r.value || 0 === u) return;
9825
- const { slideDurationMs: c = dw, slideTimingsMs: d, fps: p = pw, videoBitsPerSecond: v = vw, onProgress: m, onRecordProgress: f, signal: h } = a;
9855
+ const { slideDurationMs: c = pw, slideTimingsMs: d, fps: p = vw, videoBitsPerSecond: v = mw, onProgress: m, onRecordProgress: f, signal: h } = a;
9826
9856
  r.value = !0, s.value = 0;
9827
9857
  try {
9828
9858
  const t = [];
9829
- for (let e = 0; e < u; e++) fw(h), m?.(e, u), t.push(await n(e)), s.value = Math.round((e + 1) / u * 45);
9859
+ for (let e = 0; e < u; e++) hw(h), m?.(e, u), t.push(await n(e)), s.value = Math.round((e + 1) / u * 45);
9830
9860
  if (0 === t.length) throw new Error("[useMediaExport] No slides were captured for video export");
9831
9861
  const a = t[0], r = o();
9832
9862
  r.width = a.width, r.height = a.height;
@@ -9864,7 +9894,7 @@ function hw(e) {
9864
9894
  }
9865
9895
  g.stop(), await k;
9866
9896
  const a = new Blob(x, { type: "video/webm" });
9867
- return m?.(u, u), s.value = 95, i(a, `${uw(e.fileName)}.webm`), s.value = 100, a;
9897
+ return m?.(u, u), s.value = 95, i(a, `${cw(e.fileName)}.webm`), s.value = 100, a;
9868
9898
  } finally {
9869
9899
  Er(g.stream);
9870
9900
  }
@@ -9874,7 +9904,7 @@ function hw(e) {
9874
9904
  }
9875
9905
  };
9876
9906
  }
9877
- function yw(e) {
9907
+ function gw(e) {
9878
9908
  const { mergedSlides: t, slides: n, slideCount: a, canvasSize: l, activeSlideIndex: o, saveAs: i, imageExportScale: r } = e, s = Ss(null), u = Ss(0), c = Zr(() => t.value[u.value]), { rasterizeSlide: d, rasterizeSlideToRaster: p, rasterizeSlideToTiles: v } = function(e) {
9879
9909
  const { exportStageRef: t, exportIndex: n, canvasSize: a, imageExportScale: l } = e;
9880
9910
  async function o(e) {
@@ -9889,7 +9919,7 @@ function yw(e) {
9889
9919
  return 2 * (l?.() ?? 1) * e;
9890
9920
  }
9891
9921
  function r(e, t, n) {
9892
- return Rk(e, {
9922
+ return $k(e, {
9893
9923
  backgroundColor: "#ffffff",
9894
9924
  scale: n.width / (t.width || 1),
9895
9925
  x: t.x,
@@ -9930,16 +9960,16 @@ function yw(e) {
9930
9960
  exportIndex: u,
9931
9961
  canvasSize: l,
9932
9962
  imageExportScale: r
9933
- }), m = iw({
9963
+ }), m = rw({
9934
9964
  slides: n,
9935
9965
  canvasSize: l,
9936
9966
  rasterizeSlide: d,
9937
9967
  rasterizeSlideToRaster: p,
9938
9968
  rasterizeSlideToTiles: v
9939
- }), f = hw({
9969
+ }), f = yw({
9940
9970
  slideCount: a,
9941
9971
  rasterizeSlide: d
9942
- }), h = rw({
9972
+ }), h = sw({
9943
9973
  exporter: m,
9944
9974
  mediaExport: f
9945
9975
  });
@@ -9996,7 +10026,7 @@ function yw(e) {
9996
10026
  }
9997
10027
  };
9998
10028
  }
9999
- function gw({ slides: e, activeSlideIndex: t, pushHistory: n }) {
10029
+ function xw({ slides: e, activeSlideIndex: t, pushHistory: n }) {
10000
10030
  const a = Ss(""), l = Ss(""), o = Ss(!1), i = Ss(!1), r = Ss(!0), s = Ss(!1), u = Ss(0), c = Zr(() => Jn(e.value, a.value, {
10001
10031
  matchCase: o.value,
10002
10032
  includeNotes: i.value,
@@ -10042,7 +10072,7 @@ function gw({ slides: e, activeSlideIndex: t, pushHistory: n }) {
10042
10072
  }
10043
10073
  };
10044
10074
  }
10045
- function xw(e) {
10075
+ function kw(e) {
10046
10076
  const { slides: t, embeddedFonts: n } = e, a = Ss(!1), l = Zr(() => Tt(t.value)), o = Zr(() => n.value.map((e) => e.name)), i = Zr(() => Tn(o.value)), r = Ss(i.value.initialEnabled);
10047
10077
  return As(i, (e) => {
10048
10078
  r.value = e.initialEnabled;
@@ -10054,7 +10084,7 @@ function xw(e) {
10054
10084
  fontEmbedding: i
10055
10085
  };
10056
10086
  }
10057
- function kw(e) {
10087
+ function ww(e) {
10058
10088
  const { selectedElements: t, findActiveElement: n, ops: a } = e, l = Ss(!1), o = Ss(null), i = Zr(() => 1 === t.value.length && tl(t.value[0]));
10059
10089
  function r() {
10060
10090
  l.value = !1, o.value = null;
@@ -10076,7 +10106,7 @@ function kw(e) {
10076
10106
  }
10077
10107
  };
10078
10108
  }
10079
- function ww(e) {
10109
+ function bw(e) {
10080
10110
  const { headerFooter: t } = e, n = Ss(!1);
10081
10111
  return {
10082
10112
  showHeaderFooter: n,
@@ -10085,7 +10115,7 @@ function ww(e) {
10085
10115
  }
10086
10116
  };
10087
10117
  }
10088
- function bw(e) {
10118
+ function Sw(e) {
10089
10119
  const { canEdit: t, presenting: n, activeTool: a, activeSlide: l, selectedElementIds: o, ops: i } = e;
10090
10120
  return {
10091
10121
  drawingActive: Zr(() => t() && !n.value && "select" !== a.value),
@@ -10106,7 +10136,7 @@ function bw(e) {
10106
10136
  }
10107
10137
  };
10108
10138
  }
10109
- function Sw(e) {
10139
+ function Ew(e) {
10110
10140
  const { canEdit: t, findActiveElement: n, ops: a } = e;
10111
10141
  function l(t) {
10112
10142
  const n = e.proofing?.();
@@ -10185,7 +10215,7 @@ function Sw(e) {
10185
10215
  }
10186
10216
  };
10187
10217
  }
10188
- function Ew(e) {
10218
+ function Iw(e) {
10189
10219
  const { ops: t, selectedElementIds: n, findActiveElement: a } = e, l = Ss(!1), o = Ss(!1), i = Ss(null), r = Ss(null);
10190
10220
  function s() {
10191
10221
  o.value = !1, i.value = null, r.value = null;
@@ -10210,7 +10240,7 @@ function Ew(e) {
10210
10240
  closeEquationEditor: s
10211
10241
  };
10212
10242
  }
10213
- function Iw(e) {
10243
+ function _w(e) {
10214
10244
  if (e <= 0 || "undefined" == typeof document) return;
10215
10245
  const t = document.activeElement;
10216
10246
  if (!function(e) {
@@ -10227,7 +10257,7 @@ function Iw(e) {
10227
10257
  behavior: "smooth"
10228
10258
  });
10229
10259
  }
10230
- function _w() {
10260
+ function Cw() {
10231
10261
  const e = Ss(0), t = Ss(!1);
10232
10262
  return hs(() => {
10233
10263
  if ("undefined" == typeof window) return;
@@ -10235,11 +10265,11 @@ function _w() {
10235
10265
  if (!n) return;
10236
10266
  const a = () => {
10237
10267
  const n = Do(window), a = n ? $t(n) : 0;
10238
- e.value = a, t.value = El(a), a > 0 && window.requestAnimationFrame(() => Iw(a));
10268
+ e.value = a, t.value = El(a), a > 0 && window.requestAnimationFrame(() => _w(a));
10239
10269
  }, l = () => {
10240
10270
  window.requestAnimationFrame(() => {
10241
10271
  const e = Do(window), t = e ? $t(e) : 0;
10242
- t > 0 && Iw(t);
10272
+ t > 0 && _w(t);
10243
10273
  });
10244
10274
  };
10245
10275
  a(), n.addEventListener("resize", a), n.addEventListener("scroll", a), document.addEventListener("focusin", l), ys(() => {
@@ -10250,7 +10280,7 @@ function _w() {
10250
10280
  isKeyboardOpen: bs(t)
10251
10281
  };
10252
10282
  }
10253
- async function Cw(e) {
10283
+ async function Pw(e) {
10254
10284
  try {
10255
10285
  const t = await Hs.loadAsync(e), n = new Vs({
10256
10286
  ignoreAttributes: !1,
@@ -10270,7 +10300,7 @@ async function Cw(e) {
10270
10300
  return [];
10271
10301
  }
10272
10302
  }
10273
- function Pw(e, t) {
10303
+ function Tw(e, t) {
10274
10304
  const n = Ps([]), a = Ps({}), l = Ss({
10275
10305
  width: 1280,
10276
10306
  height: 720
@@ -10361,7 +10391,7 @@ function Pw(e, t) {
10361
10391
  te = await Ti(te, (e) => U.getImageData(e));
10362
10392
  const ne = await Di(Y.tableStyleMap, (e) => U.getImageData(e));
10363
10393
  te = await Mi(te, (e) => U.getImageData(e));
10364
- const ae = Y.hasDigitalSignatures && G instanceof ArrayBuffer ? await Cw(G) : [];
10394
+ const ae = Y.hasDigitalSignatures && G instanceof ArrayBuffer ? await Pw(G) : [];
10365
10395
  if (W !== R) return;
10366
10396
  const le = po(te);
10367
10397
  K?.dispose(), B(Array.from(c.value.values())), B($), $ = H, V.commit(), m.value = U, n.value = le.slides, a.value = le.templateElementsBySlideId, c.value = Z, l.value = {
@@ -10425,7 +10455,7 @@ function Pw(e, t) {
10425
10455
  getRecoverySnapshot: () => W("pptx", "recovery-snapshot")
10426
10456
  };
10427
10457
  }
10428
- function Tw() {
10458
+ function Dw() {
10429
10459
  const e = Ss(!1), t = Ss("slides"), n = Ss(0), a = Ss(null);
10430
10460
  return {
10431
10461
  showMasterView: e,
@@ -10441,13 +10471,13 @@ function Tw() {
10441
10471
  }
10442
10472
  };
10443
10473
  }
10444
- var Dw = {
10474
+ var Mw = {
10445
10475
  slides: "slides",
10446
10476
  format: "inspector",
10447
10477
  comments: "comments",
10448
10478
  notes: "notes"
10449
10479
  };
10450
- function Mw(e) {
10480
+ function Ow(e) {
10451
10481
  const { presenting: t, addText: n } = e, a = Ss(!1), l = Ss(!1), o = Ss(!1), i = Ss(!1);
10452
10482
  function r(e) {
10453
10483
  a.value = "slides" === e, l.value = "format" === e, o.value = "comments" === e, i.value = "notes" === e;
@@ -10460,8 +10490,8 @@ function Mw(e) {
10460
10490
  mobileNotesOpen: i,
10461
10491
  openMobileSheet: r,
10462
10492
  toggleMobileSheet: function(e) {
10463
- const t = s.value ? Dw[s.value] : null;
10464
- null === Rr(t, Dw[e]) ? (a.value = !1, l.value = !1, o.value = !1, i.value = !1) : r(e);
10493
+ const t = s.value ? Mw[s.value] : null;
10494
+ null === Rr(t, Mw[e]) ? (a.value = !1, l.value = !1, o.value = !1, i.value = !1) : r(e);
10465
10495
  },
10466
10496
  activeSheet: s,
10467
10497
  mobileQuickInsert: function() {
@@ -10472,7 +10502,7 @@ function Mw(e) {
10472
10502
  }
10473
10503
  };
10474
10504
  }
10475
- function Ow(e) {
10505
+ function Lw(e) {
10476
10506
  const { selectedElementIds: t, ops: n, clearSelection: a } = e;
10477
10507
  return {
10478
10508
  deleteSelected: function() {
@@ -10495,7 +10525,7 @@ function Ow(e) {
10495
10525
  }
10496
10526
  };
10497
10527
  }
10498
- function Lw() {
10528
+ function zw() {
10499
10529
  const e = Ss(!1), t = Ss(!1), n = Ss(null);
10500
10530
  return {
10501
10531
  showPasswordDialog: e,
@@ -10509,7 +10539,7 @@ function Lw() {
10509
10539
  }
10510
10540
  };
10511
10541
  }
10512
- function zw(e) {
10542
+ function Aw(e) {
10513
10543
  const { slides: t, activeSlideIndex: n, pushHistory: a } = e, l = Ss("undefined" != typeof window && Pl(window.location.hash));
10514
10544
  return {
10515
10545
  presenting: l,
@@ -10542,22 +10572,22 @@ function zw(e) {
10542
10572
  }
10543
10573
  };
10544
10574
  }
10545
- function Aw(e, t, n, a = {}) {
10575
+ function Fw(e, t, n, a = {}) {
10546
10576
  return lu.SvgExporter.exportSlide(e, t, n, a);
10547
10577
  }
10548
- function Fw(e, t, n, a = {}) {
10549
- return new Blob([Aw(e, t, n, a)], { type: "image/svg+xml;charset=utf-8" });
10578
+ function Nw(e, t, n, a = {}) {
10579
+ return new Blob([Fw(e, t, n, a)], { type: "image/svg+xml;charset=utf-8" });
10550
10580
  }
10551
- function Nw(e, t = {}) {
10581
+ function Rw(e, t = {}) {
10552
10582
  return lu.SvgExporter.exportAll(e, t);
10553
10583
  }
10554
- function Rw(e, t = {}) {
10555
- return Nw(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
10584
+ function $w(e, t = {}) {
10585
+ return Rw(e, t).map((e) => new Blob([e], { type: "image/svg+xml;charset=utf-8" }));
10556
10586
  }
10557
- function $w(e) {
10587
+ function Bw(e) {
10558
10588
  return ro(e);
10559
10589
  }
10560
- function Bw(e, t, n, a, l, o) {
10590
+ function Ww(e, t, n, a, l, o) {
10561
10591
  return Ze({
10562
10592
  title: e,
10563
10593
  bodyHtml: t,
@@ -10567,7 +10597,7 @@ function Bw(e, t, n, a, l, o) {
10567
10597
  scaleToFit: o
10568
10598
  });
10569
10599
  }
10570
- function Ww(e) {
10600
+ function Uw(e) {
10571
10601
  const { slides: t, activeSlideIndex: n, rasterizeSlide: a } = e, l = e.openPrintWindow, o = e.slideSize ?? Ss({
10572
10602
  width: 960,
10573
10603
  height: 540
@@ -10585,13 +10615,13 @@ function Ww(e) {
10585
10615
  const d = t.value, p = zt(u.colorMode), v = r?.value ?? c, m = Gn(qt(u.slideRange, n.value, d.length, u.customRangeFrom, u.customRangeTo), d, v.advanced.printHiddenSlides);
10586
10616
  if ("outline" === u.printWhat) {
10587
10617
  const e = Ke(m, d);
10588
- (l ?? $w)(Bw("Outline", `<div class="outline-page">${e}</div>`, u.orientation, p, u.frameSlides, u.scaleToFit));
10618
+ (l ?? Bw)(Ww("Outline", `<div class="outline-page">${e}</div>`, u.orientation, p, u.frameSlides, u.scaleToFit));
10589
10619
  return;
10590
10620
  }
10591
10621
  if (0 === m.length) return;
10592
10622
  if ("slides" === u.printWhat) try {
10593
- const { width: e, height: t } = o.value, n = m.map((n) => Aw(d[n], e, t));
10594
- (l ?? $w)(Xe(n, e, t, {
10623
+ const { width: e, height: t } = o.value, n = m.map((n) => Fw(d[n], e, t));
10624
+ (l ?? Bw)(Xe(n, e, t, {
10595
10625
  title: "Slides (Vector)",
10596
10626
  orientation: u.orientation,
10597
10627
  colorFilter: p,
@@ -10612,17 +10642,17 @@ function Ww(e) {
10612
10642
  const l = await a(e, t);
10613
10643
  n.push(l.toDataURL("image/png"));
10614
10644
  }
10615
- if ("slides" === u.printWhat) return void h(Bw("Slides", et(n, m), u.orientation, p, u.frameSlides, u.scaleToFit));
10616
- if ("notes" === u.printWhat) return void h(Bw("Notes Pages", qe(n, m, d), "portrait", p, u.frameSlides, u.scaleToFit));
10645
+ if ("slides" === u.printWhat) return void h(Ww("Slides", et(n, m), u.orientation, p, u.frameSlides, u.scaleToFit));
10646
+ if ("notes" === u.printWhat) return void h(Ww("Notes Pages", qe(n, m, d), "portrait", p, u.frameSlides, u.scaleToFit));
10617
10647
  const l = u.slidesPerPage;
10618
- h(Bw(`Handout ${l} per page`, $e(n, m, l, e.handoutMaster?.value), "portrait", p, u.frameSlides, u.scaleToFit));
10648
+ h(Ww(`Handout ${l} per page`, $e(n, m, l, e.handoutMaster?.value), "portrait", p, u.frameSlides, u.scaleToFit));
10619
10649
  } catch (e) {
10620
10650
  console.error("[PowerPointViewer] Print layout failed:", e), f?.close();
10621
10651
  }
10622
10652
  }
10623
10653
  };
10624
10654
  }
10625
- var Uw = {
10655
+ var Vw = {
10626
10656
  left: "left",
10627
10657
  center: "centerH",
10628
10658
  right: "right",
@@ -10630,10 +10660,10 @@ var Uw = {
10630
10660
  middle: "middle",
10631
10661
  bottom: "bottom"
10632
10662
  };
10633
- function Vw(e) {
10663
+ function Hw(e) {
10634
10664
  return "ellipse" === e || "roundRect" === e || "triangle" === e ? e : "rect";
10635
10665
  }
10636
- function Hw(e) {
10666
+ function jw(e) {
10637
10667
  const { canEdit: t, presenting: n, showMasterView: a, tableSelection: l, selectedElements: o, selectedElementIds: i, activeSlide: r, activeSlideIndex: s, slides: u, pushHistory: c, ops: d } = e;
10638
10668
  return {
10639
10669
  ribbonMode: Zr(() => n.value ? "present" : a.value ? "master" : t() ? "edit" : "preview"),
@@ -10743,7 +10773,7 @@ function Hw(e) {
10743
10773
  }
10744
10774
  };
10745
10775
  }
10746
- function jw(e) {
10776
+ function Gw(e) {
10747
10777
  return {
10748
10778
  toolbarSection: Ss("home"),
10749
10779
  newShapeType: Ss("rect"),
@@ -10764,7 +10794,7 @@ function jw(e) {
10764
10794
  eyedropperActive: Ss(!1)
10765
10795
  };
10766
10796
  }
10767
- function Gw(e) {
10797
+ function qw(e) {
10768
10798
  const { sections: t, slides: n, activeSlideIndex: a, pushHistory: l } = e;
10769
10799
  return {
10770
10800
  addSection: (e, a) => {
@@ -10806,7 +10836,7 @@ function Gw(e) {
10806
10836
  slidesBySection: Zr(() => el(t.value, n.value))
10807
10837
  };
10808
10838
  }
10809
- function qw(e) {
10839
+ function Kw(e) {
10810
10840
  const { findActiveElement: t, activeSlide: n, selectedElementIds: a, ops: l } = e;
10811
10841
  return {
10812
10842
  showSelectionPane: Ss(!1),
@@ -10826,8 +10856,8 @@ function qw(e) {
10826
10856
  }
10827
10857
  };
10828
10858
  }
10829
- function Kw(e) {
10830
- const { signatures: t, isDirty: n } = e, a = Ss(!1), l = Ek(t), o = Zr(() => t.value.length > 0), i = Ss(!1), r = Ss(!1);
10859
+ function Yw(e) {
10860
+ const { signatures: t, isDirty: n } = e, a = Ss(!1), l = Ik(t), o = Zr(() => t.value.length > 0), i = Ss(!1), r = Ss(!1);
10831
10861
  return As(() => n.value, (e) => {
10832
10862
  e && o.value && !r.value && (i.value = !0);
10833
10863
  }), {
@@ -10840,7 +10870,7 @@ function Kw(e) {
10840
10870
  }
10841
10871
  };
10842
10872
  }
10843
- function Yw(e) {
10873
+ function Xw(e) {
10844
10874
  const { slides: t, activeSlideIndex: n, activeSlide: a, pushHistory: l, selectedElements: o } = e;
10845
10875
  function i(e) {
10846
10876
  const a = n.value, o = t.value[a];
@@ -10920,7 +10950,7 @@ function Yw(e) {
10920
10950
  }
10921
10951
  };
10922
10952
  }
10923
- function Xw(e) {
10953
+ function Zw(e) {
10924
10954
  const { slides: t, activeSlideIndex: n, pushHistory: a } = e;
10925
10955
  return {
10926
10956
  addSlide: (e = n.value) => {
@@ -10955,7 +10985,7 @@ function Xw(e) {
10955
10985
  }
10956
10986
  };
10957
10987
  }
10958
- function Zw(e) {
10988
+ function Jw(e) {
10959
10989
  const { presentationProperties: t } = e, n = Ss(!1), a = Ss(!1);
10960
10990
  return As(() => t.value.showSubtitles, (e) => {
10961
10991
  a.value = Boolean(e);
@@ -10979,7 +11009,7 @@ function Zw(e) {
10979
11009
  }
10980
11010
  };
10981
11011
  }
10982
- function Jw(e) {
11012
+ function Qw(e) {
10983
11013
  const { canvasSize: t, slides: n, activeSlideIndex: a, pushHistory: l, theme: o } = e;
10984
11014
  return { insertSlideFromTemplate: function(e) {
10985
11015
  const i = Math.max(0, Math.min(a.value + 1, n.value.length));
@@ -10992,7 +11022,7 @@ function Jw(e) {
10992
11022
  s.splice(i, 0, r), n.value = s, a.value = i;
10993
11023
  } };
10994
11024
  }
10995
- function Qw(e) {
11025
+ function eb(e) {
10996
11026
  const { canEdit: t, findActiveElement: n, updateElement: a, canEditInline: l } = e;
10997
11027
  function o(e, t) {
10998
11028
  return Mo(t, t.layout, xi(t), t.style ?? "flat", e.id, {
@@ -11019,7 +11049,7 @@ function Qw(e) {
11019
11049
  }
11020
11050
  });
11021
11051
  }
11022
- function eb(e) {
11052
+ function tb(e) {
11023
11053
  const { canEdit: t, canEditInline: n, findActiveElement: a, updateElement: l, commitTableCell: o } = e;
11024
11054
  ws(wg, {
11025
11055
  canEdit: n,
@@ -11052,7 +11082,7 @@ function eb(e) {
11052
11082
  }
11053
11083
  }), { tableSelection: i };
11054
11084
  }
11055
- function tb(e) {
11085
+ function nb(e) {
11056
11086
  const t = Ss(!1), { slides: n, pptxTheme: a, themeColorMap: l, pushHistory: o, themeGalleryOpen: i, themeEditorOpen: r, templateElementsBySlideId: s } = e;
11057
11087
  function u(e, t, i) {
11058
11088
  o();
@@ -11085,21 +11115,21 @@ function tb(e) {
11085
11115
  themeEditorBusy: t
11086
11116
  };
11087
11117
  }
11088
- var nb = 50, ab = 0;
11089
- function lb(e) {
11090
- return `ver-${e}-${ab += 1}-${Math.random().toString(36).slice(2, 6)}`;
11091
- }
11118
+ var ab = 50, lb = 0;
11092
11119
  function ob(e) {
11093
- return e.map(lu.cloneSlide);
11120
+ return `ver-${e}-${lb += 1}-${Math.random().toString(36).slice(2, 6)}`;
11094
11121
  }
11095
11122
  function ib(e) {
11123
+ return e.map(lu.cloneSlide);
11124
+ }
11125
+ function rb(e) {
11096
11126
  const { slides: t, pushHistory: n } = e, a = Math.max(1, e.maxVersions ?? 50), l = Ps([]);
11097
11127
  return {
11098
11128
  versions: l,
11099
11129
  hasVersions: Zr(() => l.value.length > 0),
11100
11130
  capture: (e, n) => {
11101
- const o = ob(t.value), i = {
11102
- id: lb(n),
11131
+ const o = ib(t.value), i = {
11132
+ id: ob(n),
11103
11133
  label: e,
11104
11134
  timestamp: n,
11105
11135
  slideCount: o.length,
@@ -11110,7 +11140,7 @@ function ib(e) {
11110
11140
  },
11111
11141
  restore: (e) => {
11112
11142
  const a = l.value.find((t) => t.id === e);
11113
- return !!a && (n(), t.value = ob(a.slides), !0);
11143
+ return !!a && (n(), t.value = ib(a.slides), !0);
11114
11144
  },
11115
11145
  remove: (e) => {
11116
11146
  const t = l.value.filter((t) => t.id !== e);
@@ -11121,8 +11151,8 @@ function ib(e) {
11121
11151
  }
11122
11152
  };
11123
11153
  }
11124
- function rb(e) {
11125
- const { slides: t, pushHistory: n } = e, a = ib({
11154
+ function sb(e) {
11155
+ const { slides: t, pushHistory: n } = e, a = rb({
11126
11156
  slides: t,
11127
11157
  pushHistory: n
11128
11158
  }), l = Ss(!1), o = Ss(null), i = Ss(null), r = Ss(null), s = Zr(() => null !== o.value);
@@ -11154,7 +11184,7 @@ function rb(e) {
11154
11184
  }
11155
11185
  };
11156
11186
  }
11157
- function sb(e) {
11187
+ function ub(e) {
11158
11188
  return {
11159
11189
  onSetMode: (t) => {
11160
11190
  "present" === t ? e.startPresenting() : e.presenting.value = !1;
@@ -11189,7 +11219,7 @@ function sb(e) {
11189
11219
  e.newShapeType.value = t;
11190
11220
  },
11191
11221
  onAddTextBox: e.addText,
11192
- onAddShape: () => e.addShape(Vw(e.newShapeType.value)),
11222
+ onAddShape: () => e.addShape(Hw(e.newShapeType.value)),
11193
11223
  onAddTable: e.addTable,
11194
11224
  onAddChart: e.addChart,
11195
11225
  onAddSmartArt: () => {
@@ -11237,7 +11267,7 @@ function sb(e) {
11237
11267
  },
11238
11268
  onAddGuide: e.addGuide,
11239
11269
  onAlignElements: (t) => {
11240
- const n = Uw[t];
11270
+ const n = Vw[t];
11241
11271
  n && e.onAlign(n);
11242
11272
  },
11243
11273
  onDistributeElements: (t) => {
@@ -11396,7 +11426,7 @@ function sb(e) {
11396
11426
  onPresentationPropertiesChange: e.onPresentationPropertiesUpdate
11397
11427
  };
11398
11428
  }
11399
- function ub(e) {
11429
+ function cb(e) {
11400
11430
  return {
11401
11431
  mode: e.ribbonMode.value,
11402
11432
  canEdit: e.canEdit(),
@@ -11445,6 +11475,7 @@ function ub(e) {
11445
11475
  isThemeGalleryOpen: e.themeGalleryOpen.value,
11446
11476
  isCommentsPanelOpen: e.showComments.value,
11447
11477
  slideCommentCount: e.activeComments.value.length,
11478
+ reviewComments: e.reviewComments,
11448
11479
  formatPainterActive: e.formatPainterActive.value,
11449
11480
  canActivateFormatPainter: e.canActivateFormatPainter.value,
11450
11481
  isSelectionPaneOpen: e.showSelectionPane.value,
@@ -11457,13 +11488,13 @@ function ub(e) {
11457
11488
  collaboratorCount: e.collab.connectedCount.value
11458
11489
  };
11459
11490
  }
11460
- function cb(e) {
11491
+ function db(e) {
11461
11492
  return Zr(() => ({
11462
- ...ub(e),
11463
- ...sb(e)
11493
+ ...cb(e),
11494
+ ...ub(e)
11464
11495
  }));
11465
11496
  }
11466
- function db(e) {
11497
+ function pb(e) {
11467
11498
  const t = Ss(!1), n = Ss({
11468
11499
  ...d,
11469
11500
  autoSave: e.autoSave.value,
@@ -11523,4 +11554,4 @@ function db(e) {
11523
11554
  }
11524
11555
  };
11525
11556
  }
11526
- export { Hk as $, Eg as $n, sk as $t, Cw as A, zx as An, Wv as Ar, L as At, ww as B, _x as Bn, lu as Br, ri as Bt, Aw as C, Gt as Cn, Qv as Cr, a as Ct, Ow as D, no as Dn, Kv as Dr, k as Dt, Lw as E, Ca as En, jv as Er, p as Et, _w as F, Lx as Fn, Fv as Fr, G as Ft, hw as G, ox as Gn, ck as Gt, xw as H, gx as Hn, au as Hr, Ci as Ht, Ew as I, Mx as In, Av as Ir, da as It, lw as J, Wg as Jn, ak as Jt, rw as K, ax as Kn, uk as Kt, Sw as L, Ox as Ln, zv as Lr, Ga as Lt, We as M, E as Mn, Vv as Mr, N as Mt, Ct as N, B as Nn, Hv as Nr, R as Nt, Mw as O, Ft as On, Gv as Or, M as Ot, Pt as P, Cl as Pn, Uv as Pr, H as Pt, qk as Q, Ig as Qn, rk as Qt, Ro as R, Tx as Rn, Lv as Rr, Ya as Rt, Rw as S, Un as Sn, Jv as Sr, dk as St, zw as T, Nn as Tn, Zv as Tr, u as Tt, gw as U, sx as Un, nu as Ur, Li as Ut, kw as V, Ex as Vn, Qs as Vr, gi as Vt, yw as W, rx as Wn, Fi as Wt, Yk as X, Cg as Xn, tk as Xt, Xk as Y, $g as Yn, nk as Yt, Kk as Z, bg as Zn, ik as Zt, Uw as _, Bx as _n, Bf as _r, kk as _t, ib as a, Yx as an, Oy as ar, Nk as at, Ww as b, Nx as bn, pm as br, fk as bt, Qw as c, jx as cn, My as cr, Ak as ct, Xw as d, Hx as dn, dy as dr, yl as dt, ze as en, Sg as er, Vk as et, Yw as f, Vx as fn, ny as fr, Tk as ft, jw as g, Rx as gn, Hf as gr, wk as gt, Gw as h, P as hn, Uf as hr, Ek as ht, nb as i, Zx as in, zy as ir, Rk as it, Pw as j, S as jn, Bv as jr, F as jt, Tw as k, an as kn, qv as kr, O as kt, Jw as l, Gx as ln, hy as lr, zk as lt, qw as m, C as mn, Wf as mr, _k as mt, cb as n, Jx as nn, hg as nr, Wk as nt, tb as o, Qx as on, Ly as or, aa as ot, Kw as p, Ux as pn, Vf as pr, Ck as pt, iw as q, Bg as qn, lk as qt, rb as r, Xx as rn, $y as rr, Bk as rt, eb as s, Kx as sn, Ay as sr, Fk as st, db as t, ek as tn, _g as tr, Uk as tt, Zw as u, qx as un, py as ur, Je as ut, Vw as v, Ax as vn, If as vr, bk as vt, Fw as w, qt as wn, em as wr, r as wt, Nw as x, g as xn, vm as xr, vk as xt, Hw as y, Fx as yn, uf as yr, xk as yt, bw as z, Px as zn, Dv as zr, ii as zt };
11557
+ export { jk as $, Ig as $n, uk as $t, Pw as A, Ax as An, qv as Ar, L as At, bw as B, Cx as Bn, Dv as Br, ri as Bt, Fw as C, Gt as Cn, Jv as Cr, a as Ct, Lw as D, no as Dn, jv as Dr, k as Dt, zw as E, Ca as En, Zv as Er, p as Et, Cw as F, zx as Fn, Uv as Fr, G as Ft, yw as G, ix as Gn, dk as Gt, kw as H, xx as Hn, Qs as Hr, Ci as Ht, Iw as I, Ox as In, Fv as Ir, da as It, ow as J, Ug as Jn, lk as Jt, sw as K, lx as Kn, ck as Kt, Ew as L, Lx as Ln, Av as Lr, Ga as Lt, We as M, E as Mn, Bv as Mr, N as Mt, Ct as N, B as Nn, Vv as Nr, R as Nt, Ow as O, Ft as On, Kv as Or, M as Ot, Pt as P, Cl as Pn, Hv as Pr, H as Pt, Kk as Q, bg as Qn, sk as Qt, Ro as R, Dx as Rn, zv as Rr, Ya as Rt, $w as S, Un as Sn, vm as Sr, pk as St, Aw as T, Nn as Tn, em as Tr, u as Tt, xw as U, ux as Un, au as Ur, Li as Ut, ww as V, Ix as Vn, lu as Vr, gi as Vt, gw as W, sx as Wn, nu as Wr, Fi as Wt, Xk as X, Cg as Xn, nk as Xt, Zk as Y, Bg as Yn, ak as Yt, Yk as Z, Pg as Zn, rk as Zt, Vw as _, Wx as _n, Hf as _r, wk as _t, rb as a, Xx as an, zy as ar, Rk as at, Uw as b, Rx as bn, uf as br, hk as bt, eb as c, Gx as cn, Ay as cr, Fk as ct, Zw as d, jx as dn, py as dr, yl as dt, ze as en, Eg as er, Hk as et, Xw as f, Hx as fn, dy as fr, Dk as ft, Gw as g, $x as gn, Uf as gr, bk as gt, qw as h, P as hn, Wf as hr, Ik as ht, ab as i, Jx as in, $y as ir, $k as it, Tw as j, S as jn, Wv as jr, F as jt, Dw as k, an as kn, Gv as kr, O as kt, Qw as l, qx as ln, My as lr, Ak as lt, Kw as m, C as mn, Vf as mr, Ck as mt, db as n, Qx as nn, _g as nr, Uk as nt, nb as o, ek as on, Oy as or, aa as ot, Yw as p, Vx as pn, ny as pr, Pk as pt, rw as q, Wg as qn, ok as qt, sb as r, Zx as rn, hg as rr, Wk as rt, tb as s, Yx as sn, Ly as sr, Nk as st, pb as t, tk as tn, Sg as tr, Vk as tt, Jw as u, Kx as un, hy as ur, Je as ut, Hw as v, Fx as vn, Bf as vr, Sk as vt, Nw as w, qt as wn, Qv as wr, r as wt, Rw as x, g as xn, pm as xr, mk as xt, jw as y, Nx as yn, If as yr, kk as yt, Sw as z, Tx as zn, Lv as zr, ii as zt };