@flock/wirespec 0.21.0 → 0.22.0

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 (62) hide show
  1. package/arrow-arrow-atomic.mjs +13 -13
  2. package/arrow-arrow-atomic.mjs.map +1 -1
  3. package/arrow-arrow-core.mjs +166 -167
  4. package/arrow-arrow-core.mjs.map +1 -1
  5. package/clikt-clikt-mordant.mjs +88 -88
  6. package/clikt-clikt-mordant.mjs.map +1 -1
  7. package/clikt-clikt.mjs +1545 -1547
  8. package/clikt-clikt.mjs.map +1 -1
  9. package/colormath-root-colormath.mjs +463 -463
  10. package/colormath-root-colormath.mjs.map +1 -1
  11. package/kotlin-kotlin-stdlib.mjs +1192 -1311
  12. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  13. package/kotlin-openapi-bindings.mjs +10323 -10296
  14. package/kotlin-openapi-bindings.mjs.map +1 -1
  15. package/kotlin-rgxgen.mjs +1811 -1815
  16. package/kotlin-rgxgen.mjs.map +1 -1
  17. package/kotlinx-io-kotlinx-io-core.mjs +454 -454
  18. package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
  19. package/kotlinx-serialization-kotlinx-serialization-core.mjs +1985 -1993
  20. package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
  21. package/kotlinx-serialization-kotlinx-serialization-json.mjs +1768 -1737
  22. package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
  23. package/mordant-mordant.mjs +1357 -1360
  24. package/mordant-mordant.mjs.map +1 -1
  25. package/package.json +1 -1
  26. package/wirespec-src-compiler-core.mjs +26678 -4523
  27. package/wirespec-src-compiler-core.mjs.map +1 -1
  28. package/wirespec-src-compiler-emitters-java.mjs +373 -469
  29. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  30. package/wirespec-src-compiler-emitters-kotlin.mjs +322 -377
  31. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  32. package/wirespec-src-compiler-emitters-python.mjs +345 -344
  33. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  34. package/wirespec-src-compiler-emitters-rust.mjs +738 -736
  35. package/wirespec-src-compiler-emitters-rust.mjs.map +1 -1
  36. package/wirespec-src-compiler-emitters-scala.mjs +357 -357
  37. package/wirespec-src-compiler-emitters-scala.mjs.map +1 -1
  38. package/wirespec-src-compiler-emitters-typescript.mjs +472 -459
  39. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  40. package/wirespec-src-compiler-emitters-wirespec.mjs +211 -128
  41. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  42. package/wirespec-src-compiler-lib.mjs +403 -336
  43. package/wirespec-src-compiler-lib.mjs.map +1 -1
  44. package/wirespec-src-converter-avro.mjs +713 -708
  45. package/wirespec-src-converter-avro.mjs.map +1 -1
  46. package/wirespec-src-converter-common.mjs +267 -0
  47. package/wirespec-src-converter-common.mjs.map +1 -1
  48. package/wirespec-src-converter-openapi.mjs +1156 -1086
  49. package/wirespec-src-converter-openapi.mjs.map +1 -1
  50. package/wirespec-src-ide-lsp.mjs +1720 -1634
  51. package/wirespec-src-ide-lsp.mjs.map +1 -1
  52. package/wirespec-src-plugin-arguments.mjs +274 -233
  53. package/wirespec-src-plugin-arguments.mjs.map +1 -1
  54. package/wirespec-src-plugin-cli.mjs +153 -128
  55. package/wirespec-src-plugin-cli.mjs.map +1 -1
  56. package/wirespec-src-plugin-npm.d.mts +23 -10
  57. package/wirespec-src-plugin-npm.mjs +79 -81
  58. package/wirespec-src-plugin-npm.mjs.map +1 -1
  59. package/wirespec-src-tools-generator.mjs +59 -51
  60. package/wirespec-src-tools-generator.mjs.map +1 -1
  61. package/wirespec-src-compiler-ir.mjs +0 -18912
  62. package/wirespec-src-compiler-ir.mjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  protoOf180f3jzyo7rfj as protoOf,
3
3
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
4
- Unit_instance28fytmsmm6r23 as Unit_instance,
4
+ Unit_instancev9v8hjid95df as Unit_instance,
5
5
  toString30pk9tzaqopn as toString,
6
6
  hashCodeq5arwsb9dgti as hashCode,
7
7
  equals2au1ep9vhcato as equals,
