game_client_logic_deb 1.8.411 → 1.8.413

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.
@@ -175,14 +175,14 @@
175
175
  }
176
176
  function OpenAIApiImpl$chatCompletion$lambda(this$0) {
177
177
  return function ($this$headers) {
178
- $this$headers.s38(HttpHeaders_getInstance().o3e_1, 'Bearer ' + this$0.t6h_1.n6h_1);
178
+ $this$headers.s38(HttpHeaders_getInstance().o3e_1, 'Bearer ' + this$0.u6h_1.o6h_1);
179
179
  return Unit_instance;
180
180
  };
181
181
  }
182
182
  function $chatCompletionCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
183
183
  CoroutineImpl.call(this, resultContinuation);
184
- this.d6i_1 = _this__u8e3s4;
185
- this.e6i_1 = messages;
184
+ this.e6i_1 = _this__u8e3s4;
185
+ this.f6i_1 = messages;
186
186
  }
187
187
  protoOf($chatCompletionCOROUTINE$).a9 = function () {
188
188
  var suspendResult = this.u8_1;
@@ -193,12 +193,12 @@
193
193
  case 0:
194
194
  this.t8_1 = 4;
195
195
  this.t8_1 = 3;
196
- var request = new OpenAIRequest(this.d6i_1.t6h_1.o6h_1, this.e6i_1, this.d6i_1.t6h_1.q6h_1, this.d6i_1.t6h_1.r6h_1);
197
- var tmp0 = this.d6i_1.u6h_1;
198
- var urlString = this.d6i_1.t6h_1.p6h_1 + '/chat/completions';
196
+ var request = new OpenAIRequest(this.e6i_1.u6h_1.p6h_1, this.f6i_1, this.e6i_1.u6h_1.r6h_1, this.e6i_1.u6h_1.s6h_1);
197
+ var tmp0 = this.e6i_1.v6h_1;
198
+ var urlString = this.e6i_1.u6h_1.q6h_1 + '/chat/completions';
199
199
  var this_0 = new HttpRequestBuilder();
200
200
  url(this_0, urlString);
201
- headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.d6i_1));
201
+ headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.e6i_1));
202
202
  contentType(this_0, Application_getInstance().t3c_1);
203
203
  if (request == null) {
204
204
  this_0.k3r_1 = NullBody_instance;
@@ -254,7 +254,7 @@
254
254
  case 1:
255
255
  var response = suspendResult;
256
256
  var tmp_8 = this;
257
- tmp_8.g6i_1 = Companion_instance;
257
+ tmp_8.h6i_1 = Companion_instance;
258
258
  this.s8_1 = 2;
259
259
  var tmp_9 = response.l3u();
260
260
  var tmp_10 = JsType_instance;
@@ -282,8 +282,8 @@
282
282
  case 2:
283
283
  var tmp2 = suspendResult instanceof OpenAIResponse ? suspendResult : THROW_CCE();
284
284
  var tmp_14 = this;
285
- this.g6i_1;
286
- tmp_14.f6i_1 = _Result___init__impl__xyqfz8(tmp2);
285
+ this.h6i_1;
286
+ tmp_14.g6i_1 = _Result___init__impl__xyqfz8(tmp2);
287
287
  this.t8_1 = 4;
288
288
  this.s8_1 = 5;
289
289
  continue $sm;
@@ -293,7 +293,7 @@
293
293
  if (tmp_15 instanceof Exception) {
294
294
  var e = this.v8_1;
295
295
  var tmp_16 = this;
296
- tmp_16.f6i_1 = _Result___init__impl__xyqfz8(createFailure(e));
296
+ tmp_16.g6i_1 = _Result___init__impl__xyqfz8(createFailure(e));
297
297
  this.s8_1 = 5;
298
298
  continue $sm;
299
299
  } else {
@@ -304,7 +304,7 @@
304
304
  throw this.v8_1;
305
305
  case 5:
306
306
  this.t8_1 = 4;
307
- return new Result(this.f6i_1);
307
+ return new Result(this.g6i_1);
308
308
  }
309
309
  } catch ($p) {
310
310
  var e_0 = $p;
@@ -318,10 +318,10 @@
318
318
  while (true);
319
319
  };
320
320
  function OpenAIApiImpl(config, httpClient) {
321
- this.t6h_1 = config;
322
- this.u6h_1 = httpClient;
321
+ this.u6h_1 = config;
322
+ this.v6h_1 = httpClient;
323
323
  }
