@zenwave360/workspace-mcp 1.0.0-next.0 → 1.0.0-next.19.1

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 (33) hide show
  1. package/README.md +349 -323
  2. package/kotlin/antlr-kotlin-antlr-kotlin-runtime.js +2957 -2957
  3. package/kotlin/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
  4. package/kotlin/dsl-kotlin.js +6213 -6213
  5. package/kotlin/dsl-kotlin.js.map +1 -1
  6. package/kotlin/json-schema-ref-parser-kmp.js +880 -652
  7. package/kotlin/json-schema-ref-parser-kmp.js.map +1 -1
  8. package/kotlin/kotlin-kotlin-stdlib.js +1037 -1009
  9. package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
  10. package/kotlin/kotlinx-atomicfu.js +10 -10
  11. package/kotlin/kotlinx-coroutines-core.js +785 -785
  12. package/kotlin/kotlinx-coroutines-core.js.map +1 -1
  13. package/kotlin/okio-parent-okio.js +369 -369
  14. package/kotlin/okio-parent-okio.js.map +1 -1
  15. package/kotlin/snakeyaml-engine-kmp.js +1568 -1568
  16. package/kotlin/snakeyaml-engine-kmp.js.map +1 -1
  17. package/kotlin/urlencoder-urlencoder-lib.js +52 -52
  18. package/kotlin/urlencoder-urlencoder-lib.js.map +1 -1
  19. package/package.json +1 -1
  20. package/kotlin/kotlin-js-core.js +0 -15
  21. package/kotlin/kotlin-js-core.js.map +0 -1
  22. package/kotlin/kotlin-js.js +0 -15
  23. package/kotlin/kotlin-js.js.map +0 -1
  24. package/kotlin/kotlin-node.js +0 -15
  25. package/kotlin/kotlin-node.js.map +0 -1
  26. package/kotlin/kotlin-plugins-js-plain-objects-runtime.js +0 -15
  27. package/kotlin/kotlin-plugins-js-plain-objects-runtime.js.map +0 -1
  28. package/kotlin/kotlin-web.js +0 -15
  29. package/kotlin/kotlin-web.js.map +0 -1
  30. package/kotlin/seskar-core.js +0 -15
  31. package/kotlin/seskar-core.js.map +0 -1
  32. package/kotlin/seskar-react.js +0 -15
  33. package/kotlin/seskar-react.js.map +0 -1
@@ -1,12 +1,9 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', 'node:fs', './kotlin-kotlin-stdlib.js', './snakeyaml-engine-kmp.js', './kotlinx-coroutines-core.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './snakeyaml-engine-kmp.js', './kotlinx-coroutines-core.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('node:fs'), require('./kotlin-kotlin-stdlib.js'), require('./snakeyaml-engine-kmp.js'), require('./kotlinx-coroutines-core.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./snakeyaml-engine-kmp.js'), require('./kotlinx-coroutines-core.js'));
6
6
  else {
7
- if (typeof io_zenwave360_jsonrefparser_io_NodeFsModule_d06zrq === 'undefined') {
8
- throw new Error("Error loading module 'json-schema-ref-parser-kmp'. Its dependency 'node:fs' was not found. Please, check whether 'node:fs' is loaded prior to 'json-schema-ref-parser-kmp'.");
9
- }
10
7
  if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
11
8
  throw new Error("Error loading module 'json-schema-ref-parser-kmp'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'json-schema-ref-parser-kmp'.");
12
9
  }
@@ -16,93 +13,96 @@
16
13
  if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
17
14
  throw new Error("Error loading module 'json-schema-ref-parser-kmp'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'json-schema-ref-parser-kmp'.");
18
15
  }
19
- globalThis['json-schema-ref-parser-kmp'] = factory(typeof globalThis['json-schema-ref-parser-kmp'] === 'undefined' ? {} : globalThis['json-schema-ref-parser-kmp'], io_zenwave360_jsonrefparser_io_NodeFsModule_d06zrq, globalThis['kotlin-kotlin-stdlib'], globalThis['snakeyaml-engine-kmp'], globalThis['kotlinx-coroutines-core']);
16
+ globalThis['json-schema-ref-parser-kmp'] = factory(typeof globalThis['json-schema-ref-parser-kmp'] === 'undefined' ? {} : globalThis['json-schema-ref-parser-kmp'], globalThis['kotlin-kotlin-stdlib'], globalThis['snakeyaml-engine-kmp'], globalThis['kotlinx-coroutines-core']);
20
17
  }
