@xiuper/mpp-core 0.0.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.js +1796 -1796
  2. package/Kotlin-Immutable-Collections-kotlinx-collections-immutable.js +278 -278
  3. package/Xiuper-mpp-codegraph.js +240 -240
  4. package/kaml.js +639 -639
  5. package/koog-agents-agents-core.js +4606 -4606
  6. package/koog-agents-agents-tools.js +41 -41
  7. package/koog-agents-agents-utils.js +52 -52
  8. package/koog-http-client-http-client-core.js +4 -4
  9. package/koog-http-client-http-client-ktor.js +166 -166
  10. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-anthropic-client.js +906 -906
  11. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-deepseek-client.js +299 -299
  12. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-google-client.js +838 -838
  13. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-ollama-client.js +452 -452
  14. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client-base.js +1002 -1002
  15. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openai-client.js +3358 -3358
  16. package/koog-prompt-prompt-executor-prompt-executor-clients-prompt-executor-openrouter-client.js +532 -532
  17. package/koog-prompt-prompt-executor-prompt-executor-clients.js +29 -29
  18. package/koog-prompt-prompt-executor-prompt-executor-llms.js +25 -25
  19. package/koog-prompt-prompt-executor-prompt-executor-model.js +4 -4
  20. package/koog-prompt-prompt-llm.js +120 -120
  21. package/koog-prompt-prompt-markdown.js +30 -30
  22. package/koog-prompt-prompt-model.js +1055 -1055
  23. package/koog-prompt-prompt-structure.js +342 -342
  24. package/koog-utils.js +10 -10
  25. package/kotlin-kotlin-stdlib.js +453 -411
  26. package/kotlin-kotlin-stdlib.js.map +1 -1
  27. package/kotlin-logging.js +116 -116
  28. package/kotlin-sdk-kotlin-sdk-client.js +260 -260
  29. package/kotlin-sdk-kotlin-sdk-core.js +2568 -2568
  30. package/kotlinx-atomicfu.js +5 -5
  31. package/kotlinx-coroutines-core.js +532 -654
  32. package/kotlinx-coroutines-core.js.map +1 -1
  33. package/kotlinx-io-kotlinx-io-bytestring.js +40 -40
  34. package/kotlinx-io-kotlinx-io-core.js +605 -605
  35. package/kotlinx-serialization-kotlinx-serialization-core.js +75 -75
  36. package/kotlinx-serialization-kotlinx-serialization-json.js +95 -95
  37. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
  38. package/ktor-ktor-client-content-negotiation.js +163 -163
  39. package/ktor-ktor-client-core.js +2237 -2235
  40. package/ktor-ktor-client-core.js.map +1 -1
  41. package/ktor-ktor-events.js +15 -15
  42. package/ktor-ktor-http-cio.js +725 -725
  43. package/ktor-ktor-http.js +805 -805
  44. package/ktor-ktor-io.js +766 -766
  45. package/ktor-ktor-network.js +285 -285
  46. package/ktor-ktor-serialization-kotlinx-json.js +1 -1
  47. package/ktor-ktor-serialization-kotlinx.js +130 -130
  48. package/ktor-ktor-serialization.js +68 -68
  49. package/ktor-ktor-server-cio.js +724 -724
  50. package/ktor-ktor-server-core.js +1793 -1793
  51. package/ktor-ktor-server-sse.js +125 -125
  52. package/ktor-ktor-sse.js +40 -40
  53. package/ktor-ktor-utils.js +690 -690
  54. package/ktor-ktor-websockets.js +49 -49
  55. package/markdown.js +1561 -1561
  56. package/okio-parent-okio.js +368 -368
  57. package/package.json +1 -1
  58. package/snakeyaml-engine-kmp.js +2005 -2005
  59. package/urlencoder-urlencoder-lib.js +43 -43
  60. package/xiuper-mpp-core.d.ts +45 -7
  61. package/xiuper-mpp-core.js +22405 -18664
  62. package/xiuper-mpp-core.js.map +1 -1
  63. package/autodev-mpp-core.d.ts +0 -1312
  64. package/autodev-mpp-core.js +0 -86483
  65. package/autodev-mpp-core.js.map +0 -1
