@attocash/commons-js 5.0.0 → 5.1.0

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 (282) 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-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
  40. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
  41. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
  42. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
  43. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
  44. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
  45. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
  46. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
  47. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
  48. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  49. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  50. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
  51. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  52. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
  53. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
  54. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
  55. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
  56. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
  57. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  58. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
  59. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
  60. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
  61. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  62. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
  63. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
  64. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  65. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
  66. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  67. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
  68. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
  69. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
  70. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  71. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  72. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
  73. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  74. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  75. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  76. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  77. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
  78. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  79. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  80. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  81. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  82. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
  83. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  84. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
  85. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  86. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
  87. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
  88. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  89. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
  90. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  91. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  92. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  93. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
  94. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
  95. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
  96. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
  97. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
  98. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  99. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
  100. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
  101. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  102. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
  103. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
  104. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  105. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
  106. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
  107. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
  108. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
  109. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
  110. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
  111. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
  112. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
  113. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
  114. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
  115. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
  116. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
  117. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  118. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
  119. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  120. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
  121. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
  122. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
  123. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  124. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
  125. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
  126. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
  127. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
  128. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  129. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  130. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
  131. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  132. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
  133. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
  134. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
  135. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
  136. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
  137. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
  138. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
  139. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
  140. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
  141. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  142. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
  143. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
  144. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
  145. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
  146. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
  147. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
  148. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  149. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
  150. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  151. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
  152. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
  153. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
  154. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
  155. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
  156. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
  157. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
  158. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  159. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  160. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
  161. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
  162. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
  163. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
  164. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
  165. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  166. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  167. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
  168. package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
  169. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
  170. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
  171. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  172. package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
  173. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
  174. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
  175. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
  176. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
  177. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
  178. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  179. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
  180. package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
  181. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
  182. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  183. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  184. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  185. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
  186. package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
  187. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
  188. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
  189. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  190. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
  191. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
  192. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
  193. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
  194. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
  195. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
  196. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
  197. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
  198. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
  199. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
  200. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
  201. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
  202. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  203. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
  204. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  205. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  206. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
  207. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
  208. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  209. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
  210. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
  211. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  212. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
  213. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
  214. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
  215. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
  216. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  217. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
  218. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  219. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  220. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
  221. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  222. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  223. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  224. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  225. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  226. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  227. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  228. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  229. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  230. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  231. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  232. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
  233. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
  234. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
  235. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
  236. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
  237. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
  238. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
  239. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
  240. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
  241. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
  242. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
  243. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
  244. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
  245. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
  246. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
  247. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  248. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
  249. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  250. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
  251. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
  252. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
  253. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
  254. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  255. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
  256. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
  257. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  258. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
  259. package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
  260. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
  261. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  262. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
  263. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  264. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
  265. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
  266. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
  267. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
  268. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
  269. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  270. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  274. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
  275. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  276. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  277. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
  278. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
  279. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
  280. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
  281. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
  282. package/package.json +1 -1
@@ -60,18 +60,18 @@ var imul = Math.imul;
60
60
  //endregion
