@learncard/didkit-plugin 1.5.30 → 1.5.32

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.
@@ -1,7 +1,5 @@
1
1
  let wasm;
2
2
 
3
- let WASM_VECTOR_LEN = 0;
4
-
5
3
  let cachedUint8ArrayMemory0 = null;
6
4
 
7
5
  function getUint8ArrayMemory0() {
@@ -11,6 +9,29 @@ function getUint8ArrayMemory0() {
11
9
  return cachedUint8ArrayMemory0;
12
10
  }
13
11
 
12
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
13
+
14
+ if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
15
+
16
+ const MAX_SAFARI_DECODE_BYTES = 2146435072;
17
+ let numBytesDecoded = 0;
18
+ function decodeText(ptr, len) {
19
+ numBytesDecoded += len;
20
+ if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
21
+ cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
22
+ cachedTextDecoder.decode();
23
+ numBytesDecoded = len;
24
+ }
25
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
26
+ }
27
+
28
+ function getStringFromWasm0(ptr, len) {
29
+ ptr = ptr >>> 0;
30
+ return decodeText(ptr, len);
31
+ }
32
+
33
+ let WASM_VECTOR_LEN = 0;
34
+
14
35
  const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
15
36
 
16
37
  const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
@@ -74,15 +95,6 @@ function getDataViewMemory0() {
74
95
  return cachedDataViewMemory0;
75
96
  }
76
97
 
