@flock/wirespec 0.22.0 → 0.22.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 (50) hide show
  1. package/arrow-arrow-atomic.mjs +12 -12
  2. package/arrow-arrow-core.mjs +166 -154
  3. package/arrow-arrow-core.mjs.map +1 -1
  4. package/clikt-clikt-mordant.mjs +80 -80
  5. package/clikt-clikt.mjs +1559 -1559
  6. package/colormath-root-colormath.mjs +441 -441
  7. package/kotlin-kotlin-stdlib.mjs +2239 -1951
  8. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  9. package/kotlin-openapi-bindings.mjs +10246 -10246
  10. package/kotlin-rgxgen.mjs +1808 -1808
  11. package/kotlinx-io-kotlinx-io-core.mjs +419 -419
  12. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1868 -1868
  13. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1607 -1586
  14. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  15. package/mordant-mordant.mjs +1335 -1321
  16. package/mordant-mordant.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/wirespec-src-compiler-core.mjs +6432 -6170
  19. package/wirespec-src-compiler-core.mjs.map +1 -1
  20. package/wirespec-src-compiler-emitters-java.mjs +181 -181
  21. package/wirespec-src-compiler-emitters-kotlin.mjs +143 -143
  22. package/wirespec-src-compiler-emitters-python.mjs +179 -179
  23. package/wirespec-src-compiler-emitters-rust.mjs +423 -423
  24. package/wirespec-src-compiler-emitters-scala.mjs +176 -176
  25. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  26. package/wirespec-src-compiler-emitters-typescript.mjs +254 -255
  27. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-wirespec.mjs +361 -163
  29. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  30. package/wirespec-src-compiler-lib.mjs +937 -405
  31. package/wirespec-src-compiler-lib.mjs.map +1 -1
  32. package/wirespec-src-converter-asyncapi.mjs +5382 -0
  33. package/wirespec-src-converter-asyncapi.mjs.map +1 -0
  34. package/wirespec-src-converter-avro.mjs +1075 -508
  35. package/wirespec-src-converter-avro.mjs.map +1 -1
  36. package/wirespec-src-converter-common.mjs +20 -20
  37. package/wirespec-src-converter-common.mjs.map +1 -1
  38. package/wirespec-src-converter-graphql.mjs +6895 -0
  39. package/wirespec-src-converter-graphql.mjs.map +1 -0
  40. package/wirespec-src-converter-openapi.mjs +786 -777
  41. package/wirespec-src-converter-openapi.mjs.map +1 -1
  42. package/wirespec-src-ide-lsp.mjs +1395 -1395
  43. package/wirespec-src-plugin-arguments.mjs +204 -184
  44. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  45. package/wirespec-src-plugin-cli.mjs +111 -108
  46. package/wirespec-src-plugin-cli.mjs.map +1 -1
  47. package/wirespec-src-plugin-npm.d.mts +219 -27
  48. package/wirespec-src-plugin-npm.mjs +144 -49
  49. package/wirespec-src-plugin-npm.mjs.map +1 -1
  50. package/wirespec-src-tools-generator.mjs +35 -35
@@ -57,10 +57,10 @@ initMetadataForCompanion(Companion_3);
57
57
  initMetadataForClass(NonEmptySet, 'NonEmptySet', VOID, VOID, [KtSet, Collection]);
