@continuous-excellence/coupling-cli 1.1.498 → 1.1.499
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.
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +9 -9
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +47 -47
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +35 -35
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.js.mjs +9 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.js.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +50 -76
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +35 -35
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/GetSecureData.js.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/GetSecureData.js.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.js.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +59 -93
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +21 -42
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +26 -45
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WriteSecureData.js.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WriteSecureData.js.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +23 -23
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +24 -24
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +6 -6
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +123 -134
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +22 -24
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +203 -220
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +59 -76
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +49 -62
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +55 -72
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +195 -208
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli.mjs +1 -1
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +39 -47
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs.map +1 -1
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/CommandResult.mjs +1 -1
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +36 -44
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs.map +1 -1
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +16 -16
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs.map +1 -1
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +85 -85
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs.map +1 -1
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +59 -53
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs.map +1 -1
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +105 -134
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs.map +1 -1
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +5 -5
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +12 -12
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs.map +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +54 -54
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +6 -6
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +80 -80
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +18 -18
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +6 -6
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +35 -35
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +8 -10
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs.map +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +6 -6
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +20 -20
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/PinTarget.mjs +2 -2
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +14 -14
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +6 -6
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +23 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +4 -12
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +31 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +51 -58
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +7 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/AvatarTypeMapper.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/BadgeMapper.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +27 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +33 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +29 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +22 -22
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +33 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +24 -24
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +107 -107
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +39 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +37 -37
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +51 -51
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +9 -9
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +129 -130
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +63 -63
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +65 -65
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +3 -3
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +49 -48
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +7 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +17 -17
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +25 -25
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +15 -16
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +7 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +182 -182
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +63 -65
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/internal/UrlEncode.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/internal/UrlEncode.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +47 -47
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +93 -93
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +304 -304
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs +13 -13
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +22 -20
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +31 -31
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +151 -146
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +88 -88
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +38 -38
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +14 -14
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +53 -55
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-mpp-utils/com/apollographql/apollo/mpp/utils.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +43 -51
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +264 -281
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +8 -7
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +77 -93
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +61 -60
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +59 -59
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +51 -69
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +54 -61
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +11 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +104 -121
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +286 -320
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs +20 -15
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +89 -94
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +72 -82
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +323 -412
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +50 -64
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +26 -26
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs.map +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +3 -3
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +166 -177
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +125 -170
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +16 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +186 -186
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionCandidates.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +121 -121
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +172 -172
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +135 -135
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/JaroWinkerSimilarity.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +155 -154
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +132 -132
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +268 -268
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +49 -49
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +36 -36
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +43 -43
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/arguments/Argument.mjs +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +14 -15
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +63 -63
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +250 -251
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +14 -14
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +8 -8
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +87 -87
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +68 -87
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +338 -338
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +14 -14
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +20 -20
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +19 -19
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +79 -79
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +33 -33
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +7 -7
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +16 -16
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs +13 -13
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/ColorSpaceUtils.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Constants.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/InternalMath.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +20 -20
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +20 -20
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +21 -21
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +28 -28
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +22 -22
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +150 -150
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +147 -147
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +77 -77
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/AutoCloseableJs.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Char.mjs +29 -29
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Char.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +43 -41
- package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Enum.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Enum.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ExceptionsH.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +14 -18
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Library.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Primitives.mjs +10 -10
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Primitives.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Result.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +26 -26
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +46 -46
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +46 -46
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +46 -46
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +46 -46
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/Unit.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/UnsignedJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs +14 -14
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractCollection.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs +21 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +82 -82
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +87 -87
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +26 -26
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableListJs.mjs +93 -93
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs +37 -37
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableSet.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +222 -227
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayFunctions.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs +75 -78
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArraySorting.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +72 -72
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs +38 -38
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +80 -80
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs +60 -61
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntryDefault.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs +31 -31
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashSet.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs +246 -258
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalHashMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/InternalMap.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +10 -10
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +8 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/LinkedHashSet.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +7 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +39 -39
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MutableCollections.mjs +15 -15
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs +68 -69
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +140 -163
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs +43 -31
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Arrays.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs +150 -150
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_CollectionsJs.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Maps.mjs +15 -15
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/Continuation.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +8 -8
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +41 -41
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs +6 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs +79 -149
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/GeneratorCoroutineImpl.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/InterceptedCoroutine.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/SafeContinuationJs.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +19 -91
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/js/internal/EmptyContinuation.mjs +10 -12
- package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/js/internal/EmptyContinuation.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +22 -22
- package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +94 -94
- package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/hacks.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/hacks.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/progressionUtil.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/console.mjs +24 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs +52 -52
- package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs +3 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/internal/boxedLong/boxedLong.mjs +38 -38
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/internal/primitiveCompanionObjects.mjs +33 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs +10 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/jsIntrinsics.mjs.map +1 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs +27 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs +10 -36
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs +2 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/kotlin.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/math/math.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/math/math.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/PlatformRandom.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +48 -48
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +27 -27
- package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +41 -41
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +30 -30
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +32 -32
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Range.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Ranges.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeImpl.mjs +32 -32
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeImpl.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeParameterBase.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KVariance.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +30 -30
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +23 -23
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +65 -63
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +55 -55
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +29 -29
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/sequenceJs.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Appendable.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Char.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs +35 -35
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Indent.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +45 -45
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +133 -133
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs +13 -13
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/UStrings.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_CharCategories.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_DigitChars.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_OneToManyTitlecaseMappings.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_OtherLowercaseChars.mjs +4 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_Strings.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_TitlecaseMappings.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_WhitespaceChars.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs +3 -3
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/numberConversions.mjs +5 -5
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +118 -118
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +24 -24
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +43 -43
- package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +162 -158
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs +3 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnit.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +138 -138
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +2 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +50 -50
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +23 -23
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/measureTime.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +40 -40
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +38 -38
- package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/noPackageHacks.mjs +1 -1
- package/kotlin/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +15 -15
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs.map +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +12 -12
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs.map +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +15 -15
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +14 -14
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +9 -9
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/Trace.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +30 -31
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs +80 -85
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +62 -68
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +9 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +181 -180
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +12 -23
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +18 -22
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +10 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +16 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Debug.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +26 -20
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +59 -59
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +20 -20
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +33 -33
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +113 -113
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +27 -26
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +402 -388
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +20 -15
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +41 -44
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +9 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Window.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferOverflow.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +1165 -1148
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +46 -47
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +29 -36
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +28 -28
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +18 -18
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +31 -48
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +9 -23
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +8 -16
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +20 -28
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +36 -53
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +71 -102
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +12 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs +42 -58
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +23 -37
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +41 -60
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +255 -259
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +26 -41
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +39 -39
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +119 -150
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +5 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +9 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +18 -25
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +58 -57
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +6 -6
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +89 -89
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs +8 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/InlineList.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +43 -43
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +24 -24
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +85 -87
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +13 -13
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs +1 -0
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/SystemProps.common.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +11 -11
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +17 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +24 -21
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +58 -58
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +4 -4
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +14 -14
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +4 -4
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +227 -225
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +119 -117
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +23 -23
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +146 -146
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +9 -9
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +4 -4
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +66 -66
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +24 -24
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +23 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +23 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +58 -65
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +31 -31
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +24 -24
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +112 -112
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialKinds.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +64 -64
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +3 -3
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +35 -35
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +69 -67
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +276 -279
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +23 -23
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +41 -41
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +17 -16
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +20 -20
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +45 -45
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +27 -27
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +35 -35
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +5 -5
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +86 -86
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +513 -513
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +140 -140
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +211 -211
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +101 -104
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +64 -64
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +56 -56
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +61 -61
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +22 -22
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +96 -96
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +167 -167
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +191 -191
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +27 -27
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +79 -79
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +9 -9
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +15 -15
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +42 -42
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +51 -51
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +82 -96
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +11 -11
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +219 -218
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +158 -158
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +55 -55
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +24 -24
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +323 -323
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +214 -214
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +17 -17
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/createMapForCache.mjs +1 -1
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +138 -152
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/DefaultIgnoredTypes.web.mjs +1 -1
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +114 -135
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.web.mjs +10 -10
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +49 -49
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +10 -5
- package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +45 -45
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +91 -108
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -59
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +30 -37
- package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +134 -153
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +27 -27
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +5 -5
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +15 -15
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +27 -27
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +123 -151
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +26 -52
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +54 -65
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +34 -29
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -79
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +79 -79
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +60 -71
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +168 -213
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +114 -160
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +5 -5
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +88 -104
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +36 -53
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +47 -61
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -137
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +143 -158
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +41 -48
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +74 -84
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +14 -14
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +8 -8
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +25 -32
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +58 -81
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +119 -153
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserverContext.web.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserverContext.web.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +12 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/SSE.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +42 -64
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +139 -150
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +12 -12
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +154 -166
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +63 -93
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +21 -21
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +63 -64
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +20 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/RequestBody.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +12 -12
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +42 -50
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +26 -26
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +12 -20
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +29 -29
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +61 -81
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +39 -53
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +12 -12
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +2 -2
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +45 -62
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/KtorMDCContext.web.mjs +5 -5
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +100 -113
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +9 -9
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +16 -16
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +2 -2
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +543 -668
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +58 -73
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +24 -43
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs.map +1 -1
- package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +7 -7
- package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +70 -70
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +116 -116
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +38 -38
- package/kotlin/ktor-ktor-http/io/ktor/http/Headers.mjs +24 -24
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +67 -67
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +124 -124
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +6 -6
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +17 -17
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +17 -17
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +73 -73
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +17 -17
- package/kotlin/ktor-ktor-http/io/ktor/http/Parameters.mjs +17 -17
- package/kotlin/ktor-ktor-http/io/ktor/http/Query.mjs +7 -7
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +96 -96
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +2 -2
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +51 -51
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +32 -32
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +50 -50
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +95 -95
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +68 -68
- package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +11 -11
- package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +11 -11
- package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +15 -15
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +113 -120
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +52 -60
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +120 -201
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +62 -62
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +93 -93
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs.map +1 -1
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +38 -38
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +247 -259
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +72 -132
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +15 -15
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +110 -219
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +5 -13
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +88 -111
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +33 -41
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/IODispatcher.web.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEnding.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +23 -23
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +20 -20
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +43 -43
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +6 -6
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +7 -7
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffers.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +11 -11
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +30 -30
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +5 -5
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +6 -6
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +60 -82
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +167 -206
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +42 -42
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +9 -9
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +21 -21
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +17 -18
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +131 -165
- package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +53 -53
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Charset.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/ContentEncoders.web.mjs +8 -8
- package/kotlin/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +5 -5
- package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +61 -62
- package/kotlin/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Encoders.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.js.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +20 -20
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +146 -146
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs +23 -23
- package/kotlin/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +114 -114
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +7 -7
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +9 -9
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs +32 -43
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/Logger.web.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +34 -41
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +30 -30
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +67 -67
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +4 -4
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +78 -74
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/TypeInfo.web.mjs +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +30 -30
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +303 -383
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +42 -42
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +8 -8
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +9 -9
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +23 -23
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +121 -157
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +60 -64
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +11 -11
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +17 -17
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs +18 -37
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +25 -25
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +65 -65
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.js.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.js.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +23 -23
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +116 -116
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +20 -20
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Align.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +42 -42
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +131 -131
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/OverflowWrap.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +31 -31
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextColors.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +62 -62
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +8 -8
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +466 -469
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +30 -30
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +169 -169
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +121 -121
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +68 -68
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +16 -16
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +64 -64
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +26 -26
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +20 -20
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +114 -114
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +74 -74
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +137 -137
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Buffer.mjs +838 -830
- package/kotlin/okio-parent-okio/okio/Buffer.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/ByteString.mjs +76 -76
- package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +17 -17
- package/kotlin/okio-parent-okio/okio/Okio.mjs +4 -4
- package/kotlin/okio-parent-okio/okio/Options.mjs +73 -76
- package/kotlin/okio-parent-okio/okio/Options.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +40 -40
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +110 -110
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Segment.mjs +75 -75
- package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +6 -6
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +56 -56
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Util.mjs +2 -2
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +40 -40
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +27 -27
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +26 -26
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +10 -10
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs.map +1 -1
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +5 -5
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs.map +1 -1
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +10 -11
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs.map +1 -1
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +183 -160
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs.map +1 -1
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +53 -67
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs.map +1 -1
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +53 -60
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs.map +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/AnyX.mjs +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/AnyX.mjs.map +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +20 -20
- package/kotlin/types-types-internal/kotools/types/internal/Errors.mjs +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/KClassX.mjs +4 -4
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +13 -13
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs.map +1 -1
- package/kotlin/uuid/com/benasher44/uuid/platform.mjs +2 -2
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +21 -21
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs.map +1 -1
- package/package.json +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs +0 -33
- package/kotlin/kotlin-kotlin-stdlib/kotlin/internal/IrLinkageError.mjs.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs +0 -83
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/BitMask.mjs.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs +0 -15
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/coroutineInternalJS.mjs.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
58
|
+
Companion_instance1xjg859pd52fi as Companion_instance,
|
|
63
59
|
createFailure8paxfkfa5dc7 as createFailure,
|
|
64
|
-
|
|
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
|
-
|
|
66
|
+
Companion_getInstance2d24j5bn8excb as Companion_getInstance,
|
|
71
67
|
ChannelResult2y4k69ac6y3du as ChannelResult,
|
|
72
68
|
ClosedReceiveChannelException3ofg6gf5f5b38 as ClosedReceiveChannelException,
|
|
73
|
-
|
|
69
|
+
ChannelResult__getOrNull_impl_f5e07h25z6we1ochnsd as ChannelResult__getOrNull_impl_f5e07h,
|
|
74
70
|
ClosedSendChannelException29m33prpq9jaw as ClosedSendChannelException,
|
|
75
|
-
close$
|
|
76
|
-
cancel$
|
|
71
|
+
close$default1evna6yun3t5h as close$default,
|
|
72
|
+
cancel$default1fq6eekptkf7a as cancel$default,
|
|
77
73
|
SendChannel38sllbxw662ws as SendChannel,
|
|
78
74
|
ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
|
|
79
75
|
} from './Channel.mjs';
|
|
80
76
|
import {
|
|
81
77
|
SelectInstance2isepgzfsd8ur as SelectInstance,
|
|
82
78
|
SelectImplementation59ci94k9x9wm as SelectImplementation,
|
|
83
|
-
|
|
84
|
-
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
access$
|
|
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 {
|
|
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.
|
|
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.
|
|
215
|
-
this.
|
|
210
|
+
this.c1a_1 = channel;
|
|
211
|
+
this.d1a_1 = atomicfu$AtomicRefArray$ofNulls(imul(get_SEGMENT_SIZE(), 2));
|
|
216
212
|
}
|
|
217
|
-
|
|
218
|
-
return ensureNotNull(this.
|
|
213
|
+
e1a() {
|
|
214
|
+
return ensureNotNull(this.c1a_1);
|
|
219
215
|
}
|
|
220
|
-
|
|
216
|
+
f1a() {
|
|
221
217
|
return get_SEGMENT_SIZE();
|
|
222
218
|
}
|
|
223
|
-
|
|
219
|
+
g1a(index, element) {
|
|
224
220
|
setElementLazy(this, index, element);
|
|
225
221
|
}
|
|
226
|
-
|
|
227
|
-
|
|
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
|
-
|
|
225
|
+
i1a(index) {
|
|
231
226
|
// Inline function 'kotlin.also' call
|
|
232
|
-
var this_0 = this.
|
|
233
|
-
this.
|
|
227
|
+
var this_0 = this.h1a(index);
|
|
228
|
+
this.j1a(index);
|
|
234
229
|
return this_0;
|
|
235
230
|
}
|
|
236
|
-
|
|
231
|
+
j1a(index) {
|
|
237
232
|
setElementLazy(this, index, null);
|
|
238
233
|
}
|
|
239
|
-
|
|
240
|
-
return this.
|
|
234
|
+
k1a(index) {
|
|
235
|
+
return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value;
|
|
241
236
|
}
|
|
242
|
-
|
|
243
|
-
this.
|
|
237
|
+
l1a(index, value) {
|
|
238
|
+
this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).kotlinx$atomicfu$value = value;
|
|
244
239
|
}
|
|
245
|
-
|
|
246
|
-
return this.
|
|
240
|
+
m1a(index, from, to) {
|
|
241
|
+
return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$compareAndSet(from, to);
|
|
247
242
|
}
|
|
248
|
-
|
|
249
|
-
return this.
|
|
243
|
+
n1a(index, update) {
|
|
244
|
+
return this.d1a_1.atomicfu$get(imul(index, 2) + 1 | 0).atomicfu$getAndSet(update);
|
|
250
245
|
}
|
|
251
|
-
|
|
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.
|
|
249
|
+
var element = this.h1a(index_0);
|
|
255
250
|
$l$loop: while (true) {
|
|
256
|
-
var cur = this.
|
|
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.
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
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.
|
|
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.
|
|
275
|
+
this.j1a(index_0);
|
|
281
276
|
if (isSender) {
|
|
282
|
-
var tmp1_safe_receiver = this.
|
|
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
|
-
|
|
305
|
+
a1b(index, receiver) {
|
|
311
306
|
if (receiver) {
|
|
312
|
-
var tmp = this.
|
|
313
|
-
var tmp0 = this.
|
|
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.
|
|
314
|
+
tmp.b1b(tmp$ret$1);
|
|
320
315
|
}
|
|
321
|
-
this.
|
|
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.
|
|
399
|
-
var tmp0_elvis_lhs = $this.
|
|
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
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
var
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
$
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
// Inline function '
|
|
432
|
-
var
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
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
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
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
|
-
|
|
457
|
-
if (
|
|
458
|
-
|
|
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
|
-
|
|
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
|
-
|
|
426
|
+
return cancellable.x10();
|
|
427
|
+
};
|
|
494
428
|
}
|
|
495
429
|
function onClosedHasNextNoWaiterSuspend($this) {
|
|
496
|
-
var cont = ensureNotNull($this.
|
|
497
|
-
$this.
|
|
498
|
-
$this.
|
|
499
|
-
var cause = $this.
|
|
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$
|
|
504
|
-
cont.
|
|
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$
|
|
510
|
-
cont.
|
|
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.
|
|
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 *
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
var
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
var
|
|
539
|
-
var tmp;
|
|
540
|
-
|
|
541
|
-
|
|
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
|
|
617
|
-
var tmp$ret$
|
|
618
|
-
cancellable.
|
|
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
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
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
|
-
|
|
506
|
+
// Inline function 'kotlin.Companion.success' call
|
|
640
507
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
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
|
-
|
|
514
|
+
// Inline function 'kotlin.Companion.success' call
|
|
648
515
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
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
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
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
|
-
|
|
558
|
+
tmp = tmp0_elvis_lhs;
|
|
689
559
|
}
|
|
690
|
-
|
|
691
|
-
tmp = tmp0_elvis_lhs;
|
|
560
|
+
segment_0 = tmp;
|
|
692
561
|
}
|
|
693
|
-
segment_0
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
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
|
-
|
|
567
|
+
// Inline function 'kotlin.Companion.success' call
|
|
701
568
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
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
|
-
|
|
575
|
+
// Inline function 'kotlin.Companion.success' call
|
|
709
576
|
|
|
710
|
-
|
|
711
|
-
|
|
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
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
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
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
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
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
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
|
-
|
|
742
|
-
|
|
608
|
+
var message = 'unexpected';
|
|
609
|
+
throw IllegalStateException().o(toString_0(message));
|
|
610
|
+
}
|
|
743
611
|
}
|
|
744
612
|
}
|
|
745
|
-
}
|
|
746
613
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
614
|
+
break;
|
|
615
|
+
default:
|
|
616
|
+
// Inline function 'kotlin.error' call
|
|
750
617
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
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
|
-
|
|
630
|
+
return cancellable.x10();
|
|
631
|
+
});
|
|
632
|
+
return Unit_instance;
|
|
764
633
|
}
|
|
765
|
-
function prepareSenderForSuspension($this,
|
|
766
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
778
|
-
var tmp$ret$
|
|
779
|
-
cont.
|
|
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.
|
|
660
|
+
segment.g1a(index, element);
|
|
792
661
|
if (closed)
|
|
793
662
|
return updateCellSendSlow($this, segment, index, element, s, waiter, closed);
|
|
794
|
-
var state = segment.
|
|
663
|
+
var state = segment.k1a(index);
|
|
795
664
|
if (state === null) {
|
|
796
665
|
if (bufferOrRendezvousSend($this, s)) {
|
|
797
|
-
if (segment.
|
|
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.
|
|
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.
|
|
679
|
+
segment.j1a(index);
|
|
811
680
|
var tmp;
|
|
812
681
|
if (tryResumeReceiver($this, state, element)) {
|
|
813
|
-
segment.
|
|
814
|
-
$this.
|
|
682
|
+
segment.l1a(index, get_DONE_RCV());
|
|
683
|
+
$this.w1b();
|
|
815
684
|
tmp = 0;
|
|
816
685
|
} else {
|
|
817
|
-
if (!(segment.
|
|
818
|
-
segment.
|
|
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.
|
|
698
|
+
var state = segment.k1a(index);
|
|
830
699
|
if (state === null) {
|
|
831
700
|
if (bufferOrRendezvousSend($this, s) && !closed) {
|
|
832
|
-
if (segment.
|
|
701
|
+
if (segment.m1a(index, null, get_BUFFERED())) {
|
|
833
702
|
return 1;
|
|
834
703
|
}
|
|
835
704
|
} else {
|
|
836
705
|
if (closed) {
|
|
837
|
-
if (segment.
|
|
838
|
-
segment.
|
|
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.
|
|
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.
|
|
716
|
+
if (segment.m1a(index, state, get_BUFFERED())) {
|
|
848
717
|
return 1;
|
|
849
718
|
}
|
|
850
719
|
} else if (state === get_INTERRUPTED_RCV()) {
|
|
851
|
-
segment.
|
|
720
|
+
segment.j1a(index);
|
|
852
721
|
return 5;
|
|
853
722
|
} else if (state === get_POISONED()) {
|
|
854
|
-
segment.
|
|
723
|
+
segment.j1a(index);
|
|
855
724
|
return 5;
|
|
856
725
|
} else if (state === get_CHANNEL_CLOSED()) {
|
|
857
|
-
segment.
|
|
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.
|
|
731
|
+
segment.j1a(index);
|
|
863
732
|
var tmp;
|
|
864
733
|
if (state instanceof WaiterEB()) {
|
|
865
|
-
tmp = state.
|
|
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.
|
|
873
|
-
$this.
|
|
741
|
+
segment.l1a(index, get_DONE_RCV());
|
|
742
|
+
$this.w1b();
|
|
874
743
|
tmp_0 = 0;
|
|
875
744
|
} else {
|
|
876
|
-
if (!(segment.
|
|
877
|
-
segment.
|
|
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.
|
|
766
|
+
var tmp0 = $this.v1b();
|
|
898
767
|
// Inline function 'kotlin.Long.plus' call
|
|
899
|
-
var other = $this.
|
|
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,
|
|
774
|
+
function tryResumeReceiver($this, $receiver, element) {
|
|
906
775
|
var tmp;
|
|
907
|
-
if (isInterface(
|
|
908
|
-
tmp =
|
|
776
|
+
if (isInterface($receiver, SelectInstance())) {
|
|
777
|
+
tmp = $receiver.c1c($this, element);
|
|
909
778
|
} else {
|
|
910
|
-
if (
|
|
911
|
-
if (!(
|
|
779
|
+
if ($receiver instanceof ReceiveCatching()) {
|
|
780
|
+
if (!($receiver instanceof ReceiveCatching()))
|
|
912
781
|
THROW_CCE();
|
|
913
|
-
var tmp_0 = Companion_getInstance().
|
|
914
|
-
var tmp1_safe_receiver = $this.
|
|
915
|
-
tmp = tryResume0(
|
|
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 (
|
|
918
|
-
if (!(
|
|
786
|
+
if ($receiver instanceof BufferedChannelIterator()) {
|
|
787
|
+
if (!($receiver instanceof BufferedChannelIterator()))
|
|
919
788
|
THROW_CCE();
|
|
920
|
-
tmp =
|
|
789
|
+
tmp = $receiver.y1b(element);
|
|
921
790
|
} else {
|
|
922
|
-
if (isInterface(
|
|
923
|
-
if (!isInterface(
|
|
791
|
+
if (isInterface($receiver, CancellableContinuation())) {
|
|
792
|
+
if (!isInterface($receiver, CancellableContinuation()))
|
|
924
793
|
THROW_CCE();
|
|
925
|
-
var tmp2_safe_receiver = $this.
|
|
926
|
-
tmp = tryResume0(
|
|
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
|
-
|
|
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 *
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
var
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
var
|
|
946
|
-
// Inline function '
|
|
947
|
-
var
|
|
948
|
-
var
|
|
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
|
-
|
|
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(
|
|
976
|
-
|
|
822
|
+
if (compare(r_0, tmp0.s1b()) < 0) {
|
|
823
|
+
tmp2.m1b();
|
|
977
824
|
}
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
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
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
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
|
-
|
|
1041
|
-
if (
|
|
1042
|
-
|
|
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
|
-
|
|
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
891
|
}
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
var e = $p;
|
|
1069
|
-
cancellable.w13();
|
|
1070
|
-
throw e;
|
|
1071
|
-
} else {
|
|
1072
|
-
throw $p;
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
return cancellable.e11();
|
|
892
|
+
return cancellable.x10();
|
|
893
|
+
};
|
|
1076
894
|
}
|
|
1077
|
-
function prepareReceiverForSuspension($this,
|
|
1078
|
-
$this.
|
|
1079
|
-
|
|
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$
|
|
1086
|
-
cont.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
922
|
+
if (segment.m1a(index, state, get_DONE_RCV())) {
|
|
1105
923
|
expandBuffer($this);
|
|
1106
|
-
return segment.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
950
|
+
if (segment.m1a(index, state, get_DONE_RCV())) {
|
|
1133
951
|
expandBuffer($this);
|
|
1134
|
-
return segment.
|
|
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.
|
|
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.
|
|
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.
|
|
975
|
+
segment.l1a(index, get_DONE_RCV());
|
|
1158
976
|
expandBuffer($this);
|
|
1159
|
-
tmp_0 = segment.
|
|
977
|
+
tmp_0 = segment.i1a(index);
|
|
1160
978
|
} else {
|
|
1161
|
-
segment.
|
|
1162
|
-
segment.
|
|
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,
|
|
991
|
+
function tryResumeSender($this, $receiver, segment, index) {
|
|
1174
992
|
var tmp;
|
|
1175
|
-
if (isInterface(
|
|
1176
|
-
if (!isInterface(
|
|
993
|
+
if (isInterface($receiver, CancellableContinuation())) {
|
|
994
|
+
if (!isInterface($receiver, CancellableContinuation()))
|
|
1177
995
|
THROW_CCE();
|
|
1178
|
-
tmp = tryResume0(
|
|
996
|
+
tmp = tryResume0($receiver, Unit_instance);
|
|
1179
997
|
} else {
|
|
1180
|
-
if (isInterface(
|
|
1181
|
-
if (!(
|
|
998
|
+
if (isInterface($receiver, SelectInstance())) {
|
|
999
|
+
if (!($receiver instanceof SelectImplementation()))
|
|
1182
1000
|
THROW_CCE();
|
|
1183
|
-
var trySelectResult =
|
|
1001
|
+
var trySelectResult = $receiver.i1c($this, Unit_instance);
|
|
1184
1002
|
if (trySelectResult === TrySelectDetailedResult_REREGISTER_getInstance()) {
|
|
1185
|
-
segment.
|
|
1003
|
+
segment.j1a(index);
|
|
1186
1004
|
}
|
|
1187
1005
|
tmp = trySelectResult === TrySelectDetailedResult_SUCCESSFUL_getInstance();
|
|
1188
1006
|
} else {
|
|
1189
|
-
if (
|
|
1190
|
-
tmp = tryResume0(
|
|
1007
|
+
if ($receiver instanceof SendBroadcast()) {
|
|
1008
|
+
tmp = tryResume0($receiver.e1c_1, true);
|
|
1191
1009
|
} else {
|
|
1192
|
-
|
|
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.
|
|
1021
|
+
var segment = $this.w1a_1.kotlinx$atomicfu$value;
|
|
1203
1022
|
try_again: while (true) {
|
|
1204
|
-
var b = $this.
|
|
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.
|
|
1027
|
+
var s = $this.s1b();
|
|
1209
1028
|
if (compare(s, b) <= 0) {
|
|
1210
|
-
if (compare(segment.
|
|
1029
|
+
if (compare(segment.r12_1, id) < 0 && !(segment.i1b() == null)) {
|
|
1211
1030
|
moveSegmentBufferEndToSpecifiedOrLast($this, id, segment);
|
|
1212
1031
|
}
|
|
1213
|
-
incCompletedExpandBufferAttempts
|
|
1032
|
+
incCompletedExpandBufferAttempts($this);
|
|
1214
1033
|
return Unit_instance;
|
|
1215
1034
|
}
|
|
1216
|
-
if (!equalsLong(segment.
|
|
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
|
|
1050
|
+
incCompletedExpandBufferAttempts($this);
|
|
1232
1051
|
return Unit_instance;
|
|
1233
1052
|
} else {
|
|
1234
|
-
incCompletedExpandBufferAttempts
|
|
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.
|
|
1059
|
+
var state = segment.k1a(index);
|
|
1241
1060
|
if (!(state == null) ? isInterface(state, Waiter()) : false) {
|
|
1242
|
-
if (compare(b, $this.
|
|
1243
|
-
if (segment.
|
|
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.
|
|
1065
|
+
segment.l1a(index, get_BUFFERED());
|
|
1247
1066
|
tmp = true;
|
|
1248
1067
|
} else {
|
|
1249
|
-
segment.
|
|
1250
|
-
segment.
|
|
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.
|
|
1080
|
+
var state = segment.k1a(index);
|
|
1262
1081
|
if (!(state == null) ? isInterface(state, Waiter()) : false) {
|
|
1263
|
-
if (compare(b, $this.
|
|
1264
|
-
if (segment.
|
|
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.
|
|
1086
|
+
if (segment.m1a(index, state, get_RESUMING_BY_EB())) {
|
|
1268
1087
|
var tmp;
|
|
1269
1088
|
if (tryResumeSender($this, state, segment, index)) {
|
|
1270
|
-
segment.
|
|
1089
|
+
segment.l1a(index, get_BUFFERED());
|
|
1271
1090
|
tmp = true;
|
|
1272
1091
|
} else {
|
|
1273
|
-
segment.
|
|
1274
|
-
segment.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1336
|
-
this.
|
|
1337
|
-
this.
|
|
1151
|
+
this.q1b_1 = $outer;
|
|
1152
|
+
this.o1b_1 = get_NO_RECEIVE_RESULT();
|
|
1153
|
+
this.p1b_1 = null;
|
|
1338
1154
|
}
|
|
1339
|
-
|
|
1340
|
-
|
|
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
|
-
|
|
1343
|
-
var tmp0_safe_receiver = this.
|
|
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.
|
|
1226
|
+
tmp0_safe_receiver.w13(segment, index);
|
|
1348
1227
|
}
|
|
1349
1228
|
}
|
|
1350
|
-
|
|
1351
|
-
var result = this.
|
|
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.
|
|
1236
|
+
this.o1b_1 = get_NO_RECEIVE_RESULT();
|
|
1358
1237
|
if (result === get_CHANNEL_CLOSED())
|
|
1359
|
-
throw recoverStackTrace(_get_receiveException__foorc1(this.
|
|
1360
|
-
return
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
var cont = ensureNotNull(this.
|
|
1364
|
-
this.
|
|
1365
|
-
this.
|
|
1366
|
-
var tmp0_safe_receiver = this.
|
|
1367
|
-
return tryResume0(cont, true, tmp0_safe_receiver == null ? null : bindCancellationFun(this.
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
var cont = ensureNotNull(this.
|
|
1371
|
-
this.
|
|
1372
|
-
this.
|
|
1373
|
-
var cause = this.
|
|
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$
|
|
1378
|
-
cont.
|
|
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$
|
|
1384
|
-
cont.
|
|
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.
|
|
1395
|
-
return tmp0_elvis_lhs == null ? ClosedReceiveChannelException().
|
|
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.
|
|
1399
|
-
var tmp$ret$
|
|
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$
|
|
1291
|
+
tmp$ret$0 = cur;
|
|
1413
1292
|
break $l$block;
|
|
1414
1293
|
}
|
|
1415
1294
|
}
|
|
1416
1295
|
}
|
|
1417
|
-
var tmp0_elvis_lhs = tmp$ret$
|
|
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.
|
|
1306
|
+
closeHandler($this.r1b());
|
|
1428
1307
|
}
|
|
1429
1308
|
function markClosed($this) {
|
|
1430
|
-
var tmp0 = $this.
|
|
1431
|
-
var tmp$ret$
|
|
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$
|
|
1443
|
-
tmp = constructSendersAndCloseStatus(tmp$ret$
|
|
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$
|
|
1449
|
-
tmp = constructSendersAndCloseStatus(tmp$ret$
|
|
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$
|
|
1335
|
+
tmp$ret$0 = Unit_instance;
|
|
1457
1336
|
break $l$block;
|
|
1458
1337
|
}
|
|
1459
1338
|
}
|
|
1460
|
-
tmp$ret$
|
|
1339
|
+
tmp$ret$0 = Unit_instance;
|
|
1461
1340
|
}
|
|
1462
|
-
return tmp$ret$
|
|
1341
|
+
return tmp$ret$0;
|
|
1463
1342
|
}
|
|
1464
1343
|
function markCancelled($this) {
|
|
1465
|
-
var tmp0 = $this.
|
|
1466
|
-
var tmp$ret$
|
|
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$
|
|
1473
|
-
var upd = constructSendersAndCloseStatus(tmp$ret$
|
|
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$
|
|
1354
|
+
tmp$ret$0 = Unit_instance;
|
|
1476
1355
|
break $l$block;
|
|
1477
1356
|
}
|
|
1478
1357
|
}
|
|
1479
|
-
tmp$ret$
|
|
1358
|
+
tmp$ret$0 = Unit_instance;
|
|
1480
1359
|
}
|
|
1481
|
-
return tmp$ret$
|
|
1360
|
+
return tmp$ret$0;
|
|
1482
1361
|
}
|
|
1483
1362
|
function markCancellationStarted($this) {
|
|
1484
|
-
var tmp0 = $this.
|
|
1485
|
-
var tmp$ret$
|
|
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$
|
|
1495
|
-
tmp = constructSendersAndCloseStatus(tmp$ret$
|
|
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$
|
|
1380
|
+
tmp$ret$0 = Unit_instance;
|
|
1502
1381
|
break $l$block;
|
|
1503
1382
|
}
|
|
1504
1383
|
}
|
|
1505
|
-
tmp$ret$
|
|
1384
|
+
tmp$ret$0 = Unit_instance;
|
|
1506
1385
|
}
|
|
1507
|
-
return tmp$ret$
|
|
1386
|
+
return tmp$ret$0;
|
|
1508
1387
|
}
|
|
1509
1388
|
function completeCloseOrCancel($this) {
|
|
1510
|
-
$this.
|
|
1389
|
+
$this.q1c();
|
|
1511
1390
|
}
|
|
1512
1391
|
function completeClose($this, sendersCur) {
|
|
1513
1392
|
var lastSegment = closeLinkedList($this);
|
|
1514
|
-
if ($this.
|
|
1393
|
+
if ($this.s1c()) {
|
|
1515
1394
|
var lastBufferedCellGlobalIndex = markAllEmptyCellsAsClosed($this, lastSegment);
|
|
1516
1395
|
if (!equalsLong(lastBufferedCellGlobalIndex, new (Long())(-1, -1))) {
|
|
1517
|
-
$this.
|
|
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.
|
|
1407
|
+
var lastSegment = $this.w1a_1.kotlinx$atomicfu$value;
|
|
1529
1408
|
// Inline function 'kotlin.let' call
|
|
1530
|
-
var it = $this.
|
|
1531
|
-
if (compare(it.
|
|
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.
|
|
1535
|
-
if (compare(it_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.
|
|
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.
|
|
1432
|
+
if (compare(globalIndex, $this.v1b()) < 0)
|
|
1554
1433
|
return new (Long())(-1, -1);
|
|
1555
1434
|
cell_update: while (true) {
|
|
1556
|
-
var state = segment.
|
|
1435
|
+
var state = segment.k1a(index);
|
|
1557
1436
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1558
|
-
if (segment.
|
|
1559
|
-
segment.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
1481
|
+
if (compare(globalIndex, $this.v1b()) < 0)
|
|
1603
1482
|
break process_segments;
|
|
1604
|
-
if (segment.
|
|
1483
|
+
if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
|
|
1605
1484
|
if (!(onUndeliveredElement == null)) {
|
|
1606
|
-
var element = segment.
|
|
1485
|
+
var element = segment.h1a(index);
|
|
1607
1486
|
undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, element, undeliveredElementException);
|
|
1608
1487
|
}
|
|
1609
|
-
segment.
|
|
1610
|
-
segment.
|
|
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.
|
|
1616
|
-
segment.
|
|
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.
|
|
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.
|
|
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.
|
|
1515
|
+
if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
|
|
1637
1516
|
if (!(onUndeliveredElement == null)) {
|
|
1638
|
-
var element_0 = segment.
|
|
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.
|
|
1643
|
-
segment.
|
|
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.
|
|
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
|
|
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
|
|
1685
|
-
var list =
|
|
1686
|
-
var inductionVariable_0 = list.
|
|
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.
|
|
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.
|
|
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.
|
|
1602
|
+
var state = segment.k1a(index);
|
|
1725
1603
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1726
|
-
if (segment.
|
|
1727
|
-
segment.
|
|
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.
|
|
1733
|
-
suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state.
|
|
1734
|
-
segment.
|
|
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.
|
|
1617
|
+
if (segment.m1a(index, state, get_CHANNEL_CLOSED())) {
|
|
1740
1618
|
suspendedReceivers = InlineList__plus_impl_nuetvo(suspendedReceivers, state);
|
|
1741
|
-
segment.
|
|
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.
|
|
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
|
|
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
|
|
1767
|
-
var list =
|
|
1768
|
-
var inductionVariable_0 = list.
|
|
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.
|
|
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,
|
|
1782
|
-
return resumeWaiterOnClosedChannel($this,
|
|
1658
|
+
function resumeReceiverOnClosedChannel($this, $receiver) {
|
|
1659
|
+
return resumeWaiterOnClosedChannel($this, $receiver, true);
|
|
1783
1660
|
}
|
|
1784
|
-
function resumeSenderOnCancelledChannel($this,
|
|
1785
|
-
return resumeWaiterOnClosedChannel($this,
|
|
1661
|
+
function resumeSenderOnCancelledChannel($this, $receiver) {
|
|
1662
|
+
return resumeWaiterOnClosedChannel($this, $receiver, false);
|
|
1786
1663
|
}
|
|
1787
|
-
function resumeWaiterOnClosedChannel($this,
|
|
1788
|
-
if (
|
|
1664
|
+
function resumeWaiterOnClosedChannel($this, $receiver, receiver) {
|
|
1665
|
+
if ($receiver instanceof SendBroadcast()) {
|
|
1789
1666
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1790
|
-
var this_0 =
|
|
1667
|
+
var this_0 = $receiver.e1c_1;
|
|
1791
1668
|
// Inline function 'kotlin.Companion.success' call
|
|
1792
|
-
var tmp$ret$
|
|
1793
|
-
this_0.
|
|
1669
|
+
var tmp$ret$1 = _Result___init__impl__xyqfz8(false);
|
|
1670
|
+
this_0.yc(tmp$ret$1);
|
|
1794
1671
|
} else {
|
|
1795
|
-
if (isInterface(
|
|
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.
|
|
1799
|
-
var tmp$ret$
|
|
1800
|
-
|
|
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 (
|
|
1803
|
-
var tmp0 =
|
|
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().
|
|
1807
|
-
var tmp$ret$
|
|
1808
|
-
tmp0.
|
|
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 (
|
|
1811
|
-
|
|
1687
|
+
if ($receiver instanceof BufferedChannelIterator()) {
|
|
1688
|
+
$receiver.k1c();
|
|
1812
1689
|
} else {
|
|
1813
|
-
if (isInterface(
|
|
1814
|
-
|
|
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(
|
|
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,
|
|
1826
|
-
return isClosed($this,
|
|
1702
|
+
function _get_isClosedForSend0__kxgf9m($this, $receiver) {
|
|
1703
|
+
return isClosed($this, $receiver, false);
|
|
1827
1704
|
}
|
|
1828
|
-
function _get_isClosedForReceive0__f7qknl($this,
|
|
1829
|
-
return isClosed($this,
|
|
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.
|
|
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.
|
|
1744
|
+
var state = segment.k1a(index);
|
|
1866
1745
|
if (state === null || state === get_IN_BUFFER()) {
|
|
1867
|
-
if (segment.
|
|
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.
|
|
1765
|
+
return equalsLong(globalIndex, $this.v1b());
|
|
1887
1766
|
}
|
|
1888
1767
|
}
|
|
1889
1768
|
function findSegmentSend($this, id, startFrom) {
|
|
1890
|
-
var tmp0 = $this.
|
|
1769
|
+
var tmp0 = $this.u1a_1;
|
|
1891
1770
|
var tmp6 = createSegmentFunction();
|
|
1892
|
-
var tmp$ret$
|
|
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$
|
|
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.
|
|
1908
|
-
tmp$ret$
|
|
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.
|
|
1912
|
-
tmp$ret$
|
|
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.
|
|
1917
|
-
cur.
|
|
1797
|
+
if (cur.f1b()) {
|
|
1798
|
+
cur.n6();
|
|
1918
1799
|
}
|
|
1919
|
-
tmp$ret$
|
|
1800
|
+
tmp$ret$1 = true;
|
|
1920
1801
|
break $l$block_1;
|
|
1921
1802
|
}
|
|
1922
|
-
if (tmp2.
|
|
1923
|
-
tmp2.
|
|
1803
|
+
if (tmp2.f1b()) {
|
|
1804
|
+
tmp2.n6();
|
|
1924
1805
|
}
|
|
1925
1806
|
}
|
|
1926
|
-
tmp$ret$
|
|
1807
|
+
tmp$ret$1 = tmp$ret$2;
|
|
1927
1808
|
}
|
|
1928
|
-
tmp = tmp$ret$
|
|
1809
|
+
tmp = tmp$ret$1;
|
|
1929
1810
|
}
|
|
1930
1811
|
if (tmp) {
|
|
1931
|
-
tmp$ret$
|
|
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$
|
|
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.
|
|
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$
|
|
1945
|
-
if (compare(tmp$ret$
|
|
1946
|
-
startFrom.
|
|
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.
|
|
1953
|
-
var tmp0_1 = segment.
|
|
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$
|
|
1957
|
-
updateSendersCounterIfLower($this, tmp$ret$
|
|
1958
|
-
var tmp0_2 = segment.
|
|
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$
|
|
1962
|
-
if (compare(tmp$ret$
|
|
1963
|
-
segment.
|
|
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.
|
|
1856
|
+
var tmp0 = $this.v1a_1;
|
|
1976
1857
|
var tmp6 = createSegmentFunction();
|
|
1977
|
-
var tmp$ret$
|
|
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$
|
|
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.
|
|
1993
|
-
tmp$ret$
|
|
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.
|
|
1997
|
-
tmp$ret$
|
|
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.
|
|
2002
|
-
cur.
|
|
1884
|
+
if (cur.f1b()) {
|
|
1885
|
+
cur.n6();
|
|
2003
1886
|
}
|
|
2004
|
-
tmp$ret$
|
|
1887
|
+
tmp$ret$1 = true;
|
|
2005
1888
|
break $l$block_1;
|
|
2006
1889
|
}
|
|
2007
|
-
if (tmp2.
|
|
2008
|
-
tmp2.
|
|
1890
|
+
if (tmp2.f1b()) {
|
|
1891
|
+
tmp2.n6();
|
|
2009
1892
|
}
|
|
2010
1893
|
}
|
|
2011
|
-
tmp$ret$
|
|
1894
|
+
tmp$ret$1 = tmp$ret$2;
|
|
2012
1895
|
}
|
|
2013
|
-
tmp = tmp$ret$
|
|
1896
|
+
tmp = tmp$ret$1;
|
|
2014
1897
|
}
|
|
2015
1898
|
if (tmp) {
|
|
2016
|
-
tmp$ret$
|
|
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$
|
|
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.
|
|
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$
|
|
2030
|
-
if (compare(tmp$ret$
|
|
2031
|
-
startFrom.
|
|
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$
|
|
2042
|
-
tmp_1 = compare(id, tmp$ret$
|
|
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.
|
|
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.
|
|
1936
|
+
if (compare(cur_0.r12_1, segment.r12_1) >= 0) {
|
|
2053
1937
|
break $l$block_5;
|
|
2054
1938
|
}
|
|
2055
|
-
if (!segment.
|
|
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.
|
|
2060
|
-
cur_0.
|
|
1943
|
+
if (cur_0.f1b()) {
|
|
1944
|
+
cur_0.n6();
|
|
2061
1945
|
}
|
|
2062
1946
|
break $l$block_5;
|
|
2063
1947
|
}
|
|
2064
|
-
if (segment.
|
|
2065
|
-
segment.
|
|
1948
|
+
if (segment.f1b()) {
|
|
1949
|
+
segment.n6();
|
|
2066
1950
|
}
|
|
2067
1951
|
}
|
|
2068
1952
|
}
|
|
2069
1953
|
}
|
|
2070
1954
|
var tmp_2;
|
|
2071
|
-
if (compare(segment.
|
|
2072
|
-
var tmp0_3 = segment.
|
|
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$
|
|
2076
|
-
updateReceiversCounterIfLower($this, tmp$ret$
|
|
2077
|
-
var tmp0_4 = segment.
|
|
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$
|
|
2081
|
-
if (compare(tmp$ret$
|
|
2082
|
-
segment.
|
|
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.
|
|
1978
|
+
var tmp0 = $this.w1a_1;
|
|
2095
1979
|
var tmp6 = createSegmentFunction();
|
|
2096
|
-
var tmp$ret$
|
|
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$
|
|
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.
|
|
2112
|
-
tmp$ret$
|
|
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.
|
|
2116
|
-
tmp$ret$
|
|
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.
|
|
2121
|
-
cur.
|
|
2006
|
+
if (cur.f1b()) {
|
|
2007
|
+
cur.n6();
|
|
2122
2008
|
}
|
|
2123
|
-
tmp$ret$
|
|
2009
|
+
tmp$ret$1 = true;
|
|
2124
2010
|
break $l$block_1;
|
|
2125
2011
|
}
|
|
2126
|
-
if (tmp2.
|
|
2127
|
-
tmp2.
|
|
2012
|
+
if (tmp2.f1b()) {
|
|
2013
|
+
tmp2.n6();
|
|
2128
2014
|
}
|
|
2129
2015
|
}
|
|
2130
|
-
tmp$ret$
|
|
2016
|
+
tmp$ret$1 = tmp$ret$2;
|
|
2131
2017
|
}
|
|
2132
|
-
tmp = tmp$ret$
|
|
2018
|
+
tmp = tmp$ret$1;
|
|
2133
2019
|
}
|
|
2134
2020
|
if (tmp) {
|
|
2135
|
-
tmp$ret$
|
|
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$
|
|
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
|
|
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.
|
|
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.
|
|
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$
|
|
2158
|
-
if ($this.
|
|
2159
|
-
var tmp0_1 = segment.
|
|
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$
|
|
2163
|
-
incCompletedExpandBufferAttempts($this, subtract(tmp$ret$
|
|
2048
|
+
var tmp$ret$8 = multiply(tmp0_1, fromInt(other_0));
|
|
2049
|
+
incCompletedExpandBufferAttempts($this, subtract(tmp$ret$8, currentBufferEndCounter));
|
|
2164
2050
|
} else {
|
|
2165
|
-
incCompletedExpandBufferAttempts
|
|
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.
|
|
2179
|
-
var tmp0_elvis_lhs = segment.
|
|
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.
|
|
2190
|
-
var tmp1_elvis_lhs = segment.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
2216
|
-
cur.
|
|
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.
|
|
2222
|
-
tmp2.
|
|
2109
|
+
if (tmp2.f1b()) {
|
|
2110
|
+
tmp2.n6();
|
|
2223
2111
|
}
|
|
2224
2112
|
}
|
|
2225
|
-
tmp$ret$0 =
|
|
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
|
|
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$
|
|
2241
|
-
var update = constructSendersAndCloseStatus(curCounter, tmp$ret$
|
|
2242
|
-
if ($this.
|
|
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
|
|
2135
|
+
return tmp$ret$0;
|
|
2246
2136
|
}
|
|
2247
2137
|
function updateReceiversCounterIfLower($this, value) {
|
|
2248
|
-
var
|
|
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.
|
|
2145
|
+
if ($this.r1a_1.atomicfu$compareAndSet(cur, value))
|
|
2254
2146
|
return Unit_instance;
|
|
2255
2147
|
}
|
|
2256
|
-
return
|
|
2148
|
+
return tmp$ret$0;
|
|
2257
2149
|
}
|
|
2258
|
-
function bindCancellationFunResult($this,
|
|
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.
|
|
2154
|
+
callUndeliveredElement(ensureNotNull($this.p1a_1), ensureNotNull(ChannelResult__getOrNull_impl_f5e07h(element)), context);
|
|
2263
2155
|
}
|
|
2264
|
-
function bindCancellationFun($this,
|
|
2265
|
-
return BufferedChannel$bindCancellationFun$lambda(
|
|
2156
|
+
function bindCancellationFun($this, $receiver, element) {
|
|
2157
|
+
return BufferedChannel$bindCancellationFun$lambda($receiver, element);
|
|
2266
2158
|
}
|
|
2267
|
-
function bindCancellationFun_0($this,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
2317
|
-
this.
|
|
2208
|
+
this.o1a_1 = capacity;
|
|
2209
|
+
this.p1a_1 = onUndeliveredElement;
|
|
2318
2210
|
// Inline function 'kotlin.require' call
|
|
2319
|
-
if (!(this.
|
|
2320
|
-
var message = 'Invalid channel capacity: ' + this.
|
|
2321
|
-
throw IllegalArgumentException().
|
|
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.
|
|
2324
|
-
this.
|
|
2325
|
-
this.
|
|
2326
|
-
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.
|
|
2329
|
-
this.
|
|
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.
|
|
2230
|
+
tmp.w1a_1 = atomic$ref$1(tmp_0);
|
|
2339
2231
|
var tmp_2 = this;
|
|
2340
2232
|
var tmp_3;
|
|
2341
|
-
if (this.
|
|
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.
|
|
2348
|
-
this.
|
|
2349
|
-
this.
|
|
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
|
-
|
|
2243
|
+
s1b() {
|
|
2352
2244
|
// Inline function 'kotlinx.coroutines.channels.sendersCounter' call
|
|
2353
|
-
var this_0 = this.
|
|
2245
|
+
var this_0 = this.q1a_1.kotlinx$atomicfu$value;
|
|
2354
2246
|
return bitwiseAnd(this_0, new (Long())(-1, 268435455));
|
|
2355
2247
|
}
|
|
2356
|
-
|
|
2357
|
-
return this.
|
|
2248
|
+
v1b() {
|
|
2249
|
+
return this.r1a_1.kotlinx$atomicfu$value;
|
|
2358
2250
|
}
|
|
2359
|
-
|
|
2360
|
-
|
|
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
|
-
|
|
2363
|
-
if (shouldSendSuspend0(this, this.
|
|
2364
|
-
return Companion_getInstance().
|
|
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$
|
|
2367
|
-
$l$
|
|
2329
|
+
var tmp$ret$0;
|
|
2330
|
+
$l$block_5: {
|
|
2368
2331
|
// Inline function 'kotlinx.coroutines.channels.BufferedChannel.sendImpl' call
|
|
2369
|
-
var segment = this.
|
|
2332
|
+
var segment = this.u1a_1.kotlinx$atomicfu$value;
|
|
2370
2333
|
$l$loop_0: while (true) {
|
|
2371
|
-
var sendersAndCloseStatusCur = this.
|
|
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$
|
|
2381
|
-
var i = convertToInt(tmp$ret$
|
|
2382
|
-
if (!equalsLong(segment.
|
|
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$
|
|
2389
|
-
break $l$
|
|
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.
|
|
2401
|
-
tmp$ret$
|
|
2402
|
-
break $l$
|
|
2363
|
+
segment.m1b();
|
|
2364
|
+
tmp$ret$0 = Companion_getInstance().a1c(Unit_instance);
|
|
2365
|
+
break $l$block_5;
|
|
2403
2366
|
case 1:
|
|
2404
|
-
tmp$ret$
|
|
2405
|
-
break $l$
|
|
2367
|
+
tmp$ret$0 = Companion_getInstance().a1c(Unit_instance);
|
|
2368
|
+
break $l$block_5;
|
|
2406
2369
|
case 2:
|
|
2407
2370
|
if (closed) {
|
|
2408
|
-
segment.
|
|
2409
|
-
tmp$ret$
|
|
2410
|
-
break $l$
|
|
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.
|
|
2421
|
-
tmp$ret$
|
|
2422
|
-
break $l$
|
|
2383
|
+
segment.c1b();
|
|
2384
|
+
tmp$ret$0 = Companion_getInstance().z1c();
|
|
2385
|
+
break $l$block_5;
|
|
2423
2386
|
case 4:
|
|
2424
|
-
if (compare(s, this.
|
|
2425
|
-
segment.
|
|
2387
|
+
if (compare(s, this.v1b()) < 0) {
|
|
2388
|
+
segment.m1b();
|
|
2426
2389
|
}
|
|
2427
2390
|
|
|
2428
|
-
tmp$ret$
|
|
2429
|
-
break $l$
|
|
2391
|
+
tmp$ret$0 = Companion_getInstance().t1c(this.u1b());
|
|
2392
|
+
break $l$block_5;
|
|
2430
2393
|
case 5:
|
|
2431
|
-
segment.
|
|
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$
|
|
2404
|
+
return tmp$ret$0;
|
|
2440
2405
|
}
|
|
2441
|
-
|
|
2442
|
-
var
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
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
|
-
|
|
2435
|
+
tmp = tmp0_elvis_lhs;
|
|
2467
2436
|
}
|
|
2468
|
-
|
|
2469
|
-
tmp = tmp0_elvis_lhs;
|
|
2437
|
+
segment = tmp;
|
|
2470
2438
|
}
|
|
2471
|
-
segment
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
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
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
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
|
-
|
|
2493
|
-
|
|
2458
|
+
var tmp0 = segment.r12_1;
|
|
2459
|
+
// Inline function 'kotlin.Long.times' call
|
|
2494
2460
|
|
|
2495
|
-
|
|
2496
|
-
|
|
2461
|
+
var other_1 = get_SEGMENT_SIZE();
|
|
2462
|
+
// Inline function 'kotlin.Long.plus' call
|
|
2497
2463
|
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
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
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
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$
|
|
2485
|
+
return tmp$ret$0;
|
|
2517
2486
|
}
|
|
2518
|
-
|
|
2487
|
+
d1c() {
|
|
2519
2488
|
}
|
|
2520
|
-
|
|
2489
|
+
w1b() {
|
|
2521
2490
|
}
|
|
2522
|
-
|
|
2523
|
-
|
|
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
|
-
|
|
2548
|
+
r1c(globalCellIndex) {
|
|
2526
2549
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
2527
|
-
var segment = this.
|
|
2550
|
+
var segment = this.v1a_1.kotlinx$atomicfu$value;
|
|
2528
2551
|
$l$loop_0: while (true) {
|
|
2529
|
-
var r = this.
|
|
2552
|
+
var r = this.r1a_1.kotlinx$atomicfu$value;
|
|
2530
2553
|
// Inline function 'kotlin.Long.plus' call
|
|
2531
|
-
var other = this.
|
|
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.
|
|
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.
|
|
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.
|
|
2562
|
-
segment.
|
|
2584
|
+
if (compare(r, this.s1b()) < 0) {
|
|
2585
|
+
segment.m1b();
|
|
2563
2586
|
}
|
|
2564
2587
|
} else {
|
|
2565
|
-
segment.
|
|
2566
|
-
var tmp1_safe_receiver = this.
|
|
2567
|
-
var
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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$
|
|
2610
|
-
var upd = constructEBCompletedAndPauseFlag(tmp$ret$
|
|
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.
|
|
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.
|
|
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$
|
|
2631
|
-
var upd_0 = constructEBCompletedAndPauseFlag(tmp$ret$
|
|
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.
|
|
2657
|
+
this.t1a_1.atomicfu$compareAndSet(ebCompletedAndBit, constructEBCompletedAndPauseFlag(ebCompleted_0, true));
|
|
2641
2658
|
}
|
|
2642
2659
|
}
|
|
2643
2660
|
}
|
|
2644
|
-
|
|
2661
|
+
l1() {
|
|
2645
2662
|
return new (BufferedChannelIterator())(this);
|
|
2646
2663
|
}
|
|
2647
|
-
|
|
2648
|
-
var tmp = this.
|
|
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
|
-
|
|
2652
|
-
var tmp0_elvis_lhs = this.
|
|
2653
|
-
return tmp0_elvis_lhs == null ? ClosedSendChannelException().
|
|
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
|
-
|
|
2672
|
+
h1d() {
|
|
2656
2673
|
}
|
|
2657
|
-
|
|
2658
|
-
return this.
|
|
2674
|
+
i1d(cause) {
|
|
2675
|
+
return this.j1d(cause, false);
|
|
2659
2676
|
}
|
|
2660
|
-
|
|
2661
|
-
this.
|
|
2677
|
+
qy(cause) {
|
|
2678
|
+
this.l1d(cause);
|
|
2662
2679
|
}
|
|
2663
|
-
|
|
2664
|
-
return this.
|
|
2680
|
+
l1d(cause) {
|
|
2681
|
+
return this.j1d(cause == null ? CancellationException().n('Channel was cancelled') : cause, true);
|
|
2665
2682
|
}
|
|
2666
|
-
|
|
2683
|
+
j1d(cause, cancel) {
|
|
2667
2684
|
if (cancel) {
|
|
2668
2685
|
markCancellationStarted(this);
|
|
2669
2686
|
}
|
|
2670
|
-
var closedByThisOperation = this.
|
|
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.
|
|
2695
|
+
this.h1d();
|
|
2679
2696
|
if (closedByThisOperation) {
|
|
2680
2697
|
invokeCloseHandler(this);
|
|
2681
2698
|
}
|
|
2682
2699
|
return closedByThisOperation;
|
|
2683
2700
|
}
|
|
2684
|
-
|
|
2701
|
+
s1c() {
|
|
2685
2702
|
return false;
|
|
2686
2703
|
}
|
|
2687
|
-
|
|
2688
|
-
return _get_isClosedForSend0__kxgf9m(this, this.
|
|
2704
|
+
q1c() {
|
|
2705
|
+
return _get_isClosedForSend0__kxgf9m(this, this.q1a_1.kotlinx$atomicfu$value);
|
|
2689
2706
|
}
|
|
2690
|
-
|
|
2691
|
-
return _get_isClosedForReceive0__f7qknl(this, this.
|
|
2707
|
+
t1b() {
|
|
2708
|
+
return _get_isClosedForReceive0__f7qknl(this, this.q1a_1.kotlinx$atomicfu$value);
|
|
2692
2709
|
}
|
|
2693
|
-
|
|
2710
|
+
u1c() {
|
|
2694
2711
|
$l$loop: while (true) {
|
|
2695
|
-
var segment = this.
|
|
2696
|
-
var r = this.
|
|
2697
|
-
var s = this.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
2744
|
+
this.r1a_1.atomicfu$compareAndSet(r, tmp$ret$2);
|
|
2728
2745
|
}
|
|
2729
2746
|
}
|
|
2730
2747
|
toString() {
|
|
2731
|
-
var sb = StringBuilder().
|
|
2748
|
+
var sb = StringBuilder().h1();
|
|
2732
2749
|
// Inline function 'kotlinx.coroutines.channels.sendersCloseStatus' call
|
|
2733
|
-
var this_0 = this.
|
|
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.
|
|
2753
|
+
sb.i1('closed,');
|
|
2737
2754
|
} else if (tmp0_subject === 3) {
|
|
2738
|
-
sb.
|
|
2755
|
+
sb.i1('cancelled,');
|
|
2739
2756
|
}
|
|
2740
|
-
sb.
|
|
2741
|
-
sb.
|
|
2757
|
+
sb.i1('capacity=' + this.o1a_1 + ',');
|
|
2758
|
+
sb.i1('data=[');
|
|
2742
2759
|
// Inline function 'kotlin.collections.filter' call
|
|
2743
|
-
var tmp0 = listOf([this.
|
|
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().
|
|
2746
|
-
var _iterator__ex2g4s = tmp0.
|
|
2747
|
-
while (_iterator__ex2g4s.
|
|
2748
|
-
var element = _iterator__ex2g4s.
|
|
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.
|
|
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.
|
|
2757
|
-
if (!iterator.
|
|
2758
|
-
throw NoSuchElementException().
|
|
2759
|
-
var minElem = iterator.
|
|
2760
|
-
if (!iterator.
|
|
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.
|
|
2781
|
+
var minValue = minElem.r12_1;
|
|
2765
2782
|
do {
|
|
2766
|
-
var e = iterator.
|
|
2767
|
-
var v = e.
|
|
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.
|
|
2790
|
+
while (iterator.m1());
|
|
2774
2791
|
tmp$ret$4 = minElem;
|
|
2775
2792
|
}
|
|
2776
2793
|
var firstSegment = tmp$ret$4;
|
|
2777
|
-
var r = this.
|
|
2778
|
-
var s = this.
|
|
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.
|
|
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.
|
|
2796
|
-
var element_0 = segment.
|
|
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.
|
|
2846
|
+
sb.i1('(' + cellStateString + ',' + toString(element_0) + '),');
|
|
2830
2847
|
} else {
|
|
2831
|
-
sb.
|
|
2848
|
+
sb.i1(cellStateString + ',');
|
|
2832
2849
|
}
|
|
2833
2850
|
}
|
|
2834
2851
|
while (inductionVariable < last_0);
|
|
2835
|
-
var tmp2_elvis_lhs = segment.
|
|
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,14 +2859,14 @@ function BufferedChannel() {
|
|
|
2842
2859
|
segment = tmp_0;
|
|
2843
2860
|
}
|
|
2844
2861
|
if (last(sb) === _Char___init__impl__6a9atx(44)) {
|
|
2845
|
-
sb.
|
|
2862
|
+
sb.bh(sb.a() - 1 | 0);
|
|
2846
2863
|
}
|
|
2847
|
-
sb.
|
|
2864
|
+
sb.i1(']');
|
|
2848
2865
|
return sb.toString();
|
|
2849
2866
|
}
|
|
2850
2867
|
}
|
|
2851
|
-
protoOf($).
|
|
2852
|
-
protoOf($).
|
|
2868
|
+
protoOf($).k1d = close$default;
|
|
2869
|
+
protoOf($).m1d = cancel$default;
|
|
2853
2870
|
initMetadataForClass($, 'BufferedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
|
|
2854
2871
|
BufferedChannelClass = $;
|
|
2855
2872
|
}
|
|
@@ -2860,10 +2877,10 @@ function WaiterEB() {
|
|
|
2860
2877
|
if (WaiterEBClass === VOID) {
|
|
2861
2878
|
class $ {
|
|
2862
2879
|
constructor(waiter) {
|
|
2863
|
-
this.
|
|
2880
|
+
this.x1b_1 = waiter;
|
|
2864
2881
|
}
|
|
2865
2882
|
toString() {
|
|
2866
|
-
return 'WaiterEB(' + toString_0(this.
|
|
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.
|
|
2915
|
+
var token = _this__u8e3s4.y11(value, null, onCancellation);
|
|
2899
2916
|
var tmp;
|
|
2900
2917
|
if (!(token == null)) {
|
|
2901
|
-
_this__u8e3s4.
|
|
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.
|
|
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);
|