game_client_logic_deb 1.8.144 → 1.8.181
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/Kosi-Kaverit-kaverit.js +79 -79
- package/Kosi-Kodein-kodein-di.js +624 -624
- package/Kotlin-DateTime-library-kotlinx-datetime.js +5660 -307
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/Logic_Debertz-core.js +1742 -1602
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +19759 -15486
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +338 -94
- package/Logic_Debertz-game_client.js +4974 -4762
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2652 -2316
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +31 -31
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2520 -2520
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +280 -280
- package/kotlinx-serialization-kotlinx-serialization-core.js +2050 -2049
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1466 -1466
- package/ktor-ktor-client-content-negotiation.js +15 -0
- package/ktor-ktor-client-content-negotiation.js.map +1 -0
- package/ktor-ktor-client-core.js +15 -0
- package/ktor-ktor-client-core.js.map +1 -0
- package/ktor-ktor-client-js.js +15 -0
- package/ktor-ktor-client-js.js.map +1 -0
- package/ktor-ktor-client-logging.js +57 -0
- package/ktor-ktor-client-logging.js.map +1 -0
- package/ktor-ktor-events.js +15 -0
- package/ktor-ktor-events.js.map +1 -0
- package/ktor-ktor-http.js +15 -0
- package/ktor-ktor-http.js.map +1 -0
- package/ktor-ktor-io.js +19 -0
- package/ktor-ktor-io.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx-json.js +15 -0
- package/ktor-ktor-serialization-kotlinx-json.js.map +1 -0
- package/ktor-ktor-serialization-kotlinx.js +15 -0
- package/ktor-ktor-serialization-kotlinx.js.map +1 -0
- package/ktor-ktor-serialization.js +15 -0
- package/ktor-ktor-serialization.js.map +1 -0
- package/ktor-ktor-utils.js +19 -0
- package/ktor-ktor-utils.js.map +1 -0
- package/ktor-ktor-websocket-serialization.js +15 -0
- package/ktor-ktor-websocket-serialization.js.map +1 -0
- package/ktor-ktor-websockets.js +15 -0
- package/ktor-ktor-websockets.js.map +1 -0
- package/package.json +5 -2
- package/raspberry-cardgame-lib-core.js +217 -533
- package/raspberry-cardgame-lib-core.js.map +1 -1
- package/raspberry-cardgame-lib-logger.js +407 -0
- package/raspberry-cardgame-lib-logger.js.map +1 -0
- package/raspberry-cardgame-lib-random.js +403 -0
- package/raspberry-cardgame-lib-random.js.map +1 -0
- package/uuid.js +32 -32
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
(function (root, factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd)
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './ktor-ktor-client-logging.js', './kotlinx-serialization-kotlinx-serialization-json.js'], factory);
|
|
4
|
+
else if (typeof exports === 'object')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-client-logging.js'), require('./kotlinx-serialization-kotlinx-serialization-json.js'));
|
|
6
|
+
else {
|
|
7
|
+
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
|
+
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
9
|
+
}
|
|
10
|
+
if (typeof this['ktor-ktor-client-logging'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'ktor-ktor-client-logging' was not found. Please, check whether 'ktor-ktor-client-logging' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
12
|
+
}
|
|
13
|
+
if (typeof this['kotlinx-serialization-kotlinx-serialization-json'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module 'raspberry-cardgame-lib-random'. Its dependency 'kotlinx-serialization-kotlinx-serialization-json' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-json' is loaded prior to 'raspberry-cardgame-lib-random'.");
|
|
15
|
+
}
|
|
16
|
+
root['raspberry-cardgame-lib-random'] = factory(typeof this['raspberry-cardgame-lib-random'] === 'undefined' ? {} : this['raspberry-cardgame-lib-random'], this['kotlin-kotlin-stdlib'], this['ktor-ktor-client-logging'], this['kotlinx-serialization-kotlinx-serialization-json']);
|
|
17
|
+
}
|
|
18
|
+
}(globalThis, function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_logging, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json) {
|
|
19
|
+
'use strict';
|
|
20
|
+
//region block: imports
|
|
21
|
+
var imul = Math.imul;
|
|
22
|
+
var toString = kotlin_kotlin.$_$.ub;
|
|
23
|
+
var protoOf = kotlin_kotlin.$_$.qb;
|
|
24
|
+
var hashCode = kotlin_kotlin.$_$.sa;
|
|
25
|
+
var getStringHashCode = kotlin_kotlin.$_$.ra;
|
|
26
|
+
var THROW_CCE = kotlin_kotlin.$_$.we;
|
|
27
|
+
var equals = kotlin_kotlin.$_$.ma;
|
|
28
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ta;
|
|
29
|
+
var listOf = kotlin_kotlin.$_$.x7;
|
|
30
|
+
var plus = kotlin_kotlin.$_$.i8;
|
|
31
|
+
var VOID = kotlin_kotlin.$_$.f;
|
|
32
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
|
|
33
|
+
var emptyList = kotlin_kotlin.$_$.w6;
|
|
34
|
+
var defineProp = kotlin_kotlin.$_$.la;
|
|
35
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wa;
|
|
36
|
+
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
37
|
+
var Long = kotlin_kotlin.$_$.qe;
|
|
38
|
+
var LogLevel_ALL_getInstance = kotlin_io_ktor_ktor_client_logging.$_$.a;
|
|
39
|
+
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
40
|
+
//endregion
|
|
41
|
+
//region block: pre-declaration
|
|
42
|
+
initMetadataForClass(CardDeckRequestUserData, 'CardDeckRequestUserData');
|
|
43
|
+
initMetadataForClass(UserInfoData, 'UserInfoData');
|
|
44
|
+
initMetadataForCompanion(Companion);
|
|
45
|
+
initMetadataForClass(GameCardDecksRecord, 'GameCardDecksRecord');
|
|
46
|
+
initMetadataForClass(GameCardDeckData, 'GameCardDeckData');
|
|
47
|
+
initMetadataForClass(RandomOrgConfig, 'RandomOrgConfig', RandomOrgConfig);
|
|
48
|
+
initMetadataForInterface(RandomPoolProvider, 'RandomPoolProvider', VOID, VOID, VOID, [5]);
|
|
49
|
+
initMetadataForClass(HttpConfig, 'HttpConfig');
|
|
50
|
+
//endregion
|
|
51
|
+
function CardDeckRequestUserData(players, gameId) {
|
|
52
|
+
this.u2s_1 = players;
|
|
53
|
+
this.v2s_1 = gameId;
|
|
54
|
+
}
|
|
55
|
+
protoOf(CardDeckRequestUserData).toString = function () {
|
|
56
|
+
return 'CardDeckRequestUserData(players=' + toString(this.u2s_1) + ', gameId=' + this.v2s_1 + ')';
|
|
57
|
+
};
|
|
58
|
+
protoOf(CardDeckRequestUserData).hashCode = function () {
|
|
59
|
+
var result = hashCode(this.u2s_1);
|
|
60
|
+
result = imul(result, 31) + getStringHashCode(this.v2s_1) | 0;
|
|
61
|
+
return result;
|
|
62
|
+
};
|
|
63
|
+
protoOf(CardDeckRequestUserData).equals = function (other) {
|
|
64
|
+
if (this === other)
|
|
65
|
+
return true;
|
|
66
|
+
if (!(other instanceof CardDeckRequestUserData))
|
|
67
|
+
return false;
|
|
68
|
+
var tmp0_other_with_cast = other instanceof CardDeckRequestUserData ? other : THROW_CCE();
|
|
69
|
+
if (!equals(this.u2s_1, tmp0_other_with_cast.u2s_1))
|
|
70
|
+
return false;
|
|
71
|
+
if (!(this.v2s_1 === tmp0_other_with_cast.v2s_1))
|
|
72
|
+
return false;
|
|
73
|
+
return true;
|
|
74
|
+
};
|
|
75
|
+
function UserInfoData(id, name) {
|
|
76
|
+
this.w2s_1 = id;
|
|
77
|
+
this.x2s_1 = name;
|
|
78
|
+
}
|
|
79
|
+
protoOf(UserInfoData).toString = function () {
|
|
80
|
+
return 'UserInfoData(id=' + this.w2s_1 + ', name=' + this.x2s_1 + ')';
|
|
81
|
+
};
|
|
82
|
+
protoOf(UserInfoData).hashCode = function () {
|
|
83
|
+
var result = getStringHashCode(this.w2s_1);
|
|
84
|
+
result = imul(result, 31) + getStringHashCode(this.x2s_1) | 0;
|
|
85
|
+
return result;
|
|
86
|
+
};
|
|
87
|
+
protoOf(UserInfoData).equals = function (other) {
|
|
88
|
+
if (this === other)
|
|
89
|
+
return true;
|
|
90
|
+
if (!(other instanceof UserInfoData))
|
|
91
|
+
return false;
|
|
92
|
+
var tmp0_other_with_cast = other instanceof UserInfoData ? other : THROW_CCE();
|
|
93
|
+
if (!(this.w2s_1 === tmp0_other_with_cast.w2s_1))
|
|
94
|
+
return false;
|
|
95
|
+
if (!(this.x2s_1 === tmp0_other_with_cast.x2s_1))
|
|
96
|
+
return false;
|
|
97
|
+
return true;
|
|
98
|
+
};
|
|
99
|
+
function Companion() {
|
|
100
|
+
}
|
|
101
|
+
protoOf(Companion).firstRound = function (signature, newCardDeckData, userData) {
|
|
102
|
+
return new GameCardDecksRecord(signature, userData, listOf(newCardDeckData));
|
|
103
|
+
};
|
|
104
|
+
protoOf(Companion).newRound = function (gameCardDecksRecord, newCardDeckData) {
|
|
105
|
+
return gameCardDecksRecord.copy(VOID, VOID, plus(gameCardDecksRecord.rounds, newCardDeckData));
|
|
106
|
+
};
|
|
107
|
+
var Companion_instance;
|
|
108
|
+
function Companion_getInstance() {
|
|
109
|
+
return Companion_instance;
|
|
110
|
+
}
|
|
111
|
+
function GameCardDecksRecord(signature, userData, rounds) {
|
|
112
|
+
rounds = rounds === VOID ? emptyList() : rounds;
|
|
113
|
+
this.signature = signature;
|
|
114
|
+
this.userData = userData;
|
|
115
|
+
this.rounds = rounds;
|
|
116
|
+
}
|
|
117
|
+
protoOf(GameCardDecksRecord).y2s = function () {
|
|
118
|
+
return this.signature;
|
|
119
|
+
};
|
|
120
|
+
protoOf(GameCardDecksRecord).z2s = function () {
|
|
121
|
+
return this.userData;
|
|
122
|
+
};
|
|
123
|
+
protoOf(GameCardDecksRecord).a2t = function () {
|
|
124
|
+
return this.rounds;
|
|
125
|
+
};
|
|
126
|
+
protoOf(GameCardDecksRecord).fe = function () {
|
|
127
|
+
return this.signature;
|
|
128
|
+
};
|
|
129
|
+
protoOf(GameCardDecksRecord).ge = function () {
|
|
130
|
+
return this.userData;
|
|
131
|
+
};
|
|
132
|
+
protoOf(GameCardDecksRecord).yi = function () {
|
|
133
|
+
return this.rounds;
|
|
134
|
+
};
|
|
135
|
+
protoOf(GameCardDecksRecord).b2t = function (signature, userData, rounds) {
|
|
136
|
+
return new GameCardDecksRecord(signature, userData, rounds);
|
|
137
|
+
};
|
|
138
|
+
protoOf(GameCardDecksRecord).copy = function (signature, userData, rounds, $super) {
|
|
139
|
+
signature = signature === VOID ? this.signature : signature;
|
|
140
|
+
userData = userData === VOID ? this.userData : userData;
|
|
141
|
+
rounds = rounds === VOID ? this.rounds : rounds;
|
|
142
|
+
return this.b2t(signature, userData, rounds);
|
|
143
|
+
};
|
|
144
|
+
protoOf(GameCardDecksRecord).toString = function () {
|
|
145
|
+
return 'GameCardDecksRecord(signature=' + this.signature + ', userData=' + this.userData.toString() + ', rounds=' + toString(this.rounds) + ')';
|
|
146
|
+
};
|
|
147
|
+
protoOf(GameCardDecksRecord).hashCode = function () {
|
|
148
|
+
var result = getStringHashCode(this.signature);
|
|
149
|
+
result = imul(result, 31) + this.userData.hashCode() | 0;
|
|
150
|
+
result = imul(result, 31) + hashCode(this.rounds) | 0;
|
|
151
|
+
return result;
|
|
152
|
+
};
|
|
153
|
+
protoOf(GameCardDecksRecord).equals = function (other) {
|
|
154
|
+
if (this === other)
|
|
155
|
+
return true;
|
|
156
|
+
if (!(other instanceof GameCardDecksRecord))
|
|
157
|
+
return false;
|
|
158
|
+
var tmp0_other_with_cast = other instanceof GameCardDecksRecord ? other : THROW_CCE();
|
|
159
|
+
if (!(this.signature === tmp0_other_with_cast.signature))
|
|
160
|
+
return false;
|
|
161
|
+
if (!this.userData.equals(tmp0_other_with_cast.userData))
|
|
162
|
+
return false;
|
|
163
|
+
if (!equals(this.rounds, tmp0_other_with_cast.rounds))
|
|
164
|
+
return false;
|
|
165
|
+
return true;
|
|
166
|
+
};
|
|
167
|
+
function GameCardDeckData(cardDeckIndex, cards) {
|
|
168
|
+
this.cardDeckIndex = cardDeckIndex;
|
|
169
|
+
this.cards = cards;
|
|
170
|
+
}
|
|
171
|
+
protoOf(GameCardDeckData).c2t = function () {
|
|
172
|
+
return this.cardDeckIndex;
|
|
173
|
+
};
|
|
174
|
+
protoOf(GameCardDeckData).d2t = function () {
|
|
175
|
+
return this.cards;
|
|
176
|
+
};
|
|
177
|
+
protoOf(GameCardDeckData).fe = function () {
|
|
178
|
+
return this.cardDeckIndex;
|
|
179
|
+
};
|
|
180
|
+
protoOf(GameCardDeckData).ge = function () {
|
|
181
|
+
return this.cards;
|
|
182
|
+
};
|
|
183
|
+
protoOf(GameCardDeckData).e2t = function (cardDeckIndex, cards) {
|
|
184
|
+
return new GameCardDeckData(cardDeckIndex, cards);
|
|
185
|
+
};
|
|
186
|
+
protoOf(GameCardDeckData).copy = function (cardDeckIndex, cards, $super) {
|
|
187
|
+
cardDeckIndex = cardDeckIndex === VOID ? this.cardDeckIndex : cardDeckIndex;
|
|
188
|
+
cards = cards === VOID ? this.cards : cards;
|
|
189
|
+
return this.e2t(cardDeckIndex, cards);
|
|
190
|
+
};
|
|
191
|
+
protoOf(GameCardDeckData).toString = function () {
|
|
192
|
+
return 'GameCardDeckData(cardDeckIndex=' + this.cardDeckIndex + ', cards=' + toString(this.cards) + ')';
|
|
193
|
+
};
|
|
194
|
+
protoOf(GameCardDeckData).hashCode = function () {
|
|
195
|
+
var result = this.cardDeckIndex;
|
|
196
|
+
result = imul(result, 31) + hashCode(this.cards) | 0;
|
|
197
|
+
return result;
|
|
198
|
+
};
|
|
199
|
+
protoOf(GameCardDeckData).equals = function (other) {
|
|
200
|
+
if (this === other)
|
|
201
|
+
return true;
|
|
202
|
+
if (!(other instanceof GameCardDeckData))
|
|
203
|
+
return false;
|
|
204
|
+
var tmp0_other_with_cast = other instanceof GameCardDeckData ? other : THROW_CCE();
|
|
205
|
+
if (!(this.cardDeckIndex === tmp0_other_with_cast.cardDeckIndex))
|
|
206
|
+
return false;
|
|
207
|
+
if (!equals(this.cards, tmp0_other_with_cast.cards))
|
|
208
|
+
return false;
|
|
209
|
+
return true;
|
|
210
|
+
};
|
|
211
|
+
function RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
212
|
+
apiKey = apiKey === VOID ? '68b344df-e962-4bf7-b77e-eea466b7f90a' : apiKey;
|
|
213
|
+
poolSize = poolSize === VOID ? 100 : poolSize;
|
|
214
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? 3 : thresholdForUsedPool;
|
|
215
|
+
httpConfig = httpConfig === VOID ? new HttpConfig('https://api.random.org') : httpConfig;
|
|
216
|
+
this.apiKey = apiKey;
|
|
217
|
+
this.poolSize = poolSize;
|
|
218
|
+
this.thresholdForUsedPool = thresholdForUsedPool;
|
|
219
|
+
this.httpConfig = httpConfig;
|
|
220
|
+
}
|
|
221
|
+
protoOf(RandomOrgConfig).f2t = function () {
|
|
222
|
+
return this.apiKey;
|
|
223
|
+
};
|
|
224
|
+
protoOf(RandomOrgConfig).g2t = function () {
|
|
225
|
+
return this.poolSize;
|
|
226
|
+
};
|
|
227
|
+
protoOf(RandomOrgConfig).h2t = function () {
|
|
228
|
+
return this.thresholdForUsedPool;
|
|
229
|
+
};
|
|
230
|
+
protoOf(RandomOrgConfig).i2t = function () {
|
|
231
|
+
return this.httpConfig;
|
|
232
|
+
};
|
|
233
|
+
protoOf(RandomOrgConfig).fe = function () {
|
|
234
|
+
return this.apiKey;
|
|
235
|
+
};
|
|
236
|
+
protoOf(RandomOrgConfig).ge = function () {
|
|
237
|
+
return this.poolSize;
|
|
238
|
+
};
|
|
239
|
+
protoOf(RandomOrgConfig).yi = function () {
|
|
240
|
+
return this.thresholdForUsedPool;
|
|
241
|
+
};
|
|
242
|
+
protoOf(RandomOrgConfig).j2t = function () {
|
|
243
|
+
return this.httpConfig;
|
|
244
|
+
};
|
|
245
|
+
protoOf(RandomOrgConfig).k2t = function (apiKey, poolSize, thresholdForUsedPool, httpConfig) {
|
|
246
|
+
return new RandomOrgConfig(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
247
|
+
};
|
|
248
|
+
protoOf(RandomOrgConfig).copy = function (apiKey, poolSize, thresholdForUsedPool, httpConfig, $super) {
|
|
249
|
+
apiKey = apiKey === VOID ? this.apiKey : apiKey;
|
|
250
|
+
poolSize = poolSize === VOID ? this.poolSize : poolSize;
|
|
251
|
+
thresholdForUsedPool = thresholdForUsedPool === VOID ? this.thresholdForUsedPool : thresholdForUsedPool;
|
|
252
|
+
httpConfig = httpConfig === VOID ? this.httpConfig : httpConfig;
|
|
253
|
+
return this.k2t(apiKey, poolSize, thresholdForUsedPool, httpConfig);
|
|
254
|
+
};
|
|
255
|
+
protoOf(RandomOrgConfig).toString = function () {
|
|
256
|
+
return 'RandomOrgConfig(apiKey=' + this.apiKey + ', poolSize=' + this.poolSize + ', thresholdForUsedPool=' + this.thresholdForUsedPool + ', httpConfig=' + this.httpConfig.toString() + ')';
|
|
257
|
+
};
|
|
258
|
+
protoOf(RandomOrgConfig).hashCode = function () {
|
|
259
|
+
var result = getStringHashCode(this.apiKey);
|
|
260
|
+
result = imul(result, 31) + this.poolSize | 0;
|
|
261
|
+
result = imul(result, 31) + this.thresholdForUsedPool | 0;
|
|
262
|
+
result = imul(result, 31) + this.httpConfig.hashCode() | 0;
|
|
263
|
+
return result;
|
|
264
|
+
};
|
|
265
|
+
protoOf(RandomOrgConfig).equals = function (other) {
|
|
266
|
+
if (this === other)
|
|
267
|
+
return true;
|
|
268
|
+
if (!(other instanceof RandomOrgConfig))
|
|
269
|
+
return false;
|
|
270
|
+
var tmp0_other_with_cast = other instanceof RandomOrgConfig ? other : THROW_CCE();
|
|
271
|
+
if (!(this.apiKey === tmp0_other_with_cast.apiKey))
|
|
272
|
+
return false;
|
|
273
|
+
if (!(this.poolSize === tmp0_other_with_cast.poolSize))
|
|
274
|
+
return false;
|
|
275
|
+
if (!(this.thresholdForUsedPool === tmp0_other_with_cast.thresholdForUsedPool))
|
|
276
|
+
return false;
|
|
277
|
+
if (!this.httpConfig.equals(tmp0_other_with_cast.httpConfig))
|
|
278
|
+
return false;
|
|
279
|
+
return true;
|
|
280
|
+
};
|
|
281
|
+
function RandomPoolProvider() {
|
|
282
|
+
}
|
|
283
|
+
function HttpConfig$_init_$lambda_vwazmp($this$Json) {
|
|
284
|
+
$this$Json.o22_1 = true;
|
|
285
|
+
$this$Json.m22_1 = true;
|
|
286
|
+
$this$Json.l22_1 = true;
|
|
287
|
+
$this$Json.k22_1 = false;
|
|
288
|
+
return Unit_instance;
|
|
289
|
+
}
|
|
290
|
+
function HttpConfig(baseUrl, timeoutMillis, loggingLevel, json) {
|
|
291
|
+
timeoutMillis = timeoutMillis === VOID ? new Long(30000, 0) : timeoutMillis;
|
|
292
|
+
loggingLevel = loggingLevel === VOID ? LogLevel_ALL_getInstance() : loggingLevel;
|
|
293
|
+
var tmp;
|
|
294
|
+
if (json === VOID) {
|
|
295
|
+
tmp = Json(VOID, HttpConfig$_init_$lambda_vwazmp);
|
|
296
|
+
} else {
|
|
297
|
+
tmp = json;
|
|
298
|
+
}
|
|
299
|
+
json = tmp;
|
|
300
|
+
this.baseUrl = baseUrl;
|
|
301
|
+
this.timeoutMillis = timeoutMillis;
|
|
302
|
+
this.loggingLevel = loggingLevel;
|
|
303
|
+
this.json = json;
|
|
304
|
+
}
|
|
305
|
+
protoOf(HttpConfig).m2t = function () {
|
|
306
|
+
return this.baseUrl;
|
|
307
|
+
};
|
|
308
|
+
protoOf(HttpConfig).n2t = function () {
|
|
309
|
+
return this.timeoutMillis;
|
|
310
|
+
};
|
|
311
|
+
protoOf(HttpConfig).o2t = function () {
|
|
312
|
+
return this.loggingLevel;
|
|
313
|
+
};
|
|
314
|
+
protoOf(HttpConfig).p23 = function () {
|
|
315
|
+
return this.json;
|
|
316
|
+
};
|
|
317
|
+
protoOf(HttpConfig).fe = function () {
|
|
318
|
+
return this.baseUrl;
|
|
319
|
+
};
|
|
320
|
+
protoOf(HttpConfig).ge = function () {
|
|
321
|
+
return this.timeoutMillis;
|
|
322
|
+
};
|
|
323
|
+
protoOf(HttpConfig).yi = function () {
|
|
324
|
+
return this.loggingLevel;
|
|
325
|
+
};
|
|
326
|
+
protoOf(HttpConfig).j2t = function () {
|
|
327
|
+
return this.json;
|
|
328
|
+
};
|
|
329
|
+
protoOf(HttpConfig).p2t = function (baseUrl, timeoutMillis, loggingLevel, json) {
|
|
330
|
+
return new HttpConfig(baseUrl, timeoutMillis, loggingLevel, json);
|
|
331
|
+
};
|
|
332
|
+
protoOf(HttpConfig).copy = function (baseUrl, timeoutMillis, loggingLevel, json, $super) {
|
|
333
|
+
baseUrl = baseUrl === VOID ? this.baseUrl : baseUrl;
|
|
334
|
+
timeoutMillis = timeoutMillis === VOID ? this.timeoutMillis : timeoutMillis;
|
|
335
|
+
loggingLevel = loggingLevel === VOID ? this.loggingLevel : loggingLevel;
|
|
336
|
+
json = json === VOID ? this.json : json;
|
|
337
|
+
return this.p2t(baseUrl, timeoutMillis, loggingLevel, json);
|
|
338
|
+
};
|
|
339
|
+
protoOf(HttpConfig).toString = function () {
|
|
340
|
+
return 'HttpConfig(baseUrl=' + this.baseUrl + ', timeoutMillis=' + this.timeoutMillis.toString() + ', loggingLevel=' + this.loggingLevel.toString() + ', json=' + toString(this.json) + ')';
|
|
341
|
+
};
|
|
342
|
+
protoOf(HttpConfig).hashCode = function () {
|
|
343
|
+
var result = getStringHashCode(this.baseUrl);
|
|
344
|
+
result = imul(result, 31) + this.timeoutMillis.hashCode() | 0;
|
|
345
|
+
result = imul(result, 31) + this.loggingLevel.hashCode() | 0;
|
|
346
|
+
result = imul(result, 31) + hashCode(this.json) | 0;
|
|
347
|
+
return result;
|
|
348
|
+
};
|
|
349
|
+
protoOf(HttpConfig).equals = function (other) {
|
|
350
|
+
if (this === other)
|
|
351
|
+
return true;
|
|
352
|
+
if (!(other instanceof HttpConfig))
|
|
353
|
+
return false;
|
|
354
|
+
var tmp0_other_with_cast = other instanceof HttpConfig ? other : THROW_CCE();
|
|
355
|
+
if (!(this.baseUrl === tmp0_other_with_cast.baseUrl))
|
|
356
|
+
return false;
|
|
357
|
+
if (!this.timeoutMillis.equals(tmp0_other_with_cast.timeoutMillis))
|
|
358
|
+
return false;
|
|
359
|
+
if (!this.loggingLevel.equals(tmp0_other_with_cast.loggingLevel))
|
|
360
|
+
return false;
|
|
361
|
+
if (!equals(this.json, tmp0_other_with_cast.json))
|
|
362
|
+
return false;
|
|
363
|
+
return true;
|
|
364
|
+
};
|
|
365
|
+
//region block: init
|
|
366
|
+
Companion_instance = new Companion();
|
|
367
|
+
//endregion
|
|
368
|
+
//region block: exports
|
|
369
|
+
function $jsExportAll$(_) {
|
|
370
|
+
var $games = _.games || (_.games = {});
|
|
371
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
372
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
373
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
374
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
375
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
376
|
+
$games$raspberry$card_game$random$data$models.GameCardDecksRecord = GameCardDecksRecord;
|
|
377
|
+
defineProp($games$raspberry$card_game$random$data$models.GameCardDecksRecord, 'Companion', Companion_getInstance);
|
|
378
|
+
$games$raspberry$card_game$random$data$models.GameCardDeckData = GameCardDeckData;
|
|
379
|
+
var $games = _.games || (_.games = {});
|
|
380
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
381
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
382
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
383
|
+
var $games$raspberry$card_game$random$data = $games$raspberry$card_game$random.data || ($games$raspberry$card_game$random.data = {});
|
|
384
|
+
var $games$raspberry$card_game$random$data$models = $games$raspberry$card_game$random$data.models || ($games$raspberry$card_game$random$data.models = {});
|
|
385
|
+
$games$raspberry$card_game$random$data$models.RandomOrgConfig = RandomOrgConfig;
|
|
386
|
+
var $games = _.games || (_.games = {});
|
|
387
|
+
var $games$raspberry = $games.raspberry || ($games.raspberry = {});
|
|
388
|
+
var $games$raspberry$card_game = $games$raspberry.card_game || ($games$raspberry.card_game = {});
|
|
389
|
+
var $games$raspberry$card_game$random = $games$raspberry$card_game.random || ($games$raspberry$card_game.random = {});
|
|
390
|
+
var $games$raspberry$card_game$random$di = $games$raspberry$card_game$random.di || ($games$raspberry$card_game$random.di = {});
|
|
391
|
+
$games$raspberry$card_game$random$di.HttpConfig = HttpConfig;
|
|
392
|
+
}
|
|
393
|
+
$jsExportAll$(_);
|
|
394
|
+
_.$jsExportAll$ = $jsExportAll$;
|
|
395
|
+
_.$_$ = _.$_$ || {};
|
|
396
|
+
_.$_$.a = CardDeckRequestUserData;
|
|
397
|
+
_.$_$.b = UserInfoData;
|
|
398
|
+
_.$_$.c = RandomPoolProvider;
|
|
399
|
+
//endregion
|
|
400
|
+
return _;
|
|
401
|
+
}));
|
|
402
|
+
|
|
403
|
+
//# sourceMappingURL=raspberry-cardgame-lib-random.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/CardDeckRequestUserData.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/GameCardDecksRecord.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/data/models/RandomOrgConfig.kt","../../../../../../../../raspberry-cardgame-core/random/src/commonMain/kotlin/games/raspberry/card_game/random/di/HttpConfig.kt"],"sourcesContent":[null,null,null,null],"names":["<init>","players","gameId","result","id","name","firstRound","signature","newCardDeckData","userData","newRound","gameCardDecksRecord","rounds","<get-signature>","<get-userData>","<get-rounds>","cardDeckIndex","cards","<get-cardDeckIndex>","<get-cards>","apiKey","poolSize","thresholdForUsedPool","httpConfig","<get-apiKey>","<get-poolSize>","<get-thresholdForUsedPool>","<get-httpConfig>","HttpConfig$<init>$lambda","$this$Json","baseUrl","timeoutMillis","loggingLevel","json","<get-baseUrl>","<get-timeoutMillis>","<get-loggingLevel>","<get-json>"],"mappings":"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"}
|
package/uuid.js
CHANGED
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
}(globalThis, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var until = kotlin_kotlin.$_$.
|
|
16
|
-
var listOf = kotlin_kotlin.$_$.
|
|
17
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
18
|
-
var Char__rangeTo_impl_tkncvp = kotlin_kotlin.$_$.
|
|
19
|
-
var plus = kotlin_kotlin.$_$.
|
|
20
|
-
var Default_getInstance = kotlin_kotlin.$_$.
|
|
21
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
23
|
-
var toString = kotlin_kotlin.$_$.
|
|
24
|
-
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.
|
|
25
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
26
|
-
var charArray = kotlin_kotlin.$_$.
|
|
27
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
28
|
-
var contentEquals = kotlin_kotlin.$_$.
|
|
29
|
-
var contentHashCode = kotlin_kotlin.$_$.
|
|
30
|
-
var compareTo = kotlin_kotlin.$_$.
|
|
31
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
32
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
33
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
15
|
+
var until = kotlin_kotlin.$_$.ec;
|
|
16
|
+
var listOf = kotlin_kotlin.$_$.y7;
|
|
17
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.o2;
|
|
18
|
+
var Char__rangeTo_impl_tkncvp = kotlin_kotlin.$_$.q2;
|
|
19
|
+
var plus = kotlin_kotlin.$_$.g8;
|
|
20
|
+
var Default_getInstance = kotlin_kotlin.$_$.q4;
|
|
21
|
+
var protoOf = kotlin_kotlin.$_$.qb;
|
|
22
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
|
|
23
|
+
var toString = kotlin_kotlin.$_$.ub;
|
|
24
|
+
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o1;
|
|
25
|
+
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
26
|
+
var charArray = kotlin_kotlin.$_$.ga;
|
|
27
|
+
var concatToString = kotlin_kotlin.$_$.rc;
|
|
28
|
+
var contentEquals = kotlin_kotlin.$_$.f6;
|
|
29
|
+
var contentHashCode = kotlin_kotlin.$_$.g6;
|
|
30
|
+
var compareTo = kotlin_kotlin.$_$.ka;
|
|
31
|
+
var THROW_CCE = kotlin_kotlin.$_$.we;
|
|
32
|
+
var Comparable = kotlin_kotlin.$_$.he;
|
|
33
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ta;
|
|
34
34
|
var VOID = kotlin_kotlin.$_$.f;
|
|
35
|
-
var toByte = kotlin_kotlin.$_$.
|
|
35
|
+
var toByte = kotlin_kotlin.$_$.rb;
|
|
36
36
|
//endregion
|
|
37
37
|
//region block: pre-declaration
|
|
38
38
|
initMetadataForCompanion(Companion);
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
return _this__u8e3s4;
|
|
59
59
|
}
|
|
60
60
|
function getRandomUuidBytes() {
|
|
61
|
-
return Default_getInstance().
|
|
61
|
+
return Default_getInstance().hg(16);
|
|
62
62
|
}
|
|
63
63
|
function Companion() {
|
|
64
64
|
Companion_instance = this;
|
|
65
|
-
this.
|
|
65
|
+
this.w32_1 = listOf([until(0, 4), until(4, 6), until(6, 8), until(8, 10), until(10, 16)]);
|
|
66
66
|
}
|
|
67
67
|
var Companion_instance;
|
|
68
68
|
function Companion_getInstance() {
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
}
|
|
73
73
|
function Uuid(uuidBytes) {
|
|
74
74
|
Companion_getInstance();
|
|
75
|
-
this.
|
|
75
|
+
this.x32_1 = uuidBytes;
|
|
76
76
|
// Inline function 'kotlin.require' call
|
|
77
77
|
// Inline function 'kotlin.collections.count' call
|
|
78
78
|
// Inline function 'kotlin.contracts.contract' call
|
|
79
|
-
if (!(this.
|
|
79
|
+
if (!(this.x32_1.length === 16)) {
|
|
80
80
|
// Inline function 'com.benasher44.uuid.Uuid.<anonymous>' call
|
|
81
81
|
// Inline function 'kotlin.collections.count' call
|
|
82
|
-
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.
|
|
82
|
+
var message = 'Invalid UUID bytes. Expected 16 bytes; found ' + this.x32_1.length;
|
|
83
83
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
84
84
|
}
|
|
85
85
|
freeze(this);
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
protoOf(Uuid).toString = function () {
|
|
88
88
|
var characters = charArray(36);
|
|
89
89
|
var charIndex = 0;
|
|
90
|
-
var tmp0_iterator = Companion_getInstance().
|
|
90
|
+
var tmp0_iterator = Companion_getInstance().w32_1.j();
|
|
91
91
|
while (tmp0_iterator.k()) {
|
|
92
92
|
var range = tmp0_iterator.l();
|
|
93
93
|
var inductionVariable = range.y_1;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
do {
|
|
97
97
|
var i = inductionVariable;
|
|
98
98
|
inductionVariable = inductionVariable + 1 | 0;
|
|
99
|
-
var octetPair = this.
|
|
99
|
+
var octetPair = this.x32_1[i];
|
|
100
100
|
var left = octetPair >> 4 & 15;
|
|
101
101
|
var right = octetPair & 15;
|
|
102
102
|
var tmp2 = charIndex;
|
|
@@ -118,22 +118,22 @@
|
|
|
118
118
|
protoOf(Uuid).equals = function (other) {
|
|
119
119
|
var tmp;
|
|
120
120
|
if (other instanceof Uuid) {
|
|
121
|
-
tmp = contentEquals(this.
|
|
121
|
+
tmp = contentEquals(this.x32_1, other.x32_1);
|
|
122
122
|
} else {
|
|
123
123
|
tmp = false;
|
|
124
124
|
}
|
|
125
125
|
return tmp;
|
|
126
126
|
};
|
|
127
127
|
protoOf(Uuid).hashCode = function () {
|
|
128
|
-
return contentHashCode(this.
|
|
128
|
+
return contentHashCode(this.x32_1);
|
|
129
129
|
};
|
|
130
|
-
protoOf(Uuid).
|
|
130
|
+
protoOf(Uuid).y32 = function (other) {
|
|
131
131
|
var inductionVariable = 0;
|
|
132
132
|
if (inductionVariable < 16)
|
|
133
133
|
do {
|
|
134
134
|
var i = inductionVariable;
|
|
135
135
|
inductionVariable = inductionVariable + 1 | 0;
|
|
136
|
-
var compareResult = compareTo(this.
|
|
136
|
+
var compareResult = compareTo(this.x32_1[i], other.x32_1[i]);
|
|
137
137
|
if (!(compareResult === 0))
|
|
138
138
|
return compareResult;
|
|
139
139
|
}
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
return 0;
|
|
142
142
|
};
|
|
143
143
|
protoOf(Uuid).d = function (other) {
|
|
144
|
-
return this.
|
|
144
|
+
return this.y32(other instanceof Uuid ? other : THROW_CCE());
|
|
145
145
|
};
|
|
146
146
|
function uuid4() {
|
|
147
147
|
// Inline function 'com.benasher44.uuid.setVersion' call
|