@continuous-excellence/coupling-cli 1.1.513 → 1.1.514
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 +21 -21
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +6 -6
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +8 -8
- 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 +22 -22
- 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/party/BatchContribution.mjs +27 -27
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +51 -45
- 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 +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +68 -50
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +42 -42
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +8 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +116 -116
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +132 -132
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +46 -46
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +31 -31
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +25 -25
- 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 +5 -5
- 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 +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +138 -138
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +2 -16
- 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/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 +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +198 -198
- 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 +7 -7
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +64 -64
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +16 -16
- 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 +21 -21
- 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 +114 -114
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +57 -57
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +16 -16
- 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/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 +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +21 -21
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
- 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 +208 -208
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +122 -122
- 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 +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
- 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 +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +51 -51
- 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 +97 -97
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
- package/package.json +1 -1
|
@@ -22,13 +22,13 @@ function Companion() {
|
|
|
22
22
|
class $ {
|
|
23
23
|
constructor() {
|
|
24
24
|
Companion_instance = this;
|
|
25
|
-
this.
|
|
25
|
+
this.g6d_1 = componentInfoList([new (ColorComponentInfo())('code', false, 30.0, 107.0)]);
|
|
26
26
|
}
|
|
27
27
|
d1() {
|
|
28
28
|
return 'Ansi16';
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
return this.
|
|
30
|
+
h6d() {
|
|
31
|
+
return this.g6d_1;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
initMetadataForCompanion($);
|
|
@@ -48,38 +48,38 @@ function Ansi16() {
|
|
|
48
48
|
class $ {
|
|
49
49
|
constructor(code) {
|
|
50
50
|
Companion_getInstance_0();
|
|
51
|
-
this.
|
|
51
|
+
this.i6d_1 = code;
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
e6c() {
|
|
54
54
|
return Companion_getInstance_0();
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
switch (this.
|
|
56
|
+
f6c() {
|
|
57
|
+
switch (this.i6d_1) {
|
|
58
58
|
case 30:
|
|
59
59
|
case 40:
|
|
60
|
-
return Companion_getInstance().
|
|
60
|
+
return Companion_getInstance().j6d(0.0, 0.0, 0.0);
|
|
61
61
|
case 90:
|
|
62
62
|
case 100:
|
|
63
|
-
return Companion_getInstance().
|
|
63
|
+
return Companion_getInstance().k6d(128, 128, 128);
|
|
64
64
|
case 37:
|
|
65
65
|
case 47:
|
|
66
|
-
return Companion_getInstance().
|
|
66
|
+
return Companion_getInstance().k6d(192, 192, 192);
|
|
67
67
|
case 97:
|
|
68
68
|
case 107:
|
|
69
|
-
return Companion_getInstance().
|
|
69
|
+
return Companion_getInstance().j6d(1.0, 1.0, 1.0);
|
|
70
70
|
}
|
|
71
|
-
var color = this.
|
|
72
|
-
var mul = this.
|
|
71
|
+
var color = this.i6d_1 % 10 | 0;
|
|
72
|
+
var mul = this.i6d_1 > 50 ? 1.0 : 0.5;
|
|
73
73
|
var r = (color % 2 | 0) * mul;
|
|
74
74
|
var g = ((color / 2 | 0) % 2 | 0) * mul;
|
|
75
75
|
var b = ((color / 4 | 0) % 2 | 0) * mul;
|
|
76
|
-
return Companion_getInstance().
|
|
76
|
+
return Companion_getInstance().j6d(r, g, b);
|
|
77
77
|
}
|
|
78
78
|
toString() {
|
|
79
|
-
return 'Ansi16(code=' + this.
|
|
79
|
+
return 'Ansi16(code=' + this.i6d_1 + ')';
|
|
80
80
|
}
|
|
81
81
|
hashCode() {
|
|
82
|
-
return this.
|
|
82
|
+
return this.i6d_1;
|
|
83
83
|
}
|
|
84
84
|
equals(other) {
|
|
85
85
|
if (this === other)
|
|
@@ -87,12 +87,12 @@ function Ansi16() {
|
|
|
87
87
|
if (!(other instanceof Ansi16()))
|
|
88
88
|
return false;
|
|
89
89
|
var tmp0_other_with_cast = other instanceof Ansi16() ? other : THROW_CCE();
|
|
90
|
-
if (!(this.
|
|
90
|
+
if (!(this.i6d_1 === tmp0_other_with_cast.i6d_1))
|
|
91
91
|
return false;
|
|
92
92
|
return true;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
protoOf($).
|
|
95
|
+
protoOf($).g6c = toXYZ;
|
|
96
96
|
initMetadataForClass($, 'Ansi16', VOID, VOID, [Color()]);
|
|
97
97
|
Ansi16Class = $;
|
|
98
98
|
}
|
|
@@ -24,13 +24,13 @@ function Companion() {
|
|
|
24
24
|
class $ {
|
|
25
25
|
constructor() {
|
|
26
26
|
Companion_instance = this;
|
|
27
|
-
this.
|
|
27
|
+
this.l6d_1 = componentInfoList([new (ColorComponentInfo())('code', false, 0.0, 255.0)]);
|
|
28
28
|
}
|
|
29
29
|
d1() {
|
|
30
30
|
return 'Ansi256';
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
return this.
|
|
32
|
+
h6d() {
|
|
33
|
+
return this.l6d_1;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
initMetadataForCompanion($);
|
|
@@ -50,19 +50,19 @@ function Ansi256() {
|
|
|
50
50
|
class $ {
|
|
51
51
|
constructor(code) {
|
|
52
52
|
Companion_getInstance_0();
|
|
53
|
-
this.
|
|
53
|
+
this.m6d_1 = code;
|
|
54
54
|
}
|
|
55
|
-
|
|
55
|
+
e6c() {
|
|
56
56
|
return Companion_getInstance_0();
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
if (this.
|
|
60
|
-
return this.
|
|
61
|
-
if (this.
|
|
62
|
-
var c = imul(this.
|
|
63
|
-
return Companion_getInstance().
|
|
58
|
+
f6c() {
|
|
59
|
+
if (this.m6d_1 < 16)
|
|
60
|
+
return this.n6d().f6c();
|
|
61
|
+
if (this.m6d_1 >= 232) {
|
|
62
|
+
var c = imul(this.m6d_1 - 232 | 0, 10) + 8 | 0;
|
|
63
|
+
return Companion_getInstance().k6d(c, c, c);
|
|
64
64
|
}
|
|
65
|
-
var c_0 = this.
|
|
65
|
+
var c_0 = this.m6d_1 - 16 | 0;
|
|
66
66
|
var rem = c_0 % 36 | 0;
|
|
67
67
|
// Inline function 'kotlin.math.floor' call
|
|
68
68
|
var x = c_0 / 36.0;
|
|
@@ -71,16 +71,16 @@ function Ansi256() {
|
|
|
71
71
|
var x_0 = rem / 6.0;
|
|
72
72
|
var g = Math.floor(x_0) / 5.0;
|
|
73
73
|
var b = (rem % 6 | 0) / 5.0;
|
|
74
|
-
return Companion_getInstance().
|
|
74
|
+
return Companion_getInstance().o6d(r, g, b);
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
return this.
|
|
76
|
+
n6d() {
|
|
77
|
+
return this.m6d_1 < 8 ? new (Ansi16())(this.m6d_1 + 30 | 0) : this.m6d_1 < 16 ? new (Ansi16())((this.m6d_1 - 8 | 0) + 90 | 0) : this.f6c().n6d();
|
|
78
78
|
}
|
|
79
79
|
toString() {
|
|
80
|
-
return 'Ansi256(code=' + this.
|
|
80
|
+
return 'Ansi256(code=' + this.m6d_1 + ')';
|
|
81
81
|
}
|
|
82
82
|
hashCode() {
|
|
83
|
-
return this.
|
|
83
|
+
return this.m6d_1;
|
|
84
84
|
}
|
|
85
85
|
equals(other) {
|
|
86
86
|
if (this === other)
|
|
@@ -88,12 +88,12 @@ function Ansi256() {
|
|
|
88
88
|
if (!(other instanceof Ansi256()))
|
|
89
89
|
return false;
|
|
90
90
|
var tmp0_other_with_cast = other instanceof Ansi256() ? other : THROW_CCE();
|
|
91
|
-
if (!(this.
|
|
91
|
+
if (!(this.m6d_1 === tmp0_other_with_cast.m6d_1))
|
|
92
92
|
return false;
|
|
93
93
|
return true;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
protoOf($).
|
|
96
|
+
protoOf($).g6c = toXYZ;
|
|
97
97
|
initMetadataForClass($, 'Ansi256', VOID, VOID, [Color()]);
|
|
98
98
|
Ansi256Class = $;
|
|
99
99
|
}
|
|
@@ -29,13 +29,13 @@ function Companion() {
|
|
|
29
29
|
class $ {
|
|
30
30
|
constructor() {
|
|
31
31
|
Companion_instance = this;
|
|
32
|
-
this.
|
|
32
|
+
this.p6d_1 = polarComponentInfo('HSV', 0.0, 1.0);
|
|
33
33
|
}
|
|
34
34
|
d1() {
|
|
35
35
|
return 'HSV';
|
|
36
36
|
}
|
|
37
|
-
|
|
38
|
-
return this.
|
|
37
|
+
h6d() {
|
|
38
|
+
return this.p6d_1;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForCompanion($);
|
|
@@ -64,30 +64,30 @@ function HSV() {
|
|
|
64
64
|
constructor(h, s, v, alpha) {
|
|
65
65
|
Companion_getInstance_0();
|
|
66
66
|
alpha = alpha === VOID ? 1.0 : alpha;
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
67
|
+
this.q6d_1 = h;
|
|
68
|
+
this.r6d_1 = s;
|
|
69
|
+
this.s6d_1 = v;
|
|
70
|
+
this.t6d_1 = alpha;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
e6c() {
|
|
73
73
|
return Companion_getInstance_0();
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
if (this.
|
|
77
|
-
return Companion_getInstance().
|
|
78
|
-
var v = this.
|
|
79
|
-
var h = normalizeDeg(this.
|
|
80
|
-
var s = this.
|
|
81
|
-
return SRGB_getInstance().
|
|
75
|
+
f6c() {
|
|
76
|
+
if (this.r6d_1 < 1.0E-7)
|
|
77
|
+
return Companion_getInstance().v6d(this.s6d_1, this.s6d_1, this.s6d_1, this.t6d_1);
|
|
78
|
+
var v = this.s6d_1;
|
|
79
|
+
var h = normalizeDeg(this.q6d_1) / 60.0;
|
|
80
|
+
var s = this.r6d_1;
|
|
81
|
+
return SRGB_getInstance().v6d(toSRGB$f(h, v, s, 5), toSRGB$f(h, v, s, 3), toSRGB$f(h, v, s, 1), this.t6d_1);
|
|
82
82
|
}
|
|
83
83
|
toString() {
|
|
84
|
-
return 'HSV(h=' + this.
|
|
84
|
+
return 'HSV(h=' + this.q6d_1 + ', s=' + this.r6d_1 + ', v=' + this.s6d_1 + ', alpha=' + this.t6d_1 + ')';
|
|
85
85
|
}
|
|
86
86
|
hashCode() {
|
|
87
|
-
var result = getNumberHashCode(this.
|
|
88
|
-
result = imul(result, 31) + getNumberHashCode(this.q6d_1) | 0;
|
|
87
|
+
var result = getNumberHashCode(this.q6d_1);
|
|
89
88
|
result = imul(result, 31) + getNumberHashCode(this.r6d_1) | 0;
|
|
90
89
|
result = imul(result, 31) + getNumberHashCode(this.s6d_1) | 0;
|
|
90
|
+
result = imul(result, 31) + getNumberHashCode(this.t6d_1) | 0;
|
|
91
91
|
return result;
|
|
92
92
|
}
|
|
93
93
|
equals(other) {
|
|
@@ -96,18 +96,18 @@ function HSV() {
|
|
|
96
96
|
if (!(other instanceof HSV()))
|
|
97
97
|
return false;
|
|
98
98
|
var tmp0_other_with_cast = other instanceof HSV() ? other : THROW_CCE();
|
|
99
|
-
if (!equals(this.p6d_1, tmp0_other_with_cast.p6d_1))
|
|
100
|
-
return false;
|
|
101
99
|
if (!equals(this.q6d_1, tmp0_other_with_cast.q6d_1))
|
|
102
100
|
return false;
|
|
103
101
|
if (!equals(this.r6d_1, tmp0_other_with_cast.r6d_1))
|
|
104
102
|
return false;
|
|
105
103
|
if (!equals(this.s6d_1, tmp0_other_with_cast.s6d_1))
|
|
106
104
|
return false;
|
|
105
|
+
if (!equals(this.t6d_1, tmp0_other_with_cast.t6d_1))
|
|
106
|
+
return false;
|
|
107
107
|
return true;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
protoOf($).
|
|
110
|
+
protoOf($).g6c = toXYZ;
|
|
111
111
|
initMetadataForClass($, 'HSV', VOID, VOID, [Color()]);
|
|
112
112
|
HSVClass = $;
|
|
113
113
|
}
|
|
@@ -61,25 +61,25 @@ var ICtCpClass;
|
|
|
61
61
|
function ICtCp() {
|
|
62
62
|
if (ICtCpClass === VOID) {
|
|
63
63
|
class $ {
|
|
64
|
-
|
|
65
|
-
var fo = RGBColorSpaces_getInstance().
|
|
64
|
+
b6e() {
|
|
65
|
+
var fo = RGBColorSpaces_getInstance().j6e_1.o6e();
|
|
66
66
|
var tmp0 = get_ICTCP_ICTCP_to_LMS();
|
|
67
|
-
var tmp2 = this.
|
|
68
|
-
var tmp4 = this.
|
|
67
|
+
var tmp2 = this.x6d_1;
|
|
68
|
+
var tmp4 = this.y6d_1;
|
|
69
69
|
// Inline function 'com.github.ajalt.colormath.internal.dot' call
|
|
70
|
-
var v2 = this.
|
|
70
|
+
var v2 = this.z6d_1;
|
|
71
71
|
var tmp0_0 = Matrix__get_impl_xogbpk(tmp0, 0, 0) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 0) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 0) * v2;
|
|
72
72
|
var tmp2_0 = Matrix__get_impl_xogbpk(tmp0, 0, 1) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 1) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 1) * v2;
|
|
73
73
|
var s = Matrix__get_impl_xogbpk(tmp0, 0, 2) * tmp2 + Matrix__get_impl_xogbpk(tmp0, 1, 2) * tmp4 + Matrix__get_impl_xogbpk(tmp0, 2, 2) * v2;
|
|
74
74
|
var tmp0_1 = get_ICTCP_LMS_to_RGB();
|
|
75
|
-
var tmp2_1 = PqNonlinearity_instance.
|
|
76
|
-
var tmp4_0 = PqNonlinearity_instance.
|
|
75
|
+
var tmp2_1 = PqNonlinearity_instance.x6e(tmp0_0);
|
|
76
|
+
var tmp4_0 = PqNonlinearity_instance.x6e(tmp2_0);
|
|
77
77
|
// Inline function 'com.github.ajalt.colormath.internal.dot' call
|
|
78
|
-
var v2_0 = PqNonlinearity_instance.
|
|
78
|
+
var v2_0 = PqNonlinearity_instance.x6e(s);
|
|
79
79
|
var tmp0_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 0) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 0) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 0) * v2_0;
|
|
80
80
|
var tmp2_2 = Matrix__get_impl_xogbpk(tmp0_1, 0, 1) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 1) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 1) * v2_0;
|
|
81
81
|
var b = Matrix__get_impl_xogbpk(tmp0_1, 0, 2) * tmp2_1 + Matrix__get_impl_xogbpk(tmp0_1, 1, 2) * tmp4_0 + Matrix__get_impl_xogbpk(tmp0_1, 2, 2) * v2_0;
|
|
82
|
-
return RGBColorSpaces_getInstance().
|
|
82
|
+
return RGBColorSpaces_getInstance().j6e_1.v6d(fo.y6e(tmp0_2), fo.y6e(tmp2_2), fo.y6e(b), this.a6e_1);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
initMetadataForClass($, 'ICtCp', VOID, VOID, [Color()]);
|
|
@@ -92,22 +92,22 @@ function PqNonlinearity() {
|
|
|
92
92
|
if (PqNonlinearityClass === VOID) {
|
|
93
93
|
class $ {
|
|
94
94
|
constructor() {
|
|
95
|
-
this.
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
100
|
-
this.
|
|
101
|
-
this.
|
|
102
|
-
this.
|
|
95
|
+
this.p6e_1 = 0.1593017578125;
|
|
96
|
+
this.q6e_1 = 78.84375;
|
|
97
|
+
this.r6e_1 = 0.8359375;
|
|
98
|
+
this.s6e_1 = 18.8515625;
|
|
99
|
+
this.t6e_1 = 18.6875;
|
|
100
|
+
this.u6e_1 = 10000.0;
|
|
101
|
+
this.v6e_1 = 6.277394636015326;
|
|
102
|
+
this.w6e_1 = 0.012683313515655966;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
x6e(x) {
|
|
105
105
|
var vp = spow(x, 0.012683313515655966);
|
|
106
106
|
var n = coerceAtLeast(vp - 0.8359375, 0.0);
|
|
107
107
|
var l = spow_0(n / (18.8515625 - 18.6875 * vp), 6.277394636015326);
|
|
108
108
|
return 10000.0 * l;
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
y6e(x) {
|
|
111
111
|
var yp = spow_0(x / 10000.0, 0.1593017578125);
|
|
112
112
|
return spow_0((0.8359375 + 18.8515625 * yp) / (1.0 + 18.6875 * yp), 78.84375);
|
|
113
113
|
}
|