UNPKG

@kform/core

Version:

JavaScript bindings for KForm.

1,657 lines (1,642 loc) 334 kB
import { Companion_getInstance2jfwartfbd97a as Companion_getInstance, AbsolutePathKt2yp9wq8hukdma as AbsolutePathKt, toAbsolutePath3ihy8tw41uf3z as toAbsolutePath, PathKt36h1v84k6q0ip as PathKt, AbsolutePathFragmentKt3rks40jpfdudh as AbsolutePathFragmentKt, TouchedChangej473w76lny49 as TouchedChange, DirtyChange2uj5t3f2kjlcn as DirtyChange, DisplayChangendbe9xotb8a2 as DisplayChange, ValidationChange2bz4ico35vpxd as ValidationChange, Remove390qbvhnn0fvm as Remove, Add142wzzf7iicjv as Add, Destroywd1ess4lc3w2 as Destroy, Change30ukf5aqi11dq as Change, Init79phcuutv3d0 as Init, AutoValidationStatus3cl9c5n9mfcb5 as AutoValidationStatus, FormManagerEvent3v6dq6kt1nsz7 as FormManagerEvent, FormManagerKteidqo83g61qi as FormManagerKt, ValidationMode_Auto_getInstance6y0xb70j2npe as ValidationMode_Auto_getInstance, ValidationMode_Manual_getInstance1lhp5yq7iyd59 as ValidationMode_Manual_getInstance, validatePath22mtmqgcg2lp5 as validatePath, validateSchemaValidationscw4bd3j2tias as validateSchemaValidations, validateExternalValidations3i8t16arzsd7g as validateExternalValidations, isValidPath2p1x6mcgvt1vj as isValidPath, schemaInfo3rw49ks1j870g as schemaInfo, schema1a4czbgrrmmci as schema, SchemaKtm2q5czzyz05n as SchemaKt, valueInfor0erv2c3qp5b as valueInfo, validate2dkjam1rokvi4 as validate, validateExternallyujco4n75lkgc as validateExternally, has1l61b5mfrzhme as has, get2ljmt6yx8l4yi as get, getClonej4lhm4g69vu8 as getClone, set3vut8lxvmccxr as set, reset3szqy7wnp7t55 as reset, remove18vz6214hnzvv as remove, isValidsq6sw9e2jr1t as isValid, isValidExternallyff59mfdewkx7 as isValidExternally, Root_getInstance3rcfwzha73fca as Root_getInstance, CurrentPath_getInstance14wudoyarb5gh as CurrentPath_getInstance, ParentPath_getInstance1azieowm98q00 as ParentPath_getInstance, Id1b2up80kalnio as Id, CollectionEnd_getInstance6ws5dep5u09j as CollectionEnd_getInstance, Wildcard_getInstance7ae24vehrgtq as Wildcard_getInstance, RecursiveWildcard_getInstance2pwx4s9kruhe7 as RecursiveWildcard_getInstance, ParentPath3g1n7mx0zwyp8 as ParentPath, CurrentPath17oy9k6xsy5dd as CurrentPath, Root1fl5d8ijpxnwp as Root, RecursiveWildcard1qcc828iq5pda as RecursiveWildcard, Wildcard21ohzzlqdcvdr as Wildcard, CollectionEnd1qrgk27bnmhol as CollectionEnd, Companion_getInstance1r1jwnulfudgu as Companion_getInstance_0, ParentSchemaKt14ej4ojj9icnv as ParentSchemaKt, CollectionSchemaKt1th4x9vwwtcov as CollectionSchemaKt, ValidationErrorKt2qe2asku44pk5 as ValidationErrorKt, ValidationWarningKtn1sb76pnjovj as ValidationWarningKt, ValidationFailureKt1sbnj79yutv6t as ValidationFailureKt, LocatedValidationErrorKt3sux9pskxl3j9 as LocatedValidationErrorKt, LocatedValidationWarningKt17bhhyi7d4s5p as LocatedValidationWarningKt, LocatedValidationFailureKt2yail797dcuz3 as LocatedValidationFailureKt, ValidationIssueSeverity_Error_getInstance1b3a7dx2vacig as ValidationIssueSeverity_Error_getInstance, ValidationIssueSeverity_Warning_getInstance3mhyysjxxnzen as ValidationIssueSeverity_Warning_getInstance, LocatedValidationIssueKt3rhjgq9br8gsh as LocatedValidationIssueKt, ValidationKt2wza95c9i4cwc as ValidationKt, DependencyInfo39v67wctmu7s8 as DependencyInfo, mutablePathMultimapOf10m83d5l2f70c as mutablePathMultimapOf, Table2hrodz6ph3rlv as Table, ValueInfoKtpx12g4e1jirk as ValueInfoKt, AbstractCollectionSchema3nvdsobeu64ut as AbstractCollectionSchema, TypeInfoKt1fenq92h7ovqa as TypeInfoKt, commonRestrictions3mme4b9rcl6zq as commonRestrictions, sizeBoundsRestrictions32xluvc69hnln as sizeBoundsRestrictions, ListState2yhri7hc9mf86 as ListState, BigDecimalSchema1js87idjlh6ty as BigDecimalSchema, BigIntegerSchemacsgbg7730lqy as BigIntegerSchema, BooleanSchema3bpon51senwxg as BooleanSchema, AbstractSimpleSchema361afpwglr3iz as AbstractSimpleSchema, emptyPlaceholderFile2s3tf3u6ptjyq as emptyPlaceholderFile, FileSchema22kaxh702ur7e as FileSchema, Companion_instance17plf14etedni as Companion_instance, DoubleSchema26h79a3icv9bm as DoubleSchema, SchemaInfoKt1roh9xgmmiuv4 as SchemaInfoKt, ClassState2o41au4wjueao as ClassState, assignableTo1206plkiq3xob as assignableTo, StringSchema50vx7ojqfefj as StringSchema, tableOf1jy1ksj9rkmab as tableOf, TableSchemaksibrtuknfzq as TableSchema, File3buzbksbszxt5 as File_0, toTable2rpoaqyq9zsrm as toTable, comparePaths3l9h29o4btjj5 as comparePaths, NullableSchema3dydv1zml35gt as NullableSchema, ComputedSchema2diozfgk8g99l as ComputedSchema, convertTableRowIndicesToIdszg36xmqxyako as convertTableRowIndicesToIds, convertTableRowIdsToIndices7f3vhhbf6x1 as convertTableRowIdsToIndices, convertTableRowIndicesToIdsgtsphtjiek2l as convertTableRowIndicesToIds_0, convertTableRowIndicesToIds1zeznv2tagtuy as convertTableRowIndicesToIds_1, Acceptsnjdb7a5a6yrr as Accepts, MustEqual3buw08utplvch as MustEqual, MustNotEqual3278t29cmjsdr as MustNotEqual, OneOf39c4zve8p2s0f as OneOf, NotOneOf2h5jbyrcb8gpv as NotOneOf, Min2fcs1xdru5rdv as Min, Max1j5k1qi2kvwgi as Max, ExclusiveMin27l4l3qa904wt as ExclusiveMin, ExclusiveMax1f35cuwxz965i as ExclusiveMax, Length2s9bw92ccwnpy as Length, MinLength2hkw9h5ch0z6i as MinLength, MaxLength3jrvcnxgx3tzp as MaxLength, Matches2edqcka2lt68a as Matches, Companion_getInstance2io2nmhymfwk5 as Companion_getInstance_1, MatchesEmail7ts90dnykf8l as MatchesEmail, Requiredsrweazbnjrm5 as Required, NotEmpty5o46xhe5a7kq as NotEmpty, NotBlank2zqhpb57myo3n as NotBlank, Scale1hc2xqnrt88sd as Scale, Size3mavp9smzeyok as Size, MinSize3c83f5tiwqqk2 as MinSize, MaxSize1d4rpmy9bs3va as MaxSize, UniqueItemsBy1xa7q4slhi13s as UniqueItemsBy, UniqueItems12k78si1j4xgz as UniqueItems, } from './KForm-kform-core.mjs'; import { initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion, VOID3gxj6tk5isa35 as VOID, Unit_instance1fbcbse1fwigr as Unit_instance, toString1pkumu07cwy4m as toString, ArrayList3it5z8td81qkl as ArrayList, THROW_CCE2g6jy02ryeudk as THROW_CCE, isArray1hxjqtqy632bc as isArray, copyToArray2j022khrow2yi as copyToArray, KtList3hktaavzmj137 as KtList, isInterface3d6p8outrmvmk as isInterface, initMetadataForClassbxx6q50dy2s7 as initMetadataForClass, defineProp3hxgpk2knu2px as defineProp, initMetadataForInterface1egvbzx539z91 as initMetadataForInterface, noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException, CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl, get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED, initMetadataForLambda3af3he42mmnh as initMetadataForLambda, throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException, equals2au1ep9vhcato as equals, FunctionAdapter3lcrrz3moet5b as FunctionAdapter, hashCodeq5arwsb9dgti as hashCode, collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault, IllegalStateExceptionkoljg5n0nrlr as IllegalStateException, KtMap140uvy3s5zad8 as KtMap, initMetadataForObject1cxne3s9w65el as initMetadataForObject, charSequenceLength3278n89t01tmv as charSequenceLength, charCodeAt1yspne1d8erbm as charCodeAt, toString3o7ifthqydp6e as toString_0, substring3saq8ornu0luv as substring, emptyMapr06gerzljqtm as emptyMap, ensureNotNull1e947j3ixpazm as ensureNotNull, emptySetcxexqki71qfa as emptySet, toSet1glep2u1u9tcb as toSet, PrimitiveClasses_getInstance2v63zn04dtq03 as PrimitiveClasses_getInstance, arrayOf1akklvh2at202 as arrayOf, createKType1lgox3mzhchp5 as createKType, arrayIterator3lgwvgteckzhv as arrayIterator, to2cs3ny02qtbcb as to, Iterable1y3qizuf89iou as Iterable, toList3jhuyej2anx2q as toList, emptyList1g2z5xcrvp2zy as emptyList, IllegalArgumentException2asla15b5jaob as IllegalArgumentException, toString30pk9tzaqopn as toString_1, Collection1k04j3hzsbod0 as Collection, Regexxgw0gjiagf4z as Regex, toInt2q8uldh7sc951 as toInt, withIndex3s8q7w1g0hyfn as withIndex, initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine, until1jbpn0z3f8lbg as until, downTo39qhfeycepm1j as downTo, get_lastIndexx0qsydpfv3mu as get_lastIndex, last3cd86tb14cwl6 as last, listOfvhqybd2zx248 as listOf, plus2m1vv33moko5t as plus, KClass1cc9rfeybg8hs as KClass, numberToDouble210hrknaofnhf as numberToDouble, isNumberiramasdbon0i as isNumber, SequenceScope1coiso86pqzq2 as SequenceScope, LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap, sequence2vgswtrxvqoa7 as sequence, protoOf180f3jzyo7rfj as protoOf, CancellationException3b36o9qz53rgr as CancellationException, captureStack1fzi4aczwc4hg as captureStack, EmptyCoroutineContext_getInstance31fow51ayy30t as EmptyCoroutineContext_getInstance, Char19o2r8palgjof as Char, Char__toInt_impl_vasixd1agw9q2fuvclj as Char__toInt_impl_vasixd, numberToChar93r9buh19yek as numberToChar, isByteArray4nnzfn1x4o3w as isByteArray, Error3ofk6owajcepa as Error_0, toList383f556t1dixk as toList_0, Long2qws0ah9gnpki as Long, toLongkk4waq8msp1k as toLong, Instant2s2zyzgfc4947 as Instant, Companion_getInstance1jfygh5e58evr as Companion_getInstance_2, asIterable314gqyxouondo as asIterable, LinkedHashSet2tkztfx86kyx2 as LinkedHashSet, RegexOption_IGNORE_CASE_getInstance1e6t23ud6ux7i as RegexOption_IGNORE_CASE_getInstance, RegexOption_MULTILINE_getInstance3m3iukvv670g5 as RegexOption_MULTILINE_getInstance, } from './kotlin-kotlin-stdlib.mjs'; import { FlowCollector26clgpmzihvke as FlowCollector, await20nhgj9iqzkt as await_0, CoroutineScopefcb5f5dwqcas as CoroutineScope, onSubscription3iwvbdmbwg7iq as onSubscription, cancelAndJoinohagsjjkatom as cancelAndJoin, GlobalScope_instance1sfulufhd2ijt as GlobalScope_instance, Flow3375h4584bu3w as Flow, CompletableDeferred2lnqvsbvx74d3 as CompletableDeferred, launch1c91vkjzdi9sd as launch, flow3tazazxj2t7g4 as flow, get_isActive3hyjjajobpa4m as get_isActive, Deferred6wjx2us769ee as Deferred, CoroutineStart_DEFAULT_getInstance2bbgmtawlnkke as CoroutineStart_DEFAULT_getInstance, asyncz02dsa2nb2zt as async, asPromisej52jkt850fa3 as asPromise, } from './kotlinx-coroutines-core.mjs'; import { KotlinLoggingConfiguration_getInstance1a1n660un4hfw as KotlinLoggingConfiguration_getInstance, valueOf1uc4ed064hut4 as valueOf, } from './kotlin-logging.mjs'; import { BigInteger2os7lovh3vsct as BigInteger, Companion_getInstance1sxhbhdtzlmj5 as Companion_getInstance_3, BigDecimal48yf13swr2y6 as BigDecimal, Companion_getInstance12xqg7tajamp0 as Companion_getInstance_4, } from './kt-math.mjs'; import { LocalDate31mqn6zavbpi8 as LocalDate, LocalDateTime3vqv9moe7clf4 as LocalDateTime, Companion_getInstancefc1kb6w5z78x as Companion_getInstance_5, Companion_getInstance2vzevs5m6d283 as Companion_getInstance_6, } from './Kotlin-DateTime-library-kotlinx-datetime.mjs'; //region block: imports //endregion //region block: pre-declaration class Companion { constructor() { Companion_instance_0 = this; this.w75_1 = new AbsolutePath(Companion_getInstance().m2i_1); this.x75_1 = new AbsolutePath(Companion_getInstance().n2i_1); } y75() { return this.w75_1; } z75() { return this.x75_1; } } class Path { constructor(path) { Companion_getInstance_8(); var tmp; if (path === VOID) { // Inline function 'kotlin.emptyArray' call tmp = []; } else { tmp = path; } path = tmp; var tmp_0 = this; var tmp_1; if (path instanceof PathKt) { tmp_1 = path; } else { if (path instanceof Path) { tmp_1 = path.c76(); } else { if (isArray(path)) { // Inline function 'kotlin.collections.map' call // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(path.length); var inductionVariable = 0; var last = path.length; while (inductionVariable < last) { var item = path[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp$ret$1 = (item instanceof PathFragment ? item : THROW_CCE()).a76(); destination.s(tmp$ret$1); } tmp_1 = PathKt.h2j(destination); } else { tmp_1 = PathKt.n2j(toString(path)); } } } tmp_0.b76_1 = tmp_1; } c76() { return this.b76_1; } i2j() { var tmp = this.c76().i2j(); return cachedToJs_11(tmp, PathJs$_get_fragments_$lambda_caru6r); } fragment(index) { return toJs(this.c76().h1(index)); } parent() { return new Path(this.c76().s2j()); } append() { var tmp = this.c76(); // Inline function 'functionArguments' call // Inline function 'kotlin.collections.map' call var this_0 = Array.from(arguments); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(this_0.length); var inductionVariable = 0; var last = this_0.length; while (inductionVariable < last) { var item = this_0[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp$ret$1 = (item instanceof PathFragment ? item : THROW_CCE()).a76(); destination.s(tmp$ret$1); } // Inline function 'kotlin.collections.toTypedArray' call var tmp$ret$4 = copyToArray(destination); return new Path(tmp.c2k(tmp$ret$4.slice())); } join() { var tmp = this.c76(); // Inline function 'functionArguments' call // Inline function 'kotlin.collections.map' call var this_0 = Array.from(arguments); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(this_0.length); var inductionVariable = 0; var last = this_0.length; while (inductionVariable < last) { var item = this_0[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp_0; if (item instanceof Path) { tmp_0 = item.c76(); } else { tmp_0 = PathKt.n2j(toString(item)); } var tmp$ret$1 = tmp_0; destination.s(tmp$ret$1); } // Inline function 'kotlin.collections.toTypedArray' call var tmp$ret$4 = copyToArray(destination); return new Path(tmp.d2k(tmp$ret$4.slice())); } resolve() { var tmp = this.c76(); // Inline function 'functionArguments' call // Inline function 'kotlin.collections.map' call var this_0 = Array.from(arguments); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(this_0.length); var inductionVariable = 0; var last = this_0.length; while (inductionVariable < last) { var item = this_0[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp_0; if (item instanceof Path) { tmp_0 = item.c76(); } else { tmp_0 = PathKt.n2j(toString(item)); } var tmp$ret$1 = tmp_0; destination.s(tmp$ret$1); } // Inline function 'kotlin.collections.toTypedArray' call var tmp$ret$4 = copyToArray(destination); return new Path(tmp.w2j(tmp$ret$4.slice())); } equals(other) { var tmp; if (this === other) { tmp = true; } else { if (!(other instanceof Path)) { tmp = false; } else { tmp = this.c76().equals(other.c76()); } } return tmp; } hashCode() { return this.c76().hashCode(); } toString() { return this.c76().toString(); } get fragments() { return this.i2j(); } } class AbsolutePath extends Path { constructor(path) { Companion_getInstance_7(); var tmp; if (path === VOID) { // Inline function 'kotlin.emptyArray' call tmp = []; } else { tmp = path; } path = tmp; super(path); var tmp_0 = this; var tmp_1; if (path instanceof PathKt) { tmp_1 = toAbsolutePath(path); } else { if (path instanceof Path) { tmp_1 = toAbsolutePath(path.c76()); } else { if (isArray(path)) { // Inline function 'kotlin.collections.map' call // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(path.length); var inductionVariable = 0; var last = path.length; while (inductionVariable < last) { var item = path[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp$ret$1 = (item instanceof AbsolutePathFragment ? item : THROW_CCE()).a76(); destination.s(tmp$ret$1); } tmp_1 = AbsolutePathKt.p2i(destination); } else { tmp_1 = AbsolutePathKt.m2j(toString(path)); } } } tmp_0.e76_1 = tmp_1; this.size = this.e76_1.c1(); this.isRoot = this.e76_1.j2j(); var tmp_2 = this; var tmp0_safe_receiver = this.e76_1.k2j(); tmp_2.lastFragment = tmp0_safe_receiver == null ? null : toJs_0(tmp0_safe_receiver); } c76() { return this.e76_1; } i2j() { var tmp = this.e76_1.i2j(); return cachedToJs_11(tmp, AbsolutePathJs$_get_fragments_$lambda_vc85ek); } c1() { return this.size; } j2j() { return this.isRoot; } k2j() { return this.lastFragment; } fragment(index) { return toJs_0(this.e76_1.h1(index)); } hasWildcard() { return this.e76_1.p2j(); } hasRecursiveWildcard() { return this.e76_1.q2j(); } hasAnyWildcard() { return this.e76_1.r2j(); } parent() { return new AbsolutePath(this.e76_1.s2j()); } append() { var allAbsolute = true; // Inline function 'functionArguments' call // Inline function 'kotlin.collections.map' call var this_0 = Array.from(arguments); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(this_0.length); var inductionVariable = 0; var last = this_0.length; while (inductionVariable < last) { var item = this_0[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; // Inline function 'kotlin.also' call var this_1 = (item instanceof PathFragment ? item : THROW_CCE()).a76(); if (!(this_1 instanceof AbsolutePathFragmentKt)) { allAbsolute = false; } destination.s(this_1); } var fragmentsKt = destination; var tmp; if (allAbsolute) { // Inline function 'kotlin.collections.toTypedArray' call var this_2 = isInterface(fragmentsKt, KtList) ? fragmentsKt : THROW_CCE(); var tmp$ret$6 = copyToArray(this_2); tmp = new AbsolutePath(this.e76_1.u2j(tmp$ret$6.slice())); } else { // Inline function 'kotlin.collections.toTypedArray' call var tmp$ret$7 = copyToArray(fragmentsKt); tmp = new Path(this.e76_1.c2k(tmp$ret$7.slice())); } return tmp; } resolve() { // Inline function 'functionArguments' call // Inline function 'kotlin.collections.map' call var this_0 = Array.from(arguments); // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList.w(this_0.length); var inductionVariable = 0; var last = this_0.length; while (inductionVariable < last) { var item = this_0[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; var tmp; if (item instanceof Path) { tmp = item.c76(); } else { tmp = PathKt.n2j(toString(item)); } var tmp$ret$1 = tmp; destination.s(tmp$ret$1); } // Inline function 'kotlin.collections.toTypedArray' call var tmp$ret$4 = copyToArray(destination); return new AbsolutePath(this.e76_1.w2j(tmp$ret$4.slice())); } matches(path) { return this.e76_1.y2j(toPathKt(path)); } contains(path) { return this.e76_1.z2j(toPathKt(path)); } relativeTo(path) { return new Path(this.e76_1.a2k(toPathKt(path))); } equals(other) { var tmp; if (this === other) { tmp = true; } else { if (!(other instanceof Path)) { tmp = false; } else { tmp = this.e76_1.equals(other.c76()); } } return tmp; } hashCode() { return this.e76_1.hashCode(); } } class FormManagerEvent_0 {} class ValueEvent { y2() { return this.h76().y2(); } g2m() { return this.h76().g2m(); } e2m() { return cachedToJs(this.h76().e2m()); } f2m() { return cachedToJs_5(this.h76().f2m()); } toString() { return toString(this.h76()); } get value() { return this.y2(); } get oldValue() { return this.g2m(); } get path() { return this.e2m(); } get schema() { return this.f2m(); } } class Init_0 extends ValueEvent { constructor(eventKt) { super(); this.f76_1 = eventKt; this.g76_1 = undefined; } h76() { return this.f76_1; } g2m() { return this.g76_1; } } class Change_0 extends ValueEvent { constructor(eventKt) { super(); this.i76_1 = eventKt; } h76() { return this.i76_1; } } class Destroy_0 extends ValueEvent { constructor(eventKt) { super(); this.j76_1 = eventKt; this.k76_1 = undefined; } h76() { return this.j76_1; } y2() { return this.k76_1; } } class Add_0 extends ValueEvent { constructor(eventKt) { super(); this.l76_1 = eventKt; this.m76_1 = undefined; } h76() { return this.l76_1; } g2m() { return this.m76_1; } n76() { return this.l76_1.w2m_1; } x3o() { var tmp = toJs_0(this.l76_1.x2m_1); return tmp instanceof Id_0 ? tmp : THROW_CCE(); } get addedValue() { return this.n76(); } get id() { return this.x3o(); } } class Remove_0 extends ValueEvent { constructor(eventKt) { super(); this.o76_1 = eventKt; this.p76_1 = undefined; } h76() { return this.o76_1; } g2m() { return this.p76_1; } q76() { return this.o76_1.e2n_1; } x3o() { var tmp = toJs_0(this.o76_1.f2n_1); return tmp instanceof Id_0 ? tmp : THROW_CCE(); } get removedValue() { return this.q76(); } get id() { return this.x3o(); } } class StateEvent { e2m() { return cachedToJs(this.h76().e2m()); } f2m() { return cachedToJs_5(this.h76().f2m()); } toString() { return toString(this.h76()); } get path() { return this.e2m(); } get schema() { return this.f2m(); } } class ValidationChange_0 extends StateEvent { constructor(eventKt) { super(); this.r76_1 = eventKt; } h76() { return this.r76_1; } s76() { return toJs_1(this.r76_1.n2n_1); } t76() { return cachedToJs_11(this.r76_1.o2n_1, StateEventJs$ValidationChange$_get_issues_$lambda_558b5); } get status() { return this.s76(); } get issues() { return this.t76(); } } class DisplayChange_0 extends StateEvent { constructor(eventKt) { super(); this.u76_1 = eventKt; } h76() { return this.u76_1; } s76() { return toJs_2(this.u76_1.t2n_1); } get status() { return this.s76(); } } class DirtyChange_0 extends StateEvent { constructor(eventKt) { super(); this.v76_1 = eventKt; } h76() { return this.v76_1; } s76() { return this.v76_1.y2n_1; } get status() { return this.s76(); } } class TouchedChange_0 extends StateEvent { constructor(eventKt) { super(); this.w76_1 = eventKt; } h76() { return this.w76_1; } s76() { return this.w76_1.d2o_1; } get status() { return this.s76(); } } class FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda extends CoroutineImpl { constructor($onSubscription, $subscribed, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.f77_1 = $onSubscription; $box.g77_1 = $subscribed; super(resultContinuation, $box); } l77($this$onSubscription, $completion) { var tmp = this.m77($this$onSubscription, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.l77((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; var tmp0_safe_receiver = this.f77_1; tmp_0.i77_1 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(); this.j77_1 = this.i77_1; var tmp0_safe_receiver_0 = this.j77_1; if (typeof (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.then) === 'function') { this.td_1 = 1; var tmp_1 = this.j77_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.k77_1 = this.j77_1; this.td_1 = 2; continue $sm; } case 1: this.k77_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: this.g77_1.z19(Unit_instance); return Unit_instance; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } m77($this$onSubscription, completion) { var i = new FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda(this.f77_1, this.g77_1, completion); i.h77_1 = $this$onSubscription; return i; } } class FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda_0 extends CoroutineImpl { constructor($statusChangeHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.v77_1 = $statusChangeHandler; super(resultContinuation, $box); } a78(it, $completion) { var tmp = this.b78(it, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.a78(p1 instanceof AutoValidationStatus ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.x77_1 = this.v77_1(toJs_3(this.w77_1)); this.y77_1 = this.x77_1; var tmp0_safe_receiver = this.y77_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.y77_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.z77_1 = this.y77_1; this.td_1 = 2; continue $sm; } case 1: this.z77_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return Unit_instance; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } b78(it, completion) { var i = new FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda_0(this.v77_1, completion); i.w77_1 = it; return i; } } class FormManagerJs$onAutoValidationStatusChange$slambda$slambda extends CoroutineImpl { constructor(this$0, $onSubscription, $subscribed, $statusChangeHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.k78_1 = this$0; $box.l78_1 = $onSubscription; $box.m78_1 = $subscribed; $box.n78_1 = $statusChangeHandler; super(resultContinuation, $box); } o2r($this$launch, $completion) { var tmp = this.p2r($this$launch, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.o2r((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 2; this.td_1 = 1; var tmp_0 = this.k78_1.p78_1.t37(); var tmp_1 = onSubscription(tmp_0, FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda_1(this.l78_1, this.m78_1, null)); var tmp_2 = FormManagerJs$onAutoValidationStatusChange$slambda$slambda$slambda_2(this.n78_1, null); suspendResult = tmp_1.y1n(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_2), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; case 1: throwKotlinNothingValueException(); break; case 2: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 2) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } p2r($this$launch, completion) { var i = new FormManagerJs$onAutoValidationStatusChange$slambda$slambda(this.k78_1, this.l78_1, this.m78_1, this.n78_1, completion); i.o78_1 = $this$launch; return i; } } class FormManagerJs$onAutoValidationStatusChange$slambda$lambda$slambda extends CoroutineImpl { constructor($job, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.y78_1 = $job; super(resultContinuation, $box); } a79($this$cancellablePromise, $completion) { var tmp = this.p2r($this$cancellablePromise, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.a79((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 2; this.td_1 = 1; suspendResult = cancelAndJoin(this.y78_1, this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; case 1: return undefined; case 2: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 2) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } p2r($this$cancellablePromise, completion) { var i = new FormManagerJs$onAutoValidationStatusChange$slambda$lambda$slambda(this.y78_1, completion); i.z78_1 = $this$cancellablePromise; return i; } } class FormManagerJs$valueInfo$slambda$slambda extends CoroutineImpl { constructor($infoHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.j79_1 = $infoHandler; super(resultContinuation, $box); } o79(infoFlow, $completion) { var tmp = this.p79(infoFlow, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.o79((!(p1 == null) ? isInterface(p1, Flow) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.l79_1 = this.j79_1(toAsyncIterableJs(this.k79_1, FormManagerJs$valueInfo$slambda$slambda$lambda)); this.m79_1 = this.l79_1; var tmp0_safe_receiver = this.m79_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.m79_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.n79_1 = this.m79_1; this.td_1 = 2; continue $sm; } case 1: this.n79_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return this.n79_1; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } p79(infoFlow, completion) { var i = new FormManagerJs$valueInfo$slambda$slambda(this.j79_1, completion); i.k79_1 = infoFlow; return i; } } class FormManagerJs$info$slambda$slambda extends CoroutineImpl { constructor($infoHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.y79_1 = $infoHandler; super(resultContinuation, $box); } d7a(infoFlow, $completion) { var tmp = this.e7a(infoFlow, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.d7a((!(p1 == null) ? isInterface(p1, Flow) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.a7a_1 = this.y79_1(toAsyncIterableJs(this.z79_1, FormManagerJs$info$slambda$slambda$lambda)); this.b7a_1 = this.a7a_1; var tmp0_safe_receiver = this.b7a_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.b7a_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.c7a_1 = this.b7a_1; this.td_1 = 2; continue $sm; } case 1: this.c7a_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return this.c7a_1; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } e7a(infoFlow, completion) { var i = new FormManagerJs$info$slambda$slambda(this.y79_1, completion); i.z79_1 = infoFlow; return i; } } class FormManagerJs$get$slambda$slambda extends CoroutineImpl { constructor($valueHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.n7a_1 = $valueHandler; super(resultContinuation, $box); } s7a(value, $completion) { var tmp = this.u1r(value, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.s7a((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.p7a_1 = this.n7a_1(this.o7a_1); this.q7a_1 = this.p7a_1; var tmp0_safe_receiver = this.q7a_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.q7a_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.r7a_1 = this.q7a_1; this.td_1 = 2; continue $sm; } case 1: this.r7a_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return this.r7a_1; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } u1r(value, completion) { var i = new FormManagerJs$get$slambda$slambda(this.n7a_1, completion); i.o7a_1 = value; return i; } } class FormManagerJs$getExternalContext$slambda$slambda extends CoroutineImpl { constructor($externalContextHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.b7b_1 = $externalContextHandler; super(resultContinuation, $box); } g7b(it, $completion) { var tmp = this.h4s(it, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.g7b((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.d7b_1 = this.b7b_1(this.c7b_1); this.e7b_1 = this.d7b_1; var tmp0_safe_receiver = this.e7b_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.e7b_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.f7b_1 = this.e7b_1; this.td_1 = 2; continue $sm; } case 1: this.f7b_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return this.f7b_1; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } h4s(it, completion) { var i = new FormManagerJs$getExternalContext$slambda$slambda(this.b7b_1, completion); i.c7b_1 = it; return i; } } class FormManagerJs$validate$slambda$slambda extends CoroutineImpl { constructor($issuesHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.p7b_1 = $issuesHandler; super(resultContinuation, $box); } u7b(issuesFlow, $completion) { var tmp = this.x2s(issuesFlow, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.u7b((!(p1 == null) ? isInterface(p1, Flow) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.r7b_1 = this.p7b_1(toAsyncIterableJs(this.q7b_1, FormManagerJs$validate$slambda$slambda$lambda)); this.s7b_1 = this.r7b_1; var tmp0_safe_receiver = this.s7b_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.s7b_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.t7b_1 = this.s7b_1; this.td_1 = 2; continue $sm; } case 1: this.t7b_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return this.t7b_1; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } x2s(issuesFlow, completion) { var i = new FormManagerJs$validate$slambda$slambda(this.p7b_1, completion); i.q7b_1 = issuesFlow; return i; } } class FormManagerJs$subscribe$slambda$slambda extends CoroutineImpl { constructor($onSubscription, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.d7c_1 = $onSubscription; super(resultContinuation, $box); } w3z($completion) { var tmp = this.x3z($completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } y3z($completion) { return this.w3z($completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; tmp_0.e7c_1 = this.d7c_1(); this.f7c_1 = this.e7c_1; var tmp0_safe_receiver = this.f7c_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_1 = this.f7c_1; suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.g7c_1 = this.f7c_1; this.td_1 = 2; continue $sm; } case 1: this.g7c_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return Unit_instance; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } x3z(completion) { return new FormManagerJs$subscribe$slambda$slambda(this.d7c_1, completion); } } class FormManagerJs$subscribe$slambda$slambda_0 extends CoroutineImpl { constructor($eventHandler, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.p7c_1 = $eventHandler; super(resultContinuation, $box); } t4e(it, $completion) { var tmp = this.u4e(it, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.t4e((!(p1 == null) ? isInterface(p1, FormManagerEvent) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 3; var tmp_0 = this; var tmp_1 = cachedToJs_0(this.q7c_1); tmp_0.r7c_1 = this.p7c_1(isInterface(tmp_1, FormManagerEvent_0) ? tmp_1 : THROW_CCE()); this.s7c_1 = this.r7c_1; var tmp0_safe_receiver = this.s7c_1; if (typeof (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.then) === 'function') { this.td_1 = 1; var tmp_2 = this.s7c_1; suspendResult = await_0(tmp_2 instanceof Promise ? tmp_2 : THROW_CCE(), this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; } else { this.t7c_1 = this.s7c_1; this.td_1 = 2; continue $sm; } case 1: this.t7c_1 = suspendResult; this.td_1 = 2; continue $sm; case 2: return Unit_instance; case 3: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 3) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } u4e(it, completion) { var i = new FormManagerJs$subscribe$slambda$slambda_0(this.p7c_1, completion); i.q7c_1 = it; return i; } } class FormManagerJs$subscribe$slambda$lambda$slambda extends CoroutineImpl { constructor($unsubscribe, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.c7d_1 = $unsubscribe; super(resultContinuation, $box); } a79($this$cancellablePromise, $completion) { var tmp = this.p2r($this$cancellablePromise, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.a79((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 2; this.td_1 = 1; suspendResult = this.c7d_1(this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; case 1: return undefined; case 2: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 2) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } p2r($this$cancellablePromise, completion) { var i = new FormManagerJs$subscribe$slambda$lambda$slambda(this.c7d_1, completion); i.d7d_1 = $this$cancellablePromise; return i; } } class sam$kotlinx_coroutines_flow_FlowCollector$0 { constructor(function_0) { this.e7d_1 = function_0; } a1m(value, $completion) { return this.e7d_1(value, $completion); } i4() { return this.e7d_1; } equals(other) { var tmp; if (!(other == null) ? isInterface(other, FlowCollector) : false) { var tmp_0; if (!(other == null) ? isInterface(other, FunctionAdapter) : false) { tmp_0 = equals(this.i4(), other.i4()); } else { tmp_0 = false; } tmp = tmp_0; } else { tmp = false; } return tmp; } hashCode() { return hashCode(this.i4()); } } class FormManagerJs$init$slambda extends CoroutineImpl { constructor(this$0, $externalContexts, $validationMode, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.n7d_1 = this$0; $box.o7d_1 = $externalContexts; $box.p7d_1 = $validationMode; super(resultContinuation, $box); } a79($this$cancellablePromise, $completion) { var tmp = this.p2r($this$cancellablePromise, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.a79((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 2; this.td_1 = 1; suspendResult = this.n7d_1.p78_1.r37(objectToKtMap(this.o7d_1), toValidationModeKt(this.p7d_1), VOID, this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; case 1: return undefined; case 2: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 2) { throw e; } else { this.td_1 = this.ud_1; this.wd_1 = e; } } while (true); } p2r($this$cancellablePromise, completion) { var i = new FormManagerJs$init$slambda(this.n7d_1, this.o7d_1, this.p7d_1, completion); i.q7d_1 = $this$cancellablePromise; return i; } } class FormManagerJs$destroy$slambda extends CoroutineImpl { constructor(this$0, resultContinuation, $box) { if ($box === VOID) $box = {}; $box.z7d_1 = this$0; super(resultContinuation, $box); } a79($this$cancellablePromise, $completion) { var tmp = this.p2r($this$cancellablePromise, $completion); tmp.vd_1 = Unit_instance; tmp.wd_1 = null; return tmp.be(); } ve(p1, $completion) { return this.a79((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion); } be() { var suspendResult = this.vd_1; $sm: do try { var tmp = this.td_1; switch (tmp) { case 0: this.ud_1 = 2; this.td_1 = 1; suspendResult = this.z7d_1.p78_1.s37(this); if (suspendResult === get_COROUTINE_SUSPENDED()) { return suspendResult; } continue $sm; case 1: return undefined; case 2: throw this.wd_1; } } catch ($p) { var e = $p; if (this.ud_1 === 2) {