@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
@@ -23,18 +23,18 @@ import { toString1pkumu07cwy4m as toString } from '../../../../../kotlin-kotlin-
23
23
  //region block: pre-declaration
24
24
  //endregion
25
25
  function buildPartialMatchTable($this) {
26
- var table = new Int32Array($this.z3a_1.i1());
26
+ var table = new Int32Array($this.n3b_1.i1());
27
27
  var j = 0;
28
28
  var inductionVariable = 1;
29
- var last = $this.z3a_1.i1();
29
+ var last = $this.n3b_1.i1();
30
30
  if (inductionVariable < last)
31
31
  do {
32
32
  var i = inductionVariable;
33
33
  inductionVariable = inductionVariable + 1 | 0;
34
- while (j > 0 && !($this.z3a_1.j1(i) === $this.z3a_1.j1(j))) {
34
+ while (j > 0 && !($this.n3b_1.j1(i) === $this.n3b_1.j1(j))) {
35
35
  j = table[j - 1 | 0];
36
36
  }
37
- if ($this.z3a_1.j1(i) === $this.z3a_1.j1(j)) {
37
+ if ($this.n3b_1.j1(i) === $this.n3b_1.j1(j)) {
38
38
  j = j + 1 | 0;
39
39
  }
40
40
  table[i] = j;
@@ -55,8 +55,8 @@ function checkFullMatch($this, $completion) {
55
55
  return tmp.ic();
56
56
  }
57
57
  function checkBounds($this, extra) {
58
- if ($this.f3b_1.p3(extra).a2($this.b3b_1) > 0) {
59
- throw IOException().l2u('Limit of ' + $this.b3b_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.z3a_1) + '"'));
58
+ if ($this.t3b_1.p3(extra).a2($this.p3b_1) > 0) {
59
+ throw IOException().z2u('Limit of ' + $this.p3b_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.n3b_1) + '"'));
60
60
  }
61
61
  }
62
62
  function toSingleLineString($this, _this__u8e3s4) {
@@ -68,8 +68,8 @@ function $findNextCOROUTINE$() {
68
68
  class $ extends CoroutineImpl() {
69
69
  constructor(_this__u8e3s4, ignoreMissing, resultContinuation) {
70
70
  super(resultContinuation);
71
- this.n3c_1 = _this__u8e3s4;
72
- this.o3c_1 = ignoreMissing;
71
+ this.b3d_1 = _this__u8e3s4;
72
+ this.c3d_1 = ignoreMissing;
73
73
  }
74
74
  ic() {
75
75
  var suspendResult = this.cc_1;
@@ -79,17 +79,17 @@ function $findNextCOROUTINE$() {
79
79
  switch (tmp) {
80
80
  case 0:
81
81
  this.bc_1 = 9;
82
- this.n3c_1.f3b_1 = new (Long())(0, 0);
82
+ this.b3d_1.t3b_1 = new (Long())(0, 0);
83
83
  this.ac_1 = 1;
84
84
  continue $sm;
85
85
  case 1:
86
- if (!this.n3c_1.c3b_1.a2r()) {
87
- this.p3c_1 = true;
86
+ if (!this.b3d_1.q3b_1.o2r()) {
87
+ this.d3d_1 = true;
88
88
  this.ac_1 = 3;
89
89
  continue $sm;
90
90
  } else {
91
91
  this.ac_1 = 2;
92
- suspendResult = this.n3c_1.y3a_1.v3a(VOID, this);
92
+ suspendResult = this.b3d_1.m3b_1.j3b(VOID, this);
93
93
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
94
94
  return suspendResult;
95
95
  }
@@ -97,17 +97,17 @@ function $findNextCOROUTINE$() {
97
97
  }
98
98
 
99
99
  case 2:
100
- this.p3c_1 = suspendResult;
100
+ this.d3d_1 = suspendResult;
101
101
  this.ac_1 = 3;
102
102
  continue $sm;
103
103
  case 3:
104
- if (!this.p3c_1) {
104
+ if (!this.d3d_1) {
105
105
  this.ac_1 = 7;
106
106
  continue $sm;
107
107
  }
108
108
 
109
109
  this.ac_1 = 4;
110
- suspendResult = advanceToNextPotentialMatch(this.n3c_1, this);
110
+ suspendResult = advanceToNextPotentialMatch(this.b3d_1, this);
111
111
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
112
112
  return suspendResult;
113
113
  }
@@ -115,7 +115,7 @@ function $findNextCOROUTINE$() {
115
115
  continue $sm;
116
116
  case 4:
117
117
  this.ac_1 = 5;
118
- suspendResult = checkFullMatch(this.n3c_1, this);
118
+ suspendResult = checkFullMatch(this.b3d_1, this);
119
119
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
120
120
  return suspendResult;
121
121
  }
@@ -123,7 +123,7 @@ function $findNextCOROUTINE$() {
123
123
  continue $sm;
124
124
  case 5:
125
125
  if (suspendResult) {
126
- return this.n3c_1.f3b_1;
126
+ return this.b3d_1.t3b_1;
127
127
  } else {
128
128
  this.ac_1 = 6;
129
129
  continue $sm;
@@ -133,20 +133,20 @@ function $findNextCOROUTINE$() {
133
133
  this.ac_1 = 1;
134
134
  continue $sm;
135
135
  case 7:
136
- if (!this.o3c_1) {
137
- throw IOException().l2u('Expected "' + toSingleLineString(this.n3c_1, this.n3c_1.z3a_1) + '" but encountered end of input');
136
+ if (!this.c3d_1) {
137
+ throw IOException().z2u('Expected "' + toSingleLineString(this.b3d_1, this.b3d_1.n3b_1) + '" but encountered end of input');
138
138
  }
139
139
 
140
- this.n3c_1.f3b_1 = this.n3c_1.f3b_1.p3(this.n3c_1.e3b_1.h2s(this.n3c_1.a3b_1.p3a()));
140
+ this.b3d_1.t3b_1 = this.b3d_1.t3b_1.p3(this.b3d_1.s3b_1.v2s(this.b3d_1.o3b_1.d3b()));
141
141
  this.ac_1 = 8;
142
- suspendResult = this.n3c_1.a3b_1.l3a(this);
142
+ suspendResult = this.b3d_1.o3b_1.z3a(this);
143
143
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
144
144
  return suspendResult;
145
145
  }
146
146
 
147
147
  continue $sm;
148
148
  case 8:
149
- return this.n3c_1.f3b_1;
149
+ return this.b3d_1.t3b_1;
150
150
  case 9:
151
151
  throw this.dc_1;
152
152
  }
@@ -173,7 +173,7 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
173
173
  class $ extends CoroutineImpl() {
174
174
  constructor(_this__u8e3s4, resultContinuation) {
175
175
  super(resultContinuation);
176
- this.p3b_1 = _this__u8e3s4;
176
+ this.d3c_1 = _this__u8e3s4;
177
177
  }
178
178
  ic() {
179
179
  var suspendResult = this.cc_1;
@@ -186,13 +186,13 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
186
186
  this.ac_1 = 1;
187
187
  continue $sm;
188
188
  case 1:
189
- if (!this.p3b_1.c3b_1.a2r()) {
190
- this.q3b_1 = true;
189
+ if (!this.d3c_1.q3b_1.o2r()) {
190
+ this.e3c_1 = true;
191
191
  this.ac_1 = 3;
192
192
  continue $sm;
193
193
  } else {
194
194
  this.ac_1 = 2;
195
- suspendResult = this.p3b_1.y3a_1.v3a(VOID, this);
195
+ suspendResult = this.d3c_1.m3b_1.j3b(VOID, this);
196
196
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
197
197
  return suspendResult;
198
198
  }
@@ -200,34 +200,34 @@ function $advanceToNextPotentialMatchCOROUTINE$() {
200
200
  }
201
201
 
202
202
  case 2:
203
- this.q3b_1 = suspendResult;
203
+ this.e3c_1 = suspendResult;
204
204
  this.ac_1 = 3;
205
205
  continue $sm;
206
206
  case 3:
207
- if (!this.q3b_1) {
207
+ if (!this.e3c_1) {
208
208
  this.ac_1 = 7;
209
209
  continue $sm;
210
210
  }
211
211
 
212
- this.r3b_1 = indexOf(this.p3b_1.c3b_1, this.p3b_1.z3a_1.j1(0));
213
- if (this.r3b_1.equals(new (Long())(-1, -1))) {
214
- var tmp_0 = this.p3b_1.c3b_1;
215
- checkBounds(this.p3b_1, (tmp_0 instanceof Buffer() ? tmp_0 : THROW_CCE()).i1());
216
- this.p3b_1.f3b_1 = this.p3b_1.f3b_1.p3(this.p3b_1.c3b_1.h2s(this.p3b_1.a3b_1.p3a()));
212
+ this.f3c_1 = indexOf(this.d3c_1.q3b_1, this.d3c_1.n3b_1.j1(0));
213
+ if (this.f3c_1.equals(new (Long())(-1, -1))) {
214
+ var tmp_0 = this.d3c_1.q3b_1;
215
+ checkBounds(this.d3c_1, (tmp_0 instanceof Buffer() ? tmp_0 : THROW_CCE()).i1());
216
+ this.d3c_1.t3b_1 = this.d3c_1.t3b_1.p3(this.d3c_1.q3b_1.v2s(this.d3c_1.o3b_1.d3b()));
217
217
  this.ac_1 = 5;
218
- suspendResult = flushIfNeeded(this.p3b_1.a3b_1, this);
218
+ suspendResult = flushIfNeeded(this.d3c_1.o3b_1, this);
219
219
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
220
220
  return suspendResult;
221
221
  }
222
222
  continue $sm;
223
223
  } else {
224
- checkBounds(this.p3b_1, this.r3b_1);
225
- var tmp_1 = this.p3b_1;
226
- var tmp_2 = this.p3b_1.f3b_1;
227
- var tmp_3 = this.p3b_1.a3b_1.p3a();
228
- tmp_1.f3b_1 = tmp_2.p3(this.p3b_1.c3b_1.e2s(tmp_3 instanceof Buffer() ? tmp_3 : THROW_CCE(), this.r3b_1));
224
+ checkBounds(this.d3c_1, this.f3c_1);
225
+ var tmp_1 = this.d3c_1;
226
+ var tmp_2 = this.d3c_1.t3b_1;
227
+ var tmp_3 = this.d3c_1.o3b_1.d3b();
228
+ tmp_1.t3b_1 = tmp_2.p3(this.d3c_1.q3b_1.s2s(tmp_3 instanceof Buffer() ? tmp_3 : THROW_CCE(), this.f3c_1));
229
229
  this.ac_1 = 4;
230
- suspendResult = flushIfNeeded(this.p3b_1.a3b_1, this);
230
+ suspendResult = flushIfNeeded(this.d3c_1.o3b_1, this);
231
231
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
232
232
  return suspendResult;
233
233
  }
@@ -270,7 +270,7 @@ function $checkFullMatchCOROUTINE$() {
270
270
  class $ extends CoroutineImpl() {
271
271
  constructor(_this__u8e3s4, resultContinuation) {
272
272
  super(resultContinuation);
273
- this.a3c_1 = _this__u8e3s4;
273
+ this.o3c_1 = _this__u8e3s4;
274
274
  }
275
275
  ic() {
276
276
  var suspendResult = this.cc_1;
@@ -283,13 +283,13 @@ function $checkFullMatchCOROUTINE$() {
283
283
  this.ac_1 = 1;
284
284
  continue $sm;
285
285
  case 1:
286
- if (!this.a3c_1.c3b_1.a2r()) {
287
- this.b3c_1 = true;
286
+ if (!this.o3c_1.q3b_1.o2r()) {
287
+ this.p3c_1 = true;
288
288
  this.ac_1 = 3;
289
289
  continue $sm;
290
290
  } else {
291
291
  this.ac_1 = 2;
292
- suspendResult = this.a3c_1.y3a_1.v3a(VOID, this);
292
+ suspendResult = this.o3c_1.m3b_1.j3b(VOID, this);
293
293
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
294
294
  return suspendResult;
295
295
  }
@@ -297,30 +297,30 @@ function $checkFullMatchCOROUTINE$() {
297
297
  }
298
298
 
299
299
  case 2:
300
- this.b3c_1 = suspendResult;
300
+ this.p3c_1 = suspendResult;
301
301
  this.ac_1 = 3;
302
302
  continue $sm;
303
303
  case 3:
304
- if (!this.b3c_1) {
304
+ if (!this.p3c_1) {
305
305
  this.ac_1 = 7;
306
306
  continue $sm;
307
307
  }
308
308
 
309
- this.c3c_1 = this.a3c_1.c3b_1.d2r();
310
- if (this.a3c_1.g3b_1 > 0 && !(this.c3c_1 === this.a3c_1.z3a_1.j1(this.a3c_1.g3b_1))) {
311
- this.d3c_1 = this.a3c_1.g3b_1;
312
- while (this.a3c_1.g3b_1 > 0 && !(this.c3c_1 === this.a3c_1.z3a_1.j1(this.a3c_1.g3b_1))) {
313
- this.a3c_1.g3b_1 = this.a3c_1.d3b_1[this.a3c_1.g3b_1 - 1 | 0];
309
+ this.q3c_1 = this.o3c_1.q3b_1.r2r();
310
+ if (this.o3c_1.u3b_1 > 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
311
+ this.r3c_1 = this.o3c_1.u3b_1;
312
+ while (this.o3c_1.u3b_1 > 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
313
+ this.o3c_1.u3b_1 = this.o3c_1.r3b_1[this.o3c_1.u3b_1 - 1 | 0];
314
314
  }
315
- this.e3c_1 = toLong(this.d3c_1 - this.a3c_1.g3b_1 | 0);
316
- checkBounds(this.a3c_1, this.e3c_1);
317
- var tmp_0 = this.a3c_1;
318
- var tmp_1 = this.a3c_1.f3b_1;
319
- var tmp_2 = this.a3c_1.a3b_1.p3a();
320
- tmp_0.f3b_1 = tmp_1.p3(this.a3c_1.e3b_1.e2s(tmp_2 instanceof Buffer() ? tmp_2 : THROW_CCE(), this.e3c_1));
321
- if (this.a3c_1.g3b_1 === 0 && !(this.c3c_1 === this.a3c_1.z3a_1.j1(this.a3c_1.g3b_1))) {
315
+ this.s3c_1 = toLong(this.r3c_1 - this.o3c_1.u3b_1 | 0);
316
+ checkBounds(this.o3c_1, this.s3c_1);
317
+ var tmp_0 = this.o3c_1;
318
+ var tmp_1 = this.o3c_1.t3b_1;
319
+ var tmp_2 = this.o3c_1.o3b_1.d3b();
320
+ tmp_0.t3b_1 = tmp_1.p3(this.o3c_1.s3b_1.s2s(tmp_2 instanceof Buffer() ? tmp_2 : THROW_CCE(), this.s3c_1));
321
+ if (this.o3c_1.u3b_1 === 0 && !(this.q3c_1 === this.o3c_1.n3b_1.j1(this.o3c_1.u3b_1))) {
322
322
  this.ac_1 = 6;
323
- suspendResult = writeByte(this.a3c_1.a3b_1, this.c3c_1, this);
323
+ suspendResult = writeByte(this.o3c_1.o3b_1, this.q3c_1, this);
324
324
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
325
325
  return suspendResult;
326
326
  }
@@ -338,17 +338,17 @@ function $checkFullMatchCOROUTINE$() {
338
338
  this.ac_1 = 5;
339
339
  continue $sm;
340
340
  case 5:
341
- this.a3c_1.g3b_1 = this.a3c_1.g3b_1 + 1 | 0;
342
- if (this.a3c_1.g3b_1 === this.a3c_1.z3a_1.i1()) {
341
+ this.o3c_1.u3b_1 = this.o3c_1.u3b_1 + 1 | 0;
342
+ if (this.o3c_1.u3b_1 === this.o3c_1.n3b_1.i1()) {
343
343
  return true;
344
344
  }
345
345
 
346
- this.a3c_1.e3b_1.x2s(this.c3c_1);
346
+ this.o3c_1.s3b_1.l2t(this.q3c_1);
347
347
  this.ac_1 = 1;
348
348
  continue $sm;
349
349
  case 6:
350
- var _unary__edvuaz = this.a3c_1.f3b_1;
351
- this.a3c_1.f3b_1 = _unary__edvuaz.u3();
350
+ var _unary__edvuaz = this.o3c_1.t3b_1;
351
+ this.o3c_1.t3b_1 = _unary__edvuaz.u3();
352
352
  return false;
353
353
  case 7:
354
354
  return false;
@@ -378,22 +378,22 @@ function ByteChannelScanner() {
378
378
  class $ {
379
379
  constructor(channel, matchString, writeChannel, limit) {
380
380
  limit = limit === VOID ? new (Long())(-1, 2147483647) : limit;
381
- this.y3a_1 = channel;
382
- this.z3a_1 = matchString;
383
- this.a3b_1 = writeChannel;
384
- this.b3b_1 = limit;
381
+ this.m3b_1 = channel;
382
+ this.n3b_1 = matchString;
383
+ this.o3b_1 = writeChannel;
384
+ this.p3b_1 = limit;
385
385
  // Inline function 'kotlin.require' call
386
- if (!(this.z3a_1.i1() > 0)) {
386
+ if (!(this.n3b_1.i1() > 0)) {
387
387
  var message = 'Empty match string not permitted for scanning';
388
388
  throw IllegalArgumentException().u(toString(message));
389
389
  }
390
- this.c3b_1 = this.y3a_1.m3a();
391
- this.d3b_1 = buildPartialMatchTable(this);
392
- this.e3b_1 = new (Buffer())();
393
- this.f3b_1 = new (Long())(0, 0);
394
- this.g3b_1 = 0;
390
+ this.q3b_1 = this.m3b_1.a3b();
391
+ this.r3b_1 = buildPartialMatchTable(this);
392
+ this.s3b_1 = new (Buffer())();
393
+ this.t3b_1 = new (Long())(0, 0);
394
+ this.u3b_1 = 0;
395
395
  }
396
- q3c(ignoreMissing, $completion) {
396
+ e3d(ignoreMissing, $completion) {
397
397
  var tmp = new ($findNextCOROUTINE$())(this, ignoreMissing, $completion);
398
398
  tmp.cc_1 = Unit_instance;
399
399
  tmp.dc_1 = null;
@@ -13,7 +13,7 @@ function attachJob$lambda($this_attachJob) {
13
13
  return function (it) {
14
14
  var tmp;
15
15
  if (!(it == null)) {
16
- $this_attachJob.x3a(it);
16
+ $this_attachJob.l3b(it);
17
17
  tmp = Unit_instance;
18
18
  }
19
19
  return Unit_instance;
@@ -16,25 +16,25 @@ function ByteReadChannel$Companion$Empty$1() {
16
16
  if (ByteReadChannel$Companion$Empty$1Class === VOID) {
17
17
  class $ {
18
18
  constructor() {
19
- this.r3c_1 = null;
20
- this.s3c_1 = new (Buffer())();
19
+ this.f3d_1 = null;
20
+ this.g3d_1 = new (Buffer())();
21
21
  }
22
- r3a() {
23
- return this.r3c_1;
22
+ f3b() {
23
+ return this.f3d_1;
24
24
  }
25
- t3a() {
25
+ h3b() {
26
26
  return true;
27
27
  }
28
- m3a() {
29
- return this.s3c_1;
28
+ a3b() {
29
+ return this.g3d_1;
30
30
  }
31
- u3a(min, $completion) {
31
+ i3b(min, $completion) {
32
32
  return false;
33
33
  }
34
- x3a(cause) {
34
+ l3b(cause) {
35
35
  }
36
36
  }
37
- protoOf($).v3a = awaitContent$default;
37
+ protoOf($).j3b = awaitContent$default;
38
38
  initMetadataForClass($, VOID, VOID, VOID, [ByteReadChannel()], [1]);
39
39
  ByteReadChannel$Companion$Empty$1Class = $;
40
40
  }
@@ -47,7 +47,7 @@ function Companion() {
47
47
  constructor() {
48
48
  Companion_instance = this;
49
49
  var tmp = this;
50
- tmp.t3c_1 = new (ByteReadChannel$Companion$Empty$1())();
50
+ tmp.h3d_1 = new (ByteReadChannel$Companion$Empty$1())();
51
51
  }
52
52
  }
53
53
  initMetadataForCompanion($);
@@ -63,7 +63,7 @@ function Companion_getInstance() {
63
63
  }
64
64
  function awaitContent$default(min, $completion, $super) {
65
65
  min = min === VOID ? 1 : min;
66
- return $super === VOID ? this.u3a(min, $completion) : $super.u3a.call(this, min, $completion);
66
+ return $super === VOID ? this.i3b(min, $completion) : $super.i3b.call(this, min, $completion);
67
67
  }
68
68
  var ByteReadChannelClass;
69
69
  function ByteReadChannel() {
@@ -75,7 +75,7 @@ function ByteReadChannel() {
75
75
  return ByteReadChannelClass;
76
76
  }
77
77
  function cancel(_this__u8e3s4) {
78
- _this__u8e3s4.x3a(IOException().l2u('Channel was cancelled'));
78
+ _this__u8e3s4.l3b(IOException().z2u('Channel was cancelled'));
79
79
  }
80
80
  //region block: exports
81
81
  export {