@flock/wirespec 0.7.0 → 0.7.2

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 (37) hide show
  1. package/kotlin/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js +335 -335
  2. package/kotlin/arrow-arrow-atomic.js +15 -15
  3. package/kotlin/arrow-arrow-continuations.js +3 -3
  4. package/kotlin/arrow-arrow-core.js +74 -74
  5. package/kotlin/kotlin-kotlin-stdlib-js-ir.js +330 -276
  6. package/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
  7. package/kotlin/kotlin-openapi-bindings.js +3264 -3266
  8. package/kotlin/kotlin-openapi-bindings.js.map +1 -1
  9. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1329 -1330
  10. package/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -1
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1186 -1185
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
  13. package/kotlin/wirespec-cli.js +129 -129
  14. package/kotlin/wirespec-core.js +974 -916
  15. package/kotlin/wirespec-core.js.map +1 -1
  16. package/kotlin/wirespec-lib.js +58 -58
  17. package/kotlin/wirespec-openapi.js +637 -609
  18. package/kotlin/wirespec-openapi.js.map +1 -1
  19. package/package.json +1 -1
  20. package/sync-hashes/Kotlinx-Cli-Library-kotlinx-cli-js-ir.js.hash +1 -1
  21. package/sync-hashes/arrow-arrow-atomic.js.hash +1 -1
  22. package/sync-hashes/arrow-arrow-continuations.js.hash +1 -1
  23. package/sync-hashes/arrow-arrow-core.js.hash +1 -1
  24. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.hash +1 -1
  25. package/sync-hashes/kotlin-kotlin-stdlib-js-ir.js.map.hash +1 -1
  26. package/sync-hashes/kotlin-openapi-bindings.js.hash +1 -1
  27. package/sync-hashes/kotlin-openapi-bindings.js.map.hash +1 -1
  28. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.hash +1 -1
  29. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map.hash +1 -1
  30. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.hash +1 -1
  31. package/sync-hashes/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map.hash +1 -1
  32. package/sync-hashes/wirespec-cli.js.hash +1 -1
  33. package/sync-hashes/wirespec-core.js.hash +1 -1
  34. package/sync-hashes/wirespec-core.js.map.hash +1 -1
  35. package/sync-hashes/wirespec-lib.js.hash +1 -1
  36. package/sync-hashes/wirespec-openapi.js.hash +1 -1
  37. package/sync-hashes/wirespec-openapi.js.map.hash +1 -1
@@ -16,107 +16,110 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var toString = kotlin_kotlin.$_$.y7;
19
+ var toString = kotlin_kotlin.$_$.x7;
20
20
  var Unit_getInstance = kotlin_kotlin.$_$.i3;
21
- var Enum = kotlin_kotlin.$_$.q9;
22
- var protoOf = kotlin_kotlin.$_$.t7;
23
- var classMeta = kotlin_kotlin.$_$.q6;
24
- var VOID = kotlin_kotlin.$_$.za;
25
- var setMetadataFor = kotlin_kotlin.$_$.u7;
26
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ua;
21
+ var Enum = kotlin_kotlin.$_$.s9;
22
+ var protoOf = kotlin_kotlin.$_$.s7;
23
+ var classMeta = kotlin_kotlin.$_$.p6;
24
+ var VOID = kotlin_kotlin.$_$.bb;
25
+ var setMetadataFor = kotlin_kotlin.$_$.t7;
26
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.wa;
27
27
  var Left = kotlin_io_arrow_kt_arrow_core.$_$.c;
28
28
  var Right = kotlin_io_arrow_kt_arrow_core.$_$.d;
29
29
  var Regex_init_$Create$ = kotlin_kotlin.$_$.v;
30
- var to = kotlin_kotlin.$_$.ya;
31
- var listOf = kotlin_kotlin.$_$.j5;
32
- var objectMeta = kotlin_kotlin.$_$.s7;
33
- var trimMargin = kotlin_kotlin.$_$.k9;
30
+ var to = kotlin_kotlin.$_$.ab;
31
+ var listOf = kotlin_kotlin.$_$.i5;
32
+ var objectMeta = kotlin_kotlin.$_$.r7;
33
+ var trimMargin = kotlin_kotlin.$_$.m9;
34
34
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.m;
35
35
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
36
- var joinToString = kotlin_kotlin.$_$.b5;
37
- var split = kotlin_kotlin.$_$.x8;
36
+ var joinToString = kotlin_kotlin.$_$.a5;
37
+ var split = kotlin_kotlin.$_$.z8;
38
38
  var collectionSizeOrDefault = kotlin_kotlin.$_$.c4;
39
39
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.f;
40
- var plus = kotlin_kotlin.$_$.p5;
41
- var plus_0 = kotlin_kotlin.$_$.q5;
42
- var filterNotNull = kotlin_kotlin.$_$.u4;
43
- var toIntOrNull = kotlin_kotlin.$_$.c9;
44
- var toSet = kotlin_kotlin.$_$.b6;
40
+ var plus = kotlin_kotlin.$_$.o5;
41
+ var plus_0 = kotlin_kotlin.$_$.p5;
42
+ var filterNotNull = kotlin_kotlin.$_$.t4;
43
+ var toIntOrNull = kotlin_kotlin.$_$.e9;
44
+ var replace = kotlin_kotlin.$_$.w8;
45
+ var first = kotlin_kotlin.$_$.p8;
46
+ var isDigit = kotlin_kotlin.$_$.s8;
47
+ var toSet = kotlin_kotlin.$_$.a6;
45
48
  var isBlank = kotlin_kotlin.$_$.r8;
46
49
  var checkIndexOverflow = kotlin_kotlin.$_$.b4;
47
- var THROW_CCE = kotlin_kotlin.$_$.z9;
48
- var isCharSequence = kotlin_kotlin.$_$.e7;
49
- var trimStart = kotlin_kotlin.$_$.l9;
50
- var dropLast = kotlin_kotlin.$_$.m8;
51
- var drop = kotlin_kotlin.$_$.n8;
52
- var charSequenceLength = kotlin_kotlin.$_$.o6;
53
- var charSequenceGet = kotlin_kotlin.$_$.n6;
50
+ var THROW_CCE = kotlin_kotlin.$_$.ba;
51
+ var isCharSequence = kotlin_kotlin.$_$.d7;
52
+ var trimStart = kotlin_kotlin.$_$.n9;
53
+ var dropLast = kotlin_kotlin.$_$.l8;
54
+ var drop = kotlin_kotlin.$_$.m8;
55
+ var charSequenceLength = kotlin_kotlin.$_$.n6;
56
+ var charSequenceGet = kotlin_kotlin.$_$.m6;
54
57
  var toString_0 = kotlin_kotlin.$_$.l1;
55
58
  var Collection = kotlin_kotlin.$_$.m3;
56
- var isInterface = kotlin_kotlin.$_$.i7;
57
- var listOf_0 = kotlin_kotlin.$_$.i5;
58
- var interfaceMeta = kotlin_kotlin.$_$.z6;
59
- var captureStack = kotlin_kotlin.$_$.k6;
59
+ var isInterface = kotlin_kotlin.$_$.h7;
60
+ var listOf_0 = kotlin_kotlin.$_$.h5;
61
+ var interfaceMeta = kotlin_kotlin.$_$.y6;
62
+ var captureStack = kotlin_kotlin.$_$.j6;
60
63
  var getKClassFromExpression = kotlin_kotlin.$_$.c;
61
- var RuntimeException = kotlin_kotlin.$_$.y9;
64
+ var RuntimeException = kotlin_kotlin.$_$.aa;
62
65
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.h1;
63
- var getStringHashCode = kotlin_kotlin.$_$.x6;
64
- var hashCode = kotlin_kotlin.$_$.y6;
65
- var equals = kotlin_kotlin.$_$.s6;
66
+ var getStringHashCode = kotlin_kotlin.$_$.w6;
67
+ var hashCode = kotlin_kotlin.$_$.x6;
68
+ var equals = kotlin_kotlin.$_$.r6;
66
69
  var DefaultRaise = kotlin_io_arrow_kt_arrow_core.$_$.a;
67
70
  var nonFatalOrThrow = kotlin_io_arrow_kt_arrow_core.$_$.g;
68
71
  var raisedOrRethrow = kotlin_io_arrow_kt_arrow_core.$_$.b;
69
- var CancellationException = kotlin_kotlin.$_$.e6;
72
+ var CancellationException = kotlin_kotlin.$_$.d6;
70
73
  var getKClass = kotlin_kotlin.$_$.d;
71
74
  var nonEmptyListOf = kotlin_io_arrow_kt_arrow_core.$_$.f;
72
75
  var Companion_getInstance = kotlin_kotlin.$_$.d3;
73
76
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.m1;
74
- var createFailure = kotlin_kotlin.$_$.na;
77
+ var createFailure = kotlin_kotlin.$_$.pa;
75
78
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.p1;
76
- var isObject = kotlin_kotlin.$_$.k7;
79
+ var isObject = kotlin_kotlin.$_$.j7;
77
80
  var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.o1;
78
- var emptyList = kotlin_kotlin.$_$.r4;
79
- var lastOrNull = kotlin_kotlin.$_$.e5;
80
- var removePrefix = kotlin_kotlin.$_$.u8;
81
+ var emptyList = kotlin_kotlin.$_$.q4;
82
+ var lastOrNull = kotlin_kotlin.$_$.d5;
83
+ var removePrefix = kotlin_kotlin.$_$.v8;
81
84
  var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.g1;
82
- var ensureNotNull = kotlin_kotlin.$_$.oa;
83
- var println = kotlin_kotlin.$_$.h6;
85
+ var ensureNotNull = kotlin_kotlin.$_$.qa;
86
+ var println = kotlin_kotlin.$_$.g6;
84
87
  //endregion
85
88
  //region block: pre-declaration
86
89
  setMetadataFor(Reported, 'Reported', classMeta, Enum);
87
90
  setMetadataFor(Wirespec, 'Wirespec', objectMeta);
88
91
  function withLogging(_this__u8e3s4, logger, block) {
89
- return logger.vk('Emitting Definition: Type', block);
92
+ return logger.wk('Emitting Definition: Type', block);
90
93
  }
91
94
  function withLogging_0(_this__u8e3s4, logger, block) {
92
- return logger.vk('Emitting Definition: Type Shape', block);
95
+ return logger.wk('Emitting Definition: Type Shape', block);
93
96
  }
94
97
  function withLogging_1(_this__u8e3s4, logger, block) {
95
- return logger.vk('Emitting Definition: Type Shape Field', block);
98
+ return logger.wk('Emitting Definition: Type Shape Field', block);
96
99
  }
97
100
  function withLogging_2(_this__u8e3s4, logger, block) {
98
- return logger.vk('Emitting Definition: Type Shape Field Key', block);
101
+ return logger.wk('Emitting Definition: Type Shape Field Key', block);
99
102
  }
100
103
  function withLogging_3(_this__u8e3s4, logger, block) {
101
- return logger.vk('Emitting Definition: Type Shape Field Value', block);
104
+ return logger.wk('Emitting Definition: Type Shape Field Value', block);
102
105
  }
103
106
  setMetadataFor(TypeDefinitionEmitterLogger, 'TypeDefinitionEmitterLogger', interfaceMeta);
104
107
  function withLogging_4(_this__u8e3s4, logger, block) {
105
- return logger.vk('Emitting Definition: Endpoint', block);
108
+ return logger.wk('Emitting Definition: Endpoint', block);
106
109
  }
107
110
  setMetadataFor(EnumDefinitionEmitterLogger, 'EnumDefinitionEmitterLogger', interfaceMeta);
108
111
  function withLogging_5(_this__u8e3s4, logger, block) {
109
- return logger.vk('Emitting Definition: Refined', block);
112
+ return logger.wk('Emitting Definition: Refined', block);
110
113
  }
111
114
  function withLogging_6(_this__u8e3s4, logger, block) {
112
- return logger.vk('Emitting Definition: Refined Validator', block);
115
+ return logger.wk('Emitting Definition: Refined Validator', block);
113
116
  }
114
117
  setMetadataFor(RefinedTypeDefinitionEmitterLogger, 'RefinedTypeDefinitionEmitterLogger', interfaceMeta);
115
118
  function withLogging_7(_this__u8e3s4, logger, block) {
116
- return logger.vk('Emitting Definition: Endpoint', block);
119
+ return logger.wk('Emitting Definition: Endpoint', block);
117
120
  }
118
121
  function withLogging_8(_this__u8e3s4, logger, block) {
119
- return logger.vk('Emitting Definition: Endpoint Segment', block);
122
+ return logger.wk('Emitting Definition: Endpoint Segment', block);
120
123
  }
121
124
  setMetadataFor(EndpointDefinitionEmitterLogger, 'EndpointDefinitionEmitterLogger', interfaceMeta);
122
125
  setMetadataFor(Emitter, 'Emitter', classMeta, VOID, [TypeDefinitionEmitterLogger, EnumDefinitionEmitterLogger, RefinedTypeDefinitionEmitterLogger, EndpointDefinitionEmitterLogger]);
@@ -194,7 +197,7 @@
194
197
  var Reported_EMITTED_instance;
195
198
  function Reported$report$lambda($logger, this$0) {
196
199
  return function (it) {
197
- $logger.ih('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
200
+ $logger.kh('********** ' + this$0.p4_1 + ' **********\n' + toString(it) + '\n########## ' + this$0.p4_1 + ' ##########');
198
201
  return Unit_getInstance();
199
202
  };
200
203
  }
@@ -211,40 +214,40 @@
211
214
  function Reported(name, ordinal) {
212
215
  Enum.call(this, name, ordinal);
213
216
  }
214
- protoOf(Reported).lh = function (logger) {
217
+ protoOf(Reported).nh = function (logger) {
215
218
  return Reported$report$lambda(logger, this);
216
219
  };
217
220
  function Reported$report$ref($boundThis) {
218
221
  var l = function (p0) {
219
- return $boundThis.lh(p0);
222
+ return $boundThis.nh(p0);
220
223
  };
221
224
  l.callableName = 'report';
222
225
  return l;
223
226
  }
224
227
  function Reported$report$ref_0($boundThis) {
225
228
  var l = function (p0) {
226
- return $boundThis.lh(p0);
229
+ return $boundThis.nh(p0);
227
230
  };
228
231
  l.callableName = 'report';
229
232
  return l;
230
233
  }
231
234
  function Reported$report$ref_1($boundThis) {
232
235
  var l = function (p0) {
233
- return $boundThis.lh(p0);
236
+ return $boundThis.nh(p0);
234
237
  };
235
238
  l.callableName = 'report';
236
239
  return l;
237
240
  }
238
241
  function Reported$report$ref_2($boundThis) {
239
242
  var l = function (p0) {
240
- return $boundThis.lh(p0);
243
+ return $boundThis.nh(p0);
241
244
  };
242
245
  l.callableName = 'report';
243
246
  return l;
244
247
  }
245
248
  function Reported$report$ref_3($boundThis) {
246
249
  var l = function (p0) {
247
- return $boundThis.lh(p0);
250
+ return $boundThis.nh(p0);
248
251
  };
249
252
  l.callableName = 'report';
250
253
  return l;
@@ -281,7 +284,7 @@
281
284
  // Inline function 'kotlin.contracts.contract' call
282
285
  var tmp$ret$2;
283
286
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
284
- tmp$ret$2 = (new Parser($logger)).nh(tmp4_let);
287
+ tmp$ret$2 = (new Parser($logger)).ph(tmp4_let);
285
288
  tmp$ret$3 = tmp$ret$2;
286
289
  var tmp5_also = tmp$ret$3;
287
290
  var tmp6_also = Reported$report$ref_1(Reported_PARSED_getInstance())($logger);
@@ -298,7 +301,7 @@
298
301
  if (tmp0_subject instanceof Right) {
299
302
  var tmp$ret$6;
300
303
  // Inline function 'arrow.core.Either.map.<anonymous>' call
301
- var tmp7__anonymous__b0knam = tmp8_map.og_1;
304
+ var tmp7__anonymous__b0knam = tmp8_map.qg_1;
302
305
  var tmp$ret$5;
303
306
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
304
307
  tmp$ret$5 = validate(tmp7__anonymous__b0knam);
@@ -328,10 +331,10 @@
328
331
  if (tmp0_subject_0 instanceof Right) {
329
332
  var tmp$ret$11;
330
333
  // Inline function 'arrow.core.Either.map.<anonymous>' call
331
- var tmp11__anonymous__tkubxh = tmp12_map.og_1;
334
+ var tmp11__anonymous__tkubxh = tmp12_map.qg_1;
332
335
  var tmp$ret$10;
333
336
  // Inline function 'community.flock.wirespec.compiler.core.compile.<anonymous>.<anonymous>.<anonymous>' call
334
- tmp$ret$10 = emitter.qh(tmp11__anonymous__tkubxh);
337
+ tmp$ret$10 = emitter.sh(tmp11__anonymous__tkubxh);
335
338
  tmp$ret$11 = new Right(tmp$ret$10);
336
339
  tmp_0 = tmp$ret$11;
337
340
  } else {
@@ -374,10 +377,10 @@
374
377
  }
375
378
  function Wirespec() {
376
379
  Wirespec_instance = this;
377
- this.rh_1 = listOf([to(Regex_init_$Create$('^type'), WsTypeDef_getInstance()), to(Regex_init_$Create$('^enum'), WsEnumTypeDef_getInstance()), to(Regex_init_$Create$('^refined'), WsRefinedTypeDef_getInstance()), to(Regex_init_$Create$('^[^\\S\\r\\n]+'), WhiteSpaceExceptNewLine_getInstance()), to(Regex_init_$Create$('^[\\r\\n]'), NewLine_getInstance()), to(Regex_init_$Create$('^\\{'), LeftCurly_getInstance()), to(Regex_init_$Create$('^:'), Colon_getInstance()), to(Regex_init_$Create$('^,'), Comma_getInstance()), to(Regex_init_$Create$('^\\?'), QuestionMark_getInstance()), to(Regex_init_$Create$('^\\[\\]'), Brackets_getInstance()), to(Regex_init_$Create$('^String'), WsString_getInstance()), to(Regex_init_$Create$('^Integer'), WsInteger_getInstance()), to(Regex_init_$Create$('^Boolean'), WsBoolean_getInstance()), to(Regex_init_$Create$('^\\}'), RightCurly_getInstance()), to(Regex_init_$Create$('^[a-z][a-zA-Z]*'), CustomValue_getInstance()), to(Regex_init_$Create$('^[A-Z][a-zA-Z]*'), CustomType_getInstance()), to(Regex_init_$Create$('^/.*/g'), CustomRegex_getInstance()), to(Regex_init_$Create$('^.'), Invalid_getInstance())]);
380
+ this.th_1 = listOf([to(Regex_init_$Create$('^type'), WsTypeDef_getInstance()), to(Regex_init_$Create$('^enum'), WsEnumTypeDef_getInstance()), to(Regex_init_$Create$('^refined'), WsRefinedTypeDef_getInstance()), to(Regex_init_$Create$('^[^\\S\\r\\n]+'), WhiteSpaceExceptNewLine_getInstance()), to(Regex_init_$Create$('^[\\r\\n]'), NewLine_getInstance()), to(Regex_init_$Create$('^\\{'), LeftCurly_getInstance()), to(Regex_init_$Create$('^:'), Colon_getInstance()), to(Regex_init_$Create$('^,'), Comma_getInstance()), to(Regex_init_$Create$('^\\?'), QuestionMark_getInstance()), to(Regex_init_$Create$('^\\[\\]'), Brackets_getInstance()), to(Regex_init_$Create$('^String'), WsString_getInstance()), to(Regex_init_$Create$('^Integer'), WsInteger_getInstance()), to(Regex_init_$Create$('^Boolean'), WsBoolean_getInstance()), to(Regex_init_$Create$('^\\}'), RightCurly_getInstance()), to(Regex_init_$Create$('^[a-z][a-zA-Z]*'), CustomValue_getInstance()), to(Regex_init_$Create$('^[A-Z][a-zA-Z]*'), CustomType_getInstance()), to(Regex_init_$Create$('^/.*/g'), CustomRegex_getInstance()), to(Regex_init_$Create$('^.'), Invalid_getInstance())]);
378
381
  }
379
- protoOf(Wirespec).sh = function () {
380
- return this.rh_1;
382
+ protoOf(Wirespec).uh = function () {
383
+ return this.th_1;
381
384
  };
382
385
  var Wirespec_instance;
383
386
  function Wirespec_getInstance() {
@@ -386,14 +389,14 @@
386
389
  return Wirespec_instance;
387
390
  }
388
391
  function emitPrimaryType(_this__u8e3s4, $this) {
389
- return $this.th(_this__u8e3s4, $this.oh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
392
+ return $this.vh(_this__u8e3s4, $this.qh_1, JavaEmitter$emitPrimaryType$lambda(_this__u8e3s4));
390
393
  }
391
394
  function emit(_this__u8e3s4, $this, endpoint) {
392
395
  Companion_getInstance_1();
393
- var tmp = emitContentType(_this__u8e3s4.uh_1, $this);
394
- var tmp0_safe_receiver = _this__u8e3s4.uh_1;
395
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
396
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.di(tmp1_safe_receiver);
396
+ var tmp = emitContentType(_this__u8e3s4.wh_1, $this);
397
+ var tmp0_safe_receiver = _this__u8e3s4.wh_1;
398
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
399
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : $this.ei(tmp1_safe_receiver);
397
400
  var tmp_0 = tmp2_elvis_lhs == null ? 'Void' : tmp2_elvis_lhs;
398
401
  Companion_getInstance_1();
399
402
  Companion_getInstance_1();
@@ -405,33 +408,33 @@
405
408
  Companion_getInstance_1();
406
409
  Companion_getInstance_1();
407
410
  Companion_getInstance_1();
408
- var tmp3_safe_receiver = _this__u8e3s4.uh_1;
409
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.wh_1;
410
- var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.di(tmp4_safe_receiver);
411
+ var tmp3_safe_receiver = _this__u8e3s4.wh_1;
412
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.yh_1;
413
+ var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : $this.ei(tmp4_safe_receiver);
411
414
  var tmp_1 = tmp5_elvis_lhs == null ? 'Void' : tmp5_elvis_lhs;
412
415
  Companion_getInstance_1();
413
416
  Companion_getInstance_1();
414
- var tmp_2 = emitContentType(_this__u8e3s4.uh_1, $this);
415
- var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.uh_1);
417
+ var tmp_2 = emitContentType(_this__u8e3s4.wh_1, $this);
418
+ var tmp_3 = emitRequestSignature(endpoint, $this, _this__u8e3s4.wh_1);
416
419
  Companion_getInstance_1();
417
420
  Companion_getInstance_1();
418
421
  Companion_getInstance_1();
419
- var tmp_4 = emitPath(endpoint.gi_1, $this);
422
+ var tmp_4 = emitPath(endpoint.hi_1, $this);
420
423
  Companion_getInstance_1();
421
424
  Companion_getInstance_1();
422
425
  Companion_getInstance_1();
423
426
  Companion_getInstance_1();
424
427
  Companion_getInstance_1();
425
428
  Companion_getInstance_1();
426
- var tmp_5 = emitMap(endpoint.hi_1, $this);
429
+ var tmp_5 = emitMap(endpoint.ii_1, $this);
427
430
  Companion_getInstance_1();
428
431
  Companion_getInstance_1();
429
432
  Companion_getInstance_1();
430
- var tmp_6 = emitMap(endpoint.ii_1, $this);
433
+ var tmp_6 = emitMap(endpoint.ji_1, $this);
431
434
  Companion_getInstance_1();
432
435
  Companion_getInstance_1();
433
436
  Companion_getInstance_1();
434
- var tmp6_safe_receiver = _this__u8e3s4.uh_1;
437
+ var tmp6_safe_receiver = _this__u8e3s4.wh_1;
435
438
  var tmp_7;
436
439
  if (tmp6_safe_receiver == null) {
437
440
  tmp_7 = null;
@@ -441,7 +444,7 @@
441
444
  // Inline function 'kotlin.contracts.contract' call
442
445
  var tmp$ret$0;
443
446
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
444
- tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.vh_1 + '", body)';
447
+ tmp$ret$0 = 'new WirespecShared.Content("' + tmp6_safe_receiver.xh_1 + '", body)';
445
448
  tmp$ret$1 = tmp$ret$0;
446
449
  tmp_7 = tmp$ret$1;
447
450
  }
@@ -459,20 +462,20 @@
459
462
  Companion_getInstance_1();
460
463
  Companion_getInstance_1();
461
464
  Companion_getInstance_1();
462
- var tmp8_safe_receiver = _this__u8e3s4.uh_1;
463
- var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.wh_1;
464
- var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.di(tmp9_safe_receiver);
465
+ var tmp8_safe_receiver = _this__u8e3s4.wh_1;
466
+ var tmp9_safe_receiver = tmp8_safe_receiver == null ? null : tmp8_safe_receiver.yh_1;
467
+ var tmp10_elvis_lhs = tmp9_safe_receiver == null ? null : $this.ei(tmp9_safe_receiver);
465
468
  var tmp_9 = tmp10_elvis_lhs == null ? 'Void' : tmp10_elvis_lhs;
466
469
  Companion_getInstance_1();
467
- return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.fi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
470
+ return trimMargin('\n |' + ' ' + 'class Request' + tmp + ' implements Request<' + tmp_0 + '> {\n |' + ' ' + ' ' + 'private final String path;\n |' + ' ' + ' ' + 'private final WirespecShared.Method method;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> query;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_1 + '> content;\n |' + ' ' + ' ' + 'public Request' + tmp_2 + '(' + tmp_3 + ') {\n |' + ' ' + ' ' + ' ' + 'this.path = ' + tmp_4 + ';\n |' + ' ' + ' ' + ' ' + 'this.method = WirespecShared.Method.' + endpoint.gi_1.p4_1 + ';\n |' + ' ' + ' ' + ' ' + 'this.query = ' + tmp_5 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = ' + tmp_6 + ';\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_8 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public String getPath() {return path;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Method getMethod() {return method;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getQuery() {return query;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_9 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
468
471
  }
469
472
  function emit_0(_this__u8e3s4, $this) {
470
473
  Companion_getInstance_1();
471
- var tmp = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
472
- var tmp_0 = emitContentType(_this__u8e3s4.ni_1, $this);
474
+ var tmp = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
475
+ var tmp_0 = emitContentType(_this__u8e3s4.oi_1, $this);
473
476
  var tmp$ret$1;
474
477
  // Inline function 'kotlin.takeIf' call
475
- var tmp0_takeIf = _this__u8e3s4.mi_1;
478
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
476
479
  // Inline function 'kotlin.contracts.contract' call
477
480
  var tmp_1;
478
481
  var tmp$ret$0;
@@ -486,9 +489,9 @@
486
489
  tmp$ret$1 = tmp_1;
487
490
  var tmp0_safe_receiver = tmp$ret$1;
488
491
  var tmp_2 = orEmptyString(tmp0_safe_receiver == null ? null : groupStatus(tmp0_safe_receiver, $this), $this);
489
- var tmp1_safe_receiver = _this__u8e3s4.ni_1;
490
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.wh_1;
491
- var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.di(tmp2_safe_receiver);
492
+ var tmp1_safe_receiver = _this__u8e3s4.oi_1;
493
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.yh_1;
494
+ var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : $this.ei(tmp2_safe_receiver);
492
495
  var tmp_3 = tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
493
496
  Companion_getInstance_1();
494
497
  Companion_getInstance_1();
@@ -496,17 +499,17 @@
496
499
  Companion_getInstance_1();
497
500
  Companion_getInstance_1();
498
501
  Companion_getInstance_1();
499
- var tmp4_safe_receiver = _this__u8e3s4.ni_1;
500
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
501
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.di(tmp5_safe_receiver);
502
+ var tmp4_safe_receiver = _this__u8e3s4.oi_1;
503
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
504
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : $this.ei(tmp5_safe_receiver);
502
505
  var tmp_4 = tmp6_elvis_lhs == null ? 'Void' : tmp6_elvis_lhs;
503
506
  Companion_getInstance_1();
504
507
  Companion_getInstance_1();
505
- var tmp_5 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
506
- var tmp_6 = emitContentType(_this__u8e3s4.ni_1, $this);
508
+ var tmp_5 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
509
+ var tmp_6 = emitContentType(_this__u8e3s4.oi_1, $this);
507
510
  var tmp$ret$3;
508
511
  // Inline function 'kotlin.takeIf' call
509
- var tmp1_takeIf = _this__u8e3s4.mi_1;
512
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
510
513
  // Inline function 'kotlin.contracts.contract' call
511
514
  var tmp_7;
512
515
  var tmp$ret$2;
@@ -533,7 +536,7 @@
533
536
  tmp_8 = tmp$ret$5;
534
537
  }
535
538
  var tmp_9 = orEmptyString(tmp_8, $this);
536
- var tmp8_safe_receiver = _this__u8e3s4.ni_1;
539
+ var tmp8_safe_receiver = _this__u8e3s4.oi_1;
537
540
  var tmp_10;
538
541
  if (tmp8_safe_receiver == null) {
539
542
  tmp_10 = null;
@@ -543,7 +546,7 @@
543
546
  // Inline function 'kotlin.contracts.contract' call
544
547
  var tmp$ret$6;
545
548
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
546
- tmp$ret$6 = ', ' + $this.di(tmp8_safe_receiver.wh_1) + ' body';
549
+ tmp$ret$6 = ', ' + $this.ei(tmp8_safe_receiver.yh_1) + ' body';
547
550
  tmp$ret$7 = tmp$ret$6;
548
551
  tmp_10 = tmp$ret$7;
549
552
  }
@@ -554,7 +557,7 @@
554
557
  Companion_getInstance_1();
555
558
  var tmp$ret$9;
556
559
  // Inline function 'kotlin.takeIf' call
557
- var tmp2_takeIf = _this__u8e3s4.mi_1;
560
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
558
561
  // Inline function 'kotlin.contracts.contract' call
559
562
  var tmp_12;
560
563
  var tmp$ret$8;
@@ -574,7 +577,7 @@
574
577
  Companion_getInstance_1();
575
578
  Companion_getInstance_1();
576
579
  Companion_getInstance_1();
577
- var tmp11_safe_receiver = _this__u8e3s4.ni_1;
580
+ var tmp11_safe_receiver = _this__u8e3s4.oi_1;
578
581
  var tmp_14;
579
582
  if (tmp11_safe_receiver == null) {
580
583
  tmp_14 = null;
@@ -584,7 +587,7 @@
584
587
  // Inline function 'kotlin.contracts.contract' call
585
588
  var tmp$ret$10;
586
589
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
587
- tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.vh_1 + '", body)';
590
+ tmp$ret$10 = 'new WirespecShared.Content("' + tmp11_safe_receiver.xh_1 + '", body)';
588
591
  tmp$ret$11 = tmp$ret$10;
589
592
  tmp_14 = tmp$ret$11;
590
593
  }
@@ -598,9 +601,9 @@
598
601
  Companion_getInstance_1();
599
602
  Companion_getInstance_1();
600
603
  Companion_getInstance_1();
601
- var tmp13_safe_receiver = _this__u8e3s4.ni_1;
602
- var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.wh_1;
603
- var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.di(tmp14_safe_receiver);
604
+ var tmp13_safe_receiver = _this__u8e3s4.oi_1;
605
+ var tmp14_safe_receiver = tmp13_safe_receiver == null ? null : tmp13_safe_receiver.yh_1;
606
+ var tmp15_elvis_lhs = tmp14_safe_receiver == null ? null : $this.ei(tmp14_safe_receiver);
604
607
  var tmp_16 = tmp15_elvis_lhs == null ? 'Void' : tmp15_elvis_lhs;
605
608
  Companion_getInstance_1();
606
609
  return trimMargin('\n |' + ' ' + 'class Response' + tmp + tmp_0 + ' implements Response' + tmp_2 + '<' + tmp_3 + '> {\n |' + ' ' + ' ' + 'private final int status;\n |' + ' ' + ' ' + 'private final java.util.Map<String, java.util.List<Object>> headers;\n |' + ' ' + ' ' + 'private final WirespecShared.Content<' + tmp_4 + '> content;\n |' + ' ' + ' ' + 'public Response' + tmp_5 + tmp_6 + '(' + tmp_9 + 'java.util.Map<String, java.util.List<Object>> headers' + tmp_11 + ') {\n |' + ' ' + ' ' + ' ' + 'this.status = ' + tmp_13 + ';\n |' + ' ' + ' ' + ' ' + 'this.headers = headers;\n |' + ' ' + ' ' + ' ' + 'this.content = ' + tmp_15 + ';\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + '@Override public int getStatus() {return status;}\n |' + ' ' + ' ' + '@Override public java.util.Map<String, java.util.List<Object>> getHeaders() {return headers;}\n |' + ' ' + ' ' + '@Override public WirespecShared.Content<' + tmp_16 + '> getContent() {return content;}\n |' + ' ' + '}\n ');
@@ -616,8 +619,8 @@
616
619
  var e = tmp0_iterator.e();
617
620
  var tmp$ret$0;
618
621
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapper.<anonymous>' call
619
- var tmp0_safe_receiver = e.ni_1;
620
- tmp$ret$0 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
622
+ var tmp0_safe_receiver = e.oi_1;
623
+ tmp$ret$0 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
621
624
  var key = tmp$ret$0;
622
625
  if (set.a(key)) {
623
626
  list.a(e);
@@ -632,7 +635,7 @@
632
635
  return trimMargin('\n |' + ' ' + 'static <B> Response RESPONSE_MAPPER(WirespecShared.ContentMapper<B> contentMapper, int status, java.util.Map<String, java.util.List<Object>> headers, WirespecShared.Content<B> content) {\n |' + tmp_0 + '\n |' + ' ' + ' ' + 'throw new IllegalStateException("Unknown response type");\n |' + ' ' + '}\n ');
633
636
  }
634
637
  function emitResponseMapperCondition(_this__u8e3s4, $this) {
635
- var tmp0_subject = _this__u8e3s4.ni_1;
638
+ var tmp0_subject = _this__u8e3s4.oi_1;
636
639
  var tmp;
637
640
  if (tmp0_subject == null) {
638
641
  Companion_getInstance_1();
@@ -640,7 +643,7 @@
640
643
  Companion_getInstance_1();
641
644
  var tmp$ret$1;
642
645
  // Inline function 'kotlin.takeIf' call
643
- var tmp0_takeIf = _this__u8e3s4.mi_1;
646
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
644
647
  // Inline function 'kotlin.contracts.contract' call
645
648
  var tmp_0;
646
649
  var tmp$ret$0;
@@ -662,15 +665,15 @@
662
665
  // Inline function 'kotlin.contracts.contract' call
663
666
  var tmp$ret$2;
664
667
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
665
- tmp$ret$2 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
668
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
666
669
  tmp$ret$3 = tmp$ret$2;
667
670
  tmp_1 = tmp$ret$3;
668
671
  }
669
672
  var tmp_2 = orEmptyString(tmp_1, $this);
670
- var tmp_3 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
673
+ var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
671
674
  var tmp$ret$5;
672
675
  // Inline function 'kotlin.takeIf' call
673
- var tmp1_takeIf = _this__u8e3s4.mi_1;
676
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
674
677
  // Inline function 'kotlin.contracts.contract' call
675
678
  var tmp_4;
676
679
  var tmp$ret$4;
@@ -703,7 +706,7 @@
703
706
  Companion_getInstance_1();
704
707
  var tmp$ret$9;
705
708
  // Inline function 'kotlin.takeIf' call
706
- var tmp2_takeIf = _this__u8e3s4.mi_1;
709
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
707
710
  // Inline function 'kotlin.contracts.contract' call
708
711
  var tmp_6;
709
712
  var tmp$ret$8;
@@ -725,7 +728,7 @@
725
728
  // Inline function 'kotlin.contracts.contract' call
726
729
  var tmp$ret$10;
727
730
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitResponseMapperCondition.<anonymous>' call
728
- tmp$ret$10 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
731
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
729
732
  tmp$ret$11 = tmp$ret$10;
730
733
  tmp_7 = tmp$ret$11;
731
734
  }
@@ -734,18 +737,18 @@
734
737
  Companion_getInstance_1();
735
738
  Companion_getInstance_1();
736
739
  Companion_getInstance_1();
737
- var tmp_9 = $this.di(_this__u8e3s4.ni_1.wh_1);
738
- var tmp_10 = emitPrimaryType(_this__u8e3s4.ni_1.wh_1, $this);
739
- var tmp_11 = _this__u8e3s4.ni_1.wh_1.qi();
740
+ var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
741
+ var tmp_10 = emitPrimaryType(_this__u8e3s4.oi_1.yh_1, $this);
742
+ var tmp_11 = _this__u8e3s4.oi_1.yh_1.ri();
740
743
  Companion_getInstance_1();
741
744
  Companion_getInstance_1();
742
745
  Companion_getInstance_1();
743
746
  Companion_getInstance_1();
744
- var tmp_12 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
745
- var tmp_13 = emitContentType(_this__u8e3s4.ni_1, $this);
747
+ var tmp_12 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
748
+ var tmp_13 = emitContentType(_this__u8e3s4.oi_1, $this);
746
749
  var tmp$ret$13;
747
750
  // Inline function 'kotlin.takeIf' call
748
- var tmp3_takeIf = _this__u8e3s4.mi_1;
751
+ var tmp3_takeIf = _this__u8e3s4.ni_1;
749
752
  // Inline function 'kotlin.contracts.contract' call
750
753
  var tmp_14;
751
754
  var tmp$ret$12;
@@ -775,14 +778,14 @@
775
778
  Companion_getInstance_1();
776
779
  Companion_getInstance_1();
777
780
  Companion_getInstance_1();
778
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.ni_1.vh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
781
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + 'if(' + tmp_8 + 'content.type().equals("' + _this__u8e3s4.oi_1.xh_1 + '")) {\n |' + ' ' + ' ' + ' ' + ' ' + 'WirespecShared.Content<' + tmp_9 + '> c = contentMapper.read(content, WirespecShared.getType(' + tmp_10 + '.class, ' + tmp_11 + '));\n |' + ' ' + ' ' + ' ' + ' ' + 'return new Response' + tmp_12 + tmp_13 + '(' + tmp_16 + 'headers, c.body());\n |' + ' ' + ' ' + ' ' + '}\n |\n ');
779
782
  }
780
783
  return tmp;
781
784
  }
782
785
  function emitContentType(_this__u8e3s4, $this) {
783
786
  var tmp0_safe_receiver = _this__u8e3s4;
784
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1;
785
- var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/']);
787
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1;
788
+ var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : split(tmp1_safe_receiver, ['/', '-']);
786
789
  var tmp;
787
790
  if (tmp2_safe_receiver == null) {
788
791
  tmp = null;
@@ -793,14 +796,14 @@
793
796
  return tmp3_elvis_lhs == null ? 'Void' : tmp3_elvis_lhs;
794
797
  }
795
798
  function emit_1(_this__u8e3s4, $this) {
796
- return $this.ri(_this__u8e3s4, $this.oh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
799
+ return $this.si(_this__u8e3s4, $this.qh_1, JavaEmitter$emit$lambda_8(_this__u8e3s4));
797
800
  }
798
801
  function emitRequestSignature(_this__u8e3s4, $this, content) {
799
802
  var tmp$ret$4;
800
803
  // Inline function 'kotlin.collections.map' call
801
804
  var tmp$ret$1;
802
805
  // Inline function 'kotlin.collections.filterIsInstance' call
803
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
806
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
804
807
  var tmp$ret$0;
805
808
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
806
809
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -822,15 +825,15 @@
822
825
  var item = tmp0_iterator_0.e();
823
826
  var tmp$ret$2;
824
827
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emitRequestSignature.<anonymous>' call
825
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
828
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
826
829
  tmp2_mapTo.a(tmp$ret$2);
827
830
  }
828
831
  tmp$ret$3 = tmp2_mapTo;
829
832
  tmp$ret$4 = tmp$ret$3;
830
833
  var pathField = tmp$ret$4;
831
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
834
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
832
835
  var tmp0_safe_receiver = content;
833
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
836
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
834
837
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
835
838
  return joinToString(tmp, ', ', VOID, VOID, VOID, VOID, JavaEmitter$emitRequestSignature$lambda($this));
836
839
  }
@@ -861,34 +864,34 @@
861
864
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
862
865
  tmp = tmp$ret$1 + 'XX';
863
866
  } else {
864
- tmp = Companion_getInstance_1().pi(_this__u8e3s4);
867
+ tmp = Companion_getInstance_1().qi(_this__u8e3s4);
865
868
  }
866
869
  return tmp;
867
870
  }
868
871
  function JavaEmitter$emit$lambda($this_emit, this$0) {
869
872
  return function () {
870
- return trimMargin('public record ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |) {};\n |');
873
+ return trimMargin('public record ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |) {};\n |');
871
874
  };
872
875
  }
873
876
  function JavaEmitter$emit$lambda$lambda(this$0) {
874
877
  return function (it) {
875
- return this$0.xi(it);
878
+ return this$0.yi(it);
876
879
  };
877
880
  }
878
881
  function JavaEmitter$emit$lambda_0($this_emit, this$0) {
879
882
  return function () {
880
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
883
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda(this$0));
881
884
  };
882
885
  }
883
886
  function JavaEmitter$emit$lambda_1($this_emit, this$0) {
884
887
  return function () {
885
888
  Companion_getInstance_1();
886
- return ' ' + ($this_emit.bj_1 ? 'java.util.Optional<' + this$0.di($this_emit.aj_1) + '>' : this$0.di($this_emit.aj_1)) + ' ' + this$0.cj($this_emit.zi_1);
889
+ return ' ' + ($this_emit.cj_1 ? 'java.util.Optional<' + this$0.ei($this_emit.bj_1) + '>' : this$0.ei($this_emit.bj_1)) + ' ' + this$0.dj($this_emit.aj_1);
887
890
  };
888
891
  }
889
892
  function JavaEmitter$emit$lambda_2($this_emit) {
890
893
  return function () {
891
- return $this_emit.dj_1;
894
+ return $this_emit.ej_1;
892
895
  };
893
896
  }
894
897
  function JavaEmitter$emitPrimaryType$lambda($this_emitPrimaryType) {
@@ -899,10 +902,10 @@
899
902
  tmp = 'Object';
900
903
  } else {
901
904
  if (tmp0_subject instanceof Custom) {
902
- tmp = $this_emitPrimaryType.hj_1;
905
+ tmp = $this_emitPrimaryType.ij_1;
903
906
  } else {
904
907
  if (tmp0_subject instanceof Primitive) {
905
- var tmp1_subject = $this_emitPrimaryType.ej_1;
908
+ var tmp1_subject = $this_emitPrimaryType.fj_1;
906
909
  var tmp0 = tmp1_subject.q4_1;
907
910
  var tmp_0;
908
911
  switch (tmp0) {
@@ -936,48 +939,70 @@
936
939
  // Inline function 'kotlin.contracts.contract' call
937
940
  var tmp$ret$0;
938
941
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
939
- tmp$ret$0 = $this_emit.qi() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
942
+ tmp$ret$0 = $this_emit.ri() ? 'java.util.List<' + tmp0_let + '>' : tmp0_let;
940
943
  tmp$ret$1 = tmp$ret$0;
941
944
  return tmp$ret$1;
942
945
  };
943
946
  }
947
+ function invoke$sanitize(_this__u8e3s4) {
948
+ var tmp$ret$1;
949
+ // Inline function 'kotlin.let' call
950
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
951
+ // Inline function 'kotlin.contracts.contract' call
952
+ var tmp$ret$0;
953
+ // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.JavaEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
954
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
955
+ tmp$ret$1 = tmp$ret$0;
956
+ return tmp$ret$1;
957
+ }
958
+ function JavaEmitter$emit$lambda$lambda_0(enum_0) {
959
+ return invoke$sanitize(enum_0) + '("' + enum_0 + '")';
960
+ }
944
961
  function JavaEmitter$emit$lambda_4($this_emit) {
945
962
  return function () {
946
963
  Companion_getInstance_1();
947
- return 'enum ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + ';\n}\n';
964
+ Companion_getInstance_1();
965
+ Companion_getInstance_1();
966
+ Companion_getInstance_1();
967
+ Companion_getInstance_1();
968
+ var body = trimMargin('\n |' + ' ' + 'public final String label;\n |' + ' ' + $this_emit.lj_1 + '(String label) {\n |' + ' ' + ' ' + 'this.label = label;\n |' + ' ' + '}\n ');
969
+ Companion_getInstance_1();
970
+ Companion_getInstance_1();
971
+ var tmp = ',\n' + ' ';
972
+ return 'public enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0) + ';\n' + body + '\n}\n';
948
973
  };
949
974
  }
950
975
  function JavaEmitter$emit$lambda_5($this_emit, this$0) {
951
976
  return function () {
952
977
  Companion_getInstance_1();
953
978
  Companion_getInstance_1();
954
- var tmp = this$0.oj($this_emit.nj_1);
979
+ var tmp = this$0.pj($this_emit.oj_1);
955
980
  Companion_getInstance_1();
956
- return trimMargin('public record ' + $this_emit.mj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.mj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
981
+ return trimMargin('public record ' + $this_emit.nj_1 + '(String value) {\n |' + ' ' + 'static void validate(' + $this_emit.nj_1 + ' record) {\n |' + ' ' + tmp + '\n |' + ' ' + '}\n |}\n |');
957
982
  };
958
983
  }
959
984
  function JavaEmitter$emit$lambda_6($this_emit) {
960
985
  return function () {
961
986
  Companion_getInstance_1();
962
- return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.pj_1 + ').matcher(record.value).find();';
987
+ return ' ' + 'java.util.regex.Pattern.compile(' + $this_emit.qj_1 + ').matcher(record.value).find();';
963
988
  };
964
989
  }
965
- function JavaEmitter$emit$lambda$lambda_0(this$0, $this_emit) {
990
+ function JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
966
991
  return function (it) {
967
992
  return emit(it, this$0, $this_emit);
968
993
  };
969
994
  }
970
- function JavaEmitter$emit$lambda$lambda_1(it) {
995
+ function JavaEmitter$emit$lambda$lambda_2(it) {
971
996
  Companion_getInstance_1();
972
997
  return ' ' + 'interface Response' + it + '<T> extends Response<T>{};';
973
998
  }
974
- function JavaEmitter$emit$lambda$lambda_2(this$0) {
999
+ function JavaEmitter$emit$lambda$lambda_3(this$0) {
975
1000
  return function (it) {
976
1001
  Companion_getInstance_1();
977
1002
  return ' ' + 'interface Response' + it + '<T> extends Response' + groupStatus(it, this$0) + '<T>{};';
978
1003
  };
979
1004
  }
980
- function JavaEmitter$emit$lambda$lambda_3(this$0) {
1005
+ function JavaEmitter$emit$lambda$lambda_4(this$0) {
981
1006
  return function (it) {
982
1007
  return emit_0(it, this$0);
983
1008
  };
@@ -985,14 +1010,14 @@
985
1010
  function JavaEmitter$emit$lambda_7($this_emit, this$0) {
986
1011
  return function () {
987
1012
  Companion_getInstance_1();
988
- var tmp = emitSegment($this_emit.gi_1, this$0);
989
- var tmp_0 = emitResponseMapper($this_emit.li_1, this$0);
1013
+ var tmp = emitSegment($this_emit.hi_1, this$0);
1014
+ var tmp_0 = emitResponseMapper($this_emit.mi_1, this$0);
990
1015
  Companion_getInstance_1();
991
- var tmp_1 = joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_0(this$0, $this_emit));
1016
+ var tmp_1 = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1(this$0, $this_emit));
992
1017
  Companion_getInstance_1();
993
1018
  var tmp$ret$2;
994
1019
  // Inline function 'kotlin.collections.map' call
995
- var tmp1_map = $this_emit.li_1;
1020
+ var tmp1_map = $this_emit.mi_1;
996
1021
  var tmp$ret$1;
997
1022
  // Inline function 'kotlin.collections.mapTo' call
998
1023
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1001,18 +1026,18 @@
1001
1026
  var item = tmp0_iterator.e();
1002
1027
  var tmp$ret$0;
1003
1028
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1004
- tmp$ret$0 = groupStatus(item.mi_1, this$0);
1029
+ tmp$ret$0 = groupStatus(item.ni_1, this$0);
1005
1030
  tmp0_mapTo.a(tmp$ret$0);
1006
1031
  }
1007
1032
  tmp$ret$1 = tmp0_mapTo;
1008
1033
  tmp$ret$2 = tmp$ret$1;
1009
1034
  var tmp_2 = toSet(tmp$ret$2);
1010
- var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_1);
1035
+ var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_2);
1011
1036
  var tmp$ret$8;
1012
1037
  // Inline function 'kotlin.collections.map' call
1013
1038
  var tmp$ret$5;
1014
1039
  // Inline function 'kotlin.collections.filter' call
1015
- var tmp3_filter = $this_emit.li_1;
1040
+ var tmp3_filter = $this_emit.mi_1;
1016
1041
  var tmp$ret$4;
1017
1042
  // Inline function 'kotlin.collections.filterTo' call
1018
1043
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1021,7 +1046,7 @@
1021
1046
  var element = tmp0_iterator_0.e();
1022
1047
  var tmp$ret$3;
1023
1048
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1024
- tmp$ret$3 = isInt(element.mi_1, this$0);
1049
+ tmp$ret$3 = isInt(element.ni_1, this$0);
1025
1050
  if (tmp$ret$3) {
1026
1051
  tmp2_filterTo.a(element);
1027
1052
  }
@@ -1037,16 +1062,16 @@
1037
1062
  var item_0 = tmp0_iterator_1.e();
1038
1063
  var tmp$ret$6;
1039
1064
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1040
- tmp$ret$6 = item_0.mi_1;
1065
+ tmp$ret$6 = item_0.ni_1;
1041
1066
  tmp4_mapTo.a(tmp$ret$6);
1042
1067
  }
1043
1068
  tmp$ret$7 = tmp4_mapTo;
1044
1069
  tmp$ret$8 = tmp$ret$7;
1045
1070
  var tmp_4 = toSet(tmp$ret$8);
1046
- var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_2(this$0));
1071
+ var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1047
1072
  var tmp$ret$10;
1048
1073
  // Inline function 'kotlin.collections.distinctBy' call
1049
- var tmp6_distinctBy = $this_emit.li_1;
1074
+ var tmp6_distinctBy = $this_emit.mi_1;
1050
1075
  var set = HashSet_init_$Create$();
1051
1076
  var list = ArrayList_init_$Create$();
1052
1077
  var tmp0_iterator_2 = tmp6_distinctBy.c();
@@ -1054,8 +1079,8 @@
1054
1079
  var e = tmp0_iterator_2.e();
1055
1080
  var tmp$ret$9;
1056
1081
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>.<anonymous>' call
1057
- var tmp0_safe_receiver = e.ni_1;
1058
- tmp$ret$9 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1082
+ var tmp0_safe_receiver = e.oi_1;
1083
+ tmp$ret$9 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1059
1084
  var key = tmp$ret$9;
1060
1085
  if (set.a(key)) {
1061
1086
  list.a(e);
@@ -1063,9 +1088,9 @@
1063
1088
  }
1064
1089
  tmp$ret$10 = list;
1065
1090
  var tmp_6 = tmp$ret$10;
1066
- var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_3(this$0));
1091
+ var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, JavaEmitter$emit$lambda$lambda_4(this$0));
1067
1092
  Companion_getInstance_1();