@@ -27,51 +27,51 @@
27
27
  }(function (_, kotlin_kotlin, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_serialization, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_utils) {
28
28
  'use strict';
29
29
  //region block: imports
30
- var protoOf = kotlin_kotlin.$_$.we;
31
- var initMetadataForClass = kotlin_kotlin.$_$.ud;
32
- var plus = kotlin_kotlin.$_$.fa;
33
- var toMutableSet = kotlin_kotlin.$_$.ob;
30
+ var protoOf = kotlin_kotlin.$_$.ze;
31
+ var initMetadataForClass = kotlin_kotlin.$_$.xd;
32
+ var plus = kotlin_kotlin.$_$.ga;
33
+ var toMutableSet = kotlin_kotlin.$_$.qb;
34
34
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.t;
35
35
  var Application_getInstance = kotlin_io_ktor_ktor_http.$_$.d;
36
36
  var register$default = kotlin_io_ktor_ktor_serialization.$_$.b;
37
37
  var Unit_instance = kotlin_kotlin.$_$.h6;
38
38
  var Configuration = kotlin_io_ktor_ktor_serialization.$_$.c;
39
39
  var VOID = kotlin_kotlin.$_$.h;
40
- var Exception = kotlin_kotlin.$_$.ok;
40
+ var Exception = kotlin_kotlin.$_$.sk;
41
41
  var Exception_init_$Init$ = kotlin_kotlin.$_$.y1;
42
- var captureStack = kotlin_kotlin.$_$.dd;
42
+ var captureStack = kotlin_kotlin.$_$.gd;
43
43
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.u;
44
- var CoroutineImpl = kotlin_kotlin.$_$.tc;
45
- var THROW_CCE = kotlin_kotlin.$_$.zk;
46
- var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.j;
47
- var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.r;
44
+ var CoroutineImpl = kotlin_kotlin.$_$.wc;
45
+ var THROW_CCE = kotlin_kotlin.$_$.dl;
46
+ var TransformRequestBodyContext = kotlin_io_ktor_ktor_client_core.$_$.k;
47
+ var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
48
48
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.c1;
49
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.dc;
50
- var initMetadataForLambda = kotlin_kotlin.$_$.zd;
51
- var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.k;
52
- var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
49
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.gc;
50
+ var initMetadataForLambda = kotlin_kotlin.$_$.ce;
51
+ var TransformResponseBodyContext = kotlin_io_ktor_ktor_client_core.$_$.l;
52
+ var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.z;
53
53
  var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.w1;
54
- var isInterface = kotlin_kotlin.$_$.je;
54
+ var isInterface = kotlin_kotlin.$_$.me;
55
55
  var contentType = kotlin_io_ktor_ktor_http.$_$.x1;
56
- var get_request = kotlin_io_ktor_ktor_client_core.$_$.a1;
56
+ var get_request = kotlin_io_ktor_ktor_client_core.$_$.b1;
57
57
  var suitableCharset = kotlin_io_ktor_ktor_serialization.$_$.e;
58
- var toString = kotlin_kotlin.$_$.af;
58
+ var toString = kotlin_kotlin.$_$.df;
59
59
  var Collection = kotlin_kotlin.$_$.n6;
60
60
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.i;
61
61
  var emptyList = kotlin_kotlin.$_$.m8;
62
62
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
63
- var accept = kotlin_io_ktor_ktor_client_core.$_$.s;
63
+ var accept = kotlin_io_ktor_ktor_client_core.$_$.t;
64
64
  var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.x;
65
65
  var getKClassFromExpression = kotlin_kotlin.$_$.e;
66
66
  var contentType_0 = kotlin_io_ktor_ktor_http.$_$.v1;
67
- var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.i;
68
- var Unit = kotlin_kotlin.$_$.kl;
67
+ var EmptyContent_getInstance = kotlin_io_ktor_ktor_client_core.$_$.j;
68
+ var Unit = kotlin_kotlin.$_$.ol;
69
69
  var charset = kotlin_io_ktor_ktor_http.$_$.t1;
70
- var ensureNotNull = kotlin_kotlin.$_$.sl;
70
+ var ensureNotNull = kotlin_kotlin.$_$.wl;
71
71
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.b;
72
- var equals = kotlin_kotlin.$_$.md;
72
+ var equals = kotlin_kotlin.$_$.pd;
73
73
  var joinToString = kotlin_kotlin.$_$.i9;
74
- var initMetadataForCoroutine = kotlin_kotlin.$_$.wd;
74
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.zd;
75
75
  var collectionSizeOrDefault = kotlin_kotlin.$_$.p7;
76
76
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.s;
77
77
  var deserialize = kotlin_io_ktor_ktor_serialization.$_$.a;
@@ -79,16 +79,16 @@
79
79
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.t5;
80
80
  var HttpStatusCode = kotlin_io_ktor_ktor_http.$_$.h1;
81
81
  var getKClass = kotlin_kotlin.$_$.f;
82
- var setOf = kotlin_kotlin.$_$.pa;
82
+ var setOf = kotlin_kotlin.$_$.ra;
83
83
  var KtList = kotlin_kotlin.$_$.s6;
84
84
  var ContentType = kotlin_io_ktor_ktor_http.$_$.e1;
85
- var arrayOf = kotlin_kotlin.$_$.nl;
85
+ var arrayOf = kotlin_kotlin.$_$.rl;
86
86
  var createKType = kotlin_kotlin.$_$.c;
87
87
  var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
88
88
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.e1;
89
- var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.l;
90
- var endsWith = kotlin_kotlin.$_$.ug;
91
- var initMetadataForObject = kotlin_kotlin.$_$.ae;
89
+ var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.m;
90
+ var endsWith = kotlin_kotlin.$_$.xg;
91
+ var initMetadataForObject = kotlin_kotlin.$_$.de;
92
92
  var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.f1;
93
93
  //endregion
94
94
  //region block: pre-declaration
@@ -123,35 +123,35 @@
123
123
  }
124
124
  var ContentNegotiation;
125
125
  function ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher) {
126
- this.b7n_1 = converter;
127
- this.c7n_1 = contentTypeToSend;
128
- this.d7n_1 = contentTypeMatcher;
126
+ this.g7m_1 = converter;
127
+ this.h7m_1 = contentTypeToSend;
128
+ this.i7m_1 = contentTypeMatcher;
129
129
  }
130
130
  function defaultMatcher($this, pattern) {
131
131
  return new ContentNegotiationConfig$defaultMatcher$1(pattern);
132
132
  }
