@attocash/commons-js 6.2.0 → 6.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
- package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
- package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
- package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
- package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
- package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
- package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
- package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
- package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
- package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
- package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
- package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
- package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
- package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
- package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
- package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
- package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
- package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
- package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
- package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
- package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
- package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
- package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
- package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
- package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
- package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
- package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
- package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
- package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
- package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
- package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
- package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
- package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
- package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
- package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
- package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
- package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
- package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
- package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
- package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
- package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
- package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -38,10 +38,10 @@ function addSuppressed(_this__u8e3s4, exception) {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
function stackTraceToString(_this__u8e3s4) {
|
|
41
|
-
return (new (ExceptionTraceBuilder())()).
|
|
41
|
+
return (new (ExceptionTraceBuilder())()).bi(_this__u8e3s4);
|
|
42
42
|
}
|
|
43
43
|
function hasSeen($this, exception) {
|
|
44
|
-
var tmp0 = $this.
|
|
44
|
+
var tmp0 = $this.yh_1;
|
|
45
45
|
var tmp$ret$1;
|
|
46
46
|
$l$block: {
|
|
47
47
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -70,14 +70,14 @@ function dumpFullTrace($this, _this__u8e3s4, indent, qualifier) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function dumpSelfTrace($this, _this__u8e3s4, indent, qualifier) {
|
|
73
|
-
$this.
|
|
73
|
+
$this.xh_1.n1(indent).n1(qualifier);
|
|
74
74
|
var shortInfo = _this__u8e3s4.toString();
|
|
75
75
|
if (hasSeen($this, _this__u8e3s4)) {
|
|
76
|
-
$this.
|
|
76
|
+
$this.xh_1.n1('[CIRCULAR REFERENCE, SEE ABOVE: ').n1(shortInfo).n1(']\n');
|
|
77
77
|
return false;
|
|
78
78
|
}
|
|
79
79
|
// Inline function 'kotlin.js.asDynamic' call
|
|
80
|
-
$this.
|
|
80
|
+
$this.yh_1.push(_this__u8e3s4);
|
|
81
81
|
// Inline function 'kotlin.js.asDynamic' call
|
|
82
82
|
var tmp = _this__u8e3s4.stack;
|
|
83
83
|
var stack = (tmp == null ? true : typeof tmp === 'string') ? tmp : THROW_CCE();
|
|
@@ -86,13 +86,13 @@ function dumpSelfTrace($this, _this__u8e3s4, indent, qualifier) {
|
|
|
86
86
|
var it = indexOf(stack, shortInfo);
|
|
87
87
|
var stackStart = it < 0 ? 0 : it + shortInfo.length | 0;
|
|
88
88
|
if (stackStart === 0) {
|
|
89
|
-
$this.
|
|
89
|
+
$this.xh_1.n1(shortInfo).n1('\n');
|
|
90
90
|
}
|
|
91
91
|
// Inline function 'kotlin.text.isEmpty' call
|
|
92
|
-
var this_0 = $this.
|
|
92
|
+
var this_0 = $this.zh_1;
|
|
93
93
|
if (charSequenceLength(this_0) === 0) {
|
|
94
|
-
$this.
|
|
95
|
-
$this.
|
|
94
|
+
$this.zh_1 = stack;
|
|
95
|
+
$this.ai_1 = stackStart;
|
|
96
96
|
} else {
|
|
97
97
|
stack = dropCommonFrames($this, stack, stackStart);
|
|
98
98
|
}
|
|
@@ -123,15 +123,15 @@ function dumpSelfTrace($this, _this__u8e3s4, indent, qualifier) {
|
|
|
123
123
|
var _unary__edvuaz = index;
|
|
124
124
|
index = _unary__edvuaz + 1 | 0;
|
|
125
125
|
if (checkIndexOverflow(_unary__edvuaz) >= messageLines) {
|
|
126
|
-
$this.
|
|
126
|
+
$this.xh_1.n1(indent);
|
|
127
127
|
}
|
|
128
|
-
$this.
|
|
128
|
+
$this.xh_1.n1(item).n1('\n');
|
|
129
129
|
}
|
|
130
130
|
} else {
|
|
131
|
-
$this.
|
|
131
|
+
$this.xh_1.n1(stack).n1('\n');
|
|
132
132
|
}
|
|
133
133
|
} else {
|
|
134
|
-
$this.
|
|
134
|
+
$this.xh_1.n1(shortInfo).n1('\n');
|
|
135
135
|
}
|
|
136
136
|
var suppressed = get_suppressedExceptions(_this__u8e3s4);
|
|
137
137
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -150,7 +150,7 @@ function dropCommonFrames($this, stack, stackStart) {
|
|
|
150
150
|
var lastBreak = 0;
|
|
151
151
|
var preLastBreak = 0;
|
|
152
152
|
var inductionVariable = 0;
|
|
153
|
-
var tmp0 = $this.
|
|
153
|
+
var tmp0 = $this.zh_1.length - $this.ai_1 | 0;
|
|
154
154
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
155
155
|
var b = stack.length - stackStart | 0;
|
|
156
156
|
var last = Math.min(tmp0, b);
|
|
@@ -159,7 +159,7 @@ function dropCommonFrames($this, stack, stackStart) {
|
|
|
159
159
|
var pos = inductionVariable;
|
|
160
160
|
inductionVariable = inductionVariable + 1 | 0;
|
|
161
161
|
var c = charCodeAt(stack, get_lastIndex(stack) - pos | 0);
|
|
162
|
-
if (!(c === charCodeAt($this.
|
|
162
|
+
if (!(c === charCodeAt($this.zh_1, get_lastIndex($this.zh_1) - pos | 0)))
|
|
163
163
|
break $l$loop;
|
|
164
164
|
if (c === _Char___init__impl__6a9atx(10)) {
|
|
165
165
|
commonFrames = commonFrames + 1 | 0;
|
|
@@ -179,18 +179,18 @@ function ExceptionTraceBuilder() {
|
|
|
179
179
|
if (ExceptionTraceBuilderClass === VOID) {
|
|
180
180
|
class $ {
|
|
181
181
|
constructor() {
|
|
182
|
-
this.
|
|
182
|
+
this.xh_1 = StringBuilder().m1();
|
|
183
183
|
var tmp = this;
|
|
184
184
|
// Inline function 'kotlin.arrayOf' call
|
|
185
185
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
186
186
|
// Inline function 'kotlin.js.asDynamic' call
|
|
187
|
-
tmp.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
187
|
+
tmp.yh_1 = [];
|
|
188
|
+
this.zh_1 = '';
|
|
189
|
+
this.ai_1 = 0;
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
bi(exception) {
|
|
192
192
|
dumpFullTrace(this, exception, '', '');
|
|
193
|
-
return this.
|
|
193
|
+
return this.xh_1.toString();
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
initMetadataForClass($, 'ExceptionTraceBuilder', ExceptionTraceBuilder);
|
|
@@ -101,22 +101,22 @@ function Companion() {
|
|
|
101
101
|
class $ {
|
|
102
102
|
constructor() {
|
|
103
103
|
Companion_instance = this;
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
104
|
+
this.uo_1 = _Duration___init__impl__kdtzql(0n);
|
|
105
|
+
this.vo_1 = durationOfMillis(4611686018427387903n);
|
|
106
|
+
this.wo_1 = durationOfMillis(-4611686018427387903n);
|
|
107
|
+
this.xo_1 = 9223372036854759646n;
|
|
108
|
+
this.yo_1 = _Duration___init__impl__kdtzql(9223372036854759646n);
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
zo(rawValue) {
|
|
111
111
|
// Inline function 'kotlin.apply' call
|
|
112
112
|
var this_0 = new (Duration())(_Duration___init__impl__kdtzql(rawValue));
|
|
113
|
-
var $this$apply = this_0.
|
|
113
|
+
var $this$apply = this_0.ap_1;
|
|
114
114
|
// Inline function 'kotlin.time.durationAssertionsEnabled' call
|
|
115
115
|
if (true) {
|
|
116
116
|
if (isInNanos($this$apply)) {
|
|
117
117
|
var containsArg = _get_value__a43j40($this$apply);
|
|
118
118
|
if (!(-4611686018426999999n <= containsArg ? containsArg <= 4611686018426999999n : false))
|
|
119
|
-
throw AssertionError().
|
|
119
|
+
throw AssertionError().af(_get_value__a43j40($this$apply).toString() + ' ns is out of nanoseconds range');
|
|
120
120
|
} else {
|
|
121
121
|
var tmp;
|
|
122
122
|
// Inline function 'kotlin.time.isFiniteMillis' call
|
|
@@ -129,30 +129,30 @@ function Companion() {
|
|
|
129
129
|
tmp = false;
|
|
130
130
|
}
|
|
131
131
|
if (tmp)
|
|
132
|
-
throw AssertionError().
|
|
132
|
+
throw AssertionError().af(_get_value__a43j40($this$apply).toString() + ' ms is out of milliseconds range');
|
|
133
133
|
var containsArg_0 = _get_value__a43j40($this$apply);
|
|
134
134
|
if (-4611686018426n <= containsArg_0 ? containsArg_0 <= 4611686018426n : false)
|
|
135
|
-
throw AssertionError().
|
|
135
|
+
throw AssertionError().af(_get_value__a43j40($this$apply).toString() + ' ms is denormalized');
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
return this_0.
|
|
138
|
+
return this_0.ap_1;
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
bp(value) {
|
|
141
141
|
var tmp;
|
|
142
142
|
try {
|
|
143
143
|
// Inline function 'kotlin.apply' call
|
|
144
144
|
var this_0 = new (Duration())(parseDuration(value, true));
|
|
145
145
|
// Inline function 'kotlin.check' call
|
|
146
|
-
if (!!(this_0.
|
|
146
|
+
if (!!(this_0.ap_1 === Companion_getInstance().yo_1)) {
|
|
147
147
|
var message = 'invariant failed';
|
|
148
148
|
throw IllegalStateException().o(toString(message));
|
|
149
149
|
}
|
|
150
|
-
tmp = this_0.
|
|
150
|
+
tmp = this_0.ap_1;
|
|
151
151
|
} catch ($p) {
|
|
152
152
|
var tmp_0;
|
|
153
153
|
if ($p instanceof IllegalArgumentException()) {
|
|
154
154
|
var e = $p;
|
|
155
|
-
throw IllegalArgumentException().
|
|
155
|
+
throw IllegalArgumentException().xd("Invalid ISO duration string format: '" + value + "'.", e);
|
|
156
156
|
} else {
|
|
157
157
|
throw $p;
|
|
158
158
|
}
|
|
@@ -231,7 +231,7 @@ function Duration__isPositive_impl_tvkkt2($this) {
|
|
|
231
231
|
return _get_rawValue__5zfu4e($this) > 0n;
|
|
232
232
|
}
|
|
233
233
|
function Duration__isInfinite_impl_tsn9y3($this) {
|
|
234
|
-
return _get_rawValue__5zfu4e($this) === _get_rawValue__5zfu4e(Companion_getInstance().
|
|
234
|
+
return _get_rawValue__5zfu4e($this) === _get_rawValue__5zfu4e(Companion_getInstance().vo_1) || _get_rawValue__5zfu4e($this) === _get_rawValue__5zfu4e(Companion_getInstance().wo_1);
|
|
235
235
|
}
|
|
236
236
|
function Duration__isFinite_impl_rzjsps($this) {
|
|
237
237
|
return !Duration__isInfinite_impl_tsn9y3($this);
|
|
@@ -250,7 +250,7 @@ function Duration__compareTo_impl_pchp0f($this, other) {
|
|
|
250
250
|
return Duration__isNegative_impl_pbysfa($this) ? -r | 0 : r;
|
|
251
251
|
}
|
|
252
252
|
function Duration__compareTo_impl_pchp0f_0($this, other) {
|
|
253
|
-
return Duration__compareTo_impl_pchp0f($this.
|
|
253
|
+
return Duration__compareTo_impl_pchp0f($this.ap_1, other instanceof Duration() ? other.ap_1 : THROW_CCE());
|
|
254
254
|
}
|
|
255
255
|
function _Duration___get_hoursComponent__impl__7hllxa($this) {
|
|
256
256
|
var tmp;
|
|
@@ -308,7 +308,7 @@ function _Duration___get_nanosecondsComponent__impl__nh19kq($this) {
|
|
|
308
308
|
}
|
|
309
309
|
function Duration__toLong_impl_shr43i($this, unit) {
|
|
310
310
|
var tmp0_subject = _get_rawValue__5zfu4e($this);
|
|
311
|
-
return tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().
|
|
311
|
+
return tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().vo_1) ? 9223372036854775807n : tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().wo_1) ? -9223372036854775808n : convertDurationUnit(_get_value__a43j40($this), _get_storageUnit__szjgha($this), unit);
|
|
312
312
|
}
|
|
313
313
|
function _Duration___get_inWholeDays__impl__7bvpxz($this) {
|
|
314
314
|
return Duration__toLong_impl_shr43i($this, DurationUnit_DAYS_getInstance());
|
|
@@ -330,9 +330,9 @@ function Duration__toString_impl_8d916b($this) {
|
|
|
330
330
|
var tmp;
|
|
331
331
|
if (tmp0_subject === 0n) {
|
|
332
332
|
tmp = '0s';
|
|
333
|
-
} else if (tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().
|
|
333
|
+
} else if (tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().vo_1)) {
|
|
334
334
|
tmp = 'Infinity';
|
|
335
|
-
} else if (tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().
|
|
335
|
+
} else if (tmp0_subject === _get_rawValue__5zfu4e(Companion_getInstance().wo_1)) {
|
|
336
336
|
tmp = '-Infinity';
|
|
337
337
|
} else {
|
|
338
338
|
var isNegative = Duration__isNegative_impl_pbysfa($this);
|
|
@@ -355,7 +355,7 @@ function Duration__toString_impl_8d916b($this) {
|
|
|
355
355
|
var hasSeconds = !(tmp6 === 0) || !(nanoseconds === 0);
|
|
356
356
|
var components = 0;
|
|
357
357
|
if (hasDays) {
|
|
358
|
-
this_0.
|
|
358
|
+
this_0.zg(tmp0).p1(_Char___init__impl__6a9atx(100));
|
|
359
359
|
components = components + 1 | 0;
|
|
360
360
|
}
|
|
361
361
|
if (hasHours || (hasDays && (hasMinutes || hasSeconds))) {
|
|
@@ -364,7 +364,7 @@ function Duration__toString_impl_8d916b($this) {
|
|
|
364
364
|
if (_unary__edvuaz > 0) {
|
|
365
365
|
this_0.p1(_Char___init__impl__6a9atx(32));
|
|
366
366
|
}
|
|
367
|
-
this_0.
|
|
367
|
+
this_0.yg(tmp2).p1(_Char___init__impl__6a9atx(104));
|
|
368
368
|
}
|
|
369
369
|
if (hasMinutes || (hasSeconds && (hasHours || hasDays))) {
|
|
370
370
|
var _unary__edvuaz_0 = components;
|
|
@@ -372,7 +372,7 @@ function Duration__toString_impl_8d916b($this) {
|
|
|
372
372
|
if (_unary__edvuaz_0 > 0) {
|
|
373
373
|
this_0.p1(_Char___init__impl__6a9atx(32));
|
|
374
374
|
}
|
|
375
|
-
this_0.
|
|
375
|
+
this_0.yg(tmp4).p1(_Char___init__impl__6a9atx(109));
|
|
376
376
|
}
|
|
377
377
|
if (hasSeconds) {
|
|
378
378
|
var _unary__edvuaz_1 = components;
|
|
@@ -387,17 +387,17 @@ function Duration__toString_impl_8d916b($this) {
|
|
|
387
387
|
} else if (nanoseconds >= 1000) {
|
|
388
388
|
appendFractional($this, this_0, nanoseconds / 1000 | 0, nanoseconds % 1000 | 0, 3, 'us', false);
|
|
389
389
|
} else
|
|
390
|
-
this_0.
|
|
390
|
+
this_0.yg(nanoseconds).n1('ns');
|
|
391
391
|
}
|
|
392
392
|
if (isNegative && components > 1) {
|
|
393
|
-
this_0.
|
|
393
|
+
this_0.ah(1, _Char___init__impl__6a9atx(40)).p1(_Char___init__impl__6a9atx(41));
|
|
394
394
|
}
|
|
395
395
|
tmp = this_0.toString();
|
|
396
396
|
}
|
|
397
397
|
return tmp;
|
|
398
398
|
}
|
|
399
399
|
function appendFractional($this, _this__u8e3s4, whole, fractional, fractionalSize, unit, isoZeroes) {
|
|
400
|
-
_this__u8e3s4.
|
|
400
|
+
_this__u8e3s4.yg(whole);
|
|
401
401
|
if (!(fractional === 0)) {
|
|
402
402
|
_this__u8e3s4.p1(_Char___init__impl__6a9atx(46));
|
|
403
403
|
var fracString = padStart(fractional.toString(), fractionalSize, _Char___init__impl__6a9atx(48));
|
|
@@ -420,11 +420,11 @@ function appendFractional($this, _this__u8e3s4, whole, fractional, fractionalSiz
|
|
|
420
420
|
var nonZeroDigits = tmp$ret$1 + 1 | 0;
|
|
421
421
|
if (!isoZeroes && nonZeroDigits < 3) {
|
|
422
422
|
// Inline function 'kotlin.text.appendRange' call
|
|
423
|
-
_this__u8e3s4.
|
|
423
|
+
_this__u8e3s4.wg(fracString, 0, nonZeroDigits);
|
|
424
424
|
} else {
|
|
425
425
|
// Inline function 'kotlin.text.appendRange' call
|
|
426
426
|
var endIndex = imul((nonZeroDigits + 2 | 0) / 3 | 0, 3);
|
|
427
|
-
_this__u8e3s4.
|
|
427
|
+
_this__u8e3s4.wg(fracString, 0, endIndex);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
_this__u8e3s4.n1(unit);
|
|
@@ -451,10 +451,10 @@ function Duration__toIsoString_impl_9h6wsm($this) {
|
|
|
451
451
|
var hasSeconds = !(tmp4 === 0) || !(nanoseconds === 0);
|
|
452
452
|
var hasMinutes = !(tmp2 === 0) || (hasSeconds && hasHours);
|
|
453
453
|
if (hasHours) {
|
|
454
|
-
this_0.
|
|
454
|
+
this_0.zg(hours).p1(_Char___init__impl__6a9atx(72));
|
|
455
455
|
}
|
|
456
456
|
if (hasMinutes) {
|
|
457
|
-
this_0.
|
|
457
|
+
this_0.yg(tmp2).p1(_Char___init__impl__6a9atx(77));
|
|
458
458
|
}
|
|
459
459
|
if (hasSeconds || (!hasHours && !hasMinutes)) {
|
|
460
460
|
appendFractional($this, this_0, tmp4, nanoseconds, 9, 'S', true);
|
|
@@ -467,7 +467,7 @@ function Duration__hashCode_impl_u4exz6($this) {
|
|
|
467
467
|
function Duration__equals_impl_ygj6w6($this, other) {
|
|
468
468
|
if (!(other instanceof Duration()))
|
|
469
469
|
return false;
|
|
470
|
-
if (!($this === other.
|
|
470
|
+
if (!($this === other.ap_1))
|
|
471
471
|
return false;
|
|
472
472
|
return true;
|
|
473
473
|
}
|
|
@@ -477,22 +477,22 @@ function Duration() {
|
|
|
477
477
|
class $ {
|
|
478
478
|
constructor(rawValue) {
|
|
479
479
|
Companion_getInstance();
|
|
480
|
-
this.
|
|
480
|
+
this.ap_1 = rawValue;
|
|
481
481
|
}
|
|
482
|
-
|
|
483
|
-
return Duration__compareTo_impl_pchp0f(this.
|
|
482
|
+
cp(other) {
|
|
483
|
+
return Duration__compareTo_impl_pchp0f(this.ap_1, other);
|
|
484
484
|
}
|
|
485
485
|
d(other) {
|
|
486
486
|
return Duration__compareTo_impl_pchp0f_0(this, other);
|
|
487
487
|
}
|
|
488
488
|
toString() {
|
|
489
|
-
return Duration__toString_impl_8d916b(this.
|
|
489
|
+
return Duration__toString_impl_8d916b(this.ap_1);
|
|
490
490
|
}
|
|
491
491
|
hashCode() {
|
|
492
|
-
return Duration__hashCode_impl_u4exz6(this.
|
|
492
|
+
return Duration__hashCode_impl_u4exz6(this.ap_1);
|
|
493
493
|
}
|
|
494
494
|
equals(other) {
|
|
495
|
-
return Duration__equals_impl_ygj6w6(this.
|
|
495
|
+
return Duration__equals_impl_ygj6w6(this.ap_1, other);
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
initMetadataForClass($, 'Duration', VOID, VOID, [Comparable()]);
|
|
@@ -505,11 +505,11 @@ function durationOfMillis(normalMillis) {
|
|
|
505
505
|
// Inline function 'kotlin.Long.plus' call
|
|
506
506
|
var this_0 = shiftLeft(normalMillis, 1);
|
|
507
507
|
var tmp$ret$0 = add(this_0, fromInt(1));
|
|
508
|
-
return tmp.
|
|
508
|
+
return tmp.zo(tmp$ret$0);
|
|
509
509
|
}
|
|
510
510
|
function toDuration(_this__u8e3s4, unit) {
|
|
511
511
|
var tmp;
|
|
512
|
-
if (unit.
|
|
512
|
+
if (unit.b5(DurationUnit_SECONDS_getInstance()) <= 0) {
|
|
513
513
|
tmp = durationOfNanos(convertDurationUnitOverflow(fromInt(_this__u8e3s4), unit, DurationUnit_NANOSECONDS_getInstance()));
|
|
514
514
|
} else {
|
|
515
515
|
tmp = toDuration_0(fromInt(_this__u8e3s4), unit);
|
|
@@ -521,7 +521,7 @@ function toDuration_0(_this__u8e3s4, unit) {
|
|
|
521
521
|
var tmp;
|
|
522
522
|
if (negate(maxNsInUnit) <= _this__u8e3s4 ? _this__u8e3s4 <= maxNsInUnit : false) {
|
|
523
523
|
tmp = durationOfNanos(convertDurationUnitOverflow(_this__u8e3s4, unit, DurationUnit_NANOSECONDS_getInstance()));
|
|
524
|
-
} else if (unit.
|
|
524
|
+
} else if (unit.b5(DurationUnit_MILLISECONDS_getInstance()) >= 0) {
|
|
525
525
|
var tmp_0 = get_sign(_this__u8e3s4);
|
|
526
526
|
// Inline function 'kotlin.Long.plus' call
|
|
527
527
|
var this_0 = -9223372036854775808n;
|
|
@@ -540,7 +540,7 @@ function parseDuration(value, strictIso, throwException) {
|
|
|
540
540
|
var message = 'The string is empty';
|
|
541
541
|
if (throwException)
|
|
542
542
|
throw IllegalArgumentException().t2(message);
|
|
543
|
-
return Companion_getInstance().
|
|
543
|
+
return Companion_getInstance().yo_1;
|
|
544
544
|
}
|
|
545
545
|
var index = 0;
|
|
546
546
|
var firstChar = charCodeAt(value, index);
|
|
@@ -558,7 +558,7 @@ function parseDuration(value, strictIso, throwException) {
|
|
|
558
558
|
var message_0 = 'No components';
|
|
559
559
|
if (throwException)
|
|
560
560
|
throw IllegalArgumentException().t2(message_0);
|
|
561
|
-
return Companion_getInstance().
|
|
561
|
+
return Companion_getInstance().yo_1;
|
|
562
562
|
} else {
|
|
563
563
|
if (charCodeAt(value, index) === _Char___init__impl__6a9atx(80)) {
|
|
564
564
|
tmp = parseIsoStringFormat(value, index + 1 | 0, throwException);
|
|
@@ -567,14 +567,14 @@ function parseDuration(value, strictIso, throwException) {
|
|
|
567
567
|
// Inline function 'kotlin.time.handleError' call
|
|
568
568
|
if (throwException)
|
|
569
569
|
throw IllegalArgumentException().t2('');
|
|
570
|
-
return Companion_getInstance().
|
|
570
|
+
return Companion_getInstance().yo_1;
|
|
571
571
|
} else {
|
|
572
572
|
var tmp_0 = index;
|
|
573
573
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
574
574
|
var a = value.length - index | 0;
|
|
575
575
|
var tmp$ret$4 = Math.max(a, 8);
|
|
576
576
|
if (regionMatches(value, tmp_0, 'Infinity', 0, tmp$ret$4, true)) {
|
|
577
|
-
tmp = Companion_getInstance().
|
|
577
|
+
tmp = Companion_getInstance().vo_1;
|
|
578
578
|
} else {
|
|
579
579
|
tmp = parseDefaultStringFormat(value, index, hasSign, throwException);
|
|
580
580
|
}
|
|
@@ -582,14 +582,14 @@ function parseDuration(value, strictIso, throwException) {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
var result = tmp;
|
|
585
|
-
return isNegative && !(result === Companion_getInstance().
|
|
585
|
+
return isNegative && !(result === Companion_getInstance().yo_1) ? Duration__unaryMinus_impl_x2k1y0(result) : result;
|
|
586
586
|
}
|
|
587
587
|
function durationOf(normalValue, unitDiscriminator) {
|
|
588
588
|
var tmp = Companion_getInstance();
|
|
589
589
|
// Inline function 'kotlin.Long.plus' call
|
|
590
590
|
var this_0 = shiftLeft(normalValue, 1);
|
|
591
591
|
var tmp$ret$0 = add(this_0, fromInt(unitDiscriminator));
|
|
592
|
-
return tmp.
|
|
592
|
+
return tmp.zo(tmp$ret$0);
|
|
593
593
|
}
|
|
594
594
|
function durationOfNanosNormalized(nanos) {
|
|
595
595
|
var tmp;
|
|
@@ -647,7 +647,7 @@ function millisToNanos(millis) {
|
|
|
647
647
|
return multiply(millis, fromInt(1000000));
|
|
648
648
|
}
|
|
649
649
|
function durationOfNanos(normalNanos) {
|
|
650
|
-
return Companion_getInstance().
|
|
650
|
+
return Companion_getInstance().zo(shiftLeft(normalNanos, 1));
|
|
651
651
|
}
|
|
652
652
|
function parseIsoStringFormat(value, startIndex, throwException) {
|
|
653
653
|
var index = startIndex;
|
|
@@ -655,7 +655,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
655
655
|
// Inline function 'kotlin.time.handleError' call
|
|
656
656
|
if (throwException)
|
|
657
657
|
throw IllegalArgumentException().t2('');
|
|
658
|
-
return Companion_getInstance().
|
|
658
|
+
return Companion_getInstance().yo_1;
|
|
659
659
|
}
|
|
660
660
|
var totalMillis = 0n;
|
|
661
661
|
var totalNanos = 0n;
|
|
@@ -675,14 +675,14 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
675
675
|
// Inline function 'kotlin.time.handleError' call
|
|
676
676
|
if (throwException)
|
|
677
677
|
throw IllegalArgumentException().t2('');
|
|
678
|
-
return Companion_getInstance().
|
|
678
|
+
return Companion_getInstance().yo_1;
|
|
679
679
|
}
|
|
680
680
|
isTimeComponent = true;
|
|
681
681
|
continue $l$loop;
|
|
682
682
|
}
|
|
683
683
|
var longStartIndex = index;
|
|
684
684
|
var sign;
|
|
685
|
-
var tmp0 = Companion_getInstance_0().
|
|
685
|
+
var tmp0 = Companion_getInstance_0().dp_1;
|
|
686
686
|
var tmp4 = index;
|
|
687
687
|
var tmp$ret$8;
|
|
688
688
|
$l$block: {
|
|
@@ -743,7 +743,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
743
743
|
// Inline function 'kotlin.time.handleError' call
|
|
744
744
|
if (throwException)
|
|
745
745
|
throw IllegalArgumentException().t2('');
|
|
746
|
-
return Companion_getInstance().
|
|
746
|
+
return Companion_getInstance().yo_1;
|
|
747
747
|
}
|
|
748
748
|
sign = localSign;
|
|
749
749
|
tmp$ret$8 = access$_get_overflowLimit__t4uhig(tmp0);
|
|
@@ -763,7 +763,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
763
763
|
// Inline function 'kotlin.time.handleError' call
|
|
764
764
|
if (throwException)
|
|
765
765
|
throw IllegalArgumentException().t2('');
|
|
766
|
-
return Companion_getInstance().
|
|
766
|
+
return Companion_getInstance().yo_1;
|
|
767
767
|
}
|
|
768
768
|
sign = localSign_0;
|
|
769
769
|
tmp$ret$8 = result;
|
|
@@ -856,7 +856,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
856
856
|
// Inline function 'kotlin.time.handleError' call
|
|
857
857
|
if (throwException)
|
|
858
858
|
throw IllegalArgumentException().t2('');
|
|
859
|
-
return Companion_getInstance().
|
|
859
|
+
return Companion_getInstance().yo_1;
|
|
860
860
|
}
|
|
861
861
|
index = fractionEndIndex;
|
|
862
862
|
var tmp0_4 = fromInt(highPrecisionDigits);
|
|
@@ -874,17 +874,17 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
874
874
|
var message = 'Unknown duration unit short name: ' + toString_0(charCodeAt(value, index));
|
|
875
875
|
if (throwException)
|
|
876
876
|
throw IllegalArgumentException().t2(message);
|
|
877
|
-
return Companion_getInstance().
|
|
877
|
+
return Companion_getInstance().yo_1;
|
|
878
878
|
} else {
|
|
879
879
|
tmp_3 = tmp0_elvis_lhs;
|
|
880
880
|
}
|
|
881
881
|
var unit = tmp_3;
|
|
882
|
-
if (!(prevUnit == null) && prevUnit.
|
|
882
|
+
if (!(prevUnit == null) && prevUnit.b5(unit) <= 0) {
|
|
883
883
|
// Inline function 'kotlin.time.handleError' call
|
|
884
884
|
var message_0 = 'Unexpected order of duration components';
|
|
885
885
|
if (throwException)
|
|
886
886
|
throw IllegalArgumentException().t2(message_0);
|
|
887
|
-
return Companion_getInstance().
|
|
887
|
+
return Companion_getInstance().yo_1;
|
|
888
888
|
}
|
|
889
889
|
prevUnit = unit;
|
|
890
890
|
if (unit.equals(DurationUnit_DAYS_getInstance())) {
|
|
@@ -892,7 +892,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
892
892
|
// Inline function 'kotlin.time.handleError' call
|
|
893
893
|
if (throwException)
|
|
894
894
|
throw IllegalArgumentException().t2('');
|
|
895
|
-
return Companion_getInstance().
|
|
895
|
+
return Companion_getInstance().yo_1;
|
|
896
896
|
}
|
|
897
897
|
totalMillis = multiply(numberToLong(sign), convertDurationUnitToMilliseconds(longValue, unit));
|
|
898
898
|
} else {
|
|
@@ -900,7 +900,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
900
900
|
// Inline function 'kotlin.time.handleError' call
|
|
901
901
|
if (throwException)
|
|
902
902
|
throw IllegalArgumentException().t2('');
|
|
903
|
-
return Companion_getInstance().
|
|
903
|
+
return Companion_getInstance().yo_1;
|
|
904
904
|
}
|
|
905
905
|
// Inline function 'kotlin.also' call
|
|
906
906
|
var this_7 = addMillisWithoutOverflow(totalMillis, multiply(numberToLong(sign), convertDurationUnitToMilliseconds(longValue, unit)));
|
|
@@ -908,7 +908,7 @@ function parseIsoStringFormat(value, startIndex, throwException) {
|
|
|
908
908
|
// Inline function 'kotlin.time.handleError' call
|
|
909
909
|
if (throwException)
|
|
910
910
|
throw IllegalArgumentException().t2('');
|
|
911
|
-
return Companion_getInstance().
|
|
911
|
+
return Companion_getInstance().yo_1;
|
|
912
912
|
}
|
|
913
913
|
totalMillis = this_7;
|
|
914
914
|
}
|
|
@@ -929,7 +929,7 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
929
929
|
var message = 'No components';
|
|
930
930
|
if (throwException)
|
|
931
931
|
throw IllegalArgumentException().t2(message);
|
|
932
|
-
return Companion_getInstance().
|
|
932
|
+
return Companion_getInstance().yo_1;
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
var totalMillis = 0n;
|
|
@@ -956,7 +956,7 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
956
956
|
}
|
|
957
957
|
isFirstComponent = false;
|
|
958
958
|
var longStartIndex = index;
|
|
959
|
-
var tmp0 = Companion_getInstance_0().
|
|
959
|
+
var tmp0 = Companion_getInstance_0().ep_1;
|
|
960
960
|
var tmp4 = index;
|
|
961
961
|
var tmp$ret$9;
|
|
962
962
|
$l$block: {
|
|
@@ -1015,7 +1015,7 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
1015
1015
|
// Inline function 'kotlin.time.handleError' call
|
|
1016
1016
|
if (throwException)
|
|
1017
1017
|
throw IllegalArgumentException().t2('');
|
|
1018
|
-
return Companion_getInstance().
|
|
1018
|
+
return Companion_getInstance().yo_1;
|
|
1019
1019
|
}
|
|
1020
1020
|
index = tmp0_0;
|
|
1021
1021
|
tmp$ret$9 = access$_get_overflowLimit__t4uhig(tmp0);
|
|
@@ -1033,7 +1033,7 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
1033
1033
|
// Inline function 'kotlin.time.handleError' call
|
|
1034
1034
|
if (throwException)
|
|
1035
1035
|
throw IllegalArgumentException().t2('');
|
|
1036
|
-
return Companion_getInstance().
|
|
1036
|
+
return Companion_getInstance().yo_1;
|
|
1037
1037
|
}
|
|
1038
1038
|
index = tmp0_1;
|
|
1039
1039
|
tmp$ret$9 = result;
|
|
@@ -1130,7 +1130,7 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
1130
1130
|
// Inline function 'kotlin.time.handleError' call
|
|
1131
1131
|
if (throwException)
|
|
1132
1132
|
throw IllegalArgumentException().t2('');
|
|
1133
|
-
return Companion_getInstance().
|
|
1133
|
+
return Companion_getInstance().yo_1;
|
|
1134
1134
|
}
|
|
1135
1135
|
index = fractionEndIndex;
|
|
1136
1136
|
var tmp0_4 = fromInt(highPrecisionDigits);
|
|
@@ -1150,17 +1150,17 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
1150
1150
|
var message_0 = 'Unknown duration unit short name: ' + toString_0(charCodeAt(value, index));
|
|
1151
1151
|
if (throwException)
|
|
1152
1152
|
throw IllegalArgumentException().t2(message_0);
|
|
1153
|
-
return Companion_getInstance().
|
|
1153
|
+
return Companion_getInstance().yo_1;
|
|
1154
1154
|
} else {
|
|
1155
1155
|
tmp_3 = tmp0_elvis_lhs;
|
|
1156
1156
|
}
|
|
1157
1157
|
var unit = tmp_3;
|
|
1158
|
-
if (!(prevUnit == null) && prevUnit.
|
|
1158
|
+
if (!(prevUnit == null) && prevUnit.b5(unit) <= 0) {
|
|
1159
1159
|
// Inline function 'kotlin.time.handleError' call
|
|
1160
1160
|
var message_1 = 'Unexpected order of duration components';
|
|
1161
1161
|
if (throwException)
|
|
1162
1162
|
throw IllegalArgumentException().t2(message_1);
|
|
1163
|
-
return Companion_getInstance().
|
|
1163
|
+
return Companion_getInstance().yo_1;
|
|
1164
1164
|
}
|
|
1165
1165
|
prevUnit = unit;
|
|
1166
1166
|
switch (unit.x1_1) {
|
|
@@ -1198,9 +1198,9 @@ function parseDefaultStringFormat(value, startIndex, hasSign, throwException) {
|
|
|
1198
1198
|
var message_2 = 'Fractional component must be last';
|
|
1199
1199
|
if (throwException)
|
|
1200
1200
|
throw IllegalArgumentException().t2(message_2);
|
|
1201
|
-
return Companion_getInstance().
|
|
1201
|
+
return Companion_getInstance().yo_1;
|
|
1202
1202
|
}
|
|
1203
|
-
totalNanos = add(totalNanos, unit.
|
|
1203
|
+
totalNanos = add(totalNanos, unit.b5(DurationUnit_MINUTES_getInstance()) >= 0 && (index - fractionStartIndex | 0) > 15 ? parseFractionFallback(value, fractionStartIndex, index - get_shortNameLength(unit) | 0, unit) : fractionDigitsToNanos(fractionValue, unit));
|
|
1204
1204
|
}
|
|
1205
1205
|
}
|
|
1206
1206
|
return Duration__plus_impl_yu9v8f(toDuration_0(totalMillis, DurationUnit_MILLISECONDS_getInstance()), toDuration_0(totalNanos, DurationUnit_NANOSECONDS_getInstance()));
|
|
@@ -1211,8 +1211,8 @@ function Companion_0() {
|
|
|
1211
1211
|
class $ {
|
|
1212
1212
|
constructor() {
|
|
1213
1213
|
Companion_instance_0 = this;
|
|
1214
|
-
this.
|
|
1215
|
-
this.
|
|
1214
|
+
this.dp_1 = new (LongParser())(4611686018427387903n, true);
|
|
1215
|
+
this.ep_1 = new (LongParser())(9223372036854775807n, false);
|
|
1216
1216
|
}
|
|
1217
1217
|
}
|
|
1218
1218
|
initMetadataForCompanion($);
|
|
@@ -1227,16 +1227,16 @@ function Companion_getInstance_0() {
|
|
|
1227
1227
|
return Companion_instance_0;
|
|
1228
1228
|
}
|
|
1229
1229
|
function access$_get_overflowLimit__t4uhig($this) {
|
|
1230
|
-
return $this.
|
|
1230
|
+
return $this.fp_1;
|
|
1231
1231
|
}
|
|
1232
1232
|
function access$_get_allowSign__e988q3($this) {
|
|
1233
|
-
return $this.
|
|
1233
|
+
return $this.gp_1;
|
|
1234
1234
|
}
|
|
1235
1235
|
function access$_get_overflowThreshold__7yqffs($this) {
|
|
1236
|
-
return $this.
|
|
1236
|
+
return $this.hp_1;
|
|
1237
1237
|
}
|
|
1238
1238
|
function access$_get_lastDigitMax__85wg2($this) {
|
|
1239
|
-
return $this.
|
|
1239
|
+
return $this.ip_1;
|
|
1240
1240
|
}
|
|
1241
1241
|
var LongParserClass;
|
|
1242
1242
|
function LongParser() {
|
|
@@ -1244,16 +1244,16 @@ function LongParser() {
|
|
|
1244
1244
|
class $ {
|
|
1245
1245
|
constructor(overflowLimit, allowSign) {
|
|
1246
1246
|
Companion_getInstance_0();
|
|
1247
|
-
this.
|
|
1248
|
-
this.
|
|
1247
|
+
this.fp_1 = overflowLimit;
|
|
1248
|
+
this.gp_1 = allowSign;
|
|
1249
1249
|
var tmp = this;
|
|
1250
1250
|
// Inline function 'kotlin.Long.div' call
|
|
1251
|
-
var this_0 = this.
|
|
1252
|
-
tmp.
|
|
1251
|
+
var this_0 = this.fp_1;
|
|
1252
|
+
tmp.hp_1 = divide(this_0, fromInt(10));
|
|
1253
1253
|
var tmp_0 = this;
|
|
1254
1254
|
// Inline function 'kotlin.Long.rem' call
|
|
1255
|
-
var this_1 = this.
|
|
1256
|
-
tmp_0.
|
|
1255
|
+
var this_1 = this.fp_1;
|
|
1256
|
+
tmp_0.ip_1 = modulo(this_1, fromInt(10));
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
initMetadataForClass($, 'LongParser');
|