@flock/wirespec 0.22.5 → 0.22.7

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 (49) hide show
  1. package/arrow-arrow-atomic.mjs +11 -11
  2. package/arrow-arrow-core.mjs +157 -157
  3. package/clikt-clikt-mordant.mjs +80 -80
  4. package/clikt-clikt.mjs +1528 -1527
  5. package/clikt-clikt.mjs.map +1 -1
  6. package/colormath-root-colormath.mjs +444 -444
  7. package/kotlin-kotlin-stdlib.mjs +1780 -1757
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  9. package/kotlin-openapi-bindings.mjs +10202 -10202
  10. package/kotlin-rgxgen.mjs +1812 -1812
  11. package/kotlinx-io-kotlinx-io-core.mjs +435 -435
  12. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1848 -1848
  13. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1576 -1576
  14. package/mordant-mordant.mjs +1322 -1322
  15. package/package.json +1 -1
  16. package/wirespec-src-compiler-core.mjs +7497 -7034
  17. package/wirespec-src-compiler-core.mjs.map +1 -1
  18. package/wirespec-src-compiler-emitters-java.mjs +198 -214
  19. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-kotlin.mjs +164 -175
  21. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  22. package/wirespec-src-compiler-emitters-python.mjs +185 -198
  23. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  24. package/wirespec-src-compiler-emitters-rust.mjs +425 -439
  25. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-scala.mjs +197 -207
  27. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-typescript.mjs +234 -360
  29. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-wirespec.mjs +179 -199
  31. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  32. package/wirespec-src-compiler-lib.mjs +282 -282
  33. package/wirespec-src-converter-asyncapi.mjs +861 -779
  34. package/wirespec-src-converter-asyncapi.mjs.map +1 -1
  35. package/wirespec-src-converter-avro.mjs +603 -602
  36. package/wirespec-src-converter-avro.mjs.map +1 -1
  37. package/wirespec-src-converter-common.mjs +18 -18
  38. package/wirespec-src-converter-graphql.mjs +1070 -1070
  39. package/wirespec-src-converter-openapi.mjs +792 -680
  40. package/wirespec-src-converter-openapi.mjs.map +1 -1
  41. package/wirespec-src-ide-lsp.mjs +1383 -1383
  42. package/wirespec-src-plugin-arguments.mjs +207 -201
  43. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  44. package/wirespec-src-plugin-cli.mjs +156 -159
  45. package/wirespec-src-plugin-cli.mjs.map +1 -1
  46. package/wirespec-src-plugin-extensions.mjs +1828 -1275
  47. package/wirespec-src-plugin-extensions.mjs.map +1 -1
  48. package/wirespec-src-plugin-npm.mjs +54 -54
  49. package/wirespec-src-tools-generator.mjs +32 -32
@@ -58,10 +58,10 @@ initMetadataForCompanion(Companion_3);
58
58
  initMetadataForClass(NonEmptySet, 'NonEmptySet', VOID, VOID, [KtSet, Collection]);
