git-digger
Version:
 
11,970 lines • 419 kB
JavaScript
//region block: polyfills
if (typeof Math.imul === 'undefined') {
Math.imul = function imul(a, b) {
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
};
}
if (typeof ArrayBuffer.isView === 'undefined') {
ArrayBuffer.isView = function (a) {
return a != null && a.__proto__ != null && a.__proto__.__proto__ === Int8Array.prototype.__proto__;
};
}
if (typeof Array.prototype.fill === 'undefined') {
// Polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill#Polyfill
Object.defineProperty(Array.prototype, 'fill', {value: function (value) {
// Steps 1-2.
if (this == null) {
throw new TypeError('this is null or not defined');
}
var O = Object(this); // Steps 3-5.
var len = O.length >>> 0; // Steps 6-7.
var start = arguments[1];
var relativeStart = start >> 0; // Step 8.
var k = relativeStart < 0 ? Math.max(len + relativeStart, 0) : Math.min(relativeStart, len); // Steps 9-10.
var end = arguments[2];
var relativeEnd = end === undefined ? len : end >> 0; // Step 11.
var finalValue = relativeEnd < 0 ? Math.max(len + relativeEnd, 0) : Math.min(relativeEnd, len); // Step 12.
while (k < finalValue) {
O[k] = value;
k++;
}
; // Step 13.
return O;
}});
}
[Int8Array, Int16Array, Uint16Array, Int32Array, Float32Array, Float64Array].forEach(function (TypedArray) {
if (typeof TypedArray.prototype.fill === 'undefined') {
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
}
});
if (typeof Math.clz32 === 'undefined') {
Math.clz32 = function (log, LN2) {
return function (x) {
var asUint = x >>> 0;
if (asUint === 0) {
return 32;
}
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
};
}(Math.log, Math.LN2);
}
if (typeof Math.log2 === 'undefined') {
Math.log2 = function (x) {
return Math.log(x) * Math.LOG2E;
};
}
if (typeof String.prototype.startsWith === 'undefined') {
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
position = position || 0;
return this.lastIndexOf(searchString, position) === position;
}});
}
if (typeof String.prototype.endsWith === 'undefined') {
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
var subjectString = this.toString();
if (position === undefined || position > subjectString.length) {
position = subjectString.length;
}
position -= searchString.length;
var lastIndex = subjectString.indexOf(searchString, position);
return lastIndex !== -1 && lastIndex === position;
}});
}
//endregion
(function (_) {
'use strict';
//region block: imports
var imul = Math.imul;
var isView = ArrayBuffer.isView;
var clz32 = Math.clz32;
//endregion
//region block: pre-declaration
initMetadataForInterface(CharSequence, 'CharSequence');
initMetadataForInterface(Comparable, 'Comparable');
initMetadataForClass(Number_0, 'Number');
initMetadataForInterface(Sequence, 'Sequence');
initMetadataForClass(asSequence$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
initMetadataForClass(asIterable$$inlined$Iterable$1);
initMetadataForCompanion(Companion);
initMetadataForClass(Char, 'Char', VOID, VOID, [Comparable]);
initMetadataForInterface(Collection, 'Collection');
initMetadataForInterface(KtList, 'List', VOID, VOID, [Collection]);
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
initMetadataForInterface(Entry, 'Entry');
initMetadataForInterface(KtMap, 'Map');
initMetadataForInterface(MutableIterable, 'MutableIterable');
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
initMetadataForCompanion(Companion_0);
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
initMetadataForCompanion(Companion_1);
initMetadataForClass(Long, 'Long', VOID, Number_0, [Number_0, Comparable]);
initMetadataForInterface(FunctionAdapter, 'FunctionAdapter');
initMetadataForClass(arrayIterator$1);
initMetadataForObject(ByteCompanionObject, 'ByteCompanionObject');
initMetadataForObject(ShortCompanionObject, 'ShortCompanionObject');
initMetadataForObject(IntCompanionObject, 'IntCompanionObject');
initMetadataForObject(FloatCompanionObject, 'FloatCompanionObject');
initMetadataForObject(DoubleCompanionObject, 'DoubleCompanionObject');
initMetadataForObject(StringCompanionObject, 'StringCompanionObject');
initMetadataForObject(BooleanCompanionObject, 'BooleanCompanionObject');
initMetadataForObject(Digit, 'Digit');
initMetadataForInterface(Comparator, 'Comparator');
initMetadataForObject(Unit, 'Unit');
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
initMetadataForClass(IteratorImpl, 'IteratorImpl');
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
initMetadataForInterface(RandomAccess, 'RandomAccess');
initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList, [AbstractMutableList, RandomAccess]);
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMutableMap]);
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableSet]);
initMetadataForCompanion(Companion_2);
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
initMetadataForClass(HashMapKeysDefault$iterator$1);
initMetadataForClass(HashMapKeysDefault, 'HashMapKeysDefault', VOID, AbstractMutableSet);
initMetadataForClass(HashMapValuesDefault$iterator$1);
initMetadataForClass(HashMapValuesDefault, 'HashMapValuesDefault', VOID, AbstractMutableCollection);
initMetadataForClass(HashSet, 'HashSet', HashSet_init_$Create$, AbstractMutableSet, [AbstractMutableSet, KtMutableSet]);
initMetadataForCompanion(Companion_3);
initMetadataForClass(Itr, 'Itr');
initMetadataForClass(KeysItr, 'KeysItr', VOID, Itr);
initMetadataForClass(ValuesItr, 'ValuesItr', VOID, Itr);
initMetadataForClass(EntriesItr, 'EntriesItr', VOID, Itr);
initMetadataForClass(EntryRef, 'EntryRef', VOID, VOID, [Entry]);
function containsAllEntries(m) {
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.all' call
var tmp;
if (isInterface(m, Collection)) {
tmp = m.j();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = m.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var entry = element;
var tmp_0;
if (!(entry == null) ? isInterface(entry, Entry) : false) {
tmp_0 = this.c8(entry);
} else {
tmp_0 = false;
}
if (!tmp_0) {
tmp$ret$0 = false;
break $l$block_0;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
}
initMetadataForInterface(InternalMap, 'InternalMap');
initMetadataForClass(InternalHashMap, 'InternalHashMap', InternalHashMap_init_$Create$, VOID, [InternalMap]);
initMetadataForObject(EmptyHolder, 'EmptyHolder');
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [HashMap, KtMutableMap]);
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [HashSet, KtMutableSet]);
initMetadataForClass(BaseOutput, 'BaseOutput');
initMetadataForClass(NodeJsOutput, 'NodeJsOutput', VOID, BaseOutput);
initMetadataForClass(BufferedOutput, 'BufferedOutput', BufferedOutput, BaseOutput);
initMetadataForClass(BufferedOutputToConsoleLog, 'BufferedOutputToConsoleLog', BufferedOutputToConsoleLog, BufferedOutput);
initMetadataForInterface(Continuation, 'Continuation');
initMetadataForClass(InterceptedCoroutine, 'InterceptedCoroutine', VOID, VOID, [Continuation]);
initMetadataForClass(CoroutineImpl, 'CoroutineImpl', VOID, InterceptedCoroutine, [InterceptedCoroutine, Continuation]);
initMetadataForObject(CompletedContinuation, 'CompletedContinuation', VOID, VOID, [Continuation]);
initMetadataForClass(createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$1, VOID, VOID, CoroutineImpl);
initMetadataForClass(Exception, 'Exception', Exception_init_$Create$, Error);
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException_init_$Create$, Exception);
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException_init_$Create$, RuntimeException);
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException_init_$Create$, RuntimeException);
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException_init_$Create$, RuntimeException);
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException_init_$Create$, RuntimeException);
initMetadataForClass(Error_0, 'Error', Error_init_$Create$, Error);
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException_init_$Create$, RuntimeException);
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException_init_$Create$, RuntimeException);
initMetadataForClass(AssertionError, 'AssertionError', AssertionError_init_$Create$, Error_0);
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException_init_$Create$, RuntimeException);
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException_init_$Create$, IllegalArgumentException);
initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException_init_$Create$, RuntimeException);
initMetadataForClass(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', NoWhenBranchMatchedException_init_$Create$, RuntimeException);
initMetadataForInterface(KClass, 'KClass');
initMetadataForClass(KClassImpl, 'KClassImpl', VOID, VOID, [KClass]);
initMetadataForObject(NothingKClassImpl, 'NothingKClassImpl', VOID, KClassImpl);
initMetadataForClass(ErrorKClass, 'ErrorKClass', ErrorKClass, VOID, [KClass]);
initMetadataForClass(PrimitiveKClassImpl, 'PrimitiveKClassImpl', VOID, KClassImpl);
initMetadataForClass(SimpleKClassImpl, 'SimpleKClassImpl', VOID, KClassImpl);
initMetadataForInterface(KProperty1, 'KProperty1');
initMetadataForInterface(KMutableProperty1, 'KMutableProperty1', VOID, VOID, [KProperty1]);
initMetadataForClass(KTypeImpl, 'KTypeImpl');
initMetadataForObject(PrimitiveClasses, 'PrimitiveClasses');
initMetadataForClass(ConstrainedOnceSequence, 'ConstrainedOnceSequence', VOID, VOID, [Sequence]);
initMetadataForClass(CharacterCodingException, 'CharacterCodingException', CharacterCodingException_init_$Create$, Exception);
initMetadataForClass(StringBuilder, 'StringBuilder', StringBuilder_init_$Create$_0, VOID, [CharSequence]);
initMetadataForCompanion(Companion_4);
initMetadataForClass(Regex, 'Regex');
initMetadataForClass(MatchGroup, 'MatchGroup');
initMetadataForClass(RegexOption, 'RegexOption', VOID, Enum);
initMetadataForInterface(MatchNamedGroupCollection, 'MatchNamedGroupCollection', VOID, VOID, [Collection]);
initMetadataForClass(findNext$1$groups$1, VOID, VOID, AbstractCollection, [MatchNamedGroupCollection, AbstractCollection]);
initMetadataForClass(AbstractList, 'AbstractList', VOID, AbstractCollection, [AbstractCollection, KtList]);
initMetadataForClass(findNext$1$groupValues$1, VOID, VOID, AbstractList);
initMetadataForClass(findNext$1);
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
initMetadataForClass(DurationUnit, 'DurationUnit', VOID, Enum);
initMetadataForClass(SubList_0, 'SubList', VOID, AbstractList, [AbstractList, RandomAccess]);
initMetadataForClass(IteratorImpl_0, 'IteratorImpl');
initMetadataForClass(ListIteratorImpl_0, 'ListIteratorImpl', VOID, IteratorImpl_0);
initMetadataForCompanion(Companion_5);
initMetadataForClass(AbstractMap$keys$1$iterator$1);
initMetadataForClass(AbstractMap$values$1$iterator$1);
initMetadataForCompanion(Companion_6);
initMetadataForClass(AbstractSet, 'AbstractSet', VOID, AbstractCollection, [AbstractCollection, KtSet]);
initMetadataForClass(AbstractMap$keys$1, VOID, VOID, AbstractSet);
initMetadataForClass(AbstractMap$values$1, VOID, VOID, AbstractCollection);
initMetadataForCompanion(Companion_7);
initMetadataForObject(EmptyList, 'EmptyList', VOID, VOID, [KtList, RandomAccess]);
initMetadataForObject(EmptyIterator, 'EmptyIterator');
initMetadataForClass(ArrayAsCollection, 'ArrayAsCollection', VOID, VOID, [Collection]);
initMetadataForClass(IndexedValue, 'IndexedValue');
initMetadataForClass(IndexingIterable, 'IndexingIterable');
initMetadataForClass(IndexingIterator, 'IndexingIterator');
initMetadataForInterface(MapWithDefault, 'MapWithDefault', VOID, VOID, [KtMap]);
initMetadataForObject(EmptyMap, 'EmptyMap', VOID, VOID, [KtMap]);
initMetadataForClass(IntIterator, 'IntIterator');
initMetadataForClass(ReversedListReadOnly$listIterator$1);
initMetadataForClass(ReversedListReadOnly, 'ReversedListReadOnly', VOID, AbstractList);
initMetadataForClass(ReversedList$listIterator$1);
initMetadataForClass(ReversedList, 'ReversedList', VOID, AbstractMutableList);
initMetadataForClass(SequenceScope, 'SequenceScope', VOID, VOID, VOID, [1]);
initMetadataForClass(SequenceBuilderIterator, 'SequenceBuilderIterator', SequenceBuilderIterator, SequenceScope, [SequenceScope, Continuation], [1]);
initMetadataForClass(sequence$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
initMetadataForClass(TransformingSequence$iterator$1);
initMetadataForClass(TransformingSequence, 'TransformingSequence', VOID, VOID, [Sequence]);
initMetadataForClass(FilteringSequence$iterator$1);
initMetadataForClass(FilteringSequence, 'FilteringSequence', VOID, VOID, [Sequence]);
initMetadataForObject(EmptySequence, 'EmptySequence', VOID, VOID, [Sequence]);
initMetadataForClass(GeneratorSequence$iterator$1);
initMetadataForClass(GeneratorSequence, 'GeneratorSequence', VOID, VOID, [Sequence]);
initMetadataForObject(EmptySet, 'EmptySet', VOID, VOID, [KtSet]);
initMetadataForObject(NaturalOrderComparator, 'NaturalOrderComparator', VOID, VOID, [Comparator]);
initMetadataForObject(Key, 'Key');
function releaseInterceptedContinuation(continuation) {
}
initMetadataForInterface(ContinuationInterceptor, 'ContinuationInterceptor');
initMetadataForObject(EmptyCoroutineContext, 'EmptyCoroutineContext');
initMetadataForClass(CoroutineSingletons, 'CoroutineSingletons', VOID, Enum);
initMetadataForClass(EnumEntriesList, 'EnumEntriesList', VOID, AbstractList, [KtList, AbstractList]);
initMetadataForCompanion(Companion_8);
initMetadataForClass(IntProgression, 'IntProgression');
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression);
initMetadataForClass(IntProgressionIterator, 'IntProgressionIterator', VOID, IntIterator);
initMetadataForCompanion(Companion_9);
initMetadataForInterface(KTypeParameter, 'KTypeParameter');
initMetadataForCompanion(Companion_10);
initMetadataForClass(KTypeProjection, 'KTypeProjection');
initMetadataForClass(KVariance, 'KVariance', VOID, Enum);
initMetadataForObject(State, 'State');
initMetadataForClass(LinesIterator, 'LinesIterator');
initMetadataForClass(DelimitedRangesSequence$iterator$1);
initMetadataForClass(DelimitedRangesSequence, 'DelimitedRangesSequence', VOID, VOID, [Sequence]);
initMetadataForClass(lineSequence$$inlined$Sequence$1, VOID, VOID, VOID, [Sequence]);
initMetadataForCompanion(Companion_11);
initMetadataForClass(Duration, 'Duration', VOID, VOID, [Comparable]);
initMetadataForCompanion(Companion_12);
initMetadataForClass(Instant, 'Instant', VOID, VOID, [Comparable]);
initMetadataForClass(Success, 'Success');
initMetadataForClass(Failure, 'Failure');
initMetadataForCompanion(Companion_13);
initMetadataForClass(UnboundLocalDateTime, 'UnboundLocalDateTime');
initMetadataForClass(InstantFormatException, 'InstantFormatException', VOID, IllegalArgumentException);
initMetadataForClass(LazyThreadSafetyMode, 'LazyThreadSafetyMode', VOID, Enum);
initMetadataForClass(UnsafeLazyImpl, 'UnsafeLazyImpl');
initMetadataForObject(UNINITIALIZED_VALUE, 'UNINITIALIZED_VALUE');
initMetadataForCompanion(Companion_14);
initMetadataForClass(Failure_0, 'Failure');
initMetadataForClass(Result, 'Result');
initMetadataForClass(NotImplementedError, 'NotImplementedError', NotImplementedError, Error_0);
initMetadataForClass(Pair, 'Pair');
initMetadataForClass(Triple, 'Triple');
initMetadataForCompanion(Companion_15);
initMetadataForClass(Uuid, 'Uuid', VOID, VOID, [Comparable]);
initMetadataForCompanion(Companion_16);
initMetadataForClass(UByte, 'UByte', VOID, VOID, [Comparable]);
initMetadataForClass(Iterator, 'Iterator');
initMetadataForClass(UByteArray, 'UByteArray', VOID, VOID, [Collection]);
initMetadataForCompanion(Companion_17);
initMetadataForClass(UInt, 'UInt', VOID, VOID, [Comparable]);
initMetadataForClass(Iterator_0, 'Iterator');
initMetadataForClass(UIntArray, 'UIntArray', VOID, VOID, [Collection]);
initMetadataForCompanion(Companion_18);
initMetadataForClass(ULong, 'ULong', VOID, VOID, [Comparable]);
initMetadataForClass(Iterator_1, 'Iterator');
initMetadataForClass(ULongArray, 'ULongArray', VOID, VOID, [Collection]);
initMetadataForCompanion(Companion_19);
initMetadataForClass(UShort, 'UShort', VOID, VOID, [Comparable]);
initMetadataForClass(Iterator_2, 'Iterator');
initMetadataForClass(UShortArray, 'UShortArray', VOID, VOID, [Collection]);
//endregion
function CharSequence() {
}
function Comparable() {
}
function Number_0() {
}
function toList(_this__u8e3s4) {
switch (_this__u8e3s4.length) {
case 0:
return emptyList();
case 1:
return listOf(_this__u8e3s4[0]);
default:
return toMutableList(_this__u8e3s4);
}
}
function withIndex(_this__u8e3s4) {
return new IndexingIterable(withIndex$lambda(_this__u8e3s4));
}
function get_indices(_this__u8e3s4) {
return new IntRange(0, get_lastIndex_0(_this__u8e3s4));
}
function toSet(_this__u8e3s4) {
switch (_this__u8e3s4.length) {
case 0:
return emptySet();
case 1:
return setOf(_this__u8e3s4[0]);
default:
return toCollection(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.length)));
}
}
function contains(_this__u8e3s4, element) {
return indexOf(_this__u8e3s4, element) >= 0;
}
function get_lastIndex(_this__u8e3s4) {
return _this__u8e3s4.length - 1 | 0;
}
function last(_this__u8e3s4) {
// Inline function 'kotlin.collections.isEmpty' call
if (_this__u8e3s4.length === 0)
throw NoSuchElementException_init_$Create$_0('Array is empty.');
return _this__u8e3s4[get_lastIndex(_this__u8e3s4)];
}
function get_lastIndex_0(_this__u8e3s4) {
return _this__u8e3s4.length - 1 | 0;
}
function filterNotNull(_this__u8e3s4) {
return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
}
function contains_0(_this__u8e3s4, element) {
return indexOf_0(_this__u8e3s4, element) >= 0;
}
function contains_1(_this__u8e3s4, element) {
return indexOf_1(_this__u8e3s4, element) >= 0;
}
function contains_2(_this__u8e3s4, element) {
return indexOf_2(_this__u8e3s4, element) >= 0;
}
function contains_3(_this__u8e3s4, element) {
return indexOf_3(_this__u8e3s4, element) >= 0;
}
function indexOf(_this__u8e3s4, element) {
if (element == null) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (_this__u8e3s4[index] == null) {
return index;
}
}
while (inductionVariable <= last);
} else {
var inductionVariable_0 = 0;
var last_0 = _this__u8e3s4.length - 1 | 0;
if (inductionVariable_0 <= last_0)
do {
var index_0 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + 1 | 0;
if (equals(element, _this__u8e3s4[index_0])) {
return index_0;
}
}
while (inductionVariable_0 <= last_0);
}
return -1;
}
function toCollection(_this__u8e3s4, destination) {
var inductionVariable = 0;
var last = _this__u8e3s4.length;
while (inductionVariable < last) {
var item = _this__u8e3s4[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
destination.e(item);
}
return destination;
}
function single(_this__u8e3s4) {
var tmp;
switch (_this__u8e3s4.length) {
case 0:
throw NoSuchElementException_init_$Create$_0('Array is empty.');
case 1:
tmp = _this__u8e3s4[0];
break;
default:
throw IllegalArgumentException_init_$Create$_0('Array has more than one element.');
}
return tmp;
}
function toMutableList(_this__u8e3s4) {
return ArrayList_init_$Create$_1(asCollection(_this__u8e3s4));
}
function filterNotNullTo(_this__u8e3s4, destination) {
var inductionVariable = 0;
var last = _this__u8e3s4.length;
while (inductionVariable < last) {
var element = _this__u8e3s4[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
if (!(element == null)) {
destination.e(element);
}
}
return destination;
}
function indexOf_0(_this__u8e3s4, element) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (element.equals(_this__u8e3s4[index])) {
return index;
}
}
while (inductionVariable <= last);
return -1;
}
function indexOf_1(_this__u8e3s4, element) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (element === _this__u8e3s4[index]) {
return index;
}
}
while (inductionVariable <= last);
return -1;
}
function indexOf_2(_this__u8e3s4, element) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (element === _this__u8e3s4[index]) {
return index;
}
}
while (inductionVariable <= last);
return -1;
}
function indexOf_3(_this__u8e3s4, element) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (element === _this__u8e3s4[index]) {
return index;
}
}
while (inductionVariable <= last);
return -1;
}
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
}
function contains_4(_this__u8e3s4, element) {
return indexOf_4(_this__u8e3s4, element) >= 0;
}
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
buffer.f(prefix);
var count = 0;
var inductionVariable = 0;
var last = _this__u8e3s4.length;
$l$loop: while (inductionVariable < last) {
var element = _this__u8e3s4[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
count = count + 1 | 0;
if (count > 1) {
buffer.f(separator);
}
if (limit < 0 || count <= limit) {
appendElement(buffer, element, transform);
} else
break $l$loop;
}
if (limit >= 0 && count > limit) {
buffer.f(truncated);
}
buffer.f(postfix);
return buffer;
}
function indexOf_4(_this__u8e3s4, element) {
var inductionVariable = 0;
var last = _this__u8e3s4.length - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (element === _this__u8e3s4[index]) {
return index;
}
}
while (inductionVariable <= last);
return -1;
}
function slice(_this__u8e3s4, indices) {
if (indices.j()) {
// Inline function 'kotlin.collections.listOf' call
return emptyList();
}
var tmp2 = indices.k();
// Inline function 'kotlin.collections.copyOfRange' call
var toIndex = indices.l() + 1 | 0;
var tmp$ret$1 = copyOfRange(_this__u8e3s4, tmp2, toIndex);
return asList(tmp$ret$1);
}
function getOrNull(_this__u8e3s4, index) {
return (0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false) ? _this__u8e3s4[index] : null;
}
function withIndex$lambda($this_withIndex) {
return function () {
return arrayIterator($this_withIndex);
};
}
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
}
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
buffer.f(prefix);
var count = 0;
var _iterator__ex2g4s = _this__u8e3s4.m();
$l$loop: while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
count = count + 1 | 0;
if (count > 1) {
buffer.f(separator);
}
if (limit < 0 || count <= limit) {
appendElement(buffer, element, transform);
} else
break $l$loop;
}
if (limit >= 0 && count > limit) {
buffer.f(truncated);
}
buffer.f(postfix);
return buffer;
}
function toHashSet(_this__u8e3s4) {
return toCollection_0(_this__u8e3s4, HashSet_init_$Create$_0(mapCapacity(collectionSizeOrDefault(_this__u8e3s4, 12))));
}
function toBooleanArray(_this__u8e3s4) {
var result = booleanArray(_this__u8e3s4.p());
var index = 0;
var _iterator__ex2g4s = _this__u8e3s4.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
result[_unary__edvuaz] = element;
}
return result;
}
function last_0(_this__u8e3s4) {
if (_this__u8e3s4.j())
throw NoSuchElementException_init_$Create$_0('List is empty.');
return _this__u8e3s4.q(get_lastIndex_1(_this__u8e3s4));
}
function plus(_this__u8e3s4, elements) {
if (isInterface(elements, Collection)) {
var result = ArrayList_init_$Create$_0(_this__u8e3s4.p() + elements.p() | 0);
result.u(_this__u8e3s4);
result.u(elements);
return result;
} else {
var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4);
addAll(result_0, elements);
return result_0;
}
}
function getOrNull_0(_this__u8e3s4, index) {
return (0 <= index ? index < _this__u8e3s4.p() : false) ? _this__u8e3s4.q(index) : null;
}
function toSet_0(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
var tmp;
switch (_this__u8e3s4.p()) {
case 0:
tmp = emptySet();
break;
case 1:
var tmp_0;
if (isInterface(_this__u8e3s4, KtList)) {
tmp_0 = _this__u8e3s4.q(0);
} else {
tmp_0 = _this__u8e3s4.m().o();
}
tmp = setOf(tmp_0);
break;
default:
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_1(mapCapacity(_this__u8e3s4.p())));
break;
}
return tmp;
}
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
}
function single_0(_this__u8e3s4) {
var tmp;
switch (_this__u8e3s4.p()) {
case 0:
throw NoSuchElementException_init_$Create$_0('List is empty.');
case 1:
tmp = _this__u8e3s4.q(0);
break;
default:
throw IllegalArgumentException_init_$Create$_0('List has more than one element.');
}
return tmp;
}
function toMutableList_0(_this__u8e3s4) {
return ArrayList_init_$Create$_1(_this__u8e3s4);
}
function firstOrNull(_this__u8e3s4) {
return _this__u8e3s4.j() ? null : _this__u8e3s4.q(0);
}
function drop(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = 'Requested element count ' + n + ' is less than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
if (n === 0)
return toList_0(_this__u8e3s4);
var list;
if (isInterface(_this__u8e3s4, Collection)) {
var resultSize = _this__u8e3s4.p() - n | 0;
if (resultSize <= 0)
return emptyList();
if (resultSize === 1)
return listOf(last_1(_this__u8e3s4));
list = ArrayList_init_$Create$_0(resultSize);
if (isInterface(_this__u8e3s4, KtList)) {
if (isInterface(_this__u8e3s4, RandomAccess)) {
var inductionVariable = n;
var last = _this__u8e3s4.p();
if (inductionVariable < last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
list.e(_this__u8e3s4.q(index));
}
while (inductionVariable < last);
} else {
// Inline function 'kotlin.collections.iterator' call
var _iterator__ex2g4s = _this__u8e3s4.v(n);
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
list.e(item);
}
}
return list;
}
} else {
list = ArrayList_init_$Create$();
}
var count = 0;
var _iterator__ex2g4s_0 = _this__u8e3s4.m();
while (_iterator__ex2g4s_0.n()) {
var item_0 = _iterator__ex2g4s_0.o();
if (count >= n)
list.e(item_0);
else {
count = count + 1 | 0;
}
}
return optimizeReadOnlyList(list);
}
function take(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = 'Requested element count ' + n + ' is less than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
if (n === 0)
return emptyList();
if (isInterface(_this__u8e3s4, Collection)) {
if (n >= _this__u8e3s4.p())
return toList_0(_this__u8e3s4);
if (n === 1)
return listOf(first_0(_this__u8e3s4));
}
var count = 0;
var list = ArrayList_init_$Create$_0(n);
var _iterator__ex2g4s = _this__u8e3s4.m();
$l$loop: while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
list.e(item);
count = count + 1 | 0;
if (count === n)
break $l$loop;
}
return optimizeReadOnlyList(list);
}
function lastOrNull(_this__u8e3s4) {
return _this__u8e3s4.j() ? null : _this__u8e3s4.q(_this__u8e3s4.p() - 1 | 0);
}
function first(_this__u8e3s4) {
if (_this__u8e3s4.j())
throw NoSuchElementException_init_$Create$_0('List is empty.');
return _this__u8e3s4.q(0);
}
function plus_0(_this__u8e3s4, element) {
var result = ArrayList_init_$Create$_0(_this__u8e3s4.p() + 1 | 0);
result.u(_this__u8e3s4);
result.e(element);
return result;
}
function asSequence(_this__u8e3s4) {
// Inline function 'kotlin.sequences.Sequence' call
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
}
function toList_0(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
var tmp;
switch (_this__u8e3s4.p()) {
case 0:
tmp = emptyList();
break;
case 1:
var tmp_0;
if (isInterface(_this__u8e3s4, KtList)) {
tmp_0 = _this__u8e3s4.q(0);
} else {
tmp_0 = _this__u8e3s4.m().o();
}
tmp = listOf(tmp_0);
break;
default:
tmp = toMutableList_0(_this__u8e3s4);
break;
}
return tmp;
}
return optimizeReadOnlyList(toMutableList_1(_this__u8e3s4));
}
function withIndex_0(_this__u8e3s4) {
return new IndexingIterable(withIndex$lambda_0(_this__u8e3s4));
}
function first_0(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, KtList))
return first(_this__u8e3s4);
else {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
return iterator.o();
}
}
function toCollection_0(_this__u8e3s4, destination) {
var _iterator__ex2g4s = _this__u8e3s4.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
destination.e(item);
}
return destination;
}
function last_1(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, KtList))
return last_0(_this__u8e3s4);
else {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
var last = iterator.o();
while (iterator.n())
last = iterator.o();
return last;
}
}
function sortedWith(_this__u8e3s4, comparator) {
if (isInterface(_this__u8e3s4, Collection)) {
if (_this__u8e3s4.p() <= 1)
return toList_0(_this__u8e3s4);
// Inline function 'kotlin.collections.toTypedArray' call
var tmp = copyToArray(_this__u8e3s4);
// Inline function 'kotlin.apply' call
var this_0 = isArray(tmp) ? tmp : THROW_CCE();
sortWith(this_0, comparator);
return asList(this_0);
}
// Inline function 'kotlin.apply' call
var this_1 = toMutableList_1(_this__u8e3s4);
sortWith_0(this_1, comparator);
return this_1;
}
function toMutableList_1(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection))
return toMutableList_0(_this__u8e3s4);
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
}
function single_1(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, KtList))
return single_0(_this__u8e3s4);
else {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
throw NoSuchElementException_init_$Create$_0('Collection is empty.');
var single = iterator.o();
if (iterator.n())
throw IllegalArgumentException_init_$Create$_0('Collection has more than one element.');
return single;
}
}
function plus_1(_this__u8e3s4, elements) {
var result = ArrayList_init_$Create$_0(_this__u8e3s4.p() + elements.length | 0);
result.u(_this__u8e3s4);
addAll_0(result, elements);
return result;
}
function takeLast(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = 'Requested element count ' + n + ' is less than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
if (n === 0)
return emptyList();
var size = _this__u8e3s4.p();
if (n >= size)
return toList_0(_this__u8e3s4);
if (n === 1)
return listOf(last_0(_this__u8e3s4));
var list = ArrayList_init_$Create$_0(n);
if (isInterface(_this__u8e3s4, RandomAccess)) {
var inductionVariable = size - n | 0;
if (inductionVariable < size)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
list.e(_this__u8e3s4.q(index));
}
while (inductionVariable < size);
} else {
// Inline function 'kotlin.collections.iterator' call
var _iterator__ex2g4s = _this__u8e3s4.v(size - n | 0);
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
list.e(item);
}
}
return list;
}
function maxOrNull(_this__u8e3s4) {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
return null;
var max = iterator.o();
while (iterator.n()) {
var e = iterator.o();
if (compareTo(max, e) < 0)
max = e;
}
return max;
}
function sorted(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
if (_this__u8e3s4.p() <= 1)
return toList_0(_this__u8e3s4);
// Inline function 'kotlin.collections.toTypedArray' call
var tmp = copyToArray(_this__u8e3s4);
// Inline function 'kotlin.apply' call
var this_0 = isArray(tmp) ? tmp : THROW_CCE();
sort(this_0);
return asList(this_0);
}
// Inline function 'kotlin.apply' call
var this_1 = toMutableList_1(_this__u8e3s4);
sort_0(this_1);
return this_1;
}
function reversed(_this__u8e3s4) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4.p() <= 1;
} else {
tmp = false;
}
if (tmp)
return toList_0(_this__u8e3s4);
var list = toMutableList_1(_this__u8e3s4);
reverse(list);
return list;
}
function minOrNull(_this__u8e3s4) {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
return null;
var min = iterator.o();
while (iterator.n()) {
var e = iterator.o();
if (compareTo(min, e) > 0)
min = e;
}
return min;
}
function zip(_this__u8e3s4, other) {
// Inline function 'kotlin.collections.zip' call
var first = _this__u8e3s4.m();
var second = other.m();
var tmp0 = collectionSizeOrDefault(_this__u8e3s4, 10);
// Inline function 'kotlin.comparisons.minOf' call
var b = collectionSizeOrDefault(other, 10);
var tmp$ret$0 = Math.min(tmp0, b);
var list = ArrayList_init_$Create$_0(tmp$ret$0);
while (first.n() && second.n()) {
var tmp0_0 = first.o();
var t2 = second.o();
var tmp$ret$1 = to(tmp0_0, t2);
list.e(tmp$ret$1);
}
return list;
}
function sum(_this__u8e3s4) {
var sum = 0;
var _iterator__ex2g4s = _this__u8e3s4.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
sum = sum + element | 0;
}
return sum;
}
function asSequence$$inlined$Sequence$1($this_asSequence) {
this.w_1 = $this_asSequence;
}
protoOf(asSequence$$inlined$Sequence$1).m = function () {
return this.w_1.m();
};
function withIndex$lambda_0($this_withIndex) {
return function () {
return $this_withIndex.m();
};
}
function toList_1(_this__u8e3s4) {
if (_this__u8e3s4.p() === 0)
return emptyList();
var iterator = _this__u8e3s4.x().m();
if (!iterator.n())
return emptyList();
var first = iterator.o();
if (!iterator.n()) {
// Inline function 'kotlin.collections.toPair' call
var tmp$ret$0 = new Pair(first.y(), first.z());
return listOf(tmp$ret$0);
}
var result = ArrayList_init_$Create$_0(_this__u8e3s4.p());
// Inline function 'kotlin.collections.toPair' call
var tmp$ret$1 = new Pair(first.y(), first.z());
result.e(tmp$ret$1);
do {
// Inline function 'kotlin.collections.toPair' call
var this_0 = iterator.o();
var tmp$ret$2 = new Pair(this_0.y(), this_0.z());
result.e(tmp$ret$2);
}
while (iterator.n());
return result;
}
function asSequence_0(_this__u8e3s4) {
return asSequence(_this__u8e3s4.x());
}
function until(_this__u8e3s4, to) {
if (to <= -2147483648)
return Companion_getInstance_8().a1_1;
return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
}
function coerceAtLeast(_this__u8e3s4, minimumValue) {
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
}
function coerceAtLeast_0(_this__u8e3s4, minimumValue) {
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
}
function coerceIn(_this__u8e3s4, minimumValue, maximumValue) {
if (minimumValue > maximumValue)
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
if (_this__u8e3s4 < minimumValue)
return minimumValue;
if (_this__u8e3s4 > maximumValue)
return maximumValue;
return _this__u8e3s4;
}
function coerceIn_0(_this__u8e3s4, minimumValue, maximumValue) {
if (minimumValue > maximumValue)
throw IllegalArgumentException_init_$Create$_0('Cannot coerce value to an empty range: maximum ' + maximumValue + ' is less than minimum ' + minimumValue + '.');
if (_this__u8e3s4 < minimumValue)
return minimumValue;
if (_this__u8e3s4 > maximumValue)
return maximumValue;
return _this__u8e3s4;
}
function coerceAtLeast_1(_this__u8e3s4, minimumValue) {
return _this__u8e3s4 < minimumValue ? minimumValue : _this__u8e3s4;
}
function coerceAtMost(_this__u8e3s4, maximumValue) {
return _this__u8e3s4 > maximumValue ? maximumValue : _this__u8e3s4;
}
function downTo(_this__u8e3s4, to) {
return Companion_instance_9.b1(_this__u8e3s4, to, -1);
}
function firstOrNull_0(_this__u8e3s4) {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
return null;
return iterator.o();
}
function mapNotNull(_this__u8e3s4, transform) {
return filterNotNull_0(new TransformingSequence(_this__u8e3s4, transform));
}
function toList_2(_this__u8e3s4) {
var it = _this__u8e3s4.m();
if (!it.n())
return emptyList();
var element = it.o();
if (!it.n())
return listOf(element);
var dst = ArrayList_init_$Create$();
dst.e(element);
while (it.n()) {
dst.e(it.o());
}
return dst;
}
function map(_this__u8e3s4, transform) {
return new TransformingSequence(_this__u8e3s4, transform);
}
function joinToString_1(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
return joinTo_1(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
}
function filter(_this__u8e3s4, predicate) {
return new FilteringSequence(_this__u8e3s4, true, predicate);
}
function asIterable(_this__u8e3s4) {
// Inline function 'kotlin.collections.Iterable' call
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
}
function filterNotNull_0(_this__u8e3s4) {
var tmp = filterNot(_this__u8e3s4, filterNotNull$lambda);
return isInterface(tmp, Sequence) ? tmp : THROW_CCE();
}
function joinTo_1(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
separator = separator === VOID ? ', ' : separator;
prefix = prefix === VOID ? '' : prefix;
postfix = postfix === VOID ? '' : postfix;
limit = limit === VOID ? -1 : limit;
truncated = truncated === VOID ? '...' : truncated;
transform = transform === VOID ? null : transform;
buffer.f(prefix);
var count = 0;
var _iterator__ex2g4s = _this__u8e3s4.m();
$l$loop: while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
count = count + 1 | 0;
if (count > 1) {
buffer.f(separator);
}
if (limit < 0 || count <= limit) {
appendElement(buffer, element, transform);
} else
break $l$loop;
}
if (limit >= 0 && count > limit) {
buffer.f(truncated);
}
buffer.f(postfix);
return buffer;
}
function filterNot(_this__u8e3s4, predicate) {
return new FilteringSequence(_this__u8e3s4, false, predicate);
}
function onEach(_this__u8e3s4, action) {
return map(_this__u8e3s4, onEach$lambda(action));
}
function last_2(_this__u8e3s4) {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
throw NoSuchElementException_init_$Create$_0('Sequence is empty.');
var last = iterator.o();
while (iterator.n())
last = iterator.o();
return last;
}
function maxOrNull_0(_this__u8e3s4) {
var iterator = _this__u8e3s4.m();
if (!iterator.n())
return null;
var max = iterator.o();
while (iterator.n()) {
var e = iterator.o();
if (compareTo(max, e) < 0)
max = e;
}
return max;
}
function asIterable$$inlined$Iterable$1($this_asIterable) {
this.c1_1 = $this_asIterable;
}
protoOf(asIterable$$inlined$Iterable$1).m = function () {
return this.c1_1.m();
};
function filterNotNull$lambda(it) {
return it == null;
}
function onEach$lambda($action) {
return function (it) {
$action(it);
return it;
};
}
function minus(_this__u8e3s4, elements) {
var other = convertToListIfNotCollection(elements);
if (other.j())
return toSet_0(_this__u8e3s4);
if (isInterface(other, KtSet)) {
// Inline function 'kotlin.collections.filterNotTo' call
var destination = LinkedHashSet_init_$Create$();
var _iterator__ex2g4s = _this__u8e3s4.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (!other.d1(element)) {
destination.e(element);
}
}
return destination;
}
var result = LinkedHashSet_init_$Create$_0(_this__u8e3s4);
result.e1(other);
return result;
}
function plus_2(_this__u8e3s4, elements) {
var tmp0_safe_receiver = collectionSizeOrNull(elements);
var tmp;
if (tmp0_safe_receiver == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = _this__u8e3s4.p() + tmp0_safe_receiver | 0;
}
var tmp1_elvis_lhs = tmp;
var result = LinkedHashSet_init_$Create$_1(mapCapacity(tmp1_elvis_lhs == null ? imul(_this__u8e3s4.p(), 2) : tmp1_elvis_lhs));
result.u(_this__u8e3s4);
addAll(result, elements);
return result;
}
function drop_0(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = 'Requested character count ' + n + ' is less than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return substring_0(_this__u8e3s4, coerceAtMost(n, _this__u8e3s4.length));
}
function first_1(_this__u8e3s4) {
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(_this__u8e3s4) === 0)
throw NoSuchElementException_init_$Create$_0('Char sequence is empty.');
return charSequenceGet(_this__u8e3s4, 0);
}
function slice_0(_this__u8e3s4, indices) {
if (indices.j())
return '';
return substring_2(_this__u8e3s4, indices);
}
function take_0(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = 'Requested character count ' + n + ' is less than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return substring(_this__u8e3s4, 0, coerceAtMost(n, _this__u8e3s4.length));
}
function chunked(_this__u8e3s4, size) {
return windowed(_this__u8e3s4, size, size, true);
}
function windowed(_this__u8e3s4, size, step, partialWindows) {
step = step === VOID ? 1 : step;
partialWindows = partialWindows === VOID ? false : partialWindows;
return windowed_0(_this__u8e3s4, size, step, partialWindows, windowed$lambda);
}
function windowed_0(_this__u8e3s4, size, step, partialWindows, transform) {
step = step === VOID ? 1 : step;
partialWindows = partialWindows === VOID ? false : partialWindows;
checkWindowSizeStep(size, step);
var thisSize = charSequenceLength(_this__u8e3s4);
var resultCapacity = (thisSize / step | 0) + ((thisSize % step | 0) === 0 ? 0 : 1) | 0;
var result = ArrayList_init_$Create$_0(resultCapacity);
var index = 0;
$l$loop: while (0 <= index ? index < thisSize : false) {
var end = index + size | 0;
var tmp;
if (end < 0 || end > thisSize) {
var tmp_0;
if (partialWindows) {
tmp_0 = thisSize;
} else {
break $l$loop;
}
tmp = tmp_0;
} else {
tmp = end;
}
var coercedEnd = tmp;
result.e(transform(charSequenceSubSequence(_this__u8e3s4, index, coercedEnd)));
index = index + step | 0;
}
return result;
}
function firstOrNull_1(_this__u8e3s4) {
var tmp;
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(_this__u8e3s4) === 0) {
tmp = null;
} else {
tmp = charSequenceGet(_this__u8e3s4, 0);
}
return tmp;
}
function windowed$lambda(it) {
return toString_1(it);
}
function _Char___init__impl__6a9atx(value) {
return value;
}
function _get_value__a43j40($this) {
return $this;
}
function _Char___init__impl__6a9atx_0(code) {
// Inline function 'kotlin.UShort.toInt' call
var tmp$ret$0 = _UShort___get_data__impl__g0245(code) & 65535;
return _Char___init__impl__6a9atx(tmp$ret$0);
}
function Char__compareTo_impl_ypi4mb($this, other) {
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
}
function Char__compareTo_impl_ypi4mb_0($this, other) {
return Char__compareTo_impl_ypi4mb($this.f1_1, other instanceof Char ? other.f1_1 : THROW_CCE());
}
function Char__minus_impl_a2frrh($this, other) {
return _get_value__a43j40($this) - _get_value__a43j40(other) | 0;
}
function Char__toInt_impl_vasixd($this) {
return _get_value__a43j40($this);
}
function toString($this) {
// Inline function 'kotlin.js.unsafeCast' call
return String.fromCharCode(_get_value__a43j40($this));
}
function Char__equals_impl_x6719k($this, other) {
if (!(other instanceof Char))
return false;
return _get_value__a43j40($this) === _get_value__a43j40(other.f1_1);
}
function Char__hashCode_impl_otmys($this) {
return _get_value__a43j40($this);
}
function Companion() {
Companion_instance = this;
this.g1_1 = _Char___init__impl__6a9atx(0);
this.h1_1 = _Char___init__impl__6a9atx(65535);
this.i1_1 = _Char___init__impl__6a9atx(55296);
this.j1_1 = _Char___init__impl__6a9atx(56319);
this.k1_1 = _Char___init__impl__6a9atx(56320);
this.l1_1 = _Char___init__impl__6a9atx(57343);
this.m1_1 = _Char___init__impl__6a9atx(55296);
this.n1_1 = _Char___init__impl__6a9atx(57343);
this.o1_1 = 2;
this.p1_1 = 16;
}
var Companion_instance;
function Companion_getInstance() {
if (Companion_instance == null)
new Companion();
return Companion_instance;
}
function Char(value) {
Companion_getInstance();
this.f1_1 = value;
}
protoOf(Char).q1 = function (other) {
return Char__compareTo_impl_ypi4mb(this.f1_1, other);
};
protoOf(Char).d = function (other) {
return Char__compareTo_impl_ypi4mb_0(this, other);
};
protoOf(Char).toString = function () {
return toString(this.f1_1);
};
protoOf(Char).equals = function (other) {
return Char__equals_impl_x6719k(this.f1_1, other);
};
protoOf(Char).hashCode = function () {
return Char__hashCode_impl_otmys(this.f1_1);
};
function KtList() {
}
function Collection() {
}
function KtSet() {
}
function Entry() {
}
function KtMap() {
}
function KtMutableList() {
}
function KtMutableSet() {
}
function KtMutableMap() {
}
function MutableIterable() {
}
function Companion_0() {
}
var Companion_instance_0;
function Companion_getInstance_0() {
return Companion_instance_0;
}
function Enum(name, ordinal) {
this.g2_1 = name;
this.h2_1 = ordinal;
}
protoOf(Enum).i2 = function (other) {
return compareTo(this.h2_1, other.h2_1);
};
protoOf(Enum).d = function (other) {
return this.i2(other instanceof Enum ? other : THROW_CCE());
};
protoOf(Enum).equals = function (other) {
return this === other;
};
protoOf(Enum).hashCode = function () {
return identityHashCode(this);
};
protoOf(Enum).toString = function () {
return this.g2_1;
};
function arrayOf(elements) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return elements;
}
function toString_0(_this__u8e3s4) {
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
}
function plus_3(_this__u8e3s4, other) {
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : toString_1(_this__u8e3s4);
var tmp = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
var tmp3_elvis_lhs = other == null ? null : toString_1(other);
return tmp + (tmp3_elvis_lhs == null ? 'null' : tmp3_elvis_lhs);
}
function Companion_1() {
Companion_instance_1 = this;
this.j2_1 = new Long(0, -2147483648);
this.k2_1 = new Long(-1, 2147483647);
this.l2_1 = 8;
this.m2_1 = 64;
}
var Companion_instance_1;
function Companion_getInstance_1() {
if (Companion_instance_1 == null)
new Companion_1();
return Companion_instance_1;
}
function Long(low, high) {
Companion_getInstance_1();
Number_0.call(this);
this.n2_1 = low;
this.o2_1 = high;
}
protoOf(Long).p2 = function (other) {
return compare(this, other);
};
protoOf(Long).d = function (other) {
return this.p2(other instanceof Long ? other : THROW_CCE());
};
protoOf(Long).q2 = function (other) {
return add(this, other);
};
protoOf(Long).r2 = function (other) {
return subtract(this, other);
};
protoOf(Long).s2 = function (other) {
return multiply(this, other);
};
protoOf(Long).t2 = function (other) {
return divide(this, other);
};
protoOf(Long).u2 = function (other) {
return modulo(this, other);
};
protoOf(Long).v2 = function () {
return this.r2(new Long(1, 0));
};
protoOf(Long).w2 = function () {
return this.x2().q2(new Long(1, 0));
};
protoOf(Long).y2 = function (bitCount) {
return shiftLeft(this, bitCount);
};
protoOf(Long).z2 = function (bitCount) {
return shiftRight(this, bitCount);
};
protoOf(Long).a3 = function (bitCount) {
return shiftRightUnsigned(this, bitCount);
};
protoOf(Long).b3 = function (other) {
return new Long(this.n2_1 & other.n2_1, this.o2_1 & other.o2_1);
};
protoOf(Long).c3 = function (other) {
return new Long(this.n2_1 | other.n2_1, this.o2_1 | other.o2_1);
};
protoOf(Long).d3 = function (other) {
return new Long(this.n2_1 ^ other.n2_1, this.o2_1 ^ other.o2_1);
};
protoOf(Long).x2 = function () {
return new Long(~this.n2_1, ~this.o2_1);
};
protoOf(Long).e3 = function () {
return this.n2_1;
};
protoOf(Long).f3 = function () {
return toNumber(this);
};
protoOf(Long).toString = function () {
return toStringImpl(this, 10);
};
protoOf(Long).equals = function (other) {
var tmp;
if (other instanceof Long) {
tmp = equalsLong(this, other);
} else {
tmp = false;
}
return tmp;
};
protoOf(Long).hashCode = function () {
return hashCode_0(this);
};
protoOf(Long).valueOf = function () {
return this.f3();
};
function implement(interfaces) {
var maxSize = 1;
var masks = [];
var inductionVariable = 0;
var last = interfaces.length;
while (inductionVariable < last) {
var i = interfaces[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
var currentSize = maxSize;
var tmp0_elvis_lhs = i.prototype.$imask$;
var imask = tmp0_elvis_lhs == null ? i.$imask$ : tmp0_elvis_lhs;
if (!(imask == null)) {
masks.push(imask);
currentSize = imask.length;
}
var iid = i.$metadata$.iid;
var tmp;
if (iid == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = bitMaskWith(iid);
}
var iidImask = tmp;
if (!(iidImask == null)) {
masks.push(iidImask);
currentSize = Math.max(currentSize, iidImask.length);
}
if (currentSize > maxSize) {
maxSize = currentSize;
}
}
return compositeBitMask(maxSize, masks);
}
function bitMaskWith(activeBit) {
var numberIndex = activeBit >> 5;
var intArray = new Int32Array(numberIndex + 1 | 0);
var positionInNumber = activeBit & 31;
var numberWithSettledBit = 1 << positionInNumber;
intArray[numberIndex] = intArray[numberIndex] | numberWithSettledBit;
return intArray;
}
function compositeBitMask(capacity, masks) {
var tmp = 0;
var tmp_0 = new Int32Array(capacity);
while (tmp < capacity) {
var tmp_1 = tmp;
var result = 0;
var inductionVariable = 0;
var last = masks.length;
while (inductionVariable < last) {
var mask = masks[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
if (tmp_1 < mask.length) {
result = result | mask[tmp_1];
}
}
tmp_0[tmp_1] = result;
tmp = tmp + 1 | 0;
}
return tmp_0;
}
function isBitSet(_this__u8e3s4, possibleActiveBit) {
var numberIndex = possibleActiveBit >> 5;
if (numberIndex > _this__u8e3s4.length)
return false;
var positionInNumber = possibleActiveBit & 31;
var numberWithSettledBit = 1 << positionInNumber;
return !((_this__u8e3s4[numberIndex] & numberWithSettledBit) === 0);
}
function FunctionAdapter() {
}
function arrayIterator(array) {
return new arrayIterator$1(array);
}
function booleanArray(size) {
var tmp0 = 'BooleanArray';
// Inline function 'withType' call
var array = fillArrayVal(Array(size), false);
array.$type$ = tmp0;
// Inline function 'kotlin.js.unsafeCast' call
return array;
}
function fillArrayVal(array, initValue) {
var inductionVariable = 0;
var last = array.length - 1 | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
array[i] = initValue;
}
while (!(i === last));
return array;
}
function longArray(size) {
var tmp0 = 'LongArray';
// Inline function 'withType' call
var array = fillArrayVal(Array(size), new Long(0, 0));
array.$type$ = tmp0;
// Inline function 'kotlin.js.unsafeCast' call
return array;
}
function charArrayOf(arr) {
var tmp0 = 'CharArray';
// Inline function 'withType' call
var array = new Uint16Array(arr);
array.$type$ = tmp0;
// Inline function 'kotlin.js.unsafeCast' call
return array;
}
function arrayIterator$1($array) {
this.i3_1 = $array;
this.h3_1 = 0;
}
protoOf(arrayIterator$1).n = function () {
return !(this.h3_1 === this.i3_1.length);
};
protoOf(arrayIterator$1).o = function () {
var tmp;
if (!(this.h3_1 === this.i3_1.length)) {
var _unary__edvuaz = this.h3_1;
this.h3_1 = _unary__edvuaz + 1 | 0;
tmp = this.i3_1[_unary__edvuaz];
} else {
throw NoSuchElementException_init_$Create$_0('' + this.h3_1);
}
return tmp;
};
function get_buf() {
_init_properties_bitUtils_kt__nfcg4k();
return buf;
}
var buf;
function get_bufFloat64() {
_init_properties_bitUtils_kt__nfcg4k();
return bufFloat64;
}
var bufFloat64;
var bufFloat32;
function get_bufInt32() {
_init_properties_bitUtils_kt__nfcg4k();
return bufInt32;
}
var bufInt32;
function get_lowIndex() {
_init_properties_bitUtils_kt__nfcg4k();
return lowIndex;
}
var lowIndex;
function get_highIndex() {
_init_properties_bitUtils_kt__nfcg4k();
return highIndex;
}
var highIndex;
function doubleSignBit(value) {
_init_properties_bitUtils_kt__nfcg4k();
get_bufFloat64()[0] = value;
return get_bufInt32()[get_highIndex()] & -2147483648;
}
function getNumberHashCode(obj) {
_init_properties_bitUtils_kt__nfcg4k();
// Inline function 'kotlin.js.jsBitwiseOr' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
if ((obj | 0) === obj) {
return numberToInt(obj);
}
get_bufFloat64()[0] = obj;
return imul(get_bufInt32()[get_highIndex()], 31) + get_bufInt32()[get_lowIndex()] | 0;
}
var properties_initialized_bitUtils_kt_i2bo3e;
function _init_properties_bitUtils_kt__nfcg4k() {
if (!properties_initialized_bitUtils_kt_i2bo3e) {
properties_initialized_bitUtils_kt_i2bo3e = true;
buf = new ArrayBuffer(8);
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
bufFloat64 = new Float64Array(get_buf());
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
bufFloat32 = new Float32Array(get_buf());
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
bufInt32 = new Int32Array(get_buf());
// Inline function 'kotlin.run' call
get_bufFloat64()[0] = -1.0;
lowIndex = !(get_bufInt32()[0] === 0) ? 1 : 0;
highIndex = 1 - get_lowIndex() | 0;
}
}
function charSequenceGet(a, index) {
var tmp;
if (isString(a)) {
tmp = charCodeAt(a, index);
} else {
tmp = a.b(index);
}
return tmp;
}
function isString(a) {
return typeof a === 'string';
}
function charCodeAt(_this__u8e3s4, index) {
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.charCodeAt(index);
}
function charSequenceLength(a) {
var tmp;
if (isString(a)) {
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
tmp = a.length;
} else {
tmp = a.a();
}
return tmp;
}
function charSequenceSubSequence(a, startIndex, endIndex) {
var tmp;
if (isString(a)) {
tmp = substring(a, startIndex, endIndex);
} else {
tmp = a.c(startIndex, endIndex);
}
return tmp;
}
function arrayToString(array) {
return joinToString(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
}
function contentEqualsInternal(_this__u8e3s4, other) {
// Inline function 'kotlin.js.asDynamic' call
var a = _this__u8e3s4;
// Inline function 'kotlin.js.asDynamic' call
var b = other;
if (a === b)
return true;
if (a == null || b == null || !isArrayish(b) || a.length != b.length)
return false;
var inductionVariable = 0;
var last = a.length;
if (inductionVariable < last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (!equals(a[i], b[i])) {
return false;
}
}
while (inductionVariable < last);
return true;
}
function contentHashCodeInternal(_this__u8e3s4) {
// Inline function 'kotlin.js.asDynamic' call
var a = _this__u8e3s4;
if (a == null)
return 0;
var result = 1;
var inductionVariable = 0;
var last = a.length;
if (inductionVariable < last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
result = imul(result, 31) + hashCode(a[i]) | 0;
}
while (inductionVariable < last);
return result;
}
function arrayToString$lambda(it) {
return toString_1(it);
}
function compareTo(a, b) {
var tmp;
switch (typeof a) {
case 'number':
var tmp_0;
if (typeof b === 'number') {
tmp_0 = doubleCompareTo(a, b);
} else {
if (b instanceof Long) {
tmp_0 = doubleCompareTo(a, b.f3());
} else {
tmp_0 = primitiveCompareTo(a, b);
}
}
tmp = tmp_0;
break;
case 'string':
case 'boolean':
tmp = primitiveCompareTo(a, b);
break;
default:
tmp = compareToDoNotIntrinsicify(a, b);
break;
}
return tmp;
}
function doubleCompareTo(a, b) {
var tmp;
if (a < b) {
tmp = -1;
} else if (a > b) {
tmp = 1;
} else if (a === b) {
var tmp_0;
if (a !== 0) {
tmp_0 = 0;
} else {
// Inline function 'kotlin.js.asDynamic' call
var ia = 1 / a;
var tmp_1;
// Inline function 'kotlin.js.asDynamic' call
if (ia === 1 / b) {
tmp_1 = 0;
} else {
if (ia < 0) {
tmp_1 = -1;
} else {
tmp_1 = 1;
}
}
tmp_0 = tmp_1;
}
tmp = tmp_0;
} else if (a !== a) {
tmp = b !== b ? 0 : 1;
} else {
tmp = -1;
}
return tmp;
}
function primitiveCompareTo(a, b) {
return a < b ? -1 : a > b ? 1 : 0;
}
function compareToDoNotIntrinsicify(a, b) {
return a.d(b);
}
function identityHashCode(obj) {
return getObjectHashCode(obj);
}
function getObjectHashCode(obj) {
// Inline function 'kotlin.js.jsIn' call
if (!('kotlinHashCodeValue$' in obj)) {
var hash = calculateRandomHash();
var descriptor = new Object();
descriptor.value = hash;
descriptor.enumerable = false;
Object.defineProperty(obj, 'kotlinHashCodeValue$', descriptor);
}
// Inline function 'kotlin.js.unsafeCast' call
return obj['kotlinHashCodeValue$'];
}
function calculateRandomHash() {
// Inline function 'kotlin.js.jsBitwiseOr' call
return Math.random() * 4.294967296E9 | 0;
}
function objectCreate(proto) {
proto = proto === VOID ? null : proto;
return Object.create(proto);
}
function defineProp(obj, name, getter, setter) {
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter});
}
function toString_1(o) {
var tmp;
if (o == null) {
tmp = 'null';
} else if (isArrayish(o)) {
tmp = '[...]';
} else if (!(typeof o.toString === 'function')) {
tmp = anyToString(o);
} else {
// Inline function 'kotlin.js.unsafeCast' call
tmp = o.toString();
}
return tmp;
}
function equals(obj1, obj2) {
if (obj1 == null) {
return obj2 == null;
}
if (obj2 == null) {
return false;
}
if (typeof obj1 === 'object' && typeof obj1.equals === 'function') {
return obj1.equals(obj2);
}
if (obj1 !== obj1) {
return obj2 !== obj2;
}
if (typeof obj1 === 'number' && typeof obj2 === 'number') {
var tmp;
if (obj1 === obj2) {
var tmp_0;
if (obj1 !== 0) {
tmp_0 = true;
} else {
// Inline function 'kotlin.js.asDynamic' call
var tmp_1 = 1 / obj1;
// Inline function 'kotlin.js.asDynamic' call
tmp_0 = tmp_1 === 1 / obj2;
}
tmp = tmp_0;
} else {
tmp = false;
}
return tmp;
}
return obj1 === obj2;
}
function hashCode(obj) {
if (obj == null)
return 0;
var typeOf = typeof obj;
var tmp;
switch (typeOf) {
case 'object':
tmp = 'function' === typeof obj.hashCode ? obj.hashCode() : getObjectHashCode(obj);
break;
case 'function':
tmp = getObjectHashCode(obj);
break;
case 'number':
tmp = getNumberHashCode(obj);
break;
case 'boolean':
// Inline function 'kotlin.js.unsafeCast' call
tmp = getBooleanHashCode(obj);
break;
case 'string':
tmp = getStringHashCode(String(obj));
break;
case 'bigint':
tmp = getBigIntHashCode(obj);
break;
case 'symbol':
tmp = getSymbolHashCode(obj);
break;
default:
tmp = function () {
throw new Error('Unexpected typeof `' + typeOf + '`');
}();
break;
}
return tmp;
}
function anyToString(o) {
return Object.prototype.toString.call(o);
}
function getBooleanHashCode(value) {
return value ? 1231 : 1237;
}
function getStringHashCode(str) {
var hash = 0;
var length = str.length;
var inductionVariable = 0;
var last = length - 1 | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.js.asDynamic' call
var code = str.charCodeAt(i);
hash = imul(hash, 31) + code | 0;
}
while (!(i === last));
return hash;
}
function getBigIntHashCode(value) {
var shiftNumber = BigInt(32);
var MASK = BigInt(4.294967295E9);
var bigNumber = value < 0 ? -value : value;
var hashCode = 0;
var signum = value < 0 ? -1 : 1;
while (bigNumber != 0) {
// Inline function 'kotlin.js.unsafeCast' call
var chunk = Number(bigNumber & MASK);
hashCode = imul(31, hashCode) + chunk | 0;
bigNumber = bigNumber >> shiftNumber;
}
return imul(hashCode, signum);
}
function getSymbolHashCode(value) {
var hashCodeMap = symbolIsSharable(value) ? getSymbolMap() : getSymbolWeakMap();
var cachedHashCode = hashCodeMap.get(value);
if (cachedHashCode !== VOID)
return cachedHashCode;
var hash = calculateRandomHash();
hashCodeMap.set(value, hash);
return hash;
}
function symbolIsSharable(symbol) {
return Symbol.keyFor(symbol) != VOID;
}
function getSymbolMap() {
if (symbolMap === VOID) {
symbolMap = new Map();
}
return symbolMap;
}
function getSymbolWeakMap() {
if (symbolWeakMap === VOID) {
symbolWeakMap = new WeakMap();
}
return symbolWeakMap;
}
var symbolMap;
var symbolWeakMap;
function boxIntrinsic(x) {
var message = 'Should be lowered';
throw IllegalStateException_init_$Create$_0(toString_1(message));
}
function unboxIntrinsic(x) {
var message = 'Should be lowered';
throw IllegalStateException_init_$Create$_0(toString_1(message));
}
function captureStack(instance, constructorFunction) {
if (Error.captureStackTrace != null) {
Error.captureStackTrace(instance, constructorFunction);
} else {
// Inline function 'kotlin.js.asDynamic' call
instance.stack = (new Error()).stack;
}
}
function protoOf(constructor) {
return constructor.prototype;
}
function defineMessage(message, cause) {
var tmp;
if (isUndefined(message)) {
var tmp_0;
if (isUndefined(cause)) {
tmp_0 = message;
} else {
var tmp1_elvis_lhs = cause == null ? null : cause.toString();
tmp_0 = tmp1_elvis_lhs == null ? VOID : tmp1_elvis_lhs;
}
tmp = tmp_0;
} else {
tmp = message == null ? VOID : message;
}
return tmp;
}
function isUndefined(value) {
return value === VOID;
}
function extendThrowable(this_, message, cause) {
defineFieldOnInstance(this_, 'message', defineMessage(message, cause));
defineFieldOnInstance(this_, 'cause', cause);
defineFieldOnInstance(this_, 'name', Object.getPrototypeOf(this_).constructor.name);
}
function defineFieldOnInstance(this_, name, value) {
Object.defineProperty(this_, name, {configurable: true, writable: true, value: value});
}
function ensureNotNull(v) {
var tmp;
if (v == null) {
THROW_NPE();
} else {
tmp = v;
}
return tmp;
}
function THROW_NPE() {
throw NullPointerException_init_$Create$();
}
function noWhenBranchMatchedException() {
throw NoWhenBranchMatchedException_init_$Create$();
}
function THROW_CCE() {
throw ClassCastException_init_$Create$();
}
function get_ZERO() {
_init_properties_longJs_kt__elc2w5();
return ZERO;
}
var ZERO;
function get_ONE() {
_init_properties_longJs_kt__elc2w5();
return ONE;
}
var ONE;
function get_NEG_ONE() {
_init_properties_longJs_kt__elc2w5();
return NEG_ONE;
}
var NEG_ONE;
function get_MAX_VALUE() {
_init_properties_longJs_kt__elc2w5();
return MAX_VALUE;
}
var MAX_VALUE;
function get_MIN_VALUE() {
_init_properties_longJs_kt__elc2w5();
return MIN_VALUE;
}
var MIN_VALUE;
function get_TWO_PWR_24_() {
_init_properties_longJs_kt__elc2w5();
return TWO_PWR_24_;
}
var TWO_PWR_24_;
function compare(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
if (equalsLong(_this__u8e3s4, other)) {
return 0;
}
var thisNeg = isNegative(_this__u8e3s4);
var otherNeg = isNegative(other);
return thisNeg && !otherNeg ? -1 : !thisNeg && otherNeg ? 1 : isNegative(subtract(_this__u8e3s4, other)) ? -1 : 1;
}
function add(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
var a48 = _this__u8e3s4.o2_1 >>> 16 | 0;
var a32 = _this__u8e3s4.o2_1 & 65535;
var a16 = _this__u8e3s4.n2_1 >>> 16 | 0;
var a00 = _this__u8e3s4.n2_1 & 65535;
var b48 = other.o2_1 >>> 16 | 0;
var b32 = other.o2_1 & 65535;
var b16 = other.n2_1 >>> 16 | 0;
var b00 = other.n2_1 & 65535;
var c48 = 0;
var c32 = 0;
var c16 = 0;
var c00 = 0;
c00 = c00 + (a00 + b00 | 0) | 0;
c16 = c16 + (c00 >>> 16 | 0) | 0;
c00 = c00 & 65535;
c16 = c16 + (a16 + b16 | 0) | 0;
c32 = c32 + (c16 >>> 16 | 0) | 0;
c16 = c16 & 65535;
c32 = c32 + (a32 + b32 | 0) | 0;
c48 = c48 + (c32 >>> 16 | 0) | 0;
c32 = c32 & 65535;
c48 = c48 + (a48 + b48 | 0) | 0;
c48 = c48 & 65535;
return new Long(c16 << 16 | c00, c48 << 16 | c32);
}
function subtract(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return add(_this__u8e3s4, other.w2());
}
function multiply(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
if (isZero(_this__u8e3s4)) {
return get_ZERO();
} else if (isZero(other)) {
return get_ZERO();
}
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
return isOdd(other) ? get_MIN_VALUE() : get_ZERO();
} else if (equalsLong(other, get_MIN_VALUE())) {
return isOdd(_this__u8e3s4) ? get_MIN_VALUE() : get_ZERO();
}
if (isNegative(_this__u8e3s4)) {
var tmp;
if (isNegative(other)) {
tmp = multiply(negate(_this__u8e3s4), negate(other));
} else {
tmp = negate(multiply(negate(_this__u8e3s4), other));
}
return tmp;
} else if (isNegative(other)) {
return negate(multiply(_this__u8e3s4, negate(other)));
}
if (lessThan(_this__u8e3s4, get_TWO_PWR_24_()) && lessThan(other, get_TWO_PWR_24_())) {
return fromNumber(toNumber(_this__u8e3s4) * toNumber(other));
}
var a48 = _this__u8e3s4.o2_1 >>> 16 | 0;
var a32 = _this__u8e3s4.o2_1 & 65535;
var a16 = _this__u8e3s4.n2_1 >>> 16 | 0;
var a00 = _this__u8e3s4.n2_1 & 65535;
var b48 = other.o2_1 >>> 16 | 0;
var b32 = other.o2_1 & 65535;
var b16 = other.n2_1 >>> 16 | 0;
var b00 = other.n2_1 & 65535;
var c48 = 0;
var c32 = 0;
var c16 = 0;
var c00 = 0;
c00 = c00 + imul(a00, b00) | 0;
c16 = c16 + (c00 >>> 16 | 0) | 0;
c00 = c00 & 65535;
c16 = c16 + imul(a16, b00) | 0;
c32 = c32 + (c16 >>> 16 | 0) | 0;
c16 = c16 & 65535;
c16 = c16 + imul(a00, b16) | 0;
c32 = c32 + (c16 >>> 16 | 0) | 0;
c16 = c16 & 65535;
c32 = c32 + imul(a32, b00) | 0;
c48 = c48 + (c32 >>> 16 | 0) | 0;
c32 = c32 & 65535;
c32 = c32 + imul(a16, b16) | 0;
c48 = c48 + (c32 >>> 16 | 0) | 0;
c32 = c32 & 65535;
c32 = c32 + imul(a00, b32) | 0;
c48 = c48 + (c32 >>> 16 | 0) | 0;
c32 = c32 & 65535;
c48 = c48 + (((imul(a48, b00) + imul(a32, b16) | 0) + imul(a16, b32) | 0) + imul(a00, b48) | 0) | 0;
c48 = c48 & 65535;
return new Long(c16 << 16 | c00, c48 << 16 | c32);
}
function divide(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
if (isZero(other)) {
throw Exception_init_$Create$_0('division by zero');
} else if (isZero(_this__u8e3s4)) {
return get_ZERO();
}
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
if (equalsLong(other, get_ONE()) || equalsLong(other, get_NEG_ONE())) {
return get_MIN_VALUE();
} else if (equalsLong(other, get_MIN_VALUE())) {
return get_ONE();
} else {
var halfThis = shiftRight(_this__u8e3s4, 1);
var approx = shiftLeft(halfThis.t2(other), 1);
if (equalsLong(approx, get_ZERO())) {
return isNegative(other) ? get_ONE() : get_NEG_ONE();
} else {
var rem = subtract(_this__u8e3s4, multiply(other, approx));
return add(approx, rem.t2(other));
}
}
} else if (equalsLong(other, get_MIN_VALUE())) {
return get_ZERO();
}
if (isNegative(_this__u8e3s4)) {
var tmp;
if (isNegative(other)) {
tmp = negate(_this__u8e3s4).t2(negate(other));
} else {
tmp = negate(negate(_this__u8e3s4).t2(other));
}
return tmp;
} else if (isNegative(other)) {
return negate(_this__u8e3s4.t2(negate(other)));
}
var res = get_ZERO();
var rem_0 = _this__u8e3s4;
while (greaterThanOrEqual(rem_0, other)) {
var approxDouble = toNumber(rem_0) / toNumber(other);
var approx2 = Math.max(1.0, Math.floor(approxDouble));
var log2 = Math.ceil(Math.log(approx2) / Math.LN2);
var delta = log2 <= 48 ? 1.0 : Math.pow(2.0, log2 - 48);
var approxRes = fromNumber(approx2);
var approxRem = multiply(approxRes, other);
while (isNegative(approxRem) || greaterThan(approxRem, rem_0)) {
approx2 = approx2 - delta;
approxRes = fromNumber(approx2);
approxRem = multiply(approxRes, other);
}
if (isZero(approxRes)) {
approxRes = get_ONE();
}
res = add(res, approxRes);
rem_0 = subtract(rem_0, approxRem);
}
return res;
}
function modulo(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return subtract(_this__u8e3s4, multiply(_this__u8e3s4.t2(other), other));
}
function shiftLeft(_this__u8e3s4, numBits) {
_init_properties_longJs_kt__elc2w5();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.n2_1 << numBits_0, _this__u8e3s4.o2_1 << numBits_0 | (_this__u8e3s4.n2_1 >>> (32 - numBits_0 | 0) | 0));
} else {
return new Long(0, _this__u8e3s4.n2_1 << (numBits_0 - 32 | 0));
}
}
}
function shiftRight(_this__u8e3s4, numBits) {
_init_properties_longJs_kt__elc2w5();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.n2_1 >>> numBits_0 | 0 | _this__u8e3s4.o2_1 << (32 - numBits_0 | 0), _this__u8e3s4.o2_1 >> numBits_0);
} else {
return new Long(_this__u8e3s4.o2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.o2_1 >= 0 ? 0 : -1);
}
}
}
function shiftRightUnsigned(_this__u8e3s4, numBits) {
_init_properties_longJs_kt__elc2w5();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.n2_1 >>> numBits_0 | 0 | _this__u8e3s4.o2_1 << (32 - numBits_0 | 0), _this__u8e3s4.o2_1 >>> numBits_0 | 0);
} else {
var tmp;
if (numBits_0 === 32) {
tmp = new Long(_this__u8e3s4.o2_1, 0);
} else {
tmp = new Long(_this__u8e3s4.o2_1 >>> (numBits_0 - 32 | 0) | 0, 0);
}
return tmp;
}
}
}
function toNumber(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.o2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
}
function toStringImpl(_this__u8e3s4, radix) {
_init_properties_longJs_kt__elc2w5();
if (radix < 2 || 36 < radix) {
throw Exception_init_$Create$_0('radix out of range: ' + radix);
}
if (isZero(_this__u8e3s4)) {
return '0';
}
if (isNegative(_this__u8e3s4)) {
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
var radixLong = fromInt(radix);
var div = _this__u8e3s4.t2(radixLong);
var rem = subtract(multiply(div, radixLong), _this__u8e3s4).e3();
var tmp = toStringImpl(div, radix);
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
return tmp + rem.toString(radix);
} else {
return '-' + toStringImpl(negate(_this__u8e3s4), radix);
}
}
var digitsPerTime = radix === 2 ? 31 : radix <= 10 ? 9 : radix <= 21 ? 7 : radix <= 35 ? 6 : 5;
var radixToPower = fromNumber(Math.pow(radix, digitsPerTime));
var rem_0 = _this__u8e3s4;
var result = '';
while (true) {
var remDiv = rem_0.t2(radixToPower);
var intval = subtract(rem_0, multiply(remDiv, radixToPower)).e3();
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var digits = intval.toString(radix);
rem_0 = remDiv;
if (isZero(rem_0)) {
return digits + result;
} else {
while (digits.length < digitsPerTime) {
digits = '0' + digits;
}
result = digits + result;
}
}
}
function equalsLong(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.o2_1 === other.o2_1 && _this__u8e3s4.n2_1 === other.n2_1;
}
function hashCode_0(l) {
_init_properties_longJs_kt__elc2w5();
return l.n2_1 ^ l.o2_1;
}
function fromInt(value) {
_init_properties_longJs_kt__elc2w5();
return new Long(value, value < 0 ? -1 : 0);
}
function isNegative(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.o2_1 < 0;
}
function isZero(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.o2_1 === 0 && _this__u8e3s4.n2_1 === 0;
}
function isOdd(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return (_this__u8e3s4.n2_1 & 1) === 1;
}
function negate(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.w2();
}
function lessThan(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return compare(_this__u8e3s4, other) < 0;
}
function fromNumber(value) {
_init_properties_longJs_kt__elc2w5();
if (isNaN_0(value)) {
return get_ZERO();
} else if (value <= -9.223372036854776E18) {
return get_MIN_VALUE();
} else if (value + 1 >= 9.223372036854776E18) {
return get_MAX_VALUE();
} else if (value < 0) {
return negate(fromNumber(-value));
} else {
var twoPwr32 = 4.294967296E9;
// Inline function 'kotlin.js.jsBitwiseOr' call
var tmp = value % twoPwr32 | 0;
// Inline function 'kotlin.js.jsBitwiseOr' call
var tmp$ret$1 = value / twoPwr32 | 0;
return new Long(tmp, tmp$ret$1);
}
}
function greaterThan(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return compare(_this__u8e3s4, other) > 0;
}
function greaterThanOrEqual(_this__u8e3s4, other) {
_init_properties_longJs_kt__elc2w5();
return compare(_this__u8e3s4, other) >= 0;
}
function getLowBitsUnsigned(_this__u8e3s4) {
_init_properties_longJs_kt__elc2w5();
return _this__u8e3s4.n2_1 >= 0 ? _this__u8e3s4.n2_1 : 4.294967296E9 + _this__u8e3s4.n2_1;
}
var properties_initialized_longJs_kt_4syf89;
function _init_properties_longJs_kt__elc2w5() {
if (!properties_initialized_longJs_kt_4syf89) {
properties_initialized_longJs_kt_4syf89 = true;
ZERO = fromInt(0);
ONE = fromInt(1);
NEG_ONE = fromInt(-1);
MAX_VALUE = new Long(-1, 2147483647);
MIN_VALUE = new Long(0, -2147483648);
TWO_PWR_24_ = fromInt(16777216);
}
}
function createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
var undef = VOID;
var iid = kind === 'interface' ? generateInterfaceId() : VOID;
return {kind: kind, simpleName: name, associatedObjectKey: associatedObjectKey, associatedObjects: associatedObjects, suspendArity: suspendArity, $kClass$: undef, defaultConstructor: defaultConstructor, iid: iid};
}
function generateInterfaceId() {
if (globalInterfaceId === VOID) {
globalInterfaceId = 0;
}
// Inline function 'kotlin.js.unsafeCast' call
globalInterfaceId = globalInterfaceId + 1 | 0;
// Inline function 'kotlin.js.unsafeCast' call
return globalInterfaceId;
}
var globalInterfaceId;
function initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) {
if (!(parent == null)) {
ctor.prototype = Object.create(parent.prototype);
ctor.prototype.constructor = ctor;
}
var metadata = createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity);
ctor.$metadata$ = metadata;
if (!(interfaces == null)) {
var receiver = !equals(metadata.iid, VOID) ? ctor : ctor.prototype;
receiver.$imask$ = implement(interfaces);
}
}
function initMetadataForClass(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) {
var kind = 'class';
initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects);
}
function initMetadataForObject(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) {
var kind = 'object';
initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects);
}
function initMetadataForInterface(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) {
var kind = 'interface';
initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects);
}
function initMetadataForLambda(ctor, parent, interfaces, suspendArity) {
initMetadataForClass(ctor, 'Lambda', VOID, parent, interfaces, suspendArity, VOID, VOID);
}
function initMetadataForCoroutine(ctor, parent, interfaces, suspendArity) {
initMetadataForClass(ctor, 'Coroutine', VOID, parent, interfaces, suspendArity, VOID, VOID);
}
function initMetadataForFunctionReference(ctor, parent, interfaces, suspendArity) {
initMetadataForClass(ctor, 'FunctionReference', VOID, parent, interfaces, suspendArity, VOID, VOID);
}
function initMetadataForCompanion(ctor, parent, interfaces, suspendArity) {
initMetadataForObject(ctor, 'Companion', VOID, parent, interfaces, suspendArity, VOID, VOID);
}
function arrayConcat(args) {
var len = args.length;
// Inline function 'kotlin.js.unsafeCast' call
var typed = Array(len);
var inductionVariable = 0;
var last = len - 1 | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var arr = args[i];
if (!(!(arr == null) ? isArray(arr) : false)) {
typed[i] = [].slice.call(arr);
} else {
typed[i] = arr;
}
}
while (!(i === last));
return [].concat.apply([], typed);
}
function toByte(a) {
// Inline function 'kotlin.js.unsafeCast' call
return a << 24 >> 24;
}
function numberToInt(a) {
var tmp;
if (a instanceof Long) {
tmp = a.e3();
} else {
tmp = doubleToInt(a);
}
return tmp;
}
function doubleToInt(a) {
var tmp;
if (a > 2147483647) {
tmp = 2147483647;
} else if (a < -2147483648) {
tmp = -2147483648;
} else {
// Inline function 'kotlin.js.jsBitwiseOr' call
tmp = a | 0;
}
return tmp;
}
function numberToDouble(a) {
// Inline function 'kotlin.js.unsafeCast' call
return +a;
}
function toShort(a) {
// Inline function 'kotlin.js.unsafeCast' call
return a << 16 >> 16;
}
function numberToLong(a) {
var tmp;
if (a instanceof Long) {
tmp = a;
} else {
tmp = fromNumber(a);
}
return tmp;
}
function numberToChar(a) {
// Inline function 'kotlin.toUShort' call
var this_0 = numberToInt(a);
var tmp$ret$0 = _UShort___init__impl__jigrne(toShort(this_0));
return _Char___init__impl__6a9atx_0(tmp$ret$0);
}
function toLong(a) {
return fromInt(a);
}
function ByteCompanionObject() {
this.MIN_VALUE = -128;
this.MAX_VALUE = 127;
this.SIZE_BYTES = 1;
this.SIZE_BITS = 8;
}
protoOf(ByteCompanionObject).j3 = function () {
return this.MIN_VALUE;
};
protoOf(ByteCompanionObject).k3 = function () {
return this.MAX_VALUE;
};
protoOf(ByteCompanionObject).l3 = function () {
return this.SIZE_BYTES;
};
protoOf(ByteCompanionObject).m3 = function () {
return this.SIZE_BITS;
};
var ByteCompanionObject_instance;
function ByteCompanionObject_getInstance() {
return ByteCompanionObject_instance;
}
function ShortCompanionObject() {
this.MIN_VALUE = -32768;
this.MAX_VALUE = 32767;
this.SIZE_BYTES = 2;
this.SIZE_BITS = 16;
}
protoOf(ShortCompanionObject).j3 = function () {
return this.MIN_VALUE;
};
protoOf(ShortCompanionObject).k3 = function () {
return this.MAX_VALUE;
};
protoOf(ShortCompanionObject).l3 = function () {
return this.SIZE_BYTES;
};
protoOf(ShortCompanionObject).m3 = function () {
return this.SIZE_BITS;
};
var ShortCompanionObject_instance;
function ShortCompanionObject_getInstance() {
return ShortCompanionObject_instance;
}
function IntCompanionObject() {
this.MIN_VALUE = -2147483648;
this.MAX_VALUE = 2147483647;
this.SIZE_BYTES = 4;
this.SIZE_BITS = 32;
}
protoOf(IntCompanionObject).j3 = function () {
return this.MIN_VALUE;
};
protoOf(IntCompanionObject).k3 = function () {
return this.MAX_VALUE;
};
protoOf(IntCompanionObject).l3 = function () {
return this.SIZE_BYTES;
};
protoOf(IntCompanionObject).m3 = function () {
return this.SIZE_BITS;
};
var IntCompanionObject_instance;
function IntCompanionObject_getInstance() {
return IntCompanionObject_instance;
}
function FloatCompanionObject() {
this.MIN_VALUE = 1.4E-45;
this.MAX_VALUE = 3.4028235E38;
this.POSITIVE_INFINITY = Infinity;
this.NEGATIVE_INFINITY = -Infinity;
this.NaN = NaN;
this.SIZE_BYTES = 4;
this.SIZE_BITS = 32;
}
protoOf(FloatCompanionObject).j3 = function () {
return this.MIN_VALUE;
};
protoOf(FloatCompanionObject).k3 = function () {
return this.MAX_VALUE;
};
protoOf(FloatCompanionObject).n3 = function () {
return this.POSITIVE_INFINITY;
};
protoOf(FloatCompanionObject).o3 = function () {
return this.NEGATIVE_INFINITY;
};
protoOf(FloatCompanionObject).p3 = function () {
return this.NaN;
};
protoOf(FloatCompanionObject).l3 = function () {
return this.SIZE_BYTES;
};
protoOf(FloatCompanionObject).m3 = function () {
return this.SIZE_BITS;
};
var FloatCompanionObject_instance;
function FloatCompanionObject_getInstance() {
return FloatCompanionObject_instance;
}
function DoubleCompanionObject() {
this.MIN_VALUE = 4.9E-324;
this.MAX_VALUE = 1.7976931348623157E308;
this.POSITIVE_INFINITY = Infinity;
this.NEGATIVE_INFINITY = -Infinity;
this.NaN = NaN;
this.SIZE_BYTES = 8;
this.SIZE_BITS = 64;
}
protoOf(DoubleCompanionObject).j3 = function () {
return this.MIN_VALUE;
};
protoOf(DoubleCompanionObject).k3 = function () {
return this.MAX_VALUE;
};
protoOf(DoubleCompanionObject).n3 = function () {
return this.POSITIVE_INFINITY;
};
protoOf(DoubleCompanionObject).o3 = function () {
return this.NEGATIVE_INFINITY;
};
protoOf(DoubleCompanionObject).p3 = function () {
return this.NaN;
};
protoOf(DoubleCompanionObject).l3 = function () {
return this.SIZE_BYTES;
};
protoOf(DoubleCompanionObject).m3 = function () {
return this.SIZE_BITS;
};
var DoubleCompanionObject_instance;
function DoubleCompanionObject_getInstance() {
return DoubleCompanionObject_instance;
}
function StringCompanionObject() {
}
var StringCompanionObject_instance;
function StringCompanionObject_getInstance() {
return StringCompanionObject_instance;
}
function BooleanCompanionObject() {
}
var BooleanCompanionObject_instance;
function BooleanCompanionObject_getInstance() {
return BooleanCompanionObject_instance;
}
function numberRangeToNumber(start, endInclusive) {
return new IntRange(start, endInclusive);
}
function get_propertyRefClassMetadataCache() {
_init_properties_reflectRuntime_kt__5r4uu3();
return propertyRefClassMetadataCache;
}
var propertyRefClassMetadataCache;
function metadataObject() {
_init_properties_reflectRuntime_kt__5r4uu3();
return createMetadata('class', VOID, VOID, VOID, VOID, VOID);
}
function getPropertyCallableRef(name, paramCount, superType, getter, setter) {
_init_properties_reflectRuntime_kt__5r4uu3();
getter.get = getter;
getter.set = setter;
getter.callableName = name;
// Inline function 'kotlin.js.unsafeCast' call
return getPropertyRefClass(getter, getKPropMetadata(paramCount, setter), getInterfaceMaskFor(getter, superType));
}
function getPropertyRefClass(obj, metadata, imask) {
_init_properties_reflectRuntime_kt__5r4uu3();
obj.$metadata$ = metadata;
obj.constructor = obj;
obj.$imask$ = imask;
return obj;
}
function getKPropMetadata(paramCount, setter) {
_init_properties_reflectRuntime_kt__5r4uu3();
return get_propertyRefClassMetadataCache()[paramCount][setter == null ? 0 : 1];
}
function getInterfaceMaskFor(obj, superType) {
_init_properties_reflectRuntime_kt__5r4uu3();
var tmp0_elvis_lhs = obj.$imask$;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$2 = [superType];
tmp = implement(tmp$ret$2);
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
var properties_initialized_reflectRuntime_kt_inkhwd;
function _init_properties_reflectRuntime_kt__5r4uu3() {
if (!properties_initialized_reflectRuntime_kt_inkhwd) {
properties_initialized_reflectRuntime_kt_inkhwd = true;
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp = [metadataObject(), metadataObject()];
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp_0 = [metadataObject(), metadataObject()];
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
propertyRefClassMetadataCache = [tmp, tmp_0, [metadataObject(), metadataObject()]];
}
}
function isArrayish(o) {
return isJsArray(o) || isView(o);
}
function isJsArray(obj) {
// Inline function 'kotlin.js.unsafeCast' call
return Array.isArray(obj);
}
function isInterface(obj, iface) {
return isInterfaceImpl(obj, iface.$metadata$.iid);
}
function isInterfaceImpl(obj, iface) {
// Inline function 'kotlin.js.unsafeCast' call
var tmp0_elvis_lhs = obj.$imask$;
var tmp;
if (tmp0_elvis_lhs == null) {
return false;
} else {
tmp = tmp0_elvis_lhs;
}
var mask = tmp;
return isBitSet(mask, iface);
}
function isArray(obj) {
var tmp;
if (isJsArray(obj)) {
// Inline function 'kotlin.js.asDynamic' call
tmp = !obj.$type$;
} else {
tmp = false;
}
return tmp;
}
function isNumber(a) {
var tmp;
if (typeof a === 'number') {
tmp = true;
} else {
tmp = a instanceof Long;
}
return tmp;
}
function isComparable(value) {
var type = typeof value;
return type === 'string' || type === 'boolean' || isNumber(value) || isInterface(value, Comparable);
}
function isCharSequence(value) {
return typeof value === 'string' || isInterface(value, CharSequence);
}
function isBooleanArray(a) {
return isJsArray(a) && a.$type$ === 'BooleanArray';
}
function isByteArray(a) {
// Inline function 'kotlin.js.jsInstanceOf' call
return a instanceof Int8Array;
}
function isShortArray(a) {
// Inline function 'kotlin.js.jsInstanceOf' call
return a instanceof Int16Array;
}
function isCharArray(a) {
var tmp;
// Inline function 'kotlin.js.jsInstanceOf' call
if (a instanceof Uint16Array) {
tmp = a.$type$ === 'CharArray';
} else {
tmp = false;
}
return tmp;
}
function isIntArray(a) {
// Inline function 'kotlin.js.jsInstanceOf' call
return a instanceof Int32Array;
}
function isFloatArray(a) {
// Inline function 'kotlin.js.jsInstanceOf' call
return a instanceof Float32Array;
}
function isLongArray(a) {
return isJsArray(a) && a.$type$ === 'LongArray';
}
function isDoubleArray(a) {
// Inline function 'kotlin.js.jsInstanceOf' call
return a instanceof Float64Array;
}
function jsIsType(obj, jsClass) {
if (jsClass === Object) {
return obj != null;
}
var objType = typeof obj;
var jsClassType = typeof jsClass;
if (obj == null || jsClass == null || (!(objType === 'object') && !(objType === 'function'))) {
return false;
}
var constructor = jsClassType === 'object' ? jsGetPrototypeOf(jsClass) : jsClass;
var klassMetadata = constructor.$metadata$;
if ((klassMetadata == null ? null : klassMetadata.kind) === 'interface') {
// Inline function 'kotlin.js.unsafeCast' call
var tmp0_elvis_lhs = klassMetadata.iid;
var tmp;
if (tmp0_elvis_lhs == null) {
return false;
} else {
tmp = tmp0_elvis_lhs;
}
var iid = tmp;
return isInterfaceImpl(obj, iid);
}
// Inline function 'kotlin.js.jsInstanceOf' call
return obj instanceof constructor;
}
function jsGetPrototypeOf(jsClass) {
return Object.getPrototypeOf(jsClass);
}
function get_VOID() {
_init_properties_void_kt__3zg9as();
return VOID;
}
var VOID;
var properties_initialized_void_kt_e4ret2;
function _init_properties_void_kt__3zg9as() {
if (!properties_initialized_void_kt_e4ret2) {
properties_initialized_void_kt_e4ret2 = true;
VOID = void 0;
}
}
function asList(_this__u8e3s4) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return new ArrayList(_this__u8e3s4);
}
function contentEquals(_this__u8e3s4, other) {
return contentEqualsInternal(_this__u8e3s4, other);
}
function copyOf(_this__u8e3s4, newSize) {
// Inline function 'kotlin.require' call
if (!(newSize >= 0)) {
var message = 'Invalid new array size: ' + newSize + '.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return fillFrom(_this__u8e3s4, new Int32Array(newSize));
}
function contentHashCode(_this__u8e3s4) {
return contentHashCodeInternal(_this__u8e3s4);
}
function contentEquals_0(_this__u8e3s4, other) {
return contentEqualsInternal(_this__u8e3s4, other);
}
function sortWith(_this__u8e3s4, comparator) {
if (_this__u8e3s4.length > 1) {
sortArrayWith(_this__u8e3s4, comparator);
}
}
function copyOf_0(_this__u8e3s4, newSize) {
// Inline function 'kotlin.require' call
if (!(newSize >= 0)) {
var message = 'Invalid new array size: ' + newSize + '.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return arrayCopyResize(_this__u8e3s4, newSize, null);
}
function sort(_this__u8e3s4) {
if (_this__u8e3s4.length > 1) {
sortArray(_this__u8e3s4);
}
}
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
Companion_instance_5.r3(fromIndex, toIndex, _this__u8e3s4.length);
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.slice(fromIndex, toIndex);
}
function reverse(_this__u8e3s4) {
var midPoint = (_this__u8e3s4.p() / 2 | 0) - 1 | 0;
if (midPoint < 0)
return Unit_instance;
var reverseIndex = get_lastIndex_1(_this__u8e3s4);
var inductionVariable = 0;
if (inductionVariable <= midPoint)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var tmp = _this__u8e3s4.q(index);
_this__u8e3s4.z1(index, _this__u8e3s4.q(reverseIndex));
_this__u8e3s4.z1(reverseIndex, tmp);
reverseIndex = reverseIndex - 1 | 0;
}
while (!(index === midPoint));
}
function digitToIntImpl(_this__u8e3s4) {
// Inline function 'kotlin.code' call
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
var index = binarySearchRange(Digit_getInstance().s3_1, ch);
var diff = ch - Digit_getInstance().s3_1[index] | 0;
return diff < 10 ? diff : -1;
}
function isDigitImpl(_this__u8e3s4) {
return digitToIntImpl(_this__u8e3s4) >= 0;
}
function binarySearchRange(array, needle) {
var bottom = 0;
var top = array.length - 1 | 0;
var middle = -1;
var value = 0;
while (bottom <= top) {
middle = (bottom + top | 0) / 2 | 0;
value = array[middle];
if (needle > value)
bottom = middle + 1 | 0;
else if (needle === value)
return middle;
else
top = middle - 1 | 0;
}
return middle - (needle < value ? 1 : 0) | 0;
}
function Digit() {
Digit_instance = this;
var tmp = this;
// Inline function 'kotlin.intArrayOf' call
tmp.s3_1 = new Int32Array([48, 1632, 1776, 1984, 2406, 2534, 2662, 2790, 2918, 3046, 3174, 3302, 3430, 3558, 3664, 3792, 3872, 4160, 4240, 6112, 6160, 6470, 6608, 6784, 6800, 6992, 7088, 7232, 7248, 42528, 43216, 43264, 43472, 43504, 43600, 44016, 65296]);
}
var Digit_instance;
function Digit_getInstance() {
if (Digit_instance == null)
new Digit();
return Digit_instance;
}
function isWhitespaceImpl(_this__u8e3s4) {
// Inline function 'kotlin.code' call
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
return (9 <= ch ? ch <= 13 : false) || (28 <= ch ? ch <= 32 : false) || ch === 160 || (ch > 4096 && (ch === 5760 || (8192 <= ch ? ch <= 8202 : false) || ch === 8232 || ch === 8233 || ch === 8239 || ch === 8287 || ch === 12288));
}
function closeFinally(_this__u8e3s4, cause) {
var tmp;
if (_this__u8e3s4 == null) {
tmp = Unit_instance;
} else if (cause == null) {
_this__u8e3s4.t3();
tmp = Unit_instance;
} else {
var tmp_0;
try {
_this__u8e3s4.t3();
tmp_0 = Unit_instance;
} catch ($p) {
var tmp_1;
if ($p instanceof Error) {
var closeException = $p;
addSuppressed(cause, closeException);
tmp_1 = Unit_instance;
} else {
throw $p;
}
tmp_0 = tmp_1;
}
tmp = tmp_0;
}
return tmp;
}
function Comparator() {
}
function isNaN_0(_this__u8e3s4) {
return !(_this__u8e3s4 === _this__u8e3s4);
}
function isNaN_1(_this__u8e3s4) {
return !(_this__u8e3s4 === _this__u8e3s4);
}
function isInfinite(_this__u8e3s4) {
return _this__u8e3s4 === Infinity || _this__u8e3s4 === -Infinity;
}
function takeHighestOneBit(_this__u8e3s4) {
var tmp;
if (_this__u8e3s4 === 0) {
tmp = 0;
} else {
// Inline function 'kotlin.countLeadingZeroBits' call
tmp = 1 << (31 - clz32(_this__u8e3s4) | 0);
}
return tmp;
}
function isFinite(_this__u8e3s4) {
return !isInfinite(_this__u8e3s4) && !isNaN_0(_this__u8e3s4);
}
function isFinite_0(_this__u8e3s4) {
return !isInfinite_0(_this__u8e3s4) && !isNaN_1(_this__u8e3s4);
}
function isInfinite_0(_this__u8e3s4) {
return _this__u8e3s4 === Infinity || _this__u8e3s4 === -Infinity;
}
function Unit() {
}
protoOf(Unit).toString = function () {
return 'kotlin.Unit';
};
var Unit_instance;
function Unit_getInstance() {
return Unit_instance;
}
function uintCompare(v1, v2) {
return compareTo(v1 ^ -2147483648, v2 ^ -2147483648);
}
function ulongCompare(v1, v2) {
return v1.d3(new Long(0, -2147483648)).p2(v2.d3(new Long(0, -2147483648)));
}
function ulongToString(value, base) {
if (value.p2(new Long(0, 0)) >= 0)
return toString_2(value, base);
// Inline function 'kotlin.Long.div' call
var quotient = value.a3(1).t2(toLong(base)).y2(1);
// Inline function 'kotlin.Long.times' call
var tmp$ret$1 = quotient.s2(toLong(base));
var rem = value.r2(tmp$ret$1);
if (rem.p2(toLong(base)) >= 0) {
// Inline function 'kotlin.Long.minus' call
rem = rem.r2(toLong(base));
// Inline function 'kotlin.Long.plus' call
quotient = quotient.q2(toLong(1));
}
return toString_2(quotient, base) + toString_2(rem, base);
}
function collectionToArray(collection) {
return collectionToArrayCommonImpl(collection);
}
function listOf(element) {
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$2 = [element];
return new ArrayList(tmp$ret$2);
}
function setOf(element) {
return hashSetOf([element]);
}
function mapCapacity(expectedSize) {
return expectedSize;
}
function mapOf(pair) {
return hashMapOf([pair]);
}
function sortWith_0(_this__u8e3s4, comparator) {
collectionsSort(_this__u8e3s4, comparator);
}
function checkCountOverflow(count) {
if (count < 0) {
throwCountOverflow();
}
return count;
}
function copyToArray(collection) {
var tmp;
// Inline function 'kotlin.js.asDynamic' call
if (collection.toArray !== undefined) {
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
tmp = collection.toArray();
} else {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = collectionToArray(collection);
}
return tmp;
}
function collectionsSort(list, comparator) {
if (list.p() <= 1)
return Unit_instance;
var array = copyToArray(list);
sortArrayWith(array, comparator);
var inductionVariable = 0;
var last = array.length;
if (inductionVariable < last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
list.z1(i, array[i]);
}
while (inductionVariable < last);
}
function checkIndexOverflow(index) {
if (index < 0) {
throwIndexOverflow();
}
return index;
}
function sort_0(_this__u8e3s4) {
collectionsSort(_this__u8e3s4, naturalOrder());
}
function checkBuilderCapacity(capacity) {
// Inline function 'kotlin.require' call
if (!(capacity >= 0)) {
var message = 'capacity must be non-negative.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
}
function AbstractMutableCollection$removeAll$lambda($elements) {
return function (it) {
return $elements.d1(it);
};
}
function AbstractMutableCollection() {
AbstractCollection.call(this);
}
protoOf(AbstractMutableCollection).c2 = function (element) {
this.u3();
var iterator = this.m();
while (iterator.n()) {
if (equals(iterator.o(), element)) {
iterator.v3();
return true;
}
}
return false;
};
protoOf(AbstractMutableCollection).u = function (elements) {
this.u3();
var modified = false;
var _iterator__ex2g4s = elements.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (this.e(element))
modified = true;
}
return modified;
};
protoOf(AbstractMutableCollection).e1 = function (elements) {
this.u3();
var tmp = isInterface(this, MutableIterable) ? this : THROW_CCE();
return removeAll(tmp, AbstractMutableCollection$removeAll$lambda(elements));
};
protoOf(AbstractMutableCollection).toJSON = function () {
return this.toArray();
};
protoOf(AbstractMutableCollection).u3 = function () {
};
function IteratorImpl($outer) {
this.y3_1 = $outer;
this.w3_1 = 0;
this.x3_1 = -1;
}
protoOf(IteratorImpl).n = function () {
return this.w3_1 < this.y3_1.p();
};
protoOf(IteratorImpl).o = function () {
if (!this.n())
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.w3_1;
this.w3_1 = _unary__edvuaz + 1 | 0;
tmp.x3_1 = _unary__edvuaz;
return this.y3_1.q(this.x3_1);
};
protoOf(IteratorImpl).v3 = function () {
// Inline function 'kotlin.check' call
if (!!(this.x3_1 === -1)) {
var message = 'Call next() or previous() before removing element from the iterator.';
throw IllegalStateException_init_$Create$_0(toString_1(message));
}
this.y3_1.b2(this.x3_1);
this.w3_1 = this.x3_1;
this.x3_1 = -1;
};
function ListIteratorImpl($outer, index) {
this.d4_1 = $outer;
IteratorImpl.call(this, $outer);
Companion_instance_5.e4(index, this.d4_1.p());
this.w3_1 = index;
}
protoOf(ListIteratorImpl).f4 = function () {
return this.w3_1 > 0;
};
protoOf(ListIteratorImpl).g4 = function () {
return this.w3_1;
};
protoOf(ListIteratorImpl).h4 = function () {
if (!this.f4())
throw NoSuchElementException_init_$Create$();
var tmp = this;
this.w3_1 = this.w3_1 - 1 | 0;
tmp.x3_1 = this.w3_1;
return this.d4_1.q(this.x3_1);
};
protoOf(ListIteratorImpl).i4 = function () {
return this.w3_1 - 1 | 0;
};
function SubList(list, fromIndex, toIndex) {
AbstractMutableList.call(this);
this.k4_1 = list;
this.l4_1 = fromIndex;
this.m4_1 = 0;
Companion_instance_5.r3(this.l4_1, toIndex, this.k4_1.p());
this.m4_1 = toIndex - this.l4_1 | 0;
}
protoOf(SubList).a2 = function (index, element) {
Companion_instance_5.e4(index, this.m4_1);
this.k4_1.a2(this.l4_1 + index | 0, element);
this.m4_1 = this.m4_1 + 1 | 0;
};
protoOf(SubList).q = function (index) {
Companion_instance_5.n4(index, this.m4_1);
return this.k4_1.q(this.l4_1 + index | 0);
};
protoOf(SubList).b2 = function (index) {
Companion_instance_5.n4(index, this.m4_1);
var result = this.k4_1.b2(this.l4_1 + index | 0);
this.m4_1 = this.m4_1 - 1 | 0;
return result;
};
protoOf(SubList).z1 = function (index, element) {
Companion_instance_5.n4(index, this.m4_1);
return this.k4_1.z1(this.l4_1 + index | 0, element);
};
protoOf(SubList).o4 = function (fromIndex, toIndex) {
this.k4_1.o4(this.l4_1 + fromIndex | 0, this.l4_1 + toIndex | 0);
this.m4_1 = this.m4_1 - (toIndex - fromIndex | 0) | 0;
};
protoOf(SubList).p = function () {
return this.m4_1;
};
protoOf(SubList).u3 = function () {
return this.k4_1.u3();
};
function AbstractMutableList() {
AbstractMutableCollection.call(this);
this.z3_1 = 0;
}
protoOf(AbstractMutableList).e = function (element) {
this.u3();
this.a2(this.p(), element);
return true;
};
protoOf(AbstractMutableList).y1 = function () {
this.u3();
this.o4(0, this.p());
};
protoOf(AbstractMutableList).m = function () {
return new IteratorImpl(this);
};
protoOf(AbstractMutableList).d1 = function (element) {
return this.p4(element) >= 0;
};
protoOf(AbstractMutableList).p4 = function (element) {
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.collections.indexOfFirst' call
var index = 0;
var _iterator__ex2g4s = this.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
if (equals(item, element)) {
tmp$ret$1 = index;
break $l$block;
}
index = index + 1 | 0;
}
tmp$ret$1 = -1;
}
return tmp$ret$1;
};
protoOf(AbstractMutableList).v = function (index) {
return new ListIteratorImpl(this, index);
};
protoOf(AbstractMutableList).r1 = function (fromIndex, toIndex) {
return new SubList(this, fromIndex, toIndex);
};
protoOf(AbstractMutableList).o4 = function (fromIndex, toIndex) {
var iterator = this.v(fromIndex);
// Inline function 'kotlin.repeat' call
var times = toIndex - fromIndex | 0;
var inductionVariable = 0;
if (inductionVariable < times)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
iterator.o();
iterator.v3();
}
while (inductionVariable < times);
};
protoOf(AbstractMutableList).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtList) : false))
return false;
return Companion_instance_5.q4(this, other);
};
protoOf(AbstractMutableList).hashCode = function () {
return Companion_instance_5.r4(this);
};
function AbstractMutableMap() {
AbstractMap.call(this);
this.u4_1 = null;
this.v4_1 = null;
}
protoOf(AbstractMutableMap).w4 = function () {
return new HashMapKeysDefault(this);
};
protoOf(AbstractMutableMap).x4 = function () {
return new HashMapValuesDefault(this);
};
protoOf(AbstractMutableMap).w1 = function () {
var tmp0_elvis_lhs = this.u4_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = this.w4();
this.u4_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(AbstractMutableMap).x1 = function () {
var tmp0_elvis_lhs = this.v4_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = this.x4();
this.v4_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(AbstractMutableMap).f2 = function (from) {
this.u3();
// Inline function 'kotlin.collections.iterator' call
var _iterator__ex2g4s = from.x().m();
while (_iterator__ex2g4s.n()) {
var _destruct__k2r9zo = _iterator__ex2g4s.o();
// Inline function 'kotlin.collections.component1' call
var key = _destruct__k2r9zo.y();
// Inline function 'kotlin.collections.component2' call
var value = _destruct__k2r9zo.z();
this.d2(key, value);
}
};
protoOf(AbstractMutableMap).e2 = function (key) {
this.u3();
var iter = this.x().m();
while (iter.n()) {
var entry = iter.o();
var k = entry.y();
if (equals(key, k)) {
var value = entry.z();
iter.v3();
return value;
}
}
return null;
};
protoOf(AbstractMutableMap).u3 = function () {
};
function AbstractMutableSet() {
AbstractMutableCollection.call(this);
}
protoOf(AbstractMutableSet).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtSet) : false))
return false;
return Companion_instance_7.b5(this, other);
};
protoOf(AbstractMutableSet).hashCode = function () {
return Companion_instance_7.c5(this);
};
function arrayOfUninitializedElements(capacity) {
// Inline function 'kotlin.require' call
if (!(capacity >= 0)) {
var message = 'capacity must be non-negative.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
// Inline function 'kotlin.arrayOfNulls' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return Array(capacity);
}
function resetRange(_this__u8e3s4, fromIndex, toIndex) {
// Inline function 'kotlin.js.nativeFill' call
// Inline function 'kotlin.js.asDynamic' call
_this__u8e3s4.fill(null, fromIndex, toIndex);
}
function copyOfUninitializedElements(_this__u8e3s4, newSize) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return copyOf_0(_this__u8e3s4, newSize);
}
function resetAt(_this__u8e3s4, index) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
_this__u8e3s4[index] = null;
}
function Companion_2() {
Companion_instance_2 = this;
var tmp = this;
// Inline function 'kotlin.also' call
var this_0 = ArrayList_init_$Create$_0(0);
this_0.t_1 = true;
tmp.d5_1 = this_0;
}
var Companion_instance_2;
function Companion_getInstance_2() {
if (Companion_instance_2 == null)
new Companion_2();
return Companion_instance_2;
}
function ArrayList_init_$Init$($this) {
// Inline function 'kotlin.emptyArray' call
var tmp$ret$0 = [];
ArrayList.call($this, tmp$ret$0);
return $this;
}
function ArrayList_init_$Create$() {
return ArrayList_init_$Init$(objectCreate(protoOf(ArrayList)));
}
function ArrayList_init_$Init$_0(initialCapacity, $this) {
// Inline function 'kotlin.emptyArray' call
var tmp$ret$0 = [];
ArrayList.call($this, tmp$ret$0);
// Inline function 'kotlin.require' call
if (!(initialCapacity >= 0)) {
var message = 'Negative initial capacity: ' + initialCapacity;
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return $this;
}
function ArrayList_init_$Create$_0(initialCapacity) {
return ArrayList_init_$Init$_0(initialCapacity, objectCreate(protoOf(ArrayList)));
}
function ArrayList_init_$Init$_1(elements, $this) {
// Inline function 'kotlin.collections.toTypedArray' call
var tmp$ret$0 = copyToArray(elements);
ArrayList.call($this, tmp$ret$0);
return $this;
}
function ArrayList_init_$Create$_1(elements) {
return ArrayList_init_$Init$_1(elements, objectCreate(protoOf(ArrayList)));
}
function increaseLength($this, amount) {
var previous = $this.p();
// Inline function 'kotlin.js.asDynamic' call
$this.s_1.length = $this.p() + amount | 0;
return previous;
}
function rangeCheck($this, index) {
// Inline function 'kotlin.apply' call
Companion_instance_5.n4(index, $this.p());
return index;
}
function insertionRangeCheck($this, index) {
// Inline function 'kotlin.apply' call
Companion_instance_5.e4(index, $this.p());
return index;
}
function ArrayList(array) {
Companion_getInstance_2();
AbstractMutableList.call(this);
this.s_1 = array;
this.t_1 = false;
}
protoOf(ArrayList).e5 = function () {
this.u3();
this.t_1 = true;
return this.p() > 0 ? this : Companion_getInstance_2().d5_1;
};
protoOf(ArrayList).p = function () {
return this.s_1.length;
};
protoOf(ArrayList).q = function (index) {
var tmp = this.s_1[rangeCheck(this, index)];
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
};
protoOf(ArrayList).z1 = function (index, element) {
this.u3();
rangeCheck(this, index);
// Inline function 'kotlin.apply' call
var this_0 = this.s_1[index];
this.s_1[index] = element;
var tmp = this_0;
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
};
protoOf(ArrayList).e = function (element) {
this.u3();
// Inline function 'kotlin.js.asDynamic' call
this.s_1.push(element);
this.z3_1 = this.z3_1 + 1 | 0;
return true;
};
protoOf(ArrayList).a2 = function (index, element) {
this.u3();
// Inline function 'kotlin.js.asDynamic' call
this.s_1.splice(insertionRangeCheck(this, index), 0, element);
this.z3_1 = this.z3_1 + 1 | 0;
};
protoOf(ArrayList).u = function (elements) {
this.u3();
if (elements.j())
return false;
var offset = increaseLength(this, elements.p());
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var _iterator__ex2g4s = elements.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
var index_0 = checkIndexOverflow(_unary__edvuaz);
this.s_1[offset + index_0 | 0] = item;
}
this.z3_1 = this.z3_1 + 1 | 0;
return true;
};
protoOf(ArrayList).b2 = function (index) {
this.u3();
rangeCheck(this, index);
this.z3_1 = this.z3_1 + 1 | 0;
var tmp;
if (index === get_lastIndex_1(this)) {
// Inline function 'kotlin.js.asDynamic' call
tmp = this.s_1.pop();
} else {
// Inline function 'kotlin.js.asDynamic' call
tmp = this.s_1.splice(index, 1)[0];
}
return tmp;
};
protoOf(ArrayList).o4 = function (fromIndex, toIndex) {
this.u3();
this.z3_1 = this.z3_1 + 1 | 0;
// Inline function 'kotlin.js.asDynamic' call
this.s_1.splice(fromIndex, toIndex - fromIndex | 0);
};
protoOf(ArrayList).y1 = function () {
this.u3();
var tmp = this;
// Inline function 'kotlin.emptyArray' call
tmp.s_1 = [];
this.z3_1 = this.z3_1 + 1 | 0;
};
protoOf(ArrayList).p4 = function (element) {
return indexOf(this.s_1, element);
};
protoOf(ArrayList).toString = function () {
return arrayToString(this.s_1);
};
protoOf(ArrayList).f5 = function () {
return [].slice.call(this.s_1);
};
protoOf(ArrayList).toArray = function () {
return this.f5();
};
protoOf(ArrayList).u3 = function () {
if (this.t_1)
throw UnsupportedOperationException_init_$Create$();
};
var _stableSortingIsSupported;
function sortArrayWith(array, comparator) {
if (getStableSortingIsSupported()) {
var comparison = sortArrayWith$lambda(comparator);
// Inline function 'kotlin.js.asDynamic' call
array.sort(comparison);
} else {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
mergeSort(array, 0, get_lastIndex_0(array), comparator);
}
}
function getStableSortingIsSupported() {
var tmp0_safe_receiver = _stableSortingIsSupported;
if (tmp0_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp0_safe_receiver;
}
_stableSortingIsSupported = false;
// Inline function 'kotlin.js.unsafeCast' call
var array = [];
var inductionVariable = 0;
if (inductionVariable < 600)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.js.asDynamic' call
array.push(index);
}
while (inductionVariable < 600);
var comparison = getStableSortingIsSupported$lambda;
// Inline function 'kotlin.js.asDynamic' call
array.sort(comparison);
var inductionVariable_0 = 1;
var last = array.length;
if (inductionVariable_0 < last)
do {
var index_0 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + 1 | 0;
var a = array[index_0 - 1 | 0];
var b = array[index_0];
if ((a & 3) === (b & 3) && a >= b)
return false;
}
while (inductionVariable_0 < last);
_stableSortingIsSupported = true;
return true;
}
function mergeSort(array, start, endInclusive, comparator) {
// Inline function 'kotlin.arrayOfNulls' call
var size = array.length;
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var buffer = Array(size);
var result = mergeSort_0(array, buffer, start, endInclusive, comparator);
if (!(result === array)) {
var inductionVariable = start;
if (inductionVariable <= endInclusive)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
array[i] = result[i];
}
while (!(i === endInclusive));
}
}
function mergeSort_0(array, buffer, start, end, comparator) {
if (start === end) {
return array;
}
var median = (start + end | 0) / 2 | 0;
var left = mergeSort_0(array, buffer, start, median, comparator);
var right = mergeSort_0(array, buffer, median + 1 | 0, end, comparator);
var target = left === buffer ? array : buffer;
var leftIndex = start;
var rightIndex = median + 1 | 0;
var inductionVariable = start;
if (inductionVariable <= end)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (leftIndex <= median && rightIndex <= end) {
var leftValue = left[leftIndex];
var rightValue = right[rightIndex];
if (comparator.compare(leftValue, rightValue) <= 0) {
target[i] = leftValue;
leftIndex = leftIndex + 1 | 0;
} else {
target[i] = rightValue;
rightIndex = rightIndex + 1 | 0;
}
} else if (leftIndex <= median) {
target[i] = left[leftIndex];
leftIndex = leftIndex + 1 | 0;
} else {
target[i] = right[rightIndex];
rightIndex = rightIndex + 1 | 0;
}
}
while (!(i === end));
return target;
}
function sortArray(array) {
if (getStableSortingIsSupported()) {
var comparison = sortArray$lambda;
// Inline function 'kotlin.js.asDynamic' call
array.sort(comparison);
} else {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
mergeSort(array, 0, get_lastIndex_0(array), naturalOrder());
}
}
function sortArrayWith$lambda($comparator) {
return function (a, b) {
return $comparator.compare(a, b);
};
}
function getStableSortingIsSupported$lambda(a, b) {
return (a & 3) - (b & 3) | 0;
}
function sortArray$lambda(a, b) {
return compareTo(a, b);
}
function HashMap_init_$Init$(internalMap, $this) {
AbstractMutableMap.call($this);
HashMap.call($this);
$this.k5_1 = internalMap;
return $this;
}
function HashMap_init_$Init$_0($this) {
HashMap_init_$Init$(InternalHashMap_init_$Create$(), $this);
return $this;
}
function HashMap_init_$Create$() {
return HashMap_init_$Init$_0(objectCreate(protoOf(HashMap)));
}
function HashMap_init_$Init$_1(initialCapacity, loadFactor, $this) {
HashMap_init_$Init$(InternalHashMap_init_$Create$_2(initialCapacity, loadFactor), $this);
return $this;
}
function HashMap_init_$Init$_2(initialCapacity, $this) {
HashMap_init_$Init$_1(initialCapacity, 1.0, $this);
return $this;
}
function HashMap_init_$Create$_0(initialCapacity) {
return HashMap_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashMap)));
}
function HashMap_init_$Init$_3(original, $this) {
HashMap_init_$Init$(InternalHashMap_init_$Create$_1(original), $this);
return $this;
}
protoOf(HashMap).t1 = function (key) {
return this.k5_1.m5(key);
};
protoOf(HashMap).u1 = function (value) {
return this.k5_1.u1(value);
};
protoOf(HashMap).w4 = function () {
return new HashMapKeys(this.k5_1);
};
protoOf(HashMap).x4 = function () {
return new HashMapValues(this.k5_1);
};
protoOf(HashMap).x = function () {
var tmp0_elvis_lhs = this.l5_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = new HashMapEntrySet(this.k5_1);
this.l5_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(HashMap).v1 = function (key) {
return this.k5_1.v1(key);
};
protoOf(HashMap).d2 = function (key, value) {
return this.k5_1.d2(key, value);
};
protoOf(HashMap).e2 = function (key) {
return this.k5_1.e2(key);
};
protoOf(HashMap).p = function () {
return this.k5_1.p();
};
protoOf(HashMap).f2 = function (from) {
return this.k5_1.f2(from);
};
function HashMap() {
this.l5_1 = null;
}
function HashMapKeys(backing) {
AbstractMutableSet.call(this);
this.n5_1 = backing;
}
protoOf(HashMapKeys).p = function () {
return this.n5_1.p();
};
protoOf(HashMapKeys).j = function () {
return this.n5_1.p() === 0;
};
protoOf(HashMapKeys).d1 = function (element) {
return this.n5_1.m5(element);
};
protoOf(HashMapKeys).e = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapKeys).u = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapKeys).c2 = function (element) {
return this.n5_1.o5(element);
};
protoOf(HashMapKeys).m = function () {
return this.n5_1.p5();
};
protoOf(HashMapKeys).u3 = function () {
return this.n5_1.q5();
};
function HashMapValues(backing) {
AbstractMutableCollection.call(this);
this.r5_1 = backing;
}
protoOf(HashMapValues).p = function () {
return this.r5_1.p();
};
protoOf(HashMapValues).j = function () {
return this.r5_1.p() === 0;
};
protoOf(HashMapValues).s5 = function (element) {
return this.r5_1.u1(element);
};
protoOf(HashMapValues).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.s5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapValues).t5 = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapValues).e = function (element) {
return this.t5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapValues).u5 = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapValues).u = function (elements) {
return this.u5(elements);
};
protoOf(HashMapValues).m = function () {
return this.r5_1.v5();
};
protoOf(HashMapValues).u3 = function () {
return this.r5_1.q5();
};
function HashMapEntrySet(backing) {
HashMapEntrySetBase.call(this, backing);
}
protoOf(HashMapEntrySet).m = function () {
return this.x5_1.y5();
};
function HashMapEntrySetBase(backing) {
AbstractMutableSet.call(this);
this.x5_1 = backing;
}
protoOf(HashMapEntrySetBase).p = function () {
return this.x5_1.p();
};
protoOf(HashMapEntrySetBase).j = function () {
return this.x5_1.p() === 0;
};
protoOf(HashMapEntrySetBase).z5 = function (element) {
return this.x5_1.c6(element);
};
protoOf(HashMapEntrySetBase).d1 = function (element) {
if (!(!(element == null) ? isInterface(element, Entry) : false))
return false;
return this.z5((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
};
protoOf(HashMapEntrySetBase).a6 = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapEntrySetBase).e = function (element) {
return this.a6((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
};
protoOf(HashMapEntrySetBase).u = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapEntrySetBase).b6 = function (element) {
return this.x5_1.d6(element);
};
protoOf(HashMapEntrySetBase).c2 = function (element) {
if (!(!(element == null) ? isInterface(element, Entry) : false))
return false;
return this.b6((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
};
protoOf(HashMapEntrySetBase).s1 = function (elements) {
return this.x5_1.e6(elements);
};
protoOf(HashMapEntrySetBase).u3 = function () {
return this.x5_1.q5();
};
function HashMapKeysDefault$iterator$1($entryIterator) {
this.f6_1 = $entryIterator;
}
protoOf(HashMapKeysDefault$iterator$1).n = function () {
return this.f6_1.n();
};
protoOf(HashMapKeysDefault$iterator$1).o = function () {
return this.f6_1.o().y();
};
protoOf(HashMapKeysDefault$iterator$1).v3 = function () {
return this.f6_1.v3();
};
function HashMapKeysDefault(backingMap) {
AbstractMutableSet.call(this);
this.g6_1 = backingMap;
}
protoOf(HashMapKeysDefault).h6 = function (element) {
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on keys');
};
protoOf(HashMapKeysDefault).e = function (element) {
return this.h6((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapKeysDefault).m5 = function (element) {
return this.g6_1.t1(element);
};
protoOf(HashMapKeysDefault).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.m5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapKeysDefault).m = function () {
var entryIterator = this.g6_1.x().m();
return new HashMapKeysDefault$iterator$1(entryIterator);
};
protoOf(HashMapKeysDefault).e2 = function (element) {
this.u3();
if (this.g6_1.t1(element)) {
this.g6_1.e2(element);
return true;
}
return false;
};
protoOf(HashMapKeysDefault).c2 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.e2((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapKeysDefault).p = function () {
return this.g6_1.p();
};
protoOf(HashMapKeysDefault).u3 = function () {
return this.g6_1.u3();
};
function HashMapValuesDefault$iterator$1($entryIterator) {
this.i6_1 = $entryIterator;
}
protoOf(HashMapValuesDefault$iterator$1).n = function () {
return this.i6_1.n();
};
protoOf(HashMapValuesDefault$iterator$1).o = function () {
return this.i6_1.o().z();
};
protoOf(HashMapValuesDefault$iterator$1).v3 = function () {
return this.i6_1.v3();
};
function HashMapValuesDefault(backingMap) {
AbstractMutableCollection.call(this);
this.j6_1 = backingMap;
}
protoOf(HashMapValuesDefault).t5 = function (element) {
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on values');
};
protoOf(HashMapValuesDefault).e = function (element) {
return this.t5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapValuesDefault).s5 = function (element) {
return this.j6_1.u1(element);
};
protoOf(HashMapValuesDefault).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.s5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(HashMapValuesDefault).m = function () {
var entryIterator = this.j6_1.x().m();
return new HashMapValuesDefault$iterator$1(entryIterator);
};
protoOf(HashMapValuesDefault).p = function () {
return this.j6_1.p();
};
protoOf(HashMapValuesDefault).u3 = function () {
return this.j6_1.u3();
};
function HashSet_init_$Init$(map, $this) {
AbstractMutableSet.call($this);
HashSet.call($this);
$this.k6_1 = map;
return $this;
}
function HashSet_init_$Init$_0($this) {
HashSet_init_$Init$(InternalHashMap_init_$Create$(), $this);
return $this;
}
function HashSet_init_$Create$() {
return HashSet_init_$Init$_0(objectCreate(protoOf(HashSet)));
}
function HashSet_init_$Init$_1(elements, $this) {
HashSet_init_$Init$(InternalHashMap_init_$Create$_0(elements.p()), $this);
var _iterator__ex2g4s = elements.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
$this.k6_1.d2(element, true);
}
return $this;
}
function HashSet_init_$Init$_2(initialCapacity, loadFactor, $this) {
HashSet_init_$Init$(InternalHashMap_init_$Create$_2(initialCapacity, loadFactor), $this);
return $this;
}
function HashSet_init_$Init$_3(initialCapacity, $this) {
HashSet_init_$Init$_2(initialCapacity, 1.0, $this);
return $this;
}
function HashSet_init_$Create$_0(initialCapacity) {
return HashSet_init_$Init$_3(initialCapacity, objectCreate(protoOf(HashSet)));
}
protoOf(HashSet).e = function (element) {
return this.k6_1.d2(element, true) == null;
};
protoOf(HashSet).d1 = function (element) {
return this.k6_1.m5(element);
};
protoOf(HashSet).j = function () {
return this.k6_1.p() === 0;
};
protoOf(HashSet).m = function () {
return this.k6_1.p5();
};
protoOf(HashSet).c2 = function (element) {
return !(this.k6_1.e2(element) == null);
};
protoOf(HashSet).p = function () {
return this.k6_1.p();
};
function HashSet() {
}
function computeHashSize($this, capacity) {
return takeHighestOneBit(imul(coerceAtLeast(capacity, 1), 3));
}
function computeShift($this, hashSize) {
// Inline function 'kotlin.countLeadingZeroBits' call
return clz32(hashSize) + 1 | 0;
}
function checkForComodification($this) {
if (!($this.v6_1.s6_1 === $this.x6_1))
throw ConcurrentModificationException_init_$Create$_0('The backing map has been modified after this entry was obtained.');
}
function InternalHashMap_init_$Init$($this) {
InternalHashMap_init_$Init$_0(8, $this);
return $this;
}
function InternalHashMap_init_$Create$() {
return InternalHashMap_init_$Init$(objectCreate(protoOf(InternalHashMap)));
}
function InternalHashMap_init_$Init$_0(initialCapacity, $this) {
InternalHashMap.call($this, arrayOfUninitializedElements(initialCapacity), null, new Int32Array(initialCapacity), new Int32Array(computeHashSize(Companion_instance_3, initialCapacity)), 2, 0);
return $this;
}
function InternalHashMap_init_$Create$_0(initialCapacity) {
return InternalHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(InternalHashMap)));
}
function InternalHashMap_init_$Init$_1(original, $this) {
InternalHashMap_init_$Init$_0(original.p(), $this);
$this.f2(original);
return $this;
}
function InternalHashMap_init_$Create$_1(original) {
return InternalHashMap_init_$Init$_1(original, objectCreate(protoOf(InternalHashMap)));
}
function InternalHashMap_init_$Init$_2(initialCapacity, loadFactor, $this) {
InternalHashMap_init_$Init$_0(initialCapacity, $this);
// Inline function 'kotlin.require' call
if (!(loadFactor > 0)) {
var message = 'Non-positive load factor: ' + loadFactor;
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return $this;
}
function InternalHashMap_init_$Create$_2(initialCapacity, loadFactor) {
return InternalHashMap_init_$Init$_2(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
}
function _get_capacity__a9k9f3($this) {
return $this.l6_1.length;
}
function _get_hashSize__tftcho($this) {
return $this.o6_1.length;
}
function registerModification($this) {
$this.s6_1 = $this.s6_1 + 1 | 0;
}
function ensureExtraCapacity($this, n) {
if (shouldCompact($this, n)) {
compact($this, true);
} else {
ensureCapacity($this, $this.q6_1 + n | 0);
}
}
function shouldCompact($this, extraCapacity) {
var spareCapacity = _get_capacity__a9k9f3($this) - $this.q6_1 | 0;
var gaps = $this.q6_1 - $this.p() | 0;
return spareCapacity < extraCapacity && (gaps + spareCapacity | 0) >= extraCapacity && gaps >= (_get_capacity__a9k9f3($this) / 4 | 0);
}
function ensureCapacity($this, minCapacity) {
if (minCapacity < 0)
throw RuntimeException_init_$Create$_0('too many elements');
if (minCapacity > _get_capacity__a9k9f3($this)) {
var newSize = Companion_instance_5.y6(_get_capacity__a9k9f3($this), minCapacity);
$this.l6_1 = copyOfUninitializedElements($this.l6_1, newSize);
var tmp = $this;
var tmp0_safe_receiver = $this.m6_1;
tmp.m6_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
$this.n6_1 = copyOf($this.n6_1, newSize);
var newHashSize = computeHashSize(Companion_instance_3, newSize);
if (newHashSize > _get_hashSize__tftcho($this)) {
rehash($this, newHashSize);
}
}
}
function allocateValuesArray($this) {
var curValuesArray = $this.m6_1;
if (!(curValuesArray == null))
return curValuesArray;
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
$this.m6_1 = newValuesArray;
return newValuesArray;
}
function hash($this, key) {
return key == null ? 0 : imul(hashCode(key), -1640531527) >>> $this.r6_1 | 0;
}
function compact($this, updateHashArray) {
var i = 0;
var j = 0;
var valuesArray = $this.m6_1;
while (i < $this.q6_1) {
var hash = $this.n6_1[i];
if (hash >= 0) {
$this.l6_1[j] = $this.l6_1[i];
if (!(valuesArray == null)) {
valuesArray[j] = valuesArray[i];
}
if (updateHashArray) {
$this.n6_1[j] = hash;
$this.o6_1[hash] = j + 1 | 0;
}
j = j + 1 | 0;
}
i = i + 1 | 0;
}
resetRange($this.l6_1, j, $this.q6_1);
if (valuesArray == null)
null;
else {
resetRange(valuesArray, j, $this.q6_1);
}
$this.q6_1 = j;
}
function rehash($this, newHashSize) {
registerModification($this);
if ($this.q6_1 > $this.t6_1) {
compact($this, false);
}
$this.o6_1 = new Int32Array(newHashSize);
$this.r6_1 = computeShift(Companion_instance_3, newHashSize);
var i = 0;
while (i < $this.q6_1) {
var _unary__edvuaz = i;
i = _unary__edvuaz + 1 | 0;
if (!putRehash($this, _unary__edvuaz)) {
throw IllegalStateException_init_$Create$_0('This cannot happen with fixed magic multiplier and grow-only hash array. Have object hashCodes changed?');
}
}
}
function putRehash($this, i) {
var hash_0 = hash($this, $this.l6_1[i]);
var probesLeft = $this.p6_1;
while (true) {
var index = $this.o6_1[hash_0];
if (index === 0) {
$this.o6_1[hash_0] = i + 1 | 0;
$this.n6_1[i] = hash_0;
return true;
}
probesLeft = probesLeft - 1 | 0;
if (probesLeft < 0)
return false;
var _unary__edvuaz = hash_0;
hash_0 = _unary__edvuaz - 1 | 0;
if (_unary__edvuaz === 0)
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
}
}
function findKey($this, key) {
var hash_0 = hash($this, key);
var probesLeft = $this.p6_1;
while (true) {
var index = $this.o6_1[hash_0];
if (index === 0)
return -1;
if (index > 0 && equals($this.l6_1[index - 1 | 0], key))
return index - 1 | 0;
probesLeft = probesLeft - 1 | 0;
if (probesLeft < 0)
return -1;
var _unary__edvuaz = hash_0;
hash_0 = _unary__edvuaz - 1 | 0;
if (_unary__edvuaz === 0)
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
}
}
function findValue($this, value) {
var i = $this.q6_1;
$l$loop: while (true) {
i = i - 1 | 0;
if (!(i >= 0)) {
break $l$loop;
}
if ($this.n6_1[i] >= 0 && equals(ensureNotNull($this.m6_1)[i], value))
return i;
}
return -1;
}
function addKey($this, key) {
$this.q5();
retry: while (true) {
var hash_0 = hash($this, key);
var tentativeMaxProbeDistance = coerceAtMost(imul($this.p6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
var probeDistance = 0;
while (true) {
var index = $this.o6_1[hash_0];
if (index <= 0) {
if ($this.q6_1 >= _get_capacity__a9k9f3($this)) {
ensureExtraCapacity($this, 1);
continue retry;
}
var _unary__edvuaz = $this.q6_1;
$this.q6_1 = _unary__edvuaz + 1 | 0;
var putIndex = _unary__edvuaz;
$this.l6_1[putIndex] = key;
$this.n6_1[putIndex] = hash_0;
$this.o6_1[hash_0] = putIndex + 1 | 0;
$this.t6_1 = $this.t6_1 + 1 | 0;
registerModification($this);
if (probeDistance > $this.p6_1)
$this.p6_1 = probeDistance;
return putIndex;
}
if (equals($this.l6_1[index - 1 | 0], key)) {
return -index | 0;
}
probeDistance = probeDistance + 1 | 0;
if (probeDistance > tentativeMaxProbeDistance) {
rehash($this, imul(_get_hashSize__tftcho($this), 2));
continue retry;
}
var _unary__edvuaz_0 = hash_0;
hash_0 = _unary__edvuaz_0 - 1 | 0;
if (_unary__edvuaz_0 === 0)
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
}
}
}
function removeEntryAt($this, index) {
resetAt($this.l6_1, index);
var tmp0_safe_receiver = $this.m6_1;
if (tmp0_safe_receiver == null)
null;
else {
resetAt(tmp0_safe_receiver, index);
}
removeHashAt($this, $this.n6_1[index]);
$this.n6_1[index] = -1;
$this.t6_1 = $this.t6_1 - 1 | 0;
registerModification($this);
}
function removeHashAt($this, removedHash) {
var hash_0 = removedHash;
var hole = removedHash;
var probeDistance = 0;
var patchAttemptsLeft = coerceAtMost(imul($this.p6_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
while (true) {
var _unary__edvuaz = hash_0;
hash_0 = _unary__edvuaz - 1 | 0;
if (_unary__edvuaz === 0)
hash_0 = _get_hashSize__tftcho($this) - 1 | 0;
probeDistance = probeDistance + 1 | 0;
if (probeDistance > $this.p6_1) {
$this.o6_1[hole] = 0;
return Unit_instance;
}
var index = $this.o6_1[hash_0];
if (index === 0) {
$this.o6_1[hole] = 0;
return Unit_instance;
}
if (index < 0) {
$this.o6_1[hole] = -1;
hole = hash_0;
probeDistance = 0;
} else {
var otherHash = hash($this, $this.l6_1[index - 1 | 0]);
if (((otherHash - hash_0 | 0) & (_get_hashSize__tftcho($this) - 1 | 0)) >= probeDistance) {
$this.o6_1[hole] = index;
$this.n6_1[index - 1 | 0] = hole;
hole = hash_0;
probeDistance = 0;
}
}
patchAttemptsLeft = patchAttemptsLeft - 1 | 0;
if (patchAttemptsLeft < 0) {
$this.o6_1[hole] = -1;
return Unit_instance;
}
}
}
function contentEquals_1($this, other) {
return $this.t6_1 === other.p() && $this.e6(other.x());
}
function putEntry($this, entry) {
var index = addKey($this, entry.y());
var valuesArray = allocateValuesArray($this);
if (index >= 0) {
valuesArray[index] = entry.z();
return true;
}
var oldValue = valuesArray[(-index | 0) - 1 | 0];
if (!equals(entry.z(), oldValue)) {
valuesArray[(-index | 0) - 1 | 0] = entry.z();
return true;
}
return false;
}
function putAllEntries($this, from) {
if (from.j())
return false;
ensureExtraCapacity($this, from.p());
var it = from.m();
var updated = false;
while (it.n()) {
if (putEntry($this, it.o()))
updated = true;
}
return updated;
}
function Companion_3() {
this.z6_1 = -1640531527;
this.a7_1 = 8;
this.b7_1 = 2;
this.c7_1 = -1;
}
var Companion_instance_3;
function Companion_getInstance_3() {
return Companion_instance_3;
}
function Itr(map) {
this.d7_1 = map;
this.e7_1 = 0;
this.f7_1 = -1;
this.g7_1 = this.d7_1.s6_1;
this.h7();
}
protoOf(Itr).h7 = function () {
while (this.e7_1 < this.d7_1.q6_1 && this.d7_1.n6_1[this.e7_1] < 0) {
this.e7_1 = this.e7_1 + 1 | 0;
}
};
protoOf(Itr).n = function () {
return this.e7_1 < this.d7_1.q6_1;
};
protoOf(Itr).v3 = function () {
this.i7();
// Inline function 'kotlin.check' call
if (!!(this.f7_1 === -1)) {
var message = 'Call next() before removing element from the iterator.';
throw IllegalStateException_init_$Create$_0(toString_1(message));
}
this.d7_1.q5();
removeEntryAt(this.d7_1, this.f7_1);
this.f7_1 = -1;
this.g7_1 = this.d7_1.s6_1;
};
protoOf(Itr).i7 = function () {
if (!(this.d7_1.s6_1 === this.g7_1))
throw ConcurrentModificationException_init_$Create$();
};
function KeysItr(map) {
Itr.call(this, map);
}
protoOf(KeysItr).o = function () {
this.i7();
if (this.e7_1 >= this.d7_1.q6_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.e7_1;
this.e7_1 = _unary__edvuaz + 1 | 0;
tmp.f7_1 = _unary__edvuaz;
var result = this.d7_1.l6_1[this.f7_1];
this.h7();
return result;
};
function ValuesItr(map) {
Itr.call(this, map);
}
protoOf(ValuesItr).o = function () {
this.i7();
if (this.e7_1 >= this.d7_1.q6_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.e7_1;
this.e7_1 = _unary__edvuaz + 1 | 0;
tmp.f7_1 = _unary__edvuaz;
var result = ensureNotNull(this.d7_1.m6_1)[this.f7_1];
this.h7();
return result;
};
function EntriesItr(map) {
Itr.call(this, map);
}
protoOf(EntriesItr).o = function () {
this.i7();
if (this.e7_1 >= this.d7_1.q6_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.e7_1;
this.e7_1 = _unary__edvuaz + 1 | 0;
tmp.f7_1 = _unary__edvuaz;
var result = new EntryRef(this.d7_1, this.f7_1);
this.h7();
return result;
};
protoOf(EntriesItr).v7 = function () {
if (this.e7_1 >= this.d7_1.q6_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.e7_1;
this.e7_1 = _unary__edvuaz + 1 | 0;
tmp.f7_1 = _unary__edvuaz;
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver = this.d7_1.l6_1[this.f7_1];
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
var tmp_0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver_0 = ensureNotNull(this.d7_1.m6_1)[this.f7_1];
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
this.h7();
return result;
};
protoOf(EntriesItr).w7 = function (sb) {
if (this.e7_1 >= this.d7_1.q6_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.e7_1;
this.e7_1 = _unary__edvuaz + 1 | 0;
tmp.f7_1 = _unary__edvuaz;
var key = this.d7_1.l6_1[this.f7_1];
if (equals(key, this.d7_1))
sb.z7('(this Map)');
else
sb.y7(key);
sb.a8(_Char___init__impl__6a9atx(61));
var value = ensureNotNull(this.d7_1.m6_1)[this.f7_1];
if (equals(value, this.d7_1))
sb.z7('(this Map)');
else
sb.y7(value);
this.h7();
};
function EntryRef(map, index) {
this.v6_1 = map;
this.w6_1 = index;
this.x6_1 = this.v6_1.s6_1;
}
protoOf(EntryRef).y = function () {
checkForComodification(this);
return this.v6_1.l6_1[this.w6_1];
};
protoOf(EntryRef).z = function () {
checkForComodification(this);
return ensureNotNull(this.v6_1.m6_1)[this.w6_1];
};
protoOf(EntryRef).equals = function (other) {
var tmp;
var tmp_0;
if (!(other == null) ? isInterface(other, Entry) : false) {
tmp_0 = equals(other.y(), this.y());
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = equals(other.z(), this.z());
} else {
tmp = false;
}
return tmp;
};
protoOf(EntryRef).hashCode = function () {
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver = this.y();
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver_0 = this.z();
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0);
return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
};
protoOf(EntryRef).toString = function () {
return toString_0(this.y()) + '=' + toString_0(this.z());
};
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
this.l6_1 = keysArray;
this.m6_1 = valuesArray;
this.n6_1 = presenceArray;
this.o6_1 = hashArray;
this.p6_1 = maxProbeDistance;
this.q6_1 = length;
this.r6_1 = computeShift(Companion_instance_3, _get_hashSize__tftcho(this));
this.s6_1 = 0;
this.t6_1 = 0;
this.u6_1 = false;
}
protoOf(InternalHashMap).p = function () {
return this.t6_1;
};
protoOf(InternalHashMap).b8 = function () {
this.q5();
this.u6_1 = true;
};
protoOf(InternalHashMap).u1 = function (value) {
return findValue(this, value) >= 0;
};
protoOf(InternalHashMap).v1 = function (key) {
var index = findKey(this, key);
if (index < 0)
return null;
return ensureNotNull(this.m6_1)[index];
};
protoOf(InternalHashMap).m5 = function (key) {
return findKey(this, key) >= 0;
};
protoOf(InternalHashMap).d2 = function (key, value) {
var index = addKey(this, key);
var valuesArray = allocateValuesArray(this);
if (index < 0) {
var oldValue = valuesArray[(-index | 0) - 1 | 0];
valuesArray[(-index | 0) - 1 | 0] = value;
return oldValue;
} else {
valuesArray[index] = value;
return null;
}
};
protoOf(InternalHashMap).f2 = function (from) {
this.q5();
putAllEntries(this, from.x());
};
protoOf(InternalHashMap).e2 = function (key) {
this.q5();
var index = findKey(this, key);
if (index < 0)
return null;
var oldValue = ensureNotNull(this.m6_1)[index];
removeEntryAt(this, index);
return oldValue;
};
protoOf(InternalHashMap).equals = function (other) {
var tmp;
if (other === this) {
tmp = true;
} else {
var tmp_0;
if (!(other == null) ? isInterface(other, KtMap) : false) {
tmp_0 = contentEquals_1(this, other);
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
return tmp;
};
protoOf(InternalHashMap).hashCode = function () {
var result = 0;
var it = this.y5();
while (it.n()) {
result = result + it.v7() | 0;
}
return result;
};
protoOf(InternalHashMap).toString = function () {
var sb = StringBuilder_init_$Create$(2 + imul(this.t6_1, 3) | 0);
sb.z7('{');
var i = 0;
var it = this.y5();
while (it.n()) {
if (i > 0) {
sb.z7(', ');
}
it.w7(sb);
i = i + 1 | 0;
}
sb.z7('}');
return sb.toString();
};
protoOf(InternalHashMap).q5 = function () {
if (this.u6_1)
throw UnsupportedOperationException_init_$Create$();
};
protoOf(InternalHashMap).o5 = function (key) {
this.q5();
var index = findKey(this, key);
if (index < 0)
return false;
removeEntryAt(this, index);
return true;
};
protoOf(InternalHashMap).c6 = function (entry) {
var index = findKey(this, entry.y());
if (index < 0)
return false;
return equals(ensureNotNull(this.m6_1)[index], entry.z());
};
protoOf(InternalHashMap).c8 = function (entry) {
return this.c6(isInterface(entry, Entry) ? entry : THROW_CCE());
};
protoOf(InternalHashMap).d6 = function (entry) {
this.q5();
var index = findKey(this, entry.y());
if (index < 0)
return false;
if (!equals(ensureNotNull(this.m6_1)[index], entry.z()))
return false;
removeEntryAt(this, index);
return true;
};
protoOf(InternalHashMap).p5 = function () {
return new KeysItr(this);
};
protoOf(InternalHashMap).v5 = function () {
return new ValuesItr(this);
};
protoOf(InternalHashMap).y5 = function () {
return new EntriesItr(this);
};
function InternalMap() {
}
function LinkedHashMap_init_$Init$($this) {
HashMap_init_$Init$_0($this);
LinkedHashMap.call($this);
return $this;
}
function LinkedHashMap_init_$Create$() {
return LinkedHashMap_init_$Init$(objectCreate(protoOf(LinkedHashMap)));
}
function LinkedHashMap_init_$Init$_0(initialCapacity, $this) {
HashMap_init_$Init$_2(initialCapacity, $this);
LinkedHashMap.call($this);
return $this;
}
function LinkedHashMap_init_$Create$_0(initialCapacity) {
return LinkedHashMap_init_$Init$_0(initialCapacity, objectCreate(protoOf(LinkedHashMap)));
}
function LinkedHashMap_init_$Init$_1(original, $this) {
HashMap_init_$Init$_3(original, $this);
LinkedHashMap.call($this);
return $this;
}
function LinkedHashMap_init_$Create$_1(original) {
return LinkedHashMap_init_$Init$_1(original, objectCreate(protoOf(LinkedHashMap)));
}
function LinkedHashMap_init_$Init$_2(internalMap, $this) {
HashMap_init_$Init$(internalMap, $this);
LinkedHashMap.call($this);
return $this;
}
function LinkedHashMap_init_$Create$_2(internalMap) {
return LinkedHashMap_init_$Init$_2(internalMap, objectCreate(protoOf(LinkedHashMap)));
}
function EmptyHolder() {
EmptyHolder_instance = this;
var tmp = this;
// Inline function 'kotlin.also' call
var this_0 = InternalHashMap_init_$Create$_0(0);
this_0.b8();
tmp.d8_1 = LinkedHashMap_init_$Create$_2(this_0);
}
var EmptyHolder_instance;
function EmptyHolder_getInstance() {
if (EmptyHolder_instance == null)
new EmptyHolder();
return EmptyHolder_instance;
}
protoOf(LinkedHashMap).e5 = function () {
this.k5_1.b8();
var tmp;
if (this.p() > 0) {
tmp = this;
} else {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = EmptyHolder_getInstance().d8_1;
}
return tmp;
};
protoOf(LinkedHashMap).u3 = function () {
return this.k5_1.q5();
};
function LinkedHashMap() {
}
function LinkedHashSet_init_$Init$($this) {
HashSet_init_$Init$_0($this);
LinkedHashSet.call($this);
return $this;
}
function LinkedHashSet_init_$Create$() {
return LinkedHashSet_init_$Init$(objectCreate(protoOf(LinkedHashSet)));
}
function LinkedHashSet_init_$Init$_0(elements, $this) {
HashSet_init_$Init$_1(elements, $this);
LinkedHashSet.call($this);
return $this;
}
function LinkedHashSet_init_$Create$_0(elements) {
return LinkedHashSet_init_$Init$_0(elements, objectCreate(protoOf(LinkedHashSet)));
}
function LinkedHashSet_init_$Init$_1(initialCapacity, loadFactor, $this) {
HashSet_init_$Init$_2(initialCapacity, loadFactor, $this);
LinkedHashSet.call($this);
return $this;
}
function LinkedHashSet_init_$Init$_2(initialCapacity, $this) {
LinkedHashSet_init_$Init$_1(initialCapacity, 1.0, $this);
return $this;
}
function LinkedHashSet_init_$Create$_1(initialCapacity) {
return LinkedHashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
}
protoOf(LinkedHashSet).u3 = function () {
return this.k6_1.q5();
};
function LinkedHashSet() {
}
function RandomAccess() {
}
function get_output() {
_init_properties_console_kt__rfg7jv();
return output;
}
var output;
function BaseOutput() {
}
protoOf(BaseOutput).l8 = function () {
this.m8('\n');
};
protoOf(BaseOutput).n8 = function (message) {
this.m8(message);
this.l8();
};
function NodeJsOutput(outputStream) {
BaseOutput.call(this);
this.o8_1 = outputStream;
}
protoOf(NodeJsOutput).m8 = function (message) {
// Inline function 'kotlin.io.String' call
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
var messageString = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
this.o8_1.write(messageString);
};
function BufferedOutputToConsoleLog() {
BufferedOutput.call(this);
}
protoOf(BufferedOutputToConsoleLog).m8 = function (message) {
// Inline function 'kotlin.io.String' call
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
var s = tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
// Inline function 'kotlin.text.nativeLastIndexOf' call
// Inline function 'kotlin.js.asDynamic' call
var i = s.lastIndexOf('\n', 0);
if (i >= 0) {
this.q8_1 = this.q8_1 + substring(s, 0, i);
this.r8();
s = substring_0(s, i + 1 | 0);
}
this.q8_1 = this.q8_1 + s;
};
protoOf(BufferedOutputToConsoleLog).r8 = function () {
console.log(this.q8_1);
this.q8_1 = '';
};
function BufferedOutput() {
BaseOutput.call(this);
this.q8_1 = '';
}
protoOf(BufferedOutput).m8 = function (message) {
var tmp = this;
var tmp_0 = this.q8_1;
// Inline function 'kotlin.io.String' call
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
tmp.q8_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
};
function println(message) {
_init_properties_console_kt__rfg7jv();
get_output().n8(message);
}
function print(message) {
_init_properties_console_kt__rfg7jv();
get_output().m8(message);
}
function println_0() {
_init_properties_console_kt__rfg7jv();
get_output().l8();
}
var properties_initialized_console_kt_gll9dl;
function _init_properties_console_kt__rfg7jv() {
if (!properties_initialized_console_kt_gll9dl) {
properties_initialized_console_kt_gll9dl = true;
// Inline function 'kotlin.run' call
var isNode = typeof process !== 'undefined' && process.versions && !!process.versions.node;
output = isNode ? new NodeJsOutput(process.stdout) : new BufferedOutputToConsoleLog();
}
}
function CoroutineImpl(resultContinuation) {
InterceptedCoroutine.call(this);
this.t8_1 = resultContinuation;
this.u8_1 = 0;
this.v8_1 = 0;
this.w8_1 = null;
this.x8_1 = null;
this.y8_1 = null;
var tmp = this;
var tmp0_safe_receiver = this.t8_1;
tmp.z8_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a9();
}
protoOf(CoroutineImpl).a9 = function () {
return ensureNotNull(this.z8_1);
};
protoOf(CoroutineImpl).b9 = function (result) {
var current = this;
// Inline function 'kotlin.Result.getOrNull' call
var tmp;
if (_Result___get_isFailure__impl__jpiriv(result)) {
tmp = null;
} else {
var tmp_0 = _Result___get_value__impl__bjfvqg(result);
tmp = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
}
var currentResult = tmp;
var currentException = Result__exceptionOrNull_impl_p6xea9(result);
while (true) {
// Inline function 'kotlin.with' call
var $this$with = current;
if (currentException == null) {
$this$with.w8_1 = currentResult;
} else {
$this$with.u8_1 = $this$with.v8_1;
$this$with.x8_1 = currentException;
}
try {
var outcome = $this$with.c9();
if (outcome === get_COROUTINE_SUSPENDED())
return Unit_instance;
currentResult = outcome;
currentException = null;
} catch ($p) {
var exception = $p;
currentResult = null;
// Inline function 'kotlin.js.unsafeCast' call
currentException = exception;
}
$this$with.e9();
var completion = ensureNotNull($this$with.t8_1);
if (completion instanceof CoroutineImpl) {
current = completion;
} else {
if (!(currentException == null)) {
// Inline function 'kotlin.coroutines.resumeWithException' call
// Inline function 'kotlin.Companion.failure' call
var exception_0 = ensureNotNull(currentException);
var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception_0));
completion.f9(tmp$ret$2);
} else {
// Inline function 'kotlin.coroutines.resume' call
// Inline function 'kotlin.Companion.success' call
var value = currentResult;
var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
completion.f9(tmp$ret$4);
}
return Unit_instance;
}
}
};
protoOf(CoroutineImpl).f9 = function (result) {
return this.b9(result);
};
function CompletedContinuation() {
}
protoOf(CompletedContinuation).a9 = function () {
var message = 'This continuation is already complete';
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(CompletedContinuation).b9 = function (result) {
// Inline function 'kotlin.error' call
var message = 'This continuation is already complete';
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(CompletedContinuation).f9 = function (result) {
return this.b9(result);
};
protoOf(CompletedContinuation).toString = function () {
return 'This continuation is already complete';
};
var CompletedContinuation_instance;
function CompletedContinuation_getInstance() {
return CompletedContinuation_instance;
}
function InterceptedCoroutine() {
this.d9_1 = null;
}
protoOf(InterceptedCoroutine).e9 = function () {
var intercepted = this.d9_1;
if (!(intercepted == null) && !(intercepted === this)) {
ensureNotNull(this.a9().g9(Key_instance)).h9(intercepted);
}
this.d9_1 = CompletedContinuation_instance;
};
function createCoroutineUnintercepted(_this__u8e3s4, receiver, completion) {
// Inline function 'kotlin.coroutines.intrinsics.createCoroutineFromSuspendFunction' call
return new createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$1(completion, _this__u8e3s4, receiver, completion);
}
function invokeSuspendSuperTypeWithReceiver(_this__u8e3s4, receiver, completion) {
throw new NotImplementedError('It is intrinsic method');
}
function createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$1($completion, $this_createCoroutineUnintercepted, $receiver, $completion$1) {
this.q9_1 = $this_createCoroutineUnintercepted;
this.r9_1 = $receiver;
this.s9_1 = $completion$1;
CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE());
}
protoOf(createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$1).c9 = function () {
if (this.x8_1 != null)
throw this.x8_1;
// Inline function 'kotlin.js.asDynamic' call
var a = this.q9_1;
return typeof a === 'function' ? a(this.r9_1, this.s9_1) : this.q9_1.t9(this.r9_1, this.s9_1);
};
function Exception_init_$Init$($this) {
extendThrowable($this);
Exception.call($this);
return $this;
}
function Exception_init_$Create$() {
var tmp = Exception_init_$Init$(objectCreate(protoOf(Exception)));
captureStack(tmp, Exception_init_$Create$);
return tmp;
}
function Exception_init_$Init$_0(message, $this) {
extendThrowable($this, message);
Exception.call($this);
return $this;
}
function Exception_init_$Create$_0(message) {
var tmp = Exception_init_$Init$_0(message, objectCreate(protoOf(Exception)));
captureStack(tmp, Exception_init_$Create$_0);
return tmp;
}
function Exception_init_$Init$_1(message, cause, $this) {
extendThrowable($this, message, cause);
Exception.call($this);
return $this;
}
function Exception() {
captureStack(this, Exception);
}
function IllegalArgumentException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
IllegalArgumentException.call($this);
return $this;
}
function IllegalArgumentException_init_$Create$() {
var tmp = IllegalArgumentException_init_$Init$(objectCreate(protoOf(IllegalArgumentException)));
captureStack(tmp, IllegalArgumentException_init_$Create$);
return tmp;
}
function IllegalArgumentException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
IllegalArgumentException.call($this);
return $this;
}
function IllegalArgumentException_init_$Create$_0(message) {
var tmp = IllegalArgumentException_init_$Init$_0(message, objectCreate(protoOf(IllegalArgumentException)));
captureStack(tmp, IllegalArgumentException_init_$Create$_0);
return tmp;
}
function IllegalArgumentException_init_$Init$_1(message, cause, $this) {
RuntimeException_init_$Init$_1(message, cause, $this);
IllegalArgumentException.call($this);
return $this;
}
function IllegalArgumentException_init_$Create$_1(message, cause) {
var tmp = IllegalArgumentException_init_$Init$_1(message, cause, objectCreate(protoOf(IllegalArgumentException)));
captureStack(tmp, IllegalArgumentException_init_$Create$_1);
return tmp;
}
function IllegalArgumentException() {
captureStack(this, IllegalArgumentException);
}
function IllegalStateException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
IllegalStateException.call($this);
return $this;
}
function IllegalStateException_init_$Create$() {
var tmp = IllegalStateException_init_$Init$(objectCreate(protoOf(IllegalStateException)));
captureStack(tmp, IllegalStateException_init_$Create$);
return tmp;
}
function IllegalStateException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
IllegalStateException.call($this);
return $this;
}
function IllegalStateException_init_$Create$_0(message) {
var tmp = IllegalStateException_init_$Init$_0(message, objectCreate(protoOf(IllegalStateException)));
captureStack(tmp, IllegalStateException_init_$Create$_0);
return tmp;
}
function IllegalStateException() {
captureStack(this, IllegalStateException);
}
function UnsupportedOperationException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
UnsupportedOperationException.call($this);
return $this;
}
function UnsupportedOperationException_init_$Create$() {
var tmp = UnsupportedOperationException_init_$Init$(objectCreate(protoOf(UnsupportedOperationException)));
captureStack(tmp, UnsupportedOperationException_init_$Create$);
return tmp;
}
function UnsupportedOperationException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
UnsupportedOperationException.call($this);
return $this;
}
function UnsupportedOperationException_init_$Create$_0(message) {
var tmp = UnsupportedOperationException_init_$Init$_0(message, objectCreate(protoOf(UnsupportedOperationException)));
captureStack(tmp, UnsupportedOperationException_init_$Create$_0);
return tmp;
}
function UnsupportedOperationException() {
captureStack(this, UnsupportedOperationException);
}
function RuntimeException_init_$Init$($this) {
Exception_init_$Init$($this);
RuntimeException.call($this);
return $this;
}
function RuntimeException_init_$Create$() {
var tmp = RuntimeException_init_$Init$(objectCreate(protoOf(RuntimeException)));
captureStack(tmp, RuntimeException_init_$Create$);
return tmp;
}
function RuntimeException_init_$Init$_0(message, $this) {
Exception_init_$Init$_0(message, $this);
RuntimeException.call($this);
return $this;
}
function RuntimeException_init_$Create$_0(message) {
var tmp = RuntimeException_init_$Init$_0(message, objectCreate(protoOf(RuntimeException)));
captureStack(tmp, RuntimeException_init_$Create$_0);
return tmp;
}
function RuntimeException_init_$Init$_1(message, cause, $this) {
Exception_init_$Init$_1(message, cause, $this);
RuntimeException.call($this);
return $this;
}
function RuntimeException() {
captureStack(this, RuntimeException);
}
function NoSuchElementException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
NoSuchElementException.call($this);
return $this;
}
function NoSuchElementException_init_$Create$() {
var tmp = NoSuchElementException_init_$Init$(objectCreate(protoOf(NoSuchElementException)));
captureStack(tmp, NoSuchElementException_init_$Create$);
return tmp;
}
function NoSuchElementException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
NoSuchElementException.call($this);
return $this;
}
function NoSuchElementException_init_$Create$_0(message) {
var tmp = NoSuchElementException_init_$Init$_0(message, objectCreate(protoOf(NoSuchElementException)));
captureStack(tmp, NoSuchElementException_init_$Create$_0);
return tmp;
}
function NoSuchElementException() {
captureStack(this, NoSuchElementException);
}
function Error_init_$Init$($this) {
extendThrowable($this);
Error_0.call($this);
return $this;
}
function Error_init_$Create$() {
var tmp = Error_init_$Init$(objectCreate(protoOf(Error_0)));
captureStack(tmp, Error_init_$Create$);
return tmp;
}
function Error_init_$Init$_0(message, $this) {
extendThrowable($this, message);
Error_0.call($this);
return $this;
}
function Error_init_$Init$_1(message, cause, $this) {
extendThrowable($this, message, cause);
Error_0.call($this);
return $this;
}
function Error_0() {
captureStack(this, Error_0);
}
function IndexOutOfBoundsException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
IndexOutOfBoundsException.call($this);
return $this;
}
function IndexOutOfBoundsException_init_$Create$() {
var tmp = IndexOutOfBoundsException_init_$Init$(objectCreate(protoOf(IndexOutOfBoundsException)));
captureStack(tmp, IndexOutOfBoundsException_init_$Create$);
return tmp;
}
function IndexOutOfBoundsException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
IndexOutOfBoundsException.call($this);
return $this;
}
function IndexOutOfBoundsException_init_$Create$_0(message) {
var tmp = IndexOutOfBoundsException_init_$Init$_0(message, objectCreate(protoOf(IndexOutOfBoundsException)));
captureStack(tmp, IndexOutOfBoundsException_init_$Create$_0);
return tmp;
}
function IndexOutOfBoundsException() {
captureStack(this, IndexOutOfBoundsException);
}
function ArithmeticException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
ArithmeticException.call($this);
return $this;
}
function ArithmeticException_init_$Create$() {
var tmp = ArithmeticException_init_$Init$(objectCreate(protoOf(ArithmeticException)));
captureStack(tmp, ArithmeticException_init_$Create$);
return tmp;
}
function ArithmeticException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
ArithmeticException.call($this);
return $this;
}
function ArithmeticException_init_$Create$_0(message) {
var tmp = ArithmeticException_init_$Init$_0(message, objectCreate(protoOf(ArithmeticException)));
captureStack(tmp, ArithmeticException_init_$Create$_0);
return tmp;
}
function ArithmeticException() {
captureStack(this, ArithmeticException);
}
function ClassCastException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
ClassCastException.call($this);
return $this;
}
function ClassCastException_init_$Create$() {
var tmp = ClassCastException_init_$Init$(objectCreate(protoOf(ClassCastException)));
captureStack(tmp, ClassCastException_init_$Create$);
return tmp;
}
function ClassCastException() {
captureStack(this, ClassCastException);
}
function AssertionError_init_$Init$($this) {
Error_init_$Init$($this);
AssertionError.call($this);
return $this;
}
function AssertionError_init_$Create$() {
var tmp = AssertionError_init_$Init$(objectCreate(protoOf(AssertionError)));
captureStack(tmp, AssertionError_init_$Create$);
return tmp;
}
function AssertionError_init_$Init$_0(message, $this) {
var tmp = message == null ? null : toString_1(message);
Error_init_$Init$_1(tmp, message instanceof Error ? message : null, $this);
AssertionError.call($this);
return $this;
}
function AssertionError_init_$Create$_0(message) {
var tmp = AssertionError_init_$Init$_0(message, objectCreate(protoOf(AssertionError)));
captureStack(tmp, AssertionError_init_$Create$_0);
return tmp;
}
function AssertionError() {
captureStack(this, AssertionError);
}
function ConcurrentModificationException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
ConcurrentModificationException.call($this);
return $this;
}
function ConcurrentModificationException_init_$Create$() {
var tmp = ConcurrentModificationException_init_$Init$(objectCreate(protoOf(ConcurrentModificationException)));
captureStack(tmp, ConcurrentModificationException_init_$Create$);
return tmp;
}
function ConcurrentModificationException_init_$Init$_0(message, $this) {
RuntimeException_init_$Init$_0(message, $this);
ConcurrentModificationException.call($this);
return $this;
}
function ConcurrentModificationException_init_$Create$_0(message) {
var tmp = ConcurrentModificationException_init_$Init$_0(message, objectCreate(protoOf(ConcurrentModificationException)));
captureStack(tmp, ConcurrentModificationException_init_$Create$_0);
return tmp;
}
function ConcurrentModificationException() {
captureStack(this, ConcurrentModificationException);
}
function NumberFormatException_init_$Init$($this) {
IllegalArgumentException_init_$Init$($this);
NumberFormatException.call($this);
return $this;
}
function NumberFormatException_init_$Create$() {
var tmp = NumberFormatException_init_$Init$(objectCreate(protoOf(NumberFormatException)));
captureStack(tmp, NumberFormatException_init_$Create$);
return tmp;
}
function NumberFormatException_init_$Init$_0(message, $this) {
IllegalArgumentException_init_$Init$_0(message, $this);
NumberFormatException.call($this);
return $this;
}
function NumberFormatException_init_$Create$_0(message) {
var tmp = NumberFormatException_init_$Init$_0(message, objectCreate(protoOf(NumberFormatException)));
captureStack(tmp, NumberFormatException_init_$Create$_0);
return tmp;
}
function NumberFormatException() {
captureStack(this, NumberFormatException);
}
function NullPointerException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
NullPointerException.call($this);
return $this;
}
function NullPointerException_init_$Create$() {
var tmp = NullPointerException_init_$Init$(objectCreate(protoOf(NullPointerException)));
captureStack(tmp, NullPointerException_init_$Create$);
return tmp;
}
function NullPointerException() {
captureStack(this, NullPointerException);
}
function NoWhenBranchMatchedException_init_$Init$($this) {
RuntimeException_init_$Init$($this);
NoWhenBranchMatchedException.call($this);
return $this;
}
function NoWhenBranchMatchedException_init_$Create$() {
var tmp = NoWhenBranchMatchedException_init_$Init$(objectCreate(protoOf(NoWhenBranchMatchedException)));
captureStack(tmp, NoWhenBranchMatchedException_init_$Create$);
return tmp;
}
function NoWhenBranchMatchedException() {
captureStack(this, NoWhenBranchMatchedException);
}
function json(pairs) {
var res = {};
var inductionVariable = 0;
var last = pairs.length;
while (inductionVariable < last) {
var _destruct__k2r9zo = pairs[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
var name = _destruct__k2r9zo.y9();
var value = _destruct__k2r9zo.z9();
res[name] = value;
}
return res;
}
function lazy(mode, initializer) {
return new UnsafeLazyImpl(initializer);
}
function lazy_0(initializer) {
return new UnsafeLazyImpl(initializer);
}
function fillFrom(src, dst) {
var srcLen = src.length;
var dstLen = dst.length;
var index = 0;
// Inline function 'kotlin.js.unsafeCast' call
var arr = dst;
while (index < srcLen && index < dstLen) {
var tmp = index;
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
arr[tmp] = src[_unary__edvuaz];
}
return dst;
}
function arrayCopyResize(source, newSize, defaultValue) {
// Inline function 'kotlin.js.unsafeCast' call
var result = source.slice(0, newSize);
// Inline function 'kotlin.copyArrayType' call
if (source.$type$ !== undefined) {
result.$type$ = source.$type$;
}
var index = source.length;
if (newSize > index) {
// Inline function 'kotlin.js.asDynamic' call
result.length = newSize;
while (index < newSize) {
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
result[_unary__edvuaz] = defaultValue;
}
}
return result;
}
function abs(n) {
return n < 0 ? -n | 0 | 0 : n;
}
function roundToInt(_this__u8e3s4) {
var tmp;
if (isNaN_0(_this__u8e3s4)) {
throw IllegalArgumentException_init_$Create$_0('Cannot round NaN value.');
} else if (_this__u8e3s4 > 2147483647) {
tmp = 2147483647;
} else if (_this__u8e3s4 < -2147483648) {
tmp = -2147483648;
} else {
tmp = numberToInt(Math.round(_this__u8e3s4));
}
return tmp;
}
function withSign(_this__u8e3s4, sign) {
var thisSignBit = doubleSignBit(_this__u8e3s4);
var newSignBit = doubleSignBit(sign);
return thisSignBit === newSignBit ? _this__u8e3s4 : -_this__u8e3s4;
}
function get_js(_this__u8e3s4) {
return (_this__u8e3s4 instanceof KClassImpl ? _this__u8e3s4 : THROW_CCE()).ba();
}
function KClass() {
}
function KClassImpl(jClass) {
this.aa_1 = jClass;
}
protoOf(KClassImpl).ba = function () {
return this.aa_1;
};
protoOf(KClassImpl).equals = function (other) {
var tmp;
if (other instanceof NothingKClassImpl) {
tmp = false;
} else {
if (other instanceof ErrorKClass) {
tmp = false;
} else {
if (other instanceof KClassImpl) {
tmp = equals(this.ba(), other.ba());
} else {
tmp = false;
}
}
}
return tmp;
};
protoOf(KClassImpl).hashCode = function () {
var tmp0_safe_receiver = this.ca();
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
return tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
};
protoOf(KClassImpl).toString = function () {
return 'class ' + this.ca();
};
function NothingKClassImpl() {
NothingKClassImpl_instance = this;
KClassImpl.call(this, Object);
this.fa_1 = 'Nothing';
}
protoOf(NothingKClassImpl).ca = function () {
return this.fa_1;
};
protoOf(NothingKClassImpl).da = function (value) {
return false;
};
protoOf(NothingKClassImpl).ba = function () {
throw UnsupportedOperationException_init_$Create$_0("There's no native JS class for Nothing type");
};
protoOf(NothingKClassImpl).equals = function (other) {
return other === this;
};
protoOf(NothingKClassImpl).hashCode = function () {
return 0;
};
var NothingKClassImpl_instance;
function NothingKClassImpl_getInstance() {
if (NothingKClassImpl_instance == null)
new NothingKClassImpl();
return NothingKClassImpl_instance;
}
function ErrorKClass() {
}
protoOf(ErrorKClass).ca = function () {
var message = 'Unknown simpleName for ErrorKClass';
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(ErrorKClass).da = function (value) {
var message = "Can's check isInstance on ErrorKClass";
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(ErrorKClass).equals = function (other) {
return other === this;
};
protoOf(ErrorKClass).hashCode = function () {
return 0;
};
function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) {
KClassImpl.call(this, jClass);
this.ha_1 = givenSimpleName;
this.ia_1 = isInstanceFunction;
}
protoOf(PrimitiveKClassImpl).equals = function (other) {
if (!(other instanceof PrimitiveKClassImpl))
return false;
return protoOf(KClassImpl).equals.call(this, other) && this.ha_1 === other.ha_1;
};
protoOf(PrimitiveKClassImpl).ca = function () {
return this.ha_1;
};
protoOf(PrimitiveKClassImpl).da = function (value) {
return this.ia_1(value);
};
function SimpleKClassImpl(jClass) {
KClassImpl.call(this, jClass);
var tmp = this;
// Inline function 'kotlin.js.asDynamic' call
var tmp0_safe_receiver = jClass.$metadata$;
// Inline function 'kotlin.js.unsafeCast' call
tmp.ka_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.simpleName;
}
protoOf(SimpleKClassImpl).ca = function () {
return this.ka_1;
};
protoOf(SimpleKClassImpl).da = function (value) {
return jsIsType(value, this.ba());
};
function KProperty1() {
}
function KMutableProperty1() {
}
function createKType(classifier, arguments_0, isMarkedNullable) {
return new KTypeImpl(classifier, asList(arguments_0), isMarkedNullable);
}
function createInvariantKTypeProjection(type) {
return Companion_getInstance_10().ma(type);
}
function KTypeImpl(classifier, arguments_0, isMarkedNullable) {
this.na_1 = classifier;
this.oa_1 = arguments_0;
this.pa_1 = isMarkedNullable;
}
protoOf(KTypeImpl).qa = function () {
return this.na_1;
};
protoOf(KTypeImpl).ra = function () {
return this.oa_1;
};
protoOf(KTypeImpl).sa = function () {
return this.pa_1;
};
protoOf(KTypeImpl).equals = function (other) {
var tmp;
var tmp_0;
var tmp_1;
if (other instanceof KTypeImpl) {
tmp_1 = equals(this.na_1, other.na_1);
} else {
tmp_1 = false;
}
if (tmp_1) {
tmp_0 = equals(this.oa_1, other.oa_1);
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = this.pa_1 === other.pa_1;
} else {
tmp = false;
}
return tmp;
};
protoOf(KTypeImpl).hashCode = function () {
return imul(imul(hashCode(this.na_1), 31) + hashCode(this.oa_1) | 0, 31) + getBooleanHashCode(this.pa_1) | 0;
};
protoOf(KTypeImpl).toString = function () {
var tmp = this.na_1;
var kClass = isInterface(tmp, KClass) ? tmp : null;
var classifierName = kClass == null ? toString_1(this.na_1) : !(kClass.ca() == null) ? kClass.ca() : '(non-denotable type)';
var args = this.oa_1.j() ? '' : joinToString_0(this.oa_1, ', ', '<', '>');
var nullable = this.pa_1 ? '?' : '';
return plus_3(classifierName, args) + nullable;
};
function get_functionClasses() {
_init_properties_primitives_kt__3fums4();
return functionClasses;
}
var functionClasses;
function PrimitiveClasses$anyClass$lambda(it) {
return !(it == null);
}
function PrimitiveClasses$numberClass$lambda(it) {
return isNumber(it);
}
function PrimitiveClasses$booleanClass$lambda(it) {
return !(it == null) ? typeof it === 'boolean' : false;
}
function PrimitiveClasses$byteClass$lambda(it) {
return !(it == null) ? typeof it === 'number' : false;
}
function PrimitiveClasses$shortClass$lambda(it) {
return !(it == null) ? typeof it === 'number' : false;
}
function PrimitiveClasses$intClass$lambda(it) {
return !(it == null) ? typeof it === 'number' : false;
}
function PrimitiveClasses$floatClass$lambda(it) {
return !(it == null) ? typeof it === 'number' : false;
}
function PrimitiveClasses$doubleClass$lambda(it) {
return !(it == null) ? typeof it === 'number' : false;
}
function PrimitiveClasses$arrayClass$lambda(it) {
return !(it == null) ? isArray(it) : false;
}
function PrimitiveClasses$stringClass$lambda(it) {
return !(it == null) ? typeof it === 'string' : false;
}
function PrimitiveClasses$throwableClass$lambda(it) {
return it instanceof Error;
}
function PrimitiveClasses$booleanArrayClass$lambda(it) {
return !(it == null) ? isBooleanArray(it) : false;
}
function PrimitiveClasses$charArrayClass$lambda(it) {
return !(it == null) ? isCharArray(it) : false;
}
function PrimitiveClasses$byteArrayClass$lambda(it) {
return !(it == null) ? isByteArray(it) : false;
}
function PrimitiveClasses$shortArrayClass$lambda(it) {
return !(it == null) ? isShortArray(it) : false;
}
function PrimitiveClasses$intArrayClass$lambda(it) {
return !(it == null) ? isIntArray(it) : false;
}
function PrimitiveClasses$longArrayClass$lambda(it) {
return !(it == null) ? isLongArray(it) : false;
}
function PrimitiveClasses$floatArrayClass$lambda(it) {
return !(it == null) ? isFloatArray(it) : false;
}
function PrimitiveClasses$doubleArrayClass$lambda(it) {
return !(it == null) ? isDoubleArray(it) : false;
}
function PrimitiveClasses$functionClass$lambda($arity) {
return function (it) {
var tmp;
if (typeof it === 'function') {
// Inline function 'kotlin.js.asDynamic' call
tmp = it.length === $arity;
} else {
tmp = false;
}
return tmp;
};
}
function PrimitiveClasses() {
PrimitiveClasses_instance = this;
var tmp = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_0 = Object;
tmp.anyClass = new PrimitiveKClassImpl(tmp_0, 'Any', PrimitiveClasses$anyClass$lambda);
var tmp_1 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_2 = Number;
tmp_1.numberClass = new PrimitiveKClassImpl(tmp_2, 'Number', PrimitiveClasses$numberClass$lambda);
this.nothingClass = NothingKClassImpl_getInstance();
var tmp_3 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_4 = Boolean;
tmp_3.booleanClass = new PrimitiveKClassImpl(tmp_4, 'Boolean', PrimitiveClasses$booleanClass$lambda);
var tmp_5 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_6 = Number;
tmp_5.byteClass = new PrimitiveKClassImpl(tmp_6, 'Byte', PrimitiveClasses$byteClass$lambda);
var tmp_7 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_8 = Number;
tmp_7.shortClass = new PrimitiveKClassImpl(tmp_8, 'Short', PrimitiveClasses$shortClass$lambda);
var tmp_9 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_10 = Number;
tmp_9.intClass = new PrimitiveKClassImpl(tmp_10, 'Int', PrimitiveClasses$intClass$lambda);
var tmp_11 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_12 = Number;
tmp_11.floatClass = new PrimitiveKClassImpl(tmp_12, 'Float', PrimitiveClasses$floatClass$lambda);
var tmp_13 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_14 = Number;
tmp_13.doubleClass = new PrimitiveKClassImpl(tmp_14, 'Double', PrimitiveClasses$doubleClass$lambda);
var tmp_15 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_16 = Array;
tmp_15.arrayClass = new PrimitiveKClassImpl(tmp_16, 'Array', PrimitiveClasses$arrayClass$lambda);
var tmp_17 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_18 = String;
tmp_17.stringClass = new PrimitiveKClassImpl(tmp_18, 'String', PrimitiveClasses$stringClass$lambda);
var tmp_19 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_20 = Error;
tmp_19.throwableClass = new PrimitiveKClassImpl(tmp_20, 'Throwable', PrimitiveClasses$throwableClass$lambda);
var tmp_21 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_22 = Array;
tmp_21.booleanArrayClass = new PrimitiveKClassImpl(tmp_22, 'BooleanArray', PrimitiveClasses$booleanArrayClass$lambda);
var tmp_23 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_24 = Uint16Array;
tmp_23.charArrayClass = new PrimitiveKClassImpl(tmp_24, 'CharArray', PrimitiveClasses$charArrayClass$lambda);
var tmp_25 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_26 = Int8Array;
tmp_25.byteArrayClass = new PrimitiveKClassImpl(tmp_26, 'ByteArray', PrimitiveClasses$byteArrayClass$lambda);
var tmp_27 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_28 = Int16Array;
tmp_27.shortArrayClass = new PrimitiveKClassImpl(tmp_28, 'ShortArray', PrimitiveClasses$shortArrayClass$lambda);
var tmp_29 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_30 = Int32Array;
tmp_29.intArrayClass = new PrimitiveKClassImpl(tmp_30, 'IntArray', PrimitiveClasses$intArrayClass$lambda);
var tmp_31 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_32 = Array;
tmp_31.longArrayClass = new PrimitiveKClassImpl(tmp_32, 'LongArray', PrimitiveClasses$longArrayClass$lambda);
var tmp_33 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_34 = Float32Array;
tmp_33.floatArrayClass = new PrimitiveKClassImpl(tmp_34, 'FloatArray', PrimitiveClasses$floatArrayClass$lambda);
var tmp_35 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_36 = Float64Array;
tmp_35.doubleArrayClass = new PrimitiveKClassImpl(tmp_36, 'DoubleArray', PrimitiveClasses$doubleArrayClass$lambda);
}
protoOf(PrimitiveClasses).ta = function () {
return this.anyClass;
};
protoOf(PrimitiveClasses).ua = function () {
return this.numberClass;
};
protoOf(PrimitiveClasses).va = function () {
return this.nothingClass;
};
protoOf(PrimitiveClasses).wa = function () {
return this.booleanClass;
};
protoOf(PrimitiveClasses).xa = function () {
return this.byteClass;
};
protoOf(PrimitiveClasses).ya = function () {
return this.shortClass;
};
protoOf(PrimitiveClasses).za = function () {
return this.intClass;
};
protoOf(PrimitiveClasses).ab = function () {
return this.floatClass;
};
protoOf(PrimitiveClasses).bb = function () {
return this.doubleClass;
};
protoOf(PrimitiveClasses).cb = function () {
return this.arrayClass;
};
protoOf(PrimitiveClasses).db = function () {
return this.stringClass;
};
protoOf(PrimitiveClasses).eb = function () {
return this.throwableClass;
};
protoOf(PrimitiveClasses).fb = function () {
return this.booleanArrayClass;
};
protoOf(PrimitiveClasses).gb = function () {
return this.charArrayClass;
};
protoOf(PrimitiveClasses).hb = function () {
return this.byteArrayClass;
};
protoOf(PrimitiveClasses).ib = function () {
return this.shortArrayClass;
};
protoOf(PrimitiveClasses).jb = function () {
return this.intArrayClass;
};
protoOf(PrimitiveClasses).kb = function () {
return this.longArrayClass;
};
protoOf(PrimitiveClasses).lb = function () {
return this.floatArrayClass;
};
protoOf(PrimitiveClasses).mb = function () {
return this.doubleArrayClass;
};
protoOf(PrimitiveClasses).functionClass = function (arity) {
var tmp0_elvis_lhs = get_functionClasses()[arity];
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.run' call
// Inline function 'kotlin.js.unsafeCast' call
var tmp_0 = Function;
var tmp_1 = 'Function' + arity;
var result = new PrimitiveKClassImpl(tmp_0, tmp_1, PrimitiveClasses$functionClass$lambda(arity));
// Inline function 'kotlin.js.asDynamic' call
get_functionClasses()[arity] = result;
tmp = result;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
var PrimitiveClasses_instance;
function PrimitiveClasses_getInstance() {
if (PrimitiveClasses_instance == null)
new PrimitiveClasses();
return PrimitiveClasses_instance;
}
var properties_initialized_primitives_kt_jle18u;
function _init_properties_primitives_kt__3fums4() {
if (!properties_initialized_primitives_kt_jle18u) {
properties_initialized_primitives_kt_jle18u = true;
// Inline function 'kotlin.arrayOfNulls' call
functionClasses = Array(0);
}
}
function getKClass(jClass) {
var tmp;
if (Array.isArray(jClass)) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = getKClassM(jClass);
} else {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = getKClass1(jClass);
}
return tmp;
}
function getKClassM(jClasses) {
var tmp;
switch (jClasses.length) {
case 1:
tmp = getKClass1(jClasses[0]);
break;
case 0:
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = NothingKClassImpl_getInstance();
break;
default:
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = new ErrorKClass();
break;
}
return tmp;
}
function getKClass1(jClass) {
if (jClass === String) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return PrimitiveClasses_getInstance().stringClass;
}
// Inline function 'kotlin.js.asDynamic' call
var metadata = jClass.$metadata$;
var tmp;
if (metadata != null) {
var tmp_0;
if (metadata.$kClass$ == null) {
var kClass = new SimpleKClassImpl(jClass);
metadata.$kClass$ = kClass;
tmp_0 = kClass;
} else {
tmp_0 = metadata.$kClass$;
}
tmp = tmp_0;
} else {
tmp = new SimpleKClassImpl(jClass);
}
return tmp;
}
function getKClassFromExpression(e) {
var tmp;
switch (typeof e) {
case 'string':
tmp = PrimitiveClasses_getInstance().stringClass;
break;
case 'number':
var tmp_0;
// Inline function 'kotlin.js.jsBitwiseOr' call
// Inline function 'kotlin.js.asDynamic' call
if ((e | 0) === e) {
tmp_0 = PrimitiveClasses_getInstance().intClass;
} else {
tmp_0 = PrimitiveClasses_getInstance().doubleClass;
}
tmp = tmp_0;
break;
case 'boolean':
tmp = PrimitiveClasses_getInstance().booleanClass;
break;
case 'function':
var tmp_1 = PrimitiveClasses_getInstance();
// Inline function 'kotlin.js.asDynamic' call
tmp = tmp_1.functionClass(e.length);
break;
default:
var tmp_2;
if (isBooleanArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().booleanArrayClass;
} else {
if (isCharArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().charArrayClass;
} else {
if (isByteArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().byteArrayClass;
} else {
if (isShortArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().shortArrayClass;
} else {
if (isIntArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().intArrayClass;
} else {
if (isLongArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().longArrayClass;
} else {
if (isFloatArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().floatArrayClass;
} else {
if (isDoubleArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().doubleArrayClass;
} else {
if (isInterface(e, KClass)) {
tmp_2 = getKClass(KClass);
} else {
if (isArray(e)) {
tmp_2 = PrimitiveClasses_getInstance().arrayClass;
} else {
var constructor = Object.getPrototypeOf(e).constructor;
var tmp_3;
if (constructor === Object) {
tmp_3 = PrimitiveClasses_getInstance().anyClass;
} else if (constructor === Error) {
tmp_3 = PrimitiveClasses_getInstance().throwableClass;
} else {
var jsClass = constructor;
tmp_3 = getKClass1(jsClass);
}
tmp_2 = tmp_3;
}
}
}
}
}
}
}
}
}
}
tmp = tmp_2;
break;
}
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return tmp;
}
function findAssociatedObject(_this__u8e3s4, annotationClass) {
var tmp;
var tmp_0;
if (_this__u8e3s4 instanceof KClassImpl) {
tmp_0 = annotationClass instanceof KClassImpl;
} else {
tmp_0 = false;
}
if (tmp_0) {
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$0 = annotationClass.ba();
var tmp0_elvis_lhs = getAssociatedObjectId(tmp$ret$0);
var tmp_1;
if (tmp0_elvis_lhs == null) {
return null;
} else {
tmp_1 = tmp0_elvis_lhs;
}
var key = tmp_1;
// Inline function 'kotlin.js.asDynamic' call
var tmp1_safe_receiver = _this__u8e3s4.ba().$metadata$;
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.associatedObjects;
var tmp_2;
if (tmp2_elvis_lhs == null) {
return null;
} else {
tmp_2 = tmp2_elvis_lhs;
}
var map = tmp_2;
var tmp3_elvis_lhs = map[key];
var tmp_3;
if (tmp3_elvis_lhs == null) {
return null;
} else {
tmp_3 = tmp3_elvis_lhs;
}
var factory = tmp_3;
return factory();
} else {
tmp = null;
}
return tmp;
}
function getAssociatedObjectId(annotationClass) {
var tmp0_safe_receiver = annotationClass.$metadata$;
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.associatedObjectKey;
var tmp;
if (tmp1_safe_receiver == null) {
tmp = null;
} else {
// Inline function 'kotlin.js.unsafeCast' call
tmp = tmp1_safe_receiver;
}
return tmp;
}
function reset(_this__u8e3s4) {
_this__u8e3s4.lastIndex = 0;
}
function ConstrainedOnceSequence(sequence) {
this.nb_1 = sequence;
}
protoOf(ConstrainedOnceSequence).m = function () {
var tmp0_elvis_lhs = this.nb_1;
var tmp;
if (tmp0_elvis_lhs == null) {
throw IllegalStateException_init_$Create$_0('This sequence can be consumed only once.');
} else {
tmp = tmp0_elvis_lhs;
}
var sequence = tmp;
this.nb_1 = null;
return sequence.m();
};
function CharacterCodingException_init_$Init$($this) {
CharacterCodingException.call($this, null);
return $this;
}
function CharacterCodingException_init_$Create$() {
var tmp = CharacterCodingException_init_$Init$(objectCreate(protoOf(CharacterCodingException)));
captureStack(tmp, CharacterCodingException_init_$Create$);
return tmp;
}
function CharacterCodingException(message) {
Exception_init_$Init$_0(message, this);
captureStack(this, CharacterCodingException);
}
function StringBuilder_init_$Init$(capacity, $this) {
StringBuilder_init_$Init$_0($this);
return $this;
}
function StringBuilder_init_$Create$(capacity) {
return StringBuilder_init_$Init$(capacity, objectCreate(protoOf(StringBuilder)));
}
function StringBuilder_init_$Init$_0($this) {
StringBuilder.call($this, '');
return $this;
}
function StringBuilder_init_$Create$_0() {
return StringBuilder_init_$Init$_0(objectCreate(protoOf(StringBuilder)));
}
function StringBuilder(content) {
this.x7_1 = content;
}
protoOf(StringBuilder).a = function () {
// Inline function 'kotlin.js.asDynamic' call
return this.x7_1.length;
};
protoOf(StringBuilder).b = function (index) {
// Inline function 'kotlin.text.getOrElse' call
var this_0 = this.x7_1;
var tmp;
if (0 <= index ? index <= (charSequenceLength(this_0) - 1 | 0) : false) {
tmp = charSequenceGet(this_0, index);
} else {
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', length: ' + this.a() + '}');
}
return tmp;
};
protoOf(StringBuilder).c = function (startIndex, endIndex) {
return substring(this.x7_1, startIndex, endIndex);
};
protoOf(StringBuilder).a8 = function (value) {
this.x7_1 = this.x7_1 + toString(value);
return this;
};
protoOf(StringBuilder).f = function (value) {
this.x7_1 = this.x7_1 + toString_0(value);
return this;
};
protoOf(StringBuilder).ob = function (value, startIndex, endIndex) {
return this.pb(value == null ? 'null' : value, startIndex, endIndex);
};
protoOf(StringBuilder).y7 = function (value) {
this.x7_1 = this.x7_1 + toString_0(value);
return this;
};
protoOf(StringBuilder).qb = function (value) {
return this.z7(value.toString());
};
protoOf(StringBuilder).rb = function (value) {
return this.z7(value.toString());
};
protoOf(StringBuilder).z7 = function (value) {
var tmp = this;
var tmp_0 = this.x7_1;
tmp.x7_1 = tmp_0 + (value == null ? 'null' : value);
return this;
};
protoOf(StringBuilder).sb = function (index, value) {
Companion_instance_5.e4(index, this.a());
this.x7_1 = substring(this.x7_1, 0, index) + toString(value) + substring_0(this.x7_1, index);
return this;
};
protoOf(StringBuilder).toString = function () {
return this.x7_1;
};
protoOf(StringBuilder).tb = function () {
this.x7_1 = '';
return this;
};
protoOf(StringBuilder).ub = function (index) {
Companion_instance_5.n4(index, this.a());
this.x7_1 = substring(this.x7_1, 0, index) + substring_0(this.x7_1, index + 1 | 0);
return this;
};
protoOf(StringBuilder).pb = function (value, startIndex, endIndex) {
var stringCsq = toString_1(value);
Companion_instance_5.vb(startIndex, endIndex, stringCsq.length);
this.x7_1 = this.x7_1 + substring(stringCsq, startIndex, endIndex);
return this;
};
function uppercaseChar(_this__u8e3s4) {
// Inline function 'kotlin.text.uppercase' call
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var uppercase = toString(_this__u8e3s4).toUpperCase();
return uppercase.length > 1 ? _this__u8e3s4 : charCodeAt(uppercase, 0);
}
function isLowSurrogate(_this__u8e3s4) {
return _Char___init__impl__6a9atx(56320) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(57343) : false;
}
function isHighSurrogate(_this__u8e3s4) {
return _Char___init__impl__6a9atx(55296) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(56319) : false;
}
function isWhitespace(_this__u8e3s4) {
return isWhitespaceImpl(_this__u8e3s4);
}
function isDigit(_this__u8e3s4) {
if (_Char___init__impl__6a9atx(48) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(57) : false) {
return true;
}
if (Char__compareTo_impl_ypi4mb(_this__u8e3s4, _Char___init__impl__6a9atx(128)) < 0) {
return false;
}
return isDigitImpl(_this__u8e3s4);
}
function toString_2(_this__u8e3s4, radix) {
return toStringImpl(_this__u8e3s4, checkRadix(radix));
}
function checkRadix(radix) {
if (!(2 <= radix ? radix <= 36 : false)) {
throw IllegalArgumentException_init_$Create$_0('radix ' + radix + ' was not in valid range 2..36');
}
return radix;
}
function toInt(_this__u8e3s4, radix) {
var tmp0_elvis_lhs = toIntOrNull_0(_this__u8e3s4, radix);
var tmp;
if (tmp0_elvis_lhs == null) {
numberFormatError(_this__u8e3s4);
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
function toInt_0(_this__u8e3s4) {
var tmp0_elvis_lhs = toIntOrNull(_this__u8e3s4);
var tmp;
if (tmp0_elvis_lhs == null) {
numberFormatError(_this__u8e3s4);
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
}
function digitOf(char, radix) {
// Inline function 'kotlin.let' call
var it = Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(48)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(57)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(48)) : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(90)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(97)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(122)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(97)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(128)) < 0 ? -1 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65313)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65338)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65313)) + 10 | 0 : Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65345)) >= 0 && Char__compareTo_impl_ypi4mb(char, _Char___init__impl__6a9atx(65370)) <= 0 ? Char__minus_impl_a2frrh(char, _Char___init__impl__6a9atx(65345)) + 10 | 0 : digitToIntImpl(char);
return it >= radix ? -1 : it;
}
function Regex_init_$Init$(pattern, option, $this) {
Regex.call($this, pattern, setOf(option));
return $this;
}
function Regex_init_$Create$(pattern, option) {
return Regex_init_$Init$(pattern, option, objectCreate(protoOf(Regex)));
}
function Regex_init_$Init$_0(pattern, $this) {
Regex.call($this, pattern, emptySet());
return $this;
}
function Regex_init_$Create$_0(pattern) {
return Regex_init_$Init$_0(pattern, objectCreate(protoOf(Regex)));
}
function Companion_4() {
Companion_instance_4 = this;
this.wb_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
this.xb_1 = new RegExp('[\\\\$]', 'g');
this.yb_1 = new RegExp('\\$', 'g');
}
protoOf(Companion_4).zb = function (literal) {
// Inline function 'kotlin.text.nativeReplace' call
var pattern = this.wb_1;
// Inline function 'kotlin.js.asDynamic' call
return literal.replace(pattern, '\\$&');
};
protoOf(Companion_4).ac = function (literal) {
// Inline function 'kotlin.text.nativeReplace' call
var pattern = this.yb_1;
// Inline function 'kotlin.js.asDynamic' call
return literal.replace(pattern, '$$$$');
};
var Companion_instance_4;
function Companion_getInstance_4() {
if (Companion_instance_4 == null)
new Companion_4();
return Companion_instance_4;
}
function Regex$findAll$lambda(this$0, $input, $startIndex) {
return function () {
return this$0.gc($input, $startIndex);
};
}
function Regex$findAll$lambda_0(match) {
return match.o();
}
function Regex$replace$lambda($replacement) {
return function (it) {
return substituteGroupRefs(it, $replacement);
};
}
function Regex(pattern, options) {
Companion_getInstance_4();
this.bc_1 = pattern;
this.cc_1 = toSet_0(options);
this.dc_1 = new RegExp(pattern, toFlags(options, 'gu'));
this.ec_1 = null;
this.fc_1 = null;
}
protoOf(Regex).hc = function (input) {
reset(this.dc_1);
var match = this.dc_1.exec(toString_1(input));
return !(match == null) && match.index === 0 && this.dc_1.lastIndex === charSequenceLength(input);
};
protoOf(Regex).gc = function (input, startIndex) {
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
}
return findNext(this.dc_1, toString_1(input), startIndex, this.dc_1);
};
protoOf(Regex).ic = function (input, startIndex, $super) {
startIndex = startIndex === VOID ? 0 : startIndex;
return $super === VOID ? this.gc(input, startIndex) : $super.gc.call(this, input, startIndex);
};
protoOf(Regex).jc = function (input, startIndex) {
if (startIndex < 0 || startIndex > charSequenceLength(input)) {
throw IndexOutOfBoundsException_init_$Create$_0('Start index out of bounds: ' + startIndex + ', input length: ' + charSequenceLength(input));
}
var tmp = Regex$findAll$lambda(this, input, startIndex);
return generateSequence_1(tmp, Regex$findAll$lambda_0);
};
protoOf(Regex).kc = function (input, startIndex, $super) {
startIndex = startIndex === VOID ? 0 : startIndex;
return $super === VOID ? this.jc(input, startIndex) : $super.jc.call(this, input, startIndex);
};
protoOf(Regex).lc = function (input, replacement) {
if (!contains_5(replacement, _Char___init__impl__6a9atx(92)) && !contains_5(replacement, _Char___init__impl__6a9atx(36))) {
var tmp0 = toString_1(input);
// Inline function 'kotlin.text.nativeReplace' call
var pattern = this.dc_1;
// Inline function 'kotlin.js.asDynamic' call
return tmp0.replace(pattern, replacement);
}
return this.mc(input, Regex$replace$lambda(replacement));
};
protoOf(Regex).mc = function (input, transform) {
var match = this.ic(input);
if (match == null)
return toString_1(input);
var lastStart = 0;
var length = charSequenceLength(input);
var sb = StringBuilder_init_$Create$(length);
do {
var foundMatch = ensureNotNull(match);
sb.ob(input, lastStart, foundMatch.nc().k());
sb.f(transform(foundMatch));
lastStart = foundMatch.nc().l() + 1 | 0;
match = foundMatch.o();
}
while (lastStart < length && !(match == null));
if (lastStart < length) {
sb.ob(input, lastStart, length);
}
return sb.toString();
};
protoOf(Regex).toString = function () {
return this.dc_1.toString();
};
function MatchGroup(value) {
this.oc_1 = value;
}
protoOf(MatchGroup).toString = function () {
return 'MatchGroup(value=' + this.oc_1 + ')';
};
protoOf(MatchGroup).hashCode = function () {
return getStringHashCode(this.oc_1);
};
protoOf(MatchGroup).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof MatchGroup))
return false;
var tmp0_other_with_cast = other instanceof MatchGroup ? other : THROW_CCE();
if (!(this.oc_1 === tmp0_other_with_cast.oc_1))
return false;
return true;
};
var RegexOption_IGNORE_CASE_instance;
var RegexOption_MULTILINE_instance;
var RegexOption_entriesInitialized;
function RegexOption_initEntries() {
if (RegexOption_entriesInitialized)
return Unit_instance;
RegexOption_entriesInitialized = true;
RegexOption_IGNORE_CASE_instance = new RegexOption('IGNORE_CASE', 0, 'i');
RegexOption_MULTILINE_instance = new RegexOption('MULTILINE', 1, 'm');
}
function RegexOption(name, ordinal, value) {
Enum.call(this, name, ordinal);
this.rc_1 = value;
}
function toFlags(_this__u8e3s4, prepend) {
return joinToString_0(_this__u8e3s4, '', prepend, VOID, VOID, VOID, toFlags$lambda);
}
function findNext(_this__u8e3s4, input, from, nextPattern) {
_this__u8e3s4.lastIndex = from;
var match = _this__u8e3s4.exec(input);
if (match == null)
return null;
var range = numberRangeToNumber(match.index, _this__u8e3s4.lastIndex - 1 | 0);
return new findNext$1(range, match, nextPattern, input);
}
function substituteGroupRefs(match, replacement) {
var index = 0;
var result = StringBuilder_init_$Create$_0();
while (index < replacement.length) {
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
var char = charCodeAt(replacement, _unary__edvuaz);
if (char === _Char___init__impl__6a9atx(92)) {
if (index === replacement.length)
throw IllegalArgumentException_init_$Create$_0('The Char to be escaped is missing');
var _unary__edvuaz_0 = index;
index = _unary__edvuaz_0 + 1 | 0;
result.a8(charCodeAt(replacement, _unary__edvuaz_0));
} else if (char === _Char___init__impl__6a9atx(36)) {
if (index === replacement.length)
throw IllegalArgumentException_init_$Create$_0('Capturing group index is missing');
if (charCodeAt(replacement, index) === _Char___init__impl__6a9atx(123)) {
index = index + 1 | 0;
var endIndex = readGroupName(replacement, index);
if (index === endIndex)
throw IllegalArgumentException_init_$Create$_0('Named capturing group reference should have a non-empty name');
if (endIndex === replacement.length || !(charCodeAt(replacement, endIndex) === _Char___init__impl__6a9atx(125)))
throw IllegalArgumentException_init_$Create$_0("Named capturing group reference is missing trailing '}'");
var groupName = substring(replacement, index, endIndex);
var tmp0_safe_receiver = get(match.sc(), groupName);
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.oc_1;
result.z7(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
index = endIndex + 1 | 0;
} else {
var containsArg = charCodeAt(replacement, index);
if (!(_Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false))
throw IllegalArgumentException_init_$Create$_0('Invalid capturing group reference');
var groups = match.sc();
var endIndex_0 = readGroupIndex(replacement, index, groups.p());
var groupIndex = toInt_0(substring(replacement, index, endIndex_0));
if (groupIndex >= groups.p())
throw IndexOutOfBoundsException_init_$Create$_0('Group with index ' + groupIndex + ' does not exist');
var tmp2_safe_receiver = groups.q(groupIndex);
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.oc_1;
result.z7(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs);
index = endIndex_0;
}
} else {
result.a8(char);
}
}
return result.toString();
}
function readGroupName(_this__u8e3s4, startIndex) {
var index = startIndex;
$l$loop: while (index < _this__u8e3s4.length) {
if (charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(125)) {
break $l$loop;
} else {
index = index + 1 | 0;
}
}
return index;
}
function get(_this__u8e3s4, name) {
var tmp0_elvis_lhs = isInterface(_this__u8e3s4, MatchNamedGroupCollection) ? _this__u8e3s4 : null;
var tmp;
if (tmp0_elvis_lhs == null) {
throw UnsupportedOperationException_init_$Create$_0('Retrieving groups by name is not supported on this platform.');
} else {
tmp = tmp0_elvis_lhs;
}
var namedGroups = tmp;
return namedGroups.tc(name);
}
function readGroupIndex(_this__u8e3s4, startIndex, groupCount) {
var index = startIndex + 1 | 0;
var groupIndex = Char__minus_impl_a2frrh(charCodeAt(_this__u8e3s4, startIndex), _Char___init__impl__6a9atx(48));
$l$loop_0: while (true) {
var tmp;
if (index < _this__u8e3s4.length) {
var containsArg = charCodeAt(_this__u8e3s4, index);
tmp = _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
} else {
tmp = false;
}
if (!tmp) {
break $l$loop_0;
}
var newGroupIndex = imul(groupIndex, 10) + Char__minus_impl_a2frrh(charCodeAt(_this__u8e3s4, index), _Char___init__impl__6a9atx(48)) | 0;
if (0 <= newGroupIndex ? newGroupIndex < groupCount : false) {
groupIndex = newGroupIndex;
index = index + 1 | 0;
} else {
break $l$loop_0;
}
}
return index;
}
function toFlags$lambda(it) {
return it.rc_1;
}
function findNext$o$groups$o$iterator$lambda(this$0) {
return function (it) {
return this$0.q(it);
};
}
function hasOwnPrototypeProperty($this, o, name) {
// Inline function 'kotlin.js.unsafeCast' call
return Object.prototype.hasOwnProperty.call(o, name);
}
function advanceToNextCharacter($this, index) {
if (index < get_lastIndex_2($this.cd_1)) {
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var code1 = $this.cd_1.charCodeAt(index);
if (55296 <= code1 ? code1 <= 56319 : false) {
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var code2 = $this.cd_1.charCodeAt(index + 1 | 0);
if (56320 <= code2 ? code2 <= 57343 : false) {
return index + 2 | 0;
}
}
}
return index + 1 | 0;
}
function findNext$1$groups$1($match, this$0) {
this.uc_1 = $match;
this.vc_1 = this$0;
AbstractCollection.call(this);
}
protoOf(findNext$1$groups$1).p = function () {
return this.uc_1.length;
};
protoOf(findNext$1$groups$1).m = function () {
var tmp = asSequence(get_indices_0(this));
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).m();
};
protoOf(findNext$1$groups$1).q = function (index) {
// Inline function 'kotlin.js.get' call
// Inline function 'kotlin.js.asDynamic' call
var tmp0_safe_receiver = this.uc_1[index];
var tmp;
if (tmp0_safe_receiver == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = new MatchGroup(tmp0_safe_receiver);
}
return tmp;
};
protoOf(findNext$1$groups$1).tc = function (name) {
// Inline function 'kotlin.js.asDynamic' call
var tmp0_elvis_lhs = this.uc_1.groups;
var tmp;
if (tmp0_elvis_lhs == null) {
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist. No named capturing group was defined in Regex');
} else {
tmp = tmp0_elvis_lhs;
}
var groups = tmp;
if (!hasOwnPrototypeProperty(this.vc_1, groups, name))
throw IllegalArgumentException_init_$Create$_0('Capturing group with name {' + name + '} does not exist');
var value = groups[name];
var tmp_0;
if (value == undefined) {
tmp_0 = null;
} else {
tmp_0 = new MatchGroup((!(value == null) ? typeof value === 'string' : false) ? value : THROW_CCE());
}
return tmp_0;
};
function findNext$1$groupValues$1($match) {
this.dd_1 = $match;
AbstractList.call(this);
}
protoOf(findNext$1$groupValues$1).p = function () {
return this.dd_1.length;
};
protoOf(findNext$1$groupValues$1).q = function (index) {
// Inline function 'kotlin.js.get' call
// Inline function 'kotlin.js.asDynamic' call
var tmp0_elvis_lhs = this.dd_1[index];
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
};
function findNext$1($range, $match, $nextPattern, $input) {
this.zc_1 = $range;
this.ad_1 = $match;
this.bd_1 = $nextPattern;
this.cd_1 = $input;
this.wc_1 = $range;
var tmp = this;
tmp.xc_1 = new findNext$1$groups$1($match, this);
this.yc_1 = null;
}
protoOf(findNext$1).nc = function () {
return this.wc_1;
};
protoOf(findNext$1).z = function () {
// Inline function 'kotlin.js.get' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$1 = this.ad_1[0];
return ensureNotNull(tmp$ret$1);
};
protoOf(findNext$1).sc = function () {
return this.xc_1;
};
protoOf(findNext$1).ed = function () {
if (this.yc_1 == null) {
var tmp = this;
tmp.yc_1 = new findNext$1$groupValues$1(this.ad_1);
}
return ensureNotNull(this.yc_1);
};
protoOf(findNext$1).o = function () {
return findNext(this.bd_1, this.cd_1, this.zc_1.j() ? advanceToNextCharacter(this, this.zc_1.k()) : this.zc_1.l() + 1 | 0, this.bd_1);
};
function RegexOption_IGNORE_CASE_getInstance() {
RegexOption_initEntries();
return RegexOption_IGNORE_CASE_instance;
}
function RegexOption_MULTILINE_getInstance() {
RegexOption_initEntries();
return RegexOption_MULTILINE_instance;
}
var STRING_CASE_INSENSITIVE_ORDER;
function substring(_this__u8e3s4, startIndex, endIndex) {
_init_properties_stringJs_kt__bg7zye();
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.substring(startIndex, endIndex);
}
function substring_0(_this__u8e3s4, startIndex) {
_init_properties_stringJs_kt__bg7zye();
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.substring(startIndex);
}
function compareTo_0(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
_init_properties_stringJs_kt__bg7zye();
if (ignoreCase) {
var n1 = _this__u8e3s4.length;
var n2 = other.length;
// Inline function 'kotlin.comparisons.minOf' call
var min = Math.min(n1, n2);
if (min === 0)
return n1 - n2 | 0;
var inductionVariable = 0;
if (inductionVariable < min)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var thisChar = charCodeAt(_this__u8e3s4, index);
var otherChar = charCodeAt(other, index);
if (!(thisChar === otherChar)) {
thisChar = uppercaseChar(thisChar);
otherChar = uppercaseChar(otherChar);
if (!(thisChar === otherChar)) {
// Inline function 'kotlin.text.lowercaseChar' call
// Inline function 'kotlin.text.lowercase' call
var this_0 = thisChar;
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var tmp$ret$3 = toString(this_0).toLowerCase();
thisChar = charCodeAt(tmp$ret$3, 0);
// Inline function 'kotlin.text.lowercaseChar' call
// Inline function 'kotlin.text.lowercase' call
var this_1 = otherChar;
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var tmp$ret$7 = toString(this_1).toLowerCase();
otherChar = charCodeAt(tmp$ret$7, 0);
if (!(thisChar === otherChar)) {
return Char__compareTo_impl_ypi4mb(thisChar, otherChar);
}
}
}
}
while (inductionVariable < min);
return n1 - n2 | 0;
} else {
return compareTo(_this__u8e3s4, other);
}
}
function decodeToString(_this__u8e3s4) {
_init_properties_stringJs_kt__bg7zye();
return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
}
function sam$kotlin_Comparator$0(function_0) {
this.fd_1 = function_0;
}
protoOf(sam$kotlin_Comparator$0).gd = function (a, b) {
return this.fd_1(a, b);
};
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
return this.gd(a, b);
};
protoOf(sam$kotlin_Comparator$0).g3 = function () {
return this.fd_1;
};
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, Comparator) : false) {
var tmp_0;
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
tmp_0 = equals(this.g3(), other.g3());
} else {
tmp_0 = false;
}
tmp = tmp_0;
} else {
tmp = false;
}
return tmp;
};
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
return hashCode(this.g3());
};
function STRING_CASE_INSENSITIVE_ORDER$lambda(a, b) {
_init_properties_stringJs_kt__bg7zye();
return compareTo_0(a, b, true);
}
var properties_initialized_stringJs_kt_nta8o4;
function _init_properties_stringJs_kt__bg7zye() {
if (!properties_initialized_stringJs_kt_nta8o4) {
properties_initialized_stringJs_kt_nta8o4 = true;
var tmp = STRING_CASE_INSENSITIVE_ORDER$lambda;
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
}
}
function repeat(_this__u8e3s4, n) {
// Inline function 'kotlin.require' call
if (!(n >= 0)) {
var message = "Count 'n' must be non-negative, but was " + n + '.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
var tmp;
switch (n) {
case 0:
tmp = '';
break;
case 1:
tmp = toString_1(_this__u8e3s4);
break;
default:
var result = '';
// Inline function 'kotlin.text.isEmpty' call
if (!(charSequenceLength(_this__u8e3s4) === 0)) {
var s = toString_1(_this__u8e3s4);
var count = n;
$l$loop: while (true) {
if ((count & 1) === 1) {
result = result + s;
}
count = count >>> 1 | 0;
if (count === 0) {
break $l$loop;
}
s = s + s;
}
}
return result;
}
return tmp;
}
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp2 = new RegExp(Companion_getInstance_4().zb(oldValue), ignoreCase ? 'gui' : 'gu');
// Inline function 'kotlin.text.nativeReplace' call
var replacement = Companion_getInstance_4().ac(newValue);
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.replace(tmp2, replacement);
}
function startsWith(_this__u8e3s4, prefix, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
if (!ignoreCase) {
// Inline function 'kotlin.text.nativeStartsWith' call
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.startsWith(prefix, 0);
} else
return regionMatches(_this__u8e3s4, 0, prefix, 0, prefix.length, ignoreCase);
}
function endsWith(_this__u8e3s4, suffix, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
if (!ignoreCase) {
// Inline function 'kotlin.text.nativeEndsWith' call
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.endsWith(suffix);
} else
return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
}
function regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
}
function startsWith_0(_this__u8e3s4, prefix, startIndex, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
if (!ignoreCase) {
// Inline function 'kotlin.text.nativeStartsWith' call
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.startsWith(prefix, startIndex);
} else
return regionMatches(_this__u8e3s4, startIndex, prefix, 0, prefix.length, ignoreCase);
}
function replace_0(_this__u8e3s4, oldChar, newChar, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp2 = new RegExp(Companion_getInstance_4().zb(toString(oldChar)), ignoreCase ? 'gui' : 'gu');
// Inline function 'kotlin.text.nativeReplace' call
var replacement = toString(newChar);
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.replace(tmp2, replacement);
}
var REPLACEMENT_BYTE_SEQUENCE;
function decodeUtf8(bytes, startIndex, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
// Inline function 'kotlin.require' call
// Inline function 'kotlin.require' call
if (!(startIndex >= 0 && endIndex <= bytes.length && startIndex <= endIndex)) {
var message = 'Failed requirement.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
var byteIndex = startIndex;
var stringBuilder = StringBuilder_init_$Create$_0();
while (byteIndex < endIndex) {
var _unary__edvuaz = byteIndex;
byteIndex = _unary__edvuaz + 1 | 0;
var byte = bytes[_unary__edvuaz];
if (byte >= 0)
stringBuilder.a8(numberToChar(byte));
else if (byte >> 5 === -2) {
var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
if (code <= 0) {
stringBuilder.a8(_Char___init__impl__6a9atx(65533));
byteIndex = byteIndex + (-code | 0) | 0;
} else {
stringBuilder.a8(numberToChar(code));
byteIndex = byteIndex + 1 | 0;
}
} else if (byte >> 4 === -2) {
var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
if (code_0 <= 0) {
stringBuilder.a8(_Char___init__impl__6a9atx(65533));
byteIndex = byteIndex + (-code_0 | 0) | 0;
} else {
stringBuilder.a8(numberToChar(code_0));
byteIndex = byteIndex + 2 | 0;
}
} else if (byte >> 3 === -2) {
var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
if (code_1 <= 0) {
stringBuilder.a8(_Char___init__impl__6a9atx(65533));
byteIndex = byteIndex + (-code_1 | 0) | 0;
} else {
var high = (code_1 - 65536 | 0) >> 10 | 55296;
var low = code_1 & 1023 | 56320;
stringBuilder.a8(numberToChar(high));
stringBuilder.a8(numberToChar(low));
byteIndex = byteIndex + 3 | 0;
}
} else {
malformed(0, byteIndex, throwOnMalformed);
stringBuilder.a8(_Char___init__impl__6a9atx(65533));
}
}
return stringBuilder.toString();
}
function codePointFrom2(bytes, byte1, index, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
if ((byte1 & 30) === 0 || index >= endIndex) {
return malformed(0, index, throwOnMalformed);
}
var byte2 = bytes[index];
if (!((byte2 & 192) === 128)) {
return malformed(0, index, throwOnMalformed);
}
return byte1 << 6 ^ byte2 ^ 3968;
}
function codePointFrom3(bytes, byte1, index, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
if (index >= endIndex) {
return malformed(0, index, throwOnMalformed);
}
var byte2 = bytes[index];
if ((byte1 & 15) === 0) {
if (!((byte2 & 224) === 160)) {
return malformed(0, index, throwOnMalformed);
}
} else if ((byte1 & 15) === 13) {
if (!((byte2 & 224) === 128)) {
return malformed(0, index, throwOnMalformed);
}
} else if (!((byte2 & 192) === 128)) {
return malformed(0, index, throwOnMalformed);
}
if ((index + 1 | 0) === endIndex) {
return malformed(1, index, throwOnMalformed);
}
var byte3 = bytes[index + 1 | 0];
if (!((byte3 & 192) === 128)) {
return malformed(1, index, throwOnMalformed);
}
return byte1 << 12 ^ byte2 << 6 ^ byte3 ^ -123008;
}
function codePointFrom4(bytes, byte1, index, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
if (index >= endIndex) {
return malformed(0, index, throwOnMalformed);
}
var byte2 = bytes[index];
if ((byte1 & 15) === 0) {
if ((byte2 & 240) <= 128) {
return malformed(0, index, throwOnMalformed);
}
} else if ((byte1 & 15) === 4) {
if (!((byte2 & 240) === 128)) {
return malformed(0, index, throwOnMalformed);
}
} else if ((byte1 & 15) > 4) {
return malformed(0, index, throwOnMalformed);
}
if (!((byte2 & 192) === 128)) {
return malformed(0, index, throwOnMalformed);
}
if ((index + 1 | 0) === endIndex) {
return malformed(1, index, throwOnMalformed);
}
var byte3 = bytes[index + 1 | 0];
if (!((byte3 & 192) === 128)) {
return malformed(1, index, throwOnMalformed);
}
if ((index + 2 | 0) === endIndex) {
return malformed(2, index, throwOnMalformed);
}
var byte4 = bytes[index + 2 | 0];
if (!((byte4 & 192) === 128)) {
return malformed(2, index, throwOnMalformed);
}
return byte1 << 18 ^ byte2 << 12 ^ byte3 << 6 ^ byte4 ^ 3678080;
}
function malformed(size, index, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
if (throwOnMalformed)
throw new CharacterCodingException('Malformed sequence starting at ' + (index - 1 | 0));
return -size | 0;
}
var properties_initialized_utf8Encoding_kt_eee1vq;
function _init_properties_utf8Encoding_kt__9thjs4() {
if (!properties_initialized_utf8Encoding_kt_eee1vq) {
properties_initialized_utf8Encoding_kt_eee1vq = true;
// Inline function 'kotlin.byteArrayOf' call
REPLACEMENT_BYTE_SEQUENCE = new Int8Array([-17, -65, -67]);
}
}
function addSuppressed(_this__u8e3s4, exception) {
if (!(_this__u8e3s4 === exception)) {
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var suppressed = _this__u8e3s4._suppressed;
if (suppressed == null) {
// Inline function 'kotlin.js.asDynamic' call
_this__u8e3s4._suppressed = mutableListOf([exception]);
} else {
suppressed.e(exception);
}
}
}
var DurationUnit_NANOSECONDS_instance;
var DurationUnit_MICROSECONDS_instance;
var DurationUnit_MILLISECONDS_instance;
var DurationUnit_SECONDS_instance;
var DurationUnit_MINUTES_instance;
var DurationUnit_HOURS_instance;
var DurationUnit_DAYS_instance;
var DurationUnit_entriesInitialized;
function DurationUnit_initEntries() {
if (DurationUnit_entriesInitialized)
return Unit_instance;
DurationUnit_entriesInitialized = true;
DurationUnit_NANOSECONDS_instance = new DurationUnit('NANOSECONDS', 0, 1.0);
DurationUnit_MICROSECONDS_instance = new DurationUnit('MICROSECONDS', 1, 1000.0);
DurationUnit_MILLISECONDS_instance = new DurationUnit('MILLISECONDS', 2, 1000000.0);
DurationUnit_SECONDS_instance = new DurationUnit('SECONDS', 3, 1.0E9);
DurationUnit_MINUTES_instance = new DurationUnit('MINUTES', 4, 6.0E10);
DurationUnit_HOURS_instance = new DurationUnit('HOURS', 5, 3.6E12);
DurationUnit_DAYS_instance = new DurationUnit('DAYS', 6, 8.64E13);
}
function DurationUnit(name, ordinal, scale) {
Enum.call(this, name, ordinal);
this.jd_1 = scale;
}
function convertDurationUnit(value, sourceUnit, targetUnit) {
var sourceCompareTarget = compareTo(sourceUnit.jd_1, targetUnit.jd_1);
var tmp;
if (sourceCompareTarget > 0) {
var scale = numberToLong(sourceUnit.jd_1 / targetUnit.jd_1);
var result = value.s2(scale);
tmp = result.t2(scale).equals(value) ? result : value.p2(new Long(0, 0)) > 0 ? new Long(-1, 2147483647) : new Long(0, -2147483648);
} else if (sourceCompareTarget < 0) {
tmp = value.t2(numberToLong(targetUnit.jd_1 / sourceUnit.jd_1));
} else {
tmp = value;
}
return tmp;
}
function DurationUnit_NANOSECONDS_getInstance() {
DurationUnit_initEntries();
return DurationUnit_NANOSECONDS_instance;
}
function DurationUnit_MILLISECONDS_getInstance() {
DurationUnit_initEntries();
return DurationUnit_MILLISECONDS_instance;
}
function DurationUnit_SECONDS_getInstance() {
DurationUnit_initEntries();
return DurationUnit_SECONDS_instance;
}
function DurationUnit_MINUTES_getInstance() {
DurationUnit_initEntries();
return DurationUnit_MINUTES_instance;
}
function DurationUnit_HOURS_getInstance() {
DurationUnit_initEntries();
return DurationUnit_HOURS_instance;
}
function DurationUnit_DAYS_getInstance() {
DurationUnit_initEntries();
return DurationUnit_DAYS_instance;
}
function formatBytesInto(_this__u8e3s4, dst, dstOffset, startIndex, endIndex) {
var dstIndex = dstOffset;
if (startIndex < 4) {
dstIndex = formatBytesInto_0(_this__u8e3s4.o2_1, dst, dstIndex, startIndex, coerceAtMost(endIndex, 4));
}
if (endIndex > 4) {
formatBytesInto_0(_this__u8e3s4.n2_1, dst, dstIndex, coerceAtLeast(startIndex - 4 | 0, 0), endIndex - 4 | 0);
}
}
function formatBytesInto_0(_this__u8e3s4, dst, dstOffset, startIndex, endIndex) {
var dstIndex = dstOffset;
var inductionVariable = 3 - startIndex | 0;
var last = 4 - endIndex | 0;
if (last <= inductionVariable)
do {
var reversedIndex = inductionVariable;
inductionVariable = inductionVariable + -1 | 0;
var shift = reversedIndex << 3;
var byte = _this__u8e3s4 >> shift & 255;
var byteDigits = get_BYTE_TO_LOWER_CASE_HEX_DIGITS()[byte];
var _unary__edvuaz = dstIndex;
dstIndex = _unary__edvuaz + 1 | 0;
dst[_unary__edvuaz] = toByte(byteDigits >> 8);
var _unary__edvuaz_0 = dstIndex;
dstIndex = _unary__edvuaz_0 + 1 | 0;
dst[_unary__edvuaz_0] = toByte(byteDigits);
}
while (!(reversedIndex === last));
return dstIndex;
}
function AbstractCollection$toString$lambda(this$0) {
return function (it) {
return it === this$0 ? '(this Collection)' : toString_0(it);
};
}
function AbstractCollection() {
}
protoOf(AbstractCollection).d1 = function (element) {
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(this, Collection)) {
tmp = this.j();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = this.m();
while (_iterator__ex2g4s.n()) {
var element_0 = _iterator__ex2g4s.o();
if (equals(element_0, element)) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
};
protoOf(AbstractCollection).s1 = function (elements) {
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.all' call
var tmp;
if (isInterface(elements, Collection)) {
tmp = elements.j();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = elements.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (!this.d1(element)) {
tmp$ret$0 = false;
break $l$block_0;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
};
protoOf(AbstractCollection).j = function () {
return this.p() === 0;
};
protoOf(AbstractCollection).toString = function () {
return joinToString_0(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
};
protoOf(AbstractCollection).toArray = function () {
return collectionToArray(this);
};
function SubList_0(list, fromIndex, toIndex) {
AbstractList.call(this);
this.kd_1 = list;
this.ld_1 = fromIndex;
this.md_1 = 0;
Companion_instance_5.r3(this.ld_1, toIndex, this.kd_1.p());
this.md_1 = toIndex - this.ld_1 | 0;
}
protoOf(SubList_0).q = function (index) {
Companion_instance_5.n4(index, this.md_1);
return this.kd_1.q(this.ld_1 + index | 0);
};
protoOf(SubList_0).p = function () {
return this.md_1;
};
protoOf(SubList_0).r1 = function (fromIndex, toIndex) {
Companion_instance_5.r3(fromIndex, toIndex, this.md_1);
return new SubList_0(this.kd_1, this.ld_1 + fromIndex | 0, this.ld_1 + toIndex | 0);
};
function IteratorImpl_0($outer) {
this.od_1 = $outer;
this.nd_1 = 0;
}
protoOf(IteratorImpl_0).n = function () {
return this.nd_1 < this.od_1.p();
};
protoOf(IteratorImpl_0).o = function () {
if (!this.n())
throw NoSuchElementException_init_$Create$();
var _unary__edvuaz = this.nd_1;
this.nd_1 = _unary__edvuaz + 1 | 0;
return this.od_1.q(_unary__edvuaz);
};
function ListIteratorImpl_0($outer, index) {
this.rd_1 = $outer;
IteratorImpl_0.call(this, $outer);
Companion_instance_5.e4(index, this.rd_1.p());
this.nd_1 = index;
}
protoOf(ListIteratorImpl_0).f4 = function () {
return this.nd_1 > 0;
};
protoOf(ListIteratorImpl_0).g4 = function () {
return this.nd_1;
};
protoOf(ListIteratorImpl_0).h4 = function () {
if (!this.f4())
throw NoSuchElementException_init_$Create$();
this.nd_1 = this.nd_1 - 1 | 0;
return this.rd_1.q(this.nd_1);
};
protoOf(ListIteratorImpl_0).i4 = function () {
return this.nd_1 - 1 | 0;
};
function Companion_5() {
this.q3_1 = 2147483639;
}
protoOf(Companion_5).n4 = function (index, size) {
if (index < 0 || index >= size) {
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
}
};
protoOf(Companion_5).e4 = function (index, size) {
if (index < 0 || index > size) {
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
}
};
protoOf(Companion_5).r3 = function (fromIndex, toIndex, size) {
if (fromIndex < 0 || toIndex > size) {
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex + ', size: ' + size);
}
if (fromIndex > toIndex) {
throw IllegalArgumentException_init_$Create$_0('fromIndex: ' + fromIndex + ' > toIndex: ' + toIndex);
}
};
protoOf(Companion_5).vb = function (startIndex, endIndex, size) {
if (startIndex < 0 || endIndex > size) {
throw IndexOutOfBoundsException_init_$Create$_0('startIndex: ' + startIndex + ', endIndex: ' + endIndex + ', size: ' + size);
}
if (startIndex > endIndex) {
throw IllegalArgumentException_init_$Create$_0('startIndex: ' + startIndex + ' > endIndex: ' + endIndex);
}
};
protoOf(Companion_5).y6 = function (oldCapacity, minCapacity) {
var newCapacity = oldCapacity + (oldCapacity >> 1) | 0;
if ((newCapacity - minCapacity | 0) < 0)
newCapacity = minCapacity;
if ((newCapacity - 2147483639 | 0) > 0)
newCapacity = minCapacity > 2147483639 ? 2147483647 : 2147483639;
return newCapacity;
};
protoOf(Companion_5).r4 = function (c) {
var hashCode_0 = 1;
var _iterator__ex2g4s = c.m();
while (_iterator__ex2g4s.n()) {
var e = _iterator__ex2g4s.o();
var tmp = imul(31, hashCode_0);
var tmp1_elvis_lhs = e == null ? null : hashCode(e);
hashCode_0 = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
}
return hashCode_0;
};
protoOf(Companion_5).q4 = function (c, other) {
if (!(c.p() === other.p()))
return false;
var otherIterator = other.m();
var _iterator__ex2g4s = c.m();
while (_iterator__ex2g4s.n()) {
var elem = _iterator__ex2g4s.o();
var elemOther = otherIterator.o();
if (!equals(elem, elemOther)) {
return false;
}
}
return true;
};
var Companion_instance_5;
function Companion_getInstance_5() {
return Companion_instance_5;
}
function AbstractList() {
AbstractCollection.call(this);
}
protoOf(AbstractList).m = function () {
return new IteratorImpl_0(this);
};
protoOf(AbstractList).v = function (index) {
return new ListIteratorImpl_0(this, index);
};
protoOf(AbstractList).r1 = function (fromIndex, toIndex) {
return new SubList_0(this, fromIndex, toIndex);
};
protoOf(AbstractList).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtList) : false))
return false;
return Companion_instance_5.q4(this, other);
};
protoOf(AbstractList).hashCode = function () {
return Companion_instance_5.r4(this);
};
function AbstractMap$keys$1$iterator$1($entryIterator) {
this.sd_1 = $entryIterator;
}
protoOf(AbstractMap$keys$1$iterator$1).n = function () {
return this.sd_1.n();
};
protoOf(AbstractMap$keys$1$iterator$1).o = function () {
return this.sd_1.o().y();
};
function AbstractMap$values$1$iterator$1($entryIterator) {
this.td_1 = $entryIterator;
}
protoOf(AbstractMap$values$1$iterator$1).n = function () {
return this.td_1.n();
};
protoOf(AbstractMap$values$1$iterator$1).o = function () {
return this.td_1.o().z();
};
function toString_3($this, entry) {
return toString_4($this, entry.y()) + '=' + toString_4($this, entry.z());
}
function toString_4($this, o) {
return o === $this ? '(this Map)' : toString_0(o);
}
function implFindEntry($this, key) {
var tmp0 = $this.x();
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.collections.firstOrNull' call
var _iterator__ex2g4s = tmp0.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (equals(element.y(), key)) {
tmp$ret$1 = element;
break $l$block;
}
}
tmp$ret$1 = null;
}
return tmp$ret$1;
}
function Companion_6() {
}
var Companion_instance_6;
function Companion_getInstance_6() {
return Companion_instance_6;
}
function AbstractMap$keys$1(this$0) {
this.ud_1 = this$0;
AbstractSet.call(this);
}
protoOf(AbstractMap$keys$1).m5 = function (element) {
return this.ud_1.t1(element);
};
protoOf(AbstractMap$keys$1).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.m5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(AbstractMap$keys$1).m = function () {
var entryIterator = this.ud_1.x().m();
return new AbstractMap$keys$1$iterator$1(entryIterator);
};
protoOf(AbstractMap$keys$1).p = function () {
return this.ud_1.p();
};
function AbstractMap$toString$lambda(this$0) {
return function (it) {
return toString_3(this$0, it);
};
}
function AbstractMap$values$1(this$0) {
this.vd_1 = this$0;
AbstractCollection.call(this);
}
protoOf(AbstractMap$values$1).s5 = function (element) {
return this.vd_1.u1(element);
};
protoOf(AbstractMap$values$1).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.s5((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(AbstractMap$values$1).m = function () {
var entryIterator = this.vd_1.x().m();
return new AbstractMap$values$1$iterator$1(entryIterator);
};
protoOf(AbstractMap$values$1).p = function () {
return this.vd_1.p();
};
function AbstractMap() {
this.y4_1 = null;
this.z4_1 = null;
}
protoOf(AbstractMap).t1 = function (key) {
return !(implFindEntry(this, key) == null);
};
protoOf(AbstractMap).u1 = function (value) {
var tmp0 = this.x();
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.j();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (equals(element.z(), value)) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
};
protoOf(AbstractMap).a5 = function (entry) {
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
return false;
var key = entry.y();
var value = entry.z();
// Inline function 'kotlin.collections.get' call
var ourValue = (isInterface(this, KtMap) ? this : THROW_CCE()).v1(key);
if (!equals(value, ourValue)) {
return false;
}
var tmp;
if (ourValue == null) {
// Inline function 'kotlin.collections.containsKey' call
tmp = !(isInterface(this, KtMap) ? this : THROW_CCE()).t1(key);
} else {
tmp = false;
}
if (tmp) {
return false;
}
return true;
};
protoOf(AbstractMap).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtMap) : false))
return false;
if (!(this.p() === other.p()))
return false;
var tmp0 = other.x();
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.all' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.j();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (!this.a5(element)) {
tmp$ret$0 = false;
break $l$block_0;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
};
protoOf(AbstractMap).v1 = function (key) {
var tmp0_safe_receiver = implFindEntry(this, key);
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z();
};
protoOf(AbstractMap).hashCode = function () {
return hashCode(this.x());
};
protoOf(AbstractMap).j = function () {
return this.p() === 0;
};
protoOf(AbstractMap).p = function () {
return this.x().p();
};
protoOf(AbstractMap).w1 = function () {
if (this.y4_1 == null) {
var tmp = this;
tmp.y4_1 = new AbstractMap$keys$1(this);
}
return ensureNotNull(this.y4_1);
};
protoOf(AbstractMap).toString = function () {
var tmp = this.x();
return joinToString_0(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
};
protoOf(AbstractMap).x1 = function () {
if (this.z4_1 == null) {
var tmp = this;
tmp.z4_1 = new AbstractMap$values$1(this);
}
return ensureNotNull(this.z4_1);
};
function Companion_7() {
}
protoOf(Companion_7).c5 = function (c) {
var hashCode_0 = 0;
var _iterator__ex2g4s = c.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
var tmp = hashCode_0;
var tmp1_elvis_lhs = element == null ? null : hashCode(element);
hashCode_0 = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
}
return hashCode_0;
};
protoOf(Companion_7).b5 = function (c, other) {
if (!(c.p() === other.p()))
return false;
return c.s1(other);
};
var Companion_instance_7;
function Companion_getInstance_7() {
return Companion_instance_7;
}
function AbstractSet() {
AbstractCollection.call(this);
}
protoOf(AbstractSet).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtSet) : false))
return false;
return Companion_instance_7.b5(this, other);
};
protoOf(AbstractSet).hashCode = function () {
return Companion_instance_7.c5(this);
};
function collectionToArrayCommonImpl(collection) {
if (collection.j()) {
// Inline function 'kotlin.emptyArray' call
return [];
}
// Inline function 'kotlin.arrayOfNulls' call
var size = collection.p();
var destination = Array(size);
var iterator = collection.m();
var index = 0;
while (iterator.n()) {
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
destination[_unary__edvuaz] = iterator.o();
}
return destination;
}
function emptyList() {
return EmptyList_getInstance();
}
function listOf_0(elements) {
return elements.length > 0 ? asList(elements) : emptyList();
}
function get_indices_0(_this__u8e3s4) {
return numberRangeToNumber(0, _this__u8e3s4.p() - 1 | 0);
}
function mutableListOf(elements) {
var tmp;
if (elements.length === 0) {
tmp = ArrayList_init_$Create$();
} else {
// Inline function 'kotlin.collections.asArrayList' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = new ArrayList(elements);
}
return tmp;
}
function listOfNotNull(elements) {
return filterNotNull(elements);
}
function get_lastIndex_1(_this__u8e3s4) {
return _this__u8e3s4.p() - 1 | 0;
}
function EmptyList() {
EmptyList_instance = this;
this.wd_1 = new Long(-1478467534, -1720727600);
}
protoOf(EmptyList).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtList) : false) {
tmp = other.j();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptyList).hashCode = function () {
return 1;
};
protoOf(EmptyList).toString = function () {
return '[]';
};
protoOf(EmptyList).p = function () {
return 0;
};
protoOf(EmptyList).j = function () {
return true;
};
protoOf(EmptyList).xd = function (element) {
return false;
};
protoOf(EmptyList).d1 = function (element) {
if (!false)
return false;
var tmp;
if (false) {
tmp = element;
} else {
tmp = THROW_CCE();
}
return this.xd(tmp);
};
protoOf(EmptyList).q = function (index) {
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
};
protoOf(EmptyList).m = function () {
return EmptyIterator_instance;
};
protoOf(EmptyList).v = function (index) {
if (!(index === 0))
throw IndexOutOfBoundsException_init_$Create$_0('Index: ' + index);
return EmptyIterator_instance;
};
protoOf(EmptyList).r1 = function (fromIndex, toIndex) {
if (fromIndex === 0 && toIndex === 0)
return this;
throw IndexOutOfBoundsException_init_$Create$_0('fromIndex: ' + fromIndex + ', toIndex: ' + toIndex);
};
var EmptyList_instance;
function EmptyList_getInstance() {
if (EmptyList_instance == null)
new EmptyList();
return EmptyList_instance;
}
function EmptyIterator() {
}
protoOf(EmptyIterator).n = function () {
return false;
};
protoOf(EmptyIterator).f4 = function () {
return false;
};
protoOf(EmptyIterator).g4 = function () {
return 0;
};
protoOf(EmptyIterator).i4 = function () {
return -1;
};
protoOf(EmptyIterator).o = function () {
throw NoSuchElementException_init_$Create$();
};
protoOf(EmptyIterator).h4 = function () {
throw NoSuchElementException_init_$Create$();
};
var EmptyIterator_instance;
function EmptyIterator_getInstance() {
return EmptyIterator_instance;
}
function optimizeReadOnlyList(_this__u8e3s4) {
switch (_this__u8e3s4.p()) {
case 0:
return emptyList();
case 1:
return listOf(_this__u8e3s4.q(0));
default:
return _this__u8e3s4;
}
}
function throwCountOverflow() {
throw ArithmeticException_init_$Create$_0('Count overflow has happened.');
}
function asCollection(_this__u8e3s4, isVarargs) {
isVarargs = isVarargs === VOID ? false : isVarargs;
return new ArrayAsCollection(_this__u8e3s4, isVarargs);
}
function ArrayAsCollection(values, isVarargs) {
this.yd_1 = values;
this.zd_1 = isVarargs;
}
protoOf(ArrayAsCollection).p = function () {
return this.yd_1.length;
};
protoOf(ArrayAsCollection).j = function () {
// Inline function 'kotlin.collections.isEmpty' call
return this.yd_1.length === 0;
};
protoOf(ArrayAsCollection).ae = function (element) {
return contains(this.yd_1, element);
};
protoOf(ArrayAsCollection).d1 = function (element) {
if (!(element == null ? true : !(element == null)))
return false;
return this.ae((element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(ArrayAsCollection).m = function () {
return arrayIterator(this.yd_1);
};
function throwIndexOverflow() {
throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
}
function IndexedValue(index, value) {
this.be_1 = index;
this.ce_1 = value;
}
protoOf(IndexedValue).y9 = function () {
return this.be_1;
};
protoOf(IndexedValue).z9 = function () {
return this.ce_1;
};
protoOf(IndexedValue).toString = function () {
return 'IndexedValue(index=' + this.be_1 + ', value=' + toString_0(this.ce_1) + ')';
};
protoOf(IndexedValue).hashCode = function () {
var result = this.be_1;
result = imul(result, 31) + (this.ce_1 == null ? 0 : hashCode(this.ce_1)) | 0;
return result;
};
protoOf(IndexedValue).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof IndexedValue))
return false;
var tmp0_other_with_cast = other instanceof IndexedValue ? other : THROW_CCE();
if (!(this.be_1 === tmp0_other_with_cast.be_1))
return false;
if (!equals(this.ce_1, tmp0_other_with_cast.ce_1))
return false;
return true;
};
function flatten(_this__u8e3s4) {
var result = ArrayList_init_$Create$();
var _iterator__ex2g4s = _this__u8e3s4.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
addAll(result, element);
}
return result;
}
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4.p();
} else {
tmp = default_0;
}
return tmp;
}
function IndexingIterable(iteratorFactory) {
this.de_1 = iteratorFactory;
}
protoOf(IndexingIterable).m = function () {
return new IndexingIterator(this.de_1());
};
function collectionSizeOrNull(_this__u8e3s4) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4.p();
} else {
tmp = null;
}
return tmp;
}
function IndexingIterator(iterator) {
this.ee_1 = iterator;
this.fe_1 = 0;
}
protoOf(IndexingIterator).n = function () {
return this.ee_1.n();
};
protoOf(IndexingIterator).o = function () {
var _unary__edvuaz = this.fe_1;
this.fe_1 = _unary__edvuaz + 1 | 0;
return new IndexedValue(checkIndexOverflow(_unary__edvuaz), this.ee_1.o());
};
function getOrImplicitDefault(_this__u8e3s4, key) {
if (isInterface(_this__u8e3s4, MapWithDefault))
return _this__u8e3s4.ge(key);
var tmp$ret$0;
$l$block: {
// Inline function 'kotlin.collections.getOrElseNullable' call
var value = _this__u8e3s4.v1(key);
if (value == null && !_this__u8e3s4.t1(key)) {
throw NoSuchElementException_init_$Create$_0('Key ' + toString_0(key) + ' is missing in the map.');
} else {
tmp$ret$0 = (value == null ? true : !(value == null)) ? value : THROW_CCE();
break $l$block;
}
}
return tmp$ret$0;
}
function MapWithDefault() {
}
function emptyMap() {
var tmp = EmptyMap_getInstance();
return isInterface(tmp, KtMap) ? tmp : THROW_CCE();
}
function mapOf_0(pairs) {
return pairs.length > 0 ? toMap_0(pairs, LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length))) : emptyMap();
}
function getValue(_this__u8e3s4, key) {
return getOrImplicitDefault(_this__u8e3s4, key);
}
function toMap(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
var tmp;
switch (_this__u8e3s4.p()) {
case 0:
tmp = emptyMap();
break;
case 1:
var tmp_0;
if (isInterface(_this__u8e3s4, KtList)) {
tmp_0 = _this__u8e3s4.q(0);
} else {
tmp_0 = _this__u8e3s4.m().o();
}
tmp = mapOf(tmp_0);
break;
default:
tmp = toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$_0(mapCapacity(_this__u8e3s4.p())));
break;
}
return tmp;
}
return optimizeReadOnlyMap(toMap_1(_this__u8e3s4, LinkedHashMap_init_$Create$()));
}
function toMutableMap(_this__u8e3s4) {
return LinkedHashMap_init_$Create$_1(_this__u8e3s4);
}
function mutableMapOf(pairs) {
// Inline function 'kotlin.apply' call
var this_0 = LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length));
putAll(this_0, pairs);
return this_0;
}
function EmptyMap() {
EmptyMap_instance = this;
this.he_1 = new Long(-888910638, 1920087921);
}
protoOf(EmptyMap).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtMap) : false) {
tmp = other.j();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptyMap).hashCode = function () {
return 0;
};
protoOf(EmptyMap).toString = function () {
return '{}';
};
protoOf(EmptyMap).p = function () {
return 0;
};
protoOf(EmptyMap).j = function () {
return true;
};
protoOf(EmptyMap).ie = function (key) {
return false;
};
protoOf(EmptyMap).t1 = function (key) {
if (!(key == null ? true : !(key == null)))
return false;
return this.ie((key == null ? true : !(key == null)) ? key : THROW_CCE());
};
protoOf(EmptyMap).je = function (key) {
return null;
};
protoOf(EmptyMap).v1 = function (key) {
if (!(key == null ? true : !(key == null)))
return null;
return this.je((key == null ? true : !(key == null)) ? key : THROW_CCE());
};
protoOf(EmptyMap).x = function () {
return EmptySet_getInstance();
};
protoOf(EmptyMap).w1 = function () {
return EmptySet_getInstance();
};
protoOf(EmptyMap).x1 = function () {
return EmptyList_getInstance();
};
var EmptyMap_instance;
function EmptyMap_getInstance() {
if (EmptyMap_instance == null)
new EmptyMap();
return EmptyMap_instance;
}
function toMap_0(_this__u8e3s4, destination) {
// Inline function 'kotlin.apply' call
putAll(destination, _this__u8e3s4);
return destination;
}
function toMap_1(_this__u8e3s4, destination) {
// Inline function 'kotlin.apply' call
putAll_0(destination, _this__u8e3s4);
return destination;
}
function optimizeReadOnlyMap(_this__u8e3s4) {
var tmp;
switch (_this__u8e3s4.p()) {
case 0:
tmp = emptyMap();
break;
case 1:
// Inline function 'kotlin.collections.toSingletonMapOrSelf' call
tmp = _this__u8e3s4;
break;
default:
tmp = _this__u8e3s4;
break;
}
return tmp;
}
function putAll(_this__u8e3s4, pairs) {
var inductionVariable = 0;
var last = pairs.length;
while (inductionVariable < last) {
var _destruct__k2r9zo = pairs[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
var key = _destruct__k2r9zo.y9();
var value = _destruct__k2r9zo.z9();
_this__u8e3s4.d2(key, value);
}
}
function putAll_0(_this__u8e3s4, pairs) {
var _iterator__ex2g4s = pairs.m();
while (_iterator__ex2g4s.n()) {
var _destruct__k2r9zo = _iterator__ex2g4s.o();
var key = _destruct__k2r9zo.y9();
var value = _destruct__k2r9zo.z9();
_this__u8e3s4.d2(key, value);
}
}
function hashMapOf(pairs) {
// Inline function 'kotlin.apply' call
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
putAll(this_0, pairs);
return this_0;
}
function plus_4(_this__u8e3s4, map) {
// Inline function 'kotlin.apply' call
var this_0 = LinkedHashMap_init_$Create$_1(_this__u8e3s4);
this_0.f2(map);
return this_0;
}
function addAll(_this__u8e3s4, elements) {
if (isInterface(elements, Collection))
return _this__u8e3s4.u(elements);
else {
var result = false;
var _iterator__ex2g4s = elements.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
if (_this__u8e3s4.e(item))
result = true;
}
return result;
}
}
function convertToListIfNotCollection(_this__u8e3s4) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4;
} else {
tmp = toList_0(_this__u8e3s4);
}
return tmp;
}
function removeAll(_this__u8e3s4, predicate) {
return filterInPlace(_this__u8e3s4, predicate, true);
}
function filterInPlace(_this__u8e3s4, predicate, predicateResultToRemove) {
var result = false;
// Inline function 'kotlin.with' call
var $this$with = _this__u8e3s4.m();
while ($this$with.n())
if (predicate($this$with.o()) === predicateResultToRemove) {
$this$with.v3();
result = true;
}
return result;
}
function removeLast(_this__u8e3s4) {
var tmp;
if (_this__u8e3s4.j()) {
throw NoSuchElementException_init_$Create$_0('List is empty.');
} else {
tmp = _this__u8e3s4.b2(get_lastIndex_1(_this__u8e3s4));
}
return tmp;
}
function addAll_0(_this__u8e3s4, elements) {
return _this__u8e3s4.u(asList(elements));
}
function IntIterator() {
}
protoOf(IntIterator).o = function () {
return this.ke();
};
function asReversed(_this__u8e3s4) {
return new ReversedListReadOnly(_this__u8e3s4);
}
function asReversed_0(_this__u8e3s4) {
return new ReversedList(_this__u8e3s4);
}
function ReversedListReadOnly$listIterator$1(this$0, $index) {
this.me_1 = this$0;
this.le_1 = this$0.ne_1.v(reversePositionIndex(this$0, $index));
}
protoOf(ReversedListReadOnly$listIterator$1).n = function () {
return this.le_1.f4();
};
protoOf(ReversedListReadOnly$listIterator$1).f4 = function () {
return this.le_1.n();
};
protoOf(ReversedListReadOnly$listIterator$1).o = function () {
return this.le_1.h4();
};
protoOf(ReversedListReadOnly$listIterator$1).g4 = function () {
return reverseIteratorIndex(this.me_1, this.le_1.i4());
};
protoOf(ReversedListReadOnly$listIterator$1).h4 = function () {
return this.le_1.o();
};
protoOf(ReversedListReadOnly$listIterator$1).i4 = function () {
return reverseIteratorIndex(this.me_1, this.le_1.g4());
};
function ReversedListReadOnly(delegate) {
AbstractList.call(this);
this.ne_1 = delegate;
}
protoOf(ReversedListReadOnly).p = function () {
return this.ne_1.p();
};
protoOf(ReversedListReadOnly).q = function (index) {
return this.ne_1.q(reverseElementIndex(this, index));
};
protoOf(ReversedListReadOnly).m = function () {
return this.v(0);
};
protoOf(ReversedListReadOnly).v = function (index) {
return new ReversedListReadOnly$listIterator$1(this, index);
};
function ReversedList$listIterator$1(this$0, $index) {
this.pe_1 = this$0;
this.oe_1 = this$0.re_1.v(reversePositionIndex(this$0, $index));
}
protoOf(ReversedList$listIterator$1).n = function () {
return this.oe_1.f4();
};
protoOf(ReversedList$listIterator$1).f4 = function () {
return this.oe_1.n();
};
protoOf(ReversedList$listIterator$1).o = function () {
return this.oe_1.h4();
};
protoOf(ReversedList$listIterator$1).g4 = function () {
return reverseIteratorIndex(this.pe_1, this.oe_1.i4());
};
protoOf(ReversedList$listIterator$1).h4 = function () {
return this.oe_1.o();
};
protoOf(ReversedList$listIterator$1).i4 = function () {
return reverseIteratorIndex(this.pe_1, this.oe_1.g4());
};
protoOf(ReversedList$listIterator$1).v3 = function () {
return this.oe_1.v3();
};
function ReversedList(delegate) {
AbstractMutableList.call(this);
this.re_1 = delegate;
}
protoOf(ReversedList).p = function () {
return this.re_1.p();
};
protoOf(ReversedList).q = function (index) {
return this.re_1.q(reverseElementIndex(this, index));
};
protoOf(ReversedList).y1 = function () {
return this.re_1.y1();
};
protoOf(ReversedList).b2 = function (index) {
return this.re_1.b2(reverseElementIndex(this, index));
};
protoOf(ReversedList).se = function (index, element) {
return this.re_1.z1(reverseElementIndex(this, index), element);
};
protoOf(ReversedList).z1 = function (index, element) {
return this.se(index, (element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(ReversedList).te = function (index, element) {
this.re_1.a2(reversePositionIndex(this, index), element);
};
protoOf(ReversedList).a2 = function (index, element) {
return this.te(index, (element == null ? true : !(element == null)) ? element : THROW_CCE());
};
protoOf(ReversedList).m = function () {
return this.v(0);
};
protoOf(ReversedList).v = function (index) {
return new ReversedList$listIterator$1(this, index);
};
function reverseElementIndex(_this__u8e3s4, index) {
var tmp;
if (0 <= index ? index <= get_lastIndex_1(_this__u8e3s4) : false) {
tmp = get_lastIndex_1(_this__u8e3s4) - index | 0;
} else {
throw IndexOutOfBoundsException_init_$Create$_0('Element index ' + index + ' must be in range [' + numberRangeToNumber(0, get_lastIndex_1(_this__u8e3s4)).toString() + '].');
}
return tmp;
}
function reversePositionIndex(_this__u8e3s4, index) {
var tmp;
if (0 <= index ? index <= _this__u8e3s4.p() : false) {
tmp = _this__u8e3s4.p() - index | 0;
} else {
throw IndexOutOfBoundsException_init_$Create$_0('Position index ' + index + ' must be in range [' + numberRangeToNumber(0, _this__u8e3s4.p()).toString() + '].');
}
return tmp;
}
function reverseIteratorIndex(_this__u8e3s4, index) {
return get_lastIndex_1(_this__u8e3s4) - index | 0;
}
function Sequence() {
}
function sequence(block) {
// Inline function 'kotlin.sequences.Sequence' call
return new sequence$$inlined$Sequence$1(block);
}
function SequenceScope() {
}
protoOf(SequenceScope).we = function (sequence, $completion) {
return this.ve(sequence.m(), $completion);
};
function iterator(block) {
var iterator = new SequenceBuilderIterator();
iterator.af_1 = createCoroutineUnintercepted(block, iterator, iterator);
return iterator;
}
function nextNotReady($this) {
if (!$this.n())
throw NoSuchElementException_init_$Create$();
else
return $this.o();
}
function exceptionalState($this) {
switch ($this.xe_1) {
case 4:
return NoSuchElementException_init_$Create$();
case 5:
return IllegalStateException_init_$Create$_0('Iterator has failed.');
default:
return IllegalStateException_init_$Create$_0('Unexpected state of the iterator: ' + $this.xe_1);
}
}
function SequenceBuilderIterator() {
SequenceScope.call(this);
this.xe_1 = 0;
this.ye_1 = null;
this.ze_1 = null;
this.af_1 = null;
}
protoOf(SequenceBuilderIterator).n = function () {
while (true) {
switch (this.xe_1) {
case 0:
break;
case 1:
if (ensureNotNull(this.ze_1).n()) {
this.xe_1 = 2;
return true;
} else {
this.ze_1 = null;
}
break;
case 4:
return false;
case 3:
case 2:
return true;
default:
throw exceptionalState(this);
}
this.xe_1 = 5;
var step = ensureNotNull(this.af_1);
this.af_1 = null;
// Inline function 'kotlin.coroutines.resume' call
// Inline function 'kotlin.Companion.success' call
var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
step.f9(tmp$ret$0);
}
};
protoOf(SequenceBuilderIterator).o = function () {
switch (this.xe_1) {
case 0:
case 1:
return nextNotReady(this);
case 2:
this.xe_1 = 1;
return ensureNotNull(this.ze_1).o();
case 3:
this.xe_1 = 0;
var tmp = this.ye_1;
var result = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
this.ye_1 = null;
return result;
default:
throw exceptionalState(this);
}
};
protoOf(SequenceBuilderIterator).ue = function (value, $completion) {
this.ye_1 = value;
this.xe_1 = 3;
this.af_1 = $completion;
return get_COROUTINE_SUSPENDED();
};
protoOf(SequenceBuilderIterator).ve = function (iterator, $completion) {
if (!iterator.n())
return Unit_instance;
this.ze_1 = iterator;
this.xe_1 = 2;
this.af_1 = $completion;
return get_COROUTINE_SUSPENDED();
};
protoOf(SequenceBuilderIterator).bf = function (result) {
// Inline function 'kotlin.getOrThrow' call
throwOnFailure(result);
var tmp = _Result___get_value__impl__bjfvqg(result);
if (!(tmp == null ? true : !(tmp == null)))
THROW_CCE();
this.xe_1 = 4;
};
protoOf(SequenceBuilderIterator).f9 = function (result) {
return this.bf(result);
};
protoOf(SequenceBuilderIterator).a9 = function () {
return EmptyCoroutineContext_getInstance();
};
function sequence$$inlined$Sequence$1($block) {
this.cf_1 = $block;
}
protoOf(sequence$$inlined$Sequence$1).m = function () {
return iterator(this.cf_1);
};
function generateSequence(seed, nextFunction) {
var tmp;
if (seed == null) {
tmp = EmptySequence_instance;
} else {
tmp = new GeneratorSequence(generateSequence$lambda(seed), nextFunction);
}
return tmp;
}
function generateSequence_0(nextFunction) {
return constrainOnce(new GeneratorSequence(nextFunction, generateSequence$lambda_0(nextFunction)));
}
function TransformingSequence$iterator$1(this$0) {
this.ef_1 = this$0;
this.df_1 = this$0.ff_1.m();
}
protoOf(TransformingSequence$iterator$1).o = function () {
return this.ef_1.gf_1(this.df_1.o());
};
protoOf(TransformingSequence$iterator$1).n = function () {
return this.df_1.n();
};
function TransformingSequence(sequence, transformer) {
this.ff_1 = sequence;
this.gf_1 = transformer;
}
protoOf(TransformingSequence).m = function () {
return new TransformingSequence$iterator$1(this);
};
function calcNext($this) {
while ($this.hf_1.n()) {
var item = $this.hf_1.o();
if ($this.kf_1.nf_1(item) === $this.kf_1.mf_1) {
$this.jf_1 = item;
$this.if_1 = 1;
return Unit_instance;
}
}
$this.if_1 = 0;
}
function FilteringSequence$iterator$1(this$0) {
this.kf_1 = this$0;
this.hf_1 = this$0.lf_1.m();
this.if_1 = -1;
this.jf_1 = null;
}
protoOf(FilteringSequence$iterator$1).o = function () {
if (this.if_1 === -1) {
calcNext(this);
}
if (this.if_1 === 0)
throw NoSuchElementException_init_$Create$();
var result = this.jf_1;
this.jf_1 = null;
this.if_1 = -1;
return (result == null ? true : !(result == null)) ? result : THROW_CCE();
};
protoOf(FilteringSequence$iterator$1).n = function () {
if (this.if_1 === -1) {
calcNext(this);
}
return this.if_1 === 1;
};
function FilteringSequence(sequence, sendWhen, predicate) {
sendWhen = sendWhen === VOID ? true : sendWhen;
this.lf_1 = sequence;
this.mf_1 = sendWhen;
this.nf_1 = predicate;
}
protoOf(FilteringSequence).m = function () {
return new FilteringSequence$iterator$1(this);
};
function generateSequence_1(seedFunction, nextFunction) {
return new GeneratorSequence(seedFunction, nextFunction);
}
function EmptySequence() {
}
protoOf(EmptySequence).m = function () {
return EmptyIterator_instance;
};
var EmptySequence_instance;
function EmptySequence_getInstance() {
return EmptySequence_instance;
}
function calcNext_0($this) {
$this.of_1 = $this.pf_1 === -2 ? $this.qf_1.rf_1() : $this.qf_1.sf_1(ensureNotNull($this.of_1));
$this.pf_1 = $this.of_1 == null ? 0 : 1;
}
function GeneratorSequence$iterator$1(this$0) {
this.qf_1 = this$0;
this.of_1 = null;
this.pf_1 = -2;
}
protoOf(GeneratorSequence$iterator$1).o = function () {
if (this.pf_1 < 0) {
calcNext_0(this);
}
if (this.pf_1 === 0)
throw NoSuchElementException_init_$Create$();
var tmp = this.of_1;
var result = !(tmp == null) ? tmp : THROW_CCE();
this.pf_1 = -1;
return result;
};
protoOf(GeneratorSequence$iterator$1).n = function () {
if (this.pf_1 < 0) {
calcNext_0(this);
}
return this.pf_1 === 1;
};
function GeneratorSequence(getInitialValue, getNextValue) {
this.rf_1 = getInitialValue;
this.sf_1 = getNextValue;
}
protoOf(GeneratorSequence).m = function () {
return new GeneratorSequence$iterator$1(this);
};
function constrainOnce(_this__u8e3s4) {
var tmp;
if (_this__u8e3s4 instanceof ConstrainedOnceSequence) {
tmp = _this__u8e3s4;
} else {
tmp = new ConstrainedOnceSequence(_this__u8e3s4);
}
return tmp;
}
function generateSequence$lambda($seed) {
return function () {
return $seed;
};
}
function generateSequence$lambda_0($nextFunction) {
return function (it) {
return $nextFunction();
};
}
function setOf_0(elements) {
return toSet(elements);
}
function emptySet() {
return EmptySet_getInstance();
}
function EmptySet() {
EmptySet_instance = this;
this.tf_1 = new Long(1993859828, 793161749);
}
protoOf(EmptySet).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtSet) : false) {
tmp = other.j();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptySet).hashCode = function () {
return 0;
};
protoOf(EmptySet).toString = function () {
return '[]';
};
protoOf(EmptySet).p = function () {
return 0;
};
protoOf(EmptySet).j = function () {
return true;
};
protoOf(EmptySet).xd = function (element) {
return false;
};
protoOf(EmptySet).d1 = function (element) {
if (!false)
return false;
var tmp;
if (false) {
tmp = element;
} else {
tmp = THROW_CCE();
}
return this.xd(tmp);
};
protoOf(EmptySet).uf = function (elements) {
return elements.j();
};
protoOf(EmptySet).s1 = function (elements) {
return this.uf(elements);
};
protoOf(EmptySet).m = function () {
return EmptyIterator_instance;
};
var EmptySet_instance;
function EmptySet_getInstance() {
if (EmptySet_instance == null)
new EmptySet();
return EmptySet_instance;
}
function optimizeReadOnlySet(_this__u8e3s4) {
switch (_this__u8e3s4.p()) {
case 0:
return emptySet();
case 1:
return setOf(_this__u8e3s4.m().o());
default:
return _this__u8e3s4;
}
}
function hashSetOf(elements) {
return toCollection(elements, HashSet_init_$Create$_0(mapCapacity(elements.length)));
}
function checkWindowSizeStep(size, step) {
// Inline function 'kotlin.require' call
if (!(size > 0 && step > 0)) {
var message = !(size === step) ? 'Both size ' + size + ' and step ' + step + ' must be greater than zero.' : 'size ' + size + ' must be greater than zero.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
}
function compareValues(a, b) {
if (a === b)
return 0;
if (a == null)
return -1;
if (b == null)
return 1;
return compareTo((!(a == null) ? isComparable(a) : false) ? a : THROW_CCE(), b);
}
function naturalOrder() {
var tmp = NaturalOrderComparator_instance;
return isInterface(tmp, Comparator) ? tmp : THROW_CCE();
}
function NaturalOrderComparator() {
}
protoOf(NaturalOrderComparator).vf = function (a, b) {
return compareTo(a, b);
};
protoOf(NaturalOrderComparator).compare = function (a, b) {
var tmp = (!(a == null) ? isComparable(a) : false) ? a : THROW_CCE();
return this.vf(tmp, (!(b == null) ? isComparable(b) : false) ? b : THROW_CCE());
};
var NaturalOrderComparator_instance;
function NaturalOrderComparator_getInstance() {
return NaturalOrderComparator_instance;
}
function Continuation() {
}
function Key() {
}
var Key_instance;
function Key_getInstance() {
return Key_instance;
}
function ContinuationInterceptor() {
}
function EmptyCoroutineContext() {
EmptyCoroutineContext_instance = this;
this.wf_1 = new Long(0, 0);
}
protoOf(EmptyCoroutineContext).g9 = function (key) {
return null;
};
protoOf(EmptyCoroutineContext).hashCode = function () {
return 0;
};
protoOf(EmptyCoroutineContext).toString = function () {
return 'EmptyCoroutineContext';
};
var EmptyCoroutineContext_instance;
function EmptyCoroutineContext_getInstance() {
if (EmptyCoroutineContext_instance == null)
new EmptyCoroutineContext();
return EmptyCoroutineContext_instance;
}
function get_COROUTINE_SUSPENDED() {
return CoroutineSingletons_COROUTINE_SUSPENDED_getInstance();
}
var CoroutineSingletons_COROUTINE_SUSPENDED_instance;
var CoroutineSingletons_UNDECIDED_instance;
var CoroutineSingletons_RESUMED_instance;
var CoroutineSingletons_entriesInitialized;
function CoroutineSingletons_initEntries() {
if (CoroutineSingletons_entriesInitialized)
return Unit_instance;
CoroutineSingletons_entriesInitialized = true;
CoroutineSingletons_COROUTINE_SUSPENDED_instance = new CoroutineSingletons('COROUTINE_SUSPENDED', 0);
CoroutineSingletons_UNDECIDED_instance = new CoroutineSingletons('UNDECIDED', 1);
CoroutineSingletons_RESUMED_instance = new CoroutineSingletons('RESUMED', 2);
}
function CoroutineSingletons(name, ordinal) {
Enum.call(this, name, ordinal);
}
function CoroutineSingletons_COROUTINE_SUSPENDED_getInstance() {
CoroutineSingletons_initEntries();
return CoroutineSingletons_COROUTINE_SUSPENDED_instance;
}
function enumEntries(entries) {
return new EnumEntriesList(entries);
}
function EnumEntriesList(entries) {
AbstractList.call(this);
this.xf_1 = entries;
}
protoOf(EnumEntriesList).p = function () {
return this.xf_1.length;
};
protoOf(EnumEntriesList).q = function (index) {
Companion_instance_5.n4(index, this.xf_1.length);
return this.xf_1[index];
};
protoOf(EnumEntriesList).yf = function (element) {
if (element === null)
return false;
var target = getOrNull(this.xf_1, element.h2_1);
return target === element;
};
protoOf(EnumEntriesList).d1 = function (element) {
if (!(element instanceof Enum))
return false;
return this.yf(element instanceof Enum ? element : THROW_CCE());
};
function getProgressionLastElement(start, end, step) {
var tmp;
if (step > 0) {
tmp = start >= end ? end : end - differenceModulo(end, start, step) | 0;
} else if (step < 0) {
tmp = start <= end ? end : end + differenceModulo(start, end, -step | 0) | 0;
} else {
throw IllegalArgumentException_init_$Create$_0('Step is zero.');
}
return tmp;
}
function differenceModulo(a, b, c) {
return mod(mod(a, c) - mod(b, c) | 0, c);
}
function mod(a, b) {
var mod = a % b | 0;
return mod >= 0 ? mod : mod + b | 0;
}
function Companion_8() {
Companion_instance_8 = this;
this.a1_1 = new IntRange(1, 0);
}
var Companion_instance_8;
function Companion_getInstance_8() {
if (Companion_instance_8 == null)
new Companion_8();
return Companion_instance_8;
}
function IntRange(start, endInclusive) {
Companion_getInstance_8();
IntProgression.call(this, start, endInclusive, 1);
}
protoOf(IntRange).k = function () {
return this.zf_1;
};
protoOf(IntRange).l = function () {
return this.ag_1;
};
protoOf(IntRange).j = function () {
return this.zf_1 > this.ag_1;
};
protoOf(IntRange).equals = function (other) {
var tmp;
if (other instanceof IntRange) {
tmp = this.j() && other.j() || (this.zf_1 === other.zf_1 && this.ag_1 === other.ag_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(IntRange).hashCode = function () {
return this.j() ? -1 : imul(31, this.zf_1) + this.ag_1 | 0;
};
protoOf(IntRange).toString = function () {
return '' + this.zf_1 + '..' + this.ag_1;
};
function IntProgressionIterator(first, last, step) {
IntIterator.call(this);
this.cg_1 = step;
this.dg_1 = last;
this.eg_1 = this.cg_1 > 0 ? first <= last : first >= last;
this.fg_1 = this.eg_1 ? first : this.dg_1;
}
protoOf(IntProgressionIterator).n = function () {
return this.eg_1;
};
protoOf(IntProgressionIterator).ke = function () {
var value = this.fg_1;
if (value === this.dg_1) {
if (!this.eg_1)
throw NoSuchElementException_init_$Create$();
this.eg_1 = false;
} else {
this.fg_1 = this.fg_1 + this.cg_1 | 0;
}
return value;
};
function Companion_9() {
}
protoOf(Companion_9).b1 = function (rangeStart, rangeEnd, step) {
return new IntProgression(rangeStart, rangeEnd, step);
};
var Companion_instance_9;
function Companion_getInstance_9() {
return Companion_instance_9;
}
function IntProgression(start, endInclusive, step) {
if (step === 0)
throw IllegalArgumentException_init_$Create$_0('Step must be non-zero.');
if (step === -2147483648)
throw IllegalArgumentException_init_$Create$_0('Step must be greater than Int.MIN_VALUE to avoid overflow on negation.');
this.zf_1 = start;
this.ag_1 = getProgressionLastElement(start, endInclusive, step);
this.bg_1 = step;
}
protoOf(IntProgression).m = function () {
return new IntProgressionIterator(this.zf_1, this.ag_1, this.bg_1);
};
protoOf(IntProgression).j = function () {
return this.bg_1 > 0 ? this.zf_1 > this.ag_1 : this.zf_1 < this.ag_1;
};
protoOf(IntProgression).equals = function (other) {
var tmp;
if (other instanceof IntProgression) {
tmp = this.j() && other.j() || (this.zf_1 === other.zf_1 && this.ag_1 === other.ag_1 && this.bg_1 === other.bg_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(IntProgression).hashCode = function () {
return this.j() ? -1 : imul(31, imul(31, this.zf_1) + this.ag_1 | 0) + this.bg_1 | 0;
};
protoOf(IntProgression).toString = function () {
return this.bg_1 > 0 ? '' + this.zf_1 + '..' + this.ag_1 + ' step ' + this.bg_1 : '' + this.zf_1 + ' downTo ' + this.ag_1 + ' step ' + (-this.bg_1 | 0);
};
function KTypeParameter() {
}
function Companion_10() {
Companion_instance_10 = this;
this.la_1 = new KTypeProjection(null, null);
}
protoOf(Companion_10).ma = function (type) {
return new KTypeProjection(KVariance_INVARIANT_getInstance(), type);
};
var Companion_instance_10;
function Companion_getInstance_10() {
if (Companion_instance_10 == null)
new Companion_10();
return Companion_instance_10;
}
function KTypeProjection(variance, type) {
Companion_getInstance_10();
this.gg_1 = variance;
this.hg_1 = type;
// Inline function 'kotlin.require' call
if (!(this.gg_1 == null === (this.hg_1 == null))) {
var message = this.gg_1 == null ? 'Star projection must have no type specified.' : 'The projection variance ' + toString_0(this.gg_1) + ' requires type to be specified.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
}
protoOf(KTypeProjection).toString = function () {
var tmp0_subject = this.gg_1;
var tmp;
switch (tmp0_subject == null ? -1 : tmp0_subject.h2_1) {
case -1:
tmp = '*';
break;
case 0:
tmp = toString_0(this.hg_1);
break;
case 1:
tmp = 'in ' + toString_0(this.hg_1);
break;
case 2:
tmp = 'out ' + toString_0(this.hg_1);
break;
default:
noWhenBranchMatchedException();
break;
}
return tmp;
};
protoOf(KTypeProjection).hashCode = function () {
var result = this.gg_1 == null ? 0 : this.gg_1.hashCode();
result = imul(result, 31) + (this.hg_1 == null ? 0 : hashCode(this.hg_1)) | 0;
return result;
};
protoOf(KTypeProjection).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof KTypeProjection))
return false;
var tmp0_other_with_cast = other instanceof KTypeProjection ? other : THROW_CCE();
if (!equals(this.gg_1, tmp0_other_with_cast.gg_1))
return false;
if (!equals(this.hg_1, tmp0_other_with_cast.hg_1))
return false;
return true;
};
var KVariance_INVARIANT_instance;
var KVariance_IN_instance;
var KVariance_OUT_instance;
var KVariance_entriesInitialized;
function KVariance_initEntries() {
if (KVariance_entriesInitialized)
return Unit_instance;
KVariance_entriesInitialized = true;
KVariance_INVARIANT_instance = new KVariance('INVARIANT', 0);
KVariance_IN_instance = new KVariance('IN', 1);
KVariance_OUT_instance = new KVariance('OUT', 2);
}
function KVariance(name, ordinal) {
Enum.call(this, name, ordinal);
}
function KVariance_INVARIANT_getInstance() {
KVariance_initEntries();
return KVariance_INVARIANT_instance;
}
function appendElement(_this__u8e3s4, element, transform) {
if (!(transform == null))
_this__u8e3s4.f(transform(element));
else {
if (element == null ? true : isCharSequence(element))
_this__u8e3s4.f(element);
else {
if (element instanceof Char)
_this__u8e3s4.a8(element.f1_1);
else {
_this__u8e3s4.f(toString_1(element));
}
}
}
}
function equals_0(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
if (_this__u8e3s4 === other)
return true;
if (!ignoreCase)
return false;
var thisUpper = uppercaseChar(_this__u8e3s4);
var otherUpper = uppercaseChar(other);
var tmp;
if (thisUpper === otherUpper) {
tmp = true;
} else {
// Inline function 'kotlin.text.lowercaseChar' call
// Inline function 'kotlin.text.lowercase' call
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var tmp$ret$2 = toString(thisUpper).toLowerCase();
var tmp_0 = charCodeAt(tmp$ret$2, 0);
// Inline function 'kotlin.text.lowercaseChar' call
// Inline function 'kotlin.text.lowercase' call
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.unsafeCast' call
var tmp$ret$6 = toString(otherUpper).toLowerCase();
tmp = tmp_0 === charCodeAt(tmp$ret$6, 0);
}
return tmp;
}
function get_BYTE_TO_LOWER_CASE_HEX_DIGITS() {
_init_properties_HexExtensions_kt__wu8rc3();
return BYTE_TO_LOWER_CASE_HEX_DIGITS;
}
var BYTE_TO_LOWER_CASE_HEX_DIGITS;
var BYTE_TO_UPPER_CASE_HEX_DIGITS;
var HEX_DIGITS_TO_DECIMAL;
var HEX_DIGITS_TO_LONG_DECIMAL;
var properties_initialized_HexExtensions_kt_h16sbl;
function _init_properties_HexExtensions_kt__wu8rc3() {
if (!properties_initialized_HexExtensions_kt_h16sbl) {
properties_initialized_HexExtensions_kt_h16sbl = true;
var tmp = 0;
var tmp_0 = new Int32Array(256);
while (tmp < 256) {
var tmp_1 = tmp;
// Inline function 'kotlin.code' call
var this_0 = charCodeAt('0123456789abcdef', tmp_1 >> 4);
var tmp_2 = Char__toInt_impl_vasixd(this_0) << 8;
// Inline function 'kotlin.code' call
var this_1 = charCodeAt('0123456789abcdef', tmp_1 & 15);
tmp_0[tmp_1] = tmp_2 | Char__toInt_impl_vasixd(this_1);
tmp = tmp + 1 | 0;
}
BYTE_TO_LOWER_CASE_HEX_DIGITS = tmp_0;
var tmp_3 = 0;
var tmp_4 = new Int32Array(256);
while (tmp_3 < 256) {
var tmp_5 = tmp_3;
// Inline function 'kotlin.code' call
var this_2 = charCodeAt('0123456789ABCDEF', tmp_5 >> 4);
var tmp_6 = Char__toInt_impl_vasixd(this_2) << 8;
// Inline function 'kotlin.code' call
var this_3 = charCodeAt('0123456789ABCDEF', tmp_5 & 15);
tmp_4[tmp_5] = tmp_6 | Char__toInt_impl_vasixd(this_3);
tmp_3 = tmp_3 + 1 | 0;
}
BYTE_TO_UPPER_CASE_HEX_DIGITS = tmp_4;
var tmp_7 = 0;
var tmp_8 = new Int32Array(256);
while (tmp_7 < 256) {
tmp_8[tmp_7] = -1;
tmp_7 = tmp_7 + 1 | 0;
}
// Inline function 'kotlin.apply' call
// Inline function 'kotlin.text.forEachIndexed' call
var index = 0;
var indexedObject = '0123456789abcdef';
var inductionVariable = 0;
while (inductionVariable < charSequenceLength(indexedObject)) {
var item = charSequenceGet(indexedObject, inductionVariable);
inductionVariable = inductionVariable + 1 | 0;
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.code' call
tmp_8[Char__toInt_impl_vasixd(item)] = _unary__edvuaz;
}
// Inline function 'kotlin.text.forEachIndexed' call
var index_0 = 0;
var indexedObject_0 = '0123456789ABCDEF';
var inductionVariable_0 = 0;
while (inductionVariable_0 < charSequenceLength(indexedObject_0)) {
var item_0 = charSequenceGet(indexedObject_0, inductionVariable_0);
inductionVariable_0 = inductionVariable_0 + 1 | 0;
var _unary__edvuaz_0 = index_0;
index_0 = _unary__edvuaz_0 + 1 | 0;
// Inline function 'kotlin.code' call
tmp_8[Char__toInt_impl_vasixd(item_0)] = _unary__edvuaz_0;
}
HEX_DIGITS_TO_DECIMAL = tmp_8;
var tmp_9 = 0;
var tmp_10 = longArray(256);
while (tmp_9 < 256) {
tmp_10[tmp_9] = new Long(-1, -1);
tmp_9 = tmp_9 + 1 | 0;
}
// Inline function 'kotlin.apply' call
// Inline function 'kotlin.text.forEachIndexed' call
var index_1 = 0;
var indexedObject_1 = '0123456789abcdef';
var inductionVariable_1 = 0;
while (inductionVariable_1 < charSequenceLength(indexedObject_1)) {
var item_1 = charSequenceGet(indexedObject_1, inductionVariable_1);
inductionVariable_1 = inductionVariable_1 + 1 | 0;
var _unary__edvuaz_1 = index_1;
index_1 = _unary__edvuaz_1 + 1 | 0;
// Inline function 'kotlin.code' call
tmp_10[Char__toInt_impl_vasixd(item_1)] = toLong(_unary__edvuaz_1);
}
// Inline function 'kotlin.text.forEachIndexed' call
var index_2 = 0;
var indexedObject_2 = '0123456789ABCDEF';
var inductionVariable_2 = 0;
while (inductionVariable_2 < charSequenceLength(indexedObject_2)) {
var item_2 = charSequenceGet(indexedObject_2, inductionVariable_2);
inductionVariable_2 = inductionVariable_2 + 1 | 0;
var _unary__edvuaz_2 = index_2;
index_2 = _unary__edvuaz_2 + 1 | 0;
// Inline function 'kotlin.code' call
tmp_10[Char__toInt_impl_vasixd(item_2)] = toLong(_unary__edvuaz_2);
}
HEX_DIGITS_TO_LONG_DECIMAL = tmp_10;
}
}
function prependIndent(_this__u8e3s4, indent) {
indent = indent === VOID ? ' ' : indent;
var tmp = lineSequence(_this__u8e3s4);
return joinToString_1(map(tmp, prependIndent$lambda(indent)), '\n');
}
function trimMargin(_this__u8e3s4, marginPrefix) {
marginPrefix = marginPrefix === VOID ? '|' : marginPrefix;
return replaceIndentByMargin(_this__u8e3s4, '', marginPrefix);
}
function replaceIndentByMargin(_this__u8e3s4, newIndent, marginPrefix) {
newIndent = newIndent === VOID ? '' : newIndent;
marginPrefix = marginPrefix === VOID ? '|' : marginPrefix;
// Inline function 'kotlin.text.isNotBlank' call
// Inline function 'kotlin.require' call
if (!!isBlank(marginPrefix)) {
var message = 'marginPrefix must be non-blank string.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
var lines_0 = lines(_this__u8e3s4);
var tmp2 = _this__u8e3s4.length + imul(newIndent.length, lines_0.p()) | 0;
// Inline function 'kotlin.text.reindent' call
var indentAddFunction = getIndentFunction(newIndent);
var lastIndex = get_lastIndex_1(lines_0);
// Inline function 'kotlin.collections.mapIndexedNotNull' call
// Inline function 'kotlin.collections.mapIndexedNotNullTo' call
var destination = ArrayList_init_$Create$();
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var _iterator__ex2g4s = lines_0.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
var index_0 = checkIndexOverflow(_unary__edvuaz);
var tmp;
if ((index_0 === 0 || index_0 === lastIndex) && isBlank(item)) {
tmp = null;
} else {
var tmp$ret$4;
$l$block: {
// Inline function 'kotlin.text.indexOfFirst' call
var inductionVariable = 0;
var last = charSequenceLength(item) - 1 | 0;
if (inductionVariable <= last)
do {
var index_1 = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var it = charSequenceGet(item, index_1);
if (!isWhitespace(it)) {
tmp$ret$4 = index_1;
break $l$block;
}
}
while (inductionVariable <= last);
tmp$ret$4 = -1;
}
var firstNonWhitespaceIndex = tmp$ret$4;
var tmp0_safe_receiver = firstNonWhitespaceIndex === -1 ? null : startsWith_0(item, marginPrefix, firstNonWhitespaceIndex) ? substring_0(item, firstNonWhitespaceIndex + marginPrefix.length | 0) : null;
var tmp_0;
if (tmp0_safe_receiver == null) {
tmp_0 = null;
} else {
// Inline function 'kotlin.let' call
tmp_0 = indentAddFunction(tmp0_safe_receiver);
}
var tmp1_elvis_lhs = tmp_0;
tmp = tmp1_elvis_lhs == null ? item : tmp1_elvis_lhs;
}
var tmp0_safe_receiver_0 = tmp;
if (tmp0_safe_receiver_0 == null)
null;
else {
// Inline function 'kotlin.let' call
destination.e(tmp0_safe_receiver_0);
}
}
return joinTo_0(destination, StringBuilder_init_$Create$(tmp2), '\n').toString();
}
function getIndentFunction(indent) {
var tmp;
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(indent) === 0) {
tmp = getIndentFunction$lambda;
} else {
tmp = getIndentFunction$lambda_0(indent);
}
return tmp;
}
function trimIndent(_this__u8e3s4) {
return replaceIndent(_this__u8e3s4, '');
}
function replaceIndent(_this__u8e3s4, newIndent) {
newIndent = newIndent === VOID ? '' : newIndent;
var lines_0 = lines(_this__u8e3s4);
// Inline function 'kotlin.collections.filter' call
// Inline function 'kotlin.collections.filterTo' call
var destination = ArrayList_init_$Create$();
var _iterator__ex2g4s = lines_0.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
// Inline function 'kotlin.text.isNotBlank' call
if (!isBlank(element)) {
destination.e(element);
}
}
// Inline function 'kotlin.collections.map' call
// Inline function 'kotlin.collections.mapTo' call
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
var _iterator__ex2g4s_0 = destination.m();
while (_iterator__ex2g4s_0.n()) {
var item = _iterator__ex2g4s_0.o();
var tmp$ret$4 = indentWidth(item);
destination_0.e(tmp$ret$4);
}
var tmp0_elvis_lhs = minOrNull(destination_0);
var minCommonIndent = tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
var tmp2 = _this__u8e3s4.length + imul(newIndent.length, lines_0.p()) | 0;
// Inline function 'kotlin.text.reindent' call
var indentAddFunction = getIndentFunction(newIndent);
var lastIndex = get_lastIndex_1(lines_0);
// Inline function 'kotlin.collections.mapIndexedNotNull' call
// Inline function 'kotlin.collections.mapIndexedNotNullTo' call
var destination_1 = ArrayList_init_$Create$();
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var _iterator__ex2g4s_1 = lines_0.m();
while (_iterator__ex2g4s_1.n()) {
var item_0 = _iterator__ex2g4s_1.o();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
var index_0 = checkIndexOverflow(_unary__edvuaz);
var tmp;
if ((index_0 === 0 || index_0 === lastIndex) && isBlank(item_0)) {
tmp = null;
} else {
var tmp0_safe_receiver = drop_0(item_0, minCommonIndent);
var tmp_0;
if (tmp0_safe_receiver == null) {
tmp_0 = null;
} else {
// Inline function 'kotlin.let' call
tmp_0 = indentAddFunction(tmp0_safe_receiver);
}
var tmp1_elvis_lhs = tmp_0;
tmp = tmp1_elvis_lhs == null ? item_0 : tmp1_elvis_lhs;
}
var tmp0_safe_receiver_0 = tmp;
if (tmp0_safe_receiver_0 == null)
null;
else {
// Inline function 'kotlin.let' call
destination_1.e(tmp0_safe_receiver_0);
}
}
return joinTo_0(destination_1, StringBuilder_init_$Create$(tmp2), '\n').toString();
}
function indentWidth(_this__u8e3s4) {
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.text.indexOfFirst' call
var inductionVariable = 0;
var last = charSequenceLength(_this__u8e3s4) - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var it = charSequenceGet(_this__u8e3s4, index);
if (!isWhitespace(it)) {
tmp$ret$1 = index;
break $l$block;
}
}
while (inductionVariable <= last);
tmp$ret$1 = -1;
}
// Inline function 'kotlin.let' call
var it_0 = tmp$ret$1;
return it_0 === -1 ? _this__u8e3s4.length : it_0;
}
function prependIndent$lambda($indent) {
return function (it) {
var tmp;
if (isBlank(it)) {
tmp = it.length < $indent.length ? $indent : it;
} else {
tmp = $indent + it;
}
return tmp;
};
}
function getIndentFunction$lambda(line) {
return line;
}
function getIndentFunction$lambda_0($indent) {
return function (line) {
return $indent + line;
};
}
function toIntOrNull(_this__u8e3s4) {
return toIntOrNull_0(_this__u8e3s4, 10);
}
function toIntOrNull_0(_this__u8e3s4, radix) {
checkRadix(radix);
var length = _this__u8e3s4.length;
if (length === 0)
return null;
var start;
var isNegative;
var limit;
var firstChar = charCodeAt(_this__u8e3s4, 0);
if (Char__compareTo_impl_ypi4mb(firstChar, _Char___init__impl__6a9atx(48)) < 0) {
if (length === 1)
return null;
start = 1;
if (firstChar === _Char___init__impl__6a9atx(45)) {
isNegative = true;
limit = -2147483648;
} else if (firstChar === _Char___init__impl__6a9atx(43)) {
isNegative = false;
limit = -2147483647;
} else
return null;
} else {
start = 0;
isNegative = false;
limit = -2147483647;
}
var limitForMaxRadix = -59652323;
var limitBeforeMul = limitForMaxRadix;
var result = 0;
var inductionVariable = start;
if (inductionVariable < length)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var digit = digitOf(charCodeAt(_this__u8e3s4, i), radix);
if (digit < 0)
return null;
if (result < limitBeforeMul) {
if (limitBeforeMul === limitForMaxRadix) {
limitBeforeMul = limit / radix | 0;
if (result < limitBeforeMul) {
return null;
}
} else {
return null;
}
}
result = imul(result, radix);
if (result < (limit + digit | 0))
return null;
result = result - digit | 0;
}
while (inductionVariable < length);
return isNegative ? result : -result | 0;
}
function numberFormatError(input) {
throw NumberFormatException_init_$Create$_0("Invalid number format: '" + input + "'");
}
function padStart(_this__u8e3s4, length, padChar) {
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
return toString_1(padStart_0(isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE(), length, padChar));
}
function startsWith_1(_this__u8e3s4, char, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
return charSequenceLength(_this__u8e3s4) > 0 && equals_0(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
}
function get_lastIndex_2(_this__u8e3s4) {
return charSequenceLength(_this__u8e3s4) - 1 | 0;
}
function commonPrefixWith(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp0 = charSequenceLength(_this__u8e3s4);
// Inline function 'kotlin.comparisons.minOf' call
var b = charSequenceLength(other);
var shortestLength = Math.min(tmp0, b);
var i = 0;
while (i < shortestLength && equals_0(charSequenceGet(_this__u8e3s4, i), charSequenceGet(other, i), ignoreCase)) {
i = i + 1 | 0;
}
if (hasSurrogatePairAt(_this__u8e3s4, i - 1 | 0) || hasSurrogatePairAt(other, i - 1 | 0)) {
i = i - 1 | 0;
}
return toString_1(charSequenceSubSequence(_this__u8e3s4, 0, i));
}
function lineSequence(_this__u8e3s4) {
// Inline function 'kotlin.sequences.Sequence' call
return new lineSequence$$inlined$Sequence$1(_this__u8e3s4);
}
function removeSuffix(_this__u8e3s4, suffix) {
if (endsWith_0(_this__u8e3s4, suffix)) {
return substring(_this__u8e3s4, 0, _this__u8e3s4.length - charSequenceLength(suffix) | 0);
}
return _this__u8e3s4;
}
function split(_this__u8e3s4, delimiters, ignoreCase, limit) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
limit = limit === VOID ? 0 : limit;
if (delimiters.length === 1) {
var delimiter = delimiters[0];
// Inline function 'kotlin.text.isEmpty' call
if (!(charSequenceLength(delimiter) === 0)) {
return split_0(_this__u8e3s4, delimiter, ignoreCase, limit);
}
}
// Inline function 'kotlin.collections.map' call
var this_0 = asIterable(rangesDelimitedBy(_this__u8e3s4, delimiters, VOID, ignoreCase, limit));
// Inline function 'kotlin.collections.mapTo' call
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
var _iterator__ex2g4s = this_0.m();
while (_iterator__ex2g4s.n()) {
var item = _iterator__ex2g4s.o();
var tmp$ret$1 = substring_1(_this__u8e3s4, item);
destination.e(tmp$ret$1);
}
return destination;
}
function isBlank(_this__u8e3s4) {
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.text.all' call
var inductionVariable = 0;
while (inductionVariable < charSequenceLength(_this__u8e3s4)) {
var element = charSequenceGet(_this__u8e3s4, inductionVariable);
inductionVariable = inductionVariable + 1 | 0;
if (!isWhitespace(element)) {
tmp$ret$1 = false;
break $l$block;
}
}
tmp$ret$1 = true;
}
return tmp$ret$1;
}
function contains_5(_this__u8e3s4, char, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
return indexOf_5(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
}
function contains_6(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
if (typeof other === 'string') {
tmp = indexOf_6(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
} else {
tmp = indexOf_7(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
}
return tmp;
}
function indexOf_5(_this__u8e3s4, char, startIndex, ignoreCase) {
startIndex = startIndex === VOID ? 0 : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
var tmp_0;
if (ignoreCase) {
tmp_0 = true;
} else {
tmp_0 = !(typeof _this__u8e3s4 === 'string');
}
if (tmp_0) {
// Inline function 'kotlin.charArrayOf' call
var tmp$ret$0 = charArrayOf([char]);
tmp = indexOfAny(_this__u8e3s4, tmp$ret$0, startIndex, ignoreCase);
} else {
// Inline function 'kotlin.text.nativeIndexOf' call
// Inline function 'kotlin.text.nativeIndexOf' call
var str = toString(char);
// Inline function 'kotlin.js.asDynamic' call
tmp = _this__u8e3s4.indexOf(str, startIndex);
}
return tmp;
}
function padStart_0(_this__u8e3s4, length, padChar) {
padChar = padChar === VOID ? _Char___init__impl__6a9atx(32) : padChar;
if (length < 0)
throw IllegalArgumentException_init_$Create$_0('Desired length ' + length + ' is less than zero.');
if (length <= charSequenceLength(_this__u8e3s4))
return charSequenceSubSequence(_this__u8e3s4, 0, charSequenceLength(_this__u8e3s4));
var sb = StringBuilder_init_$Create$(length);
var inductionVariable = 1;
var last = length - charSequenceLength(_this__u8e3s4) | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
sb.a8(padChar);
}
while (!(i === last));
sb.f(_this__u8e3s4);
return sb;
}
function regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
if (otherOffset < 0 || thisOffset < 0 || thisOffset > (charSequenceLength(_this__u8e3s4) - length | 0) || otherOffset > (charSequenceLength(other) - length | 0)) {
return false;
}
var inductionVariable = 0;
if (inductionVariable < length)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
if (!equals_0(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
return false;
}
while (inductionVariable < length);
return true;
}
function split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
requireNonNegativeLimit(limit);
var currentOffset = 0;
var nextIndex = indexOf_6(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
if (nextIndex === -1 || limit === 1) {
return listOf(toString_1(_this__u8e3s4));
}
var isLimited = limit > 0;
var result = ArrayList_init_$Create$_0(isLimited ? coerceAtMost(limit, 10) : 10);
$l$loop: do {
var tmp2 = currentOffset;
// Inline function 'kotlin.text.substring' call
var endIndex = nextIndex;
var tmp$ret$0 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2, endIndex));
result.e(tmp$ret$0);
currentOffset = nextIndex + delimiter.length | 0;
if (isLimited && result.p() === (limit - 1 | 0))
break $l$loop;
nextIndex = indexOf_6(_this__u8e3s4, delimiter, currentOffset, ignoreCase);
}
while (!(nextIndex === -1));
var tmp2_0 = currentOffset;
// Inline function 'kotlin.text.substring' call
var endIndex_0 = charSequenceLength(_this__u8e3s4);
var tmp$ret$1 = toString_1(charSequenceSubSequence(_this__u8e3s4, tmp2_0, endIndex_0));
result.e(tmp$ret$1);
return result;
}
function substring_1(_this__u8e3s4, range) {
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.k(), range.l() + 1 | 0));
}
function hasSurrogatePairAt(_this__u8e3s4, index) {
return (0 <= index ? index <= (charSequenceLength(_this__u8e3s4) - 2 | 0) : false) && isHighSurrogate(charSequenceGet(_this__u8e3s4, index)) && isLowSurrogate(charSequenceGet(_this__u8e3s4, index + 1 | 0));
}
function State() {
this.ig_1 = 0;
this.jg_1 = 1;
this.kg_1 = 2;
}
var State_instance;
function State_getInstance() {
return State_instance;
}
function LinesIterator(string) {
this.lg_1 = string;
this.mg_1 = 0;
this.ng_1 = 0;
this.og_1 = 0;
this.pg_1 = 0;
}
protoOf(LinesIterator).n = function () {
if (!(this.mg_1 === 0)) {
return this.mg_1 === 1;
}
if (this.pg_1 < 0) {
this.mg_1 = 2;
return false;
}
var _delimiterLength = -1;
var _delimiterStartIndex = charSequenceLength(this.lg_1);
var inductionVariable = this.ng_1;
var last = charSequenceLength(this.lg_1);
if (inductionVariable < last)
$l$loop: do {
var idx = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var c = charSequenceGet(this.lg_1, idx);
if (c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(13)) {
_delimiterLength = c === _Char___init__impl__6a9atx(13) && (idx + 1 | 0) < charSequenceLength(this.lg_1) && charSequenceGet(this.lg_1, idx + 1 | 0) === _Char___init__impl__6a9atx(10) ? 2 : 1;
_delimiterStartIndex = idx;
break $l$loop;
}
}
while (inductionVariable < last);
this.mg_1 = 1;
this.pg_1 = _delimiterLength;
this.og_1 = _delimiterStartIndex;
return true;
};
protoOf(LinesIterator).o = function () {
if (!this.n()) {
throw NoSuchElementException_init_$Create$();
}
this.mg_1 = 0;
var lastIndex = this.og_1;
var firstIndex = this.ng_1;
this.ng_1 = this.og_1 + this.pg_1 | 0;
// Inline function 'kotlin.text.substring' call
var this_0 = this.lg_1;
return toString_1(charSequenceSubSequence(this_0, firstIndex, lastIndex));
};
function endsWith_0(_this__u8e3s4, suffix, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
var tmp_0;
if (!ignoreCase) {
tmp_0 = typeof _this__u8e3s4 === 'string';
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = typeof suffix === 'string';
} else {
tmp = false;
}
if (tmp)
return endsWith(_this__u8e3s4, suffix);
else {
return regionMatchesImpl(_this__u8e3s4, charSequenceLength(_this__u8e3s4) - charSequenceLength(suffix) | 0, suffix, 0, charSequenceLength(suffix), ignoreCase);
}
}
function rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
startIndex = startIndex === VOID ? 0 : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
limit = limit === VOID ? 0 : limit;
requireNonNegativeLimit(limit);
var delimitersList = asList(delimiters);
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimitersList, ignoreCase));
}
function indexOf_6(_this__u8e3s4, string, startIndex, ignoreCase) {
startIndex = startIndex === VOID ? 0 : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
var tmp_0;
if (ignoreCase) {
tmp_0 = true;
} else {
tmp_0 = !(typeof _this__u8e3s4 === 'string');
}
if (tmp_0) {
tmp = indexOf_7(_this__u8e3s4, string, startIndex, charSequenceLength(_this__u8e3s4), ignoreCase);
} else {
// Inline function 'kotlin.text.nativeIndexOf' call
// Inline function 'kotlin.js.asDynamic' call
tmp = _this__u8e3s4.indexOf(string, startIndex);
}
return tmp;
}
function indexOf_7(_this__u8e3s4, other, startIndex, endIndex, ignoreCase, last) {
last = last === VOID ? false : last;
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), coerceAtMost(endIndex, charSequenceLength(_this__u8e3s4))) : downTo(coerceAtMost(startIndex, get_lastIndex_2(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
var tmp;
if (typeof _this__u8e3s4 === 'string') {
tmp = typeof other === 'string';
} else {
tmp = false;
}
if (tmp) {
var inductionVariable = indices.zf_1;
var last_0 = indices.ag_1;
var step = indices.bg_1;
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
do {
var index = inductionVariable;
inductionVariable = inductionVariable + step | 0;
if (regionMatches(other, 0, _this__u8e3s4, index, other.length, ignoreCase))
return index;
}
while (!(index === last_0));
} else {
var inductionVariable_0 = indices.zf_1;
var last_1 = indices.ag_1;
var step_0 = indices.bg_1;
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
do {
var index_0 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
if (regionMatchesImpl(other, 0, _this__u8e3s4, index_0, charSequenceLength(other), ignoreCase))
return index_0;
}
while (!(index_0 === last_1));
}
return -1;
}
function indexOfAny(_this__u8e3s4, chars, startIndex, ignoreCase) {
startIndex = startIndex === VOID ? 0 : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
if (!ignoreCase && chars.length === 1) {
tmp = typeof _this__u8e3s4 === 'string';
} else {
tmp = false;
}
if (tmp) {
var char = single(chars);
// Inline function 'kotlin.text.nativeIndexOf' call
// Inline function 'kotlin.text.nativeIndexOf' call
var str = toString(char);
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.indexOf(str, startIndex);
}
var inductionVariable = coerceAtLeast(startIndex, 0);
var last = get_lastIndex_2(_this__u8e3s4);
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
var tmp$ret$4;
$l$block: {
// Inline function 'kotlin.collections.any' call
var inductionVariable_0 = 0;
var last_0 = chars.length;
while (inductionVariable_0 < last_0) {
var element = chars[inductionVariable_0];
inductionVariable_0 = inductionVariable_0 + 1 | 0;
if (equals_0(element, charAtIndex, ignoreCase)) {
tmp$ret$4 = true;
break $l$block;
}
}
tmp$ret$4 = false;
}
if (tmp$ret$4)
return index;
}
while (!(index === last));
return -1;
}
function requireNonNegativeLimit(limit) {
// Inline function 'kotlin.require' call
if (!(limit >= 0)) {
var message = 'Limit must be non-negative, but was ' + limit;
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
return Unit_instance;
}
function calcNext_1($this) {
if ($this.sg_1 < 0) {
$this.qg_1 = 0;
$this.tg_1 = null;
} else {
var tmp;
var tmp_0;
if ($this.vg_1.yg_1 > 0) {
$this.ug_1 = $this.ug_1 + 1 | 0;
tmp_0 = $this.ug_1 >= $this.vg_1.yg_1;
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = true;
} else {
tmp = $this.sg_1 > charSequenceLength($this.vg_1.wg_1);
}
if (tmp) {
$this.tg_1 = numberRangeToNumber($this.rg_1, get_lastIndex_2($this.vg_1.wg_1));
$this.sg_1 = -1;
} else {
var match = $this.vg_1.zg_1($this.vg_1.wg_1, $this.sg_1);
if (match == null) {
$this.tg_1 = numberRangeToNumber($this.rg_1, get_lastIndex_2($this.vg_1.wg_1));
$this.sg_1 = -1;
} else {
var index = match.y9();
var length = match.z9();
$this.tg_1 = until($this.rg_1, index);
$this.rg_1 = index + length | 0;
$this.sg_1 = $this.rg_1 + (length === 0 ? 1 : 0) | 0;
}
}
$this.qg_1 = 1;
}
}
function DelimitedRangesSequence$iterator$1(this$0) {
this.vg_1 = this$0;
this.qg_1 = -1;
this.rg_1 = coerceIn_0(this$0.xg_1, 0, charSequenceLength(this$0.wg_1));
this.sg_1 = this.rg_1;
this.tg_1 = null;
this.ug_1 = 0;
}
protoOf(DelimitedRangesSequence$iterator$1).o = function () {
if (this.qg_1 === -1) {
calcNext_1(this);
}
if (this.qg_1 === 0)
throw NoSuchElementException_init_$Create$();
var tmp = this.tg_1;
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
this.tg_1 = null;
this.qg_1 = -1;
return result;
};
protoOf(DelimitedRangesSequence$iterator$1).n = function () {
if (this.qg_1 === -1) {
calcNext_1(this);
}
return this.qg_1 === 1;
};
function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
this.wg_1 = input;
this.xg_1 = startIndex;
this.yg_1 = limit;
this.zg_1 = getNextMatch;
}
protoOf(DelimitedRangesSequence).m = function () {
return new DelimitedRangesSequence$iterator$1(this);
};
function findAnyOf(_this__u8e3s4, strings, startIndex, ignoreCase, last) {
if (!ignoreCase && strings.p() === 1) {
var string = single_1(strings);
var index = !last ? indexOf_6(_this__u8e3s4, string, startIndex) : lastIndexOf(_this__u8e3s4, string, startIndex);
return index < 0 ? null : to(index, string);
}
var indices = !last ? numberRangeToNumber(coerceAtLeast(startIndex, 0), charSequenceLength(_this__u8e3s4)) : downTo(coerceAtMost(startIndex, get_lastIndex_2(_this__u8e3s4)), 0);
if (typeof _this__u8e3s4 === 'string') {
var inductionVariable = indices.zf_1;
var last_0 = indices.ag_1;
var step = indices.bg_1;
if (step > 0 && inductionVariable <= last_0 || (step < 0 && last_0 <= inductionVariable))
do {
var index_0 = inductionVariable;
inductionVariable = inductionVariable + step | 0;
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.collections.firstOrNull' call
var _iterator__ex2g4s = strings.m();
while (_iterator__ex2g4s.n()) {
var element = _iterator__ex2g4s.o();
if (regionMatches(element, 0, _this__u8e3s4, index_0, element.length, ignoreCase)) {
tmp$ret$1 = element;
break $l$block;
}
}
tmp$ret$1 = null;
}
var matchingString = tmp$ret$1;
if (!(matchingString == null))
return to(index_0, matchingString);
}
while (!(index_0 === last_0));
} else {
var inductionVariable_0 = indices.zf_1;
var last_1 = indices.ag_1;
var step_0 = indices.bg_1;
if (step_0 > 0 && inductionVariable_0 <= last_1 || (step_0 < 0 && last_1 <= inductionVariable_0))
do {
var index_1 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + step_0 | 0;
var tmp$ret$3;
$l$block_0: {
// Inline function 'kotlin.collections.firstOrNull' call
var _iterator__ex2g4s_0 = strings.m();
while (_iterator__ex2g4s_0.n()) {
var element_0 = _iterator__ex2g4s_0.o();
if (regionMatchesImpl(element_0, 0, _this__u8e3s4, index_1, element_0.length, ignoreCase)) {
tmp$ret$3 = element_0;
break $l$block_0;
}
}
tmp$ret$3 = null;
}
var matchingString_0 = tmp$ret$3;
if (!(matchingString_0 == null))
return to(index_1, matchingString_0);
}
while (!(index_1 === last_1));
}
return null;
}
function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
startIndex = startIndex === VOID ? get_lastIndex_2(_this__u8e3s4) : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
var tmp_0;
if (ignoreCase) {
tmp_0 = true;
} else {
tmp_0 = !(typeof _this__u8e3s4 === 'string');
}
if (tmp_0) {
tmp = indexOf_7(_this__u8e3s4, string, startIndex, 0, ignoreCase, true);
} else {
// Inline function 'kotlin.text.nativeLastIndexOf' call
// Inline function 'kotlin.js.asDynamic' call
tmp = _this__u8e3s4.lastIndexOf(string, startIndex);
}
return tmp;
}
function lines(_this__u8e3s4) {
return toList_2(lineSequence(_this__u8e3s4));
}
function substring_2(_this__u8e3s4, range) {
return substring(_this__u8e3s4, range.k(), range.l() + 1 | 0);
}
function trimStart(_this__u8e3s4, chars) {
// Inline function 'kotlin.text.trimStart' call
var tmp0 = isCharSequence(_this__u8e3s4) ? _this__u8e3s4 : THROW_CCE();
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.text.trimStart' call
var inductionVariable = 0;
var last = charSequenceLength(tmp0) - 1 | 0;
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var it = charSequenceGet(tmp0, index);
if (!contains_4(chars, it)) {
tmp$ret$1 = charSequenceSubSequence(tmp0, index, charSequenceLength(tmp0));
break $l$block;
}
}
while (inductionVariable <= last);
tmp$ret$1 = '';
}
return toString_1(tmp$ret$1);
}
function substringBefore(_this__u8e3s4, delimiter, missingDelimiterValue) {
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
var index = indexOf_6(_this__u8e3s4, delimiter);
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
}
function trim(_this__u8e3s4) {
// Inline function 'kotlin.text.trim' call
var startIndex = 0;
var endIndex = charSequenceLength(_this__u8e3s4) - 1 | 0;
var startFound = false;
$l$loop: while (startIndex <= endIndex) {
var index = !startFound ? startIndex : endIndex;
var p0 = charSequenceGet(_this__u8e3s4, index);
var match = isWhitespace(p0);
if (!startFound) {
if (!match)
startFound = true;
else
startIndex = startIndex + 1 | 0;
} else {
if (!match)
break $l$loop;
else
endIndex = endIndex - 1 | 0;
}
}
return charSequenceSubSequence(_this__u8e3s4, startIndex, endIndex + 1 | 0);
}
function lineSequence$$inlined$Sequence$1($this_lineSequence) {
this.ah_1 = $this_lineSequence;
}
protoOf(lineSequence$$inlined$Sequence$1).m = function () {
return new LinesIterator(this.ah_1);
};
function rangesDelimitedBy$lambda($delimitersList, $ignoreCase) {
return function ($this$DelimitedRangesSequence, currentIndex) {
var tmp0_safe_receiver = findAnyOf($this$DelimitedRangesSequence, $delimitersList, currentIndex, $ignoreCase, false);
var tmp;
if (tmp0_safe_receiver == null) {
tmp = null;
} else {
// Inline function 'kotlin.let' call
tmp = to(tmp0_safe_receiver.w9_1, tmp0_safe_receiver.x9_1.length);
}
return tmp;
};
}
function MatchNamedGroupCollection() {
}
function _Duration___init__impl__kdtzql(rawValue) {
// Inline function 'kotlin.time.durationAssertionsEnabled' call
if (true) {
if (isInNanos(rawValue)) {
var containsArg = _get_value__a43j40_0(rawValue);
if (!((new Long(387905, -1073741824)).p2(containsArg) <= 0 ? containsArg.p2(new Long(-387905, 1073741823)) <= 0 : false))
throw AssertionError_init_$Create$_0(_get_value__a43j40_0(rawValue).toString() + ' ns is out of nanoseconds range');
} else {
var containsArg_0 = _get_value__a43j40_0(rawValue);
if (!((new Long(1, -1073741824)).p2(containsArg_0) <= 0 ? containsArg_0.p2(new Long(-1, 1073741823)) <= 0 : false))
throw AssertionError_init_$Create$_0(_get_value__a43j40_0(rawValue).toString() + ' ms is out of milliseconds range');
var containsArg_1 = _get_value__a43j40_0(rawValue);
if ((new Long(1108857478, -1074)).p2(containsArg_1) <= 0 ? containsArg_1.p2(new Long(-1108857478, 1073)) <= 0 : false)
throw AssertionError_init_$Create$_0(_get_value__a43j40_0(rawValue).toString() + ' ms is denormalized');
}
}
return rawValue;
}
function _get_rawValue__5zfu4e($this) {
return $this;
}
function _get_value__a43j40_0($this) {
return _get_rawValue__5zfu4e($this).z2(1);
}
function isInNanos($this) {
// Inline function 'kotlin.time.Duration.unitDiscriminator' call
return (_get_rawValue__5zfu4e($this).e3() & 1) === 0;
}
function isInMillis($this) {
// Inline function 'kotlin.time.Duration.unitDiscriminator' call
return (_get_rawValue__5zfu4e($this).e3() & 1) === 1;
}
function _get_storageUnit__szjgha($this) {
return isInNanos($this) ? DurationUnit_NANOSECONDS_getInstance() : DurationUnit_MILLISECONDS_getInstance();
}
function Companion_11() {
Companion_instance_11 = this;
this.bh_1 = _Duration___init__impl__kdtzql(new Long(0, 0));
this.ch_1 = durationOfMillis(new Long(-1, 1073741823));
this.dh_1 = durationOfMillis(new Long(1, -1073741824));
}
var Companion_instance_11;
function Companion_getInstance_11() {
if (Companion_instance_11 == null)
new Companion_11();
return Companion_instance_11;
}
function Duration__unaryMinus_impl_x2k1y0($this) {
var tmp = _get_value__a43j40_0($this).w2();
// Inline function 'kotlin.time.Duration.unitDiscriminator' call
var tmp$ret$0 = _get_rawValue__5zfu4e($this).e3() & 1;
return durationOf(tmp, tmp$ret$0);
}
function Duration__isNegative_impl_pbysfa($this) {
return _get_rawValue__5zfu4e($this).p2(new Long(0, 0)) < 0;
}
function Duration__isInfinite_impl_tsn9y3($this) {
return _get_rawValue__5zfu4e($this).equals(_get_rawValue__5zfu4e(Companion_getInstance_11().ch_1)) || _get_rawValue__5zfu4e($this).equals(_get_rawValue__5zfu4e(Companion_getInstance_11().dh_1));
}
function _Duration___get_absoluteValue__impl__vr7i6w($this) {
return Duration__isNegative_impl_pbysfa($this) ? Duration__unaryMinus_impl_x2k1y0($this) : $this;
}
function Duration__compareTo_impl_pchp0f($this, other) {
var compareBits = _get_rawValue__5zfu4e($this).d3(_get_rawValue__5zfu4e(other));
if (compareBits.p2(new Long(0, 0)) < 0 || (compareBits.e3() & 1) === 0)
return _get_rawValue__5zfu4e($this).p2(_get_rawValue__5zfu4e(other));
// Inline function 'kotlin.time.Duration.unitDiscriminator' call
var tmp = _get_rawValue__5zfu4e($this).e3() & 1;
// Inline function 'kotlin.time.Duration.unitDiscriminator' call
var r = tmp - (_get_rawValue__5zfu4e(other).e3() & 1) | 0;
return Duration__isNegative_impl_pbysfa($this) ? -r | 0 : r;
}
function Duration__compareTo_impl_pchp0f_0($this, other) {
return Duration__compareTo_impl_pchp0f($this.eh_1, other instanceof Duration ? other.eh_1 : THROW_CCE());
}
function _Duration___get_hoursComponent__impl__7hllxa($this) {
var tmp;
if (Duration__isInfinite_impl_tsn9y3($this)) {
tmp = 0;
} else {
// Inline function 'kotlin.Long.rem' call
tmp = _Duration___get_inWholeHours__impl__kb9f3j($this).u2(toLong(24)).e3();
}
return tmp;
}
function _Duration___get_minutesComponent__impl__ctvd8u($this) {
var tmp;
if (Duration__isInfinite_impl_tsn9y3($this)) {
tmp = 0;
} else {
// Inline function 'kotlin.Long.rem' call
tmp = _Duration___get_inWholeMinutes__impl__dognoh($this).u2(toLong(60)).e3();
}
return tmp;
}
function _Duration___get_secondsComponent__impl__if34a6($this) {
var tmp;
if (Duration__isInfinite_impl_tsn9y3($this)) {
tmp = 0;
} else {
// Inline function 'kotlin.Long.rem' call
tmp = _Duration___get_inWholeSeconds__impl__hpy7b3($this).u2(toLong(60)).e3();
}
return tmp;
}
function _Duration___get_nanosecondsComponent__impl__nh19kq($this) {
var tmp;
if (Duration__isInfinite_impl_tsn9y3($this)) {
tmp = 0;
} else if (isInMillis($this)) {
// Inline function 'kotlin.Long.rem' call
var tmp$ret$0 = _get_value__a43j40_0($this).u2(toLong(1000));
tmp = millisToNanos(tmp$ret$0).e3();
} else {
var tmp0 = _get_value__a43j40_0($this);
// Inline function 'kotlin.Long.rem' call
var other = 1000000000;
tmp = tmp0.u2(toLong(other)).e3();
}
return tmp;
}
function Duration__toLong_impl_shr43i($this, unit) {
var tmp0_subject = _get_rawValue__5zfu4e($this);
return tmp0_subject.equals(_get_rawValue__5zfu4e(Companion_getInstance_11().ch_1)) ? new Long(-1, 2147483647) : tmp0_subject.equals(_get_rawValue__5zfu4e(Companion_getInstance_11().dh_1)) ? new Long(0, -2147483648) : convertDurationUnit(_get_value__a43j40_0($this), _get_storageUnit__szjgha($this), unit);
}
function _Duration___get_inWholeDays__impl__7bvpxz($this) {
return Duration__toLong_impl_shr43i($this, DurationUnit_DAYS_getInstance());
}
function _Duration___get_inWholeHours__impl__kb9f3j($this) {
return Duration__toLong_impl_shr43i($this, DurationUnit_HOURS_getInstance());
}
function _Duration___get_inWholeMinutes__impl__dognoh($this) {
return Duration__toLong_impl_shr43i($this, DurationUnit_MINUTES_getInstance());
}
function _Duration___get_inWholeSeconds__impl__hpy7b3($this) {
return Duration__toLong_impl_shr43i($this, DurationUnit_SECONDS_getInstance());
}
function Duration__toString_impl_8d916b($this) {
var tmp0_subject = _get_rawValue__5zfu4e($this);
var tmp;
if (tmp0_subject.equals(new Long(0, 0))) {
tmp = '0s';
} else if (tmp0_subject.equals(_get_rawValue__5zfu4e(Companion_getInstance_11().ch_1))) {
tmp = 'Infinity';
} else if (tmp0_subject.equals(_get_rawValue__5zfu4e(Companion_getInstance_11().dh_1))) {
tmp = '-Infinity';
} else {
var isNegative = Duration__isNegative_impl_pbysfa($this);
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.apply' call
var this_0 = StringBuilder_init_$Create$_0();
if (isNegative) {
this_0.a8(_Char___init__impl__6a9atx(45));
}
// Inline function 'kotlin.time.Duration.toComponents' call
var this_1 = _Duration___get_absoluteValue__impl__vr7i6w($this);
var tmp0 = _Duration___get_inWholeDays__impl__7bvpxz(this_1);
var tmp2 = _Duration___get_hoursComponent__impl__7hllxa(this_1);
var tmp4 = _Duration___get_minutesComponent__impl__ctvd8u(this_1);
var tmp6 = _Duration___get_secondsComponent__impl__if34a6(this_1);
var nanoseconds = _Duration___get_nanosecondsComponent__impl__nh19kq(this_1);
var hasDays = !tmp0.equals(new Long(0, 0));
var hasHours = !(tmp2 === 0);
var hasMinutes = !(tmp4 === 0);
var hasSeconds = !(tmp6 === 0) || !(nanoseconds === 0);
var components = 0;
if (hasDays) {
this_0.rb(tmp0).a8(_Char___init__impl__6a9atx(100));
components = components + 1 | 0;
}
if (hasHours || (hasDays && (hasMinutes || hasSeconds))) {
var _unary__edvuaz = components;
components = _unary__edvuaz + 1 | 0;
if (_unary__edvuaz > 0) {
this_0.a8(_Char___init__impl__6a9atx(32));
}
this_0.qb(tmp2).a8(_Char___init__impl__6a9atx(104));
}
if (hasMinutes || (hasSeconds && (hasHours || hasDays))) {
var _unary__edvuaz_0 = components;
components = _unary__edvuaz_0 + 1 | 0;
if (_unary__edvuaz_0 > 0) {
this_0.a8(_Char___init__impl__6a9atx(32));
}
this_0.qb(tmp4).a8(_Char___init__impl__6a9atx(109));
}
if (hasSeconds) {
var _unary__edvuaz_1 = components;
components = _unary__edvuaz_1 + 1 | 0;
if (_unary__edvuaz_1 > 0) {
this_0.a8(_Char___init__impl__6a9atx(32));
}
if (!(tmp6 === 0) || hasDays || hasHours || hasMinutes) {
appendFractional($this, this_0, tmp6, nanoseconds, 9, 's', false);
} else if (nanoseconds >= 1000000) {
appendFractional($this, this_0, nanoseconds / 1000000 | 0, nanoseconds % 1000000 | 0, 6, 'ms', false);
} else if (nanoseconds >= 1000) {
appendFractional($this, this_0, nanoseconds / 1000 | 0, nanoseconds % 1000 | 0, 3, 'us', false);
} else
this_0.qb(nanoseconds).z7('ns');
}
if (isNegative && components > 1) {
this_0.sb(1, _Char___init__impl__6a9atx(40)).a8(_Char___init__impl__6a9atx(41));
}
tmp = this_0.toString();
}
return tmp;
}
function appendFractional($this, _this__u8e3s4, whole, fractional, fractionalSize, unit, isoZeroes) {
_this__u8e3s4.qb(whole);
if (!(fractional === 0)) {
_this__u8e3s4.a8(_Char___init__impl__6a9atx(46));
var fracString = padStart(fractional.toString(), fractionalSize, _Char___init__impl__6a9atx(48));
var tmp$ret$1;
$l$block: {
// Inline function 'kotlin.text.indexOfLast' call
var inductionVariable = charSequenceLength(fracString) - 1 | 0;
if (0 <= inductionVariable)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + -1 | 0;
if (!(charSequenceGet(fracString, index) === _Char___init__impl__6a9atx(48))) {
tmp$ret$1 = index;
break $l$block;
}
}
while (0 <= inductionVariable);
tmp$ret$1 = -1;
}
var nonZeroDigits = tmp$ret$1 + 1 | 0;
if (!isoZeroes && nonZeroDigits < 3) {
// Inline function 'kotlin.text.appendRange' call
_this__u8e3s4.pb(fracString, 0, nonZeroDigits);
} else {
// Inline function 'kotlin.text.appendRange' call
var endIndex = imul((nonZeroDigits + 2 | 0) / 3 | 0, 3);
_this__u8e3s4.pb(fracString, 0, endIndex);
}
}
_this__u8e3s4.z7(unit);
}
function Duration__toIsoString_impl_9h6wsm($this) {
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.apply' call
var this_0 = StringBuilder_init_$Create$_0();
if (Duration__isNegative_impl_pbysfa($this)) {
this_0.a8(_Char___init__impl__6a9atx(45));
}
this_0.z7('PT');
// Inline function 'kotlin.time.Duration.toComponents' call
var this_1 = _Duration___get_absoluteValue__impl__vr7i6w($this);
var tmp0 = _Duration___get_inWholeHours__impl__kb9f3j(this_1);
var tmp2 = _Duration___get_minutesComponent__impl__ctvd8u(this_1);
var tmp4 = _Duration___get_secondsComponent__impl__if34a6(this_1);
var nanoseconds = _Duration___get_nanosecondsComponent__impl__nh19kq(this_1);
var hours = tmp0;
if (Duration__isInfinite_impl_tsn9y3($this)) {
hours = new Long(1316134911, 2328);
}
var hasHours = !hours.equals(new Long(0, 0));
var hasSeconds = !(tmp4 === 0) || !(nanoseconds === 0);
var hasMinutes = !(tmp2 === 0) || (hasSeconds && hasHours);
if (hasHours) {
this_0.rb(hours).a8(_Char___init__impl__6a9atx(72));
}
if (hasMinutes) {
this_0.qb(tmp2).a8(_Char___init__impl__6a9atx(77));
}
if (hasSeconds || (!hasHours && !hasMinutes)) {
appendFractional($this, this_0, tmp4, nanoseconds, 9, 'S', true);
}
return this_0.toString();
}
function Duration__hashCode_impl_u4exz6($this) {
return $this.hashCode();
}
function Duration__equals_impl_ygj6w6($this, other) {
if (!(other instanceof Duration))
return false;
var tmp0_other_with_cast = other instanceof Duration ? other.eh_1 : THROW_CCE();
if (!$this.equals(tmp0_other_with_cast))
return false;
return true;
}
function Duration(rawValue) {
Companion_getInstance_11();
this.eh_1 = rawValue;
}
protoOf(Duration).fh = function (other) {
return Duration__compareTo_impl_pchp0f(this.eh_1, other);
};
protoOf(Duration).d = function (other) {
return Duration__compareTo_impl_pchp0f_0(this, other);
};
protoOf(Duration).toString = function () {
return Duration__toString_impl_8d916b(this.eh_1);
};
protoOf(Duration).hashCode = function () {
return Duration__hashCode_impl_u4exz6(this.eh_1);
};
protoOf(Duration).equals = function (other) {
return Duration__equals_impl_ygj6w6(this.eh_1, other);
};
function durationOfMillis(normalMillis) {
// Inline function 'kotlin.Long.plus' call
var tmp$ret$0 = normalMillis.y2(1).q2(toLong(1));
return _Duration___init__impl__kdtzql(tmp$ret$0);
}
function durationOf(normalValue, unitDiscriminator) {
// Inline function 'kotlin.Long.plus' call
var tmp$ret$0 = normalValue.y2(1).q2(toLong(unitDiscriminator));
return _Duration___init__impl__kdtzql(tmp$ret$0);
}
function millisToNanos(millis) {
// Inline function 'kotlin.Long.times' call
return millis.s2(toLong(1000000));
}
function get_POWERS_OF_TEN() {
_init_properties_Instant_kt__2myitt();
return POWERS_OF_TEN;
}
var POWERS_OF_TEN;
function get_asciiDigitPositionsInIsoStringAfterYear() {
_init_properties_Instant_kt__2myitt();
return asciiDigitPositionsInIsoStringAfterYear;
}
var asciiDigitPositionsInIsoStringAfterYear;
function get_colonsInIsoOffsetString() {
_init_properties_Instant_kt__2myitt();
return colonsInIsoOffsetString;
}
var colonsInIsoOffsetString;
function get_asciiDigitsInIsoOffsetString() {
_init_properties_Instant_kt__2myitt();
return asciiDigitsInIsoOffsetString;
}
var asciiDigitsInIsoOffsetString;
function Companion_12() {
Companion_instance_12 = this;
this.gh_1 = new Instant(new Long(342103040, -7347440), 0);
this.hh_1 = new Instant(new Long(-90867457, 7347410), 999999999);
}
protoOf(Companion_12).ih = function (epochSeconds, nanosecondAdjustment) {
// Inline function 'kotlin.floorDiv' call
var other = new Long(1000000000, 0);
var q = nanosecondAdjustment.t2(other);
if (nanosecondAdjustment.d3(other).p2(new Long(0, 0)) < 0 && !q.s2(other).equals(nanosecondAdjustment)) {
q = q.v2();
}
// Inline function 'kotlin.time.safeAddOrElse' call
var b = q;
var sum = epochSeconds.q2(b);
if (epochSeconds.d3(sum).p2(new Long(0, 0)) < 0 && epochSeconds.d3(b).p2(new Long(0, 0)) >= 0) {
return epochSeconds.p2(new Long(0, 0)) > 0 ? Companion_getInstance_12().hh_1 : Companion_getInstance_12().gh_1;
}
var seconds = sum;
var tmp;
if (seconds.p2(new Long(342103040, -7347440)) < 0) {
tmp = this.gh_1;
} else if (seconds.p2(new Long(-90867457, 7347410)) > 0) {
tmp = this.hh_1;
} else {
// Inline function 'kotlin.mod' call
var other_0 = new Long(1000000000, 0);
var r = nanosecondAdjustment.u2(other_0);
var nanoseconds = r.q2(other_0.b3(r.d3(other_0).b3(r.c3(r.w2())).z2(63))).e3();
tmp = new Instant(seconds, nanoseconds);
}
return tmp;
};
protoOf(Companion_12).jh = function (epochSeconds, nanosecondAdjustment) {
return this.ih(epochSeconds, toLong(nanosecondAdjustment));
};
protoOf(Companion_12).kh = function (input) {
return parseIso(input).lh();
};
var Companion_instance_12;
function Companion_getInstance_12() {
if (Companion_instance_12 == null)
new Companion_12();
return Companion_instance_12;
}
function Instant(epochSeconds, nanosecondsOfSecond) {
Companion_getInstance_12();
this.mh_1 = epochSeconds;
this.nh_1 = nanosecondsOfSecond;
var containsArg = this.mh_1;
// Inline function 'kotlin.require' call
if (!((new Long(342103040, -7347440)).p2(containsArg) <= 0 ? containsArg.p2(new Long(-90867457, 7347410)) <= 0 : false)) {
var message = 'Instant exceeds minimum or maximum instant';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
}
protoOf(Instant).oh = function (other) {
var s = this.mh_1.p2(other.mh_1);
if (!(s === 0)) {
return s;
}
return compareTo(this.nh_1, other.nh_1);
};
protoOf(Instant).d = function (other) {
return this.oh(other instanceof Instant ? other : THROW_CCE());
};
protoOf(Instant).equals = function (other) {
var tmp;
if (this === other) {
tmp = true;
} else {
var tmp_0;
var tmp_1;
if (other instanceof Instant) {
tmp_1 = this.mh_1.equals(other.mh_1);
} else {
tmp_1 = false;
}
if (tmp_1) {
tmp_0 = this.nh_1 === other.nh_1;
} else {
tmp_0 = false;
}
tmp = tmp_0;
}
return tmp;
};
protoOf(Instant).hashCode = function () {
return this.mh_1.hashCode() + imul(51, this.nh_1) | 0;
};
protoOf(Instant).toString = function () {
return formatIso(this);
};
function formatIso(instant) {
_init_properties_Instant_kt__2myitt();
// Inline function 'kotlin.text.buildString' call
// Inline function 'kotlin.apply' call
var this_0 = StringBuilder_init_$Create$_0();
var ldt = Companion_instance_13.ph(instant);
// Inline function 'kotlin.run' call
var number = ldt.qh_1;
var tmp;
// Inline function 'kotlin.math.absoluteValue' call
if (abs(number) < 1000) {
var innerBuilder = StringBuilder_init_$Create$_0();
if (number >= 0) {
// Inline function 'kotlin.text.deleteAt' call
innerBuilder.qb(number + 10000 | 0).ub(0);
} else {
// Inline function 'kotlin.text.deleteAt' call
innerBuilder.qb(number - 10000 | 0).ub(1);
}
tmp = this_0.f(innerBuilder);
} else {
if (number >= 10000) {
this_0.a8(_Char___init__impl__6a9atx(43));
}
tmp = this_0.qb(number);
}
this_0.a8(_Char___init__impl__6a9atx(45));
formatIso$_anonymous_$appendTwoDigits_ydzygl(this_0, this_0, ldt.rh_1);
this_0.a8(_Char___init__impl__6a9atx(45));
formatIso$_anonymous_$appendTwoDigits_ydzygl(this_0, this_0, ldt.sh_1);
this_0.a8(_Char___init__impl__6a9atx(84));
formatIso$_anonymous_$appendTwoDigits_ydzygl(this_0, this_0, ldt.th_1);
this_0.a8(_Char___init__impl__6a9atx(58));
formatIso$_anonymous_$appendTwoDigits_ydzygl(this_0, this_0, ldt.uh_1);
this_0.a8(_Char___init__impl__6a9atx(58));
formatIso$_anonymous_$appendTwoDigits_ydzygl(this_0, this_0, ldt.vh_1);
if (!(ldt.wh_1 === 0)) {
this_0.a8(_Char___init__impl__6a9atx(46));
var zerosToStrip = 0;
while ((ldt.wh_1 % get_POWERS_OF_TEN()[zerosToStrip + 1 | 0] | 0) === 0) {
zerosToStrip = zerosToStrip + 1 | 0;
}
zerosToStrip = zerosToStrip - (zerosToStrip % 3 | 0) | 0;
var numberToOutput = ldt.wh_1 / get_POWERS_OF_TEN()[zerosToStrip] | 0;
this_0.z7(substring_0((numberToOutput + get_POWERS_OF_TEN()[9 - zerosToStrip | 0] | 0).toString(), 1));
}
this_0.a8(_Char___init__impl__6a9atx(90));
return this_0.toString();
}
function Success(epochSeconds, nanosecondsOfSecond) {
this.xh_1 = epochSeconds;
this.yh_1 = nanosecondsOfSecond;
}
protoOf(Success).lh = function () {
if (this.xh_1.p2(Companion_getInstance_12().gh_1.mh_1) < 0 || this.xh_1.p2(Companion_getInstance_12().hh_1.mh_1) > 0)
throw new InstantFormatException('The parsed date is outside the range representable by Instant (Unix epoch second ' + this.xh_1.toString() + ')');
return Companion_getInstance_12().jh(this.xh_1, this.yh_1);
};
function Failure(error, input) {
this.zh_1 = error;
this.ai_1 = input;
}
protoOf(Failure).lh = function () {
throw new InstantFormatException(this.zh_1 + ' when parsing an Instant from "' + truncateForErrorMessage(this.ai_1, 64) + '"');
};
function parseIso(isoString) {
_init_properties_Instant_kt__2myitt();
var s = isoString;
var i = 0;
// Inline function 'kotlin.text.isEmpty' call
if (charSequenceLength(s) === 0) {
return new Failure('An empty string is not a valid Instant', isoString);
}
var c = charSequenceGet(s, i);
var tmp;
if (c === _Char___init__impl__6a9atx(43) || c === _Char___init__impl__6a9atx(45)) {
i = i + 1 | 0;
tmp = c;
} else {
tmp = _Char___init__impl__6a9atx(32);
}
var yearSign = tmp;
var yearStart = i;
var absYear = 0;
$l$loop: while (true) {
var tmp_0;
if (i < charSequenceLength(s)) {
var containsArg = charSequenceGet(s, i);
tmp_0 = _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
} else {
tmp_0 = false;
}
if (!tmp_0) {
break $l$loop;
}
absYear = imul(absYear, 10) + Char__minus_impl_a2frrh(charSequenceGet(s, i), _Char___init__impl__6a9atx(48)) | 0;
i = i + 1 | 0;
}
var yearStrLength = i - yearStart | 0;
var tmp_1;
if (yearStrLength > 10) {
return parseIso$parseFailure(isoString, 'Expected at most 10 digits for the year number, got ' + yearStrLength + ' digits');
} else if (yearStrLength === 10 && Char__compareTo_impl_ypi4mb(charSequenceGet(s, yearStart), _Char___init__impl__6a9atx(50)) >= 0) {
return parseIso$parseFailure(isoString, 'Expected at most 9 digits for the year number or year 1000000000, got ' + yearStrLength + ' digits');
} else if (yearStrLength < 4) {
return parseIso$parseFailure(isoString, 'The year number must be padded to 4 digits, got ' + yearStrLength + ' digits');
} else {
if (yearSign === _Char___init__impl__6a9atx(43) && yearStrLength === 4) {
return parseIso$parseFailure(isoString, "The '+' sign at the start is only valid for year numbers longer than 4 digits");
}
if (yearSign === _Char___init__impl__6a9atx(32) && !(yearStrLength === 4)) {
return parseIso$parseFailure(isoString, "A '+' or '-' sign is required for year numbers longer than 4 digits");
}
tmp_1 = yearSign === _Char___init__impl__6a9atx(45) ? -absYear | 0 : absYear;
}
var year = tmp_1;
if (charSequenceLength(s) < (i + 16 | 0)) {
return parseIso$parseFailure(isoString, 'The input string is too short');
}
var tmp_2 = i;
var tmp0_safe_receiver = parseIso$expect(isoString, "'-'", tmp_2, parseIso$lambda);
if (tmp0_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp0_safe_receiver;
}
var tmp_3 = i + 3 | 0;
var tmp1_safe_receiver = parseIso$expect(isoString, "'-'", tmp_3, parseIso$lambda_0);
if (tmp1_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp1_safe_receiver;
}
var tmp_4 = i + 6 | 0;
var tmp2_safe_receiver = parseIso$expect(isoString, "'T' or 't'", tmp_4, parseIso$lambda_1);
if (tmp2_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp2_safe_receiver;
}
var tmp_5 = i + 9 | 0;
var tmp3_safe_receiver = parseIso$expect(isoString, "':'", tmp_5, parseIso$lambda_2);
if (tmp3_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp3_safe_receiver;
}
var tmp_6 = i + 12 | 0;
var tmp4_safe_receiver = parseIso$expect(isoString, "':'", tmp_6, parseIso$lambda_3);
if (tmp4_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp4_safe_receiver;
}
var indexedObject = get_asciiDigitPositionsInIsoStringAfterYear();
var inductionVariable = 0;
var last = indexedObject.length;
while (inductionVariable < last) {
var j = indexedObject[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
var tmp_7 = i + j | 0;
var tmp5_safe_receiver = parseIso$expect(isoString, 'an ASCII digit', tmp_7, parseIso$lambda_4);
if (tmp5_safe_receiver == null)
null;
else {
// Inline function 'kotlin.let' call
return tmp5_safe_receiver;
}
}
var month = parseIso$twoDigitNumber(s, i + 1 | 0);
var day = parseIso$twoDigitNumber(s, i + 4 | 0);
var hour = parseIso$twoDigitNumber(s, i + 7 | 0);
var minute = parseIso$twoDigitNumber(s, i + 10 | 0);
var second = parseIso$twoDigitNumber(s, i + 13 | 0);
var tmp_8;
if (charSequenceGet(s, i + 15 | 0) === _Char___init__impl__6a9atx(46)) {
var fractionStart = i + 16 | 0;
i = fractionStart;
var fraction = 0;
$l$loop_0: while (true) {
var tmp_9;
if (i < charSequenceLength(s)) {
var containsArg_0 = charSequenceGet(s, i);
tmp_9 = _Char___init__impl__6a9atx(48) <= containsArg_0 ? containsArg_0 <= _Char___init__impl__6a9atx(57) : false;
} else {
tmp_9 = false;
}
if (!tmp_9) {
break $l$loop_0;
}
fraction = imul(fraction, 10) + Char__minus_impl_a2frrh(charSequenceGet(s, i), _Char___init__impl__6a9atx(48)) | 0;
i = i + 1 | 0;
}
var fractionStrLength = i - fractionStart | 0;
var tmp_10;
if (1 <= fractionStrLength ? fractionStrLength <= 9 : false) {
tmp_10 = imul(fraction, get_POWERS_OF_TEN()[9 - fractionStrLength | 0]);
} else {
return parseIso$parseFailure(isoString, '1..9 digits are supported for the fraction of the second, got ' + fractionStrLength + ' digits');
}
tmp_8 = tmp_10;
} else {
i = i + 15 | 0;
tmp_8 = 0;
}
var nanosecond = tmp_8;
if (i >= charSequenceLength(s)) {
return parseIso$parseFailure(isoString, 'The UTC offset at the end of the string is missing');
}
var sign = charSequenceGet(s, i);
var tmp_11;
if (sign === _Char___init__impl__6a9atx(122) || sign === _Char___init__impl__6a9atx(90)) {
var tmp_12;
if (charSequenceLength(s) === (i + 1 | 0)) {
tmp_12 = 0;
} else {
return parseIso$parseFailure(isoString, 'Extra text after the instant at position ' + (i + 1 | 0));
}
tmp_11 = tmp_12;
} else if (sign === _Char___init__impl__6a9atx(45) || sign === _Char___init__impl__6a9atx(43)) {
var offsetStrLength = charSequenceLength(s) - i | 0;
if (offsetStrLength > 9) {
// Inline function 'kotlin.text.substring' call
var startIndex = i;
var endIndex = charSequenceLength(s);
var tmp$ret$7 = toString_1(charSequenceSubSequence(s, startIndex, endIndex));
return parseIso$parseFailure(isoString, 'The UTC offset string "' + truncateForErrorMessage(tmp$ret$7, 16) + '" is too long');
}
if (!((offsetStrLength % 3 | 0) === 0)) {
// Inline function 'kotlin.text.substring' call
var startIndex_0 = i;
var endIndex_0 = charSequenceLength(s);
var tmp$ret$8 = toString_1(charSequenceSubSequence(s, startIndex_0, endIndex_0));
return parseIso$parseFailure(isoString, 'Invalid UTC offset string "' + tmp$ret$8 + '"');
}
var indexedObject_0 = get_colonsInIsoOffsetString();
var inductionVariable_0 = 0;
var last_0 = indexedObject_0.length;
$l$loop_1: while (inductionVariable_0 < last_0) {
var j_0 = indexedObject_0[inductionVariable_0];
inductionVariable_0 = inductionVariable_0 + 1 | 0;
if ((i + j_0 | 0) >= charSequenceLength(s))
break $l$loop_1;
if (!(charSequenceGet(s, i + j_0 | 0) === _Char___init__impl__6a9atx(58)))
return parseIso$parseFailure(isoString, "Expected ':' at index " + (i + j_0 | 0) + ", got '" + toString(charSequenceGet(s, i + j_0 | 0)) + "'");
}
var indexedObject_1 = get_asciiDigitsInIsoOffsetString();
var inductionVariable_1 = 0;
var last_1 = indexedObject_1.length;
$l$loop_2: while (inductionVariable_1 < last_1) {
var j_1 = indexedObject_1[inductionVariable_1];
inductionVariable_1 = inductionVariable_1 + 1 | 0;
if ((i + j_1 | 0) >= charSequenceLength(s))
break $l$loop_2;
var containsArg_1 = charSequenceGet(s, i + j_1 | 0);
if (!(_Char___init__impl__6a9atx(48) <= containsArg_1 ? containsArg_1 <= _Char___init__impl__6a9atx(57) : false))
return parseIso$parseFailure(isoString, 'Expected an ASCII digit at index ' + (i + j_1 | 0) + ", got '" + toString(charSequenceGet(s, i + j_1 | 0)) + "'");
}
var offsetHour = parseIso$twoDigitNumber(s, i + 1 | 0);
var tmp_13;
if (offsetStrLength > 3) {
tmp_13 = parseIso$twoDigitNumber(s, i + 4 | 0);
} else {
tmp_13 = 0;
}
var offsetMinute = tmp_13;
var tmp_14;
if (offsetStrLength > 6) {
tmp_14 = parseIso$twoDigitNumber(s, i + 7 | 0);
} else {
tmp_14 = 0;
}
var offsetSecond = tmp_14;
if (offsetMinute > 59) {
return parseIso$parseFailure(isoString, 'Expected offset-minute-of-hour in 0..59, got ' + offsetMinute);
}
if (offsetSecond > 59) {
return parseIso$parseFailure(isoString, 'Expected offset-second-of-minute in 0..59, got ' + offsetSecond);
}
if (offsetHour > 17 && !(offsetHour === 18 && offsetMinute === 0 && offsetSecond === 0)) {
// Inline function 'kotlin.text.substring' call
var startIndex_1 = i;
var endIndex_1 = charSequenceLength(s);
var tmp$ret$9 = toString_1(charSequenceSubSequence(s, startIndex_1, endIndex_1));
return parseIso$parseFailure(isoString, 'Expected an offset in -18:00..+18:00, got ' + tmp$ret$9);
}
tmp_11 = imul((imul(offsetHour, 3600) + imul(offsetMinute, 60) | 0) + offsetSecond | 0, sign === _Char___init__impl__6a9atx(45) ? -1 : 1);
} else {
return parseIso$parseFailure(isoString, 'Expected the UTC offset at position ' + i + ", got '" + toString(sign) + "'");
}
var offsetSeconds = tmp_11;
if (!(1 <= month ? month <= 12 : false)) {
return parseIso$parseFailure(isoString, 'Expected a month number in 1..12, got ' + month);
}
if (!(1 <= day ? day <= monthLength(month, isLeapYear(year)) : false)) {
return parseIso$parseFailure(isoString, 'Expected a valid day-of-month for month ' + month + ' of year ' + year + ', got ' + day);
}
if (hour > 23) {
return parseIso$parseFailure(isoString, 'Expected hour in 0..23, got ' + hour);
}
if (minute > 59) {
return parseIso$parseFailure(isoString, 'Expected minute-of-hour in 0..59, got ' + minute);
}
if (second > 59) {
return parseIso$parseFailure(isoString, 'Expected second-of-minute in 0..59, got ' + second);
}
// Inline function 'kotlin.time.UnboundLocalDateTime.toInstant' call
var this_0 = new UnboundLocalDateTime(year, month, day, hour, minute, second, nanosecond);
// Inline function 'kotlin.run' call
// Inline function 'kotlin.run' call
var y = toLong(this_0.qh_1);
var total = numberToLong(365).s2(y);
if (y.p2(new Long(0, 0)) >= 0) {
var tmp_15 = total;
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.div' call
var tmp_16 = y.q2(toLong(3)).t2(toLong(4));
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.div' call
var tmp$ret$13 = y.q2(toLong(99)).t2(toLong(100));
var tmp_17 = tmp_16.r2(tmp$ret$13);
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.div' call
var tmp$ret$15 = y.q2(toLong(399)).t2(toLong(400));
total = tmp_15.q2(tmp_17.q2(tmp$ret$15));
} else {
var tmp_18 = total;
// Inline function 'kotlin.Long.div' call
var tmp_19 = y.t2(toLong(-4));
// Inline function 'kotlin.Long.div' call
var tmp$ret$17 = y.t2(toLong(-100));
var tmp_20 = tmp_19.r2(tmp$ret$17);
// Inline function 'kotlin.Long.div' call
var tmp$ret$18 = y.t2(toLong(-400));
total = tmp_18.r2(tmp_20.q2(tmp$ret$18));
}
var tmp0 = total;
// Inline function 'kotlin.Long.plus' call
var other = (imul(367, this_0.rh_1) - 362 | 0) / 12 | 0;
total = tmp0.q2(toLong(other));
var tmp0_0 = total;
// Inline function 'kotlin.Long.plus' call
var other_0 = this_0.sh_1 - 1 | 0;
total = tmp0_0.q2(toLong(other_0));
if (this_0.rh_1 > 2) {
total = total.v2();
if (!isLeapYear(this_0.qh_1)) {
total = total.v2();
}
}
// Inline function 'kotlin.Long.minus' call
var epochDays = total.r2(toLong(719528));
var daySeconds = (imul(this_0.th_1, 3600) + imul(this_0.uh_1, 60) | 0) + this_0.vh_1 | 0;
// Inline function 'kotlin.Long.times' call
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.minus' call
var epochSeconds = epochDays.s2(toLong(86400)).q2(toLong(daySeconds)).r2(toLong(offsetSeconds));
var p1 = this_0.wh_1;
return new Success(epochSeconds, p1);
}
function Companion_13() {
}
protoOf(Companion_13).ph = function (instant) {
var localSecond = instant.mh_1;
// Inline function 'kotlin.floorDiv' call
var other = new Long(86400, 0);
var q = localSecond.t2(other);
if (localSecond.d3(other).p2(new Long(0, 0)) < 0 && !q.s2(other).equals(localSecond)) {
q = q.v2();
}
var epochDays = q;
// Inline function 'kotlin.mod' call
var other_0 = new Long(86400, 0);
var r = localSecond.u2(other_0);
var secsOfDay = r.q2(other_0.b3(r.d3(other_0).b3(r.c3(r.w2())).z2(63))).e3();
var year;
var month;
var day;
// Inline function 'kotlin.run' call
// Inline function 'kotlin.Long.plus' call
var zeroDay = epochDays.q2(toLong(719528));
// Inline function 'kotlin.Long.minus' call
zeroDay = zeroDay.r2(toLong(60));
var adjust = new Long(0, 0);
if (zeroDay.p2(new Long(0, 0)) < 0) {
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.div' call
// Inline function 'kotlin.Long.minus' call
var adjustCycles = zeroDay.q2(toLong(1)).t2(toLong(146097)).r2(toLong(1));
// Inline function 'kotlin.Long.times' call
adjust = adjustCycles.s2(toLong(400));
var tmp = zeroDay;
// Inline function 'kotlin.Long.times' call
var tmp$ret$8 = adjustCycles.w2().s2(toLong(146097));
zeroDay = tmp.q2(tmp$ret$8);
}
// Inline function 'kotlin.Long.plus' call
// Inline function 'kotlin.Long.div' call
var yearEst = numberToLong(400).s2(zeroDay).q2(toLong(591)).t2(toLong(146097));
var tmp_0 = zeroDay;
var tmp_1 = numberToLong(365).s2(yearEst);
// Inline function 'kotlin.Long.div' call
var tmp$ret$11 = yearEst.t2(toLong(4));
var tmp_2 = tmp_1.q2(tmp$ret$11);
// Inline function 'kotlin.Long.div' call
var tmp$ret$12 = yearEst.t2(toLong(100));
var tmp_3 = tmp_2.r2(tmp$ret$12);
// Inline function 'kotlin.Long.div' call
var tmp$ret$13 = yearEst.t2(toLong(400));
var doyEst = tmp_0.r2(tmp_3.q2(tmp$ret$13));
if (doyEst.p2(new Long(0, 0)) < 0) {
yearEst = yearEst.v2();
var tmp_4 = zeroDay;
var tmp_5 = numberToLong(365).s2(yearEst);
// Inline function 'kotlin.Long.div' call
var tmp$ret$14 = yearEst.t2(toLong(4));
var tmp_6 = tmp_5.q2(tmp$ret$14);
// Inline function 'kotlin.Long.div' call
var tmp$ret$15 = yearEst.t2(toLong(100));
var tmp_7 = tmp_6.r2(tmp$ret$15);
// Inline function 'kotlin.Long.div' call
var tmp$ret$16 = yearEst.t2(toLong(400));
doyEst = tmp_4.r2(tmp_7.q2(tmp$ret$16));
}
yearEst = yearEst.q2(adjust);
var marchDoy0 = doyEst.e3();
var marchMonth0 = (imul(marchDoy0, 5) + 2 | 0) / 153 | 0;
month = ((marchMonth0 + 2 | 0) % 12 | 0) + 1 | 0;
day = (marchDoy0 - ((imul(marchMonth0, 306) + 5 | 0) / 10 | 0) | 0) + 1 | 0;
var tmp0 = yearEst;
// Inline function 'kotlin.Long.plus' call
var other_1 = marchMonth0 / 10 | 0;
year = tmp0.q2(toLong(other_1)).e3();
var hours = secsOfDay / 3600 | 0;
var secondWithoutHours = secsOfDay - imul(hours, 3600) | 0;
var minutes = secondWithoutHours / 60 | 0;
var second = secondWithoutHours - imul(minutes, 60) | 0;
return new UnboundLocalDateTime(year, month, day, hours, minutes, second, instant.nh_1);
};
var Companion_instance_13;
function Companion_getInstance_13() {
return Companion_instance_13;
}
function UnboundLocalDateTime(year, month, day, hour, minute, second, nanosecond) {
this.qh_1 = year;
this.rh_1 = month;
this.sh_1 = day;
this.th_1 = hour;
this.uh_1 = minute;
this.vh_1 = second;
this.wh_1 = nanosecond;
}
protoOf(UnboundLocalDateTime).toString = function () {
return 'UnboundLocalDateTime(' + this.qh_1 + '-' + this.rh_1 + '-' + this.sh_1 + ' ' + this.th_1 + ':' + this.uh_1 + ':' + this.vh_1 + '.' + this.wh_1 + ')';
};
function InstantFormatException(message) {
IllegalArgumentException_init_$Init$_0(message, this);
captureStack(this, InstantFormatException);
}
function truncateForErrorMessage(_this__u8e3s4, maxLength) {
_init_properties_Instant_kt__2myitt();
var tmp;
if (charSequenceLength(_this__u8e3s4) <= maxLength) {
tmp = toString_1(_this__u8e3s4);
} else {
// Inline function 'kotlin.text.substring' call
tmp = toString_1(charSequenceSubSequence(_this__u8e3s4, 0, maxLength)) + '...';
}
return tmp;
}
function monthLength(_this__u8e3s4, isLeapYear) {
_init_properties_Instant_kt__2myitt();
switch (_this__u8e3s4) {
case 2:
return isLeapYear ? 29 : 28;
case 4:
case 6:
case 9:
case 11:
return 30;
default:
return 31;
}
}
function isLeapYear(year) {
_init_properties_Instant_kt__2myitt();
return (year & 3) === 0 && (!((year % 100 | 0) === 0) || (year % 400 | 0) === 0);
}
function formatIso$_anonymous_$appendTwoDigits_ydzygl(_this__u8e3s4, $this_buildString, number) {
if (number < 10) {
_this__u8e3s4.a8(_Char___init__impl__6a9atx(48));
}
$this_buildString.qb(number);
}
function parseIso$parseFailure($isoString, error) {
return new Failure(error + ' when parsing an Instant from "' + truncateForErrorMessage($isoString, 64) + '"', $isoString);
}
function parseIso$expect($isoString, what, where, predicate) {
var c = charSequenceGet($isoString, where);
var tmp;
if (predicate(new Char(c))) {
tmp = null;
} else {
tmp = parseIso$parseFailure($isoString, 'Expected ' + what + ", but got '" + toString(c) + "' at position " + where);
}
return tmp;
}
function parseIso$twoDigitNumber(s, index) {
return imul(Char__minus_impl_a2frrh(charSequenceGet(s, index), _Char___init__impl__6a9atx(48)), 10) + Char__minus_impl_a2frrh(charSequenceGet(s, index + 1 | 0), _Char___init__impl__6a9atx(48)) | 0;
}
function parseIso$lambda(it) {
_init_properties_Instant_kt__2myitt();
return equals(it, new Char(_Char___init__impl__6a9atx(45)));
}
function parseIso$lambda_0(it) {
_init_properties_Instant_kt__2myitt();
return equals(it, new Char(_Char___init__impl__6a9atx(45)));
}
function parseIso$lambda_1(it) {
_init_properties_Instant_kt__2myitt();
return equals(it, new Char(_Char___init__impl__6a9atx(84))) || equals(it, new Char(_Char___init__impl__6a9atx(116)));
}
function parseIso$lambda_2(it) {
_init_properties_Instant_kt__2myitt();
return equals(it, new Char(_Char___init__impl__6a9atx(58)));
}
function parseIso$lambda_3(it) {
_init_properties_Instant_kt__2myitt();
return equals(it, new Char(_Char___init__impl__6a9atx(58)));
}
function parseIso$lambda_4(it) {
_init_properties_Instant_kt__2myitt();
var containsArg = it.f1_1;
return _Char___init__impl__6a9atx(48) <= containsArg ? containsArg <= _Char___init__impl__6a9atx(57) : false;
}
var properties_initialized_Instant_kt_xip69;
function _init_properties_Instant_kt__2myitt() {
if (!properties_initialized_Instant_kt_xip69) {
properties_initialized_Instant_kt_xip69 = true;
// Inline function 'kotlin.intArrayOf' call
POWERS_OF_TEN = new Int32Array([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000]);
// Inline function 'kotlin.intArrayOf' call
asciiDigitPositionsInIsoStringAfterYear = new Int32Array([1, 2, 4, 5, 7, 8, 10, 11, 13, 14]);
// Inline function 'kotlin.intArrayOf' call
colonsInIsoOffsetString = new Int32Array([3, 6]);
// Inline function 'kotlin.intArrayOf' call
asciiDigitsInIsoOffsetString = new Int32Array([1, 2, 4, 5, 7, 8]);
}
}
var LazyThreadSafetyMode_SYNCHRONIZED_instance;
var LazyThreadSafetyMode_PUBLICATION_instance;
var LazyThreadSafetyMode_NONE_instance;
var LazyThreadSafetyMode_entriesInitialized;
function LazyThreadSafetyMode_initEntries() {
if (LazyThreadSafetyMode_entriesInitialized)
return Unit_instance;
LazyThreadSafetyMode_entriesInitialized = true;
LazyThreadSafetyMode_SYNCHRONIZED_instance = new LazyThreadSafetyMode('SYNCHRONIZED', 0);
LazyThreadSafetyMode_PUBLICATION_instance = new LazyThreadSafetyMode('PUBLICATION', 1);
LazyThreadSafetyMode_NONE_instance = new LazyThreadSafetyMode('NONE', 2);
}
function LazyThreadSafetyMode(name, ordinal) {
Enum.call(this, name, ordinal);
}
function UnsafeLazyImpl(initializer) {
this.bi_1 = initializer;
this.ci_1 = UNINITIALIZED_VALUE_instance;
}
protoOf(UnsafeLazyImpl).z = function () {
if (this.ci_1 === UNINITIALIZED_VALUE_instance) {
this.ci_1 = ensureNotNull(this.bi_1)();
this.bi_1 = null;
}
var tmp = this.ci_1;
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
};
protoOf(UnsafeLazyImpl).di = function () {
return !(this.ci_1 === UNINITIALIZED_VALUE_instance);
};
protoOf(UnsafeLazyImpl).toString = function () {
return this.di() ? toString_0(this.z()) : 'Lazy value not initialized yet.';
};
function UNINITIALIZED_VALUE() {
}
var UNINITIALIZED_VALUE_instance;
function UNINITIALIZED_VALUE_getInstance() {
return UNINITIALIZED_VALUE_instance;
}
function LazyThreadSafetyMode_PUBLICATION_getInstance() {
LazyThreadSafetyMode_initEntries();
return LazyThreadSafetyMode_PUBLICATION_instance;
}
function _Result___init__impl__xyqfz8(value) {
return value;
}
function _Result___get_value__impl__bjfvqg($this) {
return $this;
}
function _Result___get_isSuccess__impl__sndoy8($this) {
var tmp = _Result___get_value__impl__bjfvqg($this);
return !(tmp instanceof Failure_0);
}
function _Result___get_isFailure__impl__jpiriv($this) {
var tmp = _Result___get_value__impl__bjfvqg($this);
return tmp instanceof Failure_0;
}
function Result__exceptionOrNull_impl_p6xea9($this) {
var tmp;
if (_Result___get_value__impl__bjfvqg($this) instanceof Failure_0) {
tmp = _Result___get_value__impl__bjfvqg($this).ei_1;
} else {
tmp = null;
}
return tmp;
}
function Result__toString_impl_yu5r8k($this) {
var tmp;
if (_Result___get_value__impl__bjfvqg($this) instanceof Failure_0) {
tmp = _Result___get_value__impl__bjfvqg($this).toString();
} else {
tmp = 'Success(' + toString_0(_Result___get_value__impl__bjfvqg($this)) + ')';
}
return tmp;
}
function Companion_14() {
}
var Companion_instance_14;
function Companion_getInstance_14() {
return Companion_instance_14;
}
function Failure_0(exception) {
this.ei_1 = exception;
}
protoOf(Failure_0).equals = function (other) {
var tmp;
if (other instanceof Failure_0) {
tmp = equals(this.ei_1, other.ei_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(Failure_0).hashCode = function () {
return hashCode(this.ei_1);
};
protoOf(Failure_0).toString = function () {
return 'Failure(' + this.ei_1.toString() + ')';
};
function Result__hashCode_impl_d2zufp($this) {
return $this == null ? 0 : hashCode($this);
}
function Result__equals_impl_bxgmep($this, other) {
if (!(other instanceof Result))
return false;
var tmp0_other_with_cast = other instanceof Result ? other.fi_1 : THROW_CCE();
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function Result(value) {
this.fi_1 = value;
}
protoOf(Result).toString = function () {
return Result__toString_impl_yu5r8k(this.fi_1);
};
protoOf(Result).hashCode = function () {
return Result__hashCode_impl_d2zufp(this.fi_1);
};
protoOf(Result).equals = function (other) {
return Result__equals_impl_bxgmep(this.fi_1, other);
};
function createFailure(exception) {
return new Failure_0(exception);
}
function throwOnFailure(_this__u8e3s4) {
var tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
if (tmp instanceof Failure_0)
throw _Result___get_value__impl__bjfvqg(_this__u8e3s4).ei_1;
}
function NotImplementedError(message) {
message = message === VOID ? 'An operation is not implemented.' : message;
Error_init_$Init$_0(message, this);
captureStack(this, NotImplementedError);
}
function Pair(first, second) {
this.w9_1 = first;
this.x9_1 = second;
}
protoOf(Pair).toString = function () {
return '(' + toString_0(this.w9_1) + ', ' + toString_0(this.x9_1) + ')';
};
protoOf(Pair).y9 = function () {
return this.w9_1;
};
protoOf(Pair).z9 = function () {
return this.x9_1;
};
protoOf(Pair).hashCode = function () {
var result = this.w9_1 == null ? 0 : hashCode(this.w9_1);
result = imul(result, 31) + (this.x9_1 == null ? 0 : hashCode(this.x9_1)) | 0;
return result;
};
protoOf(Pair).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Pair))
return false;
var tmp0_other_with_cast = other instanceof Pair ? other : THROW_CCE();
if (!equals(this.w9_1, tmp0_other_with_cast.w9_1))
return false;
if (!equals(this.x9_1, tmp0_other_with_cast.x9_1))
return false;
return true;
};
function to(_this__u8e3s4, that) {
return new Pair(_this__u8e3s4, that);
}
function Triple(first, second, third) {
this.gi_1 = first;
this.hi_1 = second;
this.ii_1 = third;
}
protoOf(Triple).toString = function () {
return '(' + toString_0(this.gi_1) + ', ' + toString_0(this.hi_1) + ', ' + toString_0(this.ii_1) + ')';
};
protoOf(Triple).y9 = function () {
return this.gi_1;
};
protoOf(Triple).ji = function () {
return this.ii_1;
};
protoOf(Triple).hashCode = function () {
var result = this.gi_1 == null ? 0 : hashCode(this.gi_1);
result = imul(result, 31) + (this.hi_1 == null ? 0 : hashCode(this.hi_1)) | 0;
result = imul(result, 31) + (this.ii_1 == null ? 0 : hashCode(this.ii_1)) | 0;
return result;
};
protoOf(Triple).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Triple))
return false;
var tmp0_other_with_cast = other instanceof Triple ? other : THROW_CCE();
if (!equals(this.gi_1, tmp0_other_with_cast.gi_1))
return false;
if (!equals(this.hi_1, tmp0_other_with_cast.hi_1))
return false;
if (!equals(this.ii_1, tmp0_other_with_cast.ii_1))
return false;
return true;
};
function toList_3(_this__u8e3s4) {
return listOf_0([_this__u8e3s4.w9_1, _this__u8e3s4.x9_1]);
}
function Companion_15() {
Companion_instance_15 = this;
this.ki_1 = new Uuid(new Long(0, 0), new Long(0, 0));
this.li_1 = 16;
this.mi_1 = 128;
}
var Companion_instance_15;
function Companion_getInstance_15() {
if (Companion_instance_15 == null)
new Companion_15();
return Companion_instance_15;
}
function Uuid(mostSignificantBits, leastSignificantBits) {
Companion_getInstance_15();
this.ni_1 = mostSignificantBits;
this.oi_1 = leastSignificantBits;
}
protoOf(Uuid).toString = function () {
return this.pi();
};
protoOf(Uuid).pi = function () {
var bytes = new Int8Array(36);
formatBytesInto(this.ni_1, bytes, 0, 0, 4);
// Inline function 'kotlin.code' call
var this_0 = _Char___init__impl__6a9atx(45);
var tmp$ret$0 = Char__toInt_impl_vasixd(this_0);
bytes[8] = toByte(tmp$ret$0);
formatBytesInto(this.ni_1, bytes, 9, 4, 6);
// Inline function 'kotlin.code' call
var this_1 = _Char___init__impl__6a9atx(45);
var tmp$ret$1 = Char__toInt_impl_vasixd(this_1);
bytes[13] = toByte(tmp$ret$1);
formatBytesInto(this.ni_1, bytes, 14, 6, 8);
// Inline function 'kotlin.code' call
var this_2 = _Char___init__impl__6a9atx(45);
var tmp$ret$2 = Char__toInt_impl_vasixd(this_2);
bytes[18] = toByte(tmp$ret$2);
formatBytesInto(this.oi_1, bytes, 19, 0, 2);
// Inline function 'kotlin.code' call
var this_3 = _Char___init__impl__6a9atx(45);
var tmp$ret$3 = Char__toInt_impl_vasixd(this_3);
bytes[23] = toByte(tmp$ret$3);
formatBytesInto(this.oi_1, bytes, 24, 2, 8);
return decodeToString(bytes);
};
protoOf(Uuid).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Uuid))
return false;
return this.ni_1.equals(other.ni_1) && this.oi_1.equals(other.oi_1);
};
protoOf(Uuid).qi = function (other) {
var tmp;
if (!this.ni_1.equals(other.ni_1)) {
// Inline function 'kotlin.toULong' call
var this_0 = this.ni_1;
var tmp0 = _ULong___init__impl__c78o9k(this_0);
// Inline function 'kotlin.toULong' call
var this_1 = other.ni_1;
// Inline function 'kotlin.ULong.compareTo' call
var other_0 = _ULong___init__impl__c78o9k(this_1);
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other_0));
} else {
// Inline function 'kotlin.toULong' call
var this_2 = this.oi_1;
var tmp0_0 = _ULong___init__impl__c78o9k(this_2);
// Inline function 'kotlin.toULong' call
var this_3 = other.oi_1;
// Inline function 'kotlin.ULong.compareTo' call
var other_1 = _ULong___init__impl__c78o9k(this_3);
tmp = ulongCompare(_ULong___get_data__impl__fggpzb(tmp0_0), _ULong___get_data__impl__fggpzb(other_1));
}
return tmp;
};
protoOf(Uuid).d = function (other) {
return this.qi(other instanceof Uuid ? other : THROW_CCE());
};
protoOf(Uuid).hashCode = function () {
return this.ni_1.d3(this.oi_1).hashCode();
};
function _UByte___init__impl__g9hnc4(data) {
return data;
}
function _UByte___get_data__impl__jof9qr($this) {
return $this;
}
function Companion_16() {
Companion_instance_16 = this;
this.ri_1 = _UByte___init__impl__g9hnc4(0);
this.si_1 = _UByte___init__impl__g9hnc4(-1);
this.ti_1 = 1;
this.ui_1 = 8;
}
var Companion_instance_16;
function Companion_getInstance_16() {
if (Companion_instance_16 == null)
new Companion_16();
return Companion_instance_16;
}
function UByte__compareTo_impl_5w5192($this, other) {
// Inline function 'kotlin.UByte.toInt' call
var tmp = _UByte___get_data__impl__jof9qr($this) & 255;
// Inline function 'kotlin.UByte.toInt' call
var tmp$ret$1 = _UByte___get_data__impl__jof9qr(other) & 255;
return compareTo(tmp, tmp$ret$1);
}
function UByte__compareTo_impl_5w5192_0($this, other) {
return UByte__compareTo_impl_5w5192($this.vi_1, other instanceof UByte ? other.vi_1 : THROW_CCE());
}
function UByte__toString_impl_v72jg($this) {
// Inline function 'kotlin.UByte.toInt' call
return (_UByte___get_data__impl__jof9qr($this) & 255).toString();
}
function UByte__hashCode_impl_mmczcb($this) {
return $this;
}
function UByte__equals_impl_nvqtsf($this, other) {
if (!(other instanceof UByte))
return false;
if (!($this === (other instanceof UByte ? other.vi_1 : THROW_CCE())))
return false;
return true;
}
function UByte(data) {
Companion_getInstance_16();
this.vi_1 = data;
}
protoOf(UByte).wi = function (other) {
return UByte__compareTo_impl_5w5192(this.vi_1, other);
};
protoOf(UByte).d = function (other) {
return UByte__compareTo_impl_5w5192_0(this, other);
};
protoOf(UByte).toString = function () {
return UByte__toString_impl_v72jg(this.vi_1);
};
protoOf(UByte).hashCode = function () {
return UByte__hashCode_impl_mmczcb(this.vi_1);
};
protoOf(UByte).equals = function (other) {
return UByte__equals_impl_nvqtsf(this.vi_1, other);
};
function _UByteArray___get_storage__impl__d4kctt($this) {
return $this;
}
function UByteArray__get_impl_t5f3hv($this, index) {
// Inline function 'kotlin.toUByte' call
var this_0 = _UByteArray___get_storage__impl__d4kctt($this)[index];
return _UByte___init__impl__g9hnc4(this_0);
}
function _UByteArray___get_size__impl__h6pkdv($this) {
return _UByteArray___get_storage__impl__d4kctt($this).length;
}
function UByteArray__iterator_impl_509y1p($this) {
return new Iterator(_UByteArray___get_storage__impl__d4kctt($this));
}
function Iterator(array) {
this.xi_1 = array;
this.yi_1 = 0;
}
protoOf(Iterator).n = function () {
return this.yi_1 < this.xi_1.length;
};
protoOf(Iterator).zi = function () {
var tmp;
if (this.yi_1 < this.xi_1.length) {
var _unary__edvuaz = this.yi_1;
this.yi_1 = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.toUByte' call
var this_0 = this.xi_1[_unary__edvuaz];
tmp = _UByte___init__impl__g9hnc4(this_0);
} else {
throw NoSuchElementException_init_$Create$_0(this.yi_1.toString());
}
return tmp;
};
protoOf(Iterator).o = function () {
return new UByte(this.zi());
};
function UByteArray__contains_impl_njh19q($this, element) {
var tmp = _UByteArray___get_storage__impl__d4kctt($this);
// Inline function 'kotlin.UByte.toByte' call
var tmp$ret$0 = _UByte___get_data__impl__jof9qr(element);
return contains_3(tmp, tmp$ret$0);
}
function UByteArray__contains_impl_njh19q_0($this, element) {
if (!(element instanceof UByte))
return false;
return UByteArray__contains_impl_njh19q($this.aj_1, element instanceof UByte ? element.vi_1 : THROW_CCE());
}
function UByteArray__isEmpty_impl_nbfqsa($this) {
return _UByteArray___get_storage__impl__d4kctt($this).length === 0;
}
function UByteArray__toString_impl_ukpl97($this) {
return 'UByteArray(storage=' + toString_1($this) + ')';
}
function UByteArray__hashCode_impl_ip8jx2($this) {
return hashCode($this);
}
function UByteArray__equals_impl_roka4u($this, other) {
if (!(other instanceof UByteArray))
return false;
var tmp0_other_with_cast = other instanceof UByteArray ? other.aj_1 : THROW_CCE();
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function UByteArray(storage) {
this.aj_1 = storage;
}
protoOf(UByteArray).p = function () {
return _UByteArray___get_size__impl__h6pkdv(this.aj_1);
};
protoOf(UByteArray).m = function () {
return UByteArray__iterator_impl_509y1p(this.aj_1);
};
protoOf(UByteArray).bj = function (element) {
return UByteArray__contains_impl_njh19q(this.aj_1, element);
};
protoOf(UByteArray).d1 = function (element) {
return UByteArray__contains_impl_njh19q_0(this, element);
};
protoOf(UByteArray).j = function () {
return UByteArray__isEmpty_impl_nbfqsa(this.aj_1);
};
protoOf(UByteArray).toString = function () {
return UByteArray__toString_impl_ukpl97(this.aj_1);
};
protoOf(UByteArray).hashCode = function () {
return UByteArray__hashCode_impl_ip8jx2(this.aj_1);
};
protoOf(UByteArray).equals = function (other) {
return UByteArray__equals_impl_roka4u(this.aj_1, other);
};
function _UInt___init__impl__l7qpdl(data) {
return data;
}
function _UInt___get_data__impl__f0vqqw($this) {
return $this;
}
function Companion_17() {
Companion_instance_17 = this;
this.cj_1 = _UInt___init__impl__l7qpdl(0);
this.dj_1 = _UInt___init__impl__l7qpdl(-1);
this.ej_1 = 4;
this.fj_1 = 32;
}
var Companion_instance_17;
function Companion_getInstance_17() {
if (Companion_instance_17 == null)
new Companion_17();
return Companion_instance_17;
}
function UInt__compareTo_impl_yacclj($this, other) {
return uintCompare(_UInt___get_data__impl__f0vqqw($this), _UInt___get_data__impl__f0vqqw(other));
}
function UInt__compareTo_impl_yacclj_0($this, other) {
return UInt__compareTo_impl_yacclj($this.gj_1, other instanceof UInt ? other.gj_1 : THROW_CCE());
}
function UInt__toString_impl_dbgl21($this) {
// Inline function 'kotlin.uintToString' call
// Inline function 'kotlin.uintToLong' call
var value = _UInt___get_data__impl__f0vqqw($this);
return toLong(value).b3(new Long(-1, 0)).toString();
}
function UInt__hashCode_impl_z2mhuw($this) {
return $this;
}
function UInt__equals_impl_ffdoxg($this, other) {
if (!(other instanceof UInt))
return false;
if (!($this === (other instanceof UInt ? other.gj_1 : THROW_CCE())))
return false;
return true;
}
function UInt(data) {
Companion_getInstance_17();
this.gj_1 = data;
}
protoOf(UInt).hj = function (other) {
return UInt__compareTo_impl_yacclj(this.gj_1, other);
};
protoOf(UInt).d = function (other) {
return UInt__compareTo_impl_yacclj_0(this, other);
};
protoOf(UInt).toString = function () {
return UInt__toString_impl_dbgl21(this.gj_1);
};
protoOf(UInt).hashCode = function () {
return UInt__hashCode_impl_z2mhuw(this.gj_1);
};
protoOf(UInt).equals = function (other) {
return UInt__equals_impl_ffdoxg(this.gj_1, other);
};
function _UIntArray___get_storage__impl__92a0v0($this) {
return $this;
}
function UIntArray__get_impl_gp5kza($this, index) {
// Inline function 'kotlin.toUInt' call
var this_0 = _UIntArray___get_storage__impl__92a0v0($this)[index];
return _UInt___init__impl__l7qpdl(this_0);
}
function _UIntArray___get_size__impl__r6l8ci($this) {
return _UIntArray___get_storage__impl__92a0v0($this).length;
}
function UIntArray__iterator_impl_tkdv7k($this) {
return new Iterator_0(_UIntArray___get_storage__impl__92a0v0($this));
}
function Iterator_0(array) {
this.ij_1 = array;
this.jj_1 = 0;
}
protoOf(Iterator_0).n = function () {
return this.jj_1 < this.ij_1.length;
};
protoOf(Iterator_0).kj = function () {
var tmp;
if (this.jj_1 < this.ij_1.length) {
var _unary__edvuaz = this.jj_1;
this.jj_1 = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.toUInt' call
var this_0 = this.ij_1[_unary__edvuaz];
tmp = _UInt___init__impl__l7qpdl(this_0);
} else {
throw NoSuchElementException_init_$Create$_0(this.jj_1.toString());
}
return tmp;
};
protoOf(Iterator_0).o = function () {
return new UInt(this.kj());
};
function UIntArray__contains_impl_b16rzj($this, element) {
var tmp = _UIntArray___get_storage__impl__92a0v0($this);
// Inline function 'kotlin.UInt.toInt' call
var tmp$ret$0 = _UInt___get_data__impl__f0vqqw(element);
return contains_1(tmp, tmp$ret$0);
}
function UIntArray__contains_impl_b16rzj_0($this, element) {
if (!(element instanceof UInt))
return false;
return UIntArray__contains_impl_b16rzj($this.lj_1, element instanceof UInt ? element.gj_1 : THROW_CCE());
}
function UIntArray__isEmpty_impl_vd8j4n($this) {
return _UIntArray___get_storage__impl__92a0v0($this).length === 0;
}
function UIntArray__toString_impl_3zy802($this) {
return 'UIntArray(storage=' + toString_1($this) + ')';
}
function UIntArray__hashCode_impl_hr7ost($this) {
return hashCode($this);
}
function UIntArray__equals_impl_flcmof($this, other) {
if (!(other instanceof UIntArray))
return false;
var tmp0_other_with_cast = other instanceof UIntArray ? other.lj_1 : THROW_CCE();
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function UIntArray(storage) {
this.lj_1 = storage;
}
protoOf(UIntArray).p = function () {
return _UIntArray___get_size__impl__r6l8ci(this.lj_1);
};
protoOf(UIntArray).m = function () {
return UIntArray__iterator_impl_tkdv7k(this.lj_1);
};
protoOf(UIntArray).mj = function (element) {
return UIntArray__contains_impl_b16rzj(this.lj_1, element);
};
protoOf(UIntArray).d1 = function (element) {
return UIntArray__contains_impl_b16rzj_0(this, element);
};
protoOf(UIntArray).j = function () {
return UIntArray__isEmpty_impl_vd8j4n(this.lj_1);
};
protoOf(UIntArray).toString = function () {
return UIntArray__toString_impl_3zy802(this.lj_1);
};
protoOf(UIntArray).hashCode = function () {
return UIntArray__hashCode_impl_hr7ost(this.lj_1);
};
protoOf(UIntArray).equals = function (other) {
return UIntArray__equals_impl_flcmof(this.lj_1, other);
};
function _ULong___init__impl__c78o9k(data) {
return data;
}
function _ULong___get_data__impl__fggpzb($this) {
return $this;
}
function Companion_18() {
Companion_instance_18 = this;
this.nj_1 = _ULong___init__impl__c78o9k(new Long(0, 0));
this.oj_1 = _ULong___init__impl__c78o9k(new Long(-1, -1));
this.pj_1 = 8;
this.qj_1 = 64;
}
var Companion_instance_18;
function Companion_getInstance_18() {
if (Companion_instance_18 == null)
new Companion_18();
return Companion_instance_18;
}
function ULong__compareTo_impl_38i7tu($this, other) {
return ulongCompare(_ULong___get_data__impl__fggpzb($this), _ULong___get_data__impl__fggpzb(other));
}
function ULong__compareTo_impl_38i7tu_0($this, other) {
return ULong__compareTo_impl_38i7tu($this.rj_1, other instanceof ULong ? other.rj_1 : THROW_CCE());
}
function ULong__toString_impl_f9au7k($this) {
// Inline function 'kotlin.ulongToString' call
var value = _ULong___get_data__impl__fggpzb($this);
return ulongToString(value, 10);
}
function ULong__hashCode_impl_6hv2lb($this) {
return $this.hashCode();
}
function ULong__equals_impl_o0gnyb($this, other) {
if (!(other instanceof ULong))
return false;
var tmp0_other_with_cast = other instanceof ULong ? other.rj_1 : THROW_CCE();
if (!$this.equals(tmp0_other_with_cast))
return false;
return true;
}
function ULong(data) {
Companion_getInstance_18();
this.rj_1 = data;
}
protoOf(ULong).sj = function (other) {
return ULong__compareTo_impl_38i7tu(this.rj_1, other);
};
protoOf(ULong).d = function (other) {
return ULong__compareTo_impl_38i7tu_0(this, other);
};
protoOf(ULong).toString = function () {
return ULong__toString_impl_f9au7k(this.rj_1);
};
protoOf(ULong).hashCode = function () {
return ULong__hashCode_impl_6hv2lb(this.rj_1);
};
protoOf(ULong).equals = function (other) {
return ULong__equals_impl_o0gnyb(this.rj_1, other);
};
function _ULongArray___get_storage__impl__28e64j($this) {
return $this;
}
function ULongArray__get_impl_pr71q9($this, index) {
// Inline function 'kotlin.toULong' call
var this_0 = _ULongArray___get_storage__impl__28e64j($this)[index];
return _ULong___init__impl__c78o9k(this_0);
}
function _ULongArray___get_size__impl__ju6dtr($this) {
return _ULongArray___get_storage__impl__28e64j($this).length;
}
function ULongArray__iterator_impl_cq4d2h($this) {
return new Iterator_1(_ULongArray___get_storage__impl__28e64j($this));
}
function Iterator_1(array) {
this.tj_1 = array;
this.uj_1 = 0;
}
protoOf(Iterator_1).n = function () {
return this.uj_1 < this.tj_1.length;
};
protoOf(Iterator_1).vj = function () {
var tmp;
if (this.uj_1 < this.tj_1.length) {
var _unary__edvuaz = this.uj_1;
this.uj_1 = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.toULong' call
var this_0 = this.tj_1[_unary__edvuaz];
tmp = _ULong___init__impl__c78o9k(this_0);
} else {
throw NoSuchElementException_init_$Create$_0(this.uj_1.toString());
}
return tmp;
};
protoOf(Iterator_1).o = function () {
return new ULong(this.vj());
};
function ULongArray__contains_impl_v9bgai($this, element) {
var tmp = _ULongArray___get_storage__impl__28e64j($this);
// Inline function 'kotlin.ULong.toLong' call
var tmp$ret$0 = _ULong___get_data__impl__fggpzb(element);
return contains_0(tmp, tmp$ret$0);
}
function ULongArray__contains_impl_v9bgai_0($this, element) {
if (!(element instanceof ULong))
return false;
return ULongArray__contains_impl_v9bgai($this.wj_1, element instanceof ULong ? element.rj_1 : THROW_CCE());
}
function ULongArray__isEmpty_impl_c3yngu($this) {
return _ULongArray___get_storage__impl__28e64j($this).length === 0;
}
function ULongArray__toString_impl_wqk1p5($this) {
return 'ULongArray(storage=' + toString_1($this) + ')';
}
function ULongArray__hashCode_impl_aze4wa($this) {
return hashCode($this);
}
function ULongArray__equals_impl_vwitwa($this, other) {
if (!(other instanceof ULongArray))
return false;
var tmp0_other_with_cast = other instanceof ULongArray ? other.wj_1 : THROW_CCE();
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function ULongArray(storage) {
this.wj_1 = storage;
}
protoOf(ULongArray).p = function () {
return _ULongArray___get_size__impl__ju6dtr(this.wj_1);
};
protoOf(ULongArray).m = function () {
return ULongArray__iterator_impl_cq4d2h(this.wj_1);
};
protoOf(ULongArray).xj = function (element) {
return ULongArray__contains_impl_v9bgai(this.wj_1, element);
};
protoOf(ULongArray).d1 = function (element) {
return ULongArray__contains_impl_v9bgai_0(this, element);
};
protoOf(ULongArray).j = function () {
return ULongArray__isEmpty_impl_c3yngu(this.wj_1);
};
protoOf(ULongArray).toString = function () {
return ULongArray__toString_impl_wqk1p5(this.wj_1);
};
protoOf(ULongArray).hashCode = function () {
return ULongArray__hashCode_impl_aze4wa(this.wj_1);
};
protoOf(ULongArray).equals = function (other) {
return ULongArray__equals_impl_vwitwa(this.wj_1, other);
};
function _UShort___init__impl__jigrne(data) {
return data;
}
function _UShort___get_data__impl__g0245($this) {
return $this;
}
function Companion_19() {
Companion_instance_19 = this;
this.yj_1 = _UShort___init__impl__jigrne(0);
this.zj_1 = _UShort___init__impl__jigrne(-1);
this.ak_1 = 2;
this.bk_1 = 16;
}
var Companion_instance_19;
function Companion_getInstance_19() {
if (Companion_instance_19 == null)
new Companion_19();
return Companion_instance_19;
}
function UShort__compareTo_impl_1pfgyc($this, other) {
// Inline function 'kotlin.UShort.toInt' call
var tmp = _UShort___get_data__impl__g0245($this) & 65535;
// Inline function 'kotlin.UShort.toInt' call
var tmp$ret$1 = _UShort___get_data__impl__g0245(other) & 65535;
return compareTo(tmp, tmp$ret$1);
}
function UShort__compareTo_impl_1pfgyc_0($this, other) {
return UShort__compareTo_impl_1pfgyc($this.ck_1, other instanceof UShort ? other.ck_1 : THROW_CCE());
}
function UShort__toString_impl_edaoee($this) {
// Inline function 'kotlin.UShort.toInt' call
return (_UShort___get_data__impl__g0245($this) & 65535).toString();
}
function UShort__hashCode_impl_ywngrv($this) {
return $this;
}
function UShort__equals_impl_7t9pdz($this, other) {
if (!(other instanceof UShort))
return false;
if (!($this === (other instanceof UShort ? other.ck_1 : THROW_CCE())))
return false;
return true;
}
function UShort(data) {
Companion_getInstance_19();
this.ck_1 = data;
}
protoOf(UShort).dk = function (other) {
return UShort__compareTo_impl_1pfgyc(this.ck_1, other);
};
protoOf(UShort).d = function (other) {
return UShort__compareTo_impl_1pfgyc_0(this, other);
};
protoOf(UShort).toString = function () {
return UShort__toString_impl_edaoee(this.ck_1);
};
protoOf(UShort).hashCode = function () {
return UShort__hashCode_impl_ywngrv(this.ck_1);
};
protoOf(UShort).equals = function (other) {
return UShort__equals_impl_7t9pdz(this.ck_1, other);
};
function _UShortArray___get_storage__impl__t2jpv5($this) {
return $this;
}
function UShortArray__get_impl_fnbhmx($this, index) {
// Inline function 'kotlin.toUShort' call
var this_0 = _UShortArray___get_storage__impl__t2jpv5($this)[index];
return _UShort___init__impl__jigrne(this_0);
}
function _UShortArray___get_size__impl__jqto1b($this) {
return _UShortArray___get_storage__impl__t2jpv5($this).length;
}
function UShortArray__iterator_impl_ktpenn($this) {
return new Iterator_2(_UShortArray___get_storage__impl__t2jpv5($this));
}
function Iterator_2(array) {
this.ek_1 = array;
this.fk_1 = 0;
}
protoOf(Iterator_2).n = function () {
return this.fk_1 < this.ek_1.length;
};
protoOf(Iterator_2).gk = function () {
var tmp;
if (this.fk_1 < this.ek_1.length) {
var _unary__edvuaz = this.fk_1;
this.fk_1 = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.toUShort' call
var this_0 = this.ek_1[_unary__edvuaz];
tmp = _UShort___init__impl__jigrne(this_0);
} else {
throw NoSuchElementException_init_$Create$_0(this.fk_1.toString());
}
return tmp;
};
protoOf(Iterator_2).o = function () {
return new UShort(this.gk());
};
function UShortArray__contains_impl_vo7k3g($this, element) {
var tmp = _UShortArray___get_storage__impl__t2jpv5($this);
// Inline function 'kotlin.UShort.toShort' call
var tmp$ret$0 = _UShort___get_data__impl__g0245(element);
return contains_2(tmp, tmp$ret$0);
}
function UShortArray__contains_impl_vo7k3g_0($this, element) {
if (!(element instanceof UShort))
return false;
return UShortArray__contains_impl_vo7k3g($this.hk_1, element instanceof UShort ? element.ck_1 : THROW_CCE());
}
function UShortArray__isEmpty_impl_cdd9l0($this) {
return _UShortArray___get_storage__impl__t2jpv5($this).length === 0;
}
function UShortArray__toString_impl_omz03z($this) {
return 'UShortArray(storage=' + toString_1($this) + ')';
}
function UShortArray__hashCode_impl_2vt3b4($this) {
return hashCode($this);
}
function UShortArray__equals_impl_tyc3mk($this, other) {
if (!(other instanceof UShortArray))
return false;
var tmp0_other_with_cast = other instanceof UShortArray ? other.hk_1 : THROW_CCE();
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function UShortArray(storage) {
this.hk_1 = storage;
}
protoOf(UShortArray).p = function () {
return _UShortArray___get_size__impl__jqto1b(this.hk_1);
};
protoOf(UShortArray).m = function () {
return UShortArray__iterator_impl_ktpenn(this.hk_1);
};
protoOf(UShortArray).ik = function (element) {
return UShortArray__contains_impl_vo7k3g(this.hk_1, element);
};
protoOf(UShortArray).d1 = function (element) {
return UShortArray__contains_impl_vo7k3g_0(this, element);
};
protoOf(UShortArray).j = function () {
return UShortArray__isEmpty_impl_cdd9l0(this.hk_1);
};
protoOf(UShortArray).toString = function () {
return UShortArray__toString_impl_omz03z(this.hk_1);
};
protoOf(UShortArray).hashCode = function () {
return UShortArray__hashCode_impl_2vt3b4(this.hk_1);
};
protoOf(UShortArray).equals = function (other) {
return UShortArray__equals_impl_tyc3mk(this.hk_1, other);
};
//region block: post-declaration
protoOf(InternalHashMap).e6 = containsAllEntries;
//endregion
//region block: init
Companion_instance_0 = new Companion_0();
ByteCompanionObject_instance = new ByteCompanionObject();
ShortCompanionObject_instance = new ShortCompanionObject();
IntCompanionObject_instance = new IntCompanionObject();
FloatCompanionObject_instance = new FloatCompanionObject();
DoubleCompanionObject_instance = new DoubleCompanionObject();
StringCompanionObject_instance = new StringCompanionObject();
BooleanCompanionObject_instance = new BooleanCompanionObject();
Unit_instance = new Unit();
_stableSortingIsSupported = null;
Companion_instance_3 = new Companion_3();
CompletedContinuation_instance = new CompletedContinuation();
Companion_instance_5 = new Companion_5();
Companion_instance_6 = new Companion_6();
Companion_instance_7 = new Companion_7();
EmptyIterator_instance = new EmptyIterator();
EmptySequence_instance = new EmptySequence();
NaturalOrderComparator_instance = new NaturalOrderComparator();
Key_instance = new Key();
Companion_instance_9 = new Companion_9();
State_instance = new State();
Companion_instance_13 = new Companion_13();
UNINITIALIZED_VALUE_instance = new UNINITIALIZED_VALUE();
Companion_instance_14 = new Companion_14();
//endregion
//region block: exports
_.$_$ = _.$_$ || {};
_.$_$.a = arrayConcat;
_.$_$.b = createInvariantKTypeProjection;
_.$_$.c = createKType;
_.$_$.d = findAssociatedObject;
_.$_$.e = getKClassFromExpression;
_.$_$.f = getKClass;
_.$_$.g = VOID;
_.$_$.h = RegexOption_IGNORE_CASE_getInstance;
_.$_$.i = RegexOption_MULTILINE_getInstance;
_.$_$.j = LazyThreadSafetyMode_PUBLICATION_getInstance;
_.$_$.k = ArrayList_init_$Create$_0;
_.$_$.l = ArrayList_init_$Create$;
_.$_$.m = HashMap_init_$Create$_0;
_.$_$.n = HashMap_init_$Create$;
_.$_$.o = HashSet_init_$Create$_0;
_.$_$.p = HashSet_init_$Create$;
_.$_$.q = LinkedHashMap_init_$Create$_0;
_.$_$.r = LinkedHashMap_init_$Create$;
_.$_$.s = LinkedHashSet_init_$Create$;
_.$_$.t = Regex_init_$Create$_0;
_.$_$.u = Regex_init_$Create$;
_.$_$.v = StringBuilder_init_$Create$;
_.$_$.w = StringBuilder_init_$Create$_0;
_.$_$.x = Exception_init_$Create$_0;
_.$_$.y = IllegalArgumentException_init_$Init$;
_.$_$.z = IllegalArgumentException_init_$Init$_0;
_.$_$.a1 = IllegalArgumentException_init_$Create$_0;
_.$_$.b1 = IllegalArgumentException_init_$Create$_1;
_.$_$.c1 = IllegalStateException_init_$Init$_0;
_.$_$.d1 = IllegalStateException_init_$Create$_0;
_.$_$.e1 = IndexOutOfBoundsException_init_$Create$_0;
_.$_$.f1 = NoSuchElementException_init_$Create$;
_.$_$.g1 = NoSuchElementException_init_$Create$_0;
_.$_$.h1 = RuntimeException_init_$Create$_0;
_.$_$.i1 = RuntimeException_init_$Init$_1;
_.$_$.j1 = Duration__toIsoString_impl_9h6wsm;
_.$_$.k1 = _Char___init__impl__6a9atx;
_.$_$.l1 = Char__toInt_impl_vasixd;
_.$_$.m1 = toString;
_.$_$.n1 = _Result___init__impl__xyqfz8;
_.$_$.o1 = _Result___get_isFailure__impl__jpiriv;
_.$_$.p1 = _Result___get_isSuccess__impl__sndoy8;
_.$_$.q1 = _Result___get_value__impl__bjfvqg;
_.$_$.r1 = _UByte___init__impl__g9hnc4;
_.$_$.s1 = _UByte___get_data__impl__jof9qr;
_.$_$.t1 = UByte__toString_impl_v72jg;
_.$_$.u1 = UByteArray__get_impl_t5f3hv;
_.$_$.v1 = _UByteArray___get_size__impl__h6pkdv;
_.$_$.w1 = _UInt___init__impl__l7qpdl;
_.$_$.x1 = _UInt___get_data__impl__f0vqqw;
_.$_$.y1 = UInt__toString_impl_dbgl21;
_.$_$.z1 = UIntArray__get_impl_gp5kza;
_.$_$.a2 = _UIntArray___get_size__impl__r6l8ci;
_.$_$.b2 = _ULong___init__impl__c78o9k;
_.$_$.c2 = _ULong___get_data__impl__fggpzb;
_.$_$.d2 = ULong__toString_impl_f9au7k;
_.$_$.e2 = ULongArray__get_impl_pr71q9;
_.$_$.f2 = _ULongArray___get_size__impl__ju6dtr;
_.$_$.g2 = _UShort___init__impl__jigrne;
_.$_$.h2 = _UShort___get_data__impl__g0245;
_.$_$.i2 = UShort__toString_impl_edaoee;
_.$_$.j2 = UShortArray__get_impl_fnbhmx;
_.$_$.k2 = _UShortArray___get_size__impl__jqto1b;
_.$_$.l2 = BooleanCompanionObject_instance;
_.$_$.m2 = ByteCompanionObject_instance;
_.$_$.n2 = DoubleCompanionObject_instance;
_.$_$.o2 = FloatCompanionObject_instance;
_.$_$.p2 = IntCompanionObject_instance;
_.$_$.q2 = ShortCompanionObject_instance;
_.$_$.r2 = StringCompanionObject_instance;
_.$_$.s2 = PrimitiveClasses_getInstance;
_.$_$.t2 = Companion_getInstance_11;
_.$_$.u2 = Companion_getInstance_12;
_.$_$.v2 = Companion_getInstance_15;
_.$_$.w2 = Companion_getInstance;
_.$_$.x2 = Companion_getInstance_1;
_.$_$.y2 = Companion_instance_14;
_.$_$.z2 = Companion_getInstance_16;
_.$_$.a3 = Companion_getInstance_17;
_.$_$.b3 = Companion_getInstance_18;
_.$_$.c3 = Companion_getInstance_19;
_.$_$.d3 = Unit_instance;
_.$_$.e3 = ArrayList;
_.$_$.f3 = Collection;
_.$_$.g3 = HashMap;
_.$_$.h3 = HashSet;
_.$_$.i3 = LinkedHashMap;
_.$_$.j3 = LinkedHashSet;
_.$_$.k3 = KtList;
_.$_$.l3 = Entry;
_.$_$.m3 = KtMap;
_.$_$.n3 = KtMutableList;
_.$_$.o3 = KtMutableMap;
_.$_$.p3 = KtMutableSet;
_.$_$.q3 = KtSet;
_.$_$.r3 = addAll;
_.$_$.s3 = asList;
_.$_$.t3 = asReversed_0;
_.$_$.u3 = asReversed;
_.$_$.v3 = asSequence_0;
_.$_$.w3 = checkBuilderCapacity;
_.$_$.x3 = checkCountOverflow;
_.$_$.y3 = checkIndexOverflow;
_.$_$.z3 = collectionSizeOrDefault;
_.$_$.a4 = contains;
_.$_$.b4 = contentEquals;
_.$_$.c4 = contentEquals_0;
_.$_$.d4 = contentHashCode;
_.$_$.e4 = copyToArray;
_.$_$.f4 = drop;
_.$_$.g4 = emptyList;
_.$_$.h4 = emptyMap;
_.$_$.i4 = emptySet;
_.$_$.j4 = firstOrNull;
_.$_$.k4 = first;
_.$_$.l4 = first_0;
_.$_$.m4 = flatten;
_.$_$.n4 = getOrNull_0;
_.$_$.o4 = getValue;
_.$_$.p4 = get_indices;
_.$_$.q4 = get_indices_0;
_.$_$.r4 = joinToString_0;
_.$_$.s4 = joinTo_0;
_.$_$.t4 = get_lastIndex;
_.$_$.u4 = get_lastIndex_1;
_.$_$.v4 = get_lastIndex_0;
_.$_$.w4 = lastOrNull;
_.$_$.x4 = last_0;
_.$_$.y4 = last;
_.$_$.z4 = listOfNotNull;
_.$_$.a5 = listOf;
_.$_$.b5 = listOf_0;
_.$_$.c5 = mapCapacity;
_.$_$.d5 = mapOf_0;
_.$_$.e5 = maxOrNull;
_.$_$.f5 = minus;
_.$_$.g5 = mutableListOf;
_.$_$.h5 = mutableMapOf;
_.$_$.i5 = plus_4;
_.$_$.j5 = plus_1;
_.$_$.k5 = plus_2;
_.$_$.l5 = plus;
_.$_$.m5 = plus_0;
_.$_$.n5 = removeLast;
_.$_$.o5 = reversed;
_.$_$.p5 = setOf;
_.$_$.q5 = setOf_0;
_.$_$.r5 = single_0;
_.$_$.s5 = slice;
_.$_$.t5 = sortedWith;
_.$_$.u5 = sorted;
_.$_$.v5 = sum;
_.$_$.w5 = takeLast;
_.$_$.x5 = take;
_.$_$.y5 = toBooleanArray;
_.$_$.z5 = toHashSet;
_.$_$.a6 = toList_1;
_.$_$.b6 = toList_0;
_.$_$.c6 = toList;
_.$_$.d6 = toMap;
_.$_$.e6 = toMutableMap;
_.$_$.f6 = toSet_0;
_.$_$.g6 = toSet;
_.$_$.h6 = withIndex;
_.$_$.i6 = withIndex_0;
_.$_$.j6 = zip;
_.$_$.k6 = compareValues;
_.$_$.l6 = get_COROUTINE_SUSPENDED;
_.$_$.m6 = CoroutineImpl;
_.$_$.n6 = enumEntries;
_.$_$.o6 = println;
_.$_$.p6 = println_0;
_.$_$.q6 = print;
_.$_$.r6 = FunctionAdapter;
_.$_$.s6 = arrayIterator;
_.$_$.t6 = booleanArray;
_.$_$.u6 = captureStack;
_.$_$.v6 = charArrayOf;
_.$_$.w6 = charCodeAt;
_.$_$.x6 = charSequenceGet;
_.$_$.y6 = charSequenceLength;
_.$_$.z6 = charSequenceSubSequence;
_.$_$.a7 = compareTo;
_.$_$.b7 = equals;
_.$_$.c7 = getBooleanHashCode;
_.$_$.d7 = getNumberHashCode;
_.$_$.e7 = getPropertyCallableRef;
_.$_$.f7 = getStringHashCode;
_.$_$.g7 = hashCode;
_.$_$.h7 = initMetadataForClass;
_.$_$.i7 = initMetadataForCompanion;
_.$_$.j7 = initMetadataForCoroutine;
_.$_$.k7 = initMetadataForInterface;
_.$_$.l7 = initMetadataForLambda;
_.$_$.m7 = initMetadataForObject;
_.$_$.n7 = isArray;
_.$_$.o7 = isBooleanArray;
_.$_$.p7 = isByteArray;
_.$_$.q7 = isCharArray;
_.$_$.r7 = isCharSequence;
_.$_$.s7 = isDoubleArray;
_.$_$.t7 = isFloatArray;
_.$_$.u7 = isIntArray;
_.$_$.v7 = isInterface;
_.$_$.w7 = isLongArray;
_.$_$.x7 = isShortArray;
_.$_$.y7 = get_js;
_.$_$.z7 = json;
_.$_$.a8 = numberRangeToNumber;
_.$_$.b8 = numberToChar;
_.$_$.c8 = numberToDouble;
_.$_$.d8 = numberToInt;
_.$_$.e8 = objectCreate;
_.$_$.f8 = protoOf;
_.$_$.g8 = toByte;
_.$_$.h8 = toLong;
_.$_$.i8 = toString_1;
_.$_$.j8 = roundToInt;
_.$_$.k8 = withSign;
_.$_$.l8 = coerceAtLeast_1;
_.$_$.m8 = coerceAtLeast;
_.$_$.n8 = coerceAtLeast_0;
_.$_$.o8 = coerceAtMost;
_.$_$.p8 = coerceIn;
_.$_$.q8 = coerceIn_0;
_.$_$.r8 = until;
_.$_$.s8 = KClass;
_.$_$.t8 = KMutableProperty1;
_.$_$.u8 = KProperty1;
_.$_$.v8 = KTypeParameter;
_.$_$.w8 = SequenceScope;
_.$_$.x8 = Sequence;
_.$_$.y8 = filter;
_.$_$.z8 = firstOrNull_0;
_.$_$.a9 = generateSequence;
_.$_$.b9 = generateSequence_0;
_.$_$.c9 = joinToString_1;
_.$_$.d9 = last_2;
_.$_$.e9 = mapNotNull;
_.$_$.f9 = map;
_.$_$.g9 = maxOrNull_0;
_.$_$.h9 = onEach;
_.$_$.i9 = sequence;
_.$_$.j9 = toList_2;
_.$_$.k9 = Regex;
_.$_$.l9 = chunked;
_.$_$.m9 = commonPrefixWith;
_.$_$.n9 = contains_6;
_.$_$.o9 = contains_5;
_.$_$.p9 = drop_0;
_.$_$.q9 = endsWith;
_.$_$.r9 = firstOrNull_1;
_.$_$.s9 = first_1;
_.$_$.t9 = get;
_.$_$.u9 = indexOf_5;
_.$_$.v9 = isBlank;
_.$_$.w9 = isDigit;
_.$_$.x9 = isWhitespace;
_.$_$.y9 = get_lastIndex_2;
_.$_$.z9 = lastIndexOf;
_.$_$.aa = lineSequence;
_.$_$.ba = prependIndent;
_.$_$.ca = removeSuffix;
_.$_$.da = repeat;
_.$_$.ea = replace;
_.$_$.fa = replace_0;
_.$_$.ga = slice_0;
_.$_$.ha = split;
_.$_$.ia = startsWith;
_.$_$.ja = startsWith_1;
_.$_$.ka = substringBefore;
_.$_$.la = substring_0;
_.$_$.ma = substring;
_.$_$.na = take_0;
_.$_$.oa = toIntOrNull;
_.$_$.pa = toInt_0;
_.$_$.qa = toInt;
_.$_$.ra = trimIndent;
_.$_$.sa = trimMargin;
_.$_$.ta = trimStart;
_.$_$.ua = trim;
_.$_$.va = Duration;
_.$_$.wa = Instant;
_.$_$.xa = Uuid;
_.$_$.ya = Char;
_.$_$.za = ClassCastException;
_.$_$.ab = Comparator;
_.$_$.bb = Enum;
_.$_$.cb = Exception;
_.$_$.db = IllegalArgumentException;
_.$_$.eb = IllegalStateException;
_.$_$.fb = Long;
_.$_$.gb = Pair;
_.$_$.hb = Result;
_.$_$.ib = RuntimeException;
_.$_$.jb = THROW_CCE;
_.$_$.kb = Triple;
_.$_$.lb = UByteArray;
_.$_$.mb = UByte;
_.$_$.nb = UIntArray;
_.$_$.ob = UInt;
_.$_$.pb = ULongArray;
_.$_$.qb = ULong;
_.$_$.rb = UShortArray;
_.$_$.sb = UShort;
_.$_$.tb = Unit;
_.$_$.ub = addSuppressed;
_.$_$.vb = arrayOf;
_.$_$.wb = closeFinally;
_.$_$.xb = createFailure;
_.$_$.yb = ensureNotNull;
_.$_$.zb = isFinite;
_.$_$.ac = isFinite_0;
_.$_$.bc = lazy;
_.$_$.cc = lazy_0;
_.$_$.dc = noWhenBranchMatchedException;
_.$_$.ec = plus_3;
_.$_$.fc = toList_3;
_.$_$.gc = toString_0;
_.$_$.hc = to;
//endregion
return _;
}(module.exports));
//# sourceMappingURL=kotlin-kotlin-stdlib.js.map