324
- protoOf(OpenAIApiImpl).m6h = function (messages, $completion) {
324
+ protoOf(OpenAIApiImpl).n6h = function (messages, $completion) {
325
325
  var tmp = new $chatCompletionCOROUTINE$(this, messages, $completion);
326
326
  tmp.u8_1 = Unit_instance;
327
327
  tmp.v8_1 = null;
@@ -333,15 +333,15 @@
333
333
  function BotChatCache() {
334
334
  }
335
335
  function CacheEntry(value, timestamp) {
336
- this.i6i_1 = value;
337
- this.j6i_1 = timestamp;
336
+ this.j6i_1 = value;
337
+ this.k6i_1 = timestamp;
338
338
  }
339
339
  protoOf(CacheEntry).toString = function () {
340
- return 'CacheEntry(value=' + this.i6i_1 + ', timestamp=' + this.j6i_1.toString() + ')';
340
+ return 'CacheEntry(value=' + this.j6i_1 + ', timestamp=' + this.k6i_1.toString() + ')';
341
341
  };
342
342
  protoOf(CacheEntry).hashCode = function () {
343
- var result = getStringHashCode(this.i6i_1);
344
- result = imul(result, 31) + this.j6i_1.hashCode() | 0;
343
+ var result = getStringHashCode(this.j6i_1);
344
+ result = imul(result, 31) + this.k6i_1.hashCode() | 0;
345
345
  return result;
346
346
  };
347
347
  protoOf(CacheEntry).equals = function (other) {
@@ -349,36 +349,36 @@
349
349
  return true;
350
350
  if (!(other instanceof CacheEntry))
351
351
  return false;
352
- if (!(this.i6i_1 === other.i6i_1))
352
+ if (!(this.j6i_1 === other.j6i_1))
353
353
  return false;
354
- if (!equalsLong(this.j6i_1, other.j6i_1))
354
+ if (!equalsLong(this.k6i_1, other.k6i_1))
355
355
  return false;
356
356
  return true;
357
357
  };
358
358
  function cleanExpired($this) {
359
359
  var now = System_instance.ck().qk();
360
- var tmp = $this.m6i_1.v();
360
+ var tmp = $this.n6i_1.v();
361
361
  removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
362
362
  }
363
363
  function InMemoryBotChatCache$cleanExpired$lambda($now, this$0) {
364
364
  return function (_destruct__k2r9zo) {
365
365
  // Inline function 'kotlin.collections.component2' call
366
366
  var entry = _destruct__k2r9zo.x();
367
- return compare(subtract($now, entry.j6i_1), this$0.k6i_1) > 0;
367
+ return compare(subtract($now, entry.k6i_1), this$0.l6i_1) > 0;
368
368
  };
369
369
  }
370
370
  function InMemoryBotChatCache(ttlMillis, maxSize) {
371
371
  ttlMillis = ttlMillis === VOID ? new Long(300000, 0) : ttlMillis;
372
372
  maxSize = maxSize === VOID ? 100 : maxSize;
373
- this.k6i_1 = ttlMillis;
374
- this.l6i_1 = maxSize;
373
+ this.l6i_1 = ttlMillis;
374
+ this.m6i_1 = maxSize;
375
375
  var tmp = this;
376
376
  // Inline function 'kotlin.collections.mutableMapOf' call
377
- tmp.m6i_1 = LinkedHashMap_init_$Create$();
377
+ tmp.n6i_1 = LinkedHashMap_init_$Create$();
378
378
  }
379
379
  protoOf(InMemoryBotChatCache).t1b = function (key) {
380
380
  cleanExpired(this);
381
- var tmp0_elvis_lhs = this.m6i_1.c2(key);
381
+ var tmp0_elvis_lhs = this.n6i_1.c2(key);
382
382
  var tmp;
383
383
  if (tmp0_elvis_lhs == null) {
384
384
  return null;
@@ -386,17 +386,17 @@
386
386
  tmp = tmp0_elvis_lhs;
387
387
  }
388
388
  var entry = tmp;
389
- if (compare(subtract(System_instance.ck().qk(), entry.j6i_1), this.k6i_1) > 0) {
390
- this.m6i_1.g2(key);
389
+ if (compare(subtract(System_instance.ck().qk(), entry.k6i_1), this.l6i_1) > 0) {
390
+ this.n6i_1.g2(key);
391
391
  return null;
392
392
  }
393
- return entry.i6i_1;
393
+ return entry.j6i_1;
394
394
  };
395
- protoOf(InMemoryBotChatCache).h6i = function (key, value) {
395
+ protoOf(InMemoryBotChatCache).i6i = function (key, value) {
396
396
  cleanExpired(this);
397
- if (this.m6i_1.o() >= this.l6i_1) {
397
+ if (this.n6i_1.o() >= this.m6i_1) {
398
398
  // Inline function 'kotlin.collections.minByOrNull' call
399
- var tmp0 = this.m6i_1.v();
399
+ var tmp0 = this.n6i_1.v();
400
400
  var tmp$ret$0;
401
401
  $l$block_0: {
402
402
  // Inline function 'kotlin.collections.minByOrNull' call
@@ -410,10 +410,10 @@
410
410
  tmp$ret$0 = minElem;
411
411
  break $l$block_0;
412
412
  }
413
- var minValue = minElem.x().j6i_1;
413
+ var minValue = minElem.x().k6i_1;
414
414
  do {
415
415
  var e = iterator.n();
416
- var v = e.x().j6i_1;
416
+ var v = e.x().k6i_1;
417
417
  if (compareTo(minValue, v) > 0) {
418
418
  minElem = e;
419
419
  minValue = v;
@@ -428,24 +428,24 @@
428
428
  null;
429
429
  else {
430
430
  // Inline function 'kotlin.let' call
431
- this.m6i_1.g2(oldestKey);
431
+ this.n6i_1.g2(oldestKey);
432
432
  }
433
433
  }
434
- var tmp0_0 = this.m6i_1;
434
+ var tmp0_0 = this.n6i_1;
435
435
  // Inline function 'kotlin.collections.set' call
436
436
  var value_0 = new CacheEntry(value, System_instance.ck().qk());
437
437
  tmp0_0.f2(key, value_0);
438
438
  };
439
439
  function BotChatConfig() {
440
440
  BotChatConfig_instance = this;
441
- this.n6i_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.o6i_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.p6i_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.q6i_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.r6i_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).s6i = function (playerNumber) {
448
- var tmp0_elvis_lhs = this.n6i_1.c2(playerNumber % this.n6i_1.o() | 0);
441
+ this.o6i_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.p6i_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.q6i_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.r6i_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.s6i_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).t6i = function (playerNumber) {
448
+ var tmp0_elvis_lhs = this.o6i_1.c2(playerNumber % this.o6i_1.o() | 0);
449
449
  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
450
  };
451
451
  var BotChatConfig_instance;
@@ -464,7 +464,7 @@
464
464
  // Inline function 'kotlin.arrayOf' call
465
465
  // Inline function 'kotlin.js.unsafeCast' call
466
466
  // Inline function 'kotlin.js.asDynamic' call
467
- tmp.t6i_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
467
+ tmp.u6i_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
468
468
  }
469
469
  var Companion_instance_1;
470
470
  function Companion_getInstance_1() {
@@ -479,27 +479,27 @@
479
479
  tmp0_serialDesc.gz('gameState', false);
480
480
  tmp0_serialDesc.gz('conversationHistory', true);
481
481
  tmp0_serialDesc.gz('playerName', true);
482
- this.u6i_1 = tmp0_serialDesc;
482
+ this.v6i_1 = tmp0_serialDesc;
483
483
  }
484
- protoOf($serializer).v6i = function (encoder, value) {
485
- var tmp0_desc = this.u6i_1;
484
+ protoOf($serializer).w6i = function (encoder, value) {
485
+ var tmp0_desc = this.v6i_1;
486
486
  var tmp1_output = encoder.or(tmp0_desc);
487
- var tmp2_cached = Companion_getInstance_1().t6i_1;
488
- tmp1_output.dt(tmp0_desc, 0, value.w6i_1);
489
- tmp1_output.dt(tmp0_desc, 1, value.x6i_1);
490
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !equals(value.y6i_1, emptyList())) {
491
- tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.y6i_1);
487
+ var tmp2_cached = Companion_getInstance_1().u6i_1;
488
+ tmp1_output.dt(tmp0_desc, 0, value.x6i_1);
489
+ tmp1_output.dt(tmp0_desc, 1, value.y6i_1);
490
+ if (tmp1_output.lt(tmp0_desc, 2) ? true : !equals(value.z6i_1, emptyList())) {
491
+ tmp1_output.ft(tmp0_desc, 2, tmp2_cached[2].x(), value.z6i_1);
492
492
  }
493
- if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.z6i_1 == null)) {
494
- tmp1_output.ht(tmp0_desc, 3, StringSerializer_getInstance(), value.z6i_1);
493
+ if (tmp1_output.lt(tmp0_desc, 3) ? true : !(value.a6j_1 == null)) {
494
+ tmp1_output.ht(tmp0_desc, 3, StringSerializer_getInstance(), value.a6j_1);
495
495
  }
496
496
  tmp1_output.pr(tmp0_desc);
497
497
  };
498
498
  protoOf($serializer).co = function (encoder, value) {
499
- return this.v6i(encoder, value instanceof BotChatContext ? value : THROW_CCE());
499
+ return this.w6i(encoder, value instanceof BotChatContext ? value : THROW_CCE());
500
500
  };
501
501
  protoOf($serializer).do = function (decoder) {
502
- var tmp0_desc = this.u6i_1;
502
+ var tmp0_desc = this.v6i_1;
503
503
  var tmp1_flag = true;
504
504
  var tmp2_index = 0;
505
505
  var tmp3_bitMask0 = 0;
@@ -508,7 +508,7 @@
508
508
  var tmp6_local2 = null;
509
509
  var tmp7_local3 = null;
510
510
  var tmp8_input = decoder.or(tmp0_desc);
511
- var tmp9_cached = Companion_getInstance_1().t6i_1;
511
+ var tmp9_cached = Companion_getInstance_1().u6i_1;
512
512
  if (tmp8_input.es()) {
513
513
  tmp4_local0 = tmp8_input.yr(tmp0_desc, 0);
514
514
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -549,10 +549,10 @@
549
549
  return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
550
550
  };
551
551
  protoOf($serializer).bo = function () {
552
- return this.u6i_1;
552
+ return this.v6i_1;
553
553
  };
554
554
  protoOf($serializer).vz = function () {
555
- var tmp0_cached = Companion_getInstance_1().t6i_1;
555
+ var tmp0_cached = Companion_getInstance_1().u6i_1;
556
556
  // Inline function 'kotlin.arrayOf' call
557
557
  // Inline function 'kotlin.js.unsafeCast' call
558
558
  // Inline function 'kotlin.js.asDynamic' call
@@ -566,18 +566,18 @@
566
566
  }
567
567
  function BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, $this) {
568
568
  if (!(3 === (3 & seen0))) {
569
- throwMissingFieldException(seen0, 3, $serializer_getInstance().u6i_1);
569
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().v6i_1);
570
570
  }
571
- $this.w6i_1 = botPersonality;
572
- $this.x6i_1 = gameState;
571
+ $this.x6i_1 = botPersonality;
572
+ $this.y6i_1 = gameState;
573
573
  if (0 === (seen0 & 4))
574
- $this.y6i_1 = emptyList();
574
+ $this.z6i_1 = emptyList();
575
575
  else
576
- $this.y6i_1 = conversationHistory;
576
+ $this.z6i_1 = conversationHistory;
577
577
  if (0 === (seen0 & 8))
578
- $this.z6i_1 = null;
578
+ $this.a6j_1 = null;
579
579
  else
580
- $this.z6i_1 = playerName;
580
+ $this.a6j_1 = playerName;
581
581
  return $this;
582
582
  }
583
583
  function BotChatContext_init_$Create$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker) {
@@ -587,19 +587,19 @@
587
587
  Companion_getInstance_1();
588
588
  conversationHistory = conversationHistory === VOID ? emptyList() : conversationHistory;
589
589
  playerName = playerName === VOID ? null : playerName;
590
- this.w6i_1 = botPersonality;
591
- this.x6i_1 = gameState;
592
- this.y6i_1 = conversationHistory;
593
- this.z6i_1 = playerName;
590
+ this.x6i_1 = botPersonality;
591
+ this.y6i_1 = gameState;
592
+ this.z6i_1 = conversationHistory;
593
+ this.a6j_1 = playerName;
594
594
  }
595
595
  protoOf(BotChatContext).toString = function () {
596
- return 'BotChatContext(botPersonality=' + this.w6i_1 + ', gameState=' + this.x6i_1 + ', conversationHistory=' + toString(this.y6i_1) + ', playerName=' + this.z6i_1 + ')';
596
+ return 'BotChatContext(botPersonality=' + this.x6i_1 + ', gameState=' + this.y6i_1 + ', conversationHistory=' + toString(this.z6i_1) + ', playerName=' + this.a6j_1 + ')';
597
597
  };
598
598
  protoOf(BotChatContext).hashCode = function () {
599
- var result = getStringHashCode(this.w6i_1);
600
- result = imul(result, 31) + getStringHashCode(this.x6i_1) | 0;
601
- result = imul(result, 31) + hashCode(this.y6i_1) | 0;
602
- result = imul(result, 31) + (this.z6i_1 == null ? 0 : getStringHashCode(this.z6i_1)) | 0;
599
+ var result = getStringHashCode(this.x6i_1);
600
+ result = imul(result, 31) + getStringHashCode(this.y6i_1) | 0;
601
+ result = imul(result, 31) + hashCode(this.z6i_1) | 0;
602
+ result = imul(result, 31) + (this.a6j_1 == null ? 0 : getStringHashCode(this.a6j_1)) | 0;
603
603
  return result;
604
604
  };
605
605
  protoOf(BotChatContext).equals = function (other) {
@@ -607,18 +607,18 @@
607
607
  return true;
608
608
  if (!(other instanceof BotChatContext))
609
609
  return false;
610
- if (!(this.w6i_1 === other.w6i_1))
611
- return false;
612
610
  if (!(this.x6i_1 === other.x6i_1))
613
611
  return false;
614
- if (!equals(this.y6i_1, other.y6i_1))
612
+ if (!(this.y6i_1 === other.y6i_1))
613
+ return false;
614
+ if (!equals(this.z6i_1, other.z6i_1))
615
615
  return false;
616
- if (!(this.z6i_1 == other.z6i_1))
616
+ if (!(this.a6j_1 == other.a6j_1))
617
617
  return false;
618
618
  return true;
619
619
  };
620
620
  function _get_$cachedSerializer__te6jhj($this) {
621
- return $this.a6j_1.x();
621
+ return $this.b6j_1.x();
622
622
  }
623
623
  function ChatMessage$Role$Companion$_anonymous__13jozo() {
624
624
  var tmp = values();
@@ -642,7 +642,7 @@
642
642
  Companion_instance_2 = this;
643
643
  var tmp = this;
644
644
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
645
- tmp.a6j_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
645
+ tmp.b6j_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
646
646
  }
647
647
  protoOf(Companion_0).a1c = function () {
648
648
  return _get_$cachedSerializer__te6jhj(this);
@@ -680,15 +680,15 @@
680
680
  // Inline function 'kotlin.arrayOf' call
681
681
  // Inline function 'kotlin.js.unsafeCast' call
682
682
  // Inline function 'kotlin.js.asDynamic' call
683
- tmp.b6j_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
683
+ tmp.c6j_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
684
684
  }
685
- protoOf(Companion_1).c6j = function (content) {
685
+ protoOf(Companion_1).d6j = function (content) {
686
686
  return new ChatMessage(Role_SYSTEM_getInstance(), content);
687
687
  };
688
- protoOf(Companion_1).d6j = function (content) {
688
+ protoOf(Companion_1).e6j = function (content) {
689
689
  return new ChatMessage(Role_USER_getInstance(), content);
690
690
  };
691
- protoOf(Companion_1).e6j = function (content) {
691
+ protoOf(Companion_1).f6j = function (content) {
692
692
  return new ChatMessage(Role_ASSISTANT_getInstance(), content);
693
693
  };
694
694
  var Companion_instance_3;
@@ -702,28 +702,28 @@
702
702
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
703
703
  tmp0_serialDesc.gz('role', false);
704
704
  tmp0_serialDesc.gz('content', false);
705
- this.f6j_1 = tmp0_serialDesc;
705
+ this.g6j_1 = tmp0_serialDesc;
706
706
  }
707
- protoOf($serializer_0).g6j = function (encoder, value) {
708
- var tmp0_desc = this.f6j_1;
707
+ protoOf($serializer_0).h6j = function (encoder, value) {
708
+ var tmp0_desc = this.g6j_1;
709
709
  var tmp1_output = encoder.or(tmp0_desc);
710
- var tmp2_cached = Companion_getInstance_3().b6j_1;
711
- tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.h6j_1);
712
- tmp1_output.dt(tmp0_desc, 1, value.i6j_1);
710
+ var tmp2_cached = Companion_getInstance_3().c6j_1;
711
+ tmp1_output.ft(tmp0_desc, 0, tmp2_cached[0].x(), value.i6j_1);
712
+ tmp1_output.dt(tmp0_desc, 1, value.j6j_1);
713
713
  tmp1_output.pr(tmp0_desc);
714
714
  };
715
715
  protoOf($serializer_0).co = function (encoder, value) {
716
- return this.g6j(encoder, value instanceof ChatMessage ? value : THROW_CCE());
716
+ return this.h6j(encoder, value instanceof ChatMessage ? value : THROW_CCE());
717
717
  };
718
718
  protoOf($serializer_0).do = function (decoder) {
719
- var tmp0_desc = this.f6j_1;
719
+ var tmp0_desc = this.g6j_1;
720
720
  var tmp1_flag = true;
721
721
  var tmp2_index = 0;
722
722
  var tmp3_bitMask0 = 0;
723
723
  var tmp4_local0 = null;
724
724
  var tmp5_local1 = null;
725
725
  var tmp6_input = decoder.or(tmp0_desc);
726
- var tmp7_cached = Companion_getInstance_3().b6j_1;
726
+ var tmp7_cached = Companion_getInstance_3().c6j_1;
727
727
  if (tmp6_input.es()) {
728
728
  tmp4_local0 = tmp6_input.as(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
729
729
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -752,13 +752,13 @@
752
752
  return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
753
753
  };
754
754
  protoOf($serializer_0).bo = function () {
755
- return this.f6j_1;
755
+ return this.g6j_1;
756
756
  };
757
757
  protoOf($serializer_0).vz = function () {
758
758
  // Inline function 'kotlin.arrayOf' call
759
759
  // Inline function 'kotlin.js.unsafeCast' call
760
760
  // Inline function 'kotlin.js.asDynamic' call
761
- return [Companion_getInstance_3().b6j_1[0].x(), StringSerializer_getInstance()];
761
+ return [Companion_getInstance_3().c6j_1[0].x(), StringSerializer_getInstance()];
762
762
  };
763
763
  var $serializer_instance_0;
764
764
  function $serializer_getInstance_0() {
@@ -768,10 +768,10 @@
768
768
  }
769
769
  function ChatMessage_init_$Init$(seen0, role, content, serializationConstructorMarker, $this) {
770
770
  if (!(3 === (3 & seen0))) {
771
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().f6j_1);
771
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().g6j_1);
772
772
  }
773
- $this.h6j_1 = role;
774
- $this.i6j_1 = content;
773
+ $this.i6j_1 = role;
774
+ $this.j6j_1 = content;
775
775
  return $this;
776
776
  }
777
777
  function ChatMessage_init_$Create$(seen0, role, content, serializationConstructorMarker) {
@@ -791,15 +791,15 @@
791
791
  }
792
792
  function ChatMessage(role, content) {
793
793
  Companion_getInstance_3();
794
- this.h6j_1 = role;
795
- this.i6j_1 = content;
794
+ this.i6j_1 = role;
795
+ this.j6j_1 = content;
796
796
  }
797
797
  protoOf(ChatMessage).toString = function () {
798
- return 'ChatMessage(role=' + this.h6j_1.toString() + ', content=' + this.i6j_1 + ')';
798
+ return 'ChatMessage(role=' + this.i6j_1.toString() + ', content=' + this.j6j_1 + ')';
799
799
  };
800
800
  protoOf(ChatMessage).hashCode = function () {
801
- var result = this.h6j_1.hashCode();
802
- result = imul(result, 31) + getStringHashCode(this.i6j_1) | 0;
801
+ var result = this.i6j_1.hashCode();
802
+ result = imul(result, 31) + getStringHashCode(this.j6j_1) | 0;
803
803
  return result;
804
804
  };
805
805
  protoOf(ChatMessage).equals = function (other) {
@@ -807,9 +807,9 @@
807
807
  return true;
808
808
  if (!(other instanceof ChatMessage))
809
809
  return false;
810
- if (!this.h6j_1.equals(other.h6j_1))
810
+ if (!this.i6j_1.equals(other.i6j_1))
811
811
  return false;
812
- if (!(this.i6j_1 === other.i6j_1))
812
+ if (!(this.j6j_1 === other.j6j_1))
813
813
  return false;
814
814
  return true;
815
815
  };
@@ -828,34 +828,34 @@
828
828
  tmp0_serialDesc.gz('temperature', true);
829
829
  tmp0_serialDesc.gz('maxTokens', true);
830
830
  tmp0_serialDesc.gz('timeout', true);
831
- this.j6j_1 = tmp0_serialDesc;
831
+ this.k6j_1 = tmp0_serialDesc;
832
832
  }
833
- protoOf($serializer_1).k6j = function (encoder, value) {
834
- var tmp0_desc = this.j6j_1;
833
+ protoOf($serializer_1).l6j = function (encoder, value) {
834
+ var tmp0_desc = this.k6j_1;
835
835
  var tmp1_output = encoder.or(tmp0_desc);
836
- tmp1_output.dt(tmp0_desc, 0, value.n6h_1);
837
- if (tmp1_output.lt(tmp0_desc, 1) ? true : !(value.o6h_1 === 'gpt-3.5-turbo')) {
838
- tmp1_output.dt(tmp0_desc, 1, value.o6h_1);
836
+ tmp1_output.dt(tmp0_desc, 0, value.o6h_1);
837
+ if (tmp1_output.lt(tmp0_desc, 1) ? true : !(value.p6h_1 === 'gpt-3.5-turbo')) {
838
+ tmp1_output.dt(tmp0_desc, 1, value.p6h_1);
839
839
  }
840
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.p6h_1 === 'https://api.openai.com/v1')) {
841
- tmp1_output.dt(tmp0_desc, 2, value.p6h_1);
840
+ if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.q6h_1 === 'https://api.openai.com/v1')) {
841
+ tmp1_output.dt(tmp0_desc, 2, value.q6h_1);
842
842
  }
843
- if (tmp1_output.lt(tmp0_desc, 3) ? true : !equals(value.q6h_1, 0.7)) {
844
- tmp1_output.bt(tmp0_desc, 3, value.q6h_1);
843
+ if (tmp1_output.lt(tmp0_desc, 3) ? true : !equals(value.r6h_1, 0.7)) {
844
+ tmp1_output.bt(tmp0_desc, 3, value.r6h_1);
845
845
  }
846
- if (tmp1_output.lt(tmp0_desc, 4) ? true : !(value.r6h_1 === 150)) {
847
- tmp1_output.ys(tmp0_desc, 4, value.r6h_1);
846
+ if (tmp1_output.lt(tmp0_desc, 4) ? true : !(value.s6h_1 === 150)) {
847
+ tmp1_output.ys(tmp0_desc, 4, value.s6h_1);
848
848
  }
849
- if (tmp1_output.lt(tmp0_desc, 5) ? true : !equalsLong(value.s6h_1, new Long(30000, 0))) {
850
- tmp1_output.zs(tmp0_desc, 5, value.s6h_1);
849
+ if (tmp1_output.lt(tmp0_desc, 5) ? true : !equalsLong(value.t6h_1, new Long(30000, 0))) {
850
+ tmp1_output.zs(tmp0_desc, 5, value.t6h_1);
851
851
  }
852
852
  tmp1_output.pr(tmp0_desc);
853
853
  };
854
854
  protoOf($serializer_1).co = function (encoder, value) {
855
- return this.k6j(encoder, value instanceof OpenAIConfig ? value : THROW_CCE());
855
+ return this.l6j(encoder, value instanceof OpenAIConfig ? value : THROW_CCE());
856
856
  };
857
857
  protoOf($serializer_1).do = function (decoder) {
858
- var tmp0_desc = this.j6j_1;
858
+ var tmp0_desc = this.k6j_1;
859
859
  var tmp1_flag = true;
860
860
  var tmp2_index = 0;
861
861
  var tmp3_bitMask0 = 0;
@@ -918,7 +918,7 @@
918
918
  return OpenAIConfig_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
919
919
  };
920
920
  protoOf($serializer_1).bo = function () {
921
- return this.j6j_1;
921
+ return this.k6j_1;
922
922
  };
923
923
  protoOf($serializer_1).vz = function () {
924
924
  // Inline function 'kotlin.arrayOf' call
@@ -934,29 +934,29 @@
934
934
  }
935
935
  function OpenAIConfig_init_$Init$(seen0, apiKey, model, baseUrl, temperature, maxTokens, timeout, serializationConstructorMarker, $this) {
936
936
  if (!(1 === (1 & seen0))) {
937
- throwMissingFieldException(seen0, 1, $serializer_getInstance_1().j6j_1);
937
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_1().k6j_1);
938
938
  }
939
- $this.n6h_1 = apiKey;
939
+ $this.o6h_1 = apiKey;
940
940
  if (0 === (seen0 & 2))
941
- $this.o6h_1 = 'gpt-3.5-turbo';
941
+ $this.p6h_1 = 'gpt-3.5-turbo';
942
942
  else
943
- $this.o6h_1 = model;
943
+ $this.p6h_1 = model;
944
944
  if (0 === (seen0 & 4))
945
- $this.p6h_1 = 'https://api.openai.com/v1';
945
+ $this.q6h_1 = 'https://api.openai.com/v1';
946
946
  else
947
- $this.p6h_1 = baseUrl;
947
+ $this.q6h_1 = baseUrl;
948
948
  if (0 === (seen0 & 8))
949
- $this.q6h_1 = 0.7;
949
+ $this.r6h_1 = 0.7;
950
950
  else
951
- $this.q6h_1 = temperature;
951
+ $this.r6h_1 = temperature;
952
952
  if (0 === (seen0 & 16))
953
- $this.r6h_1 = 150;
953
+ $this.s6h_1 = 150;
954
954
  else
955
- $this.r6h_1 = maxTokens;
955
+ $this.s6h_1 = maxTokens;
956
956
  if (0 === (seen0 & 32))
957
- $this.s6h_1 = new Long(30000, 0);
957
+ $this.t6h_1 = new Long(30000, 0);
958
958
  else
959
- $this.s6h_1 = timeout;
959
+ $this.t6h_1 = timeout;
960
960
  return $this;
961
961
  }
962
962
  function OpenAIConfig_init_$Create$(seen0, apiKey, model, baseUrl, temperature, maxTokens, timeout, serializationConstructorMarker) {
@@ -968,23 +968,23 @@
968
968
  temperature = temperature === VOID ? 0.7 : temperature;
969
969
  maxTokens = maxTokens === VOID ? 150 : maxTokens;
970
970
  timeout = timeout === VOID ? new Long(30000, 0) : timeout;
971
- this.n6h_1 = apiKey;
972
- this.o6h_1 = model;
973
- this.p6h_1 = baseUrl;
974
- this.q6h_1 = temperature;
975
- this.r6h_1 = maxTokens;
976
- this.s6h_1 = timeout;
971
+ this.o6h_1 = apiKey;
972
+ this.p6h_1 = model;
973
+ this.q6h_1 = baseUrl;
974
+ this.r6h_1 = temperature;
975
+ this.s6h_1 = maxTokens;
976
+ this.t6h_1 = timeout;
977
977
  }
978
978
  protoOf(OpenAIConfig).toString = function () {
979
- return 'OpenAIConfig(apiKey=' + this.n6h_1 + ', model=' + this.o6h_1 + ', baseUrl=' + this.p6h_1 + ', temperature=' + this.q6h_1 + ', maxTokens=' + this.r6h_1 + ', timeout=' + this.s6h_1.toString() + ')';
979
+ return 'OpenAIConfig(apiKey=' + this.o6h_1 + ', model=' + this.p6h_1 + ', baseUrl=' + this.q6h_1 + ', temperature=' + this.r6h_1 + ', maxTokens=' + this.s6h_1 + ', timeout=' + this.t6h_1.toString() + ')';
980
980
  };
981
981
  protoOf(OpenAIConfig).hashCode = function () {
982
- var result = getStringHashCode(this.n6h_1);
983
- result = imul(result, 31) + getStringHashCode(this.o6h_1) | 0;
982
+ var result = getStringHashCode(this.o6h_1);
984
983
  result = imul(result, 31) + getStringHashCode(this.p6h_1) | 0;
985
- result = imul(result, 31) + getNumberHashCode(this.q6h_1) | 0;
986
- result = imul(result, 31) + this.r6h_1 | 0;
987
- result = imul(result, 31) + this.s6h_1.hashCode() | 0;
984
+ result = imul(result, 31) + getStringHashCode(this.q6h_1) | 0;
985
+ result = imul(result, 31) + getNumberHashCode(this.r6h_1) | 0;
986
+ result = imul(result, 31) + this.s6h_1 | 0;
987
+ result = imul(result, 31) + this.t6h_1.hashCode() | 0;
988
988
  return result;
989
989
  };
990
990
  protoOf(OpenAIConfig).equals = function (other) {
@@ -992,17 +992,17 @@
992
992
  return true;
993
993
  if (!(other instanceof OpenAIConfig))
994
994
  return false;
995
- if (!(this.n6h_1 === other.n6h_1))
996
- return false;
997
995
  if (!(this.o6h_1 === other.o6h_1))
998
996
  return false;
999
997
  if (!(this.p6h_1 === other.p6h_1))
1000
998
  return false;
1001
- if (!equals(this.q6h_1, other.q6h_1))
999
+ if (!(this.q6h_1 === other.q6h_1))
1000
+ return false;
1001
+ if (!equals(this.r6h_1, other.r6h_1))
1002
1002
  return false;
1003
- if (!(this.r6h_1 === other.r6h_1))
1003
+ if (!(this.s6h_1 === other.s6h_1))
1004
1004
  return false;
1005
- if (!equalsLong(this.s6h_1, other.s6h_1))
1005
+ if (!equalsLong(this.t6h_1, other.t6h_1))
1006
1006
  return false;
1007
1007
  return true;
1008
1008
  };
@@ -1016,7 +1016,7 @@
1016
1016
  // Inline function 'kotlin.arrayOf' call
1017
1017
  // Inline function 'kotlin.js.unsafeCast' call
1018
1018
  // Inline function 'kotlin.js.asDynamic' call
1019
- tmp.l6j_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
1019
+ tmp.m6j_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
1020
1020
  }
1021
1021
  var Companion_instance_5;
1022
1022
  function Companion_getInstance_5() {
@@ -1031,23 +1031,23 @@
1031
1031
  tmp0_serialDesc.gz('messages', false);
1032
1032
  tmp0_serialDesc.gz('temperature', false);
1033
1033
  tmp0_serialDesc.gz('max_tokens', false);
1034
- this.m6j_1 = tmp0_serialDesc;
1034
+ this.n6j_1 = tmp0_serialDesc;
1035
1035
  }
1036
- protoOf($serializer_2).n6j = function (encoder, value) {
1037
- var tmp0_desc = this.m6j_1;
1036
+ protoOf($serializer_2).o6j = function (encoder, value) {
1037
+ var tmp0_desc = this.n6j_1;
1038
1038
  var tmp1_output = encoder.or(tmp0_desc);
1039
- var tmp2_cached = Companion_getInstance_5().l6j_1;
1040
- tmp1_output.dt(tmp0_desc, 0, value.o6j_1);
1041
- tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].x(), value.p6j_1);
1042
- tmp1_output.bt(tmp0_desc, 2, value.q6j_1);
1043
- tmp1_output.ys(tmp0_desc, 3, value.r6j_1);
1039
+ var tmp2_cached = Companion_getInstance_5().m6j_1;
1040
+ tmp1_output.dt(tmp0_desc, 0, value.p6j_1);
1041
+ tmp1_output.ft(tmp0_desc, 1, tmp2_cached[1].x(), value.q6j_1);
1042
+ tmp1_output.bt(tmp0_desc, 2, value.r6j_1);
1043
+ tmp1_output.ys(tmp0_desc, 3, value.s6j_1);
1044
1044
  tmp1_output.pr(tmp0_desc);
1045
1045
  };
1046
1046
  protoOf($serializer_2).co = function (encoder, value) {
1047
- return this.n6j(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
1047
+ return this.o6j(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
1048
1048
  };
1049
1049
  protoOf($serializer_2).do = function (decoder) {
1050
- var tmp0_desc = this.m6j_1;
1050
+ var tmp0_desc = this.n6j_1;
1051
1051
  var tmp1_flag = true;
1052
1052
  var tmp2_index = 0;
1053
1053
  var tmp3_bitMask0 = 0;
@@ -1056,7 +1056,7 @@
1056
1056
  var tmp6_local2 = 0.0;
1057
1057
  var tmp7_local3 = 0;
1058
1058
  var tmp8_input = decoder.or(tmp0_desc);
1059
- var tmp9_cached = Companion_getInstance_5().l6j_1;
1059
+ var tmp9_cached = Companion_getInstance_5().m6j_1;
1060
1060
  if (tmp8_input.es()) {
1061
1061
  tmp4_local0 = tmp8_input.yr(tmp0_desc, 0);
1062
1062
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1097,10 +1097,10 @@
1097
1097
  return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1098
1098
  };
1099
1099
  protoOf($serializer_2).bo = function () {
1100
- return this.m6j_1;
1100
+ return this.n6j_1;
1101
1101
  };
1102
1102
  protoOf($serializer_2).vz = function () {
1103
- var tmp0_cached = Companion_getInstance_5().l6j_1;
1103
+ var tmp0_cached = Companion_getInstance_5().m6j_1;
1104
1104
  // Inline function 'kotlin.arrayOf' call
1105
1105
  // Inline function 'kotlin.js.unsafeCast' call
1106
1106
  // Inline function 'kotlin.js.asDynamic' call
@@ -1114,12 +1114,12 @@
1114
1114
  }
1115
1115
  function OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, $this) {
1116
1116
  if (!(15 === (15 & seen0))) {
1117
- throwMissingFieldException(seen0, 15, $serializer_getInstance_2().m6j_1);
1117
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_2().n6j_1);
1118
1118
  }
1119
- $this.o6j_1 = model;
1120
- $this.p6j_1 = messages;
1121
- $this.q6j_1 = temperature;
1122
- $this.r6j_1 = maxTokens;
1119
+ $this.p6j_1 = model;
1120
+ $this.q6j_1 = messages;
1121
+ $this.r6j_1 = temperature;
1122
+ $this.s6j_1 = maxTokens;
1123
1123
  return $this;
1124
1124
  }
1125
1125
  function OpenAIRequest_init_$Create$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker) {
@@ -1127,19 +1127,19 @@
1127
1127
  }
1128
1128
  function OpenAIRequest(model, messages, temperature, maxTokens) {
1129
1129
  Companion_getInstance_5();
1130
- this.o6j_1 = model;
1131
- this.p6j_1 = messages;
1132
- this.q6j_1 = temperature;
1133
- this.r6j_1 = maxTokens;
1130
+ this.p6j_1 = model;
1131
+ this.q6j_1 = messages;
1132
+ this.r6j_1 = temperature;
1133
+ this.s6j_1 = maxTokens;
1134
1134
  }
1135
1135
  protoOf(OpenAIRequest).toString = function () {
1136
- return 'OpenAIRequest(model=' + this.o6j_1 + ', messages=' + toString(this.p6j_1) + ', temperature=' + this.q6j_1 + ', maxTokens=' + this.r6j_1 + ')';
1136
+ return 'OpenAIRequest(model=' + this.p6j_1 + ', messages=' + toString(this.q6j_1) + ', temperature=' + this.r6j_1 + ', maxTokens=' + this.s6j_1 + ')';
1137
1137
  };
1138
1138
  protoOf(OpenAIRequest).hashCode = function () {
1139
- var result = getStringHashCode(this.o6j_1);
1140
- result = imul(result, 31) + hashCode(this.p6j_1) | 0;
1141
- result = imul(result, 31) + getNumberHashCode(this.q6j_1) | 0;
1142
- result = imul(result, 31) + this.r6j_1 | 0;
1139
+ var result = getStringHashCode(this.p6j_1);
1140
+ result = imul(result, 31) + hashCode(this.q6j_1) | 0;
1141
+ result = imul(result, 31) + getNumberHashCode(this.r6j_1) | 0;
1142
+ result = imul(result, 31) + this.s6j_1 | 0;
1143
1143
  return result;
1144
1144
  };
1145
1145
  protoOf(OpenAIRequest).equals = function (other) {
@@ -1147,13 +1147,13 @@
1147
1147
  return true;
1148
1148
  if (!(other instanceof OpenAIRequest))
1149
1149
  return false;
1150
- if (!(this.o6j_1 === other.o6j_1))
1151
- return false;
1152
- if (!equals(this.p6j_1, other.p6j_1))
1150
+ if (!(this.p6j_1 === other.p6j_1))
1153
1151
  return false;
1154
1152
  if (!equals(this.q6j_1, other.q6j_1))
1155
1153
  return false;
1156
- if (!(this.r6j_1 === other.r6j_1))
1154
+ if (!equals(this.r6j_1, other.r6j_1))
1155
+ return false;
1156
+ if (!(this.s6j_1 === other.s6j_1))
1157
1157
  return false;
1158
1158
  return true;
1159
1159
  };
@@ -1163,23 +1163,23 @@
1163
1163
  tmp0_serialDesc.gz('index', false);
1164
1164
  tmp0_serialDesc.gz('message', false);
1165
1165
  tmp0_serialDesc.gz('finish_reason', true);
1166
- this.s6j_1 = tmp0_serialDesc;
1166
+ this.t6j_1 = tmp0_serialDesc;
1167
1167
  }
1168
- protoOf($serializer_3).t6j = function (encoder, value) {
1169
- var tmp0_desc = this.s6j_1;
1168
+ protoOf($serializer_3).u6j = function (encoder, value) {
1169
+ var tmp0_desc = this.t6j_1;
1170
1170
  var tmp1_output = encoder.or(tmp0_desc);
1171
- tmp1_output.ys(tmp0_desc, 0, value.u6j_1);
1172
- tmp1_output.ft(tmp0_desc, 1, $serializer_getInstance_0(), value.v6j_1);
1173
- if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.w6j_1 == null)) {
1174
- tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.w6j_1);
1171
+ tmp1_output.ys(tmp0_desc, 0, value.v6j_1);
1172
+ tmp1_output.ft(tmp0_desc, 1, $serializer_getInstance_0(), value.w6j_1);
1173
+ if (tmp1_output.lt(tmp0_desc, 2) ? true : !(value.x6j_1 == null)) {
1174
+ tmp1_output.ht(tmp0_desc, 2, StringSerializer_getInstance(), value.x6j_1);
1175
1175
  }
1176
1176
  tmp1_output.pr(tmp0_desc);
1177
1177
  };
1178
1178
  protoOf($serializer_3).co = function (encoder, value) {
1179
- return this.t6j(encoder, value instanceof Choice ? value : THROW_CCE());
1179
+ return this.u6j(encoder, value instanceof Choice ? value : THROW_CCE());
1180
1180
  };
1181
1181
  protoOf($serializer_3).do = function (decoder) {
1182
- var tmp0_desc = this.s6j_1;
1182
+ var tmp0_desc = this.t6j_1;
1183
1183
  var tmp1_flag = true;
1184
1184
  var tmp2_index = 0;
1185
1185
  var tmp3_bitMask0 = 0;
@@ -1221,7 +1221,7 @@
1221
1221
  return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1222
1222
  };
1223
1223
  protoOf($serializer_3).bo = function () {
1224
- return this.s6j_1;
1224
+ return this.t6j_1;
1225
1225
  };
1226
1226
  protoOf($serializer_3).vz = function () {
1227
1227
  // Inline function 'kotlin.arrayOf' call
@@ -1237,14 +1237,14 @@
1237
1237
  }
1238
1238
  function Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, $this) {
1239
1239
  if (!(3 === (3 & seen0))) {
1240
- throwMissingFieldException(seen0, 3, $serializer_getInstance_3().s6j_1);
1240
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_3().t6j_1);
1241
1241
  }