59
59
  function bind(_this__u8e3s4) {
60
60
  if (_this__u8e3s4 instanceof Left) {
61
- this.gn(_this__u8e3s4.sm_1);
61
+ this.hn(_this__u8e3s4.tm_1);
62
62
  } else {
63
63
  if (_this__u8e3s4 instanceof Right)
64
- return _this__u8e3s4.um_1;
64
+ return _this__u8e3s4.vm_1;
65
65
  else {
66
66
  noWhenBranchMatchedException();
67
67
  }
@@ -76,7 +76,7 @@ function bindAll(_this__u8e3s4) {
76
76
  var _iterator__ex2g4s = this_0.t();
77
77
  while (_iterator__ex2g4s.u()) {
78
78
  var item = _iterator__ex2g4s.v();
79
- var tmp$ret$3 = this.kn(item);
79
+ var tmp$ret$3 = this.ln(item);
80
80
  destination.x(tmp$ret$3);
81
81
  }
82
82
  return _NonEmptyList___init__impl__fxd0xp(destination);
@@ -90,7 +90,7 @@ initMetadataForClass(Value, 'Value');
90
90
  initMetadataForClass(Error_0, 'Error', VOID, Value);
91
91
  initMetadataForClass(Ok, 'Ok', VOID, Value);
92
92
  function get_hasAccumulatedErrors() {
93
- return !(this.fn() == null);
93
+ return !(this.gn() == null);
94
94
  }
95
95
  initMetadataForInterface(Accumulate, 'Accumulate');
96
96
  initMetadataForClass(RaiseAccumulate, 'RaiseAccumulate', VOID, VOID, [Accumulate, Raise], [1]);
@@ -105,7 +105,7 @@ function Companion_getInstance() {
105
105
  }
106
106
  function Companion_0() {
107
107
  Companion_instance_0 = this;
108
- this.rm_1 = new Right(Unit_instance);
108
+ this.sm_1 = new Right(Unit_instance);
109
109
  }
110
110
  var Companion_instance_0;
111
111
  function Companion_getInstance_0() {
@@ -115,40 +115,40 @@ function Companion_getInstance_0() {
115
115
  }
116
116
  function Left(value) {
117
117
  Either.call(this);
118
- this.sm_1 = value;
118
+ this.tm_1 = value;
119
119
  }
120
120
  protoOf(Left).toString = function () {
121
- return 'Either.Left(' + toString(this.sm_1) + ')';
121
+ return 'Either.Left(' + toString(this.tm_1) + ')';
122
122
  };
123
123
  protoOf(Left).hashCode = function () {
124
- return this.sm_1 == null ? 0 : hashCode(this.sm_1);
124
+ return this.tm_1 == null ? 0 : hashCode(this.tm_1);
125
125
  };
126
126
  protoOf(Left).equals = function (other) {
127
127
  if (this === other)
128
128
  return true;
129
129
  if (!(other instanceof Left))
130
130
  return false;
131
- if (!equals(this.sm_1, other.sm_1))
131
+ if (!equals(this.tm_1, other.tm_1))
132
132
  return false;
133
133
  return true;
134
134
  };
135
135
  function Right(value) {
136
136
  Companion_getInstance_0();
137
137
  Either.call(this);
138
- this.um_1 = value;
138
+ this.vm_1 = value;
139
139
  }
140
140
  protoOf(Right).toString = function () {
141
- return 'Either.Right(' + toString(this.um_1) + ')';
141
+ return 'Either.Right(' + toString(this.vm_1) + ')';
142
142
  };
143
143
  protoOf(Right).hashCode = function () {
144
- return this.um_1 == null ? 0 : hashCode(this.um_1);
144
+ return this.vm_1 == null ? 0 : hashCode(this.vm_1);
145
145
  };
146
146
  protoOf(Right).equals = function (other) {
147
147
  if (this === other)
148
148
  return true;
149
149
  if (!(other instanceof Right))
150
150
  return false;
151
- if (!equals(this.um_1, other.um_1))
151
+ if (!equals(this.vm_1, other.vm_1))
152
152
  return false;
153
153
  return true;
154
154
  };
@@ -160,15 +160,15 @@ function Companion_getInstance_1() {
160
160
  }
161
161
  function Either() {
162
162
  }
163
- protoOf(Either).tm = function () {
163
+ protoOf(Either).um = function () {
164
164
  // Inline function 'arrow.core.getOrElse' call
165
165
  var tmp;
166
166
  if (this instanceof Left) {
167
- this.sm_1;
167
+ this.tm_1;
168
168
  tmp = null;
169
169
  } else {
170
170
  if (this instanceof Right) {
171
- tmp = this.um_1;
171
+ tmp = this.vm_1;
172
172
  } else {
173
173
  noWhenBranchMatchedException();
174
174
  }
@@ -179,11 +179,11 @@ protoOf(Either).toString = function () {
179
179
  // Inline function 'arrow.core.Either.fold' call
180
180
  var tmp;
181
181
  if (this instanceof Right) {
182
- var it = this.um_1;
182
+ var it = this.vm_1;
183
183
  tmp = 'Either.Right(' + toString(it) + ')';
184
184
  } else {
185
185
  if (this instanceof Left) {
186
- var it_0 = this.sm_1;
186
+ var it_0 = this.tm_1;
187
187
  tmp = 'Either.Left(' + toString(it_0) + ')';
188
188
  } else {
189
189
  noWhenBranchMatchedException();
@@ -238,27 +238,27 @@ function flattenOrAccumulate(_this__u8e3s4) {
238
238
  try {
239
239
  var tmp_2 = tolerant(this_1, raise_0);
240
240
  var $this$accumulating = new RaiseAccumulate(tmp_2, raise_1, flattenOrAccumulate$lambda(raise_1));
241
- var hasErrors = $this$accumulating.ym();
241
+ var hasErrors = $this$accumulating.zm();
242
242
  // Inline function 'kotlin.also' call
243
- var this_2 = $this$accumulating.zm(element);
243
+ var this_2 = $this$accumulating.an(element);
244
244
  if (!hasErrors) {
245
245
  this_0.x(this_2);
246
246
  }
247
247
  var res = new Ok(Unit_instance);
248
- raise_1.cn();
248
+ raise_1.dn();
249
249
  // Inline function 'arrow.core.identity' call
250
250
  tmp_1 = res;
251
251
  } catch ($p) {
252
252
  var tmp_3;
253
253
  if ($p instanceof RaiseCancellationException) {
254
254
  var e = $p;
255
- raise_1.cn();
256
- var p0 = raisedOrRethrow(e, raise_1).dn_1;
257
- tmp_3 = this_1.en(p0);
255
+ raise_1.dn();
256
+ var p0 = raisedOrRethrow(e, raise_1).en_1;
257
+ tmp_3 = this_1.fn(p0);
258
258
  } else {
259
259
  if ($p instanceof Error) {
260
260
  var e_0 = $p;
261
- raise_1.cn();
261
+ raise_1.dn();
262
262
  throw nonFatalOrThrow(e_0);
263
263
  } else {
264
264
  throw $p;
@@ -267,20 +267,20 @@ function flattenOrAccumulate(_this__u8e3s4) {
267
267
  tmp_1 = tmp_3;
268
268
  }
269
269
  var res_0 = tmp_1;
270
- raise_0.cn();
270
+ raise_0.dn();
271
271
  // Inline function 'arrow.core.identity' call
272
272
  tmp_0 = res_0;
273
273
  } catch ($p) {
274
274
  var tmp_4;
275
275
  if ($p instanceof RaiseCancellationException) {
276
276
  var e_1 = $p;
277
- raise_0.cn();
277
+ raise_0.dn();
278
278
  // Inline function 'arrow.core.identity' call
279
279
  tmp_4 = raisedOrRethrow(e_1, raise_0);
280
280
  } else {
281
281
  if ($p instanceof Error) {
282
282
  var e_2 = $p;
283
- raise_0.cn();
283
+ raise_0.dn();
284
284
  throw nonFatalOrThrow(e_2);
285
285
  } else {
286
286
  throw $p;
@@ -290,8 +290,8 @@ function flattenOrAccumulate(_this__u8e3s4) {
290
290
  }
291
291
  }
292
292
  var result = Unit_instance;
293
- if ($this$with.ym()) {
294
- var tmp0_safe_receiver = $this$with.fn();
293
+ if ($this$with.zm()) {
294
+ var tmp0_safe_receiver = $this$with.gn();
295
295
  if (tmp0_safe_receiver == null)
296
296
  null;
297
297
  else {
@@ -299,20 +299,20 @@ function flattenOrAccumulate(_this__u8e3s4) {
299
299
  throwKotlinNothingValueException();
300
300
  }
301
301
  }
302
- var res_1 = this_0.q5();
303
- raise.cn();
302
+ var res_1 = this_0.r5();
303
+ raise.dn();
304
304
  tmp = new Right(res_1);
305
305
  } catch ($p) {
306
306
  var tmp_5;
307
307
  if ($p instanceof RaiseCancellationException) {
308
308
  var e_3 = $p;
309
- raise.cn();
309
+ raise.dn();
310
310
  var it = raisedOrRethrow(e_3, raise);
311
311
  tmp_5 = new Left(it);
312
312
  } else {
313
313
  if ($p instanceof Error) {
314
314
  var e_4 = $p;
315
- raise.cn();
315
+ raise.dn();
316
316
  throw nonFatalOrThrow(e_4);
317
317
  } else {
318
318
  throw $p;
@@ -325,7 +325,7 @@ function flattenOrAccumulate(_this__u8e3s4) {
325
325
  function collectionSizeOrDefault_0(_this__u8e3s4, default_0) {
326
326
  var tmp;
327
327
  if (isInterface(_this__u8e3s4, Collection)) {
328
- tmp = _this__u8e3s4.b1();
328
+ tmp = _this__u8e3s4.c1();
329
329
  } else {
330
330
  tmp = default_0;
331
331
  }
@@ -335,7 +335,7 @@ function flattenOrAccumulate$lambda($$this$recover) {
335
335
  return function (it) {
336
336
  // Inline function 'arrow.core.nel' call
337
337
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
338
- $$this$recover.gn(new NonEmptyList(tmp$ret$0));
338
+ $$this$recover.hn(new NonEmptyList(tmp$ret$0));
339
339
  };
340
340
  }
341
341
  function _NonEmptyList___init__impl__fxd0xp(all) {
@@ -350,7 +350,7 @@ function _NonEmptyList___init__impl__fxd0xp_0(head, tail) {
350
350
  function NonEmptyList__equals_impl_crn5lc($this, other) {
351
351
  var tmp;
352
352
  if (other instanceof NonEmptyList) {
353
- tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.dn_1));
353
+ tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.en_1));
354
354
  } else {
355
355
  tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), other);
356
356
  }
@@ -369,7 +369,7 @@ function _NonEmptyList___get_head__impl__q9oenq($this) {
369
369
  return first(_NonEmptyList___get_all__impl__pmf509($this));
370
370
  }
371
371
  function _NonEmptyList___get_tail__impl__t91bd2($this) {
372
- return _NonEmptyList___get_all__impl__pmf509($this).p2(1, _NonEmptyList___get_all__impl__pmf509($this).b1());
372
+ return _NonEmptyList___get_all__impl__pmf509($this).q2(1, _NonEmptyList___get_all__impl__pmf509($this).c1());
373
373
  }
374
374
  function NonEmptyList__plus_impl_xqmb9($this, elements) {
375
375
  return _NonEmptyList___init__impl__fxd0xp(plus(_NonEmptyList___get_all__impl__pmf509($this), elements));
@@ -382,7 +382,7 @@ function NonEmptyList__toString_impl_ozxm8z($this) {
382
382
  }
383
383
  function Companion_2() {
384
384
  Companion_instance_2 = this;
385
- this.hn_1 = nonEmptyListOf(Unit_instance, []);
385
+ this.in_1 = nonEmptyListOf(Unit_instance, []);
386
386
  }
387
387
  var Companion_instance_2;
388
388
  function Companion_getInstance_2() {
@@ -397,10 +397,10 @@ function NonEmptyList__iterator_impl_kgqsin($this) {
397
397
  return $this.t();
398
398
  }
399
399
  function NonEmptyList__containsAll_impl_vy4kax($this, elements) {
400
- return $this.o2(elements);
400
+ return $this.p2(elements);
401
401
  }
402
402
  function NonEmptyList__get_impl_oqktx($this, index) {
403
- return $this.c1(index);
403
+ return $this.b1(index);
404
404
  }
405
405
  function NonEmptyList__indexOf_impl_lnwyla($this, element) {
406
406
  return $this.j1(element);
@@ -409,50 +409,50 @@ function NonEmptyList__listIterator_impl_8vm28t($this, index) {
409
409
  return $this.h1(index);
410
410
  }
411
411
  function NonEmptyList__subList_impl_8uxff1($this, fromIndex, toIndex) {
412
- return $this.p2(fromIndex, toIndex);
412
+ return $this.q2(fromIndex, toIndex);
413
413
  }
414
414
  function _NonEmptyList___get_size__impl__xcrchh($this) {
415
- return $this.b1();
415
+ return $this.c1();
416
416
  }
417
417
  function NonEmptyList(all) {
418
418
  Companion_getInstance_2();
419
- this.dn_1 = all;
419
+ this.en_1 = all;
420
420
  }
421
421
  protoOf(NonEmptyList).equals = function (other) {
422
- return NonEmptyList__equals_impl_crn5lc(this.dn_1, other);
422
+ return NonEmptyList__equals_impl_crn5lc(this.en_1, other);
423
423
  };
424
424
  protoOf(NonEmptyList).hashCode = function () {
425
- return NonEmptyList__hashCode_impl_38rpg4(this.dn_1);
425
+ return NonEmptyList__hashCode_impl_38rpg4(this.en_1);
426
426
  };
427
427
  protoOf(NonEmptyList).r = function () {
428
- return NonEmptyList__isEmpty_impl_cueu5k(this.dn_1);
428
+ return NonEmptyList__isEmpty_impl_cueu5k(this.en_1);
429
429
  };
430
430
  protoOf(NonEmptyList).toString = function () {
431
- return NonEmptyList__toString_impl_ozxm8z(this.dn_1);
431
+ return NonEmptyList__toString_impl_ozxm8z(this.en_1);
432
432
  };
433
433
  protoOf(NonEmptyList).i1 = function (element) {
434
- return NonEmptyList__contains_impl_w1668g(this.dn_1, element);
434
+ return NonEmptyList__contains_impl_w1668g(this.en_1, element);
435
435
  };
436
436
  protoOf(NonEmptyList).t = function () {
437
- return NonEmptyList__iterator_impl_kgqsin(this.dn_1);
437
+ return NonEmptyList__iterator_impl_kgqsin(this.en_1);
438
438
  };
439
- protoOf(NonEmptyList).o2 = function (elements) {
440
- return NonEmptyList__containsAll_impl_vy4kax(this.dn_1, elements);
439
+ protoOf(NonEmptyList).p2 = function (elements) {
440
+ return NonEmptyList__containsAll_impl_vy4kax(this.en_1, elements);
441
441
  };
442
- protoOf(NonEmptyList).c1 = function (index) {
443
- return NonEmptyList__get_impl_oqktx(this.dn_1, index);
442
+ protoOf(NonEmptyList).b1 = function (index) {
443
+ return NonEmptyList__get_impl_oqktx(this.en_1, index);
444
444
  };
445
445
  protoOf(NonEmptyList).j1 = function (element) {
446
- return NonEmptyList__indexOf_impl_lnwyla(this.dn_1, element);
446
+ return NonEmptyList__indexOf_impl_lnwyla(this.en_1, element);
447
447
  };
448
448
  protoOf(NonEmptyList).h1 = function (index) {
449
- return NonEmptyList__listIterator_impl_8vm28t(this.dn_1, index);
449
+ return NonEmptyList__listIterator_impl_8vm28t(this.en_1, index);
450
450
  };
451
- protoOf(NonEmptyList).p2 = function (fromIndex, toIndex) {
452
- return NonEmptyList__subList_impl_8uxff1(this.dn_1, fromIndex, toIndex);
451
+ protoOf(NonEmptyList).q2 = function (fromIndex, toIndex) {
452
+ return NonEmptyList__subList_impl_8uxff1(this.en_1, fromIndex, toIndex);
453
453
  };
454
- protoOf(NonEmptyList).b1 = function () {
455
- return _NonEmptyList___get_size__impl__xcrchh(this.dn_1);
454
+ protoOf(NonEmptyList).c1 = function () {
455
+ return _NonEmptyList___get_size__impl__xcrchh(this.en_1);
456
456
  };
457
457
  function nonEmptyListOf(head, t) {
458
458
  return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
@@ -522,37 +522,37 @@ function NonEmptySet__iterator_impl_b1bvkz($this) {
522
522
  return $this.t();
523
523
  }
524
524
  function NonEmptySet__containsAll_impl_kivnxv($this, elements) {
525
- return $this.o2(elements);
525
+ return $this.p2(elements);
526
526
  }
527
527
  function _NonEmptySet___get_size__impl__tvkxr($this) {
528
- return $this.b1();
528
+ return $this.c1();
529
529
  }
530
530
  function NonEmptySet(elements) {
531
- this.in_1 = elements;
531
+ this.jn_1 = elements;
532
532
  }
533
533
  protoOf(NonEmptySet).r = function () {
534
- return NonEmptySet__isEmpty_impl_56jel0(this.in_1);
534
+ return NonEmptySet__isEmpty_impl_56jel0(this.jn_1);
535
535
  };
536
536
  protoOf(NonEmptySet).toString = function () {
537
- return NonEmptySet__toString_impl_yfcj6n(this.in_1);
537
+ return NonEmptySet__toString_impl_yfcj6n(this.jn_1);
538
538
  };
539
539
  protoOf(NonEmptySet).equals = function (other) {
540
- return NonEmptySet__equals_impl_2ou2p8(this.in_1, other);
540
+ return NonEmptySet__equals_impl_2ou2p8(this.jn_1, other);
541
541
  };
542
542
  protoOf(NonEmptySet).hashCode = function () {
543
- return NonEmptySet__hashCode_impl_co6mds(this.in_1);
543
+ return NonEmptySet__hashCode_impl_co6mds(this.jn_1);
544
544
  };
545
545
  protoOf(NonEmptySet).i1 = function (element) {
546
- return NonEmptySet__contains_impl_tkiyt0(this.in_1, element);
546
+ return NonEmptySet__contains_impl_tkiyt0(this.jn_1, element);
547
547
  };
548
548
  protoOf(NonEmptySet).t = function () {
549
- return NonEmptySet__iterator_impl_b1bvkz(this.in_1);
549
+ return NonEmptySet__iterator_impl_b1bvkz(this.jn_1);
550
550
  };
551
- protoOf(NonEmptySet).o2 = function (elements) {
552
- return NonEmptySet__containsAll_impl_kivnxv(this.in_1, elements);
551
+ protoOf(NonEmptySet).p2 = function (elements) {
552
+ return NonEmptySet__containsAll_impl_kivnxv(this.jn_1, elements);
553
553
  };
554
- protoOf(NonEmptySet).b1 = function () {
555
- return _NonEmptySet___get_size__impl__tvkxr(this.in_1);
554
+ protoOf(NonEmptySet).c1 = function () {
555
+ return _NonEmptySet___get_size__impl__tvkxr(this.jn_1);
556
556
  };
557
557
  function nonEmptySetOf(first, rest) {
558
558
  return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
@@ -564,33 +564,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
564
564
  return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
565
565
  }
566
566
  function DefaultRaise(isTraced) {
567
- this.an_1 = isTraced;
568
- this.bn_1 = new AtomicBoolean(true);
567
+ this.bn_1 = isTraced;
568
+ this.cn_1 = new AtomicBoolean(true);
569
569
  }
570
- protoOf(DefaultRaise).cn = function () {
571
- return this.bn_1.nm(false);
570
+ protoOf(DefaultRaise).dn = function () {
571
+ return this.cn_1.om(false);
572
572
  };
573
- protoOf(DefaultRaise).jn = function (r) {
573
+ protoOf(DefaultRaise).kn = function (r) {
574
574
  var tmp;
575
- if (this.bn_1.o1()) {
576
- throw this.an_1 ? new Traced(r, this) : NoTrace(r, this);
575
+ if (this.cn_1.o1()) {
576
+ throw this.bn_1 ? new Traced(r, this) : NoTrace(r, this);
577
577
  } else {
578
578
  throw new RaiseLeakedException();
579
579
  }
580
580
  };
581
- protoOf(DefaultRaise).gn = function (r) {
582
- return this.jn(r);
581
+ protoOf(DefaultRaise).hn = function (r) {
582
+ return this.kn(r);
583
583
  };
584
584
  function raisedOrRethrow(_this__u8e3s4, raise) {
585
585
  var tmp;
586
586
  var tmp_0;
587
587
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
588
- tmp_0 = _this__u8e3s4.on() === raise;
588
+ tmp_0 = _this__u8e3s4.pn() === raise;
589
589
  } else {
590
590
  tmp_0 = false;
591
591
  }
592
592
  if (tmp_0) {
593
- tmp = _this__u8e3s4.pn();
593
+ tmp = _this__u8e3s4.qn();
594
594
  } else {
595
595
  throw _this__u8e3s4;
596
596
  }
@@ -600,11 +600,11 @@ function Traced(raised, raise, cause) {
600
600
  cause = cause === VOID ? null : cause;
601
601
  RaiseCancellationException.call(this, raised, raise);
602
602
  captureStack(this, Traced);
603
- this.sn_1 = cause;
603
+ this.tn_1 = cause;
604
604
  delete this.cause;
605
605
  }
606
606
  protoOf(Traced).f = function () {
607
- return this.sn_1;
607
+ return this.tn_1;
608
608
  };
609
609
  function RaiseLeakedException() {
610
610
  IllegalStateException_init_$Init$("'raise' or 'bind' was leaked outside of its context scope.\nMake sure all calls to 'raise' and 'bind' occur within the lifecycle of nullable { }, either { } or similar builders.\n\nSee Arrow documentation on 'Typed errors' for further information.", this);
@@ -627,22 +627,22 @@ function Value() {
627
627
  }
628
628
  function Error_0(raise) {
629
629
  Value.call(this);
630
- this.tn_1 = raise;
630
+ this.un_1 = raise;
631
631
  }
632
632
  protoOf(Error_0).o1 = function () {
633
- this.tn_1();
633
+ this.un_1();
634
634
  return throwKotlinNothingValueException();
635
635
  };
636
636
  function Ok(value) {
637
637
  Value.call(this);
638
- this.un_1 = value;
638
+ this.vn_1 = value;
639
639
  }
640
640
  protoOf(Ok).o1 = function () {
641
- return this.un_1;
641
+ return this.vn_1;
642
642
  };
643
643
  function ListAccumulate$raiseSingle$ref(p0) {
644
644
  var l = function (_this__u8e3s4) {
645
- p0.yn(_this__u8e3s4);
645
+ p0.zn(_this__u8e3s4);
646
646
  };
647
647
  l.callableName = 'raiseSingle';
648
648
  return l;
@@ -651,22 +651,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
651
651
  return function (it) {
652
652
  // Inline function 'arrow.core.nel' call
653
653
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
654
- $$this$recover.gn(new NonEmptyList(tmp$ret$0));
654
+ $$this$recover.hn(new NonEmptyList(tmp$ret$0));
655
655
  };
656
656
  }
657
657
  function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
658
- this.vm_1 = accumulate;
659
- this.wm_1 = raise;
660
- this.xm_1 = raiseErrorsWith;
658
+ this.wm_1 = accumulate;
659
+ this.xm_1 = raise;
660
+ this.ym_1 = raiseErrorsWith;
661
661
  }
662
- protoOf(RaiseAccumulate).gn = function (r) {
663
- this.xm_1(r);
662
+ protoOf(RaiseAccumulate).hn = function (r) {
663
+ this.ym_1(r);
664
664
  return throwKotlinNothingValueException();
665
665
  };
666
- protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
666
+ protoOf(RaiseAccumulate).mn = function (_this__u8e3s4) {
667
667
  // Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
668
668
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
669
- var tmp0 = this.wm_1;
669
+ var tmp0 = this.xm_1;
670
670
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
671
671
  var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
672
672
  // Inline function 'kotlin.collections.buildList' call
@@ -701,27 +701,27 @@ protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
701
701
  try {
702
702
  var tmp_1 = tolerant(this_1, raise);
703
703
  var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
704
- var hasErrors = $this$accumulating.ym();
704
+ var hasErrors = $this$accumulating.zm();
705
705
  // Inline function 'kotlin.also' call
706
- var this_2 = $this$accumulating.kn(element);
706
+ var this_2 = $this$accumulating.ln(element);
707
707
  if (!hasErrors) {
708
708
  this_0.x(this_2);
709
709
  }
710
710
  var res = new Ok(Unit_instance);
711
- raise_0.cn();
711
+ raise_0.dn();
712
712
  // Inline function 'arrow.core.identity' call
713
713
  tmp_0 = res;
714
714
  } catch ($p) {
715
715
  var tmp_2;
716
716
  if ($p instanceof RaiseCancellationException) {
717
717
  var e = $p;
718
- raise_0.cn();
719
- var p0 = raisedOrRethrow(e, raise_0).dn_1;
720
- tmp_2 = this_1.en(p0);
718
+ raise_0.dn();
719
+ var p0 = raisedOrRethrow(e, raise_0).en_1;
720
+ tmp_2 = this_1.fn(p0);
721
721
  } else {
722
722
  if ($p instanceof Error) {
723
723
  var e_0 = $p;
724
- raise_0.cn();
724
+ raise_0.dn();
725
725
  throw nonFatalOrThrow(e_0);
726
726
  } else {
727
727
  throw $p;
@@ -730,20 +730,20 @@ protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
730
730
  tmp_0 = tmp_2;
731
731
  }
732
732
  var res_0 = tmp_0;
733
- raise.cn();
733
+ raise.dn();
734
734
  // Inline function 'arrow.core.identity' call
735
735
  tmp = res_0;
736
736
  } catch ($p) {
737
737
  var tmp_3;
738
738
  if ($p instanceof RaiseCancellationException) {
739
739
  var e_1 = $p;
740
- raise.cn();
740
+ raise.dn();
741
741
  // Inline function 'arrow.core.identity' call
742
742
  tmp_3 = raisedOrRethrow(e_1, raise);
743
743
  } else {
744
744
  if ($p instanceof Error) {
745
745
  var e_2 = $p;
746
- raise.cn();
746
+ raise.dn();
747
747
  throw nonFatalOrThrow(e_2);
748
748
  } else {
749
749
  throw $p;
@@ -753,8 +753,8 @@ protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
753
753
  }
754
754
  }
755
755
  var result = Unit_instance;
756
- if ($this$with.ym()) {
757
- var tmp0_safe_receiver = $this$with.fn();
756
+ if ($this$with.zm()) {
757
+ var tmp0_safe_receiver = $this$with.gn();
758
758
  if (tmp0_safe_receiver == null)
759
759
  null;
760
760
  else {
@@ -763,56 +763,56 @@ protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
763
763
  }
764
764
  }
765
765
  // Inline function 'kotlin.let' call
766
- var p0_0 = this_0.q5();
766
+ var p0_0 = this_0.r5();
767
767
  return _NonEmptyList___init__impl__fxd0xp(p0_0);
768
768
  };
769
- protoOf(RaiseAccumulate).zm = function (_this__u8e3s4) {
769
+ protoOf(RaiseAccumulate).an = function (_this__u8e3s4) {
770
770
  // Inline function 'kotlin.with' call
771
- return this.wm_1.kn(_this__u8e3s4);
771
+ return this.xm_1.ln(_this__u8e3s4);
772
772
  };
773
- protoOf(RaiseAccumulate).en = function (errors) {
774
- return this.vm_1.en(errors);
773
+ protoOf(RaiseAccumulate).fn = function (errors) {
774
+ return this.wm_1.fn(errors);
775
775
  };
776
- protoOf(RaiseAccumulate).ym = function () {
777
- return this.vm_1.ym();
776
+ protoOf(RaiseAccumulate).zm = function () {
777
+ return this.wm_1.zm();
778
778
  };
779
- protoOf(RaiseAccumulate).fn = function () {
780
- return this.vm_1.fn();
779
+ protoOf(RaiseAccumulate).gn = function () {
780
+ return this.wm_1.gn();
781
781
  };
782
782
  function Accumulate() {
783
783
  }
784
784
  function ListAccumulate$error$lambda(this$0) {
785
785
  return function () {
786
- this$0.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.wn_1)));
786
+ this$0.wn_1.hn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.xn_1)));
787
787
  };
788
788
  }
789
789
  function ListAccumulate(raise) {
790
- this.vn_1 = raise;
790
+ this.wn_1 = raise;
791
791
  var tmp = this;
792
792
  // Inline function 'kotlin.collections.mutableListOf' call
793
- tmp.wn_1 = ArrayList_init_$Create$_0();
793
+ tmp.xn_1 = ArrayList_init_$Create$_0();
794
794
  var tmp_0 = this;
795
- tmp_0.xn_1 = new Error_0(ListAccumulate$error$lambda(this));
795
+ tmp_0.yn_1 = new Error_0(ListAccumulate$error$lambda(this));
796
796
  }
797
- protoOf(ListAccumulate).yn = function (r) {
798
- this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.wn_1, r))));
799
- };
800
797
  protoOf(ListAccumulate).zn = function (r) {
801
- this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.wn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
798
+ this.wn_1.hn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.xn_1, r))));
799
+ };
800
+ protoOf(ListAccumulate).ao = function (r) {
801
+ this.wn_1.hn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.xn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
802
802
  };
803
- protoOf(ListAccumulate).gn = function (r) {
804
- return this.zn(r instanceof NonEmptyList ? r.dn_1 : THROW_CCE());
803
+ protoOf(ListAccumulate).hn = function (r) {
804
+ return this.ao(r instanceof NonEmptyList ? r.en_1 : THROW_CCE());
805
805
  };
806
- protoOf(ListAccumulate).en = function (errors) {
807
- this.wn_1.g1(new NonEmptyList(errors));
808
- return this.xn_1;
806
+ protoOf(ListAccumulate).fn = function (errors) {
807
+ this.xn_1.g1(new NonEmptyList(errors));
808
+ return this.yn_1;
809
809
  };
810
- protoOf(ListAccumulate).fn = function () {
810
+ protoOf(ListAccumulate).gn = function () {
811
811
  // Inline function 'kotlin.takeIf' call
812
- var this_0 = this.xn_1;
812
+ var this_0 = this.yn_1;
813
813
  var tmp;
814
814
  // Inline function 'kotlin.collections.isNotEmpty' call
815
- if (!this.wn_1.r()) {
815
+ if (!this.xn_1.r()) {
816
816
  tmp = this_0;
817
817
  } else {
818
818
  tmp = null;
@@ -824,24 +824,24 @@ function tolerant(_this__u8e3s4, raise) {
824
824
  }
825
825
  function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
826
826
  return function () {
827
- this$0.bo_1.gn($error);
827
+ this$0.co_1.hn($error);
828
828
  };
829
829
  }
830
830
  function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
831
831
  return function () {
832
- this$0.bo_1.gn($error);
832
+ this$0.co_1.hn($error);
833
833
  };
834
834
  }
835
835
  function TolerantAccumulate(underlying, raise) {
836
- this.ao_1 = underlying;
837
- this.bo_1 = raise;
836
+ this.bo_1 = underlying;
837
+ this.co_1 = raise;
838
838
  }
839
- protoOf(TolerantAccumulate).en = function (errors) {
840
- var error = this.ao_1.en(errors);
839
+ protoOf(TolerantAccumulate).fn = function (errors) {
840
+ var error = this.bo_1.fn(errors);
841
841
  return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
842
842
  };
843
- protoOf(TolerantAccumulate).fn = function () {
844
- var tmp0_elvis_lhs = this.ao_1.fn();
843
+ protoOf(TolerantAccumulate).gn = function () {
844
+ var tmp0_elvis_lhs = this.bo_1.gn();
845
845
  var tmp;
846
846
  if (tmp0_elvis_lhs == null) {
847
847
  return null;
@@ -874,32 +874,32 @@ function NoTrace(raised, raise) {
874
874
  function RaiseCancellationException(raised, raise) {
875
875
  CancellationException_init_$Init$("kotlin.coroutines.cancellation.CancellationException should never get swallowed. Always re-throw it if captured.This swallows the exception of Arrow's Raise, and leads to unexpected behavior.When working with Arrow prefer Either.catch or arrow.core.raise.catch to automatically rethrow CancellationException.", this);
876
876
  captureStack(this, RaiseCancellationException);
877
- this.mn_1 = raised;
878
- this.nn_1 = raise;
877
+ this.nn_1 = raised;
878
+ this.on_1 = raise;
879
879
  }
880
- protoOf(RaiseCancellationException).pn = function () {
880
+ protoOf(RaiseCancellationException).qn = function () {
881
881
  // Inline function 'kotlin.js.unsafeCast' call
882
882
  // Inline function 'kotlin.js.asDynamic' call
883
883
  var tmp1_elvis_lhs = this == null ? null : this.raised;
884
- return tmp1_elvis_lhs == null ? this.mn_1 : tmp1_elvis_lhs;
884
+ return tmp1_elvis_lhs == null ? this.nn_1 : tmp1_elvis_lhs;
885
885
  };
886
- protoOf(RaiseCancellationException).on = function () {
886
+ protoOf(RaiseCancellationException).pn = function () {
887
887
  // Inline function 'kotlin.js.unsafeCast' call
888
888
  // Inline function 'kotlin.js.asDynamic' call
889
889
  var tmp1_elvis_lhs = this == null ? null : this.raise;
890
- return tmp1_elvis_lhs == null ? this.nn_1 : tmp1_elvis_lhs;
890
+ return tmp1_elvis_lhs == null ? this.on_1 : tmp1_elvis_lhs;
891
891
  };
892
892
  //region block: post-declaration
893
- protoOf(DefaultRaise).kn = bind;
894
- protoOf(DefaultRaise).ln = bindAll;
893
+ protoOf(DefaultRaise).ln = bind;
894
+ protoOf(DefaultRaise).mn = bindAll;
895
895
  defineProp(protoOf(Traced), 'cause', function () {
896
896
  return this.f();
897
897
  });
898
- protoOf(RaiseAccumulate).kn = bind;
899
- protoOf(ListAccumulate).ym = get_hasAccumulatedErrors;
900
- protoOf(ListAccumulate).kn = bind;
901
- protoOf(ListAccumulate).ln = bindAll;
902
- protoOf(TolerantAccumulate).ym = get_hasAccumulatedErrors;
898
+ protoOf(RaiseAccumulate).ln = bind;
899
+ protoOf(ListAccumulate).zm = get_hasAccumulatedErrors;
900
+ protoOf(ListAccumulate).ln = bind;
901
+ protoOf(ListAccumulate).mn = bindAll;
902
+ protoOf(TolerantAccumulate).zm = get_hasAccumulatedErrors;
903
903
  //endregion
904
904
  //region block: init
905
905
  Companion_instance = new Companion();