@cruglobal/godtools-shared 1.1.2-SNAPSHOT.1695 → 1.1.2-SNAPSHOT.1698

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,7 +14,7 @@
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.$_$.ga;
17
+ var to = kotlin_kotlin.$_$.ha;
18
18
  var hashMapOf = kotlin_kotlin.$_$.y3;
19
19
  var charSequenceLength = kotlin_kotlin.$_$.a6;
20
20
  var protoOf = kotlin_kotlin.$_$.a7;
@@ -26,11 +26,11 @@
26
26
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
27
27
  var VOID = kotlin_kotlin.$_$.d;
28
28
  var charArrayOf = kotlin_kotlin.$_$.y5;
29
- var splitToSequence = kotlin_kotlin.$_$.k8;
29
+ var splitToSequence = kotlin_kotlin.$_$.l8;
30
30
  var charSequenceGet = kotlin_kotlin.$_$.z5;
31
- var equals = kotlin_kotlin.$_$.b8;
32
- var ensureNotNull = kotlin_kotlin.$_$.y9;
33
- var StringBuilder = kotlin_kotlin.$_$.u7;
31
+ var equals = kotlin_kotlin.$_$.c8;
32
+ var ensureNotNull = kotlin_kotlin.$_$.z9;
33
+ var StringBuilder = kotlin_kotlin.$_$.v7;
34
34
  var initMetadataForCompanion = kotlin_kotlin.$_$.m6;
35
35
  var equals_0 = kotlin_kotlin.$_$.d6;
36
36
  var hashCode = kotlin_kotlin.$_$.k6;
@@ -41,9 +41,9 @@
41
41
  var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.v1;
42
42
  var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.u1;
43
43
  var checkIndexOverflow = kotlin_kotlin.$_$.d3;
