git-semver-tagger 1.8.31 → 1.8.34

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.
@@ -1,10 +1,10 @@
1
1
  (function (_, kotlin_kotlin, kotlin_clikt_clikt, kotlin_com_zegreatrob_tools_tagger_core, kotlin_clikt_clikt_mordant, kotlin_com_zegreatrob_tools_git_adapter, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json, kotlin_com_zegreatrob_tools_cli_tools, kotlin_com_zegreatrob_tools_tagger_json, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var protoOf = kotlin_kotlin.$_$.ba;
5
- var initMetadataForObject = kotlin_kotlin.$_$.h9;
6
- var KProperty1 = kotlin_kotlin.$_$.va;
7
- var getPropertyCallableRef = kotlin_kotlin.$_$.z8;
4
+ var protoOf = kotlin_kotlin.$_$.da;
5
+ var initMetadataForObject = kotlin_kotlin.$_$.k9;
6
+ var KProperty1 = kotlin_kotlin.$_$.xa;
7
+ var getPropertyCallableRef = kotlin_kotlin.$_$.c9;
8
8
  var CliktError = kotlin_clikt_clikt.$_$.a;
9
9
  var VOID = kotlin_kotlin.$_$.c;
10
10
  var Unit_instance = kotlin_kotlin.$_$.v3;
@@ -23,10 +23,10 @@
23
23
  var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
24
24
  var TaggerCore = kotlin_com_zegreatrob_tools_tagger_core.$_$.b;
25
25
  var calculateNextVersion = kotlin_com_zegreatrob_tools_tagger_core.$_$.f;
26
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ve;
26
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.xe;
27
27
  var Failure = kotlin_com_zegreatrob_tools_tagger_core.$_$.d;
28
28
  var Success = kotlin_com_zegreatrob_tools_tagger_core.$_$.e;
29
- var initMetadataForClass = kotlin_kotlin.$_$.c9;
29
+ var initMetadataForClass = kotlin_kotlin.$_$.f9;
30
30
  var emptyList = kotlin_kotlin.$_$.j5;
31
31
  var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
32
32
  var collectionSizeOrDefault = kotlin_kotlin.$_$.t4;
@@ -34,29 +34,29 @@
34
34
  var Companion_instance_0 = kotlin_clikt_clikt.$_$.s;
35
35
  var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
36
36
  var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
37
- var IllegalArgumentException = kotlin_kotlin.$_$.td;
38
- var split = kotlin_kotlin.$_$.kc;
37
+ var IllegalArgumentException = kotlin_kotlin.$_$.vd;
38
+ var split = kotlin_kotlin.$_$.mc;
39
39
  var Companion_instance_1 = kotlin_clikt_clikt.$_$.r;
40
40
  var listOf = kotlin_kotlin.$_$.f6;
41
41
  var Regex_init_$Create$_0 = kotlin_kotlin.$_$.t;
42
42
  var readFromFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
43
43
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
44
44
  var TaggerConfig = kotlin_com_zegreatrob_tools_tagger_json.$_$.a;
45
- var getKClass = kotlin_kotlin.$_$.sa;
46
- var arrayOf = kotlin_kotlin.$_$.le;
47
- var createKType = kotlin_kotlin.$_$.qa;
45
+ var getKClass = kotlin_kotlin.$_$.ua;
46
+ var arrayOf = kotlin_kotlin.$_$.ne;
47
+ var createKType = kotlin_kotlin.$_$.sa;
48
48
  var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
49
- var THROW_CCE = kotlin_kotlin.$_$.zd;
49
+ var THROW_CCE = kotlin_kotlin.$_$.be;
50
50
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.z1;
51
- var isInterface = kotlin_kotlin.$_$.q9;
52
- var last = kotlin_kotlin.$_$.bc;
51
+ var isInterface = kotlin_kotlin.$_$.t9;
52
+ var last = kotlin_kotlin.$_$.dc;
53
53
  var toString = kotlin_kotlin.$_$.n1;
54
54
  var JsonObjectBuilder = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
55
55
  var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.h;
56
56
  var get_contentOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
57
57
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
58
58
  var get_runtimeDefaultConfig = kotlin_com_zegreatrob_tools_tagger_json.$_$.b;
59
- var isBlank = kotlin_kotlin.$_$.wb;
59
+ var isBlank = kotlin_kotlin.$_$.yb;
60
60
  var JsonElement = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
61
61
  var writeToFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.c;
62
62
  var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
@@ -66,7 +66,7 @@
66
66
  var tag = kotlin_com_zegreatrob_tools_tagger_core.$_$.g;
67
67
  var Error_0 = kotlin_com_zegreatrob_tools_tagger_core.$_$.a;
68
68
  var Success_getInstance = kotlin_com_zegreatrob_tools_tagger_core.$_$.h;
69
- var equals = kotlin_kotlin.$_$.w8;
69
+ var equals = kotlin_kotlin.$_$.z8;
70
70
  var PrintMessage = kotlin_clikt_clikt.$_$.d;
71
71
  var setOf = kotlin_kotlin.$_$.u6;
72
72
  var eagerOption = kotlin_clikt_clikt.$_$.m;
@@ -81,7 +81,7 @@
81
81
  initMetadataForClass(Tagger, 'Tagger', Tagger, CliktCommand);
82
82
  //endregion
83
83
  function Versions() {
84
- this.e2o_1 = '1.8.31';
84
+ this.o2n_1 = '1.8.34';
85
85
  }
86
86
  var Versions_instance;
87
87
  function Versions_getInstance() {
@@ -89,11 +89,11 @@
89
89
  }
90
90
  function _get_gitRepoArgument__zxde8($this) {
91
91
  var tmp = KProperty1;
92
- return $this.u2o_1.b1n($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
92
+ return $this.e2o_1.i1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7_0(), null));
93
93
  }
94
94
  function _get_gitRepoOption__rk7ta0($this) {
95
95
  var tmp = KProperty1;
96
- return $this.v2o_1.b1n($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
96
+ return $this.f2o_1.i1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh_0(), null));
97
97
  }