58
58
  function bind(_this__u8e3s4) {
59
59
  if (_this__u8e3s4 instanceof Left) {
60
- this.zm(_this__u8e3s4.lm_1);
60
+ this.gn(_this__u8e3s4.sm_1);
61
61
  } else {
62
62
  if (_this__u8e3s4 instanceof Right)
63
- return _this__u8e3s4.nm_1;
63
+ return _this__u8e3s4.um_1;
64
64
  else {
65
65
  noWhenBranchMatchedException();
66
66
  }
@@ -75,7 +75,7 @@ function bindAll(_this__u8e3s4) {
75
75
  var _iterator__ex2g4s = this_0.t();
76
76
  while (_iterator__ex2g4s.u()) {
77
77
  var item = _iterator__ex2g4s.v();
78
- var tmp$ret$3 = this.dn(item);
78
+ var tmp$ret$3 = this.kn(item);
79
79
  destination.x(tmp$ret$3);
80
80
  }
81
81
  return _NonEmptyList___init__impl__fxd0xp(destination);
@@ -89,7 +89,7 @@ initMetadataForClass(Value, 'Value');
89
89
  initMetadataForClass(Error_0, 'Error', VOID, Value);
90
90
  initMetadataForClass(Ok, 'Ok', VOID, Value);
91
91
  function get_hasAccumulatedErrors() {
92
- return !(this.ym() == null);
92
+ return !(this.fn() == null);
93
93
  }
94
94
  initMetadataForInterface(Accumulate, 'Accumulate');
95
95
  initMetadataForClass(RaiseAccumulate, 'RaiseAccumulate', VOID, VOID, [Accumulate, Raise], [1]);
@@ -104,7 +104,7 @@ function Companion_getInstance() {
104
104
  }
105
105
  function Companion_0() {
106
106
  Companion_instance_0 = this;
107
- this.km_1 = new Right(Unit_instance);
107
+ this.rm_1 = new Right(Unit_instance);
108
108
  }
109
109
  var Companion_instance_0;
110
110
  function Companion_getInstance_0() {
@@ -114,40 +114,40 @@ function Companion_getInstance_0() {
114
114
  }
115
115
  function Left(value) {
116
116
  Either.call(this);
117
- this.lm_1 = value;
117
+ this.sm_1 = value;
118
118
  }
119
119
  protoOf(Left).toString = function () {
120
- return 'Either.Left(' + toString(this.lm_1) + ')';
120
+ return 'Either.Left(' + toString(this.sm_1) + ')';
121
121
  };
122
122
  protoOf(Left).hashCode = function () {
123
- return this.lm_1 == null ? 0 : hashCode(this.lm_1);
123
+ return this.sm_1 == null ? 0 : hashCode(this.sm_1);
124
124
  };
125
125
  protoOf(Left).equals = function (other) {
126
126
  if (this === other)
127
127
  return true;
128
128
  if (!(other instanceof Left))
129
129
  return false;
130
- if (!equals(this.lm_1, other.lm_1))
130
+ if (!equals(this.sm_1, other.sm_1))
131
131
  return false;
132
132
  return true;
133
133
  };
134
134
  function Right(value) {
135
135
  Companion_getInstance_0();
136
136
  Either.call(this);
137
- this.nm_1 = value;
137
+ this.um_1 = value;
138
138
  }
139
139
  protoOf(Right).toString = function () {
140
- return 'Either.Right(' + toString(this.nm_1) + ')';
140
+ return 'Either.Right(' + toString(this.um_1) + ')';
141
141
  };
142
142
  protoOf(Right).hashCode = function () {
143
- return this.nm_1 == null ? 0 : hashCode(this.nm_1);
143
+ return this.um_1 == null ? 0 : hashCode(this.um_1);
144
144
  };
145
145
  protoOf(Right).equals = function (other) {
146
146
  if (this === other)
147
147
  return true;
148
148
  if (!(other instanceof Right))
149
149
  return false;
150
- if (!equals(this.nm_1, other.nm_1))
150
+ if (!equals(this.um_1, other.um_1))
151
151
  return false;
152
152
  return true;
153
153
  };
@@ -159,15 +159,15 @@ function Companion_getInstance_1() {
159
159
  }
160
160
  function Either() {
161
161
  }
162
- protoOf(Either).mm = function () {
162
+ protoOf(Either).tm = function () {
163
163
  // Inline function 'arrow.core.getOrElse' call
164
164
  var tmp;
165
165
  if (this instanceof Left) {
166
- this.lm_1;
166
+ this.sm_1;
167
167
  tmp = null;
168
168
  } else {
169
169
  if (this instanceof Right) {
170
- tmp = this.nm_1;
170
+ tmp = this.um_1;
171
171
  } else {
172
172
  noWhenBranchMatchedException();
173
173
  }
@@ -178,11 +178,11 @@ protoOf(Either).toString = function () {
178
178
  // Inline function 'arrow.core.Either.fold' call
179
179
  var tmp;
180
180
  if (this instanceof Right) {
181
- var it = this.nm_1;
181
+ var it = this.um_1;
182
182
  tmp = 'Either.Right(' + toString(it) + ')';
183
183
  } else {
184
184
  if (this instanceof Left) {
185
- var it_0 = this.lm_1;
185
+ var it_0 = this.sm_1;
186
186
  tmp = 'Either.Left(' + toString(it_0) + ')';
187
187
  } else {
188
188
  noWhenBranchMatchedException();
@@ -237,27 +237,27 @@ function flattenOrAccumulate(_this__u8e3s4) {
237
237
  try {
238
238
  var tmp_2 = tolerant(this_1, raise_0);
239
239
  var $this$accumulating = new RaiseAccumulate(tmp_2, raise_1, flattenOrAccumulate$lambda(raise_1));
240
- var hasErrors = $this$accumulating.rm();
240
+ var hasErrors = $this$accumulating.ym();
241
241
  // Inline function 'kotlin.also' call
242
- var this_2 = $this$accumulating.sm(element);
242
+ var this_2 = $this$accumulating.zm(element);
243
243
  if (!hasErrors) {
244
244
  this_0.x(this_2);
245
245
  }
246
246
  var res = new Ok(Unit_instance);
247
- raise_1.vm();
247
+ raise_1.cn();
248
248
  // Inline function 'arrow.core.identity' call
249
249
  tmp_1 = res;
250
250
  } catch ($p) {
251
251
  var tmp_3;
252
252
  if ($p instanceof RaiseCancellationException) {
253
253
  var e = $p;
254
- raise_1.vm();
255
- var p0 = raisedOrRethrow(e, raise_1).wm_1;
256
- tmp_3 = this_1.xm(p0);
254
+ raise_1.cn();
255
+ var p0 = raisedOrRethrow(e, raise_1).dn_1;
256
+ tmp_3 = this_1.en(p0);
257
257
  } else {
258
258
  if ($p instanceof Error) {
259
259
  var e_0 = $p;
260
- raise_1.vm();
260
+ raise_1.cn();
261
261
  throw nonFatalOrThrow(e_0);
262
262
  } else {
263
263
  throw $p;
@@ -266,20 +266,20 @@ function flattenOrAccumulate(_this__u8e3s4) {
266
266
  tmp_1 = tmp_3;
267
267
  }
268
268
  var res_0 = tmp_1;
269
- raise_0.vm();
269
+ raise_0.cn();
270
270
  // Inline function 'arrow.core.identity' call
271
271
  tmp_0 = res_0;
272
272
  } catch ($p) {
273
273
  var tmp_4;
274
274
  if ($p instanceof RaiseCancellationException) {
275
275
  var e_1 = $p;
276
- raise_0.vm();
276
+ raise_0.cn();
277
277
  // Inline function 'arrow.core.identity' call
278
278
  tmp_4 = raisedOrRethrow(e_1, raise_0);
279
279
  } else {
280
280
  if ($p instanceof Error) {
281
281
  var e_2 = $p;
282
- raise_0.vm();
282
+ raise_0.cn();
283
283
  throw nonFatalOrThrow(e_2);
284
284
  } else {
285
285
  throw $p;
@@ -289,29 +289,29 @@ function flattenOrAccumulate(_this__u8e3s4) {
289
289
  }
290
290
  }
291
291
  var result = Unit_instance;
292
- if ($this$with.rm()) {
293
- var tmp0_safe_receiver = $this$with.ym();
292
+ if ($this$with.ym()) {
293
+ var tmp0_safe_receiver = $this$with.fn();
294
294
  if (tmp0_safe_receiver == null)
295
295
  null;
296
296
  else {
297
- tmp0_safe_receiver.m1();
297
+ tmp0_safe_receiver.o1();
298
298
  throwKotlinNothingValueException();
299
299
  }
300
300
  }
301
- var res_1 = this_0.p5();
302
- raise.vm();
301
+ var res_1 = this_0.q5();
302
+ raise.cn();
303
303
  tmp = new Right(res_1);
304
304
  } catch ($p) {
305
305
  var tmp_5;
306
306
  if ($p instanceof RaiseCancellationException) {
307
307
  var e_3 = $p;
308
- raise.vm();
308
+ raise.cn();
309
309
  var it = raisedOrRethrow(e_3, raise);
310
310
  tmp_5 = new Left(it);
311
311
  } else {
312
312
  if ($p instanceof Error) {
313
313
  var e_4 = $p;
314
- raise.vm();
314
+ raise.cn();
315
315
  throw nonFatalOrThrow(e_4);
316
316
  } else {
317
317
  throw $p;
@@ -334,7 +334,7 @@ function flattenOrAccumulate$lambda($$this$recover) {
334
334
  return function (it) {
335
335
  // Inline function 'arrow.core.nel' call
336
336
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
337
- $$this$recover.zm(new NonEmptyList(tmp$ret$0));
337
+ $$this$recover.gn(new NonEmptyList(tmp$ret$0));
338
338
  };
339
339
  }
340
340
  function _NonEmptyList___init__impl__fxd0xp(all) {
@@ -349,7 +349,7 @@ function _NonEmptyList___init__impl__fxd0xp_0(head, tail) {
349
349
  function NonEmptyList__equals_impl_crn5lc($this, other) {
350
350
  var tmp;
351
351
  if (other instanceof NonEmptyList) {
352
- tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.wm_1));
352
+ tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.dn_1));
353
353
  } else {
354
354
  tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), other);
355
355
  }
@@ -368,7 +368,7 @@ function _NonEmptyList___get_head__impl__q9oenq($this) {
368
368
  return first(_NonEmptyList___get_all__impl__pmf509($this));
369
369
  }
370
370
  function _NonEmptyList___get_tail__impl__t91bd2($this) {
371
- return _NonEmptyList___get_all__impl__pmf509($this).m2(1, _NonEmptyList___get_all__impl__pmf509($this).b1());
371
+ return _NonEmptyList___get_all__impl__pmf509($this).p2(1, _NonEmptyList___get_all__impl__pmf509($this).b1());
372
372
  }
373
373
  function NonEmptyList__plus_impl_xqmb9($this, elements) {
374
374
  return _NonEmptyList___init__impl__fxd0xp(plus(_NonEmptyList___get_all__impl__pmf509($this), elements));
@@ -381,7 +381,7 @@ function NonEmptyList__toString_impl_ozxm8z($this) {
381
381
  }
382
382
  function Companion_2() {
383
383
  Companion_instance_2 = this;
384
- this.an_1 = nonEmptyListOf(Unit_instance, []);
384
+ this.hn_1 = nonEmptyListOf(Unit_instance, []);
385
385
  }
386
386
  var Companion_instance_2;
387
387
  function Companion_getInstance_2() {
@@ -390,56 +390,68 @@ function Companion_getInstance_2() {
390
390
  return Companion_instance_2;
391
391
  }
392
392
  function NonEmptyList__contains_impl_w1668g($this, element) {
393
- return $this.v1(element);
393
+ return $this.i1(element);
394
394
  }
395
395
  function NonEmptyList__iterator_impl_kgqsin($this) {
396
396
  return $this.t();
397
397
  }
398
+ function NonEmptyList__containsAll_impl_vy4kax($this, elements) {
399
+ return $this.o2(elements);
400
+ }
398
401
  function NonEmptyList__get_impl_oqktx($this, index) {
399
402
  return $this.c1(index);
400
403
  }
404
+ function NonEmptyList__indexOf_impl_lnwyla($this, element) {
405
+ return $this.j1(element);
406
+ }
401
407
  function NonEmptyList__listIterator_impl_8vm28t($this, index) {
402
408
  return $this.h1(index);
403
409
  }
404
410
  function NonEmptyList__subList_impl_8uxff1($this, fromIndex, toIndex) {
405
- return $this.m2(fromIndex, toIndex);
411
+ return $this.p2(fromIndex, toIndex);
406
412
  }
407
413
  function _NonEmptyList___get_size__impl__xcrchh($this) {
408
414
  return $this.b1();
409
415
  }
410
416
  function NonEmptyList(all) {
411
417
  Companion_getInstance_2();
412
- this.wm_1 = all;
418
+ this.dn_1 = all;
413
419
  }
414
420
  protoOf(NonEmptyList).equals = function (other) {
415
- return NonEmptyList__equals_impl_crn5lc(this.wm_1, other);
421
+ return NonEmptyList__equals_impl_crn5lc(this.dn_1, other);
416
422
  };
417
423
  protoOf(NonEmptyList).hashCode = function () {
418
- return NonEmptyList__hashCode_impl_38rpg4(this.wm_1);
424
+ return NonEmptyList__hashCode_impl_38rpg4(this.dn_1);
419
425
  };
420
426
  protoOf(NonEmptyList).r = function () {
421
- return NonEmptyList__isEmpty_impl_cueu5k(this.wm_1);
427
+ return NonEmptyList__isEmpty_impl_cueu5k(this.dn_1);
422
428
  };
423
429
  protoOf(NonEmptyList).toString = function () {
424
- return NonEmptyList__toString_impl_ozxm8z(this.wm_1);
430
+ return NonEmptyList__toString_impl_ozxm8z(this.dn_1);
425
431
  };
426
- protoOf(NonEmptyList).v1 = function (element) {
427
- return NonEmptyList__contains_impl_w1668g(this.wm_1, element);
432
+ protoOf(NonEmptyList).i1 = function (element) {
433
+ return NonEmptyList__contains_impl_w1668g(this.dn_1, element);
428
434
  };
429
435
  protoOf(NonEmptyList).t = function () {
430
- return NonEmptyList__iterator_impl_kgqsin(this.wm_1);
436
+ return NonEmptyList__iterator_impl_kgqsin(this.dn_1);
437
+ };
438
+ protoOf(NonEmptyList).o2 = function (elements) {
439
+ return NonEmptyList__containsAll_impl_vy4kax(this.dn_1, elements);
431
440
  };
432
441
  protoOf(NonEmptyList).c1 = function (index) {
433
- return NonEmptyList__get_impl_oqktx(this.wm_1, index);
442
+ return NonEmptyList__get_impl_oqktx(this.dn_1, index);
443
+ };
444
+ protoOf(NonEmptyList).j1 = function (element) {
445
+ return NonEmptyList__indexOf_impl_lnwyla(this.dn_1, element);
434
446
  };
435
447
  protoOf(NonEmptyList).h1 = function (index) {
436
- return NonEmptyList__listIterator_impl_8vm28t(this.wm_1, index);
448
+ return NonEmptyList__listIterator_impl_8vm28t(this.dn_1, index);
437
449
  };
438
- protoOf(NonEmptyList).m2 = function (fromIndex, toIndex) {
439
- return NonEmptyList__subList_impl_8uxff1(this.wm_1, fromIndex, toIndex);
450
+ protoOf(NonEmptyList).p2 = function (fromIndex, toIndex) {
451
+ return NonEmptyList__subList_impl_8uxff1(this.dn_1, fromIndex, toIndex);
440
452
  };
441
453
  protoOf(NonEmptyList).b1 = function () {
442
- return _NonEmptyList___get_size__impl__xcrchh(this.wm_1);
454
+ return _NonEmptyList___get_size__impl__xcrchh(this.dn_1);
443
455
  };
444
456
  function nonEmptyListOf(head, t) {
445
457
  return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
@@ -503,43 +515,43 @@ function Companion_getInstance_3() {
503
515
  return Companion_instance_3;
504
516
  }
505
517
  function NonEmptySet__contains_impl_tkiyt0($this, element) {
506
- return $this.v1(element);
518
+ return $this.i1(element);
507
519
  }
508
520
  function NonEmptySet__iterator_impl_b1bvkz($this) {
509
521
  return $this.t();
510
522
  }
511
523
  function NonEmptySet__containsAll_impl_kivnxv($this, elements) {
512
- return $this.n2(elements);
524
+ return $this.o2(elements);
513
525
  }
514
526
  function _NonEmptySet___get_size__impl__tvkxr($this) {
515
527
  return $this.b1();
516
528
  }
517
529
  function NonEmptySet(elements) {
518
- this.bn_1 = elements;
530
+ this.in_1 = elements;
519
531
  }
520
532
  protoOf(NonEmptySet).r = function () {
521
- return NonEmptySet__isEmpty_impl_56jel0(this.bn_1);
533
+ return NonEmptySet__isEmpty_impl_56jel0(this.in_1);
522
534
  };
523
535
  protoOf(NonEmptySet).toString = function () {
524
- return NonEmptySet__toString_impl_yfcj6n(this.bn_1);
536
+ return NonEmptySet__toString_impl_yfcj6n(this.in_1);
525
537
  };
526
538
  protoOf(NonEmptySet).equals = function (other) {
527
- return NonEmptySet__equals_impl_2ou2p8(this.bn_1, other);
539
+ return NonEmptySet__equals_impl_2ou2p8(this.in_1, other);
528
540
  };
529
541
  protoOf(NonEmptySet).hashCode = function () {
530
- return NonEmptySet__hashCode_impl_co6mds(this.bn_1);
542
+ return NonEmptySet__hashCode_impl_co6mds(this.in_1);
531
543
  };
532
- protoOf(NonEmptySet).v1 = function (element) {
533
- return NonEmptySet__contains_impl_tkiyt0(this.bn_1, element);
544
+ protoOf(NonEmptySet).i1 = function (element) {
545
+ return NonEmptySet__contains_impl_tkiyt0(this.in_1, element);
534
546
  };
535
547
  protoOf(NonEmptySet).t = function () {
536
- return NonEmptySet__iterator_impl_b1bvkz(this.bn_1);
548
+ return NonEmptySet__iterator_impl_b1bvkz(this.in_1);
537
549
  };
538
- protoOf(NonEmptySet).n2 = function (elements) {
539
- return NonEmptySet__containsAll_impl_kivnxv(this.bn_1, elements);
550
+ protoOf(NonEmptySet).o2 = function (elements) {
551
+ return NonEmptySet__containsAll_impl_kivnxv(this.in_1, elements);
540
552
  };
541
553
  protoOf(NonEmptySet).b1 = function () {
542
- return _NonEmptySet___get_size__impl__tvkxr(this.bn_1);
554
+ return _NonEmptySet___get_size__impl__tvkxr(this.in_1);
543
555
  };
544
556
  function nonEmptySetOf(first, rest) {
545
557
  return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
@@ -551,33 +563,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
551
563
  return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
552
564
  }
553
565
  function DefaultRaise(isTraced) {
554
- this.tm_1 = isTraced;
555
- this.um_1 = new AtomicBoolean(true);
566
+ this.an_1 = isTraced;
567
+ this.bn_1 = new AtomicBoolean(true);
556
568
  }
557
- protoOf(DefaultRaise).vm = function () {
558
- return this.um_1.gm(false);
569
+ protoOf(DefaultRaise).cn = function () {
570
+ return this.bn_1.nm(false);
559
571
  };
560
- protoOf(DefaultRaise).cn = function (r) {
572
+ protoOf(DefaultRaise).jn = function (r) {
561
573
  var tmp;
562
- if (this.um_1.m1()) {
563
- throw this.tm_1 ? new Traced(r, this) : NoTrace(r, this);
574
+ if (this.bn_1.o1()) {
575
+ throw this.an_1 ? new Traced(r, this) : NoTrace(r, this);
564
576
  } else {
565
577
  throw new RaiseLeakedException();
566
578
  }
567
579
  };
568
- protoOf(DefaultRaise).zm = function (r) {
569
- return this.cn(r);
580
+ protoOf(DefaultRaise).gn = function (r) {
581
+ return this.jn(r);
570
582
  };
571
583
  function raisedOrRethrow(_this__u8e3s4, raise) {
572
584
  var tmp;
573
585
  var tmp_0;
574
586
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
575
- tmp_0 = _this__u8e3s4.hn() === raise;
587
+ tmp_0 = _this__u8e3s4.on() === raise;
576
588
  } else {
577
589
  tmp_0 = false;
578
590
  }
579
591
  if (tmp_0) {
580
- tmp = _this__u8e3s4.in();
592
+ tmp = _this__u8e3s4.pn();
581
593
  } else {
582
594
  throw _this__u8e3s4;
583
595
  }
@@ -587,11 +599,11 @@ function Traced(raised, raise, cause) {
587
599
  cause = cause === VOID ? null : cause;
588
600
  RaiseCancellationException.call(this, raised, raise);
589
601
  captureStack(this, Traced);
590
- this.ln_1 = cause;
602
+ this.sn_1 = cause;
591
603
  delete this.cause;
592
604
  }
593
605
  protoOf(Traced).f = function () {
594
- return this.ln_1;
606
+ return this.sn_1;
595
607
  };
596
608
  function RaiseLeakedException() {
597
609
  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);
@@ -614,22 +626,22 @@ function Value() {
614
626
  }
615
627
  function Error_0(raise) {
616
628
  Value.call(this);
617
- this.mn_1 = raise;
629
+ this.tn_1 = raise;
618
630
  }
619
- protoOf(Error_0).m1 = function () {
620
- this.mn_1();
631
+ protoOf(Error_0).o1 = function () {
632
+ this.tn_1();
621
633
  return throwKotlinNothingValueException();
622
634
  };
623
635
  function Ok(value) {
624
636
  Value.call(this);
625
- this.nn_1 = value;
637
+ this.un_1 = value;
626
638
  }
627
- protoOf(Ok).m1 = function () {
628
- return this.nn_1;
639
+ protoOf(Ok).o1 = function () {
640
+ return this.un_1;
629
641
  };
630
642
  function ListAccumulate$raiseSingle$ref(p0) {
631
643
  var l = function (_this__u8e3s4) {
632
- p0.rn(_this__u8e3s4);
644
+ p0.yn(_this__u8e3s4);
633
645
  };
634
646
  l.callableName = 'raiseSingle';
635
647
  return l;
@@ -638,22 +650,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
638
650
  return function (it) {
639
651
  // Inline function 'arrow.core.nel' call
640
652
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
641
- $$this$recover.zm(new NonEmptyList(tmp$ret$0));
653
+ $$this$recover.gn(new NonEmptyList(tmp$ret$0));
642
654
  };
643
655
  }
644
656
  function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
645
- this.om_1 = accumulate;
646
- this.pm_1 = raise;
647
- this.qm_1 = raiseErrorsWith;
657
+ this.vm_1 = accumulate;
658
+ this.wm_1 = raise;
659
+ this.xm_1 = raiseErrorsWith;
648
660
  }
649
- protoOf(RaiseAccumulate).zm = function (r) {
650
- this.qm_1(r);
661
+ protoOf(RaiseAccumulate).gn = function (r) {
662
+ this.xm_1(r);
651
663
  return throwKotlinNothingValueException();
652
664
  };
653
- protoOf(RaiseAccumulate).en = function (_this__u8e3s4) {
665
+ protoOf(RaiseAccumulate).ln = function (_this__u8e3s4) {
654
666
  // Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
655
667
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
656
- var tmp0 = this.pm_1;
668
+ var tmp0 = this.wm_1;
657
669
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
658
670
  var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
659
671
  // Inline function 'kotlin.collections.buildList' call
@@ -688,27 +700,27 @@ protoOf(RaiseAccumulate).en = function (_this__u8e3s4) {
688
700
  try {
689
701
  var tmp_1 = tolerant(this_1, raise);
690
702
  var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
691
- var hasErrors = $this$accumulating.rm();
703
+ var hasErrors = $this$accumulating.ym();
692
704
  // Inline function 'kotlin.also' call
693
- var this_2 = $this$accumulating.dn(element);
705
+ var this_2 = $this$accumulating.kn(element);
694
706
  if (!hasErrors) {
695
707
  this_0.x(this_2);
696
708
  }
697
709
  var res = new Ok(Unit_instance);
698
- raise_0.vm();
710
+ raise_0.cn();
699
711
  // Inline function 'arrow.core.identity' call
700
712
  tmp_0 = res;
701
713
  } catch ($p) {
702
714
  var tmp_2;
703
715
  if ($p instanceof RaiseCancellationException) {
704
716
  var e = $p;
705
- raise_0.vm();
706
- var p0 = raisedOrRethrow(e, raise_0).wm_1;
707
- tmp_2 = this_1.xm(p0);
717
+ raise_0.cn();
718
+ var p0 = raisedOrRethrow(e, raise_0).dn_1;
719
+ tmp_2 = this_1.en(p0);
708
720
  } else {
709
721
  if ($p instanceof Error) {
710
722
  var e_0 = $p;
711
- raise_0.vm();
723
+ raise_0.cn();
712
724
  throw nonFatalOrThrow(e_0);
713
725
  } else {
714
726
  throw $p;
@@ -717,20 +729,20 @@ protoOf(RaiseAccumulate).en = function (_this__u8e3s4) {
717
729
  tmp_0 = tmp_2;
718
730
  }
719
731
  var res_0 = tmp_0;
720
- raise.vm();
732
+ raise.cn();
721
733
  // Inline function 'arrow.core.identity' call
722
734
  tmp = res_0;
723
735
  } catch ($p) {
724
736
  var tmp_3;
725
737
  if ($p instanceof RaiseCancellationException) {
726
738
  var e_1 = $p;
727
- raise.vm();
739
+ raise.cn();
728
740
  // Inline function 'arrow.core.identity' call
729
741
  tmp_3 = raisedOrRethrow(e_1, raise);
730
742
  } else {
731
743
  if ($p instanceof Error) {
732
744
  var e_2 = $p;
733
- raise.vm();
745
+ raise.cn();
734
746
  throw nonFatalOrThrow(e_2);
735
747
  } else {
736
748
  throw $p;
@@ -740,66 +752,66 @@ protoOf(RaiseAccumulate).en = function (_this__u8e3s4) {
740
752
  }
741
753
  }
742
754
  var result = Unit_instance;
743
- if ($this$with.rm()) {
744
- var tmp0_safe_receiver = $this$with.ym();
755
+ if ($this$with.ym()) {
756
+ var tmp0_safe_receiver = $this$with.fn();
745
757
  if (tmp0_safe_receiver == null)
746
758
  null;
747
759
  else {
748
- tmp0_safe_receiver.m1();
760
+ tmp0_safe_receiver.o1();
749
761
  throwKotlinNothingValueException();
750
762
  }
751
763
  }
752
764
  // Inline function 'kotlin.let' call
753
- var p0_0 = this_0.p5();
765
+ var p0_0 = this_0.q5();
754
766
  return _NonEmptyList___init__impl__fxd0xp(p0_0);
755
767
  };
756
- protoOf(RaiseAccumulate).sm = function (_this__u8e3s4) {
768
+ protoOf(RaiseAccumulate).zm = function (_this__u8e3s4) {
757
769
  // Inline function 'kotlin.with' call
758
- return this.pm_1.dn(_this__u8e3s4);
759
- };
760
- protoOf(RaiseAccumulate).xm = function (errors) {
761
- return this.om_1.xm(errors);
770
+ return this.wm_1.kn(_this__u8e3s4);
762
771
  };
763
- protoOf(RaiseAccumulate).rm = function () {
764
- return this.om_1.rm();
772
+ protoOf(RaiseAccumulate).en = function (errors) {
773
+ return this.vm_1.en(errors);
765
774
  };
766
775
  protoOf(RaiseAccumulate).ym = function () {
767
- return this.om_1.ym();
776
+ return this.vm_1.ym();
777
+ };
778
+ protoOf(RaiseAccumulate).fn = function () {
779
+ return this.vm_1.fn();
768
780
  };
769
781
  function Accumulate() {
770
782
  }
771
783
  function ListAccumulate$error$lambda(this$0) {
772
784
  return function () {
773
- this$0.on_1.zm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.pn_1)));
785
+ this$0.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.wn_1)));
774
786
  };
775
787
  }
776
788
  function ListAccumulate(raise) {
777
- this.on_1 = raise;
789
+ this.vn_1 = raise;
778
790
  var tmp = this;
779
791
  // Inline function 'kotlin.collections.mutableListOf' call
780
- tmp.pn_1 = ArrayList_init_$Create$_0();
792
+ tmp.wn_1 = ArrayList_init_$Create$_0();
781
793
  var tmp_0 = this;
782
- tmp_0.qn_1 = new Error_0(ListAccumulate$error$lambda(this));
794
+ tmp_0.xn_1 = new Error_0(ListAccumulate$error$lambda(this));
783
795
  }
784
- protoOf(ListAccumulate).rn = function (r) {
785
- this.on_1.zm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.pn_1, r))));
796
+ protoOf(ListAccumulate).yn = function (r) {
797
+ this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.wn_1, r))));
786
798
  };
787
- protoOf(ListAccumulate).sn = function (r) {
788
- this.on_1.zm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.pn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
799
+ protoOf(ListAccumulate).zn = function (r) {
800
+ this.vn_1.gn(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.wn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
789
801
  };
790
- protoOf(ListAccumulate).zm = function (r) {
791
- return this.sn(r instanceof NonEmptyList ? r.wm_1 : THROW_CCE());
802
+ protoOf(ListAccumulate).gn = function (r) {
803
+ return this.zn(r instanceof NonEmptyList ? r.dn_1 : THROW_CCE());
792
804
  };
793
- protoOf(ListAccumulate).xm = function (errors) {
794
- this.pn_1.g1(new NonEmptyList(errors));
795
- return this.qn_1;
805
+ protoOf(ListAccumulate).en = function (errors) {
806
+ this.wn_1.g1(new NonEmptyList(errors));
807
+ return this.xn_1;
796
808
  };
797
- protoOf(ListAccumulate).ym = function () {
809
+ protoOf(ListAccumulate).fn = function () {
798
810
  // Inline function 'kotlin.takeIf' call
799
- var this_0 = this.qn_1;
811
+ var this_0 = this.xn_1;
800
812
  var tmp;
801
813
  // Inline function 'kotlin.collections.isNotEmpty' call
802
- if (!this.pn_1.r()) {
814
+ if (!this.wn_1.r()) {
803
815
  tmp = this_0;
804
816
  } else {
805
817
  tmp = null;
@@ -811,24 +823,24 @@ function tolerant(_this__u8e3s4, raise) {
811
823
  }
812
824
  function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
813
825
  return function () {
814
- this$0.un_1.zm($error);
826
+ this$0.bo_1.gn($error);
815
827
  };
816
828
  }
817
829
  function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
818
830
  return function () {
819
- this$0.un_1.zm($error);
831
+ this$0.bo_1.gn($error);
820
832
  };
821
833
  }
822
834
  function TolerantAccumulate(underlying, raise) {
823
- this.tn_1 = underlying;
824
- this.un_1 = raise;
835
+ this.ao_1 = underlying;
836
+ this.bo_1 = raise;
825
837
  }
826
- protoOf(TolerantAccumulate).xm = function (errors) {
827
- var error = this.tn_1.xm(errors);
838
+ protoOf(TolerantAccumulate).en = function (errors) {
839
+ var error = this.ao_1.en(errors);
828
840
  return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
829
841
  };
830
- protoOf(TolerantAccumulate).ym = function () {
831
- var tmp0_elvis_lhs = this.tn_1.ym();
842
+ protoOf(TolerantAccumulate).fn = function () {
843
+ var tmp0_elvis_lhs = this.ao_1.fn();
832
844
  var tmp;
833
845
  if (tmp0_elvis_lhs == null) {
834
846
  return null;
@@ -858,32 +870,32 @@ function NoTrace(raised, raise) {
858
870
  function RaiseCancellationException(raised, raise) {
859
871
  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);
860
872
  captureStack(this, RaiseCancellationException);
861
- this.fn_1 = raised;
862
- this.gn_1 = raise;
873
+ this.mn_1 = raised;
874
+ this.nn_1 = raise;
863
875
  }
864
- protoOf(RaiseCancellationException).in = function () {
876
+ protoOf(RaiseCancellationException).pn = function () {
865
877
  // Inline function 'kotlin.js.unsafeCast' call
866
878
  // Inline function 'kotlin.js.asDynamic' call
867
879
  var tmp1_elvis_lhs = this == null ? null : this.raised;
868
- return tmp1_elvis_lhs == null ? this.fn_1 : tmp1_elvis_lhs;
880
+ return tmp1_elvis_lhs == null ? this.mn_1 : tmp1_elvis_lhs;
869
881
  };
870
- protoOf(RaiseCancellationException).hn = function () {
882
+ protoOf(RaiseCancellationException).on = function () {
871
883
  // Inline function 'kotlin.js.unsafeCast' call
872
884
  // Inline function 'kotlin.js.asDynamic' call
873
885
  var tmp1_elvis_lhs = this == null ? null : this.raise;
874
- return tmp1_elvis_lhs == null ? this.gn_1 : tmp1_elvis_lhs;
886
+ return tmp1_elvis_lhs == null ? this.nn_1 : tmp1_elvis_lhs;
875
887
  };
876
888
  //region block: post-declaration
877
- protoOf(DefaultRaise).dn = bind;
878
- protoOf(DefaultRaise).en = bindAll;
889
+ protoOf(DefaultRaise).kn = bind;
890
+ protoOf(DefaultRaise).ln = bindAll;
879
891
  defineProp(protoOf(Traced), 'cause', function () {
880
892
  return this.f();
881
893
  });
882
- protoOf(RaiseAccumulate).dn = bind;
883
- protoOf(ListAccumulate).rm = get_hasAccumulatedErrors;
884
- protoOf(ListAccumulate).dn = bind;
885
- protoOf(ListAccumulate).en = bindAll;
886
- protoOf(TolerantAccumulate).rm = get_hasAccumulatedErrors;
894
+ protoOf(RaiseAccumulate).kn = bind;
895
+ protoOf(ListAccumulate).ym = get_hasAccumulatedErrors;
896
+ protoOf(ListAccumulate).kn = bind;
897
+ protoOf(ListAccumulate).ln = bindAll;
898
+ protoOf(TolerantAccumulate).ym = get_hasAccumulatedErrors;
887
899
  //endregion
888
900
  //region block: init
889
901
  Companion_instance = new Companion();