61
61
  function hasParameter($this, name, value) {
62
62
  var tmp;
63
- switch ($this.a3y_1.i1()) {
63
+ switch ($this.o3y_1.i1()) {
64
64
  case 0:
65
65
  tmp = false;
66
66
  break;
67
67
  case 1:
68
68
  // Inline function 'kotlin.let' call
69
69
 
70
- var it = $this.a3y_1.j1(0);
71
- tmp = (equals(it.b3y_1, name, true) && equals(it.c3y_1, value, true));
70
+ var it = $this.o3y_1.j1(0);
71
+ tmp = (equals(it.p3y_1, name, true) && equals(it.q3y_1, value, true));
72
72
  break;
73
73
  default:
74
- var tmp0 = $this.a3y_1;
74
+ var tmp0 = $this.o3y_1;
75
75
  var tmp$ret$2;
76
76
  $l$block_0: {
77
77
  // Inline function 'kotlin.collections.any' call
@@ -88,7 +88,7 @@ function hasParameter($this, name, value) {
88
88
  var _iterator__ex2g4s = tmp0.d1();
89
89
  while (_iterator__ex2g4s.e1()) {
90
90
  var element = _iterator__ex2g4s.f1();
91
- if (equals(element.b3y_1, name, true) && equals(element.c3y_1, value, true)) {
91
+ if (equals(element.p3y_1, name, true) && equals(element.q3y_1, value, true)) {
92
92
  tmp$ret$2 = true;
93
93
  break $l$block_0;
94
94
  }
@@ -107,34 +107,34 @@ function Companion() {
107
107
  class $ {
108
108
  constructor() {
109
109
  Companion_instance_0 = this;
110
- this.e3y_1 = ContentType().j3y('*', '*');
110
+ this.s3y_1 = ContentType().x3y('*', '*');
111
111
  }
112
112
  ar(value) {
113
113
  if (isBlank(value))
114
- return this.e3y_1;
114
+ return this.s3y_1;
115
115
  // Inline function 'io.ktor.http.Companion.parse' call
116
116
  var headerValue = last(parseHeaderValue(value));
117
- var tmp0 = headerValue.k3y_1;
118
- var parameters = headerValue.l3y_1;
117
+ var tmp0 = headerValue.y3y_1;
118
+ var parameters = headerValue.z3y_1;
119
119
  var slash = indexOf(tmp0, _Char___init__impl__6a9atx(47));
120
120
  if (slash === -1) {
121
121
  // Inline function 'kotlin.text.trim' call
122
122
  if (toString(trim(isCharSequence(tmp0) ? tmp0 : THROW_CCE())) === '*')
123
- return Companion_getInstance().e3y_1;
124
- throw BadContentTypeFormatException().p3y(value);
123
+ return Companion_getInstance().s3y_1;
124
+ throw BadContentTypeFormatException().d3z(value);
125
125
  }
126
126
  // Inline function 'kotlin.text.trim' call
127
127
  var this_0 = substring(tmp0, 0, slash);
128
128
  var type = toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE()));
129
129
  // Inline function 'kotlin.text.isEmpty' call
130
130
  if (charSequenceLength(type) === 0) {
131
- throw BadContentTypeFormatException().p3y(value);
131
+ throw BadContentTypeFormatException().d3z(value);
132
132
  }
133
133
  // Inline function 'kotlin.text.trim' call
134
134
  var this_1 = substring_0(tmp0, slash + 1 | 0);
135
135
  var subtype = toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE()));
136
136
  if (contains(type, _Char___init__impl__6a9atx(32)) || contains(subtype, _Char___init__impl__6a9atx(32))) {
137
- throw BadContentTypeFormatException().p3y(value);
137
+ throw BadContentTypeFormatException().d3z(value);
138
138
  }
139
139
  var tmp;
140
140
  // Inline function 'kotlin.text.isEmpty' call
@@ -144,9 +144,9 @@ function Companion() {
144
144
  tmp = contains(subtype, _Char___init__impl__6a9atx(47));
145
145
  }
146
146
  if (tmp) {
147
- throw BadContentTypeFormatException().p3y(value);
147
+ throw BadContentTypeFormatException().d3z(value);
148
148
  }
149
- return ContentType().j3y(type, subtype, parameters);
149
+ return ContentType().x3y(type, subtype, parameters);
150
150
  }
151
151
  }
152
152
  initMetadataForCompanion($);
@@ -166,32 +166,32 @@ function Application() {
166
166
  class $ {
167
167
  constructor() {
168
168
  Application_instance = this;
169
- this.q3y_1 = 'application';
170
- this.r3y_1 = ContentType().j3y('application', '*');
171
- this.s3y_1 = ContentType().j3y('application', 'atom+xml');
172
- this.t3y_1 = ContentType().j3y('application', 'cbor');
173
- this.u3y_1 = ContentType().j3y('application', 'json');
174
- this.v3y_1 = ContentType().j3y('application', 'hal+json');
175
- this.w3y_1 = ContentType().j3y('application', 'javascript');
176
- this.x3y_1 = ContentType().j3y('application', 'octet-stream');
177
- this.y3y_1 = ContentType().j3y('application', 'rss+xml');
178
- this.z3y_1 = ContentType().j3y('application', 'soap+xml');
179
- this.a3z_1 = ContentType().j3y('application', 'xml');
180
- this.b3z_1 = ContentType().j3y('application', 'xml-dtd');
181
- this.c3z_1 = ContentType().j3y('application', 'yaml');
182
- this.d3z_1 = ContentType().j3y('application', 'zip');
183
- this.e3z_1 = ContentType().j3y('application', 'gzip');
184
- this.f3z_1 = ContentType().j3y('application', 'x-www-form-urlencoded');
185
- this.g3z_1 = ContentType().j3y('application', 'pdf');
186
- this.h3z_1 = ContentType().j3y('application', 'vnd.openxmlformats-officedocument.spreadsheetml.sheet');
187
- this.i3z_1 = ContentType().j3y('application', 'vnd.openxmlformats-officedocument.wordprocessingml.document');
188
- this.j3z_1 = ContentType().j3y('application', 'vnd.openxmlformats-officedocument.presentationml.presentation');
189
- this.k3z_1 = ContentType().j3y('application', 'protobuf');
190
- this.l3z_1 = ContentType().j3y('application', 'wasm');
191
- this.m3z_1 = ContentType().j3y('application', 'problem+json');
192
- this.n3z_1 = ContentType().j3y('application', 'problem+xml');
169
+ this.e3z_1 = 'application';
170
+ this.f3z_1 = ContentType().x3y('application', '*');
171
+ this.g3z_1 = ContentType().x3y('application', 'atom+xml');
172
+ this.h3z_1 = ContentType().x3y('application', 'cbor');
173
+ this.i3z_1 = ContentType().x3y('application', 'json');
174
+ this.j3z_1 = ContentType().x3y('application', 'hal+json');
175
+ this.k3z_1 = ContentType().x3y('application', 'javascript');
176
+ this.l3z_1 = ContentType().x3y('application', 'octet-stream');
177
+ this.m3z_1 = ContentType().x3y('application', 'rss+xml');
178
+ this.n3z_1 = ContentType().x3y('application', 'soap+xml');
179
+ this.o3z_1 = ContentType().x3y('application', 'xml');
180
+ this.p3z_1 = ContentType().x3y('application', 'xml-dtd');
181
+ this.q3z_1 = ContentType().x3y('application', 'yaml');
182
+ this.r3z_1 = ContentType().x3y('application', 'zip');
183
+ this.s3z_1 = ContentType().x3y('application', 'gzip');
184
+ this.t3z_1 = ContentType().x3y('application', 'x-www-form-urlencoded');
185
+ this.u3z_1 = ContentType().x3y('application', 'pdf');
186
+ this.v3z_1 = ContentType().x3y('application', 'vnd.openxmlformats-officedocument.spreadsheetml.sheet');
187
+ this.w3z_1 = ContentType().x3y('application', 'vnd.openxmlformats-officedocument.wordprocessingml.document');
188
+ this.x3z_1 = ContentType().x3y('application', 'vnd.openxmlformats-officedocument.presentationml.presentation');
189
+ this.y3z_1 = ContentType().x3y('application', 'protobuf');
190
+ this.z3z_1 = ContentType().x3y('application', 'wasm');
191
+ this.a40_1 = ContentType().x3y('application', 'problem+json');
192
+ this.b40_1 = ContentType().x3y('application', 'problem+xml');
193
193
  }
194
- o3z(contentType) {
194
+ c40(contentType) {
195
195
  return startsWith(contentType, 'application/', true);
196
196
  }
197
197
  }
@@ -212,17 +212,17 @@ function MultiPart() {
212
212
  class $ {
213
213
  constructor() {
214
214
  MultiPart_instance = this;
215
- this.p3z_1 = 'multipart';
216
- this.q3z_1 = ContentType().j3y('multipart', '*');
217
- this.r3z_1 = ContentType().j3y('multipart', 'mixed');
218
- this.s3z_1 = ContentType().j3y('multipart', 'alternative');
219
- this.t3z_1 = ContentType().j3y('multipart', 'related');
220
- this.u3z_1 = ContentType().j3y('multipart', 'form-data');
221
- this.v3z_1 = ContentType().j3y('multipart', 'signed');
222
- this.w3z_1 = ContentType().j3y('multipart', 'encrypted');
223
- this.x3z_1 = ContentType().j3y('multipart', 'byteranges');
215
+ this.d40_1 = 'multipart';
216
+ this.e40_1 = ContentType().x3y('multipart', '*');
217
+ this.f40_1 = ContentType().x3y('multipart', 'mixed');
218
+ this.g40_1 = ContentType().x3y('multipart', 'alternative');
219
+ this.h40_1 = ContentType().x3y('multipart', 'related');
220
+ this.i40_1 = ContentType().x3y('multipart', 'form-data');
221
+ this.j40_1 = ContentType().x3y('multipart', 'signed');
222
+ this.k40_1 = ContentType().x3y('multipart', 'encrypted');
223
+ this.l40_1 = ContentType().x3y('multipart', 'byteranges');
224
224
  }
225
- o3z(contentType) {
225
+ c40(contentType) {
226
226
  return startsWith(contentType, 'multipart/', true);
227
227
  }
228
228
  }
@@ -243,16 +243,16 @@ function Text() {
243
243
  class $ {
244
244
  constructor() {
245
245
  Text_instance = this;
246
- this.y3z_1 = 'text';
247
- this.z3z_1 = ContentType().j3y('text', '*');
248
- this.a40_1 = ContentType().j3y('text', 'plain');
249
- this.b40_1 = ContentType().j3y('text', 'css');
250
- this.c40_1 = ContentType().j3y('text', 'csv');
251
- this.d40_1 = ContentType().j3y('text', 'html');
252
- this.e40_1 = ContentType().j3y('text', 'javascript');
253
- this.f40_1 = ContentType().j3y('text', 'vcard');
254
- this.g40_1 = ContentType().j3y('text', 'xml');
255
- this.h40_1 = ContentType().j3y('text', 'event-stream');
246
+ this.m40_1 = 'text';
247
+ this.n40_1 = ContentType().x3y('text', '*');
248
+ this.o40_1 = ContentType().x3y('text', 'plain');
249
+ this.p40_1 = ContentType().x3y('text', 'css');
250
+ this.q40_1 = ContentType().x3y('text', 'csv');
251
+ this.r40_1 = ContentType().x3y('text', 'html');
252
+ this.s40_1 = ContentType().x3y('text', 'javascript');
253
+ this.t40_1 = ContentType().x3y('text', 'vcard');
254
+ this.u40_1 = ContentType().x3y('text', 'xml');
255
+ this.v40_1 = ContentType().x3y('text', 'event-stream');
256
256
  }
257
257
  }
258
258
  initMetadataForObject($, 'Text');
@@ -270,35 +270,35 @@ var ContentTypeClass;
270
270
  function ContentType() {
271
271
  if (ContentTypeClass === VOID) {
272
272
  class $ extends HeaderValueWithParameters() {
273
- static i40(contentType, contentSubtype, existingContent, parameters) {
273
+ static w40(contentType, contentSubtype, existingContent, parameters) {
274
274
  Companion_getInstance();
275
275
  parameters = parameters === VOID ? emptyList() : parameters;
276
- var $this = this.j40(existingContent, parameters);
277
- $this.h3y_1 = contentType;
278
- $this.i3y_1 = contentSubtype;
276
+ var $this = this.x40(existingContent, parameters);
277
+ $this.v3y_1 = contentType;
278
+ $this.w3y_1 = contentSubtype;
279
279
  return $this;
280
280
  }
281
- static j3y(contentType, contentSubtype, parameters) {
281
+ static x3y(contentType, contentSubtype, parameters) {
282
282
  Companion_getInstance();
283
283
  parameters = parameters === VOID ? emptyList() : parameters;
284
- return this.i40(contentType, contentSubtype, contentType + '/' + contentSubtype, parameters);
284
+ return this.w40(contentType, contentSubtype, contentType + '/' + contentSubtype, parameters);
285
285
  }
286
- k40(name, value) {
286
+ y40(name, value) {
287
287
  if (hasParameter(this, name, value))
288
288
  return this;
289
- return ContentType().i40(this.h3y_1, this.i3y_1, this.z3x_1, plus(this.a3y_1, HeaderValueParam().l40(name, value)));
289
+ return ContentType().w40(this.v3y_1, this.w3y_1, this.n3y_1, plus(this.o3y_1, HeaderValueParam().z40(name, value)));
290
290
  }
291
- m40() {
292
- return this.a3y_1.j() ? this : ContentType().j3y(this.h3y_1, this.i3y_1);
291
+ a41() {
292
+ return this.o3y_1.j() ? this : ContentType().x3y(this.v3y_1, this.w3y_1);
293
293
  }
294
- n40(pattern) {
295
- if (!(pattern.h3y_1 === '*') && !equals(pattern.h3y_1, this.h3y_1, true)) {
294
+ b41(pattern) {
295
+ if (!(pattern.v3y_1 === '*') && !equals(pattern.v3y_1, this.v3y_1, true)) {
296
296
  return false;
297
297
  }
298
- if (!(pattern.i3y_1 === '*') && !equals(pattern.i3y_1, this.i3y_1, true)) {
298
+ if (!(pattern.w3y_1 === '*') && !equals(pattern.w3y_1, this.w3y_1, true)) {
299
299
  return false;
300
300
  }
301
- var _iterator__ex2g4s = pattern.a3y_1.d1();
301
+ var _iterator__ex2g4s = pattern.o3y_1.d1();
302
302
  while (_iterator__ex2g4s.e1()) {
303
303
  var _destruct__k2r9zo = _iterator__ex2g4s.f1();
304
304
  var patternName = _destruct__k2r9zo.gl();
@@ -309,7 +309,7 @@ function ContentType() {
309
309
  if (patternValue === '*') {
310
310
  tmp_0 = true;
311
311
  } else {
312
- var tmp0 = this.a3y_1;
312
+ var tmp0 = this.o3y_1;
313
313
  var tmp$ret$0;
314
314
  $l$block_0: {
315
315
  // Inline function 'kotlin.collections.any' call
@@ -326,7 +326,7 @@ function ContentType() {
326
326
  var _iterator__ex2g4s_0 = tmp0.d1();
327
327
  while (_iterator__ex2g4s_0.e1()) {
328
328
  var element = _iterator__ex2g4s_0.f1();
329
- if (equals(element.c3y_1, patternValue, true)) {
329
+ if (equals(element.q3y_1, patternValue, true)) {
330
330
  tmp$ret$0 = true;
331
331
  break $l$block_0;
332
332
  }
@@ -337,7 +337,7 @@ function ContentType() {
337
337
  }
338
338
  tmp = tmp_0;
339
339
  } else {
340
- var value = this.o40(patternName);
340
+ var value = this.c41(patternName);
341
341
  tmp = patternValue === '*' ? !(value == null) : equals(value, patternValue, true);
342
342
  }
343
343
  var matches = tmp;
@@ -352,17 +352,17 @@ function ContentType() {
352
352
  var tmp_0;
353
353
  var tmp_1;
354
354
  if (other instanceof ContentType()) {
355
- tmp_1 = equals(this.h3y_1, other.h3y_1, true);
355
+ tmp_1 = equals(this.v3y_1, other.v3y_1, true);
356
356
  } else {
357
357
  tmp_1 = false;
358
358
  }
359
359
  if (tmp_1) {
360
- tmp_0 = equals(this.i3y_1, other.i3y_1, true);
360
+ tmp_0 = equals(this.w3y_1, other.w3y_1, true);
361
361
  } else {
362
362
  tmp_0 = false;
363
363
  }
364
364
  if (tmp_0) {
365
- tmp = equals_0(this.a3y_1, other.a3y_1);
365
+ tmp = equals_0(this.o3y_1, other.o3y_1);
366
366
  } else {
367
367
  tmp = false;
368
368
  }
@@ -371,15 +371,15 @@ function ContentType() {
371
371
  hashCode() {
372
372
  // Inline function 'kotlin.text.lowercase' call
373
373
  // Inline function 'kotlin.js.asDynamic' call
374
- var tmp$ret$1 = this.h3y_1.toLowerCase();
374
+ var tmp$ret$1 = this.v3y_1.toLowerCase();
375
375
  var result = getStringHashCode(tmp$ret$1);
376
376
  var tmp = result;
377
377
  var tmp_0 = imul(31, result);
378
378
  // Inline function 'kotlin.text.lowercase' call
379
379
  // Inline function 'kotlin.js.asDynamic' call
380
- var tmp$ret$3 = this.i3y_1.toLowerCase();
380
+ var tmp$ret$3 = this.w3y_1.toLowerCase();
381
381
  result = tmp + (tmp_0 + getStringHashCode(tmp$ret$3) | 0) | 0;
382
- result = result + imul(31, hashCode(this.a3y_1)) | 0;
382
+ result = result + imul(31, hashCode(this.o3y_1)) | 0;
383
383
  return result;
384
384
  }
385
385
  }
@@ -392,9 +392,9 @@ var BadContentTypeFormatExceptionClass;
392
392
  function BadContentTypeFormatException() {
393
393
  if (BadContentTypeFormatExceptionClass === VOID) {
394
394
  class $ extends Exception() {
395
- static p3y(value) {
395
+ static d3z(value) {
396
396
  var $this = this.g5('Bad Content-Type format: ' + value);
397
- captureStack($this, $this.o3y_1);
397
+ captureStack($this, $this.c3z_1);
398
398
  return $this;
399
399
  }
400
400
  }
@@ -404,7 +404,7 @@ function BadContentTypeFormatException() {
404
404
  return BadContentTypeFormatExceptionClass;
405
405
  }
406
406
  function charset(_this__u8e3s4) {
407
- var tmp0_safe_receiver = _this__u8e3s4.o40('charset');
407
+ var tmp0_safe_receiver = _this__u8e3s4.c41('charset');
408
408
  var tmp;
409
409
  if (tmp0_safe_receiver == null) {
410
410
  tmp = null;
@@ -428,16 +428,16 @@ function charset(_this__u8e3s4) {
428
428
  return tmp;
429
429
  }
430
430
  function withCharset(_this__u8e3s4, charset) {
431
- return _this__u8e3s4.k40('charset', get_name(charset));
431
+ return _this__u8e3s4.y40('charset', get_name(charset));
432
432
  }
433
433
  function withCharsetIfNeeded(_this__u8e3s4, charset) {
434
434
  var tmp;
435
435
  // Inline function 'kotlin.text.lowercase' call
436
436
  // Inline function 'kotlin.js.asDynamic' call
437
- if (!(_this__u8e3s4.h3y_1.toLowerCase() === 'text')) {
437
+ if (!(_this__u8e3s4.v3y_1.toLowerCase() === 'text')) {
438
438
  tmp = _this__u8e3s4;
439
439
  } else {
440
- tmp = _this__u8e3s4.k40('charset', get_name(charset));
440
+ tmp = _this__u8e3s4.y40('charset', get_name(charset));
441
441
  }
442
442
  return tmp;
443
443
  }
@@ -54,23 +54,23 @@ var HeaderValueWithParametersClass;
54
54
  function HeaderValueWithParameters() {
55
55
  if (HeaderValueWithParametersClass === VOID) {
56
56
  class $ {
57
- static j40(content, parameters) {
57
+ static x40(content, parameters) {
58
58
  parameters = parameters === VOID ? emptyList() : parameters;
59
59
  var $this = createThis(this);
60
- $this.z3x_1 = content;
61
- $this.a3y_1 = parameters;
60
+ $this.n3y_1 = content;
61
+ $this.o3y_1 = parameters;
62
62
  return $this;
63
63
  }
64
- o40(name) {
64
+ c41(name) {
65
65
  var inductionVariable = 0;
66
- var last = get_lastIndex(this.a3y_1);
66
+ var last = get_lastIndex(this.o3y_1);
67
67
  if (inductionVariable <= last)
68
68
  do {
69
69
  var index = inductionVariable;
70
70
  inductionVariable = inductionVariable + 1 | 0;
71
- var parameter = this.a3y_1.j1(index);
72
- if (equals(parameter.b3y_1, name, true)) {
73
- return parameter.c3y_1;
71
+ var parameter = this.o3y_1.j1(index);
72
+ if (equals(parameter.p3y_1, name, true)) {
73
+ return parameter.q3y_1;
74
74
  }
75
75
  }
76
76
  while (!(index === last));
@@ -78,34 +78,34 @@ function HeaderValueWithParameters() {
78
78
  }
79
79
  toString() {
80
80
  var tmp;
81
- if (this.a3y_1.j()) {
82
- tmp = this.z3x_1;
81
+ if (this.o3y_1.j()) {
82
+ tmp = this.n3y_1;
83
83
  } else {
84
- var tmp_0 = this.z3x_1.length;
84
+ var tmp_0 = this.n3y_1.length;
85
85
  // Inline function 'kotlin.collections.sumOf' call
86
86
  var sum = 0;
87
- var _iterator__ex2g4s = this.a3y_1.d1();
87
+ var _iterator__ex2g4s = this.o3y_1.d1();
88
88
  while (_iterator__ex2g4s.e1()) {
89
89
  var element = _iterator__ex2g4s.f1();
90
90
  var tmp_1 = sum;
91
- sum = tmp_1 + ((element.b3y_1.length + element.c3y_1.length | 0) + 3 | 0) | 0;
91
+ sum = tmp_1 + ((element.p3y_1.length + element.q3y_1.length | 0) + 3 | 0) | 0;
92
92
  }
93
93
  var size = tmp_0 + sum | 0;
94
94
  // Inline function 'kotlin.apply' call
95
95
  var this_0 = StringBuilder().mb(size);
96
- this_0.jb(this.z3x_1);
96
+ this_0.jb(this.n3y_1);
97
97
  var inductionVariable = 0;
98
- var last = get_lastIndex(this.a3y_1);
98
+ var last = get_lastIndex(this.o3y_1);
99
99
  if (inductionVariable <= last)
100
100
  do {
101
101
  var index = inductionVariable;
102
102
  inductionVariable = inductionVariable + 1 | 0;
103
- var element_0 = this.a3y_1.j1(index);
103
+ var element_0 = this.o3y_1.j1(index);
104
104
  this_0.jb('; ');
105
- this_0.jb(element_0.b3y_1);
105
+ this_0.jb(element_0.p3y_1);
106
106
  this_0.jb('=');
107
107
  // Inline function 'io.ktor.http.escapeIfNeededTo' call
108
- var this_1 = element_0.c3y_1;
108
+ var this_1 = element_0.q3y_1;
109
109
  if (needQuotes(this_1))
110
110
  this_0.jb(quote(this_1));
111
111
  else
@@ -31,7 +31,7 @@ function Companion() {
31
31
  class $ {
32
32
  constructor() {
33
33
  Companion_instance = this;
34
- this.p40_1 = EmptyHeaders_instance;
34
+ this.d41_1 = EmptyHeaders_instance;
35
35
  }
36
36
  }
37
37
  initMetadataForCompanion($);
@@ -54,15 +54,15 @@ function HeadersBuilder() {
54
54
  super(true, size);
55
55
  }
56
56
  z1i() {
57
- return new (HeadersImpl())(this.y3s_1);
57
+ return new (HeadersImpl())(this.m3t_1);
58
58
  }
59
- z3s(name) {
60
- super.z3s(name);
61
- HttpHeaders_getInstance().o44(name);
59
+ n3t(name) {
60
+ super.n3t(name);
61
+ HttpHeaders_getInstance().c45(name);
62
62
  }
63
- c3t(value) {
64
- super.c3t(value);
65
- HttpHeaders_getInstance().p44(value);
63
+ q3t(value) {
64
+ super.q3t(value);
65
+ HttpHeaders_getInstance().d45(value);
66
66
  }
67
67
  }
68
68
  initMetadataForClass($, 'HeadersBuilder', HeadersBuilder);
@@ -74,25 +74,25 @@ var EmptyHeadersClass;
74
74
  function EmptyHeaders() {
75
75
  if (EmptyHeadersClass === VOID) {
76
76
  class $ {
77
- r3s() {
77
+ f3t() {
78
78
  return true;
79
79
  }
80
- s3s(name) {
80
+ g3t(name) {
81
81
  return null;
82
82
  }
83
- t3s() {
83
+ h3t() {
84
84
  return emptySet();
85
85
  }
86
- u3s() {
86
+ i3t() {
87
87
  return emptySet();
88
88
  }
89
89
  toString() {
90
- return 'Headers ' + toString(this.u3s());
90
+ return 'Headers ' + toString(this.i3t());
91
91
  }
92
92
  }
93
- protoOf($).o3r = get;
94
- protoOf($).v3s = contains;
95
- protoOf($).w3s = forEach;
93
+ protoOf($).c3s = get;
94
+ protoOf($).j3t = contains;
95
+ protoOf($).k3t = forEach;
96
96
  initMetadataForObject($, 'EmptyHeaders', VOID, VOID, [StringValues()]);
97
97
  EmptyHeadersClass = $;
98
98
  }
@@ -111,7 +111,7 @@ function HeadersImpl() {
111
111
  super(true, values);
112
112
  }
113
113
  toString() {
114
- return 'Headers ' + toString(this.u3s());
114
+ return 'Headers ' + toString(this.i3t());
115
115
  }
116
116
  }
117
117
  initMetadataForClass($, 'HeadersImpl', HeadersImpl, VOID, [StringValues(), StringValuesImpl()]);
@@ -130,7 +130,7 @@ function HeadersSingleImpl() {
130
130
  super(true, name, values);
131
131
  }
132
132
  toString() {
133
- return 'Headers ' + toString(this.u3s());
133
+ return 'Headers ' + toString(this.i3t());
134
134
  }
135
135
  }
136
136
  initMetadataForClass($, 'HeadersSingleImpl', VOID, VOID, [StringValues(), StringValuesSingleImpl()]);