@cruglobal/godtools-shared 0.9.0-PR436-SNAPSHOT.1236 → 0.9.0-SNAPSHOT.1145

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.
@@ -14,37 +14,37 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.o1;
17
- var to = kotlin_kotlin.$_$.c9;
18
- var hashMapOf = kotlin_kotlin.$_$.k3;
19
- var charSequenceLength = kotlin_kotlin.$_$.l5;
17
+ var to = kotlin_kotlin.$_$.y8;
18
+ var hashMapOf = kotlin_kotlin.$_$.j3;
19
+ var charSequenceLength = kotlin_kotlin.$_$.i5;
20
20
  var Unit_getInstance = kotlin_kotlin.$_$.i2;
21
- var protoOf = kotlin_kotlin.$_$.h6;
21
+ var protoOf = kotlin_kotlin.$_$.e6;
22
22
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
23
- var sorted = kotlin_kotlin.$_$.c4;
24
- var emptyList = kotlin_kotlin.$_$.c3;
25
- var toString = kotlin_kotlin.$_$.l6;
23
+ var sorted = kotlin_kotlin.$_$.z3;
24
+ var emptyList = kotlin_kotlin.$_$.b3;
25
+ var toString = kotlin_kotlin.$_$.i6;
26
26
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
27
- var VOID = kotlin_kotlin.$_$.e9;
28
- var charArrayOf = kotlin_kotlin.$_$.j5;
29
- var splitToSequence = kotlin_kotlin.$_$.j7;
30
- var charSequenceGet = kotlin_kotlin.$_$.k5;
31
- var equals = kotlin_kotlin.$_$.d7;
32
- var ensureNotNull = kotlin_kotlin.$_$.v8;
33
- var StringBuilder = kotlin_kotlin.$_$.y6;
34
- var objectMeta = kotlin_kotlin.$_$.g6;
35
- var setMetadataFor = kotlin_kotlin.$_$.i6;
36
- var equals_0 = kotlin_kotlin.$_$.p5;
37
- var hashCode = kotlin_kotlin.$_$.u5;
27
+ var VOID = kotlin_kotlin.$_$.a9;
28
+ var charArrayOf = kotlin_kotlin.$_$.g5;
29
+ var splitToSequence = kotlin_kotlin.$_$.g7;
30
+ var charSequenceGet = kotlin_kotlin.$_$.h5;
31
+ var equals = kotlin_kotlin.$_$.a7;
32
+ var ensureNotNull = kotlin_kotlin.$_$.r8;
33
+ var StringBuilder = kotlin_kotlin.$_$.v6;
34
+ var objectMeta = kotlin_kotlin.$_$.d6;
35
+ var setMetadataFor = kotlin_kotlin.$_$.f6;
36
+ var equals_0 = kotlin_kotlin.$_$.m5;
37
+ var hashCode = kotlin_kotlin.$_$.r5;
38
38
  var collectionSizeOrDefault = kotlin_kotlin.$_$.t2;
39
39
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.c;
40
40
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.q;
41
- var classMeta = kotlin_kotlin.$_$.m5;
41
+ var classMeta = kotlin_kotlin.$_$.j5;
42
42
  var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.q1;
43
43
  var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.p1;
44
44
  var checkIndexOverflow = kotlin_kotlin.$_$.s2;
45
- var equals_1 = kotlin_kotlin.$_$.c7;
46
- var toCharArray = kotlin_kotlin.$_$.q7;
47
- var concatToString = kotlin_kotlin.$_$.z6;
45
+ var equals_1 = kotlin_kotlin.$_$.z6;
46
+ var toCharArray = kotlin_kotlin.$_$.n7;
47
+ var concatToString = kotlin_kotlin.$_$.w6;
48
48
  //endregion
49
49
  //region block: pre-declaration
50
50
  setMetadataFor(Companion, 'Companion', objectMeta);
@@ -52,14 +52,17 @@
52
52
  setMetadataFor(Companion_0, 'Companion', objectMeta);
53
53
  setMetadataFor(Locale, 'Locale', classMeta);
54
54
  //endregion
55
+ function toPlatform(_this__u8e3s4) {
56
+ return new Intl.Locale(_this__u8e3s4.e2k().toString());
57
+ }
55
58
  function Companion() {
56
59
  Companion_instance = 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')]);
60
+ this.f2k_1 = _Char___init__impl__6a9atx(120);
61
+ this.g2k_1 = _Char___init__impl__6a9atx(45);
62
+ this.h2k_1 = 'und';
63
+ this.i2k_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
64
  }