77
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
78
-
79
- if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
80
-
81
- function getStringFromWasm0(ptr, len) {
82
- ptr = ptr >>> 0;
83
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
84
- }
85
-
86
98
  function addToExternrefTable0(obj) {
87
99
  const idx = wasm.__externref_table_alloc();
88
100
  wasm.__wbindgen_export_4.set(idx, obj);
@@ -107,37 +119,6 @@ function isLikeNone(x) {
107
119
  return x === undefined || x === null;
108
120
  }
109
121
 
110
- const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
111
- ? { register: () => {}, unregister: () => {} }
112
- : new FinalizationRegistry(state => {
113
- wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b)
114
- });
115
-
116
- function makeMutClosure(arg0, arg1, dtor, f) {
117
- const state = { a: arg0, b: arg1, cnt: 1, dtor };
118
- const real = (...args) => {
119
- // First up with a closure we increment the internal reference
120
- // count. This ensures that the Rust closure environment won't
121
- // be deallocated while we're invoking it.
122
- state.cnt++;
123
- const a = state.a;
124
- state.a = 0;
125
- try {
126
- return f(a, state.b, ...args);
127
- } finally {
128
- if (--state.cnt === 0) {
129
- wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
130
- CLOSURE_DTORS.unregister(state);
131
- } else {
132
- state.a = a;
133
- }
134
- }
135
- };
136
- real.original = state;
137
- CLOSURE_DTORS.register(real, state, state);
138
- return real;
139
- }
140
-
141
122
  function debugString(val) {
142
123
  // primitive types
143
124
  const type = typeof val;
@@ -202,6 +183,40 @@ function debugString(val) {
202
183
  // TODO we could test for more things here, like `Set`s and `Map`s.
203
184
  return className;
204
185
  }
186
+
187
+ const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
188
+ ? { register: () => {}, unregister: () => {} }
189
+ : new FinalizationRegistry(
190
+ state => {
191
+ wasm.__wbindgen_export_5.get(state.dtor)(state.a, state.b);
192
+ }
193
+ );
194
+
195
+ function makeMutClosure(arg0, arg1, dtor, f) {
196
+ const state = { a: arg0, b: arg1, cnt: 1, dtor };
197
+ const real = (...args) => {
198
+
199
+ // First up with a closure we increment the internal reference
200
+ // count. This ensures that the Rust closure environment won't
201
+ // be deallocated while we're invoking it.
202
+ state.cnt++;
203
+ const a = state.a;
204
+ state.a = 0;
205
+ try {
206
+ return f(a, state.b, ...args);
207
+ } finally {
208
+ if (--state.cnt === 0) {
209
+ wasm.__wbindgen_export_5.get(state.dtor)(a, state.b);
210
+ CLOSURE_DTORS.unregister(state);
211
+ } else {
212
+ state.a = a;
213
+ }
214
+ }
215
+ };
216
+ real.original = state;
217
+ CLOSURE_DTORS.register(real, state, state);
218
+ return real;
219
+ }
205
220
  /**
206
221
  * @returns {string}
207
222
  */
@@ -809,18 +824,20 @@ export function contextLoader(url) {
809
824
  return ret;
810
825
  }
811
826
 
812
- function __wbg_adapter_54(arg0, arg1, arg2) {
813
- wasm.closure4040_externref_shim(arg0, arg1, arg2);
827
+ function __wbg_adapter_10(arg0, arg1, arg2) {
828
+ wasm.closure4202_externref_shim(arg0, arg1, arg2);
814
829
  }
815
830
 
816
- function __wbg_adapter_220(arg0, arg1, arg2, arg3) {
817
- wasm.closure4437_externref_shim(arg0, arg1, arg2, arg3);
831
+ function __wbg_adapter_188(arg0, arg1, arg2, arg3) {
832
+ wasm.closure4602_externref_shim(arg0, arg1, arg2, arg3);
818
833
  }
819
834
 
820
835
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
821
836
 
822
837
  const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
823
838
 
839
+ const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']);
840
+
824
841
  async function __wbg_load(module, imports) {
825
842
  if (typeof Response === 'function' && module instanceof Response) {
826
843
  if (typeof WebAssembly.instantiateStreaming === 'function') {
@@ -828,7 +845,9 @@ async function __wbg_load(module, imports) {
828
845
  return await WebAssembly.instantiateStreaming(module, imports);
829
846
 
830
847
  } catch (e) {
831
- if (module.headers.get('Content-Type') != 'application/wasm') {
848
+ const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type);
849
+
850
+ if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
832
851
  console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
833
852
 
834
853
  } else {
@@ -855,6 +874,10 @@ async function __wbg_load(module, imports) {
855
874
  function __wbg_get_imports() {
856
875
  const imports = {};
857
876
  imports.wbg = {};
877
+ imports.wbg.__wbg_Error_1f3748b298f99708 = function(arg0, arg1) {
878
+ const ret = Error(getStringFromWasm0(arg0, arg1));
879
+ return ret;
880
+ };
858
881
  imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
859
882
  const ret = String(arg1);
860
883
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -862,25 +885,21 @@ function __wbg_get_imports() {
862
885
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
863
886
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
864
887
  };
865
- imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
888
+ imports.wbg.__wbg_abort_6665281623826052 = function(arg0) {
866
889
  arg0.abort();
867
890
  };
868
- imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
891
+ imports.wbg.__wbg_append_3e86b0cd6215edd8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
869
892
  arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
870
893
  }, arguments) };
871
- imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
894
+ imports.wbg.__wbg_arrayBuffer_55e4a430671abfd8 = function() { return handleError(function (arg0) {
872
895
  const ret = arg0.arrayBuffer();
873
896
  return ret;
874
897
  }, arguments) };
875
- imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
876
- const ret = arg0.buffer;
877
- return ret;
878
- };
879
- imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
898
+ imports.wbg.__wbg_call_2f8d426a20a307fe = function() { return handleError(function (arg0, arg1) {
880
899
  const ret = arg0.call(arg1);
881
900
  return ret;
882
901
  }, arguments) };
883
- imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
902
+ imports.wbg.__wbg_call_f53f0647ceb9c567 = function() { return handleError(function (arg0, arg1, arg2) {
884
903
  const ret = arg0.call(arg1, arg2);
885
904
  return ret;
886
905
  }, arguments) };
@@ -888,19 +907,19 @@ function __wbg_get_imports() {
888
907
  const ret = arg0.crypto;
889
908
  return ret;
890
909
  };
891
- imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
910
+ imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
892
911
  const ret = arg0.crypto;
893
912
  return ret;
894
913
  };
895
- imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
914
+ imports.wbg.__wbg_done_4a7743b6f942c9f3 = function(arg0) {
896
915
  const ret = arg0.done;
897
916
  return ret;
898
917
  };
899
- imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
918
+ imports.wbg.__wbg_entries_17f7acbc2d691c0d = function(arg0) {
900
919
  const ret = Object.entries(arg0);
901
920
  return ret;
902
921
  };
903
- imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
922
+ imports.wbg.__wbg_fetch_9885d2e26ad251bb = function(arg0, arg1) {
904
923
  const ret = arg0.fetch(arg1);
905
924
  return ret;
906
925
  };
@@ -908,41 +927,44 @@ function __wbg_get_imports() {
908
927
  const ret = fetch(arg0);
909
928
  return ret;
910
929
  };
911
- imports.wbg.__wbg_from_2a5d3e218e67aa85 = function(arg0) {
930
+ imports.wbg.__wbg_from_237b1ad767238d8b = function(arg0) {
912
931
  const ret = Array.from(arg0);
913
932
  return ret;
914
933
  };
915
934
  imports.wbg.__wbg_getRandomValues_371e7ade8bd92088 = function(arg0, arg1) {
916
935
  arg0.getRandomValues(arg1);
917
936
  };
937
+ imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
938
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
939
+ }, arguments) };
918
940
  imports.wbg.__wbg_getRandomValues_7dfe5bd1b67c9ca1 = function(arg0) {
919
941
  const ret = arg0.getRandomValues;
920
942
  return ret;
921
943
  };
922
- imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
944
+ imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
923
945
  arg0.getRandomValues(arg1);
924
946
  }, arguments) };
