UNPKG

git-semver-tagger

Version:

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/robertfmurdock/ze-great-tools?label=Release) ![NPM Version](https://img.shields.io/npm/v/git-semver-tagger?label=npm%20git-semver-tagger)

1,153 lines 237 kB
(function (_, $module$_js_joda_core_gcv2k, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) { 'use strict'; //region block: imports var imul = Math.imul; var Instant = $module$_js_joda_core_gcv2k.Instant; var LocalDate = $module$_js_joda_core_gcv2k.LocalDate; var LocalTime = $module$_js_joda_core_gcv2k.LocalTime; var ZoneOffset = $module$_js_joda_core_gcv2k.ZoneOffset; var ChronoField = $module$_js_joda_core_gcv2k.ChronoField; var DateTimeFormatterBuilder = $module$_js_joda_core_gcv2k.DateTimeFormatterBuilder; var ResolverStyle = $module$_js_joda_core_gcv2k.ResolverStyle; var protoOf = kotlin_kotlin.$_$.aa; var initMetadataForCompanion = kotlin_kotlin.$_$.b9; var Long = kotlin_kotlin.$_$.yd; var toString = kotlin_kotlin.$_$.ea; var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1; var Unit_instance = kotlin_kotlin.$_$.e4; var toLong = kotlin_kotlin.$_$.ca; var initMetadataForClass = kotlin_kotlin.$_$.a9; var VOID = kotlin_kotlin.$_$.f; var IllegalArgumentException_init_$Init$ = kotlin_kotlin.$_$.f1; var objectCreate = kotlin_kotlin.$_$.z9; var captureStack = kotlin_kotlin.$_$.n8; var IllegalArgumentException_init_$Init$_0 = kotlin_kotlin.$_$.g1; var IllegalArgumentException_init_$Init$_1 = kotlin_kotlin.$_$.d1; var IllegalArgumentException_init_$Init$_2 = kotlin_kotlin.$_$.i1; var IllegalArgumentException = kotlin_kotlin.$_$.wd; var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.q1; var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.r1; var RuntimeException = kotlin_kotlin.$_$.be; var getStringHashCode = kotlin_kotlin.$_$.y8; var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.u1; var initMetadataForObject = kotlin_kotlin.$_$.f9; var ensureNotNull = kotlin_kotlin.$_$.se; var ArithmeticException = kotlin_kotlin.$_$.nd; var THROW_CCE = kotlin_kotlin.$_$.ce; var KMutableProperty1 = kotlin_kotlin.$_$.ta; var getPropertyCallableRef = kotlin_kotlin.$_$.x8; var KMutableProperty0 = kotlin_kotlin.$_$.sa; var Enum = kotlin_kotlin.$_$.ud; var initMetadataForInterface = kotlin_kotlin.$_$.d9; var toString_0 = kotlin_kotlin.$_$.x1; var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.l1; var isInterface = kotlin_kotlin.$_$.o9; var isArray = kotlin_kotlin.$_$.g9; var ArrayList_init_$Create$ = kotlin_kotlin.$_$.i; var hashCode = kotlin_kotlin.$_$.z8; var listOf = kotlin_kotlin.$_$.q6; var get_indices = kotlin_kotlin.$_$.e6; var charSequenceLength = kotlin_kotlin.$_$.r8; var joinToString = kotlin_kotlin.$_$.f6; var equals = kotlin_kotlin.$_$.u8; var getBooleanHashCode = kotlin_kotlin.$_$.v8; var KProperty0 = kotlin_kotlin.$_$.ua; var lazy = kotlin_kotlin.$_$.xe; var padStart = kotlin_kotlin.$_$.dc; var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.j; var getOrNull = kotlin_kotlin.$_$.a6; var listOf_0 = kotlin_kotlin.$_$.p6; var emptyList = kotlin_kotlin.$_$.t5; var toString_1 = kotlin_kotlin.$_$.cf; var charSequenceGet = kotlin_kotlin.$_$.q8; var get_lastIndex = kotlin_kotlin.$_$.zb; var toSet = kotlin_kotlin.$_$.x7; var collectionSizeOrDefault = kotlin_kotlin.$_$.c5; var distinct = kotlin_kotlin.$_$.r5; var to = kotlin_kotlin.$_$.df; var single = kotlin_kotlin.$_$.i7; var Collection = kotlin_kotlin.$_$.g4; var charSequenceSubSequence = kotlin_kotlin.$_$.s8; var numberRangeToNumber = kotlin_kotlin.$_$.u9; var mutableListOf = kotlin_kotlin.$_$.v6; var removeLastOrNull = kotlin_kotlin.$_$.c7; var sortWith = kotlin_kotlin.$_$.k7; var FunctionAdapter = kotlin_kotlin.$_$.k8; var Comparator = kotlin_kotlin.$_$.rd; var compareValues = kotlin_kotlin.$_$.d8; var Exception = kotlin_kotlin.$_$.vd; var Exception_init_$Init$ = kotlin_kotlin.$_$.b1; var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.y; var joinTo = kotlin_kotlin.$_$.g6; var plus = kotlin_kotlin.$_$.a7; var toMutableList = kotlin_kotlin.$_$.v7; var addAll = kotlin_kotlin.$_$.s4; var firstOrNull = kotlin_kotlin.$_$.w5; var drop = kotlin_kotlin.$_$.s5; var repeat = kotlin_kotlin.$_$.ic; var sortedWith = kotlin_kotlin.$_$.l7; var binarySearch = kotlin_kotlin.$_$.y4; var startsWith = kotlin_kotlin.$_$.qc; var checkCountOverflow = kotlin_kotlin.$_$.a5; var compareTo = kotlin_kotlin.$_$.t8; var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.z; var removePrefix = kotlin_kotlin.$_$.fc; var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.s1; var Comparable = kotlin_kotlin.$_$.qd; var Char__minus_impl_a2frrh = kotlin_kotlin.$_$.v1; var contains = kotlin_kotlin.$_$.nb; var indexOf = kotlin_kotlin.$_$.vb; var isCharSequence = kotlin_kotlin.$_$.k9; var removeRange = kotlin_kotlin.$_$.gc; var buildClassSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e1; var getKClass = kotlin_kotlin.$_$.e; var arrayOf = kotlin_kotlin.$_$.oe; var createKType = kotlin_kotlin.$_$.b; var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2; var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2; var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.h; var lazy_0 = kotlin_kotlin.$_$.we; var MissingFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a; var SealedClassSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2; var AbstractPolymorphicSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n1; var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.u3; var SerializationException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c; var KProperty1 = kotlin_kotlin.$_$.va; var STRING_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f; var PrimitiveSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y; var enumEntries = kotlin_kotlin.$_$.g8; var numberToLong = kotlin_kotlin.$_$.y9; var IllegalArgumentException_init_$Create$_0 = kotlin_kotlin.$_$.e1; var numberToInt = kotlin_kotlin.$_$.x9; var noWhenBranchMatchedException = kotlin_kotlin.$_$.ye; var numberToDouble = kotlin_kotlin.$_$.w9; var ArithmeticException_init_$Create$ = kotlin_kotlin.$_$.a1; //endregion //region block: pre-declaration initMetadataForCompanion(Companion); initMetadataForCompanion(Companion_0); initMetadataForCompanion(Companion_1); initMetadataForCompanion(Companion_2); initMetadataForClass(DateTimeUnit, 'DateTimeUnit', VOID, VOID, VOID, VOID, VOID, {0: DateTimeUnitSerializer_getInstance}); initMetadataForClass(TimeBased, 'TimeBased', VOID, DateTimeUnit, VOID, VOID, VOID, {0: TimeBasedDateTimeUnitSerializer_getInstance}); initMetadataForClass(DateBased, 'DateBased', VOID, DateTimeUnit, VOID, VOID, VOID, {0: DateBasedDateTimeUnitSerializer_getInstance}); initMetadataForClass(DayBased, 'DayBased', VOID, DateBased, VOID, VOID, VOID, {0: DayBasedDateTimeUnitSerializer_getInstance}); initMetadataForClass(MonthBased, 'MonthBased', VOID, DateBased, VOID, VOID, VOID, {0: MonthBasedDateTimeUnitSerializer_getInstance}); initMetadataForCompanion(Companion_3); initMetadataForClass(DateTimeFormatException, 'DateTimeFormatException', DateTimeFormatException_init_$Create$, IllegalArgumentException); initMetadataForClass(DateTimeArithmeticException, 'DateTimeArithmeticException', DateTimeArithmeticException_init_$Create$, RuntimeException); function set_fractionOfSecond(value) { this.m17(value == null ? null : value.q1d(9)); } function get_fractionOfSecond() { var tmp0_safe_receiver = this.n17(); var tmp; if (tmp0_safe_receiver == null) { tmp = null; } else { // Inline function 'kotlin.let' call tmp = new DecimalFraction(tmp0_safe_receiver, 9); } return tmp; } initMetadataForInterface(TimeFieldContainer, 'TimeFieldContainer'); initMetadataForInterface(UtcOffsetFieldContainer, 'UtcOffsetFieldContainer'); initMetadataForClass(DateTimeComponentsContents, 'DateTimeComponentsContents', VOID, VOID, [TimeFieldContainer, UtcOffsetFieldContainer]); initMetadataForCompanion(Companion_4); initMetadataForObject(Formats, 'Formats'); initMetadataForClass(DateTimeComponents, 'DateTimeComponents'); function appendAlternativeParsingImpl(otherFormats, mainFormat) { // Inline function 'kotlin.collections.map' call // Inline function 'kotlin.collections.mapTo' call var destination = ArrayList_init_$Create$(otherFormats.length); var inductionVariable = 0; var last = otherFormats.length; while (inductionVariable < last) { var item = otherFormats[inductionVariable]; inductionVariable = inductionVariable + 1 | 0; // Inline function 'kotlin.also' call var this_0 = this.k1a(); item(this_0); var tmp$ret$2 = this_0.f1a().v18(); destination.e(tmp$ret$2); } var others = destination; // Inline function 'kotlin.also' call var this_1 = this.k1a(); mainFormat(this_1); var main = this_1.f1a().v18(); this.f1a().i1a(new AlternativesParsingFormatStructure(main, others)); } function appendOptionalImpl(onZero, format) { var tmp = this.f1a(); // Inline function 'kotlin.also' call var this_0 = this.k1a(); format(this_0); tmp.i1a(new OptionalFormatStructure(onZero, this_0.f1a().v18())); } function chars(value) { return this.f1a().i1a(new ConstantFormatStructure(value)); } function build() { return new CachedFormatStructure(this.f1a().v18().n1b_1); } initMetadataForInterface(AbstractDateTimeFormatBuilder, 'AbstractDateTimeFormatBuilder'); function year$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.p1a(padding); tmp = Unit_instance; } else { tmp = $super.p1a.call(this, padding); } return tmp; } function monthNumber$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.q1a(padding); tmp = Unit_instance; } else { tmp = $super.q1a.call(this, padding); } return tmp; } function dayOfMonth$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.k18(padding); tmp = Unit_instance; } else { tmp = $super.k18.call(this, padding); } return tmp; } initMetadataForInterface(WithDate, 'WithDate'); function year(padding) { return this.n1a(new BasicFormatStructure(new YearDirective(padding))); } function monthNumber(padding) { return this.n1a(new BasicFormatStructure(new MonthDirective(padding))); } function monthName(names) { return this.n1a(new BasicFormatStructure(new MonthNameDirective(names))); } function dayOfMonth(padding) { return this.n1a(new BasicFormatStructure(new DayDirective(padding))); } function dayOfWeek(names) { return this.n1a(new BasicFormatStructure(new DayOfWeekDirective(names))); } function date(format) { var tmp; if (format instanceof LocalDateFormat) { this.n1a(format.u1b_1); tmp = Unit_instance; } return tmp; } initMetadataForInterface(AbstractWithDateBuilder, 'AbstractWithDateBuilder', VOID, VOID, [WithDate]); function hour$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.t1a(padding); tmp = Unit_instance; } else { tmp = $super.t1a.call(this, padding); } return tmp; } function minute$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.u1a(padding); tmp = Unit_instance; } else { tmp = $super.u1a.call(this, padding); } return tmp; } function second$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.v1a(padding); tmp = Unit_instance; } else { tmp = $super.v1a.call(this, padding); } return tmp; } initMetadataForInterface(WithTime, 'WithTime'); function hour(padding) { return this.o1a(new BasicFormatStructure(new HourDirective(padding))); } function minute(padding) { return this.o1a(new BasicFormatStructure(new MinuteDirective(padding))); } function second(padding) { return this.o1a(new BasicFormatStructure(new SecondDirective(padding))); } function secondFraction(minLength, maxLength) { return this.o1a(new BasicFormatStructure(new FractionalSecondDirective(minLength, maxLength))); } initMetadataForInterface(AbstractWithTimeBuilder, 'AbstractWithTimeBuilder', VOID, VOID, [WithTime]); function addFormatStructureForDate(structure) { this.g1a(structure); } function addFormatStructureForTime(structure) { this.g1a(structure); } initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]); function offsetHours$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.w1a(padding); tmp = Unit_instance; } else { tmp = $super.w1a.call(this, padding); } return tmp; } function offsetMinutesOfHour$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.x1a(padding); tmp = Unit_instance; } else { tmp = $super.x1a.call(this, padding); } return tmp; } function offsetSecondsOfMinute$default(padding, $super) { padding = padding === VOID ? Padding_ZERO_getInstance() : padding; var tmp; if ($super === VOID) { this.z1a(padding); tmp = Unit_instance; } else { tmp = $super.z1a.call(this, padding); } return tmp; } initMetadataForInterface(WithUtcOffset, 'WithUtcOffset'); function offsetHours(padding) { return this.j1a(new SignedFormatStructure(new BasicFormatStructure(new UtcOffsetWholeHoursDirective(padding)), true)); } function offsetMinutesOfHour(padding) { return this.j1a(new BasicFormatStructure(new UtcOffsetMinuteOfHourDirective(padding))); } function offsetSecondsOfMinute(padding) { return this.j1a(new BasicFormatStructure(new UtcOffsetSecondOfMinuteDirective(padding))); } function offset(format) { var tmp; if (format instanceof UtcOffsetFormat) { this.j1a(format.n1f_1); tmp = Unit_instance; } return tmp; } initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]); initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithTime, WithUtcOffset, WithDate]); initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat'); initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat); initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber'); initMetadataForClass(ThreeDigitNumber, 'ThreeDigitNumber'); initMetadataForClass(Padding, 'Padding', VOID, Enum); initMetadataForClass(IncompleteLocalDate, 'IncompleteLocalDate', IncompleteLocalDate); initMetadataForCompanion(Companion_5); initMetadataForClass(MonthNames, 'MonthNames'); initMetadataForCompanion(Companion_6); initMetadataForClass(DayOfWeekNames, 'DayOfWeekNames'); initMetadataForCompanion(Companion_7); initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateBuilder]); initMetadataForClass(LocalDateFormat, 'LocalDateFormat', VOID, AbstractDateTimeFormat); initMetadataForClass(SignedIntFieldFormatDirective, 'SignedIntFieldFormatDirective'); initMetadataForClass(YearDirective, 'YearDirective', VOID, SignedIntFieldFormatDirective); initMetadataForClass(UnsignedIntFieldFormatDirective, 'UnsignedIntFieldFormatDirective'); initMetadataForClass(MonthDirective, 'MonthDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(NamedUnsignedIntFieldFormatDirective, 'NamedUnsignedIntFieldFormatDirective'); initMetadataForClass(MonthNameDirective, 'MonthNameDirective', VOID, NamedUnsignedIntFieldFormatDirective); initMetadataForClass(DayDirective, 'DayDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(DayOfWeekDirective, 'DayOfWeekDirective', VOID, NamedUnsignedIntFieldFormatDirective); initMetadataForObject(DateFields, 'DateFields'); initMetadataForClass(IncompleteLocalTime, 'IncompleteLocalTime', IncompleteLocalTime, VOID, [TimeFieldContainer]); initMetadataForClass(AmPmMarker, 'AmPmMarker', VOID, Enum); initMetadataForCompanion(Companion_8); initMetadataForClass(Builder_1, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithTimeBuilder]); initMetadataForClass(LocalTimeFormat, 'LocalTimeFormat', VOID, AbstractDateTimeFormat); initMetadataForClass(HourDirective, 'HourDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(MinuteDirective, 'MinuteDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(SecondDirective, 'SecondDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForCompanion(Companion_9); initMetadataForClass(DecimalFractionFieldFormatDirective, 'DecimalFractionFieldFormatDirective'); initMetadataForClass(FractionalSecondDirective, 'FractionalSecondDirective', VOID, DecimalFractionFieldFormatDirective); initMetadataForObject(TimeFields, 'TimeFields'); initMetadataForClass(IncompleteUtcOffset, 'IncompleteUtcOffset', IncompleteUtcOffset, VOID, [UtcOffsetFieldContainer]); initMetadataForClass(UtcOffsetWholeHoursDirective, 'UtcOffsetWholeHoursDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForCompanion(Companion_10); initMetadataForClass(Builder_2, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithOffsetBuilder]); initMetadataForClass(UtcOffsetFormat, 'UtcOffsetFormat', VOID, AbstractDateTimeFormat); initMetadataForClass(OffsetFields$sign$1); initMetadataForObject(OffsetFields, 'OffsetFields'); initMetadataForClass(UtcOffsetMinuteOfHourDirective, 'UtcOffsetMinuteOfHourDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(UtcOffsetSecondOfMinuteDirective, 'UtcOffsetSecondOfMinuteDirective', VOID, UnsignedIntFieldFormatDirective); initMetadataForClass(AppendableFormatStructure, 'AppendableFormatStructure', AppendableFormatStructure); initMetadataForClass(AssignableString, 'AssignableString'); initMetadataForClass(AbstractFieldSpec, 'AbstractFieldSpec'); initMetadataForClass(GenericFieldSpec, 'GenericFieldSpec', VOID, AbstractFieldSpec); function getterNotNull(container) { var tmp0_elvis_lhs = this.x1g(container); var tmp; if (tmp0_elvis_lhs == null) { throw IllegalStateException_init_$Create$('Field ' + this.e1g() + ' is not set'); } else { tmp = tmp0_elvis_lhs; } return tmp; } initMetadataForInterface(Accessor, 'Accessor'); initMetadataForClass(PropertyAccessor, 'PropertyAccessor', VOID, VOID, [Accessor]); initMetadataForClass(UnsignedFieldSpec, 'UnsignedFieldSpec', VOID, AbstractFieldSpec); initMetadataForClass(ConcatenatedFormatStructure, 'ConcatenatedFormatStructure'); initMetadataForClass(CachedFormatStructure, 'CachedFormatStructure', VOID, ConcatenatedFormatStructure); initMetadataForInterface(NonConcatenatedFormatStructure, 'NonConcatenatedFormatStructure'); initMetadataForClass(BasicFormatStructure, 'BasicFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]); initMetadataForClass(ConstantFormatStructure, 'ConstantFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]); initMetadataForClass(SignedFormatStructure, 'SignedFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]); initMetadataForCompanion(Companion_11); initMetadataForClass(PropertyWithDefault, 'PropertyWithDefault'); initMetadataForClass(OptionalFormatStructure, 'OptionalFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]); initMetadataForClass(AlternativesParsingFormatStructure, 'AlternativesParsingFormatStructure', VOID, VOID, [NonConcatenatedFormatStructure]); initMetadataForClass(ComparisonPredicate, 'ComparisonPredicate'); initMetadataForObject(Truth, 'Truth'); initMetadataForClass(ConjunctionPredicate, 'ConjunctionPredicate'); initMetadataForClass(SpacePaddedFormatter, 'SpacePaddedFormatter'); initMetadataForClass(SignedFormatter, 'SignedFormatter'); initMetadataForClass(ConditionalFormatter, 'ConditionalFormatter'); initMetadataForClass(ConcatenatedFormatter, 'ConcatenatedFormatter'); initMetadataForClass(SignedIntFormatterStructure, 'SignedIntFormatterStructure'); initMetadataForClass(UnsignedIntFormatterStructure, 'UnsignedIntFormatterStructure'); initMetadataForClass(StringFormatterStructure, 'StringFormatterStructure'); initMetadataForClass(DecimalFractionFormatterStructure, 'DecimalFractionFormatterStructure'); initMetadataForClass(ConstantStringFormatterStructure, 'ConstantStringFormatterStructure'); initMetadataForClass(NumberConsumer, 'NumberConsumer'); initMetadataForClass(FractionPartConsumer, 'FractionPartConsumer', VOID, NumberConsumer); initMetadataForClass(ConstantNumberConsumer, 'ConstantNumberConsumer', VOID, NumberConsumer); initMetadataForObject(ExpectedInt, 'ExpectedInt'); initMetadataForClass(TooManyDigits, 'TooManyDigits'); initMetadataForClass(TooFewDigits, 'TooFewDigits'); initMetadataForClass(WrongConstant, 'WrongConstant'); initMetadataForClass(Conflicting, 'Conflicting'); initMetadataForClass(UnsignedIntConsumer, 'UnsignedIntConsumer', VOID, NumberConsumer); initMetadataForClass(ParseError, 'ParseError'); initMetadataForCompanion(Companion_12); initMetadataForClass(ParserState, 'ParserState'); initMetadataForClass(sam$kotlin_Comparator$0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]); initMetadataForClass(Parser, 'Parser'); initMetadataForClass(ParserStructure, 'ParserStructure'); initMetadataForClass(ParseException, 'ParseException', VOID, Exception); initMetadataForClass(TrieNode, 'TrieNode', TrieNode); initMetadataForClass(sam$kotlin_Comparator$0_0, 'sam$kotlin_Comparator$0', VOID, VOID, [Comparator, FunctionAdapter]); initMetadataForClass(StringSetParserOperation, 'StringSetParserOperation'); initMetadataForClass(NumberSpanParserOperation, 'NumberSpanParserOperation'); initMetadataForClass(PlainStringParserOperation, 'PlainStringParserOperation'); initMetadataForClass(SignParser, 'SignParser'); initMetadataForClass(UnconditionalModification, 'UnconditionalModification'); initMetadataForClass(DecimalFraction, 'DecimalFraction', VOID, VOID, [Comparable]); initMetadataForObject(TimeBasedDateTimeUnitSerializer, 'TimeBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]); initMetadataForObject(DateBasedDateTimeUnitSerializer, 'DateBasedDateTimeUnitSerializer', VOID, AbstractPolymorphicSerializer); initMetadataForObject(DayBasedDateTimeUnitSerializer, 'DayBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]); initMetadataForObject(MonthBasedDateTimeUnitSerializer, 'MonthBasedDateTimeUnitSerializer', VOID, VOID, [KSerializer]); initMetadataForObject(DateTimeUnitSerializer, 'DateTimeUnitSerializer', VOID, AbstractPolymorphicSerializer); initMetadataForObject(InstantIso8601Serializer, 'InstantIso8601Serializer', VOID, VOID, [KSerializer]); initMetadataForObject(LocalDateIso8601Serializer, 'LocalDateIso8601Serializer', VOID, VOID, [KSerializer]); initMetadataForObject(LocalTimeIso8601Serializer, 'LocalTimeIso8601Serializer', VOID, VOID, [KSerializer]); initMetadataForObject(UtcOffsetSerializer, 'UtcOffsetSerializer', VOID, VOID, [KSerializer]); initMetadataForClass(DayOfWeek_0, 'DayOfWeek', VOID, Enum); initMetadataForCompanion(Companion_13); initMetadataForClass(Instant_0, 'Instant', VOID, VOID, [Comparable], VOID, VOID, {0: InstantIso8601Serializer_getInstance}); initMetadataForCompanion(Companion_14); initMetadataForObject(Formats_0, 'Formats'); initMetadataForClass(LocalDate_0, 'LocalDate', VOID, VOID, [Comparable], VOID, VOID, {0: LocalDateIso8601Serializer_getInstance}); initMetadataForCompanion(Companion_15); initMetadataForObject(Formats_1, 'Formats'); initMetadataForClass(LocalTime_0, 'LocalTime', VOID, VOID, [Comparable], VOID, VOID, {0: LocalTimeIso8601Serializer_getInstance}); initMetadataForClass(Month_0, 'Month', VOID, Enum); initMetadataForCompanion(Companion_16); initMetadataForObject(Formats_2, 'Formats'); initMetadataForClass(UtcOffset, 'UtcOffset', VOID, VOID, VOID, VOID, VOID, {0: UtcOffsetSerializer_getInstance}); //endregion function Companion() { } var Companion_instance; function Companion_getInstance() { return Companion_instance; } function Companion_0() { } var Companion_instance_0; function Companion_getInstance_0() { return Companion_instance_0; } function Companion_1() { } var Companion_instance_1; function Companion_getInstance_1() { return Companion_instance_1; } function Companion_2() { } var Companion_instance_2; function Companion_getInstance_2() { return Companion_instance_2; } function TimeBased(nanoseconds) { DateTimeUnit.call(this); this.h15_1 = nanoseconds; // Inline function 'kotlin.require' call if (!(this.h15_1.h1(new Long(0, 0)) > 0)) { var message = 'Unit duration must be positive, but was ' + this.h15_1.toString() + ' ns.'; throw IllegalArgumentException_init_$Create$(toString(message)); } if (this.h15_1.a3(new Long(817405952, 838)).equals(new Long(0, 0))) { this.i15_1 = 'HOUR'; this.j15_1 = this.h15_1.z2(new Long(817405952, 838)); } else { if (this.h15_1.a3(new Long(-129542144, 13)).equals(new Long(0, 0))) { this.i15_1 = 'MINUTE'; this.j15_1 = this.h15_1.z2(new Long(-129542144, 13)); } else { var tmp1 = this.h15_1; // Inline function 'kotlin.Long.rem' call var other = 1000000000; if (tmp1.a3(toLong(other)).equals(new Long(0, 0))) { this.i15_1 = 'SECOND'; var tmp = this; var tmp3 = this.h15_1; // Inline function 'kotlin.Long.div' call var other_0 = 1000000000; tmp.j15_1 = tmp3.z2(toLong(other_0)); } else { // Inline function 'kotlin.Long.rem' call if (this.h15_1.a3(toLong(1000000)).equals(new Long(0, 0))) { this.i15_1 = 'MILLISECOND'; var tmp_0 = this; // Inline function 'kotlin.Long.div' call tmp_0.j15_1 = this.h15_1.z2(toLong(1000000)); } else { // Inline function 'kotlin.Long.rem' call if (this.h15_1.a3(toLong(1000)).equals(new Long(0, 0))) { this.i15_1 = 'MICROSECOND'; var tmp_1 = this; // Inline function 'kotlin.Long.div' call tmp_1.j15_1 = this.h15_1.z2(toLong(1000)); } else { this.i15_1 = 'NANOSECOND'; this.j15_1 = this.h15_1; } } } } } } protoOf(TimeBased).k15 = function (scalar) { return new TimeBased(safeMultiply(this.h15_1, toLong(scalar))); }; protoOf(TimeBased).equals = function (other) { var tmp; if (this === other) { tmp = true; } else { var tmp_0; if (other instanceof TimeBased) { tmp_0 = this.h15_1.equals(other.h15_1); } else { tmp_0 = false; } tmp = tmp_0; } return tmp; }; protoOf(TimeBased).hashCode = function () { return this.h15_1.j1() ^ this.h15_1.e3(32).j1(); }; protoOf(TimeBased).toString = function () { return this.l15(this.j15_1, this.i15_1); }; function DateBased() { DateTimeUnit.call(this); } function DayBased(days) { DateBased.call(this); this.n15_1 = days; // Inline function 'kotlin.require' call if (!(this.n15_1 > 0)) { var message = 'Unit duration must be positive, but was ' + this.n15_1 + ' days.'; throw IllegalArgumentException_init_$Create$(toString(message)); } } protoOf(DayBased).k15 = function (scalar) { return new DayBased(safeMultiply_0(this.n15_1, scalar)); }; protoOf(DayBased).equals = function (other) { var tmp; if (this === other) { tmp = true; } else { var tmp_0; if (other instanceof DayBased) { tmp_0 = this.n15_1 === other.n15_1; } else { tmp_0 = false; } tmp = tmp_0; } return tmp; }; protoOf(DayBased).hashCode = function () { return this.n15_1 ^ 65536; }; protoOf(DayBased).toString = function () { return (this.n15_1 % 7 | 0) === 0 ? this.m15(this.n15_1 / 7 | 0, 'WEEK') : this.m15(this.n15_1, 'DAY'); }; function MonthBased(months) { DateBased.call(this); this.o15_1 = months; // Inline function 'kotlin.require' call if (!(this.o15_1 > 0)) { var message = 'Unit duration must be positive, but was ' + this.o15_1 + ' months.'; throw IllegalArgumentException_init_$Create$(toString(message)); } } protoOf(MonthBased).k15 = function (scalar) { return new MonthBased(safeMultiply_0(this.o15_1, scalar)); }; protoOf(MonthBased).equals = function (other) { var tmp; if (this === other) { tmp = true; } else { var tmp_0; if (other instanceof MonthBased) { tmp_0 = this.o15_1 === other.o15_1; } else { tmp_0 = false; } tmp = tmp_0; } return tmp; }; protoOf(MonthBased).hashCode = function () { return this.o15_1 ^ 131072; }; protoOf(MonthBased).toString = function () { return (this.o15_1 % 1200 | 0) === 0 ? this.m15(this.o15_1 / 1200 | 0, 'CENTURY') : (this.o15_1 % 12 | 0) === 0 ? this.m15(this.o15_1 / 12 | 0, 'YEAR') : (this.o15_1 % 3 | 0) === 0 ? this.m15(this.o15_1 / 3 | 0, 'QUARTER') : this.m15(this.o15_1, 'MONTH'); }; function Companion_3() { Companion_instance_3 = this; this.p15_1 = new TimeBased(new Long(1, 0)); this.q15_1 = this.p15_1.k15(1000); this.r15_1 = this.q15_1.k15(1000); this.s15_1 = this.r15_1.k15(1000); this.t15_1 = this.s15_1.k15(60); this.u15_1 = this.t15_1.k15(60); this.v15_1 = new DayBased(1); this.w15_1 = this.v15_1.k15(7); this.x15_1 = new MonthBased(1); this.y15_1 = this.x15_1.k15(3); this.z15_1 = this.x15_1.k15(12); this.a16_1 = this.z15_1.k15(100); } var Companion_instance_3; function Companion_getInstance_3() { if (Companion_instance_3 == null) new Companion_3(); return Companion_instance_3; } function DateTimeUnit() { Companion_getInstance_3(); } protoOf(DateTimeUnit).m15 = function (value, unit) { return value === 1 ? unit : '' + value + '-' + unit; }; protoOf(DateTimeUnit).l15 = function (value, unit) { return value.equals(new Long(1, 0)) ? unit : value.toString() + '-' + unit; }; function get_isoDayNumber(_this__u8e3s4) { return _this__u8e3s4.q2_1 + 1 | 0; } function DayOfWeek(isoDayNumber) { // Inline function 'kotlin.require' call if (!(1 <= isoDayNumber ? isoDayNumber <= 7 : false)) { var message = 'Expected ISO day-of-week number in 1..7, got ' + isoDayNumber; throw IllegalArgumentException_init_$Create$(toString(message)); } return get_entries().t(isoDayNumber - 1 | 0); } function DateTimeFormatException_init_$Init$($this) { IllegalArgumentException_init_$Init$($this); DateTimeFormatException.call($this); return $this; } function DateTimeFormatException_init_$Create$() { var tmp = DateTimeFormatException_init_$Init$(objectCreate(protoOf(DateTimeFormatException))); captureStack(tmp, DateTimeFormatException_init_$Create$); return tmp; } function DateTimeFormatException_init_$Init$_0(message, $this) { IllegalArgumentException_init_$Init$_0(message, $this); DateTimeFormatException.call($this); return $this; } function DateTimeFormatException_init_$Create$_0(message) { var tmp = DateTimeFormatException_init_$Init$_0(message, objectCreate(protoOf(DateTimeFormatException))); captureStack(tmp, DateTimeFormatException_init_$Create$_0); return tmp; } function DateTimeFormatException_init_$Init$_1(cause, $this) { IllegalArgumentException_init_$Init$_1(cause, $this); DateTimeFormatException.call($this); return $this; } function DateTimeFormatException_init_$Create$_1(cause) { var tmp = DateTimeFormatException_init_$Init$_1(cause, objectCreate(protoOf(DateTimeFormatException))); captureStack(tmp, DateTimeFormatException_init_$Create$_1); return tmp; } function DateTimeFormatException_init_$Init$_2(message, cause, $this) { IllegalArgumentException_init_$Init$_2(message, cause, $this); DateTimeFormatException.call($this); return $this; } function DateTimeFormatException_init_$Create$_2(message, cause) { var tmp = DateTimeFormatException_init_$Init$_2(message, cause, objectCreate(protoOf(DateTimeFormatException))); captureStack(tmp, DateTimeFormatException_init_$Create$_2); return tmp; } function DateTimeFormatException() { captureStack(this, DateTimeFormatException); } function DateTimeArithmeticException_init_$Init$($this) { RuntimeException_init_$Init$($this); DateTimeArithmeticException.call($this); return $this; } function DateTimeArithmeticException_init_$Create$() { var tmp = DateTimeArithmeticException_init_$Init$(objectCreate(protoOf(DateTimeArithmeticException))); captureStack(tmp, DateTimeArithmeticException_init_$Create$); return tmp; } function DateTimeArithmeticException_init_$Init$_0(message, cause, $this) { RuntimeException_init_$Init$_0(message, cause, $this); DateTimeArithmeticException.call($this); return $this; } function DateTimeArithmeticException_init_$Create$_0(message, cause) { var tmp = DateTimeArithmeticException_init_$Init$_0(message, cause, objectCreate(protoOf(DateTimeArithmeticException))); captureStack(tmp, DateTimeArithmeticException_init_$Create$_0); return tmp; } function DateTimeArithmeticException() { captureStack(this, DateTimeArithmeticException); } function getIsoDateFormat() { return Formats_getInstance_0().c16(); } function getIsoTimeFormat() { return Formats_instance_1.c16(); } function Month(number) { // Inline function 'kotlin.require' call // Inline function 'kotlin.require' call if (!(1 <= number ? number <= 12 : false)) { var message = 'Failed requirement.'; throw IllegalArgumentException_init_$Create$(toString(message)); } return get_entries_0().t(number - 1 | 0); } function getIsoUtcOffsetFormat() { return Formats_instance_2.c16(); } var timeZoneField; function get_emptyDateTimeComponentsContents() { _init_properties_DateTimeComponents_kt__9iimb5(); return emptyDateTimeComponentsContents; } var emptyDateTimeComponentsContents; function DateTimeComponentsContents(date, time, offset, timeZoneId) { date = date === VOID ? new IncompleteLocalDate() : date; time = time === VOID ? new IncompleteLocalTime() : time; offset = offset === VOID ? new IncompleteUtcOffset() : offset; timeZoneId = timeZoneId === VOID ? null : timeZoneId; this.d16_1 = date; this.e16_1 = time; this.f16_1 = offset; this.g16_1 = timeZoneId; } protoOf(DateTimeComponentsContents).h16 = function (_set____db54di) { this.d16_1.k16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).n16 = function () { return this.d16_1.k16_1; }; protoOf(DateTimeComponentsContents).o16 = function (_set____db54di) { this.d16_1.m16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).p16 = function () { return this.d16_1.m16_1; }; protoOf(DateTimeComponentsContents).q16 = function (_set____db54di) { this.d16_1.l16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).r16 = function () { return this.d16_1.l16_1; }; protoOf(DateTimeComponentsContents).s16 = function (_set____db54di) { this.d16_1.j16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).t16 = function () { return this.d16_1.j16_1; }; protoOf(DateTimeComponentsContents).u16 = function (_set____db54di) { this.d16_1.i16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).v16 = function () { return this.d16_1.i16_1; }; protoOf(DateTimeComponentsContents).w16 = function (_set____db54di) { this.e16_1.z16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).d17 = function () { return this.e16_1.z16_1; }; protoOf(DateTimeComponentsContents).e17 = function (value) { this.e16_1.e17(value); }; protoOf(DateTimeComponentsContents).f17 = function () { return this.e16_1.f17(); }; protoOf(DateTimeComponentsContents).g17 = function (_set____db54di) { this.e16_1.x16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).h17 = function () { return this.e16_1.x16_1; }; protoOf(DateTimeComponentsContents).i17 = function (_set____db54di) { this.e16_1.y16_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).j17 = function () { return this.e16_1.y16_1; }; protoOf(DateTimeComponentsContents).k17 = function (_set____db54di) { this.e16_1.a17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).l17 = function () { return this.e16_1.a17_1; }; protoOf(DateTimeComponentsContents).m17 = function (_set____db54di) { this.e16_1.c17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).n17 = function () { return this.e16_1.c17_1; }; protoOf(DateTimeComponentsContents).o17 = function (_set____db54di) { this.e16_1.b17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).p17 = function () { return this.e16_1.b17_1; }; protoOf(DateTimeComponentsContents).q17 = function (_set____db54di) { this.f16_1.r17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).v17 = function () { return this.f16_1.r17_1; }; protoOf(DateTimeComponentsContents).w17 = function (_set____db54di) { this.f16_1.t17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).x17 = function () { return this.f16_1.t17_1; }; protoOf(DateTimeComponentsContents).y17 = function (_set____db54di) { this.f16_1.u17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).z17 = function () { return this.f16_1.u17_1; }; protoOf(DateTimeComponentsContents).a18 = function (_set____db54di) { this.f16_1.s17_1 = _set____db54di; }; protoOf(DateTimeComponentsContents).b18 = function () { return this.f16_1.s17_1; }; protoOf(DateTimeComponentsContents).c18 = function () { return new DateTimeComponentsContents(this.d16_1.c18(), this.e16_1.c18(), this.f16_1.c18(), this.g16_1); }; protoOf(DateTimeComponentsContents).equals = function (other) { var tmp; var tmp_0; var tmp_1; var tmp_2; if (other instanceof DateTimeComponentsContents) { tmp_2 = other.d16_1.equals(this.d16_1); } else { tmp_2 = false; } if (tmp_2) { tmp_1 = other.e16_1.equals(this.e16_1); } else { tmp_1 = false; } if (tmp_1) { tmp_0 = other.f16_1.equals(this.f16_1); } else { tmp_0 = false; } if (tmp_0) { tmp = other.g16_1 == this.g16_1; } else { tmp = false; } return tmp; }; protoOf(DateTimeComponentsContents).hashCode = function () { var tmp = this.d16_1.hashCode() ^ this.e16_1.hashCode() ^ this.f16_1.hashCode(); var tmp0_safe_receiver = this.g16_1; var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver); return tmp ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs); }; function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda($this$Format) { $this$Format.d18(get_ISO_DATE()); var tmp = [DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda]; alternativeParsing($this$Format, tmp, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_0); $this$Format.e18(); char($this$Format, _Char___init__impl__6a9atx(58)); $this$Format.f18(); char($this$Format, _Char___init__impl__6a9atx(58)); $this$Format.g18(); optional($this$Format, VOID, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_1); var tmp_0 = [DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_2]; alternativeParsing($this$Format, tmp_0, DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_3); return Unit_instance; } function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda($this$alternativeParsing) { char($this$alternativeParsing, _Char___init__impl__6a9atx(116)); return Unit_instance; } function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_0($this$alternativeParsing) { char($this$alternativeParsing, _Char___init__impl__6a9atx(84)); return Unit_instance; } function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_1($this$optional) { char($this$optional, _Char___init__impl__6a9atx(46)); $this$optional.h18(1, 9); return Unit_instance; } function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_2($this$alternativeParsing) { $this$alternativeParsing.i18(); return Unit_instance; } function DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda$lambda_3($this$alternativeParsing) { $this$alternativeParsing.j18(Formats_instance_2.c16()); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda($this$Format) { var tmp = [DateTimeComponents$Formats$RFC_1123$lambda$lambda]; alternativeParsing($this$Format, tmp, DateTimeComponents$Formats$RFC_1123$lambda$lambda_0); $this$Format.k18(Padding_NONE_getInstance()); char($this$Format, _Char___init__impl__6a9atx(32)); $this$Format.n18(Companion_getInstance_5().m18_1); char($this$Format, _Char___init__impl__6a9atx(32)); $this$Format.o18(); char($this$Format, _Char___init__impl__6a9atx(32)); $this$Format.e18(); char($this$Format, _Char___init__impl__6a9atx(58)); $this$Format.f18(); optional($this$Format, VOID, DateTimeComponents$Formats$RFC_1123$lambda$lambda_1); $this$Format.p18(' '); var tmp_0 = DateTimeComponents$Formats$RFC_1123$lambda$lambda_2; var tmp_1 = [tmp_0, DateTimeComponents$Formats$RFC_1123$lambda$lambda_3]; alternativeParsing($this$Format, tmp_1, DateTimeComponents$Formats$RFC_1123$lambda$lambda_4); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda($this$alternativeParsing) { return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda_0($this$alternativeParsing) { $this$alternativeParsing.s18(Companion_getInstance_6().r18_1); $this$alternativeParsing.p18(', '); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda_1($this$optional) { char($this$optional, _Char___init__impl__6a9atx(58)); $this$optional.g18(); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda_2($this$alternativeParsing) { $this$alternativeParsing.p18('UT'); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda_3($this$alternativeParsing) { $this$alternativeParsing.p18('Z'); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda_4($this$alternativeParsing) { optional($this$alternativeParsing, 'GMT', DateTimeComponents$Formats$RFC_1123$lambda$lambda$lambda); return Unit_instance; } function DateTimeComponents$Formats$RFC_1123$lambda$lambda$lambda($this$optional) { $this$optional.j18(Formats_instance_2.t18()); return Unit_instance; } function Companion_4() { } protoOf(Companion_4).u18 = function (block) { var builder = new Builder(new AppendableFormatStructure()); block(builder); return new DateTimeComponentsFormat(builder.v18()); }; var Companion_instance_4; function Companion_getInstance_4() { return Companion_instance_4; } function Formats() { Formats_instance = this; var tmp = this; var tmp_0 = Companion_instance_4; tmp.w18_1 = tmp_0.u18(DateTimeComponents$Formats$ISO_DATE_TIME_OFFSET$lambda); var tmp_1 = this; var tmp_2 = Companion_instance_4; tmp_1.x18_1 = tmp_2.u18(DateTimeComponents$Formats$RFC_1123$lambda); } var Formats_instance; function Formats_getInstance() { if (Formats_instance == null) new Formats(); return Formats_instance; } function DateTimeComponents(contents) { contents = contents === VOID ? new DateTimeComponentsContents() : contents; this.y18_1 = contents; this.z18_1 = year$factory(this.y18_1.d16_1); this.a19_1 = new TwoDigitNumber(monthNumber$factory(this.y18_1.d16_1)); this.b19_1 = new TwoDigitNumber(dayOfMonth$factory(this.y18_1.d16_1)); this.c19_1 = new ThreeDigitNumber(dayOfYear$factory(this.y18_1.d16_1)); this.d19_1 = new TwoDigitNumber(hour$factory(this.y18_1.e16_1)); this.e19_1 = new TwoDigitNumber(hourOfAmPm$factory(this.y18_1.e16_1)); this.f19_1 = amPm$factory(this.y18_1.e16_1); this.g19_1 = new TwoDigitNumber(minute$factory(this.y18_1.e16_1)); this.h19_1 = new TwoDigitNumber(second$factory(this.y18_1.e16_1)); this.i19_1 = isNegative$factory(this.y18_1.f16_1); this.j19_1 = new TwoDigitNumber(totalHoursAbs$factory(this.y18_1.f16_1)); this.k19_1 = new TwoDigitNumber(minutesOfHour$factory(this.y18_1.f16_1)); this.l19_1 = new TwoDigitNumber(secondsOfMinute$factory(this.y18_1.f16_1)); this.m19_1 = timeZoneId$factory_0(this.y18_1); } protoOf(DateTimeComponents).u16 = function (_set____db54di) { var tmp0 = this.z18_1; // Inline function 'kotlin.setValue' call year$factory_0(); tmp0.set(_set____db54di); return Unit_instance; }; protoOf(DateTimeComponents).v16 = function () { var tmp0 = this.z18_1; // Inline function 'kotlin.getValue' call year$factory_1(); return tmp0.get(); }; protoOf(DateTimeComponents).n17 = function () { return this.y18_1.e16_1.c17_1; }; protoOf(DateTimeComponents).n19 = function () { return this.y18_1.f16_1.n19(); }; protoOf(DateTimeComponents).o19 = function () { return this.y18_1.e16_1.o19(); }; protoOf(DateTimeComponents).p19 = function () { var offset = this.n19(); var time = this.o19(); var truncatedDate = this.y18_1.d16_1.c18(); truncatedDate.i16_1 = requireParsedField(truncatedDate.i16_1, 'year') % 10000 | 0; var tmp; try { var secDelta = safeMultiply(toLong(ensureNotNull(this.v16()) / 10000 | 0), new Long(2036907392, 73)); var epochDays = toLong(truncatedDate.q19().s19()); // Inline function 'kotlin.Long.times' call var tmp2 = epochDays.y2(toLong(86400)); // Inline function 'kotlin.Long.plus' call var other = time.u19(); var tmp4 = tmp2.w2(toLong(other)); // Inline function 'kotlin.Long.minus' call var other_0 = offset.w19(); var tmp$ret$2 = tmp4.x2(toLong(other_0)); tmp = safeAdd(secDelta, tmp$ret$2); } catch ($p) { var tmp_0; if ($p instanceof ArithmeticException) { var e = $p; throw DateTimeFormatException_init_$Create$_2('The parsed date is outside the range representable by Instant', e); } else { throw $p; } } var totalSeconds = tmp; if (totalSeconds.h1(Companion_getInstance_13().z19_1.c1a()) < 0 || totalSeconds.h1(Companion_getInstance_13().a1a_1.c1a()) > 0) throw DateTimeFormatException_init_$Create$_0('The parsed date is outside the range representable by Instant'); var tmp_1 = Companion_getInstance_13(); var tmp0_elvis_lhs = this.n17(); return tmp_1.d1a(totalSeconds, tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs); }; function Builder(actualBuilder) { this.e1a_1 = actualBuilder; } protoOf(Builder).f1a = function () { return this.e1a_1; }; protoOf(Builder).g1a = function (structure) { this.e1a_1.i1a(structure); }; protoOf(Builder).j1a = function (structure) { this.e1a_1.i1a(structure); }; protoOf(Builder).k1a = function () { return new Builder(new AppendableFormatStructure()); }; function DateTimeComponentsFormat(actualFormat) { AbstractDateTimeFormat.call(this); this.b1b_1 = actualFormat; } protoOf(DateTimeComponentsFormat).c1b = function () { return this.b1b_1; }; protoOf(DateTimeComponentsFormat).d1b = function (intermediate) { return new DateTimeComponents(intermediate); }; protoOf(DateTimeComponentsFormat).e1b = function (intermediate) { return this.d1b(intermediate instanceof DateTimeComponentsContents ? intermediate : THROW_CCE()); }; protoOf(DateTimeComponentsFormat).f1b = function () { return get_emptyDateTimeComponentsContents(); }; function TwoDigitNumber(reference) { this.h1b_1 = reference; } function ThreeDigitNumber(reference) { this.i1b_1 = reference; } function timeZoneId$factory() { return getPropertyCallableRef('timeZoneId', 1, KMutableProperty1, function (receiver) { return receiver.g16_1; }, function (receiver, value) { receiver.g16_1 = value; return Unit_inst