git-digger 1.8.18 → 1.8.19
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/clikt-clikt-mordant.js +94 -94
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +2133 -2127
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +567 -552
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +74 -74
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +3504 -3482
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1223 -1223
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +332 -332
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1779 -1767
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +4 -4
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-core.js +231 -233
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +122 -123
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +59 -61
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +97 -99
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,65 +2,65 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var HashSet_init_$Create$ = kotlin_kotlin.$_$.
|
|
6
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.
|
|
7
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
8
|
-
var collectionSizeOrDefault = kotlin_kotlin.$_$.
|
|
9
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
5
|
+
var HashSet_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
6
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
7
|
+
var Unit_instance = kotlin_kotlin.$_$.z2;
|
|
8
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.v3;
|
|
9
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.g;
|
|
10
10
|
var to = kotlin_kotlin.$_$.hc;
|
|
11
|
-
var firstOrNull = kotlin_kotlin.$_$.
|
|
11
|
+
var firstOrNull = kotlin_kotlin.$_$.f4;
|
|
12
12
|
var Pair = kotlin_kotlin.$_$.gb;
|
|
13
|
-
var listOf = kotlin_kotlin.$_$.
|
|
14
|
-
var checkIndexOverflow = kotlin_kotlin.$_$.
|
|
15
|
-
var getOrNull = kotlin_kotlin.$_$.
|
|
16
|
-
var plus = kotlin_kotlin.$_$.
|
|
17
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
18
|
-
var plus_0 = kotlin_kotlin.$_$.
|
|
19
|
-
var last = kotlin_kotlin.$_$.
|
|
20
|
-
var toString = kotlin_kotlin.$_$.
|
|
13
|
+
var listOf = kotlin_kotlin.$_$.w4;
|
|
14
|
+
var checkIndexOverflow = kotlin_kotlin.$_$.u3;
|
|
15
|
+
var getOrNull = kotlin_kotlin.$_$.j4;
|
|
16
|
+
var plus = kotlin_kotlin.$_$.h5;
|
|
17
|
+
var emptyList = kotlin_kotlin.$_$.c4;
|
|
18
|
+
var plus_0 = kotlin_kotlin.$_$.i5;
|
|
19
|
+
var last = kotlin_kotlin.$_$.t4;
|
|
20
|
+
var toString = kotlin_kotlin.$_$.e8;
|
|
21
21
|
var toString_0 = kotlin_kotlin.$_$.gc;
|
|
22
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
23
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
24
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var maxOrNull = kotlin_kotlin.$_$.e5;
|
|
22
|
+
var protoOf = kotlin_kotlin.$_$.c8;
|
|
23
|
+
var getStringHashCode = kotlin_kotlin.$_$.c7;
|
|
24
|
+
var hashCode = kotlin_kotlin.$_$.d7;
|
|
25
|
+
var equals = kotlin_kotlin.$_$.y6;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e7;
|
|
27
|
+
var lastOrNull = kotlin_kotlin.$_$.s4;
|
|
28
|
+
var maxOrNull = kotlin_kotlin.$_$.a5;
|
|
30
29
|
var Contribution = kotlin_com_zegreatrob_tools_digger_model.$_$.a;
|
|
31
|
-
var listOf_0 = kotlin_kotlin.$_$.
|
|
32
|
-
var addAll = kotlin_kotlin.$_$.
|
|
33
|
-
var toSet = kotlin_kotlin.$_$.
|
|
34
|
-
var sorted = kotlin_kotlin.$_$.
|
|
35
|
-
var toList = kotlin_kotlin.$_$.
|
|
36
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
37
|
-
var Regex_init_$Create$ = kotlin_kotlin.$_$.
|
|
38
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
39
|
-
var VOID = kotlin_kotlin.$_$.
|
|
40
|
-
var take = kotlin_kotlin.$_$.
|
|
41
|
-
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.
|
|
42
|
-
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.
|
|
43
|
-
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.
|
|
30
|
+
var listOf_0 = kotlin_kotlin.$_$.x4;
|
|
31
|
+
var addAll = kotlin_kotlin.$_$.n3;
|
|
32
|
+
var toSet = kotlin_kotlin.$_$.b6;
|
|
33
|
+
var sorted = kotlin_kotlin.$_$.q5;
|
|
34
|
+
var toList = kotlin_kotlin.$_$.x5;
|
|
35
|
+
var joinToString = kotlin_kotlin.$_$.n4;
|
|
36
|
+
var Regex_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
37
|
+
var initMetadataForObject = kotlin_kotlin.$_$.j7;
|
|
38
|
+
var VOID = kotlin_kotlin.$_$.c;
|
|
39
|
+
var take = kotlin_kotlin.$_$.t5;
|
|
40
|
+
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.d;
|
|
41
|
+
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
42
|
+
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
44
43
|
var contains = kotlin_kotlin.$_$.n9;
|
|
45
|
-
var mapOf = kotlin_kotlin.$_$.
|
|
46
|
-
var RegexOption_MULTILINE_getInstance = kotlin_kotlin.$_$.
|
|
47
|
-
var setOf = kotlin_kotlin.$_$.
|
|
44
|
+
var mapOf = kotlin_kotlin.$_$.z4;
|
|
45
|
+
var RegexOption_MULTILINE_getInstance = kotlin_kotlin.$_$.e;
|
|
46
|
+
var setOf = kotlin_kotlin.$_$.m5;
|
|
48
47
|
var Regex = kotlin_kotlin.$_$.k9;
|
|
49
48
|
var firstOrNull_0 = kotlin_kotlin.$_$.r9;
|
|
50
49
|
var lastIndexOf = kotlin_kotlin.$_$.z9;
|
|
51
50
|
var substring = kotlin_kotlin.$_$.ma;
|
|
52
51
|
var Char = kotlin_kotlin.$_$.ya;
|
|
53
|
-
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.
|
|
52
|
+
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.g1;
|
|
54
53
|
var mapNotNull = kotlin_kotlin.$_$.e9;
|
|
55
54
|
var toList_0 = kotlin_kotlin.$_$.j9;
|
|
56
55
|
var maxOrNull_0 = kotlin_kotlin.$_$.g9;
|
|
57
56
|
var get = kotlin_kotlin.$_$.t9;
|
|
58
57
|
var toIntOrNull = kotlin_kotlin.$_$.oa;
|
|
59
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
60
|
-
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.
|
|
58
|
+
var Companion_instance = kotlin_kotlin.$_$.u2;
|
|
59
|
+
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.j1;
|
|
61
60
|
var createFailure = kotlin_kotlin.$_$.xb;
|
|
62
|
-
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.
|
|
63
|
-
var
|
|
61
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.m1;
|
|
62
|
+
var THROW_CCE = kotlin_kotlin.$_$.jb;
|
|
63
|
+
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.k1;
|
|
64
64
|
var Enum = kotlin_kotlin.$_$.bb;
|
|
65
65
|
//endregion
|
|
66
66
|
//region block: pre-declaration
|
|
@@ -76,31 +76,31 @@
|
|
|
76
76
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
77
77
|
var set = HashSet_init_$Create$();
|
|
78
78
|
var list = ArrayList_init_$Create$();
|
|
79
|
-
var _iterator__ex2g4s = tagRefs.
|
|
80
|
-
while (_iterator__ex2g4s.
|
|
81
|
-
var e = _iterator__ex2g4s.
|
|
82
|
-
var key = e.
|
|
83
|
-
if (set.
|
|
84
|
-
list.
|
|
79
|
+
var _iterator__ex2g4s = tagRefs.o();
|
|
80
|
+
while (_iterator__ex2g4s.p()) {
|
|
81
|
+
var e = _iterator__ex2g4s.q();
|
|
82
|
+
var key = e.ik_1;
|
|
83
|
+
if (set.g(key)) {
|
|
84
|
+
list.g(e);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
// Inline function 'kotlin.collections.filter' call
|
|
88
88
|
// Inline function 'kotlin.collections.filterTo' call
|
|
89
89
|
var destination = ArrayList_init_$Create$();
|
|
90
|
-
var _iterator__ex2g4s_0 = list.
|
|
91
|
-
while (_iterator__ex2g4s_0.
|
|
92
|
-
var element = _iterator__ex2g4s_0.
|
|
90
|
+
var _iterator__ex2g4s_0 = list.o();
|
|
91
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
92
|
+
var element = _iterator__ex2g4s_0.q();
|
|
93
93
|
// Inline function 'kotlin.collections.map' call
|
|
94
94
|
// Inline function 'kotlin.collections.mapTo' call
|
|
95
95
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(fullLog, 10));
|
|
96
|
-
var _iterator__ex2g4s_1 = fullLog.
|
|
97
|
-
while (_iterator__ex2g4s_1.
|
|
98
|
-
var item = _iterator__ex2g4s_1.
|
|
99
|
-
var tmp$ret$2 = item.
|
|
100
|
-
destination_0.
|
|
96
|
+
var _iterator__ex2g4s_1 = fullLog.o();
|
|
97
|
+
while (_iterator__ex2g4s_1.p()) {
|
|
98
|
+
var item = _iterator__ex2g4s_1.q();
|
|
99
|
+
var tmp$ret$2 = item.sj_1;
|
|
100
|
+
destination_0.g(tmp$ret$2);
|
|
101
101
|
}
|
|
102
|
-
if (destination_0.
|
|
103
|
-
destination.
|
|
102
|
+
if (destination_0.f1(element.ik_1)) {
|
|
103
|
+
destination.g(element);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
return sortIntoTagSets(_this__u8e3s4, destination, fullLog);
|
|
@@ -110,33 +110,33 @@
|
|
|
110
110
|
var this_0 = tagPairs(tagRefs);
|
|
111
111
|
// Inline function 'kotlin.collections.mapTo' call
|
|
112
112
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
113
|
-
var _iterator__ex2g4s = this_0.
|
|
114
|
-
while (_iterator__ex2g4s.
|
|
115
|
-
var item = _iterator__ex2g4s.
|
|
116
|
-
var earlierTag = item.
|
|
117
|
-
var nextTag = item.
|
|
113
|
+
var _iterator__ex2g4s = this_0.o();
|
|
114
|
+
while (_iterator__ex2g4s.p()) {
|
|
115
|
+
var item = _iterator__ex2g4s.q();
|
|
116
|
+
var earlierTag = item.i9();
|
|
117
|
+
var nextTag = item.j9();
|
|
118
118
|
var tmp;
|
|
119
119
|
if (earlierTag == null && !(nextTag == null)) {
|
|
120
|
-
tmp = _this__u8e3s4.
|
|
120
|
+
tmp = _this__u8e3s4.fk('^' + nextTag.ik_1, 'HEAD');
|
|
121
121
|
} else if (!(earlierTag == null) && !(nextTag == null)) {
|
|
122
|
-
tmp = _this__u8e3s4.
|
|
122
|
+
tmp = _this__u8e3s4.fk('^' + nextTag.ik_1, earlierTag.ik_1);
|
|
123
123
|
} else if (!(earlierTag == null)) {
|
|
124
|
-
tmp = _this__u8e3s4.
|
|
124
|
+
tmp = _this__u8e3s4.gk(earlierTag.ik_1);
|
|
125
125
|
} else {
|
|
126
126
|
tmp = alwaysLeftParent(log);
|
|
127
127
|
}
|
|
128
128
|
var tmp$ret$0 = to(earlierTag, tmp);
|
|
129
|
-
destination.
|
|
129
|
+
destination.g(tmp$ret$0);
|
|
130
130
|
}
|
|
131
131
|
// Inline function 'kotlin.collections.filter' call
|
|
132
132
|
// Inline function 'kotlin.collections.filterTo' call
|
|
133
133
|
var destination_0 = ArrayList_init_$Create$();
|
|
134
|
-
var _iterator__ex2g4s_0 = destination.
|
|
135
|
-
while (_iterator__ex2g4s_0.
|
|
136
|
-
var element = _iterator__ex2g4s_0.
|
|
134
|
+
var _iterator__ex2g4s_0 = destination.o();
|
|
135
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
136
|
+
var element = _iterator__ex2g4s_0.q();
|
|
137
137
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
138
|
-
if (!element.
|
|
139
|
-
destination_0.
|
|
138
|
+
if (!element.h9_1.l()) {
|
|
139
|
+
destination_0.g(element);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
return destination_0;
|
|
@@ -147,28 +147,28 @@
|
|
|
147
147
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
148
148
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
149
149
|
var index = 0;
|
|
150
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
151
|
-
while (_iterator__ex2g4s.
|
|
152
|
-
var item = _iterator__ex2g4s.
|
|
150
|
+
var _iterator__ex2g4s = _this__u8e3s4.o();
|
|
151
|
+
while (_iterator__ex2g4s.p()) {
|
|
152
|
+
var item = _iterator__ex2g4s.q();
|
|
153
153
|
var _unary__edvuaz = index;
|
|
154
154
|
index = _unary__edvuaz + 1 | 0;
|
|
155
155
|
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
156
156
|
var tmp$ret$0 = to(item, getOrNull(_this__u8e3s4, index_0 + 1 | 0));
|
|
157
|
-
destination.
|
|
157
|
+
destination.g(tmp$ret$0);
|
|
158
158
|
}
|
|
159
159
|
return plus(tmp, destination);
|
|
160
160
|
}
|
|
161
161
|
function alwaysLeftParent(_this__u8e3s4) {
|
|
162
162
|
// Inline function 'kotlin.collections.fold' call
|
|
163
163
|
var accumulator = emptyList();
|
|
164
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
165
|
-
while (_iterator__ex2g4s.
|
|
166
|
-
var element = _iterator__ex2g4s.
|
|
164
|
+
var _iterator__ex2g4s = _this__u8e3s4.o();
|
|
165
|
+
while (_iterator__ex2g4s.p()) {
|
|
166
|
+
var element = _iterator__ex2g4s.q();
|
|
167
167
|
var acc = accumulator;
|
|
168
168
|
var tmp;
|
|
169
|
-
if (acc.
|
|
169
|
+
if (acc.l()) {
|
|
170
170
|
tmp = plus_0(acc, element);
|
|
171
|
-
} else if (element.
|
|
171
|
+
} else if (element.sj_1 === firstOrNull(last(acc).wj_1)) {
|
|
172
172
|
tmp = plus_0(acc, element);
|
|
173
173
|
} else {
|
|
174
174
|
tmp = acc;
|
|
@@ -178,19 +178,19 @@
|
|
|
178
178
|
return accumulator;
|
|
179
179
|
}
|
|
180
180
|
function CommitInspectionResult(storyId, ease, authors, semver) {
|
|
181
|
-
this.
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
181
|
+
this.yk_1 = storyId;
|
|
182
|
+
this.zk_1 = ease;
|
|
183
|
+
this.al_1 = authors;
|
|
184
|
+
this.bl_1 = semver;
|
|
185
185
|
}
|
|
186
186
|
protoOf(CommitInspectionResult).toString = function () {
|
|
187
|
-
return 'CommitInspectionResult(storyId=' + this.
|
|
187
|
+
return 'CommitInspectionResult(storyId=' + this.yk_1 + ', ease=' + this.zk_1 + ', authors=' + toString(this.al_1) + ', semver=' + toString_0(this.bl_1) + ')';
|
|
188
188
|
};
|
|
189
189
|
protoOf(CommitInspectionResult).hashCode = function () {
|
|
190
|
-
var result = this.
|
|
191
|
-
result = imul(result, 31) + (this.
|
|
192
|
-
result = imul(result, 31) + hashCode(this.
|
|
193
|
-
result = imul(result, 31) + (this.
|
|
190
|
+
var result = this.yk_1 == null ? 0 : getStringHashCode(this.yk_1);
|
|
191
|
+
result = imul(result, 31) + (this.zk_1 == null ? 0 : this.zk_1) | 0;
|
|
192
|
+
result = imul(result, 31) + hashCode(this.al_1) | 0;
|
|
193
|
+
result = imul(result, 31) + (this.bl_1 == null ? 0 : this.bl_1.hashCode()) | 0;
|
|
194
194
|
return result;
|
|
195
195
|
};
|
|
196
196
|
protoOf(CommitInspectionResult).equals = function (other) {
|
|
@@ -198,14 +198,13 @@
|
|
|
198
198
|
return true;
|
|
199
199
|
if (!(other instanceof CommitInspectionResult))
|
|
200
200
|
return false;
|
|
201
|
-
|
|
202
|
-
if (!(this.xw_1 == tmp0_other_with_cast.xw_1))
|
|
201
|
+
if (!(this.yk_1 == other.yk_1))
|
|
203
202
|
return false;
|
|
204
|
-
if (!(this.
|
|
203
|
+
if (!(this.zk_1 == other.zk_1))
|
|
205
204
|
return false;
|
|
206
|
-
if (!equals(this.
|
|
205
|
+
if (!equals(this.al_1, other.al_1))
|
|
207
206
|
return false;
|
|
208
|
-
if (!equals(this.
|
|
207
|
+
if (!equals(this.bl_1, other.bl_1))
|
|
209
208
|
return false;
|
|
210
209
|
return true;
|
|
211
210
|
};
|
|
@@ -213,35 +212,35 @@
|
|
|
213
212
|
// Inline function 'kotlin.collections.map' call
|
|
214
213
|
// Inline function 'kotlin.collections.mapTo' call
|
|
215
214
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(commitRefs, 10));
|
|
216
|
-
var _iterator__ex2g4s = commitRefs.
|
|
217
|
-
while (_iterator__ex2g4s.
|
|
218
|
-
var item = _iterator__ex2g4s.
|
|
219
|
-
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.
|
|
220
|
-
destination.
|
|
215
|
+
var _iterator__ex2g4s = commitRefs.o();
|
|
216
|
+
while (_iterator__ex2g4s.p()) {
|
|
217
|
+
var item = _iterator__ex2g4s.q();
|
|
218
|
+
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.il(item.xj_1));
|
|
219
|
+
destination.g(tmp$ret$0);
|
|
221
220
|
}
|
|
222
221
|
var messageDigResults = destination;
|
|
223
222
|
var lastCommit = firstOrNull(commitRefs);
|
|
224
223
|
var firstCommit = lastOrNull(commitRefs);
|
|
225
|
-
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.
|
|
224
|
+
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.sj_1;
|
|
226
225
|
var tmp7_lastCommit = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
227
|
-
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.
|
|
226
|
+
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.sj_1;
|
|
228
227
|
var tmp8_firstCommit = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
229
228
|
var tmp9_authors = allAuthors(messageDigResults);
|
|
230
|
-
var tmp10_dateTime = lastCommit == null ? null : lastCommit.
|
|
231
|
-
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.
|
|
229
|
+
var tmp10_dateTime = lastCommit == null ? null : lastCommit.vj_1;
|
|
230
|
+
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.vj_1;
|
|
232
231
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
233
232
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
234
233
|
var destination_0 = ArrayList_init_$Create$();
|
|
235
234
|
// Inline function 'kotlin.collections.forEach' call
|
|
236
|
-
var _iterator__ex2g4s_0 = messageDigResults.
|
|
237
|
-
while (_iterator__ex2g4s_0.
|
|
238
|
-
var element = _iterator__ex2g4s_0.
|
|
239
|
-
var tmp0_safe_receiver = element.
|
|
235
|
+
var _iterator__ex2g4s_0 = messageDigResults.o();
|
|
236
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
237
|
+
var element = _iterator__ex2g4s_0.q();
|
|
238
|
+
var tmp0_safe_receiver = element.zk_1;
|
|
240
239
|
if (tmp0_safe_receiver == null)
|
|
241
240
|
null;
|
|
242
241
|
else {
|
|
243
242
|
// Inline function 'kotlin.let' call
|
|
244
|
-
destination_0.
|
|
243
|
+
destination_0.g(tmp0_safe_receiver);
|
|
245
244
|
}
|
|
246
245
|
}
|
|
247
246
|
var tmp12_ease = maxOrNull(destination_0);
|
|
@@ -250,46 +249,46 @@
|
|
|
250
249
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
251
250
|
var destination_1 = ArrayList_init_$Create$();
|
|
252
251
|
// Inline function 'kotlin.collections.forEach' call
|
|
253
|
-
var _iterator__ex2g4s_1 = messageDigResults.
|
|
254
|
-
while (_iterator__ex2g4s_1.
|
|
255
|
-
var element_0 = _iterator__ex2g4s_1.
|
|
256
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
252
|
+
var _iterator__ex2g4s_1 = messageDigResults.o();
|
|
253
|
+
while (_iterator__ex2g4s_1.p()) {
|
|
254
|
+
var element_0 = _iterator__ex2g4s_1.q();
|
|
255
|
+
var tmp0_safe_receiver_0 = element_0.bl_1;
|
|
257
256
|
if (tmp0_safe_receiver_0 == null)
|
|
258
257
|
null;
|
|
259
258
|
else {
|
|
260
259
|
// Inline function 'kotlin.let' call
|
|
261
|
-
destination_1.
|
|
260
|
+
destination_1.g(tmp0_safe_receiver_0);
|
|
262
261
|
}
|
|
263
262
|
}
|
|
264
263
|
var tmp6_safe_receiver = highestPrioritySemver(destination_1);
|
|
265
264
|
var tmp14_semver = tmp6_safe_receiver == null ? null : tmp6_safe_receiver.toString();
|
|
266
265
|
// Inline function 'kotlin.collections.count' call
|
|
267
|
-
var tmp15_commitCount = commitRefs.
|
|
266
|
+
var tmp15_commitCount = commitRefs.s();
|
|
268
267
|
return new Contribution(tmp7_lastCommit, tmp8_firstCommit, tmp9_authors, tmp15_commitCount, tmp10_dateTime, tmp11_firstCommitDateTime, tmp12_ease, tmp13_storyId, tmp14_semver, null, null, null);
|
|
269
268
|
}
|
|
270
269
|
function commitInspectionResult(_this__u8e3s4, digResult) {
|
|
271
|
-
return new CommitInspectionResult(digResult.
|
|
270
|
+
return new CommitInspectionResult(digResult.jl_1, digResult.kl_1, plus(listOf_0([_this__u8e3s4.uj_1, _this__u8e3s4.tj_1]), digResult.ll_1), digResult.ml_1);
|
|
272
271
|
}
|
|
273
272
|
function allAuthors(messageDigResults) {
|
|
274
273
|
// Inline function 'kotlin.collections.flatMap' call
|
|
275
274
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
276
275
|
var destination = ArrayList_init_$Create$();
|
|
277
|
-
var _iterator__ex2g4s = messageDigResults.
|
|
278
|
-
while (_iterator__ex2g4s.
|
|
279
|
-
var element = _iterator__ex2g4s.
|
|
280
|
-
var list = element.
|
|
276
|
+
var _iterator__ex2g4s = messageDigResults.o();
|
|
277
|
+
while (_iterator__ex2g4s.p()) {
|
|
278
|
+
var element = _iterator__ex2g4s.q();
|
|
279
|
+
var list = element.al_1;
|
|
281
280
|
addAll(destination, list);
|
|
282
281
|
}
|
|
283
282
|
// Inline function 'kotlin.collections.map' call
|
|
284
283
|
// Inline function 'kotlin.collections.mapTo' call
|
|
285
284
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
286
|
-
var _iterator__ex2g4s_0 = destination.
|
|
287
|
-
while (_iterator__ex2g4s_0.
|
|
288
|
-
var item = _iterator__ex2g4s_0.
|
|
285
|
+
var _iterator__ex2g4s_0 = destination.o();
|
|
286
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
287
|
+
var item = _iterator__ex2g4s_0.q();
|
|
289
288
|
// Inline function 'kotlin.text.lowercase' call
|
|
290
289
|
// Inline function 'kotlin.js.asDynamic' call
|
|
291
290
|
var tmp$ret$5 = item.toLowerCase();
|
|
292
|
-
destination_0.
|
|
291
|
+
destination_0.g(tmp$ret$5);
|
|
293
292
|
}
|
|
294
293
|
return toList(sorted(toSet(destination_0)));
|
|
295
294
|
}
|
|
@@ -298,21 +297,21 @@
|
|
|
298
297
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
299
298
|
var destination = ArrayList_init_$Create$();
|
|
300
299
|
// Inline function 'kotlin.collections.forEach' call
|
|
301
|
-
var _iterator__ex2g4s = messageDigResults.
|
|
302
|
-
while (_iterator__ex2g4s.
|
|
303
|
-
var element = _iterator__ex2g4s.
|
|
304
|
-
var tmp0_safe_receiver = element.
|
|
300
|
+
var _iterator__ex2g4s = messageDigResults.o();
|
|
301
|
+
while (_iterator__ex2g4s.p()) {
|
|
302
|
+
var element = _iterator__ex2g4s.q();
|
|
303
|
+
var tmp0_safe_receiver = element.yk_1;
|
|
305
304
|
if (tmp0_safe_receiver == null)
|
|
306
305
|
null;
|
|
307
306
|
else {
|
|
308
307
|
// Inline function 'kotlin.let' call
|
|
309
|
-
destination.
|
|
308
|
+
destination.g(tmp0_safe_receiver);
|
|
310
309
|
}
|
|
311
310
|
}
|
|
312
311
|
// Inline function 'kotlin.let' call
|
|
313
312
|
var tmp;
|
|
314
313
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
315
|
-
if (!destination.
|
|
314
|
+
if (!destination.l()) {
|
|
316
315
|
tmp = joinToString(sorted(toSet(destination)), ', ');
|
|
317
316
|
} else {
|
|
318
317
|
tmp = null;
|
|
@@ -322,22 +321,22 @@
|
|
|
322
321
|
function currentContributionCommits(_this__u8e3s4, previousTag) {
|
|
323
322
|
var tmp;
|
|
324
323
|
if (previousTag == null) {
|
|
325
|
-
tmp = _this__u8e3s4.
|
|
324
|
+
tmp = _this__u8e3s4.ek();
|
|
326
325
|
} else {
|
|
327
|
-
tmp = _this__u8e3s4.
|
|
326
|
+
tmp = _this__u8e3s4.fk('^' + previousTag.hk_1, 'HEAD');
|
|
328
327
|
}
|
|
329
328
|
return tmp;
|
|
330
329
|
}
|
|
331
330
|
function tagRefs($this) {
|
|
332
331
|
// Inline function 'kotlin.collections.filter' call
|
|
333
|
-
var tmp0 = $this.
|
|
332
|
+
var tmp0 = $this.ol_1.dk();
|
|
334
333
|
// Inline function 'kotlin.collections.filterTo' call
|
|
335
334
|
var destination = ArrayList_init_$Create$();
|
|
336
|
-
var _iterator__ex2g4s = tmp0.
|
|
337
|
-
while (_iterator__ex2g4s.
|
|
338
|
-
var element = _iterator__ex2g4s.
|
|
339
|
-
if ($this.
|
|
340
|
-
destination.
|
|
335
|
+
var _iterator__ex2g4s = tmp0.o();
|
|
336
|
+
while (_iterator__ex2g4s.p()) {
|
|
337
|
+
var element = _iterator__ex2g4s.q();
|
|
338
|
+
if ($this.ql_1.qb(element.hk_1)) {
|
|
339
|
+
destination.g(element);
|
|
341
340
|
}
|
|
342
341
|
}
|
|
343
342
|
return destination;
|
|
@@ -346,7 +345,7 @@
|
|
|
346
345
|
// Inline function 'kotlin.let' call
|
|
347
346
|
var latestTag = getOrNull(lastTwoTags, 0);
|
|
348
347
|
var tmp;
|
|
349
|
-
if ((latestTag == null ? null : latestTag.
|
|
348
|
+
if ((latestTag == null ? null : latestTag.ik_1) === headCommitId) {
|
|
350
349
|
tmp = to(latestTag, getOrNull(lastTwoTags, 1));
|
|
351
350
|
} else {
|
|
352
351
|
tmp = to(null, latestTag);
|
|
@@ -355,7 +354,7 @@
|
|
|
355
354
|
}
|
|
356
355
|
function Defaults() {
|
|
357
356
|
Defaults_instance = this;
|
|
358
|
-
this.
|
|
357
|
+
this.rl_1 = Regex_init_$Create$('.*');
|
|
359
358
|
}
|
|
360
359
|
var Defaults_instance;
|
|
361
360
|
function Defaults_getInstance() {
|
|
@@ -364,61 +363,61 @@
|
|
|
364
363
|
return Defaults_instance;
|
|
365
364
|
}
|
|
366
365
|
function DiggerCore(label, gitWrapper, messageDigger, tagRegex) {
|
|
367
|
-
tagRegex = tagRegex === VOID ? Defaults_getInstance().
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
366
|
+
tagRegex = tagRegex === VOID ? Defaults_getInstance().rl_1 : tagRegex;
|
|
367
|
+
this.nl_1 = label;
|
|
368
|
+
this.ol_1 = gitWrapper;
|
|
369
|
+
this.pl_1 = messageDigger;
|
|
370
|
+
this.ql_1 = tagRegex;
|
|
372
371
|
}
|
|
373
|
-
protoOf(DiggerCore).
|
|
372
|
+
protoOf(DiggerCore).sl = function () {
|
|
374
373
|
// Inline function 'kotlin.with' call
|
|
375
|
-
var $this$with = this.
|
|
376
|
-
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.
|
|
377
|
-
var currentTag = _destruct__k2r9zo.
|
|
378
|
-
var previousTag = _destruct__k2r9zo.
|
|
379
|
-
var tmp = contribution(this.
|
|
380
|
-
var tmp_0 = currentTag == null ? null : currentTag.
|
|
381
|
-
return tmp.
|
|
374
|
+
var $this$with = this.ol_1;
|
|
375
|
+
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.ck(), take(tagRefs(this), 2));
|
|
376
|
+
var currentTag = _destruct__k2r9zo.i9();
|
|
377
|
+
var previousTag = _destruct__k2r9zo.j9();
|
|
378
|
+
var tmp = contribution(this.pl_1, currentContributionCommits($this$with, previousTag));
|
|
379
|
+
var tmp_0 = currentTag == null ? null : currentTag.hk_1;
|
|
380
|
+
return tmp.xk(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nl_1, tmp_0, currentTag == null ? null : currentTag.jk_1);
|
|
382
381
|
};
|
|
383
|
-
protoOf(DiggerCore).
|
|
382
|
+
protoOf(DiggerCore).tl = function () {
|
|
384
383
|
// Inline function 'kotlin.collections.map' call
|
|
385
|
-
var this_0 = allContributionCommits(this.
|
|
384
|
+
var this_0 = allContributionCommits(this.ol_1, tagRefs(this), this.ol_1.ek());
|
|
386
385
|
// Inline function 'kotlin.collections.mapTo' call
|
|
387
386
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
388
|
-
var _iterator__ex2g4s = this_0.
|
|
389
|
-
while (_iterator__ex2g4s.
|
|
390
|
-
var item = _iterator__ex2g4s.
|
|
391
|
-
var tmp$ret$0 = to(item.
|
|
392
|
-
destination.
|
|
387
|
+
var _iterator__ex2g4s = this_0.o();
|
|
388
|
+
while (_iterator__ex2g4s.p()) {
|
|
389
|
+
var item = _iterator__ex2g4s.q();
|
|
390
|
+
var tmp$ret$0 = to(item.g9_1, contribution(this.pl_1, toList(item.h9_1)));
|
|
391
|
+
destination.g(tmp$ret$0);
|
|
393
392
|
}
|
|
394
393
|
// Inline function 'kotlin.collections.map' call
|
|
395
394
|
// Inline function 'kotlin.collections.mapTo' call
|
|
396
395
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
397
|
-
var _iterator__ex2g4s_0 = destination.
|
|
398
|
-
while (_iterator__ex2g4s_0.
|
|
399
|
-
var item_0 = _iterator__ex2g4s_0.
|
|
400
|
-
var tag = item_0.
|
|
401
|
-
var contribution_0 = item_0.
|
|
402
|
-
var tmp = tag == null ? null : tag.
|
|
403
|
-
var tmp$ret$3 = contribution_0.
|
|
404
|
-
destination_0.
|
|
396
|
+
var _iterator__ex2g4s_0 = destination.o();
|
|
397
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
398
|
+
var item_0 = _iterator__ex2g4s_0.q();
|
|
399
|
+
var tag = item_0.i9();
|
|
400
|
+
var contribution_0 = item_0.j9();
|
|
401
|
+
var tmp = tag == null ? null : tag.hk_1;
|
|
402
|
+
var tmp$ret$3 = contribution_0.xk(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.nl_1, tmp, tag == null ? null : tag.jk_1);
|
|
403
|
+
destination_0.g(tmp$ret$3);
|
|
405
404
|
}
|
|
406
405
|
return destination_0;
|
|
407
406
|
};
|
|
408
407
|
function MessageDigResult(storyId, ease, coauthors, semver) {
|
|
409
|
-
this.
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
408
|
+
this.jl_1 = storyId;
|
|
409
|
+
this.kl_1 = ease;
|
|
410
|
+
this.ll_1 = coauthors;
|
|
411
|
+
this.ml_1 = semver;
|
|
413
412
|
}
|
|
414
413
|
protoOf(MessageDigResult).toString = function () {
|
|
415
|
-
return 'MessageDigResult(storyId=' + this.
|
|
414
|
+
return 'MessageDigResult(storyId=' + this.jl_1 + ', ease=' + this.kl_1 + ', coauthors=' + toString(this.ll_1) + ', semver=' + toString_0(this.ml_1) + ')';
|
|
416
415
|
};
|
|
417
416
|
protoOf(MessageDigResult).hashCode = function () {
|
|
418
|
-
var result = this.
|
|
419
|
-
result = imul(result, 31) + (this.
|
|
420
|
-
result = imul(result, 31) + hashCode(this.
|
|
421
|
-
result = imul(result, 31) + (this.
|
|
417
|
+
var result = this.jl_1 == null ? 0 : getStringHashCode(this.jl_1);
|
|
418
|
+
result = imul(result, 31) + (this.kl_1 == null ? 0 : this.kl_1) | 0;
|
|
419
|
+
result = imul(result, 31) + hashCode(this.ll_1) | 0;
|
|
420
|
+
result = imul(result, 31) + (this.ml_1 == null ? 0 : this.ml_1.hashCode()) | 0;
|
|
422
421
|
return result;
|
|
423
422
|
};
|
|
424
423
|
protoOf(MessageDigResult).equals = function (other) {
|
|
@@ -426,25 +425,24 @@
|
|
|
426
425
|
return true;
|
|
427
426
|
if (!(other instanceof MessageDigResult))
|
|
428
427
|
return false;
|
|
429
|
-
|
|
430
|
-
if (!(this.ix_1 == tmp0_other_with_cast.ix_1))
|
|
428
|
+
if (!(this.jl_1 == other.jl_1))
|
|
431
429
|
return false;
|
|
432
|
-
if (!(this.
|
|
430
|
+
if (!(this.kl_1 == other.kl_1))
|
|
433
431
|
return false;
|
|
434
|
-
if (!equals(this.
|
|
432
|
+
if (!equals(this.ll_1, other.ll_1))
|
|
435
433
|
return false;
|
|
436
|
-
if (!equals(this.
|
|
434
|
+
if (!equals(this.ml_1, other.ml_1))
|
|
437
435
|
return false;
|
|
438
436
|
return true;
|
|
439
437
|
};
|
|
440
438
|
function Defaults_0() {
|
|
441
439
|
Defaults_instance_0 = this;
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
445
|
-
this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
440
|
+
this.ul_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
441
|
+
this.vl_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
442
|
+
this.wl_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
443
|
+
this.xl_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
444
|
+
this.yl_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
|
|
445
|
+
this.zl_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
|
|
448
446
|
}
|
|
449
447
|
var Defaults_instance_0;
|
|
450
448
|
function Defaults_getInstance_0() {
|
|
@@ -453,53 +451,53 @@
|
|
|
453
451
|
return Defaults_instance_0;
|
|
454
452
|
}
|
|
455
453
|
function MessageDigger(majorRegex, minorRegex, patchRegex, noneRegex, storyIdRegex, easeRegex) {
|
|
456
|
-
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().
|
|
457
|
-
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().
|
|
458
|
-
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().
|
|
459
|
-
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().
|
|
460
|
-
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().
|
|
461
|
-
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().
|
|
462
|
-
if (!contains(storyIdRegex.
|
|
463
|
-
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.
|
|
454
|
+
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().ul_1 : majorRegex;
|
|
455
|
+
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().vl_1 : minorRegex;
|
|
456
|
+
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().wl_1 : patchRegex;
|
|
457
|
+
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().xl_1 : noneRegex;
|
|
458
|
+
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().yl_1 : storyIdRegex;
|
|
459
|
+
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().zl_1 : easeRegex;
|
|
460
|
+
if (!contains(storyIdRegex.kb_1, '?<storyId>')) {
|
|
461
|
+
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.kb_1);
|
|
464
462
|
}
|
|
465
|
-
if (!contains(easeRegex.
|
|
466
|
-
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.
|
|
463
|
+
if (!contains(easeRegex.kb_1, '?<ease>')) {
|
|
464
|
+
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.kb_1);
|
|
467
465
|
}
|
|
468
|
-
this.
|
|
466
|
+
this.cl_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
|
|
469
467
|
var tmp = this;
|
|
470
468
|
// Inline function 'kotlin.collections.map' call
|
|
471
|
-
var this_0 = this.
|
|
469
|
+
var this_0 = this.cl_1;
|
|
472
470
|
// Inline function 'kotlin.collections.mapTo' call
|
|
473
|
-
var destination = ArrayList_init_$Create$_0(this_0.
|
|
471
|
+
var destination = ArrayList_init_$Create$_0(this_0.s());
|
|
474
472
|
// Inline function 'kotlin.collections.iterator' call
|
|
475
|
-
var _iterator__ex2g4s = this_0.
|
|
476
|
-
while (_iterator__ex2g4s.
|
|
477
|
-
var item = _iterator__ex2g4s.
|
|
473
|
+
var _iterator__ex2g4s = this_0.z().o();
|
|
474
|
+
while (_iterator__ex2g4s.p()) {
|
|
475
|
+
var item = _iterator__ex2g4s.q();
|
|
478
476
|
// Inline function 'kotlin.collections.component1' call
|
|
479
|
-
var group = item.
|
|
477
|
+
var group = item.a1();
|
|
480
478
|
// Inline function 'kotlin.collections.component2' call
|
|
481
|
-
var regex = item.
|
|
479
|
+
var regex = item.b1();
|
|
482
480
|
var tmp$ret$3 = '(?<' + group + '>' + cleaned(regex) + ')?';
|
|
483
|
-
destination.
|
|
481
|
+
destination.g(tmp$ret$3);
|
|
484
482
|
}
|
|
485
|
-
tmp.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
490
|
-
}
|
|
491
|
-
protoOf(MessageDigger).
|
|
492
|
-
return messageDigResult(this.
|
|
483
|
+
tmp.dl_1 = joinToString(destination, '');
|
|
484
|
+
this.el_1 = '(' + cleaned(storyIdRegex) + ')?';
|
|
485
|
+
this.fl_1 = '(' + cleaned(easeRegex) + ')?';
|
|
486
|
+
this.gl_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
|
|
487
|
+
this.hl_1 = new Regex(this.dl_1 + this.el_1 + this.fl_1 + this.gl_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
|
|
488
|
+
}
|
|
489
|
+
protoOf(MessageDigger).il = function (input) {
|
|
490
|
+
return messageDigResult(this.hl_1.tb(input));
|
|
493
491
|
};
|
|
494
492
|
function cleaned(_this__u8e3s4) {
|
|
495
|
-
var first = firstOrNull_0(_this__u8e3s4.
|
|
496
|
-
var last = lastIndexOf(_this__u8e3s4.
|
|
493
|
+
var first = firstOrNull_0(_this__u8e3s4.kb_1);
|
|
494
|
+
var last = lastIndexOf(_this__u8e3s4.kb_1, '/');
|
|
497
495
|
var tmp;
|
|
498
496
|
var tmp_0 = first;
|
|
499
497
|
if (equals(tmp_0 == null ? null : new Char(tmp_0), new Char(_Char___init__impl__6a9atx(47)))) {
|
|
500
|
-
tmp = substring(_this__u8e3s4.
|
|
498
|
+
tmp = substring(_this__u8e3s4.kb_1, 1, last);
|
|
501
499
|
} else {
|
|
502
|
-
tmp = _this__u8e3s4.
|
|
500
|
+
tmp = _this__u8e3s4.kb_1;
|
|
503
501
|
}
|
|
504
502
|
return tmp;
|
|
505
503
|
}
|
|
@@ -509,10 +507,10 @@
|
|
|
509
507
|
var tmp$ret$1;
|
|
510
508
|
$l$block: {
|
|
511
509
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
512
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
513
|
-
while (_iterator__ex2g4s.
|
|
514
|
-
var element = _iterator__ex2g4s.
|
|
515
|
-
var result = get(element.
|
|
510
|
+
var _iterator__ex2g4s = _this__u8e3s4.o();
|
|
511
|
+
while (_iterator__ex2g4s.p()) {
|
|
512
|
+
var element = _iterator__ex2g4s.q();
|
|
513
|
+
var result = get(element.bc(), 'storyId');
|
|
516
514
|
if (!(result == null)) {
|
|
517
515
|
tmp$ret$1 = result;
|
|
518
516
|
break $l$block;
|
|
@@ -521,14 +519,14 @@
|
|
|
521
519
|
tmp$ret$1 = null;
|
|
522
520
|
}
|
|
523
521
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
524
|
-
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
522
|
+
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xb_1;
|
|
525
523
|
var tmp$ret$3;
|
|
526
524
|
$l$block_0: {
|
|
527
525
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
528
|
-
var _iterator__ex2g4s_0 = _this__u8e3s4.
|
|
529
|
-
while (_iterator__ex2g4s_0.
|
|
530
|
-
var element_0 = _iterator__ex2g4s_0.
|
|
531
|
-
var result_0 = get(element_0.
|
|
526
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.o();
|
|
527
|
+
while (_iterator__ex2g4s_0.p()) {
|
|
528
|
+
var element_0 = _iterator__ex2g4s_0.q();
|
|
529
|
+
var result_0 = get(element_0.bc(), 'ease');
|
|
532
530
|
if (!(result_0 == null)) {
|
|
533
531
|
tmp$ret$3 = result_0;
|
|
534
532
|
break $l$block_0;
|
|
@@ -537,7 +535,7 @@
|
|
|
537
535
|
tmp$ret$3 = null;
|
|
538
536
|
}
|
|
539
537
|
var tmp1_safe_receiver = tmp$ret$3;
|
|
540
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
538
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.xb_1;
|
|
541
539
|
var tmp6_ease = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
542
540
|
return new MessageDigResult(tmp5_storyId, tmp6_ease, tmp3_coauthors, tmp4_semver);
|
|
543
541
|
}
|
|
@@ -549,7 +547,7 @@
|
|
|
549
547
|
var tmp;
|
|
550
548
|
try {
|
|
551
549
|
// Inline function 'kotlin.Companion.success' call
|
|
552
|
-
var value = get(_this__u8e3s4.
|
|
550
|
+
var value = get(_this__u8e3s4.bc(), groupName);
|
|
553
551
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
554
552
|
} catch ($p) {
|
|
555
553
|
var tmp_0;
|
|
@@ -577,8 +575,8 @@
|
|
|
577
575
|
return maxOrNull(_this__u8e3s4);
|
|
578
576
|
}
|
|
579
577
|
function messageDigResult$lambda(it) {
|
|
580
|
-
var tmp0_safe_receiver = get(it.
|
|
581
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
578
|
+
var tmp0_safe_receiver = get(it.bc(), 'coAuthors');
|
|
579
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xb_1;
|
|
582
580
|
}
|
|
583
581
|
function messageDigResult$lambda_0(it) {
|
|
584
582
|
return getSemver(it);
|