925
- imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
947
+ imports.wbg.__wbg_getTime_5b1dd03bb6d4b784 = function(arg0) {
926
948
  const ret = arg0.getTime();
927
949
  return ret;
928
950
  };
929
- imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
951
+ imports.wbg.__wbg_get_27b4bcbec57323ca = function() { return handleError(function (arg0, arg1) {
930
952
  const ret = Reflect.get(arg0, arg1);
931
953
  return ret;
932
954
  }, arguments) };
933
- imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
955
+ imports.wbg.__wbg_get_59c6316d15f9f1d0 = function(arg0, arg1) {
934
956
  const ret = arg0[arg1 >>> 0];
935
957
  return ret;
936
958
  };
937
- imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
959
+ imports.wbg.__wbg_has_85abdd8aeb8edebf = function() { return handleError(function (arg0, arg1) {
938
960
  const ret = Reflect.has(arg0, arg1);
939
961
  return ret;
940
962
  }, arguments) };
941
- imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
963
+ imports.wbg.__wbg_headers_177bc880a5823968 = function(arg0) {
942
964
  const ret = arg0.headers;
943
965
  return ret;
944
966
  };
945
- imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
967
+ imports.wbg.__wbg_instanceof_ArrayBuffer_59339a3a6f0c10ea = function(arg0) {
946
968
  let result;
947
969
  try {
948
970
  result = arg0 instanceof ArrayBuffer;
@@ -952,7 +974,7 @@ function __wbg_get_imports() {
952
974
  const ret = result;
953
975
  return ret;
954
976
  };
955
- imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
977
+ imports.wbg.__wbg_instanceof_Map_dd89a82d76d1b25f = function(arg0) {
956
978
  let result;
957
979
  try {
958
980
  result = arg0 instanceof Map;
@@ -962,7 +984,7 @@ function __wbg_get_imports() {
962
984
  const ret = result;
963
985
  return ret;
964
986
  };
965
- imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
987
+ imports.wbg.__wbg_instanceof_Response_0ab386c6818f788a = function(arg0) {
966
988
  let result;
967
989
  try {
968
990
  result = arg0 instanceof Response;
@@ -972,7 +994,7 @@ function __wbg_get_imports() {
972
994
  const ret = result;
973
995
  return ret;
974
996
  };
975
- imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
997
+ imports.wbg.__wbg_instanceof_Uint8Array_91f3c5adee7e6672 = function(arg0) {
976
998
  let result;
977
999
  try {
978
1000
  result = arg0 instanceof Uint8Array;
@@ -982,31 +1004,31 @@ function __wbg_get_imports() {
982
1004
  const ret = result;
983
1005
  return ret;
984
1006
  };
985
- imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
1007
+ imports.wbg.__wbg_isArray_bc2498eba6fcb71f = function(arg0) {
986
1008
  const ret = Array.isArray(arg0);
987
1009
  return ret;
988
1010
  };
989
- imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
1011
+ imports.wbg.__wbg_isSafeInteger_6091d6e3ee1b65fd = function(arg0) {
990
1012
  const ret = Number.isSafeInteger(arg0);
991
1013
  return ret;
992
1014
  };
993
- imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
1015
+ imports.wbg.__wbg_iterator_96378c3c9a17347c = function() {
994
1016
  const ret = Symbol.iterator;
995
1017
  return ret;
996
1018
  };
997
- imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
1019
+ imports.wbg.__wbg_keys_7eff209f4f3c9f17 = function(arg0) {
998
1020
  const ret = Object.keys(arg0);
999
1021
  return ret;
1000
1022
  };
1001
- imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
1023
+ imports.wbg.__wbg_length_246fa1f85a0dea5b = function(arg0) {
1002
1024
  const ret = arg0.length;
1003
1025
  return ret;
1004
1026
  };
1005
- imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
1027
+ imports.wbg.__wbg_length_904c0910ed998bf3 = function(arg0) {
1006
1028
  const ret = arg0.length;
1007
1029
  return ret;
1008
1030
  };
1009
- imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
1031
+ imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
1010
1032
  const ret = arg0.msCrypto;
1011
1033
  return ret;
1012
1034
  };
@@ -1014,22 +1036,38 @@ function __wbg_get_imports() {
1014
1036
  const ret = arg0.msCrypto;
1015
1037
  return ret;
1016
1038
  };
1017
- imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
1039
+ imports.wbg.__wbg_new0_85cc856927102294 = function() {
1018
1040
  const ret = new Date();
1019
1041
  return ret;
1020
1042
  };
1021
- imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
1043
+ imports.wbg.__wbg_new_12588505388d0897 = function() { return handleError(function () {
1022
1044
  const ret = new Headers();
1023
1045
  return ret;
1024
1046
  }, arguments) };
1025
- imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
1047
+ imports.wbg.__wbg_new_1930cbb8d9ffc31b = function() {
1048
+ const ret = new Object();
1049
+ return ret;
1050
+ };
1051
+ imports.wbg.__wbg_new_56407f99198feff7 = function() {
1052
+ const ret = new Map();
1053
+ return ret;
1054
+ };
1055
+ imports.wbg.__wbg_new_6a8b180049d9484e = function() { return handleError(function () {
1056
+ const ret = new AbortController();
1057
+ return ret;
1058
+ }, arguments) };
1059
+ imports.wbg.__wbg_new_9190433fb67ed635 = function(arg0) {
1060
+ const ret = new Uint8Array(arg0);
1061
+ return ret;
1062
+ };
1063
+ imports.wbg.__wbg_new_d5e3800b120e37e1 = function(arg0, arg1) {
1026
1064
  try {
1027
1065
  var state0 = {a: arg0, b: arg1};
1028
1066
  var cb0 = (arg0, arg1) => {
1029
1067
  const a = state0.a;
1030
1068
  state0.a = 0;
1031
1069
  try {
1032
- return __wbg_adapter_220(a, state0.b, arg0, arg1);
1070
+ return __wbg_adapter_188(a, state0.b, arg0, arg1);
1033
1071
  } finally {
1034
1072
  state0.a = a;
1035
1073
  }
@@ -1040,88 +1078,75 @@ function __wbg_get_imports() {
1040
1078
  state0.a = state0.b = 0;
1041
1079
  }
1042
1080
  };
1043
- imports.wbg.__wbg_new_405e22f390576ce2 = function() {
1044
- const ret = new Object();
1045
- return ret;
1046
- };
1047
- imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
1048
- const ret = new Map();
1049
- return ret;
1050
- };
1051
- imports.wbg.__wbg_new_78feb108b6472713 = function() {
1081
+ imports.wbg.__wbg_new_e969dc3f68d25093 = function() {
1052
1082
  const ret = new Array();
1053
1083
  return ret;
1054
1084
  };
1055
- imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
1056
- const ret = new Uint8Array(arg0);
1085
+ imports.wbg.__wbg_newfromslice_d0d56929c6d9c842 = function(arg0, arg1) {
1086
+ const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
1057
1087
  return ret;
1058
1088
  };
1059
- imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
1060
- const ret = new AbortController();
1061
- return ret;
1062
- }, arguments) };
1063
- imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
1089
+ imports.wbg.__wbg_newnoargs_a81330f6e05d8aca = function(arg0, arg1) {
1064
1090
  const ret = new Function(getStringFromWasm0(arg0, arg1));
1065
1091
  return ret;
1066
1092
  };
1067
- imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
1068
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
1069
- return ret;
1070
- };
1071
- imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
1093
+ imports.wbg.__wbg_newwithlength_ed0ee6c1edca86fc = function(arg0) {
1072
1094
  const ret = new Uint8Array(arg0 >>> 0);
1073
1095
  return ret;
1074
1096
  };
1075
- imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
1097
+ imports.wbg.__wbg_newwithstrandinit_e8e22e9851f3c2fe = function() { return handleError(function (arg0, arg1, arg2) {
1076
1098
  const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
1077
1099
  return ret;
1078
1100
  }, arguments) };
1079
- imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
1080
- const ret = arg0.next;
1081
- return ret;
1082
- };
1083
- imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
1101
+ imports.wbg.__wbg_next_2e6b37020ac5fe58 = function() { return handleError(function (arg0) {
1084
1102
  const ret = arg0.next();
1085
1103
  return ret;
1086
1104
  }, arguments) };
1087
- imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
1105
+ imports.wbg.__wbg_next_3de8f2669431a3ff = function(arg0) {
1106
+ const ret = arg0.next;
1107
+ return ret;
1108
+ };
1109
+ imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
1088
1110
  const ret = arg0.node;
1089
1111
  return ret;
1090
1112
  };
1091
- imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
1113
+ imports.wbg.__wbg_now_1f875e5cd673bc3c = function(arg0) {
1092
1114
  const ret = arg0.now();
1093
1115
  return ret;
1094
1116
  };
1095
- imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
1117
+ imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
1096
1118
  const ret = arg0.process;
1097
1119
  return ret;
1098
1120
  };
1099
- imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
1121
+ imports.wbg.__wbg_prototypesetcall_c5f74efd31aea86b = function(arg0, arg1, arg2) {
1122
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
1123
+ };
1124
+ imports.wbg.__wbg_push_cd3ac7d5b094565d = function(arg0, arg1) {
1100
1125
  const ret = arg0.push(arg1);
1101
1126
  return ret;
1102
1127
  };
1103
- imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
1104
- queueMicrotask(arg0);
1105
- };
1106
- imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
1128
+ imports.wbg.__wbg_queueMicrotask_bcc6e26d899696db = function(arg0) {
1107
1129
  const ret = arg0.queueMicrotask;
1108
1130
  return ret;
1109
1131
  };
1132
+ imports.wbg.__wbg_queueMicrotask_f24a794d09c42640 = function(arg0) {
1133
+ queueMicrotask(arg0);
1134
+ };
1110
1135
  imports.wbg.__wbg_randomFillSync_994ac6d9ade7a695 = function(arg0, arg1, arg2) {
1111
1136
  arg0.randomFillSync(getArrayU8FromWasm0(arg1, arg2));
1112
1137
  };
1113
- imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
1138
+ imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
1114
1139
  arg0.randomFillSync(arg1);
1115
1140
  }, arguments) };
