@continuous-excellence/coupling-cli 1.1.438 → 1.1.440
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 +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +27 -9
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +193 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -0
- 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 +158 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +37 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +29 -28
- 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 +29 -29
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +10 -10
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +229 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +82 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +173 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +43 -43
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +41 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs.map +1 -0
- 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 +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +46 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +110 -110
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +93 -93
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- 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 +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +211 -211
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- 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 +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +230 -230
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- 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 +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- 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/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- 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 +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +63 -63
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +234 -234
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +152 -152
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- 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 +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +59 -59
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +95 -95
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -30,26 +30,26 @@ function plus(other) {
|
|
|
30
30
|
} else if (other === get_DEFAULT_STYLE()) {
|
|
31
31
|
tmp = this;
|
|
32
32
|
} else {
|
|
33
|
-
var tmp0_elvis_lhs = other.
|
|
34
|
-
var tmp_0 = tmp0_elvis_lhs == null ? this.
|
|
35
|
-
var tmp1_elvis_lhs = other.
|
|
36
|
-
var tmp_1 = tmp1_elvis_lhs == null ? this.
|
|
37
|
-
var tmp2_elvis_lhs = other.
|
|
38
|
-
var tmp_2 = tmp2_elvis_lhs == null ? this.
|
|
39
|
-
var tmp3_elvis_lhs = other.
|
|
40
|
-
var tmp_3 = tmp3_elvis_lhs == null ? this.
|
|
41
|
-
var tmp4_elvis_lhs = other.
|
|
42
|
-
var tmp_4 = tmp4_elvis_lhs == null ? this.
|
|
43
|
-
var tmp5_elvis_lhs = other.
|
|
44
|
-
var tmp_5 = tmp5_elvis_lhs == null ? this.
|
|
45
|
-
var tmp6_elvis_lhs = other.
|
|
46
|
-
var tmp_6 = tmp6_elvis_lhs == null ? this.
|
|
47
|
-
var tmp7_elvis_lhs = other.
|
|
48
|
-
var tmp_7 = tmp7_elvis_lhs == null ? this.
|
|
49
|
-
var tmp8_elvis_lhs = other.
|
|
50
|
-
var tmp_8 = tmp8_elvis_lhs == null ? this.
|
|
51
|
-
var tmp9_elvis_lhs = other.
|
|
52
|
-
tmp = new (TxtStyle())(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp9_elvis_lhs == null ? this.
|
|
33
|
+
var tmp0_elvis_lhs = other.a6e();
|
|
34
|
+
var tmp_0 = tmp0_elvis_lhs == null ? this.a6e() : tmp0_elvis_lhs;
|
|
35
|
+
var tmp1_elvis_lhs = other.b6e();
|
|
36
|
+
var tmp_1 = tmp1_elvis_lhs == null ? this.b6e() : tmp1_elvis_lhs;
|
|
37
|
+
var tmp2_elvis_lhs = other.g6e();
|
|
38
|
+
var tmp_2 = tmp2_elvis_lhs == null ? this.g6e() : tmp2_elvis_lhs;
|
|
39
|
+
var tmp3_elvis_lhs = other.c6e();
|
|
40
|
+
var tmp_3 = tmp3_elvis_lhs == null ? this.c6e() : tmp3_elvis_lhs;
|
|
41
|
+
var tmp4_elvis_lhs = other.d6e();
|
|
42
|
+
var tmp_4 = tmp4_elvis_lhs == null ? this.d6e() : tmp4_elvis_lhs;
|
|
43
|
+
var tmp5_elvis_lhs = other.h6e();
|
|
44
|
+
var tmp_5 = tmp5_elvis_lhs == null ? this.h6e() : tmp5_elvis_lhs;
|
|
45
|
+
var tmp6_elvis_lhs = other.e6e();
|
|
46
|
+
var tmp_6 = tmp6_elvis_lhs == null ? this.e6e() : tmp6_elvis_lhs;
|
|
47
|
+
var tmp7_elvis_lhs = other.f6e();
|
|
48
|
+
var tmp_7 = tmp7_elvis_lhs == null ? this.f6e() : tmp7_elvis_lhs;
|
|
49
|
+
var tmp8_elvis_lhs = other.i6e();
|
|
50
|
+
var tmp_8 = tmp8_elvis_lhs == null ? this.i6e() : tmp8_elvis_lhs;
|
|
51
|
+
var tmp9_elvis_lhs = other.j6e();
|
|
52
|
+
tmp = new (TxtStyle())(tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, tmp_5, tmp_6, tmp_7, tmp_8, tmp9_elvis_lhs == null ? this.j6e() : tmp9_elvis_lhs);
|
|
53
53
|
}
|
|
54
54
|
return tmp;
|
|
55
55
|
}
|
|
@@ -86,61 +86,61 @@ function TxtStyle() {
|
|
|
86
86
|
if (TxtStyleClass === VOID) {
|
|
87
87
|
class $ {
|
|
88
88
|
constructor(color, bgColor, bold, italic, underline, dim, inverse, strikethrough, hyperlink, hyperlinkId) {
|
|
89
|
-
this.
|
|
90
|
-
this.
|
|
91
|
-
this.
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
89
|
+
this.m6h_1 = color;
|
|
90
|
+
this.n6h_1 = bgColor;
|
|
91
|
+
this.o6h_1 = bold;
|
|
92
|
+
this.p6h_1 = italic;
|
|
93
|
+
this.q6h_1 = underline;
|
|
94
|
+
this.r6h_1 = dim;
|
|
95
|
+
this.s6h_1 = inverse;
|
|
96
|
+
this.t6h_1 = strikethrough;
|
|
97
|
+
this.u6h_1 = hyperlink;
|
|
98
|
+
this.v6h_1 = hyperlinkId;
|
|
99
99
|
}
|
|
100
|
-
|
|
101
|
-
return this.
|
|
100
|
+
a6e() {
|
|
101
|
+
return this.m6h_1;
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
return this.
|
|
103
|
+
b6e() {
|
|
104
|
+
return this.n6h_1;
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
return this.
|
|
106
|
+
g6e() {
|
|
107
|
+
return this.o6h_1;
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
return this.
|
|
109
|
+
c6e() {
|
|
110
|
+
return this.p6h_1;
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
return this.
|
|
112
|
+
d6e() {
|
|
113
|
+
return this.q6h_1;
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
return this.
|
|
115
|
+
h6e() {
|
|
116
|
+
return this.r6h_1;
|
|
117
117
|
}
|
|
118
|
-
|
|
119
|
-
return this.
|
|
118
|
+
e6e() {
|
|
119
|
+
return this.s6h_1;
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return this.
|
|
121
|
+
f6e() {
|
|
122
|
+
return this.t6h_1;
|
|
123
123
|
}
|
|
124
|
-
|
|
125
|
-
return this.
|
|
124
|
+
i6e() {
|
|
125
|
+
return this.u6h_1;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
return this.
|
|
127
|
+
j6e() {
|
|
128
|
+
return this.v6h_1;
|
|
129
129
|
}
|
|
130
130
|
toString() {
|
|
131
|
-
return 'TxtStyle(color=' + toString(this.
|
|
131
|
+
return 'TxtStyle(color=' + toString(this.m6h_1) + ', bgColor=' + toString(this.n6h_1) + ', bold=' + this.o6h_1 + ', italic=' + this.p6h_1 + ', underline=' + this.q6h_1 + ', dim=' + this.r6h_1 + ', inverse=' + this.s6h_1 + ', strikethrough=' + this.t6h_1 + ', hyperlink=' + this.u6h_1 + ', hyperlinkId=' + this.v6h_1 + ')';
|
|
132
132
|
}
|
|
133
133
|
hashCode() {
|
|
134
|
-
var result = this.
|
|
135
|
-
result = imul(result, 31) + (this.
|
|
136
|
-
result = imul(result, 31) + (this.
|
|
137
|
-
result = imul(result, 31) + (this.
|
|
138
|
-
result = imul(result, 31) + (this.
|
|
139
|
-
result = imul(result, 31) + (this.
|
|
140
|
-
result = imul(result, 31) + (this.
|
|
141
|
-
result = imul(result, 31) + (this.
|
|
142
|
-
result = imul(result, 31) + (this.
|
|
143
|
-
result = imul(result, 31) + (this.
|
|
134
|
+
var result = this.m6h_1 == null ? 0 : hashCode(this.m6h_1);
|
|
135
|
+
result = imul(result, 31) + (this.n6h_1 == null ? 0 : hashCode(this.n6h_1)) | 0;
|
|
136
|
+
result = imul(result, 31) + (this.o6h_1 == null ? 0 : getBooleanHashCode(this.o6h_1)) | 0;
|
|
137
|
+
result = imul(result, 31) + (this.p6h_1 == null ? 0 : getBooleanHashCode(this.p6h_1)) | 0;
|
|
138
|
+
result = imul(result, 31) + (this.q6h_1 == null ? 0 : getBooleanHashCode(this.q6h_1)) | 0;
|
|
139
|
+
result = imul(result, 31) + (this.r6h_1 == null ? 0 : getBooleanHashCode(this.r6h_1)) | 0;
|
|
140
|
+
result = imul(result, 31) + (this.s6h_1 == null ? 0 : getBooleanHashCode(this.s6h_1)) | 0;
|
|
141
|
+
result = imul(result, 31) + (this.t6h_1 == null ? 0 : getBooleanHashCode(this.t6h_1)) | 0;
|
|
142
|
+
result = imul(result, 31) + (this.u6h_1 == null ? 0 : getStringHashCode(this.u6h_1)) | 0;
|
|
143
|
+
result = imul(result, 31) + (this.v6h_1 == null ? 0 : getStringHashCode(this.v6h_1)) | 0;
|
|
144
144
|
return result;
|
|
145
145
|
}
|
|
146
146
|
equals(other) {
|
|
@@ -149,42 +149,42 @@ function TxtStyle() {
|
|
|
149
149
|
if (!(other instanceof TxtStyle()))
|
|
150
150
|
return false;
|
|
151
151
|
var tmp0_other_with_cast = other instanceof TxtStyle() ? other : THROW_CCE();
|
|
152
|
-
if (!equals(this.
|
|
152
|
+
if (!equals(this.m6h_1, tmp0_other_with_cast.m6h_1))
|
|
153
153
|
return false;
|
|
154
|
-
if (!equals(this.
|
|
154
|
+
if (!equals(this.n6h_1, tmp0_other_with_cast.n6h_1))
|
|
155
155
|
return false;
|
|
156
|
-
if (!(this.
|
|
156
|
+
if (!(this.o6h_1 == tmp0_other_with_cast.o6h_1))
|
|
157
157
|
return false;
|
|
158
|
-
if (!(this.
|
|
158
|
+
if (!(this.p6h_1 == tmp0_other_with_cast.p6h_1))
|
|
159
159
|
return false;
|
|
160
|
-
if (!(this.
|
|
160
|
+
if (!(this.q6h_1 == tmp0_other_with_cast.q6h_1))
|
|
161
161
|
return false;
|
|
162
|
-
if (!(this.
|
|
162
|
+
if (!(this.r6h_1 == tmp0_other_with_cast.r6h_1))
|
|
163
163
|
return false;
|
|
164
|
-
if (!(this.
|
|
164
|
+
if (!(this.s6h_1 == tmp0_other_with_cast.s6h_1))
|
|
165
165
|
return false;
|
|
166
|
-
if (!(this.
|
|
166
|
+
if (!(this.t6h_1 == tmp0_other_with_cast.t6h_1))
|
|
167
167
|
return false;
|
|
168
|
-
if (!(this.
|
|
168
|
+
if (!(this.u6h_1 == tmp0_other_with_cast.u6h_1))
|
|
169
169
|
return false;
|
|
170
|
-
if (!(this.
|
|
170
|
+
if (!(this.v6h_1 == tmp0_other_with_cast.v6h_1))
|
|
171
171
|
return false;
|
|
172
172
|
return true;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
protoOf($).
|
|
176
|
-
protoOf($).
|
|
175
|
+
protoOf($).b6b = invoke;
|
|
176
|
+
protoOf($).q6e = plus;
|
|
177
177
|
initMetadataForClass($, 'TxtStyle', VOID, VOID, [TextStyle()]);
|
|
178
178
|
TxtStyleClass = $;
|
|
179
179
|
}
|
|
180
180
|
return TxtStyleClass;
|
|
181
181
|
}
|
|
182
182
|
function copy(_this__u8e3s4, fg, bg, hyperlink, hyperlinkId) {
|
|
183
|
-
fg = fg === VOID ? _this__u8e3s4.
|
|
184
|
-
bg = bg === VOID ? _this__u8e3s4.
|
|
185
|
-
hyperlink = hyperlink === VOID ? _this__u8e3s4.
|
|
186
|
-
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.
|
|
187
|
-
return new (TxtStyle())(fg, bg, _this__u8e3s4.
|
|
183
|
+
fg = fg === VOID ? _this__u8e3s4.a6e() : fg;
|
|
184
|
+
bg = bg === VOID ? _this__u8e3s4.b6e() : bg;
|
|
185
|
+
hyperlink = hyperlink === VOID ? _this__u8e3s4.i6e() : hyperlink;
|
|
186
|
+
hyperlinkId = hyperlinkId === VOID ? _this__u8e3s4.j6e() : hyperlinkId;
|
|
187
|
+
return new (TxtStyle())(fg, bg, _this__u8e3s4.g6e(), _this__u8e3s4.c6e(), _this__u8e3s4.d6e(), _this__u8e3s4.h6e(), _this__u8e3s4.e6e(), _this__u8e3s4.f6e(), hyperlink, hyperlinkId);
|
|
188
188
|
}
|
|
189
189
|
function foldStyles(styles) {
|
|
190
190
|
var style = null;
|
|
@@ -195,7 +195,7 @@ function foldStyles(styles) {
|
|
|
195
195
|
inductionVariable = inductionVariable + 1 | 0;
|
|
196
196
|
if (s == null)
|
|
197
197
|
continue $l$loop;
|
|
198
|
-
style = style == null ? s : s.
|
|
198
|
+
style = style == null ? s : s.q6e(style);
|
|
199
199
|
}
|
|
200
200
|
return style;
|
|
201
201
|
}
|
|
@@ -18,66 +18,66 @@ import {
|
|
|
18
18
|
//region block: pre-declaration
|
|
19
19
|
//endregion
|
|
20
20
|
function Theme$Companion$Plain$lambda($this$Theme) {
|
|
21
|
-
var tmp0 = $this$Theme.
|
|
21
|
+
var tmp0 = $this$Theme.y6h_1;
|
|
22
22
|
// Inline function 'kotlin.collections.set' call
|
|
23
23
|
var key = 'progressbar.pulse';
|
|
24
24
|
tmp0.v4(key, false);
|
|
25
25
|
return Unit_instance;
|
|
26
26
|
}
|
|
27
27
|
function Theme$Companion$PlainAscii$lambda($this$Theme) {
|
|
28
|
-
var tmp0 = $this$Theme.
|
|
28
|
+
var tmp0 = $this$Theme.x6h_1;
|
|
29
29
|
// Inline function 'kotlin.collections.set' call
|
|
30
30
|
var key = 'list.number.separator';
|
|
31
31
|
tmp0.v4(key, '.');
|
|
32
|
-
var tmp0_0 = $this$Theme.
|
|
32
|
+
var tmp0_0 = $this$Theme.x6h_1;
|
|
33
33
|
// Inline function 'kotlin.collections.set' call
|
|
34
34
|
var key_0 = 'list.bullet.text';
|
|
35
35
|
tmp0_0.v4(key_0, '*');
|
|
36
|
-
var tmp0_1 = $this$Theme.
|
|
36
|
+
var tmp0_1 = $this$Theme.x6h_1;
|
|
37
37
|
// Inline function 'kotlin.collections.set' call
|
|
38
38
|
var key_1 = 'progressbar.pending';
|
|
39
39
|
tmp0_1.v4(key_1, ' ');
|
|
40
|
-
var tmp0_2 = $this$Theme.
|
|
40
|
+
var tmp0_2 = $this$Theme.x6h_1;
|
|
41
41
|
// Inline function 'kotlin.collections.set' call
|
|
42
42
|
var key_2 = 'progressbar.complete';
|
|
43
43
|
tmp0_2.v4(key_2, '#');
|
|
44
|
-
var tmp0_3 = $this$Theme.
|
|
44
|
+
var tmp0_3 = $this$Theme.x6h_1;
|
|
45
45
|
// Inline function 'kotlin.collections.set' call
|
|
46
46
|
var key_3 = 'progressbar.separator';
|
|
47
47
|
tmp0_3.v4(key_3, '>');
|
|
48
|
-
var tmp0_4 = $this$Theme.
|
|
48
|
+
var tmp0_4 = $this$Theme.x6h_1;
|
|
49
49
|
// Inline function 'kotlin.collections.set' call
|
|
50
50
|
var key_4 = 'markdown.task.checked';
|
|
51
51
|
tmp0_4.v4(key_4, '[x]');
|
|
52
|
-
var tmp0_5 = $this$Theme.
|
|
52
|
+
var tmp0_5 = $this$Theme.x6h_1;
|
|
53
53
|
// Inline function 'kotlin.collections.set' call
|
|
54
54
|
var key_5 = 'markdown.task.unchecked';
|
|
55
55
|
tmp0_5.v4(key_5, '[ ]');
|
|
56
|
-
var tmp0_6 = $this$Theme.
|
|
56
|
+
var tmp0_6 = $this$Theme.x6h_1;
|
|
57
57
|
// Inline function 'kotlin.collections.set' call
|
|
58
58
|
var key_6 = 'markdown.h1.rule';
|
|
59
59
|
tmp0_6.v4(key_6, '=');
|
|
60
|
-
var tmp0_7 = $this$Theme.
|
|
60
|
+
var tmp0_7 = $this$Theme.x6h_1;
|
|
61
61
|
// Inline function 'kotlin.collections.set' call
|
|
62
62
|
var key_7 = 'markdown.h2.rule';
|
|
63
63
|
tmp0_7.v4(key_7, '-');
|
|
64
|
-
var tmp0_8 = $this$Theme.
|
|
64
|
+
var tmp0_8 = $this$Theme.x6h_1;
|
|
65
65
|
// Inline function 'kotlin.collections.set' call
|
|
66
66
|
var key_8 = 'markdown.blockquote.bar';
|
|
67
67
|
tmp0_8.v4(key_8, '|');
|
|
68
|
-
var tmp0_9 = $this$Theme.
|
|
68
|
+
var tmp0_9 = $this$Theme.x6h_1;
|
|
69
69
|
// Inline function 'kotlin.collections.set' call
|
|
70
70
|
var key_9 = 'select.cursor';
|
|
71
71
|
tmp0_9.v4(key_9, '>');
|
|
72
|
-
var tmp0_10 = $this$Theme.
|
|
72
|
+
var tmp0_10 = $this$Theme.x6h_1;
|
|
73
73
|
// Inline function 'kotlin.collections.set' call
|
|
74
74
|
var key_10 = 'select.selected';
|
|
75
75
|
tmp0_10.v4(key_10, 'x');
|
|
76
|
-
var tmp0_11 = $this$Theme.
|
|
76
|
+
var tmp0_11 = $this$Theme.x6h_1;
|
|
77
77
|
// Inline function 'kotlin.collections.set' call
|
|
78
78
|
var key_11 = 'select.unselected';
|
|
79
79
|
tmp0_11.v4(key_11, ' ');
|
|
80
|
-
var tmp0_12 = $this$Theme.
|
|
80
|
+
var tmp0_12 = $this$Theme.y6h_1;
|
|
81
81
|
// Inline function 'kotlin.collections.set' call
|
|
82
82
|
var key_12 = 'markdown.table.ascii';
|
|
83
83
|
tmp0_12.v4(key_12, true);
|
|
@@ -89,18 +89,18 @@ function Companion() {
|
|
|
89
89
|
class $ {
|
|
90
90
|
constructor() {
|
|
91
91
|
Companion_instance = this;
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
92
|
+
this.a6i_1 = Companion_getInstance().b6b('#c678dd');
|
|
93
|
+
this.b6i_1 = Companion_getInstance().b6b('#61afef');
|
|
94
|
+
this.c6i_1 = Companion_getInstance().b6b('#5c6370');
|
|
95
|
+
this.d6i_1 = Companion_getInstance().b6b('#e06c75');
|
|
96
|
+
this.e6i_1 = Companion_getInstance().b6b('#e5c07b');
|
|
97
|
+
this.f6i_1 = Companion_getInstance().b6b('#98c379');
|
|
98
|
+
this.g6i_1 = new (BuiltTheme())(mapOf([to('success', TextStyle(this.f6i_1)), to('danger', TextStyle(this.d6i_1)), to('warning', TextStyle(this.e6i_1)), to('info', TextStyle(this.b6i_1)), to('muted', TextStyle(VOID, VOID, VOID, VOID, VOID, true)), to('list.number', get_DEFAULT_STYLE()), to('list.bullet', get_DEFAULT_STYLE()), to('hr.rule', get_DEFAULT_STYLE()), to('panel.border', get_DEFAULT_STYLE()), to('prompt.prompt', get_DEFAULT_STYLE()), to('prompt.default', TextStyle(this.b6i_1, VOID, true)), to('prompt.choices', TextStyle(this.b6i_1, VOID, true)), to('prompt.choices.invalid', TextStyle(this.d6i_1)), to('progressbar.pending', TextStyle(this.c6i_1)), to('progressbar.complete', TextStyle(this.b6i_1)), to('progressbar.indeterminate', TextStyle(this.b6i_1)), to('progressbar.separator', get_DEFAULT_STYLE()), to('progressbar.finished', TextStyle(this.f6i_1)), to('markdown.blockquote', TextStyle(this.e6i_1)), to('markdown.emph', TextStyle(VOID, VOID, VOID, true)), to('markdown.strong', TextStyle(VOID, VOID, true)), to('markdown.stikethrough', TextStyle(VOID, VOID, VOID, VOID, VOID, VOID, VOID, true)), to('markdown.code.block', TextStyle(this.b6i_1)), to('markdown.code.span', TextStyle(this.b6i_1, this.c6i_1)), to('markdown.table.header', TextStyle(VOID, VOID, true)), to('markdown.table.body', get_DEFAULT_STYLE()), to('markdown.link.text', TextStyle(this.b6i_1)), to('markdown.link.destination', TextStyle(this.b6i_1, VOID, VOID, VOID, VOID, true)), to('markdown.img.alt-text', TextStyle(VOID, VOID, VOID, VOID, VOID, true)), to('markdown.h1', TextStyle(this.a6i_1, VOID, true)), to('markdown.h2', TextStyle(this.a6i_1, VOID, true)), to('markdown.h3', TextStyle(this.a6i_1, VOID, true, VOID, true)), to('markdown.h4', TextStyle(this.a6i_1, VOID, VOID, VOID, true)), to('markdown.h5', TextStyle(this.a6i_1, VOID, VOID, true)), to('markdown.h6', TextStyle(this.a6i_1, VOID, VOID, VOID, VOID, true)), to('select.title', TextStyle(this.a6i_1, VOID, true)), to('select.cursor', TextStyle(this.b6i_1)), to('select.selected', TextStyle(this.f6i_1)), to('select.unselected-title', get_DEFAULT_STYLE()), to('select.unselected-marker', TextStyle(VOID, VOID, VOID, VOID, VOID, true))]), mapOf([to('list.number.separator', '.'), to('list.bullet.text', '\u2022'), to('progressbar.pending', '\u2501'), to('progressbar.complete', '\u2501'), to('progressbar.separator', ' '), to('hr.rule', '\u2500'), to('markdown.task.checked', '\u2611'), to('markdown.task.unchecked', '\u2610'), to('markdown.h1.rule', '\u2550'), to('markdown.h2.rule', '\u2500'), to('markdown.h3.rule', ' '), to('markdown.h4.rule', ' '), to('markdown.h5.rule', ' '), to('markdown.h6.rule', ' '), to('markdown.blockquote.bar', '\u258E'), to('select.cursor', '\u276F'), to('select.selected', '\u2713'), to('select.unselected', '\u2022')]), mapOf([to('progressbar.pulse', true), to('markdown.code.block.border', true), to('markdown.table.ascii', false)]), mapOf([to('hr.title.padding', 1), to('panel.title.padding', 1), to('markdown.header.padding', 1)]));
|
|
99
99
|
var tmp = this;
|
|
100
|
-
var tmp_0 = new (BuiltTheme())(emptyMap(), this.
|
|
101
|
-
tmp.
|
|
100
|
+
var tmp_0 = new (BuiltTheme())(emptyMap(), this.g6i_1.k6i_1, this.g6i_1.l6i_1, this.g6i_1.m6i_1);
|
|
101
|
+
tmp.h6i_1 = Theme_0(tmp_0, Theme$Companion$Plain$lambda);
|
|
102
102
|
var tmp_1 = this;
|
|
103
|
-
tmp_1.
|
|
103
|
+
tmp_1.i6i_1 = Theme_0(this.h6i_1, Theme$Companion$PlainAscii$lambda);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
initMetadataForCompanion($);
|
|
@@ -120,17 +120,17 @@ function Theme() {
|
|
|
120
120
|
class $ {
|
|
121
121
|
constructor(styles, strings, flags, dimensions) {
|
|
122
122
|
Companion_getInstance_0();
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
126
|
-
this.
|
|
123
|
+
this.j6i_1 = styles;
|
|
124
|
+
this.k6i_1 = strings;
|
|
125
|
+
this.l6i_1 = flags;
|
|
126
|
+
this.m6i_1 = dimensions;
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
return this.
|
|
128
|
+
n6i() {
|
|
129
|
+
return this.o6i('danger');
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
p6i(style, default_0) {
|
|
132
132
|
// Inline function 'kotlin.collections.getOrElse' call
|
|
133
|
-
var tmp0_elvis_lhs = this.
|
|
133
|
+
var tmp0_elvis_lhs = this.j6i_1.o4(style);
|
|
134
134
|
var tmp;
|
|
135
135
|
if (tmp0_elvis_lhs == null) {
|
|
136
136
|
tmp = default_0;
|
|
@@ -139,9 +139,9 @@ function Theme() {
|
|
|
139
139
|
}
|
|
140
140
|
return tmp;
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
o6i(style, default_0, $super) {
|
|
143
143
|
default_0 = default_0 === VOID ? get_DEFAULT_STYLE() : default_0;
|
|
144
|
-
return $super === VOID ? this.
|
|
144
|
+
return $super === VOID ? this.p6i(style, default_0) : $super.p6i.call(this, style, default_0);
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
initMetadataForClass($, 'Theme');
|
|
@@ -159,24 +159,24 @@ function BuiltTheme() {
|
|
|
159
159
|
return BuiltThemeClass;
|
|
160
160
|
}
|
|
161
161
|
function Theme_0(from, init) {
|
|
162
|
-
from = from === VOID ? Companion_getInstance_0().
|
|
162
|
+
from = from === VOID ? Companion_getInstance_0().g6i_1 : from;
|
|
163
163
|
// Inline function 'kotlin.apply' call
|
|
164
|
-
var this_0 = new (ThemeBuilder())(toMutableMap(from.
|
|
164
|
+
var this_0 = new (ThemeBuilder())(toMutableMap(from.j6i_1), toMutableMap(from.k6i_1), toMutableMap(from.l6i_1), toMutableMap(from.m6i_1));
|
|
165
165
|
init(this_0);
|
|
166
|
-
return this_0.
|
|
166
|
+
return this_0.q6i();
|
|
167
167
|
}
|
|
168
168
|
var ThemeBuilderClass;
|
|
169
169
|
function ThemeBuilder() {
|
|
170
170
|
if (ThemeBuilderClass === VOID) {
|
|
171
171
|
class $ {
|
|
172
172
|
constructor(styles, strings, flags, dimensions) {
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
176
|
-
this.
|
|
173
|
+
this.w6h_1 = styles;
|
|
174
|
+
this.x6h_1 = strings;
|
|
175
|
+
this.y6h_1 = flags;
|
|
176
|
+
this.z6h_1 = dimensions;
|
|
177
177
|
}
|
|
178
|
-
|
|
179
|
-
return new (BuiltTheme())(this.
|
|
178
|
+
q6i() {
|
|
179
|
+
return new (BuiltTheme())(this.w6h_1, this.x6h_1, this.y6h_1, this.z6h_1);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
initMetadataForClass($, 'ThemeBuilder');
|
|
@@ -28,10 +28,10 @@ function Whitespace() {
|
|
|
28
28
|
class $ extends Enum() {
|
|
29
29
|
constructor(name, ordinal, collapseNewlines, collapseSpaces, wrap, trimEol) {
|
|
30
30
|
super(name, ordinal);
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
31
|
+
this.t6i_1 = collapseNewlines;
|
|
32
|
+
this.u6i_1 = collapseSpaces;
|
|
33
|
+
this.v6i_1 = wrap;
|
|
34
|
+
this.w6i_1 = trimEol;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
initMetadataForClass($, 'Whitespace');
|
|
@@ -5,8 +5,8 @@ import { initMetadataForInterface1egvbzx539z91 as initMetadataForInterface } fro
|
|
|
5
5
|
//region block: pre-declaration
|
|
6
6
|
//endregion
|
|
7
7
|
function render$default(t, width, $super) {
|
|
8
|
-
width = width === VOID ? t.v2().
|
|
9
|
-
return $super === VOID ? this.
|
|
8
|
+
width = width === VOID ? t.v2().i6h_1 : width;
|
|
9
|
+
return $super === VOID ? this.y6i(t, width) : $super.y6i.call(this, t, width);
|
|
10
10
|
}
|
|
11
11
|
var WidgetClass;
|
|
12
12
|
function Widget() {
|
|
@@ -14,29 +14,29 @@ function WidthRange() {
|
|
|
14
14
|
if (WidthRangeClass === VOID) {
|
|
15
15
|
class $ {
|
|
16
16
|
constructor(min, max) {
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
17
|
+
this.l6j_1 = min;
|
|
18
|
+
this.m6j_1 = max;
|
|
19
19
|
// Inline function 'kotlin.require' call
|
|
20
|
-
if (!(this.
|
|
20
|
+
if (!(this.l6j_1 <= this.m6j_1)) {
|
|
21
21
|
var message = 'Range min cannot be larger than max';
|
|
22
22
|
throw IllegalArgumentException().r2(toString(message));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
return extra === 0 ? this : new (WidthRange())(this.
|
|
25
|
+
n6j(extra) {
|
|
26
|
+
return extra === 0 ? this : new (WidthRange())(this.l6j_1 + extra | 0, this.m6j_1 + extra | 0);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return new (WidthRange())(this.
|
|
28
|
+
o6j(other) {
|
|
29
|
+
return new (WidthRange())(this.l6j_1 + other.l6j_1 | 0, this.m6j_1 + other.m6j_1 | 0);
|
|
30
30
|
}
|
|
31
|
-
|
|
32
|
-
return divisor === 1 ? this : new (WidthRange())(this.
|
|
31
|
+
p6j(divisor) {
|
|
32
|
+
return divisor === 1 ? this : new (WidthRange())(this.l6j_1 / divisor | 0, this.m6j_1 / divisor | 0);
|
|
33
33
|
}
|
|
34
34
|
toString() {
|
|
35
|
-
return 'WidthRange(min=' + this.
|
|
35
|
+
return 'WidthRange(min=' + this.l6j_1 + ', max=' + this.m6j_1 + ')';
|
|
36
36
|
}
|
|
37
37
|
hashCode() {
|
|
38
|
-
var result = this.
|
|
39
|
-
result = imul(result, 31) + this.
|
|
38
|
+
var result = this.l6j_1;
|
|
39
|
+
result = imul(result, 31) + this.m6j_1 | 0;
|
|
40
40
|
return result;
|
|
41
41
|
}
|
|
42
42
|
equals(other) {
|
|
@@ -45,9 +45,9 @@ function WidthRange() {
|
|
|
45
45
|
if (!(other instanceof WidthRange()))
|
|
46
46
|
return false;
|
|
47
47
|
var tmp0_other_with_cast = other instanceof WidthRange() ? other : THROW_CCE();
|
|
48
|
-
if (!(this.
|
|
48
|
+
if (!(this.l6j_1 === tmp0_other_with_cast.l6j_1))
|
|
49
49
|
return false;
|
|
50
|
-
if (!(this.
|
|
50
|
+
if (!(this.m6j_1 === tmp0_other_with_cast.m6j_1))
|
|
51
51
|
return false;
|
|
52
52
|
return true;
|
|
53
53
|
}
|
|
@@ -65,7 +65,7 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
65
65
|
var _iterator__ex2g4s = _this__u8e3s4.q1();
|
|
66
66
|
$l$loop: while (_iterator__ex2g4s.r1()) {
|
|
67
67
|
var it = _iterator__ex2g4s.s1();
|
|
68
|
-
var tmp0_elvis_lhs = it.
|
|
68
|
+
var tmp0_elvis_lhs = it.x6i(t, width - paddingWidth | 0);
|
|
69
69
|
var tmp;
|
|
70
70
|
if (tmp0_elvis_lhs == null) {
|
|
71
71
|
continue $l$loop;
|
|
@@ -75,11 +75,11 @@ function maxWidthRange(_this__u8e3s4, t, width, paddingWidth) {
|
|
|
75
75
|
var range = tmp;
|
|
76
76
|
var tmp0 = max;
|
|
77
77
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
78
|
-
var b = range.
|
|
78
|
+
var b = range.m6j_1;
|
|
79
79
|
max = Math.max(tmp0, b);
|
|
80
80
|
var tmp0_0 = min;
|
|
81
81
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
82
|
-
var b_0 = range.
|
|
82
|
+
var b_0 = range.l6j_1;
|
|
83
83
|
min = Math.max(tmp0_0, b_0);
|
|
84
84
|
}
|
|
85
85
|
return new (WidthRange())(min + paddingWidth | 0, max + paddingWidth | 0);
|
|
@@ -50,10 +50,10 @@ function Borders() {
|
|
|
50
50
|
class $ extends Enum() {
|
|
51
51
|
constructor(name, ordinal, left, top, right, bottom) {
|
|
52
52
|
super(name, ordinal);
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
56
|
-
this.
|
|
53
|
+
this.s6j_1 = left;
|
|
54
|
+
this.t6j_1 = top;
|
|
55
|
+
this.u6j_1 = right;
|
|
56
|
+
this.v6j_1 = bottom;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
initMetadataForClass($, 'Borders');
|