raspberry_games_server_game_logic 1.8.415 → 1.8.416

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.
@@ -103,10 +103,10 @@
103
103
  var createAnnotatedEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
104
104
  var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
105
105
  var Enum = kotlin_kotlin.$_$.eh;
106
+ var getNumberHashCode = kotlin_kotlin.$_$.hc;
106
107
  var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
107
108
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
108
109
  var LongSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u;
109
- var getNumberHashCode = kotlin_kotlin.$_$.hc;
110
110
  var toString_0 = kotlin_kotlin.$_$.si;
111
111
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.x2;
112
112
  var firstOrNull = kotlin_kotlin.$_$.h7;
@@ -148,19 +148,17 @@
148
148
  initMetadataForCompanion(Companion_1);
149
149
  initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
150
150
  initMetadataForClass(ChatMessage, 'ChatMessage', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
151
+ initMetadataForClass(OpenAIConfig, 'OpenAIConfig');
151
152
  initMetadataForCompanion(Companion_2);
152
153
  initMetadataForObject($serializer_1, '$serializer', VOID, VOID, [GeneratedSerializer]);
153
- initMetadataForClass(OpenAIConfig, 'OpenAIConfig', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
154
- initMetadataForCompanion(Companion_3);
154
+ initMetadataForClass(OpenAIRequest, 'OpenAIRequest', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
155
155
  initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerializer]);
156
- initMetadataForClass(OpenAIRequest, 'OpenAIRequest', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
157
156
  initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
157
+ initMetadataForClass(Choice, 'Choice', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_2});
158
+ initMetadataForClass(Usage, 'Usage', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
159
+ initMetadataForCompanion(Companion_3);
158
160
  initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
159
- initMetadataForClass(Choice, 'Choice', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
160
- initMetadataForClass(Usage, 'Usage', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
161
- initMetadataForCompanion(Companion_4);
162
- initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
163
- initMetadataForClass(OpenAIResponse, 'OpenAIResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
161
+ initMetadataForClass(OpenAIResponse, 'OpenAIResponse', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
164
162
  initMetadataForCoroutine($executeRequestCOROUTINE$, CoroutineImpl);
165
163
  initMetadataForClass(BaseOpenAIRepository, 'BaseOpenAIRepository', VOID, VOID, VOID, [1, 2]);
166
164
  initMetadataForInterface(BotChatRepository, 'BotChatRepository', VOID, VOID, VOID, [2, 1]);
@@ -168,21 +166,19 @@
168
166
  initMetadataForClass(BotChatRepositoryImpl, 'BotChatRepositoryImpl', VOID, VOID, [BotChatRepository], [2, 1]);
169
167
  initMetadataForInterface(UserReportsResolverRepository, 'UserReportsResolverRepository', VOID, VOID, VOID, [1]);
170
168
  initMetadataForClass(UserReportsResolverRepositoryImpl, 'UserReportsResolverRepositoryImpl', VOID, VOID, [UserReportsResolverRepository], [1]);
171
- initMetadataForInterface(BotChatInteractor, 'BotChatInteractor', VOID, VOID, VOID, [2, 1]);
172
- initMetadataForClass(BotChatInteractorImpl, 'BotChatInteractorImpl', VOID, VOID, [BotChatInteractor], [2, 1]);
173
169
  //endregion
174
170
  function OpenAIApi() {
175
171
  }
176
172
  function OpenAIApiImpl$chatCompletion$lambda(this$0) {
177
173
  return function ($this$headers) {
178
- $this$headers.w39(HttpHeaders_getInstance().s3f_1, 'Bearer ' + this$0.m6m_1.g6m_1);
174
+ $this$headers.w39(HttpHeaders_getInstance().s3f_1, 'Bearer ' + this$0.l6m_1.f6m_1);
179
175
  return Unit_instance;
180
176
  };
181
177
  }
182
178
  function $chatCompletionCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
183
179
  CoroutineImpl.call(this, resultContinuation);
184
- this.w6m_1 = _this__u8e3s4;
185
- this.x6m_1 = messages;
180
+ this.v6m_1 = _this__u8e3s4;
181
+ this.w6m_1 = messages;
186
182
  }
187
183
  protoOf($chatCompletionCOROUTINE$).a9 = function () {
188
184
  var suspendResult = this.u8_1;
@@ -193,12 +189,12 @@
193
189
  case 0:
194
190
  this.t8_1 = 4;
195
191
  this.t8_1 = 3;
196
- var request = new OpenAIRequest(this.w6m_1.m6m_1.h6m_1, this.x6m_1, this.w6m_1.m6m_1.j6m_1, this.w6m_1.m6m_1.k6m_1);
197
- var tmp0 = this.w6m_1.n6m_1;
198
- var urlString = this.w6m_1.m6m_1.i6m_1 + '/chat/completions';
192
+ var request = new OpenAIRequest(this.v6m_1.l6m_1.g6m_1, this.w6m_1, this.v6m_1.l6m_1.i6m_1, this.v6m_1.l6m_1.j6m_1);
193
+ var tmp0 = this.v6m_1.m6m_1;
194
+ var urlString = this.v6m_1.l6m_1.h6m_1 + '/chat/completions';
199
195
  var this_0 = new HttpRequestBuilder();
200
196
  url(this_0, urlString);
201
- headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.w6m_1));
197
+ headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.v6m_1));
202
198
  contentType(this_0, Application_getInstance().x3d_1);
203
199
  if (request == null) {
204
200
  this_0.o3s_1 = NullBody_instance;
@@ -254,7 +250,7 @@
254
250
  case 1:
255
251
  var response = suspendResult;
256
252
  var tmp_8 = this;
257
- tmp_8.z6m_1 = Companion_instance;
253
+ tmp_8.y6m_1 = Companion_instance;
258
254
  this.s8_1 = 2;
259
255
  var tmp_9 = response.p3v();
260
256
  var tmp_10 = JsType_instance;
@@ -282,8 +278,8 @@
282
278
  case 2:
283
279
  var tmp2 = suspendResult instanceof OpenAIResponse ? suspendResult : THROW_CCE();
284
280
  var tmp_14 = this;
285
- this.z6m_1;
286
- tmp_14.y6m_1 = _Result___init__impl__xyqfz8(tmp2);
281
+ this.y6m_1;
282
+ tmp_14.x6m_1 = _Result___init__impl__xyqfz8(tmp2);
287
283
  this.t8_1 = 4;
288
284
  this.s8_1 = 5;
289
285
  continue $sm;
@@ -293,7 +289,7 @@
293
289
  if (tmp_15 instanceof Exception) {
294
290
  var e = this.v8_1;
295
291
  var tmp_16 = this;
296
- tmp_16.y6m_1 = _Result___init__impl__xyqfz8(createFailure(e));
292
+ tmp_16.x6m_1 = _Result___init__impl__xyqfz8(createFailure(e));
297
293
  this.s8_1 = 5;
298
294
  continue $sm;
299
295
  } else {
@@ -304,7 +300,7 @@
304
300
  throw this.v8_1;
305
301
  case 5:
306
302
  this.t8_1 = 4;
307
- return new Result(this.y6m_1);
303
+ return new Result(this.x6m_1);
308
304
  }
309
305
  } catch ($p) {
310
306
  var e_0 = $p;
@@ -318,10 +314,10 @@
318
314
  while (true);
319
315
  };
320
316
  function OpenAIApiImpl(config, httpClient) {
321
- this.m6m_1 = config;
322
- this.n6m_1 = httpClient;
317
+ this.l6m_1 = config;
318
+ this.m6m_1 = httpClient;
323
319
  }
324
- protoOf(OpenAIApiImpl).f6m = function (messages, $completion) {
320
+ protoOf(OpenAIApiImpl).e6m = function (messages, $completion) {
325
321
  var tmp = new $chatCompletionCOROUTINE$(this, messages, $completion);
326
322
  tmp.u8_1 = Unit_instance;
327
323
  tmp.v8_1 = null;
@@ -333,15 +329,15 @@
333
329
  function BotChatCache() {
334
330
  }
335
331
  function CacheEntry(value, timestamp) {
336
- this.b6n_1 = value;
337
- this.c6n_1 = timestamp;
332
+ this.a6n_1 = value;
333
+ this.b6n_1 = timestamp;
338
334
  }
339
335
  protoOf(CacheEntry).toString = function () {
340
- return 'CacheEntry(value=' + this.b6n_1 + ', timestamp=' + this.c6n_1.toString() + ')';
336
+ return 'CacheEntry(value=' + this.a6n_1 + ', timestamp=' + this.b6n_1.toString() + ')';
341
337
  };
342
338
  protoOf(CacheEntry).hashCode = function () {
343
- var result = getStringHashCode(this.b6n_1);
344
- result = imul(result, 31) + this.c6n_1.hashCode() | 0;
339
+ var result = getStringHashCode(this.a6n_1);
340
+ result = imul(result, 31) + this.b6n_1.hashCode() | 0;
345
341
  return result;
346
342
  };
347
343
  protoOf(CacheEntry).equals = function (other) {
@@ -349,36 +345,36 @@
349
345
  return true;
350
346
  if (!(other instanceof CacheEntry))
351
347
  return false;
352
- if (!(this.b6n_1 === other.b6n_1))
348
+ if (!(this.a6n_1 === other.a6n_1))
353
349
  return false;
354
- if (!equalsLong(this.c6n_1, other.c6n_1))
350
+ if (!equalsLong(this.b6n_1, other.b6n_1))
355
351
  return false;
356
352
  return true;
357
353
  };
358
354
  function cleanExpired($this) {
359
355
  var now = System_instance.ck().qk();
360
- var tmp = $this.f6n_1.v();
356
+ var tmp = $this.e6n_1.v();
361
357
  removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
362
358
  }
363
359
  function InMemoryBotChatCache$cleanExpired$lambda($now, this$0) {
364
360
  return function (_destruct__k2r9zo) {
365
361
  // Inline function 'kotlin.collections.component2' call
366
362
  var entry = _destruct__k2r9zo.x();
367
- return compare(subtract($now, entry.c6n_1), this$0.d6n_1) > 0;
363
+ return compare(subtract($now, entry.b6n_1), this$0.c6n_1) > 0;
368
364
  };
369
365
  }
370
366
  function InMemoryBotChatCache(ttlMillis, maxSize) {
371
367
  ttlMillis = ttlMillis === VOID ? new Long(300000, 0) : ttlMillis;
372
368
  maxSize = maxSize === VOID ? 100 : maxSize;
373
- this.d6n_1 = ttlMillis;
374
- this.e6n_1 = maxSize;
369
+ this.c6n_1 = ttlMillis;
370
+ this.d6n_1 = maxSize;
375
371
  var tmp = this;
376
372
  // Inline function 'kotlin.collections.mutableMapOf' call
377
- tmp.f6n_1 = LinkedHashMap_init_$Create$();
373
+ tmp.e6n_1 = LinkedHashMap_init_$Create$();
378
374
  }
379
375
  protoOf(InMemoryBotChatCache).t1b = function (key) {
380
376
  cleanExpired(this);
381
- var tmp0_elvis_lhs = this.f6n_1.c2(key);
377
+ var tmp0_elvis_lhs = this.e6n_1.c2(key);
382
378
  var tmp;
383
379
  if (tmp0_elvis_lhs == null) {
384
380
  return null;
@@ -386,17 +382,17 @@
386
382
  tmp = tmp0_elvis_lhs;
387
383
  }
388
384
  var entry = tmp;
389
- if (compare(subtract(System_instance.ck().qk(), entry.c6n_1), this.d6n_1) > 0) {
390
- this.f6n_1.g2(key);
385
+ if (compare(subtract(System_instance.ck().qk(), entry.b6n_1), this.c6n_1) > 0) {
386
+ this.e6n_1.g2(key);
391
387
  return null;
392
388
  }
393
- return entry.b6n_1;
389
+ return entry.a6n_1;
394
390
  };
395
- protoOf(InMemoryBotChatCache).a6n = function (key, value) {
391
+ protoOf(InMemoryBotChatCache).z6m = function (key, value) {
396
392
  cleanExpired(this);
397
- if (this.f6n_1.o() >= this.e6n_1) {
393
+ if (this.e6n_1.o() >= this.d6n_1) {
398
394
  // Inline function 'kotlin.collections.minByOrNull' call
399
- var tmp0 = this.f6n_1.v();
395
+ var tmp0 = this.e6n_1.v();
400
396
  var tmp$ret$0;
401
397
  $l$block_0: {
402
398
  // Inline function 'kotlin.collections.minByOrNull' call
@@ -410,10 +406,10 @@
410
406
  tmp$ret$0 = minElem;
411
407
  break $l$block_0;
412
408
  }
413
- var minValue = minElem.x().c6n_1;
409
+ var minValue = minElem.x().b6n_1;
414
410
  do {
415
411
  var e = iterator.n();
416
- var v = e.x().c6n_1;
412
+ var v = e.x().b6n_1;
417
413
  if (compareTo(minValue, v) > 0) {
418
414
  minElem = e;
419
415
  minValue = v;
@@ -428,24 +424,24 @@
428
424
  null;
429
425
  else {
430
426
  // Inline function 'kotlin.let' call
431
- this.f6n_1.g2(oldestKey);
427
+ this.e6n_1.g2(oldestKey);
432
428
  }
433
429
  }
434
- var tmp0_0 = this.f6n_1;
430
+ var tmp0_0 = this.e6n_1;
435
431
  // Inline function 'kotlin.collections.set' call
436
432
  var value_0 = new CacheEntry(value, System_instance.ck().qk());
437
433
  tmp0_0.f2(key, value_0);
438
434
  };
439
435
  function BotChatConfig() {
440
436
  BotChatConfig_instance = this;
441
- this.g6n_1 = mapOf([to(0, '\u0412\u0435\u0441\u0435\u043B\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041B\u044E\u0431\u0438\u0442\u044C \u043F\u043E\u0436\u0430\u0440\u0442\u0443\u0432\u0430\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0443\u0442\u0438\u0441\u044F. \u041F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456.\n \u0412\u0431\u043E\u043B\u0456\u0432\u0430\u0454 \u0437\u0430 \u043A\u0430\u0440\u0442\u0438 \u044F\u043A \u0437\u0430 \u0444\u0443\u0442\u0431\u043E\u043B. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u043E\u0442 \u0445\u0430\u043B\u0435\u043F\u0430", "\u0431\u043B\u044F\u0445\u0430-\u043C\u0443\u0445\u0430", "\u043D\u0456\u0447\u043E \u0441\u043E\u0431\u0456".'), to(1, '\u0421\u043F\u043E\u043A\u0456\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C \u0437\u0456 \u041B\u044C\u0432\u043E\u0432\u0430. \u0413\u043E\u0432\u043E\u0440\u0438\u0442\u044C \u0442\u0440\u043E\u0445\u0438 \u043F\u043E-\u0437\u0430\u0445\u0456\u0434\u043D\u043E\u043C\u0443 ("\u0444\u0430\u0439\u043D\u043E", "\u0430\u044F\u043A\u0436\u0435").\n \u0406\u043D\u043E\u0434\u0456 \u0432\u0441\u044F\u043A\u043D\u0435 \u0449\u043E\u0441\u044C \u0442\u0438\u043F\u0443 "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C" \u0430\u0431\u043E "\u0442\u0430 \u0448\u043E \u0442\u0438 \u043A\u0430\u0436\u0435\u0448". \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0441\u0435\u0440\u0439\u043E\u0437\u043D\u0438\u0439.'), to(2, '\u0417\u0430\u043F\u0430\u043B\u044C\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043D\u0438\u0439, \u043B\u044E\u0431\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0430\u0433\u0430\u0442\u0438. \u041C\u043E\u0436\u0435 \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u0441\u043B\u0430\u0442\u0438 "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438"\n \u0430\u0431\u043E "\u0430\u043D\u0443 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E \u0433\u0440\u0430\u0439". \u0422\u0440\u043E\u0445\u0438 \u0431\u0430\u0437\u0456\u043A\u0430, \u0430\u043B\u0435 \u043F\u043E-\u0434\u043E\u0431\u0440\u043E\u043C\u0443. \u0420\u0435\u0430\u0433\u0443\u0454 \u0435\u043C\u043E\u0446\u0456\u0439\u043D\u043E \u043D\u0430 \u0433\u0440\u0443.'), to(3, '\u0414\u043E\u0441\u0432\u0456\u0434\u0447\u0435\u043D\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C, \u043C\u043E\u0436\u0435 \u0442\u0440\u043E\u0445\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0439. \u0406\u043D\u043E\u0434\u0456 \u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0440\u0430\u0434\u0443. \u041C\u043E\u0436\u0435 \u0431\u0443\u0440\u043A\u043D\u0443\u0442\u0438 "\u0442\u0430 \u0449\u043E \u0436 \u0442\u0438 \u0440\u043E\u0431\u0438\u0448"\n \u0430\u0431\u043E "\u043E\u0445 \u0439\u043E\u0431\u0430\u043D\u0430". \u041C\u0443\u0434\u0440\u0456\u0448\u0438\u0439 \u0437\u0430 \u0456\u043D\u0448\u0438\u0445, \u0430\u043B\u0435 \u0442\u0435\u0436 \u043D\u0435 \u0441\u0432\u044F\u0442\u0438\u0439 \u0443 \u0432\u0438\u0440\u0430\u0437\u0430\u0445.'), to(4, '\u0421\u043E\u043B\u0434\u0430\u0442 \u0417\u0421\u0423, \u0433\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438 \u043D\u0430 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u043D\u043A\u0443. \u0416\u043E\u0440\u0441\u0442\u043A\u0438\u0439 \u0433\u0443\u043C\u043E\u0440, \u043F\u0440\u044F\u043C\u0438\u0439. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u0442\u0440\u0438\u043C\u0430\u0439 \u043F\u043E\u0437\u0438\u0446\u0456\u044E",\n "\u0432\u0456\u0434\u0431\u0456\u0439", "\u0439\u043E\u0431\u0430\u043D\u0430 \u0440\u043E\u0442\u0430". \u0421\u0442\u0440\u0438\u043C\u0430\u043D\u0438\u0439 \u0430\u043B\u0435 \u0440\u0456\u0437\u043A\u0438\u0439. \u0412\u0456\u0439\u0441\u044C\u043A\u043E\u0432\u0438\u0439 \u0441\u043B\u0435\u043D\u0433.')]);
442
- this.h6n_1 = '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.';
443
- this.i6n_1 = '\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438';
444
- this.j6n_1 = "\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!";
445
- this.k6n_1 = '\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.';
446
- }
447
- protoOf(BotChatConfig).l6n = function (playerNumber) {
448
- var tmp0_elvis_lhs = this.g6n_1.c2(playerNumber % this.g6n_1.o() | 0);
437
+ this.f6n_1 = mapOf([to(0, '\u0412\u0435\u0441\u0435\u043B\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041B\u044E\u0431\u0438\u0442\u044C \u043F\u043E\u0436\u0430\u0440\u0442\u0443\u0432\u0430\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0443\u0442\u0438\u0441\u044F. \u041F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456.\n \u0412\u0431\u043E\u043B\u0456\u0432\u0430\u0454 \u0437\u0430 \u043A\u0430\u0440\u0442\u0438 \u044F\u043A \u0437\u0430 \u0444\u0443\u0442\u0431\u043E\u043B. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u043E\u0442 \u0445\u0430\u043B\u0435\u043F\u0430", "\u0431\u043B\u044F\u0445\u0430-\u043C\u0443\u0445\u0430", "\u043D\u0456\u0447\u043E \u0441\u043E\u0431\u0456".'), to(1, '\u0421\u043F\u043E\u043A\u0456\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C \u0437\u0456 \u041B\u044C\u0432\u043E\u0432\u0430. \u0413\u043E\u0432\u043E\u0440\u0438\u0442\u044C \u0442\u0440\u043E\u0445\u0438 \u043F\u043E-\u0437\u0430\u0445\u0456\u0434\u043D\u043E\u043C\u0443 ("\u0444\u0430\u0439\u043D\u043E", "\u0430\u044F\u043A\u0436\u0435").\n \u0406\u043D\u043E\u0434\u0456 \u0432\u0441\u044F\u043A\u043D\u0435 \u0449\u043E\u0441\u044C \u0442\u0438\u043F\u0443 "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C" \u0430\u0431\u043E "\u0442\u0430 \u0448\u043E \u0442\u0438 \u043A\u0430\u0436\u0435\u0448". \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0441\u0435\u0440\u0439\u043E\u0437\u043D\u0438\u0439.'), to(2, '\u0417\u0430\u043F\u0430\u043B\u044C\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0435\u0446\u044C. \u041A\u043E\u043D\u043A\u0443\u0440\u0435\u043D\u0442\u043D\u0438\u0439, \u043B\u044E\u0431\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0430\u0433\u0430\u0442\u0438. \u041C\u043E\u0436\u0435 \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u0441\u043B\u0430\u0442\u0438 "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438"\n \u0430\u0431\u043E "\u0430\u043D\u0443 \u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E \u0433\u0440\u0430\u0439". \u0422\u0440\u043E\u0445\u0438 \u0431\u0430\u0437\u0456\u043A\u0430, \u0430\u043B\u0435 \u043F\u043E-\u0434\u043E\u0431\u0440\u043E\u043C\u0443. \u0420\u0435\u0430\u0433\u0443\u0454 \u0435\u043C\u043E\u0446\u0456\u0439\u043D\u043E \u043D\u0430 \u0433\u0440\u0443.'), to(3, '\u0414\u043E\u0441\u0432\u0456\u0434\u0447\u0435\u043D\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C, \u043C\u043E\u0436\u0435 \u0442\u0440\u043E\u0445\u0438 \u0441\u0442\u0430\u0440\u0448\u0438\u0439. \u0406\u043D\u043E\u0434\u0456 \u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0440\u0430\u0434\u0443. \u041C\u043E\u0436\u0435 \u0431\u0443\u0440\u043A\u043D\u0443\u0442\u0438 "\u0442\u0430 \u0449\u043E \u0436 \u0442\u0438 \u0440\u043E\u0431\u0438\u0448"\n \u0430\u0431\u043E "\u043E\u0445 \u0439\u043E\u0431\u0430\u043D\u0430". \u041C\u0443\u0434\u0440\u0456\u0448\u0438\u0439 \u0437\u0430 \u0456\u043D\u0448\u0438\u0445, \u0430\u043B\u0435 \u0442\u0435\u0436 \u043D\u0435 \u0441\u0432\u044F\u0442\u0438\u0439 \u0443 \u0432\u0438\u0440\u0430\u0437\u0430\u0445.'), to(4, '\u0421\u043E\u043B\u0434\u0430\u0442 \u0417\u0421\u0423, \u0433\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438 \u043D\u0430 \u0432\u0456\u0434\u043F\u043E\u0447\u0438\u043D\u043A\u0443. \u0416\u043E\u0440\u0441\u0442\u043A\u0438\u0439 \u0433\u0443\u043C\u043E\u0440, \u043F\u0440\u044F\u043C\u0438\u0439. \u041C\u043E\u0436\u0435 \u0441\u043A\u0430\u0437\u0430\u0442\u0438 "\u0442\u0440\u0438\u043C\u0430\u0439 \u043F\u043E\u0437\u0438\u0446\u0456\u044E",\n "\u0432\u0456\u0434\u0431\u0456\u0439", "\u0439\u043E\u0431\u0430\u043D\u0430 \u0440\u043E\u0442\u0430". \u0421\u0442\u0440\u0438\u043C\u0430\u043D\u0438\u0439 \u0430\u043B\u0435 \u0440\u0456\u0437\u043A\u0438\u0439. \u0412\u0456\u0439\u0441\u044C\u043A\u043E\u0432\u0438\u0439 \u0441\u043B\u0435\u043D\u0433.')]);
438
+ this.g6n_1 = '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.';
439
+ this.h6n_1 = '\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438';
440
+ this.i6n_1 = "\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!";
441
+ this.j6n_1 = '\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.';
442
+ }
443
+ protoOf(BotChatConfig).k6n = function (playerNumber) {
444
+ var tmp0_elvis_lhs = this.f6n_1.c2(playerNumber % this.f6n_1.o() | 0);
449
445
  return tmp0_elvis_lhs == null ? '\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0438\u0439 \u0433\u0440\u0430\u0432\u0435\u0446\u044C. \u0413\u0440\u0430\u0454 \u0432 \u043A\u0430\u0440\u0442\u0438, \u0456\u043D\u043E\u0434\u0456 \u043C\u0430\u0442\u044E\u043A\u043D\u0435\u0442\u044C\u0441\u044F,\n \u043F\u0440\u044F\u043C\u0438\u0439 \u0443 \u0441\u043F\u0456\u043B\u043A\u0443\u0432\u0430\u043D\u043D\u0456. \u041D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u0439, \u0430\u043B\u0435 \u0439 \u043D\u0435 \u0437\u043B\u0438\u0439.' : tmp0_elvis_lhs;
450
446
  };
451
447
  var BotChatConfig_instance;
@@ -464,7 +460,7 @@
464
460
  // Inline function 'kotlin.arrayOf' call
465
461
  // Inline function 'kotlin.js.unsafeCast' call
466
462
  // Inline function 'kotlin.js.asDynamic' call
467
- tmp.m6n_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
463
+ tmp.l6n_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
468
464
  }
469
465
  var Companion_instance_1;
470
466
  function Companion_getInstance_1() {
@@ -479,27 +475,27 @@
479
475
  tmp0_serialDesc.gz('gameState', false);
480
476
  tmp0_serialDesc.gz('conversationHistory', true);
481
477
  tmp0_serialDesc.gz('playerName', true);
482
- this.n6n_1 = tmp0_serialDesc;
478
+ this.m6n_1 = tmp0_serialDesc;
483
479
  }
484
- protoOf($serializer).o6n = function (encoder, value) {
485
- var tmp0_desc = this.n6n_1;
480
+ protoOf($serializer).n6n = function (encoder, value) {
481
+ var tmp0_desc = this.m6n_1;
486
482
  var tmp1_output = encoder.or(tmp0_desc);
487
- var tmp2_cached = Companion_getInstance_1().m6n_1;
488
- tmp1_output.dt(tmp0_desc, 0, value.p6n_1);
489
- tmp1_output.dt(tmp0_desc, 1, value.q6n_1);
490
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !equals(value.r6n_1, emptyList())) {
491
- tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.r6n_1);
483
+ var tmp2_cached = Companion_getInstance_1().l6n_1;
484
+ tmp1_output.dt(tmp0_desc, 0, value.o6n_1);
485
+ tmp1_output.dt(tmp0_desc, 1, value.p6n_1);
486
+ if (tmp1_output.lt(tmp0_desc, 2) ? true : !equals(value.q6n_1, emptyList())) {
487
+ tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.q6n_1);
492
488
  }
493
- if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.s6n_1 == null)) {
494
- tmp1_output.ht(tmp0_desc, 3, StringSerializer_getInstance(), value.s6n_1);
489
+ if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.r6n_1 == null)) {
490
+ tmp1_output.ht(tmp0_desc, 3, StringSerializer_getInstance(), value.r6n_1);
495
491
  }
496
492
  tmp1_output.pr(tmp0_desc);
497
493
  };
498
494
  protoOf($serializer).co = function (encoder, value) {
499
- return this.o6n(encoder, value instanceof BotChatContext ? value : THROW_CCE());
495
+ return this.n6n(encoder, value instanceof BotChatContext ? value : THROW_CCE());
500
496
  };
501
497
  protoOf($serializer).do = function (decoder) {
502
- var tmp0_desc = this.n6n_1;
498
+ var tmp0_desc = this.m6n_1;
503
499
  var tmp1_flag = true;
504
500
  var tmp2_index = 0;
505
501
  var tmp3_bitMask0 = 0;
@@ -508,7 +504,7 @@
508
504
  var tmp6_local2 = null;
509
505
  var tmp7_local3 = null;
510
506
  var tmp8_input = decoder.or(tmp0_desc);
511
- var tmp9_cached = Companion_getInstance_1().m6n_1;
507
+ var tmp9_cached = Companion_getInstance_1().l6n_1;
512
508
  if (tmp8_input.es()) {
513
509
  tmp4_local0 = tmp8_input.yr(tmp0_desc, 0);
514
510
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -549,10 +545,10 @@
549
545
  return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
550
546
  };
551
547
  protoOf($serializer).bo = function () {
552
- return this.n6n_1;
548
+ return this.m6n_1;
553
549
  };
554
550
  protoOf($serializer).vz = function () {
555
- var tmp0_cached = Companion_getInstance_1().m6n_1;
551
+ var tmp0_cached = Companion_getInstance_1().l6n_1;
556
552
  // Inline function 'kotlin.arrayOf' call
557
553
  // Inline function 'kotlin.js.unsafeCast' call
558
554
  // Inline function 'kotlin.js.asDynamic' call
@@ -566,18 +562,18 @@
566
562
  }
567
563
  function BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, $this) {
568
564
  if (!(3 === (3 & seen0))) {
569
- throwMissingFieldException(seen0, 3, $serializer_getInstance().n6n_1);
565
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().m6n_1);
570
566
  }
571
- $this.p6n_1 = botPersonality;
572
- $this.q6n_1 = gameState;
567
+ $this.o6n_1 = botPersonality;
568
+ $this.p6n_1 = gameState;
573
569
  if (0 === (seen0 & 4))
574
- $this.r6n_1 = emptyList();
570
+ $this.q6n_1 = emptyList();
575
571
  else
576
- $this.r6n_1 = conversationHistory;
572
+ $this.q6n_1 = conversationHistory;
577
573
  if (0 === (seen0 & 8))
578
- $this.s6n_1 = null;
574
+ $this.r6n_1 = null;
579
575
  else
580
- $this.s6n_1 = playerName;
576
+ $this.r6n_1 = playerName;
581
577
  return $this;
582
578
  }
583
579
  function BotChatContext_init_$Create$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker) {
@@ -587,19 +583,19 @@
587
583
  Companion_getInstance_1();
588
584
  conversationHistory = conversationHistory === VOID ? emptyList() : conversationHistory;
589
585
  playerName = playerName === VOID ? null : playerName;
590
- this.p6n_1 = botPersonality;
591
- this.q6n_1 = gameState;
592
- this.r6n_1 = conversationHistory;
593
- this.s6n_1 = playerName;
586
+ this.o6n_1 = botPersonality;
587
+ this.p6n_1 = gameState;
588
+ this.q6n_1 = conversationHistory;
589
+ this.r6n_1 = playerName;
594
590
  }
595
591
  protoOf(BotChatContext).toString = function () {
596
- return 'BotChatContext(botPersonality=' + this.p6n_1 + ', gameState=' + this.q6n_1 + ', conversationHistory=' + toString(this.r6n_1) + ', playerName=' + this.s6n_1 + ')';
592
+ return 'BotChatContext(botPersonality=' + this.o6n_1 + ', gameState=' + this.p6n_1 + ', conversationHistory=' + toString(this.q6n_1) + ', playerName=' + this.r6n_1 + ')';
597
593
  };
598
594
  protoOf(BotChatContext).hashCode = function () {
599
- var result = getStringHashCode(this.p6n_1);
600
- result = imul(result, 31) + getStringHashCode(this.q6n_1) | 0;
601
- result = imul(result, 31) + hashCode(this.r6n_1) | 0;
602
- result = imul(result, 31) + (this.s6n_1 == null ? 0 : getStringHashCode(this.s6n_1)) | 0;
595
+ var result = getStringHashCode(this.o6n_1);
596
+ result = imul(result, 31) + getStringHashCode(this.p6n_1) | 0;
597
+ result = imul(result, 31) + hashCode(this.q6n_1) | 0;
598
+ result = imul(result, 31) + (this.r6n_1 == null ? 0 : getStringHashCode(this.r6n_1)) | 0;
603
599
  return result;
604
600
  };
605
601
  protoOf(BotChatContext).equals = function (other) {
@@ -607,18 +603,18 @@
607
603
  return true;
608
604
  if (!(other instanceof BotChatContext))
609
605
  return false;
610
- if (!(this.p6n_1 === other.p6n_1))
606
+ if (!(this.o6n_1 === other.o6n_1))
611
607
  return false;
612
- if (!(this.q6n_1 === other.q6n_1))
608
+ if (!(this.p6n_1 === other.p6n_1))
613
609
  return false;
614
- if (!equals(this.r6n_1, other.r6n_1))
610
+ if (!equals(this.q6n_1, other.q6n_1))
615
611
  return false;
616
- if (!(this.s6n_1 == other.s6n_1))
612
+ if (!(this.r6n_1 == other.r6n_1))
617
613
  return false;
618
614
  return true;
619
615
  };
620
616
  function _get_$cachedSerializer__te6jhj($this) {
621
- return $this.t6n_1.x();
617
+ return $this.s6n_1.x();
622
618
  }
623
619
  function ChatMessage$Role$Companion$_anonymous__13jozo() {
624
620
  var tmp = values();
@@ -642,7 +638,7 @@
642
638
  Companion_instance_2 = this;
643
639
  var tmp = this;
644
640
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
645
- tmp.t6n_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
641
+ tmp.s6n_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
646
642
  }
647
643
  protoOf(Companion_0).a1c = function () {
648
644
  return _get_$cachedSerializer__te6jhj(this);
@@ -680,15 +676,15 @@
680
676
  // Inline function 'kotlin.arrayOf' call
681
677
  // Inline function 'kotlin.js.unsafeCast' call
682
678
  // Inline function 'kotlin.js.asDynamic' call
683
- tmp.u6n_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
679
+ tmp.t6n_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
684
680
  }
685
- protoOf(Companion_1).v6n = function (content) {
681
+ protoOf(Companion_1).u6n = function (content) {
686
682
  return new ChatMessage(Role_SYSTEM_getInstance(), content);
687
683
  };
688
- protoOf(Companion_1).w6n = function (content) {
684
+ protoOf(Companion_1).v6n = function (content) {
689
685
  return new ChatMessage(Role_USER_getInstance(), content);
690
686
  };
691
- protoOf(Companion_1).x6n = function (content) {
687
+ protoOf(Companion_1).w6n = function (content) {
692
688
  return new ChatMessage(Role_ASSISTANT_getInstance(), content);
693
689
  };
694
690
  var Companion_instance_3;
@@ -702,28 +698,28 @@
702
698
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
703
699
  tmp0_serialDesc.gz('role', false);
704
700
  tmp0_serialDesc.gz('content', false);
705
- this.y6n_1 = tmp0_serialDesc;
701
+ this.x6n_1 = tmp0_serialDesc;
706
702
  }
707
- protoOf($serializer_0).z6n = function (encoder, value) {
708
- var tmp0_desc = this.y6n_1;
703
+ protoOf($serializer_0).y6n = function (encoder, value) {
704
+ var tmp0_desc = this.x6n_1;
709
705
  var tmp1_output = encoder.or(tmp0_desc);
710
- var tmp2_cached = Companion_getInstance_3().u6n_1;
711
- tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.a6o_1);
712
- tmp1_output.dt(tmp0_desc, 1, value.b6o_1);
706
+ var tmp2_cached = Companion_getInstance_3().t6n_1;
707
+ tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.z6n_1);
708
+ tmp1_output.dt(tmp0_desc, 1, value.a6o_1);
713
709
  tmp1_output.pr(tmp0_desc);
714
710
  };
715
711
  protoOf($serializer_0).co = function (encoder, value) {
716
- return this.z6n(encoder, value instanceof ChatMessage ? value : THROW_CCE());
712
+ return this.y6n(encoder, value instanceof ChatMessage ? value : THROW_CCE());
717
713
  };
718
714
  protoOf($serializer_0).do = function (decoder) {
719
- var tmp0_desc = this.y6n_1;
715
+ var tmp0_desc = this.x6n_1;
720
716
  var tmp1_flag = true;
721
717
  var tmp2_index = 0;
722
718
  var tmp3_bitMask0 = 0;
723
719
  var tmp4_local0 = null;
724
720
  var tmp5_local1 = null;
725
721
  var tmp6_input = decoder.or(tmp0_desc);
726
- var tmp7_cached = Companion_getInstance_3().u6n_1;
722
+ var tmp7_cached = Companion_getInstance_3().t6n_1;
727
723
  if (tmp6_input.es()) {
728
724
  tmp4_local0 = tmp6_input.as(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
729
725
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -752,13 +748,13 @@
752
748
  return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
753
749
  };
754
750
  protoOf($serializer_0).bo = function () {
755
- return this.y6n_1;
751
+ return this.x6n_1;
756
752
  };
757
753
  protoOf($serializer_0).vz = function () {
758
754
  // Inline function 'kotlin.arrayOf' call
759
755
  // Inline function 'kotlin.js.unsafeCast' call
760
756
  // Inline function 'kotlin.js.asDynamic' call
761
- return [Companion_getInstance_3().u6n_1[0].x(), StringSerializer_getInstance()];
757
+ return [Companion_getInstance_3().t6n_1[0].x(), StringSerializer_getInstance()];
762
758
  };
763
759
  var $serializer_instance_0;
764
760
  function $serializer_getInstance_0() {
@@ -768,10 +764,10 @@
768
764
  }
769
765
  function ChatMessage_init_$Init$(seen0, role, content, serializationConstructorMarker, $this) {
770
766
  if (!(3 === (3 & seen0))) {
771
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().y6n_1);
767
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().x6n_1);
772
768
  }
773
- $this.a6o_1 = role;
774
- $this.b6o_1 = content;
769
+ $this.z6n_1 = role;
770
+ $this.a6o_1 = content;
775
771
  return $this;
776
772
  }
777
773
  function ChatMessage_init_$Create$(seen0, role, content, serializationConstructorMarker) {
@@ -791,15 +787,15 @@
791
787
  }
792
788
  function ChatMessage(role, content) {
793
789
  Companion_getInstance_3();
794
- this.a6o_1 = role;
795
- this.b6o_1 = content;
790
+ this.z6n_1 = role;
791
+ this.a6o_1 = content;
796
792
  }
797
793
  protoOf(ChatMessage).toString = function () {
798
- return 'ChatMessage(role=' + this.a6o_1.toString() + ', content=' + this.b6o_1 + ')';
794
+ return 'ChatMessage(role=' + this.z6n_1.toString() + ', content=' + this.a6o_1 + ')';
799
795
  };
800
796
  protoOf(ChatMessage).hashCode = function () {
801
- var result = this.a6o_1.hashCode();
802
- result = imul(result, 31) + getStringHashCode(this.b6o_1) | 0;
797
+ var result = this.z6n_1.hashCode();
798
+ result = imul(result, 31) + getStringHashCode(this.a6o_1) | 0;
803
799
  return result;
804
800
  };
805
801
  protoOf(ChatMessage).equals = function (other) {
@@ -807,184 +803,35 @@
807
803
  return true;
808
804
  if (!(other instanceof ChatMessage))
809
805
  return false;
810
- if (!this.a6o_1.equals(other.a6o_1))
806
+ if (!this.z6n_1.equals(other.z6n_1))
811
807
  return false;
812
- if (!(this.b6o_1 === other.b6o_1))
808
+ if (!(this.a6o_1 === other.a6o_1))
813
809
  return false;
814
810
  return true;
815
811
  };
816
- function Companion_2() {
817
- }
818
- var Companion_instance_4;
819
- function Companion_getInstance_4() {
820
- return Companion_instance_4;
821
- }
822
- function $serializer_1() {
823
- $serializer_instance_1 = this;
824
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIConfig', this, 6);
825
- tmp0_serialDesc.gz('apiKey', false);
826
- tmp0_serialDesc.gz('model', true);
827
- tmp0_serialDesc.gz('baseUrl', true);
828
- tmp0_serialDesc.gz('temperature', true);
829
- tmp0_serialDesc.gz('maxTokens', true);
830
- tmp0_serialDesc.gz('timeout', true);
831
- this.c6o_1 = tmp0_serialDesc;
832
- }
833
- protoOf($serializer_1).d6o = function (encoder, value) {
834
- var tmp0_desc = this.c6o_1;
835
- var tmp1_output = encoder.or(tmp0_desc);
836
- tmp1_output.dt(tmp0_desc, 0, value.g6m_1);
837
- if (tmp1_output.lt(tmp0_desc, 1) ? true : !(value.h6m_1 === 'gpt-3.5-turbo')) {
838
- tmp1_output.dt(tmp0_desc, 1, value.h6m_1);
839
- }
840
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.i6m_1 === 'https://api.openai.com/v1')) {
841
- tmp1_output.dt(tmp0_desc, 2, value.i6m_1);
842
- }
843
- if (tmp1_output.lt(tmp0_desc, 3) ? true : !equals(value.j6m_1, 0.7)) {
844
- tmp1_output.bt(tmp0_desc, 3, value.j6m_1);
845
- }
846
- if (tmp1_output.lt(tmp0_desc, 4) ? true : !(value.k6m_1 === 150)) {
847
- tmp1_output.ys(tmp0_desc, 4, value.k6m_1);
848
- }
849
- if (tmp1_output.lt(tmp0_desc, 5) ? true : !equalsLong(value.l6m_1, new Long(30000, 0))) {
850
- tmp1_output.zs(tmp0_desc, 5, value.l6m_1);
851
- }
852
- tmp1_output.pr(tmp0_desc);
853
- };
854
- protoOf($serializer_1).co = function (encoder, value) {
855
- return this.d6o(encoder, value instanceof OpenAIConfig ? value : THROW_CCE());
856
- };
857
- protoOf($serializer_1).do = function (decoder) {
858
- var tmp0_desc = this.c6o_1;
859
- var tmp1_flag = true;
860
- var tmp2_index = 0;
861
- var tmp3_bitMask0 = 0;
862
- var tmp4_local0 = null;
863
- var tmp5_local1 = null;
864
- var tmp6_local2 = null;
865
- var tmp7_local3 = 0.0;
866
- var tmp8_local4 = 0;
867
- var tmp9_local5 = new Long(0, 0);
868
- var tmp10_input = decoder.or(tmp0_desc);
869
- if (tmp10_input.es()) {
870
- tmp4_local0 = tmp10_input.yr(tmp0_desc, 0);
871
- tmp3_bitMask0 = tmp3_bitMask0 | 1;
872
- tmp5_local1 = tmp10_input.yr(tmp0_desc, 1);
873
- tmp3_bitMask0 = tmp3_bitMask0 | 2;
874
- tmp6_local2 = tmp10_input.yr(tmp0_desc, 2);
875
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
876
- tmp7_local3 = tmp10_input.wr(tmp0_desc, 3);
877
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
878
- tmp8_local4 = tmp10_input.tr(tmp0_desc, 4);
879
- tmp3_bitMask0 = tmp3_bitMask0 | 16;
880
- tmp9_local5 = tmp10_input.ur(tmp0_desc, 5);
881
- tmp3_bitMask0 = tmp3_bitMask0 | 32;
882
- } else
883
- while (tmp1_flag) {
884
- tmp2_index = tmp10_input.fs(tmp0_desc);
885
- switch (tmp2_index) {
886
- case -1:
887
- tmp1_flag = false;
888
- break;
889
- case 0:
890
- tmp4_local0 = tmp10_input.yr(tmp0_desc, 0);
891
- tmp3_bitMask0 = tmp3_bitMask0 | 1;
892
- break;
893
- case 1:
894
- tmp5_local1 = tmp10_input.yr(tmp0_desc, 1);
895
- tmp3_bitMask0 = tmp3_bitMask0 | 2;
896
- break;
897
- case 2:
898
- tmp6_local2 = tmp10_input.yr(tmp0_desc, 2);
899
- tmp3_bitMask0 = tmp3_bitMask0 | 4;
900
- break;
901
- case 3:
902
- tmp7_local3 = tmp10_input.wr(tmp0_desc, 3);
903
- tmp3_bitMask0 = tmp3_bitMask0 | 8;
904
- break;
905
- case 4:
906
- tmp8_local4 = tmp10_input.tr(tmp0_desc, 4);
907
- tmp3_bitMask0 = tmp3_bitMask0 | 16;
908
- break;
909
- case 5:
910
- tmp9_local5 = tmp10_input.ur(tmp0_desc, 5);
911
- tmp3_bitMask0 = tmp3_bitMask0 | 32;
912
- break;
913
- default:
914
- throw UnknownFieldException_init_$Create$(tmp2_index);
915
- }
916
- }
917
- tmp10_input.pr(tmp0_desc);
918
- return OpenAIConfig_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
919
- };
920
- protoOf($serializer_1).bo = function () {
921
- return this.c6o_1;
922
- };
923
- protoOf($serializer_1).vz = function () {
924
- // Inline function 'kotlin.arrayOf' call
925
- // Inline function 'kotlin.js.unsafeCast' call
926
- // Inline function 'kotlin.js.asDynamic' call
927
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), StringSerializer_getInstance(), DoubleSerializer_getInstance(), IntSerializer_getInstance(), LongSerializer_getInstance()];
928
- };
929
- var $serializer_instance_1;
930
- function $serializer_getInstance_1() {
931
- if ($serializer_instance_1 == null)
932
- new $serializer_1();
933
- return $serializer_instance_1;
934
- }
935
- function OpenAIConfig_init_$Init$(seen0, apiKey, model, baseUrl, temperature, maxTokens, timeout, serializationConstructorMarker, $this) {
936
- if (!(1 === (1 & seen0))) {
937
- throwMissingFieldException(seen0, 1, $serializer_getInstance_1().c6o_1);
938
- }
939
- $this.g6m_1 = apiKey;
940
- if (0 === (seen0 & 2))
941
- $this.h6m_1 = 'gpt-3.5-turbo';
942
- else
943
- $this.h6m_1 = model;
944
- if (0 === (seen0 & 4))
945
- $this.i6m_1 = 'https://api.openai.com/v1';
946
- else
947
- $this.i6m_1 = baseUrl;
948
- if (0 === (seen0 & 8))
949
- $this.j6m_1 = 0.7;
950
- else
951
- $this.j6m_1 = temperature;
952
- if (0 === (seen0 & 16))
953
- $this.k6m_1 = 150;
954
- else
955
- $this.k6m_1 = maxTokens;
956
- if (0 === (seen0 & 32))
957
- $this.l6m_1 = new Long(30000, 0);
958
- else
959
- $this.l6m_1 = timeout;
960
- return $this;
961
- }
962
- function OpenAIConfig_init_$Create$(seen0, apiKey, model, baseUrl, temperature, maxTokens, timeout, serializationConstructorMarker) {
963
- return OpenAIConfig_init_$Init$(seen0, apiKey, model, baseUrl, temperature, maxTokens, timeout, serializationConstructorMarker, objectCreate(protoOf(OpenAIConfig)));
964
- }
965
812
  function OpenAIConfig(apiKey, model, baseUrl, temperature, maxTokens, timeout) {
966
813
  model = model === VOID ? 'gpt-3.5-turbo' : model;
967
814
  baseUrl = baseUrl === VOID ? 'https://api.openai.com/v1' : baseUrl;
968
815
  temperature = temperature === VOID ? 0.7 : temperature;
969
816
  maxTokens = maxTokens === VOID ? 150 : maxTokens;
970
- timeout = timeout === VOID ? new Long(30000, 0) : timeout;
971
- this.g6m_1 = apiKey;
972
- this.h6m_1 = model;
973
- this.i6m_1 = baseUrl;
974
- this.j6m_1 = temperature;
975
- this.k6m_1 = maxTokens;
976
- this.l6m_1 = timeout;
817
+ timeout = timeout === VOID ? 30000 : timeout;
818
+ this.f6m_1 = apiKey;
819
+ this.g6m_1 = model;
820
+ this.h6m_1 = baseUrl;
821
+ this.i6m_1 = temperature;
822
+ this.j6m_1 = maxTokens;
823
+ this.k6m_1 = timeout;
977
824
  }