1116
1141
  imports.wbg.__wbg_require_0d6aeaec3c042c88 = function(arg0, arg1, arg2) {
1117
1142
  const ret = arg0.require(getStringFromWasm0(arg1, arg2));
1118
1143
  return ret;
1119
1144
  };
1120
- imports.wbg.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
1145
+ imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
1121
1146
  const ret = module.require;
1122
1147
  return ret;
1123
1148
  }, arguments) };
1124
- imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
1149
+ imports.wbg.__wbg_resolve_5775c0ef9222f556 = function(arg0) {
1125
1150
  const ret = Promise.resolve(arg0);
1126
1151
  return ret;
1127
1152
  };
@@ -1129,50 +1154,50 @@ function __wbg_get_imports() {
1129
1154
  const ret = self.self;
1130
1155
  return ret;
1131
1156
  }, arguments) };
1132
- imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
1133
- arg0[arg1 >>> 0] = arg2;
1134
- };
1135
- imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1136
- arg0[arg1] = arg2;
1137
- };
1138
- imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
1139
- arg0.set(arg1, arg2 >>> 0);
1157
+ imports.wbg.__wbg_set_1d5fe1e3f51a48d8 = function(arg0, arg1, arg2) {
1158
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
1140
1159
  };
1141
- imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
1160
+ imports.wbg.__wbg_set_31197016f65a6a19 = function(arg0, arg1, arg2) {
1142
1161
  const ret = arg0.set(arg1, arg2);
1143
1162
  return ret;
1144
1163
  };
