client_plugin_logic_deb 1.8.431 → 1.8.432
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.
- package/Kosi-Kaverit-kaverit.js +58 -58
- package/Kosi-Kodein-kodein-di.js +523 -523
- package/Kotlin-DateTime-library-kotlinx-datetime.js +152 -152
- package/Logic_Debertz-ai_module.js +235 -235
- package/Logic_Debertz-client_plugin.d.ts +1 -0
- package/Logic_Debertz-client_plugin.js +1231 -1231
- package/Logic_Debertz-core.js +682 -682
- package/Logic_Debertz-engine.js +4991 -4973
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +3124 -3124
- package/Logic_Debertz-game_server.js +328 -328
- package/kotlin-kotlin-stdlib.js +550 -544
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +13 -13
- package/kotlinx-coroutines-core.js +2489 -2489
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +314 -314
- package/kotlinx-serialization-kotlinx-serialization-core.js +1739 -1739
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1316 -1316
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1442 -1442
- package/ktor-ktor-client-logging.js +265 -265
- package/ktor-ktor-events.js +6 -6
- package/ktor-ktor-http.js +590 -590
- package/ktor-ktor-io.js +1241 -1241
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +132 -132
- package/ktor-ktor-serialization.js +61 -61
- package/ktor-ktor-utils.js +483 -483
- package/ktor-ktor-websockets.js +42 -42
- package/package.json +1 -1
- package/random-library-crypto-rand.js +1 -1
- package/random-library-secure-random.js +2 -2
- package/raspberry-cardgame-lib-core.js +7 -7
- package/raspberry-cardgame-lib-logger.js +90 -90
- package/raspberry-cardgame-lib-random.js +794 -794
- package/raspberry-cardgame-lib-random.js.map +1 -1
- package/uuid.js +12 -12
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
}
|
|
174
174
|
function OpenAIApiImpl$chatCompletion$lambda(this$0) {
|
|
175
175
|
return function ($this$headers) {
|
|
176
|
-
$this$headers.
|
|
176
|
+
$this$headers.b3d(HttpHeaders_getInstance().b3j_1, 'Bearer ' + this$0.p6w_1.i6w_1);
|
|
177
177
|
return Unit_instance;
|
|
178
178
|
};
|
|
179
179
|
}
|
|
@@ -197,9 +197,9 @@
|
|
|
197
197
|
var this_0 = new HttpRequestBuilder();
|
|
198
198
|
url(this_0, urlString);
|
|
199
199
|
headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.z6w_1));
|
|
200
|
-
contentType(this_0, Application_getInstance().
|
|
200
|
+
contentType(this_0, Application_getInstance().h3h_1);
|
|
201
201
|
if (request == null) {
|
|
202
|
-
this_0.
|
|
202
|
+
this_0.u3v_1 = NullBody_instance;
|
|
203
203
|
var tmp_0 = JsType_instance;
|
|
204
204
|
var tmp_1 = getKClass(OpenAIRequest);
|
|
205
205
|
var tmp_2;
|
|
@@ -215,13 +215,13 @@
|
|
|
215
215
|
}
|
|
216
216
|
tmp_2 = tmp_3;
|
|
217
217
|
}
|
|
218
|
-
this_0.
|
|
218
|
+
this_0.h41(typeInfoImpl(tmp_0, tmp_1, tmp_2));
|
|
219
219
|
} else {
|
|
220
220
|
if (request instanceof OutgoingContent) {
|
|
221
|
-
this_0.
|
|
222
|
-
this_0.
|
|
221
|
+
this_0.u3v_1 = request;
|
|
222
|
+
this_0.h41(null);
|
|
223
223
|
} else {
|
|
224
|
-
this_0.
|
|
224
|
+
this_0.u3v_1 = request;
|
|
225
225
|
var tmp_4 = JsType_instance;
|
|
226
226
|
var tmp_5 = getKClass(OpenAIRequest);
|
|
227
227
|
var tmp_6;
|
|
@@ -237,13 +237,13 @@
|
|
|
237
237
|
}
|
|
238
238
|
tmp_6 = tmp_7;
|
|
239
239
|
}
|
|
240
|
-
this_0.
|
|
240
|
+
this_0.h41(typeInfoImpl(tmp_4, tmp_5, tmp_6));
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
this_0.
|
|
244
|
+
this_0.s3v_1 = Companion_getInstance().y3m_1;
|
|
245
245
|
this.s8_1 = 1;
|
|
246
|
-
suspendResult = (new HttpStatement(this_0, tmp0)).
|
|
246
|
+
suspendResult = (new HttpStatement(this_0, tmp0)).i4m(this);
|
|
247
247
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
248
248
|
return suspendResult;
|
|
249
249
|
}
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
var tmp_8 = this;
|
|
255
255
|
tmp_8.c6x_1 = Companion_instance;
|
|
256
256
|
this.s8_1 = 2;
|
|
257
|
-
var tmp_9 = response.
|
|
257
|
+
var tmp_9 = response.w3y();
|
|
258
258
|
var tmp_10 = JsType_instance;
|
|
259
259
|
var tmp_11 = getKClass(OpenAIResponse);
|
|
260
260
|
var tmp_12;
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
tmp_12 = tmp_13;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
suspendResult = tmp_9.
|
|
274
|
+
suspendResult = tmp_9.a3y(typeInfoImpl(tmp_10, tmp_11, tmp_12), this);
|
|
275
275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
276
276
|
return suspendResult;
|
|
277
277
|
}
|
|
@@ -354,7 +354,7 @@
|
|
|
354
354
|
return true;
|
|
355
355
|
};
|
|
356
356
|
function cleanExpired($this) {
|
|
357
|
-
var now = System_instance.
|
|
357
|
+
var now = System_instance.dk().rk();
|
|
358
358
|
var tmp = $this.i6x_1.v();
|
|
359
359
|
removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
|
|
360
360
|
}
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
375
375
|
tmp.i6x_1 = LinkedHashMap_init_$Create$();
|
|
376
376
|
}
|
|
377
|
-
protoOf(InMemoryBotChatCache).
|
|
377
|
+
protoOf(InMemoryBotChatCache).o3b = function (key) {
|
|
378
378
|
cleanExpired(this);
|
|
379
379
|
var tmp0_elvis_lhs = this.i6x_1.c2(key);
|
|
380
380
|
var tmp;
|
|
@@ -384,7 +384,7 @@
|
|
|
384
384
|
tmp = tmp0_elvis_lhs;
|
|
385
385
|
}
|
|
386
386
|
var entry = tmp;
|
|
387
|
-
if (compare(subtract(System_instance.
|
|
387
|
+
if (compare(subtract(System_instance.dk().rk(), entry.f6x_1), this.g6x_1) > 0) {
|
|
388
388
|
this.i6x_1.n2(key);
|
|
389
389
|
return null;
|
|
390
390
|
}
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
}
|
|
432
432
|
var tmp0_0 = this.i6x_1;
|
|
433
433
|
// Inline function 'kotlin.collections.set' call
|
|
434
|
-
var value_0 = new CacheEntry(value, System_instance.
|
|
434
|
+
var value_0 = new CacheEntry(value, System_instance.dk().rk());
|
|
435
435
|
tmp0_0.m2(key, value_0);
|
|
436
436
|
};
|
|
437
437
|
function BotChatConfig() {
|
|
@@ -473,30 +473,30 @@
|
|
|
473
473
|
function $serializer() {
|
|
474
474
|
$serializer_instance = this;
|
|
475
475
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.BotChatContext', this, 4);
|
|
476
|
-
tmp0_serialDesc.
|
|
477
|
-
tmp0_serialDesc.
|
|
478
|
-
tmp0_serialDesc.
|
|
479
|
-
tmp0_serialDesc.
|
|
476
|
+
tmp0_serialDesc.hz('botPersonality', false);
|
|
477
|
+
tmp0_serialDesc.hz('gameState', false);
|
|
478
|
+
tmp0_serialDesc.hz('conversationHistory', true);
|
|
479
|
+
tmp0_serialDesc.hz('playerName', true);
|
|
480
480
|
this.q6x_1 = tmp0_serialDesc;
|
|
481
481
|
}
|
|
482
482
|
protoOf($serializer).r6x = function (encoder, value) {
|
|
483
483
|
var tmp0_desc = this.q6x_1;
|
|
484
|
-
var tmp1_output = encoder.
|
|
484
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
485
485
|
var tmp2_cached = Companion_getInstance_1().p6x_1;
|
|
486
|
-
tmp1_output.
|
|
487
|
-
tmp1_output.
|
|
488
|
-
if (tmp1_output.
|
|
489
|
-
tmp1_output.
|
|
486
|
+
tmp1_output.et(tmp0_desc, 0, value.s6x_1);
|
|
487
|
+
tmp1_output.et(tmp0_desc, 1, value.t6x_1);
|
|
488
|
+
if (tmp1_output.mt(tmp0_desc, 2) ? true : !equals(value.u6x_1, emptyList())) {
|
|
489
|
+
tmp1_output.gt(tmp0_desc, 2, tmp2_cached[2].x(), value.u6x_1);
|
|
490
490
|
}
|
|
491
|
-
if (tmp1_output.
|
|
492
|
-
tmp1_output.
|
|
491
|
+
if (tmp1_output.mt(tmp0_desc, 3) ? true : !(value.v6x_1 == null)) {
|
|
492
|
+
tmp1_output.it(tmp0_desc, 3, StringSerializer_getInstance(), value.v6x_1);
|
|
493
493
|
}
|
|
494
|
-
tmp1_output.
|
|
494
|
+
tmp1_output.qr(tmp0_desc);
|
|
495
495
|
};
|
|
496
|
-
protoOf($serializer).
|
|
496
|
+
protoOf($serializer).do = function (encoder, value) {
|
|
497
497
|
return this.r6x(encoder, value instanceof BotChatContext ? value : THROW_CCE());
|
|
498
498
|
};
|
|
499
|
-
protoOf($serializer).
|
|
499
|
+
protoOf($serializer).eo = function (decoder) {
|
|
500
500
|
var tmp0_desc = this.q6x_1;
|
|
501
501
|
var tmp1_flag = true;
|
|
502
502
|
var tmp2_index = 0;
|
|
@@ -505,51 +505,51 @@
|
|
|
505
505
|
var tmp5_local1 = null;
|
|
506
506
|
var tmp6_local2 = null;
|
|
507
507
|
var tmp7_local3 = null;
|
|
508
|
-
var tmp8_input = decoder.
|
|
508
|
+
var tmp8_input = decoder.pr(tmp0_desc);
|
|
509
509
|
var tmp9_cached = Companion_getInstance_1().p6x_1;
|
|
510
|
-
if (tmp8_input.
|
|
511
|
-
tmp4_local0 = tmp8_input.
|
|
510
|
+
if (tmp8_input.fs()) {
|
|
511
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
512
512
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
513
|
-
tmp5_local1 = tmp8_input.
|
|
513
|
+
tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
|
|
514
514
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
515
|
-
tmp6_local2 = tmp8_input.
|
|
515
|
+
tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, tmp9_cached[2].x(), tmp6_local2);
|
|
516
516
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
517
|
-
tmp7_local3 = tmp8_input.
|
|
517
|
+
tmp7_local3 = tmp8_input.ds(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
518
518
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
519
519
|
} else
|
|
520
520
|
while (tmp1_flag) {
|
|
521
|
-
tmp2_index = tmp8_input.
|
|
521
|
+
tmp2_index = tmp8_input.gs(tmp0_desc);
|
|
522
522
|
switch (tmp2_index) {
|
|
523
523
|
case -1:
|
|
524
524
|
tmp1_flag = false;
|
|
525
525
|
break;
|
|
526
526
|
case 0:
|
|
527
|
-
tmp4_local0 = tmp8_input.
|
|
527
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
528
528
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
529
529
|
break;
|
|
530
530
|
case 1:
|
|
531
|
-
tmp5_local1 = tmp8_input.
|
|
531
|
+
tmp5_local1 = tmp8_input.zr(tmp0_desc, 1);
|
|
532
532
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
533
533
|
break;
|
|
534
534
|
case 2:
|
|
535
|
-
tmp6_local2 = tmp8_input.
|
|
535
|
+
tmp6_local2 = tmp8_input.bs(tmp0_desc, 2, tmp9_cached[2].x(), tmp6_local2);
|
|
536
536
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
537
537
|
break;
|
|
538
538
|
case 3:
|
|
539
|
-
tmp7_local3 = tmp8_input.
|
|
539
|
+
tmp7_local3 = tmp8_input.ds(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
540
540
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
541
541
|
break;
|
|
542
542
|
default:
|
|
543
543
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
tmp8_input.
|
|
546
|
+
tmp8_input.qr(tmp0_desc);
|
|
547
547
|
return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
548
548
|
};
|
|
549
|
-
protoOf($serializer).
|
|
549
|
+
protoOf($serializer).co = function () {
|
|
550
550
|
return this.q6x_1;
|
|
551
551
|
};
|
|
552
|
-
protoOf($serializer).
|
|
552
|
+
protoOf($serializer).wz = function () {
|
|
553
553
|
var tmp0_cached = Companion_getInstance_1().p6x_1;
|
|
554
554
|
// Inline function 'kotlin.arrayOf' call
|
|
555
555
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -642,11 +642,11 @@
|
|
|
642
642
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
643
643
|
tmp.w6x_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
|
|
644
644
|
}
|
|
645
|
-
protoOf(Companion_0).
|
|
645
|
+
protoOf(Companion_0).r4t = function () {
|
|
646
646
|
return _get_$cachedSerializer__te6jhj(this);
|
|
647
647
|
};
|
|
648
|
-
protoOf(Companion_0).
|
|
649
|
-
return this.
|
|
648
|
+
protoOf(Companion_0).h10 = function (typeParamsSerializers) {
|
|
649
|
+
return this.r4t();
|
|
650
650
|
};
|
|
651
651
|
var Companion_instance_2;
|
|
652
652
|
function Companion_getInstance_2() {
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
Companion_getInstance_2();
|
|
667
667
|
}
|
|
668
668
|
function ChatMessage$Companion$$childSerializers$_anonymous__qywqat() {
|
|
669
|
-
return Companion_getInstance_2().
|
|
669
|
+
return Companion_getInstance_2().r4t();
|
|
670
670
|
}
|
|
671
671
|
function Role(name, ordinal) {
|
|
672
672
|
Enum.call(this, name, ordinal);
|
|
@@ -698,61 +698,61 @@
|
|
|
698
698
|
function $serializer_0() {
|
|
699
699
|
$serializer_instance_0 = this;
|
|
700
700
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
|
|
701
|
-
tmp0_serialDesc.
|
|
702
|
-
tmp0_serialDesc.
|
|
701
|
+
tmp0_serialDesc.hz('role', false);
|
|
702
|
+
tmp0_serialDesc.hz('content', false);
|
|
703
703
|
this.b6y_1 = tmp0_serialDesc;
|
|
704
704
|
}
|
|
705
705
|
protoOf($serializer_0).c6y = function (encoder, value) {
|
|
706
706
|
var tmp0_desc = this.b6y_1;
|
|
707
|
-
var tmp1_output = encoder.
|
|
707
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
708
708
|
var tmp2_cached = Companion_getInstance_3().x6x_1;
|
|
709
|
-
tmp1_output.
|
|
710
|
-
tmp1_output.
|
|
711
|
-
tmp1_output.
|
|
709
|
+
tmp1_output.gt(tmp0_desc, 0, tmp2_cached[0].x(), value.d6y_1);
|
|
710
|
+
tmp1_output.et(tmp0_desc, 1, value.e6y_1);
|
|
711
|
+
tmp1_output.qr(tmp0_desc);
|
|
712
712
|
};
|
|
713
|
-
protoOf($serializer_0).
|
|
713
|
+
protoOf($serializer_0).do = function (encoder, value) {
|
|
714
714
|
return this.c6y(encoder, value instanceof ChatMessage ? value : THROW_CCE());
|
|
715
715
|
};
|
|
716
|
-
protoOf($serializer_0).
|
|
716
|
+
protoOf($serializer_0).eo = function (decoder) {
|
|
717
717
|
var tmp0_desc = this.b6y_1;
|
|
718
718
|
var tmp1_flag = true;
|
|
719
719
|
var tmp2_index = 0;
|
|
720
720
|
var tmp3_bitMask0 = 0;
|
|
721
721
|
var tmp4_local0 = null;
|
|
722
722
|
var tmp5_local1 = null;
|
|
723
|
-
var tmp6_input = decoder.
|
|
723
|
+
var tmp6_input = decoder.pr(tmp0_desc);
|
|
724
724
|
var tmp7_cached = Companion_getInstance_3().x6x_1;
|
|
725
|
-
if (tmp6_input.
|
|
726
|
-
tmp4_local0 = tmp6_input.
|
|
725
|
+
if (tmp6_input.fs()) {
|
|
726
|
+
tmp4_local0 = tmp6_input.bs(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
|
|
727
727
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
728
|
-
tmp5_local1 = tmp6_input.
|
|
728
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
729
729
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
730
730
|
} else
|
|
731
731
|
while (tmp1_flag) {
|
|
732
|
-
tmp2_index = tmp6_input.
|
|
732
|
+
tmp2_index = tmp6_input.gs(tmp0_desc);
|
|
733
733
|
switch (tmp2_index) {
|
|
734
734
|
case -1:
|
|
735
735
|
tmp1_flag = false;
|
|
736
736
|
break;
|
|
737
737
|
case 0:
|
|
738
|
-
tmp4_local0 = tmp6_input.
|
|
738
|
+
tmp4_local0 = tmp6_input.bs(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
|
|
739
739
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
740
740
|
break;
|
|
741
741
|
case 1:
|
|
742
|
-
tmp5_local1 = tmp6_input.
|
|
742
|
+
tmp5_local1 = tmp6_input.zr(tmp0_desc, 1);
|
|
743
743
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
744
744
|
break;
|
|
745
745
|
default:
|
|
746
746
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
|
-
tmp6_input.
|
|
749
|
+
tmp6_input.qr(tmp0_desc);
|
|
750
750
|
return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
751
751
|
};
|
|
752
|
-
protoOf($serializer_0).
|
|
752
|
+
protoOf($serializer_0).co = function () {
|
|
753
753
|
return this.b6y_1;
|
|
754
754
|
};
|
|
755
|
-
protoOf($serializer_0).
|
|
755
|
+
protoOf($serializer_0).wz = function () {
|
|
756
756
|
// Inline function 'kotlin.arrayOf' call
|
|
757
757
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
758
758
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -881,26 +881,26 @@
|
|
|
881
881
|
function $serializer_1() {
|
|
882
882
|
$serializer_instance_1 = this;
|
|
883
883
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIRequest', this, 4);
|
|
884
|
-
tmp0_serialDesc.
|
|
885
|
-
tmp0_serialDesc.
|
|
886
|
-
tmp0_serialDesc.
|
|
887
|
-
tmp0_serialDesc.
|
|
884
|
+
tmp0_serialDesc.hz('model', false);
|
|
885
|
+
tmp0_serialDesc.hz('messages', false);
|
|
886
|
+
tmp0_serialDesc.hz('temperature', false);
|
|
887
|
+
tmp0_serialDesc.hz('max_tokens', false);
|
|
888
888
|
this.g6y_1 = tmp0_serialDesc;
|
|
889
889
|
}
|
|
890
890
|
protoOf($serializer_1).h6y = function (encoder, value) {
|
|
891
891
|
var tmp0_desc = this.g6y_1;
|
|
892
|
-
var tmp1_output = encoder.
|
|
892
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
893
893
|
var tmp2_cached = Companion_getInstance_4().f6y_1;
|
|
894
|
-
tmp1_output.
|
|
895
|
-
tmp1_output.
|
|
896
|
-
tmp1_output.
|
|
897
|
-
tmp1_output.
|
|
898
|
-
tmp1_output.
|
|
894
|
+
tmp1_output.et(tmp0_desc, 0, value.i6y_1);
|
|
895
|
+
tmp1_output.gt(tmp0_desc, 1, tmp2_cached[1].x(), value.j6y_1);
|
|
896
|
+
tmp1_output.ct(tmp0_desc, 2, value.k6y_1);
|
|
897
|
+
tmp1_output.zs(tmp0_desc, 3, value.l6y_1);
|
|
898
|
+
tmp1_output.qr(tmp0_desc);
|
|
899
899
|
};
|
|
900
|
-
protoOf($serializer_1).
|
|
900
|
+
protoOf($serializer_1).do = function (encoder, value) {
|
|
901
901
|
return this.h6y(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
|
|
902
902
|
};
|
|
903
|
-
protoOf($serializer_1).
|
|
903
|
+
protoOf($serializer_1).eo = function (decoder) {
|
|
904
904
|
var tmp0_desc = this.g6y_1;
|
|
905
905
|
var tmp1_flag = true;
|
|
906
906
|
var tmp2_index = 0;
|
|
@@ -909,51 +909,51 @@
|
|
|
909
909
|
var tmp5_local1 = null;
|
|
910
910
|
var tmp6_local2 = 0.0;
|
|
911
911
|
var tmp7_local3 = 0;
|
|
912
|
-
var tmp8_input = decoder.
|
|
912
|
+
var tmp8_input = decoder.pr(tmp0_desc);
|
|
913
913
|
var tmp9_cached = Companion_getInstance_4().f6y_1;
|
|
914
|
-
if (tmp8_input.
|
|
915
|
-
tmp4_local0 = tmp8_input.
|
|
914
|
+
if (tmp8_input.fs()) {
|
|
915
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
916
916
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
917
|
-
tmp5_local1 = tmp8_input.
|
|
917
|
+
tmp5_local1 = tmp8_input.bs(tmp0_desc, 1, tmp9_cached[1].x(), tmp5_local1);
|
|
918
918
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
919
|
-
tmp6_local2 = tmp8_input.
|
|
919
|
+
tmp6_local2 = tmp8_input.xr(tmp0_desc, 2);
|
|
920
920
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
921
|
-
tmp7_local3 = tmp8_input.
|
|
921
|
+
tmp7_local3 = tmp8_input.ur(tmp0_desc, 3);
|
|
922
922
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
923
923
|
} else
|
|
924
924
|
while (tmp1_flag) {
|
|
925
|
-
tmp2_index = tmp8_input.
|
|
925
|
+
tmp2_index = tmp8_input.gs(tmp0_desc);
|
|
926
926
|
switch (tmp2_index) {
|
|
927
927
|
case -1:
|
|
928
928
|
tmp1_flag = false;
|
|
929
929
|
break;
|
|
930
930
|
case 0:
|
|
931
|
-
tmp4_local0 = tmp8_input.
|
|
931
|
+
tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
|
|
932
932
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
933
933
|
break;
|
|
934
934
|
case 1:
|
|
935
|
-
tmp5_local1 = tmp8_input.
|
|
935
|
+
tmp5_local1 = tmp8_input.bs(tmp0_desc, 1, tmp9_cached[1].x(), tmp5_local1);
|
|
936
936
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
937
937
|
break;
|
|
938
938
|
case 2:
|
|
939
|
-
tmp6_local2 = tmp8_input.
|
|
939
|
+
tmp6_local2 = tmp8_input.xr(tmp0_desc, 2);
|
|
940
940
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
941
941
|
break;
|
|
942
942
|
case 3:
|
|
943
|
-
tmp7_local3 = tmp8_input.
|
|
943
|
+
tmp7_local3 = tmp8_input.ur(tmp0_desc, 3);
|
|
944
944
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
945
945
|
break;
|
|
946
946
|
default:
|
|
947
947
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
948
948
|
}
|
|
949
949
|
}
|
|
950
|
-
tmp8_input.
|
|
950
|
+
tmp8_input.qr(tmp0_desc);
|
|
951
951
|
return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
952
952
|
};
|
|
953
|
-
protoOf($serializer_1).
|
|
953
|
+
protoOf($serializer_1).co = function () {
|
|
954
954
|
return this.g6y_1;
|
|
955
955
|
};
|
|
956
|
-
protoOf($serializer_1).
|
|
956
|
+
protoOf($serializer_1).wz = function () {
|
|
957
957
|
var tmp0_cached = Companion_getInstance_4().f6y_1;
|
|
958
958
|
// Inline function 'kotlin.arrayOf' call
|
|
959
959
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -1014,25 +1014,25 @@
|
|
|
1014
1014
|
function $serializer_2() {
|
|
1015
1015
|
$serializer_instance_2 = this;
|
|
1016
1016
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Choice', this, 3);
|
|
1017
|
-
tmp0_serialDesc.
|
|
1018
|
-
tmp0_serialDesc.
|
|
1019
|
-
tmp0_serialDesc.
|
|
1017
|
+
tmp0_serialDesc.hz('index', false);
|
|
1018
|
+
tmp0_serialDesc.hz('message', false);
|
|
1019
|
+
tmp0_serialDesc.hz('finish_reason', true);
|
|
1020
1020
|
this.m6y_1 = tmp0_serialDesc;
|
|
1021
1021
|
}
|
|
1022
1022
|
protoOf($serializer_2).n6y = function (encoder, value) {
|
|
1023
1023
|
var tmp0_desc = this.m6y_1;
|
|
1024
|
-
var tmp1_output = encoder.
|
|
1025
|
-
tmp1_output.
|
|
1026
|
-
tmp1_output.
|
|
1027
|
-
if (tmp1_output.
|
|
1028
|
-
tmp1_output.
|
|
1024
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1025
|
+
tmp1_output.zs(tmp0_desc, 0, value.o6y_1);
|
|
1026
|
+
tmp1_output.gt(tmp0_desc, 1, $serializer_getInstance_0(), value.p6y_1);
|
|
1027
|
+
if (tmp1_output.mt(tmp0_desc, 2) ? true : !(value.q6y_1 == null)) {
|
|
1028
|
+
tmp1_output.it(tmp0_desc, 2, StringSerializer_getInstance(), value.q6y_1);
|
|
1029
1029
|
}
|
|
1030
|
-
tmp1_output.
|
|
1030
|
+
tmp1_output.qr(tmp0_desc);
|
|
1031
1031
|
};
|
|
1032
|
-
protoOf($serializer_2).
|
|
1032
|
+
protoOf($serializer_2).do = function (encoder, value) {
|
|
1033
1033
|
return this.n6y(encoder, value instanceof Choice ? value : THROW_CCE());
|
|
1034
1034
|
};
|
|
1035
|
-
protoOf($serializer_2).
|
|
1035
|
+
protoOf($serializer_2).eo = function (decoder) {
|
|
1036
1036
|
var tmp0_desc = this.m6y_1;
|
|
1037
1037
|
var tmp1_flag = true;
|
|
1038
1038
|
var tmp2_index = 0;
|
|
@@ -1040,44 +1040,44 @@
|
|
|
1040
1040
|
var tmp4_local0 = 0;
|
|
1041
1041
|
var tmp5_local1 = null;
|
|
1042
1042
|
var tmp6_local2 = null;
|
|
1043
|
-
var tmp7_input = decoder.
|
|
1044
|
-
if (tmp7_input.
|
|
1045
|
-
tmp4_local0 = tmp7_input.
|
|
1043
|
+
var tmp7_input = decoder.pr(tmp0_desc);
|
|
1044
|
+
if (tmp7_input.fs()) {
|
|
1045
|
+
tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
|
|
1046
1046
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1047
|
-
tmp5_local1 = tmp7_input.
|
|
1047
|
+
tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
1048
1048
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1049
|
-
tmp6_local2 = tmp7_input.
|
|
1049
|
+
tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1050
1050
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1051
1051
|
} else
|
|
1052
1052
|
while (tmp1_flag) {
|
|
1053
|
-
tmp2_index = tmp7_input.
|
|
1053
|
+
tmp2_index = tmp7_input.gs(tmp0_desc);
|
|
1054
1054
|
switch (tmp2_index) {
|
|
1055
1055
|
case -1:
|
|
1056
1056
|
tmp1_flag = false;
|
|
1057
1057
|
break;
|
|
1058
1058
|
case 0:
|
|
1059
|
-
tmp4_local0 = tmp7_input.
|
|
1059
|
+
tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
|
|
1060
1060
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1061
1061
|
break;
|
|
1062
1062
|
case 1:
|
|
1063
|
-
tmp5_local1 = tmp7_input.
|
|
1063
|
+
tmp5_local1 = tmp7_input.bs(tmp0_desc, 1, $serializer_getInstance_0(), tmp5_local1);
|
|
1064
1064
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1065
1065
|
break;
|
|
1066
1066
|
case 2:
|
|
1067
|
-
tmp6_local2 = tmp7_input.
|
|
1067
|
+
tmp6_local2 = tmp7_input.ds(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1068
1068
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1069
1069
|
break;
|
|
1070
1070
|
default:
|
|
1071
1071
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
|
-
tmp7_input.
|
|
1074
|
+
tmp7_input.qr(tmp0_desc);
|
|
1075
1075
|
return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1076
1076
|
};
|
|
1077
|
-
protoOf($serializer_2).
|
|
1077
|
+
protoOf($serializer_2).co = function () {
|
|
1078
1078
|
return this.m6y_1;
|
|
1079
1079
|
};
|
|
1080
|
-
protoOf($serializer_2).
|
|
1080
|
+
protoOf($serializer_2).wz = function () {
|
|
1081
1081
|
// Inline function 'kotlin.arrayOf' call
|
|
1082
1082
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1083
1083
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1107,23 +1107,23 @@
|
|
|
1107
1107
|
function $serializer_3() {
|
|
1108
1108
|
$serializer_instance_3 = this;
|
|
1109
1109
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Usage', this, 3);
|
|
1110
|
-
tmp0_serialDesc.
|
|
1111
|
-
tmp0_serialDesc.
|
|
1112
|
-
tmp0_serialDesc.
|
|
1110
|
+
tmp0_serialDesc.hz('prompt_tokens', false);
|
|
1111
|
+
tmp0_serialDesc.hz('completion_tokens', false);
|
|
1112
|
+
tmp0_serialDesc.hz('total_tokens', false);
|
|
1113
1113
|
this.r6y_1 = tmp0_serialDesc;
|
|
1114
1114
|
}
|
|
1115
1115
|
protoOf($serializer_3).s6y = function (encoder, value) {
|
|
1116
1116
|
var tmp0_desc = this.r6y_1;
|
|
1117
|
-
var tmp1_output = encoder.
|
|
1118
|
-
tmp1_output.
|
|
1119
|
-
tmp1_output.
|
|
1120
|
-
tmp1_output.
|
|
1121
|
-
tmp1_output.
|
|
1117
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1118
|
+
tmp1_output.zs(tmp0_desc, 0, value.t6y_1);
|
|
1119
|
+
tmp1_output.zs(tmp0_desc, 1, value.u6y_1);
|
|
1120
|
+
tmp1_output.zs(tmp0_desc, 2, value.v6y_1);
|
|
1121
|
+
tmp1_output.qr(tmp0_desc);
|
|
1122
1122
|
};
|
|
1123
|
-
protoOf($serializer_3).
|
|
1123
|
+
protoOf($serializer_3).do = function (encoder, value) {
|
|
1124
1124
|
return this.s6y(encoder, value instanceof Usage ? value : THROW_CCE());
|
|
1125
1125
|
};
|
|
1126
|
-
protoOf($serializer_3).
|
|
1126
|
+
protoOf($serializer_3).eo = function (decoder) {
|
|
1127
1127
|
var tmp0_desc = this.r6y_1;
|
|
1128
1128
|
var tmp1_flag = true;
|
|
1129
1129
|
var tmp2_index = 0;
|
|
@@ -1131,44 +1131,44 @@
|
|
|
1131
1131
|
var tmp4_local0 = 0;
|
|
1132
1132
|
var tmp5_local1 = 0;
|
|
1133
1133
|
var tmp6_local2 = 0;
|
|
1134
|
-
var tmp7_input = decoder.
|
|
1135
|
-
if (tmp7_input.
|
|
1136
|
-
tmp4_local0 = tmp7_input.
|
|
1134
|
+
var tmp7_input = decoder.pr(tmp0_desc);
|
|
1135
|
+
if (tmp7_input.fs()) {
|
|
1136
|
+
tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
|
|
1137
1137
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1138
|
-
tmp5_local1 = tmp7_input.
|
|
1138
|
+
tmp5_local1 = tmp7_input.ur(tmp0_desc, 1);
|
|
1139
1139
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1140
|
-
tmp6_local2 = tmp7_input.
|
|
1140
|
+
tmp6_local2 = tmp7_input.ur(tmp0_desc, 2);
|
|
1141
1141
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1142
1142
|
} else
|
|
1143
1143
|
while (tmp1_flag) {
|
|
1144
|
-
tmp2_index = tmp7_input.
|
|
1144
|
+
tmp2_index = tmp7_input.gs(tmp0_desc);
|
|
1145
1145
|
switch (tmp2_index) {
|
|
1146
1146
|
case -1:
|
|
1147
1147
|
tmp1_flag = false;
|
|
1148
1148
|
break;
|
|
1149
1149
|
case 0:
|
|
1150
|
-
tmp4_local0 = tmp7_input.
|
|
1150
|
+
tmp4_local0 = tmp7_input.ur(tmp0_desc, 0);
|
|
1151
1151
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1152
1152
|
break;
|
|
1153
1153
|
case 1:
|
|
1154
|
-
tmp5_local1 = tmp7_input.
|
|
1154
|
+
tmp5_local1 = tmp7_input.ur(tmp0_desc, 1);
|
|
1155
1155
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1156
1156
|
break;
|
|
1157
1157
|
case 2:
|
|
1158
|
-
tmp6_local2 = tmp7_input.
|
|
1158
|
+
tmp6_local2 = tmp7_input.ur(tmp0_desc, 2);
|
|
1159
1159
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1160
1160
|
break;
|
|
1161
1161
|
default:
|
|
1162
1162
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1163
1163
|
}
|
|
1164
1164
|
}
|
|
1165
|
-
tmp7_input.
|
|
1165
|
+
tmp7_input.qr(tmp0_desc);
|
|
1166
1166
|
return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1167
1167
|
};
|
|
1168
|
-
protoOf($serializer_3).
|
|
1168
|
+
protoOf($serializer_3).co = function () {
|
|
1169
1169
|
return this.r6y_1;
|
|
1170
1170
|
};
|
|
1171
|
-
protoOf($serializer_3).
|
|
1171
|
+
protoOf($serializer_3).wz = function () {
|
|
1172
1172
|
// Inline function 'kotlin.arrayOf' call
|
|
1173
1173
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1174
1174
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1261,32 +1261,32 @@
|
|
|
1261
1261
|
function $serializer_4() {
|
|
1262
1262
|
$serializer_instance_4 = this;
|
|
1263
1263
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse', this, 6);
|
|
1264
|
-
tmp0_serialDesc.
|
|
1265
|
-
tmp0_serialDesc.
|
|
1266
|
-
tmp0_serialDesc.
|
|
1267
|
-
tmp0_serialDesc.
|
|
1268
|
-
tmp0_serialDesc.
|
|
1269
|
-
tmp0_serialDesc.
|
|
1264
|
+
tmp0_serialDesc.hz('id', false);
|
|
1265
|
+
tmp0_serialDesc.hz('object', false);
|
|
1266
|
+
tmp0_serialDesc.hz('created', false);
|
|
1267
|
+
tmp0_serialDesc.hz('model', false);
|
|
1268
|
+
tmp0_serialDesc.hz('choices', false);
|
|
1269
|
+
tmp0_serialDesc.hz('usage', true);
|
|
1270
1270
|
this.x6y_1 = tmp0_serialDesc;
|
|
1271
1271
|
}
|
|
1272
1272
|
protoOf($serializer_4).y6y = function (encoder, value) {
|
|
1273
1273
|
var tmp0_desc = this.x6y_1;
|
|
1274
|
-
var tmp1_output = encoder.
|
|
1274
|
+
var tmp1_output = encoder.pr(tmp0_desc);
|
|
1275
1275
|
var tmp2_cached = Companion_getInstance_5().w6y_1;
|
|
1276
|
-
tmp1_output.
|
|
1277
|
-
tmp1_output.
|
|
1278
|
-
tmp1_output.
|
|
1279
|
-
tmp1_output.
|
|
1280
|
-
tmp1_output.
|
|
1281
|
-
if (tmp1_output.
|
|
1282
|
-
tmp1_output.
|
|
1276
|
+
tmp1_output.et(tmp0_desc, 0, value.z6y_1);
|
|
1277
|
+
tmp1_output.et(tmp0_desc, 1, value.a6z_1);
|
|
1278
|
+
tmp1_output.at(tmp0_desc, 2, value.b6z_1);
|
|
1279
|
+
tmp1_output.et(tmp0_desc, 3, value.c6z_1);
|
|
1280
|
+
tmp1_output.gt(tmp0_desc, 4, tmp2_cached[4].x(), value.d6z_1);
|
|
1281
|
+
if (tmp1_output.mt(tmp0_desc, 5) ? true : !(value.e6z_1 == null)) {
|
|
1282
|
+
tmp1_output.it(tmp0_desc, 5, $serializer_getInstance_3(), value.e6z_1);
|
|
1283
1283
|
}
|
|
1284
|
-
tmp1_output.
|
|
1284
|
+
tmp1_output.qr(tmp0_desc);
|
|
1285
1285
|
};
|
|
1286
|
-
protoOf($serializer_4).
|
|
1286
|
+
protoOf($serializer_4).do = function (encoder, value) {
|
|
1287
1287
|
return this.y6y(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
|
|
1288
1288
|
};
|
|
1289
|
-
protoOf($serializer_4).
|
|
1289
|
+
protoOf($serializer_4).eo = function (decoder) {
|
|
1290
1290
|
var tmp0_desc = this.x6y_1;
|
|
1291
1291
|
var tmp1_flag = true;
|
|
1292
1292
|
var tmp2_index = 0;
|
|
@@ -1297,63 +1297,63 @@
|
|
|
1297
1297
|
var tmp7_local3 = null;
|
|
1298
1298
|
var tmp8_local4 = null;
|
|
1299
1299
|
var tmp9_local5 = null;
|
|
1300
|
-
var tmp10_input = decoder.
|
|
1300
|
+
var tmp10_input = decoder.pr(tmp0_desc);
|
|
1301
1301
|
var tmp11_cached = Companion_getInstance_5().w6y_1;
|
|
1302
|
-
if (tmp10_input.
|
|
1303
|
-
tmp4_local0 = tmp10_input.
|
|
1302
|
+
if (tmp10_input.fs()) {
|
|
1303
|
+
tmp4_local0 = tmp10_input.zr(tmp0_desc, 0);
|
|
1304
1304
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1305
|
-
tmp5_local1 = tmp10_input.
|
|
1305
|
+
tmp5_local1 = tmp10_input.zr(tmp0_desc, 1);
|
|
1306
1306
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1307
|
-
tmp6_local2 = tmp10_input.
|
|
1307
|
+
tmp6_local2 = tmp10_input.vr(tmp0_desc, 2);
|
|
1308
1308
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1309
|
-
tmp7_local3 = tmp10_input.
|
|
1309
|
+
tmp7_local3 = tmp10_input.zr(tmp0_desc, 3);
|
|
1310
1310
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1311
|
-
tmp8_local4 = tmp10_input.
|
|
1311
|
+
tmp8_local4 = tmp10_input.bs(tmp0_desc, 4, tmp11_cached[4].x(), tmp8_local4);
|
|
1312
1312
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1313
|
-
tmp9_local5 = tmp10_input.
|
|
1313
|
+
tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
|
|
1314
1314
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1315
1315
|
} else
|
|
1316
1316
|
while (tmp1_flag) {
|
|
1317
|
-
tmp2_index = tmp10_input.
|
|
1317
|
+
tmp2_index = tmp10_input.gs(tmp0_desc);
|
|
1318
1318
|
switch (tmp2_index) {
|
|
1319
1319
|
case -1:
|
|
1320
1320
|
tmp1_flag = false;
|
|
1321
1321
|
break;
|
|
1322
1322
|
case 0:
|
|
1323
|
-
tmp4_local0 = tmp10_input.
|
|
1323
|
+
tmp4_local0 = tmp10_input.zr(tmp0_desc, 0);
|
|
1324
1324
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1325
1325
|
break;
|
|
1326
1326
|
case 1:
|
|
1327
|
-
tmp5_local1 = tmp10_input.
|
|
1327
|
+
tmp5_local1 = tmp10_input.zr(tmp0_desc, 1);
|
|
1328
1328
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1329
1329
|
break;
|
|
1330
1330
|
case 2:
|
|
1331
|
-
tmp6_local2 = tmp10_input.
|
|
1331
|
+
tmp6_local2 = tmp10_input.vr(tmp0_desc, 2);
|
|
1332
1332
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1333
1333
|
break;
|
|
1334
1334
|
case 3:
|
|
1335
|
-
tmp7_local3 = tmp10_input.
|
|
1335
|
+
tmp7_local3 = tmp10_input.zr(tmp0_desc, 3);
|
|
1336
1336
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1337
1337
|
break;
|
|
1338
1338
|
case 4:
|
|
1339
|
-
tmp8_local4 = tmp10_input.
|
|
1339
|
+
tmp8_local4 = tmp10_input.bs(tmp0_desc, 4, tmp11_cached[4].x(), tmp8_local4);
|
|
1340
1340
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1341
1341
|
break;
|
|
1342
1342
|
case 5:
|
|
1343
|
-
tmp9_local5 = tmp10_input.
|
|
1343
|
+
tmp9_local5 = tmp10_input.ds(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
|
|
1344
1344
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1345
1345
|
break;
|
|
1346
1346
|
default:
|
|
1347
1347
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
tmp10_input.
|
|
1350
|
+
tmp10_input.qr(tmp0_desc);
|
|
1351
1351
|
return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
1352
1352
|
};
|
|
1353
|
-
protoOf($serializer_4).
|
|
1353
|
+
protoOf($serializer_4).co = function () {
|
|
1354
1354
|
return this.x6y_1;
|
|
1355
1355
|
};
|
|
1356
|
-
protoOf($serializer_4).
|
|
1356
|
+
protoOf($serializer_4).wz = function () {
|
|
1357
1357
|
var tmp0_cached = Companion_getInstance_5().w6y_1;
|
|
1358
1358
|
// Inline function 'kotlin.arrayOf' call
|
|
1359
1359
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -1447,18 +1447,18 @@
|
|
|
1447
1447
|
this.s8_1 = 2;
|
|
1448
1448
|
continue $sm;
|
|
1449
1449
|
case 1:
|
|
1450
|
-
var unboxed = suspendResult.
|
|
1450
|
+
var unboxed = suspendResult.ul_1;
|
|
1451
1451
|
suspendResult = new Result(unboxed);
|
|
1452
1452
|
this.s8_1 = 2;
|
|
1453
1453
|
continue $sm;
|
|
1454
1454
|
case 2:
|
|
1455
|
-
var this_0 = suspendResult.
|
|
1455
|
+
var this_0 = suspendResult.ul_1;
|
|
1456
1456
|
var tmp_0;
|
|
1457
1457
|
if (_Result___get_isSuccess__impl__sndoy8(this_0)) {
|
|
1458
1458
|
var this_1 = new Result(this_0);
|
|
1459
1459
|
var tmp_1;
|
|
1460
1460
|
try {
|
|
1461
|
-
var $this$runCatching = this_1.
|
|
1461
|
+
var $this$runCatching = this_1.ul_1;
|
|
1462
1462
|
var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
|
|
1463
1463
|
var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
|
|
1464
1464
|
var tmp0_safe_receiver = firstOrNull(response.d6z_1);
|
|
@@ -1609,18 +1609,18 @@
|
|
|
1609
1609
|
this.s8_1 = 2;
|
|
1610
1610
|
continue $sm;
|
|
1611
1611
|
case 1:
|
|
1612
|
-
var unboxed = suspendResult.
|
|
1612
|
+
var unboxed = suspendResult.ul_1;
|
|
1613
1613
|
suspendResult = new Result(unboxed);
|
|
1614
1614
|
this.s8_1 = 2;
|
|
1615
1615
|
continue $sm;
|
|
1616
1616
|
case 2:
|
|
1617
|
-
var this_0 = suspendResult.
|
|
1617
|
+
var this_0 = suspendResult.ul_1;
|
|
1618
1618
|
var tmp_0;
|
|
1619
1619
|
if (_Result___get_isSuccess__impl__sndoy8(this_0)) {
|
|
1620
1620
|
var this_1 = new Result(this_0);
|
|
1621
1621
|
var tmp_1;
|
|
1622
1622
|
try {
|
|
1623
|
-
var $this$runCatching = this_1.
|
|
1623
|
+
var $this$runCatching = this_1.ul_1;
|
|
1624
1624
|
var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
|
|
1625
1625
|
var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
|
|
1626
1626
|
this.b70_1.e70_1.d6x(this.d70_1, content);
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
}
|
|
1662
1662
|
protoOf(BotChatRepositoryImpl).r6z = function (playerMessage, context, $completion) {
|
|
1663
1663
|
var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
|
|
1664
|
-
var tmp0_safe_receiver = this.e70_1.
|
|
1664
|
+
var tmp0_safe_receiver = this.e70_1.o3b(cacheKey);
|
|
1665
1665
|
if (tmp0_safe_receiver == null)
|
|
1666
1666
|
null;
|
|
1667
1667
|
else {
|
|
@@ -1678,7 +1678,7 @@
|
|
|
1678
1678
|
};
|
|
1679
1679
|
protoOf(BotChatRepositoryImpl).s6z = function (context, $completion) {
|
|
1680
1680
|
var cacheKey = buildCacheKey(this, 'random', null, context);
|
|
1681
|
-
var tmp0_safe_receiver = this.e70_1.
|
|
1681
|
+
var tmp0_safe_receiver = this.e70_1.o3b(cacheKey);
|
|
1682
1682
|
if (tmp0_safe_receiver == null)
|
|
1683
1683
|
null;
|
|
1684
1684
|
else {
|
|
@@ -1696,7 +1696,7 @@
|
|
|
1696
1696
|
function UserReportsResolverRepository() {
|
|
1697
1697
|
}
|
|
1698
1698
|
function UserReportsResolverRepositoryImpl$_init_$lambda_sckkav($this$Json) {
|
|
1699
|
-
$this$Json.
|
|
1699
|
+
$this$Json.z4r_1 = true;
|
|
1700
1700
|
return Unit_instance;
|
|
1701
1701
|
}
|
|
1702
1702
|
function UserReportsResolverRepositoryImpl(openAIApi, json) {
|
|
@@ -1723,18 +1723,18 @@
|
|
|
1723
1723
|
}
|
|
1724
1724
|
function aiModule$lambda$lambda_1($this$singleton) {
|
|
1725
1725
|
// Inline function 'org.kodein.di.instance' call
|
|
1726
|
-
var tmp = $this$singleton.
|
|
1726
|
+
var tmp = $this$singleton.v1c();
|
|
1727
1727
|
// Inline function 'org.kodein.type.generic' call
|
|
1728
1728
|
var tmp_0 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
|
|
1729
1729
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1730
|
-
var openAIConfig = tmp.
|
|
1730
|
+
var openAIConfig = tmp.u1c(tmp$ret$0, null);
|
|
1731
1731
|
return HttpClient(aiModule$lambda$lambda$lambda(openAIConfig));
|
|
1732
1732
|
}
|
|
1733
1733
|
function aiModule$lambda$lambda$lambda$lambda$lambda($openAIConfig) {
|
|
1734
1734
|
return function ($this$Json) {
|
|
1735
|
-
$this$Json.y4r_1 = true;
|
|
1736
1735
|
$this$Json.z4r_1 = true;
|
|
1737
|
-
$this$Json.a4s_1 =
|
|
1736
|
+
$this$Json.a4s_1 = true;
|
|
1737
|
+
$this$Json.b4s_1 = $openAIConfig.o6w_1;
|
|
1738
1738
|
return Unit_instance;
|
|
1739
1739
|
};
|
|
1740
1740
|
}
|
|
@@ -1746,57 +1746,57 @@
|
|
|
1746
1746
|
}
|
|
1747
1747
|
function aiModule$lambda$lambda$lambda$lambda_0($openAIConfig) {
|
|
1748
1748
|
return function ($this$install) {
|
|
1749
|
-
$this$install.
|
|
1750
|
-
$this$install.
|
|
1749
|
+
$this$install.b56(get_DEFAULT(Companion_instance_0));
|
|
1750
|
+
$this$install.a56_1 = $openAIConfig.o6w_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
|
|
1751
1751
|
return Unit_instance;
|
|
1752
1752
|
};
|
|
1753
1753
|
}
|
|
1754
1754
|
function aiModule$lambda$lambda$lambda($openAIConfig) {
|
|
1755
1755
|
return function ($this$HttpClient) {
|
|
1756
1756
|
var tmp = Plugin_getInstance();
|
|
1757
|
-
$this$HttpClient.
|
|
1757
|
+
$this$HttpClient.y3w(tmp, aiModule$lambda$lambda$lambda$lambda($openAIConfig));
|
|
1758
1758
|
var tmp_0 = Companion_getInstance_0();
|
|
1759
|
-
$this$HttpClient.
|
|
1759
|
+
$this$HttpClient.y3w(tmp_0, aiModule$lambda$lambda$lambda$lambda_0($openAIConfig));
|
|
1760
1760
|
return Unit_instance;
|
|
1761
1761
|
};
|
|
1762
1762
|
}
|
|
1763
1763
|
function aiModule$lambda$lambda_2($this$singleton) {
|
|
1764
1764
|
// Inline function 'org.kodein.di.instance' call
|
|
1765
|
-
var tmp = $this$singleton.
|
|
1765
|
+
var tmp = $this$singleton.v1c();
|
|
1766
1766
|
// Inline function 'org.kodein.type.generic' call
|
|
1767
1767
|
var tmp_0 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
|
|
1768
1768
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1769
|
-
var tmp_1 = tmp.
|
|
1769
|
+
var tmp_1 = tmp.u1c(tmp$ret$0, null);
|
|
1770
1770
|
// Inline function 'org.kodein.di.instance' call
|
|
1771
|
-
var tmp_2 = $this$singleton.
|
|
1771
|
+
var tmp_2 = $this$singleton.v1c();
|
|
1772
1772
|
// Inline function 'org.kodein.type.generic' call
|
|
1773
1773
|
var tmp_3 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
|
|
1774
1774
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
1775
|
-
var tmp$ret$3 = tmp_2.
|
|
1775
|
+
var tmp$ret$3 = tmp_2.u1c(tmp$ret$2, null);
|
|
1776
1776
|
return new OpenAIApiImpl(tmp_1, tmp$ret$3);
|
|
1777
1777
|
}
|
|
1778
1778
|
function aiModule$lambda$lambda_3($this$singleton) {
|
|
1779
1779
|
// Inline function 'org.kodein.di.instance' call
|
|
1780
|
-
var tmp = $this$singleton.
|
|
1780
|
+
var tmp = $this$singleton.v1c();
|
|
1781
1781
|
// Inline function 'org.kodein.type.generic' call
|
|
1782
1782
|
var tmp_0 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
|
|
1783
1783
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1784
|
-
var tmp_1 = tmp.
|
|
1784
|
+
var tmp_1 = tmp.u1c(tmp$ret$0, null);
|
|
1785
1785
|
// Inline function 'org.kodein.di.instance' call
|
|
1786
|
-
var tmp_2 = $this$singleton.
|
|
1786
|
+
var tmp_2 = $this$singleton.v1c();
|
|
1787
1787
|
// Inline function 'org.kodein.type.generic' call
|
|
1788
1788
|
var tmp_3 = typeToken(createKType(getKClass(BotChatCache), arrayOf([]), false));
|
|
1789
1789
|
var tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
|
|
1790
|
-
var tmp$ret$3 = tmp_2.
|
|
1790
|
+
var tmp$ret$3 = tmp_2.u1c(tmp$ret$2, null);
|
|
1791
1791
|
return new BotChatRepositoryImpl(tmp_1, tmp$ret$3);
|
|
1792
1792
|
}
|
|
1793
1793
|
function aiModule$lambda$lambda_4($this$singleton) {
|
|
1794
1794
|
// Inline function 'org.kodein.di.instance' call
|
|
1795
|
-
var tmp = $this$singleton.
|
|
1795
|
+
var tmp = $this$singleton.v1c();
|
|
1796
1796
|
// Inline function 'org.kodein.type.generic' call
|
|
1797
1797
|
var tmp_0 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
|
|
1798
1798
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
1799
|
-
var tmp$ret$1 = tmp.
|
|
1799
|
+
var tmp$ret$1 = tmp.u1c(tmp$ret$0, null);
|
|
1800
1800
|
return new UserReportsResolverRepositoryImpl(tmp$ret$1);
|
|
1801
1801
|
}
|
|
1802
1802
|
function aiModule$lambda($config) {
|
|
@@ -1805,102 +1805,102 @@
|
|
|
1805
1805
|
// Inline function 'org.kodein.type.generic' call
|
|
1806
1806
|
var tmp = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
|
|
1807
1807
|
var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
|
|
1808
|
-
var tmp_0 = $this$Module.
|
|
1808
|
+
var tmp_0 = $this$Module.i1b(tmp$ret$0, null, null);
|
|
1809
1809
|
// Inline function 'org.kodein.di.singleton' call
|
|
1810
1810
|
var creator = aiModule$lambda$lambda($config);
|
|
1811
|
-
var tmp_1 = $this$Module.
|
|
1812
|
-
var tmp_2 = $this$Module.
|
|
1813
|
-
var tmp_3 = $this$Module.
|
|
1811
|
+
var tmp_1 = $this$Module.n1b();
|
|
1812
|
+
var tmp_2 = $this$Module.l1b();
|
|
1813
|
+
var tmp_3 = $this$Module.m1b();
|
|
1814
1814
|
// Inline function 'org.kodein.type.generic' call
|
|
1815
1815
|
var tmp_4 = typeToken(createKType(getKClass(OpenAIConfig), arrayOf([]), false));
|
|
1816
1816
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
1817
1817
|
var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
|
|
1818
|
-
tmp_0.
|
|
1818
|
+
tmp_0.g1f(tmp$ret$3);
|
|
1819
1819
|
// Inline function 'org.kodein.di.bind' call
|
|
1820
1820
|
// Inline function 'org.kodein.type.generic' call
|
|
1821
1821
|
var tmp_5 = typeToken(createKType(getKClass(BotChatCache), arrayOf([]), false));
|
|
1822
1822
|
var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
|
|
1823
|
-
var tmp_6 = $this$Module.
|
|
1823
|
+
var tmp_6 = $this$Module.i1b(tmp$ret$4, null, null);
|
|
1824
1824
|
// Inline function 'org.kodein.di.singleton' call
|
|
1825
1825
|
var creator_0 = aiModule$lambda$lambda_0;
|
|
1826
|
-
var tmp_7 = $this$Module.
|
|
1827
|
-
var tmp_8 = $this$Module.
|
|
1828
|
-
var tmp_9 = $this$Module.
|
|
1826
|
+
var tmp_7 = $this$Module.n1b();
|
|
1827
|
+
var tmp_8 = $this$Module.l1b();
|
|
1828
|
+
var tmp_9 = $this$Module.m1b();
|
|
1829
1829
|
// Inline function 'org.kodein.type.generic' call
|
|
1830
1830
|
var tmp_10 = typeToken(createKType(getKClass(InMemoryBotChatCache), arrayOf([]), false));
|
|
1831
1831
|
var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
|
|
1832
1832
|
var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
|
|
1833
|
-
tmp_6.
|
|
1833
|
+
tmp_6.g1f(tmp$ret$7);
|
|
1834
1834
|
// Inline function 'org.kodein.di.bind' call
|
|
1835
1835
|
// Inline function 'org.kodein.type.generic' call
|
|
1836
1836
|
var tmp_11 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
|
|
1837
1837
|
var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
|
|
1838
|
-
var tmp_12 = $this$Module.
|
|
1838
|
+
var tmp_12 = $this$Module.i1b(tmp$ret$8, null, null);
|
|
1839
1839
|
// Inline function 'org.kodein.di.singleton' call
|
|
1840
1840
|
var creator_1 = aiModule$lambda$lambda_1;
|
|
1841
|
-
var tmp_13 = $this$Module.
|
|
1842
|
-
var tmp_14 = $this$Module.
|
|
1843
|
-
var tmp_15 = $this$Module.
|
|
1841
|
+
var tmp_13 = $this$Module.n1b();
|
|
1842
|
+
var tmp_14 = $this$Module.l1b();
|
|
1843
|
+
var tmp_15 = $this$Module.m1b();
|
|
1844
1844
|
// Inline function 'org.kodein.type.generic' call
|
|
1845
1845
|
var tmp_16 = typeToken(createKType(getKClass(HttpClient_0), arrayOf([]), false));
|
|
1846
1846
|
var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
1847
1847
|
var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
|
|
1848
|
-
tmp_12.
|
|
1848
|
+
tmp_12.g1f(tmp$ret$11);
|
|
1849
1849
|
// Inline function 'org.kodein.di.bind' call
|
|
1850
1850
|
// Inline function 'org.kodein.type.generic' call
|
|
1851
1851
|
var tmp_17 = typeToken(createKType(getKClass(OpenAIApi), arrayOf([]), false));
|
|
1852
1852
|
var tmp$ret$12 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
1853
|
-
var tmp_18 = $this$Module.
|
|
1853
|
+
var tmp_18 = $this$Module.i1b(tmp$ret$12, null, null);
|
|
1854
1854
|
// Inline function 'org.kodein.di.singleton' call
|
|
1855
1855
|
var creator_2 = aiModule$lambda$lambda_2;
|
|
1856
|
-
var tmp_19 = $this$Module.
|
|
1857
|
-
var tmp_20 = $this$Module.
|
|
1858
|
-
var tmp_21 = $this$Module.
|
|
1856
|
+
var tmp_19 = $this$Module.n1b();
|
|
1857
|
+
var tmp_20 = $this$Module.l1b();
|
|
1858
|
+
var tmp_21 = $this$Module.m1b();
|
|
1859
1859
|
// Inline function 'org.kodein.type.generic' call
|
|
1860
1860
|
var tmp_22 = typeToken(createKType(getKClass(OpenAIApiImpl), arrayOf([]), false));
|
|
1861
1861
|
var tmp$ret$14 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
|
|
1862
1862
|
var tmp$ret$15 = new Singleton(tmp_19, tmp_20, tmp_21, tmp$ret$14, null, true, creator_2);
|
|
1863
|
-
tmp_18.
|
|
1863
|
+
tmp_18.g1f(tmp$ret$15);
|
|
1864
1864
|
// Inline function 'org.kodein.di.bind' call
|
|
1865
1865
|
// Inline function 'org.kodein.type.generic' call
|
|
1866
1866
|
var tmp_23 = typeToken(createKType(getKClass(BotChatRepository), arrayOf([]), false));
|
|
1867
1867
|
var tmp$ret$16 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
1868
|
-
var tmp_24 = $this$Module.
|
|
1868
|
+
var tmp_24 = $this$Module.i1b(tmp$ret$16, null, null);
|
|
1869
1869
|
// Inline function 'org.kodein.di.singleton' call
|
|
1870
1870
|
var creator_3 = aiModule$lambda$lambda_3;
|
|
1871
|
-
var tmp_25 = $this$Module.
|
|
1872
|
-
var tmp_26 = $this$Module.
|
|
1873
|
-
var tmp_27 = $this$Module.
|
|
1871
|
+
var tmp_25 = $this$Module.n1b();
|
|
1872
|
+
var tmp_26 = $this$Module.l1b();
|
|
1873
|
+
var tmp_27 = $this$Module.m1b();
|
|
1874
1874
|
// Inline function 'org.kodein.type.generic' call
|
|
1875
1875
|
var tmp_28 = typeToken(createKType(getKClass(BotChatRepositoryImpl), arrayOf([]), false));
|
|
1876
1876
|
var tmp$ret$18 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
1877
1877
|
var tmp$ret$19 = new Singleton(tmp_25, tmp_26, tmp_27, tmp$ret$18, null, true, creator_3);
|
|
1878
|
-
tmp_24.
|
|
1878
|
+
tmp_24.g1f(tmp$ret$19);
|
|
1879
1879
|
// Inline function 'org.kodein.di.bind' call
|
|
1880
1880
|
// Inline function 'org.kodein.type.generic' call
|
|
1881
1881
|
var tmp_29 = typeToken(createKType(getKClass(UserReportsResolverRepository), arrayOf([]), false));
|
|
1882
1882
|
var tmp$ret$20 = isInterface(tmp_29, TypeToken) ? tmp_29 : THROW_CCE();
|
|
1883
|
-
var tmp_30 = $this$Module.
|
|
1883
|
+
var tmp_30 = $this$Module.i1b(tmp$ret$20, null, null);
|
|
1884
1884
|
// Inline function 'org.kodein.di.singleton' call
|
|
1885
1885
|
var creator_4 = aiModule$lambda$lambda_4;
|
|
1886
|
-
var tmp_31 = $this$Module.
|
|
1887
|
-
var tmp_32 = $this$Module.
|
|
1888
|
-
var tmp_33 = $this$Module.
|
|
1886
|
+
var tmp_31 = $this$Module.n1b();
|
|
1887
|
+
var tmp_32 = $this$Module.l1b();
|
|
1888
|
+
var tmp_33 = $this$Module.m1b();
|
|
1889
1889
|
// Inline function 'org.kodein.type.generic' call
|
|
1890
1890
|
var tmp_34 = typeToken(createKType(getKClass(UserReportsResolverRepositoryImpl), arrayOf([]), false));
|
|
1891
1891
|
var tmp$ret$22 = isInterface(tmp_34, TypeToken) ? tmp_34 : THROW_CCE();
|
|
1892
1892
|
var tmp$ret$23 = new Singleton(tmp_31, tmp_32, tmp_33, tmp$ret$22, null, true, creator_4);
|
|
1893
|
-
tmp_30.
|
|
1893
|
+
tmp_30.g1f(tmp$ret$23);
|
|
1894
1894
|
return Unit_instance;
|
|
1895
1895
|
};
|
|
1896
1896
|
}
|
|
1897
1897
|
//region block: post-declaration
|
|
1898
|
-
protoOf($serializer).
|
|
1899
|
-
protoOf($serializer_0).
|
|
1900
|
-
protoOf($serializer_1).
|
|
1901
|
-
protoOf($serializer_2).
|
|
1902
|
-
protoOf($serializer_3).
|
|
1903
|
-
protoOf($serializer_4).
|
|
1898
|
+
protoOf($serializer).xz = typeParametersSerializers;
|
|
1899
|
+
protoOf($serializer_0).xz = typeParametersSerializers;
|
|
1900
|
+
protoOf($serializer_1).xz = typeParametersSerializers;
|
|
1901
|
+
protoOf($serializer_2).xz = typeParametersSerializers;
|
|
1902
|
+
protoOf($serializer_3).xz = typeParametersSerializers;
|
|
1903
|
+
protoOf($serializer_4).xz = typeParametersSerializers;
|
|
1904
1904
|
//endregion
|
|
1905
1905
|
//region block: exports
|
|
1906
1906
|
_.$_$ = _.$_$ || {};
|