git-semver-tagger 1.11.0 → 1.12.0

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.
@@ -121,7 +121,7 @@
121
121
  initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
122
122
  //endregion
123
123
  function Versions() {
124
- this.a2o_1 = '1.11.0';
124
+ this.b2o_1 = '1.12.0';
125
125
  }
126
126
  var Versions_instance;
127
127
  function Versions_getInstance() {
@@ -145,11 +145,11 @@
145
145
  }
146
146
  function _get_gitRepoArgument__zxde8($this) {
147
147
  var tmp = KProperty1;
148
- return $this.q2o_1.u1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
148
+ return $this.r2o_1.v1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
149
149
  }
150
150
  function _get_gitRepoOption__rk7ta0($this) {
151
151
  var tmp = KProperty1;
152
- return $this.r2o_1.u1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
152
+ return $this.s2o_1.v1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
153
153
  }
154
154
  function _get_workingDirectory__eyfbj($this) {
155
155
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
@@ -164,15 +164,15 @@
164
164
  }
165
165
  function _get_implicitPatch__bjk4pa($this) {
166
166
  var tmp = KProperty1;
167
- return $this.s2o_1.u1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
167
+ return $this.t2o_1.v1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
168
168
  }
169
169
  function _get_disableDetachedDeprecated__wab4kc($this) {
170
170
  var tmp = KProperty1;
171
- return $this.t2o_1.u1m($this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3_0(), null));
171
+ return $this.u2o_1.v1m($this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3_0(), null));
172
172
  }
173
173
  function _get_allowDetachedHead__iyebhm($this) {
174
174
  var tmp = KProperty1;
175
- return $this.u2o_1.u1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al_0(), null));
175
+ return $this.v2o_1.v1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al_0(), null));
176
176
  }
177
177
  function _get_disableDetached__ys8kbb($this) {
178
178
  var tmp0_safe_receiver = _get_allowDetachedHead__iyebhm($this);
@@ -189,44 +189,50 @@
189
189
  }
190
190
  function _get_forceSnapshot__vb3h7m($this) {
191
191
  var tmp = KProperty1;
192
- return $this.v2o_1.u1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
192
+ return $this.w2o_1.v1m($this, getPropertyCallableRef('forceSnapshot', 1, tmp, CalculateVersion$_get_forceSnapshot_$ref_8rl68v_0(), null));
193
193
  }
194
194
  function _get_releaseBranch__pqrgbs($this) {
195
195
  var tmp = KProperty1;
196
- return $this.w2o_1.u1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
196
+ return $this.x2o_1.v1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
197
197
  }
198
198
  function _get_format__qlarck($this) {
199
199
  var tmp = KProperty1;
200
- return $this.x2o_1.u1m($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
200
+ return $this.y2o_1.v1m($this, getPropertyCallableRef('format', 1, tmp, CalculateVersion$_get_format_$ref_clhcb9_0(), null));
201
201
  }
202
202
  function _get_majorRegex__5j6ypp($this) {
203
203
  var tmp = KProperty1;
204
- return $this.y2o_1.u1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
204
+ return $this.z2o_1.v1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
205
205
  }
206
206
  function _get_minorRegex__20z96h($this) {
207
207
  var tmp = KProperty1;
208
- return $this.z2o_1.u1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
208
+ return $this.a2p_1.v1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
209
209
  }
210
210
  function _get_patchRegex__mtlu2c($this) {
211
211
  var tmp = KProperty1;
212
- return $this.a2p_1.u1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
212
+ return $this.b2p_1.v1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
213
213
  }
214
214
  function _get_noneRegex__1tdbgi($this) {
215
215
  var tmp = KProperty1;
216
- return $this.b2p_1.u1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
216
+ return $this.c2p_1.v1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
217
217
  }
218
218
  function _get_versionRegex__7su5ss($this) {
219
219
  var tmp = KProperty1;
220
- return $this.c2p_1.u1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
220
+ return $this.d2p_1.v1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
221
221
  }
222
- function output($this, message, errorMessage) {
223
- $this.g1c(message);
222
+ function output($this, message, errorMessage, warnings) {
223
+ $this.h1c(message);
224
224
  // Inline function 'kotlin.collections.isNotEmpty' call
225
225
  if (!errorMessage.p()) {
226
- $this.g1c(errorMessage, VOID, true);
226
+ $this.h1c(errorMessage, VOID, true);
227
+ }
228
+ // Inline function 'kotlin.collections.forEach' call
229
+ var _iterator__ex2g4s = warnings.r();
230
+ while (_iterator__ex2g4s.s()) {
231
+ var element = _iterator__ex2g4s.t();
232
+ $this.h1c(element, VOID, true);
227
233
  }
228
234
  }
229
- function outputJson($this, version, snapshotReasons) {
235
+ function outputJson($this, version, snapshotReasons, warnings) {
230
236
  var isSnapshot = endsWith(version, '-SNAPSHOT');
231
237
  // Inline function 'kotlin.collections.map' call
232
238
  // Inline function 'kotlin.collections.mapTo' call
@@ -237,8 +243,8 @@
237
243
  var tmp$ret$2 = item.toString();
238
244
  destination.v(tmp$ret$2);
239
245
  }
240
- var jsonOutput = versionSuccessResponse(new VersionData(version, isSnapshot, destination));
241
- $this.g1c(jsonOutput);
246
+ var jsonOutput = versionSuccessResponse(new VersionData(version, isSnapshot, destination, warnings));
247
+ $this.h1c(jsonOutput);
242
248
  }
243
249
  function versionRegex($this) {
244
250
  var tmp = Regex_init_$Create$(_get_noneRegex__1tdbgi($this), RegexOption_IGNORE_CASE_getInstance());
@@ -256,7 +262,7 @@
256
262
  return new VersionRegex(tmp, tmp_0, tmp_1, tmp_2, tmp_3);
257
263
  }
258
264
  function CalculateVersion$lambda($this$context) {
259
- $this$context.a1d([new ConfigFileSource($this$context.w1c_1)]);
265
+ $this$context.b1d([new ConfigFileSource($this$context.x1c_1)]);
260
266
  return Unit_instance;
261
267
  }
262
268
  function CalculateVersion$_get_gitRepoArgument_$ref_ekksr7() {
@@ -386,7 +392,7 @@
386
392
  // Inline function 'com.github.ajalt.clikt.parameters.options.OptionTransformContext.require' call
387
393
  if (!$tmp4_check_this.jo(it)) {
388
394
  var tmp$ret$3 = $message;
389
- $this$copy.d1m(tmp$ret$3);
395
+ $this$copy.e1m(tmp$ret$3);
390
396
  }
391
397
  tmp = Unit_instance;
392
398
  }
@@ -409,31 +415,31 @@
409
415
  var tmp = this;
410
416
  var tmp_0 = optional(argument(this, 'git-repo'));
411
417
  var tmp_1 = KProperty1;
412
- tmp.q2o_1 = tmp_0.a1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
418
+ tmp.r2o_1 = tmp_0.b1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
413
419
  var tmp_2 = this;
414
420
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
415
421
  var tmp_4 = KProperty1;
416
- tmp_2.r2o_1 = tmp_3.e1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
422
+ tmp_2.s2o_1 = tmp_3.f1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
417
423
  var tmp_5 = this;
418
424
  var tmp_6 = default_0(boolean(option(this, [])), true);
419
425
  var tmp_7 = KProperty1;
420
- tmp_5.s2o_1 = tmp_6.e1n(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
426
+ tmp_5.t2o_1 = tmp_6.f1n(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
421
427
  var tmp_8 = this;
422
428
  var tmp_9 = boolean(option(this, ['--disable-detached'], VOID, VOID, true));
423
429
  var tmp_10 = KProperty1;
424
- tmp_8.t2o_1 = tmp_9.e1n(this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp_10, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3(), null));
430
+ tmp_8.u2o_1 = tmp_9.f1n(this, getPropertyCallableRef('disableDetachedDeprecated', 1, tmp_10, CalculateVersion$_get_disableDetachedDeprecated_$ref_ej45b3(), null));
425
431
  var tmp_11 = this;
426
432
  var tmp_12 = boolean(option(this, ['--allow-detached-head']));
427
433
  var tmp_13 = KProperty1;
428
- tmp_11.u2o_1 = tmp_12.e1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_13, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al(), null));
434
+ tmp_11.v2o_1 = tmp_12.f1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_13, CalculateVersion$_get_allowDetachedHead_$ref_f6r7al(), null));
429
435
  var tmp_14 = this;
430
436
  var tmp_15 = default_0(boolean(option(this, [])), false);
431
437
  var tmp_16 = KProperty1;
