@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
@@ -20,7 +20,7 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
20
20
  if (startIndex.equals(endOffset))
21
21
  return new (Long())(-1, -1);
22
22
  // Inline function 'kotlinx.io.seek' call
23
- if (_this__u8e3s4.s2q_1 == null) {
23
+ if (_this__u8e3s4.g2r_1 == null) {
24
24
  var o = new (Long())(-1, -1);
25
25
  if (o.equals(new (Long())(-1, -1))) {
26
26
  return new (Long())(-1, -1);
@@ -49,19 +49,19 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
49
49
  // Inline function 'kotlin.Long.plus' call
50
50
  var other = segment.i1();
51
51
  offset = tmp0_0.p3(toLong(other));
52
- segment = segment.j2r_1;
52
+ segment = segment.x2r_1;
53
53
  }
54
54
  while (!(segment == null) && offset.a2(endOffset) < 0);
55
55
  return new (Long())(-1, -1);
56
56
  }
57
57
  if (_this__u8e3s4.i1().q3(startIndex).a2(startIndex) < 0) {
58
- var s = _this__u8e3s4.t2q_1;
58
+ var s = _this__u8e3s4.h2r_1;
59
59
  var offset_0 = _this__u8e3s4.i1();
60
60
  $l$loop: while (!(s == null) && offset_0.a2(startIndex) > 0) {
61
- offset_0 = offset_0.q3(toLong(s.g2r_1 - s.f2r_1 | 0));
61
+ offset_0 = offset_0.q3(toLong(s.u2r_1 - s.t2r_1 | 0));
62
62
  if (offset_0.a2(startIndex) <= 0)
63
63
  break $l$loop;
64
- s = s.k2r_1;
64
+ s = s.y2r_1;
65
65
  }
66
66
  var tmp0_1 = s;
67
67
  var o_0 = offset_0;
@@ -92,21 +92,21 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
92
92
  // Inline function 'kotlin.Long.plus' call
93
93
  var other_0 = segment_0.i1();
94
94
  offset_1 = tmp0_3.p3(toLong(other_0));
95
- segment_0 = segment_0.j2r_1;
95
+ segment_0 = segment_0.x2r_1;
96
96
  }
97
97
  while (!(segment_0 == null) && offset_1.a2(endOffset) < 0);
98
98
  return new (Long())(-1, -1);
99
99
  } else {
100
- var s_0 = _this__u8e3s4.s2q_1;
100
+ var s_0 = _this__u8e3s4.g2r_1;
101
101
  var offset_2 = new (Long())(0, 0);
102
102
  $l$loop_0: while (!(s_0 == null)) {
103
103
  var tmp0_4 = offset_2;
104
104
  // Inline function 'kotlin.Long.plus' call
105
- var other_1 = s_0.g2r_1 - s_0.f2r_1 | 0;
105
+ var other_1 = s_0.u2r_1 - s_0.t2r_1 | 0;
106
106
  var nextOffset = tmp0_4.p3(toLong(other_1));
107
107
  if (nextOffset.a2(startIndex) > 0)
108
108
  break $l$loop_0;
109
- s_0 = s_0.j2r_1;
109
+ s_0 = s_0.x2r_1;
110
110
  offset_2 = nextOffset;
111
111
  }
112
112
  var tmp0_5 = s_0;
@@ -138,7 +138,7 @@ function indexOf_0(_this__u8e3s4, byte, startIndex, endIndex) {
138
138
  // Inline function 'kotlin.Long.plus' call
139
139
  var other_2 = segment_1.i1();
140
140
  offset_3 = tmp0_7.p3(toLong(other_2));
141
- segment_1 = segment_1.j2r_1;
141
+ segment_1 = segment_1.x2r_1;
142
142
  }
143
143
  while (!(segment_1 == null) && offset_3.a2(endOffset) < 0);
144
144
  return new (Long())(-1, -1);
@@ -5,7 +5,7 @@ import { readByteArray1fhzfwi2j014k as readByteArray } from './Sources.mjs';
5
5
  //region block: pre-declaration
6
6
  //endregion
7
7
  function readByteString(_this__u8e3s4, byteCount) {
8
- return UnsafeByteStringOperations_instance.r2q(readByteArray(_this__u8e3s4, byteCount));
8
+ return UnsafeByteStringOperations_instance.f2r(readByteArray(_this__u8e3s4, byteCount));
9
9
  }
10
10
  //region block: exports
11
11
  export {
@@ -19,19 +19,19 @@ function PeekSource() {
19
19
  if (PeekSourceClass === VOID) {
20
20
  class $ {
21
21
  constructor(upstream) {
22
- this.i2t_1 = upstream;
23
- this.j2t_1 = this.i2t_1.z2q();
24
- this.k2t_1 = this.j2t_1.s2q_1;
22
+ this.w2t_1 = upstream;
23
+ this.x2t_1 = this.w2t_1.n2r();
24
+ this.y2t_1 = this.x2t_1.g2r_1;
25
25
  var tmp = this;
26
- var tmp0_safe_receiver = this.j2t_1.s2q_1;
27
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f2r_1;
28
- tmp.l2t_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
29
- this.m2t_1 = false;
30
- this.n2t_1 = new (Long())(0, 0);
26
+ var tmp0_safe_receiver = this.x2t_1.g2r_1;
27
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t2r_1;
28
+ tmp.z2t_1 = tmp1_elvis_lhs == null ? -1 : tmp1_elvis_lhs;
29
+ this.a2u_1 = false;
30
+ this.b2u_1 = new (Long())(0, 0);
31
31
  }
32
- e2s(sink, byteCount) {
32
+ s2s(sink, byteCount) {
33
33
  // Inline function 'kotlin.check' call
34
- if (!!this.m2t_1) {
34
+ if (!!this.a2u_1) {
35
35
  var message = 'Source is closed.';
36
36
  throw IllegalStateException().o4(toString(message));
37
37
  }
@@ -42,29 +42,29 @@ function PeekSource() {
42
42
  throw IllegalArgumentException().u(toString(message_0));
43
43
  }
44
44
  // Inline function 'kotlin.check' call
45
- if (!(this.k2t_1 == null || (this.k2t_1 === this.j2t_1.s2q_1 && this.l2t_1 === ensureNotNull(this.j2t_1.s2q_1).f2r_1))) {
45
+ if (!(this.y2t_1 == null || (this.y2t_1 === this.x2t_1.g2r_1 && this.z2t_1 === ensureNotNull(this.x2t_1.g2r_1).t2r_1))) {
46
46
  var message_1 = 'Peek source is invalid because upstream source was used';
47
47
  throw IllegalStateException().o4(toString(message_1));
48
48
  }
49
49
  if (byteCount.equals(new (Long())(0, 0)))
50
50
  return new (Long())(0, 0);
51
51
  // Inline function 'kotlin.Long.plus' call
52
- var tmp$ret$7 = this.n2t_1.p3(toLong(1));
53
- if (!this.i2t_1.c2r(tmp$ret$7))
52
+ var tmp$ret$7 = this.b2u_1.p3(toLong(1));
53
+ if (!this.w2t_1.q2r(tmp$ret$7))
54
54
  return new (Long())(-1, -1);
55
- if (this.k2t_1 == null && !(this.j2t_1.s2q_1 == null)) {
56
- this.k2t_1 = this.j2t_1.s2q_1;
57
- this.l2t_1 = ensureNotNull(this.j2t_1.s2q_1).f2r_1;
55
+ if (this.y2t_1 == null && !(this.x2t_1.g2r_1 == null)) {
56
+ this.y2t_1 = this.x2t_1.g2r_1;
57
+ this.z2t_1 = ensureNotNull(this.x2t_1.g2r_1).t2r_1;
58
58
  }
59
59
  // Inline function 'kotlin.comparisons.minOf' call
60
- var b = this.j2t_1.i1().q3(this.n2t_1);
60
+ var b = this.x2t_1.i1().q3(this.b2u_1);
61
61
  var toCopy = byteCount.a2(b) <= 0 ? byteCount : b;
62
- this.j2t_1.u2r(sink, this.n2t_1, this.n2t_1.p3(toCopy));
63
- this.n2t_1 = this.n2t_1.p3(toCopy);
62
+ this.x2t_1.i2s(sink, this.b2u_1, this.b2u_1.p3(toCopy));
63
+ this.b2u_1 = this.b2u_1.p3(toCopy);
64
64
  return toCopy;
65
65
  }
66
66
  v5() {
67
- this.m2t_1 = true;
67
+ this.a2u_1 = true;
68
68
  }
69
69
  }
70
70
  initMetadataForClass($, 'PeekSource', VOID, VOID, [AutoCloseable()]);
@@ -23,17 +23,17 @@ function RealSource() {
23
23
  if (RealSourceClass === VOID) {
24
24
  class $ {
25
25
  constructor(source) {
26
- this.o2t_1 = source;
27
- this.p2t_1 = false;
28
- this.q2t_1 = new (Buffer())();
26
+ this.c2u_1 = source;
27
+ this.d2u_1 = false;
28
+ this.e2u_1 = new (Buffer())();
29
29
  }
30
- z2q() {
31
- return this.q2t_1;
30
+ n2r() {
31
+ return this.e2u_1;
32
32
  }
33
- e2s(sink, byteCount) {
33
+ s2s(sink, byteCount) {
34
34
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
35
35
  // Inline function 'kotlin.check' call
36
- if (!!this.p2t_1) {
36
+ if (!!this.d2u_1) {
37
37
  var message = 'Source is closed.';
38
38
  throw IllegalStateException().o4(toString(message));
39
39
  }
@@ -42,33 +42,33 @@ function RealSource() {
42
42
  var message_0 = 'byteCount: ' + byteCount.toString();
43
43
  throw IllegalArgumentException().u(toString(message_0));
44
44
  }
45
- if (this.q2t_1.i1().equals(new (Long())(0, 0))) {
46
- var read = this.o2t_1.e2s(this.q2t_1, new (Long())(8192, 0));
45
+ if (this.e2u_1.i1().equals(new (Long())(0, 0))) {
46
+ var read = this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0));
47
47
  if (read.equals(new (Long())(-1, -1)))
48
48
  return new (Long())(-1, -1);
49
49
  }
50
50
  // Inline function 'kotlin.comparisons.minOf' call
51
- var b = this.q2t_1.i1();
51
+ var b = this.e2u_1.i1();
52
52
  var toRead = byteCount.a2(b) <= 0 ? byteCount : b;
53
- return this.q2t_1.e2s(sink, toRead);
53
+ return this.e2u_1.s2s(sink, toRead);
54
54
  }
55
- a2r() {
55
+ o2r() {
56
56
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
57
57
  // Inline function 'kotlin.check' call
58
- if (!!this.p2t_1) {
58
+ if (!!this.d2u_1) {
59
59
  var message = 'Source is closed.';
60
60
  throw IllegalStateException().o4(toString(message));
61
61
  }
62
- return this.q2t_1.a2r() && this.o2t_1.e2s(this.q2t_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1));
62
+ return this.e2u_1.o2r() && this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1));
63
63
  }
64
- b2r(byteCount) {
65
- if (!this.c2r(byteCount))
66
- throw EOFException().y2q("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
64
+ p2r(byteCount) {
65
+ if (!this.q2r(byteCount))
66
+ throw EOFException().m2r("Source doesn't contain required number of bytes (" + byteCount.toString() + ').');
67
67
  }
68
- c2r(byteCount) {
68
+ q2r(byteCount) {
69
69
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
70
70
  // Inline function 'kotlin.check' call
71
- if (!!this.p2t_1) {
71
+ if (!!this.d2u_1) {
72
72
  var message = 'Source is closed.';
73
73
  throw IllegalStateException().o4(toString(message));
74
74
  }
@@ -77,92 +77,92 @@ function RealSource() {
77
77
  var message_0 = 'byteCount: ' + byteCount.toString();
78
78
  throw IllegalArgumentException().u(toString(message_0));
79
79
  }
80
- while (this.q2t_1.i1().a2(byteCount) < 0) {
81
- if (this.o2t_1.e2s(this.q2t_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1)))
80
+ while (this.e2u_1.i1().a2(byteCount) < 0) {
81
+ if (this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1)))
82
82
  return false;
83
83
  }
84
84
  return true;
85
85
  }
86
- d2r() {
87
- this.b2r(new (Long())(1, 0));
88
- return this.q2t_1.d2r();
86
+ r2r() {
87
+ this.p2r(new (Long())(1, 0));
88
+ return this.e2u_1.r2r();
89
89
  }
90
- c2s(sink, startIndex, endIndex) {
90
+ q2s(sink, startIndex, endIndex) {
91
91
  // Inline function 'kotlinx.io.checkBounds' call
92
92
  var size = sink.length;
93
93
  checkBounds(toLong(size), toLong(startIndex), toLong(endIndex));
94
- if (this.q2t_1.i1().equals(new (Long())(0, 0))) {
95
- var read = this.o2t_1.e2s(this.q2t_1, new (Long())(8192, 0));
94
+ if (this.e2u_1.i1().equals(new (Long())(0, 0))) {
95
+ var read = this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0));
96
96
  if (read.equals(new (Long())(-1, -1)))
97
97
  return -1;
98
98
  }
99
99
  var tmp0 = endIndex - startIndex | 0;
100
100
  // Inline function 'kotlinx.io.minOf' call
101
- var b = this.q2t_1.i1();
101
+ var b = this.e2u_1.i1();
102
102
  // Inline function 'kotlin.comparisons.minOf' call
103
103
  var a = toLong(tmp0);
104
104
  var toRead = (a.a2(b) <= 0 ? a : b).c2();
105
- return this.q2t_1.c2s(sink, startIndex, startIndex + toRead | 0);
105
+ return this.e2u_1.q2s(sink, startIndex, startIndex + toRead | 0);
106
106
  }
107
- g2s(sink, byteCount) {
107
+ u2s(sink, byteCount) {
108
108
  try {
109
- this.b2r(byteCount);
109
+ this.p2r(byteCount);
110
110
  } catch ($p) {
111
111
  if ($p instanceof EOFException()) {
112
112
  var e = $p;
113
- sink.f2s(this.q2t_1, this.q2t_1.i1());
113
+ sink.t2s(this.e2u_1, this.e2u_1.i1());
114
114
  throw e;
115
115
  } else {
116
116
  throw $p;
117
117
  }
118
118
  }
119
- this.q2t_1.g2s(sink, byteCount);
119
+ this.e2u_1.u2s(sink, byteCount);
120
120
  }
121
- h2s(sink) {
121
+ v2s(sink) {
122
122
  var totalBytesWritten = new (Long())(0, 0);
123
- while (!this.o2t_1.e2s(this.q2t_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1))) {
124
- var emitByteCount = this.q2t_1.y2r();
123
+ while (!this.c2u_1.s2s(this.e2u_1, new (Long())(8192, 0)).equals(new (Long())(-1, -1))) {
124
+ var emitByteCount = this.e2u_1.m2s();
125
125
  if (emitByteCount.a2(new (Long())(0, 0)) > 0) {
126
126
  totalBytesWritten = totalBytesWritten.p3(emitByteCount);
127
- sink.f2s(this.q2t_1, emitByteCount);
127
+ sink.t2s(this.e2u_1, emitByteCount);
128
128
  }
129
129
  }
130
- if (this.q2t_1.i1().a2(new (Long())(0, 0)) > 0) {
131
- totalBytesWritten = totalBytesWritten.p3(this.q2t_1.i1());
132
- sink.f2s(this.q2t_1, this.q2t_1.i1());
130
+ if (this.e2u_1.i1().a2(new (Long())(0, 0)) > 0) {
131
+ totalBytesWritten = totalBytesWritten.p3(this.e2u_1.i1());
132
+ sink.t2s(this.e2u_1, this.e2u_1.i1());
133
133
  }
134
134
  return totalBytesWritten;
135
135
  }
136
- n2r() {
137
- this.b2r(new (Long())(2, 0));
138
- return this.q2t_1.n2r();
136
+ b2s() {
137
+ this.p2r(new (Long())(2, 0));
138
+ return this.e2u_1.b2s();
139
139
  }
140
- p2r() {
141
- this.b2r(new (Long())(4, 0));
142
- return this.q2t_1.p2r();
140
+ d2s() {
141
+ this.p2r(new (Long())(4, 0));
142
+ return this.e2u_1.d2s();
143
143
  }
144
- r2r() {
145
- this.b2r(new (Long())(8, 0));
146
- return this.q2t_1.r2r();
144
+ f2s() {
145
+ this.p2r(new (Long())(8, 0));
146
+ return this.e2u_1.f2s();
147
147
  }
148
- i2s() {
148
+ w2s() {
149
149
  // Inline function 'kotlinx.io.RealSource.checkNotClosed' call
150
150
  // Inline function 'kotlin.check' call
151
- if (!!this.p2t_1) {
151
+ if (!!this.d2u_1) {
152
152
  var message = 'Source is closed.';
153
153
  throw IllegalStateException().o4(toString(message));
154
154
  }
155
155
  return buffered(new (PeekSource())(this));
156
156
  }
157
157
  v5() {
158
- if (this.p2t_1)
158
+ if (this.d2u_1)
159
159
  return Unit_instance;
160
- this.p2t_1 = true;
161
- this.o2t_1.v5();
162
- this.q2t_1.z2();
160
+ this.d2u_1 = true;
161
+ this.c2u_1.v5();
162
+ this.e2u_1.z2();
163
163
  }
164
164
  toString() {
165
- return 'buffered(' + toString(this.o2t_1) + ')';
165
+ return 'buffered(' + toString(this.c2u_1) + ')';
166
166
  }
167
167
  }
168
168
  initMetadataForClass($, 'RealSource', VOID, VOID, [Source()]);