@continuous-excellence/coupling-cli 1.1.498 → 1.1.500

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 (1241) hide show
  1. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +9 -9
  2. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +47 -47
  3. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
  4. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +35 -35
  5. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs.map +1 -1
  6. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.js.mjs +9 -17
  7. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.js.mjs.map +1 -1
  8. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +50 -76
  9. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
  10. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +35 -35
  11. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs.map +1 -1
  12. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/GetSecureData.js.mjs +2 -2
  13. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/GetSecureData.js.mjs.map +1 -1
  14. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.js.mjs +1 -1
  15. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +59 -93
  16. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
  17. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +21 -42
  18. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
  19. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +2 -2
  20. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +26 -45
  21. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
  22. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WriteSecureData.js.mjs +3 -3
  23. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WriteSecureData.js.mjs.map +1 -1
  24. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +23 -23
  25. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +33 -33
  26. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +24 -24
  27. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs.map +1 -1
  28. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +33 -33
  29. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs.map +1 -1
  30. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +6 -6
  31. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +123 -134
  32. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
  33. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +28 -28
  34. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
  35. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +22 -24
  36. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs.map +1 -1
  37. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +203 -220
  38. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
  39. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +4 -4
  40. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +30 -30
  41. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
  42. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +59 -76
  43. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
  44. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +49 -62
  45. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
  46. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +55 -72
  47. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
  48. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +195 -208
  49. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
  50. package/kotlin/Coupling-cli.mjs +1 -1
  51. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +39 -47
  52. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs.map +1 -1
  53. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/CommandResult.mjs +1 -1
  54. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +36 -44
  55. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs.map +1 -1
  56. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
  57. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +16 -16
  58. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs.map +1 -1
  59. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +85 -85
  60. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs.map +1 -1
  61. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +59 -53
  62. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs.map +1 -1
  63. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +105 -134
  64. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs.map +1 -1
  65. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +5 -5
  66. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +12 -12
  67. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs.map +1 -1
  68. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +54 -54
  69. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +6 -6
  70. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +80 -80
  71. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +18 -18
  72. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +6 -6
  73. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +4 -4
  74. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +35 -35
  75. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +8 -10
  76. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs.map +1 -1
  77. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +6 -6
  78. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +20 -20
  79. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/PinTarget.mjs +2 -2
  80. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +14 -14
  81. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +4 -4
  82. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
  83. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +6 -6
  84. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
  85. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +6 -6
  86. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +23 -23
  87. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs.map +1 -1
  88. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +5 -5
  89. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs.map +1 -1
  90. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +4 -12
  91. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs.map +1 -1
  92. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +31 -39
  93. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs.map +1 -1
  94. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +51 -58
  95. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
  96. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +15 -15
  97. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs.map +1 -1
  98. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +3 -3
  99. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs.map +1 -1
  100. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +7 -29
  101. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs.map +1 -1
  102. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/AvatarTypeMapper.mjs +13 -13
  103. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/BadgeMapper.mjs +3 -3
  104. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +27 -29
  105. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs.map +1 -1
  106. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +11 -11
  107. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +33 -33
  108. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +29 -29
  109. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +22 -22
  110. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +33 -33
  111. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs.map +1 -1
  112. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +5 -5
  113. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +24 -24
  114. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs.map +1 -1
  115. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +5 -5
  116. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +11 -11
  117. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs.map +1 -1
  118. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +6 -6
  119. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
  120. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +107 -107
  121. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs.map +1 -1
  122. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
  123. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +39 -39
  124. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs.map +1 -1
  125. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
  126. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +37 -37
  127. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs.map +1 -1
  128. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +9 -9
  129. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +9 -9
  130. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
  131. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +2 -2
  132. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
  133. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
  134. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +10 -10
  135. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs.map +1 -1
  136. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +10 -10
  137. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs.map +1 -1
  138. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +51 -51
  139. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs.map +1 -1
  140. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +8 -8
  141. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs.map +1 -1
  142. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +11 -11
  143. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs.map +1 -1
  144. package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +9 -9
  145. package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs.map +1 -1
  146. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +129 -130
  147. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
  148. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +63 -63
  149. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs.map +1 -1
  150. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +65 -65
  151. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs.map +1 -1
  152. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
  153. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +3 -3
  154. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +49 -48
  155. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
  156. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +7 -9
  157. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs.map +1 -1
  158. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +9 -9
  159. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
  160. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
  161. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +17 -17
  162. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs.map +1 -1
  163. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +25 -25
  164. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs.map +1 -1
  165. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +15 -16
  166. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs.map +1 -1
  167. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +7 -9
  168. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs.map +1 -1
  169. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +182 -182
  170. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs.map +1 -1
  171. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +63 -65
  172. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs.map +1 -1
  173. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +9 -9
  174. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/internal/UrlEncode.mjs +6 -6
  175. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/internal/UrlEncode.mjs.map +1 -1
  176. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +47 -47
  177. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs.map +1 -1
  178. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +93 -93
  179. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs.map +1 -1
  180. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +304 -304
  181. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs.map +1 -1
  182. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
  183. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs.map +1 -1
  184. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs +13 -13
  185. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +22 -20
  186. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs.map +1 -1
  187. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +31 -31
  188. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs.map +1 -1
  189. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +151 -146
  190. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
  191. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +88 -88
  192. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs.map +1 -1
  193. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +38 -38
  194. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs.map +1 -1
  195. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +14 -14
  196. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs +1 -1
  197. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs.map +1 -1
  198. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +53 -55
  199. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
  200. package/kotlin/apollo-kotlin-apollo-mpp-utils/com/apollographql/apollo/mpp/utils.mjs.map +1 -1
  201. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +43 -51
  202. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs.map +1 -1
  203. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +264 -281
  204. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
  205. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +7 -7
  206. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +6 -6
  207. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs.map +1 -1
  208. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +8 -7
  209. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs.map +1 -1
  210. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +77 -93
  211. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs.map +1 -1
  212. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +61 -60
  213. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs.map +1 -1
  214. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +59 -59
  215. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs.map +1 -1
  216. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs +2 -2
  217. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +51 -69
  218. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs.map +1 -1
  219. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs +1 -1
  220. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs.map +1 -1
  221. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +54 -61
  222. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs.map +1 -1
  223. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +11 -18
  224. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs.map +1 -1
  225. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +104 -121
  226. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs.map +1 -1
  227. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs +1 -1
  228. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs.map +1 -1
  229. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +9 -9
  230. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +6 -6
  231. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs.map +1 -1
  232. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +286 -320
  233. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
  234. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs +20 -15
  235. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs.map +1 -1
  236. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +89 -94
  237. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs.map +1 -1
  238. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +72 -82
  239. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs.map +1 -1
  240. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +323 -412
  241. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs.map +1 -1
  242. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +50 -64
  243. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs.map +1 -1
  244. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +26 -26
  245. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs.map +1 -1
  246. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +3 -3
  247. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +166 -177
  248. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs.map +1 -1
  249. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +125 -170
  250. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs.map +1 -1
  251. package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +16 -28
  252. package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
  253. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +186 -186
  254. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs.map +1 -1
  255. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionCandidates.mjs +7 -7
  256. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +7 -7
  257. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs.map +1 -1
  258. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +121 -121
  259. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs.map +1 -1
  260. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +172 -172
  261. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
  262. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +135 -135
  263. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
  264. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/JaroWinkerSimilarity.mjs.map +1 -1
  265. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +155 -154
  266. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs.map +1 -1
  267. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +132 -132
  268. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs.map +1 -1
  269. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +4 -4
  270. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs.map +1 -1
  271. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +268 -268
  272. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs.map +1 -1
  273. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +49 -49
  274. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +36 -36
  275. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +43 -43
  276. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs.map +1 -1
  277. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/arguments/Argument.mjs +1 -1
  278. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
  279. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +14 -15
  280. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs.map +1 -1
  281. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +7 -7
  282. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs.map +1 -1
  283. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +4 -4
  284. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs.map +1 -1
  285. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +63 -63
  286. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +250 -251
  287. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs.map +1 -1
  288. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +14 -14
  289. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs.map +1 -1
  290. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +9 -9
  291. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +8 -8
  292. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
  293. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +87 -87
  294. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs.map +1 -1
  295. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +68 -87
  296. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs.map +1 -1
  297. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +338 -338
  298. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs.map +1 -1
  299. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +14 -14
  300. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs.map +1 -1
  301. package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +20 -20
  302. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +1 -1
  303. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +19 -19
  304. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs.map +1 -1
  305. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +79 -79
  306. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs.map +1 -1
  307. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +33 -33
  308. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs.map +1 -1
  309. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
  310. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
  311. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +7 -7
  312. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +16 -16
  313. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs +13 -13
  314. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs.map +1 -1
  315. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Constants.mjs +1 -1
  316. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/InternalMath.mjs.map +1 -1
  317. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +20 -20
  318. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs.map +1 -1
  319. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +20 -20
  320. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +21 -21
  321. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs.map +1 -1
  322. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +28 -28
  323. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs.map +1 -1
  324. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +22 -22
  325. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +150 -150
  326. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs.map +1 -1
  327. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +147 -147
  328. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs.map +1 -1
  329. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +77 -77
  330. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs.map +1 -1
  331. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
  332. package/kotlin/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +3 -3
  333. package/kotlin/kotlin-kotlin-stdlib/kotlin/Char.mjs +29 -29
  334. package/kotlin/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
  335. package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +43 -41
  336. package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
  337. package/kotlin/kotlin-kotlin-stdlib/kotlin/Enum.mjs +6 -6
  338. package/kotlin/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
  339. package/kotlin/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +4 -4
  340. package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +14 -18
  341. package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
  342. package/kotlin/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
  343. package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +4 -4
  344. package/kotlin/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +10 -10
  345. package/kotlin/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
  346. package/kotlin/kotlin-kotlin-stdlib/kotlin/Result.mjs +17 -17
  347. package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
  348. package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
  349. package/kotlin/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +26 -26
  350. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs +16 -16
  351. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
  352. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +46 -46
  353. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
  354. package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs +16 -16
  355. package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
  356. package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +46 -46
  357. package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
  358. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs +16 -16
  359. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
  360. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +46 -46
  361. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
  362. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs +16 -16
  363. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
  364. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +46 -46
  365. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
  366. package/kotlin/kotlin-kotlin-stdlib/kotlin/Unit.mjs +1 -1
  367. package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +7 -7
  368. package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
  369. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +14 -14
  370. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
  371. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs +21 -24
  372. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs.map +1 -1
  373. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +82 -82
  374. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +87 -87
  375. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
  376. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +26 -26
  377. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
  378. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +93 -93
  379. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +37 -37
  380. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
  381. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +6 -6
  382. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +13 -13
  383. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +222 -227
  384. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
  385. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +2 -2
  386. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +75 -78
  387. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
  388. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -1
  389. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
  390. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +72 -72
  391. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  392. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +38 -38
  393. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
  394. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +80 -80
  395. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
  396. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +60 -61
  397. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
  398. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -31
  399. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
  400. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +11 -11
  401. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +246 -258
  402. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
  403. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
  404. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +10 -10
  405. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
  406. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +19 -19
  407. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
  408. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
  409. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
  410. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +7 -8
  411. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
  412. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +39 -39
  413. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
  414. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +15 -15
  415. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -6
  416. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs +68 -69
  417. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs.map +1 -1
  418. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +17 -17
  419. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
  420. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +140 -163
  421. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
  422. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +43 -31
  423. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
  424. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +16 -16
  425. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +150 -150
  426. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
  427. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +5 -5
  428. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +15 -15
  429. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +13 -13
  430. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +9 -9
  431. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  432. package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +2 -2
  433. package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
  434. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +5 -5
  435. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
  436. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
  437. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +8 -8
  438. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
  439. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +41 -41
  440. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
  441. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +6 -5
  442. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
  443. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +79 -149
  444. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -1
  445. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +13 -13
  446. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +21 -21
  447. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs +3 -3
  448. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +19 -91
  449. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  450. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/js/internal/EmptyContinuation.mjs +10 -12
  451. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/js/internal/EmptyContinuation.mjs.map +1 -1
  452. package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +22 -22
  453. package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
  454. package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +94 -94
  455. package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
  456. package/kotlin/kotlin-kotlin-stdlib/kotlin/hacks.mjs +13 -13
  457. package/kotlin/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
  458. package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs +1 -1
  459. package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs.map +1 -1
  460. package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -1
  461. package/kotlin/kotlin-kotlin-stdlib/kotlin/io/console.mjs +24 -24
  462. package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs +52 -52
  463. package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs.map +1 -1
  464. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  465. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs.map +1 -1
  466. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -11
  467. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
  468. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +3 -2
  469. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
  470. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +38 -38
  471. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +33 -33
  472. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs +10 -0
  473. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs.map +1 -0
  474. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +27 -17
  475. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
  476. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +2 -2
  477. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
  478. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +10 -36
  479. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
  480. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +2 -24
  481. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
  482. package/kotlin/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +1 -1
  483. package/kotlin/kotlin-kotlin-stdlib/kotlin/math/math.mjs +2 -2
  484. package/kotlin/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
  485. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
  486. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +48 -48
  487. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +27 -27
  488. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
  489. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +41 -41
  490. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
  491. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +30 -30
  492. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +32 -32
  493. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
  494. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
  495. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +9 -9
  496. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeImpl.mjs +32 -32
  497. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeImpl.mjs.map +1 -1
  498. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeParameterBase.mjs +5 -5
  499. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -21
  500. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KVariance.mjs +4 -4
  501. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +30 -30
  502. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +6 -6
  503. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +11 -11
  504. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +23 -23
  505. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
  506. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs +1 -1
  507. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +65 -63
  508. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
  509. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +55 -55
  510. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
  511. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +29 -29
  512. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
  513. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/sequenceJs.mjs +5 -5
  514. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +5 -5
  515. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
  516. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
  517. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +2 -2
  518. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +35 -35
  519. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
  520. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +45 -45
  521. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
  522. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +4 -4
  523. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +133 -133
  524. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
  525. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +13 -13
  526. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
  527. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs +1 -1
  528. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +4 -4
  529. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +9 -9
  530. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_OneToManyTitlecaseMappings.mjs +2 -2
  531. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_OtherLowercaseChars.mjs +4 -4
  532. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +11 -11
  533. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_TitlecaseMappings.mjs +1 -1
  534. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs +1 -1
  535. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs +3 -3
  536. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +5 -5
  537. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +118 -118
  538. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
  539. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +24 -24
  540. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  541. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +7 -7
  542. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +16 -16
  543. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
  544. package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +43 -43
  545. package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
  546. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +2 -2
  547. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +162 -158
  548. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
  549. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -1
  550. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
  551. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +16 -16
  552. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +138 -138
  553. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -1
  554. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +2 -2
  555. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +50 -50
  556. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs.map +1 -1
  557. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +23 -23
  558. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs.map +1 -1
  559. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/measureTime.mjs +9 -9
  560. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +40 -40
  561. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
  562. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +38 -38
  563. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
  564. package/kotlin/kotlin-kotlin-stdlib/noPackageHacks.mjs +1 -1
  565. package/kotlin/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  566. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +5 -5
  567. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +3 -3
  568. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +2 -2
  569. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +15 -15
  570. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -1
  571. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +12 -12
  572. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -1
  573. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
  574. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  575. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +8 -8
  576. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +15 -15
  577. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +9 -9
  578. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +14 -14
  579. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  580. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  581. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +9 -9
  582. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs +1 -1
  583. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +30 -31
  584. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
  585. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs +80 -85
  586. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs.map +1 -1
  587. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +62 -68
  588. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  589. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +9 -9
  590. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  591. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +181 -180
  592. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  593. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +12 -23
  594. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  595. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +18 -22
  596. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
  597. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -10
  598. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
  599. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +11 -11
  600. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -1
  601. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +6 -6
  602. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
  603. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  604. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +16 -11
  605. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
  606. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +7 -7
  607. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +1 -1
  608. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs.map +1 -1
  609. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +26 -20
  610. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  611. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +59 -59
  612. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
  613. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +20 -20
  614. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +33 -33
  615. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
  616. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
  617. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
  618. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  619. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +113 -113
  620. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  621. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +27 -26
  622. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  623. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +402 -388
  624. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  625. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +6 -6
  626. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +20 -15
  627. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
  628. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  629. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +41 -44
  630. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
  631. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +9 -9
  632. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs +1 -1
  633. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferOverflow.mjs +4 -4
  634. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +1167 -1150
  635. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  636. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +46 -47
  637. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
  638. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +30 -37
  639. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  640. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  641. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +28 -28
  642. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
  643. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +18 -18
  644. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  645. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +31 -48
  646. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
  647. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +9 -23
  648. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -1
  649. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -16
  650. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -1
  651. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +20 -28
  652. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs.map +1 -1
  653. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +11 -11
  654. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +36 -53
  655. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -1
  656. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +71 -102
  657. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
  658. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +12 -19
  659. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
  660. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs +42 -58
  661. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs.map +1 -1
  662. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +23 -37
  663. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
  664. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +41 -60
  665. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -1
  666. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +255 -259
  667. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
  668. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +26 -41
  669. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -1
  670. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +39 -39
  671. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -1
  672. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +119 -150
  673. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -1
  674. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  675. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +3 -3
  676. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +5 -6
  677. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -1
  678. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -8
  679. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
  680. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +18 -25
  681. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
  682. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  683. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -1
  684. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +1 -1
  685. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +58 -57
  686. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
  687. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +6 -6
  688. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
  689. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +89 -89
  690. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
  691. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +8 -9
  692. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
  693. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +43 -43
  694. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -1
  695. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +24 -24
  696. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +85 -87
  697. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs.map +1 -1
  698. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +13 -13
  699. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +5 -5
  700. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  701. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  702. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +1 -0
  703. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
  704. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -7
  705. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs.map +1 -1
  706. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +11 -11
  707. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +17 -19
  708. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
  709. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +24 -21
  710. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  711. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +58 -58
  712. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  713. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +4 -4
  714. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
  715. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +4 -4
  716. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +227 -225
  717. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  718. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +119 -117
  719. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  720. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +2 -2
  721. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +23 -23
  722. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
  723. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +146 -146
  724. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +9 -9
  725. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +4 -4
  726. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
  727. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +66 -66
  728. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  729. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +24 -24
  730. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +13 -13
  731. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +23 -23
  732. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
  733. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
  734. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +58 -65
  735. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
  736. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
  737. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
  738. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  739. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +31 -31
  740. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
  741. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  742. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +24 -24
  743. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
  744. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +112 -112
  745. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
  746. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +18 -18
  747. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
  748. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
  749. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +64 -64
  750. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +3 -3
  751. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +8 -8
  752. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
  753. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
  754. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
  755. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +48 -48
  756. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
  757. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +69 -67
  758. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
  759. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +276 -279
  760. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
  761. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +23 -23
  762. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
  763. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +41 -41
  764. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
  765. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +17 -16
  766. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
  767. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +1 -1
  768. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +20 -20
  769. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +18 -18
  770. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
  771. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +45 -45
  772. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
  773. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +27 -27
  774. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
  775. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +18 -18
  776. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
  777. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +35 -35
  778. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
  779. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +5 -5
  780. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +86 -86
  781. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
  782. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
  783. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +513 -513
  784. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
  785. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +140 -140
  786. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
  787. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +211 -211
  788. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
  789. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +101 -104
  790. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
  791. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +64 -64
  792. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
  793. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +56 -56
  794. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
  795. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  796. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
  797. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +61 -61
  798. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
  799. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +22 -22
  800. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +96 -96
  801. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
  802. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
  803. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +167 -167
  804. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
  805. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  806. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +191 -191
  807. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
  808. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +27 -27
  809. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +79 -79
  810. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
  811. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
  812. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
  813. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +15 -15
  814. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +42 -42
  815. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
  816. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +51 -51
  817. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
  818. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +18 -18
  819. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
  820. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +4 -4
  821. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +13 -13
  822. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +82 -96
  823. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
  824. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +11 -11
  825. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +13 -13
  826. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
  827. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +219 -218
  828. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
  829. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +158 -158
  830. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
  831. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +55 -55
  832. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +24 -24
  833. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
  834. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +323 -323
  835. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
  836. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +214 -214
  837. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs.map +1 -1
  838. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +17 -17
  839. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
  840. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +138 -152
  841. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
  842. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypes.web.mjs +1 -1
  843. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +6 -6
  844. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +114 -135
  845. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
  846. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.web.mjs +10 -10
  847. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
  848. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
  849. package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +10 -5
  850. package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
  851. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +45 -45
  852. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +91 -108
  853. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
  854. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -59
  855. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
  856. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  857. package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +30 -37
  858. package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
  859. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +134 -153
  860. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  861. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +27 -27
  862. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
  863. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +5 -5
  864. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  865. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +15 -15
  866. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +27 -27
  867. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
  868. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +9 -9
  869. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
  870. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +123 -151
  871. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  872. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +26 -52
  873. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
  874. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +54 -65
  875. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
  876. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +34 -29
  877. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
  878. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -79
  879. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
  880. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +79 -79
  881. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs.map +1 -1
  882. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +60 -71
  883. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
  884. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +168 -213
  885. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  886. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +114 -160
  887. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
  888. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
  889. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +88 -104
  890. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
  891. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +36 -53
  892. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
  893. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +47 -61
  894. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  895. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -137
  896. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
  897. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +143 -158
  898. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
  899. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +41 -48
  900. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  901. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +74 -84
  902. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
  903. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +2 -2
  904. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +14 -14
  905. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +8 -8
  906. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +25 -32
  907. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
  908. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +9 -9
  909. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
  910. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +58 -81
  911. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
  912. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +119 -153
  913. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs.map +1 -1
  914. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserverContext.web.mjs +3 -3
  915. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserverContext.web.mjs.map +1 -1
  916. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +12 -4
  917. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
  918. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +1 -1
  919. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +42 -64
  920. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs.map +1 -1
  921. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +139 -150
  922. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  923. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +12 -12
  924. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +154 -166
  925. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
  926. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +63 -93
  927. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs.map +1 -1
  928. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
  929. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +21 -21
  930. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +63 -64
  931. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
  932. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +20 -20
  933. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
  934. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +2 -2
  935. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +12 -12
  936. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +42 -50
  937. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs.map +1 -1
  938. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +3 -3
  939. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +26 -26
  940. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +12 -20
  941. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
  942. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +29 -29
  943. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +61 -81
  944. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  945. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +39 -53
  946. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
  947. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  948. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +4 -4
  949. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +12 -12
  950. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +2 -2
  951. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +45 -62
  952. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs.map +1 -1
  953. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/KtorMDCContext.web.mjs +5 -5
  954. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +100 -113
  955. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs.map +1 -1
  956. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +9 -9
  957. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +16 -16
  958. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +2 -2
  959. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +543 -668
  960. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs.map +1 -1
  961. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +58 -73
  962. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs.map +1 -1
  963. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +24 -43
  964. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs.map +1 -1
  965. package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +7 -7
  966. package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
  967. package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +70 -70
  968. package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
  969. package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +116 -116
  970. package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
  971. package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +38 -38
  972. package/kotlin/ktor-ktor-http/io/ktor/http/Headers.mjs +24 -24
  973. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +67 -67
  974. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
  975. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +124 -124
  976. package/kotlin/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
  977. package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +17 -17
  978. package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
  979. package/kotlin/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -17
  980. package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +73 -73
  981. package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
  982. package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +17 -17
  983. package/kotlin/ktor-ktor-http/io/ktor/http/Parameters.mjs +17 -17
  984. package/kotlin/ktor-ktor-http/io/ktor/http/Query.mjs +7 -7
  985. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
  986. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
  987. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +2 -2
  988. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs.map +1 -1
  989. package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +51 -51
  990. package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
  991. package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +32 -32
  992. package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +50 -50
  993. package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +95 -95
  994. package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
  995. package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +68 -68
  996. package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +11 -11
  997. package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +11 -11
  998. package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +15 -15
  999. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  1000. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +113 -120
  1001. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
  1002. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +52 -60
  1003. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
  1004. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +120 -201
  1005. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
  1006. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +62 -62
  1007. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
  1008. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +93 -93
  1009. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
  1010. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  1011. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +38 -38
  1012. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  1013. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  1014. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +2 -2
  1015. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +247 -259
  1016. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  1017. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +2 -2
  1018. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +72 -132
  1019. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
  1020. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +15 -15
  1021. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
  1022. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +110 -219
  1023. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
  1024. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +5 -13
  1025. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
  1026. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +88 -111
  1027. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
  1028. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
  1029. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
  1030. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +33 -41
  1031. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
  1032. package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  1033. package/kotlin/ktor-ktor-io/io/ktor/utils/io/IODispatcher.web.mjs +2 -2
  1034. package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEnding.mjs +3 -3
  1035. package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +23 -23
  1036. package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
  1037. package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +20 -20
  1038. package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
  1039. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +43 -43
  1040. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
  1041. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +6 -6
  1042. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +4 -4
  1043. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +4 -4
  1044. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
  1045. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +7 -7
  1046. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
  1047. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  1048. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +1 -1
  1049. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  1050. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
  1051. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  1052. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +11 -11
  1053. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
  1054. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  1055. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +30 -30
  1056. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  1057. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +5 -5
  1058. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  1059. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
  1060. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +60 -82
  1061. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
  1062. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +7 -7
  1063. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +167 -206
  1064. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
  1065. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +42 -42
  1066. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  1067. package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +9 -9
  1068. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +21 -21
  1069. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
  1070. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +17 -18
  1071. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs.map +1 -1
  1072. package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +131 -165
  1073. package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs.map +1 -1
  1074. package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +53 -53
  1075. package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
  1076. package/kotlin/ktor-ktor-utils/io/ktor/util/Charset.mjs +3 -3
  1077. package/kotlin/ktor-ktor-utils/io/ktor/util/ContentEncoders.web.mjs +8 -8
  1078. package/kotlin/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +5 -5
  1079. package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.mjs +1 -1
  1080. package/kotlin/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +61 -62
  1081. package/kotlin/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
  1082. package/kotlin/ktor-ktor-utils/io/ktor/util/Encoders.mjs +6 -6
  1083. package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -3
  1084. package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +20 -20
  1085. package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +146 -146
  1086. package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
  1087. package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs +23 -23
  1088. package/kotlin/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  1089. package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +114 -114
  1090. package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
  1091. package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +7 -7
  1092. package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
  1093. package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +9 -9
  1094. package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
  1095. package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs +32 -43
  1096. package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs.map +1 -1
  1097. package/kotlin/ktor-ktor-utils/io/ktor/util/logging/Logger.web.mjs +6 -6
  1098. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +34 -41
  1099. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
  1100. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
  1101. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
  1102. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +67 -67
  1103. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
  1104. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  1105. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
  1106. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +4 -4
  1107. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +3 -3
  1108. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +78 -74
  1109. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
  1110. package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  1111. package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/TypeInfo.web.mjs +1 -1
  1112. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +30 -30
  1113. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +303 -383
  1114. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs.map +1 -1
  1115. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +42 -42
  1116. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +8 -8
  1117. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  1118. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +9 -9
  1119. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +23 -23
  1120. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +121 -157
  1121. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs.map +1 -1
  1122. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +62 -66
  1123. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs.map +1 -1
  1124. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +11 -11
  1125. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +17 -17
  1126. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs.map +1 -1
  1127. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs +18 -37
  1128. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs.map +1 -1
  1129. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +25 -25
  1130. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +65 -65
  1131. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs.map +1 -1
  1132. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +5 -5
  1133. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
  1134. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs +4 -4
  1135. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs.map +1 -1
  1136. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.js.mjs +1 -1
  1137. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.js.mjs.map +1 -1
  1138. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +23 -23
  1139. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs.map +1 -1
  1140. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +116 -116
  1141. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +10 -10
  1142. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
  1143. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +20 -20
  1144. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs.map +1 -1
  1145. package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +4 -4
  1146. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Align.mjs +5 -5
  1147. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +42 -42
  1148. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +131 -131
  1149. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs.map +1 -1
  1150. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/OverflowWrap.mjs +3 -3
  1151. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
  1152. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +31 -31
  1153. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs.map +1 -1
  1154. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextColors.mjs +5 -5
  1155. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
  1156. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +62 -62
  1157. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs.map +1 -1
  1158. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +8 -8
  1159. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +3 -3
  1160. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +22 -22
  1161. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +7 -7
  1162. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +466 -469
  1163. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs.map +1 -1
  1164. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +30 -30
  1165. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +169 -169
  1166. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +121 -121
  1167. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs.map +1 -1
  1168. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +53 -53
  1169. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs.map +1 -1
  1170. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +68 -68
  1171. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs.map +1 -1
  1172. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +16 -16
  1173. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +64 -64
  1174. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs.map +1 -1
  1175. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +2 -2
  1176. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +26 -26
  1177. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs.map +1 -1
  1178. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +4 -4
  1179. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
  1180. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
  1181. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +20 -20
  1182. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs.map +1 -1
  1183. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +17 -17
  1184. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs.map +1 -1
  1185. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +114 -114
  1186. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs.map +1 -1
  1187. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +5 -5
  1188. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +74 -74
  1189. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs.map +1 -1
  1190. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +137 -137
  1191. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs.map +1 -1
  1192. package/kotlin/okio-parent-okio/okio/Buffer.mjs +838 -830
  1193. package/kotlin/okio-parent-okio/okio/Buffer.mjs.map +1 -1
  1194. package/kotlin/okio-parent-okio/okio/ByteString.mjs +76 -76
  1195. package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
  1196. package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +17 -17
  1197. package/kotlin/okio-parent-okio/okio/Okio.mjs +4 -4
  1198. package/kotlin/okio-parent-okio/okio/Options.mjs +73 -76
  1199. package/kotlin/okio-parent-okio/okio/Options.mjs.map +1 -1
  1200. package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +40 -40
  1201. package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +110 -110
  1202. package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs.map +1 -1
  1203. package/kotlin/okio-parent-okio/okio/Segment.mjs +75 -75
  1204. package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +6 -6
  1205. package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +56 -56
  1206. package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs.map +1 -1
  1207. package/kotlin/okio-parent-okio/okio/Util.mjs +2 -2
  1208. package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +40 -40
  1209. package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +27 -27
  1210. package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +26 -26
  1211. package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
  1212. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +10 -10
  1213. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs.map +1 -1
  1214. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +5 -5
  1215. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs.map +1 -1
  1216. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +10 -11
  1217. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs.map +1 -1
  1218. package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +183 -160
  1219. package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs.map +1 -1
  1220. package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
  1221. package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +53 -67
  1222. package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs.map +1 -1
  1223. package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +53 -60
  1224. package/kotlin/types-types/kotools/types/text/NotBlankString.mjs.map +1 -1
  1225. package/kotlin/types-types-internal/kotools/types/internal/AnyX.mjs +1 -1
  1226. package/kotlin/types-types-internal/kotools/types/internal/AnyX.mjs.map +1 -1
  1227. package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +20 -20
  1228. package/kotlin/types-types-internal/kotools/types/internal/Errors.mjs +1 -1
  1229. package/kotlin/types-types-internal/kotools/types/internal/KClassX.mjs +4 -4
  1230. package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +13 -13
  1231. package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs.map +1 -1
  1232. package/kotlin/uuid/com/benasher44/uuid/platform.mjs +2 -2
  1233. package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +21 -21
  1234. package/kotlin/uuid/com/benasher44/uuid/uuid.mjs.map +1 -1
  1235. package/package.json +1 -1
  1236. package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +0 -33
  1237. package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +0 -1
  1238. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs +0 -83
  1239. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +0 -1
  1240. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs +0 -15
  1241. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +0 -1