98
98
  function _get_workingDirectory__eyfbj($this) {
99
99
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8($this);
@@ -108,41 +108,41 @@
108
108
  }
109
109
  function _get_implicitPatch__bjk4pa($this) {
110
110
  var tmp = KProperty1;
111
- return $this.w2o_1.b1n($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
111
+ return $this.g2o_1.i1m($this, getPropertyCallableRef('implicitPatch', 1, tmp, CalculateVersion$_get_implicitPatch_$ref_8lm4hh_0(), null));
112
112
  }
113
113
  function _get_disableDetached__ys8kbb($this) {
114
114
  var tmp = KProperty1;
115
- return $this.x2o_1.b1n($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
115
+ return $this.h2o_1.i1m($this, getPropertyCallableRef('disableDetached', 1, tmp, CalculateVersion$_get_disableDetached_$ref_yxb19o_0(), null));
116
116
  }
117
117
  function _get_releaseBranch__pqrgbs($this) {
118
118
  var tmp = KProperty1;
119
- return $this.y2o_1.b1n($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
119
+ return $this.i2o_1.i1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, CalculateVersion$_get_releaseBranch_$ref_3xh47v_0(), null));
120
120
  }
121
121
  function _get_majorRegex__5j6ypp($this) {
122
122
  var tmp = KProperty1;
123
- return $this.z2o_1.b1n($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
123
+ return $this.j2o_1.i1m($this, getPropertyCallableRef('majorRegex', 1, tmp, CalculateVersion$_get_majorRegex_$ref_erugf6_0(), null));
124
124
  }
125
125
  function _get_minorRegex__20z96h($this) {
126
126
  var tmp = KProperty1;
127
- return $this.a2p_1.b1n($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
127
+ return $this.k2o_1.i1m($this, getPropertyCallableRef('minorRegex', 1, tmp, CalculateVersion$_get_minorRegex_$ref_u1fzja_0(), null));
128
128
  }
129
129
  function _get_patchRegex__mtlu2c($this) {
130
130
  var tmp = KProperty1;
131
- return $this.b2p_1.b1n($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
131
+ return $this.l2o_1.i1m($this, getPropertyCallableRef('patchRegex', 1, tmp, CalculateVersion$_get_patchRegex_$ref_124637_0(), null));
132
132
  }
133
133
  function _get_noneRegex__1tdbgi($this) {
134
134
  var tmp = KProperty1;
135
- return $this.c2p_1.b1n($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
135
+ return $this.m2o_1.i1m($this, getPropertyCallableRef('noneRegex', 1, tmp, CalculateVersion$_get_noneRegex_$ref_vcaxfl_0(), null));
136
136
  }
137
137
  function _get_versionRegex__7su5ss($this) {
138
138
  var tmp = KProperty1;
139
- return $this.d2p_1.b1n($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
139
+ return $this.n2o_1.i1m($this, getPropertyCallableRef('versionRegex', 1, tmp, CalculateVersion$_get_versionRegex_$ref_f466m5_0(), null));
140
140
  }
141
141
  function output($this, message, errorMessage) {
142
- $this.p1c(message);
142
+ $this.w1b(message);
143
143
  // Inline function 'kotlin.collections.isNotEmpty' call
144
- if (!errorMessage.l()) {
145
- $this.p1c(errorMessage, VOID, true);
144
+ if (!errorMessage.r()) {
145
+ $this.w1b(errorMessage, VOID, true);
146
146
  }
147
147
  }
148
148
  function versionRegex($this) {
@@ -161,7 +161,7 @@
161
161
  return new VersionRegex(tmp, tmp_0, tmp_1, tmp_2, tmp_3);
162
162
  }
163
163
  function CalculateVersion$lambda($this$context) {
164
- $this$context.j1d([new ConfigFileSource($this$context.f1d_1)]);
164
+ $this$context.q1c([new ConfigFileSource($this$context.m1c_1)]);
165
165
  return Unit_instance;
166
166
  }
167
167
  function CalculateVersion$_get_gitRepoArgument_$ref_ekksr7() {
@@ -259,9 +259,9 @@
259
259
  var tmp;
260
260
  if (!(it == null)) {
261
261
  // Inline function 'com.github.ajalt.clikt.parameters.options.OptionTransformContext.require' call
262
- if (!$tmp4_check_this.uo(it)) {
262
+ if (!$tmp4_check_this.co(it)) {
263
263
  var tmp$ret$2 = $message;
264
- $this$copy.k1m(tmp$ret$2);
264
+ $this$copy.r1l(tmp$ret$2);
265
265
  }
266
266
  tmp = Unit_instance;
267
267
  }
@@ -284,53 +284,53 @@
284
284
  var tmp = this;
285
285
  var tmp_0 = optional(argument(this, 'git-repo'));
286
286
  var tmp_1 = KProperty1;
287
- tmp.u2o_1 = tmp_0.h1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
287
+ tmp.e2o_1 = tmp_0.o1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, CalculateVersion$_get_gitRepoArgument_$ref_ekksr7(), null));
288
288
  var tmp_2 = this;
289
289
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
290
290
  var tmp_4 = KProperty1;
291
- tmp_2.v2o_1 = tmp_3.l1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
291
+ tmp_2.f2o_1 = tmp_3.s1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, CalculateVersion$_get_gitRepoOption_$ref_ms8ohh(), null));
292
292
  var tmp_5 = this;
293
293
  var tmp_6 = default_0(boolean(option(this, [])), true);
294
294
  var tmp_7 = KProperty1;
295
- tmp_5.w2o_1 = tmp_6.l1n(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
295
+ tmp_5.g2o_1 = tmp_6.s1m(this, getPropertyCallableRef('implicitPatch', 1, tmp_7, CalculateVersion$_get_implicitPatch_$ref_8lm4hh(), null));
296
296
  var tmp_8 = this;
297
297
  var tmp_9 = default_0(boolean(option(this, [])), true);
298
298
  var tmp_10 = KProperty1;
299
- tmp_8.x2o_1 = tmp_9.l1n(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
299
+ tmp_8.h2o_1 = tmp_9.s1m(this, getPropertyCallableRef('disableDetached', 1, tmp_10, CalculateVersion$_get_disableDetached_$ref_yxb19o(), null));
300
300
  var tmp_11 = this;
301
301
  var tmp_12 = option(this, []);
302
302
  var tmp_13 = KProperty1;
303
- tmp_11.y2o_1 = tmp_12.l1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_13, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
303
+ tmp_11.i2o_1 = tmp_12.s1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_13, CalculateVersion$_get_releaseBranch_$ref_3xh47v(), null));
304
304
  var tmp_14 = this;
305
- var tmp_15 = default_0(option(this, []), Defaults_getInstance().so_1.wb_1);
305
+ var tmp_15 = default_0(option(this, []), Defaults_getInstance().ao_1.tb_1);
306
306
  var tmp_16 = KProperty1;
307
- tmp_14.z2o_1 = tmp_15.l1n(this, getPropertyCallableRef('majorRegex', 1, tmp_16, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
307
+ tmp_14.j2o_1 = tmp_15.s1m(this, getPropertyCallableRef('majorRegex', 1, tmp_16, CalculateVersion$_get_majorRegex_$ref_erugf6(), null));
308
308
  var tmp_17 = this;
309
- var tmp_18 = default_0(option(this, []), Defaults_getInstance().ro_1.wb_1);
309
+ var tmp_18 = default_0(option(this, []), Defaults_getInstance().zn_1.tb_1);
310
310
  var tmp_19 = KProperty1;
311
- tmp_17.a2p_1 = tmp_18.l1n(this, getPropertyCallableRef('minorRegex', 1, tmp_19, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
311
+ tmp_17.k2o_1 = tmp_18.s1m(this, getPropertyCallableRef('minorRegex', 1, tmp_19, CalculateVersion$_get_minorRegex_$ref_u1fzja(), null));
312
312
  var tmp_20 = this;
313
- var tmp_21 = default_0(option(this, []), Defaults_getInstance().qo_1.wb_1);
313
+ var tmp_21 = default_0(option(this, []), Defaults_getInstance().yn_1.tb_1);
314
314
  var tmp_22 = KProperty1;
315
- tmp_20.b2p_1 = tmp_21.l1n(this, getPropertyCallableRef('patchRegex', 1, tmp_22, CalculateVersion$_get_patchRegex_$ref_124637(), null));
315
+ tmp_20.l2o_1 = tmp_21.s1m(this, getPropertyCallableRef('patchRegex', 1, tmp_22, CalculateVersion$_get_patchRegex_$ref_124637(), null));
316
316
  var tmp_23 = this;
317
- var tmp_24 = default_0(option(this, []), Defaults_getInstance().po_1.wb_1);
317
+ var tmp_24 = default_0(option(this, []), Defaults_getInstance().xn_1.tb_1);
318
318
  var tmp_25 = KProperty1;
319
- tmp_23.c2p_1 = tmp_24.l1n(this, getPropertyCallableRef('noneRegex', 1, tmp_25, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
319
+ tmp_23.m2o_1 = tmp_24.s1m(this, getPropertyCallableRef('noneRegex', 1, tmp_25, CalculateVersion$_get_noneRegex_$ref_vcaxfl(), null));
320
320
  var tmp_26 = this;
321
321
  var tmp0 = option(this, []);
322
322
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
323
323
  var message = "version regex must include groups named 'major', 'minor', 'patch', and 'none'.";
324
324
  // Inline function 'com.github.ajalt.clikt.parameters.options.check' call
325
325
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
326
- var tmp_27 = tmp0.c1m();
327
- var tmp_28 = tmp0.e1n();
328
- var tmp_29 = tmp0.d1m();
329
- var tmp_30 = tmp0.f1n(tmp_27, tmp_28, tmp_29, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
326
+ var tmp_27 = tmp0.j1l();
327
+ var tmp_28 = tmp0.l1m();
328
+ var tmp_29 = tmp0.k1l();
329
+ var tmp_30 = tmp0.m1m(tmp_27, tmp_28, tmp_29, CalculateVersion$versionRegex$delegate$lambda(Companion_instance, message));
330
330
  var tmp_31 = KProperty1;
331
- tmp_26.d2p_1 = tmp_30.l1n(this, getPropertyCallableRef('versionRegex', 1, tmp_31, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
331
+ tmp_26.n2o_1 = tmp_30.s1m(this, getPropertyCallableRef('versionRegex', 1, tmp_31, CalculateVersion$_get_versionRegex_$ref_f466m5(), null));
332
332
  }
333
- protoOf(CalculateVersion).b1e = function () {
333
+ protoOf(CalculateVersion).i1d = function () {
334
334
  var tmp = new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj(this)));
335
335
  var tmp_0 = _get_implicitPatch__bjk4pa(this);
336
336
  var tmp_1 = _get_disableDetached__ys8kbb(this);
@@ -339,7 +339,7 @@
339
339
  // Inline function 'kotlin.run' call
340
340
  var $this$run = calculateNextVersion(tmp, tmp_0, tmp_1, tmp_2, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
341
341
  if ($this$run instanceof Success) {
342
- output(this, $this$run.vo_1, $this$run.wo_1);
342
+ output(this, $this$run.do_1, $this$run.eo_1);
343
343
  } else {
344
344
  if ($this$run instanceof Failure)
345
345
  throw new CliktError($this$run.e());
@@ -351,12 +351,12 @@
351
351
  function findInvocations($this, configAsElement, option) {
352
352
  var cursor = configAsElement;
353
353
  var parts_0 = parts($this, option);
354
- var _iterator__ex2g4s = parts_0.o();
355
- while (_iterator__ex2g4s.p()) {
356
- var part = _iterator__ex2g4s.q();
354
+ var _iterator__ex2g4s = parts_0.t();
355
+ while (_iterator__ex2g4s.u()) {
356
+ var part = _iterator__ex2g4s.v();
357
357
  if (!(cursor instanceof JsonObject))
358
358
  return emptyList();
359
- cursor = cursor.uc(part);
359
+ cursor = cursor.rc(part);
360
360
  }
361
361
  if (cursor == null)
362
362
  return emptyList();
@@ -366,15 +366,15 @@
366
366
  var this_0 = cursor;
367
367
  // Inline function 'kotlin.collections.mapTo' call
368
368
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
369
- var _iterator__ex2g4s_0 = this_0.o();
370
- while (_iterator__ex2g4s_0.p()) {
371
- var item = _iterator__ex2g4s_0.q();
372
- var tmp$ret$0 = Companion_instance_0.a1s(get_jsonPrimitive(item).c2d());
373
- destination.g(tmp$ret$0);
369
+ var _iterator__ex2g4s_0 = this_0.t();
370
+ while (_iterator__ex2g4s_0.u()) {
371
+ var item = _iterator__ex2g4s_0.v();
372
+ var tmp$ret$0 = Companion_instance_0.k1r(get_jsonPrimitive(item).m2c());
373
+ destination.x(tmp$ret$0);
374
374
  }
375
375
  return destination;
376
376
  }
377
- return Companion_instance_0.z1r(get_jsonPrimitive(cursor).c2d());
377
+ return Companion_instance_0.j1r(get_jsonPrimitive(cursor).m2c());
378
378
  } catch ($p) {
379
379
  if ($p instanceof IllegalArgumentException) {
380
380
  var _unused_var__etf5q3 = $p;
@@ -385,19 +385,19 @@
385
385
  }
386
386
  }
387
387
  function parts($this, _this__u8e3s4) {
388
- var tmp0_safe_receiver = _this__u8e3s4.p1e();
388
+ var tmp0_safe_receiver = _this__u8e3s4.w1d();
389
389
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : split(tmp0_safe_receiver, ['.']);
390
- return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.b1s(_this__u8e3s4))) : tmp1_elvis_lhs;
390
+ return tmp1_elvis_lhs == null ? listOf(kebabToCamelCase($this, Companion_instance_1.l1r(_this__u8e3s4))) : tmp1_elvis_lhs;
391
391
  }
392
392
  function kebabToCamelCase($this, _this__u8e3s4) {
393
393
  // Inline function 'kotlin.text.toRegex' call
394
394
  var pattern = Regex_init_$Create$_0('-[a-z]');
395
395
  // Inline function 'kotlin.text.replace' call
396
396
  var transform = ConfigFileSource$kebabToCamelCase$lambda;
397
- return pattern.oc(_this__u8e3s4, transform);
397
+ return pattern.lc(_this__u8e3s4, transform);
398
398
  }
399
399
  function readConfigFileAsJsonElement($this) {
400
- var pwd = $this.e2p_1('PWD');
400
+ var pwd = $this.o2o_1('PWD');
401
401
  var tmp0_elvis_lhs = readFromFile('' + pwd + '/.tagger');
402
402
  var tmp;
403
403
  if (tmp0_elvis_lhs == null) {
@@ -409,32 +409,32 @@
409
409
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
410
410
  var this_0 = Default_getInstance();
411
411
  // Inline function 'kotlinx.serialization.serializer' call
412
- var this_1 = this_0.ks();
412
+ var this_1 = this_0.sr();
413
413
  // Inline function 'kotlinx.serialization.internal.cast' call
414
414
  var this_2 = serializer(this_1, createKType(getKClass(TaggerConfig), arrayOf([]), false));
415
415
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
416
- var config = this_0.u2a(tmp$ret$1, fileContents);
416
+ var config = this_0.e2a(tmp$ret$1, fileContents);
417
417
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
418
418
  var this_3 = Default_getInstance();
419
419
  // Inline function 'kotlinx.serialization.serializer' call
420
- var this_4 = this_3.ks();
420
+ var this_4 = this_3.sr();
421
421
  // Inline function 'kotlinx.serialization.internal.cast' call
422
422
  var this_5 = serializer(this_4, createKType(getKClass(TaggerConfig), arrayOf([]), false));
423
423
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
424
- var configAsElement = this_3.v2a(tmp$ret$4, config);
424
+ var configAsElement = this_3.f2a(tmp$ret$4, config);
425
425
  return configAsElement;
426
426
  }
427
427
  function ConfigFileSource$kebabToCamelCase$lambda(it) {
428
428
  // Inline function 'kotlin.text.uppercase' call
429
- var this_0 = last(it.b1());
429
+ var this_0 = last(it.o1());
430
430
  // Inline function 'kotlin.js.asDynamic' call
431
431
  // Inline function 'kotlin.js.unsafeCast' call
432
432
  return toString(this_0).toUpperCase();
433
433
  }
434
434
  function ConfigFileSource(envvarReader) {
435
- this.e2p_1 = envvarReader;
435
+ this.o2o_1 = envvarReader;
436
436
  }
437
- protoOf(ConfigFileSource).n1n = function (context, option) {
437
+ protoOf(ConfigFileSource).u1m = function (context, option) {
438
438
  var tmp0_elvis_lhs = readConfigFileAsJsonElement(this);
439
439
  var tmp;
440
440
  if (tmp0_elvis_lhs == null) {
@@ -447,25 +447,25 @@
447
447
  };
448
448
  function _get_file__d6iv67($this) {
449
449
  var tmp = KProperty1;
450
- return $this.u2p_1.b1n($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
450
+ return $this.e2p_1.i1m($this, getPropertyCallableRef('file', 1, tmp, GenerateSettingsFile$_get_file_$ref_3dvoj2_0(), null));
451
451
  }
452
452
  function _get_merge__eb7eqv($this) {
453
453
  var tmp = KProperty1;
454
- return $this.v2p_1.b1n($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
454
+ return $this.f2p_1.i1m($this, getPropertyCallableRef('merge', 1, tmp, GenerateSettingsFile$_get_merge_$ref_3aq3hk_0(), null));
455
455
  }
456
456
  function mergeJson($this, defaultConfig, originalData) {
457
457
  // Inline function 'kotlinx.serialization.json.buildJsonObject' call
458
458
  var builder = new JsonObjectBuilder();
459
459
  // Inline function 'kotlin.collections.forEach' call
460
460
  // Inline function 'kotlin.collections.iterator' call
461
- var _iterator__ex2g4s = get_jsonObject(defaultConfig).z().o();
462
- while (_iterator__ex2g4s.p()) {
463
- var element = _iterator__ex2g4s.q();
461
+ var _iterator__ex2g4s = get_jsonObject(defaultConfig).m1().t();
462
+ while (_iterator__ex2g4s.u()) {
463
+ var element = _iterator__ex2g4s.v();
464
464
  // Inline function 'kotlin.collections.component1' call
465
- var key = element.a1();
465
+ var key = element.n1();
466
466
  // Inline function 'kotlin.collections.component2' call
467
- var value = element.b1();
468
- var originalValue = get_jsonObject(originalData).uc(key);
467
+ var value = element.o1();
468
+ var originalValue = get_jsonObject(originalData).rc(key);
469
469
  var tmp1_safe_receiver = originalValue == null ? null : get_jsonPrimitive(originalValue);
470
470
  var hasValue = !((tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver)) == null);
471
471
  var tmp;
@@ -474,9 +474,9 @@
474
474
  } else {
475
475
  tmp = value;
476
476
  }
477
- builder.k2d(key, tmp);
477
+ builder.u2c(key, tmp);
478
478
  }
479
- var mergeData = builder.e2c();
479
+ var mergeData = builder.o2b();
480
480
  return mergeData;
481
481
  }
482
482
  function GenerateSettingsFile$_get_file_$ref_3dvoj2() {
@@ -500,8 +500,8 @@
500
500
  };
501
501
  }
502
502
  function GenerateSettingsFile$run$lambda($this$Json) {
503
- $this$Json.q2b_1 = true;
504
- $this$Json.m2b_1 = true;
503
+ $this$Json.a2b_1 = true;
504
+ $this$Json.w2a_1 = true;
505
505
  return Unit_instance;
506
506
  }
507
507
  function GenerateSettingsFile() {
@@ -509,22 +509,22 @@
509
509
  var tmp = this;
510
510
  var tmp_0 = option(this, []);
511
511
  var tmp_1 = KProperty1;
512
- tmp.u2p_1 = tmp_0.l1n(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
512
+ tmp.e2p_1 = tmp_0.s1m(this, getPropertyCallableRef('file', 1, tmp_1, GenerateSettingsFile$_get_file_$ref_3dvoj2(), null));
513
513
  var tmp_2 = this;
514
514
  var tmp_3 = boolean(option(this, []));
515
515
  var tmp_4 = KProperty1;
516
- tmp_2.v2p_1 = tmp_3.l1n(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
516
+ tmp_2.f2p_1 = tmp_3.s1m(this, getPropertyCallableRef('merge', 1, tmp_4, GenerateSettingsFile$_get_merge_$ref_3aq3hk(), null));
517
517
  }
518
- protoOf(GenerateSettingsFile).b1e = function () {
518
+ protoOf(GenerateSettingsFile).i1d = function () {
519
519
  var prettyJsonFormatter = Json(VOID, GenerateSettingsFile$run$lambda);
520
520
  // Inline function 'kotlinx.serialization.json.encodeToJsonElement' call
521
521
  var value = get_runtimeDefaultConfig();
522
522
  // Inline function 'kotlinx.serialization.serializer' call
523
- var this_0 = prettyJsonFormatter.ks();
523
+ var this_0 = prettyJsonFormatter.sr();
524
524
  // Inline function 'kotlinx.serialization.internal.cast' call
525
525
  var this_1 = serializer(this_0, createKType(getKClass(TaggerConfig), arrayOf([]), false));
526
526
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
527
- var defaultConfig = prettyJsonFormatter.v2a(tmp$ret$1, value);
527
+ var defaultConfig = prettyJsonFormatter.f2a(tmp$ret$1, value);
528
528
  // Inline function 'kotlin.text.orEmpty' call
529
529
  var tmp0_elvis_lhs = _get_file__d6iv67(this);
530
530
  // Inline function 'kotlin.text.ifBlank' call
@@ -536,14 +536,14 @@
536
536
  tmp = this_2;
537
537
  }
538
538
  var fileName = tmp;
539
- var pwd = this.w19().n1a_1('PWD');
539
+ var pwd = this.e19().v19_1('PWD');
540
540
  var settingsFile = '' + pwd + '/' + fileName;
541
541
  var existingFileData = readFromFile(settingsFile);
542
542
  var tmp_0;
543
543
  if (!(existingFileData == null)) {
544
544
  var tmp_1;
545
545
  if (_get_merge__eb7eqv(this) === true) {
546
- var originalData = prettyJsonFormatter.w2a(existingFileData);
546
+ var originalData = prettyJsonFormatter.g2a(existingFileData);
547
547
  tmp_1 = mergeJson(this, defaultConfig, originalData);
548
548
  } else {
549
549
  throw new CliktError('File already exists.');
@@ -556,22 +556,22 @@
556
556
  if (_get_file__d6iv67(this) == null) {
557
557
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
558
558
  // Inline function 'kotlinx.serialization.serializer' call
559
- var this_3 = prettyJsonFormatter.ks();
559
+ var this_3 = prettyJsonFormatter.sr();
560
560
  // Inline function 'kotlinx.serialization.internal.cast' call
561
561
  var this_4 = serializer(this_3, createKType(getKClass(JsonElement), arrayOf([]), false));
562
562
  var tmp$ret$7 = isInterface(this_4, KSerializer) ? this_4 : THROW_CCE();
563
- var tmp$ret$8 = prettyJsonFormatter.t2a(tmp$ret$7, outputConfig);
564
- this.p1c(tmp$ret$8);
563
+ var tmp$ret$8 = prettyJsonFormatter.d2a(tmp$ret$7, outputConfig);
564
+ this.w1b(tmp$ret$8);
565
565
  } else {
566
566
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
567
567
  // Inline function 'kotlinx.serialization.serializer' call
568
- var this_5 = prettyJsonFormatter.ks();
568
+ var this_5 = prettyJsonFormatter.sr();
569
569
  // Inline function 'kotlinx.serialization.internal.cast' call
570
570
  var this_6 = serializer(this_5, createKType(getKClass(JsonElement), arrayOf([]), false));
571
571
  var tmp$ret$10 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
572
- var tmp$ret$11 = prettyJsonFormatter.t2a(tmp$ret$10, outputConfig);
572
+ var tmp$ret$11 = prettyJsonFormatter.d2a(tmp$ret$10, outputConfig);
573
573
  writeToFile(tmp$ret$11, settingsFile);
574
- this.p1c('Saved to ' + fileName);
574
+ this.w1b('Saved to ' + fileName);
575
575
  }
576
576
  };
577
577
  function main_0(args) {
@@ -585,11 +585,11 @@
585
585
  }
586
586
  function _get_gitRepoArgument__zxde8_0($this) {
587
587
  var tmp = KProperty1;
588
- return $this.l2q_1.b1n($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
588
+ return $this.v2p_1.i1m($this, getPropertyCallableRef('gitRepoArgument', 1, tmp, Tag$_get_gitRepoArgument_$ref_dketaj_0(), null));
589
589
  }
590
590
  function _get_gitRepoOption__rk7ta0_0($this) {
591
591
  var tmp = KProperty1;
592
- return $this.m2q_1.b1n($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
592
+ return $this.w2p_1.i1m($this, getPropertyCallableRef('gitRepoOption', 1, tmp, Tag$_get_gitRepoOption_$ref_10iywz_0(), null));
593
593
  }
594
594
  function _get_workingDirectory__eyfbj_0($this) {
595
595
  var tmp0_elvis_lhs = _get_gitRepoArgument__zxde8_0($this);
@@ -604,26 +604,26 @@
604
604
  }
605
605
  function _get_releaseBranch__pqrgbs_0($this) {
606
606
  var tmp = KProperty1;
607
- return $this.n2q_1.b1n($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
607
+ return $this.x2p_1.i1m($this, getPropertyCallableRef('releaseBranch', 1, tmp, Tag$_get_releaseBranch_$ref_rq8rmb_0(), null));
608
608
  }
609
609
  function _get_version__2bx7w9($this) {
610
610
  var tmp = KProperty1;
611
- return $this.o2q_1.b1n($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
611
+ return $this.y2p_1.i1m($this, getPropertyCallableRef('version', 1, tmp, Tag$_get_version_$ref_p7wb9e_0(), null));
612
612
  }
613
613
  function _get_userName__tupjmd($this) {
614
614
  var tmp = KProperty1;
615
- return $this.p2q_1.b1n($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
615
+ return $this.z2p_1.i1m($this, getPropertyCallableRef('userName', 1, tmp, Tag$_get_userName_$ref_kslo5u_0(), null));
616
616
  }
617
617
  function _get_userEmail__21hfkw($this) {
618
618
  var tmp = KProperty1;
619
- return $this.q2q_1.b1n($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
619
+ return $this.a2q_1.i1m($this, getPropertyCallableRef('userEmail', 1, tmp, Tag$_get_userEmail_$ref_vl09cr_0(), null));
620
620
  }
621
621
  function _get_warningsAsErrors__7mpwfd($this) {
622
622
  var tmp = KProperty1;
623
- return $this.r2q_1.b1n($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
623
+ return $this.b2q_1.i1m($this, getPropertyCallableRef('warningsAsErrors', 1, tmp, Tag$_get_warningsAsErrors_$ref_gj8a6o_0(), null));
624
624
  }
625
625
  function Tag$lambda($this$context) {
626
- $this$context.j1d([new ConfigFileSource($this$context.f1d_1)]);
626
+ $this$context.q1c([new ConfigFileSource($this$context.m1c_1)]);
627
627
  return Unit_instance;
628
628
  }
629
629
  function Tag$_get_gitRepoArgument_$ref_dketaj() {
@@ -702,43 +702,43 @@
702
702
  var tmp = this;
703
703
  var tmp_0 = optional(argument(this, 'git-repo'));
704
704
  var tmp_1 = KProperty1;
705
- tmp.l2q_1 = tmp_0.h1m(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
705
+ tmp.v2p_1 = tmp_0.o1l(this, getPropertyCallableRef('gitRepoArgument', 1, tmp_1, Tag$_get_gitRepoArgument_$ref_dketaj(), null));
706
706
  var tmp_2 = this;
707
707
  var tmp_3 = option(this, ['--git-repo'], VOID, VOID, VOID, 'PWD');
708
708
  var tmp_4 = KProperty1;
709
- tmp_2.m2q_1 = tmp_3.l1n(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
709
+ tmp_2.w2p_1 = tmp_3.s1m(this, getPropertyCallableRef('gitRepoOption', 1, tmp_4, Tag$_get_gitRepoOption_$ref_10iywz(), null));
710
710
  var tmp_5 = this;
711
711
  var tmp_6 = required(option(this, []));
712
712
  var tmp_7 = KProperty1;
713
- tmp_5.n2q_1 = tmp_6.l1n(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
713
+ tmp_5.x2p_1 = tmp_6.s1m(this, getPropertyCallableRef('releaseBranch', 1, tmp_7, Tag$_get_releaseBranch_$ref_rq8rmb(), null));
714
714
  var tmp_8 = this;
715
715
  var tmp_9 = required(option(this, []));
716
716
  var tmp_10 = KProperty1;
717
- tmp_8.o2q_1 = tmp_9.l1n(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
717
+ tmp_8.y2p_1 = tmp_9.s1m(this, getPropertyCallableRef('version', 1, tmp_10, Tag$_get_version_$ref_p7wb9e(), null));
718
718
  var tmp_11 = this;
719
719
  var tmp_12 = option(this, []);
720
720
  var tmp_13 = KProperty1;
721
- tmp_11.p2q_1 = tmp_12.l1n(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
721
+ tmp_11.z2p_1 = tmp_12.s1m(this, getPropertyCallableRef('userName', 1, tmp_13, Tag$_get_userName_$ref_kslo5u(), null));
722
722
  var tmp_14 = this;
723
723
  var tmp_15 = option(this, []);
724
724
  var tmp_16 = KProperty1;
725
- tmp_14.q2q_1 = tmp_15.l1n(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
725
+ tmp_14.a2q_1 = tmp_15.s1m(this, getPropertyCallableRef('userEmail', 1, tmp_16, Tag$_get_userEmail_$ref_vl09cr(), null));
726
726
  var tmp_17 = this;
727
727
  var tmp_18 = default_0(boolean(option(this, [])), false);
728
728
  var tmp_19 = KProperty1;
729
- tmp_17.r2q_1 = tmp_18.l1n(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
729
+ tmp_17.b2q_1 = tmp_18.s1m(this, getPropertyCallableRef('warningsAsErrors', 1, tmp_19, Tag$_get_warningsAsErrors_$ref_gj8a6o(), null));
730
730
  }
731
- protoOf(Tag).b1e = function () {
731
+ protoOf(Tag).i1d = function () {
732
732
  // Inline function 'kotlin.let' call
733
733
  var it = tag(new TaggerCore(new GitAdapter(_get_workingDirectory__eyfbj_0(this))), _get_version__2bx7w9(this), _get_releaseBranch__pqrgbs_0(this), _get_userName__tupjmd(this), _get_userEmail__21hfkw(this));
734
734
  if (equals(it, Success_getInstance())) {
735
- this.p1c('Success!');
735
+ this.w1b('Success!');
736
736
  } else {
737
737
  if (it instanceof Error_0)
738
738
  if (_get_warningsAsErrors__7mpwfd(this)) {
739
- throw new CliktError(it.oo_1);
739
+ throw new CliktError(it.wn_1);
740
740
  } else {
741
- this.p1c(it.oo_1, VOID, true);
741
+ this.w1b(it.wn_1, VOID, true);
742
742
  }
743
743
  else {
744
744
  noWhenBranchMatchedException();
@@ -747,12 +747,12 @@
747
747
  };
748
748
  function _get_quiet__c6dzoj($this) {
749
749
  var tmp = KProperty1;
750
- return $this.h2r_1.b1n($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
750
+ return $this.r2q_1.i1m($this, getPropertyCallableRef('quiet', 1, tmp, Tagger$_get_quiet_$ref_s522ri_0(), null));
751
751
  }
752
752
  function Tagger$lambda($version, $this) {
753
753
  return function ($this$eagerOption) {
754
754
  var it = $version;
755
- var tmp$ret$0 = $this.h19_1 + ' version ' + it;
755
+ var tmp$ret$0 = $this.p18_1 + ' version ' + it;
756
756
  throw new PrintMessage(tmp$ret$0);
757
757
  };
758
758
  }
@@ -769,18 +769,18 @@
769
769
  function Tagger() {
770
770
  CliktCommand.call(this);
771
771
  // Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
772
- var version = Versions_instance.e2o_1;
772
+ var version = Versions_instance.o2n_1;
773
773
  var help = 'Show the version and exit';
774
774
  var names = setOf('--version');
775
775
  eagerOption(this, names, help, VOID, VOID, VOID, Tagger$lambda(version, this));
776
776
  var tmp = this;
777
777
  var tmp_0 = flag(option(this, ['--quiet', '-q']), [], false);
778
778
  var tmp_1 = KProperty1;
779
- tmp.h2r_1 = tmp_0.l1n(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
779
+ tmp.r2q_1 = tmp_0.s1m(this, getPropertyCallableRef('quiet', 1, tmp_1, Tagger$_get_quiet_$ref_s522ri(), null));
780
780
  }
781
- protoOf(Tagger).b1e = function () {
781
+ protoOf(Tagger).i1d = function () {
782
782
  if (!_get_quiet__c6dzoj(this)) {
783
- this.p1c('Welcome to Tagger CLI.');
783
+ this.w1b('Welcome to Tagger CLI.');
784
784
  }
785
785
  };
786
786
  //region block: init