@cruglobal/godtools-shared 1.1.0-SNAPSHOT.1568 → 1.1.0-SNAPSHOT.1572

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/fluid-locale.js CHANGED
@@ -14,36 +14,36 @@
14
14
  //region block: imports
15
15
  var imul = Math.imul;
16
16
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t1;
17
- var to = kotlin_kotlin.$_$.ha;
18
- var hashMapOf = kotlin_kotlin.$_$.c4;
19
- var charSequenceLength = kotlin_kotlin.$_$.e6;
20
- var protoOf = kotlin_kotlin.$_$.d7;
17
+ var to = kotlin_kotlin.$_$.ca;
18
+ var hashMapOf = kotlin_kotlin.$_$.y3;
19
+ var charSequenceLength = kotlin_kotlin.$_$.a6;
20
+ var protoOf = kotlin_kotlin.$_$.z6;
21
21
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
22
- var Unit_instance = kotlin_kotlin.$_$.n2;
23
- var sorted = kotlin_kotlin.$_$.y4;
24
- var emptyList = kotlin_kotlin.$_$.t3;
25
- var toString = kotlin_kotlin.$_$.g7;
22
+ var Unit_instance = kotlin_kotlin.$_$.l2;
23
+ var sorted = kotlin_kotlin.$_$.u4;
24
+ var emptyList = kotlin_kotlin.$_$.p3;
25
+ var toString = kotlin_kotlin.$_$.c7;
26
26
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
27
27
  var VOID = kotlin_kotlin.$_$.d;
28
- var charArrayOf = kotlin_kotlin.$_$.c6;
29
- var splitToSequence = kotlin_kotlin.$_$.n8;
30
- var charSequenceGet = kotlin_kotlin.$_$.d6;
31
- var equals = kotlin_kotlin.$_$.e8;
32
- var ensureNotNull = kotlin_kotlin.$_$.z9;
33
- var StringBuilder = kotlin_kotlin.$_$.x7;
34
- var initMetadataForCompanion = kotlin_kotlin.$_$.p6;
35
- var equals_0 = kotlin_kotlin.$_$.h6;
36
- var hashCode = kotlin_kotlin.$_$.n6;
37
- var collectionSizeOrDefault = kotlin_kotlin.$_$.i3;
28
+ var charArrayOf = kotlin_kotlin.$_$.y5;
29
+ var splitToSequence = kotlin_kotlin.$_$.i8;
30
+ var charSequenceGet = kotlin_kotlin.$_$.z5;
31
+ var equals = kotlin_kotlin.$_$.z7;
32
+ var ensureNotNull = kotlin_kotlin.$_$.u9;
33
+ var StringBuilder = kotlin_kotlin.$_$.s7;
34
+ var initMetadataForCompanion = kotlin_kotlin.$_$.l6;
35
+ var equals_0 = kotlin_kotlin.$_$.d6;
36
+ var hashCode = kotlin_kotlin.$_$.j6;
37
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.e3;
38
38
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
39
39
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
40
- var initMetadataForClass = kotlin_kotlin.$_$.o6;
40
+ var initMetadataForClass = kotlin_kotlin.$_$.k6;
41
41
  var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
42
42
  var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
43
- var checkIndexOverflow = kotlin_kotlin.$_$.h3;
44
- var equals_1 = kotlin_kotlin.$_$.d8;
45
- var toCharArray = kotlin_kotlin.$_$.t8;
46
- var concatToString = kotlin_kotlin.$_$.y7;
43
+ var checkIndexOverflow = kotlin_kotlin.$_$.d3;
44
+ var equals_1 = kotlin_kotlin.$_$.y7;
45
+ var toCharArray = kotlin_kotlin.$_$.o8;
46
+ var concatToString = kotlin_kotlin.$_$.t7;
47
47
  //endregion
48
48
  //region block: pre-declaration
49
49
  initMetadataForCompanion(Companion);
@@ -53,12 +53,12 @@
53
53
  //endregion
54
54
  function Companion() {
55
55
  Companion_instance = this;
56
- this.b35_1 = _Char___init__impl__6a9atx(120);
57
- this.c35_1 = _Char___init__impl__6a9atx(45);
58
- this.d35_1 = 'und';
59
- this.e35_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')]);
56
+ this.v34_1 = _Char___init__impl__6a9atx(120);
57
+ this.w34_1 = _Char___init__impl__6a9atx(45);
58
+ this.x34_1 = 'und';
59
+ this.y34_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
60
  }
