pptx-vue-viewer 2.2.2 → 2.3.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 (71) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/{AiChatPanel-McFnyCxX.js → AiChatPanel-D-lLBO2m.js} +2 -2
  3. package/dist/AiChatPanel-D-lLBO2m.js.br +0 -0
  4. package/dist/AiChatPanel-D-lLBO2m.js.gz +0 -0
  5. package/dist/{AiChatPanel-DWKNyiJ8.cjs → AiChatPanel-DqhcRndh.cjs} +1 -1
  6. package/dist/AiChatPanel-DqhcRndh.cjs.br +0 -0
  7. package/dist/AiChatPanel-DqhcRndh.cjs.gz +0 -0
  8. package/dist/{dist-BAi1Uwkk.js → dist-BG50xXJe.js} +7295 -7311
  9. package/dist/dist-BG50xXJe.js.br +0 -0
  10. package/dist/dist-BG50xXJe.js.gz +0 -0
  11. package/dist/{dist-dU6JoFXc.cjs → dist-C7IbOp1F.cjs} +7365 -7376
  12. package/dist/dist-C7IbOp1F.cjs.br +0 -0
  13. package/dist/dist-C7IbOp1F.cjs.gz +0 -0
  14. package/dist/gif-encoder-DwEfQn7G.js +2 -0
  15. package/dist/gif-encoder-DwEfQn7G.js.br +0 -0
  16. package/dist/gif-encoder-DwEfQn7G.js.gz +0 -0
  17. package/dist/gif-encoder-lcpNVX5L.cjs +2 -0
  18. package/dist/gif-encoder-lcpNVX5L.cjs.br +0 -0
  19. package/dist/gif-encoder-lcpNVX5L.cjs.gz +0 -0
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.cjs.br +0 -0
  22. package/dist/index.cjs.gz +0 -0
  23. package/dist/index.js +2 -2
  24. package/dist/index.js.br +0 -0
  25. package/dist/index.js.gz +0 -0
  26. package/dist/internals.cjs +1 -1
  27. package/dist/internals.cjs.br +0 -0
  28. package/dist/internals.cjs.gz +0 -0
  29. package/dist/internals.js +1 -1
  30. package/dist/internals.js.br +0 -0
  31. package/dist/internals.js.gz +0 -0
  32. package/dist/{useViewerSettingsDialog-dmb0TR8k.js → useViewerSettingsDialog-B-2kMkB0.js} +3629 -3615
  33. package/dist/useViewerSettingsDialog-B-2kMkB0.js.br +0 -0
  34. package/dist/useViewerSettingsDialog-B-2kMkB0.js.gz +0 -0
  35. package/dist/{useViewerSettingsDialog-t3klEHze.cjs → useViewerSettingsDialog-DpTST7T0.cjs} +2625 -2610
  36. package/dist/useViewerSettingsDialog-DpTST7T0.cjs.br +0 -0
  37. package/dist/useViewerSettingsDialog-DpTST7T0.cjs.gz +0 -0
  38. package/dist/viewer/index.cjs +1 -1
  39. package/dist/viewer/index.cjs.br +0 -0
  40. package/dist/viewer/index.cjs.gz +0 -0
  41. package/dist/viewer/index.js +2 -2
  42. package/dist/viewer/index.js.br +0 -0
  43. package/dist/viewer/index.js.gz +0 -0
  44. package/dist/{viewer-cXYz_pzO.js → viewer-Bi449Smz.js} +155 -155
  45. package/dist/viewer-Bi449Smz.js.br +0 -0
  46. package/dist/viewer-Bi449Smz.js.gz +0 -0
  47. package/dist/{viewer-BcVHp_s-.cjs → viewer-DNJdZ3oa.cjs} +3 -3
  48. package/dist/viewer-DNJdZ3oa.cjs.br +0 -0
  49. package/dist/{viewer-BcVHp_s-.cjs.gz → viewer-DNJdZ3oa.cjs.gz} +0 -0
  50. package/package.json +1 -1
  51. package/dist/AiChatPanel-DWKNyiJ8.cjs.br +0 -0
  52. package/dist/AiChatPanel-DWKNyiJ8.cjs.gz +0 -0
  53. package/dist/AiChatPanel-McFnyCxX.js.br +0 -0
  54. package/dist/AiChatPanel-McFnyCxX.js.gz +0 -0
  55. package/dist/dist-BAi1Uwkk.js.br +0 -0
  56. package/dist/dist-BAi1Uwkk.js.gz +0 -0
  57. package/dist/dist-dU6JoFXc.cjs.br +0 -0
  58. package/dist/dist-dU6JoFXc.cjs.gz +0 -0
  59. package/dist/gif-encoder-BPRUlAhz.js +0 -2
  60. package/dist/gif-encoder-BPRUlAhz.js.br +0 -0
  61. package/dist/gif-encoder-BPRUlAhz.js.gz +0 -0
  62. package/dist/gif-encoder-BTvzARmE.cjs +0 -2
  63. package/dist/gif-encoder-BTvzARmE.cjs.br +0 -0
  64. package/dist/gif-encoder-BTvzARmE.cjs.gz +0 -0
  65. package/dist/useViewerSettingsDialog-dmb0TR8k.js.br +0 -0
  66. package/dist/useViewerSettingsDialog-dmb0TR8k.js.gz +0 -0
  67. package/dist/useViewerSettingsDialog-t3klEHze.cjs.br +0 -0
  68. package/dist/useViewerSettingsDialog-t3klEHze.cjs.gz +0 -0
  69. package/dist/viewer-BcVHp_s-.cjs.br +0 -0
  70. package/dist/viewer-cXYz_pzO.js.br +0 -0
  71. package/dist/viewer-cXYz_pzO.js.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  import { i as e, n as t } from "./rolldown-runtime-E3_hCp2H.js";
2
- import { G as n, I as a, M as r, N as o, Ot as s, Q as l, W as d, Y as p, a as c, at as u, c as m, ct as h, f as g, i as f, it as y, l as x, lt as b, m as v, mt as w, n as T, nt as S, q as k, r as C, st as _, t as P, tt as I, u as A, ut as M, v as F } from "./dist-BAi1Uwkk.js";
3
- import { $a as D, $i as L, $n as E, $o as R, $r as B, $t as z, A as O, Aa as N, An as $, Ao as j, Ar as U, B as X, Ba as G, Bn as H, Bo as V, Bt as W, Ca as Z, Ci as q, Cn as K, Co as Y, Cr as J, Cs as Q, Ct as ee, D as te, Da as ne, Di as ae, Dn as re, Do as oe, Dr as ie, E as se, Ea as le, Ei as de, En as pe, Eo as ce, Er as ue, F as me, Fi as he, Fn as ge, Fo as fe, Fr as ye, Ft as xe, G as be, Ga as ve, Gi as we, Gn as Te, Go as Se, Gr as ke, Gt as Ce, Ha as _e, Hi as Pe, Hn as Ie, Ho as Ae, Hr as Me, Ht as Fe, I as De, Ia as Le, Ii as Ee, In as Re, Io as Be, Ir as ze, It as Oe, J as Ne, Ja as $e, Ji as je, Jn as Ue, Jo as Xe, Jr as Ge, K as He, Ka as Ve, Kn as We, Ko as Ze, Kr as qe, Kt as Ke, La as Ye, Ln as Je, Lo as Qe, Lr as et, Lt as tt, M as nt, Ma as at, Mi as rt, Mn as ot, Mo as it, Mr as st, Mt as lt, N as dt, Na as pt, Ni as ct, Nn as ut, No as mt, Nr as ht, Nt as gt, O as ft, Oa as yt, Oi as xt, On as bt, Oo as vt, Or as wt, Ot as Tt, P as St, Pa as kt, Pi as Ct, Pn as _t, Po as Pt, Pr as It, Pt as At, Q as Mt, Qi as Ft, Qn as Dt, Qo as Lt, Qr as Et, Qt as Rt, Ra as Bt, Rn as zt, Ro as Ot, Rt as Nt, Sa as $t, Si as jt, Sn as Ut, So as Xt, Sr as Gt, Ss as Ht, St as Vt, T as Wt, Ta as Zt, Ti as qt, Tn as Kt, To as Yt, Tr as Jt, Ua as Qt, Ui as en, Un as tn, Uo as nn, Ur as an, Ut as rn, V as on, Va as sn, Vi as ln, Vn as dn, Vo as pn, Vr as cn, Vt as un, Wa as mn, Wi as hn, Wn as gn, Wo as fn, Wr as yn, X as xn, Xa as bn, Xi as vn, Xn as wn, Xo as Tn, Xr as Sn, Xt as kn, Y as Cn, Ya as _n, Yi as Pn, Yn as In, Yo as An, Yr as Mn, Z as Fn, Za as Dn, Zi as Ln, Zn as En, Zo as Rn, Zr as Bn, _a as zn, _i as On, _n as Nn, _o as $n, _r as jn, a as Un, aa as Xn, ai as Gn, an as Hn, ao as Vn, ar as Wn, as as Zn, at as qn, ba as Kn, bi as Yn, bn as Jn, bo as Qn, br as ea, bs as ta, bt as na, c as aa, ca as ra, ci as oa, cn as ia, co as sa, cr as la, cs as da, ct as pa, d as ca, da as ua, di as ma, do as ha, dr as ga, ds as fa, dt as ya, ea as xa, ei as ba, en as va, eo as wa, er as Ta, es as Sa, et as ka, f as Ca, fa as _a, fi as Pa, fo as Ia, fr as Aa, fs as Ma, ga as Fa, gi as Da, gn as La, go as Ea, gr as Ra, gt as Ba, h as za, ha as Oa, hi as Na, hn as $a, ho as ja, ia as Ua, ii as Xa, in as Ga, is as Ha, it as Va, j as Wa, ja as Za, ji as qa, jn as Ka, jo as Ya, jr as Ja, jt as Qa, k as er, ka as tr, ki as nr, kn as ar, ko as rr, kr as or, l as ir, la as sr, ln as lr, lo as dr, lr as pr, ls as cr, lt as ur, m as mr, ma as hr, mi as gr, mo as yr, mr as xr, mt as br, n as vr, na as wr, ni as Tr, nn as Sr, no as kr, nr as Cr, ns as _r, o as Pr, oa as Ir, oi as Ar, on as Mr, oo as Fr, or as Dr, os as Lr, ot as Er, p as Rr, pa as Br, pi as zr, po as Or, pr as Nr, ps as $r, q as jr, qi as Ur, qn as Xr, qo as Gr, qr as Hr, ra as Vr, ri as Wr, rn as Zr, ro as qr, rs as Kr, s as Yr, sa as Jr, si as Qr, sn as eo, so as to, sr as no, ss as ao, st as ro, t as oo, ta as io, ti as so, tn as lo, to as po, tr as co, ts as uo, tt as mo, u as ho, ua as go, un as fo, uo as yo, ur as xo, us as bo, ut as vo, v as wo, va as To, vi as So, vn as ko, vo as Co, vr as _o, w as Po, wa as Io, wi as Ao, wn as Mo, wo as Fo, wr as Do, xa as Lo, xi as Eo, xs as Bo, xt as zo, y as Oo, ya as No, yi as $o, yn as jo, yo as Uo, yr as Xo, ys as Go, za as Ho, zi as Vo, zn as Wo, zo as Zo, zr as qo, zt as Ko } from "./useViewerSettingsDialog-dmb0TR8k.js";
2
+ import { G as n, I as a, M as r, N as o, Q as s, W as l, Y as d, a as p, at as c, c as u, ct as m, dt as h, f as g, ht as f, i as y, it as x, kt as b, l as v, lt as w, m as T, n as S, nt as k, q as C, r as _, st as P, t as I, tt as A, u as M, v as F } from "./dist-BG50xXJe.js";
3
+ import { $a as D, $i as L, $n as E, $o as R, $r as B, $t as z, A as O, Aa as N, An as $, Ao as j, Ar as U, B as X, Ba as G, Bn as H, Bo as V, Bt as W, Ca as Z, Ci as q, Cn as K, Co as Y, Cr as J, Cs as Q, Ct as ee, D as te, Da as ne, Di as ae, Dn as re, Do as oe, Dr as ie, E as se, Ea as le, Ei as de, En as pe, Eo as ce, Er as ue, F as me, Fi as he, Fn as ge, Fo as fe, Fr as ye, Ft as xe, G as be, Ga as ve, Gi as we, Gn as Te, Go as Se, Gr as ke, Gt as Ce, Ha as _e, Hi as Pe, Hn as Ie, Ho as Ae, Hr as Me, Ht as Fe, I as De, Ia as Le, Ii as Ee, In as Re, Io as Be, Ir as ze, It as Oe, J as Ne, Ja as $e, Ji as je, Jn as Ue, Jo as Xe, Jr as Ge, K as He, Ka as Ve, Kn as We, Ko as Ze, Kr as qe, Kt as Ke, La as Ye, Ln as Je, Lo as Qe, Lr as et, Lt as tt, M as nt, Ma as at, Mi as rt, Mn as ot, Mo as it, Mr as st, Mt as lt, N as dt, Na as pt, Ni as ct, Nn as ut, No as mt, Nr as ht, Nt as gt, O as ft, Oa as yt, Oi as xt, On as bt, Oo as vt, Or as wt, Ot as Tt, P as St, Pa as kt, Pi as Ct, Pn as _t, Po as Pt, Pr as It, Pt as At, Q as Mt, Qi as Ft, Qn as Dt, Qo as Lt, Qr as Et, Qt as Rt, Ra as Bt, Rn as zt, Ro as Ot, Rt as Nt, Sa as $t, Si as jt, Sn as Ut, So as Xt, Sr as Gt, Ss as Ht, St as Vt, T as Wt, Ta as Zt, Ti as qt, Tn as Kt, To as Yt, Tr as Jt, Ua as Qt, Ui as en, Un as tn, Uo as nn, Ur as an, Ut as rn, V as on, Va as sn, Vi as ln, Vn as dn, Vo as pn, Vr as cn, Vt as un, Wa as mn, Wi as hn, Wn as gn, Wo as fn, Wr as yn, X as xn, Xa as bn, Xi as vn, Xn as wn, Xo as Tn, Xr as Sn, Xt as kn, Y as Cn, Ya as _n, Yi as Pn, Yn as In, Yo as An, Yr as Mn, Z as Fn, Za as Dn, Zi as Ln, Zn as En, Zo as Rn, Zr as Bn, _a as zn, _i as On, _n as Nn, _o as $n, _r as jn, a as Un, aa as Xn, ai as Gn, an as Hn, ao as Vn, ar as Wn, as as Zn, at as qn, ba as Kn, bi as Yn, bn as Jn, bo as Qn, br as ea, bs as ta, bt as na, c as aa, ca as ra, ci as oa, cn as ia, co as sa, cr as la, cs as da, ct as pa, d as ca, da as ua, di as ma, do as ha, dr as ga, ds as fa, dt as ya, ea as xa, ei as ba, en as va, eo as wa, er as Ta, es as Sa, et as ka, f as Ca, fa as _a, fi as Pa, fo as Ia, fr as Aa, fs as Ma, ga as Fa, gi as Da, gn as La, go as Ea, gr as Ra, gt as Ba, h as za, ha as Oa, hi as Na, hn as $a, ho as ja, ia as Ua, ii as Xa, in as Ga, is as Ha, it as Va, j as Wa, ja as Za, ji as qa, jn as Ka, jo as Ya, jr as Ja, jt as Qa, k as er, ka as tr, ki as nr, kn as ar, ko as rr, kr as or, l as ir, la as sr, ln as lr, lo as dr, lr as pr, ls as cr, lt as ur, m as mr, ma as hr, mi as gr, mo as yr, mr as xr, mt as br, n as vr, na as wr, ni as Tr, nn as Sr, no as kr, nr as Cr, ns as _r, o as Pr, oa as Ir, oi as Ar, on as Mr, oo as Fr, or as Dr, os as Lr, ot as Er, p as Rr, pa as Br, pi as zr, po as Or, pr as Nr, ps as $r, q as jr, qi as Ur, qn as Xr, qo as Gr, qr as Hr, ra as Vr, ri as Wr, rn as Zr, ro as qr, rs as Kr, s as Yr, sa as Jr, si as Qr, sn as eo, so as to, sr as no, ss as ao, st as ro, t as oo, ta as io, ti as so, tn as lo, to as po, tr as co, ts as uo, tt as mo, u as ho, ua as go, un as fo, uo as yo, ur as xo, us as bo, ut as vo, v as wo, va as To, vi as So, vn as ko, vo as Co, vr as _o, w as Po, wa as Io, wi as Ao, wn as Mo, wo as Fo, wr as Do, xa as Lo, xi as Eo, xs as Bo, xt as zo, y as Oo, ya as No, yi as $o, yn as jo, yo as Uo, yr as Xo, ys as Go, za as Ho, zi as Vo, zn as Wo, zo as Zo, zr as qo, zt as Ko } from "./useViewerSettingsDialog-B-2kMkB0.js";
4
4
  import { t as Yo } from "./i18n-CktYTjt-.js";
