@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.
Files changed (63) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  2. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs +1 -1
  3. package/MultiplatformSettings-multiplatform-settings.mjs +1 -1
  4. package/kotlin-kotlin-stdlib.mjs +124 -124
  5. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs +1 -1
  6. package/kotlinx-atomicfu.mjs +1 -1
  7. package/kotlinx-browser.mjs +1 -1
  8. package/kotlinx-coroutines-core.mjs +9 -9
  9. package/kotlinx-io-kotlinx-io-bytestring.mjs +1 -1
  10. package/kotlinx-io-kotlinx-io-core.mjs +1 -1
  11. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1 -1
  12. package/kotlinx-serialization-kotlinx-serialization-json-io.mjs +1 -1
  13. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1 -1
  14. package/ktor-ktor-client-auth.mjs +1 -1
  15. package/ktor-ktor-client-content-negotiation.mjs +1 -1
  16. package/ktor-ktor-client-core.mjs +53 -53
  17. package/ktor-ktor-client-encoding.mjs +4 -0
  18. package/ktor-ktor-client-logging.mjs +1 -1
  19. package/ktor-ktor-client-websockets.mjs +1 -1
  20. package/ktor-ktor-events.mjs +1 -1
  21. package/ktor-ktor-http-cio.mjs +1 -1
  22. package/ktor-ktor-http.mjs +5 -5
  23. package/ktor-ktor-io.mjs +6 -6
  24. package/ktor-ktor-serialization-kotlinx-json.mjs +1 -1
  25. package/ktor-ktor-serialization-kotlinx.mjs +1 -1
  26. package/ktor-ktor-serialization.mjs +1 -1
  27. package/ktor-ktor-sse.mjs +1 -1
  28. package/ktor-ktor-utils.mjs +1 -1
  29. package/ktor-ktor-websocket-serialization.mjs +1 -1
  30. package/ktor-ktor-websockets.mjs +3 -3
  31. package/package.json +1 -1
  32. package/solibo-sdk-sdk-home-api.d.mts +284 -6
  33. package/solibo-sdk-sdk-home-api.mjs +39166 -36042
  34. package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +0 -1
  35. package/MultiplatformSettings-multiplatform-settings-no-arg.mjs.map +0 -1
  36. package/MultiplatformSettings-multiplatform-settings.mjs.map +0 -1
  37. package/kotlin-kotlin-stdlib.mjs.map +0 -1
  38. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map +0 -1
  39. package/kotlinx-atomicfu.mjs.map +0 -1
  40. package/kotlinx-browser.mjs.map +0 -1
  41. package/kotlinx-coroutines-core.mjs.map +0 -1
  42. package/kotlinx-io-kotlinx-io-bytestring.mjs.map +0 -1
  43. package/kotlinx-io-kotlinx-io-core.mjs.map +0 -1
  44. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +0 -1
  45. package/kotlinx-serialization-kotlinx-serialization-json-io.mjs.map +0 -1
  46. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +0 -1
  47. package/ktor-ktor-client-auth.mjs.map +0 -1
  48. package/ktor-ktor-client-content-negotiation.mjs.map +0 -1
  49. package/ktor-ktor-client-core.mjs.map +0 -1
  50. package/ktor-ktor-client-logging.mjs.map +0 -1
  51. package/ktor-ktor-client-websockets.mjs.map +0 -1
  52. package/ktor-ktor-events.mjs.map +0 -1
  53. package/ktor-ktor-http-cio.mjs.map +0 -1
  54. package/ktor-ktor-http.mjs.map +0 -1
  55. package/ktor-ktor-io.mjs.map +0 -1
  56. package/ktor-ktor-serialization-kotlinx-json.mjs.map +0 -1
  57. package/ktor-ktor-serialization-kotlinx.mjs.map +0 -1
  58. package/ktor-ktor-serialization.mjs.map +0 -1
  59. package/ktor-ktor-sse.mjs.map +0 -1
  60. package/ktor-ktor-utils.mjs.map +0 -1
  61. package/ktor-ktor-websocket-serialization.mjs.map +0 -1
  62. package/ktor-ktor-websockets.mjs.map +0 -1
  63. package/solibo-sdk-sdk-home-api.mjs.map +0 -1
