UNPKG

@earth-app/shovel

Version:

Kotlin Multiplatform Web Scraping Framework

777 lines (775 loc) 29.1 kB
(function (factory) { if (typeof define === 'function' && define.amd) define(['exports', './kotlin-kotlin-stdlib.js'], factory); else if (typeof exports === 'object') factory(module.exports, require('./kotlin-kotlin-stdlib.js')); else { if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') { throw new Error("Error loading module 'kotlinx-serialization-kotlinx-serialization-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlinx-serialization-kotlinx-serialization-core'."); } globalThis['kotlinx-serialization-kotlinx-serialization-core'] = factory(typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined' ? {} : globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlin-kotlin-stdlib']); } }(function (_, kotlin_kotlin) { 'use strict'; //region block: imports var imul = Math.imul; var protoOf = kotlin_kotlin.$_$.y7; var initMetadataForInterface = kotlin_kotlin.$_$.l7; var initMetadataForClass = kotlin_kotlin.$_$.h7; var VOID = kotlin_kotlin.$_$.h; var isBlank = kotlin_kotlin.$_$.g9; var toString = kotlin_kotlin.$_$.c8; var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.o1; var Unit_instance = kotlin_kotlin.$_$.a3; var equals = kotlin_kotlin.$_$.a7; var toList = kotlin_kotlin.$_$.m5; var emptyList = kotlin_kotlin.$_$.e4; var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p; var HashSet_init_$Create$ = kotlin_kotlin.$_$.s; var toHashSet = kotlin_kotlin.$_$.j5; var copyToArray = kotlin_kotlin.$_$.c4; var toBooleanArray = kotlin_kotlin.$_$.h5; var withIndex = kotlin_kotlin.$_$.t5; var collectionSizeOrDefault = kotlin_kotlin.$_$.u3; var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o; var to = kotlin_kotlin.$_$.xb; var toMap = kotlin_kotlin.$_$.o5; var lazy = kotlin_kotlin.$_$.rb; var contentEquals = kotlin_kotlin.$_$.w3; var KProperty1 = kotlin_kotlin.$_$.i8; var getPropertyCallableRef = kotlin_kotlin.$_$.e7; var initMetadataForObject = kotlin_kotlin.$_$.n7; var getKClassFromExpression = kotlin_kotlin.$_$.d; var ensureNotNull = kotlin_kotlin.$_$.ob; var getStringHashCode = kotlin_kotlin.$_$.f7; var isInterface = kotlin_kotlin.$_$.r7; var joinToString = kotlin_kotlin.$_$.n4; var hashCode = kotlin_kotlin.$_$.g7; var HashSet_init_$Create$_0 = kotlin_kotlin.$_$.r; var contentHashCode = kotlin_kotlin.$_$.z3; var until = kotlin_kotlin.$_$.g8; var HashMap_init_$Create$ = kotlin_kotlin.$_$.q; var booleanArray = kotlin_kotlin.$_$.r6; var emptyMap = kotlin_kotlin.$_$.f4; var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.l; var lazy_0 = kotlin_kotlin.$_$.qb; var get_indices = kotlin_kotlin.$_$.m4; var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.v1; //endregion //region block: pre-declaration initMetadataForInterface(SerialDescriptor, 'SerialDescriptor'); initMetadataForClass(elementDescriptors$1); initMetadataForClass(elementDescriptors$$inlined$Iterable$1); initMetadataForClass(elementNames$1); initMetadataForClass(elementNames$$inlined$Iterable$1); initMetadataForClass(ClassSerialDescriptorBuilder, 'ClassSerialDescriptorBuilder'); initMetadataForInterface(CachedNames, 'CachedNames'); initMetadataForClass(SerialDescriptorImpl, 'SerialDescriptorImpl', VOID, VOID, [SerialDescriptor, CachedNames]); initMetadataForClass(SerialKind, 'SerialKind'); initMetadataForObject(ENUM, 'ENUM', VOID, SerialKind); initMetadataForClass(StructureKind, 'StructureKind', VOID, SerialKind); initMetadataForObject(CLASS, 'CLASS', VOID, StructureKind); initMetadataForObject(OBJECT, 'OBJECT', VOID, StructureKind); initMetadataForClass(EnumSerializer, 'EnumSerializer'); initMetadataForClass(PluginGeneratedSerialDescriptor, 'PluginGeneratedSerialDescriptor', VOID, VOID, [SerialDescriptor, CachedNames]); initMetadataForClass(EnumDescriptor, 'EnumDescriptor', VOID, PluginGeneratedSerialDescriptor); function typeParametersSerializers() { return get_EMPTY_SERIALIZER_ARRAY(); } initMetadataForInterface(GeneratedSerializer, 'GeneratedSerializer'); initMetadataForClass(SerializableWith, 'SerializableWith', VOID, VOID, VOID, VOID, 0); //endregion function SerialDescriptor() { } function get_elementDescriptors(_this__u8e3s4) { // Inline function 'kotlin.collections.Iterable' call return new elementDescriptors$$inlined$Iterable$1(_this__u8e3s4); } function get_elementNames(_this__u8e3s4) { // Inline function 'kotlin.collections.Iterable' call return new elementNames$$inlined$Iterable$1(_this__u8e3s4); } function elementDescriptors$1($this_elementDescriptors) { this.f1n_1 = $this_elementDescriptors; this.e1n_1 = $this_elementDescriptors.b1n(); } protoOf(elementDescriptors$1).h = function () { return this.e1n_1 > 0; }; protoOf(elementDescriptors$1).i = function () { var tmp = this.f1n_1.b1n(); var _unary__edvuaz = this.e1n_1; this.e1n_1 = _unary__edvuaz - 1 | 0; return this.f1n_1.d1n(tmp - _unary__edvuaz | 0); }; function elementDescriptors$$inlined$Iterable$1($this_elementDescriptors) { this.g1n_1 = $this_elementDescriptors; } protoOf(elementDescriptors$$inlined$Iterable$1).g = function () { return new elementDescriptors$1(this.g1n_1); }; function elementNames$1($this_elementNames) { this.i1n_1 = $this_elementNames; this.h1n_1 = $this_elementNames.b1n(); } protoOf(elementNames$1).h = function () { return this.h1n_1 > 0; }; protoOf(elementNames$1).i = function () { var tmp = this.i1n_1.b1n(); var _unary__edvuaz = this.h1n_1; this.h1n_1 = _unary__edvuaz - 1 | 0; return this.i1n_1.c1n(tmp - _unary__edvuaz | 0); }; function elementNames$$inlined$Iterable$1($this_elementNames) { this.j1n_1 = $this_elementNames; } protoOf(elementNames$$inlined$Iterable$1).g = function () { return new elementNames$1(this.j1n_1); }; function buildSerialDescriptor(serialName, kind, typeParameters, builder) { var tmp; if (builder === VOID) { tmp = buildSerialDescriptor$lambda; } else { tmp = builder; } builder = tmp; // Inline function 'kotlin.text.isNotBlank' call // Inline function 'kotlin.require' call if (!!isBlank(serialName)) { var message = 'Blank serial names are prohibited'; throw IllegalArgumentException_init_$Create$(toString(message)); } // Inline function 'kotlin.require' call if (!!equals(kind, CLASS_getInstance())) { var message_0 = "For StructureKind.CLASS please use 'buildClassSerialDescriptor' instead"; throw IllegalArgumentException_init_$Create$(toString(message_0)); } var sdBuilder = new ClassSerialDescriptorBuilder(serialName); builder(sdBuilder); return new SerialDescriptorImpl(serialName, kind, sdBuilder.n1n_1.j(), toList(typeParameters), sdBuilder); } function ClassSerialDescriptorBuilder(serialName) { this.k1n_1 = serialName; this.l1n_1 = false; this.m1n_1 = emptyList(); this.n1n_1 = ArrayList_init_$Create$(); this.o1n_1 = HashSet_init_$Create$(); this.p1n_1 = ArrayList_init_$Create$(); this.q1n_1 = ArrayList_init_$Create$(); this.r1n_1 = ArrayList_init_$Create$(); } function _get__hashCode__tgwhef($this) { var tmp0 = $this.d1o_1; // Inline function 'kotlin.getValue' call _hashCode$factory(); return tmp0.t(); } function SerialDescriptorImpl$_hashCode$delegate$lambda(this$0) { return function () { return hashCodeImpl(this$0, this$0.c1o_1); }; } function SerialDescriptorImpl(serialName, kind, elementsCount, typeParameters, builder) { this.s1n_1 = serialName; this.t1n_1 = kind; this.u1n_1 = elementsCount; this.v1n_1 = builder.m1n_1; this.w1n_1 = toHashSet(builder.n1n_1); var tmp = this; // Inline function 'kotlin.collections.toTypedArray' call var this_0 = builder.n1n_1; tmp.x1n_1 = copyToArray(this_0); this.y1n_1 = compactArray(builder.p1n_1); var tmp_0 = this; // Inline function 'kotlin.collections.toTypedArray' call var this_1 = builder.q1n_1; tmp_0.z1n_1 = copyToArray(this_1); this.a1o_1 = toBooleanArray(builder.r1n_1); var tmp_1 = this; // Inline function 'kotlin.collections.map' call var this_2 = withIndex(this.x1n_1); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10)); var _iterator__ex2g4s = this_2.g(); while (_iterator__ex2g4s.h()) { var item = _iterator__ex2g4s.i(); var tmp$ret$2 = to(item.of_1, item.nf_1); destination.e(tmp$ret$2); } tmp_1.b1o_1 = toMap(destination); this.c1o_1 = compactArray(typeParameters); var tmp_2 = this; tmp_2.d1o_1 = lazy(SerialDescriptorImpl$_hashCode$delegate$lambda(this)); } protoOf(SerialDescriptorImpl).z1m = function () { return this.s1n_1; }; protoOf(SerialDescriptorImpl).a1n = function () { return this.t1n_1; }; protoOf(SerialDescriptorImpl).b1n = function () { return this.u1n_1; }; protoOf(SerialDescriptorImpl).e1o = function () { return this.w1n_1; }; protoOf(SerialDescriptorImpl).c1n = function (index) { return getChecked(this.x1n_1, index); }; protoOf(SerialDescriptorImpl).d1n = function (index) { return getChecked(this.y1n_1, index); }; protoOf(SerialDescriptorImpl).equals = function (other) { var tmp$ret$0; $l$block_5: { // Inline function 'kotlinx.serialization.internal.equalsImpl' call if (this === other) { tmp$ret$0 = true; break $l$block_5; } if (!(other instanceof SerialDescriptorImpl)) { tmp$ret$0 = false; break $l$block_5; } if (!(this.z1m() === other.z1m())) { tmp$ret$0 = false; break $l$block_5; } if (!contentEquals(this.c1o_1, other.c1o_1)) { tmp$ret$0 = false; break $l$block_5; } if (!(this.b1n() === other.b1n())) { tmp$ret$0 = false; break $l$block_5; } var inductionVariable = 0; var last = this.b1n(); if (inductionVariable < last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (!(this.d1n(index).z1m() === other.d1n(index).z1m())) { tmp$ret$0 = false; break $l$block_5; } if (!equals(this.d1n(index).a1n(), other.d1n(index).a1n())) { tmp$ret$0 = false; break $l$block_5; } } while (inductionVariable < last); tmp$ret$0 = true; } return tmp$ret$0; }; protoOf(SerialDescriptorImpl).hashCode = function () { return _get__hashCode__tgwhef(this); }; protoOf(SerialDescriptorImpl).toString = function () { return toStringImpl(this); }; function buildSerialDescriptor$lambda(_this__u8e3s4) { return Unit_instance; } function _hashCode$factory() { return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) { return _get__hashCode__tgwhef(receiver); }, null); } function ENUM() { ENUM_instance = this; SerialKind.call(this); } var ENUM_instance; function ENUM_getInstance() { if (ENUM_instance == null) new ENUM(); return ENUM_instance; } function SerialKind() { } protoOf(SerialKind).toString = function () { return ensureNotNull(getKClassFromExpression(this).na()); }; protoOf(SerialKind).hashCode = function () { return getStringHashCode(this.toString()); }; function CLASS() { CLASS_instance = this; StructureKind.call(this); } var CLASS_instance; function CLASS_getInstance() { if (CLASS_instance == null) new CLASS(); return CLASS_instance; } function OBJECT() { OBJECT_instance = this; StructureKind.call(this); } var OBJECT_instance; function OBJECT_getInstance() { if (OBJECT_instance == null) new OBJECT(); return OBJECT_instance; } function StructureKind() { SerialKind.call(this); } function CachedNames() { } function createSimpleEnumSerializer(serialName, values) { return new EnumSerializer(serialName, values); } function createUnmarkedDescriptor($this, serialName) { var d = new EnumDescriptor(serialName, $this.f1o_1.length); // Inline function 'kotlin.collections.forEach' call var indexedObject = $this.f1o_1; var inductionVariable = 0; var last = indexedObject.length; while (inductionVariable < last) { var element = indexedObject[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; d.u1o(element.k2_1); } return d; } function EnumSerializer$descriptor$delegate$lambda(this$0, $serialName) { return function () { var tmp0_elvis_lhs = this$0.g1o_1; return tmp0_elvis_lhs == null ? createUnmarkedDescriptor(this$0, $serialName) : tmp0_elvis_lhs; }; } function EnumSerializer(serialName, values) { this.f1o_1 = values; this.g1o_1 = null; var tmp = this; tmp.h1o_1 = lazy(EnumSerializer$descriptor$delegate$lambda(this, serialName)); } protoOf(EnumSerializer).v1o = function () { var tmp0 = this.h1o_1; // Inline function 'kotlin.getValue' call descriptor$factory(); return tmp0.t(); }; protoOf(EnumSerializer).toString = function () { return 'kotlinx.serialization.internal.EnumSerializer<' + this.v1o().z1m() + '>'; }; function _get_elementDescriptors__y23q9p($this) { var tmp0 = $this.j1p_1; // Inline function 'kotlin.getValue' call elementDescriptors$factory(); return tmp0.t(); } function EnumDescriptor$elementDescriptors$delegate$lambda($elementsCount, $name, this$0) { return function () { var tmp = 0; var tmp_0 = $elementsCount; // Inline function 'kotlin.arrayOfNulls' call var tmp_1 = Array(tmp_0); while (tmp < tmp_0) { var tmp_2 = tmp; tmp_1[tmp_2] = buildSerialDescriptor($name + '.' + this$0.c1n(tmp_2), OBJECT_getInstance(), []); tmp = tmp + 1 | 0; } return tmp_1; }; } function EnumDescriptor(name, elementsCount) { PluginGeneratedSerialDescriptor.call(this, name, VOID, elementsCount); this.i1p_1 = ENUM_getInstance(); var tmp = this; tmp.j1p_1 = lazy(EnumDescriptor$elementDescriptors$delegate$lambda(elementsCount, name, this)); } protoOf(EnumDescriptor).a1n = function () { return this.i1p_1; }; protoOf(EnumDescriptor).d1n = function (index) { return getChecked(_get_elementDescriptors__y23q9p(this), index); }; protoOf(EnumDescriptor).equals = function (other) { if (this === other) return true; if (other == null) return false; if (!(!(other == null) ? isInterface(other, SerialDescriptor) : false)) return false; if (!(other.a1n() === ENUM_getInstance())) return false; if (!(this.z1m() === other.z1m())) return false; if (!equals(cachedSerialNames(this), cachedSerialNames(other))) return false; return true; }; protoOf(EnumDescriptor).toString = function () { return joinToString(get_elementNames(this), ', ', this.z1m() + '(', ')'); }; protoOf(EnumDescriptor).hashCode = function () { var result = getStringHashCode(this.z1m()); // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call // Inline function 'kotlin.collections.fold' call var accumulator = 1; var _iterator__ex2g4s = get_elementNames(this).g(); while (_iterator__ex2g4s.h()) { var element = _iterator__ex2g4s.i(); var hash = accumulator; var tmp = imul(31, hash); // Inline function 'kotlin.hashCode' call var tmp1_elvis_lhs = element == null ? null : hashCode(element); accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0; } var elementsHashCode = accumulator; result = imul(31, result) + elementsHashCode | 0; return result; }; function descriptor$factory() { return getPropertyCallableRef('descriptor', 1, KProperty1, function (receiver) { return receiver.v1o(); }, null); } function elementDescriptors$factory() { return getPropertyCallableRef('elementDescriptors', 1, KProperty1, function (receiver) { return _get_elementDescriptors__y23q9p(receiver); }, null); } function get_EMPTY_DESCRIPTOR_ARRAY() { _init_properties_Platform_common_kt__3qzecs(); return EMPTY_DESCRIPTOR_ARRAY; } var EMPTY_DESCRIPTOR_ARRAY; function cachedSerialNames(_this__u8e3s4) { _init_properties_Platform_common_kt__3qzecs(); if (isInterface(_this__u8e3s4, CachedNames)) return _this__u8e3s4.e1o(); var result = HashSet_init_$Create$_0(_this__u8e3s4.b1n()); var inductionVariable = 0; var last = _this__u8e3s4.b1n(); if (inductionVariable < last) do { var i = inductionVariable; inductionVariable = inductionVariable + 1 | 0; // Inline function 'kotlin.collections.plusAssign' call var element = _this__u8e3s4.c1n(i); result.e(element); } while (inductionVariable < last); return result; } function compactArray(_this__u8e3s4) { _init_properties_Platform_common_kt__3qzecs(); // Inline function 'kotlin.takeUnless' call var tmp; // Inline function 'kotlin.collections.isNullOrEmpty' call if (!(_this__u8e3s4 == null || _this__u8e3s4.p())) { tmp = _this__u8e3s4; } else { tmp = null; } var tmp0_safe_receiver = tmp; var tmp_0; if (tmp0_safe_receiver == null) { tmp_0 = null; } else { // Inline function 'kotlin.collections.toTypedArray' call tmp_0 = copyToArray(tmp0_safe_receiver); } var tmp1_elvis_lhs = tmp_0; return tmp1_elvis_lhs == null ? get_EMPTY_DESCRIPTOR_ARRAY() : tmp1_elvis_lhs; } var properties_initialized_Platform_common_kt_i7q4ty; function _init_properties_Platform_common_kt__3qzecs() { if (!properties_initialized_Platform_common_kt_i7q4ty) { properties_initialized_Platform_common_kt_i7q4ty = true; // Inline function 'kotlin.arrayOf' call // Inline function 'kotlin.js.unsafeCast' call // Inline function 'kotlin.js.asDynamic' call EMPTY_DESCRIPTOR_ARRAY = []; } } function hashCodeImpl(_this__u8e3s4, typeParams) { var result = getStringHashCode(_this__u8e3s4.z1m()); result = imul(31, result) + contentHashCode(typeParams) | 0; var elementDescriptors = get_elementDescriptors(_this__u8e3s4); // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call // Inline function 'kotlin.collections.fold' call var accumulator = 1; var _iterator__ex2g4s = elementDescriptors.g(); while (_iterator__ex2g4s.h()) { var element = _iterator__ex2g4s.i(); var hash = accumulator; var tmp = imul(31, hash); // Inline function 'kotlin.hashCode' call var tmp0_safe_receiver = element.z1m(); var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver); accumulator = tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0; } var namesHash = accumulator; // Inline function 'kotlinx.serialization.internal.elementsHashCodeBy' call // Inline function 'kotlin.collections.fold' call var accumulator_0 = 1; var _iterator__ex2g4s_0 = elementDescriptors.g(); while (_iterator__ex2g4s_0.h()) { var element_0 = _iterator__ex2g4s_0.i(); var hash_0 = accumulator_0; var tmp_0 = imul(31, hash_0); // Inline function 'kotlin.hashCode' call var tmp0_safe_receiver_0 = element_0.a1n(); var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : hashCode(tmp0_safe_receiver_0); accumulator_0 = tmp_0 + (tmp1_elvis_lhs_0 == null ? 0 : tmp1_elvis_lhs_0) | 0; } var kindHash = accumulator_0; result = imul(31, result) + namesHash | 0; result = imul(31, result) + kindHash | 0; return result; } function toStringImpl(_this__u8e3s4) { var tmp = until(0, _this__u8e3s4.b1n()); var tmp_0 = _this__u8e3s4.z1m() + '('; return joinToString(tmp, ', ', tmp_0, ')', VOID, VOID, toStringImpl$lambda(_this__u8e3s4)); } function _get_childSerializers__7vnyfa($this) { var tmp0 = $this.r1o_1; // Inline function 'kotlin.getValue' call childSerializers$factory(); return tmp0.t(); } function _get__hashCode__tgwhef_0($this) { var tmp0 = $this.t1o_1; // Inline function 'kotlin.getValue' call _hashCode$factory_0(); return tmp0.t(); } function buildIndices($this) { var indices = HashMap_init_$Create$(); var inductionVariable = 0; var last = $this.m1o_1.length - 1 | 0; if (inductionVariable <= last) do { var i = inductionVariable; inductionVariable = inductionVariable + 1 | 0; // Inline function 'kotlin.collections.set' call var key = $this.m1o_1[i]; indices.h2(key, i); } while (inductionVariable <= last); return indices; } function PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this$0) { return function () { var tmp0_safe_receiver = this$0.j1o_1; var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m1p(); return tmp1_elvis_lhs == null ? get_EMPTY_SERIALIZER_ARRAY() : tmp1_elvis_lhs; }; } function PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this$0) { return function () { var tmp0_safe_receiver = this$0.j1o_1; var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1p(); var tmp; if (tmp1_safe_receiver == null) { tmp = null; } else { // Inline function 'kotlin.collections.map' call // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList_init_$Create$_0(tmp1_safe_receiver.length); var inductionVariable = 0; var last = tmp1_safe_receiver.length; while (inductionVariable < last) { var item = tmp1_safe_receiver[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp$ret$0 = item.v1o(); destination.e(tmp$ret$0); } tmp = destination; } return compactArray(tmp); }; } function PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this$0) { return function () { return hashCodeImpl(this$0, this$0.k1p()); }; } function PluginGeneratedSerialDescriptor(serialName, generatedSerializer, elementsCount) { generatedSerializer = generatedSerializer === VOID ? null : generatedSerializer; this.i1o_1 = serialName; this.j1o_1 = generatedSerializer; this.k1o_1 = elementsCount; this.l1o_1 = -1; var tmp = this; var tmp_0 = 0; var tmp_1 = this.k1o_1; // Inline function 'kotlin.arrayOfNulls' call var tmp_2 = Array(tmp_1); while (tmp_0 < tmp_1) { tmp_2[tmp_0] = '[UNINITIALIZED]'; tmp_0 = tmp_0 + 1 | 0; } tmp.m1o_1 = tmp_2; var tmp_3 = this; // Inline function 'kotlin.arrayOfNulls' call var size = this.k1o_1; tmp_3.n1o_1 = Array(size); this.o1o_1 = null; this.p1o_1 = booleanArray(this.k1o_1); this.q1o_1 = emptyMap(); var tmp_4 = this; var tmp_5 = LazyThreadSafetyMode_PUBLICATION_getInstance(); tmp_4.r1o_1 = lazy_0(tmp_5, PluginGeneratedSerialDescriptor$childSerializers$delegate$lambda(this)); var tmp_6 = this; var tmp_7 = LazyThreadSafetyMode_PUBLICATION_getInstance(); tmp_6.s1o_1 = lazy_0(tmp_7, PluginGeneratedSerialDescriptor$typeParameterDescriptors$delegate$lambda(this)); var tmp_8 = this; var tmp_9 = LazyThreadSafetyMode_PUBLICATION_getInstance(); tmp_8.t1o_1 = lazy_0(tmp_9, PluginGeneratedSerialDescriptor$_hashCode$delegate$lambda(this)); } protoOf(PluginGeneratedSerialDescriptor).z1m = function () { return this.i1o_1; }; protoOf(PluginGeneratedSerialDescriptor).b1n = function () { return this.k1o_1; }; protoOf(PluginGeneratedSerialDescriptor).a1n = function () { return CLASS_getInstance(); }; protoOf(PluginGeneratedSerialDescriptor).e1o = function () { return this.q1o_1.f2(); }; protoOf(PluginGeneratedSerialDescriptor).k1p = function () { var tmp0 = this.s1o_1; // Inline function 'kotlin.getValue' call typeParameterDescriptors$factory(); return tmp0.t(); }; protoOf(PluginGeneratedSerialDescriptor).l1p = function (name, isOptional) { this.l1o_1 = this.l1o_1 + 1 | 0; this.m1o_1[this.l1o_1] = name; this.p1o_1[this.l1o_1] = isOptional; this.n1o_1[this.l1o_1] = null; if (this.l1o_1 === (this.k1o_1 - 1 | 0)) { this.q1o_1 = buildIndices(this); } }; protoOf(PluginGeneratedSerialDescriptor).u1o = function (name, isOptional, $super) { isOptional = isOptional === VOID ? false : isOptional; var tmp; if ($super === VOID) { this.l1p(name, isOptional); tmp = Unit_instance; } else { tmp = $super.l1p.call(this, name, isOptional); } return tmp; }; protoOf(PluginGeneratedSerialDescriptor).d1n = function (index) { return getChecked(_get_childSerializers__7vnyfa(this), index).v1o(); }; protoOf(PluginGeneratedSerialDescriptor).c1n = function (index) { return getChecked(this.m1o_1, index); }; protoOf(PluginGeneratedSerialDescriptor).equals = function (other) { var tmp$ret$0; $l$block_5: { // Inline function 'kotlinx.serialization.internal.equalsImpl' call if (this === other) { tmp$ret$0 = true; break $l$block_5; } if (!(other instanceof PluginGeneratedSerialDescriptor)) { tmp$ret$0 = false; break $l$block_5; } if (!(this.z1m() === other.z1m())) { tmp$ret$0 = false; break $l$block_5; } if (!contentEquals(this.k1p(), other.k1p())) { tmp$ret$0 = false; break $l$block_5; } if (!(this.b1n() === other.b1n())) { tmp$ret$0 = false; break $l$block_5; } var inductionVariable = 0; var last = this.b1n(); if (inductionVariable < last) do { var index = inductionVariable; inductionVariable = inductionVariable + 1 | 0; if (!(this.d1n(index).z1m() === other.d1n(index).z1m())) { tmp$ret$0 = false; break $l$block_5; } if (!equals(this.d1n(index).a1n(), other.d1n(index).a1n())) { tmp$ret$0 = false; break $l$block_5; } } while (inductionVariable < last); tmp$ret$0 = true; } return tmp$ret$0; }; protoOf(PluginGeneratedSerialDescriptor).hashCode = function () { return _get__hashCode__tgwhef_0(this); }; protoOf(PluginGeneratedSerialDescriptor).toString = function () { return toStringImpl(this); }; function toStringImpl$lambda($this_toStringImpl) { return function (i) { return $this_toStringImpl.c1n(i) + ': ' + $this_toStringImpl.d1n(i).z1m(); }; } function childSerializers$factory() { return getPropertyCallableRef('childSerializers', 1, KProperty1, function (receiver) { return _get_childSerializers__7vnyfa(receiver); }, null); } function typeParameterDescriptors$factory() { return getPropertyCallableRef('typeParameterDescriptors', 1, KProperty1, function (receiver) { return receiver.k1p(); }, null); } function _hashCode$factory_0() { return getPropertyCallableRef('_hashCode', 1, KProperty1, function (receiver) { return _get__hashCode__tgwhef_0(receiver); }, null); } function get_EMPTY_SERIALIZER_ARRAY() { _init_properties_PluginHelperInterfaces_kt__xgvzfp(); return EMPTY_SERIALIZER_ARRAY; } var EMPTY_SERIALIZER_ARRAY; function GeneratedSerializer() { } var properties_initialized_PluginHelperInterfaces_kt_ap8in1; function _init_properties_PluginHelperInterfaces_kt__xgvzfp() { if (!properties_initialized_PluginHelperInterfaces_kt_ap8in1) { properties_initialized_PluginHelperInterfaces_kt_ap8in1 = true; // Inline function 'kotlin.arrayOf' call // Inline function 'kotlin.js.unsafeCast' call // Inline function 'kotlin.js.asDynamic' call EMPTY_SERIALIZER_ARRAY = []; } } function SerializableWith() { } function getChecked(_this__u8e3s4, index) { if (!(0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false)) throw IndexOutOfBoundsException_init_$Create$('Index ' + index + ' out of bounds ' + get_indices(_this__u8e3s4).toString()); return _this__u8e3s4[index]; } //region block: exports _.$_$ = _.$_$ || {}; _.$_$.a = createSimpleEnumSerializer; //endregion return _; })); //# sourceMappingURL=kotlinx-serialization-kotlinx-serialization-core.js.map