432
- tmp_14.v2o_1 = tmp_15.e1n(this, getPropertyCallableRef('forceSnapshot', 1, tmp_16, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
438
+ tmp_14.w2o_1 = tmp_15.f1n(this, getPropertyCallableRef('forceSnapshot', 1, tmp_16, CalculateVersion$_get_forceSnapshot_$ref_8rl68v(), null));
433
439
  var tmp_17 = this;
434
440
  var tmp_18 = option(this, []);
435
441
  var tmp_19 = KProperty1;
436
- tmp_17.w2o_1 = tmp_18.e1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_19, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
442
+ tmp_17.x2o_1 = tmp_18.f1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_19, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
437
443
  var tmp_20 = this;
438
444
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
439
445
  var this_0 = option(this, ['--format'], 'Output format (default: text). Use json for structured data with version, snapshot status, and diagnostic flags.');
@@ -456,37 +462,37 @@
456
462
  var tmp$ret$0 = choice(this_0, destination, VOID, true);
457
463
  var tmp_21 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
458
464
  var tmp_22 = KProperty1;
459
- tmp_20.x2o_1 = tmp_21.e1n(this, getPropertyCallableRef('format', 1, tmp_22, CalculateVersion$_get_format_$ref_clhcb9(), null));
465
+ tmp_20.y2o_1 = tmp_21.f1n(this, getPropertyCallableRef('format', 1, tmp_22, CalculateVersion$_get_format_$ref_clhcb9(), null));
460
466
  var tmp_23 = this;
461
467
  var tmp_24 = default_0(option(this, []), Defaults_getInstance().ho_1.tb_1);
462
468
  var tmp_25 = KProperty1;
463
- tmp_23.y2o_1 = tmp_24.e1n(this, getPropertyCallableRef('majorRegex', 1, tmp_25, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
469
+ tmp_23.z2o_1 = tmp_24.f1n(this, getPropertyCallableRef('majorRegex', 1, tmp_25, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
464
470
  var tmp_26 = this;
465
471
  var tmp_27 = default_0(option(this, []), Defaults_getInstance().go_1.tb_1);
466
472
  var tmp_28 = KProperty1;
467
- tmp_26.z2o_1 = tmp_27.e1n(this, getPropertyCallableRef('minorRegex', 1, tmp_28, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
473
+ tmp_26.a2p_1 = tmp_27.f1n(this, getPropertyCallableRef('minorRegex', 1, tmp_28, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
468
474
  var tmp_29 = this;
469
475
  var tmp_30 = default_0(option(this, []), Defaults_getInstance().fo_1.tb_1);
470
476
  var tmp_31 = KProperty1;
471
- tmp_29.a2p_1 = tmp_30.e1n(this, getPropertyCallableRef('patchRegex', 1, tmp_31, CalculateVersion$_get_patchRegex_$ref_124637(), null));
477
+ tmp_29.b2p_1 = tmp_30.f1n(this, getPropertyCallableRef('patchRegex', 1, tmp_31, CalculateVersion$_get_patchRegex_$ref_124637(), null));
472
478
  var tmp_32 = this;
473
479
  var tmp_33 = default_0(option(this, []), Defaults_getInstance().eo_1.tb_1);
474
480
  var tmp_34 = KProperty1;
475
- tmp_32.b2p_1 = tmp_33.e1n(this, getPropertyCallableRef('noneRegex', 1, tmp_34, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
481
+ tmp_32.c2p_1 = tmp_33.f1n(this, getPropertyCallableRef('noneRegex', 1, tmp_34, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
476
482
  var tmp_35 = this;
477
483
  var tmp0 = option(this, []);
478
484
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
479
485
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
480
486
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
481
487
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
482
- var tmp_36 = tmp0.v1l();
483
- var tmp_37 = tmp0.x1m();
484
- var tmp_38 = tmp0.w1l();
485
- var tmp_39 = tmp0.y1m(tmp_36, tmp_37, tmp_38, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
488
+ var tmp_36 = tmp0.w1l();
489
+ var tmp_37 = tmp0.y1m();
490
+ var tmp_38 = tmp0.x1l();
491
+ var tmp_39 = tmp0.z1m(tmp_36, tmp_37, tmp_38, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
486
492
  var tmp_40 = KProperty1;
487
- tmp_35.c2p_1 = tmp_39.e1n(this, getPropertyCallableRef('versionRegex', 1, tmp_40, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
493
+ tmp_35.d2p_1 = tmp_39.f1n(this, getPropertyCallableRef('versionRegex', 1, tmp_40, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
488
494
  }
489
- protoOf(CalculateVersion).t1d = function () {
495
+ protoOf(CalculateVersion).u1d = function () {
490
496
  var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
491
497
  var tmp_0 = _get_implicitPatch__bjk4pa(this);
492
498
  var tmp_1 = _get_disableDetached__ys8kbb(this);
@@ -498,10 +504,10 @@
498
504
  if ($this$run instanceof Success) {
499
505
  switch (_get_format__qlarck(this).y2_1) {
500
506
  case 1:
501
- outputJson(this, $this$run.ko_1, $this$run.lo_1);
507
+ outputJson(this, $this$run.ko_1, $this$run.lo_1, $this$run.mo_1);
502
508
  break;
503
509
  case 0:
504
- output(this, $this$run.ko_1, $this$run.lo_1);
510
+ output(this, $this$run.ko_1, $this$run.lo_1, $this$run.mo_1);
505
511
  break;
506
512
  default:
507
513
  noWhenBranchMatchedException();
@@ -511,7 +517,7 @@
511
517
  if ($this$run instanceof Failure) {
512
518
  switch (_get_format__qlarck(this).y2_1) {
513
519
  case 1:
514
- this.g1c(errorResponse($this$run.ba(), 'CONFIGURATION_ERROR'));
520
+ this.h1c(errorResponse($this$run.ba(), 'CONFIGURATION_ERROR'));
515
521
  throw new CliktError('', VOID, 1, false);
516
522
  case 0:
517
523
  throw new CliktError($this$run.ba());
@@ -553,12 +559,12 @@
553
559
  var _iterator__ex2g4s_0 = this_0.r();
554
560
  while (_iterator__ex2g4s_0.s()) {
555
561
  var item = _iterator__ex2g4s_0.t();
556
- var tmp$ret$2 = Companion_instance_0.w1r(get_jsonPrimitive(item).y2c());
562
+ var tmp$ret$2 = Companion_instance_0.x1r(get_jsonPrimitive(item).z2c());
557
563
  destination.v(tmp$ret$2);
558
564
  }
559
565
  return destination;
560
566
  }
561
- return Companion_instance_0.v1r(get_jsonPrimitive(cursor).y2c());
567
+ return Companion_instance_0.w1r(get_jsonPrimitive(cursor).z2c());
562
568
  } catch ($p) {
563
569
  if ($p instanceof IllegalArgumentException) {
564
570
  var _unused_var__etf5q3 = $p;
@@ -569,9 +575,9 @@
569
575
  }
570
576
  }
571
577
  function parts($this, $receiver) {
572
- var tmp0_safe_receiver = $receiver.h1e();
578
+ var tmp0_safe_receiver = $receiver.i1e();
573
579
  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.x1r($receiver))) : tmp1_elvis_lhs;
580
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.y1r($receiver))) : tmp1_elvis_lhs;
575
581
  }
576
582
  function kebabToCamelCase($this, $receiver) {
577
583
  // Inline function 'kotlin.text.toRegex' call
@@ -581,7 +587,7 @@
581
587
  return pattern.lc($receiver, transform);
582
588
  }
583
589
  function readConfigFileAsJsonElement($this) {
584
- var pwd = $this.d2p_1('PWD');
590
+ var pwd = $this.e2p_1('PWD');
585
591
  var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
586
592
  var tmp;
587
593
  if (tmp0_elvis_lhs == null) {
@@ -593,19 +599,19 @@
593
599
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
594
600
  var this_0 = Default_getInstance();
595
601
  // Inline function 'kotlinx.serialization.serializer' call
596
- var this_1 = this_0.as();
602
+ var this_1 = this_0.bs();
597
603
  // Inline function 'kotlinx.serialization.internal.cast' call
598
604
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
599
605
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
600
- var config = this_0.q2a(tmp$ret$1, fileContents);
606
+ var config = this_0.r2a(tmp$ret$1, fileContents);
601
607
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
602
608
  var this_3 = Default_getInstance();
603
609
  // Inline function 'kotlinx.serialization.serializer' call
604
- var this_4 = this_3.as();
610
+ var this_4 = this_3.bs();
605
611
  // Inline function 'kotlinx.serialization.internal.cast' call
606
612
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
607
613
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
608
- var configAsElement = this_3.r2a(tmp$ret$4, config);
614
+ var configAsElement = this_3.s2a(tmp$ret$4, config);
609
615
  return configAsElement;
610
616
  }
611
617
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
@@ -616,9 +622,9 @@
616
622
  return toString(this_0).toUpperCase();
617
623
  }
618
624
  function ConfigFileSource(envvarReader) {
619
- this.d2p_1 = envvarReader;
625
+ this.e2p_1 = envvarReader;
620
626
  }
621
- protoOf(ConfigFileSource).g1n = function (context, option) {
627
+ protoOf(ConfigFileSource).h1n = function (context, option) {
622
628
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
623
629
  var tmp;
624
630
  if (tmp0_elvis_lhs == null) {
@@ -631,11 +637,11 @@
631
637
  };
632
638
  function _get_file__d6iv67($this) {
633
639
  var tmp = KProperty1;
634
- return $this.t2p_1.u1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
640
+ return $this.u2p_1.v1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
635
641
  }
636
642
  function _get_merge__eb7eqv($this) {
637
643
  var tmp = KProperty1;
638
- return $this.u2p_1.u1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
644
+ return $this.v2p_1.v1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
639
645
  }
640
646
  function mergeJson($this, defaultConfig, originalData) {
641
647
  // Inline function 'kotlinx.serialization.json.buildJsonObject' call
@@ -658,9 +664,9 @@
658
664
  } else {
659
665
  tmp = value;
660
666
  }
661
- builder.g2d(key, tmp);
667
+ builder.h2d(key, tmp);
662
668
  }
663
- var mergeData = builder.a2c();
669
+ var mergeData = builder.b2c();
664
670
  return mergeData;
665
671
  }
666
672
  function GenerateSettingsFile$_get_file_$ref_3dvoj2() {
@@ -684,8 +690,8 @@
684
690
  };
685
691
  }
686
692
  function GenerateSettingsFile$run$lambda($this$Json) {
687
- $this$Json.m2b_1 = true;
688
- $this$Json.i2b_1 = true;
693
+ $this$Json.n2b_1 = true;
694
+ $this$Json.j2b_1 = true;
689
695
  return Unit_instance;
690
696
  }
691
697
  function GenerateSettingsFile() {
@@ -693,22 +699,22 @@
693
699
  var tmp = this;
694
700
  var tmp_0 = option(this, []);
695
701
  var tmp_1 = KProperty1;
696
- tmp.t2p_1 = tmp_0.e1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
702
+ tmp.u2p_1 = tmp_0.f1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
697
703
  var tmp_2 = this;
698
704
  var tmp_3 = boolean(option(this, []));
699
705
  var tmp_4 = KProperty1;
700
- tmp_2.u2p_1 = tmp_3.e1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
706
+ tmp_2.v2p_1 = tmp_3.f1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
701
707
  }
702
- protoOf(GenerateSettingsFile).t1d = function () {
708
+ protoOf(GenerateSettingsFile).u1d = function () {
703
709
  var prettyJsonFormatter = Json(VOID, GenerateSettingsFile$run$lambda);
704
710
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
705
711
  var value = get_runtimeDefaultConfig();
706
712
  // Inline function 'kotlinx.serialization.serializer' call
707
- var this_0 = prettyJsonFormatter.as();
713
+ var this_0 = prettyJsonFormatter.bs();
708
714
  // Inline function 'kotlinx.serialization.internal.cast' call
709
715
  var this_1 = serializer(this_0, createKType(getKClass(TaggerConfig), arrayOf([]), false));
710
716
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
711
- var defaultConfig = prettyJsonFormatter.r2a(tmp$ret$1, value);
717
+ var defaultConfig = prettyJsonFormatter.s2a(tmp$ret$1, value);
712
718
  // Inline function 'kotlin.text.orEmpty' call
713
719
  var tmp0_elvis_lhs = _get_file__d6iv67(this);
714
720
  // Inline function 'kotlin.text.ifBlank' call
@@ -720,14 +726,14 @@
720
726
  tmp = this_2;
721
727
  }
722
728
  var fileName = tmp;
723
- var pwd = this.o19().f1a_1('PWD');
729
+ var pwd = this.p19().g1a_1('PWD');
724
730
  var settingsFile = '' + pwd + '/' + fileName;
725
731
  var existingFileData = readFromFile(settingsFile);
726
732
  var tmp_0;
727
733
  if (!(existingFileData == null)) {
728
734
  var tmp_1;
729
735
  if (_get_merge__eb7eqv(this) === true) {
730
- var originalData = prettyJsonFormatter.s2a(existingFileData);
736
+ var originalData = prettyJsonFormatter.t2a(existingFileData);
731
737
  tmp_1 = mergeJson(this, defaultConfig, originalData);
732
738
  } else {
733
739
  throw new CliktError('File already exists.');
@@ -740,27 +746,27 @@
740
746
  if (_get_file__d6iv67(this) == null) {
741
747
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
742
748
  // Inline function 'kotlinx.serialization.serializer' call
743
- var this_3 = prettyJsonFormatter.as();
749
+ var this_3 = prettyJsonFormatter.bs();
744
750
  // Inline function 'kotlinx.serialization.internal.cast' call
745
751
  var this_4 = serializer(this_3, createKType(getKClass(JsonElement), arrayOf([]), false));
746
752
  var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
747
- var tmp$ret$6 = prettyJsonFormatter.p2a(tmp$ret$7, outputConfig);
748
- this.g1c(tmp$ret$6);
753
+ var tmp$ret$6 = prettyJsonFormatter.q2a(tmp$ret$7, outputConfig);
754
+ this.h1c(tmp$ret$6);
749
755
  } else {
750
756
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
751
757
  // Inline function 'kotlinx.serialization.serializer' call
752
- var this_5 = prettyJsonFormatter.as();
758
+ var this_5 = prettyJsonFormatter.bs();
753
759
  // Inline function 'kotlinx.serialization.internal.cast' call
754
760
  var this_6 = serializer(this_5, createKType(getKClass(JsonElement), arrayOf([]), false));
755
761
  var tmp$ret$10 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
756
- var tmp$ret$9 = prettyJsonFormatter.p2a(tmp$ret$10, outputConfig);
762
+ var tmp$ret$9 = prettyJsonFormatter.q2a(tmp$ret$10, outputConfig);
757
763
  writeToFile(tmp$ret$9, settingsFile);
758
- this.g1c('Saved to ' + fileName);
764
+ this.h1c('Saved to ' + fileName);
759
765
  }
760
766
  };
761
767
  function Companion() {
762
768
  }
763
- protoOf(Companion).a2d = function () {
769
+ protoOf(Companion).b2d = function () {
764
770
  return $serializer_getInstance();
765
771
  };
766
772
  var Companion_instance_2;
@@ -770,59 +776,59 @@
770
776
  function $serializer() {
771
777
  $serializer_instance = this;
772
778
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionSuccessResponse', this, 2);
773
- tmp0_serialDesc.uy('status', false);
774
- tmp0_serialDesc.uy('data', false);
775
- this.v2p_1 = tmp0_serialDesc;
776
- }
777
- protoOf($serializer).w2p = function (encoder, value) {
778
- var tmp0_desc = this.v2p_1;
779
- var tmp1_output = encoder.lr(tmp0_desc);
780
- tmp1_output.zs(tmp0_desc, 0, value.x2p_1);
781
- tmp1_output.bt(tmp0_desc, 1, $serializer_getInstance_0(), value.y2p_1);
782
- tmp1_output.mr(tmp0_desc);
779
+ tmp0_serialDesc.vy('status', false);
780
+ tmp0_serialDesc.vy('data', false);
781
+ this.w2p_1 = tmp0_serialDesc;
782
+ }
783
+ protoOf($serializer).x2p = function (encoder, value) {
784
+ var tmp0_desc = this.w2p_1;
785
+ var tmp1_output = encoder.mr(tmp0_desc);
786
+ tmp1_output.at(tmp0_desc, 0, value.y2p_1);
787
+ tmp1_output.ct(tmp0_desc, 1, $serializer_getInstance_0(), value.z2p_1);
788
+ tmp1_output.nr(tmp0_desc);
783
789
  };
784
- protoOf($serializer).po = function (encoder, value) {
785
- return this.w2p(encoder, value instanceof VersionSuccessResponse ? value : THROW_CCE());
790
+ protoOf($serializer).qo = function (encoder, value) {
791
+ return this.x2p(encoder, value instanceof VersionSuccessResponse ? value : THROW_CCE());
786
792
  };
787
- protoOf($serializer).qo = function (decoder) {
788
- var tmp0_desc = this.v2p_1;
793
+ protoOf($serializer).ro = function (decoder) {
794
+ var tmp0_desc = this.w2p_1;
789
795
  var tmp1_flag = true;
790
796
  var tmp2_index = 0;
791
797
  var tmp3_bitMask0 = 0;
792
798
  var tmp4_local0 = null;
793
799
  var tmp5_local1 = null;
794
- var tmp6_input = decoder.lr(tmp0_desc);
795
- if (tmp6_input.bs()) {
796
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
800
+ var tmp6_input = decoder.mr(tmp0_desc);
801
+ if (tmp6_input.cs()) {
802
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
797
803
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
798
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
804
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
799
805
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
800
806
  } else
801
807
  while (tmp1_flag) {
802
- tmp2_index = tmp6_input.cs(tmp0_desc);
808
+ tmp2_index = tmp6_input.ds(tmp0_desc);
803
809
  switch (tmp2_index) {
804
810
  case -1:
805
811
  tmp1_flag = false;
806
812
  break;
807
813
  case 0:
808
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
814
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
809
815
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
810
816
  break;
811
817
  case 1:
812
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
818
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
813
819
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
814
820
  break;
815
821
  default:
816
822
  throw UnknownFieldException_init_$Create$(tmp2_index);
817
823
  }
818
824
  }
819
- tmp6_input.mr(tmp0_desc);
825
+ tmp6_input.nr(tmp0_desc);
820
826
  return VersionSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
821
827
  };
822
- protoOf($serializer).oo = function () {
823
- return this.v2p_1;
828
+ protoOf($serializer).po = function () {
829
+ return this.w2p_1;
824
830
  };
825
- protoOf($serializer).wy = function () {
831
+ protoOf($serializer).xy = function () {
826
832
  // Inline function 'kotlin.arrayOf' call
827
833
  // Inline function 'kotlin.js.unsafeCast' call
828
834
  // Inline function 'kotlin.js.asDynamic' call
@@ -836,25 +842,25 @@
836
842
  }
837
843
  function VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
838
844
  if (!(3 === (3 & seen0))) {
839
- throwMissingFieldException(seen0, 3, $serializer_getInstance().v2p_1);
845
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().w2p_1);
840
846
  }
841
- $this.x2p_1 = status;
842
- $this.y2p_1 = data;
847
+ $this.y2p_1 = status;
848
+ $this.z2p_1 = data;
843
849
  return $this;
844
850
  }
845
851
  function VersionSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
846
852
  return VersionSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(VersionSuccessResponse)));
847
853
  }
848
854
  function VersionSuccessResponse(status, data) {
849
- this.x2p_1 = status;
850
- this.y2p_1 = data;
855
+ this.y2p_1 = status;
856
+ this.z2p_1 = data;
851
857
  }
852
858
  protoOf(VersionSuccessResponse).toString = function () {
853
- return 'VersionSuccessResponse(status=' + this.x2p_1 + ', data=' + this.y2p_1.toString() + ')';
859
+ return 'VersionSuccessResponse(status=' + this.y2p_1 + ', data=' + this.z2p_1.toString() + ')';
854
860
  };
855
861
  protoOf(VersionSuccessResponse).hashCode = function () {
856
- var result = getStringHashCode(this.x2p_1);
857
- result = imul(result, 31) + this.y2p_1.hashCode() | 0;
862
+ var result = getStringHashCode(this.y2p_1);
863
+ result = imul(result, 31) + this.z2p_1.hashCode() | 0;
858
864
  return result;
859
865
  };
860
866
  protoOf(VersionSuccessResponse).equals = function (other) {
@@ -862,23 +868,28 @@
862
868
  return true;
863
869
  if (!(other instanceof VersionSuccessResponse))
864
870
  return false;
865
- if (!(this.x2p_1 === other.x2p_1))
871
+ if (!(this.y2p_1 === other.y2p_1))
866
872
  return false;
867
- if (!this.y2p_1.equals(other.y2p_1))
873
+ if (!this.z2p_1.equals(other.z2p_1))
868
874
  return false;
869
875
  return true;
870
876
  };
871
877
  function VersionData$Companion$$childSerializers$_anonymous__gd9ivc() {
872
878
  return new ArrayListSerializer(StringSerializer_getInstance());
873
879
  }
880
+ function VersionData$Companion$$childSerializers$_anonymous__gd9ivc_0() {
881
+ return new ArrayListSerializer(StringSerializer_getInstance());
882
+ }
874
883
  function Companion_0() {
875
884
  Companion_instance_3 = this;
876
885
  var tmp = this;
877
886
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
887
+ var tmp_1 = lazy(tmp_0, VersionData$Companion$$childSerializers$_anonymous__gd9ivc);
888
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
878
889
  // Inline function 'kotlin.arrayOf' call
879
890
  // Inline function 'kotlin.js.unsafeCast' call
880
891
  // Inline function 'kotlin.js.asDynamic' call
881
- tmp.z2p_1 = [null, null, lazy(tmp_0, VersionData$Companion$$childSerializers$_anonymous__gd9ivc)];
892
+ tmp.a2q_1 = [null, null, tmp_1, lazy(tmp_2, VersionData$Companion$$childSerializers$_anonymous__gd9ivc_0)];
882
893
  }
883
894
  var Companion_instance_3;
884
895
  function Companion_getInstance_0() {
@@ -888,78 +899,89 @@
888
899
  }
889
900
  function $serializer_0() {
890
901
  $serializer_instance_0 = this;
891
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionData', this, 3);
892
- tmp0_serialDesc.uy('version', false);
893
- tmp0_serialDesc.uy('snapshot', false);
894
- tmp0_serialDesc.uy('snapshotReasons', true);
895
- this.a2q_1 = tmp0_serialDesc;
896
- }
897
- protoOf($serializer_0).b2q = function (encoder, value) {
898
- var tmp0_desc = this.a2q_1;
899
- var tmp1_output = encoder.lr(tmp0_desc);
900
- var tmp2_cached = Companion_getInstance_0().z2p_1;
901
- tmp1_output.zs(tmp0_desc, 0, value.c2q_1);
902
- tmp1_output.rs(tmp0_desc, 1, value.d2q_1);
903
- if (tmp1_output.ht(tmp0_desc, 2) ? true : !equals(value.e2q_1, emptyList())) {
904
- tmp1_output.bt(tmp0_desc, 2, tmp2_cached[2].m1(), value.e2q_1);
902
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.VersionData', this, 4);
903
+ tmp0_serialDesc.vy('version', false);
904
+ tmp0_serialDesc.vy('snapshot', false);
905
+ tmp0_serialDesc.vy('snapshotReasons', true);
906
+ tmp0_serialDesc.vy('warnings', true);
907
+ this.b2q_1 = tmp0_serialDesc;
908
+ }
909
+ protoOf($serializer_0).c2q = function (encoder, value) {
910
+ var tmp0_desc = this.b2q_1;
911
+ var tmp1_output = encoder.mr(tmp0_desc);
912
+ var tmp2_cached = Companion_getInstance_0().a2q_1;
913
+ tmp1_output.at(tmp0_desc, 0, value.d2q_1);
914
+ tmp1_output.ss(tmp0_desc, 1, value.e2q_1);
915
+ if (tmp1_output.it(tmp0_desc, 2) ? true : !equals(value.f2q_1, emptyList())) {
916
+ tmp1_output.ct(tmp0_desc, 2, tmp2_cached[2].m1(), value.f2q_1);
917
+ }
918
+ if (tmp1_output.it(tmp0_desc, 3) ? true : !equals(value.g2q_1, emptyList())) {
919
+ tmp1_output.ct(tmp0_desc, 3, tmp2_cached[3].m1(), value.g2q_1);
905
920
  }
906
- tmp1_output.mr(tmp0_desc);
921
+ tmp1_output.nr(tmp0_desc);
907
922
  };
908
- protoOf($serializer_0).po = function (encoder, value) {
909
- return this.b2q(encoder, value instanceof VersionData ? value : THROW_CCE());
923
+ protoOf($serializer_0).qo = function (encoder, value) {
924
+ return this.c2q(encoder, value instanceof VersionData ? value : THROW_CCE());
910
925
  };
911
- protoOf($serializer_0).qo = function (decoder) {
912
- var tmp0_desc = this.a2q_1;
926
+ protoOf($serializer_0).ro = function (decoder) {
927
+ var tmp0_desc = this.b2q_1;
913
928
  var tmp1_flag = true;
914
929
  var tmp2_index = 0;
915
930
  var tmp3_bitMask0 = 0;
916
931
  var tmp4_local0 = null;
917
932
  var tmp5_local1 = false;
918
933
  var tmp6_local2 = null;
919
- var tmp7_input = decoder.lr(tmp0_desc);
920
- var tmp8_cached = Companion_getInstance_0().z2p_1;
921
- if (tmp7_input.bs()) {
922
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
934
+ var tmp7_local3 = null;
935
+ var tmp8_input = decoder.mr(tmp0_desc);
936
+ var tmp9_cached = Companion_getInstance_0().a2q_1;
937
+ if (tmp8_input.cs()) {
938
+ tmp4_local0 = tmp8_input.wr(tmp0_desc, 0);
923
939
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
924
- tmp5_local1 = tmp7_input.nr(tmp0_desc, 1);
940
+ tmp5_local1 = tmp8_input.or(tmp0_desc, 1);
925
941
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
926
- tmp6_local2 = tmp7_input.xr(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
942
+ tmp6_local2 = tmp8_input.yr(tmp0_desc, 2, tmp9_cached[2].m1(), tmp6_local2);
927
943
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
944
+ tmp7_local3 = tmp8_input.yr(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
945
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
928
946
  } else
929
947
  while (tmp1_flag) {
930
- tmp2_index = tmp7_input.cs(tmp0_desc);
948
+ tmp2_index = tmp8_input.ds(tmp0_desc);
931
949
  switch (tmp2_index) {
932
950
  case -1:
933
951
  tmp1_flag = false;
934
952
  break;
935
953
  case 0:
936
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
954
+ tmp4_local0 = tmp8_input.wr(tmp0_desc, 0);
937
955
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
938
956
  break;
939
957
  case 1:
940
- tmp5_local1 = tmp7_input.nr(tmp0_desc, 1);
958
+ tmp5_local1 = tmp8_input.or(tmp0_desc, 1);
941
959
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
942
960
  break;
943
961
  case 2:
944
- tmp6_local2 = tmp7_input.xr(tmp0_desc, 2, tmp8_cached[2].m1(), tmp6_local2);
962
+ tmp6_local2 = tmp8_input.yr(tmp0_desc, 2, tmp9_cached[2].m1(), tmp6_local2);
945
963
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
946
964
  break;
965
+ case 3:
966
+ tmp7_local3 = tmp8_input.yr(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
967
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
968
+ break;
947
969
  default:
948
970
  throw UnknownFieldException_init_$Create$(tmp2_index);
949
971
  }
950
972
  }
951
- tmp7_input.mr(tmp0_desc);
952
- return VersionData_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
973
+ tmp8_input.nr(tmp0_desc);
974
+ return VersionData_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
953
975
  };
954
- protoOf($serializer_0).oo = function () {
955
- return this.a2q_1;
976
+ protoOf($serializer_0).po = function () {
977
+ return this.b2q_1;
956
978
  };
957
- protoOf($serializer_0).wy = function () {
958
- var tmp0_cached = Companion_getInstance_0().z2p_1;
979
+ protoOf($serializer_0).xy = function () {
980
+ var tmp0_cached = Companion_getInstance_0().a2q_1;
959
981
  // Inline function 'kotlin.arrayOf' call
960
982
  // Inline function 'kotlin.js.unsafeCast' call
961
983
  // Inline function 'kotlin.js.asDynamic' call
962
- return [StringSerializer_getInstance(), BooleanSerializer_getInstance(), tmp0_cached[2].m1()];
984
+ return [StringSerializer_getInstance(), BooleanSerializer_getInstance(), tmp0_cached[2].m1(), tmp0_cached[3].m1()];
963
985
  };
964
986
  var $serializer_instance_0;
965
987
  function $serializer_getInstance_0() {
@@ -967,35 +989,42 @@
967
989
  new $serializer_0();
968
990
  return $serializer_instance_0;
969
991
  }
970
- function VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker, $this) {
992
+ function VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker, $this) {
971
993
  if (!(3 === (3 & seen0))) {
972
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().a2q_1);
994
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().b2q_1);
973
995
  }
974
- $this.c2q_1 = version;
975
- $this.d2q_1 = snapshot;
996
+ $this.d2q_1 = version;
997
+ $this.e2q_1 = snapshot;
976
998
  if (0 === (seen0 & 4))
977
- $this.e2q_1 = emptyList();
999
+ $this.f2q_1 = emptyList();
1000
+ else
1001
+ $this.f2q_1 = snapshotReasons;
1002
+ if (0 === (seen0 & 8))
1003
+ $this.g2q_1 = emptyList();
978
1004
  else
979
- $this.e2q_1 = snapshotReasons;
1005
+ $this.g2q_1 = warnings;
980
1006
  return $this;
981
1007
  }
982
- function VersionData_init_$Create$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker) {
983
- return VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, serializationConstructorMarker, objectCreate(protoOf(VersionData)));
1008
+ function VersionData_init_$Create$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker) {
1009
+ return VersionData_init_$Init$(seen0, version, snapshot, snapshotReasons, warnings, serializationConstructorMarker, objectCreate(protoOf(VersionData)));
984
1010
  }
985
- function VersionData(version, snapshot, snapshotReasons) {
1011
+ function VersionData(version, snapshot, snapshotReasons, warnings) {
986
1012
  Companion_getInstance_0();
987
1013
  snapshotReasons = snapshotReasons === VOID ? emptyList() : snapshotReasons;
988
- this.c2q_1 = version;
989
- this.d2q_1 = snapshot;
990
- this.e2q_1 = snapshotReasons;
1014
+ warnings = warnings === VOID ? emptyList() : warnings;
1015
+ this.d2q_1 = version;
1016
+ this.e2q_1 = snapshot;
1017
+ this.f2q_1 = snapshotReasons;
1018
+ this.g2q_1 = warnings;
991
1019
  }
992
1020
  protoOf(VersionData).toString = function () {
993
- return 'VersionData(version=' + this.c2q_1 + ', snapshot=' + this.d2q_1 + ', snapshotReasons=' + toString_0(this.e2q_1) + ')';
1021
+ return 'VersionData(version=' + this.d2q_1 + ', snapshot=' + this.e2q_1 + ', snapshotReasons=' + toString_0(this.f2q_1) + ', warnings=' + toString_0(this.g2q_1) + ')';
994
1022
  };
995
1023
  protoOf(VersionData).hashCode = function () {
996
- var result = getStringHashCode(this.c2q_1);
997
- result = imul(result, 31) + getBooleanHashCode(this.d2q_1) | 0;
998
- result = imul(result, 31) + hashCode(this.e2q_1) | 0;
1024
+ var result = getStringHashCode(this.d2q_1);
1025
+ result = imul(result, 31) + getBooleanHashCode(this.e2q_1) | 0;
1026
+ result = imul(result, 31) + hashCode(this.f2q_1) | 0;
1027
+ result = imul(result, 31) + hashCode(this.g2q_1) | 0;
999
1028
  return result;
1000
1029
  };
1001
1030
  protoOf(VersionData).equals = function (other) {
@@ -1003,17 +1032,19 @@
1003
1032
  return true;
1004
1033
  if (!(other instanceof VersionData))
1005
1034
  return false;
1006
- if (!(this.c2q_1 === other.c2q_1))
1007
- return false;
1008
1035
  if (!(this.d2q_1 === other.d2q_1))
1009
1036
  return false;
1010
- if (!equals(this.e2q_1, other.e2q_1))
1037
+ if (!(this.e2q_1 === other.e2q_1))
1038
+ return false;
1039
+ if (!equals(this.f2q_1, other.f2q_1))
1040
+ return false;
1041
+ if (!equals(this.g2q_1, other.g2q_1))
1011
1042
  return false;
1012
1043
  return true;
1013
1044
  };
1014
1045
  function Companion_1() {
1015
1046
  }
1016
- protoOf(Companion_1).a2d = function () {
1047
+ protoOf(Companion_1).b2d = function () {
1017
1048
  return $serializer_getInstance_1();
1018
1049
  };
1019
1050
  var Companion_instance_4;
@@ -1023,68 +1054,68 @@
1023
1054
  function $serializer_1() {
1024
1055
  $serializer_instance_1 = this;
1025
1056
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.ErrorResponse', this, 3);
1026
- tmp0_serialDesc.uy('status', false);
1027
- tmp0_serialDesc.uy('error', false);
1028
- tmp0_serialDesc.uy('code', false);
1029
- this.f2q_1 = tmp0_serialDesc;
1030
- }
1031
- protoOf($serializer_1).g2q = function (encoder, value) {
1032
- var tmp0_desc = this.f2q_1;
1033
- var tmp1_output = encoder.lr(tmp0_desc);
1034
- tmp1_output.zs(tmp0_desc, 0, value.h2q_1);
1035
- tmp1_output.zs(tmp0_desc, 1, value.i2q_1);
1036
- tmp1_output.zs(tmp0_desc, 2, value.j2q_1);
1037
- tmp1_output.mr(tmp0_desc);
1057
+ tmp0_serialDesc.vy('status', false);
1058
+ tmp0_serialDesc.vy('error', false);
1059
+ tmp0_serialDesc.vy('code', false);
1060
+ this.h2q_1 = tmp0_serialDesc;
1061
+ }
1062
+ protoOf($serializer_1).i2q = function (encoder, value) {
1063
+ var tmp0_desc = this.h2q_1;
1064
+ var tmp1_output = encoder.mr(tmp0_desc);
1065
+ tmp1_output.at(tmp0_desc, 0, value.j2q_1);
1066
+ tmp1_output.at(tmp0_desc, 1, value.k2q_1);
1067
+ tmp1_output.at(tmp0_desc, 2, value.l2q_1);
1068
+ tmp1_output.nr(tmp0_desc);
1038
1069
  };
1039
- protoOf($serializer_1).po = function (encoder, value) {
1040
- return this.g2q(encoder, value instanceof ErrorResponse ? value : THROW_CCE());
1070
+ protoOf($serializer_1).qo = function (encoder, value) {
1071
+ return this.i2q(encoder, value instanceof ErrorResponse ? value : THROW_CCE());
1041
1072
  };
1042
- protoOf($serializer_1).qo = function (decoder) {
1043
- var tmp0_desc = this.f2q_1;
1073
+ protoOf($serializer_1).ro = function (decoder) {
1074
+ var tmp0_desc = this.h2q_1;
1044
1075
  var tmp1_flag = true;
1045
1076
  var tmp2_index = 0;
1046
1077
  var tmp3_bitMask0 = 0;
1047
1078
  var tmp4_local0 = null;
1048
1079
  var tmp5_local1 = null;
1049
1080
  var tmp6_local2 = null;
1050
- var tmp7_input = decoder.lr(tmp0_desc);
1051
- if (tmp7_input.bs()) {
1052
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
1081
+ var tmp7_input = decoder.mr(tmp0_desc);
1082
+ if (tmp7_input.cs()) {
1083
+ tmp4_local0 = tmp7_input.wr(tmp0_desc, 0);
1053
1084
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1054
- tmp5_local1 = tmp7_input.vr(tmp0_desc, 1);
1085
+ tmp5_local1 = tmp7_input.wr(tmp0_desc, 1);
1055
1086
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1056
- tmp6_local2 = tmp7_input.vr(tmp0_desc, 2);
1087
+ tmp6_local2 = tmp7_input.wr(tmp0_desc, 2);
1057
1088
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1058
1089
  } else
1059
1090
  while (tmp1_flag) {
1060
- tmp2_index = tmp7_input.cs(tmp0_desc);
1091
+ tmp2_index = tmp7_input.ds(tmp0_desc);
1061
1092
  switch (tmp2_index) {
1062
1093
  case -1:
1063
1094
  tmp1_flag = false;
1064
1095
  break;
1065
1096
  case 0:
1066
- tmp4_local0 = tmp7_input.vr(tmp0_desc, 0);
1097
+ tmp4_local0 = tmp7_input.wr(tmp0_desc, 0);
1067
1098
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1068
1099
  break;
1069
1100
  case 1:
1070
- tmp5_local1 = tmp7_input.vr(tmp0_desc, 1);
1101
+ tmp5_local1 = tmp7_input.wr(tmp0_desc, 1);
1071
1102
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1072
1103
  break;
1073
1104
  case 2:
1074
- tmp6_local2 = tmp7_input.vr(tmp0_desc, 2);
1105
+ tmp6_local2 = tmp7_input.wr(tmp0_desc, 2);
1075
1106
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1076
1107
  break;
1077
1108
  default:
1078
1109
  throw UnknownFieldException_init_$Create$(tmp2_index);
1079
1110
  }
1080
1111
  }
1081
- tmp7_input.mr(tmp0_desc);
1112
+ tmp7_input.nr(tmp0_desc);
1082
1113
  return ErrorResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1083
1114
  };
1084
- protoOf($serializer_1).oo = function () {
1085
- return this.f2q_1;
1115
+ protoOf($serializer_1).po = function () {
1116
+ return this.h2q_1;
1086
1117
  };
1087
- protoOf($serializer_1).wy = function () {
1118
+ protoOf($serializer_1).xy = function () {
1088
1119
  // Inline function 'kotlin.arrayOf' call
1089
1120
  // Inline function 'kotlin.js.unsafeCast' call
1090
1121
  // Inline function 'kotlin.js.asDynamic' call
@@ -1098,28 +1129,28 @@
1098
1129
  }
1099
1130
  function ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, $this) {
1100
1131
  if (!(7 === (7 & seen0))) {
1101
- throwMissingFieldException(seen0, 7, $serializer_getInstance_1().f2q_1);
1132
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_1().h2q_1);
1102
1133
  }
1103
- $this.h2q_1 = status;
1104
- $this.i2q_1 = error;
1105
- $this.j2q_1 = code;
1134
+ $this.j2q_1 = status;
1135
+ $this.k2q_1 = error;
1136
+ $this.l2q_1 = code;
1106
1137
  return $this;
1107
1138
  }
1108
1139
  function ErrorResponse_init_$Create$(seen0, status, error, code, serializationConstructorMarker) {
1109
1140
  return ErrorResponse_init_$Init$(seen0, status, error, code, serializationConstructorMarker, objectCreate(protoOf(ErrorResponse)));
1110
1141
  }
1111
1142
  function ErrorResponse(status, error, code) {
1112
- this.h2q_1 = status;
1113
- this.i2q_1 = error;
1114
- this.j2q_1 = code;
1143
+ this.j2q_1 = status;
1144
+ this.k2q_1 = error;
1145
+ this.l2q_1 = code;
1115
1146
  }
1116
1147
  protoOf(ErrorResponse).toString = function () {
1117
- return 'ErrorResponse(status=' + this.h2q_1 + ', error=' + this.i2q_1 + ', code=' + this.j2q_1 + ')';
1148
+ return 'ErrorResponse(status=' + this.j2q_1 + ', error=' + this.k2q_1 + ', code=' + this.l2q_1 + ')';
1118
1149
  };
1119
1150
  protoOf(ErrorResponse).hashCode = function () {
1120
- var result = getStringHashCode(this.h2q_1);
1121
- result = imul(result, 31) + getStringHashCode(this.i2q_1) | 0;
1122
- result = imul(result, 31) + getStringHashCode(this.j2q_1) | 0;
1151
+ var result = getStringHashCode(this.j2q_1);
1152
+ result = imul(result, 31) + getStringHashCode(this.k2q_1) | 0;
1153
+ result = imul(result, 31) + getStringHashCode(this.l2q_1) | 0;
1123
1154
  return result;
1124
1155
  };
1125
1156
  protoOf(ErrorResponse).equals = function (other) {
@@ -1127,17 +1158,17 @@
1127
1158
  return true;
1128
1159
  if (!(other instanceof ErrorResponse))
1129
1160
  return false;
1130
- if (!(this.h2q_1 === other.h2q_1))
1161
+ if (!(this.j2q_1 === other.j2q_1))
1131
1162
  return false;
1132
- if (!(this.i2q_1 === other.i2q_1))
1163
+ if (!(this.k2q_1 === other.k2q_1))
1133
1164
  return false;
1134
- if (!(this.j2q_1 === other.j2q_1))
1165
+ if (!(this.l2q_1 === other.l2q_1))
1135
1166
  return false;
1136
1167
  return true;
1137
1168
  };
1138
1169
  function Companion_2() {
1139
1170
  }
1140
- protoOf(Companion_2).a2d = function () {
1171
+ protoOf(Companion_2).b2d = function () {
1141
1172
  return $serializer_getInstance_2();
1142
1173
  };
1143
1174
  var Companion_instance_5;
@@ -1147,59 +1178,59 @@
1147
1178
  function $serializer_2() {
1148
1179
  $serializer_instance_2 = this;
1149
1180
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagSuccessResponse', this, 2);
1150
- tmp0_serialDesc.uy('status', false);
1151
- tmp0_serialDesc.uy('data', false);
1152
- this.k2q_1 = tmp0_serialDesc;
1153
- }
1154
- protoOf($serializer_2).l2q = function (encoder, value) {
1155
- var tmp0_desc = this.k2q_1;
1156
- var tmp1_output = encoder.lr(tmp0_desc);
1157
- tmp1_output.zs(tmp0_desc, 0, value.m2q_1);
1158
- tmp1_output.bt(tmp0_desc, 1, $serializer_getInstance_3(), value.n2q_1);
1159
- tmp1_output.mr(tmp0_desc);
1181
+ tmp0_serialDesc.vy('status', false);
1182
+ tmp0_serialDesc.vy('data', false);
1183
+ this.m2q_1 = tmp0_serialDesc;
1184
+ }
1185
+ protoOf($serializer_2).n2q = function (encoder, value) {
1186
+ var tmp0_desc = this.m2q_1;
1187
+ var tmp1_output = encoder.mr(tmp0_desc);
1188
+ tmp1_output.at(tmp0_desc, 0, value.o2q_1);
1189
+ tmp1_output.ct(tmp0_desc, 1, $serializer_getInstance_3(), value.p2q_1);
1190
+ tmp1_output.nr(tmp0_desc);
1160
1191
  };
1161
- protoOf($serializer_2).po = function (encoder, value) {
1162
- return this.l2q(encoder, value instanceof TagSuccessResponse ? value : THROW_CCE());
1192
+ protoOf($serializer_2).qo = function (encoder, value) {
1193
+ return this.n2q(encoder, value instanceof TagSuccessResponse ? value : THROW_CCE());
1163
1194
  };
1164
- protoOf($serializer_2).qo = function (decoder) {
1165
- var tmp0_desc = this.k2q_1;
1195
+ protoOf($serializer_2).ro = function (decoder) {
1196
+ var tmp0_desc = this.m2q_1;
1166
1197
  var tmp1_flag = true;
1167
1198
  var tmp2_index = 0;
1168
1199
  var tmp3_bitMask0 = 0;
1169
1200
  var tmp4_local0 = null;
1170
1201
  var tmp5_local1 = null;
1171
- var tmp6_input = decoder.lr(tmp0_desc);
1172
- if (tmp6_input.bs()) {
1173
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
1202
+ var tmp6_input = decoder.mr(tmp0_desc);
1203
+ if (tmp6_input.cs()) {
1204
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
1174
1205
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1175
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1206
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1176
1207
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1177
1208
  } else
1178
1209
  while (tmp1_flag) {
1179
- tmp2_index = tmp6_input.cs(tmp0_desc);
1210
+ tmp2_index = tmp6_input.ds(tmp0_desc);
1180
1211
  switch (tmp2_index) {
1181
1212
  case -1:
1182
1213
  tmp1_flag = false;
1183
1214
  break;
1184
1215
  case 0:
1185
- tmp4_local0 = tmp6_input.vr(tmp0_desc, 0);
1216
+ tmp4_local0 = tmp6_input.wr(tmp0_desc, 0);
1186
1217
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1187
1218
  break;
1188
1219
  case 1:
1189
- tmp5_local1 = tmp6_input.xr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1220
+ tmp5_local1 = tmp6_input.yr(tmp0_desc, 1, $serializer_getInstance_3(), tmp5_local1);
1190
1221
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1191
1222
  break;
1192
1223
  default:
1193
1224
  throw UnknownFieldException_init_$Create$(tmp2_index);
1194
1225
  }
1195
1226
  }
1196
- tmp6_input.mr(tmp0_desc);
1227
+ tmp6_input.nr(tmp0_desc);
1197
1228
  return TagSuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1198
1229
  };
1199
- protoOf($serializer_2).oo = function () {
1200
- return this.k2q_1;
1230
+ protoOf($serializer_2).po = function () {
1231
+ return this.m2q_1;
1201
1232
  };
1202
- protoOf($serializer_2).wy = function () {
1233
+ protoOf($serializer_2).xy = function () {
1203
1234
  // Inline function 'kotlin.arrayOf' call
1204
1235
  // Inline function 'kotlin.js.unsafeCast' call
1205
1236
  // Inline function 'kotlin.js.asDynamic' call
@@ -1213,25 +1244,25 @@
1213
1244
  }
1214
1245
  function TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
1215
1246
  if (!(3 === (3 & seen0))) {
1216
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().k2q_1);
1247
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().m2q_1);
1217
1248
  }
1218
- $this.m2q_1 = status;
1219
- $this.n2q_1 = data;
1249
+ $this.o2q_1 = status;
1250
+ $this.p2q_1 = data;
1220
1251
  return $this;
1221
1252
  }
1222
1253
  function TagSuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
1223
1254
  return TagSuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(TagSuccessResponse)));
1224
1255
  }
1225
1256
  function TagSuccessResponse(status, data) {
1226
- this.m2q_1 = status;
1227
- this.n2q_1 = data;
1257
+ this.o2q_1 = status;
1258
+ this.p2q_1 = data;
1228
1259
  }
1229
1260
  protoOf(TagSuccessResponse).toString = function () {
1230
- return 'TagSuccessResponse(status=' + this.m2q_1 + ', data=' + this.n2q_1.toString() + ')';
1261
+ return 'TagSuccessResponse(status=' + this.o2q_1 + ', data=' + this.p2q_1.toString() + ')';
1231
1262
  };
1232
1263
  protoOf(TagSuccessResponse).hashCode = function () {
1233
- var result = getStringHashCode(this.m2q_1);
1234
- result = imul(result, 31) + this.n2q_1.hashCode() | 0;
1264
+ var result = getStringHashCode(this.o2q_1);
1265
+ result = imul(result, 31) + this.p2q_1.hashCode() | 0;
1235
1266
  return result;
1236
1267
  };
1237
1268
  protoOf(TagSuccessResponse).equals = function (other) {
@@ -1239,9 +1270,9 @@
1239
1270
  return true;
1240
1271
  if (!(other instanceof TagSuccessResponse))
1241
1272
  return false;
1242
- if (!(this.m2q_1 === other.m2q_1))
1273
+ if (!(this.o2q_1 === other.o2q_1))
1243
1274
  return false;
1244
- if (!this.n2q_1.equals(other.n2q_1))
1275
+ if (!this.p2q_1.equals(other.p2q_1))
1245
1276
  return false;
1246
1277
  return true;
1247
1278
  };
@@ -1254,50 +1285,50 @@
1254
1285
  function $serializer_3() {
1255
1286
  $serializer_instance_3 = this;
1256
1287
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.tagger.cli.TagData', this, 1);
1257
- tmp0_serialDesc.uy('tag', false);
1258
- this.o2q_1 = tmp0_serialDesc;
1259
- }
1260
- protoOf($serializer_3).p2q = function (encoder, value) {
1261
- var tmp0_desc = this.o2q_1;
1262
- var tmp1_output = encoder.lr(tmp0_desc);
1263
- tmp1_output.zs(tmp0_desc, 0, value.q2q_1);
1264
- tmp1_output.mr(tmp0_desc);
1288
+ tmp0_serialDesc.vy('tag', false);
1289
+ this.q2q_1 = tmp0_serialDesc;
1290
+ }
1291
+ protoOf($serializer_3).r2q = function (encoder, value) {
1292
+ var tmp0_desc = this.q2q_1;
1293
+ var tmp1_output = encoder.mr(tmp0_desc);
1294
+ tmp1_output.at(tmp0_desc, 0, value.s2q_1);
1295
+ tmp1_output.nr(tmp0_desc);
1265
1296
  };
1266
- protoOf($serializer_3).po = function (encoder, value) {
1267
- return this.p2q(encoder, value instanceof TagData ? value : THROW_CCE());
1297
+ protoOf($serializer_3).qo = function (encoder, value) {
1298
+ return this.r2q(encoder, value instanceof TagData ? value : THROW_CCE());
1268
1299
  };
1269
- protoOf($serializer_3).qo = function (decoder) {
1270
- var tmp0_desc = this.o2q_1;
1300
+ protoOf($serializer_3).ro = function (decoder) {
1301
+ var tmp0_desc = this.q2q_1;
1271
1302
  var tmp1_flag = true;
1272
1303
  var tmp2_index = 0;
1273
1304
  var tmp3_bitMask0 = 0;
1274
1305
  var tmp4_local0 = null;
1275
- var tmp5_input = decoder.lr(tmp0_desc);
1276
- if (tmp5_input.bs()) {
1277
- tmp4_local0 = tmp5_input.vr(tmp0_desc, 0);
1306
+ var tmp5_input = decoder.mr(tmp0_desc);
1307
+ if (tmp5_input.cs()) {
1308
+ tmp4_local0 = tmp5_input.wr(tmp0_desc, 0);
1278
1309
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1279
1310
  } else
1280
1311
  while (tmp1_flag) {
1281
- tmp2_index = tmp5_input.cs(tmp0_desc);
1312
+ tmp2_index = tmp5_input.ds(tmp0_desc);
1282
1313
  switch (tmp2_index) {
1283
1314
  case -1:
1284
1315
  tmp1_flag = false;
1285
1316
  break;
1286
1317
  case 0:
1287
- tmp4_local0 = tmp5_input.vr(tmp0_desc, 0);
1318
+ tmp4_local0 = tmp5_input.wr(tmp0_desc, 0);
1288
1319
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1289
1320
  break;
1290
1321
  default:
1291
1322
  throw UnknownFieldException_init_$Create$(tmp2_index);
1292
1323
  }
1293
1324
  }
1294
- tmp5_input.mr(tmp0_desc);
1325
+ tmp5_input.nr(tmp0_desc);
1295
1326
  return TagData_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
1296
1327
  };
1297
- protoOf($serializer_3).oo = function () {
1298
- return this.o2q_1;
1328
+ protoOf($serializer_3).po = function () {
1329
+ return this.q2q_1;
1299
1330
  };
1300
- protoOf($serializer_3).wy = function () {
1331
+ protoOf($serializer_3).xy = function () {
1301
1332
  // Inline function 'kotlin.arrayOf' call
1302
1333
  // Inline function 'kotlin.js.unsafeCast' call
1303
1334
  // Inline function 'kotlin.js.asDynamic' call
@@ -1311,40 +1342,40 @@
1311
1342
  }
1312
1343
  function TagData_init_$Init$(seen0, tag, serializationConstructorMarker, $this) {
1313
1344
  if (!(1 === (1 & seen0))) {
1314
- throwMissingFieldException(seen0, 1, $serializer_getInstance_3().o2q_1);
1345
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_3().q2q_1);
1315
1346
  }
1316
- $this.q2q_1 = tag;
1347
+ $this.s2q_1 = tag;
1317
1348
  return $this;
1318
1349
  }
1319
1350
  function TagData_init_$Create$(seen0, tag, serializationConstructorMarker) {
1320
1351
  return TagData_init_$Init$(seen0, tag, serializationConstructorMarker, objectCreate(protoOf(TagData)));
1321
1352
  }
1322
1353
  function TagData(tag) {
1323
- this.q2q_1 = tag;
1354
+ this.s2q_1 = tag;
1324
1355
  }
1325
1356
  protoOf(TagData).toString = function () {
1326
- return 'TagData(tag=' + this.q2q_1 + ')';
1357
+ return 'TagData(tag=' + this.s2q_1 + ')';
1327
1358
  };
1328
1359
  protoOf(TagData).hashCode = function () {
1329
- return getStringHashCode(this.q2q_1);
1360
+ return getStringHashCode(this.s2q_1);
1330
1361
  };
1331
1362
  protoOf(TagData).equals = function (other) {
1332
1363
  if (this === other)
1333
1364
  return true;
1334
1365
  if (!(other instanceof TagData))
1335
1366
  return false;
1336
- if (!(this.q2q_1 === other.q2q_1))
1367
+ if (!(this.s2q_1 === other.s2q_1))
1337
1368
  return false;
1338
1369
  return true;
1339
1370
  };
1340
1371
  function versionSuccessResponse(data) {
1341
- return Default_getInstance().p2a(Companion_instance_2.a2d(), new VersionSuccessResponse('success', data));
1372
+ return Default_getInstance().q2a(Companion_instance_2.b2d(), new VersionSuccessResponse('success', data));
1342
1373
  }
1343
1374
  function tagSuccessResponse(data) {
1344
- return Default_getInstance().p2a(Companion_instance_5.a2d(), new TagSuccessResponse('success', data));
1375
+ return Default_getInstance().q2a(Companion_instance_5.b2d(), new TagSuccessResponse('success', data));
1345
1376
  }
1346
1377
  function errorResponse(message, code) {
1347
- return Default_getInstance().p2a(Companion_instance_4.a2d(), new ErrorResponse('error', message, code));
1378
+ return Default_getInstance().q2a(Companion_instance_4.b2d(), new ErrorResponse('error', message, code));
1348
1379
  }
1349
1380
  function main_0(args) {
1350
1381
  return main(cli(), platformArgCorrection(args));
@@ -1357,11 +1388,11 @@
1357
1388
  }
1358
1389
  function _get_gitRepoArgument__zxde8_0($this) {
1359
1390
  var tmp = KProperty1;
1360
- return $this.g2r_1.u1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1391
+ return $this.i2r_1.v1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
1361
1392
  }
1362
1393
  function _get_gitRepoOption__rk7ta0_0($this) {
1363
1394
  var tmp = KProperty1;
1364
- return $this.h2r_1.u1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1395
+ return $this.j2r_1.v1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
1365
1396
  }
1366
1397
  function _get_workingDirectory__eyfbj_0($this) {
1367
1398
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
@@ -1376,38 +1407,38 @@
1376
1407
  }
1377
1408
  function _get_releaseBranch__pqrgbs_0($this) {
1378
1409
  var tmp = KProperty1;
1379
- return $this.i2r_1.u1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1410
+ return $this.k2r_1.v1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
1380
1411
  }
1381
1412
  function _get_version__2bx7w9($this) {
1382
1413
  var tmp = KProperty1;
1383
- return $this.j2r_1.u1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1414
+ return $this.l2r_1.v1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
1384
1415
  }
1385
1416
  function _get_userName__tupjmd($this) {
1386
1417
  var tmp = KProperty1;
1387
- return $this.k2r_1.u1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1418
+ return $this.m2r_1.v1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
1388
1419
  }
1389
1420
  function _get_userEmail__21hfkw($this) {
1390
1421
  var tmp = KProperty1;
1391
- return $this.l2r_1.u1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1422
+ return $this.n2r_1.v1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
1392
1423
  }
1393
1424
  function _get_allowDetachedHead__iyebhm_0($this) {
1394
1425
  var tmp = KProperty1;
1395
- return $this.m2r_1.u1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, Tag$_get_allowDetachedHead_$ref_qujqxn_0(), null));
1426
+ return $this.o2r_1.v1m($this, getPropertyCallableRef('allowDetachedHead', 1, tmp, Tag$_get_allowDetachedHead_$ref_qujqxn_0(), null));
1396
1427
  }
1397
1428
  function _get_dryRun__18z7px($this) {
1398
1429
  var tmp = KProperty1;
1399
- return $this.n2r_1.u1m($this, getPropertyCallableRef('dryRun', 1, tmp, Tag$_get_dryRun_$ref_agy9vo_0(), null));
1430
+ return $this.p2r_1.v1m($this, getPropertyCallableRef('dryRun', 1, tmp, Tag$_get_dryRun_$ref_agy9vo_0(), null));
1400
1431
  }
1401
1432
  function _get_warningsAsErrors__7mpwfd($this) {
1402
1433
  var tmp = KProperty1;
1403
- return $this.o2r_1.u1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1434
+ return $this.q2r_1.v1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
1404
1435
  }
1405
1436
  function _get_format__qlarck_0($this) {
1406
1437
  var tmp = KProperty1;
1407
- return $this.p2r_1.u1m($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
1438
+ return $this.r2r_1.v1m($this, getPropertyCallableRef('format', 1, tmp, Tag$_get_format_$ref_i96vgt_0(), null));
1408
1439
  }
1409
1440
  function Tag$lambda($this$context) {
1410
- $this$context.a1d([new ConfigFileSource($this$context.w1c_1)]);
1441
+ $this$context.b1d([new ConfigFileSource($this$context.x1c_1)]);
1411
1442
  return Unit_instance;
1412
1443
  }
1413
1444
  function Tag$_get_gitRepoArgument_$ref_dketaj() {
@@ -1516,39 +1547,39 @@
1516
1547
  var tmp = this;
1517
1548
  var tmp_0 = optional(argument(this, 'git-repo'));
1518
1549
  var tmp_1 = KProperty1;
1519
- tmp.g2r_1 = tmp_0.a1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1550
+ tmp.i2r_1 = tmp_0.b1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
1520
1551
  var tmp_2 = this;
1521
1552
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
1522
1553
  var tmp_4 = KProperty1;
1523
- tmp_2.h2r_1 = tmp_3.e1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1554
+ tmp_2.j2r_1 = tmp_3.f1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
1524
1555
  var tmp_5 = this;
1525
1556
  var tmp_6 = required(option(this, []));
1526
1557
  var tmp_7 = KProperty1;
1527
- tmp_5.i2r_1 = tmp_6.e1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1558
+ tmp_5.k2r_1 = tmp_6.f1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
1528
1559
  var tmp_8 = this;
1529
1560
  var tmp_9 = required(option(this, ['--version'], 'Version to tag (required)'));
1530
1561
  var tmp_10 = KProperty1;
1531
- tmp_8.j2r_1 = tmp_9.e1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1562
+ tmp_8.l2r_1 = tmp_9.f1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
1532
1563
  var tmp_11 = this;
1533
1564
  var tmp_12 = option(this, []);
1534
1565
  var tmp_13 = KProperty1;
1535
- tmp_11.k2r_1 = tmp_12.e1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1566
+ tmp_11.m2r_1 = tmp_12.f1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
1536
1567
  var tmp_14 = this;
1537
1568
  var tmp_15 = option(this, []);
1538
1569
  var tmp_16 = KProperty1;
1539
- tmp_14.l2r_1 = tmp_15.e1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1570
+ tmp_14.n2r_1 = tmp_15.f1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
1540
1571
  var tmp_17 = this;
1541
1572
  var tmp_18 = default_0(boolean(option(this, ['--allow-detached-head'])), false);
1542
1573
  var tmp_19 = KProperty1;
1543
- tmp_17.m2r_1 = tmp_18.e1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_19, Tag$_get_allowDetachedHead_$ref_qujqxn(), null));
1574
+ tmp_17.o2r_1 = tmp_18.f1n(this, getPropertyCallableRef('allowDetachedHead', 1, tmp_19, Tag$_get_allowDetachedHead_$ref_qujqxn(), null));
1544
1575
  var tmp_20 = this;
1545
1576
  var tmp_21 = default_0(boolean(option(this, ['--dry-run'])), false);
1546
1577
  var tmp_22 = KProperty1;
1547
- tmp_20.n2r_1 = tmp_21.e1n(this, getPropertyCallableRef('dryRun', 1, tmp_22, Tag$_get_dryRun_$ref_agy9vo(), null));
1578
+ tmp_20.p2r_1 = tmp_21.f1n(this, getPropertyCallableRef('dryRun', 1, tmp_22, Tag$_get_dryRun_$ref_agy9vo(), null));
1548
1579
  var tmp_23 = this;
1549
1580
  var tmp_24 = default_0(boolean(option(this, [])), false);
1550
1581
  var tmp_25 = KProperty1;
1551
- tmp_23.o2r_1 = tmp_24.e1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1582
+ tmp_23.q2r_1 = tmp_24.f1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_25, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
1552
1583
  var tmp_26 = this;
1553
1584
  // Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
1554
1585
  var this_0 = option(this, ['--format'], 'Output format: text (default) or json');
@@ -1571,26 +1602,26 @@
1571
1602
  var tmp$ret$0 = choice(this_0, destination, VOID, true);
1572
1603
  var tmp_27 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
1573
1604
  var tmp_28 = KProperty1;
1574
- tmp_26.p2r_1 = tmp_27.e1n(this, getPropertyCallableRef('format', 1, tmp_28, Tag$_get_format_$ref_i96vgt(), null));
1605
+ tmp_26.r2r_1 = tmp_27.f1n(this, getPropertyCallableRef('format', 1, tmp_28, Tag$_get_format_$ref_i96vgt(), null));
1575
1606
  }
1576
- protoOf(Tag).t1d = function () {
1607
+ protoOf(Tag).u1d = function () {
1577
1608
  var gitAdapter = new GitAdapter(_get_workingDirectory__eyfbj_0(this));
1578
1609
  if (_get_dryRun__18z7px(this)) {
1579
1610
  var headCommit = gitAdapter.kl();
1580
1611
  var headBranch = gitAdapter.ql().vl_1;
1581
- this.g1c("Would create annotated tag '" + _get_version__2bx7w9(this) + "' at " + headCommit + " on branch '" + headBranch + "'.");
1582
- this.g1c("Would push to remote 'origin'.");
1583
- this.g1c('(no changes made)');
1612
+ this.h1c("Would create annotated tag '" + _get_version__2bx7w9(this) + "' at " + headCommit + " on branch '" + headBranch + "'.");
1613
+ this.h1c("Would push to remote 'origin'.");
1614
+ this.h1c('(no changes made)');
1584
1615
  } else {
1585
1616
  // Inline function 'kotlin.let' call
1586
1617
  var it = tag(new TaggerCore(gitAdapter), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this), _get_allowDetachedHead__iyebhm_0(this));
1587
1618
  if (equals(it, Success_getInstance())) {
1588
1619
  switch (_get_format__qlarck_0(this).y2_1) {
1589
1620
  case 1:
1590
- this.g1c(tagSuccessResponse(new TagData(_get_version__2bx7w9(this))));
1621
+ this.h1c(tagSuccessResponse(new TagData(_get_version__2bx7w9(this))));
1591
1622
  break;
1592
1623
  case 0:
1593
- this.g1c('Success!');
1624
+ this.h1c('Success!');
1594
1625
  break;
1595
1626
  default:
1596
1627
  noWhenBranchMatchedException();
@@ -1600,14 +1631,14 @@
1600
1631
  if (it instanceof Error_0) {
1601
1632
  switch (_get_format__qlarck_0(this).y2_1) {
1602
1633
  case 1:
1603
- this.g1c(errorResponse(it.do_1, 'TAG_ERROR'));
1634
+ this.h1c(errorResponse(it.do_1, 'TAG_ERROR'));
1604
1635
  var tmp3_statusCode = _get_warningsAsErrors__7mpwfd(this) ? 1 : 0;
1605
1636
  throw new CliktError('', VOID, tmp3_statusCode, false);
1606
1637
  case 0:
1607
1638
  if (_get_warningsAsErrors__7mpwfd(this)) {
1608
1639
  throw new CliktError(it.do_1);
1609
1640
  } else {
1610
- this.g1c(it.do_1, VOID, true);
1641
+ this.h1c(it.do_1, VOID, true);
1611
1642
  }
1612
1643
 
1613
1644
  break;
@@ -1623,12 +1654,12 @@
1623
1654
  };
1624
1655
  function _get_quiet__c6dzoj($this) {
1625
1656
  var tmp = KProperty1;
1626
- return $this.f2s_1.u1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1657
+ return $this.h2s_1.v1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
1627
1658
  }
1628
1659
  function Tagger$lambda($version, $this) {
1629
1660
  return function ($this$eagerOption) {
1630
1661
  var it = $version;
1631
- var tmp$ret$0 = $this.z18_1 + ' version ' + it;
1662
+ var tmp$ret$0 = $this.a19_1 + ' version ' + it;
1632
1663
  throw new PrintMessage(tmp$ret$0);
1633
1664
  };
1634
1665
  }
@@ -1645,29 +1676,29 @@
1645
1676
  function Tagger() {
1646
1677
  CliktCommand.call(this);
1647
1678
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
1648
- var version = Versions_instance.a2o_1;
1679
+ var version = Versions_instance.b2o_1;
1649
1680
  var help = 'Show the version and exit';
1650
1681
  var names = setOf('--version');
1651
1682
  eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
1652
1683
  var tmp = this;
1653
1684
  var tmp_0 = flag(option(this, ['--quiet', '-q'], 'Suppress welcome message. Version goes to stdout, diagnostics to stderr (safe for: VERSION=$(tagger -q ...))'), [], false);
1654
1685
  var tmp_1 = KProperty1;
1655
- tmp.f2s_1 = tmp_0.e1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1686
+ tmp.h2s_1 = tmp_0.f1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
1656
1687
  }
1657
- protoOf(Tagger).y1a = function (context) {
1688
+ protoOf(Tagger).z1a = function (context) {
1658
1689
  return "Output:\n Text format writes version to stdout, diagnostics to stderr.\n Command substitution captures only stdout: VERSION=$(tagger -q calculate-version ...)\n\n -SNAPSHOT is appended when HEAD is not yet tagged with the calculated version.\n After 'tagger tag', subsequent calculate-version returns bare version.\n\n Snapshot reasons (on stderr) explain why -SNAPSHOT was added:\n DIRTY - uncommitted changes in working directory\n AHEAD - local branch ahead of remote\n BEHIND - local branch behind remote\n NOT_RELEASE_BRANCH - not on configured release branch\n NO_NEW_VERSION - no new commits since last tag\n FORCED - --force-snapshot=true was used";
1659
1690
  };
1660
- protoOf(Tagger).t1d = function () {
1661
- if (!_get_quiet__c6dzoj(this) && this.o19().b1d() == null) {
1662
- this.g1c('Welcome to Tagger CLI.');
1691
+ protoOf(Tagger).u1d = function () {
1692
+ if (!_get_quiet__c6dzoj(this) && this.p19().c1d() == null) {
1693
+ this.h1c('Welcome to Tagger CLI.');
1663
1694
  }
1664
1695
  };
1665
1696
  //region block: post-declaration
1666
- protoOf($serializer).xy = typeParametersSerializers;
1667
- protoOf($serializer_0).xy = typeParametersSerializers;
1668
- protoOf($serializer_1).xy = typeParametersSerializers;
1669
- protoOf($serializer_2).xy = typeParametersSerializers;
1670
- protoOf($serializer_3).xy = typeParametersSerializers;
1697
+ protoOf($serializer).yy = typeParametersSerializers;
1698
+ protoOf($serializer_0).yy = typeParametersSerializers;
1699
+ protoOf($serializer_1).yy = typeParametersSerializers;
1700
+ protoOf($serializer_2).yy = typeParametersSerializers;
1701
+ protoOf($serializer_3).yy = typeParametersSerializers;
1671
1702
  //endregion
1672
1703
  //region block: init
1673
1704
  Versions_instance = new Versions();