21
- }(function (_, io_zenwave360_jsonrefparser_io_NodeFsModule_d06zrq, kotlin_kotlin, kotlin_it_krzeminski_snakeyaml_engine_kmp, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
18
+ }(function (_, kotlin_kotlin, kotlin_it_krzeminski_snakeyaml_engine_kmp, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
22
19
  'use strict';
23
20
  //region block: imports
24
21
  var imul = Math.imul;
25
- var emptyList = kotlin_kotlin.$_$.i3;
26
- var charSequenceLength = kotlin_kotlin.$_$.i6;
27
- var startsWith = kotlin_kotlin.$_$.l8;
28
- var toString = kotlin_kotlin.$_$.e7;
22
+ var emptyList = kotlin_kotlin.$_$.j3;
23
+ var charSequenceLength = kotlin_kotlin.$_$.j6;
24
+ var startsWith = kotlin_kotlin.$_$.m8;
25
+ var toString = kotlin_kotlin.$_$.f7;
29
26
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.x;
30
- var Unit_instance = kotlin_kotlin.$_$.c2;
31
- var drop = kotlin_kotlin.$_$.t7;
32
- var split = kotlin_kotlin.$_$.k8;
33
- var collectionSizeOrDefault = kotlin_kotlin.$_$.v2;
27
+ var Unit_instance = kotlin_kotlin.$_$.d2;
28
+ var drop = kotlin_kotlin.$_$.u7;
29
+ var split = kotlin_kotlin.$_$.l8;
30
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.w2;
34
31
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
35
- var replace = kotlin_kotlin.$_$.i8;
36
- var protoOf = kotlin_kotlin.$_$.c7;
37
- var initMetadataForCompanion = kotlin_kotlin.$_$.q6;
38
- var plus = kotlin_kotlin.$_$.j4;
39
- var toIntOrNull = kotlin_kotlin.$_$.w8;
40
- var getOrNull = kotlin_kotlin.$_$.r3;
41
- var KtList = kotlin_kotlin.$_$.h2;
42
- var isInterface = kotlin_kotlin.$_$.y6;
43
- var THROW_CCE = kotlin_kotlin.$_$.t9;
44
- var KtMap = kotlin_kotlin.$_$.i2;
45
- var joinToString = kotlin_kotlin.$_$.u3;
46
- var hashCode = kotlin_kotlin.$_$.o6;
47
- var equals = kotlin_kotlin.$_$.l6;
48
- var initMetadataForClass = kotlin_kotlin.$_$.p6;
49
- var listOf = kotlin_kotlin.$_$.z3;
50
- var plus_0 = kotlin_kotlin.$_$.i4;
32
+ var replace = kotlin_kotlin.$_$.j8;
33
+ var protoOf = kotlin_kotlin.$_$.d7;
34
+ var initMetadataForCompanion = kotlin_kotlin.$_$.r6;
35
+ var plus = kotlin_kotlin.$_$.k4;
36
+ var toIntOrNull = kotlin_kotlin.$_$.x8;
37
+ var getOrNull = kotlin_kotlin.$_$.s3;
38
+ var KtList = kotlin_kotlin.$_$.i2;
39
+ var isInterface = kotlin_kotlin.$_$.z6;
40
+ var THROW_CCE = kotlin_kotlin.$_$.u9;
41
+ var KtMap = kotlin_kotlin.$_$.j2;
42
+ var joinToString = kotlin_kotlin.$_$.v3;
43
+ var hashCode = kotlin_kotlin.$_$.p6;
44
+ var equals = kotlin_kotlin.$_$.m6;
45
+ var initMetadataForClass = kotlin_kotlin.$_$.q6;
46
+ var listOf = kotlin_kotlin.$_$.a4;
47
+ var plus_0 = kotlin_kotlin.$_$.j4;
51
48
  var VOID = kotlin_kotlin.$_$.a;
52
- var removePrefix = kotlin_kotlin.$_$.e8;
53
- var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
54
- var indexOf = kotlin_kotlin.$_$.y7;
55
- var replace_0 = kotlin_kotlin.$_$.j8;
56
- var CoroutineImpl = kotlin_kotlin.$_$.k5;
49
+ var removePrefix = kotlin_kotlin.$_$.f8;
50
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.r1;
51
+ var indexOf = kotlin_kotlin.$_$.z7;
52
+ var replace_0 = kotlin_kotlin.$_$.k8;
53
+ var CoroutineImpl = kotlin_kotlin.$_$.l5;
57
54
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a1;
58
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
59
- var toMutableMap = kotlin_kotlin.$_$.s4;
60
- var to = kotlin_kotlin.$_$.da;
61
- var mutableMapOf = kotlin_kotlin.$_$.g4;
62
- var initMetadataForCoroutine = kotlin_kotlin.$_$.r6;
55
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.w4;
56
+ var toMutableMap = kotlin_kotlin.$_$.t4;
57
+ var to = kotlin_kotlin.$_$.ea;
58
+ var mutableMapOf = kotlin_kotlin.$_$.h4;
59
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.s6;
63
60
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.k;
64
61
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
65
- var Enum = kotlin_kotlin.$_$.k9;
66
- var emptyMap = kotlin_kotlin.$_$.j3;
67
- var toString_0 = kotlin_kotlin.$_$.ca;
68
- var getBooleanHashCode = kotlin_kotlin.$_$.m6;
69
- var getStringHashCode = kotlin_kotlin.$_$.n6;
70
- var RuntimeException = kotlin_kotlin.$_$.s9;
62
+ var Enum = kotlin_kotlin.$_$.l9;
63
+ var emptyMap = kotlin_kotlin.$_$.k3;
64
+ var toString_0 = kotlin_kotlin.$_$.da;
65
+ var getBooleanHashCode = kotlin_kotlin.$_$.n6;
66
+ var getStringHashCode = kotlin_kotlin.$_$.o6;
67
+ var RuntimeException = kotlin_kotlin.$_$.t9;
71
68
  var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.k1;
72
- var captureStack = kotlin_kotlin.$_$.d6;
69
+ var captureStack = kotlin_kotlin.$_$.e6;
73
70
  var RuntimeException_init_$Init$_0 = kotlin_kotlin.$_$.m1;
74
71
  var Compose = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.a;
75
- var KtMutableMap = kotlin_kotlin.$_$.m2;
72
+ var KtMutableMap = kotlin_kotlin.$_$.n2;
76
73
  var ScalarNode = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.d;
77
- var checkIndexOverflow = kotlin_kotlin.$_$.u2;
78
- var toMutableList = kotlin_kotlin.$_$.r4;
74
+ var checkIndexOverflow = kotlin_kotlin.$_$.v2;
75
+ var toMutableList = kotlin_kotlin.$_$.s4;
79
76
  var SequenceNode = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.e;
80
77
  var MappingNode = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.c;
81
- var toLongOrNull = kotlin_kotlin.$_$.z8;
82
- var toDoubleOrNull = kotlin_kotlin.$_$.u8;
78
+ var toLongOrNull = kotlin_kotlin.$_$.a9;
79
+ var toDoubleOrNull = kotlin_kotlin.$_$.v8;
83
80
  var LoadSettings = kotlin_it_krzeminski_snakeyaml_engine_kmp.$_$.b;
81
+ var contains = kotlin_kotlin.$_$.p7;
82
+ var initMetadataForObject = kotlin_kotlin.$_$.v6;
83
+ var UnsupportedOperationException = kotlin_kotlin.$_$.v9;
84
+ var UnsupportedOperationException_init_$Init$ = kotlin_kotlin.$_$.p1;
84
85
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.m;
85
- var KtMutableList = kotlin_kotlin.$_$.k2;
86
- var toList = kotlin_kotlin.$_$.p4;
87
- var Collection = kotlin_kotlin.$_$.g2;
88
- var get_lastIndex = kotlin_kotlin.$_$.w3;
89
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.y9;
90
- var get_indices = kotlin_kotlin.$_$.s3;
91
- var Exception = kotlin_kotlin.$_$.m9;
92
- var contains = kotlin_kotlin.$_$.o7;
93
- var indexOf_0 = kotlin_kotlin.$_$.x7;
94
- var substring = kotlin_kotlin.$_$.p8;
95
- var substring_0 = kotlin_kotlin.$_$.o8;
96
- var substringBeforeLast = kotlin_kotlin.$_$.m8;
97
- var mapOf = kotlin_kotlin.$_$.c4;
86
+ var KtMutableList = kotlin_kotlin.$_$.l2;
87
+ var toList = kotlin_kotlin.$_$.q4;
88
+ var Collection = kotlin_kotlin.$_$.h2;
89
+ var get_lastIndex = kotlin_kotlin.$_$.x3;
90
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.z9;
91
+ var get_indices = kotlin_kotlin.$_$.t3;
92
+ var Exception = kotlin_kotlin.$_$.n9;
93
+ var indexOf_0 = kotlin_kotlin.$_$.y7;
94
+ var substring = kotlin_kotlin.$_$.q8;
95
+ var substring_0 = kotlin_kotlin.$_$.p8;
96
+ var substringBeforeLast = kotlin_kotlin.$_$.n8;
97
+ var mapOf = kotlin_kotlin.$_$.d4;
98
98
  var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
99
99
  var promise = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
100
100
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
101
- var initMetadataForLambda = kotlin_kotlin.$_$.t6;
102
- var listOf_0 = kotlin_kotlin.$_$.a4;
101
+ var initMetadataForLambda = kotlin_kotlin.$_$.u6;
102
+ var listOf_0 = kotlin_kotlin.$_$.b4;
103
103
  var await_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
104
104
  var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.l1;
105
- var substringBefore = kotlin_kotlin.$_$.n8;
105
+ var substringBefore = kotlin_kotlin.$_$.o8;
106
106
  var Regex_init_$Create$ = kotlin_kotlin.$_$.p;
107
107
  //endregion
108
108
  //region block: pre-declaration
@@ -124,6 +124,8 @@
124
124
  initMetadataForClass(MissingRefException, 'MissingRefException', VOID, RuntimeException);
125
125
  initMetadataForClass(SourceLocation, 'SourceLocation');
126
126
  initMetadataForClass(RawDocument, 'RawDocument');
127
+ initMetadataForObject(RefParserPlatform, 'RefParserPlatform');
128
+ initMetadataForClass(CapabilityUnavailableException, 'CapabilityUnavailableException', VOID, UnsupportedOperationException);
127
129
  initMetadataForClass(ResolvingContext, 'ResolvingContext');
128
130
  initMetadataForClass(IdentityStack, 'IdentityStack', IdentityStack);
129
131
  initMetadataForClass(AllOfAccumulator, 'AllOfAccumulator', AllOfAccumulator);
@@ -138,16 +140,19 @@
138
140
  initMetadataForLambda(dereferenceSchemaText$slambda, CoroutineImpl, VOID, [1]);
139
141
  initMetadataForCoroutine($loadCOROUTINE$, CoroutineImpl);
140
142
  initMetadataForClass(FetchLoader, 'FetchLoader', FetchLoader, VOID, VOID, [1]);
143
+ initMetadataForCoroutine($readUtf8FileCOROUTINE$, CoroutineImpl);
141
144
  initMetadataForClass(NodeFsLoader, 'NodeFsLoader', NodeFsLoader, VOID, VOID, [1]);
145
+ initMetadataForCoroutine($nodeFsCOROUTINE$, CoroutineImpl);
146
+ initMetadataForCoroutine($resolveNodeFsCOROUTINE$, CoroutineImpl);
142
147
  //endregion
143
148
  function Companion() {
144
149
  Companion_instance = this;
145
- this.j53_1 = new JsonPointer(emptyList());
150
+ this.k53_1 = new JsonPointer(emptyList());
146
151
  }
147
- protoOf(Companion).x46 = function (pointer) {
152
+ protoOf(Companion).y46 = function (pointer) {
148
153
  // Inline function 'kotlin.text.isEmpty' call
149
154
  if (charSequenceLength(pointer) === 0)
150
- return this.j53_1;
155
+ return this.k53_1;
151
156
  // Inline function 'kotlin.require' call
152
157
  if (!startsWith(pointer, '/')) {
153
158
  var message = 'JSON Pointer must start with /: ' + pointer;
@@ -165,7 +170,7 @@
165
170
  }
166
171
  return new JsonPointer(destination);
167
172
  };
168
- protoOf(Companion).k53 = function (fragment) {
173
+ protoOf(Companion).l53 = function (fragment) {
169
174
  var tmp;
170
175
  var tmp_0;
171
176
  // Inline function 'kotlin.text.isEmpty' call
@@ -180,9 +185,9 @@
180
185
  tmp = fragment === '#/';
181
186
  }
182
187
  if (tmp)
183
- return this.j53_1;
188
+ return this.k53_1;
184
189
  var pointer = startsWith(fragment, '#') ? drop(fragment, 1) : fragment;
185
- return this.x46(pointer);
190
+ return this.y46(pointer);
186
191
  };
187
192
  var Companion_instance;
188
193
  function Companion_getInstance() {
@@ -192,17 +197,17 @@
192
197
  }
193
198
  function JsonPointer(tokens) {
194
199
  Companion_getInstance();
195
- this.l53_1 = tokens;
200
+ this.m53_1 = tokens;
196
201
  }
197
- protoOf(JsonPointer).m53 = function (key) {
198
- return new JsonPointer(plus(this.l53_1, replace(replace(key, '~', '~0'), '/', '~1')));
202
+ protoOf(JsonPointer).n53 = function (key) {
203
+ return new JsonPointer(plus(this.m53_1, replace(replace(key, '~', '~0'), '/', '~1')));
199
204
  };
200
- protoOf(JsonPointer).n53 = function (index) {
201
- return new JsonPointer(plus(this.l53_1, index.toString()));
205
+ protoOf(JsonPointer).o53 = function (index) {
206
+ return new JsonPointer(plus(this.m53_1, index.toString()));
202
207
  };
203
- protoOf(JsonPointer).o53 = function (document) {
208
+ protoOf(JsonPointer).p53 = function (document) {
204
209
  var current = document;
205
- var _iterator__ex2g4s = this.l53_1.i();
210
+ var _iterator__ex2g4s = this.m53_1.i();
206
211
  while (_iterator__ex2g4s.j()) {
207
212
  var token = _iterator__ex2g4s.k();
208
213
  var tmp0_subject = current;
@@ -231,35 +236,35 @@
231
236
  return current;
232
237
  };
233
238
  protoOf(JsonPointer).toString = function () {
234
- return this.l53_1.l() ? '' : '/' + joinToString(this.l53_1, '/');
239
+ return this.m53_1.l() ? '' : '/' + joinToString(this.m53_1, '/');
235
240
  };
236
241
  protoOf(JsonPointer).hashCode = function () {
237
- return hashCode(this.l53_1);
242
+ return hashCode(this.m53_1);
238
243
  };
239
244
  protoOf(JsonPointer).equals = function (other) {
240
245
  if (this === other)
241
246
  return true;
242
247
  if (!(other instanceof JsonPointer))
243
248
  return false;
244
- if (!equals(this.l53_1, other.l53_1))
249
+ if (!equals(this.m53_1, other.m53_1))
245
250
  return false;
246
251
  return true;
247
252
  };
248
253
  function Companion_0() {
249
254
  }
250
- protoOf(Companion_0).p53 = function (text, baseUri, options, auth, loaders) {
255
+ protoOf(Companion_0).q53 = function (text, baseUri, options, auth, loaders) {
251
256
  var memLoader = new InMemoryLoader(baseUri, text);
252
257
  var resolvedLoaders = loaders == null ? defaultLoaders(auth) : loaders;
253
258
  return new RefParser(baseUri, options, auth, plus_0(listOf(memLoader), resolvedLoaders));
254
259
  };
255
- protoOf(Companion_0).q53 = function (text, baseUri, options, auth, loaders, $super) {
260
+ protoOf(Companion_0).r53 = function (text, baseUri, options, auth, loaders, $super) {
256
261
  baseUri = baseUri === VOID ? 'memory://anonymous' : baseUri;
257
262
  options = options === VOID ? new RefParserOptions() : options;
258
263
  auth = auth === VOID ? emptyList() : auth;
259
264
  loaders = loaders === VOID ? null : loaders;
260
- return $super === VOID ? this.p53(text, baseUri, options, auth, loaders) : $super.p53.call(this, text, baseUri, options, auth, loaders);
265
+ return $super === VOID ? this.q53(text, baseUri, options, auth, loaders) : $super.q53.call(this, text, baseUri, options, auth, loaders);
261
266
  };
262
- protoOf(Companion_0).r53 = function (rawUri) {
267
+ protoOf(Companion_0).s53 = function (rawUri) {
263
268
  if (startsWith(rawUri, 'classpath:') && !startsWith(rawUri, 'classpath:/')) {
264
269
  return 'classpath:/' + removePrefix(rawUri, 'classpath:');
265
270
  }
@@ -280,23 +285,23 @@
280
285
  }
281
286
  function $parseCOROUTINE$(_this__u8e3s4, resultContinuation) {
282
287
  CoroutineImpl.call(this, resultContinuation);
283
- this.a54_1 = _this__u8e3s4;
288
+ this.b54_1 = _this__u8e3s4;
284
289
  }
285
- protoOf($parseCOROUTINE$).h8 = function () {
286
- var suspendResult = this.b8_1;
290
+ protoOf($parseCOROUTINE$).i8 = function () {
291
+ var suspendResult = this.c8_1;
287
292
  $sm: do
288
293
  try {
289
- var tmp = this.z7_1;
294
+ var tmp = this.a8_1;
290
295
  switch (tmp) {
291
296
  case 0:
292
- this.a8_1 = 2;
293
- var tmp0 = this.a54_1.e54_1;
297
+ this.b8_1 = 2;
298
+ var tmp0 = this.b54_1.f54_1;
294
299
  var tmp$ret$0;
295
300
  l$ret$1: do {
296
301
  var _iterator__ex2g4s = tmp0.i();
297
302
  while (_iterator__ex2g4s.j()) {
298
303
  var element = _iterator__ex2g4s.k();
299
- if (element.n54(this.a54_1.f54_1)) {
304
+ if (element.o54(this.b54_1.g54_1)) {
300
305
  tmp$ret$0 = element;
301
306
  break l$ret$1;
302
307
  }
@@ -307,14 +312,15 @@
307
312
  var tmp0_elvis_lhs = tmp$ret$0;
308
313
  var tmp_0;
309
314
  if (tmp0_elvis_lhs == null) {
310
- throw IllegalStateException_init_$Create$('No loader available for URI: ' + this.a54_1.f54_1);
315
+ var tmp1_elvis_lhs = RefParserPlatform_instance.s54(this.b54_1.g54_1);
316
+ throw tmp1_elvis_lhs == null ? IllegalStateException_init_$Create$('No loader available for URI: ' + this.b54_1.g54_1) : tmp1_elvis_lhs;
311
317
  } else {
312
318
  tmp_0 = tmp0_elvis_lhs;
313
319
  }
314
320
 
315
321
  var loader = tmp_0;
316
- this.z7_1 = 1;
317
- suspendResult = loader.o54(this.a54_1.f54_1, this);
322
+ this.a8_1 = 1;
323
+ suspendResult = loader.t54(this.b54_1.g54_1, this);
318
324
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
319
325
  return suspendResult;
320
326
  }
@@ -322,58 +328,58 @@
322
328
  continue $sm;
323
329
  case 1:
324
330
  var text = suspendResult;
325
- var raw = parseText(text, this.a54_1.f54_1);
326
- this.a54_1.g54_1 = raw.r54_1;
327
- this.a54_1.h54_1 = raw.s54_1;
328
- this.a54_1.i54_1 = mutableMapOf([to(raw.p54_1, toMutableMap(raw.s54_1))]);
329
- this.a54_1.m54_1 = raw.q54_1;
330
- return this.a54_1;
331
+ var raw = parseText(text, this.b54_1.g54_1);
332
+ this.b54_1.h54_1 = raw.w54_1;
333
+ this.b54_1.i54_1 = raw.x54_1;
334
+ this.b54_1.j54_1 = mutableMapOf([to(raw.u54_1, toMutableMap(raw.x54_1))]);
335
+ this.b54_1.n54_1 = raw.v54_1;
336
+ return this.b54_1;
331
337
  case 2:
332
- throw this.c8_1;
338
+ throw this.d8_1;
333
339
  }
334
340
  } catch ($p) {
335
341
  var e = $p;
336
- if (this.a8_1 === 2) {
342
+ if (this.b8_1 === 2) {
337
343
  throw e;
338
344
  } else {
339
- this.z7_1 = this.a8_1;
340
- this.c8_1 = e;
345
+ this.a8_1 = this.b8_1;
346
+ this.d8_1 = e;
341
347
  }
342
348
  }
343
349
  while (true);
344
350
  };
345
351
  function $dereferenceCOROUTINE$(_this__u8e3s4, resultContinuation) {
346
352
  CoroutineImpl.call(this, resultContinuation);
347
- this.b55_1 = _this__u8e3s4;
353
+ this.g55_1 = _this__u8e3s4;
348
354
  }
349
- protoOf($dereferenceCOROUTINE$).h8 = function () {
350
- var suspendResult = this.b8_1;
355
+ protoOf($dereferenceCOROUTINE$).i8 = function () {
356
+ var suspendResult = this.c8_1;
351
357
  $sm: do
352
358
  try {
353
- var tmp = this.z7_1;
359
+ var tmp = this.a8_1;
354
360
  switch (tmp) {
355
361
  case 0:
356
- this.a8_1 = 4;
357
- if (this.b55_1.g54_1.l() && this.b55_1.h54_1.l()) {
358
- this.z7_1 = 1;
359
- suspendResult = this.b55_1.d55(this);
362
+ this.b8_1 = 4;
363
+ if (this.g55_1.h54_1.l() && this.g55_1.i54_1.l()) {
364
+ this.a8_1 = 1;
365
+ suspendResult = this.g55_1.i55(this);
360
366
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
361
367
  return suspendResult;
362
368
  }
363
369
  continue $sm;
364
370
  } else {
365
- this.z7_1 = 2;
371
+ this.a8_1 = 2;
366
372
  continue $sm;
367
373
  }
368
374
 
369
375
  case 1:
370
- this.z7_1 = 2;
376
+ this.a8_1 = 2;
371
377
  continue $sm;
372
378
  case 2:
373
- this.c55_1 = new ResolvingContext(this.b55_1.c54_1, this.b55_1.e54_1, this.b55_1.d54_1, this.b55_1.h54_1);
374
- var raw = new RawDocument(this.b55_1.f54_1, this.b55_1.g54_1, this.b55_1.g54_1, this.b55_1.h54_1);
375
- this.z7_1 = 3;
376
- suspendResult = resolveDocument(raw, this.c55_1, this);
379
+ this.h55_1 = new ResolvingContext(this.g55_1.d54_1, this.g55_1.f54_1, this.g55_1.e54_1, this.g55_1.i54_1);
380
+ var raw = new RawDocument(this.g55_1.g54_1, this.g55_1.h54_1, this.g55_1.h54_1, this.g55_1.i54_1);
381
+ this.a8_1 = 3;
382
+ suspendResult = resolveDocument(raw, this.h55_1, this);
377
383
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
378
384
  return suspendResult;
379
385
  }
@@ -381,21 +387,21 @@
381
387
  continue $sm;
382
388
  case 3:
383
389
  var ARGUMENT = suspendResult;
384
- this.b55_1.g54_1 = ARGUMENT;
385
- this.b55_1.j54_1 = this.c55_1.n55_1;
386
- this.b55_1.i54_1 = this.c55_1.p55_1;
387
- this.b55_1.l54_1 = this.c55_1.m55_1;
388
- return this.b55_1;
390
+ this.g55_1.h54_1 = ARGUMENT;
391
+ this.g55_1.k54_1 = this.h55_1.s55_1;
392
+ this.g55_1.j54_1 = this.h55_1.u55_1;
393
+ this.g55_1.m54_1 = this.h55_1.r55_1;
394
+ return this.g55_1;
389
395
  case 4:
390
- throw this.c8_1;
396
+ throw this.d8_1;
391
397
  }
392
398
  } catch ($p) {
393
399
  var e = $p;
394
- if (this.a8_1 === 4) {
400
+ if (this.b8_1 === 4) {
395
401
  throw e;
396
402
  } else {
397
- this.z7_1 = this.a8_1;
398
- this.c8_1 = e;
403
+ this.a8_1 = this.b8_1;
404
+ this.d8_1 = e;
399
405
  }
400
406
  }
401
407
  while (true);
@@ -404,59 +410,59 @@
404
410
  options = options === VOID ? new RefParserOptions() : options;
405
411
  auth = auth === VOID ? emptyList() : auth;
406
412
  loaders = loaders === VOID ? defaultLoaders() : loaders;
407
- this.b54_1 = uri;
408
- this.c54_1 = options;
409
- this.d54_1 = auth;
410
- this.e54_1 = loaders;
411
- this.f54_1 = Companion_instance_0.r53(this.b54_1);
413
+ this.c54_1 = uri;
414
+ this.d54_1 = options;
415
+ this.e54_1 = auth;
416
+ this.f54_1 = loaders;
417
+ this.g54_1 = Companion_instance_0.s53(this.c54_1);
412
418
  var tmp = this;
413
419
  // Inline function 'kotlin.collections.linkedMapOf' call
414
- tmp.g54_1 = LinkedHashMap_init_$Create$();
420
+ tmp.h54_1 = LinkedHashMap_init_$Create$();
415
421
  var tmp_0 = this;
416
422
  // Inline function 'kotlin.collections.mutableMapOf' call
417
- tmp_0.h54_1 = LinkedHashMap_init_$Create$();
423
+ tmp_0.i54_1 = LinkedHashMap_init_$Create$();
418
424
  var tmp_1 = this;
419
425
  // Inline function 'kotlin.collections.mutableMapOf' call
420
- tmp_1.i54_1 = LinkedHashMap_init_$Create$();
421
- this.j54_1 = emptyList();
426
+ tmp_1.j54_1 = LinkedHashMap_init_$Create$();
427
+ this.k54_1 = emptyList();
422
428
  var tmp_2 = this;
423
429
  // Inline function 'kotlin.collections.mutableListOf' call
424
- tmp_2.k54_1 = ArrayList_init_$Create$_0();
425
- this.l54_1 = false;
426
- this.m54_1 = null;
430
+ tmp_2.l54_1 = ArrayList_init_$Create$_0();
431
+ this.m54_1 = false;
432
+ this.n54_1 = null;
427
433
  }
428
- protoOf(RefParser).d55 = function ($completion) {
434
+ protoOf(RefParser).i55 = function ($completion) {
429
435
  var tmp = new $parseCOROUTINE$(this, $completion);
430
- tmp.b8_1 = Unit_instance;
431
- tmp.c8_1 = null;
432
- return tmp.h8();
436
+ tmp.c8_1 = Unit_instance;
437
+ tmp.d8_1 = null;
438
+ return tmp.i8();
433
439
  };
434
- protoOf(RefParser).q55 = function ($completion) {
440
+ protoOf(RefParser).v55 = function ($completion) {
435
441
  var tmp = new $dereferenceCOROUTINE$(this, $completion);
436
- tmp.b8_1 = Unit_instance;
437
- tmp.c8_1 = null;
438
- return tmp.h8();
442
+ tmp.c8_1 = Unit_instance;
443
+ tmp.d8_1 = null;
444
+ return tmp.i8();
439
445
  };
440
- protoOf(RefParser).r55 = function ($completion) {
446
+ protoOf(RefParser).w55 = function ($completion) {
441
447
  var tmp = this;
442
448
  // Inline function 'kotlin.collections.mutableListOf' call
443
- tmp.k54_1 = ArrayList_init_$Create$_0();
444
- mergeAllOf(this.g54_1, VOID, this.k54_1);
449
+ tmp.l54_1 = ArrayList_init_$Create$_0();
450
+ mergeAllOf(this.h54_1, VOID, this.l54_1);
445
451
  return this;
446
452
  };
447
- protoOf(RefParser).s55 = function () {
448
- var tmp0_elvis_lhs = this.m54_1;
449
- return new ParsedDocument(tmp0_elvis_lhs == null ? this.g54_1 : tmp0_elvis_lhs, this.g54_1, this.h54_1, this.i54_1, this.j54_1, this.k54_1, this.l54_1);
453
+ protoOf(RefParser).x55 = function () {
454
+ var tmp0_elvis_lhs = this.n54_1;
455
+ return new ParsedDocument(tmp0_elvis_lhs == null ? this.h54_1 : tmp0_elvis_lhs, this.h54_1, this.i54_1, this.j54_1, this.k54_1, this.l54_1, this.m54_1);
450
456
  };
451
457
  function InMemoryLoader(uri, content) {
452
- this.t55_1 = uri;
453
- this.u55_1 = content;
458
+ this.y55_1 = uri;
459
+ this.z55_1 = content;
454
460
  }
455
- protoOf(InMemoryLoader).n54 = function (uri) {
456
- return uri === this.t55_1;
461
+ protoOf(InMemoryLoader).o54 = function (uri) {
462
+ return uri === this.y55_1;
457
463
  };
458
- protoOf(InMemoryLoader).o54 = function (uri, $completion) {
459
- return this.u55_1;
464
+ protoOf(InMemoryLoader).t54 = function (uri, $completion) {
465
+ return this.z55_1;
460
466
  };
461
467
  var AuthenticationType_QUERY_instance;
462
468
  var AuthenticationType_HEADER_instance;
@@ -484,25 +490,25 @@
484
490
  resolvedRefs = resolvedRefs === VOID ? emptyList() : resolvedRefs;
485
491
  originalAllOfs = originalAllOfs === VOID ? emptyList() : originalAllOfs;
486
492
  hasCircularRefs = hasCircularRefs === VOID ? false : hasCircularRefs;
487
- this.v55_1 = root;
488
- this.w55_1 = schema;
489
- this.x55_1 = locations;
490
- this.y55_1 = documentLocations;
491
- this.z55_1 = resolvedRefs;
492
- this.a56_1 = originalAllOfs;
493
- this.b56_1 = hasCircularRefs;
493
+ this.a56_1 = root;
494
+ this.b56_1 = schema;
495
+ this.c56_1 = locations;
496
+ this.d56_1 = documentLocations;
497
+ this.e56_1 = resolvedRefs;
498
+ this.f56_1 = originalAllOfs;
499
+ this.g56_1 = hasCircularRefs;
494
500
  }
495
501
  protoOf(ParsedDocument).toString = function () {
496
- return 'ParsedDocument(root=' + toString_0(this.v55_1) + ', schema=' + toString(this.w55_1) + ', locations=' + toString(this.x55_1) + ', documentLocations=' + toString(this.y55_1) + ', resolvedRefs=' + toString(this.z55_1) + ', originalAllOfs=' + toString(this.a56_1) + ', hasCircularRefs=' + this.b56_1 + ')';
502
+ return 'ParsedDocument(root=' + toString_0(this.a56_1) + ', schema=' + toString(this.b56_1) + ', locations=' + toString(this.c56_1) + ', documentLocations=' + toString(this.d56_1) + ', resolvedRefs=' + toString(this.e56_1) + ', originalAllOfs=' + toString(this.f56_1) + ', hasCircularRefs=' + this.g56_1 + ')';
497
503
  };
498
504
  protoOf(ParsedDocument).hashCode = function () {
499
- var result = this.v55_1 == null ? 0 : hashCode(this.v55_1);
500
- result = imul(result, 31) + hashCode(this.w55_1) | 0;
501
- result = imul(result, 31) + hashCode(this.x55_1) | 0;
502
- result = imul(result, 31) + hashCode(this.y55_1) | 0;
503
- result = imul(result, 31) + hashCode(this.z55_1) | 0;
504
- result = imul(result, 31) + hashCode(this.a56_1) | 0;
505
- result = imul(result, 31) + getBooleanHashCode(this.b56_1) | 0;
505
+ var result = this.a56_1 == null ? 0 : hashCode(this.a56_1);
506
+ result = imul(result, 31) + hashCode(this.b56_1) | 0;
507
+ result = imul(result, 31) + hashCode(this.c56_1) | 0;
508
+ result = imul(result, 31) + hashCode(this.d56_1) | 0;
509
+ result = imul(result, 31) + hashCode(this.e56_1) | 0;
510
+ result = imul(result, 31) + hashCode(this.f56_1) | 0;
511
+ result = imul(result, 31) + getBooleanHashCode(this.g56_1) | 0;
506
512
  return result;
507
513
  };
508
514
  protoOf(ParsedDocument).equals = function (other) {
@@ -510,19 +516,19 @@
510
516
  return true;
511
517
  if (!(other instanceof ParsedDocument))
512
518
  return false;
513
- if (!equals(this.v55_1, other.v55_1))
519
+ if (!equals(this.a56_1, other.a56_1))
514
520
  return false;
515
- if (!equals(this.w55_1, other.w55_1))
521
+ if (!equals(this.b56_1, other.b56_1))
516
522
  return false;
517
- if (!equals(this.x55_1, other.x55_1))
523
+ if (!equals(this.c56_1, other.c56_1))
518
524
  return false;
519
- if (!equals(this.y55_1, other.y55_1))
525
+ if (!equals(this.d56_1, other.d56_1))
520
526
  return false;
521
- if (!equals(this.z55_1, other.z55_1))
527
+ if (!equals(this.e56_1, other.e56_1))
522
528
  return false;
523
- if (!equals(this.a56_1, other.a56_1))
529
+ if (!equals(this.f56_1, other.f56_1))
524
530
  return false;
525
- if (!(this.b56_1 === other.b56_1))
531
+ if (!(this.g56_1 === other.g56_1))
526
532
  return false;
527
533
  return true;
528
534
  };
@@ -531,23 +537,23 @@
531
537
  targetUri = targetUri === VOID ? null : targetUri;
532
538
  sourceUri = sourceUri === VOID ? null : sourceUri;
533
539
  sourcePointer = sourcePointer === VOID ? null : sourcePointer;
534
- this.c56_1 = refString;
535
- this.d56_1 = resolvedTo;
536
- this.e56_1 = replacedValue;
537
- this.f56_1 = targetUri;
538
- this.g56_1 = sourceUri;
539
- this.h56_1 = sourcePointer;
540
+ this.h56_1 = refString;
541
+ this.i56_1 = resolvedTo;
542
+ this.j56_1 = replacedValue;
543
+ this.k56_1 = targetUri;
544
+ this.l56_1 = sourceUri;
545
+ this.m56_1 = sourcePointer;
540
546
  }
541
547
  protoOf(ResolvedRef).toString = function () {
542
- return 'ResolvedRef(refString=' + this.c56_1 + ', resolvedTo=' + toString_0(this.d56_1) + ', replacedValue=' + toString_0(this.e56_1) + ', targetUri=' + this.f56_1 + ', sourceUri=' + this.g56_1 + ', sourcePointer=' + this.h56_1 + ')';
548
+ return 'ResolvedRef(refString=' + this.h56_1 + ', resolvedTo=' + toString_0(this.i56_1) + ', replacedValue=' + toString_0(this.j56_1) + ', targetUri=' + this.k56_1 + ', sourceUri=' + this.l56_1 + ', sourcePointer=' + this.m56_1 + ')';
543
549
  };
544
550
  protoOf(ResolvedRef).hashCode = function () {
545
- var result = getStringHashCode(this.c56_1);
546
- result = imul(result, 31) + (this.d56_1 == null ? 0 : hashCode(this.d56_1)) | 0;
547
- result = imul(result, 31) + (this.e56_1 == null ? 0 : hashCode(this.e56_1)) | 0;
548
- result = imul(result, 31) + (this.f56_1 == null ? 0 : getStringHashCode(this.f56_1)) | 0;
549
- result = imul(result, 31) + (this.g56_1 == null ? 0 : getStringHashCode(this.g56_1)) | 0;
550
- result = imul(result, 31) + (this.h56_1 == null ? 0 : getStringHashCode(this.h56_1)) | 0;
551
+ var result = getStringHashCode(this.h56_1);
552
+ result = imul(result, 31) + (this.i56_1 == null ? 0 : hashCode(this.i56_1)) | 0;
553
+ result = imul(result, 31) + (this.j56_1 == null ? 0 : hashCode(this.j56_1)) | 0;
554
+ result = imul(result, 31) + (this.k56_1 == null ? 0 : getStringHashCode(this.k56_1)) | 0;
555
+ result = imul(result, 31) + (this.l56_1 == null ? 0 : getStringHashCode(this.l56_1)) | 0;
556
+ result = imul(result, 31) + (this.m56_1 == null ? 0 : getStringHashCode(this.m56_1)) | 0;
551
557
  return result;
552
558
  };
553
559
  protoOf(ResolvedRef).equals = function (other) {
@@ -555,30 +561,30 @@
555
561
  return true;
556
562
  if (!(other instanceof ResolvedRef))
557
563
  return false;
558
- if (!(this.c56_1 === other.c56_1))
564
+ if (!(this.h56_1 === other.h56_1))
559
565
  return false;
560
- if (!equals(this.d56_1, other.d56_1))
566
+ if (!equals(this.i56_1, other.i56_1))
561
567
  return false;
562
- if (!equals(this.e56_1, other.e56_1))
568
+ if (!equals(this.j56_1, other.j56_1))
563
569
  return false;
564
- if (!(this.f56_1 == other.f56_1))
570
+ if (!(this.k56_1 == other.k56_1))
565
571
  return false;
566
- if (!(this.g56_1 == other.g56_1))
572
+ if (!(this.l56_1 == other.l56_1))
567
573
  return false;
568
- if (!(this.h56_1 == other.h56_1))
574
+ if (!(this.m56_1 == other.m56_1))
569
575
  return false;
570
576
  return true;
571
577
  };
572
578
  function OriginalAllOf(mergedMap, allOfItems) {
573
- this.i56_1 = mergedMap;
574
- this.j56_1 = allOfItems;
579
+ this.n56_1 = mergedMap;
580
+ this.o56_1 = allOfItems;
575
581
  }
576
582
  protoOf(OriginalAllOf).toString = function () {
577
- return 'OriginalAllOf(mergedMap=' + toString(this.i56_1) + ', allOfItems=' + toString(this.j56_1) + ')';
583
+ return 'OriginalAllOf(mergedMap=' + toString(this.n56_1) + ', allOfItems=' + toString(this.o56_1) + ')';
578
584
  };
579
585
  protoOf(OriginalAllOf).hashCode = function () {
580
- var result = hashCode(this.i56_1);
581
- result = imul(result, 31) + hashCode(this.j56_1) | 0;
586
+ var result = hashCode(this.n56_1);
587
+ result = imul(result, 31) + hashCode(this.o56_1) | 0;
582
588
  return result;
583
589
  };
584
590
  protoOf(OriginalAllOf).equals = function (other) {
@@ -586,24 +592,24 @@
586
592
  return true;
587
593
  if (!(other instanceof OriginalAllOf))
588
594
  return false;
589
- if (!equals(this.i56_1, other.i56_1))
595
+ if (!equals(this.n56_1, other.n56_1))
590
596
  return false;
591
- if (!equals(this.j56_1, other.j56_1))
597
+ if (!equals(this.o56_1, other.o56_1))
592
598
  return false;
593
599
  return true;
594
600
  };
595
601
  function RefParserOptions(onCircular, onMissing) {
596
602
  onCircular = onCircular === VOID ? OnCircular_RESOLVE_getInstance() : onCircular;
597
603
  onMissing = onMissing === VOID ? OnMissing_FAIL_getInstance() : onMissing;
598
- this.k56_1 = onCircular;
599
- this.l56_1 = onMissing;
604
+ this.p56_1 = onCircular;
605
+ this.q56_1 = onMissing;
600
606
  }
601
607
  protoOf(RefParserOptions).toString = function () {
602
- return 'RefParserOptions(onCircular=' + this.k56_1.toString() + ', onMissing=' + this.l56_1.toString() + ')';
608
+ return 'RefParserOptions(onCircular=' + this.p56_1.toString() + ', onMissing=' + this.q56_1.toString() + ')';
603
609
  };
604
610
  protoOf(RefParserOptions).hashCode = function () {
605
- var result = this.k56_1.hashCode();
606
- result = imul(result, 31) + this.l56_1.hashCode() | 0;
611
+ var result = this.p56_1.hashCode();
612
+ result = imul(result, 31) + this.q56_1.hashCode() | 0;
607
613
  return result;
608
614
  };
609
615
  protoOf(RefParserOptions).equals = function (other) {
@@ -611,9 +617,9 @@
611
617
  return true;
612
618
  if (!(other instanceof RefParserOptions))
613
619
  return false;
614
- if (!this.k56_1.equals(other.k56_1))
620
+ if (!this.p56_1.equals(other.p56_1))
615
621
  return false;
616
- if (!this.l56_1.equals(other.l56_1))
622
+ if (!this.q56_1.equals(other.q56_1))
617
623
  return false;
618
624
  return true;
619
625
  };
@@ -667,21 +673,21 @@
667
673
  return OnMissing_SKIP_instance;
668
674
  }
669
675
  function SourceLocation(file, line, column, endLine, endColumn) {
670
- this.m56_1 = file;
671
- this.n56_1 = line;
672
- this.o56_1 = column;
673
- this.p56_1 = endLine;
674
- this.q56_1 = endColumn;
676
+ this.r56_1 = file;
677
+ this.s56_1 = line;
678
+ this.t56_1 = column;
679
+ this.u56_1 = endLine;
680
+ this.v56_1 = endColumn;
675
681
  }
676
682
  protoOf(SourceLocation).toString = function () {
677
- return 'SourceLocation(file=' + this.m56_1 + ', line=' + this.n56_1 + ', column=' + this.o56_1 + ', endLine=' + this.p56_1 + ', endColumn=' + this.q56_1 + ')';
683
+ return 'SourceLocation(file=' + this.r56_1 + ', line=' + this.s56_1 + ', column=' + this.t56_1 + ', endLine=' + this.u56_1 + ', endColumn=' + this.v56_1 + ')';
678
684
  };
679
685
  protoOf(SourceLocation).hashCode = function () {
680
- var result = getStringHashCode(this.m56_1);
681
- result = imul(result, 31) + this.n56_1 | 0;
682
- result = imul(result, 31) + this.o56_1 | 0;
683
- result = imul(result, 31) + this.p56_1 | 0;
684
- result = imul(result, 31) + this.q56_1 | 0;
686
+ var result = getStringHashCode(this.r56_1);
687
+ result = imul(result, 31) + this.s56_1 | 0;
688
+ result = imul(result, 31) + this.t56_1 | 0;
689
+ result = imul(result, 31) + this.u56_1 | 0;
690
+ result = imul(result, 31) + this.v56_1 | 0;
685
691
  return result;
686
692
  };
687
693
  protoOf(SourceLocation).equals = function (other) {
@@ -689,15 +695,15 @@
689
695
  return true;
690
696
  if (!(other instanceof SourceLocation))
691
697
  return false;
692
- if (!(this.m56_1 === other.m56_1))
698
+ if (!(this.r56_1 === other.r56_1))
693
699
  return false;
694
- if (!(this.n56_1 === other.n56_1))
700
+ if (!(this.s56_1 === other.s56_1))
695
701
  return false;
696
- if (!(this.o56_1 === other.o56_1))
702
+ if (!(this.t56_1 === other.t56_1))
697
703
  return false;
698
- if (!(this.p56_1 === other.p56_1))
704
+ if (!(this.u56_1 === other.u56_1))
699
705
  return false;
700
- if (!(this.q56_1 === other.q56_1))
706
+ if (!(this.v56_1 === other.v56_1))
701
707
  return false;
702
708
  return true;
703
709
  };
@@ -707,19 +713,19 @@
707
713
  }
708
714
  var loadSettings;
709
715
  function RawDocument(uri, root, map, locations) {
710
- this.p54_1 = uri;
711
- this.q54_1 = root;
712
- this.r54_1 = map;
713
- this.s54_1 = locations;
716
+ this.u54_1 = uri;
717
+ this.v54_1 = root;
718
+ this.w54_1 = map;
719
+ this.x54_1 = locations;
714
720
  }
715
721
  protoOf(RawDocument).toString = function () {
716
- return 'RawDocument(uri=' + this.p54_1 + ', root=' + toString_0(this.q54_1) + ', map=' + toString(this.r54_1) + ', locations=' + toString(this.s54_1) + ')';
722
+ return 'RawDocument(uri=' + this.u54_1 + ', root=' + toString_0(this.v54_1) + ', map=' + toString(this.w54_1) + ', locations=' + toString(this.x54_1) + ')';
717
723
  };
718
724
  protoOf(RawDocument).hashCode = function () {
719
- var result = getStringHashCode(this.p54_1);
720
- result = imul(result, 31) + (this.q54_1 == null ? 0 : hashCode(this.q54_1)) | 0;
721
- result = imul(result, 31) + hashCode(this.r54_1) | 0;
722
- result = imul(result, 31) + hashCode(this.s54_1) | 0;
725
+ var result = getStringHashCode(this.u54_1);
726
+ result = imul(result, 31) + (this.v54_1 == null ? 0 : hashCode(this.v54_1)) | 0;
727
+ result = imul(result, 31) + hashCode(this.w54_1) | 0;
728
+ result = imul(result, 31) + hashCode(this.x54_1) | 0;
723
729
  return result;
724
730
  };
725
731
  protoOf(RawDocument).equals = function (other) {
@@ -727,20 +733,20 @@
727
733
  return true;
728
734
  if (!(other instanceof RawDocument))
729
735
  return false;
730
- if (!(this.p54_1 === other.p54_1))
736
+ if (!(this.u54_1 === other.u54_1))
731
737
  return false;
732
- if (!equals(this.q54_1, other.q54_1))
738
+ if (!equals(this.v54_1, other.v54_1))
733
739
  return false;
734
- if (!equals(this.r54_1, other.r54_1))
740
+ if (!equals(this.w54_1, other.w54_1))
735
741
  return false;
736
- if (!equals(this.s54_1, other.s54_1))
742
+ if (!equals(this.x54_1, other.x54_1))
737
743
  return false;
738
744
  return true;
739
745
  };
740
746
  function parseText(text, fileUri) {
741
747
  _init_properties_SchemaParser_kt__ctx6o();
742
748
  var compose = new Compose(get_loadSettings());
743
- var node = compose.k4t(text);
749
+ var node = compose.l4t(text);
744
750
  if (node == null) {
745
751
  // Inline function 'kotlin.collections.linkedMapOf' call
746
752
  var tmp = LinkedHashMap_init_$Create$();
@@ -752,7 +758,7 @@
752
758
  }
753
759
  // Inline function 'kotlin.collections.mutableMapOf' call
754
760
  var locations = LinkedHashMap_init_$Create$();
755
- var value = buildNode(node, Companion_getInstance().j53_1, fileUri, locations);
761
+ var value = buildNode(node, Companion_getInstance().k53_1, fileUri, locations);
756
762
  var tmp_1;
757
763
  if (!(value == null) ? isInterface(value, KtMutableMap) : false) {
758
764
  tmp_1 = isInterface(value, KtMutableMap) ? value : THROW_CCE();
@@ -765,12 +771,12 @@
765
771
  }
766
772
  function buildNode(node, pointer, fileUri, locations) {
767
773
  _init_properties_SchemaParser_kt__ctx6o();
768
- var start = node.e4g_1;
769
- var end = node.f4g_1;
774
+ var start = node.f4g_1;
775
+ var end = node.g4g_1;
770
776
  if (!(start == null) && !(end == null)) {
771
777
  var tmp2 = pointer.toString();
772
778
  // Inline function 'kotlin.collections.set' call
773
- var value = new SourceLocation(fileUri, start.e4k_1, start.f4k_1, end.e4k_1, end.f4k_1);
779
+ var value = new SourceLocation(fileUri, start.f4k_1, start.g4k_1, end.f4k_1, end.g4k_1);
774
780
  locations.v1(tmp2, value);
775
781
  }
776
782
  var tmp;
@@ -778,13 +784,13 @@
778
784
  // Inline function 'kotlin.collections.linkedMapOf' call
779
785
  var map = LinkedHashMap_init_$Create$();
780
786
  // Inline function 'kotlin.collections.forEach' call
781
- var _iterator__ex2g4s = node.s4i_1.i();
787
+ var _iterator__ex2g4s = node.t4i_1.i();
782
788
  while (_iterator__ex2g4s.j()) {
783
789
  var element = _iterator__ex2g4s.k();
784
790
  $l$block: {
785
- var tmp_0 = element.e4l_1;
791
+ var tmp_0 = element.f4l_1;
786
792
  var tmp0_safe_receiver = tmp_0 instanceof ScalarNode ? tmp_0 : null;
787
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q4l_1;
793
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r4l_1;
788
794
  var tmp_1;
789
795
  if (tmp1_elvis_lhs == null) {
790
796
  break $l$block;
@@ -793,7 +799,7 @@
793
799
  }
794
800
  var key = tmp_1;
795
801
  // Inline function 'kotlin.collections.set' call
796
- var value_0 = buildNode(element.f4l_1, pointer.m53(key), fileUri, locations);
802
+ var value_0 = buildNode(element.g4l_1, pointer.n53(key), fileUri, locations);
797
803
  map.v1(key, value_0);
798
804
  }
799
805
  }
@@ -801,7 +807,7 @@
801
807
  } else {
802
808
  if (node instanceof SequenceNode) {
803
809
  // Inline function 'kotlin.collections.mapIndexed' call
804
- var this_0 = node.d4m_1;
810
+ var this_0 = node.e4m_1;
805
811
  // Inline function 'kotlin.collections.mapIndexedTo' call
806
812
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
807
813
  var index = 0;
@@ -811,7 +817,7 @@
811
817
  var _unary__edvuaz = index;
812
818
  index = _unary__edvuaz + 1 | 0;
813
819
  var i = checkIndexOverflow(_unary__edvuaz);
814
- var tmp$ret$5 = buildNode(item, pointer.n53(i), fileUri, locations);
820
+ var tmp$ret$5 = buildNode(item, pointer.o53(i), fileUri, locations);
815
821
  destination.h(tmp$ret$5);
816
822
  }
817
823
  tmp = toMutableList(destination);
@@ -827,9 +833,9 @@
827
833
  }
828
834
  function scalarValue(node) {
829
835
  _init_properties_SchemaParser_kt__ctx6o();
830
- var raw = node.q4l_1;
836
+ var raw = node.r4l_1;
831
837
  var tmp;
832
- switch (node.d4g_1.e4m_1) {
838
+ switch (node.e4g_1.f4m_1) {
833
839
  case 'tag:yaml.org,2002:null':
834
840
  tmp = null;
835
841
  break;
@@ -883,48 +889,87 @@
883
889
  loadSettings = new LoadSettings();
884
890
  }
885
891
  }
892
+ function RefParserPlatform() {
893
+ this.p54_1 = 'jsonrefparser.filesystem';
894
+ this.q54_1 = 'jsonrefparser.classpath';
895
+ this.r54_1 = 'jsonrefparser.http';
896
+ }
897
+ protoOf(RefParserPlatform).w56 = function () {
898
+ return currentPlatformName();
899
+ };
900
+ protoOf(RefParserPlatform).x56 = function () {
901
+ return currentPlatformCapabilities();
902
+ };
903
+ protoOf(RefParserPlatform).y56 = function (capability) {
904
+ return this.x56().l1(capability);
905
+ };
906
+ protoOf(RefParserPlatform).z56 = function (uri) {
907
+ return startsWith(uri, 'classpath:') ? 'jsonrefparser.classpath' : startsWith(uri, 'file:') ? 'jsonrefparser.filesystem' : startsWith(uri, 'http://') || startsWith(uri, 'https://') ? 'jsonrefparser.http' : !contains(uri, '://') ? 'jsonrefparser.filesystem' : null;
908
+ };
909
+ protoOf(RefParserPlatform).s54 = function (uri) {
910
+ var tmp0_elvis_lhs = this.z56(uri);
911
+ var tmp;
912
+ if (tmp0_elvis_lhs == null) {
913
+ return null;
914
+ } else {
915
+ tmp = tmp0_elvis_lhs;
916
+ }
917
+ var capability = tmp;
918
+ return this.y56(capability) ? null : new CapabilityUnavailableException(capability, this.w56());
919
+ };
920
+ var RefParserPlatform_instance;
921
+ function RefParserPlatform_getInstance() {
922
+ return RefParserPlatform_instance;
923
+ }
924
+ function CapabilityUnavailableException(capability, platform, message) {
925
+ message = message === VOID ? "Capability '" + capability + "' is not available on " + platform : message;
926
+ UnsupportedOperationException_init_$Init$(message, this);
927
+ captureStack(this, CapabilityUnavailableException);
928
+ this.a57_1 = capability;
929
+ this.b57_1 = platform;
930
+ }
886
931
  function ResolvingContext(options, loaders, auth, locationIndex) {
887
- this.e55_1 = options;
888
- this.f55_1 = loaders;
889
- this.g55_1 = auth;
890
- this.h55_1 = locationIndex;
932
+ this.j55_1 = options;
933
+ this.k55_1 = loaders;
934
+ this.l55_1 = auth;
935
+ this.m55_1 = locationIndex;
891
936
  var tmp = this;
892
937
  // Inline function 'kotlin.collections.mutableMapOf' call
893
- tmp.i55_1 = LinkedHashMap_init_$Create$();
938
+ tmp.n55_1 = LinkedHashMap_init_$Create$();
894
939
  var tmp_0 = this;
895
940
  // Inline function 'kotlin.collections.mutableMapOf' call
896
- tmp_0.j55_1 = LinkedHashMap_init_$Create$();
941
+ tmp_0.o55_1 = LinkedHashMap_init_$Create$();
897
942
  var tmp_1 = this;
898
943
  // Inline function 'kotlin.collections.mutableSetOf' call
899
- tmp_1.k55_1 = LinkedHashSet_init_$Create$();
944
+ tmp_1.p55_1 = LinkedHashSet_init_$Create$();
900
945
  var tmp_2 = this;
901
946
  // Inline function 'kotlin.collections.mutableSetOf' call
902
- tmp_2.l55_1 = LinkedHashSet_init_$Create$();
903
- this.m55_1 = false;
947
+ tmp_2.q55_1 = LinkedHashSet_init_$Create$();
948
+ this.r55_1 = false;
904
949
  var tmp_3 = this;
905
950
  // Inline function 'kotlin.collections.mutableListOf' call
906
- tmp_3.n55_1 = ArrayList_init_$Create$_0();
951
+ tmp_3.s55_1 = ArrayList_init_$Create$_0();
907
952
  var tmp_4 = this;
908
953
  // Inline function 'kotlin.collections.mutableListOf' call
909
- tmp_4.o55_1 = ArrayList_init_$Create$_0();
954
+ tmp_4.t55_1 = ArrayList_init_$Create$_0();
910
955
  var tmp_5 = this;
911
956
  // Inline function 'kotlin.collections.mutableMapOf' call
912
- tmp_5.p55_1 = LinkedHashMap_init_$Create$();
957
+ tmp_5.u55_1 = LinkedHashMap_init_$Create$();
913
958
  }
914
959
  function resolveDocument(doc, ctx, $completion) {
915
960
  var tmp = new $resolveDocumentCOROUTINE$(doc, ctx, $completion);
916
- tmp.b8_1 = Unit_instance;
917
- tmp.c8_1 = null;
918
- return tmp.h8();
961
+ tmp.c8_1 = Unit_instance;
962
+ tmp.d8_1 = null;
963
+ return tmp.i8();
919
964
  }
920
965
  function mergeAllOf(value, identityStack, collector) {
921
966
  identityStack = identityStack === VOID ? new IdentityStack() : identityStack;
922
967
  collector = collector === VOID ? null : collector;
923
968
  if (value == null)
924
969
  return Unit_instance;
925
- if (identityStack.c57(value))
970
+ if (identityStack.n57(value))
926
971
  return Unit_instance;
927
- identityStack.d57(value);
972
+ identityStack.o57(value);
928
973
  try {
929
974
  if (isInterface(value, KtMutableMap)) {
930
975
  var map = isInterface(value, KtMutableMap) ? value : THROW_CCE();
@@ -944,7 +989,7 @@
944
989
  if (!(allOf == null) ? isInterface(allOf, KtList) : false) {
945
990
  var acc = new AllOfAccumulator();
946
991
  collectAllOf(acc, map);
947
- var merged = acc.h57();
992
+ var merged = acc.s57();
948
993
  map.w1('allOf');
949
994
  map.x1(merged);
950
995
  if (collector == null)
@@ -964,22 +1009,22 @@
964
1009
  }
965
1010
  }
966
1011
  }finally {
967
- identityStack.i57();
1012
+ identityStack.t57();
968
1013
  }
969
1014
  }
970
1015
  function resolveValue(value, fileUri, pointer, ctx, $completion) {
971
1016
  var tmp = new $resolveValueCOROUTINE$(value, fileUri, pointer, ctx, $completion);
972
- tmp.b8_1 = Unit_instance;
973
- tmp.c8_1 = null;
974
- return tmp.h8();
1017
+ tmp.c8_1 = Unit_instance;
1018
+ tmp.d8_1 = null;
1019
+ return tmp.i8();
975
1020
  }
976
1021
  function IdentityStack() {
977
1022
  var tmp = this;
978
1023
  // Inline function 'kotlin.collections.mutableListOf' call
979
- tmp.b57_1 = ArrayList_init_$Create$_0();
1024
+ tmp.m57_1 = ArrayList_init_$Create$_0();
980
1025
  }
981
- protoOf(IdentityStack).c57 = function (obj) {
982
- var tmp0 = this.b57_1;
1026
+ protoOf(IdentityStack).n57 = function (obj) {
1027
+ var tmp0 = this.m57_1;
983
1028
  var tmp$ret$0;
984
1029
  $l$block_0: {
985
1030
  // Inline function 'kotlin.collections.any' call
@@ -1005,42 +1050,42 @@
1005
1050
  }
1006
1051
  return tmp$ret$0;
1007
1052
  };
1008
- protoOf(IdentityStack).d57 = function (obj) {
1009
- this.b57_1.h(obj);
1053
+ protoOf(IdentityStack).o57 = function (obj) {
1054
+ this.m57_1.h(obj);
1010
1055
  };
1011
- protoOf(IdentityStack).i57 = function () {
1056
+ protoOf(IdentityStack).t57 = function () {
1012
1057
  // Inline function 'kotlin.collections.isNotEmpty' call
1013
- if (!this.b57_1.l()) {
1014
- this.b57_1.b2(get_lastIndex(this.b57_1));
1058
+ if (!this.m57_1.l()) {
1059
+ this.m57_1.b2(get_lastIndex(this.m57_1));
1015
1060
  }
1016
1061
  };
1017
1062
  function AllOfAccumulator() {
1018
1063
  var tmp = this;
1019
1064
  // Inline function 'kotlin.collections.linkedMapOf' call
1020
- tmp.e57_1 = LinkedHashMap_init_$Create$();
1065
+ tmp.p57_1 = LinkedHashMap_init_$Create$();
1021
1066
  var tmp_0 = this;
1022
1067
  // Inline function 'kotlin.collections.linkedMapOf' call
1023
- tmp_0.f57_1 = LinkedHashMap_init_$Create$();
1068
+ tmp_0.q57_1 = LinkedHashMap_init_$Create$();
1024
1069
  var tmp_1 = this;
1025
1070
  // Inline function 'kotlin.collections.mutableListOf' call
1026
- tmp_1.g57_1 = ArrayList_init_$Create$_0();
1071
+ tmp_1.r57_1 = ArrayList_init_$Create$_0();
1027
1072
  }
1028
- protoOf(AllOfAccumulator).h57 = function () {
1073
+ protoOf(AllOfAccumulator).s57 = function () {
1029
1074
  // Inline function 'kotlin.collections.linkedMapOf' call
1030
1075
  var result = LinkedHashMap_init_$Create$();
1031
- result.x1(this.e57_1);
1076
+ result.x1(this.p57_1);
1032
1077
  // Inline function 'kotlin.collections.isNotEmpty' call
1033
- if (!this.g57_1.l()) {
1078
+ if (!this.r57_1.l()) {
1034
1079
  var tmp2 = 'required';
1035
1080
  // Inline function 'kotlin.collections.set' call
1036
- var value = this.g57_1;
1081
+ var value = this.r57_1;
1037
1082
  result.v1(tmp2, value);
1038
1083
  }
1039
1084
  // Inline function 'kotlin.collections.isNotEmpty' call
1040
- if (!this.f57_1.l()) {
1085
+ if (!this.q57_1.l()) {
1041
1086
  var tmp2_0 = 'properties';
1042
1087
  // Inline function 'kotlin.collections.set' call
1043
- var value_0 = this.f57_1;
1088
+ var value_0 = this.q57_1;
1044
1089
  result.v1(tmp2_0, value_0);
1045
1090
  }
1046
1091
  return result;
@@ -1079,27 +1124,27 @@
1079
1124
  }
1080
1125
  } else {
1081
1126
  // Inline function 'kotlin.collections.set' call
1082
- acc.e57_1.v1(k, v);
1127
+ acc.p57_1.v1(k, v);
1083
1128
  }
1084
1129
  }
1085
1130
  if (item.p1('properties')) {
1086
1131
  var props = item.r1('properties');
1087
1132
  if (!(props == null) ? isInterface(props, KtMap) : false) {
1088
- acc.f57_1.x1(isInterface(props, KtMap) ? props : THROW_CCE());
1133
+ acc.q57_1.x1(isInterface(props, KtMap) ? props : THROW_CCE());
1089
1134
  }
1090
1135
  }
1091
1136
  if (item.p1('required')) {
1092
1137
  var req = item.r1('required');
1093
1138
  if (!(req == null) ? isInterface(req, KtList) : false) {
1094
- acc.g57_1.s(req);
1139
+ acc.r57_1.s(req);
1095
1140
  }
1096
1141
  }
1097
1142
  }
1098
1143
  function resolveRef(refMap, fileUri, pointer, ctx, $completion) {
1099
1144
  var tmp = new $resolveRefCOROUTINE$(refMap, fileUri, pointer, ctx, $completion);
1100
- tmp.b8_1 = Unit_instance;
1101
- tmp.c8_1 = null;
1102
- return tmp.h8();
1145
+ tmp.c8_1 = Unit_instance;
1146
+ tmp.d8_1 = null;
1147
+ return tmp.i8();
1103
1148
  }
1104
1149
  function escapeToken(key) {
1105
1150
  return replace(replace(key, '~', '~0'), '/', '~1');
@@ -1137,34 +1182,34 @@
1137
1182
  }
1138
1183
  function loadFile(uri, ctx, $completion) {
1139
1184
  var tmp = new $loadFileCOROUTINE$(uri, ctx, $completion);
1140
- tmp.b8_1 = Unit_instance;
1141
- tmp.c8_1 = null;
1142
- return tmp.h8();
1185
+ tmp.c8_1 = Unit_instance;
1186
+ tmp.d8_1 = null;
1187
+ return tmp.i8();
1143
1188
  }
1144
1189
  function $resolveDocumentCOROUTINE$(doc, ctx, resultContinuation) {
1145
1190
  CoroutineImpl.call(this, resultContinuation);
1146
- this.z56_1 = doc;
1147
- this.a57_1 = ctx;
1191
+ this.k57_1 = doc;
1192
+ this.l57_1 = ctx;
1148
1193
  }
1149
- protoOf($resolveDocumentCOROUTINE$).h8 = function () {
1150
- var suspendResult = this.b8_1;
1194
+ protoOf($resolveDocumentCOROUTINE$).i8 = function () {
1195
+ var suspendResult = this.c8_1;
1151
1196
  $sm: do
1152
1197
  try {
1153
- var tmp = this.z7_1;
1198
+ var tmp = this.a8_1;
1154
1199
  switch (tmp) {
1155
1200
  case 0:
1156
- this.a8_1 = 2;
1157
- var tmp0 = this.a57_1.i55_1;
1158
- var tmp2 = this.z56_1.p54_1;
1159
- var value = this.z56_1.q54_1;
1201
+ this.b8_1 = 2;
1202
+ var tmp0 = this.l57_1.n55_1;
1203
+ var tmp2 = this.k57_1.u54_1;
1204
+ var value = this.k57_1.v54_1;
1160
1205
  tmp0.v1(tmp2, value);
1161
- var tmp0_0 = this.a57_1.p55_1;
1162
- var tmp2_0 = this.z56_1.p54_1;
1163
- var value_0 = toMutableMap(this.z56_1.s54_1);
1206
+ var tmp0_0 = this.l57_1.u55_1;
1207
+ var tmp2_0 = this.k57_1.u54_1;
1208
+ var value_0 = toMutableMap(this.k57_1.x54_1);
1164
1209
  tmp0_0.v1(tmp2_0, value_0);
1165
- this.a57_1.h55_1.x1(this.z56_1.s54_1);
1166
- this.z7_1 = 1;
1167
- suspendResult = resolveValue(this.z56_1.q54_1, this.z56_1.p54_1, '', this.a57_1, this);
1210
+ this.l57_1.m55_1.x1(this.k57_1.x54_1);
1211
+ this.a8_1 = 1;
1212
+ suspendResult = resolveValue(this.k57_1.v54_1, this.k57_1.u54_1, '', this.l57_1, this);
1168
1213
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1169
1214
  return suspendResult;
1170
1215
  }
@@ -1182,47 +1227,47 @@
1182
1227
 
1183
1228
  return tmp_0;
1184
1229
  case 2:
1185
- throw this.c8_1;
1230
+ throw this.d8_1;
1186
1231
  }
1187
1232
  } catch ($p) {
1188
1233
  var e = $p;
1189
- if (this.a8_1 === 2) {
1234
+ if (this.b8_1 === 2) {
1190
1235
  throw e;
1191
1236
  } else {
1192
- this.z7_1 = this.a8_1;
1193
- this.c8_1 = e;
1237
+ this.a8_1 = this.b8_1;
1238
+ this.d8_1 = e;
1194
1239
  }
1195
1240
  }
1196
1241
  while (true);
1197
1242
  };
1198
1243
  function $resolveValueCOROUTINE$(value, fileUri, pointer, ctx, resultContinuation) {
1199
1244
  CoroutineImpl.call(this, resultContinuation);
1200
- this.r57_1 = value;
1201
- this.s57_1 = fileUri;
1202
- this.t57_1 = pointer;
1203
- this.u57_1 = ctx;
1245
+ this.c58_1 = value;
1246
+ this.d58_1 = fileUri;
1247
+ this.e58_1 = pointer;
1248
+ this.f58_1 = ctx;
1204
1249
  }
1205
- protoOf($resolveValueCOROUTINE$).h8 = function () {
1206
- var suspendResult = this.b8_1;
1250
+ protoOf($resolveValueCOROUTINE$).i8 = function () {
1251
+ var suspendResult = this.c8_1;
1207
1252
  $sm: do
1208
1253
  try {
1209
- var tmp = this.z7_1;
1254
+ var tmp = this.a8_1;
1210
1255
  switch (tmp) {
1211
1256
  case 0:
1212
- this.a8_1 = 14;
1213
- this.v57_1 = this.s57_1 + '#' + this.t57_1;
1214
- if (this.u57_1.k55_1.l1(this.v57_1)) {
1215
- this.u57_1.m55_1 = true;
1257
+ this.b8_1 = 14;
1258
+ this.g58_1 = this.d58_1 + '#' + this.e58_1;
1259
+ if (this.f58_1.p55_1.l1(this.g58_1)) {
1260
+ this.f58_1.r55_1 = true;
1216
1261
  var tmp_0;
1217
- switch (this.u57_1.e55_1.k56_1.e2_1) {
1262
+ switch (this.f58_1.j55_1.p56_1.e2_1) {
1218
1263
  case 2:
1219
- throw new CircularReferenceException('Circular $ref at ' + this.v57_1);
1264
+ throw new CircularReferenceException('Circular $ref at ' + this.g58_1);
1220
1265
  case 1:
1221
- tmp_0 = this.r57_1;
1266
+ tmp_0 = this.c58_1;
1222
1267
  break;
1223
1268
  case 0:
1224
- var tmp1_elvis_lhs = this.u57_1.j55_1.r1(this.v57_1);
1225
- tmp_0 = tmp1_elvis_lhs == null ? this.r57_1 : tmp1_elvis_lhs;
1269
+ var tmp1_elvis_lhs = this.f58_1.o55_1.r1(this.g58_1);
1270
+ tmp_0 = tmp1_elvis_lhs == null ? this.c58_1 : tmp1_elvis_lhs;
1226
1271
  break;
1227
1272
  default:
1228
1273
  noWhenBranchMatchedException();
@@ -1231,70 +1276,70 @@
1231
1276
  return tmp_0;
1232
1277
  }
1233
1278
 
1234
- if (this.u57_1.l55_1.l1(this.v57_1))
1235
- return this.r57_1;
1236
- this.u57_1.k55_1.h(this.v57_1);
1237
- this.u57_1.l55_1.h(this.v57_1);
1238
- this.z7_1 = 1;
1279
+ if (this.f58_1.q55_1.l1(this.g58_1))
1280
+ return this.c58_1;
1281
+ this.f58_1.p55_1.h(this.g58_1);
1282
+ this.f58_1.q55_1.h(this.g58_1);
1283
+ this.a8_1 = 1;
1239
1284
  continue $sm;
1240
1285
  case 1:
1241
- this.w57_1 = Unit_instance;
1242
- this.z7_1 = 2;
1286
+ this.h58_1 = Unit_instance;
1287
+ this.a8_1 = 2;
1243
1288
  continue $sm;
1244
1289
  case 2:
1245
- this.a8_1 = 13;
1290
+ this.b8_1 = 13;
1246
1291
  var tmp_1;
1247
- var tmp_2 = this.r57_1;
1292
+ var tmp_2 = this.c58_1;
1248
1293
  if (!(tmp_2 == null) ? isInterface(tmp_2, KtMap) : false) {
1249
- var this_0 = this.r57_1;
1294
+ var this_0 = this.c58_1;
1250
1295
  tmp_1 = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).p1('$ref');
1251
1296
  } else {
1252
1297
  tmp_1 = false;
1253
1298
  }
1254
1299
 
1255
1300
  if (tmp_1) {
1256
- this.z7_1 = 9;
1257
- var tmp_3 = this.r57_1;
1258
- suspendResult = resolveRef(isInterface(tmp_3, KtMap) ? tmp_3 : THROW_CCE(), this.s57_1, this.t57_1, this.u57_1, this);
1301
+ this.a8_1 = 9;
1302
+ var tmp_3 = this.c58_1;
1303
+ suspendResult = resolveRef(isInterface(tmp_3, KtMap) ? tmp_3 : THROW_CCE(), this.d58_1, this.e58_1, this.f58_1, this);
1259
1304
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1260
1305
  return suspendResult;
1261
1306
  }
1262
1307
  continue $sm;
1263
1308
  } else {
1264
- var tmp_4 = this.r57_1;
1309
+ var tmp_4 = this.c58_1;
1265
1310
  if (!(tmp_4 == null) ? isInterface(tmp_4, KtMutableMap) : false) {
1266
1311
  var tmp_5 = this;
1267
- var tmp_6 = this.r57_1;
1268
- tmp_5.y57_1 = isInterface(tmp_6, KtMutableMap) ? tmp_6 : THROW_CCE();
1269
- this.b58_1 = toList(this.y57_1.u1()).i();
1270
- this.z7_1 = 6;
1312
+ var tmp_6 = this.c58_1;
1313
+ tmp_5.j58_1 = isInterface(tmp_6, KtMutableMap) ? tmp_6 : THROW_CCE();
1314
+ this.m58_1 = toList(this.j58_1.u1()).i();
1315
+ this.a8_1 = 6;
1271
1316
  continue $sm;
1272
1317
  } else {
1273
- var tmp_7 = this.r57_1;
1318
+ var tmp_7 = this.c58_1;
1274
1319
  if (!(tmp_7 == null) ? isInterface(tmp_7, KtMutableList) : false) {
1275
1320
  var tmp_8 = this;
1276
- var tmp_9 = this.r57_1;
1277
- tmp_8.c58_1 = isInterface(tmp_9, KtMutableList) ? tmp_9 : THROW_CCE();
1278
- this.e58_1 = get_indices(this.c58_1).i();
1279
- this.z7_1 = 3;
1321
+ var tmp_9 = this.c58_1;
1322
+ tmp_8.n58_1 = isInterface(tmp_9, KtMutableList) ? tmp_9 : THROW_CCE();
1323
+ this.p58_1 = get_indices(this.n58_1).i();
1324
+ this.a8_1 = 3;
1280
1325
  continue $sm;
1281
1326
  } else {
1282
- this.x57_1 = this.r57_1;
1283
- this.z7_1 = 10;
1327
+ this.i58_1 = this.c58_1;
1328
+ this.a8_1 = 10;
1284
1329
  continue $sm;
1285
1330
  }
1286
1331
  }
1287
1332
  }
1288
1333
 
1289
1334
  case 3:
1290
- if (!this.e58_1.j()) {
1291
- this.z7_1 = 5;
1335
+ if (!this.p58_1.j()) {
1336
+ this.a8_1 = 5;
1292
1337
  continue $sm;
1293
1338
  }
1294
1339
 
1295
- this.d58_1 = this.e58_1.k();
1296
- this.z7_1 = 4;
1297
- suspendResult = resolveValue(this.c58_1.m(this.d58_1), this.s57_1, this.t57_1 + '/' + this.d58_1, this.u57_1, this);
1340
+ this.o58_1 = this.p58_1.k();
1341
+ this.a8_1 = 4;
1342
+ suspendResult = resolveValue(this.n58_1.m(this.o58_1), this.d58_1, this.e58_1 + '/' + this.o58_1, this.f58_1, this);
1298
1343
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1299
1344
  return suspendResult;
1300
1345
  }
@@ -1302,29 +1347,29 @@
1302
1347
  continue $sm;
1303
1348
  case 4:
1304
1349
  var resolved = suspendResult;
1305
- if (!(resolved === this.c58_1.m(this.d58_1))) {
1306
- this.c58_1.z1(this.d58_1, resolved);
1350
+ if (!(resolved === this.n58_1.m(this.o58_1))) {
1351
+ this.n58_1.z1(this.o58_1, resolved);
1307
1352
  }
1308
1353
 
1309
- this.z7_1 = 3;
1354
+ this.a8_1 = 3;
1310
1355
  continue $sm;
1311
1356
  case 5:
1312
- this.x57_1 = this.c58_1;
1313
- this.z7_1 = 10;
1357
+ this.i58_1 = this.n58_1;
1358
+ this.a8_1 = 10;
1314
1359
  continue $sm;
1315
1360
  case 6:
1316
- if (!this.b58_1.j()) {
1317
- this.z7_1 = 8;
1361
+ if (!this.m58_1.j()) {
1362
+ this.a8_1 = 8;
1318
1363
  continue $sm;
1319
1364
  }
1320
1365
 
1321
- var _destruct__k2r9zo = this.b58_1.k();
1366
+ var _destruct__k2r9zo = this.m58_1.k();
1322
1367
  var tmp_10 = this;
1323
- tmp_10.z57_1 = _destruct__k2r9zo.n1();
1368
+ tmp_10.k58_1 = _destruct__k2r9zo.n1();
1324
1369
  var tmp_11 = this;
1325
- tmp_11.a58_1 = _destruct__k2r9zo.o1();
1326
- this.z7_1 = 7;
1327
- suspendResult = resolveValue(this.a58_1, this.s57_1, this.t57_1 + '/' + escapeToken(this.z57_1), this.u57_1, this);
1370
+ tmp_11.l58_1 = _destruct__k2r9zo.o1();
1371
+ this.a8_1 = 7;
1372
+ suspendResult = resolveValue(this.l58_1, this.d58_1, this.e58_1 + '/' + escapeToken(this.k58_1), this.f58_1, this);
1328
1373
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1329
1374
  return suspendResult;
1330
1375
  }
@@ -1332,104 +1377,104 @@
1332
1377
  continue $sm;
1333
1378
  case 7:
1334
1379
  var resolved_0 = suspendResult;
1335
- if (!(resolved_0 === this.a58_1)) {
1336
- var tmp0 = this.y57_1;
1337
- var key = this.z57_1;
1380
+ if (!(resolved_0 === this.l58_1)) {
1381
+ var tmp0 = this.j58_1;
1382
+ var key = this.k58_1;
1338
1383
  tmp0.v1(key, resolved_0);
1339
1384
  }
1340
1385
 
1341
- this.z7_1 = 6;
1386
+ this.a8_1 = 6;
1342
1387
  continue $sm;
1343
1388
  case 8:
1344
- var tmp0_0 = this.u57_1.j55_1;
1345
- var tmp2 = this.v57_1;
1346
- var value = this.y57_1;
1389
+ var tmp0_0 = this.f58_1.o55_1;
1390
+ var tmp2 = this.g58_1;
1391
+ var value = this.j58_1;
1347
1392
  tmp0_0.v1(tmp2, value);
1348
- this.x57_1 = this.y57_1;
1349
- this.z7_1 = 10;
1393
+ this.i58_1 = this.j58_1;
1394
+ this.a8_1 = 10;
1350
1395
  continue $sm;
1351
1396
  case 9:
1352
- this.x57_1 = suspendResult;
1353
- this.z7_1 = 10;
1397
+ this.i58_1 = suspendResult;
1398
+ this.a8_1 = 10;
1354
1399
  continue $sm;
1355
1400
  case 10:
1356
- this.w57_1 = this.x57_1;
1357
- this.a8_1 = 14;
1358
- this.z7_1 = 11;
1401
+ this.h58_1 = this.i58_1;
1402
+ this.b8_1 = 14;
1403
+ this.a8_1 = 11;
1359
1404
  var tmp_12 = this;
1360
1405
  continue $sm;
1361
1406
  case 11:
1362
- var tmp_13 = this.w57_1;
1363
- this.a8_1 = 14;
1364
- this.u57_1.k55_1.y2(this.v57_1);
1407
+ var tmp_13 = this.h58_1;
1408
+ this.b8_1 = 14;
1409
+ this.f58_1.p55_1.y2(this.g58_1);
1365
1410
  return tmp_13;
1366
1411
  case 12:
1367
- this.a8_1 = 14;
1368
- this.u57_1.k55_1.y2(this.v57_1);
1412
+ this.b8_1 = 14;
1413
+ this.f58_1.p55_1.y2(this.g58_1);
1369
1414
  return Unit_instance;
1370
1415
  case 13:
1371
- this.a8_1 = 14;
1372
- var t = this.c8_1;
1373
- this.u57_1.k55_1.y2(this.v57_1);
1416
+ this.b8_1 = 14;
1417
+ var t = this.d8_1;
1418
+ this.f58_1.p55_1.y2(this.g58_1);
1374
1419
  throw t;
1375
1420
  case 14:
1376
- throw this.c8_1;
1421
+ throw this.d8_1;
1377
1422
  }
1378
1423
  } catch ($p) {
1379
1424
  var e = $p;
1380
- if (this.a8_1 === 14) {
1425
+ if (this.b8_1 === 14) {
1381
1426
  throw e;
1382
1427
  } else {
1383
- this.z7_1 = this.a8_1;
1384
- this.c8_1 = e;
1428
+ this.a8_1 = this.b8_1;
1429
+ this.d8_1 = e;
1385
1430
  }
1386
1431
  }
1387
1432
  while (true);
1388
1433
  };
1389
1434
  function $resolveRefCOROUTINE$(refMap, fileUri, pointer, ctx, resultContinuation) {
1390
1435
  CoroutineImpl.call(this, resultContinuation);
1391
- this.n58_1 = refMap;
1392
- this.o58_1 = fileUri;
1393
- this.p58_1 = pointer;
1394
- this.q58_1 = ctx;
1436
+ this.y58_1 = refMap;
1437
+ this.z58_1 = fileUri;
1438
+ this.a59_1 = pointer;
1439
+ this.b59_1 = ctx;
1395
1440
  }
1396
- protoOf($resolveRefCOROUTINE$).h8 = function () {
1397
- var suspendResult = this.b8_1;
1441
+ protoOf($resolveRefCOROUTINE$).i8 = function () {
1442
+ var suspendResult = this.c8_1;
1398
1443
  $sm: do
1399
1444
  try {
1400
- var tmp = this.z7_1;
1445
+ var tmp = this.a8_1;
1401
1446
  switch (tmp) {
1402
1447
  case 0:
1403
- this.a8_1 = 5;
1448
+ this.b8_1 = 5;
1404
1449
  var tmp_0 = this;
1405
- var tmp_1 = this.n58_1.r1('$ref');
1450
+ var tmp_1 = this.y58_1.r1('$ref');
1406
1451
  var tmp0_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'string' : false) ? tmp_1 : null;
1407
1452
  var tmp_2;
1408
1453
  if (tmp0_elvis_lhs == null) {
1409
- return this.n58_1;
1454
+ return this.y58_1;
1410
1455
  } else {
1411
1456
  tmp_2 = tmp0_elvis_lhs;
1412
1457
  }
1413
1458
 
1414
- tmp_0.s58_1 = tmp_2;
1415
- this.r58_1 = Companion_instance_1.h59(this.s58_1, this.o58_1);
1459
+ tmp_0.d59_1 = tmp_2;
1460
+ this.c59_1 = Companion_instance_1.s59(this.d59_1, this.z58_1);
1416
1461
  var tmp_3 = this;
1417
- var tmp1_elvis_lhs = this.r58_1.k59_1;
1418
- tmp_3.v58_1 = tmp1_elvis_lhs == null ? this.o58_1 : tmp1_elvis_lhs;
1419
- this.u58_1 = normalizePointer(this.r58_1.l59_1);
1420
- this.t58_1 = this.v58_1 + '#' + this.u58_1;
1421
- if (this.q58_1.k55_1.l1(this.t58_1)) {
1422
- this.q58_1.m55_1 = true;
1462
+ var tmp1_elvis_lhs = this.c59_1.v59_1;
1463
+ tmp_3.g59_1 = tmp1_elvis_lhs == null ? this.z58_1 : tmp1_elvis_lhs;
1464
+ this.f59_1 = normalizePointer(this.c59_1.w59_1);
1465
+ this.e59_1 = this.g59_1 + '#' + this.f59_1;
1466
+ if (this.b59_1.p55_1.l1(this.e59_1)) {
1467
+ this.b59_1.r55_1 = true;
1423
1468
  var tmp_4;
1424
- switch (this.q58_1.e55_1.k56_1.e2_1) {
1469
+ switch (this.b59_1.j55_1.p56_1.e2_1) {
1425
1470
  case 2:
1426
- throw new CircularReferenceException('Circular $ref at ' + this.t58_1);
1471
+ throw new CircularReferenceException('Circular $ref at ' + this.e59_1);
1427
1472
  case 1:
1428
- tmp_4 = this.n58_1;
1473
+ tmp_4 = this.y58_1;
1429
1474
  break;
1430
1475
  case 0:
1431
- var cached = this.q58_1.j55_1.r1(this.t58_1);
1432
- tmp_4 = !(cached == null) ? mergeSiblings(this.n58_1, cached) : this.n58_1;
1476
+ var cached = this.b59_1.o55_1.r1(this.e59_1);
1477
+ tmp_4 = !(cached == null) ? mergeSiblings(this.y58_1, cached) : this.y58_1;
1433
1478
  break;
1434
1479
  default:
1435
1480
  noWhenBranchMatchedException();
@@ -1439,23 +1484,23 @@
1439
1484
  }
1440
1485
 
1441
1486
  var tmp_5;
1442
- if (this.r58_1.j59_1.p59()) {
1443
- var tmp0 = this.q58_1.i55_1;
1444
- var key = this.v58_1;
1487
+ if (this.c59_1.u59_1.a5a()) {
1488
+ var tmp0 = this.b59_1.n55_1;
1489
+ var key = this.g59_1;
1445
1490
  tmp_5 = !(isInterface(tmp0, KtMap) ? tmp0 : THROW_CCE()).p1(key);
1446
1491
  } else {
1447
1492
  tmp_5 = false;
1448
1493
  }
1449
1494
 
1450
1495
  if (tmp_5) {
1451
- this.z7_1 = 1;
1452
- suspendResult = loadFile(this.v58_1, this.q58_1, this);
1496
+ this.a8_1 = 1;
1497
+ suspendResult = loadFile(this.g59_1, this.b59_1, this);
1453
1498
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1454
1499
  return suspendResult;
1455
1500
  }
1456
1501
  continue $sm;
1457
1502
  } else {
1458
- this.z7_1 = 3;
1503
+ this.a8_1 = 3;
1459
1504
  continue $sm;
1460
1505
  }
1461
1506
 
@@ -1464,12 +1509,12 @@
1464
1509
  var tmp_6;
1465
1510
  if (tmp3_elvis_lhs == null) {
1466
1511
  var tmp_7;
1467
- switch (this.q58_1.e55_1.l56_1.e2_1) {
1512
+ switch (this.b59_1.j55_1.q56_1.e2_1) {
1468
1513
  case 1:
1469
- tmp_7 = this.n58_1;
1514
+ tmp_7 = this.y58_1;
1470
1515
  break;
1471
1516
  case 0:
1472
- throw new MissingRefException('Cannot load: ' + this.v58_1);
1517
+ throw new MissingRefException('Cannot load: ' + this.g59_1);
1473
1518
  default:
1474
1519
  noWhenBranchMatchedException();
1475
1520
  break;
@@ -1480,46 +1525,46 @@
1480
1525
  }
1481
1526
 
1482
1527
  var text = tmp_6;
1483
- var raw = parseText(text, this.v58_1);
1484
- var tmp0_0 = this.q58_1.i55_1;
1485
- var tmp2 = this.v58_1;
1486
- var value = raw.q54_1;
1528
+ var raw = parseText(text, this.g59_1);
1529
+ var tmp0_0 = this.b59_1.n55_1;
1530
+ var tmp2 = this.g59_1;
1531
+ var value = raw.v54_1;
1487
1532
  tmp0_0.v1(tmp2, value);
1488
- var tmp0_1 = this.q58_1.p55_1;
1489
- var tmp2_0 = this.v58_1;
1490
- var value_0 = toMutableMap(raw.s54_1);
1533
+ var tmp0_1 = this.b59_1.u55_1;
1534
+ var tmp2_0 = this.g59_1;
1535
+ var value_0 = toMutableMap(raw.x54_1);
1491
1536
  tmp0_1.v1(tmp2_0, value_0);
1492
- var _iterator__ex2g4s = raw.s54_1.u1().i();
1537
+ var _iterator__ex2g4s = raw.x54_1.u1().i();
1493
1538
  while (_iterator__ex2g4s.j()) {
1494
1539
  var element = _iterator__ex2g4s.k();
1495
1540
  var key_0 = element.n1();
1496
1541
  var loc = element.o1();
1497
- if (!this.q58_1.h55_1.p1(key_0)) {
1498
- this.q58_1.h55_1.v1(key_0, loc);
1542
+ if (!this.b59_1.m55_1.p1(key_0)) {
1543
+ this.b59_1.m55_1.v1(key_0, loc);
1499
1544
  }
1500
1545
  }
1501
1546
 
1502
- this.z7_1 = 2;
1503
- suspendResult = resolveValue(raw.q54_1, this.v58_1, '', this.q58_1, this);
1547
+ this.a8_1 = 2;
1548
+ suspendResult = resolveValue(raw.v54_1, this.g59_1, '', this.b59_1, this);
1504
1549
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1505
1550
  return suspendResult;
1506
1551
  }
1507
1552
 
1508
1553
  continue $sm;
1509
1554
  case 2:
1510
- this.z7_1 = 3;
1555
+ this.a8_1 = 3;
1511
1556
  continue $sm;
1512
1557
  case 3:
1513
- var tmp5_elvis_lhs = this.q58_1.i55_1.r1(this.v58_1);
1558
+ var tmp5_elvis_lhs = this.b59_1.n55_1.r1(this.g59_1);
1514
1559
  var tmp_8;
1515
1560
  if (tmp5_elvis_lhs == null) {
1516
1561
  var tmp_9;
1517
- switch (this.q58_1.e55_1.l56_1.e2_1) {
1562
+ switch (this.b59_1.j55_1.q56_1.e2_1) {
1518
1563
  case 1:
1519
- tmp_9 = this.n58_1;
1564
+ tmp_9 = this.y58_1;
1520
1565
  break;
1521
1566
  case 0:
1522
- throw new MissingRefException('Document not in cache: ' + this.v58_1);
1567
+ throw new MissingRefException('Document not in cache: ' + this.g59_1);
1523
1568
  default:
1524
1569
  noWhenBranchMatchedException();
1525
1570
  break;
@@ -1530,30 +1575,30 @@
1530
1575
  }
1531
1576
 
1532
1577
  var targetDoc = tmp_8;
1533
- var tmp0_2 = this.q58_1.j55_1;
1534
- var key_1 = this.t58_1;
1578
+ var tmp0_2 = this.b59_1.o55_1;
1579
+ var key_1 = this.e59_1;
1535
1580
  if ((isInterface(tmp0_2, KtMap) ? tmp0_2 : THROW_CCE()).p1(key_1)) {
1536
- var cached_0 = this.q58_1.j55_1.r1(this.t58_1);
1537
- var replaced = mergeSiblings(this.n58_1, cached_0);
1538
- this.q58_1.n55_1.h(new ResolvedRef(this.s58_1, cached_0, replaced, this.r58_1.k59_1, this.o58_1, this.p58_1));
1581
+ var cached_0 = this.b59_1.o55_1.r1(this.e59_1);
1582
+ var replaced = mergeSiblings(this.y58_1, cached_0);
1583
+ this.b59_1.s55_1.h(new ResolvedRef(this.d59_1, cached_0, replaced, this.c59_1.v59_1, this.z58_1, this.a59_1));
1539
1584
  return replaced;
1540
1585
  }
1541
1586
 
1542
1587
  var tmp_10;
1543
- var this_0 = this.u58_1;
1588
+ var this_0 = this.f59_1;
1544
1589
  if (charSequenceLength(this_0) === 0) {
1545
1590
  tmp_10 = targetDoc;
1546
1591
  } else {
1547
- var tmp7_elvis_lhs = Companion_getInstance().k53(this.u58_1).o53(targetDoc);
1592
+ var tmp7_elvis_lhs = Companion_getInstance().l53(this.f59_1).p53(targetDoc);
1548
1593
  var tmp_11;
1549
1594
  if (tmp7_elvis_lhs == null) {
1550
1595
  var tmp_12;
1551
- switch (this.q58_1.e55_1.l56_1.e2_1) {
1596
+ switch (this.b59_1.j55_1.q56_1.e2_1) {
1552
1597
  case 1:
1553
- tmp_12 = this.n58_1;
1598
+ tmp_12 = this.y58_1;
1554
1599
  break;
1555
1600
  case 0:
1556
- throw new MissingRefException('Pointer ' + this.u58_1 + ' not found in ' + this.v58_1);
1601
+ throw new MissingRefException('Pointer ' + this.f59_1 + ' not found in ' + this.g59_1);
1557
1602
  default:
1558
1603
  noWhenBranchMatchedException();
1559
1604
  break;
@@ -1566,11 +1611,11 @@
1566
1611
  }
1567
1612
 
1568
1613
  var resolved = tmp_10;
1569
- var tmp0_3 = this.q58_1.j55_1;
1570
- var key_2 = this.t58_1;
1614
+ var tmp0_3 = this.b59_1.o55_1;
1615
+ var key_2 = this.e59_1;
1571
1616
  tmp0_3.v1(key_2, resolved);
1572
- this.z7_1 = 4;
1573
- suspendResult = resolveValue(resolved, this.v58_1, this.u58_1, this.q58_1, this);
1617
+ this.a8_1 = 4;
1618
+ suspendResult = resolveValue(resolved, this.g59_1, this.f59_1, this.b59_1, this);
1574
1619
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1575
1620
  return suspendResult;
1576
1621
  }
@@ -1578,46 +1623,46 @@
1578
1623
  continue $sm;
1579
1624
  case 4:
1580
1625
  var fullyResolved = suspendResult;
1581
- var tmp0_4 = this.q58_1.j55_1;
1582
- var key_3 = this.t58_1;
1626
+ var tmp0_4 = this.b59_1.o55_1;
1627
+ var key_3 = this.e59_1;
1583
1628
  tmp0_4.v1(key_3, fullyResolved);
1584
- var replaced_0 = mergeSiblings(this.n58_1, fullyResolved);
1585
- this.q58_1.n55_1.h(new ResolvedRef(this.s58_1, fullyResolved, replaced_0, this.r58_1.k59_1, this.o58_1, this.p58_1));
1629
+ var replaced_0 = mergeSiblings(this.y58_1, fullyResolved);
1630
+ this.b59_1.s55_1.h(new ResolvedRef(this.d59_1, fullyResolved, replaced_0, this.c59_1.v59_1, this.z58_1, this.a59_1));
1586
1631
  return replaced_0;
1587
1632
  case 5:
1588
- throw this.c8_1;
1633
+ throw this.d8_1;
1589
1634
  }
1590
1635
  } catch ($p) {
1591
1636
  var e = $p;
1592
- if (this.a8_1 === 5) {
1637
+ if (this.b8_1 === 5) {
1593
1638
  throw e;
1594
1639
  } else {
1595
- this.z7_1 = this.a8_1;
1596
- this.c8_1 = e;
1640
+ this.a8_1 = this.b8_1;
1641
+ this.d8_1 = e;
1597
1642
  }
1598
1643
  }
1599
1644
  while (true);
1600
1645
  };
1601
1646
  function $loadFileCOROUTINE$(uri, ctx, resultContinuation) {
1602
1647
  CoroutineImpl.call(this, resultContinuation);
1603
- this.e59_1 = uri;
1604
- this.f59_1 = ctx;
1648
+ this.p59_1 = uri;
1649
+ this.q59_1 = ctx;
1605
1650
  }
1606
- protoOf($loadFileCOROUTINE$).h8 = function () {
1607
- var suspendResult = this.b8_1;
1651
+ protoOf($loadFileCOROUTINE$).i8 = function () {
1652
+ var suspendResult = this.c8_1;
1608
1653
  $sm: do
1609
1654
  try {
1610
- var tmp = this.z7_1;
1655
+ var tmp = this.a8_1;
1611
1656
  switch (tmp) {
1612
1657
  case 0:
1613
- this.a8_1 = 3;
1614
- var tmp0 = this.f59_1.f55_1;
1658
+ this.b8_1 = 3;
1659
+ var tmp0 = this.q59_1.k55_1;
1615
1660
  var tmp$ret$0;
1616
1661
  l$ret$1: do {
1617
1662
  var _iterator__ex2g4s = tmp0.i();
1618
1663
  while (_iterator__ex2g4s.j()) {
1619
1664
  var element = _iterator__ex2g4s.k();
1620
- if (element.n54(this.e59_1)) {
1665
+ if (element.o54(this.p59_1)) {
1621
1666
  tmp$ret$0 = element;
1622
1667
  break l$ret$1;
1623
1668
  }
@@ -1625,60 +1670,74 @@
1625
1670
  tmp$ret$0 = null;
1626
1671
  }
1627
1672
  while (false);
1628
- var tmp0_elvis_lhs = tmp$ret$0;
1629
- var tmp_0;
1630
- if (tmp0_elvis_lhs == null) {
1673
+ var loader = tmp$ret$0;
1674
+ if (loader == null) {
1675
+ var unavailable = RefParserPlatform_instance.s54(this.p59_1);
1676
+ if (!(unavailable == null) && this.q59_1.j55_1.q56_1.equals(OnMissing_FAIL_getInstance()))
1677
+ throw unavailable;
1631
1678
  return null;
1632
- } else {
1633
- tmp_0 = tmp0_elvis_lhs;
1634
1679
  }
1635
1680
 
1636
- var loader = tmp_0;
1637
- this.a8_1 = 2;
1638
- this.z7_1 = 1;
1639
- suspendResult = loader.o54(this.e59_1, this);
1681
+ this.b8_1 = 2;
1682
+ this.a8_1 = 1;
1683
+ suspendResult = loader.t54(this.p59_1, this);
1640
1684
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1641
1685
  return suspendResult;
1642
1686
  }
1643
1687
 
1644
1688
  continue $sm;
1645
1689
  case 1:
1646
- this.g59_1 = suspendResult;
1647
- this.a8_1 = 3;
1648
- this.z7_1 = 4;
1690
+ this.r59_1 = suspendResult;
1691
+ this.b8_1 = 3;
1692
+ this.a8_1 = 4;
1649
1693
  continue $sm;
1650
1694
  case 2:
1651
- this.a8_1 = 3;
1652
- var tmp_1 = this.c8_1;
1653
- if (tmp_1 instanceof Exception) {
1654
- var e = this.c8_1;
1655
- var tmp_2 = this;
1656
- var tmp_3;
1657
- if (this.f59_1.e55_1.l56_1.equals(OnMissing_SKIP_getInstance())) {
1658
- tmp_3 = null;
1695
+ this.b8_1 = 3;
1696
+ var tmp_0 = this.d8_1;
1697
+ if (tmp_0 instanceof CapabilityUnavailableException) {
1698
+ var e = this.d8_1;
1699
+ var tmp_1 = this;
1700
+ var tmp_2;
1701
+ if (this.q59_1.j55_1.q56_1.equals(OnMissing_SKIP_getInstance())) {
1702
+ tmp_2 = null;
1659
1703
  } else {
1660
- throw new MissingRefException('Failed to load: ' + this.e59_1, e);
1704
+ throw e;
1661
1705
  }
1662
- tmp_2.g59_1 = tmp_3;
1663
- this.z7_1 = 4;
1706
+ tmp_1.r59_1 = tmp_2;
1707
+ this.a8_1 = 4;
1664
1708
  continue $sm;
1665
1709
  } else {
1666
- throw this.c8_1;
1710
+ var tmp_3 = this.d8_1;
1711
+ if (tmp_3 instanceof Exception) {
1712
+ var e_0 = this.d8_1;
1713
+ var tmp_4 = this;
1714
+ var tmp_5;
1715
+ if (this.q59_1.j55_1.q56_1.equals(OnMissing_SKIP_getInstance())) {
1716
+ tmp_5 = null;
1717
+ } else {
1718
+ throw new MissingRefException('Failed to load: ' + this.p59_1, e_0);
1719
+ }
1720
+ tmp_4.r59_1 = tmp_5;
1721
+ this.a8_1 = 4;
1722
+ continue $sm;
1723
+ } else {
1724
+ throw this.d8_1;
1725
+ }
1667
1726
  }
1668
1727
 
1669
1728
  case 3:
1670
- throw this.c8_1;
1729
+ throw this.d8_1;
1671
1730
  case 4:
1672
- this.a8_1 = 3;
1673
- return this.g59_1;
1731
+ this.b8_1 = 3;
1732
+ return this.r59_1;
1674
1733
  }
1675
1734
  } catch ($p) {
1676
- var e_0 = $p;
1677
- if (this.a8_1 === 3) {
1678
- throw e_0;
1735
+ var e_1 = $p;
1736
+ if (this.b8_1 === 3) {
1737
+ throw e_1;
1679
1738
  } else {
1680
- this.z7_1 = this.a8_1;
1681
- this.c8_1 = e_0;
1739
+ this.a8_1 = this.b8_1;
1740
+ this.d8_1 = e_1;
1682
1741
  }
1683
1742
  }
1684
1743
  while (true);
@@ -1723,7 +1782,7 @@
1723
1782
  }
1724
1783
  function Companion_1() {
1725
1784
  }
1726
- protoOf(Companion_1).h59 = function (refString, baseUri) {
1785
+ protoOf(Companion_1).s59 = function (refString, baseUri) {
1727
1786
  var ref = mungeRef(this, refString);
1728
1787
  var format = detectFormat(this, ref);
1729
1788
  if (format.equals(SchemaRefFormat_INTERNAL_getInstance())) {
@@ -1741,10 +1800,10 @@
1741
1800
  filePart = ref;
1742
1801
  pointer = null;
1743
1802
  }
1744
- var resolvedFileUri = format.e2_1 === 1 ? this.q59(baseUri, filePart) : filePart;
1803
+ var resolvedFileUri = format.e2_1 === 1 ? this.b5a(baseUri, filePart) : filePart;
1745
1804
  return new SchemaRef(ref, format, resolvedFileUri, pointer, baseUri);
1746
1805
  };
1747
- protoOf(Companion_1).q59 = function (base, relative) {
1806
+ protoOf(Companion_1).b5a = function (base, relative) {
1748
1807
  // Inline function 'kotlin.text.isEmpty' call
1749
1808
  if (charSequenceLength(relative) === 0)
1750
1809
  return base;
@@ -1787,21 +1846,21 @@
1787
1846
  return Companion_instance_1;
1788
1847
  }
1789
1848
  function SchemaRef(rawRef, format, fileUri, pointer, referencingUri) {
1790
- this.i59_1 = rawRef;
1791
- this.j59_1 = format;
1792
- this.k59_1 = fileUri;
1793
- this.l59_1 = pointer;
1794
- this.m59_1 = referencingUri;
1849
+ this.t59_1 = rawRef;
1850
+ this.u59_1 = format;
1851
+ this.v59_1 = fileUri;
1852
+ this.w59_1 = pointer;
1853
+ this.x59_1 = referencingUri;
1795
1854
  }
1796
1855
  protoOf(SchemaRef).toString = function () {
1797
- return 'SchemaRef(rawRef=' + this.i59_1 + ', format=' + this.j59_1.toString() + ', fileUri=' + this.k59_1 + ', pointer=' + this.l59_1 + ', referencingUri=' + this.m59_1 + ')';
1856
+ return 'SchemaRef(rawRef=' + this.t59_1 + ', format=' + this.u59_1.toString() + ', fileUri=' + this.v59_1 + ', pointer=' + this.w59_1 + ', referencingUri=' + this.x59_1 + ')';
1798
1857
  };
1799
1858
  protoOf(SchemaRef).hashCode = function () {
1800
- var result = getStringHashCode(this.i59_1);
1801
- result = imul(result, 31) + this.j59_1.hashCode() | 0;
1802
- result = imul(result, 31) + (this.k59_1 == null ? 0 : getStringHashCode(this.k59_1)) | 0;
1803
- result = imul(result, 31) + (this.l59_1 == null ? 0 : getStringHashCode(this.l59_1)) | 0;
1804
- result = imul(result, 31) + getStringHashCode(this.m59_1) | 0;
1859
+ var result = getStringHashCode(this.t59_1);
1860
+ result = imul(result, 31) + this.u59_1.hashCode() | 0;
1861
+ result = imul(result, 31) + (this.v59_1 == null ? 0 : getStringHashCode(this.v59_1)) | 0;
1862
+ result = imul(result, 31) + (this.w59_1 == null ? 0 : getStringHashCode(this.w59_1)) | 0;
1863
+ result = imul(result, 31) + getStringHashCode(this.x59_1) | 0;
1805
1864
  return result;
1806
1865
  };
1807
1866
  protoOf(SchemaRef).equals = function (other) {
@@ -1809,15 +1868,15 @@
1809
1868
  return true;
1810
1869
  if (!(other instanceof SchemaRef))
1811
1870
  return false;
1812
- if (!(this.i59_1 === other.i59_1))
1871
+ if (!(this.t59_1 === other.t59_1))
1813
1872
  return false;
1814
- if (!this.j59_1.equals(other.j59_1))
1873
+ if (!this.u59_1.equals(other.u59_1))
1815
1874
  return false;
1816
- if (!(this.k59_1 == other.k59_1))
1875
+ if (!(this.v59_1 == other.v59_1))
1817
1876
  return false;
1818
- if (!(this.l59_1 == other.l59_1))
1877
+ if (!(this.w59_1 == other.w59_1))
1819
1878
  return false;
1820
- if (!(this.m59_1 === other.m59_1))
1879
+ if (!(this.x59_1 === other.x59_1))
1821
1880
  return false;
1822
1881
  return true;
1823
1882
  };
@@ -1840,7 +1899,7 @@
1840
1899
  function SchemaRefFormat(name, ordinal) {
1841
1900
  Enum.call(this, name, ordinal);
1842
1901
  }
1843
- protoOf(SchemaRefFormat).p59 = function () {
1902
+ protoOf(SchemaRefFormat).a5a = function () {
1844
1903
  return this.equals(SchemaRefFormat_RELATIVE_getInstance()) || this.equals(SchemaRefFormat_FILE_getInstance()) || this.equals(SchemaRefFormat_CLASSPATH_getInstance()) || this.equals(SchemaRefFormat_URL_getInstance());
1845
1904
  };
1846
1905
  function SchemaRefFormat_INTERNAL_getInstance() {
@@ -1865,9 +1924,22 @@
1865
1924
  }
1866
1925
  function parseSchemaText(input, baseUri) {
1867
1926
  baseUri = baseUri === VOID ? 'memory://anonymous' : baseUri;
1868
- var normalizedBaseUri = Companion_instance_0.r53(baseUri);
1927
+ var normalizedBaseUri = Companion_instance_0.s53(baseUri);
1869
1928
  var raw = parseText(input, normalizedBaseUri);
1870
- return exportParsedDocument(new ParsedDocument(raw.q54_1, raw.r54_1, raw.s54_1, mapOf(to(raw.p54_1, raw.s54_1))));
1929
+ return exportParsedDocument(new ParsedDocument(raw.v54_1, raw.w54_1, raw.x54_1, mapOf(to(raw.u54_1, raw.x54_1))));
1930
+ }
1931
+ function refParserPlatform() {
1932
+ var result = {};
1933
+ result.name = RefParserPlatform_instance.w56();
1934
+ var capabilities = [];
1935
+ // Inline function 'kotlin.collections.forEach' call
1936
+ var _iterator__ex2g4s = RefParserPlatform_instance.x56().i();
1937
+ while (_iterator__ex2g4s.j()) {
1938
+ var element = _iterator__ex2g4s.k();
1939
+ capabilities.push(element);
1940
+ }
1941
+ result.capabilities = capabilities;
1942
+ return result;
1871
1943
  }
1872
1944
  function dereferenceSchema(uri, mergeAllOf) {
1873
1945
  mergeAllOf = mergeAllOf === VOID ? false : mergeAllOf;
@@ -1882,12 +1954,12 @@
1882
1954
  }
1883
1955
  function exportParsedDocument(document) {
1884
1956
  var result = {};
1885
- result.root = convertToPlain(document.v55_1);
1886
- result.schema = convertToPlain(document.w55_1);
1887
- result.locations = convertToPlain(document.x55_1);
1888
- result.documentLocations = convertToPlain(document.y55_1);
1889
- result.resolvedRefs = exportResolvedRefs(document.z55_1);
1890
- result.hasCircularRefs = document.b56_1;
1957
+ result.root = convertToPlain(document.a56_1);
1958
+ result.schema = convertToPlain(document.b56_1);
1959
+ result.locations = convertToPlain(document.c56_1);
1960
+ result.documentLocations = convertToPlain(document.d56_1);
1961
+ result.resolvedRefs = exportResolvedRefs(document.e56_1);
1962
+ result.hasCircularRefs = document.g56_1;
1891
1963
  return result;
1892
1964
  }
1893
1965
  function exportResolvedRefs(resolvedRefs) {
@@ -1897,8 +1969,8 @@
1897
1969
  while (_iterator__ex2g4s.j()) {
1898
1970
  var element = _iterator__ex2g4s.k();
1899
1971
  var item = {};
1900
- item.refString = element.c56_1;
1901
- item.targetUri = element.f56_1;
1972
+ item.refString = element.h56_1;
1973
+ item.targetUri = element.k56_1;
1902
1974
  result.push(item);
1903
1975
  }
1904
1976
  return result;
@@ -1945,160 +2017,160 @@
1945
2017
  }
1946
2018
  function exportSourceLocation(location) {
1947
2019
  var result = {};
1948
- result.file = location.m56_1;
1949
- result.line = location.n56_1;
1950
- result.column = location.o56_1;
1951
- result.endLine = location.p56_1;
1952
- result.endColumn = location.q56_1;
2020
+ result.file = location.r56_1;
2021
+ result.line = location.s56_1;
2022
+ result.column = location.t56_1;
2023
+ result.endLine = location.u56_1;
2024
+ result.endColumn = location.v56_1;
1953
2025
  return result;
1954
2026
  }
1955
2027
  function dereferenceSchema$slambda($uri, $mergeAllOf, resultContinuation) {
1956
- this.z59_1 = $uri;
1957
- this.a5a_1 = $mergeAllOf;
2028
+ this.k5a_1 = $uri;
2029
+ this.l5a_1 = $mergeAllOf;
1958
2030
  CoroutineImpl.call(this, resultContinuation);
1959
2031
  }
1960
- protoOf(dereferenceSchema$slambda).d5a = function ($this$promise, $completion) {
1961
- var tmp = this.e5a($this$promise, $completion);
1962
- tmp.b8_1 = Unit_instance;
1963
- tmp.c8_1 = null;
1964
- return tmp.h8();
2032
+ protoOf(dereferenceSchema$slambda).o5a = function ($this$promise, $completion) {
2033
+ var tmp = this.p5a($this$promise, $completion);
2034
+ tmp.c8_1 = Unit_instance;
2035
+ tmp.d8_1 = null;
2036
+ return tmp.i8();
1965
2037
  };
1966
- protoOf(dereferenceSchema$slambda).p8 = function (p1, $completion) {
1967
- return this.d5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2038
+ protoOf(dereferenceSchema$slambda).q8 = function (p1, $completion) {
2039
+ return this.o5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1968
2040
  };
1969
- protoOf(dereferenceSchema$slambda).h8 = function () {
1970
- var suspendResult = this.b8_1;
2041
+ protoOf(dereferenceSchema$slambda).i8 = function () {
2042
+ var suspendResult = this.c8_1;
1971
2043
  $sm: do
1972
2044
  try {
1973
- var tmp = this.z7_1;
2045
+ var tmp = this.a8_1;
1974
2046
  switch (tmp) {
1975
2047
  case 0:
1976
- this.a8_1 = 4;
1977
- this.z7_1 = 1;
1978
- suspendResult = (new RefParser(this.z59_1)).q55(this);
2048
+ this.b8_1 = 4;
2049
+ this.a8_1 = 1;
2050
+ suspendResult = (new RefParser(this.k5a_1)).v55(this);
1979
2051
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1980
2052
  return suspendResult;
1981
2053
  }
1982
2054
 
1983
2055
  continue $sm;
1984
2056
  case 1:
1985
- this.c5a_1 = suspendResult;
1986
- if (this.a5a_1) {
1987
- this.z7_1 = 2;
1988
- suspendResult = this.c5a_1.r55(this);
2057
+ this.n5a_1 = suspendResult;
2058
+ if (this.l5a_1) {
2059
+ this.a8_1 = 2;
2060
+ suspendResult = this.n5a_1.w55(this);
1989
2061
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1990
2062
  return suspendResult;
1991
2063
  }
1992
2064
  continue $sm;
1993
2065
  } else {
1994
- this.z7_1 = 3;
2066
+ this.a8_1 = 3;
1995
2067
  continue $sm;
1996
2068
  }
1997
2069
 
1998
2070
  case 2:
1999
- this.z7_1 = 3;
2071
+ this.a8_1 = 3;
2000
2072
  continue $sm;
2001
2073
  case 3:
2002
- return exportParsedDocument(this.c5a_1.s55());
2074
+ return exportParsedDocument(this.n5a_1.x55());
2003
2075
  case 4:
2004
- throw this.c8_1;
2076
+ throw this.d8_1;
2005
2077
  }
2006
2078
  } catch ($p) {
2007
2079
  var e = $p;
2008
- if (this.a8_1 === 4) {
2080
+ if (this.b8_1 === 4) {
2009
2081
  throw e;
2010
2082
  } else {
2011
- this.z7_1 = this.a8_1;
2012
- this.c8_1 = e;
2083
+ this.a8_1 = this.b8_1;
2084
+ this.d8_1 = e;
2013
2085
  }
2014
2086
  }
2015
2087
  while (true);
2016
2088
  };
2017
- protoOf(dereferenceSchema$slambda).e5a = function ($this$promise, completion) {
2018
- var i = new dereferenceSchema$slambda(this.z59_1, this.a5a_1, completion);
2019
- i.b5a_1 = $this$promise;
2089
+ protoOf(dereferenceSchema$slambda).p5a = function ($this$promise, completion) {
2090
+ var i = new dereferenceSchema$slambda(this.k5a_1, this.l5a_1, completion);
2091
+ i.m5a_1 = $this$promise;
2020
2092
  return i;
2021
2093
  };
2022
2094
  function dereferenceSchema$slambda_0($uri, $mergeAllOf, resultContinuation) {
2023
2095
  var i = new dereferenceSchema$slambda($uri, $mergeAllOf, resultContinuation);
2024
2096
  var l = function ($this$promise, $completion) {
2025
- return i.d5a($this$promise, $completion);
2097
+ return i.o5a($this$promise, $completion);
2026
2098
  };
2027
2099
  l.$arity = 1;
2028
2100
  return l;
2029
2101
  }
2030
2102
  function dereferenceSchemaText$slambda($input, $baseUri, $mergeAllOf, resultContinuation) {
2031
- this.n5a_1 = $input;
2032
- this.o5a_1 = $baseUri;
2033
- this.p5a_1 = $mergeAllOf;
2103
+ this.y5a_1 = $input;
2104
+ this.z5a_1 = $baseUri;
2105
+ this.a5b_1 = $mergeAllOf;
2034
2106
  CoroutineImpl.call(this, resultContinuation);
2035
2107
  }
2036
- protoOf(dereferenceSchemaText$slambda).d5a = function ($this$promise, $completion) {
2037
- var tmp = this.e5a($this$promise, $completion);
2038
- tmp.b8_1 = Unit_instance;
2039
- tmp.c8_1 = null;
2040
- return tmp.h8();
2108
+ protoOf(dereferenceSchemaText$slambda).o5a = function ($this$promise, $completion) {
2109
+ var tmp = this.p5a($this$promise, $completion);
2110
+ tmp.c8_1 = Unit_instance;
2111
+ tmp.d8_1 = null;
2112
+ return tmp.i8();
2041
2113
  };
2042
- protoOf(dereferenceSchemaText$slambda).p8 = function (p1, $completion) {
2043
- return this.d5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2114
+ protoOf(dereferenceSchemaText$slambda).q8 = function (p1, $completion) {
2115
+ return this.o5a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2044
2116
  };
2045
- protoOf(dereferenceSchemaText$slambda).h8 = function () {
2046
- var suspendResult = this.b8_1;
2117
+ protoOf(dereferenceSchemaText$slambda).i8 = function () {
2118
+ var suspendResult = this.c8_1;
2047
2119
  $sm: do
2048
2120
  try {
2049
- var tmp = this.z7_1;
2121
+ var tmp = this.a8_1;
2050
2122
  switch (tmp) {
2051
2123
  case 0:
2052
- this.a8_1 = 4;
2053
- this.z7_1 = 1;
2054
- suspendResult = Companion_instance_0.q53(this.n5a_1, this.o5a_1).q55(this);
2124
+ this.b8_1 = 4;
2125
+ this.a8_1 = 1;
2126
+ suspendResult = Companion_instance_0.r53(this.y5a_1, this.z5a_1).v55(this);
2055
2127
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2056
2128
  return suspendResult;
2057
2129
  }
2058
2130
 
2059
2131
  continue $sm;
2060
2132
  case 1:
2061
- this.r5a_1 = suspendResult;
2062
- if (this.p5a_1) {
2063
- this.z7_1 = 2;
2064
- suspendResult = this.r5a_1.r55(this);
2133
+ this.c5b_1 = suspendResult;
2134
+ if (this.a5b_1) {
2135
+ this.a8_1 = 2;
2136
+ suspendResult = this.c5b_1.w55(this);
2065
2137
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2066
2138
  return suspendResult;
2067
2139
  }
2068
2140
  continue $sm;
2069
2141
  } else {
2070
- this.z7_1 = 3;
2142
+ this.a8_1 = 3;
2071
2143
  continue $sm;
2072
2144
  }
2073
2145
 
2074
2146
  case 2:
2075
- this.z7_1 = 3;
2147
+ this.a8_1 = 3;
2076
2148
  continue $sm;
2077
2149
  case 3:
2078
- return exportParsedDocument(this.r5a_1.s55());
2150
+ return exportParsedDocument(this.c5b_1.x55());
2079
2151
  case 4:
2080
- throw this.c8_1;
2152
+ throw this.d8_1;
2081
2153
  }
2082
2154
  } catch ($p) {
2083
2155
  var e = $p;
2084
- if (this.a8_1 === 4) {
2156
+ if (this.b8_1 === 4) {
2085
2157
  throw e;
2086
2158
  } else {
2087
- this.z7_1 = this.a8_1;
2088
- this.c8_1 = e;
2159
+ this.a8_1 = this.b8_1;
2160
+ this.d8_1 = e;
2089
2161
  }
2090
2162
  }
2091
2163
  while (true);
2092
2164
  };
2093
- protoOf(dereferenceSchemaText$slambda).e5a = function ($this$promise, completion) {
2094
- var i = new dereferenceSchemaText$slambda(this.n5a_1, this.o5a_1, this.p5a_1, completion);
2095
- i.q5a_1 = $this$promise;
2165
+ protoOf(dereferenceSchemaText$slambda).p5a = function ($this$promise, completion) {
2166
+ var i = new dereferenceSchemaText$slambda(this.y5a_1, this.z5a_1, this.a5b_1, completion);
2167
+ i.b5b_1 = $this$promise;
2096
2168
  return i;
2097
2169
  };
2098
2170
  function dereferenceSchemaText$slambda_0($input, $baseUri, $mergeAllOf, resultContinuation) {
2099
2171
  var i = new dereferenceSchemaText$slambda($input, $baseUri, $mergeAllOf, resultContinuation);
2100
2172
  var l = function ($this$promise, $completion) {
2101
- return i.d5a($this$promise, $completion);
2173
+ return i.o5a($this$promise, $completion);
2102
2174
  };
2103
2175
  l.$arity = 1;
2104
2176
  return l;
@@ -2109,13 +2181,13 @@
2109
2181
  }
2110
2182
  function applyQueryAuth($this, url) {
2111
2183
  // Inline function 'kotlin.collections.filter' call
2112
- var tmp0 = $this.s5a_1;
2184
+ var tmp0 = $this.d5b_1;
2113
2185
  // Inline function 'kotlin.collections.filterTo' call
2114
2186
  var destination = ArrayList_init_$Create$_0();
2115
2187
  var _iterator__ex2g4s = tmp0.i();
2116
2188
  while (_iterator__ex2g4s.j()) {
2117
2189
  var element = _iterator__ex2g4s.k();
2118
- if (element.v5a_1.equals(AuthenticationType_QUERY_getInstance()) && element.y5a(url)) {
2190
+ if (element.g5b_1.equals(AuthenticationType_QUERY_getInstance()) && element.j5b(url)) {
2119
2191
  destination.h(element);
2120
2192
  }
2121
2193
  }
@@ -2125,7 +2197,7 @@
2125
2197
  var _iterator__ex2g4s_0 = destination.i();
2126
2198
  while (_iterator__ex2g4s_0.j()) {
2127
2199
  var item = _iterator__ex2g4s_0.k();
2128
- var tmp$ret$3 = encode($this, item.t5a_1) + '=' + encode($this, item.u5a_1);
2200
+ var tmp$ret$3 = encode($this, item.e5b_1) + '=' + encode($this, item.f5b_1);
2129
2201
  destination_0.h(tmp$ret$3);
2130
2202
  }
2131
2203
  var params = destination_0;
@@ -2139,32 +2211,32 @@
2139
2211
  }
2140
2212
  function $loadCOROUTINE$(_this__u8e3s4, uri, resultContinuation) {
2141
2213
  CoroutineImpl.call(this, resultContinuation);
2142
- this.h5b_1 = _this__u8e3s4;
2143
- this.i5b_1 = uri;
2214
+ this.s5b_1 = _this__u8e3s4;
2215
+ this.t5b_1 = uri;
2144
2216
  }
2145
- protoOf($loadCOROUTINE$).h8 = function () {
2146
- var suspendResult = this.b8_1;
2217
+ protoOf($loadCOROUTINE$).i8 = function () {
2218
+ var suspendResult = this.c8_1;
2147
2219
  $sm: do
2148
2220
  try {
2149
- var tmp = this.z7_1;
2221
+ var tmp = this.a8_1;
2150
2222
  switch (tmp) {
2151
2223
  case 0:
2152
- this.a8_1 = 3;
2153
- this.j5b_1 = applyQueryAuth(this.h5b_1, this.i5b_1);
2224
+ this.b8_1 = 3;
2225
+ this.u5b_1 = applyQueryAuth(this.s5b_1, this.t5b_1);
2154
2226
  var headers = {};
2155
2227
  headers['Accept'] = 'application/json, application/yaml, */*';
2156
- var _iterator__ex2g4s = this.h5b_1.s5a_1.i();
2228
+ var _iterator__ex2g4s = this.s5b_1.d5b_1.i();
2157
2229
  while (_iterator__ex2g4s.j()) {
2158
2230
  var a = _iterator__ex2g4s.k();
2159
- if (a.v5a_1.equals(AuthenticationType_HEADER_getInstance()) && a.y5a(this.j5b_1)) {
2160
- headers[a.t5a_1] = a.u5a_1;
2231
+ if (a.g5b_1.equals(AuthenticationType_HEADER_getInstance()) && a.j5b(this.u5b_1)) {
2232
+ headers[a.e5b_1] = a.f5b_1;
2161
2233
  }
2162
2234
  }
2163
2235
 
2164
2236
  var init = {};
2165
2237
  init['headers'] = headers;
2166
- this.z7_1 = 1;
2167
- suspendResult = await_0(fetch(this.j5b_1, init), this);
2238
+ this.a8_1 = 1;
2239
+ suspendResult = await_0(fetch(this.u5b_1, init), this);
2168
2240
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2169
2241
  return suspendResult;
2170
2242
  }
@@ -2175,8 +2247,8 @@
2175
2247
  var tmp_0 = response.status;
2176
2248
  var status = (!(tmp_0 == null) ? typeof tmp_0 === 'number' : false) ? tmp_0 : THROW_CCE();
2177
2249
  if (status >= 400)
2178
- throw RuntimeException_init_$Create$('HTTP ' + status + ' loading: ' + this.j5b_1);
2179
- this.z7_1 = 2;
2250
+ throw RuntimeException_init_$Create$('HTTP ' + status + ' loading: ' + this.u5b_1);
2251
+ this.a8_1 = 2;
2180
2252
  var tmp_1 = response.text();
2181
2253
  suspendResult = await_0(tmp_1 instanceof Promise ? tmp_1 : THROW_CCE(), this);
2182
2254
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -2187,45 +2259,71 @@
2187
2259
  case 2:
2188
2260
  return suspendResult;
2189
2261
  case 3:
2190
- throw this.c8_1;
2262
+ throw this.d8_1;
2191
2263
  }
2192
2264
  } catch ($p) {
2193
2265
  var e = $p;
2194
- if (this.a8_1 === 3) {
2266
+ if (this.b8_1 === 3) {
2195
2267
  throw e;
2196
2268
  } else {
2197
- this.z7_1 = this.a8_1;
2198
- this.c8_1 = e;
2269
+ this.a8_1 = this.b8_1;
2270
+ this.d8_1 = e;
2199
2271
  }
2200
2272
  }
2201
2273
  while (true);
2202
2274
  };
2203
2275
  function FetchLoader(auth) {
2204
2276
  auth = auth === VOID ? emptyList() : auth;
2205
- this.s5a_1 = auth;
2277
+ this.d5b_1 = auth;
2206
2278
  }
2207
- protoOf(FetchLoader).n54 = function (uri) {
2279
+ protoOf(FetchLoader).o54 = function (uri) {
2208
2280
  return startsWith(uri, 'http://') || startsWith(uri, 'https://');
2209
2281
  };
2210
- protoOf(FetchLoader).o54 = function (uri, $completion) {
2282
+ protoOf(FetchLoader).t54 = function (uri, $completion) {
2211
2283
  var tmp = new $loadCOROUTINE$(this, uri, $completion);
2212
- tmp.b8_1 = Unit_instance;
2213
- tmp.c8_1 = null;
2214
- return tmp.h8();
2284
+ tmp.c8_1 = Unit_instance;
2285
+ tmp.d8_1 = null;
2286
+ return tmp.i8();
2215
2287
  };
2216
- function readUtf8File($this, filePath) {
2217
- return io_zenwave360_jsonrefparser_io_NodeFsModule_d06zrq.readFileSync(filePath, 'utf8');
2288
+ function readUtf8File($this, filePath, $completion) {
2289
+ var tmp = new $readUtf8FileCOROUTINE$($this, filePath, $completion);
2290
+ tmp.c8_1 = Unit_instance;
2291
+ tmp.d8_1 = null;
2292
+ return tmp.i8();
2218
2293
  }
2294
+ function $readUtf8FileCOROUTINE$(_this__u8e3s4, filePath, resultContinuation) {
2295
+ CoroutineImpl.call(this, resultContinuation);
2296
+ this.d5c_1 = _this__u8e3s4;
2297
+ this.e5c_1 = filePath;
2298
+ }
2299
+ protoOf($readUtf8FileCOROUTINE$).i8 = function () {
2300
+ var suspendResult = this.c8_1;
2301
+ $sm: do
2302
+ try {
2303
+ var tmp = this.a8_1;
2304
+ if (tmp === 0) {
2305
+ this.b8_1 = 1;
2306
+ var tmp_0 = nodeFs(this).readFileSync(this.e5c_1, 'utf8');
2307
+ return (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : THROW_CCE();
2308
+ } else if (tmp === 1) {
2309
+ throw this.d8_1;
2310
+ }
2311
+ } catch ($p) {
2312
+ var e = $p;
2313
+ throw e;
2314
+ }
2315
+ while (true);
2316
+ };
2219
2317
  function NodeFsLoader() {
2220
2318
  }
2221
- protoOf(NodeFsLoader).n54 = function (uri) {
2319
+ protoOf(NodeFsLoader).o54 = function (uri) {
2222
2320
  return startsWith(uri, 'file://') || (!contains(uri, '://') && !startsWith(uri, 'classpath:'));
2223
2321
  };
2224
- protoOf(NodeFsLoader).o54 = function (uri, $completion) {
2322
+ protoOf(NodeFsLoader).t54 = function (uri, $completion) {
2225
2323
  var normalizedUri = substringBefore(uri, _Char___init__impl__6a9atx(35));
2226
2324
  var tmp;
2227
2325
  // Inline function 'kotlin.text.matches' call
2228
- if (Regex_init_$Create$('^file:///[A-Za-z]:/.*$').cb(normalizedUri)) {
2326
+ if (Regex_init_$Create$('^file:///[A-Za-z]:/.*$').db(normalizedUri)) {
2229
2327
  tmp = removePrefix(normalizedUri, 'file:///');
2230
2328
  } else {
2231
2329
  if (startsWith(normalizedUri, 'file:///')) {
@@ -2239,11 +2337,140 @@
2239
2337
  }
2240
2338
  }
2241
2339
  var filePath = tmp;
2242
- return readUtf8File(this, filePath);
2340
+ return readUtf8File(this, filePath, $completion);
2341
+ };
2342
+ var cachedNodeFs;
2343
+ function currentPlatformName() {
2344
+ return isNodeRuntime() ? 'node' : 'browser';
2345
+ }
2346
+ function currentPlatformCapabilities() {
2347
+ // Inline function 'kotlin.collections.buildSet' call
2348
+ // Inline function 'kotlin.collections.buildSetInternal' call
2349
+ // Inline function 'kotlin.apply' call
2350
+ var this_0 = LinkedHashSet_init_$Create$();
2351
+ if (isNodeRuntime()) {
2352
+ this_0.h('jsonrefparser.filesystem');
2353
+ }
2354
+ if (hasGlobalFetch()) {
2355
+ this_0.h('jsonrefparser.http');
2356
+ }
2357
+ return this_0.j4();
2358
+ }
2359
+ function isNodeRuntime() {
2360
+ var tmp = typeof globalThis.process === 'object' && globalThis.process !== null && typeof (globalThis.process.versions || {}).node === 'string';
2361
+ return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
2362
+ }
2363
+ function hasGlobalFetch() {
2364
+ var tmp = typeof globalThis.fetch === 'function';
2365
+ return (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : THROW_CCE();
2366
+ }
2367
+ function nodeFs($completion) {
2368
+ var tmp = new $nodeFsCOROUTINE$($completion);
2369
+ tmp.c8_1 = Unit_instance;
2370
+ tmp.d8_1 = null;
2371
+ return tmp.i8();
2372
+ }
2373
+ function resolveNodeFs(preferBuiltinModule, $completion) {
2374
+ var tmp = new $resolveNodeFsCOROUTINE$(preferBuiltinModule, $completion);
2375
+ tmp.c8_1 = Unit_instance;
2376
+ tmp.d8_1 = null;
2377
+ return tmp.i8();
2378
+ }
2379
+ function $nodeFsCOROUTINE$(resultContinuation) {
2380
+ CoroutineImpl.call(this, resultContinuation);
2381
+ }
2382
+ protoOf($nodeFsCOROUTINE$).i8 = function () {
2383
+ var suspendResult = this.c8_1;
2384
+ $sm: do
2385
+ try {
2386
+ var tmp = this.a8_1;
2387
+ switch (tmp) {
2388
+ case 0:
2389
+ this.b8_1 = 3;
2390
+ if (cachedNodeFs == null) {
2391
+ this.a8_1 = 1;
2392
+ suspendResult = resolveNodeFs(true, this);
2393
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
2394
+ return suspendResult;
2395
+ }
2396
+ continue $sm;
2397
+ } else {
2398
+ this.a8_1 = 2;
2399
+ continue $sm;
2400
+ }
2401
+
2402
+ case 1:
2403
+ cachedNodeFs = suspendResult;
2404
+ this.a8_1 = 2;
2405
+ continue $sm;
2406
+ case 2:
2407
+ return cachedNodeFs;
2408
+ case 3:
2409
+ throw this.d8_1;
2410
+ }
2411
+ } catch ($p) {
2412
+ var e = $p;
2413
+ if (this.b8_1 === 3) {
2414
+ throw e;
2415
+ } else {
2416
+ this.a8_1 = this.b8_1;
2417
+ this.d8_1 = e;
2418
+ }
2419
+ }
2420
+ while (true);
2421
+ };
2422
+ function $resolveNodeFsCOROUTINE$(preferBuiltinModule, resultContinuation) {
2423
+ CoroutineImpl.call(this, resultContinuation);
2424
+ this.v5c_1 = preferBuiltinModule;
2425
+ }
2426
+ protoOf($resolveNodeFsCOROUTINE$).i8 = function () {
2427
+ var suspendResult = this.c8_1;
2428
+ $sm: do
2429
+ try {
2430
+ var tmp = this.a8_1;
2431
+ switch (tmp) {
2432
+ case 0:
2433
+ this.b8_1 = 2;
2434
+ if (!isNodeRuntime()) {
2435
+ throw new CapabilityUnavailableException('jsonrefparser.filesystem', currentPlatformName());
2436
+ }
2437
+
2438
+ var process = globalThis.process;
2439
+ if (this.v5c_1 && typeof process.getBuiltinModule === 'function') {
2440
+ return process.getBuiltinModule('node:fs');
2441
+ }
2442
+
2443
+ var dynamicImport = new Function('s', 'return import(s)');
2444
+ this.a8_1 = 1;
2445
+ var tmp_0 = dynamicImport('node:fs');
2446
+ suspendResult = await_0(tmp_0 instanceof Promise ? tmp_0 : THROW_CCE(), this);
2447
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
2448
+ return suspendResult;
2449
+ }
2450
+
2451
+ continue $sm;
2452
+ case 1:
2453
+ var module_0 = suspendResult;
2454
+ return typeof module_0.readFileSync === 'function' ? module_0 : module_0.default;
2455
+ case 2:
2456
+ throw this.d8_1;
2457
+ }
2458
+ } catch ($p) {
2459
+ var e = $p;
2460
+ if (this.b8_1 === 2) {
2461
+ throw e;
2462
+ } else {
2463
+ this.a8_1 = this.b8_1;
2464
+ this.d8_1 = e;
2465
+ }
2466
+ }
2467
+ while (true);
2243
2468
  };
2244
2469
  //region block: init
2245
2470
  Companion_instance_0 = new Companion_0();
2471
+ RefParserPlatform_instance = new RefParserPlatform();
2246
2472
  Companion_instance_1 = new Companion_1();
2473
+ cachedNodeFs = null;
2247
2474
  //endregion
2248
2475
  //region block: exports
2249
2476
  function $jsExportAll$(_) {
@@ -2251,6 +2478,7 @@
2251
2478
  var $io$zenwave360 = $io.zenwave360 || ($io.zenwave360 = {});
2252
2479
  var $io$zenwave360$jsonrefparser = $io$zenwave360.jsonrefparser || ($io$zenwave360.jsonrefparser = {});
2253
2480
  $io$zenwave360$jsonrefparser.parseSchemaText = parseSchemaText;
2481
+ $io$zenwave360$jsonrefparser.refParserPlatform = refParserPlatform;
2254
2482
  $io$zenwave360$jsonrefparser.dereferenceSchema = dereferenceSchema;
2255
2483
  $io$zenwave360$jsonrefparser.dereferenceSchemaText = dereferenceSchemaText;
2256
2484
  }