@flywheel-io/fw-file-rs 0.3.13 → 0.3.15

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/dcm/dcm.d.ts CHANGED
@@ -67,16 +67,16 @@ export interface InitOutput {
67
67
  readonly deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
68
68
  readonly __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
69
69
  readonly group_series: (a: any, b: any, c: number) => any;
70
+ readonly wasm_bindgen__convert__closures_____invoke__hb8fb879a4264a98e: (a: number, b: number, c: any) => void;
71
+ readonly wasm_bindgen__closure__destroy__h36adb6ac56d42d4a: (a: number, b: number) => void;
72
+ readonly wasm_bindgen__convert__closures_____invoke__h2d19168b1b4d7c20: (a: number, b: number, c: any, d: any) => void;
70
73
  readonly __wbindgen_malloc: (a: number, b: number) => number;
71
74
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
72
75
  readonly __wbindgen_exn_store: (a: number) => void;
73
76
  readonly __externref_table_alloc: () => number;
74
- readonly __wbindgen_export_4: WebAssembly.Table;
75
- readonly __wbindgen_export_5: WebAssembly.Table;
77
+ readonly __wbindgen_externrefs: WebAssembly.Table;
76
78
  readonly __externref_table_dealloc: (a: number) => void;
77
79
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
78
- readonly closure43_externref_shim: (a: number, b: number, c: any) => void;
79
- readonly closure1140_externref_shim: (a: number, b: number, c: any, d: any) => void;
80
80
  readonly __wbindgen_start: () => void;
81
81
  }
82
82
 
package/dcm/dcm.js CHANGED
@@ -93,26 +93,6 @@ function getDataViewMemory0() {
93
93
  return cachedDataViewMemory0;
94
94
  }
95
95
 
96
- function addToExternrefTable0(obj) {
97
- const idx = wasm.__externref_table_alloc();
98
- wasm.__wbindgen_export_4.set(idx, obj);
99
- return idx;
100
- }
101
-
102
- function handleError(f, args) {
103
- try {
104
- return f.apply(this, args);
105
- } catch (e) {
106
- const idx = addToExternrefTable0(e);
107
- wasm.__wbindgen_exn_store(idx);
108
- }
109
- }
110
-
111
- function getArrayU8FromWasm0(ptr, len) {
112
- ptr = ptr >>> 0;
113
- return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
114
- }
115
-
116
96
  function isLikeNone(x) {
117
97
  return x === undefined || x === null;
118
98
  }
@@ -182,13 +162,29 @@ function debugString(val) {
182
162
  return className;
183
163
  }
184
164
 
165
+ function addToExternrefTable0(obj) {
166
+ const idx = wasm.__externref_table_alloc();
167
+ wasm.__wbindgen_externrefs.set(idx, obj);
168
+ return idx;
169
+ }
170
+
171
+ function handleError(f, args) {
172
+ try {
173
+ return f.apply(this, args);
174
+ } catch (e) {
175
+ const idx = addToExternrefTable0(e);
176
+ wasm.__wbindgen_exn_store(idx);
177
+ }
178
+ }
179
+
180
+ function getArrayU8FromWasm0(ptr, len) {
181
+ ptr = ptr >>> 0;
182
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
183
+ }
184
+
185
185
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
186
186
  ? { register: () => {}, unregister: () => {} }
187
- : new FinalizationRegistry(
188
- state => {
189
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
190
- }
191
- );
187
+ : new FinalizationRegistry(state => state.dtor(state.a, state.b));
192
188
 
193
189
  function makeMutClosure(arg0, arg1, dtor, f) {
194
190
  const state = { a: arg0, b: arg1, cnt: 1, dtor };
@@ -203,21 +199,23 @@ function makeMutClosure(arg0, arg1, dtor, f) {
203
199
  try {
204
200
  return f(a, state.b, ...args);
205
201
  } finally {
206
- if (--state.cnt === 0) {
207
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
208
- CLOSURE_DTORS.unregister(state);
209
- } else {
210
- state.a = a;
211
- }
202
+ state.a = a;
203
+ real._wbg_cb_unref();
204
+ }
205
+ };
206
+ real._wbg_cb_unref = () => {
207
+ if (--state.cnt === 0) {
208
+ state.dtor(state.a, state.b);
209
+ state.a = 0;
210
+ CLOSURE_DTORS.unregister(state);
212
211
  }
213
212
  };
214
- real.original = state;
215
213
  CLOSURE_DTORS.register(real, state, state);
216
214
  return real;
217
215
  }
