pdf-oxide-wasm 0.3.40 → 0.3.42

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/web/pdf_oxide.js CHANGED
@@ -26,7 +26,6 @@ export const Align = Object.freeze({
26
26
  */
27
27
  export class ArtifactStyle {
28
28
  static __wrap(ptr) {
29
- ptr = ptr >>> 0;
30
29
  const obj = Object.create(ArtifactStyle.prototype);
31
30
  obj.__wbg_ptr = ptr;
32
31
  ArtifactStyleFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -81,7 +80,7 @@ export class ArtifactStyle {
81
80
  */
82
81
  constructor() {
83
82
  const ret = wasm.wasmartifactstyle_new();
84
- this.__wbg_ptr = ret >>> 0;
83
+ this.__wbg_ptr = ret;
85
84
  ArtifactStyleFinalization.register(this, this.__wbg_ptr, this);
86
85
  return this;
87
86
  }
@@ -101,7 +100,6 @@ if (Symbol.dispose) ArtifactStyle.prototype[Symbol.dispose] = ArtifactStyle.prot
101
100
  */
102
101
  export class StreamingTable {
103
102
  static __wrap(ptr) {
104
- ptr = ptr >>> 0;
105
103
  const obj = Object.create(StreamingTable.prototype);
106
104
  obj.__wbg_ptr = ptr;
107
105
  StreamingTableFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -215,7 +213,6 @@ if (Symbol.dispose) StreamingTable.prototype[Symbol.dispose] = StreamingTable.pr
215
213
  */
216
214
  export class WasmArtifact {
217
215
  static __wrap(ptr) {
218
- ptr = ptr >>> 0;
219
216
  const obj = Object.create(WasmArtifact.prototype);
220
217
  obj.__wbg_ptr = ptr;
221
218
  WasmArtifactFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -258,7 +255,7 @@ export class WasmArtifact {
258
255
  */
259
256
  constructor() {
260
257
  const ret = wasm.wasmartifact_new();
261
- this.__wbg_ptr = ret >>> 0;
258
+ this.__wbg_ptr = ret;
262
259
  WasmArtifactFinalization.register(this, this.__wbg_ptr, this);
263
260
  return this;
264
261
  }
@@ -304,7 +301,6 @@ if (Symbol.dispose) WasmArtifact.prototype[Symbol.dispose] = WasmArtifact.protot
304
301
  */
305
302
  export class WasmCertificate {
306
303
  static __wrap(ptr) {
307
- ptr = ptr >>> 0;
308
304
  const obj = Object.create(WasmCertificate.prototype);
309
305
  obj.__wbg_ptr = ptr;
310
306
  WasmCertificateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -719,7 +715,7 @@ export class WasmDocumentBuilder {
719
715
  */
720
716
  constructor() {
721
717
  const ret = wasm.wasmdocumentbuilder_new();
722
- this.__wbg_ptr = ret >>> 0;
718
+ this.__wbg_ptr = ret;
723
719
  WasmDocumentBuilderFinalization.register(this, this.__wbg_ptr, this);
724
720
  return this;
725
721
  }
@@ -908,7 +904,6 @@ if (Symbol.dispose) WasmDocumentBuilder.prototype[Symbol.dispose] = WasmDocument
908
904
  */
909
905
  export class WasmEmbeddedFont {
910
906
  static __wrap(ptr) {
911
- ptr = ptr >>> 0;
912
907
  const obj = Object.create(WasmEmbeddedFont.prototype);
913
908
  obj.__wbg_ptr = ptr;
914
909
  WasmEmbeddedFontFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -980,7 +975,6 @@ if (Symbol.dispose) WasmEmbeddedFont.prototype[Symbol.dispose] = WasmEmbeddedFon
980
975
  */
981
976
  export class WasmFluentPageBuilder {
982
977
  static __wrap(ptr) {
983
- ptr = ptr >>> 0;
984
978
  const obj = Object.create(WasmFluentPageBuilder.prototype);
985
979
  obj.__wbg_ptr = ptr;
986
980
  WasmFluentPageBuilderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2219,7 +2213,6 @@ if (Symbol.dispose) WasmFluentPageBuilder.prototype[Symbol.dispose] = WasmFluent
2219
2213
  */
2220
2214
  export class WasmFooter {
2221
2215
  static __wrap(ptr) {
2222
- ptr = ptr >>> 0;
2223
2216
  const obj = Object.create(WasmFooter.prototype);
2224
2217
  obj.__wbg_ptr = ptr;
2225
2218
  WasmFooterFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2262,7 +2255,7 @@ export class WasmFooter {
2262
2255
  */
2263
2256
  constructor() {
2264
2257
  const ret = wasm.wasmfooter_new();
2265
- this.__wbg_ptr = ret >>> 0;
2258
+ this.__wbg_ptr = ret;
2266
2259
  WasmFooterFinalization.register(this, this.__wbg_ptr, this);
2267
2260
  return this;
2268
2261
  }
@@ -2285,7 +2278,6 @@ if (Symbol.dispose) WasmFooter.prototype[Symbol.dispose] = WasmFooter.prototype.
2285
2278
  */
2286
2279
  export class WasmHeader {
2287
2280
  static __wrap(ptr) {
2288
- ptr = ptr >>> 0;
2289
2281
  const obj = Object.create(WasmHeader.prototype);
2290
2282
  obj.__wbg_ptr = ptr;
2291
2283
  WasmHeaderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2328,7 +2320,7 @@ export class WasmHeader {
2328
2320
  */
2329
2321
  constructor() {
2330
2322
  const ret = wasm.wasmheader_new();
2331
- this.__wbg_ptr = ret >>> 0;
2323
+ this.__wbg_ptr = ret;
2332
2324
  WasmHeaderFinalization.register(this, this.__wbg_ptr, this);
2333
2325
  return this;
2334
2326
  }
@@ -2365,7 +2357,7 @@ export class WasmOcrConfig {
2365
2357
  */
2366
2358
  constructor() {
2367
2359
  const ret = wasm.wasmocrconfig_new();
2368
- this.__wbg_ptr = ret >>> 0;
2360
+ this.__wbg_ptr = ret;
2369
2361
  WasmOcrConfigFinalization.register(this, this.__wbg_ptr, this);
2370
2362
  return this;
2371
2363
  }
@@ -2414,7 +2406,7 @@ export class WasmOcrEngine {
2414
2406
  if (r2) {
2415
2407
  throw takeObject(r1);
2416
2408
  }
2417
- this.__wbg_ptr = r0 >>> 0;
2409
+ this.__wbg_ptr = r0;
2418
2410
  WasmOcrEngineFinalization.register(this, this.__wbg_ptr, this);
2419
2411
  return this;
2420
2412
  } finally {
@@ -2429,7 +2421,6 @@ if (Symbol.dispose) WasmOcrEngine.prototype[Symbol.dispose] = WasmOcrEngine.prot
2429
2421
  */
2430
2422
  export class WasmPageTemplate {
2431
2423
  static __wrap(ptr) {
2432
- ptr = ptr >>> 0;
2433
2424
  const obj = Object.create(WasmPageTemplate.prototype);
2434
2425
  obj.__wbg_ptr = ptr;
2435
2426
  WasmPageTemplateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2472,7 +2463,7 @@ export class WasmPageTemplate {
2472
2463
  */
2473
2464
  constructor() {
2474
2465
  const ret = wasm.wasmpagetemplate_new();
2475
- this.__wbg_ptr = ret >>> 0;
2466
+ this.__wbg_ptr = ret;
2476
2467
  WasmPageTemplateFinalization.register(this, this.__wbg_ptr, this);
2477
2468
  return this;
2478
2469
  }
@@ -2499,7 +2490,6 @@ if (Symbol.dispose) WasmPageTemplate.prototype[Symbol.dispose] = WasmPageTemplat
2499
2490
  */
2500
2491
  export class WasmPdf {
2501
2492
  static __wrap(ptr) {
2502
- ptr = ptr >>> 0;
2503
2493
  const obj = Object.create(WasmPdf.prototype);
2504
2494
  obj.__wbg_ptr = ptr;
2505
2495
  WasmPdfFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2895,6 +2885,31 @@ export class WasmPdfDocument {
2895
2885
  wasm.__wbindgen_add_to_stack_pointer(16);
2896
2886
  }
2897
2887
  }
2888
+ /**
2889
+ * Convert the document to PDF/A compliance.
2890
+ *
2891
+ * Level must be one of: `"1a"`, `"1b"`, `"2a"`, `"2b"`, `"2u"`, `"3a"`, `"3b"`, `"3u"`.
2892
+ * Returns a JS object with `success`, `level`, `actions`, and `errors` fields.
2893
+ * @param {string} level
2894
+ * @returns {any}
2895
+ */
2896
+ convertToPdfA(level) {
2897
+ try {
2898
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2899
+ const ptr0 = passStringToWasm0(level, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2900
+ const len0 = WASM_VECTOR_LEN;
2901
+ wasm.wasmpdfdocument_convertToPdfA(retptr, this.__wbg_ptr, ptr0, len0);
2902
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
2903
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
2904
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
2905
+ if (r2) {
2906
+ throw takeObject(r1);
2907
+ }
2908
+ return takeObject(r0);
2909
+ } finally {
2910
+ wasm.__wbindgen_add_to_stack_pointer(16);
2911
+ }
2912
+ }
2898
2913
  /**
2899
2914
  * Crop margins from all pages.
2900
2915
  * @param {number} left
@@ -3631,7 +3646,7 @@ export class WasmPdfDocument {
3631
3646
  flattenToImages(dpi) {
3632
3647
  try {
3633
3648
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3634
- wasm.wasmpdfdocument_flattenToImages(retptr, this.__wbg_ptr, isLikeNone(dpi) ? 0x100000001 : (dpi) >>> 0);
3649
+ wasm.wasmpdfdocument_flattenToImages(retptr, this.__wbg_ptr, isLikeNone(dpi) ? Number.MAX_SAFE_INTEGER : (dpi) >>> 0);
3635
3650
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3636
3651
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3637
3652
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -3877,7 +3892,7 @@ export class WasmPdfDocument {
3877
3892
  if (r2) {
3878
3893
  throw takeObject(r1);
3879
3894
  }
3880
- this.__wbg_ptr = r0 >>> 0;
3895
+ this.__wbg_ptr = r0;
3881
3896
  WasmPdfDocumentFinalization.register(this, this.__wbg_ptr, this);
3882
3897
  return this;
3883
3898
  } finally {
@@ -4099,7 +4114,7 @@ export class WasmPdfDocument {
4099
4114
  renderPage(page_index, dpi) {
4100
4115
  try {
4101
4116
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4102
- wasm.wasmpdfdocument_renderPage(retptr, this.__wbg_ptr, page_index, isLikeNone(dpi) ? 0x100000001 : (dpi) >>> 0);
4117
+ wasm.wasmpdfdocument_renderPage(retptr, this.__wbg_ptr, page_index, isLikeNone(dpi) ? Number.MAX_SAFE_INTEGER : (dpi) >>> 0);
4103
4118
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4104
4119
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4105
4120
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4327,7 +4342,7 @@ export class WasmPdfDocument {
4327
4342
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4328
4343
  const ptr0 = passStringToWasm0(pattern, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4329
4344
  const len0 = WASM_VECTOR_LEN;
4330
- wasm.wasmpdfdocument_search(retptr, this.__wbg_ptr, ptr0, len0, isLikeNone(case_insensitive) ? 0xFFFFFF : case_insensitive ? 1 : 0, isLikeNone(literal) ? 0xFFFFFF : literal ? 1 : 0, isLikeNone(whole_word) ? 0xFFFFFF : whole_word ? 1 : 0, isLikeNone(max_results) ? 0x100000001 : (max_results) >>> 0);
4345
+ wasm.wasmpdfdocument_search(retptr, this.__wbg_ptr, ptr0, len0, isLikeNone(case_insensitive) ? 0xFFFFFF : case_insensitive ? 1 : 0, isLikeNone(literal) ? 0xFFFFFF : literal ? 1 : 0, isLikeNone(whole_word) ? 0xFFFFFF : whole_word ? 1 : 0, isLikeNone(max_results) ? Number.MAX_SAFE_INTEGER : (max_results) >>> 0);
4331
4346
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4332
4347
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4333
4348
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4354,7 +4369,7 @@ export class WasmPdfDocument {
4354
4369
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
4355
4370
  const ptr0 = passStringToWasm0(pattern, wasm.__wbindgen_export, wasm.__wbindgen_export2);
4356
4371
  const len0 = WASM_VECTOR_LEN;
4357
- wasm.wasmpdfdocument_searchPage(retptr, this.__wbg_ptr, page_index, ptr0, len0, isLikeNone(case_insensitive) ? 0xFFFFFF : case_insensitive ? 1 : 0, isLikeNone(literal) ? 0xFFFFFF : literal ? 1 : 0, isLikeNone(whole_word) ? 0xFFFFFF : whole_word ? 1 : 0, isLikeNone(max_results) ? 0x100000001 : (max_results) >>> 0);
4372
+ wasm.wasmpdfdocument_searchPage(retptr, this.__wbg_ptr, page_index, ptr0, len0, isLikeNone(case_insensitive) ? 0xFFFFFF : case_insensitive ? 1 : 0, isLikeNone(literal) ? 0xFFFFFF : literal ? 1 : 0, isLikeNone(whole_word) ? 0xFFFFFF : whole_word ? 1 : 0, isLikeNone(max_results) ? Number.MAX_SAFE_INTEGER : (max_results) >>> 0);
4358
4373
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
4359
4374
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
4360
4375
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -4927,7 +4942,6 @@ if (Symbol.dispose) WasmPdfDocument.prototype[Symbol.dispose] = WasmPdfDocument.
4927
4942
  */
4928
4943
  export class WasmPdfPageRegion {
4929
4944
  static __wrap(ptr) {
4930
- ptr = ptr >>> 0;
4931
4945
  const obj = Object.create(WasmPdfPageRegion.prototype);
4932
4946
  obj.__wbg_ptr = ptr;
4933
4947
  WasmPdfPageRegionFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5168,7 +5182,6 @@ if (Symbol.dispose) WasmPdfPageRegion.prototype[Symbol.dispose] = WasmPdfPageReg
5168
5182
  */
5169
5183
  export class WasmSignature {
5170
5184
  static __wrap(ptr) {
5171
- ptr = ptr >>> 0;
5172
5185
  const obj = Object.create(WasmSignature.prototype);
5173
5186
  obj.__wbg_ptr = ptr;
5174
5187
  WasmSignatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5361,7 +5374,6 @@ if (Symbol.dispose) WasmSignature.prototype[Symbol.dispose] = WasmSignature.prot
5361
5374
  */
5362
5375
  export class WasmTimestamp {
5363
5376
  static __wrap(ptr) {
5364
- ptr = ptr >>> 0;
5365
5377
  const obj = Object.create(WasmTimestamp.prototype);
5366
5378
  obj.__wbg_ptr = ptr;
5367
5379
  WasmTimestampFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5528,6 +5540,77 @@ export function disableLogging() {
5528
5540
  wasm.disableLogging();
5529
5541
  }
5530
5542
 
5543
+ /**
5544
+ * Generate a 1D barcode as an SVG string.
5545
+ *
5546
+ * `barcodeType`: 0=Code128, 1=Code39, 2=EAN13, 3=EAN8, 4=UPCA, 5=ITF, 6=Code93, 7=Codabar.
5547
+ * @param {number} barcode_type
5548
+ * @param {string} data
5549
+ * @returns {string}
5550
+ */
5551
+ export function generateBarcodeSvg(barcode_type, data) {
5552
+ let deferred3_0;
5553
+ let deferred3_1;
5554
+ try {
5555
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5556
+ const ptr0 = passStringToWasm0(data, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5557
+ const len0 = WASM_VECTOR_LEN;
5558
+ wasm.generateBarcodeSvg(retptr, barcode_type, ptr0, len0);
5559
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5560
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5561
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5562
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
5563
+ var ptr2 = r0;
5564
+ var len2 = r1;
5565
+ if (r3) {
5566
+ ptr2 = 0; len2 = 0;
5567
+ throw takeObject(r2);
5568
+ }
5569
+ deferred3_0 = ptr2;
5570
+ deferred3_1 = len2;
5571
+ return getStringFromWasm0(ptr2, len2);
5572
+ } finally {
5573
+ wasm.__wbindgen_add_to_stack_pointer(16);
5574
+ wasm.__wbindgen_export4(deferred3_0, deferred3_1, 1);
5575
+ }
5576
+ }
5577
+
5578
+ /**
5579
+ * Generate a QR code as an SVG string.
5580
+ *
5581
+ * `errorCorrection`: 0=Low, 1=Medium, 2=Quartile, 3=High. `size`: advisory pixel size.
5582
+ * @param {string} data
5583
+ * @param {number} error_correction
5584
+ * @param {number} size
5585
+ * @returns {string}
5586
+ */
5587
+ export function generateQrSvg(data, error_correction, size) {
5588
+ let deferred3_0;
5589
+ let deferred3_1;
5590
+ try {
5591
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5592
+ const ptr0 = passStringToWasm0(data, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5593
+ const len0 = WASM_VECTOR_LEN;
5594
+ wasm.generateQrSvg(retptr, ptr0, len0, error_correction, size);
5595
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5596
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5597
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
5598
+ var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
5599
+ var ptr2 = r0;
5600
+ var len2 = r1;
5601
+ if (r3) {
5602
+ ptr2 = 0; len2 = 0;
5603
+ throw takeObject(r2);
5604
+ }
5605
+ deferred3_0 = ptr2;
5606
+ deferred3_1 = len2;
5607
+ return getStringFromWasm0(ptr2, len2);
5608
+ } finally {
5609
+ wasm.__wbindgen_add_to_stack_pointer(16);
5610
+ wasm.__wbindgen_export4(deferred3_0, deferred3_1, 1);
5611
+ }
5612
+ }
5613
+
5531
5614
  /**
5532
5615
  * Set the maximum log level for pdf_oxide messages.
5533
5616
  *
@@ -5601,11 +5684,11 @@ export function signPdfBytes(pdf_data, cert, reason, location) {
5601
5684
  function __wbg_get_imports() {
5602
5685
  const import0 = {
5603
5686
  __proto__: null,
5604
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
5687
+ __wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
5605
5688
  const ret = Error(getStringFromWasm0(arg0, arg1));
5606
5689
  return addHeapObject(ret);
5607
5690
  },
5608
- __wbg_Number_32bf70a599af1d4b: function(arg0) {
5691
+ __wbg_Number_a3d737fd183f7dca: function(arg0) {
5609
5692
  const ret = Number(getObject(arg0));
5610
5693
  return ret;
5611
5694
  },
@@ -5616,68 +5699,68 @@ function __wbg_get_imports() {
5616
5699
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5617
5700
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5618
5701
  },
5619
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
5702
+ __wbg___wbindgen_bigint_get_as_i64_3af6d4ca77193a4b: function(arg0, arg1) {
5620
5703
  const v = getObject(arg1);
5621
5704
  const ret = typeof(v) === 'bigint' ? v : undefined;
5622
5705
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
5623
5706
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
5624
5707
  },
5625
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
5708
+ __wbg___wbindgen_boolean_get_c3dd5c39f1b5a12b: function(arg0) {
5626
5709
  const v = getObject(arg0);
5627
5710
  const ret = typeof(v) === 'boolean' ? v : undefined;
5628
5711
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
5629
5712
  },
5630
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
5713
+ __wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
5631
5714
  const ret = debugString(getObject(arg1));
5632
5715
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
5633
5716
  const len1 = WASM_VECTOR_LEN;
5634
5717
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5635
5718
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5636
5719
  },
5637
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
5720
+ __wbg___wbindgen_in_2617fa76397620d3: function(arg0, arg1) {
5638
5721
  const ret = getObject(arg0) in getObject(arg1);
5639
5722
  return ret;
5640
5723
  },
5641
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
5724
+ __wbg___wbindgen_is_bigint_d6a8167cac401b95: function(arg0) {
5642
5725
  const ret = typeof(getObject(arg0)) === 'bigint';
5643
5726
  return ret;
5644
5727
  },
5645
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
5728
+ __wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
5646
5729
  const ret = typeof(getObject(arg0)) === 'function';
5647
5730
  return ret;
5648
5731
  },
5649
- __wbg___wbindgen_is_null_52ff4ec04186736f: function(arg0) {
5732
+ __wbg___wbindgen_is_null_066086be3abe9bb3: function(arg0) {
5650
5733
  const ret = getObject(arg0) === null;
5651
5734
  return ret;
5652
5735
  },
5653
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
5736
+ __wbg___wbindgen_is_object_5b22ff2418063a9c: function(arg0) {
5654
5737
  const val = getObject(arg0);
5655
5738
  const ret = typeof(val) === 'object' && val !== null;
5656
5739
  return ret;
5657
5740
  },
5658
- __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
5741
+ __wbg___wbindgen_is_string_eddc07a3efad52e6: function(arg0) {
5659
5742
  const ret = typeof(getObject(arg0)) === 'string';
5660
5743
  return ret;
5661
5744
  },
5662
- __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
5745
+ __wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
5663
5746
  const ret = getObject(arg0) === undefined;
5664
5747
  return ret;
5665
5748
  },
5666
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
5749
+ __wbg___wbindgen_jsval_eq_403eaa3610500a25: function(arg0, arg1) {
5667
5750
  const ret = getObject(arg0) === getObject(arg1);
5668
5751
  return ret;
5669
5752
  },
5670
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
5753
+ __wbg___wbindgen_jsval_loose_eq_1978f1e77b4bce62: function(arg0, arg1) {
5671
5754
  const ret = getObject(arg0) == getObject(arg1);
5672
5755
  return ret;
5673
5756
  },
5674
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
5757
+ __wbg___wbindgen_number_get_dd6d69a6079f26f1: function(arg0, arg1) {
5675
5758
  const obj = getObject(arg1);
5676
5759
  const ret = typeof(obj) === 'number' ? obj : undefined;
5677
5760
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
5678
5761
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
5679
5762
  },
5680
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
5763
+ __wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
5681
5764
  const obj = getObject(arg1);
5682
5765
  const ret = typeof(obj) === 'string' ? obj : undefined;
5683
5766
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -5685,23 +5768,20 @@ function __wbg_get_imports() {
5685
5768
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5686
5769
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5687
5770
  },
5688
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
5771
+ __wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
5689
5772
  throw new Error(getStringFromWasm0(arg0, arg1));
5690
5773
  },
5691
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
5774
+ __wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
5692
5775
  const ret = getObject(arg0).call(getObject(arg1));
5693
5776
  return addHeapObject(ret);
5694
5777
  }, arguments); },
5695
- __wbg_debug_4e190d233ee2e0d8: function(arg0, arg1, arg2, arg3) {
5778
+ __wbg_debug_94a9fb2c3e2982f9: function(arg0, arg1, arg2, arg3) {
5696
5779
  console.debug(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5697
5780
  },
5698
- __wbg_done_9158f7cc8751ba32: function(arg0) {
5781
+ __wbg_done_b1afd6201ac045e0: function(arg0) {
5699
5782
  const ret = getObject(arg0).done;
5700
5783
  return ret;
5701
5784
  },
5702
- __wbg_error_a6a4bb2525a88971: function(arg0, arg1, arg2, arg3) {
5703
- console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5704
- },
5705
5785
  __wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
5706
5786
  let deferred0_0;
5707
5787
  let deferred0_1;
@@ -5713,34 +5793,37 @@ function __wbg_get_imports() {
5713
5793
  wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
5714
5794
  }
5715
5795
  },
5716
- __wbg_fromCodePoint_4592108dc134086a: function() { return handleError(function (arg0) {
5796
+ __wbg_error_e92447754a575869: function(arg0, arg1, arg2, arg3) {
5797
+ console.error(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5798
+ },
5799
+ __wbg_fromCodePoint_ac3a66d5b95b4ddf: function() { return handleError(function (arg0) {
5717
5800
  const ret = String.fromCodePoint(arg0 >>> 0);
5718
5801
  return addHeapObject(ret);
5719
5802
  }, arguments); },
5720
- __wbg_from_0dbf29f09e7fb200: function(arg0) {
5803
+ __wbg_from_ff141b1e4c69b979: function(arg0) {
5721
5804
  const ret = Array.from(getObject(arg0));
5722
5805
  return addHeapObject(ret);
5723
5806
  },
5724
5807
  __wbg_getRandomValues_ef12552bf5acd2fe: function() { return handleError(function (arg0, arg1) {
5725
5808
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
5726
5809
  }, arguments); },
5727
- __wbg_getTime_da7c55f52b71e8c6: function(arg0) {
5810
+ __wbg_getTime_e599bee315e19eba: function(arg0) {
5728
5811
  const ret = getObject(arg0).getTime();
5729
5812
  return ret;
5730
5813
  },
5731
- __wbg_getTimezoneOffset_31f57a5389d0d57c: function(arg0) {
5814
+ __wbg_getTimezoneOffset_d843b3968046e734: function(arg0) {
5732
5815
  const ret = getObject(arg0).getTimezoneOffset();
5733
5816
  return ret;
5734
5817
  },
5735
- __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
5736
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
5737
- return addHeapObject(ret);
5738
- }, arguments); },
5739
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
5818
+ __wbg_get_652f640b3b0b6e3e: function(arg0, arg1) {
5740
5819
  const ret = getObject(arg0)[arg1 >>> 0];
5741
5820
  return addHeapObject(ret);
5742
5821
  },
5743
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
5822
+ __wbg_get_9cfea9b7bbf12a15: function() { return handleError(function (arg0, arg1) {
5823
+ const ret = Reflect.get(getObject(arg0), getObject(arg1));
5824
+ return addHeapObject(ret);
5825
+ }, arguments); },
5826
+ __wbg_get_unchecked_be562b1421656321: function(arg0, arg1) {
5744
5827
  const ret = getObject(arg0)[arg1 >>> 0];
5745
5828
  return addHeapObject(ret);
5746
5829
  },
@@ -5748,10 +5831,10 @@ function __wbg_get_imports() {
5748
5831
  const ret = getObject(arg0)[getObject(arg1)];
5749
5832
  return addHeapObject(ret);
5750
5833
  },
5751
- __wbg_info_e1c3400f7bf783dc: function(arg0, arg1, arg2, arg3) {
5834
+ __wbg_info_eba996fb48d58831: function(arg0, arg1, arg2, arg3) {
5752
5835
  console.info(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5753
5836
  },
5754
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
5837
+ __wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
5755
5838
  let result;
5756
5839
  try {
5757
5840
  result = getObject(arg0) instanceof ArrayBuffer;
@@ -5761,7 +5844,7 @@ function __wbg_get_imports() {
5761
5844
  const ret = result;
5762
5845
  return ret;
5763
5846
  },
5764
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
5847
+ __wbg_instanceof_Uint8Array_57d77acd50e4c44d: function(arg0) {
5765
5848
  let result;
5766
5849
  try {
5767
5850
  result = getObject(arg0) instanceof Uint8Array;
@@ -5771,90 +5854,90 @@ function __wbg_get_imports() {
5771
5854
  const ret = result;
5772
5855
  return ret;
5773
5856
  },
5774
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
5857
+ __wbg_isArray_c6c6ef8308995bcf: function(arg0) {
5775
5858
  const ret = Array.isArray(getObject(arg0));
5776
5859
  return ret;
5777
5860
  },
5778
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
5861
+ __wbg_isSafeInteger_3c56c421a5b4cce4: function(arg0) {
5779
5862
  const ret = Number.isSafeInteger(getObject(arg0));
5780
5863
  return ret;
5781
5864
  },
5782
- __wbg_iterator_013bc09ec998c2a7: function() {
5865
+ __wbg_iterator_9d68985a1d096fc2: function() {
5783
5866
  const ret = Symbol.iterator;
5784
5867
  return addHeapObject(ret);
5785
5868
  },
5786
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
5869
+ __wbg_length_0a6ce016dc1460b0: function(arg0) {
5787
5870
  const ret = getObject(arg0).length;
5788
5871
  return ret;
5789
5872
  },
5790
- __wbg_length_9f1775224cf1d815: function(arg0) {
5873
+ __wbg_length_ba3c032602efe310: function(arg0) {
5791
5874
  const ret = getObject(arg0).length;
5792
5875
  return ret;
5793
5876
  },
5794
- __wbg_log_465fe3993e4051bf: function(arg0, arg1, arg2, arg3) {
5877
+ __wbg_log_36199e35916a41aa: function(arg0, arg1, arg2, arg3) {
5795
5878
  console.log(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5796
5879
  },
5797
- __wbg_new_0_4d657201ced14de3: function() {
5880
+ __wbg_new_0_e486ec9936f7edbf: function() {
5798
5881
  const ret = new Date();
5799
5882
  return addHeapObject(ret);
5800
5883
  },
5801
- __wbg_new_0c7403db6e782f19: function(arg0) {
5802
- const ret = new Uint8Array(getObject(arg0));
5803
- return addHeapObject(ret);
5804
- },
5805
5884
  __wbg_new_227d7c05414eb861: function() {
5806
5885
  const ret = new Error();
5807
5886
  return addHeapObject(ret);
5808
5887
  },
5809
- __wbg_new_34d45cc8e36aaead: function() {
5810
- const ret = new Map();
5888
+ __wbg_new_2fad8ca02fd00684: function() {
5889
+ const ret = new Object();
5811
5890
  return addHeapObject(ret);
5812
5891
  },
5813
- __wbg_new_682678e2f47e32bc: function() {
5892
+ __wbg_new_3baa8d9866155c79: function() {
5814
5893
  const ret = new Array();
5815
5894
  return addHeapObject(ret);
5816
5895
  },
5817
- __wbg_new_7913666fe5070684: function(arg0) {
5818
- const ret = new Date(getObject(arg0));
5896
+ __wbg_new_46ae4e4ff2a07a64: function() {
5897
+ const ret = new Map();
5819
5898
  return addHeapObject(ret);
5820
5899
  },
5821
- __wbg_new_aa8d0fa9762c29bd: function() {
5822
- const ret = new Object();
5900
+ __wbg_new_8454eee672b2ba6e: function(arg0) {
5901
+ const ret = new Uint8Array(getObject(arg0));
5823
5902
  return addHeapObject(ret);
5824
5903
  },
5825
- __wbg_new_from_slice_b5ea43e23f6008c0: function(arg0, arg1) {
5826
- const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
5904
+ __wbg_new_b47e026ba742fe65: function(arg0) {
5905
+ const ret = new Date(getObject(arg0));
5827
5906
  return addHeapObject(ret);
5828
5907
  },
5829
- __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
5830
- const ret = getObject(arg0).next();
5908
+ __wbg_new_from_slice_5a173c243af2e823: function(arg0, arg1) {
5909
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
5831
5910
  return addHeapObject(ret);
5832
- }, arguments); },
5833
- __wbg_next_7646edaa39458ef7: function(arg0) {
5911
+ },
5912
+ __wbg_next_261c3c48c6e309a5: function(arg0) {
5834
5913
  const ret = getObject(arg0).next;
5835
5914
  return addHeapObject(ret);
5836
5915
  },
5837
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
5916
+ __wbg_next_aacee310bcfe6461: function() { return handleError(function (arg0) {
5917
+ const ret = getObject(arg0).next();
5918
+ return addHeapObject(ret);
5919
+ }, arguments); },
5920
+ __wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
5838
5921
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
5839
5922
  },
5840
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
5923
+ __wbg_push_60a5366c0bb22a7d: function(arg0, arg1) {
5841
5924
  const ret = getObject(arg0).push(getObject(arg1));
5842
5925
  return ret;
5843
5926
  },
5844
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
5927
+ __wbg_set_5337f8ac82364a3f: function() { return handleError(function (arg0, arg1, arg2) {
5845
5928
  const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
5846
5929
  return ret;
5847
5930
  }, arguments); },
5848
- __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
5849
- getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5850
- },
5851
5931
  __wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
5852
5932
  getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
5853
5933
  },
5854
- __wbg_set_fde2cec06c23692b: function(arg0, arg1, arg2) {
5934
+ __wbg_set_82f7a370f604db70: function(arg0, arg1, arg2) {
5855
5935
  const ret = getObject(arg0).set(getObject(arg1), getObject(arg2));
5856
5936
  return addHeapObject(ret);
5857
5937
  },
5938
+ __wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
5939
+ getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
5940
+ },
5858
5941
  __wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
5859
5942
  const ret = getObject(arg1).stack;
5860
5943
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
@@ -5862,11 +5945,11 @@ function __wbg_get_imports() {
5862
5945
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
5863
5946
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
5864
5947
  },
5865
- __wbg_value_ee3a06f4579184fa: function(arg0) {
5948
+ __wbg_value_f852716acdeb3e82: function(arg0) {
5866
5949
  const ret = getObject(arg0).value;
5867
5950
  return addHeapObject(ret);
5868
5951
  },
5869
- __wbg_warn_ad997e36628bd23a: function(arg0, arg1, arg2, arg3) {
5952
+ __wbg_warn_d258f6e2da5e0422: function(arg0, arg1, arg2, arg3) {
5870
5953
  console.warn(getObject(arg0), getObject(arg1), getObject(arg2), getObject(arg3));
5871
5954
  },
5872
5955
  __wbg_wasmsignature_new: function(arg0) {
@@ -5909,55 +5992,55 @@ function __wbg_get_imports() {
5909
5992
 
5910
5993
  const WasmArtifactFinalization = (typeof FinalizationRegistry === 'undefined')
5911
5994
  ? { register: () => {}, unregister: () => {} }
5912
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmartifact_free(ptr >>> 0, 1));
5995
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmartifact_free(ptr, 1));
5913
5996
  const ArtifactStyleFinalization = (typeof FinalizationRegistry === 'undefined')
5914
5997
  ? { register: () => {}, unregister: () => {} }
5915
- : new FinalizationRegistry(ptr => wasm.__wbg_artifactstyle_free(ptr >>> 0, 1));
5998
+ : new FinalizationRegistry(ptr => wasm.__wbg_artifactstyle_free(ptr, 1));
5916
5999
  const WasmCertificateFinalization = (typeof FinalizationRegistry === 'undefined')
5917
6000
  ? { register: () => {}, unregister: () => {} }
5918
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmcertificate_free(ptr >>> 0, 1));
6001
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmcertificate_free(ptr, 1));
5919
6002
  const WasmDocumentBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
5920
6003
  ? { register: () => {}, unregister: () => {} }
5921
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentbuilder_free(ptr >>> 0, 1));
6004
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmdocumentbuilder_free(ptr, 1));
5922
6005
  const WasmEmbeddedFontFinalization = (typeof FinalizationRegistry === 'undefined')
5923
6006
  ? { register: () => {}, unregister: () => {} }
5924
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmembeddedfont_free(ptr >>> 0, 1));
6007
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmembeddedfont_free(ptr, 1));
5925
6008
  const WasmFluentPageBuilderFinalization = (typeof FinalizationRegistry === 'undefined')
5926
6009
  ? { register: () => {}, unregister: () => {} }
5927
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmfluentpagebuilder_free(ptr >>> 0, 1));
6010
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmfluentpagebuilder_free(ptr, 1));
5928
6011
  const WasmFooterFinalization = (typeof FinalizationRegistry === 'undefined')
5929
6012
  ? { register: () => {}, unregister: () => {} }
5930
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmfooter_free(ptr >>> 0, 1));
6013
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmfooter_free(ptr, 1));
5931
6014
  const WasmHeaderFinalization = (typeof FinalizationRegistry === 'undefined')
5932
6015
  ? { register: () => {}, unregister: () => {} }
5933
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmheader_free(ptr >>> 0, 1));
6016
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmheader_free(ptr, 1));
5934
6017
  const WasmOcrConfigFinalization = (typeof FinalizationRegistry === 'undefined')
5935
6018
  ? { register: () => {}, unregister: () => {} }
5936
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmocrconfig_free(ptr >>> 0, 1));
6019
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmocrconfig_free(ptr, 1));
5937
6020
  const WasmOcrEngineFinalization = (typeof FinalizationRegistry === 'undefined')
5938
6021
  ? { register: () => {}, unregister: () => {} }
5939
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmocrengine_free(ptr >>> 0, 1));
6022
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmocrengine_free(ptr, 1));
5940
6023
  const WasmPageTemplateFinalization = (typeof FinalizationRegistry === 'undefined')
5941
6024
  ? { register: () => {}, unregister: () => {} }
5942
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmpagetemplate_free(ptr >>> 0, 1));
6025
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmpagetemplate_free(ptr, 1));
5943
6026
  const WasmPdfFinalization = (typeof FinalizationRegistry === 'undefined')
5944
6027
  ? { register: () => {}, unregister: () => {} }
5945
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdf_free(ptr >>> 0, 1));
6028
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdf_free(ptr, 1));
5946
6029
  const WasmPdfDocumentFinalization = (typeof FinalizationRegistry === 'undefined')
5947
6030
  ? { register: () => {}, unregister: () => {} }
5948
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdfdocument_free(ptr >>> 0, 1));
6031
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdfdocument_free(ptr, 1));
5949
6032
  const WasmPdfPageRegionFinalization = (typeof FinalizationRegistry === 'undefined')
5950
6033
  ? { register: () => {}, unregister: () => {} }
5951
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdfpageregion_free(ptr >>> 0, 1));
6034
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmpdfpageregion_free(ptr, 1));
5952
6035
  const WasmSignatureFinalization = (typeof FinalizationRegistry === 'undefined')
5953
6036
  ? { register: () => {}, unregister: () => {} }
5954
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmsignature_free(ptr >>> 0, 1));
6037
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmsignature_free(ptr, 1));
5955
6038
  const StreamingTableFinalization = (typeof FinalizationRegistry === 'undefined')
5956
6039
  ? { register: () => {}, unregister: () => {} }
5957
- : new FinalizationRegistry(ptr => wasm.__wbg_streamingtable_free(ptr >>> 0, 1));
6040
+ : new FinalizationRegistry(ptr => wasm.__wbg_streamingtable_free(ptr, 1));
5958
6041
  const WasmTimestampFinalization = (typeof FinalizationRegistry === 'undefined')
5959
6042
  ? { register: () => {}, unregister: () => {} }
5960
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmtimestamp_free(ptr >>> 0, 1));
6043
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmtimestamp_free(ptr, 1));
5961
6044
 
5962
6045
  function addHeapObject(obj) {
5963
6046
  if (heap_next === heap.length) heap.push(heap.length + 1);
@@ -6095,8 +6178,7 @@ function getFloat32ArrayMemory0() {
6095
6178
  }
6096
6179
 
6097
6180
  function getStringFromWasm0(ptr, len) {
6098
- ptr = ptr >>> 0;
6099
- return decodeText(ptr, len);
6181
+ return decodeText(ptr >>> 0, len);
6100
6182
  }
6101
6183
 
6102
6184
  let cachedUint32ArrayMemory0 = null;
@@ -6237,8 +6319,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
6237
6319
 
6238
6320
  let WASM_VECTOR_LEN = 0;
6239
6321
 
6240
- let wasmModule, wasm;
6322
+ let wasmModule, wasmInstance, wasm;
6241
6323
  function __wbg_finalize_init(instance, module) {
6324
+ wasmInstance = instance;
6242
6325
  wasm = instance.exports;
6243
6326
  wasmModule = module;
6244
6327
  cachedBigInt64ArrayMemory0 = null;