978
825
  protoOf(OpenAIConfig).toString = function () {
979
- return 'OpenAIConfig(apiKey=' + this.g6m_1 + ', model=' + this.h6m_1 + ', baseUrl=' + this.i6m_1 + ', temperature=' + this.j6m_1 + ', maxTokens=' + this.k6m_1 + ', timeout=' + this.l6m_1.toString() + ')';
826
+ return 'OpenAIConfig(apiKey=' + this.f6m_1 + ', model=' + this.g6m_1 + ', baseUrl=' + this.h6m_1 + ', temperature=' + this.i6m_1 + ', maxTokens=' + this.j6m_1 + ', timeout=' + this.k6m_1 + ')';
980
827
  };
981
828
  protoOf(OpenAIConfig).hashCode = function () {
982
- var result = getStringHashCode(this.g6m_1);
829
+ var result = getStringHashCode(this.f6m_1);
830
+ result = imul(result, 31) + getStringHashCode(this.g6m_1) | 0;
983
831
  result = imul(result, 31) + getStringHashCode(this.h6m_1) | 0;
984
- result = imul(result, 31) + getStringHashCode(this.i6m_1) | 0;
985
- result = imul(result, 31) + getNumberHashCode(this.j6m_1) | 0;
832
+ result = imul(result, 31) + getNumberHashCode(this.i6m_1) | 0;
833
+ result = imul(result, 31) + this.j6m_1 | 0;
986
834
  result = imul(result, 31) + this.k6m_1 | 0;
987
- result = imul(result, 31) + this.l6m_1.hashCode() | 0;
988
835
  return result;
989
836
  };