@@ -9,7 +9,7 @@ import {
9
9
  VOID3gxj6tk5isa35 as VOID,
10
10
  noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
11
11
  checkBuilderCapacity1h6g02949wvv as checkBuilderCapacity,
12
- ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$,
12
+ ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
13
13
  THROW_CCE2g6jy02ryeudk as THROW_CCE,
14
14
  isInterface3d6p8outrmvmk as isInterface,
15
15
  throwKotlinNothingValueException2lxmvl03dor6f as throwKotlinNothingValueException,
@@ -25,7 +25,7 @@ import {
25
25
  setOf1u3mizs95ngxo as setOf,
26
26
  plus1ogy4liedzq5j as plus_2,
27
27
  collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
28
- ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
28
+ ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
29
29
  addAll1k27qatfgp3k5 as addAll,
30
30
  KtSetjrjc7fhfd6b9 as KtSet,
31
31
  asIterable314gqyxouondo as asIterable,
@@ -33,12 +33,12 @@ import {
33
33
  captureStack1fzi4aczwc4hg as captureStack,
34
34
  defineProp3ur6h3slcvq4x as defineProp,
35
35
  IllegalStateExceptionkoljg5n0nrlr as IllegalStateException,
36
- IllegalStateException_init_$Init$2ylivwv1fsmzx as IllegalStateException_init_$Init$,
36
+ IllegalStateException_init_$Init$22echgkfx1r7y as IllegalStateException_init_$Init$,
37
37
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
38
38
  objectCreate1ve4bgxiu4x98 as objectCreate,
39
- IllegalArgumentException_init_$Create$1j1aj36nbo0wg as IllegalArgumentException_init_$Create$,
39
+ IllegalArgumentException_init_$Create$i4126l9nkbuo as IllegalArgumentException_init_$Create$,
40
40
  CancellationException3b36o9qz53rgr as CancellationException,
41
- CancellationException_init_$Init$2h1hgwga3ygtl as CancellationException_init_$Init$,
41
+ CancellationException_init_$Init$2n8cjdt10du5s as CancellationException_init_$Init$,
42
42
  } from './kotlin-kotlin-stdlib.mjs';
43
43
  import { nonFatalOrThrow35agffkx4bbtz as nonFatalOrThrow } from './arrow-arrow-exception-utils.mjs';
44
44
  import { AtomicBoolean19soryb213qw as AtomicBoolean } from './arrow-arrow-atomic.mjs';
@@ -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.an(_this__u8e3s4.mm_1);
60
+ this.zm(_this__u8e3s4.lm_1);
61
61
  } else {
62
62
  if (_this__u8e3s4 instanceof Right)
63
- return _this__u8e3s4.om_1;
63
+ return _this__u8e3s4.nm_1;
64
64
  else {
65
65
  noWhenBranchMatchedException();
66
66
  }
@@ -75,8 +75,8 @@ 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$0 = this.en(item);
79
- destination.x(tmp$ret$0);
78
+ var tmp$ret$3 = this.dn(item);
79
+ destination.x(tmp$ret$3);
80
80
  }
81
81
  return _NonEmptyList___init__impl__fxd0xp(destination);
82
82
  }
@@ -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.zm() == null);
92
+ return !(this.ym() == 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.lm_1 = new Right(Unit_instance);
107
+ this.km_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.mm_1 = value;
117
+ this.lm_1 = value;
118
118
  }
119
119
  protoOf(Left).toString = function () {
120
- return 'Either.Left(' + toString(this.mm_1) + ')';
120
+ return 'Either.Left(' + toString(this.lm_1) + ')';
121
121
  };