@@ -3597,4 +3597,4 @@ export {
3597
3597
  };
3598
3598
  //endregion
3599
3599
 
3600
- //# sourceMappingURL=Kotlin-DateTime-library-kotlinx-datetime.mjs.map
3600
+
@@ -1,4 +1,4 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
 
4
- //# sourceMappingURL=MultiplatformSettings-multiplatform-settings-no-arg.mjs.map
4
+
@@ -1,4 +1,4 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
 
4
- //# sourceMappingURL=MultiplatformSettings-multiplatform-settings.mjs.map
4
+
@@ -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 regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
12951
- if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
12952
- return false;
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 inductionVariable = 0;
12955
- if (inductionVariable < length)
12956
- do {
12957
- var index = inductionVariable;
12958
- inductionVariable = inductionVariable + 1 | 0;
12959
- if (!equals_1(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
12960
- return false;
12961
- }
12962
- while (inductionVariable < length);
12963
- return true;
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 split_1(_this__u8e3s4, delimiter, ignoreCase, limit) {
13002
- requireNonNegativeLimit(limit);
13003
- var currentOffset = 0;
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
- while (!(nextIndex === -1));
13022
- var tmp2_0 = currentOffset;
13023
- // Inline function 'kotlin.text.substring' call
13024
- var endIndex_0 = charSequenceLength(_this__u8e3s4);
13025
- var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2_0, endIndex_0));
13026
- result.e1(tmp$ret$1);
13027
- return result;
13028
- }
13029
- function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
13030
- startIndex = startIndex === VOID ? 0 : startIndex;
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
- //# sourceMappingURL=kotlin-kotlin-stdlib.mjs.map
16973
+
@@ -1,4 +1,4 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
 
4
- //# sourceMappingURL=kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.mjs.map
4
+
@@ -247,4 +247,4 @@ export {
247
247
  };
248
248
  //endregion
249
249
 
250
- //# sourceMappingURL=kotlinx-atomicfu.mjs.map
250
+
@@ -5,4 +5,4 @@ var undefined_0;
5
5
  undefined_0 = null;
6
6
  //endregion
7
7
 
8
- //# sourceMappingURL=kotlinx-browser.mjs.map
8
+
@@ -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
- initMetadataForClass(BufferedChannel, 'BufferedChannel', VOID, VOID, [SendChannel, ReceiveChannel], [1, 4, 0, 3]);
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, [SendChannel, ReceiveChannel], [1, 0]);
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, SelectInstance, Waiter], [0, 2]);
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
- //# sourceMappingURL=kotlinx-coroutines-core.mjs.map
8904
+
@@ -199,4 +199,4 @@ export {
199
199
  };
200
200
  //endregion
201
201
 
202
- //# sourceMappingURL=kotlinx-io-kotlinx-io-bytestring.mjs.map
202
+
@@ -2021,4 +2021,4 @@ export {
2021
2021
  };
2022
2022
  //endregion
2023
2023
 
2024
- //# sourceMappingURL=kotlinx-io-kotlinx-io-core.mjs.map
2024
+
@@ -6076,4 +6076,4 @@ export {
6076
6076
  };
6077
6077
  //endregion
6078
6078
 
6079
- //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core.mjs.map
6079
+
@@ -1,4 +1,4 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
 
4
- //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-json-io.mjs.map
4
+
@@ -5059,4 +5059,4 @@ export {
5059
5059
  };
5060
5060
  //endregion
5061
5061
 
5062
- //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-json.mjs.map
5062
+
@@ -1,4 +1,4 @@
1
1
  //region block: pre-declaration
2
2
  //endregion
3
3
 
4
- //# sourceMappingURL=ktor-ktor-client-auth.mjs.map
4
+
@@ -747,4 +747,4 @@ export {
747
747
  };
748
748
  //endregion
749
749
 
750
- //# sourceMappingURL=ktor-ktor-client-content-negotiation.mjs.map
750
+