5
5
  import "./i18n.js";
6
6
  import { Fragment as Jo, Teleport as Qo, computed as ei, createBlock as ti, createCommentVNode as ni, createElementBlock as ai, createElementVNode as ri, createSlots as oi, createTextVNode as ii, createVNode as si, defineAsyncComponent as li, defineComponent as di, guardReactiveProps as pi, inject as ci, mergeModels as ui, mergeProps as mi, nextTick as hi, normalizeClass as gi, normalizeProps as fi, normalizeStyle as yi, onBeforeUnmount as xi, onMounted as bi, onScopeDispose as vi, onUnmounted as wi, onUpdated as Ti, openBlock as Si, provide as ki, reactive as Ci, ref as _i, renderList as Pi, renderSlot as Ii, resolveComponent as Ai, resolveDynamicComponent as Mi, shallowRef as Fi, toDisplayString as Di, toValue as Li, unref as Ei, useModel as Ri, useSlots as Bi, vModelCheckbox as zi, vModelDynamic as Oi, vModelSelect as Ni, vModelText as $i, vShow as ji, watch as Ui, watchEffect as Xi, watchPostEffect as Gi, withCtx as Hi, withDirectives as Vi, withKeys as Wi, withModifiers as Zi } from "vue";
@@ -95,7 +95,7 @@ var pd, cd = ["aria-label"], ud = { class: "pptx-vue-a11y-panel__header flex ite
95
95
  var n;
96
96
  }), 128))])], 8, bd))), 128))])) : (Si(), ai("div", gd, [ri("p", fd, Di(Ei(r)("pptx.accessibility.noIssuesFound")), 1), ri("p", yd, Di(Ei(r)("pptx.accessibility.noIssuesHint")), 1)]))], 8, cd));
97
97
  }
