git-digger 1.8.17 → 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.
@@ -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.$_$.p;
6
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
7
- var Unit_instance = kotlin_kotlin.$_$.d3;
8
- var collectionSizeOrDefault = kotlin_kotlin.$_$.z3;
9
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
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.$_$.j4;
11
+ var firstOrNull = kotlin_kotlin.$_$.f4;
12
12
  var Pair = kotlin_kotlin.$_$.gb;
13
- var listOf = kotlin_kotlin.$_$.a5;
14
- var checkIndexOverflow = kotlin_kotlin.$_$.y3;
15
- var getOrNull = kotlin_kotlin.$_$.n4;
16
- var plus = kotlin_kotlin.$_$.l5;
17
- var emptyList = kotlin_kotlin.$_$.g4;
18
- var plus_0 = kotlin_kotlin.$_$.m5;
19
- var last = kotlin_kotlin.$_$.x4;
20
- var toString = kotlin_kotlin.$_$.i8;
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.$_$.f8;
23
- var getStringHashCode = kotlin_kotlin.$_$.f7;
24
- var hashCode = kotlin_kotlin.$_$.g7;
25
- var THROW_CCE = kotlin_kotlin.$_$.jb;
26
- var equals = kotlin_kotlin.$_$.b7;
27
- var initMetadataForClass = kotlin_kotlin.$_$.h7;
28
- var lastOrNull = kotlin_kotlin.$_$.w4;
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.$_$.b5;
32
- var addAll = kotlin_kotlin.$_$.r3;
33
- var toSet = kotlin_kotlin.$_$.f6;
34
- var sorted = kotlin_kotlin.$_$.u5;
35
- var toList = kotlin_kotlin.$_$.b6;
36
- var joinToString = kotlin_kotlin.$_$.r4;
37
- var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
38
- var initMetadataForObject = kotlin_kotlin.$_$.m7;
39
- var VOID = kotlin_kotlin.$_$.g;
40
- var take = kotlin_kotlin.$_$.x5;
41
- var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.h;
42
- var Regex_init_$Create$_0 = kotlin_kotlin.$_$.u;
43
- var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.h1;
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.$_$.d5;
46
- var RegexOption_MULTILINE_getInstance = kotlin_kotlin.$_$.i;
47
- var setOf = kotlin_kotlin.$_$.q5;
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.$_$.k1;
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.$_$.y2;
60
- var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n1;
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.$_$.q1;
63
- var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
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.m();
80
- while (_iterator__ex2g4s.n()) {
81
- var e = _iterator__ex2g4s.o();
82
- var key = e.vw_1;
83
- if (set.e(key)) {
84
- list.e(e);
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.m();
91
- while (_iterator__ex2g4s_0.n()) {
92
- var element = _iterator__ex2g4s_0.o();
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.m();
97
- while (_iterator__ex2g4s_1.n()) {
98
- var item = _iterator__ex2g4s_1.o();
99
- var tmp$ret$2 = item.fw_1;
100
- destination_0.e(tmp$ret$2);
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.d1(element.vw_1)) {
103
- destination.e(element);
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.m();
114
- while (_iterator__ex2g4s.n()) {
115
- var item = _iterator__ex2g4s.o();
116
- var earlierTag = item.y9();
117
- var nextTag = item.z9();
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.sw('^' + nextTag.vw_1, 'HEAD');
120
+ tmp = _this__u8e3s4.fk('^' + nextTag.ik_1, 'HEAD');
121
121
  } else if (!(earlierTag == null) && !(nextTag == null)) {
122
- tmp = _this__u8e3s4.sw('^' + nextTag.vw_1, earlierTag.vw_1);
122
+ tmp = _this__u8e3s4.fk('^' + nextTag.ik_1, earlierTag.ik_1);
123
123
  } else if (!(earlierTag == null)) {
124
- tmp = _this__u8e3s4.tw(earlierTag.vw_1);
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.e(tmp$ret$0);
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.m();
135
- while (_iterator__ex2g4s_0.n()) {
136
- var element = _iterator__ex2g4s_0.o();
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.x9_1.j()) {
139
- destination_0.e(element);
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.m();
151
- while (_iterator__ex2g4s.n()) {
152
- var item = _iterator__ex2g4s.o();
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.e(tmp$ret$0);
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.m();
165
- while (_iterator__ex2g4s.n()) {
166
- var element = _iterator__ex2g4s.o();
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.j()) {
169
+ if (acc.l()) {
170
170
  tmp = plus_0(acc, element);
171
- } else if (element.fw_1 === firstOrNull(last(acc).jw_1)) {
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.xw_1 = storyId;
182
- this.yw_1 = ease;
183
- this.zw_1 = authors;
184
- this.ax_1 = semver;
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.xw_1 + ', ease=' + this.yw_1 + ', authors=' + toString(this.zw_1) + ', semver=' + toString_0(this.ax_1) + ')';
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.xw_1 == null ? 0 : getStringHashCode(this.xw_1);
191
- result = imul(result, 31) + (this.yw_1 == null ? 0 : this.yw_1) | 0;
192
- result = imul(result, 31) + hashCode(this.zw_1) | 0;
193
- result = imul(result, 31) + (this.ax_1 == null ? 0 : this.ax_1.hashCode()) | 0;
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
- var tmp0_other_with_cast = other instanceof CommitInspectionResult ? other : THROW_CCE();
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.yw_1 == tmp0_other_with_cast.yw_1))
203
+ if (!(this.zk_1 == other.zk_1))
205
204
  return false;
206
- if (!equals(this.zw_1, tmp0_other_with_cast.zw_1))
205
+ if (!equals(this.al_1, other.al_1))
207
206
  return false;
208
- if (!equals(this.ax_1, tmp0_other_with_cast.ax_1))
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.m();
217
- while (_iterator__ex2g4s.n()) {
218
- var item = _iterator__ex2g4s.o();
219
- var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.hx(item.kw_1));
220
- destination.e(tmp$ret$0);
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.fw_1;
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.fw_1;
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.iw_1;
231
- var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.iw_1;
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.m();
237
- while (_iterator__ex2g4s_0.n()) {
238
- var element = _iterator__ex2g4s_0.o();
239
- var tmp0_safe_receiver = element.yw_1;
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.e(tmp0_safe_receiver);
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.m();
254
- while (_iterator__ex2g4s_1.n()) {
255
- var element_0 = _iterator__ex2g4s_1.o();
256
- var tmp0_safe_receiver_0 = element_0.ax_1;
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.e(tmp0_safe_receiver_0);
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.p();
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.ix_1, digResult.jx_1, plus(listOf_0([_this__u8e3s4.hw_1, _this__u8e3s4.gw_1]), digResult.kx_1), digResult.lx_1);
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.m();
278
- while (_iterator__ex2g4s.n()) {
279
- var element = _iterator__ex2g4s.o();
280
- var list = element.zw_1;
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.m();
287
- while (_iterator__ex2g4s_0.n()) {
288
- var item = _iterator__ex2g4s_0.o();
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.e(tmp$ret$5);
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.m();
302
- while (_iterator__ex2g4s.n()) {
303
- var element = _iterator__ex2g4s.o();
304
- var tmp0_safe_receiver = element.xw_1;
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.e(tmp0_safe_receiver);
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.j()) {
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.rw();
324
+ tmp = _this__u8e3s4.ek();
326
325
  } else {
327
- tmp = _this__u8e3s4.sw('^' + previousTag.uw_1, 'HEAD');
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.nx_1.qw();
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.m();
337
- while (_iterator__ex2g4s.n()) {
338
- var element = _iterator__ex2g4s.o();
339
- if ($this.px_1.hc(element.uw_1)) {
340
- destination.e(element);
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.vw_1) === headCommitId) {
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.qx_1 = Regex_init_$Create$('.*');
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().qx_1 : tagRegex;
368
- this.mx_1 = label;
369
- this.nx_1 = gitWrapper;
370
- this.ox_1 = messageDigger;
371
- this.px_1 = tagRegex;
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).rx = function () {
372
+ protoOf(DiggerCore).sl = function () {
374
373
  // Inline function 'kotlin.with' call
375
- var $this$with = this.nx_1;
376
- var _destruct__k2r9zo = currentRelevantTags(this, $this$with.pw(), take(tagRefs(this), 2));
377
- var currentTag = _destruct__k2r9zo.y9();
378
- var previousTag = _destruct__k2r9zo.z9();
379
- var tmp = contribution(this.ox_1, currentContributionCommits($this$with, previousTag));
380
- var tmp_0 = currentTag == null ? null : currentTag.uw_1;
381
- return tmp.ew(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.mx_1, tmp_0, currentTag == null ? null : currentTag.ww_1);
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).sx = function () {
382
+ protoOf(DiggerCore).tl = function () {
384
383
  // Inline function 'kotlin.collections.map' call
385
- var this_0 = allContributionCommits(this.nx_1, tagRefs(this), this.nx_1.rw());
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.m();
389
- while (_iterator__ex2g4s.n()) {
390
- var item = _iterator__ex2g4s.o();
391
- var tmp$ret$0 = to(item.w9_1, contribution(this.ox_1, toList(item.x9_1)));
392
- destination.e(tmp$ret$0);
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.m();
398
- while (_iterator__ex2g4s_0.n()) {
399
- var item_0 = _iterator__ex2g4s_0.o();
400
- var tag = item_0.y9();
401
- var contribution_0 = item_0.z9();
402
- var tmp = tag == null ? null : tag.uw_1;
403
- var tmp$ret$3 = contribution_0.ew(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.mx_1, tmp, tag == null ? null : tag.ww_1);
404
- destination_0.e(tmp$ret$3);
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.ix_1 = storyId;
410
- this.jx_1 = ease;
411
- this.kx_1 = coauthors;
412
- this.lx_1 = semver;
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.ix_1 + ', ease=' + this.jx_1 + ', coauthors=' + toString(this.kx_1) + ', semver=' + toString_0(this.lx_1) + ')';
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.ix_1 == null ? 0 : getStringHashCode(this.ix_1);
419
- result = imul(result, 31) + (this.jx_1 == null ? 0 : this.jx_1) | 0;
420
- result = imul(result, 31) + hashCode(this.kx_1) | 0;
421
- result = imul(result, 31) + (this.lx_1 == null ? 0 : this.lx_1.hashCode()) | 0;
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
- var tmp0_other_with_cast = other instanceof MessageDigResult ? other : THROW_CCE();
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.jx_1 == tmp0_other_with_cast.jx_1))
430
+ if (!(this.kl_1 == other.kl_1))
433
431
  return false;
434
- if (!equals(this.kx_1, tmp0_other_with_cast.kx_1))
432
+ if (!equals(this.ll_1, other.ll_1))
435
433
  return false;
436
- if (!equals(this.lx_1, tmp0_other_with_cast.lx_1))
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.tx_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
443
- this.ux_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
444
- this.vx_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
445
- this.wx_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
446
- this.xx_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
447
- this.yx_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
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().tx_1 : majorRegex;
457
- minorRegex = minorRegex === VOID ? Defaults_getInstance_0().ux_1 : minorRegex;
458
- patchRegex = patchRegex === VOID ? Defaults_getInstance_0().vx_1 : patchRegex;
459
- noneRegex = noneRegex === VOID ? Defaults_getInstance_0().wx_1 : noneRegex;
460
- storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().xx_1 : storyIdRegex;
461
- easeRegex = easeRegex === VOID ? Defaults_getInstance_0().yx_1 : easeRegex;
462
- if (!contains(storyIdRegex.bc_1, '?<storyId>')) {
463
- throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.bc_1);
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.bc_1, '?<ease>')) {
466
- throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.bc_1);
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.bx_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
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.bx_1;
469
+ var this_0 = this.cl_1;
472
470
  // Inline function 'kotlin.collections.mapTo' call
473
- var destination = ArrayList_init_$Create$_0(this_0.p());
471
+ var destination = ArrayList_init_$Create$_0(this_0.s());
474
472
  // Inline function 'kotlin.collections.iterator' call
475
- var _iterator__ex2g4s = this_0.x().m();
476
- while (_iterator__ex2g4s.n()) {
477
- var item = _iterator__ex2g4s.o();
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.y();
477
+ var group = item.a1();
480
478
  // Inline function 'kotlin.collections.component2' call
481
- var regex = item.z();
479
+ var regex = item.b1();
482
480
  var tmp$ret$3 = '(?<' + group + '>' + cleaned(regex) + ')?';
483
- destination.e(tmp$ret$3);
481
+ destination.g(tmp$ret$3);
484
482
  }
485
- tmp.cx_1 = joinToString(destination, '');
486
- this.dx_1 = '(' + cleaned(storyIdRegex) + ')?';
487
- this.ex_1 = '(' + cleaned(easeRegex) + ')?';
488
- this.fx_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
489
- this.gx_1 = new Regex(this.cx_1 + this.dx_1 + this.ex_1 + this.fx_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
490
- }
491
- protoOf(MessageDigger).hx = function (input) {
492
- return messageDigResult(this.gx_1.kc(input));
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.bc_1);
496
- var last = lastIndexOf(_this__u8e3s4.bc_1, '/');
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.bc_1, 1, last);
498
+ tmp = substring(_this__u8e3s4.kb_1, 1, last);
501
499
  } else {
502
- tmp = _this__u8e3s4.bc_1;
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.m();
513
- while (_iterator__ex2g4s.n()) {
514
- var element = _iterator__ex2g4s.o();
515
- var result = get(element.sc(), 'storyId');
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.oc_1;
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.m();
529
- while (_iterator__ex2g4s_0.n()) {
530
- var element_0 = _iterator__ex2g4s_0.o();
531
- var result_0 = get(element_0.sc(), 'ease');
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.oc_1;
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.sc(), groupName);
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.sc(), 'coAuthors');
581
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.oc_1;
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);