ooxml-core 0.14.0 → 0.15.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/node.d.ts.map +1 -1
- package/dist/collab/broadcast-transport.d.ts.map +1 -1
- package/dist/collab/emitter.d.ts.map +1 -1
- package/dist/collab/index.cjs +3 -2
- package/dist/collab/index.mjs +3 -2
- 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/diagram.d.ts.map +1 -1
- package/dist/docx/docpr-ids.d.ts.map +1 -1
- 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/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 +18 -18
- package/dist/docx/load/index.mjs +18 -18
- package/dist/docx/load/legacy-doc.d.ts.map +1 -1
- package/dist/docx/paragraph-styles.d.ts +1 -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/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/criteria.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/dist-core.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/helpers.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/math-combin.d.ts.map +1 -1
- package/dist/xlsx/formula/functions/registry.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/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 +24 -24
- package/dist/xlsx/load/index.mjs +24 -24
- 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
|
@@ -15371,10 +15371,10 @@ var init_ole_utils = __esm({
|
|
|
15371
15371
|
}
|
|
15372
15372
|
});
|
|
15373
15373
|
|
|
15374
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15374
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js
|
|
15375
15375
|
var OLE_MAGIC, ENDOFCHAIN, FREESECT, FATSECT, DIFSECT, MAXREGSECT, ENTRY_TYPE_EMPTY, ENTRY_TYPE_STREAM, ENTRY_TYPE_ROOT, DIR_ENTRY_SIZE, Ole2ParseError;
|
|
15376
15376
|
var init_ole2_parser_types = __esm({
|
|
15377
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15377
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-types.js"() {
|
|
15378
15378
|
OLE_MAGIC = new Uint8Array([208, 207, 17, 224, 161, 177, 26, 225]);
|
|
15379
15379
|
ENDOFCHAIN = 4294967294;
|
|
15380
15380
|
FREESECT = 4294967295;
|
|
@@ -15394,7 +15394,7 @@ var init_ole2_parser_types = __esm({
|
|
|
15394
15394
|
}
|
|
15395
15395
|
});
|
|
15396
15396
|
|
|
15397
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15397
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js
|
|
15398
15398
|
function parseOle2(buffer) {
|
|
15399
15399
|
const data = new Uint8Array(buffer);
|
|
15400
15400
|
const view = new DataView(buffer);
|
|
@@ -15624,7 +15624,7 @@ function parseOle2(buffer) {
|
|
|
15624
15624
|
return { entries, getStream };
|
|
15625
15625
|
}
|
|
15626
15626
|
var init_ole2_parser_read = __esm({
|
|
15627
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15627
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-read.js"() {
|
|
15628
15628
|
init_ole2_parser_types();
|
|
15629
15629
|
}
|
|
15630
15630
|
});
|
|
@@ -15764,7 +15764,7 @@ var init_ole_embedded_extract = __esm({
|
|
|
15764
15764
|
}
|
|
15765
15765
|
});
|
|
15766
15766
|
|
|
15767
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15767
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js
|
|
15768
15768
|
function compareDirEntryNames(a, b) {
|
|
15769
15769
|
const ua = a.toUpperCase();
|
|
15770
15770
|
const ub = b.toUpperCase();
|
|
@@ -15831,12 +15831,12 @@ function writeInt32Sectors(outBytes, int32Data, firstSector, numSectors, sectorS
|
|
|
15831
15831
|
}
|
|
15832
15832
|
}
|
|
15833
15833
|
var init_ole2_parser_write_helpers = __esm({
|
|
15834
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15834
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-helpers.js"() {
|
|
15835
15835
|
init_ole2_parser_types();
|
|
15836
15836
|
}
|
|
15837
15837
|
});
|
|
15838
15838
|
|
|
15839
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15839
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js
|
|
15840
15840
|
function writeHeader(outView, outBytes, params) {
|
|
15841
15841
|
outBytes.set(OLE_MAGIC, 0);
|
|
15842
15842
|
outView.setUint16(24, 62, true);
|
|
@@ -15929,14 +15929,14 @@ function writeStreamSectors(outBytes, streamData, chain2, sectorSize) {
|
|
|
15929
15929
|
}
|
|
15930
15930
|
var HEADER_DIFAT_ENTRIES;
|
|
15931
15931
|
var init_ole2_parser_write_serialize = __esm({
|
|
15932
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
15932
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write-serialize.js"() {
|
|
15933
15933
|
init_ole2_parser_types();
|
|
15934
15934
|
init_ole2_parser_write_helpers();
|
|
15935
15935
|
HEADER_DIFAT_ENTRIES = 109;
|
|
15936
15936
|
}
|
|
15937
15937
|
});
|
|
15938
15938
|
|
|
15939
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
15939
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js
|
|
15940
15940
|
function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
15941
15941
|
const sectorSize = 512;
|
|
15942
15942
|
const miniSectorSize = 64;
|
|
@@ -16117,7 +16117,7 @@ function buildOle2(streams2, rootClsid, miniStreamCutoff = 4096) {
|
|
|
16117
16117
|
return output;
|
|
16118
16118
|
}
|
|
16119
16119
|
var init_ole2_parser_write = __esm({
|
|
16120
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
16120
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-parser-write.js"() {
|
|
16121
16121
|
init_ole2_parser_types();
|
|
16122
16122
|
init_ole2_parser_write_helpers();
|
|
16123
16123
|
init_ole2_parser_write_serialize();
|
|
@@ -16819,7 +16819,7 @@ var init_ole_sheet_xlsx_editor = __esm({
|
|
|
16819
16819
|
}
|
|
16820
16820
|
});
|
|
16821
16821
|
|
|
16822
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
16822
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js
|
|
16823
16823
|
function chain(table, start, limit) {
|
|
16824
16824
|
if (start === END && limit === 0)
|
|
16825
16825
|
return [];
|
|
@@ -17089,7 +17089,7 @@ function replaceCompoundFileStream(input, path, replacement) {
|
|
|
17089
17089
|
}
|
|
17090
17090
|
var END, MAX, NIL, SIZE;
|
|
17091
17091
|
var init_ole2_stream_edit = __esm({
|
|
17092
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17092
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-edit.js"() {
|
|
17093
17093
|
END = 4294967294;
|
|
17094
17094
|
MAX = 4294967290;
|
|
17095
17095
|
NIL = 4294967295;
|
|
@@ -17097,7 +17097,7 @@ var init_ole2_stream_edit = __esm({
|
|
|
17097
17097
|
}
|
|
17098
17098
|
});
|
|
17099
17099
|
|
|
17100
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17100
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js
|
|
17101
17101
|
function unwrapXlsBytes(bytes) {
|
|
17102
17102
|
if (!isCfb(bytes)) {
|
|
17103
17103
|
return { workbookBytes: bytes };
|
|
@@ -17164,7 +17164,7 @@ function isCfb(bytes) {
|
|
|
17164
17164
|
}
|
|
17165
17165
|
var WORKBOOK_STREAM_NAMES;
|
|
17166
17166
|
var init_legacy_excel_cfb = __esm({
|
|
17167
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17167
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-cfb.js"() {
|
|
17168
17168
|
init_ole2_parser_read();
|
|
17169
17169
|
init_ole2_parser_types();
|
|
17170
17170
|
init_ole2_parser_write();
|
|
@@ -17173,7 +17173,7 @@ var init_legacy_excel_cfb = __esm({
|
|
|
17173
17173
|
}
|
|
17174
17174
|
});
|
|
17175
17175
|
|
|
17176
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17176
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js
|
|
17177
17177
|
function encodeRkExact(value) {
|
|
17178
17178
|
if (!Number.isFinite(value))
|
|
17179
17179
|
return void 0;
|
|
@@ -17338,13 +17338,13 @@ function editXlsNumericCell(input, edit) {
|
|
|
17338
17338
|
}
|
|
17339
17339
|
}
|
|
17340
17340
|
var init_legacy_excel_biff8_edit = __esm({
|
|
17341
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17341
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-edit.js"() {
|
|
17342
17342
|
init_legacy_excel_biff8();
|
|
17343
17343
|
init_legacy_excel_cfb();
|
|
17344
17344
|
}
|
|
17345
17345
|
});
|
|
17346
17346
|
|
|
17347
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17347
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js
|
|
17348
17348
|
function readRecords(bytes, start, end) {
|
|
17349
17349
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
17350
17350
|
const records = [];
|
|
@@ -17515,7 +17515,7 @@ function writeOleXlsNumericCellEdit(inputBytes, edit) {
|
|
|
17515
17515
|
}
|
|
17516
17516
|
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;
|
|
17517
17517
|
var init_legacy_excel_biff8 = __esm({
|
|
17518
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17518
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8.js"() {
|
|
17519
17519
|
init_legacy_excel_biff8_edit();
|
|
17520
17520
|
init_legacy_excel_cfb();
|
|
17521
17521
|
OPCODE_BOF = 2057;
|
|
@@ -17545,7 +17545,7 @@ var init_ole_sheet_xls_biff8 = __esm({
|
|
|
17545
17545
|
}
|
|
17546
17546
|
});
|
|
17547
17547
|
|
|
17548
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17548
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js
|
|
17549
17549
|
function biffRecord(opcode, data) {
|
|
17550
17550
|
return [
|
|
17551
17551
|
opcode & 255,
|
|
@@ -17670,12 +17670,12 @@ function buildXlsRowCellRegion(grid) {
|
|
|
17670
17670
|
return Uint8Array.from(bytesOut);
|
|
17671
17671
|
}
|
|
17672
17672
|
var init_legacy_excel_biff8_grid = __esm({
|
|
17673
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17673
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-grid.js"() {
|
|
17674
17674
|
init_legacy_excel_biff8();
|
|
17675
17675
|
}
|
|
17676
17676
|
});
|
|
17677
17677
|
|
|
17678
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17678
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js
|
|
17679
17679
|
function resolveSstIndex(sharedStrings, value, bytes) {
|
|
17680
17680
|
const existing = sharedStrings.indexOf(value);
|
|
17681
17681
|
if (existing !== -1)
|
|
@@ -17837,7 +17837,7 @@ function writeOleXlsStringCellEdit(inputBytes, edit) {
|
|
|
17837
17837
|
}
|
|
17838
17838
|
}
|
|
17839
17839
|
var init_legacy_excel_biff8_writer = __esm({
|
|
17840
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
17840
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-excel-biff8-writer.js"() {
|
|
17841
17841
|
init_legacy_excel_biff8();
|
|
17842
17842
|
init_legacy_excel_biff8_grid();
|
|
17843
17843
|
init_legacy_excel_cfb();
|
|
@@ -17943,7 +17943,7 @@ var init_ole_document_docx_editor = __esm({
|
|
|
17943
17943
|
}
|
|
17944
17944
|
});
|
|
17945
17945
|
|
|
17946
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
17946
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js
|
|
17947
17947
|
function readDocFib(wordDoc) {
|
|
17948
17948
|
const view = new DataView(wordDoc.buffer, wordDoc.byteOffset, wordDoc.byteLength);
|
|
17949
17949
|
const wIdent = view.getUint16(0, true);
|
|
@@ -18033,7 +18033,7 @@ function patchDocFib(wordDoc, fib, patch) {
|
|
|
18033
18033
|
}
|
|
18034
18034
|
var FC_LCB_INDEX, F_COMPLEX_BIT;
|
|
18035
18035
|
var init_ole_document_doc_fib = __esm({
|
|
18036
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18036
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fib.js"() {
|
|
18037
18037
|
FC_LCB_INDEX = {
|
|
18038
18038
|
plcfbteChpx: 12,
|
|
18039
18039
|
plcfbtePapx: 13,
|
|
@@ -18044,7 +18044,7 @@ var init_ole_document_doc_fib = __esm({
|
|
|
18044
18044
|
}
|
|
18045
18045
|
});
|
|
18046
18046
|
|
|
18047
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18047
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js
|
|
18048
18048
|
function follow(table, start) {
|
|
18049
18049
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
18050
18050
|
for (let id = start; id !== END2; id = table[id]) {
|
|
@@ -18230,7 +18230,7 @@ function resizeCompoundFileStreamV4(input, path, replacement) {
|
|
|
18230
18230
|
}
|
|
18231
18231
|
var END2, FREE, FAT;
|
|
18232
18232
|
var init_ole2_stream_resize_v4 = __esm({
|
|
18233
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18233
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-v4.js"() {
|
|
18234
18234
|
init_ole2_stream_edit();
|
|
18235
18235
|
END2 = 4294967294;
|
|
18236
18236
|
FREE = 4294967295;
|
|
@@ -18238,7 +18238,7 @@ var init_ole2_stream_resize_v4 = __esm({
|
|
|
18238
18238
|
}
|
|
18239
18239
|
});
|
|
18240
18240
|
|
|
18241
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18241
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js
|
|
18242
18242
|
function appendCompoundAllocations(input, existingFatIds, payloads, sectorSize = 512) {
|
|
18243
18243
|
const sectorCount = input.length / sectorSize - 1;
|
|
18244
18244
|
const entriesPerFat = sectorSize / 4;
|
|
@@ -18285,11 +18285,11 @@ function followCompoundAllocation(table, start) {
|
|
|
18285
18285
|
return ids;
|
|
18286
18286
|
}
|
|
18287
18287
|
var init_ole2_stream_resize_allocation = __esm({
|
|
18288
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18288
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-allocation.js"() {
|
|
18289
18289
|
}
|
|
18290
18290
|
});
|
|
18291
18291
|
|
|
18292
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18292
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js
|
|
18293
18293
|
function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement, cutoff) {
|
|
18294
18294
|
const inputView = new DataView(input.buffer, input.byteOffset, input.byteLength);
|
|
18295
18295
|
const miniFatCount = inputView.getUint32(64, true);
|
|
@@ -18358,7 +18358,7 @@ function resizeMiniCompoundStream(input, fat, fatIds, root, target, replacement,
|
|
|
18358
18358
|
}
|
|
18359
18359
|
var END3, FREE2, SECTOR, MINI;
|
|
18360
18360
|
var init_ole2_stream_resize_mini = __esm({
|
|
18361
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18361
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize-mini.js"() {
|
|
18362
18362
|
init_ole2_stream_resize_allocation();
|
|
18363
18363
|
END3 = 4294967294;
|
|
18364
18364
|
FREE2 = 4294967295;
|
|
@@ -18367,7 +18367,7 @@ var init_ole2_stream_resize_mini = __esm({
|
|
|
18367
18367
|
}
|
|
18368
18368
|
});
|
|
18369
18369
|
|
|
18370
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18370
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js
|
|
18371
18371
|
function follow2(table, start) {
|
|
18372
18372
|
const ids = [], seen = /* @__PURE__ */ new Set();
|
|
18373
18373
|
for (let id = start; id !== END4; id = table[id]) {
|
|
@@ -18528,7 +18528,7 @@ function resizeCompoundFileStream(input, path, replacement) {
|
|
|
18528
18528
|
}
|
|
18529
18529
|
var END4, FREE3, FAT2, SECTOR2, FAT_ENTRIES;
|
|
18530
18530
|
var init_ole2_stream_resize = __esm({
|
|
18531
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18531
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole2-stream-resize.js"() {
|
|
18532
18532
|
init_ole2_stream_edit();
|
|
18533
18533
|
init_ole2_stream_resize_v4();
|
|
18534
18534
|
init_ole2_stream_resize_allocation();
|
|
@@ -18541,7 +18541,7 @@ var init_ole2_stream_resize = __esm({
|
|
|
18541
18541
|
}
|
|
18542
18542
|
});
|
|
18543
18543
|
|
|
18544
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18544
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js
|
|
18545
18545
|
function unwrapDocBytes(bytes) {
|
|
18546
18546
|
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) {
|
|
18547
18547
|
return void 0;
|
|
@@ -18591,7 +18591,7 @@ function unwrapDocBytes(bytes) {
|
|
|
18591
18591
|
}
|
|
18592
18592
|
var DocCfbRewriteError;
|
|
18593
18593
|
var init_ole_document_doc_cfb = __esm({
|
|
18594
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18594
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cfb.js"() {
|
|
18595
18595
|
init_ole_document_doc_fib();
|
|
18596
18596
|
init_ole2_stream_edit();
|
|
18597
18597
|
init_ole2_stream_resize();
|
|
@@ -18604,7 +18604,7 @@ var init_ole_document_doc_cfb = __esm({
|
|
|
18604
18604
|
}
|
|
18605
18605
|
});
|
|
18606
18606
|
|
|
18607
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18607
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js
|
|
18608
18608
|
function parseBteTable(tableStream, at2) {
|
|
18609
18609
|
const view = new DataView(tableStream.buffer, tableStream.byteOffset, tableStream.byteLength);
|
|
18610
18610
|
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)
|
|
@@ -18745,12 +18745,12 @@ function buildSingleRunChpxPage(fcStart, fcEnd, blob) {
|
|
|
18745
18745
|
}
|
|
18746
18746
|
var PAGE_SIZE;
|
|
18747
18747
|
var init_ole_document_doc_fkp = __esm({
|
|
18748
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18748
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fkp.js"() {
|
|
18749
18749
|
PAGE_SIZE = 512;
|
|
18750
18750
|
}
|
|
18751
18751
|
});
|
|
18752
18752
|
|
|
18753
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18753
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js
|
|
18754
18754
|
function decodeCp1252Byte(byte) {
|
|
18755
18755
|
if (byte >= 128 && byte <= 159) {
|
|
18756
18756
|
return CP1252_HIGH_BLOCK[byte - 128];
|
|
@@ -18784,7 +18784,7 @@ function encodeCp1252(text2) {
|
|
|
18784
18784
|
}
|
|
18785
18785
|
var CP1252_HIGH_BLOCK, CP1252_HIGH_BLOCK_REVERSE;
|
|
18786
18786
|
var init_ole_document_doc_cp1252 = __esm({
|
|
18787
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
18787
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-cp1252.js"() {
|
|
18788
18788
|
CP1252_HIGH_BLOCK = [
|
|
18789
18789
|
8364,
|
|
18790
18790
|
129,
|
|
@@ -18823,7 +18823,7 @@ var init_ole_document_doc_cp1252 = __esm({
|
|
|
18823
18823
|
}
|
|
18824
18824
|
});
|
|
18825
18825
|
|
|
18826
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
18826
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js
|
|
18827
18827
|
function parseDocClx(tableStream, clx, maxPieces) {
|
|
18828
18828
|
if (maxPieces !== void 0 && (!Number.isSafeInteger(maxPieces) || maxPieces < 0))
|
|
18829
18829
|
throw new Error("Invalid DOC piece limit");
|
|
@@ -19028,7 +19028,7 @@ function buildClxBytes(pieces, prcBytes = new Uint8Array()) {
|
|
|
19028
19028
|
}
|
|
19029
19029
|
var CLXT_PRC, CLXT_PCDT, DocResourceLimitError;
|
|
19030
19030
|
var init_ole_document_doc_pieces = __esm({
|
|
19031
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19031
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-pieces.js"() {
|
|
19032
19032
|
init_ole_document_doc_cp1252();
|
|
19033
19033
|
CLXT_PRC = 1;
|
|
19034
19034
|
CLXT_PCDT = 2;
|
|
@@ -19041,7 +19041,7 @@ var init_ole_document_doc_pieces = __esm({
|
|
|
19041
19041
|
}
|
|
19042
19042
|
});
|
|
19043
19043
|
|
|
19044
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19044
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js
|
|
19045
19045
|
function checkFieldRanges(markers, editStart, editEnd, maxDepth2) {
|
|
19046
19046
|
const stack = [];
|
|
19047
19047
|
for (const { cp, ch } of markers) {
|
|
@@ -19120,7 +19120,7 @@ function shiftDocMainFieldCps(table, at2, body, editStart, editEnd, delta2, maxF
|
|
|
19120
19120
|
}
|
|
19121
19121
|
var UnsupportedDocFieldEditError;
|
|
19122
19122
|
var init_ole_document_doc_fields = __esm({
|
|
19123
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19123
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-fields.js"() {
|
|
19124
19124
|
init_ole_document_doc_pieces();
|
|
19125
19125
|
UnsupportedDocFieldEditError = class extends Error {
|
|
19126
19126
|
constructor(message) {
|
|
@@ -19131,7 +19131,7 @@ var init_ole_document_doc_fields = __esm({
|
|
|
19131
19131
|
}
|
|
19132
19132
|
});
|
|
19133
19133
|
|
|
19134
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19134
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js
|
|
19135
19135
|
function processingLimits(limits) {
|
|
19136
19136
|
const resolved = {
|
|
19137
19137
|
maxCharacters: DEFAULT_OLE_DOC_PROCESSING_LIMITS.maxCharacters,
|
|
@@ -19400,7 +19400,7 @@ function tryWriteOleDocParagraphEdit(docBytes, paragraphIndex, text2, limits) {
|
|
|
19400
19400
|
}
|
|
19401
19401
|
var RISKY_PLCF_INDICES, RISKY_STTB_INDICES, SAFE_EXTENDED_FC_LCB_INDICES, DEFAULT_OLE_DOC_PROCESSING_LIMITS;
|
|
19402
19402
|
var init_ole_document_doc_editor = __esm({
|
|
19403
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19403
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ole-document-doc-editor.js"() {
|
|
19404
19404
|
init_ole_document_doc_cfb();
|
|
19405
19405
|
init_ole_document_doc_fib();
|
|
19406
19406
|
init_ole_document_doc_fkp();
|
|
@@ -19504,7 +19504,7 @@ var init_ole_nested_deck_editor = __esm({
|
|
|
19504
19504
|
}
|
|
19505
19505
|
});
|
|
19506
19506
|
|
|
19507
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
19507
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js
|
|
19508
19508
|
function crc32(bytes) {
|
|
19509
19509
|
let crc = 4294967295;
|
|
19510
19510
|
for (let i = 0; i < bytes.length; i++) {
|
|
@@ -19600,7 +19600,7 @@ function encodePng(width, height, rgba) {
|
|
|
19600
19600
|
}
|
|
19601
19601
|
var CRC_TABLE, PNG_SIGNATURE;
|
|
19602
19602
|
var init_png_encoder = __esm({
|
|
19603
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
19603
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/png-encoder.js"() {
|
|
19604
19604
|
CRC_TABLE = (() => {
|
|
19605
19605
|
const table = new Uint32Array(256);
|
|
19606
19606
|
for (let n = 0; n < 256; n++) {
|
|
@@ -38902,7 +38902,7 @@ var init_encryption_detection = __esm({
|
|
|
38902
38902
|
}
|
|
38903
38903
|
});
|
|
38904
38904
|
|
|
38905
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
38905
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js
|
|
38906
38906
|
function getSubtle() {
|
|
38907
38907
|
if (typeof globalThis.crypto !== "undefined" && globalThis.crypto.subtle) {
|
|
38908
38908
|
return globalThis.crypto.subtle;
|
|
@@ -39020,7 +39020,7 @@ async function hmac(algorithm, key2, data) {
|
|
|
39020
39020
|
return new Uint8Array(result);
|
|
39021
39021
|
}
|
|
39022
39022
|
var init_ooxml_crypto_primitives = __esm({
|
|
39023
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
39023
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/ooxml-crypto-primitives.js"() {
|
|
39024
39024
|
}
|
|
39025
39025
|
});
|
|
39026
39026
|
|
|
@@ -40218,7 +40218,7 @@ var init_ole2_parser = __esm({
|
|
|
40218
40218
|
}
|
|
40219
40219
|
});
|
|
40220
40220
|
|
|
40221
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
40221
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js
|
|
40222
40222
|
function rotl32(x, n) {
|
|
40223
40223
|
return (x << n | x >>> 32 - n) >>> 0;
|
|
40224
40224
|
}
|
|
@@ -40267,11 +40267,11 @@ function mdStyleDigest(message, initialState, transform2) {
|
|
|
40267
40267
|
return out;
|
|
40268
40268
|
}
|
|
40269
40269
|
var init_bit_ops = __esm({
|
|
40270
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
40270
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/bit-ops.js"() {
|
|
40271
40271
|
}
|
|
40272
40272
|
});
|
|
40273
40273
|
|
|
40274
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
40274
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js
|
|
40275
40275
|
function f1(x, y, z) {
|
|
40276
40276
|
return x & y | ~x & z;
|
|
40277
40277
|
}
|
|
@@ -40295,7 +40295,7 @@ function md4(message) {
|
|
|
40295
40295
|
}
|
|
40296
40296
|
var INITIAL_STATE, K22, K3, ROUND1, ROUND2, ROUND3;
|
|
40297
40297
|
var init_md4 = __esm({
|
|
40298
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
40298
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/digests/md4.js"() {
|
|
40299
40299
|
init_bit_ops();
|
|
40300
40300
|
INITIAL_STATE = [1732584193, 4023233417, 2562383102, 271733878];
|
|
40301
40301
|
K22 = 1518500249;
|
|
@@ -95978,7 +95978,7 @@ var init_metro_blob_collect = __esm({
|
|
|
95978
95978
|
}
|
|
95979
95979
|
});
|
|
95980
95980
|
|
|
95981
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
95981
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js
|
|
95982
95982
|
function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0) {
|
|
95983
95983
|
const header = new Uint8Array(8);
|
|
95984
95984
|
const view = new DataView(header.buffer);
|
|
@@ -95993,7 +95993,7 @@ function record(recType, data, recInstance = 0, isContainer2 = false, recVer = 0
|
|
|
95993
95993
|
}
|
|
95994
95994
|
var ByteWriter;
|
|
95995
95995
|
var init_byte_writer = __esm({
|
|
95996
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
95996
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/byte-writer.js"() {
|
|
95997
95997
|
ByteWriter = class {
|
|
95998
95998
|
chunks = [];
|
|
95999
95999
|
length = 0;
|
|
@@ -96076,13 +96076,13 @@ var init_byte_writer = __esm({
|
|
|
96076
96076
|
}
|
|
96077
96077
|
});
|
|
96078
96078
|
|
|
96079
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96079
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js
|
|
96080
96080
|
function masterToEmu(mu) {
|
|
96081
96081
|
return Math.round(mu * EMU_PER_MASTER);
|
|
96082
96082
|
}
|
|
96083
96083
|
var RT, OA, TEXT_TYPE, HEADER_TOKEN_PLAIN, HEADER_TOKEN_ENCRYPTED, EMU_PER_MASTER;
|
|
96084
96084
|
var init_legacy_ppt_record_types = __esm({
|
|
96085
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96085
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-types.js"() {
|
|
96086
96086
|
RT = {
|
|
96087
96087
|
Document: 1e3,
|
|
96088
96088
|
DocumentAtom: 1001,
|
|
@@ -96211,14 +96211,14 @@ var init_legacy_ppt_record_types = __esm({
|
|
|
96211
96211
|
}
|
|
96212
96212
|
});
|
|
96213
96213
|
|
|
96214
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96214
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js
|
|
96215
96215
|
var init_record_types = __esm({
|
|
96216
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96216
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-types.js"() {
|
|
96217
96217
|
init_legacy_ppt_record_types();
|
|
96218
96218
|
}
|
|
96219
96219
|
});
|
|
96220
96220
|
|
|
96221
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96221
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js
|
|
96222
96222
|
function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
96223
96223
|
const nameBytes = new ByteWriter().ansi(USER_NAME).toBytes();
|
|
96224
96224
|
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();
|
|
@@ -96232,7 +96232,7 @@ function buildCurrentUserStream(offsetToCurrentEdit, encrypted) {
|
|
|
96232
96232
|
}
|
|
96233
96233
|
var USER_NAME, CURRENT_USER_STREAM_SIZE;
|
|
96234
96234
|
var init_current_user_writer = __esm({
|
|
96235
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96235
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/current-user-writer.js"() {
|
|
96236
96236
|
init_record_types();
|
|
96237
96237
|
init_byte_writer();
|
|
96238
96238
|
USER_NAME = "pptx-viewer";
|
|
@@ -96240,7 +96240,7 @@ var init_current_user_writer = __esm({
|
|
|
96240
96240
|
}
|
|
96241
96241
|
});
|
|
96242
96242
|
|
|
96243
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96243
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js
|
|
96244
96244
|
function pictureUid(picture) {
|
|
96245
96245
|
return md4(picture.bytes);
|
|
96246
96246
|
}
|
|
@@ -96263,7 +96263,7 @@ function buildFbse(picture, uid, foDelay, size) {
|
|
|
96263
96263
|
}
|
|
96264
96264
|
var MSOBLIP_PICT, BLIP_INFO;
|
|
96265
96265
|
var init_blip_writer = __esm({
|
|
96266
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96266
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/blip-writer.js"() {
|
|
96267
96267
|
init_md4();
|
|
96268
96268
|
init_png_encoder();
|
|
96269
96269
|
init_record_types();
|
|
@@ -96279,7 +96279,7 @@ var init_blip_writer = __esm({
|
|
|
96279
96279
|
}
|
|
96280
96280
|
});
|
|
96281
96281
|
|
|
96282
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96282
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js
|
|
96283
96283
|
function boolPropValue(flag, bit, useBit) {
|
|
96284
96284
|
return useBit | (flag ? bit : 0);
|
|
96285
96285
|
}
|
|
@@ -96315,7 +96315,7 @@ function buildMetroBlobTertiaryFopt(metroBlob) {
|
|
|
96315
96315
|
}
|
|
96316
96316
|
var OPT, FBID_FLAG, METRO_BLOB_OPID;
|
|
96317
96317
|
var init_fopt_writer = __esm({
|
|
96318
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96318
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/fopt-writer.js"() {
|
|
96319
96319
|
init_record_types();
|
|
96320
96320
|
init_byte_writer();
|
|
96321
96321
|
OPT = {
|
|
@@ -96343,7 +96343,7 @@ var init_fopt_writer = __esm({
|
|
|
96343
96343
|
}
|
|
96344
96344
|
});
|
|
96345
96345
|
|
|
96346
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96346
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js
|
|
96347
96347
|
function buildDggDefaultProperties() {
|
|
96348
96348
|
return buildFopt([
|
|
96349
96349
|
{ id: 385, value: 134217732 },
|
|
@@ -96401,7 +96401,7 @@ function buildPictureStore(pictures, shapesPerDrawing) {
|
|
|
96401
96401
|
}
|
|
96402
96402
|
var SHAPE_ID_CLUSTER_SIZE;
|
|
96403
96403
|
var init_bstore_writer = __esm({
|
|
96404
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96404
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/bstore-writer.js"() {
|
|
96405
96405
|
init_record_types();
|
|
96406
96406
|
init_blip_writer();
|
|
96407
96407
|
init_byte_writer();
|
|
@@ -96410,7 +96410,7 @@ var init_bstore_writer = __esm({
|
|
|
96410
96410
|
}
|
|
96411
96411
|
});
|
|
96412
96412
|
|
|
96413
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96413
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js
|
|
96414
96414
|
function buildFontEntityAtom(name, index) {
|
|
96415
96415
|
const nameBytes = new ByteWriter().utf16(name.slice(0, 31)).u16(0).toBytes();
|
|
96416
96416
|
const padded = new Uint8Array(LF_FACE_NAME_BYTES);
|
|
@@ -96438,14 +96438,14 @@ function buildEnvironment(fonts, otherTextStyle) {
|
|
|
96438
96438
|
}
|
|
96439
96439
|
var LF_FACE_NAME_BYTES;
|
|
96440
96440
|
var init_font_collection_writer = __esm({
|
|
96441
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96441
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/font-collection-writer.js"() {
|
|
96442
96442
|
init_record_types();
|
|
96443
96443
|
init_byte_writer();
|
|
96444
96444
|
LF_FACE_NAME_BYTES = 64;
|
|
96445
96445
|
}
|
|
96446
96446
|
});
|
|
96447
96447
|
|
|
96448
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96448
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js
|
|
96449
96449
|
function emuToMaster(emu2) {
|
|
96450
96450
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
96451
96451
|
}
|
|
@@ -96501,7 +96501,7 @@ function buildDocumentContainer(input) {
|
|
|
96501
96501
|
}
|
|
96502
96502
|
var MASTER_SLIDE_ID_SENTINEL, RT_CSTRING, RT_BINARY_TAG_DATA_BLOB;
|
|
96503
96503
|
var init_document_writer = __esm({
|
|
96504
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96504
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-writer.js"() {
|
|
96505
96505
|
init_record_types();
|
|
96506
96506
|
init_byte_writer();
|
|
96507
96507
|
init_font_collection_writer();
|
|
@@ -96511,7 +96511,7 @@ var init_document_writer = __esm({
|
|
|
96511
96511
|
}
|
|
96512
96512
|
});
|
|
96513
96513
|
|
|
96514
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96514
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js
|
|
96515
96515
|
function buildCString(text2, recInstance) {
|
|
96516
96516
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
96517
96517
|
}
|
|
@@ -96647,7 +96647,7 @@ function buildTextInteractiveInfoAtom(beginChar, endChar) {
|
|
|
96647
96647
|
}
|
|
96648
96648
|
var II_ACTION, II_JUMP, LT, FLAG_CUSTOM_SHOW_RETURN, HyperlinkCollector;
|
|
96649
96649
|
var init_hyperlink_writer = __esm({
|
|
96650
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96650
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/hyperlink-writer.js"() {
|
|
96651
96651
|
init_record_types();
|
|
96652
96652
|
init_byte_writer();
|
|
96653
96653
|
II_ACTION = {
|
|
@@ -96710,7 +96710,7 @@ var init_hyperlink_writer = __esm({
|
|
|
96710
96710
|
}
|
|
96711
96711
|
});
|
|
96712
96712
|
|
|
96713
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96713
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js
|
|
96714
96714
|
function buildCString2(text2, recInstance) {
|
|
96715
96715
|
return record(RT.CString, new ByteWriter().utf16(text2).toBytes(), recInstance, false, 0);
|
|
96716
96716
|
}
|
|
@@ -96746,7 +96746,7 @@ function buildMediaExObjEntries(media) {
|
|
|
96746
96746
|
}
|
|
96747
96747
|
var MediaCollector, SOUND_EXTENSION_WAV, SOUND_LENGTH_UNKNOWN;
|
|
96748
96748
|
var init_media_writer = __esm({
|
|
96749
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96749
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/media-writer.js"() {
|
|
96750
96750
|
init_record_types();
|
|
96751
96751
|
init_byte_writer();
|
|
96752
96752
|
MediaCollector = class {
|
|
@@ -96782,7 +96782,7 @@ var init_media_writer = __esm({
|
|
|
96782
96782
|
}
|
|
96783
96783
|
});
|
|
96784
96784
|
|
|
96785
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96785
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js
|
|
96786
96786
|
function hexToBytes(hex3) {
|
|
96787
96787
|
const out = new Uint8Array(hex3.length / 2);
|
|
96788
96788
|
for (let i = 0; i < out.length; i++) {
|
|
@@ -96844,7 +96844,7 @@ function buildExObjRefAtom(exObjId) {
|
|
|
96844
96844
|
}
|
|
96845
96845
|
var PACKAGE_ROOT_CLSID, COMP_OBJ_HEX, EX_OLE_EMBEDDED, DV_ASPECT_ICON, EX_OLE_SUB_DEFAULT, PACKAGER_MENU_NAME, OleCollector;
|
|
96846
96846
|
var init_ole_writer = __esm({
|
|
96847
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96847
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ole-writer.js"() {
|
|
96848
96848
|
init_ole2_parser_write();
|
|
96849
96849
|
init_record_types();
|
|
96850
96850
|
init_byte_writer();
|
|
@@ -96904,7 +96904,7 @@ var init_ole_writer = __esm({
|
|
|
96904
96904
|
}
|
|
96905
96905
|
});
|
|
96906
96906
|
|
|
96907
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96907
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js
|
|
96908
96908
|
function buildExObjList(hyperlinks, ole, media) {
|
|
96909
96909
|
const oleEntries = ole?.all ?? [];
|
|
96910
96910
|
const mediaEntries = media?.all ?? [];
|
|
@@ -96931,7 +96931,7 @@ function buildExObjList(hyperlinks, ole, media) {
|
|
|
96931
96931
|
return record(RT.ExternalObjectList, w.toBytes(), 0, true);
|
|
96932
96932
|
}
|
|
96933
96933
|
var init_ex_obj_list_writer = __esm({
|
|
96934
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96934
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ex-obj-list-writer.js"() {
|
|
96935
96935
|
init_record_types();
|
|
96936
96936
|
init_byte_writer();
|
|
96937
96937
|
init_hyperlink_writer();
|
|
@@ -96940,7 +96940,7 @@ var init_ex_obj_list_writer = __esm({
|
|
|
96940
96940
|
}
|
|
96941
96941
|
});
|
|
96942
96942
|
|
|
96943
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96943
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js
|
|
96944
96944
|
function emuToMaster2(emu2) {
|
|
96945
96945
|
return Math.round(emu2 / EMU_PER_MASTER);
|
|
96946
96946
|
}
|
|
@@ -96985,7 +96985,7 @@ function buildChildAnchor(rect2) {
|
|
|
96985
96985
|
}
|
|
96986
96986
|
var INT16_MIN, INT16_MAX;
|
|
96987
96987
|
var init_anchor_writer = __esm({
|
|
96988
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
96988
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/anchor-writer.js"() {
|
|
96989
96989
|
init_record_types();
|
|
96990
96990
|
init_byte_writer();
|
|
96991
96991
|
INT16_MIN = -32768;
|
|
@@ -96993,7 +96993,7 @@ var init_anchor_writer = __esm({
|
|
|
96993
96993
|
}
|
|
96994
96994
|
});
|
|
96995
96995
|
|
|
96996
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
96996
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js
|
|
96997
96997
|
function parseHex(rgb2) {
|
|
96998
96998
|
const hex3 = (rgb2 ?? DEFAULT_RGB).replace(/^#/u, "");
|
|
96999
96999
|
if (!/^[0-9a-fA-F]{6}$/u.test(hex3)) {
|
|
@@ -97015,12 +97015,12 @@ function encodeColorIndex(rgb2) {
|
|
|
97015
97015
|
}
|
|
97016
97016
|
var DEFAULT_RGB;
|
|
97017
97017
|
var init_colors = __esm({
|
|
97018
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97018
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/colors.js"() {
|
|
97019
97019
|
DEFAULT_RGB = "000000";
|
|
97020
97020
|
}
|
|
97021
97021
|
});
|
|
97022
97022
|
|
|
97023
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97023
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js
|
|
97024
97024
|
function writePfException(w, para) {
|
|
97025
97025
|
let mask = 0;
|
|
97026
97026
|
if (para.hasBullet !== void 0) {
|
|
@@ -97110,7 +97110,7 @@ function writeCfException(w, run, fontIndex) {
|
|
|
97110
97110
|
}
|
|
97111
97111
|
var ALIGN_CODE, EMU_PER_MASTER_UNIT;
|
|
97112
97112
|
var init_text_exception_writer = __esm({
|
|
97113
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97113
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-exception-writer.js"() {
|
|
97114
97114
|
init_colors();
|
|
97115
97115
|
ALIGN_CODE = {
|
|
97116
97116
|
l: 0,
|
|
@@ -97122,7 +97122,7 @@ var init_text_exception_writer = __esm({
|
|
|
97122
97122
|
}
|
|
97123
97123
|
});
|
|
97124
97124
|
|
|
97125
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97125
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js
|
|
97126
97126
|
function joinParagraphText(body) {
|
|
97127
97127
|
return body.paragraphs.map((p) => p.runs.map((r) => r.text).join("")).join("\r");
|
|
97128
97128
|
}
|
|
@@ -97183,7 +97183,7 @@ function buildTextAtoms(body, fonts, hyperlinks) {
|
|
|
97183
97183
|
return new ByteWriter().bytes(buildTextHeaderAtom(body.textType)).bytes(buildTextCharsAtom(text2)).bytes(buildStyleTextPropAtom(body, fontIndex)).bytes(buildRunHyperlinks(body, hyperlinks)).toBytes();
|
|
97184
97184
|
}
|
|
97185
97185
|
var init_text_atom_writer = __esm({
|
|
97186
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97186
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/text-atom-writer.js"() {
|
|
97187
97187
|
init_record_types();
|
|
97188
97188
|
init_byte_writer();
|
|
97189
97189
|
init_hyperlink_writer();
|
|
@@ -97191,7 +97191,7 @@ var init_text_atom_writer = __esm({
|
|
|
97191
97191
|
}
|
|
97192
97192
|
});
|
|
97193
97193
|
|
|
97194
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97194
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js
|
|
97195
97195
|
function utf16z(text2) {
|
|
97196
97196
|
return new ByteWriter().utf16(text2).u16(0).toBytes();
|
|
97197
97197
|
}
|
|
@@ -97288,7 +97288,7 @@ function buildMasterPlaceholders(placeholders, allocator, fieldFontIndex) {
|
|
|
97288
97288
|
}
|
|
97289
97289
|
var FSP_FLAGS, RECTANGLE_SPT, TEXT_TYPE_TITLE, TEXT_TYPE_BODY, TEXT_TYPE_OTHER, SPECS, MASTER_PLACEHOLDER_ORDER, TITLE_PROMPT, BODY_PROMPT, DEFAULT_FRAMES;
|
|
97290
97290
|
var init_master_placeholders_writer = __esm({
|
|
97291
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97291
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-placeholders-writer.js"() {
|
|
97292
97292
|
init_record_types();
|
|
97293
97293
|
init_anchor_writer();
|
|
97294
97294
|
init_byte_writer();
|
|
@@ -97355,18 +97355,18 @@ var init_master_placeholders_writer = __esm({
|
|
|
97355
97355
|
}
|
|
97356
97356
|
});
|
|
97357
97357
|
|
|
97358
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97358
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js
|
|
97359
97359
|
function masterStyleFonts(styles) {
|
|
97360
97360
|
if (!styles)
|
|
97361
97361
|
return [];
|
|
97362
97362
|
return [styles.title, styles.body, styles.other].flatMap((levels) => levels ?? []).map((level2) => level2.run.fontName).filter((name) => Boolean(name));
|
|
97363
97363
|
}
|
|
97364
97364
|
var init_master_style_fonts = __esm({
|
|
97365
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97365
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-style-fonts.js"() {
|
|
97366
97366
|
}
|
|
97367
97367
|
});
|
|
97368
97368
|
|
|
97369
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97369
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js
|
|
97370
97370
|
function buildMasterStyleAtom(recInstance, levels, fontIndex) {
|
|
97371
97371
|
const w = new ByteWriter().u16(levels.length);
|
|
97372
97372
|
for (const level2 of levels) {
|
|
@@ -97397,7 +97397,7 @@ function buildMasterTextStyles(styles, fontIndex) {
|
|
|
97397
97397
|
}
|
|
97398
97398
|
var EMPTY_LEVELS, FIXED_INSTANCE_DATA;
|
|
97399
97399
|
var init_master_text_styles_writer = __esm({
|
|
97400
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97400
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-text-styles-writer.js"() {
|
|
97401
97401
|
init_record_types();
|
|
97402
97402
|
init_byte_writer();
|
|
97403
97403
|
init_text_exception_writer();
|
|
@@ -97413,7 +97413,7 @@ var init_master_text_styles_writer = __esm({
|
|
|
97413
97413
|
}
|
|
97414
97414
|
});
|
|
97415
97415
|
|
|
97416
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97416
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js
|
|
97417
97417
|
function fillEntries(fill) {
|
|
97418
97418
|
if (!fill || fill.kind === "none") {
|
|
97419
97419
|
return [{ id: OPT.fNoFillHitTest, value: boolPropValue(false, 16, 1048576) }];
|
|
@@ -97468,7 +97468,7 @@ function buildShapeFoptProps(input) {
|
|
|
97468
97468
|
}
|
|
97469
97469
|
var DASH_CODE;
|
|
97470
97470
|
var init_shape_props_writer = __esm({
|
|
97471
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97471
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-props-writer.js"() {
|
|
97472
97472
|
init_colors();
|
|
97473
97473
|
init_fopt_writer();
|
|
97474
97474
|
DASH_CODE = {
|
|
@@ -97483,7 +97483,7 @@ var init_shape_props_writer = __esm({
|
|
|
97483
97483
|
}
|
|
97484
97484
|
});
|
|
97485
97485
|
|
|
97486
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97486
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js
|
|
97487
97487
|
function buildShapeAnchor(rect2, inGroup) {
|
|
97488
97488
|
return inGroup ? buildChildAnchor(rect2) : buildClientAnchor(rect2);
|
|
97489
97489
|
}
|
|
@@ -97585,7 +97585,7 @@ function buildMediaShapeContainer(media, allocator, hyperlinks, mediaEmbeds, inG
|
|
|
97585
97585
|
}
|
|
97586
97586
|
var FSP_FLAG_FLIPH, FSP_FLAG_FLIPV, FSP_FLAG_OLE_SHAPE, FSP_FLAG_CHILD, PLACEHOLDER_ID;
|
|
97587
97587
|
var init_shape_writer = __esm({
|
|
97588
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97588
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-writer.js"() {
|
|
97589
97589
|
init_record_types();
|
|
97590
97590
|
init_anchor_writer();
|
|
97591
97591
|
init_byte_writer();
|
|
@@ -97607,7 +97607,7 @@ var init_shape_writer = __esm({
|
|
|
97607
97607
|
}
|
|
97608
97608
|
});
|
|
97609
97609
|
|
|
97610
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97610
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js
|
|
97611
97611
|
function buildFspgr(childRect) {
|
|
97612
97612
|
return record(OA.FSPGR, buildChildAnchorData(childRect), 0, false, 1);
|
|
97613
97613
|
}
|
|
@@ -97648,7 +97648,7 @@ function buildGroupContainer(group, fonts, allocator, hyperlinks, oleEmbeds, med
|
|
|
97648
97648
|
}
|
|
97649
97649
|
var FSP_FLAG_GROUP, FSP_FLAG_PATRIARCH, FSP_FLAG_HAVE_ANCHOR, ZERO_RECT;
|
|
97650
97650
|
var init_group_writer = __esm({
|
|
97651
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97651
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/group-writer.js"() {
|
|
97652
97652
|
init_record_types();
|
|
97653
97653
|
init_anchor_writer();
|
|
97654
97654
|
init_byte_writer();
|
|
@@ -97660,10 +97660,10 @@ var init_group_writer = __esm({
|
|
|
97660
97660
|
}
|
|
97661
97661
|
});
|
|
97662
97662
|
|
|
97663
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97663
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js
|
|
97664
97664
|
var ShapeIdAllocator2;
|
|
97665
97665
|
var init_shape_id_allocator = __esm({
|
|
97666
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97666
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/shape-id-allocator.js"() {
|
|
97667
97667
|
ShapeIdAllocator2 = class {
|
|
97668
97668
|
current;
|
|
97669
97669
|
constructor(drawingId, clusterSize) {
|
|
@@ -97689,7 +97689,7 @@ var init_shape_id_allocator = __esm({
|
|
|
97689
97689
|
}
|
|
97690
97690
|
});
|
|
97691
97691
|
|
|
97692
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97692
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js
|
|
97693
97693
|
function buildDg(drawingId, shapeCount, lastShapeId) {
|
|
97694
97694
|
const data = new ByteWriter().u32(shapeCount + 1).u32(lastShapeId).toBytes();
|
|
97695
97695
|
return record(OA.Dg, data, drawingId, false, 0);
|
|
@@ -97720,7 +97720,7 @@ function buildDrawing(canvasRect, shapes, backgroundRgb, fonts, drawingId, hyper
|
|
|
97720
97720
|
}
|
|
97721
97721
|
var FSP_FLAG_BACKGROUND, BACKGROUND_RECT_SPT, SHAPE_ID_CLUSTER_SIZE2;
|
|
97722
97722
|
var init_drawing_writer = __esm({
|
|
97723
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97723
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/drawing-writer.js"() {
|
|
97724
97724
|
init_record_types();
|
|
97725
97725
|
init_byte_writer();
|
|
97726
97726
|
init_colors();
|
|
@@ -97733,7 +97733,7 @@ var init_drawing_writer = __esm({
|
|
|
97733
97733
|
}
|
|
97734
97734
|
});
|
|
97735
97735
|
|
|
97736
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97736
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js
|
|
97737
97737
|
function buildNotesAtom(slidePersistIdRef) {
|
|
97738
97738
|
const data = new ByteWriter().i32(slidePersistIdRef).u16(0).u16(0).toBytes();
|
|
97739
97739
|
return record(RT.NotesAtom, data, 0, false, 1);
|
|
@@ -97751,14 +97751,14 @@ function buildNotesContainer(paragraphs, notesRect, slidePersistIdRef, fonts, dr
|
|
|
97751
97751
|
return record(RT.Notes, data, 0, true);
|
|
97752
97752
|
}
|
|
97753
97753
|
var init_notes_writer = __esm({
|
|
97754
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97754
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/notes-writer.js"() {
|
|
97755
97755
|
init_record_types();
|
|
97756
97756
|
init_byte_writer();
|
|
97757
97757
|
init_drawing_writer();
|
|
97758
97758
|
}
|
|
97759
97759
|
});
|
|
97760
97760
|
|
|
97761
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97761
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js
|
|
97762
97762
|
function readRecord(view, offset) {
|
|
97763
97763
|
if (!Number.isSafeInteger(offset) || offset < 0 || offset + RECORD_HEADER_SIZE > view.byteLength) {
|
|
97764
97764
|
return void 0;
|
|
@@ -97838,7 +97838,7 @@ function recordBytes(data, rec) {
|
|
|
97838
97838
|
}
|
|
97839
97839
|
var PptParseError, RECORD_HEADER_SIZE;
|
|
97840
97840
|
var init_legacy_ppt_record_stream = __esm({
|
|
97841
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97841
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-record-stream.js"() {
|
|
97842
97842
|
PptParseError = class extends Error {
|
|
97843
97843
|
constructor(message) {
|
|
97844
97844
|
super(message);
|
|
@@ -97849,14 +97849,14 @@ var init_legacy_ppt_record_stream = __esm({
|
|
|
97849
97849
|
}
|
|
97850
97850
|
});
|
|
97851
97851
|
|
|
97852
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97852
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js
|
|
97853
97853
|
var init_record_stream = __esm({
|
|
97854
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97854
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/record-stream.js"() {
|
|
97855
97855
|
init_legacy_ppt_record_stream();
|
|
97856
97856
|
}
|
|
97857
97857
|
});
|
|
97858
97858
|
|
|
97859
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97859
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js
|
|
97860
97860
|
function toHex3(r, g, b) {
|
|
97861
97861
|
return [r, g, b].map((v) => (v & 255).toString(16).padStart(2, "0").toUpperCase()).join("");
|
|
97862
97862
|
}
|
|
@@ -97907,7 +97907,7 @@ function resolveEscherColor(colorRef, scheme) {
|
|
|
97907
97907
|
}
|
|
97908
97908
|
var SCHEME, DEFAULT_SCHEME;
|
|
97909
97909
|
var init_color_scheme = __esm({
|
|
97910
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97910
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/color-scheme.js"() {
|
|
97911
97911
|
init_record_stream();
|
|
97912
97912
|
init_record_types();
|
|
97913
97913
|
SCHEME = {
|
|
@@ -97933,7 +97933,7 @@ var init_color_scheme = __esm({
|
|
|
97933
97933
|
}
|
|
97934
97934
|
});
|
|
97935
97935
|
|
|
97936
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97936
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js
|
|
97937
97937
|
function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
97938
97938
|
const w = new ByteWriter();
|
|
97939
97939
|
for (const rgb2 of colors?.length === 8 ? colors : DEFAULT_SCHEME) {
|
|
@@ -97942,7 +97942,7 @@ function buildColorSchemeAtom(recInstance = 1, colors) {
|
|
|
97942
97942
|
return record(RT.ColorSchemeAtom, w.toBytes(), recInstance, false, 0);
|
|
97943
97943
|
}
|
|
97944
97944
|
var init_color_scheme_writer = __esm({
|
|
97945
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97945
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/color-scheme-writer.js"() {
|
|
97946
97946
|
init_color_scheme();
|
|
97947
97947
|
init_record_types();
|
|
97948
97948
|
init_byte_writer();
|
|
@@ -97950,7 +97950,7 @@ var init_color_scheme_writer = __esm({
|
|
|
97950
97950
|
}
|
|
97951
97951
|
});
|
|
97952
97952
|
|
|
97953
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
97953
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js
|
|
97954
97954
|
function buildSlideAtomRaw(geom, masterIdRef, notesIdRef, flags) {
|
|
97955
97955
|
const data = new ByteWriter().i32(geom).bytes(new Uint8Array(8)).u32(masterIdRef).i32(notesIdRef).u16(flags).u16(0).toBytes();
|
|
97956
97956
|
return record(RT.SlideAtom, data, 0, false, 2);
|
|
@@ -97987,7 +97987,7 @@ function buildMainMasterContainer(slideRect, drawingId, hyperlinks, oleEmbeds, m
|
|
|
97987
97987
|
}
|
|
97988
97988
|
var SLIDE_FLAG_MASTER_OBJECTS, SLIDE_FLAG_MASTER_SCHEME, SLIDE_FLAG_MASTER_BACKGROUND, SLIDE_MASTER_ID_SENTINEL, MASTER_FIRST_COLOR_SCHEME_INSTANCE;
|
|
97989
97989
|
var init_slide_writer = __esm({
|
|
97990
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
97990
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/slide-writer.js"() {
|
|
97991
97991
|
init_record_types();
|
|
97992
97992
|
init_byte_writer();
|
|
97993
97993
|
init_color_scheme_writer();
|
|
@@ -98002,7 +98002,7 @@ var init_slide_writer = __esm({
|
|
|
98002
98002
|
}
|
|
98003
98003
|
});
|
|
98004
98004
|
|
|
98005
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98005
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js
|
|
98006
98006
|
function masterSlideId(index) {
|
|
98007
98007
|
return MASTER_SLIDE_ID_SENTINEL + index;
|
|
98008
98008
|
}
|
|
@@ -98126,7 +98126,7 @@ function ensureMinimumDocumentStreamSize(contentSizeWithoutPadding, maxPersistId
|
|
|
98126
98126
|
}
|
|
98127
98127
|
var DOC_ID, MASTER_ID;
|
|
98128
98128
|
var init_document_stream_layout = __esm({
|
|
98129
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98129
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/document-stream-layout.js"() {
|
|
98130
98130
|
init_bstore_writer();
|
|
98131
98131
|
init_byte_writer();
|
|
98132
98132
|
init_document_writer();
|
|
@@ -98144,15 +98144,15 @@ var init_document_stream_layout = __esm({
|
|
|
98144
98144
|
}
|
|
98145
98145
|
});
|
|
98146
98146
|
|
|
98147
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98147
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js
|
|
98148
98148
|
var RC4_ALG_ID2;
|
|
98149
98149
|
var init_crypto_constants = __esm({
|
|
98150
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98150
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/crypto-constants.js"() {
|
|
98151
98151
|
RC4_ALG_ID2 = 26625;
|
|
98152
98152
|
}
|
|
98153
98153
|
});
|
|
98154
98154
|
|
|
98155
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98155
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js
|
|
98156
98156
|
function rc4Cipher(key2, data) {
|
|
98157
98157
|
if (key2.length === 0) {
|
|
98158
98158
|
throw new Error("RC4 key must not be empty.");
|
|
@@ -98183,11 +98183,11 @@ function rc4Cipher(key2, data) {
|
|
|
98183
98183
|
return out;
|
|
98184
98184
|
}
|
|
98185
98185
|
var init_rc4_cipher = __esm({
|
|
98186
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98186
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/utils/rc4-cipher.js"() {
|
|
98187
98187
|
}
|
|
98188
98188
|
});
|
|
98189
98189
|
|
|
98190
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98190
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js
|
|
98191
98191
|
async function rc4CryptoApiKeyBase(password, salt) {
|
|
98192
98192
|
return hash("SHA-1", concatArrays(salt, encodePasswordUtf16LE(password)));
|
|
98193
98193
|
}
|
|
@@ -98228,14 +98228,14 @@ async function rc4CryptoApiEncryptVerifier(key0, verifier) {
|
|
|
98228
98228
|
}
|
|
98229
98229
|
var PADDED_40_BIT_KEY_BYTES;
|
|
98230
98230
|
var init_rc4_cryptoapi_key = __esm({
|
|
98231
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98231
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-key.js"() {
|
|
98232
98232
|
init_ooxml_crypto_primitives();
|
|
98233
98233
|
init_rc4_cipher();
|
|
98234
98234
|
PADDED_40_BIT_KEY_BYTES = 16;
|
|
98235
98235
|
}
|
|
98236
98236
|
});
|
|
98237
98237
|
|
|
98238
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98238
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js
|
|
98239
98239
|
function readHeader(bytes) {
|
|
98240
98240
|
const view = new DataView(bytes.buffer, bytes.byteOffset, RECORD_HEADER_SIZE);
|
|
98241
98241
|
return {
|
|
@@ -98304,7 +98304,7 @@ async function cipherPicturesStream(stream, keyFor2, mode) {
|
|
|
98304
98304
|
}
|
|
98305
98305
|
var UID_SIZE, METAFILE_HEADER_SIZE, BITMAP_TAG_SIZE, METAFILE_BLIPS, BITMAP_BLIPS;
|
|
98306
98306
|
var init_rc4_cryptoapi_streams = __esm({
|
|
98307
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98307
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/rc4-cryptoapi-streams.js"() {
|
|
98308
98308
|
init_rc4_cipher();
|
|
98309
98309
|
init_record_stream();
|
|
98310
98310
|
UID_SIZE = 16;
|
|
@@ -98315,7 +98315,7 @@ var init_rc4_cryptoapi_streams = __esm({
|
|
|
98315
98315
|
}
|
|
98316
98316
|
});
|
|
98317
98317
|
|
|
98318
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98318
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js
|
|
98319
98319
|
async function buildCryptSession(password) {
|
|
98320
98320
|
const salt = new Uint8Array(SALT_SIZE);
|
|
98321
98321
|
crypto.getRandomValues(salt);
|
|
@@ -98343,7 +98343,7 @@ async function encryptPicturesStream(stream, ctx) {
|
|
|
98343
98343
|
}
|
|
98344
98344
|
var CSP_NAME, KEY_SIZE_BITS, SALT_SIZE, VERIFIER_SIZE, VERIFIER_HASH_SIZE, ENCRYPTION_FLAGS;
|
|
98345
98345
|
var init_encrypt_writer = __esm({
|
|
98346
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98346
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/encrypt-writer.js"() {
|
|
98347
98347
|
init_crypto_constants();
|
|
98348
98348
|
init_rc4_cryptoapi_key();
|
|
98349
98349
|
init_rc4_cryptoapi_streams();
|
|
@@ -98358,7 +98358,7 @@ var init_encrypt_writer = __esm({
|
|
|
98358
98358
|
}
|
|
98359
98359
|
});
|
|
98360
98360
|
|
|
98361
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98361
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js
|
|
98362
98362
|
function levelsFor(styles, textType) {
|
|
98363
98363
|
switch (textType) {
|
|
98364
98364
|
case 0:
|
|
@@ -98424,12 +98424,12 @@ function withMasterRelativeRunStyles(deck) {
|
|
|
98424
98424
|
}
|
|
98425
98425
|
var STYLE_KEYS;
|
|
98426
98426
|
var init_master_relative_runs = __esm({
|
|
98427
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98427
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/master-relative-runs.js"() {
|
|
98428
98428
|
STYLE_KEYS = ["bold", "italic", "underline"];
|
|
98429
98429
|
}
|
|
98430
98430
|
});
|
|
98431
98431
|
|
|
98432
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98432
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js
|
|
98433
98433
|
function buildPersistDirectoryAtom(entries) {
|
|
98434
98434
|
const sorted = [...entries].sort((a, b) => a[0] - b[0]);
|
|
98435
98435
|
const w = new ByteWriter();
|
|
@@ -98459,17 +98459,17 @@ function buildEncryptedUserEditAtom(input) {
|
|
|
98459
98459
|
}
|
|
98460
98460
|
var MAX_RUN;
|
|
98461
98461
|
var init_persist_writer = __esm({
|
|
98462
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98462
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/persist-writer.js"() {
|
|
98463
98463
|
init_record_types();
|
|
98464
98464
|
init_byte_writer();
|
|
98465
98465
|
MAX_RUN = 4095;
|
|
98466
98466
|
}
|
|
98467
98467
|
});
|
|
98468
98468
|
|
|
98469
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98469
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js
|
|
98470
98470
|
var PPT_STORAGE_CLSID;
|
|
98471
98471
|
var init_ppt_clsid = __esm({
|
|
98472
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98472
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/ppt-clsid.js"() {
|
|
98473
98473
|
PPT_STORAGE_CLSID = new Uint8Array([
|
|
98474
98474
|
16,
|
|
98475
98475
|
141,
|
|
@@ -98491,7 +98491,7 @@ var init_ppt_clsid = __esm({
|
|
|
98491
98491
|
}
|
|
98492
98492
|
});
|
|
98493
98493
|
|
|
98494
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98494
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js
|
|
98495
98495
|
async function finishUnencrypted(layout, lastSlideId) {
|
|
98496
98496
|
const w = new ByteWriter().append(layout.bytes);
|
|
98497
98497
|
const dirAtom = buildPersistDirectoryAtom(layout.offsets);
|
|
@@ -98545,7 +98545,7 @@ async function buildPptFile(deck, options = {}) {
|
|
|
98545
98545
|
return new Uint8Array(buildOle2(streams2, PPT_STORAGE_CLSID, 0));
|
|
98546
98546
|
}
|
|
98547
98547
|
var init_write_ppt = __esm({
|
|
98548
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98548
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/writer/write-ppt.js"() {
|
|
98549
98549
|
init_ole2_parser_write();
|
|
98550
98550
|
init_byte_writer();
|
|
98551
98551
|
init_current_user_writer();
|
|
@@ -98557,9 +98557,9 @@ var init_write_ppt = __esm({
|
|
|
98557
98557
|
}
|
|
98558
98558
|
});
|
|
98559
98559
|
|
|
98560
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
98560
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js
|
|
98561
98561
|
var init_legacy_ppt_writer = __esm({
|
|
98562
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
98562
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/legacy-ppt-writer.js"() {
|
|
98563
98563
|
init_write_ppt();
|
|
98564
98564
|
init_master_style_fonts();
|
|
98565
98565
|
}
|
|
@@ -138089,7 +138089,7 @@ var init_deflate_utils = __esm({
|
|
|
138089
138089
|
}
|
|
138090
138090
|
});
|
|
138091
138091
|
|
|
138092
|
-
// node_modules/.bun/@christophervr+ole2@0.
|
|
138092
|
+
// node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js
|
|
138093
138093
|
function checkedLimit(value) {
|
|
138094
138094
|
if (!Number.isSafeInteger(value) || value < 1)
|
|
138095
138095
|
throw new PptParseError("Invalid persist directory resource limit");
|
|
@@ -138215,7 +138215,7 @@ function readPersistRecord(view, directory, persistId) {
|
|
|
138215
138215
|
}
|
|
138216
138216
|
var DEFAULT_MAX_EDITS, DEFAULT_MAX_ENTRIES;
|
|
138217
138217
|
var init_persist_directory = __esm({
|
|
138218
|
-
"node_modules/.bun/@christophervr+ole2@0.
|
|
138218
|
+
"node_modules/.bun/@christophervr+ole2@0.12.0/node_modules/@christophervr/ole2/dist/ppt/persist-directory.js"() {
|
|
138219
138219
|
init_record_stream();
|
|
138220
138220
|
init_record_types();
|
|
138221
138221
|
DEFAULT_MAX_EDITS = 1e4;
|