@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.
Files changed (542) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +58 -58
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +21 -21
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +56 -56
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +31 -31
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +41 -41
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +65 -65
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +22 -22
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +22 -22
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +12 -12
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +7 -7
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +32 -32
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +122 -122
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +106 -106
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +150 -150
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +131 -131
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +74 -74
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +29 -29
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +26 -26
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +20 -20
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +49 -49
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +7 -7
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +49 -49
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +42 -42
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +108 -108
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +11 -11
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +28 -28
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +45 -45
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +43 -43
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +54 -54
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +60 -60
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +16 -16
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +3 -3
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +100 -100
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +9 -9
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +9 -9
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +9 -9
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +28 -28
  40. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +9 -9
  41. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +11 -11
  42. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +129 -129
  43. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +116 -116
  44. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +32 -32
  45. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +15 -15
  46. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +34 -34
  47. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +875 -875
  48. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -7
  49. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +13 -13
  50. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +8 -8
  51. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +14 -14
  52. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  53. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +22 -22
  54. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +38 -38
  55. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +1 -1
  56. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +4 -4
  57. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +2 -3
  58. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +35 -26
  59. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -1
  60. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +7 -7
  61. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +12 -12
  62. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  63. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +30 -30
  64. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +13 -13
  65. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +96 -96
  66. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +7 -7
  67. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +4 -4
  68. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +14 -14
  69. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +13 -13
  70. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +4 -4
  71. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +6 -6
  72. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +64 -64
  73. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +3 -3
  74. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +15 -15
  75. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +78 -78
  76. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +24 -24
  77. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +16 -16
  78. package/commons-commons-core/cash/atto/commons/Extensions.mjs +6 -6
  79. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  80. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  81. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +1 -1
  82. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +332 -296
  83. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -1
  84. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +156 -156
  85. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +17 -17
  86. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +7 -7
  87. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +34 -34
  88. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +16 -16
  89. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +55 -55
  90. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +54 -54
  91. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +3 -3
  92. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +64 -64
  93. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +7 -7
  94. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +34 -34
  95. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +16 -16
  96. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +9 -9
  97. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +344 -344
  98. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +209 -209
  99. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +108 -108
  100. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +35 -35
  101. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
  102. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +25 -25
  103. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +79 -79
  104. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +82 -82
  105. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +16 -16
  106. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +33 -33
  107. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  108. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +24 -24
  109. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +3 -3
  110. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  111. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +4 -4
  112. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -11
  113. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +3 -3
  114. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -21
  115. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  116. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +26 -26
  117. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  118. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +26 -26
  119. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  120. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +26 -26
  121. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  122. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +26 -26
  123. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +2 -2
  124. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +49 -95
  125. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  126. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +40 -40
  127. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +13 -13
  128. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +67 -92
  129. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  130. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +25 -25
  131. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  132. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +7 -7
  133. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +205 -252
  134. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  135. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +40 -46
  136. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  137. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +0 -9
  138. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +1 -7
  139. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -1
  140. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +15 -43
  141. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  142. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +31 -68
  143. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  144. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +35 -35
  145. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +61 -61
  146. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +44 -44
  147. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +18 -18
  148. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -7
  149. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +211 -211
  150. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +1 -1
  151. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  152. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  153. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +17 -17
  154. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +7 -7
  155. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +3 -3
  156. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +29 -29
  157. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +4 -4
  158. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  159. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +6 -6
  160. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +0 -27
  161. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  162. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +4 -4
  163. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +2 -2
  164. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +4 -4
  165. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +16 -111
  166. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -1
  167. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +1 -1
  168. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  169. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +4 -4
  170. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +38 -38
  171. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +4 -4
  172. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +38 -38
  173. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +10 -10
  174. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +17 -17
  175. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +21 -21
  176. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +10 -30
  177. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  178. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +71 -71
  179. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +3 -3
  180. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  181. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +8 -8
  182. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  183. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +2 -2
  184. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +29 -29
  185. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +25 -25
  186. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  187. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +26 -26
  188. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  189. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  190. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +23 -23
  191. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  192. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  193. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  194. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  195. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +27 -27
  196. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  197. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +18 -18
  198. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +45 -45
  199. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +2 -2
  200. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -17
  201. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  202. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +66 -66
  203. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  204. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  205. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  206. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +19 -19
  207. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  208. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  209. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  210. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  211. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  212. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +81 -81
  213. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +6 -6
  214. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +84 -84
  215. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  216. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +24 -24
  217. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  218. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  219. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  220. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  221. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  222. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +5 -5
  223. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +22 -22
  224. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  225. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  226. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +3 -3
  227. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +1 -1
  228. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +3 -3
  229. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +7 -7
  230. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  231. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +2 -2
  232. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  233. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  234. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  235. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  236. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
  237. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +8 -8
  238. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +173 -173
  239. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  240. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  241. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  242. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +4 -4
  243. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  244. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +4 -4
  245. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  246. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
  247. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  248. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +4 -4
  249. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  250. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +49 -49
  251. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  252. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  253. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +29 -29
  254. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  255. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  256. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  257. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +93 -115
  258. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  259. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +17 -17
  260. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +324 -324
  261. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  262. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  263. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +8 -8
  264. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  265. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  266. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  267. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +464 -464
  268. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  269. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  270. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +21 -21
  271. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  272. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
  273. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
  274. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +15 -15
  275. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  276. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -8
  277. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +1 -1
  278. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +16 -16
  279. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +34 -34
  280. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +18 -18
  281. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +13 -13
  282. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
  283. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +53 -53
  284. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
  285. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +50 -50
  286. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +25 -25
  287. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +81 -81
  288. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  289. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
  290. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +41 -41
  291. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  292. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  293. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +10 -10
  294. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  295. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
  296. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
  297. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +49 -49
  298. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  299. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +3 -3
  300. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +77 -77
  301. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  302. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  303. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  304. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  305. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  306. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  307. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +2 -2
  308. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +12 -12
  309. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +16 -16
  310. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +54 -54
  311. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
  312. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +65 -65
  313. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +36 -36
  314. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  315. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  316. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  317. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +191 -191
  318. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  319. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  320. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +21 -21
  321. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +54 -54
  322. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +151 -151
  323. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  324. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  325. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  326. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  327. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  328. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  329. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  330. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
  331. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +46 -46
  332. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  333. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
  334. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  335. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  336. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  337. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  338. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  339. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +66 -66
  340. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  341. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
  342. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  343. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  344. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
  345. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  346. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  347. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +243 -243
  348. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  349. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  350. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  351. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  352. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  353. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  354. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  355. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  356. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  357. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  358. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +72 -72
  359. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  360. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +116 -116
  361. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
  362. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  363. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  364. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +33 -33
  365. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  366. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
  367. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  368. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +68 -90
  369. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  370. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +152 -152
  371. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  372. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  373. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  374. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  375. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  376. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
  377. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +24 -24
  378. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
  379. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
  380. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  381. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  382. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +67 -67
  383. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
  384. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  385. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
  386. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
  387. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  388. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  389. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +220 -220
  390. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  391. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  392. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +72 -72
  393. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  394. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +76 -76
  395. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +41 -41
  396. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  397. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  398. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +51 -51
  399. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
  400. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  401. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +23 -23
  402. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +57 -57
  403. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  404. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  405. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  406. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  407. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +25 -25
  408. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  409. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +34 -34
  410. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  411. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +17 -17
  412. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +14 -14
  413. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +9 -9
  414. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  415. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +40 -40
  416. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +33 -33
  417. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +74 -74
  418. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +83 -83
  419. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  420. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +60 -60
  421. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +34 -34
  422. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +32 -32
  423. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +116 -116
  424. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  425. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +84 -84
  426. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +24 -24
  427. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  428. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  429. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +12 -12
  430. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +28 -28
  431. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  432. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +39 -39
  433. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
  434. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +49 -49
  435. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  436. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  437. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +60 -60
  438. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  439. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  440. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  441. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +8 -8
  442. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  443. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
  444. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +17 -17
  445. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  446. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  447. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  448. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  449. package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  450. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +15 -15
  451. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +93 -93
  452. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +19 -19
  453. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  454. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +42 -42
  455. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
  456. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  457. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  458. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  459. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +68 -68
  460. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
  461. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  462. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +61 -61
  463. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  464. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  465. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +22 -22
  466. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +18 -18
  467. package/ktor-ktor-http/io/ktor/http/Url.mjs +69 -69
  468. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +26 -26
  469. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  470. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  471. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  472. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  473. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +90 -90
  474. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  475. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +53 -53
  476. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +15 -15
  477. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +74 -74
  478. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  479. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  480. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  481. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  482. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +127 -127
  483. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  484. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  485. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
  486. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  487. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +59 -59
  488. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  489. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +39 -39
  490. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  491. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  492. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  493. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
  494. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  495. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  496. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  497. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +5 -5
  498. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  499. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  500. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  501. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  502. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
  503. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  504. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  505. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  506. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  507. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  508. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  509. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  510. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +42 -42
  511. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  512. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +89 -89
  513. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +11 -11
  514. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  515. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +13 -13
  516. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  517. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +45 -45
  518. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  519. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +44 -44
  520. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  521. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  522. package/ktor-ktor-utils/io/ktor/util/Text.mjs +9 -9
  523. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  524. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
  525. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  526. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  527. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  528. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  529. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  530. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +26 -26
  531. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +55 -55
  532. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  533. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  534. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  535. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +58 -58
  536. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  537. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  538. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +18 -18
  539. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
  540. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
  541. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  542. package/package.json +1 -1
