@flock/wirespec 0.7.6 → 0.7.9

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.
Files changed (56) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +397 -616
  2. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.map +1 -1
  3. package/kotlin/arrow-arrow-atomic.js +15 -15
  4. package/kotlin/arrow-arrow-continuations.js +3 -3
  5. package/kotlin/arrow-arrow-core.js +98 -94
  6. package/kotlin/arrow-arrow-core.js.map +1 -1
  7. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +2112 -3172
  8. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  9. package/kotlin/kotlin-openapi-bindings.js +3772 -4589
  10. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  11. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  12. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1682 -2034
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  15. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1308 -1619
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  17. package/kotlin/{wirespec-cli.js → wirespec-src-compiler-cli.js} +263 -378
  18. package/kotlin/wirespec-src-compiler-cli.js.map +1 -0
  19. package/kotlin/{wirespec-core.js → wirespec-src-compiler-core.js} +3138 -2606
  20. package/kotlin/wirespec-src-compiler-core.js.map +1 -0
  21. package/kotlin/{wirespec-lib.js → wirespec-src-compiler-lib.js} +100 -132
  22. package/kotlin/wirespec-src-compiler-lib.js.map +1 -0
  23. package/kotlin/{wirespec-openapi.js → wirespec-src-openapi.js} +878 -1665
  24. package/kotlin/wirespec-src-openapi.js.map +1 -0
  25. package/package.json +6 -4
  26. package/kotlin/wirespec-cli.js.map +0 -1
  27. package/kotlin/wirespec-core.js.map +0 -1
  28. package/kotlin/wirespec-lib.js.map +0 -1
  29. package/kotlin/wirespec-openapi.js.map +0 -1
  30. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +0 -1
  31. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.map.hash +0 -1
  32. package/sync-hashes/arrow-arrow-annotations.js.hash +0 -1
  33. package/sync-hashes/arrow-arrow-annotations.js.map.hash +0 -1
  34. package/sync-hashes/arrow-arrow-atomic.js.hash +0 -1
  35. package/sync-hashes/arrow-arrow-atomic.js.map.hash +0 -1
  36. package/sync-hashes/arrow-arrow-continuations.js.hash +0 -1
  37. package/sync-hashes/arrow-arrow-continuations.js.map.hash +0 -1
  38. package/sync-hashes/arrow-arrow-core.js.hash +0 -1
  39. package/sync-hashes/arrow-arrow-core.js.map.hash +0 -1
  40. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +0 -1
  41. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +0 -1
  42. package/sync-hashes/kotlin-openapi-bindings.js.hash +0 -1
  43. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +0 -1
  44. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +0 -1
  45. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +0 -1
  46. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +0 -1
  47. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +0 -1
  48. package/sync-hashes/wirespec-bin.js.hash +0 -1
  49. package/sync-hashes/wirespec-cli.js.hash +0 -1
  50. package/sync-hashes/wirespec-cli.js.map.hash +0 -1
  51. package/sync-hashes/wirespec-core.js.hash +0 -1
  52. package/sync-hashes/wirespec-core.js.map.hash +0 -1
  53. package/sync-hashes/wirespec-lib.js.hash +0 -1
  54. package/sync-hashes/wirespec-lib.js.map.hash +0 -1
  55. package/sync-hashes/wirespec-openapi.js.hash +0 -1
  56. package/sync-hashes/wirespec-openapi.js.map.hash +0 -1