990
837
  protoOf(OpenAIConfig).equals = function (other) {
@@ -992,62 +839,62 @@
992
839
  return true;
993
840
  if (!(other instanceof OpenAIConfig))
994
841
  return false;
842
+ if (!(this.f6m_1 === other.f6m_1))
843
+ return false;
995
844
  if (!(this.g6m_1 === other.g6m_1))
996
845
  return false;
997
846
  if (!(this.h6m_1 === other.h6m_1))
998
847
  return false;
999
- if (!(this.i6m_1 === other.i6m_1))
848
+ if (!equals(this.i6m_1, other.i6m_1))
1000
849
  return false;
1001
- if (!equals(this.j6m_1, other.j6m_1))
850
+ if (!(this.j6m_1 === other.j6m_1))
1002
851
  return false;
1003
852
  if (!(this.k6m_1 === other.k6m_1))
1004
853
  return false;
1005
- if (!equalsLong(this.l6m_1, other.l6m_1))
1006
- return false;
1007
854
  return true;
1008
855
  };
1009
856
  function OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1() {
1010
857
  return new ArrayListSerializer($serializer_getInstance_0());
1011
858
  }
1012
- function Companion_3() {
1013
- Companion_instance_5 = this;
859
+ function Companion_2() {
860
+ Companion_instance_4 = this;
1014
861
  var tmp = this;
1015
862
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1016
863
  // Inline function 'kotlin.arrayOf' call
1017
864
  // Inline function 'kotlin.js.unsafeCast' call
1018
865
  // Inline function 'kotlin.js.asDynamic' call
1019
- tmp.e6o_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
866
+ tmp.b6o_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
1020
867
  }
1021
- var Companion_instance_5;
1022
- function Companion_getInstance_5() {
1023
- if (Companion_instance_5 == null)
1024
- new Companion_3();
1025
- return Companion_instance_5;
868
+ var Companion_instance_4;
869
+ function Companion_getInstance_4() {
870
+ if (Companion_instance_4 == null)
871
+ new Companion_2();
872
+ return Companion_instance_4;
1026
873
  }
1027
- function $serializer_2() {
1028
- $serializer_instance_2 = this;
874
+ function $serializer_1() {
875
+ $serializer_instance_1 = this;
1029
876
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIRequest', this, 4);
1030
877
  tmp0_serialDesc.gz('model', false);
1031
878
  tmp0_serialDesc.gz('messages', false);
1032
879
  tmp0_serialDesc.gz('temperature', false);
1033
880
  tmp0_serialDesc.gz('max_tokens', false);
1034
- this.f6o_1 = tmp0_serialDesc;
881
+ this.c6o_1 = tmp0_serialDesc;
1035
882
  }
1036
- protoOf($serializer_2).g6o = function (encoder, value) {
1037
- var tmp0_desc = this.f6o_1;
883
+ protoOf($serializer_1).d6o = function (encoder, value) {
884
+ var tmp0_desc = this.c6o_1;
1038
885
  var tmp1_output = encoder.or(tmp0_desc);
1039
- var tmp2_cached = Companion_getInstance_5().e6o_1;
1040
- tmp1_output.dt(tmp0_desc, 0, value.h6o_1);
1041
- tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].x(), value.i6o_1);
1042
- tmp1_output.bt(tmp0_desc, 2, value.j6o_1);
1043
- tmp1_output.ys(tmp0_desc, 3, value.k6o_1);
886
+ var tmp2_cached = Companion_getInstance_4().b6o_1;
887
+ tmp1_output.dt(tmp0_desc, 0, value.e6o_1);
888
+ tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].x(), value.f6o_1);
889
+ tmp1_output.bt(tmp0_desc, 2, value.g6o_1);
890
+ tmp1_output.ys(tmp0_desc, 3, value.h6o_1);
1044
891
  tmp1_output.pr(tmp0_desc);
1045
892
  };