1242
- $this.u6j_1 = index;
1243
- $this.v6j_1 = message;
1242
+ $this.v6j_1 = index;
1243
+ $this.w6j_1 = message;
1244
1244
  if (0 === (seen0 & 4))
1245
- $this.w6j_1 = null;
1245
+ $this.x6j_1 = null;
1246
1246
  else
1247
- $this.w6j_1 = finishReason;
1247
+ $this.x6j_1 = finishReason;
1248
1248
  return $this;
1249
1249
  }
1250
1250
  function Choice_init_$Create$(seen0, index, message, finishReason, serializationConstructorMarker) {
@@ -1256,21 +1256,21 @@
1256
1256
  tmp0_serialDesc.gz('prompt_tokens', false);
1257
1257
  tmp0_serialDesc.gz('completion_tokens', false);
1258
1258
  tmp0_serialDesc.gz('total_tokens', false);
1259
- this.x6j_1 = tmp0_serialDesc;
1259
+ this.y6j_1 = tmp0_serialDesc;
1260
1260
  }
1261
- protoOf($serializer_4).y6j = function (encoder, value) {
1262
- var tmp0_desc = this.x6j_1;
1261
+ protoOf($serializer_4).z6j = function (encoder, value) {
1262
+ var tmp0_desc = this.y6j_1;
1263
1263
  var tmp1_output = encoder.or(tmp0_desc);
1264
- tmp1_output.ys(tmp0_desc, 0, value.z6j_1);
1265
- tmp1_output.ys(tmp0_desc, 1, value.a6k_1);
1266
- tmp1_output.ys(tmp0_desc, 2, value.b6k_1);
1264
+ tmp1_output.ys(tmp0_desc, 0, value.a6k_1);
1265
+ tmp1_output.ys(tmp0_desc, 1, value.b6k_1);
1266
+ tmp1_output.ys(tmp0_desc, 2, value.c6k_1);
1267
1267
  tmp1_output.pr(tmp0_desc);
1268
1268
  };
1269
1269
  protoOf($serializer_4).co = function (encoder, value) {
1270
- return this.y6j(encoder, value instanceof Usage ? value : THROW_CCE());
1270
+ return this.z6j(encoder, value instanceof Usage ? value : THROW_CCE());
1271
1271
  };
1272
1272
  protoOf($serializer_4).do = function (decoder) {
1273
- var tmp0_desc = this.x6j_1;
1273
+ var tmp0_desc = this.y6j_1;
1274
1274
  var tmp1_flag = true;
1275
1275
  var tmp2_index = 0;
1276
1276
  var tmp3_bitMask0 = 0;
@@ -1312,7 +1312,7 @@
1312
1312
  return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1313
1313
  };
1314
1314
  protoOf($serializer_4).bo = function () {
1315
- return this.x6j_1;
1315
+ return this.y6j_1;
1316
1316
  };
1317
1317
  protoOf($serializer_4).vz = function () {
1318
1318
  // Inline function 'kotlin.arrayOf' call
@@ -1328,11 +1328,11 @@
1328
1328
  }
1329
1329
  function Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, $this) {
1330
1330
  if (!(7 === (7 & seen0))) {
1331
- throwMissingFieldException(seen0, 7, $serializer_getInstance_4().x6j_1);
1331
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_4().y6j_1);
1332
1332
  }