@@ -12,65 +12,65 @@
12
12
  }(this, function (_, kotlin_kotlin) {
13
13
  'use strict';
14
14
  //region block: imports
15
- var Unit_getInstance = kotlin_kotlin.$_$.i3;
16
- var Enum = kotlin_kotlin.$_$.s9;
17
- var protoOf = kotlin_kotlin.$_$.s7;
18
- var classMeta = kotlin_kotlin.$_$.p6;
19
- var VOID = kotlin_kotlin.$_$.bb;
20
- var setMetadataFor = kotlin_kotlin.$_$.t7;
21
- var toString = kotlin_kotlin.$_$.x7;
15
+ var Unit_getInstance = kotlin_kotlin.$_$.h3;
16
+ var Enum = kotlin_kotlin.$_$.t9;
17
+ var protoOf = kotlin_kotlin.$_$.t7;
18
+ var classMeta = kotlin_kotlin.$_$.q6;
19
+ var VOID = kotlin_kotlin.$_$.cb;
20
+ var setMetadataFor = kotlin_kotlin.$_$.u7;
21
+ var toString = kotlin_kotlin.$_$.y7;
22
22
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.e1;
23
- var throwKotlinNothingValueException = kotlin_kotlin.$_$.ya;
24
- var ensureNotNull = kotlin_kotlin.$_$.qa;
25
- var startsWith = kotlin_kotlin.$_$.a9;
26
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.i1;
27
- var charArrayOf = kotlin_kotlin.$_$.k6;
28
- var split = kotlin_kotlin.$_$.y8;
29
- var charSequenceLength = kotlin_kotlin.$_$.n6;
30
- var charSequenceGet = kotlin_kotlin.$_$.m6;
31
- var Char = kotlin_kotlin.$_$.p9;
32
- var println = kotlin_kotlin.$_$.g6;
23
+ var throwKotlinNothingValueException = kotlin_kotlin.$_$.za;
24
+ var ensureNotNull = kotlin_kotlin.$_$.ra;
25
+ var startsWith = kotlin_kotlin.$_$.b9;
26
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.h1;
27
+ var charArrayOf = kotlin_kotlin.$_$.l6;
28
+ var split = kotlin_kotlin.$_$.z8;
29
+ var charSequenceLength = kotlin_kotlin.$_$.o6;
30
+ var charSequenceGet = kotlin_kotlin.$_$.n6;
31
+ var Char = kotlin_kotlin.$_$.q9;
32
+ var println = kotlin_kotlin.$_$.h6;
33
33
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.p;
34
34
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
35
35
  var mutableListOf = kotlin_kotlin.$_$.l5;
36
36
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.b1;
37
37
  var listOf = kotlin_kotlin.$_$.h5;
38
- var asList = kotlin_kotlin.$_$.a4;
39
- var checkIndexOverflow = kotlin_kotlin.$_$.b4;
40
- var THROW_CCE = kotlin_kotlin.$_$.ba;
38
+ var asList = kotlin_kotlin.$_$.z3;
39
+ var checkIndexOverflow = kotlin_kotlin.$_$.a4;
40
+ var THROW_CCE = kotlin_kotlin.$_$.ca;
41
41
  var listOf_0 = kotlin_kotlin.$_$.i5;
42
42
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
43
- var Map = kotlin_kotlin.$_$.u3;
44
- var isInterface = kotlin_kotlin.$_$.h7;
45
- var startsWith_0 = kotlin_kotlin.$_$.b9;
43
+ var Map = kotlin_kotlin.$_$.t3;
44
+ var isInterface = kotlin_kotlin.$_$.i7;
45
+ var startsWith_0 = kotlin_kotlin.$_$.c9;
46
46
  var union = kotlin_kotlin.$_$.b6;
47
47
  var listOfNotNull = kotlin_kotlin.$_$.g5;
48
48
  var plus = kotlin_kotlin.$_$.o5;
49
- var until = kotlin_kotlin.$_$.b8;
49
+ var until = kotlin_kotlin.$_$.c8;
50
50
  var slice = kotlin_kotlin.$_$.t5;
51
51
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
52
52
  var joinToString = kotlin_kotlin.$_$.a5;
53
- var interfaceMeta = kotlin_kotlin.$_$.y6;
54
- var collectionSizeOrDefault = kotlin_kotlin.$_$.c4;
55
- var to = kotlin_kotlin.$_$.ab;
56
- var copyToArray = kotlin_kotlin.$_$.o4;
53
+ var interfaceMeta = kotlin_kotlin.$_$.z6;
54
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b4;
55
+ var to = kotlin_kotlin.$_$.bb;
56
+ var copyToArray = kotlin_kotlin.$_$.n4;
57
57
  var linkedMapOf = kotlin_kotlin.$_$.f5;
58
- var objectMeta = kotlin_kotlin.$_$.r7;
58
+ var objectMeta = kotlin_kotlin.$_$.s7;
59
59
  var mapCapacity = kotlin_kotlin.$_$.j5;
60
- var coerceAtLeast = kotlin_kotlin.$_$.y7;
60
+ var coerceAtLeast = kotlin_kotlin.$_$.z7;
61
61
  var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.o;
62
- var Exception = kotlin_kotlin.$_$.t9;
62
+ var Exception = kotlin_kotlin.$_$.u9;
63
63
  var Exception_init_$Init$ = kotlin_kotlin.$_$.y;
64
- var captureStack = kotlin_kotlin.$_$.j6;
65
- var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.za;
66
- var split_0 = kotlin_kotlin.$_$.z8;
67
- var hashCode = kotlin_kotlin.$_$.x6;
68
- var equals = kotlin_kotlin.$_$.r6;
64
+ var captureStack = kotlin_kotlin.$_$.k6;
65
+ var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.ab;
66
+ var split_0 = kotlin_kotlin.$_$.a9;
67
+ var hashCode = kotlin_kotlin.$_$.y6;
68
+ var equals = kotlin_kotlin.$_$.s6;
69
69
  var AssertionError_init_$Create$ = kotlin_kotlin.$_$.x;
70
- var List = kotlin_kotlin.$_$.s3;
71
- var lazy = kotlin_kotlin.$_$.va;
72
- var KProperty1 = kotlin_kotlin.$_$.e8;
73
- var getPropertyCallableRef = kotlin_kotlin.$_$.v6;
70
+ var List = kotlin_kotlin.$_$.r3;
71
+ var lazy = kotlin_kotlin.$_$.wa;
72
+ var KProperty1 = kotlin_kotlin.$_$.f8;
73
+ var getPropertyCallableRef = kotlin_kotlin.$_$.w6;
74
74
  //endregion
75
75
  //region block: pre-declaration
76
76
  setMetadataFor(ValueOrigin, 'ValueOrigin', classMeta, Enum);
@@ -145,134 +145,112 @@
145
145
  function inspectRequiredAndDefaultUsage($this) {
146
146
  var previousArgument = null;
147
147
  // Inline function 'kotlin.collections.forEach' call
148
- var tmp0_forEach = $this.u1u_1;
149
- var tmp$ret$0;
150
148
  // Inline function 'kotlin.collections.iterator' call
151
- tmp$ret$0 = tmp0_forEach.u().c();
152
- var tmp0_iterator = tmp$ret$0;
149
+ var tmp0_iterator = $this.m1v_1.u().c();
153
150
  while (tmp0_iterator.d()) {
154
151
  var element = tmp0_iterator.e();
155
152
  // Inline function 'kotlinx.cli.ArgParser.inspectRequiredAndDefaultUsage.<anonymous>' call
156
- var tmp$ret$1;
157
153
  // Inline function 'kotlin.collections.component2' call
158
- tmp$ret$1 = element.w();
159
- var currentArgument = tmp$ret$1;
154
+ var currentArgument = element.w();
160
155
  var tmp0_safe_receiver = previousArgument;
161
156
  if (tmp0_safe_receiver == null)
162
157
  null;
163
158
  else {
164
- var tmp$ret$2;
165
159
  // Inline function 'kotlin.let' call
166
160
  // Inline function 'kotlin.contracts.contract' call
167
- if (tmp0_safe_receiver.p1v_1.s1v()) {
168
- if (!currentArgument.p1v_1.s1v() ? currentArgument.p1v_1.m1v_1 : false) {
161
+ if (tmp0_safe_receiver.h1w_1.k1w()) {
162
+ if (!currentArgument.h1w_1.k1w() ? currentArgument.h1w_1.e1w_1 : false) {
169
163
  // Inline function 'kotlin.error' call
170
- var tmp0_error = 'Default value of argument ' + tmp0_safe_receiver.p1v_1.j1v_1 + ' will be unused, ' + ('because next argument ' + currentArgument.p1v_1.j1v_1 + ' is always required and has no default value.');
164
+ var tmp0_error = 'Default value of argument ' + tmp0_safe_receiver.h1w_1.b1w_1 + ' will be unused, ' + ('because next argument ' + currentArgument.h1w_1.b1w_1 + ' is always required and has no default value.');
171
165
  throw IllegalStateException_init_$Create$(toString(tmp0_error));
172
166
  }
173
167
  }
174
168
  var tmp;
175
- if (!tmp0_safe_receiver.p1v_1.m1v_1) {
169
+ if (!tmp0_safe_receiver.h1w_1.e1w_1) {
176
170
  var tmp_0;
177
- if (!currentArgument.p1v_1.s1v() ? currentArgument.p1v_1.m1v_1 : false) {
178
- var tmp1_error = 'Argument ' + tmp0_safe_receiver.p1v_1.j1v_1 + ' will be always required, ' + ('because next argument ' + currentArgument.p1v_1.j1v_1 + ' is always required.');
171
+ if (!currentArgument.h1w_1.k1w() ? currentArgument.h1w_1.e1w_1 : false) {
172
+ var tmp1_error = 'Argument ' + tmp0_safe_receiver.h1w_1.b1w_1 + ' will be always required, ' + ('because next argument ' + currentArgument.h1w_1.b1w_1 + ' is always required.');
179
173
  throw IllegalStateException_init_$Create$(toString(tmp1_error));
180
174
  }
181
175
  tmp = tmp_0;
182
176
  }
183
- tmp$ret$2 = tmp;
184
177
  }
185
178
  previousArgument = currentArgument;
186
179
  }
187
180
  }
188
181
  function printError($this, message) {
189
- $this.h1v_1(message + '\n' + $this.t1v(), 127);
182
+ $this.z1v_1(message + '\n' + $this.l1w(), 127);
190
183
  throwKotlinNothingValueException();
191
184
  }
192
185
  function saveAsArg($this, arg, argumentsQueue) {
193
- var name = argumentsQueue.v1v();
194
- var tmp0_safe_receiver = name;
195
- if (tmp0_safe_receiver == null)
186
+ var name = argumentsQueue.n1w();
187
+ if (name == null)
196
188
  null;
197
189
  else {
198
- var tmp$ret$1;
199
190
  // Inline function 'kotlin.let' call
200
191
  // Inline function 'kotlin.contracts.contract' call
201
- var argumentValue = ensureNotNull($this.u1u_1.m2(name));
202
- var tmp0_safe_receiver_0 = argumentValue.p1v_1.n1v_1;
203
- if (tmp0_safe_receiver_0 == null)
192
+ var argumentValue = ensureNotNull($this.m1v_1.n2(name));
193
+ var tmp0_safe_receiver = argumentValue.h1w_1.f1w_1;
194
+ if (tmp0_safe_receiver == null)
204
195
  null;
205
196
  else {
206
- var tmp$ret$0;
207
197
  // Inline function 'kotlin.let' call
208
198
  // Inline function 'kotlin.contracts.contract' call
209
- printWarning(tmp0_safe_receiver_0);
210
- tmp$ret$0 = Unit_getInstance();
199
+ printWarning(tmp0_safe_receiver);
211
200
  }
212
- argumentValue.w1v(arg);
201
+ argumentValue.o1w(arg);
213
202
  return true;
214
203
  }
215
204
  return false;
216
205
  }
217
206
  function treatAsArgument($this, arg, argumentsQueue) {
218
207
  if (!saveAsArg($this, arg, argumentsQueue)) {
219
- var tmp0_safe_receiver = $this.g1v_1;
220
208
  var tmp;
221
- if (tmp0_safe_receiver == null) {
209
+ if ($this.y1v_1 == null) {
222
210
  tmp = null;
223
211
  } else {
224
- var tmp$ret$1;
225
212
  // Inline function 'kotlin.let' call
226
213
  // Inline function 'kotlin.contracts.contract' call
227
- var tmp$ret$0;
228
214
  // Inline function 'kotlinx.cli.ArgParser.treatAsArgument.<anonymous>' call
229
- tmp$ret$0 = ($this.d1v_1 ? $this.f1v_1 : $this.e1v_1).a(arg);
230
- tmp$ret$1 = tmp$ret$0;
231
- tmp = tmp$ret$1;
215
+ tmp = ($this.v1v_1 ? $this.x1v_1 : $this.w1v_1).a(arg);
232
216
  }
233
- var tmp1_elvis_lhs = tmp;
234
- if (tmp1_elvis_lhs == null) {
217
+ if (tmp == null) {
235
218
  printError($this, "Too many arguments! Couldn't process argument " + arg + '!');
236
- } else
237
- tmp1_elvis_lhs;
219
+ }
238
220
  }
239
221
  }
240
222
  function saveAsOption($this, parsingValue, value) {
241
- parsingValue.w1v(value);
223
+ parsingValue.o1w(value);
242
224
  }
243
225
  function recognizeAndSaveOptionFullForm($this, candidate, argIterator) {
244
- if ($this.q1u_1.equals(OptionPrefixStyle_GNU_getInstance()) ? candidate === $this.a1v_1 : false) {
245
- $this.d1v_1 = false;
226
+ if ($this.i1v_1.equals(OptionPrefixStyle_GNU_getInstance()) ? candidate === $this.s1v_1 : false) {
227
+ $this.v1v_1 = false;
246
228
  return false;
247
229
  }
248
- if (!startsWith(candidate, $this.a1v_1))
230
+ if (!startsWith(candidate, $this.s1v_1))
249
231
  return false;
250
- var tmp$ret$1;
251
232
  // Inline function 'kotlin.text.substring' call
252
- var tmp0_substring = $this.a1v_1.length;
253
- var tmp$ret$0;
233
+ var tmp0_substring = $this.s1v_1.length;
254
234
  // Inline function 'kotlin.js.asDynamic' call
255
- tmp$ret$0 = candidate;
256
- tmp$ret$1 = tmp$ret$0.substring(tmp0_substring);
257
- var optionString = tmp$ret$1;
258
- var argValue = $this.q1u_1.equals(OptionPrefixStyle_GNU_getInstance()) ? null : $this.t1u_1.m2(optionString);
235
+ var optionString = candidate.substring(tmp0_substring);
236
+ var argValue = $this.i1v_1.equals(OptionPrefixStyle_GNU_getInstance()) ? null : $this.l1v_1.n2(optionString);
259
237
  if (!(argValue == null)) {
260
238
  saveStandardOptionForm($this, argValue, argIterator);
261
239
  return true;
262
240
  } else {
263
- if ($this.q1u_1.equals(OptionPrefixStyle_GNU_getInstance())) {
264
- var tmp0_safe_receiver = $this.t1u_1.m2(optionString);
265
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p1v_1;
266
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.i1v_1;
267
- if ((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.y1v_1) === false) {
268
- $this.x1v(ensureNotNull($this.t1u_1.m2(optionString)));
241
+ if ($this.i1v_1.equals(OptionPrefixStyle_GNU_getInstance())) {
242
+ var tmp0_safe_receiver = $this.l1v_1.n2(optionString);
243
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h1w_1;
244
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a1w_1;
245
+ if ((tmp2_safe_receiver == null ? null : tmp2_safe_receiver.q1w_1) === false) {
246
+ $this.p1w(ensureNotNull($this.l1v_1.n2(optionString)));
269
247
  return true;
270
248
  }
271
249
  var optionParts = split(optionString, charArrayOf([_Char___init__impl__6a9atx(61)]), VOID, 2);
272
250
  if (!(optionParts.f() === 2))
273
251
  return false;
274
- if (!($this.t1u_1.m2(optionParts.h(0)) == null)) {
275
- saveAsOption($this, ensureNotNull($this.t1u_1.m2(optionParts.h(0))), optionParts.h(1));
252
+ if (!($this.l1v_1.n2(optionParts.h(0)) == null)) {
253
+ saveAsOption($this, ensureNotNull($this.l1v_1.n2(optionParts.h(0))), optionParts.h(1));
276
254
  return true;
277
255
  }
278
256
  }
@@ -280,43 +258,37 @@
280
258
  return false;
281
259
  }
282
260
  function saveStandardOptionForm($this, argValue, argIterator) {
283
- if (argValue.p1v_1.i1v_1.y1v_1) {
261
+ if (argValue.h1w_1.a1w_1.q1w_1) {
284
262
  if (argIterator.d()) {
285
263
  saveAsOption($this, argValue, argIterator.e());
286
264
  } else {
287
- printError($this, 'No value for ' + argValue.p1v_1.z1v());
265
+ printError($this, 'No value for ' + argValue.h1w_1.r1w());
288
266
  }
289
267
  } else {
290
- $this.x1v(argValue);
268
+ $this.p1w(argValue);
291
269
  }
292
270
  }
293
271
  function recognizeAndSaveOptionShortForm($this, candidate, argIterator) {
294
- if (!startsWith(candidate, $this.b1v_1) ? true : !($this.a1v_1 === $this.b1v_1) ? startsWith(candidate, $this.a1v_1) : false)
272
+ if (!startsWith(candidate, $this.t1v_1) ? true : !($this.s1v_1 === $this.t1v_1) ? startsWith(candidate, $this.s1v_1) : false)
295
273
  return false;
296
- var tmp$ret$1;
297
274
  // Inline function 'kotlin.text.substring' call
298
- var tmp0_substring = $this.b1v_1.length;
299
- var tmp$ret$0;
275
+ var tmp0_substring = $this.t1v_1.length;
300
276
  // Inline function 'kotlin.js.asDynamic' call
301
- tmp$ret$0 = candidate;
302
- tmp$ret$1 = tmp$ret$0.substring(tmp0_substring);
303
- var option = tmp$ret$1;
304
- var argValue = $this.z1u_1.m2(option);
277
+ var option = candidate.substring(tmp0_substring);
278
+ var argValue = $this.r1v_1.n2(option);
305
279
  if (!(argValue == null)) {
306
280
  saveStandardOptionForm($this, argValue, argIterator);
307
281
  } else {
308
282
  var tmp;
309
- if (!$this.q1u_1.equals(OptionPrefixStyle_GNU_getInstance())) {
283
+ if (!$this.i1v_1.equals(OptionPrefixStyle_GNU_getInstance())) {
310
284
  tmp = true;
311
285
  } else {
312
- var tmp$ret$2;
313
286
  // Inline function 'kotlin.text.isEmpty' call
314
- tmp$ret$2 = charSequenceLength(option) === 0;
315
- tmp = tmp$ret$2;
287
+ tmp = charSequenceLength(option) === 0;
316
288
  }
317
289
  if (tmp)
318
290
  return false;
319
- var tmp0_elvis_lhs = $this.z1u_1.m2('' + new Char(charSequenceGet(option, 0)));
291
+ var tmp0_elvis_lhs = $this.r1v_1.n2('' + new Char(charSequenceGet(option, 0)));
320
292
  var tmp_0;
321
293
  if (tmp0_elvis_lhs == null) {
322
294
  return false;
@@ -324,50 +296,39 @@
324
296
  tmp_0 = tmp0_elvis_lhs;
325
297
  }
326
298
  var firstOption = tmp_0;
327
- if (firstOption.p1v_1.i1v_1.y1v_1) {
299
+ if (firstOption.h1w_1.a1w_1.q1w_1) {
328
300
  var tmp$ret$4;
329
301
  // Inline function 'kotlin.text.substring' call
330
- var tmp$ret$3;
331
302
  // Inline function 'kotlin.js.asDynamic' call
332
- tmp$ret$3 = option;
333
- tmp$ret$4 = tmp$ret$3.substring(1);
303
+ tmp$ret$4 = option.substring(1);
334
304
  saveAsOption($this, firstOption, tmp$ret$4);
335
305
  } else {
336
- var tmp$ret$6;
337
306
  // Inline function 'kotlin.text.substring' call
338
- var tmp$ret$5;
339
307
  // Inline function 'kotlin.js.asDynamic' call
340
- tmp$ret$5 = option;
341
- tmp$ret$6 = tmp$ret$5.substring(1);
342
- var otherBooleanOptions = tmp$ret$6;
343
- $this.x1v(firstOption);
344
- var indexedObject = otherBooleanOptions;
308
+ var otherBooleanOptions = option.substring(1);
309
+ $this.p1w(firstOption);
345
310
  var inductionVariable = 0;
346
- var last = indexedObject.length;
311
+ var last = otherBooleanOptions.length;
347
312
  while (inductionVariable < last) {
348
- var opt = charSequenceGet(indexedObject, inductionVariable);
313
+ var opt = charSequenceGet(otherBooleanOptions, inductionVariable);
349
314
  inductionVariable = inductionVariable + 1 | 0;
350
- var tmp2_safe_receiver = $this.z1u_1.m2('' + new Char(opt));
315
+ var tmp2_safe_receiver = $this.r1v_1.n2('' + new Char(opt));
351
316
  var tmp_1;
352
317
  if (tmp2_safe_receiver == null) {
353
318
  tmp_1 = null;
354
319
  } else {
355
- var tmp$ret$7;
356
320
  // Inline function 'kotlin.let' call
357
321
  // Inline function 'kotlin.contracts.contract' call
358
322
  var tmp_2;
359
- if (tmp2_safe_receiver.p1v_1.i1v_1.y1v_1) {
360
- printError($this, 'Option ' + $this.b1v_1 + new Char(opt) + " can't be used in option combination " + candidate + ', ' + ('because parameter value of type ' + tmp2_safe_receiver.p1v_1.i1v_1.a1w() + ' should be ') + 'provided for current option.');
323
+ if (tmp2_safe_receiver.h1w_1.a1w_1.q1w_1) {
324
+ printError($this, 'Option ' + $this.t1v_1 + new Char(opt) + " can't be used in option combination " + candidate + ', ' + ('because parameter value of type ' + tmp2_safe_receiver.h1w_1.a1w_1.s1w() + ' should be ') + 'provided for current option.');
361
325
  }
362
- tmp$ret$7 = tmp_2;
363
326
  tmp_1 = Unit_getInstance();
364
327
  }
365
- var tmp3_elvis_lhs = tmp_1;
366
- if (tmp3_elvis_lhs == null) {
367
- printError($this, 'Unknown option ' + $this.b1v_1 + new Char(opt) + ' in option combination ' + candidate + '.');
368
- } else {
328
+ if (tmp_1 == null) {
329
+ printError($this, 'Unknown option ' + $this.t1v_1 + new Char(opt) + ' in option combination ' + candidate + '.');
369
330
  }
370
- $this.x1v(ensureNotNull($this.z1u_1.m2('' + new Char(opt))));
331
+ $this.p1w(ensureNotNull($this.r1v_1.n2('' + new Char(opt))));
371
332
  }
372
333
  }
373
334
  }
@@ -410,386 +371,314 @@
410
371
  prefixStyle = prefixStyle === VOID ? OptionPrefixStyle_LINUX_getInstance() : prefixStyle;
411
372
  skipExtraArguments = skipExtraArguments === VOID ? false : skipExtraArguments;
412
373
  strictSubcommandOptionsOrder = strictSubcommandOptionsOrder === VOID ? false : strictSubcommandOptionsOrder;
413
- this.o1u_1 = programName;
414
- this.p1u_1 = useDefaultHelpShortName;
415
- this.q1u_1 = prefixStyle;
416
- this.r1u_1 = skipExtraArguments;
417
- this.s1u_1 = strictSubcommandOptionsOrder;
374
+ this.g1v_1 = programName;
375
+ this.h1v_1 = useDefaultHelpShortName;
376
+ this.i1v_1 = prefixStyle;
377
+ this.j1v_1 = skipExtraArguments;
378
+ this.k1v_1 = strictSubcommandOptionsOrder;
418
379
  var tmp = this;
419
- var tmp$ret$0;
420
380
  // Inline function 'kotlin.collections.mutableMapOf' call
421
- tmp$ret$0 = LinkedHashMap_init_$Create$();
422
- tmp.t1u_1 = tmp$ret$0;
381
+ tmp.l1v_1 = LinkedHashMap_init_$Create$();
423
382
  var tmp_0 = this;
424
- var tmp$ret$1;
425
383
  // Inline function 'kotlin.collections.mutableMapOf' call
426
- tmp$ret$1 = LinkedHashMap_init_$Create$();
427
- tmp_0.u1u_1 = tmp$ret$1;
384
+ tmp_0.m1v_1 = LinkedHashMap_init_$Create$();
428
385
  var tmp_1 = this;
429
- var tmp$ret$2;
430
386
  // Inline function 'kotlin.collections.mutableListOf' call
431
- tmp$ret$2 = ArrayList_init_$Create$();
432
- tmp_1.v1u_1 = tmp$ret$2;
387
+ tmp_1.n1v_1 = ArrayList_init_$Create$();
433
388
  var tmp_2 = this;
434
- var tmp$ret$3;
435
389
  // Inline function 'kotlin.collections.mutableListOf' call
436
- tmp$ret$3 = ArrayList_init_$Create$();
437
- tmp_2.w1u_1 = tmp$ret$3;
438
- this.x1u_1 = null;
390
+ tmp_2.o1v_1 = ArrayList_init_$Create$();
391
+ this.p1v_1 = null;
439
392
  var tmp_3 = this;
440
- var tmp$ret$4;
441
393
  // Inline function 'kotlin.collections.mutableMapOf' call
442
- tmp$ret$4 = LinkedHashMap_init_$Create$();
443
- tmp_3.y1u_1 = tmp$ret$4;
394
+ tmp_3.q1v_1 = LinkedHashMap_init_$Create$();
444
395
  var tmp_4 = this;
445
- var tmp$ret$5;
446
396
  // Inline function 'kotlin.collections.mutableMapOf' call
447
- tmp$ret$5 = LinkedHashMap_init_$Create$();
448
- tmp_4.z1u_1 = tmp$ret$5;
449
- this.a1v_1 = this.q1u_1.equals(OptionPrefixStyle_JVM_getInstance()) ? '-' : '--';
450
- this.b1v_1 = '-';
451
- this.c1v_1 = mutableListOf([this.o1u_1]);
452
- this.d1v_1 = true;
397
+ tmp_4.r1v_1 = LinkedHashMap_init_$Create$();
398
+ this.s1v_1 = this.i1v_1.equals(OptionPrefixStyle_JVM_getInstance()) ? '-' : '--';
399
+ this.t1v_1 = '-';
400
+ this.u1v_1 = mutableListOf([this.g1v_1]);
401
+ this.v1v_1 = true;
453
402
  var tmp_5 = this;
454
- var tmp$ret$6;
455
403
  // Inline function 'kotlin.collections.mutableListOf' call
456
- tmp$ret$6 = ArrayList_init_$Create$();
457
- tmp_5.e1v_1 = tmp$ret$6;
404
+ tmp_5.w1v_1 = ArrayList_init_$Create$();
458
405
  var tmp_6 = this;
459
- var tmp$ret$7;
460
406
  // Inline function 'kotlin.collections.mutableListOf' call
461
- tmp$ret$7 = ArrayList_init_$Create$();
462
- tmp_6.f1v_1 = tmp$ret$7;
463
- this.g1v_1 = null;
407
+ tmp_6.x1v_1 = ArrayList_init_$Create$();
408
+ this.y1v_1 = null;
464
409
  var tmp_7 = this;
465
- tmp_7.h1v_1 = ArgParser$outputAndTerminate$lambda;
410
+ tmp_7.z1v_1 = ArgParser$outputAndTerminate$lambda;
466
411
  }
467
- protoOf(ArgParser).b1w = function (type, fullName, shortName, description, deprecatedWarning) {
468
- if (this.q1u_1.equals(OptionPrefixStyle_GNU_getInstance()) ? !(shortName == null) : false) {
412
+ protoOf(ArgParser).t1w = function (type, fullName, shortName, description, deprecatedWarning) {
413
+ if (this.i1v_1.equals(OptionPrefixStyle_GNU_getInstance()) ? !(shortName == null) : false) {
469
414
  // Inline function 'kotlin.require' call
470
- var tmp0_require = shortName.length === 1;
471
415
  // Inline function 'kotlin.contracts.contract' call
472
- if (!tmp0_require) {
473
- var tmp$ret$0;
416
+ if (!(shortName.length === 1)) {
474
417
  // Inline function 'kotlinx.cli.ArgParser.option.<anonymous>' call
475
- tmp$ret$0 = 'GNU standard for options allow to use short form which consists of one character. \nFor more information, please, see https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html';
476
- var message = tmp$ret$0;
418
+ var message = 'GNU standard for options allow to use short form which consists of one character. \nFor more information, please, see https://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html';
477
419
  throw IllegalArgumentException_init_$Create$(toString(message));
478
420
  }
479
421
  }
480
- var option = new SingleNullableOption(new OptionDescriptor(this.a1v_1, this.b1v_1, type, fullName, shortName, description, VOID, VOID, VOID, VOID, deprecatedWarning), new CLIEntityWrapper());
481
- option.e1w_1.c1w_1 = option;
482
- this.v1u_1.a(option.e1w_1);
422
+ var option = new SingleNullableOption(new OptionDescriptor(this.s1v_1, this.t1v_1, type, fullName, shortName, description, VOID, VOID, VOID, VOID, deprecatedWarning), new CLIEntityWrapper());
423
+ option.w1w_1.u1w_1 = option;
424
+ this.n1v_1.a(option.w1w_1);
483
425
  return option;
484
426
  };
485
- protoOf(ArgParser).g1w = function (type, fullName, shortName, description, deprecatedWarning, $super) {
427
+ protoOf(ArgParser).y1w = function (type, fullName, shortName, description, deprecatedWarning, $super) {
486
428
  fullName = fullName === VOID ? null : fullName;
487
429
  shortName = shortName === VOID ? null : shortName;
488
430
  description = description === VOID ? null : description;
489
431
  deprecatedWarning = deprecatedWarning === VOID ? null : deprecatedWarning;
490
- return $super === VOID ? this.b1w(type, fullName, shortName, description, deprecatedWarning) : $super.b1w.call(this, type, fullName, shortName, description, deprecatedWarning);
432
+ return $super === VOID ? this.t1w(type, fullName, shortName, description, deprecatedWarning) : $super.t1w.call(this, type, fullName, shortName, description, deprecatedWarning);
491
433
  };
492
- protoOf(ArgParser).h1w = function (type, fullName, description, deprecatedWarning) {
434
+ protoOf(ArgParser).z1w = function (type, fullName, description, deprecatedWarning) {
493
435
  var argument = new SingleArgument(new ArgDescriptor(type, fullName, 1, description, VOID, VOID, deprecatedWarning), new CLIEntityWrapper());
494
- argument.e1w_1.c1w_1 = argument;
495
- this.w1u_1.a(argument.e1w_1);
436
+ argument.w1w_1.u1w_1 = argument;
437
+ this.o1v_1.a(argument.w1w_1);
496
438
  return argument;
497
439
  };
498
- protoOf(ArgParser).i1w = function (type, fullName, description, deprecatedWarning, $super) {
440
+ protoOf(ArgParser).a1x = function (type, fullName, description, deprecatedWarning, $super) {
499
441
  fullName = fullName === VOID ? null : fullName;
500
442
  description = description === VOID ? null : description;
501
443
  deprecatedWarning = deprecatedWarning === VOID ? null : deprecatedWarning;
502
- return $super === VOID ? this.h1w(type, fullName, description, deprecatedWarning) : $super.h1w.call(this, type, fullName, description, deprecatedWarning);
444
+ return $super === VOID ? this.z1w(type, fullName, description, deprecatedWarning) : $super.z1w.call(this, type, fullName, description, deprecatedWarning);
503
445
  };
504
- protoOf(ArgParser).x1v = function (argValue) {
505
- if (argValue.p1v_1.j1v_1 === 'help') {
506
- var tmp0_safe_receiver = this.g1v_1;
446
+ protoOf(ArgParser).p1w = function (argValue) {
447
+ if (argValue.h1w_1.b1w_1 === 'help') {
448
+ var tmp0_safe_receiver = this.y1v_1;
507
449
  if (tmp0_safe_receiver == null)
508
450
  null;
509
451
  else {
510
- var tmp$ret$1;
511
452
  // Inline function 'kotlin.let' call
512
453
  // Inline function 'kotlin.contracts.contract' call
513
- var tmp$ret$0;
514
454
  // Inline function 'kotlinx.cli.ArgParser.saveOptionWithoutParameter.<anonymous>' call
515
- tmp$ret$0 = tmp0_safe_receiver.j1w(listOf(tmp0_safe_receiver.a1v_1 + argValue.p1v_1.j1v_1));
516
- tmp$ret$1 = tmp$ret$0;
455
+ tmp0_safe_receiver.b1x(listOf(tmp0_safe_receiver.s1v_1 + argValue.h1w_1.b1w_1));
517
456
  }
518
- this.h1v_1(this.t1v(), 0);
457
+ this.z1v_1(this.l1w(), 0);
519
458
  throwKotlinNothingValueException();
520
459
  }
521
460
  saveAsOption(this, argValue, 'true');
522
461
  };
523
- protoOf(ArgParser).k1w = function (args) {
524
- return this.j1w(asList(args));
462
+ protoOf(ArgParser).c1x = function (args) {
463
+ return this.b1x(asList(args));
525
464
  };
526
- protoOf(ArgParser).j1w = function (args) {
465
+ protoOf(ArgParser).b1x = function (args) {
527
466
  // Inline function 'kotlin.check' call
528
- var tmp0_check = this.x1u_1 == null;
529
467
  // Inline function 'kotlin.contracts.contract' call
530
- if (!tmp0_check) {
531
- var tmp$ret$0;
468
+ if (!(this.p1v_1 == null)) {
532
469
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
533
- tmp$ret$0 = 'Parsing of command line options can be called only once.';
534
- var message = tmp$ret$0;
470
+ var message = 'Parsing of command line options can be called only once.';
535
471
  throw IllegalStateException_init_$Create$(toString(message));
536
472
  }
537
- var helpDescriptor = this.p1u_1 ? new OptionDescriptor(this.a1v_1, this.b1v_1, Boolean_getInstance(), 'help', 'h', 'Usage info') : new OptionDescriptor(this.a1v_1, this.b1v_1, Boolean_getInstance(), 'help', VOID, 'Usage info');
473
+ var helpDescriptor = this.h1v_1 ? new OptionDescriptor(this.s1v_1, this.t1v_1, Boolean_getInstance(), 'help', 'h', 'Usage info') : new OptionDescriptor(this.s1v_1, this.t1v_1, Boolean_getInstance(), 'help', VOID, 'Usage info');
538
474
  var helpOption = new SingleNullableOption(helpDescriptor, new CLIEntityWrapper());
539
- helpOption.e1w_1.c1w_1 = helpOption;
540
- this.v1u_1.a(helpOption.e1w_1);
541
- if (this.r1u_1) {
542
- vararg(this.i1w(String_getInstance(), ''));
475
+ helpOption.w1w_1.u1w_1 = helpOption;
476
+ this.n1v_1.a(helpOption.w1w_1);
477
+ if (this.j1v_1) {
478
+ vararg(this.a1x(String_getInstance(), ''));
543
479
  }
544
- this.t1u_1.a9();
545
- this.u1u_1.a9();
480
+ this.l1v_1.c9();
481
+ this.m1v_1.c9();
546
482
  // Inline function 'kotlin.collections.forEachIndexed' call
547
- var tmp1_forEachIndexed = this.v1u_1;
548
483
  var index = 0;
549
- var tmp0_iterator = tmp1_forEachIndexed.c();
484
+ var tmp0_iterator = this.n1v_1.c();
550
485
  while (tmp0_iterator.d()) {
551
486
  var item = tmp0_iterator.e();
552
487
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
553
488
  var tmp1 = index;
554
489
  index = tmp1 + 1 | 0;
555
- var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
556
- var tmp0_safe_receiver = item.c1w_1;
557
- var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d1w_1;
490
+ var tmp2_anonymous = checkIndexOverflow(tmp1);
491
+ var tmp0_safe_receiver = item.u1w_1;
492
+ var tmp = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v1w_1;
558
493
  var value = tmp instanceof ParsingValue ? tmp : THROW_CCE();
559
- var tmp1_safe_receiver = value.p1v_1.j1v_1;
494
+ var tmp1_safe_receiver = value.h1w_1.b1w_1;
560
495
  var tmp_0;
561
496
  if (tmp1_safe_receiver == null) {
562
497
  tmp_0 = null;
563
498
  } else {
564
- var tmp$ret$4;
565
499
  // Inline function 'kotlin.let' call
566
500
  // Inline function 'kotlin.contracts.contract' call
567
- if (this.t1u_1.i2(tmp1_safe_receiver)) {
501
+ if (this.l1v_1.j2(tmp1_safe_receiver)) {
568
502
  // Inline function 'kotlin.error' call
569
503
  var tmp0_error = 'Option with full name ' + tmp1_safe_receiver + ' was already added.';
570
504
  throw IllegalStateException_init_$Create$(toString(tmp0_error));
571
505
  }
572
- var tmp$ret$3;
573
506
  // Inline function 'kotlin.with' call
574
- var tmp_1 = value.p1v_1;
507
+ var tmp_1 = value.h1w_1;
575
508
  var tmp1_with = tmp_1 instanceof OptionDescriptor ? tmp_1 : THROW_CCE();
576
509
  // Inline function 'kotlin.contracts.contract' call
577
- var tmp$ret$2;
578
510
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>.<anonymous>.<anonymous>' call
579
- if (!(tmp1_with.u1w_1 == null) ? this.z1u_1.i2(tmp1_with.u1w_1) : false) {
511
+ if (!(tmp1_with.m1x_1 == null) ? this.r1v_1.j2(tmp1_with.m1x_1) : false) {
580
512
  // Inline function 'kotlin.error' call
581
- var tmp0_error_0 = 'Option with short name ' + tmp1_with.u1w_1 + ' was already added.';
513
+ var tmp0_error_0 = 'Option with short name ' + tmp1_with.m1x_1 + ' was already added.';
582
514
  throw IllegalStateException_init_$Create$(toString(tmp0_error_0));
583
515
  }
584
- var tmp0_safe_receiver_0 = tmp1_with.u1w_1;
516
+ var tmp0_safe_receiver_0 = tmp1_with.m1x_1;
585
517
  var tmp_2;
586
518
  if (tmp0_safe_receiver_0 == null) {
587
519
  tmp_2 = null;
588
520
  } else {
589
- var tmp$ret$1;
590
521
  // Inline function 'kotlin.let' call
591
522
  // Inline function 'kotlin.contracts.contract' call
592
- var tmp0_set = this.z1u_1;
593
- tmp0_set.k3(tmp0_safe_receiver_0, value);
594
- tmp$ret$1 = Unit_getInstance();
523
+ this.r1v_1.l3(tmp0_safe_receiver_0, value);
595
524
  tmp_2 = Unit_getInstance();
596
525
  }
597
- tmp$ret$2 = tmp_2;
598
- tmp$ret$3 = tmp$ret$2;
599
- var tmp2_set = this.t1u_1;
600
- tmp2_set.k3(tmp1_safe_receiver, value);
601
- tmp$ret$4 = Unit_getInstance();
526
+ this.l1v_1.l3(tmp1_safe_receiver, value);
602
527
  tmp_0 = Unit_getInstance();
603
528
  }
604
- var tmp2_elvis_lhs = tmp_0;
605
- if (tmp2_elvis_lhs == null) {
529
+ if (tmp_0 == null) {
606
530
  // Inline function 'kotlin.error' call
607
- var tmp0_error_1 = 'Option was added, but unnamed. Added option under \u2116' + (tmp2__anonymous__z9zvc9 + 1 | 0);
531
+ var tmp0_error_1 = 'Option was added, but unnamed. Added option under \u2116' + (tmp2_anonymous + 1 | 0);
608
532
  throw IllegalStateException_init_$Create$(toString(tmp0_error_1));
609
- } else {
610
533
  }
611
534
  }
612
535
  // Inline function 'kotlin.collections.forEachIndexed' call
613
- var tmp3_forEachIndexed = this.w1u_1;
614
536
  var index_0 = 0;
615
- var tmp0_iterator_0 = tmp3_forEachIndexed.c();
537
+ var tmp0_iterator_0 = this.o1v_1.c();
616
538
  while (tmp0_iterator_0.d()) {
617
539
  var item_0 = tmp0_iterator_0.e();
618
540
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
619
541
  var tmp1_0 = index_0;
620
542
  index_0 = tmp1_0 + 1 | 0;
621
- var tmp4__anonymous__pkmkx7 = checkIndexOverflow(tmp1_0);
622
- var tmp0_safe_receiver_1 = item_0.c1w_1;
623
- var tmp_3 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.d1w_1;
543
+ var tmp4_anonymous = checkIndexOverflow(tmp1_0);
544
+ var tmp0_safe_receiver_1 = item_0.u1w_1;
545
+ var tmp_3 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.v1w_1;
624
546
  var value_0 = tmp_3 instanceof ParsingValue ? tmp_3 : THROW_CCE();
625
- var tmp1_safe_receiver_0 = value_0.p1v_1.j1v_1;
547
+ var tmp1_safe_receiver_0 = value_0.h1w_1.b1w_1;
626
548
  var tmp_4;
627
549
  if (tmp1_safe_receiver_0 == null) {
628
550
  tmp_4 = null;
629
551
  } else {
630
- var tmp$ret$5;
631
552
  // Inline function 'kotlin.let' call
632
553
  // Inline function 'kotlin.contracts.contract' call
633
- if (this.u1u_1.i2(tmp1_safe_receiver_0)) {
554
+ if (this.m1v_1.j2(tmp1_safe_receiver_0)) {
634
555
  // Inline function 'kotlin.error' call
635
556
  var tmp0_error_2 = 'Argument with full name ' + tmp1_safe_receiver_0 + ' was already added.';
636
557
  throw IllegalStateException_init_$Create$(toString(tmp0_error_2));
637
558
  }
638
- var tmp1_set = this.u1u_1;
639
- tmp1_set.k3(tmp1_safe_receiver_0, value_0);
640
- tmp$ret$5 = Unit_getInstance();
559
+ this.m1v_1.l3(tmp1_safe_receiver_0, value_0);
641
560
  tmp_4 = Unit_getInstance();
642
561
  }
643
- var tmp2_elvis_lhs_0 = tmp_4;
644
- if (tmp2_elvis_lhs_0 == null) {
562
+ if (tmp_4 == null) {
645
563
  // Inline function 'kotlin.error' call
646
- var tmp0_error_3 = 'Argument was added, but unnamed. Added argument under \u2116' + (tmp4__anonymous__pkmkx7 + 1 | 0);
564
+ var tmp0_error_3 = 'Argument was added, but unnamed. Added argument under \u2116' + (tmp4_anonymous + 1 | 0);
647
565
  throw IllegalStateException_init_$Create$(toString(tmp0_error_3));
648
- } else {
649
566
  }
650
567
  }
651
568
  inspectRequiredAndDefaultUsage(this);
652
569
  // Inline function 'kotlin.collections.forEach' call
653
- var tmp5_forEach = listOf_0([this.u1u_1, this.t1u_1]);
654
- var tmp0_iterator_1 = tmp5_forEach.c();
570
+ var tmp0_iterator_1 = listOf_0([this.m1v_1, this.l1v_1]).c();
655
571
  while (tmp0_iterator_1.d()) {
656
572
  var element = tmp0_iterator_1.e();
657
573
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
658
574
  // Inline function 'kotlin.collections.forEach' call
659
- var tmp$ret$6;
660
575
  // Inline function 'kotlin.collections.iterator' call
661
- tmp$ret$6 = element.u().c();
662
- var tmp0_iterator_2 = tmp$ret$6;
576
+ var tmp0_iterator_2 = element.u().c();
663
577
  while (tmp0_iterator_2.d()) {
664
578
  var element_0 = tmp0_iterator_2.e();
665
579
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>.<anonymous>' call
666
- var tmp$ret$7;
667
580
  // Inline function 'kotlin.collections.component2' call
668
- tmp$ret$7 = element_0.w();
669
- var value_1 = tmp$ret$7;
670
- value_1.r1v_1 = ValueOrigin_UNSET_getInstance();
581
+ var value_1 = element_0.w();
582
+ value_1.j1w_1 = ValueOrigin_UNSET_getInstance();
671
583
  }
672
584
  }
673
- var tmp$ret$11;
674
585
  // Inline function 'kotlin.collections.map' call
675
- var tmp7_map = this.u1u_1;
676
- var tmp$ret$10;
586
+ var tmp6_map = this.m1v_1;
677
587
  // Inline function 'kotlin.collections.mapTo' call
678
- var tmp6_mapTo = ArrayList_init_$Create$_0(tmp7_map.f());
679
- var tmp$ret$8;
588
+ var tmp0_mapTo = ArrayList_init_$Create$_0(tmp6_map.f());
680
589
  // Inline function 'kotlin.collections.iterator' call
681
- tmp$ret$8 = tmp7_map.u().c();
682
- var tmp0_iterator_3 = tmp$ret$8;
590
+ var tmp0_iterator_3 = tmp6_map.u().c();
683
591
  while (tmp0_iterator_3.d()) {
684
592
  var item_1 = tmp0_iterator_3.e();
685
593
  var tmp$ret$9;
686
594
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
687
- var tmp_5 = item_1.w().p1v_1;
595
+ var tmp_5 = item_1.w().h1w_1;
688
596
  tmp$ret$9 = tmp_5 instanceof ArgDescriptor ? tmp_5 : THROW_CCE();
689
- tmp6_mapTo.a(tmp$ret$9);
597
+ tmp0_mapTo.a(tmp$ret$9);
690
598
  }
691
- tmp$ret$10 = tmp6_mapTo;
692
- tmp$ret$11 = tmp$ret$10;
693
- var argumentsQueue = new ArgumentsQueue(tmp$ret$11);
694
- this.g1v_1 = null;
695
- this.f1v_1.a9();
696
- this.e1v_1.a9();
697
- var argIterator = args.p1();
599
+ var argumentsQueue = new ArgumentsQueue(tmp0_mapTo);
600
+ this.y1v_1 = null;
601
+ this.x1v_1.c9();
602
+ this.w1v_1.c9();
603
+ var argIterator = args.q1();
698
604
  try {
699
605
  $l$loop: while (argIterator.d()) {
700
606
  var arg = argIterator.e();
701
- var tmp$ret$13;
702
607
  // Inline function 'kotlin.collections.contains' call
703
- var tmp8_contains = this.y1u_1;
704
- var tmp$ret$12;
608
+ var tmp7_contains = this.q1v_1;
705
609
  // Inline function 'kotlin.collections.containsKey' call
706
- tmp$ret$12 = (isInterface(tmp8_contains, Map) ? tmp8_contains : THROW_CCE()).i2(arg);
707
- tmp$ret$13 = tmp$ret$12;
708
- if (!tmp$ret$13) {
709
- if (this.d1v_1 ? startsWith_0(arg, _Char___init__impl__6a9atx(45)) : false) {
610
+ if (!(isInterface(tmp7_contains, Map) ? tmp7_contains : THROW_CCE()).j2(arg)) {
611
+ if (this.v1v_1 ? startsWith_0(arg, _Char___init__impl__6a9atx(45)) : false) {
710
612
  if (!(recognizeAndSaveOptionShortForm(this, arg, argIterator) ? true : recognizeAndSaveOptionFullForm(this, arg, argIterator))) {
711
- if (!this.d1v_1) {
613
+ if (!this.v1v_1) {
712
614
  treatAsArgument(this, argIterator.e(), argumentsQueue);
713
615
  } else {
714
- var tmp0_safe_receiver_2 = this.g1v_1;
715
616
  var tmp_6;
716
- if (tmp0_safe_receiver_2 == null) {
617
+ if (this.y1v_1 == null) {
717
618
  tmp_6 = null;
718
619
  } else {
719
- var tmp$ret$15;
720
620
  // Inline function 'kotlin.let' call
721
621
  // Inline function 'kotlin.contracts.contract' call
722
- var tmp$ret$14;
723
622
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
724
- tmp$ret$14 = this.f1v_1.a(arg);
725
- tmp$ret$15 = tmp$ret$14;
726
- tmp_6 = tmp$ret$15;
623
+ tmp_6 = this.x1v_1.a(arg);
727
624
  }
728
- var tmp1_elvis_lhs = tmp_6;
729
- if (tmp1_elvis_lhs == null) {
730
- var tmp$ret$16;
625
+ if (tmp_6 == null) {
731
626
  // Inline function 'kotlin.run' call
732
627
  // Inline function 'kotlin.contracts.contract' call
733
628
  var tmp_7;
734
629
  if (!saveAsArg(this, arg, argumentsQueue)) {
735
630
  printError(this, 'Unknown option ' + arg);
736
631
  }
737
- tmp$ret$16 = tmp_7;
738
- } else
739
- tmp1_elvis_lhs;
632
+ }
740
633
  }
741
634
  }
742
635
  } else {
743
636
  treatAsArgument(this, arg, argumentsQueue);
744
637
  }
745
638
  } else {
746
- this.g1v_1 = this.y1u_1.m2(arg);
747
- if (this.s1u_1) {
639
+ this.y1v_1 = this.q1v_1.n2(arg);
640
+ if (this.k1v_1) {
748
641
  break $l$loop;
749
642
  }
750
643
  }
751
644
  }
752
645
  // Inline function 'kotlin.collections.forEach' call
753
- var tmp9_forEach = union(this.t1u_1.ha(), this.u1u_1.ha());
754
- var tmp0_iterator_4 = tmp9_forEach.c();
646
+ var tmp0_iterator_4 = union(this.l1v_1.ja(), this.m1v_1.ja()).c();
755
647
  while (tmp0_iterator_4.d()) {
756
648
  var element_1 = tmp0_iterator_4.e();
757
649
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>' call
758
650
  if (element_1.g()) {
759
- element_1.x1w();
651
+ element_1.p1x();
760
652
  }
761
- if (!element_1.r1v_1.equals(ValueOrigin_SET_BY_USER_getInstance()) ? element_1.p1v_1.m1v_1 : false) {
762
- printError(this, 'Value for ' + element_1.p1v_1.z1v() + ' should be always provided in command line.');
653
+ if (!element_1.j1w_1.equals(ValueOrigin_SET_BY_USER_getInstance()) ? element_1.h1w_1.e1w_1 : false) {
654
+ printError(this, 'Value for ' + element_1.h1w_1.r1w() + ' should be always provided in command line.');
763
655
  }
764
656
  }
765
- var tmp2_safe_receiver = this.g1v_1;
657
+ var tmp2_safe_receiver = this.y1v_1;
766
658
  if (tmp2_safe_receiver == null)
767
659
  null;
768
660
  else {
769
- var tmp$ret$19;
770
661
  // Inline function 'kotlin.let' call
771
662
  // Inline function 'kotlin.contracts.contract' call
772
- if (this.s1u_1) {
773
- tmp2_safe_receiver.j1w(slice(args, until(argIterator.w1(), args.f())));
663
+ if (this.k1v_1) {
664
+ tmp2_safe_receiver.b1x(slice(args, until(argIterator.x1(), args.f())));
774
665
  } else {
775
666
  var tmp$ret$18;
776
667
  // Inline function 'kotlin.takeUnless' call
777
668
  // Inline function 'kotlin.contracts.contract' call
778
669
  var tmp_8;
779
- var tmp$ret$17;
780
670
  // Inline function 'kotlinx.cli.ArgParser.parse.<anonymous>.<anonymous>' call
781
- tmp$ret$17 = this.d1v_1;
782
- if (!tmp$ret$17) {
671
+ if (!this.v1v_1) {
783
672
  tmp_8 = '--';
784
673
  } else {
785
674
  tmp_8 = null;
786
675
  }
787
676
  tmp$ret$18 = tmp_8;
788
- tmp2_safe_receiver.j1w(plus(plus(this.f1v_1, listOfNotNull(tmp$ret$18)), this.e1v_1));
677
+ tmp2_safe_receiver.b1x(plus(plus(this.x1v_1, listOfNotNull(tmp$ret$18)), this.w1v_1));
789
678
  }
790
- tmp2_safe_receiver.u1x();
791
- this.x1u_1 = new ArgParserResult(tmp2_safe_receiver.s1x_1);
792
- return ensureNotNull(this.x1u_1);
679
+ tmp2_safe_receiver.m1y();
680
+ this.p1v_1 = new ArgParserResult(tmp2_safe_receiver.k1y_1);
681
+ return ensureNotNull(this.p1v_1);
793
682
  }
794
683
  } catch ($p) {
795
684
  if ($p instanceof ParsingException) {
@@ -799,69 +688,49 @@
799
688
  throw $p;
800
689
  }
801
690
  }
802
- this.x1u_1 = new ArgParserResult(this.o1u_1);
803
- return ensureNotNull(this.x1u_1);
691
+ this.p1v_1 = new ArgParserResult(this.g1v_1);
692
+ return ensureNotNull(this.p1v_1);
804
693
  };
805
- protoOf(ArgParser).t1v = function () {
694
+ protoOf(ArgParser).l1w = function () {
806
695
  var result = StringBuilder_init_$Create$();
807
- result.y5('Usage: ' + joinToString(this.c1v_1, ' ') + ' options_list\n');
808
- var tmp$ret$0;
696
+ result.a6('Usage: ' + joinToString(this.u1v_1, ' ') + ' options_list\n');
809
697
  // Inline function 'kotlin.collections.isNotEmpty' call
810
- var tmp0_isNotEmpty = this.y1u_1;
811
- tmp$ret$0 = !tmp0_isNotEmpty.g();
812
- if (tmp$ret$0) {
813
- result.y5('Subcommands: \n');
698
+ if (!this.q1v_1.g()) {
699
+ result.a6('Subcommands: \n');
814
700
  // Inline function 'kotlin.collections.forEach' call
815
- var tmp1_forEach = this.y1u_1;
816
- var tmp$ret$1;
817
701
  // Inline function 'kotlin.collections.iterator' call
818
- tmp$ret$1 = tmp1_forEach.u().c();
819
- var tmp0_iterator = tmp$ret$1;
702
+ var tmp0_iterator = this.q1v_1.u().c();
820
703
  while (tmp0_iterator.d()) {
821
704
  var element = tmp0_iterator.e();
822
705
  // Inline function 'kotlinx.cli.ArgParser.makeUsage.<anonymous>' call
823
- var tmp$ret$2;
824
706
  // Inline function 'kotlin.collections.component2' call
825
- tmp$ret$2 = element.w();
826
- var subcommand = tmp$ret$2;
827
- result.y5(subcommand.v1x());
707
+ var subcommand = element.w();
708
+ result.a6(subcommand.n1y());
828
709
  }
829
- result.y5('\n');
710
+ result.a6('\n');
830
711
  }
831
- var tmp$ret$3;
832
712
  // Inline function 'kotlin.collections.isNotEmpty' call
833
- var tmp2_isNotEmpty = this.u1u_1;
834
- tmp$ret$3 = !tmp2_isNotEmpty.g();
835
- if (tmp$ret$3) {
836
- result.y5('Arguments: \n');
713
+ if (!this.m1v_1.g()) {
714
+ result.a6('Arguments: \n');
837
715
  // Inline function 'kotlin.collections.forEach' call
838
- var tmp3_forEach = this.u1u_1;
839
- var tmp$ret$4;
840
716
  // Inline function 'kotlin.collections.iterator' call
841
- tmp$ret$4 = tmp3_forEach.u().c();
842
- var tmp0_iterator_0 = tmp$ret$4;
717
+ var tmp0_iterator_0 = this.m1v_1.u().c();
843
718
  while (tmp0_iterator_0.d()) {
844
719
  var element_0 = tmp0_iterator_0.e();
845
720
  // Inline function 'kotlinx.cli.ArgParser.makeUsage.<anonymous>' call
846
- result.y5(element_0.w().p1v_1.v1x());
721
+ result.a6(element_0.w().h1w_1.n1y());
847
722
  }
848
723
  }
849
- var tmp$ret$5;
850
724
  // Inline function 'kotlin.collections.isNotEmpty' call
851
- var tmp4_isNotEmpty = this.t1u_1;
852
- tmp$ret$5 = !tmp4_isNotEmpty.g();
853
- if (tmp$ret$5) {
854
- result.y5('Options: \n');
725
+ if (!this.l1v_1.g()) {
726
+ result.a6('Options: \n');
855
727
  // Inline function 'kotlin.collections.forEach' call
856
- var tmp5_forEach = this.t1u_1;
857
- var tmp$ret$6;
858
728
  // Inline function 'kotlin.collections.iterator' call
859
- tmp$ret$6 = tmp5_forEach.u().c();
860
- var tmp0_iterator_1 = tmp$ret$6;
729
+ var tmp0_iterator_1 = this.l1v_1.u().c();
861
730
  while (tmp0_iterator_1.d()) {
862
731
  var element_1 = tmp0_iterator_1.e();
863
732
  // Inline function 'kotlinx.cli.ArgParser.makeUsage.<anonymous>' call
864
- result.y5(element_1.w().p1v_1.v1x());
733
+ result.a6(element_1.w().h1w_1.n1y());
865
734
  }
866
735
  }
867
736
  return result.toString();
@@ -869,15 +738,13 @@
869
738
  function ArgumentValueDelegate() {
870
739
  }
871
740
  function ArgParserResult(commandName) {
872
- this.x1x_1 = commandName;
741
+ this.p1y_1 = commandName;
873
742
  }
874
743
  function ArgumentsQueue(argumentsDescriptors) {
875
744
  var tmp = this;
876
745
  var tmp$ret$3;
877
746
  // Inline function 'kotlin.collections.toTypedArray' call
878
- var tmp$ret$2;
879
747
  // Inline function 'kotlin.collections.map' call
880
- var tmp$ret$1;
881
748
  // Inline function 'kotlin.collections.mapTo' call
882
749
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(argumentsDescriptors, 10));
883
750
  var tmp0_iterator = argumentsDescriptors.c();
@@ -888,50 +755,35 @@
888
755
  tmp$ret$0 = to(item, 0);
889
756
  tmp0_mapTo.a(tmp$ret$0);
890
757
  }
891
- tmp$ret$1 = tmp0_mapTo;
892
- tmp$ret$2 = tmp$ret$1;
893
- var tmp1_toTypedArray = tmp$ret$2;
894
- tmp$ret$3 = copyToArray(tmp1_toTypedArray);
895
- tmp.u1v_1 = linkedMapOf(tmp$ret$3.slice());
758
+ tmp$ret$3 = copyToArray(tmp0_mapTo);
759
+ tmp.m1w_1 = linkedMapOf(tmp$ret$3.slice());
896
760
  }
897
- protoOf(ArgumentsQueue).v1v = function () {
898
- if (this.u1v_1.g())
761
+ protoOf(ArgumentsQueue).n1w = function () {
762
+ if (this.m1w_1.g())
899
763
  return null;
900
- var tmp$ret$0;
901
764
  // Inline function 'kotlin.collections.iterator' call
902
- var tmp0_iterator = this.u1v_1;
903
- tmp$ret$0 = tmp0_iterator.u().c();
904
- var tmp0_container = tmp$ret$0.e();
905
- var tmp$ret$1;
765
+ var tmp0_container = this.m1w_1.u().c().e();
906
766
  // Inline function 'kotlin.collections.component1' call
907
- tmp$ret$1 = tmp0_container.v();
908
- var currentDescriptor = tmp$ret$1;
909
- var tmp$ret$2;
767
+ var currentDescriptor = tmp0_container.v();
910
768
  // Inline function 'kotlin.collections.component2' call
911
- tmp$ret$2 = tmp0_container.w();
912
- var usageNumber = tmp$ret$2;
913
- var tmp1_safe_receiver = currentDescriptor.f1y_1;
914
- if (tmp1_safe_receiver == null)
769
+ var usageNumber = tmp0_container.w();
770
+ if (currentDescriptor.x1y_1 == null)
915
771
  null;
916
772
  else {
917
- var tmp$ret$4;
918
773
  // Inline function 'kotlin.let' call
919
774
  // Inline function 'kotlin.contracts.contract' call
920
- var tmp$ret$3;
921
775
  // Inline function 'kotlinx.cli.ArgumentsQueue.pop.<anonymous>' call
922
776
  var tmp;
923
- if ((usageNumber + 1 | 0) >= currentDescriptor.f1y_1) {
924
- tmp = this.u1v_1.xa(currentDescriptor);
777
+ if ((usageNumber + 1 | 0) >= currentDescriptor.x1y_1) {
778
+ tmp = this.m1w_1.ab(currentDescriptor);
925
779
  } else {
926
- var tmp0_set = this.u1v_1;
780
+ var tmp0_set = this.m1w_1;
927
781
  var tmp1_set = usageNumber + 1 | 0;
928
- tmp0_set.k3(currentDescriptor, tmp1_set);
782
+ tmp0_set.l3(currentDescriptor, tmp1_set);
929
783
  tmp = Unit_getInstance();
930
784
  }
931
- tmp$ret$3 = tmp;
932
- tmp$ret$4 = tmp$ret$3;
933
785
  }
934
- return currentDescriptor.j1v_1;
786
+ return currentDescriptor.b1w_1;
935
787
  };
936
788
  function printWarning(message) {
937
789
  println('WARNING ' + message);
@@ -943,10 +795,10 @@
943
795
  Boolean_instance = this;
944
796
  ArgType.call(this, false);
945
797
  }
946
- protoOf(Boolean_0).a1w = function () {
798
+ protoOf(Boolean_0).s1w = function () {
947
799
  return '';
948
800
  };
949
- protoOf(Boolean_0).h1y = function (value, name) {
801
+ protoOf(Boolean_0).z1y = function (value, name) {
950
802
  return !(value === 'false');
951
803
  };
952
804
  var Boolean_instance;
@@ -959,10 +811,10 @@
959
811
  String_instance = this;
960
812
  ArgType.call(this, true);
961
813
  }
962
- protoOf(String_0).a1w = function () {
814
+ protoOf(String_0).s1w = function () {
963
815
  return '{ String }';
964
816
  };
965
- protoOf(String_0).h1y = function (value, name) {
817
+ protoOf(String_0).z1y = function (value, name) {
966
818
  return value;
967
819
  };
968
820
  var String_instance;
@@ -989,13 +841,11 @@
989
841
  }
990
842
  variantToString = tmp;
991
843
  ArgType.call(this, true);
992
- this.k1y_1 = toVariant;
993
- this.l1y_1 = variantToString;
844
+ this.c1z_1 = toVariant;
845
+ this.d1z_1 = variantToString;
994
846
  var tmp_0 = this;
995
- var tmp$ret$2;
996
847
  // Inline function 'kotlin.collections.associateBy' call
997
848
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(choices, 10)), 16);
998
- var tmp$ret$1;
999
849
  // Inline function 'kotlin.collections.associateByTo' call
1000
850
  var tmp0_associateByTo = LinkedHashMap_init_$Create$_0(capacity);
1001
851
  var tmp0_iterator = choices.c();
@@ -1003,72 +853,66 @@
1003
853
  var element = tmp0_iterator.e();
1004
854
  var tmp$ret$0;
1005
855
  // Inline function 'kotlinx.cli.Choice.choicesMap.<anonymous>' call
1006
- tmp$ret$0 = this.l1y_1(element);
1007
- tmp0_associateByTo.k3(tmp$ret$0, element);
856
+ tmp$ret$0 = this.d1z_1(element);
857
+ tmp0_associateByTo.l3(tmp$ret$0, element);
1008
858
  }
1009
- tmp$ret$1 = tmp0_associateByTo;
1010
- tmp$ret$2 = tmp$ret$1;
1011
- tmp_0.m1y_1 = tmp$ret$2;
859
+ tmp_0.e1z_1 = tmp0_associateByTo;
1012
860
  // Inline function 'kotlin.require' call
1013
- var tmp0_require = this.m1y_1.f() === choices.f();
1014
861
  // Inline function 'kotlin.contracts.contract' call
1015
- if (!tmp0_require) {
1016
- var tmp$ret$3;
862
+ if (!(this.e1z_1.f() === choices.f())) {
1017
863
  // Inline function 'kotlinx.cli.Choice.<anonymous>' call
1018
- tmp$ret$3 = 'Command line representations of enum choices are not distinct';
1019
- var message = tmp$ret$3;
864
+ var message = 'Command line representations of enum choices are not distinct';
1020
865
  throw IllegalArgumentException_init_$Create$(toString(message));
1021
866
  }
1022
867
  }
1023
- protoOf(Choice).a1w = function () {
1024
- return '{ Value should be one of ' + this.m1y_1.n2() + ' }';
868
+ protoOf(Choice).s1w = function () {
869
+ return '{ Value should be one of ' + this.e1z_1.o2() + ' }';
1025
870
  };
1026
- protoOf(Choice).h1y = function (value, name) {
871
+ protoOf(Choice).z1y = function (value, name) {
1027
872
  var tmp;
1028
873
  try {
1029
- tmp = this.k1y_1(value);
874
+ tmp = this.c1z_1(value);
1030
875
  } catch ($p) {
1031
876
  var tmp_0;
1032
877
  if ($p instanceof Exception) {
1033
878
  var e = $p;
1034
- throw new ParsingException('Option ' + name + ' is expected to be one of ' + this.m1y_1.n2() + '. ' + value + ' is provided.');
879
+ throw new ParsingException('Option ' + name + ' is expected to be one of ' + this.e1z_1.o2() + '. ' + value + ' is provided.');
1035
880
  } else {
1036
881
  throw $p;
1037
882
  }
1038
- tmp = tmp_0;
1039
883
  }
1040
884
  return tmp;
1041
885
  };
1042
886
  function ArgType(hasParameter) {
1043
887
  Companion_getInstance();
1044
- this.y1v_1 = hasParameter;
888
+ this.q1w_1 = hasParameter;
1045
889
  }
1046
890
  function ParsingException(message) {
1047
891
  Exception_init_$Init$(message, this);
1048
892
  captureStack(this, ParsingException);
1049
893
  }
1050
894
  function ParsingValue(descriptor) {
1051
- this.p1v_1 = descriptor;
1052
- this.r1v_1 = ValueOrigin_UNDEFINED_getInstance();
895
+ this.h1w_1 = descriptor;
896
+ this.j1w_1 = ValueOrigin_UNDEFINED_getInstance();
1053
897
  }
1054
- protoOf(ParsingValue).n1y = function () {
1055
- var tmp = this.q1v_1;
898
+ protoOf(ParsingValue).f1z = function () {
899
+ var tmp = this.i1w_1;
1056
900
  if (!(tmp == null))
1057
901
  return tmp;
1058
902
  else {
1059
903
  throwUninitializedPropertyAccessException('parsedValue');
1060
904
  }
1061
905
  };
1062
- protoOf(ParsingValue).o1y = function () {
1063
- return !(this.q1v_1 == null);
906
+ protoOf(ParsingValue).g1z = function () {
907
+ return !(this.i1w_1 == null);
1064
908
  };
1065
- protoOf(ParsingValue).w1v = function (stringValue) {
909
+ protoOf(ParsingValue).o1w = function (stringValue) {
1066
910
  var tmp;
1067
911
  var tmp_0;
1068
912
  var tmp_1;
1069
- var tmp_2 = this.p1v_1;
913
+ var tmp_2 = this.h1w_1;
1070
914
  if (tmp_2 instanceof OptionDescriptor) {
1071
- tmp_1 = !this.p1v_1.v1w_1;
915
+ tmp_1 = !this.h1w_1.n1x_1;
1072
916
  } else {
1073
917
  tmp_1 = false;
1074
918
  }
@@ -1078,18 +922,17 @@
1078
922
  tmp_0 = false;
1079
923
  }
1080
924
  if (tmp_0) {
1081
- tmp = this.p1v_1.w1w_1 == null;
925
+ tmp = this.h1w_1.o1x_1 == null;
1082
926
  } else {
1083
927
  tmp = false;
1084
928
  }
1085
929
  if (tmp) {
1086
- throw new ParsingException('Try to provide more than one value for ' + this.p1v_1.j1v_1 + '.');
930
+ throw new ParsingException('Try to provide more than one value for ' + this.h1w_1.b1w_1 + '.');
1087
931
  }
1088
- var tmp0_safe_receiver = this.p1v_1.n1v_1;
932
+ var tmp0_safe_receiver = this.h1w_1.f1w_1;
1089
933
  if (tmp0_safe_receiver == null)
1090
934
  null;
1091
935
  else {
1092
- var tmp$ret$0;
1093
936
  // Inline function 'kotlin.let' call
1094
937
  // Inline function 'kotlin.contracts.contract' call
1095
938
  var tmp_3;
@@ -1097,44 +940,38 @@
1097
940
  println('Warning: ' + tmp0_safe_receiver);
1098
941
  tmp_3 = Unit_getInstance();
1099
942
  }
1100
- tmp$ret$0 = tmp_3;
1101
943
  }
1102
944
  var tmp_4;
1103
- var tmp_5 = this.p1v_1;
945
+ var tmp_5 = this.h1w_1;
1104
946
  if (tmp_5 instanceof OptionDescriptor) {
1105
- tmp_4 = !(this.p1v_1.w1w_1 == null);
947
+ tmp_4 = !(this.h1w_1.o1x_1 == null);
1106
948
  } else {
1107
949
  tmp_4 = false;
1108
950
  }
1109
951
  if (tmp_4) {
1110
952
  // Inline function 'kotlin.collections.forEach' call
1111
- var tmp0_forEach = split_0(stringValue, [this.p1v_1.w1w_1]);
1112
- var tmp0_iterator = tmp0_forEach.c();
953
+ var tmp0_iterator = split_0(stringValue, [this.h1w_1.o1x_1]).c();
1113
954
  while (tmp0_iterator.d()) {
1114
955
  var element = tmp0_iterator.e();
1115
956
  // Inline function 'kotlinx.cli.ParsingValue.addValue.<anonymous>' call
1116
- this.p1y(element);
957
+ this.h1z(element);
1117
958
  }
1118
959
  } else {
1119
- this.p1y(stringValue);
960
+ this.h1z(stringValue);
1120
961
  }
1121
962
  };
1122
- protoOf(ParsingValue).x1w = function () {
1123
- if (this.p1v_1.s1v()) {
1124
- this.q1v_1 = ensureNotNull(this.p1v_1.l1v_1);
1125
- this.r1v_1 = ValueOrigin_SET_DEFAULT_VALUE_getInstance();
963
+ protoOf(ParsingValue).p1x = function () {
964
+ if (this.h1w_1.k1w()) {
965
+ this.i1w_1 = ensureNotNull(this.h1w_1.d1w_1);
966
+ this.j1w_1 = ValueOrigin_SET_DEFAULT_VALUE_getInstance();
1126
967
  }
1127
968
  };
1128
- protoOf(ParsingValue).q1y = function (name) {
1129
- var tmp0_elvis_lhs = this.p1v_1.j1v_1;
1130
- if (tmp0_elvis_lhs == null) {
1131
- var tmp$ret$0;
969
+ protoOf(ParsingValue).i1z = function (name) {
970
+ if (this.h1w_1.b1w_1 == null) {
1132
971
  // Inline function 'kotlin.run' call
1133
972
  // Inline function 'kotlin.contracts.contract' call
1134
- this.p1v_1.j1v_1 = name;
1135
- tmp$ret$0 = Unit_getInstance();
1136
- } else
1137
- tmp0_elvis_lhs;
973
+ this.h1w_1.b1w_1 = name;
974
+ }
1138
975
  };
1139
976
  function ArgumentSingleValue(descriptor) {
1140
977
  AbstractArgumentSingleValue.call(this, descriptor);
@@ -1142,66 +979,64 @@
1142
979
  protoOf(ArgumentSingleValue).w = function () {
1143
980
  var tmp;
1144
981
  if (!this.g()) {
1145
- tmp = this.n1y();
982
+ tmp = this.f1z();
1146
983
  } else {
1147
- var tmp0_error = 'Value for argument ' + this.p1v_1.j1v_1 + " isn't set. " + 'ArgParser.parse(...) method should be called before.';
984
+ var tmp0_error = 'Value for argument ' + this.h1w_1.b1w_1 + " isn't set. " + 'ArgParser.parse(...) method should be called before.';
1148
985
  throw IllegalStateException_init_$Create$(toString(tmp0_error));
1149
986
  }
1150
987
  return tmp;
1151
988
  };
1152
989
  function ArgumentSingleNullableValue(descriptor) {
1153
990
  AbstractArgumentSingleValue.call(this, descriptor);
1154
- this.a1z_1 = false;
991
+ this.s1z_1 = false;
1155
992
  }
1156
993
  protoOf(ArgumentSingleNullableValue).w = function () {
1157
- return (!this.g() ? !this.a1z_1 : false) ? this.n1y() : null;
994
+ return (!this.g() ? !this.s1z_1 : false) ? this.f1z() : null;
1158
995
  };
1159
996
  function ArgumentMultipleValues(descriptor) {
1160
997
  ParsingValue.call(this, descriptor);
1161
998
  var tmp = this;
1162
- var tmp$ret$0;
1163
999
  // Inline function 'kotlin.collections.mutableListOf' call
1164
- tmp$ret$0 = ArrayList_init_$Create$();
1165
- tmp.e1z_1 = tmp$ret$0;
1166
- this.q1v_1 = this.e1z_1;
1000
+ tmp.w1z_1 = ArrayList_init_$Create$();
1001
+ this.i1w_1 = this.w1z_1;
1167
1002
  }
1168
1003
  protoOf(ArgumentMultipleValues).w = function () {
1169
- return this.n1y();
1004
+ return this.f1z();
1170
1005
  };
1171
- protoOf(ArgumentMultipleValues).p1y = function (stringValue) {
1172
- this.e1z_1.a(this.p1v_1.i1v_1.h1y(stringValue, ensureNotNull(this.p1v_1.j1v_1)));
1173
- this.r1v_1 = ValueOrigin_SET_BY_USER_getInstance();
1006
+ protoOf(ArgumentMultipleValues).h1z = function (stringValue) {
1007
+ this.w1z_1.a(this.h1w_1.a1w_1.z1y(stringValue, ensureNotNull(this.h1w_1.b1w_1)));
1008
+ this.j1w_1 = ValueOrigin_SET_BY_USER_getInstance();
1174
1009
  };
1175
1010
  protoOf(ArgumentMultipleValues).g = function () {
1176
- return this.n1y().g();
1011
+ return this.f1z().g();
1177
1012
  };
1178
1013
  function AbstractArgumentSingleValue(descriptor) {
1179
1014
  ParsingValue.call(this, descriptor);
1180
1015
  }
1181
- protoOf(AbstractArgumentSingleValue).p1y = function (stringValue) {
1182
- if (!this.o1y()) {
1183
- this.q1v_1 = this.p1v_1.i1v_1.h1y(stringValue, ensureNotNull(this.p1v_1.j1v_1));
1184
- this.r1v_1 = ValueOrigin_SET_BY_USER_getInstance();
1016
+ protoOf(AbstractArgumentSingleValue).h1z = function (stringValue) {
1017
+ if (!this.g1z()) {
1018
+ this.i1w_1 = this.h1w_1.a1w_1.z1y(stringValue, ensureNotNull(this.h1w_1.b1w_1));
1019
+ this.j1w_1 = ValueOrigin_SET_BY_USER_getInstance();
1185
1020
  } else {
1186
- throw new ParsingException('Try to provide more than one value ' + this.n1y() + ' and ' + stringValue + ' for ' + this.p1v_1.j1v_1 + '.');
1021
+ throw new ParsingException('Try to provide more than one value ' + this.f1z() + ' and ' + stringValue + ' for ' + this.h1w_1.b1w_1 + '.');
1187
1022
  }
1188
1023
  };
1189
1024
  protoOf(AbstractArgumentSingleValue).g = function () {
1190
- return !this.o1y();
1025
+ return !this.g1z();
1191
1026
  };
1192
1027
  function SingleArgument(descriptor, owner) {
1193
1028
  AbstractSingleArgument.call(this, new ArgumentSingleValue(descriptor), owner);
1194
- this.i1z(descriptor);
1029
+ this.a20(descriptor);
1195
1030
  }
1196
1031
  function CLIEntityWrapper(entity) {
1197
1032
  entity = entity === VOID ? null : entity;
1198
- this.c1w_1 = entity;
1033
+ this.u1w_1 = entity;
1199
1034
  }
1200
1035
  protoOf(CLIEntityWrapper).toString = function () {
1201
- return 'CLIEntityWrapper(entity=' + this.c1w_1 + ')';
1036
+ return 'CLIEntityWrapper(entity=' + this.u1w_1 + ')';
1202
1037
  };
1203
1038
  protoOf(CLIEntityWrapper).hashCode = function () {
1204
- return this.c1w_1 == null ? 0 : hashCode(this.c1w_1);
1039
+ return this.u1w_1 == null ? 0 : hashCode(this.u1w_1);
1205
1040
  };
1206
1041
  protoOf(CLIEntityWrapper).equals = function (other) {
1207
1042
  if (this === other)
@@ -1209,55 +1044,46 @@
1209
1044
  if (!(other instanceof CLIEntityWrapper))
1210
1045
  return false;
1211
1046
  var tmp0_other_with_cast = other instanceof CLIEntityWrapper ? other : THROW_CCE();
1212
- if (!equals(this.c1w_1, tmp0_other_with_cast.c1w_1))
1047
+ if (!equals(this.u1w_1, tmp0_other_with_cast.u1w_1))
1213
1048
  return false;
1214
1049
  return true;
1215
1050
  };
1216
1051
  function MultipleArgument(descriptor, owner) {
1217
1052
  Argument.call(this, new ArgumentMultipleValues(descriptor), owner);
1218
- if (!(descriptor.f1y_1 == null) ? descriptor.f1y_1 < 2 : false) {
1053
+ if (!(descriptor.x1y_1 == null) ? descriptor.x1y_1 < 2 : false) {
1219
1054
  failAssertion("Argument with multiple values can't be initialized with descriptor for single one.");
1220
1055
  }
1221
1056
  }
1222
1057
  function vararg(_this__u8e3s4) {
1223
- var tmp$ret$2;
1224
1058
  // Inline function 'kotlin.with' call
1225
- var tmp$ret$0;
1226
1059
  // Inline function 'kotlinx.cli.cast' call
1227
- var tmp0_cast = _this__u8e3s4.d1w_1;
1228
- tmp$ret$0 = tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE();
1229
- var tmp = tmp$ret$0.p1v_1;
1060
+ var tmp0_cast = _this__u8e3s4.v1w_1;
1061
+ var tmp = (tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE()).h1w_1;
1230
1062
  var tmp1_with = tmp instanceof ArgDescriptor ? tmp : THROW_CCE();
1231
1063
  // Inline function 'kotlin.contracts.contract' call
1232
- var tmp$ret$1;
1233
1064
  // Inline function 'kotlinx.cli.vararg.<anonymous>' call
1234
- tmp$ret$1 = new MultipleArgument(new ArgDescriptor(tmp1_with.i1v_1, tmp1_with.j1v_1, null, tmp1_with.k1v_1, listOfNotNull(tmp1_with.l1v_1), tmp1_with.m1v_1, tmp1_with.n1v_1), _this__u8e3s4.e1w_1);
1235
- tmp$ret$2 = tmp$ret$1;
1236
- var newArgument = tmp$ret$2;
1237
- _this__u8e3s4.e1w_1.c1w_1 = newArgument;
1065
+ var newArgument = new MultipleArgument(new ArgDescriptor(tmp1_with.a1w_1, tmp1_with.b1w_1, null, tmp1_with.c1w_1, listOfNotNull(tmp1_with.d1w_1), tmp1_with.e1w_1, tmp1_with.f1w_1), _this__u8e3s4.w1w_1);
1066
+ _this__u8e3s4.w1w_1.u1w_1 = newArgument;
1238
1067
  return newArgument;
1239
1068
  }
1240
1069
  function CLIEntity(delegate, owner) {
1241
- this.d1w_1 = delegate;
1242
- this.e1w_1 = owner;
1243
- this.f1w_1 = false;
1070
+ this.v1w_1 = delegate;
1071
+ this.w1w_1 = owner;
1072
+ this.x1w_1 = false;
1244
1073
  }
1245
- protoOf(CLIEntity).j1z = function (thisRef, prop) {
1074
+ protoOf(CLIEntity).b20 = function (thisRef, prop) {
1246
1075
  // Inline function 'kotlin.check' call
1247
- var tmp0_check = !this.f1w_1;
1248
1076
  // Inline function 'kotlin.contracts.contract' call
1249
- if (!tmp0_check) {
1250
- var tmp$ret$0;
1077
+ if (!!this.x1w_1) {
1251
1078
  // Inline function 'kotlinx.cli.CLIEntity.provideDelegate.<anonymous>' call
1252
- var tmp = this.d1w_1;
1253
- tmp$ret$0 = 'There is already used delegate for ' + (tmp instanceof ParsingValue ? tmp : THROW_CCE()).p1v_1.j1v_1 + '.';
1254
- var message = tmp$ret$0;
1079
+ var tmp = this.v1w_1;
1080
+ var message = 'There is already used delegate for ' + (tmp instanceof ParsingValue ? tmp : THROW_CCE()).h1w_1.b1w_1 + '.';
1255
1081
  throw IllegalStateException_init_$Create$(toString(message));
1256
1082
  }
1257
- var tmp_0 = this.d1w_1;
1258
- (tmp_0 instanceof ParsingValue ? tmp_0 : THROW_CCE()).q1y(prop.callableName);
1259
- this.f1w_1 = true;
1260
- return this.d1w_1;
1083
+ var tmp_0 = this.v1w_1;
1084
+ (tmp_0 instanceof ParsingValue ? tmp_0 : THROW_CCE()).i1z(prop.callableName);
1085
+ this.x1w_1 = true;
1086
+ return this.v1w_1;
1261
1087
  };
1262
1088
  function failAssertion(message) {
1263
1089
  throw AssertionError_init_$Create$(message);
@@ -1265,8 +1091,8 @@
1265
1091
  function AbstractSingleArgument(delegate, owner) {
1266
1092
  Argument.call(this, delegate, owner);
1267
1093
  }
1268
- protoOf(AbstractSingleArgument).i1z = function (descriptor) {
1269
- if (descriptor.f1y_1 == null ? true : descriptor.f1y_1 > 1) {
1094
+ protoOf(AbstractSingleArgument).a20 = function (descriptor) {
1095
+ if (descriptor.x1y_1 == null ? true : descriptor.x1y_1 > 1) {
1270
1096
  failAssertion("Argument with single value can't be initialized with descriptor for multiple values.");
1271
1097
  }
1272
1098
  };
@@ -1283,84 +1109,72 @@
1283
1109
  delimiter = delimiter === VOID ? null : delimiter;
1284
1110
  deprecatedWarning = deprecatedWarning === VOID ? null : deprecatedWarning;
1285
1111
  Descriptor.call(this, type, fullName, description, defaultValue, required, deprecatedWarning);
1286
- this.s1w_1 = optionFullFormPrefix;
1287
- this.t1w_1 = optionShortFromPrefix;
1288
- this.u1w_1 = shortName;
1289
- this.v1w_1 = multiple;
1290
- this.w1w_1 = delimiter;
1112
+ this.k1x_1 = optionFullFormPrefix;
1113
+ this.l1x_1 = optionShortFromPrefix;
1114
+ this.m1x_1 = shortName;
1115
+ this.n1x_1 = multiple;
1116
+ this.o1x_1 = delimiter;
1291
1117
  }
1292
- protoOf(OptionDescriptor).z1v = function () {
1293
- return 'option ' + this.s1w_1 + this.j1v_1;
1118
+ protoOf(OptionDescriptor).r1w = function () {
1119
+ return 'option ' + this.k1x_1 + this.b1w_1;
1294
1120
  };
1295
- protoOf(OptionDescriptor).v1x = function () {
1121
+ protoOf(OptionDescriptor).n1y = function () {
1296
1122
  var result = StringBuilder_init_$Create$();
1297
- result.y5(' ' + this.s1w_1 + this.j1v_1);
1298
- var tmp0_safe_receiver = this.u1w_1;
1123
+ result.a6(' ' + this.k1x_1 + this.b1w_1);
1124
+ var tmp0_safe_receiver = this.m1x_1;
1299
1125
  if (tmp0_safe_receiver == null)
1300
1126
  null;
1301
1127
  else {
1302
- var tmp$ret$1;
1303
1128
  // Inline function 'kotlin.let' call
1304
1129
  // Inline function 'kotlin.contracts.contract' call
1305
- var tmp$ret$0;
1306
1130
  // Inline function 'kotlinx.cli.OptionDescriptor.<get-helpMessage>.<anonymous>' call
1307
- tmp$ret$0 = result.y5(', ' + this.t1w_1 + tmp0_safe_receiver);
1308
- tmp$ret$1 = tmp$ret$0;
1131
+ result.a6(', ' + this.l1x_1 + tmp0_safe_receiver);
1309
1132
  }
1310
- var tmp1_safe_receiver = this.k1z(this.l1v_1);
1133
+ var tmp1_safe_receiver = this.c20(this.d1w_1);
1311
1134
  if (tmp1_safe_receiver == null)
1312
1135
  null;
1313
1136
  else {
1314
- var tmp$ret$3;
1315
1137
  // Inline function 'kotlin.let' call
1316
1138
  // Inline function 'kotlin.contracts.contract' call
1317
- var tmp$ret$2;
1318
1139
  // Inline function 'kotlinx.cli.OptionDescriptor.<get-helpMessage>.<anonymous>' call
1319
- tmp$ret$2 = result.y5(tmp1_safe_receiver);
1320
- tmp$ret$3 = tmp$ret$2;
1140
+ result.a6(tmp1_safe_receiver);
1321
1141
  }
1322
- var tmp2_safe_receiver = this.k1v_1;
1142
+ var tmp2_safe_receiver = this.c1w_1;
1323
1143
  if (tmp2_safe_receiver == null)
1324
1144
  null;
1325
1145
  else {
1326
- var tmp$ret$5;
1327
1146
  // Inline function 'kotlin.let' call
1328
1147
  // Inline function 'kotlin.contracts.contract' call
1329
- var tmp$ret$4;
1330
1148
  // Inline function 'kotlinx.cli.OptionDescriptor.<get-helpMessage>.<anonymous>' call
1331
- tmp$ret$4 = result.y5(' -> ' + tmp2_safe_receiver);
1332
- tmp$ret$5 = tmp$ret$4;
1149
+ result.a6(' -> ' + tmp2_safe_receiver);
1333
1150
  }
1334
- if (this.m1v_1) {
1335
- result.y5(' (always required)');
1151
+ if (this.e1w_1) {
1152
+ result.a6(' (always required)');
1336
1153
  }
1337
- result.y5(' ' + this.i1v_1.a1w());
1338
- var tmp3_safe_receiver = this.n1v_1;
1154
+ result.a6(' ' + this.a1w_1.s1w());
1155
+ var tmp3_safe_receiver = this.f1w_1;
1339
1156
  if (tmp3_safe_receiver == null)
1340
1157
  null;
1341
1158
  else {
1342
- var tmp$ret$7;
1343
1159
  // Inline function 'kotlin.let' call
1344
1160
  // Inline function 'kotlin.contracts.contract' call
1345
- var tmp$ret$6;
1346
1161
  // Inline function 'kotlinx.cli.OptionDescriptor.<get-helpMessage>.<anonymous>' call
1347
- tmp$ret$6 = result.y5(' Warning: ' + tmp3_safe_receiver);
1348
- tmp$ret$7 = tmp$ret$6;
1162
+ result.a6(' Warning: ' + tmp3_safe_receiver);
1349
1163
  }
1350
- result.y5('\n');
1164
+ result.a6('\n');
1351
1165
  return result.toString();
1352
1166
  };
1353
1167
  function Descriptor$defaultValueSet$delegate$lambda(this$0) {
1354
1168
  return function () {
1355
1169
  var tmp;
1356
- if (!(this$0.l1v_1 == null)) {
1170
+ if (!(this$0.d1w_1 == null)) {
1357
1171
  var tmp_0;
1358
1172
  var tmp_1;
1359
- var tmp_2 = this$0.l1v_1;
1173
+ var tmp_2 = this$0.d1w_1;
1360
1174
  if (!(tmp_2 == null) ? isInterface(tmp_2, List) : false) {
1361
1175
  var tmp$ret$0;
1362
1176
  // Inline function 'kotlin.collections.isNotEmpty' call
1363
- var tmp0_isNotEmpty = this$0.l1v_1;
1177
+ var tmp0_isNotEmpty = this$0.d1w_1;
1364
1178
  tmp$ret$0 = !tmp0_isNotEmpty.g();
1365
1179
  tmp_1 = tmp$ret$0;
1366
1180
  } else {
@@ -1369,7 +1183,7 @@
1369
1183
  if (tmp_1) {
1370
1184
  tmp_0 = true;
1371
1185
  } else {
1372
- var tmp_3 = this$0.l1v_1;
1186
+ var tmp_3 = this$0.d1w_1;
1373
1187
  tmp_0 = !(!(tmp_3 == null) ? isInterface(tmp_3, List) : false);
1374
1188
  }
1375
1189
  tmp = tmp_0;
@@ -1385,58 +1199,48 @@
1385
1199
  defaultValue = defaultValue === VOID ? null : defaultValue;
1386
1200
  required = required === VOID ? false : required;
1387
1201
  deprecatedWarning = deprecatedWarning === VOID ? null : deprecatedWarning;
1388
- this.i1v_1 = type;
1389
- this.j1v_1 = fullName;
1390
- this.k1v_1 = description;
1391
- this.l1v_1 = defaultValue;
1392
- this.m1v_1 = required;
1393
- this.n1v_1 = deprecatedWarning;
1202
+ this.a1w_1 = type;
1203
+ this.b1w_1 = fullName;
1204
+ this.c1w_1 = description;
1205
+ this.d1w_1 = defaultValue;
1206
+ this.e1w_1 = required;
1207
+ this.f1w_1 = deprecatedWarning;
1394
1208
  var tmp = this;
1395
- tmp.o1v_1 = lazy(Descriptor$defaultValueSet$delegate$lambda(this));
1209
+ tmp.g1w_1 = lazy(Descriptor$defaultValueSet$delegate$lambda(this));
1396
1210
  }
1397
- protoOf(Descriptor).k1z = function (value) {
1398
- var tmp0_safe_receiver = value;
1211
+ protoOf(Descriptor).c20 = function (value) {
1399
1212
  var tmp;
1400
- if (tmp0_safe_receiver == null) {
1213
+ if (value == null) {
1401
1214
  tmp = null;
1402
1215
  } else {
1403
- var tmp$ret$2;
1404
1216
  // Inline function 'kotlin.let' call
1405
1217
  // Inline function 'kotlin.contracts.contract' call
1406
- var tmp$ret$1;
1407
1218
  // Inline function 'kotlinx.cli.Descriptor.valueDescription.<anonymous>' call
1408
1219
  var tmp_0;
1409
1220
  var tmp_1;
1410
- if (!(tmp0_safe_receiver == null) ? isInterface(tmp0_safe_receiver, List) : false) {
1411
- var tmp$ret$0;
1221
+ if (!(value == null) ? isInterface(value, List) : false) {
1412
1222
  // Inline function 'kotlin.collections.isNotEmpty' call
1413
- var tmp0_isNotEmpty = tmp0_safe_receiver;
1414
- tmp$ret$0 = !tmp0_isNotEmpty.g();
1415
- tmp_1 = tmp$ret$0;
1223
+ tmp_1 = !value.g();
1416
1224
  } else {
1417
1225
  tmp_1 = false;
1418
1226
  }
1419
1227
  if (tmp_1) {
1420
- tmp_0 = ' [' + joinToString(tmp0_safe_receiver) + ']';
1228
+ tmp_0 = ' [' + joinToString(value) + ']';
1421
1229
  } else {
1422
- if (!(!(tmp0_safe_receiver == null) ? isInterface(tmp0_safe_receiver, List) : false)) {
1423
- tmp_0 = ' [' + tmp0_safe_receiver + ']';
1230
+ if (!(!(value == null) ? isInterface(value, List) : false)) {
1231
+ tmp_0 = ' [' + value + ']';
1424
1232
  } else {
1425
1233
  tmp_0 = null;
1426
1234
  }
1427
1235
  }
1428
- tmp$ret$1 = tmp_0;
1429
- tmp$ret$2 = tmp$ret$1;
1430
- tmp = tmp$ret$2;
1236
+ tmp = tmp_0;
1431
1237
  }
1432
1238
  return tmp;
1433
1239
  };
1434
- protoOf(Descriptor).s1v = function () {
1435
- var tmp$ret$0;
1240
+ protoOf(Descriptor).k1w = function () {
1436
1241
  // Inline function 'kotlin.getValue' call
1437
- var tmp0_getValue = defaultValueSet$factory();
1438
- tmp$ret$0 = this.o1v_1.w();
1439
- return tmp$ret$0;
1242
+ defaultValueSet$factory();
1243
+ return this.g1w_1.w();
1440
1244
  };
1441
1245
  function ArgDescriptor(type, fullName, number, description, defaultValue, required, deprecatedWarning) {
1442
1246
  number = number === VOID ? null : number;
@@ -1445,12 +1249,11 @@
1445
1249
  required = required === VOID ? true : required;
1446
1250
  deprecatedWarning = deprecatedWarning === VOID ? null : deprecatedWarning;
1447
1251
  Descriptor.call(this, type, fullName, description, defaultValue, required, deprecatedWarning);
1448
- this.f1y_1 = number;
1449
- var tmp0_safe_receiver = this.f1y_1;
1252
+ this.x1y_1 = number;
1253
+ var tmp0_safe_receiver = this.x1y_1;
1450
1254
  if (tmp0_safe_receiver == null)
1451
1255
  null;
1452
1256
  else {
1453
- var tmp$ret$0;
1454
1257
  // Inline function 'kotlin.let' call
1455
1258
  // Inline function 'kotlin.contracts.contract' call
1456
1259
  var tmp;
@@ -1458,118 +1261,96 @@
1458
1261
  var tmp0_error = 'Number of arguments for argument description ' + fullName + ' should be greater than zero.';
1459
1262
  throw IllegalStateException_init_$Create$(toString(tmp0_error));
1460
1263
  }
1461
- tmp$ret$0 = tmp;
1462
1264
  }
1463
1265
  }
1464
- protoOf(ArgDescriptor).z1v = function () {
1465
- return 'argument ' + this.j1v_1;
1266
+ protoOf(ArgDescriptor).r1w = function () {
1267
+ return 'argument ' + this.b1w_1;
1466
1268
  };
1467
- protoOf(ArgDescriptor).v1x = function () {
1269
+ protoOf(ArgDescriptor).n1y = function () {
1468
1270
  var result = StringBuilder_init_$Create$();
1469
- result.y5(' ' + this.j1v_1);
1470
- var tmp0_safe_receiver = this.k1z(this.l1v_1);
1271
+ result.a6(' ' + this.b1w_1);
1272
+ var tmp0_safe_receiver = this.c20(this.d1w_1);
1471
1273
  if (tmp0_safe_receiver == null)
1472
1274
  null;
1473
1275
  else {
1474
- var tmp$ret$1;
1475
1276
  // Inline function 'kotlin.let' call
1476
1277
  // Inline function 'kotlin.contracts.contract' call
1477
- var tmp$ret$0;
1478
1278
  // Inline function 'kotlinx.cli.ArgDescriptor.<get-helpMessage>.<anonymous>' call
1479
- tmp$ret$0 = result.y5(tmp0_safe_receiver);
1480
- tmp$ret$1 = tmp$ret$0;
1279
+ result.a6(tmp0_safe_receiver);
1481
1280
  }
1482
- var tmp1_safe_receiver = this.k1v_1;
1281
+ var tmp1_safe_receiver = this.c1w_1;
1483
1282
  if (tmp1_safe_receiver == null)
1484
1283
  null;
1485
1284
  else {
1486
- var tmp$ret$3;
1487
1285
  // Inline function 'kotlin.let' call
1488
1286
  // Inline function 'kotlin.contracts.contract' call
1489
- var tmp$ret$2;
1490
1287
  // Inline function 'kotlinx.cli.ArgDescriptor.<get-helpMessage>.<anonymous>' call
1491
- tmp$ret$2 = result.y5(' -> ' + tmp1_safe_receiver);
1492
- tmp$ret$3 = tmp$ret$2;
1288
+ result.a6(' -> ' + tmp1_safe_receiver);
1493
1289
  }
1494
- if (!this.m1v_1) {
1495
- result.y5(' (optional)');
1290
+ if (!this.e1w_1) {
1291
+ result.a6(' (optional)');
1496
1292
  }
1497
- result.y5(' ' + this.i1v_1.a1w());
1498
- var tmp2_safe_receiver = this.n1v_1;
1293
+ result.a6(' ' + this.a1w_1.s1w());
1294
+ var tmp2_safe_receiver = this.f1w_1;
1499
1295
  if (tmp2_safe_receiver == null)
1500
1296
  null;
1501
1297
  else {
1502
- var tmp$ret$5;
1503
1298
  // Inline function 'kotlin.let' call
1504
1299
  // Inline function 'kotlin.contracts.contract' call
1505
- var tmp$ret$4;
1506
1300
  // Inline function 'kotlinx.cli.ArgDescriptor.<get-helpMessage>.<anonymous>' call
1507
- tmp$ret$4 = result.y5(' Warning: ' + tmp2_safe_receiver);
1508
- tmp$ret$5 = tmp$ret$4;
1301
+ result.a6(' Warning: ' + tmp2_safe_receiver);
1509
1302
  }
1510
- result.y5('\n');
1303
+ result.a6('\n');
1511
1304
  return result.toString();
1512
1305
  };
1513
1306
  function defaultValueSet$factory() {
1514
1307
  return getPropertyCallableRef('defaultValueSet', 1, KProperty1, function (receiver) {
1515
- return receiver.s1v();
1308
+ return receiver.k1w();
1516
1309
  }, null);
1517
1310
  }
1518
1311
  function SingleOption(descriptor, owner) {
1519
1312
  AbstractSingleOption.call(this, new ArgumentSingleValue(descriptor), owner);
1520
- this.o1z(descriptor);
1313
+ this.g20(descriptor);
1521
1314
  }
1522
1315
  function default_0(_this__u8e3s4, value) {
1523
- var tmp$ret$2;
1524
1316
  // Inline function 'kotlin.with' call
1525
- var tmp$ret$0;
1526
1317
  // Inline function 'kotlinx.cli.cast' call
1527
- var tmp0_cast = _this__u8e3s4.d1w_1;
1528
- tmp$ret$0 = tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE();
1529
- var tmp = tmp$ret$0.p1v_1;
1318
+ var tmp0_cast = _this__u8e3s4.v1w_1;
1319
+ var tmp = (tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE()).h1w_1;
1530
1320
  var tmp1_with = tmp instanceof OptionDescriptor ? tmp : THROW_CCE();
1531
1321
  // Inline function 'kotlin.contracts.contract' call
1532
- var tmp$ret$1;
1533
1322
  // Inline function 'kotlinx.cli.default.<anonymous>' call
1534
- tmp$ret$1 = new SingleOption(new OptionDescriptor(tmp1_with.s1w_1, tmp1_with.t1w_1, tmp1_with.i1v_1, tmp1_with.j1v_1, tmp1_with.u1w_1, tmp1_with.k1v_1, value, tmp1_with.m1v_1, tmp1_with.v1w_1, tmp1_with.w1w_1, tmp1_with.n1v_1), _this__u8e3s4.e1w_1);
1535
- tmp$ret$2 = tmp$ret$1;
1536
- var newOption = tmp$ret$2;
1537
- _this__u8e3s4.e1w_1.c1w_1 = newOption;
1323
+ var newOption = new SingleOption(new OptionDescriptor(tmp1_with.k1x_1, tmp1_with.l1x_1, tmp1_with.a1w_1, tmp1_with.b1w_1, tmp1_with.m1x_1, tmp1_with.c1w_1, value, tmp1_with.e1w_1, tmp1_with.n1x_1, tmp1_with.o1x_1, tmp1_with.f1w_1), _this__u8e3s4.w1w_1);
1324
+ _this__u8e3s4.w1w_1.u1w_1 = newOption;
1538
1325
  return newOption;
1539
1326
  }
1540
1327
  function SingleNullableOption(descriptor, owner) {
1541
1328
  AbstractSingleOption.call(this, new ArgumentSingleNullableValue(descriptor), owner);
1542
- this.o1z(descriptor);
1329
+ this.g20(descriptor);
1543
1330
  }
1544
1331
  function MultipleOption(descriptor, owner) {
1545
1332
  Option.call(this, new ArgumentMultipleValues(descriptor), owner);
1546
- if (!descriptor.v1w_1 ? descriptor.w1w_1 == null : false) {
1333
+ if (!descriptor.n1x_1 ? descriptor.o1x_1 == null : false) {
1547
1334
  failAssertion("Option with multiple values can't be initialized with descriptor for single one.");
1548
1335
  }
1549
1336
  }
1550
1337
  function multiple(_this__u8e3s4) {
1551
- var tmp$ret$2;
1552
1338
  // Inline function 'kotlin.with' call
1553
- var tmp$ret$0;
1554
1339
  // Inline function 'kotlinx.cli.cast' call
1555
- var tmp0_cast = _this__u8e3s4.d1w_1;
1556
- tmp$ret$0 = tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE();
1557
- var tmp = tmp$ret$0.p1v_1;
1340
+ var tmp0_cast = _this__u8e3s4.v1w_1;
1341
+ var tmp = (tmp0_cast instanceof ParsingValue ? tmp0_cast : THROW_CCE()).h1w_1;
1558
1342
  var tmp1_with = tmp instanceof OptionDescriptor ? tmp : THROW_CCE();
1559
1343
  // Inline function 'kotlin.contracts.contract' call
1560
- var tmp$ret$1;
1561
1344
  // Inline function 'kotlinx.cli.multiple.<anonymous>' call
1562
- tmp$ret$1 = new MultipleOption(new OptionDescriptor(tmp1_with.s1w_1, tmp1_with.t1w_1, tmp1_with.i1v_1, tmp1_with.j1v_1, tmp1_with.u1w_1, tmp1_with.k1v_1, listOfNotNull(tmp1_with.l1v_1), tmp1_with.m1v_1, true, tmp1_with.w1w_1, tmp1_with.n1v_1), _this__u8e3s4.e1w_1);
1563
- tmp$ret$2 = tmp$ret$1;
1564
- var newOption = tmp$ret$2;
1565
- _this__u8e3s4.e1w_1.c1w_1 = newOption;
1345
+ var newOption = new MultipleOption(new OptionDescriptor(tmp1_with.k1x_1, tmp1_with.l1x_1, tmp1_with.a1w_1, tmp1_with.b1w_1, tmp1_with.m1x_1, tmp1_with.c1w_1, listOfNotNull(tmp1_with.d1w_1), tmp1_with.e1w_1, true, tmp1_with.o1x_1, tmp1_with.f1w_1), _this__u8e3s4.w1w_1);
1346
+ _this__u8e3s4.w1w_1.u1w_1 = newOption;
1566
1347
  return newOption;
1567
1348
  }
1568
1349
  function AbstractSingleOption(delegate, owner) {
1569
1350
  Option.call(this, delegate, owner);
1570
1351
  }
1571
- protoOf(AbstractSingleOption).o1z = function (descriptor) {
1572
- if (descriptor.v1w_1 ? true : !(descriptor.w1w_1 == null)) {
1352
+ protoOf(AbstractSingleOption).g20 = function (descriptor) {
1353
+ if (descriptor.n1x_1 ? true : !(descriptor.o1x_1 == null)) {
1573
1354
  failAssertion("Option with single value can't be initialized with descriptor for multiple values.");
1574
1355
  }
1575
1356
  };
@@ -1581,9 +1362,9 @@
1581
1362
  throw IllegalStateException_init_$Create$('Not implemented for JS!');
1582
1363
  }
1583
1364
  //region block: post-declaration
1584
- protoOf(ArgumentSingleValue).w1x = getValue;
1585
- protoOf(ArgumentSingleNullableValue).w1x = getValue;
1586
- protoOf(ArgumentMultipleValues).w1x = getValue;
1365
+ protoOf(ArgumentSingleValue).o1y = getValue;
1366
+ protoOf(ArgumentSingleNullableValue).o1y = getValue;
1367
+ protoOf(ArgumentMultipleValues).o1y = getValue;
1587
1368
  //endregion
1588
1369
  //region block: exports
1589
1370
  _.$_$ = _.$_$ || {};