@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,10 +1,10 @@
1
1
  import {
2
- Boolean_instance237vwt01w3hs8 as Boolean_instance,
3
- Precision_P32_getInstance14q7j3bd2fxd5 as Precision_P32_getInstance,
2
+ Boolean_instance15wa4iqeayn6f as Boolean_instance,
3
+ Precision_P32_getInstance1wn9hty3a2xeu as Precision_P32_getInstance,
4
4
  Integer39lqx4uc63u28 as Integer,
5
- Precision_P64_getInstanceoi1ashg00his as Precision_P64_getInstance,
5
+ Precision_P64_getInstance1kka8j79p47e9 as Precision_P64_getInstance,
6
6
  Number1mui0heypwdhp as Number_0,
7
- Bytes_instance1o9u095wd3kx6 as Bytes_instance,
7
+ Bytes_instance1cqd1xiwjq94x as Bytes_instance,
8
8
  String1czvr8pxnm6on as String_0,
9
9
  Custom1lu6o8txpimqz as Custom,
10
10
  Dict3g7w5wia7rncj as Dict,
@@ -18,12 +18,15 @@ import {
18
18
  Type12n1gx16iqtcu as Type,
19
19
  Enum3l2iuc342kle6 as Enum,
20
20
  Unionccsavx6nrdr2 as Union,
21
- FileExtension_JSON_getInstance34944ido213py as FileExtension_JSON_getInstance,
21
+ NullValue_instance1ek1wzdv4iv3a as NullValue_instance,
22
+ FileExtension_JSON_getInstancel2q389n0axuc as FileExtension_JSON_getInstance,
22
23
  Emitted12h24rpo4uifw as Emitted,
23
24
  Anyv7qdq63z63rc as Any,
24
25
  Refined1lkzc0dg6wey7 as Refined,
25
26
  Bytes3eoc50vgt1uem as Bytes,
26
27
  Boolean1fpfi8m5jt3fg as Boolean_0,
28
+ get_fields25a89ltbcl7gz as get_fields,
29
+ Emitterpslsvv25okcl as Emitter,
27
30
  Channel2fhxi4a4pwb64 as Channel,
28
31
  Module3a9i9fqinyump as Module,
29
32
  Root195zt6zclzd3o as Root,
@@ -35,21 +38,22 @@ import {
35
38
  Collection1k04j3hzsbod0 as Collection,
36
39
  isInterface3d6p8outrmvmk as isInterface,
37
40
  checkCountOverflow1ro2fe1r4xvgf as checkCountOverflow,
38
- Unit_instance28fytmsmm6r23 as Unit_instance,
41
+ Unit_instancev9v8hjid95df as Unit_instance,
39
42
  first58ocm7j58k3q as first,
40
43
  toString1pkumu07cwy4m as toString,
41
- IllegalStateException_init_$Create$2429fvs1h56dm as IllegalStateException_init_$Create$,
44
+ IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
42
45
  emptyList1g2z5xcrvp2zy as emptyList,
43
46
  collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault,
44
- ArrayList_init_$Create$3ivpeip4ouddx as ArrayList_init_$Create$,
47
+ ArrayList_init_$Create$2byt5m5yn22yy as ArrayList_init_$Create$,
45
48
  toSet2orjxp16sotqu as toSet,
46
49
  listOfvhqybd2zx248 as listOf,
47
- ArrayList_init_$Create$1jemgvhi5v0js as ArrayList_init_$Create$_0,
50
+ ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$_0,
48
51
  addAll1k27qatfgp3k5 as addAll,
49
52
  plus310ted5e4i90h as plus,
50
53
  protoOf180f3jzyo7rfj as protoOf,
51
54
  VOID3gxj6tk5isa35 as VOID,
52
55
  initMetadataForObject1cxne3s9w65el as initMetadataForObject,
56
+ equals2au1ep9vhcato as equals,
53
57
  KtList3hktaavzmj137 as KtList,
54
58
  getKClass3t8tygqu4lcxf as getKClass,
55
59
  arrayOf1akklvh2at202 as arrayOf,
@@ -59,31 +63,43 @@ import {
59
63
  toList3jhuyej2anx2q as toList,
60
64
  plus20p0vtfmu0596 as plus_0,
61
65
  initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
62
- objectCreate1ve4bgxiu4x98 as objectCreate,
63
66
  copyToArray2j022khrow2yi as copyToArray,
64
- LazyThreadSafetyMode_PUBLICATION_getInstance1vspt3xrdob1a as LazyThreadSafetyMode_PUBLICATION_getInstance,
67
+ objectCreate1ve4bgxiu4x98 as objectCreate,
68
+ LazyThreadSafetyMode_PUBLICATION_getInstance3qslfm3vqg6y3 as LazyThreadSafetyMode_PUBLICATION_getInstance,
65
69
  lazy1261dae0bgscp as lazy,
70
+ toString30pk9tzaqopn as toString_0,
66
71
  getStringHashCode26igk1bx568vk as getStringHashCode,
72
+ hashCodeq5arwsb9dgti as hashCode,
67
73
  initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
68
74
  AbstractList3ck35puwbp1e9 as AbstractList,
69
75
  toList383f556t1dixk as toList_0,
70
76
  initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
71
- hashCodeq5arwsb9dgti as hashCode,
72
- equals2au1ep9vhcato as equals,
73
- StringCompanionObject_instance3sox3h548pjra as StringCompanionObject_instance,
77
+ getValue48kllevslyh6 as getValue,
78
+ StringCompanionObject_instance1v0ht40fz3tq0 as StringCompanionObject_instance,
74
79
  } from './kotlin-kotlin-stdlib.mjs';
75
80
  import {
76
- NonEmptyList__toList_impl_t5xcy2362qtlja6arn8 as NonEmptyList__toList_impl_t5xcy2,
77
- _NonEmptyList___get_all__impl__pmf5092svcdxelgy1aa as _NonEmptyList___get_all__impl__pmf509,
78
- _NonEmptyList___init__impl__fxd0xp3qwfhfa83yk9f as _NonEmptyList___init__impl__fxd0xp,
81
+ toDefaultValue3275mygjoueae as toDefaultValue,
82
+ toJsonElement1kac8qrfwiq85 as toJsonElement,
83
+ withValidEnumDefaults1a27sgh5tk9q4 as withValidEnumDefaults,
84
+ } from './wirespec-src-converter-common.mjs';
85
+ import {
86
+ NonEmptyList__toList_impl_t5xcy266xhxpenbpfx as NonEmptyList__toList_impl_t5xcy2,
87
+ _NonEmptyList___get_all__impl__pmf5092xnz0i2teaa6d as _NonEmptyList___get_all__impl__pmf509,
88
+ _NonEmptyList___init__impl__fxd0xprpnd63likgzm as _NonEmptyList___init__impl__fxd0xp,
79
89
  toNonEmptyListOrNull2ovnnazjb3msz as toNonEmptyListOrNull,
80
90
  NonEmptyList3ak25ihy2gcvs as NonEmptyList,
81
91
  nonEmptyListOf17xawqyzwrlrt as nonEmptyListOf,
82
92
  } from './arrow-arrow-core.mjs';
83
93
  import {
84
- Default_getInstancejkv49nkel8hp as Default_getInstance,
94
+ Default_getInstancejyc493d440j2 as Default_getInstance,
85
95
  Jsonsmkyu9xjl7fv as Json,
96
+ JsonEncoder1qlse6simkfi1 as JsonEncoder,
97
+ JsonObjectBuilder2nl6rv6vdayuk as JsonObjectBuilder,
98
+ put2xyujhcf0ewjd as put,
86
99
  JsonDecoder1rijst5ne6qla as JsonDecoder,
100
+ get_jsonObject2u4z2ch1uuca9 as get_jsonObject,
101
+ get_jsonPrimitivez17tyd5rw1ql as get_jsonPrimitive,
102
+ get_contentOrNull35s97cgi8z9eo as get_contentOrNull,
87
103
  JsonObjectee06ihoeeiqj as JsonObject,
88
104
  JsonArray2urf8ey7u44sd as JsonArray,
89
105
  JsonPrimitive3ttzjh2ft5dnx as JsonPrimitive,
@@ -91,66 +107,68 @@ import {
91
107
  import {
92
108
  serializer1i4e9ym37oxmo as serializer,
93
109
  KSerializerzf77vz1967fq as KSerializer,
110
+ SerializerFactory1qv9hivitncuv as SerializerFactory,
94
111
  PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor,
95
- StringSerializer_getInstance2hpyx1v3alnih as StringSerializer_getInstance,
96
- UnknownFieldException_init_$Create$2dwzk7svpmqo1 as UnknownFieldException_init_$Create$,
97
- get_nullable197rfua9r7fsz as get_nullable,
112
+ UnknownFieldException_init_$Create$29petggjjaptk as UnknownFieldException_init_$Create$,
113
+ StringSerializer_getInstance11v9md0a7d9yk as StringSerializer_getInstance,
98
114
  typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
99
115
  GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
100
116
  throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException,
101
- SerializerFactory1qv9hivitncuv as SerializerFactory,
102
117
  ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer,
103
- IntSerializer_getInstance3pev8isxtkhc2 as IntSerializer_getInstance,
104
- SEALED_getInstance1vxvpfzfxmg5m as SEALED_getInstance,
118
+ get_nullable197rfua9r7fsz as get_nullable,
119
+ IntSerializer_getInstanceuhm8c1wku08l as IntSerializer_getInstance,
120
+ buildClassSerialDescriptors2a6xdp6mrtw as buildClassSerialDescriptor,
121
+ SerializationException_init_$Create$2snijnm3rk5ru as SerializationException_init_$Create$,
122
+ SEALED_getInstance2urch17m532zf as SEALED_getInstance,
105
123
  buildSerialDescriptor2873qmkp8r2ib as buildSerialDescriptor,
106
124
  ListSerializer1hxuk9dx5n9du as ListSerializer,
107
- SerializationException_init_$Create$2gf2fbfh3gfxm as SerializationException_init_$Create$,
108
125
  serializer1x79l67jvwntn as serializer_0,
126
+ SerializableWithd2dap36updxd as SerializableWith,
109
127
  } from './kotlinx-serialization-kotlinx-serialization-core.mjs';
110
128
  //region block: imports
111
129
  var imul = Math.imul;
112
130
  //endregion
113
131
  //region block: pre-declaration
114
132
  initMetadataForObject(AvroConverter, 'AvroConverter');
115
- initMetadataForObject(AvroJsonEmitter, 'AvroJsonEmitter');
133
+ initMetadataForObject(AvroJsonEmitter, 'AvroJsonEmitter', VOID, VOID, [Emitter]);
116
134
  initMetadataForObject(AvroJsonParser, 'AvroJsonParser');
117
135
  initMetadataForCompanion(Companion);
118
- initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
119
136
  initMetadataForCompanion(Companion_0);
120
137
  initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
121
138
  initMetadataForCompanion(Companion_2);
122
- initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
139
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
123
140
  initMetadataForCompanion(Companion_3);
124
- initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
141
+ initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
125
142
  initMetadataForCompanion(Companion_4);
126
- initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
143
+ initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
127
144
  initMetadataForCompanion(Companion_5);
128
- initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
145
+ initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
129
146
  initMetadataForCompanion(Companion_6);
130
- initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
147
+ initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
131
148
  initMetadataForCompanion(Companion_7);
132
- initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
149
+ initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
133
150
  initMetadataForCompanion(Companion_8);
134
- initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
135
- initMetadataForClass(Field_0, 'Field', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
151
+ initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
152
+ initMetadataForClass(Field_0, 'Field', VOID, VOID, VOID, VOID, VOID, {0: FieldSerializer_getInstance});
136
153
  initMetadataForClass(TypeList, 'TypeList', VOID, AbstractList, VOID, VOID, VOID, {0: TypeListSerializer_getInstance});
137
154
  initMetadataForInterface(Type_0, 'Type', VOID, VOID, VOID, VOID, VOID, {0: TypeSerializer_getInstance});
138
- initMetadataForClass(SimpleType, 'SimpleType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_0});
139
- initMetadataForClass(RecordType, 'RecordType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_1});
140
- initMetadataForClass(ArrayType, 'ArrayType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_2});
141
- initMetadataForClass(MapType, 'MapType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_3});
142
- initMetadataForClass(EnumType, 'EnumType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_4});
143
- initMetadataForClass(UnionType, 'UnionType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_5});
144
- initMetadataForClass(LogicalType, 'LogicalType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_6});
155
+ initMetadataForClass(SimpleType, 'SimpleType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance});
156
+ initMetadataForClass(RecordType, 'RecordType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_0});
157
+ initMetadataForClass(ArrayType, 'ArrayType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_1});
158
+ initMetadataForClass(MapType, 'MapType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_2});
159
+ initMetadataForClass(EnumType, 'EnumType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_3});
160
+ initMetadataForClass(UnionType, 'UnionType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_4});
161
+ initMetadataForClass(LogicalType, 'LogicalType', VOID, VOID, [Type_0], VOID, VOID, {0: $serializer_getInstance_5});
162
+ initMetadataForObject(FieldSerializer, 'FieldSerializer', VOID, VOID, [KSerializer]);
145
163
  initMetadataForObject(TypeListSerializer, 'TypeListSerializer', VOID, VOID, [KSerializer]);
146
164
  initMetadataForObject(TypeSerializer, 'TypeSerializer', VOID, VOID, [KSerializer]);
147
165
  //endregion
148
- function isNullable($this, _this__u8e3s4) {
149
- return _this__u8e3s4.v1($this.p46_1);
166
+ function isNullable($this, $receiver) {
167
+ return $receiver.v1($this.c48_1);
150
168
  }
151
- function toPrimitive($this, _this__u8e3s4) {
169
+ function toPrimitive($this, $receiver) {
152
170
  var tmp;
153
- switch (_this__u8e3s4.q46_1) {
171
+ switch ($receiver.d48_1) {
154
172
  case 'boolean':
155
173
  tmp = Boolean_instance;
156
174
  break;
@@ -173,15 +191,17 @@ function toPrimitive($this, _this__u8e3s4) {
173
191
  tmp = new String_0(null);
174
192
  break;
175
193
  default:
176
- var reason = 'primitive not mapped ' + _this__u8e3s4.q46_1;
194
+ // Inline function 'kotlin.TODO' call
195
+
196
+ var reason = 'primitive not mapped ' + $receiver.d48_1;
177
197
  throw new NotImplementedError('An operation is not implemented: ' + reason);
178
198
  }
179
199
  return tmp;
180
200
  }
181
- function toReference($this, _this__u8e3s4, isNullable) {
201
+ function toReference($this, $receiver, isNullable) {
182
202
  var tmp;
183
- if (_this__u8e3s4 instanceof SimpleType) {
184
- switch (_this__u8e3s4.q46_1) {
203
+ if ($receiver instanceof SimpleType) {
204
+ switch ($receiver.d48_1) {
185
205
  case 'null':
186
206
  tmp = new Unit(isNullable);
187
207
  break;
@@ -192,30 +212,30 @@ function toReference($this, _this__u8e3s4, isNullable) {
192
212
  case 'double':
193
213
  case 'bytes':
194
214
  case 'string':
195
- tmp = new Primitive(toPrimitive($this, _this__u8e3s4), isNullable);
215
+ tmp = new Primitive(toPrimitive($this, $receiver), isNullable);
196
216
  break;
197
217
  default:
198
- tmp = new Custom(_this__u8e3s4.q46_1, isNullable);
218
+ tmp = new Custom($receiver.d48_1, isNullable);
199
219
  break;
200
220
  }
201
221
  } else {
202
- if (_this__u8e3s4 instanceof ArrayType) {
203
- tmp = new Iterable(toReference($this, _this__u8e3s4.j47_1, false), isNullable);
222
+ if ($receiver instanceof ArrayType) {
223
+ tmp = new Iterable(toReference($this, $receiver.w48_1, false), isNullable);
204
224
  } else {
205
- if (_this__u8e3s4 instanceof RecordType) {
206
- tmp = new Custom(_this__u8e3s4.e47_1, isNullable);
225
+ if ($receiver instanceof RecordType) {
226
+ tmp = new Custom($receiver.r48_1, isNullable);
207
227
  } else {
208
- if (_this__u8e3s4 instanceof EnumType) {
209
- tmp = new Custom(_this__u8e3s4.a47_1, isNullable);
228
+ if ($receiver instanceof EnumType) {
229
+ tmp = new Custom($receiver.n48_1, isNullable);
210
230
  } else {
211
- if (_this__u8e3s4 instanceof LogicalType) {
212
- tmp = toReference($this, new SimpleType(_this__u8e3s4.v46_1), isNullable);
231
+ if ($receiver instanceof LogicalType) {
232
+ tmp = toReference($this, new SimpleType($receiver.i48_1), isNullable);
213
233
  } else {
214
- if (_this__u8e3s4 instanceof MapType) {
215
- tmp = new Dict(toReference($this, _this__u8e3s4.u46_1, false), isNullable);
234
+ if ($receiver instanceof MapType) {
235
+ tmp = new Dict(toReference($this, $receiver.h48_1, false), isNullable);
216
236
  } else {
217
- if (_this__u8e3s4 instanceof UnionType) {
218
- tmp = new Custom(_this__u8e3s4.r46_1, isNullable);
237
+ if ($receiver instanceof UnionType) {
238
+ tmp = new Custom($receiver.e48_1, isNullable);
219
239
  } else {
220
240
  noWhenBranchMatchedException();
221
241
  }
@@ -227,11 +247,11 @@ function toReference($this, _this__u8e3s4, isNullable) {
227
247
  }
228
248
  return tmp;
229
249
  }
230
- function toReference_0($this, _this__u8e3s4) {
231
- var list = minus(_this__u8e3s4, $this.p46_1);
250
+ function toReference_0($this, $receiver) {
251
+ var list = minus($receiver, $this.c48_1);
232
252
  var tmp;
233
253
  if (list.b1() === 1) {
234
- tmp = toReference($this, first(list), isNullable($this, _this__u8e3s4));
254
+ tmp = toReference($this, first(list), isNullable($this, $receiver));
235
255
  } else {
236
256
  var tmp$ret$0;
237
257
  $l$block: {
@@ -258,57 +278,61 @@ function toReference_0($this, _this__u8e3s4) {
258
278
  tmp$ret$0 = count;
259
279
  }
260
280
  if (tmp$ret$0 > 1) {
281
+ // Inline function 'kotlin.error' call
261
282
  var message = 'Cannot have multiple SimpleTypes in Union';
262
283
  throw IllegalStateException_init_$Create$(toString(message));
263
284
  } else {
264
- tmp = toReference($this, first(list), isNullable($this, _this__u8e3s4));
285
+ tmp = toReference($this, first(list), isNullable($this, $receiver));
265
286
  }
266
287
  }
267
288
  return tmp;
268
289
  }
269
- function toType($this, _this__u8e3s4) {
290
+ function toType($this, $receiver) {
270
291
  var tmp0_annotations = emptyList();
271
- var tmp1_identifier = new DefinitionIdentifier(_this__u8e3s4.e47_1);
292
+ var tmp1_identifier = new DefinitionIdentifier($receiver.r48_1);
272
293
  var tmp2_extends = emptyList();
273
294
  // Inline function 'kotlin.collections.map' call
274
- var this_0 = _this__u8e3s4.g47_1;
295
+ var this_0 = $receiver.t48_1;
275
296
  // Inline function 'kotlin.collections.mapTo' call
276
297
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
277
298
  var _iterator__ex2g4s = this_0.t();
278
299
  while (_iterator__ex2g4s.u()) {
279
300
  var item = _iterator__ex2g4s.v();
280
- var tmp0_identifier = new FieldIdentifier(item.k47_1);
281
- var tmp1_annotations = emptyList();
282
- var tmp2_reference = toReference_0(AvroConverter_getInstance(), item.l47_1);
283
- var tmp$ret$0 = new Field(tmp1_annotations, tmp0_identifier, tmp2_reference);
284
- destination.x(tmp$ret$0);
301
+ // Inline function 'kotlin.let' call
302
+ var reference = toReference_0(AvroConverter_getInstance(), item.y48_1);
303
+ var tmp1_identifier_0 = new FieldIdentifier(item.x48_1);
304
+ var tmp2_annotations = emptyList();
305
+ var tmp0_safe_receiver = item.a49_1;
306
+ var tmp3_defaultValue = tmp0_safe_receiver == null ? null : toDefaultValue(tmp0_safe_receiver, reference);
307
+ var tmp$ret$2 = new Field(tmp2_annotations, tmp1_identifier_0, reference, tmp3_defaultValue);
308
+ destination.x(tmp$ret$2);
285
309
  }
286
310
  var tmp3_shape = new Shape(destination);
287
311
  return new Type(null, tmp0_annotations, tmp1_identifier, tmp3_shape, tmp2_extends);
288
312
  }
289
- function toEnum($this, _this__u8e3s4) {
290
- return new Enum(null, emptyList(), new DefinitionIdentifier(_this__u8e3s4.a47_1), toSet(_this__u8e3s4.c47_1));
313
+ function toEnum($this, $receiver) {
314
+ return new Enum(null, emptyList(), new DefinitionIdentifier($receiver.n48_1), toSet($receiver.p48_1));
291
315
  }
292
- function toUnion($this, _this__u8e3s4, name) {
316
+ function toUnion($this, $receiver, name) {
293
317
  var tmp = emptyList();
294
318
  var tmp_0 = new DefinitionIdentifier(name);
295
319
  // Inline function 'kotlin.collections.map' call
296
- var this_0 = _this__u8e3s4.s46_1;
320
+ var this_0 = $receiver.f48_1;
297
321
  // Inline function 'kotlin.collections.mapTo' call
298
322
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
299
323
  var _iterator__ex2g4s = this_0.t();
300
324
  while (_iterator__ex2g4s.u()) {
301
325
  var item = _iterator__ex2g4s.v();
302
- var tmp$ret$0 = toReference(AvroConverter_getInstance(), item, false);
303
- destination.x(tmp$ret$0);
326
+ var tmp$ret$2 = toReference(AvroConverter_getInstance(), item, false);
327
+ destination.x(tmp$ret$2);
304
328
  }
305
329
  return new Union(null, tmp, tmp_0, toSet(destination));
306
330
  }
307
331
  function AvroConverter() {
308
332
  AvroConverter_instance = this;
309
- this.p46_1 = new SimpleType('null');
333
+ this.c48_1 = new SimpleType('null');
310
334
  }
311
- protoOf(AvroConverter).o47 = function (_this__u8e3s4, name) {
335
+ protoOf(AvroConverter).b49 = function (_this__u8e3s4, name) {
312
336
  var tmp;
313
337
  if (_this__u8e3s4 instanceof SimpleType) {
314
338
  tmp = emptyList();
@@ -316,20 +340,20 @@ protoOf(AvroConverter).o47 = function (_this__u8e3s4, name) {
316
340
  if (_this__u8e3s4 instanceof RecordType) {
317
341
  var tmp_0 = listOf(toType(this, _this__u8e3s4));
318
342
  // Inline function 'kotlin.collections.flatMap' call
319
- var tmp0 = _this__u8e3s4.g47_1;
343
+ var tmp0 = _this__u8e3s4.t48_1;
320
344
  // Inline function 'kotlin.collections.flatMapTo' call
321
345
  var destination = ArrayList_init_$Create$_0();
322
346
  var _iterator__ex2g4s = tmp0.t();
323
347
  while (_iterator__ex2g4s.u()) {
324
348
  var element = _iterator__ex2g4s.v();
325
349
  // Inline function 'kotlin.collections.flatMap' call
326
- var tmp0_0 = element.l47_1;
350
+ var tmp0_0 = element.y48_1;
327
351
  // Inline function 'kotlin.collections.flatMapTo' call
328
352
  var destination_0 = ArrayList_init_$Create$_0();
329
353
  var _iterator__ex2g4s_0 = tmp0_0.t();
330
354
  while (_iterator__ex2g4s_0.u()) {
331
355
  var element_0 = _iterator__ex2g4s_0.v();
332
- var list = AvroConverter_getInstance().o47(element_0, name);
356
+ var list = AvroConverter_getInstance().b49(element_0, name);
333
357
  addAll(destination_0, list);
334
358
  }
335
359
  var list_0 = destination_0;
@@ -338,7 +362,7 @@ protoOf(AvroConverter).o47 = function (_this__u8e3s4, name) {
338
362
  tmp = plus(tmp_0, destination);
339
363
  } else {
340
364
  if (_this__u8e3s4 instanceof ArrayType) {
341
- tmp = this.o47(_this__u8e3s4.j47_1, name);
365
+ tmp = this.b49(_this__u8e3s4.w48_1, name);
342
366
  } else {
343
367
  if (_this__u8e3s4 instanceof EnumType) {
344
368
  tmp = listOf(toEnum(this, _this__u8e3s4));
@@ -347,7 +371,7 @@ protoOf(AvroConverter).o47 = function (_this__u8e3s4, name) {
347
371
  tmp = emptyList();
348
372
  } else {
349
373
  if (_this__u8e3s4 instanceof MapType) {
350
- tmp = this.o47(_this__u8e3s4.u46_1, name);
374
+ tmp = this.b49(_this__u8e3s4.h48_1, name);
351
375
  } else {
352
376
  if (_this__u8e3s4 instanceof UnionType) {
353
377
  tmp = listOf(toUnion(this, _this__u8e3s4, name));
@@ -362,9 +386,9 @@ protoOf(AvroConverter).o47 = function (_this__u8e3s4, name) {
362
386
  }
363
387
  return tmp;
364
388
  };
365
- protoOf(AvroConverter).p47 = function (_this__u8e3s4, name, $super) {
389
+ protoOf(AvroConverter).c49 = function (_this__u8e3s4, name, $super) {
366
390
  name = name === VOID ? '' : name;
367
- return $super === VOID ? this.o47(_this__u8e3s4, name) : $super.o47.call(this, _this__u8e3s4, name);
391
+ return $super === VOID ? this.b49(_this__u8e3s4, name) : $super.b49.call(this, _this__u8e3s4, name);
368
392
  };
369
393
  var AvroConverter_instance;
370
394
  function AvroConverter_getInstance() {
@@ -372,16 +396,19 @@ function AvroConverter_getInstance() {
372
396
  new AvroConverter();
373
397
  return AvroConverter_instance;
374
398
  }
375
- function findType($this, _this__u8e3s4, name) {
399
+ function isNonNull($this, $receiver) {
400
+ return !($receiver == null) && !equals($receiver, NullValue_instance);
401
+ }
402
+ function findType($this, $receiver, name) {
376
403
  // Inline function 'kotlin.collections.find' call
377
- var tmp0 = NonEmptyList__toList_impl_t5xcy2(_this__u8e3s4.gr_1);
404
+ var tmp0 = NonEmptyList__toList_impl_t5xcy2($receiver.zo_1);
378
405
  var tmp$ret$1;
379
406
  $l$block: {
380
407
  // Inline function 'kotlin.collections.firstOrNull' call
381
408
  var _iterator__ex2g4s = tmp0.t();
382
409
  while (_iterator__ex2g4s.u()) {
383
410
  var element = _iterator__ex2g4s.v();
384
- if (element.mr().m1() === name) {
411
+ if (element.tr().m1() === name) {
385
412
  tmp$ret$1 = element;
386
413
  break $l$block;
387
414
  }
@@ -392,14 +419,18 @@ function findType($this, _this__u8e3s4, name) {
392
419
  }
393
420
  function AvroJsonEmitter() {
394
421
  AvroJsonEmitter_instance = this;
395
- this.q47_1 = FileExtension_JSON_getInstance();
422
+ this.d49_1 = FileExtension_JSON_getInstance();
423
+ this.e49_1 = true;
396
424
  }
397
- protoOf(AvroJsonEmitter).kr = function () {
398
- return this.q47_1;
425
+ protoOf(AvroJsonEmitter).op = function () {
426
+ return this.d49_1;
399
427
  };
400
- protoOf(AvroJsonEmitter).no = function (ast, logger) {
428
+ protoOf(AvroJsonEmitter).np = function () {
429
+ return this.e49_1;
430
+ };
431
+ protoOf(AvroJsonEmitter).mo = function (ast, logger) {
401
432
  // Inline function 'arrow.core.NonEmptyList.map' call
402
- var this_0 = ast.hr_1;
433
+ var this_0 = ast.xo_1;
403
434
  // Inline function 'kotlin.collections.map' call
404
435
  var this_1 = _NonEmptyList___get_all__impl__pmf509(this_0);
405
436
  // Inline function 'kotlin.collections.mapTo' call
@@ -407,9 +438,9 @@ protoOf(AvroJsonEmitter).no = function (ast, logger) {
407
438
  var _iterator__ex2g4s = this_1.t();
408
439
  while (_iterator__ex2g4s.u()) {
409
440
  var item = _iterator__ex2g4s.v();
410
- logger.ir('Emitting Nodes from ' + item.fr_1.co_1 + ' ');
411
- var tmp$ret$0 = AvroJsonEmitter_getInstance().r47(item);
412
- destination.x(tmp$ret$0);
441
+ logger.qr('Emitting Nodes from ' + item.yo_1.bo_1 + ' ');
442
+ var tmp$ret$3 = AvroJsonEmitter_getInstance().f49(item);
443
+ destination.x(tmp$ret$3);
413
444
  }
414
445
  // Inline function 'arrow.core.NonEmptyList.map' call
415
446
  var this_2 = _NonEmptyList___init__impl__fxd0xp(destination);
@@ -423,11 +454,11 @@ protoOf(AvroJsonEmitter).no = function (ast, logger) {
423
454
  // Inline function 'kotlinx.serialization.encodeToString' call
424
455
  var this_4 = Default_getInstance();
425
456
  // Inline function 'kotlinx.serialization.serializer' call
426
- var this_5 = this_4.w23();
457
+ var this_5 = this_4.c25();
427
458
  // Inline function 'kotlinx.serialization.internal.cast' call
428
459
  var this_6 = serializer(this_5, createKType(getKClass(KtList), arrayOf([createInvariantKTypeProjection(createKType(getKClass(Type_0), arrayOf([]), false))]), false));
429
- var tmp$ret$5 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
430
- var tmp$ret$7 = this_4.b2l(tmp$ret$5, item_0);
460
+ var tmp$ret$9 = isInterface(this_6, KSerializer) ? this_6 : THROW_CCE();
461
+ var tmp$ret$7 = this_4.h2m(tmp$ret$9, item_0);
431
462
  destination_0.x(tmp$ret$7);
432
463
  }
433
464
  // Inline function 'arrow.core.NonEmptyList.map' call
@@ -439,45 +470,45 @@ protoOf(AvroJsonEmitter).no = function (ast, logger) {
439
470
  var _iterator__ex2g4s_1 = this_8.t();
440
471
  while (_iterator__ex2g4s_1.u()) {
441
472
  var item_1 = _iterator__ex2g4s_1.v();
442
- var tmp$ret$11 = new Emitted('schema.avsc', item_1);
443
- destination_1.x(tmp$ret$11);
473
+ var tmp$ret$14 = new Emitted('schema.avsc', item_1);
474
+ destination_1.x(tmp$ret$14);
444
475
  }
445
476
  return _NonEmptyList___init__impl__fxd0xp(destination_1);
446
477
  };
447
- protoOf(AvroJsonEmitter).s47 = function (_this__u8e3s4) {
448
- return new EnumType('enum', _this__u8e3s4.yr_1.m1(), VOID, toList(_this__u8e3s4.zr_1));
478
+ protoOf(AvroJsonEmitter).g49 = function (_this__u8e3s4) {
479
+ return new EnumType('enum', _this__u8e3s4.gs_1.m1(), VOID, toList(_this__u8e3s4.hs_1));
449
480
  };
450
- protoOf(AvroJsonEmitter).t47 = function (_this__u8e3s4) {
451
- var tmp = _this__u8e3s4.aq_1.m1();
481
+ protoOf(AvroJsonEmitter).h49 = function (_this__u8e3s4) {
482
+ var tmp = _this__u8e3s4.rq_1.m1();
452
483
  // Inline function 'kotlin.collections.map' call
453
- var this_0 = _this__u8e3s4.bq_1;
484
+ var this_0 = _this__u8e3s4.sq_1;
454
485
  // Inline function 'kotlin.collections.mapTo' call
455
486
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
456
487
  var _iterator__ex2g4s = this_0.t();
457
488
  while (_iterator__ex2g4s.u()) {
458
489
  var item = _iterator__ex2g4s.v();
459
- var tmp$ret$0 = new SimpleType(item.m1());
460
- destination.x(tmp$ret$0);
490
+ var tmp$ret$2 = new SimpleType(item.m1());
491
+ destination.x(tmp$ret$2);
461
492
  }
462
493
  return new UnionType(tmp, TypeList_init_$Create$(destination));
463
494
  };
464
- protoOf(AvroJsonEmitter).u47 = function (_this__u8e3s4, module_0, hasEmitted) {
495
+ protoOf(AvroJsonEmitter).i49 = function (_this__u8e3s4, module_0, hasEmitted) {
465
496
  var tmp;
466
497
  if (_this__u8e3s4 instanceof Dict) {
467
- tmp = new MapType('map', this.u47(_this__u8e3s4.bp_1, module_0, hasEmitted));
498
+ tmp = new MapType('map', this.i49(_this__u8e3s4.tp_1, module_0, hasEmitted));
468
499
  } else {
469
500
  if (_this__u8e3s4 instanceof Iterable) {
470
- tmp = new ArrayType('array', this.u47(_this__u8e3s4.yo_1, module_0, hasEmitted));
501
+ tmp = new ArrayType('array', this.i49(_this__u8e3s4.qp_1, module_0, hasEmitted));
471
502
  } else {
472
503
  if (_this__u8e3s4 instanceof Primitive) {
473
- var type = _this__u8e3s4.wt_1;
504
+ var type = _this__u8e3s4.j18_1;
474
505
  var tmp_0;
475
506
  if (type instanceof String_0) {
476
507
  tmp_0 = new SimpleType('string');
477
508
  } else {
478
509
  if (type instanceof Integer) {
479
510
  var tmp_1;
480
- switch (type.tu_1.c3_1) {
511
+ switch (type.r18_1.c3_1) {
481
512
  case 0:
482
513
  tmp_1 = new SimpleType('int');
483
514
  break;
@@ -492,7 +523,7 @@ protoOf(AvroJsonEmitter).u47 = function (_this__u8e3s4, module_0, hasEmitted) {
492
523
  } else {
493
524
  if (type instanceof Number_0) {
494
525
  var tmp_2;
495
- switch (type.wu_1.c3_1) {
526
+ switch (type.m18_1.c3_1) {
496
527
  case 0:
497
528
  tmp_2 = new SimpleType('float');
498
529
  break;
@@ -520,37 +551,39 @@ protoOf(AvroJsonEmitter).u47 = function (_this__u8e3s4, module_0, hasEmitted) {
520
551
  tmp = tmp_0;
521
552
  } else {
522
553
  if (_this__u8e3s4 instanceof Custom) {
523
- var def = findType(this, module_0, _this__u8e3s4.lv_1);
554
+ var def = findType(this, module_0, _this__u8e3s4.h18_1);
524
555
  var tmp_3;
525
556
  if (def instanceof Type) {
526
557
  var tmp_4;
527
- if (hasEmitted.v1(def.eq_1.m1())) {
558
+ if (hasEmitted.v1(def.cp_1.m1())) {
528
559
  // Inline function 'kotlin.let' call
529
- var p0 = def.eq_1.m1();
560
+ var p0 = def.cp_1.m1();
530
561
  tmp_4 = new SimpleType(p0);
531
562
  } else {
532
563
  // Inline function 'kotlin.also' call
533
- hasEmitted.x(def.eq_1.m1());
534
- tmp_4 = this.v47(def, module_0, hasEmitted);
564
+ hasEmitted.x(def.cp_1.m1());
565
+ tmp_4 = this.j49(def, module_0, hasEmitted);
535
566
  }
536
567
  tmp_3 = tmp_4;
537
568
  } else {
538
569
  if (def instanceof Enum) {
539
- tmp_3 = new SimpleType(def.yr_1.m1());
570
+ tmp_3 = new SimpleType(def.gs_1.m1());
540
571
  } else {
541
572
  if (def instanceof Refined) {
542
573
  tmp_3 = new SimpleType('string');
543
574
  } else {
544
- tmp_3 = new SimpleType(_this__u8e3s4.lv_1);
575
+ tmp_3 = new SimpleType(_this__u8e3s4.h18_1);
545
576
  }
546
577
  }
547
578
  }
548
579
  tmp = tmp_3;
549
580
  } else {
550
581
  if (_this__u8e3s4 instanceof Any) {
582
+ // Inline function 'kotlin.TODO' call
551
583
  throw new NotImplementedError();
552
584
  } else {
553
585
  if (_this__u8e3s4 instanceof Unit) {
586
+ // Inline function 'kotlin.TODO' call
554
587
  throw new NotImplementedError();
555
588
  } else {
556
589
  noWhenBranchMatchedException();
@@ -562,42 +595,40 @@ protoOf(AvroJsonEmitter).u47 = function (_this__u8e3s4, module_0, hasEmitted) {
562
595
  }
563
596
  return tmp;
564
597
  };
565
- protoOf(AvroJsonEmitter).w47 = function (_this__u8e3s4, module_0, hasEmitted) {
566
- var ref = _this__u8e3s4.tp_1;
598
+ protoOf(AvroJsonEmitter).k49 = function (_this__u8e3s4, module_0, hasEmitted) {
599
+ var ref = _this__u8e3s4.hp_1;
567
600
  var tmp;
568
601
  if (ref instanceof Iterable) {
569
- tmp = new ArrayType('array', this.u47(ref.yo_1, module_0, hasEmitted));
602
+ tmp = new ArrayType('array', this.i49(ref.qp_1, module_0, hasEmitted));
570
603
  } else {
571
- tmp = this.u47(ref, module_0, hasEmitted);
604
+ tmp = this.i49(ref, module_0, hasEmitted);
572
605
  }
573
606
  return tmp;
574
607
  };
575
- protoOf(AvroJsonEmitter).v47 = function (_this__u8e3s4, module_0, hasEmitted) {
576
- var tmp0_name = _this__u8e3s4.eq_1.m1();
608
+ protoOf(AvroJsonEmitter).j49 = function (_this__u8e3s4, module_0, hasEmitted) {
609
+ var tmp0_name = _this__u8e3s4.cp_1.m1();
577
610
  // Inline function 'kotlin.collections.map' call
578
- var this_0 = _this__u8e3s4.fq_1.kp_1;
611
+ var this_0 = get_fields(_this__u8e3s4.dp_1);
579
612
  // Inline function 'kotlin.collections.mapTo' call
580
613
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
581
614
  var _iterator__ex2g4s = this_0.t();
582
615
  while (_iterator__ex2g4s.u()) {
583
616
  var item = _iterator__ex2g4s.v();
584
- var tmp = item.sp_1.m1();
585
- var tmp_0;
586
- if (item.tp_1.dv()) {
587
- tmp_0 = new TypeList([new SimpleType('null'), AvroJsonEmitter_getInstance().w47(item, module_0, hasEmitted)]);
588
- } else {
589
- tmp_0 = new TypeList([AvroJsonEmitter_getInstance().w47(item, module_0, hasEmitted)]);
590
- }
591
- var tmp$ret$0 = new Field_0(tmp, tmp_0);
592
- destination.x(tmp$ret$0);
617
+ var tmp = item.gp_1.m1();
618
+ // Inline function 'kotlin.let' call
619
+ var type = AvroJsonEmitter_getInstance().k49(item, module_0, hasEmitted);
620
+ var tmp_0 = !item.hp_1.et() ? new TypeList([type]) : isNonNull(AvroJsonEmitter_getInstance(), item.ip_1) ? new TypeList([type, new SimpleType('null')]) : new TypeList([new SimpleType('null'), type]);
621
+ var tmp0_safe_receiver = item.ip_1;
622
+ var tmp$ret$2 = new Field_0(tmp, tmp_0, VOID, tmp0_safe_receiver == null ? null : toJsonElement(tmp0_safe_receiver));
623
+ destination.x(tmp$ret$2);
593
624
  }
594
625
  return new RecordType('record', tmp0_name, VOID, destination);
595
626
  };
596
- protoOf(AvroJsonEmitter).r47 = function (module_0) {
627
+ protoOf(AvroJsonEmitter).f49 = function (module_0) {
597
628
  // Inline function 'kotlin.collections.mutableListOf' call
598
629
  var hasEmitted = ArrayList_init_$Create$_0();
599
630
  // Inline function 'kotlin.collections.mapNotNull' call
600
- var tmp0 = NonEmptyList__toList_impl_t5xcy2(module_0.gr_1);
631
+ var tmp0 = NonEmptyList__toList_impl_t5xcy2(module_0.zo_1);
601
632
  // Inline function 'kotlin.collections.mapNotNullTo' call
602
633
  var destination = ArrayList_init_$Create$_0();
603
634
  // Inline function 'kotlin.collections.forEach' call
@@ -606,13 +637,13 @@ protoOf(AvroJsonEmitter).r47 = function (module_0) {
606
637
  var element = _iterator__ex2g4s.v();
607
638
  var tmp;
608
639
  if (element instanceof Type) {
609
- tmp = AvroJsonEmitter_getInstance().v47(element, module_0, hasEmitted);
640
+ tmp = AvroJsonEmitter_getInstance().j49(element, module_0, hasEmitted);
610
641
  } else {
611
642
  if (element instanceof Enum) {
612
- tmp = AvroJsonEmitter_getInstance().s47(element);
643
+ tmp = AvroJsonEmitter_getInstance().g49(element);
613
644
  } else {
614
645
  if (element instanceof Union) {
615
- tmp = AvroJsonEmitter_getInstance().t47(element);
646
+ tmp = AvroJsonEmitter_getInstance().h49(element);
616
647
  } else {
617
648
  tmp = null;
618
649
  }
@@ -635,43 +666,49 @@ function AvroJsonEmitter_getInstance() {
635
666
  return AvroJsonEmitter_instance;
636
667
  }
637
668
  function AvroJsonParser$parse$lambda($this$Json) {
638
- $this$Json.w2l_1 = true;
639
- $this$Json.x2l_1 = true;
669
+ $this$Json.c2n_1 = true;
670
+ $this$Json.d2n_1 = true;
640
671
  return Unit_instance;
641
672
  }
642
673
  function AvroJsonParser() {
643
674
  }
644
- protoOf(AvroJsonParser).j46 = function (moduleContent, strict) {
675
+ protoOf(AvroJsonParser).v47 = function (moduleContent, strict) {
645
676
  var json = Json(VOID, AvroJsonParser$parse$lambda);
646
677
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
647
- var string = moduleContent.xn_1;
678
+ var string = moduleContent.wn_1;
648
679
  // Inline function 'kotlinx.serialization.serializer' call
649
- var this_0 = json.w23();
680
+ var this_0 = json.c25();
650
681
  // Inline function 'kotlinx.serialization.internal.cast' call
651
682
  var this_1 = serializer(this_0, createKType(getKClass(Type_0), arrayOf([]), false));
652
683
  var tmp$ret$1 = isInterface(this_1, KSerializer) ? this_1 : THROW_CCE();
653
- var avro = json.c2l(tmp$ret$1, string);
654
- var tmp = AvroConverter_getInstance().p47(avro);
684
+ var avro = json.i2m(tmp$ret$1, string);
685
+ var tmp = AvroConverter_getInstance().c49(avro);
655
686
  var tmp_0;
656
687
  if (avro instanceof RecordType) {
657
- tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.e47_1), new Custom(avro.e47_1, false));
688
+ tmp_0 = new Channel(null, emptyList(), new DefinitionIdentifier(avro.r48_1), new Custom(avro.r48_1, false));
658
689
  } else {
659
690
  if (avro instanceof ArrayType) {
691
+ // Inline function 'kotlin.TODO' call
660
692
  throw new NotImplementedError();
661
693
  } else {
662
694
  if (avro instanceof EnumType) {
695
+ // Inline function 'kotlin.TODO' call
663
696
  throw new NotImplementedError();
664
697
  } else {
665
698
  if (avro instanceof SimpleType) {
699
+ // Inline function 'kotlin.TODO' call
666
700
  throw new NotImplementedError();
667
701
  } else {
668
702
  if (avro instanceof LogicalType) {
703
+ // Inline function 'kotlin.TODO' call
669
704
  throw new NotImplementedError();
670
705
  } else {
671
706
  if (avro instanceof MapType) {
707
+ // Inline function 'kotlin.TODO' call
672
708
  throw new NotImplementedError();
673
709
  } else {
674
710
  if (avro instanceof UnionType) {
711
+ // Inline function 'kotlin.TODO' call
675
712
  throw new NotImplementedError();
676
713
  } else {
677
714
  noWhenBranchMatchedException();
@@ -683,16 +720,27 @@ protoOf(AvroJsonParser).j46 = function (moduleContent, strict) {
683
720
  }
684
721
  }
685
722
  var result = plus_0(tmp, tmp_0);
686
- var tmp1_elvis_lhs = toNonEmptyListOrNull(result);
723
+ // Inline function 'kotlin.collections.map' call
724
+ // Inline function 'kotlin.collections.mapTo' call
725
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(result, 10));
726
+ var _iterator__ex2g4s = result.t();
727
+ while (_iterator__ex2g4s.u()) {
728
+ var item = _iterator__ex2g4s.v();
729
+ var tmp$ret$11 = withValidEnumDefaults(item, result);
730
+ destination.x(tmp$ret$11);
731
+ }
732
+ var definitions = destination;
733
+ var tmp1_elvis_lhs = toNonEmptyListOrNull(definitions);
687
734
  var tmp_1;
688
735
  var tmp_2 = tmp1_elvis_lhs;
689
736
  if ((tmp_2 == null ? null : new NonEmptyList(tmp_2)) == null) {
737
+ // Inline function 'kotlin.error' call
690
738
  var message = 'Cannot yield non empty AST';
691
739
  throw IllegalStateException_init_$Create$(toString(message));
692
740
  } else {
693
741
  tmp_1 = tmp1_elvis_lhs;
694
742
  }
695
- return new Root(nonEmptyListOf(new Module(moduleContent.wn_1, tmp_1), []));
743
+ return new Root(nonEmptyListOf(new Module(moduleContent.vn_1, tmp_1), []));
696
744
  };
697
745
  var AvroJsonParser_instance;
698
746
  function AvroJsonParser_getInstance() {
@@ -704,114 +752,6 @@ var Companion_instance;
704
752
  function Companion_getInstance() {
705
753
  return Companion_instance;
706
754
  }
707
- function $serializer() {
708
- $serializer_instance = this;
709
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.Field', this, 4);
710
- tmp0_serialDesc.v2a('name', false);
711
- tmp0_serialDesc.v2a('type', false);
712
- tmp0_serialDesc.v2a('doc', true);
713
- tmp0_serialDesc.v2a('default', true);
714
- this.x47_1 = tmp0_serialDesc;
715
- }
716
- protoOf($serializer).y47 = function (encoder, value) {
717
- var tmp0_desc = this.x47_1;
718
- var tmp1_output = encoder.h23(tmp0_desc);
719
- tmp1_output.w24(tmp0_desc, 0, value.k47_1);
720
- tmp1_output.y24(tmp0_desc, 1, TypeListSerializer_getInstance(), value.l47_1);
721
- if (tmp1_output.e25(tmp0_desc, 2) ? true : !(value.m47_1 == null)) {
722
- tmp1_output.a25(tmp0_desc, 2, StringSerializer_getInstance(), value.m47_1);
723
- }
724
- if (tmp1_output.e25(tmp0_desc, 3) ? true : !(value.n47_1 == null)) {
725
- tmp1_output.a25(tmp0_desc, 3, StringSerializer_getInstance(), value.n47_1);
726
- }
727
- tmp1_output.i23(tmp0_desc);
728
- };
729
- protoOf($serializer).i20 = function (encoder, value) {
730
- return this.y47(encoder, value instanceof Field_0 ? value : THROW_CCE());
731
- };
732
- protoOf($serializer).j20 = function (decoder) {
733
- var tmp0_desc = this.x47_1;
734
- var tmp1_flag = true;
735
- var tmp2_index = 0;
736
- var tmp3_bitMask0 = 0;
737
- var tmp4_local0 = null;
738
- var tmp5_local1 = null;
739
- var tmp6_local2 = null;
740
- var tmp7_local3 = null;
741
- var tmp8_input = decoder.h23(tmp0_desc);
742
- if (tmp8_input.x23()) {
743
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
744
- tmp3_bitMask0 = tmp3_bitMask0 | 1;
745
- tmp5_local1 = tmp8_input.t23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
746
- tmp3_bitMask0 = tmp3_bitMask0 | 2;
747
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
748
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
749
- tmp7_local3 = tmp8_input.v23(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
750
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
751
- } else
752
- while (tmp1_flag) {
753
- tmp2_index = tmp8_input.y23(tmp0_desc);
754
- switch (tmp2_index) {
755
- case -1:
756
- tmp1_flag = false;
757
- break;
758
- case 0:
759
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
760
- tmp3_bitMask0 = tmp3_bitMask0 | 1;
761
- break;
762
- case 1:
763
- tmp5_local1 = tmp8_input.t23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
764
- tmp3_bitMask0 = tmp3_bitMask0 | 2;
765
- break;
766
- case 2:
767
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
768
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
769
- break;
770
- case 3:
771
- tmp7_local3 = tmp8_input.v23(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
772
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
773
- break;
774
- default:
775
- throw UnknownFieldException_init_$Create$(tmp2_index);
776
- }
777
- }
778
- tmp8_input.i23(tmp0_desc);
779
- return Field_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
780
- };
781
- protoOf($serializer).h20 = function () {
782
- return this.x47_1;
783
- };
784
- protoOf($serializer).k2b = function () {
785
- // Inline function 'kotlin.arrayOf' call
786
- // Inline function 'kotlin.js.unsafeCast' call
787
- // Inline function 'kotlin.js.asDynamic' call
788
- return [StringSerializer_getInstance(), TypeListSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
789
- };
790
- var $serializer_instance;
791
- function $serializer_getInstance() {
792
- if ($serializer_instance == null)
793
- new $serializer();
794
- return $serializer_instance;
795
- }
796
- function Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, $this) {
797
- if (!(3 === (3 & seen0))) {
798
- throwMissingFieldException(seen0, 3, $serializer_getInstance().x47_1);
799
- }
800
- $this.k47_1 = name;
801
- $this.l47_1 = type;
802
- if (0 === (seen0 & 4))
803
- $this.m47_1 = null;
804
- else
805
- $this.m47_1 = doc;
806
- if (0 === (seen0 & 8))
807
- $this.n47_1 = null;
808
- else
809
- $this.n47_1 = default_0;
810
- return $this;
811
- }
812
- function Field_init_$Create$(seen0, name, type, doc, default_0, serializationConstructorMarker) {
813
- return Field_init_$Init$(seen0, name, type, doc, default_0, serializationConstructorMarker, objectCreate(protoOf(Field_0)));
814
- }
815
755
  function TypeList_init_$Init$(type, $this) {
816
756
  // Inline function 'kotlin.collections.toTypedArray' call
817
757
  var tmp$ret$0 = copyToArray(type);
@@ -829,11 +769,11 @@ function Companion_getInstance_0() {
829
769
  }
830
770
  function Companion_1() {
831
771
  }
832
- protoOf(Companion_1).i2n = function () {
772
+ protoOf(Companion_1).p2o = function () {
833
773
  return TypeSerializer_getInstance();
834
774
  };
835
- protoOf(Companion_1).v2b = function (typeParamsSerializers) {
836
- return this.i2n();
775
+ protoOf(Companion_1).b2d = function (typeParamsSerializers) {
776
+ return this.p2o();
837
777
  };
838
778
  var Companion_instance_1;
839
779
  function Companion_getInstance_1() {
@@ -845,76 +785,76 @@ var Companion_instance_2;
845
785
  function Companion_getInstance_2() {
846
786
  return Companion_instance_2;
847
787
  }
848
- function $serializer_0() {
849
- $serializer_instance_0 = this;
788
+ function $serializer() {
789
+ $serializer_instance = this;
850
790
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.SimpleType', this, 1);
851
- tmp0_serialDesc.v2a('value', false);
852
- this.z47_1 = tmp0_serialDesc;
791
+ tmp0_serialDesc.b2c('value', false);
792
+ this.l49_1 = tmp0_serialDesc;
853
793
  }
854
- protoOf($serializer_0).a48 = function (encoder, value) {
855
- var tmp0_desc = this.z47_1;
856
- var tmp1_output = encoder.h23(tmp0_desc);
857
- tmp1_output.w24(tmp0_desc, 0, value.q46_1);
858
- tmp1_output.i23(tmp0_desc);
794
+ protoOf($serializer).m49 = function (encoder, value) {
795
+ var tmp0_desc = this.l49_1;
796
+ var tmp1_output = encoder.n24(tmp0_desc);
797
+ tmp1_output.c26(tmp0_desc, 0, value.d48_1);
798
+ tmp1_output.o24(tmp0_desc);
859
799
  };
860
- protoOf($serializer_0).i20 = function (encoder, value) {
861
- return this.a48(encoder, value instanceof SimpleType ? value : THROW_CCE());
800
+ protoOf($serializer).o21 = function (encoder, value) {
801
+ return this.m49(encoder, value instanceof SimpleType ? value : THROW_CCE());
862
802
  };
863
- protoOf($serializer_0).j20 = function (decoder) {
864
- var tmp0_desc = this.z47_1;
803
+ protoOf($serializer).p21 = function (decoder) {
804
+ var tmp0_desc = this.l49_1;
865
805
  var tmp1_flag = true;
866
806
  var tmp2_index = 0;
867
807
  var tmp3_bitMask0 = 0;
868
808
  var tmp4_local0 = null;
869
- var tmp5_input = decoder.h23(tmp0_desc);
870
- if (tmp5_input.x23()) {
871
- tmp4_local0 = tmp5_input.r23(tmp0_desc, 0);
809
+ var tmp5_input = decoder.n24(tmp0_desc);
810
+ if (tmp5_input.d25()) {
811
+ tmp4_local0 = tmp5_input.x24(tmp0_desc, 0);
872
812
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
873
813
  } else
874
814
  while (tmp1_flag) {
875
- tmp2_index = tmp5_input.y23(tmp0_desc);
815
+ tmp2_index = tmp5_input.e25(tmp0_desc);
876
816
  switch (tmp2_index) {
877
817
  case -1:
878
818
  tmp1_flag = false;
879
819
  break;
880
820
  case 0:
881
- tmp4_local0 = tmp5_input.r23(tmp0_desc, 0);
821
+ tmp4_local0 = tmp5_input.x24(tmp0_desc, 0);
882
822
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
883
823
  break;
884
824
  default:
885
825
  throw UnknownFieldException_init_$Create$(tmp2_index);
886
826
  }
887
827
  }
888
- tmp5_input.i23(tmp0_desc);
828
+ tmp5_input.o24(tmp0_desc);
889
829
  return SimpleType_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
890
830
  };
891
- protoOf($serializer_0).h20 = function () {
892
- return this.z47_1;
831
+ protoOf($serializer).n21 = function () {
832
+ return this.l49_1;
893
833
  };
894
- protoOf($serializer_0).k2b = function () {
834
+ protoOf($serializer).q2c = function () {
895
835
  // Inline function 'kotlin.arrayOf' call
896
836
  // Inline function 'kotlin.js.unsafeCast' call
897
837
  // Inline function 'kotlin.js.asDynamic' call
898
838
  return [StringSerializer_getInstance()];
899
839
  };
900
- var $serializer_instance_0;
901
- function $serializer_getInstance_0() {
902
- if ($serializer_instance_0 == null)
903
- new $serializer_0();
904
- return $serializer_instance_0;
840
+ var $serializer_instance;
841
+ function $serializer_getInstance() {
842
+ if ($serializer_instance == null)
843
+ new $serializer();
844
+ return $serializer_instance;
905
845
  }
906
846
  function SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, $this) {
907
847
  if (!(1 === (1 & seen0))) {
908
- throwMissingFieldException(seen0, 1, $serializer_getInstance_0().z47_1);
848
+ throwMissingFieldException(seen0, 1, $serializer_getInstance().l49_1);
909
849
  }
910
- $this.q46_1 = value;
850
+ $this.d48_1 = value;
911
851
  return $this;
912
852
  }
913
853
  function SimpleType_init_$Create$(seen0, value, serializationConstructorMarker) {
914
854
  return SimpleType_init_$Init$(seen0, value, serializationConstructorMarker, objectCreate(protoOf(SimpleType)));
915
855
  }
916
856
  function AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq() {
917
- return new ArrayListSerializer($serializer_getInstance());
857
+ return new ArrayListSerializer(FieldSerializer_getInstance());
918
858
  }
919
859
  function Companion_3() {
920
860
  Companion_instance_3 = this;
@@ -923,10 +863,10 @@ function Companion_3() {
923
863
  // Inline function 'kotlin.arrayOf' call
924
864
  // Inline function 'kotlin.js.unsafeCast' call
925
865
  // Inline function 'kotlin.js.asDynamic' call
926
- tmp.b48_1 = [null, null, null, lazy(tmp_0, AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq), null];
866
+ tmp.n49_1 = [null, null, null, lazy(tmp_0, AvroModel$RecordType$Companion$$childSerializers$_anonymous__y3fmeq), null];
927
867
  }
928
- protoOf(Companion_3).i2n = function () {
929
- return $serializer_getInstance_1();
868
+ protoOf(Companion_3).p2o = function () {
869
+ return $serializer_getInstance_0();
930
870
  };
931
871
  var Companion_instance_3;
932
872
  function Companion_getInstance_3() {
@@ -934,36 +874,36 @@ function Companion_getInstance_3() {
934
874
  new Companion_3();
935
875
  return Companion_instance_3;
936
876
  }
937
- function $serializer_1() {
938
- $serializer_instance_1 = this;
877
+ function $serializer_0() {
878
+ $serializer_instance_0 = this;
939
879
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.RecordType', this, 5);
940
- tmp0_serialDesc.v2a('type', false);
941
- tmp0_serialDesc.v2a('name', false);
942
- tmp0_serialDesc.v2a('namespace', true);
943
- tmp0_serialDesc.v2a('fields', false);
944
- tmp0_serialDesc.v2a('doc', true);
945
- this.c48_1 = tmp0_serialDesc;
946
- }
947
- protoOf($serializer_1).d48 = function (encoder, value) {
948
- var tmp0_desc = this.c48_1;
949
- var tmp1_output = encoder.h23(tmp0_desc);
950
- var tmp2_cached = Companion_getInstance_3().b48_1;
951
- tmp1_output.w24(tmp0_desc, 0, value.d47_1);
952
- tmp1_output.w24(tmp0_desc, 1, value.e47_1);
953
- if (tmp1_output.e25(tmp0_desc, 2) ? true : !(value.f47_1 == null)) {
954
- tmp1_output.a25(tmp0_desc, 2, StringSerializer_getInstance(), value.f47_1);
880
+ tmp0_serialDesc.b2c('type', false);
881
+ tmp0_serialDesc.b2c('name', false);
882
+ tmp0_serialDesc.b2c('namespace', true);
883
+ tmp0_serialDesc.b2c('fields', false);
884
+ tmp0_serialDesc.b2c('doc', true);
885
+ this.o49_1 = tmp0_serialDesc;
886
+ }
887
+ protoOf($serializer_0).p49 = function (encoder, value) {
888
+ var tmp0_desc = this.o49_1;
889
+ var tmp1_output = encoder.n24(tmp0_desc);
890
+ var tmp2_cached = Companion_getInstance_3().n49_1;
891
+ tmp1_output.c26(tmp0_desc, 0, value.q48_1);
892
+ tmp1_output.c26(tmp0_desc, 1, value.r48_1);
893
+ if (tmp1_output.k26(tmp0_desc, 2) ? true : !(value.s48_1 == null)) {
894
+ tmp1_output.g26(tmp0_desc, 2, StringSerializer_getInstance(), value.s48_1);
955
895
  }
956
- tmp1_output.y24(tmp0_desc, 3, tmp2_cached[3].m1(), value.g47_1);
957
- if (tmp1_output.e25(tmp0_desc, 4) ? true : !(value.h47_1 == null)) {
958
- tmp1_output.a25(tmp0_desc, 4, StringSerializer_getInstance(), value.h47_1);
896
+ tmp1_output.e26(tmp0_desc, 3, tmp2_cached[3].m1(), value.t48_1);
897
+ if (tmp1_output.k26(tmp0_desc, 4) ? true : !(value.u48_1 == null)) {
898
+ tmp1_output.g26(tmp0_desc, 4, StringSerializer_getInstance(), value.u48_1);
959
899
  }
960
- tmp1_output.i23(tmp0_desc);
900
+ tmp1_output.o24(tmp0_desc);
961
901
  };
962
- protoOf($serializer_1).i20 = function (encoder, value) {
963
- return this.d48(encoder, value instanceof RecordType ? value : THROW_CCE());
902
+ protoOf($serializer_0).o21 = function (encoder, value) {
903
+ return this.p49(encoder, value instanceof RecordType ? value : THROW_CCE());
964
904
  };
965
- protoOf($serializer_1).j20 = function (decoder) {
966
- var tmp0_desc = this.c48_1;
905
+ protoOf($serializer_0).p21 = function (decoder) {
906
+ var tmp0_desc = this.o49_1;
967
907
  var tmp1_flag = true;
968
908
  var tmp2_index = 0;
969
909
  var tmp3_bitMask0 = 0;
@@ -972,84 +912,84 @@ protoOf($serializer_1).j20 = function (decoder) {
972
912
  var tmp6_local2 = null;
973
913
  var tmp7_local3 = null;
974
914
  var tmp8_local4 = null;
975
- var tmp9_input = decoder.h23(tmp0_desc);
976
- var tmp10_cached = Companion_getInstance_3().b48_1;
977
- if (tmp9_input.x23()) {
978
- tmp4_local0 = tmp9_input.r23(tmp0_desc, 0);
915
+ var tmp9_input = decoder.n24(tmp0_desc);
916
+ var tmp10_cached = Companion_getInstance_3().n49_1;
917
+ if (tmp9_input.d25()) {
918
+ tmp4_local0 = tmp9_input.x24(tmp0_desc, 0);
979
919
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
980
- tmp5_local1 = tmp9_input.r23(tmp0_desc, 1);
920
+ tmp5_local1 = tmp9_input.x24(tmp0_desc, 1);
981
921
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
982
- tmp6_local2 = tmp9_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
922
+ tmp6_local2 = tmp9_input.b25(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
983
923
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
984
- tmp7_local3 = tmp9_input.t23(tmp0_desc, 3, tmp10_cached[3].m1(), tmp7_local3);
924
+ tmp7_local3 = tmp9_input.z24(tmp0_desc, 3, tmp10_cached[3].m1(), tmp7_local3);
985
925
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
986
- tmp8_local4 = tmp9_input.v23(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
926
+ tmp8_local4 = tmp9_input.b25(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
987
927
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
988
928
  } else
989
929
  while (tmp1_flag) {
990
- tmp2_index = tmp9_input.y23(tmp0_desc);
930
+ tmp2_index = tmp9_input.e25(tmp0_desc);
991
931
  switch (tmp2_index) {
992
932
  case -1:
993
933
  tmp1_flag = false;
994
934
  break;
995
935
  case 0:
996
- tmp4_local0 = tmp9_input.r23(tmp0_desc, 0);
936
+ tmp4_local0 = tmp9_input.x24(tmp0_desc, 0);
997
937
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
998
938
  break;
999
939
  case 1:
1000
- tmp5_local1 = tmp9_input.r23(tmp0_desc, 1);
940
+ tmp5_local1 = tmp9_input.x24(tmp0_desc, 1);
1001
941
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1002
942
  break;
1003
943
  case 2:
1004
- tmp6_local2 = tmp9_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
944
+ tmp6_local2 = tmp9_input.b25(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1005
945
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1006
946
  break;
1007
947
  case 3:
1008
- tmp7_local3 = tmp9_input.t23(tmp0_desc, 3, tmp10_cached[3].m1(), tmp7_local3);
948
+ tmp7_local3 = tmp9_input.z24(tmp0_desc, 3, tmp10_cached[3].m1(), tmp7_local3);
1009
949
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1010
950
  break;
1011
951
  case 4:
1012
- tmp8_local4 = tmp9_input.v23(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
952
+ tmp8_local4 = tmp9_input.b25(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1013
953
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1014
954
  break;
1015
955
  default:
1016
956
  throw UnknownFieldException_init_$Create$(tmp2_index);
1017
957
  }
1018
958
  }
1019
- tmp9_input.i23(tmp0_desc);
959
+ tmp9_input.o24(tmp0_desc);
1020
960
  return RecordType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
1021
961
  };
1022
- protoOf($serializer_1).h20 = function () {
1023
- return this.c48_1;
962
+ protoOf($serializer_0).n21 = function () {
963
+ return this.o49_1;
1024
964
  };
1025
- protoOf($serializer_1).k2b = function () {
1026
- var tmp0_cached = Companion_getInstance_3().b48_1;
965
+ protoOf($serializer_0).q2c = function () {
966
+ var tmp0_cached = Companion_getInstance_3().n49_1;
1027
967
  // Inline function 'kotlin.arrayOf' call
1028
968
  // Inline function 'kotlin.js.unsafeCast' call
1029
969
  // Inline function 'kotlin.js.asDynamic' call
1030
970
  return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].m1(), get_nullable(StringSerializer_getInstance())];
1031
971
  };
1032
- var $serializer_instance_1;
1033
- function $serializer_getInstance_1() {
1034
- if ($serializer_instance_1 == null)
1035
- new $serializer_1();
1036
- return $serializer_instance_1;
972
+ var $serializer_instance_0;
973
+ function $serializer_getInstance_0() {
974
+ if ($serializer_instance_0 == null)
975
+ new $serializer_0();
976
+ return $serializer_instance_0;
1037
977
  }
1038
978
  function RecordType_init_$Init$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker, $this) {
1039
979
  if (!(11 === (11 & seen0))) {
1040
- throwMissingFieldException(seen0, 11, $serializer_getInstance_1().c48_1);
980
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_0().o49_1);
1041
981
  }
1042
- $this.d47_1 = type;
1043
- $this.e47_1 = name;
982
+ $this.q48_1 = type;
983
+ $this.r48_1 = name;
1044
984
  if (0 === (seen0 & 4))
1045
- $this.f47_1 = null;
985
+ $this.s48_1 = null;
1046
986
  else
1047
- $this.f47_1 = namespace;
1048
- $this.g47_1 = fields;
987
+ $this.s48_1 = namespace;
988
+ $this.t48_1 = fields;
1049
989
  if (0 === (seen0 & 16))
1050
- $this.h47_1 = null;
990
+ $this.u48_1 = null;
1051
991
  else
1052
- $this.h47_1 = doc;
992
+ $this.u48_1 = doc;
1053
993
  return $this;
1054
994
  }
1055
995
  function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, serializationConstructorMarker) {
@@ -1057,86 +997,86 @@ function RecordType_init_$Create$(seen0, type, name, namespace, fields, doc, ser
1057
997
  }
1058
998
  function Companion_4() {
1059
999
  }
1060
- protoOf(Companion_4).i2n = function () {
1061
- return $serializer_getInstance_2();
1000
+ protoOf(Companion_4).p2o = function () {
1001
+ return $serializer_getInstance_1();
1062
1002
  };
1063
1003
  var Companion_instance_4;
1064
1004
  function Companion_getInstance_4() {
1065
1005
  return Companion_instance_4;
1066
1006
  }
1067
- function $serializer_2() {
1068
- $serializer_instance_2 = this;
1007
+ function $serializer_1() {
1008
+ $serializer_instance_1 = this;
1069
1009
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.ArrayType', this, 2);
1070
- tmp0_serialDesc.v2a('type', false);
1071
- tmp0_serialDesc.v2a('items', false);
1072
- this.e48_1 = tmp0_serialDesc;
1073
- }
1074
- protoOf($serializer_2).f48 = function (encoder, value) {
1075
- var tmp0_desc = this.e48_1;
1076
- var tmp1_output = encoder.h23(tmp0_desc);
1077
- tmp1_output.w24(tmp0_desc, 0, value.i47_1);
1078
- tmp1_output.y24(tmp0_desc, 1, TypeSerializer_getInstance(), value.j47_1);
1079
- tmp1_output.i23(tmp0_desc);
1080
- };
1081
- protoOf($serializer_2).i20 = function (encoder, value) {
1082
- return this.f48(encoder, value instanceof ArrayType ? value : THROW_CCE());
1083
- };
1084
- protoOf($serializer_2).j20 = function (decoder) {
1085
- var tmp0_desc = this.e48_1;
1010
+ tmp0_serialDesc.b2c('type', false);
1011
+ tmp0_serialDesc.b2c('items', false);
1012
+ this.q49_1 = tmp0_serialDesc;
1013
+ }
1014
+ protoOf($serializer_1).r49 = function (encoder, value) {
1015
+ var tmp0_desc = this.q49_1;
1016
+ var tmp1_output = encoder.n24(tmp0_desc);
1017
+ tmp1_output.c26(tmp0_desc, 0, value.v48_1);
1018
+ tmp1_output.e26(tmp0_desc, 1, TypeSerializer_getInstance(), value.w48_1);
1019
+ tmp1_output.o24(tmp0_desc);
1020
+ };
1021
+ protoOf($serializer_1).o21 = function (encoder, value) {
1022
+ return this.r49(encoder, value instanceof ArrayType ? value : THROW_CCE());
1023
+ };
1024
+ protoOf($serializer_1).p21 = function (decoder) {
1025
+ var tmp0_desc = this.q49_1;
1086
1026
  var tmp1_flag = true;
1087
1027
  var tmp2_index = 0;
1088
1028
  var tmp3_bitMask0 = 0;
1089
1029
  var tmp4_local0 = null;
1090
1030
  var tmp5_local1 = null;
1091
- var tmp6_input = decoder.h23(tmp0_desc);
1092
- if (tmp6_input.x23()) {
1093
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1031
+ var tmp6_input = decoder.n24(tmp0_desc);
1032
+ if (tmp6_input.d25()) {
1033
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1094
1034
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1095
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1035
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1096
1036
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1097
1037
  } else
1098
1038
  while (tmp1_flag) {
1099
- tmp2_index = tmp6_input.y23(tmp0_desc);
1039
+ tmp2_index = tmp6_input.e25(tmp0_desc);
1100
1040
  switch (tmp2_index) {
1101
1041
  case -1:
1102
1042
  tmp1_flag = false;
1103
1043
  break;
1104
1044
  case 0:
1105
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1045
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1106
1046
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1107
1047
  break;
1108
1048
  case 1:
1109
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1049
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1110
1050
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1111
1051
  break;
1112
1052
  default:
1113
1053
  throw UnknownFieldException_init_$Create$(tmp2_index);
1114
1054
  }
1115
1055
  }
1116
- tmp6_input.i23(tmp0_desc);
1056
+ tmp6_input.o24(tmp0_desc);
1117
1057
  return ArrayType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1118
1058
  };
1119
- protoOf($serializer_2).h20 = function () {
1120
- return this.e48_1;
1059
+ protoOf($serializer_1).n21 = function () {
1060
+ return this.q49_1;
1121
1061
  };
1122
- protoOf($serializer_2).k2b = function () {
1062
+ protoOf($serializer_1).q2c = function () {
1123
1063
  // Inline function 'kotlin.arrayOf' call
1124
1064
  // Inline function 'kotlin.js.unsafeCast' call
1125
1065
  // Inline function 'kotlin.js.asDynamic' call
1126
1066
  return [StringSerializer_getInstance(), TypeSerializer_getInstance()];
1127
1067
  };
1128
- var $serializer_instance_2;
1129
- function $serializer_getInstance_2() {
1130
- if ($serializer_instance_2 == null)
1131
- new $serializer_2();
1132
- return $serializer_instance_2;
1068
+ var $serializer_instance_1;
1069
+ function $serializer_getInstance_1() {
1070
+ if ($serializer_instance_1 == null)
1071
+ new $serializer_1();
1072
+ return $serializer_instance_1;
1133
1073
  }
1134
1074
  function ArrayType_init_$Init$(seen0, type, items, serializationConstructorMarker, $this) {
1135
1075
  if (!(3 === (3 & seen0))) {
1136
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().e48_1);
1076
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_1().q49_1);
1137
1077
  }
1138
- $this.i47_1 = type;
1139
- $this.j47_1 = items;
1078
+ $this.v48_1 = type;
1079
+ $this.w48_1 = items;
1140
1080
  return $this;
1141
1081
  }
1142
1082
  function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMarker) {
@@ -1144,86 +1084,86 @@ function ArrayType_init_$Create$(seen0, type, items, serializationConstructorMar
1144
1084
  }
1145
1085
  function Companion_5() {
1146
1086
  }
1147
- protoOf(Companion_5).i2n = function () {
1148
- return $serializer_getInstance_3();
1087
+ protoOf(Companion_5).p2o = function () {
1088
+ return $serializer_getInstance_2();
1149
1089
  };
1150
1090
  var Companion_instance_5;
1151
1091
  function Companion_getInstance_5() {
1152
1092
  return Companion_instance_5;
1153
1093
  }
1154
- function $serializer_3() {
1155
- $serializer_instance_3 = this;
1094
+ function $serializer_2() {
1095
+ $serializer_instance_2 = this;
1156
1096
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.MapType', this, 2);
1157
- tmp0_serialDesc.v2a('type', false);
1158
- tmp0_serialDesc.v2a('values', false);
1159
- this.g48_1 = tmp0_serialDesc;
1160
- }
1161
- protoOf($serializer_3).h48 = function (encoder, value) {
1162
- var tmp0_desc = this.g48_1;
1163
- var tmp1_output = encoder.h23(tmp0_desc);
1164
- tmp1_output.w24(tmp0_desc, 0, value.t46_1);
1165
- tmp1_output.y24(tmp0_desc, 1, TypeSerializer_getInstance(), value.u46_1);
1166
- tmp1_output.i23(tmp0_desc);
1167
- };
1168
- protoOf($serializer_3).i20 = function (encoder, value) {
1169
- return this.h48(encoder, value instanceof MapType ? value : THROW_CCE());
1170
- };
1171
- protoOf($serializer_3).j20 = function (decoder) {
1172
- var tmp0_desc = this.g48_1;
1097
+ tmp0_serialDesc.b2c('type', false);
1098
+ tmp0_serialDesc.b2c('values', false);
1099
+ this.s49_1 = tmp0_serialDesc;
1100
+ }
1101
+ protoOf($serializer_2).t49 = function (encoder, value) {
1102
+ var tmp0_desc = this.s49_1;
1103
+ var tmp1_output = encoder.n24(tmp0_desc);
1104
+ tmp1_output.c26(tmp0_desc, 0, value.g48_1);
1105
+ tmp1_output.e26(tmp0_desc, 1, TypeSerializer_getInstance(), value.h48_1);
1106
+ tmp1_output.o24(tmp0_desc);
1107
+ };
1108
+ protoOf($serializer_2).o21 = function (encoder, value) {
1109
+ return this.t49(encoder, value instanceof MapType ? value : THROW_CCE());
1110
+ };
1111
+ protoOf($serializer_2).p21 = function (decoder) {
1112
+ var tmp0_desc = this.s49_1;
1173
1113
  var tmp1_flag = true;
1174
1114
  var tmp2_index = 0;
1175
1115
  var tmp3_bitMask0 = 0;
1176
1116
  var tmp4_local0 = null;
1177
1117
  var tmp5_local1 = null;
1178
- var tmp6_input = decoder.h23(tmp0_desc);
1179
- if (tmp6_input.x23()) {
1180
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1118
+ var tmp6_input = decoder.n24(tmp0_desc);
1119
+ if (tmp6_input.d25()) {
1120
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1181
1121
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1182
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1122
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1183
1123
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1184
1124
  } else
1185
1125
  while (tmp1_flag) {
1186
- tmp2_index = tmp6_input.y23(tmp0_desc);
1126
+ tmp2_index = tmp6_input.e25(tmp0_desc);
1187
1127
  switch (tmp2_index) {
1188
1128
  case -1:
1189
1129
  tmp1_flag = false;
1190
1130
  break;
1191
1131
  case 0:
1192
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1132
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1193
1133
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1194
1134
  break;
1195
1135
  case 1:
1196
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1136
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeSerializer_getInstance(), tmp5_local1);
1197
1137
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1198
1138
  break;
1199
1139
  default:
1200
1140
  throw UnknownFieldException_init_$Create$(tmp2_index);
1201
1141
  }
1202
1142
  }
1203
- tmp6_input.i23(tmp0_desc);
1143
+ tmp6_input.o24(tmp0_desc);
1204
1144
  return MapType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1205
1145
  };
1206
- protoOf($serializer_3).h20 = function () {
1207
- return this.g48_1;
1146
+ protoOf($serializer_2).n21 = function () {
1147
+ return this.s49_1;
1208
1148
  };
1209
- protoOf($serializer_3).k2b = function () {
1149
+ protoOf($serializer_2).q2c = function () {
1210
1150
  // Inline function 'kotlin.arrayOf' call
1211
1151
  // Inline function 'kotlin.js.unsafeCast' call
1212
1152
  // Inline function 'kotlin.js.asDynamic' call
1213
1153
  return [StringSerializer_getInstance(), TypeSerializer_getInstance()];
1214
1154
  };
1215
- var $serializer_instance_3;
1216
- function $serializer_getInstance_3() {
1217
- if ($serializer_instance_3 == null)
1218
- new $serializer_3();
1219
- return $serializer_instance_3;
1155
+ var $serializer_instance_2;
1156
+ function $serializer_getInstance_2() {
1157
+ if ($serializer_instance_2 == null)
1158
+ new $serializer_2();
1159
+ return $serializer_instance_2;
1220
1160
  }
1221
1161
  function MapType_init_$Init$(seen0, type, values, serializationConstructorMarker, $this) {
1222
1162
  if (!(3 === (3 & seen0))) {
1223
- throwMissingFieldException(seen0, 3, $serializer_getInstance_3().g48_1);
1163
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().s49_1);
1224
1164
  }
1225
- $this.t46_1 = type;
1226
- $this.u46_1 = values;
1165
+ $this.g48_1 = type;
1166
+ $this.h48_1 = values;
1227
1167
  return $this;
1228
1168
  }
1229
1169
  function MapType_init_$Create$(seen0, type, values, serializationConstructorMarker) {
@@ -1239,10 +1179,10 @@ function Companion_6() {
1239
1179
  // Inline function 'kotlin.arrayOf' call
1240
1180
  // Inline function 'kotlin.js.unsafeCast' call
1241
1181
  // Inline function 'kotlin.js.asDynamic' call
1242
- tmp.i48_1 = [null, null, null, lazy(tmp_0, AvroModel$EnumType$Companion$$childSerializers$_anonymous__vqfr9a)];
1182
+ tmp.u49_1 = [null, null, null, lazy(tmp_0, AvroModel$EnumType$Companion$$childSerializers$_anonymous__vqfr9a)];
1243
1183
  }
1244
- protoOf(Companion_6).i2n = function () {
1245
- return $serializer_getInstance_4();
1184
+ protoOf(Companion_6).p2o = function () {
1185
+ return $serializer_getInstance_3();
1246
1186
  };
1247
1187
  var Companion_instance_6;
1248
1188
  function Companion_getInstance_6() {
@@ -1250,32 +1190,32 @@ function Companion_getInstance_6() {
1250
1190
  new Companion_6();
1251
1191
  return Companion_instance_6;
1252
1192
  }
1253
- function $serializer_4() {
1254
- $serializer_instance_4 = this;
1193
+ function $serializer_3() {
1194
+ $serializer_instance_3 = this;
1255
1195
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.EnumType', this, 4);
1256
- tmp0_serialDesc.v2a('type', false);
1257
- tmp0_serialDesc.v2a('name', false);
1258
- tmp0_serialDesc.v2a('doc', true);
1259
- tmp0_serialDesc.v2a('symbols', false);
1260
- this.j48_1 = tmp0_serialDesc;
1261
- }
1262
- protoOf($serializer_4).k48 = function (encoder, value) {
1263
- var tmp0_desc = this.j48_1;
1264
- var tmp1_output = encoder.h23(tmp0_desc);
1265
- var tmp2_cached = Companion_getInstance_6().i48_1;
1266
- tmp1_output.w24(tmp0_desc, 0, value.z46_1);
1267
- tmp1_output.w24(tmp0_desc, 1, value.a47_1);
1268
- if (tmp1_output.e25(tmp0_desc, 2) ? true : !(value.b47_1 == null)) {
1269
- tmp1_output.a25(tmp0_desc, 2, StringSerializer_getInstance(), value.b47_1);
1196
+ tmp0_serialDesc.b2c('type', false);
1197
+ tmp0_serialDesc.b2c('name', false);
1198
+ tmp0_serialDesc.b2c('doc', true);
1199
+ tmp0_serialDesc.b2c('symbols', false);
1200
+ this.v49_1 = tmp0_serialDesc;
1201
+ }
1202
+ protoOf($serializer_3).w49 = function (encoder, value) {
1203
+ var tmp0_desc = this.v49_1;
1204
+ var tmp1_output = encoder.n24(tmp0_desc);
1205
+ var tmp2_cached = Companion_getInstance_6().u49_1;
1206
+ tmp1_output.c26(tmp0_desc, 0, value.m48_1);
1207
+ tmp1_output.c26(tmp0_desc, 1, value.n48_1);
1208
+ if (tmp1_output.k26(tmp0_desc, 2) ? true : !(value.o48_1 == null)) {
1209
+ tmp1_output.g26(tmp0_desc, 2, StringSerializer_getInstance(), value.o48_1);
1270
1210
  }
1271
- tmp1_output.y24(tmp0_desc, 3, tmp2_cached[3].m1(), value.c47_1);
1272
- tmp1_output.i23(tmp0_desc);
1211
+ tmp1_output.e26(tmp0_desc, 3, tmp2_cached[3].m1(), value.p48_1);
1212
+ tmp1_output.o24(tmp0_desc);
1273
1213
  };
1274
- protoOf($serializer_4).i20 = function (encoder, value) {
1275
- return this.k48(encoder, value instanceof EnumType ? value : THROW_CCE());
1214
+ protoOf($serializer_3).o21 = function (encoder, value) {
1215
+ return this.w49(encoder, value instanceof EnumType ? value : THROW_CCE());
1276
1216
  };
1277
- protoOf($serializer_4).j20 = function (decoder) {
1278
- var tmp0_desc = this.j48_1;
1217
+ protoOf($serializer_3).p21 = function (decoder) {
1218
+ var tmp0_desc = this.v49_1;
1279
1219
  var tmp1_flag = true;
1280
1220
  var tmp2_index = 0;
1281
1221
  var tmp3_bitMask0 = 0;
@@ -1283,74 +1223,74 @@ protoOf($serializer_4).j20 = function (decoder) {
1283
1223
  var tmp5_local1 = null;
1284
1224
  var tmp6_local2 = null;
1285
1225
  var tmp7_local3 = null;
1286
- var tmp8_input = decoder.h23(tmp0_desc);
1287
- var tmp9_cached = Companion_getInstance_6().i48_1;
1288
- if (tmp8_input.x23()) {
1289
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
1226
+ var tmp8_input = decoder.n24(tmp0_desc);
1227
+ var tmp9_cached = Companion_getInstance_6().u49_1;
1228
+ if (tmp8_input.d25()) {
1229
+ tmp4_local0 = tmp8_input.x24(tmp0_desc, 0);
1290
1230
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1291
- tmp5_local1 = tmp8_input.r23(tmp0_desc, 1);
1231
+ tmp5_local1 = tmp8_input.x24(tmp0_desc, 1);
1292
1232
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1293
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1233
+ tmp6_local2 = tmp8_input.b25(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1294
1234
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1295
- tmp7_local3 = tmp8_input.t23(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
1235
+ tmp7_local3 = tmp8_input.z24(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
1296
1236
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1297
1237
  } else
1298
1238
  while (tmp1_flag) {
1299
- tmp2_index = tmp8_input.y23(tmp0_desc);
1239
+ tmp2_index = tmp8_input.e25(tmp0_desc);
1300
1240
  switch (tmp2_index) {
1301
1241
  case -1:
1302
1242
  tmp1_flag = false;
1303
1243
  break;
1304
1244
  case 0:
1305
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
1245
+ tmp4_local0 = tmp8_input.x24(tmp0_desc, 0);
1306
1246
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1307
1247
  break;
1308
1248
  case 1:
1309
- tmp5_local1 = tmp8_input.r23(tmp0_desc, 1);
1249
+ tmp5_local1 = tmp8_input.x24(tmp0_desc, 1);
1310
1250
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1311
1251
  break;
1312
1252
  case 2:
1313
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1253
+ tmp6_local2 = tmp8_input.b25(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1314
1254
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1315
1255
  break;
1316
1256
  case 3:
1317
- tmp7_local3 = tmp8_input.t23(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
1257
+ tmp7_local3 = tmp8_input.z24(tmp0_desc, 3, tmp9_cached[3].m1(), tmp7_local3);
1318
1258
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1319
1259
  break;
1320
1260
  default:
1321
1261
  throw UnknownFieldException_init_$Create$(tmp2_index);
1322
1262
  }
1323
1263
  }
1324
- tmp8_input.i23(tmp0_desc);
1264
+ tmp8_input.o24(tmp0_desc);
1325
1265
  return EnumType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1326
1266
  };
1327
- protoOf($serializer_4).h20 = function () {
1328
- return this.j48_1;
1267
+ protoOf($serializer_3).n21 = function () {
1268
+ return this.v49_1;
1329
1269
  };
1330
- protoOf($serializer_4).k2b = function () {
1331
- var tmp0_cached = Companion_getInstance_6().i48_1;
1270
+ protoOf($serializer_3).q2c = function () {
1271
+ var tmp0_cached = Companion_getInstance_6().u49_1;
1332
1272
  // Inline function 'kotlin.arrayOf' call
1333
1273
  // Inline function 'kotlin.js.unsafeCast' call
1334
1274
  // Inline function 'kotlin.js.asDynamic' call
1335
1275
  return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), tmp0_cached[3].m1()];
1336
1276
  };
1337
- var $serializer_instance_4;
1338
- function $serializer_getInstance_4() {
1339
- if ($serializer_instance_4 == null)
1340
- new $serializer_4();
1341
- return $serializer_instance_4;
1277
+ var $serializer_instance_3;
1278
+ function $serializer_getInstance_3() {
1279
+ if ($serializer_instance_3 == null)
1280
+ new $serializer_3();
1281
+ return $serializer_instance_3;
1342
1282
  }
1343
1283
  function EnumType_init_$Init$(seen0, type, name, doc, symbols, serializationConstructorMarker, $this) {
1344
1284
  if (!(11 === (11 & seen0))) {
1345
- throwMissingFieldException(seen0, 11, $serializer_getInstance_4().j48_1);
1285
+ throwMissingFieldException(seen0, 11, $serializer_getInstance_3().v49_1);
1346
1286
  }
1347
- $this.z46_1 = type;
1348
- $this.a47_1 = name;
1287
+ $this.m48_1 = type;
1288
+ $this.n48_1 = name;
1349
1289
  if (0 === (seen0 & 4))
1350
- $this.b47_1 = null;
1290
+ $this.o48_1 = null;
1351
1291
  else
1352
- $this.b47_1 = doc;
1353
- $this.c47_1 = symbols;
1292
+ $this.o48_1 = doc;
1293
+ $this.p48_1 = symbols;
1354
1294
  return $this;
1355
1295
  }
1356
1296
  function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationConstructorMarker) {
@@ -1358,86 +1298,86 @@ function EnumType_init_$Create$(seen0, type, name, doc, symbols, serializationCo
1358
1298
  }
1359
1299
  function Companion_7() {
1360
1300
  }
1361
- protoOf(Companion_7).i2n = function () {
1362
- return $serializer_getInstance_5();
1301
+ protoOf(Companion_7).p2o = function () {
1302
+ return $serializer_getInstance_4();
1363
1303
  };
1364
1304
  var Companion_instance_7;
1365
1305
  function Companion_getInstance_7() {
1366
1306
  return Companion_instance_7;
1367
1307
  }
1368
- function $serializer_5() {
1369
- $serializer_instance_5 = this;
1308
+ function $serializer_4() {
1309
+ $serializer_instance_4 = this;
1370
1310
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.UnionType', this, 2);
1371
- tmp0_serialDesc.v2a('name', false);
1372
- tmp0_serialDesc.v2a('type', false);
1373
- this.l48_1 = tmp0_serialDesc;
1374
- }
1375
- protoOf($serializer_5).m48 = function (encoder, value) {
1376
- var tmp0_desc = this.l48_1;
1377
- var tmp1_output = encoder.h23(tmp0_desc);
1378
- tmp1_output.w24(tmp0_desc, 0, value.r46_1);
1379
- tmp1_output.y24(tmp0_desc, 1, TypeListSerializer_getInstance(), value.s46_1);
1380
- tmp1_output.i23(tmp0_desc);
1381
- };
1382
- protoOf($serializer_5).i20 = function (encoder, value) {
1383
- return this.m48(encoder, value instanceof UnionType ? value : THROW_CCE());
1384
- };
1385
- protoOf($serializer_5).j20 = function (decoder) {
1386
- var tmp0_desc = this.l48_1;
1311
+ tmp0_serialDesc.b2c('name', false);
1312
+ tmp0_serialDesc.b2c('type', false);
1313
+ this.x49_1 = tmp0_serialDesc;
1314
+ }
1315
+ protoOf($serializer_4).y49 = function (encoder, value) {
1316
+ var tmp0_desc = this.x49_1;
1317
+ var tmp1_output = encoder.n24(tmp0_desc);
1318
+ tmp1_output.c26(tmp0_desc, 0, value.e48_1);
1319
+ tmp1_output.e26(tmp0_desc, 1, TypeListSerializer_getInstance(), value.f48_1);
1320
+ tmp1_output.o24(tmp0_desc);
1321
+ };
1322
+ protoOf($serializer_4).o21 = function (encoder, value) {
1323
+ return this.y49(encoder, value instanceof UnionType ? value : THROW_CCE());
1324
+ };
1325
+ protoOf($serializer_4).p21 = function (decoder) {
1326
+ var tmp0_desc = this.x49_1;
1387
1327
  var tmp1_flag = true;
1388
1328
  var tmp2_index = 0;
1389
1329
  var tmp3_bitMask0 = 0;
1390
1330
  var tmp4_local0 = null;
1391
1331
  var tmp5_local1 = null;
1392
- var tmp6_input = decoder.h23(tmp0_desc);
1393
- if (tmp6_input.x23()) {
1394
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1332
+ var tmp6_input = decoder.n24(tmp0_desc);
1333
+ if (tmp6_input.d25()) {
1334
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1395
1335
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1396
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1336
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1397
1337
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1398
1338
  } else
1399
1339
  while (tmp1_flag) {
1400
- tmp2_index = tmp6_input.y23(tmp0_desc);
1340
+ tmp2_index = tmp6_input.e25(tmp0_desc);
1401
1341
  switch (tmp2_index) {
1402
1342
  case -1:
1403
1343
  tmp1_flag = false;
1404
1344
  break;
1405
1345
  case 0:
1406
- tmp4_local0 = tmp6_input.r23(tmp0_desc, 0);
1346
+ tmp4_local0 = tmp6_input.x24(tmp0_desc, 0);
1407
1347
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1408
1348
  break;
1409
1349
  case 1:
1410
- tmp5_local1 = tmp6_input.t23(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1350
+ tmp5_local1 = tmp6_input.z24(tmp0_desc, 1, TypeListSerializer_getInstance(), tmp5_local1);
1411
1351
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1412
1352
  break;
1413
1353
  default:
1414
1354
  throw UnknownFieldException_init_$Create$(tmp2_index);
1415
1355
  }
1416
1356
  }
1417
- tmp6_input.i23(tmp0_desc);
1357
+ tmp6_input.o24(tmp0_desc);
1418
1358
  return UnionType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1419
1359
  };
1420
- protoOf($serializer_5).h20 = function () {
1421
- return this.l48_1;
1360
+ protoOf($serializer_4).n21 = function () {
1361
+ return this.x49_1;
1422
1362
  };
1423
- protoOf($serializer_5).k2b = function () {
1363
+ protoOf($serializer_4).q2c = function () {
1424
1364
  // Inline function 'kotlin.arrayOf' call
1425
1365
  // Inline function 'kotlin.js.unsafeCast' call
1426
1366
  // Inline function 'kotlin.js.asDynamic' call
1427
1367
  return [StringSerializer_getInstance(), TypeListSerializer_getInstance()];
1428
1368
  };
1429
- var $serializer_instance_5;
1430
- function $serializer_getInstance_5() {
1431
- if ($serializer_instance_5 == null)
1432
- new $serializer_5();
1433
- return $serializer_instance_5;
1369
+ var $serializer_instance_4;
1370
+ function $serializer_getInstance_4() {
1371
+ if ($serializer_instance_4 == null)
1372
+ new $serializer_4();
1373
+ return $serializer_instance_4;
1434
1374
  }
1435
1375
  function UnionType_init_$Init$(seen0, name, type, serializationConstructorMarker, $this) {
1436
1376
  if (!(3 === (3 & seen0))) {
1437
- throwMissingFieldException(seen0, 3, $serializer_getInstance_5().l48_1);
1377
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_4().x49_1);
1438
1378
  }
1439
- $this.r46_1 = name;
1440
- $this.s46_1 = type;
1379
+ $this.e48_1 = name;
1380
+ $this.f48_1 = type;
1441
1381
  return $this;
1442
1382
  }
1443
1383
  function UnionType_init_$Create$(seen0, name, type, serializationConstructorMarker) {
@@ -1445,40 +1385,40 @@ function UnionType_init_$Create$(seen0, name, type, serializationConstructorMark
1445
1385
  }
1446
1386
  function Companion_8() {
1447
1387
  }
1448
- protoOf(Companion_8).i2n = function () {
1449
- return $serializer_getInstance_6();
1388
+ protoOf(Companion_8).p2o = function () {
1389
+ return $serializer_getInstance_5();
1450
1390
  };
1451
1391
  var Companion_instance_8;
1452
1392
  function Companion_getInstance_8() {
1453
1393
  return Companion_instance_8;
1454
1394
  }
1455
- function $serializer_6() {
1456
- $serializer_instance_6 = this;
1395
+ function $serializer_5() {
1396
+ $serializer_instance_5 = this;
1457
1397
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('community.flock.wirespec.converter.avro.AvroModel.LogicalType', this, 4);
1458
- tmp0_serialDesc.v2a('type', false);
1459
- tmp0_serialDesc.v2a('logicalType', false);
1460
- tmp0_serialDesc.v2a('precision', true);
1461
- tmp0_serialDesc.v2a('scale', true);
1462
- this.n48_1 = tmp0_serialDesc;
1463
- }
1464
- protoOf($serializer_6).o48 = function (encoder, value) {
1465
- var tmp0_desc = this.n48_1;
1466
- var tmp1_output = encoder.h23(tmp0_desc);
1467
- tmp1_output.w24(tmp0_desc, 0, value.v46_1);
1468
- tmp1_output.w24(tmp0_desc, 1, value.w46_1);
1469
- if (tmp1_output.e25(tmp0_desc, 2) ? true : !(value.x46_1 == null)) {
1470
- tmp1_output.a25(tmp0_desc, 2, IntSerializer_getInstance(), value.x46_1);
1398
+ tmp0_serialDesc.b2c('type', false);
1399
+ tmp0_serialDesc.b2c('logicalType', false);
1400
+ tmp0_serialDesc.b2c('precision', true);
1401
+ tmp0_serialDesc.b2c('scale', true);
1402
+ this.z49_1 = tmp0_serialDesc;
1403
+ }
1404
+ protoOf($serializer_5).a4a = function (encoder, value) {
1405
+ var tmp0_desc = this.z49_1;
1406
+ var tmp1_output = encoder.n24(tmp0_desc);
1407
+ tmp1_output.c26(tmp0_desc, 0, value.i48_1);
1408
+ tmp1_output.c26(tmp0_desc, 1, value.j48_1);
1409
+ if (tmp1_output.k26(tmp0_desc, 2) ? true : !(value.k48_1 == null)) {
1410
+ tmp1_output.g26(tmp0_desc, 2, IntSerializer_getInstance(), value.k48_1);
1471
1411
  }
1472
- if (tmp1_output.e25(tmp0_desc, 3) ? true : !(value.y46_1 == null)) {
1473
- tmp1_output.a25(tmp0_desc, 3, IntSerializer_getInstance(), value.y46_1);
1412
+ if (tmp1_output.k26(tmp0_desc, 3) ? true : !(value.l48_1 == null)) {
1413
+ tmp1_output.g26(tmp0_desc, 3, IntSerializer_getInstance(), value.l48_1);
1474
1414
  }
1475
- tmp1_output.i23(tmp0_desc);
1415
+ tmp1_output.o24(tmp0_desc);
1476
1416
  };
1477
- protoOf($serializer_6).i20 = function (encoder, value) {
1478
- return this.o48(encoder, value instanceof LogicalType ? value : THROW_CCE());
1417
+ protoOf($serializer_5).o21 = function (encoder, value) {
1418
+ return this.a4a(encoder, value instanceof LogicalType ? value : THROW_CCE());
1479
1419
  };
1480
- protoOf($serializer_6).j20 = function (decoder) {
1481
- var tmp0_desc = this.n48_1;
1420
+ protoOf($serializer_5).p21 = function (decoder) {
1421
+ var tmp0_desc = this.z49_1;
1482
1422
  var tmp1_flag = true;
1483
1423
  var tmp2_index = 0;
1484
1424
  var tmp3_bitMask0 = 0;
@@ -1486,75 +1426,75 @@ protoOf($serializer_6).j20 = function (decoder) {
1486
1426
  var tmp5_local1 = null;
1487
1427
  var tmp6_local2 = null;
1488
1428
  var tmp7_local3 = null;
1489
- var tmp8_input = decoder.h23(tmp0_desc);
1490
- if (tmp8_input.x23()) {
1491
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
1429
+ var tmp8_input = decoder.n24(tmp0_desc);
1430
+ if (tmp8_input.d25()) {
1431
+ tmp4_local0 = tmp8_input.x24(tmp0_desc, 0);
1492
1432
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1493
- tmp5_local1 = tmp8_input.r23(tmp0_desc, 1);
1433
+ tmp5_local1 = tmp8_input.x24(tmp0_desc, 1);
1494
1434
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1495
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1435
+ tmp6_local2 = tmp8_input.b25(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1496
1436
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1497
- tmp7_local3 = tmp8_input.v23(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1437
+ tmp7_local3 = tmp8_input.b25(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1498
1438
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1499
1439
  } else
1500
1440
  while (tmp1_flag) {
1501
- tmp2_index = tmp8_input.y23(tmp0_desc);
1441
+ tmp2_index = tmp8_input.e25(tmp0_desc);
1502
1442
  switch (tmp2_index) {
1503
1443
  case -1:
1504
1444
  tmp1_flag = false;
1505
1445
  break;
1506
1446
  case 0:
1507
- tmp4_local0 = tmp8_input.r23(tmp0_desc, 0);
1447
+ tmp4_local0 = tmp8_input.x24(tmp0_desc, 0);
1508
1448
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1509
1449
  break;
1510
1450
  case 1:
1511
- tmp5_local1 = tmp8_input.r23(tmp0_desc, 1);
1451
+ tmp5_local1 = tmp8_input.x24(tmp0_desc, 1);
1512
1452
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1513
1453
  break;
1514
1454
  case 2:
1515
- tmp6_local2 = tmp8_input.v23(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1455
+ tmp6_local2 = tmp8_input.b25(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
1516
1456
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1517
1457
  break;
1518
1458
  case 3:
1519
- tmp7_local3 = tmp8_input.v23(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1459
+ tmp7_local3 = tmp8_input.b25(tmp0_desc, 3, IntSerializer_getInstance(), tmp7_local3);
1520
1460
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1521
1461
  break;
1522
1462
  default:
1523
1463
  throw UnknownFieldException_init_$Create$(tmp2_index);
1524
1464
  }
1525
1465
  }
1526
- tmp8_input.i23(tmp0_desc);
1466
+ tmp8_input.o24(tmp0_desc);
1527
1467
  return LogicalType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1528
1468
  };
1529
- protoOf($serializer_6).h20 = function () {
1530
- return this.n48_1;
1469
+ protoOf($serializer_5).n21 = function () {
1470
+ return this.z49_1;
1531
1471
  };
1532
- protoOf($serializer_6).k2b = function () {
1472
+ protoOf($serializer_5).q2c = function () {
1533
1473
  // Inline function 'kotlin.arrayOf' call
1534
1474
  // Inline function 'kotlin.js.unsafeCast' call
1535
1475
  // Inline function 'kotlin.js.asDynamic' call
1536
1476
  return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(IntSerializer_getInstance()), get_nullable(IntSerializer_getInstance())];
1537
1477
  };
1538
- var $serializer_instance_6;
1539
- function $serializer_getInstance_6() {
1540
- if ($serializer_instance_6 == null)
1541
- new $serializer_6();
1542
- return $serializer_instance_6;
1478
+ var $serializer_instance_5;
1479
+ function $serializer_getInstance_5() {
1480
+ if ($serializer_instance_5 == null)
1481
+ new $serializer_5();
1482
+ return $serializer_instance_5;
1543
1483
  }
1544
1484
  function LogicalType_init_$Init$(seen0, type, logicalType, precision, scale, serializationConstructorMarker, $this) {
1545
1485
  if (!(3 === (3 & seen0))) {
1546
- throwMissingFieldException(seen0, 3, $serializer_getInstance_6().n48_1);
1486
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_5().z49_1);
1547
1487
  }
1548
- $this.v46_1 = type;
1549
- $this.w46_1 = logicalType;
1488
+ $this.i48_1 = type;
1489
+ $this.j48_1 = logicalType;
1550
1490
  if (0 === (seen0 & 4))
1551
- $this.x46_1 = null;
1491
+ $this.k48_1 = null;
1552
1492
  else
1553
- $this.x46_1 = precision;
1493
+ $this.k48_1 = precision;
1554
1494
  if (0 === (seen0 & 8))
1555
- $this.y46_1 = null;
1495
+ $this.l48_1 = null;
1556
1496
  else
1557
- $this.y46_1 = scale;
1497
+ $this.l48_1 = scale;
1558
1498
  return $this;
1559
1499
  }
1560
1500
  function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, serializationConstructorMarker) {
@@ -1563,19 +1503,19 @@ function LogicalType_init_$Create$(seen0, type, logicalType, precision, scale, s
1563
1503
  function Field_0(name, type, doc, default_0) {
1564
1504
  doc = doc === VOID ? null : doc;
1565
1505
  default_0 = default_0 === VOID ? null : default_0;
1566
- this.k47_1 = name;
1567
- this.l47_1 = type;
1568
- this.m47_1 = doc;
1569
- this.n47_1 = default_0;
1506
+ this.x48_1 = name;
1507
+ this.y48_1 = type;
1508
+ this.z48_1 = doc;
1509
+ this.a49_1 = default_0;
1570
1510
  }
1571
1511
  protoOf(Field_0).toString = function () {
1572
- return 'Field(name=' + this.k47_1 + ', type=' + this.l47_1.toString() + ', doc=' + this.m47_1 + ', default=' + this.n47_1 + ')';
1512
+ return 'Field(name=' + this.x48_1 + ', type=' + this.y48_1.toString() + ', doc=' + this.z48_1 + ', default=' + toString_0(this.a49_1) + ')';
1573
1513
  };
1574
1514
  protoOf(Field_0).hashCode = function () {
1575
- var result = getStringHashCode(this.k47_1);
1576
- result = imul(result, 31) + this.l47_1.hashCode() | 0;
1577
- result = imul(result, 31) + (this.m47_1 == null ? 0 : getStringHashCode(this.m47_1)) | 0;
1578
- result = imul(result, 31) + (this.n47_1 == null ? 0 : getStringHashCode(this.n47_1)) | 0;
1515
+ var result = getStringHashCode(this.x48_1);
1516
+ result = imul(result, 31) + this.y48_1.hashCode() | 0;
1517
+ result = imul(result, 31) + (this.z48_1 == null ? 0 : getStringHashCode(this.z48_1)) | 0;
1518
+ result = imul(result, 31) + (this.a49_1 == null ? 0 : hashCode(this.a49_1)) | 0;
1579
1519
  return result;
1580
1520
  };
1581
1521
  protoOf(Field_0).equals = function (other) {
@@ -1583,44 +1523,44 @@ protoOf(Field_0).equals = function (other) {
1583
1523
  return true;
1584
1524
  if (!(other instanceof Field_0))
1585
1525
  return false;
1586
- if (!(this.k47_1 === other.k47_1))
1526
+ if (!(this.x48_1 === other.x48_1))
1587
1527
  return false;
1588
- if (!this.l47_1.equals(other.l47_1))
1528
+ if (!this.y48_1.equals(other.y48_1))
1589
1529
  return false;
1590
- if (!(this.m47_1 == other.m47_1))
1530
+ if (!(this.z48_1 == other.z48_1))
1591
1531
  return false;
1592
- if (!(this.n47_1 == other.n47_1))
1532
+ if (!equals(this.a49_1, other.a49_1))
1593
1533
  return false;
1594
1534
  return true;
1595
1535
  };
1596
1536
  function TypeList(type) {
1597
1537
  AbstractList.call(this);
1598
- this.p48_1 = toList_0(type);
1599
- this.q48_1 = this.p48_1.b1();
1538
+ this.b4a_1 = toList_0(type);
1539
+ this.c4a_1 = this.b4a_1.b1();
1600
1540
  }
1601
1541
  protoOf(TypeList).b1 = function () {
1602
- return this.q48_1;
1542
+ return this.c4a_1;
1603
1543
  };
1604
1544
  protoOf(TypeList).c1 = function (index) {
1605
- return this.p48_1.c1(index);
1545
+ return this.b4a_1.c1(index);
1606
1546
  };
1607
1547
  function Type_0() {
1608
1548
  }
1609
1549
  function SimpleType(value) {
1610
- this.q46_1 = value;
1550
+ this.d48_1 = value;
1611
1551
  }
1612
1552
  protoOf(SimpleType).toString = function () {
1613
- return 'SimpleType(value=' + this.q46_1 + ')';
1553
+ return 'SimpleType(value=' + this.d48_1 + ')';
1614
1554
  };
1615
1555
  protoOf(SimpleType).hashCode = function () {
1616
- return getStringHashCode(this.q46_1);
1556
+ return getStringHashCode(this.d48_1);
1617
1557
  };
1618
1558
  protoOf(SimpleType).equals = function (other) {
1619
1559
  if (this === other)
1620
1560
  return true;
1621
1561
  if (!(other instanceof SimpleType))
1622
1562
  return false;
1623
- if (!(this.q46_1 === other.q46_1))
1563
+ if (!(this.d48_1 === other.d48_1))
1624
1564
  return false;
1625
1565
  return true;
1626
1566
  };
@@ -1628,21 +1568,21 @@ function RecordType(type, name, namespace, fields, doc) {
1628
1568
  Companion_getInstance_3();
1629
1569
  namespace = namespace === VOID ? null : namespace;
1630
1570
  doc = doc === VOID ? null : doc;
1631
- this.d47_1 = type;
1632
- this.e47_1 = name;
1633
- this.f47_1 = namespace;
1634
- this.g47_1 = fields;
1635
- this.h47_1 = doc;
1571
+ this.q48_1 = type;
1572
+ this.r48_1 = name;
1573
+ this.s48_1 = namespace;
1574
+ this.t48_1 = fields;
1575
+ this.u48_1 = doc;
1636
1576
  }
1637
1577
  protoOf(RecordType).toString = function () {
1638
- return 'RecordType(type=' + this.d47_1 + ', name=' + this.e47_1 + ', namespace=' + this.f47_1 + ', fields=' + toString(this.g47_1) + ', doc=' + this.h47_1 + ')';
1578
+ return 'RecordType(type=' + this.q48_1 + ', name=' + this.r48_1 + ', namespace=' + this.s48_1 + ', fields=' + toString(this.t48_1) + ', doc=' + this.u48_1 + ')';
1639
1579
  };
1640
1580
  protoOf(RecordType).hashCode = function () {
1641
- var result = getStringHashCode(this.d47_1);
1642
- result = imul(result, 31) + getStringHashCode(this.e47_1) | 0;
1643
- result = imul(result, 31) + (this.f47_1 == null ? 0 : getStringHashCode(this.f47_1)) | 0;
1644
- result = imul(result, 31) + hashCode(this.g47_1) | 0;
1645
- result = imul(result, 31) + (this.h47_1 == null ? 0 : getStringHashCode(this.h47_1)) | 0;
1581
+ var result = getStringHashCode(this.q48_1);
1582
+ result = imul(result, 31) + getStringHashCode(this.r48_1) | 0;
1583
+ result = imul(result, 31) + (this.s48_1 == null ? 0 : getStringHashCode(this.s48_1)) | 0;
1584
+ result = imul(result, 31) + hashCode(this.t48_1) | 0;
1585
+ result = imul(result, 31) + (this.u48_1 == null ? 0 : getStringHashCode(this.u48_1)) | 0;
1646
1586
  return result;
1647
1587
  };
1648
1588
  protoOf(RecordType).equals = function (other) {
@@ -1650,28 +1590,28 @@ protoOf(RecordType).equals = function (other) {
1650
1590
  return true;
1651
1591
  if (!(other instanceof RecordType))
1652
1592
  return false;
1653
- if (!(this.d47_1 === other.d47_1))
1593
+ if (!(this.q48_1 === other.q48_1))
1654
1594
  return false;
1655
- if (!(this.e47_1 === other.e47_1))
1595
+ if (!(this.r48_1 === other.r48_1))
1656
1596
  return false;
1657
- if (!(this.f47_1 == other.f47_1))
1597
+ if (!(this.s48_1 == other.s48_1))
1658
1598
  return false;
1659
- if (!equals(this.g47_1, other.g47_1))
1599
+ if (!equals(this.t48_1, other.t48_1))
1660
1600
  return false;
1661
- if (!(this.h47_1 == other.h47_1))
1601
+ if (!(this.u48_1 == other.u48_1))
1662
1602
  return false;
1663
1603
  return true;
1664
1604
  };
1665
1605
  function ArrayType(type, items) {
1666
- this.i47_1 = type;
1667
- this.j47_1 = items;
1606
+ this.v48_1 = type;
1607
+ this.w48_1 = items;
1668
1608
  }
1669
1609
  protoOf(ArrayType).toString = function () {
1670
- return 'ArrayType(type=' + this.i47_1 + ', items=' + toString(this.j47_1) + ')';
1610
+ return 'ArrayType(type=' + this.v48_1 + ', items=' + toString(this.w48_1) + ')';
1671
1611
  };
1672
1612
  protoOf(ArrayType).hashCode = function () {
1673
- var result = getStringHashCode(this.i47_1);
1674
- result = imul(result, 31) + hashCode(this.j47_1) | 0;
1613
+ var result = getStringHashCode(this.v48_1);
1614
+ result = imul(result, 31) + hashCode(this.w48_1) | 0;
1675
1615
  return result;
1676
1616
  };
1677
1617
  protoOf(ArrayType).equals = function (other) {
@@ -1679,22 +1619,22 @@ protoOf(ArrayType).equals = function (other) {
1679
1619
  return true;
1680
1620
  if (!(other instanceof ArrayType))
1681
1621
  return false;
1682
- if (!(this.i47_1 === other.i47_1))
1622
+ if (!(this.v48_1 === other.v48_1))
1683
1623
  return false;
1684
- if (!equals(this.j47_1, other.j47_1))
1624
+ if (!equals(this.w48_1, other.w48_1))
1685
1625
  return false;
1686
1626
  return true;
1687
1627
  };
1688
1628
  function MapType(type, values) {
1689
- this.t46_1 = type;
1690
- this.u46_1 = values;
1629
+ this.g48_1 = type;
1630
+ this.h48_1 = values;
1691
1631
  }
1692
1632
  protoOf(MapType).toString = function () {
1693
- return 'MapType(type=' + this.t46_1 + ', values=' + toString(this.u46_1) + ')';
1633
+ return 'MapType(type=' + this.g48_1 + ', values=' + toString(this.h48_1) + ')';
1694
1634
  };
1695
1635
  protoOf(MapType).hashCode = function () {
1696
- var result = getStringHashCode(this.t46_1);
1697
- result = imul(result, 31) + hashCode(this.u46_1) | 0;
1636
+ var result = getStringHashCode(this.g48_1);
1637
+ result = imul(result, 31) + hashCode(this.h48_1) | 0;
1698
1638
  return result;
1699
1639
  };
1700
1640
  protoOf(MapType).equals = function (other) {
@@ -1702,28 +1642,28 @@ protoOf(MapType).equals = function (other) {
1702
1642
  return true;
1703
1643
  if (!(other instanceof MapType))
1704
1644
  return false;
1705
- if (!(this.t46_1 === other.t46_1))
1645
+ if (!(this.g48_1 === other.g48_1))
1706
1646
  return false;
1707
- if (!equals(this.u46_1, other.u46_1))
1647
+ if (!equals(this.h48_1, other.h48_1))
1708
1648
  return false;
1709
1649
  return true;
1710
1650
  };
1711
1651
  function EnumType(type, name, doc, symbols) {
1712
1652
  Companion_getInstance_6();
1713
1653
  doc = doc === VOID ? null : doc;
1714
- this.z46_1 = type;
1715
- this.a47_1 = name;
1716
- this.b47_1 = doc;
1717
- this.c47_1 = symbols;
1654
+ this.m48_1 = type;
1655
+ this.n48_1 = name;
1656
+ this.o48_1 = doc;
1657
+ this.p48_1 = symbols;
1718
1658
  }
1719
1659
  protoOf(EnumType).toString = function () {
1720
- return 'EnumType(type=' + this.z46_1 + ', name=' + this.a47_1 + ', doc=' + this.b47_1 + ', symbols=' + toString(this.c47_1) + ')';
1660
+ return 'EnumType(type=' + this.m48_1 + ', name=' + this.n48_1 + ', doc=' + this.o48_1 + ', symbols=' + toString(this.p48_1) + ')';
1721
1661
  };
1722
1662
  protoOf(EnumType).hashCode = function () {
1723
- var result = getStringHashCode(this.z46_1);
1724
- result = imul(result, 31) + getStringHashCode(this.a47_1) | 0;
1725
- result = imul(result, 31) + (this.b47_1 == null ? 0 : getStringHashCode(this.b47_1)) | 0;
1726
- result = imul(result, 31) + hashCode(this.c47_1) | 0;
1663
+ var result = getStringHashCode(this.m48_1);
1664
+ result = imul(result, 31) + getStringHashCode(this.n48_1) | 0;
1665
+ result = imul(result, 31) + (this.o48_1 == null ? 0 : getStringHashCode(this.o48_1)) | 0;
1666
+ result = imul(result, 31) + hashCode(this.p48_1) | 0;
1727
1667
  return result;
1728
1668
  };
1729
1669
  protoOf(EnumType).equals = function (other) {
@@ -1731,26 +1671,26 @@ protoOf(EnumType).equals = function (other) {
1731
1671
  return true;
1732
1672
  if (!(other instanceof EnumType))
1733
1673
  return false;
1734
- if (!(this.z46_1 === other.z46_1))
1674
+ if (!(this.m48_1 === other.m48_1))
1735
1675
  return false;
1736
- if (!(this.a47_1 === other.a47_1))
1676
+ if (!(this.n48_1 === other.n48_1))
1737
1677
  return false;
1738
- if (!(this.b47_1 == other.b47_1))
1678
+ if (!(this.o48_1 == other.o48_1))
1739
1679
  return false;
1740
- if (!equals(this.c47_1, other.c47_1))
1680
+ if (!equals(this.p48_1, other.p48_1))
1741
1681
  return false;
1742
1682
  return true;
1743
1683
  };
1744
1684
  function UnionType(name, type) {
1745
- this.r46_1 = name;
1746
- this.s46_1 = type;
1685
+ this.e48_1 = name;
1686
+ this.f48_1 = type;
1747
1687
  }
1748
1688
  protoOf(UnionType).toString = function () {
1749
- return 'UnionType(name=' + this.r46_1 + ', type=' + this.s46_1.toString() + ')';
1689
+ return 'UnionType(name=' + this.e48_1 + ', type=' + this.f48_1.toString() + ')';
1750
1690
  };
1751
1691
  protoOf(UnionType).hashCode = function () {
1752
- var result = getStringHashCode(this.r46_1);
1753
- result = imul(result, 31) + this.s46_1.hashCode() | 0;
1692
+ var result = getStringHashCode(this.e48_1);
1693
+ result = imul(result, 31) + this.f48_1.hashCode() | 0;
1754
1694
  return result;
1755
1695
  };
1756
1696
  protoOf(UnionType).equals = function (other) {
@@ -1758,22 +1698,22 @@ protoOf(UnionType).equals = function (other) {
1758
1698
  return true;
1759
1699
  if (!(other instanceof UnionType))
1760
1700
  return false;
1761
- if (!(this.r46_1 === other.r46_1))
1701
+ if (!(this.e48_1 === other.e48_1))
1762
1702
  return false;
1763
- if (!this.s46_1.equals(other.s46_1))
1703
+ if (!this.f48_1.equals(other.f48_1))
1764
1704
  return false;
1765
1705
  return true;
1766
1706
  };
1767
1707
  function LogicalType() {
1768
1708
  }
1769
1709
  protoOf(LogicalType).toString = function () {
1770
- return 'LogicalType(type=' + this.v46_1 + ', logicalType=' + this.w46_1 + ', precision=' + this.x46_1 + ', scale=' + this.y46_1 + ')';
1710
+ return 'LogicalType(type=' + this.i48_1 + ', logicalType=' + this.j48_1 + ', precision=' + this.k48_1 + ', scale=' + this.l48_1 + ')';
1771
1711
  };
1772
1712
  protoOf(LogicalType).hashCode = function () {
1773
- var result = getStringHashCode(this.v46_1);
1774
- result = imul(result, 31) + getStringHashCode(this.w46_1) | 0;
1775
- result = imul(result, 31) + (this.x46_1 == null ? 0 : this.x46_1) | 0;
1776
- result = imul(result, 31) + (this.y46_1 == null ? 0 : this.y46_1) | 0;
1713
+ var result = getStringHashCode(this.i48_1);
1714
+ result = imul(result, 31) + getStringHashCode(this.j48_1) | 0;
1715
+ result = imul(result, 31) + (this.k48_1 == null ? 0 : this.k48_1) | 0;
1716
+ result = imul(result, 31) + (this.l48_1 == null ? 0 : this.l48_1) | 0;
1777
1717
  return result;
1778
1718
  };
1779
1719
  protoOf(LogicalType).equals = function (other) {
@@ -1781,34 +1721,98 @@ protoOf(LogicalType).equals = function (other) {
1781
1721
  return true;
1782
1722
  if (!(other instanceof LogicalType))
1783
1723
  return false;
1784
- if (!(this.v46_1 === other.v46_1))
1724
+ if (!(this.i48_1 === other.i48_1))
1785
1725
  return false;
1786
- if (!(this.w46_1 === other.w46_1))
1726
+ if (!(this.j48_1 === other.j48_1))
1787
1727
  return false;
1788
- if (!(this.x46_1 == other.x46_1))
1728
+ if (!(this.k48_1 == other.k48_1))
1789
1729
  return false;
1790
- if (!(this.y46_1 == other.y46_1))
1730
+ if (!(this.l48_1 == other.l48_1))
1791
1731
  return false;
1792
1732
  return true;
1793
1733
  };
1734
+ function FieldSerializer() {
1735
+ FieldSerializer_instance = this;
1736
+ this.d4a_1 = buildClassSerialDescriptor('Field', []);
1737
+ }
1738
+ protoOf(FieldSerializer).n21 = function () {
1739
+ return this.d4a_1;
1740
+ };
1741
+ protoOf(FieldSerializer).e4a = function (encoder, value) {
1742
+ var tmp0_elvis_lhs = isInterface(encoder, JsonEncoder) ? encoder : null;
1743
+ var tmp;
1744
+ if (tmp0_elvis_lhs == null) {
1745
+ throw SerializationException_init_$Create$('This class can be saved only by Json');
1746
+ } else {
1747
+ tmp = tmp0_elvis_lhs;
1748
+ }
1749
+ var output = tmp;
1750
+ // Inline function 'kotlinx.serialization.json.buildJsonObject' call
1751
+ var builder = new JsonObjectBuilder();
1752
+ put(builder, 'name', value.x48_1);
1753
+ builder.z2o('type', output.k2o().j2m(TypeListSerializer_getInstance(), value.y48_1));
1754
+ var tmp0_safe_receiver = value.z48_1;
1755
+ if (tmp0_safe_receiver == null)
1756
+ null;
1757
+ else {
1758
+ // Inline function 'kotlin.let' call
1759
+ put(builder, 'doc', tmp0_safe_receiver);
1760
+ }
1761
+ var tmp1_safe_receiver = value.a49_1;
1762
+ if (tmp1_safe_receiver == null)
1763
+ null;
1764
+ else {
1765
+ // Inline function 'kotlin.let' call
1766
+ builder.z2o('default', tmp1_safe_receiver);
1767
+ }
1768
+ // Inline function 'kotlin.let' call
1769
+ var p0 = builder.s2n();
1770
+ output.r2p(p0);
1771
+ };
1772
+ protoOf(FieldSerializer).o21 = function (encoder, value) {
1773
+ return this.e4a(encoder, value instanceof Field_0 ? value : THROW_CCE());
1774
+ };
1775
+ protoOf(FieldSerializer).p21 = function (decoder) {
1776
+ var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
1777
+ var tmp;
1778
+ if (tmp0_elvis_lhs == null) {
1779
+ throw SerializationException_init_$Create$('This class can be loaded only by Json');
1780
+ } else {
1781
+ tmp = tmp0_elvis_lhs;
1782
+ }
1783
+ var input = tmp;
1784
+ // Inline function 'kotlin.let' call
1785
+ var field = get_jsonObject(input.l2o());
1786
+ var tmp_0 = get_jsonPrimitive(getValue(field, 'name')).n1f();
1787
+ var tmp_1 = input.k2o().k2m(TypeListSerializer_getInstance(), getValue(field, 'type'));
1788
+ var tmp0_safe_receiver = field.id('doc');
1789
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : get_jsonPrimitive(tmp0_safe_receiver);
1790
+ return new Field_0(tmp_0, tmp_1, tmp1_safe_receiver == null ? null : get_contentOrNull(tmp1_safe_receiver), field.id('default'));
1791
+ };
1792
+ var FieldSerializer_instance;
1793
+ function FieldSerializer_getInstance() {
1794
+ if (FieldSerializer_instance == null)
1795
+ new FieldSerializer();
1796
+ return FieldSerializer_instance;
1797
+ }
1794
1798
  function TypeListSerializer() {
1795
1799
  TypeListSerializer_instance = this;
1796
- this.r48_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1800
+ this.f4a_1 = buildSerialDescriptor('TypeListSerializer', SEALED_getInstance(), []);
1797
1801
  }
1798
- protoOf(TypeListSerializer).h20 = function () {
1799
- return this.r48_1;
1802
+ protoOf(TypeListSerializer).n21 = function () {
1803
+ return this.f4a_1;
1800
1804
  };
1801
- protoOf(TypeListSerializer).s48 = function (encoder, value) {
1802
- if (value.q48_1 > 1) {
1803
- encoder.z24(ListSerializer(Companion_instance_1.i2n()), value);
1805
+ protoOf(TypeListSerializer).g4a = function (encoder, value) {
1806
+ if (value.c4a_1 > 1) {
1807
+ encoder.f26(ListSerializer(Companion_instance_1.p2o()), value);
1804
1808
  } else {
1805
- encoder.z24(Companion_instance_1.i2n(), first(value));
1809
+ encoder.f26(Companion_instance_1.p2o(), first(value));
1806
1810
  }
1807
1811
  };
1808
- protoOf(TypeListSerializer).i20 = function (encoder, value) {
1809
- return this.s48(encoder, value instanceof TypeList ? value : THROW_CCE());
1812
+ protoOf(TypeListSerializer).o21 = function (encoder, value) {
1813
+ return this.g4a(encoder, value instanceof TypeList ? value : THROW_CCE());
1810
1814
  };
1811
- protoOf(TypeListSerializer).j20 = function (decoder) {
1815
+ protoOf(TypeListSerializer).p21 = function (decoder) {
1812
1816
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
1813
1817
  var tmp;
1814
1818
  if (tmp0_elvis_lhs == null) {
@@ -1817,10 +1821,10 @@ protoOf(TypeListSerializer).j20 = function (decoder) {
1817
1821
  tmp = tmp0_elvis_lhs;
1818
1822
  }
1819
1823
  var input = tmp;
1820
- var element = input.f2n();
1824
+ var element = input.l2o();
1821
1825
  var tmp_0;
1822
1826
  if (element instanceof JsonPrimitive) {
1823
- tmp_0 = new TypeList([input.e2n().e2l(Companion_instance_1.i2n(), element)]);
1827
+ tmp_0 = new TypeList([input.k2o().k2m(Companion_instance_1.p2o(), element)]);
1824
1828
  } else {
1825
1829
  if (element instanceof JsonArray) {
1826
1830
  // Inline function 'kotlin.collections.map' call
@@ -1829,15 +1833,15 @@ protoOf(TypeListSerializer).j20 = function (decoder) {
1829
1833
  var _iterator__ex2g4s = element.t();
1830
1834
  while (_iterator__ex2g4s.u()) {
1831
1835
  var item = _iterator__ex2g4s.v();
1832
- var tmp$ret$0 = input.e2n().e2l(Companion_instance_1.i2n(), item);
1833
- destination.x(tmp$ret$0);
1836
+ var tmp$ret$2 = input.k2o().k2m(Companion_instance_1.p2o(), item);
1837
+ destination.x(tmp$ret$2);
1834
1838
  }
1835
1839
  // Inline function 'kotlin.collections.toTypedArray' call
1836
1840
  var tmp$ret$3 = copyToArray(destination);
1837
1841
  tmp_0 = new TypeList(tmp$ret$3.slice());
1838
1842
  } else {
1839
1843
  if (element instanceof JsonObject) {
1840
- tmp_0 = new TypeList([input.e2n().e2l(Companion_instance_1.i2n(), element)]);
1844
+ tmp_0 = new TypeList([input.k2o().k2m(Companion_instance_1.p2o(), element)]);
1841
1845
  } else {
1842
1846
  noWhenBranchMatchedException();
1843
1847
  }
@@ -1853,29 +1857,29 @@ function TypeListSerializer_getInstance() {
1853
1857
  }
1854
1858
  function TypeSerializer() {
1855
1859
  TypeSerializer_instance = this;
1856
- this.t48_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1860
+ this.h4a_1 = buildSerialDescriptor('TypeSerializer', SEALED_getInstance(), []);
1857
1861
  }
1858
- protoOf(TypeSerializer).h20 = function () {
1859
- return this.t48_1;
1862
+ protoOf(TypeSerializer).n21 = function () {
1863
+ return this.h4a_1;
1860
1864
  };
1861
- protoOf(TypeSerializer).u48 = function (encoder, value) {
1865
+ protoOf(TypeSerializer).i4a = function (encoder, value) {
1862
1866
  if (value instanceof SimpleType) {
1863
- encoder.z24(serializer_0(StringCompanionObject_instance), value.q46_1);
1867
+ encoder.f26(serializer_0(StringCompanionObject_instance), value.d48_1);
1864
1868
  } else {
1865
1869
  if (value instanceof RecordType) {
1866
- encoder.z24(Companion_getInstance_3().i2n(), value);
1870
+ encoder.f26(Companion_getInstance_3().p2o(), value);
1867
1871
  } else {
1868
1872
  if (value instanceof ArrayType) {
1869
- encoder.z24(Companion_instance_4.i2n(), value);
1873
+ encoder.f26(Companion_instance_4.p2o(), value);
1870
1874
  } else {
1871
1875
  if (value instanceof MapType) {
1872
- encoder.z24(Companion_instance_5.i2n(), value);
1876
+ encoder.f26(Companion_instance_5.p2o(), value);
1873
1877
  } else {
1874
1878
  if (value instanceof EnumType) {
1875
- encoder.z24(Companion_getInstance_6().i2n(), value);
1879
+ encoder.f26(Companion_getInstance_6().p2o(), value);
1876
1880
  } else {
1877
1881
  if (value instanceof UnionType) {
1878
- encoder.z24(Companion_instance_7.i2n(), value);
1882
+ encoder.f26(Companion_instance_7.p2o(), value);
1879
1883
  } else {
1880
1884
  if (value instanceof LogicalType) {
1881
1885
  // Inline function 'kotlin.TODO' call
@@ -1890,10 +1894,10 @@ protoOf(TypeSerializer).u48 = function (encoder, value) {
1890
1894
  }
1891
1895
  }
1892
1896
  };
1893
- protoOf(TypeSerializer).i20 = function (encoder, value) {
1894
- return this.u48(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1897
+ protoOf(TypeSerializer).o21 = function (encoder, value) {
1898
+ return this.i4a(encoder, (!(value == null) ? isInterface(value, Type_0) : false) ? value : THROW_CCE());
1895
1899
  };
1896
- protoOf(TypeSerializer).j20 = function (decoder) {
1900
+ protoOf(TypeSerializer).p21 = function (decoder) {
1897
1901
  var tmp0_elvis_lhs = isInterface(decoder, JsonDecoder) ? decoder : null;
1898
1902
  var tmp;
1899
1903
  if (tmp0_elvis_lhs == null) {
@@ -1902,28 +1906,30 @@ protoOf(TypeSerializer).j20 = function (decoder) {
1902
1906
  tmp = tmp0_elvis_lhs;
1903
1907
  }
1904
1908
  var input = tmp;
1905
- var element = input.f2n();
1909
+ var element = input.l2o();
1906
1910
  var tmp_0;
1907
1911
  if (element instanceof JsonObject) {
1908
1912
  var tmp_1;
1909
- if (element.m2n('items')) {
1910
- tmp_1 = input.e2n().e2l(Companion_instance_4.i2n(), element);
1911
- } else if (element.m2n('fields')) {
1912
- tmp_1 = input.e2n().e2l(Companion_getInstance_3().i2n(), element);
1913
- } else if (element.m2n('symbols')) {
1914
- tmp_1 = input.e2n().e2l(Companion_getInstance_6().i2n(), element);
1915
- } else if (element.m2n('logicalType')) {
1916
- tmp_1 = input.e2n().e2l(Companion_instance_8.i2n(), element);
1913
+ if (element.r2o('items')) {
1914
+ tmp_1 = input.k2o().k2m(Companion_instance_4.p2o(), element);
1915
+ } else if (element.r2o('fields')) {
1916
+ tmp_1 = input.k2o().k2m(Companion_getInstance_3().p2o(), element);
1917
+ } else if (element.r2o('symbols')) {
1918
+ tmp_1 = input.k2o().k2m(Companion_getInstance_6().p2o(), element);
1919
+ } else if (element.r2o('logicalType')) {
1920
+ tmp_1 = input.k2o().k2m(Companion_instance_8.p2o(), element);
1917
1921
  } else {
1922
+ // Inline function 'kotlin.TODO' call
1918
1923
  var reason = 'Unknown object type: ' + element.toString();
1919
1924
  throw new NotImplementedError('An operation is not implemented: ' + reason);
1920
1925
  }
1921
1926
  tmp_0 = tmp_1;
1922
1927
  } else {
1923
1928
  if (element instanceof JsonPrimitive) {
1924
- tmp_0 = new SimpleType(element.vx());
1929
+ tmp_0 = new SimpleType(element.n1f());
1925
1930
  } else {
1926
1931
  if (element instanceof JsonArray) {
1932
+ // Inline function 'kotlin.TODO' call
1927
1933
  var reason_0 = 'Type can never be an array';
1928
1934
  throw new NotImplementedError('An operation is not implemented: ' + reason_0);
1929
1935
  } else {
@@ -1940,14 +1946,13 @@ function TypeSerializer_getInstance() {
1940
1946
  return TypeSerializer_instance;
1941
1947
  }
1942
1948
  //region block: post-declaration
1943
- protoOf($serializer).l2b = typeParametersSerializers;
1944
- protoOf($serializer_0).l2b = typeParametersSerializers;
1945
- protoOf($serializer_1).l2b = typeParametersSerializers;
1946
- protoOf($serializer_2).l2b = typeParametersSerializers;
1947
- protoOf($serializer_3).l2b = typeParametersSerializers;
1948
- protoOf($serializer_4).l2b = typeParametersSerializers;
1949
- protoOf($serializer_5).l2b = typeParametersSerializers;
1950
- protoOf($serializer_6).l2b = typeParametersSerializers;
1949
+ protoOf($serializer).r2c = typeParametersSerializers;
1950
+ protoOf($serializer_0).r2c = typeParametersSerializers;
1951
+ protoOf($serializer_1).r2c = typeParametersSerializers;
1952
+ protoOf($serializer_2).r2c = typeParametersSerializers;
1953
+ protoOf($serializer_3).r2c = typeParametersSerializers;
1954
+ protoOf($serializer_4).r2c = typeParametersSerializers;
1955
+ protoOf($serializer_5).r2c = typeParametersSerializers;
1951
1956
  //endregion
1952
1957
  //region block: init
1953
1958
  AvroJsonParser_instance = new AvroJsonParser();
@@ -1963,8 +1968,8 @@ Companion_instance_8 = new Companion_8();
1963
1968
  //region block: exports
1964
1969
  export {
1965
1970
  Type_0 as Typel89stdvlxo83,
1966
- AvroJsonEmitter_getInstance as AvroJsonEmitter_getInstancef4slytin56up,
1967
- AvroJsonParser_instance as AvroJsonParser_instance1463wx3c6teur,
1971
+ AvroJsonEmitter_getInstance as AvroJsonEmitter_getInstanceqxb8ioshyd02,
1972
+ AvroJsonParser_instance as AvroJsonParser_instance5zz3bwjsci7v,
1968
1973
  };
1969
1974
  //endregion
1970
1975