@cruglobal/godtools-shared 1.3.2-SNAPSHOT.2205 → 1.3.2-SNAPSHOT.2210
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 +8 -8
- package/antlr-kotlin-antlr-kotlin-runtime.js +3114 -3114
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +617 -617
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +153 -153
- package/fluid-locale.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2100 -2062
- 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 +54 -54
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +603 -605
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2774 -2774
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +473 -477
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +405 -317
- package/kotlinx-atomicfu.js +21 -21
- package/kotlinx-coroutines-core.js +2837 -2844
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/fluid-locale.js
CHANGED
|
@@ -16,35 +16,35 @@
|
|
|
16
16
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
|
|
17
17
|
var to = kotlin_kotlin.$_$.ia;
|
|
18
18
|
var hashMapOf = kotlin_kotlin.$_$.v3;
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.l6;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.k7;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.f;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.l2;
|
|
23
23
|
var sorted = kotlin_kotlin.$_$.r4;
|
|
24
24
|
var emptyList = kotlin_kotlin.$_$.m3;
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
25
|
+
var toString = kotlin_kotlin.$_$.m7;
|
|
26
26
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.b;
|
|
28
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
29
|
-
var splitToSequence = kotlin_kotlin.$_$.
|
|
30
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
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.$_$.
|
|
28
|
+
var charArrayOf = kotlin_kotlin.$_$.i6;
|
|
29
|
+
var splitToSequence = kotlin_kotlin.$_$.q8;
|
|
30
|
+
var charCodeAt = kotlin_kotlin.$_$.j6;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.i8;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.ba;
|
|
33
|
+
var StringBuilder = kotlin_kotlin.$_$.d8;
|
|
34
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.w6;
|
|
35
|
+
var equals_0 = kotlin_kotlin.$_$.o6;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.u6;
|
|
37
37
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.c3;
|
|
38
38
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
40
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForClass = kotlin_kotlin.$_$.v6;
|
|
41
41
|
var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
|
|
42
42
|
var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
|
|
43
43
|
var checkIndexOverflow = kotlin_kotlin.$_$.b3;
|
|
44
|
-
var equals_1 = kotlin_kotlin.$_$.
|
|
45
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
46
|
-
var toCharArray = kotlin_kotlin.$_$.
|
|
47
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
44
|
+
var equals_1 = kotlin_kotlin.$_$.h8;
|
|
45
|
+
var charSequenceGet = kotlin_kotlin.$_$.k6;
|
|
46
|
+
var toCharArray = kotlin_kotlin.$_$.x8;
|
|
47
|
+
var concatToString = kotlin_kotlin.$_$.e8;
|
|
48
48
|
//endregion
|
|
49
49
|
//region block: pre-declaration
|
|
50
50
|
initMetadataForCompanion(Companion);
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
//endregion
|
|
55
55
|
function Companion() {
|
|
56
56
|
Companion_instance = this;
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
57
|
+
this.r32_1 = _Char___init__impl__6a9atx(120);
|
|
58
|
+
this.s32_1 = _Char___init__impl__6a9atx(45);
|
|
59
|
+
this.t32_1 = 'und';
|
|
60
|
+
this.u32_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
61
|
}
|
|
62
|
-
protoOf(Companion).
|
|
62
|
+
protoOf(Companion).v32 = function (extension) {
|
|
63
63
|
var tmp;
|
|
64
64
|
if (extension == null) {
|
|
65
65
|
tmp = null;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
var tmp1_safe_receiver = tmp;
|
|
78
78
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
79
79
|
};
|
|
80
|
-
protoOf(Companion).
|
|
80
|
+
protoOf(Companion).w32 = function (singleton) {
|
|
81
81
|
var tmp;
|
|
82
82
|
if (singleton == null) {
|
|
83
83
|
tmp = null;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
var tmp1_safe_receiver = tmp;
|
|
96
96
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
97
97
|
};
|
|
98
|
-
protoOf(Companion).
|
|
98
|
+
protoOf(Companion).x32 = function (subtag) {
|
|
99
99
|
var tmp;
|
|
100
100
|
if (subtag == null) {
|
|
101
101
|
tmp = null;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
var tmp1_safe_receiver = tmp;
|
|
114
114
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
115
115
|
};
|
|
116
|
-
protoOf(Companion).
|
|
116
|
+
protoOf(Companion).y32 = function (extensions) {
|
|
117
117
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
118
118
|
var tmp;
|
|
119
119
|
if (extensions.q()) {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
134
134
|
while (_iterator__ex2g4s.m()) {
|
|
135
135
|
var element = _iterator__ex2g4s.n();
|
|
136
|
-
var tmp0_safe_receiver_0 = this.
|
|
136
|
+
var tmp0_safe_receiver_0 = this.v32(element);
|
|
137
137
|
if (tmp0_safe_receiver_0 == null)
|
|
138
138
|
null;
|
|
139
139
|
else {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
149
149
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
150
150
|
};
|
|
151
|
-
protoOf(Companion).
|
|
151
|
+
protoOf(Companion).z32 = function (extlang) {
|
|
152
152
|
var tmp;
|
|
153
153
|
if (extlang == null) {
|
|
154
154
|
tmp = null;
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
var tmp1_safe_receiver = tmp;
|
|
167
167
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
168
168
|
};
|
|
169
|
-
protoOf(Companion).
|
|
169
|
+
protoOf(Companion).a33 = function (extlangs) {
|
|
170
170
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
171
171
|
var tmp;
|
|
172
172
|
if (extlangs.q()) {
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
187
187
|
while (_iterator__ex2g4s.m()) {
|
|
188
188
|
var element = _iterator__ex2g4s.n();
|
|
189
|
-
var tmp0_safe_receiver_0 = this.
|
|
189
|
+
var tmp0_safe_receiver_0 = this.z32(element);
|
|
190
190
|
if (tmp0_safe_receiver_0 == null)
|
|
191
191
|
null;
|
|
192
192
|
else {
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
var tmp0_elvis_lhs = tmp_0;
|
|
201
201
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
202
202
|
};
|
|
203
|
-
protoOf(Companion).
|
|
203
|
+
protoOf(Companion).b33 = function (language) {
|
|
204
204
|
var tmp;
|
|
205
205
|
if (language == null) {
|
|
206
206
|
tmp = null;
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
var tmp1_safe_receiver = tmp;
|
|
219
219
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
220
220
|
};
|
|
221
|
-
protoOf(Companion).
|
|
221
|
+
protoOf(Companion).c33 = function (privateuse) {
|
|
222
222
|
var tmp;
|
|
223
223
|
if (privateuse == null) {
|
|
224
224
|
tmp = null;
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
var tmp1_safe_receiver = tmp;
|
|
237
237
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
238
238
|
};
|
|
239
|
-
protoOf(Companion).
|
|
239
|
+
protoOf(Companion).d33 = function (prefix) {
|
|
240
240
|
var tmp;
|
|
241
241
|
if (prefix == null) {
|
|
242
242
|
tmp = null;
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
var tmp1_safe_receiver = tmp;
|
|
255
255
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
256
256
|
};
|
|
257
|
-
protoOf(Companion).
|
|
257
|
+
protoOf(Companion).e33 = function (subtag) {
|
|
258
258
|
var tmp;
|
|
259
259
|
if (subtag == null) {
|
|
260
260
|
tmp = null;
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
var tmp1_safe_receiver = tmp;
|
|
273
273
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
274
274
|
};
|
|
275
|
-
protoOf(Companion).
|
|
275
|
+
protoOf(Companion).f33 = function (region) {
|
|
276
276
|
var tmp;
|
|
277
277
|
if (region == null) {
|
|
278
278
|
tmp = null;
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
var tmp1_safe_receiver = tmp;
|
|
291
291
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
292
292
|
};
|
|
293
|
-
protoOf(Companion).
|
|
293
|
+
protoOf(Companion).g33 = function (script) {
|
|
294
294
|
var tmp;
|
|
295
295
|
if (script == null) {
|
|
296
296
|
tmp = null;
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
var tmp1_safe_receiver = tmp;
|
|
309
309
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
310
310
|
};
|
|
311
|
-
protoOf(Companion).
|
|
311
|
+
protoOf(Companion).h33 = function (variant) {
|
|
312
312
|
var tmp;
|
|
313
313
|
if (variant == null) {
|
|
314
314
|
tmp = null;
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
}
|
|
326
326
|
return tmp;
|
|
327
327
|
};
|
|
328
|
-
protoOf(Companion).
|
|
328
|
+
protoOf(Companion).i33 = function (variants) {
|
|
329
329
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
330
330
|
var tmp;
|
|
331
331
|
if (variants.q()) {
|
|
@@ -345,7 +345,7 @@
|
|
|
345
345
|
var _iterator__ex2g4s = tmp0_safe_receiver.l();
|
|
346
346
|
while (_iterator__ex2g4s.m()) {
|
|
347
347
|
var element = _iterator__ex2g4s.n();
|
|
348
|
-
var tmp0_safe_receiver_0 = this.
|
|
348
|
+
var tmp0_safe_receiver_0 = this.h33(element);
|
|
349
349
|
if (tmp0_safe_receiver_0 == null)
|
|
350
350
|
null;
|
|
351
351
|
else {
|
|
@@ -359,26 +359,26 @@
|
|
|
359
359
|
var tmp0_elvis_lhs = tmp_0;
|
|
360
360
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
361
361
|
};
|
|
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.
|
|
362
|
+
protoOf(Companion).j33 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
363
|
+
var canonicalLanguage = this.b33(language);
|
|
364
|
+
var canonicalScript = this.g33(script);
|
|
365
|
+
var canonicalRegion = this.f33(region);
|
|
366
|
+
var canonicalVariants = this.i33(variants);
|
|
367
|
+
var canonicalExtlangs = this.a33(extlangs);
|
|
368
|
+
var canonicalExtensions = this.y32(extensions);
|
|
369
|
+
var canonicalPrivateuse = this.c33(privateuse);
|
|
370
370
|
// Inline function 'kotlin.require' call
|
|
371
|
-
if (!(!(canonicalLanguage == null) && this.
|
|
371
|
+
if (!(!(canonicalLanguage == null) && this.k33(canonicalLanguage))) {
|
|
372
372
|
var message = 'Invalid language: ' + language;
|
|
373
373
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
374
374
|
}
|
|
375
375
|
// Inline function 'kotlin.require' call
|
|
376
|
-
if (!(canonicalScript == null || this.
|
|
376
|
+
if (!(canonicalScript == null || this.l33(canonicalScript))) {
|
|
377
377
|
var message_0 = 'Invalid script: ' + script;
|
|
378
378
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
379
379
|
}
|
|
380
380
|
// Inline function 'kotlin.require' call
|
|
381
|
-
if (!(canonicalRegion == null || this.
|
|
381
|
+
if (!(canonicalRegion == null || this.m33(canonicalRegion))) {
|
|
382
382
|
var message_1 = 'Invalid region: ' + region;
|
|
383
383
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
384
384
|
}
|
|
@@ -386,7 +386,7 @@
|
|
|
386
386
|
while (tmp0_iterator.m()) {
|
|
387
387
|
var variant = tmp0_iterator.n();
|
|
388
388
|
// Inline function 'kotlin.require' call
|
|
389
|
-
if (!this.
|
|
389
|
+
if (!this.n33(variant)) {
|
|
390
390
|
var message_2 = 'Invalid variant: ' + variant;
|
|
391
391
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
392
392
|
}
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
while (tmp1_iterator.m()) {
|
|
396
396
|
var extlang = tmp1_iterator.n();
|
|
397
397
|
// Inline function 'kotlin.require' call
|
|
398
|
-
if (!this.
|
|
398
|
+
if (!this.o33(extlang)) {
|
|
399
399
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
400
400
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
401
401
|
}
|
|
@@ -404,30 +404,30 @@
|
|
|
404
404
|
while (tmp2_iterator.m()) {
|
|
405
405
|
var extension = tmp2_iterator.n();
|
|
406
406
|
// Inline function 'kotlin.require' call
|
|
407
|
-
if (!this.
|
|
407
|
+
if (!this.p33(extension)) {
|
|
408
408
|
var message_4 = 'Invalid extension: ' + extension;
|
|
409
409
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
// Inline function 'kotlin.require' call
|
|
413
|
-
if (!(canonicalPrivateuse == null || this.
|
|
413
|
+
if (!(canonicalPrivateuse == null || this.q33(canonicalPrivateuse))) {
|
|
414
414
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
415
415
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
416
416
|
}
|
|
417
417
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
418
418
|
};
|
|
419
|
-
protoOf(Companion).
|
|
419
|
+
protoOf(Companion).r33 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
420
420
|
script = script === VOID ? null : script;
|
|
421
421
|
region = region === VOID ? null : region;
|
|
422
422
|
variants = variants === VOID ? emptyList() : variants;
|
|
423
423
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
424
424
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
425
425
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
426
|
-
return $super === VOID ? this.
|
|
426
|
+
return $super === VOID ? this.j33(language, script, region, variants, extlangs, extensions, privateuse) : $super.j33.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
427
427
|
};
|
|
428
|
-
protoOf(Companion).
|
|
428
|
+
protoOf(Companion).p33 = function (extension) {
|
|
429
429
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).l();
|
|
430
|
-
if (!this.
|
|
430
|
+
if (!this.s33(tokens.n()))
|
|
431
431
|
return false;
|
|
432
432
|
if (!tokens.m())
|
|
433
433
|
return false;
|
|
@@ -435,18 +435,18 @@
|
|
|
435
435
|
var tmp0_iterator = tokens;
|
|
436
436
|
while (tmp0_iterator.m()) {
|
|
437
437
|
var token = tmp0_iterator.n();
|
|
438
|
-
if (!this.
|
|
438
|
+
if (!this.t33(token))
|
|
439
439
|
return false;
|
|
440
440
|
}
|
|
441
441
|
return true;
|
|
442
442
|
};
|
|
443
|
-
protoOf(Companion).
|
|
444
|
-
return isAlphaNumeric(singleton) && !this.
|
|
443
|
+
protoOf(Companion).u33 = function (singleton) {
|
|
444
|
+
return isAlphaNumeric(singleton) && !this.v33(singleton);
|
|
445
445
|
};
|
|
446
|
-
protoOf(Companion).
|
|
447
|
-
return singleton.length === 1 && this.
|
|
446
|
+
protoOf(Companion).s33 = function (singleton) {
|
|
447
|
+
return singleton.length === 1 && this.u33(charCodeAt(singleton, 0));
|
|
448
448
|
};
|
|
449
|
-
protoOf(Companion).
|
|
449
|
+
protoOf(Companion).t33 = function (extension) {
|
|
450
450
|
var tmp;
|
|
451
451
|
var containsArg = extension.length;
|
|
452
452
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -456,10 +456,10 @@
|
|
|
456
456
|
}
|
|
457
457
|
return tmp;
|
|
458
458
|
};
|
|
459
|
-
protoOf(Companion).
|
|
459
|
+
protoOf(Companion).o33 = function (extlang) {
|
|
460
460
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
461
461
|
};
|
|
462
|
-
protoOf(Companion).
|
|
462
|
+
protoOf(Companion).k33 = function (language) {
|
|
463
463
|
var tmp;
|
|
464
464
|
var containsArg = language.length;
|
|
465
465
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -469,9 +469,9 @@
|
|
|
469
469
|
}
|
|
470
470
|
return tmp;
|
|
471
471
|
};
|
|
472
|
-
protoOf(Companion).
|
|
472
|
+
protoOf(Companion).q33 = function (privateuse) {
|
|
473
473
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).l();
|
|
474
|
-
if (!this.
|
|
474
|
+
if (!this.w33(tokens.n()))
|
|
475
475
|
return false;
|
|
476
476
|
if (!tokens.m())
|
|
477
477
|
return false;
|
|
@@ -479,18 +479,18 @@
|
|
|
479
479
|
var tmp0_iterator = tokens;
|
|
480
480
|
while (tmp0_iterator.m()) {
|
|
481
481
|
var token = tmp0_iterator.n();
|
|
482
|
-
if (!this.
|
|
482
|
+
if (!this.x33(token))
|
|
483
483
|
return false;
|
|
484
484
|
}
|
|
485
485
|
return true;
|
|
486
486
|
};
|
|
487
|
-
protoOf(Companion).
|
|
487
|
+
protoOf(Companion).v33 = function (prefix) {
|
|
488
488
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
489
489
|
};
|
|
490
|
-
protoOf(Companion).
|
|
491
|
-
return prefix.length === 1 && this.
|
|
490
|
+
protoOf(Companion).w33 = function (prefix) {
|
|
491
|
+
return prefix.length === 1 && this.v33(charCodeAt(prefix, 0));
|
|
492
492
|
};
|
|
493
|
-
protoOf(Companion).
|
|
493
|
+
protoOf(Companion).x33 = function (privateuse) {
|
|
494
494
|
var tmp;
|
|
495
495
|
var containsArg = privateuse.length;
|
|
496
496
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -500,7 +500,7 @@
|
|
|
500
500
|
}
|
|
501
501
|
return tmp;
|
|
502
502
|
};
|
|
503
|
-
protoOf(Companion).
|
|
503
|
+
protoOf(Companion).m33 = function (region) {
|
|
504
504
|
switch (region.length) {
|
|
505
505
|
case 2:
|
|
506
506
|
return isAlpha_0(region);
|
|
@@ -510,15 +510,15 @@
|
|
|
510
510
|
return false;
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
|
-
protoOf(Companion).
|
|
513
|
+
protoOf(Companion).l33 = function (script) {
|
|
514
514
|
return script.length === 4 && isAlpha_0(script);
|
|
515
515
|
};
|
|
516
|
-
protoOf(Companion).
|
|
516
|
+
protoOf(Companion).n33 = function (variant) {
|
|
517
517
|
var tmp0_subject = variant.length;
|
|
518
518
|
return tmp0_subject === 4 ? isNumeric(charCodeAt(variant, 0)) && isAlphaNumeric(charCodeAt(variant, 1)) && isAlphaNumeric(charCodeAt(variant, 2)) && isAlphaNumeric(charCodeAt(variant, 3)) : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
|
|
519
519
|
};
|
|
520
|
-
protoOf(Companion).
|
|
521
|
-
var tmp0_elvis_lhs = this.
|
|
520
|
+
protoOf(Companion).y33 = function (string) {
|
|
521
|
+
var tmp0_elvis_lhs = this.u32_1.o1(toLowerCase_0(string));
|
|
522
522
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
523
523
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).l();
|
|
524
524
|
var extlangs = null;
|
|
@@ -530,65 +530,65 @@
|
|
|
530
530
|
var variants = null;
|
|
531
531
|
var token;
|
|
532
532
|
token = tokens.n();
|
|
533
|
-
if (this.
|
|
534
|
-
language = this.
|
|
533
|
+
if (this.k33(token)) {
|
|
534
|
+
language = this.b33(token);
|
|
535
535
|
token = nextOrNull(tokens);
|
|
536
|
-
if (!(token == null) && this.
|
|
536
|
+
if (!(token == null) && this.o33(token)) {
|
|
537
537
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
538
538
|
extlangs = ArrayList_init_$Create$();
|
|
539
539
|
do {
|
|
540
|
-
extlangs.h(ensureNotNull(this.
|
|
540
|
+
extlangs.h(ensureNotNull(this.z32(token)));
|
|
541
541
|
token = nextOrNull(tokens);
|
|
542
542
|
}
|
|
543
|
-
while (!(token == null) && extlangs.o() < 3 && this.
|
|
543
|
+
while (!(token == null) && extlangs.o() < 3 && this.o33(token));
|
|
544
544
|
}
|
|
545
|
-
if (!(token == null) && this.
|
|
546
|
-
script = this.
|
|
545
|
+
if (!(token == null) && this.l33(token)) {
|
|
546
|
+
script = this.g33(token);
|
|
547
547
|
token = nextOrNull(tokens);
|
|
548
548
|
}
|
|
549
|
-
if (!(token == null) && this.
|
|
550
|
-
region = this.
|
|
549
|
+
if (!(token == null) && this.m33(token)) {
|
|
550
|
+
region = this.f33(token);
|
|
551
551
|
token = nextOrNull(tokens);
|
|
552
552
|
}
|
|
553
|
-
if (!(token == null) && this.
|
|
553
|
+
if (!(token == null) && this.n33(token)) {
|
|
554
554
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
555
555
|
variants = ArrayList_init_$Create$();
|
|
556
556
|
do {
|
|
557
|
-
variants.h(ensureNotNull(this.
|
|
557
|
+
variants.h(ensureNotNull(this.h33(token)));
|
|
558
558
|
token = nextOrNull(tokens);
|
|
559
559
|
}
|
|
560
|
-
while (!(token == null) && this.
|
|
560
|
+
while (!(token == null) && this.n33(token));
|
|
561
561
|
}
|
|
562
|
-
if (!(token == null) && this.
|
|
562
|
+
if (!(token == null) && this.s33(token)) {
|
|
563
563
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
564
564
|
extensions = ArrayList_init_$Create$();
|
|
565
565
|
do {
|
|
566
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
566
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.w32(token)));
|
|
567
567
|
token = nextOrNull(tokens);
|
|
568
|
-
if (!(token == null) && this.
|
|
568
|
+
if (!(token == null) && this.t33(token)) {
|
|
569
569
|
do {
|
|
570
|
-
extensionBuilder.
|
|
571
|
-
extensionBuilder.
|
|
570
|
+
extensionBuilder.d7(_Char___init__impl__6a9atx(45));
|
|
571
|
+
extensionBuilder.c7(this.x32(token));
|
|
572
572
|
token = nextOrNull(tokens);
|
|
573
573
|
}
|
|
574
|
-
while (!(token == null) && this.
|
|
574
|
+
while (!(token == null) && this.t33(token));
|
|
575
575
|
} else
|
|
576
576
|
return null;
|
|
577
577
|
extensions.h(extensionBuilder.toString());
|
|
578
578
|
}
|
|
579
|
-
while (!(token == null) && this.
|
|
579
|
+
while (!(token == null) && this.s33(token));
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
if (!(token == null) && this.
|
|
583
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
582
|
+
if (!(token == null) && this.w33(token)) {
|
|
583
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.d33(token)));
|
|
584
584
|
token = nextOrNull(tokens);
|
|
585
|
-
if (!(token == null) && this.
|
|
585
|
+
if (!(token == null) && this.x33(token)) {
|
|
586
586
|
do {
|
|
587
|
-
privateuseBuilder.
|
|
588
|
-
privateuseBuilder.
|
|
587
|
+
privateuseBuilder.d7(_Char___init__impl__6a9atx(45));
|
|
588
|
+
privateuseBuilder.c7(this.e33(token));
|
|
589
589
|
token = nextOrNull(tokens);
|
|
590
590
|
}
|
|
591
|
-
while (!(token == null) && this.
|
|
591
|
+
while (!(token == null) && this.x33(token));
|
|
592
592
|
} else
|
|
593
593
|
return null;
|
|
594
594
|
privateuse = privateuseBuilder.toString();
|
|
@@ -618,13 +618,13 @@
|
|
|
618
618
|
}
|
|
619
619
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
620
620
|
Companion_getInstance();
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
this.
|
|
626
|
-
this.
|
|
627
|
-
this.
|
|
621
|
+
this.z33_1 = extensions;
|
|
622
|
+
this.a34_1 = extlangs;
|
|
623
|
+
this.b34_1 = language;
|
|
624
|
+
this.c34_1 = privateuse;
|
|
625
|
+
this.d34_1 = region;
|
|
626
|
+
this.e34_1 = script;
|
|
627
|
+
this.f34_1 = variants;
|
|
628
628
|
}
|
|
629
629
|
protoOf(LanguageTag).equals = function (other) {
|
|
630
630
|
var tmp;
|
|
@@ -639,37 +639,37 @@
|
|
|
639
639
|
var tmp_5;
|
|
640
640
|
var tmp_6;
|
|
641
641
|
if (other instanceof LanguageTag) {
|
|
642
|
-
tmp_6 = equals_0(this.
|
|
642
|
+
tmp_6 = equals_0(this.z33_1, other.z33_1);
|
|
643
643
|
} else {
|
|
644
644
|
tmp_6 = false;
|
|
645
645
|
}
|
|
646
646
|
if (tmp_6) {
|
|
647
|
-
tmp_5 = equals_0(this.
|
|
647
|
+
tmp_5 = equals_0(this.a34_1, other.a34_1);
|
|
648
648
|
} else {
|
|
649
649
|
tmp_5 = false;
|
|
650
650
|
}
|
|
651
651
|
if (tmp_5) {
|
|
652
|
-
tmp_4 = this.
|
|
652
|
+
tmp_4 = this.b34_1 == other.b34_1;
|
|
653
653
|
} else {
|
|
654
654
|
tmp_4 = false;
|
|
655
655
|
}
|
|
656
656
|
if (tmp_4) {
|
|
657
|
-
tmp_3 = this.
|
|
657
|
+
tmp_3 = this.c34_1 == other.c34_1;
|
|
658
658
|
} else {
|
|
659
659
|
tmp_3 = false;
|
|
660
660
|
}
|
|
661
661
|
if (tmp_3) {
|
|
662
|
-
tmp_2 = this.
|
|
662
|
+
tmp_2 = this.d34_1 == other.d34_1;
|
|
663
663
|
} else {
|
|
664
664
|
tmp_2 = false;
|
|
665
665
|
}
|
|
666
666
|
if (tmp_2) {
|
|
667
|
-
tmp_1 = this.
|
|
667
|
+
tmp_1 = this.e34_1 == other.e34_1;
|
|
668
668
|
} else {
|
|
669
669
|
tmp_1 = false;
|
|
670
670
|
}
|
|
671
671
|
if (tmp_1) {
|
|
672
|
-
tmp_0 = equals_2(this.
|
|
672
|
+
tmp_0 = equals_2(this.f34_1, other.f34_1, true);
|
|
673
673
|
} else {
|
|
674
674
|
tmp_0 = false;
|
|
675
675
|
}
|
|
@@ -678,31 +678,31 @@
|
|
|
678
678
|
return tmp;
|
|
679
679
|
};
|
|
680
680
|
protoOf(LanguageTag).hashCode = function () {
|
|
681
|
-
var result = hashCode(this.
|
|
682
|
-
result = imul(31, result) + hashCode(this.
|
|
681
|
+
var result = hashCode(this.z33_1);
|
|
682
|
+
result = imul(31, result) + hashCode(this.a34_1) | 0;
|
|
683
683
|
var tmp = imul(31, result);
|
|
684
684
|
// Inline function 'kotlin.hashCode' call
|
|
685
|
-
var tmp0_safe_receiver = this.
|
|
685
|
+
var tmp0_safe_receiver = this.b34_1;
|
|
686
686
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
687
687
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
688
688
|
var tmp_0 = imul(31, result);
|
|
689
689
|
// Inline function 'kotlin.hashCode' call
|
|
690
|
-
var tmp0_safe_receiver_0 = this.
|
|
690
|
+
var tmp0_safe_receiver_0 = this.c34_1;
|
|
691
691
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
692
692
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
693
693
|
var tmp_1 = imul(31, result);
|
|
694
694
|
// Inline function 'kotlin.hashCode' call
|
|
695
|
-
var tmp0_safe_receiver_1 = this.
|
|
695
|
+
var tmp0_safe_receiver_1 = this.d34_1;
|
|
696
696
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
697
697
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
698
698
|
var tmp_2 = imul(31, result);
|
|
699
699
|
// Inline function 'kotlin.hashCode' call
|
|
700
|
-
var tmp0_safe_receiver_2 = this.
|
|
700
|
+
var tmp0_safe_receiver_2 = this.e34_1;
|
|
701
701
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
702
702
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
703
703
|
var tmp_3 = imul(31, result);
|
|
704
704
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
705
|
-
var this_0 = this.
|
|
705
|
+
var this_0 = this.f34_1;
|
|
706
706
|
var tmp_4;
|
|
707
707
|
if (this_0.q()) {
|
|
708
708
|
tmp_4 = null;
|
|
@@ -735,59 +735,59 @@
|
|
|
735
735
|
// Inline function 'kotlin.text.buildString' call
|
|
736
736
|
// Inline function 'kotlin.apply' call
|
|
737
737
|
var this_0 = StringBuilder_init_$Create$();
|
|
738
|
-
if (!(this.
|
|
739
|
-
this_0.
|
|
740
|
-
var tmp0_iterator = this.
|
|
738
|
+
if (!(this.b34_1 == null)) {
|
|
739
|
+
this_0.c7(this.b34_1);
|
|
740
|
+
var tmp0_iterator = this.a34_1.l();
|
|
741
741
|
while (tmp0_iterator.m()) {
|
|
742
742
|
var extlang = tmp0_iterator.n();
|
|
743
|
-
this_0.
|
|
744
|
-
this_0.
|
|
743
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
744
|
+
this_0.c7(extlang);
|
|
745
745
|
}
|
|
746
|
-
if (!(this.
|
|
747
|
-
this_0.
|
|
748
|
-
this_0.
|
|
746
|
+
if (!(this.e34_1 == null)) {
|
|
747
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
748
|
+
this_0.c7(this.e34_1);
|
|
749
749
|
}
|
|
750
|
-
if (!(this.
|
|
751
|
-
this_0.
|
|
752
|
-
this_0.
|
|
750
|
+
if (!(this.d34_1 == null)) {
|
|
751
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
752
|
+
this_0.c7(this.d34_1);
|
|
753
753
|
}
|
|
754
|
-
var tmp1_iterator = this.
|
|
754
|
+
var tmp1_iterator = this.f34_1.l();
|
|
755
755
|
while (tmp1_iterator.m()) {
|
|
756
756
|
var variant = tmp1_iterator.n();
|
|
757
|
-
this_0.
|
|
758
|
-
this_0.
|
|
757
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
758
|
+
this_0.c7(variant);
|
|
759
759
|
}
|
|
760
|
-
var tmp2_iterator = this.
|
|
760
|
+
var tmp2_iterator = this.z33_1.l();
|
|
761
761
|
while (tmp2_iterator.m()) {
|
|
762
762
|
var extension = tmp2_iterator.n();
|
|
763
|
-
this_0.
|
|
764
|
-
this_0.
|
|
763
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
764
|
+
this_0.c7(extension);
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
if (!(this.
|
|
767
|
+
if (!(this.c34_1 == null)) {
|
|
768
768
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
769
769
|
if (charSequenceLength(this_0) > 0) {
|
|
770
|
-
this_0.
|
|
770
|
+
this_0.d7(_Char___init__impl__6a9atx(45));
|
|
771
771
|
}
|
|
772
|
-
this_0.
|
|
772
|
+
this_0.c7(this.c34_1);
|
|
773
773
|
}
|
|
774
774
|
return this_0.toString();
|
|
775
775
|
};
|
|
776
776
|
function Companion_0() {
|
|
777
777
|
Companion_instance_0 = this;
|
|
778
|
-
this.
|
|
778
|
+
this.g34_1 = new Locale(Companion_getInstance().r33('und'));
|
|
779
779
|
}
|
|
780
|
-
protoOf(Companion_0).
|
|
781
|
-
return tag.equals(this.
|
|
780
|
+
protoOf(Companion_0).h34 = function (tag) {
|
|
781
|
+
return tag.equals(this.g34_1.i34_1) ? this.g34_1 : new Locale(tag);
|
|
782
782
|
};
|
|
783
|
-
protoOf(Companion_0).
|
|
784
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
783
|
+
protoOf(Companion_0).j34 = function (tag) {
|
|
784
|
+
var tmp0_safe_receiver = Companion_getInstance().y33(tag);
|
|
785
785
|
var tmp;
|
|
786
786
|
if (tmp0_safe_receiver == null) {
|
|
787
787
|
tmp = null;
|
|
788
788
|
} else {
|
|
789
789
|
// Inline function 'kotlin.let' call
|
|
790
|
-
tmp = this.
|
|
790
|
+
tmp = this.h34(tmp0_safe_receiver);
|
|
791
791
|
}
|
|
792
792
|
return tmp;
|
|
793
793
|
};
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
}
|
|
800
800
|
function Locale(languageTag) {
|
|
801
801
|
Companion_getInstance_0();
|
|
802
|
-
this.
|
|
802
|
+
this.i34_1 = languageTag;
|
|
803
803
|
}
|
|
804
804
|
protoOf(Locale).equals = function (other) {
|
|
805
805
|
var tmp;
|
|
@@ -808,7 +808,7 @@
|
|
|
808
808
|
} else {
|
|
809
809
|
var tmp_0;
|
|
810
810
|
if (other instanceof Locale) {
|
|
811
|
-
tmp_0 = this.
|
|
811
|
+
tmp_0 = this.i34_1.equals(other.i34_1);
|
|
812
812
|
} else {
|
|
813
813
|
tmp_0 = false;
|
|
814
814
|
}
|
|
@@ -817,10 +817,10 @@
|
|
|
817
817
|
return tmp;
|
|
818
818
|
};
|
|
819
819
|
protoOf(Locale).hashCode = function () {
|
|
820
|
-
return this.
|
|
820
|
+
return this.i34_1.hashCode();
|
|
821
821
|
};
|
|
822
822
|
protoOf(Locale).toString = function () {
|
|
823
|
-
return this.
|
|
823
|
+
return this.i34_1.toString();
|
|
824
824
|
};
|
|
825
825
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
826
826
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|