@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
|
@@ -13,7 +13,7 @@ initMetadataForClass(MapSettings, 'MapSettings', MapSettings);
|
|
|
13
13
|
//endregion
|
|
14
14
|
function invokeListeners($this) {
|
|
15
15
|
// Inline function 'kotlin.collections.forEach' call
|
|
16
|
-
var _iterator__ex2g4s = $this.
|
|
16
|
+
var _iterator__ex2g4s = $this.vsg_1.t();
|
|
17
17
|
while (_iterator__ex2g4s.u()) {
|
|
18
18
|
var element = _iterator__ex2g4s.v();
|
|
19
19
|
element();
|
|
@@ -29,48 +29,48 @@ function MapSettings(delegate) {
|
|
|
29
29
|
tmp = delegate;
|
|
30
30
|
}
|
|
31
31
|
delegate = tmp;
|
|
32
|
-
this.
|
|
32
|
+
this.usg_1 = delegate;
|
|
33
33
|
var tmp_0 = this;
|
|
34
34
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
35
|
-
tmp_0.
|
|
35
|
+
tmp_0.vsg_1 = ArrayList_init_$Create$();
|
|
36
36
|
}
|
|
37
37
|
protoOf(MapSettings).e3h = function (key) {
|
|
38
38
|
// Inline function 'kotlin.collections.minusAssign' call
|
|
39
|
-
this.
|
|
39
|
+
this.usg_1.e3(key);
|
|
40
40
|
invokeListeners(this);
|
|
41
41
|
};
|
|
42
|
-
protoOf(MapSettings).
|
|
42
|
+
protoOf(MapSettings).nsg = function (key, value) {
|
|
43
43
|
// Inline function 'kotlin.collections.set' call
|
|
44
|
-
this.
|
|
44
|
+
this.usg_1.d3(key, value);
|
|
45
45
|
invokeListeners(this);
|
|
46
46
|
};
|
|
47
|
-
protoOf(MapSettings).
|
|
47
|
+
protoOf(MapSettings).osg = function (key, value) {
|
|
48
48
|
// Inline function 'kotlin.collections.set' call
|
|
49
|
-
this.
|
|
49
|
+
this.usg_1.d3(key, value);
|
|
50
50
|
invokeListeners(this);
|
|
51
51
|
};
|
|
52
|
-
protoOf(MapSettings).
|
|
52
|
+
protoOf(MapSettings).psg = function (key, value) {
|
|
53
53
|
// Inline function 'kotlin.collections.set' call
|
|
54
|
-
this.
|
|
54
|
+
this.usg_1.d3(key, value);
|
|
55
55
|
invokeListeners(this);
|
|
56
56
|
};
|
|
57
|
-
protoOf(MapSettings).
|
|
58
|
-
var tmp = this.
|
|
57
|
+
protoOf(MapSettings).qsg = function (key) {
|
|
58
|
+
var tmp = this.usg_1.a3(key);
|
|
59
59
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
60
60
|
};
|
|
61
|
-
protoOf(MapSettings).
|
|
61
|
+
protoOf(MapSettings).rsg = function (key, value) {
|
|
62
62
|
// Inline function 'kotlin.collections.set' call
|
|
63
|
-
this.
|
|
63
|
+
this.usg_1.d3(key, value);
|
|
64
64
|
invokeListeners(this);
|
|
65
65
|
};
|
|
66
|
-
protoOf(MapSettings).
|
|
66
|
+
protoOf(MapSettings).ssg = function (key, value) {
|
|
67
67
|
// Inline function 'kotlin.collections.set' call
|
|
68
|
-
this.
|
|
68
|
+
this.usg_1.d3(key, value);
|
|
69
69
|
invokeListeners(this);
|
|
70
70
|
};
|
|
71
|
-
protoOf(MapSettings).
|
|
71
|
+
protoOf(MapSettings).tsg = function (key, value) {
|
|
72
72
|
// Inline function 'kotlin.collections.set' call
|
|
73
|
-
this.
|
|
73
|
+
this.usg_1.d3(key, value);
|
|
74
74
|
invokeListeners(this);
|
|
75
75
|
};
|
|
76
76
|
//region block: exports
|
|
@@ -18,45 +18,45 @@ function StorageSettings(delegate) {
|
|
|
18
18
|
tmp = delegate;
|
|
19
19
|
}
|
|
20
20
|
delegate = tmp;
|
|
21
|
-
this.
|
|
21
|
+
this.msg_1 = delegate;
|
|
22
22
|
}
|
|
23
23
|
protoOf(StorageSettings).e3h = function (key) {
|
|
24
|
-
return this.
|
|
24
|
+
return this.msg_1.removeItem(key);
|
|
25
25
|
};
|
|
26
|
-
protoOf(StorageSettings).
|
|
27
|
-
var tmp0 = this.
|
|
26
|
+
protoOf(StorageSettings).nsg = function (key, value) {
|
|
27
|
+
var tmp0 = this.msg_1;
|
|
28
28
|
// Inline function 'com.russhwolf.settings.set' call
|
|
29
29
|
var value_0 = value.toString();
|
|
30
30
|
tmp0.setItem(key, value_0);
|
|
31
31
|
};
|
|
32
|
-
protoOf(StorageSettings).
|
|
33
|
-
var tmp0 = this.
|
|
32
|
+
protoOf(StorageSettings).osg = function (key, value) {
|
|
33
|
+
var tmp0 = this.msg_1;
|
|
34
34
|
// Inline function 'com.russhwolf.settings.set' call
|
|
35
35
|
var value_0 = value.toString();
|
|
36
36
|
tmp0.setItem(key, value_0);
|
|
37
37
|
};
|
|
38
|
-
protoOf(StorageSettings).
|
|
38
|
+
protoOf(StorageSettings).psg = function (key, value) {
|
|
39
39
|
// Inline function 'com.russhwolf.settings.set' call
|
|
40
|
-
this.
|
|
40
|
+
this.msg_1.setItem(key, value);
|
|
41
41
|
};
|
|
42
|
-
protoOf(StorageSettings).
|
|
42
|
+
protoOf(StorageSettings).qsg = function (key) {
|
|
43
43
|
// Inline function 'com.russhwolf.settings.get' call
|
|
44
|
-
return this.
|
|
44
|
+
return this.msg_1.getItem(key);
|
|
45
45
|
};
|
|
46
|
-
protoOf(StorageSettings).
|
|
47
|
-
var tmp0 = this.
|
|
46
|
+
protoOf(StorageSettings).rsg = function (key, value) {
|
|
47
|
+
var tmp0 = this.msg_1;
|
|
48
48
|
// Inline function 'com.russhwolf.settings.set' call
|
|
49
49
|
var value_0 = value.toString();
|
|
50
50
|
tmp0.setItem(key, value_0);
|
|
51
51
|
};
|
|
52
|
-
protoOf(StorageSettings).
|
|
53
|
-
var tmp0 = this.
|
|
52
|
+
protoOf(StorageSettings).ssg = function (key, value) {
|
|
53
|
+
var tmp0 = this.msg_1;
|
|
54
54
|
// Inline function 'com.russhwolf.settings.set' call
|
|
55
55
|
var value_0 = value.toString();
|
|
56
56
|
tmp0.setItem(key, value_0);
|
|
57
57
|
};
|
|
58
|
-
protoOf(StorageSettings).
|
|
59
|
-
var tmp0 = this.
|
|
58
|
+
protoOf(StorageSettings).tsg = function (key, value) {
|
|
59
|
+
var tmp0 = this.msg_1;
|
|
60
60
|
// Inline function 'com.russhwolf.settings.set' call
|
|
61
61
|
var value_0 = value.toString();
|
|
62
62
|
tmp0.setItem(key, value_0);
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
initMetadataForClass(AtomicReference, 'AtomicReference');
|
|
9
9
|
//endregion
|
|
10
10
|
function AtomicReference(initialValue) {
|
|
11
|
-
this.
|
|
11
|
+
this.vrn_1 = initialValue;
|
|
12
12
|
}
|
|
13
13
|
protoOf(AtomicReference).g25 = function () {
|
|
14
|
-
return this.
|
|
14
|
+
return this.vrn_1;
|
|
15
15
|
};
|
|
16
16
|
protoOf(AtomicReference).v2n = function (value_) {
|
|
17
|
-
this.
|
|
17
|
+
this.vrn_1 = value_;
|
|
18
18
|
};
|
|
19
19
|
//region block: exports
|
|
20
20
|
export {
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import {
|
|
2
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
3
|
+
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
4
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
5
|
+
toString1pkumu07cwy4m as toString,
|
|
6
|
+
IllegalArgumentException_init_$Create$i4126l9nkbuo as IllegalArgumentException_init_$Create$,
|
|
7
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
8
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
9
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
10
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
11
|
+
getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
|
|
12
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
13
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
14
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
15
|
+
//region block: imports
|
|
16
|
+
var imul = Math.imul;
|
|
17
|
+
//endregion
|
|
18
|
+
//region block: pre-declaration
|
|
19
|
+
initMetadataForCompanion(Companion);
|
|
20
|
+
initMetadataForClass(Final_1, 'Final');
|
|
21
|
+
initMetadataForClass(Final, 'Final', VOID, Final_1);
|
|
22
|
+
initMetadataForClass(Final_0, 'Final', VOID, Final_1);
|
|
23
|
+
initMetadataForClass(Counter, 'Counter');
|
|
24
|
+
initMetadataForClass(Bit32, 'Bit32', VOID, Counter);
|
|
25
|
+
initMetadataForClass(Bit64, 'Bit64', VOID, Counter);
|
|
26
|
+
//endregion
|
|
27
|
+
function Final_init_$Init$(lo, hi, $this) {
|
|
28
|
+
Final.call($this, lo, hi, false);
|
|
29
|
+
return $this;
|
|
30
|
+
}
|
|
31
|
+
function Final_init_$Create$(lo, hi) {
|
|
32
|
+
return Final_init_$Init$(lo, hi, objectCreate(protoOf(Final)));
|
|
33
|
+
}
|
|
34
|
+
function Companion() {
|
|
35
|
+
this.pt1_1 = 1048576;
|
|
36
|
+
}
|
|
37
|
+
var Companion_instance;
|
|
38
|
+
function Companion_getInstance() {
|
|
39
|
+
return Companion_instance;
|
|
40
|
+
}
|
|
41
|
+
function Bit32_init_$Init$(lo, hi, incrementBy, $this) {
|
|
42
|
+
Counter.call($this);
|
|
43
|
+
Bit32.call($this);
|
|
44
|
+
// Inline function 'kotlin.require' call
|
|
45
|
+
if (!(incrementBy > 0)) {
|
|
46
|
+
var message = 'incrementBy[' + incrementBy + '] must be greater than 0';
|
|
47
|
+
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
48
|
+
}
|
|
49
|
+
// Inline function 'kotlin.require' call
|
|
50
|
+
if (!(incrementBy <= 1048576)) {
|
|
51
|
+
var message_0 = 'incrementBy[' + incrementBy + '] must be less than or equal to 1048576';
|
|
52
|
+
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
53
|
+
}
|
|
54
|
+
// Inline function 'kotlin.require' call
|
|
55
|
+
if (!((incrementBy % 8 | 0) === 0)) {
|
|
56
|
+
var message_1 = 'incrementBy[' + incrementBy + '] must be a factor of 8';
|
|
57
|
+
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
58
|
+
}
|
|
59
|
+
// Inline function 'kotlin.require' call
|
|
60
|
+
if (!((-2147483648 % incrementBy | 0) === 0)) {
|
|
61
|
+
var message_2 = 'Int.MIN_VALUE % incrementBy[' + incrementBy + '] != 0';
|
|
62
|
+
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
63
|
+
}
|
|
64
|
+
// Inline function 'kotlin.require' call
|
|
65
|
+
if (!((lo % incrementBy | 0) === 0)) {
|
|
66
|
+
var message_3 = 'lo must be a factor of incrementBy[' + incrementBy + ']';
|
|
67
|
+
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
68
|
+
}
|
|
69
|
+
$this.rt1_1 = incrementBy;
|
|
70
|
+
$this.st1_1 = lo;
|
|
71
|
+
$this.tt1_1 = hi;
|
|
72
|
+
return $this;
|
|
73
|
+
}
|
|
74
|
+
function Bit32_init_$Init$_0(incrementBy, $this) {
|
|
75
|
+
Bit32_init_$Init$(0, 0, incrementBy, $this);
|
|
76
|
+
return $this;
|
|
77
|
+
}
|
|
78
|
+
function Bit32_init_$Create$(incrementBy) {
|
|
79
|
+
return Bit32_init_$Init$_0(incrementBy, objectCreate(protoOf(Bit32)));
|
|
80
|
+
}
|
|
81
|
+
function Final(lo, hi, isBits) {
|
|
82
|
+
Final_1.call(this, isBits);
|
|
83
|
+
this.vt1_1 = lo;
|
|
84
|
+
this.wt1_1 = hi;
|
|
85
|
+
}
|
|
86
|
+
protoOf(Final).ch = function () {
|
|
87
|
+
return this.vt1_1;
|
|
88
|
+
};
|
|
89
|
+
protoOf(Final).dh = function () {
|
|
90
|
+
return this.wt1_1;
|
|
91
|
+
};
|
|
92
|
+
protoOf(Final).xt1 = function () {
|
|
93
|
+
if (this.yt1_1)
|
|
94
|
+
return this;
|
|
95
|
+
return new Final(this.vt1_1 << 3, this.wt1_1 << 3 | (this.vt1_1 >>> 29 | 0), true);
|
|
96
|
+
};
|
|
97
|
+
function Final_0() {
|
|
98
|
+
}
|
|
99
|
+
protoOf(Bit32).zt1 = function () {
|
|
100
|
+
this.st1_1 = this.st1_1 + this.rt1_1 | 0;
|
|
101
|
+
if (this.st1_1 === 0) {
|
|
102
|
+
this.tt1_1 = this.tt1_1 + 1 | 0;
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
protoOf(Bit32).at2 = function (additional) {
|
|
106
|
+
var lo = this.st1_1;
|
|
107
|
+
var hi = this.tt1_1;
|
|
108
|
+
var lt0 = lo < 0;
|
|
109
|
+
lo = lo + additional | 0;
|
|
110
|
+
if (lt0 && lo >= 0) {
|
|
111
|
+
hi = hi + 1 | 0;
|
|
112
|
+
}
|
|
113
|
+
return Final_init_$Create$(lo, hi);
|
|
114
|
+
};
|
|
115
|
+
protoOf(Bit32).bt2 = function () {
|
|
116
|
+
this.st1_1 = 0;
|
|
117
|
+
this.tt1_1 = 0;
|
|
118
|
+
};
|
|
119
|
+
function Bit32() {
|
|
120
|
+
}
|
|
121
|
+
function Bit64() {
|
|
122
|
+
}
|
|
123
|
+
function Final_1(isBits) {
|
|
124
|
+
this.yt1_1 = isBits;
|
|
125
|
+
}
|
|
126
|
+
protoOf(Final_1).equals = function (other) {
|
|
127
|
+
var tmp;
|
|
128
|
+
if (other instanceof Final_1) {
|
|
129
|
+
tmp = hashCode(other) === this.hashCode();
|
|
130
|
+
} else {
|
|
131
|
+
tmp = false;
|
|
132
|
+
}
|
|
133
|
+
return tmp;
|
|
134
|
+
};
|
|
135
|
+
protoOf(Final_1).hashCode = function () {
|
|
136
|
+
var result = 17;
|
|
137
|
+
if (this instanceof Final) {
|
|
138
|
+
result = imul(result, 31) + this.vt1_1 | 0;
|
|
139
|
+
result = imul(result, 31) + this.wt1_1 | 0;
|
|
140
|
+
} else {
|
|
141
|
+
if (this instanceof Final_0) {
|
|
142
|
+
result = imul(result, 31) + getBigIntHashCode(this.dt2_1) | 0;
|
|
143
|
+
result = imul(result, 31) + getBigIntHashCode(this.et2_1) | 0;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
result = imul(result, 31) + getBooleanHashCode(this.yt1_1) | 0;
|
|
147
|
+
return result;
|
|
148
|
+
};
|
|
149
|
+
protoOf(Final_1).toString = function () {
|
|
150
|
+
var tmp;
|
|
151
|
+
if (this instanceof Final) {
|
|
152
|
+
tmp = 'Counter.Bit32.Final[lo=' + this.vt1_1 + ', hi=' + this.wt1_1 + ']';
|
|
153
|
+
} else {
|
|
154
|
+
if (this instanceof Final_0) {
|
|
155
|
+
tmp = 'Counter.Bit64.Final[lo=' + this.dt2_1.toString() + ', hi=' + this.et2_1.toString() + ']';
|
|
156
|
+
} else {
|
|
157
|
+
noWhenBranchMatchedException();
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return tmp;
|
|
161
|
+
};
|
|
162
|
+
function Counter() {
|
|
163
|
+
this.ft2_1 = new Object();
|
|
164
|
+
}
|
|
165
|
+
protoOf(Counter).equals = function (other) {
|
|
166
|
+
var tmp;
|
|
167
|
+
if (other instanceof Counter) {
|
|
168
|
+
tmp = hashCode(other) === this.hashCode();
|
|
169
|
+
} else {
|
|
170
|
+
tmp = false;
|
|
171
|
+
}
|
|
172
|
+
return tmp;
|
|
173
|
+
};
|
|
174
|
+
protoOf(Counter).hashCode = function () {
|
|
175
|
+
return 527 + hashCode(this.ft2_1) | 0;
|
|
176
|
+
};
|
|
177
|
+
protoOf(Counter).toString = function () {
|
|
178
|
+
var tmp;
|
|
179
|
+
if (this instanceof Bit32) {
|
|
180
|
+
tmp = 'Bit32[lo=' + this.st1_1 + ', hi=' + this.tt1_1 + ', incrementBy=' + this.rt1_1 + ']';
|
|
181
|
+
} else {
|
|
182
|
+
if (this instanceof Bit64) {
|
|
183
|
+
tmp = 'Bit64[lo=' + this.it2_1.toString() + ', hi=' + this.jt2_1.toString() + ', incrementBy=' + this.ht2_1.toString() + ']';
|
|
184
|
+
} else {
|
|
185
|
+
noWhenBranchMatchedException();
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
// Inline function 'kotlin.let' call
|
|
189
|
+
return 'Counter.' + tmp + '@' + this.hashCode();
|
|
190
|
+
};
|
|
191
|
+
//region block: init
|
|
192
|
+
Companion_instance = new Companion();
|
|
193
|
+
//endregion
|
|
194
|
+
//region block: exports
|
|
195
|
+
export {
|
|
196
|
+
Bit32_init_$Create$ as Bit32_init_$Create$1z5b4kxchcg4m,
|
|
197
|
+
};
|
|
198
|
+
//endregion
|
|
199
|
+
|
|
200
|
+
//# sourceMappingURL=bitops-library-bits.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Counter.kt","Preconditions.kt"],"sourcesContent":["// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/bitops/library/bits/src/commonMain/kotlin/org/kotlincrypto/bitops/bits/Counter.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: src/kotlin/util/Preconditions.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":["Final_init_$Init$","lo","hi","Final_init_$Create$","<init>","Bit32_init_$Init$","incrementBy","message","Bit32_init_$Create$","isBits","component1","component2","asBits","increment","final","additional","lt0","reset","equals","other","hash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SAAS,aAAS,EAAT,IAAiB,kBAAH,IAAG,CAAH,KAAG,CAA1B,I;IACJ,C;;EAEJ,SAAS,aAAS,EAAT,IAAqB,mBAAP,IAAO,CAAP,KAAO,CAA9B,I;EACA,OAAO,M;AACX,C;qCAEsBC,CAAAA,EAAyB;A;EAC3C,IADiD,IACjD,kB;UAAmB,yB,GAAwB,I,CAAA,K,GAAE,O,GAAM,I,CAAA,K,GAAE,G;;IACrD,IAFiD,IAEjD,oB;YAAmB,yB,GAAwB,I,CAAA,K,cAAE,O,GAAM,I,CAAA,K,cAAE,G;;;;;EACxD,U;AAAD,C;gBAjT4BlB,CAAAA,EAAA;A,EAoTb,yB;AApTa,C;mCAuTVc,CAAWC,KAAXD,EAAmC;A;EAAA,6B;UAA0B,SAAN,KAAM,CAAN,KAAoB,e;;UAApB,K;;EAA8B,U;AAAD,C;qCAEpFE,CAAAA,EAAsB;A,EAAyB,OAAzB,MAAe,SAAL,IAAK,CAAL,KAAK,CAAU,I;AAAD,C;qCAE9CE,CAAAA,EAAyB;A;EAC3C,IADiD,IACjD,kB;UAAa,W,GAAU,I,CAAA,K,GAAE,O,GAAM,I,CAAA,K,GAAE,gB,GAAe,I,CAAA,K,GAAW,G;;IAC3D,IAFiD,IAEjD,kB;YAAa,W,GAAU,I,CAAA,K,cAAE,O,GAAM,I,CAAA,K,cAAE,gB,GAAe,I,CAAA,K,cAAW,G;;;;;;EACd,OAA/B,UAAD,GAH8B,GAG9B,GAAe,GAAf,GAAkB,e;AAAa,C;;;;;;;;"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import {
|
|
2
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
3
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
4
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
5
|
+
toByte4i43936u611k as toByte,
|
|
6
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
7
|
+
getKClass3t8tygqu4lcxf as getKClass,
|
|
8
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
9
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
10
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
11
|
+
} from './kotlin-kotlin-stdlib.mjs';
|
|
12
|
+
//region block: imports
|
|
13
|
+
//endregion
|
|
14
|
+
//region block: pre-declaration
|
|
15
|
+
initMetadataForClass(Endian, 'Endian');
|
|
16
|
+
initMetadataForObject(Big, 'Big', VOID, Endian);
|
|
17
|
+
initMetadataForObject(Little, 'Little', VOID, Endian);
|
|
18
|
+
initMetadataForCompanion(Companion);
|
|
19
|
+
//endregion
|
|
20
|
+
function Big() {
|
|
21
|
+
}
|
|
22
|
+
function Little() {
|
|
23
|
+
Little_instance = this;
|
|
24
|
+
Endian.call(this);
|
|
25
|
+
}
|
|
26
|
+
protoOf(Little).kt2 = function (source, offset) {
|
|
27
|
+
// Inline function 'org.kotlincrypto.bitops.endian.internal.unpackLEInt' call
|
|
28
|
+
var tmp0 = _B0___init__impl__6otxhp(source[offset]);
|
|
29
|
+
var tmp2 = source[offset + 1 | 0];
|
|
30
|
+
var tmp4 = source[offset + 2 | 0];
|
|
31
|
+
// Inline function 'org.kotlincrypto.bitops.endian.internal.toLEInt' call
|
|
32
|
+
var b3 = source[offset + 3 | 0];
|
|
33
|
+
return _B0___get_b0__impl__g161pk(tmp0) & 255 | (tmp2 & 255) << 8 | (tmp4 & 255) << 16 | b3 << 24;
|
|
34
|
+
};
|
|
35
|
+
protoOf(Little).lt2 = function (source, dest, destOffset) {
|
|
36
|
+
// Inline function 'org.kotlincrypto.bitops.endian.internal.packLEInt' call
|
|
37
|
+
dest[destOffset] = toByte(source);
|
|
38
|
+
dest[destOffset + 1 | 0] = toByte(source >>> 8 | 0);
|
|
39
|
+
dest[destOffset + 2 | 0] = toByte(source >>> 16 | 0);
|
|
40
|
+
dest[destOffset + 3 | 0] = toByte(source >>> 24 | 0);
|
|
41
|
+
return dest;
|
|
42
|
+
};
|
|
43
|
+
protoOf(Little).mt2 = function (source, dest, destOffset, sourceIndexStart, sourceIndexEnd) {
|
|
44
|
+
// Inline function 'org.kotlincrypto.bitops.endian.internal.packArray' call
|
|
45
|
+
var destPos = destOffset;
|
|
46
|
+
var sourcePos = sourceIndexStart;
|
|
47
|
+
while (sourcePos < sourceIndexEnd) {
|
|
48
|
+
var tmp0 = sourcePos;
|
|
49
|
+
sourcePos = tmp0 + 1 | 0;
|
|
50
|
+
var destPos_0 = destPos;
|
|
51
|
+
// Inline function 'org.kotlincrypto.bitops.endian.internal.packLEInt' call
|
|
52
|
+
var source_0 = source[tmp0];
|
|
53
|
+
dest[destPos_0] = toByte(source_0);
|
|
54
|
+
dest[destPos_0 + 1 | 0] = toByte(source_0 >>> 8 | 0);
|
|
55
|
+
dest[destPos_0 + 2 | 0] = toByte(source_0 >>> 16 | 0);
|
|
56
|
+
dest[destPos_0 + 3 | 0] = toByte(source_0 >>> 24 | 0);
|
|
57
|
+
destPos = destPos + 4 | 0;
|
|
58
|
+
}
|
|
59
|
+
return dest;
|
|
60
|
+
};
|
|
61
|
+
protoOf(Little).equals = function (other) {
|
|
62
|
+
return other instanceof Little;
|
|
63
|
+
};
|
|
64
|
+
protoOf(Little).hashCode = function () {
|
|
65
|
+
return 527 + getKClass(Little).hashCode() | 0;
|
|
66
|
+
};
|
|
67
|
+
var Little_instance;
|
|
68
|
+
function Little_getInstance() {
|
|
69
|
+
if (Little_instance == null)
|
|
70
|
+
new Little();
|
|
71
|
+
return Little_instance;
|
|
72
|
+
}
|
|
73
|
+
function Companion() {
|
|
74
|
+
}
|
|
75
|
+
var Companion_instance;
|
|
76
|
+
function Companion_getInstance() {
|
|
77
|
+
return Companion_instance;
|
|
78
|
+
}
|
|
79
|
+
function Endian() {
|
|
80
|
+
}
|
|
81
|
+
protoOf(Endian).toString = function () {
|
|
82
|
+
var tmp;
|
|
83
|
+
if (this instanceof Big) {
|
|
84
|
+
tmp = 'Endian.Big';
|
|
85
|
+
} else {
|
|
86
|
+
if (this instanceof Little) {
|
|
87
|
+
tmp = 'Endian.Little';
|
|
88
|
+
} else {
|
|
89
|
+
noWhenBranchMatchedException();
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
return tmp;
|
|
93
|
+
};
|
|
94
|
+
function _B0___init__impl__6otxhp(b0) {
|
|
95
|
+
return b0;
|
|
96
|
+
}
|
|
97
|
+
function _B0___get_b0__impl__g161pk($this) {
|
|
98
|
+
return $this;
|
|
99
|
+
}
|
|
100
|
+
//region block: init
|
|
101
|
+
Companion_instance = new Companion();
|
|
102
|
+
//endregion
|
|
103
|
+
//region block: exports
|
|
104
|
+
export {
|
|
105
|
+
Little_getInstance as Little_getInstance3o64tamm9djeo,
|
|
106
|
+
};
|
|
107
|
+
//endregion
|
|
108
|
+
|
|
109
|
+
//# sourceMappingURL=bitops-library-endian.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["Endian.kt","-EndianUtils.kt"],"sourcesContent":["// 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.","// Source not found during SDK packaging.\n// Original path: ../../../../../../../../../../../admin/Projects/KotlinCrypto/bitops/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/internal/-EndianUtils.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":["<init>","intFrom","source","offset","packUnsafe","dest","destOffset","sourceIndexStart","sourceIndexEnd","destPos","sourcePos","equals","other","hashCode","toString","<B0__<init>-impl>","b0","<B0__<get-b0>-impl>"],"mappings":";;;;;;;;;;;;;;;;;;;;;eAmiEIA,CAAAA,EAAA;A;EAAsB,iB;AAAtB,C;+BA4PoBC,CACZC,M,EACAC,MAFYF,E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