1145
- imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
1164
+ imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
1165
+ arg0[arg1] = arg2;
1166
+ };
1167
+ imports.wbg.__wbg_set_b33e7a98099eed58 = function() { return handleError(function (arg0, arg1, arg2) {
1146
1168
  const ret = Reflect.set(arg0, arg1, arg2);
1147
1169
  return ret;
1148
1170
  }, arguments) };
1149
- imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
1171
+ imports.wbg.__wbg_set_d636a0463acf1dbc = function(arg0, arg1, arg2) {
1172
+ arg0[arg1 >>> 0] = arg2;
1173
+ };
1174
+ imports.wbg.__wbg_setbody_e324371c31597f2a = function(arg0, arg1) {
1150
1175
  arg0.body = arg1;
1151
1176
  };
1152
- imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
1177
+ imports.wbg.__wbg_setcredentials_55a9317ed2777533 = function(arg0, arg1) {
1153
1178
  arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
1154
1179
  };
1155
- imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
1180
+ imports.wbg.__wbg_setheaders_ac0b1e4890a949cd = function(arg0, arg1) {
1156
1181
  arg0.headers = arg1;
1157
1182
  };
1158
- imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
1183
+ imports.wbg.__wbg_setmethod_9ce6e95af1ae0eaf = function(arg0, arg1, arg2) {
1159
1184
  arg0.method = getStringFromWasm0(arg1, arg2);
1160
1185
  };
