@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
@@ -35,9 +35,9 @@ function checkKind($this, descriptor, actualClass) {
35
35
  if (tmp) {
36
36
  throw IllegalArgumentException().u('Serializer for ' + actualClass.ag() + " can't be registered as a subclass for polymorphic serialization " + ('because its kind ' + kind.toString() + ' is not concrete. To work with multiple hierarchies, register it as a base class.'));
37
37
  }
38
- if ($this.w6l_1)
38
+ if ($this.k6m_1)
39
39
  return Unit_instance;
40
- if (!$this.x6l_1)
40
+ if (!$this.l6m_1)
41
41
  return Unit_instance;
42
42
  var tmp_0;
43
43
  var tmp_1;
@@ -63,7 +63,7 @@ function checkDiscriminatorCollisions($this, descriptor, actualClass) {
63
63
  var i = inductionVariable;
64
64
  inductionVariable = inductionVariable + 1 | 0;
65
65
  var name = descriptor.sv(i);
66
- if (name === $this.v6l_1) {
66
+ if (name === $this.j6m_1) {
67
67
  throw IllegalArgumentException().u('Polymorphic serializer for ' + toString(actualClass) + " has property '" + name + "' that conflicts " + 'with JSON class discriminator. You can either change class discriminator in JsonConfiguration, rename property with @SerialName annotation or fall back to array polymorphism');
68
68
  }
69
69
  }
@@ -74,16 +74,16 @@ function JsonSerializersModuleValidator() {
74
74
  if (JsonSerializersModuleValidatorClass === VOID) {
75
75
  class $ {
76
76
  constructor(configuration) {
77
- this.v6l_1 = configuration.s6h_1;
78
- this.w6l_1 = configuration.r6h_1;
79
- this.x6l_1 = !configuration.z6h_1.equals(ClassDiscriminatorMode_NONE_getInstance());
77
+ this.j6m_1 = configuration.g6i_1;
78
+ this.k6m_1 = configuration.f6i_1;
79
+ this.l6m_1 = !configuration.n6i_1.equals(ClassDiscriminatorMode_NONE_getInstance());
80
80
  }
81
81
  z1d(kClass, provider) {
82
82
  }
83
83
  c1e(baseClass, actualClass, actualSerializer) {
84
84
  var descriptor = actualSerializer.xs();
85
85
  checkKind(this, descriptor, actualClass);
86
- if (!this.w6l_1 && this.x6l_1) {
86
+ if (!this.k6m_1 && this.l6m_1) {
87
87
  checkDiscriminatorCollisions(this, descriptor, actualClass);
88
88
  }
89
89
  }
@@ -12,7 +12,7 @@ function encodeByWriter(json, writer, serializer, value) {
12
12
  // Inline function 'kotlin.arrayOfNulls' call
13
13
  var size = get_entries().i1();
14
14
  var tmp$ret$0 = Array(size);
15
- var encoder = StreamingJsonEncoder().h6m(writer, json, tmp, tmp$ret$0);
15
+ var encoder = StreamingJsonEncoder().v6m(writer, json, tmp, tmp$ret$0);
16
16
  encoder.cz(serializer, value);
17
17
  }
18
18
  //region block: exports
@@ -12,25 +12,25 @@ function JsonToStringWriter() {
12
12
  if (JsonToStringWriterClass === VOID) {
13
13
  class $ {
14
14
  constructor() {
15
- this.c6g_1 = StringBuilder().mb(128);
15
+ this.q6g_1 = StringBuilder().mb(128);
16
16
  }
17
- d2t(value) {
18
- this.c6g_1.zh(value);
17
+ r2t(value) {
18
+ this.q6g_1.zh(value);
19
19
  }
20
- t6j(char) {
21
- this.c6g_1.kb(char);
20
+ h6k(char) {
21
+ this.q6g_1.kb(char);
22
22
  }
23
- v6j(text) {
24
- this.c6g_1.jb(text);
23
+ j6k(text) {
24
+ this.q6g_1.jb(text);
25
25
  }
26
- e6k(text) {
27
- printQuoted(this.c6g_1, text);
26
+ s6k(text) {
27
+ printQuoted(this.q6g_1, text);
28
28
  }
29
- y2n() {
30
- this.c6g_1.ci();
29
+ m2o() {
30
+ this.q6g_1.ci();
31
31
  }
32
32
  toString() {
33
- return this.c6g_1.toString();
33
+ return this.q6g_1.toString();
34
34
  }
35
35
  }
36
36
  initMetadataForClass($, 'JsonToStringWriter', JsonToStringWriter);
@@ -32,34 +32,34 @@ import { tokenDescription3r6eqmtoxe76u as tokenDescription } from './AbstractJso
32
32
  //endregion
33
33
  function readObject($this) {
34
34
  // Inline function 'kotlinx.serialization.json.internal.JsonTreeReader.readObjectImpl' call
35
- var lastToken = $this.i6m_1.m6m(6);
36
- if ($this.i6m_1.n6m() === 4) {
37
- $this.i6m_1.u6k('Unexpected leading comma');
35
+ var lastToken = $this.w6m_1.a6n(6);
36
+ if ($this.w6m_1.b6n() === 4) {
37
+ $this.w6m_1.i6l('Unexpected leading comma');
38
38
  }
39
39
  // Inline function 'kotlin.collections.linkedMapOf' call
40
40
  var result = LinkedHashMap().ub();
41
- $l$loop: while ($this.i6m_1.o6m()) {
42
- var key = $this.j6m_1 ? $this.i6m_1.q6m() : $this.i6m_1.p6m();
43
- $this.i6m_1.m6m(5);
44
- var element = $this.r6m();
41
+ $l$loop: while ($this.w6m_1.c6n()) {
42
+ var key = $this.x6m_1 ? $this.w6m_1.e6n() : $this.w6m_1.d6n();
43
+ $this.w6m_1.a6n(5);
44
+ var element = $this.f6n();
45
45
  // Inline function 'kotlin.collections.set' call
46
46
  result.d3(key, element);
47
- lastToken = $this.i6m_1.s6m();
47
+ lastToken = $this.w6m_1.g6n();
48
48
  var tmp0_subject = lastToken;
49
49
  if (tmp0_subject !== 4)
50
50
  if (tmp0_subject === 7)
51
51
  break $l$loop;
52
52
  else {
53
- $this.i6m_1.u6k('Expected end of the object or comma');
53
+ $this.w6m_1.i6l('Expected end of the object or comma');
54
54
  }
55
55
  }
56
56
  if (lastToken === 6) {
57
- $this.i6m_1.m6m(7);
57
+ $this.w6m_1.a6n(7);
58
58
  } else if (lastToken === 4) {
59
- if (!$this.k6m_1) {
60
- invalidTrailingComma($this.i6m_1);
59
+ if (!$this.y6m_1) {
60
+ invalidTrailingComma($this.w6m_1);
61
61
  }
62
- $this.i6m_1.m6m(7);
62
+ $this.w6m_1.a6n(7);
63
63
  }
64
64
  return new (JsonObject())(result);
65
65
  }
@@ -70,43 +70,43 @@ function readObject_0($this, _this__u8e3s4, $completion) {
70
70
  return tmp.ic();
71
71
  }
72
72
  function readArray($this) {
73
- var lastToken = $this.i6m_1.s6m();
74
- if ($this.i6m_1.n6m() === 4) {
75
- $this.i6m_1.u6k('Unexpected leading comma');
73
+ var lastToken = $this.w6m_1.g6n();
74
+ if ($this.w6m_1.b6n() === 4) {
75
+ $this.w6m_1.i6l('Unexpected leading comma');
76
76
  }
77
77
  // Inline function 'kotlin.collections.arrayListOf' call
78
78
  var result = ArrayList().l1();
79
- while ($this.i6m_1.o6m()) {
80
- var element = $this.r6m();
79
+ while ($this.w6m_1.c6n()) {
80
+ var element = $this.f6n();
81
81
  result.m(element);
82
- lastToken = $this.i6m_1.s6m();
82
+ lastToken = $this.w6m_1.g6n();
83
83
  if (!(lastToken === 4)) {
84
- var tmp0 = $this.i6m_1;
84
+ var tmp0 = $this.w6m_1;
85
85
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.require' call
86
86
  var condition = lastToken === 9;
87
- var position = tmp0.l6g_1;
87
+ var position = tmp0.z6g_1;
88
88
  if (!condition) {
89
89
  var tmp$ret$1 = 'Expected end of the array or comma';
90
- tmp0.u6k(tmp$ret$1, position);
90
+ tmp0.i6l(tmp$ret$1, position);
91
91
  }
92
92
  }
93
93
  }
94
94
  if (lastToken === 8) {
95
- $this.i6m_1.m6m(9);
95
+ $this.w6m_1.a6n(9);
96
96
  } else if (lastToken === 4) {
97
- if (!$this.k6m_1) {
98
- invalidTrailingComma($this.i6m_1, 'array');
97
+ if (!$this.y6m_1) {
98
+ invalidTrailingComma($this.w6m_1, 'array');
99
99
  }
100
- $this.i6m_1.m6m(9);
100
+ $this.w6m_1.a6n(9);
101
101
  }
102
102
  return new (JsonArray())(result);
103
103
  }
104
104
  function readValue($this, isString) {
105
105
  var tmp;
106
- if ($this.j6m_1 || !isString) {
107
- tmp = $this.i6m_1.q6m();
106
+ if ($this.x6m_1 || !isString) {
107
+ tmp = $this.w6m_1.e6n();
108
108
  } else {
109
- tmp = $this.i6m_1.p6m();
109
+ tmp = $this.w6m_1.d6n();
110
110
  }
111
111
  var string = tmp;
112
112
  if (!isString && string === 'null')
@@ -123,18 +123,18 @@ function JsonTreeReader$readDeepRecursive$slambda() {
123
123
  constructor(this$0, resultContinuation, $box) {
124
124
  if ($box === VOID)
125
125
  $box = {};
126
- $box.q6n_1 = this$0;
126
+ $box.e6o_1 = this$0;
127
127
  super(resultContinuation, $box);
128
128
  }
129
- v6n($this$DeepRecursiveFunction, it, $completion) {
130
- var tmp = this.w6n($this$DeepRecursiveFunction, it, $completion);
129
+ j6o($this$DeepRecursiveFunction, it, $completion) {
130
+ var tmp = this.k6o($this$DeepRecursiveFunction, it, $completion);
131
131
  tmp.cc_1 = Unit_instance;
132
132
  tmp.dc_1 = null;
133
133
  return tmp.ic();
134
134
  }
135
135
  ld(p1, p2, $completion) {
136
136
  var tmp = p1 instanceof DeepRecursiveScope() ? p1 : THROW_CCE();
137
- return this.v6n(tmp, p2 instanceof Unit() ? p2 : THROW_CCE(), $completion);
137
+ return this.j6o(tmp, p2 instanceof Unit() ? p2 : THROW_CCE(), $completion);
138
138
  }
139
139
  ic() {
140
140
  var suspendResult = this.cc_1;
@@ -144,32 +144,32 @@ function JsonTreeReader$readDeepRecursive$slambda() {
144
144
  switch (tmp) {
145
145
  case 0:
146
146
  this.bc_1 = 3;
147
- this.t6n_1 = this.q6n_1.i6m_1.n6m();
148
- if (this.t6n_1 === 1) {
149
- this.u6n_1 = readValue(this.q6n_1, true);
147
+ this.h6o_1 = this.e6o_1.w6m_1.b6n();
148
+ if (this.h6o_1 === 1) {
149
+ this.i6o_1 = readValue(this.e6o_1, true);
150
150
  this.ac_1 = 2;
151
151
  continue $sm;
152
152
  } else {
153
- if (this.t6n_1 === 0) {
154
- this.u6n_1 = readValue(this.q6n_1, false);
153
+ if (this.h6o_1 === 0) {
154
+ this.i6o_1 = readValue(this.e6o_1, false);
155
155
  this.ac_1 = 2;
156
156
  continue $sm;
157
157
  } else {
158
- if (this.t6n_1 === 6) {
158
+ if (this.h6o_1 === 6) {
159
159
  this.ac_1 = 1;
160
- suspendResult = readObject_0(this.q6n_1, this.r6n_1, this);
160
+ suspendResult = readObject_0(this.e6o_1, this.f6o_1, this);
161
161
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
162
162
  return suspendResult;
163
163
  }
164
164
  continue $sm;
165
165
  } else {
166
- if (this.t6n_1 === 8) {
167
- this.u6n_1 = readArray(this.q6n_1);
166
+ if (this.h6o_1 === 8) {
167
+ this.i6o_1 = readArray(this.e6o_1);
168
168
  this.ac_1 = 2;
169
169
  continue $sm;
170
170
  } else {
171
171
  var tmp_0 = this;
172
- this.q6n_1.i6m_1.u6k("Can't begin reading element, unexpected token");
172
+ this.e6o_1.w6m_1.i6l("Can't begin reading element, unexpected token");
173
173
  }
174
174
  }
175
175
  }
@@ -177,11 +177,11 @@ function JsonTreeReader$readDeepRecursive$slambda() {
177
177
 
178
178
  break;
179
179
  case 1:
180
- this.u6n_1 = suspendResult;
180
+ this.i6o_1 = suspendResult;
181
181
  this.ac_1 = 2;
182
182
  continue $sm;
183
183
  case 2:
184
- return this.u6n_1;
184
+ return this.i6o_1;
185
185
  case 3:
186
186
  throw this.dc_1;
187
187
  }
@@ -196,10 +196,10 @@ function JsonTreeReader$readDeepRecursive$slambda() {
196
196
  }
197
197
  while (true);
198
198
  }
199
- w6n($this$DeepRecursiveFunction, it, completion) {
200
- var i = new (JsonTreeReader$readDeepRecursive$slambda())(this.q6n_1, completion);
201
- i.r6n_1 = $this$DeepRecursiveFunction;
202
- i.s6n_1 = it;
199
+ k6o($this$DeepRecursiveFunction, it, completion) {
200
+ var i = new (JsonTreeReader$readDeepRecursive$slambda())(this.e6o_1, completion);
201
+ i.f6o_1 = $this$DeepRecursiveFunction;
202
+ i.g6o_1 = it;
203
203
  return i;
204
204
  }
205
205
  }
@@ -211,7 +211,7 @@ function JsonTreeReader$readDeepRecursive$slambda() {
211
211
  function JsonTreeReader$readDeepRecursive$slambda_0(this$0, resultContinuation) {
212
212
  var i = new (JsonTreeReader$readDeepRecursive$slambda())(this$0, resultContinuation);
213
213
  var l = function ($this$DeepRecursiveFunction, it, $completion) {
214
- return i.v6n($this$DeepRecursiveFunction, it, $completion);
214
+ return i.j6o($this$DeepRecursiveFunction, it, $completion);
215
215
  };
216
216
  l.$arity = 2;
217
217
  return l;
@@ -222,8 +222,8 @@ function $readObjectCOROUTINE$() {
222
222
  class $ extends CoroutineImpl() {
223
223
  constructor(_this__u8e3s4, _this__u8e3s4_0, resultContinuation) {
224
224
  super(resultContinuation);
225
- this.b6n_1 = _this__u8e3s4;
226
- this.c6n_1 = _this__u8e3s4_0;
225
+ this.p6n_1 = _this__u8e3s4;
226
+ this.q6n_1 = _this__u8e3s4_0;
227
227
  }
228
228
  ic() {
229
229
  var suspendResult = this.cc_1;
@@ -234,27 +234,27 @@ function $readObjectCOROUTINE$() {
234
234
  case 0:
235
235
  this.bc_1 = 5;
236
236
  var tmp_0 = this;
237
- tmp_0.d6n_1 = this.b6n_1;
238
- this.e6n_1 = this.d6n_1;
239
- this.f6n_1 = this.e6n_1.i6m_1.m6m(6);
240
- if (this.e6n_1.i6m_1.n6m() === 4) {
241
- this.e6n_1.i6m_1.u6k('Unexpected leading comma');
237
+ tmp_0.r6n_1 = this.p6n_1;
238
+ this.s6n_1 = this.r6n_1;
239
+ this.t6n_1 = this.s6n_1.w6m_1.a6n(6);
240
+ if (this.s6n_1.w6m_1.b6n() === 4) {
241
+ this.s6n_1.w6m_1.i6l('Unexpected leading comma');
242
242
  }
243
243
 
244
244
  var tmp_1 = this;
245
- tmp_1.g6n_1 = LinkedHashMap().ub();
245
+ tmp_1.u6n_1 = LinkedHashMap().ub();
246
246
  this.ac_1 = 1;
247
247
  continue $sm;
248
248
  case 1:
249
- if (!this.e6n_1.i6m_1.o6m()) {
249
+ if (!this.s6n_1.w6m_1.c6n()) {
250
250
  this.ac_1 = 4;
251
251
  continue $sm;
252
252
  }
253
253
 
254
- this.h6n_1 = this.e6n_1.j6m_1 ? this.e6n_1.i6m_1.q6m() : this.e6n_1.i6m_1.p6m();
255
- this.e6n_1.i6m_1.m6m(5);
254
+ this.v6n_1 = this.s6n_1.x6m_1 ? this.s6n_1.w6m_1.e6n() : this.s6n_1.w6m_1.d6n();
255
+ this.s6n_1.w6m_1.a6n(5);
256
256
  this.ac_1 = 2;
257
- suspendResult = this.c6n_1.lq(Unit_instance, this);
257
+ suspendResult = this.q6n_1.lq(Unit_instance, this);
258
258
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
259
259
  return suspendResult;
260
260
  }
@@ -262,11 +262,11 @@ function $readObjectCOROUTINE$() {
262
262
  continue $sm;
263
263
  case 2:
264
264
  var element = suspendResult;
265
- var tmp0 = this.g6n_1;
266
- var key = this.h6n_1;
265
+ var tmp0 = this.u6n_1;
266
+ var key = this.v6n_1;
267
267
  tmp0.d3(key, element);
268
- this.f6n_1 = this.e6n_1.i6m_1.s6m();
269
- var tmp0_subject = this.f6n_1;
268
+ this.t6n_1 = this.s6n_1.w6m_1.g6n();
269
+ var tmp0_subject = this.t6n_1;
270
270
  if (tmp0_subject === 4) {
271
271
  this.ac_1 = 3;
272
272
  continue $sm;
@@ -275,7 +275,7 @@ function $readObjectCOROUTINE$() {
275
275
  this.ac_1 = 4;
276
276
  continue $sm;
277
277
  } else {
278
- this.e6n_1.i6m_1.u6k('Expected end of the object or comma');
278
+ this.s6n_1.w6m_1.i6l('Expected end of the object or comma');
279
279
  }
280
280
  }
281
281
 
@@ -284,16 +284,16 @@ function $readObjectCOROUTINE$() {
284
284
  this.ac_1 = 1;
285
285
  continue $sm;
286
286
  case 4:
287
- if (this.f6n_1 === 6) {
288
- this.e6n_1.i6m_1.m6m(7);
289
- } else if (this.f6n_1 === 4) {
290
- if (!this.e6n_1.k6m_1) {
291
- invalidTrailingComma(this.e6n_1.i6m_1);
287
+ if (this.t6n_1 === 6) {
288
+ this.s6n_1.w6m_1.a6n(7);
289
+ } else if (this.t6n_1 === 4) {
290
+ if (!this.s6n_1.y6m_1) {
291
+ invalidTrailingComma(this.s6n_1.w6m_1);
292
292
  }
293
- this.e6n_1.i6m_1.m6m(7);
293
+ this.s6n_1.w6m_1.a6n(7);
294
294
  }
295
295
 
296
- return new (JsonObject())(this.g6n_1);
296
+ return new (JsonObject())(this.u6n_1);
297
297
  case 5:
298
298
  throw this.dc_1;
299
299
  }
@@ -319,13 +319,13 @@ function JsonTreeReader() {
319
319
  if (JsonTreeReaderClass === VOID) {
320
320
  class $ {
321
321
  constructor(configuration, lexer) {
322
- this.i6m_1 = lexer;
323
- this.j6m_1 = configuration.l6h_1;
324
- this.k6m_1 = configuration.x6h_1;
325
- this.l6m_1 = 0;
322
+ this.w6m_1 = lexer;
323
+ this.x6m_1 = configuration.z6h_1;
324
+ this.y6m_1 = configuration.l6i_1;
325
+ this.z6m_1 = 0;
326
326
  }
327
- r6m() {
328
- var token = this.i6m_1.n6m();
327
+ f6n() {
328
+ var token = this.w6m_1.b6n();
329
329
  var tmp;
330
330
  if (token === 1) {
331
331
  tmp = readValue(this, true);
@@ -333,19 +333,19 @@ function JsonTreeReader() {
333
333
  tmp = readValue(this, false);
334
334
  } else if (token === 6) {
335
335
  var tmp_0;
336
- this.l6m_1 = this.l6m_1 + 1 | 0;
337
- if (this.l6m_1 === 200) {
336
+ this.z6m_1 = this.z6m_1 + 1 | 0;
337
+ if (this.z6m_1 === 200) {
338
338
  tmp_0 = readDeepRecursive(this);
339
339
  } else {
340
340
  tmp_0 = readObject(this);
341
341
  }
342
342
  var result = tmp_0;
343
- this.l6m_1 = this.l6m_1 - 1 | 0;
343
+ this.z6m_1 = this.z6m_1 - 1 | 0;
344
344
  tmp = result;
345
345
  } else if (token === 8) {
346
346
  tmp = readArray(this);
347
347
  } else {
348
- this.i6m_1.u6k('Cannot read Json element because of unexpected ' + tokenDescription(token));
348
+ this.w6m_1.i6l('Cannot read Json element because of unexpected ' + tokenDescription(token));
349
349
  }
350
350
  return tmp;
351
351
  }
@@ -18,9 +18,9 @@ function classDiscriminator(_this__u8e3s4, json) {
18
18
  while (_iterator__ex2g4s.e1()) {
19
19
  var annotation = _iterator__ex2g4s.f1();
20
20
  if (annotation instanceof JsonClassDiscriminator())
21
- return annotation.x6n_1;
21
+ return annotation.l6o_1;
22
22
  }
23
- return json.z6f_1.s6h_1;
23
+ return json.n6g_1.g6i_1;
24
24
  }
25
25
  function validateIfSealed(serializer, actualSerializer, classDiscriminator) {
26
26
  if (!(serializer instanceof SealedClassSerializer()))
@@ -21,11 +21,11 @@ function DescriptorSchemaCache() {
21
21
  if (DescriptorSchemaCacheClass === VOID) {
22
22
  class $ {
23
23
  constructor() {
24
- this.i6l_1 = createMapForCache(16);
24
+ this.w6l_1 = createMapForCache(16);
25
25
  }
26
- y6n(descriptor, key, value) {
26
+ m6o(descriptor, key, value) {
27
27
  // Inline function 'kotlin.collections.getOrPut' call
28
- var this_0 = this.i6l_1;
28
+ var this_0 = this.w6l_1;
29
29
  var value_0 = this_0.w2(descriptor);
30
30
  var tmp;
31
31
  if (value_0 == null) {
@@ -41,8 +41,8 @@ function DescriptorSchemaCache() {
41
41
  var value_1 = !(value == null) ? value : THROW_CCE();
42
42
  tmp0.d3(tmp2, value_1);
43
43
  }
44
- j6l(descriptor, key, defaultValue) {
45
- var tmp0_safe_receiver = this.z6n(descriptor, key);
44
+ x6l(descriptor, key, defaultValue) {
45
+ var tmp0_safe_receiver = this.n6o(descriptor, key);
46
46
  if (tmp0_safe_receiver == null)
47
47
  null;
48
48
  else {
@@ -50,11 +50,11 @@ function DescriptorSchemaCache() {
50
50
  return tmp0_safe_receiver;
51
51
  }
52
52
  var value = defaultValue();
53
- this.y6n(descriptor, key, value);
53
+ this.m6o(descriptor, key, value);
54
54
  return value;
55
55
  }
56
- z6n(descriptor, key) {
57
- var tmp0_safe_receiver = this.i6l_1.w2(descriptor);
56
+ n6o(descriptor, key) {
57
+ var tmp0_safe_receiver = this.w6l_1.w2(descriptor);
58
58
  var tmp;
59
59
  if (tmp0_safe_receiver == null) {
60
60
  tmp = null;