@cruglobal/godtools-shared 1.3.0-PR861-SNAPSHOT.1814 → 1.3.0-SNAPSHOT.1806
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/Kermit-kermit-core.js +49 -49
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +10 -10
- package/antlr-kotlin-antlr-kotlin-runtime.js +3135 -3284
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +651 -678
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +159 -160
- package/fluid-locale.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2124 -2429
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js +64 -64
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +639 -636
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2729 -2763
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +22 -22
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +79 -424
- package/kotlinx-atomicfu.js +24 -24
- package/kotlinx-coroutines-core.js +2972 -2978
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/fluid-locale.js
CHANGED
|
@@ -14,37 +14,36 @@
|
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
16
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
17
|
-
var to = kotlin_kotlin.$_$.
|
|
18
|
-
var hashMapOf = kotlin_kotlin.$_$.
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
+
var to = kotlin_kotlin.$_$.r9;
|
|
18
|
+
var hashMapOf = kotlin_kotlin.$_$.u3;
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.u5;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.t6;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
23
|
-
var sorted = kotlin_kotlin.$_$.
|
|
24
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
23
|
+
var sorted = kotlin_kotlin.$_$.o4;
|
|
24
|
+
var emptyList = kotlin_kotlin.$_$.l3;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.w6;
|
|
26
26
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.d;
|
|
28
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
29
|
-
var splitToSequence = kotlin_kotlin.$_$.
|
|
30
|
-
var
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
33
|
-
var StringBuilder = kotlin_kotlin.$_$.
|
|
34
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
35
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
28
|
+
var charArrayOf = kotlin_kotlin.$_$.s5;
|
|
29
|
+
var splitToSequence = kotlin_kotlin.$_$.y7;
|
|
30
|
+
var charSequenceGet = kotlin_kotlin.$_$.t5;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.q7;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.j9;
|
|
33
|
+
var StringBuilder = kotlin_kotlin.$_$.l7;
|
|
34
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
|
|
35
|
+
var equals_0 = kotlin_kotlin.$_$.x5;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.d6;
|
|
37
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.b3;
|
|
38
38
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
40
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e6;
|
|
41
41
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
|
|
42
42
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
|
|
43
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
44
|
-
var equals_1 = kotlin_kotlin.$_$.
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var concatToString = kotlin_kotlin.$_$.q7;
|
|
43
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.a3;
|
|
44
|
+
var equals_1 = kotlin_kotlin.$_$.p7;
|
|
45
|
+
var toCharArray = kotlin_kotlin.$_$.e8;
|
|
46
|
+
var concatToString = kotlin_kotlin.$_$.m7;
|
|
48
47
|
//endregion
|
|
49
48
|
//region block: pre-declaration
|
|
50
49
|
initMetadataForCompanion(Companion);
|
|
@@ -54,12 +53,12 @@
|
|
|
54
53
|
//endregion
|
|
55
54
|
function Companion() {
|
|
56
55
|
Companion_instance = this;
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
56
|
+
this.z33_1 = _Char___init__impl__6a9atx(120);
|
|
57
|
+
this.a34_1 = _Char___init__impl__6a9atx(45);
|
|
58
|
+
this.b34_1 = 'und';
|
|
59
|
+
this.c34_1 = hashMapOf([to('art-lojban', 'jbo'), to('cel-gaulish', 'xtg-x-cel-gaulish'), to('en-gb-oed', 'en-GB-oxendict'), to('i-ami', 'ami'), to('i-bnn', 'bnn'), to('i-default', 'en-x-i-default'), to('i-enochian', 'und-x-i-enochian'), to('i-hak', 'hak'), to('i-klingon', 'tlh'), to('i-lux', 'lb'), to('i-mingo', 'see-x-i-mingo'), to('i-navajo', 'nv'), to('i-pwn', 'pwn'), to('i-tao', 'tao'), to('i-tay', 'tay'), to('i-tsu', 'tsu'), to('no-bok', 'nb'), to('no-nyn', 'nn'), to('sgn-be-fr', 'sfb'), to('sgn-be-nl', 'vgt'), to('sgn-ch-de', 'sgg'), to('zh-guoyu', 'cmn'), to('zh-hakka', 'hak'), to('zh-min', 'nan-x-zh-min'), to('zh-min-nan', 'nan'), to('zh-xiang', 'hsn')]);
|
|
61
60
|
}
|
|
62
|
-
protoOf(Companion).
|
|
61
|
+
protoOf(Companion).d34 = function (extension) {
|
|
63
62
|
var tmp;
|
|
64
63
|
if (extension == null) {
|
|
65
64
|
tmp = null;
|
|
@@ -77,7 +76,7 @@
|
|
|
77
76
|
var tmp1_safe_receiver = tmp;
|
|
78
77
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
79
78
|
};
|
|
80
|
-
protoOf(Companion).
|
|
79
|
+
protoOf(Companion).e34 = function (singleton) {
|
|
81
80
|
var tmp;
|
|
82
81
|
if (singleton == null) {
|
|
83
82
|
tmp = null;
|
|
@@ -95,7 +94,7 @@
|
|
|
95
94
|
var tmp1_safe_receiver = tmp;
|
|
96
95
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
97
96
|
};
|
|
98
|
-
protoOf(Companion).
|
|
97
|
+
protoOf(Companion).f34 = function (subtag) {
|
|
99
98
|
var tmp;
|
|
100
99
|
if (subtag == null) {
|
|
101
100
|
tmp = null;
|
|
@@ -113,7 +112,7 @@
|
|
|
113
112
|
var tmp1_safe_receiver = tmp;
|
|
114
113
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
115
114
|
};
|
|
116
|
-
protoOf(Companion).
|
|
115
|
+
protoOf(Companion).g34 = function (extensions) {
|
|
117
116
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
118
117
|
var tmp;
|
|
119
118
|
if (extensions.p()) {
|
|
@@ -133,7 +132,7 @@
|
|
|
133
132
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
134
133
|
while (_iterator__ex2g4s.k()) {
|
|
135
134
|
var element = _iterator__ex2g4s.l();
|
|
136
|
-
var tmp0_safe_receiver_0 = this.
|
|
135
|
+
var tmp0_safe_receiver_0 = this.d34(element);
|
|
137
136
|
if (tmp0_safe_receiver_0 == null)
|
|
138
137
|
null;
|
|
139
138
|
else {
|
|
@@ -148,7 +147,7 @@
|
|
|
148
147
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
149
148
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
150
149
|
};
|
|
151
|
-
protoOf(Companion).
|
|
150
|
+
protoOf(Companion).h34 = function (extlang) {
|
|
152
151
|
var tmp;
|
|
153
152
|
if (extlang == null) {
|
|
154
153
|
tmp = null;
|
|
@@ -166,7 +165,7 @@
|
|
|
166
165
|
var tmp1_safe_receiver = tmp;
|
|
167
166
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
168
167
|
};
|
|
169
|
-
protoOf(Companion).
|
|
168
|
+
protoOf(Companion).i34 = function (extlangs) {
|
|
170
169
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
171
170
|
var tmp;
|
|
172
171
|
if (extlangs.p()) {
|
|
@@ -186,7 +185,7 @@
|
|
|
186
185
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
187
186
|
while (_iterator__ex2g4s.k()) {
|
|
188
187
|
var element = _iterator__ex2g4s.l();
|
|
189
|
-
var tmp0_safe_receiver_0 = this.
|
|
188
|
+
var tmp0_safe_receiver_0 = this.h34(element);
|
|
190
189
|
if (tmp0_safe_receiver_0 == null)
|
|
191
190
|
null;
|
|
192
191
|
else {
|
|
@@ -200,7 +199,7 @@
|
|
|
200
199
|
var tmp0_elvis_lhs = tmp_0;
|
|
201
200
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
202
201
|
};
|
|
203
|
-
protoOf(Companion).
|
|
202
|
+
protoOf(Companion).j34 = function (language) {
|
|
204
203
|
var tmp;
|
|
205
204
|
if (language == null) {
|
|
206
205
|
tmp = null;
|
|
@@ -218,7 +217,7 @@
|
|
|
218
217
|
var tmp1_safe_receiver = tmp;
|
|
219
218
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
220
219
|
};
|
|
221
|
-
protoOf(Companion).
|
|
220
|
+
protoOf(Companion).k34 = function (privateuse) {
|
|
222
221
|
var tmp;
|
|
223
222
|
if (privateuse == null) {
|
|
224
223
|
tmp = null;
|
|
@@ -236,7 +235,7 @@
|
|
|
236
235
|
var tmp1_safe_receiver = tmp;
|
|
237
236
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
238
237
|
};
|
|
239
|
-
protoOf(Companion).
|
|
238
|
+
protoOf(Companion).l34 = function (prefix) {
|
|
240
239
|
var tmp;
|
|
241
240
|
if (prefix == null) {
|
|
242
241
|
tmp = null;
|
|
@@ -254,7 +253,7 @@
|
|
|
254
253
|
var tmp1_safe_receiver = tmp;
|
|
255
254
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
256
255
|
};
|
|
257
|
-
protoOf(Companion).
|
|
256
|
+
protoOf(Companion).m34 = function (subtag) {
|
|
258
257
|
var tmp;
|
|
259
258
|
if (subtag == null) {
|
|
260
259
|
tmp = null;
|
|
@@ -272,7 +271,7 @@
|
|
|
272
271
|
var tmp1_safe_receiver = tmp;
|
|
273
272
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
274
273
|
};
|
|
275
|
-
protoOf(Companion).
|
|
274
|
+
protoOf(Companion).n34 = function (region) {
|
|
276
275
|
var tmp;
|
|
277
276
|
if (region == null) {
|
|
278
277
|
tmp = null;
|
|
@@ -290,7 +289,7 @@
|
|
|
290
289
|
var tmp1_safe_receiver = tmp;
|
|
291
290
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
292
291
|
};
|
|
293
|
-
protoOf(Companion).
|
|
292
|
+
protoOf(Companion).o34 = function (script) {
|
|
294
293
|
var tmp;
|
|
295
294
|
if (script == null) {
|
|
296
295
|
tmp = null;
|
|
@@ -308,7 +307,7 @@
|
|
|
308
307
|
var tmp1_safe_receiver = tmp;
|
|
309
308
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
310
309
|
};
|
|
311
|
-
protoOf(Companion).
|
|
310
|
+
protoOf(Companion).p34 = function (variant) {
|
|
312
311
|
var tmp;
|
|
313
312
|
if (variant == null) {
|
|
314
313
|
tmp = null;
|
|
@@ -325,7 +324,7 @@
|
|
|
325
324
|
}
|
|
326
325
|
return tmp;
|
|
327
326
|
};
|
|
328
|
-
protoOf(Companion).
|
|
327
|
+
protoOf(Companion).q34 = function (variants) {
|
|
329
328
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
330
329
|
var tmp;
|
|
331
330
|
if (variants.p()) {
|
|
@@ -345,7 +344,7 @@
|
|
|
345
344
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
346
345
|
while (_iterator__ex2g4s.k()) {
|
|
347
346
|
var element = _iterator__ex2g4s.l();
|
|
348
|
-
var tmp0_safe_receiver_0 = this.
|
|
347
|
+
var tmp0_safe_receiver_0 = this.p34(element);
|
|
349
348
|
if (tmp0_safe_receiver_0 == null)
|
|
350
349
|
null;
|
|
351
350
|
else {
|
|
@@ -359,26 +358,26 @@
|
|
|
359
358
|
var tmp0_elvis_lhs = tmp_0;
|
|
360
359
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
361
360
|
};
|
|
362
|
-
protoOf(Companion).
|
|
363
|
-
var canonicalLanguage = this.
|
|
364
|
-
var canonicalScript = this.
|
|
365
|
-
var canonicalRegion = this.
|
|
366
|
-
var canonicalVariants = this.
|
|
367
|
-
var canonicalExtlangs = this.
|
|
368
|
-
var canonicalExtensions = this.
|
|
369
|
-
var canonicalPrivateuse = this.
|
|
361
|
+
protoOf(Companion).r34 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
362
|
+
var canonicalLanguage = this.j34(language);
|
|
363
|
+
var canonicalScript = this.o34(script);
|
|
364
|
+
var canonicalRegion = this.n34(region);
|
|
365
|
+
var canonicalVariants = this.q34(variants);
|
|
366
|
+
var canonicalExtlangs = this.i34(extlangs);
|
|
367
|
+
var canonicalExtensions = this.g34(extensions);
|
|
368
|
+
var canonicalPrivateuse = this.k34(privateuse);
|
|
370
369
|
// Inline function 'kotlin.require' call
|
|
371
|
-
if (!(!(canonicalLanguage == null) && this.
|
|
370
|
+
if (!(!(canonicalLanguage == null) && this.s34(canonicalLanguage))) {
|
|
372
371
|
var message = 'Invalid language: ' + language;
|
|
373
372
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
374
373
|
}
|
|
375
374
|
// Inline function 'kotlin.require' call
|
|
376
|
-
if (!(canonicalScript == null || this.
|
|
375
|
+
if (!(canonicalScript == null || this.t34(canonicalScript))) {
|
|
377
376
|
var message_0 = 'Invalid script: ' + script;
|
|
378
377
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
379
378
|
}
|
|
380
379
|
// Inline function 'kotlin.require' call
|
|
381
|
-
if (!(canonicalRegion == null || this.
|
|
380
|
+
if (!(canonicalRegion == null || this.u34(canonicalRegion))) {
|
|
382
381
|
var message_1 = 'Invalid region: ' + region;
|
|
383
382
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
384
383
|
}
|
|
@@ -386,7 +385,7 @@
|
|
|
386
385
|
while (tmp0_iterator.k()) {
|
|
387
386
|
var variant = tmp0_iterator.l();
|
|
388
387
|
// Inline function 'kotlin.require' call
|
|
389
|
-
if (!this.
|
|
388
|
+
if (!this.v34(variant)) {
|
|
390
389
|
var message_2 = 'Invalid variant: ' + variant;
|
|
391
390
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
392
391
|
}
|
|
@@ -395,7 +394,7 @@
|
|
|
395
394
|
while (tmp1_iterator.k()) {
|
|
396
395
|
var extlang = tmp1_iterator.l();
|
|
397
396
|
// Inline function 'kotlin.require' call
|
|
398
|
-
if (!this.
|
|
397
|
+
if (!this.w34(extlang)) {
|
|
399
398
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
400
399
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
401
400
|
}
|
|
@@ -404,30 +403,30 @@
|
|
|
404
403
|
while (tmp2_iterator.k()) {
|
|
405
404
|
var extension = tmp2_iterator.l();
|
|
406
405
|
// Inline function 'kotlin.require' call
|
|
407
|
-
if (!this.
|
|
406
|
+
if (!this.x34(extension)) {
|
|
408
407
|
var message_4 = 'Invalid extension: ' + extension;
|
|
409
408
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
410
409
|
}
|
|
411
410
|
}
|
|
412
411
|
// Inline function 'kotlin.require' call
|
|
413
|
-
if (!(canonicalPrivateuse == null || this.
|
|
412
|
+
if (!(canonicalPrivateuse == null || this.y34(canonicalPrivateuse))) {
|
|
414
413
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
415
414
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
416
415
|
}
|
|
417
416
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
418
417
|
};
|
|
419
|
-
protoOf(Companion).
|
|
418
|
+
protoOf(Companion).z34 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
420
419
|
script = script === VOID ? null : script;
|
|
421
420
|
region = region === VOID ? null : region;
|
|
422
421
|
variants = variants === VOID ? emptyList() : variants;
|
|
423
422
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
424
423
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
425
424
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
426
|
-
return $super === VOID ? this.
|
|
425
|
+
return $super === VOID ? this.r34(language, script, region, variants, extlangs, extensions, privateuse) : $super.r34.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
427
426
|
};
|
|
428
|
-
protoOf(Companion).
|
|
427
|
+
protoOf(Companion).x34 = function (extension) {
|
|
429
428
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
430
|
-
if (!this.
|
|
429
|
+
if (!this.a35(tokens.l()))
|
|
431
430
|
return false;
|
|
432
431
|
if (!tokens.k())
|
|
433
432
|
return false;
|
|
@@ -435,18 +434,18 @@
|
|
|
435
434
|
var tmp0_iterator = tokens;
|
|
436
435
|
while (tmp0_iterator.k()) {
|
|
437
436
|
var token = tmp0_iterator.l();
|
|
438
|
-
if (!this.
|
|
437
|
+
if (!this.b35(token))
|
|
439
438
|
return false;
|
|
440
439
|
}
|
|
441
440
|
return true;
|
|
442
441
|
};
|
|
443
|
-
protoOf(Companion).
|
|
444
|
-
return isAlphaNumeric(singleton) && !this.
|
|
442
|
+
protoOf(Companion).c35 = function (singleton) {
|
|
443
|
+
return isAlphaNumeric(singleton) && !this.d35(singleton);
|
|
445
444
|
};
|
|
446
|
-
protoOf(Companion).
|
|
447
|
-
return singleton.length === 1 && this.
|
|
445
|
+
protoOf(Companion).a35 = function (singleton) {
|
|
446
|
+
return singleton.length === 1 && this.c35(charSequenceGet(singleton, 0));
|
|
448
447
|
};
|
|
449
|
-
protoOf(Companion).
|
|
448
|
+
protoOf(Companion).b35 = function (extension) {
|
|
450
449
|
var tmp;
|
|
451
450
|
var containsArg = extension.length;
|
|
452
451
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -456,10 +455,10 @@
|
|
|
456
455
|
}
|
|
457
456
|
return tmp;
|
|
458
457
|
};
|
|
459
|
-
protoOf(Companion).
|
|
458
|
+
protoOf(Companion).w34 = function (extlang) {
|
|
460
459
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
461
460
|
};
|
|
462
|
-
protoOf(Companion).
|
|
461
|
+
protoOf(Companion).s34 = function (language) {
|
|
463
462
|
var tmp;
|
|
464
463
|
var containsArg = language.length;
|
|
465
464
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -469,9 +468,9 @@
|
|
|
469
468
|
}
|
|
470
469
|
return tmp;
|
|
471
470
|
};
|
|
472
|
-
protoOf(Companion).
|
|
471
|
+
protoOf(Companion).y34 = function (privateuse) {
|
|
473
472
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
474
|
-
if (!this.
|
|
473
|
+
if (!this.e35(tokens.l()))
|
|
475
474
|
return false;
|
|
476
475
|
if (!tokens.k())
|
|
477
476
|
return false;
|
|
@@ -479,18 +478,18 @@
|
|
|
479
478
|
var tmp0_iterator = tokens;
|
|
480
479
|
while (tmp0_iterator.k()) {
|
|
481
480
|
var token = tmp0_iterator.l();
|
|
482
|
-
if (!this.
|
|
481
|
+
if (!this.f35(token))
|
|
483
482
|
return false;
|
|
484
483
|
}
|
|
485
484
|
return true;
|
|
486
485
|
};
|
|
487
|
-
protoOf(Companion).
|
|
486
|
+
protoOf(Companion).d35 = function (prefix) {
|
|
488
487
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
489
488
|
};
|
|
490
|
-
protoOf(Companion).
|
|
491
|
-
return prefix.length === 1 && this.
|
|
489
|
+
protoOf(Companion).e35 = function (prefix) {
|
|
490
|
+
return prefix.length === 1 && this.d35(charSequenceGet(prefix, 0));
|
|
492
491
|
};
|
|
493
|
-
protoOf(Companion).
|
|
492
|
+
protoOf(Companion).f35 = function (privateuse) {
|
|
494
493
|
var tmp;
|
|
495
494
|
var containsArg = privateuse.length;
|
|
496
495
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -500,7 +499,7 @@
|
|
|
500
499
|
}
|
|
501
500
|
return tmp;
|
|
502
501
|
};
|
|
503
|
-
protoOf(Companion).
|
|
502
|
+
protoOf(Companion).u34 = function (region) {
|
|
504
503
|
switch (region.length) {
|
|
505
504
|
case 2:
|
|
506
505
|
return isAlpha_0(region);
|
|
@@ -510,15 +509,15 @@
|
|
|
510
509
|
return false;
|
|
511
510
|
}
|
|
512
511
|
};
|
|
513
|
-
protoOf(Companion).
|
|
512
|
+
protoOf(Companion).t34 = function (script) {
|
|
514
513
|
return script.length === 4 && isAlpha_0(script);
|
|
515
514
|
};
|
|
516
|
-
protoOf(Companion).
|
|
515
|
+
protoOf(Companion).v34 = function (variant) {
|
|
517
516
|
var tmp0_subject = variant.length;
|
|
518
|
-
return tmp0_subject === 4 ? isNumeric(
|
|
517
|
+
return tmp0_subject === 4 ? isNumeric(charSequenceGet(variant, 0)) && isAlphaNumeric(charSequenceGet(variant, 1)) && isAlphaNumeric(charSequenceGet(variant, 2)) && isAlphaNumeric(charSequenceGet(variant, 3)) : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
|
|
519
518
|
};
|
|
520
|
-
protoOf(Companion).
|
|
521
|
-
var tmp0_elvis_lhs = this.
|
|
519
|
+
protoOf(Companion).g35 = function (string) {
|
|
520
|
+
var tmp0_elvis_lhs = this.c34_1.q1(toLowerCase_0(string));
|
|
522
521
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
523
522
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
524
523
|
var extlangs = null;
|
|
@@ -530,65 +529,65 @@
|
|
|
530
529
|
var variants = null;
|
|
531
530
|
var token;
|
|
532
531
|
token = tokens.l();
|
|
533
|
-
if (this.
|
|
534
|
-
language = this.
|
|
532
|
+
if (this.s34(token)) {
|
|
533
|
+
language = this.j34(token);
|
|
535
534
|
token = nextOrNull(tokens);
|
|
536
|
-
if (!(token == null) && this.
|
|
535
|
+
if (!(token == null) && this.w34(token)) {
|
|
537
536
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
538
537
|
extlangs = ArrayList_init_$Create$();
|
|
539
538
|
do {
|
|
540
|
-
extlangs.e(ensureNotNull(this.
|
|
539
|
+
extlangs.e(ensureNotNull(this.h34(token)));
|
|
541
540
|
token = nextOrNull(tokens);
|
|
542
541
|
}
|
|
543
|
-
while (!(token == null) && extlangs.m() < 3 && this.
|
|
542
|
+
while (!(token == null) && extlangs.m() < 3 && this.w34(token));
|
|
544
543
|
}
|
|
545
|
-
if (!(token == null) && this.
|
|
546
|
-
script = this.
|
|
544
|
+
if (!(token == null) && this.t34(token)) {
|
|
545
|
+
script = this.o34(token);
|
|
547
546
|
token = nextOrNull(tokens);
|
|
548
547
|
}
|
|
549
|
-
if (!(token == null) && this.
|
|
550
|
-
region = this.
|
|
548
|
+
if (!(token == null) && this.u34(token)) {
|
|
549
|
+
region = this.n34(token);
|
|
551
550
|
token = nextOrNull(tokens);
|
|
552
551
|
}
|
|
553
|
-
if (!(token == null) && this.
|
|
552
|
+
if (!(token == null) && this.v34(token)) {
|
|
554
553
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
555
554
|
variants = ArrayList_init_$Create$();
|
|
556
555
|
do {
|
|
557
|
-
variants.e(ensureNotNull(this.
|
|
556
|
+
variants.e(ensureNotNull(this.p34(token)));
|
|
558
557
|
token = nextOrNull(tokens);
|
|
559
558
|
}
|
|
560
|
-
while (!(token == null) && this.
|
|
559
|
+
while (!(token == null) && this.v34(token));
|
|
561
560
|
}
|
|
562
|
-
if (!(token == null) && this.
|
|
561
|
+
if (!(token == null) && this.a35(token)) {
|
|
563
562
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
564
563
|
extensions = ArrayList_init_$Create$();
|
|
565
564
|
do {
|
|
566
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
565
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.e34(token)));
|
|
567
566
|
token = nextOrNull(tokens);
|
|
568
|
-
if (!(token == null) && this.
|
|
567
|
+
if (!(token == null) && this.b35(token)) {
|
|
569
568
|
do {
|
|
570
|
-
extensionBuilder.
|
|
571
|
-
extensionBuilder.
|
|
569
|
+
extensionBuilder.s7(_Char___init__impl__6a9atx(45));
|
|
570
|
+
extensionBuilder.r7(this.f34(token));
|
|
572
571
|
token = nextOrNull(tokens);
|
|
573
572
|
}
|
|
574
|
-
while (!(token == null) && this.
|
|
573
|
+
while (!(token == null) && this.b35(token));
|
|
575
574
|
} else
|
|
576
575
|
return null;
|
|
577
576
|
extensions.e(extensionBuilder.toString());
|
|
578
577
|
}
|
|
579
|
-
while (!(token == null) && this.
|
|
578
|
+
while (!(token == null) && this.a35(token));
|
|
580
579
|
}
|
|
581
580
|
}
|
|
582
|
-
if (!(token == null) && this.
|
|
583
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
581
|
+
if (!(token == null) && this.e35(token)) {
|
|
582
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.l34(token)));
|
|
584
583
|
token = nextOrNull(tokens);
|
|
585
|
-
if (!(token == null) && this.
|
|
584
|
+
if (!(token == null) && this.f35(token)) {
|
|
586
585
|
do {
|
|
587
|
-
privateuseBuilder.
|
|
588
|
-
privateuseBuilder.
|
|
586
|
+
privateuseBuilder.s7(_Char___init__impl__6a9atx(45));
|
|
587
|
+
privateuseBuilder.r7(this.m34(token));
|
|
589
588
|
token = nextOrNull(tokens);
|
|
590
589
|
}
|
|
591
|
-
while (!(token == null) && this.
|
|
590
|
+
while (!(token == null) && this.f35(token));
|
|
592
591
|
} else
|
|
593
592
|
return null;
|
|
594
593
|
privateuse = privateuseBuilder.toString();
|
|
@@ -618,13 +617,13 @@
|
|
|
618
617
|
}
|
|
619
618
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
620
619
|
Companion_getInstance();
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
this.
|
|
626
|
-
this.
|
|
627
|
-
this.
|
|
620
|
+
this.h35_1 = extensions;
|
|
621
|
+
this.i35_1 = extlangs;
|
|
622
|
+
this.j35_1 = language;
|
|
623
|
+
this.k35_1 = privateuse;
|
|
624
|
+
this.l35_1 = region;
|
|
625
|
+
this.m35_1 = script;
|
|
626
|
+
this.n35_1 = variants;
|
|
628
627
|
}
|
|
629
628
|
protoOf(LanguageTag).equals = function (other) {
|
|
630
629
|
var tmp;
|
|
@@ -639,37 +638,37 @@
|
|
|
639
638
|
var tmp_5;
|
|
640
639
|
var tmp_6;
|
|
641
640
|
if (other instanceof LanguageTag) {
|
|
642
|
-
tmp_6 = equals_0(this.
|
|
641
|
+
tmp_6 = equals_0(this.h35_1, other.h35_1);
|
|
643
642
|
} else {
|
|
644
643
|
tmp_6 = false;
|
|
645
644
|
}
|
|
646
645
|
if (tmp_6) {
|
|
647
|
-
tmp_5 = equals_0(this.
|
|
646
|
+
tmp_5 = equals_0(this.i35_1, other.i35_1);
|
|
648
647
|
} else {
|
|
649
648
|
tmp_5 = false;
|
|
650
649
|
}
|
|
651
650
|
if (tmp_5) {
|
|
652
|
-
tmp_4 = this.
|
|
651
|
+
tmp_4 = this.j35_1 == other.j35_1;
|
|
653
652
|
} else {
|
|
654
653
|
tmp_4 = false;
|
|
655
654
|
}
|
|
656
655
|
if (tmp_4) {
|
|
657
|
-
tmp_3 = this.
|
|
656
|
+
tmp_3 = this.k35_1 == other.k35_1;
|
|
658
657
|
} else {
|
|
659
658
|
tmp_3 = false;
|
|
660
659
|
}
|
|
661
660
|
if (tmp_3) {
|
|
662
|
-
tmp_2 = this.
|
|
661
|
+
tmp_2 = this.l35_1 == other.l35_1;
|
|
663
662
|
} else {
|
|
664
663
|
tmp_2 = false;
|
|
665
664
|
}
|
|
666
665
|
if (tmp_2) {
|
|
667
|
-
tmp_1 = this.
|
|
666
|
+
tmp_1 = this.m35_1 == other.m35_1;
|
|
668
667
|
} else {
|
|
669
668
|
tmp_1 = false;
|
|
670
669
|
}
|
|
671
670
|
if (tmp_1) {
|
|
672
|
-
tmp_0 = equals_2(this.
|
|
671
|
+
tmp_0 = equals_2(this.n35_1, other.n35_1, true);
|
|
673
672
|
} else {
|
|
674
673
|
tmp_0 = false;
|
|
675
674
|
}
|
|
@@ -678,31 +677,31 @@
|
|
|
678
677
|
return tmp;
|
|
679
678
|
};
|
|
680
679
|
protoOf(LanguageTag).hashCode = function () {
|
|
681
|
-
var result = hashCode(this.
|
|
682
|
-
result = imul(31, result) + hashCode(this.
|
|
680
|
+
var result = hashCode(this.h35_1);
|
|
681
|
+
result = imul(31, result) + hashCode(this.i35_1) | 0;
|
|
683
682
|
var tmp = imul(31, result);
|
|
684
683
|
// Inline function 'kotlin.hashCode' call
|
|
685
|
-
var tmp0_safe_receiver = this.
|
|
684
|
+
var tmp0_safe_receiver = this.j35_1;
|
|
686
685
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
687
686
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
688
687
|
var tmp_0 = imul(31, result);
|
|
689
688
|
// Inline function 'kotlin.hashCode' call
|
|
690
|
-
var tmp0_safe_receiver_0 = this.
|
|
689
|
+
var tmp0_safe_receiver_0 = this.k35_1;
|
|
691
690
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
692
691
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
693
692
|
var tmp_1 = imul(31, result);
|
|
694
693
|
// Inline function 'kotlin.hashCode' call
|
|
695
|
-
var tmp0_safe_receiver_1 = this.
|
|
694
|
+
var tmp0_safe_receiver_1 = this.l35_1;
|
|
696
695
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
697
696
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
698
697
|
var tmp_2 = imul(31, result);
|
|
699
698
|
// Inline function 'kotlin.hashCode' call
|
|
700
|
-
var tmp0_safe_receiver_2 = this.
|
|
699
|
+
var tmp0_safe_receiver_2 = this.m35_1;
|
|
701
700
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
702
701
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
703
702
|
var tmp_3 = imul(31, result);
|
|
704
703
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
705
|
-
var this_0 = this.
|
|
704
|
+
var this_0 = this.n35_1;
|
|
706
705
|
var tmp_4;
|
|
707
706
|
if (this_0.p()) {
|
|
708
707
|
tmp_4 = null;
|
|
@@ -735,59 +734,59 @@
|
|
|
735
734
|
// Inline function 'kotlin.text.buildString' call
|
|
736
735
|
// Inline function 'kotlin.apply' call
|
|
737
736
|
var this_0 = StringBuilder_init_$Create$();
|
|
738
|
-
if (!(this.
|
|
739
|
-
this_0.
|
|
740
|
-
var tmp0_iterator = this.
|
|
737
|
+
if (!(this.j35_1 == null)) {
|
|
738
|
+
this_0.r7(this.j35_1);
|
|
739
|
+
var tmp0_iterator = this.i35_1.j();
|
|
741
740
|
while (tmp0_iterator.k()) {
|
|
742
741
|
var extlang = tmp0_iterator.l();
|
|
743
|
-
this_0.
|
|
744
|
-
this_0.
|
|
742
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
743
|
+
this_0.r7(extlang);
|
|
745
744
|
}
|
|
746
|
-
if (!(this.
|
|
747
|
-
this_0.
|
|
748
|
-
this_0.
|
|
745
|
+
if (!(this.m35_1 == null)) {
|
|
746
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
747
|
+
this_0.r7(this.m35_1);
|
|
749
748
|
}
|
|
750
|
-
if (!(this.
|
|
751
|
-
this_0.
|
|
752
|
-
this_0.
|
|
749
|
+
if (!(this.l35_1 == null)) {
|
|
750
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
751
|
+
this_0.r7(this.l35_1);
|
|
753
752
|
}
|
|
754
|
-
var tmp1_iterator = this.
|
|
753
|
+
var tmp1_iterator = this.n35_1.j();
|
|
755
754
|
while (tmp1_iterator.k()) {
|
|
756
755
|
var variant = tmp1_iterator.l();
|
|
757
|
-
this_0.
|
|
758
|
-
this_0.
|
|
756
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
757
|
+
this_0.r7(variant);
|
|
759
758
|
}
|
|
760
|
-
var tmp2_iterator = this.
|
|
759
|
+
var tmp2_iterator = this.h35_1.j();
|
|
761
760
|
while (tmp2_iterator.k()) {
|
|
762
761
|
var extension = tmp2_iterator.l();
|
|
763
|
-
this_0.
|
|
764
|
-
this_0.
|
|
762
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
763
|
+
this_0.r7(extension);
|
|
765
764
|
}
|
|
766
765
|
}
|
|
767
|
-
if (!(this.
|
|
766
|
+
if (!(this.k35_1 == null)) {
|
|
768
767
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
769
768
|
if (charSequenceLength(this_0) > 0) {
|
|
770
|
-
this_0.
|
|
769
|
+
this_0.s7(_Char___init__impl__6a9atx(45));
|
|
771
770
|
}
|
|
772
|
-
this_0.
|
|
771
|
+
this_0.r7(this.k35_1);
|
|
773
772
|
}
|
|
774
773
|
return this_0.toString();
|
|
775
774
|
};
|
|
776
775
|
function Companion_0() {
|
|
777
776
|
Companion_instance_0 = this;
|
|
778
|
-
this.
|
|
777
|
+
this.o35_1 = new Locale(Companion_getInstance().z34('und'));
|
|
779
778
|
}
|
|
780
|
-
protoOf(Companion_0).
|
|
781
|
-
return tag.equals(this.
|
|
779
|
+
protoOf(Companion_0).p35 = function (tag) {
|
|
780
|
+
return tag.equals(this.o35_1.q35_1) ? this.o35_1 : new Locale(tag);
|
|
782
781
|
};
|
|
783
|
-
protoOf(Companion_0).
|
|
784
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
782
|
+
protoOf(Companion_0).r35 = function (tag) {
|
|
783
|
+
var tmp0_safe_receiver = Companion_getInstance().g35(tag);
|
|
785
784
|
var tmp;
|
|
786
785
|
if (tmp0_safe_receiver == null) {
|
|
787
786
|
tmp = null;
|
|
788
787
|
} else {
|
|
789
788
|
// Inline function 'kotlin.let' call
|
|
790
|
-
tmp = this.
|
|
789
|
+
tmp = this.p35(tmp0_safe_receiver);
|
|
791
790
|
}
|
|
792
791
|
return tmp;
|
|
793
792
|
};
|
|
@@ -799,7 +798,7 @@
|
|
|
799
798
|
}
|
|
800
799
|
function Locale(languageTag) {
|
|
801
800
|
Companion_getInstance_0();
|
|
802
|
-
this.
|
|
801
|
+
this.q35_1 = languageTag;
|
|
803
802
|
}
|
|
804
803
|
protoOf(Locale).equals = function (other) {
|
|
805
804
|
var tmp;
|
|
@@ -808,7 +807,7 @@
|
|
|
808
807
|
} else {
|
|
809
808
|
var tmp_0;
|
|
810
809
|
if (other instanceof Locale) {
|
|
811
|
-
tmp_0 = this.
|
|
810
|
+
tmp_0 = this.q35_1.equals(other.q35_1);
|
|
812
811
|
} else {
|
|
813
812
|
tmp_0 = false;
|
|
814
813
|
}
|
|
@@ -817,10 +816,10 @@
|
|
|
817
816
|
return tmp;
|
|
818
817
|
};
|
|
819
818
|
protoOf(Locale).hashCode = function () {
|
|
820
|
-
return this.
|
|
819
|
+
return this.q35_1.hashCode();
|
|
821
820
|
};
|
|
822
821
|
protoOf(Locale).toString = function () {
|
|
823
|
-
return this.
|
|
822
|
+
return this.q35_1.toString();
|
|
824
823
|
};
|
|
825
824
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
826
825
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|