@janssenproject/cedarling_wasm 0.0.385-nodejs → 0.0.386
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/cedarling_wasm.d.ts +150 -0
- package/cedarling_wasm.js +303 -229
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +6 -2
package/cedarling_wasm.js
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
5
5
|
* Represents the result of an authorization request.
|
|
6
6
|
*/
|
|
7
|
-
class AuthorizeResult {
|
|
7
|
+
export class AuthorizeResult {
|
|
8
8
|
static __wrap(ptr) {
|
|
9
|
-
ptr = ptr >>> 0;
|
|
10
9
|
const obj = Object.create(AuthorizeResult.prototype);
|
|
11
10
|
obj.__wbg_ptr = ptr;
|
|
12
11
|
AuthorizeResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -105,15 +104,13 @@ class AuthorizeResult {
|
|
|
105
104
|
}
|
|
106
105
|
}
|
|
107
106
|
if (Symbol.dispose) AuthorizeResult.prototype[Symbol.dispose] = AuthorizeResult.prototype.free;
|
|
108
|
-
exports.AuthorizeResult = AuthorizeResult;
|
|
109
107
|
|
|
110
108
|
/**
|
|
111
109
|
* A WASM wrapper for the Rust `cedar_policy::Response` struct.
|
|
112
110
|
* Represents the result of an authorization request.
|
|
113
111
|
*/
|
|
114
|
-
class AuthorizeResultResponse {
|
|
112
|
+
export class AuthorizeResultResponse {
|
|
115
113
|
static __wrap(ptr) {
|
|
116
|
-
ptr = ptr >>> 0;
|
|
117
114
|
const obj = Object.create(AuthorizeResultResponse.prototype);
|
|
118
115
|
obj.__wbg_ptr = ptr;
|
|
119
116
|
AuthorizeResultResponseFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -147,14 +144,12 @@ class AuthorizeResultResponse {
|
|
|
147
144
|
}
|
|
148
145
|
}
|
|
149
146
|
if (Symbol.dispose) AuthorizeResultResponse.prototype[Symbol.dispose] = AuthorizeResultResponse.prototype.free;
|
|
150
|
-
exports.AuthorizeResultResponse = AuthorizeResultResponse;
|
|
151
147
|
|
|
152
148
|
/**
|
|
153
149
|
* The instance of the Cedarling application.
|
|
154
150
|
*/
|
|
155
|
-
class Cedarling {
|
|
151
|
+
export class Cedarling {
|
|
156
152
|
static __wrap(ptr) {
|
|
157
|
-
ptr = ptr >>> 0;
|
|
158
153
|
const obj = Object.create(Cedarling.prototype);
|
|
159
154
|
obj.__wbg_ptr = ptr;
|
|
160
155
|
CedarlingFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -588,15 +583,13 @@ class Cedarling {
|
|
|
588
583
|
}
|
|
589
584
|
}
|
|
590
585
|
if (Symbol.dispose) Cedarling.prototype[Symbol.dispose] = Cedarling.prototype.free;
|
|
591
|
-
exports.Cedarling = Cedarling;
|
|
592
586
|
|
|
593
587
|
/**
|
|
594
588
|
* A WASM wrapper for the Rust `cedarling::DataEntry` struct.
|
|
595
589
|
* Represents a data entry in the DataStore with value and metadata.
|
|
596
590
|
*/
|
|
597
|
-
class DataEntry {
|
|
591
|
+
export class DataEntry {
|
|
598
592
|
static __wrap(ptr) {
|
|
599
|
-
ptr = ptr >>> 0;
|
|
600
593
|
const obj = Object.create(DataEntry.prototype);
|
|
601
594
|
obj.__wbg_ptr = ptr;
|
|
602
595
|
DataEntryFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -753,15 +746,13 @@ class DataEntry {
|
|
|
753
746
|
}
|
|
754
747
|
}
|
|
755
748
|
if (Symbol.dispose) DataEntry.prototype[Symbol.dispose] = DataEntry.prototype.free;
|
|
756
|
-
exports.DataEntry = DataEntry;
|
|
757
749
|
|
|
758
750
|
/**
|
|
759
751
|
* A WASM wrapper for the Rust `cedarling::DataStoreStats` struct.
|
|
760
752
|
* Statistics about the DataStore.
|
|
761
753
|
*/
|
|
762
|
-
class DataStoreStats {
|
|
754
|
+
export class DataStoreStats {
|
|
763
755
|
static __wrap(ptr) {
|
|
764
|
-
ptr = ptr >>> 0;
|
|
765
756
|
const obj = Object.create(DataStoreStats.prototype);
|
|
766
757
|
obj.__wbg_ptr = ptr;
|
|
767
758
|
DataStoreStatsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -930,7 +921,6 @@ class DataStoreStats {
|
|
|
930
921
|
}
|
|
931
922
|
}
|
|
932
923
|
if (Symbol.dispose) DataStoreStats.prototype[Symbol.dispose] = DataStoreStats.prototype.free;
|
|
933
|
-
exports.DataStoreStats = DataStoreStats;
|
|
934
924
|
|
|
935
925
|
/**
|
|
936
926
|
* Diagnostics
|
|
@@ -938,9 +928,8 @@ exports.DataStoreStats = DataStoreStats;
|
|
|
938
928
|
*
|
|
939
929
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
940
930
|
*/
|
|
941
|
-
class Diagnostics {
|
|
931
|
+
export class Diagnostics {
|
|
942
932
|
static __wrap(ptr) {
|
|
943
|
-
ptr = ptr >>> 0;
|
|
944
933
|
const obj = Object.create(Diagnostics.prototype);
|
|
945
934
|
obj.__wbg_ptr = ptr;
|
|
946
935
|
DiagnosticsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -982,9 +971,8 @@ class Diagnostics {
|
|
|
982
971
|
}
|
|
983
972
|
}
|
|
984
973
|
if (Symbol.dispose) Diagnostics.prototype[Symbol.dispose] = Diagnostics.prototype.free;
|
|
985
|
-
exports.Diagnostics = Diagnostics;
|
|
986
974
|
|
|
987
|
-
class IntoUnderlyingByteSource {
|
|
975
|
+
export class IntoUnderlyingByteSource {
|
|
988
976
|
__destroy_into_raw() {
|
|
989
977
|
const ptr = this.__wbg_ptr;
|
|
990
978
|
this.__wbg_ptr = 0;
|
|
@@ -1029,9 +1017,8 @@ class IntoUnderlyingByteSource {
|
|
|
1029
1017
|
}
|
|
1030
1018
|
}
|
|
1031
1019
|
if (Symbol.dispose) IntoUnderlyingByteSource.prototype[Symbol.dispose] = IntoUnderlyingByteSource.prototype.free;
|
|
1032
|
-
exports.IntoUnderlyingByteSource = IntoUnderlyingByteSource;
|
|
1033
1020
|
|
|
1034
|
-
class IntoUnderlyingSink {
|
|
1021
|
+
export class IntoUnderlyingSink {
|
|
1035
1022
|
__destroy_into_raw() {
|
|
1036
1023
|
const ptr = this.__wbg_ptr;
|
|
1037
1024
|
this.__wbg_ptr = 0;
|
|
@@ -1069,9 +1056,8 @@ class IntoUnderlyingSink {
|
|
|
1069
1056
|
}
|
|
1070
1057
|
}
|
|
1071
1058
|
if (Symbol.dispose) IntoUnderlyingSink.prototype[Symbol.dispose] = IntoUnderlyingSink.prototype.free;
|
|
1072
|
-
exports.IntoUnderlyingSink = IntoUnderlyingSink;
|
|
1073
1059
|
|
|
1074
|
-
class IntoUnderlyingSource {
|
|
1060
|
+
export class IntoUnderlyingSource {
|
|
1075
1061
|
__destroy_into_raw() {
|
|
1076
1062
|
const ptr = this.__wbg_ptr;
|
|
1077
1063
|
this.__wbg_ptr = 0;
|
|
@@ -1096,15 +1082,13 @@ class IntoUnderlyingSource {
|
|
|
1096
1082
|
}
|
|
1097
1083
|
}
|
|
1098
1084
|
if (Symbol.dispose) IntoUnderlyingSource.prototype[Symbol.dispose] = IntoUnderlyingSource.prototype.free;
|
|
1099
|
-
exports.IntoUnderlyingSource = IntoUnderlyingSource;
|
|
1100
1085
|
|
|
1101
1086
|
/**
|
|
1102
1087
|
* A WASM wrapper for the Rust `cedarling::MultiIssuerAuthorizeResult` struct.
|
|
1103
1088
|
* Represents the result of a multi-issuer authorization request.
|
|
1104
1089
|
*/
|
|
1105
|
-
class MultiIssuerAuthorizeResult {
|
|
1090
|
+
export class MultiIssuerAuthorizeResult {
|
|
1106
1091
|
static __wrap(ptr) {
|
|
1107
|
-
ptr = ptr >>> 0;
|
|
1108
1092
|
const obj = Object.create(MultiIssuerAuthorizeResult.prototype);
|
|
1109
1093
|
obj.__wbg_ptr = ptr;
|
|
1110
1094
|
MultiIssuerAuthorizeResultFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1199,7 +1183,6 @@ class MultiIssuerAuthorizeResult {
|
|
|
1199
1183
|
}
|
|
1200
1184
|
}
|
|
1201
1185
|
if (Symbol.dispose) MultiIssuerAuthorizeResult.prototype[Symbol.dispose] = MultiIssuerAuthorizeResult.prototype.free;
|
|
1202
|
-
exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
|
|
1203
1186
|
|
|
1204
1187
|
/**
|
|
1205
1188
|
* PolicyEvaluationError
|
|
@@ -1207,9 +1190,8 @@ exports.MultiIssuerAuthorizeResult = MultiIssuerAuthorizeResult;
|
|
|
1207
1190
|
*
|
|
1208
1191
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
1209
1192
|
*/
|
|
1210
|
-
class PolicyEvaluationError {
|
|
1193
|
+
export class PolicyEvaluationError {
|
|
1211
1194
|
static __wrap(ptr) {
|
|
1212
|
-
ptr = ptr >>> 0;
|
|
1213
1195
|
const obj = Object.create(PolicyEvaluationError.prototype);
|
|
1214
1196
|
obj.__wbg_ptr = ptr;
|
|
1215
1197
|
PolicyEvaluationErrorFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
@@ -1259,7 +1241,6 @@ class PolicyEvaluationError {
|
|
|
1259
1241
|
}
|
|
1260
1242
|
}
|
|
1261
1243
|
if (Symbol.dispose) PolicyEvaluationError.prototype[Symbol.dispose] = PolicyEvaluationError.prototype.free;
|
|
1262
|
-
exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
1263
1244
|
|
|
1264
1245
|
/**
|
|
1265
1246
|
* Create a new instance of the Cedarling application.
|
|
@@ -1267,11 +1248,10 @@ exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
|
1267
1248
|
* @param {any} config
|
|
1268
1249
|
* @returns {Promise<Cedarling>}
|
|
1269
1250
|
*/
|
|
1270
|
-
function init(config) {
|
|
1251
|
+
export function init(config) {
|
|
1271
1252
|
const ret = wasm.init(config);
|
|
1272
1253
|
return ret;
|
|
1273
1254
|
}
|
|
1274
|
-
exports.init = init;
|
|
1275
1255
|
|
|
1276
1256
|
/**
|
|
1277
1257
|
* Create a new instance of the Cedarling application from archive bytes.
|
|
@@ -1293,80 +1273,79 @@ exports.init = init;
|
|
|
1293
1273
|
* @param {Uint8Array} archive_bytes
|
|
1294
1274
|
* @returns {Promise<Cedarling>}
|
|
1295
1275
|
*/
|
|
1296
|
-
function init_from_archive_bytes(config, archive_bytes) {
|
|
1276
|
+
export function init_from_archive_bytes(config, archive_bytes) {
|
|
1297
1277
|
const ret = wasm.init_from_archive_bytes(config, archive_bytes);
|
|
1298
1278
|
return ret;
|
|
1299
1279
|
}
|
|
1300
|
-
exports.init_from_archive_bytes = init_from_archive_bytes;
|
|
1301
1280
|
function __wbg_get_imports() {
|
|
1302
1281
|
const import0 = {
|
|
1303
1282
|
__proto__: null,
|
|
1304
|
-
|
|
1283
|
+
__wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
|
|
1305
1284
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
1306
1285
|
return ret;
|
|
1307
1286
|
},
|
|
1308
|
-
|
|
1287
|
+
__wbg_Number_a3d737fd183f7dca: function(arg0) {
|
|
1309
1288
|
const ret = Number(arg0);
|
|
1310
1289
|
return ret;
|
|
1311
1290
|
},
|
|
1312
|
-
|
|
1291
|
+
__wbg___wbindgen_bigint_get_as_i64_3af6d4ca77193a4b: function(arg0, arg1) {
|
|
1313
1292
|
const v = arg1;
|
|
1314
1293
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1315
1294
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1316
1295
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1317
1296
|
},
|
|
1318
|
-
|
|
1297
|
+
__wbg___wbindgen_boolean_get_c3dd5c39f1b5a12b: function(arg0) {
|
|
1319
1298
|
const v = arg0;
|
|
1320
1299
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
1321
1300
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1322
1301
|
},
|
|
1323
|
-
|
|
1302
|
+
__wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
|
|
1324
1303
|
const ret = debugString(arg1);
|
|
1325
1304
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1326
1305
|
const len1 = WASM_VECTOR_LEN;
|
|
1327
1306
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1328
1307
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1329
1308
|
},
|
|
1330
|
-
|
|
1309
|
+
__wbg___wbindgen_in_2617fa76397620d3: function(arg0, arg1) {
|
|
1331
1310
|
const ret = arg0 in arg1;
|
|
1332
1311
|
return ret;
|
|
1333
1312
|
},
|
|
1334
|
-
|
|
1313
|
+
__wbg___wbindgen_is_bigint_d6a8167cac401b95: function(arg0) {
|
|
1335
1314
|
const ret = typeof(arg0) === 'bigint';
|
|
1336
1315
|
return ret;
|
|
1337
1316
|
},
|
|
1338
|
-
|
|
1317
|
+
__wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
|
|
1339
1318
|
const ret = typeof(arg0) === 'function';
|
|
1340
1319
|
return ret;
|
|
1341
1320
|
},
|
|
1342
|
-
|
|
1321
|
+
__wbg___wbindgen_is_object_5b22ff2418063a9c: function(arg0) {
|
|
1343
1322
|
const val = arg0;
|
|
1344
1323
|
const ret = typeof(val) === 'object' && val !== null;
|
|
1345
1324
|
return ret;
|
|
1346
1325
|
},
|
|
1347
|
-
|
|
1326
|
+
__wbg___wbindgen_is_string_eddc07a3efad52e6: function(arg0) {
|
|
1348
1327
|
const ret = typeof(arg0) === 'string';
|
|
1349
1328
|
return ret;
|
|
1350
1329
|
},
|
|
1351
|
-
|
|
1330
|
+
__wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
|
|
1352
1331
|
const ret = arg0 === undefined;
|
|
1353
1332
|
return ret;
|
|
1354
1333
|
},
|
|
1355
|
-
|
|
1334
|
+
__wbg___wbindgen_jsval_eq_403eaa3610500a25: function(arg0, arg1) {
|
|
1356
1335
|
const ret = arg0 === arg1;
|
|
1357
1336
|
return ret;
|
|
1358
1337
|
},
|
|
1359
|
-
|
|
1338
|
+
__wbg___wbindgen_jsval_loose_eq_1978f1e77b4bce62: function(arg0, arg1) {
|
|
1360
1339
|
const ret = arg0 == arg1;
|
|
1361
1340
|
return ret;
|
|
1362
1341
|
},
|
|
1363
|
-
|
|
1342
|
+
__wbg___wbindgen_number_get_dd6d69a6079f26f1: function(arg0, arg1) {
|
|
1364
1343
|
const obj = arg1;
|
|
1365
1344
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1366
1345
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1367
1346
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1368
1347
|
},
|
|
1369
|
-
|
|
1348
|
+
__wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
|
|
1370
1349
|
const obj = arg1;
|
|
1371
1350
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1372
1351
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1374,22 +1353,22 @@ function __wbg_get_imports() {
|
|
|
1374
1353
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1375
1354
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1376
1355
|
},
|
|
1377
|
-
|
|
1356
|
+
__wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
|
|
1378
1357
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1379
1358
|
},
|
|
1380
|
-
|
|
1359
|
+
__wbg__wbg_cb_unref_158e43e869788cdc: function(arg0) {
|
|
1381
1360
|
arg0._wbg_cb_unref();
|
|
1382
1361
|
},
|
|
1383
|
-
|
|
1384
|
-
arg0.abort();
|
|
1385
|
-
},
|
|
1386
|
-
__wbg_abort_d53712380a54cc81: function(arg0, arg1) {
|
|
1362
|
+
__wbg_abort_43913e33ecb83d0d: function(arg0, arg1) {
|
|
1387
1363
|
arg0.abort(arg1);
|
|
1388
1364
|
},
|
|
1389
|
-
|
|
1365
|
+
__wbg_abort_87eb7f23cf4b73d1: function(arg0) {
|
|
1366
|
+
arg0.abort();
|
|
1367
|
+
},
|
|
1368
|
+
__wbg_append_8df396311184f750: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1390
1369
|
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1391
1370
|
}, arguments); },
|
|
1392
|
-
|
|
1371
|
+
__wbg_arrayBuffer_87e3ac06d961f7a0: function() { return handleError(function (arg0) {
|
|
1393
1372
|
const ret = arg0.arrayBuffer();
|
|
1394
1373
|
return ret;
|
|
1395
1374
|
}, arguments); },
|
|
@@ -1397,39 +1376,39 @@ function __wbg_get_imports() {
|
|
|
1397
1376
|
const ret = AuthorizeResult.__wrap(arg0);
|
|
1398
1377
|
return ret;
|
|
1399
1378
|
},
|
|
1400
|
-
|
|
1379
|
+
__wbg_body_6929614c20dfa7b0: function(arg0) {
|
|
1401
1380
|
const ret = arg0.body;
|
|
1402
1381
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1403
1382
|
},
|
|
1404
|
-
|
|
1383
|
+
__wbg_buffer_9ee17426fe5a5d65: function(arg0) {
|
|
1405
1384
|
const ret = arg0.buffer;
|
|
1406
1385
|
return ret;
|
|
1407
1386
|
},
|
|
1408
|
-
|
|
1387
|
+
__wbg_byobRequest_178b64c09a0bee03: function(arg0) {
|
|
1409
1388
|
const ret = arg0.byobRequest;
|
|
1410
1389
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1411
1390
|
},
|
|
1412
|
-
|
|
1391
|
+
__wbg_byteLength_1f57c71e64ee0180: function(arg0) {
|
|
1413
1392
|
const ret = arg0.byteLength;
|
|
1414
1393
|
return ret;
|
|
1415
1394
|
},
|
|
1416
|
-
|
|
1395
|
+
__wbg_byteOffset_648d0af273024f3d: function(arg0) {
|
|
1417
1396
|
const ret = arg0.byteOffset;
|
|
1418
1397
|
return ret;
|
|
1419
1398
|
},
|
|
1420
|
-
|
|
1421
|
-
const ret = arg0.call(arg1);
|
|
1399
|
+
__wbg_call_a41d6421b30a32c5: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1400
|
+
const ret = arg0.call(arg1, arg2);
|
|
1422
1401
|
return ret;
|
|
1423
1402
|
}, arguments); },
|
|
1424
|
-
|
|
1425
|
-
const ret = arg0.call(arg1
|
|
1403
|
+
__wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
|
|
1404
|
+
const ret = arg0.call(arg1);
|
|
1426
1405
|
return ret;
|
|
1427
1406
|
}, arguments); },
|
|
1428
|
-
|
|
1407
|
+
__wbg_cancel_f97a3ee5a8b30eef: function(arg0) {
|
|
1429
1408
|
const ret = arg0.cancel();
|
|
1430
1409
|
return ret;
|
|
1431
1410
|
},
|
|
1432
|
-
|
|
1411
|
+
__wbg_catch_f939343cb181958c: function(arg0, arg1) {
|
|
1433
1412
|
const ret = arg0.catch(arg1);
|
|
1434
1413
|
return ret;
|
|
1435
1414
|
},
|
|
@@ -1449,10 +1428,10 @@ function __wbg_get_imports() {
|
|
|
1449
1428
|
const ret = clearTimeout(arg0);
|
|
1450
1429
|
return ret;
|
|
1451
1430
|
},
|
|
1452
|
-
|
|
1431
|
+
__wbg_close_63e009c5a75f5597: function() { return handleError(function (arg0) {
|
|
1453
1432
|
arg0.close();
|
|
1454
1433
|
}, arguments); },
|
|
1455
|
-
|
|
1434
|
+
__wbg_close_de471367367aa5cb: function() { return handleError(function (arg0) {
|
|
1456
1435
|
arg0.close();
|
|
1457
1436
|
}, arguments); },
|
|
1458
1437
|
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
@@ -1463,48 +1442,48 @@ function __wbg_get_imports() {
|
|
|
1463
1442
|
const ret = DataEntry.__wrap(arg0);
|
|
1464
1443
|
return ret;
|
|
1465
1444
|
},
|
|
1466
|
-
|
|
1445
|
+
__wbg_debug_91f8b6a4b6140f7f: function(arg0) {
|
|
1467
1446
|
console.debug(...arg0);
|
|
1468
1447
|
},
|
|
1469
|
-
|
|
1448
|
+
__wbg_done_b1afd6201ac045e0: function(arg0) {
|
|
1470
1449
|
const ret = arg0.done;
|
|
1471
1450
|
return ret;
|
|
1472
1451
|
},
|
|
1473
|
-
|
|
1452
|
+
__wbg_enqueue_6c7cd543c0f3828e: function() { return handleError(function (arg0, arg1) {
|
|
1474
1453
|
arg0.enqueue(arg1);
|
|
1475
1454
|
}, arguments); },
|
|
1476
|
-
|
|
1455
|
+
__wbg_entries_755901ed0f6525df: function(arg0) {
|
|
1477
1456
|
const ret = arg0.entries();
|
|
1478
1457
|
return ret;
|
|
1479
1458
|
},
|
|
1480
|
-
|
|
1459
|
+
__wbg_entries_83f42485034accab: function(arg0) {
|
|
1481
1460
|
const ret = arg0.entries();
|
|
1482
1461
|
return ret;
|
|
1483
1462
|
},
|
|
1484
|
-
|
|
1463
|
+
__wbg_entries_bb9843ba73dc70d6: function(arg0) {
|
|
1485
1464
|
const ret = Object.entries(arg0);
|
|
1486
1465
|
return ret;
|
|
1487
1466
|
},
|
|
1488
|
-
|
|
1467
|
+
__wbg_error_8465153f675136ab: function(arg0) {
|
|
1489
1468
|
console.error(...arg0);
|
|
1490
1469
|
},
|
|
1491
|
-
|
|
1470
|
+
__wbg_fetch_1a030943aa8e0c38: function(arg0, arg1) {
|
|
1492
1471
|
const ret = arg0.fetch(arg1);
|
|
1493
1472
|
return ret;
|
|
1494
1473
|
},
|
|
1495
|
-
__wbg_fetch_28a97b69c20078bb: function(arg0, arg1, arg2) {
|
|
1496
|
-
const ret = arg0.fetch(arg1, arg2);
|
|
1497
|
-
return ret;
|
|
1498
|
-
},
|
|
1499
1474
|
__wbg_fetch_5e2e4a3d60c8d1d3: function(arg0, arg1) {
|
|
1500
1475
|
const ret = fetch(arg0, arg1);
|
|
1501
1476
|
return ret;
|
|
1502
1477
|
},
|
|
1478
|
+
__wbg_fetch_a851d393d6b4492c: function(arg0, arg1, arg2) {
|
|
1479
|
+
const ret = arg0.fetch(arg1, arg2);
|
|
1480
|
+
return ret;
|
|
1481
|
+
},
|
|
1503
1482
|
__wbg_fetch_c6486a0142348bc8: function(arg0) {
|
|
1504
1483
|
const ret = fetch(arg0);
|
|
1505
1484
|
return ret;
|
|
1506
1485
|
},
|
|
1507
|
-
|
|
1486
|
+
__wbg_fromEntries_e9b52c3928464f81: function() { return handleError(function (arg0) {
|
|
1508
1487
|
const ret = Object.fromEntries(arg0);
|
|
1509
1488
|
return ret;
|
|
1510
1489
|
}, arguments); },
|
|
@@ -1518,35 +1497,35 @@ function __wbg_get_imports() {
|
|
|
1518
1497
|
const ret = arg0.getReader();
|
|
1519
1498
|
return ret;
|
|
1520
1499
|
}, arguments); },
|
|
1521
|
-
|
|
1500
|
+
__wbg_getTime_e599bee315e19eba: function(arg0) {
|
|
1522
1501
|
const ret = arg0.getTime();
|
|
1523
1502
|
return ret;
|
|
1524
1503
|
},
|
|
1525
|
-
|
|
1504
|
+
__wbg_getTimezoneOffset_d843b3968046e734: function(arg0) {
|
|
1526
1505
|
const ret = arg0.getTimezoneOffset();
|
|
1527
1506
|
return ret;
|
|
1528
1507
|
},
|
|
1529
|
-
|
|
1508
|
+
__wbg_get_41476db20fef99a8: function() { return handleError(function (arg0, arg1) {
|
|
1530
1509
|
const ret = Reflect.get(arg0, arg1);
|
|
1531
1510
|
return ret;
|
|
1532
1511
|
}, arguments); },
|
|
1533
|
-
|
|
1534
|
-
const ret = Reflect.get(arg0, arg1);
|
|
1535
|
-
return ret;
|
|
1536
|
-
}, arguments); },
|
|
1537
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
1512
|
+
__wbg_get_652f640b3b0b6e3e: function(arg0, arg1) {
|
|
1538
1513
|
const ret = arg0[arg1 >>> 0];
|
|
1539
1514
|
return ret;
|
|
1540
1515
|
},
|
|
1541
|
-
|
|
1516
|
+
__wbg_get_9cfea9b7bbf12a15: function() { return handleError(function (arg0, arg1) {
|
|
1517
|
+
const ret = Reflect.get(arg0, arg1);
|
|
1518
|
+
return ret;
|
|
1519
|
+
}, arguments); },
|
|
1520
|
+
__wbg_get_done_2088079830fb242e: function(arg0) {
|
|
1542
1521
|
const ret = arg0.done;
|
|
1543
1522
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
1544
1523
|
},
|
|
1545
|
-
|
|
1524
|
+
__wbg_get_unchecked_be562b1421656321: function(arg0, arg1) {
|
|
1546
1525
|
const ret = arg0[arg1 >>> 0];
|
|
1547
1526
|
return ret;
|
|
1548
1527
|
},
|
|
1549
|
-
|
|
1528
|
+
__wbg_get_value_52f4b39f58a812ed: function(arg0) {
|
|
1550
1529
|
const ret = arg0.value;
|
|
1551
1530
|
return ret;
|
|
1552
1531
|
},
|
|
@@ -1554,18 +1533,18 @@ function __wbg_get_imports() {
|
|
|
1554
1533
|
const ret = arg0[arg1];
|
|
1555
1534
|
return ret;
|
|
1556
1535
|
},
|
|
1557
|
-
|
|
1536
|
+
__wbg_has_3a6f31f647e0ba22: function() { return handleError(function (arg0, arg1) {
|
|
1558
1537
|
const ret = Reflect.has(arg0, arg1);
|
|
1559
1538
|
return ret;
|
|
1560
1539
|
}, arguments); },
|
|
1561
|
-
|
|
1540
|
+
__wbg_headers_de17f740bce997ae: function(arg0) {
|
|
1562
1541
|
const ret = arg0.headers;
|
|
1563
1542
|
return ret;
|
|
1564
1543
|
},
|
|
1565
|
-
|
|
1544
|
+
__wbg_info_b2079a08fe52c7ff: function(arg0) {
|
|
1566
1545
|
console.info(...arg0);
|
|
1567
1546
|
},
|
|
1568
|
-
|
|
1547
|
+
__wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
|
|
1569
1548
|
let result;
|
|
1570
1549
|
try {
|
|
1571
1550
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -1575,7 +1554,7 @@ function __wbg_get_imports() {
|
|
|
1575
1554
|
const ret = result;
|
|
1576
1555
|
return ret;
|
|
1577
1556
|
},
|
|
1578
|
-
|
|
1557
|
+
__wbg_instanceof_Array_383d7c7d1e205030: function(arg0) {
|
|
1579
1558
|
let result;
|
|
1580
1559
|
try {
|
|
1581
1560
|
result = arg0 instanceof Array;
|
|
@@ -1585,7 +1564,7 @@ function __wbg_get_imports() {
|
|
|
1585
1564
|
const ret = result;
|
|
1586
1565
|
return ret;
|
|
1587
1566
|
},
|
|
1588
|
-
|
|
1567
|
+
__wbg_instanceof_Map_10d4edf60fcf9327: function(arg0) {
|
|
1589
1568
|
let result;
|
|
1590
1569
|
try {
|
|
1591
1570
|
result = arg0 instanceof Map;
|
|
@@ -1595,7 +1574,7 @@ function __wbg_get_imports() {
|
|
|
1595
1574
|
const ret = result;
|
|
1596
1575
|
return ret;
|
|
1597
1576
|
},
|
|
1598
|
-
|
|
1577
|
+
__wbg_instanceof_Response_370b83aa6c17e88a: function(arg0) {
|
|
1599
1578
|
let result;
|
|
1600
1579
|
try {
|
|
1601
1580
|
result = arg0 instanceof Response;
|
|
@@ -1605,7 +1584,7 @@ function __wbg_get_imports() {
|
|
|
1605
1584
|
const ret = result;
|
|
1606
1585
|
return ret;
|
|
1607
1586
|
},
|
|
1608
|
-
|
|
1587
|
+
__wbg_instanceof_Uint8Array_57d77acd50e4c44d: function(arg0) {
|
|
1609
1588
|
let result;
|
|
1610
1589
|
try {
|
|
1611
1590
|
result = arg0 instanceof Uint8Array;
|
|
@@ -1615,31 +1594,31 @@ function __wbg_get_imports() {
|
|
|
1615
1594
|
const ret = result;
|
|
1616
1595
|
return ret;
|
|
1617
1596
|
},
|
|
1618
|
-
|
|
1597
|
+
__wbg_isArray_c6c6ef8308995bcf: function(arg0) {
|
|
1619
1598
|
const ret = Array.isArray(arg0);
|
|
1620
1599
|
return ret;
|
|
1621
1600
|
},
|
|
1622
|
-
|
|
1601
|
+
__wbg_isSafeInteger_3c56c421a5b4cce4: function(arg0) {
|
|
1623
1602
|
const ret = Number.isSafeInteger(arg0);
|
|
1624
1603
|
return ret;
|
|
1625
1604
|
},
|
|
1626
|
-
|
|
1605
|
+
__wbg_iterator_9d68985a1d096fc2: function() {
|
|
1627
1606
|
const ret = Symbol.iterator;
|
|
1628
1607
|
return ret;
|
|
1629
1608
|
},
|
|
1630
|
-
|
|
1609
|
+
__wbg_keys_ee6179c15466c3ed: function(arg0) {
|
|
1631
1610
|
const ret = Object.keys(arg0);
|
|
1632
1611
|
return ret;
|
|
1633
1612
|
},
|
|
1634
|
-
|
|
1613
|
+
__wbg_length_0a6ce016dc1460b0: function(arg0) {
|
|
1635
1614
|
const ret = arg0.length;
|
|
1636
1615
|
return ret;
|
|
1637
1616
|
},
|
|
1638
|
-
|
|
1617
|
+
__wbg_length_ba3c032602efe310: function(arg0) {
|
|
1639
1618
|
const ret = arg0.length;
|
|
1640
1619
|
return ret;
|
|
1641
1620
|
},
|
|
1642
|
-
|
|
1621
|
+
__wbg_log_c764d214ec8dcf7f: function(arg0) {
|
|
1643
1622
|
console.log(...arg0);
|
|
1644
1623
|
},
|
|
1645
1624
|
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
@@ -1650,54 +1629,54 @@ function __wbg_get_imports() {
|
|
|
1650
1629
|
const ret = MultiIssuerAuthorizeResult.__wrap(arg0);
|
|
1651
1630
|
return ret;
|
|
1652
1631
|
},
|
|
1653
|
-
|
|
1632
|
+
__wbg_new_0_e486ec9936f7edbf: function() {
|
|
1654
1633
|
const ret = new Date();
|
|
1655
1634
|
return ret;
|
|
1656
1635
|
},
|
|
1657
|
-
|
|
1658
|
-
const ret = new Uint8Array(arg0);
|
|
1659
|
-
return ret;
|
|
1660
|
-
},
|
|
1661
|
-
__wbg_new_15a4889b4b90734d: function() { return handleError(function () {
|
|
1636
|
+
__wbg_new_18865c63fa645c6f: function() { return handleError(function () {
|
|
1662
1637
|
const ret = new Headers();
|
|
1663
1638
|
return ret;
|
|
1664
1639
|
}, arguments); },
|
|
1665
|
-
|
|
1666
|
-
const ret = new
|
|
1667
|
-
return ret;
|
|
1668
|
-
},
|
|
1669
|
-
__wbg_new_5e360d2ff7b9e1c3: function(arg0, arg1) {
|
|
1670
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1640
|
+
__wbg_new_2fad8ca02fd00684: function() {
|
|
1641
|
+
const ret = new Object();
|
|
1671
1642
|
return ret;
|
|
1672
1643
|
},
|
|
1673
|
-
|
|
1644
|
+
__wbg_new_3baa8d9866155c79: function() {
|
|
1674
1645
|
const ret = new Array();
|
|
1675
1646
|
return ret;
|
|
1676
1647
|
},
|
|
1677
|
-
|
|
1678
|
-
const ret = new
|
|
1648
|
+
__wbg_new_46ae4e4ff2a07a64: function() {
|
|
1649
|
+
const ret = new Map();
|
|
1679
1650
|
return ret;
|
|
1680
1651
|
},
|
|
1681
|
-
|
|
1652
|
+
__wbg_new_51ff470dc2f61e27: function() { return handleError(function () {
|
|
1682
1653
|
const ret = new AbortController();
|
|
1683
1654
|
return ret;
|
|
1684
1655
|
}, arguments); },
|
|
1685
|
-
|
|
1686
|
-
const ret = new
|
|
1656
|
+
__wbg_new_8454eee672b2ba6e: function(arg0) {
|
|
1657
|
+
const ret = new Uint8Array(arg0);
|
|
1658
|
+
return ret;
|
|
1659
|
+
},
|
|
1660
|
+
__wbg_new_b47e026ba742fe65: function(arg0) {
|
|
1661
|
+
const ret = new Date(arg0);
|
|
1662
|
+
return ret;
|
|
1663
|
+
},
|
|
1664
|
+
__wbg_new_c9ea13ea803a692e: function(arg0, arg1) {
|
|
1665
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1687
1666
|
return ret;
|
|
1688
1667
|
},
|
|
1689
|
-
|
|
1668
|
+
__wbg_new_from_slice_5a173c243af2e823: function(arg0, arg1) {
|
|
1690
1669
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
1691
1670
|
return ret;
|
|
1692
1671
|
},
|
|
1693
|
-
|
|
1672
|
+
__wbg_new_typed_1137602701dc87d4: function(arg0, arg1) {
|
|
1694
1673
|
try {
|
|
1695
1674
|
var state0 = {a: arg0, b: arg1};
|
|
1696
1675
|
var cb0 = (arg0, arg1) => {
|
|
1697
1676
|
const a = state0.a;
|
|
1698
1677
|
state0.a = 0;
|
|
1699
1678
|
try {
|
|
1700
|
-
return
|
|
1679
|
+
return wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(a, state0.b, arg0, arg1);
|
|
1701
1680
|
} finally {
|
|
1702
1681
|
state0.a = a;
|
|
1703
1682
|
}
|
|
@@ -1708,26 +1687,26 @@ function __wbg_get_imports() {
|
|
|
1708
1687
|
state0.a = 0;
|
|
1709
1688
|
}
|
|
1710
1689
|
},
|
|
1711
|
-
|
|
1690
|
+
__wbg_new_with_byte_offset_and_length_643e5e9e2fb6b1ad: function(arg0, arg1, arg2) {
|
|
1712
1691
|
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1713
1692
|
return ret;
|
|
1714
1693
|
},
|
|
1715
|
-
|
|
1694
|
+
__wbg_new_with_length_9011f5da794bf5d9: function(arg0) {
|
|
1716
1695
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
1717
1696
|
return ret;
|
|
1718
1697
|
},
|
|
1719
|
-
|
|
1698
|
+
__wbg_new_with_str_and_init_da311e12114f4d1e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1720
1699
|
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1721
1700
|
return ret;
|
|
1722
1701
|
}, arguments); },
|
|
1723
|
-
|
|
1724
|
-
const ret = arg0.next();
|
|
1725
|
-
return ret;
|
|
1726
|
-
}, arguments); },
|
|
1727
|
-
__wbg_next_7646edaa39458ef7: function(arg0) {
|
|
1702
|
+
__wbg_next_261c3c48c6e309a5: function(arg0) {
|
|
1728
1703
|
const ret = arg0.next;
|
|
1729
1704
|
return ret;
|
|
1730
1705
|
},
|
|
1706
|
+
__wbg_next_aacee310bcfe6461: function() { return handleError(function (arg0) {
|
|
1707
|
+
const ret = arg0.next();
|
|
1708
|
+
return ret;
|
|
1709
|
+
}, arguments); },
|
|
1731
1710
|
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1732
1711
|
const ret = arg0.node;
|
|
1733
1712
|
return ret;
|
|
@@ -1740,39 +1719,39 @@ function __wbg_get_imports() {
|
|
|
1740
1719
|
const ret = arg0.process;
|
|
1741
1720
|
return ret;
|
|
1742
1721
|
},
|
|
1743
|
-
|
|
1722
|
+
__wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
|
|
1744
1723
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1745
1724
|
},
|
|
1746
|
-
|
|
1725
|
+
__wbg_push_60a5366c0bb22a7d: function(arg0, arg1) {
|
|
1747
1726
|
const ret = arg0.push(arg1);
|
|
1748
1727
|
return ret;
|
|
1749
1728
|
},
|
|
1750
|
-
|
|
1729
|
+
__wbg_queueMicrotask_40ac6ffc2848ba77: function(arg0) {
|
|
1751
1730
|
queueMicrotask(arg0);
|
|
1752
1731
|
},
|
|
1753
|
-
|
|
1732
|
+
__wbg_queueMicrotask_74d092439f6494c1: function(arg0) {
|
|
1754
1733
|
const ret = arg0.queueMicrotask;
|
|
1755
1734
|
return ret;
|
|
1756
1735
|
},
|
|
1757
1736
|
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1758
1737
|
arg0.randomFillSync(arg1);
|
|
1759
1738
|
}, arguments); },
|
|
1760
|
-
|
|
1739
|
+
__wbg_read_ac2e4325f1799cbe: function(arg0) {
|
|
1761
1740
|
const ret = arg0.read();
|
|
1762
1741
|
return ret;
|
|
1763
1742
|
},
|
|
1764
|
-
|
|
1743
|
+
__wbg_releaseLock_9e0ebc0b5270a358: function(arg0) {
|
|
1765
1744
|
arg0.releaseLock();
|
|
1766
1745
|
},
|
|
1767
1746
|
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1768
1747
|
const ret = module.require;
|
|
1769
1748
|
return ret;
|
|
1770
1749
|
}, arguments); },
|
|
1771
|
-
|
|
1750
|
+
__wbg_resolve_9feb5d906ca62419: function(arg0) {
|
|
1772
1751
|
const ret = Promise.resolve(arg0);
|
|
1773
1752
|
return ret;
|
|
1774
1753
|
},
|
|
1775
|
-
|
|
1754
|
+
__wbg_respond_e7e53102735b2ae2: function() { return handleError(function (arg0, arg1) {
|
|
1776
1755
|
arg0.respond(arg1 >>> 0);
|
|
1777
1756
|
}, arguments); },
|
|
1778
1757
|
__wbg_setTimeout_30be5552e4410378: function(arg0, arg1) {
|
|
@@ -1787,114 +1766,114 @@ function __wbg_get_imports() {
|
|
|
1787
1766
|
const ret = setTimeout(arg0, arg1);
|
|
1788
1767
|
return ret;
|
|
1789
1768
|
},
|
|
1790
|
-
|
|
1769
|
+
__wbg_set_5337f8ac82364a3f: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1791
1770
|
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1792
1771
|
return ret;
|
|
1793
1772
|
}, arguments); },
|
|
1794
|
-
|
|
1773
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1774
|
+
arg0[arg1] = arg2;
|
|
1775
|
+
},
|
|
1776
|
+
__wbg_set_82f7a370f604db70: function(arg0, arg1, arg2) {
|
|
1777
|
+
const ret = arg0.set(arg1, arg2);
|
|
1778
|
+
return ret;
|
|
1779
|
+
},
|
|
1780
|
+
__wbg_set_959f043b9152efeb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1795
1781
|
arg0.set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1796
1782
|
}, arguments); },
|
|
1797
|
-
|
|
1798
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1799
|
-
},
|
|
1800
|
-
__wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
|
|
1783
|
+
__wbg_set_b0d9dc239ecdb765: function(arg0, arg1, arg2) {
|
|
1801
1784
|
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1802
1785
|
},
|
|
1803
|
-
|
|
1804
|
-
arg0[arg1] = arg2;
|
|
1805
|
-
},
|
|
1806
|
-
__wbg_set_body_be11680f34217f75: function(arg0, arg1) {
|
|
1786
|
+
__wbg_set_body_aaff4f5f9991f342: function(arg0, arg1) {
|
|
1807
1787
|
arg0.body = arg1;
|
|
1808
1788
|
},
|
|
1809
|
-
|
|
1789
|
+
__wbg_set_cache_d1f2b7b4dfa39317: function(arg0, arg1) {
|
|
1810
1790
|
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1811
1791
|
},
|
|
1812
|
-
|
|
1792
|
+
__wbg_set_credentials_f31e4d30b974ce14: function(arg0, arg1) {
|
|
1813
1793
|
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1814
1794
|
},
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
return ret;
|
|
1795
|
+
__wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
|
|
1796
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1818
1797
|
},
|
|
1819
|
-
|
|
1798
|
+
__wbg_set_headers_ae96049ea40e9eef: function(arg0, arg1) {
|
|
1820
1799
|
arg0.headers = arg1;
|
|
1821
1800
|
},
|
|
1822
|
-
|
|
1801
|
+
__wbg_set_integrity_e20206ae8869d3fd: function(arg0, arg1, arg2) {
|
|
1823
1802
|
arg0.integrity = getStringFromWasm0(arg1, arg2);
|
|
1824
1803
|
},
|
|
1825
|
-
|
|
1804
|
+
__wbg_set_method_0eea8a5597775fa1: function(arg0, arg1, arg2) {
|
|
1826
1805
|
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1827
1806
|
},
|
|
1828
|
-
|
|
1807
|
+
__wbg_set_mode_9fe47bff60a1580d: function(arg0, arg1) {
|
|
1829
1808
|
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1830
1809
|
},
|
|
1831
|
-
|
|
1810
|
+
__wbg_set_redirect_d59447760eb3129d: function(arg0, arg1) {
|
|
1832
1811
|
arg0.redirect = __wbindgen_enum_RequestRedirect[arg1];
|
|
1833
1812
|
},
|
|
1834
|
-
|
|
1813
|
+
__wbg_set_referrer_d0e5dc091bbc9f75: function(arg0, arg1, arg2) {
|
|
1835
1814
|
arg0.referrer = getStringFromWasm0(arg1, arg2);
|
|
1836
1815
|
},
|
|
1837
|
-
|
|
1816
|
+
__wbg_set_referrer_policy_5afdd37afd73c769: function(arg0, arg1) {
|
|
1838
1817
|
arg0.referrerPolicy = __wbindgen_enum_ReferrerPolicy[arg1];
|
|
1839
1818
|
},
|
|
1840
|
-
|
|
1819
|
+
__wbg_set_signal_8c5cf4c3b27bd8a8: function(arg0, arg1) {
|
|
1841
1820
|
arg0.signal = arg1;
|
|
1842
1821
|
},
|
|
1843
|
-
|
|
1822
|
+
__wbg_signal_4643ce883b92b553: function(arg0) {
|
|
1844
1823
|
const ret = arg0.signal;
|
|
1845
1824
|
return ret;
|
|
1846
1825
|
},
|
|
1847
|
-
|
|
1848
|
-
const ret = typeof
|
|
1826
|
+
__wbg_static_accessor_GLOBAL_THIS_1c7f1bd6c6941fdb: function() {
|
|
1827
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1849
1828
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1850
1829
|
},
|
|
1851
|
-
|
|
1852
|
-
const ret = typeof
|
|
1830
|
+
__wbg_static_accessor_GLOBAL_e039bc914f83e74e: function() {
|
|
1831
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1853
1832
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1854
1833
|
},
|
|
1855
|
-
|
|
1834
|
+
__wbg_static_accessor_SELF_8bf8c48c28420ad5: function() {
|
|
1856
1835
|
const ret = typeof self === 'undefined' ? null : self;
|
|
1857
1836
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1858
1837
|
},
|
|
1859
|
-
|
|
1838
|
+
__wbg_static_accessor_WINDOW_6aeee9b51652ee0f: function() {
|
|
1860
1839
|
const ret = typeof window === 'undefined' ? null : window;
|
|
1861
1840
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1862
1841
|
},
|
|
1863
|
-
|
|
1842
|
+
__wbg_status_157e67ab07d01f8a: function(arg0) {
|
|
1864
1843
|
const ret = arg0.status;
|
|
1865
1844
|
return ret;
|
|
1866
1845
|
},
|
|
1867
|
-
|
|
1846
|
+
__wbg_subarray_fbe3cef290e1fa43: function(arg0, arg1, arg2) {
|
|
1868
1847
|
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1869
1848
|
return ret;
|
|
1870
1849
|
},
|
|
1871
|
-
|
|
1850
|
+
__wbg_text_de416916b5c06490: function() { return handleError(function (arg0) {
|
|
1872
1851
|
const ret = arg0.text();
|
|
1873
1852
|
return ret;
|
|
1874
1853
|
}, arguments); },
|
|
1875
|
-
|
|
1876
|
-
const ret = arg0.then(arg1
|
|
1854
|
+
__wbg_then_20a157d939b514f5: function(arg0, arg1) {
|
|
1855
|
+
const ret = arg0.then(arg1);
|
|
1877
1856
|
return ret;
|
|
1878
1857
|
},
|
|
1879
|
-
|
|
1880
|
-
const ret = arg0.then(arg1);
|
|
1858
|
+
__wbg_then_5ef9b762bc91555c: function(arg0, arg1, arg2) {
|
|
1859
|
+
const ret = arg0.then(arg1, arg2);
|
|
1881
1860
|
return ret;
|
|
1882
1861
|
},
|
|
1883
|
-
|
|
1862
|
+
__wbg_toString_9ae74d2321992740: function(arg0) {
|
|
1884
1863
|
const ret = arg0.toString();
|
|
1885
1864
|
return ret;
|
|
1886
1865
|
},
|
|
1887
|
-
|
|
1866
|
+
__wbg_trace_0f27806f6c520c74: function(arg0) {
|
|
1888
1867
|
console.trace(...arg0);
|
|
1889
1868
|
},
|
|
1890
|
-
|
|
1869
|
+
__wbg_url_a0e994e7d0317efc: function(arg0, arg1) {
|
|
1891
1870
|
const ret = arg1.url;
|
|
1892
1871
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1893
1872
|
const len1 = WASM_VECTOR_LEN;
|
|
1894
1873
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1895
1874
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1896
1875
|
},
|
|
1897
|
-
|
|
1876
|
+
__wbg_value_f852716acdeb3e82: function(arg0) {
|
|
1898
1877
|
const ret = arg0.value;
|
|
1899
1878
|
return ret;
|
|
1900
1879
|
},
|
|
@@ -1902,36 +1881,36 @@ function __wbg_get_imports() {
|
|
|
1902
1881
|
const ret = arg0.versions;
|
|
1903
1882
|
return ret;
|
|
1904
1883
|
},
|
|
1905
|
-
|
|
1884
|
+
__wbg_view_16bd97d49793e1a9: function(arg0) {
|
|
1906
1885
|
const ret = arg0.view;
|
|
1907
1886
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1908
1887
|
},
|
|
1909
|
-
|
|
1888
|
+
__wbg_warn_eb956ecd3c97a450: function(arg0) {
|
|
1910
1889
|
console.warn(...arg0);
|
|
1911
1890
|
},
|
|
1912
1891
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1913
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1914
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1892
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2195, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1893
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h122aa852e025a273);
|
|
1915
1894
|
return ret;
|
|
1916
1895
|
},
|
|
1917
1896
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1918
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
1919
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1897
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 630, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1898
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c);
|
|
1920
1899
|
return ret;
|
|
1921
1900
|
},
|
|
1922
1901
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1923
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1924
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1902
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 541, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1903
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa);
|
|
1925
1904
|
return ret;
|
|
1926
1905
|
},
|
|
1927
1906
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1928
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1929
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1907
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 586, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1908
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h057874c537728a90);
|
|
1930
1909
|
return ret;
|
|
1931
1910
|
},
|
|
1932
1911
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1933
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
1934
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1912
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 744, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1913
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97);
|
|
1935
1914
|
return ret;
|
|
1936
1915
|
},
|
|
1937
1916
|
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
@@ -1975,31 +1954,31 @@ function __wbg_get_imports() {
|
|
|
1975
1954
|
};
|
|
1976
1955
|
}
|
|
1977
1956
|
|
|
1978
|
-
function
|
|
1979
|
-
wasm.
|
|
1957
|
+
function wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa(arg0, arg1) {
|
|
1958
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h461784cf6dfc2afa(arg0, arg1);
|
|
1980
1959
|
}
|
|
1981
1960
|
|
|
1982
|
-
function
|
|
1983
|
-
wasm.
|
|
1961
|
+
function wasm_bindgen__convert__closures_____invoke__h057874c537728a90(arg0, arg1) {
|
|
1962
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h057874c537728a90(arg0, arg1);
|
|
1984
1963
|
}
|
|
1985
1964
|
|
|
1986
|
-
function
|
|
1987
|
-
wasm.
|
|
1965
|
+
function wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97(arg0, arg1) {
|
|
1966
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc5f2b2e319a50b97(arg0, arg1);
|
|
1988
1967
|
}
|
|
1989
1968
|
|
|
1990
|
-
function
|
|
1991
|
-
wasm.
|
|
1969
|
+
function wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c(arg0, arg1, arg2) {
|
|
1970
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hd100e35fa7d3225c(arg0, arg1, arg2);
|
|
1992
1971
|
}
|
|
1993
1972
|
|
|
1994
|
-
function
|
|
1995
|
-
const ret = wasm.
|
|
1973
|
+
function wasm_bindgen__convert__closures_____invoke__h122aa852e025a273(arg0, arg1, arg2) {
|
|
1974
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h122aa852e025a273(arg0, arg1, arg2);
|
|
1996
1975
|
if (ret[1]) {
|
|
1997
1976
|
throw takeFromExternrefTable0(ret[0]);
|
|
1998
1977
|
}
|
|
1999
1978
|
}
|
|
2000
1979
|
|
|
2001
|
-
function
|
|
2002
|
-
wasm.
|
|
1980
|
+
function wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(arg0, arg1, arg2, arg3) {
|
|
1981
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h1aa6bfccca23b638(arg0, arg1, arg2, arg3);
|
|
2003
1982
|
}
|
|
2004
1983
|
|
|
2005
1984
|
|
|
@@ -2021,37 +2000,37 @@ const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate
|
|
|
2021
2000
|
const __wbindgen_enum_RequestRedirect = ["follow", "error", "manual"];
|
|
2022
2001
|
const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2023
2002
|
? { register: () => {}, unregister: () => {} }
|
|
2024
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresult_free(ptr
|
|
2003
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresult_free(ptr, 1));
|
|
2025
2004
|
const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2026
2005
|
? { register: () => {}, unregister: () => {} }
|
|
2027
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresultresponse_free(ptr
|
|
2006
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_authorizeresultresponse_free(ptr, 1));
|
|
2028
2007
|
const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2029
2008
|
? { register: () => {}, unregister: () => {} }
|
|
2030
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_cedarling_free(ptr
|
|
2009
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_cedarling_free(ptr, 1));
|
|
2031
2010
|
const DataEntryFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2032
2011
|
? { register: () => {}, unregister: () => {} }
|
|
2033
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_dataentry_free(ptr
|
|
2012
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_dataentry_free(ptr, 1));
|
|
2034
2013
|
const DataStoreStatsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2035
2014
|
? { register: () => {}, unregister: () => {} }
|
|
2036
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_datastorestats_free(ptr
|
|
2015
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_datastorestats_free(ptr, 1));
|
|
2037
2016
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2038
2017
|
? { register: () => {}, unregister: () => {} }
|
|
2039
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr
|
|
2018
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_diagnostics_free(ptr, 1));
|
|
2040
2019
|
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2041
2020
|
? { register: () => {}, unregister: () => {} }
|
|
2042
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr
|
|
2021
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr, 1));
|
|
2043
2022
|
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2044
2023
|
? { register: () => {}, unregister: () => {} }
|
|
2045
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr
|
|
2024
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr, 1));
|
|
2046
2025
|
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2047
2026
|
? { register: () => {}, unregister: () => {} }
|
|
2048
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr
|
|
2027
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr, 1));
|
|
2049
2028
|
const MultiIssuerAuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2050
2029
|
? { register: () => {}, unregister: () => {} }
|
|
2051
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr
|
|
2030
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_multiissuerauthorizeresult_free(ptr, 1));
|
|
2052
2031
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
2053
2032
|
? { register: () => {}, unregister: () => {} }
|
|
2054
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr
|
|
2033
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_policyevaluationerror_free(ptr, 1));
|
|
2055
2034
|
|
|
2056
2035
|
function addToExternrefTable0(obj) {
|
|
2057
2036
|
const idx = wasm.__externref_table_alloc();
|
|
@@ -2159,8 +2138,7 @@ function getDataViewMemory0() {
|
|
|
2159
2138
|
}
|
|
2160
2139
|
|
|
2161
2140
|
function getStringFromWasm0(ptr, len) {
|
|
2162
|
-
|
|
2163
|
-
return decodeText(ptr, len);
|
|
2141
|
+
return decodeText(ptr >>> 0, len);
|
|
2164
2142
|
}
|
|
2165
2143
|
|
|
2166
2144
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -2257,7 +2235,15 @@ function takeFromExternrefTable0(idx) {
|
|
|
2257
2235
|
|
|
2258
2236
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
2259
2237
|
cachedTextDecoder.decode();
|
|
2238
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
2239
|
+
let numBytesDecoded = 0;
|
|
2260
2240
|
function decodeText(ptr, len) {
|
|
2241
|
+
numBytesDecoded += len;
|
|
2242
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
2243
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
2244
|
+
cachedTextDecoder.decode();
|
|
2245
|
+
numBytesDecoded = len;
|
|
2246
|
+
}
|
|
2261
2247
|
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
2262
2248
|
}
|
|
2263
2249
|
|
|
@@ -2276,8 +2262,96 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
2276
2262
|
|
|
2277
2263
|
let WASM_VECTOR_LEN = 0;
|
|
2278
2264
|
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2265
|
+
let wasmModule, wasmInstance, wasm;
|
|
2266
|
+
function __wbg_finalize_init(instance, module) {
|
|
2267
|
+
wasmInstance = instance;
|
|
2268
|
+
wasm = instance.exports;
|
|
2269
|
+
wasmModule = module;
|
|
2270
|
+
cachedDataViewMemory0 = null;
|
|
2271
|
+
cachedUint8ArrayMemory0 = null;
|
|
2272
|
+
wasm.__wbindgen_start();
|
|
2273
|
+
return wasm;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
async function __wbg_load(module, imports) {
|
|
2277
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
2278
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
2279
|
+
try {
|
|
2280
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
2281
|
+
} catch (e) {
|
|
2282
|
+
const validResponse = module.ok && expectedResponseType(module.type);
|
|
2283
|
+
|
|
2284
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
2285
|
+
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);
|
|
2286
|
+
|
|
2287
|
+
} else { throw e; }
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
const bytes = await module.arrayBuffer();
|
|
2292
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
2293
|
+
} else {
|
|
2294
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
2295
|
+
|
|
2296
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
2297
|
+
return { instance, module };
|
|
2298
|
+
} else {
|
|
2299
|
+
return instance;
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
function expectedResponseType(type) {
|
|
2304
|
+
switch (type) {
|
|
2305
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
2306
|
+
}
|
|
2307
|
+
return false;
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
|
|
2311
|
+
function initSync(module) {
|
|
2312
|
+
if (wasm !== undefined) return wasm;
|
|
2313
|
+
|
|
2314
|
+
|
|
2315
|
+
if (module !== undefined) {
|
|
2316
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
2317
|
+
({module} = module)
|
|
2318
|
+
} else {
|
|
2319
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
const imports = __wbg_get_imports();
|
|
2324
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
2325
|
+
module = new WebAssembly.Module(module);
|
|
2326
|
+
}
|
|
2327
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
2328
|
+
return __wbg_finalize_init(instance, module);
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
async function __wbg_init(module_or_path) {
|
|
2332
|
+
if (wasm !== undefined) return wasm;
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
if (module_or_path !== undefined) {
|
|
2336
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
2337
|
+
({module_or_path} = module_or_path)
|
|
2338
|
+
} else {
|
|
2339
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
|
|
2343
|
+
if (module_or_path === undefined) {
|
|
2344
|
+
module_or_path = new URL('cedarling_wasm_bg.wasm', import.meta.url);
|
|
2345
|
+
}
|
|
2346
|
+
const imports = __wbg_get_imports();
|
|
2347
|
+
|
|
2348
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
2349
|
+
module_or_path = fetch(module_or_path);
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
2353
|
+
|
|
2354
|
+
return __wbg_finalize_init(instance, module);
|
|
2355
|
+
}
|
|
2356
|
+
|
|
2357
|
+
export { initSync, __wbg_init as default };
|