61
- protoOf(Companion).f35 = function (extension) {
61
+ protoOf(Companion).z34 = function (extension) {
62
62
  var tmp;
63
63
  if (extension == null) {
64
64
  tmp = null;
@@ -78,7 +78,7 @@
78
78
  var tmp1_safe_receiver = tmp;
79
79
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
80
80
  };
81
- protoOf(Companion).g35 = function (singleton) {
81
+ protoOf(Companion).a35 = function (singleton) {
82
82
  var tmp;
83
83
  if (singleton == null) {
84
84
  tmp = null;
@@ -98,7 +98,7 @@
98
98
  var tmp1_safe_receiver = tmp;
99
99
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
100
100
  };
101
- protoOf(Companion).h35 = function (subtag) {
101
+ protoOf(Companion).b35 = function (subtag) {
102
102
  var tmp;
103
103
  if (subtag == null) {
104
104
  tmp = null;
@@ -118,7 +118,7 @@
118
118
  var tmp1_safe_receiver = tmp;
119
119
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
120
120
  };
121
- protoOf(Companion).i35 = function (extensions) {
121
+ protoOf(Companion).c35 = function (extensions) {
122
122
  // Inline function 'kotlin.collections.orEmpty' call
123
123
  // Inline function 'kotlin.collections.ifEmpty' call
124
124
  // Inline function 'kotlin.contracts.contract' call
@@ -142,7 +142,7 @@
142
142
  while (tmp0_iterator.k()) {
143
143
  var element = tmp0_iterator.l();
144
144
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
145
- var tmp0_safe_receiver_0 = this.f35(element);
145
+ var tmp0_safe_receiver_0 = this.z34(element);
146
146
  if (tmp0_safe_receiver_0 == null)
147
147
  null;
148
148
  else {
@@ -157,7 +157,7 @@
157
157
  var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
158
158
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
159
159
  };
160
- protoOf(Companion).j35 = function (extlang) {
160
+ protoOf(Companion).d35 = function (extlang) {
161
161
  var tmp;
162
162
  if (extlang == null) {
163
163
  tmp = null;
@@ -177,7 +177,7 @@
177
177
  var tmp1_safe_receiver = tmp;
178
178
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
179
179
  };
180
- protoOf(Companion).k35 = function (extlangs) {
180
+ protoOf(Companion).e35 = function (extlangs) {
181
181
  // Inline function 'kotlin.collections.orEmpty' call
182
182
  // Inline function 'kotlin.collections.ifEmpty' call
183
183
  // Inline function 'kotlin.contracts.contract' call
@@ -201,7 +201,7 @@
201
201
  while (tmp0_iterator.k()) {
202
202
  var element = tmp0_iterator.l();
203
203
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
204
- var tmp0_safe_receiver_0 = this.j35(element);
204
+ var tmp0_safe_receiver_0 = this.d35(element);
205
205
  if (tmp0_safe_receiver_0 == null)
206
206
  null;
207
207
  else {
@@ -215,7 +215,7 @@
215
215
  var tmp0_elvis_lhs = tmp_0;
216
216
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
217
217
  };
218
- protoOf(Companion).l35 = function (language) {
218
+ protoOf(Companion).f35 = function (language) {
219
219
  var tmp;
220
220
  if (language == null) {
221
221
  tmp = null;
@@ -235,7 +235,7 @@
235
235
  var tmp1_safe_receiver = tmp;
236
236
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
237
237
  };
238
- protoOf(Companion).m35 = function (privateuse) {
238
+ protoOf(Companion).g35 = function (privateuse) {
239
239
  var tmp;
240
240
  if (privateuse == null) {
241
241
  tmp = null;
@@ -255,7 +255,7 @@
255
255
  var tmp1_safe_receiver = tmp;
256
256
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
257
257
  };
258
- protoOf(Companion).n35 = function (prefix) {
258
+ protoOf(Companion).h35 = function (prefix) {
259
259
  var tmp;
260
260
  if (prefix == null) {
261
261
  tmp = null;
@@ -275,7 +275,7 @@
275
275
  var tmp1_safe_receiver = tmp;
276
276
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
277
277
  };
278
- protoOf(Companion).o35 = function (subtag) {
278
+ protoOf(Companion).i35 = function (subtag) {
279
279
  var tmp;
280
280
  if (subtag == null) {
281
281
  tmp = null;
@@ -295,7 +295,7 @@
295
295
  var tmp1_safe_receiver = tmp;
296
296
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
297
297
  };
298
- protoOf(Companion).p35 = function (region) {
298
+ protoOf(Companion).j35 = function (region) {
299
299
  var tmp;
300
300
  if (region == null) {
301
301
  tmp = null;
@@ -315,7 +315,7 @@
315
315
  var tmp1_safe_receiver = tmp;
316
316
  return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
317
317
  };
318
- protoOf(Companion).q35 = function (script) {
318
+ protoOf(Companion).k35 = function (script) {
319
319
  var tmp;
320
320
  if (script == null) {
321
321
  tmp = null;
@@ -335,7 +335,7 @@
335
335
  var tmp1_safe_receiver = tmp;
336
336
  return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
337
337
  };
338
- protoOf(Companion).r35 = function (variant) {
338
+ protoOf(Companion).l35 = function (variant) {
339
339
  var tmp;
340
340
  if (variant == null) {
341
341
  tmp = null;
@@ -354,7 +354,7 @@
354
354
  }
355
355
  return tmp;
356
356
  };
357
- protoOf(Companion).s35 = function (variants) {
357
+ protoOf(Companion).m35 = function (variants) {
358
358
  // Inline function 'kotlin.collections.orEmpty' call
359
359
  // Inline function 'kotlin.collections.ifEmpty' call
360
360
  // Inline function 'kotlin.contracts.contract' call
@@ -378,7 +378,7 @@
378
378
  while (tmp0_iterator.k()) {
379
379
  var element = tmp0_iterator.l();
380
380
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
381
- var tmp0_safe_receiver_0 = this.r35(element);
381
+ var tmp0_safe_receiver_0 = this.l35(element);
382
382
  if (tmp0_safe_receiver_0 == null)
383
383
  null;
384
384
  else {
@@ -392,31 +392,31 @@
392
392
  var tmp0_elvis_lhs = tmp_0;
393
393
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
394
394
  };
395
- protoOf(Companion).t35 = function (language, script, region, variants, extlangs, extensions, privateuse) {
396
- var canonicalLanguage = this.l35(language);
397
- var canonicalScript = this.q35(script);
398
- var canonicalRegion = this.p35(region);
399
- var canonicalVariants = this.s35(variants);
400
- var canonicalExtlangs = this.k35(extlangs);
401
- var canonicalExtensions = this.i35(extensions);
402
- var canonicalPrivateuse = this.m35(privateuse);
395
+ protoOf(Companion).n35 = function (language, script, region, variants, extlangs, extensions, privateuse) {
396
+ var canonicalLanguage = this.f35(language);
397
+ var canonicalScript = this.k35(script);
398
+ var canonicalRegion = this.j35(region);
399
+ var canonicalVariants = this.m35(variants);
400
+ var canonicalExtlangs = this.e35(extlangs);
401
+ var canonicalExtensions = this.c35(extensions);
402
+ var canonicalPrivateuse = this.g35(privateuse);
403
403
  // Inline function 'kotlin.require' call
404
404
  // Inline function 'kotlin.contracts.contract' call
405
- if (!(!(canonicalLanguage == null) && this.u35(canonicalLanguage))) {
405
+ if (!(!(canonicalLanguage == null) && this.o35(canonicalLanguage))) {
406
406
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
407
407
  var message = 'Invalid language: ' + language;
408
408
  throw IllegalArgumentException_init_$Create$(toString(message));
409
409
  }
410
410
  // Inline function 'kotlin.require' call
411
411
  // Inline function 'kotlin.contracts.contract' call
412
- if (!(canonicalScript == null || this.v35(canonicalScript))) {
412
+ if (!(canonicalScript == null || this.p35(canonicalScript))) {
413
413
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
414
414
  var message_0 = 'Invalid script: ' + script;
415
415
  throw IllegalArgumentException_init_$Create$(toString(message_0));
416
416
  }
417
417
  // Inline function 'kotlin.require' call
418
418
  // Inline function 'kotlin.contracts.contract' call
419
- if (!(canonicalRegion == null || this.w35(canonicalRegion))) {
419
+ if (!(canonicalRegion == null || this.q35(canonicalRegion))) {
420
420
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
421
421
  var message_1 = 'Invalid region: ' + region;
422
422
  throw IllegalArgumentException_init_$Create$(toString(message_1));
@@ -426,7 +426,7 @@
426
426
  var variant = tmp0_iterator.l();
427
427
  // Inline function 'kotlin.require' call
428
428
  // Inline function 'kotlin.contracts.contract' call
429
- if (!this.x35(variant)) {
429
+ if (!this.r35(variant)) {
430
430
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
431
431
  var message_2 = 'Invalid variant: ' + variant;
432
432
  throw IllegalArgumentException_init_$Create$(toString(message_2));
@@ -437,7 +437,7 @@
437
437
  var extlang = tmp1_iterator.l();
438
438
  // Inline function 'kotlin.require' call
439
439
  // Inline function 'kotlin.contracts.contract' call
440
- if (!this.y35(extlang)) {
440
+ if (!this.s35(extlang)) {
441
441
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
442
442
  var message_3 = 'Invalid extlang: ' + extlang;
443
443
  throw IllegalArgumentException_init_$Create$(toString(message_3));
@@ -448,7 +448,7 @@
448
448
  var extension = tmp2_iterator.l();
449
449
  // Inline function 'kotlin.require' call
450
450
  // Inline function 'kotlin.contracts.contract' call
451
- if (!this.z35(extension)) {
451
+ if (!this.t35(extension)) {
452
452
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
453
453
  var message_4 = 'Invalid extension: ' + extension;
454
454
  throw IllegalArgumentException_init_$Create$(toString(message_4));
@@ -456,25 +456,25 @@
456
456
  }
457
457
  // Inline function 'kotlin.require' call
458
458
  // Inline function 'kotlin.contracts.contract' call
459
- if (!(canonicalPrivateuse == null || this.a36(canonicalPrivateuse))) {
459
+ if (!(canonicalPrivateuse == null || this.u35(canonicalPrivateuse))) {
460
460
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
461
461
  var message_5 = 'Invalid privateuse: ' + privateuse;
462
462
  throw IllegalArgumentException_init_$Create$(toString(message_5));
463
463
  }
464
464
  return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
465
465
  };
466
- protoOf(Companion).b36 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
466
+ protoOf(Companion).v35 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
467
467
  script = script === VOID ? null : script;
468
468
  region = region === VOID ? null : region;
469
469
  variants = variants === VOID ? emptyList() : variants;
470
470
  extlangs = extlangs === VOID ? emptyList() : extlangs;
471
471
  extensions = extensions === VOID ? emptyList() : extensions;
472
472
  privateuse = privateuse === VOID ? null : privateuse;
473
- return $super === VOID ? this.t35(language, script, region, variants, extlangs, extensions, privateuse) : $super.t35.call(this, language, script, region, variants, extlangs, extensions, privateuse);
473
+ return $super === VOID ? this.n35(language, script, region, variants, extlangs, extensions, privateuse) : $super.n35.call(this, language, script, region, variants, extlangs, extensions, privateuse);
474
474
  };
475
- protoOf(Companion).z35 = function (extension) {
475
+ protoOf(Companion).t35 = function (extension) {
476
476
  var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
477
- if (!this.c36(tokens.l()))
477
+ if (!this.w35(tokens.l()))
478
478
  return false;
479
479
  if (!tokens.k())
480
480
  return false;
@@ -482,18 +482,18 @@
482
482
  var tmp0_iterator = tokens;
483
483
  while (tmp0_iterator.k()) {
484
484
  var token = tmp0_iterator.l();
485
- if (!this.d36(token))
485
+ if (!this.x35(token))
486
486
  return false;
487
487
  }
488
488
  return true;
489
489
  };
490
- protoOf(Companion).e36 = function (singleton) {
491
- return isAlphaNumeric(singleton) && !this.f36(singleton);
490
+ protoOf(Companion).y35 = function (singleton) {
491
+ return isAlphaNumeric(singleton) && !this.z35(singleton);
492
492
  };
493
- protoOf(Companion).c36 = function (singleton) {
494
- return singleton.length === 1 && this.e36(charSequenceGet(singleton, 0));
493
+ protoOf(Companion).w35 = function (singleton) {
494
+ return singleton.length === 1 && this.y35(charSequenceGet(singleton, 0));
495
495
  };
496
- protoOf(Companion).d36 = function (extension) {
496
+ protoOf(Companion).x35 = function (extension) {
497
497
  var tmp;
498
498
  var containsArg = extension.length;
499
499
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -503,10 +503,10 @@
503
503
  }
504
504
  return tmp;
505
505
  };
506
- protoOf(Companion).y35 = function (extlang) {
506
+ protoOf(Companion).s35 = function (extlang) {
507
507
  return extlang.length === 3 && isAlpha_0(extlang);
508
508
  };
509
- protoOf(Companion).u35 = function (language) {
509
+ protoOf(Companion).o35 = function (language) {
510
510
  var tmp;
511
511
  var containsArg = language.length;
512
512
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -516,9 +516,9 @@
516
516
  }
517
517
  return tmp;
518
518
  };
519
- protoOf(Companion).a36 = function (privateuse) {
519
+ protoOf(Companion).u35 = function (privateuse) {
520
520
  var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
521
- if (!this.g36(tokens.l()))
521
+ if (!this.a36(tokens.l()))
522
522
  return false;
523
523
  if (!tokens.k())
524
524
  return false;
@@ -526,18 +526,18 @@
526
526
  var tmp0_iterator = tokens;
527
527
  while (tmp0_iterator.k()) {
528
528
  var token = tmp0_iterator.l();
529
- if (!this.h36(token))
529
+ if (!this.b36(token))
530
530
  return false;
531
531
  }
532
532
  return true;
533
533
  };
534
- protoOf(Companion).f36 = function (prefix) {
534
+ protoOf(Companion).z35 = function (prefix) {
535
535
  return equals(prefix, _Char___init__impl__6a9atx(120), true);
536
536
  };
537
- protoOf(Companion).g36 = function (prefix) {
538
- return prefix.length === 1 && this.f36(charSequenceGet(prefix, 0));
537
+ protoOf(Companion).a36 = function (prefix) {
538
+ return prefix.length === 1 && this.z35(charSequenceGet(prefix, 0));
539
539
  };
540
- protoOf(Companion).h36 = function (privateuse) {
540
+ protoOf(Companion).b36 = function (privateuse) {
541
541
  var tmp;
542
542
  var containsArg = privateuse.length;
543
543
  if (1 <= containsArg ? containsArg <= 8 : false) {
@@ -547,7 +547,7 @@
547
547
  }
548
548
  return tmp;
549
549
  };
550
- protoOf(Companion).w35 = function (region) {
550
+ protoOf(Companion).q35 = function (region) {
551
551
  switch (region.length) {
552
552
  case 2:
553
553
  return isAlpha_0(region);
@@ -557,15 +557,15 @@
557
557
  return false;
558
558
  }
559
559
  };
560
- protoOf(Companion).v35 = function (script) {
560
+ protoOf(Companion).p35 = function (script) {
561
561
  return script.length === 4 && isAlpha_0(script);
562
562
  };
563
- protoOf(Companion).x35 = function (variant) {
563
+ protoOf(Companion).r35 = function (variant) {
564
564
  var tmp0_subject = variant.length;
565
565
  return tmp0_subject === 4 ? isNumeric(charSequenceGet(variant, 0)) && isAlphaNumeric(charSequenceGet(variant, 1)) && isAlphaNumeric(charSequenceGet(variant, 2)) && isAlphaNumeric(charSequenceGet(variant, 3)) : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
566
566
  };
567
- protoOf(Companion).i36 = function (string) {
568
- var tmp0_elvis_lhs = this.e35_1.k2(toLowerCase_0(string));
567
+ protoOf(Companion).c36 = function (string) {
568
+ var tmp0_elvis_lhs = this.y34_1.k2(toLowerCase_0(string));
569
569
  var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
570
570
  var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
571
571
  var extlangs = null;
@@ -577,65 +577,65 @@
577
577
  var variants = null;
578
578
  var token;
579
579
  token = tokens.l();
580
- if (this.u35(token)) {
581
- language = this.l35(token);
580
+ if (this.o35(token)) {
581
+ language = this.f35(token);
582
582
  token = nextOrNull(tokens);
583
- if (!(token == null) && this.y35(token)) {
583
+ if (!(token == null) && this.s35(token)) {
584
584
  // Inline function 'kotlin.collections.mutableListOf' call
585
585
  extlangs = ArrayList_init_$Create$();
586
586
  do {
587
- extlangs.e(ensureNotNull(this.j35(token)));
587
+ extlangs.e(ensureNotNull(this.d35(token)));
588
588
  token = nextOrNull(tokens);
589
589
  }
590
- while (!(token == null) && extlangs.m() < 3 && this.y35(token));
590
+ while (!(token == null) && extlangs.m() < 3 && this.s35(token));
591
591
  }
592
- if (!(token == null) && this.v35(token)) {
593
- script = this.q35(token);
592
+ if (!(token == null) && this.p35(token)) {
593
+ script = this.k35(token);
594
594
  token = nextOrNull(tokens);
595
595
  }
596
- if (!(token == null) && this.w35(token)) {
597
- region = this.p35(token);
596
+ if (!(token == null) && this.q35(token)) {
597
+ region = this.j35(token);
598
598
  token = nextOrNull(tokens);
599
599
  }
600
- if (!(token == null) && this.x35(token)) {
600
+ if (!(token == null) && this.r35(token)) {
601
601
  // Inline function 'kotlin.collections.mutableListOf' call
602
602
  variants = ArrayList_init_$Create$();
603
603
  do {
604
- variants.e(ensureNotNull(this.r35(token)));
604
+ variants.e(ensureNotNull(this.l35(token)));
605
605
  token = nextOrNull(tokens);
606
606
  }
607
- while (!(token == null) && this.x35(token));
607
+ while (!(token == null) && this.r35(token));
608
608
  }
609
- if (!(token == null) && this.c36(token)) {
609
+ if (!(token == null) && this.w35(token)) {
610
610
  // Inline function 'kotlin.collections.mutableListOf' call
611
611
  extensions = ArrayList_init_$Create$();
612
612
  do {
613
- var extensionBuilder = new StringBuilder(ensureNotNull(this.g35(token)));
613
+ var extensionBuilder = new StringBuilder(ensureNotNull(this.a35(token)));
614
614
  token = nextOrNull(tokens);
615
- if (!(token == null) && this.d36(token)) {
615
+ if (!(token == null) && this.x35(token)) {
616
616
  do {
617
- extensionBuilder.s8(_Char___init__impl__6a9atx(45));
618
- extensionBuilder.r8(this.h35(token));
617
+ extensionBuilder.l8(_Char___init__impl__6a9atx(45));
618
+ extensionBuilder.k8(this.b35(token));
619
619
  token = nextOrNull(tokens);
620
620
  }
621
- while (!(token == null) && this.d36(token));
621
+ while (!(token == null) && this.x35(token));
622
622
  } else
623
623
  return null;
624
624
  extensions.e(extensionBuilder.toString());
625
625
  }
626
- while (!(token == null) && this.c36(token));
626
+ while (!(token == null) && this.w35(token));
627
627
  }
628
628
  }
629
- if (!(token == null) && this.g36(token)) {
630
- var privateuseBuilder = new StringBuilder(ensureNotNull(this.n35(token)));
629
+ if (!(token == null) && this.a36(token)) {
630
+ var privateuseBuilder = new StringBuilder(ensureNotNull(this.h35(token)));
631
631
  token = nextOrNull(tokens);
632
- if (!(token == null) && this.h36(token)) {
632
+ if (!(token == null) && this.b36(token)) {
633
633
  do {
634
- privateuseBuilder.s8(_Char___init__impl__6a9atx(45));
635
- privateuseBuilder.r8(this.o35(token));
634
+ privateuseBuilder.l8(_Char___init__impl__6a9atx(45));
635
+ privateuseBuilder.k8(this.i35(token));
636
636
  token = nextOrNull(tokens);
637
637
  }
638
- while (!(token == null) && this.h36(token));
638
+ while (!(token == null) && this.b36(token));
639
639
  } else
640
640
  return null;
641
641
  privateuse = privateuseBuilder.toString();
@@ -665,13 +665,13 @@
665
665
  }
666
666
  function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
667
667
  Companion_getInstance();
668
- this.j36_1 = extensions;
669
- this.k36_1 = extlangs;
670
- this.l36_1 = language;
671
- this.m36_1 = privateuse;
672
- this.n36_1 = region;
673
- this.o36_1 = script;
674
- this.p36_1 = variants;
668
+ this.d36_1 = extensions;
669
+ this.e36_1 = extlangs;
670
+ this.f36_1 = language;
671
+ this.g36_1 = privateuse;
672
+ this.h36_1 = region;
673
+ this.i36_1 = script;
674
+ this.j36_1 = variants;
675
675
  }
676
676
  protoOf(LanguageTag).equals = function (other) {
677
677
  var tmp;
@@ -686,37 +686,37 @@
686
686
  var tmp_5;
687
687
  var tmp_6;
688
688
  if (other instanceof LanguageTag) {
689
- tmp_6 = equals_0(this.j36_1, other.j36_1);
689
+ tmp_6 = equals_0(this.d36_1, other.d36_1);
690
690
  } else {
691
691
  tmp_6 = false;
692
692
  }
693
693
  if (tmp_6) {
694
- tmp_5 = equals_0(this.k36_1, other.k36_1);
694
+ tmp_5 = equals_0(this.e36_1, other.e36_1);
695
695
  } else {
696
696
  tmp_5 = false;
697
697
  }
698
698
  if (tmp_5) {
699
- tmp_4 = this.l36_1 == other.l36_1;
699
+ tmp_4 = this.f36_1 == other.f36_1;
700
700
  } else {
701
701
  tmp_4 = false;
702
702
  }
703
703
  if (tmp_4) {
704
- tmp_3 = this.m36_1 == other.m36_1;
704
+ tmp_3 = this.g36_1 == other.g36_1;
705
705
  } else {
706
706
  tmp_3 = false;
707
707
  }
708
708
  if (tmp_3) {
709
- tmp_2 = this.n36_1 == other.n36_1;
709
+ tmp_2 = this.h36_1 == other.h36_1;
710
710
  } else {
711
711
  tmp_2 = false;
712
712
  }
713
713
  if (tmp_2) {
714
- tmp_1 = this.o36_1 == other.o36_1;
714
+ tmp_1 = this.i36_1 == other.i36_1;
715
715
  } else {
716
716
  tmp_1 = false;
717
717
  }
718
718
  if (tmp_1) {
719
- tmp_0 = equals_2(this.p36_1, other.p36_1, true);
719
+ tmp_0 = equals_2(this.j36_1, other.j36_1, true);
720
720
  } else {
721
721
  tmp_0 = false;
722
722
  }
@@ -725,32 +725,32 @@
725
725
  return tmp;
726
726
  };
727
727
  protoOf(LanguageTag).hashCode = function () {
728
- var result = hashCode(this.j36_1);
729
- result = imul(31, result) + hashCode(this.k36_1) | 0;
728
+ var result = hashCode(this.d36_1);
729
+ result = imul(31, result) + hashCode(this.e36_1) | 0;
730
730
  var tmp = imul(31, result);
731
731
  // Inline function 'kotlin.hashCode' call
732
- var tmp0_safe_receiver = this.l36_1;
732
+ var tmp0_safe_receiver = this.f36_1;
733
733
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
734
734
  result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
735
735
  var tmp_0 = imul(31, result);
736
736
  // Inline function 'kotlin.hashCode' call
737
- var tmp0_safe_receiver_0 = this.m36_1;
737
+ var tmp0_safe_receiver_0 = this.g36_1;
738
738
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
739
739
  result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
740
740
  var tmp_1 = imul(31, result);
741
741
  // Inline function 'kotlin.hashCode' call
742
- var tmp0_safe_receiver_1 = this.n36_1;
742
+ var tmp0_safe_receiver_1 = this.h36_1;
743
743
  var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
744
744
  result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
745
745
  var tmp_2 = imul(31, result);
746
746
  // Inline function 'kotlin.hashCode' call
747
- var tmp0_safe_receiver_2 = this.o36_1;
747
+ var tmp0_safe_receiver_2 = this.i36_1;
748
748
  var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
749
749
  result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
750
750
  var tmp_3 = imul(31, result);
751
751
  // Inline function 'kotlin.hashCode' call
752
752
  // Inline function 'kotlin.collections.ifEmpty' call
753
- var this_0 = this.p36_1;
753
+ var this_0 = this.j36_1;
754
754
  // Inline function 'kotlin.contracts.contract' call
755
755
  var tmp_4;
756
756
  if (this_0.p()) {
@@ -787,60 +787,60 @@
787
787
  var this_0 = StringBuilder_init_$Create$();
788
788
  // Inline function 'kotlin.contracts.contract' call
789
789
  // Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
790
- if (!(this.l36_1 == null)) {
791
- this_0.r8(this.l36_1);
792
- var tmp0_iterator = this.k36_1.j();
790
+ if (!(this.f36_1 == null)) {
791
+ this_0.k8(this.f36_1);
792
+ var tmp0_iterator = this.e36_1.j();
793
793
  while (tmp0_iterator.k()) {
794
794
  var extlang = tmp0_iterator.l();
795
- this_0.s8(_Char___init__impl__6a9atx(45));
796
- this_0.r8(extlang);
795
+ this_0.l8(_Char___init__impl__6a9atx(45));
796
+ this_0.k8(extlang);
797
797
  }
798
- if (!(this.o36_1 == null)) {
799
- this_0.s8(_Char___init__impl__6a9atx(45));
800
- this_0.r8(this.o36_1);
798
+ if (!(this.i36_1 == null)) {
799
+ this_0.l8(_Char___init__impl__6a9atx(45));
800
+ this_0.k8(this.i36_1);
801
801
  }
802
- if (!(this.n36_1 == null)) {
803
- this_0.s8(_Char___init__impl__6a9atx(45));
804
- this_0.r8(this.n36_1);
802
+ if (!(this.h36_1 == null)) {
803
+ this_0.l8(_Char___init__impl__6a9atx(45));
804
+ this_0.k8(this.h36_1);
805
805
  }
806
- var tmp1_iterator = this.p36_1.j();
806
+ var tmp1_iterator = this.j36_1.j();
807
807
  while (tmp1_iterator.k()) {
808
808
  var variant = tmp1_iterator.l();
809
- this_0.s8(_Char___init__impl__6a9atx(45));
810
- this_0.r8(variant);
809
+ this_0.l8(_Char___init__impl__6a9atx(45));
810
+ this_0.k8(variant);
811
811
  }
812
- var tmp2_iterator = this.j36_1.j();
812
+ var tmp2_iterator = this.d36_1.j();
813
813
  while (tmp2_iterator.k()) {
814
814
  var extension = tmp2_iterator.l();
815
- this_0.s8(_Char___init__impl__6a9atx(45));
816
- this_0.r8(extension);
815
+ this_0.l8(_Char___init__impl__6a9atx(45));
816
+ this_0.k8(extension);
817
817
  }
818
818
  }
819
- if (!(this.m36_1 == null)) {
819
+ if (!(this.g36_1 == null)) {
820
820
  // Inline function 'kotlin.text.isNotEmpty' call
821
821
  if (charSequenceLength(this_0) > 0) {
822
- this_0.s8(_Char___init__impl__6a9atx(45));
822
+ this_0.l8(_Char___init__impl__6a9atx(45));
823
823
  }
824
- this_0.r8(this.m36_1);
824
+ this_0.k8(this.g36_1);
825
825
  }
826
826
  return this_0.toString();
827
827
  };
828
828
  function Companion_0() {
829
829
  Companion_instance_0 = this;
830
- this.q36_1 = new Locale(Companion_getInstance().b36('und'));
830
+ this.k36_1 = new Locale(Companion_getInstance().v35('und'));
831
831
  }
832
- protoOf(Companion_0).r36 = function (tag) {
833
- return tag.equals(this.q36_1.s36_1) ? this.q36_1 : new Locale(tag);
832
+ protoOf(Companion_0).l36 = function (tag) {
833
+ return tag.equals(this.k36_1.m36_1) ? this.k36_1 : new Locale(tag);
834
834
  };
835
- protoOf(Companion_0).t36 = function (tag) {
836
- var tmp0_safe_receiver = Companion_getInstance().i36(tag);
835
+ protoOf(Companion_0).n36 = function (tag) {
836
+ var tmp0_safe_receiver = Companion_getInstance().c36(tag);
837
837
  var tmp;
838
838
  if (tmp0_safe_receiver == null) {
839
839
  tmp = null;
840
840
  } else {
841
841
  // Inline function 'kotlin.let' call
842
842
  // Inline function 'kotlin.contracts.contract' call
843
- tmp = this.r36(tmp0_safe_receiver);
843
+ tmp = this.l36(tmp0_safe_receiver);
844
844
  }
845
845
  return tmp;
846
846
  };
@@ -852,7 +852,7 @@
852
852
  }
853
853
  function Locale(languageTag) {
854
854
  Companion_getInstance_0();
855
- this.s36_1 = languageTag;
855
+ this.m36_1 = languageTag;
856
856
  }
857
857
  protoOf(Locale).equals = function (other) {
858
858
  var tmp;
@@ -861,7 +861,7 @@
861
861
  } else {
862
862
  var tmp_0;
863
863
  if (other instanceof Locale) {
864
- tmp_0 = this.s36_1.equals(other.s36_1);
864
+ tmp_0 = this.m36_1.equals(other.m36_1);
865
865
  } else {
866
866
  tmp_0 = false;
867
867
  }
@@ -870,10 +870,10 @@
870
870
  return tmp;
871
871
  };
872
872
  protoOf(Locale).hashCode = function () {
873
- return this.s36_1.hashCode();
873
+ return this.m36_1.hashCode();
874
874
  };
875
875
  protoOf(Locale).toString = function () {
876
- return this.s36_1.toString();
876
+ return this.m36_1.toString();
877
877
  };
878
878
  function isAlphaNumeric(_this__u8e3s4) {
879
879
  return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);