133
133
  function ContentNegotiationConfig$defaultMatcher$1($pattern) {
134
- this.e7n_1 = $pattern;
134
+ this.j7m_1 = $pattern;
135
135
  }
136
- protoOf(ContentNegotiationConfig$defaultMatcher$1).f7n = function (contentType) {
137
- return contentType.b59(this.e7n_1);
136
+ protoOf(ContentNegotiationConfig$defaultMatcher$1).k7m = function (contentType) {
137
+ return contentType.g58(this.j7m_1);
138
138
  };
139
139
  function ContentNegotiationConfig() {
140
- this.g7n_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
140
+ this.l7m_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
141
141
  var tmp = this;
142
142
  // Inline function 'kotlin.collections.mutableListOf' call
143
- tmp.h7n_1 = ArrayList_init_$Create$();
144
- this.i7n_1 = null;
143
+ tmp.m7m_1 = ArrayList_init_$Create$();
144
+ this.n7m_1 = null;
145
145
  }
146
- protoOf(ContentNegotiationConfig).z60 = function (contentType, converter, configuration) {
147
- var matcher = contentType.b59(Application_getInstance().h57_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
148
- this.j7n(contentType, converter, matcher, configuration);
146
+ protoOf(ContentNegotiationConfig).e60 = function (contentType, converter, configuration) {
147
+ var matcher = contentType.g58(Application_getInstance().m56_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
148
+ this.o7m(contentType, converter, matcher, configuration);
149
149
  };
150
- protoOf(ContentNegotiationConfig).j7n = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
150
+ protoOf(ContentNegotiationConfig).o7m = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
151
151
  // Inline function 'kotlin.apply' call
152
152
  configuration(converter);
153
153
  var registration = new ConverterRegistration(converter, contentTypeToSend, contentTypeMatcher);
154
- this.h7n_1.h(registration);
154
+ this.m7m_1.h(registration);
155
155
  };
156
156
  function ContentConverterException(message) {
157
157
  Exception_init_$Init$(message, this);
@@ -166,10 +166,10 @@
166
166
  }
167
167
  function ContentNegotiation$lambda($this$createClientPlugin) {
168
168
  _init_properties_ContentNegotiation_kt__o183go();
169
- var registrations = $this$createClientPlugin.w6e_1.h7n_1;
170
- var ignoredTypes = $this$createClientPlugin.w6e_1.g7n_1;
171
- $this$createClientPlugin.i6x(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
172
- $this$createClientPlugin.m6p(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
169
+ var registrations = $this$createClientPlugin.b6e_1.m7m_1;
170
+ var ignoredTypes = $this$createClientPlugin.b6e_1.l7m_1;
171
+ $this$createClientPlugin.n6w(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
172
+ $this$createClientPlugin.r6o(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
173
173
  return Unit_instance;
174
174
  }
175
175
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
@@ -179,29 +179,29 @@
179
179
  return tmp.fa();
180
180
  }
181
181
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
182
- charset = charset === VOID ? Charsets_getInstance().q4i_1 : charset;
182
+ charset = charset === VOID ? Charsets_getInstance().v4h_1 : charset;
183
183
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
184
184
  tmp.z9_1 = Unit_instance;
185
185
  tmp.aa_1 = null;
186
186
  return tmp.fa();
187
187
  }
188
188
  function ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
189
- this.h7p_1 = $registrations;
190
- this.i7p_1 = $this_createClientPlugin;
191
- this.j7p_1 = $ignoredTypes;
189
+ this.m7o_1 = $registrations;
190
+ this.n7o_1 = $this_createClientPlugin;
191
+ this.o7o_1 = $ignoredTypes;
192
192
  CoroutineImpl.call(this, resultContinuation);
193
193
  }
194
- protoOf(ContentNegotiation$lambda$slambda).o7p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
195
- var tmp = this.p7p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
194
+ protoOf(ContentNegotiation$lambda$slambda).t7o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
195
+ var tmp = this.u7o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
196
196
  tmp.z9_1 = Unit_instance;
197
197
  tmp.aa_1 = null;
198
198
  return tmp.fa();
199
199
  };
200
- protoOf(ContentNegotiation$lambda$slambda).r6q = function (p1, p2, p3, p4, $completion) {
200
+ protoOf(ContentNegotiation$lambda$slambda).w6p = function (p1, p2, p3, p4, $completion) {
201
201
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
202
202
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
203
203
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
204
- return this.o7p(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
204
+ return this.t7o(tmp, tmp_0, tmp_1, (p4 == null ? true : p4 instanceof TypeInfo) ? p4 : THROW_CCE(), $completion);
205
205
  };
206
206
  protoOf(ContentNegotiation$lambda$slambda).fa = function () {
207
207
  var suspendResult = this.z9_1;
@@ -212,7 +212,7 @@
212
212
  case 0:
213
213
  this.y9_1 = 2;
214
214
  this.x9_1 = 1;
215
- suspendResult = invoke$convertRequest(this.h7p_1, this.i7p_1, this.j7p_1, this.l7p_1, this.m7p_1, this);
215
+ suspendResult = invoke$convertRequest(this.m7o_1, this.n7o_1, this.o7o_1, this.q7o_1, this.r7o_1, this);
216
216
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
217
217
  return suspendResult;
218
218
  }
@@ -234,39 +234,39 @@
234
234
  }
235
235
  while (true);
236
236
  };
237
- protoOf(ContentNegotiation$lambda$slambda).p7p = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
238
- var i = new ContentNegotiation$lambda$slambda(this.h7p_1, this.i7p_1, this.j7p_1, completion);
239
- i.k7p_1 = $this$transformRequestBody;
240
- i.l7p_1 = request;
241
- i.m7p_1 = body;
242
- i.n7p_1 = _unused_var__etf5q3;
237
+ protoOf(ContentNegotiation$lambda$slambda).u7o = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, completion) {
238
+ var i = new ContentNegotiation$lambda$slambda(this.m7o_1, this.n7o_1, this.o7o_1, completion);
239
+ i.p7o_1 = $this$transformRequestBody;
240
+ i.q7o_1 = request;
241
+ i.r7o_1 = body;
242
+ i.s7o_1 = _unused_var__etf5q3;
243
243
  return i;
244
244
  };
245
245
  function ContentNegotiation$lambda$slambda_0($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation) {
246
246
  var i = new ContentNegotiation$lambda$slambda($registrations, $this_createClientPlugin, $ignoredTypes, resultContinuation);
247
247
  var l = function ($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion) {
248
- return i.o7p($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
248
+ return i.t7o($this$transformRequestBody, request, body, _unused_var__etf5q3, $completion);
249
249
  };
250
250
  l.$arity = 4;
251
251
  return l;
252
252
  }
253
253
  function ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
254
- this.y7p_1 = $ignoredTypes;
255
- this.z7p_1 = $registrations;
256
- this.a7q_1 = $this_createClientPlugin;
254
+ this.d7p_1 = $ignoredTypes;
255
+ this.e7p_1 = $registrations;
256
+ this.f7p_1 = $this_createClientPlugin;
257
257
  CoroutineImpl.call(this, resultContinuation);
258
258
  }
259
- protoOf(ContentNegotiation$lambda$slambda_1).p6q = function ($this$transformResponseBody, response, body, info, $completion) {
260
- var tmp = this.q6q($this$transformResponseBody, response, body, info, $completion);
259
+ protoOf(ContentNegotiation$lambda$slambda_1).u6p = function ($this$transformResponseBody, response, body, info, $completion) {
260
+ var tmp = this.v6p($this$transformResponseBody, response, body, info, $completion);
261
261
  tmp.z9_1 = Unit_instance;
262
262
  tmp.aa_1 = null;
263
263
  return tmp.fa();
264
264
  };
265
- protoOf(ContentNegotiation$lambda$slambda_1).r6q = function (p1, p2, p3, p4, $completion) {
265
+ protoOf(ContentNegotiation$lambda$slambda_1).w6p = function (p1, p2, p3, p4, $completion) {
266
266
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
267
267
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
268
268
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
269
- return this.p6q(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
269
+ return this.u6p(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
270
270
  };
271
271
  protoOf(ContentNegotiation$lambda$slambda_1).fa = function () {
272
272
  var suspendResult = this.z9_1;
@@ -277,7 +277,7 @@
277
277
  case 0:
278
278
  this.y9_1 = 2;
279
279
  var tmp_0 = this;
280
- var tmp0_elvis_lhs = contentType(this.c7q_1);
280
+ var tmp0_elvis_lhs = contentType(this.h7p_1);
281
281
  var tmp_1;
282
282
  if (tmp0_elvis_lhs == null) {
283
283
  return null;
@@ -285,10 +285,10 @@
285
285
  tmp_1 = tmp0_elvis_lhs;
286
286
  }
287
287
 
288
- tmp_0.f7q_1 = tmp_1;
289
- this.g7q_1 = suitableCharset(get_request(this.c7q_1).k5d());
288
+ tmp_0.k7p_1 = tmp_1;
289
+ this.l7p_1 = suitableCharset(get_request(this.h7p_1).p5c());
290
290
  this.x9_1 = 1;
291
- suspendResult = invoke$convertResponse(this.y7p_1, this.z7p_1, this.a7q_1, get_request(this.c7q_1).o67(), this.e7q_1, this.d7q_1, this.f7q_1, this.g7q_1, this);
291
+ suspendResult = invoke$convertResponse(this.d7p_1, this.e7p_1, this.f7p_1, get_request(this.h7p_1).t66(), this.j7p_1, this.i7p_1, this.k7p_1, this.l7p_1, this);
292
292
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
293
293
  return suspendResult;
294
294
  }
@@ -310,33 +310,33 @@
310
310
  }
311
311
  while (true);
312
312
  };
313
- protoOf(ContentNegotiation$lambda$slambda_1).q6q = function ($this$transformResponseBody, response, body, info, completion) {
314
- var i = new ContentNegotiation$lambda$slambda_1(this.y7p_1, this.z7p_1, this.a7q_1, completion);
315
- i.b7q_1 = $this$transformResponseBody;
316
- i.c7q_1 = response;
317
- i.d7q_1 = body;
318
- i.e7q_1 = info;
313
+ protoOf(ContentNegotiation$lambda$slambda_1).v6p = function ($this$transformResponseBody, response, body, info, completion) {
314
+ var i = new ContentNegotiation$lambda$slambda_1(this.d7p_1, this.e7p_1, this.f7p_1, completion);
315
+ i.g7p_1 = $this$transformResponseBody;
316
+ i.h7p_1 = response;
317
+ i.i7p_1 = body;
318
+ i.j7p_1 = info;
319
319
  return i;
320
320
  };
321
321
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
322
322
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
323
323
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
324
- return i.p6q($this$transformResponseBody, response, body, info, $completion);
324
+ return i.u6p($this$transformResponseBody, response, body, info, $completion);
325
325
  };
326
326
  l.$arity = 4;
327
327
  return l;
328
328
  }
329
329
  function ContentNegotiation$lambda$convertRequest$lambda(it) {
330
330
  _init_properties_ContentNegotiation_kt__o183go();
331
- return toString(it.b7n_1);
331
+ return toString(it.g7m_1);
332
332
  }
333
333
  function $invoke$convertRequestCOROUTINE$(registrations, $this_createClientPlugin, ignoredTypes, request, body, resultContinuation) {
334
334
  CoroutineImpl.call(this, resultContinuation);
335
- this.s7n_1 = registrations;
336
- this.t7n_1 = $this_createClientPlugin;
337
- this.u7n_1 = ignoredTypes;
338
- this.v7n_1 = request;
339
- this.w7n_1 = body;
335
+ this.x7m_1 = registrations;
336
+ this.y7m_1 = $this_createClientPlugin;
337
+ this.z7m_1 = ignoredTypes;
338
+ this.a7n_1 = request;
339
+ this.b7n_1 = body;
340
340
  }
341
341
  protoOf($invoke$convertRequestCOROUTINE$).fa = function () {
342
342
  var suspendResult = this.z9_1;
@@ -348,9 +348,9 @@
348
348
  this.y9_1 = 7;
349
349
  var tmp_0 = this;
350
350
  var tmp_1;
351
- if (this.v7n_1.b66_1.o4x(get_ExcludedContentTypes())) {
352
- var excluded = this.v7n_1.b66_1.m4x(get_ExcludedContentTypes());
353
- var tmp0 = this.s7n_1;
351
+ if (this.a7n_1.g65_1.t4w(get_ExcludedContentTypes())) {
352
+ var excluded = this.a7n_1.g65_1.r4w(get_ExcludedContentTypes());
353
+ var tmp0 = this.x7m_1;
354
354
  var destination = ArrayList_init_$Create$();
355
355
  var _iterator__ex2g4s = tmp0.p();
356
356
  while (_iterator__ex2g4s.q()) {
@@ -370,7 +370,7 @@
370
370
  var _iterator__ex2g4s_0 = excluded.p();
371
371
  while (_iterator__ex2g4s_0.q()) {
372
372
  var element_0 = _iterator__ex2g4s_0.r();
373
- if (element.c7n_1.b59(element_0)) {
373
+ if (element.h7m_1.g58(element_0)) {
374
374
  tmp$ret$0 = false;
375
375
  break l$ret$1;
376
376
  }
@@ -384,17 +384,17 @@
384
384
  }
385
385
  tmp_1 = destination;
386
386
  } else {
387
- tmp_1 = this.s7n_1;
387
+ tmp_1 = this.x7m_1;
388
388
  }
389
389
 
390
- tmp_0.x7n_1 = tmp_1;
390
+ tmp_0.c7n_1 = tmp_1;
391
391
  var tmp_3 = this;
392
- var tmp0_elvis_lhs = this.v7n_1.y65_1.b4z(HttpHeaders_getInstance().f59_1);
393
- tmp_3.y7n_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
394
- var _iterator__ex2g4s_1 = this.x7n_1.p();
392
+ var tmp0_elvis_lhs = this.a7n_1.d65_1.g4y(HttpHeaders_getInstance().k58_1);
393
+ tmp_3.d7n_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
394
+ var _iterator__ex2g4s_1 = this.c7n_1.p();
395
395
  while (_iterator__ex2g4s_1.q()) {
396
396
  var element_1 = _iterator__ex2g4s_1.r();
397
- var tmp0_0 = this.y7n_1;
397
+ var tmp0_0 = this.d7n_1;
398
398
  var tmp$ret$2;
399
399
  l$ret$3: do {
400
400
  var tmp_4;
@@ -410,7 +410,7 @@
410
410
  var _iterator__ex2g4s_2 = tmp0_0.p();
411
411
  while (_iterator__ex2g4s_2.q()) {
412
412
  var element_2 = _iterator__ex2g4s_2.r();
413
- if (Companion_getInstance().dt(element_2).b59(element_1.c7n_1)) {
413
+ if (Companion_getInstance().dt(element_2).g58(element_1.h7m_1)) {
414
414
  tmp$ret$2 = false;
415
415
  break l$ret$3;
416
416
  }
@@ -419,19 +419,19 @@
419
419
  }
420
420
  while (false);
421
421
  if (tmp$ret$2) {
422
- var qValue = this.t7n_1.w6e_1.i7n_1;
423
- var contentTypeToSend = qValue == null ? element_1.c7n_1 : element_1.c7n_1.z58('q', qValue.toString());
424
- get_LOGGER().h56('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.v7n_1.w65_1.toString());
425
- accept(this.v7n_1, contentTypeToSend);
422
+ var qValue = this.y7m_1.b6e_1.n7m_1;
423
+ var contentTypeToSend = qValue == null ? element_1.h7m_1 : element_1.h7m_1.e58('q', qValue.toString());
424
+ get_LOGGER().m55('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.a7n_1.b65_1.toString());
425
+ accept(this.a7n_1, contentTypeToSend);
426
426
  }
427
427
  }
428
428
 
429
429
  var tmp_5;
430
- var tmp_6 = this.w7n_1;
430
+ var tmp_6 = this.b7n_1;
431
431
  if (tmp_6 instanceof OutgoingContent) {
432
432
  tmp_5 = true;
433
433
  } else {
434
- var tmp0_1 = this.u7n_1;
434
+ var tmp0_1 = this.z7m_1;
435
435
  var tmp$ret$4;
436
436
  l$ret$5: do {
437
437
  var tmp_7;
@@ -447,7 +447,7 @@
447
447
  var _iterator__ex2g4s_3 = tmp0_1.p();
448
448
  while (_iterator__ex2g4s_3.q()) {
449
449
  var element_3 = _iterator__ex2g4s_3.r();
450
- if (element_3.ac(this.w7n_1)) {
450
+ if (element_3.ac(this.b7n_1)) {
451
451
  tmp$ret$4 = true;
452
452
  break l$ret$5;
453
453
  }
@@ -459,36 +459,36 @@
459
459
  }
460
460
 
461
461
  if (tmp_5) {
462
- get_LOGGER().h56('Body type ' + toString(getKClassFromExpression(this.w7n_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.v7n_1.w65_1.toString() + '.'));
462
+ get_LOGGER().m55('Body type ' + toString(getKClassFromExpression(this.b7n_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.a7n_1.b65_1.toString() + '.'));
463
463
  return null;
464
464
  }
465
465
 
466
466
  var tmp_8 = this;
467
- var tmp0_elvis_lhs_0 = contentType_0(this.v7n_1);
467
+ var tmp0_elvis_lhs_0 = contentType_0(this.a7n_1);
468
468
  var tmp_9;
469
469
  if (tmp0_elvis_lhs_0 == null) {
470
- this.t7n_1;
471
- get_LOGGER().h56("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.v7n_1.w65_1.toString() + '.');
470
+ this.y7m_1;
471
+ get_LOGGER().m55("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.a7n_1.b65_1.toString() + '.');
472
472
  return null;
473
473
  } else {
474
474
  tmp_9 = tmp0_elvis_lhs_0;
475
475
  }
476
476
 
477
- tmp_8.z7n_1 = tmp_9;
478
- var tmp_10 = this.w7n_1;
477
+ tmp_8.e7n_1 = tmp_9;
478
+ var tmp_10 = this.b7n_1;
479
479
  if (tmp_10 instanceof Unit) {
480
- get_LOGGER().h56('Sending empty body for ' + this.v7n_1.w65_1.toString());
481
- this.v7n_1.y65_1.q4z(HttpHeaders_getInstance().x59_1);
480
+ get_LOGGER().m55('Sending empty body for ' + this.a7n_1.b65_1.toString());
481
+ this.a7n_1.d65_1.v4y(HttpHeaders_getInstance().c59_1);
482
482
  return EmptyContent_getInstance();
483
483
  }
484
484
 
485
485
  var tmp_11 = this;
486
- var tmp0_2 = this.s7n_1;
486
+ var tmp0_2 = this.x7m_1;
487
487
  var destination_0 = ArrayList_init_$Create$();
488
488
  var _iterator__ex2g4s_4 = tmp0_2.p();
489
489
  while (_iterator__ex2g4s_4.q()) {
490
490
  var element_4 = _iterator__ex2g4s_4.r();
491
- if (element_4.d7n_1.f7n(this.z7n_1)) {
491
+ if (element_4.i7m_1.k7m(this.e7n_1)) {
492
492
  destination_0.h(element_4);
493
493
  }
494
494
  }
@@ -503,44 +503,44 @@
503
503
  var tmp1_elvis_lhs = tmp_12;
504
504
  var tmp_13;
505
505
  if (tmp1_elvis_lhs == null) {
506
- this.t7n_1;
507
- get_LOGGER().h56('None of the registered converters match request Content-Type=' + this.z7n_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.v7n_1.w65_1.toString() + '.'));
506
+ this.y7m_1;
507
+ get_LOGGER().m55('None of the registered converters match request Content-Type=' + this.e7n_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.a7n_1.b65_1.toString() + '.'));
508
508
  return null;
509
509
  } else {
510
510
  tmp_13 = tmp1_elvis_lhs;
511
511
  }
512
512
 
513
- tmp_11.a7o_1 = tmp_13;
514
- if (this.v7n_1.f6z() == null) {
515
- get_LOGGER().h56('Request has unknown body type. Skipping ContentNegotiation for ' + this.v7n_1.w65_1.toString() + '.');
513
+ tmp_11.f7n_1 = tmp_13;
514
+ if (this.a7n_1.k6y() == null) {
515
+ get_LOGGER().m55('Request has unknown body type. Skipping ContentNegotiation for ' + this.a7n_1.b65_1.toString() + '.');
516
516
  return null;
517
517
  }
518
518
 
519
- this.v7n_1.y65_1.q4z(HttpHeaders_getInstance().x59_1);
519
+ this.a7n_1.d65_1.v4y(HttpHeaders_getInstance().c59_1);
520
520
  var tmp_14 = this;
521
- tmp_14.b7o_1 = this.a7o_1;
521
+ tmp_14.g7n_1 = this.f7n_1;
522
522
  this.x9_1 = 1;
523
523
  continue $sm;
524
524
  case 1:
525
- this.d7o_1 = this.b7o_1;
526
- this.e7o_1 = this.d7o_1.p();
525
+ this.i7n_1 = this.g7n_1;
526
+ this.j7n_1 = this.i7n_1.p();
527
527
  this.x9_1 = 2;
528
528
  continue $sm;
529
529
  case 2:
530
- if (!this.e7o_1.q()) {
530
+ if (!this.j7n_1.q()) {
531
531
  this.x9_1 = 5;
532
532
  continue $sm;
533
533
  }
534
534
 
535
- this.f7o_1 = this.e7o_1.r();
535
+ this.k7n_1 = this.j7n_1.r();
536
536
  var tmp_15 = this;
537
- tmp_15.g7o_1 = this.f7o_1;
538
- this.h7o_1 = this.g7o_1;
537
+ tmp_15.l7n_1 = this.k7n_1;
538
+ this.m7n_1 = this.l7n_1;
539
539
  this.x9_1 = 3;
540
- var tmp0_elvis_lhs_1 = charset(this.z7n_1);
541
- var tmp_16 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().q4i_1 : tmp0_elvis_lhs_1;
542
- var tmp_17 = ensureNotNull(this.v7n_1.f6z());
543
- var this_0 = this.w7n_1;
540
+ var tmp0_elvis_lhs_1 = charset(this.e7n_1);
541
+ var tmp_16 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().v4h_1 : tmp0_elvis_lhs_1;
542
+ var tmp_17 = ensureNotNull(this.a7n_1.k6y());
543
+ var this_0 = this.b7n_1;
544
544
  var tmp_18;
545
545
  if (!equals(this_0, NullBody_instance)) {
546
546
  tmp_18 = this_0;
@@ -548,7 +548,7 @@
548
548
  tmp_18 = null;
549
549
  }
550
550
 
551
- suspendResult = this.h7o_1.b7n_1.h7q(this.z7n_1, tmp_16, tmp_17, tmp_18, this);
551
+ suspendResult = this.m7n_1.g7m_1.m7p(this.e7n_1, tmp_16, tmp_17, tmp_18, this);
552
552
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
553
553
  return suspendResult;
554
554
  }
@@ -557,12 +557,12 @@
557
557
  case 3:
558
558
  var result = suspendResult;
559
559
  if (!(result == null)) {
560
- get_LOGGER().h56('Converted request body using ' + toString(this.h7o_1.b7n_1) + ' for ' + this.v7n_1.w65_1.toString());
560
+ get_LOGGER().m55('Converted request body using ' + toString(this.m7n_1.g7m_1) + ' for ' + this.a7n_1.b65_1.toString());
561
561
  }
562
562
 
563
563
  var result_0 = result;
564
564
  if (!(result_0 == null)) {
565
- this.c7o_1 = result_0;
565
+ this.h7n_1 = result_0;
566
566
  this.x9_1 = 6;
567
567
  continue $sm;
568
568
  } else {
@@ -574,7 +574,7 @@
574
574
  this.x9_1 = 2;
575
575
  continue $sm;
576
576
  case 5:
577
- this.c7o_1 = null;
577
+ this.h7n_1 = null;
578
578
  if (false) {
579
579
  this.x9_1 = 1;
580
580
  continue $sm;
@@ -583,11 +583,11 @@
583
583
  this.x9_1 = 6;
584
584
  continue $sm;
585
585
  case 6:
586
- var tmp2_elvis_lhs = this.c7o_1;
586
+ var tmp2_elvis_lhs = this.h7n_1;
587
587
  var tmp_19;
588
588
  if (tmp2_elvis_lhs == null) {
589
- var tmp_20 = "Can't convert " + toString(this.w7n_1) + ' with contentType ' + this.z7n_1.toString() + ' using converters ';
590
- throw new ContentConverterException(tmp_20 + joinToString(this.a7o_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
589
+ var tmp_20 = "Can't convert " + toString(this.b7n_1) + ' with contentType ' + this.e7n_1.toString() + ' using converters ';
590
+ throw new ContentConverterException(tmp_20 + joinToString(this.f7n_1, VOID, VOID, VOID, VOID, VOID, ContentNegotiation$lambda$convertRequest$lambda));
591
591
  } else {
592
592
  tmp_19 = tmp2_elvis_lhs;
593
593
  }
@@ -610,14 +610,14 @@
610
610
  };
611
611
  function $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, resultContinuation) {
612
612
  CoroutineImpl.call(this, resultContinuation);
613
- this.q7o_1 = ignoredTypes;
614
- this.r7o_1 = registrations;
615
- this.s7o_1 = $this_createClientPlugin;
616
- this.t7o_1 = requestUrl;
617
- this.u7o_1 = info;
618
- this.v7o_1 = body;
619
- this.w7o_1 = responseContentType;
620
- this.x7o_1 = charset;
613
+ this.v7n_1 = ignoredTypes;
614
+ this.w7n_1 = registrations;
615
+ this.x7n_1 = $this_createClientPlugin;
616
+ this.y7n_1 = requestUrl;
617
+ this.z7n_1 = info;
618
+ this.a7o_1 = body;
619
+ this.b7o_1 = responseContentType;
620
+ this.c7o_1 = charset;
621
621
  }
622
622
  protoOf($invoke$convertResponseCOROUTINE$).fa = function () {
623
623
  var suspendResult = this.z9_1;
@@ -627,24 +627,24 @@
627
627
  switch (tmp) {
628
628
  case 0:
629
629
  this.y9_1 = 2;
630
- var tmp_0 = this.v7o_1;
630
+ var tmp_0 = this.a7o_1;
631
631
  if (!isInterface(tmp_0, ByteReadChannel)) {
632
- get_LOGGER().h56('Response body is already transformed. Skipping ContentNegotiation for ' + this.t7o_1.toString() + '.');
632
+ get_LOGGER().m55('Response body is already transformed. Skipping ContentNegotiation for ' + this.y7n_1.toString() + '.');
633
633
  return null;
634
634
  }
635
635
 
636
- if (this.q7o_1.w(this.u7o_1.s55_1)) {
637
- get_LOGGER().h56('Response body type ' + toString(this.u7o_1.s55_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.t7o_1.toString() + '.'));
636
+ if (this.v7n_1.w(this.z7n_1.x54_1)) {
637
+ get_LOGGER().m55('Response body type ' + toString(this.z7n_1.x54_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.y7n_1.toString() + '.'));
638
638
  return null;
639
639
  }
640
640
 
641
641
  var tmp_1 = this;
642
- var tmp0 = this.r7o_1;
642
+ var tmp0 = this.w7n_1;
643
643
  var destination = ArrayList_init_$Create$();
644
644
  var _iterator__ex2g4s = tmp0.p();
645
645
  while (_iterator__ex2g4s.q()) {
646
646
  var element = _iterator__ex2g4s.r();
647
- if (element.d7n_1.f7n(this.w7o_1)) {
647
+ if (element.i7m_1.k7m(this.b7o_1)) {
648
648
  destination.h(element);
649
649
  }
650
650
  }
@@ -653,7 +653,7 @@
653
653
  var _iterator__ex2g4s_0 = destination.p();
654
654
  while (_iterator__ex2g4s_0.q()) {
655
655
  var item = _iterator__ex2g4s_0.r();
656
- destination_0.h(item.b7n_1);
656
+ destination_0.h(item.g7m_1);
657
657
  }
658
658
 
659
659
  var tmp_2;
@@ -666,16 +666,16 @@
666
666
  var tmp0_elvis_lhs = tmp_2;
667
667
  var tmp_3;
668
668
  if (tmp0_elvis_lhs == null) {
669
- this.s7o_1;
670
- get_LOGGER().h56('None of the registered converters match response with Content-Type=' + this.w7o_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.t7o_1.toString() + '.'));
669
+ this.x7n_1;
670
+ get_LOGGER().m55('None of the registered converters match response with Content-Type=' + this.b7o_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.y7n_1.toString() + '.'));
671
671
  return null;
672
672
  } else {
673
673
  tmp_3 = tmp0_elvis_lhs;
674
674
  }
675
675
 
676
- tmp_1.y7o_1 = tmp_3;
676
+ tmp_1.d7o_1 = tmp_3;
677
677
  this.x9_1 = 1;
678
- suspendResult = deserialize(this.y7o_1, this.v7o_1, this.u7o_1, this.x7o_1, this);
678
+ suspendResult = deserialize(this.d7o_1, this.a7o_1, this.z7n_1, this.c7o_1, this);
679
679
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
680
680
  return suspendResult;
681
681
  }
@@ -684,7 +684,7 @@
684
684
  case 1:
685
685
  var result = suspendResult;
686
686
  if (!isInterface(result, ByteReadChannel)) {
687
- get_LOGGER().h56('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.t7o_1.toString() + '.');
687
+ get_LOGGER().m55('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.y7n_1.toString() + '.');
688
688
  }
689
689
 
690
690
  return result;
@@ -735,12 +735,12 @@
735
735
  }
736
736
  function JsonContentTypeMatcher() {
737
737
  }
738
- protoOf(JsonContentTypeMatcher).f7n = function (contentType) {
739
- if (contentType.b59(Application_getInstance().h57_1)) {
738
+ protoOf(JsonContentTypeMatcher).k7m = function (contentType) {
739
+ if (contentType.g58(Application_getInstance().m56_1)) {
740
740
  return true;
741
741
  }
742
- var value = contentType.a59().toString();
743
- return Application_getInstance().b58(value) && endsWith(value, '+json', true);
742
+ var value = contentType.f58().toString();
743
+ return Application_getInstance().g57(value) && endsWith(value, '+json', true);
744
744
  };
745
745
  var JsonContentTypeMatcher_instance;
746
746
  function JsonContentTypeMatcher_getInstance() {
@@ -760,7 +760,7 @@
760
760
  }
761
761
  }
762
762
  //region block: post-declaration
763
- protoOf(ContentNegotiationConfig).a61 = register$default;
763
+ protoOf(ContentNegotiationConfig).f60 = register$default;
764
764
  //endregion
765
765
  //region block: init
766
766
  JsonContentTypeMatcher_instance = new JsonContentTypeMatcher();