1333
- $this.z6j_1 = promptTokens;
1334
- $this.a6k_1 = completionTokens;
1335
- $this.b6k_1 = totalTokens;
1333
+ $this.a6k_1 = promptTokens;
1334
+ $this.b6k_1 = completionTokens;
1335
+ $this.c6k_1 = totalTokens;
1336
1336
  return $this;
1337
1337
  }
1338
1338
  function Usage_init_$Create$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker) {
@@ -1344,12 +1344,12 @@
1344
1344
  function Choice() {
1345
1345
  }
1346
1346
  protoOf(Choice).toString = function () {
1347
- return 'Choice(index=' + this.u6j_1 + ', message=' + this.v6j_1.toString() + ', finishReason=' + this.w6j_1 + ')';
1347
+ return 'Choice(index=' + this.v6j_1 + ', message=' + this.w6j_1.toString() + ', finishReason=' + this.x6j_1 + ')';
1348
1348
  };
1349
1349
  protoOf(Choice).hashCode = function () {
1350
- var result = this.u6j_1;
1351
- result = imul(result, 31) + this.v6j_1.hashCode() | 0;
1352
- result = imul(result, 31) + (this.w6j_1 == null ? 0 : getStringHashCode(this.w6j_1)) | 0;
1350
+ var result = this.v6j_1;
1351
+ result = imul(result, 31) + this.w6j_1.hashCode() | 0;
1352
+ result = imul(result, 31) + (this.x6j_1 == null ? 0 : getStringHashCode(this.x6j_1)) | 0;
1353
1353
  return result;
1354
1354
  };
1355
1355
  protoOf(Choice).equals = function (other) {
@@ -1357,23 +1357,23 @@
1357
1357
  return true;
1358
1358
  if (!(other instanceof Choice))
1359
1359
  return false;
1360
- if (!(this.u6j_1 === other.u6j_1))
1360
+ if (!(this.v6j_1 === other.v6j_1))
1361
1361
  return false;
1362
- if (!this.v6j_1.equals(other.v6j_1))
1362
+ if (!this.w6j_1.equals(other.w6j_1))
1363
1363
  return false;
1364
- if (!(this.w6j_1 == other.w6j_1))
1364
+ if (!(this.x6j_1 == other.x6j_1))
1365
1365
  return false;
1366
1366
  return true;
1367
1367
  };
1368
1368
  function Usage() {
1369
1369
  }
1370
1370
  protoOf(Usage).toString = function () {
1371
- return 'Usage(promptTokens=' + this.z6j_1 + ', completionTokens=' + this.a6k_1 + ', totalTokens=' + this.b6k_1 + ')';
1371
+ return 'Usage(promptTokens=' + this.a6k_1 + ', completionTokens=' + this.b6k_1 + ', totalTokens=' + this.c6k_1 + ')';
1372
1372
  };
1373
1373
  protoOf(Usage).hashCode = function () {
1374
- var result = this.z6j_1;
1375
- result = imul(result, 31) + this.a6k_1 | 0;
1374
+ var result = this.a6k_1;
1376
1375
  result = imul(result, 31) + this.b6k_1 | 0;
1376
+ result = imul(result, 31) + this.c6k_1 | 0;
1377
1377
  return result;
1378
1378
  };
1379
1379
  protoOf(Usage).equals = function (other) {
@@ -1381,12 +1381,12 @@
1381
1381
  return true;
1382
1382
  if (!(other instanceof Usage))
1383
1383
  return false;
1384
- if (!(this.z6j_1 === other.z6j_1))
1385
- return false;
1386
1384
  if (!(this.a6k_1 === other.a6k_1))
1387
1385
  return false;
1388
1386
  if (!(this.b6k_1 === other.b6k_1))
1389
1387
  return false;
1388
+ if (!(this.c6k_1 === other.c6k_1))
1389
+ return false;
1390
1390
  return true;
1391
1391
  };
1392
1392
  function Companion_4() {
@@ -1396,7 +1396,7 @@
1396
1396
  // Inline function 'kotlin.arrayOf' call
1397
1397
  // Inline function 'kotlin.js.unsafeCast' call
1398
1398
  // Inline function 'kotlin.js.asDynamic' call
1399
- tmp.c6k_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1399
+ tmp.d6k_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1400
1400
  }
1401
1401
  var Companion_instance_6;
1402
1402
  function Companion_getInstance_6() {
@@ -1413,27 +1413,27 @@
1413
1413
  tmp0_serialDesc.gz('model', false);
1414
1414
  tmp0_serialDesc.gz('choices', false);
1415
1415
  tmp0_serialDesc.gz('usage', true);
1416
- this.d6k_1 = tmp0_serialDesc;
1416
+ this.e6k_1 = tmp0_serialDesc;
1417
1417
  }
1418
- protoOf($serializer_5).e6k = function (encoder, value) {
1419
- var tmp0_desc = this.d6k_1;
1418
+ protoOf($serializer_5).f6k = function (encoder, value) {
1419
+ var tmp0_desc = this.e6k_1;
1420
1420
  var tmp1_output = encoder.or(tmp0_desc);
1421
- var tmp2_cached = Companion_getInstance_6().c6k_1;
1422
- tmp1_output.dt(tmp0_desc, 0, value.f6k_1);
1423
- tmp1_output.dt(tmp0_desc, 1, value.g6k_1);
1424
- tmp1_output.zs(tmp0_desc, 2, value.h6k_1);
1425
- tmp1_output.dt(tmp0_desc, 3, value.i6k_1);
1426
- tmp1_output.ft(tmp0_desc, 4, tmp2_cached[4].x(), value.j6k_1);
1427
- if (tmp1_output.lt(tmp0_desc, 5) ? true : !(value.k6k_1 == null)) {
1428
- tmp1_output.ht(tmp0_desc, 5, $serializer_getInstance_4(), value.k6k_1);
1421
+ var tmp2_cached = Companion_getInstance_6().d6k_1;
1422
+ tmp1_output.dt(tmp0_desc, 0, value.g6k_1);
1423
+ tmp1_output.dt(tmp0_desc, 1, value.h6k_1);
1424
+ tmp1_output.zs(tmp0_desc, 2, value.i6k_1);
1425
+ tmp1_output.dt(tmp0_desc, 3, value.j6k_1);
1426
+ tmp1_output.ft(tmp0_desc, 4, tmp2_cached[4].x(), value.k6k_1);
1427
+ if (tmp1_output.lt(tmp0_desc, 5) ? true : !(value.l6k_1 == null)) {
1428
+ tmp1_output.ht(tmp0_desc, 5, $serializer_getInstance_4(), value.l6k_1);
1429
1429
  }
1430
1430
  tmp1_output.pr(tmp0_desc);
1431
1431
  };
1432
1432
  protoOf($serializer_5).co = function (encoder, value) {
1433
- return this.e6k(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1433
+ return this.f6k(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1434
1434
  };
1435
1435
  protoOf($serializer_5).do = function (decoder) {
1436
- var tmp0_desc = this.d6k_1;
1436
+ var tmp0_desc = this.e6k_1;
1437
1437
  var tmp1_flag = true;
1438
1438
  var tmp2_index = 0;
1439
1439
  var tmp3_bitMask0 = 0;
@@ -1444,7 +1444,7 @@
1444
1444
  var tmp8_local4 = null;
1445
1445
  var tmp9_local5 = null;
1446
1446
  var tmp10_input = decoder.or(tmp0_desc);
1447
- var tmp11_cached = Companion_getInstance_6().c6k_1;
1447
+ var tmp11_cached = Companion_getInstance_6().d6k_1;
1448
1448
  if (tmp10_input.es()) {
1449
1449
  tmp4_local0 = tmp10_input.yr(tmp0_desc, 0);
1450
1450
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1497,10 +1497,10 @@
1497
1497
  return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
1498
1498
  };
1499
1499
  protoOf($serializer_5).bo = function () {
1500
- return this.d6k_1;
1500
+ return this.e6k_1;
1501
1501
  };
1502
1502
  protoOf($serializer_5).vz = function () {
1503
- var tmp0_cached = Companion_getInstance_6().c6k_1;
1503
+ var tmp0_cached = Companion_getInstance_6().d6k_1;
1504
1504
  // Inline function 'kotlin.arrayOf' call
1505
1505
  // Inline function 'kotlin.js.unsafeCast' call
1506
1506
  // Inline function 'kotlin.js.asDynamic' call
@@ -1514,17 +1514,17 @@
1514
1514
  }
1515
1515
  function OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, $this) {
1516
1516
  if (!(31 === (31 & seen0))) {
1517
- throwMissingFieldException(seen0, 31, $serializer_getInstance_5().d6k_1);
1517
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_5().e6k_1);
1518
1518
  }
1519
- $this.f6k_1 = id;
1520
- $this.g6k_1 = objectType;
1521
- $this.h6k_1 = created;
1522
- $this.i6k_1 = model;
1523
- $this.j6k_1 = choices;
1519
+ $this.g6k_1 = id;
1520
+ $this.h6k_1 = objectType;
1521
+ $this.i6k_1 = created;
1522
+ $this.j6k_1 = model;
1523
+ $this.k6k_1 = choices;
1524
1524
  if (0 === (seen0 & 32))
1525
- $this.k6k_1 = null;
1525
+ $this.l6k_1 = null;
1526
1526
  else
1527
- $this.k6k_1 = usage;
1527
+ $this.l6k_1 = usage;
1528
1528
  return $this;
1529
1529
  }
1530
1530
  function OpenAIResponse_init_$Create$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker) {
@@ -1533,23 +1533,23 @@
1533
1533
  function OpenAIResponse(id, objectType, created, model, choices, usage) {
1534
1534
  Companion_getInstance_6();
1535
1535
  usage = usage === VOID ? null : usage;
1536
- this.f6k_1 = id;
1537
- this.g6k_1 = objectType;
1538
- this.h6k_1 = created;
1539
- this.i6k_1 = model;
1540
- this.j6k_1 = choices;
1541
- this.k6k_1 = usage;
1536
+ this.g6k_1 = id;
1537
+ this.h6k_1 = objectType;
1538
+ this.i6k_1 = created;
1539
+ this.j6k_1 = model;
1540
+ this.k6k_1 = choices;
1541
+ this.l6k_1 = usage;
1542
1542
  }
1543
1543
  protoOf(OpenAIResponse).toString = function () {
1544
- return 'OpenAIResponse(id=' + this.f6k_1 + ', objectType=' + this.g6k_1 + ', created=' + this.h6k_1.toString() + ', model=' + this.i6k_1 + ', choices=' + toString(this.j6k_1) + ', usage=' + toString_0(this.k6k_1) + ')';
1544
+ return 'OpenAIResponse(id=' + this.g6k_1 + ', objectType=' + this.h6k_1 + ', created=' + this.i6k_1.toString() + ', model=' + this.j6k_1 + ', choices=' + toString(this.k6k_1) + ', usage=' + toString_0(this.l6k_1) + ')';
1545
1545
  };
1546
1546
  protoOf(OpenAIResponse).hashCode = function () {
1547
- var result = getStringHashCode(this.f6k_1);
1548
- result = imul(result, 31) + getStringHashCode(this.g6k_1) | 0;
1549
- result = imul(result, 31) + this.h6k_1.hashCode() | 0;
1550
- result = imul(result, 31) + getStringHashCode(this.i6k_1) | 0;
1551
- result = imul(result, 31) + hashCode(this.j6k_1) | 0;
1552
- result = imul(result, 31) + (this.k6k_1 == null ? 0 : this.k6k_1.hashCode()) | 0;
1547
+ var result = getStringHashCode(this.g6k_1);
1548
+ result = imul(result, 31) + getStringHashCode(this.h6k_1) | 0;
1549
+ result = imul(result, 31) + this.i6k_1.hashCode() | 0;
1550
+ result = imul(result, 31) + getStringHashCode(this.j6k_1) | 0;
1551
+ result = imul(result, 31) + hashCode(this.k6k_1) | 0;
1552
+ result = imul(result, 31) + (this.l6k_1 == null ? 0 : this.l6k_1.hashCode()) | 0;
1553
1553
  return result;
1554
1554
  };
1555
1555
  protoOf(OpenAIResponse).equals = function (other) {
@@ -1557,24 +1557,24 @@
1557
1557
  return true;
1558
1558
  if (!(other instanceof OpenAIResponse))
1559
1559
  return false;
1560
- if (!(this.f6k_1 === other.f6k_1))
1561
- return false;
1562
1560
  if (!(this.g6k_1 === other.g6k_1))
1563
1561
  return false;
1564
- if (!equalsLong(this.h6k_1, other.h6k_1))
1562
+ if (!(this.h6k_1 === other.h6k_1))
1565
1563
  return false;
1566
- if (!(this.i6k_1 === other.i6k_1))
1564
+ if (!equalsLong(this.i6k_1, other.i6k_1))
1567
1565
  return false;
1568
- if (!equals(this.j6k_1, other.j6k_1))
1566
+ if (!(this.j6k_1 === other.j6k_1))
1569
1567
  return false;
1570
1568
  if (!equals(this.k6k_1, other.k6k_1))
1571
1569
  return false;
1570
+ if (!equals(this.l6k_1, other.l6k_1))
1571
+ return false;
1572
1572
  return true;
1573
1573
  };
1574
1574
  function $executeRequestCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
1575
1575
  CoroutineImpl.call(this, resultContinuation);
1576
- this.t6k_1 = _this__u8e3s4;
1577
- this.u6k_1 = messages;
1576
+ this.u6k_1 = _this__u8e3s4;
1577
+ this.v6k_1 = messages;
1578
1578
  }
1579
1579
  protoOf($executeRequestCOROUTINE$).a9 = function () {
1580
1580
  var suspendResult = this.u8_1;
@@ -1585,7 +1585,7 @@
1585
1585
  case 0:
1586
1586
  this.t8_1 = 3;
1587
1587
  this.s8_1 = 1;
1588
- suspendResult = this.t6k_1.v6k_1.m6h(this.u6k_1, this);
1588
+ suspendResult = this.u6k_1.w6k_1.n6h(this.v6k_1, this);
1589
1589
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1590
1590
  return suspendResult;
1591
1591
  }
@@ -1607,9 +1607,9 @@
1607
1607
  var $this$runCatching = this_1.tl_1;
1608
1608
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1609
1609
  var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1610
- var tmp0_safe_receiver = firstOrNull(response.j6k_1);
1611
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v6j_1;
1612
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.i6j_1;
1610
+ var tmp0_safe_receiver = firstOrNull(response.k6k_1);
1611
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w6j_1;
1612
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j6j_1;
1613
1613
  var tmp_3;
1614
1614
  if (tmp2_elvis_lhs == null) {
1615
1615
  throw IllegalStateException_init_$Create$('No response from OpenAI');
@@ -1649,9 +1649,9 @@
1649
1649
  while (true);
1650
1650
  };
1651
1651
  function BaseOpenAIRepository(openAIApi) {
1652
- this.v6k_1 = openAIApi;
1652
+ this.w6k_1 = openAIApi;
1653
1653
  }
1654
- protoOf(BaseOpenAIRepository).w6k = function (messages, $completion) {
1654
+ protoOf(BaseOpenAIRepository).x6k = function (messages, $completion) {
1655
1655
  var tmp = new $executeRequestCOROUTINE$(this, messages, $completion);
1656
1656
  tmp.u8_1 = Unit_instance;
1657
1657
  tmp.v8_1 = null;
@@ -1683,9 +1683,9 @@
1683
1683
  // Inline function 'kotlin.let' call
1684
1684
  this_0.sb(getStringHashCode(take(message, 50))).d8(':');
1685
1685
  }
1686
- this_0.sb(getStringHashCode(context.w6i_1));
1687
- this_0.d8(':');
1688
1686
  this_0.sb(getStringHashCode(context.x6i_1));
1687
+ this_0.d8(':');
1688
+ this_0.sb(getStringHashCode(context.y6i_1));
1689
1689
  var key = this_0.toString();
1690
1690
  return key;
1691
1691
  }
@@ -1698,23 +1698,23 @@
1698
1698
  var this_0 = StringBuilder_init_$Create$();
1699
1699
  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
1700
  this_0.d8('\n\n');
1701
- this_0.d8('Your personality: ' + context.w6i_1);
1701
+ this_0.d8('Your personality: ' + context.x6i_1);
1702
1702
  this_0.d8('\n');
1703
- this_0.d8('Current game state: ' + context.x6i_1);
1703
+ this_0.d8('Current game state: ' + context.y6i_1);
1704
1704
  this_0.d8('\n\n');
1705
1705
  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.z6i_1 == null)) {
1707
- this_0.d8('\nYou are chatting with ' + context.z6i_1 + '.');
1706
+ if (!(context.a6j_1 == null)) {
1707
+ this_0.d8('\nYou are chatting with ' + context.a6j_1 + '.');
1708
1708
  }
1709
1709
  var tmp$ret$3 = this_0.toString();
1710
- messages.j(tmp.c6j(tmp$ret$3));
1710
+ messages.j(tmp.d6j(tmp$ret$3));
1711
1711
  // Inline function 'kotlin.collections.forEach' call
1712
- var _iterator__ex2g4s = takeLast(context.y6i_1, 5).l();
1712
+ var _iterator__ex2g4s = takeLast(context.z6i_1, 5).l();
1713
1713
  while (_iterator__ex2g4s.m()) {
1714
1714
  var element = _iterator__ex2g4s.n();
1715
- messages.j(Companion_getInstance_3().e6j(element));
1715
+ messages.j(Companion_getInstance_3().f6j(element));
1716
1716
  }
1717
- messages.j(Companion_getInstance_3().d6j(playerMessage));
1717
+ messages.j(Companion_getInstance_3().e6j(playerMessage));
1718
1718
  return messages;
1719
1719
  }
1720
1720
  function buildRandomMessagePrompt($this, context) {
@@ -1724,19 +1724,19 @@
1724
1724
  var this_0 = StringBuilder_init_$Create$();
1725
1725
  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
1726
  this_0.d8('\n\n');
1727
- this_0.d8('Your personality: ' + context.w6i_1);
1727
+ this_0.d8('Your personality: ' + context.x6i_1);
1728
1728
  this_0.d8('\n');
1729
- this_0.d8('Current game state: ' + context.x6i_1);
1729
+ this_0.d8('Current game state: ' + context.y6i_1);
1730
1730
  this_0.d8('\n\n');
1731
1731
  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
1732
  var tmp$ret$2 = this_0.toString();
1733
- return listOf([tmp.c6j(tmp$ret$2), Companion_getInstance_3().d6j('Generate a spontaneous comment about the current game situation.')]);
1733
+ return listOf([tmp.d6j(tmp$ret$2), Companion_getInstance_3().e6j('Generate a spontaneous comment about the current game situation.')]);
1734
1734
  }
1735
1735
  function $executeRequestCOROUTINE$_0(_this__u8e3s4, messages, cacheKey, resultContinuation) {
1736
1736
  CoroutineImpl.call(this, resultContinuation);
1737
- this.h6l_1 = _this__u8e3s4;
1738
- this.i6l_1 = messages;
1739
- this.j6l_1 = cacheKey;
1737
+ this.i6l_1 = _this__u8e3s4;
1738
+ this.j6l_1 = messages;
1739
+ this.k6l_1 = cacheKey;
1740
1740
  }
1741
1741
  protoOf($executeRequestCOROUTINE$_0).a9 = function () {
1742
1742
  var suspendResult = this.u8_1;
@@ -1747,7 +1747,7 @@
1747
1747
  case 0:
1748
1748
  this.t8_1 = 3;
1749
1749
  this.s8_1 = 1;
1750
- suspendResult = this.h6l_1.l6l_1.w6k(this.i6l_1, this);
1750
+ suspendResult = this.i6l_1.m6l_1.x6k(this.j6l_1, this);
1751
1751
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1752
1752
  return suspendResult;
1753
1753
  }
@@ -1769,7 +1769,7 @@
1769
1769
  var $this$runCatching = this_1.tl_1;
1770
1770
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1771
1771
  var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1772
- this.h6l_1.k6l_1.h6i(this.j6l_1, content);
1772
+ this.i6l_1.l6l_1.i6i(this.k6l_1, content);
1773
1773
  tmp_1 = _Result___init__impl__xyqfz8(content);
1774
1774
  } catch ($p) {
1775
1775
  var tmp_3;
@@ -1802,12 +1802,12 @@
1802
1802
  while (true);
1803
1803
  };
