@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
@@ -127,7 +127,7 @@ function writeHeaders(request, output, overProxy, closeChannel, $completion) {
127
127
  }
128
128
  function writeBody(request, output, callContext, closeChannel, $completion) {
129
129
  closeChannel = closeChannel === VOID ? true : closeChannel;
130
- var body = getUnwrapped(request.f56_1);
130
+ var body = getUnwrapped(request.t56_1);
131
131
  if (body instanceof NoContent()) {
132
132
  if (closeChannel) {
133
133
  close(output);
@@ -135,22 +135,22 @@ function writeBody(request, output, callContext, closeChannel, $completion) {
135
135
  return Unit_instance;
136
136
  }
137
137
  if (body instanceof ProtocolUpgrade()) {
138
- throw UnsupportedContentTypeException().z54(body);
138
+ throw UnsupportedContentTypeException().n55(body);
139
139
  }
140
- var tmp0_elvis_lhs = request.e56_1.o3r(HttpHeaders_getInstance().h41_1);
140
+ var tmp0_elvis_lhs = request.s56_1.c3s(HttpHeaders_getInstance().v41_1);
141
141
  var tmp;
142
142
  if (tmp0_elvis_lhs == null) {
143
- var tmp1_safe_receiver = body.f4b();
143
+ var tmp1_safe_receiver = body.t4b();
144
144
  tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
145
145
  } else {
146
146
  tmp = tmp0_elvis_lhs;
147
147
  }
148
148
  var contentLength = tmp;
149
- var contentEncoding = request.e56_1.o3r(HttpHeaders_getInstance().o43_1);
150
- var responseEncoding = body.l45().o3r(HttpHeaders_getInstance().o43_1);
149
+ var contentEncoding = request.s56_1.c3s(HttpHeaders_getInstance().c44_1);
150
+ var responseEncoding = body.z45().c3s(HttpHeaders_getInstance().c44_1);
151
151
  var chunked = isChunked(contentLength, responseEncoding, contentEncoding);
152
152
  var chunkedJob = chunked ? encodeChunked(output, callContext) : null;
153
- var tmp3_elvis_lhs = chunkedJob == null ? null : chunkedJob.p3g_1;
153
+ var tmp3_elvis_lhs = chunkedJob == null ? null : chunkedJob.d3h_1;
154
154
  var channel = tmp3_elvis_lhs == null ? output : tmp3_elvis_lhs;
155
155
  var scope = CoroutineScope(callContext.lm(new (CoroutineName())('cio-client-body-writer')));
156
156
  launch(scope, VOID, VOID, writeBody$slambda_0(request, body, channel, chunkedJob, output, closeChannel, null));
@@ -169,16 +169,16 @@ function withoutClosePropagation(_this__u8e3s4, coroutineContext, closeOnCorouti
169
169
  tmp.v1y(withoutClosePropagation$lambda(_this__u8e3s4));
170
170
  }
171
171
  var tmp_0 = GlobalScope_instance;
172
- return reader(tmp_0, coroutineContext, true, withoutClosePropagation$slambda_0(_this__u8e3s4, null)).p3g_1;
172
+ return reader(tmp_0, coroutineContext, true, withoutClosePropagation$slambda_0(_this__u8e3s4, null)).d3h_1;
173
173
  }
174
174
  function toMap(_this__u8e3s4) {
175
175
  // Inline function 'kotlin.collections.mutableMapOf' call
176
176
  var result = LinkedHashMap().ub();
177
- var _iterator__ex2g4s = _this__u8e3s4.f4h().d1();
177
+ var _iterator__ex2g4s = _this__u8e3s4.t4h().d1();
178
178
  while (_iterator__ex2g4s.e1()) {
179
179
  var offset = _iterator__ex2g4s.f1();
180
- var key = toString(_this__u8e3s4.n4h(offset));
181
- var value = toString(_this__u8e3s4.e4h(offset));
180
+ var key = toString(_this__u8e3s4.b4i(offset));
181
+ var value = toString(_this__u8e3s4.s4h(offset));
182
182
  var tmp0_safe_receiver = result.w2(key);
183
183
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m(value)) == null) {
184
184
  // Inline function 'kotlin.collections.set' call
@@ -189,7 +189,7 @@ function toMap(_this__u8e3s4) {
189
189
  return result;
190
190
  }
191
191
  function isInformational(_this__u8e3s4) {
192
- return (_this__u8e3s4.h48_1 / 100 | 0) === 1;
192
+ return (_this__u8e3s4.v48_1 / 100 | 0) === 1;
193
193
  }
194
194
  function isChunked(contentLength, responseEncoding, contentEncoding) {
195
195
  return contentLength == null || responseEncoding === 'chunked' || contentEncoding === 'chunked';
@@ -197,7 +197,7 @@ function isChunked(contentLength, responseEncoding, contentEncoding) {
197
197
  function getUnwrapped(_this__u8e3s4) {
198
198
  var tmp;
199
199
  if (_this__u8e3s4 instanceof ContentWrapper()) {
200
- tmp = getUnwrapped(_this__u8e3s4.p4b());
200
+ tmp = getUnwrapped(_this__u8e3s4.d4c());
201
201
  } else {
202
202
  tmp = _this__u8e3s4;
203
203
  }
@@ -216,21 +216,21 @@ function writeRequest$slambda() {
216
216
  constructor($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation, $box) {
217
217
  if ($box === VOID)
218
218
  $box = {};
219
- $box.z7b_1 = $request;
220
- $box.a7c_1 = $output;
221
- $box.b7c_1 = $overProxy;
222
- $box.c7c_1 = $closeChannel;
223
- $box.d7c_1 = $callContext;
219
+ $box.q7c_1 = $request;
220
+ $box.r7c_1 = $output;
221
+ $box.s7c_1 = $overProxy;
222
+ $box.t7c_1 = $closeChannel;
223
+ $box.u7c_1 = $callContext;
224
224
  super(resultContinuation, $box);
225
225
  }
226
- l37($this$withContext, $completion) {
227
- var tmp = this.p35($this$withContext, $completion);
226
+ z37($this$withContext, $completion) {
227
+ var tmp = this.d36($this$withContext, $completion);
228
228
  tmp.cc_1 = Unit_instance;
229
229
  tmp.dc_1 = null;
230
230
  return tmp.ic();
231
231
  }
232
232
  kd(p1, $completion) {
233
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
233
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
234
234
  }
235
235
  ic() {
236
236
  var suspendResult = this.cc_1;
@@ -241,7 +241,7 @@ function writeRequest$slambda() {
241
241
  case 0:
242
242
  this.bc_1 = 3;
243
243
  this.ac_1 = 1;
244
- suspendResult = writeHeaders(this.z7b_1, this.a7c_1, this.b7c_1, this.c7c_1, this);
244
+ suspendResult = writeHeaders(this.q7c_1, this.r7c_1, this.s7c_1, this.t7c_1, this);
245
245
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
246
246
  return suspendResult;
247
247
  }
@@ -249,7 +249,7 @@ function writeRequest$slambda() {
249
249
  continue $sm;
250
250
  case 1:
251
251
  this.ac_1 = 2;
252
- suspendResult = writeBody(this.z7b_1, this.a7c_1, this.d7c_1, VOID, this);
252
+ suspendResult = writeBody(this.q7c_1, this.r7c_1, this.u7c_1, VOID, this);
253
253
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
254
254
  return suspendResult;
255
255
  }
@@ -271,9 +271,9 @@ function writeRequest$slambda() {
271
271
  }
272
272
  while (true);
273
273
  }
274
- p35($this$withContext, completion) {
275
- var i = new (writeRequest$slambda())(this.z7b_1, this.a7c_1, this.b7c_1, this.c7c_1, this.d7c_1, completion);
276
- i.e7c_1 = $this$withContext;
274
+ d36($this$withContext, completion) {
275
+ var i = new (writeRequest$slambda())(this.q7c_1, this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, completion);
276
+ i.v7c_1 = $this$withContext;
277
277
  return i;
278
278
  }
279
279
  }
@@ -285,7 +285,7 @@ function writeRequest$slambda() {
285
285
  function writeRequest$slambda_0($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation) {
286
286
  var i = new (writeRequest$slambda())($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation);
287
287
  var l = function ($this$withContext, $completion) {
288
- return i.l37($this$withContext, $completion);
288
+ return i.z37($this$withContext, $completion);
289
289
  };
290
290
  l.$arity = 1;
291
291
  return l;
@@ -297,21 +297,21 @@ function readResponse$slambda$slambda() {
297
297
  constructor($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation, $box) {
298
298
  if ($box === VOID)
299
299
  $box = {};
300
- $box.n7c_1 = $version;
301
- $box.o7c_1 = $contentLength;
302
- $box.p7c_1 = $transferEncoding;
303
- $box.q7c_1 = $connectionType;
304
- $box.r7c_1 = $input;
300
+ $box.e7d_1 = $version;
301
+ $box.f7d_1 = $contentLength;
302
+ $box.g7d_1 = $transferEncoding;
303
+ $box.h7d_1 = $connectionType;
304
+ $box.i7d_1 = $input;
305
305
  super(resultContinuation, $box);
306
306
  }
307
- l4l($this$writer, $completion) {
308
- var tmp = this.m4l($this$writer, $completion);
307
+ z4l($this$writer, $completion) {
308
+ var tmp = this.a4m($this$writer, $completion);
309
309
  tmp.cc_1 = Unit_instance;
310
310
  tmp.dc_1 = null;
311
311
  return tmp.ic();
312
312
  }
313
313
  kd(p1, $completion) {
314
- return this.l4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
314
+ return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
315
315
  }
316
316
  ic() {
317
317
  var suspendResult = this.cc_1;
@@ -322,7 +322,7 @@ function readResponse$slambda$slambda() {
322
322
  case 0:
323
323
  this.bc_1 = 2;
324
324
  this.ac_1 = 1;
325
- suspendResult = parseHttpBody(this.n7c_1, this.o7c_1, this.p7c_1, this.q7c_1, this.r7c_1, this.s7c_1.v3m_1, this);
325
+ suspendResult = parseHttpBody(this.e7d_1, this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1.j3n_1, this);
326
326
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
327
327
  return suspendResult;
328
328
  }
@@ -344,9 +344,9 @@ function readResponse$slambda$slambda() {
344
344
  }
345
345
  while (true);
346
346
  }
347
- m4l($this$writer, completion) {
348
- var i = new (readResponse$slambda$slambda())(this.n7c_1, this.o7c_1, this.p7c_1, this.q7c_1, this.r7c_1, completion);
349
- i.s7c_1 = $this$writer;
347
+ a4m($this$writer, completion) {
348
+ var i = new (readResponse$slambda$slambda())(this.e7d_1, this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, completion);
349
+ i.j7d_1 = $this$writer;
350
350
  return i;
351
351
  }
352
352
  }
@@ -358,7 +358,7 @@ function readResponse$slambda$slambda() {
358
358
  function readResponse$slambda$slambda_0($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation) {
359
359
  var i = new (readResponse$slambda$slambda())($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation);
360
360
  var l = function ($this$writer, $completion) {
361
- return i.l4l($this$writer, $completion);
361
+ return i.z4l($this$writer, $completion);
362
362
  };
363
363
  l.$arity = 1;
364
364
  return l;
@@ -370,21 +370,21 @@ function readResponse$slambda() {
370
370
  constructor($input, $output, $callContext, $requestTime, $request, resultContinuation, $box) {
371
371
  if ($box === VOID)
372
372
  $box = {};
373
- $box.b7d_1 = $input;
374
- $box.c7d_1 = $output;
375
- $box.d7d_1 = $callContext;
376
- $box.e7d_1 = $requestTime;
377
- $box.f7d_1 = $request;
373
+ $box.s7d_1 = $input;
374
+ $box.t7d_1 = $output;
375
+ $box.u7d_1 = $callContext;
376
+ $box.v7d_1 = $requestTime;
377
+ $box.w7d_1 = $request;
378
378
  super(resultContinuation, $box);
379
379
  }
380
- o57($this$withContext, $completion) {
381
- var tmp = this.p35($this$withContext, $completion);
380
+ c58($this$withContext, $completion) {
381
+ var tmp = this.d36($this$withContext, $completion);
382
382
  tmp.cc_1 = Unit_instance;
383
383
  tmp.dc_1 = null;
384
384
  return tmp.ic();
385
385
  }
386
386
  kd(p1, $completion) {
387
- return this.o57((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
387
+ return this.c58((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
388
388
  }
389
389
  ic() {
390
390
  var suspendResult = this.cc_1;
@@ -395,7 +395,7 @@ function readResponse$slambda() {
395
395
  case 0:
396
396
  this.bc_1 = 2;
397
397
  this.ac_1 = 1;
398
- suspendResult = parseResponse(this.b7d_1, this);
398
+ suspendResult = parseResponse(this.s7d_1, this);
399
399
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
400
400
  return suspendResult;
401
401
  }
@@ -405,7 +405,7 @@ function readResponse$slambda() {
405
405
  var tmp0_elvis_lhs = suspendResult;
406
406
  var tmp_0;
407
407
  if (tmp0_elvis_lhs == null) {
408
- throw ClosedReadChannelException().n38(EOFException().y2q('Failed to parse HTTP response: the server prematurely closed the connection'));
408
+ throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse HTTP response: the server prematurely closed the connection'));
409
409
  } else {
410
410
  tmp_0 = tmp0_elvis_lhs;
411
411
  }
@@ -421,35 +421,35 @@ function readResponse$slambda() {
421
421
  try {
422
422
  var tmp_2;
423
423
  try {
424
- var status = new (HttpStatusCode())(rawResponse.v4m_1, toString(rawResponse.w4m_1));
425
- var tmp0_safe_receiver = rawResponse.x4m_1.o3r(HttpHeaders_getInstance().h41_1);
424
+ var status = new (HttpStatusCode())(rawResponse.j4n_1, toString(rawResponse.k4n_1));
425
+ var tmp0_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
426
426
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toString(tmp0_safe_receiver);
427
427
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : toLong(tmp1_safe_receiver);
428
428
  var contentLength = tmp2_elvis_lhs == null ? new (Long())(-1, -1) : tmp2_elvis_lhs;
429
- var tmp3_safe_receiver = rawResponse.x4m_1.o3r(HttpHeaders_getInstance().o43_1);
429
+ var tmp3_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().c44_1);
430
430
  var transferEncoding = tmp3_safe_receiver == null ? null : toString(tmp3_safe_receiver);
431
- var connectionType = Companion_getInstance_0().n4f(rawResponse.x4m_1.o3r(HttpHeaders_getInstance().d41_1));
432
- var rawHeaders = rawResponse.x4m_1;
431
+ var connectionType = Companion_getInstance_0().b4g(rawResponse.l4n_1.c3s(HttpHeaders_getInstance().r41_1));
432
+ var rawHeaders = rawResponse.l4n_1;
433
433
  var headers = new (HeadersImpl())(toMap(rawHeaders));
434
- var version = Companion_getInstance_1().h1l(rawResponse.u4m_1);
435
- if (status.equals(Companion_getInstance().f46_1)) {
436
- var session = RawWebSocket(this.b7d_1, this.c7d_1, VOID, true, this.d7d_1);
437
- tmp$ret$0 = new (HttpResponseData())(status, this.e7d_1, headers, version, session, this.d7d_1);
434
+ var version = Companion_getInstance_1().h1l(rawResponse.i4n_1);
435
+ if (status.equals(Companion_getInstance().t46_1)) {
436
+ var session = RawWebSocket(this.s7d_1, this.t7d_1, VOID, true, this.u7d_1);
437
+ tmp$ret$0 = new (HttpResponseData())(status, this.v7d_1, headers, version, session, this.u7d_1);
438
438
  break l$ret$1;
439
439
  }
440
440
  var tmp_3;
441
- if (this.f7d_1.d56_1.equals(Companion_getInstance_3().r45_1) || listOf([Companion_getInstance().t46_1, Companion_getInstance().l46_1]).q2(status) || isInformational(status)) {
442
- tmp_3 = Companion_getInstance_2().t3c_1;
441
+ if (this.w7d_1.r56_1.equals(Companion_getInstance_3().f46_1) || listOf([Companion_getInstance().h47_1, Companion_getInstance().z46_1]).q2(status) || isInformational(status)) {
442
+ tmp_3 = Companion_getInstance_2().h3d_1;
443
443
  } else {
444
- var coroutineScope = CoroutineScope(this.d7d_1.lm(new (CoroutineName())('cio-client-body-reader')));
445
- var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.b7d_1, null));
446
- tmp_3 = httpBodyParser.t3m_1;
444
+ var coroutineScope = CoroutineScope(this.u7d_1.lm(new (CoroutineName())('cio-client-body-reader')));
445
+ var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.s7d_1, null));
446
+ tmp_3 = httpBodyParser.h3n_1;
447
447
  }
448
448
  var body = tmp_3;
449
- var tmp4_safe_receiver = this.f7d_1.h56_1.e3r(get_ResponseAdapterAttributeKey());
450
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.f5w(this.f7d_1, status, headers, body, this.f7d_1.f56_1, this.d7d_1);
449
+ var tmp4_safe_receiver = this.w7d_1.v56_1.s3r(get_ResponseAdapterAttributeKey());
450
+ var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t5w(this.w7d_1, status, headers, body, this.w7d_1.t56_1, this.u7d_1);
451
451
  var responseBody = tmp5_elvis_lhs == null ? body : tmp5_elvis_lhs;
452
- tmp$ret$0 = new (HttpResponseData())(status, this.e7d_1, headers, version, responseBody, this.d7d_1);
452
+ tmp$ret$0 = new (HttpResponseData())(status, this.v7d_1, headers, version, responseBody, this.u7d_1);
453
453
  break l$ret$1;
454
454
  } catch ($p) {
455
455
  var tmp_4;
@@ -496,9 +496,9 @@ function readResponse$slambda() {
496
496
  }
497
497
  while (true);
498
498
  }
499
- p35($this$withContext, completion) {
500
- var i = new (readResponse$slambda())(this.b7d_1, this.c7d_1, this.d7d_1, this.e7d_1, this.f7d_1, completion);
501
- i.g7d_1 = $this$withContext;
499
+ d36($this$withContext, completion) {
500
+ var i = new (readResponse$slambda())(this.s7d_1, this.t7d_1, this.u7d_1, this.v7d_1, this.w7d_1, completion);
501
+ i.x7d_1 = $this$withContext;
502
502
  return i;
503
503
  }
504
504
  }
@@ -510,7 +510,7 @@ function readResponse$slambda() {
510
510
  function readResponse$slambda_0($input, $output, $callContext, $requestTime, $request, resultContinuation) {
511
511
  var i = new (readResponse$slambda())($input, $output, $callContext, $requestTime, $request, resultContinuation);
512
512
  var l = function ($this$withContext, $completion) {
513
- return i.o57($this$withContext, $completion);
513
+ return i.c58($this$withContext, $completion);
514
514
  };
515
515
  l.$arity = 1;
516
516
  return l;
@@ -518,10 +518,10 @@ function readResponse$slambda_0($input, $output, $callContext, $requestTime, $re
518
518
  function writeHeaders$lambda($builder) {
519
519
  return function (key, value) {
520
520
  var tmp;
521
- if (key === HttpHeaders_getInstance().h41_1 || key === HttpHeaders_getInstance().s41_1) {
521
+ if (key === HttpHeaders_getInstance().v41_1 || key === HttpHeaders_getInstance().g42_1) {
522
522
  return Unit_instance;
523
523
  }
524
- $builder.b4o(key, value);
524
+ $builder.p4o(key, value);
525
525
  return Unit_instance;
526
526
  };
527
527
  }
@@ -532,22 +532,22 @@ function writeBody$slambda() {
532
532
  constructor($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation, $box) {
533
533
  if ($box === VOID)
534
534
  $box = {};
535
- $box.p7d_1 = $request;
536
- $box.q7d_1 = $body;
537
- $box.r7d_1 = $channel;
538
- $box.s7d_1 = $chunkedJob;
539
- $box.t7d_1 = $output;
540
- $box.u7d_1 = $closeChannel;
535
+ $box.g7e_1 = $request;
536
+ $box.h7e_1 = $body;
537
+ $box.i7e_1 = $channel;
538
+ $box.j7e_1 = $chunkedJob;
539
+ $box.k7e_1 = $output;
540
+ $box.l7e_1 = $closeChannel;
541
541
  super(resultContinuation, $box);
542
542
  }
543
- l37($this$launch, $completion) {
544
- var tmp = this.p35($this$launch, $completion);
543
+ z37($this$launch, $completion) {
544
+ var tmp = this.d36($this$launch, $completion);
545
545
  tmp.cc_1 = Unit_instance;
546
546
  tmp.dc_1 = null;
547
547
  return tmp.ic();
548
548
  }
549
549
  kd(p1, $completion) {
550
- return this.l37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
550
+ return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
551
551
  }
552
552
  ic() {
553
553
  var suspendResult = this.cc_1;
@@ -563,14 +563,14 @@ function writeBody$slambda() {
563
563
  this.bc_1 = 4;
564
564
  this.bc_1 = 3;
565
565
  this.ac_1 = 2;
566
- suspendResult = processOutgoingContent(this.p7d_1, this.q7d_1, this.r7d_1, this);
566
+ suspendResult = processOutgoingContent(this.g7e_1, this.h7e_1, this.i7e_1, this);
567
567
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
568
568
  return suspendResult;
569
569
  }
570
570
 
571
571
  continue $sm;
572
572
  case 2:
573
- this.w7d_1 = suspendResult;
573
+ this.n7e_1 = suspendResult;
574
574
  this.bc_1 = 12;
575
575
  this.ac_1 = 8;
576
576
  continue $sm;
@@ -578,41 +578,41 @@ function writeBody$slambda() {
578
578
  this.bc_1 = 4;
579
579
  var tmp_0 = this.dc_1;
580
580
  if (tmp_0 instanceof Error) {
581
- this.x7d_1 = this.dc_1;
581
+ this.o7e_1 = this.dc_1;
582
582
  var tmp_1 = this;
583
- close_0(this.r7d_1, this.x7d_1);
584
- throw this.x7d_1;
583
+ close_0(this.i7e_1, this.o7e_1);
584
+ throw this.o7e_1;
585
585
  } else {
586
586
  throw this.dc_1;
587
587
  }
588
588
 
589
589
  case 4:
590
590
  this.bc_1 = 12;
591
- this.y7d_1 = this.dc_1;
591
+ this.p7e_1 = this.dc_1;
592
592
  this.ac_1 = 5;
593
- suspendResult = this.r7d_1.l3a(this);
593
+ suspendResult = this.i7e_1.z3a(this);
594
594
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
595
595
  return suspendResult;
596
596
  }
597
597
 
598
598
  continue $sm;
599
599
  case 5:
600
- var tmp0_safe_receiver = this.s7d_1;
601
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p3g_1;
600
+ var tmp0_safe_receiver = this.j7e_1;
601
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3h_1;
602
602
  if (tmp1_safe_receiver == null)
603
603
  null;
604
604
  else {
605
605
  close(tmp1_safe_receiver);
606
606
  }
607
607
 
608
- this.z7d_1 = this.s7d_1;
609
- if (this.z7d_1 == null) {
610
- this.a7e_1 = null;
608
+ this.q7e_1 = this.j7e_1;
609
+ if (this.q7e_1 == null) {
610
+ this.r7e_1 = null;
611
611
  this.ac_1 = 7;
612
612
  continue $sm;
613
613
  } else {
614
614
  this.ac_1 = 6;
615
- suspendResult = join(this.z7d_1, this);
615
+ suspendResult = join(this.q7e_1, this);
616
616
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
617
617
  return suspendResult;
618
618
  }
@@ -621,11 +621,11 @@ function writeBody$slambda() {
621
621
 
622
622
  case 6:
623
623
  var tmp_2 = this;
624
- tmp_2.a7e_1 = Unit_instance;
624
+ tmp_2.r7e_1 = Unit_instance;
625
625
  this.ac_1 = 7;
626
626
  continue $sm;
627
627
  case 7:
628
- var tmp3_safe_receiver = this.t7d_1.r3a();
628
+ var tmp3_safe_receiver = this.k7e_1.f3b();
629
629
  var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : unwrapCancellationException(tmp3_safe_receiver);
630
630
  var tmp_3;
631
631
  if (tmp4_safe_receiver == null) {
@@ -647,37 +647,37 @@ function writeBody$slambda() {
647
647
  throw tmp5_safe_receiver;
648
648
  }
649
649
 
650
- if (this.u7d_1) {
651
- close(this.t7d_1);
650
+ if (this.l7e_1) {
651
+ close(this.k7e_1);
652
652
  }
653
653
 
654
- throw this.y7d_1;
654
+ throw this.p7e_1;
655
655
  case 8:
656
656
  this.bc_1 = 12;
657
657
  this.ac_1 = 9;
658
- suspendResult = this.r7d_1.l3a(this);
658
+ suspendResult = this.i7e_1.z3a(this);
659
659
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
660
660
  return suspendResult;
661
661
  }
662
662
 
663
663
  continue $sm;
664
664
  case 9:
665
- var tmp0_safe_receiver_0 = this.s7d_1;
666
- var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.p3g_1;
665
+ var tmp0_safe_receiver_0 = this.j7e_1;
666
+ var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.d3h_1;
667
667
  if (tmp1_safe_receiver_0 == null)
668
668
  null;
669
669
  else {
670
670
  close(tmp1_safe_receiver_0);
671
671
  }
672
672
 
673
- this.b7e_1 = this.s7d_1;
674
- if (this.b7e_1 == null) {
675
- this.c7e_1 = null;
673
+ this.s7e_1 = this.j7e_1;
674
+ if (this.s7e_1 == null) {
675
+ this.t7e_1 = null;
676
676
  this.ac_1 = 11;
677
677
  continue $sm;
678
678
  } else {
679
679
  this.ac_1 = 10;
680
- suspendResult = join(this.b7e_1, this);
680
+ suspendResult = join(this.s7e_1, this);
681
681
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
682
682
  return suspendResult;
683
683
  }
@@ -686,11 +686,11 @@ function writeBody$slambda() {
686
686
 
687
687
  case 10:
688
688
  var tmp_5 = this;
689
- tmp_5.c7e_1 = Unit_instance;
689
+ tmp_5.t7e_1 = Unit_instance;
690
690
  this.ac_1 = 11;
691
691
  continue $sm;
692
692
  case 11:
693
- var tmp3_safe_receiver_0 = this.t7d_1.r3a();
693
+ var tmp3_safe_receiver_0 = this.k7e_1.f3b();
694
694
  var tmp4_safe_receiver_0 = tmp3_safe_receiver_0 == null ? null : unwrapCancellationException(tmp3_safe_receiver_0);
695
695
  var tmp_6;
696
696
  if (tmp4_safe_receiver_0 == null) {
@@ -712,8 +712,8 @@ function writeBody$slambda() {
712
712
  throw tmp5_safe_receiver_0;
713
713
  }
714
714
 
715
- if (this.u7d_1) {
716
- close(this.t7d_1);
715
+ if (this.l7e_1) {
716
+ close(this.k7e_1);
717
717
  }
718
718
 
719
719
  return Unit_instance;
@@ -731,9 +731,9 @@ function writeBody$slambda() {
731
731
  }
732
732
  while (true);
733
733
  }
734
- p35($this$launch, completion) {
735
- var i = new (writeBody$slambda())(this.p7d_1, this.q7d_1, this.r7d_1, this.s7d_1, this.t7d_1, this.u7d_1, completion);
736
- i.v7d_1 = $this$launch;
734
+ d36($this$launch, completion) {
735
+ var i = new (writeBody$slambda())(this.g7e_1, this.h7e_1, this.i7e_1, this.j7e_1, this.k7e_1, this.l7e_1, completion);
736
+ i.m7e_1 = $this$launch;
737
737
  return i;
738
738
  }
739
739
  }
@@ -745,7 +745,7 @@ function writeBody$slambda() {
745
745
  function writeBody$slambda_0($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation) {
746
746
  var i = new (writeBody$slambda())($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation);
747
747
  var l = function ($this$launch, $completion) {
748
- return i.l37($this$launch, $completion);
748
+ return i.z37($this$launch, $completion);
749
749
  };
750
750
  l.$arity = 1;
751
751
  return l;
@@ -763,17 +763,17 @@ function withoutClosePropagation$slambda() {
763
763
  constructor($this_withoutClosePropagation, resultContinuation, $box) {
764
764
  if ($box === VOID)
765
765
  $box = {};
766
- $box.l7e_1 = $this_withoutClosePropagation;
766
+ $box.c7f_1 = $this_withoutClosePropagation;
767
767
  super(resultContinuation, $box);
768
768
  }
769
- a4f($this$reader, $completion) {
770
- var tmp = this.b4f($this$reader, $completion);
769
+ o4f($this$reader, $completion) {
770
+ var tmp = this.p4f($this$reader, $completion);
771
771
  tmp.cc_1 = Unit_instance;
772
772
  tmp.dc_1 = null;
773
773
  return tmp.ic();
774
774
  }
775
775
  kd(p1, $completion) {
776
- return this.a4f(p1 instanceof ReaderScope() ? p1 : THROW_CCE(), $completion);
776
+ return this.o4f(p1 instanceof ReaderScope() ? p1 : THROW_CCE(), $completion);
777
777
  }
778
778
  ic() {
779
779
  var suspendResult = this.cc_1;
@@ -784,7 +784,7 @@ function withoutClosePropagation$slambda() {
784
784
  case 0:
785
785
  this.bc_1 = 3;
786
786
  this.ac_1 = 1;
787
- suspendResult = copyTo(this.m7e_1.r3g_1, this.l7e_1, new (Long())(-1, 2147483647), this);
787
+ suspendResult = copyTo(this.d7f_1.f3h_1, this.c7f_1, new (Long())(-1, 2147483647), this);
788
788
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
789
789
  return suspendResult;
790
790
  }
@@ -792,7 +792,7 @@ function withoutClosePropagation$slambda() {
792
792
  continue $sm;
793
793
  case 1:
794
794
  this.ac_1 = 2;
795
- suspendResult = this.l7e_1.l3a(this);
795
+ suspendResult = this.c7f_1.z3a(this);
796
796
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
797
797
  return suspendResult;
798
798
  }
@@ -814,9 +814,9 @@ function withoutClosePropagation$slambda() {
814
814
  }
815
815
  while (true);
816
816
  }
817
- b4f($this$reader, completion) {
818
- var i = new (withoutClosePropagation$slambda())(this.l7e_1, completion);
819
- i.m7e_1 = $this$reader;
817
+ p4f($this$reader, completion) {
818
+ var i = new (withoutClosePropagation$slambda())(this.c7f_1, completion);
819
+ i.d7f_1 = $this$reader;
820
820
  return i;
821
821
  }
822
822
  }
@@ -828,7 +828,7 @@ function withoutClosePropagation$slambda() {
828
828
  function withoutClosePropagation$slambda_0($this_withoutClosePropagation, resultContinuation) {
829
829
  var i = new (withoutClosePropagation$slambda())($this_withoutClosePropagation, resultContinuation);
830
830
  var l = function ($this$reader, $completion) {
831
- return i.a4f($this$reader, $completion);
831
+ return i.o4f($this$reader, $completion);
832
832
  };
833
833
  l.$arity = 1;
834
834
  return l;
@@ -839,10 +839,10 @@ function $writeHeadersCOROUTINE$() {
839
839
  class $ extends CoroutineImpl() {
840
840
  constructor(request, output, overProxy, closeChannel, resultContinuation) {
841
841
  super(resultContinuation);
842
- this.i79_1 = request;
843
- this.j79_1 = output;
844
- this.k79_1 = overProxy;
845
- this.l79_1 = closeChannel;
842
+ this.z79_1 = request;
843
+ this.a7a_1 = output;
844
+ this.b7a_1 = overProxy;
845
+ this.c7a_1 = closeChannel;
846
846
  }
847
847
  ic() {
848
848
  var suspendResult = this.cc_1;
@@ -852,26 +852,26 @@ function $writeHeadersCOROUTINE$() {
852
852
  switch (tmp) {
853
853
  case 0:
854
854
  this.bc_1 = 9;
855
- this.m79_1 = new (RequestResponseBuilder())();
856
- this.n79_1 = this.i79_1.d56_1;
857
- this.o79_1 = this.i79_1.c56_1;
858
- this.p79_1 = this.i79_1.e56_1;
859
- this.q79_1 = this.i79_1.f56_1;
855
+ this.d7a_1 = new (RequestResponseBuilder())();
856
+ this.e7a_1 = this.z79_1.r56_1;
857
+ this.f7a_1 = this.z79_1.q56_1;
858
+ this.g7a_1 = this.z79_1.s56_1;
859
+ this.h7a_1 = this.z79_1.t56_1;
860
860
  var tmp_0 = this;
861
- var tmp0_elvis_lhs = this.p79_1.o3r(HttpHeaders_getInstance().h41_1);
861
+ var tmp0_elvis_lhs = this.g7a_1.c3s(HttpHeaders_getInstance().v41_1);
862
862
  var tmp_1;
863
863
  if (tmp0_elvis_lhs == null) {
864
- var tmp1_safe_receiver = this.q79_1.f4b();
864
+ var tmp1_safe_receiver = this.h7a_1.t4b();
865
865
  tmp_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
866
866
  } else {
867
867
  tmp_1 = tmp0_elvis_lhs;
868
868
  }
869
869
 
870
- tmp_0.r79_1 = tmp_1;
871
- this.s79_1 = this.p79_1.o3r(HttpHeaders_getInstance().o43_1);
872
- this.t79_1 = this.q79_1.l45().o3r(HttpHeaders_getInstance().o43_1);
873
- this.u79_1 = isChunked(this.r79_1, this.t79_1, this.s79_1);
874
- this.v79_1 = this.p79_1.o3r(HttpHeaders_getInstance().s41_1);
870
+ tmp_0.i7a_1 = tmp_1;
871
+ this.j7a_1 = this.g7a_1.c3s(HttpHeaders_getInstance().c44_1);
872
+ this.k7a_1 = this.h7a_1.z45().c3s(HttpHeaders_getInstance().c44_1);
873
+ this.l7a_1 = isChunked(this.i7a_1, this.k7a_1, this.j7a_1);
874
+ this.m7a_1 = this.g7a_1.c3s(HttpHeaders_getInstance().g42_1);
875
875
  this.ac_1 = 1;
876
876
  continue $sm;
877
877
  case 1:
@@ -879,57 +879,57 @@ function $writeHeadersCOROUTINE$() {
879
879
  this.bc_1 = 4;
880
880
  var tmp_2 = this;
881
881
  var tmp_3;
882
- if (this.o79_1.j49_1.j()) {
883
- var this_0 = URLBuilder(this.o79_1);
882
+ if (this.f7a_1.x49_1.j()) {
883
+ var this_0 = URLBuilder(this.f7a_1);
884
884
  set_encodedPath(this_0, '/');
885
885
  tmp_3 = this_0.z1i();
886
886
  } else {
887
- tmp_3 = this.o79_1;
887
+ tmp_3 = this.f7a_1;
888
888
  }
889
889
 
890
- tmp_2.x79_1 = tmp_3;
891
- this.y79_1 = this.k79_1 ? this.x79_1.toString() : get_fullPath(this.x79_1);
892
- this.m79_1.a4o(this.n79_1, this.y79_1, Companion_getInstance_1().w45_1.toString());
893
- if (!this.p79_1.v3s(HttpHeaders_getInstance().w41_1)) {
890
+ tmp_2.o7a_1 = tmp_3;
891
+ this.p7a_1 = this.b7a_1 ? this.o7a_1.toString() : get_fullPath(this.o7a_1);
892
+ this.d7a_1.o4o(this.e7a_1, this.p7a_1, Companion_getInstance_1().k46_1.toString());
893
+ if (!this.g7a_1.j3t(HttpHeaders_getInstance().k42_1)) {
894
894
  var tmp_4;
895
- if (this.o79_1.m49_1.y48_1 === this.o79_1.s4a()) {
896
- tmp_4 = this.o79_1.a49_1;
895
+ if (this.f7a_1.a4a_1.m49_1 === this.f7a_1.g4b()) {
896
+ tmp_4 = this.f7a_1.o49_1;
897
897
  } else {
898
- tmp_4 = get_hostWithPort(this.o79_1);
898
+ tmp_4 = get_hostWithPort(this.f7a_1);
899
899
  }
900
900
  var host = tmp_4;
901
- this.m79_1.b4o(HttpHeaders_getInstance().w41_1, host);
901
+ this.d7a_1.p4o(HttpHeaders_getInstance().k42_1, host);
902
902
  }
903
903
 
904
904
  var tmp_5 = this;
905
- var tmp_6 = this.q79_1;
906
- tmp_5.z79_1 = !(tmp_6 instanceof NoContent());
907
- if (!(this.r79_1 == null)) {
908
- if (get_supportsRequestBody(this.n79_1) || this.z79_1) {
909
- this.m79_1.b4o(HttpHeaders_getInstance().h41_1, this.r79_1);
905
+ var tmp_6 = this.h7a_1;
906
+ tmp_5.q7a_1 = !(tmp_6 instanceof NoContent());
907
+ if (!(this.i7a_1 == null)) {
908
+ if (get_supportsRequestBody(this.e7a_1) || this.q7a_1) {
909
+ this.d7a_1.p4o(HttpHeaders_getInstance().v41_1, this.i7a_1);
910
910
  }
911
911
  }
912
912
 
913
- mergeHeaders(this.p79_1, this.q79_1, writeHeaders$lambda(this.m79_1));
913
+ mergeHeaders(this.g7a_1, this.h7a_1, writeHeaders$lambda(this.d7a_1));
914
914
  var tmp_7;
915
- if (this.u79_1 && this.s79_1 == null && this.t79_1 == null) {
916
- var tmp_8 = this.q79_1;
915
+ if (this.l7a_1 && this.j7a_1 == null && this.k7a_1 == null) {
916
+ var tmp_8 = this.h7a_1;
917
917
  tmp_7 = !(tmp_8 instanceof NoContent());
918
918
  } else {
919
919
  tmp_7 = false;
920
920
  }
921
921
 
922
922
  if (tmp_7) {
923
- this.m79_1.b4o(HttpHeaders_getInstance().o43_1, 'chunked');
923
+ this.d7a_1.p4o(HttpHeaders_getInstance().c44_1, 'chunked');
924
924
  }
925
925
 
926
- if (expectContinue(this.v79_1, this.q79_1)) {
927
- this.m79_1.b4o(HttpHeaders_getInstance().s41_1, ensureNotNull(this.v79_1));
926
+ if (expectContinue(this.m7a_1, this.h7a_1)) {
927
+ this.d7a_1.p4o(HttpHeaders_getInstance().g42_1, ensureNotNull(this.m7a_1));
928
928
  }
929
929
 
930
- this.m79_1.c4o();
930
+ this.d7a_1.q4o();
931
931
  this.ac_1 = 2;
932
- suspendResult = writePacket(this.j79_1, this.m79_1.z1i(), this);
932
+ suspendResult = writePacket(this.a7a_1, this.d7a_1.z1i(), this);
933
933
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
934
934
  return suspendResult;
935
935
  }
@@ -937,14 +937,14 @@ function $writeHeadersCOROUTINE$() {
937
937
  continue $sm;
938
938
  case 2:
939
939
  this.ac_1 = 3;
940
- suspendResult = this.j79_1.l3a(this);
940
+ suspendResult = this.a7a_1.z3a(this);
941
941
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
942
942
  return suspendResult;
943
943
  }
944
944
 
945
945
  continue $sm;
946
946
  case 3:
947
- this.w79_1 = suspendResult;
947
+ this.n7a_1 = suspendResult;
948
948
  this.bc_1 = 9;
949
949
  this.ac_1 = 7;
950
950
  continue $sm;
@@ -952,10 +952,10 @@ function $writeHeadersCOROUTINE$() {
952
952
  this.bc_1 = 8;
953
953
  var tmp_9 = this.dc_1;
954
954
  if (tmp_9 instanceof Error) {
955
- this.a7a_1 = this.dc_1;
956
- if (this.l79_1) {
955
+ this.r7a_1 = this.dc_1;
956
+ if (this.c7a_1) {
957
957
  this.ac_1 = 5;
958
- suspendResult = this.j79_1.w3a(this);
958
+ suspendResult = this.a7a_1.k3b(this);
959
959
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
960
960
  return suspendResult;
961
961
  }
@@ -973,15 +973,15 @@ function $writeHeadersCOROUTINE$() {
973
973
  continue $sm;
974
974
  case 6:
975
975
  var tmp_10 = this;
976
- throw this.a7a_1;
976
+ throw this.r7a_1;
977
977
  case 7:
978
978
  this.bc_1 = 9;
979
- this.m79_1.y2n();
979
+ this.d7a_1.m2o();
980
980
  return Unit_instance;
981
981
  case 8:
982
982
  this.bc_1 = 9;
983
983
  var t = this.dc_1;
984
- this.m79_1.y2n();
984
+ this.d7a_1.m2o();
985
985
  throw t;
986
986
  case 9:
987
987
  throw this.dc_1;
@@ -1009,9 +1009,9 @@ function $startTunnelCOROUTINE$() {
1009
1009
  class $ extends CoroutineImpl() {
1010
1010
  constructor(request, output, input, resultContinuation) {
1011
1011
  super(resultContinuation);
1012
- this.j7a_1 = request;
1013
- this.k7a_1 = output;
1014
- this.l7a_1 = input;
1012
+ this.a7b_1 = request;
1013
+ this.b7b_1 = output;
1014
+ this.c7b_1 = input;
1015
1015
  }
1016
1016
  ic() {
1017
1017
  var suspendResult = this.cc_1;
@@ -1021,39 +1021,39 @@ function $startTunnelCOROUTINE$() {
1021
1021
  switch (tmp) {
1022
1022
  case 0:
1023
1023
  this.bc_1 = 17;
1024
- this.m7a_1 = new (RequestResponseBuilder())();
1024
+ this.d7b_1 = new (RequestResponseBuilder())();
1025
1025
  this.ac_1 = 1;
1026
1026
  continue $sm;
1027
1027
  case 1:
1028
1028
  this.bc_1 = 16;
1029
- this.o7a_1 = get_hostWithPort(this.j7a_1.c56_1);
1030
- this.m7a_1.a4o(new (HttpMethod())('CONNECT'), this.o7a_1, Companion_getInstance_1().w45_1.toString());
1031
- this.m7a_1.b4o(HttpHeaders_getInstance().w41_1, this.o7a_1);
1032
- this.m7a_1.b4o('Proxy-Connection', 'Keep-Alive');
1033
- var tmp0_safe_receiver = this.j7a_1.e56_1.o3r(HttpHeaders_getInstance().q43_1);
1029
+ this.f7b_1 = get_hostWithPort(this.a7b_1.q56_1);
1030
+ this.d7b_1.o4o(new (HttpMethod())('CONNECT'), this.f7b_1, Companion_getInstance_1().k46_1.toString());
1031
+ this.d7b_1.p4o(HttpHeaders_getInstance().k42_1, this.f7b_1);
1032
+ this.d7b_1.p4o('Proxy-Connection', 'Keep-Alive');
1033
+ var tmp0_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().e44_1);
1034
1034
  if (tmp0_safe_receiver == null)
1035
1035
  null;
1036
1036
  else {
1037
- this.m7a_1.b4o(HttpHeaders_getInstance().q43_1, tmp0_safe_receiver);
1037
+ this.d7b_1.p4o(HttpHeaders_getInstance().e44_1, tmp0_safe_receiver);
1038
1038
  }
1039
1039
 
1040
- var tmp1_safe_receiver = this.j7a_1.e56_1.o3r(HttpHeaders_getInstance().s42_1);
1040
+ var tmp1_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().g43_1);
1041
1041
  if (tmp1_safe_receiver == null)
1042
1042
  null;
1043
1043
  else {
1044
- this.m7a_1.b4o(HttpHeaders_getInstance().s42_1, tmp1_safe_receiver);
1044
+ this.d7b_1.p4o(HttpHeaders_getInstance().g43_1, tmp1_safe_receiver);
1045
1045
  }
1046
1046
 
1047
- var tmp2_safe_receiver = this.j7a_1.e56_1.o3r(HttpHeaders_getInstance().u42_1);
1047
+ var tmp2_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().i43_1);
1048
1048
  if (tmp2_safe_receiver == null)
1049
1049
  null;
1050
1050
  else {
1051
- this.m7a_1.b4o(HttpHeaders_getInstance().u42_1, tmp2_safe_receiver);
1051
+ this.d7b_1.p4o(HttpHeaders_getInstance().i43_1, tmp2_safe_receiver);
1052
1052
  }
1053
1053
 
1054
- this.m7a_1.c4o();
1054
+ this.d7b_1.q4o();
1055
1055
  this.ac_1 = 2;
1056
- suspendResult = writePacket(this.k7a_1, this.m7a_1.z1i(), this);
1056
+ suspendResult = writePacket(this.b7b_1, this.d7b_1.z1i(), this);
1057
1057
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1058
1058
  return suspendResult;
1059
1059
  }
@@ -1061,7 +1061,7 @@ function $startTunnelCOROUTINE$() {
1061
1061
  continue $sm;
1062
1062
  case 2:
1063
1063
  this.ac_1 = 3;
1064
- suspendResult = this.k7a_1.l3a(this);
1064
+ suspendResult = this.b7b_1.z3a(this);
1065
1065
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1066
1066
  return suspendResult;
1067
1067
  }
@@ -1069,30 +1069,30 @@ function $startTunnelCOROUTINE$() {
1069
1069
  continue $sm;
1070
1070
  case 3:
1071
1071
  this.ac_1 = 4;
1072
- suspendResult = parseResponse(this.l7a_1, this);
1072
+ suspendResult = parseResponse(this.c7b_1, this);
1073
1073
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1074
1074
  return suspendResult;
1075
1075
  }
1076
1076
 
1077
1077
  continue $sm;
1078
1078
  case 4:
1079
- this.p7a_1 = suspendResult;
1079
+ this.g7b_1 = suspendResult;
1080
1080
  var tmp_0 = this;
1081
1081
  var tmp_1;
1082
- if (this.p7a_1 == null) {
1083
- throw ClosedReadChannelException().n38(EOFException().y2q('Failed to parse CONNECT response: unexpected EOF'));
1082
+ if (this.g7b_1 == null) {
1083
+ throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse CONNECT response: unexpected EOF'));
1084
1084
  } else {
1085
- tmp_1 = this.p7a_1;
1085
+ tmp_1 = this.g7b_1;
1086
1086
  }
1087
1087
 
1088
- tmp_0.q7a_1 = tmp_1;
1088
+ tmp_0.h7b_1 = tmp_1;
1089
1089
  var tmp_2 = this;
1090
- tmp_2.r7a_1 = this.q7a_1;
1090
+ tmp_2.i7b_1 = this.h7b_1;
1091
1091
  this.ac_1 = 5;
1092
1092
  continue $sm;
1093
1093
  case 5:
1094
- this.t7a_1 = this.r7a_1;
1095
- this.u7a_1 = null;
1094
+ this.k7b_1 = this.i7b_1;
1095
+ this.l7b_1 = null;
1096
1096
  this.ac_1 = 6;
1097
1097
  continue $sm;
1098
1098
  case 6:
@@ -1102,26 +1102,26 @@ function $startTunnelCOROUTINE$() {
1102
1102
  this.bc_1 = 12;
1103
1103
  this.bc_1 = 11;
1104
1104
  var tmp_3 = this;
1105
- tmp_3.w7a_1 = this.t7a_1;
1106
- this.x7a_1 = this.w7a_1;
1107
- if (!((this.q7a_1.v4m_1 / 200 | 0) === 1)) {
1108
- throw IOException().l2u('Can not establish tunnel connection');
1105
+ tmp_3.n7b_1 = this.k7b_1;
1106
+ this.o7b_1 = this.n7b_1;
1107
+ if (!((this.h7b_1.j4n_1 / 200 | 0) === 1)) {
1108
+ throw IOException().z2u('Can not establish tunnel connection');
1109
1109
  }
1110
1110
 
1111
- this.y7a_1 = this.q7a_1.x4m_1.o3r(HttpHeaders_getInstance().h41_1);
1112
- if (this.y7a_1 == null) {
1113
- this.z7a_1 = null;
1111
+ this.p7b_1 = this.h7b_1.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
1112
+ if (this.p7b_1 == null) {
1113
+ this.q7b_1 = null;
1114
1114
  this.ac_1 = 9;
1115
1115
  continue $sm;
1116
1116
  } else {
1117
1117
  var tmp_4 = this;
1118
- tmp_4.a7b_1 = this.y7a_1;
1119
- this.b7b_1 = this.a7b_1;
1118
+ tmp_4.r7b_1 = this.p7b_1;
1119
+ this.s7b_1 = this.r7b_1;
1120
1120
  var tmp_5 = this;
1121
- tmp_5.c7b_1 = this.b7b_1;
1122
- this.d7b_1 = this.c7b_1;
1121
+ tmp_5.t7b_1 = this.s7b_1;
1122
+ this.u7b_1 = this.t7b_1;
1123
1123
  this.ac_1 = 8;
1124
- suspendResult = discard(this.l7a_1, toLong(toString(this.d7b_1)), this);
1124
+ suspendResult = discard(this.c7b_1, toLong(toString(this.u7b_1)), this);
1125
1125
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1126
1126
  return suspendResult;
1127
1127
  }
@@ -1129,19 +1129,19 @@ function $startTunnelCOROUTINE$() {
1129
1129
  }
1130
1130
 
1131
1131
  case 8:
1132
- this.z7a_1 = suspendResult;
1132
+ this.q7b_1 = suspendResult;
1133
1133
  this.ac_1 = 9;
1134
1134
  continue $sm;
1135
1135
  case 9:
1136
- this.v7a_1 = this.z7a_1;
1136
+ this.m7b_1 = this.q7b_1;
1137
1137
  this.ac_1 = 10;
1138
1138
  var tmp_6 = this;
1139
1139
  continue $sm;
1140
1140
  case 10:
1141
- var tmp_7 = this.v7a_1;
1141
+ var tmp_7 = this.m7b_1;
1142
1142
  this.bc_1 = 16;
1143
- closeFinally(this.t7a_1, this.u7a_1);
1144
- this.s7a_1 = tmp_7;
1143
+ closeFinally(this.k7b_1, this.l7b_1);
1144
+ this.j7b_1 = tmp_7;
1145
1145
  this.ac_1 = 14;
1146
1146
  continue $sm;
1147
1147
  case 11:
@@ -1150,7 +1150,7 @@ function $startTunnelCOROUTINE$() {
1150
1150
  if (tmp_8 instanceof Error) {
1151
1151
  var e = this.dc_1;
1152
1152
  var tmp_9 = this;
1153
- this.u7a_1 = e;
1153
+ this.l7b_1 = e;
1154
1154
  throw e;
1155
1155
  } else {
1156
1156
  throw this.dc_1;
@@ -1159,11 +1159,11 @@ function $startTunnelCOROUTINE$() {
1159
1159
  case 12:
1160
1160
  this.bc_1 = 16;
1161
1161
  var t = this.dc_1;
1162
- closeFinally(this.t7a_1, this.u7a_1);
1162
+ closeFinally(this.k7b_1, this.l7b_1);
1163
1163
  throw t;
1164
1164
  case 13:
1165
1165
  this.bc_1 = 16;
1166
- closeFinally(this.t7a_1, this.u7a_1);
1166
+ closeFinally(this.k7b_1, this.l7b_1);
1167
1167
  if (false) {
1168
1168
  this.ac_1 = 5;
1169
1169
  continue $sm;
@@ -1172,19 +1172,19 @@ function $startTunnelCOROUTINE$() {
1172
1172
  this.ac_1 = 14;
1173
1173
  continue $sm;
1174
1174
  case 14:
1175
- this.n7a_1 = this.s7a_1;
1175
+ this.e7b_1 = this.j7b_1;
1176
1176
  this.bc_1 = 17;
1177
1177
  this.ac_1 = 15;
1178
1178
  continue $sm;
1179
1179
  case 15:
1180
- this.n7a_1;
1180
+ this.e7b_1;
1181
1181
  this.bc_1 = 17;
1182
- this.m7a_1.y2n();
1182
+ this.d7b_1.m2o();
1183
1183
  return Unit_instance;
1184
1184
  case 16:
1185
1185
  this.bc_1 = 17;
1186
1186
  var t_0 = this.dc_1;
1187
- this.m7a_1.y2n();
1187
+ this.d7b_1.m2o();
1188
1188
  throw t_0;
1189
1189
  case 17:
1190
1190
  throw this.dc_1;
@@ -1212,9 +1212,9 @@ function $processOutgoingContentCOROUTINE$() {
1212
1212
  class $ extends CoroutineImpl() {
1213
1213
  constructor(request, body, channel, resultContinuation) {
1214
1214
  super(resultContinuation);
1215
- this.m7b_1 = request;
1216
- this.n7b_1 = body;
1217
- this.o7b_1 = channel;
1215
+ this.d7c_1 = request;
1216
+ this.e7c_1 = body;
1217
+ this.f7c_1 = channel;
1218
1218
  }
1219
1219
  ic() {
1220
1220
  var suspendResult = this.cc_1;
@@ -1224,50 +1224,50 @@ function $processOutgoingContentCOROUTINE$() {
1224
1224
  switch (tmp) {
1225
1225
  case 0:
1226
1226
  this.bc_1 = 6;
1227
- this.p7b_1 = this.n7b_1;
1228
- var tmp_0 = this.p7b_1;
1227
+ this.g7c_1 = this.e7c_1;
1228
+ var tmp_0 = this.g7c_1;
1229
1229
  if (tmp_0 instanceof ByteArrayContent()) {
1230
1230
  this.ac_1 = 4;
1231
- suspendResult = writeFully(this.o7b_1, this.n7b_1.g4b(), VOID, VOID, this);
1231
+ suspendResult = writeFully(this.f7c_1, this.e7c_1.u4b(), VOID, VOID, this);
1232
1232
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1233
1233
  return suspendResult;
1234
1234
  }
1235
1235
  continue $sm;
1236
1236
  } else {
1237
- var tmp_1 = this.p7b_1;
1237
+ var tmp_1 = this.g7c_1;
1238
1238
  if (tmp_1 instanceof ReadChannelContent()) {
1239
1239
  this.ac_1 = 3;
1240
- suspendResult = copyAndClose(this.n7b_1.j4b(), this.o7b_1, this);
1240
+ suspendResult = copyAndClose(this.e7c_1.x4b(), this.f7c_1, this);
1241
1241
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1242
1242
  return suspendResult;
1243
1243
  }
1244
1244
  continue $sm;
1245
1245
  } else {
1246
- var tmp_2 = this.p7b_1;
1246
+ var tmp_2 = this.g7c_1;
1247
1247
  if (tmp_2 instanceof WriteChannelContent()) {
1248
1248
  this.ac_1 = 2;
1249
- suspendResult = this.n7b_1.l4b(this.o7b_1, this);
1249
+ suspendResult = this.e7c_1.z4b(this.f7c_1, this);
1250
1250
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1251
1251
  return suspendResult;
1252
1252
  }
1253
1253
  continue $sm;
1254
1254
  } else {
1255
- var tmp_3 = this.p7b_1;
1255
+ var tmp_3 = this.g7c_1;
1256
1256
  if (tmp_3 instanceof ContentWrapper()) {
1257
1257
  this.ac_1 = 1;
1258
- suspendResult = processOutgoingContent(this.m7b_1, this.n7b_1.p4b(), this.o7b_1, this);
1258
+ suspendResult = processOutgoingContent(this.d7c_1, this.e7c_1.d4c(), this.f7c_1, this);
1259
1259
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1260
1260
  return suspendResult;
1261
1261
  }
1262
1262
  continue $sm;
1263
1263
  } else {
1264
- var tmp_4 = this.p7b_1;
1264
+ var tmp_4 = this.g7c_1;
1265
1265
  if (tmp_4 instanceof ProtocolUpgrade()) {
1266
1266
  var tmp_5 = this;
1267
1267
  var message = 'unreachable code';
1268
1268
  throw IllegalStateException().o4(toString(message));
1269
1269
  } else {
1270
- var tmp_6 = this.p7b_1;
1270
+ var tmp_6 = this.g7c_1;
1271
1271
  if (tmp_6 instanceof NoContent()) {
1272
1272
  var tmp_7 = this;
1273
1273
  var message_0 = 'unreachable code';
@@ -1285,21 +1285,21 @@ function $processOutgoingContentCOROUTINE$() {
1285
1285
  break;
1286
1286
  case 1:
1287
1287
  var tmp_9 = this;
1288
- tmp_9.q7b_1 = Unit_instance;
1288
+ tmp_9.h7c_1 = Unit_instance;
1289
1289
  this.ac_1 = 5;
1290
1290
  continue $sm;
1291
1291
  case 2:
1292
1292
  var tmp_10 = this;
1293
- tmp_10.q7b_1 = Unit_instance;
1293
+ tmp_10.h7c_1 = Unit_instance;
1294
1294
  this.ac_1 = 5;
1295
1295
  continue $sm;
1296
1296
  case 3:
1297
- this.q7b_1 = suspendResult;
1297
+ this.h7c_1 = suspendResult;
1298
1298
  this.ac_1 = 5;
1299
1299
  continue $sm;
1300
1300
  case 4:
1301
1301
  var tmp_11 = this;
1302
- tmp_11.q7b_1 = Unit_instance;
1302
+ tmp_11.h7c_1 = Unit_instance;
1303
1303
  this.ac_1 = 5;
1304
1304
  continue $sm;
1305
1305
  case 5: