@continuous-excellence/coupling-cli 1.1.897 → 1.1.899
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 +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +27 -27
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +12 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +7 -7
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +21 -21
- 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 +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +22 -22
- 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 +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +9 -9
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +19 -19
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +44 -44
- 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.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionCandidates.mjs.map +1 -1
- 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.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +40 -15
- 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 +46 -46
- 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 +160 -160
- 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 +209 -209
- 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 +2 -2
- 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 +132 -132
- 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 +64 -49
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- 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.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/CoOccurringOptionGroup.mjs +24 -0
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/CoOccurringOptionGroup.mjs.map +1 -0
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +7 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +13 -13
- 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 +5 -5
- 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 +3 -3
- 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 +55 -55
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +161 -161
- 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 +2 -2
- 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 +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +6 -6
- 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 +16 -16
- 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 +223 -210
- 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 +3 -3
- 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 +15 -15
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs.map +1 -1
- 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 +21 -14
- 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 +64 -64
- 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 +17 -17
- 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/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -17
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs.map +1 -1
- 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/InternalMath.mjs +5 -5
- 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 +10 -11
- 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 +18 -20
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -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 +25 -26
- 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 +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs.map +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +122 -125
- 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 +182 -182
- 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 +64 -66
- 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 +20 -22
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +1 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +139 -154
- 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 +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/JsCompat.mjs +1 -1
- 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.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +22 -22
- 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 +93 -102
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/ZwjSequences1.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/ZwjSequences2.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/ZwjSequences3.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/ZwjSequences4.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +15 -17
- 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 +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Align.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +40 -40
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +92 -94
- 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.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- 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.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +69 -71
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- 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 +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +271 -273
- 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 +22 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +145 -157
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +71 -71
- 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 +32 -32
- 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 +61 -66
- 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 +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +54 -54
- 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 +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +72 -64
- 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 +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +16 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -12
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- 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 +13 -13
- 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 +56 -56
- 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 +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs.map +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +82 -60
- 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 +72 -72
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs.map +1 -1
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +115 -115
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +32 -32
- package/package.json +2 -2
|
@@ -109,17 +109,17 @@ var imul = Math.imul;
|
|
|
109
109
|
function parseArgv(rootCommand, originalArgv) {
|
|
110
110
|
rootCommand.q5z();
|
|
111
111
|
var result = parseCommandArgv(rootCommand, originalArgv, 0);
|
|
112
|
-
return new (CommandLineParseResult())(result.
|
|
112
|
+
return new (CommandLineParseResult())(result.u6g_1, originalArgv, result.w6g_1);
|
|
113
113
|
}
|
|
114
114
|
var CommandArgvParseResultClass;
|
|
115
115
|
function CommandArgvParseResult() {
|
|
116
116
|
if (CommandArgvParseResultClass === VOID) {
|
|
117
117
|
class $ {
|
|
118
118
|
constructor(invocation, nextCommand, argv, i) {
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
119
|
+
this.u6g_1 = invocation;
|
|
120
|
+
this.v6g_1 = nextCommand;
|
|
121
|
+
this.w6g_1 = argv;
|
|
122
|
+
this.x6g_1 = i;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
initMetadataForClass($, 'CommandArgvParseResult');
|
|
@@ -128,12 +128,12 @@ function CommandArgvParseResult() {
|
|
|
128
128
|
return CommandArgvParseResultClass;
|
|
129
129
|
}
|
|
130
130
|
function parseCommandArgv(command, argv, i) {
|
|
131
|
-
var rootResult = (new (CommandParser())(command, argv, i)).
|
|
131
|
+
var rootResult = (new (CommandParser())(command, argv, i)).t6h();
|
|
132
132
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
133
133
|
var subcommands = ArrayList().j2();
|
|
134
|
-
var nextCommand = rootResult.
|
|
135
|
-
var nextArgv = rootResult.
|
|
136
|
-
var nextI = rootResult.
|
|
134
|
+
var nextCommand = rootResult.v6h_1;
|
|
135
|
+
var nextArgv = rootResult.y6h_1;
|
|
136
|
+
var nextI = rootResult.w6h_1;
|
|
137
137
|
$l$loop: while (true) {
|
|
138
138
|
var tmp;
|
|
139
139
|
if (!(nextCommand == null)) {
|
|
@@ -146,42 +146,42 @@ function parseCommandArgv(command, argv, i) {
|
|
|
146
146
|
break $l$loop;
|
|
147
147
|
}
|
|
148
148
|
var result = parseCommandArgv(nextCommand, nextArgv, nextI);
|
|
149
|
-
nextCommand = result.
|
|
150
|
-
nextArgv = result.
|
|
151
|
-
nextI = result.
|
|
149
|
+
nextCommand = result.v6g_1;
|
|
150
|
+
nextArgv = result.w6g_1;
|
|
151
|
+
nextI = result.x6g_1;
|
|
152
152
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
153
|
-
var element = result.
|
|
153
|
+
var element = result.u6g_1;
|
|
154
154
|
subcommands.o2(element);
|
|
155
155
|
}
|
|
156
|
-
return new (CommandArgvParseResult())(rootResult.
|
|
156
|
+
return new (CommandArgvParseResult())(rootResult.b6i(subcommands), nextCommand, nextArgv, nextI);
|
|
157
157
|
}
|
|
158
158
|
var CommandParseResultClass;
|
|
159
159
|
function CommandParseResult() {
|
|
160
160
|
if (CommandParseResultClass === VOID) {
|
|
161
161
|
class $ {
|
|
162
162
|
constructor(command, nextCommand, i, errors, expandedArgv, optInvocations, argInvocations) {
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
165
|
-
this.
|
|
166
|
-
this.
|
|
167
|
-
this.
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
163
|
+
this.u6h_1 = command;
|
|
164
|
+
this.v6h_1 = nextCommand;
|
|
165
|
+
this.w6h_1 = i;
|
|
166
|
+
this.x6h_1 = errors;
|
|
167
|
+
this.y6h_1 = expandedArgv;
|
|
168
|
+
this.z6h_1 = optInvocations;
|
|
169
|
+
this.a6i_1 = argInvocations;
|
|
170
170
|
}
|
|
171
|
-
|
|
172
|
-
return new (CommandInvocation())(this.
|
|
171
|
+
b6i(subcommands) {
|
|
172
|
+
return new (CommandInvocation())(this.u6h_1, this.z6h_1, this.a6i_1, subcommands, this.x6h_1);
|
|
173
173
|
}
|
|
174
174
|
toString() {
|
|
175
|
-
return 'CommandParseResult(command=' + toString(this.
|
|
175
|
+
return 'CommandParseResult(command=' + toString(this.u6h_1) + ', nextCommand=' + toString_0(this.v6h_1) + ', i=' + this.w6h_1 + ', errors=' + toString(this.x6h_1) + ', expandedArgv=' + toString(this.y6h_1) + ', optInvocations=' + toString(this.z6h_1) + ', argInvocations=' + toString(this.a6i_1) + ')';
|
|
176
176
|
}
|
|
177
177
|
hashCode() {
|
|
178
|
-
var result = hashCode(this.
|
|
179
|
-
result = imul(result, 31) + (this.
|
|
180
|
-
result = imul(result, 31) + this.
|
|
181
|
-
result = imul(result, 31) + hashCode(this.v6h_1) | 0;
|
|
182
|
-
result = imul(result, 31) + hashCode(this.w6h_1) | 0;
|
|
178
|
+
var result = hashCode(this.u6h_1);
|
|
179
|
+
result = imul(result, 31) + (this.v6h_1 == null ? 0 : hashCode(this.v6h_1)) | 0;
|
|
180
|
+
result = imul(result, 31) + this.w6h_1 | 0;
|
|
183
181
|
result = imul(result, 31) + hashCode(this.x6h_1) | 0;
|
|
184
182
|
result = imul(result, 31) + hashCode(this.y6h_1) | 0;
|
|
183
|
+
result = imul(result, 31) + hashCode(this.z6h_1) | 0;
|
|
184
|
+
result = imul(result, 31) + hashCode(this.a6i_1) | 0;
|
|
185
185
|
return result;
|
|
186
186
|
}
|
|
187
187
|
equals(other) {
|
|
@@ -189,20 +189,20 @@ function CommandParseResult() {
|
|
|
189
189
|
return true;
|
|
190
190
|
if (!(other instanceof CommandParseResult()))
|
|
191
191
|
return false;
|
|
192
|
-
if (!equals(this.
|
|
193
|
-
return false;
|
|
194
|
-
if (!equals(this.t6h_1, other.t6h_1))
|
|
195
|
-
return false;
|
|
196
|
-
if (!(this.u6h_1 === other.u6h_1))
|
|
192
|
+
if (!equals(this.u6h_1, other.u6h_1))
|
|
197
193
|
return false;
|
|
198
194
|
if (!equals(this.v6h_1, other.v6h_1))
|
|
199
195
|
return false;
|
|
200
|
-
if (!
|
|
196
|
+
if (!(this.w6h_1 === other.w6h_1))
|
|
201
197
|
return false;
|
|
202
198
|
if (!equals(this.x6h_1, other.x6h_1))
|
|
203
199
|
return false;
|
|
204
200
|
if (!equals(this.y6h_1, other.y6h_1))
|
|
205
201
|
return false;
|
|
202
|
+
if (!equals(this.z6h_1, other.z6h_1))
|
|
203
|
+
return false;
|
|
204
|
+
if (!equals(this.a6i_1, other.a6i_1))
|
|
205
|
+
return false;
|
|
206
206
|
return true;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
@@ -212,63 +212,63 @@ function CommandParseResult() {
|
|
|
212
212
|
return CommandParseResultClass;
|
|
213
213
|
}
|
|
214
214
|
function _get_canParseSubcommands__hq4fdg($this) {
|
|
215
|
-
return $this.
|
|
215
|
+
return $this.j6h_1.p2() >= $this.q6h_1;
|
|
216
216
|
}
|
|
217
217
|
function consumeTokens($this) {
|
|
218
|
-
$l$loop: while ($this.
|
|
219
|
-
var tok = $this.
|
|
220
|
-
var normTok = $this.
|
|
218
|
+
$l$loop: while ($this.o6h_1 <= get_lastIndex($this.z6g_1)) {
|
|
219
|
+
var tok = $this.z6g_1.s2($this.o6h_1);
|
|
220
|
+
var normTok = $this.a6h_1.n60_1($this.a6h_1, tok);
|
|
221
221
|
var prefix = splitOptionPrefix(tok).dm_1;
|
|
222
222
|
var tmp;
|
|
223
|
-
if ($this.
|
|
223
|
+
if ($this.o6h_1 >= $this.p6h_1) {
|
|
224
224
|
// Inline function 'kotlin.collections.contains' call
|
|
225
225
|
// Inline function 'kotlin.collections.containsKey' call
|
|
226
|
-
var this_0 = $this.
|
|
226
|
+
var this_0 = $this.b6h_1;
|
|
227
227
|
tmp = (isInterface(this_0, KtMap()) ? this_0 : THROW_CCE()).i4(tok);
|
|
228
228
|
} else {
|
|
229
229
|
tmp = false;
|
|
230
230
|
}
|
|
231
231
|
if (tmp) {
|
|
232
|
-
insertTokens($this, getValue($this.
|
|
232
|
+
insertTokens($this, getValue($this.b6h_1, tok));
|
|
233
233
|
} else {
|
|
234
234
|
var tmp_0;
|
|
235
|
-
if ($this.
|
|
235
|
+
if ($this.s6h_1 && startsWith(tok, '@')) {
|
|
236
236
|
// Inline function 'kotlin.collections.contains' call
|
|
237
237
|
// Inline function 'kotlin.collections.containsKey' call
|
|
238
|
-
var this_1 = $this.
|
|
238
|
+
var this_1 = $this.f6h_1;
|
|
239
239
|
tmp_0 = !(isInterface(this_1, KtMap()) ? this_1 : THROW_CCE()).i4(normTok);
|
|
240
240
|
} else {
|
|
241
241
|
tmp_0 = false;
|
|
242
242
|
}
|
|
243
243
|
if (tmp_0) {
|
|
244
244
|
if (startsWith(tok, '@@')) {
|
|
245
|
-
var tmp0 = $this.
|
|
245
|
+
var tmp0 = $this.j6h_1;
|
|
246
246
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
247
247
|
var element = drop(tok, 1);
|
|
248
248
|
tmp0.o2(element);
|
|
249
|
-
$this.
|
|
249
|
+
$this.o6h_1 = $this.o6h_1 + 1 | 0;
|
|
250
250
|
} else {
|
|
251
|
-
insertTokens($this, loadArgFile(drop(normTok, 1), $this.
|
|
251
|
+
insertTokens($this, loadArgFile(drop(normTok, 1), $this.a6h_1));
|
|
252
252
|
}
|
|
253
253
|
} else {
|
|
254
|
-
if ($this.
|
|
255
|
-
$this.
|
|
256
|
-
$this.
|
|
257
|
-
$this.
|
|
254
|
+
if ($this.r6h_1 && tok === '--') {
|
|
255
|
+
$this.o6h_1 = $this.o6h_1 + 1 | 0;
|
|
256
|
+
$this.r6h_1 = false;
|
|
257
|
+
$this.s6h_1 = false;
|
|
258
258
|
} else {
|
|
259
|
-
if ($this.
|
|
259
|
+
if ($this.r6h_1 && (prefix.length > 1 && $this.h6h_1.k3(prefix) || $this.i6h_1.k3(normTok) || isLongOptionWithEquals($this, prefix, tok) || !$this.a6h_1.i60_1)) {
|
|
260
260
|
consumeOptionParse($this, parseLongOpt($this, tok));
|
|
261
261
|
} else {
|
|
262
262
|
var tmp_1;
|
|
263
263
|
var tmp_2;
|
|
264
|
-
if ($this.
|
|
264
|
+
if ($this.r6h_1 && tok.length >= 2) {
|
|
265
265
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
266
266
|
tmp_2 = charSequenceLength(prefix) > 0;
|
|
267
267
|
} else {
|
|
268
268
|
tmp_2 = false;
|
|
269
269
|
}
|
|
270
270
|
if (tmp_2) {
|
|
271
|
-
tmp_1 = $this.
|
|
271
|
+
tmp_1 = $this.h6h_1.k3(prefix);
|
|
272
272
|
} else {
|
|
273
273
|
tmp_1 = false;
|
|
274
274
|
}
|
|
@@ -279,21 +279,21 @@ function consumeTokens($this) {
|
|
|
279
279
|
if (_get_canParseSubcommands__hq4fdg($this)) {
|
|
280
280
|
// Inline function 'kotlin.collections.contains' call
|
|
281
281
|
// Inline function 'kotlin.collections.containsKey' call
|
|
282
|
-
var this_2 = $this.
|
|
282
|
+
var this_2 = $this.e6h_1;
|
|
283
283
|
tmp_3 = (isInterface(this_2, KtMap()) ? this_2 : THROW_CCE()).i4(normTok);
|
|
284
284
|
} else {
|
|
285
285
|
tmp_3 = false;
|
|
286
286
|
}
|
|
287
287
|
if (tmp_3) {
|
|
288
|
-
$this.
|
|
289
|
-
$this.
|
|
288
|
+
$this.k6h_1 = getValue($this.e6h_1, normTok);
|
|
289
|
+
$this.o6h_1 = $this.o6h_1 + 1 | 0;
|
|
290
290
|
break $l$loop;
|
|
291
291
|
} else {
|
|
292
|
-
if (!$this.
|
|
293
|
-
$this.
|
|
292
|
+
if (!$this.a6h_1.h60_1)
|
|
293
|
+
$this.r6h_1 = false;
|
|
294
294
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
295
|
-
$this.
|
|
296
|
-
$this.
|
|
295
|
+
$this.j6h_1.o2(tok);
|
|
296
|
+
$this.o6h_1 = $this.o6h_1 + 1 | 0;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
}
|
|
@@ -304,8 +304,8 @@ function consumeTokens($this) {
|
|
|
304
304
|
}
|
|
305
305
|
function printHelpOnEmptyArgsIfNecessary($this) {
|
|
306
306
|
var tmp;
|
|
307
|
-
if ($this.
|
|
308
|
-
var tmp0 = $this.
|
|
307
|
+
if ($this.o6h_1 > get_lastIndex($this.z6g_1) && $this.y6g_1.j5z()) {
|
|
308
|
+
var tmp0 = $this.y6g_1.z5y_1;
|
|
309
309
|
var tmp$ret$0;
|
|
310
310
|
$l$block_0: {
|
|
311
311
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -322,7 +322,7 @@ function printHelpOnEmptyArgsIfNecessary($this) {
|
|
|
322
322
|
var _iterator__ex2g4s = tmp0.l1();
|
|
323
323
|
while (_iterator__ex2g4s.m1()) {
|
|
324
324
|
var element = _iterator__ex2g4s.n1();
|
|
325
|
-
if (hasEnvvarOrSourcedValue(element, $this.
|
|
325
|
+
if (hasEnvvarOrSourcedValue(element, $this.a6h_1, emptyList())) {
|
|
326
326
|
tmp$ret$0 = false;
|
|
327
327
|
break $l$block_0;
|
|
328
328
|
}
|
|
@@ -334,16 +334,16 @@ function printHelpOnEmptyArgsIfNecessary($this) {
|
|
|
334
334
|
tmp = false;
|
|
335
335
|
}
|
|
336
336
|
if (tmp) {
|
|
337
|
-
var tmp0_0 = $this.
|
|
337
|
+
var tmp0_0 = $this.n6h_1;
|
|
338
338
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
339
|
-
var element_0 = PrintHelpMessage().
|
|
339
|
+
var element_0 = PrintHelpMessage().c63($this.a6h_1, true);
|
|
340
340
|
tmp0_0.o2(element_0);
|
|
341
341
|
return true;
|
|
342
342
|
}
|
|
343
343
|
return false;
|
|
344
344
|
}
|
|
345
345
|
function splitOptionPrefixes($this) {
|
|
346
|
-
var _iterator__ex2g4s = $this.
|
|
346
|
+
var _iterator__ex2g4s = $this.y6g_1.z5y_1.l1();
|
|
347
347
|
while (_iterator__ex2g4s.m1()) {
|
|
348
348
|
var option = _iterator__ex2g4s.n1();
|
|
349
349
|
var tmp;
|
|
@@ -360,7 +360,7 @@ function splitOptionPrefixes($this) {
|
|
|
360
360
|
throw IllegalArgumentException().n2(toString(message));
|
|
361
361
|
}
|
|
362
362
|
// Inline function 'kotlin.require' call
|
|
363
|
-
if (!(option.
|
|
363
|
+
if (!(option.g64() || option.x61().g3_1 <= 1)) {
|
|
364
364
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
365
365
|
throw IllegalArgumentException().n2(toString(message_0));
|
|
366
366
|
}
|
|
@@ -368,28 +368,28 @@ function splitOptionPrefixes($this) {
|
|
|
368
368
|
while (_iterator__ex2g4s_0.m1()) {
|
|
369
369
|
var name = _iterator__ex2g4s_0.n1();
|
|
370
370
|
// Inline function 'kotlin.collections.set' call
|
|
371
|
-
$this.
|
|
371
|
+
$this.f6h_1.s4(name, option);
|
|
372
372
|
if (name.length > 2) {
|
|
373
373
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
374
|
-
$this.
|
|
374
|
+
$this.i6h_1.o2(name);
|
|
375
375
|
}
|
|
376
|
-
var tmp0 = $this.
|
|
376
|
+
var tmp0 = $this.h6h_1;
|
|
377
377
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
378
378
|
var element = splitOptionPrefix(name).dm_1;
|
|
379
379
|
tmp0.o2(element);
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
|
-
$this.
|
|
382
|
+
$this.h6h_1.n4('');
|
|
383
383
|
}
|
|
384
384
|
function makeResult($this) {
|
|
385
385
|
// Inline function 'kotlin.collections.groupBy' call
|
|
386
|
-
var tmp0 = $this.
|
|
386
|
+
var tmp0 = $this.l6h_1;
|
|
387
387
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
388
388
|
var destination = LinkedHashMap().mc();
|
|
389
389
|
var _iterator__ex2g4s = tmp0.l1();
|
|
390
390
|
while (_iterator__ex2g4s.m1()) {
|
|
391
391
|
var element = _iterator__ex2g4s.n1();
|
|
392
|
-
var key = element.
|
|
392
|
+
var key = element.c6i_1;
|
|
393
393
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
394
394
|
var value = destination.k4(key);
|
|
395
395
|
var tmp;
|
|
@@ -401,69 +401,68 @@ function makeResult($this) {
|
|
|
401
401
|
tmp = value;
|
|
402
402
|
}
|
|
403
403
|
var list = tmp;
|
|
404
|
-
var tmp$ret$5 = element.
|
|
404
|
+
var tmp$ret$5 = element.f6i();
|
|
405
405
|
list.o2(tmp$ret$5);
|
|
406
406
|
}
|
|
407
407
|
var opts = destination;
|
|
408
|
-
var _iterator__ex2g4s_0 = $this.
|
|
408
|
+
var _iterator__ex2g4s_0 = $this.n6h_1.l1();
|
|
409
409
|
while (_iterator__ex2g4s_0.m1()) {
|
|
410
410
|
var e = _iterator__ex2g4s_0.n1();
|
|
411
411
|
if (e instanceof UsageError()) {
|
|
412
412
|
var tmp0_elvis_lhs = e.xc();
|
|
413
|
-
e.
|
|
413
|
+
e.v64(tmp0_elvis_lhs == null ? $this.a6h_1 : tmp0_elvis_lhs);
|
|
414
414
|
}
|
|
415
|
-
$this.
|
|
415
|
+
$this.a6h_1.y60_1 = true;
|
|
416
416
|
}
|
|
417
417
|
// Inline function 'kotlin.takeIf' call
|
|
418
|
-
var this_0 = $this.
|
|
418
|
+
var this_0 = $this.k6h_1;
|
|
419
419
|
var tmp_0;
|
|
420
|
-
if ($this.
|
|
420
|
+
if ($this.n6h_1.j1()) {
|
|
421
421
|
tmp_0 = this_0;
|
|
422
422
|
} else {
|
|
423
423
|
tmp_0 = null;
|
|
424
424
|
}
|
|
425
425
|
var nextCommand = tmp_0;
|
|
426
|
-
return new (CommandParseResult())($this.
|
|
426
|
+
return new (CommandParseResult())($this.y6g_1, nextCommand, $this.o6h_1, $this.n6h_1, $this.z6g_1, opts, $this.m6h_1);
|
|
427
427
|
}
|
|
428
428
|
function isLongOptionWithEquals($this, prefix, token) {
|
|
429
429
|
if (!contains(token, '='))
|
|
430
430
|
return false;
|
|
431
|
-
|
|
432
|
-
if (charSequenceLength(prefix) === 0)
|
|
431
|
+
if (!$this.h6h_1.k3(prefix))
|
|
433
432
|
return false;
|
|
434
433
|
if (prefix.length > 1)
|
|
435
434
|
return true;
|
|
436
|
-
if ($this.
|
|
435
|
+
if ($this.i6h_1.k3($this.a6h_1.n60_1($this.a6h_1, substringBefore(token, '='))))
|
|
437
436
|
return true;
|
|
438
|
-
var tmp0 = $this.
|
|
437
|
+
var tmp0 = $this.f6h_1;
|
|
439
438
|
// Inline function 'kotlin.collections.contains' call
|
|
440
439
|
// Inline function 'kotlin.collections.containsKey' call
|
|
441
|
-
var key = $this.
|
|
440
|
+
var key = $this.a6h_1.n60_1($this.a6h_1, take(token, 2));
|
|
442
441
|
return !(isInterface(tmp0, KtMap()) ? tmp0 : THROW_CCE()).i4(key);
|
|
443
442
|
}
|
|
444
443
|
function consumeOptionParse($this, result) {
|
|
445
|
-
var tmp0 = $this.
|
|
444
|
+
var tmp0 = $this.j6h_1;
|
|
446
445
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
447
|
-
var elements = result.
|
|
446
|
+
var elements = result.h6i_1;
|
|
448
447
|
addAll(tmp0, elements);
|
|
449
|
-
var tmp0_0 = $this.
|
|
448
|
+
var tmp0_0 = $this.l6h_1;
|
|
450
449
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
451
|
-
var elements_0 = result.
|
|
450
|
+
var elements_0 = result.i6i_1;
|
|
452
451
|
addAll(tmp0_0, elements_0);
|
|
453
|
-
var tmp0_safe_receiver = result.
|
|
452
|
+
var tmp0_safe_receiver = result.j6i_1;
|
|
454
453
|
if (tmp0_safe_receiver == null)
|
|
455
454
|
null;
|
|
456
455
|
else {
|
|
457
456
|
// Inline function 'kotlin.let' call
|
|
458
457
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
459
|
-
$this.
|
|
460
|
-
$this.
|
|
458
|
+
$this.n6h_1.o2(tmp0_safe_receiver);
|
|
459
|
+
$this.a6h_1.y60_1 = true;
|
|
461
460
|
}
|
|
462
|
-
$this.
|
|
461
|
+
$this.o6h_1 = $this.o6h_1 + result.g6i_1 | 0;
|
|
463
462
|
}
|
|
464
463
|
function insertTokens($this, newTokens) {
|
|
465
|
-
$this.
|
|
466
|
-
$this.
|
|
464
|
+
$this.z6g_1 = flatten(listOf([take_0($this.z6g_1, $this.o6h_1), newTokens, drop_0($this.z6g_1, $this.o6h_1 + 1 | 0)]));
|
|
465
|
+
$this.p6h_1 = $this.o6h_1 + newTokens.p2() | 0;
|
|
467
466
|
}
|
|
468
467
|
function parseLongOpt($this, tok) {
|
|
469
468
|
var equalsIndex = indexOf(tok, _Char___init__impl__6a9atx(61));
|
|
@@ -476,17 +475,17 @@ function parseLongOpt($this, tok) {
|
|
|
476
475
|
var _destruct__k2r9zo = tmp;
|
|
477
476
|
var name = _destruct__k2r9zo.ul();
|
|
478
477
|
var attachedValue = _destruct__k2r9zo.vl();
|
|
479
|
-
name = $this.
|
|
480
|
-
var tmp0_elvis_lhs = $this.
|
|
478
|
+
name = $this.a6h_1.n60_1($this.a6h_1, name);
|
|
479
|
+
var tmp0_elvis_lhs = $this.f6h_1.k4(name);
|
|
481
480
|
var tmp_0;
|
|
482
481
|
if (tmp0_elvis_lhs == null) {
|
|
483
482
|
var tmp_1;
|
|
484
|
-
if ($this.
|
|
485
|
-
return OptParseResult().
|
|
483
|
+
if ($this.y6g_1.n5z()) {
|
|
484
|
+
return OptParseResult().k6i(1, listOf_0(tok));
|
|
486
485
|
} else {
|
|
487
486
|
var tmp_2 = name;
|
|
488
487
|
// Inline function 'kotlin.collections.filterNot' call
|
|
489
|
-
var tmp0 = $this.
|
|
488
|
+
var tmp0 = $this.f6h_1;
|
|
490
489
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
491
490
|
var destination = LinkedHashMap().mc();
|
|
492
491
|
// Inline function 'kotlin.collections.iterator' call
|
|
@@ -497,8 +496,8 @@ function parseLongOpt($this, tok) {
|
|
|
497
496
|
destination.s4(element.b3(), element.c3());
|
|
498
497
|
}
|
|
499
498
|
}
|
|
500
|
-
var possibilities = $this.
|
|
501
|
-
return OptParseResult().
|
|
499
|
+
var possibilities = $this.a6h_1.r60_1(tmp_2, toList(destination.l4()));
|
|
500
|
+
return OptParseResult().k6i(1, VOID, VOID, createNoSuchOption($this, name, possibilities));
|
|
502
501
|
}
|
|
503
502
|
} else {
|
|
504
503
|
tmp_0 = tmp0_elvis_lhs;
|
|
@@ -509,7 +508,7 @@ function parseLongOpt($this, tok) {
|
|
|
509
508
|
function parseShortOpt($this, tok) {
|
|
510
509
|
var prefix = toString_1(charCodeAt(tok, 0));
|
|
511
510
|
var tmp;
|
|
512
|
-
if (!($this.
|
|
511
|
+
if (!($this.g6h_1 == null)) {
|
|
513
512
|
var tmp0 = drop(tok, 1);
|
|
514
513
|
var tmp$ret$0;
|
|
515
514
|
$l$block: {
|
|
@@ -530,7 +529,7 @@ function parseShortOpt($this, tok) {
|
|
|
530
529
|
tmp = false;
|
|
531
530
|
}
|
|
532
531
|
if (tmp) {
|
|
533
|
-
return OptParseResult().
|
|
532
|
+
return OptParseResult().l6i(1, $this.g6h_1, '', listOf_0(drop(tok, 1)));
|
|
534
533
|
}
|
|
535
534
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
536
535
|
var invocations = ArrayList().j2();
|
|
@@ -542,18 +541,18 @@ function parseShortOpt($this, tok) {
|
|
|
542
541
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
543
542
|
if (i === 0)
|
|
544
543
|
continue $l$loop;
|
|
545
|
-
var name = $this.
|
|
546
|
-
var tmp0_elvis_lhs = $this.
|
|
544
|
+
var name = $this.a6h_1.n60_1($this.a6h_1, prefix + toString_1(opt));
|
|
545
|
+
var tmp0_elvis_lhs = $this.f6h_1.k4(name);
|
|
547
546
|
var tmp_0;
|
|
548
547
|
if (tmp0_elvis_lhs == null) {
|
|
549
548
|
var tmp_1;
|
|
550
|
-
if ($this.
|
|
551
|
-
return OptParseResult().
|
|
549
|
+
if ($this.y6g_1.n5z()) {
|
|
550
|
+
return OptParseResult().k6i(1, listOf_0(tok));
|
|
552
551
|
} else {
|
|
553
552
|
var tmp_2;
|
|
554
553
|
var tmp_3;
|
|
555
554
|
if (prefix === '-') {
|
|
556
|
-
var tmp0_0 = $this.
|
|
555
|
+
var tmp0_0 = $this.f6h_1;
|
|
557
556
|
// Inline function 'kotlin.collections.contains' call
|
|
558
557
|
// Inline function 'kotlin.collections.containsKey' call
|
|
559
558
|
var key = '-' + tok;
|
|
@@ -567,7 +566,7 @@ function parseShortOpt($this, tok) {
|
|
|
567
566
|
tmp_2 = emptyList();
|
|
568
567
|
}
|
|
569
568
|
var possibilities = tmp_2;
|
|
570
|
-
return OptParseResult().
|
|
569
|
+
return OptParseResult().k6i(1, VOID, VOID, createNoSuchOption($this, name, possibilities));
|
|
571
570
|
}
|
|
572
571
|
} else {
|
|
573
572
|
tmp_0 = tmp0_elvis_lhs;
|
|
@@ -576,19 +575,19 @@ function parseShortOpt($this, tok) {
|
|
|
576
575
|
if (option.x61().g3_1 > 0) {
|
|
577
576
|
var value = i < get_lastIndex_0(tok) ? drop(tok, i + 1 | 0) : null;
|
|
578
577
|
var result = parseOptValues($this, option, name, value);
|
|
579
|
-
return result.
|
|
578
|
+
return result.m6i(VOID, VOID, plus_1(invocations, result.i6i_1));
|
|
580
579
|
} else {
|
|
581
580
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
582
581
|
var element_0 = new (OptInvocation())(option, name, emptyList());
|
|
583
582
|
invocations.o2(element_0);
|
|
584
583
|
}
|
|
585
584
|
}
|
|
586
|
-
return OptParseResult().
|
|
585
|
+
return OptParseResult().n6i(1, invocations);
|
|
587
586
|
}
|
|
588
587
|
function createNoSuchOption($this, name, possibilities) {
|
|
589
588
|
if (possibilities.j1()) {
|
|
590
589
|
// Inline function 'kotlin.collections.find' call
|
|
591
|
-
var tmp0 = $this.
|
|
590
|
+
var tmp0 = $this.e6h_1.m4();
|
|
592
591
|
var tmp$ret$1;
|
|
593
592
|
$l$block_1: {
|
|
594
593
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -628,9 +627,9 @@ function createNoSuchOption($this, name, possibilities) {
|
|
|
628
627
|
}
|
|
629
628
|
var c = tmp$ret$1;
|
|
630
629
|
if (!(c == null))
|
|
631
|
-
return NoSuchOption().
|
|
630
|
+
return NoSuchOption().l66(name, VOID, c.q5y_1);
|
|
632
631
|
}
|
|
633
|
-
return NoSuchOption().
|
|
632
|
+
return NoSuchOption().l66(name, possibilities);
|
|
634
633
|
}
|
|
635
634
|
function parseOptValues($this, option, name, attachedValue) {
|
|
636
635
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -638,16 +637,16 @@ function parseOptValues($this, option, name, attachedValue) {
|
|
|
638
637
|
if (!(attachedValue == null)) {
|
|
639
638
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
640
639
|
values.o2(attachedValue);
|
|
641
|
-
} else if (!option.
|
|
642
|
-
return OptParseResult().
|
|
640
|
+
} else if (!option.g64()) {
|
|
641
|
+
return OptParseResult().l6i(1, option, name, emptyList());
|
|
643
642
|
}
|
|
644
|
-
var inductionVariable = $this.
|
|
645
|
-
var last = get_lastIndex($this.
|
|
643
|
+
var inductionVariable = $this.o6h_1 + 1 | 0;
|
|
644
|
+
var last = get_lastIndex($this.z6g_1);
|
|
646
645
|
if (inductionVariable <= last)
|
|
647
646
|
$l$loop_0: do {
|
|
648
647
|
var j = inductionVariable;
|
|
649
648
|
inductionVariable = inductionVariable + 1 | 0;
|
|
650
|
-
var tok = $this.
|
|
649
|
+
var tok = $this.z6g_1.s2(j);
|
|
651
650
|
if (values.p2() >= option.x61().g3_1)
|
|
652
651
|
break $l$loop_0;
|
|
653
652
|
var tmp;
|
|
@@ -660,7 +659,7 @@ function parseOptValues($this, option, name, attachedValue) {
|
|
|
660
659
|
} else {
|
|
661
660
|
// Inline function 'kotlin.collections.contains' call
|
|
662
661
|
// Inline function 'kotlin.collections.containsKey' call
|
|
663
|
-
var this_0 = $this.
|
|
662
|
+
var this_0 = $this.f6h_1;
|
|
664
663
|
tmp_2 = (isInterface(this_0, KtMap()) ? this_0 : THROW_CCE()).i4(tok);
|
|
665
664
|
}
|
|
666
665
|
if (tmp_2) {
|
|
@@ -668,14 +667,14 @@ function parseOptValues($this, option, name, attachedValue) {
|
|
|
668
667
|
} else {
|
|
669
668
|
// Inline function 'kotlin.collections.contains' call
|
|
670
669
|
// Inline function 'kotlin.collections.containsKey' call
|
|
671
|
-
var this_1 = $this.
|
|
670
|
+
var this_1 = $this.e6h_1;
|
|
672
671
|
tmp_1 = (isInterface(this_1, KtMap()) ? this_1 : THROW_CCE()).i4(tok);
|
|
673
672
|
}
|
|
674
673
|
if (tmp_1) {
|
|
675
674
|
tmp_0 = true;
|
|
676
675
|
} else {
|
|
677
676
|
var tmp_3;
|
|
678
|
-
if (!$this.
|
|
677
|
+
if (!$this.y6g_1.n5z()) {
|
|
679
678
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
680
679
|
var this_2 = splitOptionPrefix(tok).dm_1;
|
|
681
680
|
tmp_3 = charSequenceLength(this_2) > 0;
|
|
@@ -695,11 +694,11 @@ function parseOptValues($this, option, name, attachedValue) {
|
|
|
695
694
|
}
|
|
696
695
|
while (!(j === last));
|
|
697
696
|
var consumed = values.p2() + (attachedValue == null ? 1 : 0) | 0;
|
|
698
|
-
return OptParseResult().
|
|
697
|
+
return OptParseResult().l6i(consumed, option, name, values);
|
|
699
698
|
}
|
|
700
699
|
function parseArguments($this) {
|
|
701
700
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
702
|
-
var this_0 = asReversed($this.
|
|
701
|
+
var this_0 = asReversed($this.y6g_1.a5z_1);
|
|
703
702
|
var list = ArrayList().j2();
|
|
704
703
|
var _iterator__ex2g4s = this_0.l1();
|
|
705
704
|
$l$loop: while (_iterator__ex2g4s.m1()) {
|
|
@@ -718,25 +717,25 @@ function parseArguments($this) {
|
|
|
718
717
|
}
|
|
719
718
|
var endSize = sum;
|
|
720
719
|
var tokenI = 0;
|
|
721
|
-
var _iterator__ex2g4s_1 = $this.
|
|
720
|
+
var _iterator__ex2g4s_1 = $this.y6g_1.a5z_1.l1();
|
|
722
721
|
while (_iterator__ex2g4s_1.m1()) {
|
|
723
722
|
var argument = _iterator__ex2g4s_1.n1();
|
|
724
|
-
var remaining = $this.
|
|
723
|
+
var remaining = $this.j6h_1.p2() - tokenI | 0;
|
|
725
724
|
var tmp_0;
|
|
726
725
|
if (argument.x61() <= 0) {
|
|
727
|
-
var tmp0 = argument.
|
|
726
|
+
var tmp0 = argument.i6e() ? 1 : 0;
|
|
728
727
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
729
728
|
var b = remaining - endSize | 0;
|
|
730
729
|
tmp_0 = Math.max(tmp0, b);
|
|
731
|
-
} else if (argument.x61() > 0 && !argument.
|
|
730
|
+
} else if (argument.x61() > 0 && !argument.i6e() && remaining === 0) {
|
|
732
731
|
tmp_0 = 0;
|
|
733
732
|
} else {
|
|
734
733
|
tmp_0 = argument.x61();
|
|
735
734
|
}
|
|
736
735
|
var consumed = tmp_0;
|
|
737
|
-
var toIndex = coerceAtMost(tokenI + consumed | 0, $this.
|
|
738
|
-
var values = $this.
|
|
739
|
-
var tmp0_0 = $this.
|
|
736
|
+
var toIndex = coerceAtMost(tokenI + consumed | 0, $this.j6h_1.p2());
|
|
737
|
+
var values = $this.j6h_1.y2(tokenI, toIndex);
|
|
738
|
+
var tmp0_0 = $this.m6h_1;
|
|
740
739
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
741
740
|
var element_0 = new (ArgumentInvocation())(argument, values);
|
|
742
741
|
tmp0_0.o2(element_0);
|
|
@@ -745,29 +744,43 @@ function parseArguments($this) {
|
|
|
745
744
|
}
|
|
746
745
|
tokenI = tokenI + consumed | 0;
|
|
747
746
|
}
|
|
748
|
-
handleExcessArgs($this, $this.
|
|
747
|
+
handleExcessArgs($this, $this.j6h_1.p2() - tokenI | 0);
|
|
749
748
|
}
|
|
750
749
|
function handleExcessArgs($this, excessCount) {
|
|
751
750
|
if (excessCount !== 0) {
|
|
752
751
|
var tmp;
|
|
753
752
|
if (excessCount === 1) {
|
|
754
753
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
755
|
-
tmp = !$this.
|
|
754
|
+
tmp = !$this.d6h_1.j1();
|
|
756
755
|
} else {
|
|
757
756
|
tmp = false;
|
|
758
757
|
}
|
|
759
758
|
if (tmp) {
|
|
760
|
-
var actual = last($this.
|
|
761
|
-
var
|
|
762
|
-
|
|
759
|
+
var actual = last($this.j6h_1);
|
|
760
|
+
var tmp_0 = $this.d6h_1.l4();
|
|
761
|
+
// Inline function 'kotlin.collections.filterNot' call
|
|
762
|
+
var tmp0 = $this.f6h_1;
|
|
763
|
+
// Inline function 'kotlin.collections.filterNotTo' call
|
|
764
|
+
var destination = LinkedHashMap().mc();
|
|
765
|
+
// Inline function 'kotlin.collections.iterator' call
|
|
766
|
+
var _iterator__ex2g4s = tmp0.a3().l1();
|
|
767
|
+
while (_iterator__ex2g4s.m1()) {
|
|
768
|
+
var element = _iterator__ex2g4s.n1();
|
|
769
|
+
if (!element.c3().v61()) {
|
|
770
|
+
destination.s4(element.b3(), element.c3());
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
var candidates = plus_0(tmp_0, destination.l4());
|
|
774
|
+
var possibilities = $this.y6g_1.s5z().r60_1(actual, toList(candidates));
|
|
775
|
+
var tmp0_0 = $this.n6h_1;
|
|
763
776
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
764
|
-
var
|
|
765
|
-
|
|
777
|
+
var element_0 = NoSuchSubcommand().c6a(actual, possibilities);
|
|
778
|
+
tmp0_0.o2(element_0);
|
|
766
779
|
} else {
|
|
767
|
-
var
|
|
780
|
+
var tmp0_1 = $this.n6h_1;
|
|
768
781
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
769
|
-
var
|
|
770
|
-
|
|
782
|
+
var element_1 = NoSuchArgument().z66(takeLast($this.j6h_1, excessCount));
|
|
783
|
+
tmp0_1.o2(element_1);
|
|
771
784
|
}
|
|
772
785
|
}
|
|
773
786
|
}
|
|
@@ -776,12 +789,12 @@ function CommandParser() {
|
|
|
776
789
|
if (CommandParserClass === VOID) {
|
|
777
790
|
class $ {
|
|
778
791
|
constructor(command, argv, startingIndex) {
|
|
779
|
-
this.
|
|
780
|
-
this.
|
|
781
|
-
this.
|
|
782
|
-
this.
|
|
792
|
+
this.y6g_1 = command;
|
|
793
|
+
this.z6g_1 = argv;
|
|
794
|
+
this.a6h_1 = this.y6g_1.s5z();
|
|
795
|
+
this.b6h_1 = this.y6g_1.b60();
|
|
783
796
|
var tmp = this;
|
|
784
|
-
var tmp0 = ancestors(this.
|
|
797
|
+
var tmp0 = ancestors(this.a6h_1);
|
|
785
798
|
var tmp$ret$0;
|
|
786
799
|
$l$block: {
|
|
787
800
|
// Inline function 'kotlin.sequences.firstOrNull' call
|
|
@@ -816,10 +829,10 @@ function CommandParser() {
|
|
|
816
829
|
tmp_0 = destination;
|
|
817
830
|
}
|
|
818
831
|
var tmp3_elvis_lhs = tmp_0;
|
|
819
|
-
tmp.
|
|
832
|
+
tmp.c6h_1 = tmp3_elvis_lhs == null ? emptyMap() : tmp3_elvis_lhs;
|
|
820
833
|
var tmp_1 = this;
|
|
821
834
|
// Inline function 'kotlin.collections.associateBy' call
|
|
822
|
-
var this_0 = this.
|
|
835
|
+
var this_0 = this.y6g_1.y5y_1;
|
|
823
836
|
var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
824
837
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
825
838
|
var destination_0 = LinkedHashMap().nc(capacity_0);
|
|
@@ -829,63 +842,63 @@ function CommandParser() {
|
|
|
829
842
|
var tmp$ret$8 = element_1.q5y_1;
|
|
830
843
|
destination_0.s4(tmp$ret$8, element_1);
|
|
831
844
|
}
|
|
832
|
-
tmp_1.
|
|
833
|
-
this.
|
|
845
|
+
tmp_1.d6h_1 = destination_0;
|
|
846
|
+
this.e6h_1 = plus(this.c6h_1, this.d6h_1);
|
|
834
847
|
var tmp_2 = this;
|
|
835
848
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
836
|
-
tmp_2.
|
|
849
|
+
tmp_2.f6h_1 = LinkedHashMap().mc();
|
|
837
850
|
var tmp_3 = this;
|
|
838
851
|
// Inline function 'kotlin.collections.find' call
|
|
839
|
-
var tmp0_0 = this.
|
|
852
|
+
var tmp0_0 = this.y6g_1.z5y_1;
|
|
840
853
|
var tmp$ret$11;
|
|
841
854
|
$l$block_0: {
|
|
842
855
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
843
856
|
var _iterator__ex2g4s_2 = tmp0_0.l1();
|
|
844
857
|
while (_iterator__ex2g4s_2.m1()) {
|
|
845
858
|
var element_2 = _iterator__ex2g4s_2.n1();
|
|
846
|
-
if (element_2.
|
|
859
|
+
if (element_2.h63()) {
|
|
847
860
|
tmp$ret$11 = element_2;
|
|
848
861
|
break $l$block_0;
|
|
849
862
|
}
|
|
850
863
|
}
|
|
851
864
|
tmp$ret$11 = null;
|
|
852
865
|
}
|
|
853
|
-
tmp_3.
|
|
866
|
+
tmp_3.g6h_1 = tmp$ret$11;
|
|
854
867
|
var tmp_4 = this;
|
|
855
868
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
856
|
-
tmp_4.
|
|
869
|
+
tmp_4.h6h_1 = LinkedHashSet().t2();
|
|
857
870
|
var tmp_5 = this;
|
|
858
871
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
859
|
-
tmp_5.
|
|
872
|
+
tmp_5.i6h_1 = LinkedHashSet().t2();
|
|
860
873
|
var tmp_6 = this;
|
|
861
874
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
862
|
-
tmp_6.
|
|
863
|
-
this.
|
|
875
|
+
tmp_6.j6h_1 = ArrayList().j2();
|
|
876
|
+
this.k6h_1 = null;
|
|
864
877
|
var tmp_7 = this;
|
|
865
878
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
866
|
-
tmp_7.
|
|
879
|
+
tmp_7.l6h_1 = ArrayList().j2();
|
|
867
880
|
var tmp_8 = this;
|
|
868
881
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
869
|
-
tmp_8.
|
|
882
|
+
tmp_8.m6h_1 = ArrayList().j2();
|
|
870
883
|
var tmp_9 = this;
|
|
871
884
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
872
|
-
tmp_9.
|
|
873
|
-
this.
|
|
874
|
-
this.
|
|
885
|
+
tmp_9.n6h_1 = ArrayList().j2();
|
|
886
|
+
this.o6h_1 = startingIndex;
|
|
887
|
+
this.p6h_1 = this.o6h_1;
|
|
875
888
|
var tmp_10 = this;
|
|
876
889
|
// Inline function 'kotlin.collections.sumOf' call
|
|
877
890
|
var sum = 0;
|
|
878
|
-
var _iterator__ex2g4s_3 = this.
|
|
891
|
+
var _iterator__ex2g4s_3 = this.y6g_1.a5z_1.l1();
|
|
879
892
|
while (_iterator__ex2g4s_3.m1()) {
|
|
880
893
|
var element_3 = _iterator__ex2g4s_3.n1();
|
|
881
894
|
var tmp_11 = sum;
|
|
882
|
-
sum = tmp_11 + (element_3.
|
|
895
|
+
sum = tmp_11 + (element_3.i6e() ? coerceAtLeast(element_3.x61(), 0) : 0) | 0;
|
|
883
896
|
}
|
|
884
|
-
tmp_10.
|
|
885
|
-
this.
|
|
886
|
-
this.
|
|
897
|
+
tmp_10.q6h_1 = sum;
|
|
898
|
+
this.r6h_1 = true;
|
|
899
|
+
this.s6h_1 = this.a6h_1.b64();
|
|
887
900
|
}
|
|
888
|
-
|
|
901
|
+
t6h() {
|
|
889
902
|
splitOptionPrefixes(this);
|
|
890
903
|
if (printHelpOnEmptyArgsIfNecessary(this))
|
|
891
904
|
return makeResult(this);
|
|
@@ -904,20 +917,20 @@ function OptInvocation() {
|
|
|
904
917
|
if (OptInvocationClass === VOID) {
|
|
905
918
|
class $ {
|
|
906
919
|
constructor(opt, name, values) {
|
|
907
|
-
this.
|
|
908
|
-
this.
|
|
909
|
-
this.
|
|
920
|
+
this.c6i_1 = opt;
|
|
921
|
+
this.d6i_1 = name;
|
|
922
|
+
this.e6i_1 = values;
|
|
910
923
|
}
|
|
911
|
-
|
|
912
|
-
return new (OptionInvocation())(this.
|
|
924
|
+
f6i() {
|
|
925
|
+
return new (OptionInvocation())(this.d6i_1, this.e6i_1);
|
|
913
926
|
}
|
|
914
927
|
toString() {
|
|
915
|
-
return 'OptInvocation(opt=' + toString(this.
|
|
928
|
+
return 'OptInvocation(opt=' + toString(this.c6i_1) + ', name=' + this.d6i_1 + ', values=' + toString(this.e6i_1) + ')';
|
|
916
929
|
}
|
|
917
930
|
hashCode() {
|
|
918
|
-
var result = hashCode(this.
|
|
919
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
920
|
-
result = imul(result, 31) + hashCode(this.
|
|
931
|
+
var result = hashCode(this.c6i_1);
|
|
932
|
+
result = imul(result, 31) + getStringHashCode(this.d6i_1) | 0;
|
|
933
|
+
result = imul(result, 31) + hashCode(this.e6i_1) | 0;
|
|
921
934
|
return result;
|
|
922
935
|
}
|
|
923
936
|
equals(other) {
|
|
@@ -925,11 +938,11 @@ function OptInvocation() {
|
|
|
925
938
|
return true;
|
|
926
939
|
if (!(other instanceof OptInvocation()))
|
|
927
940
|
return false;
|
|
928
|
-
if (!equals(this.
|
|
941
|
+
if (!equals(this.c6i_1, other.c6i_1))
|
|
929
942
|
return false;
|
|
930
|
-
if (!(this.
|
|
943
|
+
if (!(this.d6i_1 === other.d6i_1))
|
|
931
944
|
return false;
|
|
932
|
-
if (!equals(this.
|
|
945
|
+
if (!equals(this.e6i_1, other.e6i_1))
|
|
933
946
|
return false;
|
|
934
947
|
return true;
|
|
935
948
|
}
|
|
@@ -947,43 +960,43 @@ function OptParseResult() {
|
|
|
947
960
|
if (OptParseResultClass === VOID) {
|
|
948
961
|
class $ {
|
|
949
962
|
constructor(consumed, unknown, known, err) {
|
|
950
|
-
return new.target.
|
|
963
|
+
return new.target.k6i(consumed, unknown, known, err);
|
|
951
964
|
}
|
|
952
|
-
static
|
|
965
|
+
static k6i(consumed, unknown, known, err) {
|
|
953
966
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
954
967
|
known = known === VOID ? emptyList() : known;
|
|
955
968
|
err = err === VOID ? null : err;
|
|
956
969
|
var $this = createThis(this);
|
|
957
|
-
$this.
|
|
958
|
-
$this.
|
|
959
|
-
$this.
|
|
960
|
-
$this.
|
|
970
|
+
$this.g6i_1 = consumed;
|
|
971
|
+
$this.h6i_1 = unknown;
|
|
972
|
+
$this.i6i_1 = known;
|
|
973
|
+
$this.j6i_1 = err;
|
|
961
974
|
return $this;
|
|
962
975
|
}
|
|
963
|
-
static
|
|
964
|
-
return this.
|
|
976
|
+
static n6i(consumed, invocations) {
|
|
977
|
+
return this.k6i(consumed, emptyList(), invocations);
|
|
965
978
|
}
|
|
966
|
-
static
|
|
967
|
-
return this.
|
|
979
|
+
static l6i(consumed, opt, name, values) {
|
|
980
|
+
return this.k6i(consumed, emptyList(), listOf_0(new (OptInvocation())(opt, name, values)));
|
|
968
981
|
}
|
|
969
|
-
|
|
970
|
-
return OptParseResult().
|
|
982
|
+
o6i(consumed, unknown, known, err) {
|
|
983
|
+
return OptParseResult().k6i(consumed, unknown, known, err);
|
|
971
984
|
}
|
|
972
|
-
|
|
973
|
-
consumed = consumed === VOID ? this.
|
|
974
|
-
unknown = unknown === VOID ? this.
|
|
975
|
-
known = known === VOID ? this.
|
|
976
|
-
err = err === VOID ? this.
|
|
977
|
-
return $super === VOID ? this.
|
|
985
|
+
m6i(consumed, unknown, known, err, $super) {
|
|
986
|
+
consumed = consumed === VOID ? this.g6i_1 : consumed;
|
|
987
|
+
unknown = unknown === VOID ? this.h6i_1 : unknown;
|
|
988
|
+
known = known === VOID ? this.i6i_1 : known;
|
|
989
|
+
err = err === VOID ? this.j6i_1 : err;
|
|
990
|
+
return $super === VOID ? this.o6i(consumed, unknown, known, err) : $super.o6i.call(this, consumed, unknown, known, err);
|
|
978
991
|
}
|
|
979
992
|
toString() {
|
|
980
|
-
return 'OptParseResult(consumed=' + this.
|
|
993
|
+
return 'OptParseResult(consumed=' + this.g6i_1 + ', unknown=' + toString(this.h6i_1) + ', known=' + toString(this.i6i_1) + ', err=' + toString_0(this.j6i_1) + ')';
|
|
981
994
|
}
|
|
982
995
|
hashCode() {
|
|
983
|
-
var result = this.
|
|
984
|
-
result = imul(result, 31) + hashCode(this.
|
|
985
|
-
result = imul(result, 31) + hashCode(this.
|
|
986
|
-
result = imul(result, 31) + (this.
|
|
996
|
+
var result = this.g6i_1;
|
|
997
|
+
result = imul(result, 31) + hashCode(this.h6i_1) | 0;
|
|
998
|
+
result = imul(result, 31) + hashCode(this.i6i_1) | 0;
|
|
999
|
+
result = imul(result, 31) + (this.j6i_1 == null ? 0 : hashCode(this.j6i_1)) | 0;
|
|
987
1000
|
return result;
|
|
988
1001
|
}
|
|
989
1002
|
equals(other) {
|
|
@@ -991,13 +1004,13 @@ function OptParseResult() {
|
|
|
991
1004
|
return true;
|
|
992
1005
|
if (!(other instanceof OptParseResult()))
|
|
993
1006
|
return false;
|
|
994
|
-
if (!(this.
|
|
1007
|
+
if (!(this.g6i_1 === other.g6i_1))
|
|
995
1008
|
return false;
|
|
996
|
-
if (!equals(this.
|
|
1009
|
+
if (!equals(this.h6i_1, other.h6i_1))
|
|
997
1010
|
return false;
|
|
998
|
-
if (!equals(this.
|
|
1011
|
+
if (!equals(this.i6i_1, other.i6i_1))
|
|
999
1012
|
return false;
|
|
1000
|
-
if (!equals(this.
|
|
1013
|
+
if (!equals(this.j6i_1, other.j6i_1))
|
|
1001
1014
|
return false;
|
|
1002
1015
|
return true;
|
|
1003
1016
|
}
|