← Files Vocabloot Deck KitARCHIVED FILE
packer/kotlin-kotlin-stdlib.js
251 KB · Oct 5, 2026 · 18:35 UTC
//region block: polyfills
(function () {
if (typeof globalThis === 'object')
return;
Object.defineProperty(Object.prototype, '__magic__', {get: function () {
return this;
}, configurable: true});
__magic__.globalThis = __magic__;
delete Object.prototype.__magic__;
}());
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 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;
}});
}
if (typeof String.prototype.startsWith === 'undefined') {
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
position = position || 0;
return this.lastIndexOf(searchString, position) === position;
}});
}
//endregion
(function (factory) {
if (typeof define === 'function' && define.amd)
define(['exports'], factory);
else if (typeof exports === 'object')
factory(module.exports);
else
globalThis['kotlin-kotlin-stdlib'] = factory(typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined' ? {} : globalThis['kotlin-kotlin-stdlib']);
}(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');
initMetadataForClass(asSequence$$inlined$Sequence$1);
initMetadataForClass(asIterable$$inlined$Iterable$1);
initMetadataForCompanion(Companion);
initMetadataForClass(Char, 'Char', VOID, VOID, [Comparable]);
initMetadataForInterface(Collection, 'Collection');
initMetadataForInterface(KtList, 'List', VOID, VOID, [Collection]);
initMetadataForInterface(Entry, 'Entry');
initMetadataForInterface(KtMap, 'Map');
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
initMetadataForCompanion(Companion_0);
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
initMetadataForCompanion(Companion_1);
initMetadataForClass(Long, 'Long', VOID, Number_0, [Comparable]);
initMetadataForInterface(FunctionAdapter, 'FunctionAdapter');
initMetadataForObject(StringCompanionObject, 'StringCompanionObject');
initMetadataForObject(Digit, 'Digit');
initMetadataForObject(Letter, 'Letter');
initMetadataForInterface(Comparator, 'Comparator');
initMetadataForObject(Unit, 'Unit');
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection]);
initMetadataForClass(IteratorImpl, 'IteratorImpl');
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, Collection]);
initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMutableMap]);
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [KtSet, Collection]);
initMetadataForCompanion(Companion_2);
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, Collection]);
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection]);
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection]);
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtSet, Collection]);
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, [KtSet, Collection]);
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.l();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = m.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
// 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.l6(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]);
initMetadataForClass(LinkedHashMap, 'LinkedHashMap', LinkedHashMap_init_$Create$, HashMap, [KtMutableMap]);
initMetadataForClass(LinkedHashSet, 'LinkedHashSet', LinkedHashSet_init_$Create$, HashSet, [KtSet, Collection]);
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, [Continuation]);
initMetadataForObject(CompletedContinuation, 'CompletedContinuation', VOID, VOID, [Continuation]);
initMetadataForClass(createSimpleCoroutineForSuspendFunction$1, VOID, VOID, CoroutineImpl);
initMetadataForClass(Exception, 'Exception', Exception_init_$Create$, Error);
initMetadataForClass(RuntimeException, 'RuntimeException', RuntimeException_init_$Create$, Exception);
initMetadataForClass(UnsupportedOperationException, 'UnsupportedOperationException', UnsupportedOperationException_init_$Create$, RuntimeException);
initMetadataForClass(IllegalStateException, 'IllegalStateException', IllegalStateException_init_$Create$, RuntimeException);
initMetadataForClass(IllegalArgumentException, 'IllegalArgumentException', IllegalArgumentException_init_$Create$, RuntimeException);
initMetadataForClass(NoSuchElementException, 'NoSuchElementException', NoSuchElementException_init_$Create$, RuntimeException);
initMetadataForClass(IndexOutOfBoundsException, 'IndexOutOfBoundsException', IndexOutOfBoundsException_init_$Create$, RuntimeException);
initMetadataForClass(ConcurrentModificationException, 'ConcurrentModificationException', ConcurrentModificationException_init_$Create$, RuntimeException);
initMetadataForClass(ArithmeticException, 'ArithmeticException', ArithmeticException_init_$Create$, RuntimeException);
initMetadataForClass(Error_0, 'Error', Error_init_$Create$, Error);
initMetadataForClass(NumberFormatException, 'NumberFormatException', NumberFormatException_init_$Create$, IllegalArgumentException);
initMetadataForClass(NoWhenBranchMatchedException, 'NoWhenBranchMatchedException', NoWhenBranchMatchedException_init_$Create$, RuntimeException);
initMetadataForClass(NullPointerException, 'NullPointerException', NullPointerException_init_$Create$, RuntimeException);
initMetadataForClass(ClassCastException, 'ClassCastException', ClassCastException_init_$Create$, RuntimeException);
initMetadataForInterface(KClass, 'KClass');
initMetadataForClass(KClassImpl, 'KClassImpl', VOID, VOID, [KClass]);
initMetadataForClass(PrimitiveKClassImpl, 'PrimitiveKClassImpl', VOID, KClassImpl);
initMetadataForObject(NothingKClassImpl, 'NothingKClassImpl', VOID, KClassImpl);
initMetadataForClass(SimpleKClassImpl, 'SimpleKClassImpl', VOID, KClassImpl);
initMetadataForInterface(KProperty1, 'KProperty1');
initMetadataForObject(PrimitiveClasses, 'PrimitiveClasses');
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(findNext$1$groups$1, VOID, VOID, AbstractCollection, [Collection]);
initMetadataForClass(AbstractList, 'AbstractList', VOID, AbstractCollection, [KtList]);
initMetadataForClass(findNext$1$groupValues$1, VOID, VOID, AbstractList);
function get_destructured() {
return new Destructured(this);
}
initMetadataForInterface(MatchResult, 'MatchResult');
initMetadataForClass(findNext$1, VOID, VOID, VOID, [MatchResult]);
initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]);
initMetadataForClass(SubList_0, 'SubList', VOID, AbstractList);
initMetadataForClass(IteratorImpl_0, 'IteratorImpl');
initMetadataForCompanion(Companion_5);
initMetadataForClass(AbstractMap$keys$1$iterator$1);
initMetadataForClass(AbstractMap$values$1$iterator$1);
initMetadataForCompanion(Companion_6);
initMetadataForClass(AbstractSet, 'AbstractSet', VOID, 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]);
initMetadataForObject(EmptyIterator, 'EmptyIterator');
initMetadataForInterface(MapWithDefault, 'MapWithDefault', VOID, VOID, [KtMap]);
initMetadataForObject(EmptyMap, 'EmptyMap', VOID, VOID, [KtMap]);
initMetadataForClass(IntIterator, 'IntIterator');
initMetadataForClass(TransformingSequence$iterator$1);
initMetadataForClass(TransformingSequence, 'TransformingSequence');
initMetadataForObject(EmptySet, 'EmptySet', VOID, VOID, [KtSet]);
initMetadataForObject(Key, 'Key');
function releaseInterceptedContinuation(continuation) {
}
initMetadataForInterface(ContinuationInterceptor, 'ContinuationInterceptor');
initMetadataForObject(EmptyCoroutineContext, 'EmptyCoroutineContext');
initMetadataForClass(CoroutineSingletons, 'CoroutineSingletons', VOID, Enum);
initMetadataForClass(EnumEntriesList, 'EnumEntriesList', VOID, AbstractList, [KtList]);
initMetadataForCompanion(Companion_8);
initMetadataForClass(IntProgression, 'IntProgression');
function contains(value) {
return compareTo(value, this.xb()) >= 0 && compareTo(value, this.yb()) <= 0;
}
initMetadataForInterface(ClosedRange, 'ClosedRange');
initMetadataForClass(IntRange, 'IntRange', VOID, IntProgression, [ClosedRange]);
initMetadataForClass(IntProgressionIterator, 'IntProgressionIterator', VOID, IntIterator);
initMetadataForCompanion(Companion_9);
initMetadataForClass(DelimitedRangesSequence$iterator$1);
initMetadataForClass(DelimitedRangesSequence, 'DelimitedRangesSequence');
initMetadataForClass(Destructured, 'Destructured');
initMetadataForClass(DeepRecursiveScope, 'DeepRecursiveScope', VOID, VOID, VOID, [1, 2]);
initMetadataForClass(DeepRecursiveFunction, 'DeepRecursiveFunction');
initMetadataForClass(DeepRecursiveScopeImpl, 'DeepRecursiveScopeImpl', VOID, DeepRecursiveScope, [Continuation], [1, 2]);
initMetadataForClass(LazyThreadSafetyMode, 'LazyThreadSafetyMode', VOID, Enum);
initMetadataForClass(UnsafeLazyImpl, 'UnsafeLazyImpl');
initMetadataForObject(UNINITIALIZED_VALUE, 'UNINITIALIZED_VALUE');
initMetadataForCompanion(Companion_10);
initMetadataForClass(Failure, 'Failure');
initMetadataForClass(Result, 'Result');
initMetadataForClass(NotImplementedError, 'NotImplementedError', NotImplementedError, Error_0);
initMetadataForClass(Pair, 'Pair');
initMetadataForClass(Triple, 'Triple');
//endregion
function CharSequence() {
}
function Comparable() {
}
function Number_0() {
}
function get_indices(_this__u8e3s4) {
return new IntRange(0, get_lastIndex(_this__u8e3s4));
}
function get_indices_0(_this__u8e3s4) {
return new IntRange(0, get_lastIndex_0(_this__u8e3s4));
}
function toList(_this__u8e3s4) {
var tmp;
switch (_this__u8e3s4.length) {
case 0:
tmp = emptyList();
break;
case 1:
tmp = listOf(_this__u8e3s4[0]);
break;
default:
// Inline function 'kotlin.collections.copyOf' call
// Inline function 'kotlin.collections.copyOf' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$0 = _this__u8e3s4.slice();
tmp = asList(tmp$ret$0);
break;
}
return tmp;
}
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));
}
return takeLast(_this__u8e3s4, coerceAtLeast(_this__u8e3s4.length - n | 0, 0));
}
function get_lastIndex(_this__u8e3s4) {
return _this__u8e3s4.length - 1 | 0;
}
function get_lastIndex_0(_this__u8e3s4) {
return _this__u8e3s4.length - 1 | 0;
}
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.length;
if (n >= size)
return toList(_this__u8e3s4);
if (n === 1)
return listOf(_this__u8e3s4[size - 1 | 0]);
// Inline function 'kotlin.collections.copyOfRange' call
var fromIndex = size - n | 0;
var tmp$ret$2 = copyOfRange(_this__u8e3s4, fromIndex, size);
return asList(tmp$ret$2);
}
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 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 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 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(_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) {
if (!(transform == null))
buffer.f(transform(element));
else
buffer.f(element.toString());
} else
break $l$loop;
}
if (limit >= 0 && count > limit) {
buffer.f(truncated);
}
buffer.f(postfix);
return buffer;
}
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 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 get_lastIndex_1(_this__u8e3s4) {
return _this__u8e3s4.length - 1 | 0;
}
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 getOrNull(_this__u8e3s4, index) {
return (0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false) ? _this__u8e3s4[index] : null;
}
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 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.g();
$l$loop: while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
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 getOrNull_0(_this__u8e3s4, index) {
return (0 <= index ? index < _this__u8e3s4.k() : false) ? _this__u8e3s4.j(index) : null;
}
function firstOrNull(_this__u8e3s4) {
return _this__u8e3s4.l() ? null : _this__u8e3s4.j(0);
}
function toSet(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
var tmp;
switch (_this__u8e3s4.k()) {
case 0:
tmp = emptySet();
break;
case 1:
var tmp_0;
if (isInterface(_this__u8e3s4, KtList)) {
tmp_0 = _this__u8e3s4.j(0);
} else {
tmp_0 = _this__u8e3s4.g().i();
}
tmp = setOf(tmp_0);
break;
default:
tmp = toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$_0(mapCapacity(_this__u8e3s4.k())));
break;
}
return tmp;
}
return optimizeReadOnlySet(toCollection_0(_this__u8e3s4, LinkedHashSet_init_$Create$()));
}
function plus(_this__u8e3s4, elements) {
if (isInterface(elements, Collection)) {
var result = ArrayList_init_$Create$_0(_this__u8e3s4.k() + elements.k() | 0);
result.p(_this__u8e3s4);
result.p(elements);
return result;
} else {
var result_0 = ArrayList_init_$Create$_1(_this__u8e3s4);
addAll(result_0, elements);
return result_0;
}
}
function toCollection_0(_this__u8e3s4, destination) {
var _iterator__ex2g4s = _this__u8e3s4.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
destination.e(item);
}
return destination;
}
function sortedWith(_this__u8e3s4, comparator) {
if (isInterface(_this__u8e3s4, Collection)) {
if (_this__u8e3s4.k() <= 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(_this__u8e3s4);
sortWith_0(this_1, comparator);
return this_1;
}
function toList_0(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection)) {
var tmp;
switch (_this__u8e3s4.k()) {
case 0:
tmp = emptyList();
break;
case 1:
var tmp_0;
if (isInterface(_this__u8e3s4, KtList)) {
tmp_0 = _this__u8e3s4.j(0);
} else {
tmp_0 = _this__u8e3s4.g().i();
}
tmp = listOf(tmp_0);
break;
default:
tmp = toMutableList_0(_this__u8e3s4);
break;
}
return tmp;
}
return optimizeReadOnlyList(toMutableList(_this__u8e3s4));
}
function toMutableList(_this__u8e3s4) {
if (isInterface(_this__u8e3s4, Collection))
return toMutableList_0(_this__u8e3s4);
return toCollection_0(_this__u8e3s4, ArrayList_init_$Create$());
}
function toMutableList_0(_this__u8e3s4) {
return ArrayList_init_$Create$_1(_this__u8e3s4);
}
function asSequence(_this__u8e3s4) {
// Inline function 'kotlin.sequences.Sequence' call
return new asSequence$$inlined$Sequence$1(_this__u8e3s4);
}
function last(_this__u8e3s4) {
if (_this__u8e3s4.l())
throw NoSuchElementException_init_$Create$_0('List is empty.');
return _this__u8e3s4.j(get_lastIndex_2(_this__u8e3s4));
}
function singleOrNull(_this__u8e3s4) {
return _this__u8e3s4.k() === 1 ? _this__u8e3s4.j(0) : null;
}
function lastOrNull(_this__u8e3s4) {
return _this__u8e3s4.l() ? null : _this__u8e3s4.j(_this__u8e3s4.k() - 1 | 0);
}
function asSequence$$inlined$Sequence$1($this_asSequence) {
this.q_1 = $this_asSequence;
}
protoOf(asSequence$$inlined$Sequence$1).g = function () {
return this.q_1.g();
};
function until(_this__u8e3s4, to) {
if (to <= -2147483648)
return Companion_getInstance_8().r_1;
return numberRangeToNumber(_this__u8e3s4, to - 1 | 0);
}
function step(_this__u8e3s4, step) {
checkStepIsPositive(step > 0, step);
return Companion_instance_9.v(_this__u8e3s4.s_1, _this__u8e3s4.t_1, _this__u8e3s4.u_1 > 0 ? step : -step | 0);
}
function coerceAtLeast(_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.v(_this__u8e3s4, to, -1);
}
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 contains_0(_this__u8e3s4, value) {
// Inline function 'kotlin.let' call
var it = toIntExactOrNull(value);
return !(it == null) ? _this__u8e3s4.w(it) : false;
}
function toIntExactOrNull(_this__u8e3s4) {
return (compare(new Long(-2147483648, -1), _this__u8e3s4) <= 0 ? compare(_this__u8e3s4, new Long(2147483647, 0)) <= 0 : false) ? convertToInt(_this__u8e3s4) : null;
}
function map(_this__u8e3s4, transform) {
return new TransformingSequence(_this__u8e3s4, transform);
}
function asIterable(_this__u8e3s4) {
// Inline function 'kotlin.collections.Iterable' call
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
}
function asIterable$$inlined$Iterable$1($this_asIterable) {
this.x_1 = $this_asIterable;
}
protoOf(asIterable$$inlined$Iterable$1).g = function () {
return this.x_1.g();
};
function plus_0(_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.k() + tmp0_safe_receiver | 0;
}
var tmp1_elvis_lhs = tmp;
var result = LinkedHashSet_init_$Create$_0(mapCapacity(tmp1_elvis_lhs == null ? imul(_this__u8e3s4.k(), 2) : tmp1_elvis_lhs));
result.p(_this__u8e3s4);
addAll(result, elements);
return result;
}
function take(_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 _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.y_1, other instanceof Char ? other.y_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.y_1);
}
function Char__hashCode_impl_otmys($this) {
return _get_value__a43j40($this);
}
function Companion() {
Companion_instance = this;
this.z_1 = _Char___init__impl__6a9atx(0);
this.a1_1 = _Char___init__impl__6a9atx(65535);
this.b1_1 = _Char___init__impl__6a9atx(55296);
this.c1_1 = _Char___init__impl__6a9atx(56319);
this.d1_1 = _Char___init__impl__6a9atx(56320);
this.e1_1 = _Char___init__impl__6a9atx(57343);
this.f1_1 = _Char___init__impl__6a9atx(55296);
this.g1_1 = _Char___init__impl__6a9atx(57343);
this.h1_1 = 2;
this.i1_1 = 16;
}
var Companion_instance;
function Companion_getInstance() {
if (Companion_instance == null)
new Companion();
return Companion_instance;
}
function Char(value) {
Companion_getInstance();
this.y_1 = value;
}
protoOf(Char).j1 = function (other) {
return Char__compareTo_impl_ypi4mb(this.y_1, other);
};
protoOf(Char).d = function (other) {
return Char__compareTo_impl_ypi4mb_0(this, other);
};
protoOf(Char).toString = function () {
return toString(this.y_1);
};
protoOf(Char).equals = function (other) {
return Char__equals_impl_x6719k(this.y_1, other);
};
protoOf(Char).hashCode = function () {
return Char__hashCode_impl_otmys(this.y_1);
};
function KtList() {
}
function Collection() {
}
function Entry() {
}
function KtMap() {
}
function KtMutableMap() {
}
function KtSet() {
}
function Companion_0() {
}
var Companion_instance_0;
function Companion_getInstance_0() {
return Companion_instance_0;
}
function Enum(name, ordinal) {
this.x1_1 = name;
this.y1_1 = ordinal;
}
protoOf(Enum).z1 = function (other) {
return compareTo(this.y1_1, other.y1_1);
};
protoOf(Enum).d = function (other) {
return this.z1(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.x1_1;
};
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_1(_this__u8e3s4, other) {
var tmp = _this__u8e3s4 == null ? 'null' : _this__u8e3s4;
var tmp2_elvis_lhs = other == null ? null : toString_1(other);
return tmp + (tmp2_elvis_lhs == null ? 'null' : tmp2_elvis_lhs);
}
function Companion_1() {
Companion_instance_1 = this;
this.a2_1 = new Long(0, -2147483648);
this.b2_1 = new Long(-1, 2147483647);
this.c2_1 = 8;
this.d2_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.e2_1 = low;
this.f2_1 = high;
}
protoOf(Long).g2 = function (other) {
return compare(this, other);
};
protoOf(Long).d = function (other) {
return this.g2(other instanceof Long ? other : THROW_CCE());
};
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(this);
};
protoOf(Long).valueOf = function () {
return toNumber(this);
};
function abs(_this__u8e3s4) {
var tmp;
// Inline function 'kotlin.js.internal.isNegative' call
if (_this__u8e3s4 < 0) {
// Inline function 'kotlin.js.internal.unaryMinus' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
tmp = -_this__u8e3s4;
} else {
tmp = _this__u8e3s4;
}
return tmp;
}
function FunctionAdapter() {
}
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 charArray(size) {
var tmp0 = 'CharArray';
// Inline function 'withType' call
var array = new Uint16Array(size);
array.$type$ = tmp0;
// Inline function 'kotlin.js.unsafeCast' call
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 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 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 get_ZERO() {
_init_properties_boxedLong_kt__v24qrw();
return ZERO;
}
var ZERO;
function get_ONE() {
_init_properties_boxedLong_kt__v24qrw();
return ONE;
}
var ONE;
function get_NEG_ONE() {
_init_properties_boxedLong_kt__v24qrw();
return NEG_ONE;
}
var NEG_ONE;
function get_MAX_VALUE() {
_init_properties_boxedLong_kt__v24qrw();
return MAX_VALUE;
}
var MAX_VALUE;
function get_MIN_VALUE() {
_init_properties_boxedLong_kt__v24qrw();
return MIN_VALUE;
}
var MIN_VALUE;
function get_TWO_PWR_24_() {
_init_properties_boxedLong_kt__v24qrw();
return TWO_PWR_24_;
}
var TWO_PWR_24_;
function get_longArrayClass() {
_init_properties_boxedLong_kt__v24qrw();
return longArrayClass;
}
var longArrayClass;
function compare(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
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 convertToByte(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return toByte(_this__u8e3s4.e2_1);
}
function convertToInt(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return _this__u8e3s4.e2_1;
}
function toNumber(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return _this__u8e3s4.f2_1 * 4.294967296E9 + getLowBitsUnsigned(_this__u8e3s4);
}
function toStringImpl(_this__u8e3s4, radix) {
_init_properties_boxedLong_kt__v24qrw();
if (isZero(_this__u8e3s4)) {
return '0';
}
if (isNegative(_this__u8e3s4)) {
if (equalsLong(_this__u8e3s4, get_MIN_VALUE())) {
var radixLong = fromInt(radix);
var div = divide(_this__u8e3s4, radixLong);
var rem = convertToInt(subtract(multiply(div, radixLong), _this__u8e3s4));
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 = divide(rem_0, radixToPower);
var intval = convertToInt(subtract(rem_0, multiply(remDiv, radixToPower)));
// 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_boxedLong_kt__v24qrw();
return _this__u8e3s4.f2_1 === other.f2_1 && _this__u8e3s4.e2_1 === other.e2_1;
}
function hashCode(l) {
_init_properties_boxedLong_kt__v24qrw();
return l.e2_1 ^ l.f2_1;
}
function fromInt(value) {
_init_properties_boxedLong_kt__v24qrw();
return new Long(value, value < 0 ? -1 : 0);
}
function isNegative(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return _this__u8e3s4.f2_1 < 0;
}
function subtract(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return add(_this__u8e3s4, negate(other));
}
function getLowBitsUnsigned(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return _this__u8e3s4.e2_1 >= 0 ? _this__u8e3s4.e2_1 : 4.294967296E9 + _this__u8e3s4.e2_1;
}
function isZero(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return _this__u8e3s4.f2_1 === 0 && _this__u8e3s4.e2_1 === 0;
}
function multiply(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
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.f2_1 >>> 16 | 0;
var a32 = _this__u8e3s4.f2_1 & 65535;
var a16 = _this__u8e3s4.e2_1 >>> 16 | 0;
var a00 = _this__u8e3s4.e2_1 & 65535;
var b48 = other.f2_1 >>> 16 | 0;
var b32 = other.f2_1 & 65535;
var b16 = other.e2_1 >>> 16 | 0;
var b00 = other.e2_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 negate(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return add(invert(_this__u8e3s4), new Long(1, 0));
}
function fromNumber(value) {
_init_properties_boxedLong_kt__v24qrw();
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 add(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
var a48 = _this__u8e3s4.f2_1 >>> 16 | 0;
var a32 = _this__u8e3s4.f2_1 & 65535;
var a16 = _this__u8e3s4.e2_1 >>> 16 | 0;
var a00 = _this__u8e3s4.e2_1 & 65535;
var b48 = other.f2_1 >>> 16 | 0;
var b32 = other.f2_1 & 65535;
var b16 = other.e2_1 >>> 16 | 0;
var b00 = other.e2_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 isOdd(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return (_this__u8e3s4.e2_1 & 1) === 1;
}
function lessThan(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return compare(_this__u8e3s4, other) < 0;
}
function invert(_this__u8e3s4) {
_init_properties_boxedLong_kt__v24qrw();
return new Long(~_this__u8e3s4.e2_1, ~_this__u8e3s4.f2_1);
}
function divide(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
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(divide(halfThis, 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, divide(rem, other));
}
}
} else if (equalsLong(other, get_MIN_VALUE())) {
return get_ZERO();
}
if (isNegative(_this__u8e3s4)) {
var tmp;
if (isNegative(other)) {
tmp = divide(negate(_this__u8e3s4), negate(other));
} else {
tmp = negate(divide(negate(_this__u8e3s4), other));
}
return tmp;
} else if (isNegative(other)) {
return negate(divide(_this__u8e3s4, 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 shiftRight(_this__u8e3s4, numBits) {
_init_properties_boxedLong_kt__v24qrw();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.e2_1 >>> numBits_0 | 0 | _this__u8e3s4.f2_1 << (32 - numBits_0 | 0), _this__u8e3s4.f2_1 >> numBits_0);
} else {
return new Long(_this__u8e3s4.f2_1 >> (numBits_0 - 32 | 0), _this__u8e3s4.f2_1 >= 0 ? 0 : -1);
}
}
}
function shiftLeft(_this__u8e3s4, numBits) {
_init_properties_boxedLong_kt__v24qrw();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.e2_1 << numBits_0, _this__u8e3s4.f2_1 << numBits_0 | (_this__u8e3s4.e2_1 >>> (32 - numBits_0 | 0) | 0));
} else {
return new Long(0, _this__u8e3s4.e2_1 << (numBits_0 - 32 | 0));
}
}
}
function greaterThan(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return compare(_this__u8e3s4, other) > 0;
}
function greaterThanOrEqual(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return compare(_this__u8e3s4, other) >= 0;
}
function modulo(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return subtract(_this__u8e3s4, multiply(divide(_this__u8e3s4, other), other));
}
function bitwiseAnd(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return new Long(_this__u8e3s4.e2_1 & other.e2_1, _this__u8e3s4.f2_1 & other.f2_1);
}
function bitwiseOr(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return new Long(_this__u8e3s4.e2_1 | other.e2_1, _this__u8e3s4.f2_1 | other.f2_1);
}
function bitwiseXor(_this__u8e3s4, other) {
_init_properties_boxedLong_kt__v24qrw();
return new Long(_this__u8e3s4.e2_1 ^ other.e2_1, _this__u8e3s4.f2_1 ^ other.f2_1);
}
function shiftRightUnsigned(_this__u8e3s4, numBits) {
_init_properties_boxedLong_kt__v24qrw();
var numBits_0 = numBits & 63;
if (numBits_0 === 0) {
return _this__u8e3s4;
} else {
if (numBits_0 < 32) {
return new Long(_this__u8e3s4.e2_1 >>> numBits_0 | 0 | _this__u8e3s4.f2_1 << (32 - numBits_0 | 0), _this__u8e3s4.f2_1 >>> numBits_0 | 0);
} else {
var tmp;
if (numBits_0 === 32) {
tmp = new Long(_this__u8e3s4.f2_1, 0);
} else {
tmp = new Long(_this__u8e3s4.f2_1 >>> (numBits_0 - 32 | 0) | 0, 0);
}
return tmp;
}
}
}
function numberToLong(a) {
_init_properties_boxedLong_kt__v24qrw();
var tmp;
if (a instanceof Long) {
tmp = a;
} else {
tmp = fromNumber(a);
}
return tmp;
}
function isLongArray(a) {
_init_properties_boxedLong_kt__v24qrw();
return isJsArray(a) && a.$type$ === 'LongArray';
}
function longArrayClass$lambda(it) {
_init_properties_boxedLong_kt__v24qrw();
return !(it == null) ? isLongArray(it) : false;
}
var properties_initialized_boxedLong_kt_lfwt2;
function _init_properties_boxedLong_kt__v24qrw() {
if (!properties_initialized_boxedLong_kt_lfwt2) {
properties_initialized_boxedLong_kt_lfwt2 = 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);
// Inline function 'kotlin.js.unsafeCast' call
var tmp = Array;
longArrayClass = new PrimitiveKClassImpl(tmp, 'LongArray', longArrayClass$lambda);
}
}
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 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_0(a[i]) | 0;
}
while (inductionVariable < last);
return result;
}
function arrayToString(array) {
return joinToString_0(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
}
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, toNumber(b));
} else {
tmp_0 = primitiveCompareTo(a, b);
}
}
tmp = tmp_0;
break;
case 'string':
case 'boolean':
case 'bigint':
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, enumerable) {
return Object.defineProperty(obj, name, {configurable: true, get: getter, set: setter, enumerable: enumerable});
}
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_0(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':
// Inline function 'kotlin.js.unsafeCast' call
tmp = getBigIntHashCode(obj);
break;
case 'symbol':
tmp = getSymbolHashCode(obj);
break;
default:
tmp = function () {
throw new Error('Unexpected typeof `' + typeOf + '`');
}();
break;
}
return tmp;
}
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 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 = abs(value);
var hashCode = 0;
var tmp;
// Inline function 'kotlin.js.internal.isNegative' call
if (value < 0) {
tmp = -1;
} else {
tmp = 1;
}
var signum = tmp;
$l$loop: while (true) {
// Inline function 'kotlin.js.internal.isZero' call
if (!!(bigNumber == 0)) {
break $l$loop;
}
// Inline function 'kotlin.js.internal.and' call
// Inline function 'kotlin.js.jsBitwiseAnd' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
// Inline function 'kotlin.js.internal.toNumber' call
var self_0 = bigNumber & mask;
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var chunk = Number(self_0);
hashCode = imul(31, hashCode) + chunk | 0;
// Inline function 'kotlin.js.internal.shr' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
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 anyToString(o) {
return Object.prototype.toString.call(o);
}
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) {
// Inline function 'kotlin.error' call
var message = 'Should be lowered';
throw IllegalStateException_init_$Create$_0(toString_1(message));
}
function unboxIntrinsic(x) {
// Inline function 'kotlin.error' call
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 noWhenBranchMatchedException() {
throw NoWhenBranchMatchedException_init_$Create$();
}
function THROW_NPE() {
throw NullPointerException_init_$Create$();
}
function THROW_CCE() {
throw ClassCastException_init_$Create$();
}
function ensureNotNull(v) {
var tmp;
if (v == null) {
THROW_NPE();
} else {
tmp = v;
}
return tmp;
}
function jsGenerateInterfaceSymbol() {
return generateInterfaceSymbolById();
}
function createMetadata(kind, name, defaultConstructor, associatedObjectKey, associatedObjects, suspendArity) {
var undef = VOID;
return {kind: kind, simpleName: name, associatedObjectKey: associatedObjectKey, associatedObjects: associatedObjects, suspendArity: suspendArity, $kClass$: undef, defaultConstructor: defaultConstructor};
}
function initMetadataForClass(ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects) {
var kind = 'class';
initMetadataFor(kind, ctor, name, defaultConstructor, parent, interfaces, suspendArity, associatedObjectKey, associatedObjects);
}
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;
var prototype = ctor.prototype;
if (!(interfaces == null)) {
var inductionVariable = 0;
var last = interfaces.length;
while (inductionVariable < last) {
var i = interfaces[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
Object.assign(prototype, i.prototype);
prototype[i.Symbol] = true;
}
}
if (kind === 'interface') {
ctor.Symbol = generateInterfaceSymbolById();
}
}
function generateInterfaceSymbolById() {
return '#__interface_' + generateInterfaceId();
}
function generateInterfaceId() {
if (globalInterfaceId === VOID) {
globalInterfaceId = 0;
}
// Inline function 'kotlin.js.unsafeCast' call
globalInterfaceId = globalInterfaceId + 1 | 0;
return globalInterfaceId;
}
var globalInterfaceId;
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 toByte(a) {
// Inline function 'kotlin.js.unsafeCast' call
return a << 24 >> 24;
}
function numberToInt(a) {
var tmp;
if (a instanceof Long) {
tmp = convertToInt(a);
} 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 toShort(a) {
// Inline function 'kotlin.js.unsafeCast' call
return a << 16 >> 16;
}
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 StringCompanionObject() {
}
var StringCompanionObject_instance;
function StringCompanionObject_getInstance() {
return StringCompanionObject_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, linkageError) {
_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), superType);
}
function getPropertyRefClass(obj, metadata, superType) {
_init_properties_reflectRuntime_kt__5r4uu3();
obj.$metadata$ = metadata;
obj.constructor = obj;
var symbol = superType.Symbol;
if (symbol != null) {
// Inline function 'kotlin.js.asDynamic' call
obj[symbol] = true;
}
Object.assign(obj, superType.prototype);
return obj;
}
function getKPropMetadata(paramCount, setter) {
_init_properties_reflectRuntime_kt__5r4uu3();
return get_propertyRefClassMetadataCache()[paramCount][setter == null ? 0 : 1];
}
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 obj[iface.Symbol] === true;
}
function isArray(obj) {
var tmp;
if (isJsArray(obj)) {
// Inline function 'kotlin.js.asDynamic' call
tmp = !obj.$type$;
} else {
tmp = false;
}
return tmp;
}
function isSuspendFunction(obj, arity) {
var objTypeOf = typeof obj;
if (objTypeOf === 'function') {
// Inline function 'kotlin.js.unsafeCast' call
return obj.$arity === arity;
}
// Inline function 'kotlin.js.unsafeCast' call
var tmp1_safe_receiver = obj == null ? null : obj.constructor;
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.$metadata$;
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.suspendArity;
var tmp;
if (tmp3_elvis_lhs == null) {
return false;
} else {
tmp = tmp3_elvis_lhs;
}
var suspendArity = tmp;
var result = false;
var inductionVariable = 0;
var last = suspendArity.length;
$l$loop: while (inductionVariable < last) {
var item = suspendArity[inductionVariable];
inductionVariable = inductionVariable + 1 | 0;
if (arity === item) {
result = true;
break $l$loop;
}
}
return result;
}
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 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') {
return isInterface(obj, constructor);
}
// 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 contentEquals(_this__u8e3s4, other) {
return contentEqualsInternal(_this__u8e3s4, other);
}
function contentHashCode(_this__u8e3s4) {
return contentHashCodeInternal(_this__u8e3s4);
}
function asList(_this__u8e3s4) {
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return new ArrayList(_this__u8e3s4);
}
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 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 fillFrom(_this__u8e3s4, new Int8Array(newSize));
}
function toTypedArray(_this__u8e3s4) {
return [].slice.call(_this__u8e3s4);
}
function copyOfRange(_this__u8e3s4, fromIndex, toIndex) {
Companion_instance_5.j2(fromIndex, toIndex, _this__u8e3s4.length);
// Inline function 'kotlin.js.asDynamic' call
return _this__u8e3s4.slice(fromIndex, toIndex);
}
function sortWith(_this__u8e3s4, comparator) {
if (_this__u8e3s4.length > 1) {
sortArrayWith(_this__u8e3s4, comparator);
}
}
function copyOf_1(_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 contentEquals_0(_this__u8e3s4, other) {
return contentEqualsInternal(_this__u8e3s4, other);
}
function contentHashCode_0(_this__u8e3s4) {
return contentHashCodeInternal(_this__u8e3s4);
}
function decodeVarLenBase64(base64, fromBase64, resultLength) {
var result = new Int32Array(resultLength);
var index = 0;
var int = 0;
var shift = 0;
var inductionVariable = 0;
var last = base64.length;
while (inductionVariable < last) {
var char = charCodeAt(base64, inductionVariable);
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.code' call
var sixBit = fromBase64[Char__toInt_impl_vasixd(char)];
int = int | (sixBit & 31) << shift;
if (sixBit < 32) {
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
result[_unary__edvuaz] = int;
int = 0;
shift = 0;
} else {
shift = shift + 5 | 0;
}
}
return result;
}
function isDigitImpl(_this__u8e3s4) {
return digitToIntImpl(_this__u8e3s4) >= 0;
}
function digitToIntImpl(_this__u8e3s4) {
// Inline function 'kotlin.code' call
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
var index = binarySearchRange(Digit_getInstance().k2_1, ch);
var diff = ch - Digit_getInstance().k2_1[index] | 0;
return diff < 10 ? diff : -1;
}
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.k2_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 isLetterImpl(_this__u8e3s4) {
return !(getLetterType(_this__u8e3s4) === 0);
}
function getLetterType(_this__u8e3s4) {
// Inline function 'kotlin.code' call
var ch = Char__toInt_impl_vasixd(_this__u8e3s4);
var index = binarySearchRange(Letter_getInstance().l2_1, ch);
var rangeStart = Letter_getInstance().l2_1[index];
var rangeEnd = (rangeStart + Letter_getInstance().m2_1[index] | 0) - 1 | 0;
var code = Letter_getInstance().n2_1[index];
if (ch > rangeEnd) {
return 0;
}
var lastTwoBits = code & 3;
if (lastTwoBits === 0) {
var shift = 2;
var threshold = rangeStart;
var inductionVariable = 0;
if (inductionVariable <= 1)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
threshold = threshold + (code >> shift & 127) | 0;
if (threshold > ch) {
return 3;
}
shift = shift + 7 | 0;
threshold = threshold + (code >> shift & 127) | 0;
if (threshold > ch) {
return 0;
}
shift = shift + 7 | 0;
}
while (inductionVariable <= 1);
return 3;
}
if (code <= 7) {
return lastTwoBits;
}
var distance = ch - rangeStart | 0;
var shift_0 = code <= 31 ? distance % 2 | 0 : distance;
return code >> imul(2, shift_0) & 3;
}
function Letter() {
Letter_instance = this;
var toBase64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
var fromBase64 = new Int32Array(128);
var inductionVariable = 0;
var last = charSequenceLength(toBase64) - 1 | 0;
if (inductionVariable <= last)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
// Inline function 'kotlin.code' call
var this_0 = charCodeAt(toBase64, i);
fromBase64[Char__toInt_impl_vasixd(this_0)] = i;
}
while (inductionVariable <= last);
var rangeStartDiff = 'hCgBpCQGYHZH5BRpBPPPPPPRMP5BPPlCPP6BkEPPPPcPXPzBvBrB3BOiDoBHwD+E3DauCnFmBmB2D6E1BlBTiBmBlBP5BhBiBrBvBjBqBnBPRtBiCmCtBlB0BmB5BiB7BmBgEmChBZgCoEoGVpBSfRhBPqKQ2BwBYoFgB4CJuTiEvBuCuDrF5DgEgFlJ1DgFmBQtBsBRGsB+BPiBlD1EIjDPRPPPQPPPPPGQSQS/DxENVNU+B9zCwBwBPPCkDPNnBPqDYY1R8B7FkFgTgwGgwUwmBgKwBuBScmEP/BPPPPPPrBP8B7F1B/ErBqC6B7BiBmBfQsBUwCw/KwqIwLwETPcPjQgJxFgBlBsD';
var diff = decodeVarLenBase64(rangeStartDiff, fromBase64, 222);
var start = new Int32Array(diff.length);
var inductionVariable_0 = 0;
var last_0 = diff.length - 1 | 0;
if (inductionVariable_0 <= last_0)
do {
var i_0 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + 1 | 0;
if (i_0 === 0) {
start[i_0] = diff[i_0];
} else {
start[i_0] = start[i_0 - 1 | 0] + diff[i_0] | 0;
}
}
while (inductionVariable_0 <= last_0);
this.l2_1 = start;
var rangeLength = 'aaMBXHYH5BRpBPPPPPPRMP5BPPlCPPzBDOOPPcPXPzBvBjB3BOhDmBBpB7DoDYxB+EiBP1DoExBkBQhBekBPmBgBhBctBiBMWOOXhCsBpBkBUV3Ba4BkB0DlCgBXgBtD4FSdBfPhBPpKP0BvBXjEQ2CGsT8DhBtCqDpFvD1D3E0IrD2EkBJrBDOBsB+BPiBlB1EIjDPPPPPPPPPPPGPPMNLsBNPNPKCvBvBPPCkDPBmBPhDXXgD4B6FzEgDguG9vUtkB9JcuBSckEP/BPPPPPPBPf4FrBjEhBpC3B5BKaWPrBOwCk/KsCuLqDHPbPxPsFtEaaqDL';
this.m2_1 = decodeVarLenBase64(rangeLength, fromBase64, 222);
var rangeCategory = 'GFjgggUHGGFFZZZmzpz5qB6s6020B60ptltB6smt2sB60mz22B1+vv+8BZZ5s2850BW5q1ymtB506smzBF3q1q1qB1q1q1+Bgii4wDTm74g3KiggxqM60q1q1Bq1o1q1BF1qlrqrBZ2q5wprBGFZWWZGHFsjiooLowgmOowjkwCkgoiIk7ligGogiioBkwkiYkzj2oNoi+sbkwj04DghhkQ8wgiYkgoioDsgnkwC4gikQ//v+85BkwvoIsgoyI4yguI0whiwEowri4CoghsJowgqYowgm4DkwgsY/nwnzPowhmYkg6wI8yggZswikwHgxgmIoxgqYkwgk4DkxgmIkgoioBsgssoBgzgyI8g9gL8g9kI0wgwJoxgkoC0wgioFkw/wI0w53iF4gioYowjmgBHGq1qkgwBF1q1q8qBHwghuIwghyKk0goQkwgoQk3goQHGFHkyg0pBgxj6IoinkxDswno7Ikwhz9Bo0gioB8z48Rwli0xN0mpjoX8w78pDwltoqKHFGGwwgsIHFH3q1q16BFHWFZ1q10q1B2qlwq1B1q10q1B2q1yq1B6q1gq1Biq1qhxBir1qp1Bqt1q1qB1g1q1+B//3q16B///q1qBH/qlqq9Bholqq9B1i00a1q10qD1op1HkwmigEigiy6Cptogq1Bixo1kDq7/j00B2qgoBWGFm1lz50B6s5q1+BGWhggzhwBFFhgk4//Bo2jigE8wguI8wguI8wgugUog1qoB4qjmIwwi2KgkYHHH4lBgiFWkgIWoghssMmz5smrBZ3q1y50B5sm7gzBtz1smzB5smz50BqzqtmzB5sgzqzBF2/9//5BowgoIwmnkzPkwgk4C8ys65BkgoqI0wgy6FghquZo2giY0ghiIsgh24B4ghsQ8QF/v1q1OFs0O8iCHHF1qggz/B8wg6Iznv+//B08QgohsjK0QGFk7hsQ4gB';
this.n2_1 = decodeVarLenBase64(rangeCategory, fromBase64, 222);
}
var Letter_instance;
function Letter_getInstance() {
if (Letter_instance == null)
new Letter();
return Letter_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 Comparator() {
}
function isNaN_0(_this__u8e3s4) {
return !(_this__u8e3s4 === _this__u8e3s4);
}
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 countTrailingZeroBits(_this__u8e3s4) {
var low = _this__u8e3s4.e2_1;
return low === 0 ? 32 + countTrailingZeroBits_0(_this__u8e3s4.f2_1) | 0 : countTrailingZeroBits_0(low);
}
function rotateRight(_this__u8e3s4, bitCount) {
return _this__u8e3s4 << (32 - bitCount | 0) | (_this__u8e3s4 >>> bitCount | 0);
}
function countTrailingZeroBits_0(_this__u8e3s4) {
// Inline function 'kotlin.countLeadingZeroBits' call
var this_0 = ~(_this__u8e3s4 | (-_this__u8e3s4 | 0));
return 32 - clz32(this_0) | 0;
}
function Unit() {
}
protoOf(Unit).toString = function () {
return 'kotlin.Unit';
};
var Unit_instance;
function Unit_getInstance() {
return Unit_instance;
}
function ulongCompare(v1, v2) {
return bitwiseXor(v1, new Long(0, -2147483648)).g2(bitwiseXor(v2, new Long(0, -2147483648)));
}
function ulongDivide(v1, v2) {
// Inline function 'kotlin.ULong.toLong' call
var dividend = _ULong___get_data__impl__fggpzb(v1);
// Inline function 'kotlin.ULong.toLong' call
var divisor = _ULong___get_data__impl__fggpzb(v2);
if (compare(divisor, new Long(0, 0)) < 0) {
var tmp;
// Inline function 'kotlin.ULong.compareTo' call
if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
tmp = _ULong___init__impl__c78o9k(new Long(0, 0));
} else {
tmp = _ULong___init__impl__c78o9k(new Long(1, 0));
}
return tmp;
}
if (compare(dividend, new Long(0, 0)) >= 0) {
return _ULong___init__impl__c78o9k(divide(dividend, divisor));
}
var quotient = shiftLeft(divide(shiftRightUnsigned(dividend, 1), divisor), 1);
var rem = subtract(dividend, multiply(quotient, divisor));
var tmp_0;
var tmp0 = _ULong___init__impl__c78o9k(rem);
// Inline function 'kotlin.ULong.compareTo' call
var other = _ULong___init__impl__c78o9k(divisor);
if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) >= 0) {
tmp_0 = 1;
} else {
tmp_0 = 0;
}
// Inline function 'kotlin.Long.plus' call
var other_0 = tmp_0;
var tmp$ret$4 = add(quotient, fromInt(other_0));
return _ULong___init__impl__c78o9k(tmp$ret$4);
}
function ulongRemainder(v1, v2) {
// Inline function 'kotlin.ULong.toLong' call
var dividend = _ULong___get_data__impl__fggpzb(v1);
// Inline function 'kotlin.ULong.toLong' call
var divisor = _ULong___get_data__impl__fggpzb(v2);
if (compare(divisor, new Long(0, 0)) < 0) {
var tmp;
// Inline function 'kotlin.ULong.compareTo' call
if (ulongCompare(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)) < 0) {
tmp = v1;
} else {
// Inline function 'kotlin.ULong.minus' call
tmp = _ULong___init__impl__c78o9k(subtract(_ULong___get_data__impl__fggpzb(v1), _ULong___get_data__impl__fggpzb(v2)));
}
return tmp;
}
if (compare(dividend, new Long(0, 0)) >= 0) {
return _ULong___init__impl__c78o9k(modulo(dividend, divisor));
}
var quotient = shiftLeft(divide(shiftRightUnsigned(dividend, 1), divisor), 1);
var rem = subtract(dividend, multiply(quotient, divisor));
var tmp_0;
var tmp0 = _ULong___init__impl__c78o9k(rem);
// Inline function 'kotlin.ULong.compareTo' call
var other = _ULong___init__impl__c78o9k(divisor);
if (ulongCompare(_ULong___get_data__impl__fggpzb(tmp0), _ULong___get_data__impl__fggpzb(other)) >= 0) {
tmp_0 = divisor;
} else {
tmp_0 = new Long(0, 0);
}
return _ULong___init__impl__c78o9k(subtract(rem, tmp_0));
}
function ulongToString(value, base) {
if (compare(value, new Long(0, 0)) >= 0)
return toString_2(value, base);
// Inline function 'kotlin.Long.div' call
var this_0 = shiftRightUnsigned(value, 1);
var tmp$ret$0 = divide(this_0, fromInt(base));
var quotient = shiftLeft(tmp$ret$0, 1);
// Inline function 'kotlin.Long.times' call
var this_1 = quotient;
var tmp$ret$1 = multiply(this_1, fromInt(base));
var rem = subtract(value, tmp$ret$1);
if (compare(rem, fromInt(base)) >= 0) {
// Inline function 'kotlin.Long.minus' call
var this_2 = rem;
rem = subtract(this_2, fromInt(base));
// Inline function 'kotlin.Long.plus' call
var this_3 = quotient;
quotient = add(this_3, fromInt(1));
}
return toString_2(quotient, base) + toString_2(rem, base);
}
function collectionToArray(collection) {
return collectionToArrayCommonImpl(collection);
}
function mapOf(pair) {
return hashMapOf([pair]);
}
function mapCapacity(expectedSize) {
return expectedSize;
}
function arrayCopy(source, destination, destinationOffset, startIndex, endIndex) {
Companion_instance_5.j2(startIndex, endIndex, source.length);
var rangeSize = endIndex - startIndex | 0;
Companion_instance_5.j2(destinationOffset, destinationOffset + rangeSize | 0, destination.length);
if (isView(destination) && isView(source)) {
// Inline function 'kotlin.js.asDynamic' call
var subrange = source.subarray(startIndex, endIndex);
// Inline function 'kotlin.js.asDynamic' call
destination.set(subrange, destinationOffset);
} else {
if (!(source === destination) || destinationOffset <= startIndex) {
var inductionVariable = 0;
if (inductionVariable < rangeSize)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
destination[destinationOffset + index | 0] = source[startIndex + index | 0];
}
while (inductionVariable < rangeSize);
} else {
var inductionVariable_0 = rangeSize - 1 | 0;
if (0 <= inductionVariable_0)
do {
var index_0 = inductionVariable_0;
inductionVariable_0 = inductionVariable_0 + -1 | 0;
destination[destinationOffset + index_0 | 0] = source[startIndex + index_0 | 0];
}
while (0 <= inductionVariable_0);
}
}
}
function listOf(element) {
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$0 = [element];
return new ArrayList(tmp$ret$0);
}
function setOf(element) {
return hashSetOf([element]);
}
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 checkIndexOverflow(index) {
if (index < 0) {
throwIndexOverflow();
}
return index;
}
function checkCountOverflow(count) {
if (count < 0) {
throwCountOverflow();
}
return count;
}
function sortWith_0(_this__u8e3s4, comparator) {
collectionsSort(_this__u8e3s4, comparator);
}
function collectionsSort(list, comparator) {
if (list.k() <= 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.o2(i, array[i]);
}
while (inductionVariable < last);
}
function AbstractMutableCollection() {
AbstractCollection.call(this);
}
protoOf(AbstractMutableCollection).p = function (elements) {
this.p2();
var modified = false;
var _iterator__ex2g4s = elements.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
if (this.e(element))
modified = true;
}
return modified;
};
protoOf(AbstractMutableCollection).toJSON = function () {
return this.toArray();
};
protoOf(AbstractMutableCollection).p2 = function () {
};
function IteratorImpl($outer) {
this.s2_1 = $outer;
this.q2_1 = 0;
this.r2_1 = -1;
}
protoOf(IteratorImpl).h = function () {
return this.q2_1 < this.s2_1.k();
};
protoOf(IteratorImpl).i = function () {
if (!this.h())
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.q2_1;
this.q2_1 = _unary__edvuaz + 1 | 0;
tmp.r2_1 = _unary__edvuaz;
return this.s2_1.j(this.r2_1);
};
function SubList(list, fromIndex, toIndex) {
AbstractMutableList.call(this);
this.u2_1 = list;
this.v2_1 = fromIndex;
this.w2_1 = 0;
Companion_instance_5.j2(this.v2_1, toIndex, this.u2_1.k());
this.w2_1 = toIndex - this.v2_1 | 0;
}
protoOf(SubList).x2 = function (index, element) {
Companion_instance_5.y2(index, this.w2_1);
this.u2_1.x2(this.v2_1 + index | 0, element);
this.w2_1 = this.w2_1 + 1 | 0;
};
protoOf(SubList).j = function (index) {
Companion_instance_5.a3(index, this.w2_1);
return this.u2_1.j(this.v2_1 + index | 0);
};
protoOf(SubList).b3 = function (index) {
Companion_instance_5.a3(index, this.w2_1);
var result = this.u2_1.b3(this.v2_1 + index | 0);
this.w2_1 = this.w2_1 - 1 | 0;
return result;
};
protoOf(SubList).o2 = function (index, element) {
Companion_instance_5.a3(index, this.w2_1);
return this.u2_1.o2(this.v2_1 + index | 0, element);
};
protoOf(SubList).k = function () {
return this.w2_1;
};
protoOf(SubList).p2 = function () {
return this.u2_1.p2();
};
function AbstractMutableList() {
AbstractMutableCollection.call(this);
this.z2_1 = 0;
}
protoOf(AbstractMutableList).e = function (element) {
this.p2();
this.x2(this.k(), element);
return true;
};
protoOf(AbstractMutableList).g = function () {
return new IteratorImpl(this);
};
protoOf(AbstractMutableList).k1 = function (element) {
return this.l1(element) >= 0;
};
protoOf(AbstractMutableList).l1 = function (element) {
var tmp$ret$0;
$l$block: {
// Inline function 'kotlin.collections.indexOfFirst' call
var index = 0;
var _iterator__ex2g4s = this.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
if (equals(item, element)) {
tmp$ret$0 = index;
break $l$block;
}
index = index + 1 | 0;
}
tmp$ret$0 = -1;
}
return tmp$ret$0;
};
protoOf(AbstractMutableList).m1 = function (fromIndex, toIndex) {
return new SubList(this, fromIndex, toIndex);
};
protoOf(AbstractMutableList).equals = function (other) {
if (other === this)
return true;
if (!(!(other == null) ? isInterface(other, KtList) : false))
return false;
return Companion_instance_5.c3(this, other);
};
protoOf(AbstractMutableList).hashCode = function () {
return Companion_instance_5.d3(this);
};
function AbstractMutableMap() {
AbstractMap.call(this);
this.g3_1 = null;
this.h3_1 = null;
}
protoOf(AbstractMutableMap).i3 = function () {
return new HashMapKeysDefault(this);
};
protoOf(AbstractMutableMap).j3 = function () {
return new HashMapValuesDefault(this);
};
protoOf(AbstractMutableMap).t1 = function () {
var tmp0_elvis_lhs = this.g3_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = this.i3();
this.g3_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(AbstractMutableMap).u1 = function () {
var tmp0_elvis_lhs = this.h3_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = this.j3();
this.h3_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(AbstractMutableMap).p2 = 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.n3(this, other);
};
protoOf(AbstractMutableSet).hashCode = function () {
return Companion_instance_7.o3(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_1(_this__u8e3s4, newSize);
}
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.o_1 = true;
tmp.p3_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.k();
// Inline function 'kotlin.js.asDynamic' call
$this.n_1.length = $this.k() + amount | 0;
return previous;
}
function rangeCheck($this, index) {
// Inline function 'kotlin.apply' call
Companion_instance_5.a3(index, $this.k());
return index;
}
function insertionRangeCheck($this, index) {
// Inline function 'kotlin.apply' call
Companion_instance_5.y2(index, $this.k());
return index;
}
function ArrayList(array) {
Companion_getInstance_2();
AbstractMutableList.call(this);
this.n_1 = array;
this.o_1 = false;
}
protoOf(ArrayList).q3 = function (minCapacity) {
};
protoOf(ArrayList).k = function () {
return this.n_1.length;
};
protoOf(ArrayList).j = function (index) {
return this.n_1[rangeCheck(this, index)];
};
protoOf(ArrayList).o2 = function (index, element) {
this.p2();
rangeCheck(this, index);
// Inline function 'kotlin.apply' call
var this_0 = this.n_1[index];
this.n_1[index] = element;
return this_0;
};
protoOf(ArrayList).e = function (element) {
this.p2();
// Inline function 'kotlin.js.asDynamic' call
this.n_1.push(element);
this.z2_1 = this.z2_1 + 1 | 0;
return true;
};
protoOf(ArrayList).x2 = function (index, element) {
this.p2();
// Inline function 'kotlin.js.asDynamic' call
this.n_1.splice(insertionRangeCheck(this, index), 0, element);
this.z2_1 = this.z2_1 + 1 | 0;
};
protoOf(ArrayList).p = function (elements) {
this.p2();
if (elements.l())
return false;
var offset = increaseLength(this, elements.k());
// Inline function 'kotlin.collections.forEachIndexed' call
var index = 0;
var _iterator__ex2g4s = elements.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
var index_0 = checkIndexOverflow(_unary__edvuaz);
this.n_1[offset + index_0 | 0] = item;
}
this.z2_1 = this.z2_1 + 1 | 0;
return true;
};
protoOf(ArrayList).b3 = function (index) {
this.p2();
rangeCheck(this, index);
this.z2_1 = this.z2_1 + 1 | 0;
var tmp;
if (index === get_lastIndex_2(this)) {
// Inline function 'kotlin.js.asDynamic' call
tmp = this.n_1.pop();
} else {
// Inline function 'kotlin.js.asDynamic' call
tmp = this.n_1.splice(index, 1)[0];
}
return tmp;
};
protoOf(ArrayList).l1 = function (element) {
return indexOf(this.n_1, element);
};
protoOf(ArrayList).toString = function () {
return arrayToString(this.n_1);
};
protoOf(ArrayList).r3 = function () {
return [].slice.call(this.n_1);
};
protoOf(ArrayList).toArray = function () {
return this.r3();
};
protoOf(ArrayList).p2 = function () {
if (this.o_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(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 sortArrayWith$lambda($comparator) {
return function (a, b) {
return $comparator.compare(a, b);
};
}
function getStableSortingIsSupported$lambda(a, b) {
return (a & 3) - (b & 3) | 0;
}
function HashMap_init_$Init$(internalMap, $this) {
AbstractMutableMap.call($this);
HashMap.call($this);
$this.w3_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$_1(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$_0(original), $this);
return $this;
}
protoOf(HashMap).q1 = function (key) {
return this.w3_1.y3(key);
};
protoOf(HashMap).r1 = function (value) {
return this.w3_1.r1(value);
};
protoOf(HashMap).i3 = function () {
return new HashMapKeys(this.w3_1);
};
protoOf(HashMap).j3 = function () {
return new HashMapValues(this.w3_1);
};
protoOf(HashMap).v1 = function () {
var tmp0_elvis_lhs = this.x3_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.also' call
var this_0 = new HashMapEntrySet(this.w3_1);
this.x3_1 = this_0;
tmp = this_0;
} else {
tmp = tmp0_elvis_lhs;
}
return tmp;
};
protoOf(HashMap).s1 = function (key) {
return this.w3_1.s1(key);
};
protoOf(HashMap).w1 = function (key, value) {
return this.w3_1.w1(key, value);
};
protoOf(HashMap).k = function () {
return this.w3_1.k();
};
function HashMap() {
this.x3_1 = null;
}
function HashMapKeys(backing) {
AbstractMutableSet.call(this);
this.z3_1 = backing;
}
protoOf(HashMapKeys).k = function () {
return this.z3_1.k();
};
protoOf(HashMapKeys).l = function () {
return this.z3_1.k() === 0;
};
protoOf(HashMapKeys).k1 = function (element) {
return this.z3_1.y3(element);
};
protoOf(HashMapKeys).e = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapKeys).p = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapKeys).g = function () {
return this.z3_1.a4();
};
protoOf(HashMapKeys).p2 = function () {
return this.z3_1.b4();
};
function HashMapValues(backing) {
AbstractMutableCollection.call(this);
this.c4_1 = backing;
}
protoOf(HashMapValues).k = function () {
return this.c4_1.k();
};
protoOf(HashMapValues).l = function () {
return this.c4_1.k() === 0;
};
protoOf(HashMapValues).d4 = function (element) {
return this.c4_1.r1(element);
};
protoOf(HashMapValues).k1 = function (element) {
if (!true)
return false;
return this.d4(element);
};
protoOf(HashMapValues).e4 = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapValues).e = function (element) {
return this.e4(element);
};
protoOf(HashMapValues).f4 = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapValues).p = function (elements) {
return this.f4(elements);
};
protoOf(HashMapValues).g = function () {
return this.c4_1.g4();
};
protoOf(HashMapValues).p2 = function () {
return this.c4_1.b4();
};
function HashMapEntrySet(backing) {
HashMapEntrySetBase.call(this, backing);
}
protoOf(HashMapEntrySet).g = function () {
return this.i4_1.j4();
};
function HashMapEntrySetBase(backing) {
AbstractMutableSet.call(this);
this.i4_1 = backing;
}
protoOf(HashMapEntrySetBase).k = function () {
return this.i4_1.k();
};
protoOf(HashMapEntrySetBase).l = function () {
return this.i4_1.k() === 0;
};
protoOf(HashMapEntrySetBase).k4 = function (element) {
return this.i4_1.m4(element);
};
protoOf(HashMapEntrySetBase).k1 = function (element) {
if (!(!(element == null) ? isInterface(element, Entry) : false))
return false;
return this.k4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
};
protoOf(HashMapEntrySetBase).l4 = function (element) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapEntrySetBase).e = function (element) {
return this.l4((!(element == null) ? isInterface(element, Entry) : false) ? element : THROW_CCE());
};
protoOf(HashMapEntrySetBase).p = function (elements) {
throw UnsupportedOperationException_init_$Create$();
};
protoOf(HashMapEntrySetBase).n1 = function (elements) {
return this.i4_1.n4(elements);
};
protoOf(HashMapEntrySetBase).p2 = function () {
return this.i4_1.b4();
};
function HashMapKeysDefault$iterator$1($entryIterator) {
this.o4_1 = $entryIterator;
}
protoOf(HashMapKeysDefault$iterator$1).h = function () {
return this.o4_1.h();
};
protoOf(HashMapKeysDefault$iterator$1).i = function () {
return this.o4_1.i().o1();
};
function HashMapKeysDefault(backingMap) {
AbstractMutableSet.call(this);
this.p4_1 = backingMap;
}
protoOf(HashMapKeysDefault).q4 = function (element) {
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on keys');
};
protoOf(HashMapKeysDefault).e = function (element) {
return this.q4(element);
};
protoOf(HashMapKeysDefault).y3 = function (element) {
return this.p4_1.q1(element);
};
protoOf(HashMapKeysDefault).k1 = function (element) {
if (!true)
return false;
return this.y3(element);
};
protoOf(HashMapKeysDefault).g = function () {
var entryIterator = this.p4_1.v1().g();
return new HashMapKeysDefault$iterator$1(entryIterator);
};
protoOf(HashMapKeysDefault).k = function () {
return this.p4_1.k();
};
protoOf(HashMapKeysDefault).p2 = function () {
return this.p4_1.p2();
};
function HashMapValuesDefault$iterator$1($entryIterator) {
this.r4_1 = $entryIterator;
}
protoOf(HashMapValuesDefault$iterator$1).h = function () {
return this.r4_1.h();
};
protoOf(HashMapValuesDefault$iterator$1).i = function () {
return this.r4_1.i().p1();
};
function HashMapValuesDefault(backingMap) {
AbstractMutableCollection.call(this);
this.s4_1 = backingMap;
}
protoOf(HashMapValuesDefault).e4 = function (element) {
throw UnsupportedOperationException_init_$Create$_0('Add is not supported on values');
};
protoOf(HashMapValuesDefault).e = function (element) {
return this.e4(element);
};
protoOf(HashMapValuesDefault).d4 = function (element) {
return this.s4_1.r1(element);
};
protoOf(HashMapValuesDefault).k1 = function (element) {
if (!true)
return false;
return this.d4(element);
};
protoOf(HashMapValuesDefault).g = function () {
var entryIterator = this.s4_1.v1().g();
return new HashMapValuesDefault$iterator$1(entryIterator);
};
protoOf(HashMapValuesDefault).k = function () {
return this.s4_1.k();
};
protoOf(HashMapValuesDefault).p2 = function () {
return this.s4_1.p2();
};
function HashSet_init_$Init$(map, $this) {
AbstractMutableSet.call($this);
HashSet.call($this);
$this.t4_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(initialCapacity, loadFactor, $this) {
HashSet_init_$Init$(InternalHashMap_init_$Create$_1(initialCapacity, loadFactor), $this);
return $this;
}
function HashSet_init_$Init$_2(initialCapacity, $this) {
HashSet_init_$Init$_1(initialCapacity, 1.0, $this);
return $this;
}
function HashSet_init_$Create$_0(initialCapacity) {
return HashSet_init_$Init$_2(initialCapacity, objectCreate(protoOf(HashSet)));
}
protoOf(HashSet).e = function (element) {
return this.t4_1.w1(element, true) == null;
};
protoOf(HashSet).k1 = function (element) {
return this.t4_1.y3(element);
};
protoOf(HashSet).l = function () {
return this.t4_1.k() === 0;
};
protoOf(HashSet).g = function () {
return this.t4_1.a4();
};
protoOf(HashSet).k = function () {
return this.t4_1.k();
};
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.e5_1.b5_1 === $this.g5_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_$Init$_1(original, $this) {
InternalHashMap_init_$Init$_0(original.k(), $this);
$this.h5(original);
return $this;
}
function InternalHashMap_init_$Create$_0(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$_1(initialCapacity, loadFactor) {
return InternalHashMap_init_$Init$_2(initialCapacity, loadFactor, objectCreate(protoOf(InternalHashMap)));
}
function _get_capacity__a9k9f3($this) {
return $this.u4_1.length;
}
function _get_hashSize__tftcho($this) {
return $this.x4_1.length;
}
function registerModification($this) {
$this.b5_1 = $this.b5_1 + 1 | 0;
}
function ensureExtraCapacity($this, n) {
if (shouldCompact($this, n)) {
compact($this, true);
} else {
ensureCapacity($this, $this.z4_1 + n | 0);
}
}
function shouldCompact($this, extraCapacity) {
var spareCapacity = _get_capacity__a9k9f3($this) - $this.z4_1 | 0;
var gaps = $this.z4_1 - $this.k() | 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.i5(_get_capacity__a9k9f3($this), minCapacity);
$this.u4_1 = copyOfUninitializedElements($this.u4_1, newSize);
var tmp = $this;
var tmp0_safe_receiver = $this.v4_1;
tmp.v4_1 = tmp0_safe_receiver == null ? null : copyOfUninitializedElements(tmp0_safe_receiver, newSize);
$this.w4_1 = copyOf($this.w4_1, newSize);
var newHashSize = computeHashSize(Companion_instance_3, newSize);
if (newHashSize > _get_hashSize__tftcho($this)) {
rehash($this, newHashSize);
}
}
}
function allocateValuesArray($this) {
var curValuesArray = $this.v4_1;
if (!(curValuesArray == null))
return curValuesArray;
var newValuesArray = arrayOfUninitializedElements(_get_capacity__a9k9f3($this));
$this.v4_1 = newValuesArray;
return newValuesArray;
}
function hash($this, key) {
return key == null ? 0 : imul(hashCode_0(key), -1640531527) >>> $this.a5_1 | 0;
}
function compact($this, updateHashArray) {
var i = 0;
var j = 0;
var valuesArray = $this.v4_1;
while (i < $this.z4_1) {
var hash = $this.w4_1[i];
if (hash >= 0) {
$this.u4_1[j] = $this.u4_1[i];
if (!(valuesArray == null)) {
valuesArray[j] = valuesArray[i];
}
if (updateHashArray) {
$this.w4_1[j] = hash;
$this.x4_1[hash] = j + 1 | 0;
}
j = j + 1 | 0;
}
i = i + 1 | 0;
}
resetRange($this.u4_1, j, $this.z4_1);
if (valuesArray == null)
null;
else {
resetRange(valuesArray, j, $this.z4_1);
}
$this.z4_1 = j;
}
function rehash($this, newHashSize) {
registerModification($this);
if ($this.z4_1 > $this.c5_1) {
compact($this, false);
}
$this.x4_1 = new Int32Array(newHashSize);
$this.a5_1 = computeShift(Companion_instance_3, newHashSize);
var i = 0;
while (i < $this.z4_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.u4_1[i]);
var probesLeft = $this.y4_1;
while (true) {
var index = $this.x4_1[hash_0];
if (index === 0) {
$this.x4_1[hash_0] = i + 1 | 0;
$this.w4_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.y4_1;
while (true) {
var index = $this.x4_1[hash_0];
if (index === 0)
return -1;
if (equals($this.u4_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.z4_1;
$l$loop: while (true) {
i = i - 1 | 0;
if (!(i >= 0)) {
break $l$loop;
}
if ($this.w4_1[i] >= 0 && equals(ensureNotNull($this.v4_1)[i], value))
return i;
}
return -1;
}
function addKey($this, key) {
$this.b4();
retry: while (true) {
var hash_0 = hash($this, key);
var tentativeMaxProbeDistance = coerceAtMost(imul($this.y4_1, 2), _get_hashSize__tftcho($this) / 2 | 0);
var probeDistance = 0;
while (true) {
var index = $this.x4_1[hash_0];
if (index === 0) {
if ($this.z4_1 >= _get_capacity__a9k9f3($this)) {
ensureExtraCapacity($this, 1);
continue retry;
}
var _unary__edvuaz = $this.z4_1;
$this.z4_1 = _unary__edvuaz + 1 | 0;
var putIndex = _unary__edvuaz;
$this.u4_1[putIndex] = key;
$this.w4_1[putIndex] = hash_0;
$this.x4_1[hash_0] = putIndex + 1 | 0;
$this.c5_1 = $this.c5_1 + 1 | 0;
registerModification($this);
if (probeDistance > $this.y4_1)
$this.y4_1 = probeDistance;
return putIndex;
}
if (equals($this.u4_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 contentEquals_1($this, other) {
return $this.c5_1 === other.k() && $this.n4(other.v1());
}
function putEntry($this, entry) {
var index = addKey($this, entry.o1());
var valuesArray = allocateValuesArray($this);
if (index >= 0) {
valuesArray[index] = entry.p1();
return true;
}
var oldValue = valuesArray[(-index | 0) - 1 | 0];
if (!equals(entry.p1(), oldValue)) {
valuesArray[(-index | 0) - 1 | 0] = entry.p1();
return true;
}
return false;
}
function putAllEntries($this, from) {
if (from.l())
return false;
ensureExtraCapacity($this, from.k());
var it = from.g();
var updated = false;
while (it.h()) {
if (putEntry($this, it.i()))
updated = true;
}
return updated;
}
function Companion_3() {
this.j5_1 = -1640531527;
this.k5_1 = 8;
this.l5_1 = 2;
this.m5_1 = -1;
}
var Companion_instance_3;
function Companion_getInstance_3() {
return Companion_instance_3;
}
function Itr(map) {
this.n5_1 = map;
this.o5_1 = 0;
this.p5_1 = -1;
this.q5_1 = this.n5_1.b5_1;
this.r5();
}
protoOf(Itr).r5 = function () {
while (this.o5_1 < this.n5_1.z4_1 && this.n5_1.w4_1[this.o5_1] < 0) {
this.o5_1 = this.o5_1 + 1 | 0;
}
};
protoOf(Itr).h = function () {
return this.o5_1 < this.n5_1.z4_1;
};
protoOf(Itr).s5 = function () {
if (!(this.n5_1.b5_1 === this.q5_1))
throw ConcurrentModificationException_init_$Create$();
};
function KeysItr(map) {
Itr.call(this, map);
}
protoOf(KeysItr).i = function () {
this.s5();
if (this.o5_1 >= this.n5_1.z4_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.o5_1;
this.o5_1 = _unary__edvuaz + 1 | 0;
tmp.p5_1 = _unary__edvuaz;
var result = this.n5_1.u4_1[this.p5_1];
this.r5();
return result;
};
function ValuesItr(map) {
Itr.call(this, map);
}
protoOf(ValuesItr).i = function () {
this.s5();
if (this.o5_1 >= this.n5_1.z4_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.o5_1;
this.o5_1 = _unary__edvuaz + 1 | 0;
tmp.p5_1 = _unary__edvuaz;
var result = ensureNotNull(this.n5_1.v4_1)[this.p5_1];
this.r5();
return result;
};
function EntriesItr(map) {
Itr.call(this, map);
}
protoOf(EntriesItr).i = function () {
this.s5();
if (this.o5_1 >= this.n5_1.z4_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.o5_1;
this.o5_1 = _unary__edvuaz + 1 | 0;
tmp.p5_1 = _unary__edvuaz;
var result = new EntryRef(this.n5_1, this.p5_1);
this.r5();
return result;
};
protoOf(EntriesItr).f6 = function () {
if (this.o5_1 >= this.n5_1.z4_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.o5_1;
this.o5_1 = _unary__edvuaz + 1 | 0;
tmp.p5_1 = _unary__edvuaz;
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver = this.n5_1.u4_1[this.p5_1];
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode_0(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.n5_1.v4_1)[this.p5_1];
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode_0(tmp0_safe_receiver_0);
var result = tmp_0 ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
this.r5();
return result;
};
protoOf(EntriesItr).g6 = function (sb) {
if (this.o5_1 >= this.n5_1.z4_1)
throw NoSuchElementException_init_$Create$();
var tmp = this;
var _unary__edvuaz = this.o5_1;
this.o5_1 = _unary__edvuaz + 1 | 0;
tmp.p5_1 = _unary__edvuaz;
var key = this.n5_1.u4_1[this.p5_1];
if (equals(key, this.n5_1))
sb.j6('(this Map)');
else
sb.i6(key);
sb.k6(_Char___init__impl__6a9atx(61));
var value = ensureNotNull(this.n5_1.v4_1)[this.p5_1];
if (equals(value, this.n5_1))
sb.j6('(this Map)');
else
sb.i6(value);
this.r5();
};
function EntryRef(map, index) {
this.e5_1 = map;
this.f5_1 = index;
this.g5_1 = this.e5_1.b5_1;
}
protoOf(EntryRef).o1 = function () {
checkForComodification(this);
return this.e5_1.u4_1[this.f5_1];
};
protoOf(EntryRef).p1 = function () {
checkForComodification(this);
return ensureNotNull(this.e5_1.v4_1)[this.f5_1];
};
protoOf(EntryRef).equals = function (other) {
var tmp;
var tmp_0;
if (!(other == null) ? isInterface(other, Entry) : false) {
tmp_0 = equals(other.o1(), this.o1());
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = equals(other.p1(), this.p1());
} else {
tmp = false;
}
return tmp;
};
protoOf(EntryRef).hashCode = function () {
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver = this.o1();
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode_0(tmp0_safe_receiver);
var tmp = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
// Inline function 'kotlin.hashCode' call
var tmp0_safe_receiver_0 = this.p1();
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode_0(tmp0_safe_receiver_0);
return tmp ^ (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0);
};
protoOf(EntryRef).toString = function () {
return toString_0(this.o1()) + '=' + toString_0(this.p1());
};
function InternalHashMap(keysArray, valuesArray, presenceArray, hashArray, maxProbeDistance, length) {
this.u4_1 = keysArray;
this.v4_1 = valuesArray;
this.w4_1 = presenceArray;
this.x4_1 = hashArray;
this.y4_1 = maxProbeDistance;
this.z4_1 = length;
this.a5_1 = computeShift(Companion_instance_3, _get_hashSize__tftcho(this));
this.b5_1 = 0;
this.c5_1 = 0;
this.d5_1 = false;
}
protoOf(InternalHashMap).k = function () {
return this.c5_1;
};
protoOf(InternalHashMap).r1 = function (value) {
return findValue(this, value) >= 0;
};
protoOf(InternalHashMap).s1 = function (key) {
var index = findKey(this, key);
if (index < 0)
return null;
return ensureNotNull(this.v4_1)[index];
};
protoOf(InternalHashMap).y3 = function (key) {
return findKey(this, key) >= 0;
};
protoOf(InternalHashMap).w1 = 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).h5 = function (from) {
this.b4();
putAllEntries(this, from.v1());
};
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.j4();
while (it.h()) {
result = result + it.f6() | 0;
}
return result;
};
protoOf(InternalHashMap).toString = function () {
var sb = StringBuilder_init_$Create$(2 + imul(this.c5_1, 3) | 0);
sb.j6('{');
var i = 0;
var it = this.j4();
while (it.h()) {
if (i > 0) {
sb.j6(', ');
}
it.g6(sb);
i = i + 1 | 0;
}
sb.j6('}');
return sb.toString();
};
protoOf(InternalHashMap).b4 = function () {
if (this.d5_1)
throw UnsupportedOperationException_init_$Create$();
};
protoOf(InternalHashMap).m4 = function (entry) {
var index = findKey(this, entry.o1());
if (index < 0)
return false;
return equals(ensureNotNull(this.v4_1)[index], entry.p1());
};
protoOf(InternalHashMap).l6 = function (entry) {
return this.m4(isInterface(entry, Entry) ? entry : THROW_CCE());
};
protoOf(InternalHashMap).a4 = function () {
return new KeysItr(this);
};
protoOf(InternalHashMap).g4 = function () {
return new ValuesItr(this);
};
protoOf(InternalHashMap).j4 = 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)));
}
protoOf(LinkedHashMap).p2 = function () {
return this.w3_1.b4();
};
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(initialCapacity, loadFactor, $this) {
HashSet_init_$Init$_1(initialCapacity, loadFactor, $this);
LinkedHashSet.call($this);
return $this;
}
function LinkedHashSet_init_$Init$_1(initialCapacity, $this) {
LinkedHashSet_init_$Init$_0(initialCapacity, 1.0, $this);
return $this;
}
function LinkedHashSet_init_$Create$_0(initialCapacity) {
return LinkedHashSet_init_$Init$_1(initialCapacity, objectCreate(protoOf(LinkedHashSet)));
}
protoOf(LinkedHashSet).p2 = function () {
return this.t4_1.b4();
};
function LinkedHashSet() {
}
function get_output() {
_init_properties_console_kt__rfg7jv();
return output;
}
var output;
function BaseOutput() {
}
protoOf(BaseOutput).t6 = function () {
this.u6('\n');
};
protoOf(BaseOutput).v6 = function (message) {
this.u6(message);
this.t6();
};
function NodeJsOutput(outputStream) {
BaseOutput.call(this);
this.w6_1 = outputStream;
}
protoOf(NodeJsOutput).u6 = 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.w6_1.write(messageString);
};
function BufferedOutputToConsoleLog() {
BufferedOutput.call(this);
}
protoOf(BufferedOutputToConsoleLog).u6 = 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.y6_1 = this.y6_1 + substring(s, 0, i);
this.z6();
s = substring_0(s, i + 1 | 0);
}
this.y6_1 = this.y6_1 + s;
};
protoOf(BufferedOutputToConsoleLog).z6 = function () {
console.log(this.y6_1);
this.y6_1 = '';
};
function BufferedOutput() {
BaseOutput.call(this);
this.y6_1 = '';
}
protoOf(BufferedOutput).u6 = function (message) {
var tmp = this;
var tmp_0 = this.y6_1;
// Inline function 'kotlin.io.String' call
var tmp1_elvis_lhs = message == null ? null : toString_1(message);
tmp.y6_1 = tmp_0 + (tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs);
};
function println(message) {
_init_properties_console_kt__rfg7jv();
get_output().v6(message);
}
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.b7_1 = resultContinuation;
this.c7_1 = 0;
this.d7_1 = 0;
this.e7_1 = null;
this.f7_1 = null;
this.g7_1 = null;
var tmp = this;
var tmp0_safe_receiver = this.b7_1;
tmp.h7_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i7();
}
protoOf(CoroutineImpl).i7 = function () {
return ensureNotNull(this.h7_1);
};
protoOf(CoroutineImpl).j7 = function (result) {
var current = this;
// Inline function 'kotlin.Result.getOrNull' call
var currentResult = _Result___get_isFailure__impl__jpiriv(result) ? null : _Result___get_value__impl__bjfvqg(result);
var currentException = Result__exceptionOrNull_impl_p6xea9(result);
while (true) {
// Inline function 'kotlin.with' call
var $this$with = current;
if (currentException == null) {
$this$with.e7_1 = currentResult;
} else {
$this$with.c7_1 = $this$with.d7_1;
$this$with.f7_1 = currentException;
}
try {
var outcome = $this$with.k7();
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.m7();
var completion = ensureNotNull($this$with.b7_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 = currentException;
var tmp$ret$5 = _Result___init__impl__xyqfz8(createFailure(exception_0));
completion.n7(tmp$ret$5);
} else {
// Inline function 'kotlin.coroutines.resume' call
// Inline function 'kotlin.Companion.success' call
var value = currentResult;
var tmp$ret$7 = _Result___init__impl__xyqfz8(value);
completion.n7(tmp$ret$7);
}
return Unit_instance;
}
}
};
protoOf(CoroutineImpl).n7 = function (result) {
return this.j7(result);
};
function CompletedContinuation() {
}
protoOf(CompletedContinuation).i7 = function () {
// Inline function 'kotlin.error' call
var message = 'This continuation is already complete';
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(CompletedContinuation).j7 = function (result) {
// Inline function 'kotlin.error' call
var message = 'This continuation is already complete';
throw IllegalStateException_init_$Create$_0(toString_1(message));
};
protoOf(CompletedContinuation).n7 = function (result) {
return this.j7(result);
};
protoOf(CompletedContinuation).toString = function () {
return 'This continuation is already complete';
};
var CompletedContinuation_instance;
function CompletedContinuation_getInstance() {
return CompletedContinuation_instance;
}
function InterceptedCoroutine() {
this.l7_1 = null;
}
protoOf(InterceptedCoroutine).m7 = function () {
var intercepted = this.l7_1;
if (!(intercepted == null) && !(intercepted === this)) {
ensureNotNull(this.i7().o7(Key_instance)).p7(intercepted);
}
this.l7_1 = CompletedContinuation_instance;
};
function startCoroutineUninterceptedOrReturnNonGeneratorVersion(_this__u8e3s4, receiver, param, completion) {
var tmp;
if (!(completion instanceof InterceptedCoroutine)) {
tmp = createSimpleCoroutineForSuspendFunction(completion);
} else {
tmp = completion;
}
var wrappedCompletion = tmp;
// Inline function 'kotlin.js.asDynamic' call
var a = _this__u8e3s4;
return typeof a === 'function' ? a(receiver, param, wrappedCompletion) : _this__u8e3s4.q7(receiver, param, wrappedCompletion);
}
function createSimpleCoroutineForSuspendFunction(completion) {
return new createSimpleCoroutineForSuspendFunction$1(completion);
}
function invokeSuspendSuperTypeWithReceiverAndParam(_this__u8e3s4, receiver, param, completion) {
throw new NotImplementedError('It is intrinsic method');
}
function createSimpleCoroutineForSuspendFunction$1($completion) {
CoroutineImpl.call(this, isInterface($completion, Continuation) ? $completion : THROW_CCE());
}
protoOf(createSimpleCoroutineForSuspendFunction$1).k7 = function () {
if (this.f7_1 != null)
throw this.f7_1;
return this.e7_1;
};
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 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 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() {
captureStack(this, IllegalArgumentException);
}
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 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 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 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 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 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 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_0() {
captureStack(this, Error_0);
}
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 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 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 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 lazy(mode, 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 KClass() {
}
function PrimitiveKClassImpl(jClass, givenSimpleName, isInstanceFunction) {
KClassImpl.call(this);
this.d8_1 = jClass;
this.e8_1 = givenSimpleName;
this.f8_1 = isInstanceFunction;
}
protoOf(PrimitiveKClassImpl).g8 = function () {
return this.d8_1;
};
protoOf(PrimitiveKClassImpl).equals = function (other) {
if (!(other instanceof PrimitiveKClassImpl))
return false;
return protoOf(KClassImpl).equals.call(this, other) && this.e8_1 === other.e8_1;
};
protoOf(PrimitiveKClassImpl).b8 = function () {
return this.e8_1;
};
protoOf(PrimitiveKClassImpl).c8 = function (value) {
return this.f8_1(value);
};
function KClassImpl() {
}
protoOf(KClassImpl).equals = function (other) {
var tmp;
if (other instanceof NothingKClassImpl) {
tmp = false;
} else {
if (other instanceof KClassImpl) {
tmp = equals(this.g8(), other.g8());
} else {
tmp = false;
}
}
return tmp;
};
protoOf(KClassImpl).hashCode = function () {
var tmp0_safe_receiver = this.b8();
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.b8();
};
function NothingKClassImpl() {
NothingKClassImpl_instance = this;
KClassImpl.call(this);
this.h8_1 = 'Nothing';
}
protoOf(NothingKClassImpl).b8 = function () {
return this.h8_1;
};
protoOf(NothingKClassImpl).c8 = function (value) {
return false;
};
protoOf(NothingKClassImpl).g8 = 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 SimpleKClassImpl(jClass) {
KClassImpl.call(this);
this.i8_1 = jClass;
var tmp = this;
// Inline function 'kotlin.js.asDynamic' call
var tmp0_safe_receiver = this.i8_1.$metadata$;
// Inline function 'kotlin.js.unsafeCast' call
tmp.j8_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.simpleName;
}
protoOf(SimpleKClassImpl).g8 = function () {
return this.i8_1;
};
protoOf(SimpleKClassImpl).b8 = function () {
return this.j8_1;
};
protoOf(SimpleKClassImpl).c8 = function (value) {
return jsIsType(value, this.i8_1);
};
function KProperty1() {
}
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$longClass$lambda(it) {
return it instanceof Long;
}
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$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
// Inline function 'kotlin.js.asDynamic' call
var tmp_12 = typeof BigInt === 'undefined' ? VOID : BigInt;
tmp_11.longClass = new PrimitiveKClassImpl(tmp_12, 'Long', PrimitiveClasses$longClass$lambda);
var tmp_13 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_14 = Number;
tmp_13.floatClass = new PrimitiveKClassImpl(tmp_14, 'Float', PrimitiveClasses$floatClass$lambda);
var tmp_15 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_16 = Number;
tmp_15.doubleClass = new PrimitiveKClassImpl(tmp_16, 'Double', PrimitiveClasses$doubleClass$lambda);
var tmp_17 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_18 = Array;
tmp_17.arrayClass = new PrimitiveKClassImpl(tmp_18, 'Array', PrimitiveClasses$arrayClass$lambda);
var tmp_19 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_20 = String;
tmp_19.stringClass = new PrimitiveKClassImpl(tmp_20, 'String', PrimitiveClasses$stringClass$lambda);
var tmp_21 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_22 = Error;
tmp_21.throwableClass = new PrimitiveKClassImpl(tmp_22, 'Throwable', PrimitiveClasses$throwableClass$lambda);
var tmp_23 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_24 = Array;
tmp_23.booleanArrayClass = new PrimitiveKClassImpl(tmp_24, 'BooleanArray', PrimitiveClasses$booleanArrayClass$lambda);
var tmp_25 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_26 = Uint16Array;
tmp_25.charArrayClass = new PrimitiveKClassImpl(tmp_26, 'CharArray', PrimitiveClasses$charArrayClass$lambda);
var tmp_27 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_28 = Int8Array;
tmp_27.byteArrayClass = new PrimitiveKClassImpl(tmp_28, 'ByteArray', PrimitiveClasses$byteArrayClass$lambda);
var tmp_29 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_30 = Int16Array;
tmp_29.shortArrayClass = new PrimitiveKClassImpl(tmp_30, 'ShortArray', PrimitiveClasses$shortArrayClass$lambda);
var tmp_31 = this;
// Inline function 'kotlin.js.unsafeCast' call
var tmp_32 = Int32Array;
tmp_31.intArrayClass = new PrimitiveKClassImpl(tmp_32, 'IntArray', PrimitiveClasses$intArrayClass$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).k8 = function () {
return this.anyClass;
};
protoOf(PrimitiveClasses).l8 = function () {
return this.numberClass;
};
protoOf(PrimitiveClasses).m8 = function () {
return this.nothingClass;
};
protoOf(PrimitiveClasses).n8 = function () {
return this.booleanClass;
};
protoOf(PrimitiveClasses).o8 = function () {
return this.byteClass;
};
protoOf(PrimitiveClasses).p8 = function () {
return this.shortClass;
};
protoOf(PrimitiveClasses).q8 = function () {
return this.intClass;
};
protoOf(PrimitiveClasses).r8 = function () {
return this.longClass;
};
protoOf(PrimitiveClasses).s8 = function () {
return this.floatClass;
};
protoOf(PrimitiveClasses).t8 = function () {
return this.doubleClass;
};
protoOf(PrimitiveClasses).u8 = function () {
return this.arrayClass;
};
protoOf(PrimitiveClasses).v8 = function () {
return this.stringClass;
};
protoOf(PrimitiveClasses).w8 = function () {
return this.throwableClass;
};
protoOf(PrimitiveClasses).x8 = function () {
return this.booleanArrayClass;
};
protoOf(PrimitiveClasses).y8 = function () {
return this.charArrayClass;
};
protoOf(PrimitiveClasses).z8 = function () {
return this.byteArrayClass;
};
protoOf(PrimitiveClasses).a9 = function () {
return this.shortArrayClass;
};
protoOf(PrimitiveClasses).b9 = function () {
return this.intArrayClass;
};
protoOf(PrimitiveClasses).c9 = function () {
return this.floatArrayClass;
};
protoOf(PrimitiveClasses).d9 = 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) {
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 = get_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 = getKClass(jsClass);
}
tmp_2 = tmp_3;
}
}
}
}
}
}
}
}
}
}
tmp = tmp_2;
break;
}
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
return tmp;
}
function reset(_this__u8e3s4) {
_this__u8e3s4.lastIndex = 0;
}
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.h6_1 = content;
}
protoOf(StringBuilder).a = function () {
// Inline function 'kotlin.js.asDynamic' call
return this.h6_1.length;
};
protoOf(StringBuilder).b = function (index) {
// Inline function 'kotlin.text.getOrElse' call
var this_0 = this.h6_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.h6_1, startIndex, endIndex);
};
protoOf(StringBuilder).k6 = function (value) {
this.h6_1 = this.h6_1 + toString(value);
return this;
};
protoOf(StringBuilder).f = function (value) {
this.h6_1 = this.h6_1 + toString_0(value);
return this;
};
protoOf(StringBuilder).e9 = function (value, startIndex, endIndex) {
return this.f9(value == null ? 'null' : value, startIndex, endIndex);
};
protoOf(StringBuilder).g9 = function () {
var reversed = '';
var index = this.h6_1.length - 1 | 0;
while (index >= 0) {
var tmp = this.h6_1;
var _unary__edvuaz = index;
index = _unary__edvuaz - 1 | 0;
var low = charCodeAt(tmp, _unary__edvuaz);
if (isLowSurrogate(low) && index >= 0) {
var tmp_0 = this.h6_1;
var _unary__edvuaz_0 = index;
index = _unary__edvuaz_0 - 1 | 0;
var high = charCodeAt(tmp_0, _unary__edvuaz_0);
if (isHighSurrogate(high)) {
reversed = reversed + new Char(high) + toString(low);
} else {
reversed = reversed + new Char(low) + toString(high);
}
} else {
reversed = reversed + toString(low);
}
}
this.h6_1 = reversed;
return this;
};
protoOf(StringBuilder).i6 = function (value) {
this.h6_1 = this.h6_1 + toString_0(value);
return this;
};
protoOf(StringBuilder).h9 = function (value) {
return this.j6(value.toString());
};
protoOf(StringBuilder).i9 = function (value) {
return this.j6(value.toString());
};
protoOf(StringBuilder).j6 = function (value) {
var tmp = this;
var tmp_0 = this.h6_1;
tmp.h6_1 = tmp_0 + (value == null ? 'null' : value);
return this;
};
protoOf(StringBuilder).j9 = function (newLength) {
if (newLength < 0) {
throw IllegalArgumentException_init_$Create$_0('Negative new length: ' + newLength + '.');
}
if (newLength <= this.a()) {
this.h6_1 = substring(this.h6_1, 0, newLength);
} else {
var inductionVariable = this.a();
if (inductionVariable < newLength)
do {
var i = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
this.h6_1 = this.h6_1 + toString(_Char___init__impl__6a9atx(0));
}
while (inductionVariable < newLength);
}
};
protoOf(StringBuilder).toString = function () {
return this.h6_1;
};
protoOf(StringBuilder).k9 = function () {
this.h6_1 = '';
return this;
};
protoOf(StringBuilder).f9 = function (value, startIndex, endIndex) {
var stringCsq = toString_1(value);
Companion_instance_5.l9(startIndex, endIndex, stringCsq.length);
this.h6_1 = this.h6_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 isLetterOrDigit(_this__u8e3s4) {
if ((_Char___init__impl__6a9atx(97) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(122) : false) || (_Char___init__impl__6a9atx(65) <= _this__u8e3s4 ? _this__u8e3s4 <= _Char___init__impl__6a9atx(90) : false) || (_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) || isLetterImpl(_this__u8e3s4);
}
function isWhitespace(_this__u8e3s4) {
return isWhitespaceImpl(_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) {
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, $this) {
Regex.call($this, pattern, emptySet());
return $this;
}
function Regex_init_$Create$(pattern) {
return Regex_init_$Init$(pattern, objectCreate(protoOf(Regex)));
}
function Companion_4() {
Companion_instance_4 = this;
this.m9_1 = new RegExp('[\\\\^$*+?.()|[\\]{}]', 'g');
this.n9_1 = new RegExp('[\\\\$]', 'g');
this.o9_1 = new RegExp('\\$', 'g');
}
var Companion_instance_4;
function Companion_getInstance_4() {
if (Companion_instance_4 == null)
new Companion_4();
return Companion_instance_4;
}
function Regex(pattern, options) {
Companion_getInstance_4();
this.p9_1 = pattern;
this.q9_1 = toSet(options);
this.r9_1 = new RegExp(pattern, toFlags(options, 'gu'));
this.s9_1 = null;
this.t9_1 = null;
}
protoOf(Regex).u9 = function (input) {
reset(this.r9_1);
var match = this.r9_1.exec(toString_1(input));
return !(match == null) && match.index === 0 && this.r9_1.lastIndex === charSequenceLength(input);
};
protoOf(Regex).v9 = 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.r9_1, toString_1(input), startIndex, this.r9_1);
};
protoOf(Regex).w9 = function (input, startIndex, $super) {
startIndex = startIndex === VOID ? 0 : startIndex;
return $super === VOID ? this.v9(input, startIndex) : $super.v9.call(this, input, startIndex);
};
protoOf(Regex).toString = function () {
return this.r9_1.toString();
};
function toFlags(_this__u8e3s4, prepend) {
return joinToString_1(_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 MatchGroup(value) {
this.x9_1 = value;
}
protoOf(MatchGroup).toString = function () {
return 'MatchGroup(value=' + this.x9_1 + ')';
};
protoOf(MatchGroup).hashCode = function () {
return getStringHashCode(this.x9_1);
};
protoOf(MatchGroup).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof MatchGroup))
return false;
if (!(this.x9_1 === other.x9_1))
return false;
return true;
};
function toFlags$lambda(it) {
return it.aa_1;
}
function findNext$o$groups$o$iterator$lambda(this$0) {
return function (it) {
return this$0.j(it);
};
}
function findNext$1$groups$1($match, this$0) {
this.ba_1 = $match;
this.ca_1 = this$0;
AbstractCollection.call(this);
}
protoOf(findNext$1$groups$1).k = function () {
return this.ba_1.length;
};
protoOf(findNext$1$groups$1).g = function () {
var tmp = asSequence(get_indices_1(this));
return map(tmp, findNext$o$groups$o$iterator$lambda(this)).g();
};
protoOf(findNext$1$groups$1).j = function (index) {
// Inline function 'kotlin.js.get' call
// Inline function 'kotlin.js.asDynamic' call
var tmp0_safe_receiver = this.ba_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;
};
function findNext$1$groupValues$1($match) {
this.da_1 = $match;
AbstractList.call(this);
}
protoOf(findNext$1$groupValues$1).k = function () {
return this.da_1.length;
};
protoOf(findNext$1$groupValues$1).j = function (index) {
// Inline function 'kotlin.js.get' call
// Inline function 'kotlin.js.asDynamic' call
var tmp0_elvis_lhs = this.da_1[index];
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
};
function findNext$1($range, $match, $nextPattern, $input) {
this.ha_1 = $range;
this.ia_1 = $match;
this.ja_1 = $nextPattern;
this.ka_1 = $input;
this.ea_1 = $range;
var tmp = this;
tmp.fa_1 = new findNext$1$groups$1($match, this);
this.ga_1 = null;
}
protoOf(findNext$1).la = function () {
if (this.ga_1 == null) {
var tmp = this;
tmp.ga_1 = new findNext$1$groupValues$1(this.ia_1);
}
return ensureNotNull(this.ga_1);
};
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$2 = toString(this_0).toLowerCase();
thisChar = charCodeAt(tmp$ret$2, 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$6 = toString(this_1).toLowerCase();
otherChar = charCodeAt(tmp$ret$6, 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 encodeToByteArray(_this__u8e3s4) {
_init_properties_stringJs_kt__bg7zye();
return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
}
function sam$kotlin_Comparator$0(function_0) {
this.na_1 = function_0;
}
protoOf(sam$kotlin_Comparator$0).oa = function (a, b) {
return this.na_1(a, b);
};
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
return this.oa(a, b);
};
protoOf(sam$kotlin_Comparator$0).h2 = function () {
return this.na_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.h2(), other.h2());
} else {
tmp_0 = false;
}
tmp = tmp_0;
} else {
tmp = false;
}
return tmp;
};
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
return hashCode_0(this.h2());
};
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 regionMatches(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
return regionMatchesImpl(_this__u8e3s4, thisOffset, other, otherOffset, length, ignoreCase);
}
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 equals_0(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
if (_this__u8e3s4 == null)
return other == null;
if (other == null)
return false;
if (!ignoreCase)
return _this__u8e3s4 == other;
if (!(_this__u8e3s4.length === other.length))
return false;
var inductionVariable = 0;
var last = _this__u8e3s4.length;
if (inductionVariable < last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var thisChar = charCodeAt(_this__u8e3s4, index);
var otherChar = charCodeAt(other, index);
if (!equals_1(thisChar, otherChar, ignoreCase)) {
return false;
}
}
while (inductionVariable < last);
return true;
}
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 get_REPLACEMENT_BYTE_SEQUENCE() {
_init_properties_utf8Encoding_kt__9thjs4();
return REPLACEMENT_BYTE_SEQUENCE;
}
var REPLACEMENT_BYTE_SEQUENCE;
function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
// Inline function 'kotlin.require' call
// Inline function 'kotlin.require' call
if (!(startIndex >= 0 && endIndex <= string.length && startIndex <= endIndex)) {
var message = 'Failed requirement.';
throw IllegalArgumentException_init_$Create$_0(toString_1(message));
}
var bytes = new Int8Array(imul(endIndex - startIndex | 0, 3));
var byteIndex = 0;
var charIndex = startIndex;
while (charIndex < endIndex) {
var _unary__edvuaz = charIndex;
charIndex = _unary__edvuaz + 1 | 0;
// Inline function 'kotlin.code' call
var this_0 = charCodeAt(string, _unary__edvuaz);
var code = Char__toInt_impl_vasixd(this_0);
if (code < 128) {
var _unary__edvuaz_0 = byteIndex;
byteIndex = _unary__edvuaz_0 + 1 | 0;
bytes[_unary__edvuaz_0] = toByte(code);
} else if (code < 2048) {
var _unary__edvuaz_1 = byteIndex;
byteIndex = _unary__edvuaz_1 + 1 | 0;
bytes[_unary__edvuaz_1] = toByte(code >> 6 | 192);
var _unary__edvuaz_2 = byteIndex;
byteIndex = _unary__edvuaz_2 + 1 | 0;
bytes[_unary__edvuaz_2] = toByte(code & 63 | 128);
} else if (code < 55296 || code >= 57344) {
var _unary__edvuaz_3 = byteIndex;
byteIndex = _unary__edvuaz_3 + 1 | 0;
bytes[_unary__edvuaz_3] = toByte(code >> 12 | 224);
var _unary__edvuaz_4 = byteIndex;
byteIndex = _unary__edvuaz_4 + 1 | 0;
bytes[_unary__edvuaz_4] = toByte(code >> 6 & 63 | 128);
var _unary__edvuaz_5 = byteIndex;
byteIndex = _unary__edvuaz_5 + 1 | 0;
bytes[_unary__edvuaz_5] = toByte(code & 63 | 128);
} else {
var codePoint = codePointFromSurrogate(string, code, charIndex, endIndex, throwOnMalformed);
if (codePoint <= 0) {
var _unary__edvuaz_6 = byteIndex;
byteIndex = _unary__edvuaz_6 + 1 | 0;
bytes[_unary__edvuaz_6] = get_REPLACEMENT_BYTE_SEQUENCE()[0];
var _unary__edvuaz_7 = byteIndex;
byteIndex = _unary__edvuaz_7 + 1 | 0;
bytes[_unary__edvuaz_7] = get_REPLACEMENT_BYTE_SEQUENCE()[1];
var _unary__edvuaz_8 = byteIndex;
byteIndex = _unary__edvuaz_8 + 1 | 0;
bytes[_unary__edvuaz_8] = get_REPLACEMENT_BYTE_SEQUENCE()[2];
} else {
var _unary__edvuaz_9 = byteIndex;
byteIndex = _unary__edvuaz_9 + 1 | 0;
bytes[_unary__edvuaz_9] = toByte(codePoint >> 18 | 240);
var _unary__edvuaz_10 = byteIndex;
byteIndex = _unary__edvuaz_10 + 1 | 0;
bytes[_unary__edvuaz_10] = toByte(codePoint >> 12 & 63 | 128);
var _unary__edvuaz_11 = byteIndex;
byteIndex = _unary__edvuaz_11 + 1 | 0;
bytes[_unary__edvuaz_11] = toByte(codePoint >> 6 & 63 | 128);
var _unary__edvuaz_12 = byteIndex;
byteIndex = _unary__edvuaz_12 + 1 | 0;
bytes[_unary__edvuaz_12] = toByte(codePoint & 63 | 128);
charIndex = charIndex + 1 | 0;
}
}
}
return bytes.length === byteIndex ? bytes : copyOf_0(bytes, byteIndex);
}
function codePointFromSurrogate(string, high, index, endIndex, throwOnMalformed) {
_init_properties_utf8Encoding_kt__9thjs4();
if (!(55296 <= high ? high <= 56319 : false) || index >= endIndex) {
return malformed(0, index, throwOnMalformed);
}
// Inline function 'kotlin.code' call
var this_0 = charCodeAt(string, index);
var low = Char__toInt_impl_vasixd(this_0);
if (!(56320 <= low ? low <= 57343 : false)) {
return malformed(0, index, throwOnMalformed);
}
return 65536 + ((high & 1023) << 10) | 0 | low & 1023;
}
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 AbstractCollection$toString$lambda(this$0) {
return function (it) {
return it === this$0 ? '(this Collection)' : toString_0(it);
};
}
function AbstractCollection() {
}
protoOf(AbstractCollection).k1 = function (element) {
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(this, Collection)) {
tmp = this.l();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = this.g();
while (_iterator__ex2g4s.h()) {
var element_0 = _iterator__ex2g4s.i();
if (equals(element_0, element)) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
};
protoOf(AbstractCollection).n1 = function (elements) {
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.all' call
var tmp;
if (isInterface(elements, Collection)) {
tmp = elements.l();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = elements.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
if (!this.k1(element)) {
tmp$ret$0 = false;
break $l$block_0;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
};
protoOf(AbstractCollection).l = function () {
return this.k() === 0;
};
protoOf(AbstractCollection).toString = function () {
return joinToString_1(this, ', ', '[', ']', VOID, VOID, AbstractCollection$toString$lambda(this));
};
protoOf(AbstractCollection).toArray = function () {
return collectionToArray(this);
};
function SubList_0(list, fromIndex, toIndex) {
AbstractList.call(this);
this.pa_1 = list;
this.qa_1 = fromIndex;
this.ra_1 = 0;
Companion_instance_5.j2(this.qa_1, toIndex, this.pa_1.k());
this.ra_1 = toIndex - this.qa_1 | 0;
}
protoOf(SubList_0).j = function (index) {
Companion_instance_5.a3(index, this.ra_1);
return this.pa_1.j(this.qa_1 + index | 0);
};
protoOf(SubList_0).k = function () {
return this.ra_1;
};
protoOf(SubList_0).m1 = function (fromIndex, toIndex) {
Companion_instance_5.j2(fromIndex, toIndex, this.ra_1);
return new SubList_0(this.pa_1, this.qa_1 + fromIndex | 0, this.qa_1 + toIndex | 0);
};
function IteratorImpl_0($outer) {
this.ta_1 = $outer;
this.sa_1 = 0;
}
protoOf(IteratorImpl_0).h = function () {
return this.sa_1 < this.ta_1.k();
};
protoOf(IteratorImpl_0).i = function () {
if (!this.h())
throw NoSuchElementException_init_$Create$();
var _unary__edvuaz = this.sa_1;
this.sa_1 = _unary__edvuaz + 1 | 0;
return this.ta_1.j(_unary__edvuaz);
};
function Companion_5() {
this.i2_1 = 2147483639;
}
protoOf(Companion_5).a3 = function (index, size) {
if (index < 0 || index >= size) {
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
}
};
protoOf(Companion_5).y2 = function (index, size) {
if (index < 0 || index > size) {
throw IndexOutOfBoundsException_init_$Create$_0('index: ' + index + ', size: ' + size);
}
};
protoOf(Companion_5).j2 = 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).l9 = 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).i5 = 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).d3 = function (c) {
var hashCode = 1;
var _iterator__ex2g4s = c.g();
while (_iterator__ex2g4s.h()) {
var e = _iterator__ex2g4s.i();
var tmp = imul(31, hashCode);
var tmp1_elvis_lhs = e == null ? null : hashCode_0(e);
hashCode = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
}
return hashCode;
};
protoOf(Companion_5).c3 = function (c, other) {
if (!(c.k() === other.k()))
return false;
var otherIterator = other.g();
var _iterator__ex2g4s = c.g();
while (_iterator__ex2g4s.h()) {
var elem = _iterator__ex2g4s.i();
var elemOther = otherIterator.i();
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).g = function () {
return new IteratorImpl_0(this);
};
protoOf(AbstractList).l1 = function (element) {
var tmp$ret$0;
$l$block: {
// Inline function 'kotlin.collections.indexOfFirst' call
var index = 0;
var _iterator__ex2g4s = this.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
if (equals(item, element)) {
tmp$ret$0 = index;
break $l$block;
}
index = index + 1 | 0;
}
tmp$ret$0 = -1;
}
return tmp$ret$0;
};
protoOf(AbstractList).m1 = 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.c3(this, other);
};
protoOf(AbstractList).hashCode = function () {
return Companion_instance_5.d3(this);
};
function AbstractMap$keys$1$iterator$1($entryIterator) {
this.ua_1 = $entryIterator;
}
protoOf(AbstractMap$keys$1$iterator$1).h = function () {
return this.ua_1.h();
};
protoOf(AbstractMap$keys$1$iterator$1).i = function () {
return this.ua_1.i().o1();
};
function AbstractMap$values$1$iterator$1($entryIterator) {
this.va_1 = $entryIterator;
}
protoOf(AbstractMap$values$1$iterator$1).h = function () {
return this.va_1.h();
};
protoOf(AbstractMap$values$1$iterator$1).i = function () {
return this.va_1.i().p1();
};
function toString_3($this, entry) {
return toString_4($this, entry.o1()) + '=' + toString_4($this, entry.p1());
}
function toString_4($this, o) {
return o === $this ? '(this Map)' : toString_0(o);
}
function implFindEntry($this, key) {
var tmp0 = $this.v1();
var tmp$ret$0;
$l$block: {
// Inline function 'kotlin.collections.firstOrNull' call
var _iterator__ex2g4s = tmp0.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
if (equals(element.o1(), key)) {
tmp$ret$0 = element;
break $l$block;
}
}
tmp$ret$0 = null;
}
return tmp$ret$0;
}
function Companion_6() {
}
var Companion_instance_6;
function Companion_getInstance_6() {
return Companion_instance_6;
}
function AbstractMap$keys$1(this$0) {
this.wa_1 = this$0;
AbstractSet.call(this);
}
protoOf(AbstractMap$keys$1).y3 = function (element) {
return this.wa_1.q1(element);
};
protoOf(AbstractMap$keys$1).k1 = function (element) {
if (!true)
return false;
return this.y3(element);
};
protoOf(AbstractMap$keys$1).g = function () {
var entryIterator = this.wa_1.v1().g();
return new AbstractMap$keys$1$iterator$1(entryIterator);
};
protoOf(AbstractMap$keys$1).k = function () {
return this.wa_1.k();
};
function AbstractMap$toString$lambda(this$0) {
return function (it) {
return toString_3(this$0, it);
};
}
function AbstractMap$values$1(this$0) {
this.xa_1 = this$0;
AbstractCollection.call(this);
}
protoOf(AbstractMap$values$1).d4 = function (element) {
return this.xa_1.r1(element);
};
protoOf(AbstractMap$values$1).k1 = function (element) {
if (!true)
return false;
return this.d4(element);
};
protoOf(AbstractMap$values$1).g = function () {
var entryIterator = this.xa_1.v1().g();
return new AbstractMap$values$1$iterator$1(entryIterator);
};
protoOf(AbstractMap$values$1).k = function () {
return this.xa_1.k();
};
function AbstractMap() {
this.k3_1 = null;
this.l3_1 = null;
}
protoOf(AbstractMap).q1 = function (key) {
return !(implFindEntry(this, key) == null);
};
protoOf(AbstractMap).r1 = function (value) {
var tmp0 = this.v1();
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.any' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.l();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = false;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
if (equals(element.p1(), value)) {
tmp$ret$0 = true;
break $l$block_0;
}
}
tmp$ret$0 = false;
}
return tmp$ret$0;
};
protoOf(AbstractMap).m3 = function (entry) {
if (!(!(entry == null) ? isInterface(entry, Entry) : false))
return false;
var key = entry.o1();
var value = entry.p1();
// Inline function 'kotlin.collections.get' call
var ourValue = (isInterface(this, KtMap) ? this : THROW_CCE()).s1(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()).q1(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.k() === other.k()))
return false;
var tmp0 = other.v1();
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.all' call
var tmp;
if (isInterface(tmp0, Collection)) {
tmp = tmp0.l();
} else {
tmp = false;
}
if (tmp) {
tmp$ret$0 = true;
break $l$block_0;
}
var _iterator__ex2g4s = tmp0.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
if (!this.m3(element)) {
tmp$ret$0 = false;
break $l$block_0;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
};
protoOf(AbstractMap).s1 = function (key) {
var tmp0_safe_receiver = implFindEntry(this, key);
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1();
};
protoOf(AbstractMap).hashCode = function () {
return hashCode_0(this.v1());
};
protoOf(AbstractMap).l = function () {
return this.k() === 0;
};
protoOf(AbstractMap).k = function () {
return this.v1().k();
};
protoOf(AbstractMap).t1 = function () {
if (this.k3_1 == null) {
var tmp = this;
tmp.k3_1 = new AbstractMap$keys$1(this);
}
return ensureNotNull(this.k3_1);
};
protoOf(AbstractMap).toString = function () {
var tmp = this.v1();
return joinToString_1(tmp, ', ', '{', '}', VOID, VOID, AbstractMap$toString$lambda(this));
};
protoOf(AbstractMap).u1 = function () {
if (this.l3_1 == null) {
var tmp = this;
tmp.l3_1 = new AbstractMap$values$1(this);
}
return ensureNotNull(this.l3_1);
};
function Companion_7() {
}
protoOf(Companion_7).o3 = function (c) {
var hashCode = 0;
var _iterator__ex2g4s = c.g();
while (_iterator__ex2g4s.h()) {
var element = _iterator__ex2g4s.i();
var tmp = hashCode;
var tmp1_elvis_lhs = element == null ? null : hashCode_0(element);
hashCode = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
}
return hashCode;
};
protoOf(Companion_7).n3 = function (c, other) {
if (!(c.k() === other.k()))
return false;
return c.n1(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.n3(this, other);
};
protoOf(AbstractSet).hashCode = function () {
return Companion_instance_7.o3(this);
};
function collectionToArrayCommonImpl(collection) {
if (collection.l()) {
// Inline function 'kotlin.emptyArray' call
return [];
}
// Inline function 'kotlin.arrayOfNulls' call
var size = collection.k();
var destination = Array(size);
var iterator = collection.g();
var index = 0;
while (iterator.h()) {
var _unary__edvuaz = index;
index = _unary__edvuaz + 1 | 0;
destination[_unary__edvuaz] = iterator.i();
}
return destination;
}
function emptyList() {
return EmptyList_getInstance();
}
function listOf_0(elements) {
return elements.length > 0 ? asList(elements) : emptyList();
}
function EmptyList() {
EmptyList_instance = this;
this.ya_1 = new Long(-1478467534, -1720727600);
}
protoOf(EmptyList).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtList) : false) {
tmp = other.l();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptyList).hashCode = function () {
return 1;
};
protoOf(EmptyList).toString = function () {
return '[]';
};
protoOf(EmptyList).k = function () {
return 0;
};
protoOf(EmptyList).l = function () {
return true;
};
protoOf(EmptyList).j = function (index) {
throw IndexOutOfBoundsException_init_$Create$_0("Empty list doesn't contain element at index " + index + '.');
};
protoOf(EmptyList).za = function (element) {
return -1;
};
protoOf(EmptyList).l1 = function (element) {
if (!false)
return -1;
var tmp;
if (false) {
tmp = element;
} else {
tmp = THROW_CCE();
}
return this.za(tmp);
};
protoOf(EmptyList).g = function () {
return EmptyIterator_instance;
};
protoOf(EmptyList).m1 = 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).h = function () {
return false;
};
protoOf(EmptyIterator).i = function () {
throw NoSuchElementException_init_$Create$();
};
var EmptyIterator_instance;
function EmptyIterator_getInstance() {
return EmptyIterator_instance;
}
function get_lastIndex_2(_this__u8e3s4) {
return _this__u8e3s4.k() - 1 | 0;
}
function optimizeReadOnlyList(_this__u8e3s4) {
switch (_this__u8e3s4.k()) {
case 0:
return emptyList();
case 1:
return listOf(_this__u8e3s4.j(0));
default:
return _this__u8e3s4;
}
}
function throwIndexOverflow() {
throw ArithmeticException_init_$Create$_0('Index overflow has happened.');
}
function throwCountOverflow() {
throw ArithmeticException_init_$Create$_0('Count overflow has happened.');
}
function get_indices_1(_this__u8e3s4) {
return numberRangeToNumber(0, _this__u8e3s4.k() - 1 | 0);
}
function collectionSizeOrDefault(_this__u8e3s4, default_0) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4.k();
} else {
tmp = default_0;
}
return tmp;
}
function collectionSizeOrNull(_this__u8e3s4) {
var tmp;
if (isInterface(_this__u8e3s4, Collection)) {
tmp = _this__u8e3s4.k();
} else {
tmp = null;
}
return tmp;
}
function getOrImplicitDefault(_this__u8e3s4, key) {
if (isInterface(_this__u8e3s4, MapWithDefault))
return _this__u8e3s4.ab(key);
var tmp$ret$0;
$l$block_0: {
// Inline function 'kotlin.collections.getOrElseNullable' call
var value = _this__u8e3s4.s1(key);
if (value == null && !_this__u8e3s4.q1(key)) {
throw NoSuchElementException_init_$Create$_0('Key ' + toString_0(key) + ' is missing in the map.');
} else {
tmp$ret$0 = value;
break $l$block_0;
}
}
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(pairs, LinkedHashMap_init_$Create$_0(mapCapacity(pairs.length))) : emptyMap();
}
function getValue(_this__u8e3s4, key) {
return getOrImplicitDefault(_this__u8e3s4, key);
}
function EmptyMap() {
EmptyMap_instance = this;
this.bb_1 = new Long(-888910638, 1920087921);
}
protoOf(EmptyMap).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtMap) : false) {
tmp = other.l();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptyMap).hashCode = function () {
return 0;
};
protoOf(EmptyMap).toString = function () {
return '{}';
};
protoOf(EmptyMap).k = function () {
return 0;
};
protoOf(EmptyMap).l = function () {
return true;
};
protoOf(EmptyMap).cb = function (key) {
return false;
};
protoOf(EmptyMap).q1 = function (key) {
if (!true)
return false;
return this.cb(key);
};
protoOf(EmptyMap).db = function (key) {
return null;
};
protoOf(EmptyMap).s1 = function (key) {
if (!true)
return null;
return this.db(key);
};
protoOf(EmptyMap).v1 = function () {
return EmptySet_getInstance();
};
protoOf(EmptyMap).t1 = function () {
return EmptySet_getInstance();
};
protoOf(EmptyMap).u1 = function () {
return EmptyList_getInstance();
};
var EmptyMap_instance;
function EmptyMap_getInstance() {
if (EmptyMap_instance == null)
new EmptyMap();
return EmptyMap_instance;
}
function toMap(_this__u8e3s4, destination) {
// Inline function 'kotlin.apply' call
putAll(destination, _this__u8e3s4);
return destination;
}
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.gb();
var value = _destruct__k2r9zo.hb();
_this__u8e3s4.w1(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 addAll(_this__u8e3s4, elements) {
if (isInterface(elements, Collection))
return _this__u8e3s4.p(elements);
else {
var result = false;
var _iterator__ex2g4s = elements.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
if (_this__u8e3s4.e(item))
result = true;
}
return result;
}
}
function removeLast(_this__u8e3s4) {
var tmp;
if (_this__u8e3s4.l()) {
throw NoSuchElementException_init_$Create$_0('List is empty.');
} else {
tmp = _this__u8e3s4.b3(get_lastIndex_2(_this__u8e3s4));
}
return tmp;
}
function IntIterator() {
}
protoOf(IntIterator).i = function () {
return this.ib();
};
function TransformingSequence$iterator$1(this$0) {
this.kb_1 = this$0;
this.jb_1 = this$0.lb_1.g();
}
protoOf(TransformingSequence$iterator$1).i = function () {
return this.kb_1.mb_1(this.jb_1.i());
};
protoOf(TransformingSequence$iterator$1).h = function () {
return this.jb_1.h();
};
function TransformingSequence(sequence, transformer) {
this.lb_1 = sequence;
this.mb_1 = transformer;
}
protoOf(TransformingSequence).g = function () {
return new TransformingSequence$iterator$1(this);
};
function EmptySet() {
EmptySet_instance = this;
this.nb_1 = new Long(1993859828, 793161749);
}
protoOf(EmptySet).equals = function (other) {
var tmp;
if (!(other == null) ? isInterface(other, KtSet) : false) {
tmp = other.l();
} else {
tmp = false;
}
return tmp;
};
protoOf(EmptySet).hashCode = function () {
return 0;
};
protoOf(EmptySet).toString = function () {
return '[]';
};
protoOf(EmptySet).k = function () {
return 0;
};
protoOf(EmptySet).l = function () {
return true;
};
protoOf(EmptySet).ob = function (element) {
return false;
};
protoOf(EmptySet).k1 = function (element) {
if (!false)
return false;
var tmp;
if (false) {
tmp = element;
} else {
tmp = THROW_CCE();
}
return this.ob(tmp);
};
protoOf(EmptySet).pb = function (elements) {
return elements.l();
};
protoOf(EmptySet).n1 = function (elements) {
return this.pb(elements);
};
protoOf(EmptySet).g = function () {
return EmptyIterator_instance;
};
var EmptySet_instance;
function EmptySet_getInstance() {
if (EmptySet_instance == null)
new EmptySet();
return EmptySet_instance;
}
function emptySet() {
return EmptySet_getInstance();
}
function optimizeReadOnlySet(_this__u8e3s4) {
switch (_this__u8e3s4.k()) {
case 0:
return emptySet();
case 1:
return setOf(_this__u8e3s4.g().i());
default:
return _this__u8e3s4;
}
}
function hashSetOf(elements) {
return toCollection(elements, HashSet_init_$Create$_0(mapCapacity(elements.length)));
}
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 Continuation() {
}
function Key() {
}
var Key_instance;
function Key_getInstance() {
return Key_instance;
}
function ContinuationInterceptor() {
}
function EmptyCoroutineContext() {
EmptyCoroutineContext_instance = this;
this.qb_1 = new Long(0, 0);
}
protoOf(EmptyCoroutineContext).o7 = 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 EnumEntriesList(entries) {
AbstractList.call(this);
this.rb_1 = entries;
}
protoOf(EnumEntriesList).k = function () {
return this.rb_1.length;
};
protoOf(EnumEntriesList).j = function (index) {
Companion_instance_5.a3(index, this.rb_1.length);
return this.rb_1[index];
};
protoOf(EnumEntriesList).sb = function (element) {
if (element === null)
return false;
var target = getOrNull(this.rb_1, element.y1_1);
return target === element;
};
protoOf(EnumEntriesList).k1 = function (element) {
if (!(element instanceof Enum))
return false;
return this.sb(element instanceof Enum ? element : THROW_CCE());
};
protoOf(EnumEntriesList).tb = function (element) {
if (element === null)
return -1;
var ordinal = element.y1_1;
var target = getOrNull(this.rb_1, ordinal);
return target === element ? ordinal : -1;
};
protoOf(EnumEntriesList).l1 = function (element) {
if (!(element instanceof Enum))
return -1;
return this.tb(element instanceof Enum ? element : THROW_CCE());
};
function enumEntries(entries) {
return new EnumEntriesList(entries);
}
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.r_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).xb = function () {
return this.s_1;
};
protoOf(IntRange).yb = function () {
return this.t_1;
};
protoOf(IntRange).zb = function (value) {
return this.s_1 <= value && value <= this.t_1;
};
protoOf(IntRange).w = function (value) {
return this.zb(typeof value === 'number' ? value : THROW_CCE());
};
protoOf(IntRange).l = function () {
return this.s_1 > this.t_1;
};
protoOf(IntRange).equals = function (other) {
var tmp;
if (other instanceof IntRange) {
tmp = this.l() && other.l() || (this.s_1 === other.s_1 && this.t_1 === other.t_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(IntRange).hashCode = function () {
return this.l() ? -1 : imul(31, this.s_1) + this.t_1 | 0;
};
protoOf(IntRange).toString = function () {
return '' + this.s_1 + '..' + this.t_1;
};
function IntProgressionIterator(first, last, step) {
IntIterator.call(this);
this.ac_1 = step;
this.bc_1 = last;
this.cc_1 = this.ac_1 > 0 ? first <= last : first >= last;
this.dc_1 = this.cc_1 ? first : this.bc_1;
}
protoOf(IntProgressionIterator).h = function () {
return this.cc_1;
};
protoOf(IntProgressionIterator).ib = function () {
var value = this.dc_1;
if (value === this.bc_1) {
if (!this.cc_1)
throw NoSuchElementException_init_$Create$();
this.cc_1 = false;
} else {
this.dc_1 = this.dc_1 + this.ac_1 | 0;
}
return value;
};
function Companion_9() {
}
protoOf(Companion_9).v = 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.s_1 = start;
this.t_1 = getProgressionLastElement(start, endInclusive, step);
this.u_1 = step;
}
protoOf(IntProgression).g = function () {
return new IntProgressionIterator(this.s_1, this.t_1, this.u_1);
};
protoOf(IntProgression).l = function () {
return this.u_1 > 0 ? this.s_1 > this.t_1 : this.s_1 < this.t_1;
};
protoOf(IntProgression).equals = function (other) {
var tmp;
if (other instanceof IntProgression) {
tmp = this.l() && other.l() || (this.s_1 === other.s_1 && this.t_1 === other.t_1 && this.u_1 === other.u_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(IntProgression).hashCode = function () {
return this.l() ? -1 : imul(31, imul(31, this.s_1) + this.t_1 | 0) + this.u_1 | 0;
};
protoOf(IntProgression).toString = function () {
return this.u_1 > 0 ? '' + this.s_1 + '..' + this.t_1 + ' step ' + this.u_1 : '' + this.s_1 + ' downTo ' + this.t_1 + ' step ' + (-this.u_1 | 0);
};
function ClosedRange() {
}
function checkStepIsPositive(isPositive, step) {
if (!isPositive)
throw IllegalArgumentException_init_$Create$_0('Step must be positive, was: ' + toString_1(step) + '.');
}
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.k6(element.y_1);
else {
_this__u8e3s4.f(toString_1(element));
}
}
}
}
function equals_1(_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$1 = toString(thisUpper).toLowerCase();
var tmp_0 = charCodeAt(tmp$ret$1, 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$5 = toString(otherUpper).toLowerCase();
tmp = tmp_0 === charCodeAt(tmp$ret$5, 0);
}
return tmp;
}
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 isBlank(_this__u8e3s4) {
var tmp$ret$0;
$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$0 = false;
break $l$block;
}
}
tmp$ret$0 = true;
}
return tmp$ret$0;
}
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 get_lastIndex_3(_this__u8e3s4) {
return charSequenceLength(_this__u8e3s4) - 1 | 0;
}
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.k6(padChar);
}
while (!(i === last));
sb.f(_this__u8e3s4);
return sb;
}
function startsWith_0(_this__u8e3s4, char, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
return charSequenceLength(_this__u8e3s4) > 0 && equals_1(charSequenceGet(_this__u8e3s4, 0), char, ignoreCase);
}
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 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_1(charSequenceGet(_this__u8e3s4, thisOffset + index | 0), charSequenceGet(other, otherOffset + index | 0), ignoreCase))
return false;
}
while (inductionVariable < length);
return true;
}
function indexOf_0(_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 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_3(_this__u8e3s4);
if (inductionVariable <= last)
do {
var index = inductionVariable;
inductionVariable = inductionVariable + 1 | 0;
var charAtIndex = charSequenceGet(_this__u8e3s4, index);
var tmp$ret$3;
$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_1(element, charAtIndex, ignoreCase)) {
tmp$ret$3 = true;
break $l$block;
}
}
tmp$ret$3 = false;
}
if (tmp$ret$3)
return index;
}
while (!(index === last));
return -1;
}
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 substringBefore(_this__u8e3s4, delimiter, missingDelimiterValue) {
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
var index = indexOf_0(_this__u8e3s4, delimiter);
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
}
function substringAfter(_this__u8e3s4, delimiter, missingDelimiterValue) {
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
var index = indexOf_0(_this__u8e3s4, delimiter);
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + 1 | 0, _this__u8e3s4.length);
}
function contains_1(_this__u8e3s4, other, ignoreCase) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
var tmp;
if (typeof other === 'string') {
tmp = indexOf_1(_this__u8e3s4, other, VOID, ignoreCase) >= 0;
} else {
tmp = indexOf_2(_this__u8e3s4, other, 0, charSequenceLength(_this__u8e3s4), ignoreCase) >= 0;
}
return tmp;
}
function lastIndexOf(_this__u8e3s4, string, startIndex, ignoreCase) {
startIndex = startIndex === VOID ? get_lastIndex_3(_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_2(_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 indexOf_1(_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_2(_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 split(_this__u8e3s4, delimiters, ignoreCase, limit) {
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
limit = limit === VOID ? 0 : limit;
if (delimiters.length === 1) {
return split_0(_this__u8e3s4, toString(delimiters[0]), 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.g();
while (_iterator__ex2g4s.h()) {
var item = _iterator__ex2g4s.i();
var tmp$ret$2 = substring_1(_this__u8e3s4, item);
destination.e(tmp$ret$2);
}
return destination;
}
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 indexOf_2(_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_3(_this__u8e3s4)), coerceAtLeast(endIndex, 0));
var tmp;
if (typeof _this__u8e3s4 === 'string') {
tmp = typeof other === 'string';
} else {
tmp = false;
}
if (tmp) {
var inductionVariable = indices.s_1;
var last_0 = indices.t_1;
var step = indices.u_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.s_1;
var last_1 = indices.t_1;
var step_0 = indices.u_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 split_0(_this__u8e3s4, delimiter, ignoreCase, limit) {
requireNonNegativeLimit(limit);
var currentOffset = 0;
var nextIndex = indexOf_1(_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.k() === (limit - 1 | 0))
break $l$loop;
nextIndex = indexOf_1(_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 rangesDelimitedBy(_this__u8e3s4, delimiters, startIndex, ignoreCase, limit) {
startIndex = startIndex === VOID ? 0 : startIndex;
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
limit = limit === VOID ? 0 : limit;
requireNonNegativeLimit(limit);
return new DelimitedRangesSequence(_this__u8e3s4, startIndex, limit, rangesDelimitedBy$lambda(delimiters, ignoreCase));
}
function substring_1(_this__u8e3s4, range) {
return toString_1(charSequenceSubSequence(_this__u8e3s4, range.xb(), range.yb() + 1 | 0));
}
function calcNext($this) {
if ($this.gc_1 < 0) {
$this.ec_1 = 0;
$this.hc_1 = null;
} else {
var tmp;
var tmp_0;
if ($this.jc_1.mc_1 > 0) {
$this.ic_1 = $this.ic_1 + 1 | 0;
tmp_0 = $this.ic_1 >= $this.jc_1.mc_1;
} else {
tmp_0 = false;
}
if (tmp_0) {
tmp = true;
} else {
tmp = $this.gc_1 > charSequenceLength($this.jc_1.kc_1);
}
if (tmp) {
$this.hc_1 = numberRangeToNumber($this.fc_1, get_lastIndex_3($this.jc_1.kc_1));
$this.gc_1 = -1;
} else {
var match = $this.jc_1.nc_1($this.jc_1.kc_1, $this.gc_1);
if (match == null) {
$this.hc_1 = numberRangeToNumber($this.fc_1, get_lastIndex_3($this.jc_1.kc_1));
$this.gc_1 = -1;
} else {
var index = match.gb();
var length = match.hb();
$this.hc_1 = until($this.fc_1, index);
$this.fc_1 = index + length | 0;
$this.gc_1 = $this.fc_1 + (length === 0 ? 1 : 0) | 0;
}
}
$this.ec_1 = 1;
}
}
function DelimitedRangesSequence$iterator$1(this$0) {
this.jc_1 = this$0;
this.ec_1 = -1;
this.fc_1 = coerceIn(this$0.lc_1, 0, charSequenceLength(this$0.kc_1));
this.gc_1 = this.fc_1;
this.hc_1 = null;
this.ic_1 = 0;
}
protoOf(DelimitedRangesSequence$iterator$1).i = function () {
if (this.ec_1 === -1) {
calcNext(this);
}
if (this.ec_1 === 0)
throw NoSuchElementException_init_$Create$();
var tmp = this.hc_1;
var result = tmp instanceof IntRange ? tmp : THROW_CCE();
this.hc_1 = null;
this.ec_1 = -1;
return result;
};
protoOf(DelimitedRangesSequence$iterator$1).h = function () {
if (this.ec_1 === -1) {
calcNext(this);
}
return this.ec_1 === 1;
};
function DelimitedRangesSequence(input, startIndex, limit, getNextMatch) {
this.kc_1 = input;
this.lc_1 = startIndex;
this.mc_1 = limit;
this.nc_1 = getNextMatch;
}
protoOf(DelimitedRangesSequence).g = function () {
return new DelimitedRangesSequence$iterator$1(this);
};
function rangesDelimitedBy$lambda($delimiters, $ignoreCase) {
return function ($this$DelimitedRangesSequence, currentIndex) {
// Inline function 'kotlin.let' call
var it = indexOfAny($this$DelimitedRangesSequence, $delimiters, currentIndex, $ignoreCase);
return it < 0 ? null : to(it, 1);
};
}
function Destructured(match) {
this.oc_1 = match;
}
protoOf(Destructured).pc = function () {
return this.oc_1.la().m1(1, this.oc_1.la().k());
};
function MatchResult() {
}
function get_UNDEFINED_RESULT() {
_init_properties_DeepRecursive_kt__zbwcac();
return UNDEFINED_RESULT;
}
var UNDEFINED_RESULT;
function DeepRecursiveScope() {
}
function invoke(_this__u8e3s4, value) {
_init_properties_DeepRecursive_kt__zbwcac();
return (new DeepRecursiveScopeImpl(_this__u8e3s4.rc_1, value)).wc();
}
function DeepRecursiveFunction(block) {
this.rc_1 = block;
}
function DeepRecursiveScopeImpl(block, value) {
DeepRecursiveScope.call(this);
var tmp = this;
tmp.sc_1 = isSuspendFunction(block, 2) ? block : THROW_CCE();
this.tc_1 = value;
var tmp_0 = this;
tmp_0.uc_1 = isInterface(this, Continuation) ? this : THROW_CCE();
this.vc_1 = get_UNDEFINED_RESULT();
}
protoOf(DeepRecursiveScopeImpl).i7 = function () {
return EmptyCoroutineContext_getInstance();
};
protoOf(DeepRecursiveScopeImpl).xc = function (result) {
this.uc_1 = null;
this.vc_1 = result;
};
protoOf(DeepRecursiveScopeImpl).n7 = function (result) {
return this.xc(result);
};
protoOf(DeepRecursiveScopeImpl).qc = function (value, $completion) {
var tmp = this;
tmp.uc_1 = isInterface($completion, Continuation) ? $completion : THROW_CCE();
this.tc_1 = value;
return get_COROUTINE_SUSPENDED();
};
protoOf(DeepRecursiveScopeImpl).wc = function () {
$l$loop: while (true) {
var result = this.vc_1;
var tmp0_elvis_lhs = this.uc_1;
var tmp;
if (tmp0_elvis_lhs == null) {
// Inline function 'kotlin.getOrThrow' call
var this_0 = new Result(result) instanceof Result ? result : THROW_CCE();
throwOnFailure(this_0);
return _Result___get_value__impl__bjfvqg(this_0);
} else {
tmp = tmp0_elvis_lhs;
}
var cont = tmp;
if (equals(get_UNDEFINED_RESULT(), result)) {
var tmp_0;
try {
var tmp0 = this.sc_1;
// Inline function 'kotlin.coroutines.intrinsics.startCoroutineUninterceptedOrReturn' call
var param = this.tc_1;
tmp_0 = startCoroutineUninterceptedOrReturnNonGeneratorVersion(tmp0, this, param, cont);
} catch ($p) {
var tmp_1;
if ($p instanceof Error) {
var e = $p;
// Inline function 'kotlin.coroutines.resumeWithException' call
// Inline function 'kotlin.Companion.failure' call
var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(e));
cont.n7(tmp$ret$3);
continue $l$loop;
} else {
throw $p;
}
}
var r = tmp_0;
if (!(r === get_COROUTINE_SUSPENDED())) {
// Inline function 'kotlin.coroutines.resume' call
// Inline function 'kotlin.Companion.success' call
var tmp$ret$5 = _Result___init__impl__xyqfz8(r);
cont.n7(tmp$ret$5);
}
} else {
this.vc_1 = get_UNDEFINED_RESULT();
cont.n7(result);
}
}
};
var properties_initialized_DeepRecursive_kt_5z0al2;
function _init_properties_DeepRecursive_kt__zbwcac() {
if (!properties_initialized_DeepRecursive_kt_5z0al2) {
properties_initialized_DeepRecursive_kt_5z0al2 = true;
// Inline function 'kotlin.Companion.success' call
var value = get_COROUTINE_SUSPENDED();
UNDEFINED_RESULT = _Result___init__impl__xyqfz8(value);
}
}
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.yc_1 = initializer;
this.zc_1 = UNINITIALIZED_VALUE_instance;
}
protoOf(UnsafeLazyImpl).p1 = function () {
if (this.zc_1 === UNINITIALIZED_VALUE_instance) {
this.zc_1 = ensureNotNull(this.yc_1)();
this.yc_1 = null;
}
return this.zc_1;
};
protoOf(UnsafeLazyImpl).ad = function () {
return !(this.zc_1 === UNINITIALIZED_VALUE_instance);
};
protoOf(UnsafeLazyImpl).toString = function () {
return this.ad() ? toString_0(this.p1()) : '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_isFailure__impl__jpiriv($this) {
var tmp = _Result___get_value__impl__bjfvqg($this);
return tmp instanceof Failure;
}
function Result__exceptionOrNull_impl_p6xea9($this) {
var tmp;
if (_Result___get_value__impl__bjfvqg($this) instanceof Failure) {
tmp = _Result___get_value__impl__bjfvqg($this).bd_1;
} else {
tmp = null;
}
return tmp;
}
function Result__toString_impl_yu5r8k($this) {
var tmp;
if (_Result___get_value__impl__bjfvqg($this) instanceof Failure) {
tmp = _Result___get_value__impl__bjfvqg($this).toString();
} else {
tmp = 'Success(' + toString_0(_Result___get_value__impl__bjfvqg($this)) + ')';
}
return tmp;
}
function Companion_10() {
}
var Companion_instance_10;
function Companion_getInstance_10() {
return Companion_instance_10;
}
function Failure(exception) {
this.bd_1 = exception;
}
protoOf(Failure).equals = function (other) {
var tmp;
if (other instanceof Failure) {
tmp = equals(this.bd_1, other.bd_1);
} else {
tmp = false;
}
return tmp;
};
protoOf(Failure).hashCode = function () {
return hashCode_0(this.bd_1);
};
protoOf(Failure).toString = function () {
return 'Failure(' + this.bd_1.toString() + ')';
};
function Result__hashCode_impl_d2zufp($this) {
return $this == null ? 0 : hashCode_0($this);
}
function Result__equals_impl_bxgmep($this, other) {
if (!(other instanceof Result))
return false;
var tmp0_other_with_cast = other.cd_1;
if (!equals($this, tmp0_other_with_cast))
return false;
return true;
}
function Result(value) {
this.cd_1 = value;
}
protoOf(Result).toString = function () {
return Result__toString_impl_yu5r8k(this.cd_1);
};
protoOf(Result).hashCode = function () {
return Result__hashCode_impl_d2zufp(this.cd_1);
};
protoOf(Result).equals = function (other) {
return Result__equals_impl_bxgmep(this.cd_1, other);
};
function throwOnFailure(_this__u8e3s4) {
var tmp = _Result___get_value__impl__bjfvqg(_this__u8e3s4);
if (tmp instanceof Failure)
throw _Result___get_value__impl__bjfvqg(_this__u8e3s4).bd_1;
}
function createFailure(exception) {
return new Failure(exception);
}
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.eb_1 = first;
this.fb_1 = second;
}
protoOf(Pair).toString = function () {
return '(' + toString_0(this.eb_1) + ', ' + toString_0(this.fb_1) + ')';
};
protoOf(Pair).gb = function () {
return this.eb_1;
};
protoOf(Pair).hb = function () {
return this.fb_1;
};
protoOf(Pair).hashCode = function () {
var result = this.eb_1 == null ? 0 : hashCode_0(this.eb_1);
result = imul(result, 31) + (this.fb_1 == null ? 0 : hashCode_0(this.fb_1)) | 0;
return result;
};
protoOf(Pair).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Pair))
return false;
if (!equals(this.eb_1, other.eb_1))
return false;
if (!equals(this.fb_1, other.fb_1))
return false;
return true;
};
function to(_this__u8e3s4, that) {
return new Pair(_this__u8e3s4, that);
}
function Triple(first, second, third) {
this.dd_1 = first;
this.ed_1 = second;
this.fd_1 = third;
}
protoOf(Triple).toString = function () {
return '(' + toString_0(this.dd_1) + ', ' + toString_0(this.ed_1) + ', ' + toString_0(this.fd_1) + ')';
};
protoOf(Triple).gb = function () {
return this.dd_1;
};
protoOf(Triple).hb = function () {
return this.ed_1;
};
protoOf(Triple).gd = function () {
return this.fd_1;
};
protoOf(Triple).hashCode = function () {
var result = this.dd_1 == null ? 0 : hashCode_0(this.dd_1);
result = imul(result, 31) + (this.ed_1 == null ? 0 : hashCode_0(this.ed_1)) | 0;
result = imul(result, 31) + (this.fd_1 == null ? 0 : hashCode_0(this.fd_1)) | 0;
return result;
};
protoOf(Triple).equals = function (other) {
if (this === other)
return true;
if (!(other instanceof Triple))
return false;
if (!equals(this.dd_1, other.dd_1))
return false;
if (!equals(this.ed_1, other.ed_1))
return false;
if (!equals(this.fd_1, other.fd_1))
return false;
return true;
};
function _ULong___init__impl__c78o9k(data) {
return data;
}
function _ULong___get_data__impl__fggpzb($this) {
return $this;
}
function ULong__toString_impl_f9au7k($this) {
// Inline function 'kotlin.ulongToString' call
var value = _ULong___get_data__impl__fggpzb($this);
return ulongToString(value, 10);
}
function _UShort___init__impl__jigrne(data) {
return data;
}
function _UShort___get_data__impl__g0245($this) {
return $this;
}
//region block: post-declaration
protoOf(InternalHashMap).n4 = containsAllEntries;
protoOf(findNext$1).ma = get_destructured;
//endregion
//region block: init
Companion_instance_0 = new Companion_0();
StringCompanionObject_instance = new StringCompanionObject();
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();
Key_instance = new Key();
Companion_instance_9 = new Companion_9();
UNINITIALIZED_VALUE_instance = new UNINITIALIZED_VALUE();
Companion_instance_10 = new Companion_10();
//endregion
//region block: exports
_.$_$ = _.$_$ || {};
_.$_$.a = VOID;
_.$_$.b = StringCompanionObject_instance;
_.$_$.c = Unit_instance;
_.$_$.d = LazyThreadSafetyMode_PUBLICATION_getInstance;
_.$_$.e = ArrayList_init_$Create$_0;
_.$_$.f = ArrayList_init_$Create$;
_.$_$.g = ArrayList_init_$Create$_1;
_.$_$.h = HashMap_init_$Create$_0;
_.$_$.i = HashMap_init_$Create$;
_.$_$.j = HashSet_init_$Create$_0;
_.$_$.k = HashSet_init_$Create$;
_.$_$.l = LinkedHashMap_init_$Create$_0;
_.$_$.m = LinkedHashMap_init_$Create$;
_.$_$.n = LinkedHashMap_init_$Create$_1;
_.$_$.o = LinkedHashSet_init_$Create$;
_.$_$.p = Regex_init_$Create$;
_.$_$.q = StringBuilder_init_$Create$;
_.$_$.r = StringBuilder_init_$Create$_0;
_.$_$.s = Exception_init_$Init$_0;
_.$_$.t = IllegalArgumentException_init_$Init$;
_.$_$.u = IllegalArgumentException_init_$Init$_0;
_.$_$.v = IllegalArgumentException_init_$Create$_0;
_.$_$.w = IllegalArgumentException_init_$Init$_1;
_.$_$.x = IllegalStateException_init_$Create$_0;
_.$_$.y = IndexOutOfBoundsException_init_$Create$_0;
_.$_$.z = NoSuchElementException_init_$Create$_0;
_.$_$.a1 = _Char___init__impl__6a9atx;
_.$_$.b1 = Char__minus_impl_a2frrh;
_.$_$.c1 = Char__toInt_impl_vasixd;
_.$_$.d1 = toString;
_.$_$.e1 = _ULong___init__impl__c78o9k;
_.$_$.f1 = _ULong___get_data__impl__fggpzb;
_.$_$.g1 = ULong__toString_impl_f9au7k;
_.$_$.h1 = ArrayList;
_.$_$.i1 = Collection;
_.$_$.j1 = LinkedHashMap;
_.$_$.k1 = KtList;
_.$_$.l1 = KtMap;
_.$_$.m1 = KtMutableMap;
_.$_$.n1 = arrayCopy;
_.$_$.o1 = checkCountOverflow;
_.$_$.p1 = checkIndexOverflow;
_.$_$.q1 = collectionSizeOrDefault;
_.$_$.r1 = contentEquals;
_.$_$.s1 = contentEquals_0;
_.$_$.t1 = contentHashCode_0;
_.$_$.u1 = contentHashCode;
_.$_$.v1 = copyOf_1;
_.$_$.w1 = copyOf;
_.$_$.x1 = copyToArray;
_.$_$.y1 = drop;
_.$_$.z1 = emptyList;
_.$_$.a2 = emptyMap;
_.$_$.b2 = emptySet;
_.$_$.c2 = firstOrNull;
_.$_$.d2 = getOrNull_0;
_.$_$.e2 = getValue;
_.$_$.f2 = get_indices_0;
_.$_$.g2 = get_indices;
_.$_$.h2 = joinToString;
_.$_$.i2 = joinToString_1;
_.$_$.j2 = get_lastIndex_1;
_.$_$.k2 = get_lastIndex_2;
_.$_$.l2 = lastOrNull;
_.$_$.m2 = last;
_.$_$.n2 = listOf_0;
_.$_$.o2 = mapCapacity;
_.$_$.p2 = mapOf;
_.$_$.q2 = mapOf_0;
_.$_$.r2 = plus_0;
_.$_$.s2 = plus;
_.$_$.t2 = removeLast;
_.$_$.u2 = singleOrNull;
_.$_$.v2 = sortedWith;
_.$_$.w2 = toList_0;
_.$_$.x2 = toSet;
_.$_$.y2 = toTypedArray;
_.$_$.z2 = compareValues;
_.$_$.a3 = get_COROUTINE_SUSPENDED;
_.$_$.b3 = CoroutineImpl;
_.$_$.c3 = enumEntries;
_.$_$.d3 = println;
_.$_$.e3 = add;
_.$_$.f3 = bitwiseAnd;
_.$_$.g3 = bitwiseOr;
_.$_$.h3 = compare;
_.$_$.i3 = convertToByte;
_.$_$.j3 = convertToInt;
_.$_$.k3 = equalsLong;
_.$_$.l3 = fromInt;
_.$_$.m3 = invert;
_.$_$.n3 = multiply;
_.$_$.o3 = negate;
_.$_$.p3 = numberToLong;
_.$_$.q3 = shiftLeft;
_.$_$.r3 = shiftRightUnsigned;
_.$_$.s3 = subtract;
_.$_$.t3 = toNumber;
_.$_$.u3 = FunctionAdapter;
_.$_$.v3 = booleanArray;
_.$_$.w3 = captureStack;
_.$_$.x3 = charArrayOf;
_.$_$.y3 = charArray;
_.$_$.z3 = charCodeAt;
_.$_$.a4 = charSequenceGet;
_.$_$.b4 = charSequenceLength;
_.$_$.c4 = charSequenceSubSequence;
_.$_$.d4 = equals;
_.$_$.e4 = getBooleanHashCode;
_.$_$.f4 = getPropertyCallableRef;
_.$_$.g4 = getStringHashCode;
_.$_$.h4 = hashCode_0;
_.$_$.i4 = initMetadataForClass;
_.$_$.j4 = initMetadataForCompanion;
_.$_$.k4 = initMetadataForCoroutine;
_.$_$.l4 = initMetadataForInterface;
_.$_$.m4 = initMetadataForLambda;
_.$_$.n4 = initMetadataForObject;
_.$_$.o4 = isArray;
_.$_$.p4 = isInterface;
_.$_$.q4 = longArray;
_.$_$.r4 = numberRangeToNumber;
_.$_$.s4 = numberToChar;
_.$_$.t4 = objectCreate;
_.$_$.u4 = protoOf;
_.$_$.v4 = toByte;
_.$_$.w4 = toString_1;
_.$_$.x4 = ClosedRange;
_.$_$.y4 = coerceAtLeast;
_.$_$.z4 = coerceAtMost;
_.$_$.a5 = contains_0;
_.$_$.b5 = step;
_.$_$.c5 = until;
_.$_$.d5 = getKClassFromExpression;
_.$_$.e5 = getKClass;
_.$_$.f5 = KClass;
_.$_$.g5 = KProperty1;
_.$_$.h5 = contains_1;
_.$_$.i5 = encodeToByteArray;
_.$_$.j5 = equals_0;
_.$_$.k5 = indexOf_1;
_.$_$.l5 = indexOf_0;
_.$_$.m5 = isBlank;
_.$_$.n5 = isLetterOrDigit;
_.$_$.o5 = lastIndexOf;
_.$_$.p5 = padStart;
_.$_$.q5 = removeSuffix;
_.$_$.r5 = split;
_.$_$.s5 = startsWith;
_.$_$.t5 = startsWith_0;
_.$_$.u5 = substringAfter;
_.$_$.v5 = substringBefore;
_.$_$.w5 = substring;
_.$_$.x5 = take;
_.$_$.y5 = toIntOrNull;
_.$_$.z5 = toInt;
_.$_$.a6 = Comparator;
_.$_$.b6 = DeepRecursiveFunction;
_.$_$.c6 = DeepRecursiveScope;
_.$_$.d6 = Enum;
_.$_$.e6 = Exception;
_.$_$.f6 = IllegalArgumentException;
_.$_$.g6 = Long;
_.$_$.h6 = THROW_CCE;
_.$_$.i6 = Triple;
_.$_$.j6 = Unit;
_.$_$.k6 = countTrailingZeroBits;
_.$_$.l6 = ensureNotNull;
_.$_$.m6 = invoke;
_.$_$.n6 = lazy;
_.$_$.o6 = noWhenBranchMatchedException;
_.$_$.p6 = plus_1;
_.$_$.q6 = rotateRight;
_.$_$.r6 = toString_0;
_.$_$.s6 = to;
_.$_$.t6 = ulongCompare;
_.$_$.u6 = ulongDivide;
_.$_$.v6 = ulongRemainder;
//endregion
return _;
}));
//# sourceMappingURL=kotlin-kotlin-stdlib.js.map
SHA-256: 8087e40bd57293b2cb2ca391952dcda889313e90b62278d98eee0cff1378bfc1