@@ -1,10 +1,10 @@
1
- import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
1
+ import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
2
2
  import {
3
3
  Segmentqmq1glevgieu as Segment,
4
4
  closefimrnzr4lu35 as close,
5
5
  findSegmentInternal35lxp6iondi3q as findSegmentInternal,
6
- _SegmentOrClosed___get_segment__impl__jvcr9l18a2bvgc1qn40 as _SegmentOrClosed___get_segment__impl__jvcr9l,
7
- _SegmentOrClosed___get_isClosed__impl__qmxmloowq69c0z7uo as _SegmentOrClosed___get_isClosed__impl__qmxmlo,
6
+ _SegmentOrClosed___get_segment__impl__jvcr9l11u92xgdpd2cq as _SegmentOrClosed___get_segment__impl__jvcr9l,
7
+ _SegmentOrClosed___get_isClosed__impl__qmxmlo29t7w5c5hyyi1 as _SegmentOrClosed___get_isClosed__impl__qmxmlo,
8
8
  SegmentOrCloseds3xpxfs4wrg9 as SegmentOrClosed,
9
9
  } from '../internal/ConcurrentLinkedList.mjs';
10
10
  import { atomicfu$AtomicRefArray$ofNulls2kz3j9ehigwa3 as atomicfu$AtomicRefArray$ofNulls } from '../../../../kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs';
