@solibo/home-api 1.5.18 → 1.6.1
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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs +1 -1
- package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
- package/kotlin-kotlin-stdlib.mjs +124 -124
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +1 -1
- package/kotlinx-atomicfu.mjs +1 -1
- package/kotlinx-browser.mjs +1 -1
- package/kotlinx-coroutines-core.mjs +9 -9
- package/kotlinx-io-kotlinx-io-bytestring.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1 -1
- package/ktor-ktor-client-auth.mjs +1 -1
- package/ktor-ktor-client-content-negotiation.mjs +1 -1
- package/ktor-ktor-client-core.mjs +53 -53
- package/ktor-ktor-client-encoding.mjs +4 -0
- package/ktor-ktor-client-logging.mjs +1 -1
- package/ktor-ktor-client-websockets.mjs +1 -1
- package/ktor-ktor-events.mjs +1 -1
- package/ktor-ktor-http-cio.mjs +1 -1
- package/ktor-ktor-http.mjs +5 -5
- package/ktor-ktor-io.mjs +6 -6
- package/ktor-ktor-serialization-kotlinx-json.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx.mjs +1 -1
- package/ktor-ktor-serialization.mjs +1 -1
- package/ktor-ktor-sse.mjs +1 -1
- package/ktor-ktor-utils.mjs +1 -1
- package/ktor-ktor-websocket-serialization.mjs +1 -1
- package/ktor-ktor-websockets.mjs +3 -3
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +284 -6
- package/solibo-sdk-sdk-home-api.mjs +39166 -36042
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
- package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +0 -1
- package/MultiplatformSettings-multiplatform-settings.mjs.map +0 -1
- package/kotlin-kotlin-stdlib.mjs.map +0 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +0 -1
- package/kotlinx-atomicfu.mjs.map +0 -1
- package/kotlinx-browser.mjs.map +0 -1
- package/kotlinx-coroutines-core.mjs.map +0 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +0 -1
- package/kotlinx-io-kotlinx-io-core.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +0 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +0 -1
- package/ktor-ktor-client-auth.mjs.map +0 -1
- package/ktor-ktor-client-content-negotiation.mjs.map +0 -1
- package/ktor-ktor-client-core.mjs.map +0 -1
- package/ktor-ktor-client-logging.mjs.map +0 -1
- package/ktor-ktor-client-websockets.mjs.map +0 -1
- package/ktor-ktor-events.mjs.map +0 -1
- package/ktor-ktor-http-cio.mjs.map +0 -1
- package/ktor-ktor-http.mjs.map +0 -1
- package/ktor-ktor-io.mjs.map +0 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs.map +0 -1
- package/ktor-ktor-serialization-kotlinx.mjs.map +0 -1
- package/ktor-ktor-serialization.mjs.map +0 -1
- package/ktor-ktor-sse.mjs.map +0 -1
- package/ktor-ktor-utils.mjs.map +0 -1
- package/ktor-ktor-websocket-serialization.mjs.map +0 -1
- package/ktor-ktor-websockets.mjs.map +0 -1
- package/solibo-sdk-sdk-home-api.mjs.map +0 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -59,12 +59,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
59
59
|
};
|
|
60
60
|
}(Math.log, Math.LN2);
|
|
61
61
|
}
|
|
62
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
63
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
64
|
-
position = position || 0;
|
|
65
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
66
|
-
}});
|
|
67
|
-
}
|
|
68
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
69
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
70
64
|
var subjectString = this.toString();
|
|
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
76
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
77
71
|
}});
|
|
78
72
|
}
|
|
73
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
74
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
75
|
+
position = position || 0;
|
|
76
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
77
|
+
}});
|
|
78
|
+
}
|
|
79
79
|
//endregion
|
|
80
80
|
//region block: imports
|
|
81
81
|
var imul_0 = Math.imul;
|
|
@@ -115,8 +115,8 @@ function asJsMapView() {
|
|
|
115
115
|
}
|
|
116
116
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
117
117
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
118
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection]);
|
|
119
118
|
initMetadataForCompanion(Companion_2);
|
|
119
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection]);
|
|
120
120
|
initMetadataForCompanion(Companion_3);
|
|
121
121
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
122
122
|
initMetadataForCompanion(Companion_4);
|
|
@@ -577,6 +577,9 @@ protoOf(KTypeParameterBase).equals = function (other) {
|
|
|
577
577
|
protoOf(KTypeParameterBase).hashCode = function () {
|
|
578
578
|
return imul_0(getStringHashCode(this.x()), 31) + getStringHashCode(this.m()) | 0;
|
|
579
579
|
};
|
|
580
|
+
function get_indices(_this__u8e3s4) {
|
|
581
|
+
return new IntRange(0, get_lastIndex_0(_this__u8e3s4));
|
|
582
|
+
}
|
|
580
583
|
function toList(_this__u8e3s4) {
|
|
581
584
|
var tmp;
|
|
582
585
|
switch (_this__u8e3s4.length) {
|
|
@@ -599,9 +602,6 @@ function toList(_this__u8e3s4) {
|
|
|
599
602
|
}
|
|
600
603
|
return tmp;
|
|
601
604
|
}
|
|
602
|
-
function get_indices(_this__u8e3s4) {
|
|
603
|
-
return new IntRange(0, get_lastIndex_0(_this__u8e3s4));
|
|
604
|
-
}
|
|
605
605
|
function zip(_this__u8e3s4, other) {
|
|
606
606
|
// Inline function 'kotlin.collections.zip' call
|
|
607
607
|
var tmp0 = _this__u8e3s4.length;
|
|
@@ -659,16 +659,6 @@ function indexOf(_this__u8e3s4, element) {
|
|
|
659
659
|
function get_indices_0(_this__u8e3s4) {
|
|
660
660
|
return new IntRange(0, get_lastIndex_1(_this__u8e3s4));
|
|
661
661
|
}
|
|
662
|
-
function toSet(_this__u8e3s4) {
|
|
663
|
-
switch (_this__u8e3s4.length) {
|
|
664
|
-
case 0:
|
|
665
|
-
return emptySet();
|
|
666
|
-
case 1:
|
|
667
|
-
return setOf(_this__u8e3s4[0]);
|
|
668
|
-
default:
|
|
669
|
-
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
662
|
function single(_this__u8e3s4) {
|
|
673
663
|
var tmp;
|
|
674
664
|
switch (_this__u8e3s4.length) {
|
|
@@ -685,6 +675,16 @@ function single(_this__u8e3s4) {
|
|
|
685
675
|
function contains_0(_this__u8e3s4, element) {
|
|
686
676
|
return indexOf_0(_this__u8e3s4, element) >= 0;
|
|
687
677
|
}
|
|
678
|
+
function toSet(_this__u8e3s4) {
|
|
679
|
+
switch (_this__u8e3s4.length) {
|
|
680
|
+
case 0:
|
|
681
|
+
return emptySet();
|
|
682
|
+
case 1:
|
|
683
|
+
return setOf(_this__u8e3s4[0]);
|
|
684
|
+
default:
|
|
685
|
+
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
688
|
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
689
689
|
separator = separator === VOID ? ', ' : separator;
|
|
690
690
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -726,16 +726,6 @@ function lastIndexOf(_this__u8e3s4, element) {
|
|
|
726
726
|
function get_lastIndex_1(_this__u8e3s4) {
|
|
727
727
|
return _this__u8e3s4.length - 1 | 0;
|
|
728
728
|
}
|
|
729
|
-
function toCollection(_this__u8e3s4, destination) {
|
|
730
|
-
var inductionVariable = 0;
|
|
731
|
-
var last = _this__u8e3s4.length;
|
|
732
|
-
while (inductionVariable < last) {
|
|
733
|
-
var item = _this__u8e3s4[inductionVariable];
|
|
734
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
735
|
-
destination.e1(item);
|
|
736
|
-
}
|
|
737
|
-
return destination;
|
|
738
|
-
}
|
|
739
729
|
function indexOf_0(_this__u8e3s4, element) {
|
|
740
730
|
var inductionVariable = 0;
|
|
741
731
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
@@ -750,6 +740,16 @@ function indexOf_0(_this__u8e3s4, element) {
|
|
|
750
740
|
while (inductionVariable <= last);
|
|
751
741
|
return -1;
|
|
752
742
|
}
|
|
743
|
+
function toCollection(_this__u8e3s4, destination) {
|
|
744
|
+
var inductionVariable = 0;
|
|
745
|
+
var last = _this__u8e3s4.length;
|
|
746
|
+
while (inductionVariable < last) {
|
|
747
|
+
var item = _this__u8e3s4[inductionVariable];
|
|
748
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
749
|
+
destination.e1(item);
|
|
750
|
+
}
|
|
751
|
+
return destination;
|
|
752
|
+
}
|
|
753
753
|
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
754
754
|
separator = separator === VOID ? ', ' : separator;
|
|
755
755
|
prefix = prefix === VOID ? '' : prefix;
|
|
@@ -1462,8 +1462,6 @@ function KtMutableMap() {
|
|
|
1462
1462
|
}
|
|
1463
1463
|
function KtSet() {
|
|
1464
1464
|
}
|
|
1465
|
-
function KtMutableSet() {
|
|
1466
|
-
}
|
|
1467
1465
|
function Entry() {
|
|
1468
1466
|
}
|
|
1469
1467
|
protoOf(Companion_2).r2 = function (map) {
|
|
@@ -1480,6 +1478,8 @@ function fromJsMap_0(map) {
|
|
|
1480
1478
|
}
|
|
1481
1479
|
function KtMap() {
|
|
1482
1480
|
}
|
|
1481
|
+
function KtMutableSet() {
|
|
1482
|
+
}
|
|
1483
1483
|
function Companion_3() {
|
|
1484
1484
|
}
|
|
1485
1485
|
var Companion_instance_3;
|
|
@@ -7309,15 +7309,6 @@ function _init_properties_stringJs_kt__bg7zye() {
|
|
|
7309
7309
|
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
|
|
7310
7310
|
}
|
|
7311
7311
|
}
|
|
7312
|
-
function endsWith(_this__u8e3s4, suffix, ignoreCase) {
|
|
7313
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7314
|
-
if (!ignoreCase) {
|
|
7315
|
-
// Inline function 'kotlin.text.nativeEndsWith' call
|
|
7316
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
7317
|
-
return _this__u8e3s4.endsWith(suffix);
|
|
7318
|
-
} else
|
|
7319
|
-
return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
|
|
7320
|
-
}
|
|
7321
7312
|
function equals_0(_this__u8e3s4, other, ignoreCase) {
|
|
7322
7313
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7323
7314
|
if (_this__u8e3s4 == null)
|
|
@@ -7343,6 +7334,15 @@ function equals_0(_this__u8e3s4, other, ignoreCase) {
|
|
|
7343
7334
|
while (inductionVariable < last);
|
|
7344
7335
|
return true;
|
|
7345
7336
|
}
|
|
7337
|
+
function endsWith(_this__u8e3s4, suffix, ignoreCase) {
|
|
7338
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7339
|
+
if (!ignoreCase) {
|
|
7340
|
+
// Inline function 'kotlin.text.nativeEndsWith' call
|
|
7341
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
7342
|
+
return _this__u8e3s4.endsWith(suffix);
|
|
7343
|
+
} else
|
|
7344
|
+
return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
|
|
7345
|
+
}
|
|
7346
7346
|
function startsWith(_this__u8e3s4, prefix, ignoreCase) {
|
|
7347
7347
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7348
7348
|
if (!ignoreCase) {
|
|
@@ -7405,10 +7405,6 @@ function repeat(_this__u8e3s4, n) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
return tmp;
|
|
7407
7407
|
}
|
|
7408
|
-
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
7409
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7410
|
-
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
7411
|
-
}
|
|
7412
7408
|
function startsWith_0(_this__u8e3s4, prefix, startIndex, ignoreCase) {
|
|
7413
7409
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7414
7410
|
if (!ignoreCase) {
|
|
@@ -7418,6 +7414,10 @@ function startsWith_0(_this__u8e3s4, prefix, startIndex, ignoreCase) {
|
|
|
7418
7414
|
} else
|
|
7419
7415
|
return regionMatches(_this__u8e3s4, startIndex, prefix, 0, prefix.length, ignoreCase);
|
|
7420
7416
|
}
|
|
7417
|
+
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
7418
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
7419
|
+
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
|
|
7420
|
+
}
|
|
7421
7421
|
function get_REPLACEMENT_BYTE_SEQUENCE() {
|
|
7422
7422
|
_init_properties_utf8Encoding_kt__9thjs4();
|
|
7423
7423
|
return REPLACEMENT_BYTE_SEQUENCE;
|
|
@@ -9436,6 +9436,12 @@ function collectionSizeOrDefault(_this__u8e3s4, default_0) {
|
|
|
9436
9436
|
}
|
|
9437
9437
|
return tmp;
|
|
9438
9438
|
}
|
|
9439
|
+
function IndexingIterable(iteratorFactory) {
|
|
9440
|
+
this.ee_1 = iteratorFactory;
|
|
9441
|
+
}
|
|
9442
|
+
protoOf(IndexingIterable).t = function () {
|
|
9443
|
+
return new IndexingIterator(this.ee_1());
|
|
9444
|
+
};
|
|
9439
9445
|
function collectionSizeOrNull(_this__u8e3s4) {
|
|
9440
9446
|
var tmp;
|
|
9441
9447
|
if (isInterface(_this__u8e3s4, Collection)) {
|
|
@@ -9445,12 +9451,6 @@ function collectionSizeOrNull(_this__u8e3s4) {
|
|
|
9445
9451
|
}
|
|
9446
9452
|
return tmp;
|
|
9447
9453
|
}
|
|
9448
|
-
function IndexingIterable(iteratorFactory) {
|
|
9449
|
-
this.ee_1 = iteratorFactory;
|
|
9450
|
-
}
|
|
9451
|
-
protoOf(IndexingIterable).t = function () {
|
|
9452
|
-
return new IndexingIterator(this.ee_1());
|
|
9453
|
-
};
|
|
9454
9454
|
function IndexingIterator(iterator) {
|
|
9455
9455
|
this.fe_1 = iterator;
|
|
9456
9456
|
this.ge_1 = 0;
|
|
@@ -12601,6 +12601,28 @@ function toIntOrNull_0(_this__u8e3s4, radix) {
|
|
|
12601
12601
|
function numberFormatError(input) {
|
|
12602
12602
|
throw NumberFormatException_init_$Create$_0("Invalid number format: '" + input + "'");
|
|
12603
12603
|
}
|
|
12604
|
+
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
12605
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
12606
|
+
limit = limit === VOID ? 0 : limit;
|
|
12607
|
+
if (delimiters.length === 1) {
|
|
12608
|
+
var delimiter = delimiters[0];
|
|
12609
|
+
// Inline function 'kotlin.text.isEmpty' call
|
|
12610
|
+
if (!(charSequenceLength(delimiter) === 0)) {
|
|
12611
|
+
return split_1(_this__u8e3s4, delimiter, ignoreCase, limit);
|
|
12612
|
+
}
|
|
12613
|
+
}
|
|
12614
|
+
// Inline function 'kotlin.collections.map' call
|
|
12615
|
+
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
12616
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
12617
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
12618
|
+
var _iterator__ex2g4s = this_0.t();
|
|
12619
|
+
while (_iterator__ex2g4s.u()) {
|
|
12620
|
+
var item = _iterator__ex2g4s.v();
|
|
12621
|
+
var tmp$ret$3 = substring_1(_this__u8e3s4, item);
|
|
12622
|
+
destination.e1(tmp$ret$3);
|
|
12623
|
+
}
|
|
12624
|
+
return destination;
|
|
12625
|
+
}
|
|
12604
12626
|
function trim(_this__u8e3s4) {
|
|
12605
12627
|
// Inline function 'kotlin.text.trim' call
|
|
12606
12628
|
var startIndex = 0;
|
|
@@ -12724,28 +12746,6 @@ function indexOf_1(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
|
12724
12746
|
}
|
|
12725
12747
|
return tmp;
|
|
12726
12748
|
}
|
|
12727
|
-
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
|
|
12728
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
12729
|
-
limit = limit === VOID ? 0 : limit;
|
|
12730
|
-
if (delimiters.length === 1) {
|
|
12731
|
-
var delimiter = delimiters[0];
|
|
12732
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
12733
|
-
if (!(charSequenceLength(delimiter) === 0)) {
|
|
12734
|
-
return split_1(_this__u8e3s4, delimiter, ignoreCase, limit);
|
|
12735
|
-
}
|
|
12736
|
-
}
|
|
12737
|
-
// Inline function 'kotlin.collections.map' call
|
|
12738
|
-
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
|
|
12739
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
12740
|
-
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
12741
|
-
var _iterator__ex2g4s = this_0.t();
|
|
12742
|
-
while (_iterator__ex2g4s.u()) {
|
|
12743
|
-
var item = _iterator__ex2g4s.v();
|
|
12744
|
-
var tmp$ret$3 = substring_1(_this__u8e3s4, item);
|
|
12745
|
-
destination.e1(tmp$ret$3);
|
|
12746
|
-
}
|
|
12747
|
-
return destination;
|
|
12748
|
-
}
|
|
12749
12749
|
function startsWith_2(_this__u8e3s4, prefix, ignoreCase) {
|
|
12750
12750
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
12751
12751
|
var tmp;
|
|
@@ -12947,20 +12947,44 @@ function trimEnd(_this__u8e3s4, chars) {
|
|
|
12947
12947
|
}
|
|
12948
12948
|
return toString_1(tmp$ret$1);
|
|
12949
12949
|
}
|
|
12950
|
-
function
|
|
12951
|
-
|
|
12952
|
-
|
|
12950
|
+
function split_1(_this__u8e3s4, delimiter, ignoreCase, limit) {
|
|
12951
|
+
requireNonNegativeLimit(limit);
|
|
12952
|
+
var currentOffset = 0;
|
|
12953
|
+
var nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
12954
|
+
if (nextIndex === -1 || limit === 1) {
|
|
12955
|
+
return listOf(toString_1(_this__u8e3s4));
|
|
12953
12956
|
}
|
|
12954
|
-
var
|
|
12955
|
-
|
|
12956
|
-
|
|
12957
|
-
|
|
12958
|
-
|
|
12959
|
-
|
|
12960
|
-
|
|
12961
|
-
|
|
12962
|
-
|
|
12963
|
-
|
|
12957
|
+
var isLimited = limit > 0;
|
|
12958
|
+
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
12959
|
+
$l$loop: do {
|
|
12960
|
+
var tmp2 = currentOffset;
|
|
12961
|
+
// Inline function 'kotlin.text.substring' call
|
|
12962
|
+
var endIndex = nextIndex;
|
|
12963
|
+
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
|
|
12964
|
+
result.e1(tmp$ret$0);
|
|
12965
|
+
currentOffset = nextIndex + delimiter.length | 0;
|
|
12966
|
+
if (isLimited && result.g1() === (limit - 1 | 0))
|
|
12967
|
+
break $l$loop;
|
|
12968
|
+
nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
12969
|
+
}
|
|
12970
|
+
while (!(nextIndex === -1));
|
|
12971
|
+
var tmp2_0 = currentOffset;
|
|
12972
|
+
// Inline function 'kotlin.text.substring' call
|
|
12973
|
+
var endIndex_0 = charSequenceLength(_this__u8e3s4);
|
|
12974
|
+
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2_0, endIndex_0));
|
|
12975
|
+
result.e1(tmp$ret$1);
|
|
12976
|
+
return result;
|
|
12977
|
+
}
|
|
12978
|
+
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
|
|
12979
|
+
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
12980
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
12981
|
+
limit = limit === VOID ? 0 : limit;
|
|
12982
|
+
requireNonNegativeLimit(limit);
|
|
12983
|
+
var delimitersList = asList(delimiters);
|
|
12984
|
+
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
12985
|
+
}
|
|
12986
|
+
function substring_1(_this__u8e3s4, range) {
|
|
12987
|
+
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.ph(), range.qh() + 1 | 0));
|
|
12964
12988
|
}
|
|
12965
12989
|
function indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
|
|
12966
12990
|
last = last === VOID ? false : last;
|
|
@@ -12998,44 +13022,20 @@ function indexOf_3(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last)
|
|
|
12998
13022
|
}
|
|
12999
13023
|
return -1;
|
|
13000
13024
|
}
|
|
13001
|
-
function
|
|
13002
|
-
|
|
13003
|
-
|
|
13004
|
-
var nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
13005
|
-
if (nextIndex === -1 || limit === 1) {
|
|
13006
|
-
return listOf(toString_1(_this__u8e3s4));
|
|
13007
|
-
}
|
|
13008
|
-
var isLimited = limit > 0;
|
|
13009
|
-
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
|
|
13010
|
-
$l$loop: do {
|
|
13011
|
-
var tmp2 = currentOffset;
|
|
13012
|
-
// Inline function 'kotlin.text.substring' call
|
|
13013
|
-
var endIndex = nextIndex;
|
|
13014
|
-
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
|
|
13015
|
-
result.e1(tmp$ret$0);
|
|
13016
|
-
currentOffset = nextIndex + delimiter.length | 0;
|
|
13017
|
-
if (isLimited && result.g1() === (limit - 1 | 0))
|
|
13018
|
-
break $l$loop;
|
|
13019
|
-
nextIndex = indexOf_2(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
|
|
13025
|
+
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
|
|
13026
|
+
if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
|
|
13027
|
+
return false;
|
|
13020
13028
|
}
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
}
|
|
13029
|
-
|
|
13030
|
-
|
|
13031
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
13032
|
-
limit = limit === VOID ? 0 : limit;
|
|
13033
|
-
requireNonNegativeLimit(limit);
|
|
13034
|
-
var delimitersList = asList(delimiters);
|
|
13035
|
-
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
|
|
13036
|
-
}
|
|
13037
|
-
function substring_1(_this__u8e3s4, range) {
|
|
13038
|
-
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.ph(), range.qh() + 1 | 0));
|
|
13029
|
+
var inductionVariable = 0;
|
|
13030
|
+
if (inductionVariable < length)
|
|
13031
|
+
do {
|
|
13032
|
+
var index = inductionVariable;
|
|
13033
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
13034
|
+
if (!equals_1(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
|
|
13035
|
+
return false;
|
|
13036
|
+
}
|
|
13037
|
+
while (inductionVariable < length);
|
|
13038
|
+
return true;
|
|
13039
13039
|
}
|
|
13040
13040
|
function State() {
|
|
13041
13041
|
this.kj_1 = 0;
|
|
@@ -16970,4 +16970,4 @@ export {
|
|
|
16970
16970
|
};
|
|
16971
16971
|
//endregion
|
|
16972
16972
|
|
|
16973
|
-
|
|
16973
|
+
|
package/kotlinx-atomicfu.mjs
CHANGED
package/kotlinx-browser.mjs
CHANGED
|
@@ -217,11 +217,6 @@ initMetadataForClass(SendBroadcast, 'SendBroadcast', VOID, VOID, [Waiter]);
|
|
|
217
217
|
initMetadataForClass(BufferedChannelIterator, 'BufferedChannelIterator', VOID, VOID, [Waiter], [0, 3]);
|
|
218
218
|
initMetadataForCoroutine($sendCOROUTINE$, CoroutineImpl);
|
|
219
219
|
initMetadataForCoroutine($receiveCOROUTINE$, CoroutineImpl);
|
|
220
|
-
function close$default(cause, $super) {
|
|
221
|
-
cause = cause === VOID ? null : cause;
|
|
222
|
-
return $super === VOID ? this.y18(cause) : $super.y18.call(this, cause);
|
|
223
|
-
}
|
|
224
|
-
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
225
220
|
function cancel$default_0(cause, $super) {
|
|
226
221
|
cause = cause === VOID ? null : cause;
|
|
227
222
|
var tmp;
|
|
@@ -234,7 +229,12 @@ function cancel$default_0(cause, $super) {
|
|
|
234
229
|
return tmp;
|
|
235
230
|
}
|
|
236
231
|
initMetadataForInterface(ReceiveChannel, 'ReceiveChannel', VOID, VOID, VOID, [0]);
|
|
237
|
-
|
|
232
|
+
function close$default(cause, $super) {
|
|
233
|
+
cause = cause === VOID ? null : cause;
|
|
234
|
+
return $super === VOID ? this.y18(cause) : $super.y18.call(this, cause);
|
|
235
|
+
}
|
|
236
|
+
initMetadataForInterface(SendChannel, 'SendChannel', VOID, VOID, VOID, [1]);
|
|
237
|
+
initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [ReceiveChannel, SendChannel], [1, 4, 0, 3]);
|
|
238
238
|
initMetadataForClass(WaiterEB, 'WaiterEB');
|
|
239
239
|
initMetadataForClass(ReceiveCatching, 'ReceiveCatching', VOID, VOID, [Waiter]);
|
|
240
240
|
initMetadataForObject(Factory, 'Factory');
|
|
@@ -244,7 +244,7 @@ initMetadataForCompanion(Companion);
|
|
|
244
244
|
initMetadataForClass(ChannelResult, 'ChannelResult');
|
|
245
245
|
initMetadataForClass(ClosedReceiveChannelException, 'ClosedReceiveChannelException', VOID, NoSuchElementException);
|
|
246
246
|
initMetadataForClass(ClosedSendChannelException, 'ClosedSendChannelException', VOID, IllegalStateException);
|
|
247
|
-
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [
|
|
247
|
+
initMetadataForClass(ChannelCoroutine, 'ChannelCoroutine', VOID, AbstractCoroutine, [ReceiveChannel, SendChannel], [1, 0]);
|
|
248
248
|
initMetadataForClass(ConflatedBufferedChannel, 'ConflatedBufferedChannel', VOID, BufferedChannel, VOID, [1, 0]);
|
|
249
249
|
initMetadataForInterface(ProducerScope, 'ProducerScope', VOID, VOID, [CoroutineScope, SendChannel], [1]);
|
|
250
250
|
initMetadataForClass(ProducerCoroutine, 'ProducerCoroutine', VOID, ChannelCoroutine, [ProducerScope], [1, 0]);
|
|
@@ -263,7 +263,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
|
|
|
263
263
|
initMetadataForClass(Symbol, 'Symbol');
|
|
264
264
|
initMetadataForInterface(SelectInstance, 'SelectInstance');
|
|
265
265
|
initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
|
|
266
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
266
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
267
267
|
initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
|
|
268
268
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [Delay], [1]);
|
|
269
269
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
|
@@ -8901,4 +8901,4 @@ export {
|
|
|
8901
8901
|
};
|
|
8902
8902
|
//endregion
|
|
8903
8903
|
|
|
8904
|
-
|
|
8904
|
+
|