@attocash/commons-js 5.3.0 → 6.0.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 (1439) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs +73 -64
  2. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DateTimeUnit.mjs.map +1 -1
  3. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs +20 -24
  4. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/DayOfWeek.mjs.map +1 -1
  5. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs +46 -46
  6. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Exceptions.mjs.map +1 -1
  7. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs +307 -115
  8. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDate.mjs.map +1 -1
  9. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs +152 -71
  10. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalDateTime.mjs.map +1 -1
  11. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs +219 -98
  12. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/LocalTime.mjs.map +1 -1
  13. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs +76 -27
  14. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Month.mjs.map +1 -1
  15. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs +49 -0
  16. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/OverloadMarker.mjs.map +1 -0
  17. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs +287 -101
  18. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/TimeZone.mjs.map +1 -1
  19. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs +94 -155
  20. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/UtcOffset.mjs.map +1 -1
  21. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs +139 -0
  22. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/YearMonth.mjs.map +1 -0
  23. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs +79 -0
  24. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/ZonedDateTime.mjs.map +1 -0
  25. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs +13 -6
  26. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormat.mjs.map +1 -1
  27. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs +61 -40
  28. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeFormatBuilder.mjs.map +1 -1
  29. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +185 -543
  30. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs.map +1 -1
  31. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +126 -113
  32. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs.map +1 -1
  33. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +188 -177
  34. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs.map +1 -1
  35. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +285 -198
  36. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs.map +1 -1
  37. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +400 -0
  38. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs.map +1 -0
  39. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs +29 -0
  40. package/{ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs.map → Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/MonthDayTime.mjs.map} +1 -1
  41. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs +147 -0
  42. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/OffsetInfo.mjs.map +1 -0
  43. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs +412 -0
  44. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/Platform.mjs.map +1 -0
  45. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs +37 -0
  46. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/PlatformSpecifics.mjs.map +1 -0
  47. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs +102 -0
  48. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/RegionTimeZone.mjs.map +1 -0
  49. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs +237 -0
  50. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/TimeZoneRules.mjs.map +1 -0
  51. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs +47 -0
  52. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/dateCalculations.mjs.map +1 -0
  53. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +14 -11
  54. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs.map +1 -1
  55. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs +77 -162
  56. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldFormatDirective.mjs.map +1 -1
  57. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs +50 -48
  58. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FieldSpec.mjs.map +1 -1
  59. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs +169 -174
  60. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/FormatStructure.mjs.map +1 -1
  61. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs +16 -16
  62. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Predicate.mjs.map +1 -1
  63. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs +115 -12
  64. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/Formatter.mjs.map +1 -1
  65. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs +117 -63
  66. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/formatter/FormatterOperation.mjs.map +1 -1
  67. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs +46 -46
  68. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/NumberConsumer.mjs.map +1 -1
  69. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs +4 -4
  70. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParseResult.mjs.map +1 -1
  71. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +89 -89
  72. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs.map +1 -1
  73. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs +128 -371
  74. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/ParserOperation.mjs.map +1 -1
  75. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs +20 -19
  76. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/math.mjs.map +1 -1
  77. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs +51 -0
  78. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathNative.mjs.map +1 -0
  79. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs +0 -35
  80. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/util.mjs.map +1 -1
  81. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +112 -123
  82. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
  83. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +22 -22
  84. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
  85. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +22 -22
  86. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
  87. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +22 -22
  88. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
  89. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +64 -64
  90. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
  91. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +53 -0
  92. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -0
  93. package/commons-commons-core/cash/atto/commons/{AccountUpdate.js.export.d.ts → AccountUpdate.js.export.d.mts} +1 -1
  94. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.export.mjs +1 -1
  95. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +19 -22
  96. package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs.map +1 -1
  97. package/commons-commons-core/cash/atto/commons/{AttoAccount.export.d.ts → AttoAccount.export.d.mts} +14 -10
  98. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs +3 -2
  99. package/commons-commons-core/cash/atto/commons/AttoAccount.export.mjs.map +1 -1
  100. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +165 -175
  101. package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
  102. package/commons-commons-core/cash/atto/commons/{AttoAccountEntry.export.d.ts → AttoAccountEntry.export.d.mts} +10 -6
  103. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs +3 -2
  104. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.export.mjs.map +1 -1
  105. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +164 -183
  106. package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
  107. package/commons-commons-core/cash/atto/commons/{AttoAddress.export.d.ts → AttoAddress.export.d.mts} +9 -4
  108. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs +5 -2
  109. package/commons-commons-core/cash/atto/commons/AttoAddress.export.mjs.map +1 -1
  110. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +83 -41
  111. package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
  112. package/commons-commons-core/cash/atto/commons/{AttoAlgorithm.export.d.ts → AttoAlgorithm.export.d.mts} +5 -2
  113. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs +4 -3
  114. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.export.mjs.map +1 -1
  115. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +21 -21
  116. package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs.map +1 -1
  117. package/commons-commons-core/cash/atto/commons/{AttoAmount.export.d.ts → AttoAmount.export.d.mts} +11 -6
  118. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs +9 -4
  119. package/commons-commons-core/cash/atto/commons/AttoAmount.export.mjs.map +1 -1
  120. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +83 -69
  121. package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
  122. package/commons-commons-core/cash/atto/commons/{AttoBlock.export.d.ts → AttoBlock.export.d.mts} +60 -25
  123. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs +12 -11
  124. package/commons-commons-core/cash/atto/commons/AttoBlock.export.mjs.map +1 -1
  125. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1131 -1180
  126. package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
  127. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +16 -16
  128. package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
  129. package/commons-commons-core/cash/atto/commons/{AttoChallenge.export.d.ts → AttoChallenge.export.d.mts} +5 -1
  130. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs +3 -2
  131. package/commons-commons-core/cash/atto/commons/AttoChallenge.export.mjs.map +1 -1
  132. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +16 -16
  133. package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
  134. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.d.mts +10 -0
  135. package/commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs +13 -0
  136. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +72 -0
  137. package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs.map +1 -0
  138. package/commons-commons-core/cash/atto/commons/{AttoHash.export.d.ts → AttoHash.export.d.mts} +6 -2
  139. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs +3 -2
  140. package/commons-commons-core/cash/atto/commons/AttoHash.export.mjs.map +1 -1
  141. package/commons-commons-core/cash/atto/commons/AttoHash.mjs +35 -35
  142. package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
  143. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
  144. package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs.map +1 -1
  145. package/commons-commons-core/cash/atto/commons/{AttoHeight.export.d.ts → AttoHeight.export.d.mts} +10 -5
  146. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs +5 -2
  147. package/commons-commons-core/cash/atto/commons/AttoHeight.export.mjs.map +1 -1
  148. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +54 -47
  149. package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
  150. package/commons-commons-core/cash/atto/commons/AttoInstant.export.d.mts +33 -0
  151. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs +20 -0
  152. package/commons-commons-core/cash/atto/commons/AttoInstant.export.mjs.map +1 -0
  153. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +189 -0
  154. package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -0
  155. package/commons-commons-core/cash/atto/commons/AttoJob.mjs +26 -0
  156. package/commons-commons-core/cash/atto/commons/AttoJob.mjs.map +1 -0
  157. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.d.mts +16 -0
  158. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs +17 -0
  159. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.export.mjs.map +1 -0
  160. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs +82 -0
  161. package/commons-commons-core/cash/atto/commons/AttoKeyIndex.mjs.map +1 -0
  162. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.d.mts +33 -0
  163. package/commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs +22 -0
  164. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs +23 -0
  165. package/commons-commons-core/cash/atto/commons/AttoMnemonic.js.mjs.map +1 -0
  166. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +184 -0
  167. package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs.map +1 -0
  168. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs +61 -0
  169. package/commons-commons-core/cash/atto/commons/AttoMnemonicDictionary.mjs.map +1 -0
  170. package/commons-commons-core/cash/atto/commons/{AttoNetwork.export.d.ts → AttoNetwork.export.d.mts} +8 -4
  171. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs +8 -7
  172. package/commons-commons-core/cash/atto/commons/AttoNetwork.export.mjs.map +1 -1
  173. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +30 -30
  174. package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs.map +1 -1
  175. package/commons-commons-core/cash/atto/commons/{AttoPrivateKey.export.d.ts → AttoPrivateKey.export.d.mts} +7 -3
  176. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs +5 -2
  177. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.export.mjs.map +1 -1
  178. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
  179. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
  180. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +38 -31
  181. package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
  182. package/commons-commons-core/cash/atto/commons/{AttoPublicKey.export.d.ts → AttoPublicKey.export.d.mts} +5 -1
  183. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs +3 -2
  184. package/commons-commons-core/cash/atto/commons/AttoPublicKey.export.mjs.map +1 -1
  185. package/{ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.ts → commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.d.mts} +1 -2
  186. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.export.mjs +12 -0
  187. package/commons-commons-core/cash/atto/commons/AttoPublicKey.js.mjs.map +1 -1
  188. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +29 -29
  189. package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
  190. package/commons-commons-core/cash/atto/commons/{AttoReceivable.export.d.ts → AttoReceivable.export.d.mts} +9 -4
  191. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs +3 -2
  192. package/commons-commons-core/cash/atto/commons/AttoReceivable.export.mjs.map +1 -1
  193. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +148 -133
  194. package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
  195. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.d.ts → commons-commons-core/cash/atto/commons/AttoSeed.js.export.d.mts} +1 -1
  196. package/commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs +12 -0
  197. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +91 -0
  198. package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs.map +1 -0
  199. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +29 -4
  200. package/commons-commons-core/cash/atto/commons/AttoSeed.mjs.map +1 -1
  201. package/commons-commons-core/cash/atto/commons/{AttoSignature.export.d.ts → AttoSignature.export.d.mts} +5 -1
  202. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs +3 -2
  203. package/commons-commons-core/cash/atto/commons/AttoSignature.export.mjs.map +1 -1
  204. package/commons-commons-core/cash/atto/commons/AttoSignature.js.mjs.map +1 -1
  205. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +30 -30
  206. package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
  207. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +23 -441
  208. package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs.map +1 -1
  209. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +19 -135
  210. package/commons-commons-core/cash/atto/commons/AttoSigner.mjs.map +1 -1
  211. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +7 -7
  212. package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs.map +1 -1
  213. package/commons-commons-core/cash/atto/commons/{AttoTransaction.export.d.ts → AttoTransaction.export.d.mts} +9 -3
  214. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs +3 -2
  215. package/commons-commons-core/cash/atto/commons/AttoTransaction.export.mjs.map +1 -1
  216. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +105 -92
  217. package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
  218. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs +63 -0
  219. package/commons-commons-core/cash/atto/commons/AttoValidation.mjs.map +1 -0
  220. package/commons-commons-core/cash/atto/commons/{AttoVersion.export.d.ts → AttoVersion.export.d.mts} +5 -1
  221. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs +3 -2
  222. package/commons-commons-core/cash/atto/commons/AttoVersion.export.mjs.map +1 -1
  223. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +17 -18
  224. package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
  225. package/commons-commons-core/cash/atto/commons/{AttoVote.export.d.ts → AttoVote.export.d.mts} +9 -5
  226. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs +3 -2
  227. package/commons-commons-core/cash/atto/commons/AttoVote.export.mjs.map +1 -1
  228. package/commons-commons-core/cash/atto/commons/AttoVote.mjs +105 -111
  229. package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
  230. package/commons-commons-core/cash/atto/commons/{AttoWork.export.d.ts → AttoWork.export.d.mts} +5 -2
  231. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs +3 -2
  232. package/commons-commons-core/cash/atto/commons/AttoWork.export.mjs.map +1 -1
  233. package/commons-commons-core/cash/atto/commons/AttoWork.mjs +68 -82
  234. package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
  235. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +147 -0
  236. package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -0
  237. package/commons-commons-core/cash/atto/commons/Extensions.mjs +44 -10
  238. package/commons-commons-core/cash/atto/commons/Extensions.mjs.map +1 -1
  239. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +14 -14
  240. package/commons-commons-core/cash/atto/commons/utils/Base32.mjs.map +1 -1
  241. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
  242. package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs.map +1 -1
  243. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs +37 -0
  244. package/commons-commons-core/cash/atto/commons/utils/SubtleCrypto.mjs.map +1 -0
  245. package/commons-commons-core.mjs +6 -1
  246. package/commons-commons-core.mjs.map +1 -1
  247. package/commons-commons-js.mjs +0 -1
  248. package/commons-commons-js.mjs.map +1 -1
  249. package/commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs +29 -0
  250. package/{kotlin-kotlin-stdlib/kotlin/Number.mjs.map → commons-commons-node/cash/atto/commons/node/AttoNodeClient.mjs.map} +1 -1
  251. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.d.mts +22 -0
  252. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs +13 -0
  253. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.export.mjs.map +1 -0
  254. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +1248 -0
  255. package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs.map +1 -0
  256. package/commons-commons-node/cash/atto/commons/node/{AttoNodeOperations.export.d.ts → AttoNodeOperations.export.d.mts} +25 -9
  257. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs +6 -5
  258. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.export.mjs.map +1 -1
  259. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +215 -324
  260. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
  261. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +20 -20
  262. package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
  263. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs +66 -0
  264. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitor.mjs.map +1 -0
  265. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.d.mts +10 -0
  266. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs +13 -0
  267. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.export.mjs.map +1 -0
  268. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +189 -0
  269. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -0
  270. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.d.mts +11 -0
  271. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs +13 -0
  272. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.export.mjs.map +1 -0
  273. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +97 -0
  274. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs.map +1 -0
  275. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +251 -0
  276. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs.map +1 -0
  277. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.d.mts +13 -0
  278. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs +13 -0
  279. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.export.mjs.map +1 -0
  280. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +280 -0
  281. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -0
  282. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.d.mts +10 -0
  283. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs +13 -0
  284. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.export.mjs.map +1 -0
  285. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +33 -0
  286. package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs.map +1 -0
  287. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +339 -0
  288. package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs.map +1 -0
  289. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs +66 -0
  290. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitor.mjs.map +1 -0
  291. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.d.mts +10 -0
  292. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs +13 -0
  293. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.export.mjs.map +1 -0
  294. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +189 -0
  295. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -0
  296. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.d.mts +11 -0
  297. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs +13 -0
  298. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.export.mjs.map +1 -0
  299. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +97 -0
  300. package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs.map +1 -0
  301. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.d.mts +12 -0
  302. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs +13 -0
  303. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs +75 -0
  304. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.mjs.map +1 -0
  305. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +2292 -0
  306. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -0
  307. package/commons-commons-node-remote.mjs +1 -1
  308. package/commons-commons-node.mjs +7 -0
  309. package/commons-commons-node.mjs.map +1 -1
  310. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs +987 -0
  311. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWallet.mjs.map +1 -0
  312. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.d.mts +24 -0
  313. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs +13 -0
  314. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.export.mjs.map +1 -0
  315. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs +440 -0
  316. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsync.mjs.map +1 -0
  317. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.d.mts +8 -0
  318. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs +4 -0
  319. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.d.mts +13 -0
  320. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs +13 -0
  321. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.export.mjs.map +1 -0
  322. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs +147 -0
  323. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.js.mjs.map +1 -0
  324. package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs} +7 -12
  325. package/commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.mjs.map +1 -0
  326. package/commons-commons-wallet.mjs +8 -0
  327. package/{commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs.map → commons-commons-wallet.mjs.map} +1 -1
  328. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +5 -21
  329. package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs.map +1 -1
  330. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.d.mts +13 -0
  331. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs +13 -0
  332. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.export.mjs.map +1 -0
  333. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +124 -0
  334. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs.map +1 -0
  335. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +348 -0
  336. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -0
  337. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +95 -143
  338. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
  339. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.d.mts +15 -0
  340. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs +13 -0
  341. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.export.mjs.map +1 -0
  342. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +111 -0
  343. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs.map +1 -0
  344. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +149 -260
  345. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
  346. package/commons-commons-worker-remote.mjs +1 -1
  347. package/commons-commons-worker.mjs +3 -0
  348. package/commons-commons-worker.mjs.map +1 -1
  349. package/index.d.ts +1 -0
  350. package/index.mjs +1 -0
  351. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +2 -2
  352. package/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs.map +1 -1
  353. package/kotlin-kotlin-stdlib/kotlin/Char.mjs +18 -18
  354. package/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
  355. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +28 -28
  356. package/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
  357. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs +10 -10
  358. package/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
  359. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +33 -0
  360. package/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs.map +1 -0
  361. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +10 -10
  362. package/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
  363. package/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
  364. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +27 -19
  365. package/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
  366. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +9 -136
  367. package/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
  368. package/kotlin-kotlin-stdlib/kotlin/Result.mjs +11 -12
  369. package/kotlin-kotlin-stdlib/kotlin/Result.mjs.map +1 -1
  370. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
  371. package/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
  372. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +21 -24
  373. package/kotlin-kotlin-stdlib/kotlin/Tuples.mjs.map +1 -1
  374. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  375. package/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
  376. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +50 -33
  377. package/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
  378. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs +15 -15
  379. package/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
  380. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +50 -33
  381. package/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
  382. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs +14 -15
  383. package/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
  384. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +50 -33
  385. package/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
  386. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  387. package/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
  388. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +50 -33
  389. package/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
  390. package/kotlin-kotlin-stdlib/kotlin/Unit.mjs.map +1 -1
  391. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +54 -41
  392. package/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
  393. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +15 -17
  394. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
  395. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +98 -71
  396. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs.map +1 -1
  397. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +81 -80
  398. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
  399. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +51 -17
  400. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
  401. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +107 -82
  402. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs.map +1 -1
  403. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +35 -35
  404. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
  405. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +4 -4
  406. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs.map +1 -1
  407. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +11 -11
  408. package/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs.map +1 -1
  409. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +264 -219
  410. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  411. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +1 -1
  412. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs.map +1 -1
  413. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +101 -74
  414. package/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  415. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -3
  416. package/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
  417. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.d.mts +42 -0
  418. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs +20 -0
  419. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.export.mjs.map +1 -0
  420. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +86 -17
  421. package/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs.map +1 -1
  422. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +125 -99
  423. package/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  424. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +37 -37
  425. package/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
  426. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +90 -70
  427. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
  428. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +64 -50
  429. package/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
  430. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -28
  431. package/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
  432. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +7 -9
  433. package/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs.map +1 -1
  434. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +267 -237
  435. package/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
  436. package/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
  437. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +17 -17
  438. package/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs.map +1 -1
  439. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
  440. package/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs.map +1 -1
  441. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +57 -11
  442. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
  443. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
  444. package/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
  445. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +4 -4
  446. package/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
  447. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +135 -87
  448. package/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
  449. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +42 -15
  450. package/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs.map +1 -1
  451. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -20
  452. package/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs.map +1 -1
  453. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +22 -23
  454. package/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  455. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +1 -1
  456. package/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
  457. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +165 -140
  458. package/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  459. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +67 -68
  460. package/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
  461. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +262 -260
  462. package/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
  463. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +4 -4
  464. package/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs.map +1 -1
  465. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +13 -13
  466. package/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs.map +1 -1
  467. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +33 -6
  468. package/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
  469. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +16 -16
  470. package/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  471. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs +5 -5
  472. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsHacks.mjs.map +1 -1
  473. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs +266 -0
  474. package/kotlin-kotlin-stdlib/kotlin/collections/collectionsInterop.mjs.map +1 -0
  475. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +27 -0
  476. package/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
  477. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +3 -3
  478. package/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs.map +1 -1
  479. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
  480. package/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
  481. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +10 -10
  482. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
  483. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +43 -44
  484. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
  485. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +9 -111
  486. package/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
  487. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +199 -0
  488. package/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -0
  489. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +5 -7
  490. package/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs.map +1 -1
  491. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +18 -18
  492. package/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs.map +1 -1
  493. package/kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs +8 -8
  494. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +134 -107
  495. package/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  496. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +26 -18
  497. package/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  498. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +116 -116
  499. package/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
  500. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs +10 -5
  501. package/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
  502. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +33 -0
  503. package/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +1 -0
  504. package/kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs +4 -0
  505. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -21
  506. package/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs.map +1 -1
  507. package/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +1 -1
  508. package/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  509. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -12
  510. package/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
  511. package/kotlin-kotlin-stdlib/kotlin/js/bitUtils.mjs.map +1 -1
  512. package/kotlin-kotlin-stdlib/kotlin/js/charSequenceJs.mjs.map +1 -1
  513. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs +4 -3
  514. package/kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs.map +1 -1
  515. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +58 -27
  516. package/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
  517. package/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +1 -1
  518. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs +22 -0
  519. package/kotlin-kotlin-stdlib/kotlin/js/internal/BigInt.mjs.map +1 -0
  520. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +258 -0
  521. package/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs.map +1 -0
  522. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs +246 -0
  523. package/kotlin-kotlin-stdlib/kotlin/js/internal/longAsBigInt/longAsBigInt.mjs.map +1 -0
  524. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +26 -26
  525. package/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs.map +1 -1
  526. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs +25 -0
  527. package/kotlin-kotlin-stdlib/kotlin/js/json.mjs.map +1 -0
  528. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +4 -5
  529. package/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
  530. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +3 -26
  531. package/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
  532. package/kotlin-kotlin-stdlib/kotlin/js/rangeTo.mjs.map +1 -1
  533. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +20 -3
  534. package/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
  535. package/kotlin-kotlin-stdlib/kotlin/js/regexp.mjs.map +1 -1
  536. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +1 -2
  537. package/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
  538. package/kotlin-kotlin-stdlib/kotlin/js/void.mjs.map +1 -1
  539. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +14 -14
  540. package/kotlin-kotlin-stdlib/kotlin/kotlin.mjs.map +1 -1
  541. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs +14 -14
  542. package/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
  543. package/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
  544. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +105 -13
  545. package/kotlin-kotlin-stdlib/kotlin/random/Random.mjs.map +1 -1
  546. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +38 -38
  547. package/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
  548. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +35 -103
  549. package/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
  550. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +28 -62
  551. package/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs.map +1 -1
  552. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +30 -93
  553. package/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs.map +1 -1
  554. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
  555. package/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs.map +1 -1
  556. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
  557. package/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs.map +1 -1
  558. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +24 -24
  559. package/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
  560. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs +0 -10
  561. package/kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs.map +1 -1
  562. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -25
  563. package/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs.map +1 -1
  564. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +36 -67
  565. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs.map +1 -1
  566. package/kotlin-kotlin-stdlib/{KTypeHelpers.mjs → kotlin/reflect/js/internal/KTypeHelpers.mjs} +13 -13
  567. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs.map +1 -0
  568. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs +17 -17
  569. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeImpl.mjs.map +1 -1
  570. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +18 -16
  571. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs.map +1 -1
  572. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +58 -47
  573. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
  574. package/kotlin-kotlin-stdlib/{reflection.mjs → kotlin/reflect/js/internal/reflection.mjs} +7 -47
  575. package/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs.map +1 -0
  576. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +43 -43
  577. package/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
  578. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +33 -33
  579. package/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
  580. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +18 -18
  581. package/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
  582. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +1 -1
  583. package/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs.map +1 -1
  584. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
  585. package/kotlin-kotlin-stdlib/kotlin/text/Char.mjs.map +1 -1
  586. package/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  587. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +56 -49
  588. package/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
  589. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +59 -59
  590. package/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -1
  591. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +26 -28
  592. package/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
  593. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +43 -43
  594. package/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
  595. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +32 -22
  596. package/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs.map +1 -1
  597. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +397 -412
  598. package/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
  599. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +63 -61
  600. package/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
  601. package/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs.map +1 -1
  602. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +3 -3
  603. package/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs.map +1 -1
  604. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +7 -7
  605. package/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
  606. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +33 -33
  607. package/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs.map +1 -1
  608. package/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs.map +1 -1
  609. package/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
  610. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +19 -19
  611. package/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs.map +1 -1
  612. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +21 -21
  613. package/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
  614. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -36
  615. package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  616. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +54 -54
  617. package/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs.map +1 -1
  618. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +13 -13
  619. package/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
  620. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +29 -29
  621. package/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
  622. package/{Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime → kotlin-kotlin-stdlib/kotlin/time}/Clock.mjs +6 -6
  623. package/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs.map +1 -0
  624. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +144 -118
  625. package/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
  626. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -3
  627. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
  628. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +15 -12
  629. package/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs.map +1 -1
  630. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +953 -0
  631. package/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -0
  632. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +16 -0
  633. package/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs.map +1 -0
  634. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +31 -29
  635. package/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
  636. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +13 -9
  637. package/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
  638. package/kotlin-kotlin-stdlib/noPackageHacks.mjs.map +1 -1
  639. package/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  640. package/kotlin-kotlin-stdlib/reflectionJs.mjs.map +1 -1
  641. package/kotlin-kotlin-stdlib.mjs +7 -0
  642. package/kotlin-kotlin-stdlib.mjs.map +1 -0
  643. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +30 -0
  644. package/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs.map +1 -0
  645. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +50 -0
  646. package/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs.map +1 -0
  647. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +85 -0
  648. package/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -0
  649. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +49 -0
  650. package/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -0
  651. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +80 -0
  652. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs.map +1 -0
  653. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +30 -0
  654. package/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs.map +1 -0
  655. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  656. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs.map +1 -1
  657. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +38 -0
  658. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs.map +1 -0
  659. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs +15 -0
  660. package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingLevel.mjs.map +1 -0
  661. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +60 -0
  662. package/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs.map +1 -0
  663. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +29 -2
  664. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs.map +1 -1
  665. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
  666. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs.map +1 -1
  667. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +5 -5
  668. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs.map +1 -1
  669. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +51 -0
  670. package/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs.map +1 -0
  671. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  672. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
  673. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +79 -74
  674. package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
  675. package/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs.map +1 -1
  676. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +27 -27
  677. package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  678. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +31 -195
  679. package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  680. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +11 -11
  681. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  682. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +229 -216
  683. package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  684. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +18 -62
  685. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  686. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +33 -33
  687. package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  688. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -28
  689. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  690. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  691. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +19 -19
  692. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
  693. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  694. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +41 -32
  695. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  696. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +8 -3
  697. package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
  698. package/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +2 -2
  699. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +47 -30
  700. package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  701. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +51 -51
  702. package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  703. package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  704. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +35 -32
  705. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
  706. package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  707. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  708. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
  709. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +10 -10
  710. package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs.map +1 -1
  711. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +131 -131
  712. package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  713. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +62 -103
  714. package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  715. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +492 -641
  716. package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  717. package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +4 -4
  718. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +14 -14
  719. package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  720. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  721. package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
  722. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +2 -153
  723. package/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
  724. package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +5 -5
  725. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +746 -1307
  726. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  727. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +107 -107
  728. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
  729. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +30 -28
  730. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  731. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  732. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
  733. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +20 -21
  734. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
  735. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +17 -16
  736. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  737. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +56 -83
  738. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
  739. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +56 -0
  740. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -0
  741. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +70 -0
  742. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -0
  743. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +51 -0
  744. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -0
  745. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +118 -0
  746. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -0
  747. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +249 -0
  748. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -0
  749. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +15 -72
  750. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
  751. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs +25 -0
  752. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Merge.mjs.map +1 -0
  753. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +81 -249
  754. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  755. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +89 -0
  756. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -0
  757. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +286 -0
  758. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -0
  759. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +305 -0
  760. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -0
  761. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +243 -0
  762. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -0
  763. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +145 -0
  764. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -0
  765. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +413 -0
  766. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -0
  767. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  768. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +20 -4
  769. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs.map +1 -1
  770. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +217 -0
  771. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -0
  772. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +38 -0
  773. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -0
  774. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -9
  775. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  776. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +24 -15
  777. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
  778. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +30 -0
  779. package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -0
  780. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +16 -0
  781. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs.map +1 -0
  782. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +35 -1
  783. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs.map +1 -1
  784. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +55 -51
  785. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  786. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +5 -5
  787. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
  788. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +141 -141
  789. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  790. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +4 -4
  791. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
  792. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +33 -33
  793. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
  794. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +4 -4
  795. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +30 -30
  796. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
  797. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs +2 -5
  798. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/StackTraceRecovery.mjs.map +1 -1
  799. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  800. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +10 -8
  801. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
  802. package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  803. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +26 -26
  804. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
  805. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +15 -19
  806. package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  807. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +21 -21
  808. package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  809. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +257 -0
  810. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -0
  811. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +101 -125
  812. package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
  813. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +54 -54
  814. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  815. package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  816. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  817. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +7 -7
  818. package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  819. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +279 -291
  820. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  821. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +71 -68
  822. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  823. package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  824. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +35 -31
  825. package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  826. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +79 -79
  827. package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  828. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +200 -204
  829. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  830. package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  831. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  832. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
  833. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
  834. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +69 -63
  835. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  836. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +109 -100
  837. package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  838. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs +5 -2
  839. package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
  840. package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  841. package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  842. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/KSerializer.mjs +9 -9
  843. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +47 -49
  844. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  845. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +64 -66
  846. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
  847. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +35 -35
  848. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
  849. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +136 -138
  850. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  851. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +8 -12
  852. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  853. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  854. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs.map +1 -1
  855. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +94 -89
  856. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  857. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +56 -56
  858. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
  859. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +52 -52
  860. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  861. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +117 -121
  862. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  863. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +110 -110
  864. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs.map +1 -1
  865. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +58 -59
  866. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  867. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +66 -66
  868. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
  869. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  870. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
  871. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
  872. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  873. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
  874. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  875. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +67 -30
  876. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  877. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +78 -78
  878. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  879. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +308 -308
  880. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  881. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +29 -29
  882. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  883. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +42 -46
  884. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  885. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +19 -19
  886. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  887. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs.map +1 -1
  888. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  889. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
  890. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +17 -17
  891. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  892. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +44 -44
  893. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  894. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +23 -25
  895. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  896. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +37 -37
  897. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  898. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +62 -60
  899. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  900. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +4 -4
  901. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
  902. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +137 -147
  903. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  904. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs +10 -10
  905. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
  906. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +454 -454
  907. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  908. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +276 -277
  909. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  910. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +109 -112
  911. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  912. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +99 -99
  913. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  914. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +85 -85
  915. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  916. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +55 -55
  917. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  918. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleBuilders.mjs.map +1 -1
  919. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +2 -4
  920. package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
  921. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
  922. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  923. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
  924. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs.map +1 -1
  925. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +191 -166
  926. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  927. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +281 -283
  928. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  929. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  930. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs.map +1 -1
  931. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +205 -197
  932. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
  933. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  934. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs.map +1 -1
  935. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +72 -72
  936. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
  937. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
  938. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  939. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +46 -46
  940. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
  941. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +36 -38
  942. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  943. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +66 -52
  944. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  945. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +19 -19
  946. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  947. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +3 -3
  948. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
  949. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  950. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs.map +1 -1
  951. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +113 -234
  952. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
  953. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +13 -13
  954. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
  955. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +12 -12
  956. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
  957. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +195 -190
  958. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  959. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +142 -142
  960. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  961. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  962. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -1
  963. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +6 -6
  964. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
  965. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +281 -276
  966. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  967. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  968. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
  969. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  970. package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs.map +1 -1
  971. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +354 -588
  972. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
  973. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs +1 -1
  974. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypesJs.mjs.map +1 -1
  975. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  976. package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs.map +1 -1
  977. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +142 -278
  978. package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  979. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
  980. package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
  981. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs +3 -3
  982. package/ktor-ktor-client-core/io/ktor/client/HttpClientJs.mjs.map +1 -1
  983. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +3 -3
  984. package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
  985. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
  986. package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
  987. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +104 -162
  988. package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  989. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +66 -113
  990. package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  991. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +4 -14
  992. package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs.map +1 -1
  993. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +36 -75
  994. package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
  995. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +165 -295
  996. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  997. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +54 -60
  998. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  999. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +6 -6
  1000. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs.map +1 -1
  1001. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  1002. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +14 -14
  1003. package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs.map +1 -1
  1004. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +57 -57
  1005. package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
  1006. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -8
  1007. package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
  1008. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +155 -323
  1009. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  1010. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +88 -246
  1011. package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
  1012. package/ktor-ktor-client-core/io/ktor/client/engine/js/ReadableStream.mjs.map +1 -1
  1013. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +60 -131
  1014. package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
  1015. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +12 -12
  1016. package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  1017. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +21 -10
  1018. package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs.map +1 -1
  1019. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +108 -263
  1020. package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  1021. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +105 -155
  1022. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
  1023. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +233 -462
  1024. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  1025. package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransformJs.mjs.map +1 -1
  1026. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +222 -618
  1027. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
  1028. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
  1029. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs.map +1 -1
  1030. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +119 -244
  1031. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
  1032. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +74 -184
  1033. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
  1034. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +74 -218
  1035. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  1036. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +721 -0
  1037. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -0
  1038. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +169 -247
  1039. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
  1040. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +193 -295
  1041. package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  1042. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +85 -161
  1043. package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
  1044. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  1045. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs.map +1 -1
  1046. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +15 -11
  1047. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs.map +1 -1
  1048. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +14 -14
  1049. package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs.map +1 -1
  1050. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +45 -129
  1051. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  1052. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +26 -26
  1053. package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
  1054. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +150 -185
  1055. package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
  1056. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +41 -0
  1057. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -0
  1058. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +0 -2
  1059. package/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs.map +1 -1
  1060. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +128 -213
  1061. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  1062. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +5 -37
  1063. package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
  1064. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
  1065. package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
  1066. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +82 -108
  1067. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  1068. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +32 -32
  1069. package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs.map +1 -1
  1070. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
  1071. package/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs.map +1 -1
  1072. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
  1073. package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs.map +1 -1
  1074. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  1075. package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
  1076. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +71 -156
  1077. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
  1078. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +62 -64
  1079. package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs.map +1 -1
  1080. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +102 -364
  1081. package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  1082. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +60 -170
  1083. package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
  1084. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  1085. package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs.map +1 -1
  1086. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -6
  1087. package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs.map +1 -1
  1088. package/ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs.map +1 -1
  1089. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +11 -11
  1090. package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs.map +1 -1
  1091. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  1092. package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs.map +1 -1
  1093. package/ktor-ktor-events/io/ktor/events/Events.mjs +16 -16
  1094. package/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
  1095. package/ktor-ktor-http/io/ktor/http/Codecs.mjs +162 -162
  1096. package/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
  1097. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +121 -121
  1098. package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
  1099. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +35 -35
  1100. package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
  1101. package/ktor-ktor-http/io/ktor/http/Headers.mjs +63 -63
  1102. package/ktor-ktor-http/io/ktor/http/Headers.mjs.map +1 -1
  1103. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +117 -118
  1104. package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
  1105. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +131 -130
  1106. package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
  1107. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +19 -19
  1108. package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs.map +1 -1
  1109. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +14 -17
  1110. package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
  1111. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -44
  1112. package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs.map +1 -1
  1113. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +71 -71
  1114. package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
  1115. package/ktor-ktor-http/io/ktor/http/Parameters.mjs +18 -16
  1116. package/ktor-ktor-http/io/ktor/http/Parameters.mjs.map +1 -1
  1117. package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  1118. package/ktor-ktor-http/io/ktor/http/Query.mjs.map +1 -1
  1119. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
  1120. package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
  1121. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
  1122. package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs.map +1 -1
  1123. package/ktor-ktor-http/io/ktor/http/URLParser.mjs +42 -42
  1124. package/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
  1125. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +26 -28
  1126. package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs.map +1 -1
  1127. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +47 -106
  1128. package/ktor-ktor-http/io/ktor/http/URLUtils.mjs.map +1 -1
  1129. package/ktor-ktor-http/io/ktor/http/Url.mjs +88 -128
  1130. package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  1131. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +56 -59
  1132. package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs.map +1 -1
  1133. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +10 -10
  1134. package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs.map +1 -1
  1135. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
  1136. package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs.map +1 -1
  1137. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +13 -13
  1138. package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs.map +1 -1
  1139. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +6 -7
  1140. package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
  1141. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +176 -238
  1142. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
  1143. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +90 -334
  1144. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
  1145. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +239 -580
  1146. package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
  1147. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +53 -110
  1148. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
  1149. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +91 -91
  1150. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
  1151. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  1152. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs.map +1 -1
  1153. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPoolJs.mjs.map +1 -1
  1154. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +54 -199
  1155. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs.map +1 -1
  1156. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  1157. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  1158. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs.map +1 -1
  1159. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +1 -38
  1160. package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs.map +1 -1
  1161. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +258 -419
  1162. package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  1163. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  1164. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs.map +1 -1
  1165. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +144 -350
  1166. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
  1167. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  1168. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
  1169. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +272 -1739
  1170. package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
  1171. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +24 -105
  1172. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
  1173. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +118 -356
  1174. package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  1175. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +12 -14
  1176. package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
  1177. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +43 -93
  1178. package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
  1179. package/ktor-ktor-io/io/ktor/utils/io/Deprecation.mjs.map +1 -1
  1180. package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  1181. package/{ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs → ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs} +3 -3
  1182. package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs.map +1 -0
  1183. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +20 -21
  1184. package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
  1185. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +19 -19
  1186. package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
  1187. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +118 -117
  1188. package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
  1189. package/ktor-ktor-io/io/ktor/utils/io/charsets/Decoder.js.mjs.map +1 -1
  1190. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +37 -33
  1191. package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs.map +1 -1
  1192. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  1193. package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs.map +1 -1
  1194. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  1195. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
  1196. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +8 -8
  1197. package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
  1198. package/ktor-ktor-io/io/ktor/utils/io/charsets/Win1252Table.mjs.map +1 -1
  1199. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  1200. package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs.map +1 -1
  1201. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +2 -1
  1202. package/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs.map +1 -1
  1203. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -14
  1204. package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs.map +1 -1
  1205. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +9 -20
  1206. package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs.map +1 -1
  1207. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  1208. package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs.map +1 -1
  1209. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +17 -17
  1210. package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
  1211. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  1212. package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs.map +1 -1
  1213. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +29 -29
  1214. package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  1215. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +4 -4
  1216. package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  1217. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +20 -20
  1218. package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs.map +1 -1
  1219. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +99 -270
  1220. package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
  1221. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +6 -6
  1222. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs.map +1 -1
  1223. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +216 -564
  1224. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  1225. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +40 -40
  1226. package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  1227. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  1228. package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs.map +1 -1
  1229. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +19 -20
  1230. package/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
  1231. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
  1232. package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs.map +1 -1
  1233. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +64 -53
  1234. package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
  1235. package/ktor-ktor-utils/io/ktor/util/Charset.mjs.map +1 -1
  1236. package/ktor-ktor-utils/io/ktor/util/Collections.mjs.map +1 -1
  1237. package/ktor-ktor-utils/io/ktor/util/CollectionsJs.mjs.map +1 -1
  1238. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  1239. package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
  1240. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +70 -55
  1241. package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
  1242. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -5
  1243. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs.map +1 -1
  1244. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +63 -67
  1245. package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs.map +1 -1
  1246. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs +3 -3
  1247. package/ktor-ktor-utils/io/ktor/util/PlatformUtilsJs.mjs.map +1 -1
  1248. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +154 -161
  1249. package/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
  1250. package/ktor-ktor-utils/io/ktor/util/Text.mjs +10 -10
  1251. package/ktor-ktor-utils/io/ktor/util/Text.mjs.map +1 -1
  1252. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  1253. package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs.map +1 -1
  1254. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +112 -112
  1255. package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  1256. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +11 -12
  1257. package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
  1258. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +23 -23
  1259. package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
  1260. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +15 -15
  1261. package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs.map +1 -1
  1262. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +3 -3
  1263. package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs.map +1 -1
  1264. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +45 -106
  1265. package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  1266. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
  1267. package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
  1268. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +72 -76
  1269. package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
  1270. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.js.mjs.map +1 -1
  1271. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  1272. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs.map +1 -1
  1273. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
  1274. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  1275. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs.map +1 -1
  1276. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -4
  1277. package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs.map +1 -1
  1278. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecover.mjs.map +1 -1
  1279. package/ktor-ktor-utils/io/ktor/util/pipeline/StackTraceRecoverJs.mjs.map +1 -1
  1280. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +62 -62
  1281. package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  1282. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  1283. package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs.map +1 -1
  1284. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs +1 -1
  1285. package/ktor-ktor-utils/io/ktor/util/reflect/TypeInfoJs.mjs.map +1 -1
  1286. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +22 -32
  1287. package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs.map +1 -1
  1288. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -3
  1289. package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  1290. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -87
  1291. package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs.map +1 -1
  1292. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +17 -23
  1293. package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs.map +1 -1
  1294. package/package.json +3 -4
  1295. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Clock.mjs.map +0 -1
  1296. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs +0 -258
  1297. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/Instant.mjs.map +0 -1
  1298. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs +0 -24
  1299. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/JSJodaExceptions.mjs.map +0 -1
  1300. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +0 -845
  1301. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs.map +0 -1
  1302. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs +0 -46
  1303. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/mathJs.mjs.map +0 -1
  1304. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs +0 -53
  1305. package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/InstantSerializers.mjs.map +0 -1
  1306. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.d.ts +0 -14
  1307. package/commons-commons-core/cash/atto/commons/AttoSigner.js.export.mjs +0 -12
  1308. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +0 -55
  1309. package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs.map +0 -1
  1310. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +0 -54
  1311. package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs.map +0 -1
  1312. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +0 -23
  1313. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs +0 -4
  1314. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +0 -108
  1315. package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +0 -1
  1316. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +0 -2406
  1317. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +0 -1
  1318. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.d.ts +0 -3
  1319. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.mjs +0 -12
  1320. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +0 -727
  1321. package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +0 -1
  1322. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.d.ts +0 -10
  1323. package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs +0 -4
  1324. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.export.mjs +0 -12
  1325. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +0 -272
  1326. package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs.map +0 -1
  1327. package/kotlin-kotlin-stdlib/KTypeHelpers.mjs.map +0 -1
  1328. package/kotlin-kotlin-stdlib/kotlin/Number.mjs +0 -22
  1329. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs +0 -387
  1330. package/kotlin-kotlin-stdlib/kotlin/longJs.mjs.map +0 -1
  1331. package/kotlin-kotlin-stdlib/reflection.mjs.map +0 -1
  1332. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +0 -56
  1333. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs.map +0 -1
  1334. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +0 -381
  1335. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs.map +0 -1
  1336. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +0 -52
  1337. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs.map +0 -1
  1338. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +0 -161
  1339. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs.map +0 -1
  1340. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +0 -39
  1341. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs.map +0 -1
  1342. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +0 -1338
  1343. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs.map +0 -1
  1344. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +0 -122
  1345. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs.map +0 -1
  1346. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs +0 -12
  1347. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ExceptionUtils.nonJvm.mjs.map +0 -1
  1348. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs +0 -13
  1349. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +0 -29
  1350. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs.map +0 -1
  1351. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +0 -1339
  1352. package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs.map +0 -1
  1353. package/ktor-ktor-client-cio.mjs +0 -12
  1354. package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.js.mjs.map +0 -1
  1355. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs +0 -40
  1356. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfig.mjs.map +0 -1
  1357. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs +0 -23
  1358. package/ktor-ktor-client-core/io/ktor/client/engine/ProxyConfigJs.mjs.map +0 -1
  1359. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs +0 -46
  1360. package/ktor-ktor-client-core/io/ktor/client/request/UnixSockets.mjs.map +0 -1
  1361. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +0 -680
  1362. package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs.map +0 -1
  1363. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +0 -221
  1364. package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs.map +0 -1
  1365. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +0 -171
  1366. package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs.map +0 -1
  1367. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +0 -51
  1368. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs.map +0 -1
  1369. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +0 -58
  1370. package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs.map +0 -1
  1371. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +0 -28
  1372. package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +0 -1
  1373. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +0 -107
  1374. package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs.map +0 -1
  1375. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs +0 -22
  1376. package/ktor-ktor-io/io/ktor/utils/io/core/Memory.mjs.map +0 -1
  1377. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs +0 -22
  1378. package/ktor-ktor-network/io/ktor/network/selector/Selectable.jsAndWasmShared.mjs.map +0 -1
  1379. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +0 -42
  1380. package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs.map +0 -1
  1381. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +0 -35
  1382. package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs.map +0 -1
  1383. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +0 -107
  1384. package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs.map +0 -1
  1385. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +0 -304
  1386. package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs.map +0 -1
  1387. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +0 -573
  1388. package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs.map +0 -1
  1389. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +0 -26
  1390. package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs.map +0 -1
  1391. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +0 -129
  1392. package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs.map +0 -1
  1393. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +0 -33
  1394. package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs.map +0 -1
  1395. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +0 -71
  1396. package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs.map +0 -1
  1397. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +0 -34
  1398. package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs.map +0 -1
  1399. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +0 -41
  1400. package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs.map +0 -1
  1401. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs +0 -56
  1402. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.js.mjs.map +0 -1
  1403. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +0 -163
  1404. package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs.map +0 -1
  1405. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs +0 -18
  1406. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSClientSession.nonJvm.mjs.map +0 -1
  1407. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +0 -99
  1408. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs.map +0 -1
  1409. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfig.nonJvm.mjs +0 -22
  1410. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +0 -33
  1411. package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs.map +0 -1
  1412. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs +0 -32
  1413. package/ktor-ktor-utils/io/ktor/util/cio/Channels.mjs.map +0 -1
  1414. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +0 -113
  1415. package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs.map +0 -1
  1416. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs +0 -11
  1417. package/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtilsJs.mjs.map +0 -1
  1418. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +0 -16
  1419. package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs.map +0 -1
  1420. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +0 -47
  1421. package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +0 -1
  1422. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +0 -47
  1423. package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs.map +0 -1
  1424. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs +0 -19
  1425. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs.map +0 -1
  1426. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +0 -846
  1427. package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs.map +0 -1
  1428. /package/{ktor-ktor-client-cio.mjs.map → commons-commons-core/cash/atto/commons/AttoFuture.js.export.mjs.map} +0 -0
  1429. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.mjs.map → commons-commons-core/cash/atto/commons/AttoMnemonic.export.mjs.map} +0 -0
  1430. /package/commons-commons-core/cash/atto/commons/{AttoSigner.js.export.mjs.map → AttoPublicKey.js.export.mjs.map} +0 -0
  1431. /package/commons-commons-core/cash/atto/commons/{AttoSeed.export.d.ts → AttoSeed.export.d.mts} +0 -0
  1432. /package/{commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.export.mjs.map → commons-commons-core/cash/atto/commons/AttoSeed.js.export.mjs.map} +0 -0
  1433. /package/commons-commons-core/cash/atto/commons/{AttoSocketAddress.export.d.ts → AttoSocketAddress.export.d.mts} +0 -0
  1434. /package/commons-commons-core/cash/atto/commons/{Extensions.export.d.ts → Extensions.export.d.mts} +0 -0
  1435. /package/commons-commons-node/cash/atto/commons/node/{NodeExtensions.export.d.ts → NodeExtensions.export.d.mts} +0 -0
  1436. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.mjs.map → commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientAsyncBuilder.web.export.mjs.map} +0 -0
  1437. /package/{commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.mjs.map → commons-commons-wallet/cash/atto/commons/wallet/AttoWalletAsyncBuilder.export.mjs.map} +0 -0
  1438. /package/{commons-commons-worker/cash/atto/commons/worker/AttoWorkerJs.js.export.mjs.map → kotlin-kotlin-stdlib/kotlin/internal/SharedVariableBox.mjs.map} +0 -0
  1439. /package/{ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.export.d.ts → ktor-ktor-client-core/io/ktor/client/engine/js/Js.export.d.mts} +0 -0
