@solibo/solibo-sdk 1.6.36 → 1.7.0
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/KmLogging-logging.mjs +98 -98
- package/KotlinBigInteger-bignum.mjs +1127 -1127
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +200 -0
- package/bitops-library-bits.mjs.map +1 -0
- package/bitops-library-endian.mjs +109 -0
- package/bitops-library-endian.mjs.map +1 -0
- package/core-library-core.mjs +4 -0
- package/core-library-core.mjs.map +1 -0
- package/core-library-digest.mjs +223 -0
- package/core-library-digest.mjs.map +1 -0
- package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +250 -250
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/error-library-error.mjs +91 -0
- package/error-library-error.mjs.map +1 -0
- package/hash-library-md.mjs +179 -0
- package/hash-library-md.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +104 -17
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1072 -1072
- package/ktor-ktor-client-auth.mjs +245 -245
- package/ktor-ktor-client-content-negotiation.mjs +124 -124
- package/ktor-ktor-client-core.mjs +2663 -2613
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +120 -120
- package/ktor-ktor-client-logging.mjs +600 -600
- package/ktor-ktor-client-mock.mjs +48 -48
- package/ktor-ktor-http-cio.mjs +299 -299
- package/ktor-ktor-http.mjs +835 -808
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +6 -6
- package/ktor-ktor-serialization-kotlinx.mjs +110 -110
- package/ktor-ktor-serialization.mjs +50 -50
- package/ktor-ktor-websockets.mjs +321 -321
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +26397 -26393
- package/solibo-sdk-sdk.d.mts +81 -1
- package/solibo-sdk-sdk.mjs +5473 -3914
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -26,14 +26,14 @@ initMetadataForClass(PemContent, 'PemContent');
|
|
|
26
26
|
initMetadataForCompanion(Companion);
|
|
27
27
|
//endregion
|
|
28
28
|
function Pem() {
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
29
|
+
this.isw_1 = '-----BEGIN ';
|
|
30
|
+
this.jsw_1 = '-----END ';
|
|
31
|
+
this.ksw_1 = '-----';
|
|
32
32
|
}
|
|
33
|
-
protoOf(Pem).
|
|
34
|
-
return this.
|
|
33
|
+
protoOf(Pem).lsw = function (bytes) {
|
|
34
|
+
return this.msw(decodeToString(bytes));
|
|
35
35
|
};
|
|
36
|
-
protoOf(Pem).
|
|
36
|
+
protoOf(Pem).msw = function (string) {
|
|
37
37
|
var lines = split(string, ['\n']);
|
|
38
38
|
var tmp$ret$0;
|
|
39
39
|
$l$block: {
|
|
@@ -108,13 +108,13 @@ function Pem_getInstance() {
|
|
|
108
108
|
return Pem_instance;
|
|
109
109
|
}
|
|
110
110
|
function PemContent(label, bytes) {
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
111
|
+
this.nsw_1 = label;
|
|
112
|
+
this.osw_1 = bytes;
|
|
113
113
|
}
|
|
114
114
|
function ensurePemLabel(_this__u8e3s4, label) {
|
|
115
115
|
// Inline function 'kotlin.check' call
|
|
116
|
-
if (!(_this__u8e3s4.
|
|
117
|
-
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.
|
|
116
|
+
if (!(_this__u8e3s4.nsw_1 === label)) {
|
|
117
|
+
var message = 'Wrong PEM label, expected ' + PemLabel__toString_impl_auwpt1(label) + ', actual ' + PemLabel__toString_impl_auwpt1(_this__u8e3s4.nsw_1);
|
|
118
118
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
119
119
|
}
|
|
120
120
|
return _this__u8e3s4;
|
|
@@ -124,11 +124,11 @@ function _PemLabel___init__impl__xifhtx(representation) {
|
|
|
124
124
|
}
|
|
125
125
|
function Companion() {
|
|
126
126
|
Companion_instance = this;
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
127
|
+
this.psw_1 = _PemLabel___init__impl__xifhtx('PUBLIC KEY');
|
|
128
|
+
this.qsw_1 = _PemLabel___init__impl__xifhtx('PRIVATE KEY');
|
|
129
|
+
this.rsw_1 = _PemLabel___init__impl__xifhtx('RSA PUBLIC KEY');
|
|
130
|
+
this.ssw_1 = _PemLabel___init__impl__xifhtx('RSA PRIVATE KEY');
|
|
131
|
+
this.tsw_1 = _PemLabel___init__impl__xifhtx('EC PRIVATE KEY');
|
|
132
132
|
}
|
|
133
133
|
var Companion_instance;
|
|
134
134
|
function Companion_getInstance() {
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Exception_init_$Init$1giio8zw2zqqc as Exception_init_$Init$,
|
|
3
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
4
|
+
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
5
|
+
captureStack1fzi4aczwc4hg as captureStack,
|
|
6
|
+
Exception_init_$Init$2jzug8qe36bgh as Exception_init_$Init$_0,
|
|
7
|
+
Exceptiondt2hlxn7j7vw as Exception,
|
|
8
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
9
|
+
IllegalArgumentException_init_$Init$3lhsivc54sj92 as IllegalArgumentException_init_$Init$,
|
|
10
|
+
IllegalArgumentException_init_$Init$2amn5b4061oz5 as IllegalArgumentException_init_$Init$_0,
|
|
11
|
+
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
|
|
12
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
13
|
+
//region block: imports
|
|
14
|
+
//endregion
|
|
15
|
+
//region block: pre-declaration
|
|
16
|
+
initMetadataForClass(GeneralSecurityException, 'GeneralSecurityException', GeneralSecurityException_init_$Create$, Exception);
|
|
17
|
+
initMetadataForClass(InvalidParameterException, 'InvalidParameterException', InvalidParameterException_init_$Create$, IllegalArgumentException);
|
|
18
|
+
initMetadataForClass(ShortBufferException, 'ShortBufferException', ShortBufferException_init_$Create$, GeneralSecurityException);
|
|
19
|
+
//endregion
|
|
20
|
+
function GeneralSecurityException_init_$Init$($this) {
|
|
21
|
+
Exception_init_$Init$($this);
|
|
22
|
+
GeneralSecurityException.call($this);
|
|
23
|
+
return $this;
|
|
24
|
+
}
|
|
25
|
+
function GeneralSecurityException_init_$Create$() {
|
|
26
|
+
var tmp = GeneralSecurityException_init_$Init$(objectCreate(protoOf(GeneralSecurityException)));
|
|
27
|
+
captureStack(tmp, GeneralSecurityException_init_$Create$);
|
|
28
|
+
return tmp;
|
|
29
|
+
}
|
|
30
|
+
function GeneralSecurityException_init_$Init$_0(message, $this) {
|
|
31
|
+
Exception_init_$Init$_0(message, $this);
|
|
32
|
+
GeneralSecurityException.call($this);
|
|
33
|
+
return $this;
|
|
34
|
+
}
|
|
35
|
+
function GeneralSecurityException() {
|
|
36
|
+
captureStack(this, GeneralSecurityException);
|
|
37
|
+
}
|
|
38
|
+
function InvalidParameterException_init_$Init$($this) {
|
|
39
|
+
IllegalArgumentException_init_$Init$($this);
|
|
40
|
+
InvalidParameterException.call($this);
|
|
41
|
+
return $this;
|
|
42
|
+
}
|
|
43
|
+
function InvalidParameterException_init_$Create$() {
|
|
44
|
+
var tmp = InvalidParameterException_init_$Init$(objectCreate(protoOf(InvalidParameterException)));
|
|
45
|
+
captureStack(tmp, InvalidParameterException_init_$Create$);
|
|
46
|
+
return tmp;
|
|
47
|
+
}
|
|
48
|
+
function InvalidParameterException_init_$Init$_0(message, $this) {
|
|
49
|
+
IllegalArgumentException_init_$Init$_0(message, $this);
|
|
50
|
+
InvalidParameterException.call($this);
|
|
51
|
+
return $this;
|
|
52
|
+
}
|
|
53
|
+
function InvalidParameterException_init_$Create$_0(message) {
|
|
54
|
+
var tmp = InvalidParameterException_init_$Init$_0(message, objectCreate(protoOf(InvalidParameterException)));
|
|
55
|
+
captureStack(tmp, InvalidParameterException_init_$Create$_0);
|
|
56
|
+
return tmp;
|
|
57
|
+
}
|
|
58
|
+
function InvalidParameterException() {
|
|
59
|
+
captureStack(this, InvalidParameterException);
|
|
60
|
+
}
|
|
61
|
+
function ShortBufferException_init_$Init$($this) {
|
|
62
|
+
GeneralSecurityException_init_$Init$($this);
|
|
63
|
+
ShortBufferException.call($this);
|
|
64
|
+
return $this;
|
|
65
|
+
}
|
|
66
|
+
function ShortBufferException_init_$Create$() {
|
|
67
|
+
var tmp = ShortBufferException_init_$Init$(objectCreate(protoOf(ShortBufferException)));
|
|
68
|
+
captureStack(tmp, ShortBufferException_init_$Create$);
|
|
69
|
+
return tmp;
|
|
70
|
+
}
|
|
71
|
+
function ShortBufferException_init_$Init$_0(message, $this) {
|
|
72
|
+
GeneralSecurityException_init_$Init$_0(message, $this);
|
|
73
|
+
ShortBufferException.call($this);
|
|
74
|
+
return $this;
|
|
75
|
+
}
|
|
76
|
+
function ShortBufferException_init_$Create$_0(message) {
|
|
77
|
+
var tmp = ShortBufferException_init_$Init$_0(message, objectCreate(protoOf(ShortBufferException)));
|
|
78
|
+
captureStack(tmp, ShortBufferException_init_$Create$_0);
|
|
79
|
+
return tmp;
|
|
80
|
+
}
|
|
81
|
+
function ShortBufferException() {
|
|
82
|
+
captureStack(this, ShortBufferException);
|
|
83
|
+
}
|
|
84
|
+
//region block: exports
|
|
85
|
+
export {
|
|
86
|
+
InvalidParameterException_init_$Create$_0 as InvalidParameterException_init_$Create$18flunphjok68,
|
|
87
|
+
ShortBufferException_init_$Create$_0 as ShortBufferException_init_$Create$qplfonlm4712,
|
|
88
|
+
};
|
|
89
|
+
//endregion
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=error-library-error.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["GeneralSecurityException.kt","InvalidParameterException.kt","ShortBufferException.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/error/library/error/src/nonJvmMain/kotlin/org/kotlincrypto/error/GeneralSecurityException.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/error/library/error/src/nonJvmMain/kotlin/org/kotlincrypto/error/InvalidParameterException.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/error/library/error/src/nonJvmMain/kotlin/org/kotlincrypto/error/ShortBufferException.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[],"x_google_ignoreList":[],"names":["GeneralSecurityException_init_$Init$","GeneralSecurityException_init_$Create$","message","InvalidParameterException_init_$Init$","InvalidParameterException_init_$Create$","ShortBufferException_init_$Init$","ShortBufferException_init_$Create$"],"mappings":";;;;;;;;;;;;;;;;;;;6CAwBkBA,C,KAAAA,E;EAAe,4B;EAA7B,oC;;C;+CAAcC,CAAAA,E;;;;C;+CACAD,CAAYE,O,OAAZF,E;EAA+B,wBAAM,OAAN,Q;EAA7C,oC;;C;oCAFJ;A;AAAA,C;8CCAkBG,C,KAAAA,E;EAAe,2C;EAA7B,qC;;C;gDAAcC,CAAAA,E;;;;C;gDACAD,CAAYD,O,OAAZC,E;EAA+B,uCAAM,OAAN,Q;EAA7C,qC;;C;kDAAcC,CAAYF,OAAZE,E;;;;C;qCAFlB;A;AAAA,C;yCCCkBC,C,KAAAA,E;EAAe,2C;EAA7B,gC;;C;2CAAcC,CAAAA,E;;;;C;2CACAD,CAAYH,O,OAAZG,E;EAA+B,uCAAM,OAAN,Q;EAA7C,gC;;C;6CAAcC,CAAYJ,OAAZI,E;;;;C;gCAFlB;A;AAAA,C;;;;;"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Digest_init_$Init$25tc466u3ms6y as Digest_init_$Init$,
|
|
3
|
+
Digest1vc95ftpmqvn1 as Digest,
|
|
4
|
+
} from './core-library-digest.mjs';
|
|
5
|
+
import { Bit32_init_$Create$1z5b4kxchcg4m as Bit32_init_$Create$ } from './bitops-library-bits.mjs';
|
|
6
|
+
import {
|
|
7
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
8
|
+
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
9
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
10
|
+
rotateLeft386qqkr4zb8q2 as rotateLeft,
|
|
11
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
12
|
+
fill3lmv1pckd4inv as fill,
|
|
13
|
+
fill2542d4m9l93pn as fill_0,
|
|
14
|
+
arrayCopytctsywo3h7gj as arrayCopy,
|
|
15
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
16
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
17
|
+
import { Little_getInstance3o64tamm9djeo as Little_getInstance } from './bitops-library-endian.mjs';
|
|
18
|
+
//region block: imports
|
|
19
|
+
var imul = Math.imul;
|
|
20
|
+
//endregion
|
|
21
|
+
//region block: pre-declaration
|
|
22
|
+
initMetadataForCompanion(Companion);
|
|
23
|
+
initMetadataForClass(MD5, 'MD5', MD5_init_$Create$, Digest);
|
|
24
|
+
//endregion
|
|
25
|
+
function MD5_init_$Init$($this) {
|
|
26
|
+
Digest_init_$Init$('MD5', 64, 16, $this);
|
|
27
|
+
MD5.call($this);
|
|
28
|
+
$this.rt2_1 = new Int32Array(16);
|
|
29
|
+
var tmp = $this;
|
|
30
|
+
// Inline function 'kotlin.collections.copyOf' call
|
|
31
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
32
|
+
tmp.st2_1 = Companion_getInstance().vt2_1.slice();
|
|
33
|
+
$this.tt2_1 = Bit32_init_$Create$(64);
|
|
34
|
+
return $this;
|
|
35
|
+
}
|
|
36
|
+
function MD5_init_$Create$() {
|
|
37
|
+
return MD5_init_$Init$(objectCreate(protoOf(MD5)));
|
|
38
|
+
}
|
|
39
|
+
function Companion() {
|
|
40
|
+
Companion_instance = this;
|
|
41
|
+
this.ut2_1 = 64;
|
|
42
|
+
var tmp = this;
|
|
43
|
+
// Inline function 'kotlin.intArrayOf' call
|
|
44
|
+
tmp.vt2_1 = new Int32Array([1732584193, -271733879, -1732584194, 271733878]);
|
|
45
|
+
var tmp_0 = this;
|
|
46
|
+
// Inline function 'kotlin.intArrayOf' call
|
|
47
|
+
tmp_0.wt2_1 = new Int32Array([7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]);
|
|
48
|
+
var tmp_1 = this;
|
|
49
|
+
// Inline function 'kotlin.intArrayOf' call
|
|
50
|
+
tmp_1.xt2_1 = new Int32Array([-680876936, -389564586, 606105819, -1044525330, -176418897, 1200080426, -1473231341, -45705983, 1770035416, -1958414417, -42063, -1990404162, 1804603682, -40341101, -1502002290, 1236535329, -165796510, -1069501632, 643717713, -373897302, -701558691, 38016083, -660478335, -405537848, 568446438, -1019803690, -187363961, 1163531501, -1444681467, -51403784, 1735328473, -1926607734, -378558, -2022574463, 1839030562, -35309556, -1530992060, 1272893353, -155497632, -1094730640, 681279174, -358537222, -722521979, 76029189, -640364487, -421815835, 530742520, -995338651, -198630844, 1126891415, -1416354905, -57434055, 1700485571, -1894986606, -1051523, -2054922799, 1873313359, -30611744, -1560198380, 1309151649, -145523070, -1120210379, 718787259, -343485551]);
|
|
51
|
+
}
|
|
52
|
+
var Companion_instance;
|
|
53
|
+
function Companion_getInstance() {
|
|
54
|
+
if (Companion_instance == null)
|
|
55
|
+
new Companion();
|
|
56
|
+
return Companion_instance;
|
|
57
|
+
}
|
|
58
|
+
protoOf(MD5).nt1 = function (input, offset) {
|
|
59
|
+
var k = Companion_getInstance().xt2_1;
|
|
60
|
+
var s = Companion_getInstance().wt2_1;
|
|
61
|
+
var x = this.rt2_1;
|
|
62
|
+
var state = this.st2_1;
|
|
63
|
+
var a = state[0];
|
|
64
|
+
var b = state[1];
|
|
65
|
+
var c = state[2];
|
|
66
|
+
var d = state[3];
|
|
67
|
+
var inductionVariable = 0;
|
|
68
|
+
if (inductionVariable < 16)
|
|
69
|
+
do {
|
|
70
|
+
var i = inductionVariable;
|
|
71
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
72
|
+
Little_getInstance();
|
|
73
|
+
// Inline function 'org.kotlincrypto.bitops.endian.Little.leIntAt' call
|
|
74
|
+
var offset_0 = imul(i, 4) + offset | 0;
|
|
75
|
+
var xi = Little_getInstance().kt2(input, offset_0);
|
|
76
|
+
x[i] = xi;
|
|
77
|
+
var f = (((b & c | ~b & d) + a | 0) + k[i] | 0) + xi | 0;
|
|
78
|
+
a = d;
|
|
79
|
+
d = c;
|
|
80
|
+
c = b;
|
|
81
|
+
b = b + rotateLeft(f, s[i]) | 0;
|
|
82
|
+
}
|
|
83
|
+
while (inductionVariable < 16);
|
|
84
|
+
var inductionVariable_0 = 16;
|
|
85
|
+
if (inductionVariable_0 < 32)
|
|
86
|
+
do {
|
|
87
|
+
var i_0 = inductionVariable_0;
|
|
88
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
89
|
+
var g = (imul(5, i_0) + 1 | 0) % 16 | 0;
|
|
90
|
+
var f_0 = (((d & b | ~d & c) + a | 0) + k[i_0] | 0) + x[g] | 0;
|
|
91
|
+
a = d;
|
|
92
|
+
d = c;
|
|
93
|
+
c = b;
|
|
94
|
+
b = b + rotateLeft(f_0, s[i_0]) | 0;
|
|
95
|
+
}
|
|
96
|
+
while (inductionVariable_0 < 32);
|
|
97
|
+
var inductionVariable_1 = 32;
|
|
98
|
+
if (inductionVariable_1 < 48)
|
|
99
|
+
do {
|
|
100
|
+
var i_1 = inductionVariable_1;
|
|
101
|
+
inductionVariable_1 = inductionVariable_1 + 1 | 0;
|
|
102
|
+
var g_0 = (imul(3, i_1) + 5 | 0) % 16 | 0;
|
|
103
|
+
var f_1 = (((b ^ c ^ d) + a | 0) + k[i_1] | 0) + x[g_0] | 0;
|
|
104
|
+
a = d;
|
|
105
|
+
d = c;
|
|
106
|
+
c = b;
|
|
107
|
+
b = b + rotateLeft(f_1, s[i_1]) | 0;
|
|
108
|
+
}
|
|
109
|
+
while (inductionVariable_1 < 48);
|
|
110
|
+
var inductionVariable_2 = 48;
|
|
111
|
+
if (inductionVariable_2 < 64)
|
|
112
|
+
do {
|
|
113
|
+
var i_2 = inductionVariable_2;
|
|
114
|
+
inductionVariable_2 = inductionVariable_2 + 1 | 0;
|
|
115
|
+
var g_1 = imul(7, i_2) % 16 | 0;
|
|
116
|
+
var f_2 = (((c ^ (b | ~d)) + a | 0) + k[i_2] | 0) + x[g_1] | 0;
|
|
117
|
+
a = d;
|
|
118
|
+
d = c;
|
|
119
|
+
c = b;
|
|
120
|
+
b = b + rotateLeft(f_2, s[i_2]) | 0;
|
|
121
|
+
}
|
|
122
|
+
while (inductionVariable_2 < 64);
|
|
123
|
+
state[0] = state[0] + a | 0;
|
|
124
|
+
state[1] = state[1] + b | 0;
|
|
125
|
+
state[2] = state[2] + c | 0;
|
|
126
|
+
state[3] = state[3] + d | 0;
|
|
127
|
+
this.tt2_1.zt1();
|
|
128
|
+
};
|
|
129
|
+
protoOf(MD5).ot1 = function (buf, bufPos) {
|
|
130
|
+
var digest = new Int8Array(this.gt1());
|
|
131
|
+
this.lt1(digest, 0, buf, bufPos);
|
|
132
|
+
return digest;
|
|
133
|
+
};
|
|
134
|
+
protoOf(MD5).lt1 = function (dest, destOffset, buf, bufPos) {
|
|
135
|
+
var tmp0_container = this.tt2_1.at2(bufPos).xt1();
|
|
136
|
+
var bitsLo = tmp0_container.ch();
|
|
137
|
+
var bitsHi = tmp0_container.dh();
|
|
138
|
+
buf[bufPos] = -128;
|
|
139
|
+
if ((bufPos + 1 | 0) > 56) {
|
|
140
|
+
this.nt1(buf, 0);
|
|
141
|
+
fill(buf, 0, 0, 56);
|
|
142
|
+
}
|
|
143
|
+
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
144
|
+
Little_getInstance();
|
|
145
|
+
Little_getInstance().lt2(bitsLo, buf, 56);
|
|
146
|
+
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
147
|
+
Little_getInstance();
|
|
148
|
+
Little_getInstance().lt2(bitsHi, buf, 60);
|
|
149
|
+
this.nt1(buf, 0);
|
|
150
|
+
Little_getInstance();
|
|
151
|
+
// Inline function 'org.kotlincrypto.bitops.endian.Little.lePackIntoUnsafe' call
|
|
152
|
+
var this_0 = this.st2_1;
|
|
153
|
+
var sourceIndexEnd = this_0.length;
|
|
154
|
+
Little_getInstance().mt2(this_0, dest, destOffset, 0, sourceIndexEnd);
|
|
155
|
+
};
|
|
156
|
+
protoOf(MD5).mt1 = function () {
|
|
157
|
+
fill_0(this.rt2_1, 0);
|
|
158
|
+
var tmp0 = Companion_getInstance().vt2_1;
|
|
159
|
+
// Inline function 'kotlin.collections.copyInto' call
|
|
160
|
+
var destination = this.st2_1;
|
|
161
|
+
var endIndex = tmp0.length;
|
|
162
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
163
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
164
|
+
var tmp = tmp0;
|
|
165
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
166
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
167
|
+
arrayCopy(tmp, destination, 0, 0, endIndex);
|
|
168
|
+
this.tt2_1.bt2();
|
|
169
|
+
};
|
|
170
|
+
function MD5() {
|
|
171
|
+
Companion_getInstance();
|
|
172
|
+
}
|
|
173
|
+
//region block: exports
|
|
174
|
+
export {
|
|
175
|
+
MD5_init_$Create$ as MD5_init_$Create$99pm3sdu2dov,
|
|
176
|
+
};
|
|
177
|
+
//endregion
|
|
178
|
+
|
|
179
|
+
//# sourceMappingURL=hash-library-md.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["MD5.kt","_ArraysJs.kt","Endian.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/hash/library/md/src/commonMain/kotlin/org/kotlincrypto/hash/md/MD5.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: js/src/generated/_ArraysJs.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/bitops/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/Endian.kt\n// This often happens for transitive dependencies or generated files that are not preserved in the final build artifact."],"ignoreList":[],"x_google_ignoreList":[],"names":["MD5_init_$Init$","MD5_init_$Create$","<init>","compressProtected","input","offset","k","s","x","state","a","b","c","d","i","xi","f","g","digestProtected","buf","bufPos","digest","digestIntoProtected","dest","destOffset","bitsLo","bitsHi","resetProtected"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;wBAiCW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CujBgH,M;;;;;;EAC/H,eAAyC,WAAzC,EADuF,CACvF,EAD4G,CAC5G,EAA8G,QAA9G,C;EDvjBI,IAAM,CAAN,KAAM,M;AACV,C;eA5GJ;A,EAAA,uB;AAAA,C;;;;;"}
|
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -37,17 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
37
37
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
if (typeof Math.clz32 === 'undefined') {
|
|
41
|
-
Math.clz32 = function (log, LN2) {
|
|
42
|
-
return function (x) {
|
|
43
|
-
var asUint = x >>> 0;
|
|
44
|
-
if (asUint === 0) {
|
|
45
|
-
return 32;
|
|
46
|
-
}
|
|
47
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
48
|
-
};
|
|
49
|
-
}(Math.log, Math.LN2);
|
|
50
|
-
}
|
|
51
40
|
if (typeof Math.log10 === 'undefined') {
|
|
52
41
|
Math.log10 = function (x) {
|
|
53
42
|
return Math.log(x) * Math.LOG10E;
|
|
@@ -64,6 +53,23 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
64
53
|
return Math.ceil(x);
|
|
65
54
|
};
|
|
66
55
|
}
|
|
56
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
57
|
+
Math.clz32 = function (log, LN2) {
|
|
58
|
+
return function (x) {
|
|
59
|
+
var asUint = x >>> 0;
|
|
60
|
+
if (asUint === 0) {
|
|
61
|
+
return 32;
|
|
62
|
+
}
|
|
63
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
64
|
+
};
|
|
65
|
+
}(Math.log, Math.LN2);
|
|
66
|
+
}
|
|
67
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
68
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
69
|
+
position = position || 0;
|
|
70
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
71
|
+
}});
|
|
72
|
+
}
|
|
67
73
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
68
74
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
69
75
|
var subjectString = this.toString();
|
|
@@ -75,12 +81,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
75
81
|
return lastIndex !== -1 && lastIndex === position;
|
|
76
82
|
}});
|
|
77
83
|
}
|
|
78
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
79
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
80
|
-
position = position || 0;
|
|
81
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
82
|
-
}});
|
|
83
|
-
}
|
|
84
84
|
//endregion
|
|
85
85
|
//region block: imports
|
|
86
86
|
var imul_0 = Math.imul;
|
|
@@ -3935,6 +3935,14 @@ function fill_0(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
|
3935
3935
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3936
3936
|
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
3937
3937
|
}
|
|
3938
|
+
function fill_1(_this__u8e3s4, element, fromIndex, toIndex) {
|
|
3939
|
+
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
3940
|
+
toIndex = toIndex === VOID ? _this__u8e3s4.length : toIndex;
|
|
3941
|
+
Companion_instance_9.s4(fromIndex, toIndex, _this__u8e3s4.length);
|
|
3942
|
+
// Inline function 'kotlin.js.nativeFill' call
|
|
3943
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
3944
|
+
_this__u8e3s4.fill(element, fromIndex, toIndex);
|
|
3945
|
+
}
|
|
3938
3946
|
function copyOf(_this__u8e3s4, newSize) {
|
|
3939
3947
|
// Inline function 'kotlin.require' call
|
|
3940
3948
|
if (!(newSize >= 0)) {
|
|
@@ -4352,6 +4360,9 @@ function countLeadingZeroBits(_this__u8e3s4) {
|
|
|
4352
4360
|
}
|
|
4353
4361
|
return tmp;
|
|
4354
4362
|
}
|
|
4363
|
+
function rotateLeft(_this__u8e3s4, bitCount) {
|
|
4364
|
+
return _this__u8e3s4 << bitCount | (_this__u8e3s4 >>> (32 - bitCount | 0) | 0);
|
|
4365
|
+
}
|
|
4355
4366
|
function Unit() {
|
|
4356
4367
|
}
|
|
4357
4368
|
protoOf(Unit).toString = function () {
|
|
@@ -15319,6 +15330,34 @@ function endsWith_1(_this__u8e3s4, char, ignoreCase) {
|
|
|
15319
15330
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
15320
15331
|
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, get_lastIndex_4(_this__u8e3s4)), char, ignoreCase);
|
|
15321
15332
|
}
|
|
15333
|
+
function lastIndexOf_2(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
15334
|
+
startIndex = startIndex === VOID ? get_lastIndex_4(_this__u8e3s4) : startIndex;
|
|
15335
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
15336
|
+
var tmp;
|
|
15337
|
+
var tmp_0;
|
|
15338
|
+
if (ignoreCase) {
|
|
15339
|
+
tmp_0 = true;
|
|
15340
|
+
} else {
|
|
15341
|
+
tmp_0 = !(typeof _this__u8e3s4 === 'string');
|
|
15342
|
+
}
|
|
15343
|
+
if (tmp_0) {
|
|
15344
|
+
// Inline function 'kotlin.charArrayOf' call
|
|
15345
|
+
var tmp$ret$0 = charArrayOf([char]);
|
|
15346
|
+
tmp = lastIndexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
|
|
15347
|
+
} else {
|
|
15348
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
15349
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
15350
|
+
var str = toString(char);
|
|
15351
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
15352
|
+
tmp = _this__u8e3s4.lastIndexOf(str, startIndex);
|
|
15353
|
+
}
|
|
15354
|
+
return tmp;
|
|
15355
|
+
}
|
|
15356
|
+
function substringAfterLast(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
15357
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
15358
|
+
var index = lastIndexOf_1(_this__u8e3s4, delimiter);
|
|
15359
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
15360
|
+
}
|
|
15322
15361
|
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
15323
15362
|
if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
15324
15363
|
return false;
|
|
@@ -15492,6 +15531,50 @@ function padStart_0(_this__u8e3s4, length, padChar) {
|
|
|
15492
15531
|
sb.f1(_this__u8e3s4);
|
|
15493
15532
|
return sb;
|
|
15494
15533
|
}
|
|
15534
|
+
function lastIndexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
|
|
15535
|
+
startIndex = startIndex === VOID ? get_lastIndex_4(_this__u8e3s4) : startIndex;
|
|
15536
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
15537
|
+
var tmp;
|
|
15538
|
+
if (!ignoreCase && chars.length === 1) {
|
|
15539
|
+
tmp = typeof _this__u8e3s4 === 'string';
|
|
15540
|
+
} else {
|
|
15541
|
+
tmp = false;
|
|
15542
|
+
}
|
|
15543
|
+
if (tmp) {
|
|
15544
|
+
var char = single(chars);
|
|
15545
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
15546
|
+
// Inline function 'kotlin.text.nativeLastIndexOf' call
|
|
15547
|
+
var str = toString(char);
|
|
15548
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
15549
|
+
return _this__u8e3s4.lastIndexOf(str, startIndex);
|
|
15550
|
+
}
|
|
15551
|
+
var inductionVariable = coerceAtMost(startIndex, get_lastIndex_4(_this__u8e3s4));
|
|
15552
|
+
if (0 <= inductionVariable)
|
|
15553
|
+
do {
|
|
15554
|
+
var index = inductionVariable;
|
|
15555
|
+
inductionVariable = inductionVariable + -1 | 0;
|
|
15556
|
+
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
|
|
15557
|
+
var tmp$ret$3;
|
|
15558
|
+
$l$block: {
|
|
15559
|
+
// Inline function 'kotlin.collections.any' call
|
|
15560
|
+
var inductionVariable_0 = 0;
|
|
15561
|
+
var last = chars.length;
|
|
15562
|
+
while (inductionVariable_0 < last) {
|
|
15563
|
+
var element = chars[inductionVariable_0];
|
|
15564
|
+
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
15565
|
+
if (equals_1(element, charAtIndex, ignoreCase)) {
|
|
15566
|
+
tmp$ret$3 = true;
|
|
15567
|
+
break $l$block;
|
|
15568
|
+
}
|
|
15569
|
+
}
|
|
15570
|
+
tmp$ret$3 = false;
|
|
15571
|
+
}
|
|
15572
|
+
if (tmp$ret$3)
|
|
15573
|
+
return index;
|
|
15574
|
+
}
|
|
15575
|
+
while (0 <= inductionVariable);
|
|
15576
|
+
return -1;
|
|
15577
|
+
}
|
|
15495
15578
|
function requireNonNegativeLimit(limit) {
|
|
15496
15579
|
// Inline function 'kotlin.require' call
|
|
15497
15580
|
if (!(limit >= 0)) {
|
|
@@ -19578,6 +19661,7 @@ export {
|
|
|
19578
19661
|
emptyMap as emptyMapr06gerzljqtm,
|
|
19579
19662
|
emptySet as emptySetcxexqki71qfa,
|
|
19580
19663
|
fill as fill2542d4m9l93pn,
|
|
19664
|
+
fill_1 as fill3lmv1pckd4inv,
|
|
19581
19665
|
fill_0 as fill3hcjvebk42tyx,
|
|
19582
19666
|
filterNotNull as filterNotNull3qfgcwmxhwfxe,
|
|
19583
19667
|
firstOrNull_0 as firstOrNull1982767dljvdy,
|
|
@@ -19791,6 +19875,7 @@ export {
|
|
|
19791
19875
|
isSurrogate as isSurrogatewe8xicw8z84n,
|
|
19792
19876
|
isWhitespace as isWhitespace25occ8z1ed1s9,
|
|
19793
19877
|
get_lastIndex_4 as get_lastIndexld83bqhfgcdd,
|
|
19878
|
+
lastIndexOf_2 as lastIndexOfpmd3ei5son2n,
|
|
19794
19879
|
lastIndexOf_1 as lastIndexOf2d52xhix5ymjr,
|
|
19795
19880
|
last_2 as last2n4gf5az1lkn4,
|
|
19796
19881
|
padStart as padStart36w1507hs626a,
|
|
@@ -19808,6 +19893,7 @@ export {
|
|
|
19808
19893
|
startsWith_3 as startsWith1bgirhbedtv2y,
|
|
19809
19894
|
startsWith_2 as startsWith38d3sbg25w0lx,
|
|
19810
19895
|
startsWith_1 as startsWith641pyr7vf687,
|
|
19896
|
+
substringAfterLast as substringAfterLastuw9v7gfiiihe,
|
|
19811
19897
|
substringAfter_0 as substringAfter1hku067gwr5ve,
|
|
19812
19898
|
substringAfter as substringAfter35b3qhto7hchb,
|
|
19813
19899
|
substringBefore as substringBeforekje8w2lxhyb6,
|
|
@@ -19895,6 +19981,7 @@ export {
|
|
|
19895
19981
|
lazy_0 as lazy2hsh8ze7j6ikd,
|
|
19896
19982
|
noWhenBranchMatchedException as noWhenBranchMatchedException2a6r7ubxgky5j,
|
|
19897
19983
|
plus_5 as plus17rl43at52ays,
|
|
19984
|
+
rotateLeft as rotateLeft386qqkr4zb8q2,
|
|
19898
19985
|
stackTraceToString as stackTraceToString2670q6lbhdojj,
|
|
19899
19986
|
takeHighestOneBit as takeHighestOneBit9p7rdtda63bc,
|
|
19900
19987
|
throwOnFailure as throwOnFailure24snjmtlqgzo8,
|