1046
- protoOf($serializer_2).co = function (encoder, value) {
1047
- return this.g6o(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
893
+ protoOf($serializer_1).co = function (encoder, value) {
894
+ return this.d6o(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
1048
895
  };
1049
- protoOf($serializer_2).do = function (decoder) {
1050
- var tmp0_desc = this.f6o_1;
896
+ protoOf($serializer_1).do = function (decoder) {
897
+ var tmp0_desc = this.c6o_1;
1051
898
  var tmp1_flag = true;
1052
899
  var tmp2_index = 0;
1053
900
  var tmp3_bitMask0 = 0;
@@ -1056,7 +903,7 @@
1056
903
  var tmp6_local2 = 0.0;
1057
904
  var tmp7_local3 = 0;
1058
905
  var tmp8_input = decoder.or(tmp0_desc);
1059
- var tmp9_cached = Companion_getInstance_5().e6o_1;
906
+ var tmp9_cached = Companion_getInstance_4().b6o_1;
1060
907
  if (tmp8_input.es()) {
1061
908
  tmp4_local0 = tmp8_input.yr(tmp0_desc, 0);
1062
909
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1096,50 +943,50 @@
1096
943
  tmp8_input.pr(tmp0_desc);
1097
944
  return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1098
945
  };
1099
- protoOf($serializer_2).bo = function () {
1100
- return this.f6o_1;
946
+ protoOf($serializer_1).bo = function () {
947
+ return this.c6o_1;
1101
948
  };
1102
- protoOf($serializer_2).vz = function () {
1103
- var tmp0_cached = Companion_getInstance_5().e6o_1;
949
+ protoOf($serializer_1).vz = function () {
950
+ var tmp0_cached = Companion_getInstance_4().b6o_1;
1104
951
  // Inline function 'kotlin.arrayOf' call
1105
952
  // Inline function 'kotlin.js.unsafeCast' call
1106
953
  // Inline function 'kotlin.js.asDynamic' call
1107
954
  return [StringSerializer_getInstance(), tmp0_cached[1].x(), DoubleSerializer_getInstance(), IntSerializer_getInstance()];
1108
955
  };
1109
- var $serializer_instance_2;
1110
- function $serializer_getInstance_2() {
1111
- if ($serializer_instance_2 == null)
1112
- new $serializer_2();
1113
- return $serializer_instance_2;
956
+ var $serializer_instance_1;
957
+ function $serializer_getInstance_1() {
958
+ if ($serializer_instance_1 == null)
959
+ new $serializer_1();
960
+ return $serializer_instance_1;
1114
961
  }
1115
962
  function OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, $this) {
1116
963
  if (!(15 === (15 & seen0))) {
1117
- throwMissingFieldException(seen0, 15, $serializer_getInstance_2().f6o_1);
964
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_1().c6o_1);
1118
965
  }
1119
- $this.h6o_1 = model;
1120
- $this.i6o_1 = messages;
1121
- $this.j6o_1 = temperature;
1122
- $this.k6o_1 = maxTokens;
966
+ $this.e6o_1 = model;
967
+ $this.f6o_1 = messages;
968
+ $this.g6o_1 = temperature;
969
+ $this.h6o_1 = maxTokens;
1123
970
  return $this;
1124
971
  }
1125
972
  function OpenAIRequest_init_$Create$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker) {
1126
973
  return OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, objectCreate(protoOf(OpenAIRequest)));
1127
974
  }
1128
975
  function OpenAIRequest(model, messages, temperature, maxTokens) {
1129
- Companion_getInstance_5();
1130
- this.h6o_1 = model;
1131
- this.i6o_1 = messages;
1132
- this.j6o_1 = temperature;
1133
- this.k6o_1 = maxTokens;
976
+ Companion_getInstance_4();
977
+ this.e6o_1 = model;
978
+ this.f6o_1 = messages;
979
+ this.g6o_1 = temperature;
980
+ this.h6o_1 = maxTokens;
1134
981
  }
1135
982
  protoOf(OpenAIRequest).toString = function () {
1136
- return 'OpenAIRequest(model=' + this.h6o_1 + ', messages=' + toString(this.i6o_1) + ', temperature=' + this.j6o_1 + ', maxTokens=' + this.k6o_1 + ')';
983
+ return 'OpenAIRequest(model=' + this.e6o_1 + ', messages=' + toString(this.f6o_1) + ', temperature=' + this.g6o_1 + ', maxTokens=' + this.h6o_1 + ')';
1137
984
  };
1138
985
  protoOf(OpenAIRequest).hashCode = function () {
1139
- var result = getStringHashCode(this.h6o_1);
1140
- result = imul(result, 31) + hashCode(this.i6o_1) | 0;
1141
- result = imul(result, 31) + getNumberHashCode(this.j6o_1) | 0;
1142
- result = imul(result, 31) + this.k6o_1 | 0;
986
+ var result = getStringHashCode(this.e6o_1);
987
+ result = imul(result, 31) + hashCode(this.f6o_1) | 0;
988
+ result = imul(result, 31) + getNumberHashCode(this.g6o_1) | 0;
989
+ result = imul(result, 31) + this.h6o_1 | 0;
1143
990
  return result;
1144
991
  };
1145
992
  protoOf(OpenAIRequest).equals = function (other) {
@@ -1147,39 +994,39 @@
1147
994
  return true;
1148
995
  if (!(other instanceof OpenAIRequest))
1149
996
  return false;
1150
- if (!(this.h6o_1 === other.h6o_1))
997
+ if (!(this.e6o_1 === other.e6o_1))
1151
998
  return false;
1152
- if (!equals(this.i6o_1, other.i6o_1))
999
+ if (!equals(this.f6o_1, other.f6o_1))
1153
1000
  return false;
1154
- if (!equals(this.j6o_1, other.j6o_1))
1001
+ if (!equals(this.g6o_1, other.g6o_1))
1155
1002
  return false;
1156
- if (!(this.k6o_1 === other.k6o_1))
1003
+ if (!(this.h6o_1 === other.h6o_1))
1157
1004
  return false;
1158
1005
  return true;
1159
1006
  };
1160
- function $serializer_3() {
1161
- $serializer_instance_3 = this;
1007
+ function $serializer_2() {
1008
+ $serializer_instance_2 = this;
1162
1009
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Choice', this, 3);
1163
1010
  tmp0_serialDesc.gz('index', false);
1164
1011
  tmp0_serialDesc.gz('message', false);
1165
1012
  tmp0_serialDesc.gz('finish_reason', true);
1166
- this.l6o_1 = tmp0_serialDesc;
1013
+ this.i6o_1 = tmp0_serialDesc;
1167
1014
  }
1168
- protoOf($serializer_3).m6o = function (encoder, value) {
1169
- var tmp0_desc = this.l6o_1;
1015
+ protoOf($serializer_2).j6o = function (encoder, value) {
1016
+ var tmp0_desc = this.i6o_1;
1170
1017
  var tmp1_output = encoder.or(tmp0_desc);
1171
- tmp1_output.ys(tmp0_desc, 0, value.n6o_1);
1172
- tmp1_output.ft(tmp0_desc, 1, $serializer_getInstance_0(), value.o6o_1);
1173
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.p6o_1 == null)) {
1174
- tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.p6o_1);
1018
+ tmp1_output.ys(tmp0_desc, 0, value.k6o_1);
1019
+ tmp1_output.ft(tmp0_desc, 1, $serializer_getInstance_0(), value.l6o_1);
1020
+ if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.m6o_1 == null)) {
1021
+ tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.m6o_1);
1175
1022
  }
1176
1023
  tmp1_output.pr(tmp0_desc);
1177
1024
  };
1178
- protoOf($serializer_3).co = function (encoder, value) {
1179
- return this.m6o(encoder, value instanceof Choice ? value : THROW_CCE());
1025
+ protoOf($serializer_2).co = function (encoder, value) {
1026
+ return this.j6o(encoder, value instanceof Choice ? value : THROW_CCE());
1180
1027
  };
1181
- protoOf($serializer_3).do = function (decoder) {
1182
- var tmp0_desc = this.l6o_1;
1028
+ protoOf($serializer_2).do = function (decoder) {
1029
+ var tmp0_desc = this.i6o_1;
1183
1030
  var tmp1_flag = true;
1184
1031
  var tmp2_index = 0;
1185
1032
  var tmp3_bitMask0 = 0;
@@ -1220,57 +1067,57 @@
1220
1067
  tmp7_input.pr(tmp0_desc);
1221
1068
  return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1222
1069
  };
1223
- protoOf($serializer_3).bo = function () {
1224
- return this.l6o_1;
1070
+ protoOf($serializer_2).bo = function () {
1071
+ return this.i6o_1;
1225
1072
  };
1226
- protoOf($serializer_3).vz = function () {
1073
+ protoOf($serializer_2).vz = function () {
1227
1074
  // Inline function 'kotlin.arrayOf' call
1228
1075
  // Inline function 'kotlin.js.unsafeCast' call
1229
1076
  // Inline function 'kotlin.js.asDynamic' call
1230
1077
  return [IntSerializer_getInstance(), $serializer_getInstance_0(), get_nullable(StringSerializer_getInstance())];
1231
1078
  };
1232
- var $serializer_instance_3;
1233
- function $serializer_getInstance_3() {
1234
- if ($serializer_instance_3 == null)
1235
- new $serializer_3();
1236
- return $serializer_instance_3;
1079
+ var $serializer_instance_2;
1080
+ function $serializer_getInstance_2() {
1081
+ if ($serializer_instance_2 == null)
1082
+ new $serializer_2();
1083
+ return $serializer_instance_2;
1237
1084
  }
1238
1085
  function Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, $this) {
1239
1086
  if (!(3 === (3 & seen0))) {
1240
- throwMissingFieldException(seen0, 3, $serializer_getInstance_3().l6o_1);
1087
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().i6o_1);
1241
1088
  }
1242
- $this.n6o_1 = index;
1243
- $this.o6o_1 = message;
1089
+ $this.k6o_1 = index;
1090
+ $this.l6o_1 = message;
1244
1091
  if (0 === (seen0 & 4))
1245
- $this.p6o_1 = null;
1092
+ $this.m6o_1 = null;
1246
1093
  else
1247
- $this.p6o_1 = finishReason;
1094
+ $this.m6o_1 = finishReason;
1248
1095
  return $this;
1249
1096
  }
1250
1097
  function Choice_init_$Create$(seen0, index, message, finishReason, serializationConstructorMarker) {
1251
1098
  return Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, objectCreate(protoOf(Choice)));
1252
1099
  }
1253
- function $serializer_4() {
1254
- $serializer_instance_4 = this;
1100
+ function $serializer_3() {
1101
+ $serializer_instance_3 = this;
1255
1102
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse.Usage', this, 3);
1256
1103
  tmp0_serialDesc.gz('prompt_tokens', false);
1257
1104
  tmp0_serialDesc.gz('completion_tokens', false);
1258
1105
  tmp0_serialDesc.gz('total_tokens', false);
1259
- this.q6o_1 = tmp0_serialDesc;
1106
+ this.n6o_1 = tmp0_serialDesc;
1260
1107
  }
1261
- protoOf($serializer_4).r6o = function (encoder, value) {
1262
- var tmp0_desc = this.q6o_1;
1108
+ protoOf($serializer_3).o6o = function (encoder, value) {
1109
+ var tmp0_desc = this.n6o_1;
1263
1110
  var tmp1_output = encoder.or(tmp0_desc);
1264
- tmp1_output.ys(tmp0_desc, 0, value.s6o_1);
1265
- tmp1_output.ys(tmp0_desc, 1, value.t6o_1);
1266
- tmp1_output.ys(tmp0_desc, 2, value.u6o_1);
1111
+ tmp1_output.ys(tmp0_desc, 0, value.p6o_1);
1112
+ tmp1_output.ys(tmp0_desc, 1, value.q6o_1);
1113
+ tmp1_output.ys(tmp0_desc, 2, value.r6o_1);
1267
1114
  tmp1_output.pr(tmp0_desc);
1268
1115
  };
1269
- protoOf($serializer_4).co = function (encoder, value) {
1270
- return this.r6o(encoder, value instanceof Usage ? value : THROW_CCE());
1116
+ protoOf($serializer_3).co = function (encoder, value) {
1117
+ return this.o6o(encoder, value instanceof Usage ? value : THROW_CCE());
1271
1118
  };
1272
- protoOf($serializer_4).do = function (decoder) {
1273
- var tmp0_desc = this.q6o_1;
1119
+ protoOf($serializer_3).do = function (decoder) {
1120
+ var tmp0_desc = this.n6o_1;
1274
1121
  var tmp1_flag = true;
1275
1122
  var tmp2_index = 0;
1276
1123
  var tmp3_bitMask0 = 0;
@@ -1311,45 +1158,45 @@
1311
1158
  tmp7_input.pr(tmp0_desc);
1312
1159
  return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1313
1160
  };
1314
- protoOf($serializer_4).bo = function () {
1315
- return this.q6o_1;
1161
+ protoOf($serializer_3).bo = function () {
1162
+ return this.n6o_1;
1316
1163
  };
1317
- protoOf($serializer_4).vz = function () {
1164
+ protoOf($serializer_3).vz = function () {
1318
1165
  // Inline function 'kotlin.arrayOf' call
1319
1166
  // Inline function 'kotlin.js.unsafeCast' call
1320
1167
  // Inline function 'kotlin.js.asDynamic' call
1321
1168
  return [IntSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance()];
1322
1169
  };
1323
- var $serializer_instance_4;
1324
- function $serializer_getInstance_4() {
1325
- if ($serializer_instance_4 == null)
1326
- new $serializer_4();
1327
- return $serializer_instance_4;
1170
+ var $serializer_instance_3;
1171
+ function $serializer_getInstance_3() {
1172
+ if ($serializer_instance_3 == null)
1173
+ new $serializer_3();
1174
+ return $serializer_instance_3;
1328
1175
  }
1329
1176
  function Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, $this) {
1330
1177
  if (!(7 === (7 & seen0))) {
1331
- throwMissingFieldException(seen0, 7, $serializer_getInstance_4().q6o_1);
1178
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_3().n6o_1);
1332
1179
  }
1333
- $this.s6o_1 = promptTokens;
1334
- $this.t6o_1 = completionTokens;
1335
- $this.u6o_1 = totalTokens;
1180
+ $this.p6o_1 = promptTokens;
1181
+ $this.q6o_1 = completionTokens;
1182
+ $this.r6o_1 = totalTokens;
1336
1183
  return $this;
1337
1184
  }
1338
1185
  function Usage_init_$Create$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker) {
1339
1186
  return Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, objectCreate(protoOf(Usage)));
1340
1187
  }
1341
1188
  function OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex() {
1342
- return new ArrayListSerializer($serializer_getInstance_3());
1189
+ return new ArrayListSerializer($serializer_getInstance_2());
1343
1190
  }
1344
1191
  function Choice() {
1345
1192
  }
1346
1193
  protoOf(Choice).toString = function () {
1347
- return 'Choice(index=' + this.n6o_1 + ', message=' + this.o6o_1.toString() + ', finishReason=' + this.p6o_1 + ')';
1194
+ return 'Choice(index=' + this.k6o_1 + ', message=' + this.l6o_1.toString() + ', finishReason=' + this.m6o_1 + ')';
1348
1195
  };
1349
1196
  protoOf(Choice).hashCode = function () {
1350
- var result = this.n6o_1;
1351
- result = imul(result, 31) + this.o6o_1.hashCode() | 0;
1352
- result = imul(result, 31) + (this.p6o_1 == null ? 0 : getStringHashCode(this.p6o_1)) | 0;
1197
+ var result = this.k6o_1;
1198
+ result = imul(result, 31) + this.l6o_1.hashCode() | 0;
1199
+ result = imul(result, 31) + (this.m6o_1 == null ? 0 : getStringHashCode(this.m6o_1)) | 0;
1353
1200
  return result;
1354
1201
  };
1355
1202
  protoOf(Choice).equals = function (other) {
@@ -1357,23 +1204,23 @@
1357
1204
  return true;
1358
1205
  if (!(other instanceof Choice))
1359
1206
  return false;
1360
- if (!(this.n6o_1 === other.n6o_1))
1207
+ if (!(this.k6o_1 === other.k6o_1))
1361
1208
  return false;
1362
- if (!this.o6o_1.equals(other.o6o_1))
1209
+ if (!this.l6o_1.equals(other.l6o_1))
1363
1210
  return false;
1364
- if (!(this.p6o_1 == other.p6o_1))
1211
+ if (!(this.m6o_1 == other.m6o_1))
1365
1212
  return false;
1366
1213
  return true;
1367
1214
  };
1368
1215
  function Usage() {
1369
1216
  }
1370
1217
  protoOf(Usage).toString = function () {
1371
- return 'Usage(promptTokens=' + this.s6o_1 + ', completionTokens=' + this.t6o_1 + ', totalTokens=' + this.u6o_1 + ')';
1218
+ return 'Usage(promptTokens=' + this.p6o_1 + ', completionTokens=' + this.q6o_1 + ', totalTokens=' + this.r6o_1 + ')';
1372
1219
  };
1373
1220
  protoOf(Usage).hashCode = function () {
1374
- var result = this.s6o_1;
1375
- result = imul(result, 31) + this.t6o_1 | 0;
1376
- result = imul(result, 31) + this.u6o_1 | 0;
1221
+ var result = this.p6o_1;
1222
+ result = imul(result, 31) + this.q6o_1 | 0;
1223
+ result = imul(result, 31) + this.r6o_1 | 0;
1377
1224
  return result;
1378
1225
  };
1379
1226
  protoOf(Usage).equals = function (other) {
@@ -1381,31 +1228,31 @@
1381
1228
  return true;
1382
1229
  if (!(other instanceof Usage))
1383
1230
  return false;
1384
- if (!(this.s6o_1 === other.s6o_1))
1231
+ if (!(this.p6o_1 === other.p6o_1))
1385
1232
  return false;
1386
- if (!(this.t6o_1 === other.t6o_1))
1233
+ if (!(this.q6o_1 === other.q6o_1))
1387
1234
  return false;
1388
- if (!(this.u6o_1 === other.u6o_1))
1235
+ if (!(this.r6o_1 === other.r6o_1))
1389
1236
  return false;
1390
1237
  return true;
1391
1238
  };
1392
- function Companion_4() {
1393
- Companion_instance_6 = this;
1239
+ function Companion_3() {
1240
+ Companion_instance_5 = this;
1394
1241
  var tmp = this;
1395
1242
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1396
1243
  // Inline function 'kotlin.arrayOf' call
1397
1244
  // Inline function 'kotlin.js.unsafeCast' call
1398
1245
  // Inline function 'kotlin.js.asDynamic' call
1399
- tmp.v6o_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1246
+ tmp.s6o_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1400
1247
  }
1401
- var Companion_instance_6;
1402
- function Companion_getInstance_6() {
1403
- if (Companion_instance_6 == null)
1404
- new Companion_4();
1405
- return Companion_instance_6;
1248
+ var Companion_instance_5;
1249
+ function Companion_getInstance_5() {
1250
+ if (Companion_instance_5 == null)
1251
+ new Companion_3();
1252
+ return Companion_instance_5;
1406
1253
  }
1407
- function $serializer_5() {
1408
- $serializer_instance_5 = this;
1254
+ function $serializer_4() {
1255
+ $serializer_instance_4 = this;
1409
1256
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.OpenAIResponse', this, 6);
1410
1257
  tmp0_serialDesc.gz('id', false);
1411
1258
  tmp0_serialDesc.gz('object', false);
@@ -1413,27 +1260,27 @@
1413
1260
  tmp0_serialDesc.gz('model', false);
1414
1261
  tmp0_serialDesc.gz('choices', false);
1415
1262
  tmp0_serialDesc.gz('usage', true);
1416
- this.w6o_1 = tmp0_serialDesc;
1263
+ this.t6o_1 = tmp0_serialDesc;
1417
1264
  }
1418
- protoOf($serializer_5).x6o = function (encoder, value) {
1419
- var tmp0_desc = this.w6o_1;
1265
+ protoOf($serializer_4).u6o = function (encoder, value) {
1266
+ var tmp0_desc = this.t6o_1;
1420
1267
  var tmp1_output = encoder.or(tmp0_desc);
1421
- var tmp2_cached = Companion_getInstance_6().v6o_1;
1422
- tmp1_output.dt(tmp0_desc, 0, value.y6o_1);
1423
- tmp1_output.dt(tmp0_desc, 1, value.z6o_1);
1424
- tmp1_output.zs(tmp0_desc, 2, value.a6p_1);
1425
- tmp1_output.dt(tmp0_desc, 3, value.b6p_1);
1426
- tmp1_output.ft(tmp0_desc, 4, tmp2_cached[4].x(), value.c6p_1);
1427
- if (tmp1_output.lt(tmp0_desc, 5) ? true : !(value.d6p_1 == null)) {
1428
- tmp1_output.ht(tmp0_desc, 5, $serializer_getInstance_4(), value.d6p_1);
1268
+ var tmp2_cached = Companion_getInstance_5().s6o_1;
1269
+ tmp1_output.dt(tmp0_desc, 0, value.v6o_1);
1270
+ tmp1_output.dt(tmp0_desc, 1, value.w6o_1);
1271
+ tmp1_output.zs(tmp0_desc, 2, value.x6o_1);
1272
+ tmp1_output.dt(tmp0_desc, 3, value.y6o_1);
1273
+ tmp1_output.ft(tmp0_desc, 4, tmp2_cached[4].x(), value.z6o_1);
1274
+ if (tmp1_output.lt(tmp0_desc, 5) ? true : !(value.a6p_1 == null)) {
1275
+ tmp1_output.ht(tmp0_desc, 5, $serializer_getInstance_3(), value.a6p_1);
1429
1276
  }
1430
1277
  tmp1_output.pr(tmp0_desc);
1431
1278
  };
1432
- protoOf($serializer_5).co = function (encoder, value) {
1433
- return this.x6o(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1279
+ protoOf($serializer_4).co = function (encoder, value) {
1280
+ return this.u6o(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1434
1281
  };
1435
- protoOf($serializer_5).do = function (decoder) {
1436
- var tmp0_desc = this.w6o_1;
1282
+ protoOf($serializer_4).do = function (decoder) {
1283
+ var tmp0_desc = this.t6o_1;
1437
1284
  var tmp1_flag = true;
1438
1285
  var tmp2_index = 0;
1439
1286
  var tmp3_bitMask0 = 0;
@@ -1444,7 +1291,7 @@
1444
1291
  var tmp8_local4 = null;
1445
1292
  var tmp9_local5 = null;
1446
1293
  var tmp10_input = decoder.or(tmp0_desc);
1447
- var tmp11_cached = Companion_getInstance_6().v6o_1;
1294
+ var tmp11_cached = Companion_getInstance_5().s6o_1;
1448
1295
  if (tmp10_input.es()) {
1449
1296
  tmp4_local0 = tmp10_input.yr(tmp0_desc, 0);
1450
1297
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1456,7 +1303,7 @@
1456
1303
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1457
1304
  tmp8_local4 = tmp10_input.as(tmp0_desc, 4, tmp11_cached[4].x(), tmp8_local4);
1458
1305
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1459
- tmp9_local5 = tmp10_input.cs(tmp0_desc, 5, $serializer_getInstance_4(), tmp9_local5);
1306
+ tmp9_local5 = tmp10_input.cs(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1460
1307
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1461
1308
  } else
1462
1309
  while (tmp1_flag) {
@@ -1486,7 +1333,7 @@
1486
1333
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1487
1334
  break;
1488
1335
  case 5:
1489
- tmp9_local5 = tmp10_input.cs(tmp0_desc, 5, $serializer_getInstance_4(), tmp9_local5);
1336
+ tmp9_local5 = tmp10_input.cs(tmp0_desc, 5, $serializer_getInstance_3(), tmp9_local5);
1490
1337
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1491
1338
  break;
1492
1339
  default:
@@ -1496,60 +1343,60 @@
1496
1343
  tmp10_input.pr(tmp0_desc);
1497
1344
  return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
1498
1345
  };
1499
- protoOf($serializer_5).bo = function () {
1500
- return this.w6o_1;
1346
+ protoOf($serializer_4).bo = function () {
1347
+ return this.t6o_1;
1501
1348
  };
1502
- protoOf($serializer_5).vz = function () {
1503
- var tmp0_cached = Companion_getInstance_6().v6o_1;
1349
+ protoOf($serializer_4).vz = function () {
1350
+ var tmp0_cached = Companion_getInstance_5().s6o_1;
1504
1351
  // Inline function 'kotlin.arrayOf' call
1505
1352
  // Inline function 'kotlin.js.unsafeCast' call
1506
1353
  // Inline function 'kotlin.js.asDynamic' call
1507
- return [StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[4].x(), get_nullable($serializer_getInstance_4())];
1354
+ return [StringSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), StringSerializer_getInstance(), tmp0_cached[4].x(), get_nullable($serializer_getInstance_3())];
1508
1355
  };
1509
- var $serializer_instance_5;
1510
- function $serializer_getInstance_5() {
1511
- if ($serializer_instance_5 == null)
1512
- new $serializer_5();
1513
- return $serializer_instance_5;
1356
+ var $serializer_instance_4;
1357
+ function $serializer_getInstance_4() {
1358
+ if ($serializer_instance_4 == null)
1359
+ new $serializer_4();
1360
+ return $serializer_instance_4;
1514
1361
  }
1515
1362
  function OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, $this) {
1516
1363
  if (!(31 === (31 & seen0))) {
1517
- throwMissingFieldException(seen0, 31, $serializer_getInstance_5().w6o_1);
1364
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_4().t6o_1);
1518
1365
  }
1519
- $this.y6o_1 = id;
1520
- $this.z6o_1 = objectType;
1521
- $this.a6p_1 = created;
1522
- $this.b6p_1 = model;
1523
- $this.c6p_1 = choices;
1366
+ $this.v6o_1 = id;
1367
+ $this.w6o_1 = objectType;
1368
+ $this.x6o_1 = created;
1369
+ $this.y6o_1 = model;
1370
+ $this.z6o_1 = choices;
1524
1371
  if (0 === (seen0 & 32))
1525
- $this.d6p_1 = null;
1372
+ $this.a6p_1 = null;
1526
1373
  else
1527
- $this.d6p_1 = usage;
1374
+ $this.a6p_1 = usage;
1528
1375
  return $this;
1529
1376
  }
1530
1377
  function OpenAIResponse_init_$Create$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker) {
1531
1378
  return OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, objectCreate(protoOf(OpenAIResponse)));
1532
1379
  }
1533
1380
  function OpenAIResponse(id, objectType, created, model, choices, usage) {
1534
- Companion_getInstance_6();
1381
+ Companion_getInstance_5();
1535
1382
  usage = usage === VOID ? null : usage;
1536
- this.y6o_1 = id;
1537
- this.z6o_1 = objectType;
1538
- this.a6p_1 = created;
1539
- this.b6p_1 = model;
1540
- this.c6p_1 = choices;
1541
- this.d6p_1 = usage;
1383
+ this.v6o_1 = id;
1384
+ this.w6o_1 = objectType;
1385
+ this.x6o_1 = created;
1386
+ this.y6o_1 = model;
1387
+ this.z6o_1 = choices;
1388
+ this.a6p_1 = usage;
1542
1389
  }
1543
1390
  protoOf(OpenAIResponse).toString = function () {
1544
- return 'OpenAIResponse(id=' + this.y6o_1 + ', objectType=' + this.z6o_1 + ', created=' + this.a6p_1.toString() + ', model=' + this.b6p_1 + ', choices=' + toString(this.c6p_1) + ', usage=' + toString_0(this.d6p_1) + ')';
1391
+ return 'OpenAIResponse(id=' + this.v6o_1 + ', objectType=' + this.w6o_1 + ', created=' + this.x6o_1.toString() + ', model=' + this.y6o_1 + ', choices=' + toString(this.z6o_1) + ', usage=' + toString_0(this.a6p_1) + ')';
1545
1392
  };
1546
1393
  protoOf(OpenAIResponse).hashCode = function () {
1547
- var result = getStringHashCode(this.y6o_1);
1548
- result = imul(result, 31) + getStringHashCode(this.z6o_1) | 0;
1549
- result = imul(result, 31) + this.a6p_1.hashCode() | 0;
1550
- result = imul(result, 31) + getStringHashCode(this.b6p_1) | 0;
1551
- result = imul(result, 31) + hashCode(this.c6p_1) | 0;
1552
- result = imul(result, 31) + (this.d6p_1 == null ? 0 : this.d6p_1.hashCode()) | 0;
1394
+ var result = getStringHashCode(this.v6o_1);
1395
+ result = imul(result, 31) + getStringHashCode(this.w6o_1) | 0;
1396
+ result = imul(result, 31) + this.x6o_1.hashCode() | 0;
1397
+ result = imul(result, 31) + getStringHashCode(this.y6o_1) | 0;
1398
+ result = imul(result, 31) + hashCode(this.z6o_1) | 0;
1399
+ result = imul(result, 31) + (this.a6p_1 == null ? 0 : this.a6p_1.hashCode()) | 0;
1553
1400
  return result;
1554
1401
  };
1555
1402
  protoOf(OpenAIResponse).equals = function (other) {
@@ -1557,24 +1404,24 @@
1557
1404
  return true;
1558
1405
  if (!(other instanceof OpenAIResponse))
1559
1406
  return false;
1560
- if (!(this.y6o_1 === other.y6o_1))
1407
+ if (!(this.v6o_1 === other.v6o_1))
1561
1408
  return false;
1562
- if (!(this.z6o_1 === other.z6o_1))
1409
+ if (!(this.w6o_1 === other.w6o_1))
1563
1410
  return false;
1564
- if (!equalsLong(this.a6p_1, other.a6p_1))
1411
+ if (!equalsLong(this.x6o_1, other.x6o_1))
1565
1412
  return false;
1566
- if (!(this.b6p_1 === other.b6p_1))
1413
+ if (!(this.y6o_1 === other.y6o_1))
1567
1414
  return false;
1568
- if (!equals(this.c6p_1, other.c6p_1))
1415
+ if (!equals(this.z6o_1, other.z6o_1))
1569
1416
  return false;
1570
- if (!equals(this.d6p_1, other.d6p_1))
1417
+ if (!equals(this.a6p_1, other.a6p_1))
1571
1418
  return false;
1572
1419
  return true;
1573
1420
  };
1574
1421
  function $executeRequestCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
1575
1422
  CoroutineImpl.call(this, resultContinuation);
1576
- this.m6p_1 = _this__u8e3s4;
1577
- this.n6p_1 = messages;
1423
+ this.j6p_1 = _this__u8e3s4;
1424
+ this.k6p_1 = messages;
1578
1425
  }
1579
1426
  protoOf($executeRequestCOROUTINE$).a9 = function () {
1580
1427
  var suspendResult = this.u8_1;
@@ -1585,7 +1432,7 @@
1585
1432
  case 0:
1586
1433
  this.t8_1 = 3;
1587
1434
  this.s8_1 = 1;
1588
- suspendResult = this.m6p_1.o6p_1.f6m(this.n6p_1, this);
1435
+ suspendResult = this.j6p_1.l6p_1.e6m(this.k6p_1, this);
1589
1436
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1590
1437
  return suspendResult;
1591
1438
  }
@@ -1607,9 +1454,9 @@
1607
1454
  var $this$runCatching = this_1.tl_1;
1608
1455
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1609
1456
  var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1610
- var tmp0_safe_receiver = firstOrNull(response.c6p_1);
1611
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o6o_1;
1612
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b6o_1;
1457
+ var tmp0_safe_receiver = firstOrNull(response.z6o_1);
1458
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l6o_1;
1459
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.a6o_1;
1613
1460
  var tmp_3;
1614
1461
  if (tmp2_elvis_lhs == null) {
1615
1462
  throw IllegalStateException_init_$Create$('No response from OpenAI');
@@ -1649,9 +1496,9 @@
1649
1496
  while (true);
1650
1497
  };
1651
1498
  function BaseOpenAIRepository(openAIApi) {
1652
- this.o6p_1 = openAIApi;
1499
+ this.l6p_1 = openAIApi;
1653
1500
  }
1654
- protoOf(BaseOpenAIRepository).p6p = function (messages, $completion) {
1501
+ protoOf(BaseOpenAIRepository).m6p = function (messages, $completion) {
1655
1502
  var tmp = new $executeRequestCOROUTINE$(this, messages, $completion);
1656
1503
  tmp.u8_1 = Unit_instance;
1657
1504
  tmp.v8_1 = null;
@@ -1683,9 +1530,9 @@
1683
1530
  // Inline function 'kotlin.let' call
1684
1531
  this_0.sb(getStringHashCode(take(message, 50))).d8(':');
1685
1532
  }
1686
- this_0.sb(getStringHashCode(context.p6n_1));
1533
+ this_0.sb(getStringHashCode(context.o6n_1));
1687
1534
  this_0.d8(':');
1688
- this_0.sb(getStringHashCode(context.q6n_1));
1535
+ this_0.sb(getStringHashCode(context.p6n_1));
1689
1536
  var key = this_0.toString();
1690
1537
  return key;
1691
1538
  }
@@ -1698,23 +1545,23 @@
1698
1545
  var this_0 = StringBuilder_init_$Create$();
1699
1546
  this_0.d8('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1700
1547
  this_0.d8('\n\n');
1701
- this_0.d8('Your personality: ' + context.p6n_1);
1548
+ this_0.d8('Your personality: ' + context.o6n_1);
1702
1549
  this_0.d8('\n');
1703
- this_0.d8('Current game state: ' + context.q6n_1);
1550
+ this_0.d8('Current game state: ' + context.p6n_1);
1704
1551
  this_0.d8('\n\n');
1705
1552
  this_0.d8("\u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E \u043D\u0430 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F \u0433\u0440\u0430\u0432\u0446\u044F \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E \u043C\u043E\u0432\u043E\u044E.\n\u041F\u0430\u043C'\u044F\u0442\u0430\u0439: \u0442\u0438 \u0436\u0438\u0432\u0430 \u043B\u044E\u0434\u0438\u043D\u0430 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI. \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043C\u043E\u0436\u0435\u0448 \u0442\u0440\u043E\u0445\u0438 \u043F\u043E\u043C\u0430\u0442\u044E\u043A\u0430\u0442\u0438\u0441\u044F.\n\u0412\u0410\u0416\u041B\u0418\u0412\u041E: \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u044C 1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!");
1706
- if (!(context.s6n_1 == null)) {
1707
- this_0.d8('\nYou are chatting with ' + context.s6n_1 + '.');
1553
+ if (!(context.r6n_1 == null)) {
1554
+ this_0.d8('\nYou are chatting with ' + context.r6n_1 + '.');
1708
1555
  }
1709
1556
  var tmp$ret$3 = this_0.toString();
1710
- messages.j(tmp.v6n(tmp$ret$3));
1557
+ messages.j(tmp.u6n(tmp$ret$3));
1711
1558
  // Inline function 'kotlin.collections.forEach' call
1712
- var _iterator__ex2g4s = takeLast(context.r6n_1, 5).l();
1559
+ var _iterator__ex2g4s = takeLast(context.q6n_1, 5).l();
1713
1560
  while (_iterator__ex2g4s.m()) {
1714
1561
  var element = _iterator__ex2g4s.n();
1715
- messages.j(Companion_getInstance_3().x6n(element));
1562
+ messages.j(Companion_getInstance_3().w6n(element));
1716
1563
  }
1717
- messages.j(Companion_getInstance_3().w6n(playerMessage));
1564
+ messages.j(Companion_getInstance_3().v6n(playerMessage));
1718
1565
  return messages;
1719
1566
  }
1720
1567
  function buildRandomMessagePrompt($this, context) {
@@ -1724,19 +1571,19 @@
1724
1571
  var this_0 = StringBuilder_init_$Create$();
1725
1572
  this_0.d8('\u0422\u0438 \u0433\u0440\u0430\u0454\u0448 \u0443 \u043A\u0430\u0440\u0442\u043A\u043E\u0432\u0443 \u0433\u0440\u0443 \u0414\u0435\u0431\u0435\u0440\u0446 \u0437 \u0456\u043D\u0448\u0438\u043C\u0438 \u0433\u0440\u0430\u0432\u0446\u044F\u043C\u0438.\n\u0412\u0410\u0416\u041B\u0418\u0412\u0406 \u041F\u0420\u0410\u0412\u0418\u041B\u0410:\n- \u0422\u0438 \u0416\u0418\u0412\u0410 \u041B\u042E\u0414\u0418\u041D\u0410 \u0437 \u0423\u043A\u0440\u0430\u0457\u043D\u0438, \u043D\u0435 AI \u0447\u0438 \u0431\u043E\u0442\n- \u041D\u0406\u041A\u041E\u041B\u0418 \u043D\u0435 \u0432\u0456\u0434\u043A\u0440\u0438\u0432\u0430\u0439, \u0449\u043E \u0442\u0438 \u0448\u0442\u0443\u0447\u043D\u0438\u0439 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442, \u0431\u043E\u0442 \u0430\u0431\u043E \u043A\u043E\u043C\u043F\'\u044E\u0442\u0435\u0440\n- \u042F\u043A\u0449\u043E \u0437\u0430\u043F\u0438\u0442\u0430\u044E\u0442\u044C \u0447\u0438 \u0442\u0438 \u0431\u043E\u0442/AI, \u0432\u0456\u0434\u0445\u0438\u043B\u044F\u0439 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E (\u043D\u0430\u043F\u0440. "\u0422\u0430 \u0448\u043E \u0442\u0438 \u043C\u0435\u043B\u0435\u0448?", "\u042F\u043A\u0430 AI, \u0433\u0440\u0430\u0439 \u0434\u0430\u0432\u0430\u0439")\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u043F\u0440\u043E \u0433\u0440\u0443, \u043A\u0430\u0440\u0442\u0438, \u0430\u0431\u043E \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043D\u0430 \u043F\u0440\u043E\u0441\u0442\u0456 \u043E\u0441\u043E\u0431\u0438\u0441\u0442\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F (\u0437\u0432\u0456\u0434\u043A\u0438 \u0442\u0438, \u044F\u043A \u0441\u043F\u0440\u0430\u0432\u0438, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 \u043F\u0438\u0442\u0430\u043D\u043D\u044F "\u0417\u0432\u0456\u0434\u043A\u0438 \u0442\u0438?" \u043C\u043E\u0436\u0435\u0448 \u043D\u0430\u0437\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044C-\u044F\u043A\u0435 \u043C\u0456\u0441\u0442\u043E \u0423\u043A\u0440\u0430\u0457\u043D\u0438 (\u041A\u0438\u0457\u0432, \u041B\u044C\u0432\u0456\u0432, \u0425\u0430\u0440\u043A\u0456\u0432, \u041E\u0434\u0435\u0441\u0430, \u0442\u043E\u0449\u043E)\n- \u041D\u0430 "\u042F\u043A \u0441\u043F\u0440\u0430\u0432\u0438?" \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043F\u0440\u043E\u0441\u0442\u043E \u0456 \u043A\u043E\u0440\u043E\u0442\u043A\u043E \u043F\u0440\u043E \u0433\u0440\u0443 \u0430\u0431\u043E \u0437\u0430\u0433\u0430\u043B\u044C\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\n- \u0412\u0406\u0414\u041C\u041E\u0412\u041B\u042F\u0419\u0421\u042F \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u043D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0442\u0435\u043C\u0438 (\u0440\u0435\u0446\u0435\u043F\u0442\u0438, \u0434\u043E\u043C\u0430\u0448\u043A\u0443, \u0442\u0435\u0445\u043D\u0456\u0447\u043D\u0456 \u043F\u0438\u0442\u0430\u043D\u043D\u044F, \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u0443\u0432\u0430\u043D\u043D\u044F)\n- \u041D\u0430 \u0441\u043A\u043B\u0430\u0434\u043D\u0456 \u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0456 \u0437\u0430\u043F\u0438\u0442\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u043A\u043E\u0440\u043E\u0442\u043A\u043E: "\u0422\u0430 \u043D\u0435 \u0434\u043E \u0442\u043E\u0433\u043E \u0437\u0430\u0440\u0430\u0437", "\u0413\u0440\u0430\u0439 \u043A\u0440\u0430\u0449\u0435"\n- \u0412\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0439 \u0414\u0423\u0416\u0415 \u041A\u041E\u0420\u041E\u0422\u041A\u041E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!)\n- \u0413\u043E\u0432\u043E\u0440\u0438 \u0423\u041A\u0420\u0410\u0407\u041D\u0421\u042C\u041A\u041E\u042E \u043C\u043E\u0432\u043E\u044E\n- \u0411\u0443\u0434\u044C \u043F\u0440\u044F\u043C\u0438\u043C, \u043D\u0435 \u043D\u0430\u0434\u0442\u043E \u0432\u0432\u0456\u0447\u043B\u0438\u0432\u0438\u043C\n- \u041C\u043E\u0436\u0435\u0448 \u0456\u043D\u043E\u0434\u0456 \u0432\u0436\u0438\u0432\u0430\u0442\u0438 \u043C\'\u044F\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 \u0430\u0431\u043E \u0441\u043B\u0435\u043D\u0433 ("\u0431\u043B\u044F\u0445\u0430", "\u0439\u043E\u0431\u0430\u043D\u0430", "\u0445\u0430\u043B\u0435\u043F\u0430", "\u0442\u0430 \u0439\u0434\u0438 \u0442\u0438", "\u043A\u0443\u0440\u043A\u0430 \u0442\u0432\u043E\u044F \u043C\u0430\u0442\u044C")\n- \u041D\u0415 \u0432\u0436\u0438\u0432\u0430\u0439 \u0432\u0430\u0436\u043A\u0456 \u043C\u0430\u0442\u044E\u043A\u0438 (\u0445\u0443\u0439, \u043F\u0456\u0437\u0434a, \u0457\u0431\u0430\u0442\u044C) - \u0442\u0456\u043B\u044C\u043A\u0438 \u043B\u0435\u0433\u043A\u0456\n- \u0417\u0430\u043B\u0438\u0448\u0430\u0439\u0441\u044F \u0443 \u0440\u043E\u043B\u0456 \u0437\u0430\u0432\u0436\u0434\u0438');
1726
1573
  this_0.d8('\n\n');
1727
- this_0.d8('Your personality: ' + context.p6n_1);
1574
+ this_0.d8('Your personality: ' + context.o6n_1);
1728
1575
  this_0.d8('\n');
1729
- this_0.d8('Current game state: ' + context.q6n_1);
1576
+ this_0.d8('Current game state: ' + context.p6n_1);
1730
1577
  this_0.d8('\n\n');
1731
1578
  this_0.d8('\u0417\u0433\u0435\u043D\u0435\u0440\u0443\u0439 \u0441\u043F\u043E\u043D\u0442\u0430\u043D\u043D\u0438\u0439 \u043A\u043E\u043C\u0435\u043D\u0442\u0430\u0440 \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E (1-5 \u0441\u043B\u0456\u0432 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C!).\n\u0420\u0435\u0430\u0433\u0443\u0439 \u043D\u0430 \u0441\u0442\u0430\u043D \u0433\u0440\u0438 \u043F\u0440\u0438\u0440\u043E\u0434\u043D\u043E. \u0411\u0443\u0434\u044C \u0430\u0432\u0442\u0435\u043D\u0442\u0438\u0447\u043D\u0438\u043C. \u041C\u043E\u0436\u0435\u0448 \u0432\u0436\u0438\u0442\u0438 \u043B\u0435\u0433\u043A\u0438\u0439 \u043C\u0430\u0442\u044E\u043A \u044F\u043A\u0449\u043E \u043F\u0456\u0434\u0445\u043E\u0434\u0438\u0442\u044C.');
1732
1579
  var tmp$ret$2 = this_0.toString();
1733
- return listOf([tmp.v6n(tmp$ret$2), Companion_getInstance_3().w6n('Generate a spontaneous comment about the current game situation.')]);
1580
+ return listOf([tmp.u6n(tmp$ret$2), Companion_getInstance_3().v6n('Generate a spontaneous comment about the current game situation.')]);
1734
1581
  }
1735
1582
  function $executeRequestCOROUTINE$_0(_this__u8e3s4, messages, cacheKey, resultContinuation) {
1736
1583
  CoroutineImpl.call(this, resultContinuation);
1737
- this.a6q_1 = _this__u8e3s4;
1738
- this.b6q_1 = messages;
1739
- this.c6q_1 = cacheKey;
1584
+ this.x6p_1 = _this__u8e3s4;
1585
+ this.y6p_1 = messages;
1586
+ this.z6p_1 = cacheKey;
1740
1587
  }
1741
1588
  protoOf($executeRequestCOROUTINE$_0).a9 = function () {
1742
1589
  var suspendResult = this.u8_1;
@@ -1747,7 +1594,7 @@
1747
1594
  case 0:
1748
1595
  this.t8_1 = 3;
1749
1596
  this.s8_1 = 1;
1750
- suspendResult = this.a6q_1.e6q_1.p6p(this.b6q_1, this);
1597
+ suspendResult = this.x6p_1.b6q_1.m6p(this.y6p_1, this);
1751
1598
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1752
1599
  return suspendResult;
1753
1600
  }
@@ -1769,7 +1616,7 @@
1769
1616
  var $this$runCatching = this_1.tl_1;
1770
1617
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1771
1618
  var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1772
- this.a6q_1.d6q_1.a6n(this.c6q_1, content);
1619
+ this.x6p_1.a6q_1.z6m(this.z6p_1, content);
1773
1620
  tmp_1 = _Result___init__impl__xyqfz8(content);
1774
1621
  } catch ($p) {
1775
1622
  var tmp_3;
@@ -1802,12 +1649,12 @@
1802
1649
  while (true);
1803
1650
  };
1804
1651
  function BotChatRepositoryImpl(openAIApi, cache) {
1805
- this.d6q_1 = cache;
1806
- this.e6q_1 = new BaseOpenAIRepository(openAIApi);
1652
+ this.a6q_1 = cache;
1653
+ this.b6q_1 = new BaseOpenAIRepository(openAIApi);
1807
1654
  }
1808
- protoOf(BotChatRepositoryImpl).q6p = function (playerMessage, context, $completion) {
1655
+ protoOf(BotChatRepositoryImpl).n6p = function (playerMessage, context, $completion) {
1809
1656
  var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
1810
- var tmp0_safe_receiver = this.d6q_1.t1b(cacheKey);
1657
+ var tmp0_safe_receiver = this.a6q_1.t1b(cacheKey);
1811
1658
  if (tmp0_safe_receiver == null)
1812
1659
  null;
1813
1660
  else {
@@ -1822,9 +1669,9 @@
1822
1669
  return tmp;
1823
1670
  return tmp;
1824
1671
  };
1825
- protoOf(BotChatRepositoryImpl).r6p = function (context, $completion) {
1672
+ protoOf(BotChatRepositoryImpl).o6p = function (context, $completion) {
1826
1673
  var cacheKey = buildCacheKey(this, 'random', null, context);
1827
- var tmp0_safe_receiver = this.d6q_1.t1b(cacheKey);
1674
+ var tmp0_safe_receiver = this.a6q_1.t1b(cacheKey);
1828
1675
  if (tmp0_safe_receiver == null)
1829
1676
  null;
1830
1677
  else {
@@ -1853,8 +1700,8 @@
1853
1700
  tmp = json;
1854
1701
  }
1855
1702
  json = tmp;
1856
- this.f6q_1 = json;
1857
- this.g6q_1 = new BaseOpenAIRepository(openAIApi);
1703
+ this.c6q_1 = json;
1704
+ this.d6q_1 = new BaseOpenAIRepository(openAIApi);
1858
1705
  }
1859
1706
  function aiModule(config) {
1860
1707
  return Module_init_$Create$('AIModule', VOID, VOID, aiModule$lambda(config));
@@ -1931,15 +1778,6 @@
1931
1778
  var tmp$ret$1 = tmp.n60(tmp$ret$0, null);
1932
1779
  return new UserReportsResolverRepositoryImpl(tmp$ret$1);
1933
1780
  }
1934
- function aiModule$lambda$lambda_5($this$singleton) {
1935
- // Inline function 'org.kodein.di.instance' call
1936
- var tmp = $this$singleton.o60();
1937
- // Inline function 'org.kodein.type.generic' call
1938
- var tmp_0 = typeToken(createKType(getKClass(BotChatRepository), arrayOf([]), false));
1939
- var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1940
- var tmp$ret$1 = tmp.n60(tmp$ret$0, null);
1941
- return new BotChatInteractorImpl(tmp$ret$1);
1942
- }
1943
1781
  function aiModule$lambda($config) {
1944
1782
  return function ($this$Module) {
1945
1783
  // Inline function 'org.kodein.di.bind' call
@@ -2032,41 +1870,9 @@
2032
1870
  var tmp$ret$22 = isInterface(tmp_34, TypeToken) ? tmp_34 : THROW_CCE();
2033
1871
  var tmp$ret$23 = new Singleton(tmp_31, tmp_32, tmp_33, tmp$ret$22, null, true, creator_4);
2034
1872
  tmp_30.z62(tmp$ret$23);
2035
- // Inline function 'org.kodein.di.bind' call
2036
- // Inline function 'org.kodein.type.generic' call
2037
- var tmp_35 = typeToken(createKType(getKClass(BotChatInteractor), arrayOf([]), false));
2038
- var tmp$ret$24 = isInterface(tmp_35, TypeToken) ? tmp_35 : THROW_CCE();
2039
- var tmp_36 = $this$Module.b5z(tmp$ret$24, null, null);
2040
- // Inline function 'org.kodein.di.singleton' call
2041
- var creator_5 = aiModule$lambda$lambda_5;
2042
- var tmp_37 = $this$Module.g5z();
2043
- var tmp_38 = $this$Module.e5z();
2044
- var tmp_39 = $this$Module.f5z();
2045
- // Inline function 'org.kodein.type.generic' call
2046
- var tmp_40 = typeToken(createKType(getKClass(BotChatInteractorImpl), arrayOf([]), false));
2047
- var tmp$ret$26 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
2048
- var tmp$ret$27 = new Singleton(tmp_37, tmp_38, tmp_39, tmp$ret$26, null, true, creator_5);
2049
- tmp_36.z62(tmp$ret$27);
2050
1873
  return Unit_instance;
2051
1874
  };
2052
1875
  }
2053
- function BotChatInteractor() {
2054
- }
2055
- function BotChatInteractorImpl(repository) {
2056
- this.h6q_1 = repository;
2057
- }
2058
- protoOf(BotChatInteractorImpl).q6p = function (playerMessage, context, $completion) {
2059
- var tmp = this.h6q_1.q6p(playerMessage, context, $completion);
2060
- if (tmp === get_COROUTINE_SUSPENDED())
2061
- return tmp;
2062
- return tmp;
2063
- };
2064
- protoOf(BotChatInteractorImpl).r6p = function (context, $completion) {
2065
- var tmp = this.h6q_1.r6p(context, $completion);
2066
- if (tmp === get_COROUTINE_SUSPENDED())
2067
- return tmp;
2068
- return tmp;
2069
- };
2070
1876
  //region block: post-declaration
2071
1877
  protoOf($serializer).wz = typeParametersSerializers;
2072
1878
  protoOf($serializer_0).wz = typeParametersSerializers;
@@ -2074,17 +1880,13 @@
2074
1880
  protoOf($serializer_2).wz = typeParametersSerializers;
2075
1881
  protoOf($serializer_3).wz = typeParametersSerializers;
2076
1882
  protoOf($serializer_4).wz = typeParametersSerializers;
2077
- protoOf($serializer_5).wz = typeParametersSerializers;
2078
- //endregion
2079
- //region block: init
2080
- Companion_instance_4 = new Companion_2();
2081
1883
  //endregion
2082
1884
  //region block: exports
2083
1885
  _.$_$ = _.$_$ || {};
2084
1886
  _.$_$.a = BotChatContext;
2085
1887
  _.$_$.b = OpenAIConfig;
2086
- _.$_$.c = aiModule;
2087
- _.$_$.d = BotChatInteractor;
1888
+ _.$_$.c = BotChatRepository;
1889
+ _.$_$.d = aiModule;
2088
1890
  _.$_$.e = BotChatConfig_getInstance;
2089
1891
  //endregion
2090
1892
  return _;