122
122
  protoOf(Left).hashCode = function () {
123
- return this.mm_1 == null ? 0 : hashCode(this.mm_1);
123
+ return this.lm_1 == null ? 0 : hashCode(this.lm_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.mm_1, other.mm_1))
130
+ if (!equals(this.lm_1, other.lm_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.om_1 = value;
137
+ this.nm_1 = value;
138
138
  }
139
139
  protoOf(Right).toString = function () {
140
- return 'Either.Right(' + toString(this.om_1) + ')';
140
+ return 'Either.Right(' + toString(this.nm_1) + ')';
141
141
  };
142
142
  protoOf(Right).hashCode = function () {
143
- return this.om_1 == null ? 0 : hashCode(this.om_1);
143
+ return this.nm_1 == null ? 0 : hashCode(this.nm_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.om_1, other.om_1))
150
+ if (!equals(this.nm_1, other.nm_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).nm = function () {
162
+ protoOf(Either).mm = function () {
163
163
  // Inline function 'arrow.core.getOrElse' call
164
164
  var tmp;
165
165
  if (this instanceof Left) {
166
- this.mm_1;
166
+ this.lm_1;
167
167
  tmp = null;
168
168
  } else {
169
169
  if (this instanceof Right) {
170
- tmp = this.om_1;
170
+ tmp = this.nm_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.om_1;
181
+ var it = this.nm_1;
182
182
  tmp = 'Either.Right(' + toString(it) + ')';
183
183
  } else {
184
184
  if (this instanceof Left) {
185
- var it_0 = this.mm_1;
185
+ var it_0 = this.lm_1;
186
186
  tmp = 'Either.Left(' + toString(it_0) + ')';
187
187
  } else {
188
188
  noWhenBranchMatchedException();
@@ -190,12 +190,12 @@ protoOf(Either).toString = function () {
190
190
  }
191
191
  return tmp;
192
192
  };
193
- function right(_this__u8e3s4) {
194
- return new Right(_this__u8e3s4);
195
- }
196
193
  function left(_this__u8e3s4) {
197
194
  return new Left(_this__u8e3s4);
198
195
  }
196
+ function right(_this__u8e3s4) {
197
+ return new Right(_this__u8e3s4);
198
+ }
199
199
  function flattenOrAccumulate(_this__u8e3s4) {
200
200
  // Inline function 'arrow.core.mapOrAccumulate' call
201
201
  // Inline function 'arrow.core.raise.either' call
@@ -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.sm();
240
+ var hasErrors = $this$accumulating.rm();
241
241
  // Inline function 'kotlin.also' call
242
- var this_2 = $this$accumulating.tm(element);
242
+ var this_2 = $this$accumulating.sm(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.wm();
247
+ raise_1.vm();
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.wm();
255
- var p0 = raisedOrRethrow(e, raise_1).xm_1;
256
- tmp_3 = this_1.ym(p0);
254
+ raise_1.vm();
255
+ var p0 = raisedOrRethrow(e, raise_1).wm_1;
256
+ tmp_3 = this_1.xm(p0);
257
257
  } else {
258
258
  if ($p instanceof Error) {
259
259
  var e_0 = $p;
260
- raise_1.wm();
260
+ raise_1.vm();
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.wm();
269
+ raise_0.vm();
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.wm();
276
+ raise_0.vm();
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.wm();
282
+ raise_0.vm();
283
283
  throw nonFatalOrThrow(e_2);
284
284
  } else {
285
285
  throw $p;
@@ -289,8 +289,8 @@ function flattenOrAccumulate(_this__u8e3s4) {
289
289
  }
290
290
  }
291
291
  var result = Unit_instance;
292
- if ($this$with.sm()) {
293
- var tmp0_safe_receiver = $this$with.zm();
292
+ if ($this$with.rm()) {
293
+ var tmp0_safe_receiver = $this$with.ym();
294
294
  if (tmp0_safe_receiver == null)
295
295
  null;
296
296
  else {
@@ -299,19 +299,19 @@ function flattenOrAccumulate(_this__u8e3s4) {
299
299
  }
300
300
  }
301
301
  var res_1 = this_0.p5();
302
- raise.wm();
302
+ raise.vm();
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.wm();
308
+ raise.vm();
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.wm();
314
+ raise.vm();
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.an(new NonEmptyList(tmp$ret$0));
337
+ $$this$recover.zm(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.xm_1));
352
+ tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), _NonEmptyList___get_all__impl__pmf509(other.wm_1));
353
353
  } else {
354
354
  tmp = equals(_NonEmptyList___get_all__impl__pmf509($this), other);
355
355
  }
@@ -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.bn_1 = nonEmptyListOf(Unit_instance, []);
384
+ this.an_1 = nonEmptyListOf(Unit_instance, []);
385
385
  }
386
386
  var Companion_instance_2;
387
387
  function Companion_getInstance_2() {
@@ -409,37 +409,37 @@ function _NonEmptyList___get_size__impl__xcrchh($this) {
409
409
  }
410
410
  function NonEmptyList(all) {
411
411
  Companion_getInstance_2();
412
- this.xm_1 = all;
412
+ this.wm_1 = all;
413
413
  }
414
414
  protoOf(NonEmptyList).equals = function (other) {
415
- return NonEmptyList__equals_impl_crn5lc(this.xm_1, other);
415
+ return NonEmptyList__equals_impl_crn5lc(this.wm_1, other);
416
416
  };
417
417
  protoOf(NonEmptyList).hashCode = function () {
418
- return NonEmptyList__hashCode_impl_38rpg4(this.xm_1);
418
+ return NonEmptyList__hashCode_impl_38rpg4(this.wm_1);
419
419
  };
420
420
  protoOf(NonEmptyList).r = function () {
421
- return NonEmptyList__isEmpty_impl_cueu5k(this.xm_1);
421
+ return NonEmptyList__isEmpty_impl_cueu5k(this.wm_1);
422
422
  };
423
423
  protoOf(NonEmptyList).toString = function () {
424
- return NonEmptyList__toString_impl_ozxm8z(this.xm_1);
424
+ return NonEmptyList__toString_impl_ozxm8z(this.wm_1);
425
425
  };
426
426
  protoOf(NonEmptyList).v1 = function (element) {
427
- return NonEmptyList__contains_impl_w1668g(this.xm_1, element);
427
+ return NonEmptyList__contains_impl_w1668g(this.wm_1, element);
428
428
  };
429
429
  protoOf(NonEmptyList).t = function () {
430
- return NonEmptyList__iterator_impl_kgqsin(this.xm_1);
430
+ return NonEmptyList__iterator_impl_kgqsin(this.wm_1);
431
431
  };
432
432
  protoOf(NonEmptyList).c1 = function (index) {
433
- return NonEmptyList__get_impl_oqktx(this.xm_1, index);
433
+ return NonEmptyList__get_impl_oqktx(this.wm_1, index);
434
434
  };
435
435
  protoOf(NonEmptyList).h1 = function (index) {
436
- return NonEmptyList__listIterator_impl_8vm28t(this.xm_1, index);
436
+ return NonEmptyList__listIterator_impl_8vm28t(this.wm_1, index);
437
437
  };
438
438
  protoOf(NonEmptyList).m2 = function (fromIndex, toIndex) {
439
- return NonEmptyList__subList_impl_8uxff1(this.xm_1, fromIndex, toIndex);
439
+ return NonEmptyList__subList_impl_8uxff1(this.wm_1, fromIndex, toIndex);
440
440
  };
441
441
  protoOf(NonEmptyList).b1 = function () {
442
- return _NonEmptyList___get_size__impl__xcrchh(this.xm_1);
442
+ return _NonEmptyList___get_size__impl__xcrchh(this.wm_1);
443
443
  };
444
444
  function nonEmptyListOf(head, t) {
445
445
  return _NonEmptyList___init__impl__fxd0xp(plus_1(listOf(head), t));
@@ -515,31 +515,31 @@ function _NonEmptySet___get_size__impl__tvkxr($this) {
515
515
  return $this.b1();
516
516
  }
517
517
  function NonEmptySet(elements) {
518
- this.cn_1 = elements;
518
+ this.bn_1 = elements;
519
519
  }
520
520
  protoOf(NonEmptySet).r = function () {
521
- return NonEmptySet__isEmpty_impl_56jel0(this.cn_1);
521
+ return NonEmptySet__isEmpty_impl_56jel0(this.bn_1);
522
522
  };
523
523
  protoOf(NonEmptySet).toString = function () {
524
- return NonEmptySet__toString_impl_yfcj6n(this.cn_1);
524
+ return NonEmptySet__toString_impl_yfcj6n(this.bn_1);
525
525
  };
526
526
  protoOf(NonEmptySet).equals = function (other) {
527
- return NonEmptySet__equals_impl_2ou2p8(this.cn_1, other);
527
+ return NonEmptySet__equals_impl_2ou2p8(this.bn_1, other);
528
528
  };
529
529
  protoOf(NonEmptySet).hashCode = function () {
530
- return NonEmptySet__hashCode_impl_co6mds(this.cn_1);
530
+ return NonEmptySet__hashCode_impl_co6mds(this.bn_1);
531
531
  };
532
532
  protoOf(NonEmptySet).v1 = function (element) {
533
- return NonEmptySet__contains_impl_tkiyt0(this.cn_1, element);
533
+ return NonEmptySet__contains_impl_tkiyt0(this.bn_1, element);
534
534
  };
535
535
  protoOf(NonEmptySet).t = function () {
536
- return NonEmptySet__iterator_impl_b1bvkz(this.cn_1);
536
+ return NonEmptySet__iterator_impl_b1bvkz(this.bn_1);
537
537
  };
538
538
  protoOf(NonEmptySet).n2 = function (elements) {
539
- return NonEmptySet__containsAll_impl_kivnxv(this.cn_1, elements);
539
+ return NonEmptySet__containsAll_impl_kivnxv(this.bn_1, elements);
540
540
  };
541
541
  protoOf(NonEmptySet).b1 = function () {
542
- return _NonEmptySet___get_size__impl__tvkxr(this.cn_1);
542
+ return _NonEmptySet___get_size__impl__tvkxr(this.bn_1);
543
543
  };
544
544
  function nonEmptySetOf(first, rest) {
545
545
  return _NonEmptySet___init__impl__248bef_0(first, asIterable(rest));
@@ -551,34 +551,33 @@ function wrapAsNonEmptySetOrNull(_this__u8e3s4) {
551
551
  return _this__u8e3s4.r() ? null : _NonEmptySet___init__impl__248bef(_this__u8e3s4);
552
552
  }
553
553
  function DefaultRaise(isTraced) {
554
- this.um_1 = isTraced;
555
- this.vm_1 = new AtomicBoolean(true);
554
+ this.tm_1 = isTraced;
555
+ this.um_1 = new AtomicBoolean(true);
556
556
  }
557
- protoOf(DefaultRaise).wm = function () {
558
- return this.vm_1.hm(false);
557
+ protoOf(DefaultRaise).vm = function () {
558
+ return this.um_1.gm(false);
559
559
  };
560
- protoOf(DefaultRaise).dn = function (r) {
560
+ protoOf(DefaultRaise).cn = function (r) {
561
561
  var tmp;
562
- if (this.vm_1.m1()) {
563
- throw this.um_1 ? new Traced(r, this) : NoTrace(r, this);
562
+ if (this.um_1.m1()) {
563
+ throw this.tm_1 ? new Traced(r, this) : NoTrace(r, this);
564
564
  } else {
565
565
  throw new RaiseLeakedException();
566
566
  }
567
567
  };
568
- protoOf(DefaultRaise).an = function (r) {
569
- return this.dn((r == null ? true : !(r == null)) ? r : THROW_CCE());
568
+ protoOf(DefaultRaise).zm = function (r) {
569
+ return this.cn(r);
570
570
  };
571
571
  function raisedOrRethrow(_this__u8e3s4, raise) {
572
572
  var tmp;
573
573
  var tmp_0;
574
574
  if (_this__u8e3s4 instanceof RaiseCancellationException) {
575
- tmp_0 = _this__u8e3s4.in() === raise;
575
+ tmp_0 = _this__u8e3s4.hn() === raise;
576
576
  } else {
577
577
  tmp_0 = false;
578
578
  }
579
579
  if (tmp_0) {
580
- var tmp_1 = _this__u8e3s4.jn();
581
- tmp = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
580
+ tmp = _this__u8e3s4.in();
582
581
  } else {
583
582
  throw _this__u8e3s4;
584
583
  }
@@ -588,11 +587,11 @@ function Traced(raised, raise, cause) {
588
587
  cause = cause === VOID ? null : cause;
589
588
  RaiseCancellationException.call(this, raised, raise);
590
589
  captureStack(this, Traced);
591
- this.mn_1 = cause;
590
+ this.ln_1 = cause;
592
591
  delete this.cause;
593
592
  }
594
593
  protoOf(Traced).f = function () {
595
- return this.mn_1;
594
+ return this.ln_1;
596
595
  };
597
596
  function RaiseLeakedException() {
598
597
  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);
@@ -615,22 +614,22 @@ function Value() {
615
614
  }
616
615
  function Error_0(raise) {
617
616
  Value.call(this);
618
- this.nn_1 = raise;
617
+ this.mn_1 = raise;
619
618
  }
620
619
  protoOf(Error_0).m1 = function () {
621
- this.nn_1();
620
+ this.mn_1();
622
621
  return throwKotlinNothingValueException();
623
622
  };
624
623
  function Ok(value) {
625
624
  Value.call(this);
626
- this.on_1 = value;
625
+ this.nn_1 = value;
627
626
  }
628
627
  protoOf(Ok).m1 = function () {
629
- return this.on_1;
628
+ return this.nn_1;
630
629
  };
631
630
  function ListAccumulate$raiseSingle$ref(p0) {
632
631
  var l = function (_this__u8e3s4) {
633
- p0.sn(_this__u8e3s4);
632
+ p0.rn(_this__u8e3s4);
634
633
  };
635
634
  l.callableName = 'raiseSingle';
636
635
  return l;
@@ -639,22 +638,22 @@ function RaiseAccumulate$bindAll$lambda($$this$recover) {
639
638
  return function (it) {
640
639
  // Inline function 'arrow.core.nel' call
641
640
  var tmp$ret$0 = _NonEmptyList___init__impl__fxd0xp(listOf(it));
642
- $$this$recover.an(new NonEmptyList(tmp$ret$0));
641
+ $$this$recover.zm(new NonEmptyList(tmp$ret$0));
643
642
  };
644
643
  }
645
644
  function RaiseAccumulate(accumulate, raise, raiseErrorsWith) {
646
- this.pm_1 = accumulate;
647
- this.qm_1 = raise;
648
- this.rm_1 = raiseErrorsWith;
645
+ this.om_1 = accumulate;
646
+ this.pm_1 = raise;
647
+ this.qm_1 = raiseErrorsWith;
649
648
  }
650
- protoOf(RaiseAccumulate).an = function (r) {
651
- this.rm_1(r);
649
+ protoOf(RaiseAccumulate).zm = function (r) {
650
+ this.qm_1(r);
652
651
  return throwKotlinNothingValueException();
653
652
  };
654
- protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
653
+ protoOf(RaiseAccumulate).en = function (_this__u8e3s4) {
655
654
  // Inline function 'arrow.core.raise.RaiseAccumulate.mapOrAccumulate' call
656
655
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
657
- var tmp0 = this.qm_1;
656
+ var tmp0 = this.pm_1;
658
657
  // Inline function 'arrow.core.raise.mapOrAccumulate' call
659
658
  var iterable = _NonEmptyList___get_all__impl__pmf509(_this__u8e3s4);
660
659
  // Inline function 'kotlin.collections.buildList' call
@@ -689,27 +688,27 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
689
688
  try {
690
689
  var tmp_1 = tolerant(this_1, raise);
691
690
  var $this$accumulating = new RaiseAccumulate(tmp_1, raise_0, RaiseAccumulate$bindAll$lambda(raise_0));
692
- var hasErrors = $this$accumulating.sm();
691
+ var hasErrors = $this$accumulating.rm();
693
692
  // Inline function 'kotlin.also' call
694
- var this_2 = $this$accumulating.en(element);
693
+ var this_2 = $this$accumulating.dn(element);
695
694
  if (!hasErrors) {
696
695
  this_0.x(this_2);
697
696
  }
698
697
  var res = new Ok(Unit_instance);
699
- raise_0.wm();
698
+ raise_0.vm();
700
699
  // Inline function 'arrow.core.identity' call
701
700
  tmp_0 = res;
702
701
  } catch ($p) {
703
702
  var tmp_2;
704
703
  if ($p instanceof RaiseCancellationException) {
705
704
  var e = $p;
706
- raise_0.wm();
707
- var p0 = raisedOrRethrow(e, raise_0).xm_1;
708
- tmp_2 = this_1.ym(p0);
705
+ raise_0.vm();
706
+ var p0 = raisedOrRethrow(e, raise_0).wm_1;
707
+ tmp_2 = this_1.xm(p0);
709
708
  } else {
710
709
  if ($p instanceof Error) {
711
710
  var e_0 = $p;
712
- raise_0.wm();
711
+ raise_0.vm();
713
712
  throw nonFatalOrThrow(e_0);
714
713
  } else {
715
714
  throw $p;
@@ -718,20 +717,20 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
718
717
  tmp_0 = tmp_2;
719
718
  }
720
719
  var res_0 = tmp_0;
721
- raise.wm();
720
+ raise.vm();
722
721
  // Inline function 'arrow.core.identity' call
723
722
  tmp = res_0;
724
723
  } catch ($p) {
725
724
  var tmp_3;
726
725
  if ($p instanceof RaiseCancellationException) {
727
726
  var e_1 = $p;
728
- raise.wm();
727
+ raise.vm();
729
728
  // Inline function 'arrow.core.identity' call
730
729
  tmp_3 = raisedOrRethrow(e_1, raise);
731
730
  } else {
732
731
  if ($p instanceof Error) {
733
732
  var e_2 = $p;
734
- raise.wm();
733
+ raise.vm();
735
734
  throw nonFatalOrThrow(e_2);
736
735
  } else {
737
736
  throw $p;
@@ -741,8 +740,8 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
741
740
  }
742
741
  }
743
742
  var result = Unit_instance;
744
- if ($this$with.sm()) {
745
- var tmp0_safe_receiver = $this$with.zm();
743
+ if ($this$with.rm()) {
744
+ var tmp0_safe_receiver = $this$with.ym();
746
745
  if (tmp0_safe_receiver == null)
747
746
  null;
748
747
  else {
@@ -754,53 +753,53 @@ protoOf(RaiseAccumulate).fn = function (_this__u8e3s4) {
754
753
  var p0_0 = this_0.p5();
755
754
  return _NonEmptyList___init__impl__fxd0xp(p0_0);
756
755
  };
757
- protoOf(RaiseAccumulate).tm = function (_this__u8e3s4) {
756
+ protoOf(RaiseAccumulate).sm = function (_this__u8e3s4) {
758
757
  // Inline function 'kotlin.with' call
759
- return this.qm_1.en(_this__u8e3s4);
758
+ return this.pm_1.dn(_this__u8e3s4);
760
759
  };
761
- protoOf(RaiseAccumulate).ym = function (errors) {
762
- return this.pm_1.ym(errors);
760
+ protoOf(RaiseAccumulate).xm = function (errors) {
761
+ return this.om_1.xm(errors);
763
762
  };
764
- protoOf(RaiseAccumulate).sm = function () {
765
- return this.pm_1.sm();
763
+ protoOf(RaiseAccumulate).rm = function () {
764
+ return this.om_1.rm();
766
765
  };
767
- protoOf(RaiseAccumulate).zm = function () {
768
- return this.pm_1.zm();
766
+ protoOf(RaiseAccumulate).ym = function () {
767
+ return this.om_1.ym();
769
768
  };
770
769
  function Accumulate() {
771
770
  }
772
771
  function ListAccumulate$error$lambda(this$0) {
773
772
  return function () {
774
- this$0.pn_1.an(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.qn_1)));
773
+ this$0.on_1.zm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(this$0.pn_1)));
775
774
  };
776
775
  }
777
776
  function ListAccumulate(raise) {
778
- this.pn_1 = raise;
777
+ this.on_1 = raise;
779
778
  var tmp = this;
780
779
  // Inline function 'kotlin.collections.mutableListOf' call
781
- tmp.qn_1 = ArrayList_init_$Create$_0();
780
+ tmp.pn_1 = ArrayList_init_$Create$_0();
782
781
  var tmp_0 = this;
783
- tmp_0.rn_1 = new Error_0(ListAccumulate$error$lambda(this));
782
+ tmp_0.qn_1 = new Error_0(ListAccumulate$error$lambda(this));
784
783
  }
785
- protoOf(ListAccumulate).sn = function (r) {
786
- this.pn_1.an(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.qn_1, r))));
784
+ protoOf(ListAccumulate).rn = function (r) {
785
+ this.on_1.zm(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus_0(this.pn_1, r))));
787
786
  };
788
- protoOf(ListAccumulate).tn = function (r) {
789
- this.pn_1.an(new NonEmptyList(_NonEmptyList___init__impl__fxd0xp(plus(this.qn_1, _NonEmptyList___get_all__impl__pmf509(r)))));
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)))));
790
789
  };
791
- protoOf(ListAccumulate).an = function (r) {
792
- return this.tn(r instanceof NonEmptyList ? r.xm_1 : THROW_CCE());
790
+ protoOf(ListAccumulate).zm = function (r) {
791
+ return this.sn(r instanceof NonEmptyList ? r.wm_1 : THROW_CCE());
793
792
  };
794
- protoOf(ListAccumulate).ym = function (errors) {
795
- this.qn_1.g1(new NonEmptyList(errors));
796
- return this.rn_1;
793
+ protoOf(ListAccumulate).xm = function (errors) {
794
+ this.pn_1.g1(new NonEmptyList(errors));
795
+ return this.qn_1;
797
796
  };
798
- protoOf(ListAccumulate).zm = function () {
797
+ protoOf(ListAccumulate).ym = function () {
799
798
  // Inline function 'kotlin.takeIf' call
800
- var this_0 = this.rn_1;
799
+ var this_0 = this.qn_1;
801
800
  var tmp;
802
801
  // Inline function 'kotlin.collections.isNotEmpty' call
803
- if (!this.qn_1.r()) {
802
+ if (!this.pn_1.r()) {
804
803
  tmp = this_0;
805
804
  } else {
806
805
  tmp = null;
@@ -812,24 +811,24 @@ function tolerant(_this__u8e3s4, raise) {
812
811
  }
813
812
  function TolerantAccumulate$accumulateAll$lambda(this$0, $error) {
814
813
  return function () {
815
- this$0.vn_1.an($error);
814
+ this$0.un_1.zm($error);
816
815
  };
817
816
  }
818
817
  function TolerantAccumulate$_get_latestError_$lambda_m5qmvg(this$0, $error) {
819
818
  return function () {
820
- this$0.vn_1.an($error);
819
+ this$0.un_1.zm($error);
821
820
  };
822
821
  }
823
822
  function TolerantAccumulate(underlying, raise) {
824
- this.un_1 = underlying;
825
- this.vn_1 = raise;
823
+ this.tn_1 = underlying;
824
+ this.un_1 = raise;
826
825
  }
827
- protoOf(TolerantAccumulate).ym = function (errors) {
828
- var error = this.un_1.ym(errors);
826
+ protoOf(TolerantAccumulate).xm = function (errors) {
827
+ var error = this.tn_1.xm(errors);
829
828
  return new Error_0(TolerantAccumulate$accumulateAll$lambda(this, error));
830
829
  };
831
- protoOf(TolerantAccumulate).zm = function () {
832
- var tmp0_elvis_lhs = this.un_1.zm();
830
+ protoOf(TolerantAccumulate).ym = function () {
831
+ var tmp0_elvis_lhs = this.tn_1.ym();
833
832
  var tmp;
834
833
  if (tmp0_elvis_lhs == null) {
835
834
  return null;
@@ -859,32 +858,32 @@ function NoTrace(raised, raise) {
859
858
  function RaiseCancellationException(raised, raise) {
860
859
  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);
861
860
  captureStack(this, RaiseCancellationException);
862
- this.gn_1 = raised;
863
- this.hn_1 = raise;
861
+ this.fn_1 = raised;
862
+ this.gn_1 = raise;
864
863
  }
865
- protoOf(RaiseCancellationException).jn = function () {
864
+ protoOf(RaiseCancellationException).in = function () {
866
865
  // Inline function 'kotlin.js.unsafeCast' call
867
866
  // Inline function 'kotlin.js.asDynamic' call
868
867
  var tmp1_elvis_lhs = this == null ? null : this.raised;
869
- return tmp1_elvis_lhs == null ? this.gn_1 : tmp1_elvis_lhs;
868
+ return tmp1_elvis_lhs == null ? this.fn_1 : tmp1_elvis_lhs;
870
869
  };
871
- protoOf(RaiseCancellationException).in = function () {
870
+ protoOf(RaiseCancellationException).hn = function () {
872
871
  // Inline function 'kotlin.js.unsafeCast' call
873
872
  // Inline function 'kotlin.js.asDynamic' call
874
873
  var tmp1_elvis_lhs = this == null ? null : this.raise;
875
- return tmp1_elvis_lhs == null ? this.hn_1 : tmp1_elvis_lhs;
874
+ return tmp1_elvis_lhs == null ? this.gn_1 : tmp1_elvis_lhs;
876
875
  };
877
876
  //region block: post-declaration
878
- protoOf(DefaultRaise).en = bind;
879
- protoOf(DefaultRaise).fn = bindAll;
877
+ protoOf(DefaultRaise).dn = bind;
878
+ protoOf(DefaultRaise).en = bindAll;
880
879
  defineProp(protoOf(Traced), 'cause', function () {
881
880
  return this.f();
882
881
  });
883
- protoOf(RaiseAccumulate).en = bind;
884
- protoOf(ListAccumulate).sm = get_hasAccumulatedErrors;
885
- protoOf(ListAccumulate).en = bind;
886
- protoOf(ListAccumulate).fn = bindAll;
887
- protoOf(TolerantAccumulate).sm = get_hasAccumulatedErrors;
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;
888
887
  //endregion
889
888
  //region block: init
890
889
  Companion_instance = new Companion();
@@ -912,23 +911,23 @@ export {
912
911
  right as right2w60qw9uivnyr,
913
912
  toNonEmptyListOrNull as toNonEmptyListOrNull2ovnnazjb3msz,
914
913
  toNonEmptySetOrNull as toNonEmptySetOrNull1tjnd9jrkd4bs,
915
- RaiseAccumulate_init_$Create$ as RaiseAccumulate_init_$Create$3rhazzjk88u9p,
916
- _NonEmptyList___init__impl__fxd0xp as _NonEmptyList___init__impl__fxd0xp3qwfhfa83yk9f,
917
- _NonEmptyList___init__impl__fxd0xp_0 as _NonEmptyList___init__impl__fxd0xp24i0hfob3w7cz,
918
- _NonEmptyList___get_all__impl__pmf509 as _NonEmptyList___get_all__impl__pmf5092svcdxelgy1aa,
919
- NonEmptyList__hashCode_impl_38rpg4 as NonEmptyList__hashCode_impl_38rpg43o7ncsaqtj80v,
920
- _NonEmptyList___get_head__impl__q9oenq as _NonEmptyList___get_head__impl__q9oenqsmg81ccx44c4,
921
- NonEmptyList__plus_impl_xqmb9 as NonEmptyList__plus_impl_xqmb91y38uyofmba13,
922
- NonEmptyList__plus_impl_xqmb9_0 as NonEmptyList__plus_impl_xqmb92tle8a7jcf2wm,
923
- _NonEmptyList___get_tail__impl__t91bd2 as _NonEmptyList___get_tail__impl__t91bd2au7n33fchlyi,
924
- NonEmptyList__toList_impl_t5xcy2 as NonEmptyList__toList_impl_t5xcy2362qtlja6arn8,
925
- NonEmptyList__toString_impl_ozxm8z as NonEmptyList__toString_impl_ozxm8z3fpdpo2u5moub,
926
- NonEmptySet__flatMap_impl_ovm5jg as NonEmptySet__flatMap_impl_ovm5jg1j1barqpxmulx,
927
- NonEmptySet__hashCode_impl_co6mds as NonEmptySet__hashCode_impl_co6mds289rsl9k37rro,
928
- NonEmptySet__map_impl_ngjswd as NonEmptySet__map_impl_ngjswdysdff23qrf5g,
929
- NonEmptySet__toString_impl_yfcj6n as NonEmptySet__toString_impl_yfcj6n10o2ez3sxh9oh,
930
- Companion_instance_1 as Companion_instance139l85s51p6ol,
931
- Companion_getInstance_0 as Companion_getInstance2kuapxztveanf,
914
+ Companion_instance_1 as Companion_instancexcyhq1gimo3o,
915
+ Companion_getInstance_0 as Companion_getInstance220j0pzrtxcwu,
916
+ RaiseAccumulate_init_$Create$ as RaiseAccumulate_init_$Create$29fl6s5jk5c1s,
917
+ _NonEmptyList___init__impl__fxd0xp as _NonEmptyList___init__impl__fxd0xprpnd63likgzm,
918
+ _NonEmptyList___init__impl__fxd0xp_0 as _NonEmptyList___init__impl__fxd0xp3480tzui81fjk,
919
+ _NonEmptyList___get_all__impl__pmf509 as _NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d,
920
+ NonEmptyList__hashCode_impl_38rpg4 as NonEmptyList__hashCode_impl_38rpg4davnzlo2e821,
921
+ _NonEmptyList___get_head__impl__q9oenq as _NonEmptyList___get_head__impl__q9oenqdqq5xzf7ev77,
922
+ NonEmptyList__plus_impl_xqmb9 as NonEmptyList__plus_impl_xqmb918nwrkd75m2j6,
923
+ NonEmptyList__plus_impl_xqmb9_0 as NonEmptyList__plus_impl_xqmb9ex47xkkmsdbi,
924
+ _NonEmptyList___get_tail__impl__t91bd2 as _NonEmptyList___get_tail__impl__t91bd22g0rv1h0xpxn5,
925
+ NonEmptyList__toList_impl_t5xcy2 as NonEmptyList__toList_impl_t5xcy266xhxpenbpfx,
926
+ NonEmptyList__toString_impl_ozxm8z as NonEmptyList__toString_impl_ozxm8zinukvk8uiefu,
927
+ NonEmptySet__flatMap_impl_ovm5jg as NonEmptySet__flatMap_impl_ovm5jg3sic4v1sa4qlf,
928
+ NonEmptySet__hashCode_impl_co6mds as NonEmptySet__hashCode_impl_co6mdsl81ll59f92cp,
929
+ NonEmptySet__map_impl_ngjswd as NonEmptySet__map_impl_ngjswd1fxcincnj6e60,
930
+ NonEmptySet__toString_impl_yfcj6n as NonEmptySet__toString_impl_yfcj6ns81v4qijlr42,
932
931
  };
933
932
  //endregion
934
933