@janssenproject/cedarling_wasm 0.0.212 → 0.0.213-nodejs
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 +0 -77
- package/cedarling_wasm.js +649 -617
- package/cedarling_wasm_bg.wasm +0 -0
- package/package.json +2 -6
package/cedarling_wasm.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
let imports = {};
|
|
3
|
+
imports['__wbindgen_placeholder__'] = module.exports;
|
|
1
4
|
let wasm;
|
|
5
|
+
const { TextEncoder, TextDecoder } = require(`util`);
|
|
2
6
|
|
|
3
7
|
let WASM_VECTOR_LEN = 0;
|
|
4
8
|
|
|
@@ -11,7 +15,7 @@ function getUint8ArrayMemory0() {
|
|
|
11
15
|
return cachedUint8ArrayMemory0;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
15
19
|
|
|
16
20
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
17
21
|
? function (arg, view) {
|
|
@@ -74,9 +78,9 @@ function getDataViewMemory0() {
|
|
|
74
78
|
return cachedDataViewMemory0;
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
|
|
81
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
78
82
|
|
|
79
|
-
|
|
83
|
+
cachedTextDecoder.decode();
|
|
80
84
|
|
|
81
85
|
function getStringFromWasm0(ptr, len) {
|
|
82
86
|
ptr = ptr >>> 0;
|
|
@@ -203,10 +207,10 @@ function debugString(val) {
|
|
|
203
207
|
* @param {any} config
|
|
204
208
|
* @returns {Promise<Cedarling>}
|
|
205
209
|
*/
|
|
206
|
-
|
|
210
|
+
module.exports.init = function(config) {
|
|
207
211
|
const ret = wasm.init(config);
|
|
208
212
|
return ret;
|
|
209
|
-
}
|
|
213
|
+
};
|
|
210
214
|
|
|
211
215
|
function takeFromExternrefTable0(idx) {
|
|
212
216
|
const value = wasm.__wbindgen_export_4.get(idx);
|
|
@@ -239,7 +243,7 @@ function __wbg_adapter_53(arg0, arg1, arg2) {
|
|
|
239
243
|
}
|
|
240
244
|
|
|
241
245
|
function __wbg_adapter_246(arg0, arg1, arg2, arg3) {
|
|
242
|
-
wasm.
|
|
246
|
+
wasm.closure1814_externref_shim(arg0, arg1, arg2, arg3);
|
|
243
247
|
}
|
|
244
248
|
|
|
245
249
|
const __wbindgen_enum_RequestCache = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"];
|
|
@@ -255,7 +259,7 @@ const AuthorizeResultFinalization = (typeof FinalizationRegistry === 'undefined'
|
|
|
255
259
|
* A WASM wrapper for the Rust `cedarling::AuthorizeResult` struct.
|
|
256
260
|
* Represents the result of an authorization request.
|
|
257
261
|
*/
|
|
258
|
-
|
|
262
|
+
class AuthorizeResult {
|
|
259
263
|
|
|
260
264
|
static __wrap(ptr) {
|
|
261
265
|
ptr = ptr >>> 0;
|
|
@@ -391,6 +395,7 @@ export class AuthorizeResult {
|
|
|
391
395
|
return ret === 0 ? undefined : AuthorizeResultResponse.__wrap(ret);
|
|
392
396
|
}
|
|
393
397
|
}
|
|
398
|
+
module.exports.AuthorizeResult = AuthorizeResult;
|
|
394
399
|
|
|
395
400
|
const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
396
401
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -399,7 +404,7 @@ const AuthorizeResultResponseFinalization = (typeof FinalizationRegistry === 'un
|
|
|
399
404
|
* A WASM wrapper for the Rust `cedar_policy::Response` struct.
|
|
400
405
|
* Represents the result of an authorization request.
|
|
401
406
|
*/
|
|
402
|
-
|
|
407
|
+
class AuthorizeResultResponse {
|
|
403
408
|
|
|
404
409
|
static __wrap(ptr) {
|
|
405
410
|
ptr = ptr >>> 0;
|
|
@@ -437,6 +442,7 @@ export class AuthorizeResultResponse {
|
|
|
437
442
|
return Diagnostics.__wrap(ret);
|
|
438
443
|
}
|
|
439
444
|
}
|
|
445
|
+
module.exports.AuthorizeResultResponse = AuthorizeResultResponse;
|
|
440
446
|
|
|
441
447
|
const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
442
448
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -444,7 +450,7 @@ const CedarlingFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
444
450
|
/**
|
|
445
451
|
* The instance of the Cedarling application.
|
|
446
452
|
*/
|
|
447
|
-
|
|
453
|
+
class Cedarling {
|
|
448
454
|
|
|
449
455
|
static __wrap(ptr) {
|
|
450
456
|
ptr = ptr >>> 0;
|
|
@@ -605,6 +611,7 @@ export class Cedarling {
|
|
|
605
611
|
return ret;
|
|
606
612
|
}
|
|
607
613
|
}
|
|
614
|
+
module.exports.Cedarling = Cedarling;
|
|
608
615
|
|
|
609
616
|
const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
610
617
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -615,7 +622,7 @@ const DiagnosticsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
615
622
|
*
|
|
616
623
|
* Provides detailed information about how a policy decision was made, including policies that contributed to the decision and any errors encountered during evaluation.
|
|
617
624
|
*/
|
|
618
|
-
|
|
625
|
+
class Diagnostics {
|
|
619
626
|
|
|
620
627
|
static __wrap(ptr) {
|
|
621
628
|
ptr = ptr >>> 0;
|
|
@@ -661,12 +668,13 @@ export class Diagnostics {
|
|
|
661
668
|
return v1;
|
|
662
669
|
}
|
|
663
670
|
}
|
|
671
|
+
module.exports.Diagnostics = Diagnostics;
|
|
664
672
|
|
|
665
673
|
const JsJsonLogicFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
666
674
|
? { register: () => {}, unregister: () => {} }
|
|
667
675
|
: new FinalizationRegistry(ptr => wasm.__wbg_jsjsonlogic_free(ptr >>> 0, 1));
|
|
668
676
|
|
|
669
|
-
|
|
677
|
+
class JsJsonLogic {
|
|
670
678
|
|
|
671
679
|
__destroy_into_raw() {
|
|
672
680
|
const ptr = this.__wbg_ptr;
|
|
@@ -698,6 +706,7 @@ export class JsJsonLogic {
|
|
|
698
706
|
return takeFromExternrefTable0(ret[0]);
|
|
699
707
|
}
|
|
700
708
|
}
|
|
709
|
+
module.exports.JsJsonLogic = JsJsonLogic;
|
|
701
710
|
|
|
702
711
|
const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
703
712
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -708,7 +717,7 @@ const PolicyEvaluationErrorFinalization = (typeof FinalizationRegistry === 'unde
|
|
|
708
717
|
*
|
|
709
718
|
* Represents an error that occurred when evaluating a Cedar policy.
|
|
710
719
|
*/
|
|
711
|
-
|
|
720
|
+
class PolicyEvaluationError {
|
|
712
721
|
|
|
713
722
|
static __wrap(ptr) {
|
|
714
723
|
ptr = ptr >>> 0;
|
|
@@ -762,643 +771,666 @@ export class PolicyEvaluationError {
|
|
|
762
771
|
}
|
|
763
772
|
}
|
|
764
773
|
}
|
|
774
|
+
module.exports.PolicyEvaluationError = PolicyEvaluationError;
|
|
775
|
+
|
|
776
|
+
module.exports.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
777
|
+
const ret = String(arg1);
|
|
778
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
779
|
+
const len1 = WASM_VECTOR_LEN;
|
|
780
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
781
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
module.exports.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
|
|
785
|
+
arg0.abort(arg1);
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
module.exports.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
789
|
+
arg0.abort();
|
|
790
|
+
};
|
|
791
|
+
|
|
792
|
+
module.exports.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
793
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
794
|
+
}, arguments) };
|
|
795
|
+
|
|
796
|
+
module.exports.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
797
|
+
const ret = arg0.arrayBuffer();
|
|
798
|
+
return ret;
|
|
799
|
+
}, arguments) };
|
|
765
800
|
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
return await WebAssembly.instantiateStreaming(module, imports);
|
|
801
|
+
module.exports.__wbg_authorizeresult_new = function(arg0) {
|
|
802
|
+
const ret = AuthorizeResult.__wrap(arg0);
|
|
803
|
+
return ret;
|
|
804
|
+
};
|
|
771
805
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
806
|
+
module.exports.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
807
|
+
const ret = arg0.buffer;
|
|
808
|
+
return ret;
|
|
809
|
+
};
|
|
775
810
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
}
|
|
811
|
+
module.exports.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
812
|
+
const ret = arg0.call(arg1);
|
|
813
|
+
return ret;
|
|
814
|
+
}, arguments) };
|
|
781
815
|
|
|
782
|
-
|
|
783
|
-
|
|
816
|
+
module.exports.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
817
|
+
const ret = arg0.call(arg1, arg2);
|
|
818
|
+
return ret;
|
|
819
|
+
}, arguments) };
|
|
784
820
|
|
|
785
|
-
|
|
786
|
-
|
|
821
|
+
module.exports.__wbg_cedarling_new = function(arg0) {
|
|
822
|
+
const ret = Cedarling.__wrap(arg0);
|
|
823
|
+
return ret;
|
|
824
|
+
};
|
|
787
825
|
|
|
788
|
-
|
|
789
|
-
|
|
826
|
+
module.exports.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
827
|
+
const ret = clearTimeout(arg0);
|
|
828
|
+
return ret;
|
|
829
|
+
};
|
|
790
830
|
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}
|
|
831
|
+
module.exports.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
832
|
+
const ret = arg0.crypto;
|
|
833
|
+
return ret;
|
|
834
|
+
};
|
|
796
835
|
|
|
797
|
-
function
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
801
|
-
const ret = String(arg1);
|
|
802
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
803
|
-
const len1 = WASM_VECTOR_LEN;
|
|
804
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
805
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
806
|
-
};
|
|
807
|
-
imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
|
|
808
|
-
arg0.abort(arg1);
|
|
809
|
-
};
|
|
810
|
-
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
811
|
-
arg0.abort();
|
|
812
|
-
};
|
|
813
|
-
imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
814
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
815
|
-
}, arguments) };
|
|
816
|
-
imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
817
|
-
const ret = arg0.arrayBuffer();
|
|
818
|
-
return ret;
|
|
819
|
-
}, arguments) };
|
|
820
|
-
imports.wbg.__wbg_authorizeresult_new = function(arg0) {
|
|
821
|
-
const ret = AuthorizeResult.__wrap(arg0);
|
|
822
|
-
return ret;
|
|
823
|
-
};
|
|
824
|
-
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
825
|
-
const ret = arg0.buffer;
|
|
826
|
-
return ret;
|
|
827
|
-
};
|
|
828
|
-
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
829
|
-
const ret = arg0.call(arg1);
|
|
830
|
-
return ret;
|
|
831
|
-
}, arguments) };
|
|
832
|
-
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
833
|
-
const ret = arg0.call(arg1, arg2);
|
|
834
|
-
return ret;
|
|
835
|
-
}, arguments) };
|
|
836
|
-
imports.wbg.__wbg_cedarling_new = function(arg0) {
|
|
837
|
-
const ret = Cedarling.__wrap(arg0);
|
|
838
|
-
return ret;
|
|
839
|
-
};
|
|
840
|
-
imports.wbg.__wbg_clearTimeout_6222fede17abcb1a = function(arg0) {
|
|
841
|
-
const ret = clearTimeout(arg0);
|
|
842
|
-
return ret;
|
|
843
|
-
};
|
|
844
|
-
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
845
|
-
const ret = arg0.crypto;
|
|
846
|
-
return ret;
|
|
847
|
-
};
|
|
848
|
-
imports.wbg.__wbg_debug_faaa2b98a2718860 = function(arg0) {
|
|
849
|
-
console.debug(...arg0);
|
|
850
|
-
};
|
|
851
|
-
imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
852
|
-
const ret = arg0.done;
|
|
853
|
-
return ret;
|
|
854
|
-
};
|
|
855
|
-
imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
856
|
-
const ret = Object.entries(arg0);
|
|
857
|
-
return ret;
|
|
858
|
-
};
|
|
859
|
-
imports.wbg.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
|
|
860
|
-
const ret = arg0.entries();
|
|
861
|
-
return ret;
|
|
862
|
-
};
|
|
863
|
-
imports.wbg.__wbg_error_dc53417fcef5463a = function(arg0) {
|
|
864
|
-
console.error(...arg0);
|
|
865
|
-
};
|
|
866
|
-
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
867
|
-
const ret = arg0.fetch(arg1);
|
|
868
|
-
return ret;
|
|
869
|
-
};
|
|
870
|
-
imports.wbg.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
871
|
-
const ret = fetch(arg0);
|
|
872
|
-
return ret;
|
|
873
|
-
};
|
|
874
|
-
imports.wbg.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
|
|
875
|
-
const ret = Object.fromEntries(arg0);
|
|
876
|
-
return ret;
|
|
877
|
-
}, arguments) };
|
|
878
|
-
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
879
|
-
arg0.getRandomValues(arg1);
|
|
880
|
-
}, arguments) };
|
|
881
|
-
imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
|
|
882
|
-
const ret = arg0.getTime();
|
|
883
|
-
return ret;
|
|
884
|
-
};
|
|
885
|
-
imports.wbg.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
|
|
886
|
-
const ret = arg0.getTimezoneOffset();
|
|
887
|
-
return ret;
|
|
888
|
-
};
|
|
889
|
-
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
890
|
-
const ret = Reflect.get(arg0, arg1);
|
|
891
|
-
return ret;
|
|
892
|
-
}, arguments) };
|
|
893
|
-
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
894
|
-
const ret = arg0[arg1 >>> 0];
|
|
895
|
-
return ret;
|
|
896
|
-
};
|
|
897
|
-
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
898
|
-
const ret = arg0[arg1];
|
|
899
|
-
return ret;
|
|
900
|
-
};
|
|
901
|
-
imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
902
|
-
const ret = Reflect.has(arg0, arg1);
|
|
903
|
-
return ret;
|
|
904
|
-
}, arguments) };
|
|
905
|
-
imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
906
|
-
const ret = arg0.headers;
|
|
907
|
-
return ret;
|
|
908
|
-
};
|
|
909
|
-
imports.wbg.__wbg_info_7fbe81f62c7b4dab = function(arg0) {
|
|
910
|
-
console.info(...arg0);
|
|
911
|
-
};
|
|
912
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
913
|
-
let result;
|
|
914
|
-
try {
|
|
915
|
-
result = arg0 instanceof ArrayBuffer;
|
|
916
|
-
} catch (_) {
|
|
917
|
-
result = false;
|
|
918
|
-
}
|
|
919
|
-
const ret = result;
|
|
920
|
-
return ret;
|
|
921
|
-
};
|
|
922
|
-
imports.wbg.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
|
|
923
|
-
let result;
|
|
924
|
-
try {
|
|
925
|
-
result = arg0 instanceof Array;
|
|
926
|
-
} catch (_) {
|
|
927
|
-
result = false;
|
|
928
|
-
}
|
|
929
|
-
const ret = result;
|
|
930
|
-
return ret;
|
|
931
|
-
};
|
|
932
|
-
imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
933
|
-
let result;
|
|
934
|
-
try {
|
|
935
|
-
result = arg0 instanceof Map;
|
|
936
|
-
} catch (_) {
|
|
937
|
-
result = false;
|
|
938
|
-
}
|
|
939
|
-
const ret = result;
|
|
940
|
-
return ret;
|
|
941
|
-
};
|
|
942
|
-
imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
943
|
-
let result;
|
|
944
|
-
try {
|
|
945
|
-
result = arg0 instanceof Response;
|
|
946
|
-
} catch (_) {
|
|
947
|
-
result = false;
|
|
948
|
-
}
|
|
949
|
-
const ret = result;
|
|
950
|
-
return ret;
|
|
951
|
-
};
|
|
952
|
-
imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
953
|
-
let result;
|
|
954
|
-
try {
|
|
955
|
-
result = arg0 instanceof Uint8Array;
|
|
956
|
-
} catch (_) {
|
|
957
|
-
result = false;
|
|
958
|
-
}
|
|
959
|
-
const ret = result;
|
|
960
|
-
return ret;
|
|
961
|
-
};
|
|
962
|
-
imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
|
|
963
|
-
const ret = Array.isArray(arg0);
|
|
964
|
-
return ret;
|
|
965
|
-
};
|
|
966
|
-
imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
967
|
-
const ret = Number.isSafeInteger(arg0);
|
|
968
|
-
return ret;
|
|
969
|
-
};
|
|
970
|
-
imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
971
|
-
const ret = Symbol.iterator;
|
|
972
|
-
return ret;
|
|
973
|
-
};
|
|
974
|
-
imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
|
|
975
|
-
const ret = Object.keys(arg0);
|
|
976
|
-
return ret;
|
|
977
|
-
};
|
|
978
|
-
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
979
|
-
const ret = arg0.length;
|
|
980
|
-
return ret;
|
|
981
|
-
};
|
|
982
|
-
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
983
|
-
const ret = arg0.length;
|
|
984
|
-
return ret;
|
|
985
|
-
};
|
|
986
|
-
imports.wbg.__wbg_log_245868b4b99cdf20 = function(arg0) {
|
|
987
|
-
console.log(...arg0);
|
|
988
|
-
};
|
|
989
|
-
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
990
|
-
const ret = arg0.msCrypto;
|
|
991
|
-
return ret;
|
|
992
|
-
};
|
|
993
|
-
imports.wbg.__wbg_new0_f788a2397c7ca929 = function() {
|
|
994
|
-
const ret = new Date();
|
|
995
|
-
return ret;
|
|
996
|
-
};
|
|
997
|
-
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
998
|
-
const ret = new Headers();
|
|
999
|
-
return ret;
|
|
1000
|
-
}, arguments) };
|
|
1001
|
-
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
1002
|
-
try {
|
|
1003
|
-
var state0 = {a: arg0, b: arg1};
|
|
1004
|
-
var cb0 = (arg0, arg1) => {
|
|
1005
|
-
const a = state0.a;
|
|
1006
|
-
state0.a = 0;
|
|
1007
|
-
try {
|
|
1008
|
-
return __wbg_adapter_246(a, state0.b, arg0, arg1);
|
|
1009
|
-
} finally {
|
|
1010
|
-
state0.a = a;
|
|
1011
|
-
}
|
|
1012
|
-
};
|
|
1013
|
-
const ret = new Promise(cb0);
|
|
1014
|
-
return ret;
|
|
1015
|
-
} finally {
|
|
1016
|
-
state0.a = state0.b = 0;
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
imports.wbg.__wbg_new_31a97dac4f10fab7 = function(arg0) {
|
|
1020
|
-
const ret = new Date(arg0);
|
|
1021
|
-
return ret;
|
|
1022
|
-
};
|
|
1023
|
-
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
1024
|
-
const ret = new Object();
|
|
1025
|
-
return ret;
|
|
1026
|
-
};
|
|
1027
|
-
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1028
|
-
const ret = new Map();
|
|
1029
|
-
return ret;
|
|
1030
|
-
};
|
|
1031
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
1032
|
-
const ret = new Array();
|
|
1033
|
-
return ret;
|
|
1034
|
-
};
|
|
1035
|
-
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
1036
|
-
const ret = new Uint8Array(arg0);
|
|
1037
|
-
return ret;
|
|
1038
|
-
};
|
|
1039
|
-
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
1040
|
-
const ret = new AbortController();
|
|
1041
|
-
return ret;
|
|
1042
|
-
}, arguments) };
|
|
1043
|
-
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
1044
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1045
|
-
return ret;
|
|
1046
|
-
};
|
|
1047
|
-
imports.wbg.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
|
|
1048
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1049
|
-
return ret;
|
|
1050
|
-
};
|
|
1051
|
-
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
1052
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1053
|
-
return ret;
|
|
1054
|
-
};
|
|
1055
|
-
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
1056
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
1057
|
-
return ret;
|
|
1058
|
-
};
|
|
1059
|
-
imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1060
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1061
|
-
return ret;
|
|
1062
|
-
}, arguments) };
|
|
1063
|
-
imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
1064
|
-
const ret = arg0.next;
|
|
1065
|
-
return ret;
|
|
1066
|
-
};
|
|
1067
|
-
imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
1068
|
-
const ret = arg0.next();
|
|
1069
|
-
return ret;
|
|
1070
|
-
}, arguments) };
|
|
1071
|
-
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1072
|
-
const ret = arg0.node;
|
|
1073
|
-
return ret;
|
|
1074
|
-
};
|
|
1075
|
-
imports.wbg.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1076
|
-
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1077
|
-
return ret;
|
|
1078
|
-
};
|
|
1079
|
-
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1080
|
-
const ret = arg0.process;
|
|
1081
|
-
return ret;
|
|
1082
|
-
};
|
|
1083
|
-
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
1084
|
-
const ret = arg0.push(arg1);
|
|
1085
|
-
return ret;
|
|
1086
|
-
};
|
|
1087
|
-
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
1088
|
-
queueMicrotask(arg0);
|
|
1089
|
-
};
|
|
1090
|
-
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
1091
|
-
const ret = arg0.queueMicrotask;
|
|
1092
|
-
return ret;
|
|
1093
|
-
};
|
|
1094
|
-
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1095
|
-
arg0.randomFillSync(arg1);
|
|
1096
|
-
}, arguments) };
|
|
1097
|
-
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1098
|
-
const ret = module.require;
|
|
1099
|
-
return ret;
|
|
1100
|
-
}, arguments) };
|
|
1101
|
-
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
1102
|
-
const ret = Promise.resolve(arg0);
|
|
1103
|
-
return ret;
|
|
1104
|
-
};
|
|
1105
|
-
imports.wbg.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
1106
|
-
const ret = setTimeout(arg0, arg1);
|
|
1107
|
-
return ret;
|
|
1108
|
-
};
|
|
1109
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
1110
|
-
arg0[arg1 >>> 0] = arg2;
|
|
1111
|
-
};
|
|
1112
|
-
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1113
|
-
arg0[arg1] = arg2;
|
|
1114
|
-
};
|
|
1115
|
-
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
1116
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
1117
|
-
};
|
|
1118
|
-
imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
1119
|
-
const ret = arg0.set(arg1, arg2);
|
|
1120
|
-
return ret;
|
|
1121
|
-
};
|
|
1122
|
-
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1123
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1124
|
-
return ret;
|
|
1125
|
-
}, arguments) };
|
|
1126
|
-
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
1127
|
-
arg0.body = arg1;
|
|
1128
|
-
};
|
|
1129
|
-
imports.wbg.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
|
|
1130
|
-
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1131
|
-
};
|
|
1132
|
-
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
1133
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1134
|
-
};
|
|
1135
|
-
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
1136
|
-
arg0.headers = arg1;
|
|
1137
|
-
};
|
|
1138
|
-
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
1139
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1140
|
-
};
|
|
1141
|
-
imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
1142
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1143
|
-
};
|
|
1144
|
-
imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
1145
|
-
arg0.signal = arg1;
|
|
1146
|
-
};
|
|
1147
|
-
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
1148
|
-
const ret = arg0.signal;
|
|
1149
|
-
return ret;
|
|
1150
|
-
};
|
|
1151
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
1152
|
-
const ret = typeof global === 'undefined' ? null : global;
|
|
1153
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1154
|
-
};
|
|
1155
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
1156
|
-
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1157
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1158
|
-
};
|
|
1159
|
-
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
1160
|
-
const ret = typeof self === 'undefined' ? null : self;
|
|
1161
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1162
|
-
};
|
|
1163
|
-
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
1164
|
-
const ret = typeof window === 'undefined' ? null : window;
|
|
1165
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1166
|
-
};
|
|
1167
|
-
imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
1168
|
-
const ret = arg0.status;
|
|
1169
|
-
return ret;
|
|
1170
|
-
};
|
|
1171
|
-
imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
1172
|
-
const ret = JSON.stringify(arg0);
|
|
1173
|
-
return ret;
|
|
1174
|
-
}, arguments) };
|
|
1175
|
-
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
1176
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1177
|
-
return ret;
|
|
1178
|
-
};
|
|
1179
|
-
imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
|
|
1180
|
-
const ret = arg0.text();
|
|
1181
|
-
return ret;
|
|
1182
|
-
}, arguments) };
|
|
1183
|
-
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
1184
|
-
const ret = arg0.then(arg1);
|
|
1185
|
-
return ret;
|
|
1186
|
-
};
|
|
1187
|
-
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
1188
|
-
const ret = arg0.then(arg1, arg2);
|
|
1189
|
-
return ret;
|
|
1190
|
-
};
|
|
1191
|
-
imports.wbg.__wbg_trace_8fa9ac2274ea7420 = function(arg0) {
|
|
1192
|
-
console.trace(...arg0);
|
|
1193
|
-
};
|
|
1194
|
-
imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
1195
|
-
const ret = arg1.url;
|
|
1196
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1197
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1198
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1199
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1200
|
-
};
|
|
1201
|
-
imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
1202
|
-
const ret = arg0.value;
|
|
1203
|
-
return ret;
|
|
1204
|
-
};
|
|
1205
|
-
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1206
|
-
const ret = arg0.versions;
|
|
1207
|
-
return ret;
|
|
1208
|
-
};
|
|
1209
|
-
imports.wbg.__wbg_warn_ba4bf5118b457d45 = function(arg0) {
|
|
1210
|
-
console.warn(...arg0);
|
|
1211
|
-
};
|
|
1212
|
-
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
1213
|
-
const ret = arg0;
|
|
1214
|
-
return ret;
|
|
1215
|
-
};
|
|
1216
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
1217
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
1218
|
-
return ret;
|
|
1219
|
-
};
|
|
1220
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1221
|
-
const v = arg1;
|
|
1222
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1223
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1224
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1225
|
-
};
|
|
1226
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
1227
|
-
const v = arg0;
|
|
1228
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
1229
|
-
return ret;
|
|
1230
|
-
};
|
|
1231
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
1232
|
-
const obj = arg0.original;
|
|
1233
|
-
if (obj.cnt-- == 1) {
|
|
1234
|
-
obj.a = 0;
|
|
1235
|
-
return true;
|
|
1236
|
-
}
|
|
1237
|
-
const ret = false;
|
|
1238
|
-
return ret;
|
|
1239
|
-
};
|
|
1240
|
-
imports.wbg.__wbindgen_closure_wrapper3895 = function(arg0, arg1, arg2) {
|
|
1241
|
-
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_50);
|
|
1242
|
-
return ret;
|
|
1243
|
-
};
|
|
1244
|
-
imports.wbg.__wbindgen_closure_wrapper4047 = function(arg0, arg1, arg2) {
|
|
1245
|
-
const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_53);
|
|
1246
|
-
return ret;
|
|
1247
|
-
};
|
|
1248
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1249
|
-
const ret = debugString(arg1);
|
|
1250
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1251
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1252
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1253
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1254
|
-
};
|
|
1255
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
1256
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1257
|
-
return ret;
|
|
1258
|
-
};
|
|
1259
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
1260
|
-
const ret = arg0 in arg1;
|
|
1261
|
-
return ret;
|
|
1262
|
-
};
|
|
1263
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1264
|
-
const table = wasm.__wbindgen_export_4;
|
|
1265
|
-
const offset = table.grow(4);
|
|
1266
|
-
table.set(0, undefined);
|
|
1267
|
-
table.set(offset + 0, undefined);
|
|
1268
|
-
table.set(offset + 1, null);
|
|
1269
|
-
table.set(offset + 2, true);
|
|
1270
|
-
table.set(offset + 3, false);
|
|
1271
|
-
;
|
|
1272
|
-
};
|
|
1273
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
1274
|
-
const ret = typeof(arg0) === 'bigint';
|
|
1275
|
-
return ret;
|
|
1276
|
-
};
|
|
1277
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
1278
|
-
const ret = typeof(arg0) === 'function';
|
|
1279
|
-
return ret;
|
|
1280
|
-
};
|
|
1281
|
-
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
1282
|
-
const val = arg0;
|
|
1283
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
1284
|
-
return ret;
|
|
1285
|
-
};
|
|
1286
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
1287
|
-
const ret = typeof(arg0) === 'string';
|
|
1288
|
-
return ret;
|
|
1289
|
-
};
|
|
1290
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
1291
|
-
const ret = arg0 === undefined;
|
|
1292
|
-
return ret;
|
|
1293
|
-
};
|
|
1294
|
-
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
1295
|
-
const ret = arg0 === arg1;
|
|
1296
|
-
return ret;
|
|
1297
|
-
};
|
|
1298
|
-
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
1299
|
-
const ret = arg0 == arg1;
|
|
1300
|
-
return ret;
|
|
1301
|
-
};
|
|
1302
|
-
imports.wbg.__wbindgen_memory = function() {
|
|
1303
|
-
const ret = wasm.memory;
|
|
1304
|
-
return ret;
|
|
1305
|
-
};
|
|
1306
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
1307
|
-
const obj = arg1;
|
|
1308
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1309
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1310
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1311
|
-
};
|
|
1312
|
-
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
1313
|
-
const ret = arg0;
|
|
1314
|
-
return ret;
|
|
1315
|
-
};
|
|
1316
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
1317
|
-
const obj = arg1;
|
|
1318
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1319
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1320
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1321
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1322
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1323
|
-
};
|
|
1324
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
1325
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
1326
|
-
return ret;
|
|
1327
|
-
};
|
|
1328
|
-
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
1329
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1330
|
-
};
|
|
836
|
+
module.exports.__wbg_debug_faaa2b98a2718860 = function(arg0) {
|
|
837
|
+
console.debug(...arg0);
|
|
838
|
+
};
|
|
1331
839
|
|
|
1332
|
-
|
|
1333
|
-
|
|
840
|
+
module.exports.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
841
|
+
const ret = arg0.done;
|
|
842
|
+
return ret;
|
|
843
|
+
};
|
|
1334
844
|
|
|
1335
|
-
function
|
|
845
|
+
module.exports.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
846
|
+
const ret = Object.entries(arg0);
|
|
847
|
+
return ret;
|
|
848
|
+
};
|
|
1336
849
|
|
|
1337
|
-
|
|
850
|
+
module.exports.__wbg_entries_c8a90a7ed73e84ce = function(arg0) {
|
|
851
|
+
const ret = arg0.entries();
|
|
852
|
+
return ret;
|
|
853
|
+
};
|
|
1338
854
|
|
|
1339
|
-
function
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
cachedDataViewMemory0 = null;
|
|
1343
|
-
cachedUint8ArrayMemory0 = null;
|
|
855
|
+
module.exports.__wbg_error_dc53417fcef5463a = function(arg0) {
|
|
856
|
+
console.error(...arg0);
|
|
857
|
+
};
|
|
1344
858
|
|
|
859
|
+
module.exports.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
860
|
+
const ret = arg0.fetch(arg1);
|
|
861
|
+
return ret;
|
|
862
|
+
};
|
|
1345
863
|
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
864
|
+
module.exports.__wbg_fetch_f156d10be9a5c88a = function(arg0) {
|
|
865
|
+
const ret = fetch(arg0);
|
|
866
|
+
return ret;
|
|
867
|
+
};
|
|
1349
868
|
|
|
1350
|
-
function
|
|
1351
|
-
|
|
869
|
+
module.exports.__wbg_fromEntries_524679eecb0bdc2e = function() { return handleError(function (arg0) {
|
|
870
|
+
const ret = Object.fromEntries(arg0);
|
|
871
|
+
return ret;
|
|
872
|
+
}, arguments) };
|
|
1352
873
|
|
|
874
|
+
module.exports.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
875
|
+
arg0.getRandomValues(arg1);
|
|
876
|
+
}, arguments) };
|
|
1353
877
|
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
878
|
+
module.exports.__wbg_getTime_46267b1c24877e30 = function(arg0) {
|
|
879
|
+
const ret = arg0.getTime();
|
|
880
|
+
return ret;
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
module.exports.__wbg_getTimezoneOffset_6b5752021c499c47 = function(arg0) {
|
|
884
|
+
const ret = arg0.getTimezoneOffset();
|
|
885
|
+
return ret;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
module.exports.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
889
|
+
const ret = Reflect.get(arg0, arg1);
|
|
890
|
+
return ret;
|
|
891
|
+
}, arguments) };
|
|
892
|
+
|
|
893
|
+
module.exports.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
894
|
+
const ret = arg0[arg1 >>> 0];
|
|
895
|
+
return ret;
|
|
896
|
+
};
|
|
897
|
+
|
|
898
|
+
module.exports.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
899
|
+
const ret = arg0[arg1];
|
|
900
|
+
return ret;
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
module.exports.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
904
|
+
const ret = Reflect.has(arg0, arg1);
|
|
905
|
+
return ret;
|
|
906
|
+
}, arguments) };
|
|
907
|
+
|
|
908
|
+
module.exports.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
909
|
+
const ret = arg0.headers;
|
|
910
|
+
return ret;
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
module.exports.__wbg_info_7fbe81f62c7b4dab = function(arg0) {
|
|
914
|
+
console.info(...arg0);
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
module.exports.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
918
|
+
let result;
|
|
919
|
+
try {
|
|
920
|
+
result = arg0 instanceof ArrayBuffer;
|
|
921
|
+
} catch (_) {
|
|
922
|
+
result = false;
|
|
1360
923
|
}
|
|
924
|
+
const ret = result;
|
|
925
|
+
return ret;
|
|
926
|
+
};
|
|
1361
927
|
|
|
1362
|
-
|
|
928
|
+
module.exports.__wbg_instanceof_Array_6ac07133d621675a = function(arg0) {
|
|
929
|
+
let result;
|
|
930
|
+
try {
|
|
931
|
+
result = arg0 instanceof Array;
|
|
932
|
+
} catch (_) {
|
|
933
|
+
result = false;
|
|
934
|
+
}
|
|
935
|
+
const ret = result;
|
|
936
|
+
return ret;
|
|
937
|
+
};
|
|
1363
938
|
|
|
1364
|
-
|
|
939
|
+
module.exports.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
940
|
+
let result;
|
|
941
|
+
try {
|
|
942
|
+
result = arg0 instanceof Map;
|
|
943
|
+
} catch (_) {
|
|
944
|
+
result = false;
|
|
945
|
+
}
|
|
946
|
+
const ret = result;
|
|
947
|
+
return ret;
|
|
948
|
+
};
|
|
1365
949
|
|
|
1366
|
-
|
|
1367
|
-
|
|
950
|
+
module.exports.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
951
|
+
let result;
|
|
952
|
+
try {
|
|
953
|
+
result = arg0 instanceof Response;
|
|
954
|
+
} catch (_) {
|
|
955
|
+
result = false;
|
|
1368
956
|
}
|
|
957
|
+
const ret = result;
|
|
958
|
+
return ret;
|
|
959
|
+
};
|
|
1369
960
|
|
|
1370
|
-
|
|
961
|
+
module.exports.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
962
|
+
let result;
|
|
963
|
+
try {
|
|
964
|
+
result = arg0 instanceof Uint8Array;
|
|
965
|
+
} catch (_) {
|
|
966
|
+
result = false;
|
|
967
|
+
}
|
|
968
|
+
const ret = result;
|
|
969
|
+
return ret;
|
|
970
|
+
};
|
|
1371
971
|
|
|
1372
|
-
|
|
1373
|
-
|
|
972
|
+
module.exports.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
|
|
973
|
+
const ret = Array.isArray(arg0);
|
|
974
|
+
return ret;
|
|
975
|
+
};
|
|
1374
976
|
|
|
1375
|
-
|
|
1376
|
-
|
|
977
|
+
module.exports.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
978
|
+
const ret = Number.isSafeInteger(arg0);
|
|
979
|
+
return ret;
|
|
980
|
+
};
|
|
1377
981
|
|
|
982
|
+
module.exports.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
983
|
+
const ret = Symbol.iterator;
|
|
984
|
+
return ret;
|
|
985
|
+
};
|
|
1378
986
|
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
987
|
+
module.exports.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
|
|
988
|
+
const ret = Object.keys(arg0);
|
|
989
|
+
return ret;
|
|
990
|
+
};
|
|
1386
991
|
|
|
1387
|
-
|
|
1388
|
-
|
|
992
|
+
module.exports.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
993
|
+
const ret = arg0.length;
|
|
994
|
+
return ret;
|
|
995
|
+
};
|
|
996
|
+
|
|
997
|
+
module.exports.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
998
|
+
const ret = arg0.length;
|
|
999
|
+
return ret;
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
module.exports.__wbg_log_245868b4b99cdf20 = function(arg0) {
|
|
1003
|
+
console.log(...arg0);
|
|
1004
|
+
};
|
|
1005
|
+
|
|
1006
|
+
module.exports.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
1007
|
+
const ret = arg0.msCrypto;
|
|
1008
|
+
return ret;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
module.exports.__wbg_new0_f788a2397c7ca929 = function() {
|
|
1012
|
+
const ret = new Date();
|
|
1013
|
+
return ret;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
module.exports.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
1017
|
+
const ret = new Headers();
|
|
1018
|
+
return ret;
|
|
1019
|
+
}, arguments) };
|
|
1020
|
+
|
|
1021
|
+
module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
1022
|
+
try {
|
|
1023
|
+
var state0 = {a: arg0, b: arg1};
|
|
1024
|
+
var cb0 = (arg0, arg1) => {
|
|
1025
|
+
const a = state0.a;
|
|
1026
|
+
state0.a = 0;
|
|
1027
|
+
try {
|
|
1028
|
+
return __wbg_adapter_246(a, state0.b, arg0, arg1);
|
|
1029
|
+
} finally {
|
|
1030
|
+
state0.a = a;
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
const ret = new Promise(cb0);
|
|
1034
|
+
return ret;
|
|
1035
|
+
} finally {
|
|
1036
|
+
state0.a = state0.b = 0;
|
|
1389
1037
|
}
|
|
1390
|
-
|
|
1038
|
+
};
|
|
1039
|
+
|
|
1040
|
+
module.exports.__wbg_new_31a97dac4f10fab7 = function(arg0) {
|
|
1041
|
+
const ret = new Date(arg0);
|
|
1042
|
+
return ret;
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
module.exports.__wbg_new_405e22f390576ce2 = function() {
|
|
1046
|
+
const ret = new Object();
|
|
1047
|
+
return ret;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
module.exports.__wbg_new_5e0be73521bc8c17 = function() {
|
|
1051
|
+
const ret = new Map();
|
|
1052
|
+
return ret;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
module.exports.__wbg_new_78feb108b6472713 = function() {
|
|
1056
|
+
const ret = new Array();
|
|
1057
|
+
return ret;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
module.exports.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
1061
|
+
const ret = new Uint8Array(arg0);
|
|
1062
|
+
return ret;
|
|
1063
|
+
};
|
|
1391
1064
|
|
|
1392
|
-
|
|
1393
|
-
|
|
1065
|
+
module.exports.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
1066
|
+
const ret = new AbortController();
|
|
1067
|
+
return ret;
|
|
1068
|
+
}, arguments) };
|
|
1069
|
+
|
|
1070
|
+
module.exports.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
1071
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
1072
|
+
return ret;
|
|
1073
|
+
};
|
|
1074
|
+
|
|
1075
|
+
module.exports.__wbg_newwithargs_ab6ffe8cd6c19c04 = function(arg0, arg1, arg2, arg3) {
|
|
1076
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1077
|
+
return ret;
|
|
1078
|
+
};
|
|
1079
|
+
|
|
1080
|
+
module.exports.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
1081
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
1082
|
+
return ret;
|
|
1083
|
+
};
|
|
1084
|
+
|
|
1085
|
+
module.exports.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
1086
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1087
|
+
return ret;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
module.exports.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1091
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1092
|
+
return ret;
|
|
1093
|
+
}, arguments) };
|
|
1094
|
+
|
|
1095
|
+
module.exports.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
1096
|
+
const ret = arg0.next;
|
|
1097
|
+
return ret;
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
module.exports.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
1101
|
+
const ret = arg0.next();
|
|
1102
|
+
return ret;
|
|
1103
|
+
}, arguments) };
|
|
1104
|
+
|
|
1105
|
+
module.exports.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
1106
|
+
const ret = arg0.node;
|
|
1107
|
+
return ret;
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
module.exports.__wbg_policyevaluationerror_new = function(arg0) {
|
|
1111
|
+
const ret = PolicyEvaluationError.__wrap(arg0);
|
|
1112
|
+
return ret;
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
module.exports.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
1116
|
+
const ret = arg0.process;
|
|
1117
|
+
return ret;
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1120
|
+
module.exports.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
1121
|
+
const ret = arg0.push(arg1);
|
|
1122
|
+
return ret;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
module.exports.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
1126
|
+
queueMicrotask(arg0);
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
module.exports.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
1130
|
+
const ret = arg0.queueMicrotask;
|
|
1131
|
+
return ret;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
module.exports.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
1135
|
+
arg0.randomFillSync(arg1);
|
|
1136
|
+
}, arguments) };
|
|
1137
|
+
|
|
1138
|
+
module.exports.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
1139
|
+
const ret = module.require;
|
|
1140
|
+
return ret;
|
|
1141
|
+
}, arguments) };
|
|
1142
|
+
|
|
1143
|
+
module.exports.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
1144
|
+
const ret = Promise.resolve(arg0);
|
|
1145
|
+
return ret;
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
module.exports.__wbg_setTimeout_2b339866a2aa3789 = function(arg0, arg1) {
|
|
1149
|
+
const ret = setTimeout(arg0, arg1);
|
|
1150
|
+
return ret;
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
module.exports.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
1154
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
module.exports.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
1158
|
+
arg0[arg1] = arg2;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
1162
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
module.exports.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
1166
|
+
const ret = arg0.set(arg1, arg2);
|
|
1167
|
+
return ret;
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1170
|
+
module.exports.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1171
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1172
|
+
return ret;
|
|
1173
|
+
}, arguments) };
|
|
1174
|
+
|
|
1175
|
+
module.exports.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
1176
|
+
arg0.body = arg1;
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
module.exports.__wbg_setcache_12f17c3a980650e4 = function(arg0, arg1) {
|
|
1180
|
+
arg0.cache = __wbindgen_enum_RequestCache[arg1];
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
module.exports.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
1184
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
module.exports.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
1188
|
+
arg0.headers = arg1;
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
module.exports.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
1192
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
module.exports.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
1196
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
module.exports.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
1200
|
+
arg0.signal = arg1;
|
|
1201
|
+
};
|
|
1202
|
+
|
|
1203
|
+
module.exports.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
1204
|
+
const ret = arg0.signal;
|
|
1205
|
+
return ret;
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
module.exports.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
1209
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1210
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
module.exports.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
1214
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1215
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
module.exports.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
1219
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
1220
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
module.exports.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
1224
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
1225
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
module.exports.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
1229
|
+
const ret = arg0.status;
|
|
1230
|
+
return ret;
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
module.exports.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
1234
|
+
const ret = JSON.stringify(arg0);
|
|
1235
|
+
return ret;
|
|
1236
|
+
}, arguments) };
|
|
1237
|
+
|
|
1238
|
+
module.exports.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
1239
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1240
|
+
return ret;
|
|
1241
|
+
};
|
|
1242
|
+
|
|
1243
|
+
module.exports.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
|
|
1244
|
+
const ret = arg0.text();
|
|
1245
|
+
return ret;
|
|
1246
|
+
}, arguments) };
|
|
1247
|
+
|
|
1248
|
+
module.exports.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
1249
|
+
const ret = arg0.then(arg1);
|
|
1250
|
+
return ret;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
module.exports.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
1254
|
+
const ret = arg0.then(arg1, arg2);
|
|
1255
|
+
return ret;
|
|
1256
|
+
};
|
|
1257
|
+
|
|
1258
|
+
module.exports.__wbg_trace_8fa9ac2274ea7420 = function(arg0) {
|
|
1259
|
+
console.trace(...arg0);
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
module.exports.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
1263
|
+
const ret = arg1.url;
|
|
1264
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1265
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1266
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1267
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
module.exports.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
1271
|
+
const ret = arg0.value;
|
|
1272
|
+
return ret;
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
module.exports.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
1276
|
+
const ret = arg0.versions;
|
|
1277
|
+
return ret;
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
module.exports.__wbg_warn_ba4bf5118b457d45 = function(arg0) {
|
|
1281
|
+
console.warn(...arg0);
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
1285
|
+
const ret = arg0;
|
|
1286
|
+
return ret;
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
module.exports.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
1290
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1291
|
+
return ret;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
module.exports.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
1295
|
+
const v = arg1;
|
|
1296
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
1297
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
1298
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
module.exports.__wbindgen_boolean_get = function(arg0) {
|
|
1302
|
+
const v = arg0;
|
|
1303
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
1304
|
+
return ret;
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
1308
|
+
const obj = arg0.original;
|
|
1309
|
+
if (obj.cnt-- == 1) {
|
|
1310
|
+
obj.a = 0;
|
|
1311
|
+
return true;
|
|
1394
1312
|
}
|
|
1313
|
+
const ret = false;
|
|
1314
|
+
return ret;
|
|
1315
|
+
};
|
|
1395
1316
|
|
|
1396
|
-
|
|
1317
|
+
module.exports.__wbindgen_closure_wrapper3895 = function(arg0, arg1, arg2) {
|
|
1318
|
+
const ret = makeMutClosure(arg0, arg1, 494, __wbg_adapter_50);
|
|
1319
|
+
return ret;
|
|
1320
|
+
};
|
|
1397
1321
|
|
|
1398
|
-
|
|
1322
|
+
module.exports.__wbindgen_closure_wrapper4047 = function(arg0, arg1, arg2) {
|
|
1323
|
+
const ret = makeMutClosure(arg0, arg1, 541, __wbg_adapter_53);
|
|
1324
|
+
return ret;
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
module.exports.__wbindgen_debug_string = function(arg0, arg1) {
|
|
1328
|
+
const ret = debugString(arg1);
|
|
1329
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1330
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1331
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1332
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
1336
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
1337
|
+
return ret;
|
|
1338
|
+
};
|
|
1399
1339
|
|
|
1400
|
-
|
|
1401
|
-
|
|
1340
|
+
module.exports.__wbindgen_in = function(arg0, arg1) {
|
|
1341
|
+
const ret = arg0 in arg1;
|
|
1342
|
+
return ret;
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
module.exports.__wbindgen_init_externref_table = function() {
|
|
1346
|
+
const table = wasm.__wbindgen_export_4;
|
|
1347
|
+
const offset = table.grow(4);
|
|
1348
|
+
table.set(0, undefined);
|
|
1349
|
+
table.set(offset + 0, undefined);
|
|
1350
|
+
table.set(offset + 1, null);
|
|
1351
|
+
table.set(offset + 2, true);
|
|
1352
|
+
table.set(offset + 3, false);
|
|
1353
|
+
;
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
1357
|
+
const ret = typeof(arg0) === 'bigint';
|
|
1358
|
+
return ret;
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
module.exports.__wbindgen_is_function = function(arg0) {
|
|
1362
|
+
const ret = typeof(arg0) === 'function';
|
|
1363
|
+
return ret;
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
module.exports.__wbindgen_is_object = function(arg0) {
|
|
1367
|
+
const val = arg0;
|
|
1368
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
1369
|
+
return ret;
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
module.exports.__wbindgen_is_string = function(arg0) {
|
|
1373
|
+
const ret = typeof(arg0) === 'string';
|
|
1374
|
+
return ret;
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
1378
|
+
const ret = arg0 === undefined;
|
|
1379
|
+
return ret;
|
|
1380
|
+
};
|
|
1381
|
+
|
|
1382
|
+
module.exports.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
1383
|
+
const ret = arg0 === arg1;
|
|
1384
|
+
return ret;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
module.exports.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
1388
|
+
const ret = arg0 == arg1;
|
|
1389
|
+
return ret;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
module.exports.__wbindgen_memory = function() {
|
|
1393
|
+
const ret = wasm.memory;
|
|
1394
|
+
return ret;
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
module.exports.__wbindgen_number_get = function(arg0, arg1) {
|
|
1398
|
+
const obj = arg1;
|
|
1399
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
1400
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
1401
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
1402
|
+
};
|
|
1403
|
+
|
|
1404
|
+
module.exports.__wbindgen_number_new = function(arg0) {
|
|
1405
|
+
const ret = arg0;
|
|
1406
|
+
return ret;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
module.exports.__wbindgen_string_get = function(arg0, arg1) {
|
|
1410
|
+
const obj = arg1;
|
|
1411
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
1412
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1413
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1414
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1415
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
1419
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1420
|
+
return ret;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
module.exports.__wbindgen_throw = function(arg0, arg1) {
|
|
1424
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
const path = require('path').join(__dirname, 'cedarling_wasm_bg.wasm');
|
|
1428
|
+
const bytes = require('fs').readFileSync(path);
|
|
1429
|
+
|
|
1430
|
+
const wasmModule = new WebAssembly.Module(bytes);
|
|
1431
|
+
const wasmInstance = new WebAssembly.Instance(wasmModule, imports);
|
|
1432
|
+
wasm = wasmInstance.exports;
|
|
1433
|
+
module.exports.__wasm = wasm;
|
|
1434
|
+
|
|
1435
|
+
wasm.__wbindgen_start();
|
|
1402
1436
|
|
|
1403
|
-
export { initSync };
|
|
1404
|
-
export default __wbg_init;
|