@attocash/commons-js 5.0.0 → 5.1.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 (311) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
  3. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
  4. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
  5. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
  6. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
  7. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
  8. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
  9. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
  10. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
  11. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
  12. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
  13. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  14. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
  15. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
  16. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  17. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
  18. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
  19. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
  20. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
  21. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
  22. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
  23. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
  24. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
  25. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
  26. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
  27. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
  28. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
  29. package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
  30. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
  31. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
  32. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
  33. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  34. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
  35. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
  36. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
  37. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
  38. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  39. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
  40. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
  41. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
  42. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
  43. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
  44. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  45. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  46. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  47. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  48. package/commons-commons-node.mjs +1 -0
  49. package/commons-commons-node.mjs.map +1 -1
  50. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  51. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  52. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  53. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  54. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  55. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  56. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  57. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  58. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  59. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  69. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  70. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  71. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  72. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  73. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  74. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  75. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  76. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  77. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  78. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  79. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  80. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  81. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  84. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  85. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  86. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  87. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  88. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  89. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  90. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  91. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  92. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  93. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  94. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  95. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  96. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  97. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  98. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  99. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  100. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  101. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  102. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  103. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  104. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  105. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  106. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  107. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  108. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  109. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  110. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  111. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  112. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  113. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  114. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  115. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  116. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  117. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  118. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  119. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  120. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  121. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  122. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  123. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  124. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  125. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  126. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  127. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  128. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  129. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  130. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  131. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  132. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  133. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  134. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  135. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  136. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  137. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  138. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  139. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  140. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  141. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  142. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  143. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  144. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  145. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  146. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  147. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  148. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  149. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  150. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  151. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  152. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  153. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  154. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  155. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  156. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  157. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  158. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  159. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  160. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  161. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  162. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  163. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  164. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  165. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  166. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  167. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  168. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  169. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  170. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  171. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  172. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  173. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  174. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  175. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  176. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  177. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  178. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  179. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  180. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  181. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  182. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  183. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  184. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  185. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  186. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  187. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  188. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  189. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  190. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  191. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  192. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  193. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  194. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  195. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  196. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  197. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  198. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  199. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  200. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  201. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  202. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  203. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  204. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  205. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  206. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  207. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  208. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  209. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  210. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  211. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  212. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  213. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  214. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  215. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  216. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  217. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  218. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  219. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  220. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  221. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  222. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  223. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  224. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  225. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  226. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  227. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  228. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  229. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  230. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  231. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  232. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  233. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  234. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  235. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  236. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  237. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  238. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  239. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  240. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  241. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  242. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  243. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  244. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  245. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  246. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  247. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  248. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  249. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  250. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  251. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  252. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  253. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  254. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  255. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  256. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  257. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  258. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  259. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  260. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  261. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  262. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
  263. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  264. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  265. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  266. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
  267. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  268. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  269. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  270. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  271. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  272. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  273. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  274. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  275. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  276. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  277. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  278. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  279. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  280. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  281. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  282. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  283. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  284. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  285. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  286. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  287. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  288. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  289. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  290. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  291. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  292. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  293. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  294. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  295. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  296. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  297. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  298. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  299. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  300. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  301. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  302. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  303. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  304. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  305. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  306. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  307. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  308. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  309. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  310. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  311. package/package.json +1 -1