@@ -33,11 +33,11 @@ import {
33
33
  fromInt1lka3ktyu79a4 as fromInt,
34
34
  multiply18i3gv3wlmcjg as multiply,
35
35
  add85si75olwt6n as add,
36
+ compare2uud5j30pw5xc as compare,
36
37
  divide3tol6kxdi8xn6 as divide,
37
38
  modulo3mmbfwxzpcw3a as modulo,
38
39
  convertToIntofdoxh9bstof as convertToInt,
39
40
  equalsLong28bsrfhwvd686 as equalsLong,
40
- compare2uud5j30pw5xc as compare,
41
41
  bitwiseAnd2g7wmsfd45l12 as bitwiseAnd,
42
42
  shiftRight2cr6y79ufiihy as shiftRight,
43
43
  subtract16cg4lfi29fq9 as subtract,
@@ -45,48 +45,44 @@ import {
45
45
  } from '../../../../kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs';
46
46
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
47
47
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
48
- import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
49
48
  import {
50
49
  recoverStackTrace3k4hvtb53ci4z as recoverStackTrace,
51
50
  recoverStackTrace2i3si2i8nvw1k as recoverStackTrace_0,
52
51
  } from '../internal/StackTraceRecovery.mjs';
53
- import {
54
- intercepted2ogpsikxxj4u0 as intercepted,
55
- suspendOrReturn49pspzlx5djv as suspendOrReturn,
56
- } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
52
+ import { intercepted2ogpsikxxj4u0 as intercepted } from '../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
57
53
  import {
58
54
  getOrCreateCancellableContinuation2t1o0dr9l9i36 as getOrCreateCancellableContinuation,
59
55
  CancellableContinuationpb2x00mxmcbt as CancellableContinuation,
60
56
  } from '../CancellableContinuation.mjs';
61
57
  import {
62
- Companion_instance25ullnynvxd0w as Companion_instance,
58
+ Companion_instance1xjg859pd52fi as Companion_instance,
63
59
  createFailure8paxfkfa5dc7 as createFailure,
64
- _Result___init__impl__xyqfz83a5421h46yeyh as _Result___init__impl__xyqfz8,
60
+ _Result___init__impl__xyqfz823vatsdepqb9n as _Result___init__impl__xyqfz8,
65
61
  } from '../../../../kotlin-kotlin-stdlib/kotlin/Result.mjs';
66
62
  import { Long2qws0ah9gnpki as Long } from '../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
67
63
  import { CancellableContinuationImpl1cx201opicavg as CancellableContinuationImpl } from '../CancellableContinuationImpl.mjs';
68
64
  import { addSuppressedu5jwjfvsc039 as addSuppressed } from '../../../../kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs';
69
65
  import {
70
- Companion_getInstance2uobo5jk84w6b as Companion_getInstance,
66
+ Companion_getInstance2d24j5bn8excb as Companion_getInstance,
71
67
  ChannelResult2y4k69ac6y3du as ChannelResult,
72
68
  ClosedReceiveChannelException3ofg6gf5f5b38 as ClosedReceiveChannelException,
73
- ChannelResult__getOrNull_impl_f5e07h2dh05cjyju55c as ChannelResult__getOrNull_impl_f5e07h,
69
+ ChannelResult__getOrNull_impl_f5e07h25z6we1ochnsd as ChannelResult__getOrNull_impl_f5e07h,
74
70
  ClosedSendChannelException29m33prpq9jaw as ClosedSendChannelException,
75
- close$default29t9kascifp5w as close$default,
76
- cancel$default3ekkkwpkem73o as cancel$default,
77
- SendChannel38sllbxw662ws as SendChannel,
71
+ close$default1evna6yun3t5h as close$default,
72
+ cancel$default1fq6eekptkf7a as cancel$default,
78
73
  ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
74
+ SendChannel38sllbxw662ws as SendChannel,
79
75
  } from './Channel.mjs';
80
76
  import {
81
77
  SelectInstance2isepgzfsd8ur as SelectInstance,
82
78
  SelectImplementation59ci94k9x9wm as SelectImplementation,
83
- TrySelectDetailedResult_REREGISTER_getInstance37wb4scq4deq9 as TrySelectDetailedResult_REREGISTER_getInstance,
84
- TrySelectDetailedResult_SUCCESSFUL_getInstancekmsh4z99o2un as TrySelectDetailedResult_SUCCESSFUL_getInstance,
79
+ TrySelectDetailedResult_REREGISTER_getInstance15xg23166dzwi as TrySelectDetailedResult_REREGISTER_getInstance,
80
+ TrySelectDetailedResult_SUCCESSFUL_getInstanceuly24xhbmack as TrySelectDetailedResult_SUCCESSFUL_getInstance,
85
81
  } from '../selects/Select.mjs';
86
82
  import {
87
- _InlineList___init__impl__z8n56a6l2d509tle7 as _InlineList___init__impl__z8n56,
88
- InlineList__plus_impl_nuetvo1qghtjfe175d9 as InlineList__plus_impl_nuetvo,
89
- access$_get_holder__kkflen2dpfhuyt7ng33 as access$_get_holder__kkflen,
83
+ _InlineList___init__impl__z8n563fbquki2pbrg9 as _InlineList___init__impl__z8n56,
84
+ InlineList__plus_impl_nuetvo19qcbi592j2ja as InlineList__plus_impl_nuetvo,
85
+ access$_get_holder__kkflengpb3tkfr49xk as access$_get_holder__kkflen,
90
86
  } from '../internal/InlineList.mjs';
91
87
  import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
92
88
  import {
@@ -98,7 +94,7 @@ import { StringBuildermazzzhj6kkai as StringBuilder } from '../../../../kotlin-k
98
94
  import { listOf1jh22dvmctj1r as listOf } from '../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
99
95
  import { compareTo3ankvs086tmwq as compareTo } from '../../../../kotlin-kotlin-stdlib/kotlin/js/compareTo.mjs';
100
96
  import { last2n4gf5az1lkn4 as last } from '../../../../kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs';
101
- import { _Char___init__impl__6a9atx1csff5kwtduxl as _Char___init__impl__6a9atx } from '../../../../kotlin-kotlin-stdlib/kotlin/Char.mjs';
97
+ import { _Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx } from '../../../../kotlin-kotlin-stdlib/kotlin/Char.mjs';
102
98
  import { systemProp2qpti4y1f5b4b as systemProp } from '../internal/SystemProps.common.mjs';
103
99
  import { Symbol17xuwzgi5g8ve as Symbol } from '../internal/Symbol.mjs';
104
100
  //region block: imports
@@ -203,7 +199,7 @@ function get_NO_CLOSE_CAUSE() {
203
199
  var NO_CLOSE_CAUSE;
204
200
  function setElementLazy($this, index, value) {
205
201
  // Inline function 'kotlinx.atomicfu.AtomicRef.lazySet' call
206
- $this.j1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
202
+ $this.d1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value = value;
207
203
  }
208
204
  var ChannelSegmentClass;
209
205
  function ChannelSegment() {
@@ -211,49 +207,48 @@ function ChannelSegment() {
211
207
  class $ extends Segment() {
212
208
  constructor(id, prev, channel, pointers) {
213
209
  super(id, prev, pointers);
214
- this.i1a_1 = channel;
215
- this.j1a_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
210
+ this.c1a_1 = channel;
211
+ this.d1a_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
216
212
  }
217
- k1a() {
218
- return ensureNotNull(this.i1a_1);
213
+ e1a() {
214
+ return ensureNotNull(this.c1a_1);
219
215
  }
220
- l1a() {
216
+ f1a() {
221
217
  return get_SEGMENT_SIZE();
222
218
  }
223
- m1a(index, element) {
219
+ g1a(index, element) {
224
220
  setElementLazy(this, index, element);
225
221
  }
226
- n1a(index) {
227
- var tmp = this.j1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
228
- return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
222
+ h1a(index) {
223
+ return this.d1a_1.atomicfu$get(imul(index, 2)).kotlinx$atomicfu$value;
229
224
  }
230
- o1a(index) {
225
+ i1a(index) {
231
226
  // Inline function 'kotlin.also' call
232
- var this_0 = this.n1a(index);
233
- this.p1a(index);
227
+ var this_0 = this.h1a(index);
228
+ this.j1a(index);
234
229
  return this_0;
235
230
  }
236
- p1a(index) {
231
+ j1a(index) {
237
232
  setElementLazy(this, index, null);
238
233
  }
239
- q1a(index) {
240
- return this.j1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
234
+ k1a(index) {
235
+ return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
241
236
  }
242
- r1a(index, value) {
243
- this.j1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
237
+ l1a(index, value) {
238
+ this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
244
239
  }
245
- s1a(index, from, to) {
246
- return this.j1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
240
+ m1a(index, from, to) {
241
+ return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
247
242
  }
248
- t1a(index, update) {
249
- return this.j1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
243
+ n1a(index, update) {
244
+ return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
250
245
  }
251
- z12(index, cause, context) {
246
+ t12(index, cause, context) {
252
247
  var isSender = index >= get_SEGMENT_SIZE();
253
248
  var index_0 = isSender ? index - get_SEGMENT_SIZE() | 0 : index;
254
- var element = this.n1a(index_0);
249
+ var element = this.h1a(index_0);
255
250
  $l$loop: while (true) {
256
- var cur = this.q1a(index_0);
251
+ var cur = this.k1a(index_0);
257
252
  var tmp;
258
253
  if (!(cur == null) ? isInterface(cur, Waiter()) : false) {
259
254
  tmp = true;
@@ -262,11 +257,11 @@ function ChannelSegment() {
262
257
  }
263
258
  if (tmp) {
264
259
  var update = isSender ? get_INTERRUPTED_SEND() : get_INTERRUPTED_RCV();
265
- if (this.s1a(index_0, cur, update)) {
266
- this.p1a(index_0);
267
- this.g1b(index_0, !isSender);
260
+ if (this.m1a(index_0, cur, update)) {
261
+ this.j1a(index_0);
262
+ this.a1b(index_0, !isSender);
268
263
  if (isSender) {
269
- var tmp0_safe_receiver = this.k1a().v1a_1;
264
+ var tmp0_safe_receiver = this.e1a().p1a_1;
270
265
  if (tmp0_safe_receiver == null)
271
266
  null;
272
267
  else {
@@ -277,9 +272,9 @@ function ChannelSegment() {
277
272
  }
278
273
  } else {
279
274
  if (cur === get_INTERRUPTED_SEND() || cur === get_INTERRUPTED_RCV()) {
280
- this.p1a(index_0);
275
+ this.j1a(index_0);
281
276
  if (isSender) {
282
- var tmp1_safe_receiver = this.k1a().v1a_1;
277
+ var tmp1_safe_receiver = this.e1a().p1a_1;
283
278
  if (tmp1_safe_receiver == null)
284
279
  null;
285
280
  else {
@@ -307,18 +302,18 @@ function ChannelSegment() {
307
302
  }
308
303
  }
309
304
  }
310
- g1b(index, receiver) {
305
+ a1b(index, receiver) {
311
306
  if (receiver) {
312
- var tmp = this.k1a();
313
- var tmp0 = this.x12_1;
307
+ var tmp = this.e1a();
308
+ var tmp0 = this.r12_1;
314
309
  // Inline function 'kotlin.Long.times' call
315
310
  var other = get_SEGMENT_SIZE();
316
311
  // Inline function 'kotlin.Long.plus' call
317
312
  var this_0 = multiply(tmp0, fromInt(other));
318
313
  var tmp$ret$1 = add(this_0, fromInt(index));
319
- tmp.h1b(tmp$ret$1);
314
+ tmp.b1b(tmp$ret$1);
320
315
  }
321
- this.i1b();
316
+ this.c1b();
322
317
  }
323
318
  }
324
319
  initMetadataForClass($, 'ChannelSegment');
@@ -326,77 +321,9 @@ function ChannelSegment() {
326
321
  }
327
322
  return ChannelSegmentClass;
328
323
  }
329
- function *_generator_hasNext__q471nr($this, $completion) {
330
- var tmp;
331
- if (!($this.u1b_1 === get_NO_RECEIVE_RESULT()) && !($this.u1b_1 === get_CHANNEL_CLOSED())) {
332
- tmp = true;
333
- } else {
334
- var tmp0 = $this.w1b_1;
335
- var tmp$ret$1;
336
- $l$block_0: {
337
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
338
- var segment = tmp0.b1b_1.kotlinx$atomicfu$value;
339
- $l$loop_0: while (true) {
340
- if (tmp0.x1b()) {
341
- tmp$ret$1 = onClosedHasNext($this);
342
- break $l$block_0;
343
- }
344
- var r = tmp0.x1a_1.atomicfu$getAndIncrement$long();
345
- // Inline function 'kotlin.Long.div' call
346
- var other = get_SEGMENT_SIZE();
347
- var id = divide(r, fromInt(other));
348
- // Inline function 'kotlin.Long.rem' call
349
- var other_0 = get_SEGMENT_SIZE();
350
- var tmp$ret$3 = modulo(r, fromInt(other_0));
351
- var i = convertToInt(tmp$ret$3);
352
- if (!equalsLong(segment.x12_1, id)) {
353
- var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment);
354
- var tmp_0;
355
- if (tmp0_elvis_lhs == null) {
356
- continue $l$loop_0;
357
- } else {
358
- tmp_0 = tmp0_elvis_lhs;
359
- }
360
- segment = tmp_0;
361
- }
362
- var updCellResult = updateCellReceive(tmp0, segment, i, r, null);
363
- var tmp_1;
364
- if (updCellResult === get_SUSPEND()) {
365
- var tmp1_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
366
- if (tmp1_safe_receiver == null)
367
- null;
368
- else {
369
- prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment, i);
370
- }
371
- var message = 'unreachable';
372
- throw IllegalStateException().o(toString_0(message));
373
- } else if (updCellResult === get_FAILED()) {
374
- if (compare(r, tmp0.y1b()) < 0) {
375
- segment.s1b();
376
- }
377
- continue $l$loop_0;
378
- } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
379
- var segm = segment;
380
- var tmp_2 = hasNextOnNoWaiterSuspend($this, segm, i, r, $completion);
381
- if (tmp_2 === get_COROUTINE_SUSPENDED())
382
- tmp_2 = yield tmp_2;
383
- return tmp_2;
384
- } else {
385
- segment.s1b();
386
- $this.u1b_1 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
387
- tmp_1 = true;
388
- }
389
- tmp$ret$1 = tmp_1;
390
- break $l$block_0;
391
- }
392
- }
393
- tmp = tmp$ret$1;
394
- }
395
- return tmp;
396
- }
397
324
  function onClosedHasNext($this) {
398
- $this.u1b_1 = get_CHANNEL_CLOSED();
399
- var tmp0_elvis_lhs = $this.w1b_1.z1b();
325
+ $this.o1b_1 = get_CHANNEL_CLOSED();
326
+ var tmp0_elvis_lhs = $this.q1b_1.r1b();
400
327
  var tmp;
401
328
  if (tmp0_elvis_lhs == null) {
402
329
  return false;
@@ -406,377 +333,319 @@ function onClosedHasNext($this) {
406
333
  var cause = tmp;
407
334
  throw recoverStackTrace(cause);
408
335
  }
409
- function hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
410
- var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
411
- try {
412
- $this.v1b_1 = cancellable;
413
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
414
- var this_0 = $this.w1b_1;
415
- var updCellResult = updateCellReceive(this_0, segment, index, r, $this);
416
- if (updCellResult === get_SUSPEND()) {
417
- prepareReceiverForSuspension(this_0, $this, segment, index);
418
- } else if (updCellResult === get_FAILED()) {
419
- if (compare(r, this_0.y1b()) < 0) {
420
- segment.s1b();
421
- }
422
- $l$block_0: {
423
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
424
- var segment_0 = this_0.b1b_1.kotlinx$atomicfu$value;
425
- $l$loop_0: while (true) {
426
- if (this_0.x1b()) {
427
- onClosedHasNextNoWaiterSuspend($this);
428
- break $l$block_0;
429
- }
430
- var r_0 = this_0.x1a_1.atomicfu$getAndIncrement$long();
431
- // Inline function 'kotlin.Long.div' call
432
- var other = get_SEGMENT_SIZE();
433
- var id = divide(r_0, fromInt(other));
434
- // Inline function 'kotlin.Long.rem' call
435
- var other_0 = get_SEGMENT_SIZE();
436
- var tmp$ret$3 = modulo(r_0, fromInt(other_0));
437
- var i = convertToInt(tmp$ret$3);
438
- if (!equalsLong(segment_0.x12_1, id)) {
439
- var tmp0_elvis_lhs = findSegmentReceive(this_0, id, segment_0);
440
- var tmp;
441
- if (tmp0_elvis_lhs == null) {
442
- continue $l$loop_0;
443
- } else {
444
- tmp = tmp0_elvis_lhs;
336
+ function *hasNextOnNoWaiterSuspend($this, segment, index, r, $completion) {
337
+ // Inline function 'kotlinx.coroutines.suspendCancellableCoroutineReusable' call
338
+ // Inline function 'kotlin.js.suspendCoroutineUninterceptedOrReturnJS' call
339
+ return yield () => {
340
+ var uCont = $completion;
341
+ var cancellable = getOrCreateCancellableContinuation(intercepted(uCont));
342
+ try {
343
+ $this.p1b_1 = cancellable;
344
+ var tmp0 = $this.q1b_1;
345
+ var tmp2 = segment;
346
+ var tmp4 = index;
347
+ var tmp6 = r;
348
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
349
+ var waiter = $this;
350
+ var updCellResult = updateCellReceive(tmp0, tmp2, tmp4, tmp6, waiter);
351
+ if (updCellResult === get_SUSPEND()) {
352
+ prepareReceiverForSuspension(tmp0, waiter, tmp2, tmp4);
353
+ } else if (updCellResult === get_FAILED()) {
354
+ if (compare(tmp6, tmp0.s1b()) < 0) {
355
+ tmp2.m1b();
356
+ }
357
+ $l$block_0: {
358
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
359
+ var segment_0 = tmp0.v1a_1.kotlinx$atomicfu$value;
360
+ $l$loop_0: while (true) {
361
+ if (tmp0.t1b()) {
362
+ onClosedHasNextNoWaiterSuspend($this);
363
+ break $l$block_0;
445
364
  }
446
- segment_0 = tmp;
447
- }
448
- var updCellResult_0 = updateCellReceive(this_0, segment_0, i, r_0, $this);
449
- if (updCellResult_0 === get_SUSPEND()) {
450
- var tmp1_safe_receiver = (!($this == null) ? isInterface($this, Waiter()) : false) ? $this : null;
451
- if (tmp1_safe_receiver == null)
452
- null;
453
- else {
454
- prepareReceiverForSuspension(this_0, tmp1_safe_receiver, segment_0, i);
365
+ var r_0 = tmp0.r1a_1.atomicfu$getAndIncrement$long();
366
+ // Inline function 'kotlin.Long.div' call
367
+ var other = get_SEGMENT_SIZE();
368
+ var id = divide(r_0, fromInt(other));
369
+ // Inline function 'kotlin.Long.rem' call
370
+ var other_0 = get_SEGMENT_SIZE();
371
+ var tmp$ret$8 = modulo(r_0, fromInt(other_0));
372
+ var i = convertToInt(tmp$ret$8);
373
+ if (!equalsLong(segment_0.r12_1, id)) {
374
+ var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment_0);
375
+ var tmp;
376
+ if (tmp0_elvis_lhs == null) {
377
+ continue $l$loop_0;
378
+ } else {
379
+ tmp = tmp0_elvis_lhs;
380
+ }
381
+ segment_0 = tmp;
455
382
  }
456
- } else if (updCellResult_0 === get_FAILED()) {
457
- if (compare(r_0, this_0.y1b()) < 0) {
458
- segment_0.s1b();
383
+ var updCellResult_0 = updateCellReceive(tmp0, segment_0, i, r_0, waiter);
384
+ if (updCellResult_0 === get_SUSPEND()) {
385
+ var tmp1_safe_receiver = (!(waiter == null) ? isInterface(waiter, Waiter()) : false) ? waiter : null;
386
+ if (tmp1_safe_receiver == null)
387
+ null;
388
+ else {
389
+ prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment_0, i);
390
+ }
391
+ } else if (updCellResult_0 === get_FAILED()) {
392
+ if (compare(r_0, tmp0.s1b()) < 0) {
393
+ segment_0.m1b();
394
+ }
395
+ continue $l$loop_0;
396
+ } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
397
+ // Inline function 'kotlin.error' call
398
+ var message = 'unexpected';
399
+ throw IllegalStateException().o(toString_0(message));
400
+ } else {
401
+ segment_0.m1b();
402
+ $this.o1b_1 = updCellResult_0;
403
+ $this.p1b_1 = null;
404
+ var tmp0_safe_receiver = $this.q1b_1.p1a_1;
405
+ cancellable.u13(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.q1b_1, tmp0_safe_receiver, updCellResult_0));
459
406
  }
460
- continue $l$loop_0;
461
- } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
462
- // Inline function 'kotlin.error' call
463
- var message = 'unexpected';
464
- throw IllegalStateException().o(toString_0(message));
465
- } else {
466
- segment_0.s1b();
467
- var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
468
- $this.u1b_1 = element;
469
- $this.v1b_1 = null;
470
- var tmp0_safe_receiver = $this.w1b_1.v1a_1;
471
- cancellable.a14(true, tmp0_safe_receiver == null ? null : bindCancellationFun($this.w1b_1, tmp0_safe_receiver, element));
407
+ break $l$block_0;
472
408
  }
473
- break $l$block_0;
474
409
  }
410
+ } else {
411
+ tmp2.m1b();
412
+ $this.o1b_1 = updCellResult;
413
+ $this.p1b_1 = null;
414
+ var tmp0_safe_receiver_0 = $this.q1b_1.p1a_1;
415
+ cancellable.u13(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.q1b_1, tmp0_safe_receiver_0, updCellResult));
416
+ }
417
+ } catch ($p) {
418
+ if ($p instanceof Error) {
419
+ var e = $p;
420
+ cancellable.q13();
421
+ throw e;
422
+ } else {
423
+ throw $p;
475
424
  }
476
- } else {
477
- segment.s1b();
478
- var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
479
- $this.u1b_1 = element_0;
480
- $this.v1b_1 = null;
481
- var tmp0_safe_receiver_0 = $this.w1b_1.v1a_1;
482
- cancellable.a14(true, tmp0_safe_receiver_0 == null ? null : bindCancellationFun($this.w1b_1, tmp0_safe_receiver_0, element_0));
483
- }
484
- } catch ($p) {
485
- if ($p instanceof Error) {
486
- var e = $p;
487
- cancellable.w13();
488
- throw e;
489
- } else {
490
- throw $p;
491
425
  }
492
- }
493
- return cancellable.e11();
426
+ return cancellable.x10();
427
+ };
494
428
  }
495
429
  function onClosedHasNextNoWaiterSuspend($this) {
496
- var cont = ensureNotNull($this.v1b_1);
497
- $this.v1b_1 = null;
498
- $this.u1b_1 = get_CHANNEL_CLOSED();
499
- var cause = $this.w1b_1.z1b();
430
+ var cont = ensureNotNull($this.p1b_1);
431
+ $this.p1b_1 = null;
432
+ $this.o1b_1 = get_CHANNEL_CLOSED();
433
+ var cause = $this.q1b_1.r1b();
500
434
  if (cause == null) {
501
435
  // Inline function 'kotlin.coroutines.resume' call
502
436
  // Inline function 'kotlin.Companion.success' call
503
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
504
- cont.dd(tmp$ret$0);
437
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
438
+ cont.yc(tmp$ret$1);
505
439
  } else {
506
440
  // Inline function 'kotlin.coroutines.resumeWithException' call
507
441
  // Inline function 'kotlin.Companion.failure' call
508
442
  var exception = recoverStackTrace_0(cause, cont);
509
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
510
- cont.dd(tmp$ret$2);
443
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
444
+ cont.yc(tmp$ret$3);
511
445
  }
512
446
  }
513
447
  function _get_bufferEndCounter__2d4hee($this) {
514
- return $this.y1a_1.kotlinx$atomicfu$value;
448
+ return $this.s1a_1.kotlinx$atomicfu$value;
515
449
  }
516
450
  function _get_isRendezvousOrUnlimited__3mdufi($this) {
517
451
  // Inline function 'kotlin.let' call
518
452
  var it = _get_bufferEndCounter__2d4hee($this);
519
453
  return equalsLong(it, new (Long())(0, 0)) || equalsLong(it, new (Long())(-1, 2147483647));
520
454
  }
521
- function *_generator_send__qhx0g0($this, element, $completion) {
522
- $l$block_5: {
523
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
524
- var segment = $this.a1b_1.kotlinx$atomicfu$value;
525
- $l$loop_0: while (true) {
526
- var sendersAndCloseStatusCur = $this.w1a_1.atomicfu$getAndIncrement$long();
527
- // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
528
- var s = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
529
- var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
530
- // Inline function 'kotlin.Long.div' call
531
- var other = get_SEGMENT_SIZE();
532
- var id = divide(s, fromInt(other));
533
- // Inline function 'kotlin.Long.rem' call
534
- var other_0 = get_SEGMENT_SIZE();
535
- var tmp$ret$2 = modulo(s, fromInt(other_0));
536
- var i = convertToInt(tmp$ret$2);
537
- if (!equalsLong(segment.x12_1, id)) {
538
- var tmp0_elvis_lhs = findSegmentSend($this, id, segment);
539
- var tmp;
540
- if (tmp0_elvis_lhs == null) {
541
- var tmp_0;
542
- if (closed) {
543
- var tmp_1 = onClosedSend($this, element, $completion);
544
- if (tmp_1 === get_COROUTINE_SUSPENDED())
545
- tmp_1 = yield tmp_1;
546
- break $l$block_5;
547
- } else {
548
- continue $l$loop_0;
549
- }
550
- } else {
551
- tmp = tmp0_elvis_lhs;
552
- }
553
- segment = tmp;
554
- }
555
- switch (updateCellSend($this, segment, i, element, s, null, closed)) {
556
- case 0:
557
- segment.s1b();
558
- break $l$block_5;
559
- case 1:
560
- break $l$block_5;
561
- case 2:
562
- if (closed) {
563
- segment.i1b();
564
- var tmp_2 = onClosedSend($this, element, $completion);
565
- if (tmp_2 === get_COROUTINE_SUSPENDED())
566
- tmp_2 = yield tmp_2;
567
- break $l$block_5;
568
- }
569
-
570
- var tmp2_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
571
- if (tmp2_safe_receiver == null)
572
- null;
573
- else {
574
- prepareSenderForSuspension($this, tmp2_safe_receiver, segment, i);
575
- }
576
-
577
- // Inline function 'kotlinx.coroutines.assert' call
578
-
579
- break $l$block_5;
580
- case 4:
581
- if (compare(s, $this.a1c()) < 0) {
582
- segment.s1b();
583
- }
584
-
585
- var tmp_3 = onClosedSend($this, element, $completion);
586
- if (tmp_3 === get_COROUTINE_SUSPENDED())
587
- tmp_3 = yield tmp_3;
588
- break $l$block_5;
589
- case 5:
590
- segment.s1b();
591
- continue $l$loop_0;
592
- case 3:
593
- var segm = segment;
594
- var tmp_4 = sendOnNoWaiterSuspend($this, segm, i, element, s, $completion);
595
- if (tmp_4 === get_COROUTINE_SUSPENDED())
596
- tmp_4 = yield tmp_4;
597
- break $l$block_5;
455
+ function *onClosedSend($this, element, $completion) {
456
+ // Inline function 'kotlinx.coroutines.suspendCancellableCoroutine' call
457
+ // Inline function 'kotlin.js.suspendCoroutineUninterceptedOrReturnJS' call
458
+ (yield () => {
459
+ var uCont = $completion;
460
+ var cancellable = new (CancellableContinuationImpl())(intercepted(uCont), 1);
461
+ cancellable.w10();
462
+ $l$block: {
463
+ var tmp0_safe_receiver = $this.p1a_1;
464
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
465
+ if (tmp1_safe_receiver == null)
466
+ null;
467
+ else {
468
+ // Inline function 'kotlin.let' call
469
+ addSuppressed(tmp1_safe_receiver, $this.u1b());
470
+ // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
471
+ // Inline function 'kotlin.Companion.failure' call
472
+ var exception = recoverStackTrace_0(tmp1_safe_receiver, cancellable);
473
+ var tmp$ret$7 = _Result___init__impl__xyqfz8(createFailure(exception));
474
+ cancellable.yc(tmp$ret$7);
475
+ break $l$block;
598
476
  }
599
- }
600
- }
601
- return Unit_instance;
602
- }
603
- function onClosedSend($this, element, $completion) {
604
- var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
605
- cancellable.d11();
606
- $l$block: {
607
- var tmp0_safe_receiver = $this.v1a_1;
608
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
609
- if (tmp1_safe_receiver == null)
610
- null;
611
- else {
612
- // Inline function 'kotlin.let' call
613
- addSuppressed(tmp1_safe_receiver, $this.b1c());
614
477
  // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
478
+ var exception_0 = $this.u1b();
615
479
  // Inline function 'kotlin.Companion.failure' call
616
- var exception = recoverStackTrace_0(tmp1_safe_receiver, cancellable);
617
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
618
- cancellable.dd(tmp$ret$0);
619
- break $l$block;
480
+ var exception_1 = recoverStackTrace_0(exception_0, cancellable);
481
+ var tmp$ret$9 = _Result___init__impl__xyqfz8(createFailure(exception_1));
482
+ cancellable.yc(tmp$ret$9);
620
483
  }
621
- // Inline function 'kotlinx.coroutines.resumeWithStackTrace' call
622
- var exception_0 = $this.b1c();
623
- // Inline function 'kotlin.Companion.failure' call
624
- var exception_1 = recoverStackTrace_0(exception_0, cancellable);
625
- var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(exception_1));
626
- cancellable.dd(tmp$ret$4);
627
- }
628
- return cancellable.e11();
629
- }
630
- function sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
631
- var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
632
- try {
633
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter' call
634
- switch (updateCellSend($this, segment, index, element, s, cancellable, false)) {
635
- case 0:
636
- segment.s1b();
637
- // Inline function 'kotlin.coroutines.resume' call
484
+ return cancellable.x10();
485
+ });
486
+ return Unit_instance;
487
+ }
488
+ function *sendOnNoWaiterSuspend($this, segment, index, element, s, $completion) {
489
+ // Inline function 'kotlinx.coroutines.suspendCancellableCoroutineReusable' call
490
+ // Inline function 'kotlin.js.suspendCoroutineUninterceptedOrReturnJS' call
491
+ (yield () => {
492
+ var uCont = $completion;
493
+ var cancellable = getOrCreateCancellableContinuation(intercepted(uCont));
494
+ try {
495
+ var tmp0 = $this;
496
+ var tmp2 = segment;
497
+ var tmp4 = index;
498
+ var tmp6 = element;
499
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImplOnNoWaiter' call
500
+ var s_0 = s;
501
+ switch (updateCellSend(tmp0, tmp2, tmp4, tmp6, s_0, cancellable, false)) {
502
+ case 0:
503
+ tmp2.m1b();
504
+ // Inline function 'kotlin.coroutines.resume' call
638
505
 
639
- // Inline function 'kotlin.Companion.success' call
506
+ // Inline function 'kotlin.Companion.success' call
640
507
 
641
- var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
642
- cancellable.dd(tmp$ret$0);
643
- break;
644
- case 1:
645
- // Inline function 'kotlin.coroutines.resume' call
508
+ var tmp$ret$7 = _Result___init__impl__xyqfz8(Unit_instance);
509
+ cancellable.yc(tmp$ret$7);
510
+ break;
511
+ case 1:
512
+ // Inline function 'kotlin.coroutines.resume' call
646
513
 
647
- // Inline function 'kotlin.Companion.success' call
514
+ // Inline function 'kotlin.Companion.success' call
648
515
 
649
- var tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_instance);
650
- cancellable.dd(tmp$ret$3);
651
- break;
652
- case 2:
653
- prepareSenderForSuspension($this, cancellable, segment, index);
654
- break;
655
- case 4:
656
- if (compare(s, $this.a1c()) < 0) {
657
- segment.s1b();
658
- }
516
+ var tmp$ret$10 = _Result___init__impl__xyqfz8(Unit_instance);
517
+ cancellable.yc(tmp$ret$10);
518
+ break;
519
+ case 2:
520
+ prepareSenderForSuspension(tmp0, cancellable, tmp2, tmp4);
521
+ break;
522
+ case 4:
523
+ if (compare(s_0, tmp0.v1b()) < 0) {
524
+ tmp2.m1b();
525
+ }
659
526
 
660
- onClosedSendOnNoWaiterSuspend($this, element, cancellable);
661
- break;
662
- case 5:
663
- segment.s1b();
664
- $l$block_5: {
665
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
666
- var segment_0 = $this.a1b_1.kotlinx$atomicfu$value;
667
- $l$loop_0: while (true) {
668
- var sendersAndCloseStatusCur = $this.w1a_1.atomicfu$getAndIncrement$long();
669
- // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
670
- var s_0 = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
671
- var closed = _get_isClosedForSend0__kxgf9m($this, sendersAndCloseStatusCur);
672
- // Inline function 'kotlin.Long.div' call
673
- var other = get_SEGMENT_SIZE();
674
- var id = divide(s_0, fromInt(other));
675
- // Inline function 'kotlin.Long.rem' call
676
- var other_0 = get_SEGMENT_SIZE();
677
- var tmp$ret$9 = modulo(s_0, fromInt(other_0));
678
- var i = convertToInt(tmp$ret$9);
679
- if (!equalsLong(segment_0.x12_1, id)) {
680
- var tmp0_elvis_lhs = findSegmentSend($this, id, segment_0);
681
- var tmp;
682
- if (tmp0_elvis_lhs == null) {
683
- var tmp_0;
684
- if (closed) {
685
- onClosedSendOnNoWaiterSuspend($this, element, cancellable);
686
- break $l$block_5;
527
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
528
+ break;
529
+ case 5:
530
+ tmp2.m1b();
531
+ $l$block_5: {
532
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
533
+ var segment_0 = tmp0.u1a_1.kotlinx$atomicfu$value;
534
+ $l$loop_0: while (true) {
535
+ var sendersAndCloseStatusCur = tmp0.q1a_1.atomicfu$getAndIncrement$long();
536
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
537
+ var s_1 = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
538
+ var closed = _get_isClosedForSend0__kxgf9m(tmp0, sendersAndCloseStatusCur);
539
+ // Inline function 'kotlin.Long.div' call
540
+ var other = get_SEGMENT_SIZE();
541
+ var id = divide(s_1, fromInt(other));
542
+ // Inline function 'kotlin.Long.rem' call
543
+ var other_0 = get_SEGMENT_SIZE();
544
+ var tmp$ret$15 = modulo(s_1, fromInt(other_0));
545
+ var i = convertToInt(tmp$ret$15);
546
+ if (!equalsLong(segment_0.r12_1, id)) {
547
+ var tmp0_elvis_lhs = findSegmentSend(tmp0, id, segment_0);
548
+ var tmp;
549
+ if (tmp0_elvis_lhs == null) {
550
+ var tmp_0;
551
+ if (closed) {
552
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
553
+ break $l$block_5;
554
+ } else {
555
+ continue $l$loop_0;
556
+ }
687
557
  } else {
688
- continue $l$loop_0;
558
+ tmp = tmp0_elvis_lhs;
689
559
  }
690
- } else {
691
- tmp = tmp0_elvis_lhs;
560
+ segment_0 = tmp;
692
561
  }
693
- segment_0 = tmp;
694
- }
695
- switch (updateCellSend($this, segment_0, i, element, s_0, cancellable, closed)) {
696
- case 0:
697
- segment_0.s1b();
698
- // Inline function 'kotlin.coroutines.resume' call
562
+ switch (updateCellSend(tmp0, segment_0, i, tmp6, s_1, cancellable, closed)) {
563
+ case 0:
564
+ segment_0.m1b();
565
+ // Inline function 'kotlin.coroutines.resume' call
699
566
 
700
- // Inline function 'kotlin.Companion.success' call
567
+ // Inline function 'kotlin.Companion.success' call
701
568
 
702
- var tmp$ret$12 = _Result___init__impl__xyqfz8(Unit_instance);
703
- cancellable.dd(tmp$ret$12);
704
- break $l$block_5;
705
- case 1:
706
- // Inline function 'kotlin.coroutines.resume' call
569
+ var tmp$ret$19 = _Result___init__impl__xyqfz8(Unit_instance);
570
+ cancellable.yc(tmp$ret$19);
571
+ break $l$block_5;
572
+ case 1:
573
+ // Inline function 'kotlin.coroutines.resume' call
707
574
 
708
- // Inline function 'kotlin.Companion.success' call
575
+ // Inline function 'kotlin.Companion.success' call
709
576
 
710
- var tmp$ret$15 = _Result___init__impl__xyqfz8(Unit_instance);
711
- cancellable.dd(tmp$ret$15);
712
- break $l$block_5;
713
- case 2:
714
- if (closed) {
715
- segment_0.i1b();
716
- onClosedSendOnNoWaiterSuspend($this, element, cancellable);
577
+ var tmp$ret$22 = _Result___init__impl__xyqfz8(Unit_instance);
578
+ cancellable.yc(tmp$ret$22);
717
579
  break $l$block_5;
718
- }
580
+ case 2:
581
+ if (closed) {
582
+ segment_0.c1b();
583
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
584
+ break $l$block_5;
585
+ }
719
586
 
720
- var tmp2_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
721
- if (tmp2_safe_receiver == null)
722
- null;
723
- else {
724
- prepareSenderForSuspension($this, tmp2_safe_receiver, segment_0, i);
725
- }
587
+ var tmp2_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
588
+ if (tmp2_safe_receiver == null)
589
+ null;
590
+ else {
591
+ prepareSenderForSuspension(tmp0, tmp2_safe_receiver, segment_0, i);
592
+ }
726
593
 
727
- break $l$block_5;
728
- case 4:
729
- if (compare(s_0, $this.a1c()) < 0) {
730
- segment_0.s1b();
731
- }
594
+ break $l$block_5;
595
+ case 4:
596
+ if (compare(s_1, tmp0.v1b()) < 0) {
597
+ segment_0.m1b();
598
+ }
732
599
 
733
- onClosedSendOnNoWaiterSuspend($this, element, cancellable);
734
- break $l$block_5;
735
- case 5:
736
- segment_0.s1b();
737
- continue $l$loop_0;
738
- case 3:
739
- // Inline function 'kotlin.error' call
600
+ onClosedSendOnNoWaiterSuspend($this, element, cancellable);
601
+ break $l$block_5;
602
+ case 5:
603
+ segment_0.m1b();
604
+ continue $l$loop_0;
605
+ case 3:
606
+ // Inline function 'kotlin.error' call
740
607
 
741
- var message = 'unexpected';
742
- throw IllegalStateException().o(toString_0(message));
608
+ var message = 'unexpected';
609
+ throw IllegalStateException().o(toString_0(message));
610
+ }
743
611
  }
744
612
  }
745
- }
746
613
 
747
- break;
748
- default:
749
- // Inline function 'kotlin.error' call
614
+ break;
615
+ default:
616
+ // Inline function 'kotlin.error' call
750
617
 
751
- var message_0 = 'unexpected';
752
- throw IllegalStateException().o(toString_0(message_0));
753
- }
754
- } catch ($p) {
755
- if ($p instanceof Error) {
756
- var e = $p;
757
- cancellable.w13();
758
- throw e;
759
- } else {
760
- throw $p;
618
+ var message_0 = 'unexpected';
619
+ throw IllegalStateException().o(toString_0(message_0));
620
+ }
621
+ } catch ($p) {
622
+ if ($p instanceof Error) {
623
+ var e = $p;
624
+ cancellable.q13();
625
+ throw e;
626
+ } else {
627
+ throw $p;
628
+ }
761
629
  }
762
- }
763
- return cancellable.e11();
630
+ return cancellable.x10();
631
+ });
632
+ return Unit_instance;
764
633
  }
765
- function prepareSenderForSuspension($this, _this__u8e3s4, segment, index) {
766
- _this__u8e3s4.c14(segment, index + get_SEGMENT_SIZE() | 0);
634
+ function prepareSenderForSuspension($this, $receiver, segment, index) {
635
+ $receiver.w13(segment, index + get_SEGMENT_SIZE() | 0);
767
636
  }
768
637
  function onClosedSendOnNoWaiterSuspend($this, element, cont) {
769
- var tmp0_safe_receiver = $this.v1a_1;
638
+ var tmp0_safe_receiver = $this.p1a_1;
770
639
  if (tmp0_safe_receiver == null)
771
640
  null;
772
641
  else {
773
- callUndeliveredElement(tmp0_safe_receiver, element, cont.bd());
642
+ callUndeliveredElement(tmp0_safe_receiver, element, cont.wc());
774
643
  }
775
644
  // Inline function 'kotlin.coroutines.resumeWithException' call
776
645
  // Inline function 'kotlin.Companion.failure' call
777
- var exception = recoverStackTrace_0($this.b1c(), cont);
778
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
779
- cont.dd(tmp$ret$0);
646
+ var exception = recoverStackTrace_0($this.u1b(), cont);
647
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
648
+ cont.yc(tmp$ret$1);
780
649
  }
781
650
  var SendBroadcastClass;
782
651
  function SendBroadcast() {
@@ -788,34 +657,34 @@ function SendBroadcast() {
788
657
  return SendBroadcastClass;
789
658
  }
790
659
  function updateCellSend($this, segment, index, element, s, waiter, closed) {
791
- segment.m1a(index, element);
660
+ segment.g1a(index, element);
792
661
  if (closed)
793
662
  return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
794
- var state = segment.q1a(index);
663
+ var state = segment.k1a(index);
795
664
  if (state === null) {
796
665
  if (bufferOrRendezvousSend($this, s)) {
797
- if (segment.s1a(index, null, get_BUFFERED())) {
666
+ if (segment.m1a(index, null, get_BUFFERED())) {
798
667
  return 1;
799
668
  }
800
669
  } else {
801
670
  if (waiter == null) {
802
671
  return 3;
803
672
  } else {
804
- if (segment.s1a(index, null, waiter))
673
+ if (segment.m1a(index, null, waiter))
805
674
  return 2;
806
675
  }
807
676
  }
808
677
  } else {
809
678
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
810
- segment.p1a(index);
679
+ segment.j1a(index);
811
680
  var tmp;
812
681
  if (tryResumeReceiver($this, state, element)) {
813
- segment.r1a(index, get_DONE_RCV());
814
- $this.c1c();
682
+ segment.l1a(index, get_DONE_RCV());
683
+ $this.w1b();
815
684
  tmp = 0;
816
685
  } else {
817
- if (!(segment.t1a(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
818
- segment.g1b(index, true);
686
+ if (!(segment.n1a(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
687
+ segment.a1b(index, true);
819
688
  }
820
689
  tmp = 5;
821
690
  }
@@ -826,55 +695,55 @@ function updateCellSend($this, segment, index, element, s, waiter, closed) {
826
695
  }
827
696
  function updateCellSendSlow($this, segment, index, element, s, waiter, closed) {
828
697
  while (true) {
829
- var state = segment.q1a(index);
698
+ var state = segment.k1a(index);
830
699
  if (state === null) {
831
700
  if (bufferOrRendezvousSend($this, s) && !closed) {
832
- if (segment.s1a(index, null, get_BUFFERED())) {
701
+ if (segment.m1a(index, null, get_BUFFERED())) {
833
702
  return 1;
834
703
  }
835
704
  } else {
836
705
  if (closed) {
837
- if (segment.s1a(index, null, get_INTERRUPTED_SEND())) {
838
- segment.g1b(index, false);
706
+ if (segment.m1a(index, null, get_INTERRUPTED_SEND())) {
707
+ segment.a1b(index, false);
839
708
  return 4;
840
709
  }
841
710
  } else if (waiter == null)
842
711
  return 3;
843
- else if (segment.s1a(index, null, waiter))
712
+ else if (segment.m1a(index, null, waiter))
844
713
  return 2;
845
714
  }
846
715
  } else if (state === get_IN_BUFFER()) {
847
- if (segment.s1a(index, state, get_BUFFERED())) {
716
+ if (segment.m1a(index, state, get_BUFFERED())) {
848
717
  return 1;
849
718
  }
850
719
  } else if (state === get_INTERRUPTED_RCV()) {
851
- segment.p1a(index);
720
+ segment.j1a(index);
852
721
  return 5;
853
722
  } else if (state === get_POISONED()) {
854
- segment.p1a(index);
723
+ segment.j1a(index);
855
724
  return 5;
856
725
  } else if (state === get_CHANNEL_CLOSED()) {
857
- segment.p1a(index);
726
+ segment.j1a(index);
858
727
  completeCloseOrCancel($this);
859
728
  return 4;
860
729
  } else {
861
730
  // Inline function 'kotlinx.coroutines.assert' call
862
- segment.p1a(index);
731
+ segment.j1a(index);
863
732
  var tmp;
864
733
  if (state instanceof WaiterEB()) {
865
- tmp = state.d1c_1;
734
+ tmp = state.x1b_1;
866
735
  } else {
867
736
  tmp = state;
868
737
  }
869
738
  var receiver = tmp;
870
739
  var tmp_0;
871
740
  if (tryResumeReceiver($this, receiver, element)) {
872
- segment.r1a(index, get_DONE_RCV());
873
- $this.c1c();
741
+ segment.l1a(index, get_DONE_RCV());
742
+ $this.w1b();
874
743
  tmp_0 = 0;
875
744
  } else {
876
- if (!(segment.t1a(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
877
- segment.g1b(index, true);
745
+ if (!(segment.n1a(index, get_INTERRUPTED_RCV()) === get_INTERRUPTED_RCV())) {
746
+ segment.a1b(index, true);
878
747
  }
879
748
  tmp_0 = 5;
880
749
  }
@@ -894,38 +763,39 @@ function bufferOrRendezvousSend($this, curSenders) {
894
763
  if (compare(curSenders, _get_bufferEndCounter__2d4hee($this)) < 0) {
895
764
  tmp = true;
896
765
  } else {
897
- var tmp0 = $this.a1c();
766
+ var tmp0 = $this.v1b();
898
767
  // Inline function 'kotlin.Long.plus' call
899
- var other = $this.u1a_1;
768
+ var other = $this.o1a_1;
900
769
  var tmp$ret$0 = add(tmp0, fromInt(other));
901
770
  tmp = compare(curSenders, tmp$ret$0) < 0;
902
771
  }
903
772
  return tmp;
904
773
  }
905
- function tryResumeReceiver($this, _this__u8e3s4, element) {
774
+ function tryResumeReceiver($this, $receiver, element) {
906
775
  var tmp;
907
- if (isInterface(_this__u8e3s4, SelectInstance())) {
908
- tmp = _this__u8e3s4.i1c($this, element);
776
+ if (isInterface($receiver, SelectInstance())) {
777
+ tmp = $receiver.c1c($this, element);
909
778
  } else {
910
- if (_this__u8e3s4 instanceof ReceiveCatching()) {
911
- if (!(_this__u8e3s4 instanceof ReceiveCatching()))
779
+ if ($receiver instanceof ReceiveCatching()) {
780
+ if (!($receiver instanceof ReceiveCatching()))
912
781
  THROW_CCE();
913
- var tmp_0 = Companion_getInstance().g1c(element);
914
- var tmp1_safe_receiver = $this.v1a_1;
915
- tmp = tryResume0(_this__u8e3s4.h1c_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
782
+ var tmp_0 = Companion_getInstance().a1c(element);
783
+ var tmp1_safe_receiver = $this.p1a_1;
784
+ tmp = tryResume0($receiver.b1c_1, new (ChannelResult())(tmp_0), tmp1_safe_receiver == null ? null : bindCancellationFunResult($this, tmp1_safe_receiver));
916
785
  } else {
917
- if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
918
- if (!(_this__u8e3s4 instanceof BufferedChannelIterator()))
786
+ if ($receiver instanceof BufferedChannelIterator()) {
787
+ if (!($receiver instanceof BufferedChannelIterator()))
919
788
  THROW_CCE();
920
- tmp = _this__u8e3s4.e1c(element);
789
+ tmp = $receiver.y1b(element);
921
790
  } else {
922
- if (isInterface(_this__u8e3s4, CancellableContinuation())) {
923
- if (!isInterface(_this__u8e3s4, CancellableContinuation()))
791
+ if (isInterface($receiver, CancellableContinuation())) {
792
+ if (!isInterface($receiver, CancellableContinuation()))
924
793
  THROW_CCE();
925
- var tmp2_safe_receiver = $this.v1a_1;
926
- tmp = tryResume0(_this__u8e3s4, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
794
+ var tmp2_safe_receiver = $this.p1a_1;
795
+ tmp = tryResume0($receiver, element, tmp2_safe_receiver == null ? null : bindCancellationFun_0($this, tmp2_safe_receiver));
927
796
  } else {
928
- var message = 'Unexpected receiver type: ' + toString_0(_this__u8e3s4);
797
+ // Inline function 'kotlin.error' call
798
+ var message = 'Unexpected receiver type: ' + toString_0($receiver);
929
799
  throw IllegalStateException().o(toString_0(message));
930
800
  }
931
801
  }
@@ -933,189 +803,137 @@ function tryResumeReceiver($this, _this__u8e3s4, element) {
933
803
  }
934
804
  return tmp;
935
805
  }
936
- function *_generator_receive__aoggq9($this, $completion) {
937
- var tmp$ret$0;
938
- $l$block: {
939
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
940
- var segment = $this.b1b_1.kotlinx$atomicfu$value;
941
- $l$loop_0: while (true) {
942
- if ($this.x1b()) {
943
- throw recoverStackTrace(_get_receiveException__foorc1($this));
944
- }
945
- var r = $this.x1a_1.atomicfu$getAndIncrement$long();
946
- // Inline function 'kotlin.Long.div' call
947
- var other = get_SEGMENT_SIZE();
948
- var id = divide(r, fromInt(other));
949
- // Inline function 'kotlin.Long.rem' call
950
- var other_0 = get_SEGMENT_SIZE();
951
- var tmp$ret$2 = modulo(r, fromInt(other_0));
952
- var i = convertToInt(tmp$ret$2);
953
- if (!equalsLong(segment.x12_1, id)) {
954
- var tmp0_elvis_lhs = findSegmentReceive($this, id, segment);
955
- var tmp;
956
- if (tmp0_elvis_lhs == null) {
957
- continue $l$loop_0;
958
- } else {
959
- tmp = tmp0_elvis_lhs;
960
- }
961
- segment = tmp;
962
- }
963
- var updCellResult = updateCellReceive($this, segment, i, r, null);
964
- var tmp_0;
806
+ function *receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
807
+ // Inline function 'kotlinx.coroutines.suspendCancellableCoroutineReusable' call
808
+ // Inline function 'kotlin.js.suspendCoroutineUninterceptedOrReturnJS' call
809
+ return yield () => {
810
+ var uCont = $completion;
811
+ var cancellable = getOrCreateCancellableContinuation(intercepted(uCont));
812
+ try {
813
+ var tmp0 = $this;
814
+ var tmp2 = segment;
815
+ var tmp4 = index;
816
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
817
+ var r_0 = r;
818
+ var updCellResult = updateCellReceive(tmp0, tmp2, tmp4, r_0, cancellable);
965
819
  if (updCellResult === get_SUSPEND()) {
966
- var tmp1_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
967
- if (tmp1_safe_receiver == null)
968
- null;
969
- else {
970
- prepareReceiverForSuspension($this, tmp1_safe_receiver, segment, i);
971
- }
972
- var message = 'unexpected';
973
- throw IllegalStateException().o(toString_0(message));
820
+ prepareReceiverForSuspension(tmp0, cancellable, tmp2, tmp4);
974
821
  } else if (updCellResult === get_FAILED()) {
975
- if (compare(r, $this.y1b()) < 0) {
976
- segment.s1b();
822
+ if (compare(r_0, tmp0.s1b()) < 0) {
823
+ tmp2.m1b();
977
824
  }
978
- continue $l$loop_0;
979
- } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
980
- var segm = segment;
981
- var tmp_1 = receiveOnNoWaiterSuspend($this, segm, i, r, $completion);
982
- if (tmp_1 === get_COROUTINE_SUSPENDED())
983
- tmp_1 = yield tmp_1;
984
- tmp_0 = tmp_1;
985
- } else {
986
- segment.s1b();
987
- return (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
988
- }
989
- tmp$ret$0 = tmp_0;
990
- break $l$block;
991
- }
992
- }
993
- return tmp$ret$0;
994
- }
995
- function receiveOnNoWaiterSuspend($this, segment, index, r, $completion) {
996
- var cancellable = getOrCreateCancellableContinuation(intercepted($completion));
997
- try {
998
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImplOnNoWaiter' call
999
- var updCellResult = updateCellReceive($this, segment, index, r, cancellable);
1000
- if (updCellResult === get_SUSPEND()) {
1001
- prepareReceiverForSuspension($this, cancellable, segment, index);
1002
- } else if (updCellResult === get_FAILED()) {
1003
- if (compare(r, $this.y1b()) < 0) {
1004
- segment.s1b();
1005
- }
1006
- $l$block_0: {
1007
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
1008
- var segment_0 = $this.b1b_1.kotlinx$atomicfu$value;
1009
- $l$loop_0: while (true) {
1010
- if ($this.x1b()) {
1011
- onClosedReceiveOnNoWaiterSuspend($this, cancellable);
1012
- break $l$block_0;
1013
- }
1014
- var r_0 = $this.x1a_1.atomicfu$getAndIncrement$long();
1015
- // Inline function 'kotlin.Long.div' call
1016
- var other = get_SEGMENT_SIZE();
1017
- var id = divide(r_0, fromInt(other));
1018
- // Inline function 'kotlin.Long.rem' call
1019
- var other_0 = get_SEGMENT_SIZE();
1020
- var tmp$ret$3 = modulo(r_0, fromInt(other_0));
1021
- var i = convertToInt(tmp$ret$3);
1022
- if (!equalsLong(segment_0.x12_1, id)) {
1023
- var tmp0_elvis_lhs = findSegmentReceive($this, id, segment_0);
1024
- var tmp;
1025
- if (tmp0_elvis_lhs == null) {
1026
- continue $l$loop_0;
1027
- } else {
1028
- tmp = tmp0_elvis_lhs;
825
+ $l$block_0: {
826
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
827
+ var segment_0 = tmp0.v1a_1.kotlinx$atomicfu$value;
828
+ $l$loop_0: while (true) {
829
+ if (tmp0.t1b()) {
830
+ onClosedReceiveOnNoWaiterSuspend($this, cancellable);
831
+ break $l$block_0;
1029
832
  }
1030
- segment_0 = tmp;
1031
- }
1032
- var updCellResult_0 = updateCellReceive($this, segment_0, i, r_0, cancellable);
1033
- if (updCellResult_0 === get_SUSPEND()) {
1034
- var tmp1_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
1035
- if (tmp1_safe_receiver == null)
1036
- null;
1037
- else {
1038
- prepareReceiverForSuspension($this, tmp1_safe_receiver, segment_0, i);
833
+ var r_1 = tmp0.r1a_1.atomicfu$getAndIncrement$long();
834
+ // Inline function 'kotlin.Long.div' call
835
+ var other = get_SEGMENT_SIZE();
836
+ var id = divide(r_1, fromInt(other));
837
+ // Inline function 'kotlin.Long.rem' call
838
+ var other_0 = get_SEGMENT_SIZE();
839
+ var tmp$ret$8 = modulo(r_1, fromInt(other_0));
840
+ var i = convertToInt(tmp$ret$8);
841
+ if (!equalsLong(segment_0.r12_1, id)) {
842
+ var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment_0);
843
+ var tmp;
844
+ if (tmp0_elvis_lhs == null) {
845
+ continue $l$loop_0;
846
+ } else {
847
+ tmp = tmp0_elvis_lhs;
848
+ }
849
+ segment_0 = tmp;
1039
850
  }
1040
- } else if (updCellResult_0 === get_FAILED()) {
1041
- if (compare(r_0, $this.y1b()) < 0) {
1042
- segment_0.s1b();
851
+ var updCellResult_0 = updateCellReceive(tmp0, segment_0, i, r_1, cancellable);
852
+ if (updCellResult_0 === get_SUSPEND()) {
853
+ var tmp1_safe_receiver = (!(cancellable == null) ? isInterface(cancellable, Waiter()) : false) ? cancellable : null;
854
+ if (tmp1_safe_receiver == null)
855
+ null;
856
+ else {
857
+ prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment_0, i);
858
+ }
859
+ } else if (updCellResult_0 === get_FAILED()) {
860
+ if (compare(r_1, tmp0.s1b()) < 0) {
861
+ segment_0.m1b();
862
+ }
863
+ continue $l$loop_0;
864
+ } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
865
+ // Inline function 'kotlin.error' call
866
+ var message = 'unexpected';
867
+ throw IllegalStateException().o(toString_0(message));
868
+ } else {
869
+ segment_0.m1b();
870
+ var tmp0_safe_receiver = $this.p1a_1;
871
+ var onCancellation = tmp0_safe_receiver == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver);
872
+ cancellable.u13(updCellResult_0, onCancellation);
1043
873
  }
1044
- continue $l$loop_0;
1045
- } else if (updCellResult_0 === get_SUSPEND_NO_WAITER()) {
1046
- // Inline function 'kotlin.error' call
1047
- var message = 'unexpected';
1048
- throw IllegalStateException().o(toString_0(message));
1049
- } else {
1050
- segment_0.s1b();
1051
- var element = (updCellResult_0 == null ? true : !(updCellResult_0 == null)) ? updCellResult_0 : THROW_CCE();
1052
- var tmp0_safe_receiver = $this.v1a_1;
1053
- var onCancellation = tmp0_safe_receiver == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver);
1054
- cancellable.a14(element, onCancellation);
874
+ break $l$block_0;
1055
875
  }
1056
- break $l$block_0;
1057
876
  }
877
+ } else {
878
+ tmp2.m1b();
879
+ var tmp0_safe_receiver_0 = $this.p1a_1;
880
+ var onCancellation_0 = tmp0_safe_receiver_0 == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver_0);
881
+ cancellable.u13(updCellResult, onCancellation_0);
882
+ }
883
+ } catch ($p) {
884
+ if ($p instanceof Error) {
885
+ var e = $p;
886
+ cancellable.q13();
887
+ throw e;
888
+ } else {
889
+ throw $p;
1058
890
  }
1059
- } else {
1060
- segment.s1b();
1061
- var element_0 = (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE();
1062
- var tmp0_safe_receiver_0 = $this.v1a_1;
1063
- var onCancellation_0 = tmp0_safe_receiver_0 == null ? null : bindCancellationFun_0($this, tmp0_safe_receiver_0);
1064
- cancellable.a14(element_0, onCancellation_0);
1065
- }
1066
- } catch ($p) {
1067
- if ($p instanceof Error) {
1068
- var e = $p;
1069
- cancellable.w13();
1070
- throw e;
1071
- } else {
1072
- throw $p;
1073
891
  }
1074
- }
1075
- return cancellable.e11();
892
+ return cancellable.x10();
893
+ };
1076
894
  }
1077
- function prepareReceiverForSuspension($this, _this__u8e3s4, segment, index) {
1078
- $this.j1c();
1079
- _this__u8e3s4.c14(segment, index);
895
+ function prepareReceiverForSuspension($this, $receiver, segment, index) {
896
+ $this.d1c();
897
+ $receiver.w13(segment, index);
1080
898
  }
1081
899
  function onClosedReceiveOnNoWaiterSuspend($this, cont) {
1082
900
  // Inline function 'kotlin.coroutines.resumeWithException' call
1083
901
  // Inline function 'kotlin.Companion.failure' call
1084
902
  var exception = _get_receiveException__foorc1($this);
1085
- var tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(exception));
1086
- cont.dd(tmp$ret$0);
903
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
904
+ cont.yc(tmp$ret$1);
1087
905
  }
1088
906
  function updateCellReceive($this, segment, index, r, waiter) {
1089
- var state = segment.q1a(index);
907
+ var state = segment.k1a(index);
1090
908
  if (state === null) {
1091
909
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1092
- var this_0 = $this.w1a_1.kotlinx$atomicfu$value;
910
+ var this_0 = $this.q1a_1.kotlinx$atomicfu$value;
1093
911
  var senders = bitwiseAnd(this_0, new (Long())(-1, 268435455));
1094
912
  if (compare(r, senders) >= 0) {
1095
913
  if (waiter === null) {
1096
914
  return get_SUSPEND_NO_WAITER();
1097
915
  }
1098
- if (segment.s1a(index, state, waiter)) {
916
+ if (segment.m1a(index, state, waiter)) {
1099
917
  expandBuffer($this);
1100
918
  return get_SUSPEND();
1101
919
  }
1102
920
  }
1103
921
  } else if (state === get_BUFFERED())
1104
- if (segment.s1a(index, state, get_DONE_RCV())) {
922
+ if (segment.m1a(index, state, get_DONE_RCV())) {
1105
923
  expandBuffer($this);
1106
- return segment.o1a(index);
924
+ return segment.i1a(index);
1107
925
  }
1108
926
  return updateCellReceiveSlow($this, segment, index, r, waiter);
1109
927
  }
1110
928
  function updateCellReceiveSlow($this, segment, index, r, waiter) {
1111
929
  $l$loop: while (true) {
1112
- var state = segment.q1a(index);
930
+ var state = segment.k1a(index);
1113
931
  if (state === null || state === get_IN_BUFFER()) {
1114
932
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1115
- var this_0 = $this.w1a_1.kotlinx$atomicfu$value;
933
+ var this_0 = $this.q1a_1.kotlinx$atomicfu$value;
1116
934
  var senders = bitwiseAnd(this_0, new (Long())(-1, 268435455));
1117
935
  if (compare(r, senders) < 0) {
1118
- if (segment.s1a(index, state, get_POISONED())) {
936
+ if (segment.m1a(index, state, get_POISONED())) {
1119
937
  expandBuffer($this);
1120
938
  return get_FAILED();
1121
939
  }
@@ -1123,15 +941,15 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
1123
941
  if (waiter === null) {
1124
942
  return get_SUSPEND_NO_WAITER();
1125
943
  }
1126
- if (segment.s1a(index, state, waiter)) {
944
+ if (segment.m1a(index, state, waiter)) {
1127
945
  expandBuffer($this);
1128
946
  return get_SUSPEND();
1129
947
  }
1130
948
  }
1131
949
  } else if (state === get_BUFFERED()) {
1132
- if (segment.s1a(index, state, get_DONE_RCV())) {
950
+ if (segment.m1a(index, state, get_DONE_RCV())) {
1133
951
  expandBuffer($this);
1134
- return segment.o1a(index);
952
+ return segment.i1a(index);
1135
953
  }
1136
954
  } else if (state === get_INTERRUPTED_SEND())
1137
955
  return get_FAILED();
@@ -1143,23 +961,23 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
1143
961
  } else if (state === get_RESUMING_BY_EB())
1144
962
  continue $l$loop;
1145
963
  else {
1146
- if (segment.s1a(index, state, get_RESUMING_BY_RCV())) {
964
+ if (segment.m1a(index, state, get_RESUMING_BY_RCV())) {
1147
965
  var helpExpandBuffer = state instanceof WaiterEB();
1148
966
  var tmp;
1149
967
  if (state instanceof WaiterEB()) {
1150
- tmp = state.d1c_1;
968
+ tmp = state.x1b_1;
1151
969
  } else {
1152
970
  tmp = state;
1153
971
  }
1154
972
  var sender = tmp;
1155
973
  var tmp_0;
1156
974
  if (tryResumeSender($this, sender, segment, index)) {
1157
- segment.r1a(index, get_DONE_RCV());
975
+ segment.l1a(index, get_DONE_RCV());
1158
976
  expandBuffer($this);
1159
- tmp_0 = segment.o1a(index);
977
+ tmp_0 = segment.i1a(index);
1160
978
  } else {
1161
- segment.r1a(index, get_INTERRUPTED_SEND());
1162
- segment.g1b(index, false);
979
+ segment.l1a(index, get_INTERRUPTED_SEND());
980
+ segment.a1b(index, false);
1163
981
  if (helpExpandBuffer) {
1164
982
  expandBuffer($this);
1165
983
  }
@@ -1170,26 +988,27 @@ function updateCellReceiveSlow($this, segment, index, r, waiter) {
1170
988
  }
1171
989
  }
1172
990
  }
1173
- function tryResumeSender($this, _this__u8e3s4, segment, index) {
991
+ function tryResumeSender($this, $receiver, segment, index) {
1174
992
  var tmp;
1175
- if (isInterface(_this__u8e3s4, CancellableContinuation())) {
1176
- if (!isInterface(_this__u8e3s4, CancellableContinuation()))
993
+ if (isInterface($receiver, CancellableContinuation())) {
994
+ if (!isInterface($receiver, CancellableContinuation()))
1177
995
  THROW_CCE();
1178
- tmp = tryResume0(_this__u8e3s4, Unit_instance);
996
+ tmp = tryResume0($receiver, Unit_instance);
1179
997
  } else {
1180
- if (isInterface(_this__u8e3s4, SelectInstance())) {
1181
- if (!(_this__u8e3s4 instanceof SelectImplementation()))
998
+ if (isInterface($receiver, SelectInstance())) {
999
+ if (!($receiver instanceof SelectImplementation()))
1182
1000
  THROW_CCE();
1183
- var trySelectResult = _this__u8e3s4.o1c($this, Unit_instance);
1001
+ var trySelectResult = $receiver.i1c($this, Unit_instance);
1184
1002
  if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
1185
- segment.p1a(index);
1003
+ segment.j1a(index);
1186
1004
  }
1187
1005
  tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
1188
1006
  } else {
1189
- if (_this__u8e3s4 instanceof SendBroadcast()) {
1190
- tmp = tryResume0(_this__u8e3s4.k1c_1, true);
1007
+ if ($receiver instanceof SendBroadcast()) {
1008
+ tmp = tryResume0($receiver.e1c_1, true);
1191
1009
  } else {
1192
- var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1010
+ // Inline function 'kotlin.error' call
1011
+ var message = 'Unexpected waiter: ' + toString_0($receiver);
1193
1012
  throw IllegalStateException().o(toString_0(message));
1194
1013
  }
1195
1014
  }
@@ -1199,21 +1018,21 @@ function tryResumeSender($this, _this__u8e3s4, segment, index) {
1199
1018
  function expandBuffer($this) {
1200
1019
  if (_get_isRendezvousOrUnlimited__3mdufi($this))
1201
1020
  return Unit_instance;
1202
- var segment = $this.c1b_1.kotlinx$atomicfu$value;
1021
+ var segment = $this.w1a_1.kotlinx$atomicfu$value;
1203
1022
  try_again: while (true) {
1204
- var b = $this.y1a_1.atomicfu$getAndIncrement$long();
1023
+ var b = $this.s1a_1.atomicfu$getAndIncrement$long();
1205
1024
  // Inline function 'kotlin.Long.div' call
1206
1025
  var other = get_SEGMENT_SIZE();
1207
1026
  var id = divide(b, fromInt(other));
1208
- var s = $this.y1b();
1027
+ var s = $this.s1b();
1209
1028
  if (compare(s, b) <= 0) {
1210
- if (compare(segment.x12_1, id) < 0 && !(segment.o1b() == null)) {
1029
+ if (compare(segment.r12_1, id) < 0 && !(segment.i1b() == null)) {
1211
1030
  moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
1212
1031
  }
1213
- incCompletedExpandBufferAttempts$default($this);
1032
+ incCompletedExpandBufferAttempts($this);
1214
1033
  return Unit_instance;
1215
1034
  }
1216
- if (!equalsLong(segment.x12_1, id)) {
1035
+ if (!equalsLong(segment.r12_1, id)) {
1217
1036
  var tmp0_elvis_lhs = findSegmentBufferEnd($this, id, segment, b);
1218
1037
  var tmp;
1219
1038
  if (tmp0_elvis_lhs == null) {
@@ -1228,26 +1047,26 @@ function expandBuffer($this) {
1228
1047
  var tmp$ret$1 = modulo(b, fromInt(other_0));
1229
1048
  var i = convertToInt(tmp$ret$1);
1230
1049
  if (updateCellExpandBuffer($this, segment, i, b)) {
1231
- incCompletedExpandBufferAttempts$default($this);
1050
+ incCompletedExpandBufferAttempts($this);
1232
1051
  return Unit_instance;
1233
1052
  } else {
1234
- incCompletedExpandBufferAttempts$default($this);
1053
+ incCompletedExpandBufferAttempts($this);
1235
1054
  continue try_again;
1236
1055
  }
1237
1056
  }
1238
1057
  }
1239
1058
  function updateCellExpandBuffer($this, segment, index, b) {
1240
- var state = segment.q1a(index);
1059
+ var state = segment.k1a(index);
1241
1060
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1242
- if (compare(b, $this.x1a_1.kotlinx$atomicfu$value) >= 0) {
1243
- if (segment.s1a(index, state, get_RESUMING_BY_EB())) {
1061
+ if (compare(b, $this.r1a_1.kotlinx$atomicfu$value) >= 0) {
1062
+ if (segment.m1a(index, state, get_RESUMING_BY_EB())) {
1244
1063
  var tmp;
1245
1064
  if (tryResumeSender($this, state, segment, index)) {
1246
- segment.r1a(index, get_BUFFERED());
1065
+ segment.l1a(index, get_BUFFERED());
1247
1066
  tmp = true;
1248
1067
  } else {
1249
- segment.r1a(index, get_INTERRUPTED_SEND());
1250
- segment.g1b(index, false);
1068
+ segment.l1a(index, get_INTERRUPTED_SEND());
1069
+ segment.a1b(index, false);
1251
1070
  tmp = false;
1252
1071
  }
1253
1072
  return tmp;
@@ -1258,20 +1077,20 @@ function updateCellExpandBuffer($this, segment, index, b) {
1258
1077
  }
1259
1078
  function updateCellExpandBufferSlow($this, segment, index, b) {
1260
1079
  $l$loop: while (true) {
1261
- var state = segment.q1a(index);
1080
+ var state = segment.k1a(index);
1262
1081
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1263
- if (compare(b, $this.x1a_1.kotlinx$atomicfu$value) < 0) {
1264
- if (segment.s1a(index, state, new (WaiterEB())(state)))
1082
+ if (compare(b, $this.r1a_1.kotlinx$atomicfu$value) < 0) {
1083
+ if (segment.m1a(index, state, new (WaiterEB())(state)))
1265
1084
  return true;
1266
1085
  } else {
1267
- if (segment.s1a(index, state, get_RESUMING_BY_EB())) {
1086
+ if (segment.m1a(index, state, get_RESUMING_BY_EB())) {
1268
1087
  var tmp;
1269
1088
  if (tryResumeSender($this, state, segment, index)) {
1270
- segment.r1a(index, get_BUFFERED());
1089
+ segment.l1a(index, get_BUFFERED());
1271
1090
  tmp = true;
1272
1091
  } else {
1273
- segment.r1a(index, get_INTERRUPTED_SEND());
1274
- segment.g1b(index, false);
1092
+ segment.l1a(index, get_INTERRUPTED_SEND());
1093
+ segment.a1b(index, false);
1275
1094
  tmp = false;
1276
1095
  }
1277
1096
  return tmp;
@@ -1282,7 +1101,7 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
1282
1101
  return false;
1283
1102
  else {
1284
1103
  if (state === null) {
1285
- if (segment.s1a(index, state, get_IN_BUFFER()))
1104
+ if (segment.m1a(index, state, get_IN_BUFFER()))
1286
1105
  return true;
1287
1106
  } else {
1288
1107
  if (state === get_BUFFERED())
@@ -1310,78 +1129,138 @@ function updateCellExpandBufferSlow($this, segment, index, b) {
1310
1129
  }
1311
1130
  }
1312
1131
  function incCompletedExpandBufferAttempts($this, nAttempts) {
1132
+ nAttempts = nAttempts === VOID ? new (Long())(1, 0) : nAttempts;
1313
1133
  // Inline function 'kotlin.also' call
1314
- var this_0 = $this.z1a_1.atomicfu$addAndGet$long(nAttempts);
1134
+ var this_0 = $this.t1a_1.atomicfu$addAndGet$long(nAttempts);
1315
1135
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1316
1136
  if (!equalsLong(bitwiseAnd(this_0, new (Long())(0, 1073741824)), new (Long())(0, 0))) {
1317
1137
  $l$loop: while (true) {
1318
1138
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
1319
- var this_1 = $this.z1a_1.kotlinx$atomicfu$value;
1139
+ var this_1 = $this.t1a_1.kotlinx$atomicfu$value;
1320
1140
  if (!!equalsLong(bitwiseAnd(this_1, new (Long())(0, 1073741824)), new (Long())(0, 0))) {
1321
1141
  break $l$loop;
1322
1142
  }
1323
1143
  }
1324
1144
  }
1325
1145
  }
1326
- function incCompletedExpandBufferAttempts$default($this, nAttempts, $super) {
1327
- nAttempts = nAttempts === VOID ? new (Long())(1, 0) : nAttempts;
1328
- return incCompletedExpandBufferAttempts($this, nAttempts);
1329
- }
1330
1146
  var BufferedChannelIteratorClass;
1331
1147
  function BufferedChannelIterator() {
1332
1148
  if (BufferedChannelIteratorClass === VOID) {
1333
1149
  class $ {
1334
1150
  constructor($outer) {
1335
- this.w1b_1 = $outer;
1336
- this.u1b_1 = get_NO_RECEIVE_RESULT();
1337
- this.v1b_1 = null;
1151
+ this.q1b_1 = $outer;
1152
+ this.o1b_1 = get_NO_RECEIVE_RESULT();
1153
+ this.p1b_1 = null;
1338
1154
  }
1339
- p1c($completion) {
1340
- return suspendOrReturn(/*#__NOINLINE__*/_generator_hasNext__q471nr.bind(VOID, this), $completion);
1155
+ *j1c($completion) {
1156
+ var tmp;
1157
+ if (!(this.o1b_1 === get_NO_RECEIVE_RESULT()) && !(this.o1b_1 === get_CHANNEL_CLOSED())) {
1158
+ tmp = true;
1159
+ } else {
1160
+ var tmp0 = this.q1b_1;
1161
+ var tmp$ret$0;
1162
+ $l$block_0: {
1163
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
1164
+ var segment = tmp0.v1a_1.kotlinx$atomicfu$value;
1165
+ $l$loop_0: while (true) {
1166
+ if (tmp0.t1b()) {
1167
+ tmp$ret$0 = onClosedHasNext(this);
1168
+ break $l$block_0;
1169
+ }
1170
+ var r = tmp0.r1a_1.atomicfu$getAndIncrement$long();
1171
+ // Inline function 'kotlin.Long.div' call
1172
+ var other = get_SEGMENT_SIZE();
1173
+ var id = divide(r, fromInt(other));
1174
+ // Inline function 'kotlin.Long.rem' call
1175
+ var other_0 = get_SEGMENT_SIZE();
1176
+ var tmp$ret$3 = modulo(r, fromInt(other_0));
1177
+ var i = convertToInt(tmp$ret$3);
1178
+ if (!equalsLong(segment.r12_1, id)) {
1179
+ var tmp0_elvis_lhs = findSegmentReceive(tmp0, id, segment);
1180
+ var tmp_0;
1181
+ if (tmp0_elvis_lhs == null) {
1182
+ continue $l$loop_0;
1183
+ } else {
1184
+ tmp_0 = tmp0_elvis_lhs;
1185
+ }
1186
+ segment = tmp_0;
1187
+ }
1188
+ var updCellResult = updateCellReceive(tmp0, segment, i, r, null);
1189
+ var tmp_1;
1190
+ if (updCellResult === get_SUSPEND()) {
1191
+ var tmp1_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
1192
+ if (tmp1_safe_receiver == null)
1193
+ null;
1194
+ else {
1195
+ prepareReceiverForSuspension(tmp0, tmp1_safe_receiver, segment, i);
1196
+ }
1197
+ // Inline function 'kotlin.error' call
1198
+ var message = 'unreachable';
1199
+ throw IllegalStateException().o(toString_0(message));
1200
+ } else if (updCellResult === get_FAILED()) {
1201
+ if (compare(r, tmp0.s1b()) < 0) {
1202
+ segment.m1b();
1203
+ }
1204
+ continue $l$loop_0;
1205
+ } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
1206
+ var segm = segment;
1207
+ return yield* /*#__NOINLINE__*/hasNextOnNoWaiterSuspend(this, segm, i, r, $completion);
1208
+ } else {
1209
+ segment.m1b();
1210
+ this.o1b_1 = updCellResult;
1211
+ tmp_1 = true;
1212
+ }
1213
+ tmp$ret$0 = tmp_1;
1214
+ break $l$block_0;
1215
+ }
1216
+ }
1217
+ tmp = tmp$ret$0;
1218
+ }
1219
+ return tmp;
1341
1220
  }
1342
- c14(segment, index) {
1343
- var tmp0_safe_receiver = this.v1b_1;
1221
+ w13(segment, index) {
1222
+ var tmp0_safe_receiver = this.p1b_1;
1344
1223
  if (tmp0_safe_receiver == null)
1345
1224
  null;
1346
1225
  else {
1347
- tmp0_safe_receiver.c14(segment, index);
1226
+ tmp0_safe_receiver.w13(segment, index);
1348
1227
  }
1349
1228
  }
1350
- s1() {
1351
- var result = this.u1b_1;
1229
+ n1() {
1230
+ var result = this.o1b_1;
1352
1231
  // Inline function 'kotlin.check' call
1353
1232
  if (!!(result === get_NO_RECEIVE_RESULT())) {
1354
1233
  var message = '`hasNext()` has not been invoked';
1355
1234
  throw IllegalStateException().o(toString_0(message));
1356
1235
  }
1357
- this.u1b_1 = get_NO_RECEIVE_RESULT();
1236
+ this.o1b_1 = get_NO_RECEIVE_RESULT();
1358
1237
  if (result === get_CHANNEL_CLOSED())
1359
- throw recoverStackTrace(_get_receiveException__foorc1(this.w1b_1));
1360
- return (result == null ? true : !(result == null)) ? result : THROW_CCE();
1361
- }
1362
- e1c(element) {
1363
- var cont = ensureNotNull(this.v1b_1);
1364
- this.v1b_1 = null;
1365
- this.u1b_1 = element;
1366
- var tmp0_safe_receiver = this.w1b_1.v1a_1;
1367
- return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.w1b_1, tmp0_safe_receiver, element));
1368
- }
1369
- q1c() {
1370
- var cont = ensureNotNull(this.v1b_1);
1371
- this.v1b_1 = null;
1372
- this.u1b_1 = get_CHANNEL_CLOSED();
1373
- var cause = this.w1b_1.z1b();
1238
+ throw recoverStackTrace(_get_receiveException__foorc1(this.q1b_1));
1239
+ return result;
1240
+ }
1241
+ y1b(element) {
1242
+ var cont = ensureNotNull(this.p1b_1);
1243
+ this.p1b_1 = null;
1244
+ this.o1b_1 = element;
1245
+ var tmp0_safe_receiver = this.q1b_1.p1a_1;
1246
+ return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.q1b_1, tmp0_safe_receiver, element));
1247
+ }
1248
+ k1c() {
1249
+ var cont = ensureNotNull(this.p1b_1);
1250
+ this.p1b_1 = null;
1251
+ this.o1b_1 = get_CHANNEL_CLOSED();
1252
+ var cause = this.q1b_1.r1b();
1374
1253
  if (cause == null) {
1375
1254
  // Inline function 'kotlin.coroutines.resume' call
1376
1255
  // Inline function 'kotlin.Companion.success' call
1377
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1378
- cont.dd(tmp$ret$0);
1256
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
1257
+ cont.yc(tmp$ret$1);
1379
1258
  } else {
1380
1259
  // Inline function 'kotlin.coroutines.resumeWithException' call
1381
1260
  // Inline function 'kotlin.Companion.failure' call
1382
1261
  var exception = recoverStackTrace_0(cause, cont);
1383
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1384
- cont.dd(tmp$ret$2);
1262
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
1263
+ cont.yc(tmp$ret$3);
1385
1264
  }
1386
1265
  }
1387
1266
  }
@@ -1391,12 +1270,12 @@ function BufferedChannelIterator() {
1391
1270
  return BufferedChannelIteratorClass;
1392
1271
  }
1393
1272
  function _get_receiveException__foorc1($this) {
1394
- var tmp0_elvis_lhs = $this.z1b();
1395
- return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().v1c('Channel was closed') : tmp0_elvis_lhs;
1273
+ var tmp0_elvis_lhs = $this.r1b();
1274
+ return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().p1c('Channel was closed') : tmp0_elvis_lhs;
1396
1275
  }
1397
1276
  function invokeCloseHandler($this) {
1398
- var tmp0 = $this.f1b_1;
1399
- var tmp$ret$1;
1277
+ var tmp0 = $this.z1a_1;
1278
+ var tmp$ret$0;
1400
1279
  $l$block: {
1401
1280
  // Inline function 'kotlinx.atomicfu.getAndUpdate' call
1402
1281
  while (true) {
@@ -1409,12 +1288,12 @@ function invokeCloseHandler($this) {
1409
1288
  }
1410
1289
  var upd = tmp;
1411
1290
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1412
- tmp$ret$1 = cur;
1291
+ tmp$ret$0 = cur;
1413
1292
  break $l$block;
1414
1293
  }
1415
1294
  }
1416
1295
  }
1417
- var tmp0_elvis_lhs = tmp$ret$1;
1296
+ var tmp0_elvis_lhs = tmp$ret$0;
1418
1297
  var tmp_0;
1419
1298
  if (tmp0_elvis_lhs == null) {
1420
1299
  return Unit_instance;
@@ -1424,11 +1303,11 @@ function invokeCloseHandler($this) {
1424
1303
  var closeHandler = tmp_0;
1425
1304
  if (typeof closeHandler !== 'function')
1426
1305
  THROW_CCE();
1427
- closeHandler($this.z1b());
1306
+ closeHandler($this.r1b());
1428
1307
  }
1429
1308
  function markClosed($this) {
1430
- var tmp0 = $this.w1a_1;
1431
- var tmp$ret$4;
1309
+ var tmp0 = $this.q1a_1;
1310
+ var tmp$ret$0;
1432
1311
  $l$block: {
1433
1312
  // Inline function 'kotlinx.atomicfu.update' call
1434
1313
  while (true) {
@@ -1439,50 +1318,50 @@ function markClosed($this) {
1439
1318
  case 0:
1440
1319
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1441
1320
 
1442
- var tmp$ret$1 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1443
- tmp = constructSendersAndCloseStatus(tmp$ret$1, 2);
1321
+ var tmp$ret$3 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1322
+ tmp = constructSendersAndCloseStatus(tmp$ret$3, 2);
1444
1323
  break;
1445
1324
  case 1:
1446
1325
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1447
1326
 
1448
- var tmp$ret$2 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1449
- tmp = constructSendersAndCloseStatus(tmp$ret$2, 3);
1327
+ var tmp$ret$4 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1328
+ tmp = constructSendersAndCloseStatus(tmp$ret$4, 3);
1450
1329
  break;
1451
1330
  default:
1452
1331
  return Unit_instance;
1453
1332
  }
1454
1333
  var upd = tmp;
1455
1334
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1456
- tmp$ret$4 = Unit_instance;
1335
+ tmp$ret$0 = Unit_instance;
1457
1336
  break $l$block;
1458
1337
  }
1459
1338
  }
1460
- tmp$ret$4 = Unit_instance;
1339
+ tmp$ret$0 = Unit_instance;
1461
1340
  }
1462
- return tmp$ret$4;
1341
+ return tmp$ret$0;
1463
1342
  }
1464
1343
  function markCancelled($this) {
1465
- var tmp0 = $this.w1a_1;
1466
- var tmp$ret$2;
1344
+ var tmp0 = $this.q1a_1;
1345
+ var tmp$ret$0;
1467
1346
  $l$block: {
1468
1347
  // Inline function 'kotlinx.atomicfu.update' call
1469
1348
  while (true) {
1470
1349
  var cur = tmp0.kotlinx$atomicfu$value;
1471
1350
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1472
- var tmp$ret$0 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1473
- var upd = constructSendersAndCloseStatus(tmp$ret$0, 3);
1351
+ var tmp$ret$2 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1352
+ var upd = constructSendersAndCloseStatus(tmp$ret$2, 3);
1474
1353
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1475
- tmp$ret$2 = Unit_instance;
1354
+ tmp$ret$0 = Unit_instance;
1476
1355
  break $l$block;
1477
1356
  }
1478
1357
  }
1479
- tmp$ret$2 = Unit_instance;
1358
+ tmp$ret$0 = Unit_instance;
1480
1359
  }
1481
- return tmp$ret$2;
1360
+ return tmp$ret$0;
1482
1361
  }
1483
1362
  function markCancellationStarted($this) {
1484
- var tmp0 = $this.w1a_1;
1485
- var tmp$ret$3;
1363
+ var tmp0 = $this.q1a_1;
1364
+ var tmp$ret$0;
1486
1365
  $l$block: {
1487
1366
  // Inline function 'kotlinx.atomicfu.update' call
1488
1367
  while (true) {
@@ -1491,30 +1370,30 @@ function markCancellationStarted($this) {
1491
1370
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1492
1371
  if (convertToInt(shiftRight(cur, 60)) === 0) {
1493
1372
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
1494
- var tmp$ret$1 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1495
- tmp = constructSendersAndCloseStatus(tmp$ret$1, 1);
1373
+ var tmp$ret$3 = bitwiseAnd(cur, new (Long())(-1, 268435455));
1374
+ tmp = constructSendersAndCloseStatus(tmp$ret$3, 1);
1496
1375
  } else {
1497
1376
  return Unit_instance;
1498
1377
  }
1499
1378
  var upd = tmp;
1500
1379
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
1501
- tmp$ret$3 = Unit_instance;
1380
+ tmp$ret$0 = Unit_instance;
1502
1381
  break $l$block;
1503
1382
  }
1504
1383
  }
1505
- tmp$ret$3 = Unit_instance;
1384
+ tmp$ret$0 = Unit_instance;
1506
1385
  }
1507
- return tmp$ret$3;
1386
+ return tmp$ret$0;
1508
1387
  }
1509
1388
  function completeCloseOrCancel($this) {
1510
- $this.w1c();
1389
+ $this.q1c();
1511
1390
  }
1512
1391
  function completeClose($this, sendersCur) {
1513
1392
  var lastSegment = closeLinkedList($this);
1514
- if ($this.y1c()) {
1393
+ if ($this.s1c()) {
1515
1394
  var lastBufferedCellGlobalIndex = markAllEmptyCellsAsClosed($this, lastSegment);
1516
1395
  if (!equalsLong(lastBufferedCellGlobalIndex, new (Long())(-1, -1))) {
1517
- $this.x1c(lastBufferedCellGlobalIndex);
1396
+ $this.r1c(lastBufferedCellGlobalIndex);
1518
1397
  }
1519
1398
  }
1520
1399
  cancelSuspendedReceiveRequests($this, lastSegment, sendersCur);
@@ -1525,14 +1404,14 @@ function completeCancel($this, sendersCur) {
1525
1404
  removeUnprocessedElements($this, lastSegment);
1526
1405
  }
1527
1406
  function closeLinkedList($this) {
1528
- var lastSegment = $this.c1b_1.kotlinx$atomicfu$value;
1407
+ var lastSegment = $this.w1a_1.kotlinx$atomicfu$value;
1529
1408
  // Inline function 'kotlin.let' call
1530
- var it = $this.a1b_1.kotlinx$atomicfu$value;
1531
- if (compare(it.x12_1, lastSegment.x12_1) > 0)
1409
+ var it = $this.u1a_1.kotlinx$atomicfu$value;
1410
+ if (compare(it.r12_1, lastSegment.r12_1) > 0)
1532
1411
  lastSegment = it;
1533
1412
  // Inline function 'kotlin.let' call
1534
- var it_0 = $this.b1b_1.kotlinx$atomicfu$value;
1535
- if (compare(it_0.x12_1, lastSegment.x12_1) > 0)
1413
+ var it_0 = $this.v1a_1.kotlinx$atomicfu$value;
1414
+ if (compare(it_0.r12_1, lastSegment.r12_1) > 0)
1536
1415
  lastSegment = it_0;
1537
1416
  return close(lastSegment);
1538
1417
  }
@@ -1544,19 +1423,19 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1544
1423
  do {
1545
1424
  var index = inductionVariable;
1546
1425
  inductionVariable = inductionVariable + -1 | 0;
1547
- var tmp0 = segment.x12_1;
1426
+ var tmp0 = segment.r12_1;
1548
1427
  // Inline function 'kotlin.Long.times' call
1549
1428
  var other = get_SEGMENT_SIZE();
1550
1429
  // Inline function 'kotlin.Long.plus' call
1551
1430
  var this_0 = multiply(tmp0, fromInt(other));
1552
1431
  var globalIndex = add(this_0, fromInt(index));
1553
- if (compare(globalIndex, $this.a1c()) < 0)
1432
+ if (compare(globalIndex, $this.v1b()) < 0)
1554
1433
  return new (Long())(-1, -1);
1555
1434
  cell_update: while (true) {
1556
- var state = segment.q1a(index);
1435
+ var state = segment.k1a(index);
1557
1436
  if (state === null || state === get_IN_BUFFER()) {
1558
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1559
- segment.i1b();
1437
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1438
+ segment.c1b();
1560
1439
  break cell_update;
1561
1440
  }
1562
1441
  } else if (state === get_BUFFERED())
@@ -1566,7 +1445,7 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1566
1445
  }
1567
1446
  }
1568
1447
  while (0 <= inductionVariable);
1569
- var tmp0_elvis_lhs = segment.r1b();
1448
+ var tmp0_elvis_lhs = segment.l1b();
1570
1449
  var tmp;
1571
1450
  if (tmp0_elvis_lhs == null) {
1572
1451
  return new (Long())(-1, -1);
@@ -1577,7 +1456,7 @@ function markAllEmptyCellsAsClosed($this, lastSegment) {
1577
1456
  }
1578
1457
  }
1579
1458
  function removeUnprocessedElements($this, lastSegment) {
1580
- var onUndeliveredElement = $this.v1a_1;
1459
+ var onUndeliveredElement = $this.p1a_1;
1581
1460
  var undeliveredElementException = null;
1582
1461
  var suspendedSenders = _InlineList___init__impl__z8n56();
1583
1462
  var segment = lastSegment;
@@ -1587,33 +1466,33 @@ function removeUnprocessedElements($this, lastSegment) {
1587
1466
  do {
1588
1467
  var index = inductionVariable;
1589
1468
  inductionVariable = inductionVariable + -1 | 0;
1590
- var tmp0 = segment.x12_1;
1469
+ var tmp0 = segment.r12_1;
1591
1470
  // Inline function 'kotlin.Long.times' call
1592
1471
  var other = get_SEGMENT_SIZE();
1593
1472
  // Inline function 'kotlin.Long.plus' call
1594
1473
  var this_0 = multiply(tmp0, fromInt(other));
1595
1474
  var globalIndex = add(this_0, fromInt(index));
1596
1475
  update_cell: while (true) {
1597
- var state = segment.q1a(index);
1476
+ var state = segment.k1a(index);
1598
1477
  if (state === get_DONE_RCV())
1599
1478
  break process_segments;
1600
1479
  else {
1601
1480
  if (state === get_BUFFERED()) {
1602
- if (compare(globalIndex, $this.a1c()) < 0)
1481
+ if (compare(globalIndex, $this.v1b()) < 0)
1603
1482
  break process_segments;
1604
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1483
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1605
1484
  if (!(onUndeliveredElement == null)) {
1606
- var element = segment.n1a(index);
1485
+ var element = segment.h1a(index);
1607
1486
  undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element, undeliveredElementException);
1608
1487
  }
1609
- segment.p1a(index);
1610
- segment.i1b();
1488
+ segment.j1a(index);
1489
+ segment.c1b();
1611
1490
  break update_cell;
1612
1491
  }
1613
1492
  } else {
1614
1493
  if (state === get_IN_BUFFER() || state === null) {
1615
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1616
- segment.i1b();
1494
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1495
+ segment.c1b();
1617
1496
  break update_cell;
1618
1497
  }
1619
1498
  } else {
@@ -1624,23 +1503,23 @@ function removeUnprocessedElements($this, lastSegment) {
1624
1503
  tmp = state instanceof WaiterEB();
1625
1504
  }
1626
1505
  if (tmp) {
1627
- if (compare(globalIndex, $this.a1c()) < 0)
1506
+ if (compare(globalIndex, $this.v1b()) < 0)
1628
1507
  break process_segments;
1629
1508
  var tmp_0;
1630
1509
  if (state instanceof WaiterEB()) {
1631
- tmp_0 = state.d1c_1;
1510
+ tmp_0 = state.x1b_1;
1632
1511
  } else {
1633
1512
  tmp_0 = (!(state == null) ? isInterface(state, Waiter()) : false) ? state : THROW_CCE();
1634
1513
  }
1635
1514
  var sender = tmp_0;
1636
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1515
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1637
1516
  if (!(onUndeliveredElement == null)) {
1638
- var element_0 = segment.n1a(index);
1517
+ var element_0 = segment.h1a(index);
1639
1518
  undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element_0, undeliveredElementException);
1640
1519
  }
1641
1520
  suspendedSenders = InlineList__plus_impl_nuetvo(suspendedSenders, sender);
1642
- segment.p1a(index);
1643
- segment.i1b();
1521
+ segment.j1a(index);
1522
+ segment.c1b();
1644
1523
  break update_cell;
1645
1524
  }
1646
1525
  } else {
@@ -1660,7 +1539,7 @@ function removeUnprocessedElements($this, lastSegment) {
1660
1539
  }
1661
1540
  }
1662
1541
  while (0 <= inductionVariable);
1663
- var tmp0_elvis_lhs = segment.r1b();
1542
+ var tmp0_elvis_lhs = segment.l1b();
1664
1543
  var tmp_1;
1665
1544
  if (tmp0_elvis_lhs == null) {
1666
1545
  break process_segments;
@@ -1677,18 +1556,17 @@ function removeUnprocessedElements($this, lastSegment) {
1677
1556
  break $l$block;
1678
1557
  } else {
1679
1558
  if (!(tmp0_subject instanceof ArrayList())) {
1680
- var tmp_2 = access$_get_holder__kkflen(tmp0_0);
1681
- var it = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1559
+ var it = access$_get_holder__kkflen(tmp0_0);
1682
1560
  resumeSenderOnCancelledChannel($this, it);
1683
1561
  } else {
1684
- var tmp_3 = access$_get_holder__kkflen(tmp0_0);
1685
- var list = tmp_3 instanceof ArrayList() ? tmp_3 : THROW_CCE();
1686
- var inductionVariable_0 = list.v2() - 1 | 0;
1562
+ var tmp_2 = access$_get_holder__kkflen(tmp0_0);
1563
+ var list = tmp_2 instanceof ArrayList() ? tmp_2 : THROW_CCE();
1564
+ var inductionVariable_0 = list.q2() - 1 | 0;
1687
1565
  if (0 <= inductionVariable_0)
1688
1566
  do {
1689
1567
  var i = inductionVariable_0;
1690
1568
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
1691
- var it_0 = list.u2(i);
1569
+ var it_0 = list.p2(i);
1692
1570
  resumeSenderOnCancelledChannel($this, it_0);
1693
1571
  }
1694
1572
  while (0 <= inductionVariable_0);
@@ -1712,7 +1590,7 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1712
1590
  do {
1713
1591
  var index = inductionVariable;
1714
1592
  inductionVariable = inductionVariable + -1 | 0;
1715
- var tmp0 = segment.x12_1;
1593
+ var tmp0 = segment.r12_1;
1716
1594
  // Inline function 'kotlin.Long.times' call
1717
1595
  var other = get_SEGMENT_SIZE();
1718
1596
  // Inline function 'kotlin.Long.plus' call
@@ -1721,24 +1599,24 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1721
1599
  if (compare(tmp$ret$1, sendersCounter) < 0)
1722
1600
  break process_segments;
1723
1601
  cell_update: while (true) {
1724
- var state = segment.q1a(index);
1602
+ var state = segment.k1a(index);
1725
1603
  if (state === null || state === get_IN_BUFFER()) {
1726
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1727
- segment.i1b();
1604
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1605
+ segment.c1b();
1728
1606
  break cell_update;
1729
1607
  }
1730
1608
  } else {
1731
1609
  if (state instanceof WaiterEB()) {
1732
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1733
- suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.d1c_1);
1734
- segment.g1b(index, true);
1610
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1611
+ suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.x1b_1);
1612
+ segment.a1b(index, true);
1735
1613
  break cell_update;
1736
1614
  }
1737
1615
  } else {
1738
1616
  if (!(state == null) ? isInterface(state, Waiter()) : false) {
1739
- if (segment.s1a(index, state, get_CHANNEL_CLOSED())) {
1617
+ if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
1740
1618
  suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state);
1741
- segment.g1b(index, true);
1619
+ segment.a1b(index, true);
1742
1620
  break cell_update;
1743
1621
  }
1744
1622
  } else {
@@ -1749,7 +1627,7 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1749
1627
  }
1750
1628
  }
1751
1629
  while (0 <= inductionVariable);
1752
- segment = segment.r1b();
1630
+ segment = segment.l1b();
1753
1631
  }
1754
1632
  var tmp0_0 = suspendedReceivers;
1755
1633
  $l$block: {
@@ -1759,18 +1637,17 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1759
1637
  break $l$block;
1760
1638
  } else {
1761
1639
  if (!(tmp0_subject instanceof ArrayList())) {
1762
- var tmp = access$_get_holder__kkflen(tmp0_0);
1763
- var it = (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
1640
+ var it = access$_get_holder__kkflen(tmp0_0);
1764
1641
  resumeReceiverOnClosedChannel($this, it);
1765
1642
  } else {
1766
- var tmp_0 = access$_get_holder__kkflen(tmp0_0);
1767
- var list = tmp_0 instanceof ArrayList() ? tmp_0 : THROW_CCE();
1768
- var inductionVariable_0 = list.v2() - 1 | 0;
1643
+ var tmp = access$_get_holder__kkflen(tmp0_0);
1644
+ var list = tmp instanceof ArrayList() ? tmp : THROW_CCE();
1645
+ var inductionVariable_0 = list.q2() - 1 | 0;
1769
1646
  if (0 <= inductionVariable_0)
1770
1647
  do {
1771
1648
  var i = inductionVariable_0;
1772
1649
  inductionVariable_0 = inductionVariable_0 + -1 | 0;
1773
- var it_0 = list.u2(i);
1650
+ var it_0 = list.p2(i);
1774
1651
  resumeReceiverOnClosedChannel($this, it_0);
1775
1652
  }
1776
1653
  while (0 <= inductionVariable_0);
@@ -1778,43 +1655,43 @@ function cancelSuspendedReceiveRequests($this, lastSegment, sendersCounter) {
1778
1655
  }
1779
1656
  }
1780
1657
  }
1781
- function resumeReceiverOnClosedChannel($this, _this__u8e3s4) {
1782
- return resumeWaiterOnClosedChannel($this, _this__u8e3s4, true);
1658
+ function resumeReceiverOnClosedChannel($this, $receiver) {
1659
+ return resumeWaiterOnClosedChannel($this, $receiver, true);
1783
1660
  }
1784
- function resumeSenderOnCancelledChannel($this, _this__u8e3s4) {
1785
- return resumeWaiterOnClosedChannel($this, _this__u8e3s4, false);
1661
+ function resumeSenderOnCancelledChannel($this, $receiver) {
1662
+ return resumeWaiterOnClosedChannel($this, $receiver, false);
1786
1663
  }
1787
- function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
1788
- if (_this__u8e3s4 instanceof SendBroadcast()) {
1664
+ function resumeWaiterOnClosedChannel($this, $receiver, receiver) {
1665
+ if ($receiver instanceof SendBroadcast()) {
1789
1666
  // Inline function 'kotlin.coroutines.resume' call
1790
- var this_0 = _this__u8e3s4.k1c_1;
1667
+ var this_0 = $receiver.e1c_1;
1791
1668
  // Inline function 'kotlin.Companion.success' call
1792
- var tmp$ret$0 = _Result___init__impl__xyqfz8(false);
1793
- this_0.dd(tmp$ret$0);
1669
+ var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
1670
+ this_0.yc(tmp$ret$1);
1794
1671
  } else {
1795
- if (isInterface(_this__u8e3s4, CancellableContinuation())) {
1672
+ if (isInterface($receiver, CancellableContinuation())) {
1796
1673
  // Inline function 'kotlin.coroutines.resumeWithException' call
1797
1674
  // Inline function 'kotlin.Companion.failure' call
1798
- var exception = receiver ? _get_receiveException__foorc1($this) : $this.b1c();
1799
- var tmp$ret$2 = _Result___init__impl__xyqfz8(createFailure(exception));
1800
- _this__u8e3s4.dd(tmp$ret$2);
1675
+ var exception = receiver ? _get_receiveException__foorc1($this) : $this.u1b();
1676
+ var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(exception));
1677
+ $receiver.yc(tmp$ret$3);
1801
1678
  } else {
1802
- if (_this__u8e3s4 instanceof ReceiveCatching()) {
1803
- var tmp0 = _this__u8e3s4.h1c_1;
1679
+ if ($receiver instanceof ReceiveCatching()) {
1680
+ var tmp0 = $receiver.b1c_1;
1804
1681
  // Inline function 'kotlin.coroutines.resume' call
1805
1682
  // Inline function 'kotlin.Companion.success' call
1806
- var value = new (ChannelResult())(Companion_getInstance().z1c($this.z1b()));
1807
- var tmp$ret$4 = _Result___init__impl__xyqfz8(value);
1808
- tmp0.dd(tmp$ret$4);
1683
+ var value = new (ChannelResult())(Companion_getInstance().t1c($this.r1b()));
1684
+ var tmp$ret$5 = _Result___init__impl__xyqfz8(value);
1685
+ tmp0.yc(tmp$ret$5);
1809
1686
  } else {
1810
- if (_this__u8e3s4 instanceof BufferedChannelIterator()) {
1811
- _this__u8e3s4.q1c();
1687
+ if ($receiver instanceof BufferedChannelIterator()) {
1688
+ $receiver.k1c();
1812
1689
  } else {
1813
- if (isInterface(_this__u8e3s4, SelectInstance()))
1814
- _this__u8e3s4.i1c($this, get_CHANNEL_CLOSED());
1690
+ if (isInterface($receiver, SelectInstance()))
1691
+ $receiver.c1c($this, get_CHANNEL_CLOSED());
1815
1692
  else {
1816
1693
  // Inline function 'kotlin.error' call
1817
- var message = 'Unexpected waiter: ' + toString_0(_this__u8e3s4);
1694
+ var message = 'Unexpected waiter: ' + toString_0($receiver);
1818
1695
  throw IllegalStateException().o(toString_0(message));
1819
1696
  }
1820
1697
  }
@@ -1822,11 +1699,11 @@ function resumeWaiterOnClosedChannel($this, _this__u8e3s4, receiver) {
1822
1699
  }
1823
1700
  }
1824
1701
  }
1825
- function _get_isClosedForSend0__kxgf9m($this, _this__u8e3s4) {
1826
- return isClosed($this, _this__u8e3s4, false);
1702
+ function _get_isClosedForSend0__kxgf9m($this, $receiver) {
1703
+ return isClosed($this, $receiver, false);
1827
1704
  }
1828
- function _get_isClosedForReceive0__f7qknl($this, _this__u8e3s4) {
1829
- return isClosed($this, _this__u8e3s4, true);
1705
+ function _get_isClosedForReceive0__f7qknl($this, $receiver) {
1706
+ return isClosed($this, $receiver, true);
1830
1707
  }
1831
1708
  function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1832
1709
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
@@ -1843,7 +1720,7 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1843
1720
 
1844
1721
  var tmp$ret$1 = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
1845
1722
  completeClose($this, tmp$ret$1);
1846
- tmp = isClosedForReceive ? !$this.a1d() : true;
1723
+ tmp = isClosedForReceive ? !$this.u1c() : true;
1847
1724
  break;
1848
1725
  case 3:
1849
1726
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
@@ -1855,6 +1732,8 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1855
1732
  default:
1856
1733
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
1857
1734
 
1735
+ // Inline function 'kotlin.error' call
1736
+
1858
1737
  var message = 'unexpected close status: ' + convertToInt(shiftRight(sendersAndCloseStatusCur, 60));
1859
1738
  throw IllegalStateException().o(toString_0(message));
1860
1739
  }
@@ -1862,9 +1741,9 @@ function isClosed($this, sendersAndCloseStatusCur, isClosedForReceive) {
1862
1741
  }
1863
1742
  function isCellNonEmpty($this, segment, index, globalIndex) {
1864
1743
  while (true) {
1865
- var state = segment.q1a(index);
1744
+ var state = segment.k1a(index);
1866
1745
  if (state === null || state === get_IN_BUFFER()) {
1867
- if (segment.s1a(index, state, get_POISONED())) {
1746
+ if (segment.m1a(index, state, get_POISONED())) {
1868
1747
  expandBuffer($this);
1869
1748
  return false;
1870
1749
  }
@@ -1883,13 +1762,13 @@ function isCellNonEmpty($this, segment, index, globalIndex) {
1883
1762
  else if (state === get_RESUMING_BY_RCV())
1884
1763
  return false;
1885
1764
  else
1886
- return equalsLong(globalIndex, $this.a1c());
1765
+ return equalsLong(globalIndex, $this.v1b());
1887
1766
  }
1888
1767
  }
1889
1768
  function findSegmentSend($this, id, startFrom) {
1890
- var tmp0 = $this.a1b_1;
1769
+ var tmp0 = $this.u1a_1;
1891
1770
  var tmp6 = createSegmentFunction();
1892
- var tmp$ret$2;
1771
+ var tmp$ret$0;
1893
1772
  $l$block_2: {
1894
1773
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
1895
1774
  while (true) {
@@ -1899,68 +1778,70 @@ function findSegmentSend($this, id, startFrom) {
1899
1778
  tmp = true;
1900
1779
  } else {
1901
1780
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
1902
- var tmp$ret$0;
1781
+ var tmp$ret$1;
1903
1782
  $l$block_1: {
1904
1783
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1784
+ var tmp$ret$2;
1785
+ // Inline function 'kotlinx.atomicfu.loop' call
1905
1786
  while (true) {
1906
1787
  var cur = tmp0.kotlinx$atomicfu$value;
1907
- if (compare(cur.x12_1, tmp2.x12_1) >= 0) {
1908
- tmp$ret$0 = true;
1788
+ if (compare(cur.r12_1, tmp2.r12_1) >= 0) {
1789
+ tmp$ret$1 = true;
1909
1790
  break $l$block_1;
1910
1791
  }
1911
- if (!tmp2.k1b()) {
1912
- tmp$ret$0 = false;
1792
+ if (!tmp2.e1b()) {
1793
+ tmp$ret$1 = false;
1913
1794
  break $l$block_1;
1914
1795
  }
1915
1796
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
1916
- if (cur.l1b()) {
1917
- cur.s6();
1797
+ if (cur.f1b()) {
1798
+ cur.n6();
1918
1799
  }
1919
- tmp$ret$0 = true;
1800
+ tmp$ret$1 = true;
1920
1801
  break $l$block_1;
1921
1802
  }
1922
- if (tmp2.l1b()) {
1923
- tmp2.s6();
1803
+ if (tmp2.f1b()) {
1804
+ tmp2.n6();
1924
1805
  }
1925
1806
  }
1926
- tmp$ret$0 = Unit_instance;
1807
+ tmp$ret$1 = tmp$ret$2;
1927
1808
  }
1928
- tmp = tmp$ret$0;
1809
+ tmp = tmp$ret$1;
1929
1810
  }
1930
1811
  if (tmp) {
1931
- tmp$ret$2 = s;
1812
+ tmp$ret$0 = s;
1932
1813
  break $l$block_2;
1933
1814
  }
1934
1815
  }
1935
1816
  }
1936
1817
  // Inline function 'kotlin.let' call
1937
- var it = tmp$ret$2;
1818
+ var it = tmp$ret$0;
1938
1819
  var tmp_0;
1939
1820
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
1940
1821
  completeCloseOrCancel($this);
1941
- var tmp0_0 = startFrom.x12_1;
1822
+ var tmp0_0 = startFrom.r12_1;
1942
1823
  // Inline function 'kotlin.Long.times' call
1943
1824
  var other = get_SEGMENT_SIZE();
1944
- var tmp$ret$3 = multiply(tmp0_0, fromInt(other));
1945
- if (compare(tmp$ret$3, $this.a1c()) < 0) {
1946
- startFrom.s1b();
1825
+ var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
1826
+ if (compare(tmp$ret$6, $this.v1b()) < 0) {
1827
+ startFrom.m1b();
1947
1828
  }
1948
1829
  tmp_0 = null;
1949
1830
  } else {
1950
1831
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
1951
1832
  var tmp_1;
1952
- if (compare(segment.x12_1, id) > 0) {
1953
- var tmp0_1 = segment.x12_1;
1833
+ if (compare(segment.r12_1, id) > 0) {
1834
+ var tmp0_1 = segment.r12_1;
1954
1835
  // Inline function 'kotlin.Long.times' call
1955
1836
  var other_0 = get_SEGMENT_SIZE();
1956
- var tmp$ret$4 = multiply(tmp0_1, fromInt(other_0));
1957
- updateSendersCounterIfLower($this, tmp$ret$4);
1958
- var tmp0_2 = segment.x12_1;
1837
+ var tmp$ret$7 = multiply(tmp0_1, fromInt(other_0));
1838
+ updateSendersCounterIfLower($this, tmp$ret$7);
1839
+ var tmp0_2 = segment.r12_1;
1959
1840
  // Inline function 'kotlin.Long.times' call
1960
1841
  var other_1 = get_SEGMENT_SIZE();
1961
- var tmp$ret$5 = multiply(tmp0_2, fromInt(other_1));
1962
- if (compare(tmp$ret$5, $this.a1c()) < 0) {
1963
- segment.s1b();
1842
+ var tmp$ret$8 = multiply(tmp0_2, fromInt(other_1));
1843
+ if (compare(tmp$ret$8, $this.v1b()) < 0) {
1844
+ segment.m1b();
1964
1845
  }
1965
1846
  tmp_1 = null;
1966
1847
  } else {
@@ -1972,9 +1853,9 @@ function findSegmentSend($this, id, startFrom) {
1972
1853
  return tmp_0;
1973
1854
  }
1974
1855
  function findSegmentReceive($this, id, startFrom) {
1975
- var tmp0 = $this.b1b_1;
1856
+ var tmp0 = $this.v1a_1;
1976
1857
  var tmp6 = createSegmentFunction();
1977
- var tmp$ret$2;
1858
+ var tmp$ret$0;
1978
1859
  $l$block_2: {
1979
1860
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
1980
1861
  while (true) {
@@ -1984,51 +1865,53 @@ function findSegmentReceive($this, id, startFrom) {
1984
1865
  tmp = true;
1985
1866
  } else {
1986
1867
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
1987
- var tmp$ret$0;
1868
+ var tmp$ret$1;
1988
1869
  $l$block_1: {
1989
1870
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1871
+ var tmp$ret$2;
1872
+ // Inline function 'kotlinx.atomicfu.loop' call
1990
1873
  while (true) {
1991
1874
  var cur = tmp0.kotlinx$atomicfu$value;
1992
- if (compare(cur.x12_1, tmp2.x12_1) >= 0) {
1993
- tmp$ret$0 = true;
1875
+ if (compare(cur.r12_1, tmp2.r12_1) >= 0) {
1876
+ tmp$ret$1 = true;
1994
1877
  break $l$block_1;
1995
1878
  }
1996
- if (!tmp2.k1b()) {
1997
- tmp$ret$0 = false;
1879
+ if (!tmp2.e1b()) {
1880
+ tmp$ret$1 = false;
1998
1881
  break $l$block_1;
1999
1882
  }
2000
1883
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2001
- if (cur.l1b()) {
2002
- cur.s6();
1884
+ if (cur.f1b()) {
1885
+ cur.n6();
2003
1886
  }
2004
- tmp$ret$0 = true;
1887
+ tmp$ret$1 = true;
2005
1888
  break $l$block_1;
2006
1889
  }
2007
- if (tmp2.l1b()) {
2008
- tmp2.s6();
1890
+ if (tmp2.f1b()) {
1891
+ tmp2.n6();
2009
1892
  }
2010
1893
  }
2011
- tmp$ret$0 = Unit_instance;
1894
+ tmp$ret$1 = tmp$ret$2;
2012
1895
  }
2013
- tmp = tmp$ret$0;
1896
+ tmp = tmp$ret$1;
2014
1897
  }
2015
1898
  if (tmp) {
2016
- tmp$ret$2 = s;
1899
+ tmp$ret$0 = s;
2017
1900
  break $l$block_2;
2018
1901
  }
2019
1902
  }
2020
1903
  }
2021
1904
  // Inline function 'kotlin.let' call
2022
- var it = tmp$ret$2;
1905
+ var it = tmp$ret$0;
2023
1906
  var tmp_0;
2024
1907
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
2025
1908
  completeCloseOrCancel($this);
2026
- var tmp0_0 = startFrom.x12_1;
1909
+ var tmp0_0 = startFrom.r12_1;
2027
1910
  // Inline function 'kotlin.Long.times' call
2028
1911
  var other = get_SEGMENT_SIZE();
2029
- var tmp$ret$3 = multiply(tmp0_0, fromInt(other));
2030
- if (compare(tmp$ret$3, $this.y1b()) < 0) {
2031
- startFrom.s1b();
1912
+ var tmp$ret$6 = multiply(tmp0_0, fromInt(other));
1913
+ if (compare(tmp$ret$6, $this.s1b()) < 0) {
1914
+ startFrom.m1b();
2032
1915
  }
2033
1916
  tmp_0 = null;
2034
1917
  } else {
@@ -2038,48 +1921,49 @@ function findSegmentReceive($this, id, startFrom) {
2038
1921
  var tmp0_1 = _get_bufferEndCounter__2d4hee($this);
2039
1922
  // Inline function 'kotlin.Long.div' call
2040
1923
  var other_0 = get_SEGMENT_SIZE();
2041
- var tmp$ret$4 = divide(tmp0_1, fromInt(other_0));
2042
- tmp_1 = compare(id, tmp$ret$4) <= 0;
1924
+ var tmp$ret$7 = divide(tmp0_1, fromInt(other_0));
1925
+ tmp_1 = compare(id, tmp$ret$7) <= 0;
2043
1926
  } else {
2044
1927
  tmp_1 = false;
2045
1928
  }
2046
1929
  if (tmp_1) {
2047
- var tmp0_2 = $this.c1b_1;
1930
+ var tmp0_2 = $this.w1a_1;
2048
1931
  $l$block_5: {
2049
1932
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1933
+ // Inline function 'kotlinx.atomicfu.loop' call
2050
1934
  while (true) {
2051
1935
  var cur_0 = tmp0_2.kotlinx$atomicfu$value;
2052
- if (compare(cur_0.x12_1, segment.x12_1) >= 0) {
1936
+ if (compare(cur_0.r12_1, segment.r12_1) >= 0) {
2053
1937
  break $l$block_5;
2054
1938
  }
2055
- if (!segment.k1b()) {
1939
+ if (!segment.e1b()) {
2056
1940
  break $l$block_5;
2057
1941
  }
2058
1942
  if (tmp0_2.atomicfu$compareAndSet(cur_0, segment)) {
2059
- if (cur_0.l1b()) {
2060
- cur_0.s6();
1943
+ if (cur_0.f1b()) {
1944
+ cur_0.n6();
2061
1945
  }
2062
1946
  break $l$block_5;
2063
1947
  }
2064
- if (segment.l1b()) {
2065
- segment.s6();
1948
+ if (segment.f1b()) {
1949
+ segment.n6();
2066
1950
  }
2067
1951
  }
2068
1952
  }
2069
1953
  }
2070
1954
  var tmp_2;
2071
- if (compare(segment.x12_1, id) > 0) {
2072
- var tmp0_3 = segment.x12_1;
1955
+ if (compare(segment.r12_1, id) > 0) {
1956
+ var tmp0_3 = segment.r12_1;
2073
1957
  // Inline function 'kotlin.Long.times' call
2074
1958
  var other_1 = get_SEGMENT_SIZE();
2075
- var tmp$ret$7 = multiply(tmp0_3, fromInt(other_1));
2076
- updateReceiversCounterIfLower($this, tmp$ret$7);
2077
- var tmp0_4 = segment.x12_1;
1959
+ var tmp$ret$11 = multiply(tmp0_3, fromInt(other_1));
1960
+ updateReceiversCounterIfLower($this, tmp$ret$11);
1961
+ var tmp0_4 = segment.r12_1;
2078
1962
  // Inline function 'kotlin.Long.times' call
2079
1963
  var other_2 = get_SEGMENT_SIZE();
2080
- var tmp$ret$8 = multiply(tmp0_4, fromInt(other_2));
2081
- if (compare(tmp$ret$8, $this.y1b()) < 0) {
2082
- segment.s1b();
1964
+ var tmp$ret$12 = multiply(tmp0_4, fromInt(other_2));
1965
+ if (compare(tmp$ret$12, $this.s1b()) < 0) {
1966
+ segment.m1b();
2083
1967
  }
2084
1968
  tmp_2 = null;
2085
1969
  } else {
@@ -2091,9 +1975,9 @@ function findSegmentReceive($this, id, startFrom) {
2091
1975
  return tmp_0;
2092
1976
  }
2093
1977
  function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2094
- var tmp0 = $this.c1b_1;
1978
+ var tmp0 = $this.w1a_1;
2095
1979
  var tmp6 = createSegmentFunction();
2096
- var tmp$ret$2;
1980
+ var tmp$ret$0;
2097
1981
  $l$block_2: {
2098
1982
  // Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
2099
1983
  while (true) {
@@ -2103,66 +1987,68 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2103
1987
  tmp = true;
2104
1988
  } else {
2105
1989
  var tmp2 = _SegmentOrClosed___get_segment__impl__jvcr9l(s);
2106
- var tmp$ret$0;
1990
+ var tmp$ret$1;
2107
1991
  $l$block_1: {
2108
1992
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
1993
+ var tmp$ret$2;
1994
+ // Inline function 'kotlinx.atomicfu.loop' call
2109
1995
  while (true) {
2110
1996
  var cur = tmp0.kotlinx$atomicfu$value;
2111
- if (compare(cur.x12_1, tmp2.x12_1) >= 0) {
2112
- tmp$ret$0 = true;
1997
+ if (compare(cur.r12_1, tmp2.r12_1) >= 0) {
1998
+ tmp$ret$1 = true;
2113
1999
  break $l$block_1;
2114
2000
  }
2115
- if (!tmp2.k1b()) {
2116
- tmp$ret$0 = false;
2001
+ if (!tmp2.e1b()) {
2002
+ tmp$ret$1 = false;
2117
2003
  break $l$block_1;
2118
2004
  }
2119
2005
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2120
- if (cur.l1b()) {
2121
- cur.s6();
2006
+ if (cur.f1b()) {
2007
+ cur.n6();
2122
2008
  }
2123
- tmp$ret$0 = true;
2009
+ tmp$ret$1 = true;
2124
2010
  break $l$block_1;
2125
2011
  }
2126
- if (tmp2.l1b()) {
2127
- tmp2.s6();
2012
+ if (tmp2.f1b()) {
2013
+ tmp2.n6();
2128
2014
  }
2129
2015
  }
2130
- tmp$ret$0 = Unit_instance;
2016
+ tmp$ret$1 = tmp$ret$2;
2131
2017
  }
2132
- tmp = tmp$ret$0;
2018
+ tmp = tmp$ret$1;
2133
2019
  }
2134
2020
  if (tmp) {
2135
- tmp$ret$2 = s;
2021
+ tmp$ret$0 = s;
2136
2022
  break $l$block_2;
2137
2023
  }
2138
2024
  }
2139
2025
  }
2140
2026
  // Inline function 'kotlin.let' call
2141
- var it = tmp$ret$2;
2027
+ var it = tmp$ret$0;
2142
2028
  var tmp_0;
2143
2029
  if (_SegmentOrClosed___get_isClosed__impl__qmxmlo(it)) {
2144
2030
  completeCloseOrCancel($this);
2145
2031
  moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom);
2146
- incCompletedExpandBufferAttempts$default($this);
2032
+ incCompletedExpandBufferAttempts($this);
2147
2033
  tmp_0 = null;
2148
2034
  } else {
2149
2035
  var segment = _SegmentOrClosed___get_segment__impl__jvcr9l(it);
2150
2036
  var tmp_1;
2151
- if (compare(segment.x12_1, id) > 0) {
2037
+ if (compare(segment.r12_1, id) > 0) {
2152
2038
  // Inline function 'kotlin.Long.plus' call
2153
2039
  var tmp_2 = add(currentBufferEndCounter, fromInt(1));
2154
- var tmp0_0 = segment.x12_1;
2040
+ var tmp0_0 = segment.r12_1;
2155
2041
  // Inline function 'kotlin.Long.times' call
2156
2042
  var other = get_SEGMENT_SIZE();
2157
- var tmp$ret$4 = multiply(tmp0_0, fromInt(other));
2158
- if ($this.y1a_1.atomicfu$compareAndSet(tmp_2, tmp$ret$4)) {
2159
- var tmp0_1 = segment.x12_1;
2043
+ var tmp$ret$7 = multiply(tmp0_0, fromInt(other));
2044
+ if ($this.s1a_1.atomicfu$compareAndSet(tmp_2, tmp$ret$7)) {
2045
+ var tmp0_1 = segment.r12_1;
2160
2046
  // Inline function 'kotlin.Long.times' call
2161
2047
  var other_0 = get_SEGMENT_SIZE();
2162
- var tmp$ret$5 = multiply(tmp0_1, fromInt(other_0));
2163
- incCompletedExpandBufferAttempts($this, subtract(tmp$ret$5, currentBufferEndCounter));
2048
+ var tmp$ret$8 = multiply(tmp0_1, fromInt(other_0));
2049
+ incCompletedExpandBufferAttempts($this, subtract(tmp$ret$8, currentBufferEndCounter));
2164
2050
  } else {
2165
- incCompletedExpandBufferAttempts$default($this);
2051
+ incCompletedExpandBufferAttempts($this);
2166
2052
  }
2167
2053
  tmp_1 = null;
2168
2054
  } else {
@@ -2175,8 +2061,8 @@ function findSegmentBufferEnd($this, id, startFrom, currentBufferEndCounter) {
2175
2061
  }
2176
2062
  function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2177
2063
  var segment = startFrom;
2178
- $l$loop: while (compare(segment.x12_1, id) < 0) {
2179
- var tmp0_elvis_lhs = segment.o1b();
2064
+ $l$loop: while (compare(segment.r12_1, id) < 0) {
2065
+ var tmp0_elvis_lhs = segment.i1b();
2180
2066
  var tmp;
2181
2067
  if (tmp0_elvis_lhs == null) {
2182
2068
  break $l$loop;
@@ -2186,8 +2072,8 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2186
2072
  segment = tmp;
2187
2073
  }
2188
2074
  while (true) {
2189
- $l$loop_0: while (segment.j1b()) {
2190
- var tmp1_elvis_lhs = segment.o1b();
2075
+ $l$loop_0: while (segment.d1b()) {
2076
+ var tmp1_elvis_lhs = segment.i1b();
2191
2077
  var tmp_0;
2192
2078
  if (tmp1_elvis_lhs == null) {
2193
2079
  break $l$loop_0;
@@ -2196,40 +2082,44 @@ function moveSegmentBufferEndToSpecifiedOrLast($this, id, startFrom) {
2196
2082
  }
2197
2083
  segment = tmp_0;
2198
2084
  }
2199
- var tmp0 = $this.c1b_1;
2085
+ var tmp0 = $this.w1a_1;
2200
2086
  var tmp2 = segment;
2201
2087
  var tmp$ret$0;
2202
2088
  $l$block_1: {
2203
2089
  // Inline function 'kotlinx.coroutines.internal.moveForward' call
2090
+ var tmp$ret$1;
2091
+ // Inline function 'kotlinx.atomicfu.loop' call
2204
2092
  while (true) {
2205
2093
  var cur = tmp0.kotlinx$atomicfu$value;
2206
- if (compare(cur.x12_1, tmp2.x12_1) >= 0) {
2094
+ if (compare(cur.r12_1, tmp2.r12_1) >= 0) {
2207
2095
  tmp$ret$0 = true;
2208
2096
  break $l$block_1;
2209
2097
  }
2210
- if (!tmp2.k1b()) {
2098
+ if (!tmp2.e1b()) {
2211
2099
  tmp$ret$0 = false;
2212
2100
  break $l$block_1;
2213
2101
  }
2214
2102
  if (tmp0.atomicfu$compareAndSet(cur, tmp2)) {
2215
- if (cur.l1b()) {
2216
- cur.s6();
2103
+ if (cur.f1b()) {
2104
+ cur.n6();
2217
2105
  }
2218
2106
  tmp$ret$0 = true;
2219
2107
  break $l$block_1;
2220
2108
  }
2221
- if (tmp2.l1b()) {
2222
- tmp2.s6();
2109
+ if (tmp2.f1b()) {
2110
+ tmp2.n6();
2223
2111
  }
2224
2112
  }
2225
- tmp$ret$0 = Unit_instance;
2113
+ tmp$ret$0 = tmp$ret$1;
2226
2114
  }
2227
2115
  if (tmp$ret$0)
2228
2116
  return Unit_instance;
2229
2117
  }
2230
2118
  }
2231
2119
  function updateSendersCounterIfLower($this, value) {
2232
- var this_0 = $this.w1a_1;
2120
+ var tmp$ret$0;
2121
+ // Inline function 'kotlinx.atomicfu.loop' call
2122
+ var this_0 = $this.q1a_1;
2233
2123
  while (true) {
2234
2124
  var cur = this_0.kotlinx$atomicfu$value;
2235
2125
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
@@ -2237,44 +2127,46 @@ function updateSendersCounterIfLower($this, value) {
2237
2127
  if (compare(curCounter, value) >= 0)
2238
2128
  return Unit_instance;
2239
2129
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
2240
- var tmp$ret$1 = convertToInt(shiftRight(cur, 60));
2241
- var update = constructSendersAndCloseStatus(curCounter, tmp$ret$1);
2242
- if ($this.w1a_1.atomicfu$compareAndSet(cur, update))
2130
+ var tmp$ret$3 = convertToInt(shiftRight(cur, 60));
2131
+ var update = constructSendersAndCloseStatus(curCounter, tmp$ret$3);
2132
+ if ($this.q1a_1.atomicfu$compareAndSet(cur, update))
2243
2133
  return Unit_instance;
2244
2134
  }
2245
- return Unit_instance;
2135
+ return tmp$ret$0;
2246
2136
  }
2247
2137
  function updateReceiversCounterIfLower($this, value) {
2248
- var this_0 = $this.x1a_1;
2138
+ var tmp$ret$0;
2139
+ // Inline function 'kotlinx.atomicfu.loop' call
2140
+ var this_0 = $this.r1a_1;
2249
2141
  while (true) {
2250
2142
  var cur = this_0.kotlinx$atomicfu$value;
2251
2143
  if (compare(cur, value) >= 0)
2252
2144
  return Unit_instance;
2253
- if ($this.x1a_1.atomicfu$compareAndSet(cur, value))
2145
+ if ($this.r1a_1.atomicfu$compareAndSet(cur, value))
2254
2146
  return Unit_instance;
2255
2147
  }
2256
- return Unit_instance;
2148
+ return tmp$ret$0;
2257
2149
  }
2258
- function bindCancellationFunResult($this, _this__u8e3s4) {
2150
+ function bindCancellationFunResult($this, $receiver) {
2259
2151
  return BufferedChannel$onCancellationChannelResultImplDoNotCall$ref($this);
2260
2152
  }
2261
2153
  function onCancellationChannelResultImplDoNotCall($this, cause, element, context) {
2262
- callUndeliveredElement(ensureNotNull($this.v1a_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
2154
+ callUndeliveredElement(ensureNotNull($this.p1a_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
2263
2155
  }
2264
- function bindCancellationFun($this, _this__u8e3s4, element) {
2265
- return BufferedChannel$bindCancellationFun$lambda(_this__u8e3s4, element);
2156
+ function bindCancellationFun($this, $receiver, element) {
2157
+ return BufferedChannel$bindCancellationFun$lambda($receiver, element);
2266
2158
  }
2267
- function bindCancellationFun_0($this, _this__u8e3s4) {
2159
+ function bindCancellationFun_0($this, $receiver) {
2268
2160
  return BufferedChannel$onCancellationImplDoNotCall$ref($this);
2269
2161
  }
2270
2162
  function onCancellationImplDoNotCall($this, cause, element, context) {
2271
- callUndeliveredElement(ensureNotNull($this.v1a_1), element, context);
2163
+ callUndeliveredElement(ensureNotNull($this.p1a_1), element, context);
2272
2164
  }
2273
2165
  function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda$lambda($element, this$0, $select) {
2274
2166
  return (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) => {
2275
2167
  var tmp;
2276
2168
  if (!($element === get_CHANNEL_CLOSED())) {
2277
- callUndeliveredElement(this$0.v1a_1, ($element == null ? true : !($element == null)) ? $element : THROW_CCE(), $select.bd());
2169
+ callUndeliveredElement(this$0.p1a_1, $element, $select.wc());
2278
2170
  tmp = Unit_instance;
2279
2171
  }
2280
2172
  return Unit_instance;
@@ -2286,7 +2178,7 @@ function BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lamb
2286
2178
  function BufferedChannel$onCancellationChannelResultImplDoNotCall$ref(p0) {
2287
2179
  var l = (_this__u8e3s4, p0_0, p1) => {
2288
2180
  var tmp0 = p0;
2289
- onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.c1d_1, p1);
2181
+ onCancellationChannelResultImplDoNotCall(tmp0, _this__u8e3s4, p0_0.w1c_1, p1);
2290
2182
  return Unit_instance;
2291
2183
  };
2292
2184
  l.callableName = 'onCancellationChannelResultImplDoNotCall';
@@ -2313,20 +2205,20 @@ function BufferedChannel() {
2313
2205
  class $ {
2314
2206
  constructor(capacity, onUndeliveredElement) {
2315
2207
  onUndeliveredElement = onUndeliveredElement === VOID ? null : onUndeliveredElement;
2316
- this.u1a_1 = capacity;
2317
- this.v1a_1 = onUndeliveredElement;
2208
+ this.o1a_1 = capacity;
2209
+ this.p1a_1 = onUndeliveredElement;
2318
2210
  // Inline function 'kotlin.require' call
2319
- if (!(this.u1a_1 >= 0)) {
2320
- var message = 'Invalid channel capacity: ' + this.u1a_1 + ', should be >=0';
2321
- throw IllegalArgumentException().r2(toString_0(message));
2211
+ if (!(this.o1a_1 >= 0)) {
2212
+ var message = 'Invalid channel capacity: ' + this.o1a_1 + ', should be >=0';
2213
+ throw IllegalArgumentException().m2(toString_0(message));
2322
2214
  }
2323
- this.w1a_1 = atomic$long$1(new (Long())(0, 0));
2324
- this.x1a_1 = atomic$long$1(new (Long())(0, 0));
2325
- this.y1a_1 = atomic$long$1(initialBufferEnd(this.u1a_1));
2326
- this.z1a_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
2215
+ this.q1a_1 = atomic$long$1(new (Long())(0, 0));
2216
+ this.r1a_1 = atomic$long$1(new (Long())(0, 0));
2217
+ this.s1a_1 = atomic$long$1(initialBufferEnd(this.o1a_1));
2218
+ this.t1a_1 = atomic$long$1(_get_bufferEndCounter__2d4hee(this));
2327
2219
  var firstSegment = new (ChannelSegment())(new (Long())(0, 0), null, this, 3);
2328
- this.a1b_1 = atomic$ref$1(firstSegment);
2329
- this.b1b_1 = atomic$ref$1(firstSegment);
2220
+ this.u1a_1 = atomic$ref$1(firstSegment);
2221
+ this.v1a_1 = atomic$ref$1(firstSegment);
2330
2222
  var tmp = this;
2331
2223
  var tmp_0;
2332
2224
  if (_get_isRendezvousOrUnlimited__3mdufi(this)) {
@@ -2335,40 +2227,111 @@ function BufferedChannel() {
2335
2227
  } else {
2336
2228
  tmp_0 = firstSegment;
2337
2229
  }
2338
- tmp.c1b_1 = atomic$ref$1(tmp_0);
2230
+ tmp.w1a_1 = atomic$ref$1(tmp_0);
2339
2231
  var tmp_2 = this;
2340
2232
  var tmp_3;
2341
- if (this.v1a_1 == null) {
2233
+ if (this.p1a_1 == null) {
2342
2234
  tmp_3 = null;
2343
2235
  } else {
2344
2236
  // Inline function 'kotlin.let' call
2345
2237
  tmp_3 = BufferedChannel$onUndeliveredElementReceiveCancellationConstructor$lambda(this);
2346
2238
  }
2347
- tmp_2.d1b_1 = tmp_3;
2348
- this.e1b_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2349
- this.f1b_1 = atomic$ref$1(null);
2239
+ tmp_2.x1a_1 = tmp_3;
2240
+ this.y1a_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2241
+ this.z1a_1 = atomic$ref$1(null);
2350
2242
  }
2351
- y1b() {
2243
+ s1b() {
2352
2244
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2353
- var this_0 = this.w1a_1.kotlinx$atomicfu$value;
2245
+ var this_0 = this.q1a_1.kotlinx$atomicfu$value;
2354
2246
  return bitwiseAnd(this_0, new (Long())(-1, 268435455));
2355
2247
  }
2356
- a1c() {
2357
- return this.x1a_1.kotlinx$atomicfu$value;
2248
+ v1b() {
2249
+ return this.r1a_1.kotlinx$atomicfu$value;
2358
2250
  }
2359
- d1d(element, $completion) {
2360
- return suspendOrReturn(/*#__NOINLINE__*/_generator_send__qhx0g0.bind(VOID, this, element), $completion);
2251
+ *x1c(element, $completion) {
2252
+ $l$block_5: {
2253
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2254
+ var segment = this.u1a_1.kotlinx$atomicfu$value;
2255
+ $l$loop_0: while (true) {
2256
+ var sendersAndCloseStatusCur = this.q1a_1.atomicfu$getAndIncrement$long();
2257
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2258
+ var s = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
2259
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2260
+ // Inline function 'kotlin.Long.div' call
2261
+ var other = get_SEGMENT_SIZE();
2262
+ var id = divide(s, fromInt(other));
2263
+ // Inline function 'kotlin.Long.rem' call
2264
+ var other_0 = get_SEGMENT_SIZE();
2265
+ var tmp$ret$3 = modulo(s, fromInt(other_0));
2266
+ var i = convertToInt(tmp$ret$3);
2267
+ if (!equalsLong(segment.r12_1, id)) {
2268
+ var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2269
+ var tmp;
2270
+ if (tmp0_elvis_lhs == null) {
2271
+ var tmp_0;
2272
+ if (closed) {
2273
+ yield* /*#__NOINLINE__*/onClosedSend(this, element, $completion);
2274
+ break $l$block_5;
2275
+ } else {
2276
+ continue $l$loop_0;
2277
+ }
2278
+ } else {
2279
+ tmp = tmp0_elvis_lhs;
2280
+ }
2281
+ segment = tmp;
2282
+ }
2283
+ switch (updateCellSend(this, segment, i, element, s, null, closed)) {
2284
+ case 0:
2285
+ segment.m1b();
2286
+ break $l$block_5;
2287
+ case 1:
2288
+ break $l$block_5;
2289
+ case 2:
2290
+ if (closed) {
2291
+ segment.c1b();
2292
+ yield* /*#__NOINLINE__*/onClosedSend(this, element, $completion);
2293
+ break $l$block_5;
2294
+ }
2295
+
2296
+ var tmp2_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
2297
+ if (tmp2_safe_receiver == null)
2298
+ null;
2299
+ else {
2300
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2301
+ }
2302
+
2303
+ // Inline function 'kotlinx.coroutines.assert' call
2304
+
2305
+ break $l$block_5;
2306
+ case 4:
2307
+ if (compare(s, this.v1b()) < 0) {
2308
+ segment.m1b();
2309
+ }
2310
+
2311
+ yield* /*#__NOINLINE__*/onClosedSend(this, element, $completion);
2312
+ break $l$block_5;
2313
+ case 5:
2314
+ segment.m1b();
2315
+ continue $l$loop_0;
2316
+ case 3:
2317
+ var segm = segment;
2318
+ yield* /*#__NOINLINE__*/sendOnNoWaiterSuspend(this, segm, i, element, s, $completion);
2319
+ break $l$block_5;
2320
+ }
2321
+ }
2322
+ }
2323
+ return Unit_instance;
2361
2324
  }
2362
- e1d(element) {
2363
- if (shouldSendSuspend0(this, this.w1a_1.kotlinx$atomicfu$value))
2364
- return Companion_getInstance().f1d();
2325
+ y1c(element) {
2326
+ if (shouldSendSuspend0(this, this.q1a_1.kotlinx$atomicfu$value))
2327
+ return Companion_getInstance().z1c();
2365
2328
  var tmp4 = get_INTERRUPTED_SEND();
2366
- var tmp$ret$4;
2367
- $l$block_4: {
2329
+ var tmp$ret$0;
2330
+ $l$block_5: {
2368
2331
  // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2369
- var segment = this.a1b_1.kotlinx$atomicfu$value;
2332
+ var segment = this.u1a_1.kotlinx$atomicfu$value;
2370
2333
  $l$loop_0: while (true) {
2371
- var sendersAndCloseStatusCur = this.w1a_1.atomicfu$getAndIncrement$long();
2334
+ var sendersAndCloseStatusCur = this.q1a_1.atomicfu$getAndIncrement$long();
2372
2335
  // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2373
2336
  var s = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
2374
2337
  var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
@@ -2377,16 +2340,16 @@ function BufferedChannel() {
2377
2340
  var id = divide(s, fromInt(other));
2378
2341
  // Inline function 'kotlin.Long.rem' call
2379
2342
  var other_0 = get_SEGMENT_SIZE();
2380
- var tmp$ret$2 = modulo(s, fromInt(other_0));
2381
- var i = convertToInt(tmp$ret$2);
2382
- if (!equalsLong(segment.x12_1, id)) {
2343
+ var tmp$ret$3 = modulo(s, fromInt(other_0));
2344
+ var i = convertToInt(tmp$ret$3);
2345
+ if (!equalsLong(segment.r12_1, id)) {
2383
2346
  var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2384
2347
  var tmp;
2385
2348
  if (tmp0_elvis_lhs == null) {
2386
2349
  var tmp_0;
2387
2350
  if (closed) {
2388
- tmp$ret$4 = Companion_getInstance().z1c(this.b1c());
2389
- break $l$block_4;
2351
+ tmp$ret$0 = Companion_getInstance().t1c(this.u1b());
2352
+ break $l$block_5;
2390
2353
  } else {
2391
2354
  continue $l$loop_0;
2392
2355
  }
@@ -2397,17 +2360,17 @@ function BufferedChannel() {
2397
2360
  }
2398
2361
  switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
2399
2362
  case 0:
2400
- segment.s1b();
2401
- tmp$ret$4 = Companion_getInstance().g1c(Unit_instance);
2402
- break $l$block_4;
2363
+ segment.m1b();
2364
+ tmp$ret$0 = Companion_getInstance().a1c(Unit_instance);
2365
+ break $l$block_5;
2403
2366
  case 1:
2404
- tmp$ret$4 = Companion_getInstance().g1c(Unit_instance);
2405
- break $l$block_4;
2367
+ tmp$ret$0 = Companion_getInstance().a1c(Unit_instance);
2368
+ break $l$block_5;
2406
2369
  case 2:
2407
2370
  if (closed) {
2408
- segment.i1b();
2409
- tmp$ret$4 = Companion_getInstance().z1c(this.b1c());
2410
- break $l$block_4;
2371
+ segment.c1b();
2372
+ tmp$ret$0 = Companion_getInstance().t1c(this.u1b());
2373
+ break $l$block_5;
2411
2374
  }
2412
2375
 
2413
2376
  var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter()) : false) ? tmp4 : null;
@@ -2417,118 +2380,178 @@ function BufferedChannel() {
2417
2380
  prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2418
2381
  }
2419
2382
 
2420
- segment.i1b();
2421
- tmp$ret$4 = Companion_getInstance().f1d();
2422
- break $l$block_4;
2383
+ segment.c1b();
2384
+ tmp$ret$0 = Companion_getInstance().z1c();
2385
+ break $l$block_5;
2423
2386
  case 4:
2424
- if (compare(s, this.a1c()) < 0) {
2425
- segment.s1b();
2387
+ if (compare(s, this.v1b()) < 0) {
2388
+ segment.m1b();
2426
2389
  }
2427
2390
 
2428
- tmp$ret$4 = Companion_getInstance().z1c(this.b1c());
2429
- break $l$block_4;
2391
+ tmp$ret$0 = Companion_getInstance().t1c(this.u1b());
2392
+ break $l$block_5;
2430
2393
  case 5:
2431
- segment.s1b();
2394
+ segment.m1b();
2432
2395
  continue $l$loop_0;
2433
2396
  case 3:
2397
+ // Inline function 'kotlin.error' call
2398
+
2434
2399
  var message = 'unexpected';
2435
2400
  throw IllegalStateException().o(toString_0(message));
2436
2401
  }
2437
2402
  }
2438
2403
  }
2439
- return tmp$ret$4;
2404
+ return tmp$ret$0;
2440
2405
  }
2441
- g1d(element) {
2442
- var tmp$ret$3;
2443
- // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2444
- var waiter = get_BUFFERED();
2445
- var segment = this.a1b_1.kotlinx$atomicfu$value;
2446
- $l$loop_0: while (true) {
2447
- var sendersAndCloseStatusCur = this.w1a_1.atomicfu$getAndIncrement$long();
2448
- // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2449
- var s = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
2450
- var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2451
- // Inline function 'kotlin.Long.div' call
2452
- var other = get_SEGMENT_SIZE();
2453
- var id = divide(s, fromInt(other));
2454
- // Inline function 'kotlin.Long.rem' call
2455
- var other_0 = get_SEGMENT_SIZE();
2456
- var tmp$ret$2 = modulo(s, fromInt(other_0));
2457
- var i = convertToInt(tmp$ret$2);
2458
- if (!equalsLong(segment.x12_1, id)) {
2459
- var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2460
- var tmp;
2461
- if (tmp0_elvis_lhs == null) {
2462
- var tmp_0;
2463
- if (closed) {
2464
- return Companion_getInstance().z1c(this.b1c());
2406
+ a1d(element) {
2407
+ var tmp4 = get_BUFFERED();
2408
+ var tmp$ret$0;
2409
+ $l$block_5: {
2410
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
2411
+ var segment = this.u1a_1.kotlinx$atomicfu$value;
2412
+ $l$loop_0: while (true) {
2413
+ var sendersAndCloseStatusCur = this.q1a_1.atomicfu$getAndIncrement$long();
2414
+ // Inline function 'kotlinx.coroutines.channels.sendersCounter' call
2415
+ var s = bitwiseAnd(sendersAndCloseStatusCur, new (Long())(-1, 268435455));
2416
+ var closed = _get_isClosedForSend0__kxgf9m(this, sendersAndCloseStatusCur);
2417
+ // Inline function 'kotlin.Long.div' call
2418
+ var other = get_SEGMENT_SIZE();
2419
+ var id = divide(s, fromInt(other));
2420
+ // Inline function 'kotlin.Long.rem' call
2421
+ var other_0 = get_SEGMENT_SIZE();
2422
+ var tmp$ret$3 = modulo(s, fromInt(other_0));
2423
+ var i = convertToInt(tmp$ret$3);
2424
+ if (!equalsLong(segment.r12_1, id)) {
2425
+ var tmp0_elvis_lhs = findSegmentSend(this, id, segment);
2426
+ var tmp;
2427
+ if (tmp0_elvis_lhs == null) {
2428
+ var tmp_0;
2429
+ if (closed) {
2430
+ return Companion_getInstance().t1c(this.u1b());
2431
+ } else {
2432
+ continue $l$loop_0;
2433
+ }
2465
2434
  } else {
2466
- continue $l$loop_0;
2435
+ tmp = tmp0_elvis_lhs;
2467
2436
  }
2468
- } else {
2469
- tmp = tmp0_elvis_lhs;
2437
+ segment = tmp;
2470
2438
  }
2471
- segment = tmp;
2472
- }
2473
- switch (updateCellSend(this, segment, i, element, s, waiter, closed)) {
2474
- case 0:
2475
- segment.s1b();
2476
- return Companion_getInstance().g1c(Unit_instance);
2477
- case 1:
2478
- return Companion_getInstance().g1c(Unit_instance);
2479
- case 2:
2480
- if (closed) {
2481
- segment.i1b();
2482
- return Companion_getInstance().z1c(this.b1c());
2483
- }
2439
+ switch (updateCellSend(this, segment, i, element, s, tmp4, closed)) {
2440
+ case 0:
2441
+ segment.m1b();
2442
+ return Companion_getInstance().a1c(Unit_instance);
2443
+ case 1:
2444
+ return Companion_getInstance().a1c(Unit_instance);
2445
+ case 2:
2446
+ if (closed) {
2447
+ segment.c1b();
2448
+ return Companion_getInstance().t1c(this.u1b());
2449
+ }
2484
2450
 
2485
- var tmp2_safe_receiver = (!(waiter == null) ? isInterface(waiter, Waiter()) : false) ? waiter : null;
2486
- if (tmp2_safe_receiver == null)
2487
- null;
2488
- else {
2489
- prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2490
- }
2451
+ var tmp2_safe_receiver = (!(tmp4 == null) ? isInterface(tmp4, Waiter()) : false) ? tmp4 : null;
2452
+ if (tmp2_safe_receiver == null)
2453
+ null;
2454
+ else {
2455
+ prepareSenderForSuspension(this, tmp2_safe_receiver, segment, i);
2456
+ }
2491
2457
 
2492
- var tmp0 = segment.x12_1;
2493
- // Inline function 'kotlin.Long.times' call
2458
+ var tmp0 = segment.r12_1;
2459
+ // Inline function 'kotlin.Long.times' call
2494
2460
 
2495
- var other_1 = get_SEGMENT_SIZE();
2496
- // Inline function 'kotlin.Long.plus' call
2461
+ var other_1 = get_SEGMENT_SIZE();
2462
+ // Inline function 'kotlin.Long.plus' call
2497
2463
 
2498
- var this_0 = multiply(tmp0, fromInt(other_1));
2499
- var tmp$ret$5 = add(this_0, fromInt(i));
2500
- this.x1c(tmp$ret$5);
2501
- return Companion_getInstance().g1c(Unit_instance);
2502
- case 4:
2503
- if (compare(s, this.a1c()) < 0) {
2504
- segment.s1b();
2505
- }
2464
+ var this_0 = multiply(tmp0, fromInt(other_1));
2465
+ var tmp$ret$10 = add(this_0, fromInt(i));
2466
+ this.r1c(tmp$ret$10);
2467
+ return Companion_getInstance().a1c(Unit_instance);
2468
+ case 4:
2469
+ if (compare(s, this.v1b()) < 0) {
2470
+ segment.m1b();
2471
+ }
2506
2472
 
2507
- return Companion_getInstance().z1c(this.b1c());
2508
- case 5:
2509
- segment.s1b();
2510
- continue $l$loop_0;
2511
- case 3:
2512
- var message = 'unexpected';
2513
- throw IllegalStateException().o(toString_0(message));
2473
+ return Companion_getInstance().t1c(this.u1b());
2474
+ case 5:
2475
+ segment.m1b();
2476
+ continue $l$loop_0;
2477
+ case 3:
2478
+ // Inline function 'kotlin.error' call
2479
+
2480
+ var message = 'unexpected';
2481
+ throw IllegalStateException().o(toString_0(message));
2482
+ }
2514
2483
  }
2515
2484
  }
2516
- return tmp$ret$3;
2485
+ return tmp$ret$0;
2517
2486
  }
2518
- j1c() {
2487
+ d1c() {
2519
2488
  }
2520
- c1c() {
2489
+ w1b() {
2521
2490
  }
2522
- h1d($completion) {
2523
- return suspendOrReturn(/*#__NOINLINE__*/_generator_receive__aoggq9.bind(VOID, this), $completion);
2491
+ *b1d($completion) {
2492
+ var tmp$ret$0;
2493
+ $l$block_0: {
2494
+ // Inline function 'kotlinx.coroutines.channels.BufferedChannel.receiveImpl' call
2495
+ var segment = this.v1a_1.kotlinx$atomicfu$value;
2496
+ $l$loop_0: while (true) {
2497
+ if (this.t1b()) {
2498
+ throw recoverStackTrace(_get_receiveException__foorc1(this));
2499
+ }
2500
+ var r = this.r1a_1.atomicfu$getAndIncrement$long();
2501
+ // Inline function 'kotlin.Long.div' call
2502
+ var other = get_SEGMENT_SIZE();
2503
+ var id = divide(r, fromInt(other));
2504
+ // Inline function 'kotlin.Long.rem' call
2505
+ var other_0 = get_SEGMENT_SIZE();
2506
+ var tmp$ret$3 = modulo(r, fromInt(other_0));
2507
+ var i = convertToInt(tmp$ret$3);
2508
+ if (!equalsLong(segment.r12_1, id)) {
2509
+ var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2510
+ var tmp;
2511
+ if (tmp0_elvis_lhs == null) {
2512
+ continue $l$loop_0;
2513
+ } else {
2514
+ tmp = tmp0_elvis_lhs;
2515
+ }
2516
+ segment = tmp;
2517
+ }
2518
+ var updCellResult = updateCellReceive(this, segment, i, r, null);
2519
+ var tmp_0;
2520
+ if (updCellResult === get_SUSPEND()) {
2521
+ var tmp1_safe_receiver = (!(null == null) ? isInterface(null, Waiter()) : false) ? null : null;
2522
+ if (tmp1_safe_receiver == null)
2523
+ null;
2524
+ else {
2525
+ prepareReceiverForSuspension(this, tmp1_safe_receiver, segment, i);
2526
+ }
2527
+ // Inline function 'kotlin.error' call
2528
+ var message = 'unexpected';
2529
+ throw IllegalStateException().o(toString_0(message));
2530
+ } else if (updCellResult === get_FAILED()) {
2531
+ if (compare(r, this.s1b()) < 0) {
2532
+ segment.m1b();
2533
+ }
2534
+ continue $l$loop_0;
2535
+ } else if (updCellResult === get_SUSPEND_NO_WAITER()) {
2536
+ var segm = segment;
2537
+ tmp_0 = yield* /*#__NOINLINE__*/receiveOnNoWaiterSuspend(this, segm, i, r, $completion);
2538
+ } else {
2539
+ segment.m1b();
2540
+ return updCellResult;
2541
+ }
2542
+ tmp$ret$0 = tmp_0;
2543
+ break $l$block_0;
2544
+ }
2545
+ }
2546
+ return tmp$ret$0;
2524
2547
  }
2525
- x1c(globalCellIndex) {
2548
+ r1c(globalCellIndex) {
2526
2549
  // Inline function 'kotlinx.coroutines.assert' call
2527
- var segment = this.b1b_1.kotlinx$atomicfu$value;
2550
+ var segment = this.v1a_1.kotlinx$atomicfu$value;
2528
2551
  $l$loop_0: while (true) {
2529
- var r = this.x1a_1.kotlinx$atomicfu$value;
2552
+ var r = this.r1a_1.kotlinx$atomicfu$value;
2530
2553
  // Inline function 'kotlin.Long.plus' call
2531
- var other = this.u1a_1;
2554
+ var other = this.o1a_1;
2532
2555
  var tmp0 = add(r, fromInt(other));
2533
2556
  // Inline function 'kotlin.math.max' call
2534
2557
  var b = _get_bufferEndCounter__2d4hee(this);
@@ -2537,7 +2560,7 @@ function BufferedChannel() {
2537
2560
  return Unit_instance;
2538
2561
  // Inline function 'kotlin.Long.plus' call
2539
2562
  var tmp$ret$3 = add(r, fromInt(1));
2540
- if (!this.x1a_1.atomicfu$compareAndSet(r, tmp$ret$3))
2563
+ if (!this.r1a_1.atomicfu$compareAndSet(r, tmp$ret$3))
2541
2564
  continue $l$loop_0;
2542
2565
  // Inline function 'kotlin.Long.div' call
2543
2566
  var other_0 = get_SEGMENT_SIZE();
@@ -2546,7 +2569,7 @@ function BufferedChannel() {
2546
2569
  var other_1 = get_SEGMENT_SIZE();
2547
2570
  var tmp$ret$5 = modulo(r, fromInt(other_1));
2548
2571
  var i = convertToInt(tmp$ret$5);
2549
- if (!equalsLong(segment.x12_1, id)) {
2572
+ if (!equalsLong(segment.r12_1, id)) {
2550
2573
  var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2551
2574
  var tmp;
2552
2575
  if (tmp0_elvis_lhs == null) {
@@ -2558,19 +2581,13 @@ function BufferedChannel() {
2558
2581
  }
2559
2582
  var updCellResult = updateCellReceive(this, segment, i, r, null);
2560
2583
  if (updCellResult === get_FAILED()) {
2561
- if (compare(r, this.y1b()) < 0) {
2562
- segment.s1b();
2584
+ if (compare(r, this.s1b()) < 0) {
2585
+ segment.m1b();
2563
2586
  }
2564
2587
  } else {
2565
- segment.s1b();
2566
- var tmp1_safe_receiver = this.v1a_1;
2567
- var tmp_0;
2568
- if (tmp1_safe_receiver == null) {
2569
- tmp_0 = null;
2570
- } else {
2571
- tmp_0 = callUndeliveredElementCatchingException(tmp1_safe_receiver, (updCellResult == null ? true : !(updCellResult == null)) ? updCellResult : THROW_CCE());
2572
- }
2573
- var tmp2_safe_receiver = tmp_0;
2588
+ segment.m1b();
2589
+ var tmp1_safe_receiver = this.p1a_1;
2590
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp1_safe_receiver, updCellResult);
2574
2591
  if (tmp2_safe_receiver == null)
2575
2592
  null;
2576
2593
  else {
@@ -2580,7 +2597,7 @@ function BufferedChannel() {
2580
2597
  }
2581
2598
  }
2582
2599
  }
2583
- h1b(globalIndex) {
2600
+ b1b(globalIndex) {
2584
2601
  if (_get_isRendezvousOrUnlimited__3mdufi(this))
2585
2602
  return Unit_instance;
2586
2603
  while (compare(_get_bufferEndCounter__2d4hee(this), globalIndex) <= 0) {
@@ -2594,20 +2611,20 @@ function BufferedChannel() {
2594
2611
  inductionVariable = inductionVariable + 1 | 0;
2595
2612
  var b = _get_bufferEndCounter__2d4hee(this);
2596
2613
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2597
- var this_0 = this.z1a_1.kotlinx$atomicfu$value;
2614
+ var this_0 = this.t1a_1.kotlinx$atomicfu$value;
2598
2615
  var ebCompleted = bitwiseAnd(this_0, new (Long())(-1, 1073741823));
2599
2616
  if (equalsLong(b, ebCompleted) && equalsLong(b, _get_bufferEndCounter__2d4hee(this)))
2600
2617
  return Unit_instance;
2601
2618
  }
2602
2619
  while (inductionVariable < times);
2603
- var tmp0 = this.z1a_1;
2620
+ var tmp0 = this.t1a_1;
2604
2621
  $l$block: {
2605
2622
  // Inline function 'kotlinx.atomicfu.update' call
2606
2623
  while (true) {
2607
2624
  var cur = tmp0.kotlinx$atomicfu$value;
2608
2625
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2609
- var tmp$ret$3 = bitwiseAnd(cur, new (Long())(-1, 1073741823));
2610
- var upd = constructEBCompletedAndPauseFlag(tmp$ret$3, true);
2626
+ var tmp$ret$5 = bitwiseAnd(cur, new (Long())(-1, 1073741823));
2627
+ var upd = constructEBCompletedAndPauseFlag(tmp$ret$5, true);
2611
2628
  if (tmp0.atomicfu$compareAndSet(cur, upd)) {
2612
2629
  break $l$block;
2613
2630
  }
@@ -2615,20 +2632,20 @@ function BufferedChannel() {
2615
2632
  }
2616
2633
  while (true) {
2617
2634
  var b_0 = _get_bufferEndCounter__2d4hee(this);
2618
- var ebCompletedAndBit = this.z1a_1.kotlinx$atomicfu$value;
2635
+ var ebCompletedAndBit = this.t1a_1.kotlinx$atomicfu$value;
2619
2636
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2620
2637
  var ebCompleted_0 = bitwiseAnd(ebCompletedAndBit, new (Long())(-1, 1073741823));
2621
2638
  // Inline function 'kotlinx.coroutines.channels.ebPauseExpandBuffers' call
2622
2639
  var pauseExpandBuffers = !equalsLong(bitwiseAnd(ebCompletedAndBit, new (Long())(0, 1073741824)), new (Long())(0, 0));
2623
2640
  if (equalsLong(b_0, ebCompleted_0) && equalsLong(b_0, _get_bufferEndCounter__2d4hee(this))) {
2624
- var tmp0_0 = this.z1a_1;
2641
+ var tmp0_0 = this.t1a_1;
2625
2642
  $l$block_0: {
2626
2643
  // Inline function 'kotlinx.atomicfu.update' call
2627
2644
  while (true) {
2628
2645
  var cur_0 = tmp0_0.kotlinx$atomicfu$value;
2629
2646
  // Inline function 'kotlinx.coroutines.channels.ebCompletedCounter' call
2630
- var tmp$ret$8 = bitwiseAnd(cur_0, new (Long())(-1, 1073741823));
2631
- var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$8, false);
2647
+ var tmp$ret$10 = bitwiseAnd(cur_0, new (Long())(-1, 1073741823));
2648
+ var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$10, false);
2632
2649
  if (tmp0_0.atomicfu$compareAndSet(cur_0, upd_0)) {
2633
2650
  break $l$block_0;
2634
2651
  }
@@ -2637,37 +2654,37 @@ function BufferedChannel() {
2637
2654
  return Unit_instance;
2638
2655
  }
2639
2656
  if (!pauseExpandBuffers) {
2640
- this.z1a_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
2657
+ this.t1a_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
2641
2658
  }
2642
2659
  }
2643
2660
  }
2644
- q1() {
2661
+ l1() {
2645
2662
  return new (BufferedChannelIterator())(this);
2646
2663
  }
2647
- z1b() {
2648
- var tmp = this.e1b_1.kotlinx$atomicfu$value;
2664
+ r1b() {
2665
+ var tmp = this.y1a_1.kotlinx$atomicfu$value;
2649
2666
  return (tmp == null ? true : tmp instanceof Error) ? tmp : THROW_CCE();
2650
2667
  }
2651
- b1c() {
2652
- var tmp0_elvis_lhs = this.z1b();
2653
- return tmp0_elvis_lhs == null ? ClosedSendChannelException().m1d('Channel was closed') : tmp0_elvis_lhs;
2668
+ u1b() {
2669
+ var tmp0_elvis_lhs = this.r1b();
2670
+ return tmp0_elvis_lhs == null ? ClosedSendChannelException().g1d('Channel was closed') : tmp0_elvis_lhs;
2654
2671
  }
2655
- n1d() {
2672
+ h1d() {
2656
2673
  }
2657
- o1d(cause) {
2658
- return this.p1d(cause, false);
2674
+ i1d(cause) {
2675
+ return this.j1d(cause, false);
2659
2676
  }
2660
- xy(cause) {
2661
- this.r1d(cause);
2677
+ qy(cause) {
2678
+ this.l1d(cause);
2662
2679
  }
2663
- r1d(cause) {
2664
- return this.p1d(cause == null ? CancellationException().n('Channel was cancelled') : cause, true);
2680
+ l1d(cause) {
2681
+ return this.j1d(cause == null ? CancellationException().n('Channel was cancelled') : cause, true);
2665
2682
  }
2666
- p1d(cause, cancel) {
2683
+ j1d(cause, cancel) {
2667
2684
  if (cancel) {
2668
2685
  markCancellationStarted(this);
2669
2686
  }
2670
- var closedByThisOperation = this.e1b_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
2687
+ var closedByThisOperation = this.y1a_1.atomicfu$compareAndSet(get_NO_CLOSE_CAUSE(), cause);
2671
2688
  if (cancel) {
2672
2689
  markCancelled(this);
2673
2690
  } else {
@@ -2675,37 +2692,37 @@ function BufferedChannel() {
2675
2692
  }
2676
2693
  completeCloseOrCancel(this);
2677
2694
  // Inline function 'kotlin.also' call
2678
- this.n1d();
2695
+ this.h1d();
2679
2696
  if (closedByThisOperation) {
2680
2697
  invokeCloseHandler(this);
2681
2698
  }
2682
2699
  return closedByThisOperation;
2683
2700
  }
2684
- y1c() {
2701
+ s1c() {
2685
2702
  return false;
2686
2703
  }
2687
- w1c() {
2688
- return _get_isClosedForSend0__kxgf9m(this, this.w1a_1.kotlinx$atomicfu$value);
2704
+ q1c() {
2705
+ return _get_isClosedForSend0__kxgf9m(this, this.q1a_1.kotlinx$atomicfu$value);
2689
2706
  }
2690
- x1b() {
2691
- return _get_isClosedForReceive0__f7qknl(this, this.w1a_1.kotlinx$atomicfu$value);
2707
+ t1b() {
2708
+ return _get_isClosedForReceive0__f7qknl(this, this.q1a_1.kotlinx$atomicfu$value);
2692
2709
  }
2693
- a1d() {
2710
+ u1c() {
2694
2711
  $l$loop: while (true) {
2695
- var segment = this.b1b_1.kotlinx$atomicfu$value;
2696
- var r = this.a1c();
2697
- var s = this.y1b();
2712
+ var segment = this.v1a_1.kotlinx$atomicfu$value;
2713
+ var r = this.v1b();
2714
+ var s = this.s1b();
2698
2715
  if (compare(s, r) <= 0)
2699
2716
  return false;
2700
2717
  // Inline function 'kotlin.Long.div' call
2701
2718
  var other = get_SEGMENT_SIZE();
2702
2719
  var id = divide(r, fromInt(other));
2703
- if (!equalsLong(segment.x12_1, id)) {
2720
+ if (!equalsLong(segment.r12_1, id)) {
2704
2721
  var tmp0_elvis_lhs = findSegmentReceive(this, id, segment);
2705
2722
  var tmp;
2706
2723
  if (tmp0_elvis_lhs == null) {
2707
2724
  var tmp_0;
2708
- if (compare(this.b1b_1.kotlinx$atomicfu$value.x12_1, id) < 0) {
2725
+ if (compare(this.v1a_1.kotlinx$atomicfu$value.r12_1, id) < 0) {
2709
2726
  return false;
2710
2727
  } else {
2711
2728
  continue $l$loop;
@@ -2715,7 +2732,7 @@ function BufferedChannel() {
2715
2732
  }
2716
2733
  segment = tmp;
2717
2734
  }
2718
- segment.s1b();
2735
+ segment.m1b();
2719
2736
  // Inline function 'kotlin.Long.rem' call
2720
2737
  var other_0 = get_SEGMENT_SIZE();
2721
2738
  var tmp$ret$1 = modulo(r, fromInt(other_0));
@@ -2724,58 +2741,58 @@ function BufferedChannel() {
2724
2741
  return true;
2725
2742
  // Inline function 'kotlin.Long.plus' call
2726
2743
  var tmp$ret$2 = add(r, fromInt(1));
2727
- this.x1a_1.atomicfu$compareAndSet(r, tmp$ret$2);
2744
+ this.r1a_1.atomicfu$compareAndSet(r, tmp$ret$2);
2728
2745
  }
2729
2746
  }
2730
2747
  toString() {
2731
- var sb = StringBuilder().m1();
2748
+ var sb = StringBuilder().h1();
2732
2749
  // Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
2733
- var this_0 = this.w1a_1.kotlinx$atomicfu$value;
2750
+ var this_0 = this.q1a_1.kotlinx$atomicfu$value;
2734
2751
  var tmp0_subject = convertToInt(shiftRight(this_0, 60));
2735
2752
  if (tmp0_subject === 2) {
2736
- sb.n1('closed,');
2753
+ sb.i1('closed,');
2737
2754
  } else if (tmp0_subject === 3) {
2738
- sb.n1('cancelled,');
2755
+ sb.i1('cancelled,');
2739
2756
  }
2740
- sb.n1('capacity=' + this.u1a_1 + ',');
2741
- sb.n1('data=[');
2757
+ sb.i1('capacity=' + this.o1a_1 + ',');
2758
+ sb.i1('data=[');
2742
2759
  // Inline function 'kotlin.collections.filter' call
2743
- var tmp0 = listOf([this.b1b_1.kotlinx$atomicfu$value, this.a1b_1.kotlinx$atomicfu$value, this.c1b_1.kotlinx$atomicfu$value]);
2760
+ var tmp0 = listOf([this.v1a_1.kotlinx$atomicfu$value, this.u1a_1.kotlinx$atomicfu$value, this.w1a_1.kotlinx$atomicfu$value]);
2744
2761
  // Inline function 'kotlin.collections.filterTo' call
2745
- var destination = ArrayList().n2();
2746
- var _iterator__ex2g4s = tmp0.q1();
2747
- while (_iterator__ex2g4s.r1()) {
2748
- var element = _iterator__ex2g4s.s1();
2762
+ var destination = ArrayList().i2();
2763
+ var _iterator__ex2g4s = tmp0.l1();
2764
+ while (_iterator__ex2g4s.m1()) {
2765
+ var element = _iterator__ex2g4s.n1();
2749
2766
  if (!(element === get_NULL_SEGMENT())) {
2750
- destination.t2(element);
2767
+ destination.o2(element);
2751
2768
  }
2752
2769
  }
2753
2770
  var tmp$ret$4;
2754
2771
  $l$block: {
2755
2772
  // Inline function 'kotlin.collections.minBy' call
2756
- var iterator = destination.q1();
2757
- if (!iterator.r1())
2758
- throw NoSuchElementException().w6();
2759
- var minElem = iterator.s1();
2760
- if (!iterator.r1()) {
2773
+ var iterator = destination.l1();
2774
+ if (!iterator.m1())
2775
+ throw NoSuchElementException().r6();
2776
+ var minElem = iterator.n1();
2777
+ if (!iterator.m1()) {
2761
2778
  tmp$ret$4 = minElem;
2762
2779
  break $l$block;
2763
2780
  }
2764
- var minValue = minElem.x12_1;
2781
+ var minValue = minElem.r12_1;
2765
2782
  do {
2766
- var e = iterator.s1();
2767
- var v = e.x12_1;
2783
+ var e = iterator.n1();
2784
+ var v = e.r12_1;
2768
2785
  if (compareTo(minValue, v) > 0) {
2769
2786
  minElem = e;
2770
2787
  minValue = v;
2771
2788
  }
2772
2789
  }
2773
- while (iterator.r1());
2790
+ while (iterator.m1());
2774
2791
  tmp$ret$4 = minElem;
2775
2792
  }
2776
2793
  var firstSegment = tmp$ret$4;
2777
- var r = this.a1c();
2778
- var s = this.y1b();
2794
+ var r = this.v1b();
2795
+ var s = this.s1b();
2779
2796
  var segment = firstSegment;
2780
2797
  append_elements: while (true) {
2781
2798
  var inductionVariable = 0;
@@ -2784,7 +2801,7 @@ function BufferedChannel() {
2784
2801
  process_cell: do {
2785
2802
  var i = inductionVariable;
2786
2803
  inductionVariable = inductionVariable + 1 | 0;
2787
- var tmp0_0 = segment.x12_1;
2804
+ var tmp0_0 = segment.r12_1;
2788
2805
  // Inline function 'kotlin.Long.times' call
2789
2806
  var other = get_SEGMENT_SIZE();
2790
2807
  // Inline function 'kotlin.Long.plus' call
@@ -2792,8 +2809,8 @@ function BufferedChannel() {
2792
2809
  var globalCellIndex = add(this_1, fromInt(i));
2793
2810
  if (compare(globalCellIndex, s) >= 0 && compare(globalCellIndex, r) >= 0)
2794
2811
  break append_elements;
2795
- var cellState = segment.q1a(i);
2796
- var element_0 = segment.n1a(i);
2812
+ var cellState = segment.k1a(i);
2813
+ var element_0 = segment.h1a(i);
2797
2814
  var tmp;
2798
2815
  if (!(cellState == null) ? isInterface(cellState, CancellableContinuation()) : false) {
2799
2816
  tmp = compare(globalCellIndex, r) < 0 && compare(globalCellIndex, s) >= 0 ? 'receive' : compare(globalCellIndex, s) < 0 && compare(globalCellIndex, r) >= 0 ? 'send' : 'cont';
@@ -2826,13 +2843,13 @@ function BufferedChannel() {
2826
2843
  }
2827
2844
  var cellStateString = tmp;
2828
2845
  if (!(element_0 == null)) {
2829
- sb.n1('(' + cellStateString + ',' + toString(element_0) + '),');
2846
+ sb.i1('(' + cellStateString + ',' + toString(element_0) + '),');
2830
2847
  } else {
2831
- sb.n1(cellStateString + ',');
2848
+ sb.i1(cellStateString + ',');
2832
2849
  }
2833
2850
  }
2834
2851
  while (inductionVariable < last_0);
2835
- var tmp2_elvis_lhs = segment.o1b();
2852
+ var tmp2_elvis_lhs = segment.i1b();
2836
2853
  var tmp_0;
2837
2854
  if (tmp2_elvis_lhs == null) {
2838
2855
  break append_elements;
@@ -2842,15 +2859,15 @@ function BufferedChannel() {
2842
2859
  segment = tmp_0;
2843
2860
  }
2844
2861
  if (last(sb) === _Char___init__impl__6a9atx(44)) {
2845
- sb.ih(sb.a() - 1 | 0);
2862
+ sb.bh(sb.a() - 1 | 0);
2846
2863
  }
2847
- sb.n1(']');
2864
+ sb.i1(']');
2848
2865
  return sb.toString();
2849
2866
  }
2850
2867
  }
2851
- protoOf($).q1d = close$default;
2852
- protoOf($).s1d = cancel$default;
2853
- initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2868
+ protoOf($).k1d = close$default;
2869
+ protoOf($).m1d = cancel$default;
2870
+ initMetadataForClass($, 'BufferedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
2854
2871
  BufferedChannelClass = $;
2855
2872
  }
2856
2873
  return BufferedChannelClass;
@@ -2860,10 +2877,10 @@ function WaiterEB() {
2860
2877
  if (WaiterEBClass === VOID) {
2861
2878
  class $ {
2862
2879
  constructor(waiter) {
2863
- this.d1c_1 = waiter;
2880
+ this.x1b_1 = waiter;
2864
2881
  }
2865
2882
  toString() {
2866
- return 'WaiterEB(' + toString_0(this.d1c_1) + ')';
2883
+ return 'WaiterEB(' + toString_0(this.x1b_1) + ')';
2867
2884
  }
2868
2885
  }
2869
2886
  initMetadataForClass($, 'WaiterEB');
@@ -2895,10 +2912,10 @@ function tryResume0(_this__u8e3s4, value, onCancellation) {
2895
2912
  onCancellation = onCancellation === VOID ? null : onCancellation;
2896
2913
  _init_properties_BufferedChannel_kt__d6uc4y();
2897
2914
  // Inline function 'kotlin.let' call
2898
- var token = _this__u8e3s4.e12(value, null, onCancellation);
2915
+ var token = _this__u8e3s4.y11(value, null, onCancellation);
2899
2916
  var tmp;
2900
2917
  if (!(token == null)) {
2901
- _this__u8e3s4.k10(token);
2918
+ _this__u8e3s4.d10(token);
2902
2919
  tmp = true;
2903
2920
  } else {
2904
2921
  tmp = false;
@@ -2919,7 +2936,7 @@ function createSegmentFunction() {
2919
2936
  }
2920
2937
  function createSegment(id, prev) {
2921
2938
  _init_properties_BufferedChannel_kt__d6uc4y();
2922
- return new (ChannelSegment())(id, prev, prev.k1a(), 0);
2939
+ return new (ChannelSegment())(id, prev, prev.e1a(), 0);
2923
2940
  }
2924
2941
  function createSegment$ref() {
2925
2942
  var l = (p0, p1) => createSegment(p0, p1);