@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1186 → 0.9.0-SNAPSHOT.1188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/88b0986a7186d029-atomicfu-js-ir.js +6 -6
- package/Napier-napier-js-ir.js +26 -26
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +2946 -2946
- package/colormath-root-colormath-js-ir.js +470 -470
- package/fluid-locale-js-ir.js +125 -125
- package/kotlin-kotlin-stdlib-js-ir.js +169 -173
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +398 -398
- package/kotlin-mpp-godtools-tool-parser-parser.js +2071 -2071
- package/kotlin-mpp-godtools-tool-parser-state.js +215 -215
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1798 -1798
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
package/fluid-locale-js-ir.js
CHANGED
|
@@ -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.v2l_1 = _Char___init__impl__6a9atx(120);
|
|
58
|
+
this.w2l_1 = _Char___init__impl__6a9atx(45);
|
|
59
|
+
this.x2l_1 = 'und';
|
|
60
|
+
this.y2l_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).z2l = function (extension) {
|
|
63
63
|
var tmp0_safe_receiver = extension;
|
|
64
64
|
var tmp;
|
|
65
65
|
if (tmp0_safe_receiver == null) {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
var tmp1_safe_receiver = tmp;
|
|
86
86
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
87
87
|
};
|
|
88
|
-
protoOf(Companion).
|
|
88
|
+
protoOf(Companion).a2m = function (singleton) {
|
|
89
89
|
var tmp0_safe_receiver = singleton;
|
|
90
90
|
var tmp;
|
|
91
91
|
if (tmp0_safe_receiver == null) {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
var tmp1_safe_receiver = tmp;
|
|
112
112
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
113
113
|
};
|
|
114
|
-
protoOf(Companion).
|
|
114
|
+
protoOf(Companion).b2m = function (subtag) {
|
|
115
115
|
var tmp0_safe_receiver = subtag;
|
|
116
116
|
var tmp;
|
|
117
117
|
if (tmp0_safe_receiver == null) {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
var tmp1_safe_receiver = tmp;
|
|
138
138
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
139
139
|
};
|
|
140
|
-
protoOf(Companion).
|
|
140
|
+
protoOf(Companion).c2m = function (extensions) {
|
|
141
141
|
var tmp$ret$5;
|
|
142
142
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
143
143
|
var tmp$ret$1;
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
while (tmp0_iterator.g()) {
|
|
168
168
|
var element = tmp0_iterator.h();
|
|
169
169
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
170
|
-
var tmp0_safe_receiver_0 = this.
|
|
170
|
+
var tmp0_safe_receiver_0 = this.z2l(element);
|
|
171
171
|
if (tmp0_safe_receiver_0 == null)
|
|
172
172
|
null;
|
|
173
173
|
else {
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
189
189
|
return tmp$ret$5;
|
|
190
190
|
};
|
|
191
|
-
protoOf(Companion).
|
|
191
|
+
protoOf(Companion).d2m = function (extlang) {
|
|
192
192
|
var tmp0_safe_receiver = extlang;
|
|
193
193
|
var tmp;
|
|
194
194
|
if (tmp0_safe_receiver == null) {
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
var tmp1_safe_receiver = tmp;
|
|
215
215
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
216
216
|
};
|
|
217
|
-
protoOf(Companion).
|
|
217
|
+
protoOf(Companion).e2m = function (extlangs) {
|
|
218
218
|
var tmp$ret$5;
|
|
219
219
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
220
220
|
var tmp$ret$1;
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
while (tmp0_iterator.g()) {
|
|
245
245
|
var element = tmp0_iterator.h();
|
|
246
246
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
247
|
-
var tmp0_safe_receiver_0 = this.
|
|
247
|
+
var tmp0_safe_receiver_0 = this.d2m(element);
|
|
248
248
|
if (tmp0_safe_receiver_0 == null)
|
|
249
249
|
null;
|
|
250
250
|
else {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
265
265
|
return tmp$ret$5;
|
|
266
266
|
};
|
|
267
|
-
protoOf(Companion).
|
|
267
|
+
protoOf(Companion).f2m = function (language) {
|
|
268
268
|
var tmp0_safe_receiver = language;
|
|
269
269
|
var tmp;
|
|
270
270
|
if (tmp0_safe_receiver == null) {
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
var tmp1_safe_receiver = tmp;
|
|
291
291
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
292
292
|
};
|
|
293
|
-
protoOf(Companion).
|
|
293
|
+
protoOf(Companion).g2m = function (privateuse) {
|
|
294
294
|
var tmp0_safe_receiver = privateuse;
|
|
295
295
|
var tmp;
|
|
296
296
|
if (tmp0_safe_receiver == null) {
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
var tmp1_safe_receiver = tmp;
|
|
317
317
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
318
318
|
};
|
|
319
|
-
protoOf(Companion).
|
|
319
|
+
protoOf(Companion).h2m = function (prefix) {
|
|
320
320
|
var tmp0_safe_receiver = prefix;
|
|
321
321
|
var tmp;
|
|
322
322
|
if (tmp0_safe_receiver == null) {
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
var tmp1_safe_receiver = tmp;
|
|
343
343
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
344
344
|
};
|
|
345
|
-
protoOf(Companion).
|
|
345
|
+
protoOf(Companion).i2m = function (subtag) {
|
|
346
346
|
var tmp0_safe_receiver = subtag;
|
|
347
347
|
var tmp;
|
|
348
348
|
if (tmp0_safe_receiver == null) {
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
var tmp1_safe_receiver = tmp;
|
|
369
369
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
370
370
|
};
|
|
371
|
-
protoOf(Companion).
|
|
371
|
+
protoOf(Companion).j2m = function (region) {
|
|
372
372
|
var tmp0_safe_receiver = region;
|
|
373
373
|
var tmp;
|
|
374
374
|
if (tmp0_safe_receiver == null) {
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
var tmp1_safe_receiver = tmp;
|
|
395
395
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
396
396
|
};
|
|
397
|
-
protoOf(Companion).
|
|
397
|
+
protoOf(Companion).k2m = function (script) {
|
|
398
398
|
var tmp0_safe_receiver = script;
|
|
399
399
|
var tmp;
|
|
400
400
|
if (tmp0_safe_receiver == null) {
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
var tmp1_safe_receiver = tmp;
|
|
421
421
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
422
422
|
};
|
|
423
|
-
protoOf(Companion).
|
|
423
|
+
protoOf(Companion).l2m = function (variant) {
|
|
424
424
|
var tmp0_safe_receiver = variant;
|
|
425
425
|
var tmp;
|
|
426
426
|
if (tmp0_safe_receiver == null) {
|
|
@@ -445,7 +445,7 @@
|
|
|
445
445
|
}
|
|
446
446
|
return tmp;
|
|
447
447
|
};
|
|
448
|
-
protoOf(Companion).
|
|
448
|
+
protoOf(Companion).m2m = function (variants) {
|
|
449
449
|
var tmp$ret$5;
|
|
450
450
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
451
451
|
var tmp$ret$1;
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
while (tmp0_iterator.g()) {
|
|
476
476
|
var element = tmp0_iterator.h();
|
|
477
477
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
478
|
-
var tmp0_safe_receiver_0 = this.
|
|
478
|
+
var tmp0_safe_receiver_0 = this.l2m(element);
|
|
479
479
|
if (tmp0_safe_receiver_0 == null)
|
|
480
480
|
null;
|
|
481
481
|
else {
|
|
@@ -495,16 +495,16 @@
|
|
|
495
495
|
tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
496
496
|
return tmp$ret$5;
|
|
497
497
|
};
|
|
498
|
-
protoOf(Companion).
|
|
499
|
-
var canonicalLanguage = this.
|
|
500
|
-
var canonicalScript = this.
|
|
501
|
-
var canonicalRegion = this.
|
|
502
|
-
var canonicalVariants = this.
|
|
503
|
-
var canonicalExtlangs = this.
|
|
504
|
-
var canonicalExtensions = this.
|
|
505
|
-
var canonicalPrivateuse = this.
|
|
498
|
+
protoOf(Companion).n2m = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
499
|
+
var canonicalLanguage = this.f2m(language);
|
|
500
|
+
var canonicalScript = this.k2m(script);
|
|
501
|
+
var canonicalRegion = this.j2m(region);
|
|
502
|
+
var canonicalVariants = this.m2m(variants);
|
|
503
|
+
var canonicalExtlangs = this.e2m(extlangs);
|
|
504
|
+
var canonicalExtensions = this.c2m(extensions);
|
|
505
|
+
var canonicalPrivateuse = this.g2m(privateuse);
|
|
506
506
|
// Inline function 'kotlin.require' call
|
|
507
|
-
var tmp0_require = !(canonicalLanguage == null) ? this.
|
|
507
|
+
var tmp0_require = !(canonicalLanguage == null) ? this.o2m(canonicalLanguage) : false;
|
|
508
508
|
// Inline function 'kotlin.contracts.contract' call
|
|
509
509
|
if (!tmp0_require) {
|
|
510
510
|
var tmp$ret$0;
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
515
515
|
}
|
|
516
516
|
// Inline function 'kotlin.require' call
|
|
517
|
-
var tmp1_require = canonicalScript == null ? true : this.
|
|
517
|
+
var tmp1_require = canonicalScript == null ? true : this.p2m(canonicalScript);
|
|
518
518
|
// Inline function 'kotlin.contracts.contract' call
|
|
519
519
|
if (!tmp1_require) {
|
|
520
520
|
var tmp$ret$1;
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
525
525
|
}
|
|
526
526
|
// Inline function 'kotlin.require' call
|
|
527
|
-
var tmp2_require = canonicalRegion == null ? true : this.
|
|
527
|
+
var tmp2_require = canonicalRegion == null ? true : this.q2m(canonicalRegion);
|
|
528
528
|
// Inline function 'kotlin.contracts.contract' call
|
|
529
529
|
if (!tmp2_require) {
|
|
530
530
|
var tmp$ret$2;
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
while (tmp0_iterator.g()) {
|
|
538
538
|
var variant = tmp0_iterator.h();
|
|
539
539
|
// Inline function 'kotlin.require' call
|
|
540
|
-
var tmp3_require = this.
|
|
540
|
+
var tmp3_require = this.r2m(variant);
|
|
541
541
|
// Inline function 'kotlin.contracts.contract' call
|
|
542
542
|
if (!tmp3_require) {
|
|
543
543
|
var tmp$ret$3;
|
|
@@ -551,7 +551,7 @@
|
|
|
551
551
|
while (tmp1_iterator.g()) {
|
|
552
552
|
var extlang = tmp1_iterator.h();
|
|
553
553
|
// Inline function 'kotlin.require' call
|
|
554
|
-
var tmp4_require = this.
|
|
554
|
+
var tmp4_require = this.s2m(extlang);
|
|
555
555
|
// Inline function 'kotlin.contracts.contract' call
|
|
556
556
|
if (!tmp4_require) {
|
|
557
557
|
var tmp$ret$4;
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
while (tmp2_iterator.g()) {
|
|
566
566
|
var extension = tmp2_iterator.h();
|
|
567
567
|
// Inline function 'kotlin.require' call
|
|
568
|
-
var tmp5_require = this.
|
|
568
|
+
var tmp5_require = this.t2m(extension);
|
|
569
569
|
// Inline function 'kotlin.contracts.contract' call
|
|
570
570
|
if (!tmp5_require) {
|
|
571
571
|
var tmp$ret$5;
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
// Inline function 'kotlin.require' call
|
|
579
|
-
var tmp6_require = canonicalPrivateuse == null ? true : this.
|
|
579
|
+
var tmp6_require = canonicalPrivateuse == null ? true : this.u2m(canonicalPrivateuse);
|
|
580
580
|
// Inline function 'kotlin.contracts.contract' call
|
|
581
581
|
if (!tmp6_require) {
|
|
582
582
|
var tmp$ret$6;
|
|
@@ -587,18 +587,18 @@
|
|
|
587
587
|
}
|
|
588
588
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
589
589
|
};
|
|
590
|
-
protoOf(Companion).
|
|
590
|
+
protoOf(Companion).v2m = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
591
591
|
script = script === VOID ? null : script;
|
|
592
592
|
region = region === VOID ? null : region;
|
|
593
593
|
variants = variants === VOID ? emptyList() : variants;
|
|
594
594
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
595
595
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
596
596
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
597
|
-
return $super === VOID ? this.
|
|
597
|
+
return $super === VOID ? this.n2m(language, script, region, variants, extlangs, extensions, privateuse) : $super.n2m.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
598
598
|
};
|
|
599
|
-
protoOf(Companion).
|
|
599
|
+
protoOf(Companion).t2m = function (extension) {
|
|
600
600
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
|
|
601
|
-
if (!this.
|
|
601
|
+
if (!this.w2m(tokens.h()))
|
|
602
602
|
return false;
|
|
603
603
|
if (!tokens.g())
|
|
604
604
|
return false;
|
|
@@ -608,18 +608,18 @@
|
|
|
608
608
|
var tmp0_iterator = tmp$ret$0;
|
|
609
609
|
while (tmp0_iterator.g()) {
|
|
610
610
|
var token = tmp0_iterator.h();
|
|
611
|
-
if (!this.
|
|
611
|
+
if (!this.x2m(token))
|
|
612
612
|
return false;
|
|
613
613
|
}
|
|
614
614
|
return true;
|
|
615
615
|
};
|
|
616
|
-
protoOf(Companion).
|
|
617
|
-
return isAlphaNumeric(singleton) ? !this.
|
|
616
|
+
protoOf(Companion).y2m = function (singleton) {
|
|
617
|
+
return isAlphaNumeric(singleton) ? !this.z2m(singleton) : false;
|
|
618
618
|
};
|
|
619
|
-
protoOf(Companion).
|
|
620
|
-
return singleton.length === 1 ? this.
|
|
619
|
+
protoOf(Companion).w2m = function (singleton) {
|
|
620
|
+
return singleton.length === 1 ? this.y2m(charSequenceGet(singleton, 0)) : false;
|
|
621
621
|
};
|
|
622
|
-
protoOf(Companion).
|
|
622
|
+
protoOf(Companion).x2m = function (extension) {
|
|
623
623
|
var tmp;
|
|
624
624
|
var containsArg = extension.length;
|
|
625
625
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -629,10 +629,10 @@
|
|
|
629
629
|
}
|
|
630
630
|
return tmp;
|
|
631
631
|
};
|
|
632
|
-
protoOf(Companion).
|
|
632
|
+
protoOf(Companion).s2m = function (extlang) {
|
|
633
633
|
return extlang.length === 3 ? isAlpha_0(extlang) : false;
|
|
634
634
|
};
|
|
635
|
-
protoOf(Companion).
|
|
635
|
+
protoOf(Companion).o2m = function (language) {
|
|
636
636
|
var tmp;
|
|
637
637
|
var containsArg = language.length;
|
|
638
638
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -642,9 +642,9 @@
|
|
|
642
642
|
}
|
|
643
643
|
return tmp;
|
|
644
644
|
};
|
|
645
|
-
protoOf(Companion).
|
|
645
|
+
protoOf(Companion).u2m = function (privateuse) {
|
|
646
646
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
|
|
647
|
-
if (!this.
|
|
647
|
+
if (!this.a2n(tokens.h()))
|
|
648
648
|
return false;
|
|
649
649
|
if (!tokens.g())
|
|
650
650
|
return false;
|
|
@@ -654,18 +654,18 @@
|
|
|
654
654
|
var tmp0_iterator = tmp$ret$0;
|
|
655
655
|
while (tmp0_iterator.g()) {
|
|
656
656
|
var token = tmp0_iterator.h();
|
|
657
|
-
if (!this.
|
|
657
|
+
if (!this.b2n(token))
|
|
658
658
|
return false;
|
|
659
659
|
}
|
|
660
660
|
return true;
|
|
661
661
|
};
|
|
662
|
-
protoOf(Companion).
|
|
662
|
+
protoOf(Companion).z2m = function (prefix) {
|
|
663
663
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
664
664
|
};
|
|
665
|
-
protoOf(Companion).
|
|
666
|
-
return prefix.length === 1 ? this.
|
|
665
|
+
protoOf(Companion).a2n = function (prefix) {
|
|
666
|
+
return prefix.length === 1 ? this.z2m(charSequenceGet(prefix, 0)) : false;
|
|
667
667
|
};
|
|
668
|
-
protoOf(Companion).
|
|
668
|
+
protoOf(Companion).b2n = function (privateuse) {
|
|
669
669
|
var tmp;
|
|
670
670
|
var containsArg = privateuse.length;
|
|
671
671
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
}
|
|
676
676
|
return tmp;
|
|
677
677
|
};
|
|
678
|
-
protoOf(Companion).
|
|
678
|
+
protoOf(Companion).q2m = function (region) {
|
|
679
679
|
var tmp0_subject = region.length;
|
|
680
680
|
switch (tmp0_subject) {
|
|
681
681
|
case 2:
|
|
@@ -686,15 +686,15 @@
|
|
|
686
686
|
return false;
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
|
-
protoOf(Companion).
|
|
689
|
+
protoOf(Companion).p2m = function (script) {
|
|
690
690
|
return script.length === 4 ? isAlpha_0(script) : false;
|
|
691
691
|
};
|
|
692
|
-
protoOf(Companion).
|
|
692
|
+
protoOf(Companion).r2m = function (variant) {
|
|
693
693
|
var tmp0_subject = variant.length;
|
|
694
694
|
return tmp0_subject === 4 ? ((isNumeric(charSequenceGet(variant, 0)) ? isAlphaNumeric(charSequenceGet(variant, 1)) : false) ? isAlphaNumeric(charSequenceGet(variant, 2)) : false) ? isAlphaNumeric(charSequenceGet(variant, 3)) : false : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
|
|
695
695
|
};
|
|
696
|
-
protoOf(Companion).
|
|
697
|
-
var tmp0_elvis_lhs = this.
|
|
696
|
+
protoOf(Companion).c2n = function (string) {
|
|
697
|
+
var tmp0_elvis_lhs = this.y2l_1.c2(toLowerCase_0(string));
|
|
698
698
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
699
699
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
|
|
700
700
|
var extlangs = null;
|
|
@@ -706,71 +706,71 @@
|
|
|
706
706
|
var variants = null;
|
|
707
707
|
var token;
|
|
708
708
|
token = tokens.h();
|
|
709
|
-
if (this.
|
|
710
|
-
language = this.
|
|
709
|
+
if (this.o2m(token)) {
|
|
710
|
+
language = this.f2m(token);
|
|
711
711
|
token = nextOrNull(tokens);
|
|
712
|
-
if (!(token == null) ? this.
|
|
712
|
+
if (!(token == null) ? this.s2m(token) : false) {
|
|
713
713
|
var tmp$ret$0;
|
|
714
714
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
715
715
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
716
716
|
extlangs = tmp$ret$0;
|
|
717
717
|
do {
|
|
718
|
-
extlangs.b(ensureNotNull(this.
|
|
718
|
+
extlangs.b(ensureNotNull(this.d2m(token)));
|
|
719
719
|
token = nextOrNull(tokens);
|
|
720
720
|
}
|
|
721
|
-
while ((!(token == null) ? extlangs.i() < 3 : false) ? this.
|
|
721
|
+
while ((!(token == null) ? extlangs.i() < 3 : false) ? this.s2m(token) : false);
|
|
722
722
|
}
|
|
723
|
-
if (!(token == null) ? this.
|
|
724
|
-
script = this.
|
|
723
|
+
if (!(token == null) ? this.p2m(token) : false) {
|
|
724
|
+
script = this.k2m(token);
|
|
725
725
|
token = nextOrNull(tokens);
|
|
726
726
|
}
|
|
727
|
-
if (!(token == null) ? this.
|
|
728
|
-
region = this.
|
|
727
|
+
if (!(token == null) ? this.q2m(token) : false) {
|
|
728
|
+
region = this.j2m(token);
|
|
729
729
|
token = nextOrNull(tokens);
|
|
730
730
|
}
|
|
731
|
-
if (!(token == null) ? this.
|
|
731
|
+
if (!(token == null) ? this.r2m(token) : false) {
|
|
732
732
|
var tmp$ret$1;
|
|
733
733
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
734
734
|
tmp$ret$1 = ArrayList_init_$Create$();
|
|
735
735
|
variants = tmp$ret$1;
|
|
736
736
|
do {
|
|
737
|
-
variants.b(ensureNotNull(this.
|
|
737
|
+
variants.b(ensureNotNull(this.l2m(token)));
|
|
738
738
|
token = nextOrNull(tokens);
|
|
739
739
|
}
|
|
740
|
-
while (!(token == null) ? this.
|
|
740
|
+
while (!(token == null) ? this.r2m(token) : false);
|
|
741
741
|
}
|
|
742
|
-
if (!(token == null) ? this.
|
|
742
|
+
if (!(token == null) ? this.w2m(token) : false) {
|
|
743
743
|
var tmp$ret$2;
|
|
744
744
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
745
745
|
tmp$ret$2 = ArrayList_init_$Create$();
|
|
746
746
|
extensions = tmp$ret$2;
|
|
747
747
|
do {
|
|
748
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
748
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.a2m(token)));
|
|
749
749
|
token = nextOrNull(tokens);
|
|
750
|
-
if (!(token == null) ? this.
|
|
750
|
+
if (!(token == null) ? this.x2m(token) : false) {
|
|
751
751
|
do {
|
|
752
752
|
extensionBuilder.v4(_Char___init__impl__6a9atx(45));
|
|
753
|
-
extensionBuilder.ib(this.
|
|
753
|
+
extensionBuilder.ib(this.b2m(token));
|
|
754
754
|
token = nextOrNull(tokens);
|
|
755
755
|
}
|
|
756
|
-
while (!(token == null) ? this.
|
|
756
|
+
while (!(token == null) ? this.x2m(token) : false);
|
|
757
757
|
} else
|
|
758
758
|
return null;
|
|
759
759
|
extensions.b(extensionBuilder.toString());
|
|
760
760
|
}
|
|
761
|
-
while (!(token == null) ? this.
|
|
761
|
+
while (!(token == null) ? this.w2m(token) : false);
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
|
-
if (!(token == null) ? this.
|
|
765
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
764
|
+
if (!(token == null) ? this.a2n(token) : false) {
|
|
765
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.h2m(token)));
|
|
766
766
|
token = nextOrNull(tokens);
|
|
767
|
-
if (!(token == null) ? this.
|
|
767
|
+
if (!(token == null) ? this.b2n(token) : false) {
|
|
768
768
|
do {
|
|
769
769
|
privateuseBuilder.v4(_Char___init__impl__6a9atx(45));
|
|
770
|
-
privateuseBuilder.ib(this.
|
|
770
|
+
privateuseBuilder.ib(this.i2m(token));
|
|
771
771
|
token = nextOrNull(tokens);
|
|
772
772
|
}
|
|
773
|
-
while (!(token == null) ? this.
|
|
773
|
+
while (!(token == null) ? this.b2n(token) : false);
|
|
774
774
|
} else
|
|
775
775
|
return null;
|
|
776
776
|
privateuse = privateuseBuilder.toString();
|
|
@@ -808,13 +808,13 @@
|
|
|
808
808
|
}
|
|
809
809
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
810
810
|
Companion_getInstance();
|
|
811
|
-
this.
|
|
812
|
-
this.
|
|
813
|
-
this.
|
|
814
|
-
this.
|
|
815
|
-
this.
|
|
816
|
-
this.
|
|
817
|
-
this.
|
|
811
|
+
this.d2n_1 = extensions;
|
|
812
|
+
this.e2n_1 = extlangs;
|
|
813
|
+
this.f2n_1 = language;
|
|
814
|
+
this.g2n_1 = privateuse;
|
|
815
|
+
this.h2n_1 = region;
|
|
816
|
+
this.i2n_1 = script;
|
|
817
|
+
this.j2n_1 = variants;
|
|
818
818
|
var tmp$ret$0;
|
|
819
819
|
// Inline function 'io.fluidsonic.locale.freeze' call
|
|
820
820
|
tmp$ret$0 = Unit_getInstance();
|
|
@@ -832,37 +832,37 @@
|
|
|
832
832
|
var tmp_5;
|
|
833
833
|
var tmp_6;
|
|
834
834
|
if (other instanceof LanguageTag) {
|
|
835
|
-
tmp_6 = equals_0(this.
|
|
835
|
+
tmp_6 = equals_0(this.d2n_1, other.d2n_1);
|
|
836
836
|
} else {
|
|
837
837
|
tmp_6 = false;
|
|
838
838
|
}
|
|
839
839
|
if (tmp_6) {
|
|
840
|
-
tmp_5 = equals_0(this.
|
|
840
|
+
tmp_5 = equals_0(this.e2n_1, other.e2n_1);
|
|
841
841
|
} else {
|
|
842
842
|
tmp_5 = false;
|
|
843
843
|
}
|
|
844
844
|
if (tmp_5) {
|
|
845
|
-
tmp_4 = this.
|
|
845
|
+
tmp_4 = this.f2n_1 == other.f2n_1;
|
|
846
846
|
} else {
|
|
847
847
|
tmp_4 = false;
|
|
848
848
|
}
|
|
849
849
|
if (tmp_4) {
|
|
850
|
-
tmp_3 = this.
|
|
850
|
+
tmp_3 = this.g2n_1 == other.g2n_1;
|
|
851
851
|
} else {
|
|
852
852
|
tmp_3 = false;
|
|
853
853
|
}
|
|
854
854
|
if (tmp_3) {
|
|
855
|
-
tmp_2 = this.
|
|
855
|
+
tmp_2 = this.h2n_1 == other.h2n_1;
|
|
856
856
|
} else {
|
|
857
857
|
tmp_2 = false;
|
|
858
858
|
}
|
|
859
859
|
if (tmp_2) {
|
|
860
|
-
tmp_1 = this.
|
|
860
|
+
tmp_1 = this.i2n_1 == other.i2n_1;
|
|
861
861
|
} else {
|
|
862
862
|
tmp_1 = false;
|
|
863
863
|
}
|
|
864
864
|
if (tmp_1) {
|
|
865
|
-
tmp_0 = equals_2(this.
|
|
865
|
+
tmp_0 = equals_2(this.j2n_1, other.j2n_1, true);
|
|
866
866
|
} else {
|
|
867
867
|
tmp_0 = false;
|
|
868
868
|
}
|
|
@@ -871,12 +871,12 @@
|
|
|
871
871
|
return tmp;
|
|
872
872
|
};
|
|
873
873
|
protoOf(LanguageTag).hashCode = function () {
|
|
874
|
-
var result = hashCode(this.
|
|
875
|
-
result = imul(31, result) + hashCode(this.
|
|
874
|
+
var result = hashCode(this.d2n_1);
|
|
875
|
+
result = imul(31, result) + hashCode(this.e2n_1) | 0;
|
|
876
876
|
var tmp = imul(31, result);
|
|
877
877
|
var tmp$ret$0;
|
|
878
878
|
// Inline function 'kotlin.hashCode' call
|
|
879
|
-
var tmp0_hashCode = this.
|
|
879
|
+
var tmp0_hashCode = this.f2n_1;
|
|
880
880
|
var tmp0_safe_receiver = tmp0_hashCode;
|
|
881
881
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
882
882
|
tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
var tmp_0 = imul(31, result);
|
|
885
885
|
var tmp$ret$1;
|
|
886
886
|
// Inline function 'kotlin.hashCode' call
|
|
887
|
-
var tmp1_hashCode = this.
|
|
887
|
+
var tmp1_hashCode = this.g2n_1;
|
|
888
888
|
var tmp0_safe_receiver_0 = tmp1_hashCode;
|
|
889
889
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
890
890
|
tmp$ret$1 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
|
|
@@ -892,7 +892,7 @@
|
|
|
892
892
|
var tmp_1 = imul(31, result);
|
|
893
893
|
var tmp$ret$2;
|
|
894
894
|
// Inline function 'kotlin.hashCode' call
|
|
895
|
-
var tmp2_hashCode = this.
|
|
895
|
+
var tmp2_hashCode = this.h2n_1;
|
|
896
896
|
var tmp0_safe_receiver_1 = tmp2_hashCode;
|
|
897
897
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
898
898
|
tmp$ret$2 = tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1;
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
var tmp_2 = imul(31, result);
|
|
901
901
|
var tmp$ret$3;
|
|
902
902
|
// Inline function 'kotlin.hashCode' call
|
|
903
|
-
var tmp3_hashCode = this.
|
|
903
|
+
var tmp3_hashCode = this.i2n_1;
|
|
904
904
|
var tmp0_safe_receiver_2 = tmp3_hashCode;
|
|
905
905
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
906
906
|
tmp$ret$3 = tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2;
|
|
@@ -910,7 +910,7 @@
|
|
|
910
910
|
// Inline function 'kotlin.hashCode' call
|
|
911
911
|
var tmp$ret$5;
|
|
912
912
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
913
|
-
var tmp4_ifEmpty = this.
|
|
913
|
+
var tmp4_ifEmpty = this.j2n_1;
|
|
914
914
|
var tmp_4;
|
|
915
915
|
if (tmp4_ifEmpty.m()) {
|
|
916
916
|
var tmp$ret$4;
|
|
@@ -956,33 +956,33 @@
|
|
|
956
956
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
957
957
|
// Inline function 'kotlin.contracts.contract' call
|
|
958
958
|
// Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
|
|
959
|
-
if (!(this.
|
|
960
|
-
tmp0_apply.ib(this.
|
|
961
|
-
var tmp0_iterator = this.
|
|
959
|
+
if (!(this.f2n_1 == null)) {
|
|
960
|
+
tmp0_apply.ib(this.f2n_1);
|
|
961
|
+
var tmp0_iterator = this.e2n_1.f();
|
|
962
962
|
while (tmp0_iterator.g()) {
|
|
963
963
|
var extlang = tmp0_iterator.h();
|
|
964
964
|
Companion_getInstance();
|
|
965
965
|
tmp0_apply.v4(_Char___init__impl__6a9atx(45));
|
|
966
966
|
tmp0_apply.ib(extlang);
|
|
967
967
|
}
|
|
968
|
-
if (!(this.
|
|
968
|
+
if (!(this.i2n_1 == null)) {
|
|
969
969
|
Companion_getInstance();
|
|
970
970
|
tmp0_apply.v4(_Char___init__impl__6a9atx(45));
|
|
971
|
-
tmp0_apply.ib(this.
|
|
971
|
+
tmp0_apply.ib(this.i2n_1);
|
|
972
972
|
}
|
|
973
|
-
if (!(this.
|
|
973
|
+
if (!(this.h2n_1 == null)) {
|
|
974
974
|
Companion_getInstance();
|
|
975
975
|
tmp0_apply.v4(_Char___init__impl__6a9atx(45));
|
|
976
|
-
tmp0_apply.ib(this.
|
|
976
|
+
tmp0_apply.ib(this.h2n_1);
|
|
977
977
|
}
|
|
978
|
-
var tmp1_iterator = this.
|
|
978
|
+
var tmp1_iterator = this.j2n_1.f();
|
|
979
979
|
while (tmp1_iterator.g()) {
|
|
980
980
|
var variant = tmp1_iterator.h();
|
|
981
981
|
Companion_getInstance();
|
|
982
982
|
tmp0_apply.v4(_Char___init__impl__6a9atx(45));
|
|
983
983
|
tmp0_apply.ib(variant);
|
|
984
984
|
}
|
|
985
|
-
var tmp2_iterator = this.
|
|
985
|
+
var tmp2_iterator = this.d2n_1.f();
|
|
986
986
|
while (tmp2_iterator.g()) {
|
|
987
987
|
var extension = tmp2_iterator.h();
|
|
988
988
|
Companion_getInstance();
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
tmp0_apply.ib(extension);
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
|
-
if (!(this.
|
|
993
|
+
if (!(this.g2n_1 == null)) {
|
|
994
994
|
var tmp$ret$0;
|
|
995
995
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
996
996
|
tmp$ret$0 = charSequenceLength(tmp0_apply) > 0;
|
|
@@ -998,7 +998,7 @@
|
|
|
998
998
|
Companion_getInstance();
|
|
999
999
|
tmp0_apply.v4(_Char___init__impl__6a9atx(45));
|
|
1000
1000
|
}
|
|
1001
|
-
tmp0_apply.ib(this.
|
|
1001
|
+
tmp0_apply.ib(this.g2n_1);
|
|
1002
1002
|
}
|
|
1003
1003
|
tmp$ret$1 = tmp0_apply;
|
|
1004
1004
|
tmp$ret$2 = tmp$ret$1.toString();
|
|
@@ -1009,14 +1009,14 @@
|
|
|
1009
1009
|
var tmp = this;
|
|
1010
1010
|
var tmp_0 = Companion_getInstance();
|
|
1011
1011
|
Companion_getInstance();
|
|
1012
|
-
tmp.
|
|
1012
|
+
tmp.k2n_1 = new Locale(tmp_0.v2m('und'));
|
|
1013
1013
|
}
|
|
1014
|
-
protoOf(Companion_0).
|
|
1014
|
+
protoOf(Companion_0).l2n = function (tag) {
|
|
1015
1015
|
var tmp0_subject = tag;
|
|
1016
|
-
return tmp0_subject.equals(this.
|
|
1016
|
+
return tmp0_subject.equals(this.k2n_1.m2n_1) ? this.k2n_1 : new Locale(tag);
|
|
1017
1017
|
};
|
|
1018
|
-
protoOf(Companion_0).
|
|
1019
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
1018
|
+
protoOf(Companion_0).n2n = function (tag) {
|
|
1019
|
+
var tmp0_safe_receiver = Companion_getInstance().c2n(tag);
|
|
1020
1020
|
var tmp;
|
|
1021
1021
|
if (tmp0_safe_receiver == null) {
|
|
1022
1022
|
tmp = null;
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
var tmp$ret$0;
|
|
1025
1025
|
// Inline function 'kotlin.let' call
|
|
1026
1026
|
// Inline function 'kotlin.contracts.contract' call
|
|
1027
|
-
tmp$ret$0 = this.
|
|
1027
|
+
tmp$ret$0 = this.l2n(tmp0_safe_receiver);
|
|
1028
1028
|
tmp = tmp$ret$0;
|
|
1029
1029
|
}
|
|
1030
1030
|
return tmp;
|
|
@@ -1037,7 +1037,7 @@
|
|
|
1037
1037
|
}
|
|
1038
1038
|
function Locale(languageTag) {
|
|
1039
1039
|
Companion_getInstance_0();
|
|
1040
|
-
this.
|
|
1040
|
+
this.m2n_1 = languageTag;
|
|
1041
1041
|
var tmp$ret$0;
|
|
1042
1042
|
// Inline function 'io.fluidsonic.locale.freeze' call
|
|
1043
1043
|
tmp$ret$0 = Unit_getInstance();
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
} else {
|
|
1050
1050
|
var tmp_0;
|
|
1051
1051
|
if (other instanceof Locale) {
|
|
1052
|
-
tmp_0 = this.
|
|
1052
|
+
tmp_0 = this.m2n_1.equals(other.m2n_1);
|
|
1053
1053
|
} else {
|
|
1054
1054
|
tmp_0 = false;
|
|
1055
1055
|
}
|
|
@@ -1058,10 +1058,10 @@
|
|
|
1058
1058
|
return tmp;
|
|
1059
1059
|
};
|
|
1060
1060
|
protoOf(Locale).hashCode = function () {
|
|
1061
|
-
return this.
|
|
1061
|
+
return this.m2n_1.hashCode();
|
|
1062
1062
|
};
|
|
1063
1063
|
protoOf(Locale).toString = function () {
|
|
1064
|
-
return this.
|
|
1064
|
+
return this.m2n_1.toString();
|
|
1065
1065
|
};
|
|
1066
1066
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
1067
1067
|
return isAlpha(_this__u8e3s4) ? true : isNumeric(_this__u8e3s4);
|