@@ -86,7 +86,7 @@ function DiscriminatorHolder() {
86
86
  if (DiscriminatorHolderClass === VOID) {
87
87
  class $ {
88
88
  constructor(discriminatorToSkip) {
89
- this.a6o_1 = discriminatorToSkip;
89
+ this.o6o_1 = discriminatorToSkip;
90
90
  }
91
91
  }
92
92
  initMetadataForClass($, 'DiscriminatorHolder');
@@ -97,8 +97,8 @@ function DiscriminatorHolder() {
97
97
  function trySkip($this, _this__u8e3s4, unknownKey) {
98
98
  if (_this__u8e3s4 == null)
99
99
  return false;
100
- if (_this__u8e3s4.a6o_1 === unknownKey) {
101
- _this__u8e3s4.a6o_1 = null;
100
+ if (_this__u8e3s4.o6o_1 === unknownKey) {
101
+ _this__u8e3s4.o6o_1 = null;
102
102
  return true;
103
103
  }
104
104
  return false;
@@ -108,55 +108,55 @@ function skipLeftoverElements($this, descriptor) {
108
108
  }
109
109
  }
110
110
  function checkLeadingComma($this) {
111
- if ($this.f6g_1.n6m() === 4) {
112
- $this.f6g_1.u6k('Unexpected leading comma');
111
+ if ($this.t6g_1.b6n() === 4) {
112
+ $this.t6g_1.i6l('Unexpected leading comma');
113
113
  }
114
114
  }
115
115
  function decodeMapIndex($this) {
116
116
  var hasComma = false;
117
- var decodingKey = !(($this.h6g_1 % 2 | 0) === 0);
117
+ var decodingKey = !(($this.v6g_1 % 2 | 0) === 0);
118
118
  if (decodingKey) {
119
- if (!($this.h6g_1 === -1)) {
120
- hasComma = $this.f6g_1.c6o();
119
+ if (!($this.v6g_1 === -1)) {
120
+ hasComma = $this.t6g_1.q6o();
121
121
  }
122
122
  } else {
123
- $this.f6g_1.b6o(_Char___init__impl__6a9atx(58));
123
+ $this.t6g_1.p6o(_Char___init__impl__6a9atx(58));
124
124
  }
125
125
  var tmp;
126
- if ($this.f6g_1.o6m()) {
126
+ if ($this.t6g_1.c6n()) {
127
127
  if (decodingKey) {
128
- if ($this.h6g_1 === -1) {
129
- var tmp0 = $this.f6g_1;
128
+ if ($this.v6g_1 === -1) {
129
+ var tmp0 = $this.t6g_1;
130
130
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
131
131
  var condition = !hasComma;
132
- var position = tmp0.l6g_1;
132
+ var position = tmp0.z6g_1;
133
133
  if (!condition) {
134
134
  var tmp$ret$0 = 'Unexpected leading comma';
135
- tmp0.u6k(tmp$ret$0, position);
135
+ tmp0.i6l(tmp$ret$0, position);
136
136
  }
137
137
  } else {
138
- var tmp0_0 = $this.f6g_1;
138
+ var tmp0_0 = $this.t6g_1;
139
139
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
140
140
  var condition_0 = hasComma;
141
- var position_0 = tmp0_0.l6g_1;
141
+ var position_0 = tmp0_0.z6g_1;
142
142
  if (!condition_0) {
143
143
  var tmp$ret$2 = 'Expected comma after the key-value pair';
144
- tmp0_0.u6k(tmp$ret$2, position_0);
144
+ tmp0_0.i6l(tmp$ret$2, position_0);
145
145
  }
146
146
  }
147
147
  }
148
- $this.h6g_1 = $this.h6g_1 + 1 | 0;
149
- tmp = $this.h6g_1;
148
+ $this.v6g_1 = $this.v6g_1 + 1 | 0;
149
+ tmp = $this.v6g_1;
150
150
  } else {
151
- if (hasComma && !$this.d6g_1.z6f_1.x6h_1) {
152
- invalidTrailingComma($this.f6g_1);
151
+ if (hasComma && !$this.r6g_1.n6g_1.l6i_1) {
152
+ invalidTrailingComma($this.t6g_1);
153
153
  }
154
154
  tmp = -1;
155
155
  }
156
156
  return tmp;
157
157
  }
158
158
  function coerceInputValue($this, descriptor, index) {
159
- var tmp0 = $this.d6g_1;
159
+ var tmp0 = $this.r6g_1;
160
160
  var tmp$ret$1;
161
161
  $l$block_2: {
162
162
  // Inline function 'kotlinx.serialization.json.internal.tryCoerceValue' call
@@ -164,7 +164,7 @@ function coerceInputValue($this, descriptor, index) {
164
164
  var elementDescriptor = descriptor.vv(index);
165
165
  var tmp;
166
166
  if (isOptional && !elementDescriptor.kv()) {
167
- tmp = $this.f6g_1.d6o(true);
167
+ tmp = $this.t6g_1.r6o(true);
168
168
  } else {
169
169
  tmp = false;
170
170
  }
@@ -175,7 +175,7 @@ function coerceInputValue($this, descriptor, index) {
175
175
  if (equals(elementDescriptor.ov(), ENUM_getInstance())) {
176
176
  var tmp_0;
177
177
  if (elementDescriptor.kv()) {
178
- tmp_0 = $this.f6g_1.d6o(false);
178
+ tmp_0 = $this.t6g_1.r6o(false);
179
179
  } else {
180
180
  tmp_0 = false;
181
181
  }
@@ -183,7 +183,7 @@ function coerceInputValue($this, descriptor, index) {
183
183
  tmp$ret$1 = false;
184
184
  break $l$block_2;
185
185
  }
186
- var tmp0_elvis_lhs = $this.f6g_1.e6o($this.j6g_1.l6h_1);
186
+ var tmp0_elvis_lhs = $this.t6g_1.s6o($this.x6g_1.z6h_1);
187
187
  var tmp_1;
188
188
  if (tmp0_elvis_lhs == null) {
189
189
  tmp$ret$1 = false;
@@ -193,9 +193,9 @@ function coerceInputValue($this, descriptor, index) {
193
193
  }
194
194
  var enumValue = tmp_1;
195
195
  var enumIndex = getJsonNameIndex(elementDescriptor, tmp0, enumValue);
196
- var coerceToNull = !tmp0.z6f_1.o6h_1 && elementDescriptor.kv();
196
+ var coerceToNull = !tmp0.n6g_1.c6i_1 && elementDescriptor.kv();
197
197
  if (enumIndex === -3 && (isOptional || coerceToNull)) {
198
- $this.f6g_1.p6m();
198
+ $this.t6g_1.d6n();
199
199
  tmp$ret$1 = true;
200
200
  break $l$block_2;
201
201
  }
@@ -205,24 +205,24 @@ function coerceInputValue($this, descriptor, index) {
205
205
  return tmp$ret$1;
206
206
  }
207
207
  function decodeObjectIndex($this, descriptor) {
208
- var hasComma = $this.f6g_1.c6o();
209
- while ($this.f6g_1.o6m()) {
208
+ var hasComma = $this.t6g_1.q6o();
209
+ while ($this.t6g_1.c6n()) {
210
210
  hasComma = false;
211
211
  var key = decodeStringKey($this);
212
- $this.f6g_1.b6o(_Char___init__impl__6a9atx(58));
213
- var index = getJsonNameIndex(descriptor, $this.d6g_1, key);
212
+ $this.t6g_1.p6o(_Char___init__impl__6a9atx(58));
213
+ var index = getJsonNameIndex(descriptor, $this.r6g_1, key);
214
214
  var tmp;
215
215
  if (!(index === -3)) {
216
216
  var tmp_0;
217
- if ($this.j6g_1.q6h_1 && coerceInputValue($this, descriptor, index)) {
218
- hasComma = $this.f6g_1.c6o();
217
+ if ($this.x6g_1.e6i_1 && coerceInputValue($this, descriptor, index)) {
218
+ hasComma = $this.t6g_1.q6o();
219
219
  tmp_0 = false;
220
220
  } else {
221
- var tmp0_safe_receiver = $this.k6g_1;
221
+ var tmp0_safe_receiver = $this.y6g_1;
222
222
  if (tmp0_safe_receiver == null)
223
223
  null;
224
224
  else {
225
- tmp0_safe_receiver.r6k(index);
225
+ tmp0_safe_receiver.f6l(index);
226
226
  }
227
227
  return index;
228
228
  }
@@ -235,34 +235,34 @@ function decodeObjectIndex($this, descriptor) {
235
235
  hasComma = handleUnknown($this, descriptor, key);
236
236
  }
237
237
  }
238
- if (hasComma && !$this.d6g_1.z6f_1.x6h_1) {
239
- invalidTrailingComma($this.f6g_1);
238
+ if (hasComma && !$this.r6g_1.n6g_1.l6i_1) {
239
+ invalidTrailingComma($this.t6g_1);
240
240
  }
241
- var tmp1_safe_receiver = $this.k6g_1;
242
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.s6k();
241
+ var tmp1_safe_receiver = $this.y6g_1;
242
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g6l();
243
243
  return tmp2_elvis_lhs == null ? -1 : tmp2_elvis_lhs;
244
244
  }
245
245
  function handleUnknown($this, descriptor, key) {
246
- if (ignoreUnknownKeys(descriptor, $this.d6g_1) || trySkip($this, $this.i6g_1, key)) {
247
- $this.f6g_1.g6o($this.j6g_1.l6h_1);
246
+ if (ignoreUnknownKeys(descriptor, $this.r6g_1) || trySkip($this, $this.w6g_1, key)) {
247
+ $this.t6g_1.u6o($this.x6g_1.z6h_1);
248
248
  } else {
249
- $this.f6g_1.m6g_1.t6l();
250
- $this.f6g_1.f6o(key);
249
+ $this.t6g_1.a6h_1.h6m();
250
+ $this.t6g_1.t6o(key);
251
251
  }
252
- return $this.f6g_1.c6o();
252
+ return $this.t6g_1.q6o();
253
253
  }
254
254
  function decodeListIndex($this) {
255
- var hasComma = $this.f6g_1.c6o();
255
+ var hasComma = $this.t6g_1.q6o();
256
256
  var tmp;
257
- if ($this.f6g_1.o6m()) {
258
- if (!($this.h6g_1 === -1) && !hasComma) {
259
- $this.f6g_1.u6k('Expected end of the array or comma');
257
+ if ($this.t6g_1.c6n()) {
258
+ if (!($this.v6g_1 === -1) && !hasComma) {
259
+ $this.t6g_1.i6l('Expected end of the array or comma');
260
260
  }
261
- $this.h6g_1 = $this.h6g_1 + 1 | 0;
262
- tmp = $this.h6g_1;
261
+ $this.v6g_1 = $this.v6g_1 + 1 | 0;
262
+ tmp = $this.v6g_1;
263
263
  } else {
264
- if (hasComma && !$this.d6g_1.z6f_1.x6h_1) {
265
- invalidTrailingComma($this.f6g_1, 'array');
264
+ if (hasComma && !$this.r6g_1.n6g_1.l6i_1) {
265
+ invalidTrailingComma($this.t6g_1, 'array');
266
266
  }
267
267
  tmp = -1;
268
268
  }
@@ -270,10 +270,10 @@ function decodeListIndex($this) {
270
270
  }
271
271
  function decodeStringKey($this) {
272
272
  var tmp;
273
- if ($this.j6g_1.l6h_1) {
274
- tmp = $this.f6g_1.i6o();
273
+ if ($this.x6g_1.z6h_1) {
274
+ tmp = $this.t6g_1.w6o();
275
275
  } else {
276
- tmp = $this.f6g_1.h6o();
276
+ tmp = $this.t6g_1.v6o();
277
277
  }
278
278
  return tmp;
279
279
  }
@@ -283,23 +283,23 @@ function StreamingJsonDecoder() {
283
283
  class $ extends AbstractDecoder() {
284
284
  constructor(json, mode, lexer, descriptor, discriminatorHolder) {
285
285
  super();
286
- this.d6g_1 = json;
287
- this.e6g_1 = mode;
288
- this.f6g_1 = lexer;
289
- this.g6g_1 = this.d6g_1.yx();
290
- this.h6g_1 = -1;
291
- this.i6g_1 = discriminatorHolder;
292
- this.j6g_1 = this.d6g_1.z6f_1;
293
- this.k6g_1 = this.j6g_1.o6h_1 ? null : new (JsonElementMarker())(descriptor);
294
- }
295
- a6i() {
296
- return this.d6g_1;
286
+ this.r6g_1 = json;
287
+ this.s6g_1 = mode;
288
+ this.t6g_1 = lexer;
289
+ this.u6g_1 = this.r6g_1.yx();
290
+ this.v6g_1 = -1;
291
+ this.w6g_1 = discriminatorHolder;
292
+ this.x6g_1 = this.r6g_1.n6g_1;
293
+ this.y6g_1 = this.x6g_1.c6i_1 ? null : new (JsonElementMarker())(descriptor);
294
+ }
295
+ o6i() {
296
+ return this.r6g_1;
297
297
  }
298
298
  yx() {
299
- return this.g6g_1;
299
+ return this.u6g_1;
300
300
  }
301
- b6i() {
302
- return (new (JsonTreeReader())(this.d6g_1.z6f_1, this.f6g_1)).r6m();
301
+ p6i() {
302
+ return (new (JsonTreeReader())(this.r6g_1.n6g_1, this.t6g_1)).f6n();
303
303
  }
304
304
  jx(deserializer) {
305
305
  try {
@@ -307,13 +307,13 @@ function StreamingJsonDecoder() {
307
307
  if (!(deserializer instanceof AbstractPolymorphicSerializer())) {
308
308
  tmp = true;
309
309
  } else {
310
- tmp = this.d6g_1.z6f_1.r6h_1;
310
+ tmp = this.r6g_1.n6g_1.f6i_1;
311
311
  }
312
312
  if (tmp) {
313
313
  return deserializer.zs(this);
314
314
  }
315
- var discriminator = classDiscriminator(deserializer.xs(), this.d6g_1);
316
- var tmp0_elvis_lhs = this.f6g_1.j6o(discriminator, this.j6g_1.l6h_1);
315
+ var discriminator = classDiscriminator(deserializer.xs(), this.r6g_1);
316
+ var tmp0_elvis_lhs = this.t6g_1.x6o(discriminator, this.x6g_1.z6h_1);
317
317
  var tmp_0;
318
318
  if (tmp0_elvis_lhs == null) {
319
319
  var tmp2 = isInterface(deserializer, DeserializationStrategy()) ? deserializer : THROW_CCE();
@@ -324,24 +324,24 @@ function StreamingJsonDecoder() {
324
324
  if (!(tmp2 instanceof AbstractPolymorphicSerializer())) {
325
325
  tmp_1 = true;
326
326
  } else {
327
- tmp_1 = this.a6i().z6f_1.r6h_1;
327
+ tmp_1 = this.o6i().n6g_1.f6i_1;
328
328
  }
329
329
  if (tmp_1) {
330
330
  tmp$ret$0 = tmp2.zs(this);
331
331
  break $l$block;
332
332
  }
333
- var discriminator_0 = classDiscriminator(tmp2.xs(), this.a6i());
334
- var tmp0 = this.b6i();
333
+ var discriminator_0 = classDiscriminator(tmp2.xs(), this.o6i());
334
+ var tmp0 = this.p6i();
335
335
  // Inline function 'kotlinx.serialization.json.internal.cast' call
336
336
  var serialName = tmp2.xs().au();
337
337
  if (!(tmp0 instanceof JsonObject())) {
338
338
  var tmp_2 = getKClass(JsonObject()).ag();
339
339
  var tmp_3 = getKClassFromExpression(tmp0).ag();
340
- var tmp$ret$1 = this.f6g_1.m6g_1.u6l();
340
+ var tmp$ret$1 = this.t6g_1.a6h_1.i6m();
341
341
  throw JsonDecodingException(-1, 'Expected ' + tmp_2 + ', but had ' + tmp_3 + ' as the serialized body of ' + serialName + ' at element: ' + tmp$ret$1, toString(tmp0));
342
342
  }
343
343
  var jsonTree = tmp0;
344
- var tmp0_safe_receiver = jsonTree.o3r(discriminator_0);
344
+ var tmp0_safe_receiver = jsonTree.c3s(discriminator_0);
345
345
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
346
346
  var type = tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver);
347
347
  var tmp_4;
@@ -358,7 +358,7 @@ function StreamingJsonDecoder() {
358
358
  }
359
359
  var tmp_6 = tmp_4;
360
360
  var actualSerializer = isInterface(tmp_6, DeserializationStrategy()) ? tmp_6 : THROW_CCE();
361
- tmp$ret$0 = readPolymorphicJson(this.a6i(), discriminator_0, jsonTree, actualSerializer);
361
+ tmp$ret$0 = readPolymorphicJson(this.o6i(), discriminator_0, jsonTree, actualSerializer);
362
362
  }
363
363
  return tmp$ret$0;
364
364
  } else {
@@ -374,7 +374,7 @@ function StreamingJsonDecoder() {
374
374
  var it_0 = $p;
375
375
  var message = removeSuffix(substringBefore(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10)), '.');
376
376
  var hint = substringAfter(ensureNotNull(it_0.message), _Char___init__impl__6a9atx(10), '');
377
- this.f6g_1.u6k(message, VOID, hint);
377
+ this.t6g_1.i6l(message, VOID, hint);
378
378
  } else {
379
379
  throw $p;
380
380
  }
@@ -382,37 +382,37 @@ function StreamingJsonDecoder() {
382
382
  }
383
383
  var tmp_9 = tmp_7;
384
384
  var actualSerializer_0 = isInterface(tmp_9, DeserializationStrategy()) ? tmp_9 : THROW_CCE();
385
- this.i6g_1 = new (DiscriminatorHolder())(discriminator);
385
+ this.w6g_1 = new (DiscriminatorHolder())(discriminator);
386
386
  return actualSerializer_0.zs(this);
387
387
  } catch ($p) {
388
388
  if ($p instanceof MissingFieldException()) {
389
389
  var e = $p;
390
390
  if (contains(ensureNotNull(e.message), 'at path'))
391
391
  throw e;
392
- throw MissingFieldException().vu(e.tu_1, plus(e.message, ' at path: ') + this.f6g_1.m6g_1.u6l(), e);
392
+ throw MissingFieldException().vu(e.tu_1, plus(e.message, ' at path: ') + this.t6g_1.a6h_1.i6m(), e);
393
393
  } else {
394
394
  throw $p;
395
395
  }
396
396
  }
397
397
  }
398
398
  kx(descriptor) {
399
- var newMode = switchMode(this.d6g_1, descriptor);
400
- this.f6g_1.m6g_1.p6l(descriptor);
401
- this.f6g_1.b6o(newMode.m6o_1);
399
+ var newMode = switchMode(this.r6g_1, descriptor);
400
+ this.t6g_1.a6h_1.d6m(descriptor);
401
+ this.t6g_1.p6o(newMode.a6p_1);
402
402
  checkLeadingComma(this);
403
403
  var tmp;
404
404
  switch (newMode.h3_1) {
405
405
  case 1:
406
406
  case 2:
407
407
  case 3:
408
- tmp = new (StreamingJsonDecoder())(this.d6g_1, newMode, this.f6g_1, descriptor, this.i6g_1);
408
+ tmp = new (StreamingJsonDecoder())(this.r6g_1, newMode, this.t6g_1, descriptor, this.w6g_1);
409
409
  break;
410
410
  default:
411
411
  var tmp_0;
412
- if (this.e6g_1.equals(newMode) && this.d6g_1.z6f_1.o6h_1) {
412
+ if (this.s6g_1.equals(newMode) && this.r6g_1.n6g_1.c6i_1) {
413
413
  tmp_0 = this;
414
414
  } else {
415
- tmp_0 = new (StreamingJsonDecoder())(this.d6g_1, newMode, this.f6g_1, descriptor, this.i6g_1);
415
+ tmp_0 = new (StreamingJsonDecoder())(this.r6g_1, newMode, this.t6g_1, descriptor, this.w6g_1);
416
416
  }
417
417
 
418
418
  tmp = tmp_0;
@@ -421,21 +421,21 @@ function StreamingJsonDecoder() {
421
421
  return tmp;
422
422
  }
423
423
  lx(descriptor) {
424
- if (descriptor.qv() === 0 && ignoreUnknownKeys(descriptor, this.d6g_1)) {
424
+ if (descriptor.qv() === 0 && ignoreUnknownKeys(descriptor, this.r6g_1)) {
425
425
  skipLeftoverElements(this, descriptor);
426
426
  }
427
- if (this.f6g_1.c6o() && !this.d6g_1.z6f_1.x6h_1) {
428
- invalidTrailingComma(this.f6g_1, '');
427
+ if (this.t6g_1.q6o() && !this.r6g_1.n6g_1.l6i_1) {
428
+ invalidTrailingComma(this.t6g_1, '');
429
429
  }
430
- this.f6g_1.b6o(this.e6g_1.n6o_1);
431
- this.f6g_1.m6g_1.t6l();
430
+ this.t6g_1.p6o(this.s6g_1.b6p_1);
431
+ this.t6g_1.a6h_1.h6m();
432
432
  }
433
433
  vw() {
434
434
  var tmp;
435
- var tmp0_safe_receiver = this.k6g_1;
436
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q6k_1;
435
+ var tmp0_safe_receiver = this.y6g_1;
436
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e6l_1;
437
437
  if (!(tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs)) {
438
- tmp = !this.f6g_1.o6o();
438
+ tmp = !this.t6g_1.c6p();
439
439
  } else {
440
440
  tmp = false;
441
441
  }
@@ -445,19 +445,19 @@ function StreamingJsonDecoder() {
445
445
  return null;
446
446
  }
447
447
  wx(descriptor, index, deserializer, previousValue) {
448
- var isMapKey = this.e6g_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
448
+ var isMapKey = this.s6g_1.equals(WriteMode_MAP_getInstance()) && (index & 1) === 0;
449
449
  if (isMapKey) {
450
- this.f6g_1.m6g_1.s6l();
450
+ this.t6g_1.a6h_1.g6m();
451
451
  }
452
452
  var value = super.wx(descriptor, index, deserializer, previousValue);
453
453
  if (isMapKey) {
454
- this.f6g_1.m6g_1.r6l(value);
454
+ this.t6g_1.a6h_1.f6m(value);
455
455
  }
456
456
  return value;
457
457
  }
458
458
  ay(descriptor) {
459
459
  var index;
460
- switch (this.e6g_1.h3_1) {
460
+ switch (this.s6g_1.h3_1) {
461
461
  case 0:
462
462
  index = decodeObjectIndex(this, descriptor);
463
463
  break;
@@ -468,44 +468,44 @@ function StreamingJsonDecoder() {
468
468
  index = decodeListIndex(this);
469
469
  break;
470
470
  }
471
- if (!this.e6g_1.equals(WriteMode_MAP_getInstance())) {
472
- this.f6g_1.m6g_1.q6l(index);
471
+ if (!this.s6g_1.equals(WriteMode_MAP_getInstance())) {
472
+ this.t6g_1.a6h_1.e6m(index);
473
473
  }
474
474
  return index;
475
475
  }
476
476
  xw() {
477
- return this.f6g_1.p6o();
477
+ return this.t6g_1.d6p();
478
478
  }
479
479
  yw() {
480
- var value = this.f6g_1.q6o();
480
+ var value = this.t6g_1.e6p();
481
481
  if (!value.equals(toLong(value.f4()))) {
482
- this.f6g_1.u6k("Failed to parse byte for input '" + value.toString() + "'");
482
+ this.t6g_1.i6l("Failed to parse byte for input '" + value.toString() + "'");
483
483
  }
484
484
  return value.f4();
485
485
  }
486
486
  zw() {
487
- var value = this.f6g_1.q6o();
487
+ var value = this.t6g_1.e6p();
488
488
  if (!value.equals(toLong(value.g4()))) {
489
- this.f6g_1.u6k("Failed to parse short for input '" + value.toString() + "'");
489
+ this.t6g_1.i6l("Failed to parse short for input '" + value.toString() + "'");
490
490
  }
491
491
  return value.g4();
492
492
  }
493
493
  ax() {
494
- var value = this.f6g_1.q6o();
494
+ var value = this.t6g_1.e6p();
495
495
  if (!value.equals(toLong(value.c2()))) {
496
- this.f6g_1.u6k("Failed to parse int for input '" + value.toString() + "'");
496
+ this.t6g_1.i6l("Failed to parse int for input '" + value.toString() + "'");
497
497
  }
498
498
  return value.c2();
499
499
  }
500
500
  bx() {
501
- return this.f6g_1.q6o();
501
+ return this.t6g_1.e6p();
502
502
  }
503
503
  cx() {
504
- var tmp0 = this.f6g_1;
504
+ var tmp0 = this.t6g_1;
505
505
  var tmp$ret$4;
506
506
  $l$block: {
507
507
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
508
- var input = tmp0.q6m();
508
+ var input = tmp0.e6n();
509
509
  try {
510
510
  // Inline function 'kotlin.text.toFloat' call
511
511
  // Inline function 'kotlin.js.unsafeCast' call
@@ -515,63 +515,63 @@ function StreamingJsonDecoder() {
515
515
  } catch ($p) {
516
516
  if ($p instanceof IllegalArgumentException()) {
517
517
  var e = $p;
518
- tmp0.u6k("Failed to parse type '" + 'float' + "' for input '" + input + "'");
518
+ tmp0.i6l("Failed to parse type '" + 'float' + "' for input '" + input + "'");
519
519
  } else {
520
520
  throw $p;
521
521
  }
522
522
  }
523
523
  }
524
524
  var result = tmp$ret$4;
525
- var specialFp = this.d6g_1.z6f_1.t6h_1;
525
+ var specialFp = this.r6g_1.n6g_1.h6i_1;
526
526
  if (specialFp || isFinite(result))
527
527
  return result;
528
- throwInvalidFloatingPointDecoded(this.f6g_1, result);
528
+ throwInvalidFloatingPointDecoded(this.t6g_1, result);
529
529
  }
530
530
  dx() {
531
- var tmp0 = this.f6g_1;
531
+ var tmp0 = this.t6g_1;
532
532
  var tmp$ret$1;
533
533
  $l$block: {
534
534
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
535
- var input = tmp0.q6m();
535
+ var input = tmp0.e6n();
536
536
  try {
537
537
  tmp$ret$1 = toDouble(input);
538
538
  break $l$block;
539
539
  } catch ($p) {
540
540
  if ($p instanceof IllegalArgumentException()) {
541
541
  var e = $p;
542
- tmp0.u6k("Failed to parse type '" + 'double' + "' for input '" + input + "'");
542
+ tmp0.i6l("Failed to parse type '" + 'double' + "' for input '" + input + "'");
543
543
  } else {
544
544
  throw $p;
545
545
  }
546
546
  }
547
547
  }
548
548
  var result = tmp$ret$1;
549
- var specialFp = this.d6g_1.z6f_1.t6h_1;
549
+ var specialFp = this.r6g_1.n6g_1.h6i_1;
550
550
  if (specialFp || isFinite_0(result))
551
551
  return result;
552
- throwInvalidFloatingPointDecoded(this.f6g_1, result);
552
+ throwInvalidFloatingPointDecoded(this.t6g_1, result);
553
553
  }
554
554
  ex() {
555
- var string = this.f6g_1.q6m();
555
+ var string = this.t6g_1.e6n();
556
556
  if (!(string.length === 1)) {
557
- this.f6g_1.u6k("Expected single char, but got '" + string + "'");
557
+ this.t6g_1.i6l("Expected single char, but got '" + string + "'");
558
558
  }
559
559
  return charCodeAt(string, 0);
560
560
  }
561
561
  fx() {
562
562
  var tmp;
563
- if (this.j6g_1.l6h_1) {
564
- tmp = this.f6g_1.i6o();
563
+ if (this.x6g_1.z6h_1) {
564
+ tmp = this.t6g_1.w6o();
565
565
  } else {
566
- tmp = this.f6g_1.p6m();
566
+ tmp = this.t6g_1.d6n();
567
567
  }
568
568
  return tmp;
569
569
  }
570
570
  hx(descriptor) {
571
- return get_isUnsignedNumber(descriptor) ? new (JsonDecoderForUnsignedTypes())(this.f6g_1, this.d6g_1) : super.hx(descriptor);
571
+ return get_isUnsignedNumber(descriptor) ? new (JsonDecoderForUnsignedTypes())(this.t6g_1, this.r6g_1) : super.hx(descriptor);
572
572
  }
573
573
  gx(enumDescriptor) {
574
- return getJsonNameIndexOrThrow(enumDescriptor, this.d6g_1, this.fx(), ' at path ' + this.f6g_1.m6g_1.u6l());
574
+ return getJsonNameIndexOrThrow(enumDescriptor, this.r6g_1, this.fx(), ' at path ' + this.t6g_1.a6h_1.i6m());
575
575
  }
576
576
  }
577
577
  initMetadataForClass($, 'StreamingJsonDecoder', VOID, VOID, [JsonDecoder(), AbstractDecoder()]);
@@ -585,22 +585,22 @@ function JsonDecoderForUnsignedTypes() {
585
585
  class $ extends AbstractDecoder() {
586
586
  constructor(lexer, json) {
587
587
  super();
588
- this.r6o_1 = lexer;
589
- this.s6o_1 = json.yx();
588
+ this.f6p_1 = lexer;
589
+ this.g6p_1 = json.yx();
590
590
  }
591
591
  yx() {
592
- return this.s6o_1;
592
+ return this.g6p_1;
593
593
  }
594
594
  ay(descriptor) {
595
595
  var message = 'unsupported';
596
596
  throw IllegalStateException().o4(toString(message));
597
597
  }
598
598
  ax() {
599
- var tmp0 = this.r6o_1;
599
+ var tmp0 = this.f6p_1;
600
600
  var tmp$ret$2;
601
601
  $l$block: {
602
602
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
603
- var input = tmp0.q6m();
603
+ var input = tmp0.e6n();
604
604
  try {
605
605
  // Inline function 'kotlin.UInt.toInt' call
606
606
  var this_0 = toUInt(input);
@@ -609,7 +609,7 @@ function JsonDecoderForUnsignedTypes() {
609
609
  } catch ($p) {
610
610
  if ($p instanceof IllegalArgumentException()) {
611
611
  var e = $p;
612
- tmp0.u6k("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
612
+ tmp0.i6l("Failed to parse type '" + 'UInt' + "' for input '" + input + "'");
613
613
  } else {
614
614
  throw $p;
615
615
  }
@@ -618,11 +618,11 @@ function JsonDecoderForUnsignedTypes() {
618
618
  return tmp$ret$2;
619
619
  }
620
620
  bx() {
621
- var tmp0 = this.r6o_1;
621
+ var tmp0 = this.f6p_1;
622
622
  var tmp$ret$2;
623
623
  $l$block: {
624
624
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
625
- var input = tmp0.q6m();
625
+ var input = tmp0.e6n();
626
626
  try {
627
627
  // Inline function 'kotlin.ULong.toLong' call
628
628
  var this_0 = toULong(input);
@@ -631,7 +631,7 @@ function JsonDecoderForUnsignedTypes() {
631
631
  } catch ($p) {
632
632
  if ($p instanceof IllegalArgumentException()) {
633
633
  var e = $p;
634
- tmp0.u6k("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
634
+ tmp0.i6l("Failed to parse type '" + 'ULong' + "' for input '" + input + "'");
635
635
  } else {
636
636
  throw $p;
637
637
  }
@@ -640,11 +640,11 @@ function JsonDecoderForUnsignedTypes() {
640
640
  return tmp$ret$2;
641
641
  }
642
642
  yw() {
643
- var tmp0 = this.r6o_1;
643
+ var tmp0 = this.f6p_1;
644
644
  var tmp$ret$2;
645
645
  $l$block: {
646
646
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
647
- var input = tmp0.q6m();
647
+ var input = tmp0.e6n();
648
648
  try {
649
649
  // Inline function 'kotlin.UByte.toByte' call
650
650
  var this_0 = toUByte(input);
@@ -653,7 +653,7 @@ function JsonDecoderForUnsignedTypes() {
653
653
  } catch ($p) {
654
654
  if ($p instanceof IllegalArgumentException()) {
655
655
  var e = $p;
656
- tmp0.u6k("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
656
+ tmp0.i6l("Failed to parse type '" + 'UByte' + "' for input '" + input + "'");
657
657
  } else {
658
658
  throw $p;
659
659
  }
@@ -662,11 +662,11 @@ function JsonDecoderForUnsignedTypes() {
662
662
  return tmp$ret$2;
663
663
  }
664
664
  zw() {
665
- var tmp0 = this.r6o_1;
665
+ var tmp0 = this.f6p_1;
666
666
  var tmp$ret$2;
667
667
  $l$block: {
668
668
  // Inline function 'kotlinx.serialization.json.internal.parseString' call
669
- var input = tmp0.q6m();
669
+ var input = tmp0.e6n();
670
670
  try {
671
671
  // Inline function 'kotlin.UShort.toShort' call
672
672
  var this_0 = toUShort(input);
@@ -675,7 +675,7 @@ function JsonDecoderForUnsignedTypes() {
675
675
  } catch ($p) {
676
676
  if ($p instanceof IllegalArgumentException()) {
677
677
  var e = $p;
678
- tmp0.u6k("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
678
+ tmp0.i6l("Failed to parse type '" + 'UShort' + "' for input '" + input + "'");
679
679
  } else {
680
680
  throw $p;
681
681
  }