62
- protoOf(Companion).z2l = function (extension) {
65
+ protoOf(Companion).j2k = function (extension) {
63
66
  var tmp0_safe_receiver = extension;
64
67
  var tmp;
65
68
  if (tmp0_safe_receiver == null) {
@@ -85,7 +88,7 @@
85
88
  var tmp1_safe_receiver = tmp;
86
89
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
87
90
  };
88
- protoOf(Companion).a2m = function (singleton) {
91
+ protoOf(Companion).k2k = function (singleton) {
89
92
  var tmp0_safe_receiver = singleton;
90
93
  var tmp;
91
94
  if (tmp0_safe_receiver == null) {
@@ -111,7 +114,7 @@
111
114
  var tmp1_safe_receiver = tmp;
112
115
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
113
116
  };
114
- protoOf(Companion).b2m = function (subtag) {
117
+ protoOf(Companion).l2k = function (subtag) {
115
118
  var tmp0_safe_receiver = subtag;
116
119
  var tmp;
117
120
  if (tmp0_safe_receiver == null) {
@@ -137,7 +140,7 @@
137
140
  var tmp1_safe_receiver = tmp;
138
141
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
139
142
  };
140
- protoOf(Companion).c2m = function (extensions) {
143
+ protoOf(Companion).m2k = function (extensions) {
141
144
  var tmp$ret$5;
142
145
  // Inline function 'kotlin.collections.orEmpty' call
143
146
  var tmp$ret$1;
@@ -167,7 +170,7 @@
167
170
  while (tmp0_iterator.g()) {
168
171
  var element = tmp0_iterator.h();
169
172
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
170
- var tmp0_safe_receiver_0 = this.z2l(element);
173
+ var tmp0_safe_receiver_0 = this.j2k(element);
171
174
  if (tmp0_safe_receiver_0 == null)
172
175
  null;
173
176
  else {
@@ -188,7 +191,7 @@
188
191
  tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
189
192
  return tmp$ret$5;
190
193
  };
191
- protoOf(Companion).d2m = function (extlang) {
194
+ protoOf(Companion).n2k = function (extlang) {
192
195
  var tmp0_safe_receiver = extlang;
193
196
  var tmp;
194
197
  if (tmp0_safe_receiver == null) {
@@ -214,7 +217,7 @@
214
217
  var tmp1_safe_receiver = tmp;
215
218
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
216
219
  };
217
- protoOf(Companion).e2m = function (extlangs) {
220
+ protoOf(Companion).o2k = function (extlangs) {
218
221
  var tmp$ret$5;
219
222
  // Inline function 'kotlin.collections.orEmpty' call
220
223
  var tmp$ret$1;
@@ -244,7 +247,7 @@
244
247
  while (tmp0_iterator.g()) {
245
248
  var element = tmp0_iterator.h();
246
249
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
247
- var tmp0_safe_receiver_0 = this.d2m(element);
250
+ var tmp0_safe_receiver_0 = this.n2k(element);
248
251
  if (tmp0_safe_receiver_0 == null)
249
252
  null;
250
253
  else {
@@ -264,7 +267,7 @@
264
267
  tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
265
268
  return tmp$ret$5;
266
269
  };
267
- protoOf(Companion).f2m = function (language) {
270
+ protoOf(Companion).p2k = function (language) {
268
271
  var tmp0_safe_receiver = language;
269
272
  var tmp;
270
273
  if (tmp0_safe_receiver == null) {
@@ -290,7 +293,7 @@
290
293
  var tmp1_safe_receiver = tmp;
291
294
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
292
295
  };
293
- protoOf(Companion).g2m = function (privateuse) {
296
+ protoOf(Companion).q2k = function (privateuse) {
294
297
  var tmp0_safe_receiver = privateuse;
295
298
  var tmp;
296
299
  if (tmp0_safe_receiver == null) {
@@ -316,7 +319,7 @@
316
319
  var tmp1_safe_receiver = tmp;
317
320
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
318
321
  };
319
- protoOf(Companion).h2m = function (prefix) {
322
+ protoOf(Companion).r2k = function (prefix) {
320
323
  var tmp0_safe_receiver = prefix;
321
324
  var tmp;
322
325
  if (tmp0_safe_receiver == null) {
@@ -342,7 +345,7 @@
342
345
  var tmp1_safe_receiver = tmp;
343
346
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
344
347
  };
345
- protoOf(Companion).i2m = function (subtag) {
348
+ protoOf(Companion).s2k = function (subtag) {
346
349
  var tmp0_safe_receiver = subtag;
347
350
  var tmp;
348
351
  if (tmp0_safe_receiver == null) {
@@ -368,7 +371,7 @@
368
371
  var tmp1_safe_receiver = tmp;
369
372
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
370
373
  };
371
- protoOf(Companion).j2m = function (region) {
374
+ protoOf(Companion).t2k = function (region) {
372
375
  var tmp0_safe_receiver = region;
373
376
  var tmp;
374
377
  if (tmp0_safe_receiver == null) {
@@ -394,7 +397,7 @@
394
397
  var tmp1_safe_receiver = tmp;
395
398
  return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
396
399
  };
397
- protoOf(Companion).k2m = function (script) {
400
+ protoOf(Companion).u2k = function (script) {
398
401
  var tmp0_safe_receiver = script;
399
402
  var tmp;
400
403
  if (tmp0_safe_receiver == null) {
@@ -420,7 +423,7 @@
420
423
  var tmp1_safe_receiver = tmp;
421
424
  return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
422
425
  };
423
- protoOf(Companion).l2m = function (variant) {
426
+ protoOf(Companion).v2k = function (variant) {
424
427
  var tmp0_safe_receiver = variant;
425
428
  var tmp;
426
429
  if (tmp0_safe_receiver == null) {
@@ -445,7 +448,7 @@
445
448
  }
446
449
  return tmp;
447
450
  };
448
- protoOf(Companion).m2m = function (variants) {
451
+ protoOf(Companion).w2k = function (variants) {
449
452
  var tmp$ret$5;
450
453
  // Inline function 'kotlin.collections.orEmpty' call
451
454
  var tmp$ret$1;
@@ -475,7 +478,7 @@
475
478
  while (tmp0_iterator.g()) {
476
479
  var element = tmp0_iterator.h();
477
480
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
478
- var tmp0_safe_receiver_0 = this.l2m(element);
481
+ var tmp0_safe_receiver_0 = this.v2k(element);
479
482
  if (tmp0_safe_receiver_0 == null)
480
483
  null;
481
484
  else {
@@ -495,16 +498,16 @@
495
498
  tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
496
499
  return tmp$ret$5;
497
500
  };
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);
501
+ protoOf(Companion).x2k = function (language, script, region, variants, extlangs, extensions, privateuse) {
502
+ var canonicalLanguage = this.p2k(language);
503
+ var canonicalScript = this.u2k(script);
504
+ var canonicalRegion = this.t2k(region);
505
+ var canonicalVariants = this.w2k(variants);
506
+ var canonicalExtlangs = this.o2k(extlangs);
507
+ var canonicalExtensions = this.m2k(extensions);
508
+ var canonicalPrivateuse = this.q2k(privateuse);
506
509
  // Inline function 'kotlin.require' call
507
- var tmp0_require = !(canonicalLanguage == null) ? this.o2m(canonicalLanguage) : false;
510
+ var tmp0_require = !(canonicalLanguage == null) ? this.y2k(canonicalLanguage) : false;
508
511
  // Inline function 'kotlin.contracts.contract' call
509
512
  if (!tmp0_require) {
510
513
  var tmp$ret$0;
@@ -514,7 +517,7 @@
514
517
  throw IllegalArgumentException_init_$Create$(toString(message));
515
518
  }
516
519
  // Inline function 'kotlin.require' call
517
- var tmp1_require = canonicalScript == null ? true : this.p2m(canonicalScript);
520
+ var tmp1_require = canonicalScript == null ? true : this.z2k(canonicalScript);
518
521
  // Inline function 'kotlin.contracts.contract' call
519
522
  if (!tmp1_require) {
520
523
  var tmp$ret$1;
@@ -524,7 +527,7 @@
524
527
  throw IllegalArgumentException_init_$Create$(toString(message_0));
525
528
  }
526
529
  // Inline function 'kotlin.require' call
527
- var tmp2_require = canonicalRegion == null ? true : this.q2m(canonicalRegion);
530
+ var tmp2_require = canonicalRegion == null ? true : this.a2l(canonicalRegion);
528
531
  // Inline function 'kotlin.contracts.contract' call
529
532
  if (!tmp2_require) {
530
533
  var tmp$ret$2;
@@ -537,7 +540,7 @@
537
540
  while (tmp0_iterator.g()) {
538
541
  var variant = tmp0_iterator.h();
539
542
  // Inline function 'kotlin.require' call
540
- var tmp3_require = this.r2m(variant);
543
+ var tmp3_require = this.b2l(variant);
541
544
  // Inline function 'kotlin.contracts.contract' call
542
545
  if (!tmp3_require) {
543
546
  var tmp$ret$3;
@@ -551,7 +554,7 @@
551
554
  while (tmp1_iterator.g()) {
552
555
  var extlang = tmp1_iterator.h();
553
556
  // Inline function 'kotlin.require' call
554
- var tmp4_require = this.s2m(extlang);
557
+ var tmp4_require = this.c2l(extlang);
555
558
  // Inline function 'kotlin.contracts.contract' call
556
559
  if (!tmp4_require) {
557
560
  var tmp$ret$4;
@@ -565,7 +568,7 @@
565
568
  while (tmp2_iterator.g()) {
566
569
  var extension = tmp2_iterator.h();
567
570
  // Inline function 'kotlin.require' call
568
- var tmp5_require = this.t2m(extension);
571
+ var tmp5_require = this.d2l(extension);
569
572
  // Inline function 'kotlin.contracts.contract' call
570
573
  if (!tmp5_require) {
571
574
  var tmp$ret$5;
@@ -576,7 +579,7 @@
576
579
  }
577
580
  }
578
581
  // Inline function 'kotlin.require' call
579
- var tmp6_require = canonicalPrivateuse == null ? true : this.u2m(canonicalPrivateuse);
582
+ var tmp6_require = canonicalPrivateuse == null ? true : this.e2l(canonicalPrivateuse);
580
583
  // Inline function 'kotlin.contracts.contract' call
581
584
  if (!tmp6_require) {
582
585
  var tmp$ret$6;
@@ -587,18 +590,18 @@
587
590
  }
588
591
  return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
589
592
  };
590
- protoOf(Companion).v2m = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
593
+ protoOf(Companion).f2l = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
591
594
  script = script === VOID ? null : script;
592
595
  region = region === VOID ? null : region;
593
596
  variants = variants === VOID ? emptyList() : variants;
594
597
  extlangs = extlangs === VOID ? emptyList() : extlangs;
595
598
  extensions = extensions === VOID ? emptyList() : extensions;
596
599
  privateuse = privateuse === VOID ? null : privateuse;
597
- return $super === VOID ? this.n2m(language, script, region, variants, extlangs, extensions, privateuse) : $super.n2m.call(this, language, script, region, variants, extlangs, extensions, privateuse);
600
+ return $super === VOID ? this.x2k(language, script, region, variants, extlangs, extensions, privateuse) : $super.x2k.call(this, language, script, region, variants, extlangs, extensions, privateuse);
598
601
  };
599
- protoOf(Companion).t2m = function (extension) {
602
+ protoOf(Companion).d2l = function (extension) {
600
603
  var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
601
- if (!this.w2m(tokens.h()))
604
+ if (!this.g2l(tokens.h()))
602
605
  return false;
603
606
  if (!tokens.g())
604
607
  return false;
@@ -608,18 +611,18 @@
608
611
  var tmp0_iterator = tmp$ret$0;
609
612
  while (tmp0_iterator.g()) {
610
613
  var token = tmp0_iterator.h();
611
- if (!this.x2m(token))
614
+ if (!this.h2l(token))
612
615
  return false;
613
616
  }
614
617
  return true;
615
618
  };
616
- protoOf(Companion).y2m = function (singleton) {
617
- return isAlphaNumeric(singleton) ? !this.z2m(singleton) : false;
619
+ protoOf(Companion).i2l = function (singleton) {
620
+ return isAlphaNumeric(singleton) ? !this.j2l(singleton) : false;
618
621
  };
619
- protoOf(Companion).w2m = function (singleton) {
620
- return singleton.length === 1 ? this.y2m(charSequenceGet(singleton, 0)) : false;
622
+ protoOf(Companion).g2l = function (singleton) {
623
+ return singleton.length === 1 ? this.i2l(charSequenceGet(singleton, 0)) : false;
621
624
  };
622
- protoOf(Companion).x2m = function (extension) {
625
+ protoOf(Companion).h2l = function (extension) {
623
626
  var tmp;
624
627
  var containsArg = extension.length;
625
628
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -629,10 +632,10 @@
629
632
  }
630
633
  return tmp;
631
634
  };
632
- protoOf(Companion).s2m = function (extlang) {
635
+ protoOf(Companion).c2l = function (extlang) {
633
636
  return extlang.length === 3 ? isAlpha_0(extlang) : false;
634
637
  };
635
- protoOf(Companion).o2m = function (language) {
638
+ protoOf(Companion).y2k = function (language) {
636
639
  var tmp;
637
640
  var containsArg = language.length;
638
641
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -642,9 +645,9 @@
642
645
  }
643
646
  return tmp;
644
647
  };
645
- protoOf(Companion).u2m = function (privateuse) {
648
+ protoOf(Companion).e2l = function (privateuse) {
646
649
  var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
647
- if (!this.a2n(tokens.h()))
650
+ if (!this.k2l(tokens.h()))
648
651
  return false;
649
652
  if (!tokens.g())
650
653
  return false;
@@ -654,18 +657,18 @@
654
657
  var tmp0_iterator = tmp$ret$0;
655
658
  while (tmp0_iterator.g()) {
656
659
  var token = tmp0_iterator.h();
657
- if (!this.b2n(token))
660
+ if (!this.l2l(token))
658
661
  return false;
659
662
  }
660
663
  return true;
661
664
  };
662
- protoOf(Companion).z2m = function (prefix) {
665
+ protoOf(Companion).j2l = function (prefix) {
663
666
  return equals(prefix, _Char___init__impl__6a9atx(120), true);
664
667
  };
665
- protoOf(Companion).a2n = function (prefix) {
666
- return prefix.length === 1 ? this.z2m(charSequenceGet(prefix, 0)) : false;
668
+ protoOf(Companion).k2l = function (prefix) {
669
+ return prefix.length === 1 ? this.j2l(charSequenceGet(prefix, 0)) : false;
667
670
  };
668
- protoOf(Companion).b2n = function (privateuse) {
671
+ protoOf(Companion).l2l = function (privateuse) {
669
672
  var tmp;
670
673
  var containsArg = privateuse.length;
671
674
  if (1 <= containsArg ? containsArg <= 8 : false) {
@@ -675,7 +678,7 @@
675
678
  }
676
679
  return tmp;
677
680
  };
678
- protoOf(Companion).q2m = function (region) {
681
+ protoOf(Companion).a2l = function (region) {
679
682
  var tmp0_subject = region.length;
680
683
  switch (tmp0_subject) {
681
684
  case 2:
@@ -686,15 +689,15 @@
686
689
  return false;
687
690
  }
688
691
  };
689
- protoOf(Companion).p2m = function (script) {
692
+ protoOf(Companion).z2k = function (script) {
690
693
  return script.length === 4 ? isAlpha_0(script) : false;
691
694
  };
692
- protoOf(Companion).r2m = function (variant) {
695
+ protoOf(Companion).b2l = function (variant) {
693
696
  var tmp0_subject = variant.length;
694
697
  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
698
  };
696
- protoOf(Companion).c2n = function (string) {
697
- var tmp0_elvis_lhs = this.y2l_1.c2(toLowerCase_0(string));
699
+ protoOf(Companion).m2l = function (string) {
700
+ var tmp0_elvis_lhs = this.i2k_1.c2(toLowerCase_0(string));
698
701
  var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
699
702
  var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).f();
700
703
  var extlangs = null;
@@ -706,71 +709,71 @@
706
709
  var variants = null;
707
710
  var token;
708
711
  token = tokens.h();
709
- if (this.o2m(token)) {
710
- language = this.f2m(token);
712
+ if (this.y2k(token)) {
713
+ language = this.p2k(token);
711
714
  token = nextOrNull(tokens);
712
- if (!(token == null) ? this.s2m(token) : false) {
715
+ if (!(token == null) ? this.c2l(token) : false) {
713
716
  var tmp$ret$0;
714
717
  // Inline function 'kotlin.collections.mutableListOf' call
715
718
  tmp$ret$0 = ArrayList_init_$Create$();
716
719
  extlangs = tmp$ret$0;
717
720
  do {
718
- extlangs.b(ensureNotNull(this.d2m(token)));
721
+ extlangs.b(ensureNotNull(this.n2k(token)));
719
722
  token = nextOrNull(tokens);
720
723
  }
721
- while ((!(token == null) ? extlangs.i() < 3 : false) ? this.s2m(token) : false);
724
+ while ((!(token == null) ? extlangs.i() < 3 : false) ? this.c2l(token) : false);
722
725
  }
723
- if (!(token == null) ? this.p2m(token) : false) {
724
- script = this.k2m(token);
726
+ if (!(token == null) ? this.z2k(token) : false) {
727
+ script = this.u2k(token);
725
728
  token = nextOrNull(tokens);
726
729
  }
727
- if (!(token == null) ? this.q2m(token) : false) {
728
- region = this.j2m(token);
730
+ if (!(token == null) ? this.a2l(token) : false) {
731
+ region = this.t2k(token);
729
732
  token = nextOrNull(tokens);
730
733
  }
731
- if (!(token == null) ? this.r2m(token) : false) {
734
+ if (!(token == null) ? this.b2l(token) : false) {
732
735
  var tmp$ret$1;
733
736
  // Inline function 'kotlin.collections.mutableListOf' call
734
737
  tmp$ret$1 = ArrayList_init_$Create$();
735
738
  variants = tmp$ret$1;
736
739
  do {
737
- variants.b(ensureNotNull(this.l2m(token)));
740
+ variants.b(ensureNotNull(this.v2k(token)));
738
741
  token = nextOrNull(tokens);
739
742
  }
740
- while (!(token == null) ? this.r2m(token) : false);
743
+ while (!(token == null) ? this.b2l(token) : false);
741
744
  }
742
- if (!(token == null) ? this.w2m(token) : false) {
745
+ if (!(token == null) ? this.g2l(token) : false) {
743
746
  var tmp$ret$2;
744
747
  // Inline function 'kotlin.collections.mutableListOf' call
745
748
  tmp$ret$2 = ArrayList_init_$Create$();
746
749
  extensions = tmp$ret$2;
747
750
  do {
748
- var extensionBuilder = new StringBuilder(ensureNotNull(this.a2m(token)));
751
+ var extensionBuilder = new StringBuilder(ensureNotNull(this.k2k(token)));
749
752
  token = nextOrNull(tokens);
750
- if (!(token == null) ? this.x2m(token) : false) {
753
+ if (!(token == null) ? this.h2l(token) : false) {
751
754
  do {
752
755
  extensionBuilder.v4(_Char___init__impl__6a9atx(45));
753
- extensionBuilder.ib(this.b2m(token));
756
+ extensionBuilder.ib(this.l2k(token));
754
757
  token = nextOrNull(tokens);
755
758
  }
756
- while (!(token == null) ? this.x2m(token) : false);
759
+ while (!(token == null) ? this.h2l(token) : false);
757
760
  } else
758
761
  return null;
759
762
  extensions.b(extensionBuilder.toString());
760
763
  }
761
- while (!(token == null) ? this.w2m(token) : false);
764
+ while (!(token == null) ? this.g2l(token) : false);
762
765
  }
763
766
  }
764
- if (!(token == null) ? this.a2n(token) : false) {
765
- var privateuseBuilder = new StringBuilder(ensureNotNull(this.h2m(token)));
767
+ if (!(token == null) ? this.k2l(token) : false) {
768
+ var privateuseBuilder = new StringBuilder(ensureNotNull(this.r2k(token)));
766
769
  token = nextOrNull(tokens);
767
- if (!(token == null) ? this.b2n(token) : false) {
770
+ if (!(token == null) ? this.l2l(token) : false) {
768
771
  do {
769
772
  privateuseBuilder.v4(_Char___init__impl__6a9atx(45));
770
- privateuseBuilder.ib(this.i2m(token));
773
+ privateuseBuilder.ib(this.s2k(token));
771
774
  token = nextOrNull(tokens);
772
775
  }
773
- while (!(token == null) ? this.b2n(token) : false);
776
+ while (!(token == null) ? this.l2l(token) : false);
774
777
  } else
775
778
  return null;
776
779
  privateuse = privateuseBuilder.toString();
@@ -808,13 +811,13 @@
808
811
  }
809
812
  function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
810
813
  Companion_getInstance();
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;
814
+ this.n2l_1 = extensions;
815
+ this.o2l_1 = extlangs;
816
+ this.p2l_1 = language;
817
+ this.q2l_1 = privateuse;
818
+ this.r2l_1 = region;
819
+ this.s2l_1 = script;
820
+ this.t2l_1 = variants;
818
821
  var tmp$ret$0;
819
822
  // Inline function 'io.fluidsonic.locale.freeze' call
820
823
  tmp$ret$0 = Unit_getInstance();
@@ -832,37 +835,37 @@
832
835
  var tmp_5;
833
836
  var tmp_6;
834
837
  if (other instanceof LanguageTag) {
835
- tmp_6 = equals_0(this.d2n_1, other.d2n_1);
838
+ tmp_6 = equals_0(this.n2l_1, other.n2l_1);
836
839
  } else {
837
840
  tmp_6 = false;
838
841
  }
839
842
  if (tmp_6) {
840
- tmp_5 = equals_0(this.e2n_1, other.e2n_1);
843
+ tmp_5 = equals_0(this.o2l_1, other.o2l_1);
841
844
  } else {
842
845
  tmp_5 = false;
843
846
  }
844
847
  if (tmp_5) {
845
- tmp_4 = this.f2n_1 == other.f2n_1;
848
+ tmp_4 = this.p2l_1 == other.p2l_1;
846
849
  } else {
847
850
  tmp_4 = false;
848
851
  }
849
852
  if (tmp_4) {
850
- tmp_3 = this.g2n_1 == other.g2n_1;
853
+ tmp_3 = this.q2l_1 == other.q2l_1;
851
854
  } else {
852
855
  tmp_3 = false;
853
856
  }
854
857
  if (tmp_3) {
855
- tmp_2 = this.h2n_1 == other.h2n_1;
858
+ tmp_2 = this.r2l_1 == other.r2l_1;
856
859
  } else {
857
860
  tmp_2 = false;
858
861
  }
859
862
  if (tmp_2) {
860
- tmp_1 = this.i2n_1 == other.i2n_1;
863
+ tmp_1 = this.s2l_1 == other.s2l_1;
861
864
  } else {
862
865
  tmp_1 = false;
863
866
  }
864
867
  if (tmp_1) {
865
- tmp_0 = equals_2(this.j2n_1, other.j2n_1, true);
868
+ tmp_0 = equals_2(this.t2l_1, other.t2l_1, true);
866
869
  } else {
867
870
  tmp_0 = false;
868
871
  }
@@ -871,12 +874,12 @@
871
874
  return tmp;
872
875
  };
873
876
  protoOf(LanguageTag).hashCode = function () {
874
- var result = hashCode(this.d2n_1);
875
- result = imul(31, result) + hashCode(this.e2n_1) | 0;
877
+ var result = hashCode(this.n2l_1);
878
+ result = imul(31, result) + hashCode(this.o2l_1) | 0;
876
879
  var tmp = imul(31, result);
877
880
  var tmp$ret$0;
878
881
  // Inline function 'kotlin.hashCode' call
879
- var tmp0_hashCode = this.f2n_1;
882
+ var tmp0_hashCode = this.p2l_1;
880
883
  var tmp0_safe_receiver = tmp0_hashCode;
881
884
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
882
885
  tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
@@ -884,7 +887,7 @@
884
887
  var tmp_0 = imul(31, result);
885
888
  var tmp$ret$1;
886
889
  // Inline function 'kotlin.hashCode' call
887
- var tmp1_hashCode = this.g2n_1;
890
+ var tmp1_hashCode = this.q2l_1;
888
891
  var tmp0_safe_receiver_0 = tmp1_hashCode;
889
892
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
890
893
  tmp$ret$1 = tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0;
@@ -892,7 +895,7 @@
892
895
  var tmp_1 = imul(31, result);
893
896
  var tmp$ret$2;
894
897
  // Inline function 'kotlin.hashCode' call
895
- var tmp2_hashCode = this.h2n_1;
898
+ var tmp2_hashCode = this.r2l_1;
896
899
  var tmp0_safe_receiver_1 = tmp2_hashCode;
897
900
  var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
898
901
  tmp$ret$2 = tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1;
@@ -900,7 +903,7 @@
900
903
  var tmp_2 = imul(31, result);
901
904
  var tmp$ret$3;
902
905
  // Inline function 'kotlin.hashCode' call
903
- var tmp3_hashCode = this.i2n_1;
906
+ var tmp3_hashCode = this.s2l_1;
904
907
  var tmp0_safe_receiver_2 = tmp3_hashCode;
905
908
  var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
906
909
  tmp$ret$3 = tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2;
@@ -910,7 +913,7 @@
910
913
  // Inline function 'kotlin.hashCode' call
911
914
  var tmp$ret$5;
912
915
  // Inline function 'kotlin.collections.ifEmpty' call
913
- var tmp4_ifEmpty = this.j2n_1;
916
+ var tmp4_ifEmpty = this.t2l_1;
914
917
  var tmp_4;
915
918
  if (tmp4_ifEmpty.m()) {
916
919
  var tmp$ret$4;
@@ -956,33 +959,33 @@
956
959
  var tmp0_apply = StringBuilder_init_$Create$();
957
960
  // Inline function 'kotlin.contracts.contract' call
958
961
  // Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
959
- if (!(this.f2n_1 == null)) {
960
- tmp0_apply.ib(this.f2n_1);
961
- var tmp0_iterator = this.e2n_1.f();
962
+ if (!(this.p2l_1 == null)) {
963
+ tmp0_apply.ib(this.p2l_1);
964
+ var tmp0_iterator = this.o2l_1.f();
962
965
  while (tmp0_iterator.g()) {
963
966
  var extlang = tmp0_iterator.h();
964
967
  Companion_getInstance();
965
968
  tmp0_apply.v4(_Char___init__impl__6a9atx(45));
966
969
  tmp0_apply.ib(extlang);
967
970
  }
968
- if (!(this.i2n_1 == null)) {
971
+ if (!(this.s2l_1 == null)) {
969
972
  Companion_getInstance();
970
973
  tmp0_apply.v4(_Char___init__impl__6a9atx(45));
971
- tmp0_apply.ib(this.i2n_1);
974
+ tmp0_apply.ib(this.s2l_1);
972
975
  }
973
- if (!(this.h2n_1 == null)) {
976
+ if (!(this.r2l_1 == null)) {
974
977
  Companion_getInstance();
975
978
  tmp0_apply.v4(_Char___init__impl__6a9atx(45));
976
- tmp0_apply.ib(this.h2n_1);
979
+ tmp0_apply.ib(this.r2l_1);
977
980
  }
978
- var tmp1_iterator = this.j2n_1.f();
981
+ var tmp1_iterator = this.t2l_1.f();
979
982
  while (tmp1_iterator.g()) {
980
983
  var variant = tmp1_iterator.h();
981
984
  Companion_getInstance();
982
985
  tmp0_apply.v4(_Char___init__impl__6a9atx(45));
983
986
  tmp0_apply.ib(variant);
984
987
  }
985
- var tmp2_iterator = this.d2n_1.f();
988
+ var tmp2_iterator = this.n2l_1.f();
986
989
  while (tmp2_iterator.g()) {
987
990
  var extension = tmp2_iterator.h();
988
991
  Companion_getInstance();
@@ -990,7 +993,7 @@
990
993
  tmp0_apply.ib(extension);
991
994
  }
992
995
  }
993
- if (!(this.g2n_1 == null)) {
996
+ if (!(this.q2l_1 == null)) {
994
997
  var tmp$ret$0;
995
998
  // Inline function 'kotlin.text.isNotEmpty' call
996
999
  tmp$ret$0 = charSequenceLength(tmp0_apply) > 0;
@@ -998,7 +1001,7 @@
998
1001
  Companion_getInstance();
999
1002
  tmp0_apply.v4(_Char___init__impl__6a9atx(45));
1000
1003
  }
1001
- tmp0_apply.ib(this.g2n_1);
1004
+ tmp0_apply.ib(this.q2l_1);
1002
1005
  }
1003
1006
  tmp$ret$1 = tmp0_apply;
1004
1007
  tmp$ret$2 = tmp$ret$1.toString();
@@ -1009,14 +1012,14 @@
1009
1012
  var tmp = this;
1010
1013
  var tmp_0 = Companion_getInstance();
1011
1014
  Companion_getInstance();
1012
- tmp.k2n_1 = new Locale(tmp_0.v2m('und'));
1015
+ tmp.u2l_1 = new Locale(tmp_0.f2l('und'));
1013
1016
  }
1014
- protoOf(Companion_0).l2n = function (tag) {
1017
+ protoOf(Companion_0).v2l = function (tag) {
1015
1018
  var tmp0_subject = tag;
1016
- return tmp0_subject.equals(this.k2n_1.m2n_1) ? this.k2n_1 : new Locale(tag);
1019
+ return tmp0_subject.equals(this.u2l_1.d2k_1) ? this.u2l_1 : new Locale(tag);
1017
1020
  };
1018
- protoOf(Companion_0).n2n = function (tag) {
1019
- var tmp0_safe_receiver = Companion_getInstance().c2n(tag);
1021
+ protoOf(Companion_0).w2l = function (tag) {
1022
+ var tmp0_safe_receiver = Companion_getInstance().m2l(tag);
1020
1023
  var tmp;
1021
1024
  if (tmp0_safe_receiver == null) {
1022
1025
  tmp = null;
@@ -1024,7 +1027,7 @@
1024
1027
  var tmp$ret$0;
1025
1028
  // Inline function 'kotlin.let' call
1026
1029
  // Inline function 'kotlin.contracts.contract' call
1027
- tmp$ret$0 = this.l2n(tmp0_safe_receiver);
1030
+ tmp$ret$0 = this.v2l(tmp0_safe_receiver);
1028
1031
  tmp = tmp$ret$0;
1029
1032
  }
1030
1033
  return tmp;
@@ -1037,7 +1040,7 @@
1037
1040
  }
1038
1041
  function Locale(languageTag) {
1039
1042
  Companion_getInstance_0();
1040
- this.m2n_1 = languageTag;
1043
+ this.d2k_1 = languageTag;
1041
1044
  var tmp$ret$0;
1042
1045
  // Inline function 'io.fluidsonic.locale.freeze' call
1043
1046
  tmp$ret$0 = Unit_getInstance();
@@ -1049,7 +1052,7 @@
1049
1052
  } else {
1050
1053
  var tmp_0;
1051
1054
  if (other instanceof Locale) {
1052
- tmp_0 = this.m2n_1.equals(other.m2n_1);
1055
+ tmp_0 = this.d2k_1.equals(other.d2k_1);
1053
1056
  } else {
1054
1057
  tmp_0 = false;
1055
1058
  }
@@ -1058,10 +1061,13 @@
1058
1061
  return tmp;
1059
1062
  };
1060
1063
  protoOf(Locale).hashCode = function () {
1061
- return this.m2n_1.hashCode();
1064
+ return this.d2k_1.hashCode();
1065
+ };
1066
+ protoOf(Locale).e2k = function () {
1067
+ return this.d2k_1;
1062
1068
  };
1063
1069
  protoOf(Locale).toString = function () {
1064
- return this.m2n_1.toString();
1070
+ return this.d2k_1.toString();
1065
1071
  };
1066
1072
  function isAlphaNumeric(_this__u8e3s4) {
1067
1073
  return isAlpha(_this__u8e3s4) ? true : isNumeric(_this__u8e3s4);
@@ -1289,6 +1295,7 @@
1289
1295
  //region block: exports
1290
1296
  _.$_$ = _.$_$ || {};
1291
1297
  _.$_$.a = Companion_getInstance_0;
1298
+ _.$_$.b = toPlatform;
1292
1299
  //endregion
1293
1300
  return _;
1294
1301
  }));