pptx-vue-viewer 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -0
- package/dist/{AiChatPanel-XtXsEQXt.js → AiChatPanel-CFKJeY-S.js} +2 -2
- package/dist/AiChatPanel-CFKJeY-S.js.br +0 -0
- package/dist/AiChatPanel-CFKJeY-S.js.gz +0 -0
- package/dist/{AiChatPanel-B_k4VW3m.cjs → AiChatPanel-U41tqJtC.cjs} +1 -1
- package/dist/AiChatPanel-U41tqJtC.cjs.br +0 -0
- package/dist/AiChatPanel-U41tqJtC.cjs.gz +0 -0
- package/dist/gif-encoder-BTGLAe_J.cjs +2 -0
- package/dist/gif-encoder-BTGLAe_J.cjs.br +0 -0
- package/dist/gif-encoder-BTGLAe_J.cjs.gz +0 -0
- package/dist/gif-encoder-hppHqnVV.js +2 -0
- package/dist/gif-encoder-hppHqnVV.js.br +0 -0
- package/dist/gif-encoder-hppHqnVV.js.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/{useViewerSettingsDialog-DkAowleE.cjs → useViewerSettingsDialog-BwPALPfo.cjs} +115 -115
- package/dist/useViewerSettingsDialog-BwPALPfo.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-BwPALPfo.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-CTJei8_y.js → useViewerSettingsDialog-DDQvhhvK.js} +104 -104
- package/dist/useViewerSettingsDialog-DDQvhhvK.js.br +0 -0
- package/dist/useViewerSettingsDialog-DDQvhhvK.js.gz +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-D_yzwMHV.cjs → viewer-CnLyS1fM.cjs} +3 -3
- package/dist/viewer-CnLyS1fM.cjs.br +0 -0
- package/dist/viewer-CnLyS1fM.cjs.gz +0 -0
- package/dist/{viewer-1haXfh1i.js → viewer-DiY5zqg0.js} +3 -3
- package/dist/viewer-DiY5zqg0.js.br +0 -0
- package/dist/viewer-DiY5zqg0.js.gz +0 -0
- package/package.json +2 -2
- package/dist/AiChatPanel-B_k4VW3m.cjs.br +0 -0
- package/dist/AiChatPanel-B_k4VW3m.cjs.gz +0 -0
- package/dist/AiChatPanel-XtXsEQXt.js.br +0 -0
- package/dist/AiChatPanel-XtXsEQXt.js.gz +0 -0
- package/dist/gif-encoder-C2GVj-WW.cjs +0 -2
- package/dist/gif-encoder-C2GVj-WW.cjs.br +0 -0
- package/dist/gif-encoder-C2GVj-WW.cjs.gz +0 -0
- package/dist/gif-encoder-CdlYViX9.js +0 -2
- package/dist/gif-encoder-CdlYViX9.js.br +0 -0
- package/dist/gif-encoder-CdlYViX9.js.gz +0 -0
- package/dist/useViewerSettingsDialog-CTJei8_y.js.br +0 -0
- package/dist/useViewerSettingsDialog-CTJei8_y.js.gz +0 -0
- package/dist/useViewerSettingsDialog-DkAowleE.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-DkAowleE.cjs.gz +0 -0
- package/dist/viewer-1haXfh1i.js.br +0 -0
- package/dist/viewer-1haXfh1i.js.gz +0 -0
- package/dist/viewer-D_yzwMHV.cjs.br +0 -0
- package/dist/viewer-D_yzwMHV.cjs.gz +0 -0
|
@@ -836,9 +836,12 @@ function Fn(t) {
|
|
|
836
836
|
return o.length > 0 ? o : void 0;
|
|
837
837
|
}
|
|
838
838
|
function Dn(t) {
|
|
839
|
+
return !(!t || Math.max(0, t.strokeWidth ?? 0) <= 0) && (void 0 !== t.strokeColor || void 0 !== t.strokeFillMode);
|
|
840
|
+
}
|
|
841
|
+
function Ln(t) {
|
|
839
842
|
return t < 0 ? 0 : t > 1 ? 1 : t;
|
|
840
843
|
}
|
|
841
|
-
var
|
|
844
|
+
var En = {
|
|
842
845
|
tl: "left top",
|
|
843
846
|
t: "center top",
|
|
844
847
|
tr: "right top",
|
|
@@ -849,10 +852,10 @@ var Ln = {
|
|
|
849
852
|
b: "center bottom",
|
|
850
853
|
br: "right bottom"
|
|
851
854
|
};
|
|
852
|
-
function
|
|
855
|
+
function Bn(t, e) {
|
|
853
856
|
if (!t) return;
|
|
854
857
|
if (!("number" == typeof t.reflectionStartOpacity && t.reflectionStartOpacity > 0 || "number" == typeof t.reflectionDistance && t.reflectionDistance > 0 || "number" == typeof t.reflectionBlurRadius && t.reflectionBlurRadius > 0)) return;
|
|
855
|
-
const n = t.reflectionDistance ?? 0, o =
|
|
858
|
+
const n = t.reflectionDistance ?? 0, o = Ln("number" == typeof t.reflectionStartOpacity ? t.reflectionStartOpacity : .5), r = Ln("number" == typeof t.reflectionEndOpacity ? t.reflectionEndOpacity : 0), a = "number" == typeof t.reflectionEndPosition ? Math.round(t.reflectionEndPosition * Math.max(e, 1)) : 100, i = "number" == typeof t.reflectionBlurRadius ? Math.max(0, t.reflectionBlurRadius) : 0, s = "number" == typeof t.reflectionStartPosition && t.reflectionStartPosition > 0 ? Math.round(Math.min(Ln(t.reflectionStartPosition) * a, a - 1)) : 0, l = (((t.reflectionFadeDirection ?? 90) + 90) % 360 + 360) % 360, p = (t.reflectionScaleX ?? 1e5) / 1e5, c = (t.reflectionScaleY ?? 1e5) / 1e5, u = (t.reflectionSkewX ?? 0) / 6e4, d = (t.reflectionSkewY ?? 0) / 6e4, f = (t.reflectionRotation ?? 0) / 6e4, m = ["scaleY(-1)"];
|
|
856
859
|
1 === p && 1 === c || m.push(`scale(${p}, ${c})`), 0 === u && 0 === d || m.push(`skew(${u}deg, ${d}deg)`), 0 !== f && m.push(`rotate(${f}deg)`);
|
|
857
860
|
const h = function(t, e, n, o, r, a) {
|
|
858
861
|
const i = o + 2 * r, s = (e + n) / 2, l = Math.round(.5 * i), p = a > 0 ? `, rgba(0,0,0,${e}) ${a}px` : "";
|
|
@@ -865,25 +868,25 @@ function En(t, e) {
|
|
|
865
868
|
width: "100%",
|
|
866
869
|
height: "100%",
|
|
867
870
|
transform: m.join(" "),
|
|
868
|
-
transformOrigin:
|
|
871
|
+
transformOrigin: En[t.reflectionAlignment ?? "ctr"] ?? "center top",
|
|
869
872
|
maskImage: h,
|
|
870
873
|
WebkitMaskImage: h,
|
|
871
874
|
pointerEvents: "none"
|
|
872
875
|
};
|
|
873
876
|
}
|
|
874
|
-
var
|
|
875
|
-
function
|
|
877
|
+
var Rn = "#000000", On = "#ffff00";
|
|
878
|
+
function Nn(t) {
|
|
876
879
|
return String(t).replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
877
880
|
}
|
|
878
|
-
function
|
|
881
|
+
function zn(t) {
|
|
879
882
|
return Math.min(1, Math.max(0, t));
|
|
880
883
|
}
|
|
881
|
-
function
|
|
884
|
+
function Wn(t, e) {
|
|
882
885
|
if (!t || "transparent" === t) return e;
|
|
883
886
|
const n = t.startsWith("#") ? t : `#${t}`;
|
|
884
887
|
return /^#[0-9A-Fa-f]{6}$/u.test(n) ? n : e;
|
|
885
888
|
}
|
|
886
|
-
function
|
|
889
|
+
function Hn(t, e) {
|
|
887
890
|
if (void 0 === e) return t;
|
|
888
891
|
const n = function(t) {
|
|
889
892
|
const e = t.replace("#", "");
|
|
@@ -893,61 +896,61 @@ function Wn(t, e) {
|
|
|
893
896
|
b: Number.parseInt(e.slice(4, 6), 16)
|
|
894
897
|
} : null;
|
|
895
898
|
}(t);
|
|
896
|
-
return n ? `rgba(${n.r}, ${n.g}, ${n.b}, ${
|
|
899
|
+
return n ? `rgba(${n.r}, ${n.g}, ${n.b}, ${zn(e)})` : t;
|
|
897
900
|
}
|
|
898
|
-
function
|
|
901
|
+
function Kn(t, e) {
|
|
899
902
|
if (!t?.shadowColor || "transparent" === t.shadowColor) return;
|
|
900
903
|
let n, o;
|
|
901
904
|
if ("number" == typeof t.shadowAngle && "number" == typeof t.shadowDistance) {
|
|
902
905
|
const r = (!1 === t.shadowRotateWithShape && "number" == typeof e?.rotation ? t.shadowAngle - e.rotation : t.shadowAngle) * Math.PI / 180;
|
|
903
906
|
n = Math.cos(r) * t.shadowDistance, o = Math.sin(r) * t.shadowDistance;
|
|
904
907
|
} else n = "number" == typeof t.shadowOffsetX && Number.isFinite(t.shadowOffsetX) ? t.shadowOffsetX : 4, o = "number" == typeof t.shadowOffsetY && Number.isFinite(t.shadowOffsetY) ? t.shadowOffsetY : 4;
|
|
905
|
-
const r = "number" == typeof t.shadowBlur && Number.isFinite(t.shadowBlur) ? Math.max(0, t.shadowBlur) : 6, a = "number" == typeof t.shadowOpacity && Number.isFinite(t.shadowOpacity) ?
|
|
908
|
+
const r = "number" == typeof t.shadowBlur && Number.isFinite(t.shadowBlur) ? Math.max(0, t.shadowBlur) : 6, a = "number" == typeof t.shadowOpacity && Number.isFinite(t.shadowOpacity) ? zn(t.shadowOpacity) : .35, i = function(t, e, n) {
|
|
906
909
|
const a = (("number" == typeof t && Number.isFinite(t) ? t / 1e5 : 1) + ("number" == typeof e && Number.isFinite(e) ? e / 1e5 : 1)) / 2;
|
|
907
910
|
if (1 === a) return 0;
|
|
908
911
|
return Math.round(Math.max(n, 4) * (a - 1));
|
|
909
|
-
}(t.shadowScaleX, t.shadowScaleY, r), s = Wn(
|
|
912
|
+
}(t.shadowScaleX, t.shadowScaleY, r), s = Hn(Wn(t.shadowColor, Rn), a), l = `${Math.round(n)}px ${Math.round(o)}px ${Math.round(r)}px`;
|
|
910
913
|
return 0 === i ? `${l} ${s}` : `${l} ${i}px ${s}`;
|
|
911
914
|
}
|
|
912
|
-
function
|
|
915
|
+
function jn(t) {
|
|
913
916
|
if (!t?.innerShadowColor || "transparent" === t.innerShadowColor) return;
|
|
914
|
-
const e = "number" == typeof t.innerShadowOffsetX && Number.isFinite(t.innerShadowOffsetX) ? t.innerShadowOffsetX : 0, n = "number" == typeof t.innerShadowOffsetY && Number.isFinite(t.innerShadowOffsetY) ? t.innerShadowOffsetY : 0, o = "number" == typeof t.innerShadowBlur && Number.isFinite(t.innerShadowBlur) ? Math.max(0, t.innerShadowBlur) : 6, r = "number" == typeof t.innerShadowOpacity && Number.isFinite(t.innerShadowOpacity) ?
|
|
915
|
-
return `inset ${Math.round(e)}px ${Math.round(n)}px ${Math.round(o)}px ${Wn(
|
|
917
|
+
const e = "number" == typeof t.innerShadowOffsetX && Number.isFinite(t.innerShadowOffsetX) ? t.innerShadowOffsetX : 0, n = "number" == typeof t.innerShadowOffsetY && Number.isFinite(t.innerShadowOffsetY) ? t.innerShadowOffsetY : 0, o = "number" == typeof t.innerShadowBlur && Number.isFinite(t.innerShadowBlur) ? Math.max(0, t.innerShadowBlur) : 6, r = "number" == typeof t.innerShadowOpacity && Number.isFinite(t.innerShadowOpacity) ? zn(t.innerShadowOpacity) : .5;
|
|
918
|
+
return `inset ${Math.round(e)}px ${Math.round(n)}px ${Math.round(o)}px ${Hn(Wn(t.innerShadowColor, Rn), r)}`;
|
|
916
919
|
}
|
|
917
|
-
function
|
|
920
|
+
function Gn(t) {
|
|
918
921
|
if (!t?.shadows || 0 === t.shadows.length) return;
|
|
919
922
|
const e = [];
|
|
920
923
|
for (const n of t.shadows) {
|
|
921
924
|
if (!n.color || "transparent" === n.color) continue;
|
|
922
|
-
const t = (n.angle ?? 0) * Math.PI / 180, o = n.distance ?? 0, r = Math.round(Math.cos(t) * o), a = Math.round(Math.sin(t) * o), i = Math.round(Math.max(0, n.blur ?? 6)), s =
|
|
925
|
+
const t = (n.angle ?? 0) * Math.PI / 180, o = n.distance ?? 0, r = Math.round(Math.cos(t) * o), a = Math.round(Math.sin(t) * o), i = Math.round(Math.max(0, n.blur ?? 6)), s = zn(n.opacity ?? .35), l = Hn(Wn(n.color, Rn), s);
|
|
923
926
|
e.push(`${r}px ${a}px ${i}px ${l}`);
|
|
924
927
|
}
|
|
925
928
|
return e.length > 0 ? e.join(", ") : void 0;
|
|
926
929
|
}
|
|
927
|
-
function
|
|
930
|
+
function Yn(t, e, n) {
|
|
928
931
|
if (!t || "transparent" === t || !e || e <= 0) return;
|
|
929
|
-
const o = "number" == typeof n ?
|
|
930
|
-
return `0 0 ${Math.round(.33 * e)}px ${
|
|
932
|
+
const o = "number" == typeof n ? zn(n) : .75, r = Wn(t, On);
|
|
933
|
+
return `0 0 ${Math.round(.33 * e)}px ${Hn(r, o)}, 0 0 ${Math.round(.66 * e)}px ${Hn(r, .6 * o)}, 0 0 ${Math.round(e)}px ${Hn(r, .3 * o)}`;
|
|
931
934
|
}
|
|
932
|
-
function
|
|
935
|
+
function _n(t) {
|
|
933
936
|
if (t?.lineShadowColor && "transparent" !== t.lineShadowColor) return {
|
|
934
937
|
offsetX: "number" == typeof t.lineShadowOffsetX ? t.lineShadowOffsetX : 2,
|
|
935
938
|
offsetY: "number" == typeof t.lineShadowOffsetY ? t.lineShadowOffsetY : 2,
|
|
936
939
|
blur: "number" == typeof t.lineShadowBlur ? Math.max(0, t.lineShadowBlur) : 4,
|
|
937
|
-
color:
|
|
938
|
-
opacity: "number" == typeof t.lineShadowOpacity ?
|
|
940
|
+
color: Wn(t.lineShadowColor, Rn),
|
|
941
|
+
opacity: "number" == typeof t.lineShadowOpacity ? zn(t.lineShadowOpacity) : .35
|
|
939
942
|
};
|
|
940
943
|
}
|
|
941
|
-
function _n(t) {
|
|
942
|
-
const e = Yn(t);
|
|
943
|
-
if (e) return `${Math.round(e.offsetX)}px ${Math.round(e.offsetY)}px ${Math.round(e.blur)}px ${Wn(e.color, e.opacity)}`;
|
|
944
|
-
}
|
|
945
944
|
function Un(t) {
|
|
945
|
+
const e = _n(t);
|
|
946
|
+
if (e) return `${Math.round(e.offsetX)}px ${Math.round(e.offsetY)}px ${Math.round(e.blur)}px ${Hn(e.color, e.opacity)}`;
|
|
947
|
+
}
|
|
948
|
+
function Vn(t) {
|
|
946
949
|
if (!t?.lineGlowColor || "transparent" === t.lineGlowColor || !t.lineGlowRadius) return;
|
|
947
950
|
const e = "number" == typeof t.lineGlowOpacity ? t.lineGlowOpacity : .75;
|
|
948
|
-
return `drop-shadow(0 0 ${Math.round(Math.max(0, t.lineGlowRadius))}px ${Wn(
|
|
951
|
+
return `drop-shadow(0 0 ${Math.round(Math.max(0, t.lineGlowRadius))}px ${Hn(Wn(t.lineGlowColor, On), e)})`;
|
|
949
952
|
}
|
|
950
|
-
function
|
|
953
|
+
function Xn(t, e) {
|
|
951
954
|
if (!t) return;
|
|
952
955
|
const n = [];
|
|
953
956
|
if (t.dagGrayscale && n.push("grayscale(1)"), "number" == typeof t.dagBiLevel) {
|
|
@@ -959,16 +962,16 @@ function Vn(t, e) {
|
|
|
959
962
|
0 !== e && n.push(`brightness(${1 + e / 100})`), 0 !== o && n.push(`contrast(${1 + o / 100})`);
|
|
960
963
|
}
|
|
961
964
|
if ("number" == typeof t.dagHslHue && 0 !== t.dagHslHue && n.push(`hue-rotate(${t.dagHslHue}deg)`), "number" == typeof t.dagHslSaturation && 100 !== t.dagHslSaturation && n.push(`saturate(${t.dagHslSaturation / 100})`), "number" == typeof t.dagHslLuminance && 0 !== t.dagHslLuminance && n.push(`brightness(${1 + t.dagHslLuminance / 100})`), "number" == typeof t.dagAlphaModFix) {
|
|
962
|
-
const e =
|
|
965
|
+
const e = zn(t.dagAlphaModFix / 100);
|
|
963
966
|
n.push(`opacity(${e})`);
|
|
964
967
|
}
|
|
965
968
|
if ("number" == typeof t.dagTintHue || "number" == typeof t.dagTintAmount) {
|
|
966
969
|
const e = t.dagTintHue ?? 0, o = Math.max(0, Math.min(100, t.dagTintAmount ?? 50));
|
|
967
970
|
n.push(`sepia(${o / 100}) hue-rotate(${e}deg)`);
|
|
968
971
|
}
|
|
969
|
-
return t.dagDuotone && e && n.push(`url(#${
|
|
972
|
+
return t.dagDuotone && e && n.push(`url(#${Zn(e)})`), n.length > 0 ? n.join(" ") : void 0;
|
|
970
973
|
}
|
|
971
|
-
function
|
|
974
|
+
function qn(t) {
|
|
972
975
|
switch (t) {
|
|
973
976
|
case "mult": return "multiply";
|
|
974
977
|
case "screen": return "screen";
|
|
@@ -977,10 +980,10 @@ function Xn(t) {
|
|
|
977
980
|
default: return;
|
|
978
981
|
}
|
|
979
982
|
}
|
|
980
|
-
function
|
|
983
|
+
function Zn(t) {
|
|
981
984
|
return `dag-duotone-${t}`;
|
|
982
985
|
}
|
|
983
|
-
function
|
|
986
|
+
function Jn(t) {
|
|
984
987
|
const e = t.replace("#", ""), n = Number.parseInt(e.substring(0, 2), 16) / 255, o = Number.parseInt(e.substring(2, 4), 16) / 255, r = Number.parseInt(e.substring(4, 6), 16) / 255;
|
|
985
988
|
return {
|
|
986
989
|
r: Number.isFinite(n) ? n : 0,
|
|
@@ -988,9 +991,9 @@ function Zn(t) {
|
|
|
988
991
|
b: Number.isFinite(r) ? r : 0
|
|
989
992
|
};
|
|
990
993
|
}
|
|
991
|
-
function
|
|
994
|
+
function Qn(t, e) {
|
|
992
995
|
if (!t?.dagDuotone) return;
|
|
993
|
-
const n =
|
|
996
|
+
const n = Zn(e), o = Jn(t.dagDuotone.color1), r = Jn(t.dagDuotone.color2), a = [
|
|
994
997
|
.2126,
|
|
995
998
|
.7152,
|
|
996
999
|
.0722,
|
|
@@ -1016,7 +1019,7 @@ function Jn(t, e) {
|
|
|
1016
1019
|
id: n,
|
|
1017
1020
|
cssReference: `url(#${n})`,
|
|
1018
1021
|
filterMarkup: [
|
|
1019
|
-
`<filter id="${
|
|
1022
|
+
`<filter id="${Nn(n)}" color-interpolation-filters="sRGB">`,
|
|
1020
1023
|
`<feColorMatrix type="matrix" values="${a}"/>`,
|
|
1021
1024
|
"<feComponentTransfer>",
|
|
1022
1025
|
`<feFuncR type="linear" slope="${i}" intercept="${o.r}"/>`,
|
|
@@ -1027,98 +1030,98 @@ function Jn(t, e) {
|
|
|
1027
1030
|
].join("")
|
|
1028
1031
|
};
|
|
1029
1032
|
}
|
|
1030
|
-
function
|
|
1033
|
+
function to(t) {
|
|
1031
1034
|
return `soft-edge-${t}`;
|
|
1032
1035
|
}
|
|
1033
|
-
function
|
|
1036
|
+
function eo(t, e) {
|
|
1034
1037
|
if (!t || "number" != typeof t.softEdgeRadius || t.softEdgeRadius <= 0) return;
|
|
1035
|
-
const n =
|
|
1038
|
+
const n = to(e), o = Math.round(t.softEdgeRadius);
|
|
1036
1039
|
return {
|
|
1037
1040
|
id: n,
|
|
1038
1041
|
cssReference: `url(#${n})`,
|
|
1039
1042
|
filterMarkup: [
|
|
1040
|
-
`<filter id="${
|
|
1043
|
+
`<filter id="${Nn(n)}" x="-20%" y="-20%" width="140%" height="140%" color-interpolation-filters="sRGB">`,
|
|
1041
1044
|
`<feGaussianBlur in="SourceAlpha" stdDeviation="${o}" result="softEdgeAlpha"/>`,
|
|
1042
1045
|
"<feComposite in=\"SourceGraphic\" in2=\"softEdgeAlpha\" operator=\"in\"/>",
|
|
1043
1046
|
"</filter>"
|
|
1044
1047
|
].join("")
|
|
1045
1048
|
};
|
|
1046
1049
|
}
|
|
1047
|
-
function
|
|
1050
|
+
function no(t, e = {}) {
|
|
1048
1051
|
const n = "shapeStyle" in t ? t.shapeStyle : void 0, o = {};
|
|
1049
1052
|
if (!n) return o;
|
|
1050
1053
|
const r = "connector" === t.type || "connector" === D("shapeType" in t ? t.shapeType : void 0), i = [function(t, e = {}, n) {
|
|
1051
1054
|
if (!t) return;
|
|
1052
|
-
const o = [], r =
|
|
1055
|
+
const o = [], r = Gn(t);
|
|
1053
1056
|
if (r) o.push(r);
|
|
1054
1057
|
else {
|
|
1055
|
-
const e =
|
|
1058
|
+
const e = Kn(t, n);
|
|
1056
1059
|
e && o.push(e);
|
|
1057
1060
|
}
|
|
1058
|
-
const a =
|
|
1061
|
+
const a = jn(t);
|
|
1059
1062
|
if (a && o.push(a), !1 !== e.includeGlow) {
|
|
1060
|
-
const e =
|
|
1063
|
+
const e = Yn(t.glowColor, t.glowRadius, t.glowOpacity);
|
|
1061
1064
|
e && o.push(e);
|
|
1062
1065
|
}
|
|
1063
1066
|
return o.length > 0 ? o.join(", ") : void 0;
|
|
1064
|
-
}(n, { includeGlow: e.includeGlowBoxShadow }, { rotation: t.rotation }), r ? void 0 :
|
|
1067
|
+
}(n, { includeGlow: e.includeGlowBoxShadow }, { rotation: t.rotation }), r ? void 0 : Un(n)].filter((t) => void 0 !== t && "" !== t);
|
|
1065
1068
|
i.length > 0 && (o.boxShadow = i.join(", "));
|
|
1066
1069
|
const l = [function(t, e) {
|
|
1067
1070
|
if (!t) return;
|
|
1068
1071
|
const n = [];
|
|
1069
1072
|
if (t.glowColor && "transparent" !== t.glowColor && t.glowRadius) {
|
|
1070
|
-
const e = "number" == typeof t.glowOpacity ? t.glowOpacity : .75, o = Math.round(Math.max(0, t.glowRadius)), r = Wn(
|
|
1073
|
+
const e = "number" == typeof t.glowOpacity ? t.glowOpacity : .75, o = Math.round(Math.max(0, t.glowRadius)), r = Hn(Wn(t.glowColor, On), e);
|
|
1071
1074
|
n.push(`drop-shadow(0 0 ${o}px ${r})`);
|
|
1072
1075
|
}
|
|
1073
|
-
"number" == typeof t.softEdgeRadius && t.softEdgeRadius > 0 && (e ? n.push(`url(#${
|
|
1074
|
-
const o =
|
|
1076
|
+
"number" == typeof t.softEdgeRadius && t.softEdgeRadius > 0 && (e ? n.push(`url(#${to(e)})`) : n.push(`blur(${Math.min(2, Math.round(t.softEdgeRadius))}px)`)), "number" == typeof t.blurRadius && t.blurRadius > 0 && n.push(`blur(${Math.round(t.blurRadius)}px)`);
|
|
1077
|
+
const o = Xn(t, e);
|
|
1075
1078
|
return o && n.push(o), n.length > 0 ? n.join(" ") : void 0;
|
|
1076
|
-
}(n, t.id), r ? void 0 :
|
|
1079
|
+
}(n, t.id), r ? void 0 : Vn(n)].filter((t) => void 0 !== t && "" !== t);
|
|
1077
1080
|
l.length > 0 && (o.filter = l.join(" "));
|
|
1078
|
-
const p =
|
|
1081
|
+
const p = Bn(n, t.height);
|
|
1079
1082
|
p && (o.reflection = p);
|
|
1080
1083
|
const c = function(t) {
|
|
1081
|
-
if (t && "number" == typeof t.dagAlphaModFix) return
|
|
1084
|
+
if (t && "number" == typeof t.dagAlphaModFix) return zn(t.dagAlphaModFix / 100);
|
|
1082
1085
|
}(n);
|
|
1083
1086
|
void 0 !== c && (o.opacity = c);
|
|
1084
1087
|
const u = function(t) {
|
|
1085
1088
|
if (!t?.dagFillOverlayColor || "transparent" === t.dagFillOverlayColor) return;
|
|
1086
|
-
const e =
|
|
1089
|
+
const e = qn(t.dagFillOverlayBlend) ?? "normal";
|
|
1087
1090
|
return {
|
|
1088
|
-
color: Wn(
|
|
1091
|
+
color: Hn(Wn(t.dagFillOverlayColor, Rn), t.dagFillOverlayOpacity),
|
|
1089
1092
|
blendMode: e
|
|
1090
1093
|
};
|
|
1091
1094
|
}(n);
|
|
1092
1095
|
if (u) o.fillOverlay = u;
|
|
1093
1096
|
else {
|
|
1094
|
-
const t =
|
|
1097
|
+
const t = qn(n.dagFillOverlayBlend);
|
|
1095
1098
|
t && (o.mixBlendMode = t);
|
|
1096
1099
|
}
|
|
1097
1100
|
return n.blurGrow && "number" == typeof n.blurRadius && n.blurRadius > 0 && (o.overflowVisible = !0), o;
|
|
1098
1101
|
}
|
|
1099
|
-
function
|
|
1102
|
+
function oo(t) {
|
|
1100
1103
|
return Math.round(1e4 * t) / 1e4;
|
|
1101
1104
|
}
|
|
1102
|
-
function
|
|
1105
|
+
function ro(t, e = "grad") {
|
|
1103
1106
|
return `pptx-${e}-${String(t).replace(/[^a-zA-Z0-9_-]/gu, "_")}`;
|
|
1104
1107
|
}
|
|
1105
|
-
function
|
|
1108
|
+
function ao(t) {
|
|
1106
1109
|
return bn(t).map((t) => ({
|
|
1107
|
-
offset:
|
|
1110
|
+
offset: oo(t.position / 100),
|
|
1108
1111
|
color: t.color,
|
|
1109
|
-
..."number" == typeof t.opacity ? { opacity:
|
|
1112
|
+
..."number" == typeof t.opacity ? { opacity: oo(t.opacity) } : {}
|
|
1110
1113
|
}));
|
|
1111
1114
|
}
|
|
1112
|
-
function
|
|
1115
|
+
function io(t) {
|
|
1113
1116
|
const e = t * Math.PI / 180, n = Math.cos(e), o = Math.sin(e), r = (Math.abs(n) + Math.abs(o)) / 2;
|
|
1114
1117
|
return {
|
|
1115
|
-
x1:
|
|
1116
|
-
y1:
|
|
1117
|
-
x2:
|
|
1118
|
-
y2:
|
|
1118
|
+
x1: oo(.5 - n * r),
|
|
1119
|
+
y1: oo(.5 - o * r),
|
|
1120
|
+
x2: oo(.5 + n * r),
|
|
1121
|
+
y2: oo(.5 + o * r)
|
|
1119
1122
|
};
|
|
1120
1123
|
}
|
|
1121
|
-
function
|
|
1124
|
+
function so(t, e) {
|
|
1122
1125
|
const { stops: n } = t;
|
|
1123
1126
|
if (0 === n.length) return;
|
|
1124
1127
|
if ("radial" === (t.type || "linear")) {
|
|
@@ -1126,20 +1129,20 @@ function io(t, e) {
|
|
|
1126
1129
|
return {
|
|
1127
1130
|
kind: "radial",
|
|
1128
1131
|
id: e,
|
|
1129
|
-
cx:
|
|
1130
|
-
cy:
|
|
1131
|
-
r:
|
|
1132
|
+
cx: oo(a),
|
|
1133
|
+
cy: oo(i),
|
|
1134
|
+
r: oo(s),
|
|
1132
1135
|
stops: n
|
|
1133
1136
|
};
|
|
1134
1137
|
}
|
|
1135
1138
|
return {
|
|
1136
1139
|
kind: "linear",
|
|
1137
1140
|
id: e,
|
|
1138
|
-
...
|
|
1141
|
+
...io("number" == typeof t.angle && Number.isFinite(t.angle) ? t.angle : 90),
|
|
1139
1142
|
stops: n
|
|
1140
1143
|
};
|
|
1141
1144
|
}
|
|
1142
|
-
function
|
|
1145
|
+
function lo(t, e, n) {
|
|
1143
1146
|
if (!Number.isFinite(e) || !Number.isFinite(n) || e <= 0 || n <= 0) return;
|
|
1144
1147
|
const o = `M 0 0 L ${e} 0 L ${e} ${n} L 0 ${n} Z`;
|
|
1145
1148
|
if (!t) return o;
|
|
@@ -1157,7 +1160,7 @@ function so(t, e, n) {
|
|
|
1157
1160
|
}
|
|
1158
1161
|
return o;
|
|
1159
1162
|
}
|
|
1160
|
-
function
|
|
1163
|
+
function po(t, e) {
|
|
1161
1164
|
const n = tn(t, e);
|
|
1162
1165
|
if (n.length <= 1) return [{
|
|
1163
1166
|
strokeWidth: e,
|
|
@@ -1169,7 +1172,7 @@ function lo(t, e) {
|
|
|
1169
1172
|
offset: t
|
|
1170
1173
|
}));
|
|
1171
1174
|
}
|
|
1172
|
-
function
|
|
1175
|
+
function co(t) {
|
|
1173
1176
|
if (!A(t)) return;
|
|
1174
1177
|
const e = t.shapeStyle, n = Math.max(0, e?.strokeWidth ?? 0), o = function(t) {
|
|
1175
1178
|
const e = Fn(t);
|
|
@@ -1179,11 +1182,11 @@ function po(t) {
|
|
|
1179
1182
|
}(t);
|
|
1180
1183
|
if (!o && (!e || n <= 0)) return;
|
|
1181
1184
|
const r = e && n > 0 ? function(t, e) {
|
|
1182
|
-
if (t && "gradient" === t.strokeFillMode) return
|
|
1183
|
-
stops:
|
|
1185
|
+
if (t && "gradient" === t.strokeFillMode) return so({
|
|
1186
|
+
stops: ao(t.strokeGradientStops),
|
|
1184
1187
|
type: t.strokeGradientType,
|
|
1185
1188
|
angle: t.strokeGradientAngle
|
|
1186
|
-
},
|
|
1189
|
+
}, ro(e, "stroke"));
|
|
1187
1190
|
}(e, t.id) ?? function(t, e) {
|
|
1188
1191
|
if (!t || "pattern" !== t.strokeFillMode || !t.strokePatternPreset) return;
|
|
1189
1192
|
const n = mn(t.strokeColor, "#000000"), o = mn(t.strokePatternBackgroundColor, "#ffffff"), r = Mn(t.strokePatternPreset, n, o);
|
|
@@ -1191,16 +1194,16 @@ function po(t) {
|
|
|
1191
1194
|
const a = `<svg xmlns="http://www.w3.org/2000/svg" width="${r.w}" height="${r.h}">${r.inner}</svg>`;
|
|
1192
1195
|
return {
|
|
1193
1196
|
kind: "pattern",
|
|
1194
|
-
id:
|
|
1197
|
+
id: ro(e, "strokepat"),
|
|
1195
1198
|
width: r.w,
|
|
1196
1199
|
height: r.h,
|
|
1197
1200
|
href: `data:image/svg+xml,${encodeURIComponent(a)}`
|
|
1198
1201
|
};
|
|
1199
1202
|
}(e, t.id) : void 0, a = !r && !o && function(t, e, n) {
|
|
1200
|
-
return !(!e || n <= 0 || "connector" === t.type) && "line" !== D(t.shapeType) && "in" !== e.lineAlignment;
|
|
1203
|
+
return !(!e || n <= 0 || "connector" === t.type || !Dn(e)) && "line" !== D(t.shapeType) && "in" !== e.lineAlignment;
|
|
1201
1204
|
}(t, e, n);
|
|
1202
1205
|
if (!r && !o && !a) return;
|
|
1203
|
-
const i = o ??
|
|
1206
|
+
const i = o ?? lo(Je(t), t.width, t.height);
|
|
1204
1207
|
if (!i) return;
|
|
1205
1208
|
const s = n > 0 ? n : 2;
|
|
1206
1209
|
return {
|
|
@@ -1208,24 +1211,24 @@ function po(t) {
|
|
|
1208
1211
|
paint: r,
|
|
1209
1212
|
stroke: r ? (l = r, `url(#${l.id})`) : xn(e?.strokeColor ?? "#1f2937", e?.strokeOpacity),
|
|
1210
1213
|
strokeWidth: s,
|
|
1211
|
-
strands:
|
|
1214
|
+
strands: po(e?.compoundLine, s),
|
|
1212
1215
|
dashArray: In(Tn(e?.strokeDash), Math.max(s, 1), e?.customDashSegments),
|
|
1213
1216
|
lineCap: nn(e?.lineCap),
|
|
1214
1217
|
lineJoin: "bevel" === e?.lineJoin ? "bevel" : "miter" === e?.lineJoin ? "miter" : "round"
|
|
1215
1218
|
};
|
|
1216
1219
|
var l;
|
|
1217
1220
|
}
|
|
1218
|
-
function
|
|
1221
|
+
function uo(t) {
|
|
1219
1222
|
return `0 0 ${Math.max(t.width, 12)} ${Math.max(t.height, 12)}`;
|
|
1220
1223
|
}
|
|
1221
|
-
function
|
|
1224
|
+
function fo(t) {
|
|
1222
1225
|
if ("shape" !== t.type || !A(t)) return !1;
|
|
1223
1226
|
const e = t.shapeStyle;
|
|
1224
1227
|
return !(void 0 !== e?.fillColor && "transparent" !== e.fillColor || "gradient" === e?.fillMode || "pattern" === e?.fillMode || "image" === e?.fillMode || "group" === e?.fillMode || Boolean(e?.fillGradient)) && "" === U(t).trim();
|
|
1225
1228
|
}
|
|
1226
|
-
function
|
|
1227
|
-
if (!
|
|
1228
|
-
const e =
|
|
1229
|
+
function mo(t) {
|
|
1230
|
+
if (!fo(t)) return;
|
|
1231
|
+
const e = lo(Je(t), t.width, t.height);
|
|
1229
1232
|
if (!e) return;
|
|
1230
1233
|
const n = A(t) ? t.shapeStyle?.strokeWidth ?? 0 : 0;
|
|
1231
1234
|
return {
|
|
@@ -1233,19 +1236,19 @@ function fo(t) {
|
|
|
1233
1236
|
strokeWidth: Math.max(3 * n, 10)
|
|
1234
1237
|
};
|
|
1235
1238
|
}
|
|
1236
|
-
function
|
|
1239
|
+
function ho() {
|
|
1237
1240
|
return { accumulated: 0 };
|
|
1238
1241
|
}
|
|
1239
|
-
function
|
|
1242
|
+
function go({ deltaY: t, deltaMode: e = 0 }) {
|
|
1240
1243
|
return 1 === e ? 16 * t : 2 === e ? 400 * t : t;
|
|
1241
1244
|
}
|
|
1242
|
-
function
|
|
1245
|
+
function xo(t, e) {
|
|
1243
1246
|
return 0 !== e && Math.sign(e) !== Math.sign(t.accumulated) && (t.accumulated = 0), t.accumulated += e, t.accumulated >= 120 ? (t.accumulated = 0, { intent: "next-slide" }) : t.accumulated <= -120 ? (t.accumulated = 0, { intent: "previous-slide" }) : { intent: "none" };
|
|
1244
1247
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return
|
|
1248
|
+
function yo(t, e) {
|
|
1249
|
+
return xo(e, go(t));
|
|
1247
1250
|
}
|
|
1248
|
-
function
|
|
1251
|
+
function bo(t) {
|
|
1249
1252
|
const e = D(t.shapeType);
|
|
1250
1253
|
if ("connector" === t.type || "connector" === e) return { kind: "bare" };
|
|
1251
1254
|
if (function(t) {
|
|
@@ -1284,11 +1287,6 @@ function yo(t) {
|
|
|
1284
1287
|
radius: "48% / 12%"
|
|
1285
1288
|
} : { kind: "none" };
|
|
1286
1289
|
}
|
|
1287
|
-
function bo(t) {
|
|
1288
|
-
return function(t) {
|
|
1289
|
-
return !(!t || Math.max(0, t.strokeWidth ?? 0) <= 0 || void 0 === t.strokeColor && void 0 === t.strokeFillMode);
|
|
1290
|
-
}(t) ? Math.max(0, t?.strokeWidth ?? 0) : 0;
|
|
1291
|
-
}
|
|
1292
1290
|
var vo = {
|
|
1293
1291
|
borderWidth: 0,
|
|
1294
1292
|
borderStyle: void 0,
|
|
@@ -1320,8 +1318,10 @@ function ko(t) {
|
|
|
1320
1318
|
function Mo(t) {
|
|
1321
1319
|
if (!A(t)) return vo;
|
|
1322
1320
|
const e = t.shapeStyle, n = function(t) {
|
|
1323
|
-
return void 0 !==
|
|
1324
|
-
}(t) ? 0 :
|
|
1321
|
+
return void 0 !== co(t);
|
|
1322
|
+
}(t) ? 0 : function(t) {
|
|
1323
|
+
return Dn(t) ? Math.max(0, t?.strokeWidth ?? 0) : 0;
|
|
1324
|
+
}(e), o = {
|
|
1325
1325
|
strokeLinejoin: wo(e?.lineJoin),
|
|
1326
1326
|
strokeLinecap: So(e?.lineCap),
|
|
1327
1327
|
strokeMiterlimit: ko(e)
|
|
@@ -1388,7 +1388,7 @@ function $o(t) {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
}(t.tileAlignment), i = `${Co(a.x, o)} ${Co(a.y, r)}`, s = t.svgData || t.imageData, l = t.tileFlip, p = s && l && "none" !== l ? function(t, e, n, o) {
|
|
1390
1390
|
if (!t.startsWith("data:")) return;
|
|
1391
|
-
const r = "x" === e || "xy" === e, a = "y" === e || "xy" === e, i = r ? 2 : 1, s = a ? 2 : 1, l =
|
|
1391
|
+
const r = "x" === e || "xy" === e, a = "y" === e || "xy" === e, i = r ? 2 : 1, s = a ? 2 : 1, l = Nn(t), p = [];
|
|
1392
1392
|
for (let t = 0; t < s; t++) for (let e = 0; e < i; e++) {
|
|
1393
1393
|
const n = r && e % 2 == 1, o = a && t % 2 == 1, i = n ? -1 : 1, s = o ? -1 : 1, c = e + (n ? 1 : 0), u = t + (o ? 1 : 0);
|
|
1394
1394
|
p.push(`<image href="${l}" x="0" y="0" width="1" height="1" preserveAspectRatio="none" transform="translate(${c},${u}) scale(${i},${s})"/>`);
|
|
@@ -18368,7 +18368,7 @@ function nx(t, e, n) {
|
|
|
18368
18368
|
function ox(t, e) {
|
|
18369
18369
|
if (!t) return;
|
|
18370
18370
|
return function(t, e) {
|
|
18371
|
-
if (t?.textReflection) return
|
|
18371
|
+
if (t?.textReflection) return Bn({
|
|
18372
18372
|
reflectionStartOpacity: t.textReflectionStartOpacity ?? .5,
|
|
18373
18373
|
reflectionEndOpacity: t.textReflectionEndOpacity ?? 0,
|
|
18374
18374
|
reflectionDistance: t.textReflectionOffset ?? 0,
|
|
@@ -35701,7 +35701,7 @@ function TN(t) {
|
|
|
35701
35701
|
if (t?.aborted) throw new DOMException("Export cancelled", "AbortError");
|
|
35702
35702
|
}
|
|
35703
35703
|
function AN(t) {
|
|
35704
|
-
const { slideCount: e, rasterizeSlide: n } = t, o = t.loadGifEncoder ?? (async () => (await import("./gif-encoder-
|
|
35704
|
+
const { slideCount: e, rasterizeSlide: n } = t, o = t.loadGifEncoder ?? (async () => (await import("./gif-encoder-hppHqnVV.js")).encodeGif), r = t.createRecorder ?? PN, a = t.createCanvas ?? (() => document.createElement("canvas")), i = t.downloadBlob ?? tF, s = xe(!1), l = xe(0);
|
|
35705
35705
|
return {
|
|
35706
35706
|
exporting: s,
|
|
35707
35707
|
progress: l,
|
|
@@ -37800,4 +37800,4 @@ function Mz(t) {
|
|
|
37800
37800
|
}
|
|
37801
37801
|
};
|
|
37802
37802
|
}
|
|
37803
|
-
export { JO as $, bT as $a, $A as $c, jw as $i, _v as $l, Wi as $n, Jf as $o, dh as $r, Ze as $s, ER as $t, Wh as $u, WN as A, $g as Aa, wT as Ac, uf as Ad, nc as Ai, ok as Al, li as An, eA as Ao, iP as Ar, Mo as As, sO as At,
|
|
37803
|
+
export { JO as $, bT as $a, $A as $c, jw as $i, _v as $l, Wi as $n, Jf as $o, dh as $r, Ze as $s, ER as $t, Wh as $u, WN as A, $g as Aa, wT as Ac, uf as Ad, nc as Ai, ok as Al, li as An, eA as Ao, iP as Ar, Mo as As, sO as At, bo as Au, IN as B, pf as Ba, x$ as Bc, Be as Bd, um as Bi, DM as Bl, l$ as Bn, Zh as Bo, VC as Br, Im as Bs, nO as Bt, TI as Bu, VN as C, JC as Ca, KT as Cc, dM as Cd, rc as Ci, $I as Cl, mi as Cn, Ky as Co, tC as Cr, ka as Cs, SO as Ct, Gh as Cu, YN as D, Ow as Da, Mm as Dc, Uk as Dd, Nf as Di, eg as Dl, Wy as Dn, Qr as Do, bM as Dr, no as Ds, uO as Dt, lI as Du, _N as E, mT as Ea, $T as Ec, zm as Ed, CM as Ei, mn as El, BP as En, $P as Eo, Uf as Er, Gd as Es, fO as Et, Kw as Eu, BN as F, qM as Fa, Vh as Fc, kA as Fd, Md as Fi, vT as Fl, vd as Fn, VI as Fo, FM as Fr, cb as Fs, rO as Ft, ze as Fu, gN as G, WI as Ga, tk as Gc, Ek as Gd, oc as Gi, GA as Gl, ta as Gn, KS as Go, rm as Gr, Vn as Gs, YR as Gt, $h as Gu, wN as H, zi as Ha, FS as Hc, By as Hd, fT as Hi, LM as Hl, eP as Hn, DS as Ho, KM as Hr, Tm as Hs, XR as Ht, nk as Hu, EN as I, XM as Ia, Gk as Ic, Ee as Id, IC as Ii, _k as Il, bI as In, aM as Io, AM as Ir, Qn as Is, ZR as It, jT as Iu, aN as J, lr as Ja, yo as Jc, Rd as Ji, WS as Jl, ci as Jn, Cm as Jo, Kv as Jr, Sh as Js, _R as Jt, LS as Ju, lN as K, mS as Ka, wC as Kc, aI as Kd, ub as Ki, Dk as Kl, yi as Kn, tF as Ko, am as Kr, _n as Ks, GR as Kt, _g as Ku, LN as L, km as La, kS as Lc, Oe as Ld, Qh as Li, ky as Ll, AI as Ln, ho as Lo, IM as Lr, Po as Ls, JR as Lt, uP as Lu, zN as M, aS as Ma, ST as Mc, Fe as Md, tP as Mi, eF as Ml, qe as Mn, Th as Mo, bS as Mr, Pm as Ms, pO as Mt, fS as Mu, ON as N, hr as Na, fo as Nc, rP as Nd, tg as Ni, uM as Nl, KP as Nn, OM as No, RM as Nr, CP as Ns, iO as Nt, Wv as Nu, GN as O, Ff as Oa, v$ as Oc, xf as Od, Rf as Oi, NF as Ol, ET as On, Er as Oo, vS as Or, $n as Os, hO as Ot, RI as Ou, RN as P, oP as Pa, MS as Pc, PM as Pd, eT as Pi, jk as Pl, uA as Pn, Wk as Po, TM as Pr, An as Ps, aO as Pt, MT as Pu, QO as Q, vC as Qa, bA as Qc, Ep as Qi, Jh as Ql, Yf as Qn, KF as Qo, sS as Qr, Je as Qs, OR as Qt, Fi as Qu, DN as R, eI as Ra, om as Rc, Le as Rd, VM as Ri, aw as Rl, iI as Rn, De as Ro, MM as Rr, dF as Rs, QR as Rt, Hv as Ru, ZN as S, Sw as Sa, M$ as Sc, dT as Sd, MI as Si, Bw as Sl, ni as Sn, AA as So, nC as Sr, hf as Ss, kO as St, DT as Su, UN as T, fn as Ta, BC as Tc, Uw as Td, $c as Ti, jA as Tl, EP as Tn, rn as To, QM as Tr, en as Ts, dO as Tt, bh as Tu, vN as U, Dp as Ua, oA as Uc, Lk as Ud, kI as Ui, BM as Ul, gc as Un, MA as Uo, jM as Ur, $o as Us, VR as Ut, ru as Uu, AN as V, Vp as Va, VA as Vc, Jp as Vd, Gf as Vi, bk as Vl, hi as Vn, Pe as Vo, yI as Vr, Am as Vs, qR as Vt, WC as Vu, xN as W, vk as Wa, fM as Wc, pS as Wd, cA as Wi, bP as Wl, mc as Wn, Mg as Wo, GM as Wr, MP as Ws, KR as Wt, Uv as Wu, eN as X, mM as Xa, Oy as Xc, kc as Xi, $m as Xl, hc as Xn, yM as Xo, WA as Xr, wh as Xs, zR as Xt, $S as Xu, rN as Y, cI as Ya, zC as Yc, Pb as Yi, _w as Yl, bi as Yn, oF as Yo, yT as Yr, vh as Ys, HR as Yt, uI as Yu, tN as Z, Cd as Za, PA as Zc, AP as Zi, rA as Zl, Si as Zn, tc as Zo, Vv as Zr, pg as Zs, RR as Zt, RA as Zu, ez as _, Kk as _a, ng as _c, Vw as _d, UI as _i, Sd as _l, lM as _n, dm as _o, dy as _r, dk as _s, MO as _t, qT as _u, bz as a, kg as aa, tI as ac, pd as ad, UT as ai, tT as al, TR as an, oa as ao, cF as ar, Ly as as, GO as at, uT as au, tz as b, fh as ba, $M as bc, QP as bd, j$ as bi, yd as bl, QT as bn, cw as bo, DC as br, xP as bs, IO as bt, Lp as bu, dz as c, Ye as ca, g$ as cc, Zv as cd, _T as ci, hm as cl, kR as cn, LA as co, vM as cr, Ma as cs, zO as ct, zf as cu, pz as d, Sy as da, UM as dc, OS as dd, ai as di, sk as dl, CR as dn, mA as do, ri as dr, hh as ds, OO as dt, Bf as du, Tc as ea, XS as ec, Ah as ed, Lv as ei, yA as el, DR as en, Dy as eo, He as er, Qf as es, ZO as et, Xv as eu, lz as f, xy as fa, yP as fc, zS as fd, YT as fi, rk as fl, SR as fn, mm as fo, vi as fr, Sk as fs, EO as ft, Ef as fu, rz as g, ix as ga, sP as gc, dS as gd, pi as gi, gd as gl, xT as gn, qf as go, Uh as gr, wk as gs, CO as gt, C$ as gu, az as h, yC as ha, JA as hc, uS as hd, xi as hi, ld as hl, fc as hn, Xf as ho, Yh as hr, wM as hs, $O as ht, Yk as hu, hz as i, gk as ia, eo as ic, kd as id, Ei as ii, rT as il, IR as in, ra as io, gi as ir, Xp as is, UO as it, OT as iu, HN as j, Ck as ja, kT as jc, $k as jd, cm as ji, _M as jl, fk as jn, Hk as jo, Nk as jr, Fy as js, lO as jt, HA as ju, KN as k, vg as ka, Vg as kc, yf as kd, ou as ki, kk as kl, si as kn, IA as ko, Bk as kr, or as ks, cO as kt, HC as ku, uz as l, xk as la, og as lc, Jv as ld, Ne as li, QA as ll, $R as ln, Yw as lo, SP as lr, aA as ls, RO as lt, Of as lu, iz as m, rg as ma, mr as mc, qv as md, dI as mi, gy as ml, UC as mn, Wf as mo, Zk as mr, lk as ms, PO as mt, nP as mu, kz as n, NP as na, Rm as nc, bc as nd, Hi as ni, lT as nl, BR as nn, Ke as no, fi as nr, gP as ns, XO as nt, ZM as nu, mz as o, FT as oa, yr as oc, wc as od, _h as oi, nT as ol, AR as on, ei as oo, XA as or, UA as os, KO as ot, Uy as ou, sz as p, Pd as pa, YA as pc, fr as pd, GT as pi, ak as pl, xR as pn, Hf as po, di as pr, uk as ps, LO as pt, Sc as pu, sN as q, Qk as qa, HM as qc, pm as qi, Fk as ql, ui as qn, zF as qo, Qv as qr, pI as qs, jR as qt, na as qu, vz as r, PP as ra, zv as rc, TA as rd, Li as ri, pT as rl, FR as rn, RP as ro, oi as rr, XT as rs, VO as rt, Zf as ru, fz as s, mo as sa, pr as sc, Lf as sd, jf as si, oT as sl, MR as sn, Vf as so, qA as sr, ek as ss, HO as st, QS as su, Mz as t, yk as ta, lb as tc, vc as td, Ev as ti, gM as tl, LR as tn, je as to, _f as tr, SI as ts, qO as tt, rI as tu, cz as u, NT as ua, D$ as uc, tm as ud, Di as ui, Ak as ul, PR as un, xm as uo, HP as ur, iA as us, BO as ut, CI as uu, nz as v, Qu as va, gm as vc, Zw as vd, HS as vi, bd as vl, sI as vn, HF as vo, fy as vr, hk as vs, FO as vt, ZT as vu, XN as w, co as wa, cd as wc, uo as wd, Cc as wi, _A as wl, wi as wn, Hy as wo, eC as wr, tn as ws, mO as wt, qh as wu, qN as x, xw as xa, gh as xc, Tk as xd, hP as xi, sd as xl, XC as xn, Kf as xo, FC as xr, Ch as xs, DO as xt, Ey as xu, oz as y, TT as ya, cM as yc, fm as yd, xM as yi, xd as yl, JT as yn, WF as yo, hd as yr, IP as ys, AO as yt, BI as yu, FN as z, cf as za, y$ as zc, Re as zd, pP as zi, CS as zl, ii as zn, Te as zo, kM as zr, s$ as zs, tO as zt, mk as zu };
|
|
Binary file
|
|
Binary file
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-BwPALPfo.cjs"), t = require("../viewer-CnLyS1fM.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.parseAudienceNonce = e.parseAudienceNonce, exports.storeAudienceContent = e.storeAudienceContent, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = t.useCollaborativeHistory, exports.useCollaborativeState = t.useCollaborativeState, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent, exports.usePresenceTracking = t.usePresenceTracking, exports.useYjsProvider = t.useYjsProvider;
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $s as a, C as s, Cd as e, J as r, Nl as o, Qs as n, S as t, Wc as d, X as l, Xa as i, _n as R, ca as C, cn as S, dn as m, it as c, j as b, ln as u, no as w, sn as j, to as T, un as g, w as p, x as v, yc as x } from "../useViewerSettingsDialog-
|
|
2
|
-
import { A, B as D, C as E, D as I, E as M, F as O, I as P, L as V, M as f, N as k, O as y, P as B, R as F, S as N, T as W, V as X, a as h, d as q, i as z, j as J, k as L, l as Q, n as Z, r as $, t as _, u as G, z as H } from "../viewer-
|
|
1
|
+
import { $s as a, C as s, Cd as e, J as r, Nl as o, Qs as n, S as t, Wc as d, X as l, Xa as i, _n as R, ca as C, cn as S, dn as m, it as c, j as b, ln as u, no as w, sn as j, to as T, un as g, w as p, x as v, yc as x } from "../useViewerSettingsDialog-DDQvhhvK.js";
|
|
2
|
+
import { A, B as D, C as E, D as I, E as M, F as O, I as P, L as V, M as f, N as k, O as y, P as B, R as F, S as N, T as W, V as X, a as h, d as q, i as z, j as J, k as L, l as Q, n as Z, r as $, t as _, u as G, z as H } from "../viewer-DiY5zqg0.js";
|
|
3
3
|
export { R as AUDIENCE_HASH, P as ChartRenderer, q as CollaborationCursors, X as CollaborationStatusIndicator, O as ConnectorRenderer, j as DEFAULT_CANVAS_HEIGHT, S as DEFAULT_CANVAS_WIDTH, u as DEFAULT_FILL_COLOR, g as DEFAULT_STROKE_COLOR, m as DEFAULT_TEXT_COLOR, M as ElementRenderer, B as EquationRenderer, Q as FollowModeBar, k as InkRenderer, f as Model3DRenderer, J as OleRenderer, h as PowerPointViewer, G as RemoteSelectionOverlay, E as RibbonToolbar, N as SlideCanvas, W as SlideStage, A as SmartArtRenderer, L as TableRenderer, y as WordArtText, I as ZoomRenderer, C as buildInitialGuides, i as clearAudienceContent, T as collectImagePaths, w as collectMediaElements, v as exportAllSlidesToSvg, t as exportAllSlidesToSvgBlobs, s as exportSlideToSvg, p as exportSlideToSvgBlob, V as getContainerStyle, F as getImageSrc, n as getResolvedShapeClipPath, a as getResolvedShapeClipPathFor, H as getShapeFillStrokeStyle, D as getTextBlockStyle, x as isAudienceTab, d as loadAudienceContent, o as parseAudienceNonce, e as storeAudienceContent, c as useCollaboration, _ as useCollaborativeHistory, Z as useCollaborativeState, l as useEditorHistory, r as useEditorOperations, b as useLoadContent, $ as usePresenceTracking, z as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./rolldown-runtime-C7a0RdOx.cjs"), t = require("./dist-CbwKml0j.cjs"), n = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./rolldown-runtime-C7a0RdOx.cjs"), t = require("./dist-CbwKml0j.cjs"), n = require("./useViewerSettingsDialog-BwPALPfo.cjs"), o = require("./i18n-DzEtDs5K.cjs");
|
|
2
2
|
let a = require("vue"), r = require("lucide-vue-next"), l = require("clsx"), i = require("tailwind-merge");
|
|
3
3
|
var s = Symbol("pptx-viewer-theme");
|
|
4
4
|
function c(e) {
|
|
@@ -5846,7 +5846,7 @@ var $i = ["disabled", "title"], Ui = ["disabled", "title"], ji = ["title"], Ki =
|
|
|
5846
5846
|
(0, a.createElementVNode)("span", Ji, (0, a.toDisplayString)(t.drawingWidth), 1)
|
|
5847
5847
|
], 8, Xi)])], 64));
|
|
5848
5848
|
}
|
|
5849
|
-
}), es = "
|
|
5849
|
+
}), es = "3.0.1", ts = Symbol("pptx-account-auth");
|
|
5850
5850
|
var ns = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, os = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, as = { class: "text-base font-semibold" }, rs = { class: "mt-4 flex items-center gap-4" }, ls = { class: "min-w-0 flex-1" }, is = { class: "block text-xs font-medium text-muted-foreground" }, ss = ["value", "placeholder"], cs = { class: "mt-4" }, ds = { class: "block text-xs font-medium text-muted-foreground" }, ps = { class: "mt-2 flex gap-2" }, us = [
|
|
5851
5851
|
"aria-pressed",
|
|
5852
5852
|
"aria-label",
|
|
@@ -33953,7 +33953,7 @@ var x6 = ae((0, a.defineComponent)({
|
|
|
33953
33953
|
var o;
|
|
33954
33954
|
}), 128))])], 8, s9))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", a9, [(0, a.createElementVNode)("p", r9, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesFound")), 1), (0, a.createElementVNode)("p", l9, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesHint")), 1)]))], 8, e9));
|
|
33955
33955
|
}
|
|
33956
|
-
}), h9 = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
33956
|
+
}), h9 = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-U41tqJtC.cjs"))), y9 = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, b9 = { class: "pptx-vue-cs-header flex items-center" }, k9 = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, E9 = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, S9 = ["aria-label", "value"], w9 = {
|
|
33957
33957
|
key: 0,
|
|
33958
33958
|
value: "",
|
|
33959
33959
|
disabled: ""
|
|
Binary file
|
|
Binary file
|