98
- }), Ad = li(() => import("./AiChatPanel-McFnyCxX.js"));
98
+ }), Ad = li(() => import("./AiChatPanel-D-lLBO2m.js"));
99
99
  function Md(e, t, n) {
100
100
  function a(n, a) {
101
101
  if (n._zod || Object.defineProperty(n, "_zod", {
@@ -32634,7 +32634,7 @@ async function Gj(e, t, n, a = {}) {
32634
32634
  };
32635
32635
  let i;
32636
32636
  try {
32637
- i = await new x("", {
32637
+ i = await new v("", {
32638
32638
  sourceName: n.title ?? "deck.pptx",
32639
32639
  includeSpeakerNotes: a.includeSpeakerNotes ?? !0,
32640
32640
  mediaFolderName: "media",
@@ -32922,7 +32922,7 @@ var cU = {
32922
32922
  name: t?.name,
32923
32923
  colorScheme: t?.colorScheme,
32924
32924
  fontScheme: t?.fontScheme,
32925
- availablePresets: Object.keys(v)
32925
+ availablePresets: Object.keys(T)
32926
32926
  };
32927
32927
  }
32928
32928
  }, uU = Tx().int().min(0).describe("Zero-based slide index."), mU = ky().describe("Target element id."), hU = {
@@ -34824,7 +34824,7 @@ function BU(e, t, n) {
34824
34824
  }
34825
34825
  function zU(e, t) {
34826
34826
  void 0 !== t.x && (e.x = t.x), void 0 !== t.y && (e.y = t.y), void 0 !== t.width && (e.width = t.width), void 0 !== t.height && (e.height = t.height), void 0 !== t.rotation && (e.rotation = t.rotation), void 0 !== t.opacity && (e.opacity = t.opacity), void 0 !== t.hidden && (e.hidden = t.hidden), void 0 !== t.flipHorizontal && (e.flipHorizontal = t.flipHorizontal), void 0 !== t.flipVertical && (e.flipVertical = t.flipVertical), function(e, t) {
34827
- if (!u(e)) return;
34827
+ if (!c(e)) return;
34828
34828
  const n = e;
34829
34829
  void 0 !== t.text && (n.text = t.text, n.textSegments && n.textSegments.length > 0 ? n.textSegments[0].text = t.text : n.textSegments = [{
34830
34830
  text: t.text,
@@ -35868,7 +35868,7 @@ function IG(e, t) {
35868
35868
  return No(e, t);
35869
35869
  }
35870
35870
  function AG(e, t, n, a) {
35871
- if (!y(e)) return {};
35871
+ if (!x(e)) return {};
35872
35872
  const r = e.shapeStyle, o = {};
35873
35873
  if (r) {
35874
35874
  const i = n ? void 0 : zn(e, t);
@@ -35883,23 +35883,23 @@ function AG(e, t, n, a) {
35883
35883
  const n = [];
35884
35884
  e.boxShadow && n.push(String(e.boxShadow)), t.extrusionBoxShadow && n.push(t.extrusionBoxShadow), t.boxShadow && n.push(t.boxShadow), n.length > 0 && (e.boxShadow = n.join(", ")), t.transform && (e.transform = e.transform ? `${String(e.transform)} ${t.transform}` : t.transform), t.perspective && (e.perspective = t.perspective), t.transformStyle && (e.transformStyle = t.transformStyle), t.willChange && (e.willChange = t.willChange), t.filter && (e.filter = e.filter ? `${String(e.filter)} ${t.filter}` : t.filter), t.backgroundImage && (e.backgroundImage = e.backgroundImage ? `${t.backgroundImage}, ${String(e.backgroundImage)}` : t.backgroundImage), t.background && !e.background && (e.background = t.background), void 0 !== t.opacity && void 0 === e.opacity && (e.opacity = t.opacity);
35885
35885
  })(o, Oa(e));
35886
- const s = I(e.shapeType);
35887
- if ("connector" === e.type || "connector" === s) return o.backgroundColor = "transparent", o.border = "none", o;
35888
- if ("roundRect" === s) {
35889
- const t = l(e);
35886
+ const l = A(e.shapeType);
35887
+ if ("connector" === e.type || "connector" === l) return o.backgroundColor = "transparent", o.border = "none", o;
35888
+ if ("roundRect" === l) {
35889
+ const t = s(e);
35890
35890
  return t > .01 && (o.borderRadius = oe(t)), o;
35891
35891
  }
35892
- if ("ellipse" === s) return o.borderRadius = "9999px", o;
35892
+ if ("ellipse" === l) return o.borderRadius = "9999px", o;
35893
35893
  const d = kt(e);
35894
35894
  if (d) return o.clipPath = d, o;
35895
- if ("line" === s) {
35895
+ if ("line" === l) {
35896
35896
  const t = Math.max(0, e.shapeStyle?.strokeWidth ?? 0);
35897
35897
  return o.backgroundColor = "transparent", o.border = "none", o.borderTop = `${oe(Math.max(t, 2))} ${Kn(e.shapeStyle?.strokeDash)} ${e.shapeStyle?.strokeColor ?? "#1f2937"}`, o;
35898
35898
  }
35899
- return "cylinder" === s ? (o.borderRadius = "48% / 12%", o) : o;
35899
+ return "cylinder" === l ? (o.borderRadius = "48% / 12%", o) : o;
35900
35900
  }
35901
35901
  function MG(e) {
35902
- if (!u(e)) return {};
35902
+ if (!c(e)) return {};
35903
35903
  const t = e.textStyle, n = t?.bodyInsetTop ?? 4.8, a = t?.bodyInsetBottom ?? 4.8, r = t?.bodyInsetLeft ?? 9.6, o = t?.bodyInsetRight ?? 9.6, i = {
35904
35904
  display: "flex",
35905
35905
  flexDirection: "column",
@@ -37752,16 +37752,16 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37752
37752
  animationState: {}
37753
37753
  },
37754
37754
  setup(e) {
37755
- const t = e, n = ei(() => y(t.element) ? t.element.shapeStyle : void 0), a = ei(() => Math.max(0, n.value?.strokeWidth ?? 2)), r = ei(() => t.animationState?.animatesStroke ? "inherit" : n.value?.strokeColor ?? "#1f2937"), o = ei(() => n.value?.strokeOpacity ?? 1), i = ei(() => {
37755
+ const t = e, n = ei(() => x(t.element) ? t.element.shapeStyle : void 0), a = ei(() => Math.max(0, n.value?.strokeWidth ?? 2)), r = ei(() => t.animationState?.animatesStroke ? "inherit" : n.value?.strokeColor ?? "#1f2937"), o = ei(() => n.value?.strokeOpacity ?? 1), i = ei(() => {
37756
37756
  const e = n.value?.strokeDash, t = Math.max(a.value, 1);
37757
37757
  if (e && "solid" !== e) return "dot" === e || "sysDot" === e ? `${t} ${t}` : `${3 * t} ${t}`;
37758
- }), s = ei(() => Math.max(t.element.width, 1)), l = ei(() => Math.max(t.element.height, 1)), d = ei(() => n.value?.compoundLine), c = ei(() => Br(d.value, a.value)), m = ei(() => hr(d.value, a.value)), h = ei(() => {
37759
- return de(y(t.element) ? t.element.shapeType : void 0);
37758
+ }), s = ei(() => Math.max(t.element.width, 1)), l = ei(() => Math.max(t.element.height, 1)), p = ei(() => n.value?.compoundLine), u = ei(() => Br(p.value, a.value)), m = ei(() => hr(p.value, a.value)), h = ei(() => {
37759
+ return de(x(t.element) ? t.element.shapeType : void 0);
37760
37760
  }), g = ei(() => {
37761
37761
  if (!h.value) return null;
37762
37762
  const e = t.element;
37763
- return y(e) ? p(e) : null;
37764
- }), f = ei(() => t.element.flipHorizontal ? s.value : 0), x = ei(() => t.element.flipVertical ? l.value : 0), b = ei(() => t.element.flipHorizontal ? 0 : s.value), v = ei(() => t.element.flipVertical ? 0 : l.value), w = ei(() => S(n.value?.connectorStartArrow)), T = ei(() => S(n.value?.connectorEndArrow));
37763
+ return x(e) ? d(e) : null;
37764
+ }), f = ei(() => t.element.flipHorizontal ? s.value : 0), y = ei(() => t.element.flipVertical ? l.value : 0), b = ei(() => t.element.flipHorizontal ? 0 : s.value), v = ei(() => t.element.flipVertical ? 0 : l.value), w = ei(() => S(n.value?.connectorStartArrow)), T = ei(() => S(n.value?.connectorEndArrow));
37765
37765
  function S(e) {
37766
37766
  return e && "none" !== e ? e : void 0;
37767
37767
  }
@@ -37777,7 +37777,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37777
37777
  overflow: "visible"
37778
37778
  };
37779
37779
  return e.rotation && (n.transform = `rotate(${e.rotation}deg)`), "number" == typeof e.opacity && (n.opacity = e.opacity), F.value && (n.filter = F.value), e.hidden && (n.display = "none"), n;
37780
- }), I = ei(() => w.value ? Fr(w.value, n.value?.connectorStartArrowWidth, n.value?.connectorStartArrowLength) : null), A = ei(() => T.value ? Fr(T.value, n.value?.connectorEndArrowWidth, n.value?.connectorEndArrowLength) : null), M = ei(() => tr(n.value)), F = ei(() => yt(n.value)), D = ei(() => `${k.value}-line-shadow`), L = ei(() => u(t.element) ? t.element : void 0), E = ei(() => L.value?.text?.trim() ?? ""), R = ei(() => L.value?.textSegments), B = ei(() => L.value?.textStyle);
37780
+ }), I = ei(() => w.value ? Fr(w.value, n.value?.connectorStartArrowWidth, n.value?.connectorStartArrowLength) : null), A = ei(() => T.value ? Fr(T.value, n.value?.connectorEndArrowWidth, n.value?.connectorEndArrowLength) : null), M = ei(() => tr(n.value)), F = ei(() => yt(n.value)), D = ei(() => `${k.value}-line-shadow`), L = ei(() => c(t.element) ? t.element : void 0), E = ei(() => L.value?.text?.trim() ?? ""), R = ei(() => L.value?.textSegments), B = ei(() => L.value?.textStyle);
37781
37781
  function z(e) {
37782
37782
  if (0 !== e) return `translate(0, ${e}px)`;
37783
37783
  }
@@ -37850,7 +37850,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37850
37850
  "flood-color": M.value.color,
37851
37851
  "flood-opacity": M.value.opacity
37852
37852
  }, null, 8, YV)], 8, KV)) : ni("", !0)
37853
- ]), h.value && g.value ? (Si(!0), ai(Jo, { key: 0 }, Pi(c.value, (e, t) => (Si(), ai("path", {
37853
+ ]), h.value && g.value ? (Si(!0), ai(Jo, { key: 0 }, Pi(u.value, (e, t) => (Si(), ai("path", {
37854
37854
  key: t,
37855
37855
  d: g.value.pathData,
37856
37856
  fill: "none",
@@ -37863,11 +37863,11 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37863
37863
  filter: 0 === t && M.value ? `url(#${D.value})` : void 0,
37864
37864
  style: yi(z(e) ? { transform: z(e) } : void 0),
37865
37865
  "marker-start": 0 === t && I.value ? `url(#${C.value})` : void 0,
37866
- "marker-end": t === c.value.length - 1 && A.value ? `url(#${_.value})` : void 0
37867
- }, null, 12, JV))), 128)) : (Si(!0), ai(Jo, { key: 1 }, Pi(c.value, (e, t) => (Si(), ai("line", {
37866
+ "marker-end": t === u.value.length - 1 && A.value ? `url(#${_.value})` : void 0
37867
+ }, null, 12, JV))), 128)) : (Si(!0), ai(Jo, { key: 1 }, Pi(u.value, (e, t) => (Si(), ai("line", {
37868
37868
  key: t,
37869
37869
  x1: f.value,
37870
- y1: x.value + e,
37870
+ y1: y.value + e,
37871
37871
  x2: b.value,
37872
37872
  y2: v.value + e,
37873
37873
  stroke: r.value,
@@ -37877,7 +37877,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37877
37877
  "stroke-linecap": "round",
37878
37878
  filter: 0 === t && M.value ? `url(#${D.value})` : void 0,
37879
37879
  "marker-start": 0 === t && I.value ? `url(#${C.value})` : void 0,
37880
- "marker-end": t === c.value.length - 1 && A.value ? `url(#${_.value})` : void 0
37880
+ "marker-end": t === u.value.length - 1 && A.value ? `url(#${_.value})` : void 0
37881
37881
  }, null, 8, QV))), 128))], 8, XV)), R.value ? (Si(), ti(jV, {
37882
37882
  key: 0,
37883
37883
  text: E.value,
@@ -37905,7 +37905,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
37905
37905
  props: { element: {} },
37906
37906
  setup(e) {
37907
37907
  const t = e, n = ei(() => {
37908
- if (!y(t.element)) return;
37908
+ if (!x(t.element)) return;
37909
37909
  const e = t.element.shapeStyle;
37910
37910
  return e?.dagDuotone ? $t(e, t.element.id) : void 0;
37911
37911
  });
@@ -38061,7 +38061,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38061
38061
  setup(e) {
38062
38062
  const t = e, n = ei(() => IG(t.element, t.zIndex)), a = ei(() => {
38063
38063
  const e = t.element;
38064
- if (!u(e)) return [];
38064
+ if (!c(e)) return [];
38065
38065
  const n = e.textSegments ?? [], a = [];
38066
38066
  return n.forEach((t, n) => {
38067
38067
  if (!t.equationXml) return;
@@ -38148,7 +38148,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38148
38148
  replay: { type: Boolean }
38149
38149
  },
38150
38150
  setup(e) {
38151
- const t = e, n = ei(() => IG(t.element, t.zIndex)), a = ei(() => h(t.element) ? t.element : void 0), r = ei(() => Math.max(t.element.width, 1)), o = ei(() => Math.max(t.element.height, 1));
38151
+ const t = e, n = ei(() => IG(t.element, t.zIndex)), a = ei(() => m(t.element) ? t.element : void 0), r = ei(() => Math.max(t.element.width, 1)), o = ei(() => Math.max(t.element.height, 1));
38152
38152
  const i = ei(() => {
38153
38153
  const e = a.value;
38154
38154
  return e ? (e.inkPaths ?? []).map((t, n) => {
@@ -38672,7 +38672,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38672
38672
  pointerEvents: "none"
38673
38673
  };
38674
38674
  }), r = ei(() => {
38675
- if (y(t.element)) return Bt(t.element.shapeStyle, t.element.id);
38675
+ if (x(t.element)) return Bt(t.element.shapeStyle, t.element.id);
38676
38676
  });
38677
38677
  return (e, t) => (Si(), ai(Jo, null, [r.value ? (Si(), ai("svg", kZ, [ri("defs", { innerHTML: r.value.filterMarkup }, null, 8, CZ)])) : ni("", !0), a.value ? (Si(), ai("div", {
38678
38678
  key: 1,
@@ -38885,34 +38885,34 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38885
38885
  y: -r / 2 + a / 2 + t * a
38886
38886
  }));
38887
38887
  }
38888
- const l = ei(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), d = ei(() => l.value?.nodes ?? []), p = ei(() => l.value ? Hr(l.value) : void 0), c = ei(() => {
38888
+ const s = ei(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), l = ei(() => s.value?.nodes ?? []), d = ei(() => s.value ? Hr(s.value) : void 0), p = ei(() => {
38889
38889
  const e = /* @__PURE__ */ new Map();
38890
- for (const t of p.value?.nodes ?? []) e.set(t.id, t.label);
38890
+ for (const t of d.value?.nodes ?? []) e.set(t.id, t.label);
38891
38891
  return e;
38892
38892
  });
38893
- function u(e) {
38894
- return e ? c.value.get(e) : void 0;
38893
+ function c(e) {
38894
+ return e ? p.value.get(e) : void 0;
38895
38895
  }
38896
- const m = ei(() => {
38897
- const e = l.value;
38896
+ const u = ei(() => {
38897
+ const e = s.value;
38898
38898
  if (!e) return r;
38899
38899
  const t = e.colorTransform?.fillColors;
38900
38900
  return t && t.length > 0 ? t : a[e.colorScheme ?? "colorful1"] ?? r;
38901
- }), h = ei(() => l.value?.style ?? "flat"), g = ei(() => l.value?.chrome), f = ei(() => IG(t.element, t.zIndex)), y = ei(() => {
38902
- const e = g.value, t = {
38901
+ }), m = ei(() => s.value?.style ?? "flat"), h = ei(() => s.value?.chrome), g = ei(() => IG(t.element, t.zIndex)), f = ei(() => {
38902
+ const e = h.value, t = {
38903
38903
  width: "100%",
38904
38904
  height: "100%"
38905
38905
  };
38906
38906
  return e ? (e.backgroundColor && (t.backgroundColor = e.backgroundColor), e.outlineColor && (t.border = `${e.outlineWidth ?? 1}px solid ${e.outlineColor}`), t) : t;
38907
- }), x = ei(() => l.value?.drawingShapes ?? []), b = ei(() => x.value.length > 0), v = ei(() => {
38907
+ }), y = ei(() => s.value?.drawingShapes ?? []), x = ei(() => y.value.length > 0), v = ei(() => {
38908
38908
  const e = t.animationState?.build;
38909
38909
  return "diagram" === e?.kind ? e : void 0;
38910
- }), w = ei(() => v.value ? Gr(d.value, v.value) : d.value.length), T = ei(() => void 0 !== v.value && w.value < d.value.length), S = ei(() => T.value ? d.value.slice(0, w.value) : d.value), k = ei(() => {
38911
- if (!T.value || 0 === x.value.length) return x.value;
38912
- const e = Math.ceil(w.value / Math.max(d.value.length, 1) * x.value.length);
38913
- return x.value.slice(0, e);
38910
+ }), w = ei(() => v.value ? Gr(l.value, v.value) : l.value.length), T = ei(() => void 0 !== v.value && w.value < l.value.length), S = ei(() => T.value ? l.value.slice(0, w.value) : l.value), k = ei(() => {
38911
+ if (!T.value || 0 === y.value.length) return y.value;
38912
+ const e = Math.ceil(w.value / Math.max(l.value.length, 1) * y.value.length);
38913
+ return y.value.slice(0, e);
38914
38914
  }), C = ei(() => {
38915
- const e = x.value;
38915
+ const e = y.value;
38916
38916
  let t = Infinity, n = Infinity, a = -Infinity, r = -Infinity;
38917
38917
  for (const o of e) o.x < t && (t = o.x), o.y < n && (n = o.y), o.x + o.width > a && (a = o.x + o.width), o.y + o.height > r && (r = o.y + o.height);
38918
38918
  return Number.isFinite(t) || (t = 0, n = 0, a = 1, r = 1), {
@@ -38924,14 +38924,14 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38924
38924
  }), _ = ei(() => {
38925
38925
  const e = k.value, { minX: n, minY: a } = C.value, r = function(e) {
38926
38926
  return "intense" === e ? 2 : "moderate" === e ? 1.5 : 0;
38927
- }(h.value), i = m.value, s = Hn(d.value);
38928
- let l = 0;
38929
- return e.map((e, d) => {
38927
+ }(m.value), i = u.value, s = Hn(l.value);
38928
+ let d = 0;
38929
+ return e.map((e, l) => {
38930
38930
  const p = e.fillColor ?? function(e, t) {
38931
38931
  return t[e % t.length];
38932
- }(d, i), c = e.x - n, u = e.y - a, m = "ellipse" === e.shapeType, h = "roundRect" === e.shapeType ? .1 * Math.min(e.width, e.height) : 0, g = c + e.width / 2, f = u + e.height / 2, y = e.strokeColor ?? (r > 0 ? "rgba(255,255,255,0.3)" : "none"), x = e.rotation ? `rotate(${e.rotation} ${g} ${f})` : void 0, b = e.text ? s[l++] : void 0;
38932
+ }(l, i), c = e.x - n, u = e.y - a, m = "ellipse" === e.shapeType, h = "roundRect" === e.shapeType ? .1 * Math.min(e.width, e.height) : 0, g = c + e.width / 2, f = u + e.height / 2, y = e.strokeColor ?? (r > 0 ? "rgba(255,255,255,0.3)" : "none"), x = e.rotation ? `rotate(${e.rotation} ${g} ${f})` : void 0, b = e.text ? s[d++] : void 0;
38933
38933
  return {
38934
- key: `${t.element.id}-dsp-${e.id}-${d}`,
38934
+ key: `${t.element.id}-dsp-${e.id}-${l}`,
38935
38935
  nodeId: b,
38936
38936
  isEllipse: m,
38937
38937
  x: c,
@@ -38954,14 +38954,14 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38954
38954
  });
38955
38955
  }), P = ei(() => function(e) {
38956
38956
  return "intense" === e ? "drop-shadow(0 2px 6px rgba(0,0,0,0.35))" : "moderate" === e ? "drop-shadow(0 1px 3px rgba(0,0,0,0.2))" : void 0;
38957
- }(h.value)), I = ei(() => {
38958
- if (b.value || 0 === d.value.length) return;
38959
- const e = l.value;
38957
+ }(m.value)), I = ei(() => {
38958
+ if (x.value || 0 === l.value.length) return;
38959
+ const e = s.value;
38960
38960
  return jt(S.value, {
38961
38961
  width: t.element.width,
38962
38962
  height: t.element.height
38963
- }, m.value, h.value, t.element.id, e?.resolvedLayoutType, e?.layout, void 0, e?.layoutDefinition, e?.presLayoutVars);
38964
- }), A = ei(() => 0 === d.value.length && !b.value), M = Sr(), F = ei(() => Boolean(M?.canEdit())), D = ei(() => I.value ? Ga(d.value) : []), L = Mr(), E = _i(null), R = _i(null), B = _i(null), { hoveredNodeId: z, hoveredNodeRect: O, onMouseMove: N, onMouseLeave: $ } = va(E);
38963
+ }, u.value, m.value, t.element.id, e?.resolvedLayoutType, e?.layout, void 0, e?.layoutDefinition, e?.presLayoutVars);
38964
+ }), A = ei(() => 0 === l.value.length && !x.value), M = Sr(), F = ei(() => Boolean(M?.canEdit())), D = ei(() => I.value ? Ga(l.value) : []), L = Mr(), E = _i(null), R = _i(null), B = _i(null), { hoveredNodeId: z, hoveredNodeRect: O, onMouseMove: N, onMouseLeave: $ } = va(E);
38965
38965
  function j(e) {
38966
38966
  N(e, B.value);
38967
38967
  }
@@ -38986,7 +38986,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38986
38986
  });
38987
38987
  }
38988
38988
  function G() {
38989
- const e = L.editingNodeId.value, n = l.value;
38989
+ const e = L.editingNodeId.value, n = s.value;
38990
38990
  e && n && M && _r(n, e, L.draft.value) && M.commit(t.element.id, e, L.draft.value), L.cancel();
38991
38991
  }
38992
38992
  function H(e) {
@@ -38994,7 +38994,7 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
38994
38994
  }
38995
38995
  return (a, r) => (Si(), ai("div", {
38996
38996
  class: "pptx-vue-element pptx-vue-smartart",
38997
- style: yi(f.value),
38997
+ style: yi(g.value),
38998
38998
  "data-element-id": e.element.id,
38999
38999
  "data-pptx-element": t.interactive ? "true" : void 0,
39000
39000
  "aria-roledescription": "diagram"
@@ -39002,13 +39002,13 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
39002
39002
  ref_key: "rootEl",
39003
39003
  ref: E,
39004
39004
  class: "pptx-vue-smartart-chrome",
39005
- style: yi(y.value),
39006
- role: p.value ? "img" : void 0,
39007
- "aria-label": p.value?.label,
39005
+ style: yi(f.value),
39006
+ role: d.value ? "img" : void 0,
39007
+ "aria-label": d.value?.label,
39008
39008
  onMousemove: j,
39009
39009
  onMouseleave: r[5] || (r[5] = (...e) => Ei($) && Ei($)(...e))
39010
39010
  }, [
39011
- A.value ? (Si(), ai("div", BZ, Di(Ei(n)("pptx.smartArt.placeholder")), 1)) : b.value ? (Si(), ai("svg", {
39011
+ A.value ? (Si(), ai("div", BZ, Di(Ei(n)("pptx.smartArt.placeholder")), 1)) : x.value ? (Si(), ai("svg", {
39012
39012
  key: 1,
39013
39013
  class: "pptx-vue-smartart-svg",
39014
39014
  "data-testid": t.interactive ? "smartart-drawing-shapes" : void 0,
@@ -39020,13 +39020,13 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
39020
39020
  "data-node-id": e.nodeId,
39021
39021
  "data-smartart-node-id": e.nodeId || void 0,
39022
39022
  tabindex: F.value && e.nodeId ? 0 : void 0,
39023
- role: u(e.nodeId) ? "img" : void 0,
39024
- "aria-label": u(e.nodeId),
39023
+ role: c(e.nodeId) ? "img" : void 0,
39024
+ "aria-label": c(e.nodeId),
39025
39025
  style: yi(P.value ? { filter: P.value } : void 0),
39026
39026
  onDblclick: (t) => X(e.nodeId, e.text ?? "", t),
39027
39027
  onKeydown: Wi(Zi((t) => X(e.nodeId, e.text ?? "", t), ["prevent"]), ["enter"])
39028
39028
  }, [
39029
- u(e.nodeId) ? (Si(), ai("title", NZ, Di(u(e.nodeId)), 1)) : ni("", !0),
39029
+ c(e.nodeId) ? (Si(), ai("title", NZ, Di(c(e.nodeId)), 1)) : ni("", !0),
39030
39030
  e.isEllipse ? (Si(), ai("ellipse", {
39031
39031
  key: 1,
39032
39032
  cx: e.cx,
@@ -39081,12 +39081,12 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
39081
39081
  "data-node-id": D.value[t],
39082
39082
  "data-smartart-node-id": D.value[t] || void 0,
39083
39083
  tabindex: F.value && D.value[t] ? 0 : void 0,
39084
- role: u(D.value[t]) ? "img" : void 0,
39085
- "aria-label": u(D.value[t]),
39084
+ role: c(D.value[t]) ? "img" : void 0,
39085
+ "aria-label": c(D.value[t]),
39086
39086
  style: yi(I.value.shadowFilter ? { filter: I.value.shadowFilter } : void 0),
39087
39087
  onDblclick: (n) => X(D.value[t], e.text, n),
39088
39088
  onKeydown: Wi(Zi((n) => X(D.value[t], e.text, n), ["prevent"]), ["enter"])
39089
- }, [u(D.value[t]) ? (Si(), ai("title", WZ, Di(u(D.value[t])), 1)) : ni("", !0), "circle" === e.kind ? (Si(), ai(Jo, { key: 1 }, [ri("circle", {
39089
+ }, [c(D.value[t]) ? (Si(), ai("title", WZ, Di(c(D.value[t])), 1)) : ni("", !0), "circle" === e.kind ? (Si(), ai(Jo, { key: 1 }, [ri("circle", {
39090
39090
  cx: e.cx,
39091
39091
  cy: e.cy,
39092
39092
  r: e.r,
@@ -39147,11 +39147,11 @@ var gH = { class: "pptx-vue-chart-chrome" }, fH = ["x"], yH = [
39147
39147
  ref: B,
39148
39148
  style: yi(U.value)
39149
39149
  }, [si(LZ, {
39150
- palette: m.value,
39150
+ palette: u.value,
39151
39151
  onPickFill: r[0] || (r[0] = (e) => function(e, n) {
39152
- const a = l.value;
39152
+ const a = s.value;
39153
39153
  if (!a || !M) return;
39154
- const r = s(a, e, { fillColor: n });
39154
+ const r = b(a, e, { fillColor: n });
39155
39155
  r !== a && M.commitStyle?.(t.element.id, { smartArtData: r });
39156
39156
  }(Ei(z), e))
39157
39157
  }, null, 8, ["palette"])], 4)) : ni("", !0),
@@ -39676,7 +39676,7 @@ var mq = UX(di({
39676
39676
  zIndex: {}
39677
39677
  },
39678
39678
  setup(e) {
39679
- const t = e, n = ei(() => u(t.element) ? t.element : null), a = ei(() => n.value?.textStyle?.textWarpPreset), r = ei(() => Ar(a.value)), o = ei(() => Boolean(n.value) && "path" === r.value && Kr(a.value)), i = ei(() => Boolean(n.value) && ("envelope" === r.value || "simple" === r.value)), s = (ei(() => o.value || i.value), ei(() => Math.max(t.element.width, 1))), l = ei(() => Math.max(t.element.height, 1)), d = LG(), p = ei(() => {
39679
+ const t = e, n = ei(() => c(t.element) ? t.element : null), a = ei(() => n.value?.textStyle?.textWarpPreset), r = ei(() => Ar(a.value)), o = ei(() => Boolean(n.value) && "path" === r.value && Kr(a.value)), i = ei(() => Boolean(n.value) && ("envelope" === r.value || "simple" === r.value)), s = (ei(() => o.value || i.value), ei(() => Math.max(t.element.width, 1))), l = ei(() => Math.max(t.element.height, 1)), d = LG(), p = ei(() => {
39680
39680
  const e = n.value;
39681
39681
  if (!e) return [];
39682
39682
  const t = EG(d);
@@ -39690,7 +39690,7 @@ var mq = UX(di({
39690
39690
  }
39691
39691
  return e;
39692
39692
  });
39693
- }), c = ei(() => `warp-${t.element.id.replace(/[^a-zA-Z0-9_-]/gu, "_")}`), m = ei(() => n.value?.textStyle?.textWarpAdj), h = ei(() => n.value?.textStyle?.textWarpAdj2), g = ei(() => {
39693
+ }), u = ei(() => `warp-${t.element.id.replace(/[^a-zA-Z0-9_-]/gu, "_")}`), m = ei(() => n.value?.textStyle?.textWarpAdj), h = ei(() => n.value?.textStyle?.textWarpAdj2), g = ei(() => {
39694
39694
  switch (n.value?.textStyle?.align ?? "center") {
39695
39695
  case "center": return {
39696
39696
  startOffset: "50%",
@@ -39705,7 +39705,7 @@ var mq = UX(di({
39705
39705
  textAnchor: "start"
39706
39706
  };
39707
39707
  }
39708
- }), f = ei(() => n.value?.textStyle?.fontSize ?? 24), y = ei(() => n.value?.textStyle?.fontFamily ? S(n.value.textStyle.fontFamily) : Dq), x = ei(() => Or(n.value?.textStyle?.color, Fq)), b = ei(() => n.value?.textStyle?.bold ? 700 : 400), v = ei(() => n.value?.textStyle?.italic ? "italic" : "normal");
39708
+ }), f = ei(() => n.value?.textStyle?.fontSize ?? 24), y = ei(() => n.value?.textStyle?.fontFamily ? k(n.value.textStyle.fontFamily) : Dq), x = ei(() => Or(n.value?.textStyle?.color, Fq)), b = ei(() => n.value?.textStyle?.bold ? 700 : 400), v = ei(() => n.value?.textStyle?.italic ? "italic" : "normal");
39709
39709
  function w(e) {
39710
39710
  const t = e.style ?? {}, a = [];
39711
39711
  (t.underline || t.hyperlink) && a.push("underline"), t.strikethrough && a.push("line-through");
@@ -39715,14 +39715,14 @@ var mq = UX(di({
39715
39715
  fontSize: t.fontSize ?? r?.fontSize ?? 24,
39716
39716
  fontWeight: t.bold ? 700 : 400,
39717
39717
  fontStyle: t.italic ? "italic" : "normal",
39718
- fontFamily: i ? S(i) : Dq,
39718
+ fontFamily: i ? k(i) : Dq,
39719
39719
  textDecoration: a.length > 0 ? a.join(" ") : void 0
39720
39720
  };
39721
39721
  }
39722
39722
  function T(e) {
39723
39723
  return Et(a.value, s.value, l.value, e, p.value.length, m.value, h.value);
39724
39724
  }
39725
- const k = ei(() => {
39725
+ const S = ei(() => {
39726
39726
  const e = sn(a.value, m.value, h.value);
39727
39727
  if (e) return {
39728
39728
  transform: e.transform,
@@ -39750,7 +39750,7 @@ var mq = UX(di({
39750
39750
  "aria-hidden": "true",
39751
39751
  style: yi({ zIndex: e.zIndex })
39752
39752
  }, [ri("defs", null, [(Si(!0), ai(Jo, null, Pi(p.value, (e, t) => (Si(), ai("path", {
39753
- id: `${c.value}-${t}`,
39753
+ id: `${u.value}-${t}`,
39754
39754
  key: `def-${t}`,
39755
39755
  d: T(t),
39756
39756
  fill: "none"
@@ -39762,7 +39762,7 @@ var mq = UX(di({
39762
39762
  "font-weight": b.value,
39763
39763
  "font-style": v.value
39764
39764
  }, [ri("textPath", {
39765
- href: `#${c.value}-${t}`,
39765
+ href: `#${u.value}-${t}`,
39766
39766
  startOffset: g.value.startOffset,
39767
39767
  "text-anchor": g.value.textAnchor
39768
39768
  }, [(Si(!0), ai(Jo, null, Pi(e.segments, (e, n) => (Si(), ai("tspan", {
@@ -39777,7 +39777,7 @@ var mq = UX(di({
39777
39777
  key: 1,
39778
39778
  class: "pptx-vue-wordart pptx-vue-wordart-css",
39779
39779
  style: yi({
39780
- ...k.value,
39780
+ ...S.value,
39781
39781
  zIndex: e.zIndex
39782
39782
  }),
39783
39783
  "aria-hidden": "true"
@@ -39821,21 +39821,21 @@ var zq, Oq = [
39821
39821
  zIndex: {}
39822
39822
  },
39823
39823
  setup(e) {
39824
- const t = e, { t: n } = Nn(), a = ei(() => IG(t.element, t.zIndex)), r = ei(() => b(t.element) ? t.element : void 0), o = ei(() => r.value?.imageData), i = ei(() => r.value?.targetSlideIndex ?? 0), s = ei(() => r.value?.zoomType ?? "slide"), l = ei(() => r.value?.targetSectionId), d = ei(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), p = ci(Bq, void 0), c = ei(() => p?.(i.value)), u = ei(() => r.value ? Mn(r.value, p) : void 0), m = ei(() => ({ backgroundColor: c.value?.backgroundColor ?? "#f0f0f0" })), h = ei(() => void 0 !== c.value?.slideNumber ? n("pptx.notes.slideN", { n: c.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), g = ei(() => c.value?.sectionName ?? l.value), f = ei(() => "section" === s.value && l.value ? n("pptx.zoom.ariaLabelSection", {
39824
+ const t = e, { t: n } = Nn(), a = ei(() => IG(t.element, t.zIndex)), r = ei(() => w(t.element) ? t.element : void 0), o = ei(() => r.value?.imageData), i = ei(() => r.value?.targetSlideIndex ?? 0), s = ei(() => r.value?.zoomType ?? "slide"), l = ei(() => r.value?.targetSectionId), d = ei(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), p = ci(Bq, void 0), c = ei(() => p?.(i.value)), u = ei(() => r.value ? Mn(r.value, p) : void 0), m = ei(() => ({ backgroundColor: c.value?.backgroundColor ?? "#f0f0f0" })), h = ei(() => void 0 !== c.value?.slideNumber ? n("pptx.notes.slideN", { n: c.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), g = ei(() => c.value?.sectionName ?? l.value), f = ei(() => "section" === s.value && l.value ? n("pptx.zoom.ariaLabelSection", {
39825
39825
  number: i.value + 1,
39826
39826
  section: l.value
39827
39827
  }) : n("pptx.zoom.ariaLabel", { number: i.value + 1 })), y = ci(Rq, void 0), x = ei(() => Boolean(y && r.value));
39828
- function v(e = i.value) {
39828
+ function b(e = i.value) {
39829
39829
  y && r.value && y.navigateToZoomTarget(e);
39830
39830
  }
39831
- function w(e, t) {
39832
- x.value && (e.preventDefault(), e.stopPropagation(), v(t));
39831
+ function v(e, t) {
39832
+ x.value && (e.preventDefault(), e.stopPropagation(), b(t));
39833
39833
  }
39834
39834
  function T(e) {
39835
- x.value && (e.stopPropagation(), v());
39835
+ x.value && (e.stopPropagation(), b());
39836
39836
  }
39837
39837
  function S(e) {
39838
- !x.value || "Enter" !== e.key && " " !== e.key || (e.preventDefault(), e.stopPropagation(), v());
39838
+ !x.value || "Enter" !== e.key && " " !== e.key || (e.preventDefault(), e.stopPropagation(), b());
39839
39839
  }
39840
39840
  return (t, r) => (Si(), ai("div", {
39841
39841
  class: gi(["pptx-vue-element pptx-vue-zoom", { "pptx-vue-zoom-interactive": x.value }]),
@@ -39864,8 +39864,8 @@ var zq, Oq = [
39864
39864
  "aria-label": e.ariaLabel,
39865
39865
  role: x.value ? "button" : void 0,
39866
39866
  tabindex: x.value ? 0 : void 0,
39867
- onClick: (t) => w(t, e.targetSlideIndex),
39868
- onKeydown: [Wi((t) => w(t, e.targetSlideIndex), ["enter"]), Wi((t) => w(t, e.targetSlideIndex), ["space"])]
39867
+ onClick: (t) => v(t, e.targetSlideIndex),
39868
+ onKeydown: [Wi((t) => v(t, e.targetSlideIndex), ["enter"]), Wi((t) => v(t, e.targetSlideIndex), ["space"])]
39869
39869
  }, [e.imageSrc ? (Si(), ai("img", {
39870
39870
  key: 0,
39871
39871
  src: e.imageSrc,
@@ -39901,8 +39901,8 @@ var zq, Oq = [
39901
39901
  ...t
39902
39902
  };
39903
39903
  return e.transform && t.transform && (n.transform = `${e.transform} ${t.transform}`), n;
39904
- }), c = ei(() => {
39905
- const e = MG(t.element), a = Sn(u(t.element) ? t.element.textStyle : void 0);
39904
+ }), u = ei(() => {
39905
+ const e = MG(t.element), a = Sn(c(t.element) ? t.element.textStyle : void 0);
39906
39906
  if (!a) return e;
39907
39907
  const r = {
39908
39908
  ...e,
@@ -39910,9 +39910,9 @@ var zq, Oq = [
39910
39910
  };
39911
39911
  return e.transform && a.transform && (r.transform = `${String(e.transform)} ${String(a.transform)}`), r;
39912
39912
  }), m = ei(() => {
39913
- const e = y(t.element) ? t.element.shapeStyle : void 0;
39913
+ const e = x(t.element) ? t.element.shapeStyle : void 0;
39914
39914
  return ze(e?.shape3d, e?.scene3d, e?.fillColor, t.element.width, t.element.height);
39915
- }), h = ei(() => "text" === t.element.type || "shape" === t.element.type), g = ei(() => "picture" === t.element.type || "image" === t.element.type), f = ei(() => u(t.element) && (t.element.textSegments ?? []).some((e) => e.equationXml)), x = ei(() => ve(t.element)), b = ei(() => an(t.element, EG(r))), v = ei(() => b.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), w = ei(() => t.templateEditing ? "pptx-vue-template-editing" : null), T = ei(() => t.element.actionClick), S = ei(() => !0 === t.interactive && Boolean(T.value?.url || T.value?.tooltip || T.value?.action)), k = ei(() => T.value?.tooltip || T.value?.url || T.value?.action || n("pptx.element.linkFallback"));
39915
+ }), h = ei(() => "text" === t.element.type || "shape" === t.element.type), g = ei(() => "picture" === t.element.type || "image" === t.element.type), f = ei(() => c(t.element) && (t.element.textSegments ?? []).some((e) => e.equationXml)), y = ei(() => ve(t.element)), b = ei(() => an(t.element, EG(r))), v = ei(() => b.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), w = ei(() => t.templateEditing ? "pptx-vue-template-editing" : null), T = ei(() => t.element.actionClick), S = ei(() => !0 === t.interactive && Boolean(T.value?.url || T.value?.tooltip || T.value?.action)), k = ei(() => T.value?.tooltip || T.value?.url || T.value?.action || n("pptx.element.linkFallback"));
39916
39916
  return (t, n) => {
39917
39917
  const r = Ai("ElementRenderer", !0);
39918
39918
  return "group" === e.element.type ? (Si(), ai("div", {
@@ -40082,14 +40082,14 @@ var zq, Oq = [
40082
40082
  data: m.value
40083
40083
  }, null, 8, ["data"])) : ni("", !0),
40084
40084
  si(NG, { element: e.element }, null, 8, ["element"]),
40085
- x.value ? (Si(), ti(Eq, {
40085
+ y.value ? (Si(), ti(Eq, {
40086
40086
  key: 1,
40087
40087
  element: e.element,
40088
40088
  "z-index": 0
40089
40089
  }, null, 8, ["element"])) : v.value ? (Si(), ti(MZ, {
40090
40090
  key: 2,
40091
40091
  paragraphs: b.value,
40092
- "text-style": c.value
40092
+ "text-style": u.value
40093
40093
  }, null, 8, ["paragraphs", "text-style"])) : ni("", !0),
40094
40094
  S.value ? (Si(), ti(LW, {
40095
40095
  key: 3,
@@ -41863,34 +41863,34 @@ var zq, Oq = [
41863
41863
  value: "endShow",
41864
41864
  labelKey: "pptx.hyperlink.actionEndShow"
41865
41865
  }
41866
- ], i = _i("url"), s = _i(""), l = _i(""), p = _i(1), c = ei(() => Boolean(n.element?.actionClick));
41866
+ ], i = _i("url"), s = _i(""), d = _i(""), p = _i(1), c = ei(() => Boolean(n.element?.actionClick));
41867
41867
  function u() {
41868
41868
  a("close");
41869
41869
  }
41870
41870
  function m() {
41871
41871
  if (!n.element) return void u();
41872
41872
  if ("none" === i.value) return a("save", { actionClick: void 0 }), void u();
41873
- const e = d({
41873
+ const e = l({
41874
41874
  trigger: "click",
41875
41875
  type: i.value,
41876
41876
  url: "url" === i.value ? s.value.trim() : void 0,
41877
41877
  slideIndex: "slide" === i.value ? Math.max(0, p.value - 1) : void 0
41878
41878
  });
41879
41879
  if (!e || "url" === i.value && !s.value.trim()) return a("save", { actionClick: void 0 }), void u();
41880
- const t = l.value.trim(), r = {
41880
+ const t = d.value.trim(), r = {
41881
41881
  ...e,
41882
41882
  tooltip: "" === t ? void 0 : t
41883
41883
  };
41884
41884
  a("save", { actionClick: r }), u();
41885
41885
  }
41886
41886
  function h() {
41887
- i.value = "none", s.value = "", l.value = "", a("save", { actionClick: void 0 }), u();
41887
+ i.value = "none", s.value = "", d.value = "", a("save", { actionClick: void 0 }), u();
41888
41888
  }
41889
41889
  return Ui([() => n.open, () => n.element], ([e]) => {
41890
41890
  if (!e) return;
41891
41891
  const t = n.element?.actionClick;
41892
- if (l.value = t?.tooltip ?? "", t) {
41893
- const e = w(t, "click");
41892
+ if (d.value = t?.tooltip ?? "", t) {
41893
+ const e = f(t, "click");
41894
41894
  i.value = e.type, s.value = "url" === e.type ? e.url ?? t.url ?? "" : "", p.value = "slide" === e.type ? (e.slideIndex ?? t.targetSlideIndex ?? 0) + 1 : 1;
41895
41895
  } else i.value = "url", s.value = "", p.value = 1;
41896
41896
  }, { immediate: !0 }), (t, a) => (Si(), ti(gX, {
@@ -41945,12 +41945,12 @@ var zq, Oq = [
41945
41945
  { number: !0 }
41946
41946
  ]])])) : ni("", !0),
41947
41947
  ri("label", HQ, [ri("span", VQ, Di(Ei(r)("pptx.hyperlink.tooltipLabel")), 1), Vi(ri("input", {
41948
- "onUpdate:modelValue": a[3] || (a[3] = (e) => l.value = e),
41948
+ "onUpdate:modelValue": a[3] || (a[3] = (e) => d.value = e),
41949
41949
  type: "text",
41950
41950
  class: gi(ZQ),
41951
41951
  placeholder: Ei(r)("pptx.hyperlinkDialog.tooltipPlaceholder"),
41952
41952
  onKeydown: Wi(Zi(m, ["prevent"]), ["enter"])
41953
- }, null, 40, WQ), [[$i, l.value]])])
41953
+ }, null, 40, WQ), [[$i, d.value]])])
41954
41954
  ])]),
41955
41955
  _: 1
41956
41956
  }, 8, ["open", "title"]));
@@ -42240,12 +42240,12 @@ var zq, Oq = [
42240
42240
  value: "endShow",
42241
42241
  key: "pptx.hyperlink.actionEndShow"
42242
42242
  }
42243
- ], i = ei(() => n.element.actionClick ? w(n.element.actionClick, "click") : void 0), s = ei(() => n.element.actionHover ? w(n.element.actionHover, "hover") : void 0);
42244
- function l(e) {
42243
+ ], i = ei(() => n.element.actionClick ? f(n.element.actionClick, "click") : void 0), s = ei(() => n.element.actionHover ? f(n.element.actionHover, "hover") : void 0);
42244
+ function d(e) {
42245
42245
  return "click" === e ? i.value : s.value;
42246
42246
  }
42247
42247
  function p(e, t, n, r) {
42248
- const o = d({
42248
+ const o = l({
42249
42249
  trigger: e,
42250
42250
  type: t,
42251
42251
  url: n,
@@ -42261,34 +42261,34 @@ var zq, Oq = [
42261
42261
  ri("select", {
42262
42262
  class: "w-full rounded border border-border bg-muted px-1.5 py-1 text-[11px]",
42263
42263
  disabled: !e.canEdit,
42264
- value: l(t)?.type ?? "none",
42264
+ value: d(t)?.type ?? "none",
42265
42265
  onChange: (e) => function(e, t) {
42266
- const n = l(t);
42266
+ const n = d(t);
42267
42267
  p(t, e.target.value, n?.url, n?.slideIndex);
42268
42268
  }(e, t)
42269
42269
  }, [(Si(), ai(Jo, null, Pi(o, (e) => ri("option", {
42270
42270
  key: e.value,
42271
42271
  value: e.value
42272
42272
  }, Di(Ei(r)(e.key)), 9, x0)), 64))], 40, y0),
42273
- "url" === l(t)?.type ? (Si(), ai("input", {
42273
+ "url" === d(t)?.type ? (Si(), ai("input", {
42274
42274
  key: 0,
42275
42275
  type: "url",
42276
42276
  class: "w-full rounded border border-border bg-muted px-1.5 py-1 text-[11px]",
42277
42277
  disabled: !e.canEdit,
42278
- value: l(t)?.url ?? "",
42278
+ value: d(t)?.url ?? "",
42279
42279
  placeholder: "https://...",
42280
42280
  onInput: (e) => function(e, t) {
42281
42281
  p(t, "url", e.target.value);
42282
42282
  }(e, t)
42283
42283
  }, null, 40, b0)) : ni("", !0),
42284
- "slide" === l(t)?.type ? (Si(), ai("input", {
42284
+ "slide" === d(t)?.type ? (Si(), ai("input", {
42285
42285
  key: 1,
42286
42286
  type: "number",
42287
42287
  class: "w-full rounded border border-border bg-muted px-1.5 py-1 text-[11px]",
42288
42288
  disabled: !e.canEdit,
42289
42289
  min: 1,
42290
42290
  max: e.slideCount,
42291
- value: (l(t)?.slideIndex ?? 0) + 1,
42291
+ value: (d(t)?.slideIndex ?? 0) + 1,
42292
42292
  onChange: (e) => function(e, t) {
42293
42293
  const n = Number(e.target.value);
42294
42294
  Number.isFinite(n) && p(t, "slide", void 0, Math.max(0, n - 1));
@@ -42300,7 +42300,7 @@ var zq, Oq = [
42300
42300
  function S0(e) {
42301
42301
  const [t, n] = e.split("."), a = Number(n);
42302
42302
  if (("entr" === t || "exit" === t || "emph" === t) && Number.isFinite(a)) {
42303
- const e = M({
42303
+ const e = h({
42304
42304
  presetClass: t,
42305
42305
  presetId: a
42306
42306
  });
@@ -42321,7 +42321,7 @@ function C0(e, t) {
42321
42321
  }
42322
42322
  function _0(e) {
42323
42323
  const t = e.entrance ?? e.emphasis ?? e.exit;
42324
- return t && k(t)?.label || t || "Animation";
42324
+ return t && C(t)?.label || t || "Animation";
42325
42325
  }
42326
42326
  function P0() {
42327
42327
  zq && (clearTimeout(zq.timer), zq.element.style.animation = zq.originalAnimation, zq.element.style.visibility = zq.originalVisibility, zq.style.remove(), zq = void 0);
@@ -42584,7 +42584,7 @@ var A0 = {
42584
42584
  },
42585
42585
  emits: ["update", "updateSlideAnimations"],
42586
42586
  setup(e, { emit: t }) {
42587
- const n = e, a = t, { t: r } = Nn(), o = ei(() => n.element.animations ?? []), i = _i("entrance"), s = _i(f[0]?.presetId ?? ""), l = _i("onClick"), d = [
42587
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => n.element.animations ?? []), i = _i("entrance"), s = _i(y[0]?.presetId ?? ""), l = _i("onClick"), d = [
42588
42588
  {
42589
42589
  value: "entrance",
42590
42590
  labelKey: "pptx.animation.entrance"
@@ -42597,10 +42597,10 @@ var A0 = {
42597
42597
  value: "exit",
42598
42598
  labelKey: "pptx.animation.exit"
42599
42599
  }
42600
- ], p = {
42601
- entrance: f,
42602
- emphasis: C,
42603
- exit: c
42600
+ ], c = {
42601
+ entrance: y,
42602
+ emphasis: _,
42603
+ exit: p
42604
42604
  }, u = [
42605
42605
  "onClick",
42606
42606
  "withPrevious",
@@ -42608,12 +42608,12 @@ var A0 = {
42608
42608
  "afterDelay",
42609
42609
  "onHover",
42610
42610
  "onShapeClick"
42611
- ], m = ei(() => p[i.value]), h = ei(() => n.slideAnimations.length ? n.slideAnimations : o.value);
42611
+ ], m = ei(() => c[i.value]), h = ei(() => n.slideAnimations.length ? n.slideAnimations : o.value);
42612
42612
  function g() {
42613
42613
  s.value = m.value[0]?.presetId ?? "";
42614
42614
  }
42615
- function y() {
42616
- const e = k(s.value);
42615
+ function f() {
42616
+ const e = C(s.value);
42617
42617
  if (!e) return;
42618
42618
  const t = function(e, t, n, a) {
42619
42619
  return {
@@ -42687,7 +42687,7 @@ var A0 = {
42687
42687
  type: "button",
42688
42688
  class: "pptx-vue-anim-add-btn rounded bg-primary px-2 py-1.5 text-white disabled:opacity-50",
42689
42689
  disabled: !s.value,
42690
- onClick: y
42690
+ onClick: f
42691
42691
  }, Di(Ei(r)("pptx.animation.addAnimation")), 9, y1)
42692
42692
  ])
42693
42693
  ]));
@@ -44008,7 +44008,7 @@ var A0 = {
44008
44008
  props: { element: {} },
44009
44009
  emits: ["update"],
44010
44010
  setup(e, { emit: t }) {
44011
- const n = e, a = t, { t: r } = Nn(), o = ei(() => y(n.element)), i = ei(() => y(n.element) ? n.element.shapeStyle ?? {} : {});
44011
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => x(n.element)), i = ei(() => x(n.element) ? n.element.shapeStyle ?? {} : {});
44012
44012
  function s(e, t, n) {
44013
44013
  return Math.max(t, Math.min(n, e));
44014
44014
  }
@@ -44027,7 +44027,7 @@ var A0 = {
44027
44027
  const e = i.value.shadowColor;
44028
44028
  return e && e !== f6 ? e : "#000000";
44029
44029
  }), m = ei(() => Math.round(i.value.shadowBlur ?? 6)), h = ei(() => Math.round(10 * (i.value.shadowDistance ?? 5.66)) / 10), g = ei(() => Math.round(i.value.shadowAngle ?? 315) % 360);
44030
- const f = ei(() => Boolean(i.value.glowColor) && i.value.glowColor !== f6), x = ei(() => {
44030
+ const f = ei(() => Boolean(i.value.glowColor) && i.value.glowColor !== f6), y = ei(() => {
44031
44031
  const e = i.value.glowColor;
44032
44032
  return e && e !== f6 ? e : "#ffff00";
44033
44033
  }), b = ei(() => Math.round(i.value.glowRadius ?? 6));
@@ -44103,7 +44103,7 @@ var A0 = {
44103
44103
  checked: f.value,
44104
44104
  onChange: t[6] || (t[6] = (e) => {
44105
44105
  d(e.target.checked ? {
44106
- glowColor: x.value,
44106
+ glowColor: y.value,
44107
44107
  glowOpacity: i.value.glowOpacity ?? .75,
44108
44108
  glowRadius: i.value.glowRadius ?? 6
44109
44109
  } : {
@@ -44114,7 +44114,7 @@ var A0 = {
44114
44114
  }, null, 40, s6), ii(" " + Di(Ei(r)("pptx.effects.outerGlow")), 1)]), f.value ? (Si(), ai("div", l6, [ri("label", d6, [ri("span", p6, Di(Ei(r)("pptx.effects.color")), 1), ri("input", {
44115
44115
  type: "color",
44116
44116
  class: "pptx-vue-effects-color w-full h-7 p-0 bg-muted border border-border rounded",
44117
- value: x.value,
44117
+ value: y.value,
44118
44118
  onInput: t[7] || (t[7] = (e) => {
44119
44119
  d({ glowColor: e.target.value });
44120
44120
  })
@@ -44145,7 +44145,7 @@ var A0 = {
44145
44145
  props: { element: {} },
44146
44146
  emits: ["update"],
44147
44147
  setup(e, { emit: t }) {
44148
- const n = e, a = t, { t: r } = Nn(), o = ei(() => y(n.element)), i = ei(() => y(n.element) ? n.element.shapeStyle ?? {} : {}), s = ei(() => {
44148
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => x(n.element)), i = ei(() => x(n.element) ? n.element.shapeStyle ?? {} : {}), s = ei(() => {
44149
44149
  const e = i.value.fillMode;
44150
44150
  return "gradient" === e || "none" === e ? e : "solid";
44151
44151
  }), l = ei(() => i.value.fillColor ?? "#ffffff"), d = ei(() => {
@@ -44631,7 +44631,7 @@ var U6 = { class: "pptx-vue-artistic flex flex-col gap-1 text-[11px]" }, X6 = {
44631
44631
  props: { element: {} },
44632
44632
  emits: ["update"],
44633
44633
  setup(e, { emit: t }) {
44634
- const n = e, a = t, { t: r } = Nn(), o = ei(() => _(n.element)), i = ei(() => {
44634
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => P(n.element)), i = ei(() => {
44635
44635
  const e = n.element;
44636
44636
  return "altText" in e && "string" == typeof e.altText ? e.altText : "";
44637
44637
  }), s = ei(() => {
@@ -45216,7 +45216,7 @@ var I9 = {
45216
45216
  },
45217
45217
  emits: ["switch"],
45218
45218
  setup(e, { emit: t }) {
45219
- const n = e, a = t, { t: r } = Nn(), o = ei(() => A);
45219
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => M);
45220
45220
  function i(e) {
45221
45221
  return rn(e);
45222
45222
  }
@@ -45594,7 +45594,7 @@ var I9 = {
45594
45594
  value: "sysDot",
45595
45595
  i18nKey: "pptx.stroke.dashSysDot"
45596
45596
  }
45597
- ], i = ei(() => y(n.element)), s = ei(() => y(n.element) ? n.element.shapeStyle : void 0), l = ei(() => s.value?.strokeColor ?? "#000000"), d = ei(() => s.value?.strokeWidth ?? 1), p = ei(() => s.value?.strokeDash ?? "solid");
45597
+ ], i = ei(() => x(n.element)), s = ei(() => x(n.element) ? n.element.shapeStyle : void 0), l = ei(() => s.value?.strokeColor ?? "#000000"), d = ei(() => s.value?.strokeWidth ?? 1), p = ei(() => s.value?.strokeDash ?? "solid");
45598
45598
  function c(e) {
45599
45599
  a("update", { shapeStyle: {
45600
45600
  ...s.value,
@@ -46375,7 +46375,7 @@ var I9 = {
46375
46375
  label: "S",
46376
46376
  titleKey: "pptx.textPanel.strikethrough"
46377
46377
  }
46378
- ], d = ei(() => u(n.element)), p = ei(() => u(n.element) ? n.element.textStyle : void 0), c = ei(() => p.value?.fontFamily ?? ""), m = ei(() => p.value?.fontSize ?? 18), h = ei(() => p.value?.color ?? "#000000"), g = ei(() => p.value?.align), f = ei(() => p.value?.vAlign);
46378
+ ], d = ei(() => c(n.element)), p = ei(() => c(n.element) ? n.element.textStyle : void 0), u = ei(() => p.value?.fontFamily ?? ""), m = ei(() => p.value?.fontSize ?? 18), h = ei(() => p.value?.color ?? "#000000"), g = ei(() => p.value?.align), f = ei(() => p.value?.vAlign);
46379
46379
  function y(e) {
46380
46380
  a("update", { textStyle: {
46381
46381
  ...p.value,
@@ -46399,7 +46399,7 @@ var I9 = {
46399
46399
  return (e, t) => (Si(), ai("div", Rne, [ri("h3", Bne, Di(Ei(r)("pptx.textPanel.title")), 1), d.value ? (Si(), ai("div", One, [
46400
46400
  ri("label", Nne, [ri("span", $ne, Di(Ei(r)("pptx.textPanel.font")), 1), ri("select", {
46401
46401
  class: "pptx-vue-text-input w-full bg-muted border border-border rounded px-2 py-1",
46402
- value: c.value,
46402
+ value: u.value,
46403
46403
  onChange: x
46404
46404
  }, [
46405
46405
  ri("option", Une, Di(Ei(r)("pptx.textPanel.default")), 1),
@@ -46407,10 +46407,10 @@ var I9 = {
46407
46407
  key: e,
46408
46408
  value: e
46409
46409
  }, Di(e), 9, Xne)), 64)),
46410
- c.value && !o.includes(c.value) ? (Si(), ai("option", {
46410
+ u.value && !o.includes(u.value) ? (Si(), ai("option", {
46411
46411
  key: 0,
46412
- value: c.value
46413
- }, Di(c.value), 9, Gne)) : ni("", !0)
46412
+ value: u.value
46413
+ }, Di(u.value), 9, Gne)) : ni("", !0)
46414
46414
  ], 40, jne)]),
46415
46415
  ri("div", Hne, [ri("label", Vne, [ri("span", Wne, Di(Ei(r)("pptx.textPanel.size")), 1), ri("input", {
46416
46416
  type: "number",
@@ -46499,11 +46499,11 @@ var I9 = {
46499
46499
  },
46500
46500
  emits: ["update", "updateSlideAnimations"],
46501
46501
  setup(e, { emit: t }) {
46502
- const n = e, a = t, { t: r } = Nn(), o = ei(() => y(n.element)), i = ei(() => u(n.element)), s = ei(() => _(n.element)), l = ei(() => "table" === n.element.type), d = ei(() => "chart" === n.element.type), p = ei(() => "smartArt" === n.element.type), c = ei(() => "media" === n.element.type);
46502
+ const n = e, a = t, { t: r } = Nn(), o = ei(() => x(n.element)), i = ei(() => c(n.element)), s = ei(() => P(n.element)), l = ei(() => "table" === n.element.type), d = ei(() => "chart" === n.element.type), p = ei(() => "smartArt" === n.element.type), u = ei(() => "media" === n.element.type);
46503
46503
  function m(e) {
46504
46504
  a("update", e);
46505
46505
  }
46506
- return (t, u) => (Si(), ai("aside", {
46506
+ return (t, c) => (Si(), ai("aside", {
46507
46507
  "data-pptx-inspector": e.mobile ? void 0 : "",
46508
46508
  class: gi(["pptx-vue-inspector overflow-y-auto bg-background box-border px-3 pb-8 text-xs text-foreground", e.mobile ? "w-full pt-1" : "w-72 flex-[0_0_18rem] border-l border-border pt-2"]),
46509
46509
  "aria-label": Ei(r)("pptx.inspector.properties")
@@ -46539,7 +46539,7 @@ var I9 = {
46539
46539
  element: e.element,
46540
46540
  onUpdate: m
46541
46541
  }, null, 8, ["element"])])) : ni("", !0),
46542
- c.value ? (Si(), ai("div", kae, [ri("h3", Cae, Di(Ei(r)("pptx.inspector.media")), 1), si(F7, {
46542
+ u.value ? (Si(), ai("div", kae, [ri("h3", Cae, Di(Ei(r)("pptx.inspector.media")), 1), si(F7, {
46543
46543
  element: e.element,
46544
46544
  "can-edit": n.canEdit,
46545
46545
  "media-data-urls": n.mediaDataUrls,
@@ -46554,7 +46554,7 @@ var I9 = {
46554
46554
  "slide-elements": n.slideElements,
46555
46555
  "slide-animations": n.slideAnimations,
46556
46556
  onUpdate: m,
46557
- onUpdateSlideAnimations: u[0] || (u[0] = (e) => a("updateSlideAnimations", e))
46557
+ onUpdateSlideAnimations: c[0] || (c[0] = (e) => a("updateSlideAnimations", e))
46558
46558
  }, null, 8, [
46559
46559
  "element",
46560
46560
  "slide-elements",
@@ -46598,7 +46598,7 @@ var Uae = { class: "space-y-1" }, Xae = ["title", "onClick"], Gae = { class: "te
46598
46598
  return [...e].reverse().map((t, a) => ({
46599
46599
  element: t,
46600
46600
  index: e.length - 1 - a,
46601
- label: (u(t) ? (t.text || "").slice(0, 24) : void 0) || t.type,
46601
+ label: (c(t) ? (t.text || "").slice(0, 24) : void 0) || t.type,
46602
46602
  selected: (n.selectedElementIds ?? []).includes(t.id)
46603
46603
  }));
46604
46604
  });
@@ -46929,9 +46929,9 @@ var Uae = { class: "space-y-1" }, Xae = ["title", "onClick"], Gae = { class: "te
46929
46929
  accent6: "Accent 6",
46930
46930
  hlink: "Hyperlink",
46931
46931
  folHlink: "Followed Hyperlink"
46932
- }, i = ei(() => n.slide?.clrMapOverride), s = ei(() => void 0 !== i.value), l = P, d = [...g];
46932
+ }, i = ei(() => n.slide?.clrMapOverride), s = ei(() => void 0 !== i.value), l = I, d = [...g];
46933
46933
  function p(e) {
46934
- return i.value?.[e] ?? T[e];
46934
+ return i.value?.[e] ?? S[e];
46935
46935
  }
46936
46936
  function c(e) {
46937
46937
  const a = (n.theme?.colorScheme)?.[e];
@@ -46949,7 +46949,7 @@ var Uae = { class: "space-y-1" }, Xae = ["title", "onClick"], Gae = { class: "te
46949
46949
  function m(e) {
46950
46950
  if (e.target.checked) {
46951
46951
  const e = {};
46952
- for (const t of P) e[t] = T[t];
46952
+ for (const t of I) e[t] = S[t];
46953
46953
  u(e);
46954
46954
  } else u(void 0);
46955
46955
  }
@@ -46980,7 +46980,7 @@ var Uae = { class: "space-y-1" }, Xae = ["title", "onClick"], Gae = { class: "te
46980
46980
  ...i.value ?? {},
46981
46981
  [e]: n
46982
46982
  };
46983
- for (const e of P) a[e] || (a[e] = T[e]);
46983
+ for (const e of I) a[e] || (a[e] = S[e]);
46984
46984
  u(a);
46985
46985
  }(t, e)
46986
46986
  }, [(Si(), ai(Jo, null, Pi(d, (e) => ri("option", {
@@ -48868,7 +48868,7 @@ var Uae = { class: "space-y-1" }, Xae = ["title", "onClick"], Gae = { class: "te
48868
48868
  ri("span", wle, Di(t.drawingWidth), 1)
48869
48869
  ], 8, ble)])], 64));
48870
48870
  }
48871
- }), Sle = "2.2.1", kle = Symbol("pptx-account-auth");
48871
+ }), Sle = "2.2.2", kle = Symbol("pptx-account-auth");
48872
48872
  var Cle = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, _le = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, Ple = { class: "text-base font-semibold" }, Ile = { class: "mt-4 flex items-center gap-4" }, Ale = { class: "min-w-0 flex-1" }, Mle = { class: "block text-xs font-medium text-muted-foreground" }, Fle = ["value", "placeholder"], Dle = { class: "mt-4" }, Lle = { class: "block text-xs font-medium text-muted-foreground" }, Ele = { class: "mt-2 flex gap-2" }, Rle = [
48873
48873
  "aria-pressed",
48874
48874
  "aria-label",
@@ -49366,7 +49366,7 @@ var Mde = { class: "flex flex-col items-center gap-0.5" }, Fde = { class: "flex
49366
49366
  fontSize: "24"
49367
49367
  };
49368
49368
  if (!e) return t;
49369
- if (!u(e)) return t;
49369
+ if (!c(e)) return t;
49370
49370
  const n = e.textSegments?.[0]?.style, a = e.textStyle, r = n?.fontFamily ?? a?.fontFamily ?? t.fontFamily, o = n?.fontSize ?? a?.fontSize;
49371
49371
  return {
49372
49372
  fontFamily: r,
@@ -50316,12 +50316,12 @@ var Mde = { class: "flex flex-col items-center gap-0.5" }, Fde = { class: "flex
50316
50316
  "#008080",
50317
50317
  "#008000",
50318
50318
  "#800080"
50319
- ], o = ei(() => Boolean(t.selectedElement)), i = ei(() => o.value && t.canEdit), s = ei(() => o.value && null !== t.selectedElement && u(t.selectedElement)), l = ei(() => o.value && "table" === t.selectedElement?.type), d = ei(() => s.value || l.value), p = ei(() => function(e, t) {
50319
+ ], o = ei(() => Boolean(t.selectedElement)), i = ei(() => o.value && t.canEdit), s = ei(() => o.value && null !== t.selectedElement && c(t.selectedElement)), l = ei(() => o.value && "table" === t.selectedElement?.type), d = ei(() => s.value || l.value), p = ei(() => function(e, t) {
50320
50320
  if (e) {
50321
- if (u(e)) return e.textStyle;
50321
+ if (c(e)) return e.textStyle;
50322
50322
  if ("table" === e.type && t && e.tableData) return (e.tableData.rows[t.rowIndex]?.cells[t.columnIndex])?.style;
50323
50323
  }
50324
- }(t.selectedElement, t.tableEditorState)), c = ei(() => s.value && t.selectedElement && u(t.selectedElement) ? t.selectedElement.textSegments?.[0]?.style?.color ?? t.selectedElement.textStyle?.color ?? "#000000" : p.value?.color ?? "#000000"), m = ei(() => s.value && t.selectedElement && u(t.selectedElement) ? t.selectedElement.textSegments?.[0]?.style?.highlightColor ?? t.selectedElement.textStyle?.highlightColor ?? "#ffff00" : "#ffff00"), h = _i(null), g = _i(null);
50324
+ }(t.selectedElement, t.tableEditorState)), u = ei(() => s.value && t.selectedElement && c(t.selectedElement) ? t.selectedElement.textSegments?.[0]?.style?.color ?? t.selectedElement.textStyle?.color ?? "#000000" : p.value?.color ?? "#000000"), m = ei(() => s.value && t.selectedElement && c(t.selectedElement) ? t.selectedElement.textSegments?.[0]?.style?.highlightColor ?? t.selectedElement.textStyle?.highlightColor ?? "#ffff00" : "#ffff00"), h = _i(null), g = _i(null);
50325
50325
  function f(e) {
50326
50326
  d.value && t.onUpdateTextStyle({ color: e });
50327
50327
  }
@@ -50484,12 +50484,12 @@ var Mde = { class: "flex flex-col items-center gap-0.5" }, Fde = { class: "flex
50484
50484
  "stroke-linejoin": "round"
50485
50485
  }, [...o[24] || (o[24] = [ri("path", { d: "M6 20h12M9.5 4h5L18 16H6L9.5 4z" }, null, -1)])], 2)), ri("div", {
50486
50486
  class: "w-4 h-1 rounded-sm -mt-0.5",
50487
- style: yi({ backgroundColor: c.value })
50487
+ style: yi({ backgroundColor: u.value })
50488
50488
  }, null, 4)], 42, _ce), ri("div", Pce, [ri("div", Ice, [
50489
50489
  ri("div", Ace, [(Si(), ai(Jo, null, Pi(a, (e) => ri("button", {
50490
50490
  key: e,
50491
50491
  type: "button",
50492
- class: gi(["w-5 h-5 rounded-full border transition-transform hover:scale-125", c.value?.toLowerCase() === e ? "border-primary ring-1 ring-primary" : "border-border"]),
50492
+ class: gi(["w-5 h-5 rounded-full border transition-transform hover:scale-125", u.value?.toLowerCase() === e ? "border-primary ring-1 ring-primary" : "border-border"]),
50493
50493
  "data-pptx-compact": "",
50494
50494
  style: yi({ backgroundColor: e }),
50495
50495
  onMousedown: o[5] || (o[5] = Zi(() => {}, ["prevent"])),
@@ -50506,7 +50506,7 @@ var Mde = { class: "flex flex-col items-center gap-0.5" }, Fde = { class: "flex
50506
50506
  ref: h,
50507
50507
  type: "color",
50508
50508
  class: "sr-only",
50509
- value: c.value,
50509
+ value: u.value,
50510
50510
  onChange: o[8] || (o[8] = (e) => f(e.target.value))
50511
50511
  }, null, 40, Fce)
50512
50512
  ])])]),
@@ -56363,7 +56363,7 @@ var ghe = { class: "flex items-start gap-3" }, fhe = { class: "flex h-10 w-10 it
56363
56363
  unknown: "pptx.elementType.object"
56364
56364
  };
56365
56365
  function i(e, t) {
56366
- if (u(e) && e.text && e.text.trim().length > 0) return e.text.trim().slice(0, 32);
56366
+ if (c(e) && e.text && e.text.trim().length > 0) return e.text.trim().slice(0, 32);
56367
56367
  const n = o[e.type] ?? "pptx.elementType.object";
56368
56368
  return r("pptx.selectionPane.elementLabel", {
56369
56369
  type: r(n),
@@ -58404,11 +58404,11 @@ var hCe = ["aria-busy", "tabindex"], gCe = {
58404
58404
  "stop-collaboration"
58405
58405
  ],
58406
58406
  setup(e, { expose: t, emit: n }) {
58407
- const i = e, s = n, { t: l, availableLocales: d, locale: p } = Nn(), c = _i(i.defaultThemeKey ?? j().themeKey ?? "default"), h = ei(() => i.theme ?? Ae(c.value, i.availableThemes ?? _o));
58407
+ const i = e, s = n, { t: l, availableLocales: d, locale: p } = Nn(), m = _i(i.defaultThemeKey ?? j().themeKey ?? "default"), h = ei(() => i.theme ?? Ae(m.value, i.availableThemes ?? _o));
58408
58408
  sd(h), ki(lr, i.smartArt3D), ki(kle, i.accountAuth);
58409
58409
  const g = dd(h);
58410
58410
  function f(e) {
58411
- c.value = e, i.onThemeChange ? i.onThemeChange(e) : Q({ themeKey: e });
58411
+ m.value = e, i.onThemeChange ? i.onThemeChange(e) : Q({ themeKey: e });
58412
58412
  }
58413
58413
  const y = _i(i.defaultLocale ?? j().localeCode ?? "en");
58414
58414
  bi(() => {
@@ -58565,7 +58565,7 @@ var hCe = ["aria-busy", "tabindex"], gCe = {
58565
58565
  const n = (e.target instanceof Element ? e.target : null)?.closest("[data-element-id]")?.dataset.elementId;
58566
58566
  if (!n) return;
58567
58567
  const a = Me(n);
58568
- a && u(a) && (a.textSegments ?? []).some((e) => e.equationXml) && st(n);
58568
+ a && c(a) && (a.textSegments ?? []).some((e) => e.equationXml) && st(n);
58569
58569
  }
58570
58570
  const ct = _i(null);
58571
58571
  function ut(e) {
@@ -59241,7 +59241,7 @@ var hCe = ["aria-busy", "tabindex"], gCe = {
59241
59241
  compareWithPresentation: async function() {
59242
59242
  const e = await Co();
59243
59243
  if (!e) return;
59244
- const t = await new m().load(e.buffer);
59244
+ const t = await new u().load(e.buffer);
59245
59245
  t && Eo(t.slides);
59246
59246
  },
59247
59247
  onAddAnimation: ea,
@@ -60118,7 +60118,7 @@ var hCe = ["aria-busy", "tabindex"], gCe = {
60118
60118
  "on-quick-access-commands-change": (e) => Ei(wi).setQuickAccessCommands(e),
60119
60119
  "on-reset-options": (e) => Ei(wi).reset(e),
60120
60120
  "on-clear-cache": Ai,
60121
- "theme-key": c.value,
60121
+ "theme-key": m.value,
60122
60122
  "on-theme-select": f,
60123
60123
  "locale-code": y.value,
60124
60124
  "on-locale-select": b,