@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1814 → 1.3.0-SNAPSHOT.1816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kermit-kermit-core.js +49 -49
- package/Kermit-kermit-core.js.map +1 -1
- package/Kermit-kermit.js +10 -10
- package/antlr-kotlin-antlr-kotlin-runtime.js +3284 -3135
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +678 -651
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +160 -159
- package/fluid-locale.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2438 -2133
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js +64 -64
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +636 -639
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2763 -2729
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +22 -22
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +424 -79
- package/kotlinx-atomicfu.js +24 -24
- package/kotlinx-coroutines-core.js +2979 -2973
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
package/fluid-locale.js
CHANGED
|
@@ -14,36 +14,37 @@
|
|
|
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.$_$.
|
|
18
|
-
var hashMapOf = kotlin_kotlin.$_$.
|
|
19
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
+
var to = kotlin_kotlin.$_$.v9;
|
|
18
|
+
var hashMapOf = kotlin_kotlin.$_$.x3;
|
|
19
|
+
var charSequenceLength = kotlin_kotlin.$_$.y5;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.x6;
|
|
21
21
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
23
|
-
var sorted = kotlin_kotlin.$_$.
|
|
24
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
25
|
-
var toString = kotlin_kotlin.$_$.
|
|
23
|
+
var sorted = kotlin_kotlin.$_$.r4;
|
|
24
|
+
var emptyList = kotlin_kotlin.$_$.o3;
|
|
25
|
+
var toString = kotlin_kotlin.$_$.a7;
|
|
26
26
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.d;
|
|
28
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
29
|
-
var splitToSequence = kotlin_kotlin.$_$.
|
|
30
|
-
var
|
|
31
|
-
var equals = kotlin_kotlin.$_$.
|
|
32
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
33
|
-
var StringBuilder = kotlin_kotlin.$_$.
|
|
34
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
35
|
-
var equals_0 = kotlin_kotlin.$_$.
|
|
36
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
37
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
28
|
+
var charArrayOf = kotlin_kotlin.$_$.v5;
|
|
29
|
+
var splitToSequence = kotlin_kotlin.$_$.c8;
|
|
30
|
+
var charCodeAt = kotlin_kotlin.$_$.w5;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.u7;
|
|
32
|
+
var ensureNotNull = kotlin_kotlin.$_$.n9;
|
|
33
|
+
var StringBuilder = kotlin_kotlin.$_$.p7;
|
|
34
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.j6;
|
|
35
|
+
var equals_0 = kotlin_kotlin.$_$.b6;
|
|
36
|
+
var hashCode = kotlin_kotlin.$_$.h6;
|
|
37
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.d3;
|
|
38
38
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
39
39
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
40
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
+
var initMetadataForClass = kotlin_kotlin.$_$.i6;
|
|
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.$_$.
|
|
44
|
-
var equals_1 = kotlin_kotlin.$_$.
|
|
45
|
-
var
|
|
46
|
-
var
|
|
43
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.c3;
|
|
44
|
+
var equals_1 = kotlin_kotlin.$_$.t7;
|
|
45
|
+
var charSequenceGet = kotlin_kotlin.$_$.x5;
|
|
46
|
+
var toCharArray = kotlin_kotlin.$_$.j8;
|
|
47
|
+
var concatToString = kotlin_kotlin.$_$.q7;
|
|
47
48
|
//endregion
|
|
48
49
|
//region block: pre-declaration
|
|
49
50
|
initMetadataForCompanion(Companion);
|
|
@@ -53,12 +54,12 @@
|
|
|
53
54
|
//endregion
|
|
54
55
|
function Companion() {
|
|
55
56
|
Companion_instance = this;
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
57
|
+
this.p34_1 = _Char___init__impl__6a9atx(120);
|
|
58
|
+
this.q34_1 = _Char___init__impl__6a9atx(45);
|
|
59
|
+
this.r34_1 = 'und';
|
|
60
|
+
this.s34_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
61
|
}
|
|
61
|
-
protoOf(Companion).
|
|
62
|
+
protoOf(Companion).t34 = function (extension) {
|
|
62
63
|
var tmp;
|
|
63
64
|
if (extension == null) {
|
|
64
65
|
tmp = null;
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
var tmp1_safe_receiver = tmp;
|
|
77
78
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
78
79
|
};
|
|
79
|
-
protoOf(Companion).
|
|
80
|
+
protoOf(Companion).u34 = function (singleton) {
|
|
80
81
|
var tmp;
|
|
81
82
|
if (singleton == null) {
|
|
82
83
|
tmp = null;
|
|
@@ -94,7 +95,7 @@
|
|
|
94
95
|
var tmp1_safe_receiver = tmp;
|
|
95
96
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
96
97
|
};
|
|
97
|
-
protoOf(Companion).
|
|
98
|
+
protoOf(Companion).v34 = function (subtag) {
|
|
98
99
|
var tmp;
|
|
99
100
|
if (subtag == null) {
|
|
100
101
|
tmp = null;
|
|
@@ -112,7 +113,7 @@
|
|
|
112
113
|
var tmp1_safe_receiver = tmp;
|
|
113
114
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
114
115
|
};
|
|
115
|
-
protoOf(Companion).
|
|
116
|
+
protoOf(Companion).w34 = function (extensions) {
|
|
116
117
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
117
118
|
var tmp;
|
|
118
119
|
if (extensions.p()) {
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
133
134
|
while (_iterator__ex2g4s.k()) {
|
|
134
135
|
var element = _iterator__ex2g4s.l();
|
|
135
|
-
var tmp0_safe_receiver_0 = this.
|
|
136
|
+
var tmp0_safe_receiver_0 = this.t34(element);
|
|
136
137
|
if (tmp0_safe_receiver_0 == null)
|
|
137
138
|
null;
|
|
138
139
|
else {
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
var tmp0_elvis_lhs = tmp1_safe_receiver == null ? null : sorted(tmp1_safe_receiver);
|
|
148
149
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
149
150
|
};
|
|
150
|
-
protoOf(Companion).
|
|
151
|
+
protoOf(Companion).x34 = function (extlang) {
|
|
151
152
|
var tmp;
|
|
152
153
|
if (extlang == null) {
|
|
153
154
|
tmp = null;
|
|
@@ -165,7 +166,7 @@
|
|
|
165
166
|
var tmp1_safe_receiver = tmp;
|
|
166
167
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
167
168
|
};
|
|
168
|
-
protoOf(Companion).
|
|
169
|
+
protoOf(Companion).y34 = function (extlangs) {
|
|
169
170
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
170
171
|
var tmp;
|
|
171
172
|
if (extlangs.p()) {
|
|
@@ -185,7 +186,7 @@
|
|
|
185
186
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
186
187
|
while (_iterator__ex2g4s.k()) {
|
|
187
188
|
var element = _iterator__ex2g4s.l();
|
|
188
|
-
var tmp0_safe_receiver_0 = this.
|
|
189
|
+
var tmp0_safe_receiver_0 = this.x34(element);
|
|
189
190
|
if (tmp0_safe_receiver_0 == null)
|
|
190
191
|
null;
|
|
191
192
|
else {
|
|
@@ -199,7 +200,7 @@
|
|
|
199
200
|
var tmp0_elvis_lhs = tmp_0;
|
|
200
201
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
201
202
|
};
|
|
202
|
-
protoOf(Companion).
|
|
203
|
+
protoOf(Companion).z34 = function (language) {
|
|
203
204
|
var tmp;
|
|
204
205
|
if (language == null) {
|
|
205
206
|
tmp = null;
|
|
@@ -217,7 +218,7 @@
|
|
|
217
218
|
var tmp1_safe_receiver = tmp;
|
|
218
219
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
219
220
|
};
|
|
220
|
-
protoOf(Companion).
|
|
221
|
+
protoOf(Companion).a35 = function (privateuse) {
|
|
221
222
|
var tmp;
|
|
222
223
|
if (privateuse == null) {
|
|
223
224
|
tmp = null;
|
|
@@ -235,7 +236,7 @@
|
|
|
235
236
|
var tmp1_safe_receiver = tmp;
|
|
236
237
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
237
238
|
};
|
|
238
|
-
protoOf(Companion).
|
|
239
|
+
protoOf(Companion).b35 = function (prefix) {
|
|
239
240
|
var tmp;
|
|
240
241
|
if (prefix == null) {
|
|
241
242
|
tmp = null;
|
|
@@ -253,7 +254,7 @@
|
|
|
253
254
|
var tmp1_safe_receiver = tmp;
|
|
254
255
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
255
256
|
};
|
|
256
|
-
protoOf(Companion).
|
|
257
|
+
protoOf(Companion).c35 = function (subtag) {
|
|
257
258
|
var tmp;
|
|
258
259
|
if (subtag == null) {
|
|
259
260
|
tmp = null;
|
|
@@ -271,7 +272,7 @@
|
|
|
271
272
|
var tmp1_safe_receiver = tmp;
|
|
272
273
|
return tmp1_safe_receiver == null ? null : toLowerCase_0(tmp1_safe_receiver);
|
|
273
274
|
};
|
|
274
|
-
protoOf(Companion).
|
|
275
|
+
protoOf(Companion).d35 = function (region) {
|
|
275
276
|
var tmp;
|
|
276
277
|
if (region == null) {
|
|
277
278
|
tmp = null;
|
|
@@ -289,7 +290,7 @@
|
|
|
289
290
|
var tmp1_safe_receiver = tmp;
|
|
290
291
|
return tmp1_safe_receiver == null ? null : toUpperCase_0(tmp1_safe_receiver);
|
|
291
292
|
};
|
|
292
|
-
protoOf(Companion).
|
|
293
|
+
protoOf(Companion).e35 = function (script) {
|
|
293
294
|
var tmp;
|
|
294
295
|
if (script == null) {
|
|
295
296
|
tmp = null;
|
|
@@ -307,7 +308,7 @@
|
|
|
307
308
|
var tmp1_safe_receiver = tmp;
|
|
308
309
|
return tmp1_safe_receiver == null ? null : toUppercaseFirstLowercaseRest(tmp1_safe_receiver);
|
|
309
310
|
};
|
|
310
|
-
protoOf(Companion).
|
|
311
|
+
protoOf(Companion).f35 = function (variant) {
|
|
311
312
|
var tmp;
|
|
312
313
|
if (variant == null) {
|
|
313
314
|
tmp = null;
|
|
@@ -324,7 +325,7 @@
|
|
|
324
325
|
}
|
|
325
326
|
return tmp;
|
|
326
327
|
};
|
|
327
|
-
protoOf(Companion).
|
|
328
|
+
protoOf(Companion).g35 = function (variants) {
|
|
328
329
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
329
330
|
var tmp;
|
|
330
331
|
if (variants.p()) {
|
|
@@ -344,7 +345,7 @@
|
|
|
344
345
|
var _iterator__ex2g4s = tmp0_safe_receiver.j();
|
|
345
346
|
while (_iterator__ex2g4s.k()) {
|
|
346
347
|
var element = _iterator__ex2g4s.l();
|
|
347
|
-
var tmp0_safe_receiver_0 = this.
|
|
348
|
+
var tmp0_safe_receiver_0 = this.f35(element);
|
|
348
349
|
if (tmp0_safe_receiver_0 == null)
|
|
349
350
|
null;
|
|
350
351
|
else {
|
|
@@ -358,26 +359,26 @@
|
|
|
358
359
|
var tmp0_elvis_lhs = tmp_0;
|
|
359
360
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
360
361
|
};
|
|
361
|
-
protoOf(Companion).
|
|
362
|
-
var canonicalLanguage = this.
|
|
363
|
-
var canonicalScript = this.
|
|
364
|
-
var canonicalRegion = this.
|
|
365
|
-
var canonicalVariants = this.
|
|
366
|
-
var canonicalExtlangs = this.
|
|
367
|
-
var canonicalExtensions = this.
|
|
368
|
-
var canonicalPrivateuse = this.
|
|
362
|
+
protoOf(Companion).h35 = function (language, script, region, variants, extlangs, extensions, privateuse) {
|
|
363
|
+
var canonicalLanguage = this.z34(language);
|
|
364
|
+
var canonicalScript = this.e35(script);
|
|
365
|
+
var canonicalRegion = this.d35(region);
|
|
366
|
+
var canonicalVariants = this.g35(variants);
|
|
367
|
+
var canonicalExtlangs = this.y34(extlangs);
|
|
368
|
+
var canonicalExtensions = this.w34(extensions);
|
|
369
|
+
var canonicalPrivateuse = this.a35(privateuse);
|
|
369
370
|
// Inline function 'kotlin.require' call
|
|
370
|
-
if (!(!(canonicalLanguage == null) && this.
|
|
371
|
+
if (!(!(canonicalLanguage == null) && this.i35(canonicalLanguage))) {
|
|
371
372
|
var message = 'Invalid language: ' + language;
|
|
372
373
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
373
374
|
}
|
|
374
375
|
// Inline function 'kotlin.require' call
|
|
375
|
-
if (!(canonicalScript == null || this.
|
|
376
|
+
if (!(canonicalScript == null || this.j35(canonicalScript))) {
|
|
376
377
|
var message_0 = 'Invalid script: ' + script;
|
|
377
378
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
378
379
|
}
|
|
379
380
|
// Inline function 'kotlin.require' call
|
|
380
|
-
if (!(canonicalRegion == null || this.
|
|
381
|
+
if (!(canonicalRegion == null || this.k35(canonicalRegion))) {
|
|
381
382
|
var message_1 = 'Invalid region: ' + region;
|
|
382
383
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
383
384
|
}
|
|
@@ -385,7 +386,7 @@
|
|
|
385
386
|
while (tmp0_iterator.k()) {
|
|
386
387
|
var variant = tmp0_iterator.l();
|
|
387
388
|
// Inline function 'kotlin.require' call
|
|
388
|
-
if (!this.
|
|
389
|
+
if (!this.l35(variant)) {
|
|
389
390
|
var message_2 = 'Invalid variant: ' + variant;
|
|
390
391
|
throw IllegalArgumentException_init_$Create$(toString(message_2));
|
|
391
392
|
}
|
|
@@ -394,7 +395,7 @@
|
|
|
394
395
|
while (tmp1_iterator.k()) {
|
|
395
396
|
var extlang = tmp1_iterator.l();
|
|
396
397
|
// Inline function 'kotlin.require' call
|
|
397
|
-
if (!this.
|
|
398
|
+
if (!this.m35(extlang)) {
|
|
398
399
|
var message_3 = 'Invalid extlang: ' + extlang;
|
|
399
400
|
throw IllegalArgumentException_init_$Create$(toString(message_3));
|
|
400
401
|
}
|
|
@@ -403,30 +404,30 @@
|
|
|
403
404
|
while (tmp2_iterator.k()) {
|
|
404
405
|
var extension = tmp2_iterator.l();
|
|
405
406
|
// Inline function 'kotlin.require' call
|
|
406
|
-
if (!this.
|
|
407
|
+
if (!this.n35(extension)) {
|
|
407
408
|
var message_4 = 'Invalid extension: ' + extension;
|
|
408
409
|
throw IllegalArgumentException_init_$Create$(toString(message_4));
|
|
409
410
|
}
|
|
410
411
|
}
|
|
411
412
|
// Inline function 'kotlin.require' call
|
|
412
|
-
if (!(canonicalPrivateuse == null || this.
|
|
413
|
+
if (!(canonicalPrivateuse == null || this.o35(canonicalPrivateuse))) {
|
|
413
414
|
var message_5 = 'Invalid privateuse: ' + privateuse;
|
|
414
415
|
throw IllegalArgumentException_init_$Create$(toString(message_5));
|
|
415
416
|
}
|
|
416
417
|
return new LanguageTag(canonicalExtensions, canonicalExtlangs, canonicalLanguage, canonicalPrivateuse, canonicalRegion, canonicalScript, canonicalVariants);
|
|
417
418
|
};
|
|
418
|
-
protoOf(Companion).
|
|
419
|
+
protoOf(Companion).p35 = function (language, script, region, variants, extlangs, extensions, privateuse, $super) {
|
|
419
420
|
script = script === VOID ? null : script;
|
|
420
421
|
region = region === VOID ? null : region;
|
|
421
422
|
variants = variants === VOID ? emptyList() : variants;
|
|
422
423
|
extlangs = extlangs === VOID ? emptyList() : extlangs;
|
|
423
424
|
extensions = extensions === VOID ? emptyList() : extensions;
|
|
424
425
|
privateuse = privateuse === VOID ? null : privateuse;
|
|
425
|
-
return $super === VOID ? this.
|
|
426
|
+
return $super === VOID ? this.h35(language, script, region, variants, extlangs, extensions, privateuse) : $super.h35.call(this, language, script, region, variants, extlangs, extensions, privateuse);
|
|
426
427
|
};
|
|
427
|
-
protoOf(Companion).
|
|
428
|
+
protoOf(Companion).n35 = function (extension) {
|
|
428
429
|
var tokens = splitToSequence(extension, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
429
|
-
if (!this.
|
|
430
|
+
if (!this.q35(tokens.l()))
|
|
430
431
|
return false;
|
|
431
432
|
if (!tokens.k())
|
|
432
433
|
return false;
|
|
@@ -434,18 +435,18 @@
|
|
|
434
435
|
var tmp0_iterator = tokens;
|
|
435
436
|
while (tmp0_iterator.k()) {
|
|
436
437
|
var token = tmp0_iterator.l();
|
|
437
|
-
if (!this.
|
|
438
|
+
if (!this.r35(token))
|
|
438
439
|
return false;
|
|
439
440
|
}
|
|
440
441
|
return true;
|
|
441
442
|
};
|
|
442
|
-
protoOf(Companion).
|
|
443
|
-
return isAlphaNumeric(singleton) && !this.
|
|
443
|
+
protoOf(Companion).s35 = function (singleton) {
|
|
444
|
+
return isAlphaNumeric(singleton) && !this.t35(singleton);
|
|
444
445
|
};
|
|
445
|
-
protoOf(Companion).
|
|
446
|
-
return singleton.length === 1 && this.
|
|
446
|
+
protoOf(Companion).q35 = function (singleton) {
|
|
447
|
+
return singleton.length === 1 && this.s35(charCodeAt(singleton, 0));
|
|
447
448
|
};
|
|
448
|
-
protoOf(Companion).
|
|
449
|
+
protoOf(Companion).r35 = function (extension) {
|
|
449
450
|
var tmp;
|
|
450
451
|
var containsArg = extension.length;
|
|
451
452
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -455,10 +456,10 @@
|
|
|
455
456
|
}
|
|
456
457
|
return tmp;
|
|
457
458
|
};
|
|
458
|
-
protoOf(Companion).
|
|
459
|
+
protoOf(Companion).m35 = function (extlang) {
|
|
459
460
|
return extlang.length === 3 && isAlpha_0(extlang);
|
|
460
461
|
};
|
|
461
|
-
protoOf(Companion).
|
|
462
|
+
protoOf(Companion).i35 = function (language) {
|
|
462
463
|
var tmp;
|
|
463
464
|
var containsArg = language.length;
|
|
464
465
|
if (2 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -468,9 +469,9 @@
|
|
|
468
469
|
}
|
|
469
470
|
return tmp;
|
|
470
471
|
};
|
|
471
|
-
protoOf(Companion).
|
|
472
|
+
protoOf(Companion).o35 = function (privateuse) {
|
|
472
473
|
var tokens = splitToSequence(privateuse, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
473
|
-
if (!this.
|
|
474
|
+
if (!this.u35(tokens.l()))
|
|
474
475
|
return false;
|
|
475
476
|
if (!tokens.k())
|
|
476
477
|
return false;
|
|
@@ -478,18 +479,18 @@
|
|
|
478
479
|
var tmp0_iterator = tokens;
|
|
479
480
|
while (tmp0_iterator.k()) {
|
|
480
481
|
var token = tmp0_iterator.l();
|
|
481
|
-
if (!this.
|
|
482
|
+
if (!this.v35(token))
|
|
482
483
|
return false;
|
|
483
484
|
}
|
|
484
485
|
return true;
|
|
485
486
|
};
|
|
486
|
-
protoOf(Companion).
|
|
487
|
+
protoOf(Companion).t35 = function (prefix) {
|
|
487
488
|
return equals(prefix, _Char___init__impl__6a9atx(120), true);
|
|
488
489
|
};
|
|
489
|
-
protoOf(Companion).
|
|
490
|
-
return prefix.length === 1 && this.
|
|
490
|
+
protoOf(Companion).u35 = function (prefix) {
|
|
491
|
+
return prefix.length === 1 && this.t35(charCodeAt(prefix, 0));
|
|
491
492
|
};
|
|
492
|
-
protoOf(Companion).
|
|
493
|
+
protoOf(Companion).v35 = function (privateuse) {
|
|
493
494
|
var tmp;
|
|
494
495
|
var containsArg = privateuse.length;
|
|
495
496
|
if (1 <= containsArg ? containsArg <= 8 : false) {
|
|
@@ -499,7 +500,7 @@
|
|
|
499
500
|
}
|
|
500
501
|
return tmp;
|
|
501
502
|
};
|
|
502
|
-
protoOf(Companion).
|
|
503
|
+
protoOf(Companion).k35 = function (region) {
|
|
503
504
|
switch (region.length) {
|
|
504
505
|
case 2:
|
|
505
506
|
return isAlpha_0(region);
|
|
@@ -509,15 +510,15 @@
|
|
|
509
510
|
return false;
|
|
510
511
|
}
|
|
511
512
|
};
|
|
512
|
-
protoOf(Companion).
|
|
513
|
+
protoOf(Companion).j35 = function (script) {
|
|
513
514
|
return script.length === 4 && isAlpha_0(script);
|
|
514
515
|
};
|
|
515
|
-
protoOf(Companion).
|
|
516
|
+
protoOf(Companion).l35 = function (variant) {
|
|
516
517
|
var tmp0_subject = variant.length;
|
|
517
|
-
return tmp0_subject === 4 ? isNumeric(
|
|
518
|
+
return tmp0_subject === 4 ? isNumeric(charCodeAt(variant, 0)) && isAlphaNumeric(charCodeAt(variant, 1)) && isAlphaNumeric(charCodeAt(variant, 2)) && isAlphaNumeric(charCodeAt(variant, 3)) : (5 <= tmp0_subject ? tmp0_subject <= 8 : false) ? isAlphaNumeric_0(variant) : false;
|
|
518
519
|
};
|
|
519
|
-
protoOf(Companion).
|
|
520
|
-
var tmp0_elvis_lhs = this.
|
|
520
|
+
protoOf(Companion).w35 = function (string) {
|
|
521
|
+
var tmp0_elvis_lhs = this.s34_1.q1(toLowerCase_0(string));
|
|
521
522
|
var string_0 = tmp0_elvis_lhs == null ? string : tmp0_elvis_lhs;
|
|
522
523
|
var tokens = splitToSequence(string_0, charArrayOf([_Char___init__impl__6a9atx(45)])).j();
|
|
523
524
|
var extlangs = null;
|
|
@@ -529,65 +530,65 @@
|
|
|
529
530
|
var variants = null;
|
|
530
531
|
var token;
|
|
531
532
|
token = tokens.l();
|
|
532
|
-
if (this.
|
|
533
|
-
language = this.
|
|
533
|
+
if (this.i35(token)) {
|
|
534
|
+
language = this.z34(token);
|
|
534
535
|
token = nextOrNull(tokens);
|
|
535
|
-
if (!(token == null) && this.
|
|
536
|
+
if (!(token == null) && this.m35(token)) {
|
|
536
537
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
537
538
|
extlangs = ArrayList_init_$Create$();
|
|
538
539
|
do {
|
|
539
|
-
extlangs.e(ensureNotNull(this.
|
|
540
|
+
extlangs.e(ensureNotNull(this.x34(token)));
|
|
540
541
|
token = nextOrNull(tokens);
|
|
541
542
|
}
|
|
542
|
-
while (!(token == null) && extlangs.m() < 3 && this.
|
|
543
|
+
while (!(token == null) && extlangs.m() < 3 && this.m35(token));
|
|
543
544
|
}
|
|
544
|
-
if (!(token == null) && this.
|
|
545
|
-
script = this.
|
|
545
|
+
if (!(token == null) && this.j35(token)) {
|
|
546
|
+
script = this.e35(token);
|
|
546
547
|
token = nextOrNull(tokens);
|
|
547
548
|
}
|
|
548
|
-
if (!(token == null) && this.
|
|
549
|
-
region = this.
|
|
549
|
+
if (!(token == null) && this.k35(token)) {
|
|
550
|
+
region = this.d35(token);
|
|
550
551
|
token = nextOrNull(tokens);
|
|
551
552
|
}
|
|
552
|
-
if (!(token == null) && this.
|
|
553
|
+
if (!(token == null) && this.l35(token)) {
|
|
553
554
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
554
555
|
variants = ArrayList_init_$Create$();
|
|
555
556
|
do {
|
|
556
|
-
variants.e(ensureNotNull(this.
|
|
557
|
+
variants.e(ensureNotNull(this.f35(token)));
|
|
557
558
|
token = nextOrNull(tokens);
|
|
558
559
|
}
|
|
559
|
-
while (!(token == null) && this.
|
|
560
|
+
while (!(token == null) && this.l35(token));
|
|
560
561
|
}
|
|
561
|
-
if (!(token == null) && this.
|
|
562
|
+
if (!(token == null) && this.q35(token)) {
|
|
562
563
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
563
564
|
extensions = ArrayList_init_$Create$();
|
|
564
565
|
do {
|
|
565
|
-
var extensionBuilder = new StringBuilder(ensureNotNull(this.
|
|
566
|
+
var extensionBuilder = new StringBuilder(ensureNotNull(this.u34(token)));
|
|
566
567
|
token = nextOrNull(tokens);
|
|
567
|
-
if (!(token == null) && this.
|
|
568
|
+
if (!(token == null) && this.r35(token)) {
|
|
568
569
|
do {
|
|
569
|
-
extensionBuilder.
|
|
570
|
-
extensionBuilder.
|
|
570
|
+
extensionBuilder.b8(_Char___init__impl__6a9atx(45));
|
|
571
|
+
extensionBuilder.a8(this.v34(token));
|
|
571
572
|
token = nextOrNull(tokens);
|
|
572
573
|
}
|
|
573
|
-
while (!(token == null) && this.
|
|
574
|
+
while (!(token == null) && this.r35(token));
|
|
574
575
|
} else
|
|
575
576
|
return null;
|
|
576
577
|
extensions.e(extensionBuilder.toString());
|
|
577
578
|
}
|
|
578
|
-
while (!(token == null) && this.
|
|
579
|
+
while (!(token == null) && this.q35(token));
|
|
579
580
|
}
|
|
580
581
|
}
|
|
581
|
-
if (!(token == null) && this.
|
|
582
|
-
var privateuseBuilder = new StringBuilder(ensureNotNull(this.
|
|
582
|
+
if (!(token == null) && this.u35(token)) {
|
|
583
|
+
var privateuseBuilder = new StringBuilder(ensureNotNull(this.b35(token)));
|
|
583
584
|
token = nextOrNull(tokens);
|
|
584
|
-
if (!(token == null) && this.
|
|
585
|
+
if (!(token == null) && this.v35(token)) {
|
|
585
586
|
do {
|
|
586
|
-
privateuseBuilder.
|
|
587
|
-
privateuseBuilder.
|
|
587
|
+
privateuseBuilder.b8(_Char___init__impl__6a9atx(45));
|
|
588
|
+
privateuseBuilder.a8(this.c35(token));
|
|
588
589
|
token = nextOrNull(tokens);
|
|
589
590
|
}
|
|
590
|
-
while (!(token == null) && this.
|
|
591
|
+
while (!(token == null) && this.v35(token));
|
|
591
592
|
} else
|
|
592
593
|
return null;
|
|
593
594
|
privateuse = privateuseBuilder.toString();
|
|
@@ -617,13 +618,13 @@
|
|
|
617
618
|
}
|
|
618
619
|
function LanguageTag(extensions, extlangs, language, privateuse, region, script, variants) {
|
|
619
620
|
Companion_getInstance();
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
622
|
-
this.
|
|
623
|
-
this.
|
|
624
|
-
this.
|
|
625
|
-
this.
|
|
626
|
-
this.
|
|
621
|
+
this.x35_1 = extensions;
|
|
622
|
+
this.y35_1 = extlangs;
|
|
623
|
+
this.z35_1 = language;
|
|
624
|
+
this.a36_1 = privateuse;
|
|
625
|
+
this.b36_1 = region;
|
|
626
|
+
this.c36_1 = script;
|
|
627
|
+
this.d36_1 = variants;
|
|
627
628
|
}
|
|
628
629
|
protoOf(LanguageTag).equals = function (other) {
|
|
629
630
|
var tmp;
|
|
@@ -638,37 +639,37 @@
|
|
|
638
639
|
var tmp_5;
|
|
639
640
|
var tmp_6;
|
|
640
641
|
if (other instanceof LanguageTag) {
|
|
641
|
-
tmp_6 = equals_0(this.
|
|
642
|
+
tmp_6 = equals_0(this.x35_1, other.x35_1);
|
|
642
643
|
} else {
|
|
643
644
|
tmp_6 = false;
|
|
644
645
|
}
|
|
645
646
|
if (tmp_6) {
|
|
646
|
-
tmp_5 = equals_0(this.
|
|
647
|
+
tmp_5 = equals_0(this.y35_1, other.y35_1);
|
|
647
648
|
} else {
|
|
648
649
|
tmp_5 = false;
|
|
649
650
|
}
|
|
650
651
|
if (tmp_5) {
|
|
651
|
-
tmp_4 = this.
|
|
652
|
+
tmp_4 = this.z35_1 == other.z35_1;
|
|
652
653
|
} else {
|
|
653
654
|
tmp_4 = false;
|
|
654
655
|
}
|
|
655
656
|
if (tmp_4) {
|
|
656
|
-
tmp_3 = this.
|
|
657
|
+
tmp_3 = this.a36_1 == other.a36_1;
|
|
657
658
|
} else {
|
|
658
659
|
tmp_3 = false;
|
|
659
660
|
}
|
|
660
661
|
if (tmp_3) {
|
|
661
|
-
tmp_2 = this.
|
|
662
|
+
tmp_2 = this.b36_1 == other.b36_1;
|
|
662
663
|
} else {
|
|
663
664
|
tmp_2 = false;
|
|
664
665
|
}
|
|
665
666
|
if (tmp_2) {
|
|
666
|
-
tmp_1 = this.
|
|
667
|
+
tmp_1 = this.c36_1 == other.c36_1;
|
|
667
668
|
} else {
|
|
668
669
|
tmp_1 = false;
|
|
669
670
|
}
|
|
670
671
|
if (tmp_1) {
|
|
671
|
-
tmp_0 = equals_2(this.
|
|
672
|
+
tmp_0 = equals_2(this.d36_1, other.d36_1, true);
|
|
672
673
|
} else {
|
|
673
674
|
tmp_0 = false;
|
|
674
675
|
}
|
|
@@ -677,31 +678,31 @@
|
|
|
677
678
|
return tmp;
|
|
678
679
|
};
|
|
679
680
|
protoOf(LanguageTag).hashCode = function () {
|
|
680
|
-
var result = hashCode(this.
|
|
681
|
-
result = imul(31, result) + hashCode(this.
|
|
681
|
+
var result = hashCode(this.x35_1);
|
|
682
|
+
result = imul(31, result) + hashCode(this.y35_1) | 0;
|
|
682
683
|
var tmp = imul(31, result);
|
|
683
684
|
// Inline function 'kotlin.hashCode' call
|
|
684
|
-
var tmp0_safe_receiver = this.
|
|
685
|
+
var tmp0_safe_receiver = this.z35_1;
|
|
685
686
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
686
687
|
result = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
687
688
|
var tmp_0 = imul(31, result);
|
|
688
689
|
// Inline function 'kotlin.hashCode' call
|
|
689
|
-
var tmp0_safe_receiver_0 = this.
|
|
690
|
+
var tmp0_safe_receiver_0 = this.a36_1;
|
|
690
691
|
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
|
|
691
692
|
result = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0;
|
|
692
693
|
var tmp_1 = imul(31, result);
|
|
693
694
|
// Inline function 'kotlin.hashCode' call
|
|
694
|
-
var tmp0_safe_receiver_1 = this.
|
|
695
|
+
var tmp0_safe_receiver_1 = this.b36_1;
|
|
695
696
|
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : hashCode(tmp0_safe_receiver_1);
|
|
696
697
|
result = tmp_1 + (tmp1_elvis_lhs_1 == null ? 0 : tmp1_elvis_lhs_1) | 0;
|
|
697
698
|
var tmp_2 = imul(31, result);
|
|
698
699
|
// Inline function 'kotlin.hashCode' call
|
|
699
|
-
var tmp0_safe_receiver_2 = this.
|
|
700
|
+
var tmp0_safe_receiver_2 = this.c36_1;
|
|
700
701
|
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_2 == null ? null : hashCode(tmp0_safe_receiver_2);
|
|
701
702
|
result = tmp_2 + (tmp1_elvis_lhs_2 == null ? 0 : tmp1_elvis_lhs_2) | 0;
|
|
702
703
|
var tmp_3 = imul(31, result);
|
|
703
704
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
704
|
-
var this_0 = this.
|
|
705
|
+
var this_0 = this.d36_1;
|
|
705
706
|
var tmp_4;
|
|
706
707
|
if (this_0.p()) {
|
|
707
708
|
tmp_4 = null;
|
|
@@ -734,59 +735,59 @@
|
|
|
734
735
|
// Inline function 'kotlin.text.buildString' call
|
|
735
736
|
// Inline function 'kotlin.apply' call
|
|
736
737
|
var this_0 = StringBuilder_init_$Create$();
|
|
737
|
-
if (!(this.
|
|
738
|
-
this_0.
|
|
739
|
-
var tmp0_iterator = this.
|
|
738
|
+
if (!(this.z35_1 == null)) {
|
|
739
|
+
this_0.a8(this.z35_1);
|
|
740
|
+
var tmp0_iterator = this.y35_1.j();
|
|
740
741
|
while (tmp0_iterator.k()) {
|
|
741
742
|
var extlang = tmp0_iterator.l();
|
|
742
|
-
this_0.
|
|
743
|
-
this_0.
|
|
743
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
744
|
+
this_0.a8(extlang);
|
|
744
745
|
}
|
|
745
|
-
if (!(this.
|
|
746
|
-
this_0.
|
|
747
|
-
this_0.
|
|
746
|
+
if (!(this.c36_1 == null)) {
|
|
747
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
748
|
+
this_0.a8(this.c36_1);
|
|
748
749
|
}
|
|
749
|
-
if (!(this.
|
|
750
|
-
this_0.
|
|
751
|
-
this_0.
|
|
750
|
+
if (!(this.b36_1 == null)) {
|
|
751
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
752
|
+
this_0.a8(this.b36_1);
|
|
752
753
|
}
|
|
753
|
-
var tmp1_iterator = this.
|
|
754
|
+
var tmp1_iterator = this.d36_1.j();
|
|
754
755
|
while (tmp1_iterator.k()) {
|
|
755
756
|
var variant = tmp1_iterator.l();
|
|
756
|
-
this_0.
|
|
757
|
-
this_0.
|
|
757
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
758
|
+
this_0.a8(variant);
|
|
758
759
|
}
|
|
759
|
-
var tmp2_iterator = this.
|
|
760
|
+
var tmp2_iterator = this.x35_1.j();
|
|
760
761
|
while (tmp2_iterator.k()) {
|
|
761
762
|
var extension = tmp2_iterator.l();
|
|
762
|
-
this_0.
|
|
763
|
-
this_0.
|
|
763
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
764
|
+
this_0.a8(extension);
|
|
764
765
|
}
|
|
765
766
|
}
|
|
766
|
-
if (!(this.
|
|
767
|
+
if (!(this.a36_1 == null)) {
|
|
767
768
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
768
769
|
if (charSequenceLength(this_0) > 0) {
|
|
769
|
-
this_0.
|
|
770
|
+
this_0.b8(_Char___init__impl__6a9atx(45));
|
|
770
771
|
}
|
|
771
|
-
this_0.
|
|
772
|
+
this_0.a8(this.a36_1);
|
|
772
773
|
}
|
|
773
774
|
return this_0.toString();
|
|
774
775
|
};
|
|
775
776
|
function Companion_0() {
|
|
776
777
|
Companion_instance_0 = this;
|
|
777
|
-
this.
|
|
778
|
+
this.e36_1 = new Locale(Companion_getInstance().p35('und'));
|
|
778
779
|
}
|
|
779
|
-
protoOf(Companion_0).
|
|
780
|
-
return tag.equals(this.
|
|
780
|
+
protoOf(Companion_0).f36 = function (tag) {
|
|
781
|
+
return tag.equals(this.e36_1.g36_1) ? this.e36_1 : new Locale(tag);
|
|
781
782
|
};
|
|
782
|
-
protoOf(Companion_0).
|
|
783
|
-
var tmp0_safe_receiver = Companion_getInstance().
|
|
783
|
+
protoOf(Companion_0).h36 = function (tag) {
|
|
784
|
+
var tmp0_safe_receiver = Companion_getInstance().w35(tag);
|
|
784
785
|
var tmp;
|
|
785
786
|
if (tmp0_safe_receiver == null) {
|
|
786
787
|
tmp = null;
|
|
787
788
|
} else {
|
|
788
789
|
// Inline function 'kotlin.let' call
|
|
789
|
-
tmp = this.
|
|
790
|
+
tmp = this.f36(tmp0_safe_receiver);
|
|
790
791
|
}
|
|
791
792
|
return tmp;
|
|
792
793
|
};
|
|
@@ -798,7 +799,7 @@
|
|
|
798
799
|
}
|
|
799
800
|
function Locale(languageTag) {
|
|
800
801
|
Companion_getInstance_0();
|
|
801
|
-
this.
|
|
802
|
+
this.g36_1 = languageTag;
|
|
802
803
|
}
|
|
803
804
|
protoOf(Locale).equals = function (other) {
|
|
804
805
|
var tmp;
|
|
@@ -807,7 +808,7 @@
|
|
|
807
808
|
} else {
|
|
808
809
|
var tmp_0;
|
|
809
810
|
if (other instanceof Locale) {
|
|
810
|
-
tmp_0 = this.
|
|
811
|
+
tmp_0 = this.g36_1.equals(other.g36_1);
|
|
811
812
|
} else {
|
|
812
813
|
tmp_0 = false;
|
|
813
814
|
}
|
|
@@ -816,10 +817,10 @@
|
|
|
816
817
|
return tmp;
|
|
817
818
|
};
|
|
818
819
|
protoOf(Locale).hashCode = function () {
|
|
819
|
-
return this.
|
|
820
|
+
return this.g36_1.hashCode();
|
|
820
821
|
};
|
|
821
822
|
protoOf(Locale).toString = function () {
|
|
822
|
-
return this.
|
|
823
|
+
return this.g36_1.toString();
|
|
823
824
|
};
|
|
824
825
|
function isAlphaNumeric(_this__u8e3s4) {
|
|
825
826
|
return isAlpha(_this__u8e3s4) || isNumeric(_this__u8e3s4);
|