ooxml-core 1.41.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/{PptxHandler-3AGIITR7.mjs → PptxHandler-3VAVJDFB.mjs} +2 -2
- package/dist/PptxHandler-V23RDNEX.cjs +14 -0
- package/dist/PptxHandler-WB3KL2WH.mjs +5 -0
- package/dist/{PresentationBuilder-JNID4B4Z.mjs → PresentationBuilder-7LJMTRJ6.mjs} +2 -2
- package/dist/{PresentationBuilder-MZBKYOYD.cjs → PresentationBuilder-KHL6GONR.cjs} +6 -6
- package/dist/{PresentationBuilder-5DPKFUXP.mjs → PresentationBuilder-PY2GB4IG.mjs} +3 -3
- package/dist/automation/index.cjs +79 -91
- package/dist/automation/index.mjs +79 -91
- package/dist/chart/index.cjs +12 -9
- package/dist/chart/index.mjs +12 -9
- package/dist/{chunk-ZYCBJKAE.mjs → chunk-243ZYX2B.mjs} +1 -1
- package/dist/{chunk-LRBWCRQ3.cjs → chunk-3J6VIKLP.cjs} +3 -3
- package/dist/{chunk-DD7COXWR.mjs → chunk-4LEVL6ZW.mjs} +30 -13
- package/dist/chunk-CODMW5KF.cjs +110 -0
- package/dist/{chunk-HTELXT2N.mjs → chunk-HLYOHD2Z.mjs} +30 -12
- package/dist/{chunk-P3WAKBVS.mjs → chunk-IPV3J3I5.mjs} +82 -90
- package/dist/{chunk-6LGRRQ3K.mjs → chunk-JHYU7HGG.mjs} +1 -1
- package/dist/{chunk-JXR6YWBW.mjs → chunk-KCDLTVUI.mjs} +125 -126
- package/dist/chunk-O3YGBYGZ.mjs +104 -0
- package/dist/{chunk-75KBNUKS.cjs → chunk-QZPOPUI5.cjs} +82 -89
- package/dist/{chunk-3BIFRTU4.cjs → chunk-RNZQ2OU4.cjs} +1294 -1276
- package/dist/{chunk-UE23HF2N.mjs → chunk-VKFKEVHK.mjs} +1 -1
- package/dist/{chunk-KKVD3R6O.mjs → chunk-WEAWSXUX.mjs} +4 -4
- package/dist/diagram/index.cjs +499 -370
- package/dist/diagram/index.d.ts +1 -0
- package/dist/diagram/index.d.ts.map +1 -1
- package/dist/diagram/index.mjs +495 -371
- package/dist/docx/embedded.cjs +67 -89
- package/dist/docx/embedded.mjs +67 -89
- package/dist/docx/index.cjs +125 -110
- package/dist/docx/index.mjs +125 -110
- package/dist/docx/layout/index.cjs +257 -110
- package/dist/docx/layout/index.d.ts +1 -0
- package/dist/docx/layout/index.d.ts.map +1 -1
- package/dist/docx/layout/index.mjs +257 -111
- package/dist/docx/layout/webfont-runs.d.ts +5 -0
- package/dist/docx/layout/webfont-runs.d.ts.map +1 -0
- package/dist/docx/load/index.cjs +67 -89
- package/dist/docx/load/index.mjs +67 -89
- package/dist/docx/shape-svg.d.ts.map +1 -1
- package/dist/docx/ui/index.cjs +79 -98
- package/dist/docx/ui/index.mjs +79 -98
- package/dist/drawingml/dash-pattern.d.ts +61 -0
- package/dist/drawingml/dash-pattern.d.ts.map +1 -0
- package/dist/drawingml/index.cjs +249 -43
- package/dist/drawingml/index.d.ts +3 -0
- package/dist/drawingml/index.d.ts.map +1 -1
- package/dist/drawingml/index.mjs +241 -44
- package/dist/drawingml/rect-path-gradient.d.ts +5 -0
- package/dist/drawingml/rect-path-gradient.d.ts.map +1 -1
- package/dist/drawingml/shape-path-gradient.d.ts +57 -0
- package/dist/drawingml/shape-path-gradient.d.ts.map +1 -0
- package/dist/geometry/index.cjs +68 -90
- package/dist/geometry/index.mjs +68 -90
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts +2 -2
- package/dist/geometry/preset-shape-definitions-exact-action-buttons.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-exact-arrows.d.ts.map +1 -1
- package/dist/geometry/preset-shape-definitions-exact-scrolls.d.ts.map +1 -1
- package/dist/index.cjs +2937 -493
- package/dist/index.mjs +2937 -493
- package/dist/pptx/automation/index.cjs +366 -197
- package/dist/pptx/automation/index.d.ts +11 -17
- package/dist/pptx/automation/index.d.ts.map +1 -1
- package/dist/pptx/automation/index.mjs +156 -71
- package/dist/pptx/chunks/{elements-6BMEOo7i.d.ts → elements-PBugbKtv.d.ts} +3 -873
- package/dist/pptx/chunks/elements-PBugbKtv.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-BbXLv6As.d.ts → index-Bj-hur0D.d.ts} +4 -4
- package/dist/pptx/chunks/{index-BbXLv6As.d.ts.map → index-Bj-hur0D.d.ts.map} +1 -1
- package/dist/pptx/chunks/{index-DvN0TkJJ.d.ts → index-CCJiD-Bm.d.ts} +14 -10
- package/dist/pptx/chunks/index-CCJiD-Bm.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-Dija_Wth.d.ts → index-CGNb1TV9.d.ts} +22 -4
- package/dist/pptx/chunks/index-CGNb1TV9.d.ts.map +1 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts +875 -0
- package/dist/pptx/chunks/table-C7ITXL3Y.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-DorONr3h.d.ts → text-operations-BNJr7aGa.d.ts} +3 -2
- package/dist/pptx/chunks/text-operations-BNJr7aGa.d.ts.map +1 -0
- package/dist/pptx/cli/index.cjs +180 -102
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +4 -4
- package/dist/pptx/converter/index.cjs +69 -91
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/converter/index.mjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.cjs +2 -2
- package/dist/pptx/editor/render/custom-show-operations.mjs +1 -1
- package/dist/pptx/editor/render/find-replace.cjs +15 -15
- package/dist/pptx/editor/render/find-replace.d.ts +2 -2
- package/dist/pptx/editor/render/find-replace.mjs +2 -2
- package/dist/pptx/editor/render/slide-operations.cjs +9 -9
- package/dist/pptx/editor/render/slide-operations.mjs +3 -3
- package/dist/pptx/editor/render/table-data-grid-ops.cjs +5 -5
- package/dist/pptx/editor/render/table-data-grid-ops.mjs +1 -1
- package/dist/pptx/editor/render/table-layout.cjs +6 -6
- package/dist/pptx/editor/render/table-layout.d.ts +8 -37
- package/dist/pptx/editor/render/table-layout.d.ts.map +1 -1
- package/dist/pptx/editor/render/table-layout.mjs +1 -1
- package/dist/pptx/editor/render/text-runs-style-patch.d.ts +1 -1
- package/dist/pptx/editor/render/text-style-scope.d.ts +1 -1
- package/dist/pptx/index.cjs +225 -135
- package/dist/pptx/index.d.ts +6 -5
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/node/index.d.ts +1 -1
- package/dist/teams/index.cjs +136 -91
- package/dist/teams/index.mjs +136 -91
- package/dist/text/css-font-family.d.ts.map +1 -1
- package/dist/text/font-metrics/design-advances.generated.d.ts +3 -1
- package/dist/text/font-metrics/design-advances.generated.d.ts.map +1 -1
- package/dist/text/index.cjs +2252 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.d.ts.map +1 -1
- package/dist/text/index.mjs +2231 -1
- package/dist/text/metric-font-family.d.ts.map +1 -1
- package/dist/text/webfonts/font-weight-names.d.ts +66 -0
- package/dist/text/webfonts/font-weight-names.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-catalogue.d.ts +14 -0
- package/dist/text/webfonts/google-fonts-catalogue.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-lookup.d.ts +7 -0
- package/dist/text/webfonts/google-fonts-lookup.d.ts.map +1 -0
- package/dist/text/webfonts/google-fonts-request.d.ts +57 -0
- package/dist/text/webfonts/google-fonts-request.d.ts.map +1 -0
- package/dist/text/webfonts/index.d.ts +12 -0
- package/dist/text/webfonts/index.d.ts.map +1 -0
- package/dist/text/webfonts/metric-clones.d.ts +17 -0
- package/dist/text/webfonts/metric-clones.d.ts.map +1 -0
- package/dist/text/webfonts/webfont-faces.d.ts +24 -0
- package/dist/text/webfonts/webfont-faces.d.ts.map +1 -0
- package/dist/visio/index.cjs +64 -0
- package/dist/visio/index.d.ts +1 -0
- package/dist/visio/index.d.ts.map +1 -1
- package/dist/visio/index.mjs +64 -1
- package/dist/visio/ui/index.cjs +8 -0
- package/dist/visio/ui/index.mjs +8 -0
- package/dist/visio/webfont-runs.d.ts +27 -0
- package/dist/visio/webfont-runs.d.ts.map +1 -0
- package/dist/xlsx/collab/index.cjs +67 -89
- package/dist/xlsx/collab/index.mjs +67 -89
- package/dist/xlsx/index.cjs +2253 -118
- package/dist/xlsx/index.mjs +2249 -119
- package/dist/xlsx/layout/font-stack.d.ts +8 -0
- package/dist/xlsx/layout/font-stack.d.ts.map +1 -0
- package/dist/xlsx/layout/index.d.ts +3 -1
- package/dist/xlsx/layout/index.d.ts.map +1 -1
- package/dist/xlsx/layout/shape-paint.d.ts.map +1 -1
- package/dist/xlsx/layout/shape-view.d.ts.map +1 -1
- package/dist/xlsx/layout/style-view.d.ts +2 -0
- package/dist/xlsx/layout/style-view.d.ts.map +1 -1
- package/dist/xlsx/layout/webfont-runs.d.ts +11 -0
- package/dist/xlsx/layout/webfont-runs.d.ts.map +1 -0
- package/dist/xlsx/load/index.cjs +67 -89
- package/dist/xlsx/load/index.mjs +67 -89
- package/dist/xlsx/ui/commands/util.d.ts.map +1 -1
- package/dist/xlsx/ui/context.d.ts +5 -0
- package/dist/xlsx/ui/context.d.ts.map +1 -1
- package/dist/xlsx/ui/grid/cell-paint.d.ts +3 -2
- package/dist/xlsx/ui/grid/cell-paint.d.ts.map +1 -1
- package/dist/xlsx/ui/index.cjs +2093 -102
- package/dist/xlsx/ui/index.mjs +2093 -103
- package/package.json +1 -1
- package/dist/PptxHandler-EL4E4SPH.mjs +0 -5
- package/dist/PptxHandler-OIZ3R3DJ.cjs +0 -14
- package/dist/chunk-3IT6ZD7K.mjs +0 -213
- package/dist/chunk-FRUB573B.cjs +0 -219
- package/dist/pptx/chunks/elements-6BMEOo7i.d.ts.map +0 -1
- package/dist/pptx/chunks/index-Dija_Wth.d.ts.map +0 -1
- package/dist/pptx/chunks/index-DvN0TkJJ.d.ts.map +0 -1
- package/dist/pptx/chunks/text-operations-DorONr3h.d.ts.map +0 -1
|
@@ -248,6 +248,20 @@ function xmlAttrNumber(node, name) {
|
|
|
248
248
|
const parsed = Number(raw);
|
|
249
249
|
return Number.isFinite(parsed) ? parsed : void 0;
|
|
250
250
|
}
|
|
251
|
+
function xmlAttrBool(node, name) {
|
|
252
|
+
const raw = xmlAttr(node, name);
|
|
253
|
+
if (raw === void 0) {
|
|
254
|
+
return void 0;
|
|
255
|
+
}
|
|
256
|
+
const normalized = raw.trim().toLowerCase();
|
|
257
|
+
if (normalized === "1" || normalized === "true") {
|
|
258
|
+
return true;
|
|
259
|
+
}
|
|
260
|
+
if (normalized === "0" || normalized === "false") {
|
|
261
|
+
return false;
|
|
262
|
+
}
|
|
263
|
+
return void 0;
|
|
264
|
+
}
|
|
251
265
|
function xmlText(node) {
|
|
252
266
|
if (!isXmlObject(node)) {
|
|
253
267
|
return coerceString(node);
|
|
@@ -6365,84 +6379,22 @@ var triangle = (g3, dir) => g3.poly([
|
|
|
6365
6379
|
[D * dir, 0],
|
|
6366
6380
|
[-D * dir, D]
|
|
6367
6381
|
]);
|
|
6368
|
-
var
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
[
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
[-8.5, -13.5],
|
|
6385
|
-
[-9.3, -17.2],
|
|
6386
|
-
[-7.8, -19.5],
|
|
6387
|
-
[-4, -22.5],
|
|
6388
|
-
[-3.3, -21.7],
|
|
6389
|
-
[-1.8, -21.7],
|
|
6390
|
-
[-1, -23.2],
|
|
6391
|
-
[0.5, -23.2],
|
|
6392
|
-
[1.2, -21.7],
|
|
6393
|
-
[2.7, -21.7],
|
|
6394
|
-
[3.5, -22.5],
|
|
6395
|
-
[8, -18.7],
|
|
6396
|
-
[8.7, -17.2],
|
|
6397
|
-
[8, -16.5],
|
|
6398
|
-
[8, -15],
|
|
6399
|
-
[9.5, -14.2],
|
|
6400
|
-
[9.5, -13.5],
|
|
6401
|
-
[8, -12.7],
|
|
6402
|
-
[8.7, -9.7],
|
|
6403
|
-
[5, -6],
|
|
6404
|
-
[2, -6],
|
|
6405
|
-
[-2.5, -2.2],
|
|
6406
|
-
[-3.3, 0.8],
|
|
6407
|
-
[-5.5, 2.3],
|
|
6408
|
-
[-4.8, 6.8],
|
|
6409
|
-
[-6.3, 7.5],
|
|
6410
|
-
[-6.3, 18],
|
|
6411
|
-
[-4.8, 18],
|
|
6412
|
-
[-4, 17.3],
|
|
6413
|
-
[4.2, 17.3],
|
|
6414
|
-
[4.2, 6.8],
|
|
6415
|
-
[6.5, 5.3],
|
|
6416
|
-
[6.5, 3.8],
|
|
6417
|
-
[8, 3],
|
|
6418
|
-
[8, 1.5],
|
|
6419
|
-
[8.7, 0.8],
|
|
6420
|
-
[13.2, 0],
|
|
6421
|
-
[17, -4.5],
|
|
6422
|
-
[18.5, -4.5],
|
|
6423
|
-
[18.5, -6],
|
|
6424
|
-
[17.7, -6.7],
|
|
6425
|
-
[18.5, -8.2],
|
|
6426
|
-
[18.5, -15],
|
|
6427
|
-
[20, -15.7],
|
|
6428
|
-
[20, -18],
|
|
6429
|
-
[17.7, -19.5],
|
|
6430
|
-
[17.7, -21],
|
|
6431
|
-
[15.5, -24.7],
|
|
6432
|
-
[15.5, -27],
|
|
6433
|
-
[14, -27],
|
|
6434
|
-
[13.2, -27.7],
|
|
6435
|
-
[13.2, -29.2],
|
|
6436
|
-
[9.5, -30],
|
|
6437
|
-
[8.7, -30.7],
|
|
6438
|
-
[8.7, -32.2],
|
|
6439
|
-
[5.7, -31.5],
|
|
6440
|
-
[4.2, -33.7],
|
|
6441
|
-
[2.7, -33.7],
|
|
6442
|
-
[2, -32.2],
|
|
6443
|
-
[-2.5, -32.2],
|
|
6444
|
-
[-3.3, -33.7]
|
|
6445
|
-
];
|
|
6382
|
+
var U = 90;
|
|
6383
|
+
var question = (g3) => {
|
|
6384
|
+
const x = (v) => g3.x(v * U);
|
|
6385
|
+
const y = (v) => g3.y(v * U);
|
|
6386
|
+
const r = (v) => g3.len(v * U);
|
|
6387
|
+
return [
|
|
6388
|
+
`M ${x(-0.214)} ${y(-0.162)} A ${r(0.214)} ${r(0.2125)} 10800000 10800000`,
|
|
6389
|
+
`A ${r(0.108)} ${r(0.162)} 0 5400000`,
|
|
6390
|
+
`A ${r(0.053)} ${r(0.085)} 16200000 -5400000`,
|
|
6391
|
+
`L ${x(0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.08)}`,
|
|
6392
|
+
`A ${r(0.108)} ${r(0.16)} 10800000 5400000`,
|
|
6393
|
+
`A ${r(0.052)} ${r(0.082)} 5400000 -5400000`,
|
|
6394
|
+
`A ${r(0.107)} ${r(0.1065)} 0 -10800000`,
|
|
6395
|
+
`L ${x(-0.214)} ${y(-0.162)} Z`
|
|
6396
|
+
].join(" ");
|
|
6397
|
+
};
|
|
6446
6398
|
var MOVIE = [
|
|
6447
6399
|
[-33.75, -16.5],
|
|
6448
6400
|
[-33.75, -3],
|
|
@@ -6549,8 +6501,8 @@ var buttons = {
|
|
|
6549
6501
|
)
|
|
6550
6502
|
]),
|
|
6551
6503
|
actionButtonHelp: build("actionButtonHelp", (g3) => [
|
|
6552
|
-
darken(g3
|
|
6553
|
-
darken(g3.circle(
|
|
6504
|
+
darken(question(g3)),
|
|
6505
|
+
darken(g3.circle(0, 0.295 * U, 0.08 * U))
|
|
6554
6506
|
]),
|
|
6555
6507
|
actionButtonInformation: build("actionButtonInformation", (g3) => [
|
|
6556
6508
|
darken(g3.circle(0, 0.4, 34)),
|
|
@@ -9873,12 +9825,46 @@ var leftRightUpArrow2 = exactDef(
|
|
|
9873
9825
|
)
|
|
9874
9826
|
]
|
|
9875
9827
|
);
|
|
9828
|
+
var swooshArrow3 = exactDef(
|
|
9829
|
+
"swooshArrow",
|
|
9830
|
+
{ adj1: 25e3, adj2: 16667 },
|
|
9831
|
+
[
|
|
9832
|
+
"a1 pin 1 adj1 75000",
|
|
9833
|
+
"maxAdj2 */ 70000 w ss",
|
|
9834
|
+
"a2 pin 0 adj2 maxAdj2",
|
|
9835
|
+
"ad1 */ h a1 100000",
|
|
9836
|
+
"ad2 */ ss a2 100000",
|
|
9837
|
+
"xB +- r 0 ad2",
|
|
9838
|
+
"yB +- t ssd8 0",
|
|
9839
|
+
"alfa */ cd4 1 14",
|
|
9840
|
+
"dx0 tan ssd8 alfa",
|
|
9841
|
+
"xC +- xB 0 dx0",
|
|
9842
|
+
"dx1 tan ad1 alfa",
|
|
9843
|
+
"yF +- yB ad1 0",
|
|
9844
|
+
"xF +- xB dx1 0",
|
|
9845
|
+
"xE +- xF dx0 0",
|
|
9846
|
+
"yE +- yF ssd8 0",
|
|
9847
|
+
"dy2 +- yE 0 t",
|
|
9848
|
+
"dy22 */ dy2 1 2",
|
|
9849
|
+
"dy3 */ h 1 20",
|
|
9850
|
+
"yD +- dy22 0 dy3",
|
|
9851
|
+
"dy4 */ hd6 1 1",
|
|
9852
|
+
"yP1 +- hd6 dy4 0",
|
|
9853
|
+
"xP1 val wd6",
|
|
9854
|
+
"dy5 */ hd6 1 2",
|
|
9855
|
+
"yP2 +- yF dy5 0",
|
|
9856
|
+
"xP2 val wd4"
|
|
9857
|
+
],
|
|
9858
|
+
"l t r b",
|
|
9859
|
+
[p("M l b Q xP1 yP1 xB yB L xC t L r yD L xE yE L xF yF Q xP2 yP2 l b Z")]
|
|
9860
|
+
);
|
|
9876
9861
|
var EXACT_ARROW_PRESET_DEFINITIONS = {
|
|
9877
9862
|
leftRightArrow: leftRightArrow2,
|
|
9878
9863
|
upDownArrow: upDownArrow2,
|
|
9879
9864
|
quadArrow: quadArrow2,
|
|
9880
9865
|
leftUpArrow: leftUpArrow2,
|
|
9881
|
-
leftRightUpArrow: leftRightUpArrow2
|
|
9866
|
+
leftRightUpArrow: leftRightUpArrow2,
|
|
9867
|
+
swooshArrow: swooshArrow3
|
|
9882
9868
|
};
|
|
9883
9869
|
|
|
9884
9870
|
// geometry/preset-shape-definitions-exact-circular.ts
|
|
@@ -10684,10 +10670,13 @@ var verticalScroll = exactDef(
|
|
|
10684
10670
|
p(
|
|
10685
10671
|
"M ch ch2 A ch2 ch2 10800000 5400000 L x6 t A ch2 ch2 16200000 10800000 L x4 ch L x4 y4 A ch2 ch2 0 5400000 L ch2 b A ch2 ch2 5400000 10800000 L ch y3 Z"
|
|
10686
10672
|
),
|
|
10687
|
-
p(
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10673
|
+
p(
|
|
10674
|
+
"M ch y4 A ch2 ch2 0 5400000 A ch2 ch2 5400000 10800000 A ch4 ch4 16200000 10800000 Z M x3b ch2 A ch2 ch2 0 5400000 A ch4 ch4 5400000 10800000 Z",
|
|
10675
|
+
{
|
|
10676
|
+
fill: "darkenLess",
|
|
10677
|
+
stroke: false
|
|
10678
|
+
}
|
|
10679
|
+
),
|
|
10691
10680
|
p(
|
|
10692
10681
|
"M x3 t A ch2 ch2 16200000 10800000 L x4 ch M ch2 y4 L ch y4 M x3b ch2 L x3 ch2 A ch4 ch4 16200000 -10800000",
|
|
10693
10682
|
{ fill: "none" }
|
|
@@ -10703,10 +10692,13 @@ var horizontalScroll = exactDef(
|
|
|
10703
10692
|
p(
|
|
10704
10693
|
"M ch2 ch A ch2 ch2 16200000 -5400000 L l x6 A ch2 ch2 10800000 -10800000 L ch x4 L y4 x4 A ch2 ch2 5400000 -5400000 L r ch2 A ch2 ch2 0 -10800000 L y3 ch Z"
|
|
10705
10694
|
),
|
|
10706
|
-
p(
|
|
10707
|
-
|
|
10708
|
-
|
|
10709
|
-
|
|
10695
|
+
p(
|
|
10696
|
+
"M y4 ch A ch2 ch2 5400000 -5400000 A ch2 ch2 0 -10800000 A ch4 ch4 10800000 -10800000 Z M ch2 x3b A ch2 ch2 5400000 -5400000 A ch4 ch4 0 -10800000 Z",
|
|
10697
|
+
{
|
|
10698
|
+
fill: "darkenLess",
|
|
10699
|
+
stroke: false
|
|
10700
|
+
}
|
|
10701
|
+
),
|
|
10710
10702
|
p(
|
|
10711
10703
|
"M l x3 A ch2 ch2 10800000 -10800000 L ch x4 M y4 ch2 L y4 ch M ch2 x3b L ch2 x3 A ch4 ch4 10800000 10800000",
|
|
10712
10704
|
{ fill: "none" }
|
|
@@ -51681,4 +51673,4 @@ function applyCommentMentions(node, mentions, extension, replace) {
|
|
|
51681
51673
|
return rebuilt;
|
|
51682
51674
|
}
|
|
51683
51675
|
|
|
51684
|
-
export { ARTISTIC_PRIMARY_ATTRIBUTE, BLIP_FILL_ORDER, CAMERA_PRESETS, COLOR_MAP_ALIAS_KEYS, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FONT_ADVANCE_TABLE, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_MAX_UNCOMPRESSED_BYTES, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, ENTRY_TYPE_ROOT, EncryptedFileError, FONT_ADVANCE_TABLES, GENERATED_DIAGRAM_CACHE_NS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_ZIP_ENTRY_COUNT, NS, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PRESENTATION_CHILD_ORDER, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, TC_PR_BORDERS_ORDER, VML_SHAPE_TAGS, ZipBombError, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtLayoutDefinition, applyTextBodySp3d, applyThemeToData, attr, backgroundRefNode, backgroundStyleColorMap, backgroundStylePreset, backgroundStyleRefIsCurrent, base64Decode, blendColorOntoWhite, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildGuideListExtension, buildInkMlContent, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPresentationGuidMap, buildRelationshipsXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildXml, captureDiagramPictures, captureStyleBaseline, chartColorChoiceValue, chartColorHex, chartGradientsEqual, children2 as children, cloneElement, cloneSlide, cloneXmlObject, collectAllText, collectTransitionText, colorsEqual, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createBuiltinVariables, createLineStyleGate, createOfficeGuid, cropShapeForPresetGeometry, customGeometryPathsToXml, decodeBase64, decodeXmlEntities, decryptPptx, deobfuscateFont, deriveSlideTitles, descendants2 as descendants, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diagramPictureRelationships, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elements, encodeCompressedPng, encodePasswordUtf16LE, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, escapeDiagramXml, estimateMediaDurationMs, evaluateGuides, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, findChartExtByUri, findChildByLocalName, findKey6 as findKey, findThemeEffectScheme, first, firstParagraphRuns, formatAutoNumberMarker, formatSchemeKey, generateFontGuid, generatedDrawingDigest, getSignaturePathsToStrip, guardZip, hasLocalName, hash, hslToRgb, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkElementToStrokes, insertAt2 as insertAt, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isContentPoint, isDarkColorMap, isHeaderFooterPlaceholder, isOle2CompoundFile, isTemplateElementId, isXmlNode, loadThemeVariants, lookupPresetShape, mapCustomShowActions, measureTextWidth, mergeAttributeEffectNode, mergeEffectNode, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mimeTypeForOleFile, newSmartArtGuid, nextRelationshipId, normalizeCustomShowIds, normalizeNamespaceUri, normalizeStShapeType, normalizeStrictXml, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, openPptxZip, openZip, orderedPathCommandEntries, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColorIn, parseDrawingEffects, parseDrawingFill, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseModel3DScene, parseOle2, parseOoxmlPercent, parseP14DirectChild, parseP14FromExtLst, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseShapeId, parseShapeProps, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, picturePercentage, positiveFixedAngleAttribute, pptxActionToElementAction, preservesXmlWhitespace, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, reResolveElementsForColorMapChange, readChartManualLayoutValues, readCommentMentions, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, rebaseCommentMentions, reconcileSmartArtTextParagraphs, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, reorderObjectKeys, reorderObjectKeysByLocalName, replaceFirstText, replaceOleEmbedding, resetSpPrFormattingForStyleMatrix, resolveCoordinate, resolveDiagramLayoutCategory, resolveDrawingColor, resolveLayoutDisplayName, resolveParagraphAlignment, resolvePartPath, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, restorePathListCommandOrder, roundCoordinate, safeResolveZipPath, scaleVectorToIntegers, scrgbLinearToSrgb8, selectAlternateContentBranch, serializeColorChoice, serializeColorChoiceWithRef, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, slideBackgroundStyleRefFromNode, smartArtParagraphsText, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, supportsChartGradientFill, svgToCustomGeometryPaths, syncPictureShapeTypeWithCropShape, themeColorRefFromColorChoice, themeColorRefFromSchemeClr, themeColorRefToSolidFillWithOpacity, themeColorRefToXml, uint32LE, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, withDiagramPictureSources, withThemePlaceholderColor, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeShapeEffects, xmlAttr, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibStore };
|
|
51676
|
+
export { ARTISTIC_PRIMARY_ATTRIBUTE, BLIP_FILL_ORDER, CAMERA_PRESETS, COLOR_MAP_ALIAS_KEYS, DEFAULT_CHART_GRADIENT_ANGLE, DEFAULT_COLOR_MAP, DEFAULT_FONT_ADVANCE_TABLE, DEFAULT_GENERATED_DIAGRAM_SCHEME, DEFAULT_MAX_UNCOMPRESSED_BYTES, DIAGRAM_DATA_XMLNS, DIAGRAM_DRAWING_CONTENT_TYPE, DIAGRAM_DRAWING_REL_TYPE, DIAGRAM_XML_PROLOG, DIGITAL_SIGNATURE_ORIGIN_REL_TYPE, ENTRY_TYPE_ROOT, EncryptedFileError, FONT_ADVANCE_TABLES, GENERATED_DIAGRAM_CACHE_NS, IncorrectPasswordError, LIGHT_DIRECTIONS, LIGHT_RIGS, LN_CHILD_ORDER, MAX_SHAPE_ID, MAX_ZIP_ENTRY_COUNT, NS, P14_DIR_IS_ORIENTATION_TYPE, P14_GUIDE_URI, P14_TRANSITION_TYPES, P15_GUIDE_URI, PRESENTATION_CHILD_ORDER, RC4_ALG_ID, RELATIONSHIP_TYPES, RUN_PROPERTIES_ORDER, SHAPE_STYLE_ORDER, SHAPE_TREE_ELEMENT_TAGS, SMART_ART_DEFINITION_PARTS, SP_PR_ORDER2 as SP_PR_ORDER, STYLE_MATRIX_EFFECT_KEYS, STYLE_MATRIX_FILL_KEYS, STYLE_MATRIX_LINE_KEYS, TC_PR_BORDERS_ORDER, VML_SHAPE_TAGS, ZipBombError, annotateCustomGeometryCommandOrder, annotateSmartArtTextOrder, appendInSchemaOrder, applyActiveXControlsToSlide, applyBubbleChartOptions, applyChartAxisDisplayUnitsToXml, applyChartAxisLabelFormatting, applyChartAxisScaling, applyChartDateAxisUnits, applyChartGradientToSpPr, applyChartLayouts, applyChartManualLayout, applyChartUpDownBars, applyCommentMentions, applyCustomShows, applyDataLabelsRangeToDLbls, applyDiagramRelationshipIds, applyDrawingColorTransforms, applyDrawingLineDash, applyDrawingMediaReference, applyKinsokuToXml, applySections, applySeriesDataPointsToXml, applySeriesMarkerToXml, applySeriesPictureOptionsToXml, applySmartArtLayoutDefinition, applyTextBodySp3d, applyThemeToData, attr, backgroundRefNode, backgroundStyleColorMap, backgroundStylePreset, backgroundStyleRefIsCurrent, base64Decode, blendColorOntoWhite, buildChartGradFillXml, buildChartMarkerXml, buildChartUniqueIdExtLst, buildClrMapOverrideXml, buildDefRPrTextProperties, buildEffectDagTreeFromXml, buildFabricatedDiagramDataXml, buildFabricatedDrawingXml, buildGuideListExtension, buildInkMlContent, buildNodeGuidMap, buildOle2, buildPointFromParagraphs, buildPointFromRuns, buildPointText, buildPresentationGuidMap, buildRelationshipsXml, buildSmartArtColorLists, buildSmartArtColorRoleMap, buildSrgbColorChoice, buildXml, captureDiagramPictures, captureStyleBaseline, chartColorChoiceValue, chartColorHex, chartGradientsEqual, children2 as children, cloneElement, cloneSlide, cloneXmlObject, collectAllText, collectTransitionText, colorsEqual, concatArrays, connectionLabel, containsConvertibleStrictNamespaceAttribute, convertMetafileToDataUrl, convertXmlToStrict, createBuiltinVariables, createLineStyleGate, createOfficeGuid, cropShapeForPresetGeometry, customGeometryPathsToXml, decodeBase64, decodeXmlEntities, decryptPptx, deobfuscateFont, deriveSlideTitles, descendants2 as descendants, detectDigitalSignatures, detectFileFormat, detectFontFormat, detectOleObjectType, detectStrictConformance, diagramPictureRelationships, drawingColorXml, drawingEffectsXml, drawingFillXml, drawingLineXml, effectChild, effectIsPurelyStyleMatrix, elements, encodeCompressedPng, encodePasswordUtf16LE, encodeXmlAttributeValue, encodeXmlTextValue, encryptPptx, ensureArrayValue, ensureXmlChild, ensureXmlChildOrCreate, ensureXmlChildren, escapeDiagramXml, estimateMediaDurationMs, evaluateGuides, extractColorChoiceXml, extractCxSeriesColor, extractGuidFromPartName, extractStyleReferenceColorXml, fetchUrlToBytes, fillElementOf, fillIsPurelyStyleMatrix, findChartExtByUri, findChildByLocalName, findKey6 as findKey, findThemeEffectScheme, first, firstParagraphRuns, formatAutoNumberMarker, formatSchemeKey, generateFontGuid, generatedDrawingDigest, getSignaturePathsToStrip, guardZip, hasLocalName, hash, hslToRgb, inferOleExtensionFromTarget, inheritCustomGeometryCommandOrder, inheritedPlaceholderFieldType, inkElementToStrokes, insertAt2 as insertAt, isAlternateContentChoiceSupported, isAlternateContentChoiceXmlSupported, isContentPoint, isDarkColorMap, isHeaderFooterPlaceholder, isOle2CompoundFile, isTemplateElementId, isXmlNode, loadThemeVariants, lookupPresetShape, mapCustomShowActions, measureTextWidth, mergeAttributeEffectNode, mergeEffectNode, mergeSmartArtConnectionXml, mergeSmartArtPointXml, mimeTypeForOleFile, newSmartArtGuid, nextRelationshipId, normalizeCustomShowIds, normalizeNamespaceUri, normalizeStShapeType, normalizeStrictXml, obfuscateFont, oleBytesToDataUrl, ooxmlArcToSvg, ooxmlGradientAngleToCssDegrees, openPptxZip, openZip, orderedPathCommandEntries, orderedXmlKey, parseActiveXControlsFromSlide, parseAdjustmentValues, parseAlignmentAttr, parseBodyPrBooleanAttrs, parseBubbleChartOptions, parseBulletSizePercent, parseChartAxes, parseChartDataLabelOptions, parseChartDataPointPicture, parseChartDataPointPictureBlipRel, parseChartLayouts, parseChartManualLayout, parseChartUniqueId, parseChartUserShapesDrawing, parseChartWideTextStyle, parseCustomShows, parseCxAxes, parseCxChartSeries, parseCxDataLabels, parseCxRegionMapOptions, parseDataTable, parseDataUrlToBytes, parseDefRPrTextStyle, parseDiagramColors, parseDiagramDataModel, parseDiagramDrawing, parseDiagramLayoutSummary, parseDiagramQuickStyle, parseDiagramRelationshipIds, parseDrawingColorIn, parseDrawingEffects, parseDrawingFill, parseDrawingFraction, parseDrawingHueDegrees, parseDrawingLine, parseDrawingLineDash, parseDrawingMediaReference, parseDrawingRichTextBody, parseDrawingTextBody, parseEmbeddedXlsx, parseEncryptionInfo, parseGuideDefinitions, parseImplicitBlipPictureFill, parseInkMlContent, parseKinsoku, parseLineSpacingExactPt, parseLineSpacingMultiplier, parseModel3DScene, parseOle2, parseOoxmlPercent, parseP14DirectChild, parseP14FromExtLst, parseParagraphExtraAttributes, parseParagraphLevel, parseParagraphMargins, parseParagraphRtl, parseParagraphSpacingPx, parsePresentationDrawingGuides, parsePresentationSmartTags, parseRelationships, parseSeriesDataLabels, parseShapeId, parseShapeProps, parseSlideDrawingGuides, parseSmartArtColorStyleLabels, parseSmartArtConnection, parseSmartArtDefinitionMetadata, parseSmartArtLayoutDefinition, parseSmartArtPresLayoutVars, parseSmartArtQuickStyleLabels, parseSmartArtStyleLabelRefs, parseSmartArtTextParagraphs, parseTabStops, parseVmlElement, parseVmlElements, parseXml, patchDrawingColorIn, patchDrawingLine, picturePercentage, positiveFixedAngleAttribute, pptxActionToElementAction, preservesXmlWhitespace, previewDiagramLayout, prismFamilyFlags, prismFamilyTypeForFlags, prismFamilyTypeOfNode, projectSmartArtNodeText, reResolveElementsForColorMapChange, readChartManualLayoutValues, readCommentMentions, readPathListCommandOrder, readPictureEffect, readScene3DValues, readText3DValues, reapplyAlternateContentToTree, rebaseCommentMentions, reconcileSmartArtTextParagraphs, regenerateClonedUniqueId, regenerateSmartArtDrawingShapes, relAttr, relationshipsPartFor, relayoutSmartArt, remapElementShapeIds, remapShapeIdReferences, reorderObjectKeys, reorderObjectKeysByLocalName, replaceFirstText, replaceOleEmbedding, resetSpPrFormattingForStyleMatrix, resolveCoordinate, resolveDiagramLayoutCategory, resolveDrawingColor, resolveLayoutDisplayName, resolveParagraphAlignment, resolvePartPath, resolveSmartArtEffectIntensity, resolveSmartArtNodeCoherent3DOff, resolveSmartArtNodeStyleRoles, resolveThemeEffectStyle, resolveThemeFillStyle, resolveThemeLineStyle, resolveTxPrDefRPr, restorePathListCommandOrder, roundCoordinate, safeResolveZipPath, scaleVectorToIntegers, scrgbLinearToSrgb8, selectAlternateContentBranch, serializeColorChoice, serializeColorChoiceWithRef, serializeTabStop, setAutoTitleDeleted, setDrawingFillXml, shadowOffsetToDistanceAndDirection, shouldRebuildFromParagraphs, shouldRebuildFromRuns, slideBackgroundStyleRefFromNode, smartArtParagraphsText, stripParentDirSegments, stripXmlOrderMarkers, stripXmlOrderSuffix, supportsChartGradientFill, svgToCustomGeometryPaths, syncPictureShapeTypeWithCropShape, themeColorRefFromColorChoice, themeColorRefFromSchemeClr, themeColorRefToSolidFillWithOpacity, themeColorRefToXml, uint32LE, unwrapAlternateContent, unwrapOleEmbedding, updateSmartArtNodeText, upsertChartAxisChild, withDiagramPictureSources, withThemePlaceholderColor, wrapFormatSchemeXml, writeBodyPrBooleanAttrs, writeChartColorChoice, writeChartShapeProps, writeGeneratedDiagramDrawing, writeShapeEffects, xmlAttr, xmlAttrBool, xmlAttrNumber, xmlChild, xmlChildren, xmlHasChild, xmlPath, xmlText, zlibStore };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-
|
|
1
|
+
import { hasTextProperties, isImageLikeElement, blobUrlToDataUrl, getSubstituteFontFamily, stripXmlOrderSuffix } from './chunk-KCDLTVUI.mjs';
|
|
2
2
|
|
|
3
3
|
// pptx/converter/media-context.ts
|
|
4
4
|
var MIME_TO_EXT = {
|
|
@@ -4,6 +4,11 @@ import { themeColorRefToSolidFillWithOpacity, normalizeHexColor, parseDrawingFra
|
|
|
4
4
|
import { XMLBuilder, XMLParser } from 'fast-xml-parser';
|
|
5
5
|
import { DOMParser, XMLSerializer } from '@xmldom/xmldom';
|
|
6
6
|
|
|
7
|
+
// units/constants.ts
|
|
8
|
+
var EMU_PER_PIXEL = 9525;
|
|
9
|
+
var EMU_PER_POINT = 12700;
|
|
10
|
+
var EMU_PER_INCH = 914400;
|
|
11
|
+
|
|
7
12
|
// pptx/core/types/type-guards.ts
|
|
8
13
|
function isTextElement(element) {
|
|
9
14
|
return element.type === "text";
|
|
@@ -1533,11 +1538,6 @@ function customGeometryPathsToXml(paths, rawData, extras) {
|
|
|
1533
1538
|
return result;
|
|
1534
1539
|
}
|
|
1535
1540
|
|
|
1536
|
-
// units/constants.ts
|
|
1537
|
-
var EMU_PER_PIXEL = 9525;
|
|
1538
|
-
var EMU_PER_POINT = 12700;
|
|
1539
|
-
var EMU_PER_INCH = 914400;
|
|
1540
|
-
|
|
1541
1541
|
// pptx/core/constants-colors.ts
|
|
1542
1542
|
var PRESET_COLOR_MAP = {
|
|
1543
1543
|
aliceblue: "#F0F8FF",
|
|
@@ -3016,84 +3016,22 @@ var triangle = (g3, dir) => g3.poly([
|
|
|
3016
3016
|
[D * dir, 0],
|
|
3017
3017
|
[-D * dir, D]
|
|
3018
3018
|
]);
|
|
3019
|
-
var
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
[
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
[-8.5, -13.5],
|
|
3036
|
-
[-9.3, -17.2],
|
|
3037
|
-
[-7.8, -19.5],
|
|
3038
|
-
[-4, -22.5],
|
|
3039
|
-
[-3.3, -21.7],
|
|
3040
|
-
[-1.8, -21.7],
|
|
3041
|
-
[-1, -23.2],
|
|
3042
|
-
[0.5, -23.2],
|
|
3043
|
-
[1.2, -21.7],
|
|
3044
|
-
[2.7, -21.7],
|
|
3045
|
-
[3.5, -22.5],
|
|
3046
|
-
[8, -18.7],
|
|
3047
|
-
[8.7, -17.2],
|
|
3048
|
-
[8, -16.5],
|
|
3049
|
-
[8, -15],
|
|
3050
|
-
[9.5, -14.2],
|
|
3051
|
-
[9.5, -13.5],
|
|
3052
|
-
[8, -12.7],
|
|
3053
|
-
[8.7, -9.7],
|
|
3054
|
-
[5, -6],
|
|
3055
|
-
[2, -6],
|
|
3056
|
-
[-2.5, -2.2],
|
|
3057
|
-
[-3.3, 0.8],
|
|
3058
|
-
[-5.5, 2.3],
|
|
3059
|
-
[-4.8, 6.8],
|
|
3060
|
-
[-6.3, 7.5],
|
|
3061
|
-
[-6.3, 18],
|
|
3062
|
-
[-4.8, 18],
|
|
3063
|
-
[-4, 17.3],
|
|
3064
|
-
[4.2, 17.3],
|
|
3065
|
-
[4.2, 6.8],
|
|
3066
|
-
[6.5, 5.3],
|
|
3067
|
-
[6.5, 3.8],
|
|
3068
|
-
[8, 3],
|
|
3069
|
-
[8, 1.5],
|
|
3070
|
-
[8.7, 0.8],
|
|
3071
|
-
[13.2, 0],
|
|
3072
|
-
[17, -4.5],
|
|
3073
|
-
[18.5, -4.5],
|
|
3074
|
-
[18.5, -6],
|
|
3075
|
-
[17.7, -6.7],
|
|
3076
|
-
[18.5, -8.2],
|
|
3077
|
-
[18.5, -15],
|
|
3078
|
-
[20, -15.7],
|
|
3079
|
-
[20, -18],
|
|
3080
|
-
[17.7, -19.5],
|
|
3081
|
-
[17.7, -21],
|
|
3082
|
-
[15.5, -24.7],
|
|
3083
|
-
[15.5, -27],
|
|
3084
|
-
[14, -27],
|
|
3085
|
-
[13.2, -27.7],
|
|
3086
|
-
[13.2, -29.2],
|
|
3087
|
-
[9.5, -30],
|
|
3088
|
-
[8.7, -30.7],
|
|
3089
|
-
[8.7, -32.2],
|
|
3090
|
-
[5.7, -31.5],
|
|
3091
|
-
[4.2, -33.7],
|
|
3092
|
-
[2.7, -33.7],
|
|
3093
|
-
[2, -32.2],
|
|
3094
|
-
[-2.5, -32.2],
|
|
3095
|
-
[-3.3, -33.7]
|
|
3096
|
-
];
|
|
3019
|
+
var U = 90;
|
|
3020
|
+
var question = (g3) => {
|
|
3021
|
+
const x = (v) => g3.x(v * U);
|
|
3022
|
+
const y = (v) => g3.y(v * U);
|
|
3023
|
+
const r = (v) => g3.len(v * U);
|
|
3024
|
+
return [
|
|
3025
|
+
`M ${x(-0.214)} ${y(-0.162)} A ${r(0.214)} ${r(0.2125)} 10800000 10800000`,
|
|
3026
|
+
`A ${r(0.108)} ${r(0.162)} 0 5400000`,
|
|
3027
|
+
`A ${r(0.053)} ${r(0.085)} 16200000 -5400000`,
|
|
3028
|
+
`L ${x(0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.187)} L ${x(-0.053)} ${y(0.08)}`,
|
|
3029
|
+
`A ${r(0.108)} ${r(0.16)} 10800000 5400000`,
|
|
3030
|
+
`A ${r(0.052)} ${r(0.082)} 5400000 -5400000`,
|
|
3031
|
+
`A ${r(0.107)} ${r(0.1065)} 0 -10800000`,
|
|
3032
|
+
`L ${x(-0.214)} ${y(-0.162)} Z`
|
|
3033
|
+
].join(" ");
|
|
3034
|
+
};
|
|
3097
3035
|
var MOVIE = [
|
|
3098
3036
|
[-33.75, -16.5],
|
|
3099
3037
|
[-33.75, -3],
|
|
@@ -3200,8 +3138,8 @@ var buttons = {
|
|
|
3200
3138
|
)
|
|
3201
3139
|
]),
|
|
3202
3140
|
actionButtonHelp: build("actionButtonHelp", (g3) => [
|
|
3203
|
-
darken(g3
|
|
3204
|
-
darken(g3.circle(
|
|
3141
|
+
darken(question(g3)),
|
|
3142
|
+
darken(g3.circle(0, 0.295 * U, 0.08 * U))
|
|
3205
3143
|
]),
|
|
3206
3144
|
actionButtonInformation: build("actionButtonInformation", (g3) => [
|
|
3207
3145
|
darken(g3.circle(0, 0.4, 34)),
|
|
@@ -6524,12 +6462,46 @@ var leftRightUpArrow2 = exactDef(
|
|
|
6524
6462
|
)
|
|
6525
6463
|
]
|
|
6526
6464
|
);
|
|
6465
|
+
var swooshArrow3 = exactDef(
|
|
6466
|
+
"swooshArrow",
|
|
6467
|
+
{ adj1: 25e3, adj2: 16667 },
|
|
6468
|
+
[
|
|
6469
|
+
"a1 pin 1 adj1 75000",
|
|
6470
|
+
"maxAdj2 */ 70000 w ss",
|
|
6471
|
+
"a2 pin 0 adj2 maxAdj2",
|
|
6472
|
+
"ad1 */ h a1 100000",
|
|
6473
|
+
"ad2 */ ss a2 100000",
|
|
6474
|
+
"xB +- r 0 ad2",
|
|
6475
|
+
"yB +- t ssd8 0",
|
|
6476
|
+
"alfa */ cd4 1 14",
|
|
6477
|
+
"dx0 tan ssd8 alfa",
|
|
6478
|
+
"xC +- xB 0 dx0",
|
|
6479
|
+
"dx1 tan ad1 alfa",
|
|
6480
|
+
"yF +- yB ad1 0",
|
|
6481
|
+
"xF +- xB dx1 0",
|
|
6482
|
+
"xE +- xF dx0 0",
|
|
6483
|
+
"yE +- yF ssd8 0",
|
|
6484
|
+
"dy2 +- yE 0 t",
|
|
6485
|
+
"dy22 */ dy2 1 2",
|
|
6486
|
+
"dy3 */ h 1 20",
|
|
6487
|
+
"yD +- dy22 0 dy3",
|
|
6488
|
+
"dy4 */ hd6 1 1",
|
|
6489
|
+
"yP1 +- hd6 dy4 0",
|
|
6490
|
+
"xP1 val wd6",
|
|
6491
|
+
"dy5 */ hd6 1 2",
|
|
6492
|
+
"yP2 +- yF dy5 0",
|
|
6493
|
+
"xP2 val wd4"
|
|
6494
|
+
],
|
|
6495
|
+
"l t r b",
|
|
6496
|
+
[p("M l b Q xP1 yP1 xB yB L xC t L r yD L xE yE L xF yF Q xP2 yP2 l b Z")]
|
|
6497
|
+
);
|
|
6527
6498
|
var EXACT_ARROW_PRESET_DEFINITIONS = {
|
|
6528
6499
|
leftRightArrow: leftRightArrow2,
|
|
6529
6500
|
upDownArrow: upDownArrow2,
|
|
6530
6501
|
quadArrow: quadArrow2,
|
|
6531
6502
|
leftUpArrow: leftUpArrow2,
|
|
6532
|
-
leftRightUpArrow: leftRightUpArrow2
|
|
6503
|
+
leftRightUpArrow: leftRightUpArrow2,
|
|
6504
|
+
swooshArrow: swooshArrow3
|
|
6533
6505
|
};
|
|
6534
6506
|
|
|
6535
6507
|
// geometry/preset-shape-definitions-exact-circular.ts
|
|
@@ -7335,10 +7307,13 @@ var verticalScroll = exactDef(
|
|
|
7335
7307
|
p(
|
|
7336
7308
|
"M ch ch2 A ch2 ch2 10800000 5400000 L x6 t A ch2 ch2 16200000 10800000 L x4 ch L x4 y4 A ch2 ch2 0 5400000 L ch2 b A ch2 ch2 5400000 10800000 L ch y3 Z"
|
|
7337
7309
|
),
|
|
7338
|
-
p(
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7310
|
+
p(
|
|
7311
|
+
"M ch y4 A ch2 ch2 0 5400000 A ch2 ch2 5400000 10800000 A ch4 ch4 16200000 10800000 Z M x3b ch2 A ch2 ch2 0 5400000 A ch4 ch4 5400000 10800000 Z",
|
|
7312
|
+
{
|
|
7313
|
+
fill: "darkenLess",
|
|
7314
|
+
stroke: false
|
|
7315
|
+
}
|
|
7316
|
+
),
|
|
7342
7317
|
p(
|
|
7343
7318
|
"M x3 t A ch2 ch2 16200000 10800000 L x4 ch M ch2 y4 L ch y4 M x3b ch2 L x3 ch2 A ch4 ch4 16200000 -10800000",
|
|
7344
7319
|
{ fill: "none" }
|
|
@@ -7354,10 +7329,13 @@ var horizontalScroll = exactDef(
|
|
|
7354
7329
|
p(
|
|
7355
7330
|
"M ch2 ch A ch2 ch2 16200000 -5400000 L l x6 A ch2 ch2 10800000 -10800000 L ch x4 L y4 x4 A ch2 ch2 5400000 -5400000 L r ch2 A ch2 ch2 0 -10800000 L y3 ch Z"
|
|
7356
7331
|
),
|
|
7357
|
-
p(
|
|
7358
|
-
|
|
7359
|
-
|
|
7360
|
-
|
|
7332
|
+
p(
|
|
7333
|
+
"M y4 ch A ch2 ch2 5400000 -5400000 A ch2 ch2 0 -10800000 A ch4 ch4 10800000 -10800000 Z M ch2 x3b A ch2 ch2 5400000 -5400000 A ch4 ch4 0 -10800000 Z",
|
|
7334
|
+
{
|
|
7335
|
+
fill: "darkenLess",
|
|
7336
|
+
stroke: false
|
|
7337
|
+
}
|
|
7338
|
+
),
|
|
7361
7339
|
p(
|
|
7362
7340
|
"M l x3 A ch2 ch2 10800000 -10800000 L ch x4 M y4 ch2 L y4 ch M ch2 x3b L ch2 x3 A ch4 ch4 10800000 10800000",
|
|
7363
7341
|
{ fill: "none" }
|
|
@@ -15320,7 +15298,7 @@ var MISC_ARROW_CONNECTION_SITES = {
|
|
|
15320
15298
|
gd16("dy2", "+- yE 0 t"),
|
|
15321
15299
|
gd16("dy22", "*/ dy2 1 2"),
|
|
15322
15300
|
gd16("dy3", "*/ h 1 20"),
|
|
15323
|
-
gd16("yD", "+-
|
|
15301
|
+
gd16("yD", "+- dy22 0 dy3")
|
|
15324
15302
|
],
|
|
15325
15303
|
sites: [
|
|
15326
15304
|
cxn("cd4", "l", "b"),
|
|
@@ -18432,6 +18410,54 @@ function setDashChoice(lineNode, name, value) {
|
|
|
18432
18410
|
}
|
|
18433
18411
|
}
|
|
18434
18412
|
|
|
18413
|
+
// drawingml/dash-pattern.ts
|
|
18414
|
+
var PRESET_PATTERNS = {
|
|
18415
|
+
dash: [4, 3],
|
|
18416
|
+
dot: [1, 3],
|
|
18417
|
+
lgDash: [8, 3],
|
|
18418
|
+
dashDot: [4, 3, 1, 3],
|
|
18419
|
+
lgDashDot: [8, 3, 1, 3],
|
|
18420
|
+
lgDashDotDot: [8, 3, 1, 3, 1, 3],
|
|
18421
|
+
sysDash: [3, 1],
|
|
18422
|
+
sysDot: [1, 1],
|
|
18423
|
+
sysDashDot: [3, 1, 1, 1],
|
|
18424
|
+
sysDashDotDot: [3, 1, 1, 1, 1, 1]
|
|
18425
|
+
};
|
|
18426
|
+
var CUSTOM_DASH_UNIT = 1e5;
|
|
18427
|
+
var FALLBACK_CUSTOM_PATTERN = [3, 2];
|
|
18428
|
+
function dashPenWidth(strokeWidth) {
|
|
18429
|
+
if (!Number.isFinite(strokeWidth) || strokeWidth <= 1) return 1;
|
|
18430
|
+
return Math.max(1, Math.ceil(strokeWidth - 0.5));
|
|
18431
|
+
}
|
|
18432
|
+
function dashPatternUnits(dashType, customSegments) {
|
|
18433
|
+
if (!dashType || dashType === "solid") return void 0;
|
|
18434
|
+
if (dashType === "custom") {
|
|
18435
|
+
const pattern = (customSegments ?? []).flatMap((seg) => [
|
|
18436
|
+
Math.max(0, seg.dash) / CUSTOM_DASH_UNIT,
|
|
18437
|
+
Math.max(0, seg.space) / CUSTOM_DASH_UNIT
|
|
18438
|
+
]);
|
|
18439
|
+
return pattern.some((n) => n > 0) ? pattern : FALLBACK_CUSTOM_PATTERN;
|
|
18440
|
+
}
|
|
18441
|
+
return PRESET_PATTERNS[dashType];
|
|
18442
|
+
}
|
|
18443
|
+
function capCompensatedDashArray(pattern, strokeWidth, lineCap) {
|
|
18444
|
+
const pen = dashPenWidth(strokeWidth);
|
|
18445
|
+
const round2 = lineCap === "rnd";
|
|
18446
|
+
const out = [];
|
|
18447
|
+
for (let i2 = 0; i2 < pattern.length; i2 += 1) {
|
|
18448
|
+
const len = (pattern[i2] ?? 0) * pen;
|
|
18449
|
+
if (!round2) {
|
|
18450
|
+
out.push(len);
|
|
18451
|
+
} else if (i2 % 2 === 0) {
|
|
18452
|
+
out.push(Math.max(0, len - pen));
|
|
18453
|
+
} else {
|
|
18454
|
+
const dash = (pattern[i2 - 1] ?? 0) * pen;
|
|
18455
|
+
out.push(len + (dash - Math.max(0, dash - pen)));
|
|
18456
|
+
}
|
|
18457
|
+
}
|
|
18458
|
+
return out.map((n) => Number(n.toFixed(4))).join(" ");
|
|
18459
|
+
}
|
|
18460
|
+
|
|
18435
18461
|
// pptx/core/utils/stroke-utils.ts
|
|
18436
18462
|
function normalizeStrokeDashType(value) {
|
|
18437
18463
|
const normalized = String(value || "").trim().toLowerCase();
|
|
@@ -18463,36 +18489,9 @@ function getCssBorderDashStyle(dashType) {
|
|
|
18463
18489
|
}
|
|
18464
18490
|
return "dashed";
|
|
18465
18491
|
}
|
|
18466
|
-
function getSvgStrokeDasharray(dashType, strokeWidth, customDashSegments) {
|
|
18467
|
-
|
|
18468
|
-
|
|
18469
|
-
}
|
|
18470
|
-
const stroke = Math.max(strokeWidth, 1);
|
|
18471
|
-
if (dashType === "custom" && customDashSegments && customDashSegments.length > 0) {
|
|
18472
|
-
return customDashSegments.flatMap((seg) => [seg.dash / 1e3 * stroke, seg.space / 1e3 * stroke]).join(" ");
|
|
18473
|
-
}
|
|
18474
|
-
switch (dashType) {
|
|
18475
|
-
case "dot":
|
|
18476
|
-
case "sysDot":
|
|
18477
|
-
return `${stroke} ${stroke * 2}`;
|
|
18478
|
-
case "dash":
|
|
18479
|
-
case "sysDash":
|
|
18480
|
-
return `${stroke * 4} ${stroke * 2}`;
|
|
18481
|
-
case "lgDash":
|
|
18482
|
-
return `${stroke * 7} ${stroke * 2.5}`;
|
|
18483
|
-
case "dashDot":
|
|
18484
|
-
case "sysDashDot":
|
|
18485
|
-
return `${stroke * 4} ${stroke * 2} ${stroke} ${stroke * 2}`;
|
|
18486
|
-
case "lgDashDot":
|
|
18487
|
-
return `${stroke * 7} ${stroke * 2.5} ${stroke} ${stroke * 2.5}`;
|
|
18488
|
-
case "lgDashDotDot":
|
|
18489
|
-
case "sysDashDotDot":
|
|
18490
|
-
return `${stroke * 7} ${stroke * 2.5} ${stroke} ${stroke * 2} ${stroke} ${stroke * 2}`;
|
|
18491
|
-
case "custom":
|
|
18492
|
-
return `${stroke * 3} ${stroke * 2}`;
|
|
18493
|
-
default:
|
|
18494
|
-
return void 0;
|
|
18495
|
-
}
|
|
18492
|
+
function getSvgStrokeDasharray(dashType, strokeWidth, customDashSegments, lineCap) {
|
|
18493
|
+
const pattern = dashPatternUnits(dashType, customDashSegments);
|
|
18494
|
+
return pattern ? capCompensatedDashArray(pattern, strokeWidth, lineCap) : void 0;
|
|
18496
18495
|
}
|
|
18497
18496
|
|
|
18498
18497
|
// pptx/core/utils/element-xml-builders.ts
|
|
@@ -24589,7 +24588,7 @@ function findTextBearingElementById(elements3, elementId) {
|
|
|
24589
24588
|
}
|
|
24590
24589
|
async function loadNestedDeck(pptxBytes) {
|
|
24591
24590
|
try {
|
|
24592
|
-
const { PptxHandler } = await import('./PptxHandler-
|
|
24591
|
+
const { PptxHandler } = await import('./PptxHandler-3VAVJDFB.mjs');
|
|
24593
24592
|
const handler = new PptxHandler();
|
|
24594
24593
|
const data = await handler.load(pptxBytes.buffer.slice(0));
|
|
24595
24594
|
return { handler, slides: data.slides };
|