@solibo/home-api 1.1.110 → 1.1.111
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +777 -778
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +1329 -1746
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-atomicfu.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +2004 -1993
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +42 -42
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +629 -625
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1934 -1944
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1497 -1496
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation.mjs +142 -142
- package/ktor-ktor-client-content-negotiation.mjs.map +1 -1
- package/ktor-ktor-client-core.mjs +2181 -2080
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-events.mjs +7 -7
- package/ktor-ktor-events.mjs.map +1 -1
- package/ktor-ktor-http-cio.mjs +380 -380
- package/ktor-ktor-http-cio.mjs.map +1 -1
- package/ktor-ktor-http.mjs +728 -728
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +658 -658
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +147 -146
- package/ktor-ktor-serialization-kotlinx.mjs.map +1 -1
- package/ktor-ktor-serialization.mjs +65 -66
- package/ktor-ktor-serialization.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +1354 -788
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +425 -427
- package/ktor-ktor-websockets.mjs.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +152 -151
- package/solibo-sdk-sdk-home-api.mjs +48826 -48700
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
protoOf180f3jzyo7rfj as protoOf,
|
|
3
3
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
4
4
|
toString1pkumu07cwy4m as toString,
|
|
5
|
-
IllegalArgumentException_init_$Create$
|
|
6
|
-
|
|
5
|
+
IllegalArgumentException_init_$Create$i4126l9nkbuo as IllegalArgumentException_init_$Create$,
|
|
6
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
7
7
|
fromInt2ii0rejb1w62w as fromInt,
|
|
8
8
|
modulooi4g1kq3dmtt as modulo,
|
|
9
9
|
dividelr0uqtdj497z as divide,
|
|
@@ -13,32 +13,32 @@ import {
|
|
|
13
13
|
VOID3gxj6tk5isa35 as VOID,
|
|
14
14
|
enumEntries20mr21zbe3az4 as enumEntries,
|
|
15
15
|
Enum3alwj03lh1n41 as Enum,
|
|
16
|
-
IllegalArgumentException_init_$Init$
|
|
16
|
+
IllegalArgumentException_init_$Init$3lhsivc54sj92 as IllegalArgumentException_init_$Init$,
|
|
17
17
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
18
18
|
captureStack1fzi4aczwc4hg as captureStack,
|
|
19
|
-
IllegalArgumentException_init_$Init$
|
|
20
|
-
IllegalArgumentException_init_$Init$
|
|
19
|
+
IllegalArgumentException_init_$Init$2amn5b4061oz5 as IllegalArgumentException_init_$Init$_0,
|
|
20
|
+
IllegalArgumentException_init_$Init$3515n0oxnx1e8 as IllegalArgumentException_init_$Init$_1,
|
|
21
21
|
IllegalArgumentException2asla15b5jaob as IllegalArgumentException,
|
|
22
|
-
RuntimeException_init_$Init$
|
|
23
|
-
RuntimeException_init_$Init$
|
|
22
|
+
RuntimeException_init_$Init$2rgcix7nbosfk as RuntimeException_init_$Init$,
|
|
23
|
+
RuntimeException_init_$Init$3o1q2z60rcs9k as RuntimeException_init_$Init$_0,
|
|
24
24
|
RuntimeException1r3t0zl97011n as RuntimeException,
|
|
25
|
-
StringBuilder_init_$Create$
|
|
25
|
+
StringBuilder_init_$Create$3ds9zx2kx9u4d as StringBuilder_init_$Create$,
|
|
26
26
|
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
27
|
-
|
|
27
|
+
toString22rbkbhdb5cl2 as toString_0,
|
|
28
28
|
KProperty02ce7r476m8633 as KProperty0,
|
|
29
29
|
getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef,
|
|
30
30
|
hashCodeq5arwsb9dgti as hashCode,
|
|
31
31
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
32
32
|
KMutableProperty11e8g1gb0ecb9j as KMutableProperty1,
|
|
33
33
|
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
34
|
-
|
|
34
|
+
_Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
|
|
35
35
|
lazy2hsh8ze7j6ikd as lazy,
|
|
36
36
|
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
37
|
-
ArrayList_init_$Create$
|
|
37
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$,
|
|
38
38
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
39
39
|
isInterface3d6p8outrmvmk as isInterface,
|
|
40
40
|
equals2au1ep9vhcato as equals,
|
|
41
|
-
IllegalStateException_init_$Create$
|
|
41
|
+
IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
|
|
42
42
|
toString30pk9tzaqopn as toString_1,
|
|
43
43
|
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
44
44
|
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
51
51
|
joinToString1cxrrlmo0chqs as joinToString,
|
|
52
52
|
collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
|
|
53
|
-
ArrayList_init_$Create$
|
|
53
|
+
ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$_0,
|
|
54
54
|
singleo93pzdgfc557 as single,
|
|
55
55
|
abs1kdzbjes1idip as abs,
|
|
56
56
|
charSequenceSubSequence1iwpdba8s3jc7 as charSequenceSubSequence,
|
|
@@ -63,8 +63,8 @@ import {
|
|
|
63
63
|
Comparator2b3maoeh98xtg as Comparator,
|
|
64
64
|
compareValues1n2ayl87ihzfk as compareValues,
|
|
65
65
|
Exceptiondt2hlxn7j7vw as Exception,
|
|
66
|
-
Exception_init_$Init$
|
|
67
|
-
StringBuilder_init_$Create$
|
|
66
|
+
Exception_init_$Init$2jzug8qe36bgh as Exception_init_$Init$,
|
|
67
|
+
StringBuilder_init_$Create$3pdhqn0ol6juo as StringBuilder_init_$Create$_0,
|
|
68
68
|
joinTo3lkanfaxbzac2 as joinTo,
|
|
69
69
|
plus310ted5e4i90h as plus,
|
|
70
70
|
toMutableList20rdgwi7d3cwi as toMutableList,
|
|
@@ -75,11 +75,11 @@ import {
|
|
|
75
75
|
listOf1jh22dvmctj1r as listOf_0,
|
|
76
76
|
repeat2w4c6j8zoq09o as repeat,
|
|
77
77
|
checkCountOverflow1ro2fe1r4xvgf as checkCountOverflow,
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
Char__minus_impl_a2frrhux3psqasp3d9 as Char__minus_impl_a2frrh,
|
|
79
|
+
PrimitiveClasses_getInstanceds06xwqrwfdm as PrimitiveClasses_getInstance,
|
|
80
80
|
arrayOf1akklvh2at202 as arrayOf,
|
|
81
81
|
createKType31ecntyyaay3k as createKType,
|
|
82
|
-
|
|
82
|
+
LazyThreadSafetyMode_PUBLICATION_getInstance3qslfm3vqg6y3 as LazyThreadSafetyMode_PUBLICATION_getInstance,
|
|
83
83
|
lazy1261dae0bgscp as lazy_0,
|
|
84
84
|
KProperty1ca4yb4wlo496 as KProperty1,
|
|
85
85
|
getKClass3t8tygqu4lcxf as getKClass,
|
|
@@ -95,17 +95,17 @@ import {
|
|
|
95
95
|
Comparable198qfk8pnblz0 as Comparable,
|
|
96
96
|
ArithmeticException18dajwq7kbp38 as ArithmeticException,
|
|
97
97
|
compareValuesBy2ycqeh37x2wfm as compareValuesBy,
|
|
98
|
-
ArithmeticException_init_$Create$
|
|
98
|
+
ArithmeticException_init_$Create$31uqw7erje8gn as ArithmeticException_init_$Create$,
|
|
99
99
|
} from './kotlin-kotlin-stdlib.mjs';
|
|
100
100
|
import {
|
|
101
101
|
buildClassSerialDescriptors2a6xdp6mrtw as buildClassSerialDescriptor,
|
|
102
102
|
serializer1hwzc6m64v1op as serializer,
|
|
103
103
|
KSerializerzf77vz1967fq as KSerializer,
|
|
104
|
-
MissingFieldException_init_$Create$
|
|
104
|
+
MissingFieldException_init_$Create$10zc68nzgsyci as MissingFieldException_init_$Create$,
|
|
105
105
|
SealedClassSerializeriwipiibk55zc as SealedClassSerializer,
|
|
106
106
|
AbstractPolymorphicSerializer1ccxwp48nfy58 as AbstractPolymorphicSerializer,
|
|
107
|
-
SerializationException_init_$Create$
|
|
108
|
-
|
|
107
|
+
SerializationException_init_$Create$2snijnm3rk5ru as SerializationException_init_$Create$,
|
|
108
|
+
STRING_getInstance3lkmlozu5h7cs as STRING_getInstance,
|
|
109
109
|
PrimitiveSerialDescriptor3egfp53lutxj2 as PrimitiveSerialDescriptor,
|
|
110
110
|
} from './kotlinx-serialization-kotlinx-serialization-core.mjs';
|
|
111
111
|
//region block: imports
|
|
@@ -132,10 +132,10 @@ function year$default(padding, $super) {
|
|
|
132
132
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
133
133
|
var tmp;
|
|
134
134
|
if ($super === VOID) {
|
|
135
|
-
this.
|
|
135
|
+
this.p55(padding);
|
|
136
136
|
tmp = Unit_instance;
|
|
137
137
|
} else {
|
|
138
|
-
tmp = $super.
|
|
138
|
+
tmp = $super.p55.call(this, padding);
|
|
139
139
|
}
|
|
140
140
|
return tmp;
|
|
141
141
|
}
|
|
@@ -143,10 +143,10 @@ function monthNumber$default(padding, $super) {
|
|
|
143
143
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
144
144
|
var tmp;
|
|
145
145
|
if ($super === VOID) {
|
|
146
|
-
this.
|
|
146
|
+
this.r55(padding);
|
|
147
147
|
tmp = Unit_instance;
|
|
148
148
|
} else {
|
|
149
|
-
tmp = $super.
|
|
149
|
+
tmp = $super.r55.call(this, padding);
|
|
150
150
|
}
|
|
151
151
|
return tmp;
|
|
152
152
|
}
|
|
@@ -155,35 +155,35 @@ function day$default(padding, $super) {
|
|
|
155
155
|
padding = padding === VOID ? Padding_ZERO_getInstance() : padding;
|
|
156
156
|
var tmp;
|
|
157
157
|
if ($super === VOID) {
|
|
158
|
-
this.
|
|
158
|
+
this.u55(padding);
|
|
159
159
|
tmp = Unit_instance;
|
|
160
160
|
} else {
|
|
161
|
-
tmp = $super.
|
|
161
|
+
tmp = $super.u55.call(this, padding);
|
|
162
162
|
}
|
|
163
163
|
return tmp;
|
|
164
164
|
}
|
|
165
165
|
initMetadataForInterface(WithDate, 'WithDate', VOID, VOID, [WithYearMonth]);
|
|
166
166
|
function chars(value) {
|
|
167
|
-
return this.
|
|
167
|
+
return this.w55().y55(new ConstantFormatStructure(value));
|
|
168
168
|
}
|
|
169
169
|
function build() {
|
|
170
|
-
return new CachedFormatStructure(this.
|
|
170
|
+
return new CachedFormatStructure(this.w55().y2l().z55_1);
|
|
171
171
|
}
|
|
172
172
|
initMetadataForInterface(AbstractDateTimeFormatBuilder, 'AbstractDateTimeFormatBuilder');
|
|
173
173
|
initMetadataForClass(IncompleteLocalDate, 'IncompleteLocalDate', IncompleteLocalDate);
|
|
174
174
|
initMetadataForCompanion(Companion_4);
|
|
175
175
|
function year(padding) {
|
|
176
|
-
return this.
|
|
176
|
+
return this.a57(new BasicFormatStructure(new YearDirective(padding)));
|
|
177
177
|
}
|
|
178
178
|
function monthNumber(padding) {
|
|
179
|
-
return this.
|
|
179
|
+
return this.a57(new BasicFormatStructure(new MonthDirective(padding)));
|
|
180
180
|
}
|
|
181
181
|
initMetadataForInterface(AbstractWithYearMonthBuilder, 'AbstractWithYearMonthBuilder', VOID, VOID, [WithYearMonth]);
|
|
182
182
|
function addFormatStructureForYearMonth(structure) {
|
|
183
|
-
this.
|
|
183
|
+
this.z56(structure);
|
|
184
184
|
}
|
|
185
185
|
function day(padding) {
|
|
186
|
-
return this.
|
|
186
|
+
return this.z56(new BasicFormatStructure(new DayDirective(padding)));
|
|
187
187
|
}
|
|
188
188
|
initMetadataForInterface(AbstractWithDateBuilder, 'AbstractWithDateBuilder', VOID, VOID, [AbstractWithYearMonthBuilder, WithDate]);
|
|
189
189
|
initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateBuilder]);
|
|
@@ -203,7 +203,7 @@ initMetadataForClass(AppendableFormatStructure, 'AppendableFormatStructure', App
|
|
|
203
203
|
initMetadataForClass(AbstractFieldSpec, 'AbstractFieldSpec');
|
|
204
204
|
initMetadataForClass(GenericFieldSpec, 'GenericFieldSpec', VOID, AbstractFieldSpec);
|
|
205
205
|
function getterNotNull(container) {
|
|
206
|
-
var tmp0_elvis_lhs = this.
|
|
206
|
+
var tmp0_elvis_lhs = this.k59(container);
|
|
207
207
|
var tmp;
|
|
208
208
|
if (tmp0_elvis_lhs == null) {
|
|
209
209
|
throw IllegalStateException_init_$Create$('Field ' + this.m() + ' is not set');
|
|
@@ -224,10 +224,10 @@ function format$default(obj, builder, minusNotRequired, $super) {
|
|
|
224
224
|
minusNotRequired = minusNotRequired === VOID ? false : minusNotRequired;
|
|
225
225
|
var tmp;
|
|
226
226
|
if ($super === VOID) {
|
|
227
|
-
this.
|
|
227
|
+
this.n59(obj, builder, minusNotRequired);
|
|
228
228
|
tmp = Unit_instance;
|
|
229
229
|
} else {
|
|
230
|
-
tmp = $super.
|
|
230
|
+
tmp = $super.n59.call(this, obj, builder, minusNotRequired);
|
|
231
231
|
}
|
|
232
232
|
return tmp;
|
|
233
233
|
}
|
|
@@ -295,59 +295,59 @@ function Companion_getInstance_2() {
|
|
|
295
295
|
}
|
|
296
296
|
function TimeBased(nanoseconds) {
|
|
297
297
|
DateTimeUnit.call(this);
|
|
298
|
-
this.
|
|
298
|
+
this.i54_1 = nanoseconds;
|
|
299
299
|
// Inline function 'kotlin.require' call
|
|
300
|
-
if (!(this.
|
|
301
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
300
|
+
if (!(this.i54_1 > 0n)) {
|
|
301
|
+
var message = 'Unit duration must be positive, but was ' + this.i54_1.toString() + ' ns.';
|
|
302
302
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
303
303
|
}
|
|
304
|
-
if (modulo(this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
304
|
+
if (modulo(this.i54_1, 3600000000000n) === 0n) {
|
|
305
|
+
this.j54_1 = 'HOUR';
|
|
306
|
+
this.k54_1 = divide(this.i54_1, 3600000000000n);
|
|
307
307
|
} else {
|
|
308
|
-
if (modulo(this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
308
|
+
if (modulo(this.i54_1, 60000000000n) === 0n) {
|
|
309
|
+
this.j54_1 = 'MINUTE';
|
|
310
|
+
this.k54_1 = divide(this.i54_1, 60000000000n);
|
|
311
311
|
} else {
|
|
312
|
-
var tmp0 = this.
|
|
312
|
+
var tmp0 = this.i54_1;
|
|
313
313
|
// Inline function 'kotlin.Long.rem' call
|
|
314
314
|
var other = 1000000000;
|
|
315
315
|
if (modulo(tmp0, fromInt(other)) === 0n) {
|
|
316
|
-
this.
|
|
316
|
+
this.j54_1 = 'SECOND';
|
|
317
317
|
var tmp = this;
|
|
318
|
-
var tmp0_0 = this.
|
|
318
|
+
var tmp0_0 = this.i54_1;
|
|
319
319
|
// Inline function 'kotlin.Long.div' call
|
|
320
320
|
var other_0 = 1000000000;
|
|
321
|
-
tmp.
|
|
321
|
+
tmp.k54_1 = divide(tmp0_0, fromInt(other_0));
|
|
322
322
|
} else {
|
|
323
323
|
// Inline function 'kotlin.Long.rem' call
|
|
324
|
-
var this_0 = this.
|
|
324
|
+
var this_0 = this.i54_1;
|
|
325
325
|
if (modulo(this_0, fromInt(1000000)) === 0n) {
|
|
326
|
-
this.
|
|
326
|
+
this.j54_1 = 'MILLISECOND';
|
|
327
327
|
var tmp_0 = this;
|
|
328
328
|
// Inline function 'kotlin.Long.div' call
|
|
329
|
-
var this_1 = this.
|
|
330
|
-
tmp_0.
|
|
329
|
+
var this_1 = this.i54_1;
|
|
330
|
+
tmp_0.k54_1 = divide(this_1, fromInt(1000000));
|
|
331
331
|
} else {
|
|
332
332
|
// Inline function 'kotlin.Long.rem' call
|
|
333
|
-
var this_2 = this.
|
|
333
|
+
var this_2 = this.i54_1;
|
|
334
334
|
if (modulo(this_2, fromInt(1000)) === 0n) {
|
|
335
|
-
this.
|
|
335
|
+
this.j54_1 = 'MICROSECOND';
|
|
336
336
|
var tmp_1 = this;
|
|
337
337
|
// Inline function 'kotlin.Long.div' call
|
|
338
|
-
var this_3 = this.
|
|
339
|
-
tmp_1.
|
|
338
|
+
var this_3 = this.i54_1;
|
|
339
|
+
tmp_1.k54_1 = divide(this_3, fromInt(1000));
|
|
340
340
|
} else {
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
341
|
+
this.j54_1 = 'NANOSECOND';
|
|
342
|
+
this.k54_1 = this.i54_1;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
protoOf(TimeBased).
|
|
350
|
-
return new TimeBased(safeMultiply(this.
|
|
349
|
+
protoOf(TimeBased).l54 = function (scalar) {
|
|
350
|
+
return new TimeBased(safeMultiply(this.i54_1, fromInt(scalar)));
|
|
351
351
|
};
|
|
352
352
|
protoOf(TimeBased).equals = function (other) {
|
|
353
353
|
var tmp;
|
|
@@ -356,7 +356,7 @@ protoOf(TimeBased).equals = function (other) {
|
|
|
356
356
|
} else {
|
|
357
357
|
var tmp_0;
|
|
358
358
|
if (other instanceof TimeBased) {
|
|
359
|
-
tmp_0 = this.
|
|
359
|
+
tmp_0 = this.i54_1 === other.i54_1;
|
|
360
360
|
} else {
|
|
361
361
|
tmp_0 = false;
|
|
362
362
|
}
|
|
@@ -365,25 +365,25 @@ protoOf(TimeBased).equals = function (other) {
|
|
|
365
365
|
return tmp;
|
|
366
366
|
};
|
|
367
367
|
protoOf(TimeBased).hashCode = function () {
|
|
368
|
-
return convertToInt(this.
|
|
368
|
+
return convertToInt(this.i54_1) ^ convertToInt(shiftRight(this.i54_1, 32));
|
|
369
369
|
};
|
|
370
370
|
protoOf(TimeBased).toString = function () {
|
|
371
|
-
return this.
|
|
371
|
+
return this.m54(this.k54_1, this.j54_1);
|
|
372
372
|
};
|
|
373
373
|
function DateBased() {
|
|
374
374
|
DateTimeUnit.call(this);
|
|
375
375
|
}
|
|
376
376
|
function DayBased(days) {
|
|
377
377
|
DateBased.call(this);
|
|
378
|
-
this.
|
|
378
|
+
this.o54_1 = days;
|
|
379
379
|
// Inline function 'kotlin.require' call
|
|
380
|
-
if (!(this.
|
|
381
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
380
|
+
if (!(this.o54_1 > 0)) {
|
|
381
|
+
var message = 'Unit duration must be positive, but was ' + this.o54_1 + ' days.';
|
|
382
382
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
protoOf(DayBased).
|
|
386
|
-
return new DayBased(safeMultiply_0(this.
|
|
385
|
+
protoOf(DayBased).l54 = function (scalar) {
|
|
386
|
+
return new DayBased(safeMultiply_0(this.o54_1, scalar));
|
|
387
387
|
};
|
|
388
388
|
protoOf(DayBased).equals = function (other) {
|
|
389
389
|
var tmp;
|
|
@@ -392,7 +392,7 @@ protoOf(DayBased).equals = function (other) {
|
|
|
392
392
|
} else {
|
|
393
393
|
var tmp_0;
|
|
394
394
|
if (other instanceof DayBased) {
|
|
395
|
-
tmp_0 = this.
|
|
395
|
+
tmp_0 = this.o54_1 === other.o54_1;
|
|
396
396
|
} else {
|
|
397
397
|
tmp_0 = false;
|
|
398
398
|
}
|
|
@@ -401,22 +401,22 @@ protoOf(DayBased).equals = function (other) {
|
|
|
401
401
|
return tmp;
|
|
402
402
|
};
|
|
403
403
|
protoOf(DayBased).hashCode = function () {
|
|
404
|
-
return this.
|
|
404
|
+
return this.o54_1 ^ 65536;
|
|
405
405
|
};
|
|
406
406
|
protoOf(DayBased).toString = function () {
|
|
407
|
-
return (this.
|
|
407
|
+
return (this.o54_1 % 7 | 0) === 0 ? this.n54(this.o54_1 / 7 | 0, 'WEEK') : this.n54(this.o54_1, 'DAY');
|
|
408
408
|
};
|
|
409
409
|
function MonthBased(months) {
|
|
410
410
|
DateBased.call(this);
|
|
411
|
-
this.
|
|
411
|
+
this.p54_1 = months;
|
|
412
412
|
// Inline function 'kotlin.require' call
|
|
413
|
-
if (!(this.
|
|
414
|
-
var message = 'Unit duration must be positive, but was ' + this.
|
|
413
|
+
if (!(this.p54_1 > 0)) {
|
|
414
|
+
var message = 'Unit duration must be positive, but was ' + this.p54_1 + ' months.';
|
|
415
415
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
protoOf(MonthBased).
|
|
419
|
-
return new MonthBased(safeMultiply_0(this.
|
|
418
|
+
protoOf(MonthBased).l54 = function (scalar) {
|
|
419
|
+
return new MonthBased(safeMultiply_0(this.p54_1, scalar));
|
|
420
420
|
};
|
|
421
421
|
protoOf(MonthBased).equals = function (other) {
|
|
422
422
|
var tmp;
|
|
@@ -425,7 +425,7 @@ protoOf(MonthBased).equals = function (other) {
|
|
|
425
425
|
} else {
|
|
426
426
|
var tmp_0;
|
|
427
427
|
if (other instanceof MonthBased) {
|
|
428
|
-
tmp_0 = this.
|
|
428
|
+
tmp_0 = this.p54_1 === other.p54_1;
|
|
429
429
|
} else {
|
|
430
430
|
tmp_0 = false;
|
|
431
431
|
}
|
|
@@ -434,25 +434,25 @@ protoOf(MonthBased).equals = function (other) {
|
|
|
434
434
|
return tmp;
|
|
435
435
|
};
|
|
436
436
|
protoOf(MonthBased).hashCode = function () {
|
|
437
|
-
return this.
|
|
437
|
+
return this.p54_1 ^ 131072;
|
|
438
438
|
};
|
|
439
439
|
protoOf(MonthBased).toString = function () {
|
|
440
|
-
return (this.
|
|
440
|
+
return (this.p54_1 % 1200 | 0) === 0 ? this.n54(this.p54_1 / 1200 | 0, 'CENTURY') : (this.p54_1 % 12 | 0) === 0 ? this.n54(this.p54_1 / 12 | 0, 'YEAR') : (this.p54_1 % 3 | 0) === 0 ? this.n54(this.p54_1 / 3 | 0, 'QUARTER') : this.n54(this.p54_1, 'MONTH');
|
|
441
441
|
};
|
|
442
442
|
function Companion_3() {
|
|
443
443
|
Companion_instance_3 = this;
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
448
|
-
this.
|
|
449
|
-
this.
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
453
|
-
this.
|
|
454
|
-
this.
|
|
455
|
-
this.
|
|
444
|
+
this.q54_1 = new TimeBased(1n);
|
|
445
|
+
this.r54_1 = this.q54_1.l54(1000);
|
|
446
|
+
this.s54_1 = this.r54_1.l54(1000);
|
|
447
|
+
this.t54_1 = this.s54_1.l54(1000);
|
|
448
|
+
this.u54_1 = this.t54_1.l54(60);
|
|
449
|
+
this.v54_1 = this.u54_1.l54(60);
|
|
450
|
+
this.w54_1 = new DayBased(1);
|
|
451
|
+
this.x54_1 = this.w54_1.l54(7);
|
|
452
|
+
this.y54_1 = new MonthBased(1);
|
|
453
|
+
this.z54_1 = this.y54_1.l54(3);
|
|
454
|
+
this.a55_1 = this.y54_1.l54(12);
|
|
455
|
+
this.b55_1 = this.a55_1.l54(100);
|
|
456
456
|
}
|
|
457
457
|
var Companion_instance_3;
|
|
458
458
|
function Companion_getInstance_3() {
|
|
@@ -463,10 +463,10 @@ function Companion_getInstance_3() {
|
|
|
463
463
|
function DateTimeUnit() {
|
|
464
464
|
Companion_getInstance_3();
|
|
465
465
|
}
|
|
466
|
-
protoOf(DateTimeUnit).
|
|
466
|
+
protoOf(DateTimeUnit).n54 = function (value, unit) {
|
|
467
467
|
return value === 1 ? unit : '' + value + '-' + unit;
|
|
468
468
|
};
|
|
469
|
-
protoOf(DateTimeUnit).
|
|
469
|
+
protoOf(DateTimeUnit).m54 = function (value, unit) {
|
|
470
470
|
return value === 1n ? unit : value.toString() + '-' + unit;
|
|
471
471
|
};
|
|
472
472
|
function get_isoDayNumber(_this__u8e3s4) {
|
|
@@ -600,10 +600,10 @@ function plus_0(_this__u8e3s4, value, unit) {
|
|
|
600
600
|
return plus_1(_this__u8e3s4, fromInt(value), unit);
|
|
601
601
|
}
|
|
602
602
|
function getIsoDateFormat() {
|
|
603
|
-
return Formats_getInstance().
|
|
603
|
+
return Formats_getInstance().d55();
|
|
604
604
|
}
|
|
605
605
|
function format(_this__u8e3s4, format) {
|
|
606
|
-
return format.
|
|
606
|
+
return format.e55(_this__u8e3s4);
|
|
607
607
|
}
|
|
608
608
|
function get_number(_this__u8e3s4) {
|
|
609
609
|
return _this__u8e3s4.a1_1 + 1 | 0;
|
|
@@ -709,16 +709,16 @@ function Month_DECEMBER_getInstance() {
|
|
|
709
709
|
}
|
|
710
710
|
function AbstractDateTimeFormat() {
|
|
711
711
|
}
|
|
712
|
-
protoOf(AbstractDateTimeFormat).
|
|
712
|
+
protoOf(AbstractDateTimeFormat).e55 = function (value) {
|
|
713
713
|
// Inline function 'kotlin.also' call
|
|
714
714
|
var this_0 = StringBuilder_init_$Create$();
|
|
715
|
-
this.
|
|
715
|
+
this.f55().m55().n55(this.g55(value), this_0);
|
|
716
716
|
return this_0.toString();
|
|
717
717
|
};
|
|
718
|
-
protoOf(AbstractDateTimeFormat).
|
|
718
|
+
protoOf(AbstractDateTimeFormat).wk = function (input) {
|
|
719
719
|
var tmp;
|
|
720
720
|
try {
|
|
721
|
-
tmp = Parser__match$default_impl_x2xlti(_Parser___init__impl__gdyfby(this.
|
|
721
|
+
tmp = Parser__match$default_impl_x2xlti(_Parser___init__impl__gdyfby(this.f55().o55()), input, this.i55());
|
|
722
722
|
} catch ($p) {
|
|
723
723
|
var tmp_0;
|
|
724
724
|
if ($p instanceof ParseException) {
|
|
@@ -730,7 +730,7 @@ protoOf(AbstractDateTimeFormat).al = function (input) {
|
|
|
730
730
|
}
|
|
731
731
|
var matched = tmp;
|
|
732
732
|
try {
|
|
733
|
-
return this.
|
|
733
|
+
return this.h55(matched);
|
|
734
734
|
} catch ($p) {
|
|
735
735
|
if ($p instanceof IllegalArgumentException) {
|
|
736
736
|
var e_0 = $p;
|
|
@@ -769,7 +769,7 @@ function WithYearMonth() {
|
|
|
769
769
|
function WithDate() {
|
|
770
770
|
}
|
|
771
771
|
function char(_this__u8e3s4, value) {
|
|
772
|
-
return _this__u8e3s4.
|
|
772
|
+
return _this__u8e3s4.t55(toString_0(value));
|
|
773
773
|
}
|
|
774
774
|
function AbstractDateTimeFormatBuilder() {
|
|
775
775
|
}
|
|
@@ -801,70 +801,70 @@ function IncompleteLocalDate(yearMonth, day, dayOfWeek, dayOfYear) {
|
|
|
801
801
|
day = day === VOID ? null : day;
|
|
802
802
|
dayOfWeek = dayOfWeek === VOID ? null : dayOfWeek;
|
|
803
803
|
dayOfYear = dayOfYear === VOID ? null : dayOfYear;
|
|
804
|
-
this.
|
|
805
|
-
this.
|
|
806
|
-
this.
|
|
807
|
-
this.
|
|
804
|
+
this.a56_1 = yearMonth;
|
|
805
|
+
this.b56_1 = day;
|
|
806
|
+
this.c56_1 = dayOfWeek;
|
|
807
|
+
this.d56_1 = dayOfYear;
|
|
808
808
|
}
|
|
809
|
-
protoOf(IncompleteLocalDate).
|
|
810
|
-
this.
|
|
809
|
+
protoOf(IncompleteLocalDate).e56 = function (_set____db54di) {
|
|
810
|
+
this.b56_1 = _set____db54di;
|
|
811
811
|
};
|
|
812
|
-
protoOf(IncompleteLocalDate).
|
|
813
|
-
return this.
|
|
812
|
+
protoOf(IncompleteLocalDate).f56 = function () {
|
|
813
|
+
return this.b56_1;
|
|
814
814
|
};
|
|
815
|
-
protoOf(IncompleteLocalDate).
|
|
816
|
-
this.
|
|
815
|
+
protoOf(IncompleteLocalDate).g56 = function (_set____db54di) {
|
|
816
|
+
this.c56_1 = _set____db54di;
|
|
817
817
|
};
|
|
818
|
-
protoOf(IncompleteLocalDate).
|
|
819
|
-
return this.
|
|
818
|
+
protoOf(IncompleteLocalDate).h56 = function () {
|
|
819
|
+
return this.c56_1;
|
|
820
820
|
};
|
|
821
|
-
protoOf(IncompleteLocalDate).
|
|
822
|
-
this.
|
|
821
|
+
protoOf(IncompleteLocalDate).i56 = function (_set____db54di) {
|
|
822
|
+
this.d56_1 = _set____db54di;
|
|
823
823
|
};
|
|
824
|
-
protoOf(IncompleteLocalDate).
|
|
825
|
-
return this.
|
|
824
|
+
protoOf(IncompleteLocalDate).j56 = function () {
|
|
825
|
+
return this.d56_1;
|
|
826
826
|
};
|
|
827
|
-
protoOf(IncompleteLocalDate).
|
|
828
|
-
var year = requireParsedField(this.
|
|
829
|
-
var dayOfYear = this.
|
|
827
|
+
protoOf(IncompleteLocalDate).k56 = function () {
|
|
828
|
+
var year = requireParsedField(this.l56(), 'year');
|
|
829
|
+
var dayOfYear = this.d56_1;
|
|
830
830
|
var tmp;
|
|
831
831
|
if (dayOfYear == null) {
|
|
832
|
-
tmp = new LocalDate(year, requireParsedField(this.
|
|
832
|
+
tmp = new LocalDate(year, requireParsedField(this.q56(), 'monthNumber'), requireParsedField(this.b56_1, 'day'));
|
|
833
833
|
} else {
|
|
834
834
|
// Inline function 'kotlin.also' call
|
|
835
|
-
var this_0 = plus_0(new LocalDate(year, 1, 1), dayOfYear - 1 | 0, Companion_getInstance_3().
|
|
836
|
-
if (!(this_0.
|
|
835
|
+
var this_0 = plus_0(new LocalDate(year, 1, 1), dayOfYear - 1 | 0, Companion_getInstance_3().w54_1);
|
|
836
|
+
if (!(this_0.m56_1 === year)) {
|
|
837
837
|
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is not a valid day of year for the year ' + year));
|
|
838
838
|
}
|
|
839
|
-
if (!(this.
|
|
840
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is ' + this_0.
|
|
839
|
+
if (!(this.q56() == null) && !(get_number(this_0.p56()) === this.q56())) {
|
|
840
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is ' + this_0.p56().toString() + ', ') + ('but ' + this.q56() + ' was specified as the month number'));
|
|
841
841
|
}
|
|
842
|
-
if (!(this.
|
|
843
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is the day ' + this_0.
|
|
842
|
+
if (!(this.b56_1 == null) && !(this_0.n56_1 === this.b56_1)) {
|
|
843
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of year is ' + dayOfYear + ', which is the day ' + this_0.n56_1 + ' of ' + this_0.p56().toString() + ', ') + ('but ' + this.b56_1 + ' was specified as the day of month'));
|
|
844
844
|
}
|
|
845
845
|
tmp = this_0;
|
|
846
846
|
}
|
|
847
847
|
var date = tmp;
|
|
848
|
-
var tmp0_safe_receiver = this.
|
|
848
|
+
var tmp0_safe_receiver = this.c56_1;
|
|
849
849
|
if (tmp0_safe_receiver == null)
|
|
850
850
|
null;
|
|
851
851
|
else {
|
|
852
852
|
// Inline function 'kotlin.let' call
|
|
853
|
-
if (!(tmp0_safe_receiver === get_isoDayNumber(date.
|
|
854
|
-
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of week is ' + DayOfWeek_0(tmp0_safe_receiver).toString() + ' but the date is ' + date.toString() + ', which is a ' + date.
|
|
853
|
+
if (!(tmp0_safe_receiver === get_isoDayNumber(date.h56()))) {
|
|
854
|
+
throw DateTimeFormatException_init_$Create$_0('Can not create a LocalDate from the given input: ' + ('the day of week is ' + DayOfWeek_0(tmp0_safe_receiver).toString() + ' but the date is ' + date.toString() + ', which is a ' + date.h56().toString()));
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
857
|
return date;
|
|
858
858
|
};
|
|
859
|
-
protoOf(IncompleteLocalDate).
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
864
|
-
this.
|
|
859
|
+
protoOf(IncompleteLocalDate).r56 = function (date) {
|
|
860
|
+
this.s56(date.m56_1);
|
|
861
|
+
this.t56(get_number(date.p56()));
|
|
862
|
+
this.b56_1 = date.n56_1;
|
|
863
|
+
this.c56_1 = get_isoDayNumber(date.h56());
|
|
864
|
+
this.d56_1 = date.j56();
|
|
865
865
|
};
|
|
866
|
-
protoOf(IncompleteLocalDate).
|
|
867
|
-
return new IncompleteLocalDate(this.
|
|
866
|
+
protoOf(IncompleteLocalDate).u56 = function () {
|
|
867
|
+
return new IncompleteLocalDate(this.a56_1.u56(), this.b56_1, this.c56_1, this.d56_1);
|
|
868
868
|
};
|
|
869
869
|
protoOf(IncompleteLocalDate).equals = function (other) {
|
|
870
870
|
var tmp;
|
|
@@ -872,177 +872,177 @@ protoOf(IncompleteLocalDate).equals = function (other) {
|
|
|
872
872
|
var tmp_1;
|
|
873
873
|
var tmp_2;
|
|
874
874
|
if (other instanceof IncompleteLocalDate) {
|
|
875
|
-
tmp_2 = this.
|
|
875
|
+
tmp_2 = this.a56_1.equals(other.a56_1);
|
|
876
876
|
} else {
|
|
877
877
|
tmp_2 = false;
|
|
878
878
|
}
|
|
879
879
|
if (tmp_2) {
|
|
880
|
-
tmp_1 = this.
|
|
880
|
+
tmp_1 = this.b56_1 == other.b56_1;
|
|
881
881
|
} else {
|
|
882
882
|
tmp_1 = false;
|
|
883
883
|
}
|
|
884
884
|
if (tmp_1) {
|
|
885
|
-
tmp_0 = this.
|
|
885
|
+
tmp_0 = this.c56_1 == other.c56_1;
|
|
886
886
|
} else {
|
|
887
887
|
tmp_0 = false;
|
|
888
888
|
}
|
|
889
889
|
if (tmp_0) {
|
|
890
|
-
tmp = this.
|
|
890
|
+
tmp = this.d56_1 == other.d56_1;
|
|
891
891
|
} else {
|
|
892
892
|
tmp = false;
|
|
893
893
|
}
|
|
894
894
|
return tmp;
|
|
895
895
|
};
|
|
896
896
|
protoOf(IncompleteLocalDate).hashCode = function () {
|
|
897
|
-
var tmp = imul(this.
|
|
897
|
+
var tmp = imul(this.a56_1.hashCode(), 29791);
|
|
898
898
|
// Inline function 'kotlin.hashCode' call
|
|
899
|
-
var tmp0_safe_receiver = this.
|
|
899
|
+
var tmp0_safe_receiver = this.b56_1;
|
|
900
900
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
901
901
|
var tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
902
902
|
var tmp_0 = tmp + imul(tmp$ret$0, 961) | 0;
|
|
903
903
|
// Inline function 'kotlin.hashCode' call
|
|
904
|
-
var tmp0_safe_receiver_0 = this.
|
|
904
|
+
var tmp0_safe_receiver_0 = this.c56_1;
|
|
905
905
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
906
906
|
var tmp$ret$1 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
|
|
907
907
|
var tmp_1 = tmp_0 + imul(tmp$ret$1, 31) | 0;
|
|
908
908
|
// Inline function 'kotlin.hashCode' call
|
|
909
|
-
var tmp0_safe_receiver_1 = this.
|
|
909
|
+
var tmp0_safe_receiver_1 = this.d56_1;
|
|
910
910
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
911
911
|
return tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
912
912
|
};
|
|
913
913
|
protoOf(IncompleteLocalDate).toString = function () {
|
|
914
914
|
var tmp;
|
|
915
|
-
if (this.
|
|
916
|
-
var tmp_0 = this.
|
|
917
|
-
var tmp0_elvis_lhs = this.
|
|
915
|
+
if (this.d56_1 == null) {
|
|
916
|
+
var tmp_0 = this.a56_1.toString();
|
|
917
|
+
var tmp0_elvis_lhs = this.b56_1;
|
|
918
918
|
var tmp_1 = toString(tmp0_elvis_lhs == null ? '??' : tmp0_elvis_lhs);
|
|
919
|
-
var tmp1_elvis_lhs = this.
|
|
919
|
+
var tmp1_elvis_lhs = this.c56_1;
|
|
920
920
|
tmp = tmp_0 + '-' + tmp_1 + ' (day of week is ' + toString(tmp1_elvis_lhs == null ? '??' : tmp1_elvis_lhs) + ')';
|
|
921
|
-
} else if (this.
|
|
922
|
-
var tmp2_elvis_lhs = this.
|
|
921
|
+
} else if (this.b56_1 == null && this.q56() == null) {
|
|
922
|
+
var tmp2_elvis_lhs = this.a56_1.v56_1;
|
|
923
923
|
var tmp_2 = toString(tmp2_elvis_lhs == null ? '??' : tmp2_elvis_lhs);
|
|
924
|
-
var tmp_3 = this.
|
|
925
|
-
var tmp3_elvis_lhs = this.
|
|
924
|
+
var tmp_3 = this.d56_1;
|
|
925
|
+
var tmp3_elvis_lhs = this.c56_1;
|
|
926
926
|
tmp = '(' + tmp_2 + ')-' + tmp_3 + ' (day of week is ' + toString(tmp3_elvis_lhs == null ? '??' : tmp3_elvis_lhs) + ')';
|
|
927
927
|
} else {
|
|
928
|
-
var tmp_4 = this.
|
|
929
|
-
var tmp4_elvis_lhs = this.
|
|
928
|
+
var tmp_4 = this.a56_1.toString();
|
|
929
|
+
var tmp4_elvis_lhs = this.b56_1;
|
|
930
930
|
var tmp_5 = toString(tmp4_elvis_lhs == null ? '??' : tmp4_elvis_lhs);
|
|
931
|
-
var tmp5_elvis_lhs = this.
|
|
932
|
-
tmp = tmp_4 + '-' + tmp_5 + ' (day of week is ' + toString(tmp5_elvis_lhs == null ? '??' : tmp5_elvis_lhs) + ', day of year is ' + this.
|
|
931
|
+
var tmp5_elvis_lhs = this.c56_1;
|
|
932
|
+
tmp = tmp_4 + '-' + tmp_5 + ' (day of week is ' + toString(tmp5_elvis_lhs == null ? '??' : tmp5_elvis_lhs) + ', day of year is ' + this.d56_1 + ')';
|
|
933
933
|
}
|
|
934
934
|
return tmp;
|
|
935
935
|
};
|
|
936
|
-
protoOf(IncompleteLocalDate).
|
|
937
|
-
this.
|
|
936
|
+
protoOf(IncompleteLocalDate).s56 = function (_set____db54di) {
|
|
937
|
+
this.a56_1.v56_1 = _set____db54di;
|
|
938
938
|
};
|
|
939
|
-
protoOf(IncompleteLocalDate).
|
|
940
|
-
return this.
|
|
939
|
+
protoOf(IncompleteLocalDate).l56 = function () {
|
|
940
|
+
return this.a56_1.v56_1;
|
|
941
941
|
};
|
|
942
|
-
protoOf(IncompleteLocalDate).
|
|
943
|
-
this.
|
|
942
|
+
protoOf(IncompleteLocalDate).t56 = function (_set____db54di) {
|
|
943
|
+
this.a56_1.w56_1 = _set____db54di;
|
|
944
944
|
};
|
|
945
|
-
protoOf(IncompleteLocalDate).
|
|
946
|
-
return this.
|
|
945
|
+
protoOf(IncompleteLocalDate).q56 = function () {
|
|
946
|
+
return this.a56_1.w56_1;
|
|
947
947
|
};
|
|
948
948
|
function Companion_4() {
|
|
949
949
|
}
|
|
950
|
-
protoOf(Companion_4).
|
|
950
|
+
protoOf(Companion_4).x56 = function (block) {
|
|
951
951
|
var builder = new Builder(new AppendableFormatStructure());
|
|
952
952
|
block(builder);
|
|
953
|
-
return new LocalDateFormat(builder.
|
|
953
|
+
return new LocalDateFormat(builder.y2l());
|
|
954
954
|
};
|
|
955
955
|
var Companion_instance_4;
|
|
956
956
|
function Companion_getInstance_4() {
|
|
957
957
|
return Companion_instance_4;
|
|
958
958
|
}
|
|
959
959
|
function Builder(actualBuilder) {
|
|
960
|
-
this.
|
|
960
|
+
this.y56_1 = actualBuilder;
|
|
961
961
|
}
|
|
962
|
-
protoOf(Builder).
|
|
963
|
-
return this.
|
|
962
|
+
protoOf(Builder).w55 = function () {
|
|
963
|
+
return this.y56_1;
|
|
964
964
|
};
|
|
965
|
-
protoOf(Builder).
|
|
966
|
-
return this.
|
|
965
|
+
protoOf(Builder).z56 = function (structure) {
|
|
966
|
+
return this.y56_1.y55(structure);
|
|
967
967
|
};
|
|
968
968
|
function LocalDateFormat(actualFormat) {
|
|
969
969
|
AbstractDateTimeFormat.call(this);
|
|
970
|
-
this.
|
|
970
|
+
this.b57_1 = actualFormat;
|
|
971
971
|
}
|
|
972
|
-
protoOf(LocalDateFormat).
|
|
973
|
-
return this.
|
|
972
|
+
protoOf(LocalDateFormat).f55 = function () {
|
|
973
|
+
return this.b57_1;
|
|
974
974
|
};
|
|
975
|
-
protoOf(LocalDateFormat).
|
|
975
|
+
protoOf(LocalDateFormat).c57 = function (value) {
|
|
976
976
|
// Inline function 'kotlin.apply' call
|
|
977
977
|
var this_0 = new IncompleteLocalDate();
|
|
978
|
-
this_0.
|
|
978
|
+
this_0.r56(value);
|
|
979
979
|
return this_0;
|
|
980
980
|
};
|
|
981
|
-
protoOf(LocalDateFormat).
|
|
982
|
-
return this.
|
|
981
|
+
protoOf(LocalDateFormat).g55 = function (value) {
|
|
982
|
+
return this.c57(value instanceof LocalDate ? value : THROW_CCE());
|
|
983
983
|
};
|
|
984
|
-
protoOf(LocalDateFormat).
|
|
985
|
-
return intermediate.
|
|
984
|
+
protoOf(LocalDateFormat).d57 = function (intermediate) {
|
|
985
|
+
return intermediate.k56();
|
|
986
986
|
};
|
|
987
|
-
protoOf(LocalDateFormat).
|
|
988
|
-
return this.
|
|
987
|
+
protoOf(LocalDateFormat).h55 = function (intermediate) {
|
|
988
|
+
return this.d57(intermediate instanceof IncompleteLocalDate ? intermediate : THROW_CCE());
|
|
989
989
|
};
|
|
990
|
-
protoOf(LocalDateFormat).
|
|
990
|
+
protoOf(LocalDateFormat).i55 = function () {
|
|
991
991
|
return get_emptyIncompleteLocalDate();
|
|
992
992
|
};
|
|
993
993
|
function AbstractWithDateBuilder() {
|
|
994
994
|
}
|
|
995
995
|
function DayDirective(padding) {
|
|
996
|
-
var tmp = DateFields_getInstance().
|
|
996
|
+
var tmp = DateFields_getInstance().e57_1;
|
|
997
997
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
998
998
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 2 : 1;
|
|
999
999
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1000
1000
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 2 : null;
|
|
1001
1001
|
UnsignedIntFieldFormatDirective.call(this, tmp, tmp_0, tmp$ret$1);
|
|
1002
|
-
this.
|
|
1002
|
+
this.l57_1 = padding;
|
|
1003
1003
|
}
|
|
1004
1004
|
protoOf(DayDirective).equals = function (other) {
|
|
1005
1005
|
var tmp;
|
|
1006
1006
|
if (other instanceof DayDirective) {
|
|
1007
|
-
tmp = this.
|
|
1007
|
+
tmp = this.l57_1.equals(other.l57_1);
|
|
1008
1008
|
} else {
|
|
1009
1009
|
tmp = false;
|
|
1010
1010
|
}
|
|
1011
1011
|
return tmp;
|
|
1012
1012
|
};
|
|
1013
1013
|
protoOf(DayDirective).hashCode = function () {
|
|
1014
|
-
return this.
|
|
1014
|
+
return this.l57_1.hashCode();
|
|
1015
1015
|
};
|
|
1016
1016
|
function DateFieldContainer$_get_day_$ref_2ebhxx() {
|
|
1017
1017
|
return function (p0) {
|
|
1018
|
-
return p0.
|
|
1018
|
+
return p0.f56();
|
|
1019
1019
|
};
|
|
1020
1020
|
}
|
|
1021
1021
|
function DateFieldContainer$_set_day_$ref_s0jsax() {
|
|
1022
1022
|
return function (p0, p1) {
|
|
1023
|
-
p0.
|
|
1023
|
+
p0.e56(p1);
|
|
1024
1024
|
return Unit_instance;
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
1027
|
function DateFieldContainer$_get_dayOfWeek_$ref_thwqom() {
|
|
1028
1028
|
return function (p0) {
|
|
1029
|
-
return p0.
|
|
1029
|
+
return p0.h56();
|
|
1030
1030
|
};
|
|
1031
1031
|
}
|
|
1032
1032
|
function DateFieldContainer$_set_dayOfWeek_$ref_ea586a() {
|
|
1033
1033
|
return function (p0, p1) {
|
|
1034
|
-
p0.
|
|
1034
|
+
p0.g56(p1);
|
|
1035
1035
|
return Unit_instance;
|
|
1036
1036
|
};
|
|
1037
1037
|
}
|
|
1038
1038
|
function DateFieldContainer$_get_dayOfYear_$ref_2m6gfz() {
|
|
1039
1039
|
return function (p0) {
|
|
1040
|
-
return p0.
|
|
1040
|
+
return p0.j56();
|
|
1041
1041
|
};
|
|
1042
1042
|
}
|
|
1043
1043
|
function DateFieldContainer$_set_dayOfYear_$ref_cll22d() {
|
|
1044
1044
|
return function (p0, p1) {
|
|
1045
|
-
p0.
|
|
1045
|
+
p0.i56(p1);
|
|
1046
1046
|
return Unit_instance;
|
|
1047
1047
|
};
|
|
1048
1048
|
}
|
|
@@ -1051,15 +1051,15 @@ function DateFields() {
|
|
|
1051
1051
|
var tmp = this;
|
|
1052
1052
|
var tmp_0 = KMutableProperty1;
|
|
1053
1053
|
var tmp_1 = DateFieldContainer$_get_day_$ref_2ebhxx();
|
|
1054
|
-
tmp.
|
|
1054
|
+
tmp.e57_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('day', 1, tmp_0, tmp_1, DateFieldContainer$_set_day_$ref_s0jsax())), 1, 31);
|
|
1055
1055
|
var tmp_2 = this;
|
|
1056
1056
|
var tmp_3 = KMutableProperty1;
|
|
1057
1057
|
var tmp_4 = DateFieldContainer$_get_dayOfWeek_$ref_thwqom();
|
|
1058
|
-
tmp_2.
|
|
1058
|
+
tmp_2.f57_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('dayOfWeek', 1, tmp_3, tmp_4, DateFieldContainer$_set_dayOfWeek_$ref_ea586a())), 1, 7);
|
|
1059
1059
|
var tmp_5 = this;
|
|
1060
1060
|
var tmp_6 = KMutableProperty1;
|
|
1061
1061
|
var tmp_7 = DateFieldContainer$_get_dayOfYear_$ref_2m6gfz();
|
|
1062
|
-
tmp_5.
|
|
1062
|
+
tmp_5.g57_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('dayOfYear', 1, tmp_6, tmp_7, DateFieldContainer$_set_dayOfYear_$ref_cll22d())), 1, 366);
|
|
1063
1063
|
}
|
|
1064
1064
|
var DateFields_instance;
|
|
1065
1065
|
function DateFields_getInstance() {
|
|
@@ -1070,15 +1070,15 @@ function DateFields_getInstance() {
|
|
|
1070
1070
|
function ISO_DATE$delegate$lambda() {
|
|
1071
1071
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1072
1072
|
var tmp = Companion_instance_4;
|
|
1073
|
-
return tmp.
|
|
1073
|
+
return tmp.x56(ISO_DATE$delegate$lambda$lambda);
|
|
1074
1074
|
}
|
|
1075
1075
|
function ISO_DATE$delegate$lambda$lambda($this$build) {
|
|
1076
1076
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1077
|
-
$this$build.
|
|
1077
|
+
$this$build.q55();
|
|
1078
1078
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1079
|
-
$this$build.
|
|
1079
|
+
$this$build.s55();
|
|
1080
1080
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1081
|
-
$this$build.
|
|
1081
|
+
$this$build.v55();
|
|
1082
1082
|
return Unit_instance;
|
|
1083
1083
|
}
|
|
1084
1084
|
function _get_ISO_DATE_$ref_powsum() {
|
|
@@ -1089,13 +1089,13 @@ function _get_ISO_DATE_$ref_powsum() {
|
|
|
1089
1089
|
function ISO_DATE_BASIC$delegate$lambda() {
|
|
1090
1090
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1091
1091
|
var tmp = Companion_instance_4;
|
|
1092
|
-
return tmp.
|
|
1092
|
+
return tmp.x56(ISO_DATE_BASIC$delegate$lambda$lambda);
|
|
1093
1093
|
}
|
|
1094
1094
|
function ISO_DATE_BASIC$delegate$lambda$lambda($this$build) {
|
|
1095
1095
|
_init_properties_LocalDateFormat_kt__k1uk9u();
|
|
1096
|
-
$this$build.
|
|
1097
|
-
$this$build.
|
|
1098
|
-
$this$build.
|
|
1096
|
+
$this$build.q55();
|
|
1097
|
+
$this$build.s55();
|
|
1098
|
+
$this$build.v55();
|
|
1099
1099
|
return Unit_instance;
|
|
1100
1100
|
}
|
|
1101
1101
|
function _get_ISO_DATE_BASIC_$ref_3fs8eb() {
|
|
@@ -1129,43 +1129,43 @@ var ISO_YEAR_MONTH$delegate;
|
|
|
1129
1129
|
function IncompleteYearMonth(year, monthNumber) {
|
|
1130
1130
|
year = year === VOID ? null : year;
|
|
1131
1131
|
monthNumber = monthNumber === VOID ? null : monthNumber;
|
|
1132
|
-
this.
|
|
1133
|
-
this.
|
|
1132
|
+
this.v56_1 = year;
|
|
1133
|
+
this.w56_1 = monthNumber;
|
|
1134
1134
|
}
|
|
1135
|
-
protoOf(IncompleteYearMonth).
|
|
1136
|
-
this.
|
|
1135
|
+
protoOf(IncompleteYearMonth).s56 = function (_set____db54di) {
|
|
1136
|
+
this.v56_1 = _set____db54di;
|
|
1137
1137
|
};
|
|
1138
|
-
protoOf(IncompleteYearMonth).
|
|
1139
|
-
return this.
|
|
1138
|
+
protoOf(IncompleteYearMonth).l56 = function () {
|
|
1139
|
+
return this.v56_1;
|
|
1140
1140
|
};
|
|
1141
|
-
protoOf(IncompleteYearMonth).
|
|
1142
|
-
this.
|
|
1141
|
+
protoOf(IncompleteYearMonth).t56 = function (_set____db54di) {
|
|
1142
|
+
this.w56_1 = _set____db54di;
|
|
1143
1143
|
};
|
|
1144
|
-
protoOf(IncompleteYearMonth).
|
|
1145
|
-
return this.
|
|
1144
|
+
protoOf(IncompleteYearMonth).q56 = function () {
|
|
1145
|
+
return this.w56_1;
|
|
1146
1146
|
};
|
|
1147
|
-
protoOf(IncompleteYearMonth).
|
|
1148
|
-
var year = requireParsedField(this.
|
|
1149
|
-
var month = requireParsedField(this.
|
|
1147
|
+
protoOf(IncompleteYearMonth).q57 = function () {
|
|
1148
|
+
var year = requireParsedField(this.v56_1, 'year');
|
|
1149
|
+
var month = requireParsedField(this.w56_1, 'monthNumber');
|
|
1150
1150
|
return new YearMonth(year, month);
|
|
1151
1151
|
};
|
|
1152
|
-
protoOf(IncompleteYearMonth).
|
|
1153
|
-
this.
|
|
1154
|
-
this.
|
|
1152
|
+
protoOf(IncompleteYearMonth).r57 = function (yearMonth) {
|
|
1153
|
+
this.v56_1 = yearMonth.s57_1;
|
|
1154
|
+
this.w56_1 = get_number(yearMonth.p56());
|
|
1155
1155
|
};
|
|
1156
|
-
protoOf(IncompleteYearMonth).
|
|
1157
|
-
return new IncompleteYearMonth(this.
|
|
1156
|
+
protoOf(IncompleteYearMonth).u56 = function () {
|
|
1157
|
+
return new IncompleteYearMonth(this.v56_1, this.w56_1);
|
|
1158
1158
|
};
|
|
1159
1159
|
protoOf(IncompleteYearMonth).equals = function (other) {
|
|
1160
1160
|
var tmp;
|
|
1161
1161
|
var tmp_0;
|
|
1162
1162
|
if (other instanceof IncompleteYearMonth) {
|
|
1163
|
-
tmp_0 = this.
|
|
1163
|
+
tmp_0 = this.v56_1 == other.v56_1;
|
|
1164
1164
|
} else {
|
|
1165
1165
|
tmp_0 = false;
|
|
1166
1166
|
}
|
|
1167
1167
|
if (tmp_0) {
|
|
1168
|
-
tmp = this.
|
|
1168
|
+
tmp = this.w56_1 == other.w56_1;
|
|
1169
1169
|
} else {
|
|
1170
1170
|
tmp = false;
|
|
1171
1171
|
}
|
|
@@ -1173,19 +1173,19 @@ protoOf(IncompleteYearMonth).equals = function (other) {
|
|
|
1173
1173
|
};
|
|
1174
1174
|
protoOf(IncompleteYearMonth).hashCode = function () {
|
|
1175
1175
|
// Inline function 'kotlin.hashCode' call
|
|
1176
|
-
var tmp0_safe_receiver = this.
|
|
1176
|
+
var tmp0_safe_receiver = this.v56_1;
|
|
1177
1177
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
1178
1178
|
var tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
1179
1179
|
var tmp = imul(tmp$ret$0, 31);
|
|
1180
1180
|
// Inline function 'kotlin.hashCode' call
|
|
1181
|
-
var tmp0_safe_receiver_0 = this.
|
|
1181
|
+
var tmp0_safe_receiver_0 = this.w56_1;
|
|
1182
1182
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
1183
1183
|
return tmp + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
1184
1184
|
};
|
|
1185
1185
|
protoOf(IncompleteYearMonth).toString = function () {
|
|
1186
|
-
var tmp0_elvis_lhs = this.
|
|
1186
|
+
var tmp0_elvis_lhs = this.v56_1;
|
|
1187
1187
|
var tmp = toString(tmp0_elvis_lhs == null ? '??' : tmp0_elvis_lhs);
|
|
1188
|
-
var tmp1_elvis_lhs = this.
|
|
1188
|
+
var tmp1_elvis_lhs = this.w56_1;
|
|
1189
1189
|
return tmp + '-' + toString(tmp1_elvis_lhs == null ? '??' : tmp1_elvis_lhs);
|
|
1190
1190
|
};
|
|
1191
1191
|
function requireParsedField(field, name) {
|
|
@@ -1199,118 +1199,118 @@ function AbstractWithYearMonthBuilder() {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
function Companion_5() {
|
|
1201
1201
|
}
|
|
1202
|
-
protoOf(Companion_5).
|
|
1202
|
+
protoOf(Companion_5).u57 = function (block) {
|
|
1203
1203
|
var builder = new Builder_0(new AppendableFormatStructure());
|
|
1204
1204
|
block(builder);
|
|
1205
|
-
return new YearMonthFormat(builder.
|
|
1205
|
+
return new YearMonthFormat(builder.y2l());
|
|
1206
1206
|
};
|
|
1207
1207
|
var Companion_instance_5;
|
|
1208
1208
|
function Companion_getInstance_5() {
|
|
1209
1209
|
return Companion_instance_5;
|
|
1210
1210
|
}
|
|
1211
1211
|
function Builder_0(actualBuilder) {
|
|
1212
|
-
this.
|
|
1212
|
+
this.v57_1 = actualBuilder;
|
|
1213
1213
|
}
|
|
1214
|
-
protoOf(Builder_0).
|
|
1215
|
-
return this.
|
|
1214
|
+
protoOf(Builder_0).w55 = function () {
|
|
1215
|
+
return this.v57_1;
|
|
1216
1216
|
};
|
|
1217
|
-
protoOf(Builder_0).
|
|
1218
|
-
return this.
|
|
1217
|
+
protoOf(Builder_0).a57 = function (structure) {
|
|
1218
|
+
return this.v57_1.y55(structure);
|
|
1219
1219
|
};
|
|
1220
1220
|
function YearMonthFormat(actualFormat) {
|
|
1221
1221
|
AbstractDateTimeFormat.call(this);
|
|
1222
|
-
this.
|
|
1222
|
+
this.w57_1 = actualFormat;
|
|
1223
1223
|
}
|
|
1224
|
-
protoOf(YearMonthFormat).
|
|
1225
|
-
return this.
|
|
1224
|
+
protoOf(YearMonthFormat).f55 = function () {
|
|
1225
|
+
return this.w57_1;
|
|
1226
1226
|
};
|
|
1227
|
-
protoOf(YearMonthFormat).
|
|
1227
|
+
protoOf(YearMonthFormat).x57 = function (value) {
|
|
1228
1228
|
// Inline function 'kotlin.apply' call
|
|
1229
1229
|
var this_0 = new IncompleteYearMonth();
|
|
1230
|
-
this_0.
|
|
1230
|
+
this_0.r57(value);
|
|
1231
1231
|
return this_0;
|
|
1232
1232
|
};
|
|
1233
|
-
protoOf(YearMonthFormat).
|
|
1234
|
-
return this.
|
|
1233
|
+
protoOf(YearMonthFormat).g55 = function (value) {
|
|
1234
|
+
return this.x57(value instanceof YearMonth ? value : THROW_CCE());
|
|
1235
1235
|
};
|
|
1236
|
-
protoOf(YearMonthFormat).
|
|
1237
|
-
return intermediate.
|
|
1236
|
+
protoOf(YearMonthFormat).y57 = function (intermediate) {
|
|
1237
|
+
return intermediate.q57();
|
|
1238
1238
|
};
|
|
1239
|
-
protoOf(YearMonthFormat).
|
|
1240
|
-
return this.
|
|
1239
|
+
protoOf(YearMonthFormat).h55 = function (intermediate) {
|
|
1240
|
+
return this.y57(intermediate instanceof IncompleteYearMonth ? intermediate : THROW_CCE());
|
|
1241
1241
|
};
|
|
1242
|
-
protoOf(YearMonthFormat).
|
|
1242
|
+
protoOf(YearMonthFormat).i55 = function () {
|
|
1243
1243
|
return get_emptyIncompleteYearMonth();
|
|
1244
1244
|
};
|
|
1245
1245
|
function YearDirective(padding, isYearOfEra) {
|
|
1246
1246
|
isYearOfEra = isYearOfEra === VOID ? false : isYearOfEra;
|
|
1247
|
-
var tmp = YearMonthFields_getInstance().
|
|
1247
|
+
var tmp = YearMonthFields_getInstance().z57_1;
|
|
1248
1248
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
1249
1249
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 4 : 1;
|
|
1250
1250
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1251
1251
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 4 : null;
|
|
1252
1252
|
SignedIntFieldFormatDirective.call(this, tmp, tmp_0, null, tmp$ret$1, 4);
|
|
1253
|
-
this.
|
|
1254
|
-
this.
|
|
1253
|
+
this.g58_1 = padding;
|
|
1254
|
+
this.h58_1 = isYearOfEra;
|
|
1255
1255
|
}
|
|
1256
1256
|
protoOf(YearDirective).equals = function (other) {
|
|
1257
1257
|
var tmp;
|
|
1258
1258
|
var tmp_0;
|
|
1259
1259
|
if (other instanceof YearDirective) {
|
|
1260
|
-
tmp_0 = this.
|
|
1260
|
+
tmp_0 = this.g58_1.equals(other.g58_1);
|
|
1261
1261
|
} else {
|
|
1262
1262
|
tmp_0 = false;
|
|
1263
1263
|
}
|
|
1264
1264
|
if (tmp_0) {
|
|
1265
|
-
tmp = this.
|
|
1265
|
+
tmp = this.h58_1 === other.h58_1;
|
|
1266
1266
|
} else {
|
|
1267
1267
|
tmp = false;
|
|
1268
1268
|
}
|
|
1269
1269
|
return tmp;
|
|
1270
1270
|
};
|
|
1271
1271
|
protoOf(YearDirective).hashCode = function () {
|
|
1272
|
-
return imul(this.
|
|
1272
|
+
return imul(this.g58_1.hashCode(), 31) + getBooleanHashCode(this.h58_1) | 0;
|
|
1273
1273
|
};
|
|
1274
1274
|
function MonthDirective(padding) {
|
|
1275
|
-
var tmp = YearMonthFields_getInstance().
|
|
1275
|
+
var tmp = YearMonthFields_getInstance().a58_1;
|
|
1276
1276
|
// Inline function 'kotlinx.datetime.format.minDigits' call
|
|
1277
1277
|
var tmp_0 = padding.equals(Padding_ZERO_getInstance()) ? 2 : 1;
|
|
1278
1278
|
// Inline function 'kotlinx.datetime.format.spaces' call
|
|
1279
1279
|
var tmp$ret$1 = padding.equals(Padding_SPACE_getInstance()) ? 2 : null;
|
|
1280
1280
|
UnsignedIntFieldFormatDirective.call(this, tmp, tmp_0, tmp$ret$1);
|
|
1281
|
-
this.
|
|
1281
|
+
this.r58_1 = padding;
|
|
1282
1282
|
}
|
|
1283
1283
|
protoOf(MonthDirective).equals = function (other) {
|
|
1284
1284
|
var tmp;
|
|
1285
1285
|
if (other instanceof MonthDirective) {
|
|
1286
|
-
tmp = this.
|
|
1286
|
+
tmp = this.r58_1.equals(other.r58_1);
|
|
1287
1287
|
} else {
|
|
1288
1288
|
tmp = false;
|
|
1289
1289
|
}
|
|
1290
1290
|
return tmp;
|
|
1291
1291
|
};
|
|
1292
1292
|
protoOf(MonthDirective).hashCode = function () {
|
|
1293
|
-
return this.
|
|
1293
|
+
return this.r58_1.hashCode();
|
|
1294
1294
|
};
|
|
1295
1295
|
function YearMonthFieldContainer$_get_year_$ref_7j3zdj() {
|
|
1296
1296
|
return function (p0) {
|
|
1297
|
-
return p0.
|
|
1297
|
+
return p0.l56();
|
|
1298
1298
|
};
|
|
1299
1299
|
}
|
|
1300
1300
|
function YearMonthFieldContainer$_set_year_$ref_kc0aub() {
|
|
1301
1301
|
return function (p0, p1) {
|
|
1302
|
-
p0.
|
|
1302
|
+
p0.s56(p1);
|
|
1303
1303
|
return Unit_instance;
|
|
1304
1304
|
};
|
|
1305
1305
|
}
|
|
1306
1306
|
function YearMonthFieldContainer$_get_monthNumber_$ref_pn0wu5() {
|
|
1307
1307
|
return function (p0) {
|
|
1308
|
-
return p0.
|
|
1308
|
+
return p0.q56();
|
|
1309
1309
|
};
|
|
1310
1310
|
}
|
|
1311
1311
|
function YearMonthFieldContainer$_set_monthNumber_$ref_fjapbl() {
|
|
1312
1312
|
return function (p0, p1) {
|
|
1313
|
-
p0.
|
|
1313
|
+
p0.t56(p1);
|
|
1314
1314
|
return Unit_instance;
|
|
1315
1315
|
};
|
|
1316
1316
|
}
|
|
@@ -1319,11 +1319,11 @@ function YearMonthFields() {
|
|
|
1319
1319
|
var tmp = this;
|
|
1320
1320
|
var tmp_0 = KMutableProperty1;
|
|
1321
1321
|
var tmp_1 = YearMonthFieldContainer$_get_year_$ref_7j3zdj();
|
|
1322
|
-
tmp.
|
|
1322
|
+
tmp.z57_1 = new GenericFieldSpec(new PropertyAccessor(getPropertyCallableRef('year', 1, tmp_0, tmp_1, YearMonthFieldContainer$_set_year_$ref_kc0aub())));
|
|
1323
1323
|
var tmp_2 = this;
|
|
1324
1324
|
var tmp_3 = KMutableProperty1;
|
|
1325
1325
|
var tmp_4 = YearMonthFieldContainer$_get_monthNumber_$ref_pn0wu5();
|
|
1326
|
-
tmp_2.
|
|
1326
|
+
tmp_2.a58_1 = new UnsignedFieldSpec(new PropertyAccessor(getPropertyCallableRef('monthNumber', 1, tmp_3, tmp_4, YearMonthFieldContainer$_set_monthNumber_$ref_fjapbl())), 1, 12);
|
|
1327
1327
|
}
|
|
1328
1328
|
var YearMonthFields_instance;
|
|
1329
1329
|
function YearMonthFields_getInstance() {
|
|
@@ -1334,13 +1334,13 @@ function YearMonthFields_getInstance() {
|
|
|
1334
1334
|
function ISO_YEAR_MONTH$delegate$lambda() {
|
|
1335
1335
|
_init_properties_YearMonthFormat_kt__i0mmu0();
|
|
1336
1336
|
var tmp = Companion_instance_5;
|
|
1337
|
-
return tmp.
|
|
1337
|
+
return tmp.u57(ISO_YEAR_MONTH$delegate$lambda$lambda);
|
|
1338
1338
|
}
|
|
1339
1339
|
function ISO_YEAR_MONTH$delegate$lambda$lambda($this$build) {
|
|
1340
1340
|
_init_properties_YearMonthFormat_kt__i0mmu0();
|
|
1341
|
-
$this$build.
|
|
1341
|
+
$this$build.q55();
|
|
1342
1342
|
char($this$build, _Char___init__impl__6a9atx(45));
|
|
1343
|
-
$this$build.
|
|
1343
|
+
$this$build.s55();
|
|
1344
1344
|
return Unit_instance;
|
|
1345
1345
|
}
|
|
1346
1346
|
function _get_ISO_YEAR_MONTH_$ref_y3tv9a() {
|
|
@@ -1390,21 +1390,21 @@ function isLeapYear(year) {
|
|
|
1390
1390
|
function AppendableFormatStructure() {
|
|
1391
1391
|
var tmp = this;
|
|
1392
1392
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1393
|
-
tmp.
|
|
1393
|
+
tmp.x55_1 = ArrayList_init_$Create$();
|
|
1394
1394
|
}
|
|
1395
|
-
protoOf(AppendableFormatStructure).
|
|
1396
|
-
return new ConcatenatedFormatStructure(this.
|
|
1395
|
+
protoOf(AppendableFormatStructure).y2l = function () {
|
|
1396
|
+
return new ConcatenatedFormatStructure(this.x55_1);
|
|
1397
1397
|
};
|
|
1398
|
-
protoOf(AppendableFormatStructure).
|
|
1398
|
+
protoOf(AppendableFormatStructure).y55 = function (format) {
|
|
1399
1399
|
if (isInterface(format, NonConcatenatedFormatStructure))
|
|
1400
|
-
this.
|
|
1400
|
+
this.x55_1.e1(format);
|
|
1401
1401
|
else {
|
|
1402
1402
|
if (format instanceof ConcatenatedFormatStructure) {
|
|
1403
1403
|
// Inline function 'kotlin.collections.forEach' call
|
|
1404
|
-
var _iterator__ex2g4s = format.
|
|
1404
|
+
var _iterator__ex2g4s = format.z55_1.t();
|
|
1405
1405
|
while (_iterator__ex2g4s.u()) {
|
|
1406
1406
|
var element = _iterator__ex2g4s.v();
|
|
1407
|
-
this.
|
|
1407
|
+
this.x55_1.e1(element);
|
|
1408
1408
|
}
|
|
1409
1409
|
} else {
|
|
1410
1410
|
noWhenBranchMatchedException();
|
|
@@ -1413,106 +1413,106 @@ protoOf(AppendableFormatStructure).m55 = function (format) {
|
|
|
1413
1413
|
};
|
|
1414
1414
|
function Accessor$getterNotNull$ref(p0) {
|
|
1415
1415
|
var l = function (_this__u8e3s4) {
|
|
1416
|
-
return p0.
|
|
1416
|
+
return p0.s58(_this__u8e3s4);
|
|
1417
1417
|
};
|
|
1418
1418
|
l.callableName = 'getterNotNull';
|
|
1419
1419
|
return l;
|
|
1420
1420
|
}
|
|
1421
1421
|
function UnsignedIntFieldFormatDirective(field, minDigits, spacePadding) {
|
|
1422
|
-
this.
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1422
|
+
this.m57_1 = field;
|
|
1423
|
+
this.n57_1 = minDigits;
|
|
1424
|
+
this.o57_1 = spacePadding;
|
|
1425
|
+
this.p57_1 = this.m57_1.z58_1;
|
|
1426
1426
|
// Inline function 'kotlin.require' call
|
|
1427
|
-
if (!(this.
|
|
1428
|
-
var message = 'The minimum number of digits (' + this.
|
|
1427
|
+
if (!(this.n57_1 >= 0)) {
|
|
1428
|
+
var message = 'The minimum number of digits (' + this.n57_1 + ') is negative';
|
|
1429
1429
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1430
1430
|
}
|
|
1431
1431
|
// Inline function 'kotlin.require' call
|
|
1432
|
-
if (!(this.
|
|
1433
|
-
var message_0 = 'The maximum number of digits (' + this.
|
|
1432
|
+
if (!(this.p57_1 >= this.n57_1)) {
|
|
1433
|
+
var message_0 = 'The maximum number of digits (' + this.p57_1 + ') is less than the minimum number of digits (' + this.n57_1 + ')';
|
|
1434
1434
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1435
1435
|
}
|
|
1436
|
-
if (!(this.
|
|
1436
|
+
if (!(this.o57_1 == null)) {
|
|
1437
1437
|
// Inline function 'kotlin.require' call
|
|
1438
|
-
if (!(this.
|
|
1439
|
-
var message_1 = 'The space padding (' + this.
|
|
1438
|
+
if (!(this.o57_1 > this.n57_1)) {
|
|
1439
|
+
var message_1 = 'The space padding (' + this.o57_1 + ') should be more than the minimum number of digits (' + this.n57_1 + ')';
|
|
1440
1440
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
|
-
protoOf(UnsignedIntFieldFormatDirective).
|
|
1445
|
-
var formatter = new UnsignedIntFormatterStructure(Accessor$getterNotNull$ref(this.
|
|
1446
|
-
return !(this.
|
|
1444
|
+
protoOf(UnsignedIntFieldFormatDirective).m55 = function () {
|
|
1445
|
+
var formatter = new UnsignedIntFormatterStructure(Accessor$getterNotNull$ref(this.m57_1.t58_1), this.n57_1);
|
|
1446
|
+
return !(this.o57_1 == null) ? new SpacePaddedFormatter(formatter, this.o57_1) : formatter;
|
|
1447
1447
|
};
|
|
1448
|
-
protoOf(UnsignedIntFieldFormatDirective).
|
|
1449
|
-
return spaceAndZeroPaddedUnsignedInt(this.
|
|
1448
|
+
protoOf(UnsignedIntFieldFormatDirective).o55 = function () {
|
|
1449
|
+
return spaceAndZeroPaddedUnsignedInt(this.n57_1, this.p57_1, this.o57_1, this.m57_1.t58_1, this.m57_1.w58_1);
|
|
1450
1450
|
};
|
|
1451
1451
|
function Accessor$getterNotNull$ref_0(p0) {
|
|
1452
1452
|
var l = function (_this__u8e3s4) {
|
|
1453
|
-
return p0.
|
|
1453
|
+
return p0.s58(_this__u8e3s4);
|
|
1454
1454
|
};
|
|
1455
1455
|
l.callableName = 'getterNotNull';
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
1458
|
function SignedIntFieldFormatDirective(field, minDigits, maxDigits, spacePadding, outputPlusOnExceededWidth) {
|
|
1459
|
-
this.
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1459
|
+
this.i58_1 = field;
|
|
1460
|
+
this.j58_1 = minDigits;
|
|
1461
|
+
this.k58_1 = maxDigits;
|
|
1462
|
+
this.l58_1 = spacePadding;
|
|
1463
|
+
this.m58_1 = outputPlusOnExceededWidth;
|
|
1464
1464
|
// Inline function 'kotlin.require' call
|
|
1465
|
-
if (!(this.
|
|
1466
|
-
var message = 'The minimum number of digits (' + this.
|
|
1465
|
+
if (!(this.j58_1 == null || this.j58_1 >= 0)) {
|
|
1466
|
+
var message = 'The minimum number of digits (' + this.j58_1 + ') is negative';
|
|
1467
1467
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1468
1468
|
}
|
|
1469
1469
|
// Inline function 'kotlin.require' call
|
|
1470
|
-
if (!(this.
|
|
1471
|
-
var message_0 = 'The maximum number of digits (' + this.
|
|
1470
|
+
if (!(this.k58_1 == null || this.j58_1 == null || this.k58_1 >= this.j58_1)) {
|
|
1471
|
+
var message_0 = 'The maximum number of digits (' + this.k58_1 + ') is less than the minimum number of digits (' + this.j58_1 + ')';
|
|
1472
1472
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
|
-
protoOf(SignedIntFieldFormatDirective).
|
|
1476
|
-
var tmp = Accessor$getterNotNull$ref_0(this.
|
|
1477
|
-
var tmp0_elvis_lhs = this.
|
|
1478
|
-
var formatter = new SignedIntFormatterStructure(tmp, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, this.
|
|
1479
|
-
return !(this.
|
|
1475
|
+
protoOf(SignedIntFieldFormatDirective).m55 = function () {
|
|
1476
|
+
var tmp = Accessor$getterNotNull$ref_0(this.i58_1.a59());
|
|
1477
|
+
var tmp0_elvis_lhs = this.j58_1;
|
|
1478
|
+
var formatter = new SignedIntFormatterStructure(tmp, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs, this.m58_1);
|
|
1479
|
+
return !(this.l58_1 == null) ? new SpacePaddedFormatter(formatter, this.l58_1) : formatter;
|
|
1480
1480
|
};
|
|
1481
|
-
protoOf(SignedIntFieldFormatDirective).
|
|
1482
|
-
return SignedIntParser(this.
|
|
1481
|
+
protoOf(SignedIntFieldFormatDirective).o55 = function () {
|
|
1482
|
+
return SignedIntParser(this.j58_1, this.k58_1, this.l58_1, this.i58_1.a59(), this.i58_1.m(), this.m58_1);
|
|
1483
1483
|
};
|
|
1484
1484
|
function GenericFieldSpec(accessor, name, defaultValue, sign) {
|
|
1485
1485
|
name = name === VOID ? accessor.m() : name;
|
|
1486
1486
|
defaultValue = defaultValue === VOID ? null : defaultValue;
|
|
1487
1487
|
sign = sign === VOID ? null : sign;
|
|
1488
1488
|
AbstractFieldSpec.call(this);
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1489
|
+
this.b59_1 = accessor;
|
|
1490
|
+
this.c59_1 = name;
|
|
1491
|
+
this.d59_1 = defaultValue;
|
|
1492
|
+
this.e59_1 = sign;
|
|
1493
1493
|
}
|
|
1494
|
-
protoOf(GenericFieldSpec).
|
|
1495
|
-
return this.
|
|
1494
|
+
protoOf(GenericFieldSpec).a59 = function () {
|
|
1495
|
+
return this.b59_1;
|
|
1496
1496
|
};
|
|
1497
1497
|
protoOf(GenericFieldSpec).m = function () {
|
|
1498
|
-
return this.
|
|
1498
|
+
return this.c59_1;
|
|
1499
1499
|
};
|
|
1500
|
-
protoOf(GenericFieldSpec).
|
|
1501
|
-
return this.
|
|
1500
|
+
protoOf(GenericFieldSpec).f59 = function () {
|
|
1501
|
+
return this.d59_1;
|
|
1502
1502
|
};
|
|
1503
1503
|
function PropertyAccessor(property, name) {
|
|
1504
1504
|
name = name === VOID ? property.callableName : name;
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1505
|
+
this.g59_1 = property;
|
|
1506
|
+
this.h59_1 = name;
|
|
1507
1507
|
}
|
|
1508
1508
|
protoOf(PropertyAccessor).m = function () {
|
|
1509
|
-
return this.
|
|
1509
|
+
return this.h59_1;
|
|
1510
1510
|
};
|
|
1511
|
-
protoOf(PropertyAccessor).
|
|
1512
|
-
var oldValue = this.
|
|
1511
|
+
protoOf(PropertyAccessor).i59 = function (container, newValue) {
|
|
1512
|
+
var oldValue = this.g59_1.get(container);
|
|
1513
1513
|
var tmp;
|
|
1514
1514
|
if (oldValue === null) {
|
|
1515
|
-
this.
|
|
1515
|
+
this.g59_1.set(container, newValue);
|
|
1516
1516
|
tmp = null;
|
|
1517
1517
|
} else if (equals(oldValue, newValue)) {
|
|
1518
1518
|
tmp = null;
|
|
@@ -1521,110 +1521,109 @@ protoOf(PropertyAccessor).w58 = function (container, newValue) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
return tmp;
|
|
1523
1523
|
};
|
|
1524
|
-
protoOf(PropertyAccessor).
|
|
1525
|
-
|
|
1526
|
-
return this.w58(tmp, (newValue == null ? true : !(newValue == null)) ? newValue : THROW_CCE());
|
|
1524
|
+
protoOf(PropertyAccessor).j59 = function (container, newValue) {
|
|
1525
|
+
return this.i59(container, newValue);
|
|
1527
1526
|
};
|
|
1528
|
-
protoOf(PropertyAccessor).
|
|
1529
|
-
return this.
|
|
1527
|
+
protoOf(PropertyAccessor).k59 = function (container) {
|
|
1528
|
+
return this.g59_1.get(container);
|
|
1530
1529
|
};
|
|
1531
1530
|
function UnsignedFieldSpec(accessor, minValue, maxValue, name, defaultValue, sign) {
|
|
1532
1531
|
name = name === VOID ? accessor.m() : name;
|
|
1533
1532
|
defaultValue = defaultValue === VOID ? null : defaultValue;
|
|
1534
1533
|
sign = sign === VOID ? null : sign;
|
|
1535
1534
|
AbstractFieldSpec.call(this);
|
|
1536
|
-
this.
|
|
1537
|
-
this.
|
|
1538
|
-
this.
|
|
1539
|
-
this.
|
|
1540
|
-
this.
|
|
1541
|
-
this.
|
|
1535
|
+
this.t58_1 = accessor;
|
|
1536
|
+
this.u58_1 = minValue;
|
|
1537
|
+
this.v58_1 = maxValue;
|
|
1538
|
+
this.w58_1 = name;
|
|
1539
|
+
this.x58_1 = defaultValue;
|
|
1540
|
+
this.y58_1 = sign;
|
|
1542
1541
|
var tmp = this;
|
|
1543
1542
|
var tmp_0;
|
|
1544
|
-
if (this.
|
|
1543
|
+
if (this.v58_1 < 10) {
|
|
1545
1544
|
tmp_0 = 1;
|
|
1546
|
-
} else if (this.
|
|
1545
|
+
} else if (this.v58_1 < 100) {
|
|
1547
1546
|
tmp_0 = 2;
|
|
1548
|
-
} else if (this.
|
|
1547
|
+
} else if (this.v58_1 < 1000) {
|
|
1549
1548
|
tmp_0 = 3;
|
|
1550
1549
|
} else {
|
|
1551
|
-
throw IllegalArgumentException_init_$Create$('Max value ' + this.
|
|
1550
|
+
throw IllegalArgumentException_init_$Create$('Max value ' + this.v58_1 + ' is too large');
|
|
1552
1551
|
}
|
|
1553
|
-
tmp.
|
|
1552
|
+
tmp.z58_1 = tmp_0;
|
|
1554
1553
|
}
|
|
1555
|
-
protoOf(UnsignedFieldSpec).
|
|
1556
|
-
return this.
|
|
1554
|
+
protoOf(UnsignedFieldSpec).a59 = function () {
|
|
1555
|
+
return this.t58_1;
|
|
1557
1556
|
};
|
|
1558
1557
|
protoOf(UnsignedFieldSpec).m = function () {
|
|
1559
|
-
return this.
|
|
1558
|
+
return this.w58_1;
|
|
1560
1559
|
};
|
|
1561
|
-
protoOf(UnsignedFieldSpec).
|
|
1562
|
-
return this.
|
|
1560
|
+
protoOf(UnsignedFieldSpec).f59 = function () {
|
|
1561
|
+
return this.x58_1;
|
|
1563
1562
|
};
|
|
1564
1563
|
function Accessor() {
|
|
1565
1564
|
}
|
|
1566
1565
|
function AbstractFieldSpec() {
|
|
1567
1566
|
}
|
|
1568
1567
|
protoOf(AbstractFieldSpec).toString = function () {
|
|
1569
|
-
return 'The field ' + this.m() + ' (default value is ' + toString_1(this.
|
|
1568
|
+
return 'The field ' + this.m() + ' (default value is ' + toString_1(this.f59()) + ')';
|
|
1570
1569
|
};
|
|
1571
1570
|
function CachedFormatStructure(formats) {
|
|
1572
1571
|
ConcatenatedFormatStructure.call(this, formats);
|
|
1573
|
-
this.
|
|
1574
|
-
this.
|
|
1572
|
+
this.k55_1 = protoOf(ConcatenatedFormatStructure).m55.call(this);
|
|
1573
|
+
this.l55_1 = protoOf(ConcatenatedFormatStructure).o55.call(this);
|
|
1575
1574
|
}
|
|
1576
|
-
protoOf(CachedFormatStructure).
|
|
1577
|
-
return this.
|
|
1575
|
+
protoOf(CachedFormatStructure).m55 = function () {
|
|
1576
|
+
return this.k55_1;
|
|
1578
1577
|
};
|
|
1579
|
-
protoOf(CachedFormatStructure).
|
|
1580
|
-
return this.
|
|
1578
|
+
protoOf(CachedFormatStructure).o55 = function () {
|
|
1579
|
+
return this.l55_1;
|
|
1581
1580
|
};
|
|
1582
1581
|
function BasicFormatStructure(directive) {
|
|
1583
|
-
this.
|
|
1582
|
+
this.l59_1 = directive;
|
|
1584
1583
|
}
|
|
1585
1584
|
protoOf(BasicFormatStructure).toString = function () {
|
|
1586
|
-
return 'BasicFormatStructure(' + toString(this.
|
|
1585
|
+
return 'BasicFormatStructure(' + toString(this.l59_1) + ')';
|
|
1587
1586
|
};
|
|
1588
1587
|
protoOf(BasicFormatStructure).equals = function (other) {
|
|
1589
1588
|
var tmp;
|
|
1590
1589
|
if (other instanceof BasicFormatStructure) {
|
|
1591
|
-
tmp = equals(this.
|
|
1590
|
+
tmp = equals(this.l59_1, other.l59_1);
|
|
1592
1591
|
} else {
|
|
1593
1592
|
tmp = false;
|
|
1594
1593
|
}
|
|
1595
1594
|
return tmp;
|
|
1596
1595
|
};
|
|
1597
1596
|
protoOf(BasicFormatStructure).hashCode = function () {
|
|
1598
|
-
return hashCode(this.
|
|
1597
|
+
return hashCode(this.l59_1);
|
|
1599
1598
|
};
|
|
1600
|
-
protoOf(BasicFormatStructure).
|
|
1601
|
-
return this.
|
|
1599
|
+
protoOf(BasicFormatStructure).o55 = function () {
|
|
1600
|
+
return this.l59_1.o55();
|
|
1602
1601
|
};
|
|
1603
|
-
protoOf(BasicFormatStructure).
|
|
1604
|
-
return this.
|
|
1602
|
+
protoOf(BasicFormatStructure).m55 = function () {
|
|
1603
|
+
return this.l59_1.m55();
|
|
1605
1604
|
};
|
|
1606
1605
|
function ConstantFormatStructure(string) {
|
|
1607
|
-
this.
|
|
1606
|
+
this.m59_1 = string;
|
|
1608
1607
|
}
|
|
1609
1608
|
protoOf(ConstantFormatStructure).toString = function () {
|
|
1610
|
-
return 'ConstantFormatStructure(' + this.
|
|
1609
|
+
return 'ConstantFormatStructure(' + this.m59_1 + ')';
|
|
1611
1610
|
};
|
|
1612
1611
|
protoOf(ConstantFormatStructure).equals = function (other) {
|
|
1613
1612
|
var tmp;
|
|
1614
1613
|
if (other instanceof ConstantFormatStructure) {
|
|
1615
|
-
tmp = this.
|
|
1614
|
+
tmp = this.m59_1 === other.m59_1;
|
|
1616
1615
|
} else {
|
|
1617
1616
|
tmp = false;
|
|
1618
1617
|
}
|
|
1619
1618
|
return tmp;
|
|
1620
1619
|
};
|
|
1621
1620
|
protoOf(ConstantFormatStructure).hashCode = function () {
|
|
1622
|
-
return getStringHashCode(this.
|
|
1621
|
+
return getStringHashCode(this.m59_1);
|
|
1623
1622
|
};
|
|
1624
|
-
protoOf(ConstantFormatStructure).
|
|
1623
|
+
protoOf(ConstantFormatStructure).o55 = function () {
|
|
1625
1624
|
var tmp;
|
|
1626
1625
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1627
|
-
var this_0 = this.
|
|
1626
|
+
var this_0 = this.m59_1;
|
|
1628
1627
|
if (charSequenceLength(this_0) === 0) {
|
|
1629
1628
|
tmp = emptyList();
|
|
1630
1629
|
} else {
|
|
@@ -1633,9 +1632,9 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1633
1632
|
// Inline function 'kotlin.apply' call
|
|
1634
1633
|
var this_1 = ArrayList_init_$Create$();
|
|
1635
1634
|
var tmp_0;
|
|
1636
|
-
if (isAsciiDigit(charCodeAt(this.
|
|
1637
|
-
var tmp0 = this.
|
|
1638
|
-
var tmp$ret$
|
|
1635
|
+
if (isAsciiDigit(charCodeAt(this.m59_1, 0))) {
|
|
1636
|
+
var tmp0 = this.m59_1;
|
|
1637
|
+
var tmp$ret$5;
|
|
1639
1638
|
$l$block: {
|
|
1640
1639
|
// Inline function 'kotlin.text.takeWhile' call
|
|
1641
1640
|
var inductionVariable = 0;
|
|
@@ -1646,16 +1645,16 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1646
1645
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1647
1646
|
var it = charCodeAt(tmp0, index);
|
|
1648
1647
|
if (!isAsciiDigit(it)) {
|
|
1649
|
-
tmp$ret$
|
|
1648
|
+
tmp$ret$5 = substring(tmp0, 0, index);
|
|
1650
1649
|
break $l$block;
|
|
1651
1650
|
}
|
|
1652
1651
|
}
|
|
1653
1652
|
while (inductionVariable < last);
|
|
1654
|
-
tmp$ret$
|
|
1653
|
+
tmp$ret$5 = tmp0;
|
|
1655
1654
|
}
|
|
1656
|
-
this_1.e1(new NumberSpanParserOperation(listOf(new ConstantNumberConsumer(tmp$ret$
|
|
1657
|
-
var tmp0_0 = this.
|
|
1658
|
-
var tmp$ret$
|
|
1655
|
+
this_1.e1(new NumberSpanParserOperation(listOf(new ConstantNumberConsumer(tmp$ret$5))));
|
|
1656
|
+
var tmp0_0 = this.m59_1;
|
|
1657
|
+
var tmp$ret$7;
|
|
1659
1658
|
$l$block_0: {
|
|
1660
1659
|
// Inline function 'kotlin.text.dropWhile' call
|
|
1661
1660
|
var inductionVariable_0 = 0;
|
|
@@ -1666,22 +1665,22 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1666
1665
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1667
1666
|
var it_0 = charCodeAt(tmp0_0, index_0);
|
|
1668
1667
|
if (!isAsciiDigit(it_0)) {
|
|
1669
|
-
tmp$ret$
|
|
1668
|
+
tmp$ret$7 = substring_0(tmp0_0, index_0);
|
|
1670
1669
|
break $l$block_0;
|
|
1671
1670
|
}
|
|
1672
1671
|
}
|
|
1673
1672
|
while (inductionVariable_0 <= last_0);
|
|
1674
|
-
tmp$ret$
|
|
1673
|
+
tmp$ret$7 = '';
|
|
1675
1674
|
}
|
|
1676
|
-
tmp_0 = tmp$ret$
|
|
1675
|
+
tmp_0 = tmp$ret$7;
|
|
1677
1676
|
} else {
|
|
1678
|
-
tmp_0 = this.
|
|
1677
|
+
tmp_0 = this.m59_1;
|
|
1679
1678
|
}
|
|
1680
1679
|
var suffix = tmp_0;
|
|
1681
1680
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1682
1681
|
if (charSequenceLength(suffix) > 0) {
|
|
1683
1682
|
if (isAsciiDigit(charCodeAt(suffix, suffix.length - 1 | 0))) {
|
|
1684
|
-
var tmp$ret$
|
|
1683
|
+
var tmp$ret$10;
|
|
1685
1684
|
$l$block_1: {
|
|
1686
1685
|
// Inline function 'kotlin.text.dropLastWhile' call
|
|
1687
1686
|
var inductionVariable_1 = get_lastIndex(suffix);
|
|
@@ -1691,15 +1690,15 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1691
1690
|
inductionVariable_1 = inductionVariable_1 + -1 | 0;
|
|
1692
1691
|
var it_1 = charCodeAt(suffix, index_1);
|
|
1693
1692
|
if (!isAsciiDigit(it_1)) {
|
|
1694
|
-
tmp$ret$
|
|
1693
|
+
tmp$ret$10 = substring(suffix, 0, index_1 + 1 | 0);
|
|
1695
1694
|
break $l$block_1;
|
|
1696
1695
|
}
|
|
1697
1696
|
}
|
|
1698
1697
|
while (0 <= inductionVariable_1);
|
|
1699
|
-
tmp$ret$
|
|
1698
|
+
tmp$ret$10 = '';
|
|
1700
1699
|
}
|
|
1701
|
-
this_1.e1(new PlainStringParserOperation(tmp$ret$
|
|
1702
|
-
var tmp$ret$
|
|
1700
|
+
this_1.e1(new PlainStringParserOperation(tmp$ret$10));
|
|
1701
|
+
var tmp$ret$12;
|
|
1703
1702
|
$l$block_2: {
|
|
1704
1703
|
// Inline function 'kotlin.text.takeLastWhile' call
|
|
1705
1704
|
var inductionVariable_2 = get_lastIndex(suffix);
|
|
@@ -1709,14 +1708,14 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1709
1708
|
inductionVariable_2 = inductionVariable_2 + -1 | 0;
|
|
1710
1709
|
var it_2 = charCodeAt(suffix, index_2);
|
|
1711
1710
|
if (!isAsciiDigit(it_2)) {
|
|
1712
|
-
tmp$ret$
|
|
1711
|
+
tmp$ret$12 = substring_0(suffix, index_2 + 1 | 0);
|
|
1713
1712
|
break $l$block_2;
|
|
1714
1713
|
}
|
|
1715
1714
|
}
|
|
1716
1715
|
while (0 <= inductionVariable_2);
|
|
1717
|
-
tmp$ret$
|
|
1716
|
+
tmp$ret$12 = suffix;
|
|
1718
1717
|
}
|
|
1719
|
-
this_1.e1(new NumberSpanParserOperation(listOf(new ConstantNumberConsumer(tmp$ret$
|
|
1718
|
+
this_1.e1(new NumberSpanParserOperation(listOf(new ConstantNumberConsumer(tmp$ret$12))));
|
|
1720
1719
|
} else {
|
|
1721
1720
|
this_1.e1(new PlainStringParserOperation(suffix));
|
|
1722
1721
|
}
|
|
@@ -1725,50 +1724,50 @@ protoOf(ConstantFormatStructure).c55 = function () {
|
|
|
1725
1724
|
}
|
|
1726
1725
|
return new ParserStructure(tmp, emptyList());
|
|
1727
1726
|
};
|
|
1728
|
-
protoOf(ConstantFormatStructure).
|
|
1729
|
-
return new ConstantStringFormatterStructure(this.
|
|
1727
|
+
protoOf(ConstantFormatStructure).m55 = function () {
|
|
1728
|
+
return new ConstantStringFormatterStructure(this.m59_1);
|
|
1730
1729
|
};
|
|
1731
1730
|
function ConcatenatedFormatStructure(formats) {
|
|
1732
|
-
this.
|
|
1731
|
+
this.z55_1 = formats;
|
|
1733
1732
|
}
|
|
1734
1733
|
protoOf(ConcatenatedFormatStructure).toString = function () {
|
|
1735
|
-
return 'ConcatenatedFormatStructure(' + joinToString(this.
|
|
1734
|
+
return 'ConcatenatedFormatStructure(' + joinToString(this.z55_1, ', ') + ')';
|
|
1736
1735
|
};
|
|
1737
1736
|
protoOf(ConcatenatedFormatStructure).equals = function (other) {
|
|
1738
1737
|
var tmp;
|
|
1739
1738
|
if (other instanceof ConcatenatedFormatStructure) {
|
|
1740
|
-
tmp = equals(this.
|
|
1739
|
+
tmp = equals(this.z55_1, other.z55_1);
|
|
1741
1740
|
} else {
|
|
1742
1741
|
tmp = false;
|
|
1743
1742
|
}
|
|
1744
1743
|
return tmp;
|
|
1745
1744
|
};
|
|
1746
1745
|
protoOf(ConcatenatedFormatStructure).hashCode = function () {
|
|
1747
|
-
return hashCode(this.
|
|
1746
|
+
return hashCode(this.z55_1);
|
|
1748
1747
|
};
|
|
1749
|
-
protoOf(ConcatenatedFormatStructure).
|
|
1748
|
+
protoOf(ConcatenatedFormatStructure).o55 = function () {
|
|
1750
1749
|
// Inline function 'kotlin.collections.map' call
|
|
1751
|
-
var this_0 = this.
|
|
1750
|
+
var this_0 = this.z55_1;
|
|
1752
1751
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1753
1752
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
1754
1753
|
var _iterator__ex2g4s = this_0.t();
|
|
1755
1754
|
while (_iterator__ex2g4s.u()) {
|
|
1756
1755
|
var item = _iterator__ex2g4s.v();
|
|
1757
|
-
var tmp$ret$
|
|
1758
|
-
destination.e1(tmp$ret$
|
|
1756
|
+
var tmp$ret$2 = item.o55();
|
|
1757
|
+
destination.e1(tmp$ret$2);
|
|
1759
1758
|
}
|
|
1760
1759
|
return concat(destination);
|
|
1761
1760
|
};
|
|
1762
|
-
protoOf(ConcatenatedFormatStructure).
|
|
1761
|
+
protoOf(ConcatenatedFormatStructure).m55 = function () {
|
|
1763
1762
|
// Inline function 'kotlin.collections.map' call
|
|
1764
|
-
var this_0 = this.
|
|
1763
|
+
var this_0 = this.z55_1;
|
|
1765
1764
|
// Inline function 'kotlin.collections.mapTo' call
|
|
1766
1765
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
1767
1766
|
var _iterator__ex2g4s = this_0.t();
|
|
1768
1767
|
while (_iterator__ex2g4s.u()) {
|
|
1769
1768
|
var item = _iterator__ex2g4s.v();
|
|
1770
|
-
var tmp$ret$
|
|
1771
|
-
destination.e1(tmp$ret$
|
|
1769
|
+
var tmp$ret$2 = item.m55();
|
|
1770
|
+
destination.e1(tmp$ret$2);
|
|
1772
1771
|
}
|
|
1773
1772
|
var formatters = destination;
|
|
1774
1773
|
var tmp;
|
|
@@ -1784,16 +1783,16 @@ function NonConcatenatedFormatStructure() {
|
|
|
1784
1783
|
function FormatterStructure() {
|
|
1785
1784
|
}
|
|
1786
1785
|
function SpacePaddedFormatter(formatter, padding) {
|
|
1787
|
-
this.
|
|
1788
|
-
this.
|
|
1786
|
+
this.o59_1 = formatter;
|
|
1787
|
+
this.p59_1 = padding;
|
|
1789
1788
|
}
|
|
1790
|
-
protoOf(SpacePaddedFormatter).
|
|
1789
|
+
protoOf(SpacePaddedFormatter).n59 = function (obj, builder, minusNotRequired) {
|
|
1791
1790
|
// Inline function 'kotlin.let' call
|
|
1792
1791
|
var it = StringBuilder_init_$Create$();
|
|
1793
|
-
this.
|
|
1792
|
+
this.o59_1.n59(obj, it, minusNotRequired);
|
|
1794
1793
|
var string = it.toString();
|
|
1795
1794
|
// Inline function 'kotlin.repeat' call
|
|
1796
|
-
var times = this.
|
|
1795
|
+
var times = this.p59_1 - string.length | 0;
|
|
1797
1796
|
var inductionVariable = 0;
|
|
1798
1797
|
if (inductionVariable < times)
|
|
1799
1798
|
do {
|
|
@@ -1805,34 +1804,34 @@ protoOf(SpacePaddedFormatter).b59 = function (obj, builder, minusNotRequired) {
|
|
|
1805
1804
|
builder.f1(string);
|
|
1806
1805
|
};
|
|
1807
1806
|
function ConcatenatedFormatter(formatters) {
|
|
1808
|
-
this.
|
|
1807
|
+
this.q59_1 = formatters;
|
|
1809
1808
|
}
|
|
1810
|
-
protoOf(ConcatenatedFormatter).
|
|
1811
|
-
var _iterator__ex2g4s = this.
|
|
1809
|
+
protoOf(ConcatenatedFormatter).n59 = function (obj, builder, minusNotRequired) {
|
|
1810
|
+
var _iterator__ex2g4s = this.q59_1.t();
|
|
1812
1811
|
while (_iterator__ex2g4s.u()) {
|
|
1813
1812
|
var formatter = _iterator__ex2g4s.v();
|
|
1814
|
-
formatter.
|
|
1813
|
+
formatter.n59(obj, builder, minusNotRequired);
|
|
1815
1814
|
}
|
|
1816
1815
|
};
|
|
1817
1816
|
function UnsignedIntFormatterStructure(number, zeroPadding) {
|
|
1818
|
-
this.
|
|
1819
|
-
this.
|
|
1817
|
+
this.r59_1 = number;
|
|
1818
|
+
this.s59_1 = zeroPadding;
|
|
1820
1819
|
// Inline function 'kotlin.require' call
|
|
1821
|
-
if (!(this.
|
|
1822
|
-
var message = 'The minimum number of digits (' + this.
|
|
1820
|
+
if (!(this.s59_1 >= 0)) {
|
|
1821
|
+
var message = 'The minimum number of digits (' + this.s59_1 + ') is negative';
|
|
1823
1822
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1824
1823
|
}
|
|
1825
1824
|
// Inline function 'kotlin.require' call
|
|
1826
|
-
if (!(this.
|
|
1827
|
-
var message_0 = 'The minimum number of digits (' + this.
|
|
1825
|
+
if (!(this.s59_1 <= 9)) {
|
|
1826
|
+
var message_0 = 'The minimum number of digits (' + this.s59_1 + ') exceeds the length of an Int';
|
|
1828
1827
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1829
1828
|
}
|
|
1830
1829
|
}
|
|
1831
|
-
protoOf(UnsignedIntFormatterStructure).
|
|
1832
|
-
var num = this.
|
|
1830
|
+
protoOf(UnsignedIntFormatterStructure).n59 = function (obj, builder, minusNotRequired) {
|
|
1831
|
+
var num = this.r59_1(obj);
|
|
1833
1832
|
var numberStr = num.toString();
|
|
1834
1833
|
// Inline function 'kotlin.repeat' call
|
|
1835
|
-
var times = this.
|
|
1834
|
+
var times = this.s59_1 - numberStr.length | 0;
|
|
1836
1835
|
var inductionVariable = 0;
|
|
1837
1836
|
if (inductionVariable < times)
|
|
1838
1837
|
do {
|
|
@@ -1844,34 +1843,34 @@ protoOf(UnsignedIntFormatterStructure).b59 = function (obj, builder, minusNotReq
|
|
|
1844
1843
|
builder.f1(numberStr);
|
|
1845
1844
|
};
|
|
1846
1845
|
function SignedIntFormatterStructure(number, zeroPadding, outputPlusOnExceededWidth) {
|
|
1847
|
-
this.
|
|
1848
|
-
this.
|
|
1849
|
-
this.
|
|
1846
|
+
this.t59_1 = number;
|
|
1847
|
+
this.u59_1 = zeroPadding;
|
|
1848
|
+
this.v59_1 = outputPlusOnExceededWidth;
|
|
1850
1849
|
// Inline function 'kotlin.require' call
|
|
1851
|
-
if (!(this.
|
|
1852
|
-
var message = 'The minimum number of digits (' + this.
|
|
1850
|
+
if (!(this.u59_1 >= 0)) {
|
|
1851
|
+
var message = 'The minimum number of digits (' + this.u59_1 + ') is negative';
|
|
1853
1852
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1854
1853
|
}
|
|
1855
1854
|
// Inline function 'kotlin.require' call
|
|
1856
|
-
if (!(this.
|
|
1857
|
-
var message_0 = 'The minimum number of digits (' + this.
|
|
1855
|
+
if (!(this.u59_1 <= 9)) {
|
|
1856
|
+
var message_0 = 'The minimum number of digits (' + this.u59_1 + ') exceeds the length of an Int';
|
|
1858
1857
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1859
1858
|
}
|
|
1860
1859
|
}
|
|
1861
|
-
protoOf(SignedIntFormatterStructure).
|
|
1860
|
+
protoOf(SignedIntFormatterStructure).n59 = function (obj, builder, minusNotRequired) {
|
|
1862
1861
|
var innerBuilder = StringBuilder_init_$Create$();
|
|
1863
1862
|
// Inline function 'kotlin.let' call
|
|
1864
|
-
var it = this.
|
|
1863
|
+
var it = this.t59_1(obj);
|
|
1865
1864
|
var number = minusNotRequired && it < 0 ? -it | 0 : it;
|
|
1866
|
-
if (!(this.
|
|
1865
|
+
if (!(this.v59_1 == null) && number >= get_POWERS_OF_TEN()[this.v59_1]) {
|
|
1867
1866
|
innerBuilder.s(_Char___init__impl__6a9atx(43));
|
|
1868
1867
|
}
|
|
1869
1868
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
1870
|
-
if (abs(number) < get_POWERS_OF_TEN()[this.
|
|
1869
|
+
if (abs(number) < get_POWERS_OF_TEN()[this.u59_1 - 1 | 0]) {
|
|
1871
1870
|
if (number >= 0) {
|
|
1872
|
-
innerBuilder.zb(number + get_POWERS_OF_TEN()[this.
|
|
1871
|
+
innerBuilder.zb(number + get_POWERS_OF_TEN()[this.u59_1] | 0).ec(0);
|
|
1873
1872
|
} else {
|
|
1874
|
-
innerBuilder.zb(number - get_POWERS_OF_TEN()[this.
|
|
1873
|
+
innerBuilder.zb(number - get_POWERS_OF_TEN()[this.u59_1] | 0).ec(1);
|
|
1875
1874
|
}
|
|
1876
1875
|
} else {
|
|
1877
1876
|
innerBuilder.zb(number);
|
|
@@ -1879,35 +1878,35 @@ protoOf(SignedIntFormatterStructure).b59 = function (obj, builder, minusNotRequi
|
|
|
1879
1878
|
builder.f1(innerBuilder);
|
|
1880
1879
|
};
|
|
1881
1880
|
function ConstantStringFormatterStructure(string) {
|
|
1882
|
-
this.
|
|
1881
|
+
this.w59_1 = string;
|
|
1883
1882
|
}
|
|
1884
|
-
protoOf(ConstantStringFormatterStructure).
|
|
1885
|
-
builder.f1(this.
|
|
1883
|
+
protoOf(ConstantStringFormatterStructure).n59 = function (obj, builder, minusNotRequired) {
|
|
1884
|
+
builder.f1(this.w59_1);
|
|
1886
1885
|
};
|
|
1887
1886
|
function ConstantNumberConsumer(expected) {
|
|
1888
1887
|
NumberConsumer.call(this, expected.length, 'the predefined string ' + expected);
|
|
1889
|
-
this.
|
|
1888
|
+
this.z59_1 = expected;
|
|
1890
1889
|
}
|
|
1891
|
-
protoOf(ConstantNumberConsumer).
|
|
1890
|
+
protoOf(ConstantNumberConsumer).a5a = function (storage, input, start, end) {
|
|
1892
1891
|
var tmp;
|
|
1893
1892
|
// Inline function 'kotlin.text.substring' call
|
|
1894
|
-
if (toString(charSequenceSubSequence(input, start, end)) === this.
|
|
1893
|
+
if (toString(charSequenceSubSequence(input, start, end)) === this.z59_1) {
|
|
1895
1894
|
tmp = null;
|
|
1896
1895
|
} else {
|
|
1897
|
-
tmp = new WrongConstant(this.
|
|
1896
|
+
tmp = new WrongConstant(this.z59_1);
|
|
1898
1897
|
}
|
|
1899
1898
|
return tmp;
|
|
1900
1899
|
};
|
|
1901
1900
|
function NumberConsumer(length, whatThisExpects) {
|
|
1902
|
-
this.
|
|
1903
|
-
this.
|
|
1901
|
+
this.b5a_1 = length;
|
|
1902
|
+
this.c5a_1 = whatThisExpects;
|
|
1904
1903
|
}
|
|
1905
1904
|
protoOf(NumberConsumer).a = function () {
|
|
1906
|
-
return this.
|
|
1905
|
+
return this.b5a_1;
|
|
1907
1906
|
};
|
|
1908
1907
|
function ExpectedInt() {
|
|
1909
1908
|
}
|
|
1910
|
-
protoOf(ExpectedInt).
|
|
1909
|
+
protoOf(ExpectedInt).d5a = function () {
|
|
1911
1910
|
return 'expected an Int value';
|
|
1912
1911
|
};
|
|
1913
1912
|
var ExpectedInt_instance;
|
|
@@ -1915,31 +1914,31 @@ function ExpectedInt_getInstance() {
|
|
|
1915
1914
|
return ExpectedInt_instance;
|
|
1916
1915
|
}
|
|
1917
1916
|
function TooManyDigits(maxDigits) {
|
|
1918
|
-
this.
|
|
1917
|
+
this.e5a_1 = maxDigits;
|
|
1919
1918
|
}
|
|
1920
|
-
protoOf(TooManyDigits).
|
|
1921
|
-
return 'expected at most ' + this.
|
|
1919
|
+
protoOf(TooManyDigits).d5a = function () {
|
|
1920
|
+
return 'expected at most ' + this.e5a_1 + ' digits';
|
|
1922
1921
|
};
|
|
1923
1922
|
function TooFewDigits(minDigits) {
|
|
1924
|
-
this.
|
|
1923
|
+
this.f5a_1 = minDigits;
|
|
1925
1924
|
}
|
|
1926
|
-
protoOf(TooFewDigits).
|
|
1927
|
-
return 'expected at least ' + this.
|
|
1925
|
+
protoOf(TooFewDigits).d5a = function () {
|
|
1926
|
+
return 'expected at least ' + this.f5a_1 + ' digits';
|
|
1928
1927
|
};
|
|
1929
1928
|
function WrongConstant(expected) {
|
|
1930
|
-
this.
|
|
1929
|
+
this.g5a_1 = expected;
|
|
1931
1930
|
}
|
|
1932
|
-
protoOf(WrongConstant).
|
|
1933
|
-
return "expected '" + this.
|
|
1931
|
+
protoOf(WrongConstant).d5a = function () {
|
|
1932
|
+
return "expected '" + this.g5a_1 + "'";
|
|
1934
1933
|
};
|
|
1935
1934
|
function Conflicting(conflicting) {
|
|
1936
|
-
this.
|
|
1935
|
+
this.h5a_1 = conflicting;
|
|
1937
1936
|
}
|
|
1938
|
-
protoOf(Conflicting).
|
|
1939
|
-
return "attempted to overwrite the existing value '" + toString(this.
|
|
1937
|
+
protoOf(Conflicting).d5a = function () {
|
|
1938
|
+
return "attempted to overwrite the existing value '" + toString(this.h5a_1) + "'";
|
|
1940
1939
|
};
|
|
1941
1940
|
function setWithoutReassigning(_this__u8e3s4, receiver, value) {
|
|
1942
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1941
|
+
var tmp0_elvis_lhs = _this__u8e3s4.j59(receiver, value);
|
|
1943
1942
|
var tmp;
|
|
1944
1943
|
if (tmp0_elvis_lhs == null) {
|
|
1945
1944
|
return null;
|
|
@@ -1952,25 +1951,25 @@ function setWithoutReassigning(_this__u8e3s4, receiver, value) {
|
|
|
1952
1951
|
function UnsignedIntConsumer(minLength, maxLength, setter, name, multiplyByMinus1) {
|
|
1953
1952
|
multiplyByMinus1 = multiplyByMinus1 === VOID ? false : multiplyByMinus1;
|
|
1954
1953
|
NumberConsumer.call(this, minLength == maxLength ? minLength : null, name);
|
|
1955
|
-
this.
|
|
1956
|
-
this.
|
|
1957
|
-
this.
|
|
1958
|
-
this.
|
|
1954
|
+
this.k5a_1 = minLength;
|
|
1955
|
+
this.l5a_1 = maxLength;
|
|
1956
|
+
this.m5a_1 = setter;
|
|
1957
|
+
this.n5a_1 = multiplyByMinus1;
|
|
1959
1958
|
// Inline function 'kotlin.require' call
|
|
1960
|
-
if (!(this.a() == null || numberRangeToNumber(1, 9).
|
|
1961
|
-
var message = 'Invalid length for field ' + this.
|
|
1959
|
+
if (!(this.a() == null || numberRangeToNumber(1, 9).rh(this.a()))) {
|
|
1960
|
+
var message = 'Invalid length for field ' + this.c5a_1 + ': ' + this.a();
|
|
1962
1961
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1963
1962
|
}
|
|
1964
1963
|
}
|
|
1965
|
-
protoOf(UnsignedIntConsumer).
|
|
1964
|
+
protoOf(UnsignedIntConsumer).a5a = function (storage, input, start, end) {
|
|
1966
1965
|
var tmp;
|
|
1967
|
-
if (!(this.
|
|
1968
|
-
tmp = new TooManyDigits(this.
|
|
1969
|
-
} else if (!(this.
|
|
1970
|
-
tmp = new TooFewDigits(this.
|
|
1966
|
+
if (!(this.l5a_1 == null) && (end - start | 0) > this.l5a_1) {
|
|
1967
|
+
tmp = new TooManyDigits(this.l5a_1);
|
|
1968
|
+
} else if (!(this.k5a_1 == null) && (end - start | 0) < this.k5a_1) {
|
|
1969
|
+
tmp = new TooFewDigits(this.k5a_1);
|
|
1971
1970
|
} else {
|
|
1972
1971
|
var result = parseAsciiIntOrNull(input, start, end);
|
|
1973
|
-
tmp = result == null ? ExpectedInt_instance : setWithoutReassigning(this.
|
|
1972
|
+
tmp = result == null ? ExpectedInt_instance : setWithoutReassigning(this.m5a_1, storage, this.n5a_1 ? -result | 0 : result);
|
|
1974
1973
|
}
|
|
1975
1974
|
return tmp;
|
|
1976
1975
|
};
|
|
@@ -1990,8 +1989,8 @@ function parseAsciiIntOrNull(_this__u8e3s4, start, end) {
|
|
|
1990
1989
|
return result;
|
|
1991
1990
|
}
|
|
1992
1991
|
function ParseError(position, message) {
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1992
|
+
this.o5a_1 = position;
|
|
1993
|
+
this.p5a_1 = message;
|
|
1995
1994
|
}
|
|
1996
1995
|
function _ParseResult___init__impl__gvz3cn(value) {
|
|
1997
1996
|
return value;
|
|
@@ -2001,10 +2000,10 @@ function _ParseResult___get_value__impl__86mnxf($this) {
|
|
|
2001
2000
|
}
|
|
2002
2001
|
function Companion_6() {
|
|
2003
2002
|
}
|
|
2004
|
-
protoOf(Companion_6).
|
|
2003
|
+
protoOf(Companion_6).q5a = function (indexOfNextUnparsed) {
|
|
2005
2004
|
return _ParseResult___init__impl__gvz3cn(indexOfNextUnparsed);
|
|
2006
2005
|
};
|
|
2007
|
-
protoOf(Companion_6).
|
|
2006
|
+
protoOf(Companion_6).r5a = function (position, message) {
|
|
2008
2007
|
return _ParseResult___init__impl__gvz3cn(new ParseError(position, message));
|
|
2009
2008
|
};
|
|
2010
2009
|
var Companion_instance_6;
|
|
@@ -2031,19 +2030,19 @@ function Parser__match_impl_nzt83d($this, input, initialContainer, startIndex) {
|
|
|
2031
2030
|
tmp = tmp0_elvis_lhs;
|
|
2032
2031
|
}
|
|
2033
2032
|
var state = tmp;
|
|
2034
|
-
var output = state.
|
|
2035
|
-
var inputPosition = state.
|
|
2036
|
-
var parserStructure = state.
|
|
2033
|
+
var output = state.s5a_1.u56();
|
|
2034
|
+
var inputPosition = state.u5a_1;
|
|
2035
|
+
var parserStructure = state.t5a_1;
|
|
2037
2036
|
// Inline function 'kotlin.run' call
|
|
2038
2037
|
$l$block: {
|
|
2039
2038
|
var inductionVariable = 0;
|
|
2040
|
-
var last = parserStructure.
|
|
2039
|
+
var last = parserStructure.w5a_1.g1() - 1 | 0;
|
|
2041
2040
|
if (inductionVariable <= last)
|
|
2042
2041
|
do {
|
|
2043
2042
|
var ix = inductionVariable;
|
|
2044
2043
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2045
2044
|
// Inline function 'kotlinx.datetime.internal.format.parser.ParseResult.match' call
|
|
2046
|
-
var this_0 = parserStructure.
|
|
2045
|
+
var this_0 = parserStructure.w5a_1.h1(ix).y5a(output, input, inputPosition);
|
|
2047
2046
|
var tmp0_subject = _ParseResult___get_value__impl__86mnxf(this_0);
|
|
2048
2047
|
if (typeof tmp0_subject === 'number') {
|
|
2049
2048
|
inputPosition = _ParseResult___get_value__impl__86mnxf(this_0);
|
|
@@ -2060,7 +2059,7 @@ function Parser__match_impl_nzt83d($this, input, initialContainer, startIndex) {
|
|
|
2060
2059
|
}
|
|
2061
2060
|
}
|
|
2062
2061
|
while (inductionVariable <= last);
|
|
2063
|
-
if (parserStructure.
|
|
2062
|
+
if (parserStructure.x5a_1.r()) {
|
|
2064
2063
|
if (false || inputPosition === charSequenceLength(input)) {
|
|
2065
2064
|
return output;
|
|
2066
2065
|
} else {
|
|
@@ -2069,12 +2068,12 @@ function Parser__match_impl_nzt83d($this, input, initialContainer, startIndex) {
|
|
|
2069
2068
|
errors.e1(it_0);
|
|
2070
2069
|
}
|
|
2071
2070
|
} else {
|
|
2072
|
-
var inductionVariable_0 = parserStructure.
|
|
2071
|
+
var inductionVariable_0 = parserStructure.x5a_1.g1() - 1 | 0;
|
|
2073
2072
|
if (0 <= inductionVariable_0)
|
|
2074
2073
|
do {
|
|
2075
2074
|
var ix_0 = inductionVariable_0;
|
|
2076
2075
|
inductionVariable_0 = inductionVariable_0 + -1 | 0;
|
|
2077
|
-
parseOptions.e1(new ParserState(output, parserStructure.
|
|
2076
|
+
parseOptions.e1(new ParserState(output, parserStructure.x5a_1.h1(ix_0), inputPosition));
|
|
2078
2077
|
}
|
|
2079
2078
|
while (0 <= inductionVariable_0);
|
|
2080
2079
|
}
|
|
@@ -2084,8 +2083,8 @@ function Parser__match_impl_nzt83d($this, input, initialContainer, startIndex) {
|
|
|
2084
2083
|
if (errors.g1() > 1) {
|
|
2085
2084
|
// Inline function 'kotlin.comparisons.compareByDescending' call
|
|
2086
2085
|
var tmp_1 = Parser$match$lambda_0;
|
|
2087
|
-
var tmp$ret$
|
|
2088
|
-
sortWith(errors, tmp$ret$
|
|
2086
|
+
var tmp$ret$12 = new sam$kotlin_Comparator$0(tmp_1);
|
|
2087
|
+
sortWith(errors, tmp$ret$12);
|
|
2089
2088
|
}
|
|
2090
2089
|
throw new ParseException(errors);
|
|
2091
2090
|
}
|
|
@@ -2096,14 +2095,14 @@ function Parser__match$default_impl_x2xlti($this, input, initialContainer, start
|
|
|
2096
2095
|
tmp = Parser__match_impl_nzt83d($this, input, initialContainer, startIndex);
|
|
2097
2096
|
} else {
|
|
2098
2097
|
var tmp_0 = $super;
|
|
2099
|
-
tmp = (tmp_0 == null ? null : new Parser(tmp_0)).
|
|
2098
|
+
tmp = (tmp_0 == null ? null : new Parser(tmp_0)).z5a.call(new Parser($this), input, initialContainer, startIndex);
|
|
2100
2099
|
}
|
|
2101
2100
|
return tmp;
|
|
2102
2101
|
}
|
|
2103
2102
|
function ParserState(output, parserStructure, inputPosition) {
|
|
2104
|
-
this.
|
|
2105
|
-
this.
|
|
2106
|
-
this.
|
|
2103
|
+
this.s5a_1 = output;
|
|
2104
|
+
this.t5a_1 = parserStructure;
|
|
2105
|
+
this.u5a_1 = inputPosition;
|
|
2107
2106
|
}
|
|
2108
2107
|
function Parser__toString_impl_x33iea($this) {
|
|
2109
2108
|
return 'Parser(commands=' + $this.toString() + ')';
|
|
@@ -2114,22 +2113,22 @@ function Parser__hashCode_impl_bbxllf($this) {
|
|
|
2114
2113
|
function Parser__equals_impl_djxokv($this, other) {
|
|
2115
2114
|
if (!(other instanceof Parser))
|
|
2116
2115
|
return false;
|
|
2117
|
-
var tmp0_other_with_cast = other instanceof Parser ? other.
|
|
2116
|
+
var tmp0_other_with_cast = other instanceof Parser ? other.v5a_1 : THROW_CCE();
|
|
2118
2117
|
if (!equals($this, tmp0_other_with_cast))
|
|
2119
2118
|
return false;
|
|
2120
2119
|
return true;
|
|
2121
2120
|
}
|
|
2122
2121
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2123
|
-
this.
|
|
2122
|
+
this.a5b_1 = function_0;
|
|
2124
2123
|
}
|
|
2125
2124
|
protoOf(sam$kotlin_Comparator$0).mc = function (a, b) {
|
|
2126
|
-
return this.
|
|
2125
|
+
return this.a5b_1(a, b);
|
|
2127
2126
|
};
|
|
2128
2127
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2129
2128
|
return this.mc(a, b);
|
|
2130
2129
|
};
|
|
2131
2130
|
protoOf(sam$kotlin_Comparator$0).g3 = function () {
|
|
2132
|
-
return this.
|
|
2131
|
+
return this.a5b_1;
|
|
2133
2132
|
};
|
|
2134
2133
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2135
2134
|
var tmp;
|
|
@@ -2154,28 +2153,28 @@ function Parser$match$lambda() {
|
|
|
2154
2153
|
}
|
|
2155
2154
|
function Parser$match$lambda_0(a, b) {
|
|
2156
2155
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2157
|
-
var tmp = b.
|
|
2158
|
-
var tmp$ret$
|
|
2159
|
-
return compareValues(tmp, tmp$ret$
|
|
2156
|
+
var tmp = b.o5a_1;
|
|
2157
|
+
var tmp$ret$2 = a.o5a_1;
|
|
2158
|
+
return compareValues(tmp, tmp$ret$2);
|
|
2160
2159
|
}
|
|
2161
2160
|
function Parser(commands) {
|
|
2162
|
-
this.
|
|
2161
|
+
this.v5a_1 = commands;
|
|
2163
2162
|
}
|
|
2164
2163
|
protoOf(Parser).toString = function () {
|
|
2165
|
-
return Parser__toString_impl_x33iea(this.
|
|
2164
|
+
return Parser__toString_impl_x33iea(this.v5a_1);
|
|
2166
2165
|
};
|
|
2167
2166
|
protoOf(Parser).hashCode = function () {
|
|
2168
|
-
return Parser__hashCode_impl_bbxllf(this.
|
|
2167
|
+
return Parser__hashCode_impl_bbxllf(this.v5a_1);
|
|
2169
2168
|
};
|
|
2170
2169
|
protoOf(Parser).equals = function (other) {
|
|
2171
|
-
return Parser__equals_impl_djxokv(this.
|
|
2170
|
+
return Parser__equals_impl_djxokv(this.v5a_1, other);
|
|
2172
2171
|
};
|
|
2173
2172
|
function ParserStructure(operations, followedBy) {
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2173
|
+
this.w5a_1 = operations;
|
|
2174
|
+
this.x5a_1 = followedBy;
|
|
2176
2175
|
}
|
|
2177
2176
|
protoOf(ParserStructure).toString = function () {
|
|
2178
|
-
return joinToString(this.
|
|
2177
|
+
return joinToString(this.w5a_1, ', ') + '(' + joinToString(this.x5a_1, ';') + ')';
|
|
2179
2178
|
};
|
|
2180
2179
|
function ParseException(errors) {
|
|
2181
2180
|
Exception_init_$Init$(formatError(errors), this);
|
|
@@ -2197,7 +2196,7 @@ function concat(_this__u8e3s4) {
|
|
|
2197
2196
|
}
|
|
2198
2197
|
function formatError(errors) {
|
|
2199
2198
|
if (errors.g1() === 1) {
|
|
2200
|
-
return 'Position ' + errors.h1(0).
|
|
2199
|
+
return 'Position ' + errors.h1(0).o5a_1 + ': ' + errors.h1(0).p5a_1();
|
|
2201
2200
|
}
|
|
2202
2201
|
var averageMessageLength = 33;
|
|
2203
2202
|
var tmp0_buffer = StringBuilder_init_$Create$_0(imul(averageMessageLength, errors.g1()));
|
|
@@ -2205,20 +2204,20 @@ function formatError(errors) {
|
|
|
2205
2204
|
}
|
|
2206
2205
|
function concat$append(_this__u8e3s4, other) {
|
|
2207
2206
|
var tmp;
|
|
2208
|
-
if (_this__u8e3s4.
|
|
2209
|
-
tmp = new ParserStructure(plus(_this__u8e3s4.
|
|
2207
|
+
if (_this__u8e3s4.x5a_1.r()) {
|
|
2208
|
+
tmp = new ParserStructure(plus(_this__u8e3s4.w5a_1, other.w5a_1), other.x5a_1);
|
|
2210
2209
|
} else {
|
|
2211
2210
|
// Inline function 'kotlin.collections.map' call
|
|
2212
|
-
var this_0 = _this__u8e3s4.
|
|
2211
|
+
var this_0 = _this__u8e3s4.x5a_1;
|
|
2213
2212
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2214
2213
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2215
2214
|
var _iterator__ex2g4s = this_0.t();
|
|
2216
2215
|
while (_iterator__ex2g4s.u()) {
|
|
2217
2216
|
var item = _iterator__ex2g4s.v();
|
|
2218
|
-
var tmp$ret$
|
|
2219
|
-
destination.e1(tmp$ret$
|
|
2217
|
+
var tmp$ret$2 = concat$append(item, other);
|
|
2218
|
+
destination.e1(tmp$ret$2);
|
|
2220
2219
|
}
|
|
2221
|
-
tmp = new ParserStructure(_this__u8e3s4.
|
|
2220
|
+
tmp = new ParserStructure(_this__u8e3s4.w5a_1, destination);
|
|
2222
2221
|
}
|
|
2223
2222
|
return tmp;
|
|
2224
2223
|
}
|
|
@@ -2227,14 +2226,14 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2227
2226
|
var newOperations = ArrayList_init_$Create$();
|
|
2228
2227
|
var currentNumberSpan = null;
|
|
2229
2228
|
var unconditionalModificationsForTails = toMutableList(unconditionalModifications);
|
|
2230
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
2229
|
+
var _iterator__ex2g4s = _this__u8e3s4.w5a_1.t();
|
|
2231
2230
|
while (_iterator__ex2g4s.u()) {
|
|
2232
2231
|
var op = _iterator__ex2g4s.v();
|
|
2233
2232
|
if (op instanceof NumberSpanParserOperation) {
|
|
2234
2233
|
if (!(currentNumberSpan == null)) {
|
|
2235
|
-
currentNumberSpan.j1(op.
|
|
2234
|
+
currentNumberSpan.j1(op.b5b_1);
|
|
2236
2235
|
} else {
|
|
2237
|
-
currentNumberSpan = toMutableList(op.
|
|
2236
|
+
currentNumberSpan = toMutableList(op.b5b_1);
|
|
2238
2237
|
}
|
|
2239
2238
|
} else {
|
|
2240
2239
|
if (op instanceof UnconditionalModification) {
|
|
@@ -2249,7 +2248,7 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2249
2248
|
}
|
|
2250
2249
|
}
|
|
2251
2250
|
// Inline function 'kotlin.collections.flatMap' call
|
|
2252
|
-
var tmp0 = _this__u8e3s4.
|
|
2251
|
+
var tmp0 = _this__u8e3s4.x5a_1;
|
|
2253
2252
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
2254
2253
|
var destination = ArrayList_init_$Create$();
|
|
2255
2254
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
@@ -2257,9 +2256,9 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2257
2256
|
var element = _iterator__ex2g4s_0.v();
|
|
2258
2257
|
var simplified = concat$simplify(element, unconditionalModificationsForTails);
|
|
2259
2258
|
var tmp;
|
|
2260
|
-
if (simplified.
|
|
2259
|
+
if (simplified.w5a_1.r()) {
|
|
2261
2260
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
2262
|
-
var this_0 = simplified.
|
|
2261
|
+
var this_0 = simplified.x5a_1;
|
|
2263
2262
|
var tmp_0;
|
|
2264
2263
|
if (this_0.r()) {
|
|
2265
2264
|
tmp_0 = listOf(simplified);
|
|
@@ -2301,7 +2300,7 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2301
2300
|
var _iterator__ex2g4s_1 = mergedTails.t();
|
|
2302
2301
|
while (_iterator__ex2g4s_1.u()) {
|
|
2303
2302
|
var element_0 = _iterator__ex2g4s_1.v();
|
|
2304
|
-
var tmp0_safe_receiver = firstOrNull(element_0.
|
|
2303
|
+
var tmp0_safe_receiver = firstOrNull(element_0.w5a_1);
|
|
2305
2304
|
var tmp_4;
|
|
2306
2305
|
if (tmp0_safe_receiver == null) {
|
|
2307
2306
|
tmp_4 = null;
|
|
@@ -2326,19 +2325,19 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2326
2325
|
var _iterator__ex2g4s_2 = mergedTails.t();
|
|
2327
2326
|
while (_iterator__ex2g4s_2.u()) {
|
|
2328
2327
|
var item = _iterator__ex2g4s_2.v();
|
|
2329
|
-
var firstOperation = firstOrNull(item.
|
|
2328
|
+
var firstOperation = firstOrNull(item.w5a_1);
|
|
2330
2329
|
var tmp_5;
|
|
2331
2330
|
if (firstOperation instanceof NumberSpanParserOperation) {
|
|
2332
|
-
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(plus(currentNumberSpan, firstOperation.
|
|
2331
|
+
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(plus(currentNumberSpan, firstOperation.b5b_1))), drop(item.w5a_1, 1)), item.x5a_1);
|
|
2333
2332
|
} else {
|
|
2334
2333
|
if (firstOperation == null) {
|
|
2335
|
-
tmp_5 = new ParserStructure(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.
|
|
2334
|
+
tmp_5 = new ParserStructure(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.x5a_1);
|
|
2336
2335
|
} else {
|
|
2337
|
-
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.
|
|
2336
|
+
tmp_5 = new ParserStructure(plus(listOf(new NumberSpanParserOperation(currentNumberSpan)), item.w5a_1), item.x5a_1);
|
|
2338
2337
|
}
|
|
2339
2338
|
}
|
|
2340
|
-
var tmp$ret$
|
|
2341
|
-
destination_0.e1(tmp$ret$
|
|
2339
|
+
var tmp$ret$14 = tmp_5;
|
|
2340
|
+
destination_0.e1(tmp$ret$14);
|
|
2342
2341
|
}
|
|
2343
2342
|
var newTails = destination_0;
|
|
2344
2343
|
tmp_2 = new ParserStructure(newOperations, newTails);
|
|
@@ -2347,7 +2346,7 @@ function concat$simplify(_this__u8e3s4, unconditionalModifications) {
|
|
|
2347
2346
|
return tmp_2;
|
|
2348
2347
|
}
|
|
2349
2348
|
function formatError$lambda(it) {
|
|
2350
|
-
return 'position ' + it.
|
|
2349
|
+
return 'position ' + it.o5a_1 + ": '" + it.p5a_1() + "'";
|
|
2351
2350
|
}
|
|
2352
2351
|
function spaceAndZeroPaddedUnsignedInt(minDigits, maxDigits, spacePadding, setter, name, withMinus) {
|
|
2353
2352
|
withMinus = withMinus === VOID ? false : withMinus;
|
|
@@ -2389,22 +2388,22 @@ function spaceAndZeroPaddedUnsignedInt(minDigits, maxDigits, spacePadding, sette
|
|
|
2389
2388
|
}
|
|
2390
2389
|
function _get_whatThisExpects__4pg11j($this) {
|
|
2391
2390
|
// Inline function 'kotlin.collections.map' call
|
|
2392
|
-
var this_0 = $this.
|
|
2391
|
+
var this_0 = $this.b5b_1;
|
|
2393
2392
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2394
2393
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2395
2394
|
var _iterator__ex2g4s = this_0.t();
|
|
2396
2395
|
while (_iterator__ex2g4s.u()) {
|
|
2397
2396
|
var item = _iterator__ex2g4s.v();
|
|
2398
2397
|
var length = item.a();
|
|
2399
|
-
var tmp$ret$
|
|
2400
|
-
destination.e1(tmp$ret$
|
|
2398
|
+
var tmp$ret$2 = (length == null ? 'at least one digit' : '' + length + ' digits') + (' for ' + item.c5a_1);
|
|
2399
|
+
destination.e1(tmp$ret$2);
|
|
2401
2400
|
}
|
|
2402
2401
|
var consumerLengths = destination;
|
|
2403
2402
|
var tmp;
|
|
2404
|
-
if ($this.
|
|
2405
|
-
tmp = 'a number with at least ' + $this.
|
|
2403
|
+
if ($this.d5b_1) {
|
|
2404
|
+
tmp = 'a number with at least ' + $this.c5b_1 + ' digits: ' + toString(consumerLengths);
|
|
2406
2405
|
} else {
|
|
2407
|
-
tmp = 'a number with exactly ' + $this.
|
|
2406
|
+
tmp = 'a number with exactly ' + $this.c5b_1 + ' digits: ' + toString(consumerLengths);
|
|
2408
2407
|
}
|
|
2409
2408
|
return tmp;
|
|
2410
2409
|
}
|
|
@@ -2420,24 +2419,24 @@ function NumberSpanParserOperation$consume$lambda_0($digitsInRow, this$0) {
|
|
|
2420
2419
|
}
|
|
2421
2420
|
function NumberSpanParserOperation$consume$lambda_1($numberString, this$0, $i, $error) {
|
|
2422
2421
|
return function () {
|
|
2423
|
-
return "Can not interpret the string '" + $numberString + "' as " + this$0.
|
|
2422
|
+
return "Can not interpret the string '" + $numberString + "' as " + this$0.b5b_1.h1($i).c5a_1 + ': ' + $error.d5a();
|
|
2424
2423
|
};
|
|
2425
2424
|
}
|
|
2426
2425
|
function NumberSpanParserOperation(consumers) {
|
|
2427
|
-
this.
|
|
2426
|
+
this.b5b_1 = consumers;
|
|
2428
2427
|
var tmp = this;
|
|
2429
2428
|
// Inline function 'kotlin.collections.sumOf' call
|
|
2430
2429
|
var sum = 0;
|
|
2431
|
-
var _iterator__ex2g4s = this.
|
|
2430
|
+
var _iterator__ex2g4s = this.b5b_1.t();
|
|
2432
2431
|
while (_iterator__ex2g4s.u()) {
|
|
2433
2432
|
var element = _iterator__ex2g4s.v();
|
|
2434
2433
|
var tmp_0 = sum;
|
|
2435
2434
|
var tmp0_elvis_lhs = element.a();
|
|
2436
2435
|
sum = tmp_0 + (tmp0_elvis_lhs == null ? 1 : tmp0_elvis_lhs) | 0;
|
|
2437
2436
|
}
|
|
2438
|
-
tmp.
|
|
2437
|
+
tmp.c5b_1 = sum;
|
|
2439
2438
|
var tmp_1 = this;
|
|
2440
|
-
var tmp0 = this.
|
|
2439
|
+
var tmp0 = this.b5b_1;
|
|
2441
2440
|
var tmp$ret$2;
|
|
2442
2441
|
$l$block_0: {
|
|
2443
2442
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -2461,8 +2460,8 @@ function NumberSpanParserOperation(consumers) {
|
|
|
2461
2460
|
}
|
|
2462
2461
|
tmp$ret$2 = false;
|
|
2463
2462
|
}
|
|
2464
|
-
tmp_1.
|
|
2465
|
-
var tmp0_0 = this.
|
|
2463
|
+
tmp_1.d5b_1 = tmp$ret$2;
|
|
2464
|
+
var tmp0_0 = this.b5b_1;
|
|
2466
2465
|
var tmp$ret$4;
|
|
2467
2466
|
$l$block_2: {
|
|
2468
2467
|
// Inline function 'kotlin.collections.all' call
|
|
@@ -2493,7 +2492,7 @@ function NumberSpanParserOperation(consumers) {
|
|
|
2493
2492
|
var message = 'Failed requirement.';
|
|
2494
2493
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2495
2494
|
}
|
|
2496
|
-
var tmp0_1 = this.
|
|
2495
|
+
var tmp0_1 = this.b5b_1;
|
|
2497
2496
|
var tmp$ret$9;
|
|
2498
2497
|
$l$block_3: {
|
|
2499
2498
|
// Inline function 'kotlin.collections.count' call
|
|
@@ -2521,7 +2520,7 @@ function NumberSpanParserOperation(consumers) {
|
|
|
2521
2520
|
// Inline function 'kotlin.require' call
|
|
2522
2521
|
if (!(tmp$ret$9 <= 1)) {
|
|
2523
2522
|
// Inline function 'kotlin.collections.filter' call
|
|
2524
|
-
var tmp0_2 = this.
|
|
2523
|
+
var tmp0_2 = this.b5b_1;
|
|
2525
2524
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2526
2525
|
var destination = ArrayList_init_$Create$();
|
|
2527
2526
|
var _iterator__ex2g4s_3 = tmp0_2.t();
|
|
@@ -2537,38 +2536,38 @@ function NumberSpanParserOperation(consumers) {
|
|
|
2537
2536
|
var _iterator__ex2g4s_4 = destination.t();
|
|
2538
2537
|
while (_iterator__ex2g4s_4.u()) {
|
|
2539
2538
|
var item = _iterator__ex2g4s_4.v();
|
|
2540
|
-
var tmp$ret$
|
|
2541
|
-
destination_0.e1(tmp$ret$
|
|
2539
|
+
var tmp$ret$18 = item.c5a_1;
|
|
2540
|
+
destination_0.e1(tmp$ret$18);
|
|
2542
2541
|
}
|
|
2543
2542
|
var fieldNames = destination_0;
|
|
2544
2543
|
var message_0 = 'At most one variable-length numeric field in a row is allowed, but got several: ' + toString(fieldNames) + '. ' + "Parsing is undefined: for example, with variable-length month number and variable-length day of month, '111' can be parsed as Jan 11th or Nov 1st.";
|
|
2545
2544
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2546
2545
|
}
|
|
2547
2546
|
}
|
|
2548
|
-
protoOf(NumberSpanParserOperation).
|
|
2549
|
-
if ((startIndex + this.
|
|
2547
|
+
protoOf(NumberSpanParserOperation).y5a = function (storage, input, startIndex) {
|
|
2548
|
+
if ((startIndex + this.c5b_1 | 0) > charSequenceLength(input)) {
|
|
2550
2549
|
var tmp = Companion_instance_6;
|
|
2551
|
-
return tmp.
|
|
2550
|
+
return tmp.r5a(startIndex, NumberSpanParserOperation$consume$lambda(this));
|
|
2552
2551
|
}
|
|
2553
2552
|
var digitsInRow = {_v: 0};
|
|
2554
2553
|
while ((startIndex + digitsInRow._v | 0) < charSequenceLength(input) && isAsciiDigit(charSequenceGet(input, startIndex + digitsInRow._v | 0))) {
|
|
2555
2554
|
digitsInRow._v = digitsInRow._v + 1 | 0;
|
|
2556
2555
|
digitsInRow._v;
|
|
2557
2556
|
}
|
|
2558
|
-
if (digitsInRow._v < this.
|
|
2557
|
+
if (digitsInRow._v < this.c5b_1) {
|
|
2559
2558
|
var tmp_0 = Companion_instance_6;
|
|
2560
|
-
return tmp_0.
|
|
2559
|
+
return tmp_0.r5a(startIndex, NumberSpanParserOperation$consume$lambda_0(digitsInRow, this));
|
|
2561
2560
|
}
|
|
2562
2561
|
var index = startIndex;
|
|
2563
2562
|
var inductionVariable = 0;
|
|
2564
|
-
var last = this.
|
|
2563
|
+
var last = this.b5b_1.g1() - 1 | 0;
|
|
2565
2564
|
if (inductionVariable <= last)
|
|
2566
2565
|
do {
|
|
2567
2566
|
var i = inductionVariable;
|
|
2568
2567
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2569
|
-
var tmp0_elvis_lhs = this.
|
|
2570
|
-
var length = tmp0_elvis_lhs == null ? (digitsInRow._v - this.
|
|
2571
|
-
var error = this.
|
|
2568
|
+
var tmp0_elvis_lhs = this.b5b_1.h1(i).a();
|
|
2569
|
+
var length = tmp0_elvis_lhs == null ? (digitsInRow._v - this.c5b_1 | 0) + 1 | 0 : tmp0_elvis_lhs;
|
|
2570
|
+
var error = this.b5b_1.h1(i).a5a(storage, input, index, index + length | 0);
|
|
2572
2571
|
if (!(error == null)) {
|
|
2573
2572
|
var tmp2 = index;
|
|
2574
2573
|
// Inline function 'kotlin.text.substring' call
|
|
@@ -2576,12 +2575,12 @@ protoOf(NumberSpanParserOperation).m5a = function (storage, input, startIndex) {
|
|
|
2576
2575
|
var numberString = toString(charSequenceSubSequence(input, tmp2, endIndex));
|
|
2577
2576
|
var tmp_1 = Companion_instance_6;
|
|
2578
2577
|
var tmp_2 = index;
|
|
2579
|
-
return tmp_1.
|
|
2578
|
+
return tmp_1.r5a(tmp_2, NumberSpanParserOperation$consume$lambda_1(numberString, this, i, error));
|
|
2580
2579
|
}
|
|
2581
2580
|
index = index + length | 0;
|
|
2582
2581
|
}
|
|
2583
2582
|
while (inductionVariable <= last);
|
|
2584
|
-
return Companion_instance_6.
|
|
2583
|
+
return Companion_instance_6.q5a(index);
|
|
2585
2584
|
};
|
|
2586
2585
|
protoOf(NumberSpanParserOperation).toString = function () {
|
|
2587
2586
|
return _get_whatThisExpects__4pg11j(this);
|
|
@@ -2598,7 +2597,7 @@ function SignedIntParser(minDigits, maxDigits, spacePadding, setter, name, plusO
|
|
|
2598
2597
|
}
|
|
2599
2598
|
function PlainStringParserOperation$consume$lambda(this$0) {
|
|
2600
2599
|
return function () {
|
|
2601
|
-
return "Unexpected end of input: yet to parse '" + this$0.
|
|
2600
|
+
return "Unexpected end of input: yet to parse '" + this$0.e5b_1 + "'";
|
|
2602
2601
|
};
|
|
2603
2602
|
}
|
|
2604
2603
|
function PlainStringParserOperation$consume$lambda_0(this$0, $input, $startIndex, $i) {
|
|
@@ -2608,50 +2607,50 @@ function PlainStringParserOperation$consume$lambda_0(this$0, $input, $startIndex
|
|
|
2608
2607
|
// Inline function 'kotlin.text.substring' call
|
|
2609
2608
|
var endIndex = ($startIndex + $i | 0) + 1 | 0;
|
|
2610
2609
|
var tmp$ret$0 = toString(charSequenceSubSequence(tmp0, tmp2, endIndex));
|
|
2611
|
-
return 'Expected ' + this$0.
|
|
2610
|
+
return 'Expected ' + this$0.e5b_1 + ' but got ' + tmp$ret$0;
|
|
2612
2611
|
};
|
|
2613
2612
|
}
|
|
2614
2613
|
function PlainStringParserOperation(string) {
|
|
2615
|
-
this.
|
|
2614
|
+
this.e5b_1 = string;
|
|
2616
2615
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2617
|
-
var this_0 = this.
|
|
2616
|
+
var this_0 = this.e5b_1;
|
|
2618
2617
|
// Inline function 'kotlin.require' call
|
|
2619
2618
|
if (!(charSequenceLength(this_0) > 0)) {
|
|
2620
2619
|
var message = 'Empty string is not allowed';
|
|
2621
2620
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
2622
2621
|
}
|
|
2623
2622
|
// Inline function 'kotlin.require' call
|
|
2624
|
-
if (!!isAsciiDigit(charCodeAt(this.
|
|
2625
|
-
var message_0 = "String '" + this.
|
|
2623
|
+
if (!!isAsciiDigit(charCodeAt(this.e5b_1, 0))) {
|
|
2624
|
+
var message_0 = "String '" + this.e5b_1 + "' starts with a digit";
|
|
2626
2625
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
2627
2626
|
}
|
|
2628
2627
|
// Inline function 'kotlin.require' call
|
|
2629
|
-
if (!!isAsciiDigit(charCodeAt(this.
|
|
2630
|
-
var message_1 = "String '" + this.
|
|
2628
|
+
if (!!isAsciiDigit(charCodeAt(this.e5b_1, this.e5b_1.length - 1 | 0))) {
|
|
2629
|
+
var message_1 = "String '" + this.e5b_1 + "' ends with a digit";
|
|
2631
2630
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
2632
2631
|
}
|
|
2633
2632
|
}
|
|
2634
|
-
protoOf(PlainStringParserOperation).
|
|
2635
|
-
if ((startIndex + this.
|
|
2633
|
+
protoOf(PlainStringParserOperation).y5a = function (storage, input, startIndex) {
|
|
2634
|
+
if ((startIndex + this.e5b_1.length | 0) > charSequenceLength(input)) {
|
|
2636
2635
|
var tmp = Companion_instance_6;
|
|
2637
|
-
return tmp.
|
|
2636
|
+
return tmp.r5a(startIndex, PlainStringParserOperation$consume$lambda(this));
|
|
2638
2637
|
}
|
|
2639
2638
|
var inductionVariable = 0;
|
|
2640
|
-
var last = charSequenceLength(this.
|
|
2639
|
+
var last = charSequenceLength(this.e5b_1) - 1 | 0;
|
|
2641
2640
|
if (inductionVariable <= last)
|
|
2642
2641
|
do {
|
|
2643
2642
|
var i = inductionVariable;
|
|
2644
2643
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2645
|
-
if (!(charSequenceGet(input, startIndex + i | 0) === charCodeAt(this.
|
|
2644
|
+
if (!(charSequenceGet(input, startIndex + i | 0) === charCodeAt(this.e5b_1, i))) {
|
|
2646
2645
|
var tmp_0 = Companion_instance_6;
|
|
2647
|
-
return tmp_0.
|
|
2646
|
+
return tmp_0.r5a(startIndex, PlainStringParserOperation$consume$lambda_0(this, input, startIndex, i));
|
|
2648
2647
|
}
|
|
2649
2648
|
}
|
|
2650
2649
|
while (inductionVariable <= last);
|
|
2651
|
-
return Companion_instance_6.
|
|
2650
|
+
return Companion_instance_6.q5a(startIndex + this.e5b_1.length | 0);
|
|
2652
2651
|
};
|
|
2653
2652
|
protoOf(PlainStringParserOperation).toString = function () {
|
|
2654
|
-
return "'" + this.
|
|
2653
|
+
return "'" + this.e5b_1 + "'";
|
|
2655
2654
|
};
|
|
2656
2655
|
function UnconditionalModification() {
|
|
2657
2656
|
}
|
|
@@ -2668,8 +2667,8 @@ function spaceAndZeroPaddedUnsignedInt$numberOfRequiredLengths($withMinus, $sett
|
|
|
2668
2667
|
this_0.e1(new PlainStringParserOperation('-'));
|
|
2669
2668
|
}
|
|
2670
2669
|
this_0.e1(new NumberSpanParserOperation(listOf(new UnsignedIntConsumer(minNumberLength - ($withMinus ? 1 : 0) | 0, maxNumberLength - ($withMinus ? 1 : 0) | 0, $setter, $name, $withMinus))));
|
|
2671
|
-
var tmp$ret$
|
|
2672
|
-
return new ParserStructure(tmp$ret$
|
|
2670
|
+
var tmp$ret$1 = this_0.j3();
|
|
2671
|
+
return new ParserStructure(tmp$ret$1, emptyList());
|
|
2673
2672
|
}
|
|
2674
2673
|
function get_POWERS_OF_TEN() {
|
|
2675
2674
|
_init_properties_math_kt__tgcmt4();
|
|
@@ -2700,53 +2699,53 @@ function TimeBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($this
|
|
|
2700
2699
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2701
2700
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2702
2701
|
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().jb(), arrayOf([]), false));
|
|
2703
|
-
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).
|
|
2704
|
-
$this$buildClassSerialDescriptor.
|
|
2702
|
+
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).w1r();
|
|
2703
|
+
$this$buildClassSerialDescriptor.i1u(elementName, descriptor, annotations, false);
|
|
2705
2704
|
return Unit_instance;
|
|
2706
2705
|
}
|
|
2707
2706
|
function TimeBasedDateTimeUnitSerializer$_get_descriptor_$ref_ezonyw() {
|
|
2708
2707
|
return function (p0) {
|
|
2709
|
-
return p0.
|
|
2708
|
+
return p0.w1r();
|
|
2710
2709
|
};
|
|
2711
2710
|
}
|
|
2712
2711
|
function TimeBasedDateTimeUnitSerializer() {
|
|
2713
2712
|
TimeBasedDateTimeUnitSerializer_instance = this;
|
|
2714
2713
|
var tmp = this;
|
|
2715
2714
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2716
|
-
tmp.
|
|
2715
|
+
tmp.f5b_1 = lazy_0(tmp_0, TimeBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2717
2716
|
}
|
|
2718
|
-
protoOf(TimeBasedDateTimeUnitSerializer).
|
|
2719
|
-
var tmp0 = this.
|
|
2717
|
+
protoOf(TimeBasedDateTimeUnitSerializer).w1r = function () {
|
|
2718
|
+
var tmp0 = this.f5b_1;
|
|
2720
2719
|
var tmp = KProperty1;
|
|
2721
2720
|
// Inline function 'kotlin.getValue' call
|
|
2722
2721
|
getPropertyCallableRef('descriptor', 1, tmp, TimeBasedDateTimeUnitSerializer$_get_descriptor_$ref_ezonyw(), null);
|
|
2723
2722
|
return tmp0.m1();
|
|
2724
2723
|
};
|
|
2725
|
-
protoOf(TimeBasedDateTimeUnitSerializer).
|
|
2724
|
+
protoOf(TimeBasedDateTimeUnitSerializer).g5b = function (encoder, value) {
|
|
2726
2725
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2727
|
-
var descriptor = this.
|
|
2728
|
-
var composite = encoder.
|
|
2729
|
-
composite.
|
|
2730
|
-
composite.
|
|
2726
|
+
var descriptor = this.w1r();
|
|
2727
|
+
var composite = encoder.l1v(descriptor);
|
|
2728
|
+
composite.v1w(TimeBasedDateTimeUnitSerializer_getInstance().w1r(), 0, value.i54_1);
|
|
2729
|
+
composite.m1v(descriptor);
|
|
2731
2730
|
};
|
|
2732
|
-
protoOf(TimeBasedDateTimeUnitSerializer).
|
|
2733
|
-
return this.
|
|
2731
|
+
protoOf(TimeBasedDateTimeUnitSerializer).j1s = function (encoder, value) {
|
|
2732
|
+
return this.g5b(encoder, value instanceof TimeBased ? value : THROW_CCE());
|
|
2734
2733
|
};
|
|
2735
|
-
protoOf(TimeBasedDateTimeUnitSerializer).
|
|
2734
|
+
protoOf(TimeBasedDateTimeUnitSerializer).k1s = function (decoder) {
|
|
2736
2735
|
var seen = {_v: false};
|
|
2737
2736
|
var nanoseconds = {_v: 0n};
|
|
2738
2737
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
2739
|
-
var descriptor = this.
|
|
2740
|
-
var composite = decoder.
|
|
2741
|
-
if (composite.
|
|
2742
|
-
nanoseconds._v = composite.
|
|
2738
|
+
var descriptor = this.w1r();
|
|
2739
|
+
var composite = decoder.l1v(descriptor);
|
|
2740
|
+
if (composite.a1w()) {
|
|
2741
|
+
nanoseconds._v = composite.r1v(TimeBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2743
2742
|
seen._v = true;
|
|
2744
2743
|
} else {
|
|
2745
2744
|
loop: while (true) {
|
|
2746
|
-
var elementIndex = composite.
|
|
2745
|
+
var elementIndex = composite.b1w(TimeBasedDateTimeUnitSerializer_getInstance().w1r());
|
|
2747
2746
|
switch (elementIndex) {
|
|
2748
2747
|
case 0:
|
|
2749
|
-
nanoseconds._v = composite.
|
|
2748
|
+
nanoseconds._v = composite.r1v(TimeBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2750
2749
|
seen._v = true;
|
|
2751
2750
|
break;
|
|
2752
2751
|
case -1:
|
|
@@ -2758,9 +2757,9 @@ protoOf(TimeBasedDateTimeUnitSerializer).s1s = function (decoder) {
|
|
|
2758
2757
|
}
|
|
2759
2758
|
}
|
|
2760
2759
|
var result = Unit_instance;
|
|
2761
|
-
composite.
|
|
2760
|
+
composite.m1v(descriptor);
|
|
2762
2761
|
if (!seen._v)
|
|
2763
|
-
throw MissingFieldException_init_$Create$('nanoseconds', this.
|
|
2762
|
+
throw MissingFieldException_init_$Create$('nanoseconds', this.w1r().b1t());
|
|
2764
2763
|
return new TimeBased(nanoseconds._v);
|
|
2765
2764
|
};
|
|
2766
2765
|
var TimeBasedDateTimeUnitSerializer_instance;
|
|
@@ -2770,7 +2769,7 @@ function TimeBasedDateTimeUnitSerializer_getInstance() {
|
|
|
2770
2769
|
return TimeBasedDateTimeUnitSerializer_instance;
|
|
2771
2770
|
}
|
|
2772
2771
|
function _get_impl__d88w17($this) {
|
|
2773
|
-
var tmp0 = $this.
|
|
2772
|
+
var tmp0 = $this.h5b_1;
|
|
2774
2773
|
var tmp = KProperty1;
|
|
2775
2774
|
// Inline function 'kotlin.getValue' call
|
|
2776
2775
|
getPropertyCallableRef('impl', 1, tmp, DateBasedDateTimeUnitSerializer$_get_impl_$ref_m860rs(), null);
|
|
@@ -2785,8 +2784,8 @@ function DateBasedDateTimeUnitSerializer$impl$delegate$lambda() {
|
|
|
2785
2784
|
// Inline function 'kotlin.arrayOf' call
|
|
2786
2785
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2787
2786
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2788
|
-
var tmp$ret$
|
|
2789
|
-
return new SealedClassSerializer('kotlinx.datetime.DateTimeUnit.DateBased', tmp, tmp_0, tmp$ret$
|
|
2787
|
+
var tmp$ret$3 = [DayBasedDateTimeUnitSerializer_getInstance(), MonthBasedDateTimeUnitSerializer_getInstance()];
|
|
2788
|
+
return new SealedClassSerializer('kotlinx.datetime.DateTimeUnit.DateBased', tmp, tmp_0, tmp$ret$3);
|
|
2790
2789
|
}
|
|
2791
2790
|
function DateBasedDateTimeUnitSerializer$_get_impl_$ref_m860rs() {
|
|
2792
2791
|
return function (p0) {
|
|
@@ -2798,22 +2797,22 @@ function DateBasedDateTimeUnitSerializer() {
|
|
|
2798
2797
|
AbstractPolymorphicSerializer.call(this);
|
|
2799
2798
|
var tmp = this;
|
|
2800
2799
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2801
|
-
tmp.
|
|
2800
|
+
tmp.h5b_1 = lazy_0(tmp_0, DateBasedDateTimeUnitSerializer$impl$delegate$lambda);
|
|
2802
2801
|
}
|
|
2803
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2804
|
-
return _get_impl__d88w17(this).
|
|
2802
|
+
protoOf(DateBasedDateTimeUnitSerializer).m1s = function (decoder, klassName) {
|
|
2803
|
+
return _get_impl__d88w17(this).m1s(decoder, klassName);
|
|
2805
2804
|
};
|
|
2806
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2807
|
-
return _get_impl__d88w17(this).
|
|
2805
|
+
protoOf(DateBasedDateTimeUnitSerializer).i5b = function (encoder, value) {
|
|
2806
|
+
return _get_impl__d88w17(this).o1s(encoder, value);
|
|
2808
2807
|
};
|
|
2809
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2810
|
-
return this.
|
|
2808
|
+
protoOf(DateBasedDateTimeUnitSerializer).o1s = function (encoder, value) {
|
|
2809
|
+
return this.i5b(encoder, value instanceof DateBased ? value : THROW_CCE());
|
|
2811
2810
|
};
|
|
2812
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2811
|
+
protoOf(DateBasedDateTimeUnitSerializer).n1s = function () {
|
|
2813
2812
|
return getKClass(DateBased);
|
|
2814
2813
|
};
|
|
2815
|
-
protoOf(DateBasedDateTimeUnitSerializer).
|
|
2816
|
-
return _get_impl__d88w17(this).
|
|
2814
|
+
protoOf(DateBasedDateTimeUnitSerializer).w1r = function () {
|
|
2815
|
+
return _get_impl__d88w17(this).w1r();
|
|
2817
2816
|
};
|
|
2818
2817
|
var DateBasedDateTimeUnitSerializer_instance;
|
|
2819
2818
|
function DateBasedDateTimeUnitSerializer_getInstance() {
|
|
@@ -2830,53 +2829,53 @@ function DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($this$
|
|
|
2830
2829
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2831
2830
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2832
2831
|
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().ib(), arrayOf([]), false));
|
|
2833
|
-
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).
|
|
2834
|
-
$this$buildClassSerialDescriptor.
|
|
2832
|
+
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).w1r();
|
|
2833
|
+
$this$buildClassSerialDescriptor.i1u('days', descriptor, annotations, false);
|
|
2835
2834
|
return Unit_instance;
|
|
2836
2835
|
}
|
|
2837
2836
|
function DayBasedDateTimeUnitSerializer$_get_descriptor_$ref_2ycvl3() {
|
|
2838
2837
|
return function (p0) {
|
|
2839
|
-
return p0.
|
|
2838
|
+
return p0.w1r();
|
|
2840
2839
|
};
|
|
2841
2840
|
}
|
|
2842
2841
|
function DayBasedDateTimeUnitSerializer() {
|
|
2843
2842
|
DayBasedDateTimeUnitSerializer_instance = this;
|
|
2844
2843
|
var tmp = this;
|
|
2845
2844
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2846
|
-
tmp.
|
|
2845
|
+
tmp.j5b_1 = lazy_0(tmp_0, DayBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2847
2846
|
}
|
|
2848
|
-
protoOf(DayBasedDateTimeUnitSerializer).
|
|
2849
|
-
var tmp0 = this.
|
|
2847
|
+
protoOf(DayBasedDateTimeUnitSerializer).w1r = function () {
|
|
2848
|
+
var tmp0 = this.j5b_1;
|
|
2850
2849
|
var tmp = KProperty1;
|
|
2851
2850
|
// Inline function 'kotlin.getValue' call
|
|
2852
2851
|
getPropertyCallableRef('descriptor', 1, tmp, DayBasedDateTimeUnitSerializer$_get_descriptor_$ref_2ycvl3(), null);
|
|
2853
2852
|
return tmp0.m1();
|
|
2854
2853
|
};
|
|
2855
|
-
protoOf(DayBasedDateTimeUnitSerializer).
|
|
2854
|
+
protoOf(DayBasedDateTimeUnitSerializer).k5b = function (encoder, value) {
|
|
2856
2855
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2857
|
-
var descriptor = this.
|
|
2858
|
-
var composite = encoder.
|
|
2859
|
-
composite.
|
|
2860
|
-
composite.
|
|
2856
|
+
var descriptor = this.w1r();
|
|
2857
|
+
var composite = encoder.l1v(descriptor);
|
|
2858
|
+
composite.u1w(DayBasedDateTimeUnitSerializer_getInstance().w1r(), 0, value.o54_1);
|
|
2859
|
+
composite.m1v(descriptor);
|
|
2861
2860
|
};
|
|
2862
|
-
protoOf(DayBasedDateTimeUnitSerializer).
|
|
2863
|
-
return this.
|
|
2861
|
+
protoOf(DayBasedDateTimeUnitSerializer).j1s = function (encoder, value) {
|
|
2862
|
+
return this.k5b(encoder, value instanceof DayBased ? value : THROW_CCE());
|
|
2864
2863
|
};
|
|
2865
|
-
protoOf(DayBasedDateTimeUnitSerializer).
|
|
2864
|
+
protoOf(DayBasedDateTimeUnitSerializer).k1s = function (decoder) {
|
|
2866
2865
|
var seen = {_v: false};
|
|
2867
2866
|
var days = {_v: 0};
|
|
2868
2867
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
2869
|
-
var descriptor = this.
|
|
2870
|
-
var composite = decoder.
|
|
2871
|
-
if (composite.
|
|
2872
|
-
days._v = composite.
|
|
2868
|
+
var descriptor = this.w1r();
|
|
2869
|
+
var composite = decoder.l1v(descriptor);
|
|
2870
|
+
if (composite.a1w()) {
|
|
2871
|
+
days._v = composite.q1v(DayBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2873
2872
|
seen._v = true;
|
|
2874
2873
|
} else {
|
|
2875
2874
|
loop: while (true) {
|
|
2876
|
-
var elementIndex = composite.
|
|
2875
|
+
var elementIndex = composite.b1w(DayBasedDateTimeUnitSerializer_getInstance().w1r());
|
|
2877
2876
|
switch (elementIndex) {
|
|
2878
2877
|
case 0:
|
|
2879
|
-
days._v = composite.
|
|
2878
|
+
days._v = composite.q1v(DayBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2880
2879
|
seen._v = true;
|
|
2881
2880
|
break;
|
|
2882
2881
|
case -1:
|
|
@@ -2888,9 +2887,9 @@ protoOf(DayBasedDateTimeUnitSerializer).s1s = function (decoder) {
|
|
|
2888
2887
|
}
|
|
2889
2888
|
}
|
|
2890
2889
|
var result = Unit_instance;
|
|
2891
|
-
composite.
|
|
2890
|
+
composite.m1v(descriptor);
|
|
2892
2891
|
if (!seen._v)
|
|
2893
|
-
throw MissingFieldException_init_$Create$('days', this.
|
|
2892
|
+
throw MissingFieldException_init_$Create$('days', this.w1r().b1t());
|
|
2894
2893
|
return new DayBased(days._v);
|
|
2895
2894
|
};
|
|
2896
2895
|
var DayBasedDateTimeUnitSerializer_instance;
|
|
@@ -2908,53 +2907,53 @@ function MonthBasedDateTimeUnitSerializer$descriptor$delegate$lambda$lambda($thi
|
|
|
2908
2907
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2909
2908
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2910
2909
|
var this_0 = serializer(createKType(PrimitiveClasses_getInstance().ib(), arrayOf([]), false));
|
|
2911
|
-
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).
|
|
2912
|
-
$this$buildClassSerialDescriptor.
|
|
2910
|
+
var descriptor = (isInterface(this_0, KSerializer) ? this_0 : THROW_CCE()).w1r();
|
|
2911
|
+
$this$buildClassSerialDescriptor.i1u('months', descriptor, annotations, false);
|
|
2913
2912
|
return Unit_instance;
|
|
2914
2913
|
}
|
|
2915
2914
|
function MonthBasedDateTimeUnitSerializer$_get_descriptor_$ref_vroatn() {
|
|
2916
2915
|
return function (p0) {
|
|
2917
|
-
return p0.
|
|
2916
|
+
return p0.w1r();
|
|
2918
2917
|
};
|
|
2919
2918
|
}
|
|
2920
2919
|
function MonthBasedDateTimeUnitSerializer() {
|
|
2921
2920
|
MonthBasedDateTimeUnitSerializer_instance = this;
|
|
2922
2921
|
var tmp = this;
|
|
2923
2922
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2924
|
-
tmp.
|
|
2923
|
+
tmp.l5b_1 = lazy_0(tmp_0, MonthBasedDateTimeUnitSerializer$descriptor$delegate$lambda);
|
|
2925
2924
|
}
|
|
2926
|
-
protoOf(MonthBasedDateTimeUnitSerializer).
|
|
2927
|
-
var tmp0 = this.
|
|
2925
|
+
protoOf(MonthBasedDateTimeUnitSerializer).w1r = function () {
|
|
2926
|
+
var tmp0 = this.l5b_1;
|
|
2928
2927
|
var tmp = KProperty1;
|
|
2929
2928
|
// Inline function 'kotlin.getValue' call
|
|
2930
2929
|
getPropertyCallableRef('descriptor', 1, tmp, MonthBasedDateTimeUnitSerializer$_get_descriptor_$ref_vroatn(), null);
|
|
2931
2930
|
return tmp0.m1();
|
|
2932
2931
|
};
|
|
2933
|
-
protoOf(MonthBasedDateTimeUnitSerializer).
|
|
2932
|
+
protoOf(MonthBasedDateTimeUnitSerializer).m5b = function (encoder, value) {
|
|
2934
2933
|
// Inline function 'kotlinx.serialization.encoding.encodeStructure' call
|
|
2935
|
-
var descriptor = this.
|
|
2936
|
-
var composite = encoder.
|
|
2937
|
-
composite.
|
|
2938
|
-
composite.
|
|
2934
|
+
var descriptor = this.w1r();
|
|
2935
|
+
var composite = encoder.l1v(descriptor);
|
|
2936
|
+
composite.u1w(MonthBasedDateTimeUnitSerializer_getInstance().w1r(), 0, value.p54_1);
|
|
2937
|
+
composite.m1v(descriptor);
|
|
2939
2938
|
};
|
|
2940
|
-
protoOf(MonthBasedDateTimeUnitSerializer).
|
|
2941
|
-
return this.
|
|
2939
|
+
protoOf(MonthBasedDateTimeUnitSerializer).j1s = function (encoder, value) {
|
|
2940
|
+
return this.m5b(encoder, value instanceof MonthBased ? value : THROW_CCE());
|
|
2942
2941
|
};
|
|
2943
|
-
protoOf(MonthBasedDateTimeUnitSerializer).
|
|
2942
|
+
protoOf(MonthBasedDateTimeUnitSerializer).k1s = function (decoder) {
|
|
2944
2943
|
var seen = {_v: false};
|
|
2945
2944
|
var months = {_v: 0};
|
|
2946
2945
|
// Inline function 'kotlinx.serialization.encoding.decodeStructure' call
|
|
2947
|
-
var descriptor = this.
|
|
2948
|
-
var composite = decoder.
|
|
2949
|
-
if (composite.
|
|
2950
|
-
months._v = composite.
|
|
2946
|
+
var descriptor = this.w1r();
|
|
2947
|
+
var composite = decoder.l1v(descriptor);
|
|
2948
|
+
if (composite.a1w()) {
|
|
2949
|
+
months._v = composite.q1v(MonthBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2951
2950
|
seen._v = true;
|
|
2952
2951
|
} else {
|
|
2953
2952
|
loop: while (true) {
|
|
2954
|
-
var elementIndex = composite.
|
|
2953
|
+
var elementIndex = composite.b1w(MonthBasedDateTimeUnitSerializer_getInstance().w1r());
|
|
2955
2954
|
switch (elementIndex) {
|
|
2956
2955
|
case 0:
|
|
2957
|
-
months._v = composite.
|
|
2956
|
+
months._v = composite.q1v(MonthBasedDateTimeUnitSerializer_getInstance().w1r(), 0);
|
|
2958
2957
|
seen._v = true;
|
|
2959
2958
|
break;
|
|
2960
2959
|
case -1:
|
|
@@ -2966,9 +2965,9 @@ protoOf(MonthBasedDateTimeUnitSerializer).s1s = function (decoder) {
|
|
|
2966
2965
|
}
|
|
2967
2966
|
}
|
|
2968
2967
|
var result = Unit_instance;
|
|
2969
|
-
composite.
|
|
2968
|
+
composite.m1v(descriptor);
|
|
2970
2969
|
if (!seen._v)
|
|
2971
|
-
throw MissingFieldException_init_$Create$('months', this.
|
|
2970
|
+
throw MissingFieldException_init_$Create$('months', this.w1r().b1t());
|
|
2972
2971
|
return new MonthBased(months._v);
|
|
2973
2972
|
};
|
|
2974
2973
|
var MonthBasedDateTimeUnitSerializer_instance;
|
|
@@ -2978,7 +2977,7 @@ function MonthBasedDateTimeUnitSerializer_getInstance() {
|
|
|
2978
2977
|
return MonthBasedDateTimeUnitSerializer_instance;
|
|
2979
2978
|
}
|
|
2980
2979
|
function _get_impl__d88w17_0($this) {
|
|
2981
|
-
var tmp0 = $this.
|
|
2980
|
+
var tmp0 = $this.n5b_1;
|
|
2982
2981
|
var tmp = KProperty1;
|
|
2983
2982
|
// Inline function 'kotlin.getValue' call
|
|
2984
2983
|
getPropertyCallableRef('impl', 1, tmp, DateTimeUnitSerializer$_get_impl_$ref_2y1hvx(), null);
|
|
@@ -2993,8 +2992,8 @@ function DateTimeUnitSerializer$impl$delegate$lambda() {
|
|
|
2993
2992
|
// Inline function 'kotlin.arrayOf' call
|
|
2994
2993
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2995
2994
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2996
|
-
var tmp$ret$
|
|
2997
|
-
return new SealedClassSerializer('kotlinx.datetime.DateTimeUnit', tmp, tmp_0, tmp$ret$
|
|
2995
|
+
var tmp$ret$3 = [DayBasedDateTimeUnitSerializer_getInstance(), MonthBasedDateTimeUnitSerializer_getInstance(), TimeBasedDateTimeUnitSerializer_getInstance()];
|
|
2996
|
+
return new SealedClassSerializer('kotlinx.datetime.DateTimeUnit', tmp, tmp_0, tmp$ret$3);
|
|
2998
2997
|
}
|
|
2999
2998
|
function DateTimeUnitSerializer$_get_impl_$ref_2y1hvx() {
|
|
3000
2999
|
return function (p0) {
|
|
@@ -3006,22 +3005,22 @@ function DateTimeUnitSerializer() {
|
|
|
3006
3005
|
AbstractPolymorphicSerializer.call(this);
|
|
3007
3006
|
var tmp = this;
|
|
3008
3007
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
3009
|
-
tmp.
|
|
3008
|
+
tmp.n5b_1 = lazy_0(tmp_0, DateTimeUnitSerializer$impl$delegate$lambda);
|
|
3010
3009
|
}
|
|
3011
|
-
protoOf(DateTimeUnitSerializer).
|
|
3012
|
-
return _get_impl__d88w17_0(this).
|
|
3010
|
+
protoOf(DateTimeUnitSerializer).m1s = function (decoder, klassName) {
|
|
3011
|
+
return _get_impl__d88w17_0(this).m1s(decoder, klassName);
|
|
3013
3012
|
};
|
|
3014
|
-
protoOf(DateTimeUnitSerializer).
|
|
3015
|
-
return _get_impl__d88w17_0(this).
|
|
3013
|
+
protoOf(DateTimeUnitSerializer).o5b = function (encoder, value) {
|
|
3014
|
+
return _get_impl__d88w17_0(this).o1s(encoder, value);
|
|
3016
3015
|
};
|
|
3017
|
-
protoOf(DateTimeUnitSerializer).
|
|
3018
|
-
return this.
|
|
3016
|
+
protoOf(DateTimeUnitSerializer).o1s = function (encoder, value) {
|
|
3017
|
+
return this.o5b(encoder, value instanceof DateTimeUnit ? value : THROW_CCE());
|
|
3019
3018
|
};
|
|
3020
|
-
protoOf(DateTimeUnitSerializer).
|
|
3019
|
+
protoOf(DateTimeUnitSerializer).n1s = function () {
|
|
3021
3020
|
return getKClass(DateTimeUnit);
|
|
3022
3021
|
};
|
|
3023
|
-
protoOf(DateTimeUnitSerializer).
|
|
3024
|
-
return _get_impl__d88w17_0(this).
|
|
3022
|
+
protoOf(DateTimeUnitSerializer).w1r = function () {
|
|
3023
|
+
return _get_impl__d88w17_0(this).w1r();
|
|
3025
3024
|
};
|
|
3026
3025
|
var DateTimeUnitSerializer_instance;
|
|
3027
3026
|
function DateTimeUnitSerializer_getInstance() {
|
|
@@ -3034,19 +3033,19 @@ function throwUnknownIndexException(index) {
|
|
|
3034
3033
|
}
|
|
3035
3034
|
function LocalDateSerializer() {
|
|
3036
3035
|
LocalDateSerializer_instance = this;
|
|
3037
|
-
this.
|
|
3036
|
+
this.p5b_1 = PrimitiveSerialDescriptor('kotlinx.datetime.LocalDate', STRING_getInstance());
|
|
3038
3037
|
}
|
|
3039
|
-
protoOf(LocalDateSerializer).
|
|
3040
|
-
return this.
|
|
3038
|
+
protoOf(LocalDateSerializer).w1r = function () {
|
|
3039
|
+
return this.p5b_1;
|
|
3041
3040
|
};
|
|
3042
|
-
protoOf(LocalDateSerializer).
|
|
3043
|
-
return Companion_getInstance_7().
|
|
3041
|
+
protoOf(LocalDateSerializer).k1s = function (decoder) {
|
|
3042
|
+
return Companion_getInstance_7().u5b(decoder.h1v());
|
|
3044
3043
|
};
|
|
3045
|
-
protoOf(LocalDateSerializer).
|
|
3046
|
-
encoder.
|
|
3044
|
+
protoOf(LocalDateSerializer).v5b = function (encoder, value) {
|
|
3045
|
+
encoder.o1w(value.toString());
|
|
3047
3046
|
};
|
|
3048
|
-
protoOf(LocalDateSerializer).
|
|
3049
|
-
return this.
|
|
3047
|
+
protoOf(LocalDateSerializer).j1s = function (encoder, value) {
|
|
3048
|
+
return this.v5b(encoder, value instanceof LocalDate ? value : THROW_CCE());
|
|
3050
3049
|
};
|
|
3051
3050
|
var LocalDateSerializer_instance;
|
|
3052
3051
|
function LocalDateSerializer_getInstance() {
|
|
@@ -3056,19 +3055,19 @@ function LocalDateSerializer_getInstance() {
|
|
|
3056
3055
|
}
|
|
3057
3056
|
function YearMonthSerializer() {
|
|
3058
3057
|
YearMonthSerializer_instance = this;
|
|
3059
|
-
this.
|
|
3058
|
+
this.w5b_1 = PrimitiveSerialDescriptor('kotlinx.datetime.YearMonth', STRING_getInstance());
|
|
3060
3059
|
}
|
|
3061
|
-
protoOf(YearMonthSerializer).
|
|
3062
|
-
return this.
|
|
3060
|
+
protoOf(YearMonthSerializer).w1r = function () {
|
|
3061
|
+
return this.w5b_1;
|
|
3063
3062
|
};
|
|
3064
|
-
protoOf(YearMonthSerializer).
|
|
3065
|
-
return Companion_instance_8.
|
|
3063
|
+
protoOf(YearMonthSerializer).k1s = function (decoder) {
|
|
3064
|
+
return Companion_instance_8.x5b(decoder.h1v());
|
|
3066
3065
|
};
|
|
3067
|
-
protoOf(YearMonthSerializer).
|
|
3068
|
-
encoder.
|
|
3066
|
+
protoOf(YearMonthSerializer).y5b = function (encoder, value) {
|
|
3067
|
+
encoder.o1w(value.toString());
|
|
3069
3068
|
};
|
|
3070
|
-
protoOf(YearMonthSerializer).
|
|
3071
|
-
return this.
|
|
3069
|
+
protoOf(YearMonthSerializer).j1s = function (encoder, value) {
|
|
3070
|
+
return this.y5b(encoder, value instanceof YearMonth ? value : THROW_CCE());
|
|
3072
3071
|
};
|
|
3073
3072
|
var YearMonthSerializer_instance;
|
|
3074
3073
|
function YearMonthSerializer_getInstance() {
|
|
@@ -3078,19 +3077,19 @@ function YearMonthSerializer_getInstance() {
|
|
|
3078
3077
|
}
|
|
3079
3078
|
function Companion_7() {
|
|
3080
3079
|
Companion_instance_7 = this;
|
|
3081
|
-
this.
|
|
3082
|
-
this.
|
|
3083
|
-
this.
|
|
3084
|
-
this.
|
|
3080
|
+
this.q5b_1 = new LocalDate(-999999999, 1, 1);
|
|
3081
|
+
this.r5b_1 = new LocalDate(999999999, 12, 31);
|
|
3082
|
+
this.s5b_1 = -365243219162n;
|
|
3083
|
+
this.t5b_1 = 365241780471n;
|
|
3085
3084
|
}
|
|
3086
|
-
protoOf(Companion_7).
|
|
3087
|
-
return format.
|
|
3085
|
+
protoOf(Companion_7).z5b = function (input, format) {
|
|
3086
|
+
return format.wk(input);
|
|
3088
3087
|
};
|
|
3089
|
-
protoOf(Companion_7).
|
|
3088
|
+
protoOf(Companion_7).u5b = function (input, format, $super) {
|
|
3090
3089
|
format = format === VOID ? getIsoDateFormat() : format;
|
|
3091
|
-
return $super === VOID ? this.
|
|
3090
|
+
return $super === VOID ? this.z5b(input, format) : $super.z5b.call(this, input, format);
|
|
3092
3091
|
};
|
|
3093
|
-
protoOf(Companion_7).
|
|
3092
|
+
protoOf(Companion_7).a5c = function (epochDays) {
|
|
3094
3093
|
// Inline function 'kotlin.require' call
|
|
3095
3094
|
if (!(-365243219162n <= epochDays ? epochDays <= 365241780471n : false)) {
|
|
3096
3095
|
var message = 'Invalid date: epoch day ' + epochDays.toString() + ' is outside the boundaries of LocalDate';
|
|
@@ -3174,9 +3173,9 @@ function Companion_getInstance_7() {
|
|
|
3174
3173
|
}
|
|
3175
3174
|
function Formats() {
|
|
3176
3175
|
Formats_instance = this;
|
|
3177
|
-
this.
|
|
3176
|
+
this.c55_1 = get_ISO_DATE_BASIC();
|
|
3178
3177
|
}
|
|
3179
|
-
protoOf(Formats).
|
|
3178
|
+
protoOf(Formats).d55 = function () {
|
|
3180
3179
|
return get_ISO_DATE();
|
|
3181
3180
|
};
|
|
3182
3181
|
var Formats_instance;
|
|
@@ -3193,37 +3192,37 @@ function resolvePreviousValid($this, year, month, day) {
|
|
|
3193
3192
|
}
|
|
3194
3193
|
function LocalDate(year, month, day) {
|
|
3195
3194
|
Companion_getInstance_7();
|
|
3196
|
-
this.
|
|
3197
|
-
this.
|
|
3198
|
-
this.
|
|
3195
|
+
this.m56_1 = year;
|
|
3196
|
+
this.n56_1 = day;
|
|
3197
|
+
this.o56_1 = month;
|
|
3199
3198
|
// Inline function 'kotlin.require' call
|
|
3200
|
-
if (!isValidYear(this.
|
|
3199
|
+
if (!isValidYear(this.m56_1)) {
|
|
3201
3200
|
var message = 'Invalid date: the year is out of range';
|
|
3202
3201
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3203
3202
|
}
|
|
3204
|
-
var containsArg = this.
|
|
3203
|
+
var containsArg = this.o56_1;
|
|
3205
3204
|
// Inline function 'kotlin.require' call
|
|
3206
3205
|
if (!(1 <= containsArg ? containsArg <= 12 : false)) {
|
|
3207
|
-
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.
|
|
3206
|
+
var message_0 = 'Invalid date: month must be a number between 1 and 12, got ' + this.o56_1;
|
|
3208
3207
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3209
3208
|
}
|
|
3210
|
-
var containsArg_0 = this.
|
|
3209
|
+
var containsArg_0 = this.n56_1;
|
|
3211
3210
|
// Inline function 'kotlin.require' call
|
|
3212
3211
|
if (!(1 <= containsArg_0 ? containsArg_0 <= 31 : false)) {
|
|
3213
|
-
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.
|
|
3212
|
+
var message_1 = 'Invalid date: day of month must be a number between 1 and 31, got ' + this.n56_1;
|
|
3214
3213
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
3215
3214
|
}
|
|
3216
|
-
if (this.
|
|
3217
|
-
if (this.
|
|
3218
|
-
throw IllegalArgumentException_init_$Create$("Invalid date 'February 29' as '" + this.
|
|
3215
|
+
if (this.n56_1 > 28 && this.n56_1 > monthLength(this.o56_1, isLeapYear(this.m56_1))) {
|
|
3216
|
+
if (this.n56_1 === 29) {
|
|
3217
|
+
throw IllegalArgumentException_init_$Create$("Invalid date 'February 29' as '" + this.m56_1 + "' is not a leap year");
|
|
3219
3218
|
} else {
|
|
3220
|
-
throw IllegalArgumentException_init_$Create$("Invalid date '" + Month_0(month).toString() + ' ' + this.
|
|
3219
|
+
throw IllegalArgumentException_init_$Create$("Invalid date '" + Month_0(month).toString() + ' ' + this.n56_1 + "'");
|
|
3221
3220
|
}
|
|
3222
3221
|
}
|
|
3223
3222
|
}
|
|
3224
|
-
protoOf(LocalDate).
|
|
3225
|
-
var y = fromInt(this.
|
|
3226
|
-
var m = fromInt(this.
|
|
3223
|
+
protoOf(LocalDate).b5c = function () {
|
|
3224
|
+
var y = fromInt(this.m56_1);
|
|
3225
|
+
var m = fromInt(this.o56_1);
|
|
3227
3226
|
var total = 0n;
|
|
3228
3227
|
total = add(total, multiply(numberToLong(365), y));
|
|
3229
3228
|
if (y >= 0n) {
|
|
@@ -3262,12 +3261,12 @@ protoOf(LocalDate).p5b = function () {
|
|
|
3262
3261
|
total = add(tmp_5, tmp$ret$10);
|
|
3263
3262
|
var tmp0 = total;
|
|
3264
3263
|
// Inline function 'kotlin.Long.plus' call
|
|
3265
|
-
var other = this.
|
|
3264
|
+
var other = this.n56_1 - 1 | 0;
|
|
3266
3265
|
total = add(tmp0, fromInt(other));
|
|
3267
3266
|
if (m > 2n) {
|
|
3268
3267
|
var _unary__edvuaz = total;
|
|
3269
3268
|
total = subtract(_unary__edvuaz, get_ONE());
|
|
3270
|
-
if (!isLeapYear(this.
|
|
3269
|
+
if (!isLeapYear(this.m56_1)) {
|
|
3271
3270
|
var _unary__edvuaz_0 = total;
|
|
3272
3271
|
total = subtract(_unary__edvuaz_0, get_ONE());
|
|
3273
3272
|
}
|
|
@@ -3276,45 +3275,45 @@ protoOf(LocalDate).p5b = function () {
|
|
|
3276
3275
|
var this_5 = total;
|
|
3277
3276
|
return subtract(this_5, fromInt(719528));
|
|
3278
3277
|
};
|
|
3279
|
-
protoOf(LocalDate).
|
|
3280
|
-
return Month_0(this.
|
|
3278
|
+
protoOf(LocalDate).p56 = function () {
|
|
3279
|
+
return Month_0(this.o56_1);
|
|
3281
3280
|
};
|
|
3282
|
-
protoOf(LocalDate).
|
|
3281
|
+
protoOf(LocalDate).h56 = function () {
|
|
3283
3282
|
// Inline function 'kotlin.Long.plus' call
|
|
3284
|
-
var this_0 = this.
|
|
3283
|
+
var this_0 = this.b5c();
|
|
3285
3284
|
// Inline function 'kotlin.mod' call
|
|
3286
3285
|
var tmp0 = add(this_0, fromInt(3));
|
|
3287
3286
|
// Inline function 'kotlin.mod' call
|
|
3288
3287
|
var other = fromInt(7);
|
|
3289
3288
|
var r = modulo(tmp0, other);
|
|
3290
|
-
var tmp$ret$
|
|
3291
|
-
var dow0 = convertToInt(tmp$ret$
|
|
3289
|
+
var tmp$ret$2 = add(r, other & shiftRight((r ^ other) & (r | negate(r)), 63));
|
|
3290
|
+
var dow0 = convertToInt(tmp$ret$2);
|
|
3292
3291
|
return DayOfWeek_0(dow0 + 1 | 0);
|
|
3293
3292
|
};
|
|
3294
|
-
protoOf(LocalDate).
|
|
3295
|
-
return (firstDayOfYear(this.
|
|
3293
|
+
protoOf(LocalDate).j56 = function () {
|
|
3294
|
+
return (firstDayOfYear(this.p56(), isLeapYear(this.m56_1)) + this.n56_1 | 0) - 1 | 0;
|
|
3296
3295
|
};
|
|
3297
|
-
protoOf(LocalDate).
|
|
3298
|
-
var y = compareTo(this.
|
|
3296
|
+
protoOf(LocalDate).c5c = function (other) {
|
|
3297
|
+
var y = compareTo(this.m56_1, other.m56_1);
|
|
3299
3298
|
if (!(y === 0)) {
|
|
3300
3299
|
return y;
|
|
3301
3300
|
}
|
|
3302
|
-
var m = compareTo(this.
|
|
3301
|
+
var m = compareTo(this.o56_1, other.o56_1);
|
|
3303
3302
|
if (!(m === 0)) {
|
|
3304
3303
|
return m;
|
|
3305
3304
|
}
|
|
3306
|
-
return compareTo(this.
|
|
3305
|
+
return compareTo(this.n56_1, other.n56_1);
|
|
3307
3306
|
};
|
|
3308
3307
|
protoOf(LocalDate).d = function (other) {
|
|
3309
|
-
return this.
|
|
3308
|
+
return this.c5c(other instanceof LocalDate ? other : THROW_CCE());
|
|
3310
3309
|
};
|
|
3311
|
-
protoOf(LocalDate).
|
|
3310
|
+
protoOf(LocalDate).d5c = function (monthsToAdd) {
|
|
3312
3311
|
if (monthsToAdd === 0n) {
|
|
3313
3312
|
return this;
|
|
3314
3313
|
}
|
|
3315
|
-
var tmp0 = multiply(numberToLong(this.
|
|
3314
|
+
var tmp0 = multiply(numberToLong(this.m56_1), 12n);
|
|
3316
3315
|
// Inline function 'kotlin.Long.plus' call
|
|
3317
|
-
var other = this.
|
|
3316
|
+
var other = this.o56_1 - 1 | 0;
|
|
3318
3317
|
var monthCount = add(tmp0, fromInt(other));
|
|
3319
3318
|
var calcMonths = safeAdd(monthCount, monthsToAdd);
|
|
3320
3319
|
// Inline function 'kotlin.floorDiv' call
|
|
@@ -3335,12 +3334,12 @@ protoOf(LocalDate).r5b = function (monthsToAdd) {
|
|
|
3335
3334
|
// Inline function 'kotlin.mod' call
|
|
3336
3335
|
var other_1 = fromInt(12);
|
|
3337
3336
|
var r = modulo(calcMonths, other_1);
|
|
3338
|
-
var tmp$ret$
|
|
3339
|
-
var newMonth = convertToInt(tmp$ret$
|
|
3340
|
-
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.
|
|
3337
|
+
var tmp$ret$5 = add(r, other_1 & shiftRight((r ^ other_1) & (r | negate(r)), 63));
|
|
3338
|
+
var newMonth = convertToInt(tmp$ret$5) + 1 | 0;
|
|
3339
|
+
return resolvePreviousValid(this, convertToInt(newYear), newMonth, this.n56_1);
|
|
3341
3340
|
};
|
|
3342
|
-
protoOf(LocalDate).
|
|
3343
|
-
return daysToAdd === 0n ? this : Companion_getInstance_7().
|
|
3341
|
+
protoOf(LocalDate).e5c = function (daysToAdd) {
|
|
3342
|
+
return daysToAdd === 0n ? this : Companion_getInstance_7().a5c(safeAdd(this.b5c(), daysToAdd));
|
|
3344
3343
|
};
|
|
3345
3344
|
protoOf(LocalDate).equals = function (other) {
|
|
3346
3345
|
var tmp;
|
|
@@ -3349,7 +3348,7 @@ protoOf(LocalDate).equals = function (other) {
|
|
|
3349
3348
|
} else {
|
|
3350
3349
|
var tmp_0;
|
|
3351
3350
|
if (other instanceof LocalDate) {
|
|
3352
|
-
tmp_0 = this.
|
|
3351
|
+
tmp_0 = this.c5c(other) === 0;
|
|
3353
3352
|
} else {
|
|
3354
3353
|
tmp_0 = false;
|
|
3355
3354
|
}
|
|
@@ -3358,13 +3357,13 @@ protoOf(LocalDate).equals = function (other) {
|
|
|
3358
3357
|
return tmp;
|
|
3359
3358
|
};
|
|
3360
3359
|
protoOf(LocalDate).hashCode = function () {
|
|
3361
|
-
var yearValue = this.
|
|
3362
|
-
var monthValue = this.
|
|
3363
|
-
var dayValue = this.
|
|
3360
|
+
var yearValue = this.m56_1;
|
|
3361
|
+
var monthValue = this.o56_1;
|
|
3362
|
+
var dayValue = this.n56_1;
|
|
3364
3363
|
return yearValue & -2048 ^ (((yearValue << 11) + (monthValue << 6) | 0) + dayValue | 0);
|
|
3365
3364
|
};
|
|
3366
3365
|
protoOf(LocalDate).toString = function () {
|
|
3367
|
-
return format(this, Formats_getInstance().
|
|
3366
|
+
return format(this, Formats_getInstance().d55());
|
|
3368
3367
|
};
|
|
3369
3368
|
function isValidYear(year) {
|
|
3370
3369
|
return year >= -999999999 && year <= 999999999;
|
|
@@ -3374,10 +3373,10 @@ function plus_1(_this__u8e3s4, value, unit) {
|
|
|
3374
3373
|
try {
|
|
3375
3374
|
var tmp_0;
|
|
3376
3375
|
if (unit instanceof DayBased) {
|
|
3377
|
-
tmp_0 = _this__u8e3s4.
|
|
3376
|
+
tmp_0 = _this__u8e3s4.e5c(safeMultiply(value, fromInt(unit.o54_1)));
|
|
3378
3377
|
} else {
|
|
3379
3378
|
if (unit instanceof MonthBased) {
|
|
3380
|
-
tmp_0 = _this__u8e3s4.
|
|
3379
|
+
tmp_0 = _this__u8e3s4.d5c(safeMultiply(value, fromInt(unit.p54_1)));
|
|
3381
3380
|
} else {
|
|
3382
3381
|
noWhenBranchMatchedException();
|
|
3383
3382
|
}
|
|
@@ -3447,12 +3446,12 @@ function firstDayOfYear(_this__u8e3s4, leapYear) {
|
|
|
3447
3446
|
}
|
|
3448
3447
|
function Companion_8() {
|
|
3449
3448
|
}
|
|
3450
|
-
protoOf(Companion_8).
|
|
3451
|
-
return format.
|
|
3449
|
+
protoOf(Companion_8).f5c = function (input, format) {
|
|
3450
|
+
return format.wk(input);
|
|
3452
3451
|
};
|
|
3453
|
-
protoOf(Companion_8).
|
|
3454
|
-
format = format === VOID ? Formats_instance_0.
|
|
3455
|
-
return $super === VOID ? this.
|
|
3452
|
+
protoOf(Companion_8).x5b = function (input, format, $super) {
|
|
3453
|
+
format = format === VOID ? Formats_instance_0.d55() : format;
|
|
3454
|
+
return $super === VOID ? this.f5c(input, format) : $super.f5c.call(this, input, format);
|
|
3456
3455
|
};
|
|
3457
3456
|
var Companion_instance_8;
|
|
3458
3457
|
function Companion_getInstance_8() {
|
|
@@ -3460,7 +3459,7 @@ function Companion_getInstance_8() {
|
|
|
3460
3459
|
}
|
|
3461
3460
|
function Formats_0() {
|
|
3462
3461
|
}
|
|
3463
|
-
protoOf(Formats_0).
|
|
3462
|
+
protoOf(Formats_0).d55 = function () {
|
|
3464
3463
|
return get_ISO_YEAR_MONTH();
|
|
3465
3464
|
};
|
|
3466
3465
|
var Formats_instance_0;
|
|
@@ -3469,63 +3468,63 @@ function Formats_getInstance_0() {
|
|
|
3469
3468
|
}
|
|
3470
3469
|
function YearMonth$_get_year_$ref_chp4n6() {
|
|
3471
3470
|
return function (p0) {
|
|
3472
|
-
return p0.
|
|
3471
|
+
return p0.s57_1;
|
|
3473
3472
|
};
|
|
3474
3473
|
}
|
|
3475
3474
|
function YearMonth$_get_month_$ref_9rphhd() {
|
|
3476
3475
|
return function (p0) {
|
|
3477
|
-
return p0.
|
|
3476
|
+
return p0.p56();
|
|
3478
3477
|
};
|
|
3479
3478
|
}
|
|
3480
3479
|
function YearMonth(year, month) {
|
|
3481
|
-
this.
|
|
3482
|
-
this.
|
|
3480
|
+
this.s57_1 = year;
|
|
3481
|
+
this.t57_1 = month;
|
|
3483
3482
|
// Inline function 'kotlin.require' call
|
|
3484
3483
|
if (!(1 <= month ? month <= 12 : false)) {
|
|
3485
3484
|
var message = 'Month must be in 1..12, but was ' + month;
|
|
3486
3485
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3487
3486
|
}
|
|
3488
|
-
var containsLower = Companion_getInstance_7().
|
|
3489
|
-
var containsUpper = Companion_getInstance_7().
|
|
3490
|
-
var containsArg = this.
|
|
3487
|
+
var containsLower = Companion_getInstance_7().q5b_1.m56_1;
|
|
3488
|
+
var containsUpper = Companion_getInstance_7().r5b_1.m56_1;
|
|
3489
|
+
var containsArg = this.s57_1;
|
|
3491
3490
|
// Inline function 'kotlin.require' call
|
|
3492
3491
|
if (!(containsLower <= containsArg ? containsArg <= containsUpper : false)) {
|
|
3493
|
-
var message_0 = 'Year ' + this.
|
|
3492
|
+
var message_0 = 'Year ' + this.s57_1 + ' is out of range: ' + Companion_getInstance_7().q5b_1.m56_1 + '..' + Companion_getInstance_7().r5b_1.m56_1;
|
|
3494
3493
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
3495
3494
|
}
|
|
3496
3495
|
}
|
|
3497
|
-
protoOf(YearMonth).
|
|
3498
|
-
return Month_0(this.
|
|
3496
|
+
protoOf(YearMonth).p56 = function () {
|
|
3497
|
+
return Month_0(this.t57_1);
|
|
3499
3498
|
};
|
|
3500
|
-
protoOf(YearMonth).
|
|
3499
|
+
protoOf(YearMonth).g5c = function (other) {
|
|
3501
3500
|
var tmp = KProperty1;
|
|
3502
3501
|
var tmp_0 = getPropertyCallableRef('year', 1, tmp, YearMonth$_get_year_$ref_chp4n6(), null);
|
|
3503
3502
|
var tmp_1 = KProperty1;
|
|
3504
3503
|
return compareValuesBy(this, other, [tmp_0, getPropertyCallableRef('month', 1, tmp_1, YearMonth$_get_month_$ref_9rphhd(), null)]);
|
|
3505
3504
|
};
|
|
3506
3505
|
protoOf(YearMonth).d = function (other) {
|
|
3507
|
-
return this.
|
|
3506
|
+
return this.g5c(other instanceof YearMonth ? other : THROW_CCE());
|
|
3508
3507
|
};
|
|
3509
3508
|
protoOf(YearMonth).toString = function () {
|
|
3510
|
-
return Formats_instance_0.
|
|
3509
|
+
return Formats_instance_0.d55().e55(this);
|
|
3511
3510
|
};
|
|
3512
3511
|
protoOf(YearMonth).equals = function (other) {
|
|
3513
3512
|
var tmp;
|
|
3514
3513
|
var tmp_0;
|
|
3515
3514
|
if (other instanceof YearMonth) {
|
|
3516
|
-
tmp_0 = this.
|
|
3515
|
+
tmp_0 = this.s57_1 === other.s57_1;
|
|
3517
3516
|
} else {
|
|
3518
3517
|
tmp_0 = false;
|
|
3519
3518
|
}
|
|
3520
3519
|
if (tmp_0) {
|
|
3521
|
-
tmp = this.
|
|
3520
|
+
tmp = this.p56().equals(other.p56());
|
|
3522
3521
|
} else {
|
|
3523
3522
|
tmp = false;
|
|
3524
3523
|
}
|
|
3525
3524
|
return tmp;
|
|
3526
3525
|
};
|
|
3527
3526
|
protoOf(YearMonth).hashCode = function () {
|
|
3528
|
-
return imul(this.
|
|
3527
|
+
return imul(this.s57_1, 31) + this.p56().hashCode() | 0;
|
|
3529
3528
|
};
|
|
3530
3529
|
function safeAdd(a, b) {
|
|
3531
3530
|
var sum = add(a, b);
|
|
@@ -3558,27 +3557,27 @@ function safeMultiply_0(a, b) {
|
|
|
3558
3557
|
return convertToInt(total);
|
|
3559
3558
|
}
|
|
3560
3559
|
//region block: post-declaration
|
|
3561
|
-
protoOf(Builder).
|
|
3562
|
-
protoOf(Builder).
|
|
3563
|
-
protoOf(Builder).
|
|
3564
|
-
protoOf(Builder).
|
|
3565
|
-
protoOf(Builder).
|
|
3566
|
-
protoOf(Builder).
|
|
3567
|
-
protoOf(Builder).
|
|
3568
|
-
protoOf(Builder).
|
|
3569
|
-
protoOf(Builder).
|
|
3570
|
-
protoOf(Builder_0).
|
|
3571
|
-
protoOf(Builder_0).
|
|
3572
|
-
protoOf(Builder_0).
|
|
3573
|
-
protoOf(Builder_0).
|
|
3574
|
-
protoOf(Builder_0).
|
|
3575
|
-
protoOf(Builder_0).
|
|
3576
|
-
protoOf(PropertyAccessor).
|
|
3577
|
-
protoOf(SpacePaddedFormatter).
|
|
3578
|
-
protoOf(ConcatenatedFormatter).
|
|
3579
|
-
protoOf(UnsignedIntFormatterStructure).
|
|
3580
|
-
protoOf(SignedIntFormatterStructure).
|
|
3581
|
-
protoOf(ConstantStringFormatterStructure).
|
|
3560
|
+
protoOf(Builder).t55 = chars;
|
|
3561
|
+
protoOf(Builder).y2l = build;
|
|
3562
|
+
protoOf(Builder).a57 = addFormatStructureForYearMonth;
|
|
3563
|
+
protoOf(Builder).u55 = day;
|
|
3564
|
+
protoOf(Builder).v55 = day$default;
|
|
3565
|
+
protoOf(Builder).p55 = year;
|
|
3566
|
+
protoOf(Builder).q55 = year$default;
|
|
3567
|
+
protoOf(Builder).r55 = monthNumber;
|
|
3568
|
+
protoOf(Builder).s55 = monthNumber$default;
|
|
3569
|
+
protoOf(Builder_0).t55 = chars;
|
|
3570
|
+
protoOf(Builder_0).y2l = build;
|
|
3571
|
+
protoOf(Builder_0).p55 = year;
|
|
3572
|
+
protoOf(Builder_0).q55 = year$default;
|
|
3573
|
+
protoOf(Builder_0).r55 = monthNumber;
|
|
3574
|
+
protoOf(Builder_0).s55 = monthNumber$default;
|
|
3575
|
+
protoOf(PropertyAccessor).s58 = getterNotNull;
|
|
3576
|
+
protoOf(SpacePaddedFormatter).n55 = format$default;
|
|
3577
|
+
protoOf(ConcatenatedFormatter).n55 = format$default;
|
|
3578
|
+
protoOf(UnsignedIntFormatterStructure).n55 = format$default;
|
|
3579
|
+
protoOf(SignedIntFormatterStructure).n55 = format$default;
|
|
3580
|
+
protoOf(ConstantStringFormatterStructure).n55 = format$default;
|
|
3582
3581
|
//endregion
|
|
3583
3582
|
//region block: init
|
|
3584
3583
|
Companion_instance = new Companion();
|
|
@@ -3594,7 +3593,7 @@ Formats_instance_0 = new Formats_0();
|
|
|
3594
3593
|
//endregion
|
|
3595
3594
|
//region block: exports
|
|
3596
3595
|
export {
|
|
3597
|
-
LocalDateSerializer_getInstance as
|
|
3596
|
+
LocalDateSerializer_getInstance as LocalDateSerializer_getInstance1rhty9f3x8dd2,
|
|
3598
3597
|
};
|
|
3599
3598
|
//endregion
|
|
3600
3599
|
|