git-semver-tagger 1.9.23 → 1.9.25

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.
@@ -4,18 +4,13 @@
4
4
  var imul = Math.imul;
5
5
  var protoOf = kotlin_kotlin.$_$.da;
6
6
  var initMetadataForObject = kotlin_kotlin.$_$.k9;
7
- var VOID = kotlin_kotlin.$_$.c;
8
- var joinToString = kotlin_kotlin.$_$.v5;
9
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t1;
10
- var initMetadataForCompanion = kotlin_kotlin.$_$.g9;
11
- var enumEntries = kotlin_kotlin.$_$.s7;
12
7
  var Unit_instance = kotlin_kotlin.$_$.v;
13
8
  var Enum = kotlin_kotlin.$_$.td;
14
9
  var initMetadataForClass = kotlin_kotlin.$_$.f9;
10
+ var VOID = kotlin_kotlin.$_$.c;
15
11
  var KProperty1 = kotlin_kotlin.$_$.xa;
16
12
  var getPropertyCallableRef = kotlin_kotlin.$_$.c9;
17
13
  var CliktError = kotlin_clikt_clikt.$_$.a;
18
- var IllegalArgumentException = kotlin_kotlin.$_$.vd;
19
14
  var endsWith = kotlin_kotlin.$_$.sb;
20
15
  var collectionSizeOrDefault = kotlin_kotlin.$_$.t4;
21
16
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.y;
@@ -29,6 +24,10 @@
29
24
  var option = kotlin_clikt_clikt.$_$.o;
30
25
  var boolean = kotlin_clikt_clikt.$_$.q;
31
26
  var default_0 = kotlin_clikt_clikt.$_$.l;
27
+ var mapCapacity = kotlin_kotlin.$_$.h6;
28
+ var coerceAtLeast = kotlin_kotlin.$_$.ka;
29
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.h1;
30
+ var choice = kotlin_clikt_clikt.$_$.r;
32
31
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.j;
33
32
  var Companion_instance = kotlin_com_zegreatrob_tools_tagger_core.$_$.i;
34
33
  var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
@@ -39,11 +38,12 @@
39
38
  var Success = kotlin_com_zegreatrob_tools_tagger_core.$_$.e;
40
39
  var emptyList = kotlin_kotlin.$_$.j5;
41
40
  var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
42
- var Companion_instance_0 = kotlin_clikt_clikt.$_$.s;
41
+ var Companion_instance_0 = kotlin_clikt_clikt.$_$.t;
43
42
  var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
44
43
  var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
44
+ var IllegalArgumentException = kotlin_kotlin.$_$.vd;
45
45
  var split = kotlin_kotlin.$_$.mc;
46
- var Companion_instance_1 = kotlin_clikt_clikt.$_$.r;
46
+ var Companion_instance_1 = kotlin_clikt_clikt.$_$.s;
47
47
  var listOf = kotlin_kotlin.$_$.f6;
48
48
  var Regex_init_$Create$_0 = kotlin_kotlin.$_$.m1;
49
49
  var readFromFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
@@ -66,6 +66,7 @@
66
66
  var isBlank = kotlin_kotlin.$_$.yb;
67
67
  var JsonElement = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
68
68
  var writeToFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.c;
69
+ var initMetadataForCompanion = kotlin_kotlin.$_$.g9;
69
70
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
70
71
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
71
72
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
@@ -97,74 +98,40 @@
97
98
  //endregion
98
99
  //region block: pre-declaration
99
100
  initMetadataForObject(Versions, 'Versions');
100
- initMetadataForCompanion(Companion);
101
101
  initMetadataForClass(OutputFormat, 'OutputFormat', VOID, Enum);
102
102
  initMetadataForClass(CalculateVersion, 'CalculateVersion', CalculateVersion, CliktCommand);
103
103
  initMetadataForClass(ConfigFileSource, 'ConfigFileSource');
104
104
  initMetadataForClass(GenerateSettingsFile, 'GenerateSettingsFile', GenerateSettingsFile, CliktCommand);
