@kreuzberg/html-to-markdown-wasm 3.4.0-rc.2 → 3.4.0-rc.7
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/html_to_markdown_wasm_bg.js +71 -90
- package/dist/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist/package.json +1 -1
- package/dist-node/html_to_markdown_wasm.js +73 -91
- package/dist-node/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-node/package.json +1 -1
- package/dist-web/html_to_markdown_wasm.js +73 -91
- package/dist-web/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-web/package.json +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,6 @@ export const WasmCodeBlockStyle = Object.freeze({
|
|
|
47
47
|
*/
|
|
48
48
|
export class WasmConversionOptions {
|
|
49
49
|
static __wrap(ptr) {
|
|
50
|
-
ptr = ptr >>> 0;
|
|
51
50
|
const obj = Object.create(WasmConversionOptions.prototype);
|
|
52
51
|
obj.__wbg_ptr = ptr;
|
|
53
52
|
WasmConversionOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -342,7 +341,7 @@ export class WasmConversionOptions {
|
|
|
342
341
|
*/
|
|
343
342
|
get maxDepth() {
|
|
344
343
|
const ret = wasm.wasmconversionoptions_maxDepth(this.__wbg_ptr);
|
|
345
|
-
return ret ===
|
|
344
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
346
345
|
}
|
|
347
346
|
/**
|
|
348
347
|
* @returns {bigint}
|
|
@@ -419,8 +418,8 @@ export class WasmConversionOptions {
|
|
|
419
418
|
var len9 = WASM_VECTOR_LEN;
|
|
420
419
|
var ptr10 = isLikeNone(exclude_selectors) ? 0 : passArrayJsValueToWasm0(exclude_selectors, wasm.__wbindgen_export);
|
|
421
420
|
var len10 = WASM_VECTOR_LEN;
|
|
422
|
-
const ret = wasm.wasmconversionoptions_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ?
|
|
423
|
-
this.__wbg_ptr = ret
|
|
421
|
+
const ret = wasm.wasmconversionoptions_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ? Number.MAX_SAFE_INTEGER : (list_indent_width) >>> 0, ptr0, len0, ptr1, len1, isLikeNone(escape_asterisks) ? 0xFFFFFF : escape_asterisks ? 1 : 0, isLikeNone(escape_underscores) ? 0xFFFFFF : escape_underscores ? 1 : 0, isLikeNone(escape_misc) ? 0xFFFFFF : escape_misc ? 1 : 0, isLikeNone(escape_ascii) ? 0xFFFFFF : escape_ascii ? 1 : 0, ptr2, len2, isLikeNone(autolinks) ? 0xFFFFFF : autolinks ? 1 : 0, isLikeNone(default_title) ? 0xFFFFFF : default_title ? 1 : 0, isLikeNone(br_in_tables) ? 0xFFFFFF : br_in_tables ? 1 : 0, isLikeNone(highlight_style) ? 4 : highlight_style, isLikeNone(extract_metadata) ? 0xFFFFFF : extract_metadata ? 1 : 0, isLikeNone(whitespace_mode) ? 2 : whitespace_mode, isLikeNone(strip_newlines) ? 0xFFFFFF : strip_newlines ? 1 : 0, isLikeNone(wrap) ? 0xFFFFFF : wrap ? 1 : 0, isLikeNone(wrap_width) ? Number.MAX_SAFE_INTEGER : (wrap_width) >>> 0, isLikeNone(convert_as_inline) ? 0xFFFFFF : convert_as_inline ? 1 : 0, ptr3, len3, ptr4, len4, isLikeNone(newline_style) ? 2 : newline_style, isLikeNone(code_block_style) ? 3 : code_block_style, ptr5, len5, ptr6, ptr7, len7, isLikeNone(debug) ? 0xFFFFFF : debug ? 1 : 0, ptr8, len8, ptr9, len9, isLikeNone(skip_images) ? 0xFFFFFF : skip_images ? 1 : 0, isLikeNone(link_style) ? 2 : link_style, isLikeNone(output_format) ? 3 : output_format, isLikeNone(include_document_structure) ? 0xFFFFFF : include_document_structure ? 1 : 0, isLikeNone(extract_images) ? 0xFFFFFF : extract_images ? 1 : 0, !isLikeNone(max_image_size), isLikeNone(max_image_size) ? BigInt(0) : max_image_size, isLikeNone(capture_svg) ? 0xFFFFFF : capture_svg ? 1 : 0, isLikeNone(infer_dimensions) ? 0xFFFFFF : infer_dimensions ? 1 : 0, ptr10, len10, isLikeNone(max_depth) ? Number.MAX_SAFE_INTEGER : (max_depth) >>> 0);
|
|
422
|
+
this.__wbg_ptr = ret;
|
|
424
423
|
WasmConversionOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
425
424
|
return this;
|
|
426
425
|
}
|
|
@@ -625,7 +624,7 @@ export class WasmConversionOptions {
|
|
|
625
624
|
* @param {number | null} [value]
|
|
626
625
|
*/
|
|
627
626
|
set maxDepth(value) {
|
|
628
|
-
wasm.wasmconversionoptions_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ?
|
|
627
|
+
wasm.wasmconversionoptions_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
629
628
|
}
|
|
630
629
|
/**
|
|
631
630
|
* @param {bigint} value
|
|
@@ -841,7 +840,6 @@ if (Symbol.dispose) WasmConversionOptions.prototype[Symbol.dispose] = WasmConver
|
|
|
841
840
|
*/
|
|
842
841
|
export class WasmConversionOptionsBuilder {
|
|
843
842
|
static __wrap(ptr) {
|
|
844
|
-
ptr = ptr >>> 0;
|
|
845
843
|
const obj = Object.create(WasmConversionOptionsBuilder.prototype);
|
|
846
844
|
obj.__wbg_ptr = ptr;
|
|
847
845
|
WasmConversionOptionsBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1173,14 +1171,14 @@ export class WasmConversionOptionsUpdate {
|
|
|
1173
1171
|
*/
|
|
1174
1172
|
get listIndentWidth() {
|
|
1175
1173
|
const ret = wasm.wasmconversionoptionsupdate_listIndentWidth(this.__wbg_ptr);
|
|
1176
|
-
return ret ===
|
|
1174
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1177
1175
|
}
|
|
1178
1176
|
/**
|
|
1179
1177
|
* @returns {number | undefined}
|
|
1180
1178
|
*/
|
|
1181
1179
|
get maxDepth() {
|
|
1182
1180
|
const ret = wasm.wasmconversionoptionsupdate_maxDepth(this.__wbg_ptr);
|
|
1183
|
-
return ret ===
|
|
1181
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1184
1182
|
}
|
|
1185
1183
|
/**
|
|
1186
1184
|
* @returns {bigint | undefined}
|
|
@@ -1264,8 +1262,8 @@ export class WasmConversionOptionsUpdate {
|
|
|
1264
1262
|
var len9 = WASM_VECTOR_LEN;
|
|
1265
1263
|
var ptr10 = isLikeNone(exclude_selectors) ? 0 : passArrayJsValueToWasm0(exclude_selectors, wasm.__wbindgen_export);
|
|
1266
1264
|
var len10 = WASM_VECTOR_LEN;
|
|
1267
|
-
const ret = wasm.wasmconversionoptionsupdate_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ?
|
|
1268
|
-
this.__wbg_ptr = ret
|
|
1265
|
+
const ret = wasm.wasmconversionoptionsupdate_new(isLikeNone(heading_style) ? 3 : heading_style, isLikeNone(list_indent_type) ? 2 : list_indent_type, isLikeNone(list_indent_width) ? Number.MAX_SAFE_INTEGER : (list_indent_width) >>> 0, ptr0, len0, ptr1, len1, isLikeNone(escape_asterisks) ? 0xFFFFFF : escape_asterisks ? 1 : 0, isLikeNone(escape_underscores) ? 0xFFFFFF : escape_underscores ? 1 : 0, isLikeNone(escape_misc) ? 0xFFFFFF : escape_misc ? 1 : 0, isLikeNone(escape_ascii) ? 0xFFFFFF : escape_ascii ? 1 : 0, ptr2, len2, isLikeNone(autolinks) ? 0xFFFFFF : autolinks ? 1 : 0, isLikeNone(default_title) ? 0xFFFFFF : default_title ? 1 : 0, isLikeNone(br_in_tables) ? 0xFFFFFF : br_in_tables ? 1 : 0, isLikeNone(highlight_style) ? 4 : highlight_style, isLikeNone(extract_metadata) ? 0xFFFFFF : extract_metadata ? 1 : 0, isLikeNone(whitespace_mode) ? 2 : whitespace_mode, isLikeNone(strip_newlines) ? 0xFFFFFF : strip_newlines ? 1 : 0, isLikeNone(wrap) ? 0xFFFFFF : wrap ? 1 : 0, isLikeNone(wrap_width) ? Number.MAX_SAFE_INTEGER : (wrap_width) >>> 0, isLikeNone(convert_as_inline) ? 0xFFFFFF : convert_as_inline ? 1 : 0, ptr3, len3, ptr4, len4, isLikeNone(newline_style) ? 2 : newline_style, isLikeNone(code_block_style) ? 3 : code_block_style, ptr5, len5, ptr6, ptr7, len7, isLikeNone(debug) ? 0xFFFFFF : debug ? 1 : 0, ptr8, len8, ptr9, len9, isLikeNone(skip_images) ? 0xFFFFFF : skip_images ? 1 : 0, isLikeNone(link_style) ? 2 : link_style, isLikeNone(output_format) ? 3 : output_format, isLikeNone(include_document_structure) ? 0xFFFFFF : include_document_structure ? 1 : 0, isLikeNone(extract_images) ? 0xFFFFFF : extract_images ? 1 : 0, !isLikeNone(max_image_size), isLikeNone(max_image_size) ? BigInt(0) : max_image_size, isLikeNone(capture_svg) ? 0xFFFFFF : capture_svg ? 1 : 0, isLikeNone(infer_dimensions) ? 0xFFFFFF : infer_dimensions ? 1 : 0, isLikeNone(max_depth) ? Number.MAX_SAFE_INTEGER : (max_depth) >>> 0, ptr10, len10);
|
|
1266
|
+
this.__wbg_ptr = ret;
|
|
1269
1267
|
WasmConversionOptionsUpdateFinalization.register(this, this.__wbg_ptr, this);
|
|
1270
1268
|
return this;
|
|
1271
1269
|
}
|
|
@@ -1467,13 +1465,13 @@ export class WasmConversionOptionsUpdate {
|
|
|
1467
1465
|
* @param {number | null} [value]
|
|
1468
1466
|
*/
|
|
1469
1467
|
set listIndentWidth(value) {
|
|
1470
|
-
wasm.wasmconversionoptionsupdate_set_listIndentWidth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1468
|
+
wasm.wasmconversionoptionsupdate_set_listIndentWidth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1471
1469
|
}
|
|
1472
1470
|
/**
|
|
1473
1471
|
* @param {number | null} [value]
|
|
1474
1472
|
*/
|
|
1475
1473
|
set maxDepth(value) {
|
|
1476
|
-
wasm.wasmconversionoptionsupdate_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1474
|
+
wasm.wasmconversionoptionsupdate_set_maxDepth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1477
1475
|
}
|
|
1478
1476
|
/**
|
|
1479
1477
|
* @param {bigint | null} [value]
|
|
@@ -1572,7 +1570,7 @@ export class WasmConversionOptionsUpdate {
|
|
|
1572
1570
|
* @param {number | null} [value]
|
|
1573
1571
|
*/
|
|
1574
1572
|
set wrapWidth(value) {
|
|
1575
|
-
wasm.wasmconversionoptionsupdate_set_wrapWidth(this.__wbg_ptr, isLikeNone(value) ?
|
|
1573
|
+
wasm.wasmconversionoptionsupdate_set_wrapWidth(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
1576
1574
|
}
|
|
1577
1575
|
/**
|
|
1578
1576
|
* @returns {boolean | undefined}
|
|
@@ -1683,7 +1681,7 @@ export class WasmConversionOptionsUpdate {
|
|
|
1683
1681
|
*/
|
|
1684
1682
|
get wrapWidth() {
|
|
1685
1683
|
const ret = wasm.wasmconversionoptionsupdate_wrapWidth(this.__wbg_ptr);
|
|
1686
|
-
return ret ===
|
|
1684
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
1687
1685
|
}
|
|
1688
1686
|
}
|
|
1689
1687
|
if (Symbol.dispose) WasmConversionOptionsUpdate.prototype[Symbol.dispose] = WasmConversionOptionsUpdate.prototype.free;
|
|
@@ -1706,7 +1704,6 @@ if (Symbol.dispose) WasmConversionOptionsUpdate.prototype[Symbol.dispose] = Wasm
|
|
|
1706
1704
|
*/
|
|
1707
1705
|
export class WasmConversionResult {
|
|
1708
1706
|
static __wrap(ptr) {
|
|
1709
|
-
ptr = ptr >>> 0;
|
|
1710
1707
|
const obj = Object.create(WasmConversionResult.prototype);
|
|
1711
1708
|
obj.__wbg_ptr = ptr;
|
|
1712
1709
|
WasmConversionResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1799,7 +1796,7 @@ export class WasmConversionResult {
|
|
|
1799
1796
|
ptr5 = document.__destroy_into_raw();
|
|
1800
1797
|
}
|
|
1801
1798
|
const ret = wasm.wasmconversionresult_new(ptr0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5);
|
|
1802
|
-
this.__wbg_ptr = ret
|
|
1799
|
+
this.__wbg_ptr = ret;
|
|
1803
1800
|
WasmConversionResultFinalization.register(this, this.__wbg_ptr, this);
|
|
1804
1801
|
return this;
|
|
1805
1802
|
}
|
|
@@ -1911,7 +1908,6 @@ if (Symbol.dispose) WasmConversionResult.prototype[Symbol.dispose] = WasmConvers
|
|
|
1911
1908
|
*/
|
|
1912
1909
|
export class WasmDocumentMetadata {
|
|
1913
1910
|
static __wrap(ptr) {
|
|
1914
|
-
ptr = ptr >>> 0;
|
|
1915
1911
|
const obj = Object.create(WasmDocumentMetadata.prototype);
|
|
1916
1912
|
obj.__wbg_ptr = ptr;
|
|
1917
1913
|
WasmDocumentMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2074,7 +2070,7 @@ export class WasmDocumentMetadata {
|
|
|
2074
2070
|
var ptr6 = isLikeNone(language) ? 0 : passStringToWasm0(language, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2075
2071
|
var len6 = WASM_VECTOR_LEN;
|
|
2076
2072
|
const ret = wasm.wasmdocumentmetadata_new(ptr0, len0, isLikeNone(open_graph) ? 0 : addHeapObject(open_graph), isLikeNone(twitter_card) ? 0 : addHeapObject(twitter_card), isLikeNone(meta_tags) ? 0 : addHeapObject(meta_tags), ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4, ptr5, len5, ptr6, len6, isLikeNone(text_direction) ? 3 : text_direction);
|
|
2077
|
-
this.__wbg_ptr = ret
|
|
2073
|
+
this.__wbg_ptr = ret;
|
|
2078
2074
|
WasmDocumentMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2079
2075
|
return this;
|
|
2080
2076
|
}
|
|
@@ -2206,7 +2202,6 @@ if (Symbol.dispose) WasmDocumentMetadata.prototype[Symbol.dispose] = WasmDocumen
|
|
|
2206
2202
|
*/
|
|
2207
2203
|
export class WasmDocumentNode {
|
|
2208
2204
|
static __wrap(ptr) {
|
|
2209
|
-
ptr = ptr >>> 0;
|
|
2210
2205
|
const obj = Object.create(WasmDocumentNode.prototype);
|
|
2211
2206
|
obj.__wbg_ptr = ptr;
|
|
2212
2207
|
WasmDocumentNodeFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2308,8 +2303,8 @@ export class WasmDocumentNode {
|
|
|
2308
2303
|
const len1 = WASM_VECTOR_LEN;
|
|
2309
2304
|
const ptr2 = passArrayJsValueToWasm0(annotations, wasm.__wbindgen_export);
|
|
2310
2305
|
const len2 = WASM_VECTOR_LEN;
|
|
2311
|
-
const ret = wasm.wasmdocumentnode_new(ptr0, len0, content, ptr1, len1, ptr2, len2, isLikeNone(parent) ?
|
|
2312
|
-
this.__wbg_ptr = ret
|
|
2306
|
+
const ret = wasm.wasmdocumentnode_new(ptr0, len0, content, ptr1, len1, ptr2, len2, isLikeNone(parent) ? Number.MAX_SAFE_INTEGER : (parent) >>> 0, isLikeNone(attributes) ? 0 : addHeapObject(attributes));
|
|
2307
|
+
this.__wbg_ptr = ret;
|
|
2313
2308
|
WasmDocumentNodeFinalization.register(this, this.__wbg_ptr, this);
|
|
2314
2309
|
return this;
|
|
2315
2310
|
}
|
|
@@ -2318,7 +2313,7 @@ export class WasmDocumentNode {
|
|
|
2318
2313
|
*/
|
|
2319
2314
|
get parent() {
|
|
2320
2315
|
const ret = wasm.wasmdocumentnode_parent(this.__wbg_ptr);
|
|
2321
|
-
return ret ===
|
|
2316
|
+
return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
|
|
2322
2317
|
}
|
|
2323
2318
|
/**
|
|
2324
2319
|
* @param {WasmTextAnnotation[]} value
|
|
@@ -2360,7 +2355,7 @@ export class WasmDocumentNode {
|
|
|
2360
2355
|
* @param {number | null} [value]
|
|
2361
2356
|
*/
|
|
2362
2357
|
set parent(value) {
|
|
2363
|
-
wasm.wasmdocumentnode_set_parent(this.__wbg_ptr, isLikeNone(value) ?
|
|
2358
|
+
wasm.wasmdocumentnode_set_parent(this.__wbg_ptr, isLikeNone(value) ? Number.MAX_SAFE_INTEGER : (value) >>> 0);
|
|
2364
2359
|
}
|
|
2365
2360
|
}
|
|
2366
2361
|
if (Symbol.dispose) WasmDocumentNode.prototype[Symbol.dispose] = WasmDocumentNode.prototype.free;
|
|
@@ -2372,7 +2367,6 @@ if (Symbol.dispose) WasmDocumentNode.prototype[Symbol.dispose] = WasmDocumentNod
|
|
|
2372
2367
|
*/
|
|
2373
2368
|
export class WasmDocumentStructure {
|
|
2374
2369
|
static __wrap(ptr) {
|
|
2375
|
-
ptr = ptr >>> 0;
|
|
2376
2370
|
const obj = Object.create(WasmDocumentStructure.prototype);
|
|
2377
2371
|
obj.__wbg_ptr = ptr;
|
|
2378
2372
|
WasmDocumentStructureFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2398,7 +2392,7 @@ export class WasmDocumentStructure {
|
|
|
2398
2392
|
var ptr1 = isLikeNone(source_format) ? 0 : passStringToWasm0(source_format, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2399
2393
|
var len1 = WASM_VECTOR_LEN;
|
|
2400
2394
|
const ret = wasm.wasmdocumentstructure_new(ptr0, len0, ptr1, len1);
|
|
2401
|
-
this.__wbg_ptr = ret
|
|
2395
|
+
this.__wbg_ptr = ret;
|
|
2402
2396
|
WasmDocumentStructureFinalization.register(this, this.__wbg_ptr, this);
|
|
2403
2397
|
return this;
|
|
2404
2398
|
}
|
|
@@ -2461,7 +2455,6 @@ if (Symbol.dispose) WasmDocumentStructure.prototype[Symbol.dispose] = WasmDocume
|
|
|
2461
2455
|
*/
|
|
2462
2456
|
export class WasmGridCell {
|
|
2463
2457
|
static __wrap(ptr) {
|
|
2464
|
-
ptr = ptr >>> 0;
|
|
2465
2458
|
const obj = Object.create(WasmGridCell.prototype);
|
|
2466
2459
|
obj.__wbg_ptr = ptr;
|
|
2467
2460
|
WasmGridCellFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2535,7 +2528,7 @@ export class WasmGridCell {
|
|
|
2535
2528
|
const ptr0 = passStringToWasm0(content, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2536
2529
|
const len0 = WASM_VECTOR_LEN;
|
|
2537
2530
|
const ret = wasm.wasmgridcell_new(ptr0, len0, row, col, row_span, col_span, is_header);
|
|
2538
|
-
this.__wbg_ptr = ret
|
|
2531
|
+
this.__wbg_ptr = ret;
|
|
2539
2532
|
WasmGridCellFinalization.register(this, this.__wbg_ptr, this);
|
|
2540
2533
|
return this;
|
|
2541
2534
|
}
|
|
@@ -2618,7 +2611,6 @@ if (Symbol.dispose) WasmGridCell.prototype[Symbol.dispose] = WasmGridCell.protot
|
|
|
2618
2611
|
*/
|
|
2619
2612
|
export class WasmHeaderMetadata {
|
|
2620
2613
|
static __wrap(ptr) {
|
|
2621
|
-
ptr = ptr >>> 0;
|
|
2622
2614
|
const obj = Object.create(WasmHeaderMetadata.prototype);
|
|
2623
2615
|
obj.__wbg_ptr = ptr;
|
|
2624
2616
|
WasmHeaderMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2728,7 +2720,7 @@ export class WasmHeaderMetadata {
|
|
|
2728
2720
|
var ptr1 = isLikeNone(id) ? 0 : passStringToWasm0(id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
2729
2721
|
var len1 = WASM_VECTOR_LEN;
|
|
2730
2722
|
const ret = wasm.wasmheadermetadata_new(level, ptr0, len0, depth, html_offset, ptr1, len1);
|
|
2731
|
-
this.__wbg_ptr = ret
|
|
2723
|
+
this.__wbg_ptr = ret;
|
|
2732
2724
|
WasmHeaderMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2733
2725
|
return this;
|
|
2734
2726
|
}
|
|
@@ -2836,7 +2828,6 @@ export const WasmHighlightStyle = Object.freeze({
|
|
|
2836
2828
|
*/
|
|
2837
2829
|
export class WasmHtmlMetadata {
|
|
2838
2830
|
static __wrap(ptr) {
|
|
2839
|
-
ptr = ptr >>> 0;
|
|
2840
2831
|
const obj = Object.create(WasmHtmlMetadata.prototype);
|
|
2841
2832
|
obj.__wbg_ptr = ptr;
|
|
2842
2833
|
WasmHtmlMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -2929,7 +2920,7 @@ export class WasmHtmlMetadata {
|
|
|
2929
2920
|
var ptr4 = isLikeNone(structured_data) ? 0 : passArrayJsValueToWasm0(structured_data, wasm.__wbindgen_export);
|
|
2930
2921
|
var len4 = WASM_VECTOR_LEN;
|
|
2931
2922
|
const ret = wasm.wasmhtmlmetadata_new(ptr0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
|
|
2932
|
-
this.__wbg_ptr = ret
|
|
2923
|
+
this.__wbg_ptr = ret;
|
|
2933
2924
|
WasmHtmlMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
2934
2925
|
return this;
|
|
2935
2926
|
}
|
|
@@ -3016,7 +3007,6 @@ if (Symbol.dispose) WasmHtmlMetadata.prototype[Symbol.dispose] = WasmHtmlMetadat
|
|
|
3016
3007
|
*/
|
|
3017
3008
|
export class WasmImageMetadata {
|
|
3018
3009
|
static __wrap(ptr) {
|
|
3019
|
-
ptr = ptr >>> 0;
|
|
3020
3010
|
const obj = Object.create(WasmImageMetadata.prototype);
|
|
3021
3011
|
obj.__wbg_ptr = ptr;
|
|
3022
3012
|
WasmImageMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3108,7 +3098,7 @@ export class WasmImageMetadata {
|
|
|
3108
3098
|
var ptr3 = isLikeNone(dimensions) ? 0 : passArray32ToWasm0(dimensions, wasm.__wbindgen_export);
|
|
3109
3099
|
var len3 = WASM_VECTOR_LEN;
|
|
3110
3100
|
const ret = wasm.wasmimagemetadata_new(ptr0, len0, image_type, addHeapObject(attributes), ptr1, len1, ptr2, len2, ptr3, len3);
|
|
3111
|
-
this.__wbg_ptr = ret
|
|
3101
|
+
this.__wbg_ptr = ret;
|
|
3112
3102
|
WasmImageMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
3113
3103
|
return this;
|
|
3114
3104
|
}
|
|
@@ -3234,7 +3224,6 @@ export const WasmImageType = Object.freeze({
|
|
|
3234
3224
|
*/
|
|
3235
3225
|
export class WasmLinkMetadata {
|
|
3236
3226
|
static __wrap(ptr) {
|
|
3237
|
-
ptr = ptr >>> 0;
|
|
3238
3227
|
const obj = Object.create(WasmLinkMetadata.prototype);
|
|
3239
3228
|
obj.__wbg_ptr = ptr;
|
|
3240
3229
|
WasmLinkMetadataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3336,7 +3325,7 @@ export class WasmLinkMetadata {
|
|
|
3336
3325
|
var ptr3 = isLikeNone(title) ? 0 : passStringToWasm0(title, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3337
3326
|
var len3 = WASM_VECTOR_LEN;
|
|
3338
3327
|
const ret = wasm.wasmlinkmetadata_new(ptr0, len0, ptr1, len1, link_type, ptr2, len2, addHeapObject(attributes), ptr3, len3);
|
|
3339
|
-
this.__wbg_ptr = ret
|
|
3328
|
+
this.__wbg_ptr = ret;
|
|
3340
3329
|
WasmLinkMetadataFinalization.register(this, this.__wbg_ptr, this);
|
|
3341
3330
|
return this;
|
|
3342
3331
|
}
|
|
@@ -3572,7 +3561,7 @@ export class WasmNodeContext {
|
|
|
3572
3561
|
var ptr1 = isLikeNone(parent_tag) ? 0 : passStringToWasm0(parent_tag, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
3573
3562
|
var len1 = WASM_VECTOR_LEN;
|
|
3574
3563
|
const ret = wasm.wasmnodecontext_new(node_type, ptr0, len0, addHeapObject(attributes), depth, index_in_parent, is_inline, ptr1, len1);
|
|
3575
|
-
this.__wbg_ptr = ret
|
|
3564
|
+
this.__wbg_ptr = ret;
|
|
3576
3565
|
WasmNodeContextFinalization.register(this, this.__wbg_ptr, this);
|
|
3577
3566
|
return this;
|
|
3578
3567
|
}
|
|
@@ -3785,7 +3774,6 @@ export const WasmOutputFormat = Object.freeze({
|
|
|
3785
3774
|
*/
|
|
3786
3775
|
export class WasmPreprocessingOptions {
|
|
3787
3776
|
static __wrap(ptr) {
|
|
3788
|
-
ptr = ptr >>> 0;
|
|
3789
3777
|
const obj = Object.create(WasmPreprocessingOptions.prototype);
|
|
3790
3778
|
obj.__wbg_ptr = ptr;
|
|
3791
3779
|
WasmPreprocessingOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3871,7 +3859,7 @@ export class WasmPreprocessingOptions {
|
|
|
3871
3859
|
*/
|
|
3872
3860
|
constructor(enabled, preset, remove_navigation, remove_forms) {
|
|
3873
3861
|
const ret = wasm.wasmpreprocessingoptions_new(isLikeNone(enabled) ? 0xFFFFFF : enabled ? 1 : 0, isLikeNone(preset) ? 3 : preset, isLikeNone(remove_navigation) ? 0xFFFFFF : remove_navigation ? 1 : 0, isLikeNone(remove_forms) ? 0xFFFFFF : remove_forms ? 1 : 0);
|
|
3874
|
-
this.__wbg_ptr = ret
|
|
3862
|
+
this.__wbg_ptr = ret;
|
|
3875
3863
|
WasmPreprocessingOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
3876
3864
|
return this;
|
|
3877
3865
|
}
|
|
@@ -3932,7 +3920,6 @@ if (Symbol.dispose) WasmPreprocessingOptions.prototype[Symbol.dispose] = WasmPre
|
|
|
3932
3920
|
*/
|
|
3933
3921
|
export class WasmPreprocessingOptionsUpdate {
|
|
3934
3922
|
static __wrap(ptr) {
|
|
3935
|
-
ptr = ptr >>> 0;
|
|
3936
3923
|
const obj = Object.create(WasmPreprocessingOptionsUpdate.prototype);
|
|
3937
3924
|
obj.__wbg_ptr = ptr;
|
|
3938
3925
|
WasmPreprocessingOptionsUpdateFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -3963,7 +3950,7 @@ export class WasmPreprocessingOptionsUpdate {
|
|
|
3963
3950
|
*/
|
|
3964
3951
|
constructor(enabled, preset, remove_navigation, remove_forms) {
|
|
3965
3952
|
const ret = wasm.wasmpreprocessingoptionsupdate_new(isLikeNone(enabled) ? 0xFFFFFF : enabled ? 1 : 0, isLikeNone(preset) ? 3 : preset, isLikeNone(remove_navigation) ? 0xFFFFFF : remove_navigation ? 1 : 0, isLikeNone(remove_forms) ? 0xFFFFFF : remove_forms ? 1 : 0);
|
|
3966
|
-
this.__wbg_ptr = ret
|
|
3953
|
+
this.__wbg_ptr = ret;
|
|
3967
3954
|
WasmPreprocessingOptionsUpdateFinalization.register(this, this.__wbg_ptr, this);
|
|
3968
3955
|
return this;
|
|
3969
3956
|
}
|
|
@@ -4032,7 +4019,6 @@ export const WasmPreprocessingPreset = Object.freeze({
|
|
|
4032
4019
|
*/
|
|
4033
4020
|
export class WasmProcessingWarning {
|
|
4034
4021
|
static __wrap(ptr) {
|
|
4035
|
-
ptr = ptr >>> 0;
|
|
4036
4022
|
const obj = Object.create(WasmProcessingWarning.prototype);
|
|
4037
4023
|
obj.__wbg_ptr = ptr;
|
|
4038
4024
|
WasmProcessingWarningFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4088,7 +4074,7 @@ export class WasmProcessingWarning {
|
|
|
4088
4074
|
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4089
4075
|
const len0 = WASM_VECTOR_LEN;
|
|
4090
4076
|
const ret = wasm.wasmprocessingwarning_new(ptr0, len0, kind);
|
|
4091
|
-
this.__wbg_ptr = ret
|
|
4077
|
+
this.__wbg_ptr = ret;
|
|
4092
4078
|
WasmProcessingWarningFinalization.register(this, this.__wbg_ptr, this);
|
|
4093
4079
|
return this;
|
|
4094
4080
|
}
|
|
@@ -4130,7 +4116,6 @@ if (Symbol.dispose) WasmProcessingWarning.prototype[Symbol.dispose] = WasmProces
|
|
|
4130
4116
|
*/
|
|
4131
4117
|
export class WasmStructuredData {
|
|
4132
4118
|
static __wrap(ptr) {
|
|
4133
|
-
ptr = ptr >>> 0;
|
|
4134
4119
|
const obj = Object.create(WasmStructuredData.prototype);
|
|
4135
4120
|
obj.__wbg_ptr = ptr;
|
|
4136
4121
|
WasmStructuredDataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4170,7 +4155,7 @@ export class WasmStructuredData {
|
|
|
4170
4155
|
var ptr1 = isLikeNone(schema_type) ? 0 : passStringToWasm0(schema_type, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4171
4156
|
var len1 = WASM_VECTOR_LEN;
|
|
4172
4157
|
const ret = wasm.wasmstructureddata_new(data_type, ptr0, len0, ptr1, len1);
|
|
4173
|
-
this.__wbg_ptr = ret
|
|
4158
|
+
this.__wbg_ptr = ret;
|
|
4174
4159
|
WasmStructuredDataFinalization.register(this, this.__wbg_ptr, this);
|
|
4175
4160
|
return this;
|
|
4176
4161
|
}
|
|
@@ -4254,7 +4239,6 @@ export const WasmStructuredDataType = Object.freeze({
|
|
|
4254
4239
|
*/
|
|
4255
4240
|
export class WasmTableData {
|
|
4256
4241
|
static __wrap(ptr) {
|
|
4257
|
-
ptr = ptr >>> 0;
|
|
4258
4242
|
const obj = Object.create(WasmTableData.prototype);
|
|
4259
4243
|
obj.__wbg_ptr = ptr;
|
|
4260
4244
|
WasmTableDataFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4312,7 +4296,7 @@ export class WasmTableData {
|
|
|
4312
4296
|
const ptr1 = passStringToWasm0(markdown, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
4313
4297
|
const len1 = WASM_VECTOR_LEN;
|
|
4314
4298
|
const ret = wasm.wasmtabledata_new(ptr0, ptr1, len1);
|
|
4315
|
-
this.__wbg_ptr = ret
|
|
4299
|
+
this.__wbg_ptr = ret;
|
|
4316
4300
|
WasmTableDataFinalization.register(this, this.__wbg_ptr, this);
|
|
4317
4301
|
return this;
|
|
4318
4302
|
}
|
|
@@ -4340,7 +4324,6 @@ if (Symbol.dispose) WasmTableData.prototype[Symbol.dispose] = WasmTableData.prot
|
|
|
4340
4324
|
*/
|
|
4341
4325
|
export class WasmTableGrid {
|
|
4342
4326
|
static __wrap(ptr) {
|
|
4343
|
-
ptr = ptr >>> 0;
|
|
4344
4327
|
const obj = Object.create(WasmTableGrid.prototype);
|
|
4345
4328
|
obj.__wbg_ptr = ptr;
|
|
4346
4329
|
WasmTableGridFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4387,8 +4370,8 @@ export class WasmTableGrid {
|
|
|
4387
4370
|
constructor(rows, cols, cells) {
|
|
4388
4371
|
var ptr0 = isLikeNone(cells) ? 0 : passArrayJsValueToWasm0(cells, wasm.__wbindgen_export);
|
|
4389
4372
|
var len0 = WASM_VECTOR_LEN;
|
|
4390
|
-
const ret = wasm.wasmtablegrid_new(isLikeNone(rows) ?
|
|
4391
|
-
this.__wbg_ptr = ret
|
|
4373
|
+
const ret = wasm.wasmtablegrid_new(isLikeNone(rows) ? Number.MAX_SAFE_INTEGER : (rows) >>> 0, isLikeNone(cols) ? Number.MAX_SAFE_INTEGER : (cols) >>> 0, ptr0, len0);
|
|
4374
|
+
this.__wbg_ptr = ret;
|
|
4392
4375
|
WasmTableGridFinalization.register(this, this.__wbg_ptr, this);
|
|
4393
4376
|
return this;
|
|
4394
4377
|
}
|
|
@@ -4429,7 +4412,6 @@ if (Symbol.dispose) WasmTableGrid.prototype[Symbol.dispose] = WasmTableGrid.prot
|
|
|
4429
4412
|
*/
|
|
4430
4413
|
export class WasmTextAnnotation {
|
|
4431
4414
|
static __wrap(ptr) {
|
|
4432
|
-
ptr = ptr >>> 0;
|
|
4433
4415
|
const obj = Object.create(WasmTextAnnotation.prototype);
|
|
4434
4416
|
obj.__wbg_ptr = ptr;
|
|
4435
4417
|
WasmTextAnnotationFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -4472,7 +4454,7 @@ export class WasmTextAnnotation {
|
|
|
4472
4454
|
*/
|
|
4473
4455
|
constructor(start, end, kind) {
|
|
4474
4456
|
const ret = wasm.wasmtextannotation_new(start, end, kind);
|
|
4475
|
-
this.__wbg_ptr = ret
|
|
4457
|
+
this.__wbg_ptr = ret;
|
|
4476
4458
|
WasmTextAnnotationFinalization.register(this, this.__wbg_ptr, this);
|
|
4477
4459
|
return this;
|
|
4478
4460
|
}
|
|
@@ -4584,23 +4566,23 @@ export function convert(html, options, visitor) {
|
|
|
4584
4566
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
4585
4567
|
}
|
|
4586
4568
|
}
|
|
4587
|
-
export function
|
|
4569
|
+
export function __wbg_Error_3639a60ed15f87e7(arg0, arg1) {
|
|
4588
4570
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
4589
4571
|
return addHeapObject(ret);
|
|
4590
4572
|
}
|
|
4591
|
-
export function
|
|
4573
|
+
export function __wbg___wbindgen_is_function_2f0fd7ceb86e64c5(arg0) {
|
|
4592
4574
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
4593
4575
|
return ret;
|
|
4594
4576
|
}
|
|
4595
|
-
export function
|
|
4577
|
+
export function __wbg___wbindgen_is_string_eddc07a3efad52e6(arg0) {
|
|
4596
4578
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
4597
4579
|
return ret;
|
|
4598
4580
|
}
|
|
4599
|
-
export function
|
|
4581
|
+
export function __wbg___wbindgen_is_undefined_244a92c34d3b6ec0(arg0) {
|
|
4600
4582
|
const ret = getObject(arg0) === undefined;
|
|
4601
4583
|
return ret;
|
|
4602
4584
|
}
|
|
4603
|
-
export function
|
|
4585
|
+
export function __wbg___wbindgen_string_get_965592073e5d848c(arg0, arg1) {
|
|
4604
4586
|
const obj = getObject(arg1);
|
|
4605
4587
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
4606
4588
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -4608,45 +4590,45 @@ export function __wbg___wbindgen_string_get_7ed5322991caaec5(arg0, arg1) {
|
|
|
4608
4590
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4609
4591
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4610
4592
|
}
|
|
4611
|
-
export function
|
|
4593
|
+
export function __wbg___wbindgen_throw_9c75d47bf9e7731e(arg0, arg1) {
|
|
4612
4594
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4613
4595
|
}
|
|
4614
|
-
export function
|
|
4596
|
+
export function __wbg_apply_0f21c8b7ff1b23f8() { return handleError(function (arg0, arg1, arg2) {
|
|
4615
4597
|
const ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));
|
|
4616
4598
|
return addHeapObject(ret);
|
|
4617
4599
|
}, arguments); }
|
|
4618
|
-
export function
|
|
4600
|
+
export function __wbg_get_41476db20fef99a8() { return handleError(function (arg0, arg1) {
|
|
4619
4601
|
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
4620
4602
|
return addHeapObject(ret);
|
|
4621
4603
|
}, arguments); }
|
|
4622
|
-
export function
|
|
4604
|
+
export function __wbg_has_3a6f31f647e0ba22() { return handleError(function (arg0, arg1) {
|
|
4623
4605
|
const ret = Reflect.has(getObject(arg0), getObject(arg1));
|
|
4624
4606
|
return ret;
|
|
4625
4607
|
}, arguments); }
|
|
4626
|
-
export function
|
|
4627
|
-
const ret = new
|
|
4608
|
+
export function __wbg_new_2fad8ca02fd00684() {
|
|
4609
|
+
const ret = new Object();
|
|
4628
4610
|
return addHeapObject(ret);
|
|
4629
4611
|
}
|
|
4630
|
-
export function
|
|
4612
|
+
export function __wbg_new_3baa8d9866155c79() {
|
|
4631
4613
|
const ret = new Array();
|
|
4632
4614
|
return addHeapObject(ret);
|
|
4633
4615
|
}
|
|
4634
|
-
export function
|
|
4635
|
-
const ret = new
|
|
4616
|
+
export function __wbg_new_46ae4e4ff2a07a64() {
|
|
4617
|
+
const ret = new Map();
|
|
4636
4618
|
return addHeapObject(ret);
|
|
4637
4619
|
}
|
|
4638
|
-
export function
|
|
4620
|
+
export function __wbg_push_60a5366c0bb22a7d(arg0, arg1) {
|
|
4639
4621
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
4640
4622
|
return ret;
|
|
4641
4623
|
}
|
|
4642
|
-
export function
|
|
4624
|
+
export function __wbg_set_5337f8ac82364a3f() { return handleError(function (arg0, arg1, arg2) {
|
|
4643
4625
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
4644
4626
|
return ret;
|
|
4645
4627
|
}, arguments); }
|
|
4646
4628
|
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
4647
4629
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
4648
4630
|
}
|
|
4649
|
-
export function
|
|
4631
|
+
export function __wbg_set_82f7a370f604db70(arg0, arg1, arg2) {
|
|
4650
4632
|
const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
|
|
4651
4633
|
return addHeapObject(ret);
|
|
4652
4634
|
}
|
|
@@ -4741,64 +4723,64 @@ export function __wbindgen_object_drop_ref(arg0) {
|
|
|
4741
4723
|
}
|
|
4742
4724
|
const WasmConversionOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4743
4725
|
? { register: () => {}, unregister: () => {} }
|
|
4744
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptions_free(ptr
|
|
4726
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptions_free(ptr, 1));
|
|
4745
4727
|
const WasmConversionOptionsBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4746
4728
|
? { register: () => {}, unregister: () => {} }
|
|
4747
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsbuilder_free(ptr
|
|
4729
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsbuilder_free(ptr, 1));
|
|
4748
4730
|
const WasmConversionOptionsUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4749
4731
|
? { register: () => {}, unregister: () => {} }
|
|
4750
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsupdate_free(ptr
|
|
4732
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionoptionsupdate_free(ptr, 1));
|
|
4751
4733
|
const WasmConversionResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4752
4734
|
? { register: () => {}, unregister: () => {} }
|
|
4753
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionresult_free(ptr
|
|
4735
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmconversionresult_free(ptr, 1));
|
|
4754
4736
|
const WasmDocumentMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4755
4737
|
? { register: () => {}, unregister: () => {} }
|
|
4756
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentmetadata_free(ptr
|
|
4738
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentmetadata_free(ptr, 1));
|
|
4757
4739
|
const WasmDocumentNodeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4758
4740
|
? { register: () => {}, unregister: () => {} }
|
|
4759
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentnode_free(ptr
|
|
4741
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentnode_free(ptr, 1));
|
|
4760
4742
|
const WasmDocumentStructureFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4761
4743
|
? { register: () => {}, unregister: () => {} }
|
|
4762
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentstructure_free(ptr
|
|
4744
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentstructure_free(ptr, 1));
|
|
4763
4745
|
const WasmGridCellFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4764
4746
|
? { register: () => {}, unregister: () => {} }
|
|
4765
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmgridcell_free(ptr
|
|
4747
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmgridcell_free(ptr, 1));
|
|
4766
4748
|
const WasmHeaderMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4767
4749
|
? { register: () => {}, unregister: () => {} }
|
|
4768
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmheadermetadata_free(ptr
|
|
4750
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmheadermetadata_free(ptr, 1));
|
|
4769
4751
|
const WasmHtmlMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4770
4752
|
? { register: () => {}, unregister: () => {} }
|
|
4771
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmhtmlmetadata_free(ptr
|
|
4753
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmhtmlmetadata_free(ptr, 1));
|
|
4772
4754
|
const WasmImageMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4773
4755
|
? { register: () => {}, unregister: () => {} }
|
|
4774
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmimagemetadata_free(ptr
|
|
4756
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmimagemetadata_free(ptr, 1));
|
|
4775
4757
|
const WasmLinkMetadataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4776
4758
|
? { register: () => {}, unregister: () => {} }
|
|
4777
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmlinkmetadata_free(ptr
|
|
4759
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmlinkmetadata_free(ptr, 1));
|
|
4778
4760
|
const WasmNodeContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4779
4761
|
? { register: () => {}, unregister: () => {} }
|
|
4780
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmnodecontext_free(ptr
|
|
4762
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmnodecontext_free(ptr, 1));
|
|
4781
4763
|
const WasmPreprocessingOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4782
4764
|
? { register: () => {}, unregister: () => {} }
|
|
4783
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptions_free(ptr
|
|
4765
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptions_free(ptr, 1));
|
|
4784
4766
|
const WasmPreprocessingOptionsUpdateFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4785
4767
|
? { register: () => {}, unregister: () => {} }
|
|
4786
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptionsupdate_free(ptr
|
|
4768
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmpreprocessingoptionsupdate_free(ptr, 1));
|
|
4787
4769
|
const WasmProcessingWarningFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4788
4770
|
? { register: () => {}, unregister: () => {} }
|
|
4789
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmprocessingwarning_free(ptr
|
|
4771
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmprocessingwarning_free(ptr, 1));
|
|
4790
4772
|
const WasmStructuredDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4791
4773
|
? { register: () => {}, unregister: () => {} }
|
|
4792
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmstructureddata_free(ptr
|
|
4774
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmstructureddata_free(ptr, 1));
|
|
4793
4775
|
const WasmTableDataFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4794
4776
|
? { register: () => {}, unregister: () => {} }
|
|
4795
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtabledata_free(ptr
|
|
4777
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtabledata_free(ptr, 1));
|
|
4796
4778
|
const WasmTableGridFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4797
4779
|
? { register: () => {}, unregister: () => {} }
|
|
4798
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtablegrid_free(ptr
|
|
4780
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtablegrid_free(ptr, 1));
|
|
4799
4781
|
const WasmTextAnnotationFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
4800
4782
|
? { register: () => {}, unregister: () => {} }
|
|
4801
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtextannotation_free(ptr
|
|
4783
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wasmtextannotation_free(ptr, 1));
|
|
4802
4784
|
|
|
4803
4785
|
function addHeapObject(obj) {
|
|
4804
4786
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
@@ -4845,8 +4827,7 @@ function getDataViewMemory0() {
|
|
|
4845
4827
|
}
|
|
4846
4828
|
|
|
4847
4829
|
function getStringFromWasm0(ptr, len) {
|
|
4848
|
-
|
|
4849
|
-
return decodeText(ptr, len);
|
|
4830
|
+
return decodeText(ptr >>> 0, len);
|
|
4850
4831
|
}
|
|
4851
4832
|
|
|
4852
4833
|
let cachedUint32ArrayMemory0 = null;
|
|
Binary file
|