1161
- imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
1186
+ imports.wbg.__wbg_setmode_b89d1784e7e7f118 = function(arg0, arg1) {
1162
1187
  arg0.mode = __wbindgen_enum_RequestMode[arg1];
1163
1188
  };
1164
- imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
1189
+ imports.wbg.__wbg_setsignal_e663c6d962763cd5 = function(arg0, arg1) {
1165
1190
  arg0.signal = arg1;
1166
1191
  };
1167
- imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
1192
+ imports.wbg.__wbg_signal_bdb003fe19e53a13 = function(arg0) {
1168
1193
  const ret = arg0.signal;
1169
1194
  return ret;
1170
1195
  };
1171
- imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
1196
+ imports.wbg.__wbg_static_accessor_GLOBAL_1f13249cc3acc96d = function() {
1172
1197
  const ret = typeof global === 'undefined' ? null : global;
1173
1198
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1174
1199
  };
1175
- imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
1200
+ imports.wbg.__wbg_static_accessor_GLOBAL_THIS_df7ae94b1e0ed6a3 = function() {
1176
1201
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
1177
1202
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1178
1203
  };
@@ -1180,73 +1205,61 @@ function __wbg_get_imports() {
1180
1205
  const ret = module;
1181
1206
  return ret;
1182
1207
  };
1183
- imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
1208
+ imports.wbg.__wbg_static_accessor_SELF_6265471db3b3c228 = function() {
1184
1209
  const ret = typeof self === 'undefined' ? null : self;
1185
1210
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1186
1211
  };
1187
- imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
1212
+ imports.wbg.__wbg_static_accessor_WINDOW_16fb482f8ec52863 = function() {
1188
1213
  const ret = typeof window === 'undefined' ? null : window;
1189
1214
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
1190
1215
  };
1191
- imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
1216
+ imports.wbg.__wbg_status_31874648c8651949 = function(arg0) {
1192
1217
  const ret = arg0.status;
1193
1218
  return ret;
1194
1219
  };
1195
- imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
1220
+ imports.wbg.__wbg_stringify_1f41b6198e0932e0 = function() { return handleError(function (arg0) {
1196
1221
  const ret = JSON.stringify(arg0);
1197
1222
  return ret;
1198
1223
  }, arguments) };
1199
- imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
1224
+ imports.wbg.__wbg_subarray_a219824899e59712 = function(arg0, arg1, arg2) {
1200
1225
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
1201
1226
  return ret;
1202
1227
  };
1203
- imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
1204
- const ret = arg0.then(arg1);
1228
+ imports.wbg.__wbg_then_8d2fcccde5380a03 = function(arg0, arg1, arg2) {
1229
+ const ret = arg0.then(arg1, arg2);
1205
1230
  return ret;
1206
1231
  };
1207
- imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
1208
- const ret = arg0.then(arg1, arg2);
1232
+ imports.wbg.__wbg_then_9cc266be2bf537b6 = function(arg0, arg1) {
1233
+ const ret = arg0.then(arg1);
1209
1234
  return ret;
1210
1235
  };
1211
- imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
1236
+ imports.wbg.__wbg_url_d5273b9e10503471 = function(arg0, arg1) {
1212
1237
  const ret = arg1.url;
1213
1238
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1214
1239
  const len1 = WASM_VECTOR_LEN;
1215
1240
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1216
1241
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1217
1242
  };
1218
- imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
1243
+ imports.wbg.__wbg_value_09d0b4eaab48b91d = function(arg0) {
1219
1244
  const ret = arg0.value;
1220
1245
  return ret;
1221
1246
  };
1222
- imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
1247
+ imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
1223
1248
  const ret = arg0.versions;
1224
1249
  return ret;
1225
1250
  };
