@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
@@ -44,56 +44,56 @@ import { charArray2ujmm1qusno00 as charArray } from '../../../../../kotlin-kotli
44
44
  //region block: pre-declaration
45
45
  //endregion
46
46
  function appendEscape($this, lastPosition, current) {
47
- $this.e6r(lastPosition, current);
47
+ $this.s6r(lastPosition, current);
48
48
  return appendEsc($this, current + 1 | 0);
49
49
  }
50
50
  function decodedString($this, lastPosition, currentPosition) {
51
- $this.e6r(lastPosition, currentPosition);
52
- var result = $this.o6g_1.toString();
53
- $this.o6g_1.bi(0);
51
+ $this.s6r(lastPosition, currentPosition);
52
+ var result = $this.c6h_1.toString();
53
+ $this.c6h_1.bi(0);
54
54
  return result;
55
55
  }
56
56
  function takePeeked($this) {
57
57
  // Inline function 'kotlin.also' call
58
- var this_0 = ensureNotNull($this.n6g_1);
59
- $this.n6g_1 = null;
58
+ var this_0 = ensureNotNull($this.b6h_1);
59
+ $this.b6h_1 = null;
60
60
  return this_0;
61
61
  }
62
62
  function wasUnquotedString($this) {
63
- return !(charSequenceGet($this.f6r(), $this.l6g_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
63
+ return !(charSequenceGet($this.t6r(), $this.z6g_1 - 1 | 0) === _Char___init__impl__6a9atx(34));
64
64
  }
65
65
  function appendEsc($this, startPosition) {
66
66
  var currentPosition = startPosition;
67
- currentPosition = $this.g6r(currentPosition);
67
+ currentPosition = $this.u6r(currentPosition);
68
68
  if (currentPosition === -1) {
69
- $this.u6k('Expected escape sequence to continue, got EOF');
69
+ $this.i6l('Expected escape sequence to continue, got EOF');
70
70
  }
71
- var tmp = $this.f6r();
71
+ var tmp = $this.t6r();
72
72
  var _unary__edvuaz = currentPosition;
73
73
  currentPosition = _unary__edvuaz + 1 | 0;
74
74
  var currentChar = charSequenceGet(tmp, _unary__edvuaz);
75
75
  if (currentChar === _Char___init__impl__6a9atx(117)) {
76
- return appendHex($this, $this.f6r(), currentPosition);
76
+ return appendHex($this, $this.t6r(), currentPosition);
77
77
  }
78
78
  // Inline function 'kotlin.code' call
79
79
  var tmp$ret$0 = Char__toInt_impl_vasixd(currentChar);
80
80
  var c = escapeToChar(tmp$ret$0);
81
81
  if (c === _Char___init__impl__6a9atx(0)) {
82
- $this.u6k("Invalid escaped char '" + toString(currentChar) + "'");
82
+ $this.i6l("Invalid escaped char '" + toString(currentChar) + "'");
83
83
  }
84
- $this.o6g_1.kb(c);
84
+ $this.c6h_1.kb(c);
85
85
  return currentPosition;
86
86
  }
87
87
  function appendHex($this, source, startPos) {
88
88
  if ((startPos + 4 | 0) >= charSequenceLength(source)) {
89
- $this.l6g_1 = startPos;
90
- $this.h6r();
91
- if (($this.l6g_1 + 4 | 0) >= charSequenceLength(source)) {
92
- $this.u6k('Unexpected EOF during unicode escape');
89
+ $this.z6g_1 = startPos;
90
+ $this.v6r();
91
+ if (($this.z6g_1 + 4 | 0) >= charSequenceLength(source)) {
92
+ $this.i6l('Unexpected EOF during unicode escape');
93
93
  }
94
- return appendHex($this, source, $this.l6g_1);
94
+ return appendHex($this, source, $this.z6g_1);
95
95
  }
96
- $this.o6g_1.kb(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
96
+ $this.c6h_1.kb(numberToChar((((fromHexChar($this, source, startPos) << 12) + (fromHexChar($this, source, startPos + 1 | 0) << 8) | 0) + (fromHexChar($this, source, startPos + 2 | 0) << 4) | 0) + fromHexChar($this, source, startPos + 3 | 0) | 0));
97
97
  return startPos + 4 | 0;
98
98
  }
99
99
  function fromHexChar($this, source, currentPosition) {
@@ -118,16 +118,16 @@ function fromHexChar($this, source, currentPosition) {
118
118
  var this_2 = _Char___init__impl__6a9atx(65);
119
119
  tmp = (tmp_2 - Char__toInt_impl_vasixd(this_2) | 0) + 10 | 0;
120
120
  } else {
121
- $this.u6k("Invalid toHexChar char '" + toString(character) + "' in unicode escape");
121
+ $this.i6l("Invalid toHexChar char '" + toString(character) + "' in unicode escape");
122
122
  }
123
123
  return tmp;
124
124
  }
125
125
  function consumeBoolean2($this, start) {
126
- var current = $this.g6r(start);
127
- if (current >= charSequenceLength($this.f6r()) || current === -1) {
128
- $this.u6k('EOF');
126
+ var current = $this.u6r(start);
127
+ if (current >= charSequenceLength($this.t6r()) || current === -1) {
128
+ $this.i6l('EOF');
129
129
  }
130
- var tmp = $this.f6r();
130
+ var tmp = $this.t6r();
131
131
  var _unary__edvuaz = current;
132
132
  current = _unary__edvuaz + 1 | 0;
133
133
  // Inline function 'kotlin.code' call
@@ -146,14 +146,14 @@ function consumeBoolean2($this, start) {
146
146
  consumeBooleanLiteral($this, 'alse', current);
147
147
  tmp_0 = false;
148
148
  } else {
149
- $this.u6k("Expected valid boolean literal prefix, but had '" + $this.q6m() + "'");
149
+ $this.i6l("Expected valid boolean literal prefix, but had '" + $this.e6n() + "'");
150
150
  }
151
151
  }
152
152
  return tmp_0;
153
153
  }
154
154
  function consumeBooleanLiteral($this, literalSuffix, current) {
155
- if ((charSequenceLength($this.f6r()) - current | 0) < literalSuffix.length) {
156
- $this.u6k('Unexpected end of boolean literal');
155
+ if ((charSequenceLength($this.t6r()) - current | 0) < literalSuffix.length) {
156
+ $this.i6l('Unexpected end of boolean literal');
157
157
  }
158
158
  var inductionVariable = 0;
159
159
  var last = charSequenceLength(literalSuffix) - 1 | 0;
@@ -162,16 +162,16 @@ function consumeBooleanLiteral($this, literalSuffix, current) {
162
162
  var i = inductionVariable;
163
163
  inductionVariable = inductionVariable + 1 | 0;
164
164
  var expected = charCodeAt(literalSuffix, i);
165
- var actual = charSequenceGet($this.f6r(), current + i | 0);
165
+ var actual = charSequenceGet($this.t6r(), current + i | 0);
166
166
  // Inline function 'kotlin.code' call
167
167
  var tmp = Char__toInt_impl_vasixd(expected);
168
168
  // Inline function 'kotlin.code' call
169
169
  if (!(tmp === (Char__toInt_impl_vasixd(actual) | 32))) {
170
- $this.u6k("Expected valid boolean literal prefix, but had '" + $this.q6m() + "'");
170
+ $this.i6l("Expected valid boolean literal prefix, but had '" + $this.e6n() + "'");
171
171
  }
172
172
  }
173
173
  while (inductionVariable <= last);
174
- $this.l6g_1 = current + literalSuffix.length | 0;
174
+ $this.z6g_1 = current + literalSuffix.length | 0;
175
175
  }
176
176
  function consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive) {
177
177
  var tmp;
@@ -199,77 +199,77 @@ function AbstractJsonLexer() {
199
199
  if (AbstractJsonLexerClass === VOID) {
200
200
  class $ {
201
201
  constructor() {
202
- this.l6g_1 = 0;
203
- this.m6g_1 = new (JsonPath())();
204
- this.n6g_1 = null;
205
- this.o6g_1 = StringBuilder().a1();
202
+ this.z6g_1 = 0;
203
+ this.a6h_1 = new (JsonPath())();
204
+ this.b6h_1 = null;
205
+ this.c6h_1 = StringBuilder().a1();
206
206
  }
207
- h6r() {
207
+ v6r() {
208
208
  }
209
- c6o() {
210
- var current = this.i6r();
211
- var source = this.f6r();
209
+ q6o() {
210
+ var current = this.w6r();
211
+ var source = this.t6r();
212
212
  if (current >= charSequenceLength(source) || current === -1)
213
213
  return false;
214
214
  if (charSequenceGet(source, current) === _Char___init__impl__6a9atx(44)) {
215
- this.l6g_1 = this.l6g_1 + 1 | 0;
215
+ this.z6g_1 = this.z6g_1 + 1 | 0;
216
216
  return true;
217
217
  }
218
218
  return false;
219
219
  }
220
- j6r(c) {
220
+ x6r(c) {
221
221
  return c === _Char___init__impl__6a9atx(125) || c === _Char___init__impl__6a9atx(93) || (c === _Char___init__impl__6a9atx(58) || c === _Char___init__impl__6a9atx(44)) ? false : true;
222
222
  }
223
- p6g() {
224
- var nextToken = this.s6m();
223
+ d6h() {
224
+ var nextToken = this.g6n();
225
225
  if (!(nextToken === 10)) {
226
- this.u6k('Expected EOF after parsing, but had ' + toString(charSequenceGet(this.f6r(), this.l6g_1 - 1 | 0)) + ' instead');
226
+ this.i6l('Expected EOF after parsing, but had ' + toString(charSequenceGet(this.t6r(), this.z6g_1 - 1 | 0)) + ' instead');
227
227
  }
228
228
  }
229
- m6m(expected) {
230
- var token = this.s6m();
229
+ a6n(expected) {
230
+ var token = this.g6n();
231
231
  if (!(token === expected)) {
232
232
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
233
233
  var expected_0 = tokenDescription(expected);
234
- var position = true ? this.l6g_1 - 1 | 0 : this.l6g_1;
235
- var s = this.l6g_1 === charSequenceLength(this.f6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.f6r(), position));
234
+ var position = true ? this.z6g_1 - 1 | 0 : this.z6g_1;
235
+ var s = this.z6g_1 === charSequenceLength(this.t6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.t6r(), position));
236
236
  var tmp$ret$0 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
237
- this.u6k(tmp$ret$0, position);
237
+ this.i6l(tmp$ret$0, position);
238
238
  }
239
239
  return token;
240
240
  }
241
- k6r(expected) {
242
- if (this.l6g_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
241
+ y6r(expected) {
242
+ if (this.z6g_1 > 0 && expected === _Char___init__impl__6a9atx(34)) {
243
243
  var tmp$ret$1;
244
244
  $l$block: {
245
245
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.withPositionRollback' call
246
- var snapshot = this.l6g_1;
246
+ var snapshot = this.z6g_1;
247
247
  try {
248
- this.l6g_1 = this.l6g_1 - 1 | 0;
249
- tmp$ret$1 = this.q6m();
248
+ this.z6g_1 = this.z6g_1 - 1 | 0;
249
+ tmp$ret$1 = this.e6n();
250
250
  break $l$block;
251
251
  }finally {
252
- this.l6g_1 = snapshot;
252
+ this.z6g_1 = snapshot;
253
253
  }
254
254
  }
255
255
  var inputLiteral = tmp$ret$1;
256
256
  if (inputLiteral === 'null') {
257
- this.t6k("Expected string literal but 'null' literal was found", this.l6g_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
257
+ this.h6l("Expected string literal but 'null' literal was found", this.z6g_1 - 1 | 0, "Use 'coerceInputValues = true' in 'Json {}' builder to coerce nulls if property has a default value.");
258
258
  }
259
259
  }
260
260
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
261
261
  var expectedToken = charToTokenClass(expected);
262
262
  var expected_0 = tokenDescription(expectedToken);
263
- var position = true ? this.l6g_1 - 1 | 0 : this.l6g_1;
264
- var s = this.l6g_1 === charSequenceLength(this.f6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.f6r(), position));
263
+ var position = true ? this.z6g_1 - 1 | 0 : this.z6g_1;
264
+ var s = this.z6g_1 === charSequenceLength(this.t6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.t6r(), position));
265
265
  var tmp$ret$2 = 'Expected ' + expected_0 + ", but had '" + s + "' instead";
266
- this.u6k(tmp$ret$2, position);
266
+ this.i6l(tmp$ret$2, position);
267
267
  }
268
- n6m() {
269
- var source = this.f6r();
270
- var cpos = this.l6g_1;
268
+ b6n() {
269
+ var source = this.t6r();
270
+ var cpos = this.z6g_1;
271
271
  $l$loop_0: while (true) {
272
- cpos = this.g6r(cpos);
272
+ cpos = this.u6r(cpos);
273
273
  if (cpos === -1)
274
274
  break $l$loop_0;
275
275
  var ch = charSequenceGet(source, cpos);
@@ -277,16 +277,16 @@ function AbstractJsonLexer() {
277
277
  cpos = cpos + 1 | 0;
278
278
  continue $l$loop_0;
279
279
  }
280
- this.l6g_1 = cpos;
280
+ this.z6g_1 = cpos;
281
281
  return charToTokenClass(ch);
282
282
  }
283
- this.l6g_1 = cpos;
283
+ this.z6g_1 = cpos;
284
284
  return 10;
285
285
  }
286
- d6o(doConsume) {
287
- var current = this.i6r();
288
- current = this.g6r(current);
289
- var len = charSequenceLength(this.f6r()) - current | 0;
286
+ r6o(doConsume) {
287
+ var current = this.w6r();
288
+ current = this.u6r(current);
289
+ var len = charSequenceLength(this.t6r()) - current | 0;
290
290
  if (len < 4 || current === -1)
291
291
  return false;
292
292
  var inductionVariable = 0;
@@ -294,50 +294,50 @@ function AbstractJsonLexer() {
294
294
  do {
295
295
  var i = inductionVariable;
296
296
  inductionVariable = inductionVariable + 1 | 0;
297
- if (!(charCodeAt('null', i) === charSequenceGet(this.f6r(), current + i | 0)))
297
+ if (!(charCodeAt('null', i) === charSequenceGet(this.t6r(), current + i | 0)))
298
298
  return false;
299
299
  }
300
300
  while (inductionVariable <= 3);
301
- if (len > 4 && charToTokenClass(charSequenceGet(this.f6r(), current + 4 | 0)) === 0)
301
+ if (len > 4 && charToTokenClass(charSequenceGet(this.t6r(), current + 4 | 0)) === 0)
302
302
  return false;
303
303
  if (doConsume) {
304
- this.l6g_1 = current + 4 | 0;
304
+ this.z6g_1 = current + 4 | 0;
305
305
  }
306
306
  return true;
307
307
  }
308
- o6o(doConsume, $super) {
308
+ c6p(doConsume, $super) {
309
309
  doConsume = doConsume === VOID ? true : doConsume;
310
- return $super === VOID ? this.d6o(doConsume) : $super.d6o.call(this, doConsume);
310
+ return $super === VOID ? this.r6o(doConsume) : $super.r6o.call(this, doConsume);
311
311
  }
312
- e6o(isLenient) {
313
- var token = this.n6m();
312
+ s6o(isLenient) {
313
+ var token = this.b6n();
314
314
  var tmp;
315
315
  if (isLenient) {
316
316
  if (!(token === 1) && !(token === 0))
317
317
  return null;
318
- tmp = this.q6m();
318
+ tmp = this.e6n();
319
319
  } else {
320
320
  if (!(token === 1))
321
321
  return null;
322
- tmp = this.p6m();
322
+ tmp = this.d6n();
323
323
  }
324
324
  var string = tmp;
325
- this.n6g_1 = string;
325
+ this.b6h_1 = string;
326
326
  return string;
327
327
  }
328
- l6r() {
329
- this.n6g_1 = null;
328
+ z6r() {
329
+ this.b6h_1 = null;
330
330
  }
331
- n2q(startPos, endPos) {
331
+ b2r(startPos, endPos) {
332
332
  // Inline function 'kotlin.text.substring' call
333
- var this_0 = this.f6r();
333
+ var this_0 = this.t6r();
334
334
  return toString_0(charSequenceSubSequence(this_0, startPos, endPos));
335
335
  }
336
- p6m() {
337
- if (!(this.n6g_1 == null)) {
336
+ d6n() {
337
+ if (!(this.b6h_1 == null)) {
338
338
  return takePeeked(this);
339
339
  }
340
- return this.h6o();
340
+ return this.v6o();
341
341
  }
342
342
  consumeString2(source, startPosition, current) {
343
343
  var currentPosition = current;
@@ -347,19 +347,19 @@ function AbstractJsonLexer() {
347
347
  while (!(char === _Char___init__impl__6a9atx(34))) {
348
348
  if (char === _Char___init__impl__6a9atx(92)) {
349
349
  usedAppend = true;
350
- currentPosition = this.g6r(appendEscape(this, lastPosition, currentPosition));
350
+ currentPosition = this.u6r(appendEscape(this, lastPosition, currentPosition));
351
351
  if (currentPosition === -1) {
352
- this.u6k('Unexpected EOF', currentPosition);
352
+ this.i6l('Unexpected EOF', currentPosition);
353
353
  }
354
354
  lastPosition = currentPosition;
355
355
  } else {
356
356
  currentPosition = currentPosition + 1 | 0;
357
357
  if (currentPosition >= charSequenceLength(source)) {
358
358
  usedAppend = true;
359
- this.e6r(lastPosition, currentPosition);
360
- currentPosition = this.g6r(currentPosition);
359
+ this.s6r(lastPosition, currentPosition);
360
+ currentPosition = this.u6r(currentPosition);
361
361
  if (currentPosition === -1) {
362
- this.u6k('Unexpected EOF', currentPosition);
362
+ this.i6l('Unexpected EOF', currentPosition);
363
363
  }
364
364
  lastPosition = currentPosition;
365
365
  }
@@ -368,45 +368,45 @@ function AbstractJsonLexer() {
368
368
  }
369
369
  var tmp;
370
370
  if (!usedAppend) {
371
- tmp = this.n2q(lastPosition, currentPosition);
371
+ tmp = this.b2r(lastPosition, currentPosition);
372
372
  } else {
373
373
  tmp = decodedString(this, lastPosition, currentPosition);
374
374
  }
375
375
  var string = tmp;
376
- this.l6g_1 = currentPosition + 1 | 0;
376
+ this.z6g_1 = currentPosition + 1 | 0;
377
377
  return string;
378
378
  }
379
- i6o() {
380
- var result = this.q6m();
379
+ w6o() {
380
+ var result = this.e6n();
381
381
  if (result === 'null' && wasUnquotedString(this)) {
382
- this.u6k("Unexpected 'null' value instead of string literal");
382
+ this.i6l("Unexpected 'null' value instead of string literal");
383
383
  }
384
384
  return result;
385
385
  }
386
- q6m() {
387
- if (!(this.n6g_1 == null)) {
386
+ e6n() {
387
+ if (!(this.b6h_1 == null)) {
388
388
  return takePeeked(this);
389
389
  }
390
- var current = this.i6r();
391
- if (current >= charSequenceLength(this.f6r()) || current === -1) {
392
- this.u6k('EOF', current);
390
+ var current = this.w6r();
391
+ if (current >= charSequenceLength(this.t6r()) || current === -1) {
392
+ this.i6l('EOF', current);
393
393
  }
394
- var token = charToTokenClass(charSequenceGet(this.f6r(), current));
394
+ var token = charToTokenClass(charSequenceGet(this.t6r(), current));
395
395
  if (token === 1) {
396
- return this.p6m();
396
+ return this.d6n();
397
397
  }
398
398
  if (!(token === 0)) {
399
- this.u6k('Expected beginning of the string, but got ' + toString(charSequenceGet(this.f6r(), current)));
399
+ this.i6l('Expected beginning of the string, but got ' + toString(charSequenceGet(this.t6r(), current)));
400
400
  }
401
401
  var usedAppend = false;
402
- while (charToTokenClass(charSequenceGet(this.f6r(), current)) === 0) {
402
+ while (charToTokenClass(charSequenceGet(this.t6r(), current)) === 0) {
403
403
  current = current + 1 | 0;
404
- if (current >= charSequenceLength(this.f6r())) {
404
+ if (current >= charSequenceLength(this.t6r())) {
405
405
  usedAppend = true;
406
- this.e6r(this.l6g_1, current);
407
- var eof = this.g6r(current);
406
+ this.s6r(this.z6g_1, current);
407
+ var eof = this.u6r(current);
408
408
  if (eof === -1) {
409
- this.l6g_1 = current;
409
+ this.z6g_1 = current;
410
410
  return decodedString(this, 0, 0);
411
411
  } else {
412
412
  current = eof;
@@ -415,32 +415,32 @@ function AbstractJsonLexer() {
415
415
  }
416
416
  var tmp;
417
417
  if (!usedAppend) {
418
- tmp = this.n2q(this.l6g_1, current);
418
+ tmp = this.b2r(this.z6g_1, current);
419
419
  } else {
420
- tmp = decodedString(this, this.l6g_1, current);
420
+ tmp = decodedString(this, this.z6g_1, current);
421
421
  }
422
422
  var result = tmp;
423
- this.l6g_1 = current;
423
+ this.z6g_1 = current;
424
424
  return result;
425
425
  }
426
- e6r(fromIndex, toIndex) {
427
- this.o6g_1.vh(this.f6r(), fromIndex, toIndex);
426
+ s6r(fromIndex, toIndex) {
427
+ this.c6h_1.vh(this.t6r(), fromIndex, toIndex);
428
428
  }
429
- g6o(allowLenientStrings) {
429
+ u6o(allowLenientStrings) {
430
430
  // Inline function 'kotlin.collections.mutableListOf' call
431
431
  var tokenStack = ArrayList().l1();
432
- var lastToken = this.n6m();
432
+ var lastToken = this.b6n();
433
433
  if (!(lastToken === 8) && !(lastToken === 6)) {
434
- this.q6m();
434
+ this.e6n();
435
435
  return Unit_instance;
436
436
  }
437
437
  $l$loop: while (true) {
438
- lastToken = this.n6m();
438
+ lastToken = this.b6n();
439
439
  if (lastToken === 1) {
440
440
  if (allowLenientStrings)
441
- this.q6m();
441
+ this.e6n();
442
442
  else
443
- this.h6o();
443
+ this.v6o();
444
444
  continue $l$loop;
445
445
  }
446
446
  var tmp0_subject = lastToken;
@@ -448,29 +448,29 @@ function AbstractJsonLexer() {
448
448
  tokenStack.m(lastToken);
449
449
  } else if (tmp0_subject === 9) {
450
450
  if (!(last(tokenStack) === 8))
451
- throw JsonDecodingException(this.l6g_1, 'found ] instead of } at path: ' + this.m6g_1.toString(), this.f6r());
451
+ throw JsonDecodingException(this.z6g_1, 'found ] instead of } at path: ' + this.a6h_1.toString(), this.t6r());
452
452
  removeLast(tokenStack);
453
453
  } else if (tmp0_subject === 7) {
454
454
  if (!(last(tokenStack) === 6))
455
- throw JsonDecodingException(this.l6g_1, 'found } instead of ] at path: ' + this.m6g_1.toString(), this.f6r());
455
+ throw JsonDecodingException(this.z6g_1, 'found } instead of ] at path: ' + this.a6h_1.toString(), this.t6r());
456
456
  removeLast(tokenStack);
457
457
  } else if (tmp0_subject === 10) {
458
- this.u6k('Unexpected end of input due to malformed JSON during ignoring unknown keys');
458
+ this.i6l('Unexpected end of input due to malformed JSON during ignoring unknown keys');
459
459
  }
460
- this.s6m();
460
+ this.g6n();
461
461
  if (tokenStack.i1() === 0)
462
462
  return Unit_instance;
463
463
  }
464
464
  }
465
465
  toString() {
466
- return "JsonReader(source='" + toString_0(this.f6r()) + "', currentPosition=" + this.l6g_1 + ')';
466
+ return "JsonReader(source='" + toString_0(this.t6r()) + "', currentPosition=" + this.z6g_1 + ')';
467
467
  }
468
- f6o(key) {
469
- var processed = this.n2q(0, this.l6g_1);
468
+ t6o(key) {
469
+ var processed = this.b2r(0, this.z6g_1);
470
470
  var lastIndexOf_0 = lastIndexOf(processed, key);
471
- throw JsonDecodingException_0().i6j("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.m6g_1.u6l() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString_0(minify(this.f6r(), lastIndexOf_0))));
471
+ throw JsonDecodingException_0().w6j("Encountered an unknown key '" + key + "' at offset " + lastIndexOf_0 + ' at path: ' + this.a6h_1.i6m() + "\nUse 'ignoreUnknownKeys = true' in 'Json {}' builder or '@JsonIgnoreUnknownKeys' annotation to ignore unknown keys.\n" + ('JSON input: ' + toString_0(minify(this.t6r(), lastIndexOf_0))));
472
472
  }
473
- t6k(message, position, hint) {
473
+ h6l(message, position, hint) {
474
474
  var tmp;
475
475
  // Inline function 'kotlin.text.isEmpty' call
476
476
  if (charSequenceLength(hint) === 0) {
@@ -479,24 +479,24 @@ function AbstractJsonLexer() {
479
479
  tmp = '\n' + hint;
480
480
  }
481
481
  var hintMessage = tmp;
482
- throw JsonDecodingException(position, message + ' at path: ' + this.m6g_1.u6l() + hintMessage, this.f6r());
482
+ throw JsonDecodingException(position, message + ' at path: ' + this.a6h_1.i6m() + hintMessage, this.t6r());
483
483
  }
484
- u6k(message, position, hint, $super) {
485
- position = position === VOID ? this.l6g_1 : position;
484
+ i6l(message, position, hint, $super) {
485
+ position = position === VOID ? this.z6g_1 : position;
486
486
  hint = hint === VOID ? '' : hint;
487
- return $super === VOID ? this.t6k(message, position, hint) : $super.t6k.call(this, message, position, hint);
487
+ return $super === VOID ? this.h6l(message, position, hint) : $super.h6l.call(this, message, position, hint);
488
488
  }
489
- q6o() {
490
- var current = this.i6r();
491
- current = this.g6r(current);
492
- if (current >= charSequenceLength(this.f6r()) || current === -1) {
493
- this.u6k('EOF');
489
+ e6p() {
490
+ var current = this.w6r();
491
+ current = this.u6r(current);
492
+ if (current >= charSequenceLength(this.t6r()) || current === -1) {
493
+ this.i6l('EOF');
494
494
  }
495
495
  var tmp;
496
- if (charSequenceGet(this.f6r(), current) === _Char___init__impl__6a9atx(34)) {
496
+ if (charSequenceGet(this.t6r(), current) === _Char___init__impl__6a9atx(34)) {
497
497
  current = current + 1 | 0;
498
- if (current === charSequenceLength(this.f6r())) {
499
- this.u6k('EOF');
498
+ if (current === charSequenceLength(this.t6r())) {
499
+ this.i6l('EOF');
500
500
  }
501
501
  tmp = true;
502
502
  } else {
@@ -509,11 +509,11 @@ function AbstractJsonLexer() {
509
509
  var isExponentPositive = false;
510
510
  var hasExponent = false;
511
511
  var start = current;
512
- $l$loop_4: while (!(current === charSequenceLength(this.f6r()))) {
513
- var ch = charSequenceGet(this.f6r(), current);
512
+ $l$loop_4: while (!(current === charSequenceLength(this.t6r()))) {
513
+ var ch = charSequenceGet(this.t6r(), current);
514
514
  if ((ch === _Char___init__impl__6a9atx(101) || ch === _Char___init__impl__6a9atx(69)) && !hasExponent) {
515
515
  if (current === start) {
516
- this.u6k('Unexpected symbol ' + toString(ch) + ' in numeric literal');
516
+ this.i6l('Unexpected symbol ' + toString(ch) + ' in numeric literal');
517
517
  }
518
518
  isExponentPositive = true;
519
519
  hasExponent = true;
@@ -522,7 +522,7 @@ function AbstractJsonLexer() {
522
522
  }
523
523
  if (ch === _Char___init__impl__6a9atx(45) && hasExponent) {
524
524
  if (current === start) {
525
- this.u6k("Unexpected symbol '-' in numeric literal");
525
+ this.i6l("Unexpected symbol '-' in numeric literal");
526
526
  }
527
527
  isExponentPositive = false;
528
528
  current = current + 1 | 0;
@@ -530,7 +530,7 @@ function AbstractJsonLexer() {
530
530
  }
531
531
  if (ch === _Char___init__impl__6a9atx(43) && hasExponent) {
532
532
  if (current === start) {
533
- this.u6k("Unexpected symbol '+' in numeric literal");
533
+ this.i6l("Unexpected symbol '+' in numeric literal");
534
534
  }
535
535
  isExponentPositive = true;
536
536
  current = current + 1 | 0;
@@ -538,7 +538,7 @@ function AbstractJsonLexer() {
538
538
  }
539
539
  if (ch === _Char___init__impl__6a9atx(45)) {
540
540
  if (!(current === start)) {
541
- this.u6k("Unexpected symbol '-' in numeric literal");
541
+ this.i6l("Unexpected symbol '-' in numeric literal");
542
542
  }
543
543
  isNegative = true;
544
544
  current = current + 1 | 0;
@@ -550,7 +550,7 @@ function AbstractJsonLexer() {
550
550
  current = current + 1 | 0;
551
551
  var digit = Char__minus_impl_a2frrh(ch, _Char___init__impl__6a9atx(48));
552
552
  if (!(0 <= digit ? digit <= 9 : false)) {
553
- this.u6k("Unexpected symbol '" + toString(ch) + "' in numeric literal");
553
+ this.i6l("Unexpected symbol '" + toString(ch) + "' in numeric literal");
554
554
  }
555
555
  if (hasExponent) {
556
556
  // Inline function 'kotlin.Long.times' call
@@ -562,31 +562,31 @@ function AbstractJsonLexer() {
562
562
  // Inline function 'kotlin.Long.minus' call
563
563
  accumulator = accumulator.r3(toLong(10)).q3(toLong(digit));
564
564
  if (accumulator.a2(new (Long())(0, 0)) > 0) {
565
- this.u6k('Numeric value overflow');
565
+ this.i6l('Numeric value overflow');
566
566
  }
567
567
  }
568
568
  var hasChars = !(current === start);
569
569
  if (start === current || (isNegative && start === (current - 1 | 0))) {
570
- this.u6k('Expected numeric literal');
570
+ this.i6l('Expected numeric literal');
571
571
  }
572
572
  if (hasQuotation) {
573
573
  if (!hasChars) {
574
- this.u6k('EOF');
574
+ this.i6l('EOF');
575
575
  }
576
- if (!(charSequenceGet(this.f6r(), current) === _Char___init__impl__6a9atx(34))) {
577
- this.u6k('Expected closing quotation mark');
576
+ if (!(charSequenceGet(this.t6r(), current) === _Char___init__impl__6a9atx(34))) {
577
+ this.i6l('Expected closing quotation mark');
578
578
  }
579
579
  current = current + 1 | 0;
580
580
  }
581
- this.l6g_1 = current;
581
+ this.z6g_1 = current;
582
582
  if (hasExponent) {
583
583
  var doubleAccumulator = accumulator.h4() * consumeNumericLiteral$calculateExponent(exponentAccumulator, isExponentPositive);
584
584
  if (doubleAccumulator > (new (Long())(-1, 2147483647)).h4() || doubleAccumulator < (new (Long())(0, -2147483648)).h4()) {
585
- this.u6k('Numeric value overflow');
585
+ this.i6l('Numeric value overflow');
586
586
  }
587
587
  // Inline function 'kotlin.math.floor' call
588
588
  if (!(Math.floor(doubleAccumulator) === doubleAccumulator)) {
589
- this.u6k("Can't convert " + doubleAccumulator + ' to Long');
589
+ this.i6l("Can't convert " + doubleAccumulator + ' to Long');
590
590
  }
591
591
  accumulator = numberToLong(doubleAccumulator);
592
592
  }
@@ -596,30 +596,30 @@ function AbstractJsonLexer() {
596
596
  } else if (!accumulator.equals(new (Long())(0, -2147483648))) {
597
597
  tmp_0 = accumulator.w3();
598
598
  } else {
599
- this.u6k('Numeric value overflow');
599
+ this.i6l('Numeric value overflow');
600
600
  }
601
601
  return tmp_0;
602
602
  }
603
- m6i() {
604
- var result = this.q6o();
605
- var next = this.s6m();
603
+ a6j() {
604
+ var result = this.e6p();
605
+ var next = this.g6n();
606
606
  if (!(next === 10)) {
607
607
  // Inline function 'kotlinx.serialization.json.internal.AbstractJsonLexer.fail' call
608
608
  var expected = tokenDescription(10);
609
- var position = true ? this.l6g_1 - 1 | 0 : this.l6g_1;
610
- var s = this.l6g_1 === charSequenceLength(this.f6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.f6r(), position));
609
+ var position = true ? this.z6g_1 - 1 | 0 : this.z6g_1;
610
+ var s = this.z6g_1 === charSequenceLength(this.t6r()) || position < 0 ? 'EOF' : toString(charSequenceGet(this.t6r(), position));
611
611
  var tmp$ret$0 = "Expected input to contain a single valid number, but got '" + s + "' after it";
612
- this.u6k(tmp$ret$0, position);
612
+ this.i6l(tmp$ret$0, position);
613
613
  }
614
614
  return result;
615
615
  }
616
- p6o() {
617
- var current = this.i6r();
618
- if (current === charSequenceLength(this.f6r())) {
619
- this.u6k('EOF');
616
+ d6p() {
617
+ var current = this.w6r();
618
+ if (current === charSequenceLength(this.t6r())) {
619
+ this.i6l('EOF');
620
620
  }
621
621
  var tmp;
622
- if (charSequenceGet(this.f6r(), current) === _Char___init__impl__6a9atx(34)) {
622
+ if (charSequenceGet(this.t6r(), current) === _Char___init__impl__6a9atx(34)) {
623
623
  current = current + 1 | 0;
624
624
  tmp = true;
625
625
  } else {
@@ -628,13 +628,13 @@ function AbstractJsonLexer() {
628
628
  var hasQuotation = tmp;
629
629
  var result = consumeBoolean2(this, current);
630
630
  if (hasQuotation) {
631
- if (this.l6g_1 === charSequenceLength(this.f6r())) {
632
- this.u6k('EOF');
631
+ if (this.z6g_1 === charSequenceLength(this.t6r())) {
632
+ this.i6l('EOF');
633
633
  }
634
- if (!(charSequenceGet(this.f6r(), this.l6g_1) === _Char___init__impl__6a9atx(34))) {
635
- this.u6k('Expected closing quotation mark');
634
+ if (!(charSequenceGet(this.t6r(), this.z6g_1) === _Char___init__impl__6a9atx(34))) {
635
+ this.i6l('Expected closing quotation mark');
636
636
  }
637
- this.l6g_1 = this.l6g_1 + 1 | 0;
637
+ this.z6g_1 = this.z6g_1 + 1 | 0;
638
638
  }
639
639
  return result;
640
640
  }
@@ -648,7 +648,7 @@ function charToTokenClass(c) {
648
648
  var tmp;
649
649
  // Inline function 'kotlin.code' call
650
650
  if (Char__toInt_impl_vasixd(c) < 126) {
651
- var tmp_0 = CharMappings_getInstance().n6r_1;
651
+ var tmp_0 = CharMappings_getInstance().b6s_1;
652
652
  // Inline function 'kotlin.code' call
653
653
  tmp = tmp_0[Char__toInt_impl_vasixd(c)];
654
654
  } else {
@@ -660,7 +660,7 @@ function tokenDescription(token) {
660
660
  return token === 1 ? "quotation mark '\"'" : token === 2 ? "string escape sequence '\\'" : token === 4 ? "comma ','" : token === 5 ? "colon ':'" : token === 6 ? "start of the object '{'" : token === 7 ? "end of the object '}'" : token === 8 ? "start of the array '['" : token === 9 ? "end of the array ']'" : token === 10 ? 'end of the input' : token === 127 ? 'invalid token' : 'valid token';
661
661
  }
662
662
  function escapeToChar(c) {
663
- return c < 117 ? CharMappings_getInstance().m6r_1[c] : _Char___init__impl__6a9atx(0);
663
+ return c < 117 ? CharMappings_getInstance().a6s_1[c] : _Char___init__impl__6a9atx(0);
664
664
  }
665
665
  function initEscape($this) {
666
666
  var inductionVariable = 0;
@@ -706,7 +706,7 @@ function initC2ESC($this, c, esc) {
706
706
  if (!(esc === _Char___init__impl__6a9atx(117))) {
707
707
  // Inline function 'kotlin.code' call
708
708
  var tmp$ret$0 = Char__toInt_impl_vasixd(esc);
709
- $this.m6r_1[tmp$ret$0] = numberToChar(c);
709
+ $this.a6s_1[tmp$ret$0] = numberToChar(c);
710
710
  }
711
711
  }
712
712
  function initC2ESC_0($this, c, esc) {
@@ -715,7 +715,7 @@ function initC2ESC_0($this, c, esc) {
715
715
  return initC2ESC($this, tmp$ret$0, esc);
716
716
  }
717
717
  function initC2TC($this, c, cl) {
718
- $this.n6r_1[c] = cl;
718
+ $this.b6s_1[c] = cl;
719
719
  }
720
720
  function initC2TC_0($this, c, cl) {
721
721
  // Inline function 'kotlin.code' call
@@ -728,8 +728,8 @@ function CharMappings() {
728
728
  class $ {
729
729
  constructor() {
730
730
  CharMappings_instance = this;
731
- this.m6r_1 = charArray(117);
732
- this.n6r_1 = new Int8Array(126);
731
+ this.a6s_1 = charArray(117);
732
+ this.b6s_1 = new Int8Array(126);
733
733
  initEscape(this);
734
734
  initCharToToken(this);
735
735
  }