@@ -1,1339 +0,0 @@
1
- import {
2
- NoContent1bdx48poqrifq as NoContent,
3
- ProtocolUpgradexnnpt2xliy8g as ProtocolUpgrade,
4
- ContentWrapper3n9gdymgnbto9 as ContentWrapper,
5
- WriteChannelContent1d7f40hsfcaxg as WriteChannelContent,
6
- ReadChannelContentz1amb4hnpqp4 as ReadChannelContent,
7
- ByteArrayContent2n0wb43y6ugs1 as ByteArrayContent,
8
- } from '../../../../../../ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs';
9
- import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
10
- import {
11
- withContexte657h72vdbqn as withContext,
12
- launch1c91vkjzdi9sd as launch,
13
- } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs';
14
- import { Unit_instance1fbcbse1fwigr as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
15
- import { closeqm43o3junf8o as close } from '../../../../../../ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs';
16
- import { UnsupportedContentTypeException1omj39t4jp3a7 as UnsupportedContentTypeException } from '../../../../../../ktor-ktor-client-core/io/ktor/client/call/utils.mjs';
17
- import { HttpHeaders_getInstanceelogg8fjd54u as HttpHeaders_getInstance } from '../../../../../../ktor-ktor-http/io/ktor/http/HttpHeaders.mjs';
18
- import { encodeChunked133ferbkcl2ky as encodeChunked } from '../../../../../../ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs';
19
- import { CoroutineName2g5zosw74tf0f as CoroutineName } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs';
20
- import {
21
- CoroutineScopelux7s7zphw7e as CoroutineScope,
22
- GlobalScope_instance1sfulufhd2ijt as GlobalScope_instance,
23
- CoroutineScopefcb5f5dwqcas as CoroutineScope_0,
24
- } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
25
- import { get_job2zvlvce9o9a29 as get_job } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs';
26
- import {
27
- reader248c0jw1ii7vm as reader,
28
- ReaderScope2dc8cistt42km as ReaderScope,
29
- copyTo2vm7vz7rr51or as copyTo,
30
- discard2tnmk0ppobupv as discard,
31
- copyAndClose18m9s4thl5g8a as copyAndClose,
32
- } from '../../../../../../ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs';
33
- import { LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
34
- import { toString1pkumu07cwy4m as toString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
35
- import {
36
- mutableListOf6oorvk2mtdmp as mutableListOf,
37
- listOf1jh22dvmctj1r as listOf,
38
- } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
39
- import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
40
- import {
41
- THROW_CCE2g6jy02ryeudk as THROW_CCE,
42
- ensureNotNull1e947j3ixpazm as ensureNotNull,
43
- noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
44
- } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
45
- import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
46
- import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
47
- import {
48
- initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
49
- initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
50
- } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
51
- import {
52
- WriterScope3b0bo1enaee6b as WriterScope,
53
- writer1eia5its2a1fh as writer,
54
- close3semq7pafb42g as close_0,
55
- join2urjmnc3jly88 as join,
56
- writePacketg3gtxxix1x9l as writePacket,
57
- writeFully3gv1ab611t04k as writeFully,
58
- } from '../../../../../../ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs';
59
- import { parseHttpBody26ete4vj86xh1 as parseHttpBody } from '../../../../../../ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs';
60
- import { parseResponse4z7nmc7nt7d9 as parseResponse } from '../../../../../../ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs';
61
- import { ClosedReadChannelException9jdpzh6uy12w as ClosedReadChannelException } from '../../../../../../ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs';
62
- import {
63
- EOFExceptionh831u25jcq9n as EOFException,
64
- IOException1wyutdmfe71nu as IOException,
65
- } from '../../../../../../kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs';
66
- import {
67
- HttpStatusCode3o1wkms10pg4k as HttpStatusCode,
68
- Companion_getInstanceud97dyzf471m as Companion_getInstance,
69
- } from '../../../../../../ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs';
70
- import { toLongkk4waq8msp1k as toLong } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs';
71
- import { Long2qws0ah9gnpki as Long } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
72
- import { Companion_getInstance2p223k6x3d6mk as Companion_getInstance_0 } from '../../../../../../ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs';
73
- import { HeadersImplgosrgxq9oqma as HeadersImpl } from '../../../../../../ktor-ktor-http/io/ktor/http/Headers.mjs';
74
- import { Companion_getInstance312jiahuid5ey as Companion_getInstance_1 } from '../../../../../../ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs';
75
- import { RawWebSocket2pme5y82im9ml as RawWebSocket } from '../../../../../../ktor-ktor-websockets/io/ktor/websocket/RawWebSocket.mjs';
76
- import {
77
- HttpResponseData2dozo5khuplr6 as HttpResponseData,
78
- get_ResponseAdapterAttributeKey1ll13ywinsgvd as get_ResponseAdapterAttributeKey,
79
- } from '../../../../../../ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs';
80
- import { Companion_getInstance2ai11rhpust2a as Companion_getInstance_2 } from '../../../../../../ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs';
81
- import {
82
- Companion_getInstance1p3cpld7r1jz3 as Companion_getInstance_3,
83
- get_supportsRequestBodyjdtitrt33hir as get_supportsRequestBody,
84
- HttpMethod3h6z7cp149m8j as HttpMethod,
85
- } from '../../../../../../ktor-ktor-http/io/ktor/http/HttpMethod.mjs';
86
- import { closeFinally1sadm0w9gt3u4 as closeFinally } from '../../../../../../kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs';
87
- import { unwrapCancellationException1zvbmufui4i9c as unwrapCancellationException } from '../../../../../../ktor-ktor-client-core/io/ktor/client/utils/ExceptionUtils.nonJvm.mjs';
88
- import { CancellationException3b36o9qz53rgr as CancellationException } from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/cancellation/CancellationException.mjs';
89
- import { RequestResponseBuilder3ogeff86bzsnw as RequestResponseBuilder } from '../../../../../../ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs';
90
- import {
91
- URLBuilder1hwx1b9569i61 as URLBuilder,
92
- get_fullPath1nnuhxveoo485 as get_fullPath,
93
- get_hostWithPort2ab9xqdozpn7k as get_hostWithPort,
94
- } from '../../../../../../ktor-ktor-http/io/ktor/http/URLUtils.mjs';
95
- import { set_encodedPath3q0i8nsv3a7qy as set_encodedPath } from '../../../../../../ktor-ktor-http/io/ktor/http/URLBuilder.mjs';
96
- import { mergeHeadersub4y73mj759y as mergeHeaders } from '../../../../../../ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs';
97
- import { IllegalStateExceptionkoljg5n0nrlr as IllegalStateException } from '../../../../../../kotlin-kotlin-stdlib/kotlin/exceptions.mjs';
98
- //region block: imports
99
- //endregion
100
- //region block: pre-declaration
101
- //endregion
102
- function handleHalfClosed(_this__u8e3s4, coroutineContext, propagateClose) {
103
- return propagateClose ? _this__u8e3s4 : withoutClosePropagation(_this__u8e3s4, coroutineContext);
104
- }
105
- function expectContinue(expectHeader, body) {
106
- var tmp;
107
- if (!(expectHeader == null)) {
108
- tmp = !(body instanceof NoContent());
109
- } else {
110
- tmp = false;
111
- }
112
- return tmp;
113
- }
114
- function writeRequest(request, output, callContext, overProxy, closeChannel, $completion) {
115
- closeChannel = closeChannel === VOID ? true : closeChannel;
116
- return withContext(callContext, writeRequest$slambda_0(request, output, overProxy, closeChannel, callContext, null), $completion);
117
- }
118
- function readResponse(requestTime, request, input, output, callContext, $completion) {
119
- return withContext(callContext, readResponse$slambda_0(input, output, callContext, requestTime, request, null), $completion);
120
- }
121
- function writeHeaders(request, output, overProxy, closeChannel, $completion) {
122
- closeChannel = closeChannel === VOID ? true : closeChannel;
123
- var tmp = new ($writeHeadersCOROUTINE$())(request, output, overProxy, closeChannel, $completion);
124
- tmp.cc_1 = Unit_instance;
125
- tmp.dc_1 = null;
126
- return tmp.ic();
127
- }
128
- function writeBody(request, output, callContext, closeChannel, $completion) {
129
- closeChannel = closeChannel === VOID ? true : closeChannel;
130
- var body = getUnwrapped(request.t56_1);
131
- if (body instanceof NoContent()) {
132
- if (closeChannel) {
133
- close(output);
134
- }
135
- return Unit_instance;
136
- }
137
- if (body instanceof ProtocolUpgrade()) {
138
- throw UnsupportedContentTypeException().n55(body);
139
- }
140
- var tmp0_elvis_lhs = request.s56_1.c3s(HttpHeaders_getInstance().v41_1);
141
- var tmp;
142
- if (tmp0_elvis_lhs == null) {
143
- var tmp1_safe_receiver = body.t4b();
144
- tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
145
- } else {
146
- tmp = tmp0_elvis_lhs;
147
- }
148
- var contentLength = tmp;
149
- var contentEncoding = request.s56_1.c3s(HttpHeaders_getInstance().c44_1);
150
- var responseEncoding = body.z45().c3s(HttpHeaders_getInstance().c44_1);
151
- var chunked = isChunked(contentLength, responseEncoding, contentEncoding);
152
- var chunkedJob = chunked ? encodeChunked(output, callContext) : null;
153
- var tmp3_elvis_lhs = chunkedJob == null ? null : chunkedJob.d3h_1;
154
- var channel = tmp3_elvis_lhs == null ? output : tmp3_elvis_lhs;
155
- var scope = CoroutineScope(callContext.lm(new (CoroutineName())('cio-client-body-writer')));
156
- launch(scope, VOID, VOID, writeBody$slambda_0(request, body, channel, chunkedJob, output, closeChannel, null));
157
- return Unit_instance;
158
- }
159
- function startTunnel(request, output, input, $completion) {
160
- var tmp = new ($startTunnelCOROUTINE$())(request, output, input, $completion);
161
- tmp.cc_1 = Unit_instance;
162
- tmp.dc_1 = null;
163
- return tmp.ic();
164
- }
165
- function withoutClosePropagation(_this__u8e3s4, coroutineContext, closeOnCoroutineCompletion) {
166
- closeOnCoroutineCompletion = closeOnCoroutineCompletion === VOID ? true : closeOnCoroutineCompletion;
167
- if (closeOnCoroutineCompletion) {
168
- var tmp = get_job(coroutineContext);
169
- tmp.v1y(withoutClosePropagation$lambda(_this__u8e3s4));
170
- }
171
- var tmp_0 = GlobalScope_instance;
172
- return reader(tmp_0, coroutineContext, true, withoutClosePropagation$slambda_0(_this__u8e3s4, null)).d3h_1;
173
- }
174
- function toMap(_this__u8e3s4) {
175
- // Inline function 'kotlin.collections.mutableMapOf' call
176
- var result = LinkedHashMap().ub();
177
- var _iterator__ex2g4s = _this__u8e3s4.t4h().d1();
178
- while (_iterator__ex2g4s.e1()) {
179
- var offset = _iterator__ex2g4s.f1();
180
- var key = toString(_this__u8e3s4.b4i(offset));
181
- var value = toString(_this__u8e3s4.s4h(offset));
182
- var tmp0_safe_receiver = result.w2(key);
183
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m(value)) == null) {
184
- // Inline function 'kotlin.collections.set' call
185
- var value_0 = mutableListOf([value]);
186
- result.d3(key, value_0);
187
- }
188
- }
189
- return result;
190
- }
191
- function isInformational(_this__u8e3s4) {
192
- return (_this__u8e3s4.v48_1 / 100 | 0) === 1;
193
- }
194
- function isChunked(contentLength, responseEncoding, contentEncoding) {
195
- return contentLength == null || responseEncoding === 'chunked' || contentEncoding === 'chunked';
196
- }
197
- function getUnwrapped(_this__u8e3s4) {
198
- var tmp;
199
- if (_this__u8e3s4 instanceof ContentWrapper()) {
200
- tmp = getUnwrapped(_this__u8e3s4.d4c());
201
- } else {
202
- tmp = _this__u8e3s4;
203
- }
204
- return tmp;
205
- }
206
- function processOutgoingContent(request, body, channel, $completion) {
207
- var tmp = new ($processOutgoingContentCOROUTINE$())(request, body, channel, $completion);
208
- tmp.cc_1 = Unit_instance;
209
- tmp.dc_1 = null;
210
- return tmp.ic();
211
- }
212
- var writeRequest$slambdaClass;
213
- function writeRequest$slambda() {
214
- if (writeRequest$slambdaClass === VOID) {
215
- class $ extends CoroutineImpl() {
216
- constructor($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation, $box) {
217
- if ($box === VOID)
218
- $box = {};
219
- $box.r7c_1 = $request;
220
- $box.s7c_1 = $output;
221
- $box.t7c_1 = $overProxy;
222
- $box.u7c_1 = $closeChannel;
223
- $box.v7c_1 = $callContext;
224
- super(resultContinuation, $box);
225
- }
226
- z37($this$withContext, $completion) {
227
- var tmp = this.d36($this$withContext, $completion);
228
- tmp.cc_1 = Unit_instance;
229
- tmp.dc_1 = null;
230
- return tmp.ic();
231
- }
232
- kd(p1, $completion) {
233
- return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
234
- }
235
- ic() {
236
- var suspendResult = this.cc_1;
237
- $sm: do
238
- try {
239
- var tmp = this.ac_1;
240
- switch (tmp) {
241
- case 0:
242
- this.bc_1 = 3;
243
- this.ac_1 = 1;
244
- suspendResult = writeHeaders(this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, this);
245
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
246
- return suspendResult;
247
- }
248
-
249
- continue $sm;
250
- case 1:
251
- this.ac_1 = 2;
252
- suspendResult = writeBody(this.r7c_1, this.s7c_1, this.v7c_1, VOID, this);
253
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
254
- return suspendResult;
255
- }
256
-
257
- continue $sm;
258
- case 2:
259
- return Unit_instance;
260
- case 3:
261
- throw this.dc_1;
262
- }
263
- } catch ($p) {
264
- var e = $p;
265
- if (this.bc_1 === 3) {
266
- throw e;
267
- } else {
268
- this.ac_1 = this.bc_1;
269
- this.dc_1 = e;
270
- }
271
- }
272
- while (true);
273
- }
274
- d36($this$withContext, completion) {
275
- var i = new (writeRequest$slambda())(this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, this.v7c_1, completion);
276
- i.w7c_1 = $this$withContext;
277
- return i;
278
- }
279
- }
280
- initMetadataForLambda($, VOID, VOID, [1]);
281
- writeRequest$slambdaClass = $;
282
- }
283
- return writeRequest$slambdaClass;
284
- }
285
- function writeRequest$slambda_0($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation) {
286
- var i = new (writeRequest$slambda())($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation);
287
- var l = function ($this$withContext, $completion) {
288
- return i.z37($this$withContext, $completion);
289
- };
290
- l.$arity = 1;
291
- return l;
292
- }
293
- var readResponse$slambda$slambdaClass;
294
- function readResponse$slambda$slambda() {
295
- if (readResponse$slambda$slambdaClass === VOID) {
296
- class $ extends CoroutineImpl() {
297
- constructor($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation, $box) {
298
- if ($box === VOID)
299
- $box = {};
300
- $box.f7d_1 = $version;
301
- $box.g7d_1 = $contentLength;
302
- $box.h7d_1 = $transferEncoding;
303
- $box.i7d_1 = $connectionType;
304
- $box.j7d_1 = $input;
305
- super(resultContinuation, $box);
306
- }
307
- z4l($this$writer, $completion) {
308
- var tmp = this.a4m($this$writer, $completion);
309
- tmp.cc_1 = Unit_instance;
310
- tmp.dc_1 = null;
311
- return tmp.ic();
312
- }
313
- kd(p1, $completion) {
314
- return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
315
- }
316
- ic() {
317
- var suspendResult = this.cc_1;
318
- $sm: do
319
- try {
320
- var tmp = this.ac_1;
321
- switch (tmp) {
322
- case 0:
323
- this.bc_1 = 2;
324
- this.ac_1 = 1;
325
- suspendResult = parseHttpBody(this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1, this.k7d_1.j3n_1, this);
326
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
327
- return suspendResult;
328
- }
329
-
330
- continue $sm;
331
- case 1:
332
- return Unit_instance;
333
- case 2:
334
- throw this.dc_1;
335
- }
336
- } catch ($p) {
337
- var e = $p;
338
- if (this.bc_1 === 2) {
339
- throw e;
340
- } else {
341
- this.ac_1 = this.bc_1;
342
- this.dc_1 = e;
343
- }
344
- }
345
- while (true);
346
- }
347
- a4m($this$writer, completion) {
348
- var i = new (readResponse$slambda$slambda())(this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1, completion);
349
- i.k7d_1 = $this$writer;
350
- return i;
351
- }
352
- }
353
- initMetadataForLambda($, VOID, VOID, [1]);
354
- readResponse$slambda$slambdaClass = $;
355
- }
356
- return readResponse$slambda$slambdaClass;
357
- }
358
- function readResponse$slambda$slambda_0($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation) {
359
- var i = new (readResponse$slambda$slambda())($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation);
360
- var l = function ($this$writer, $completion) {
361
- return i.z4l($this$writer, $completion);
362
- };
363
- l.$arity = 1;
364
- return l;
365
- }
366
- var readResponse$slambdaClass;
367
- function readResponse$slambda() {
368
- if (readResponse$slambdaClass === VOID) {
369
- class $ extends CoroutineImpl() {
370
- constructor($input, $output, $callContext, $requestTime, $request, resultContinuation, $box) {
371
- if ($box === VOID)
372
- $box = {};
373
- $box.t7d_1 = $input;
374
- $box.u7d_1 = $output;
375
- $box.v7d_1 = $callContext;
376
- $box.w7d_1 = $requestTime;
377
- $box.x7d_1 = $request;
378
- super(resultContinuation, $box);
379
- }
380
- c58($this$withContext, $completion) {
381
- var tmp = this.d36($this$withContext, $completion);
382
- tmp.cc_1 = Unit_instance;
383
- tmp.dc_1 = null;
384
- return tmp.ic();
385
- }
386
- kd(p1, $completion) {
387
- return this.c58((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
388
- }
389
- ic() {
390
- var suspendResult = this.cc_1;
391
- $sm: do
392
- try {
393
- var tmp = this.ac_1;
394
- switch (tmp) {
395
- case 0:
396
- this.bc_1 = 2;
397
- this.ac_1 = 1;
398
- suspendResult = parseResponse(this.t7d_1, this);
399
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
400
- return suspendResult;
401
- }
402
-
403
- continue $sm;
404
- case 1:
405
- var tmp0_elvis_lhs = suspendResult;
406
- var tmp_0;
407
- if (tmp0_elvis_lhs == null) {
408
- throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse HTTP response: the server prematurely closed the connection'));
409
- } else {
410
- tmp_0 = tmp0_elvis_lhs;
411
- }
412
-
413
- var rawResponse = tmp_0;
414
- l$ret$7: do {
415
- var exception = null;
416
- l$ret$5: do {
417
- l$ret$3: do {
418
- var tmp$ret$0;
419
- l$ret$1: do {
420
- var tmp_1;
421
- try {
422
- var tmp_2;
423
- try {
424
- var status = new (HttpStatusCode())(rawResponse.j4n_1, toString(rawResponse.k4n_1));
425
- var tmp0_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
426
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toString(tmp0_safe_receiver);
427
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : toLong(tmp1_safe_receiver);
428
- var contentLength = tmp2_elvis_lhs == null ? new (Long())(-1, -1) : tmp2_elvis_lhs;
429
- var tmp3_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().c44_1);
430
- var transferEncoding = tmp3_safe_receiver == null ? null : toString(tmp3_safe_receiver);
431
- var connectionType = Companion_getInstance_0().b4g(rawResponse.l4n_1.c3s(HttpHeaders_getInstance().r41_1));
432
- var rawHeaders = rawResponse.l4n_1;
433
- var headers = new (HeadersImpl())(toMap(rawHeaders));
434
- var version = Companion_getInstance_1().h1l(rawResponse.i4n_1);
435
- if (status.equals(Companion_getInstance().t46_1)) {
436
- var session = RawWebSocket(this.t7d_1, this.u7d_1, VOID, true, this.v7d_1);
437
- tmp$ret$0 = new (HttpResponseData())(status, this.w7d_1, headers, version, session, this.v7d_1);
438
- break l$ret$1;
439
- }
440
- var tmp_3;
441
- if (this.x7d_1.r56_1.equals(Companion_getInstance_3().f46_1) || listOf([Companion_getInstance().h47_1, Companion_getInstance().z46_1]).q2(status) || isInformational(status)) {
442
- tmp_3 = Companion_getInstance_2().h3d_1;
443
- } else {
444
- var coroutineScope = CoroutineScope(this.v7d_1.lm(new (CoroutineName())('cio-client-body-reader')));
445
- var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.t7d_1, null));
446
- tmp_3 = httpBodyParser.h3n_1;
447
- }
448
- var body = tmp_3;
449
- var tmp4_safe_receiver = this.x7d_1.v56_1.s3r(get_ResponseAdapterAttributeKey());
450
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t5w(this.x7d_1, status, headers, body, this.x7d_1.t56_1, this.v7d_1);
451
- var responseBody = tmp5_elvis_lhs == null ? body : tmp5_elvis_lhs;
452
- tmp$ret$0 = new (HttpResponseData())(status, this.w7d_1, headers, version, responseBody, this.v7d_1);
453
- break l$ret$1;
454
- } catch ($p) {
455
- var tmp_4;
456
- if ($p instanceof Error) {
457
- var e = $p;
458
- exception = e;
459
- throw e;
460
- } else {
461
- throw $p;
462
- }
463
- }
464
- } catch ($p) {
465
- var tmp_5;
466
- var t = $p;
467
- closeFinally(rawResponse, exception);
468
- throw t;
469
- }
470
- }
471
- while (false);
472
- var tmp_6 = tmp$ret$0;
473
- closeFinally(rawResponse, exception);
474
- return tmp_6;
475
- }
476
- while (false);
477
- closeFinally(rawResponse, exception);
478
- break l$ret$7;
479
- }
480
- while (false);
481
- closeFinally(rawResponse, exception);
482
- }
483
- while (false);
484
- return Unit_instance;
485
- case 2:
486
- throw this.dc_1;
487
- }
488
- } catch ($p) {
489
- var e_0 = $p;
490
- if (this.bc_1 === 2) {
491
- throw e_0;
492
- } else {
493
- this.ac_1 = this.bc_1;
494
- this.dc_1 = e_0;
495
- }
496
- }
497
- while (true);
498
- }
499
- d36($this$withContext, completion) {
500
- var i = new (readResponse$slambda())(this.t7d_1, this.u7d_1, this.v7d_1, this.w7d_1, this.x7d_1, completion);
501
- i.y7d_1 = $this$withContext;
502
- return i;
503
- }
504
- }
505
- initMetadataForLambda($, VOID, VOID, [1]);
506
- readResponse$slambdaClass = $;
507
- }
508
- return readResponse$slambdaClass;
509
- }
510
- function readResponse$slambda_0($input, $output, $callContext, $requestTime, $request, resultContinuation) {
511
- var i = new (readResponse$slambda())($input, $output, $callContext, $requestTime, $request, resultContinuation);
512
- var l = function ($this$withContext, $completion) {
513
- return i.c58($this$withContext, $completion);
514
- };
515
- l.$arity = 1;
516
- return l;
517
- }
518
- function writeHeaders$lambda($builder) {
519
- return function (key, value) {
520
- var tmp;
521
- if (key === HttpHeaders_getInstance().v41_1 || key === HttpHeaders_getInstance().g42_1) {
522
- return Unit_instance;
523
- }
524
- $builder.p4o(key, value);
525
- return Unit_instance;
526
- };
527
- }
528
- var writeBody$slambdaClass;
529
- function writeBody$slambda() {
530
- if (writeBody$slambdaClass === VOID) {
531
- class $ extends CoroutineImpl() {
532
- constructor($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation, $box) {
533
- if ($box === VOID)
534
- $box = {};
535
- $box.h7e_1 = $request;
536
- $box.i7e_1 = $body;
537
- $box.j7e_1 = $channel;
538
- $box.k7e_1 = $chunkedJob;
539
- $box.l7e_1 = $output;
540
- $box.m7e_1 = $closeChannel;
541
- super(resultContinuation, $box);
542
- }
543
- z37($this$launch, $completion) {
544
- var tmp = this.d36($this$launch, $completion);
545
- tmp.cc_1 = Unit_instance;
546
- tmp.dc_1 = null;
547
- return tmp.ic();
548
- }
549
- kd(p1, $completion) {
550
- return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
551
- }
552
- ic() {
553
- var suspendResult = this.cc_1;
554
- $sm: do
555
- try {
556
- var tmp = this.ac_1;
557
- switch (tmp) {
558
- case 0:
559
- this.bc_1 = 12;
560
- this.ac_1 = 1;
561
- continue $sm;
562
- case 1:
563
- this.bc_1 = 4;
564
- this.bc_1 = 3;
565
- this.ac_1 = 2;
566
- suspendResult = processOutgoingContent(this.h7e_1, this.i7e_1, this.j7e_1, this);
567
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
568
- return suspendResult;
569
- }
570
-
571
- continue $sm;
572
- case 2:
573
- this.o7e_1 = suspendResult;
574
- this.bc_1 = 12;
575
- this.ac_1 = 8;
576
- continue $sm;
577
- case 3:
578
- this.bc_1 = 4;
579
- var tmp_0 = this.dc_1;
580
- if (tmp_0 instanceof Error) {
581
- this.p7e_1 = this.dc_1;
582
- var tmp_1 = this;
583
- close_0(this.j7e_1, this.p7e_1);
584
- throw this.p7e_1;
585
- } else {
586
- throw this.dc_1;
587
- }
588
-
589
- case 4:
590
- this.bc_1 = 12;
591
- this.q7e_1 = this.dc_1;
592
- this.ac_1 = 5;
593
- suspendResult = this.j7e_1.z3a(this);
594
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
595
- return suspendResult;
596
- }
597
-
598
- continue $sm;
599
- case 5:
600
- var tmp0_safe_receiver = this.k7e_1;
601
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3h_1;
602
- if (tmp1_safe_receiver == null)
603
- null;
604
- else {
605
- close(tmp1_safe_receiver);
606
- }
607
-
608
- this.r7e_1 = this.k7e_1;
609
- if (this.r7e_1 == null) {
610
- this.s7e_1 = null;
611
- this.ac_1 = 7;
612
- continue $sm;
613
- } else {
614
- this.ac_1 = 6;
615
- suspendResult = join(this.r7e_1, this);
616
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
617
- return suspendResult;
618
- }
619
- continue $sm;
620
- }
621
-
622
- case 6:
623
- var tmp_2 = this;
624
- tmp_2.s7e_1 = Unit_instance;
625
- this.ac_1 = 7;
626
- continue $sm;
627
- case 7:
628
- var tmp3_safe_receiver = this.l7e_1.f3b();
629
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : unwrapCancellationException(tmp3_safe_receiver);
630
- var tmp_3;
631
- if (tmp4_safe_receiver == null) {
632
- tmp_3 = null;
633
- } else {
634
- var tmp_4;
635
- if (!(tmp4_safe_receiver instanceof CancellationException())) {
636
- tmp_4 = tmp4_safe_receiver;
637
- } else {
638
- tmp_4 = null;
639
- }
640
- tmp_3 = tmp_4;
641
- }
642
-
643
- var tmp5_safe_receiver = tmp_3;
644
- if (tmp5_safe_receiver == null)
645
- null;
646
- else {
647
- throw tmp5_safe_receiver;
648
- }
649
-
650
- if (this.m7e_1) {
651
- close(this.l7e_1);
652
- }
653
-
654
- throw this.q7e_1;
655
- case 8:
656
- this.bc_1 = 12;
657
- this.ac_1 = 9;
658
- suspendResult = this.j7e_1.z3a(this);
659
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
660
- return suspendResult;
661
- }
662
-
663
- continue $sm;
664
- case 9:
665
- var tmp0_safe_receiver_0 = this.k7e_1;
666
- var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.d3h_1;
667
- if (tmp1_safe_receiver_0 == null)
668
- null;
669
- else {
670
- close(tmp1_safe_receiver_0);
671
- }
672
-
673
- this.t7e_1 = this.k7e_1;
674
- if (this.t7e_1 == null) {
675
- this.u7e_1 = null;
676
- this.ac_1 = 11;
677
- continue $sm;
678
- } else {
679
- this.ac_1 = 10;
680
- suspendResult = join(this.t7e_1, this);
681
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
682
- return suspendResult;
683
- }
684
- continue $sm;
685
- }
686
-
687
- case 10:
688
- var tmp_5 = this;
689
- tmp_5.u7e_1 = Unit_instance;
690
- this.ac_1 = 11;
691
- continue $sm;
692
- case 11:
693
- var tmp3_safe_receiver_0 = this.l7e_1.f3b();
694
- var tmp4_safe_receiver_0 = tmp3_safe_receiver_0 == null ? null : unwrapCancellationException(tmp3_safe_receiver_0);
695
- var tmp_6;
696
- if (tmp4_safe_receiver_0 == null) {
697
- tmp_6 = null;
698
- } else {
699
- var tmp_7;
700
- if (!(tmp4_safe_receiver_0 instanceof CancellationException())) {
701
- tmp_7 = tmp4_safe_receiver_0;
702
- } else {
703
- tmp_7 = null;
704
- }
705
- tmp_6 = tmp_7;
706
- }
707
-
708
- var tmp5_safe_receiver_0 = tmp_6;
709
- if (tmp5_safe_receiver_0 == null)
710
- null;
711
- else {
712
- throw tmp5_safe_receiver_0;
713
- }
714
-
715
- if (this.m7e_1) {
716
- close(this.l7e_1);
717
- }
718
-
719
- return Unit_instance;
720
- case 12:
721
- throw this.dc_1;
722
- }
723
- } catch ($p) {
724
- var e = $p;
725
- if (this.bc_1 === 12) {
726
- throw e;
727
- } else {
728
- this.ac_1 = this.bc_1;
729
- this.dc_1 = e;
730
- }
731
- }
732
- while (true);
733
- }
734
- d36($this$launch, completion) {
735
- var i = new (writeBody$slambda())(this.h7e_1, this.i7e_1, this.j7e_1, this.k7e_1, this.l7e_1, this.m7e_1, completion);
736
- i.n7e_1 = $this$launch;
737
- return i;
738
- }
739
- }
740
- initMetadataForLambda($, VOID, VOID, [1]);
741
- writeBody$slambdaClass = $;
742
- }
743
- return writeBody$slambdaClass;
744
- }
745
- function writeBody$slambda_0($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation) {
746
- var i = new (writeBody$slambda())($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation);
747
- var l = function ($this$launch, $completion) {
748
- return i.z37($this$launch, $completion);
749
- };
750
- l.$arity = 1;
751
- return l;
752
- }
753
- function withoutClosePropagation$lambda($this_withoutClosePropagation) {
754
- return function (it) {
755
- close_0($this_withoutClosePropagation, it);
756
- return Unit_instance;
757
- };
758
- }
759
- var withoutClosePropagation$slambdaClass;
760
- function withoutClosePropagation$slambda() {
761
- if (withoutClosePropagation$slambdaClass === VOID) {
762
- class $ extends CoroutineImpl() {
763
- constructor($this_withoutClosePropagation, resultContinuation, $box) {
764
- if ($box === VOID)
765
- $box = {};
766
- $box.d7f_1 = $this_withoutClosePropagation;
767
- super(resultContinuation, $box);
768
- }
769
- o4f($this$reader, $completion) {
770
- var tmp = this.p4f($this$reader, $completion);
771
- tmp.cc_1 = Unit_instance;
772
- tmp.dc_1 = null;
773
- return tmp.ic();
774
- }
775
- kd(p1, $completion) {
776
- return this.o4f(p1 instanceof ReaderScope() ? p1 : THROW_CCE(), $completion);
777
- }
778
- ic() {
779
- var suspendResult = this.cc_1;
780
- $sm: do
781
- try {
782
- var tmp = this.ac_1;
783
- switch (tmp) {
784
- case 0:
785
- this.bc_1 = 3;
786
- this.ac_1 = 1;
787
- suspendResult = copyTo(this.e7f_1.f3h_1, this.d7f_1, new (Long())(-1, 2147483647), this);
788
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
789
- return suspendResult;
790
- }
791
-
792
- continue $sm;
793
- case 1:
794
- this.ac_1 = 2;
795
- suspendResult = this.d7f_1.z3a(this);
796
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
797
- return suspendResult;
798
- }
799
-
800
- continue $sm;
801
- case 2:
802
- return Unit_instance;
803
- case 3:
804
- throw this.dc_1;
805
- }
806
- } catch ($p) {
807
- var e = $p;
808
- if (this.bc_1 === 3) {
809
- throw e;
810
- } else {
811
- this.ac_1 = this.bc_1;
812
- this.dc_1 = e;
813
- }
814
- }
815
- while (true);
816
- }
817
- p4f($this$reader, completion) {
818
- var i = new (withoutClosePropagation$slambda())(this.d7f_1, completion);
819
- i.e7f_1 = $this$reader;
820
- return i;
821
- }
822
- }
823
- initMetadataForLambda($, VOID, VOID, [1]);
824
- withoutClosePropagation$slambdaClass = $;
825
- }
826
- return withoutClosePropagation$slambdaClass;
827
- }
828
- function withoutClosePropagation$slambda_0($this_withoutClosePropagation, resultContinuation) {
829
- var i = new (withoutClosePropagation$slambda())($this_withoutClosePropagation, resultContinuation);
830
- var l = function ($this$reader, $completion) {
831
- return i.o4f($this$reader, $completion);
832
- };
833
- l.$arity = 1;
834
- return l;
835
- }
836
- var $writeHeadersCOROUTINE$Class;
837
- function $writeHeadersCOROUTINE$() {
838
- if ($writeHeadersCOROUTINE$Class === VOID) {
839
- class $ extends CoroutineImpl() {
840
- constructor(request, output, overProxy, closeChannel, resultContinuation) {
841
- super(resultContinuation);
842
- this.a7a_1 = request;
843
- this.b7a_1 = output;
844
- this.c7a_1 = overProxy;
845
- this.d7a_1 = closeChannel;
846
- }
847
- ic() {
848
- var suspendResult = this.cc_1;
849
- $sm: do
850
- try {
851
- var tmp = this.ac_1;
852
- switch (tmp) {
853
- case 0:
854
- this.bc_1 = 9;
855
- this.e7a_1 = new (RequestResponseBuilder())();
856
- this.f7a_1 = this.a7a_1.r56_1;
857
- this.g7a_1 = this.a7a_1.q56_1;
858
- this.h7a_1 = this.a7a_1.s56_1;
859
- this.i7a_1 = this.a7a_1.t56_1;
860
- var tmp_0 = this;
861
- var tmp0_elvis_lhs = this.h7a_1.c3s(HttpHeaders_getInstance().v41_1);
862
- var tmp_1;
863
- if (tmp0_elvis_lhs == null) {
864
- var tmp1_safe_receiver = this.i7a_1.t4b();
865
- tmp_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
866
- } else {
867
- tmp_1 = tmp0_elvis_lhs;
868
- }
869
-
870
- tmp_0.j7a_1 = tmp_1;
871
- this.k7a_1 = this.h7a_1.c3s(HttpHeaders_getInstance().c44_1);
872
- this.l7a_1 = this.i7a_1.z45().c3s(HttpHeaders_getInstance().c44_1);
873
- this.m7a_1 = isChunked(this.j7a_1, this.l7a_1, this.k7a_1);
874
- this.n7a_1 = this.h7a_1.c3s(HttpHeaders_getInstance().g42_1);
875
- this.ac_1 = 1;
876
- continue $sm;
877
- case 1:
878
- this.bc_1 = 8;
879
- this.bc_1 = 4;
880
- var tmp_2 = this;
881
- var tmp_3;
882
- if (this.g7a_1.x49_1.j()) {
883
- var this_0 = URLBuilder(this.g7a_1);
884
- set_encodedPath(this_0, '/');
885
- tmp_3 = this_0.z1i();
886
- } else {
887
- tmp_3 = this.g7a_1;
888
- }
889
-
890
- tmp_2.p7a_1 = tmp_3;
891
- this.q7a_1 = this.c7a_1 ? this.p7a_1.toString() : get_fullPath(this.p7a_1);
892
- this.e7a_1.o4o(this.f7a_1, this.q7a_1, Companion_getInstance_1().k46_1.toString());
893
- if (!this.h7a_1.j3t(HttpHeaders_getInstance().k42_1)) {
894
- var tmp_4;
895
- if (this.g7a_1.a4a_1.m49_1 === this.g7a_1.g4b()) {
896
- tmp_4 = this.g7a_1.o49_1;
897
- } else {
898
- tmp_4 = get_hostWithPort(this.g7a_1);
899
- }
900
- var host = tmp_4;
901
- this.e7a_1.p4o(HttpHeaders_getInstance().k42_1, host);
902
- }
903
-
904
- var tmp_5 = this;
905
- var tmp_6 = this.i7a_1;
906
- tmp_5.r7a_1 = !(tmp_6 instanceof NoContent());
907
- if (!(this.j7a_1 == null)) {
908
- if (get_supportsRequestBody(this.f7a_1) || this.r7a_1) {
909
- this.e7a_1.p4o(HttpHeaders_getInstance().v41_1, this.j7a_1);
910
- }
911
- }
912
-
913
- mergeHeaders(this.h7a_1, this.i7a_1, writeHeaders$lambda(this.e7a_1));
914
- var tmp_7;
915
- if (this.m7a_1 && this.k7a_1 == null && this.l7a_1 == null) {
916
- var tmp_8 = this.i7a_1;
917
- tmp_7 = !(tmp_8 instanceof NoContent());
918
- } else {
919
- tmp_7 = false;
920
- }
921
-
922
- if (tmp_7) {
923
- this.e7a_1.p4o(HttpHeaders_getInstance().c44_1, 'chunked');
924
- }
925
-
926
- if (expectContinue(this.n7a_1, this.i7a_1)) {
927
- this.e7a_1.p4o(HttpHeaders_getInstance().g42_1, ensureNotNull(this.n7a_1));
928
- }
929
-
930
- this.e7a_1.q4o();
931
- this.ac_1 = 2;
932
- suspendResult = writePacket(this.b7a_1, this.e7a_1.z1i(), this);
933
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
934
- return suspendResult;
935
- }
936
-
937
- continue $sm;
938
- case 2:
939
- this.ac_1 = 3;
940
- suspendResult = this.b7a_1.z3a(this);
941
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
942
- return suspendResult;
943
- }
944
-
945
- continue $sm;
946
- case 3:
947
- this.o7a_1 = suspendResult;
948
- this.bc_1 = 9;
949
- this.ac_1 = 7;
950
- continue $sm;
951
- case 4:
952
- this.bc_1 = 8;
953
- var tmp_9 = this.dc_1;
954
- if (tmp_9 instanceof Error) {
955
- this.s7a_1 = this.dc_1;
956
- if (this.d7a_1) {
957
- this.ac_1 = 5;
958
- suspendResult = this.b7a_1.k3b(this);
959
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
960
- return suspendResult;
961
- }
962
- continue $sm;
963
- } else {
964
- this.ac_1 = 6;
965
- continue $sm;
966
- }
967
- } else {
968
- throw this.dc_1;
969
- }
970
-
971
- case 5:
972
- this.ac_1 = 6;
973
- continue $sm;
974
- case 6:
975
- var tmp_10 = this;
976
- throw this.s7a_1;
977
- case 7:
978
- this.bc_1 = 9;
979
- this.e7a_1.m2o();
980
- return Unit_instance;
981
- case 8:
982
- this.bc_1 = 9;
983
- var t = this.dc_1;
984
- this.e7a_1.m2o();
985
- throw t;
986
- case 9:
987
- throw this.dc_1;
988
- }
989
- } catch ($p) {
990
- var e = $p;
991
- if (this.bc_1 === 9) {
992
- throw e;
993
- } else {
994
- this.ac_1 = this.bc_1;
995
- this.dc_1 = e;
996
- }
997
- }
998
- while (true);
999
- }
1000
- }
1001
- initMetadataForCoroutine($);
1002
- $writeHeadersCOROUTINE$Class = $;
1003
- }
1004
- return $writeHeadersCOROUTINE$Class;
1005
- }
1006
- var $startTunnelCOROUTINE$Class;
1007
- function $startTunnelCOROUTINE$() {
1008
- if ($startTunnelCOROUTINE$Class === VOID) {
1009
- class $ extends CoroutineImpl() {
1010
- constructor(request, output, input, resultContinuation) {
1011
- super(resultContinuation);
1012
- this.b7b_1 = request;
1013
- this.c7b_1 = output;
1014
- this.d7b_1 = input;
1015
- }
1016
- ic() {
1017
- var suspendResult = this.cc_1;
1018
- $sm: do
1019
- try {
1020
- var tmp = this.ac_1;
1021
- switch (tmp) {
1022
- case 0:
1023
- this.bc_1 = 17;
1024
- this.e7b_1 = new (RequestResponseBuilder())();
1025
- this.ac_1 = 1;
1026
- continue $sm;
1027
- case 1:
1028
- this.bc_1 = 16;
1029
- this.g7b_1 = get_hostWithPort(this.b7b_1.q56_1);
1030
- this.e7b_1.o4o(new (HttpMethod())('CONNECT'), this.g7b_1, Companion_getInstance_1().k46_1.toString());
1031
- this.e7b_1.p4o(HttpHeaders_getInstance().k42_1, this.g7b_1);
1032
- this.e7b_1.p4o('Proxy-Connection', 'Keep-Alive');
1033
- var tmp0_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().e44_1);
1034
- if (tmp0_safe_receiver == null)
1035
- null;
1036
- else {
1037
- this.e7b_1.p4o(HttpHeaders_getInstance().e44_1, tmp0_safe_receiver);
1038
- }
1039
-
1040
- var tmp1_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().g43_1);
1041
- if (tmp1_safe_receiver == null)
1042
- null;
1043
- else {
1044
- this.e7b_1.p4o(HttpHeaders_getInstance().g43_1, tmp1_safe_receiver);
1045
- }
1046
-
1047
- var tmp2_safe_receiver = this.b7b_1.s56_1.c3s(HttpHeaders_getInstance().i43_1);
1048
- if (tmp2_safe_receiver == null)
1049
- null;
1050
- else {
1051
- this.e7b_1.p4o(HttpHeaders_getInstance().i43_1, tmp2_safe_receiver);
1052
- }
1053
-
1054
- this.e7b_1.q4o();
1055
- this.ac_1 = 2;
1056
- suspendResult = writePacket(this.c7b_1, this.e7b_1.z1i(), this);
1057
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1058
- return suspendResult;
1059
- }
1060
-
1061
- continue $sm;
1062
- case 2:
1063
- this.ac_1 = 3;
1064
- suspendResult = this.c7b_1.z3a(this);
1065
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1066
- return suspendResult;
1067
- }
1068
-
1069
- continue $sm;
1070
- case 3:
1071
- this.ac_1 = 4;
1072
- suspendResult = parseResponse(this.d7b_1, this);
1073
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1074
- return suspendResult;
1075
- }
1076
-
1077
- continue $sm;
1078
- case 4:
1079
- this.h7b_1 = suspendResult;
1080
- var tmp_0 = this;
1081
- var tmp_1;
1082
- if (this.h7b_1 == null) {
1083
- throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse CONNECT response: unexpected EOF'));
1084
- } else {
1085
- tmp_1 = this.h7b_1;
1086
- }
1087
-
1088
- tmp_0.i7b_1 = tmp_1;
1089
- var tmp_2 = this;
1090
- tmp_2.j7b_1 = this.i7b_1;
1091
- this.ac_1 = 5;
1092
- continue $sm;
1093
- case 5:
1094
- this.l7b_1 = this.j7b_1;
1095
- this.m7b_1 = null;
1096
- this.ac_1 = 6;
1097
- continue $sm;
1098
- case 6:
1099
- this.ac_1 = 7;
1100
- continue $sm;
1101
- case 7:
1102
- this.bc_1 = 12;
1103
- this.bc_1 = 11;
1104
- var tmp_3 = this;
1105
- tmp_3.o7b_1 = this.l7b_1;
1106
- this.p7b_1 = this.o7b_1;
1107
- if (!((this.i7b_1.j4n_1 / 200 | 0) === 1)) {
1108
- throw IOException().z2u('Can not establish tunnel connection');
1109
- }
1110
-
1111
- this.q7b_1 = this.i7b_1.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
1112
- if (this.q7b_1 == null) {
1113
- this.r7b_1 = null;
1114
- this.ac_1 = 9;
1115
- continue $sm;
1116
- } else {
1117
- var tmp_4 = this;
1118
- tmp_4.s7b_1 = this.q7b_1;
1119
- this.t7b_1 = this.s7b_1;
1120
- var tmp_5 = this;
1121
- tmp_5.u7b_1 = this.t7b_1;
1122
- this.v7b_1 = this.u7b_1;
1123
- this.ac_1 = 8;
1124
- suspendResult = discard(this.d7b_1, toLong(toString(this.v7b_1)), this);
1125
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1126
- return suspendResult;
1127
- }
1128
- continue $sm;
1129
- }
1130
-
1131
- case 8:
1132
- this.r7b_1 = suspendResult;
1133
- this.ac_1 = 9;
1134
- continue $sm;
1135
- case 9:
1136
- this.n7b_1 = this.r7b_1;
1137
- this.ac_1 = 10;
1138
- var tmp_6 = this;
1139
- continue $sm;
1140
- case 10:
1141
- var tmp_7 = this.n7b_1;
1142
- this.bc_1 = 16;
1143
- closeFinally(this.l7b_1, this.m7b_1);
1144
- this.k7b_1 = tmp_7;
1145
- this.ac_1 = 14;
1146
- continue $sm;
1147
- case 11:
1148
- this.bc_1 = 12;
1149
- var tmp_8 = this.dc_1;
1150
- if (tmp_8 instanceof Error) {
1151
- var e = this.dc_1;
1152
- var tmp_9 = this;
1153
- this.m7b_1 = e;
1154
- throw e;
1155
- } else {
1156
- throw this.dc_1;
1157
- }
1158
-
1159
- case 12:
1160
- this.bc_1 = 16;
1161
- var t = this.dc_1;
1162
- closeFinally(this.l7b_1, this.m7b_1);
1163
- throw t;
1164
- case 13:
1165
- this.bc_1 = 16;
1166
- closeFinally(this.l7b_1, this.m7b_1);
1167
- if (false) {
1168
- this.ac_1 = 5;
1169
- continue $sm;
1170
- }
1171
-
1172
- this.ac_1 = 14;
1173
- continue $sm;
1174
- case 14:
1175
- this.f7b_1 = this.k7b_1;
1176
- this.bc_1 = 17;
1177
- this.ac_1 = 15;
1178
- continue $sm;
1179
- case 15:
1180
- this.f7b_1;
1181
- this.bc_1 = 17;
1182
- this.e7b_1.m2o();
1183
- return Unit_instance;
1184
- case 16:
1185
- this.bc_1 = 17;
1186
- var t_0 = this.dc_1;
1187
- this.e7b_1.m2o();
1188
- throw t_0;
1189
- case 17:
1190
- throw this.dc_1;
1191
- }
1192
- } catch ($p) {
1193
- var e_0 = $p;
1194
- if (this.bc_1 === 17) {
1195
- throw e_0;
1196
- } else {
1197
- this.ac_1 = this.bc_1;
1198
- this.dc_1 = e_0;
1199
- }
1200
- }
1201
- while (true);
1202
- }
1203
- }
1204
- initMetadataForCoroutine($);
1205
- $startTunnelCOROUTINE$Class = $;
1206
- }
1207
- return $startTunnelCOROUTINE$Class;
1208
- }
1209
- var $processOutgoingContentCOROUTINE$Class;
1210
- function $processOutgoingContentCOROUTINE$() {
1211
- if ($processOutgoingContentCOROUTINE$Class === VOID) {
1212
- class $ extends CoroutineImpl() {
1213
- constructor(request, body, channel, resultContinuation) {
1214
- super(resultContinuation);
1215
- this.e7c_1 = request;
1216
- this.f7c_1 = body;
1217
- this.g7c_1 = channel;
1218
- }
1219
- ic() {
1220
- var suspendResult = this.cc_1;
1221
- $sm: do
1222
- try {
1223
- var tmp = this.ac_1;
1224
- switch (tmp) {
1225
- case 0:
1226
- this.bc_1 = 6;
1227
- this.h7c_1 = this.f7c_1;
1228
- var tmp_0 = this.h7c_1;
1229
- if (tmp_0 instanceof ByteArrayContent()) {
1230
- this.ac_1 = 4;
1231
- suspendResult = writeFully(this.g7c_1, this.f7c_1.u4b(), VOID, VOID, this);
1232
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1233
- return suspendResult;
1234
- }
1235
- continue $sm;
1236
- } else {
1237
- var tmp_1 = this.h7c_1;
1238
- if (tmp_1 instanceof ReadChannelContent()) {
1239
- this.ac_1 = 3;
1240
- suspendResult = copyAndClose(this.f7c_1.x4b(), this.g7c_1, this);
1241
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1242
- return suspendResult;
1243
- }
1244
- continue $sm;
1245
- } else {
1246
- var tmp_2 = this.h7c_1;
1247
- if (tmp_2 instanceof WriteChannelContent()) {
1248
- this.ac_1 = 2;
1249
- suspendResult = this.f7c_1.z4b(this.g7c_1, this);
1250
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1251
- return suspendResult;
1252
- }
1253
- continue $sm;
1254
- } else {
1255
- var tmp_3 = this.h7c_1;
1256
- if (tmp_3 instanceof ContentWrapper()) {
1257
- this.ac_1 = 1;
1258
- suspendResult = processOutgoingContent(this.e7c_1, this.f7c_1.d4c(), this.g7c_1, this);
1259
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
1260
- return suspendResult;
1261
- }
1262
- continue $sm;
1263
- } else {
1264
- var tmp_4 = this.h7c_1;
1265
- if (tmp_4 instanceof ProtocolUpgrade()) {
1266
- var tmp_5 = this;
1267
- var message = 'unreachable code';
1268
- throw IllegalStateException().o4(toString(message));
1269
- } else {
1270
- var tmp_6 = this.h7c_1;
1271
- if (tmp_6 instanceof NoContent()) {
1272
- var tmp_7 = this;
1273
- var message_0 = 'unreachable code';
1274
- throw IllegalStateException().o4(toString(message_0));
1275
- } else {
1276
- var tmp_8 = this;
1277
- noWhenBranchMatchedException();
1278
- }
1279
- }
1280
- }
1281
- }
1282
- }
1283
- }
1284
-
1285
- break;
1286
- case 1:
1287
- var tmp_9 = this;
1288
- tmp_9.i7c_1 = Unit_instance;
1289
- this.ac_1 = 5;
1290
- continue $sm;
1291
- case 2:
1292
- var tmp_10 = this;
1293
- tmp_10.i7c_1 = Unit_instance;
1294
- this.ac_1 = 5;
1295
- continue $sm;
1296
- case 3:
1297
- this.i7c_1 = suspendResult;
1298
- this.ac_1 = 5;
1299
- continue $sm;
1300
- case 4:
1301
- var tmp_11 = this;
1302
- tmp_11.i7c_1 = Unit_instance;
1303
- this.ac_1 = 5;
1304
- continue $sm;
1305
- case 5:
1306
- return Unit_instance;
1307
- case 6:
1308
- throw this.dc_1;
1309
- }
1310
- } catch ($p) {
1311
- var e = $p;
1312
- if (this.bc_1 === 6) {
1313
- throw e;
1314
- } else {
1315
- this.ac_1 = this.bc_1;
1316
- this.dc_1 = e;
1317
- }
1318
- }
1319
- while (true);
1320
- }
1321
- }
1322
- initMetadataForCoroutine($);
1323
- $processOutgoingContentCOROUTINE$Class = $;
1324
- }
1325
- return $processOutgoingContentCOROUTINE$Class;
1326
- }
1327
- //region block: exports
1328
- export {
1329
- readResponse as readResponse3pzkg6nmigx14,
1330
- startTunnel as startTunnel1d7yehxlf7rw4,
1331
- writeBody as writeBody1pf0c8yzqudeb,
1332
- writeHeaders as writeHeaders3cmofgdna8yuh,
1333
- writeRequest as writeRequest3kogzlmopewf4,
1334
- expectContinue as expectContinue3jqhf2bcc56gi,
1335
- handleHalfClosed as handleHalfClosed1fhienq61fie8,
1336
- };
1337
- //endregion
1338
-
1339
- //# sourceMappingURL=utils.mjs.map