1804
1804
  function BotChatRepositoryImpl(openAIApi, cache) {
1805
- this.k6l_1 = cache;
1806
- this.l6l_1 = new BaseOpenAIRepository(openAIApi);
1805
+ this.l6l_1 = cache;
1806
+ this.m6l_1 = new BaseOpenAIRepository(openAIApi);
1807
1807
  }
1808
- protoOf(BotChatRepositoryImpl).x6k = function (playerMessage, context, $completion) {
1808
+ protoOf(BotChatRepositoryImpl).y6k = function (playerMessage, context, $completion) {
1809
1809
  var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
1810
- var tmp0_safe_receiver = this.k6l_1.t1b(cacheKey);
1810
+ var tmp0_safe_receiver = this.l6l_1.t1b(cacheKey);
1811
1811
  if (tmp0_safe_receiver == null)
1812
1812
  null;
1813
1813
  else {
@@ -1822,9 +1822,9 @@
1822
1822
  return tmp;
1823
1823
  return tmp;
1824
1824
  };
1825
- protoOf(BotChatRepositoryImpl).y6k = function (context, $completion) {
1825
+ protoOf(BotChatRepositoryImpl).z6k = function (context, $completion) {
1826
1826
  var cacheKey = buildCacheKey(this, 'random', null, context);
1827
- var tmp0_safe_receiver = this.k6l_1.t1b(cacheKey);
1827
+ var tmp0_safe_receiver = this.l6l_1.t1b(cacheKey);
1828
1828
  if (tmp0_safe_receiver == null)
1829
1829
  null;
1830
1830
  else {
@@ -1853,8 +1853,8 @@
1853
1853
  tmp = json;
1854
1854
  }
1855
1855
  json = tmp;
1856
- this.m6l_1 = json;
1857
- this.n6l_1 = new BaseOpenAIRepository(openAIApi);
1856
+ this.n6l_1 = json;
1857
+ this.o6l_1 = new BaseOpenAIRepository(openAIApi);
1858
1858
  }
1859
1859
  function aiModule(config) {
1860
1860
  return Module_init_$Create$('AIModule', VOID, VOID, aiModule$lambda(config));
@@ -2053,16 +2053,16 @@
2053
2053
  function BotChatInteractor() {
2054
2054
  }
2055
2055
  function BotChatInteractorImpl(repository) {
2056
- this.o6l_1 = repository;
2056
+ this.p6l_1 = repository;
2057
2057
  }
2058
- protoOf(BotChatInteractorImpl).x6k = function (playerMessage, context, $completion) {
2059
- var tmp = this.o6l_1.x6k(playerMessage, context, $completion);
2058
+ protoOf(BotChatInteractorImpl).y6k = function (playerMessage, context, $completion) {
2059
+ var tmp = this.p6l_1.y6k(playerMessage, context, $completion);
2060
2060
  if (tmp === get_COROUTINE_SUSPENDED())
2061
2061
  return tmp;
2062
2062
  return tmp;
2063
2063
  };
2064
- protoOf(BotChatInteractorImpl).y6k = function (context, $completion) {
2065
- var tmp = this.o6l_1.y6k(context, $completion);
2064
+ protoOf(BotChatInteractorImpl).z6k = function (context, $completion) {
2065
+ var tmp = this.p6l_1.z6k(context, $completion);
2066
2066
  if (tmp === get_COROUTINE_SUSPENDED())
2067
2067
  return tmp;
2068
2068
  return tmp;