44
- var equals_1 = kotlin_kotlin.$_$.a8;
45
- var toCharArray = kotlin_kotlin.$_$.r8;
46
- var concatToString = kotlin_kotlin.$_$.v7;
44
+ var equals_1 = kotlin_kotlin.$_$.b8;
45
+ var toCharArray = kotlin_kotlin.$_$.s8;
46
+ var concatToString = kotlin_kotlin.$_$.w7;
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.v36_1 = _Char___init__impl__6a9atx(120);
57
- this.w36_1 = _Char___init__impl__6a9atx(45);
58
- this.x36_1 = 'und';
59
- this.y36_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.x36_1 = _Char___init__impl__6a9atx(120);
57
+ this.y36_1 = _Char___init__impl__6a9atx(45);
58
+ this.z36_1 = 'und';
59
+ this.a37_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).z36 = function (extension) {
61
+ protoOf(Companion).b37 = function (extension) {
62
62
  var tmp;
63
63
  if (extension == null) {
64
64
  tmp = null;
@@ -77,7 +77,7 @@
77
77
  var tmp1_safe_receiver = tmp;
78
78
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
79
79
  };
80
- protoOf(Companion).a37 = function (singleton) {
80
+ protoOf(Companion).c37 = function (singleton) {
81
81
  var tmp;
82
82
  if (singleton == null) {
83
83
  tmp = null;
@@ -96,7 +96,7 @@
96
96
  var tmp1_safe_receiver = tmp;
97
97
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
98
98
  };
99
- protoOf(Companion).b37 = function (subtag) {
99
+ protoOf(Companion).d37 = function (subtag) {
100
100
  var tmp;
101
101
  if (subtag == null) {
102
102
  tmp = null;
@@ -115,7 +115,7 @@
115
115
  var tmp1_safe_receiver = tmp;
116
116
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
117
117
  };
118
- protoOf(Companion).c37 = function (extensions) {
118
+ protoOf(Companion).e37 = function (extensions) {
119
119
  // Inline function 'kotlin.collections.ifEmpty' call
120
120
  var tmp;
121
121
  if (extensions.p()) {
@@ -138,7 +138,7 @@
138
138
  var element = _iterator__ex2g4s.l();
139
139
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
140
140
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtensions.stub_for_inlining' call
141
- var tmp0_safe_receiver_0 = this.z36(element);
141
+ var tmp0_safe_receiver_0 = this.b37(element);
142
142
  if (tmp0_safe_receiver_0 == null)
143
143
  null;
144
144
  else {
@@ -154,7 +154,7 @@
154
154
  var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
155
155
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
156
156
  };
157
- protoOf(Companion).d37 = function (extlang) {
157
+ protoOf(Companion).f37 = function (extlang) {
158
158
  var tmp;
159
159
  if (extlang == null) {
160
160
  tmp = null;
@@ -173,7 +173,7 @@
173
173
  var tmp1_safe_receiver = tmp;
174
174
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
175
175
  };
176
- protoOf(Companion).e37 = function (extlangs) {
176
+ protoOf(Companion).g37 = function (extlangs) {
177
177
  // Inline function 'kotlin.collections.ifEmpty' call
178
178
  var tmp;
179
179
  if (extlangs.p()) {
@@ -196,7 +196,7 @@
196
196
  var element = _iterator__ex2g4s.l();
197
197
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
198
198
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeExtlangs.stub_for_inlining' call
199
- var tmp0_safe_receiver_0 = this.d37(element);
199
+ var tmp0_safe_receiver_0 = this.f37(element);
200
200
  if (tmp0_safe_receiver_0 == null)
201
201
  null;
202
202
  else {
@@ -211,7 +211,7 @@
211
211
  var tmp0_elvis_lhs = tmp_0;
212
212
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
213
213
  };
214
- protoOf(Companion).f37 = function (language) {
214
+ protoOf(Companion).h37 = function (language) {
215
215
  var tmp;
216
216
  if (language == null) {
217
217
  tmp = null;
@@ -230,7 +230,7 @@
230
230
  var tmp1_safe_receiver = tmp;
231
231
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
232
232
  };
233
- protoOf(Companion).g37 = function (privateuse) {
233
+ protoOf(Companion).i37 = function (privateuse) {
234
234
  var tmp;
235
235
  if (privateuse == null) {
236
236
  tmp = null;
@@ -249,7 +249,7 @@
249
249
  var tmp1_safe_receiver = tmp;
250
250
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
251
251
  };
252
- protoOf(Companion).h37 = function (prefix) {
252
+ protoOf(Companion).j37 = function (prefix) {
253
253
  var tmp;
254
254
  if (prefix == null) {
255
255
  tmp = null;
@@ -268,7 +268,7 @@
268
268
  var tmp1_safe_receiver = tmp;
269
269
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
270
270
  };
271
- protoOf(Companion).i37 = function (subtag) {
271
+ protoOf(Companion).k37 = function (subtag) {
272
272
  var tmp;
273
273
  if (subtag == null) {
274
274
  tmp = null;
@@ -287,7 +287,7 @@
287
287
  var tmp1_safe_receiver = tmp;
288
288
  return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
289
289
  };
290
- protoOf(Companion).j37 = function (region) {
290
+ protoOf(Companion).l37 = function (region) {
291
291
  var tmp;
292
292
  if (region == null) {
293
293
  tmp = null;
@@ -306,7 +306,7 @@
306
306
  var tmp1_safe_receiver = tmp;
307
307
  return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
308
308
  };
309
- protoOf(Companion).k37 = function (script) {
309
+ protoOf(Companion).m37 = function (script) {
310
310
  var tmp;
311
311
  if (script == null) {
312
312
  tmp = null;
@@ -325,7 +325,7 @@
325
325
  var tmp1_safe_receiver = tmp;
326
326
  return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
327
327
  };
328
- protoOf(Companion).l37 = function (variant) {
328
+ protoOf(Companion).n37 = function (variant) {
329
329
  var tmp;
330
330
  if (variant == null) {
331
331
  tmp = null;
@@ -343,7 +343,7 @@
343
343
  }
344
344
  return tmp;
345
345
  };
346
- protoOf(Companion).m37 = function (variants) {
346
+ protoOf(Companion).o37 = function (variants) {
347
347
  // Inline function 'kotlin.collections.ifEmpty' call
348
348
  var tmp;
349
349
  if (variants.p()) {
@@ -366,7 +366,7 @@
366
366
  var element = _iterator__ex2g4s.l();
367
367
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
368
368
  // Inline function 'io.fluidsonic.locale.Companion.canonicalizeVariants.stub_for_inlining' call
369
- var tmp0_safe_receiver_0 = this.l37(element);
369
+ var tmp0_safe_receiver_0 = this.n37(element);
370
370
  if (tmp0_safe_receiver_0 == null)
371
371
  null;
372
372
  else {
@@ -381,28 +381,28 @@
381
381
  var tmp0_elvis_lhs = tmp_0;
382
382
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
383
383
  };
384
- protoOf(Companion).n37 = function (language, script, region, variants, extlangs, extensions, privateuse) {
385
- var canonicalLanguage = this.f37(language);
386
- var canonicalScript = this.k37(script);
387
- var canonicalRegion = this.j37(region);
388
- var canonicalVariants = this.m37(variants);
389
- var canonicalExtlangs = this.e37(extlangs);
390
- var canonicalExtensions = this.c37(extensions);
391
- var canonicalPrivateuse = this.g37(privateuse);
384
+ protoOf(Companion).p37 = function (language, script, region, variants, extlangs, extensions, privateuse) {
385
+ var canonicalLanguage = this.h37(language);
386
+ var canonicalScript = this.m37(script);
387
+ var canonicalRegion = this.l37(region);
388
+ var canonicalVariants = this.o37(variants);
389
+ var canonicalExtlangs = this.g37(extlangs);
390
+ var canonicalExtensions = this.e37(extensions);
391
+ var canonicalPrivateuse = this.i37(privateuse);
392
392
  // Inline function 'kotlin.require' call
393
- if (!(!(canonicalLanguage == null) && this.o37(canonicalLanguage))) {
393
+ if (!(!(canonicalLanguage == null) && this.q37(canonicalLanguage))) {
394
394
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
395
395
  var message = 'Invalid language: ' + language;
396
396
  throw IllegalArgumentException_init_$Create$(toString(message));
397
397
  }
398
398
  // Inline function 'kotlin.require' call
399
- if (!(canonicalScript == null || this.p37(canonicalScript))) {
399
+ if (!(canonicalScript == null || this.r37(canonicalScript))) {
400
400
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
401
401
  var message_0 = 'Invalid script: ' + script;
402
402
  throw IllegalArgumentException_init_$Create$(toString(message_0));
403
403
  }
404
404
  // Inline function 'kotlin.require' call
405
- if (!(canonicalRegion == null || this.q37(canonicalRegion))) {
405
+ if (!(canonicalRegion == null || this.s37(canonicalRegion))) {
406
406
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
407
407
  var message_1 = 'Invalid region: ' + region;
408
408
  throw IllegalArgumentException_init_$Create$(toString(message_1));
@@ -411,7 +411,7 @@
411
411
  while (tmp0_iterator.k()) {
412
412
  var variant = tmp0_iterator.l();
413
413
  // Inline function 'kotlin.require' call
414
- if (!this.r37(variant)) {
414
+ if (!this.t37(variant)) {
415
415
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
416
416
  var message_2 = 'Invalid variant: ' + variant;
417
417
  throw IllegalArgumentException_init_$Create$(toString(message_2));
@@ -421,7 +421,7 @@
421
421
  while (tmp1_iterator.k()) {
422
422
  var extlang = tmp1_iterator.l();
423
423
  // Inline function 'kotlin.require' call
424
- if (!this.s37(extlang)) {
424
+ if (!this.u37(extlang)) {
425
425
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
426
426
  var message_3 = 'Invalid extlang: ' + extlang;
427
427
  throw IllegalArgumentException_init_$Create$(toString(message_3));
@@ -431,32 +431,32 @@
431
431
  while (tmp2_iterator.k()) {
432
432
  var extension = tmp2_iterator.l();
433
433
  // Inline function 'kotlin.require' call
434
- if (!this.t37(extension)) {
434
+ if (!this.v37(extension)) {
435
435
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
436
436
  var message_4 = 'Invalid extension: ' + extension;
437
437
  throw IllegalArgumentException_init_$Create$(toString(message_4));
438
438
  }
439
439
  }
440
440
  // Inline function 'kotlin.require' call
441
- if (!(canonicalPrivateuse == null || this.u37(canonicalPrivateuse))) {
441
+ if (!(canonicalPrivateuse == null || this.w37(canonicalPrivateuse))) {
442
442
  // Inline function 'io.fluidsonic.locale.Companion.forLanguage.<anonymous>' call
443
443
  var message_5 = 'Invalid privateuse: ' + privateuse;
444
444
  throw IllegalArgumentException_init_$Create$(toString(message_5));
445
445
  }
446
446
  return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
447
447
  };
448
- protoOf(Companion).v37 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
448
+ protoOf(Companion).x37 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
449
449
  script = script === VOID ? null : script;
450
450
  region = region === VOID ? null : region;
451
451
  variants = variants === VOID ? emptyList() : variants;
452
452
  extlangs = extlangs === VOID ? emptyList() : extlangs;
453
453
  extensions = extensions === VOID ? emptyList() : extensions;
454
454
  privateuse = privateuse === VOID ? null : privateuse;
455
- return $super === VOID ? this.n37(language, script, region, variants, extlangs, extensions, privateuse) : $super.n37.call(this, language, script, region, variants, extlangs, extensions, privateuse);
455
+ return $super === VOID ? this.p37(language, script, region, variants, extlangs, extensions, privateuse) : $super.p37.call(this, language, script, region, variants, extlangs, extensions, privateuse);
456
456
  };
457
- protoOf(Companion).t37 = function (extension) {
457
+ protoOf(Companion).v37 = function (extension) {
458
458
  var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
459
- if (!this.w37(tokens.l()))
459
+ if (!this.y37(tokens.l()))
460
460
  return false;
461
461
  if (!tokens.k())
462
462
  return false;
@@ -464,18 +464,18 @@
464
464
  var tmp0_iterator = tokens;
465
465
  while (tmp0_iterator.k()) {
466
466
  var token = tmp0_iterator.l();
467
- if (!this.x37(token))
467
+ if (!this.z37(token))
468
468
  return false;
469
469
  }
470
470
  return true;
471
471
  };
472
- protoOf(Companion).y37 = function (singleton) {
473
- return isAlphaNumeric(singleton) && !this.z37(singleton);
472
+ protoOf(Companion).a38 = function (singleton) {
473
+ return isAlphaNumeric(singleton) && !this.b38(singleton);
474
474
  };
475
- protoOf(Companion).w37 = function (singleton) {
476
- return singleton.length === 1 && this.y37(charSequenceGet(singleton, 0));
475
+ protoOf(Companion).y37 = function (singleton) {
476
+ return singleton.length === 1 && this.a38(charSequenceGet(singleton, 0));
477
477
  };
478
- protoOf(Companion).x37 = function (extension) {
478
+ protoOf(Companion).z37 = function (extension) {
479
479
  var tmp;
480
480
  var containsArg = extension.length;
481
481
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -485,10 +485,10 @@
485
485
  }
486
486
  return tmp;
487
487
  };
488
- protoOf(Companion).s37 = function (extlang) {
488
+ protoOf(Companion).u37 = function (extlang) {
489
489
  return extlang.length === 3 && isAlpha_0(extlang);
490
490
  };
491
- protoOf(Companion).o37 = function (language) {
491
+ protoOf(Companion).q37 = function (language) {
492
492
  var tmp;
493
493
  var containsArg = language.length;
494
494
  if (2 <= containsArg ? containsArg <= 8 : false) {
@@ -498,9 +498,9 @@
498
498
  }
499
499
  return tmp;
500
500
  };
501
- protoOf(Companion).u37 = function (privateuse) {
501
+ protoOf(Companion).w37 = function (privateuse) {
502
502
  var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
503
- if (!this.a38(tokens.l()))
503
+ if (!this.c38(tokens.l()))
504
504
  return false;
505
505
  if (!tokens.k())
506
506
  return false;
@@ -508,18 +508,18 @@
508
508
  var tmp0_iterator = tokens;
509
509
  while (tmp0_iterator.k()) {
510
510
  var token = tmp0_iterator.l();
511
- if (!this.b38(token))
511
+ if (!this.d38(token))
512
512
  return false;
513
513
  }
514
514
  return true;
515
515
  };
516
- protoOf(Companion).z37 = function (prefix) {
516
+ protoOf(Companion).b38 = function (prefix) {
517
517
  return equals(prefix, _Char___init__impl__6a9atx(120), true);
518
518
  };
519
- protoOf(Companion).a38 = function (prefix) {
520
- return prefix.length === 1 && this.z37(charSequenceGet(prefix, 0));
519
+ protoOf(Companion).c38 = function (prefix) {
520
+ return prefix.length === 1 && this.b38(charSequenceGet(prefix, 0));
521
521
  };
522
- protoOf(Companion).b38 = function (privateuse) {
522
+ protoOf(Companion).d38 = function (privateuse) {
523
523
  var tmp;
524
524
  var containsArg = privateuse.length;
525
525
  if (1 <= containsArg ? containsArg <= 8 : false) {
@@ -529,7 +529,7 @@
529
529
  }
530
530
  return tmp;
531
531
  };
532
- protoOf(Companion).q37 = function (region) {
532
+ protoOf(Companion).s37 = function (region) {
533
533
  switch (region.length) {
534
534
  case 2:
535
535
  return isAlpha_0(region);
@@ -539,15 +539,15 @@
539
539
  return false;
540
540
  }
541
541
  };
542
- protoOf(Companion).p37 = function (script) {
542
+ protoOf(Companion).r37 = function (script) {
543
543
  return script.length === 4 && isAlpha_0(script);
544
544
  };
545
- protoOf(Companion).r37 = function (variant) {
545
+ protoOf(Companion).t37 = function (variant) {
546
546
  var tmp0_subject = variant.length;
547
547
  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;
548
548
  };
549
- protoOf(Companion).c38 = function (string) {
550
- var tmp0_elvis_lhs = this.y36_1.k2(toLowerCase_0(string));
549
+ protoOf(Companion).e38 = function (string) {
550
+ var tmp0_elvis_lhs = this.a37_1.n2(toLowerCase_0(string));
551
551
  var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
552
552
  var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
553
553
  var extlangs = null;
@@ -559,65 +559,65 @@
559
559
  var variants = null;
560
560
  var token;
561
561
  token = tokens.l();
562
- if (this.o37(token)) {
563
- language = this.f37(token);
562
+ if (this.q37(token)) {
563
+ language = this.h37(token);
564
564
  token = nextOrNull(tokens);
565
- if (!(token == null) && this.s37(token)) {
565
+ if (!(token == null) && this.u37(token)) {
566
566
  // Inline function 'kotlin.collections.mutableListOf' call
567
567
  extlangs = ArrayList_init_$Create$();
568
568
  do {
569
- extlangs.e(ensureNotNull(this.d37(token)));
569
+ extlangs.e(ensureNotNull(this.f37(token)));
570
570
  token = nextOrNull(tokens);
571
571
  }
572
- while (!(token == null) && extlangs.m() < 3 && this.s37(token));
572
+ while (!(token == null) && extlangs.m() < 3 && this.u37(token));
573
573
  }
574
- if (!(token == null) && this.p37(token)) {
575
- script = this.k37(token);
574
+ if (!(token == null) && this.r37(token)) {
575
+ script = this.m37(token);
576
576
  token = nextOrNull(tokens);
577
577
  }
578
- if (!(token == null) && this.q37(token)) {
579
- region = this.j37(token);
578
+ if (!(token == null) && this.s37(token)) {
579
+ region = this.l37(token);
580
580
  token = nextOrNull(tokens);
581
581
  }
582
- if (!(token == null) && this.r37(token)) {
582
+ if (!(token == null) && this.t37(token)) {
583
583
  // Inline function 'kotlin.collections.mutableListOf' call
584
584
  variants = ArrayList_init_$Create$();
585
585
  do {
586
- variants.e(ensureNotNull(this.l37(token)));
586
+ variants.e(ensureNotNull(this.n37(token)));
587
587
  token = nextOrNull(tokens);
588
588
  }
589
- while (!(token == null) && this.r37(token));
589
+ while (!(token == null) && this.t37(token));
590
590
  }
591
- if (!(token == null) && this.w37(token)) {
591
+ if (!(token == null) && this.y37(token)) {
592
592
  // Inline function 'kotlin.collections.mutableListOf' call
593
593
  extensions = ArrayList_init_$Create$();
594
594
  do {
595
- var extensionBuilder = new StringBuilder(ensureNotNull(this.a37(token)));
595
+ var extensionBuilder = new StringBuilder(ensureNotNull(this.c37(token)));
596
596
  token = nextOrNull(tokens);
597
- if (!(token == null) && this.x37(token)) {
597
+ if (!(token == null) && this.z37(token)) {
598
598
  do {
599
- extensionBuilder.o8(_Char___init__impl__6a9atx(45));
600
- extensionBuilder.n8(this.b37(token));
599
+ extensionBuilder.r8(_Char___init__impl__6a9atx(45));
600
+ extensionBuilder.q8(this.d37(token));
601
601
  token = nextOrNull(tokens);
602
602
  }
603
- while (!(token == null) && this.x37(token));
603
+ while (!(token == null) && this.z37(token));
604
604
  } else
605
605
  return null;
606
606
  extensions.e(extensionBuilder.toString());
607
607
  }
608
- while (!(token == null) && this.w37(token));
608
+ while (!(token == null) && this.y37(token));
609
609
  }
610
610
  }
611
- if (!(token == null) && this.a38(token)) {
612
- var privateuseBuilder = new StringBuilder(ensureNotNull(this.h37(token)));
611
+ if (!(token == null) && this.c38(token)) {
612
+ var privateuseBuilder = new StringBuilder(ensureNotNull(this.j37(token)));
613
613
  token = nextOrNull(tokens);
614
- if (!(token == null) && this.b38(token)) {
614
+ if (!(token == null) && this.d38(token)) {
615
615
  do {
616
- privateuseBuilder.o8(_Char___init__impl__6a9atx(45));
617
- privateuseBuilder.n8(this.i37(token));
616
+ privateuseBuilder.r8(_Char___init__impl__6a9atx(45));
617
+ privateuseBuilder.q8(this.k37(token));
618
618
  token = nextOrNull(tokens);
619
619
  }
620
- while (!(token == null) && this.b38(token));
620
+ while (!(token == null) && this.d38(token));
621
621
  } else
622
622
  return null;
623
623
  privateuse = privateuseBuilder.toString();
@@ -647,13 +647,13 @@
647
647
  }
648
648
  function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
649
649
  Companion_getInstance();
650
- this.d38_1 = extensions;
651
- this.e38_1 = extlangs;
652
- this.f38_1 = language;
653
- this.g38_1 = privateuse;
654
- this.h38_1 = region;
655
- this.i38_1 = script;
656
- this.j38_1 = variants;
650
+ this.f38_1 = extensions;
651
+ this.g38_1 = extlangs;
652
+ this.h38_1 = language;
653
+ this.i38_1 = privateuse;
654
+ this.j38_1 = region;
655
+ this.k38_1 = script;
656
+ this.l38_1 = variants;
657
657
  }
658
658
  protoOf(LanguageTag).equals = function (other) {
659
659
  var tmp;
@@ -668,37 +668,37 @@
668
668
  var tmp_5;
669
669
  var tmp_6;
670
670
  if (other instanceof LanguageTag) {
671
- tmp_6 = equals_0(this.d38_1, other.d38_1);
671
+ tmp_6 = equals_0(this.f38_1, other.f38_1);
672
672
  } else {
673
673
  tmp_6 = false;
674
674
  }
675
675
  if (tmp_6) {
676
- tmp_5 = equals_0(this.e38_1, other.e38_1);
676
+ tmp_5 = equals_0(this.g38_1, other.g38_1);
677
677
  } else {
678
678
  tmp_5 = false;
679
679
  }
680
680
  if (tmp_5) {
681
- tmp_4 = this.f38_1 == other.f38_1;
681
+ tmp_4 = this.h38_1 == other.h38_1;
682
682
  } else {
683
683
  tmp_4 = false;
684
684
  }
685
685
  if (tmp_4) {
686
- tmp_3 = this.g38_1 == other.g38_1;
686
+ tmp_3 = this.i38_1 == other.i38_1;
687
687
  } else {
688
688
  tmp_3 = false;
689
689
  }
690
690
  if (tmp_3) {
691
- tmp_2 = this.h38_1 == other.h38_1;
691
+ tmp_2 = this.j38_1 == other.j38_1;
692
692
  } else {
693
693
  tmp_2 = false;
694
694
  }
695
695
  if (tmp_2) {
696
- tmp_1 = this.i38_1 == other.i38_1;
696
+ tmp_1 = this.k38_1 == other.k38_1;
697
697
  } else {
698
698
  tmp_1 = false;
699
699
  }
700
700
  if (tmp_1) {
701
- tmp_0 = equals_2(this.j38_1, other.j38_1, true);
701
+ tmp_0 = equals_2(this.l38_1, other.l38_1, true);
702
702
  } else {
703
703
  tmp_0 = false;
704
704
  }
@@ -707,31 +707,31 @@
707
707
  return tmp;
708
708
  };
709
709
  protoOf(LanguageTag).hashCode = function () {
710
- var result = hashCode(this.d38_1);
711
- result = imul(31, result) + hashCode(this.e38_1) | 0;
710
+ var result = hashCode(this.f38_1);
711
+ result = imul(31, result) + hashCode(this.g38_1) | 0;
712
712
  var tmp = imul(31, result);
713
713
  // Inline function 'kotlin.hashCode' call
714
- var tmp0_safe_receiver = this.f38_1;
714
+ var tmp0_safe_receiver = this.h38_1;
715
715
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
716
716
  result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
717
717
  var tmp_0 = imul(31, result);
718
718
  // Inline function 'kotlin.hashCode' call
719
- var tmp0_safe_receiver_0 = this.g38_1;
719
+ var tmp0_safe_receiver_0 = this.i38_1;
720
720
  var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
721
721
  result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
722
722
  var tmp_1 = imul(31, result);
723
723
  // Inline function 'kotlin.hashCode' call
724
- var tmp0_safe_receiver_1 = this.h38_1;
724
+ var tmp0_safe_receiver_1 = this.j38_1;
725
725
  var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
726
726
  result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
727
727
  var tmp_2 = imul(31, result);
728
728
  // Inline function 'kotlin.hashCode' call
729
- var tmp0_safe_receiver_2 = this.i38_1;
729
+ var tmp0_safe_receiver_2 = this.k38_1;
730
730
  var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
731
731
  result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
732
732
  var tmp_3 = imul(31, result);
733
733
  // Inline function 'kotlin.collections.ifEmpty' call
734
- var this_0 = this.j38_1;
734
+ var this_0 = this.l38_1;
735
735
  var tmp_4;
736
736
  if (this_0.p()) {
737
737
  // Inline function 'io.fluidsonic.locale.LanguageTag.hashCode.<anonymous>' call
@@ -767,60 +767,60 @@
767
767
  // Inline function 'kotlin.apply' call
768
768
  var this_0 = StringBuilder_init_$Create$();
769
769
  // Inline function 'io.fluidsonic.locale.LanguageTag.toString.<anonymous>' call
770
- if (!(this.f38_1 == null)) {
771
- this_0.n8(this.f38_1);
772
- var tmp0_iterator = this.e38_1.j();
770
+ if (!(this.h38_1 == null)) {
771
+ this_0.q8(this.h38_1);
772
+ var tmp0_iterator = this.g38_1.j();
773
773
  while (tmp0_iterator.k()) {
774
774
  var extlang = tmp0_iterator.l();
775
- this_0.o8(_Char___init__impl__6a9atx(45));
776
- this_0.n8(extlang);
775
+ this_0.r8(_Char___init__impl__6a9atx(45));
776
+ this_0.q8(extlang);
777
777
  }
778
- if (!(this.i38_1 == null)) {
779
- this_0.o8(_Char___init__impl__6a9atx(45));
780
- this_0.n8(this.i38_1);
778
+ if (!(this.k38_1 == null)) {
779
+ this_0.r8(_Char___init__impl__6a9atx(45));
780
+ this_0.q8(this.k38_1);
781
781
  }
782
- if (!(this.h38_1 == null)) {
783
- this_0.o8(_Char___init__impl__6a9atx(45));
784
- this_0.n8(this.h38_1);
782
+ if (!(this.j38_1 == null)) {
783
+ this_0.r8(_Char___init__impl__6a9atx(45));
784
+ this_0.q8(this.j38_1);
785
785
  }
786
- var tmp1_iterator = this.j38_1.j();
786
+ var tmp1_iterator = this.l38_1.j();
787
787
  while (tmp1_iterator.k()) {
788
788
  var variant = tmp1_iterator.l();
789
- this_0.o8(_Char___init__impl__6a9atx(45));
790
- this_0.n8(variant);
789
+ this_0.r8(_Char___init__impl__6a9atx(45));
790
+ this_0.q8(variant);
791
791
  }
792
- var tmp2_iterator = this.d38_1.j();
792
+ var tmp2_iterator = this.f38_1.j();
793
793
  while (tmp2_iterator.k()) {
794
794
  var extension = tmp2_iterator.l();
795
- this_0.o8(_Char___init__impl__6a9atx(45));
796
- this_0.n8(extension);
795
+ this_0.r8(_Char___init__impl__6a9atx(45));
796
+ this_0.q8(extension);
797
797
  }
798
798
  }
799
- if (!(this.g38_1 == null)) {
799
+ if (!(this.i38_1 == null)) {
800
800
  // Inline function 'kotlin.text.isNotEmpty' call
801
801
  if (charSequenceLength(this_0) > 0) {
802
- this_0.o8(_Char___init__impl__6a9atx(45));
802
+ this_0.r8(_Char___init__impl__6a9atx(45));
803
803
  }
804
- this_0.n8(this.g38_1);
804
+ this_0.q8(this.i38_1);
805
805
  }
806
806
  return this_0.toString();
807
807
  };
808
808
  function Companion_0() {
809
809
  Companion_instance_0 = this;
810
- this.k38_1 = new Locale(Companion_getInstance().v37('und'));
810
+ this.m38_1 = new Locale(Companion_getInstance().x37('und'));
811
811
  }
812
- protoOf(Companion_0).l38 = function (tag) {
813
- return tag.equals(this.k38_1.m38_1) ? this.k38_1 : new Locale(tag);
814
- };
815
812
  protoOf(Companion_0).n38 = function (tag) {
816
- var tmp0_safe_receiver = Companion_getInstance().c38(tag);
813
+ return tag.equals(this.m38_1.o38_1) ? this.m38_1 : new Locale(tag);
814
+ };
815
+ protoOf(Companion_0).p38 = function (tag) {
816
+ var tmp0_safe_receiver = Companion_getInstance().e38(tag);
817
817
  var tmp;
818
818
  if (tmp0_safe_receiver == null) {
819
819
  tmp = null;
820
820
  } else {
821
821
  // Inline function 'kotlin.let' call
822
822
  // Inline function 'io.fluidsonic.locale.Companion.forLanguageTagOrNull.stub_for_inlining' call
823
- tmp = this.l38(tmp0_safe_receiver);
823
+ tmp = this.n38(tmp0_safe_receiver);
824
824
  }
825
825
  return tmp;
826
826
  };
@@ -832,7 +832,7 @@
832
832
  }
833
833
  function Locale(languageTag) {
834
834
  Companion_getInstance_0();
835
- this.m38_1 = languageTag;
835
+ this.o38_1 = languageTag;
836
836
  }
837
837
  protoOf(Locale).equals = function (other) {
838
838
  var tmp;
@@ -841,7 +841,7 @@
841
841
  } else {
842
842
  var tmp_0;
843
843
  if (other instanceof Locale) {
844
- tmp_0 = this.m38_1.equals(other.m38_1);
844
+ tmp_0 = this.o38_1.equals(other.o38_1);
845
845
  } else {
846
846
  tmp_0 = false;
847
847
  }
@@ -850,10 +850,10 @@
850
850
  return tmp;
851
851
  };
852
852
  protoOf(Locale).hashCode = function () {
853
- return this.m38_1.hashCode();
853
+ return this.o38_1.hashCode();
854
854
  };
855
855
  protoOf(Locale).toString = function () {
856
- return this.m38_1.toString();
856
+ return this.o38_1.toString();
857
857
  };
858
858
  function isAlphaNumeric(_this__u8e3s4) {
859
859
  return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);