@@ -30,12 +30,12 @@ function readString(_this__u8e3s4) {
30
30
  return commonReadUtf8(_this__u8e3s4, _this__u8e3s4.u2());
31
31
  }
32
32
  function readString_0(_this__u8e3s4) {
33
- _this__u8e3s4.x27(9223372036854775807n);
34
- return commonReadUtf8(_this__u8e3s4.u27(), _this__u8e3s4.u27().u2());
33
+ _this__u8e3s4.n27(9223372036854775807n);
34
+ return commonReadUtf8(_this__u8e3s4.k27(), _this__u8e3s4.k27().u2());
35
35
  }
36
36
  function readString_1(_this__u8e3s4, byteCount) {
37
- _this__u8e3s4.w27(byteCount);
38
- return commonReadUtf8(_this__u8e3s4.u27(), byteCount);
37
+ _this__u8e3s4.m27(byteCount);
38
+ return commonReadUtf8(_this__u8e3s4.k27(), byteCount);
39
39
  }
40
40
  function writeString(_this__u8e3s4, string, startIndex, endIndex) {
41
41
  startIndex = startIndex === VOID ? 0 : startIndex;
@@ -45,7 +45,7 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
45
45
  checkBounds(fromInt(size), fromInt(startIndex), fromInt(endIndex));
46
46
  // Inline function 'kotlinx.io.writeToInternalBuffer' call
47
47
  // Inline function 'kotlinx.io.commonWriteUtf8' call
48
- var this_0 = _this__u8e3s4.u27();
48
+ var this_0 = _this__u8e3s4.k27();
49
49
  var i = startIndex;
50
50
  while (i < endIndex) {
51
51
  var p0 = i;
@@ -55,15 +55,15 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
55
55
  if (c < 128) {
56
56
  $l$block_0: {
57
57
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
58
- var tail = this_0.e29(1);
58
+ var tail = this_0.u28(1);
59
59
  var ctx = get_SegmentWriteContextImpl();
60
60
  var segmentOffset = -i | 0;
61
61
  // Inline function 'kotlin.comparisons.minOf' call
62
- var b = i + tail.j29() | 0;
62
+ var b = i + tail.z28() | 0;
63
63
  var runLimit = Math.min(endIndex, b);
64
64
  var _unary__edvuaz = i;
65
65
  i = _unary__edvuaz + 1 | 0;
66
- ctx.c2b(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
66
+ ctx.s2a(tail, segmentOffset + _unary__edvuaz | 0, toByte(c));
67
67
  $l$loop: while (i < runLimit) {
68
68
  var p0_0 = i;
69
69
  // Inline function 'kotlin.code' call
@@ -73,95 +73,95 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
73
73
  break $l$loop;
74
74
  var _unary__edvuaz_0 = i;
75
75
  i = _unary__edvuaz_0 + 1 | 0;
76
- ctx.c2b(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
76
+ ctx.s2a(tail, segmentOffset + _unary__edvuaz_0 | 0, toByte(c));
77
77
  }
78
78
  var bytesWritten = i + segmentOffset | 0;
79
79
  if (bytesWritten === 1) {
80
- tail.b28_1 = tail.b28_1 + bytesWritten | 0;
80
+ tail.r27_1 = tail.r27_1 + bytesWritten | 0;
81
81
  var tmp = this_0;
82
82
  // Inline function 'kotlin.Long.plus' call
83
- var this_3 = this_0.p27_1;
84
- tmp.p27_1 = add(this_3, fromInt(bytesWritten));
83
+ var this_3 = this_0.f27_1;
84
+ tmp.f27_1 = add(this_3, fromInt(bytesWritten));
85
85
  break $l$block_0;
86
86
  }
87
87
  // Inline function 'kotlin.check' call
88
- if (!(0 <= bytesWritten ? bytesWritten <= tail.j29() : false)) {
89
- var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.j29();
88
+ if (!(0 <= bytesWritten ? bytesWritten <= tail.z28() : false)) {
89
+ var message = 'Invalid number of bytes written: ' + bytesWritten + '. Should be in 0..' + tail.z28();
90
90
  throw IllegalStateException().o(toString(message));
91
91
  }
92
92
  if (!(bytesWritten === 0)) {
93
- tail.b28_1 = tail.b28_1 + bytesWritten | 0;
93
+ tail.r27_1 = tail.r27_1 + bytesWritten | 0;
94
94
  var tmp_0 = this_0;
95
95
  // Inline function 'kotlin.Long.plus' call
96
- var this_4 = this_0.p27_1;
97
- tmp_0.p27_1 = add(this_4, fromInt(bytesWritten));
96
+ var this_4 = this_0.f27_1;
97
+ tmp_0.f27_1 = add(this_4, fromInt(bytesWritten));
98
98
  break $l$block_0;
99
99
  }
100
100
  if (isEmpty(tail)) {
101
- this_0.c2a();
101
+ this_0.s29();
102
102
  }
103
103
  }
104
104
  } else if (c < 2048) {
105
105
  $l$block_2: {
106
106
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
107
- var tail_0 = this_0.e29(2);
108
- get_SegmentWriteContextImpl().b2b(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
107
+ var tail_0 = this_0.u28(2);
108
+ get_SegmentWriteContextImpl().r2a(tail_0, 0, toByte(c >> 6 | 192), toByte(c & 63 | 128));
109
109
  var bytesWritten_0 = 2;
110
110
  if (bytesWritten_0 === 2) {
111
- tail_0.b28_1 = tail_0.b28_1 + bytesWritten_0 | 0;
111
+ tail_0.r27_1 = tail_0.r27_1 + bytesWritten_0 | 0;
112
112
  var tmp_1 = this_0;
113
113
  // Inline function 'kotlin.Long.plus' call
114
- var this_5 = this_0.p27_1;
115
- tmp_1.p27_1 = add(this_5, fromInt(bytesWritten_0));
114
+ var this_5 = this_0.f27_1;
115
+ tmp_1.f27_1 = add(this_5, fromInt(bytesWritten_0));
116
116
  break $l$block_2;
117
117
  }
118
118
  // Inline function 'kotlin.check' call
119
- if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.j29() : false)) {
120
- var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.j29();
119
+ if (!(0 <= bytesWritten_0 ? bytesWritten_0 <= tail_0.z28() : false)) {
120
+ var message_0 = 'Invalid number of bytes written: ' + bytesWritten_0 + '. Should be in 0..' + tail_0.z28();
121
121
  throw IllegalStateException().o(toString(message_0));
122
122
  }
123
123
  if (!(bytesWritten_0 === 0)) {
124
- tail_0.b28_1 = tail_0.b28_1 + bytesWritten_0 | 0;
124
+ tail_0.r27_1 = tail_0.r27_1 + bytesWritten_0 | 0;
125
125
  var tmp_2 = this_0;
126
126
  // Inline function 'kotlin.Long.plus' call
127
- var this_6 = this_0.p27_1;
128
- tmp_2.p27_1 = add(this_6, fromInt(bytesWritten_0));
127
+ var this_6 = this_0.f27_1;
128
+ tmp_2.f27_1 = add(this_6, fromInt(bytesWritten_0));
129
129
  break $l$block_2;
130
130
  }
131
131
  if (isEmpty(tail_0)) {
132
- this_0.c2a();
132
+ this_0.s29();
133
133
  }
134
134
  }
135
135
  i = i + 1 | 0;
136
136
  } else if (c < 55296 || c > 57343) {
137
137
  $l$block_4: {
138
138
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
139
- var tail_1 = this_0.e29(3);
140
- get_SegmentWriteContextImpl().a2b(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
139
+ var tail_1 = this_0.u28(3);
140
+ get_SegmentWriteContextImpl().q2a(tail_1, 0, toByte(c >> 12 | 224), toByte(c >> 6 & 63 | 128), toByte(c & 63 | 128));
141
141
  var bytesWritten_1 = 3;
142
142
  if (bytesWritten_1 === 3) {
143
- tail_1.b28_1 = tail_1.b28_1 + bytesWritten_1 | 0;
143
+ tail_1.r27_1 = tail_1.r27_1 + bytesWritten_1 | 0;
144
144
  var tmp_3 = this_0;
145
145
  // Inline function 'kotlin.Long.plus' call
146
- var this_7 = this_0.p27_1;
147
- tmp_3.p27_1 = add(this_7, fromInt(bytesWritten_1));
146
+ var this_7 = this_0.f27_1;
147
+ tmp_3.f27_1 = add(this_7, fromInt(bytesWritten_1));
148
148
  break $l$block_4;
149
149
  }
150
150
  // Inline function 'kotlin.check' call
151
- if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.j29() : false)) {
152
- var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.j29();
151
+ if (!(0 <= bytesWritten_1 ? bytesWritten_1 <= tail_1.z28() : false)) {
152
+ var message_1 = 'Invalid number of bytes written: ' + bytesWritten_1 + '. Should be in 0..' + tail_1.z28();
153
153
  throw IllegalStateException().o(toString(message_1));
154
154
  }
155
155
  if (!(bytesWritten_1 === 0)) {
156
- tail_1.b28_1 = tail_1.b28_1 + bytesWritten_1 | 0;
156
+ tail_1.r27_1 = tail_1.r27_1 + bytesWritten_1 | 0;
157
157
  var tmp_4 = this_0;
158
158
  // Inline function 'kotlin.Long.plus' call
159
- var this_8 = this_0.p27_1;
160
- tmp_4.p27_1 = add(this_8, fromInt(bytesWritten_1));
159
+ var this_8 = this_0.f27_1;
160
+ tmp_4.f27_1 = add(this_8, fromInt(bytesWritten_1));
161
161
  break $l$block_4;
162
162
  }
163
163
  if (isEmpty(tail_1)) {
164
- this_0.c2a();
164
+ this_0.s29();
165
165
  }
166
166
  }
167
167
  i = i + 1 | 0;
@@ -180,64 +180,64 @@ function writeString(_this__u8e3s4, string, startIndex, endIndex) {
180
180
  // Inline function 'kotlin.code' call
181
181
  var this_10 = _Char___init__impl__6a9atx(63);
182
182
  var tmp$ret$26 = Char__toInt_impl_vasixd(this_10);
183
- this_0.r29(toByte(tmp$ret$26));
183
+ this_0.h29(toByte(tmp$ret$26));
184
184
  i = i + 1 | 0;
185
185
  } else {
186
186
  var codePoint = 65536 + ((c & 1023) << 10 | low & 1023) | 0;
187
187
  $l$block_6: {
188
188
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.writeToTail' call
189
- var tail_2 = this_0.e29(4);
190
- get_SegmentWriteContextImpl().z2a(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
189
+ var tail_2 = this_0.u28(4);
190
+ get_SegmentWriteContextImpl().p2a(tail_2, 0, toByte(codePoint >> 18 | 240), toByte(codePoint >> 12 & 63 | 128), toByte(codePoint >> 6 & 63 | 128), toByte(codePoint & 63 | 128));
191
191
  var bytesWritten_2 = 4;
192
192
  if (bytesWritten_2 === 4) {
193
- tail_2.b28_1 = tail_2.b28_1 + bytesWritten_2 | 0;
193
+ tail_2.r27_1 = tail_2.r27_1 + bytesWritten_2 | 0;
194
194
  var tmp_6 = this_0;
195
195
  // Inline function 'kotlin.Long.plus' call
196
- var this_11 = this_0.p27_1;
197
- tmp_6.p27_1 = add(this_11, fromInt(bytesWritten_2));
196
+ var this_11 = this_0.f27_1;
197
+ tmp_6.f27_1 = add(this_11, fromInt(bytesWritten_2));
198
198
  break $l$block_6;
199
199
  }
200
200
  // Inline function 'kotlin.check' call
201
- if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.j29() : false)) {
202
- var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.j29();
201
+ if (!(0 <= bytesWritten_2 ? bytesWritten_2 <= tail_2.z28() : false)) {
202
+ var message_2 = 'Invalid number of bytes written: ' + bytesWritten_2 + '. Should be in 0..' + tail_2.z28();
203
203
  throw IllegalStateException().o(toString(message_2));
204
204
  }
205
205
  if (!(bytesWritten_2 === 0)) {
206
- tail_2.b28_1 = tail_2.b28_1 + bytesWritten_2 | 0;
206
+ tail_2.r27_1 = tail_2.r27_1 + bytesWritten_2 | 0;
207
207
  var tmp_7 = this_0;
208
208
  // Inline function 'kotlin.Long.plus' call
209
- var this_12 = this_0.p27_1;
210
- tmp_7.p27_1 = add(this_12, fromInt(bytesWritten_2));
209
+ var this_12 = this_0.f27_1;
210
+ tmp_7.f27_1 = add(this_12, fromInt(bytesWritten_2));
211
211
  break $l$block_6;
212
212
  }
213
213
  if (isEmpty(tail_2)) {
214
- this_0.c2a();
214
+ this_0.s29();
215
215
  }
216
216
  }
217
217
  i = i + 2 | 0;
218
218
  }
219
219
  }
220
220
  }
221
- _this__u8e3s4.o28();
221
+ _this__u8e3s4.e28();
222
222
  }
223
223
  function commonReadUtf8(_this__u8e3s4, byteCount) {
224
224
  if (byteCount === 0n)
225
225
  return '';
226
226
  // Inline function 'kotlinx.io.unsafe.UnsafeBufferOperations.forEachSegment' call
227
- var curr = _this__u8e3s4.n27_1;
227
+ var curr = _this__u8e3s4.d27_1;
228
228
  while (!(curr == null)) {
229
229
  get_SegmentReadContextImpl();
230
230
  if (fromInt(curr.u2()) >= byteCount) {
231
231
  var result = '';
232
232
  // Inline function 'kotlinx.io.unsafe.withData' call
233
- var tmp0 = curr.u2a(true);
234
- var tmp2 = curr.a28_1;
235
- var tmp0_0 = curr.b28_1;
233
+ var tmp0 = curr.k2a(true);
234
+ var tmp2 = curr.q27_1;
235
+ var tmp0_0 = curr.r27_1;
236
236
  // Inline function 'kotlin.math.min' call
237
237
  var b = tmp2 + convertToInt(byteCount) | 0;
238
238
  var tmp$ret$0 = Math.min(tmp0_0, b);
239
239
  result = commonToUtf8String(tmp0, tmp2, tmp$ret$0);
240
- _this__u8e3s4.w28(byteCount);
240
+ _this__u8e3s4.m28(byteCount);
241
241
  return result;
242
242
  }
243
243
  return commonToUtf8String(readByteArray(_this__u8e3s4, convertToInt(byteCount)));
@@ -13,7 +13,7 @@ function commonToUtf8String(_this__u8e3s4, beginIndex, endIndex) {
13
13
  beginIndex = beginIndex === VOID ? 0 : beginIndex;
14
14
  endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
15
15
  if (beginIndex < 0 || endIndex > _this__u8e3s4.length || beginIndex > endIndex) {
16
- throw IndexOutOfBoundsException().ne('size=' + _this__u8e3s4.length + ' beginIndex=' + beginIndex + ' endIndex=' + endIndex);
16
+ throw IndexOutOfBoundsException().je('size=' + _this__u8e3s4.length + ' beginIndex=' + beginIndex + ' endIndex=' + endIndex);
17
17
  }
18
18
  var chars = charArray(endIndex - beginIndex | 0);
19
19
  var length = 0;
@@ -35,8 +35,8 @@ var SegmentReadContextImpl$1Class;
35
35
  function SegmentReadContextImpl$1() {
36
36
  if (SegmentReadContextImpl$1Class === VOID) {
37
37
  class $ {
38
- a2a(segment, offset) {
39
- return segment.v28(offset);
38
+ q29(segment, offset) {
39
+ return segment.l28(offset);
40
40
  }
41
41
  }
42
42
  initMetadataForClass($);
@@ -48,17 +48,17 @@ var SegmentWriteContextImpl$1Class;
48
48
  function SegmentWriteContextImpl$1() {
49
49
  if (SegmentWriteContextImpl$1Class === VOID) {
50
50
  class $ {
51
- c2b(segment, offset, value) {
52
- segment.v2a(offset, value);
51
+ s2a(segment, offset, value) {
52
+ segment.l2a(offset, value);
53
53
  }
54
- b2b(segment, offset, b0, b1) {
55
- segment.w2a(offset, b0, b1);
54
+ r2a(segment, offset, b0, b1) {
55
+ segment.m2a(offset, b0, b1);
56
56
  }
57
- a2b(segment, offset, b0, b1, b2) {
58
- segment.x2a(offset, b0, b1, b2);
57
+ q2a(segment, offset, b0, b1, b2) {
58
+ segment.n2a(offset, b0, b1, b2);
59
59
  }
60
- z2a(segment, offset, b0, b1, b2, b3) {
61
- segment.y2a(offset, b0, b1, b2, b3);
60
+ p2a(segment, offset, b0, b1, b2, b3) {
61
+ segment.o2a(offset, b0, b1, b2, b3);
62
62
  }
63
63
  }
64
64
  initMetadataForClass($);
@@ -70,8 +70,8 @@ var BufferIterationContextImpl$1Class;
70
70
  function BufferIterationContextImpl$1() {
71
71
  if (BufferIterationContextImpl$1Class === VOID) {
72
72
  class $ {
73
- a2a(segment, offset) {
74
- return get_SegmentReadContextImpl().a2a(segment, offset);
73
+ q29(segment, offset) {
74
+ return get_SegmentReadContextImpl().q29(segment, offset);
75
75
  }
76
76
  }
77
77
  initMetadataForClass($);
@@ -26,20 +26,20 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../kotlin-kotlin-stdlib/kotlin/
26
26
  //region block: pre-declaration
27
27
  //endregion
28
28
  function findPolymorphicSerializer(_this__u8e3s4, decoder, klassName) {
29
- var tmp0_elvis_lhs = _this__u8e3s4.p1l(decoder, klassName);
29
+ var tmp0_elvis_lhs = _this__u8e3s4.f1l(decoder, klassName);
30
30
  var tmp;
31
31
  if (tmp0_elvis_lhs == null) {
32
- throwSubtypeNotRegistered(klassName, _this__u8e3s4.q1l());
32
+ throwSubtypeNotRegistered(klassName, _this__u8e3s4.g1l());
33
33
  } else {
34
34
  tmp = tmp0_elvis_lhs;
35
35
  }
36
36
  return tmp;
37
37
  }
38
38
  function findPolymorphicSerializer_0(_this__u8e3s4, encoder, value) {
39
- var tmp0_elvis_lhs = _this__u8e3s4.r1l(encoder, value);
39
+ var tmp0_elvis_lhs = _this__u8e3s4.h1l(encoder, value);
40
40
  var tmp;
41
41
  if (tmp0_elvis_lhs == null) {
42
- throwSubtypeNotRegistered_0(getKClassFromExpression(value), _this__u8e3s4.q1l());
42
+ throwSubtypeNotRegistered_0(getKClassFromExpression(value), _this__u8e3s4.g1l());
43
43
  } else {
44
44
  tmp = tmp0_elvis_lhs;
45
45
  }
@@ -47,46 +47,46 @@ function findPolymorphicSerializer_0(_this__u8e3s4, encoder, value) {
47
47
  }
48
48
  function PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0) {
49
49
  return ($this$buildSerialDescriptor) => {
50
- $this$buildSerialDescriptor.a1m('type', serializer(StringCompanionObject_instance).m1l());
51
- $this$buildSerialDescriptor.a1m('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.b1m_1.k1() + '>', CONTEXTUAL_getInstance(), []));
52
- $this$buildSerialDescriptor.u1l_1 = this$0.c1m_1;
50
+ $this$buildSerialDescriptor.q1l('type', serializer(StringCompanionObject_instance).c1l());
51
+ $this$buildSerialDescriptor.q1l('value', buildSerialDescriptor('kotlinx.serialization.Polymorphic<' + this$0.r1l_1.k1() + '>', CONTEXTUAL_getInstance(), []));
52
+ $this$buildSerialDescriptor.k1l_1 = this$0.s1l_1;
53
53
  return Unit_instance;
54
54
  };
55
55
  }
56
56
  function PolymorphicSerializer$descriptor$delegate$lambda(this$0) {
57
57
  return () => {
58
58
  var tmp = OPEN_getInstance();
59
- return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.b1m_1);
59
+ return withContext(buildSerialDescriptor('kotlinx.serialization.Polymorphic', tmp, [], PolymorphicSerializer$descriptor$delegate$lambda$lambda(this$0)), this$0.r1l_1);
60
60
  };
61
61
  }
62
62
  function PolymorphicSerializer$_get_descriptor_$ref_8tw9if() {
63
- return (p0) => p0.m1l();
63
+ return (p0) => p0.c1l();
64
64
  }
65
65
  var PolymorphicSerializerClass;
66
66
  function PolymorphicSerializer() {
67
67
  if (PolymorphicSerializerClass === VOID) {
68
68
  class $ extends AbstractPolymorphicSerializer() {
69
- static e1m(baseClass) {
70
- var $this = this.f1m();
71
- $this.b1m_1 = baseClass;
72
- $this.c1m_1 = emptyList();
69
+ static u1l(baseClass) {
70
+ var $this = this.v1l();
71
+ $this.r1l_1 = baseClass;
72
+ $this.s1l_1 = emptyList();
73
73
  var tmp = $this;
74
74
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
75
- tmp.d1m_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda($this));
75
+ tmp.t1l_1 = lazy(tmp_0, PolymorphicSerializer$descriptor$delegate$lambda($this));
76
76
  return $this;
77
77
  }
78
- q1l() {
79
- return this.b1m_1;
78
+ g1l() {
79
+ return this.r1l_1;
80
80
  }
81
- m1l() {
82
- var tmp0 = this.d1m_1;
81
+ c1l() {
82
+ var tmp0 = this.t1l_1;
83
83
  var tmp = KProperty1();
84
84
  // Inline function 'kotlin.getValue' call
85
85
  getPropertyCallableRef('descriptor', 1, tmp, PolymorphicSerializer$_get_descriptor_$ref_8tw9if(), null);
86
86
  return tmp0.g3();
87
87
  }
88
88
  toString() {
89
- return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.b1m_1) + ')';
89
+ return 'kotlinx.serialization.PolymorphicSerializer(baseClass: ' + toString(this.r1l_1) + ')';
90
90
  }
91
91
  }
92
92
  initMetadataForClass($, 'PolymorphicSerializer');
@@ -37,26 +37,26 @@ function SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0)
37
37
  return ($this$buildSerialDescriptor) => {
38
38
  // Inline function 'kotlin.collections.forEach' call
39
39
  // Inline function 'kotlin.collections.iterator' call
40
- var _iterator__ex2g4s = this$0.l1m_1.e3().q1();
40
+ var _iterator__ex2g4s = this$0.b1m_1.e3().q1();
41
41
  while (_iterator__ex2g4s.r1()) {
42
42
  var element = _iterator__ex2g4s.s1();
43
43
  // Inline function 'kotlin.collections.component1' call
44
44
  var name = element.f3();
45
45
  // Inline function 'kotlin.collections.component2' call
46
46
  var serializer = element.g3();
47
- $this$buildSerialDescriptor.a1m(name, serializer.m1l());
47
+ $this$buildSerialDescriptor.q1l(name, serializer.c1l());
48
48
  }
49
49
  return Unit_instance;
50
50
  };
51
51
  }
52
52
  function SealedClassSerializer$descriptor$delegate$lambda$lambda(this$0) {
53
53
  return ($this$buildSerialDescriptor) => {
54
- $this$buildSerialDescriptor.a1m('type', serializer(StringCompanionObject_instance).m1l());
55
- var tmp = 'kotlinx.serialization.Sealed<' + this$0.h1m_1.k1() + '>';
54
+ $this$buildSerialDescriptor.q1l('type', serializer(StringCompanionObject_instance).c1l());
55
+ var tmp = 'kotlinx.serialization.Sealed<' + this$0.x1l_1.k1() + '>';
56
56
  var tmp_0 = CONTEXTUAL_getInstance();
57
57
  var elementDescriptor = buildSerialDescriptor(tmp, tmp_0, [], SealedClassSerializer$descriptor$delegate$lambda$lambda$lambda(this$0));
58
- $this$buildSerialDescriptor.a1m('value', elementDescriptor);
59
- $this$buildSerialDescriptor.u1l_1 = this$0.i1m_1;
58
+ $this$buildSerialDescriptor.q1l('value', elementDescriptor);
59
+ $this$buildSerialDescriptor.k1l_1 = this$0.y1l_1;
60
60
  return Unit_instance;
61
61
  };
62
62
  }
@@ -67,23 +67,23 @@ function SealedClassSerializer$descriptor$delegate$lambda($serialName, this$0) {
67
67
  };
68
68
  }
69
69
  function SealedClassSerializer$_get_descriptor_$ref_m511rz() {
70
- return (p0) => p0.m1l();
70
+ return (p0) => p0.c1l();
71
71
  }
72
72
  var SealedClassSerializer$$inlined$groupingBy$1Class;
73
73
  function SealedClassSerializer$$inlined$groupingBy$1() {
74
74
  if (SealedClassSerializer$$inlined$groupingBy$1Class === VOID) {
75
75
  class $ {
76
76
  constructor($this) {
77
- this.m1m_1 = $this;
77
+ this.c1m_1 = $this;
78
78
  }
79
- n1m() {
80
- return this.m1m_1.q1();
79
+ d1m() {
80
+ return this.c1m_1.q1();
81
81
  }
82
- o1m(element) {
83
- return element.g3().m1l().p1m();
82
+ e1m(element) {
83
+ return element.g3().c1l().f1m();
84
84
  }
85
- q1m(element) {
86
- return this.o1m((element == null ? true : !(element == null)) ? element : THROW_CCE());
85
+ g1m(element) {
86
+ return this.e1m((element == null ? true : !(element == null)) ? element : THROW_CCE());
87
87
  }
88
88
  }
89
89
  initMetadataForClass($);
@@ -95,78 +95,78 @@ var SealedClassSerializerClass;
95
95
  function SealedClassSerializer() {
96
96
  if (SealedClassSerializerClass === VOID) {
97
97
  class $ extends AbstractPolymorphicSerializer() {
98
- static r1m(serialName, baseClass, subclasses, subclassSerializers) {
99
- var $this = this.f1m();
100
- $this.h1m_1 = baseClass;
101
- $this.i1m_1 = emptyList();
98
+ static h1m(serialName, baseClass, subclasses, subclassSerializers) {
99
+ var $this = this.v1l();
100
+ $this.x1l_1 = baseClass;
101
+ $this.y1l_1 = emptyList();
102
102
  var tmp = $this;
103
103
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
104
- tmp.j1m_1 = lazy(tmp_0, SealedClassSerializer$descriptor$delegate$lambda(serialName, $this));
104
+ tmp.z1l_1 = lazy(tmp_0, SealedClassSerializer$descriptor$delegate$lambda(serialName, $this));
105
105
  if (!(subclasses.length === subclassSerializers.length)) {
106
- throw IllegalArgumentException().t2('All subclasses of sealed class ' + $this.h1m_1.k1() + ' should be marked @Serializable');
106
+ throw IllegalArgumentException().t2('All subclasses of sealed class ' + $this.x1l_1.k1() + ' should be marked @Serializable');
107
107
  }
108
- $this.k1m_1 = toMap(zip(subclasses, subclassSerializers));
108
+ $this.a1m_1 = toMap(zip(subclasses, subclassSerializers));
109
109
  var tmp_1 = $this;
110
110
  // Inline function 'kotlin.collections.groupingBy' call
111
- var this_0 = $this.k1m_1.e3();
111
+ var this_0 = $this.a1m_1.e3();
112
112
  // Inline function 'kotlin.collections.aggregate' call
113
113
  var tmp0 = new (SealedClassSerializer$$inlined$groupingBy$1())(this_0);
114
114
  // Inline function 'kotlin.collections.mutableMapOf' call
115
115
  // Inline function 'kotlin.collections.aggregateTo' call
116
- var destination = LinkedHashMap().z5();
116
+ var destination = LinkedHashMap().t5();
117
117
  // Inline function 'kotlin.collections.iterator' call
118
- var _iterator__ex2g4s = tmp0.n1m();
118
+ var _iterator__ex2g4s = tmp0.d1m();
119
119
  while (_iterator__ex2g4s.r1()) {
120
120
  var e = _iterator__ex2g4s.s1();
121
- var key = tmp0.q1m(e);
122
- var accumulator = destination.x4(key);
123
- accumulator == null && !destination.v4(key);
121
+ var key = tmp0.g1m(e);
122
+ var accumulator = destination.t4(key);
123
+ accumulator == null && !destination.r4(key);
124
124
  if (!(accumulator == null)) {
125
125
  // Inline function 'kotlin.error' call
126
- var message = "Multiple sealed subclasses of '" + toString($this.h1m_1) + "' have the same serial name '" + key + "':" + (" '" + toString(accumulator.f3()) + "', '" + toString(e.f3()) + "'");
126
+ var message = "Multiple sealed subclasses of '" + toString($this.x1l_1) + "' have the same serial name '" + key + "':" + (" '" + toString(accumulator.f3()) + "', '" + toString(e.f3()) + "'");
127
127
  throw IllegalStateException().o(toString(message));
128
128
  }
129
129
  // Inline function 'kotlin.collections.set' call
130
- destination.p4(key, e);
130
+ destination.l4(key, e);
131
131
  }
132
132
  // Inline function 'kotlin.collections.mapValues' call
133
133
  // Inline function 'kotlin.collections.mapValuesTo' call
134
- var destination_0 = LinkedHashMap().rc(mapCapacity(destination.u2()));
134
+ var destination_0 = LinkedHashMap().nc(mapCapacity(destination.u2()));
135
135
  // Inline function 'kotlin.collections.associateByTo' call
136
136
  var _iterator__ex2g4s_0 = destination.e3().q1();
137
137
  while (_iterator__ex2g4s_0.r1()) {
138
138
  var element = _iterator__ex2g4s_0.s1();
139
139
  var tmp_2 = element.f3();
140
140
  var tmp$ret$8 = element.g3().g3();
141
- destination_0.p4(tmp_2, tmp$ret$8);
141
+ destination_0.l4(tmp_2, tmp$ret$8);
142
142
  }
143
- tmp_1.l1m_1 = destination_0;
143
+ tmp_1.b1m_1 = destination_0;
144
144
  return $this;
145
145
  }
146
- q1l() {
147
- return this.h1m_1;
146
+ g1l() {
147
+ return this.x1l_1;
148
148
  }
149
- static s1m(serialName, baseClass, subclasses, subclassSerializers, classAnnotations) {
150
- var $this = this.r1m(serialName, baseClass, subclasses, subclassSerializers);
151
- $this.i1m_1 = asList(classAnnotations);
149
+ static i1m(serialName, baseClass, subclasses, subclassSerializers, classAnnotations) {
150
+ var $this = this.h1m(serialName, baseClass, subclasses, subclassSerializers);
151
+ $this.y1l_1 = asList(classAnnotations);
152
152
  return $this;
153
153
  }
154
- m1l() {
155
- var tmp0 = this.j1m_1;
154
+ c1l() {
155
+ var tmp0 = this.z1l_1;
156
156
  var tmp = KProperty1();
157
157
  // Inline function 'kotlin.getValue' call
158
158
  getPropertyCallableRef('descriptor', 1, tmp, SealedClassSerializer$_get_descriptor_$ref_m511rz(), null);
159
159
  return tmp0.g3();
160
160
  }
161
- p1l(decoder, klassName) {
161
+ f1l(decoder, klassName) {
162
162
  // Inline function 'kotlin.collections.get' call
163
- var this_0 = this.l1m_1;
164
- var tmp0_elvis_lhs = (isInterface(this_0, KtMap()) ? this_0 : THROW_CCE()).x4(klassName);
165
- return tmp0_elvis_lhs == null ? super.p1l(decoder, klassName) : tmp0_elvis_lhs;
163
+ var this_0 = this.b1m_1;
164
+ var tmp0_elvis_lhs = (isInterface(this_0, KtMap()) ? this_0 : THROW_CCE()).t4(klassName);
165
+ return tmp0_elvis_lhs == null ? super.f1l(decoder, klassName) : tmp0_elvis_lhs;
166
166
  }
167
- r1l(encoder, value) {
168
- var tmp0_elvis_lhs = this.k1m_1.x4(getKClassFromExpression(value));
169
- var tmp1_safe_receiver = tmp0_elvis_lhs == null ? super.r1l(encoder, value) : tmp0_elvis_lhs;
167
+ h1l(encoder, value) {
168
+ var tmp0_elvis_lhs = this.a1m_1.t4(getKClassFromExpression(value));
169
+ var tmp1_safe_receiver = tmp0_elvis_lhs == null ? super.h1l(encoder, value) : tmp0_elvis_lhs;
170
170
  var tmp;
171
171
  if (tmp1_safe_receiver == null) {
172
172
  tmp = null;