218
216
 
219
217
  function takeFromExternrefTable0(idx) {
220
- const value = wasm.__wbindgen_export_4.get(idx);
218
+ const value = wasm.__wbindgen_externrefs.get(idx);
221
219
  wasm.__externref_table_dealloc(idx);
222
220
  return value;
223
221
  }
@@ -303,12 +301,12 @@ export function group_series(path_meta_pairs, group_by_tags, split_localizer) {
303
301
  return ret;
304
302
  }
305
303
 
306
- function __wbg_adapter_14(arg0, arg1, arg2) {
307
- wasm.closure43_externref_shim(arg0, arg1, arg2);
304
+ function wasm_bindgen__convert__closures_____invoke__hb8fb879a4264a98e(arg0, arg1, arg2) {
305
+ wasm.wasm_bindgen__convert__closures_____invoke__hb8fb879a4264a98e(arg0, arg1, arg2);
308
306
  }
309
307
 
310
- function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
311
- wasm.closure1140_externref_shim(arg0, arg1, arg2, arg3);
308
+ function wasm_bindgen__convert__closures_____invoke__h2d19168b1b4d7c20(arg0, arg1, arg2, arg3) {
309
+ wasm.wasm_bindgen__convert__closures_____invoke__h2d19168b1b4d7c20(arg0, arg1, arg2, arg3);
312
310
  }
313
311
 
314
312
  const ContextFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -605,11 +603,11 @@ async function __wbg_load(module, imports) {
605
603
  function __wbg_get_imports() {
606
604
  const imports = {};
607
605
  imports.wbg = {};
608
- imports.wbg.__wbg_Error_e17e777aac105295 = function(arg0, arg1) {
606
+ imports.wbg.__wbg_Error_e83987f665cf5504 = function(arg0, arg1) {
609
607
  const ret = Error(getStringFromWasm0(arg0, arg1));
610
608
  return ret;
611
609
  };
612
- imports.wbg.__wbg_Number_998bea33bd87c3e0 = function(arg0) {
610
+ imports.wbg.__wbg_Number_bb48ca12f395cd08 = function(arg0) {
613
611
  const ret = Number(arg0);
614
612
  return ret;
615
613
  };
@@ -620,38 +618,113 @@ function __wbg_get_imports() {
620
618
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
621
619
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
622
620
  };
623
- imports.wbg.__wbg_arrayBuffer_2c907ed8e8ef4e35 = function(arg0) {
621
+ imports.wbg.__wbg___wbindgen_bigint_get_as_i64_f3ebc5a755000afd = function(arg0, arg1) {
622
+ const v = arg1;
623
+ const ret = typeof(v) === 'bigint' ? v : undefined;
624
+ getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
625
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
626
+ };
627
+ imports.wbg.__wbg___wbindgen_boolean_get_6d5a1ee65bab5f68 = function(arg0) {
628
+ const v = arg0;
629
+ const ret = typeof(v) === 'boolean' ? v : undefined;
630
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
631
+ };
632
+ imports.wbg.__wbg___wbindgen_debug_string_df47ffb5e35e6763 = function(arg0, arg1) {
633
+ const ret = debugString(arg1);
634
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
635
+ const len1 = WASM_VECTOR_LEN;
636
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
637
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
638
+ };
639
+ imports.wbg.__wbg___wbindgen_in_bb933bd9e1b3bc0f = function(arg0, arg1) {
640
+ const ret = arg0 in arg1;
641
+ return ret;
642
+ };
643
+ imports.wbg.__wbg___wbindgen_is_bigint_cb320707dcd35f0b = function(arg0) {
644
+ const ret = typeof(arg0) === 'bigint';
645
+ return ret;
646
+ };
647
+ imports.wbg.__wbg___wbindgen_is_function_ee8a6c5833c90377 = function(arg0) {
648
+ const ret = typeof(arg0) === 'function';
649
+ return ret;
650
+ };
651
+ imports.wbg.__wbg___wbindgen_is_null_5e69f72e906cc57c = function(arg0) {
652
+ const ret = arg0 === null;
653
+ return ret;
654
+ };
655
+ imports.wbg.__wbg___wbindgen_is_object_c818261d21f283a4 = function(arg0) {
656
+ const val = arg0;
657
+ const ret = typeof(val) === 'object' && val !== null;
658
+ return ret;
659
+ };
660
+ imports.wbg.__wbg___wbindgen_is_string_fbb76cb2940daafd = function(arg0) {
661
+ const ret = typeof(arg0) === 'string';
662
+ return ret;
663
+ };
664
+ imports.wbg.__wbg___wbindgen_is_undefined_2d472862bd29a478 = function(arg0) {
665
+ const ret = arg0 === undefined;
666
+ return ret;
667
+ };
668
+ imports.wbg.__wbg___wbindgen_jsval_eq_6b13ab83478b1c50 = function(arg0, arg1) {
669
+ const ret = arg0 === arg1;
670
+ return ret;
671
+ };
672
+ imports.wbg.__wbg___wbindgen_jsval_loose_eq_b664b38a2f582147 = function(arg0, arg1) {
673
+ const ret = arg0 == arg1;
674
+ return ret;
675
+ };
676
+ imports.wbg.__wbg___wbindgen_number_get_a20bf9b85341449d = function(arg0, arg1) {
677
+ const obj = arg1;
678
+ const ret = typeof(obj) === 'number' ? obj : undefined;
679
+ getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
680
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
681
+ };
682
+ imports.wbg.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
683
+ const obj = arg1;
684
+ const ret = typeof(obj) === 'string' ? obj : undefined;
685
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
686
+ var len1 = WASM_VECTOR_LEN;
687
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
688
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
689
+ };
690
+ imports.wbg.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
691
+ throw new Error(getStringFromWasm0(arg0, arg1));
692
+ };
693
+ imports.wbg.__wbg__wbg_cb_unref_2454a539ea5790d9 = function(arg0) {
694
+ arg0._wbg_cb_unref();
695
+ };
696
+ imports.wbg.__wbg_arrayBuffer_5930938a049abc90 = function(arg0) {
624
697
  const ret = arg0.arrayBuffer();
625
698
  return ret;
626
699
  };
627
- imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
628
- const ret = arg0.call(arg1);
700
+ imports.wbg.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
701
+ const ret = arg0.call(arg1, arg2);
629
702
  return ret;
630
703
  }, arguments) };
631
- imports.wbg.__wbg_call_a5400b25a865cfd8 = function() { return handleError(function (arg0, arg1, arg2) {
632
- const ret = arg0.call(arg1, arg2);
704
+ imports.wbg.__wbg_call_e762c39fa8ea36bf = function() { return handleError(function (arg0, arg1) {
705
+ const ret = arg0.call(arg1);
633
706
  return ret;
634
707
  }, arguments) };
635
- imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
708
+ imports.wbg.__wbg_done_2042aa2670fb1db1 = function(arg0) {
636
709
  const ret = arg0.done;
637
710
  return ret;
638
711
  };
639
- imports.wbg.__wbg_entries_2be2f15bd5554996 = function(arg0) {
712
+ imports.wbg.__wbg_entries_e171b586f8f6bdbf = function(arg0) {
640
713
  const ret = Object.entries(arg0);
641
714
  return ret;
642
715
  };
643
716
  imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
644
717
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
645
718
  }, arguments) };
646
- imports.wbg.__wbg_get_0da715ceaecea5c8 = function(arg0, arg1) {
719
+ imports.wbg.__wbg_get_7bed016f185add81 = function(arg0, arg1) {
647
720
  const ret = arg0[arg1 >>> 0];
648
721
  return ret;
649
722
  };
650
- imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
723
+ imports.wbg.__wbg_get_efcb449f58ec27c2 = function() { return handleError(function (arg0, arg1) {
651
724
  const ret = Reflect.get(arg0, arg1);
652
725
  return ret;
653
726
  }, arguments) };
654
- imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
727
+ imports.wbg.__wbg_instanceof_ArrayBuffer_70beb1189ca63b38 = function(arg0) {
655
728
  let result;
656
729
  try {
657
730
  result = arg0 instanceof ArrayBuffer;
@@ -661,7 +734,7 @@ function __wbg_get_imports() {
661
734
  const ret = result;
662
735
  return ret;
663
736
  };
664
- imports.wbg.__wbg_instanceof_Map_ebb01a5b6b5ffd0b = function(arg0) {
737
+ imports.wbg.__wbg_instanceof_Map_8579b5e2ab5437c7 = function(arg0) {
665
738
  let result;
666
739
  try {
667
740
  result = arg0 instanceof Map;
@@ -671,7 +744,7 @@ function __wbg_get_imports() {
671
744
  const ret = result;
672
745
  return ret;
673
746
  };
674
- imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
747
+ imports.wbg.__wbg_instanceof_Uint8Array_20c8e73002f7af98 = function(arg0) {
675
748
  let result;
676
749
  try {
677
750
  result = arg0 instanceof Uint8Array;
@@ -681,42 +754,38 @@ function __wbg_get_imports() {
681
754
  const ret = result;
682
755
  return ret;
683
756
  };
684
- imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) {
757
+ imports.wbg.__wbg_isArray_96e0af9891d0945d = function(arg0) {
685
758
  const ret = Array.isArray(arg0);
686
759
  return ret;
687
760
  };
688
- imports.wbg.__wbg_isSafeInteger_1c0d1af5542e102a = function(arg0) {
761
+ imports.wbg.__wbg_isSafeInteger_d216eda7911dde36 = function(arg0) {
689
762
  const ret = Number.isSafeInteger(arg0);
690
763
  return ret;
691
764
  };
692
- imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
765
+ imports.wbg.__wbg_iterator_e5822695327a3c39 = function() {
693
766
  const ret = Symbol.iterator;
694
767
  return ret;
695
768
  };
696
- imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
769
+ imports.wbg.__wbg_length_69bca3cb64fc8748 = function(arg0) {
697
770
  const ret = arg0.length;
698
771
  return ret;
699
772
  };
700
- imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
773
+ imports.wbg.__wbg_length_cdd215e10d9dd507 = function(arg0) {
701
774
  const ret = arg0.length;
702
775
  return ret;
703
776
  };
704
- imports.wbg.__wbg_new_19c25a3f2fa63a02 = function() {
777
+ imports.wbg.__wbg_new_1acc0b6eea89d040 = function() {
705
778
  const ret = new Object();
706
779
  return ret;
707
780
  };
708
- imports.wbg.__wbg_new_1f3a344cf3123716 = function() {
709
- const ret = new Array();
710
- return ret;
711
- };
712
- imports.wbg.__wbg_new_2e3c58a15f39f5f9 = function(arg0, arg1) {
781
+ imports.wbg.__wbg_new_3c3d849046688a66 = function(arg0, arg1) {
713
782
  try {
714
783
  var state0 = {a: arg0, b: arg1};
715
784
  var cb0 = (arg0, arg1) => {
716
785
  const a = state0.a;
717
786
  state0.a = 0;
718
787
  try {
719
- return __wbg_adapter_94(a, state0.b, arg0, arg1);
788
+ return wasm_bindgen__convert__closures_____invoke__h2d19168b1b4d7c20(a, state0.b, arg0, arg1);
720
789
  } finally {
721
790
  state0.a = a;
722
791
  }
@@ -727,171 +796,94 @@ function __wbg_get_imports() {
727
796
  state0.a = state0.b = 0;
728
797
  }
729
798
  };
730
- imports.wbg.__wbg_new_2ff1f68f3676ea53 = function() {
799
+ imports.wbg.__wbg_new_5a79be3ab53b8aa5 = function(arg0) {
800
+ const ret = new Uint8Array(arg0);
801
+ return ret;
802
+ };
803
+ imports.wbg.__wbg_new_68651c719dcda04e = function() {
731
804
  const ret = new Map();
732
805
  return ret;
733
806
  };
734
- imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
735
- const ret = new Uint8Array(arg0);
807
+ imports.wbg.__wbg_new_e17d9f43105b08be = function() {
808
+ const ret = new Array();
736
809
  return ret;
737
810
  };
738
- imports.wbg.__wbg_newfromslice_074c56947bd43469 = function(arg0, arg1) {
811
+ imports.wbg.__wbg_new_from_slice_92f4d78ca282a2d2 = function(arg0, arg1) {
739
812
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
740
813
  return ret;
741
814
  };
742
- imports.wbg.__wbg_newnoargs_254190557c45b4ec = function(arg0, arg1) {
815
+ imports.wbg.__wbg_new_no_args_ee98eee5275000a4 = function(arg0, arg1) {
743
816
  const ret = new Function(getStringFromWasm0(arg0, arg1));
744
817
  return ret;
745
818
  };
746
- imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
747
- const ret = arg0.next;
748
- return ret;
749
- };
750
- imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
819
+ imports.wbg.__wbg_next_020810e0ae8ebcb0 = function() { return handleError(function (arg0) {
751
820
  const ret = arg0.next();
752
821
  return ret;
753
822
  }, arguments) };
754
- imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
755
- Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
823
+ imports.wbg.__wbg_next_2c826fe5dfec6b6a = function(arg0) {
824
+ const ret = arg0.next;
825
+ return ret;
756
826
  };
757
- imports.wbg.__wbg_queueMicrotask_25d0739ac89e8c88 = function(arg0) {
758
- queueMicrotask(arg0);
827
+ imports.wbg.__wbg_prototypesetcall_2a6620b6922694b2 = function(arg0, arg1, arg2) {
828
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
759
829
  };
760
- imports.wbg.__wbg_queueMicrotask_4488407636f5bf24 = function(arg0) {
830
+ imports.wbg.__wbg_queueMicrotask_34d692c25c47d05b = function(arg0) {
761
831
  const ret = arg0.queueMicrotask;
762
832
  return ret;
763
833
  };
764
- imports.wbg.__wbg_resolve_4055c623acdd6a1b = function(arg0) {
834
+ imports.wbg.__wbg_queueMicrotask_9d76cacb20c84d58 = function(arg0) {
835
+ queueMicrotask(arg0);
836
+ };
837
+ imports.wbg.__wbg_resolve_caf97c30b83f7053 = function(arg0) {
765
838
  const ret = Promise.resolve(arg0);
766
839
  return ret;
767
840
  };
768
841
  imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
769
842
  arg0[arg1] = arg2;
770
843
  };
771
- imports.wbg.__wbg_set_90f6c0f7bd8c0415 = function(arg0, arg1, arg2) {
772
- arg0[arg1 >>> 0] = arg2;
773
- };
774
- imports.wbg.__wbg_set_b7f1cf4fae26fe2a = function(arg0, arg1, arg2) {
844
+ imports.wbg.__wbg_set_907fb406c34a251d = function(arg0, arg1, arg2) {
775
845
  const ret = arg0.set(arg1, arg2);
776
846
  return ret;
777
847
  };
778
- imports.wbg.__wbg_size_8f84e7768fba0589 = function(arg0) {
848
+ imports.wbg.__wbg_set_c213c871859d6500 = function(arg0, arg1, arg2) {
849
+ arg0[arg1 >>> 0] = arg2;
850
+ };
851
+ imports.wbg.__wbg_size_0a5a003dbf5dfee8 = function(arg0) {
779
852
  const ret = arg0.size;
780
853
  return ret;
781
854
  };
782
- imports.wbg.__wbg_slice_36c55c8c1a260c46 = function() { return handleError(function (arg0, arg1, arg2) {
855
+ imports.wbg.__wbg_slice_4947c0e051116da5 = function() { return handleError(function (arg0, arg1, arg2) {
783
856
  const ret = arg0.slice(arg1, arg2);
784
857
  return ret;
785
858
  }, arguments) };
786
- imports.wbg.__wbg_static_accessor_GLOBAL_8921f820c2ce3f12 = function() {
859
+ imports.wbg.__wbg_static_accessor_GLOBAL_89e1d9ac6a1b250e = function() {
787
860
  const ret = typeof global === 'undefined' ? null : global;
788
861
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
789
862
  };
790
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_f0a4409105898184 = function() {
863
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_8b530f326a9e48ac = function() {
791
864
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
792
865
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
793
866
  };
794
- imports.wbg.__wbg_static_accessor_SELF_995b214ae681ff99 = function() {
867
+ imports.wbg.__wbg_static_accessor_SELF_6fdf4b64710cc91b = function() {
795
868
  const ret = typeof self === 'undefined' ? null : self;
796
869
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
797
870
  };
798
- imports.wbg.__wbg_static_accessor_WINDOW_cde3890479c675ea = function() {
871
+ imports.wbg.__wbg_static_accessor_WINDOW_b45bfc5a37f6cfa2 = function() {
799
872
  const ret = typeof window === 'undefined' ? null : window;
800
873
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
801
874
  };
802
- imports.wbg.__wbg_then_b33a773d723afa3e = function(arg0, arg1, arg2) {
803
- const ret = arg0.then(arg1, arg2);
804
- return ret;
805
- };
806
- imports.wbg.__wbg_then_e22500defe16819f = function(arg0, arg1) {
875
+ imports.wbg.__wbg_then_4f46f6544e6b4a28 = function(arg0, arg1) {
807
876
  const ret = arg0.then(arg1);
808
877
  return ret;
809
878
  };
810
- imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
811
- const ret = arg0.value;
812
- return ret;
813
- };
814
- imports.wbg.__wbg_wbindgenbigintgetasi64_ac743ece6ab9bba1 = function(arg0, arg1) {
815
- const v = arg1;
816
- const ret = typeof(v) === 'bigint' ? v : undefined;
817
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
818
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
819
- };
820
- imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
821
- const v = arg0;
822
- const ret = typeof(v) === 'boolean' ? v : undefined;
823
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
824
- };
825
- imports.wbg.__wbg_wbindgencbdrop_eb10308566512b88 = function(arg0) {
826
- const obj = arg0.original;
827
- if (obj.cnt-- == 1) {
828
- obj.a = 0;
829
- return true;
830
- }
831
- const ret = false;
832
- return ret;
833
- };
834
- imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
835
- const ret = debugString(arg1);
836
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
837
- const len1 = WASM_VECTOR_LEN;
838
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
839
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
840
- };
841
- imports.wbg.__wbg_wbindgenin_d7a1ee10933d2d55 = function(arg0, arg1) {
842
- const ret = arg0 in arg1;
843
- return ret;
844
- };
845
- imports.wbg.__wbg_wbindgenisbigint_ecb90cc08a5a9154 = function(arg0) {
846
- const ret = typeof(arg0) === 'bigint';
847
- return ret;
848
- };
849
- imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
850
- const ret = typeof(arg0) === 'function';
851
- return ret;
852
- };
853
- imports.wbg.__wbg_wbindgenisnull_f3037694abe4d97a = function(arg0) {
854
- const ret = arg0 === null;
855
- return ret;
856
- };
857
- imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
858
- const val = arg0;
859
- const ret = typeof(val) === 'object' && val !== null;
860
- return ret;
861
- };
862
- imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
863
- const ret = typeof(arg0) === 'string';
864
- return ret;
865
- };
866
- imports.wbg.__wbg_wbindgenisundefined_c4b71d073b92f3c5 = function(arg0) {
867
- const ret = arg0 === undefined;
868
- return ret;
869
- };
870
- imports.wbg.__wbg_wbindgenjsvaleq_e6f2ad59ccae1b58 = function(arg0, arg1) {
871
- const ret = arg0 === arg1;
879
+ imports.wbg.__wbg_then_70d05cf780a18d77 = function(arg0, arg1, arg2) {
880
+ const ret = arg0.then(arg1, arg2);
872
881
  return ret;
873
882
  };
874
- imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
875
- const ret = arg0 == arg1;
883
+ imports.wbg.__wbg_value_692627309814bb8c = function(arg0) {
884
+ const ret = arg0.value;
876
885
  return ret;
877
886
  };
878
- imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
879
- const obj = arg1;
880
- const ret = typeof(obj) === 'number' ? obj : undefined;
881
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
882
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
883
- };
884
- imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
885
- const obj = arg1;
886
- const ret = typeof(obj) === 'string' ? obj : undefined;
887
- var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
888
- var len1 = WASM_VECTOR_LEN;
889
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
890
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
891
- };
892
- imports.wbg.__wbg_wbindgenthrow_451ec1a8469d7eb6 = function(arg0, arg1) {
893
- throw new Error(getStringFromWasm0(arg0, arg1));
894
- };
895
887
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
896
888
  // Cast intrinsic for `Ref(String) -> Externref`.
897
889
  const ret = getStringFromWasm0(arg0, arg1);
@@ -907,18 +899,18 @@ function __wbg_get_imports() {
907
899
  const ret = arg0;
908
900
  return ret;
909
901
  };
910
- imports.wbg.__wbindgen_cast_d2d0cc24b1b6ed59 = function(arg0, arg1) {
911
- // Cast intrinsic for `Closure(Closure { dtor_idx: 42, function: Function { arguments: [Externref], shim_idx: 43, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
912
- const ret = makeMutClosure(arg0, arg1, 42, __wbg_adapter_14);
913
- return ret;
914
- };
915
902
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
916
903
  // Cast intrinsic for `F64 -> Externref`.
917
904
  const ret = arg0;
918
905
  return ret;
919
906
  };
907
+ imports.wbg.__wbindgen_cast_ddb8a4a62ab58f0b = function(arg0, arg1) {
908
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 35, function: Function { arguments: [Externref], shim_idx: 36, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
909
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h36adb6ac56d42d4a, wasm_bindgen__convert__closures_____invoke__hb8fb879a4264a98e);
910
+ return ret;
911
+ };
920
912
  imports.wbg.__wbindgen_init_externref_table = function() {
921
- const table = wasm.__wbindgen_export_4;
913
+ const table = wasm.__wbindgen_externrefs;
922
914
  const offset = table.grow(4);
923
915
  table.set(0, undefined);
924
916
  table.set(offset + 0, undefined);
@@ -931,10 +923,6 @@ function __wbg_get_imports() {
931
923
  return imports;
932
924
  }
933
925
 
934
- function __wbg_init_memory(imports, memory) {
935
-
936
- }
937
-
938
926
  function __wbg_finalize_init(instance, module) {
939
927
  wasm = instance.exports;
940
928
  __wbg_init.__wbindgen_wasm_module = module;
@@ -960,8 +948,6 @@ function initSync(module) {
960
948
 
961
949
  const imports = __wbg_get_imports();
962
950
 
963
- __wbg_init_memory(imports);
964
-
965
951
  if (!(module instanceof WebAssembly.Module)) {
966
952
  module = new WebAssembly.Module(module);
967
953
  }
@@ -992,8 +978,6 @@ async function __wbg_init(module_or_path) {
992
978
  module_or_path = fetch(module_or_path);
993
979
  }
994
980
 
995
- __wbg_init_memory(imports);
996
-
997
981
  const { instance, module } = await __wbg_load(await module_or_path, imports);
998
982
 
999
983
  return __wbg_finalize_init(instance, module);
package/dcm/dcm_bg.wasm CHANGED
Binary file
@@ -25,14 +25,14 @@ export const deidprofile_from_yaml: (a: number, b: number) => [number, number, n
25
25
  export const deidprofile_deid_dcm: (a: number, b: number, c: number) => [number, number, number, number];
26
26
  export const __wbg_wasmdcmgroup_free: (a: number, b: number) => void;
27
27
  export const group_series: (a: any, b: any, c: number) => any;
28
+ export const wasm_bindgen__convert__closures_____invoke__hb8fb879a4264a98e: (a: number, b: number, c: any) => void;
29
+ export const wasm_bindgen__closure__destroy__h36adb6ac56d42d4a: (a: number, b: number) => void;
30
+ export const wasm_bindgen__convert__closures_____invoke__h2d19168b1b4d7c20: (a: number, b: number, c: any, d: any) => void;
28
31
  export const __wbindgen_malloc: (a: number, b: number) => number;
29
32
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
30
33
  export const __wbindgen_exn_store: (a: number) => void;
31
34
  export const __externref_table_alloc: () => number;
32
- export const __wbindgen_export_4: WebAssembly.Table;
33
- export const __wbindgen_export_5: WebAssembly.Table;
35
+ export const __wbindgen_externrefs: WebAssembly.Table;
34
36
  export const __externref_table_dealloc: (a: number) => void;
35
37
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
36
- export const closure43_externref_shim: (a: number, b: number, c: any) => void;
37
- export const closure1140_externref_shim: (a: number, b: number, c: any, d: any) => void;
38
38
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Flywheel <support@flywheel.io>"
6
6
  ],
7
7
  "description": "JavaScript/WebAssembly bindings for fw-file rust crate",
8
- "version": "0.3.13",
8
+ "version": "0.3.15",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",