105
- initMetadataForCompanion(Companion_0);
105
+ initMetadataForCompanion(Companion);
106
106
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
107
107
  initMetadataForClass(VersionSuccessResponse, 'VersionSuccessResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
108
- initMetadataForCompanion(Companion_1);
108
+ initMetadataForCompanion(Companion_0);
109
109
  initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
110
110
  initMetadataForClass(VersionData, 'VersionData', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
111
- initMetadataForCompanion(Companion_2);
111
+ initMetadataForCompanion(Companion_1);
112
112
  initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
113
113
  initMetadataForClass(ErrorResponse, 'ErrorResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
114
- initMetadataForCompanion(Companion_3);
114
+ initMetadataForCompanion(Companion_2);
115
115
  initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
116
116
  initMetadataForClass(TagSuccessResponse, 'TagSuccessResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
117
- initMetadataForCompanion(Companion_4);
117
+ initMetadataForCompanion(Companion_3);
118
118
  initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
119
119
  initMetadataForClass(TagData, 'TagData', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
120
120
  initMetadataForClass(Tag, 'Tag', Tag, CliktCommand);
121
121
  initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
122
122
  //endregion
123
123
  function Versions() {
124
- this.q2n_1 = '1.9.23';
124
+ this.r2n_1 = '1.9.25';
125
125
  }
126
126
  var Versions_instance;
127
127
  function Versions_getInstance() {
128
128
  return Versions_instance;
129
129
  }
130
- function OutputFormat$Companion$fromString$lambda(it) {
131
- // Inline function 'kotlin.text.lowercase' call
132
- // Inline function 'kotlin.js.asDynamic' call
133
- return it.x2_1.toLowerCase();
134
- }
135
130
  var OutputFormat_TEXT_instance;
136
131
  var OutputFormat_JSON_instance;
137
- function Companion() {
138
- }
139
- protoOf(Companion).r2n = function (value) {
140
- // Inline function 'kotlin.text.lowercase' call
141
- // Inline function 'kotlin.js.asDynamic' call
142
- var tmp;
143
- switch (value.toLowerCase()) {
144
- case 'text':
145
- tmp = OutputFormat_TEXT_getInstance();
146
- break;
147
- case 'json':
148
- tmp = OutputFormat_JSON_getInstance();
149
- break;
150
- default:
151
- var tmp_0 = get_entries();
152
- throw IllegalArgumentException_init_$Create$("Invalid format '" + value + "'. Must be one of: " + joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, OutputFormat$Companion$fromString$lambda));
153
- }
154
- return tmp;
155
- };
156
- var Companion_instance_2;
157
- function Companion_getInstance() {
158
- return Companion_instance_2;
159
- }
160
132
  function values() {
161
133
  return [OutputFormat_TEXT_getInstance(), OutputFormat_JSON_getInstance()];
162
134
  }
163
- function get_entries() {
164
- if ($ENTRIES == null)
165
- $ENTRIES = enumEntries(values());
166
- return $ENTRIES;
167
- }
168
135
  var OutputFormat_entriesInitialized;
169
136
  function OutputFormat_initEntries() {
170
137
  if (OutputFormat_entriesInitialized)
@@ -173,17 +140,16 @@
173
140
  OutputFormat_TEXT_instance = new OutputFormat('TEXT', 0);
174
141
  OutputFormat_JSON_instance = new OutputFormat('JSON', 1);
175
142
  }
176
- var $ENTRIES;
177
143
  function OutputFormat(name, ordinal) {
178
144
  Enum.call(this, name, ordinal);
179
145
  }
180
146
  function _get_gitRepoArgument__zxde8($this) {
181
147
  var tmp = KProperty1;
182
- return $this.h2o_1.k1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
148
+ return $this.h2o_1.l1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
183
149
  }
184
150
  function _get_gitRepoOption__rk7ta0($this) {
185
151
  var tmp = KProperty1;
186
- return $this.i2o_1.k1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
152
+ return $this.i2o_1.l1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
187
153
  }
188
154
  function _get_workingDirectory__eyfbj($this) {
189
155
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
@@ -198,59 +164,43 @@
198
164
  }
199
165
  function _get_implicitPatch__bjk4pa($this) {
200
166
  var tmp = KProperty1;
201
- return $this.j2o_1.k1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
167
+ return $this.j2o_1.l1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
202
168
  }
203
169
  function _get_disableDetached__ys8kbb($this) {
204
170
  var tmp = KProperty1;
205
- return $this.k2o_1.k1m($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
171
+ return $this.k2o_1.l1m($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
206
172
  }
207
173
  function _get_forceSnapshot__vb3h7m($this) {
208
174
  var tmp = KProperty1;
209
- return $this.l2o_1.k1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
175
+ return $this.l2o_1.l1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
210
176
  }
211
177
  function _get_releaseBranch__pqrgbs($this) {
212
178
  var tmp = KProperty1;
213
- return $this.m2o_1.k1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
214
- }
215
- function _get_formatString__ciw4gt($this) {
216
- var tmp = KProperty1;
217
- return $this.n2o_1.k1m($this, getPropertyCallableRef('formatString', 1, tmp, CalculateVersion$_get_formatString_$ref_f69ypw_0(), null));
179
+ return $this.m2o_1.l1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
218
180
  }
219
181
  function _get_format__qlarck($this) {
220
- var tmp;
221
- try {
222
- tmp = Companion_instance_2.r2n(_get_formatString__ciw4gt($this));
223
- } catch ($p) {
224
- var tmp_0;
225
- if ($p instanceof IllegalArgumentException) {
226
- var e = $p;
227
- var tmp0_elvis_lhs = e.message;
228
- throw new CliktError(tmp0_elvis_lhs == null ? 'Invalid format' : tmp0_elvis_lhs);
229
- } else {
230
- throw $p;
231
- }
232
- }
233
- return tmp;
182
+ var tmp = KProperty1;
183
+ return $this.n2o_1.l1m($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
234
184
  }
235
185
  function _get_majorRegex__5j6ypp($this) {
236
186
  var tmp = KProperty1;
237
- return $this.o2o_1.k1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
187
+ return $this.o2o_1.l1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
238
188
  }
239
189
  function _get_minorRegex__20z96h($this) {
240
190
  var tmp = KProperty1;
241
- return $this.p2o_1.k1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
191
+ return $this.p2o_1.l1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
242
192
  }
243
193
  function _get_patchRegex__mtlu2c($this) {
244
194
  var tmp = KProperty1;
245
- return $this.q2o_1.k1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
195
+ return $this.q2o_1.l1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
246
196
  }
247
197
  function _get_noneRegex__1tdbgi($this) {
248
198
  var tmp = KProperty1;
249
- return $this.r2o_1.k1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
199
+ return $this.r2o_1.l1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
250
200
  }
251
201
  function _get_versionRegex__7su5ss($this) {
252
202
  var tmp = KProperty1;
253
- return $this.s2o_1.k1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
203
+ return $this.s2o_1.l1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
254
204
  }
255
205
  function output($this, message, errorMessage) {
256
206
  $this.x1b(message);
@@ -352,14 +302,14 @@
352
302
  return _get_releaseBranch__pqrgbs(p0);
353
303
  };
354
304
  }
355
- function CalculateVersion$_get_formatString_$ref_f69ypw() {
305
+ function CalculateVersion$_get_format_$ref_clhcb9() {
356
306
  return function (p0) {
357
- return _get_formatString__ciw4gt(p0);
307
+ return _get_format__qlarck(p0);
358
308
  };
359
309
  }
360
- function CalculateVersion$_get_formatString_$ref_f69ypw_0() {
310
+ function CalculateVersion$_get_format_$ref_clhcb9_0() {
361
311
  return function (p0) {
362
- return _get_formatString__ciw4gt(p0);
312
+ return _get_format__qlarck(p0);
363
313
  };
364
314
  }
365
315
  function CalculateVersion$_get_majorRegex_$ref_erugf6() {
@@ -409,7 +359,7 @@
409
359
  // Inline function 'com.github.ajalt.clikt.parameters.options.OptionTransformContext.require' call
410
360
  if (!$tmp4_check_this.co(it)) {
411
361
  var tmp$ret$3 = $message;
412
- $this$copy.t1l(tmp$ret$3);
362
+ $this$copy.u1l(tmp$ret$3);
413
363
  }
414
364
  tmp = Unit_instance;
415
365
  }
@@ -432,59 +382,78 @@
432
382
  var tmp = this;
433
383
  var tmp_0 = optional(argument(this, 'git-repo'));
434
384
  var tmp_1 = KProperty1;
435
- tmp.h2o_1 = tmp_0.q1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
385
+ tmp.h2o_1 = tmp_0.r1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
436
386
  var tmp_2 = this;
437
387
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
438
388
  var tmp_4 = KProperty1;
439
- tmp_2.i2o_1 = tmp_3.u1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
389
+ tmp_2.i2o_1 = tmp_3.v1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
440
390
  var tmp_5 = this;
441
391
  var tmp_6 = default_0(boolean(option(this, [])), true);
442
392
  var tmp_7 = KProperty1;
443
- tmp_5.j2o_1 = tmp_6.u1m(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
393
+ tmp_5.j2o_1 = tmp_6.v1m(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
444
394
  var tmp_8 = this;
445
395
  var tmp_9 = default_0(boolean(option(this, [])), true);
446
396
  var tmp_10 = KProperty1;
447
- tmp_8.k2o_1 = tmp_9.u1m(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
397
+ tmp_8.k2o_1 = tmp_9.v1m(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
448
398
  var tmp_11 = this;
449
399
  var tmp_12 = default_0(boolean(option(this, [])), false);
450
400
  var tmp_13 = KProperty1;
451
- tmp_11.l2o_1 = tmp_12.u1m(this, getPropertyCallableRef('forceSnapshot', 1, tmp_13, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
401
+ tmp_11.l2o_1 = tmp_12.v1m(this, getPropertyCallableRef('forceSnapshot', 1, tmp_13, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
452
402
  var tmp_14 = this;
453
403
  var tmp_15 = option(this, []);
454
404
  var tmp_16 = KProperty1;
455
- tmp_14.m2o_1 = tmp_15.u1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_16, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
405
+ tmp_14.m2o_1 = tmp_15.v1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_16, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
456
406
  var tmp_17 = this;
457
- var tmp_18 = default_0(option(this, ['--format']), 'text');
407
+ // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
408
+ var this_0 = option(this, ['--format'], 'Output format (default: text). Use json for structured data with version, snapshot status, and diagnostic flags.');
409
+ // Inline function 'kotlin.enumValues' call
410
+ // Inline function 'kotlin.collections.associateBy' call
411
+ var this_1 = values();
412
+ var capacity = coerceAtLeast(mapCapacity(this_1.length), 16);
413
+ // Inline function 'kotlin.collections.associateByTo' call
414
+ var destination = LinkedHashMap_init_$Create$(capacity);
415
+ var inductionVariable = 0;
416
+ var last = this_1.length;
417
+ while (inductionVariable < last) {
418
+ var element = this_1[inductionVariable];
419
+ inductionVariable = inductionVariable + 1 | 0;
420
+ // Inline function 'kotlin.text.lowercase' call
421
+ // Inline function 'kotlin.js.asDynamic' call
422
+ var tmp$ret$4 = element.x2_1.toLowerCase();
423
+ destination.p2(tmp$ret$4, element);
424
+ }
425
+ var tmp$ret$0 = choice(this_0, destination, VOID, true);
426
+ var tmp_18 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
458
427
  var tmp_19 = KProperty1;
459
- tmp_17.n2o_1 = tmp_18.u1m(this, getPropertyCallableRef('formatString', 1, tmp_19, CalculateVersion$_get_formatString_$ref_f69ypw(), null));
428
+ tmp_17.n2o_1 = tmp_18.v1m(this, getPropertyCallableRef('format', 1, tmp_19, CalculateVersion$_get_format_$ref_clhcb9(), null));
460
429
  var tmp_20 = this;
461
430
  var tmp_21 = default_0(option(this, []), Defaults_getInstance().ao_1.tb_1);
462
431
  var tmp_22 = KProperty1;
463
- tmp_20.o2o_1 = tmp_21.u1m(this, getPropertyCallableRef('majorRegex', 1, tmp_22, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
432
+ tmp_20.o2o_1 = tmp_21.v1m(this, getPropertyCallableRef('majorRegex', 1, tmp_22, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
464
433
  var tmp_23 = this;
465
434
  var tmp_24 = default_0(option(this, []), Defaults_getInstance().zn_1.tb_1);
466
435
  var tmp_25 = KProperty1;
467
- tmp_23.p2o_1 = tmp_24.u1m(this, getPropertyCallableRef('minorRegex', 1, tmp_25, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
436
+ tmp_23.p2o_1 = tmp_24.v1m(this, getPropertyCallableRef('minorRegex', 1, tmp_25, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
468
437
  var tmp_26 = this;
469
438
  var tmp_27 = default_0(option(this, []), Defaults_getInstance().yn_1.tb_1);
470
439
  var tmp_28 = KProperty1;
471
- tmp_26.q2o_1 = tmp_27.u1m(this, getPropertyCallableRef('patchRegex', 1, tmp_28, CalculateVersion$_get_patchRegex_$ref_124637(), null));
440
+ tmp_26.q2o_1 = tmp_27.v1m(this, getPropertyCallableRef('patchRegex', 1, tmp_28, CalculateVersion$_get_patchRegex_$ref_124637(), null));
472
441
  var tmp_29 = this;
473
442
  var tmp_30 = default_0(option(this, []), Defaults_getInstance().xn_1.tb_1);
474
443
  var tmp_31 = KProperty1;
475
- tmp_29.r2o_1 = tmp_30.u1m(this, getPropertyCallableRef('noneRegex', 1, tmp_31, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
444
+ tmp_29.r2o_1 = tmp_30.v1m(this, getPropertyCallableRef('noneRegex', 1, tmp_31, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
476
445
  var tmp_32 = this;
477
446
  var tmp0 = option(this, []);
478
447
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
479
448
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
480
449
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
481
450
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
482
- var tmp_33 = tmp0.l1l();
483
- var tmp_34 = tmp0.n1m();
484
- var tmp_35 = tmp0.m1l();
485
- var tmp_36 = tmp0.o1m(tmp_33, tmp_34, tmp_35, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
451
+ var tmp_33 = tmp0.m1l();
452
+ var tmp_34 = tmp0.o1m();
453
+ var tmp_35 = tmp0.n1l();
454
+ var tmp_36 = tmp0.p1m(tmp_33, tmp_34, tmp_35, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
486
455
  var tmp_37 = KProperty1;
487
- tmp_32.s2o_1 = tmp_36.u1m(this, getPropertyCallableRef('versionRegex', 1, tmp_37, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
456
+ tmp_32.s2o_1 = tmp_36.v1m(this, getPropertyCallableRef('versionRegex', 1, tmp_37, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
488
457
  }
489
458
  protoOf(CalculateVersion).k1d = function () {
490
459
  var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
@@ -553,12 +522,12 @@
553
522
  var _iterator__ex2g4s_0 = this_0.r();
554
523
  while (_iterator__ex2g4s_0.s()) {
555
524
  var item = _iterator__ex2g4s_0.t();
556
- var tmp$ret$2 = Companion_instance_0.m1r(get_jsonPrimitive(item).o2c());
525
+ var tmp$ret$2 = Companion_instance_0.n1r(get_jsonPrimitive(item).p2c());
557
526
  destination.v(tmp$ret$2);
558
527
  }
559
528
  return destination;
560
529
  }
561
- return Companion_instance_0.l1r(get_jsonPrimitive(cursor).o2c());
530
+ return Companion_instance_0.m1r(get_jsonPrimitive(cursor).p2c());
562
531
  } catch ($p) {
563
532
  if ($p instanceof IllegalArgumentException) {
564
533
  var _unused_var__etf5q3 = $p;
@@ -571,7 +540,7 @@
571
540
  function parts($this, $receiver) {
572
541
  var tmp0_safe_receiver = $receiver.y1d();
573
542
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
574
- return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.n1r($receiver))) : tmp1_elvis_lhs;
543
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.o1r($receiver))) : tmp1_elvis_lhs;
575
544
  }
576
545
  function kebabToCamelCase($this, $receiver) {
577
546
  // Inline function 'kotlin.text.toRegex' call
@@ -597,7 +566,7 @@
597
566
  // Inline function 'kotlinx.serialization.internal.cast' call
598
567
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
599
568
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
600
- var config = this_0.g2a(tmp$ret$1, fileContents);
569
+ var config = this_0.h2a(tmp$ret$1, fileContents);
601
570
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
602
571
  var this_3 = Default_getInstance();
603
572
  // Inline function 'kotlinx.serialization.serializer' call
@@ -605,7 +574,7 @@
605
574
  // Inline function 'kotlinx.serialization.internal.cast' call
606
575
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
607
576
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
608
- var configAsElement = this_3.h2a(tmp$ret$4, config);
577
+ var configAsElement = this_3.i2a(tmp$ret$4, config);
609
578
  return configAsElement;
610
579
  }
611
580
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
@@ -618,7 +587,7 @@
618
587
  function ConfigFileSource(envvarReader) {
619
588
  this.t2o_1 = envvarReader;
620
589
  }
621
- protoOf(ConfigFileSource).w1m = function (context, option) {
590
+ protoOf(ConfigFileSource).x1m = function (context, option) {
622
591
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
623
592
  var tmp;
624
593
  if (tmp0_elvis_lhs == null) {
@@ -631,11 +600,11 @@
631
600
  };
632
601
  function _get_file__d6iv67($this) {
633
602
  var tmp = KProperty1;
634
- return $this.j2p_1.k1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
603
+ return $this.j2p_1.l1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
635
604
  }
636
605
  function _get_merge__eb7eqv($this) {
637
606
  var tmp = KProperty1;
638
- return $this.k2p_1.k1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
607
+ return $this.k2p_1.l1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
639
608
  }
640
609
  function mergeJson($this, defaultConfig, originalData) {
641
610
  // Inline function 'kotlinx.serialization.json.buildJsonObject' call
@@ -658,9 +627,9 @@
658
627
  } else {
659
628
  tmp = value;
660
629
  }
661
- builder.w2c(key, tmp);
630
+ builder.x2c(key, tmp);
662
631
  }
663
- var mergeData = builder.q2b();
632
+ var mergeData = builder.r2b();
664
633
  return mergeData;
665
634
  }
666
635
  function GenerateSettingsFile$_get_file_$ref_3dvoj2() {
@@ -684,8 +653,8 @@
684
653
  };
685
654
  }
686
655
  function GenerateSettingsFile$run$lambda($this$Json) {
687
- $this$Json.c2b_1 = true;
688
- $this$Json.y2a_1 = true;
656
+ $this$Json.d2b_1 = true;
657
+ $this$Json.z2a_1 = true;
689
658
  return Unit_instance;
690
659
  }
691
660
  function GenerateSettingsFile() {
@@ -693,11 +662,11 @@
693
662
  var tmp = this;
694
663
  var tmp_0 = option(this, []);
695
664
  var tmp_1 = KProperty1;
696
- tmp.j2p_1 = tmp_0.u1m(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
665
+ tmp.j2p_1 = tmp_0.v1m(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
697
666
  var tmp_2 = this;
698
667
  var tmp_3 = boolean(option(this, []));
699
668
  var tmp_4 = KProperty1;
700
- tmp_2.k2p_1 = tmp_3.u1m(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
669
+ tmp_2.k2p_1 = tmp_3.v1m(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
701
670
  }
702
671
  protoOf(GenerateSettingsFile).k1d = function () {
703
672
  var prettyJsonFormatter = Json(VOID, GenerateSettingsFile$run$lambda);
@@ -708,7 +677,7 @@
708
677
  // Inline function 'kotlinx.serialization.internal.cast' call
709
678
  var this_1 = serializer(this_0, createKType(getKClass(TaggerConfig), arrayOf([]), false));
710
679
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
711
- var defaultConfig = prettyJsonFormatter.h2a(tmp$ret$1, value);
680
+ var defaultConfig = prettyJsonFormatter.i2a(tmp$ret$1, value);
712
681
  // Inline function 'kotlin.text.orEmpty' call
713
682
  var tmp0_elvis_lhs = _get_file__d6iv67(this);
714
683
  // Inline function 'kotlin.text.ifBlank' call
@@ -727,7 +696,7 @@
727
696
  if (!(existingFileData == null)) {
728
697
  var tmp_1;
729
698
  if (_get_merge__eb7eqv(this) === true) {
730
- var originalData = prettyJsonFormatter.i2a(existingFileData);
699
+ var originalData = prettyJsonFormatter.j2a(existingFileData);
731
700
  tmp_1 = mergeJson(this, defaultConfig, originalData);
732
701
  } else {
733
702
  throw new CliktError('File already exists.');
@@ -744,7 +713,7 @@
744
713
  // Inline function 'kotlinx.serialization.internal.cast' call
745
714
  var this_4 = serializer(this_3, createKType(getKClass(JsonElement), arrayOf([]), false));
746
715
  var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
747
- var tmp$ret$6 = prettyJsonFormatter.f2a(tmp$ret$7, outputConfig);
716
+ var tmp$ret$6 = prettyJsonFormatter.g2a(tmp$ret$7, outputConfig);
748
717
  this.x1b(tmp$ret$6);
749
718
  } else {
750
719
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
@@ -753,19 +722,19 @@
753
722
  // Inline function 'kotlinx.serialization.internal.cast' call
754
723
  var this_6 = serializer(this_5, createKType(getKClass(JsonElement), arrayOf([]), false));
755
724
  var tmp$ret$10 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
756
- var tmp$ret$9 = prettyJsonFormatter.f2a(tmp$ret$10, outputConfig);
725
+ var tmp$ret$9 = prettyJsonFormatter.g2a(tmp$ret$10, outputConfig);
757
726
  writeToFile(tmp$ret$9, settingsFile);
758
727
  this.x1b('Saved to ' + fileName);
759
728
  }
760
729
  };
761
- function Companion_0() {
730
+ function Companion() {
762
731
  }
763
- protoOf(Companion_0).q2c = function () {
732
+ protoOf(Companion).r2c = function () {
764
733
  return $serializer_getInstance();
765
734
  };
766
- var Companion_instance_3;
767
- function Companion_getInstance_0() {
768
- return Companion_instance_3;
735
+ var Companion_instance_2;
736
+ function Companion_getInstance() {
737
+ return Companion_instance_2;
769
738
  }
770
739
  function $serializer() {
771
740
  $serializer_instance = this;
@@ -871,8 +840,8 @@
871
840
  function VersionData$Companion$$childSerializers$_anonymous__gd9ivc() {
872
841
  return new ArrayListSerializer(StringSerializer_getInstance());
873
842
  }
874
- function Companion_1() {
875
- Companion_instance_4 = this;
843
+ function Companion_0() {
844
+ Companion_instance_3 = this;
876
845
  var tmp = this;
877
846
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
878
847
  // Inline function 'kotlin.arrayOf' call
@@ -880,11 +849,11 @@
880
849
  // Inline function 'kotlin.js.asDynamic' call
881
850
  tmp.p2p_1 = [null, null, lazy(tmp_0, VersionData$Companion$$childSerializers$_anonymous__gd9ivc)];
882
851
  }
883
- var Companion_instance_4;
884
- function Companion_getInstance_1() {
885
- if (Companion_instance_4 == null)
886
- new Companion_1();
887
- return Companion_instance_4;
852
+ var Companion_instance_3;
853
+ function Companion_getInstance_0() {
854
+ if (Companion_instance_3 == null)
855
+ new Companion_0();
856
+ return Companion_instance_3;
888
857
  }
889
858
  function $serializer_0() {
890
859
  $serializer_instance_0 = this;
@@ -897,7 +866,7 @@
897
866
  protoOf($serializer_0).r2p = function (encoder, value) {
898
867
  var tmp0_desc = this.q2p_1;
899
868
  var tmp1_output = encoder.dr(tmp0_desc);
900
- var tmp2_cached = Companion_getInstance_1().p2p_1;
869
+ var tmp2_cached = Companion_getInstance_0().p2p_1;
901
870
  tmp1_output.rs(tmp0_desc, 0, value.s2p_1);
902
871
  tmp1_output.js(tmp0_desc, 1, value.t2p_1);
903
872
  if (tmp1_output.zs(tmp0_desc, 2) ? true : !equals(value.u2p_1, emptyList())) {
@@ -917,7 +886,7 @@
917
886
  var tmp5_local1 = false;
918
887
  var tmp6_local2 = null;
919
888
  var tmp7_input = decoder.dr(tmp0_desc);
920
- var tmp8_cached = Companion_getInstance_1().p2p_1;
889
+ var tmp8_cached = Companion_getInstance_0().p2p_1;
921
890
  if (tmp7_input.tr()) {
922
891
  tmp4_local0 = tmp7_input.nr(tmp0_desc, 0);
923
892
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -955,7 +924,7 @@
955
924
  return this.q2p_1;
956
925
  };
957
926
  protoOf($serializer_0).oy = function () {
958
- var tmp0_cached = Companion_getInstance_1().p2p_1;
927
+ var tmp0_cached = Companion_getInstance_0().p2p_1;
959
928
  // Inline function 'kotlin.arrayOf' call
960
929
  // Inline function 'kotlin.js.unsafeCast' call
961
930
  // Inline function 'kotlin.js.asDynamic' call
@@ -983,7 +952,7 @@
983
952
  return VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker, objectCreate(protoOf(VersionData)));
984
953
  }
985
954
  function VersionData(version, snapshot, snapshotReasons) {
986
- Companion_getInstance_1();
955
+ Companion_getInstance_0();
987
956
  snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
988
957
  this.s2p_1 = version;
989
958
  this.t2p_1 = snapshot;
@@ -1011,14 +980,14 @@
1011
980
  return false;
1012
981
  return true;
1013
982
  };
1014
- function Companion_2() {
983
+ function Companion_1() {
1015
984
  }
1016
- protoOf(Companion_2).q2c = function () {
985
+ protoOf(Companion_1).r2c = function () {
1017
986
  return $serializer_getInstance_1();
1018
987
  };
1019
- var Companion_instance_5;
1020
- function Companion_getInstance_2() {
1021
- return Companion_instance_5;
988
+ var Companion_instance_4;
989
+ function Companion_getInstance_1() {
990
+ return Companion_instance_4;
1022
991
  }
1023
992
  function $serializer_1() {
1024
993
  $serializer_instance_1 = this;
@@ -1135,14 +1104,14 @@
1135
1104
  return false;
1136
1105
  return true;
1137
1106
  };
1138
- function Companion_3() {
1107
+ function Companion_2() {
1139
1108
  }
1140
- protoOf(Companion_3).q2c = function () {
1109
+ protoOf(Companion_2).r2c = function () {
1141
1110
  return $serializer_getInstance_2();
1142
1111
  };
1143
- var Companion_instance_6;
1144
- function Companion_getInstance_3() {
1145
- return Companion_instance_6;
1112
+ var Companion_instance_5;
1113
+ function Companion_getInstance_2() {
1114
+ return Companion_instance_5;
1146
1115
  }
1147
1116
  function $serializer_2() {
1148
1117
  $serializer_instance_2 = this;
@@ -1245,11 +1214,11 @@
1245
1214
  return false;
1246
1215
  return true;
1247
1216
  };
1248
- function Companion_4() {
1217
+ function Companion_3() {
1249
1218
  }
1250
- var Companion_instance_7;
1251
- function Companion_getInstance_4() {
1252
- return Companion_instance_7;
1219
+ var Companion_instance_6;
1220
+ function Companion_getInstance_3() {
1221
+ return Companion_instance_6;
1253
1222
  }
1254
1223
  function $serializer_3() {
1255
1224
  $serializer_instance_3 = this;
@@ -1338,13 +1307,13 @@
1338
1307
  return true;
1339
1308
  };
1340
1309
  function versionSuccessResponse(data) {
1341
- return Default_getInstance().f2a(Companion_instance_3.q2c(), new VersionSuccessResponse('success', data));
1310
+ return Default_getInstance().g2a(Companion_instance_2.r2c(), new VersionSuccessResponse('success', data));
1342
1311
  }
1343
1312
  function tagSuccessResponse(data) {
1344
- return Default_getInstance().f2a(Companion_instance_6.q2c(), new TagSuccessResponse('success', data));
1313
+ return Default_getInstance().g2a(Companion_instance_5.r2c(), new TagSuccessResponse('success', data));
1345
1314
  }
1346
1315
  function errorResponse(message, code) {
1347
- return Default_getInstance().f2a(Companion_instance_5.q2c(), new ErrorResponse('error', message, code));
1316
+ return Default_getInstance().g2a(Companion_instance_4.r2c(), new ErrorResponse('error', message, code));
1348
1317
  }
1349
1318
  function main_0(args) {
1350
1319
  return main(cli(), platformArgCorrection(args));
@@ -1357,11 +1326,11 @@
1357
1326
  }
1358
1327
  function _get_gitRepoArgument__zxde8_0($this) {
1359
1328
  var tmp = KProperty1;
1360
- return $this.w2q_1.k1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1329
+ return $this.w2q_1.l1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1361
1330
  }
1362
1331
  function _get_gitRepoOption__rk7ta0_0($this) {
1363
1332
  var tmp = KProperty1;
1364
- return $this.x2q_1.k1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1333
+ return $this.x2q_1.l1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1365
1334
  }
1366
1335
  function _get_workingDirectory__eyfbj_0($this) {
1367
1336
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
@@ -1376,43 +1345,27 @@
1376
1345
  }
1377
1346
  function _get_releaseBranch__pqrgbs_0($this) {
1378
1347
  var tmp = KProperty1;
1379
- return $this.y2q_1.k1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1348
+ return $this.y2q_1.l1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1380
1349
  }
1381
1350
  function _get_version__2bx7w9($this) {
1382
1351
  var tmp = KProperty1;
1383
- return $this.z2q_1.k1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1352
+ return $this.z2q_1.l1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1384
1353
  }
1385
1354
  function _get_userName__tupjmd($this) {
1386
1355
  var tmp = KProperty1;
1387
- return $this.a2r_1.k1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1356
+ return $this.a2r_1.l1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1388
1357
  }
1389
1358
  function _get_userEmail__21hfkw($this) {
1390
1359
  var tmp = KProperty1;
1391
- return $this.b2r_1.k1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1360
+ return $this.b2r_1.l1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1392
1361
  }
1393
1362
  function _get_warningsAsErrors__7mpwfd($this) {
1394
1363
  var tmp = KProperty1;
1395
- return $this.c2r_1.k1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1396
- }
1397
- function _get_formatString__ciw4gt_0($this) {
1398
- var tmp = KProperty1;
1399
- return $this.d2r_1.k1m($this, getPropertyCallableRef('formatString', 1, tmp, Tag$_get_formatString_$ref_izm3wc_0(), null));
1364
+ return $this.c2r_1.l1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1400
1365
  }
1401
1366
  function _get_format__qlarck_0($this) {
1402
- var tmp;
1403
- try {
1404
- tmp = Companion_instance_2.r2n(_get_formatString__ciw4gt_0($this));
1405
- } catch ($p) {
1406
- var tmp_0;
1407
- if ($p instanceof IllegalArgumentException) {
1408
- var e = $p;
1409
- var tmp0_elvis_lhs = e.message;
1410
- throw new CliktError(tmp0_elvis_lhs == null ? 'Invalid format' : tmp0_elvis_lhs);
1411
- } else {
1412
- throw $p;
1413
- }
1414
- }
1415
- return tmp;
1367
+ var tmp = KProperty1;
1368
+ return $this.d2r_1.l1m($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
1416
1369
  }
1417
1370
  function Tag$lambda($this$context) {
1418
1371
  $this$context.r1c([new ConfigFileSource($this$context.n1c_1)]);
@@ -1488,14 +1441,14 @@
1488
1441
  return _get_warningsAsErrors__7mpwfd(p0);
1489
1442
  };
1490
1443
  }
1491
- function Tag$_get_formatString_$ref_izm3wc() {
1444
+ function Tag$_get_format_$ref_i96vgt() {
1492
1445
  return function (p0) {
1493
- return _get_formatString__ciw4gt_0(p0);
1446
+ return _get_format__qlarck_0(p0);
1494
1447
  };
1495
1448
  }
1496
- function Tag$_get_formatString_$ref_izm3wc_0() {
1449
+ function Tag$_get_format_$ref_i96vgt_0() {
1497
1450
  return function (p0) {
1498
- return _get_formatString__ciw4gt_0(p0);
1451
+ return _get_format__qlarck_0(p0);
1499
1452
  };
1500
1453
  }
1501
1454
  function Tag() {
@@ -1504,35 +1457,54 @@
1504
1457
  var tmp = this;
1505
1458
  var tmp_0 = optional(argument(this, 'git-repo'));
1506
1459
  var tmp_1 = KProperty1;
1507
- tmp.w2q_1 = tmp_0.q1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1460
+ tmp.w2q_1 = tmp_0.r1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1508
1461
  var tmp_2 = this;
1509
1462
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
1510
1463
  var tmp_4 = KProperty1;
1511
- tmp_2.x2q_1 = tmp_3.u1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1464
+ tmp_2.x2q_1 = tmp_3.v1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1512
1465
  var tmp_5 = this;
1513
1466
  var tmp_6 = required(option(this, []));
1514
1467
  var tmp_7 = KProperty1;
1515
- tmp_5.y2q_1 = tmp_6.u1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1468
+ tmp_5.y2q_1 = tmp_6.v1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1516
1469
  var tmp_8 = this;
1517
1470
  var tmp_9 = required(option(this, []));
1518
1471
  var tmp_10 = KProperty1;
1519
- tmp_8.z2q_1 = tmp_9.u1m(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1472
+ tmp_8.z2q_1 = tmp_9.v1m(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1520
1473
  var tmp_11 = this;
1521
1474
  var tmp_12 = option(this, []);
1522
1475
  var tmp_13 = KProperty1;
1523
- tmp_11.a2r_1 = tmp_12.u1m(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1476
+ tmp_11.a2r_1 = tmp_12.v1m(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1524
1477
  var tmp_14 = this;
1525
1478
  var tmp_15 = option(this, []);
1526
1479
  var tmp_16 = KProperty1;
1527
- tmp_14.b2r_1 = tmp_15.u1m(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1480
+ tmp_14.b2r_1 = tmp_15.v1m(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1528
1481
  var tmp_17 = this;
1529
1482
  var tmp_18 = default_0(boolean(option(this, [])), false);
1530
1483
  var tmp_19 = KProperty1;
1531
- tmp_17.c2r_1 = tmp_18.u1m(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1484
+ tmp_17.c2r_1 = tmp_18.v1m(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1532
1485
  var tmp_20 = this;
1533
- var tmp_21 = default_0(option(this, ['--format']), 'text');
1486
+ // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
1487
+ var this_0 = option(this, ['--format'], 'Output format: text (default) or json');
1488
+ // Inline function 'kotlin.enumValues' call
1489
+ // Inline function 'kotlin.collections.associateBy' call
1490
+ var this_1 = values();
1491
+ var capacity = coerceAtLeast(mapCapacity(this_1.length), 16);
1492
+ // Inline function 'kotlin.collections.associateByTo' call
1493
+ var destination = LinkedHashMap_init_$Create$(capacity);
1494
+ var inductionVariable = 0;
1495
+ var last = this_1.length;
1496
+ while (inductionVariable < last) {
1497
+ var element = this_1[inductionVariable];
1498
+ inductionVariable = inductionVariable + 1 | 0;
1499
+ // Inline function 'kotlin.text.lowercase' call
1500
+ // Inline function 'kotlin.js.asDynamic' call
1501
+ var tmp$ret$4 = element.x2_1.toLowerCase();
1502
+ destination.p2(tmp$ret$4, element);
1503
+ }
1504
+ var tmp$ret$0 = choice(this_0, destination, VOID, true);
1505
+ var tmp_21 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
1534
1506
  var tmp_22 = KProperty1;
1535
- tmp_20.d2r_1 = tmp_21.u1m(this, getPropertyCallableRef('formatString', 1, tmp_22, Tag$_get_formatString_$ref_izm3wc(), null));
1507
+ tmp_20.d2r_1 = tmp_21.v1m(this, getPropertyCallableRef('format', 1, tmp_22, Tag$_get_format_$ref_i96vgt(), null));
1536
1508
  }
1537
1509
  protoOf(Tag).k1d = function () {
1538
1510
  // Inline function 'kotlin.let' call
@@ -1575,7 +1547,7 @@
1575
1547
  };
1576
1548
  function _get_quiet__c6dzoj($this) {
1577
1549
  var tmp = KProperty1;
1578
- return $this.t2r_1.k1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1550
+ return $this.t2r_1.l1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1579
1551
  }
1580
1552
  function Tagger$lambda($version, $this) {
1581
1553
  return function ($this$eagerOption) {
@@ -1597,14 +1569,14 @@
1597
1569
  function Tagger() {
1598
1570
  CliktCommand.call(this);
1599
1571
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
1600
- var version = Versions_instance.q2n_1;
1572
+ var version = Versions_instance.r2n_1;
1601
1573
  var help = 'Show the version and exit';
1602
1574
  var names = setOf('--version');
1603
1575
  eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
1604
1576
  var tmp = this;
1605
- var tmp_0 = flag(option(this, ['--quiet', '-q']), [], false);
1577
+ var tmp_0 = flag(option(this, ['--quiet', '-q'], 'Suppress welcome message. Version goes to stdout, diagnostics to stderr (safe for: VERSION=$(tagger -q ...))'), [], false);
1606
1578
  var tmp_1 = KProperty1;
1607
- tmp.t2r_1 = tmp_0.u1m(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1579
+ tmp.t2r_1 = tmp_0.v1m(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1608
1580
  }
1609
1581
  protoOf(Tagger).k1d = function () {
1610
1582
  if (!_get_quiet__c6dzoj(this) && this.f19().s1c() == null) {
@@ -1621,10 +1593,9 @@
1621
1593
  //region block: init
1622
1594
  Versions_instance = new Versions();
1623
1595
  Companion_instance_2 = new Companion();
1624
- Companion_instance_3 = new Companion_0();
1596
+ Companion_instance_4 = new Companion_1();
1625
1597
  Companion_instance_5 = new Companion_2();
1626
1598
  Companion_instance_6 = new Companion_3();
1627
- Companion_instance_7 = new Companion_4();
1628
1599
  //endregion
1629
1600
  mainWrapper();
1630
1601
  return _;