1068
- return trimMargin('public interface ' + $this_emit.ei_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().qj($this_emit.ei_1) + '(Request request);\n |}\n |');
1093
+ return trimMargin('public interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'static String PATH = "' + tmp + '";\n |' + tmp_0 + '\n |' + ' ' + 'interface Request<T> extends WirespecShared.Request<T> {}\n |' + tmp_1 + '\n |' + ' ' + 'interface Response<T> extends WirespecShared.Response<T> {}\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |' + ' ' + 'public Response ' + Companion_getInstance_1().rj($this_emit.fi_1) + '(Request request);\n |}\n |');
1069
1094
  };
1070
1095
  }
1071
1096
  function JavaEmitter$emitResponseMapper$lambda(this$0) {
@@ -1074,17 +1099,17 @@
1074
1099
  };
1075
1100
  }
1076
1101
  function JavaEmitter$emitContentType$lambda(it) {
1077
- return Companion_getInstance_1().pi(it);
1102
+ return Companion_getInstance_1().qi(it);
1078
1103
  }
1079
1104
  function JavaEmitter$emit$lambda_8($this_emit) {
1080
1105
  return function () {
1081
1106
  var tmp0_subject = $this_emit;
1082
1107
  var tmp;
1083
1108
  if (tmp0_subject instanceof Literal) {
1084
- tmp = '"' + $this_emit.rj_1 + '"';
1109
+ tmp = '"' + $this_emit.sj_1 + '"';
1085
1110
  } else {
1086
1111
  if (tmp0_subject instanceof Param) {
1087
- tmp = $this_emit.si_1.dj_1;
1112
+ tmp = $this_emit.ti_1.ej_1;
1088
1113
  } else {
1089
1114
  noWhenBranchMatchedException();
1090
1115
  }
@@ -1094,22 +1119,22 @@
1094
1119
  }
1095
1120
  function JavaEmitter$emitRequestSignature$lambda(this$0) {
1096
1121
  return function (it) {
1097
- return this$0.xi(it);
1122
+ return this$0.yi(it);
1098
1123
  };
1099
1124
  }
1100
1125
  function JavaEmitter$emitMap$lambda(this$0) {
1101
1126
  return function (it) {
1102
- return '"' + this$0.cj(it.zi_1) + '", java.util.List.of(' + this$0.cj(it.zi_1) + ')';
1127
+ return '"' + this$0.dj(it.aj_1) + '", java.util.List.of(' + this$0.dj(it.aj_1) + ')';
1103
1128
  };
1104
1129
  }
1105
1130
  function JavaEmitter$emitSegment$lambda(it) {
1106
1131
  var tmp0_subject = it;
1107
1132
  var tmp;
1108
1133
  if (tmp0_subject instanceof Param) {
1109
- tmp = '{' + it.si_1.dj_1 + '}';
1134
+ tmp = '{' + it.ti_1.ej_1 + '}';
1110
1135
  } else {
1111
1136
  if (tmp0_subject instanceof Literal) {
1112
- tmp = it.rj_1;
1137
+ tmp = it.sj_1;
1113
1138
  } else {
1114
1139
  noWhenBranchMatchedException();
1115
1140
  }
@@ -1125,7 +1150,6 @@
1125
1150
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1126
1151
  logger = logger === VOID ? get_noLogger() : logger;
1127
1152
  Emitter.call(this, logger, true);
1128
- this.ai_1 = packageName;
1129
1153
  var tmp = this;
1130
1154
  Companion_getInstance_1();
1131
1155
  Companion_getInstance_1();
@@ -1163,13 +1187,13 @@
1163
1187
  Companion_getInstance_1();
1164
1188
  Companion_getInstance_1();
1165
1189
  Companion_getInstance_1();
1166
- tmp.bi_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1167
- this.ci_1 = isBlank(this.ai_1) ? '' : 'package ' + this.ai_1 + ';';
1190
+ tmp.ci_1 = trimMargin('\n |import java.lang.reflect.Type;\n |import java.lang.reflect.ParameterizedType;\n |\n |public interface WirespecShared {\n |' + ' ' + 'enum Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE };\n |' + ' ' + 'record Content<T> (String type, T body) {};\n |' + ' ' + 'interface Request<T> { String getPath(); Method getMethod(); java.util.Map<String, java.util.List<Object>> getQuery(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface Response<T> { int getStatus(); java.util.Map<String, java.util.List<Object>> getHeaders(); Content<T> getContent(); }\n |' + ' ' + 'interface ContentMapper<B> { <T> Content<T> read(Content<B> content, Type valueType); <T> Content<B> write(Content<T> content); }\n |' + ' ' + 'static Type getType(final Class<?> type, final boolean isIterable) {\n |' + ' ' + ' ' + 'if(isIterable) {\n |' + ' ' + ' ' + ' ' + 'return new ParameterizedType() {\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getRawType() {return java.util.List.class;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type[] getActualTypeArguments() {Class<?>[] types = {type};return types;}\n |' + ' ' + ' ' + ' ' + ' ' + 'public Type getOwnerType() {return null;}\n |' + ' ' + ' ' + ' ' + '};\n |' + ' ' + ' ' + '}\n |' + ' ' + ' ' + 'else {\n |' + ' ' + ' ' + ' ' + 'return type;\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n ');
1191
+ this.di_1 = isBlank(packageName) ? '' : 'package ' + packageName + ';';
1168
1192
  }
1169
- protoOf(JavaEmitter).qh = function (ast) {
1193
+ protoOf(JavaEmitter).sh = function (ast) {
1170
1194
  var tmp$ret$2;
1171
1195
  // Inline function 'kotlin.collections.map' call
1172
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
1196
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1173
1197
  var tmp$ret$1;
1174
1198
  // Inline function 'kotlin.collections.mapTo' call
1175
1199
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1180,46 +1204,46 @@
1180
1204
  // Inline function 'community.flock.wirespec.compiler.core.emit.JavaEmitter.emit.<anonymous>' call
1181
1205
  var name = item.i3();
1182
1206
  var result = item.j3();
1183
- tmp$ret$0 = to(name, this.ci_1 + '\n\n' + result);
1207
+ tmp$ret$0 = to(name, this.di_1 + '\n\n' + result);
1184
1208
  tmp0_mapTo.a(tmp$ret$0);
1185
1209
  }
1186
1210
  tmp$ret$1 = tmp0_mapTo;
1187
1211
  tmp$ret$2 = tmp$ret$1;
1188
- return plus_0(tmp$ret$2, to('WirespecShared', this.ci_1 + '\n\n' + this.bi_1));
1189
- };
1190
- protoOf(JavaEmitter).sj = function (_this__u8e3s4) {
1191
- return this.tj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1212
+ return plus_0(tmp$ret$2, to('WirespecShared', this.di_1 + '\n\n' + this.ci_1));
1192
1213
  };
1193
- protoOf(JavaEmitter).wi = function (_this__u8e3s4) {
1194
- return this.uj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1214
+ protoOf(JavaEmitter).tj = function (_this__u8e3s4) {
1215
+ return this.uj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda(_this__u8e3s4, this));
1195
1216
  };
1196
1217
  protoOf(JavaEmitter).xi = function (_this__u8e3s4) {
1197
- return this.vj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1218
+ return this.vj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_0(_this__u8e3s4, this));
1219
+ };
1220
+ protoOf(JavaEmitter).yi = function (_this__u8e3s4) {
1221
+ return this.wj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_1(_this__u8e3s4, this));
1198
1222
  };
1199
- protoOf(JavaEmitter).cj = function (_this__u8e3s4) {
1200
- return this.wj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1223
+ protoOf(JavaEmitter).dj = function (_this__u8e3s4) {
1224
+ return this.xj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_2(_this__u8e3s4));
1201
1225
  };
1202
- protoOf(JavaEmitter).di = function (_this__u8e3s4) {
1203
- return this.th(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1226
+ protoOf(JavaEmitter).ei = function (_this__u8e3s4) {
1227
+ return this.vh(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_3(this, _this__u8e3s4));
1204
1228
  };
1205
- protoOf(JavaEmitter).xj = function (_this__u8e3s4) {
1206
- return this.yj(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1229
+ protoOf(JavaEmitter).yj = function (_this__u8e3s4) {
1230
+ return this.zj(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_4(_this__u8e3s4));
1207
1231
  };
1208
- protoOf(JavaEmitter).zj = function (_this__u8e3s4) {
1209
- return this.ak(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1232
+ protoOf(JavaEmitter).ak = function (_this__u8e3s4) {
1233
+ return this.bk(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_5(_this__u8e3s4, this));
1210
1234
  };
1211
- protoOf(JavaEmitter).oj = function (_this__u8e3s4) {
1212
- return this.bk(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1235
+ protoOf(JavaEmitter).pj = function (_this__u8e3s4) {
1236
+ return this.ck(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_6(_this__u8e3s4));
1213
1237
  };
1214
- protoOf(JavaEmitter).ck = function (_this__u8e3s4) {
1215
- return this.dk(_this__u8e3s4, this.oh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1238
+ protoOf(JavaEmitter).dk = function (_this__u8e3s4) {
1239
+ return this.ek(_this__u8e3s4, this.qh_1, JavaEmitter$emit$lambda_7(_this__u8e3s4, this));
1216
1240
  };
1217
1241
  function emitRequestSignature_0(_this__u8e3s4, $this, content) {
1218
1242
  var tmp$ret$4;
1219
1243
  // Inline function 'kotlin.collections.map' call
1220
1244
  var tmp$ret$1;
1221
1245
  // Inline function 'kotlin.collections.filterIsInstance' call
1222
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
1246
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
1223
1247
  var tmp$ret$0;
1224
1248
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
1225
1249
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -1241,15 +1265,15 @@
1241
1265
  var item = tmp0_iterator_0.e();
1242
1266
  var tmp$ret$2;
1243
1267
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitRequestSignature.<anonymous>' call
1244
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
1268
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
1245
1269
  tmp2_mapTo.a(tmp$ret$2);
1246
1270
  }
1247
1271
  tmp$ret$3 = tmp2_mapTo;
1248
1272
  tmp$ret$4 = tmp$ret$3;
1249
1273
  var pathField = tmp$ret$4;
1250
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
1274
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
1251
1275
  var tmp0_safe_receiver = content;
1252
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
1276
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
1253
1277
  var tmp = filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
1254
1278
  return trimMargin('\n |(' + joinToString(tmp, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitRequestSignature$lambda($this)) + ')\n ');
1255
1279
  }
@@ -1260,7 +1284,7 @@
1260
1284
  return joinToString(_this__u8e3s4, ', ', VOID, VOID, VOID, VOID, KotlinEmitter$emitMap$lambda($this));
1261
1285
  }
1262
1286
  function emit_2(_this__u8e3s4, $this) {
1263
- return $this.ri(_this__u8e3s4, $this.oh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1287
+ return $this.si(_this__u8e3s4, $this.qh_1, KotlinEmitter$emit$lambda_8(_this__u8e3s4));
1264
1288
  }
1265
1289
  function emitPath_0(_this__u8e3s4, $this) {
1266
1290
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, KotlinEmitter$emitPath$lambda($this));
@@ -1281,7 +1305,7 @@
1281
1305
  var element = tmp0_iterator.e();
1282
1306
  var tmp$ret$0;
1283
1307
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1284
- tmp$ret$0 = Companion_getInstance_1().ek(element.mi_1);
1308
+ tmp$ret$0 = Companion_getInstance_1().fk(element.ni_1);
1285
1309
  if (tmp$ret$0) {
1286
1310
  tmp0_filterTo.a(element);
1287
1311
  }
@@ -1296,8 +1320,8 @@
1296
1320
  var e = tmp0_iterator_0.e();
1297
1321
  var tmp$ret$3;
1298
1322
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1299
- var tmp0_safe_receiver = e.ni_1;
1300
- tmp$ret$3 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1323
+ var tmp0_safe_receiver = e.oi_1;
1324
+ tmp$ret$3 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1301
1325
  var key = tmp$ret$3;
1302
1326
  if (set.a(key)) {
1303
1327
  list.a(e);
@@ -1318,7 +1342,7 @@
1318
1342
  var element_0 = tmp0_iterator_1.e();
1319
1343
  var tmp$ret$5;
1320
1344
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1321
- tmp$ret$5 = !Companion_getInstance_1().ek(element_0.mi_1);
1345
+ tmp$ret$5 = !Companion_getInstance_1().fk(element_0.ni_1);
1322
1346
  if (tmp$ret$5) {
1323
1347
  tmp2_filterTo.a(element_0);
1324
1348
  }
@@ -1333,8 +1357,8 @@
1333
1357
  var e_0 = tmp0_iterator_2.e();
1334
1358
  var tmp$ret$8;
1335
1359
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapper.<anonymous>' call
1336
- var tmp0_safe_receiver_0 = e_0.ni_1;
1337
- tmp$ret$8 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
1360
+ var tmp0_safe_receiver_0 = e_0.oi_1;
1361
+ tmp$ret$8 = to(e_0.ni_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.xh_1);
1338
1362
  var key_0 = tmp$ret$8;
1339
1363
  if (set_0.a(key_0)) {
1340
1364
  list_0.a(e_0);
@@ -1349,7 +1373,7 @@
1349
1373
  return trimMargin('\n |fun <B> RESPONSE_MAPPER(contentMapper: WirespecShared.ContentMapper<B>) =\n |' + ' ' + 'fun(status: Int, headers:Map<String, List<Any?>>, content: WirespecShared.Content<B>?) =\n |' + ' ' + ' ' + 'when {\n |' + tmp_0 + '\n |' + tmp_2 + '\n |' + ' ' + ' ' + ' ' + 'else -> error("Cannot map response with status $status")\n ');
1350
1374
  }
1351
1375
  function emitResponseMapperCondition_0(_this__u8e3s4, $this) {
1352
- var tmp0_subject = _this__u8e3s4.ni_1;
1376
+ var tmp0_subject = _this__u8e3s4.oi_1;
1353
1377
  var tmp;
1354
1378
  if (tmp0_subject == null) {
1355
1379
  Companion_getInstance_1();
@@ -1357,12 +1381,12 @@
1357
1381
  Companion_getInstance_1();
1358
1382
  var tmp$ret$1;
1359
1383
  // Inline function 'kotlin.takeIf' call
1360
- var tmp0_takeIf = _this__u8e3s4.mi_1;
1384
+ var tmp0_takeIf = _this__u8e3s4.ni_1;
1361
1385
  // Inline function 'kotlin.contracts.contract' call
1362
1386
  var tmp_0;
1363
1387
  var tmp$ret$0;
1364
1388
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1365
- tmp$ret$0 = Companion_getInstance_1().ek(tmp0_takeIf);
1389
+ tmp$ret$0 = Companion_getInstance_1().fk(tmp0_takeIf);
1366
1390
  if (tmp$ret$0) {
1367
1391
  tmp_0 = tmp0_takeIf;
1368
1392
  } else {
@@ -1379,20 +1403,20 @@
1379
1403
  // Inline function 'kotlin.contracts.contract' call
1380
1404
  var tmp$ret$2;
1381
1405
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1382
- tmp$ret$2 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
1406
+ tmp$ret$2 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1383
1407
  tmp$ret$3 = tmp$ret$2;
1384
1408
  tmp_1 = tmp$ret$3;
1385
1409
  }
1386
1410
  var tmp_2 = orEmptyString_0(tmp_1);
1387
- var tmp_3 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
1411
+ var tmp_3 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1388
1412
  var tmp$ret$5;
1389
1413
  // Inline function 'kotlin.takeIf' call
1390
- var tmp1_takeIf = _this__u8e3s4.mi_1;
1414
+ var tmp1_takeIf = _this__u8e3s4.ni_1;
1391
1415
  // Inline function 'kotlin.contracts.contract' call
1392
1416
  var tmp_4;
1393
1417
  var tmp$ret$4;
1394
1418
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1395
- tmp$ret$4 = !Companion_getInstance_1().ek(tmp1_takeIf);
1419
+ tmp$ret$4 = !Companion_getInstance_1().fk(tmp1_takeIf);
1396
1420
  if (tmp$ret$4) {
1397
1421
  tmp_4 = tmp1_takeIf;
1398
1422
  } else {
@@ -1420,12 +1444,12 @@
1420
1444
  Companion_getInstance_1();
1421
1445
  var tmp$ret$9;
1422
1446
  // Inline function 'kotlin.takeIf' call
1423
- var tmp2_takeIf = _this__u8e3s4.mi_1;
1447
+ var tmp2_takeIf = _this__u8e3s4.ni_1;
1424
1448
  // Inline function 'kotlin.contracts.contract' call
1425
1449
  var tmp_6;
1426
1450
  var tmp$ret$8;
1427
1451
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1428
- tmp$ret$8 = Companion_getInstance_1().ek(tmp2_takeIf);
1452
+ tmp$ret$8 = Companion_getInstance_1().fk(tmp2_takeIf);
1429
1453
  if (tmp$ret$8) {
1430
1454
  tmp_6 = tmp2_takeIf;
1431
1455
  } else {
@@ -1442,7 +1466,7 @@
1442
1466
  // Inline function 'kotlin.contracts.contract' call
1443
1467
  var tmp$ret$10;
1444
1468
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1445
- tmp$ret$10 = 'status == ' + _this__u8e3s4.mi_1 + ' && ';
1469
+ tmp$ret$10 = 'status == ' + _this__u8e3s4.ni_1 + ' && ';
1446
1470
  tmp$ret$11 = tmp$ret$10;
1447
1471
  tmp_7 = tmp$ret$11;
1448
1472
  }
@@ -1451,22 +1475,22 @@
1451
1475
  Companion_getInstance_1();
1452
1476
  Companion_getInstance_1();
1453
1477
  Companion_getInstance_1();
1454
- var tmp_9 = $this.di(_this__u8e3s4.ni_1.wh_1);
1455
- var tmp_10 = $this.di(_this__u8e3s4.ni_1.wh_1);
1478
+ var tmp_9 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1479
+ var tmp_10 = $this.ei(_this__u8e3s4.oi_1.yh_1);
1456
1480
  Companion_getInstance_1();
1457
1481
  Companion_getInstance_1();
1458
1482
  Companion_getInstance_1();
1459
1483
  Companion_getInstance_1();
1460
- var tmp_11 = Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
1461
- var tmp_12 = emitContentType_0(_this__u8e3s4.ni_1);
1484
+ var tmp_11 = Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
1485
+ var tmp_12 = emitContentType_0(_this__u8e3s4.oi_1);
1462
1486
  var tmp$ret$13;
1463
1487
  // Inline function 'kotlin.takeIf' call
1464
- var tmp3_takeIf = _this__u8e3s4.mi_1;
1488
+ var tmp3_takeIf = _this__u8e3s4.ni_1;
1465
1489
  // Inline function 'kotlin.contracts.contract' call
1466
1490
  var tmp_13;
1467
1491
  var tmp$ret$12;
1468
1492
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emitResponseMapperCondition.<anonymous>' call
1469
- tmp$ret$12 = !Companion_getInstance_1().ek(tmp3_takeIf);
1493
+ tmp$ret$12 = !Companion_getInstance_1().fk(tmp3_takeIf);
1470
1494
  if (tmp$ret$12) {
1471
1495
  tmp_13 = tmp3_takeIf;
1472
1496
  } else {
@@ -1487,36 +1511,36 @@
1487
1511
  tmp$ret$15 = tmp$ret$14;
1488
1512
  tmp_14 = tmp$ret$15;
1489
1513
  }
1490
- tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.ni_1.vh_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>())\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1514
+ tmp = trimMargin('\n |' + ' ' + ' ' + ' ' + tmp_8 + 'content?.type == "' + _this__u8e3s4.oi_1.xh_1 + '" -> contentMapper\n |' + ' ' + ' ' + ' ' + ' ' + '.read<' + tmp_9 + '>(content, typeOf<' + tmp_10 + '>())\n |' + ' ' + ' ' + ' ' + ' ' + '.let{ Response' + tmp_11 + tmp_12 + '(' + orEmptyString_0(tmp_14) + 'headers, it.body) }\n ');
1491
1515
  }
1492
1516
  return tmp;
1493
1517
  }
1494
1518
  function KotlinEmitter$emit$lambda($this_emit, this$0) {
1495
1519
  return function () {
1496
- return trimMargin('|data class ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |)\n |');
1520
+ return trimMargin('|data class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |');
1497
1521
  };
1498
1522
  }
1499
1523
  function KotlinEmitter$emit$lambda$lambda(this$0) {
1500
1524
  return function (it) {
1501
1525
  Companion_getInstance_1();
1502
- return ' ' + 'val ' + this$0.xi(it);
1526
+ return ' ' + 'val ' + this$0.yi(it);
1503
1527
  };
1504
1528
  }
1505
1529
  function KotlinEmitter$emit$lambda_0($this_emit, this$0) {
1506
1530
  return function () {
1507
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1531
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda(this$0));
1508
1532
  };
1509
1533
  }
1510
1534
  function KotlinEmitter$emit$lambda_1(this$0, $this_emit) {
1511
1535
  return function () {
1512
- return this$0.cj($this_emit.zi_1) + ': ' + this$0.di($this_emit.aj_1) + ($this_emit.bj_1 ? '? = null' : '');
1536
+ return this$0.dj($this_emit.aj_1) + ': ' + this$0.ei($this_emit.bj_1) + ($this_emit.cj_1 ? '? = null' : '');
1513
1537
  };
1514
1538
  }
1515
1539
  function KotlinEmitter$emit$lambda_2($this_emit) {
1516
1540
  return function () {
1517
1541
  var tmp$ret$2;
1518
1542
  // Inline function 'kotlin.collections.mapIndexed' call
1519
- var tmp1_mapIndexed = split($this_emit.dj_1, ['-']);
1543
+ var tmp1_mapIndexed = split($this_emit.ej_1, ['-']);
1520
1544
  var tmp$ret$1;
1521
1545
  // Inline function 'kotlin.collections.mapIndexedTo' call
1522
1546
  var tmp0_mapIndexedTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_mapIndexed, 10));
@@ -1529,7 +1553,7 @@
1529
1553
  var tmp1 = index;
1530
1554
  index = tmp1 + 1 | 0;
1531
1555
  var tmp2__anonymous__z9zvc9 = checkIndexOverflow(tmp1);
1532
- tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().pi(item) : item;
1556
+ tmp$ret$0 = tmp2__anonymous__z9zvc9 > 0 ? Companion_getInstance_1().qi(item) : item;
1533
1557
  tmp0_mapIndexedTo.a(tmp$ret$0);
1534
1558
  }
1535
1559
  tmp$ret$1 = tmp0_mapIndexedTo;
@@ -1549,10 +1573,10 @@
1549
1573
  tmp = 'Any';
1550
1574
  } else {
1551
1575
  if (tmp0_subject instanceof Custom) {
1552
- tmp = $this_emit.hj_1;
1576
+ tmp = $this_emit.ij_1;
1553
1577
  } else {
1554
1578
  if (tmp0_subject instanceof Primitive) {
1555
- var tmp1_subject = $this_emit.ej_1;
1579
+ var tmp1_subject = $this_emit.fj_1;
1556
1580
  var tmp0 = tmp1_subject.q4_1;
1557
1581
  var tmp_0;
1558
1582
  switch (tmp0) {
@@ -1579,48 +1603,64 @@
1579
1603
  // Inline function 'kotlin.contracts.contract' call
1580
1604
  var tmp$ret$0;
1581
1605
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1582
- tmp$ret$0 = $this_emit.qi() ? 'List<' + tmp0_let + '>' : tmp0_let;
1606
+ tmp$ret$0 = $this_emit.ri() ? 'List<' + tmp0_let + '>' : tmp0_let;
1583
1607
  tmp$ret$1 = tmp$ret$0;
1584
1608
  var tmp1_let = tmp$ret$1;
1585
1609
  // Inline function 'kotlin.contracts.contract' call
1586
1610
  var tmp$ret$2;
1587
1611
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1588
- tmp$ret$2 = $this_emit.jk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1612
+ tmp$ret$2 = $this_emit.kk() ? 'Map<String, ' + tmp1_let + '>' : tmp1_let;
1589
1613
  tmp$ret$3 = tmp$ret$2;
1590
1614
  return tmp$ret$3;
1591
1615
  };
1592
1616
  }
1617
+ function invoke$sanitize_0(_this__u8e3s4) {
1618
+ var tmp$ret$1;
1619
+ // Inline function 'kotlin.let' call
1620
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
1621
+ // Inline function 'kotlin.contracts.contract' call
1622
+ var tmp$ret$0;
1623
+ // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.KotlinEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
1624
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
1625
+ tmp$ret$1 = tmp$ret$0;
1626
+ return tmp$ret$1;
1627
+ }
1628
+ function KotlinEmitter$emit$lambda$lambda_0(it) {
1629
+ return invoke$sanitize_0(it) + '("' + it + '")';
1630
+ }
1593
1631
  function KotlinEmitter$emit$lambda_4($this_emit) {
1594
1632
  return function () {
1595
1633
  Companion_getInstance_1();
1596
- return 'enum class ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + '\n}\n';
1634
+ Companion_getInstance_1();
1635
+ var tmp = ',\n' + ' ';
1636
+ return 'enum class ' + $this_emit.lj_1 + ' (val label: String){\n' + ' ' + joinToString($this_emit.mj_1, tmp, VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0) + '\n}\n';
1597
1637
  };
1598
1638
  }
1599
1639
  function KotlinEmitter$emit$lambda_5($this_emit, this$0) {
1600
1640
  return function () {
1601
- return trimMargin('data class ' + $this_emit.mj_1 + '(val value: String)\n |fun ' + $this_emit.mj_1 + '.validate() = ' + this$0.oj($this_emit.nj_1) + '\n |');
1641
+ return trimMargin('data class ' + $this_emit.nj_1 + '(val value: String)\n |fun ' + $this_emit.nj_1 + '.validate() = ' + this$0.pj($this_emit.oj_1) + '\n |');
1602
1642
  };
1603
1643
  }
1604
1644
  function KotlinEmitter$emit$lambda_6($this_emit) {
1605
1645
  return function () {
1606
- return 'Regex(' + $this_emit.pj_1 + ').find(value)';
1646
+ return 'Regex(' + $this_emit.qj_1 + ').find(value)';
1607
1647
  };
1608
1648
  }
1609
- function KotlinEmitter$emit$lambda$lambda_0(this$0, $this_emit) {
1649
+ function KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
1610
1650
  return function (it) {
1611
1651
  Companion_getInstance_1();
1612
- var tmp0_safe_receiver = it.uh_1;
1652
+ var tmp0_safe_receiver = it.wh_1;
1613
1653
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1614
1654
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1615
- var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.uh_1);
1616
- var tmp2_safe_receiver = it.uh_1;
1617
- var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.wh_1;
1618
- var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.di(tmp3_safe_receiver);
1655
+ var tmp_0 = emitRequestSignature_0($this_emit, this$0, it.wh_1);
1656
+ var tmp2_safe_receiver = it.wh_1;
1657
+ var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.yh_1;
1658
+ var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : this$0.ei(tmp3_safe_receiver);
1619
1659
  var tmp_1 = tmp4_elvis_lhs == null ? 'Unit' : tmp4_elvis_lhs;
1620
- var tmp_2 = emitPath_0($this_emit.gi_1, this$0);
1621
- var tmp_3 = emitMap_0($this_emit.hi_1, this$0);
1622
- var tmp_4 = emitMap_0($this_emit.ii_1, this$0);
1623
- var tmp5_safe_receiver = it.uh_1;
1660
+ var tmp_2 = emitPath_0($this_emit.hi_1, this$0);
1661
+ var tmp_3 = emitMap_0($this_emit.ii_1, this$0);
1662
+ var tmp_4 = emitMap_0($this_emit.ji_1, this$0);
1663
+ var tmp5_safe_receiver = it.wh_1;
1624
1664
  var tmp_5;
1625
1665
  if (tmp5_safe_receiver == null) {
1626
1666
  tmp_5 = null;
@@ -1630,29 +1670,29 @@
1630
1670
  // Inline function 'kotlin.contracts.contract' call
1631
1671
  var tmp$ret$0;
1632
1672
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1633
- tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.vh_1 + '", body)';
1673
+ tmp$ret$0 = 'WirespecShared.Content("' + tmp5_safe_receiver.xh_1 + '", body)';
1634
1674
  tmp$ret$1 = tmp$ret$0;
1635
1675
  tmp_5 = tmp$ret$1;
1636
1676
  }
1637
1677
  var tmp6_elvis_lhs = tmp_5;
1638
- return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.fi_1.p4_1 + '; override val query = mapOf<String, List<Any?>>(' + tmp_3 + '); override val headers = mapOf<String, List<Any?>>(' + tmp_4 + '); override val content = ' + (tmp6_elvis_lhs == null ? 'null' : tmp6_elvis_lhs) + '}';
1678
+ return ' ' + 'class Request' + tmp + ' ' + tmp_0 + ': Request<' + tmp_1 + '> {override val path = "' + tmp_2 + '"; override val method = WirespecShared.Method.' + $this_emit.gi_1.p4_1 + '; override val query = mapOf<String, List<Any?>>(' + tmp_3 + '); override val headers = mapOf<String, List<Any?>>(' + tmp_4 + '); override val content = ' + (tmp6_elvis_lhs == null ? 'null' : tmp6_elvis_lhs) + '}';
1639
1679
  };
1640
1680
  }
1641
- function KotlinEmitter$emit$lambda$lambda_1(it) {
1681
+ function KotlinEmitter$emit$lambda$lambda_2(it) {
1642
1682
  Companion_getInstance_1();
1643
1683
  return ' ' + 'sealed interface Response' + it + '<T>: Response<T>';
1644
1684
  }
1645
- function KotlinEmitter$emit$lambda$lambda_2(it) {
1685
+ function KotlinEmitter$emit$lambda$lambda_3(it) {
1646
1686
  Companion_getInstance_1();
1647
1687
  return ' ' + 'sealed interface Response' + it + '<T>: Response' + groupStatus_0(it) + '<T>';
1648
1688
  }
1649
- function KotlinEmitter$emit$lambda$lambda_3(this$0) {
1689
+ function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1650
1690
  return function (it) {
1651
1691
  Companion_getInstance_1();
1652
- var tmp0_safe_receiver = it.ni_1;
1692
+ var tmp0_safe_receiver = it.oi_1;
1653
1693
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1654
1694
  var tmp = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1655
- var tmp2_safe_receiver = it.ni_1;
1695
+ var tmp2_safe_receiver = it.oi_1;
1656
1696
  var tmp_0;
1657
1697
  if (tmp2_safe_receiver == null) {
1658
1698
  tmp_0 = null;
@@ -1662,17 +1702,17 @@
1662
1702
  // Inline function 'kotlin.contracts.contract' call
1663
1703
  var tmp$ret$0;
1664
1704
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1665
- tmp$ret$0 = ', body: ' + this$0.di(tmp2_safe_receiver.wh_1);
1705
+ tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1666
1706
  tmp$ret$1 = tmp$ret$0;
1667
1707
  tmp_0 = tmp$ret$1;
1668
1708
  }
1669
1709
  var tmp3_elvis_lhs = tmp_0;
1670
1710
  var tmp_1 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1671
- var tmp4_safe_receiver = it.ni_1;
1672
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
1673
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.di(tmp5_safe_receiver);
1711
+ var tmp4_safe_receiver = it.oi_1;
1712
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1713
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.ei(tmp5_safe_receiver);
1674
1714
  var tmp_2 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1675
- var tmp7_safe_receiver = it.ni_1;
1715
+ var tmp7_safe_receiver = it.oi_1;
1676
1716
  var tmp_3;
1677
1717
  if (tmp7_safe_receiver == null) {
1678
1718
  tmp_3 = null;
@@ -1682,22 +1722,22 @@
1682
1722
  // Inline function 'kotlin.contracts.contract' call
1683
1723
  var tmp$ret$2;
1684
1724
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1685
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.vh_1 + '", body)';
1725
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1686
1726
  tmp$ret$3 = tmp$ret$2;
1687
1727
  tmp_3 = tmp$ret$3;
1688
1728
  }
1689
1729
  var tmp8_elvis_lhs = tmp_3;
1690
- return ' ' + 'class Response' + it.mi_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.mi_1 + '<' + tmp_2 + '> { override val status = ' + it.mi_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1730
+ return ' ' + 'class Response' + it.ni_1 + tmp + ' (override val headers: Map<String, List<Any?>>' + tmp_1 + ' ): Response' + it.ni_1 + '<' + tmp_2 + '> { override val status = ' + it.ni_1 + '; override val content = ' + (tmp8_elvis_lhs == null ? 'null' : tmp8_elvis_lhs) + '}';
1691
1731
  };
1692
1732
  }
1693
- function KotlinEmitter$emit$lambda$lambda_4(this$0) {
1733
+ function KotlinEmitter$emit$lambda$lambda_5(this$0) {
1694
1734
  return function (it) {
1695
1735
  Companion_getInstance_1();
1696
- var tmp = Companion_getInstance_1().pi(it.mi_1);
1697
- var tmp0_safe_receiver = it.ni_1;
1736
+ var tmp = Companion_getInstance_1().qi(it.ni_1);
1737
+ var tmp0_safe_receiver = it.oi_1;
1698
1738
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
1699
1739
  var tmp_0 = tmp1_elvis_lhs == null ? 'Unit' : tmp1_elvis_lhs;
1700
- var tmp2_safe_receiver = it.ni_1;
1740
+ var tmp2_safe_receiver = it.oi_1;
1701
1741
  var tmp_1;
1702
1742
  if (tmp2_safe_receiver == null) {
1703
1743
  tmp_1 = null;
@@ -1707,18 +1747,18 @@
1707
1747
  // Inline function 'kotlin.contracts.contract' call
1708
1748
  var tmp$ret$0;
1709
1749
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1710
- tmp$ret$0 = ', body: ' + this$0.di(tmp2_safe_receiver.wh_1);
1750
+ tmp$ret$0 = ', body: ' + this$0.ei(tmp2_safe_receiver.yh_1);
1711
1751
  tmp$ret$1 = tmp$ret$0;
1712
1752
  tmp_1 = tmp$ret$1;
1713
1753
  }
1714
1754
  var tmp3_elvis_lhs = tmp_1;
1715
1755
  var tmp_2 = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
1716
- var tmp_3 = Companion_getInstance_1().pi(it.mi_1);
1717
- var tmp4_safe_receiver = it.ni_1;
1718
- var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.wh_1;
1719
- var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.di(tmp5_safe_receiver);
1756
+ var tmp_3 = Companion_getInstance_1().qi(it.ni_1);
1757
+ var tmp4_safe_receiver = it.oi_1;
1758
+ var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.yh_1;
1759
+ var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : this$0.ei(tmp5_safe_receiver);
1720
1760
  var tmp_4 = tmp6_elvis_lhs == null ? 'Unit' : tmp6_elvis_lhs;
1721
- var tmp7_safe_receiver = it.ni_1;
1761
+ var tmp7_safe_receiver = it.oi_1;
1722
1762
  var tmp_5;
1723
1763
  if (tmp7_safe_receiver == null) {
1724
1764
  tmp_5 = null;
@@ -1728,7 +1768,7 @@
1728
1768
  // Inline function 'kotlin.contracts.contract' call
1729
1769
  var tmp$ret$2;
1730
1770
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
1731
- tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.vh_1 + '", body)';
1771
+ tmp$ret$2 = 'WirespecShared.Content("' + tmp7_safe_receiver.xh_1 + '", body)';
1732
1772
  tmp$ret$3 = tmp$ret$2;
1733
1773
  tmp_5 = tmp$ret$3;
1734
1774
  }
@@ -1739,11 +1779,11 @@
1739
1779
  function KotlinEmitter$emit$lambda_7($this_emit, this$0) {
1740
1780
  return function () {
1741
1781
  Companion_getInstance_1();
1742
- var tmp = joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_0(this$0, $this_emit));
1782
+ var tmp = joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1(this$0, $this_emit));
1743
1783
  Companion_getInstance_1();
1744
1784
  var tmp$ret$2;
1745
1785
  // Inline function 'kotlin.collections.map' call
1746
- var tmp1_map = $this_emit.li_1;
1786
+ var tmp1_map = $this_emit.mi_1;
1747
1787
  var tmp$ret$1;
1748
1788
  // Inline function 'kotlin.collections.mapTo' call
1749
1789
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1752,18 +1792,18 @@
1752
1792
  var item = tmp0_iterator.e();
1753
1793
  var tmp$ret$0;
1754
1794
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1755
- tmp$ret$0 = groupStatus_0(item.mi_1);
1795
+ tmp$ret$0 = groupStatus_0(item.ni_1);
1756
1796
  tmp0_mapTo.a(tmp$ret$0);
1757
1797
  }
1758
1798
  tmp$ret$1 = tmp0_mapTo;
1759
1799
  tmp$ret$2 = tmp$ret$1;
1760
1800
  var tmp_0 = toSet(tmp$ret$2);
1761
- var tmp_1 = joinToString(tmp_0, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_1);
1801
+ var tmp_1 = joinToString(tmp_0, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_2);
1762
1802
  var tmp$ret$8;
1763
1803
  // Inline function 'kotlin.collections.map' call
1764
1804
  var tmp$ret$5;
1765
1805
  // Inline function 'kotlin.collections.filter' call
1766
- var tmp3_filter = $this_emit.li_1;
1806
+ var tmp3_filter = $this_emit.mi_1;
1767
1807
  var tmp$ret$4;
1768
1808
  // Inline function 'kotlin.collections.filterTo' call
1769
1809
  var tmp2_filterTo = ArrayList_init_$Create$();
@@ -1772,7 +1812,7 @@
1772
1812
  var element = tmp0_iterator_0.e();
1773
1813
  var tmp$ret$3;
1774
1814
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1775
- tmp$ret$3 = Companion_getInstance_1().ek(element.mi_1);
1815
+ tmp$ret$3 = Companion_getInstance_1().fk(element.ni_1);
1776
1816
  if (tmp$ret$3) {
1777
1817
  tmp2_filterTo.a(element);
1778
1818
  }
@@ -1788,18 +1828,18 @@
1788
1828
  var item_0 = tmp0_iterator_1.e();
1789
1829
  var tmp$ret$6;
1790
1830
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1791
- tmp$ret$6 = item_0.mi_1;
1831
+ tmp$ret$6 = item_0.ni_1;
1792
1832
  tmp4_mapTo.a(tmp$ret$6);
1793
1833
  }
1794
1834
  tmp$ret$7 = tmp4_mapTo;
1795
1835
  tmp$ret$8 = tmp$ret$7;
1796
1836
  var tmp_2 = toSet(tmp$ret$8);
1797
- var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_2);
1837
+ var tmp_3 = joinToString(tmp_2, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_3);
1798
1838
  var tmp$ret$13;
1799
1839
  // Inline function 'kotlin.collections.distinctBy' call
1800
1840
  var tmp$ret$11;
1801
1841
  // Inline function 'kotlin.collections.filter' call
1802
- var tmp7_filter = $this_emit.li_1;
1842
+ var tmp7_filter = $this_emit.mi_1;
1803
1843
  var tmp$ret$10;
1804
1844
  // Inline function 'kotlin.collections.filterTo' call
1805
1845
  var tmp6_filterTo = ArrayList_init_$Create$();
@@ -1808,7 +1848,7 @@
1808
1848
  var element_0 = tmp0_iterator_2.e();
1809
1849
  var tmp$ret$9;
1810
1850
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1811
- tmp$ret$9 = Companion_getInstance_1().ek(element_0.mi_1);
1851
+ tmp$ret$9 = Companion_getInstance_1().fk(element_0.ni_1);
1812
1852
  if (tmp$ret$9) {
1813
1853
  tmp6_filterTo.a(element_0);
1814
1854
  }
@@ -1823,8 +1863,8 @@
1823
1863
  var e = tmp0_iterator_3.e();
1824
1864
  var tmp$ret$12;
1825
1865
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1826
- var tmp0_safe_receiver = e.ni_1;
1827
- tmp$ret$12 = to(e.mi_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vh_1);
1866
+ var tmp0_safe_receiver = e.oi_1;
1867
+ tmp$ret$12 = to(e.ni_1, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.xh_1);
1828
1868
  var key = tmp$ret$12;
1829
1869
  if (set.a(key)) {
1830
1870
  list.a(e);
@@ -1832,12 +1872,12 @@
1832
1872
  }
1833
1873
  tmp$ret$13 = list;
1834
1874
  var tmp_4 = tmp$ret$13;
1835
- var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_3(this$0));
1875
+ var tmp_5 = joinToString(tmp_4, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_4(this$0));
1836
1876
  var tmp$ret$18;
1837
1877
  // Inline function 'kotlin.collections.distinctBy' call
1838
1878
  var tmp$ret$16;
1839
1879
  // Inline function 'kotlin.collections.filter' call
1840
- var tmp10_filter = $this_emit.li_1;
1880
+ var tmp10_filter = $this_emit.mi_1;
1841
1881
  var tmp$ret$15;
1842
1882
  // Inline function 'kotlin.collections.filterTo' call
1843
1883
  var tmp9_filterTo = ArrayList_init_$Create$();
@@ -1846,7 +1886,7 @@
1846
1886
  var element_1 = tmp0_iterator_4.e();
1847
1887
  var tmp$ret$14;
1848
1888
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1849
- tmp$ret$14 = !Companion_getInstance_1().ek(element_1.mi_1);
1889
+ tmp$ret$14 = !Companion_getInstance_1().fk(element_1.ni_1);
1850
1890
  if (tmp$ret$14) {
1851
1891
  tmp9_filterTo.a(element_1);
1852
1892
  }
@@ -1861,8 +1901,8 @@
1861
1901
  var e_0 = tmp0_iterator_5.e();
1862
1902
  var tmp$ret$17;
1863
1903
  // Inline function 'community.flock.wirespec.compiler.core.emit.KotlinEmitter.emit.<anonymous>.<anonymous>' call
1864
- var tmp0_safe_receiver_0 = e_0.ni_1;
1865
- tmp$ret$17 = to(e_0.mi_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.vh_1);
1904
+ var tmp0_safe_receiver_0 = e_0.oi_1;
1905
+ tmp$ret$17 = to(e_0.ni_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.xh_1);
1866
1906
  var key_0 = tmp$ret$17;
1867
1907
  if (set_0.a(key_0)) {
1868
1908
  list_0.a(e_0);
@@ -1870,34 +1910,34 @@
1870
1910
  }
1871
1911
  tmp$ret$18 = list_0;
1872
1912
  var tmp_6 = tmp$ret$18;
1873
- var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_4(this$0));
1874
- var tmp_8 = Companion_getInstance_1().qj($this_emit.ei_1);
1913
+ var tmp_7 = joinToString(tmp_6, '\n', VOID, VOID, VOID, VOID, KotlinEmitter$emit$lambda$lambda_5(this$0));
1914
+ var tmp_8 = Companion_getInstance_1().rj($this_emit.fi_1);
1875
1915
  Companion_getInstance_1();
1876
1916
  Companion_getInstance_1();
1877
1917
  Companion_getInstance_1();
1878
- var tmp_9 = emitSegment_0($this_emit.gi_1, this$0);
1918
+ var tmp_9 = emitSegment_0($this_emit.hi_1, this$0);
1879
1919
  Companion_getInstance_1();
1880
1920
  Companion_getInstance_1();
1881
- var tmp_10 = emitResponseMapper_0($this_emit.li_1, this$0);
1921
+ var tmp_10 = emitResponseMapper_0($this_emit.mi_1, this$0);
1882
1922
  Companion_getInstance_1();
1883
1923
  Companion_getInstance_1();
1884
1924
  Companion_getInstance_1();
1885
- return trimMargin('interface ' + $this_emit.ei_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1925
+ return trimMargin('interface ' + $this_emit.fi_1 + ' {\n |' + ' ' + 'sealed interface Request<T>: WirespecShared.Request<T>\n |' + tmp + '\n |' + ' ' + 'sealed interface Response<T>: WirespecShared.Response<T>\n |' + tmp_1 + '\n |' + tmp_3 + '\n |' + tmp_5 + '\n |' + tmp_7 + '\n |suspend fun ' + tmp_8 + '(request: Request<*>): Response<*>\n |' + ' ' + 'companion object{\n |' + ' ' + ' ' + 'const val PATH = "' + tmp_9 + '"\n |' + ' ' + ' ' + tmp_10 + '\n |' + ' ' + ' ' + '}\n |' + ' ' + '}\n |}\n |');
1886
1926
  };
1887
1927
  }
1888
1928
  function KotlinEmitter$emitRequestSignature$lambda(this$0) {
1889
1929
  return function (it) {
1890
- return this$0.xi(it);
1930
+ return this$0.yi(it);
1891
1931
  };
1892
1932
  }
1893
1933
  function KotlinEmitter$emitSegment$lambda(it) {
1894
1934
  var tmp0_subject = it;
1895
1935
  var tmp;
1896
1936
  if (tmp0_subject instanceof Param) {
1897
- tmp = '{' + it.si_1.dj_1 + '}';
1937
+ tmp = '{' + it.ti_1.ej_1 + '}';
1898
1938
  } else {
1899
1939
  if (tmp0_subject instanceof Literal) {
1900
- tmp = it.rj_1;
1940
+ tmp = it.sj_1;
1901
1941
  } else {
1902
1942
  noWhenBranchMatchedException();
1903
1943
  }
@@ -1906,7 +1946,7 @@
1906
1946
  }
1907
1947
  function KotlinEmitter$emitMap$lambda(this$0) {
1908
1948
  return function (it) {
1909
- return '"' + this$0.cj(it.zi_1) + '" to listOf(' + this$0.cj(it.zi_1) + ')';
1949
+ return '"' + this$0.dj(it.aj_1) + '" to listOf(' + this$0.dj(it.aj_1) + ')';
1910
1950
  };
1911
1951
  }
1912
1952
  function KotlinEmitter$emit$lambda_8($this_emit) {
@@ -1914,10 +1954,10 @@
1914
1954
  var tmp0_subject = $this_emit;
1915
1955
  var tmp;
1916
1956
  if (tmp0_subject instanceof Literal) {
1917
- tmp = $this_emit.rj_1;
1957
+ tmp = $this_emit.sj_1;
1918
1958
  } else {
1919
1959
  if (tmp0_subject instanceof Param) {
1920
- tmp = '${' + $this_emit.si_1.dj_1 + '}';
1960
+ tmp = '${' + $this_emit.ti_1.ej_1 + '}';
1921
1961
  } else {
1922
1962
  noWhenBranchMatchedException();
1923
1963
  }
@@ -1944,19 +1984,19 @@
1944
1984
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
1945
1985
  logger = logger === VOID ? get_noLogger() : logger;
1946
1986
  Emitter.call(this, logger);
1947
- this.hk_1 = packageName;
1987
+ this.ik_1 = packageName;
1948
1988
  var tmp = this;
1949
1989
  Companion_getInstance_1();
1950
1990
  Companion_getInstance_1();
1951
1991
  Companion_getInstance_1();
1952
1992
  Companion_getInstance_1();
1953
1993
  Companion_getInstance_1();
1954
- tmp.ik_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
1994
+ tmp.jk_1 = trimMargin('\n |import kotlin.reflect.KType\n |import kotlin.reflect.typeOf\n |object WirespecShared {\n |' + ' ' + 'enum class Method { GET, PUT, POST, DELETE, OPTIONS, HEAD, PATCH, TRACE }\n |' + ' ' + 'data class Content<T> (val type:String, val body:T )\n |' + ' ' + 'interface Request<T> { val path:String; val method: Method; val query: Map<String, List<Any?>>; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface Response<T> { val status:Int; val headers: Map<String, List<Any?>>; val content:Content<T>? }\n |' + ' ' + 'interface ContentMapper<B> { fun <T> read(content: Content<B>, valueType: KType): Content<T> fun <T> write(content: Content<T>): Content<B> }\n |}\n ');
1955
1995
  }
1956
- protoOf(KotlinEmitter).qh = function (ast) {
1996
+ protoOf(KotlinEmitter).sh = function (ast) {
1957
1997
  var tmp$ret$3;
1958
1998
  // Inline function 'kotlin.collections.map' call
1959
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
1999
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
1960
2000
  var tmp$ret$2;
1961
2001
  // Inline function 'kotlin.collections.mapTo' call
1962
2002
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1969,7 +2009,7 @@
1969
2009
  var result = item.j3();
1970
2010
  var tmp$ret$0;
1971
2011
  // Inline function 'kotlin.text.trimStart' call
1972
- var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.hk_1) ? '' : 'package ' + this.hk_1) + '\n |' + (Companion_getInstance_1().kk(ast) ? this.ik_1 : '') + '\n |' + result + '\n ');
2012
+ var tmp0_trimStart = trimMargin('\n |' + (isBlank(this.ik_1) ? '' : 'package ' + this.ik_1) + '\n |' + (Companion_getInstance_1().lk(ast) ? this.jk_1 : '') + '\n |' + result + '\n ');
1973
2013
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
1974
2014
  tmp$ret$1 = to(name, tmp$ret$0);
1975
2015
  tmp0_mapTo.a(tmp$ret$1);
@@ -1978,43 +2018,43 @@
1978
2018
  tmp$ret$3 = tmp$ret$2;
1979
2019
  return tmp$ret$3;
1980
2020
  };
1981
- protoOf(KotlinEmitter).sj = function (_this__u8e3s4) {
1982
- return this.tj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
1983
- };
1984
- protoOf(KotlinEmitter).wi = function (_this__u8e3s4) {
1985
- return this.uj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2021
+ protoOf(KotlinEmitter).tj = function (_this__u8e3s4) {
2022
+ return this.uj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda(_this__u8e3s4, this));
1986
2023
  };
1987
2024
  protoOf(KotlinEmitter).xi = function (_this__u8e3s4) {
1988
- return this.vj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
2025
+ return this.vj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_0(_this__u8e3s4, this));
2026
+ };
2027
+ protoOf(KotlinEmitter).yi = function (_this__u8e3s4) {
2028
+ return this.wj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_1(this, _this__u8e3s4));
1989
2029
  };
1990
- protoOf(KotlinEmitter).cj = function (_this__u8e3s4) {
1991
- return this.wj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_2(_this__u8e3s4));
2030
+ protoOf(KotlinEmitter).dj = function (_this__u8e3s4) {
2031
+ return this.xj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_2(_this__u8e3s4));
1992
2032
  };
1993
- protoOf(KotlinEmitter).di = function (_this__u8e3s4) {
1994
- return this.th(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
2033
+ protoOf(KotlinEmitter).ei = function (_this__u8e3s4) {
2034
+ return this.vh(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_3(_this__u8e3s4));
1995
2035
  };
1996
- protoOf(KotlinEmitter).xj = function (_this__u8e3s4) {
1997
- return this.yj(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
2036
+ protoOf(KotlinEmitter).yj = function (_this__u8e3s4) {
2037
+ return this.zj(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_4(_this__u8e3s4));
1998
2038
  };
1999
- protoOf(KotlinEmitter).zj = function (_this__u8e3s4) {
2000
- return this.ak(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2039
+ protoOf(KotlinEmitter).ak = function (_this__u8e3s4) {
2040
+ return this.bk(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_5(_this__u8e3s4, this));
2001
2041
  };
2002
- protoOf(KotlinEmitter).oj = function (_this__u8e3s4) {
2003
- return this.bk(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2042
+ protoOf(KotlinEmitter).pj = function (_this__u8e3s4) {
2043
+ return this.ck(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_6(_this__u8e3s4));
2004
2044
  };
2005
- protoOf(KotlinEmitter).ck = function (_this__u8e3s4) {
2006
- return this.dk(_this__u8e3s4, this.oh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2045
+ protoOf(KotlinEmitter).dk = function (_this__u8e3s4) {
2046
+ return this.ek(_this__u8e3s4, this.qh_1, KotlinEmitter$emit$lambda_7(_this__u8e3s4, this));
2007
2047
  };
2008
2048
  function toField(_this__u8e3s4, identifier, isNullable) {
2009
2049
  return new Field(new Identifier(identifier), _this__u8e3s4, isNullable);
2010
2050
  }
2011
2051
  function emitContentType_0(_this__u8e3s4) {
2012
- var tmp = split(_this__u8e3s4.vh_1, ['/']);
2052
+ var tmp = split(_this__u8e3s4.xh_1, ['/', '-']);
2013
2053
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, emitContentType$lambda);
2014
2054
  }
2015
2055
  function groupStatus_0(_this__u8e3s4) {
2016
2056
  var tmp;
2017
- if (Companion_getInstance_1().ek(_this__u8e3s4)) {
2057
+ if (Companion_getInstance_1().fk(_this__u8e3s4)) {
2018
2058
  var tmp$ret$1;
2019
2059
  // Inline function 'kotlin.text.substring' call
2020
2060
  var tmp$ret$0;
@@ -2023,7 +2063,7 @@
2023
2063
  tmp$ret$1 = tmp$ret$0.substring(0, 1);
2024
2064
  tmp = tmp$ret$1 + 'XX';
2025
2065
  } else {
2026
- tmp = Companion_getInstance_1().pi(_this__u8e3s4);
2066
+ tmp = Companion_getInstance_1().qi(_this__u8e3s4);
2027
2067
  }
2028
2068
  return tmp;
2029
2069
  }
@@ -2032,11 +2072,11 @@
2032
2072
  return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
2033
2073
  }
2034
2074
  function emitContentType$lambda(it) {
2035
- return Companion_getInstance_1().pi(it);
2075
+ return Companion_getInstance_1().qi(it);
2036
2076
  }
2037
2077
  function Companion() {
2038
2078
  Companion_instance = this;
2039
- this.lk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2079
+ this.mk_1 = listOf(['abstract', 'case', 'catch', 'class', 'def', 'do', 'else', 'extends', 'false', 'final', 'finally', 'for', 'forSome', 'if', 'implicit', 'import', 'lazy', 'match', 'new', 'null', 'object', 'override', 'package', 'private', 'protected', 'return', 'sealed', 'super', 'this', 'throw', 'trait', 'true', 'try', 'type', 'val', 'var', 'while', 'with', 'yield']);
2040
2080
  }
2041
2081
  var Companion_instance;
2042
2082
  function Companion_getInstance_0() {
@@ -2046,28 +2086,28 @@
2046
2086
  }
2047
2087
  function ScalaEmitter$emit$lambda($this_emit, this$0) {
2048
2088
  return function () {
2049
- return trimMargin('case class ' + $this_emit.ui_1 + '(\n |' + this$0.wi($this_emit.vi_1) + '\n |)\n |\n |');
2089
+ return trimMargin('case class ' + $this_emit.vi_1 + '(\n |' + this$0.xi($this_emit.wi_1) + '\n |)\n |\n |');
2050
2090
  };
2051
2091
  }
2052
2092
  function ScalaEmitter$emit$lambda$lambda(this$0) {
2053
2093
  return function (it) {
2054
- return this$0.xi(it);
2094
+ return this$0.yi(it);
2055
2095
  };
2056
2096
  }
2057
2097
  function ScalaEmitter$emit$lambda_0($this_emit, this$0) {
2058
2098
  return function () {
2059
- return dropLast(joinToString($this_emit.yi_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2099
+ return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda(this$0)), 1);
2060
2100
  };
2061
2101
  }
2062
2102
  function ScalaEmitter$emit$lambda_1(this$0, $this_emit) {
2063
2103
  return function () {
2064
2104
  Companion_getInstance_1();
2065
- return ' ' + 'val ' + this$0.cj($this_emit.zi_1) + ': ' + ($this_emit.bj_1 ? 'Option[' + this$0.di($this_emit.aj_1) + ']' : this$0.di($this_emit.aj_1)) + ',';
2105
+ return ' ' + 'val ' + this$0.dj($this_emit.aj_1) + ': ' + ($this_emit.cj_1 ? 'Option[' + this$0.ei($this_emit.bj_1) + ']' : this$0.ei($this_emit.bj_1)) + ',';
2066
2106
  };
2067
2107
  }
2068
2108
  function ScalaEmitter$emit$lambda_2($this_emit) {
2069
2109
  return function () {
2070
- return Companion_getInstance_0().lk_1.i1($this_emit.dj_1) ? '`' + $this_emit.dj_1 + '`' : $this_emit.dj_1;
2110
+ return Companion_getInstance_0().mk_1.i1($this_emit.ej_1) ? '`' + $this_emit.ej_1 + '`' : $this_emit.ej_1;
2071
2111
  };
2072
2112
  }
2073
2113
  function ScalaEmitter$emit$lambda_3($this_emit) {
@@ -2080,10 +2120,10 @@
2080
2120
  tmp = 'Any';
2081
2121
  } else {
2082
2122
  if (tmp0_subject instanceof Custom) {
2083
- tmp = $this_emit.hj_1;
2123
+ tmp = $this_emit.ij_1;
2084
2124
  } else {
2085
2125
  if (tmp0_subject instanceof Primitive) {
2086
- var tmp1_subject = $this_emit.ej_1;
2126
+ var tmp1_subject = $this_emit.fj_1;
2087
2127
  var tmp0 = tmp1_subject.q4_1;
2088
2128
  var tmp_0;
2089
2129
  switch (tmp0) {
@@ -2110,28 +2150,46 @@
2110
2150
  // Inline function 'kotlin.contracts.contract' call
2111
2151
  var tmp$ret$0;
2112
2152
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>.<anonymous>' call
2113
- tmp$ret$0 = $this_emit.qi() ? 'List[' + tmp0_let + ']' : tmp0_let;
2153
+ tmp$ret$0 = $this_emit.ri() ? 'List[' + tmp0_let + ']' : tmp0_let;
2114
2154
  tmp$ret$1 = tmp$ret$0;
2115
2155
  return tmp$ret$1;
2116
2156
  };
2117
2157
  }
2158
+ function invoke$sanitize_1(_this__u8e3s4) {
2159
+ var tmp$ret$1;
2160
+ // Inline function 'kotlin.let' call
2161
+ var tmp0_let = replace(_this__u8e3s4, '-', '_');
2162
+ // Inline function 'kotlin.contracts.contract' call
2163
+ var tmp$ret$0;
2164
+ // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.ScalaEmitter$emit$lambda.invoke.sanitize.<anonymous>' call
2165
+ tmp$ret$0 = isDigit(first(tmp0_let)) ? '_' + tmp0_let : tmp0_let;
2166
+ tmp$ret$1 = tmp$ret$0;
2167
+ return tmp$ret$1;
2168
+ }
2118
2169
  function ScalaEmitter$emit$lambda$lambda_0($this_emit) {
2119
2170
  return function (it) {
2120
2171
  Companion_getInstance_1();
2121
- return ' ' + 'final case object ' + it + ' extends ' + $this_emit.kj_1 + '(label = "' + it + '")';
2172
+ var tmp$ret$1;
2173
+ // Inline function 'kotlin.text.uppercase' call
2174
+ var tmp0_uppercase = invoke$sanitize_1(it);
2175
+ var tmp$ret$0;
2176
+ // Inline function 'kotlin.js.asDynamic' call
2177
+ tmp$ret$0 = tmp0_uppercase;
2178
+ tmp$ret$1 = tmp$ret$0.toUpperCase();
2179
+ return ' ' + 'final case object ' + tmp$ret$1 + ' extends ' + $this_emit.lj_1 + '(label = "' + it + '")';
2122
2180
  };
2123
2181
  }
2124
2182
  function ScalaEmitter$emit$lambda_4($this_emit) {
2125
2183
  return function () {
2126
- return trimMargin('\n |sealed abstract class ' + $this_emit.kj_1 + '(val label: String)\n |object ' + $this_emit.kj_1 + ' {\n |' + joinToString($this_emit.lj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2184
+ return trimMargin('\n |sealed abstract class ' + $this_emit.lj_1 + '(val label: String)\n |object ' + $this_emit.lj_1 + ' {\n |' + joinToString($this_emit.mj_1, '\n', VOID, VOID, VOID, VOID, ScalaEmitter$emit$lambda$lambda_0($this_emit)) + '\n |}\n |');
2127
2185
  };
2128
2186
  }
2129
2187
  function ScalaEmitter$emit$lambda_5($this_emit, this$0) {
2130
2188
  return function () {
2131
2189
  Companion_getInstance_1();
2132
- var tmp = this$0.oj($this_emit.nj_1);
2190
+ var tmp = this$0.pj($this_emit.oj_1);
2133
2191
  Companion_getInstance_1();
2134
- return trimMargin('case class ' + $this_emit.mj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.mj_1 + 'Ops(val that: ' + $this_emit.mj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2192
+ return trimMargin('case class ' + $this_emit.nj_1 + '(val value: String) {\n |' + ' ' + 'implicit class ' + $this_emit.nj_1 + 'Ops(val that: ' + $this_emit.nj_1 + ') {\n |' + tmp + '\n |' + ' ' + '}\n |}\n |\n |');
2135
2193
  };
2136
2194
  }
2137
2195
  function ScalaEmitter$emit$lambda_6($this_emit) {
@@ -2140,7 +2198,7 @@
2140
2198
  Companion_getInstance_1();
2141
2199
  Companion_getInstance_1();
2142
2200
  Companion_getInstance_1();
2143
- return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.pj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2201
+ return trimMargin(' ' + ' ' + 'val regex = new scala.util.matching.Regex(' + $this_emit.qj_1 + ')\n |' + ' ' + ' ' + 'regex.findFirstIn(that.value)');
2144
2202
  };
2145
2203
  }
2146
2204
  function ScalaEmitter$emit$lambda_7() {
@@ -2151,12 +2209,12 @@
2151
2209
  packageName = packageName === VOID ? get_DEFAULT_PACKAGE_NAME() : packageName;
2152
2210
  logger = logger === VOID ? get_noLogger() : logger;
2153
2211
  Emitter.call(this, logger);
2154
- this.ok_1 = packageName;
2212
+ this.pk_1 = packageName;
2155
2213
  }
2156
- protoOf(ScalaEmitter).qh = function (ast) {
2214
+ protoOf(ScalaEmitter).sh = function (ast) {
2157
2215
  var tmp$ret$2;
2158
2216
  // Inline function 'kotlin.collections.map' call
2159
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
2217
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2160
2218
  var tmp$ret$1;
2161
2219
  // Inline function 'kotlin.collections.mapTo' call
2162
2220
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2167,54 +2225,54 @@
2167
2225
  // Inline function 'community.flock.wirespec.compiler.core.emit.ScalaEmitter.emit.<anonymous>' call
2168
2226
  var name = item.i3();
2169
2227
  var result = item.j3();
2170
- tmp$ret$0 = to(name, isBlank(this.ok_1) ? '' : 'package ' + this.ok_1 + '\n\n' + result);
2228
+ tmp$ret$0 = to(name, isBlank(this.pk_1) ? '' : 'package ' + this.pk_1 + '\n\n' + result);
2171
2229
  tmp0_mapTo.a(tmp$ret$0);
2172
2230
  }
2173
2231
  tmp$ret$1 = tmp0_mapTo;
2174
2232
  tmp$ret$2 = tmp$ret$1;
2175
2233
  return tmp$ret$2;
2176
2234
  };
2177
- protoOf(ScalaEmitter).sj = function (_this__u8e3s4) {
2178
- return this.tj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2179
- };
2180
- protoOf(ScalaEmitter).wi = function (_this__u8e3s4) {
2181
- return this.uj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2235
+ protoOf(ScalaEmitter).tj = function (_this__u8e3s4) {
2236
+ return this.uj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda(_this__u8e3s4, this));
2182
2237
  };
2183
2238
  protoOf(ScalaEmitter).xi = function (_this__u8e3s4) {
2184
- return this.vj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2239
+ return this.vj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_0(_this__u8e3s4, this));
2240
+ };
2241
+ protoOf(ScalaEmitter).yi = function (_this__u8e3s4) {
2242
+ return this.wj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_1(this, _this__u8e3s4));
2185
2243
  };
2186
- protoOf(ScalaEmitter).cj = function (_this__u8e3s4) {
2187
- return this.wj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2244
+ protoOf(ScalaEmitter).dj = function (_this__u8e3s4) {
2245
+ return this.xj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_2(_this__u8e3s4));
2188
2246
  };
2189
- protoOf(ScalaEmitter).di = function (_this__u8e3s4) {
2190
- return this.th(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2247
+ protoOf(ScalaEmitter).ei = function (_this__u8e3s4) {
2248
+ return this.vh(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_3(_this__u8e3s4));
2191
2249
  };
2192
- protoOf(ScalaEmitter).xj = function (_this__u8e3s4) {
2193
- return this.yj(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2250
+ protoOf(ScalaEmitter).yj = function (_this__u8e3s4) {
2251
+ return this.zj(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_4(_this__u8e3s4));
2194
2252
  };
2195
- protoOf(ScalaEmitter).zj = function (_this__u8e3s4) {
2196
- return this.ak(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2253
+ protoOf(ScalaEmitter).ak = function (_this__u8e3s4) {
2254
+ return this.bk(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_5(_this__u8e3s4, this));
2197
2255
  };
2198
- protoOf(ScalaEmitter).oj = function (_this__u8e3s4) {
2199
- return this.bk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2256
+ protoOf(ScalaEmitter).pj = function (_this__u8e3s4) {
2257
+ return this.ck(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_6(_this__u8e3s4));
2200
2258
  };
2201
- protoOf(ScalaEmitter).ck = function (_this__u8e3s4) {
2202
- return this.dk(_this__u8e3s4, this.oh_1, ScalaEmitter$emit$lambda_7);
2259
+ protoOf(ScalaEmitter).dk = function (_this__u8e3s4) {
2260
+ return this.ek(_this__u8e3s4, this.qh_1, ScalaEmitter$emit$lambda_7);
2203
2261
  };
2204
2262
  function emitType(_this__u8e3s4, $this) {
2205
2263
  return '`' + joinToString(_this__u8e3s4, '', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitType$lambda($this)) + '`';
2206
2264
  }
2207
2265
  function emitType_0(_this__u8e3s4, $this) {
2208
- return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2266
+ return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emitType$lambda_0(_this__u8e3s4, $this));
2209
2267
  }
2210
2268
  function emitName(_this__u8e3s4, $this) {
2211
- var tmp0_safe_receiver = _this__u8e3s4.uh_1;
2269
+ var tmp0_safe_receiver = _this__u8e3s4.wh_1;
2212
2270
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2213
2271
  return 'Request' + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2214
2272
  }
2215
2273
  function emitName_0(_this__u8e3s4, $this) {
2216
- var tmp = 'Response' + Companion_getInstance_1().pi(_this__u8e3s4.mi_1);
2217
- var tmp0_safe_receiver = _this__u8e3s4.ni_1;
2274
+ var tmp = 'Response' + Companion_getInstance_1().qi(_this__u8e3s4.ni_1);
2275
+ var tmp0_safe_receiver = _this__u8e3s4.oi_1;
2218
2276
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : emitContentType_0(tmp0_safe_receiver);
2219
2277
  return tmp + (tmp1_elvis_lhs == null ? 'Undefined' : tmp1_elvis_lhs);
2220
2278
  }
@@ -2225,32 +2283,32 @@
2225
2283
  return '/' + joinToString(_this__u8e3s4, '/', VOID, VOID, VOID, VOID, TypeScriptEmitter$emitPath$lambda($this));
2226
2284
  }
2227
2285
  function emit_3(_this__u8e3s4, $this) {
2228
- return $this.ri(_this__u8e3s4, $this.oh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2286
+ return $this.si(_this__u8e3s4, $this.qh_1, TypeScriptEmitter$emit$lambda_8(_this__u8e3s4));
2229
2287
  }
2230
2288
  function TypeScriptEmitter$emit$lambda($this_emit, this$0) {
2231
2289
  return function () {
2232
- return trimMargin('export type ' + $this_emit.ui_1 + ' = {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |\n |');
2290
+ return trimMargin('export type ' + $this_emit.vi_1 + ' = {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |\n |');
2233
2291
  };
2234
2292
  }
2235
2293
  function TypeScriptEmitter$emit$lambda$lambda(this$0) {
2236
2294
  return function (it) {
2237
- return this$0.xi(it);
2295
+ return this$0.yi(it);
2238
2296
  };
2239
2297
  }
2240
2298
  function TypeScriptEmitter$emit$lambda_0($this_emit, this$0) {
2241
2299
  return function () {
2242
- return joinToString($this_emit.yi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2300
+ return joinToString($this_emit.zi_1, ',\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda(this$0));
2243
2301
  };
2244
2302
  }
2245
2303
  function TypeScriptEmitter$emit$lambda_1(this$0, $this_emit) {
2246
2304
  return function () {
2247
2305
  Companion_getInstance_1();
2248
- return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1);
2306
+ return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1);
2249
2307
  };
2250
2308
  }
2251
2309
  function TypeScriptEmitter$emit$lambda_2($this_emit) {
2252
2310
  return function () {
2253
- return $this_emit.dj_1;
2311
+ return $this_emit.ej_1;
2254
2312
  };
2255
2313
  }
2256
2314
  function TypeScriptEmitter$emit$lambda_3($this_emit) {
@@ -2265,10 +2323,10 @@
2265
2323
  tmp = 'any';
2266
2324
  } else {
2267
2325
  if (tmp0_subject instanceof Custom) {
2268
- tmp = $this_emit.hj_1;
2326
+ tmp = $this_emit.ij_1;
2269
2327
  } else {
2270
2328
  if (tmp0_subject instanceof Primitive) {
2271
- var tmp1_subject = $this_emit.ej_1;
2329
+ var tmp1_subject = $this_emit.fj_1;
2272
2330
  var tmp0 = tmp1_subject.q4_1;
2273
2331
  var tmp_0;
2274
2332
  switch (tmp0) {
@@ -2295,13 +2353,13 @@
2295
2353
  // Inline function 'kotlin.contracts.contract' call
2296
2354
  var tmp$ret$0;
2297
2355
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2298
- tmp$ret$0 = $this_emit.qi() ? tmp0_let + '[]' : tmp0_let;
2356
+ tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2299
2357
  tmp$ret$1 = tmp$ret$0;
2300
2358
  var tmp1_let = tmp$ret$1;
2301
2359
  // Inline function 'kotlin.contracts.contract' call
2302
2360
  var tmp$ret$2;
2303
2361
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>' call
2304
- tmp$ret$2 = $this_emit.jk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2362
+ tmp$ret$2 = $this_emit.kk() ? 'Record<string, ' + tmp1_let + '>' : tmp1_let;
2305
2363
  tmp$ret$3 = tmp$ret$2;
2306
2364
  return tmp$ret$3;
2307
2365
  };
@@ -2311,28 +2369,28 @@
2311
2369
  }
2312
2370
  function TypeScriptEmitter$emit$lambda_4($this_emit) {
2313
2371
  return function () {
2314
- return 'type ' + $this_emit.kj_1 + ' = ' + joinToString($this_emit.lj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2372
+ return 'type ' + $this_emit.lj_1 + ' = ' + joinToString($this_emit.mj_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_0) + '\n';
2315
2373
  };
2316
2374
  }
2317
2375
  function TypeScriptEmitter$emit$lambda_5($this_emit, this$0) {
2318
2376
  return function () {
2319
2377
  Companion_getInstance_1();
2320
- return trimMargin('type ' + $this_emit.mj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.mj_1 + ' = (type: ' + $this_emit.mj_1 + ') => (' + this$0.oj($this_emit.nj_1) + ').test(type.value);\n |\n |');
2378
+ return trimMargin('type ' + $this_emit.nj_1 + ' = {\n |' + ' ' + 'value: string\n |}\n |const validate' + $this_emit.nj_1 + ' = (type: ' + $this_emit.nj_1 + ') => (' + this$0.pj($this_emit.oj_1) + ').test(type.value);\n |\n |');
2321
2379
  };
2322
2380
  }
2323
2381
  function TypeScriptEmitter$emit$lambda_6($this_emit) {
2324
2382
  return function () {
2325
- return "new RegExp('" + dropLast(drop($this_emit.pj_1, 1), 1) + "')";
2383
+ return "new RegExp('" + dropLast(drop($this_emit.qj_1, 1), 1) + "')";
2326
2384
  };
2327
2385
  }
2328
2386
  function TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit) {
2329
2387
  return function (it) {
2330
2388
  Companion_getInstance_1();
2331
2389
  var tmp = emitName(it, this$0);
2332
- var tmp_0 = emitType($this_emit.gi_1, this$0);
2390
+ var tmp_0 = emitType($this_emit.hi_1, this$0);
2333
2391
  var tmp$ret$2;
2334
2392
  // Inline function 'kotlin.collections.map' call
2335
- var tmp1_map = $this_emit.ii_1;
2393
+ var tmp1_map = $this_emit.ji_1;
2336
2394
  var tmp$ret$1;
2337
2395
  // Inline function 'kotlin.collections.mapTo' call
2338
2396
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2341,7 +2399,7 @@
2341
2399
  var item = tmp0_iterator.e();
2342
2400
  var tmp$ret$0;
2343
2401
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2344
- tmp$ret$0 = this$0.xi(item);
2402
+ tmp$ret$0 = this$0.yi(item);
2345
2403
  tmp0_mapTo.a(tmp$ret$0);
2346
2404
  }
2347
2405
  tmp$ret$1 = tmp0_mapTo;
@@ -2349,7 +2407,7 @@
2349
2407
  var tmp_1 = joinToString(tmp$ret$2, ',');
2350
2408
  var tmp$ret$5;
2351
2409
  // Inline function 'kotlin.collections.map' call
2352
- var tmp3_map = $this_emit.hi_1;
2410
+ var tmp3_map = $this_emit.ii_1;
2353
2411
  var tmp$ret$4;
2354
2412
  // Inline function 'kotlin.collections.mapTo' call
2355
2413
  var tmp2_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
@@ -2358,13 +2416,13 @@
2358
2416
  var item_0 = tmp0_iterator_0.e();
2359
2417
  var tmp$ret$3;
2360
2418
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2361
- tmp$ret$3 = this$0.xi(item_0);
2419
+ tmp$ret$3 = this$0.yi(item_0);
2362
2420
  tmp2_mapTo.a(tmp$ret$3);
2363
2421
  }
2364
2422
  tmp$ret$4 = tmp2_mapTo;
2365
2423
  tmp$ret$5 = tmp$ret$4;
2366
2424
  var tmp_2 = joinToString(tmp$ret$5, ',');
2367
- var tmp0_safe_receiver = it.uh_1;
2425
+ var tmp0_safe_receiver = it.wh_1;
2368
2426
  var tmp_3;
2369
2427
  if (tmp0_safe_receiver == null) {
2370
2428
  tmp_3 = null;
@@ -2374,12 +2432,12 @@
2374
2432
  // Inline function 'kotlin.contracts.contract' call
2375
2433
  var tmp$ret$6;
2376
2434
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2377
- tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2435
+ tmp$ret$6 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2378
2436
  tmp$ret$7 = tmp$ret$6;
2379
2437
  tmp_3 = tmp$ret$7;
2380
2438
  }
2381
2439
  var tmp1_elvis_lhs = tmp_3;
2382
- return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.fi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2440
+ return ' ' + 'type ' + tmp + ' = { path: ' + tmp_0 + ', method: "' + $this_emit.gi_1 + '", headers: {' + tmp_1 + '}, query: {' + tmp_2 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + ' } ';
2383
2441
  };
2384
2442
  }
2385
2443
  function TypeScriptEmitter$emit$lambda$lambda_2(this$0) {
@@ -2391,8 +2449,8 @@
2391
2449
  return function (it) {
2392
2450
  Companion_getInstance_1();
2393
2451
  var tmp = emitName_0(it, this$0);
2394
- var tmp_0 = Companion_getInstance_1().ek(it.mi_1) ? it.mi_1 : 'number';
2395
- var tmp0_safe_receiver = it.ni_1;
2452
+ var tmp_0 = Companion_getInstance_1().fk(it.ni_1) ? it.ni_1 : 'number';
2453
+ var tmp0_safe_receiver = it.oi_1;
2396
2454
  var tmp_1;
2397
2455
  if (tmp0_safe_receiver == null) {
2398
2456
  tmp_1 = null;
@@ -2402,7 +2460,7 @@
2402
2460
  // Inline function 'kotlin.contracts.contract' call
2403
2461
  var tmp$ret$0;
2404
2462
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2405
- tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.vh_1 + '", body: ' + this$0.di(tmp0_safe_receiver.wh_1) + ' }';
2463
+ tmp$ret$0 = ', content: { type: "' + tmp0_safe_receiver.xh_1 + '", body: ' + this$0.ei(tmp0_safe_receiver.yh_1) + ' }';
2406
2464
  tmp$ret$1 = tmp$ret$0;
2407
2465
  tmp_1 = tmp$ret$1;
2408
2466
  }
@@ -2417,18 +2475,18 @@
2417
2475
  }
2418
2476
  function TypeScriptEmitter$emit$lambda$lambda$lambda(this$0) {
2419
2477
  return function (it) {
2420
- return this$0.xi(it);
2478
+ return this$0.yi(it);
2421
2479
  };
2422
2480
  }
2423
2481
  function TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit) {
2424
2482
  return function (it) {
2425
- var tmp = Companion_getInstance_1().qj(emitName(it, this$0));
2426
- var tmp_0 = Companion_getInstance_1().sk($this_emit, it.uh_1);
2483
+ var tmp = Companion_getInstance_1().rj(emitName(it, this$0));
2484
+ var tmp_0 = Companion_getInstance_1().tk($this_emit, it.wh_1);
2427
2485
  var tmp_1 = joinToString(tmp_0, ',', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda$lambda(this$0));
2428
- var tmp_2 = emitPath_1($this_emit.gi_1, this$0);
2429
- var tmp_3 = emitMap_1($this_emit.hi_1, this$0);
2430
- var tmp_4 = emitMap_1($this_emit.ii_1, this$0);
2431
- var tmp0_safe_receiver = it.uh_1;
2486
+ var tmp_2 = emitPath_1($this_emit.hi_1, this$0);
2487
+ var tmp_3 = emitMap_1($this_emit.ii_1, this$0);
2488
+ var tmp_4 = emitMap_1($this_emit.ji_1, this$0);
2489
+ var tmp0_safe_receiver = it.wh_1;
2432
2490
  var tmp_5;
2433
2491
  if (tmp0_safe_receiver == null) {
2434
2492
  tmp_5 = null;
@@ -2438,33 +2496,33 @@
2438
2496
  // Inline function 'kotlin.contracts.contract' call
2439
2497
  var tmp$ret$0;
2440
2498
  // Inline function 'community.flock.wirespec.compiler.core.emit.TypeScriptEmitter.emit.<anonymous>.<anonymous>.<anonymous>' call
2441
- tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.vh_1 + '", body}';
2499
+ tmp$ret$0 = ', content: {type: "' + tmp0_safe_receiver.xh_1 + '", body}';
2442
2500
  tmp$ret$1 = tmp$ret$0;
2443
2501
  tmp_5 = tmp$ret$1;
2444
2502
  }
2445
2503
  var tmp1_elvis_lhs = tmp_5;
2446
- return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.fi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2504
+ return 'export const ' + tmp + ' = (' + tmp_1 + ') => ({path: `' + tmp_2 + '`, method: "' + $this_emit.gi_1.p4_1 + '", query: {' + tmp_3 + '}, headers: {' + tmp_4 + '}' + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs) + '} as const)';
2447
2505
  };
2448
2506
  }
2449
2507
  function TypeScriptEmitter$emit$lambda_7($this_emit, this$0) {
2450
2508
  return function () {
2451
- var tmp = toSet($this_emit.ki_1);
2509
+ var tmp = toSet($this_emit.li_1);
2452
2510
  var tmp_0 = joinToString(tmp, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_1(this$0, $this_emit));
2453
2511
  Companion_getInstance_1();
2454
- var tmp_1 = toSet($this_emit.ki_1);
2512
+ var tmp_1 = toSet($this_emit.li_1);
2455
2513
  var tmp_2 = joinToString(tmp_1, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_2(this$0));
2456
- var tmp_3 = toSet($this_emit.li_1);
2514
+ var tmp_3 = toSet($this_emit.mi_1);
2457
2515
  var tmp_4 = joinToString(tmp_3, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_3(this$0));
2458
2516
  Companion_getInstance_1();
2459
- var tmp_5 = toSet($this_emit.li_1);
2517
+ var tmp_5 = toSet($this_emit.mi_1);
2460
2518
  var tmp_6 = joinToString(tmp_5, ' | ', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_4(this$0));
2461
2519
  Companion_getInstance_1();
2462
2520
  Companion_getInstance_1();
2463
2521
  Companion_getInstance_1();
2464
- var tmp_7 = Companion_getInstance_1().qj($this_emit.ei_1);
2522
+ var tmp_7 = Companion_getInstance_1().rj($this_emit.fi_1);
2465
2523
  Companion_getInstance_1();
2466
2524
  Companion_getInstance_1();
2467
- return trimMargin('\n |export namespace ' + $this_emit.ei_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.ki_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2525
+ return trimMargin('\n |export namespace ' + $this_emit.fi_1 + ' {\n |' + tmp_0 + '\n |' + ' ' + 'export type Request = ' + tmp_2 + '\n |' + tmp_4 + '\n |' + ' ' + 'export type Response = ' + tmp_6 + '\n |' + ' ' + 'export type Call = {\n |' + ' ' + ' ' + tmp_7 + ':(request: Request) => Promise<Response>\n |' + ' ' + '}\n |' + ' ' + joinToString($this_emit.li_1, '\n', VOID, VOID, VOID, VOID, TypeScriptEmitter$emit$lambda$lambda_5(this$0, $this_emit)) + '\n |}\n |\n ');
2468
2526
  };
2469
2527
  }
2470
2528
  function TypeScriptEmitter$emitType$lambda(this$0) {
@@ -2477,10 +2535,10 @@
2477
2535
  var tmp0_subject = $this_emitType;
2478
2536
  var tmp;
2479
2537
  if (tmp0_subject instanceof Literal) {
2480
- tmp = $this_emitType.rj_1;
2538
+ tmp = $this_emitType.sj_1;
2481
2539
  } else {
2482
2540
  if (tmp0_subject instanceof Param) {
2483
- tmp = '${' + this$0.di($this_emitType.ti_1) + '}';
2541
+ tmp = '${' + this$0.ei($this_emitType.ui_1) + '}';
2484
2542
  } else {
2485
2543
  noWhenBranchMatchedException();
2486
2544
  }
@@ -2490,7 +2548,7 @@
2490
2548
  }
2491
2549
  function TypeScriptEmitter$emitMap$lambda(this$0) {
2492
2550
  return function (it) {
2493
- return '"' + this$0.cj(it.zi_1) + '": ' + this$0.cj(it.zi_1);
2551
+ return '"' + this$0.dj(it.aj_1) + '": ' + this$0.dj(it.aj_1);
2494
2552
  };
2495
2553
  }
2496
2554
  function TypeScriptEmitter$emitPath$lambda(this$0) {
@@ -2503,10 +2561,10 @@
2503
2561
  var tmp0_subject = $this_emit;
2504
2562
  var tmp;
2505
2563
  if (tmp0_subject instanceof Literal) {
2506
- tmp = $this_emit.rj_1;
2564
+ tmp = $this_emit.sj_1;
2507
2565
  } else {
2508
2566
  if (tmp0_subject instanceof Param) {
2509
- tmp = '${' + $this_emit.si_1.dj_1 + '}';
2567
+ tmp = '${' + $this_emit.ti_1.ej_1 + '}';
2510
2568
  } else {
2511
2569
  noWhenBranchMatchedException();
2512
2570
  }
@@ -2522,12 +2580,12 @@
2522
2580
  Companion_getInstance_1();
2523
2581
  Companion_getInstance_1();
2524
2582
  Companion_getInstance_1();
2525
- tmp.rk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2583
+ tmp.sk_1 = trimMargin('\n |export namespace WirespecShared {\n |' + ' ' + 'type Method = "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD" | "PATCH" | "TRACE"\n |' + ' ' + 'type Content<T> = { type:string, body:T }\n |' + ' ' + 'export type Request<T> = { path:string, method: Method, query?: Record<string, any[]>, headers?: Record<string, any[]>, content?:Content<T> }\n |' + ' ' + 'export type Response<T> = { status:number, headers?: Record<string, any[]>, content?:Content<T> }\n |}\n ');
2526
2584
  }
2527
- protoOf(TypeScriptEmitter).qh = function (ast) {
2585
+ protoOf(TypeScriptEmitter).sh = function (ast) {
2528
2586
  var tmp$ret$3;
2529
2587
  // Inline function 'kotlin.collections.map' call
2530
- var tmp1_map = protoOf(Emitter).qh.call(this, ast);
2588
+ var tmp1_map = protoOf(Emitter).sh.call(this, ast);
2531
2589
  var tmp$ret$2;
2532
2590
  // Inline function 'kotlin.collections.mapTo' call
2533
2591
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -2540,7 +2598,7 @@
2540
2598
  var result = item.j3();
2541
2599
  var tmp$ret$0;
2542
2600
  // Inline function 'kotlin.text.trimStart' call
2543
- var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().kk(ast) ? this.rk_1 : '') + '\n |' + result + '\n ');
2601
+ var tmp0_trimStart = trimMargin('\n |' + (Companion_getInstance_1().lk(ast) ? this.sk_1 : '') + '\n |' + result + '\n ');
2544
2602
  tmp$ret$0 = toString(trimStart(isCharSequence(tmp0_trimStart) ? tmp0_trimStart : THROW_CCE()));
2545
2603
  tmp$ret$1 = to(name, tmp$ret$0);
2546
2604
  tmp0_mapTo.a(tmp$ret$1);
@@ -2549,57 +2607,57 @@
2549
2607
  tmp$ret$3 = tmp$ret$2;
2550
2608
  return tmp$ret$3;
2551
2609
  };
2552
- protoOf(TypeScriptEmitter).sj = function (_this__u8e3s4) {
2553
- return this.tj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2554
- };
2555
- protoOf(TypeScriptEmitter).wi = function (_this__u8e3s4) {
2556
- return this.uj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2610
+ protoOf(TypeScriptEmitter).tj = function (_this__u8e3s4) {
2611
+ return this.uj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda(_this__u8e3s4, this));
2557
2612
  };
2558
2613
  protoOf(TypeScriptEmitter).xi = function (_this__u8e3s4) {
2559
- return this.vj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2614
+ return this.vj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_0(_this__u8e3s4, this));
2560
2615
  };
2561
- protoOf(TypeScriptEmitter).cj = function (_this__u8e3s4) {
2562
- return this.wj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2616
+ protoOf(TypeScriptEmitter).yi = function (_this__u8e3s4) {
2617
+ return this.wj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_1(this, _this__u8e3s4));
2563
2618
  };
2564
- protoOf(TypeScriptEmitter).di = function (_this__u8e3s4) {
2565
- return this.th(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2619
+ protoOf(TypeScriptEmitter).dj = function (_this__u8e3s4) {
2620
+ return this.xj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_2(_this__u8e3s4));
2566
2621
  };
2567
- protoOf(TypeScriptEmitter).xj = function (_this__u8e3s4) {
2568
- return this.yj(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2622
+ protoOf(TypeScriptEmitter).ei = function (_this__u8e3s4) {
2623
+ return this.vh(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_3(_this__u8e3s4));
2569
2624
  };
2570
- protoOf(TypeScriptEmitter).zj = function (_this__u8e3s4) {
2571
- return this.ak(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2625
+ protoOf(TypeScriptEmitter).yj = function (_this__u8e3s4) {
2626
+ return this.zj(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_4(_this__u8e3s4));
2572
2627
  };
2573
- protoOf(TypeScriptEmitter).oj = function (_this__u8e3s4) {
2574
- return this.bk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2628
+ protoOf(TypeScriptEmitter).ak = function (_this__u8e3s4) {
2629
+ return this.bk(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_5(_this__u8e3s4, this));
2575
2630
  };
2576
- protoOf(TypeScriptEmitter).ck = function (_this__u8e3s4) {
2577
- return this.dk(_this__u8e3s4, this.oh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2631
+ protoOf(TypeScriptEmitter).pj = function (_this__u8e3s4) {
2632
+ return this.ck(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_6(_this__u8e3s4));
2633
+ };
2634
+ protoOf(TypeScriptEmitter).dk = function (_this__u8e3s4) {
2635
+ return this.ek(_this__u8e3s4, this.qh_1, TypeScriptEmitter$emit$lambda_7(_this__u8e3s4, this));
2578
2636
  };
2579
2637
  function WirespecEmitter$emit$lambda($this_emit, this$0) {
2580
2638
  return function () {
2581
- return trimMargin('type ' + $this_emit.ui_1 + ' {\n |' + this$0.wi($this_emit.vi_1) + '\n |}\n |');
2639
+ return trimMargin('type ' + $this_emit.vi_1 + ' {\n |' + this$0.xi($this_emit.wi_1) + '\n |}\n |');
2582
2640
  };
2583
2641
  }
2584
2642
  function WirespecEmitter$emit$lambda$lambda(this$0) {
2585
2643
  return function (it) {
2586
- return this$0.xi(it);
2644
+ return this$0.yi(it);
2587
2645
  };
2588
2646
  }
2589
2647
  function WirespecEmitter$emit$lambda_0($this_emit, this$0) {
2590
2648
  return function () {
2591
- return dropLast(joinToString($this_emit.yi_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2649
+ return dropLast(joinToString($this_emit.zi_1, '\n', VOID, VOID, VOID, VOID, WirespecEmitter$emit$lambda$lambda(this$0)), 1);
2592
2650
  };
2593
2651
  }
2594
2652
  function WirespecEmitter$emit$lambda_1(this$0, $this_emit) {
2595
2653
  return function () {
2596
2654
  Companion_getInstance_1();
2597
- return ' ' + this$0.cj($this_emit.zi_1) + ($this_emit.bj_1 ? '?' : '') + ': ' + this$0.di($this_emit.aj_1) + ',';
2655
+ return ' ' + this$0.dj($this_emit.aj_1) + ($this_emit.cj_1 ? '?' : '') + ': ' + this$0.ei($this_emit.bj_1) + ',';
2598
2656
  };
2599
2657
  }
2600
2658
  function WirespecEmitter$emit$lambda_2($this_emit) {
2601
2659
  return function () {
2602
- return $this_emit.dj_1;
2660
+ return $this_emit.ej_1;
2603
2661
  };
2604
2662
  }
2605
2663
  function WirespecEmitter$emit$lambda_3($this_emit) {
@@ -2612,10 +2670,10 @@
2612
2670
  tmp = 'Any';
2613
2671
  } else {
2614
2672
  if (tmp0_subject instanceof Custom) {
2615
- tmp = $this_emit.hj_1;
2673
+ tmp = $this_emit.ij_1;
2616
2674
  } else {
2617
2675
  if (tmp0_subject instanceof Primitive) {
2618
- var tmp1_subject = $this_emit.ej_1;
2676
+ var tmp1_subject = $this_emit.fj_1;
2619
2677
  var tmp0 = tmp1_subject.q4_1;
2620
2678
  var tmp_0;
2621
2679
  switch (tmp0) {
@@ -2642,7 +2700,7 @@
2642
2700
  // Inline function 'kotlin.contracts.contract' call
2643
2701
  var tmp$ret$0;
2644
2702
  // Inline function 'community.flock.wirespec.compiler.core.emit.WirespecEmitter.emit.<anonymous>.<anonymous>' call
2645
- tmp$ret$0 = $this_emit.qi() ? tmp0_let + '[]' : tmp0_let;
2703
+ tmp$ret$0 = $this_emit.ri() ? tmp0_let + '[]' : tmp0_let;
2646
2704
  tmp$ret$1 = tmp$ret$0;
2647
2705
  return tmp$ret$1;
2648
2706
  };
@@ -2650,17 +2708,17 @@
2650
2708
  function WirespecEmitter$emit$lambda_4($this_emit) {
2651
2709
  return function () {
2652
2710
  Companion_getInstance_1();
2653
- return 'enum ' + $this_emit.kj_1 + ' {\n' + ' ' + joinToString($this_emit.lj_1, ', ') + '\n}\n';
2711
+ return 'enum ' + $this_emit.lj_1 + ' {\n' + ' ' + joinToString($this_emit.mj_1, ', ') + '\n}\n';
2654
2712
  };
2655
2713
  }
2656
2714
  function WirespecEmitter$emit$lambda_5($this_emit, this$0) {
2657
2715
  return function () {
2658
- return 'refined ' + $this_emit.mj_1 + ' ' + this$0.oj($this_emit.nj_1) + '\n';
2716
+ return 'refined ' + $this_emit.nj_1 + ' ' + this$0.pj($this_emit.oj_1) + '\n';
2659
2717
  };
2660
2718
  }
2661
2719
  function WirespecEmitter$emit$lambda_6($this_emit) {
2662
2720
  return function () {
2663
- return '/' + dropLast(drop($this_emit.pj_1, 1), 1) + '/g';
2721
+ return '/' + dropLast(drop($this_emit.qj_1, 1), 1) + '/g';
2664
2722
  };
2665
2723
  }
2666
2724
  function WirespecEmitter$emit$lambda_7() {
@@ -2670,32 +2728,32 @@
2670
2728
  logger = logger === VOID ? get_noLogger() : logger;
2671
2729
  Emitter.call(this, logger);
2672
2730
  }
2673
- protoOf(WirespecEmitter).sj = function (_this__u8e3s4) {
2674
- return this.tj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2675
- };
2676
- protoOf(WirespecEmitter).wi = function (_this__u8e3s4) {
2677
- return this.uj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2731
+ protoOf(WirespecEmitter).tj = function (_this__u8e3s4) {
2732
+ return this.uj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda(_this__u8e3s4, this));
2678
2733
  };
2679
2734
  protoOf(WirespecEmitter).xi = function (_this__u8e3s4) {
2680
- return this.vj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2735
+ return this.vj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_0(_this__u8e3s4, this));
2681
2736
  };
2682
- protoOf(WirespecEmitter).cj = function (_this__u8e3s4) {
2683
- return this.wj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2737
+ protoOf(WirespecEmitter).yi = function (_this__u8e3s4) {
2738
+ return this.wj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_1(this, _this__u8e3s4));
2684
2739
  };
2685
- protoOf(WirespecEmitter).di = function (_this__u8e3s4) {
2686
- return this.th(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2740
+ protoOf(WirespecEmitter).dj = function (_this__u8e3s4) {
2741
+ return this.xj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_2(_this__u8e3s4));
2687
2742
  };
2688
- protoOf(WirespecEmitter).xj = function (_this__u8e3s4) {
2689
- return this.yj(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2743
+ protoOf(WirespecEmitter).ei = function (_this__u8e3s4) {
2744
+ return this.vh(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_3(_this__u8e3s4));
2690
2745
  };
2691
- protoOf(WirespecEmitter).zj = function (_this__u8e3s4) {
2692
- return this.ak(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2746
+ protoOf(WirespecEmitter).yj = function (_this__u8e3s4) {
2747
+ return this.zj(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_4(_this__u8e3s4));
2693
2748
  };
2694
- protoOf(WirespecEmitter).oj = function (_this__u8e3s4) {
2695
- return this.bk(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2749
+ protoOf(WirespecEmitter).ak = function (_this__u8e3s4) {
2750
+ return this.bk(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_5(_this__u8e3s4, this));
2696
2751
  };
2697
- protoOf(WirespecEmitter).ck = function (_this__u8e3s4) {
2698
- return this.dk(_this__u8e3s4, this.oh_1, WirespecEmitter$emit$lambda_7);
2752
+ protoOf(WirespecEmitter).pj = function (_this__u8e3s4) {
2753
+ return this.ck(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_6(_this__u8e3s4));
2754
+ };
2755
+ protoOf(WirespecEmitter).dk = function (_this__u8e3s4) {
2756
+ return this.ek(_this__u8e3s4, this.qh_1, WirespecEmitter$emit$lambda_7);
2699
2757
  };
2700
2758
  function get_DEFAULT_PACKAGE_NAME() {
2701
2759
  return DEFAULT_PACKAGE_NAME;
@@ -2703,9 +2761,9 @@
2703
2761
  var DEFAULT_PACKAGE_NAME;
2704
2762
  function Companion_0() {
2705
2763
  Companion_instance_0 = this;
2706
- this.oi_1 = ' ';
2764
+ this.pi_1 = ' ';
2707
2765
  }
2708
- protoOf(Companion_0).pi = function (_this__u8e3s4) {
2766
+ protoOf(Companion_0).qi = function (_this__u8e3s4) {
2709
2767
  var tmp$ret$6;
2710
2768
  // Inline function 'kotlin.text.replaceFirstChar' call
2711
2769
  var tmp;
@@ -2739,7 +2797,7 @@
2739
2797
  tmp$ret$6 = tmp;
2740
2798
  return tmp$ret$6;
2741
2799
  };
2742
- protoOf(Companion_0).qj = function (_this__u8e3s4) {
2800
+ protoOf(Companion_0).rj = function (_this__u8e3s4) {
2743
2801
  var tmp$ret$6;
2744
2802
  // Inline function 'kotlin.text.replaceFirstChar' call
2745
2803
  var tmp;
@@ -2773,7 +2831,7 @@
2773
2831
  tmp$ret$6 = tmp;
2774
2832
  return tmp$ret$6;
2775
2833
  };
2776
- protoOf(Companion_0).kk = function (_this__u8e3s4) {
2834
+ protoOf(Companion_0).lk = function (_this__u8e3s4) {
2777
2835
  var tmp$ret$0;
2778
2836
  $l$block_0: {
2779
2837
  // Inline function 'kotlin.collections.any' call
@@ -2802,12 +2860,12 @@
2802
2860
  }
2803
2861
  return tmp$ret$0;
2804
2862
  };
2805
- protoOf(Companion_0).sk = function (_this__u8e3s4, content) {
2863
+ protoOf(Companion_0).tk = function (_this__u8e3s4, content) {
2806
2864
  var tmp$ret$4;
2807
2865
  // Inline function 'kotlin.collections.map' call
2808
2866
  var tmp$ret$1;
2809
2867
  // Inline function 'kotlin.collections.filterIsInstance' call
2810
- var tmp1_filterIsInstance = _this__u8e3s4.gi_1;
2868
+ var tmp1_filterIsInstance = _this__u8e3s4.hi_1;
2811
2869
  var tmp$ret$0;
2812
2870
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2813
2871
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2829,18 +2887,18 @@
2829
2887
  var item = tmp0_iterator_0.e();
2830
2888
  var tmp$ret$2;
2831
2889
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Companion.joinParameters.<anonymous>' call
2832
- tmp$ret$2 = new Field(item.si_1, item.ti_1, false);
2890
+ tmp$ret$2 = new Field(item.ti_1, item.ui_1, false);
2833
2891
  tmp2_mapTo.a(tmp$ret$2);
2834
2892
  }
2835
2893
  tmp$ret$3 = tmp2_mapTo;
2836
2894
  tmp$ret$4 = tmp$ret$3;
2837
2895
  var pathField = tmp$ret$4;
2838
- var parameters = plus(plus(plus(pathField, _this__u8e3s4.hi_1), _this__u8e3s4.ii_1), _this__u8e3s4.ji_1);
2896
+ var parameters = plus(plus(plus(pathField, _this__u8e3s4.ii_1), _this__u8e3s4.ji_1), _this__u8e3s4.ki_1);
2839
2897
  var tmp0_safe_receiver = content;
2840
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.wh_1;
2898
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yh_1;
2841
2899
  return filterNotNull(plus_0(parameters, tmp1_safe_receiver == null ? null : toField(tmp1_safe_receiver, 'body', false)));
2842
2900
  };
2843
- protoOf(Companion_0).ek = function (_this__u8e3s4) {
2901
+ protoOf(Companion_0).fk = function (_this__u8e3s4) {
2844
2902
  return !(toIntOrNull(_this__u8e3s4) == null);
2845
2903
  };
2846
2904
  var Companion_instance_0;
@@ -2855,10 +2913,10 @@
2855
2913
  function Emitter(logger, split) {
2856
2914
  Companion_getInstance_1();
2857
2915
  split = split === VOID ? false : split;
2858
- this.oh_1 = logger;
2859
- this.ph_1 = split;
2916
+ this.qh_1 = logger;
2917
+ this.rh_1 = split;
2860
2918
  }
2861
- protoOf(Emitter).qh = function (ast) {
2919
+ protoOf(Emitter).sh = function (ast) {
2862
2920
  var tmp$ret$4;
2863
2921
  // Inline function 'kotlin.run' call
2864
2922
  var tmp$ret$2;
@@ -2871,20 +2929,20 @@
2871
2929
  var item = tmp0_iterator.e();
2872
2930
  var tmp$ret$0;
2873
2931
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2874
- this.oh_1.ih('Emitting Node ' + this);
2932
+ this.qh_1.kh('Emitting Node ' + this);
2875
2933
  var tmp0_subject = item;
2876
2934
  var tmp;
2877
2935
  if (tmp0_subject instanceof Type_0) {
2878
- tmp = to(item.ui_1, this.sj(item));
2936
+ tmp = to(item.vi_1, this.tj(item));
2879
2937
  } else {
2880
2938
  if (tmp0_subject instanceof Endpoint) {
2881
- tmp = to(item.ei_1, this.ck(item));
2939
+ tmp = to(item.fi_1, this.dk(item));
2882
2940
  } else {
2883
2941
  if (tmp0_subject instanceof Enum_0) {
2884
- tmp = to(item.kj_1, this.xj(item));
2942
+ tmp = to(item.lj_1, this.yj(item));
2885
2943
  } else {
2886
2944
  if (tmp0_subject instanceof Refined) {
2887
- tmp = to(item.mj_1, this.zj(item));
2945
+ tmp = to(item.nj_1, this.ak(item));
2888
2946
  } else {
2889
2947
  noWhenBranchMatchedException();
2890
2948
  }
@@ -2901,7 +2959,7 @@
2901
2959
  var tmp$ret$3;
2902
2960
  // Inline function 'community.flock.wirespec.compiler.core.emit.common.Emitter.emit.<anonymous>' call
2903
2961
  var tmp_0;
2904
- if (this.ph_1) {
2962
+ if (this.rh_1) {
2905
2963
  tmp_0 = tmp1_run;
2906
2964
  } else {
2907
2965
  tmp_0 = listOf_0(to('NoName', joinToString(tmp1_run, '\n', VOID, VOID, VOID, VOID, Emitter$emit$lambda)));
@@ -2927,7 +2985,7 @@
2927
2985
  captureStack(this, NextException);
2928
2986
  }
2929
2987
  function WrongTokenException(expected, actual) {
2930
- ParserException.call(this, actual.yk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.wk_1).fc() + ' at line ' + actual.yk_1.zk_1 + ' and position ' + (actual.yk_1.al_1 - actual.xk_1.length | 0));
2988
+ ParserException.call(this, actual.zk_1, '' + expected.fc() + ' expected, not: ' + getKClassFromExpression(actual.xk_1).fc() + ' at line ' + actual.zk_1.al_1 + ' and position ' + (actual.zk_1.bl_1 - actual.yk_1.length | 0));
2931
2989
  captureStack(this, WrongTokenException);
2932
2990
  }
2933
2991
  function NullTokenException(message, coordinates) {
@@ -2945,7 +3003,7 @@
2945
3003
  function WirespecException(message, coordinates) {
2946
3004
  RuntimeException_init_$Init$(message, this);
2947
3005
  captureStack(this, WirespecException);
2948
- this.cl_1 = coordinates;
3006
+ this.dl_1 = coordinates;
2949
3007
  }
2950
3008
  function optimize(_this__u8e3s4) {
2951
3009
  var tmp$ret$2;
@@ -2958,10 +3016,10 @@
2958
3016
  var item = tmp0_iterator.e();
2959
3017
  var tmp$ret$0;
2960
3018
  // Inline function 'community.flock.wirespec.compiler.core.optimize.optimize.<anonymous>' call
2961
- var tmp0_subject = item.wk_1;
3019
+ var tmp0_subject = item.xk_1;
2962
3020
  var tmp;
2963
3021
  if (tmp0_subject instanceof CustomRegex) {
2964
- tmp = item.dl(VOID, '"' + dropLast(drop(item.xk_1, 1), 2) + '"');
3022
+ tmp = item.el(VOID, '"' + dropLast(drop(item.yk_1, 1), 2) + '"');
2965
3023
  } else {
2966
3024
  tmp = item;
2967
3025
  }
@@ -3001,29 +3059,29 @@
3001
3059
  }
3002
3060
  function Any(isIterable, isMap) {
3003
3061
  isMap = isMap === VOID ? false : isMap;
3004
- this.el_1 = isIterable;
3005
- this.fl_1 = isMap;
3062
+ this.fl_1 = isIterable;
3063
+ this.gl_1 = isMap;
3006
3064
  }
3007
- protoOf(Any).qi = function () {
3008
- return this.el_1;
3009
- };
3010
- protoOf(Any).jk = function () {
3065
+ protoOf(Any).ri = function () {
3011
3066
  return this.fl_1;
3012
3067
  };
3013
- protoOf(Any).gl = function (isIterable, isMap) {
3068
+ protoOf(Any).kk = function () {
3069
+ return this.gl_1;
3070
+ };
3071
+ protoOf(Any).hl = function (isIterable, isMap) {
3014
3072
  return new Any(isIterable, isMap);
3015
3073
  };
3016
- protoOf(Any).hl = function (isIterable, isMap, $super) {
3017
- isIterable = isIterable === VOID ? this.el_1 : isIterable;
3018
- isMap = isMap === VOID ? this.fl_1 : isMap;
3019
- return $super === VOID ? this.gl(isIterable, isMap) : $super.gl.call(this, isIterable, isMap);
3074
+ protoOf(Any).il = function (isIterable, isMap, $super) {
3075
+ isIterable = isIterable === VOID ? this.fl_1 : isIterable;
3076
+ isMap = isMap === VOID ? this.gl_1 : isMap;
3077
+ return $super === VOID ? this.hl(isIterable, isMap) : $super.hl.call(this, isIterable, isMap);
3020
3078
  };
3021
3079
  protoOf(Any).toString = function () {
3022
- return 'Any(isIterable=' + this.el_1 + ', isMap=' + this.fl_1 + ')';
3080
+ return 'Any(isIterable=' + this.fl_1 + ', isMap=' + this.gl_1 + ')';
3023
3081
  };
3024
3082
  protoOf(Any).hashCode = function () {
3025
- var result = this.el_1 | 0;
3026
- result = imul(result, 31) + (this.fl_1 | 0) | 0;
3083
+ var result = this.fl_1 | 0;
3084
+ result = imul(result, 31) + (this.gl_1 | 0) | 0;
3027
3085
  return result;
3028
3086
  };
3029
3087
  protoOf(Any).equals = function (other) {
@@ -3032,40 +3090,40 @@
3032
3090
  if (!(other instanceof Any))
3033
3091
  return false;
3034
3092
  var tmp0_other_with_cast = other instanceof Any ? other : THROW_CCE();
3035
- if (!(this.el_1 === tmp0_other_with_cast.el_1))
3036
- return false;
3037
3093
  if (!(this.fl_1 === tmp0_other_with_cast.fl_1))
3038
3094
  return false;
3095
+ if (!(this.gl_1 === tmp0_other_with_cast.gl_1))
3096
+ return false;
3039
3097
  return true;
3040
3098
  };
3041
3099
  function Custom(value, isIterable, isMap) {
3042
3100
  isMap = isMap === VOID ? false : isMap;
3043
- this.hj_1 = value;
3044
- this.ij_1 = isIterable;
3045
- this.jj_1 = isMap;
3101
+ this.ij_1 = value;
3102
+ this.jj_1 = isIterable;
3103
+ this.kj_1 = isMap;
3046
3104
  }
3047
- protoOf(Custom).qi = function () {
3048
- return this.ij_1;
3049
- };
3050
- protoOf(Custom).jk = function () {
3105
+ protoOf(Custom).ri = function () {
3051
3106
  return this.jj_1;
3052
3107
  };
3053
- protoOf(Custom).il = function (value, isIterable, isMap) {
3108
+ protoOf(Custom).kk = function () {
3109
+ return this.kj_1;
3110
+ };
3111
+ protoOf(Custom).jl = function (value, isIterable, isMap) {
3054
3112
  return new Custom(value, isIterable, isMap);
3055
3113
  };
3056
- protoOf(Custom).jl = function (value, isIterable, isMap, $super) {
3057
- value = value === VOID ? this.hj_1 : value;
3058
- isIterable = isIterable === VOID ? this.ij_1 : isIterable;
3059
- isMap = isMap === VOID ? this.jj_1 : isMap;
3060
- return $super === VOID ? this.il(value, isIterable, isMap) : $super.il.call(this, value, isIterable, isMap);
3114
+ protoOf(Custom).kl = function (value, isIterable, isMap, $super) {
3115
+ value = value === VOID ? this.ij_1 : value;
3116
+ isIterable = isIterable === VOID ? this.jj_1 : isIterable;
3117
+ isMap = isMap === VOID ? this.kj_1 : isMap;
3118
+ return $super === VOID ? this.jl(value, isIterable, isMap) : $super.jl.call(this, value, isIterable, isMap);
3061
3119
  };
3062
3120
  protoOf(Custom).toString = function () {
3063
- return 'Custom(value=' + this.hj_1 + ', isIterable=' + this.ij_1 + ', isMap=' + this.jj_1 + ')';
3121
+ return 'Custom(value=' + this.ij_1 + ', isIterable=' + this.jj_1 + ', isMap=' + this.kj_1 + ')';
3064
3122
  };
3065
3123
  protoOf(Custom).hashCode = function () {
3066
- var result = getStringHashCode(this.hj_1);
3067
- result = imul(result, 31) + (this.ij_1 | 0) | 0;
3124
+ var result = getStringHashCode(this.ij_1);
3068
3125
  result = imul(result, 31) + (this.jj_1 | 0) | 0;
3126
+ result = imul(result, 31) + (this.kj_1 | 0) | 0;
3069
3127
  return result;
3070
3128
  };
3071
3129
  protoOf(Custom).equals = function (other) {
@@ -3074,42 +3132,42 @@
3074
3132
  if (!(other instanceof Custom))
3075
3133
  return false;
3076
3134
  var tmp0_other_with_cast = other instanceof Custom ? other : THROW_CCE();
3077
- if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3078
- return false;
3079
3135
  if (!(this.ij_1 === tmp0_other_with_cast.ij_1))
3080
3136
  return false;
3081
3137
  if (!(this.jj_1 === tmp0_other_with_cast.jj_1))
3082
3138
  return false;
3139
+ if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3140
+ return false;
3083
3141
  return true;
3084
3142
  };
3085
3143
  function Primitive(type, isIterable, isMap) {
3086
3144
  isMap = isMap === VOID ? false : isMap;
3087
- this.ej_1 = type;
3088
- this.fj_1 = isIterable;
3089
- this.gj_1 = isMap;
3145
+ this.fj_1 = type;
3146
+ this.gj_1 = isIterable;
3147
+ this.hj_1 = isMap;
3090
3148
  }
3091
- protoOf(Primitive).qi = function () {
3092
- return this.fj_1;
3093
- };
3094
- protoOf(Primitive).jk = function () {
3149
+ protoOf(Primitive).ri = function () {
3095
3150
  return this.gj_1;
3096
3151
  };
3097
- protoOf(Primitive).kl = function (type, isIterable, isMap) {
3152
+ protoOf(Primitive).kk = function () {
3153
+ return this.hj_1;
3154
+ };
3155
+ protoOf(Primitive).ll = function (type, isIterable, isMap) {
3098
3156
  return new Primitive(type, isIterable, isMap);
3099
3157
  };
3100
- protoOf(Primitive).ll = function (type, isIterable, isMap, $super) {
3101
- type = type === VOID ? this.ej_1 : type;
3102
- isIterable = isIterable === VOID ? this.fj_1 : isIterable;
3103
- isMap = isMap === VOID ? this.gj_1 : isMap;
3104
- return $super === VOID ? this.kl(type, isIterable, isMap) : $super.kl.call(this, type, isIterable, isMap);
3158
+ protoOf(Primitive).ml = function (type, isIterable, isMap, $super) {
3159
+ type = type === VOID ? this.fj_1 : type;
3160
+ isIterable = isIterable === VOID ? this.gj_1 : isIterable;
3161
+ isMap = isMap === VOID ? this.hj_1 : isMap;
3162
+ return $super === VOID ? this.ll(type, isIterable, isMap) : $super.ll.call(this, type, isIterable, isMap);
3105
3163
  };
3106
3164
  protoOf(Primitive).toString = function () {
3107
- return 'Primitive(type=' + this.ej_1 + ', isIterable=' + this.fj_1 + ', isMap=' + this.gj_1 + ')';
3165
+ return 'Primitive(type=' + this.fj_1 + ', isIterable=' + this.gj_1 + ', isMap=' + this.hj_1 + ')';
3108
3166
  };
3109
3167
  protoOf(Primitive).hashCode = function () {
3110
- var result = this.ej_1.hashCode();
3111
- result = imul(result, 31) + (this.fj_1 | 0) | 0;
3168
+ var result = this.fj_1.hashCode();
3112
3169
  result = imul(result, 31) + (this.gj_1 | 0) | 0;
3170
+ result = imul(result, 31) + (this.hj_1 | 0) | 0;
3113
3171
  return result;
3114
3172
  };
3115
3173
  protoOf(Primitive).equals = function (other) {
@@ -3118,22 +3176,22 @@
3118
3176
  if (!(other instanceof Primitive))
3119
3177
  return false;
3120
3178
  var tmp0_other_with_cast = other instanceof Primitive ? other : THROW_CCE();
3121
- if (!this.ej_1.equals(tmp0_other_with_cast.ej_1))
3122
- return false;
3123
- if (!(this.fj_1 === tmp0_other_with_cast.fj_1))
3179
+ if (!this.fj_1.equals(tmp0_other_with_cast.fj_1))
3124
3180
  return false;
3125
3181
  if (!(this.gj_1 === tmp0_other_with_cast.gj_1))
3126
3182
  return false;
3183
+ if (!(this.hj_1 === tmp0_other_with_cast.hj_1))
3184
+ return false;
3127
3185
  return true;
3128
3186
  };
3129
3187
  function Identifier(value) {
3130
- this.dj_1 = value;
3188
+ this.ej_1 = value;
3131
3189
  }
3132
3190
  protoOf(Identifier).toString = function () {
3133
- return 'Identifier(value=' + this.dj_1 + ')';
3191
+ return 'Identifier(value=' + this.ej_1 + ')';
3134
3192
  };
3135
3193
  protoOf(Identifier).hashCode = function () {
3136
- return getStringHashCode(this.dj_1);
3194
+ return getStringHashCode(this.ej_1);
3137
3195
  };
3138
3196
  protoOf(Identifier).equals = function (other) {
3139
3197
  if (this === other)
@@ -3141,22 +3199,22 @@
3141
3199
  if (!(other instanceof Identifier))
3142
3200
  return false;
3143
3201
  var tmp0_other_with_cast = other instanceof Identifier ? other : THROW_CCE();
3144
- if (!(this.dj_1 === tmp0_other_with_cast.dj_1))
3202
+ if (!(this.ej_1 === tmp0_other_with_cast.ej_1))
3145
3203
  return false;
3146
3204
  return true;
3147
3205
  };
3148
3206
  function Field(identifier, reference, isNullable) {
3149
- this.zi_1 = identifier;
3150
- this.aj_1 = reference;
3151
- this.bj_1 = isNullable;
3207
+ this.aj_1 = identifier;
3208
+ this.bj_1 = reference;
3209
+ this.cj_1 = isNullable;
3152
3210
  }
3153
3211
  protoOf(Field).toString = function () {
3154
- return 'Field(identifier=' + this.zi_1 + ', reference=' + this.aj_1 + ', isNullable=' + this.bj_1 + ')';
3212
+ return 'Field(identifier=' + this.aj_1 + ', reference=' + this.bj_1 + ', isNullable=' + this.cj_1 + ')';
3155
3213
  };
3156
3214
  protoOf(Field).hashCode = function () {
3157
- var result = this.zi_1.hashCode();
3158
- result = imul(result, 31) + hashCode(this.aj_1) | 0;
3159
- result = imul(result, 31) + (this.bj_1 | 0) | 0;
3215
+ var result = this.aj_1.hashCode();
3216
+ result = imul(result, 31) + hashCode(this.bj_1) | 0;
3217
+ result = imul(result, 31) + (this.cj_1 | 0) | 0;
3160
3218
  return result;
3161
3219
  };
3162
3220
  protoOf(Field).equals = function (other) {
@@ -3165,22 +3223,22 @@
3165
3223
  if (!(other instanceof Field))
3166
3224
  return false;
3167
3225
  var tmp0_other_with_cast = other instanceof Field ? other : THROW_CCE();
3168
- if (!this.zi_1.equals(tmp0_other_with_cast.zi_1))
3226
+ if (!this.aj_1.equals(tmp0_other_with_cast.aj_1))
3169
3227
  return false;
3170
- if (!equals(this.aj_1, tmp0_other_with_cast.aj_1))
3228
+ if (!equals(this.bj_1, tmp0_other_with_cast.bj_1))
3171
3229
  return false;
3172
- if (!(this.bj_1 === tmp0_other_with_cast.bj_1))
3230
+ if (!(this.cj_1 === tmp0_other_with_cast.cj_1))
3173
3231
  return false;
3174
3232
  return true;
3175
3233
  };
3176
3234
  function Shape(value) {
3177
- this.yi_1 = value;
3235
+ this.zi_1 = value;
3178
3236
  }
3179
3237
  protoOf(Shape).toString = function () {
3180
- return 'Shape(value=' + this.yi_1 + ')';
3238
+ return 'Shape(value=' + this.zi_1 + ')';
3181
3239
  };
3182
3240
  protoOf(Shape).hashCode = function () {
3183
- return hashCode(this.yi_1);
3241
+ return hashCode(this.zi_1);
3184
3242
  };
3185
3243
  protoOf(Shape).equals = function (other) {
3186
3244
  if (this === other)
@@ -3188,20 +3246,20 @@
3188
3246
  if (!(other instanceof Shape))
3189
3247
  return false;
3190
3248
  var tmp0_other_with_cast = other instanceof Shape ? other : THROW_CCE();
3191
- if (!equals(this.yi_1, tmp0_other_with_cast.yi_1))
3249
+ if (!equals(this.zi_1, tmp0_other_with_cast.zi_1))
3192
3250
  return false;
3193
3251
  return true;
3194
3252
  };
3195
3253
  function Type_0(name, shape) {
3196
- this.ui_1 = name;
3197
- this.vi_1 = shape;
3254
+ this.vi_1 = name;
3255
+ this.wi_1 = shape;
3198
3256
  }
3199
3257
  protoOf(Type_0).toString = function () {
3200
- return 'Type(name=' + this.ui_1 + ', shape=' + this.vi_1 + ')';
3258
+ return 'Type(name=' + this.vi_1 + ', shape=' + this.wi_1 + ')';
3201
3259
  };
3202
3260
  protoOf(Type_0).hashCode = function () {
3203
- var result = getStringHashCode(this.ui_1);
3204
- result = imul(result, 31) + this.vi_1.hashCode() | 0;
3261
+ var result = getStringHashCode(this.vi_1);
3262
+ result = imul(result, 31) + this.wi_1.hashCode() | 0;
3205
3263
  return result;
3206
3264
  };
3207
3265
  protoOf(Type_0).equals = function (other) {
@@ -3210,9 +3268,9 @@
3210
3268
  if (!(other instanceof Type_0))
3211
3269
  return false;
3212
3270
  var tmp0_other_with_cast = other instanceof Type_0 ? other : THROW_CCE();
3213
- if (!(this.ui_1 === tmp0_other_with_cast.ui_1))
3271
+ if (!(this.vi_1 === tmp0_other_with_cast.vi_1))
3214
3272
  return false;
3215
- if (!this.vi_1.equals(tmp0_other_with_cast.vi_1))
3273
+ if (!this.wi_1.equals(tmp0_other_with_cast.wi_1))
3216
3274
  return false;
3217
3275
  return true;
3218
3276
  };
@@ -3242,13 +3300,13 @@
3242
3300
  Method_TRACE_instance = new Method('TRACE', 7);
3243
3301
  }
3244
3302
  function Literal(value) {
3245
- this.rj_1 = value;
3303
+ this.sj_1 = value;
3246
3304
  }
3247
3305
  protoOf(Literal).toString = function () {
3248
- return 'Literal(value=' + this.rj_1 + ')';
3306
+ return 'Literal(value=' + this.sj_1 + ')';
3249
3307
  };
3250
3308
  protoOf(Literal).hashCode = function () {
3251
- return getStringHashCode(this.rj_1);
3309
+ return getStringHashCode(this.sj_1);
3252
3310
  };
3253
3311
  protoOf(Literal).equals = function (other) {
3254
3312
  if (this === other)
@@ -3256,20 +3314,20 @@
3256
3314
  if (!(other instanceof Literal))
3257
3315
  return false;
3258
3316
  var tmp0_other_with_cast = other instanceof Literal ? other : THROW_CCE();
3259
- if (!(this.rj_1 === tmp0_other_with_cast.rj_1))
3317
+ if (!(this.sj_1 === tmp0_other_with_cast.sj_1))
3260
3318
  return false;
3261
3319
  return true;
3262
3320
  };
3263
3321
  function Param(identifier, reference) {
3264
- this.si_1 = identifier;
3265
- this.ti_1 = reference;
3322
+ this.ti_1 = identifier;
3323
+ this.ui_1 = reference;
3266
3324
  }
3267
3325
  protoOf(Param).toString = function () {
3268
- return 'Param(identifier=' + this.si_1 + ', reference=' + this.ti_1 + ')';
3326
+ return 'Param(identifier=' + this.ti_1 + ', reference=' + this.ui_1 + ')';
3269
3327
  };
3270
3328
  protoOf(Param).hashCode = function () {
3271
- var result = this.si_1.hashCode();
3272
- result = imul(result, 31) + hashCode(this.ti_1) | 0;
3329
+ var result = this.ti_1.hashCode();
3330
+ result = imul(result, 31) + hashCode(this.ui_1) | 0;
3273
3331
  return result;
3274
3332
  };
3275
3333
  protoOf(Param).equals = function (other) {
@@ -3278,9 +3336,9 @@
3278
3336
  if (!(other instanceof Param))
3279
3337
  return false;
3280
3338
  var tmp0_other_with_cast = other instanceof Param ? other : THROW_CCE();
3281
- if (!this.si_1.equals(tmp0_other_with_cast.si_1))
3339
+ if (!this.ti_1.equals(tmp0_other_with_cast.ti_1))
3282
3340
  return false;
3283
- if (!equals(this.ti_1, tmp0_other_with_cast.ti_1))
3341
+ if (!equals(this.ui_1, tmp0_other_with_cast.ui_1))
3284
3342
  return false;
3285
3343
  return true;
3286
3344
  };
@@ -3288,13 +3346,13 @@
3288
3346
  Enum.call(this, name, ordinal);
3289
3347
  }
3290
3348
  function Request(content) {
3291
- this.uh_1 = content;
3349
+ this.wh_1 = content;
3292
3350
  }
3293
3351
  protoOf(Request).toString = function () {
3294
- return 'Request(content=' + this.uh_1 + ')';
3352
+ return 'Request(content=' + this.wh_1 + ')';
3295
3353
  };
3296
3354
  protoOf(Request).hashCode = function () {
3297
- return this.uh_1 == null ? 0 : this.uh_1.hashCode();
3355
+ return this.wh_1 == null ? 0 : this.wh_1.hashCode();
3298
3356
  };
3299
3357
  protoOf(Request).equals = function (other) {
3300
3358
  if (this === other)
@@ -3302,20 +3360,20 @@
3302
3360
  if (!(other instanceof Request))
3303
3361
  return false;
3304
3362
  var tmp0_other_with_cast = other instanceof Request ? other : THROW_CCE();
3305
- if (!equals(this.uh_1, tmp0_other_with_cast.uh_1))
3363
+ if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3306
3364
  return false;
3307
3365
  return true;
3308
3366
  };
3309
3367
  function Response(status, content) {
3310
- this.mi_1 = status;
3311
- this.ni_1 = content;
3368
+ this.ni_1 = status;
3369
+ this.oi_1 = content;
3312
3370
  }
3313
3371
  protoOf(Response).toString = function () {
3314
- return 'Response(status=' + this.mi_1 + ', content=' + this.ni_1 + ')';
3372
+ return 'Response(status=' + this.ni_1 + ', content=' + this.oi_1 + ')';
3315
3373
  };
3316
3374
  protoOf(Response).hashCode = function () {
3317
- var result = getStringHashCode(this.mi_1);
3318
- result = imul(result, 31) + (this.ni_1 == null ? 0 : this.ni_1.hashCode()) | 0;
3375
+ var result = getStringHashCode(this.ni_1);
3376
+ result = imul(result, 31) + (this.oi_1 == null ? 0 : this.oi_1.hashCode()) | 0;
3319
3377
  return result;
3320
3378
  };
3321
3379
  protoOf(Response).equals = function (other) {
@@ -3324,24 +3382,24 @@
3324
3382
  if (!(other instanceof Response))
3325
3383
  return false;
3326
3384
  var tmp0_other_with_cast = other instanceof Response ? other : THROW_CCE();
3327
- if (!(this.mi_1 === tmp0_other_with_cast.mi_1))
3385
+ if (!(this.ni_1 === tmp0_other_with_cast.ni_1))
3328
3386
  return false;
3329
- if (!equals(this.ni_1, tmp0_other_with_cast.ni_1))
3387
+ if (!equals(this.oi_1, tmp0_other_with_cast.oi_1))
3330
3388
  return false;
3331
3389
  return true;
3332
3390
  };
3333
3391
  function Content(type, reference, isNullable) {
3334
- this.vh_1 = type;
3335
- this.wh_1 = reference;
3336
- this.xh_1 = isNullable;
3392
+ this.xh_1 = type;
3393
+ this.yh_1 = reference;
3394
+ this.zh_1 = isNullable;
3337
3395
  }
3338
3396
  protoOf(Content).toString = function () {
3339
- return 'Content(type=' + this.vh_1 + ', reference=' + this.wh_1 + ', isNullable=' + this.xh_1 + ')';
3397
+ return 'Content(type=' + this.xh_1 + ', reference=' + this.yh_1 + ', isNullable=' + this.zh_1 + ')';
3340
3398
  };
3341
3399
  protoOf(Content).hashCode = function () {
3342
- var result = getStringHashCode(this.vh_1);
3343
- result = imul(result, 31) + hashCode(this.wh_1) | 0;
3344
- result = imul(result, 31) + (this.xh_1 | 0) | 0;
3400
+ var result = getStringHashCode(this.xh_1);
3401
+ result = imul(result, 31) + hashCode(this.yh_1) | 0;
3402
+ result = imul(result, 31) + (this.zh_1 | 0) | 0;
3345
3403
  return result;
3346
3404
  };
3347
3405
  protoOf(Content).equals = function (other) {
@@ -3350,11 +3408,11 @@
3350
3408
  if (!(other instanceof Content))
3351
3409
  return false;
3352
3410
  var tmp0_other_with_cast = other instanceof Content ? other : THROW_CCE();
3353
- if (!(this.vh_1 === tmp0_other_with_cast.vh_1))
3411
+ if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3354
3412
  return false;
3355
- if (!equals(this.wh_1, tmp0_other_with_cast.wh_1))
3413
+ if (!equals(this.yh_1, tmp0_other_with_cast.yh_1))
3356
3414
  return false;
3357
- if (!(this.xh_1 === tmp0_other_with_cast.xh_1))
3415
+ if (!(this.zh_1 === tmp0_other_with_cast.zh_1))
3358
3416
  return false;
3359
3417
  return true;
3360
3418
  };
@@ -3391,27 +3449,27 @@
3391
3449
  return Method_TRACE_instance;
3392
3450
  }
3393
3451
  function Endpoint(name, method, path, query, headers, cookies, requests, responses) {
3394
- this.ei_1 = name;
3395
- this.fi_1 = method;
3396
- this.gi_1 = path;
3397
- this.hi_1 = query;
3398
- this.ii_1 = headers;
3399
- this.ji_1 = cookies;
3400
- this.ki_1 = requests;
3401
- this.li_1 = responses;
3452
+ this.fi_1 = name;
3453
+ this.gi_1 = method;
3454
+ this.hi_1 = path;
3455
+ this.ii_1 = query;
3456
+ this.ji_1 = headers;
3457
+ this.ki_1 = cookies;
3458
+ this.li_1 = requests;
3459
+ this.mi_1 = responses;
3402
3460
  }
3403
3461
  protoOf(Endpoint).toString = function () {
3404
- return 'Endpoint(name=' + this.ei_1 + ', method=' + this.fi_1 + ', path=' + this.gi_1 + ', query=' + this.hi_1 + ', headers=' + this.ii_1 + ', cookies=' + this.ji_1 + ', requests=' + this.ki_1 + ', responses=' + this.li_1 + ')';
3462
+ return 'Endpoint(name=' + this.fi_1 + ', method=' + this.gi_1 + ', path=' + this.hi_1 + ', query=' + this.ii_1 + ', headers=' + this.ji_1 + ', cookies=' + this.ki_1 + ', requests=' + this.li_1 + ', responses=' + this.mi_1 + ')';
3405
3463
  };
3406
3464
  protoOf(Endpoint).hashCode = function () {
3407
- var result = getStringHashCode(this.ei_1);
3408
- result = imul(result, 31) + this.fi_1.hashCode() | 0;
3409
- result = imul(result, 31) + hashCode(this.gi_1) | 0;
3465
+ var result = getStringHashCode(this.fi_1);
3466
+ result = imul(result, 31) + this.gi_1.hashCode() | 0;
3410
3467
  result = imul(result, 31) + hashCode(this.hi_1) | 0;
3411
3468
  result = imul(result, 31) + hashCode(this.ii_1) | 0;
3412
3469
  result = imul(result, 31) + hashCode(this.ji_1) | 0;
3413
3470
  result = imul(result, 31) + hashCode(this.ki_1) | 0;
3414
3471
  result = imul(result, 31) + hashCode(this.li_1) | 0;
3472
+ result = imul(result, 31) + hashCode(this.mi_1) | 0;
3415
3473
  return result;
3416
3474
  };
3417
3475
  protoOf(Endpoint).equals = function (other) {
@@ -3420,11 +3478,9 @@
3420
3478
  if (!(other instanceof Endpoint))
3421
3479
  return false;
3422
3480
  var tmp0_other_with_cast = other instanceof Endpoint ? other : THROW_CCE();
3423
- if (!(this.ei_1 === tmp0_other_with_cast.ei_1))
3424
- return false;
3425
- if (!this.fi_1.equals(tmp0_other_with_cast.fi_1))
3481
+ if (!(this.fi_1 === tmp0_other_with_cast.fi_1))
3426
3482
  return false;
3427
- if (!equals(this.gi_1, tmp0_other_with_cast.gi_1))
3483
+ if (!this.gi_1.equals(tmp0_other_with_cast.gi_1))
3428
3484
  return false;
3429
3485
  if (!equals(this.hi_1, tmp0_other_with_cast.hi_1))
3430
3486
  return false;
@@ -3436,18 +3492,20 @@
3436
3492
  return false;
3437
3493
  if (!equals(this.li_1, tmp0_other_with_cast.li_1))
3438
3494
  return false;
3495
+ if (!equals(this.mi_1, tmp0_other_with_cast.mi_1))
3496
+ return false;
3439
3497
  return true;
3440
3498
  };
3441
3499
  function Enum_0(name, entries) {
3442
- this.kj_1 = name;
3443
- this.lj_1 = entries;
3500
+ this.lj_1 = name;
3501
+ this.mj_1 = entries;
3444
3502
  }
3445
3503
  protoOf(Enum_0).toString = function () {
3446
- return 'Enum(name=' + this.kj_1 + ', entries=' + this.lj_1 + ')';
3504
+ return 'Enum(name=' + this.lj_1 + ', entries=' + this.mj_1 + ')';
3447
3505
  };
3448
3506
  protoOf(Enum_0).hashCode = function () {
3449
- var result = getStringHashCode(this.kj_1);
3450
- result = imul(result, 31) + hashCode(this.lj_1) | 0;
3507
+ var result = getStringHashCode(this.lj_1);
3508
+ result = imul(result, 31) + hashCode(this.mj_1) | 0;
3451
3509
  return result;
3452
3510
  };
3453
3511
  protoOf(Enum_0).equals = function (other) {
@@ -3456,20 +3514,20 @@
3456
3514
  if (!(other instanceof Enum_0))
3457
3515
  return false;
3458
3516
  var tmp0_other_with_cast = other instanceof Enum_0 ? other : THROW_CCE();
3459
- if (!(this.kj_1 === tmp0_other_with_cast.kj_1))
3517
+ if (!(this.lj_1 === tmp0_other_with_cast.lj_1))
3460
3518
  return false;
3461
- if (!equals(this.lj_1, tmp0_other_with_cast.lj_1))
3519
+ if (!equals(this.mj_1, tmp0_other_with_cast.mj_1))
3462
3520
  return false;
3463
3521
  return true;
3464
3522
  };
3465
3523
  function Validator(value) {
3466
- this.pj_1 = value;
3524
+ this.qj_1 = value;
3467
3525
  }
3468
3526
  protoOf(Validator).toString = function () {
3469
- return 'Validator(value=' + this.pj_1 + ')';
3527
+ return 'Validator(value=' + this.qj_1 + ')';
3470
3528
  };
3471
3529
  protoOf(Validator).hashCode = function () {
3472
- return getStringHashCode(this.pj_1);
3530
+ return getStringHashCode(this.qj_1);
3473
3531
  };
3474
3532
  protoOf(Validator).equals = function (other) {
3475
3533
  if (this === other)
@@ -3477,20 +3535,20 @@
3477
3535
  if (!(other instanceof Validator))
3478
3536
  return false;
3479
3537
  var tmp0_other_with_cast = other instanceof Validator ? other : THROW_CCE();
3480
- if (!(this.pj_1 === tmp0_other_with_cast.pj_1))
3538
+ if (!(this.qj_1 === tmp0_other_with_cast.qj_1))
3481
3539
  return false;
3482
3540
  return true;
3483
3541
  };
3484
3542
  function Refined(name, validator) {
3485
- this.mj_1 = name;
3486
- this.nj_1 = validator;
3543
+ this.nj_1 = name;
3544
+ this.oj_1 = validator;
3487
3545
  }
3488
3546
  protoOf(Refined).toString = function () {
3489
- return 'Refined(name=' + this.mj_1 + ', validator=' + this.nj_1 + ')';
3547
+ return 'Refined(name=' + this.nj_1 + ', validator=' + this.oj_1 + ')';
3490
3548
  };
3491
3549
  protoOf(Refined).hashCode = function () {
3492
- var result = getStringHashCode(this.mj_1);
3493
- result = imul(result, 31) + this.nj_1.hashCode() | 0;
3550
+ var result = getStringHashCode(this.nj_1);
3551
+ result = imul(result, 31) + this.oj_1.hashCode() | 0;
3494
3552
  return result;
3495
3553
  };
3496
3554
  protoOf(Refined).equals = function (other) {
@@ -3499,9 +3557,9 @@
3499
3557
  if (!(other instanceof Refined))
3500
3558
  return false;
3501
3559
  var tmp0_other_with_cast = other instanceof Refined ? other : THROW_CCE();
3502
- if (!(this.mj_1 === tmp0_other_with_cast.mj_1))
3560
+ if (!(this.nj_1 === tmp0_other_with_cast.nj_1))
3503
3561
  return false;
3504
- if (!this.nj_1.equals(tmp0_other_with_cast.nj_1))
3562
+ if (!this.oj_1.equals(tmp0_other_with_cast.oj_1))
3505
3563
  return false;
3506
3564
  return true;
3507
3565
  };
@@ -3544,7 +3602,7 @@
3544
3602
  var item = tmp0_iterator.e();
3545
3603
  var tmp$ret$2;
3546
3604
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>.<anonymous>' call
3547
- tmp$ret$2 = raise.ch(item);
3605
+ tmp$ret$2 = raise.eh(item);
3548
3606
  tmp1_mapTo.a(tmp$ret$2);
3549
3607
  }
3550
3608
  tmp$ret$3 = tmp1_mapTo;
@@ -3552,7 +3610,7 @@
3552
3610
  tmp$ret$5 = tmp$ret$4;
3553
3611
  tmp$ret$6 = tmp$ret$5;
3554
3612
  var res = tmp$ret$6;
3555
- raise.zg();
3613
+ raise.bh();
3556
3614
  var tmp$ret$7;
3557
3615
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3558
3616
  tmp$ret$7 = new Right(res);
@@ -3561,7 +3619,7 @@
3561
3619
  var tmp_0;
3562
3620
  if ($p instanceof CancellationException) {
3563
3621
  var e = $p;
3564
- raise.zg();
3622
+ raise.bh();
3565
3623
  var tmp$ret$8;
3566
3624
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3567
3625
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3570,7 +3628,7 @@
3570
3628
  } else {
3571
3629
  if ($p instanceof Error) {
3572
3630
  var e_0 = $p;
3573
- raise.zg();
3631
+ raise.bh();
3574
3632
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3575
3633
  throw tmp0__anonymous__q1qw7t;
3576
3634
  } else {
@@ -3600,37 +3658,37 @@
3600
3658
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3601
3659
  var tmp$ret$2;
3602
3660
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>' call
3603
- log(_this__u8e3s4.ol_1, $this);
3604
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
3661
+ log(_this__u8e3s4.pl_1, $this);
3662
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3605
3663
  var tmp_0;
3606
3664
  if (tmp0_subject instanceof WsTypeDef) {
3607
- tmp_0 = raise.ch(parseTypeDeclaration(_this__u8e3s4, $this));
3665
+ tmp_0 = raise.eh(parseTypeDeclaration(_this__u8e3s4, $this));
3608
3666
  } else {
3609
3667
  if (tmp0_subject instanceof WsEnumTypeDef) {
3610
- tmp_0 = raise.ch(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3668
+ tmp_0 = raise.eh(parseEnumTypeDeclaration(_this__u8e3s4, $this));
3611
3669
  } else {
3612
3670
  if (tmp0_subject instanceof WsRefinedTypeDef) {
3613
- tmp_0 = raise.ch(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3671
+ tmp_0 = raise.eh(parseRefinedTypeDeclaration(_this__u8e3s4, $this));
3614
3672
  } else {
3615
3673
  var tmp$ret$1;
3616
3674
  // Inline function 'arrow.core.nel' call
3617
3675
  var tmp$ret$0;
3618
3676
  // Inline function 'kotlin.also' call
3619
- var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.ol_1);
3677
+ var tmp0_also = new WrongTokenException(getKClass(WsTypeDef), _this__u8e3s4.pl_1);
3620
3678
  // Inline function 'kotlin.contracts.contract' call
3621
3679
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseDefinition.<anonymous>.<anonymous>' call
3622
- raise.ch(_this__u8e3s4.ql());
3680
+ raise.eh(_this__u8e3s4.rl());
3623
3681
  tmp$ret$0 = tmp0_also;
3624
3682
  var tmp1_nel = tmp$ret$0;
3625
3683
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3626
- raise.bh(tmp$ret$1);
3684
+ raise.dh(tmp$ret$1);
3627
3685
  }
3628
3686
  }
3629
3687
  }
3630
3688
  tmp$ret$2 = tmp_0;
3631
3689
  tmp$ret$3 = tmp$ret$2;
3632
3690
  var res = tmp$ret$3;
3633
- raise.zg();
3691
+ raise.bh();
3634
3692
  var tmp$ret$4;
3635
3693
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3636
3694
  tmp$ret$4 = new Right(res);
@@ -3639,7 +3697,7 @@
3639
3697
  var tmp_1;
3640
3698
  if ($p instanceof CancellationException) {
3641
3699
  var e = $p;
3642
- raise.zg();
3700
+ raise.bh();
3643
3701
  var tmp$ret$5;
3644
3702
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3645
3703
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3648,7 +3706,7 @@
3648
3706
  } else {
3649
3707
  if ($p instanceof Error) {
3650
3708
  var e_0 = $p;
3651
- raise.zg();
3709
+ raise.bh();
3652
3710
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3653
3711
  throw tmp0__anonymous__q1qw7t;
3654
3712
  } else {
@@ -3678,30 +3736,30 @@
3678
3736
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3679
3737
  var tmp$ret$2;
3680
3738
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>' call
3681
- raise.ch(_this__u8e3s4.ql());
3682
- log(_this__u8e3s4.ol_1, $this);
3683
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
3739
+ raise.eh(_this__u8e3s4.rl());
3740
+ log(_this__u8e3s4.pl_1, $this);
3741
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3684
3742
  var tmp_0;
3685
3743
  if (tmp0_subject instanceof CustomType) {
3686
- tmp_0 = raise.ch(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.ol_1.xk_1));
3744
+ tmp_0 = raise.eh(parseTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
3687
3745
  } else {
3688
3746
  var tmp$ret$1;
3689
3747
  // Inline function 'arrow.core.nel' call
3690
3748
  var tmp$ret$0;
3691
3749
  // Inline function 'kotlin.also' call
3692
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
3750
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3693
3751
  // Inline function 'kotlin.contracts.contract' call
3694
3752
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDeclaration.<anonymous>.<anonymous>' call
3695
- raise.ch(_this__u8e3s4.ql());
3753
+ raise.eh(_this__u8e3s4.rl());
3696
3754
  tmp$ret$0 = tmp0_also;
3697
3755
  var tmp1_nel = tmp$ret$0;
3698
3756
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3699
- raise.bh(tmp$ret$1);
3757
+ raise.dh(tmp$ret$1);
3700
3758
  }
3701
3759
  tmp$ret$2 = tmp_0;
3702
3760
  tmp$ret$3 = tmp$ret$2;
3703
3761
  var res = tmp$ret$3;
3704
- raise.zg();
3762
+ raise.bh();
3705
3763
  var tmp$ret$4;
3706
3764
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3707
3765
  tmp$ret$4 = new Right(res);
@@ -3710,7 +3768,7 @@
3710
3768
  var tmp_1;
3711
3769
  if ($p instanceof CancellationException) {
3712
3770
  var e = $p;
3713
- raise.zg();
3771
+ raise.bh();
3714
3772
  var tmp$ret$5;
3715
3773
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3716
3774
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3719,7 +3777,7 @@
3719
3777
  } else {
3720
3778
  if ($p instanceof Error) {
3721
3779
  var e_0 = $p;
3722
- raise.zg();
3780
+ raise.bh();
3723
3781
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3724
3782
  throw tmp0__anonymous__q1qw7t;
3725
3783
  } else {
@@ -3749,53 +3807,53 @@
3749
3807
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3750
3808
  var tmp$ret$5;
3751
3809
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>' call
3752
- raise.ch(_this__u8e3s4.ql());
3753
- log(_this__u8e3s4.ol_1, $this);
3810
+ raise.eh(_this__u8e3s4.rl());
3811
+ log(_this__u8e3s4.pl_1, $this);
3754
3812
  var tmp$ret$4;
3755
3813
  // Inline function 'kotlin.also' call
3756
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
3814
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3757
3815
  var tmp_0;
3758
3816
  if (tmp0_subject instanceof LeftCurly) {
3759
- tmp_0 = new Type_0(typeName, raise.ch(parseTypeShape(_this__u8e3s4, $this)));
3817
+ tmp_0 = new Type_0(typeName, raise.eh(parseTypeShape(_this__u8e3s4, $this)));
3760
3818
  } else {
3761
3819
  var tmp$ret$1;
3762
3820
  // Inline function 'arrow.core.nel' call
3763
3821
  var tmp$ret$0;
3764
3822
  // Inline function 'kotlin.also' call
3765
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.ol_1);
3823
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
3766
3824
  // Inline function 'kotlin.contracts.contract' call
3767
3825
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3768
- raise.ch(_this__u8e3s4.ql());
3826
+ raise.eh(_this__u8e3s4.rl());
3769
3827
  tmp$ret$0 = tmp0_also;
3770
3828
  var tmp1_nel = tmp$ret$0;
3771
3829
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3772
- raise.bh(tmp$ret$1);
3830
+ raise.dh(tmp$ret$1);
3773
3831
  }
3774
3832
  var tmp2_also = tmp_0;
3775
3833
  // Inline function 'kotlin.contracts.contract' call
3776
3834
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>' call
3777
- var tmp0_subject_0 = _this__u8e3s4.ol_1.wk_1;
3835
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3778
3836
  if (tmp0_subject_0 instanceof RightCurly)
3779
- raise.ch(_this__u8e3s4.ql());
3837
+ raise.eh(_this__u8e3s4.rl());
3780
3838
  else {
3781
3839
  var tmp$ret$3;
3782
3840
  // Inline function 'arrow.core.nel' call
3783
3841
  var tmp$ret$2;
3784
3842
  // Inline function 'kotlin.also' call
3785
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.ol_1);
3843
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
3786
3844
  // Inline function 'kotlin.contracts.contract' call
3787
3845
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
3788
- raise.ch(_this__u8e3s4.ql());
3846
+ raise.eh(_this__u8e3s4.rl());
3789
3847
  tmp$ret$2 = tmp0_also_0;
3790
3848
  var tmp1_nel_0 = tmp$ret$2;
3791
3849
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
3792
- raise.bh(tmp$ret$3);
3850
+ raise.dh(tmp$ret$3);
3793
3851
  }
3794
3852
  tmp$ret$4 = tmp2_also;
3795
3853
  tmp$ret$5 = tmp$ret$4;
3796
3854
  tmp$ret$6 = tmp$ret$5;
3797
3855
  var res = tmp$ret$6;
3798
- raise.zg();
3856
+ raise.bh();
3799
3857
  var tmp$ret$7;
3800
3858
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3801
3859
  tmp$ret$7 = new Right(res);
@@ -3804,7 +3862,7 @@
3804
3862
  var tmp_1;
3805
3863
  if ($p instanceof CancellationException) {
3806
3864
  var e = $p;
3807
- raise.zg();
3865
+ raise.bh();
3808
3866
  var tmp$ret$8;
3809
3867
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3810
3868
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3813,7 +3871,7 @@
3813
3871
  } else {
3814
3872
  if ($p instanceof Error) {
3815
3873
  var e_0 = $p;
3816
- raise.zg();
3874
+ raise.bh();
3817
3875
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3818
3876
  throw tmp0__anonymous__q1qw7t;
3819
3877
  } else {
@@ -3843,11 +3901,11 @@
3843
3901
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3844
3902
  var tmp$ret$7;
3845
3903
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>' call
3846
- raise.ch(_this__u8e3s4.ql());
3847
- log(_this__u8e3s4.ol_1, $this);
3904
+ raise.eh(_this__u8e3s4.rl());
3905
+ log(_this__u8e3s4.pl_1, $this);
3848
3906
  var tmp$ret$6;
3849
3907
  // Inline function 'kotlin.let' call
3850
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
3908
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3851
3909
  var tmp_0;
3852
3910
  if (tmp0_subject instanceof CustomValue) {
3853
3911
  var tmp$ret$3;
@@ -3858,25 +3916,25 @@
3858
3916
  var tmp0_apply = tmp$ret$0;
3859
3917
  // Inline function 'kotlin.contracts.contract' call
3860
3918
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3861
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.ol_1.xk_1))));
3862
- while (equals(_this__u8e3s4.ol_1.wk_1, Comma_getInstance())) {
3863
- raise.ch(_this__u8e3s4.ql());
3864
- var tmp0_subject_0 = _this__u8e3s4.ol_1.wk_1;
3919
+ tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3920
+ while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
3921
+ raise.eh(_this__u8e3s4.rl());
3922
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
3865
3923
  if (tmp0_subject_0 instanceof CustomValue) {
3866
- tmp0_apply.a(raise.ch(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.ol_1.xk_1))));
3924
+ tmp0_apply.a(raise.eh(parseField(_this__u8e3s4, $this, new Identifier(_this__u8e3s4.pl_1.yk_1))));
3867
3925
  } else {
3868
3926
  var tmp$ret$2;
3869
3927
  // Inline function 'arrow.core.nel' call
3870
3928
  var tmp$ret$1;
3871
3929
  // Inline function 'kotlin.also' call
3872
- var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.ol_1);
3930
+ var tmp0_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3873
3931
  // Inline function 'kotlin.contracts.contract' call
3874
3932
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>.<anonymous>' call
3875
- raise.ch(_this__u8e3s4.ql());
3933
+ raise.eh(_this__u8e3s4.rl());
3876
3934
  tmp$ret$1 = tmp0_also;
3877
3935
  var tmp1_nel = tmp$ret$1;
3878
3936
  tmp$ret$2 = nonEmptyListOf(tmp1_nel, []);
3879
- raise.bh(tmp$ret$2);
3937
+ raise.dh(tmp$ret$2);
3880
3938
  }
3881
3939
  }
3882
3940
  tmp$ret$3 = tmp0_apply;
@@ -3886,14 +3944,14 @@
3886
3944
  // Inline function 'arrow.core.nel' call
3887
3945
  var tmp$ret$4;
3888
3946
  // Inline function 'kotlin.also' call
3889
- var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.ol_1);
3947
+ var tmp1_also = new WrongTokenException(getKClass(CustomValue), _this__u8e3s4.pl_1);
3890
3948
  // Inline function 'kotlin.contracts.contract' call
3891
3949
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseTypeShape.<anonymous>.<anonymous>' call
3892
- raise.ch(_this__u8e3s4.ql());
3950
+ raise.eh(_this__u8e3s4.rl());
3893
3951
  tmp$ret$4 = tmp1_also;
3894
3952
  var tmp2_nel = tmp$ret$4;
3895
3953
  tmp$ret$5 = nonEmptyListOf(tmp2_nel, []);
3896
- raise.bh(tmp$ret$5);
3954
+ raise.dh(tmp$ret$5);
3897
3955
  }
3898
3956
  var tmp3_let = tmp_0;
3899
3957
  // Inline function 'kotlin.contracts.contract' call
@@ -3901,7 +3959,7 @@
3901
3959
  tmp$ret$7 = tmp$ret$6;
3902
3960
  tmp$ret$8 = tmp$ret$7;
3903
3961
  var res = tmp$ret$8;
3904
- raise.zg();
3962
+ raise.bh();
3905
3963
  var tmp$ret$9;
3906
3964
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3907
3965
  tmp$ret$9 = new Right(res);
@@ -3910,7 +3968,7 @@
3910
3968
  var tmp_1;
3911
3969
  if ($p instanceof CancellationException) {
3912
3970
  var e = $p;
3913
- raise.zg();
3971
+ raise.bh();
3914
3972
  var tmp$ret$10;
3915
3973
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3916
3974
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -3919,7 +3977,7 @@
3919
3977
  } else {
3920
3978
  if ($p instanceof Error) {
3921
3979
  var e_0 = $p;
3922
- raise.zg();
3980
+ raise.bh();
3923
3981
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
3924
3982
  throw tmp0__anonymous__q1qw7t;
3925
3983
  } else {
@@ -3949,37 +4007,37 @@
3949
4007
  // Inline function 'arrow.core.raise.either.<anonymous>' call
3950
4008
  var tmp$ret$5;
3951
4009
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>' call
3952
- raise.ch(_this__u8e3s4.ql());
3953
- log(_this__u8e3s4.ol_1, $this);
3954
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4010
+ raise.eh(_this__u8e3s4.rl());
4011
+ log(_this__u8e3s4.pl_1, $this);
4012
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
3955
4013
  if (tmp0_subject instanceof Colon)
3956
- raise.ch(_this__u8e3s4.ql());
4014
+ raise.eh(_this__u8e3s4.rl());
3957
4015
  else {
3958
4016
  var tmp$ret$1;
3959
4017
  // Inline function 'arrow.core.nel' call
3960
4018
  var tmp$ret$0;
3961
4019
  // Inline function 'kotlin.also' call
3962
- var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.ol_1);
4020
+ var tmp0_also = new WrongTokenException(getKClass(Colon), _this__u8e3s4.pl_1);
3963
4021
  // Inline function 'kotlin.contracts.contract' call
3964
4022
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3965
- raise.ch(_this__u8e3s4.ql());
4023
+ raise.eh(_this__u8e3s4.rl());
3966
4024
  tmp$ret$0 = tmp0_also;
3967
4025
  var tmp1_nel = tmp$ret$0;
3968
4026
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
3969
- raise.bh(tmp$ret$1);
4027
+ raise.dh(tmp$ret$1);
3970
4028
  }
3971
- var type = _this__u8e3s4.ol_1.wk_1;
4029
+ var type = _this__u8e3s4.pl_1.xk_1;
3972
4030
  var tmp_0;
3973
4031
  if (isInterface(type, WsType)) {
3974
- var tmp_1 = raise.ch(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.ol_1.xk_1));
4032
+ var tmp_1 = raise.eh(parseFieldValue(_this__u8e3s4, $this, type, _this__u8e3s4.pl_1.yk_1));
3975
4033
  var tmp$ret$2;
3976
4034
  // Inline function 'kotlin.also' call
3977
- var tmp_2 = _this__u8e3s4.ol_1.wk_1;
4035
+ var tmp_2 = _this__u8e3s4.pl_1.xk_1;
3978
4036
  var tmp2_also = tmp_2 instanceof QuestionMark;
3979
4037
  // Inline function 'kotlin.contracts.contract' call
3980
4038
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3981
4039
  if (tmp2_also)
3982
- raise.ch(_this__u8e3s4.ql());
4040
+ raise.eh(_this__u8e3s4.rl());
3983
4041
  tmp$ret$2 = tmp2_also;
3984
4042
  tmp_0 = new Field(identifier, tmp_1, tmp$ret$2);
3985
4043
  } else {
@@ -3987,19 +4045,19 @@
3987
4045
  // Inline function 'arrow.core.nel' call
3988
4046
  var tmp$ret$3;
3989
4047
  // Inline function 'kotlin.also' call
3990
- var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
4048
+ var tmp3_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
3991
4049
  // Inline function 'kotlin.contracts.contract' call
3992
4050
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseField.<anonymous>.<anonymous>' call
3993
- raise.ch(_this__u8e3s4.ql());
4051
+ raise.eh(_this__u8e3s4.rl());
3994
4052
  tmp$ret$3 = tmp3_also;
3995
4053
  var tmp4_nel = tmp$ret$3;
3996
4054
  tmp$ret$4 = nonEmptyListOf(tmp4_nel, []);
3997
- raise.bh(tmp$ret$4);
4055
+ raise.dh(tmp$ret$4);
3998
4056
  }
3999
4057
  tmp$ret$5 = tmp_0;
4000
4058
  tmp$ret$6 = tmp$ret$5;
4001
4059
  var res = tmp$ret$6;
4002
- raise.zg();
4060
+ raise.bh();
4003
4061
  var tmp$ret$7;
4004
4062
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4005
4063
  tmp$ret$7 = new Right(res);
@@ -4008,7 +4066,7 @@
4008
4066
  var tmp_3;
4009
4067
  if ($p instanceof CancellationException) {
4010
4068
  var e = $p;
4011
- raise.zg();
4069
+ raise.bh();
4012
4070
  var tmp$ret$8;
4013
4071
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4014
4072
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4017,7 +4075,7 @@
4017
4075
  } else {
4018
4076
  if ($p instanceof Error) {
4019
4077
  var e_0 = $p;
4020
- raise.zg();
4078
+ raise.bh();
4021
4079
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4022
4080
  throw tmp0__anonymous__q1qw7t;
4023
4081
  } else {
@@ -4047,16 +4105,16 @@
4047
4105
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4048
4106
  var tmp$ret$1;
4049
4107
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>' call
4050
- raise.ch(_this__u8e3s4.ql());
4051
- log(_this__u8e3s4.ol_1, $this);
4108
+ raise.eh(_this__u8e3s4.rl());
4109
+ log(_this__u8e3s4.pl_1, $this);
4052
4110
  var tmp$ret$0;
4053
4111
  // Inline function 'kotlin.also' call
4054
- var tmp_0 = _this__u8e3s4.ol_1.wk_1;
4112
+ var tmp_0 = _this__u8e3s4.pl_1.xk_1;
4055
4113
  var tmp0_also = tmp_0 instanceof Brackets;
4056
4114
  // Inline function 'kotlin.contracts.contract' call
4057
4115
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseFieldValue.<anonymous>.<anonymous>' call
4058
4116
  if (tmp0_also)
4059
- raise.ch(_this__u8e3s4.ql());
4117
+ raise.eh(_this__u8e3s4.rl());
4060
4118
  tmp$ret$0 = tmp0_also;
4061
4119
  var isIterable = tmp$ret$0;
4062
4120
  var tmp0_subject = wsType;
@@ -4081,7 +4139,7 @@
4081
4139
  tmp$ret$1 = tmp_1;
4082
4140
  tmp$ret$2 = tmp$ret$1;
4083
4141
  var res = tmp$ret$2;
4084
- raise.zg();
4142
+ raise.bh();
4085
4143
  var tmp$ret$3;
4086
4144
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4087
4145
  tmp$ret$3 = new Right(res);
@@ -4090,7 +4148,7 @@
4090
4148
  var tmp_2;
4091
4149
  if ($p instanceof CancellationException) {
4092
4150
  var e = $p;
4093
- raise.zg();
4151
+ raise.bh();
4094
4152
  var tmp$ret$4;
4095
4153
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4096
4154
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4099,7 +4157,7 @@
4099
4157
  } else {
4100
4158
  if ($p instanceof Error) {
4101
4159
  var e_0 = $p;
4102
- raise.zg();
4160
+ raise.bh();
4103
4161
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4104
4162
  throw tmp0__anonymous__q1qw7t;
4105
4163
  } else {
@@ -4129,30 +4187,30 @@
4129
4187
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4130
4188
  var tmp$ret$2;
4131
4189
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>' call
4132
- raise.ch(_this__u8e3s4.ql());
4133
- log(_this__u8e3s4.ol_1, $this);
4134
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4190
+ raise.eh(_this__u8e3s4.rl());
4191
+ log(_this__u8e3s4.pl_1, $this);
4192
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4135
4193
  var tmp_0;
4136
4194
  if (tmp0_subject instanceof CustomType) {
4137
- tmp_0 = raise.ch(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.ol_1.xk_1));
4195
+ tmp_0 = raise.eh(parseEnumTypeDefinition(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4138
4196
  } else {
4139
4197
  var tmp$ret$1;
4140
4198
  // Inline function 'arrow.core.nel' call
4141
4199
  var tmp$ret$0;
4142
4200
  // Inline function 'kotlin.also' call
4143
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
4201
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4144
4202
  // Inline function 'kotlin.contracts.contract' call
4145
4203
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDeclaration.<anonymous>.<anonymous>' call
4146
- raise.ch(_this__u8e3s4.ql());
4204
+ raise.eh(_this__u8e3s4.rl());
4147
4205
  tmp$ret$0 = tmp0_also;
4148
4206
  var tmp1_nel = tmp$ret$0;
4149
4207
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4150
- raise.bh(tmp$ret$1);
4208
+ raise.dh(tmp$ret$1);
4151
4209
  }
4152
4210
  tmp$ret$2 = tmp_0;
4153
4211
  tmp$ret$3 = tmp$ret$2;
4154
4212
  var res = tmp$ret$3;
4155
- raise.zg();
4213
+ raise.bh();
4156
4214
  var tmp$ret$4;
4157
4215
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4158
4216
  tmp$ret$4 = new Right(res);
@@ -4161,7 +4219,7 @@
4161
4219
  var tmp_1;
4162
4220
  if ($p instanceof CancellationException) {
4163
4221
  var e = $p;
4164
- raise.zg();
4222
+ raise.bh();
4165
4223
  var tmp$ret$5;
4166
4224
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4167
4225
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4170,7 +4228,7 @@
4170
4228
  } else {
4171
4229
  if ($p instanceof Error) {
4172
4230
  var e_0 = $p;
4173
- raise.zg();
4231
+ raise.bh();
4174
4232
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4175
4233
  throw tmp0__anonymous__q1qw7t;
4176
4234
  } else {
@@ -4200,53 +4258,53 @@
4200
4258
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4201
4259
  var tmp$ret$5;
4202
4260
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>' call
4203
- raise.ch(_this__u8e3s4.ql());
4204
- log(_this__u8e3s4.ol_1, $this);
4261
+ raise.eh(_this__u8e3s4.rl());
4262
+ log(_this__u8e3s4.pl_1, $this);
4205
4263
  var tmp$ret$4;
4206
4264
  // Inline function 'kotlin.also' call
4207
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4265
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4208
4266
  var tmp_0;
4209
4267
  if (tmp0_subject instanceof LeftCurly) {
4210
- tmp_0 = new Enum_0(typeName, raise.ch(parseEnumTypeEntries(_this__u8e3s4, $this)));
4268
+ tmp_0 = new Enum_0(typeName, raise.eh(parseEnumTypeEntries(_this__u8e3s4, $this)));
4211
4269
  } else {
4212
4270
  var tmp$ret$1;
4213
4271
  // Inline function 'arrow.core.nel' call
4214
4272
  var tmp$ret$0;
4215
4273
  // Inline function 'kotlin.also' call
4216
- var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.ol_1);
4274
+ var tmp0_also = new WrongTokenException(getKClass(LeftCurly), _this__u8e3s4.pl_1);
4217
4275
  // Inline function 'kotlin.contracts.contract' call
4218
4276
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4219
- raise.ch(_this__u8e3s4.ql());
4277
+ raise.eh(_this__u8e3s4.rl());
4220
4278
  tmp$ret$0 = tmp0_also;
4221
4279
  var tmp1_nel = tmp$ret$0;
4222
4280
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4223
- raise.bh(tmp$ret$1);
4281
+ raise.dh(tmp$ret$1);
4224
4282
  }
4225
4283
  var tmp2_also = tmp_0;
4226
4284
  // Inline function 'kotlin.contracts.contract' call
4227
4285
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>' call
4228
- var tmp0_subject_0 = _this__u8e3s4.ol_1.wk_1;
4286
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4229
4287
  if (tmp0_subject_0 instanceof RightCurly)
4230
- raise.ch(_this__u8e3s4.ql());
4288
+ raise.eh(_this__u8e3s4.rl());
4231
4289
  else {
4232
4290
  var tmp$ret$3;
4233
4291
  // Inline function 'arrow.core.nel' call
4234
4292
  var tmp$ret$2;
4235
4293
  // Inline function 'kotlin.also' call
4236
- var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.ol_1);
4294
+ var tmp0_also_0 = new WrongTokenException(getKClass(RightCurly), _this__u8e3s4.pl_1);
4237
4295
  // Inline function 'kotlin.contracts.contract' call
4238
4296
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeDefinition.<anonymous>.<anonymous>.<anonymous>' call
4239
- raise.ch(_this__u8e3s4.ql());
4297
+ raise.eh(_this__u8e3s4.rl());
4240
4298
  tmp$ret$2 = tmp0_also_0;
4241
4299
  var tmp1_nel_0 = tmp$ret$2;
4242
4300
  tmp$ret$3 = nonEmptyListOf(tmp1_nel_0, []);
4243
- raise.bh(tmp$ret$3);
4301
+ raise.dh(tmp$ret$3);
4244
4302
  }
4245
4303
  tmp$ret$4 = tmp2_also;
4246
4304
  tmp$ret$5 = tmp$ret$4;
4247
4305
  tmp$ret$6 = tmp$ret$5;
4248
4306
  var res = tmp$ret$6;
4249
- raise.zg();
4307
+ raise.bh();
4250
4308
  var tmp$ret$7;
4251
4309
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4252
4310
  tmp$ret$7 = new Right(res);
@@ -4255,7 +4313,7 @@
4255
4313
  var tmp_1;
4256
4314
  if ($p instanceof CancellationException) {
4257
4315
  var e = $p;
4258
- raise.zg();
4316
+ raise.bh();
4259
4317
  var tmp$ret$8;
4260
4318
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4261
4319
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4264,7 +4322,7 @@
4264
4322
  } else {
4265
4323
  if ($p instanceof Error) {
4266
4324
  var e_0 = $p;
4267
- raise.zg();
4325
+ raise.bh();
4268
4326
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4269
4327
  throw tmp0__anonymous__q1qw7t;
4270
4328
  } else {
@@ -4294,9 +4352,9 @@
4294
4352
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4295
4353
  var tmp$ret$7;
4296
4354
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>' call
4297
- raise.ch(_this__u8e3s4.ql());
4298
- log(_this__u8e3s4.ol_1, $this);
4299
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4355
+ raise.eh(_this__u8e3s4.rl());
4356
+ log(_this__u8e3s4.pl_1, $this);
4357
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4300
4358
  var tmp_0;
4301
4359
  if (tmp0_subject instanceof CustomType) {
4302
4360
  var tmp$ret$4;
@@ -4307,32 +4365,32 @@
4307
4365
  var tmp0_apply = tmp$ret$0;
4308
4366
  // Inline function 'kotlin.contracts.contract' call
4309
4367
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4310
- tmp0_apply.a(_this__u8e3s4.ol_1.xk_1);
4311
- raise.ch(_this__u8e3s4.ql());
4312
- while (equals(_this__u8e3s4.ol_1.wk_1, Comma_getInstance())) {
4313
- raise.ch(_this__u8e3s4.ql());
4314
- var tmp0_subject_0 = _this__u8e3s4.ol_1.wk_1;
4368
+ tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4369
+ raise.eh(_this__u8e3s4.rl());
4370
+ while (equals(_this__u8e3s4.pl_1.xk_1, Comma_getInstance())) {
4371
+ raise.eh(_this__u8e3s4.rl());
4372
+ var tmp0_subject_0 = _this__u8e3s4.pl_1.xk_1;
4315
4373
  if (tmp0_subject_0 instanceof CustomType) {
4316
4374
  var tmp$ret$1;
4317
4375
  // Inline function 'kotlin.also' call
4318
- var tmp0_also = tmp0_apply.a(_this__u8e3s4.ol_1.xk_1);
4376
+ var tmp0_also = tmp0_apply.a(_this__u8e3s4.pl_1.yk_1);
4319
4377
  // Inline function 'kotlin.contracts.contract' call
4320
4378
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4321
- raise.ch(_this__u8e3s4.ql());
4379
+ raise.eh(_this__u8e3s4.rl());
4322
4380
  tmp$ret$1 = tmp0_also;
4323
4381
  } else {
4324
4382
  var tmp$ret$3;
4325
4383
  // Inline function 'arrow.core.nel' call
4326
4384
  var tmp$ret$2;
4327
4385
  // Inline function 'kotlin.also' call
4328
- var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
4386
+ var tmp1_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4329
4387
  // Inline function 'kotlin.contracts.contract' call
4330
4388
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>.<anonymous>' call
4331
- raise.ch(_this__u8e3s4.ql());
4389
+ raise.eh(_this__u8e3s4.rl());
4332
4390
  tmp$ret$2 = tmp1_also;
4333
4391
  var tmp2_nel = tmp$ret$2;
4334
4392
  tmp$ret$3 = nonEmptyListOf(tmp2_nel, []);
4335
- raise.bh(tmp$ret$3);
4393
+ raise.dh(tmp$ret$3);
4336
4394
  }
4337
4395
  }
4338
4396
  tmp$ret$4 = tmp0_apply;
@@ -4342,19 +4400,19 @@
4342
4400
  // Inline function 'arrow.core.nel' call
4343
4401
  var tmp$ret$5;
4344
4402
  // Inline function 'kotlin.also' call
4345
- var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
4403
+ var tmp1_also_0 = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4346
4404
  // Inline function 'kotlin.contracts.contract' call
4347
4405
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseEnumTypeEntries.<anonymous>.<anonymous>' call
4348
- raise.ch(_this__u8e3s4.ql());
4406
+ raise.eh(_this__u8e3s4.rl());
4349
4407
  tmp$ret$5 = tmp1_also_0;
4350
4408
  var tmp2_nel_0 = tmp$ret$5;
4351
4409
  tmp$ret$6 = nonEmptyListOf(tmp2_nel_0, []);
4352
- raise.bh(tmp$ret$6);
4410
+ raise.dh(tmp$ret$6);
4353
4411
  }
4354
4412
  tmp$ret$7 = toSet(tmp_0);
4355
4413
  tmp$ret$8 = tmp$ret$7;
4356
4414
  var res = tmp$ret$8;
4357
- raise.zg();
4415
+ raise.bh();
4358
4416
  var tmp$ret$9;
4359
4417
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4360
4418
  tmp$ret$9 = new Right(res);
@@ -4363,7 +4421,7 @@
4363
4421
  var tmp_1;
4364
4422
  if ($p instanceof CancellationException) {
4365
4423
  var e = $p;
4366
- raise.zg();
4424
+ raise.bh();
4367
4425
  var tmp$ret$10;
4368
4426
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4369
4427
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4372,7 +4430,7 @@
4372
4430
  } else {
4373
4431
  if ($p instanceof Error) {
4374
4432
  var e_0 = $p;
4375
- raise.zg();
4433
+ raise.bh();
4376
4434
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4377
4435
  throw tmp0__anonymous__q1qw7t;
4378
4436
  } else {
@@ -4402,30 +4460,30 @@
4402
4460
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4403
4461
  var tmp$ret$2;
4404
4462
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>' call
4405
- raise.ch(_this__u8e3s4.ql());
4406
- log(_this__u8e3s4.ol_1, $this);
4407
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4463
+ raise.eh(_this__u8e3s4.rl());
4464
+ log(_this__u8e3s4.pl_1, $this);
4465
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4408
4466
  var tmp_0;
4409
4467
  if (tmp0_subject instanceof CustomType) {
4410
- tmp_0 = raise.ch(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.ol_1.xk_1));
4468
+ tmp_0 = raise.eh(parseCustomRegex(_this__u8e3s4, $this, _this__u8e3s4.pl_1.yk_1));
4411
4469
  } else {
4412
4470
  var tmp$ret$1;
4413
4471
  // Inline function 'arrow.core.nel' call
4414
4472
  var tmp$ret$0;
4415
4473
  // Inline function 'kotlin.also' call
4416
- var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.ol_1);
4474
+ var tmp0_also = new WrongTokenException(getKClass(CustomType), _this__u8e3s4.pl_1);
4417
4475
  // Inline function 'kotlin.contracts.contract' call
4418
4476
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseRefinedTypeDeclaration.<anonymous>.<anonymous>' call
4419
- raise.ch(_this__u8e3s4.ql());
4477
+ raise.eh(_this__u8e3s4.rl());
4420
4478
  tmp$ret$0 = tmp0_also;
4421
4479
  var tmp1_nel = tmp$ret$0;
4422
4480
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4423
- raise.bh(tmp$ret$1);
4481
+ raise.dh(tmp$ret$1);
4424
4482
  }
4425
4483
  tmp$ret$2 = tmp_0;
4426
4484
  tmp$ret$3 = tmp$ret$2;
4427
4485
  var res = tmp$ret$3;
4428
- raise.zg();
4486
+ raise.bh();
4429
4487
  var tmp$ret$4;
4430
4488
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4431
4489
  tmp$ret$4 = new Right(res);
@@ -4434,7 +4492,7 @@
4434
4492
  var tmp_1;
4435
4493
  if ($p instanceof CancellationException) {
4436
4494
  var e = $p;
4437
- raise.zg();
4495
+ raise.bh();
4438
4496
  var tmp$ret$5;
4439
4497
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4440
4498
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4443,7 +4501,7 @@
4443
4501
  } else {
4444
4502
  if ($p instanceof Error) {
4445
4503
  var e_0 = $p;
4446
- raise.zg();
4504
+ raise.bh();
4447
4505
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4448
4506
  throw tmp0__anonymous__q1qw7t;
4449
4507
  } else {
@@ -4473,37 +4531,37 @@
4473
4531
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4474
4532
  var tmp$ret$3;
4475
4533
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>' call
4476
- raise.ch(_this__u8e3s4.ql());
4477
- log(_this__u8e3s4.ol_1, $this);
4534
+ raise.eh(_this__u8e3s4.rl());
4535
+ log(_this__u8e3s4.pl_1, $this);
4478
4536
  var tmp$ret$2;
4479
4537
  // Inline function 'kotlin.also' call
4480
- var tmp0_subject = _this__u8e3s4.ol_1.wk_1;
4538
+ var tmp0_subject = _this__u8e3s4.pl_1.xk_1;
4481
4539
  var tmp_0;
4482
4540
  if (tmp0_subject instanceof CustomRegex) {
4483
- tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.ol_1.xk_1));
4541
+ tmp_0 = new Refined(typeName, new Validator(_this__u8e3s4.pl_1.yk_1));
4484
4542
  } else {
4485
4543
  var tmp$ret$1;
4486
4544
  // Inline function 'arrow.core.nel' call
4487
4545
  var tmp$ret$0;
4488
4546
  // Inline function 'kotlin.also' call
4489
- var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.ol_1);
4547
+ var tmp0_also = new WrongTokenException(getKClass(CustomRegex), _this__u8e3s4.pl_1);
4490
4548
  // Inline function 'kotlin.contracts.contract' call
4491
4549
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4492
- raise.ch(_this__u8e3s4.ql());
4550
+ raise.eh(_this__u8e3s4.rl());
4493
4551
  tmp$ret$0 = tmp0_also;
4494
4552
  var tmp1_nel = tmp$ret$0;
4495
4553
  tmp$ret$1 = nonEmptyListOf(tmp1_nel, []);
4496
- raise.bh(tmp$ret$1);
4554
+ raise.dh(tmp$ret$1);
4497
4555
  }
4498
4556
  var tmp2_also = tmp_0;
4499
4557
  // Inline function 'kotlin.contracts.contract' call
4500
4558
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parseCustomRegex.<anonymous>.<anonymous>' call
4501
- raise.ch(_this__u8e3s4.ql());
4559
+ raise.eh(_this__u8e3s4.rl());
4502
4560
  tmp$ret$2 = tmp2_also;
4503
4561
  tmp$ret$3 = tmp$ret$2;
4504
4562
  tmp$ret$4 = tmp$ret$3;
4505
4563
  var res = tmp$ret$4;
4506
- raise.zg();
4564
+ raise.bh();
4507
4565
  var tmp$ret$5;
4508
4566
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4509
4567
  tmp$ret$5 = new Right(res);
@@ -4512,7 +4570,7 @@
4512
4570
  var tmp_1;
4513
4571
  if ($p instanceof CancellationException) {
4514
4572
  var e = $p;
4515
- raise.zg();
4573
+ raise.bh();
4516
4574
  var tmp$ret$6;
4517
4575
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4518
4576
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4521,7 +4579,7 @@
4521
4579
  } else {
4522
4580
  if ($p instanceof Error) {
4523
4581
  var e_0 = $p;
4524
- raise.zg();
4582
+ raise.bh();
4525
4583
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4526
4584
  throw tmp0__anonymous__q1qw7t;
4527
4585
  } else {
@@ -4536,12 +4594,12 @@
4536
4594
  return tmp$ret$9;
4537
4595
  }
4538
4596
  function log(_this__u8e3s4, $this) {
4539
- return $this.mh_1.ih('Parsing ' + _this__u8e3s4.wk_1 + ' at line ' + _this__u8e3s4.yk_1.zk_1 + ' position ' + _this__u8e3s4.yk_1.al_1);
4597
+ return $this.oh_1.kh('Parsing ' + _this__u8e3s4.xk_1 + ' at line ' + _this__u8e3s4.zk_1.al_1 + ' position ' + _this__u8e3s4.zk_1.bl_1);
4540
4598
  }
4541
4599
  function Parser(logger) {
4542
- this.mh_1 = logger;
4600
+ this.oh_1 = logger;
4543
4601
  }
4544
- protoOf(Parser).nh = function (tokens) {
4602
+ protoOf(Parser).ph = function (tokens) {
4545
4603
  var tmp$ret$2;
4546
4604
  // Inline function 'kotlin.collections.filterNot' call
4547
4605
  var tmp$ret$1;
@@ -4552,7 +4610,7 @@
4552
4610
  var element = tmp0_iterator.e();
4553
4611
  var tmp$ret$0;
4554
4612
  // Inline function 'community.flock.wirespec.compiler.core.parse.Parser.parse.<anonymous>' call
4555
- var tmp = element.wk_1;
4613
+ var tmp = element.xk_1;
4556
4614
  tmp$ret$0 = isInterface(tmp, WhiteSpace);
4557
4615
  if (!tmp$ret$0) {
4558
4616
  tmp0_filterNotTo.a(element);
@@ -4560,7 +4618,7 @@
4560
4618
  }
4561
4619
  tmp$ret$1 = tmp0_filterNotTo;
4562
4620
  tmp$ret$2 = tmp$ret$1;
4563
- return parse(toProvider(tmp$ret$2, this.mh_1), this);
4621
+ return parse(toProvider(tmp$ret$2, this.oh_1), this);
4564
4622
  };
4565
4623
  function printTokens($this, previousToken) {
4566
4624
  var tmp$ret$6;
@@ -4576,7 +4634,7 @@
4576
4634
  // Inline function 'kotlin.contracts.contract' call
4577
4635
  var tmp$ret$0;
4578
4636
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4579
- tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.xk_1 + "', ";
4637
+ tmp$ret$0 = "Eating: '" + tmp0_safe_receiver.yk_1 + "', ";
4580
4638
  tmp$ret$1 = tmp$ret$0;
4581
4639
  tmp = tmp$ret$1;
4582
4640
  }
@@ -4584,14 +4642,14 @@
4584
4642
  var prev = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
4585
4643
  var tmp$ret$3;
4586
4644
  // Inline function 'kotlin.run' call
4587
- var tmp0_run = $this.ol_1;
4645
+ var tmp0_run = $this.pl_1;
4588
4646
  // Inline function 'kotlin.contracts.contract' call
4589
4647
  var tmp$ret$2;
4590
4648
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4591
- tmp$ret$2 = "Current: '" + tmp0_run.xk_1 + "'";
4649
+ tmp$ret$2 = "Current: '" + tmp0_run.yk_1 + "'";
4592
4650
  tmp$ret$3 = tmp$ret$2;
4593
4651
  var curr = tmp$ret$3;
4594
- var tmp2_safe_receiver = $this.pl_1;
4652
+ var tmp2_safe_receiver = $this.ql_1;
4595
4653
  var tmp_0;
4596
4654
  if (tmp2_safe_receiver == null) {
4597
4655
  tmp_0 = null;
@@ -4601,13 +4659,13 @@
4601
4659
  // Inline function 'kotlin.contracts.contract' call
4602
4660
  var tmp$ret$4;
4603
4661
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.printTokens.<anonymous>.<anonymous>' call
4604
- tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.xk_1 + "'";
4662
+ tmp$ret$4 = ", Next: '" + tmp2_safe_receiver.yk_1 + "'";
4605
4663
  tmp$ret$5 = tmp$ret$4;
4606
4664
  tmp_0 = tmp$ret$5;
4607
4665
  }
4608
4666
  var tmp3_elvis_lhs = tmp_0;
4609
4667
  var next = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
4610
- $this.ml_1.ih(prev + curr + next);
4668
+ $this.nl_1.kh(prev + curr + next);
4611
4669
  tmp$ret$6 = Unit_getInstance();
4612
4670
  return tmp$ret$6;
4613
4671
  }
@@ -4627,7 +4685,7 @@
4627
4685
  var tmp0_success = Companion_getInstance();
4628
4686
  var tmp$ret$0;
4629
4687
  // Inline function 'community.flock.wirespec.compiler.core.parse.TokenProvider.nextToken.<anonymous>' call
4630
- tmp$ret$0 = $this.nl_1.e();
4688
+ tmp$ret$0 = $this.ol_1.e();
4631
4689
  var tmp1_success = tmp$ret$0;
4632
4690
  tmp$ret$1 = _Result___init__impl__xyqfz8(tmp1_success);
4633
4691
  tmp = tmp$ret$1;
@@ -4658,8 +4716,8 @@
4658
4716
  return tmp$ret$4;
4659
4717
  }
4660
4718
  function TokenProvider(logger, tokenIterator) {
4661
- this.ml_1 = logger;
4662
- this.nl_1 = tokenIterator;
4719
+ this.nl_1 = logger;
4720
+ this.ol_1 = tokenIterator;
4663
4721
  var tmp = this;
4664
4722
  var tmp0_elvis_lhs = nextToken(this);
4665
4723
  var tmp_0;
@@ -4668,14 +4726,14 @@
4668
4726
  } else {
4669
4727
  tmp_0 = tmp0_elvis_lhs;
4670
4728
  }
4671
- tmp.ol_1 = tmp_0;
4672
- this.pl_1 = nextToken(this);
4729
+ tmp.pl_1 = tmp_0;
4730
+ this.ql_1 = nextToken(this);
4673
4731
  printTokens$default(this);
4674
4732
  }
4675
4733
  protoOf(TokenProvider).d = function () {
4676
- return !(this.pl_1 == null);
4734
+ return !(this.ql_1 == null);
4677
4735
  };
4678
- protoOf(TokenProvider).ql = function () {
4736
+ protoOf(TokenProvider).rl = function () {
4679
4737
  var tmp$ret$6;
4680
4738
  // Inline function 'arrow.core.raise.either' call
4681
4739
  var tmp$ret$5;
@@ -4689,25 +4747,25 @@
4689
4747
  try {
4690
4748
  var tmp$ret$1;
4691
4749
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4692
- var previousToken = this.ol_1;
4750
+ var previousToken = this.pl_1;
4693
4751
  var tmp_0 = this;
4694
- var tmp0_elvis_lhs = this.pl_1;
4752
+ var tmp0_elvis_lhs = this.ql_1;
4695
4753
  var tmp_1;
4696
4754
  if (tmp0_elvis_lhs == null) {
4697
4755
  var tmp$ret$0;
4698
4756
  // Inline function 'arrow.core.nel' call
4699
- var tmp0_nel = new NextException(previousToken.yk_1);
4757
+ var tmp0_nel = new NextException(previousToken.zk_1);
4700
4758
  tmp$ret$0 = nonEmptyListOf(tmp0_nel, []);
4701
- raise.bh(tmp$ret$0);
4759
+ raise.dh(tmp$ret$0);
4702
4760
  } else {
4703
4761
  tmp_1 = tmp0_elvis_lhs;
4704
4762
  }
4705
- tmp_0.ol_1 = tmp_1;
4706
- this.pl_1 = nextToken(this);
4763
+ tmp_0.pl_1 = tmp_1;
4764
+ this.ql_1 = nextToken(this);
4707
4765
  printTokens(this, previousToken);
4708
4766
  tmp$ret$1 = Unit_getInstance();
4709
4767
  var res = tmp$ret$1;
4710
- raise.zg();
4768
+ raise.bh();
4711
4769
  var tmp$ret$2;
4712
4770
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4713
4771
  tmp$ret$2 = new Right(Unit_getInstance());
@@ -4716,7 +4774,7 @@
4716
4774
  var tmp_2;
4717
4775
  if ($p instanceof CancellationException) {
4718
4776
  var e = $p;
4719
- raise.zg();
4777
+ raise.bh();
4720
4778
  var tmp$ret$3;
4721
4779
  // Inline function 'arrow.core.raise.either.<anonymous>' call
4722
4780
  var tmp1__anonymous__uwfjfc = raisedOrRethrow(e, raise);
@@ -4725,7 +4783,7 @@
4725
4783
  } else {
4726
4784
  if ($p instanceof Error) {
4727
4785
  var e_0 = $p;
4728
- raise.zg();
4786
+ raise.bh();
4729
4787
  var tmp0__anonymous__q1qw7t = nonFatalOrThrow(e_0);
4730
4788
  throw tmp0__anonymous__q1qw7t;
4731
4789
  } else {
@@ -4745,15 +4803,15 @@
4745
4803
  function IdxAndLength(idx, length) {
4746
4804
  idx = idx === VOID ? 0 : idx;
4747
4805
  length = length === VOID ? 0 : length;
4748
- this.rl_1 = idx;
4749
- this.sl_1 = length;
4806
+ this.sl_1 = idx;
4807
+ this.tl_1 = length;
4750
4808
  }
4751
4809
  protoOf(IdxAndLength).toString = function () {
4752
- return 'IdxAndLength(idx=' + this.rl_1 + ', length=' + this.sl_1 + ')';
4810
+ return 'IdxAndLength(idx=' + this.sl_1 + ', length=' + this.tl_1 + ')';
4753
4811
  };
4754
4812
  protoOf(IdxAndLength).hashCode = function () {
4755
- var result = this.rl_1;
4756
- result = imul(result, 31) + this.sl_1 | 0;
4813
+ var result = this.sl_1;
4814
+ result = imul(result, 31) + this.tl_1 | 0;
4757
4815
  return result;
4758
4816
  };
4759
4817
  protoOf(IdxAndLength).equals = function (other) {
@@ -4762,36 +4820,36 @@
4762
4820
  if (!(other instanceof IdxAndLength))
4763
4821
  return false;
4764
4822
  var tmp0_other_with_cast = other instanceof IdxAndLength ? other : THROW_CCE();
4765
- if (!(this.rl_1 === tmp0_other_with_cast.rl_1))
4766
- return false;
4767
4823
  if (!(this.sl_1 === tmp0_other_with_cast.sl_1))
4768
4824
  return false;
4825
+ if (!(this.tl_1 === tmp0_other_with_cast.tl_1))
4826
+ return false;
4769
4827
  return true;
4770
4828
  };
4771
4829
  function Coordinates(line, position, idxAndLength) {
4772
4830
  line = line === VOID ? 1 : line;
4773
4831
  position = position === VOID ? 1 : position;
4774
4832
  idxAndLength = idxAndLength === VOID ? new IdxAndLength() : idxAndLength;
4775
- this.zk_1 = line;
4776
- this.al_1 = position;
4777
- this.bl_1 = idxAndLength;
4833
+ this.al_1 = line;
4834
+ this.bl_1 = position;
4835
+ this.cl_1 = idxAndLength;
4778
4836
  }
4779
- protoOf(Coordinates).tl = function (line, position, idxAndLength) {
4837
+ protoOf(Coordinates).ul = function (line, position, idxAndLength) {
4780
4838
  return new Coordinates(line, position, idxAndLength);
4781
4839
  };
4782
- protoOf(Coordinates).ul = function (line, position, idxAndLength, $super) {
4783
- line = line === VOID ? this.zk_1 : line;
4784
- position = position === VOID ? this.al_1 : position;
4785
- idxAndLength = idxAndLength === VOID ? this.bl_1 : idxAndLength;
4786
- return $super === VOID ? this.tl(line, position, idxAndLength) : $super.tl.call(this, line, position, idxAndLength);
4840
+ protoOf(Coordinates).vl = function (line, position, idxAndLength, $super) {
4841
+ line = line === VOID ? this.al_1 : line;
4842
+ position = position === VOID ? this.bl_1 : position;
4843
+ idxAndLength = idxAndLength === VOID ? this.cl_1 : idxAndLength;
4844
+ return $super === VOID ? this.ul(line, position, idxAndLength) : $super.ul.call(this, line, position, idxAndLength);
4787
4845
  };
4788
4846
  protoOf(Coordinates).toString = function () {
4789
- return 'Coordinates(line=' + this.zk_1 + ', position=' + this.al_1 + ', idxAndLength=' + this.bl_1 + ')';
4847
+ return 'Coordinates(line=' + this.al_1 + ', position=' + this.bl_1 + ', idxAndLength=' + this.cl_1 + ')';
4790
4848
  };
4791
4849
  protoOf(Coordinates).hashCode = function () {
4792
- var result = this.zk_1;
4793
- result = imul(result, 31) + this.al_1 | 0;
4794
- result = imul(result, 31) + this.bl_1.hashCode() | 0;
4850
+ var result = this.al_1;
4851
+ result = imul(result, 31) + this.bl_1 | 0;
4852
+ result = imul(result, 31) + this.cl_1.hashCode() | 0;
4795
4853
  return result;
4796
4854
  };
4797
4855
  protoOf(Coordinates).equals = function (other) {
@@ -4800,35 +4858,35 @@
4800
4858
  if (!(other instanceof Coordinates))
4801
4859
  return false;
4802
4860
  var tmp0_other_with_cast = other instanceof Coordinates ? other : THROW_CCE();
4803
- if (!(this.zk_1 === tmp0_other_with_cast.zk_1))
4804
- return false;
4805
4861
  if (!(this.al_1 === tmp0_other_with_cast.al_1))
4806
4862
  return false;
4807
- if (!this.bl_1.equals(tmp0_other_with_cast.bl_1))
4863
+ if (!(this.bl_1 === tmp0_other_with_cast.bl_1))
4864
+ return false;
4865
+ if (!this.cl_1.equals(tmp0_other_with_cast.cl_1))
4808
4866
  return false;
4809
4867
  return true;
4810
4868
  };
4811
4869
  function Token(type, value, coordinates) {
4812
- this.wk_1 = type;
4813
- this.xk_1 = value;
4814
- this.yk_1 = coordinates;
4870
+ this.xk_1 = type;
4871
+ this.yk_1 = value;
4872
+ this.zk_1 = coordinates;
4815
4873
  }
4816
- protoOf(Token).vl = function (type, value, coordinates) {
4874
+ protoOf(Token).wl = function (type, value, coordinates) {
4817
4875
  return new Token(type, value, coordinates);
4818
4876
  };
4819
- protoOf(Token).dl = function (type, value, coordinates, $super) {
4820
- type = type === VOID ? this.wk_1 : type;
4821
- value = value === VOID ? this.xk_1 : value;
4822
- coordinates = coordinates === VOID ? this.yk_1 : coordinates;
4823
- return $super === VOID ? this.vl(type, value, coordinates) : $super.vl.call(this, type, value, coordinates);
4877
+ protoOf(Token).el = function (type, value, coordinates, $super) {
4878
+ type = type === VOID ? this.xk_1 : type;
4879
+ value = value === VOID ? this.yk_1 : value;
4880
+ coordinates = coordinates === VOID ? this.zk_1 : coordinates;
4881
+ return $super === VOID ? this.wl(type, value, coordinates) : $super.wl.call(this, type, value, coordinates);
4824
4882
  };
4825
4883
  protoOf(Token).toString = function () {
4826
- return 'Token(type=' + this.wk_1 + ', value=' + this.xk_1 + ', coordinates=' + this.yk_1 + ')';
4884
+ return 'Token(type=' + this.xk_1 + ', value=' + this.yk_1 + ', coordinates=' + this.zk_1 + ')';
4827
4885
  };
4828
4886
  protoOf(Token).hashCode = function () {
4829
- var result = hashCode(this.wk_1);
4830
- result = imul(result, 31) + getStringHashCode(this.xk_1) | 0;
4831
- result = imul(result, 31) + this.yk_1.hashCode() | 0;
4887
+ var result = hashCode(this.xk_1);
4888
+ result = imul(result, 31) + getStringHashCode(this.yk_1) | 0;
4889
+ result = imul(result, 31) + this.zk_1.hashCode() | 0;
4832
4890
  return result;
4833
4891
  };
4834
4892
  protoOf(Token).equals = function (other) {
@@ -4837,19 +4895,19 @@
4837
4895
  if (!(other instanceof Token))
4838
4896
  return false;
4839
4897
  var tmp0_other_with_cast = other instanceof Token ? other : THROW_CCE();
4840
- if (!equals(this.wk_1, tmp0_other_with_cast.wk_1))
4898
+ if (!equals(this.xk_1, tmp0_other_with_cast.xk_1))
4841
4899
  return false;
4842
- if (!(this.xk_1 === tmp0_other_with_cast.xk_1))
4900
+ if (!(this.yk_1 === tmp0_other_with_cast.yk_1))
4843
4901
  return false;
4844
- if (!this.yk_1.equals(tmp0_other_with_cast.yk_1))
4902
+ if (!this.zk_1.equals(tmp0_other_with_cast.zk_1))
4845
4903
  return false;
4846
4904
  return true;
4847
4905
  };
4848
4906
  function plus_1(_this__u8e3s4, length) {
4849
- return new IdxAndLength(_this__u8e3s4.rl_1 + length | 0, length);
4907
+ return new IdxAndLength(_this__u8e3s4.sl_1 + length | 0, length);
4850
4908
  }
4851
4909
  function plus_2(_this__u8e3s4, length) {
4852
- return _this__u8e3s4.ul(VOID, _this__u8e3s4.al_1 + length | 0, plus_1(_this__u8e3s4.bl_1, length));
4910
+ return _this__u8e3s4.vl(VOID, _this__u8e3s4.bl_1 + length | 0, plus_1(_this__u8e3s4.cl_1, length));
4853
4911
  }
4854
4912
  function tokenize(_this__u8e3s4, source) {
4855
4913
  var tmp$ret$1;
@@ -4871,7 +4929,7 @@
4871
4929
  var tmp0_subject = type;
4872
4930
  var tmp;
4873
4931
  if (tmp0_subject instanceof NewLine) {
4874
- tmp = new Coordinates(_this__u8e3s4.zk_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.bl_1, value.length));
4932
+ tmp = new Coordinates(_this__u8e3s4.al_1 + 1 | 0, VOID, plus_1(_this__u8e3s4.cl_1, value.length));
4875
4933
  } else {
4876
4934
  tmp = plus_2(_this__u8e3s4, value.length);
4877
4935
  }
@@ -4879,7 +4937,7 @@
4879
4937
  }
4880
4938
  function lastCoordinates(_this__u8e3s4) {
4881
4939
  var tmp0_safe_receiver = lastOrNull(_this__u8e3s4);
4882
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yk_1;
4940
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zk_1;
4883
4941
  return tmp1_elvis_lhs == null ? new Coordinates() : tmp1_elvis_lhs;
4884
4942
  }
4885
4943
  function tokenize_0(_this__u8e3s4, source, tokens) {
@@ -4889,7 +4947,7 @@
4889
4947
  $l$1: do {
4890
4948
  $l$0: do {
4891
4949
  var token = findToken($this, lastCoordinates(tokens_0), source_0);
4892
- var newSource = removePrefix(source_0, token.xk_1);
4950
+ var newSource = removePrefix(source_0, token.yk_1);
4893
4951
  var newTokens = plus_0(tokens_0, token);
4894
4952
  var tmp;
4895
4953
  var tmp$ret$0;
@@ -4915,7 +4973,7 @@
4915
4973
  function findToken(_this__u8e3s4, previousTokenCoordinates, source) {
4916
4974
  var tmp$ret$2;
4917
4975
  // Inline function 'kotlin.collections.firstNotNullOf' call
4918
- var tmp0_firstNotNullOf = _this__u8e3s4.sh();
4976
+ var tmp0_firstNotNullOf = _this__u8e3s4.uh();
4919
4977
  var tmp$ret$1;
4920
4978
  $l$block: {
4921
4979
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
@@ -4926,7 +4984,7 @@
4926
4984
  // Inline function 'community.flock.wirespec.compiler.core.tokenize.findToken.<anonymous>' call
4927
4985
  var regex = element.i3();
4928
4986
  var tokenType = element.j3();
4929
- var tmp0_safe_receiver = regex.ae(source);
4987
+ var tmp0_safe_receiver = regex.ce(source);
4930
4988
  tmp$ret$0 = tmp0_safe_receiver == null ? null : toToken(tmp0_safe_receiver, tokenType, previousTokenCoordinates);
4931
4989
  var result = tmp$ret$0;
4932
4990
  if (!(result == null)) {
@@ -5115,7 +5173,7 @@
5115
5173
  }
5116
5174
  function EndOfProgram() {
5117
5175
  EndOfProgram_instance = this;
5118
- this.xl_1 = 'EOP';
5176
+ this.yl_1 = 'EOP';
5119
5177
  }
5120
5178
  var EndOfProgram_instance;
5121
5179
  function EndOfProgram_getInstance() {
@@ -5136,11 +5194,11 @@
5136
5194
  }
5137
5195
  var noLogger;
5138
5196
  function Logger(enableLogging) {
5139
- this.hh_1 = enableLogging;
5197
+ this.jh_1 = enableLogging;
5140
5198
  }
5141
- protoOf(Logger).ih = function (s) {
5199
+ protoOf(Logger).kh = function (s) {
5142
5200
  var tmp;
5143
- if (this.hh_1) {
5201
+ if (this.jh_1) {
5144
5202
  println(s);
5145
5203
  tmp = Unit_getInstance();
5146
5204
  } else {
@@ -5148,13 +5206,13 @@
5148
5206
  }
5149
5207
  return tmp;
5150
5208
  };
5151
- protoOf(Logger).vk = function (s, block) {
5209
+ protoOf(Logger).wk = function (s, block) {
5152
5210
  var tmp$ret$1;
5153
5211
  // Inline function 'kotlin.run' call
5154
5212
  // Inline function 'kotlin.contracts.contract' call
5155
5213
  var tmp$ret$0;
5156
5214
  // Inline function 'community.flock.wirespec.compiler.utils.Logger.log.<anonymous>' call
5157
- this.ih(s);
5215
+ this.kh(s);
5158
5216
  tmp$ret$0 = block();
5159
5217
  tmp$ret$1 = tmp$ret$0;
5160
5218
  return tmp$ret$1;
@@ -5171,73 +5229,73 @@
5171
5229
  }
5172
5230
  }
5173
5231
  //region block: post-declaration
5174
- protoOf(JavaEmitter).tj = withLogging;
5175
- protoOf(JavaEmitter).uj = withLogging_0;
5176
- protoOf(JavaEmitter).vj = withLogging_1;
5177
- protoOf(JavaEmitter).wj = withLogging_2;
5178
- protoOf(JavaEmitter).th = withLogging_3;
5179
- protoOf(JavaEmitter).yj = withLogging_4;
5180
- protoOf(JavaEmitter).ak = withLogging_5;
5181
- protoOf(JavaEmitter).bk = withLogging_6;
5182
- protoOf(JavaEmitter).dk = withLogging_7;
5183
- protoOf(JavaEmitter).ri = withLogging_8;
5184
- protoOf(KotlinEmitter).tj = withLogging;
5185
- protoOf(KotlinEmitter).uj = withLogging_0;
5186
- protoOf(KotlinEmitter).vj = withLogging_1;
5187
- protoOf(KotlinEmitter).wj = withLogging_2;
5188
- protoOf(KotlinEmitter).th = withLogging_3;
5189
- protoOf(KotlinEmitter).yj = withLogging_4;
5190
- protoOf(KotlinEmitter).ak = withLogging_5;
5191
- protoOf(KotlinEmitter).bk = withLogging_6;
5192
- protoOf(KotlinEmitter).dk = withLogging_7;
5193
- protoOf(KotlinEmitter).ri = withLogging_8;
5194
- protoOf(ScalaEmitter).tj = withLogging;
5195
- protoOf(ScalaEmitter).uj = withLogging_0;
5196
- protoOf(ScalaEmitter).vj = withLogging_1;
5197
- protoOf(ScalaEmitter).wj = withLogging_2;
5198
- protoOf(ScalaEmitter).th = withLogging_3;
5199
- protoOf(ScalaEmitter).yj = withLogging_4;
5200
- protoOf(ScalaEmitter).ak = withLogging_5;
5201
- protoOf(ScalaEmitter).bk = withLogging_6;
5202
- protoOf(ScalaEmitter).dk = withLogging_7;
5203
- protoOf(TypeScriptEmitter).tj = withLogging;
5204
- protoOf(TypeScriptEmitter).uj = withLogging_0;
5205
- protoOf(TypeScriptEmitter).vj = withLogging_1;
5206
- protoOf(TypeScriptEmitter).wj = withLogging_2;
5207
- protoOf(TypeScriptEmitter).th = withLogging_3;
5208
- protoOf(TypeScriptEmitter).yj = withLogging_4;
5209
- protoOf(TypeScriptEmitter).ak = withLogging_5;
5210
- protoOf(TypeScriptEmitter).bk = withLogging_6;
5211
- protoOf(TypeScriptEmitter).dk = withLogging_7;
5212
- protoOf(TypeScriptEmitter).ri = withLogging_8;
5213
- protoOf(WirespecEmitter).tj = withLogging;
5214
- protoOf(WirespecEmitter).uj = withLogging_0;
5215
- protoOf(WirespecEmitter).vj = withLogging_1;
5216
- protoOf(WirespecEmitter).wj = withLogging_2;
5217
- protoOf(WirespecEmitter).th = withLogging_3;
5218
- protoOf(WirespecEmitter).yj = withLogging_4;
5219
- protoOf(WirespecEmitter).ak = withLogging_5;
5220
- protoOf(WirespecEmitter).bk = withLogging_6;
5221
- protoOf(WirespecEmitter).dk = withLogging_7;
5222
- protoOf(WsTypeDef).wl = name;
5223
- protoOf(WsEnumTypeDef).wl = name;
5224
- protoOf(WsRefinedTypeDef).wl = name;
5225
- protoOf(WhiteSpaceExceptNewLine).wl = name;
5226
- protoOf(NewLine).wl = name;
5227
- protoOf(LeftCurly).wl = name;
5228
- protoOf(Colon).wl = name;
5229
- protoOf(Comma).wl = name;
5230
- protoOf(QuestionMark).wl = name;
5231
- protoOf(Brackets).wl = name;
5232
- protoOf(WsString).wl = name;
5233
- protoOf(WsInteger).wl = name;
5234
- protoOf(WsBoolean).wl = name;
5235
- protoOf(RightCurly).wl = name;
5236
- protoOf(CustomValue).wl = name;
5237
- protoOf(CustomType).wl = name;
5238
- protoOf(CustomRegex).wl = name;
5239
- protoOf(Invalid).wl = name;
5240
- protoOf(EndOfProgram).wl = name;
5232
+ protoOf(JavaEmitter).uj = withLogging;
5233
+ protoOf(JavaEmitter).vj = withLogging_0;
5234
+ protoOf(JavaEmitter).wj = withLogging_1;
5235
+ protoOf(JavaEmitter).xj = withLogging_2;
5236
+ protoOf(JavaEmitter).vh = withLogging_3;
5237
+ protoOf(JavaEmitter).zj = withLogging_4;
5238
+ protoOf(JavaEmitter).bk = withLogging_5;
5239
+ protoOf(JavaEmitter).ck = withLogging_6;
5240
+ protoOf(JavaEmitter).ek = withLogging_7;
5241
+ protoOf(JavaEmitter).si = withLogging_8;
5242
+ protoOf(KotlinEmitter).uj = withLogging;
5243
+ protoOf(KotlinEmitter).vj = withLogging_0;
5244
+ protoOf(KotlinEmitter).wj = withLogging_1;
5245
+ protoOf(KotlinEmitter).xj = withLogging_2;
5246
+ protoOf(KotlinEmitter).vh = withLogging_3;
5247
+ protoOf(KotlinEmitter).zj = withLogging_4;
5248
+ protoOf(KotlinEmitter).bk = withLogging_5;
5249
+ protoOf(KotlinEmitter).ck = withLogging_6;
5250
+ protoOf(KotlinEmitter).ek = withLogging_7;
5251
+ protoOf(KotlinEmitter).si = withLogging_8;
5252
+ protoOf(ScalaEmitter).uj = withLogging;
5253
+ protoOf(ScalaEmitter).vj = withLogging_0;
5254
+ protoOf(ScalaEmitter).wj = withLogging_1;
5255
+ protoOf(ScalaEmitter).xj = withLogging_2;
5256
+ protoOf(ScalaEmitter).vh = withLogging_3;
5257
+ protoOf(ScalaEmitter).zj = withLogging_4;
5258
+ protoOf(ScalaEmitter).bk = withLogging_5;
5259
+ protoOf(ScalaEmitter).ck = withLogging_6;
5260
+ protoOf(ScalaEmitter).ek = withLogging_7;
5261
+ protoOf(TypeScriptEmitter).uj = withLogging;
5262
+ protoOf(TypeScriptEmitter).vj = withLogging_0;
5263
+ protoOf(TypeScriptEmitter).wj = withLogging_1;
5264
+ protoOf(TypeScriptEmitter).xj = withLogging_2;
5265
+ protoOf(TypeScriptEmitter).vh = withLogging_3;
5266
+ protoOf(TypeScriptEmitter).zj = withLogging_4;
5267
+ protoOf(TypeScriptEmitter).bk = withLogging_5;
5268
+ protoOf(TypeScriptEmitter).ck = withLogging_6;
5269
+ protoOf(TypeScriptEmitter).ek = withLogging_7;
5270
+ protoOf(TypeScriptEmitter).si = withLogging_8;
5271
+ protoOf(WirespecEmitter).uj = withLogging;
5272
+ protoOf(WirespecEmitter).vj = withLogging_0;
5273
+ protoOf(WirespecEmitter).wj = withLogging_1;
5274
+ protoOf(WirespecEmitter).xj = withLogging_2;
5275
+ protoOf(WirespecEmitter).vh = withLogging_3;
5276
+ protoOf(WirespecEmitter).zj = withLogging_4;
5277
+ protoOf(WirespecEmitter).bk = withLogging_5;
5278
+ protoOf(WirespecEmitter).ck = withLogging_6;
5279
+ protoOf(WirespecEmitter).ek = withLogging_7;
5280
+ protoOf(WsTypeDef).xl = name;
5281
+ protoOf(WsEnumTypeDef).xl = name;
5282
+ protoOf(WsRefinedTypeDef).xl = name;
5283
+ protoOf(WhiteSpaceExceptNewLine).xl = name;
5284
+ protoOf(NewLine).xl = name;
5285
+ protoOf(LeftCurly).xl = name;
5286
+ protoOf(Colon).xl = name;
5287
+ protoOf(Comma).xl = name;
5288
+ protoOf(QuestionMark).xl = name;
5289
+ protoOf(Brackets).xl = name;
5290
+ protoOf(WsString).xl = name;
5291
+ protoOf(WsInteger).xl = name;
5292
+ protoOf(WsBoolean).xl = name;
5293
+ protoOf(RightCurly).xl = name;
5294
+ protoOf(CustomValue).xl = name;
5295
+ protoOf(CustomType).xl = name;
5296
+ protoOf(CustomRegex).xl = name;
5297
+ protoOf(Invalid).xl = name;
5298
+ protoOf(EndOfProgram).xl = name;
5241
5299
  //endregion
5242
5300
  //region block: init
5243
5301
  DEFAULT_PACKAGE_NAME = 'community.flock.wirespec.generated';