ooxml-core 0.14.1 → 0.16.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/dist/automation/index.cjs +3058 -1968
- package/dist/automation/index.mjs +3058 -1968
- package/dist/automation/node.d.ts.map +1 -1
- package/dist/collab/emitter.d.ts.map +1 -1
- package/dist/collab/ordering.d.ts.map +1 -1
- package/dist/crypto/detect.d.ts.map +1 -1
- package/dist/crypto/errors.d.ts +3 -3
- package/dist/crypto/errors.d.ts.map +1 -1
- package/dist/crypto/index.cjs +6 -6
- package/dist/crypto/index.mjs +6 -6
- package/dist/crypto/key-derivation.d.ts.map +1 -1
- package/dist/diagram/drawing.d.ts.map +1 -1
- package/dist/diagram/relationships.d.ts.map +1 -1
- package/dist/digest/sha512.d.ts.map +1 -1
- package/dist/docx/block-parser.d.ts.map +1 -1
- package/dist/docx/diagram.d.ts.map +1 -1
- package/dist/docx/docpr-ids.d.ts.map +1 -1
- package/dist/docx/embedded.cjs +11 -0
- package/dist/docx/embedded.mjs +11 -0
- package/dist/docx/field-runs.d.ts.map +1 -1
- package/dist/docx/generated/wml-simple-types.d.ts +99 -99
- package/dist/docx/generated/wml-simple-types.d.ts.map +1 -1
- package/dist/docx/heading-list-kinds.d.ts.map +1 -1
- package/dist/docx/highlight.d.ts +1 -1
- package/dist/docx/highlight.d.ts.map +1 -1
- package/dist/docx/index.cjs +59 -4
- package/dist/docx/index.mjs +59 -4
- package/dist/docx/layout/index.cjs +1 -0
- package/dist/docx/layout/index.mjs +1 -0
- package/dist/docx/layout/page-cursor.d.ts.map +1 -1
- package/dist/docx/ligatures.d.ts +1 -1
- package/dist/docx/ligatures.d.ts.map +1 -1
- package/dist/docx/load/index.cjs +29 -18
- package/dist/docx/load/index.mjs +29 -18
- package/dist/docx/load/legacy-doc.d.ts.map +1 -1
- package/dist/docx/model-paragraph.d.ts +6 -1
- package/dist/docx/model-paragraph.d.ts.map +1 -1
- package/dist/docx/paragraph-styles.d.ts +3 -1
- package/dist/docx/paragraph-styles.d.ts.map +1 -1
- package/dist/docx/relationship-allocator.d.ts.map +1 -1
- package/dist/docx/revision-commands.d.ts.map +1 -1
- package/dist/docx/simple-types.d.ts.map +1 -1
- package/dist/docx/table-of-contents.d.ts.map +1 -1
- package/dist/docx/table-of-figures.d.ts.map +1 -1
- package/dist/docx/test-support/restart-fixture.d.ts +3 -3
- package/dist/docx/test-support/restart-fixture.d.ts.map +1 -1
- package/dist/docx/toc-switches.d.ts +16 -0
- package/dist/docx/toc-switches.d.ts.map +1 -0
- package/dist/docx/validate-issues.d.ts.map +1 -1
- package/dist/docx/write-revisions.d.ts.map +1 -1
- package/dist/docx/xml.d.ts.map +1 -1
- package/dist/docx/zip-parts.d.ts.map +1 -1
- package/dist/opc/properties/types.d.ts +6 -6
- package/dist/opc/properties/types.d.ts.map +1 -1
- package/dist/opc/relationship-types.d.ts +6 -6
- package/dist/opc/relationship-types.d.ts.map +1 -1
- package/dist/opc/relationships.d.ts.map +1 -1
- package/dist/pptx/automation/index.cjs +138 -138
- package/dist/pptx/automation/index.d.ts +3 -3
- package/dist/pptx/automation/index.mjs +138 -138
- package/dist/pptx/chunks/{index-BWRd8p4y.d.ts → index-BtBj3VG1.d.ts} +3 -3
- package/dist/pptx/chunks/index-BtBj3VG1.d.ts.map +1 -0
- package/dist/pptx/chunks/{index-CT9y69AZ.d.ts → index-D0yGoLyw.d.ts} +136 -136
- package/dist/pptx/chunks/index-D0yGoLyw.d.ts.map +1 -0
- package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts → text-operations-GuisjlbR.d.ts} +2 -2
- package/dist/pptx/chunks/{text-operations-2tKzrY5o.d.ts.map → text-operations-GuisjlbR.d.ts.map} +1 -1
- package/dist/pptx/cli/index.cjs +104 -104
- package/dist/pptx/cli/index.d.ts +1 -1
- package/dist/pptx/cli/index.mjs +104 -104
- package/dist/pptx/converter/index.d.ts +1 -1
- package/dist/pptx/index.cjs +138 -138
- package/dist/pptx/index.d.ts +3 -3
- package/dist/pptx/index.mjs +138 -138
- package/dist/teams/call.d.ts +61 -0
- package/dist/teams/call.d.ts.map +1 -0
- package/dist/teams/chat.d.ts +34 -0
- package/dist/teams/chat.d.ts.map +1 -0
- package/dist/teams/index.cjs +2207 -0
- package/dist/teams/index.d.ts +10 -0
- package/dist/teams/index.d.ts.map +1 -0
- package/dist/teams/index.mjs +2153 -0
- package/dist/teams/model.d.ts +49 -0
- package/dist/teams/model.d.ts.map +1 -0
- package/dist/teams/peer.d.ts +76 -0
- package/dist/teams/peer.d.ts.map +1 -0
- package/dist/teams/server-config.d.ts +27 -0
- package/dist/teams/server-config.d.ts.map +1 -0
- package/dist/teams/signaling.d.ts +81 -0
- package/dist/teams/signaling.d.ts.map +1 -0
- package/dist/teams/store.d.ts +113 -0
- package/dist/teams/store.d.ts.map +1 -0
- package/dist/teams/view.d.ts +77 -0
- package/dist/teams/view.d.ts.map +1 -0
- package/dist/teams/workspace.d.ts +51 -0
- package/dist/teams/workspace.d.ts.map +1 -0
- package/dist/units/units.d.ts.map +1 -1
- package/dist/visio/edit-geometry-admission.d.ts.map +1 -1
- package/dist/visio/edit-recalculate-index.d.ts.map +1 -1
- package/dist/visio/emf-admission-context.d.ts +1 -1
- package/dist/visio/emf-admission-context.d.ts.map +1 -1
- package/dist/visio/foreign-vector-types.d.ts.map +1 -1
- package/dist/visio/formula-master.d.ts +2 -2
- package/dist/visio/formula.d.ts.map +1 -1
- package/dist/visio/index.cjs +2048 -290
- package/dist/visio/index.mjs +2048 -290
- package/dist/visio/media.d.ts.map +1 -1
- package/dist/visio/package-common.d.ts.map +1 -1
- package/dist/visio/package.d.ts.map +1 -1
- package/dist/visio/sheet.d.ts.map +1 -1
- package/dist/visio/theme-color.d.ts.map +1 -1
- package/dist/xlsx/address.d.ts.map +1 -1
- package/dist/xlsx/cell-styles.d.ts.map +1 -1
- package/dist/xlsx/cells.d.ts.map +1 -1
- package/dist/xlsx/edit/calc-mode.d.ts.map +1 -1
- package/dist/xlsx/edit/clipboard-html.d.ts.map +1 -1
- package/dist/xlsx/edit/columns.d.ts.map +1 -1
- package/dist/xlsx/edit/context.d.ts.map +1 -1
- package/dist/xlsx/edit/fill-series.d.ts.map +1 -1
- package/dist/xlsx/edit/history.d.ts.map +1 -1
- package/dist/xlsx/edit/outline.d.ts.map +1 -1
- package/dist/xlsx/edit/range-math.d.ts.map +1 -1
- package/dist/xlsx/edit/session-calc.d.ts.map +1 -1
- package/dist/xlsx/edit/structure.d.ts.map +1 -1
- package/dist/xlsx/formula/area-index.d.ts.map +1 -1
- package/dist/xlsx/formula/ast.d.ts.map +1 -1
- package/dist/xlsx/formula/date-serial.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-core.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-host.d.ts.map +1 -1
- package/dist/xlsx/formula/engine-util.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/complex.d.ts +14 -0
- package/dist/xlsx/formula/functions/complex.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/convert.d.ts +4 -0
- package/dist/xlsx/formula/functions/convert.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/criteria.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/database.d.ts +4 -0
- package/dist/xlsx/formula/functions/database.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/distributions-f.d.ts +6 -0
- package/dist/xlsx/formula/functions/distributions-f.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/distributions.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/engineering.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/hypothesis-tests.d.ts +4 -0
- package/dist/xlsx/formula/functions/hypothesis-tests.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/matrix.d.ts +5 -0
- package/dist/xlsx/formula/functions/matrix.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/registry.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/regression-core.d.ts +34 -0
- package/dist/xlsx/formula/functions/regression-core.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/regression.d.ts +4 -0
- package/dist/xlsx/formula/functions/regression.d.ts.map +1 -0
- package/dist/xlsx/formula/functions/statistical.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/stats-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/text-case.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/types.d.ts.map +1 -1
- package/dist/xlsx/formula/graph-index.d.ts.map +1 -1
- package/dist/xlsx/formula/lexemes.d.ts +1 -1
- package/dist/xlsx/formula/lexemes.d.ts.map +1 -1
- package/dist/xlsx/formula/references.d.ts.map +1 -1
- package/dist/xlsx/formula/spill.d.ts.map +1 -1
- package/dist/xlsx/formula/test-helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/tokenizer.d.ts.map +1 -1
- package/dist/xlsx/formula/values.d.ts +2 -1
- package/dist/xlsx/formula/values.d.ts.map +1 -1
- package/dist/xlsx/index.cjs +2835 -1756
- package/dist/xlsx/index.mjs +2835 -1756
- package/dist/xlsx/layout/axis-metrics.d.ts.map +1 -1
- package/dist/xlsx/layout/chart-svg-util.d.ts.map +1 -1
- package/dist/xlsx/layout/colors.d.ts +1 -1
- package/dist/xlsx/layout/colors.d.ts.map +1 -1
- package/dist/xlsx/layout/tint.d.ts.map +1 -1
- package/dist/xlsx/layout/units.d.ts.map +1 -1
- package/dist/xlsx/load/errors.d.ts.map +1 -1
- package/dist/xlsx/load/index.cjs +2320 -1241
- package/dist/xlsx/load/index.mjs +2320 -1241
- package/dist/xlsx/load/legacy-xls-sheet.d.ts.map +1 -1
- package/dist/xlsx/load/legacy-xls.d.ts.map +1 -1
- package/dist/xlsx/model.d.ts +1 -1
- package/dist/xlsx/model.d.ts.map +1 -1
- package/dist/xlsx/numfmt/decimal.d.ts.map +1 -1
- package/dist/xlsx/read/package.d.ts +22 -22
- package/dist/xlsx/read/package.d.ts.map +1 -1
- package/dist/xlsx/read/password-hash.d.ts.map +1 -1
- package/dist/xlsx/read/sheet-props.d.ts +7 -7
- package/dist/xlsx/read/sheet-props.d.ts.map +1 -1
- package/dist/xlsx/read/theme.d.ts +2 -2
- package/dist/xlsx/read/theme.d.ts.map +1 -1
- package/dist/xlsx/read/worksheet.d.ts +1 -1
- package/dist/xlsx/read/worksheet.d.ts.map +1 -1
- package/dist/xlsx/read/xml-util.d.ts.map +1 -1
- package/dist/xlsx/workbook.d.ts.map +1 -1
- package/dist/xlsx/write/carried-refs.d.ts.map +1 -1
- package/dist/xlsx/write/comments.d.ts.map +1 -1
- package/dist/xlsx/write/doc-props.d.ts.map +1 -1
- package/dist/xlsx/write/drawing.d.ts.map +1 -1
- package/dist/xlsx/write/dynamic-array.d.ts.map +1 -1
- package/dist/xlsx/write/metadata.d.ts.map +1 -1
- package/dist/xlsx/write/package-writer.d.ts.map +1 -1
- package/dist/xlsx/write/shared-strings.d.ts.map +1 -1
- package/dist/xlsx/write/snapshot.d.ts.map +1 -1
- package/dist/xlsx/write/style-xml.d.ts.map +1 -1
- package/dist/xlsx/write/styles.d.ts.map +1 -1
- package/dist/xlsx/write/vml-ids.d.ts.map +1 -1
- package/dist/xlsx/write/xml-out.d.ts.map +1 -1
- package/dist/xml/namespaces.d.ts +31 -31
- package/dist/xml/namespaces.d.ts.map +1 -1
- package/dist/xml/xml.d.ts.map +1 -1
- package/package.json +19 -14
- package/dist/pptx/chunks/index-BWRd8p4y.d.ts.map +0 -1
- package/dist/pptx/chunks/index-CT9y69AZ.d.ts.map +0 -1
package/dist/pptx/index.mjs
CHANGED
|
@@ -20935,10 +20935,10 @@ var init_ole_utils = __esm({
|
|
|
20935
20935
|
}
|
|
20936
20936
|
});
|
|
20937
20937
|
|
|
20938
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
20938
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
|
|
20939
20939
|
var OLE_MAGIC, ENDOFCHAIN, FREESECT, FATSECT, DIFSECT, MAXREGSECT, ENTRY_TYPE_EMPTY, ENTRY_TYPE_STREAM, ENTRY_TYPE_ROOT, DIR_ENTRY_SIZE, Ole2ParseError;
|
|
20940
20940
|
var init_ole2_parser_types = __esm({
|
|
20941
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
20941
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
|
|
20942
20942
|
OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
|
|
20943
20943
|
ENDOFCHAIN = 4294967294;
|
|
20944
20944
|
FREESECT = 4294967295;
|
|
@@ -20958,7 +20958,7 @@ var init_ole2_parser_types = __esm({
|
|
|
20958
20958
|
}
|
|
20959
20959
|
});
|
|
20960
20960
|
|
|
20961
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
20961
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
|
|
20962
20962
|
function parseOle2(buffer) {
|
|
20963
20963
|
const data = new Uint8Array(buffer);
|
|
20964
20964
|
const view = new DataView(buffer);
|
|
@@ -21188,7 +21188,7 @@ function parseOle2(buffer) {
|
|
|
21188
21188
|
return { entries, getStream };
|
|
21189
21189
|
}
|
|
21190
21190
|
var init_ole2_parser_read = __esm({
|
|
21191
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21191
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
|
|
21192
21192
|
init_ole2_parser_types();
|
|
21193
21193
|
}
|
|
21194
21194
|
});
|
|
@@ -21328,7 +21328,7 @@ var init_ole_embedded_extract = __esm({
|
|
|
21328
21328
|
}
|
|
21329
21329
|
});
|
|
21330
21330
|
|
|
21331
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21331
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
|
|
21332
21332
|
function compareDirEntryNames(a, b) {
|
|
21333
21333
|
const ua = a.toUpperCase();
|
|
21334
21334
|
const ub = b.toUpperCase();
|
|
@@ -21395,12 +21395,12 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
|
|
|
21395
21395
|
}
|
|
21396
21396
|
}
|
|
21397
21397
|
var init_ole2_parser_write_helpers = __esm({
|
|
21398
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21398
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
|
|
21399
21399
|
init_ole2_parser_types();
|
|
21400
21400
|
}
|
|
21401
21401
|
});
|
|
21402
21402
|
|
|
21403
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21403
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
|
|
21404
21404
|
function writeHeader(outView, outBytes, params) {
|
|
21405
21405
|
outBytes.set(OLE_MAGIC, 0);
|
|
21406
21406
|
outView.setUint16(24, 62, true);
|
|
@@ -21493,14 +21493,14 @@ function writeStreamSectors(outBytes, streamData, chain2, sectorSize) {
|
|
|
21493
21493
|
}
|
|
21494
21494
|
var HEADER_DIFAT_ENTRIES;
|
|
21495
21495
|
var init_ole2_parser_write_serialize = __esm({
|
|
21496
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21496
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
|
|
21497
21497
|
init_ole2_parser_types();
|
|
21498
21498
|
init_ole2_parser_write_helpers();
|
|
21499
21499
|
HEADER_DIFAT_ENTRIES = 109;
|
|
21500
21500
|
}
|
|
21501
21501
|
});
|
|
21502
21502
|
|
|
21503
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
21503
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
|
|
21504
21504
|
function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
21505
21505
|
const sectorSize = 512;
|
|
21506
21506
|
const miniSectorSize = 64;
|
|
@@ -21681,7 +21681,7 @@ function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
|
21681
21681
|
return output;
|
|
21682
21682
|
}
|
|
21683
21683
|
var init_ole2_parser_write = __esm({
|
|
21684
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
21684
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
|
|
21685
21685
|
init_ole2_parser_types();
|
|
21686
21686
|
init_ole2_parser_write_helpers();
|
|
21687
21687
|
init_ole2_parser_write_serialize();
|
|
@@ -22397,7 +22397,7 @@ var init_ole_sheet_xlsx_editor = __esm({
|
|
|
22397
22397
|
}
|
|
22398
22398
|
});
|
|
22399
22399
|
|
|
22400
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22400
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js
|
|
22401
22401
|
function chain(table, start, limit) {
|
|
22402
22402
|
if (start === END && limit === 0)
|
|
22403
22403
|
return [];
|
|
@@ -22667,7 +22667,7 @@ function replaceCompoundFileStream(input, path, replacement) {
|
|
|
22667
22667
|
}
|
|
22668
22668
|
var END, MAX, NIL, SIZE;
|
|
22669
22669
|
var init_ole2_stream_edit = __esm({
|
|
22670
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22670
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js"() {
|
|
22671
22671
|
END = 4294967294;
|
|
22672
22672
|
MAX = 4294967290;
|
|
22673
22673
|
NIL = 4294967295;
|
|
@@ -22675,7 +22675,7 @@ var init_ole2_stream_edit = __esm({
|
|
|
22675
22675
|
}
|
|
22676
22676
|
});
|
|
22677
22677
|
|
|
22678
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22678
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js
|
|
22679
22679
|
function unwrapXlsBytes(bytes) {
|
|
22680
22680
|
if (!isCfb(bytes)) {
|
|
22681
22681
|
return { workbookBytes: bytes };
|
|
@@ -22742,7 +22742,7 @@ function isCfb(bytes) {
|
|
|
22742
22742
|
}
|
|
22743
22743
|
var WORKBOOK_STREAM_NAMES;
|
|
22744
22744
|
var init_legacy_excel_cfb = __esm({
|
|
22745
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22745
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js"() {
|
|
22746
22746
|
init_ole2_parser_read();
|
|
22747
22747
|
init_ole2_parser_types();
|
|
22748
22748
|
init_ole2_parser_write();
|
|
@@ -22751,7 +22751,7 @@ var init_legacy_excel_cfb = __esm({
|
|
|
22751
22751
|
}
|
|
22752
22752
|
});
|
|
22753
22753
|
|
|
22754
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22754
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js
|
|
22755
22755
|
function encodeRkExact(value) {
|
|
22756
22756
|
if (!Number.isFinite(value))
|
|
22757
22757
|
return void 0;
|
|
@@ -22916,13 +22916,13 @@ function editXlsNumericCell(input, edit) {
|
|
|
22916
22916
|
}
|
|
22917
22917
|
}
|
|
22918
22918
|
var init_legacy_excel_biff8_edit = __esm({
|
|
22919
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
22919
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js"() {
|
|
22920
22920
|
init_legacy_excel_biff8();
|
|
22921
22921
|
init_legacy_excel_cfb();
|
|
22922
22922
|
}
|
|
22923
22923
|
});
|
|
22924
22924
|
|
|
22925
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
22925
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js
|
|
22926
22926
|
function readRecords(bytes, start, end) {
|
|
22927
22927
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
22928
22928
|
const records = [];
|
|
@@ -23093,7 +23093,7 @@ function writeOleXlsNumericCellEdit(inputBytes, edit) {
|
|
|
23093
23093
|
}
|
|
23094
23094
|
var OPCODE_BOF, OPCODE_EOF, OPCODE_FILEPASS, OPCODE_NUMBER, OPCODE_RK, OPCODE_LABELSST, OPCODE_LABEL, OPCODE_SST, OPCODE_EXTSST, OPCODE_ROW, OPCODE_DBCELL, OPCODE_DIMENSIONS, OPCODE_BLANK, OPCODE_BOUNDSHEET, WORKSHEET_DT, DEFAULT_MAX_ROWS2, DEFAULT_MAX_COLS2;
|
|
23095
23095
|
var init_legacy_excel_biff8 = __esm({
|
|
23096
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23096
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js"() {
|
|
23097
23097
|
init_legacy_excel_biff8_edit();
|
|
23098
23098
|
init_legacy_excel_cfb();
|
|
23099
23099
|
OPCODE_BOF = 2057;
|
|
@@ -23123,7 +23123,7 @@ var init_ole_sheet_xls_biff8 = __esm({
|
|
|
23123
23123
|
}
|
|
23124
23124
|
});
|
|
23125
23125
|
|
|
23126
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23126
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js
|
|
23127
23127
|
function biffRecord(opcode, data) {
|
|
23128
23128
|
return [
|
|
23129
23129
|
opcode & 255,
|
|
@@ -23248,12 +23248,12 @@ function buildXlsRowCellRegion(grid) {
|
|
|
23248
23248
|
return Uint8Array.from(bytesOut);
|
|
23249
23249
|
}
|
|
23250
23250
|
var init_legacy_excel_biff8_grid = __esm({
|
|
23251
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23251
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js"() {
|
|
23252
23252
|
init_legacy_excel_biff8();
|
|
23253
23253
|
}
|
|
23254
23254
|
});
|
|
23255
23255
|
|
|
23256
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23256
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js
|
|
23257
23257
|
function resolveSstIndex(sharedStrings, value, bytes) {
|
|
23258
23258
|
const existing = sharedStrings.indexOf(value);
|
|
23259
23259
|
if (existing !== -1)
|
|
@@ -23415,7 +23415,7 @@ function writeOleXlsStringCellEdit(inputBytes, edit) {
|
|
|
23415
23415
|
}
|
|
23416
23416
|
}
|
|
23417
23417
|
var init_legacy_excel_biff8_writer = __esm({
|
|
23418
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23418
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js"() {
|
|
23419
23419
|
init_legacy_excel_biff8();
|
|
23420
23420
|
init_legacy_excel_biff8_grid();
|
|
23421
23421
|
init_legacy_excel_cfb();
|
|
@@ -23521,7 +23521,7 @@ var init_ole_document_docx_editor = __esm({
|
|
|
23521
23521
|
}
|
|
23522
23522
|
});
|
|
23523
23523
|
|
|
23524
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23524
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js
|
|
23525
23525
|
function readDocFib(wordDoc) {
|
|
23526
23526
|
const view = new DataView(wordDoc.buffer, wordDoc.byteOffset, wordDoc.byteLength);
|
|
23527
23527
|
const wIdent = view.getUint16(0, true);
|
|
@@ -23611,7 +23611,7 @@ function patchDocFib(wordDoc, fib, patch) {
|
|
|
23611
23611
|
}
|
|
23612
23612
|
var FC_LCB_INDEX, F_COMPLEX_BIT;
|
|
23613
23613
|
var init_ole_document_doc_fib = __esm({
|
|
23614
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23614
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js"() {
|
|
23615
23615
|
FC_LCB_INDEX = {
|
|
23616
23616
|
plcfbteChpx: 12,
|
|
23617
23617
|
plcfbtePapx: 13,
|
|
@@ -23622,7 +23622,7 @@ var init_ole_document_doc_fib = __esm({
|
|
|
23622
23622
|
}
|
|
23623
23623
|
});
|
|
23624
23624
|
|
|
23625
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23625
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js
|
|
23626
23626
|
function follow(table, start) {
|
|
23627
23627
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
23628
23628
|
for (let id = start; id !== END2; id = table[id]) {
|
|
@@ -23808,7 +23808,7 @@ function resizeCompoundFileStreamV4(input, path, replacement) {
|
|
|
23808
23808
|
}
|
|
23809
23809
|
var END2, FREE, FAT;
|
|
23810
23810
|
var init_ole2_stream_resize_v4 = __esm({
|
|
23811
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23811
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js"() {
|
|
23812
23812
|
init_ole2_stream_edit();
|
|
23813
23813
|
END2 = 4294967294;
|
|
23814
23814
|
FREE = 4294967295;
|
|
@@ -23816,7 +23816,7 @@ var init_ole2_stream_resize_v4 = __esm({
|
|
|
23816
23816
|
}
|
|
23817
23817
|
});
|
|
23818
23818
|
|
|
23819
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23819
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js
|
|
23820
23820
|
function appendCompoundAllocations(input, existingFatIds, payloads, sectorSize = 512) {
|
|
23821
23821
|
const sectorCount = input.length / sectorSize - 1;
|
|
23822
23822
|
const entriesPerFat = sectorSize / 4;
|
|
@@ -23863,11 +23863,11 @@ function followCompoundAllocation(table, start) {
|
|
|
23863
23863
|
return ids;
|
|
23864
23864
|
}
|
|
23865
23865
|
var init_ole2_stream_resize_allocation = __esm({
|
|
23866
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23866
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js"() {
|
|
23867
23867
|
}
|
|
23868
23868
|
});
|
|
23869
23869
|
|
|
23870
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23870
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js
|
|
23871
23871
|
function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement, cutoff) {
|
|
23872
23872
|
const inputView = new DataView(input.buffer, input.byteOffset, input.byteLength);
|
|
23873
23873
|
const miniFatCount = inputView.getUint32(64, true);
|
|
@@ -23936,7 +23936,7 @@ function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement,
|
|
|
23936
23936
|
}
|
|
23937
23937
|
var END3, FREE2, SECTOR, MINI;
|
|
23938
23938
|
var init_ole2_stream_resize_mini = __esm({
|
|
23939
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
23939
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js"() {
|
|
23940
23940
|
init_ole2_stream_resize_allocation();
|
|
23941
23941
|
END3 = 4294967294;
|
|
23942
23942
|
FREE2 = 4294967295;
|
|
@@ -23945,7 +23945,7 @@ var init_ole2_stream_resize_mini = __esm({
|
|
|
23945
23945
|
}
|
|
23946
23946
|
});
|
|
23947
23947
|
|
|
23948
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
23948
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js
|
|
23949
23949
|
function follow2(table, start) {
|
|
23950
23950
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
23951
23951
|
for (let id = start; id !== END4; id = table[id]) {
|
|
@@ -24106,7 +24106,7 @@ function resizeCompoundFileStream(input, path, replacement) {
|
|
|
24106
24106
|
}
|
|
24107
24107
|
var END4, FREE3, FAT2, SECTOR2, FAT_ENTRIES;
|
|
24108
24108
|
var init_ole2_stream_resize = __esm({
|
|
24109
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24109
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js"() {
|
|
24110
24110
|
init_ole2_stream_edit();
|
|
24111
24111
|
init_ole2_stream_resize_v4();
|
|
24112
24112
|
init_ole2_stream_resize_allocation();
|
|
@@ -24119,7 +24119,7 @@ var init_ole2_stream_resize = __esm({
|
|
|
24119
24119
|
}
|
|
24120
24120
|
});
|
|
24121
24121
|
|
|
24122
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24122
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js
|
|
24123
24123
|
function unwrapDocBytes(bytes) {
|
|
24124
24124
|
if (bytes.length < 8 || bytes[0] !== 208 || bytes[1] !== 207 || bytes[2] !== 17 || bytes[3] !== 224 || bytes[4] !== 161 || bytes[5] !== 177 || bytes[6] !== 26 || bytes[7] !== 225) {
|
|
24125
24125
|
return void 0;
|
|
@@ -24169,7 +24169,7 @@ function unwrapDocBytes(bytes) {
|
|
|
24169
24169
|
}
|
|
24170
24170
|
var DocCfbRewriteError;
|
|
24171
24171
|
var init_ole_document_doc_cfb = __esm({
|
|
24172
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24172
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js"() {
|
|
24173
24173
|
init_ole_document_doc_fib();
|
|
24174
24174
|
init_ole2_stream_edit();
|
|
24175
24175
|
init_ole2_stream_resize();
|
|
@@ -24182,7 +24182,7 @@ var init_ole_document_doc_cfb = __esm({
|
|
|
24182
24182
|
}
|
|
24183
24183
|
});
|
|
24184
24184
|
|
|
24185
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24185
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js
|
|
24186
24186
|
function parseBteTable(tableStream, at2) {
|
|
24187
24187
|
const view = new DataView(tableStream.buffer, tableStream.byteOffset, tableStream.byteLength);
|
|
24188
24188
|
if (!Number.isInteger(at2.fc) || !Number.isInteger(at2.lcb) || at2.fc < 0 || at2.lcb < 4 || (at2.lcb - 4) % 8 !== 0 || at2.fc > tableStream.length - at2.lcb)
|
|
@@ -24323,12 +24323,12 @@ function buildSingleRunChpxPage(fcStart, fcEnd, blob) {
|
|
|
24323
24323
|
}
|
|
24324
24324
|
var PAGE_SIZE;
|
|
24325
24325
|
var init_ole_document_doc_fkp = __esm({
|
|
24326
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24326
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js"() {
|
|
24327
24327
|
PAGE_SIZE = 512;
|
|
24328
24328
|
}
|
|
24329
24329
|
});
|
|
24330
24330
|
|
|
24331
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24331
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js
|
|
24332
24332
|
function decodeCp1252Byte(byte) {
|
|
24333
24333
|
if (byte >= 128 && byte <= 159) {
|
|
24334
24334
|
return CP1252_HIGH_BLOCK[byte - 128];
|
|
@@ -24362,7 +24362,7 @@ function encodeCp1252(text2) {
|
|
|
24362
24362
|
}
|
|
24363
24363
|
var CP1252_HIGH_BLOCK, CP1252_HIGH_BLOCK_REVERSE;
|
|
24364
24364
|
var init_ole_document_doc_cp1252 = __esm({
|
|
24365
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24365
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js"() {
|
|
24366
24366
|
CP1252_HIGH_BLOCK = [
|
|
24367
24367
|
8364,
|
|
24368
24368
|
129,
|
|
@@ -24401,7 +24401,7 @@ var init_ole_document_doc_cp1252 = __esm({
|
|
|
24401
24401
|
}
|
|
24402
24402
|
});
|
|
24403
24403
|
|
|
24404
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24404
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js
|
|
24405
24405
|
function parseDocClx(tableStream, clx, maxPieces) {
|
|
24406
24406
|
if (maxPieces !== void 0 && (!Number.isSafeInteger(maxPieces) || maxPieces < 0))
|
|
24407
24407
|
throw new Error("Invalid DOC piece limit");
|
|
@@ -24606,7 +24606,7 @@ function buildClxBytes(pieces, prcBytes = new Uint8Array()) {
|
|
|
24606
24606
|
}
|
|
24607
24607
|
var CLXT_PRC, CLXT_PCDT, DocResourceLimitError;
|
|
24608
24608
|
var init_ole_document_doc_pieces = __esm({
|
|
24609
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24609
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js"() {
|
|
24610
24610
|
init_ole_document_doc_cp1252();
|
|
24611
24611
|
CLXT_PRC = 1;
|
|
24612
24612
|
CLXT_PCDT = 2;
|
|
@@ -24619,7 +24619,7 @@ var init_ole_document_doc_pieces = __esm({
|
|
|
24619
24619
|
}
|
|
24620
24620
|
});
|
|
24621
24621
|
|
|
24622
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24622
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js
|
|
24623
24623
|
function checkFieldRanges(markers, editStart, editEnd, maxDepth2) {
|
|
24624
24624
|
const stack = [];
|
|
24625
24625
|
for (const { cp, ch } of markers) {
|
|
@@ -24698,7 +24698,7 @@ function shiftDocMainFieldCps(table, at2, body, editStart, editEnd, delta2, maxF
|
|
|
24698
24698
|
}
|
|
24699
24699
|
var UnsupportedDocFieldEditError;
|
|
24700
24700
|
var init_ole_document_doc_fields = __esm({
|
|
24701
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24701
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js"() {
|
|
24702
24702
|
init_ole_document_doc_pieces();
|
|
24703
24703
|
UnsupportedDocFieldEditError = class extends Error {
|
|
24704
24704
|
constructor(message) {
|
|
@@ -24709,7 +24709,7 @@ var init_ole_document_doc_fields = __esm({
|
|
|
24709
24709
|
}
|
|
24710
24710
|
});
|
|
24711
24711
|
|
|
24712
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
24712
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js
|
|
24713
24713
|
function processingLimits(limits) {
|
|
24714
24714
|
const resolved = {
|
|
24715
24715
|
maxCharacters: limits?.maxCharacters ?? DEFAULT_OLE_DOC_PROCESSING_LIMITS.maxCharacters,
|
|
@@ -24978,7 +24978,7 @@ function tryWriteOleDocParagraphEdit(docBytes, paragraphIndex, text2, limits) {
|
|
|
24978
24978
|
}
|
|
24979
24979
|
var RISKY_PLCF_INDICES, RISKY_STTB_INDICES, SAFE_EXTENDED_FC_LCB_INDICES, DEFAULT_OLE_DOC_PROCESSING_LIMITS;
|
|
24980
24980
|
var init_ole_document_doc_editor = __esm({
|
|
24981
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
24981
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js"() {
|
|
24982
24982
|
init_ole_document_doc_cfb();
|
|
24983
24983
|
init_ole_document_doc_fib();
|
|
24984
24984
|
init_ole_document_doc_fkp();
|
|
@@ -25082,7 +25082,7 @@ var init_ole_nested_deck_editor = __esm({
|
|
|
25082
25082
|
}
|
|
25083
25083
|
});
|
|
25084
25084
|
|
|
25085
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
25085
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
|
|
25086
25086
|
function crc32(bytes) {
|
|
25087
25087
|
let crc = 4294967295;
|
|
25088
25088
|
for (let i2 = 0; i2 < bytes.length; i2++) {
|
|
@@ -25192,7 +25192,7 @@ function decodePngDimensions(png) {
|
|
|
25192
25192
|
}
|
|
25193
25193
|
var CRC_TABLE, PNG_SIGNATURE;
|
|
25194
25194
|
var init_png_encoder = __esm({
|
|
25195
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
25195
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
|
|
25196
25196
|
CRC_TABLE = (() => {
|
|
25197
25197
|
const table = new Uint32Array(256);
|
|
25198
25198
|
for (let n = 0; n < 256; n++) {
|
|
@@ -45850,7 +45850,7 @@ var init_encryption_detection = __esm({
|
|
|
45850
45850
|
}
|
|
45851
45851
|
});
|
|
45852
45852
|
|
|
45853
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
45853
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
|
|
45854
45854
|
function getSubtle() {
|
|
45855
45855
|
if (typeof globalThis.crypto !== "undefined" && globalThis.crypto.subtle) {
|
|
45856
45856
|
return globalThis.crypto.subtle;
|
|
@@ -45968,7 +45968,7 @@ async function hmac(algorithm, key2, data) {
|
|
|
45968
45968
|
return new Uint8Array(result);
|
|
45969
45969
|
}
|
|
45970
45970
|
var init_ooxml_crypto_primitives = __esm({
|
|
45971
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
45971
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
|
|
45972
45972
|
}
|
|
45973
45973
|
});
|
|
45974
45974
|
|
|
@@ -47511,7 +47511,7 @@ var init_md2 = __esm({
|
|
|
47511
47511
|
}
|
|
47512
47512
|
});
|
|
47513
47513
|
|
|
47514
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
47514
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
|
|
47515
47515
|
function rotl32(x, n) {
|
|
47516
47516
|
return (x << n | x >>> 32 - n) >>> 0;
|
|
47517
47517
|
}
|
|
@@ -47571,11 +47571,11 @@ function mdStyleDigest(message, initialState, transform6) {
|
|
|
47571
47571
|
return out;
|
|
47572
47572
|
}
|
|
47573
47573
|
var init_bit_ops = __esm({
|
|
47574
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
47574
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
|
|
47575
47575
|
}
|
|
47576
47576
|
});
|
|
47577
47577
|
|
|
47578
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
47578
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
|
|
47579
47579
|
function f1(x, y, z) {
|
|
47580
47580
|
return x & y | ~x & z;
|
|
47581
47581
|
}
|
|
@@ -47599,7 +47599,7 @@ function md4(message) {
|
|
|
47599
47599
|
}
|
|
47600
47600
|
var INITIAL_STATE, K22, K3, ROUND1, ROUND2, ROUND3;
|
|
47601
47601
|
var init_md4 = __esm({
|
|
47602
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
47602
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
|
|
47603
47603
|
init_bit_ops();
|
|
47604
47604
|
INITIAL_STATE = [1732584193, 4023233417, 2562383102, 271733878];
|
|
47605
47605
|
K22 = 1518500249;
|
|
@@ -109929,7 +109929,7 @@ var init_metro_blob_collect = __esm({
|
|
|
109929
109929
|
}
|
|
109930
109930
|
});
|
|
109931
109931
|
|
|
109932
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
109932
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
|
|
109933
109933
|
function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0) {
|
|
109934
109934
|
const header = new Uint8Array(8);
|
|
109935
109935
|
const view = new DataView(header.buffer);
|
|
@@ -109944,7 +109944,7 @@ function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0
|
|
|
109944
109944
|
}
|
|
109945
109945
|
var ByteWriter;
|
|
109946
109946
|
var init_byte_writer = __esm({
|
|
109947
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
109947
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
|
|
109948
109948
|
ByteWriter = class {
|
|
109949
109949
|
chunks = [];
|
|
109950
109950
|
length = 0;
|
|
@@ -110027,13 +110027,13 @@ var init_byte_writer = __esm({
|
|
|
110027
110027
|
}
|
|
110028
110028
|
});
|
|
110029
110029
|
|
|
110030
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110030
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
|
|
110031
110031
|
function masterToEmu(mu) {
|
|
110032
110032
|
return Math.round(mu * EMU_PER_MASTER);
|
|
110033
110033
|
}
|
|
110034
110034
|
var RT, OA, TEXT_TYPE, HEADER_TOKEN_PLAIN, HEADER_TOKEN_ENCRYPTED, EMU_PER_MASTER;
|
|
110035
110035
|
var init_legacy_ppt_record_types = __esm({
|
|
110036
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110036
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
|
|
110037
110037
|
RT = {
|
|
110038
110038
|
Document: 1e3,
|
|
110039
110039
|
DocumentAtom: 1001,
|
|
@@ -110162,14 +110162,14 @@ var init_legacy_ppt_record_types = __esm({
|
|
|
110162
110162
|
}
|
|
110163
110163
|
});
|
|
110164
110164
|
|
|
110165
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110165
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
|
|
110166
110166
|
var init_record_types = __esm({
|
|
110167
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110167
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
|
|
110168
110168
|
init_legacy_ppt_record_types();
|
|
110169
110169
|
}
|
|
110170
110170
|
});
|
|
110171
110171
|
|
|
110172
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110172
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
|
|
110173
110173
|
function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
110174
110174
|
const nameBytes = new ByteWriter().ansi(USER_NAME).toBytes();
|
|
110175
110175
|
const data = new ByteWriter().u32(20).u32(encrypted ? HEADER_TOKEN_ENCRYPTED : HEADER_TOKEN_PLAIN).u32(offsetToCurrentEdit).u16(nameBytes.length).u16(1012).u8(3).u8(0).bytes(new Uint8Array(2)).bytes(nameBytes).u32(8).toBytes();
|
|
@@ -110183,7 +110183,7 @@ function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
|
110183
110183
|
}
|
|
110184
110184
|
var USER_NAME, CURRENT_USER_STREAM_SIZE;
|
|
110185
110185
|
var init_current_user_writer = __esm({
|
|
110186
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110186
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
|
|
110187
110187
|
init_record_types();
|
|
110188
110188
|
init_byte_writer();
|
|
110189
110189
|
USER_NAME = "pptx-viewer";
|
|
@@ -110191,7 +110191,7 @@ var init_current_user_writer = __esm({
|
|
|
110191
110191
|
}
|
|
110192
110192
|
});
|
|
110193
110193
|
|
|
110194
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110194
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
|
|
110195
110195
|
function pictureUid(picture) {
|
|
110196
110196
|
return md4(picture.bytes);
|
|
110197
110197
|
}
|
|
@@ -110214,7 +110214,7 @@ function buildFbse(picture, uid, foDelay, size) {
|
|
|
110214
110214
|
}
|
|
110215
110215
|
var MSOBLIP_PICT, BLIP_INFO;
|
|
110216
110216
|
var init_blip_writer = __esm({
|
|
110217
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110217
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
|
|
110218
110218
|
init_md4();
|
|
110219
110219
|
init_png_encoder();
|
|
110220
110220
|
init_record_types();
|
|
@@ -110230,7 +110230,7 @@ var init_blip_writer = __esm({
|
|
|
110230
110230
|
}
|
|
110231
110231
|
});
|
|
110232
110232
|
|
|
110233
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110233
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
|
|
110234
110234
|
function boolPropValue(flag, bit, useBit) {
|
|
110235
110235
|
return useBit | (flag ? bit : 0);
|
|
110236
110236
|
}
|
|
@@ -110266,7 +110266,7 @@ function buildMetroBlobTertiaryFopt(metroBlob) {
|
|
|
110266
110266
|
}
|
|
110267
110267
|
var OPT, FBID_FLAG, METRO_BLOB_OPID;
|
|
110268
110268
|
var init_fopt_writer = __esm({
|
|
110269
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110269
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
|
|
110270
110270
|
init_record_types();
|
|
110271
110271
|
init_byte_writer();
|
|
110272
110272
|
OPT = {
|
|
@@ -110294,7 +110294,7 @@ var init_fopt_writer = __esm({
|
|
|
110294
110294
|
}
|
|
110295
110295
|
});
|
|
110296
110296
|
|
|
110297
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110297
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
|
|
110298
110298
|
function buildDggDefaultProperties() {
|
|
110299
110299
|
return buildFopt([
|
|
110300
110300
|
{ id: 385, value: 134217732 },
|
|
@@ -110352,7 +110352,7 @@ function buildPictureStore(pictures, shapesPerDrawing) {
|
|
|
110352
110352
|
}
|
|
110353
110353
|
var SHAPE_ID_CLUSTER_SIZE;
|
|
110354
110354
|
var init_bstore_writer = __esm({
|
|
110355
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110355
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
|
|
110356
110356
|
init_record_types();
|
|
110357
110357
|
init_blip_writer();
|
|
110358
110358
|
init_byte_writer();
|
|
@@ -110361,7 +110361,7 @@ var init_bstore_writer = __esm({
|
|
|
110361
110361
|
}
|
|
110362
110362
|
});
|
|
110363
110363
|
|
|
110364
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110364
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
|
|
110365
110365
|
function buildFontEntityAtom(name, index) {
|
|
110366
110366
|
const nameBytes = new ByteWriter().utf16(name.slice(0, 31)).u16(0).toBytes();
|
|
110367
110367
|
const padded = new Uint8Array(LF_FACE_NAME_BYTES);
|
|
@@ -110389,14 +110389,14 @@ function buildEnvironment(fonts, otherTextStyle) {
|
|
|
110389
110389
|
}
|
|
110390
110390
|
var LF_FACE_NAME_BYTES;
|
|
110391
110391
|
var init_font_collection_writer = __esm({
|
|
110392
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110392
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
|
|
110393
110393
|
init_record_types();
|
|
110394
110394
|
init_byte_writer();
|
|
110395
110395
|
LF_FACE_NAME_BYTES = 64;
|
|
110396
110396
|
}
|
|
110397
110397
|
});
|
|
110398
110398
|
|
|
110399
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110399
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
|
|
110400
110400
|
function emuToMaster(emu2) {
|
|
110401
110401
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
110402
110402
|
}
|
|
@@ -110452,7 +110452,7 @@ function buildDocumentContainer(input) {
|
|
|
110452
110452
|
}
|
|
110453
110453
|
var MASTER_SLIDE_ID_SENTINEL, RT_CSTRING, RT_BINARY_TAG_DATA_BLOB;
|
|
110454
110454
|
var init_document_writer = __esm({
|
|
110455
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110455
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
|
|
110456
110456
|
init_record_types();
|
|
110457
110457
|
init_byte_writer();
|
|
110458
110458
|
init_font_collection_writer();
|
|
@@ -110462,7 +110462,7 @@ var init_document_writer = __esm({
|
|
|
110462
110462
|
}
|
|
110463
110463
|
});
|
|
110464
110464
|
|
|
110465
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110465
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
|
|
110466
110466
|
function buildCString(text2, recInstance) {
|
|
110467
110467
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
110468
110468
|
}
|
|
@@ -110598,7 +110598,7 @@ function buildTextInteractiveInfoAtom(beginChar, endChar) {
|
|
|
110598
110598
|
}
|
|
110599
110599
|
var II_ACTION, II_JUMP, LT, FLAG_CUSTOM_SHOW_RETURN, HyperlinkCollector;
|
|
110600
110600
|
var init_hyperlink_writer = __esm({
|
|
110601
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110601
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
|
|
110602
110602
|
init_record_types();
|
|
110603
110603
|
init_byte_writer();
|
|
110604
110604
|
II_ACTION = {
|
|
@@ -110661,7 +110661,7 @@ var init_hyperlink_writer = __esm({
|
|
|
110661
110661
|
}
|
|
110662
110662
|
});
|
|
110663
110663
|
|
|
110664
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110664
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
|
|
110665
110665
|
function buildCString2(text2, recInstance) {
|
|
110666
110666
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
110667
110667
|
}
|
|
@@ -110697,7 +110697,7 @@ function buildMediaExObjEntries(media) {
|
|
|
110697
110697
|
}
|
|
110698
110698
|
var MediaCollector, SOUND_EXTENSION_WAV, SOUND_LENGTH_UNKNOWN;
|
|
110699
110699
|
var init_media_writer = __esm({
|
|
110700
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110700
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
|
|
110701
110701
|
init_record_types();
|
|
110702
110702
|
init_byte_writer();
|
|
110703
110703
|
MediaCollector = class {
|
|
@@ -110733,7 +110733,7 @@ var init_media_writer = __esm({
|
|
|
110733
110733
|
}
|
|
110734
110734
|
});
|
|
110735
110735
|
|
|
110736
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110736
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
|
|
110737
110737
|
function hexToBytes(hex3) {
|
|
110738
110738
|
const out = new Uint8Array(hex3.length / 2);
|
|
110739
110739
|
for (let i2 = 0; i2 < out.length; i2++) {
|
|
@@ -110795,7 +110795,7 @@ function buildExObjRefAtom(exObjId) {
|
|
|
110795
110795
|
}
|
|
110796
110796
|
var PACKAGE_ROOT_CLSID, COMP_OBJ_HEX, EX_OLE_EMBEDDED, DV_ASPECT_ICON, EX_OLE_SUB_DEFAULT, PACKAGER_MENU_NAME, OleCollector;
|
|
110797
110797
|
var init_ole_writer = __esm({
|
|
110798
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110798
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
|
|
110799
110799
|
init_ole2_parser_write();
|
|
110800
110800
|
init_record_types();
|
|
110801
110801
|
init_byte_writer();
|
|
@@ -110855,7 +110855,7 @@ var init_ole_writer = __esm({
|
|
|
110855
110855
|
}
|
|
110856
110856
|
});
|
|
110857
110857
|
|
|
110858
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110858
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
|
|
110859
110859
|
function buildExObjList(hyperlinks, ole, media) {
|
|
110860
110860
|
const oleEntries = ole?.all ?? [];
|
|
110861
110861
|
const mediaEntries = media?.all ?? [];
|
|
@@ -110882,7 +110882,7 @@ function buildExObjList(hyperlinks, ole, media) {
|
|
|
110882
110882
|
return record(RT.ExternalObjectList, w.toBytes(), 0, true);
|
|
110883
110883
|
}
|
|
110884
110884
|
var init_ex_obj_list_writer = __esm({
|
|
110885
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110885
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
|
|
110886
110886
|
init_record_types();
|
|
110887
110887
|
init_byte_writer();
|
|
110888
110888
|
init_hyperlink_writer();
|
|
@@ -110891,7 +110891,7 @@ var init_ex_obj_list_writer = __esm({
|
|
|
110891
110891
|
}
|
|
110892
110892
|
});
|
|
110893
110893
|
|
|
110894
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110894
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
|
|
110895
110895
|
function emuToMaster2(emu2) {
|
|
110896
110896
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
110897
110897
|
}
|
|
@@ -110936,7 +110936,7 @@ function buildChildAnchor(rect2) {
|
|
|
110936
110936
|
}
|
|
110937
110937
|
var INT16_MIN, INT16_MAX;
|
|
110938
110938
|
var init_anchor_writer = __esm({
|
|
110939
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110939
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
|
|
110940
110940
|
init_record_types();
|
|
110941
110941
|
init_byte_writer();
|
|
110942
110942
|
INT16_MIN = -32768;
|
|
@@ -110944,7 +110944,7 @@ var init_anchor_writer = __esm({
|
|
|
110944
110944
|
}
|
|
110945
110945
|
});
|
|
110946
110946
|
|
|
110947
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110947
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
|
|
110948
110948
|
function parseHex(rgb2) {
|
|
110949
110949
|
const hex3 = (rgb2 ?? DEFAULT_RGB).replace(/^#/u, "");
|
|
110950
110950
|
if (!/^[0-9a-fA-F]{6}$/u.test(hex3)) {
|
|
@@ -110966,12 +110966,12 @@ function encodeColorIndex(rgb2) {
|
|
|
110966
110966
|
}
|
|
110967
110967
|
var DEFAULT_RGB;
|
|
110968
110968
|
var init_colors = __esm({
|
|
110969
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
110969
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
|
|
110970
110970
|
DEFAULT_RGB = "000000";
|
|
110971
110971
|
}
|
|
110972
110972
|
});
|
|
110973
110973
|
|
|
110974
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
110974
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
|
|
110975
110975
|
function writePfException(w, para) {
|
|
110976
110976
|
let mask = 0;
|
|
110977
110977
|
if (para.hasBullet !== void 0) {
|
|
@@ -111061,7 +111061,7 @@ function writeCfException(w, run, fontIndex) {
|
|
|
111061
111061
|
}
|
|
111062
111062
|
var ALIGN_CODE, EMU_PER_MASTER_UNIT;
|
|
111063
111063
|
var init_text_exception_writer = __esm({
|
|
111064
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111064
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
|
|
111065
111065
|
init_colors();
|
|
111066
111066
|
ALIGN_CODE = {
|
|
111067
111067
|
l: 0,
|
|
@@ -111073,7 +111073,7 @@ var init_text_exception_writer = __esm({
|
|
|
111073
111073
|
}
|
|
111074
111074
|
});
|
|
111075
111075
|
|
|
111076
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111076
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
|
|
111077
111077
|
function joinParagraphText(body) {
|
|
111078
111078
|
return body.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join("\r");
|
|
111079
111079
|
}
|
|
@@ -111134,7 +111134,7 @@ function buildTextAtoms(body, fonts, hyperlinks) {
|
|
|
111134
111134
|
return new ByteWriter().bytes(buildTextHeaderAtom(body.textType)).bytes(buildTextCharsAtom(text2)).bytes(buildStyleTextPropAtom(body, fontIndex)).bytes(buildRunHyperlinks(body, hyperlinks)).toBytes();
|
|
111135
111135
|
}
|
|
111136
111136
|
var init_text_atom_writer = __esm({
|
|
111137
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111137
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
|
|
111138
111138
|
init_record_types();
|
|
111139
111139
|
init_byte_writer();
|
|
111140
111140
|
init_hyperlink_writer();
|
|
@@ -111142,7 +111142,7 @@ var init_text_atom_writer = __esm({
|
|
|
111142
111142
|
}
|
|
111143
111143
|
});
|
|
111144
111144
|
|
|
111145
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111145
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
|
|
111146
111146
|
function utf16z(text2) {
|
|
111147
111147
|
return new ByteWriter().utf16(text2).u16(0).toBytes();
|
|
111148
111148
|
}
|
|
@@ -111239,7 +111239,7 @@ function buildMasterPlaceholders(placeholders, allocator, fieldFontIndex) {
|
|
|
111239
111239
|
}
|
|
111240
111240
|
var FSP_FLAGS, RECTANGLE_SPT, TEXT_TYPE_TITLE, TEXT_TYPE_BODY, TEXT_TYPE_OTHER, SPECS, MASTER_PLACEHOLDER_ORDER, TITLE_PROMPT, BODY_PROMPT, DEFAULT_FRAMES;
|
|
111241
111241
|
var init_master_placeholders_writer = __esm({
|
|
111242
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111242
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
|
|
111243
111243
|
init_record_types();
|
|
111244
111244
|
init_anchor_writer();
|
|
111245
111245
|
init_byte_writer();
|
|
@@ -111306,18 +111306,18 @@ var init_master_placeholders_writer = __esm({
|
|
|
111306
111306
|
}
|
|
111307
111307
|
});
|
|
111308
111308
|
|
|
111309
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111309
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
|
|
111310
111310
|
function masterStyleFonts(styles) {
|
|
111311
111311
|
if (!styles)
|
|
111312
111312
|
return [];
|
|
111313
111313
|
return [styles.title, styles.body, styles.other].flatMap((levels) => levels ?? []).map((level2) => level2.run.fontName).filter((name) => Boolean(name));
|
|
111314
111314
|
}
|
|
111315
111315
|
var init_master_style_fonts = __esm({
|
|
111316
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111316
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
|
|
111317
111317
|
}
|
|
111318
111318
|
});
|
|
111319
111319
|
|
|
111320
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111320
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
|
|
111321
111321
|
function buildMasterStyleAtom(recInstance, levels, fontIndex) {
|
|
111322
111322
|
const w = new ByteWriter().u16(levels.length);
|
|
111323
111323
|
for (const level2 of levels) {
|
|
@@ -111348,7 +111348,7 @@ function buildMasterTextStyles(styles, fontIndex) {
|
|
|
111348
111348
|
}
|
|
111349
111349
|
var EMPTY_LEVELS, FIXED_INSTANCE_DATA;
|
|
111350
111350
|
var init_master_text_styles_writer = __esm({
|
|
111351
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111351
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
|
|
111352
111352
|
init_record_types();
|
|
111353
111353
|
init_byte_writer();
|
|
111354
111354
|
init_text_exception_writer();
|
|
@@ -111364,7 +111364,7 @@ var init_master_text_styles_writer = __esm({
|
|
|
111364
111364
|
}
|
|
111365
111365
|
});
|
|
111366
111366
|
|
|
111367
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111367
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
|
|
111368
111368
|
function fillEntries(fill) {
|
|
111369
111369
|
if (!fill || fill.kind === "none") {
|
|
111370
111370
|
return [{ id: OPT.fNoFillHitTest, value: boolPropValue(false, 16, 1048576) }];
|
|
@@ -111419,7 +111419,7 @@ function buildShapeFoptProps(input) {
|
|
|
111419
111419
|
}
|
|
111420
111420
|
var DASH_CODE;
|
|
111421
111421
|
var init_shape_props_writer = __esm({
|
|
111422
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111422
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
|
|
111423
111423
|
init_colors();
|
|
111424
111424
|
init_fopt_writer();
|
|
111425
111425
|
DASH_CODE = {
|
|
@@ -111434,7 +111434,7 @@ var init_shape_props_writer = __esm({
|
|
|
111434
111434
|
}
|
|
111435
111435
|
});
|
|
111436
111436
|
|
|
111437
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111437
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
|
|
111438
111438
|
function buildShapeAnchor(rect2, inGroup) {
|
|
111439
111439
|
return inGroup ? buildChildAnchor(rect2) : buildClientAnchor(rect2);
|
|
111440
111440
|
}
|
|
@@ -111536,7 +111536,7 @@ function buildMediaShapeContainer(media, allocator, hyperlinks, mediaEmbeds, inG
|
|
|
111536
111536
|
}
|
|
111537
111537
|
var FSP_FLAG_FLIPH, FSP_FLAG_FLIPV, FSP_FLAG_OLE_SHAPE, FSP_FLAG_CHILD, PLACEHOLDER_ID;
|
|
111538
111538
|
var init_shape_writer = __esm({
|
|
111539
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111539
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
|
|
111540
111540
|
init_record_types();
|
|
111541
111541
|
init_anchor_writer();
|
|
111542
111542
|
init_byte_writer();
|
|
@@ -111558,7 +111558,7 @@ var init_shape_writer = __esm({
|
|
|
111558
111558
|
}
|
|
111559
111559
|
});
|
|
111560
111560
|
|
|
111561
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111561
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
|
|
111562
111562
|
function buildFspgr(childRect) {
|
|
111563
111563
|
return record(OA.FSPGR, buildChildAnchorData(childRect), 0, false, 1);
|
|
111564
111564
|
}
|
|
@@ -111599,7 +111599,7 @@ function buildGroupContainer(group, fonts, allocator, hyperlinks, oleEmbeds, med
|
|
|
111599
111599
|
}
|
|
111600
111600
|
var FSP_FLAG_GROUP, FSP_FLAG_PATRIARCH, FSP_FLAG_HAVE_ANCHOR, ZERO_RECT;
|
|
111601
111601
|
var init_group_writer = __esm({
|
|
111602
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111602
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
|
|
111603
111603
|
init_record_types();
|
|
111604
111604
|
init_anchor_writer();
|
|
111605
111605
|
init_byte_writer();
|
|
@@ -111611,10 +111611,10 @@ var init_group_writer = __esm({
|
|
|
111611
111611
|
}
|
|
111612
111612
|
});
|
|
111613
111613
|
|
|
111614
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111614
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
|
|
111615
111615
|
var ShapeIdAllocator2;
|
|
111616
111616
|
var init_shape_id_allocator = __esm({
|
|
111617
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111617
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
|
|
111618
111618
|
ShapeIdAllocator2 = class {
|
|
111619
111619
|
current;
|
|
111620
111620
|
constructor(drawingId, clusterSize) {
|
|
@@ -111640,7 +111640,7 @@ var init_shape_id_allocator = __esm({
|
|
|
111640
111640
|
}
|
|
111641
111641
|
});
|
|
111642
111642
|
|
|
111643
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111643
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
|
|
111644
111644
|
function buildDg(drawingId, shapeCount, lastShapeId) {
|
|
111645
111645
|
const data = new ByteWriter().u32(shapeCount + 1).u32(lastShapeId).toBytes();
|
|
111646
111646
|
return record(OA.Dg, data, drawingId, false, 0);
|
|
@@ -111671,7 +111671,7 @@ function buildDrawing(canvasRect, shapes, backgroundRgb, fonts, drawingId, hyper
|
|
|
111671
111671
|
}
|
|
111672
111672
|
var FSP_FLAG_BACKGROUND, BACKGROUND_RECT_SPT, SHAPE_ID_CLUSTER_SIZE2;
|
|
111673
111673
|
var init_drawing_writer = __esm({
|
|
111674
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111674
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
|
|
111675
111675
|
init_record_types();
|
|
111676
111676
|
init_byte_writer();
|
|
111677
111677
|
init_colors();
|
|
@@ -111684,7 +111684,7 @@ var init_drawing_writer = __esm({
|
|
|
111684
111684
|
}
|
|
111685
111685
|
});
|
|
111686
111686
|
|
|
111687
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111687
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
|
|
111688
111688
|
function buildNotesAtom(slidePersistIdRef) {
|
|
111689
111689
|
const data = new ByteWriter().i32(slidePersistIdRef).u16(0).u16(0).toBytes();
|
|
111690
111690
|
return record(RT.NotesAtom, data, 0, false, 1);
|
|
@@ -111702,14 +111702,14 @@ function buildNotesContainer(paragraphs, notesRect, slidePersistIdRef, fonts, dr
|
|
|
111702
111702
|
return record(RT.Notes, data, 0, true);
|
|
111703
111703
|
}
|
|
111704
111704
|
var init_notes_writer = __esm({
|
|
111705
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111705
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
|
|
111706
111706
|
init_record_types();
|
|
111707
111707
|
init_byte_writer();
|
|
111708
111708
|
init_drawing_writer();
|
|
111709
111709
|
}
|
|
111710
111710
|
});
|
|
111711
111711
|
|
|
111712
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111712
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
|
|
111713
111713
|
function readRecord(view, offset) {
|
|
111714
111714
|
if (!Number.isSafeInteger(offset) || offset < 0 || offset + RECORD_HEADER_SIZE > view.byteLength) {
|
|
111715
111715
|
return void 0;
|
|
@@ -111789,7 +111789,7 @@ function recordBytes(data, rec) {
|
|
|
111789
111789
|
}
|
|
111790
111790
|
var PptParseError, RECORD_HEADER_SIZE;
|
|
111791
111791
|
var init_legacy_ppt_record_stream = __esm({
|
|
111792
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111792
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
|
|
111793
111793
|
PptParseError = class extends Error {
|
|
111794
111794
|
constructor(message) {
|
|
111795
111795
|
super(message);
|
|
@@ -111800,14 +111800,14 @@ var init_legacy_ppt_record_stream = __esm({
|
|
|
111800
111800
|
}
|
|
111801
111801
|
});
|
|
111802
111802
|
|
|
111803
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111803
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
|
|
111804
111804
|
var init_record_stream = __esm({
|
|
111805
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111805
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
|
|
111806
111806
|
init_legacy_ppt_record_stream();
|
|
111807
111807
|
}
|
|
111808
111808
|
});
|
|
111809
111809
|
|
|
111810
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111810
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
|
|
111811
111811
|
function toHex3(r, g2, b) {
|
|
111812
111812
|
return [r, g2, b].map((v) => (v & 255).toString(16).padStart(2, "0").toUpperCase()).join("");
|
|
111813
111813
|
}
|
|
@@ -111858,7 +111858,7 @@ function resolveEscherColor(colorRef, scheme) {
|
|
|
111858
111858
|
}
|
|
111859
111859
|
var SCHEME, DEFAULT_SCHEME;
|
|
111860
111860
|
var init_color_scheme = __esm({
|
|
111861
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111861
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
|
|
111862
111862
|
init_record_stream();
|
|
111863
111863
|
init_record_types();
|
|
111864
111864
|
SCHEME = {
|
|
@@ -111884,7 +111884,7 @@ var init_color_scheme = __esm({
|
|
|
111884
111884
|
}
|
|
111885
111885
|
});
|
|
111886
111886
|
|
|
111887
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111887
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
|
|
111888
111888
|
function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
111889
111889
|
const w = new ByteWriter();
|
|
111890
111890
|
for (const rgb2 of colors?.length === 8 ? colors : DEFAULT_SCHEME) {
|
|
@@ -111893,7 +111893,7 @@ function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
|
111893
111893
|
return record(RT.ColorSchemeAtom, w.toBytes(), recInstance, false, 0);
|
|
111894
111894
|
}
|
|
111895
111895
|
var init_color_scheme_writer = __esm({
|
|
111896
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111896
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
|
|
111897
111897
|
init_color_scheme();
|
|
111898
111898
|
init_record_types();
|
|
111899
111899
|
init_byte_writer();
|
|
@@ -111901,7 +111901,7 @@ var init_color_scheme_writer = __esm({
|
|
|
111901
111901
|
}
|
|
111902
111902
|
});
|
|
111903
111903
|
|
|
111904
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111904
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
|
|
111905
111905
|
function buildSlideAtomRaw(geom, masterIdRef, notesIdRef, flags) {
|
|
111906
111906
|
const data = new ByteWriter().i32(geom).bytes(new Uint8Array(8)).u32(masterIdRef).i32(notesIdRef).u16(flags).u16(0).toBytes();
|
|
111907
111907
|
return record(RT.SlideAtom, data, 0, false, 2);
|
|
@@ -111938,7 +111938,7 @@ function buildMainMasterContainer(slideRect, drawingId, hyperlinks, oleEmbeds, m
|
|
|
111938
111938
|
}
|
|
111939
111939
|
var SLIDE_FLAG_MASTER_OBJECTS, SLIDE_FLAG_MASTER_SCHEME, SLIDE_FLAG_MASTER_BACKGROUND, SLIDE_MASTER_ID_SENTINEL, MASTER_FIRST_COLOR_SCHEME_INSTANCE;
|
|
111940
111940
|
var init_slide_writer = __esm({
|
|
111941
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
111941
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
|
|
111942
111942
|
init_record_types();
|
|
111943
111943
|
init_byte_writer();
|
|
111944
111944
|
init_color_scheme_writer();
|
|
@@ -111953,7 +111953,7 @@ var init_slide_writer = __esm({
|
|
|
111953
111953
|
}
|
|
111954
111954
|
});
|
|
111955
111955
|
|
|
111956
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
111956
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
|
|
111957
111957
|
function masterSlideId(index) {
|
|
111958
111958
|
return MASTER_SLIDE_ID_SENTINEL + index;
|
|
111959
111959
|
}
|
|
@@ -112077,7 +112077,7 @@ function ensureMinimumDocumentStreamSize(contentSizeWithoutPadding, maxPersistId
|
|
|
112077
112077
|
}
|
|
112078
112078
|
var DOC_ID, MASTER_ID;
|
|
112079
112079
|
var init_document_stream_layout = __esm({
|
|
112080
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112080
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
|
|
112081
112081
|
init_bstore_writer();
|
|
112082
112082
|
init_byte_writer();
|
|
112083
112083
|
init_document_writer();
|
|
@@ -112095,15 +112095,15 @@ var init_document_stream_layout = __esm({
|
|
|
112095
112095
|
}
|
|
112096
112096
|
});
|
|
112097
112097
|
|
|
112098
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112098
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
|
|
112099
112099
|
var RC4_ALG_ID2;
|
|
112100
112100
|
var init_crypto_constants = __esm({
|
|
112101
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112101
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
|
|
112102
112102
|
RC4_ALG_ID2 = 26625;
|
|
112103
112103
|
}
|
|
112104
112104
|
});
|
|
112105
112105
|
|
|
112106
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112106
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
|
|
112107
112107
|
function rc4Cipher(key2, data) {
|
|
112108
112108
|
if (key2.length === 0) {
|
|
112109
112109
|
throw new Error("RC4 key must not be empty.");
|
|
@@ -112134,11 +112134,11 @@ function rc4Cipher(key2, data) {
|
|
|
112134
112134
|
return out;
|
|
112135
112135
|
}
|
|
112136
112136
|
var init_rc4_cipher = __esm({
|
|
112137
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112137
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
|
|
112138
112138
|
}
|
|
112139
112139
|
});
|
|
112140
112140
|
|
|
112141
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112141
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
|
|
112142
112142
|
async function rc4CryptoApiKeyBase(password, salt) {
|
|
112143
112143
|
return hash("SHA-1", concatArrays(salt, encodePasswordUtf16LE(password)));
|
|
112144
112144
|
}
|
|
@@ -112179,14 +112179,14 @@ async function rc4CryptoApiEncryptVerifier(key0, verifier) {
|
|
|
112179
112179
|
}
|
|
112180
112180
|
var PADDED_40_BIT_KEY_BYTES;
|
|
112181
112181
|
var init_rc4_cryptoapi_key = __esm({
|
|
112182
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112182
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
|
|
112183
112183
|
init_ooxml_crypto_primitives();
|
|
112184
112184
|
init_rc4_cipher();
|
|
112185
112185
|
PADDED_40_BIT_KEY_BYTES = 16;
|
|
112186
112186
|
}
|
|
112187
112187
|
});
|
|
112188
112188
|
|
|
112189
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112189
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
|
|
112190
112190
|
function readHeader(bytes) {
|
|
112191
112191
|
const view = new DataView(bytes.buffer, bytes.byteOffset, RECORD_HEADER_SIZE);
|
|
112192
112192
|
return {
|
|
@@ -112255,7 +112255,7 @@ async function cipherPicturesStream(stream, keyFor3, mode) {
|
|
|
112255
112255
|
}
|
|
112256
112256
|
var UID_SIZE, METAFILE_HEADER_SIZE, BITMAP_TAG_SIZE, METAFILE_BLIPS, BITMAP_BLIPS;
|
|
112257
112257
|
var init_rc4_cryptoapi_streams = __esm({
|
|
112258
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112258
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
|
|
112259
112259
|
init_rc4_cipher();
|
|
112260
112260
|
init_record_stream();
|
|
112261
112261
|
UID_SIZE = 16;
|
|
@@ -112266,7 +112266,7 @@ var init_rc4_cryptoapi_streams = __esm({
|
|
|
112266
112266
|
}
|
|
112267
112267
|
});
|
|
112268
112268
|
|
|
112269
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112269
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
|
|
112270
112270
|
async function buildCryptSession(password) {
|
|
112271
112271
|
const salt = new Uint8Array(SALT_SIZE);
|
|
112272
112272
|
crypto.getRandomValues(salt);
|
|
@@ -112294,7 +112294,7 @@ async function encryptPicturesStream(stream, ctx) {
|
|
|
112294
112294
|
}
|
|
112295
112295
|
var CSP_NAME, KEY_SIZE_BITS, SALT_SIZE, VERIFIER_SIZE, VERIFIER_HASH_SIZE, ENCRYPTION_FLAGS;
|
|
112296
112296
|
var init_encrypt_writer = __esm({
|
|
112297
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112297
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
|
|
112298
112298
|
init_crypto_constants();
|
|
112299
112299
|
init_rc4_cryptoapi_key();
|
|
112300
112300
|
init_rc4_cryptoapi_streams();
|
|
@@ -112309,7 +112309,7 @@ var init_encrypt_writer = __esm({
|
|
|
112309
112309
|
}
|
|
112310
112310
|
});
|
|
112311
112311
|
|
|
112312
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112312
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
|
|
112313
112313
|
function levelsFor(styles, textType) {
|
|
112314
112314
|
switch (textType) {
|
|
112315
112315
|
case 0:
|
|
@@ -112375,12 +112375,12 @@ function withMasterRelativeRunStyles(deck) {
|
|
|
112375
112375
|
}
|
|
112376
112376
|
var STYLE_KEYS;
|
|
112377
112377
|
var init_master_relative_runs = __esm({
|
|
112378
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112378
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
|
|
112379
112379
|
STYLE_KEYS = ["bold", "italic", "underline"];
|
|
112380
112380
|
}
|
|
112381
112381
|
});
|
|
112382
112382
|
|
|
112383
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112383
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
|
|
112384
112384
|
function buildPersistDirectoryAtom(entries) {
|
|
112385
112385
|
const sorted = [...entries].sort((a, b) => a[0] - b[0]);
|
|
112386
112386
|
const w = new ByteWriter();
|
|
@@ -112410,17 +112410,17 @@ function buildEncryptedUserEditAtom(input) {
|
|
|
112410
112410
|
}
|
|
112411
112411
|
var MAX_RUN;
|
|
112412
112412
|
var init_persist_writer = __esm({
|
|
112413
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112413
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
|
|
112414
112414
|
init_record_types();
|
|
112415
112415
|
init_byte_writer();
|
|
112416
112416
|
MAX_RUN = 4095;
|
|
112417
112417
|
}
|
|
112418
112418
|
});
|
|
112419
112419
|
|
|
112420
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112420
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
|
|
112421
112421
|
var PPT_STORAGE_CLSID;
|
|
112422
112422
|
var init_ppt_clsid = __esm({
|
|
112423
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112423
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
|
|
112424
112424
|
PPT_STORAGE_CLSID = new Uint8Array([
|
|
112425
112425
|
16,
|
|
112426
112426
|
141,
|
|
@@ -112442,7 +112442,7 @@ var init_ppt_clsid = __esm({
|
|
|
112442
112442
|
}
|
|
112443
112443
|
});
|
|
112444
112444
|
|
|
112445
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112445
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
|
|
112446
112446
|
async function finishUnencrypted(layout, lastSlideId) {
|
|
112447
112447
|
const w = new ByteWriter().append(layout.bytes);
|
|
112448
112448
|
const dirAtom = buildPersistDirectoryAtom(layout.offsets);
|
|
@@ -112496,7 +112496,7 @@ async function buildPptFile(deck, options = {}) {
|
|
|
112496
112496
|
return new Uint8Array(buildOle2(streams2, PPT_STORAGE_CLSID, 0));
|
|
112497
112497
|
}
|
|
112498
112498
|
var init_write_ppt = __esm({
|
|
112499
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112499
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
|
|
112500
112500
|
init_ole2_parser_write();
|
|
112501
112501
|
init_byte_writer();
|
|
112502
112502
|
init_current_user_writer();
|
|
@@ -112508,9 +112508,9 @@ var init_write_ppt = __esm({
|
|
|
112508
112508
|
}
|
|
112509
112509
|
});
|
|
112510
112510
|
|
|
112511
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
112511
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
|
|
112512
112512
|
var init_legacy_ppt_writer = __esm({
|
|
112513
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
112513
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
|
|
112514
112514
|
init_write_ppt();
|
|
112515
112515
|
init_master_style_fonts();
|
|
112516
112516
|
}
|
|
@@ -152393,7 +152393,7 @@ var init_deflate_utils = __esm({
|
|
|
152393
152393
|
}
|
|
152394
152394
|
});
|
|
152395
152395
|
|
|
152396
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
152396
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
|
|
152397
152397
|
function checkedLimit(value) {
|
|
152398
152398
|
if (!Number.isSafeInteger(value) || value < 1)
|
|
152399
152399
|
throw new PptParseError("Invalid persist directory resource limit");
|
|
@@ -152519,7 +152519,7 @@ function readPersistRecord(view, directory, persistId) {
|
|
|
152519
152519
|
}
|
|
152520
152520
|
var DEFAULT_MAX_EDITS, DEFAULT_MAX_ENTRIES;
|
|
152521
152521
|
var init_persist_directory = __esm({
|
|
152522
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
152522
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
|
|
152523
152523
|
init_record_stream();
|
|
152524
152524
|
init_record_types();
|
|
152525
152525
|
DEFAULT_MAX_EDITS = 1e4;
|