game_client_logic_deb 1.6.38 → 1.6.55
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/88b0986a7186d029-atomicfu-js-ir.js +26 -26
- package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -1
- package/{KosiTypeSystem-kaverit.js → Kosi-Kaverit-kaverit.js} +115 -115
- package/Kosi-Kaverit-kaverit.js.map +1 -0
- package/{Kodein-kodein-di.js → Kosi-Kodein-kodein-di.js} +696 -605
- package/Kosi-Kodein-kodein-di.js.map +1 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js +798 -0
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
- package/Logic_Debertz-core.js +2576 -1968
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +12431 -11582
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +97 -44
- package/Logic_Debertz-game_client.js +4994 -4821
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2473 -2080
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +15 -0
- package/kotlinx-io-kotlinx-io-bytestring.js.map +1 -0
- package/kotlinx-io-kotlinx-io-core.js +1191 -0
- package/kotlinx-io-kotlinx-io-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-core-js-ir.js → kotlinx-serialization-kotlinx-serialization-core.js} +1977 -1969
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
- package/{kotlinx-serialization-kotlinx-serialization-json-js-ir.js → kotlinx-serialization-kotlinx-serialization-json.js} +1693 -1493
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2591 -2584
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
- package/{uuid-js-ir.js → uuid.js} +40 -40
- package/uuid.js.map +1 -0
- package/Kodein-kodein-di.js.map +0 -1
- package/KosiTypeSystem-kaverit.js.map +0 -1
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +0 -386
- package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +0 -1
- package/uuid-js-ir.js.map +0 -1
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
(function (root, factory) {
|
|
2
|
-
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', '@js-joda/core', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core-js-ir.js'], factory);
|
|
4
|
-
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('@js-joda/core'), require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core-js-ir.js'));
|
|
6
|
-
else {
|
|
7
|
-
if (typeof this['@js-joda/core'] === 'undefined') {
|
|
8
|
-
throw new Error("Error loading module 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'. Its dependency '@js-joda/core' was not found. Please, check whether '@js-joda/core' is loaded prior to 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'.");
|
|
9
|
-
}
|
|
10
|
-
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
11
|
-
throw new Error("Error loading module 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'.");
|
|
12
|
-
}
|
|
13
|
-
if (typeof this['kotlinx-serialization-kotlinx-serialization-core-js-ir'] === 'undefined') {
|
|
14
|
-
throw new Error("Error loading module 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core-js-ir' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core-js-ir' is loaded prior to 'Kotlin-DateTime-library-kotlinx-datetime-js-ir'.");
|
|
15
|
-
}
|
|
16
|
-
root['Kotlin-DateTime-library-kotlinx-datetime-js-ir'] = factory(typeof this['Kotlin-DateTime-library-kotlinx-datetime-js-ir'] === 'undefined' ? {} : this['Kotlin-DateTime-library-kotlinx-datetime-js-ir'], this['@js-joda/core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core-js-ir']);
|
|
17
|
-
}
|
|
18
|
-
}(this, function (_, $module$_js_joda_core_gcv2k, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
|
|
19
|
-
'use strict';
|
|
20
|
-
//region block: imports
|
|
21
|
-
var Instant = $module$_js_joda_core_gcv2k.Instant;
|
|
22
|
-
var Clock = $module$_js_joda_core_gcv2k.Clock;
|
|
23
|
-
var OffsetDateTime = $module$_js_joda_core_gcv2k.OffsetDateTime;
|
|
24
|
-
var Duration = $module$_js_joda_core_gcv2k.Duration;
|
|
25
|
-
var protoOf = kotlin_kotlin.$_$.ka;
|
|
26
|
-
var objectMeta = kotlin_kotlin.$_$.ja;
|
|
27
|
-
var setMetadataFor = kotlin_kotlin.$_$.la;
|
|
28
|
-
var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.j1;
|
|
29
|
-
var objectCreate = kotlin_kotlin.$_$.ia;
|
|
30
|
-
var captureStack = kotlin_kotlin.$_$.c9;
|
|
31
|
-
var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.i1;
|
|
32
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.rc;
|
|
33
|
-
var classMeta = kotlin_kotlin.$_$.h9;
|
|
34
|
-
var VOID = kotlin_kotlin.$_$.f;
|
|
35
|
-
var Long = kotlin_kotlin.$_$.tc;
|
|
36
|
-
var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h;
|
|
37
|
-
var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d1;
|
|
38
|
-
var THROW_CCE = kotlin_kotlin.$_$.zc;
|
|
39
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
40
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g2;
|
|
41
|
-
var indexOf = kotlin_kotlin.$_$.kb;
|
|
42
|
-
var charSequenceLength = kotlin_kotlin.$_$.f9;
|
|
43
|
-
var charSequenceGet = kotlin_kotlin.$_$.e9;
|
|
44
|
-
var toLong = kotlin_kotlin.$_$.na;
|
|
45
|
-
var Unit_instance = kotlin_kotlin.$_$.t4;
|
|
46
|
-
var ArithmeticException = kotlin_kotlin.$_$.ic;
|
|
47
|
-
var numberToLong = kotlin_kotlin.$_$.ha;
|
|
48
|
-
var numberToInt = kotlin_kotlin.$_$.ga;
|
|
49
|
-
var _Duration___get_inWholeSeconds__impl__hpy7b3 = kotlin_kotlin.$_$.c2;
|
|
50
|
-
var _Duration___get_nanosecondsComponent__impl__nh19kq = kotlin_kotlin.$_$.d2;
|
|
51
|
-
var numberToDouble = kotlin_kotlin.$_$.fa;
|
|
52
|
-
var Companion_getInstance = kotlin_kotlin.$_$.l4;
|
|
53
|
-
var DurationUnit_SECONDS_getInstance = kotlin_kotlin.$_$.i;
|
|
54
|
-
var toDuration = kotlin_kotlin.$_$.gc;
|
|
55
|
-
var DurationUnit_NANOSECONDS_getInstance = kotlin_kotlin.$_$.h;
|
|
56
|
-
var Duration__plus_impl_yu9v8f = kotlin_kotlin.$_$.e2;
|
|
57
|
-
var equals = kotlin_kotlin.$_$.k9;
|
|
58
|
-
var Comparable = kotlin_kotlin.$_$.kc;
|
|
59
|
-
var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
60
|
-
//endregion
|
|
61
|
-
//region block: pre-declaration
|
|
62
|
-
setMetadataFor(System, 'System', objectMeta);
|
|
63
|
-
setMetadataFor(DateTimeFormatException, 'DateTimeFormatException', classMeta, IllegalArgumentException, VOID, DateTimeFormatException_init_$Create$);
|
|
64
|
-
setMetadataFor(InstantIso8601Serializer, 'InstantIso8601Serializer', objectMeta, VOID, [KSerializer]);
|
|
65
|
-
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
66
|
-
setMetadataFor(Instant_0, 'Instant', classMeta, VOID, [Comparable], VOID, VOID, {0: InstantIso8601Serializer_getInstance});
|
|
67
|
-
//endregion
|
|
68
|
-
function System() {
|
|
69
|
-
}
|
|
70
|
-
protoOf(System).e2f = function () {
|
|
71
|
-
return Companion_getInstance_0().e2f();
|
|
72
|
-
};
|
|
73
|
-
var System_instance;
|
|
74
|
-
function System_getInstance() {
|
|
75
|
-
return System_instance;
|
|
76
|
-
}
|
|
77
|
-
function DateTimeFormatException_init_$Init$($this) {
|
|
78
|
-
IllegalArgumentException_init_$Init$($this);
|
|
79
|
-
DateTimeFormatException.call($this);
|
|
80
|
-
return $this;
|
|
81
|
-
}
|
|
82
|
-
function DateTimeFormatException_init_$Create$() {
|
|
83
|
-
var tmp = DateTimeFormatException_init_$Init$(objectCreate(protoOf(DateTimeFormatException)));
|
|
84
|
-
captureStack(tmp, DateTimeFormatException_init_$Create$);
|
|
85
|
-
return tmp;
|
|
86
|
-
}
|
|
87
|
-
function DateTimeFormatException_init_$Init$_0(cause, $this) {
|
|
88
|
-
IllegalArgumentException_init_$Init$_0(cause, $this);
|
|
89
|
-
DateTimeFormatException.call($this);
|
|
90
|
-
return $this;
|
|
91
|
-
}
|
|
92
|
-
function DateTimeFormatException_init_$Create$_0(cause) {
|
|
93
|
-
var tmp = DateTimeFormatException_init_$Init$_0(cause, objectCreate(protoOf(DateTimeFormatException)));
|
|
94
|
-
captureStack(tmp, DateTimeFormatException_init_$Create$_0);
|
|
95
|
-
return tmp;
|
|
96
|
-
}
|
|
97
|
-
function DateTimeFormatException() {
|
|
98
|
-
captureStack(this, DateTimeFormatException);
|
|
99
|
-
}
|
|
100
|
-
function toInstant(_this__u8e3s4) {
|
|
101
|
-
return Companion_getInstance_0().j2f(_this__u8e3s4);
|
|
102
|
-
}
|
|
103
|
-
function get_DISTANT_PAST_SECONDS() {
|
|
104
|
-
return DISTANT_PAST_SECONDS;
|
|
105
|
-
}
|
|
106
|
-
var DISTANT_PAST_SECONDS;
|
|
107
|
-
function get_DISTANT_FUTURE_SECONDS() {
|
|
108
|
-
return DISTANT_FUTURE_SECONDS;
|
|
109
|
-
}
|
|
110
|
-
var DISTANT_FUTURE_SECONDS;
|
|
111
|
-
function get_NANOS_PER_MILLI() {
|
|
112
|
-
return NANOS_PER_MILLI;
|
|
113
|
-
}
|
|
114
|
-
var NANOS_PER_MILLI;
|
|
115
|
-
function get_MILLIS_PER_ONE() {
|
|
116
|
-
return MILLIS_PER_ONE;
|
|
117
|
-
}
|
|
118
|
-
var MILLIS_PER_ONE;
|
|
119
|
-
function get_NANOS_PER_ONE() {
|
|
120
|
-
return NANOS_PER_ONE;
|
|
121
|
-
}
|
|
122
|
-
var NANOS_PER_ONE;
|
|
123
|
-
function InstantIso8601Serializer() {
|
|
124
|
-
InstantIso8601Serializer_instance = this;
|
|
125
|
-
this.k2f_1 = PrimitiveSerialDescriptor('Instant', STRING_getInstance());
|
|
126
|
-
}
|
|
127
|
-
protoOf(InstantIso8601Serializer).p1c = function () {
|
|
128
|
-
return this.k2f_1;
|
|
129
|
-
};
|
|
130
|
-
protoOf(InstantIso8601Serializer).r1c = function (decoder) {
|
|
131
|
-
return Companion_getInstance_0().j2f(decoder.s1f());
|
|
132
|
-
};
|
|
133
|
-
protoOf(InstantIso8601Serializer).l2f = function (encoder, value) {
|
|
134
|
-
encoder.b1h(value.toString());
|
|
135
|
-
};
|
|
136
|
-
protoOf(InstantIso8601Serializer).q1c = function (encoder, value) {
|
|
137
|
-
return this.l2f(encoder, value instanceof Instant_0 ? value : THROW_CCE());
|
|
138
|
-
};
|
|
139
|
-
var InstantIso8601Serializer_instance;
|
|
140
|
-
function InstantIso8601Serializer_getInstance() {
|
|
141
|
-
if (InstantIso8601Serializer_instance == null)
|
|
142
|
-
new InstantIso8601Serializer();
|
|
143
|
-
return InstantIso8601Serializer_instance;
|
|
144
|
-
}
|
|
145
|
-
function fixOffsetRepresentation($this, isoString) {
|
|
146
|
-
var time = indexOf(isoString, _Char___init__impl__6a9atx(84), VOID, true);
|
|
147
|
-
if (time === -1)
|
|
148
|
-
return isoString;
|
|
149
|
-
var tmp$ret$1;
|
|
150
|
-
$l$block: {
|
|
151
|
-
// Inline function 'kotlin.text.indexOfLast' call
|
|
152
|
-
var inductionVariable = charSequenceLength(isoString) - 1 | 0;
|
|
153
|
-
if (0 <= inductionVariable)
|
|
154
|
-
do {
|
|
155
|
-
var index = inductionVariable;
|
|
156
|
-
inductionVariable = inductionVariable + -1 | 0;
|
|
157
|
-
// Inline function 'kotlinx.datetime.Companion.fixOffsetRepresentation.<anonymous>' call
|
|
158
|
-
var c = charSequenceGet(isoString, index);
|
|
159
|
-
if (c === _Char___init__impl__6a9atx(43) ? true : c === _Char___init__impl__6a9atx(45)) {
|
|
160
|
-
tmp$ret$1 = index;
|
|
161
|
-
break $l$block;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
while (0 <= inductionVariable);
|
|
165
|
-
tmp$ret$1 = -1;
|
|
166
|
-
}
|
|
167
|
-
var offset = tmp$ret$1;
|
|
168
|
-
if (offset < time)
|
|
169
|
-
return isoString;
|
|
170
|
-
var separator = indexOf(isoString, _Char___init__impl__6a9atx(58), offset);
|
|
171
|
-
return !(separator === -1) ? isoString : isoString + ':00';
|
|
172
|
-
}
|
|
173
|
-
function Companion() {
|
|
174
|
-
Companion_instance = this;
|
|
175
|
-
this.f2f_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_PAST_SECONDS(), 999999999));
|
|
176
|
-
this.g2f_1 = new Instant_0(Instant.ofEpochSecond(get_DISTANT_FUTURE_SECONDS(), 0));
|
|
177
|
-
this.h2f_1 = new Instant_0(Instant.MIN);
|
|
178
|
-
this.i2f_1 = new Instant_0(Instant.MAX);
|
|
179
|
-
}
|
|
180
|
-
protoOf(Companion).e2f = function () {
|
|
181
|
-
return new Instant_0(Clock.systemUTC().instant());
|
|
182
|
-
};
|
|
183
|
-
protoOf(Companion).m2f = function (epochMilliseconds) {
|
|
184
|
-
var tmp;
|
|
185
|
-
try {
|
|
186
|
-
// Inline function 'kotlin.Long.div' call
|
|
187
|
-
var other = get_MILLIS_PER_ONE();
|
|
188
|
-
var tmp_0 = epochMilliseconds.d8(toLong(other));
|
|
189
|
-
// Inline function 'kotlin.Long.times' call
|
|
190
|
-
// Inline function 'kotlin.Long.rem' call
|
|
191
|
-
var other_0 = get_MILLIS_PER_ONE();
|
|
192
|
-
var this_0 = epochMilliseconds.j9(toLong(other_0));
|
|
193
|
-
var other_1 = get_NANOS_PER_MILLI();
|
|
194
|
-
var tmp$ret$2 = this_0.e8(toLong(other_1));
|
|
195
|
-
tmp = this.n2f(tmp_0, tmp$ret$2);
|
|
196
|
-
} catch ($p) {
|
|
197
|
-
var tmp_1;
|
|
198
|
-
if ($p instanceof Error) {
|
|
199
|
-
var e = $p;
|
|
200
|
-
if (!isJodaDateTimeException(e))
|
|
201
|
-
throw e;
|
|
202
|
-
tmp_1 = epochMilliseconds.f8(new Long(0, 0)) > 0 ? this.i2f_1 : this.h2f_1;
|
|
203
|
-
} else {
|
|
204
|
-
throw $p;
|
|
205
|
-
}
|
|
206
|
-
tmp = tmp_1;
|
|
207
|
-
}
|
|
208
|
-
return tmp;
|
|
209
|
-
};
|
|
210
|
-
protoOf(Companion).j2f = function (isoString) {
|
|
211
|
-
var tmp;
|
|
212
|
-
try {
|
|
213
|
-
tmp = new Instant_0(OffsetDateTime.parse(fixOffsetRepresentation(this, isoString)).toInstant());
|
|
214
|
-
} catch ($p) {
|
|
215
|
-
var tmp_0;
|
|
216
|
-
if ($p instanceof Error) {
|
|
217
|
-
var e = $p;
|
|
218
|
-
if (isJodaDateTimeParseException(e))
|
|
219
|
-
throw DateTimeFormatException_init_$Create$_0(e);
|
|
220
|
-
throw e;
|
|
221
|
-
} else {
|
|
222
|
-
throw $p;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
return tmp;
|
|
226
|
-
};
|
|
227
|
-
protoOf(Companion).n2f = function (epochSeconds, nanosecondAdjustment) {
|
|
228
|
-
var tmp;
|
|
229
|
-
try {
|
|
230
|
-
// Inline function 'kotlin.floorDiv' call
|
|
231
|
-
var other = toLong(get_NANOS_PER_ONE());
|
|
232
|
-
var q = nanosecondAdjustment.d8(other);
|
|
233
|
-
if (nanosecondAdjustment.t9(other).f8(new Long(0, 0)) < 0 ? !q.e8(other).equals(nanosecondAdjustment) : false) {
|
|
234
|
-
q = q.l9();
|
|
235
|
-
}
|
|
236
|
-
var tmp$ret$0 = q;
|
|
237
|
-
var secs = safeAdd(epochSeconds, tmp$ret$0);
|
|
238
|
-
// Inline function 'kotlin.mod' call
|
|
239
|
-
var other_0 = toLong(get_NANOS_PER_ONE());
|
|
240
|
-
var r = nanosecondAdjustment.j9(other_0);
|
|
241
|
-
var nos = r.h9(other_0.r9(r.t9(other_0).r9(r.s9(r.m9())).p9(63))).w9();
|
|
242
|
-
tmp = new Instant_0(Instant.ofEpochSecond(secs, nos));
|
|
243
|
-
} catch ($p) {
|
|
244
|
-
var tmp_0;
|
|
245
|
-
if ($p instanceof Error) {
|
|
246
|
-
var e = $p;
|
|
247
|
-
var tmp_1;
|
|
248
|
-
if (!isJodaDateTimeException(e)) {
|
|
249
|
-
tmp_1 = !(e instanceof ArithmeticException);
|
|
250
|
-
} else {
|
|
251
|
-
tmp_1 = false;
|
|
252
|
-
}
|
|
253
|
-
if (tmp_1)
|
|
254
|
-
throw e;
|
|
255
|
-
tmp_0 = epochSeconds.f8(new Long(0, 0)) > 0 ? this.i2f_1 : this.h2f_1;
|
|
256
|
-
} else {
|
|
257
|
-
throw $p;
|
|
258
|
-
}
|
|
259
|
-
tmp = tmp_0;
|
|
260
|
-
}
|
|
261
|
-
return tmp;
|
|
262
|
-
};
|
|
263
|
-
var Companion_instance;
|
|
264
|
-
function Companion_getInstance_0() {
|
|
265
|
-
if (Companion_instance == null)
|
|
266
|
-
new Companion();
|
|
267
|
-
return Companion_instance;
|
|
268
|
-
}
|
|
269
|
-
function Instant_0(value) {
|
|
270
|
-
Companion_getInstance_0();
|
|
271
|
-
this.o2f_1 = value;
|
|
272
|
-
}
|
|
273
|
-
protoOf(Instant_0).p2f = function () {
|
|
274
|
-
return numberToLong(this.o2f_1.epochSecond());
|
|
275
|
-
};
|
|
276
|
-
protoOf(Instant_0).q2f = function () {
|
|
277
|
-
return numberToInt(this.o2f_1.nano());
|
|
278
|
-
};
|
|
279
|
-
protoOf(Instant_0).r2f = function () {
|
|
280
|
-
// Inline function 'kotlin.Long.plus' call
|
|
281
|
-
// Inline function 'kotlin.Long.times' call
|
|
282
|
-
var this_0 = this.p2f();
|
|
283
|
-
var other = get_MILLIS_PER_ONE();
|
|
284
|
-
var this_1 = this_0.e8(toLong(other));
|
|
285
|
-
var other_0 = this.q2f() / get_NANOS_PER_MILLI() | 0;
|
|
286
|
-
return this_1.h9(toLong(other_0));
|
|
287
|
-
};
|
|
288
|
-
protoOf(Instant_0).s2f = function (duration) {
|
|
289
|
-
// Inline function 'kotlin.time.Duration.toComponents' call
|
|
290
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
291
|
-
var seconds = _Duration___get_inWholeSeconds__impl__hpy7b3(duration);
|
|
292
|
-
var nanoseconds = _Duration___get_nanosecondsComponent__impl__nh19kq(duration);
|
|
293
|
-
var tmp;
|
|
294
|
-
try {
|
|
295
|
-
tmp = new Instant_0(this.t2f(seconds.s5(), nanoseconds));
|
|
296
|
-
} catch ($p) {
|
|
297
|
-
var tmp_0;
|
|
298
|
-
if ($p instanceof Error) {
|
|
299
|
-
var e = $p;
|
|
300
|
-
if (!isJodaDateTimeException(e))
|
|
301
|
-
throw e;
|
|
302
|
-
tmp_0 = seconds.f8(new Long(0, 0)) > 0 ? Companion_getInstance_0().i2f_1 : Companion_getInstance_0().h2f_1;
|
|
303
|
-
} else {
|
|
304
|
-
throw $p;
|
|
305
|
-
}
|
|
306
|
-
tmp = tmp_0;
|
|
307
|
-
}
|
|
308
|
-
return tmp;
|
|
309
|
-
};
|
|
310
|
-
protoOf(Instant_0).t2f = function (seconds, nanos) {
|
|
311
|
-
var newSeconds = numberToDouble(this.o2f_1.epochSecond()) + seconds;
|
|
312
|
-
var newNanos = numberToDouble(this.o2f_1.nano()) + nanos;
|
|
313
|
-
return Instant.ofEpochSecond(newSeconds, newNanos);
|
|
314
|
-
};
|
|
315
|
-
protoOf(Instant_0).u2f = function (other) {
|
|
316
|
-
var diff = Duration.between(other.o2f_1, this.o2f_1);
|
|
317
|
-
// Inline function 'kotlin.time.Companion.seconds' call
|
|
318
|
-
Companion_getInstance();
|
|
319
|
-
var this_0 = numberToDouble(diff.seconds());
|
|
320
|
-
var tmp = toDuration(this_0, DurationUnit_SECONDS_getInstance());
|
|
321
|
-
// Inline function 'kotlin.time.Companion.nanoseconds' call
|
|
322
|
-
Companion_getInstance();
|
|
323
|
-
var this_1 = numberToDouble(diff.nano());
|
|
324
|
-
var tmp$ret$1 = toDuration(this_1, DurationUnit_NANOSECONDS_getInstance());
|
|
325
|
-
return Duration__plus_impl_yu9v8f(tmp, tmp$ret$1);
|
|
326
|
-
};
|
|
327
|
-
protoOf(Instant_0).v2f = function (other) {
|
|
328
|
-
return numberToInt(this.o2f_1.compareTo(other.o2f_1));
|
|
329
|
-
};
|
|
330
|
-
protoOf(Instant_0).d = function (other) {
|
|
331
|
-
return this.v2f(other instanceof Instant_0 ? other : THROW_CCE());
|
|
332
|
-
};
|
|
333
|
-
protoOf(Instant_0).equals = function (other) {
|
|
334
|
-
var tmp;
|
|
335
|
-
if (this === other) {
|
|
336
|
-
tmp = true;
|
|
337
|
-
} else {
|
|
338
|
-
var tmp_0;
|
|
339
|
-
if (other instanceof Instant_0) {
|
|
340
|
-
tmp_0 = equals(this.o2f_1, other.o2f_1);
|
|
341
|
-
} else {
|
|
342
|
-
tmp_0 = false;
|
|
343
|
-
}
|
|
344
|
-
tmp = tmp_0;
|
|
345
|
-
}
|
|
346
|
-
return tmp;
|
|
347
|
-
};
|
|
348
|
-
protoOf(Instant_0).hashCode = function () {
|
|
349
|
-
return numberToInt(this.o2f_1.hashCode());
|
|
350
|
-
};
|
|
351
|
-
protoOf(Instant_0).toString = function () {
|
|
352
|
-
return this.o2f_1.toString();
|
|
353
|
-
};
|
|
354
|
-
function isJodaDateTimeException(_this__u8e3s4) {
|
|
355
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
356
|
-
return _this__u8e3s4.name == 'DateTimeException';
|
|
357
|
-
}
|
|
358
|
-
function isJodaDateTimeParseException(_this__u8e3s4) {
|
|
359
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
360
|
-
return _this__u8e3s4.name == 'DateTimeParseException';
|
|
361
|
-
}
|
|
362
|
-
function safeAdd(a, b) {
|
|
363
|
-
var sum = a.h9(b);
|
|
364
|
-
if (a.t9(sum).f8(new Long(0, 0)) < 0 ? a.t9(b).f8(new Long(0, 0)) >= 0 : false) {
|
|
365
|
-
throw ArithmeticException_init_$Create$('Addition overflows a long: ' + a.toString() + ' + ' + b.toString());
|
|
366
|
-
}
|
|
367
|
-
return sum;
|
|
368
|
-
}
|
|
369
|
-
//region block: init
|
|
370
|
-
System_instance = new System();
|
|
371
|
-
DISTANT_PAST_SECONDS = new Long(-931914497, -750);
|
|
372
|
-
DISTANT_FUTURE_SECONDS = new Long(1151527680, 720);
|
|
373
|
-
NANOS_PER_MILLI = 1000000;
|
|
374
|
-
MILLIS_PER_ONE = 1000;
|
|
375
|
-
NANOS_PER_ONE = 1000000000;
|
|
376
|
-
//endregion
|
|
377
|
-
//region block: exports
|
|
378
|
-
_.$_$ = _.$_$ || {};
|
|
379
|
-
_.$_$.a = System_instance;
|
|
380
|
-
_.$_$.b = Companion_getInstance_0;
|
|
381
|
-
_.$_$.c = toInstant;
|
|
382
|
-
//endregion
|
|
383
|
-
return _;
|
|
384
|
-
}));
|
|
385
|
-
|
|
386
|
-
//# sourceMappingURL=Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Clock.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Exceptions.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/Instant.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/internal/dateCalculations.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/common/src/serializers/InstantSerializers.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/Instant.kt","common/src/generated/_Strings.kt","js-ir/runtime/long.kt","src/kotlin/util/FloorDivMod.kt","src/kotlin/time/Duration.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/JSJodaExceptions.kt","src/jsMainSources/libraries/stdlib/js/src/kotlin/dynamic.kt","../../../../../../../../../../../../mnt/agent/work/8ebe0a8279b7bad8/core/js/src/internal/mathJs.kt"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null],"names":["<init>","now","DateTimeFormatException_init_$Init$","DateTimeFormatException_init_$Create$","cause","toInstant","<this>","<get-DISTANT_PAST_SECONDS>","<get-DISTANT_FUTURE_SECONDS>","<get-NANOS_PER_MILLI>","<get-MILLIS_PER_ONE>","<get-NANOS_PER_ONE>","<get-descriptor>","deserialize","decoder","serialize","encoder","value","fixOffsetRepresentation","isoString","time","index","offset","separator","fromEpochMilliseconds","epochMilliseconds","e","parse","fromEpochSeconds","epochSeconds","nanosecondAdjustment","q","secs","r","nos","<get-epochSeconds>","<get-nanosecondsOfSecond>","toEpochMilliseconds","plus","duration","plusFix","seconds","nanos","newSeconds","newNanos","minus","other","diff","compareTo","equals","hashCode","toString","isJodaDateTimeException","isJodaDateTimeParseException","safeAdd","a","b","sum"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBIA,CAAAA,EAAA;A,EAAA,C;iCACaC,CAAAA,EAAqB;A,IAA4C,OAAL,+B;EAAI,C;;;;;8CCF7EC,C,KAAAA,E;IAAe,2C;IAAf,mC;;G;gDAAAC,CAAAA,E;;;;G;gDAEAD,CAAYE,K,OAAZF,E;IAA+B,uCAAM,KAAN,Q;IAA/B,mC;;G;kDAAAC,CAAYC,KAAZD,E;;;;G;qCAHJ;A;EAAA,C;oBCiMOE,CAAIC,aAAJD,EAAkC;A,IAAmB,OAAX,8BAAM,aAAN,C;EAAU,C;mCAwS5CE,CAAAA,EAAA;A,IAAA,2B;EAAwC,C;;qCACxCC,CAAAA,EAAA;A,IAAA,6B;EAAyC,C;;8BC7ezCC,CAAAA,EAAA;A,IAAA,sB;EAA8B,C;;6BAC9BC,CAAAA,EAAA;A,IAAA,qB;EAAyB,C;;4BAFzBC,CAAAA,EAAA;A,IAAA,oB;EAAgC,C;;mCCG/CX,CAAAA,EAAA;A;IAGQ,uCAA2B,SAA3B,uB;EAHR,C;mDAEaY,CAAAA,EAAA;A,IAAA,iB;EACoD,C;mDAEpDC,CAAgBC,OAAhBD,EACL;A,IAAqC,OAA7B,8BAAM,OAAQ,MAAd,C;EAA4B,C;mDAE/BE,CAAcC,O,EAAkBC,KAAhCF,EAAgD;A,IACrD,OAAQ,KAAa,KAAM,WAAnB,C;EACZ,C;oDA4CkmIC,O,EAAkBC,K;;;;;;;;;kCCUxmIC,C,OAA4BC,SAA5BD,EAAuD;A,QAC3DE,OAAqB,QAAV,SAAU,EAAQ,8BAAR,QAA0B,IAA1B,C;IACrB,IAAI,SAAQ,EAAZ,C;MAAgB,OAAO,S;;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