1226
- imports.wbg.__wbindgen_bigint_from_i128 = function(arg0, arg1) {
1227
- const ret = arg0 << BigInt(64) | BigInt.asUintN(64, arg1);
1228
- return ret;
1229
- };
1230
- imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
1231
- const ret = arg0;
1232
- return ret;
1233
- };
1234
- imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
1235
- const ret = BigInt.asUintN(64, arg0);
1236
- return ret;
1237
- };
1238
- imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
1251
+ imports.wbg.__wbg_wbindgenbigintgetasi64_7637cb1a7fb9a81e = function(arg0, arg1) {
1239
1252
  const v = arg1;
1240
1253
  const ret = typeof(v) === 'bigint' ? v : undefined;
1241
1254
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1242
1255
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1243
1256
  };
1244
- imports.wbg.__wbindgen_boolean_get = function(arg0) {
1257
+ imports.wbg.__wbg_wbindgenbooleanget_59f830b1a70d2530 = function(arg0) {
1245
1258
  const v = arg0;
1246
- const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
1247
- return ret;
1259
+ const ret = typeof(v) === 'boolean' ? v : undefined;
1260
+ return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1248
1261
  };
1249
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
1262
+ imports.wbg.__wbg_wbindgencbdrop_a85ed476c6a370b9 = function(arg0) {
1250
1263
  const obj = arg0.original;
1251
1264
  if (obj.cnt-- == 1) {
1252
1265
  obj.a = 0;
@@ -1255,83 +1268,57 @@ function __wbg_get_imports() {
1255
1268
  const ret = false;
1256
1269
  return ret;
1257
1270
  };
1258
- imports.wbg.__wbindgen_closure_wrapper12137 = function(arg0, arg1, arg2) {
1259
- const ret = makeMutClosure(arg0, arg1, 4041, __wbg_adapter_54);
1260
- return ret;
1261
- };
1262
- imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
1271
+ imports.wbg.__wbg_wbindgendebugstring_bb652b1bc2061b6d = function(arg0, arg1) {
1263
1272
  const ret = debugString(arg1);
1264
1273
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1265
1274
  const len1 = WASM_VECTOR_LEN;
1266
1275
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1267
1276
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1268
1277
  };
1269
- imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
1270
- const ret = new Error(getStringFromWasm0(arg0, arg1));
1271
- return ret;
1272
- };
1273
- imports.wbg.__wbindgen_in = function(arg0, arg1) {
1278
+ imports.wbg.__wbg_wbindgenin_192b210aa1c401e9 = function(arg0, arg1) {
1274
1279
  const ret = arg0 in arg1;
1275
1280
  return ret;
1276
1281
  };
1277
- imports.wbg.__wbindgen_init_externref_table = function() {
1278
- const table = wasm.__wbindgen_export_4;
1279
- const offset = table.grow(4);
1280
- table.set(0, undefined);
1281
- table.set(offset + 0, undefined);
1282
- table.set(offset + 1, null);
1283
- table.set(offset + 2, true);
1284
- table.set(offset + 3, false);
1285
- ;
1286
- };
1287
- imports.wbg.__wbindgen_is_bigint = function(arg0) {
1282
+ imports.wbg.__wbg_wbindgenisbigint_7d76a1ca6454e439 = function(arg0) {
1288
1283
  const ret = typeof(arg0) === 'bigint';
1289
1284
  return ret;
1290
1285
  };
1291
- imports.wbg.__wbindgen_is_function = function(arg0) {
1286
+ imports.wbg.__wbg_wbindgenisfunction_ea72b9d66a0e1705 = function(arg0) {
1292
1287
  const ret = typeof(arg0) === 'function';
1293
1288
  return ret;
1294
1289
  };
1295
- imports.wbg.__wbindgen_is_null = function(arg0) {
1290
+ imports.wbg.__wbg_wbindgenisnull_e1388bbe88158c3f = function(arg0) {
1296
1291
  const ret = arg0 === null;
1297
1292
  return ret;
1298
1293
  };
1299
- imports.wbg.__wbindgen_is_object = function(arg0) {
1294
+ imports.wbg.__wbg_wbindgenisobject_dfe064a121d87553 = function(arg0) {
1300
1295
  const val = arg0;
1301
1296
  const ret = typeof(val) === 'object' && val !== null;
1302
1297
  return ret;
1303
1298
  };
1304
- imports.wbg.__wbindgen_is_string = function(arg0) {
1299
+ imports.wbg.__wbg_wbindgenisstring_4b74e4111ba029e6 = function(arg0) {
1305
1300
  const ret = typeof(arg0) === 'string';
1306
1301
  return ret;
1307
1302
  };
1308
- imports.wbg.__wbindgen_is_undefined = function(arg0) {
1303
+ imports.wbg.__wbg_wbindgenisundefined_71f08a6ade4354e7 = function(arg0) {
1309
1304
  const ret = arg0 === undefined;
1310
1305
  return ret;
1311
1306
  };
1312
- imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
1307
+ imports.wbg.__wbg_wbindgenjsvaleq_f27272c0a890df7f = function(arg0, arg1) {
1313
1308
  const ret = arg0 === arg1;
1314
1309
  return ret;
1315
1310
  };
1316
- imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
1311
+ imports.wbg.__wbg_wbindgenjsvallooseeq_9dd7bb4b95ac195c = function(arg0, arg1) {
1317
1312
  const ret = arg0 == arg1;
1318
1313
  return ret;
1319
1314
  };
1320
- imports.wbg.__wbindgen_memory = function() {
1321
- const ret = wasm.memory;
1322
- return ret;
1323
- };
1324
- imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
1315
+ imports.wbg.__wbg_wbindgennumberget_d855f947247a3fbc = function(arg0, arg1) {
1325
1316
  const obj = arg1;
1326
1317
  const ret = typeof(obj) === 'number' ? obj : undefined;
1327
1318
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1328
1319
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
1329
1320
  };
1330
- imports.wbg.__wbindgen_number_new = function(arg0) {
1331
- const ret = arg0;
1332
- return ret;
1333
- };
1334
- imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
1321
+ imports.wbg.__wbg_wbindgenstringget_43fe05afe34b0cb1 = function(arg0, arg1) {
1335
1322
  const obj = arg1;
1336
1323
  const ret = typeof(obj) === 'string' ? obj : undefined;
1337
1324
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1339,12 +1326,53 @@ function __wbg_get_imports() {
1339
1326
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1340
1327
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
1341
1328
  };
1342
- imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
1329
+ imports.wbg.__wbg_wbindgenthrow_4c11a24fca429ccf = function(arg0, arg1) {
1330
+ throw new Error(getStringFromWasm0(arg0, arg1));
1331
+ };
1332
+ imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1333
+ // Cast intrinsic for `Ref(String) -> Externref`.
1343
1334
  const ret = getStringFromWasm0(arg0, arg1);
1344
1335
  return ret;
1345
1336
  };
1346
- imports.wbg.__wbindgen_throw = function(arg0, arg1) {
1347
- throw new Error(getStringFromWasm0(arg0, arg1));
1337
+ imports.wbg.__wbindgen_cast_2ddd8a25ff58642a = function(arg0, arg1) {
1338
+ // Cast intrinsic for `I128 -> Externref`.
1339
+ const ret = (BigInt.asUintN(64, arg0) | (arg1 << BigInt(64)));
1340
+ return ret;
1341
+ };
1342
+ imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function(arg0) {
1343
+ // Cast intrinsic for `U64 -> Externref`.
1344
+ const ret = BigInt.asUintN(64, arg0);
1345
+ return ret;
1346
+ };
1347
+ imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
1348
+ // Cast intrinsic for `I64 -> Externref`.
1349
+ const ret = arg0;
1350
+ return ret;
1351
+ };
1352
+ imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {
1353
+ // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
1354
+ const ret = getArrayU8FromWasm0(arg0, arg1);
1355
+ return ret;
1356
+ };
1357
+ imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
1358
+ // Cast intrinsic for `F64 -> Externref`.
1359
+ const ret = arg0;
1360
+ return ret;
1361
+ };
1362
+ imports.wbg.__wbindgen_cast_f7331b0818e1ba43 = function(arg0, arg1) {
1363
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 4201, function: Function { arguments: [Externref], shim_idx: 4202, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1364
+ const ret = makeMutClosure(arg0, arg1, 4201, __wbg_adapter_10);
1365
+ return ret;
1366
+ };
1367
+ imports.wbg.__wbindgen_init_externref_table = function() {
1368
+ const table = wasm.__wbindgen_export_4;
1369
+ const offset = table.grow(4);
1370
+ table.set(0, undefined);
1371
+ table.set(offset + 0, undefined);
1372
+ table.set(offset + 1, null);
1373
+ table.set(offset + 2, true);
1374
+ table.set(offset + 3, false);
1375
+ ;
1348
1376
  };
1349
1377
 
1350
1378
  return imports;