raspberry_games_server_game_logic 1.8.474 → 1.8.476

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.
@@ -172,14 +172,14 @@
172
172
  }
173
173
  function OpenAIApiImpl$chatCompletion$lambda(this$0) {
174
174
  return function ($this$headers) {
175
- $this$headers.h38(HttpHeaders_getInstance().u3f_1, 'Bearer ' + this$0.q7e_1.j7e_1);
175
+ $this$headers.h38(HttpHeaders_getInstance().u3f_1, 'Bearer ' + this$0.o7e_1.h7e_1);
176
176
  return Unit_instance;
177
177
  };
178
178
  }
179
179
  function $chatCompletionCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
180
180
  CoroutineImpl.call(this, resultContinuation);
181
- this.a7f_1 = _this__u8e3s4;
182
- this.b7f_1 = messages;
181
+ this.y7e_1 = _this__u8e3s4;
182
+ this.z7e_1 = messages;
183
183
  }
184
184
  protoOf($chatCompletionCOROUTINE$).q9 = function () {
185
185
  var suspendResult = this.k9_1;
@@ -190,13 +190,13 @@
190
190
  case 0:
191
191
  this.j9_1 = 4;
192
192
  this.j9_1 = 3;
193
- var request = new OpenAIRequest(this.a7f_1.q7e_1.k7e_1, this.b7f_1, this.a7f_1.q7e_1.m7e_1, this.a7f_1.q7e_1.n7e_1);
194
- var tmp0 = this.a7f_1.r7e_1;
195
- var urlString = this.a7f_1.q7e_1.l7e_1 + '/chat/completions';
193
+ var request = new OpenAIRequest(this.y7e_1.o7e_1.i7e_1, this.z7e_1, this.y7e_1.o7e_1.k7e_1, this.y7e_1.o7e_1.l7e_1);
194
+ var tmp0 = this.y7e_1.p7e_1;
195
+ var urlString = this.y7e_1.o7e_1.j7e_1 + '/chat/completions';
196
196
  var builder = new HttpRequestBuilder();
197
197
  builder.a41_1 = Companion_getInstance().r3j_1;
198
198
  url(builder, urlString);
199
- headers(builder, OpenAIApiImpl$chatCompletion$lambda(this.a7f_1));
199
+ headers(builder, OpenAIApiImpl$chatCompletion$lambda(this.y7e_1));
200
200
  contentType(builder, Application_getInstance().l3d_1);
201
201
  if (request == null) {
202
202
  builder.c41_1 = NullBody_instance;
@@ -249,7 +249,7 @@
249
249
  continue $sm;
250
250
  case 1:
251
251
  var response = suspendResult;
252
- this.d7f_1 = Companion_instance;
252
+ this.b7f_1 = Companion_instance;
253
253
  this.i9_1 = 2;
254
254
  var tmp_6 = response.o42();
255
255
  var tmp_7 = getKClass(OpenAIResponse);
@@ -276,8 +276,8 @@
276
276
  case 2:
277
277
  var tmp2 = suspendResult instanceof OpenAIResponse ? suspendResult : THROW_CCE();
278
278
  var tmp_10 = this;
279
- this.d7f_1;
280
- tmp_10.c7f_1 = _Result___init__impl__xyqfz8(tmp2);
279
+ this.b7f_1;
280
+ tmp_10.a7f_1 = _Result___init__impl__xyqfz8(tmp2);
281
281
  this.j9_1 = 4;
282
282
  this.i9_1 = 5;
283
283
  continue $sm;
@@ -287,7 +287,7 @@
287
287
  if (tmp_11 instanceof Exception) {
288
288
  var e = this.l9_1;
289
289
  var tmp_12 = this;
290
- tmp_12.c7f_1 = _Result___init__impl__xyqfz8(createFailure(e));
290
+ tmp_12.a7f_1 = _Result___init__impl__xyqfz8(createFailure(e));
291
291
  this.i9_1 = 5;
292
292
  continue $sm;
293
293
  } else {
@@ -298,7 +298,7 @@
298
298
  throw this.l9_1;
299
299
  case 5:
300
300
  this.j9_1 = 4;
301
- return new Result(this.c7f_1);
301
+ return new Result(this.a7f_1);
302
302
  }
303
303
  } catch ($p) {
304
304
  var e_0 = $p;
@@ -312,10 +312,10 @@
312
312
  while (true);
313
313
  };
314
314
  function OpenAIApiImpl(config, httpClient) {
315
- this.q7e_1 = config;
316
- this.r7e_1 = httpClient;
315
+ this.o7e_1 = config;
316
+ this.p7e_1 = httpClient;
317
317
  }
318
- protoOf(OpenAIApiImpl).i7e = function (messages, $completion) {
318
+ protoOf(OpenAIApiImpl).g7e = function (messages, $completion) {
319
319
  var tmp = new $chatCompletionCOROUTINE$(this, messages, $completion);
320
320
  tmp.k9_1 = Unit_instance;
321
321
  tmp.l9_1 = null;
@@ -327,15 +327,15 @@
327
327
  function BotChatCache() {
328
328
  }
329
329
  function CacheEntry(value, timestamp) {
330
- this.f7f_1 = value;
331
- this.g7f_1 = timestamp;
330
+ this.d7f_1 = value;
331
+ this.e7f_1 = timestamp;
332
332
  }
333
333
  protoOf(CacheEntry).toString = function () {
334
- return 'CacheEntry(value=' + this.f7f_1 + ', timestamp=' + this.g7f_1.toString() + ')';
334
+ return 'CacheEntry(value=' + this.d7f_1 + ', timestamp=' + this.e7f_1.toString() + ')';
335
335
  };
336
336
  protoOf(CacheEntry).hashCode = function () {
337
- var result = getStringHashCode(this.f7f_1);
338
- result = imul(result, 31) + this.g7f_1.hashCode() | 0;
337
+ var result = getStringHashCode(this.d7f_1);
338
+ result = imul(result, 31) + this.e7f_1.hashCode() | 0;
339
339
  return result;
340
340
  };
341
341
  protoOf(CacheEntry).equals = function (other) {
@@ -343,36 +343,36 @@
343
343
  return true;
344
344
  if (!(other instanceof CacheEntry))
345
345
  return false;
346
- if (!(this.f7f_1 === other.f7f_1))
346
+ if (!(this.d7f_1 === other.d7f_1))
347
347
  return false;
348
- if (!equalsLong(this.g7f_1, other.g7f_1))
348
+ if (!equalsLong(this.e7f_1, other.e7f_1))
349
349
  return false;
350
350
  return true;
351
351
  };
352
352
  function cleanExpired($this) {
353
353
  var now = System_instance.ok().ll();
354
- var tmp = $this.j7f_1.m1();
354
+ var tmp = $this.h7f_1.m1();
355
355
  removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
356
356
  }
357
357
  function InMemoryBotChatCache$cleanExpired$lambda($now, this$0) {
358
358
  return function (_destruct__k2r9zo) {
359
359
  // Inline function 'kotlin.collections.component2' call
360
360
  var entry = _destruct__k2r9zo.o1();
361
- return compare(subtract($now, entry.g7f_1), this$0.h7f_1) > 0;
361
+ return compare(subtract($now, entry.e7f_1), this$0.f7f_1) > 0;
362
362
  };
363
363
  }
364
364
  function InMemoryBotChatCache(ttlMillis, maxSize) {
365
365
  ttlMillis = ttlMillis === VOID ? new Long(300000, 0) : ttlMillis;
366
366
  maxSize = maxSize === VOID ? 100 : maxSize;
367
- this.h7f_1 = ttlMillis;
368
- this.i7f_1 = maxSize;
367
+ this.f7f_1 = ttlMillis;
368
+ this.g7f_1 = maxSize;
369
369
  var tmp = this;
370
370
  // Inline function 'kotlin.collections.mutableMapOf' call
371
- tmp.j7f_1 = LinkedHashMap_init_$Create$();
371
+ tmp.h7f_1 = LinkedHashMap_init_$Create$();
372
372
  }
373
373
  protoOf(InMemoryBotChatCache).m1c = function (key) {
374
374
  cleanExpired(this);
375
- var tmp0_elvis_lhs = this.j7f_1.w2(key);
375
+ var tmp0_elvis_lhs = this.h7f_1.w2(key);
376
376
  var tmp;
377
377
  if (tmp0_elvis_lhs == null) {
378
378
  return null;
@@ -380,17 +380,17 @@
380
380
  tmp = tmp0_elvis_lhs;
381
381
  }
382
382
  var entry = tmp;
383
- if (compare(subtract(System_instance.ok().ll(), entry.g7f_1), this.h7f_1) > 0) {
384
- this.j7f_1.a3(key);
383
+ if (compare(subtract(System_instance.ok().ll(), entry.e7f_1), this.f7f_1) > 0) {
384
+ this.h7f_1.a3(key);
385
385
  return null;
386
386
  }
387
- return entry.f7f_1;
387
+ return entry.d7f_1;
388
388
  };
389
- protoOf(InMemoryBotChatCache).e7f = function (key, value) {
389
+ protoOf(InMemoryBotChatCache).c7f = function (key, value) {
390
390
  cleanExpired(this);
391
- if (this.j7f_1.g1() >= this.i7f_1) {
391
+ if (this.h7f_1.g1() >= this.g7f_1) {
392
392
  // Inline function 'kotlin.collections.minByOrNull' call
393
- var tmp0 = this.j7f_1.m1();
393
+ var tmp0 = this.h7f_1.m1();
394
394
  var tmp$ret$0;
395
395
  $l$block_0: {
396
396
  // Inline function 'kotlin.collections.minByOrNull' call
@@ -404,10 +404,10 @@
404
404
  tmp$ret$0 = minElem;
405
405
  break $l$block_0;
406
406
  }
407
- var minValue = minElem.o1().g7f_1;
407
+ var minValue = minElem.o1().e7f_1;
408
408
  do {
409
409
  var e = iterator.v();
410
- var v = e.o1().g7f_1;
410
+ var v = e.o1().e7f_1;
411
411
  if (compareTo(minValue, v) > 0) {
412
412
  minElem = e;
413
413
  minValue = v;
@@ -422,24 +422,24 @@
422
422
  null;
423
423
  else {
424
424
  // Inline function 'kotlin.let' call
425
- this.j7f_1.a3(oldestKey);
425
+ this.h7f_1.a3(oldestKey);
426
426
  }
427
427
  }
428
- var tmp0_0 = this.j7f_1;
428
+ var tmp0_0 = this.h7f_1;
429
429
  // Inline function 'kotlin.collections.set' call
430
430
  var value_0 = new CacheEntry(value, System_instance.ok().ll());
431
431
  tmp0_0.z2(key, value_0);
432
432
  };
433
433
  function BotChatConfig() {
434
434
  BotChatConfig_instance = this;
435
- this.k7f_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.')]);
436
- this.l7f_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.';
437
- this.m7f_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';
438
- this.n7f_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!";
439
- this.o7f_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.';
440
- }
441
- protoOf(BotChatConfig).p7f = function (playerNumber) {
442
- var tmp0_elvis_lhs = this.k7f_1.w2(playerNumber % this.k7f_1.g1() | 0);
435
+ this.i7f_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.')]);
436
+ this.j7f_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.';
437
+ this.k7f_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';
438
+ this.l7f_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!";
439
+ this.m7f_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.';
440
+ }
441
+ protoOf(BotChatConfig).n7f = function (playerNumber) {
442
+ var tmp0_elvis_lhs = this.i7f_1.w2(playerNumber % this.i7f_1.g1() | 0);
443
443
  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;
444
444
  };
445
445
  var BotChatConfig_instance;
@@ -458,7 +458,7 @@
458
458
  // Inline function 'kotlin.arrayOf' call
459
459
  // Inline function 'kotlin.js.unsafeCast' call
460
460
  // Inline function 'kotlin.js.asDynamic' call
461
- tmp.q7f_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
461
+ tmp.o7f_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
462
462
  }
463
463
  var Companion_instance_1;
464
464
  function Companion_getInstance_0() {
@@ -473,27 +473,27 @@
473
473
  tmp0_serialDesc.zz('gameState', false);
474
474
  tmp0_serialDesc.zz('conversationHistory', true);
475
475
  tmp0_serialDesc.zz('playerName', true);
476
- this.r7f_1 = tmp0_serialDesc;
476
+ this.p7f_1 = tmp0_serialDesc;
477
477
  }
478
- protoOf($serializer).s7f = function (encoder, value) {
479
- var tmp0_desc = this.r7f_1;
478
+ protoOf($serializer).q7f = function (encoder, value) {
479
+ var tmp0_desc = this.p7f_1;
480
480
  var tmp1_output = encoder.hs(tmp0_desc);
481
- var tmp2_cached = Companion_getInstance_0().q7f_1;
482
- tmp1_output.wt(tmp0_desc, 0, value.t7f_1);
483
- tmp1_output.wt(tmp0_desc, 1, value.u7f_1);
484
- if (tmp1_output.eu(tmp0_desc, 2) ? true : !equals(value.v7f_1, emptyList())) {
485
- tmp1_output.yt(tmp0_desc, 2, tmp2_cached[2].o1(), value.v7f_1);
481
+ var tmp2_cached = Companion_getInstance_0().o7f_1;
482
+ tmp1_output.wt(tmp0_desc, 0, value.r7f_1);
483
+ tmp1_output.wt(tmp0_desc, 1, value.s7f_1);
484
+ if (tmp1_output.eu(tmp0_desc, 2) ? true : !equals(value.t7f_1, emptyList())) {
485
+ tmp1_output.yt(tmp0_desc, 2, tmp2_cached[2].o1(), value.t7f_1);
486
486
  }
487
- if (tmp1_output.eu(tmp0_desc, 3) ? true : !(value.w7f_1 == null)) {
488
- tmp1_output.au(tmp0_desc, 3, StringSerializer_getInstance(), value.w7f_1);
487
+ if (tmp1_output.eu(tmp0_desc, 3) ? true : !(value.u7f_1 == null)) {
488
+ tmp1_output.au(tmp0_desc, 3, StringSerializer_getInstance(), value.u7f_1);
489
489
  }
490
490
  tmp1_output.is(tmp0_desc);
491
491
  };
492
492
  protoOf($serializer).vo = function (encoder, value) {
493
- return this.s7f(encoder, value instanceof BotChatContext ? value : THROW_CCE());
493
+ return this.q7f(encoder, value instanceof BotChatContext ? value : THROW_CCE());
494
494
  };
495
495
  protoOf($serializer).wo = function (decoder) {
496
- var tmp0_desc = this.r7f_1;
496
+ var tmp0_desc = this.p7f_1;
497
497
  var tmp1_flag = true;
498
498
  var tmp2_index = 0;
499
499
  var tmp3_bitMask0 = 0;
@@ -502,7 +502,7 @@
502
502
  var tmp6_local2 = null;
503
503
  var tmp7_local3 = null;
504
504
  var tmp8_input = decoder.hs(tmp0_desc);
505
- var tmp9_cached = Companion_getInstance_0().q7f_1;
505
+ var tmp9_cached = Companion_getInstance_0().o7f_1;
506
506
  if (tmp8_input.xs()) {
507
507
  tmp4_local0 = tmp8_input.rs(tmp0_desc, 0);
508
508
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -543,10 +543,10 @@
543
543
  return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
544
544
  };
545
545
  protoOf($serializer).uo = function () {
546
- return this.r7f_1;
546
+ return this.p7f_1;
547
547
  };
548
548
  protoOf($serializer).o10 = function () {
549
- var tmp0_cached = Companion_getInstance_0().q7f_1;
549
+ var tmp0_cached = Companion_getInstance_0().o7f_1;
550
550
  // Inline function 'kotlin.arrayOf' call
551
551
  // Inline function 'kotlin.js.unsafeCast' call
552
552
  // Inline function 'kotlin.js.asDynamic' call
@@ -560,18 +560,18 @@
560
560
  }
561
561
  function BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, $this) {
562
562
  if (!(3 === (3 & seen0))) {
563
- throwMissingFieldException(seen0, 3, $serializer_getInstance().r7f_1);
563
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().p7f_1);
564
564
  }
565
- $this.t7f_1 = botPersonality;
566
- $this.u7f_1 = gameState;
565
+ $this.r7f_1 = botPersonality;
566
+ $this.s7f_1 = gameState;
567
567
  if (0 === (seen0 & 4))
568
- $this.v7f_1 = emptyList();
568
+ $this.t7f_1 = emptyList();
569
569
  else
570
- $this.v7f_1 = conversationHistory;
570
+ $this.t7f_1 = conversationHistory;
571
571
  if (0 === (seen0 & 8))
572
- $this.w7f_1 = null;
572
+ $this.u7f_1 = null;
573
573
  else
574
- $this.w7f_1 = playerName;
574
+ $this.u7f_1 = playerName;
575
575
  return $this;
576
576
  }
577
577
  function BotChatContext_init_$Create$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker) {
@@ -581,19 +581,19 @@
581
581
  Companion_getInstance_0();
582
582
  conversationHistory = conversationHistory === VOID ? emptyList() : conversationHistory;
583
583
  playerName = playerName === VOID ? null : playerName;
584
- this.t7f_1 = botPersonality;
585
- this.u7f_1 = gameState;
586
- this.v7f_1 = conversationHistory;
587
- this.w7f_1 = playerName;
584
+ this.r7f_1 = botPersonality;
585
+ this.s7f_1 = gameState;
586
+ this.t7f_1 = conversationHistory;
587
+ this.u7f_1 = playerName;
588
588
  }
589
589
  protoOf(BotChatContext).toString = function () {
590
- return 'BotChatContext(botPersonality=' + this.t7f_1 + ', gameState=' + this.u7f_1 + ', conversationHistory=' + toString(this.v7f_1) + ', playerName=' + this.w7f_1 + ')';
590
+ return 'BotChatContext(botPersonality=' + this.r7f_1 + ', gameState=' + this.s7f_1 + ', conversationHistory=' + toString(this.t7f_1) + ', playerName=' + this.u7f_1 + ')';
591
591
  };
592
592
  protoOf(BotChatContext).hashCode = function () {
593
- var result = getStringHashCode(this.t7f_1);
594
- result = imul(result, 31) + getStringHashCode(this.u7f_1) | 0;
595
- result = imul(result, 31) + hashCode(this.v7f_1) | 0;
596
- result = imul(result, 31) + (this.w7f_1 == null ? 0 : getStringHashCode(this.w7f_1)) | 0;
593
+ var result = getStringHashCode(this.r7f_1);
594
+ result = imul(result, 31) + getStringHashCode(this.s7f_1) | 0;
595
+ result = imul(result, 31) + hashCode(this.t7f_1) | 0;
596
+ result = imul(result, 31) + (this.u7f_1 == null ? 0 : getStringHashCode(this.u7f_1)) | 0;
597
597
  return result;
598
598
  };
599
599
  protoOf(BotChatContext).equals = function (other) {
@@ -601,18 +601,18 @@
601
601
  return true;
602
602
  if (!(other instanceof BotChatContext))
603
603
  return false;
604
- if (!(this.t7f_1 === other.t7f_1))
604
+ if (!(this.r7f_1 === other.r7f_1))
605
605
  return false;
606
- if (!(this.u7f_1 === other.u7f_1))
606
+ if (!(this.s7f_1 === other.s7f_1))
607
607
  return false;
608
- if (!equals(this.v7f_1, other.v7f_1))
608
+ if (!equals(this.t7f_1, other.t7f_1))
609
609
  return false;
610
- if (!(this.w7f_1 == other.w7f_1))
610
+ if (!(this.u7f_1 == other.u7f_1))
611
611
  return false;
612
612
  return true;
613
613
  };
614
614
  function _get_$cachedSerializer__te6jhj($this) {
615
- return $this.x7f_1.o1();
615
+ return $this.v7f_1.o1();
616
616
  }
617
617
  function ChatMessage$Role$Companion$_anonymous__13jozo() {
618
618
  var tmp = values();
@@ -636,7 +636,7 @@
636
636
  Companion_instance_2 = this;
637
637
  var tmp = this;
638
638
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
639
- tmp.x7f_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
639
+ tmp.v7f_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
640
640
  }
641
641
  protoOf(Companion_0).t1c = function () {
642
642
  return _get_$cachedSerializer__te6jhj(this);
@@ -674,15 +674,15 @@
674
674
  // Inline function 'kotlin.arrayOf' call
675
675
  // Inline function 'kotlin.js.unsafeCast' call
676
676
  // Inline function 'kotlin.js.asDynamic' call
677
- tmp.y7f_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
677
+ tmp.w7f_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
678
678
  }
679
- protoOf(Companion_1).z7f = function (content) {
679
+ protoOf(Companion_1).x7f = function (content) {
680
680
  return new ChatMessage(Role_SYSTEM_getInstance(), content);
681
681
  };
682
- protoOf(Companion_1).a7g = function (content) {
682
+ protoOf(Companion_1).y7f = function (content) {
683
683
  return new ChatMessage(Role_USER_getInstance(), content);
684
684
  };
685
- protoOf(Companion_1).b7g = function (content) {
685
+ protoOf(Companion_1).z7f = function (content) {
686
686
  return new ChatMessage(Role_ASSISTANT_getInstance(), content);
687
687
  };
688
688
  var Companion_instance_3;
@@ -696,28 +696,28 @@
696
696
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
697
697
  tmp0_serialDesc.zz('role', false);
698
698
  tmp0_serialDesc.zz('content', false);
699
- this.c7g_1 = tmp0_serialDesc;
699
+ this.a7g_1 = tmp0_serialDesc;
700
700
  }
701
- protoOf($serializer_0).d7g = function (encoder, value) {
702
- var tmp0_desc = this.c7g_1;
701
+ protoOf($serializer_0).b7g = function (encoder, value) {
702
+ var tmp0_desc = this.a7g_1;
703
703
  var tmp1_output = encoder.hs(tmp0_desc);
704
- var tmp2_cached = Companion_getInstance_2().y7f_1;
705
- tmp1_output.yt(tmp0_desc, 0, tmp2_cached[0].o1(), value.e7g_1);
706
- tmp1_output.wt(tmp0_desc, 1, value.f7g_1);
704
+ var tmp2_cached = Companion_getInstance_2().w7f_1;
705
+ tmp1_output.yt(tmp0_desc, 0, tmp2_cached[0].o1(), value.c7g_1);
706
+ tmp1_output.wt(tmp0_desc, 1, value.d7g_1);
707
707
  tmp1_output.is(tmp0_desc);
708
708
  };
709
709
  protoOf($serializer_0).vo = function (encoder, value) {
710
- return this.d7g(encoder, value instanceof ChatMessage ? value : THROW_CCE());
710
+ return this.b7g(encoder, value instanceof ChatMessage ? value : THROW_CCE());
711
711
  };
712
712
  protoOf($serializer_0).wo = function (decoder) {
713
- var tmp0_desc = this.c7g_1;
713
+ var tmp0_desc = this.a7g_1;
714
714
  var tmp1_flag = true;
715
715
  var tmp2_index = 0;
716
716
  var tmp3_bitMask0 = 0;
717
717
  var tmp4_local0 = null;
718
718
  var tmp5_local1 = null;
719
719
  var tmp6_input = decoder.hs(tmp0_desc);
720
- var tmp7_cached = Companion_getInstance_2().y7f_1;
720
+ var tmp7_cached = Companion_getInstance_2().w7f_1;
721
721
  if (tmp6_input.xs()) {
722
722
  tmp4_local0 = tmp6_input.ts(tmp0_desc, 0, tmp7_cached[0].o1(), tmp4_local0);
723
723
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -746,13 +746,13 @@
746
746
  return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
747
747
  };
748
748
  protoOf($serializer_0).uo = function () {
749
- return this.c7g_1;
749
+ return this.a7g_1;
750
750
  };
751
751
  protoOf($serializer_0).o10 = function () {
752
752
  // Inline function 'kotlin.arrayOf' call
753
753
  // Inline function 'kotlin.js.unsafeCast' call
754
754
  // Inline function 'kotlin.js.asDynamic' call
755
- return [Companion_getInstance_2().y7f_1[0].o1(), StringSerializer_getInstance()];
755
+ return [Companion_getInstance_2().w7f_1[0].o1(), StringSerializer_getInstance()];
756
756
  };
757
757
  var $serializer_instance_0;
758
758
  function $serializer_getInstance_0() {
@@ -762,10 +762,10 @@
762
762
  }
763
763
  function ChatMessage_init_$Init$(seen0, role, content, serializationConstructorMarker, $this) {
764
764
  if (!(3 === (3 & seen0))) {
765
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().c7g_1);
765
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().a7g_1);
766
766
  }
767
- $this.e7g_1 = role;
768
- $this.f7g_1 = content;
767
+ $this.c7g_1 = role;
768
+ $this.d7g_1 = content;
769
769
  return $this;
770
770
  }
771
771
  function ChatMessage_init_$Create$(seen0, role, content, serializationConstructorMarker) {
@@ -785,15 +785,15 @@
785
785
  }
786
786
  function ChatMessage(role, content) {
787
787
  Companion_getInstance_2();
788
- this.e7g_1 = role;
789
- this.f7g_1 = content;
788
+ this.c7g_1 = role;
789
+ this.d7g_1 = content;
790
790
  }
791
791
  protoOf(ChatMessage).toString = function () {
792
- return 'ChatMessage(role=' + this.e7g_1.toString() + ', content=' + this.f7g_1 + ')';
792
+ return 'ChatMessage(role=' + this.c7g_1.toString() + ', content=' + this.d7g_1 + ')';
793
793
  };
794
794
  protoOf(ChatMessage).hashCode = function () {
795
- var result = this.e7g_1.hashCode();
796
- result = imul(result, 31) + getStringHashCode(this.f7g_1) | 0;
795
+ var result = this.c7g_1.hashCode();
796
+ result = imul(result, 31) + getStringHashCode(this.d7g_1) | 0;
797
797
  return result;
798
798
  };
799
799
  protoOf(ChatMessage).equals = function (other) {
@@ -801,9 +801,9 @@
801
801
  return true;
802
802
  if (!(other instanceof ChatMessage))
803
803
  return false;
804
- if (!this.e7g_1.equals(other.e7g_1))
804
+ if (!this.c7g_1.equals(other.c7g_1))
805
805
  return false;
806
- if (!(this.f7g_1 === other.f7g_1))
806
+ if (!(this.d7g_1 === other.d7g_1))
807
807
  return false;
808
808
  return true;
809
809
  };
@@ -814,25 +814,25 @@
814
814
  maxTokens = maxTokens === VOID ? 150 : maxTokens;
815
815
  timeout = timeout === VOID ? 30000 : timeout;
816
816
  enableDebugLogging = enableDebugLogging === VOID ? false : enableDebugLogging;
817
- this.j7e_1 = apiKey;
818
- this.k7e_1 = model;
819
- this.l7e_1 = baseUrl;
820
- this.m7e_1 = temperature;
821
- this.n7e_1 = maxTokens;
822
- this.o7e_1 = timeout;
823
- this.p7e_1 = enableDebugLogging;
817
+ this.h7e_1 = apiKey;
818
+ this.i7e_1 = model;
819
+ this.j7e_1 = baseUrl;
820
+ this.k7e_1 = temperature;
821
+ this.l7e_1 = maxTokens;
822
+ this.m7e_1 = timeout;
823
+ this.n7e_1 = enableDebugLogging;
824
824
  }
825
825
  protoOf(OpenAIConfig).toString = function () {
826
- return 'OpenAIConfig(apiKey=' + this.j7e_1 + ', model=' + this.k7e_1 + ', baseUrl=' + this.l7e_1 + ', temperature=' + this.m7e_1 + ', maxTokens=' + this.n7e_1 + ', timeout=' + this.o7e_1 + ', enableDebugLogging=' + this.p7e_1 + ')';
826
+ return 'OpenAIConfig(apiKey=' + this.h7e_1 + ', model=' + this.i7e_1 + ', baseUrl=' + this.j7e_1 + ', temperature=' + this.k7e_1 + ', maxTokens=' + this.l7e_1 + ', timeout=' + this.m7e_1 + ', enableDebugLogging=' + this.n7e_1 + ')';
827
827
  };
828
828
  protoOf(OpenAIConfig).hashCode = function () {
829
- var result = getStringHashCode(this.j7e_1);
830
- result = imul(result, 31) + getStringHashCode(this.k7e_1) | 0;
831
- result = imul(result, 31) + getStringHashCode(this.l7e_1) | 0;
832
- result = imul(result, 31) + getNumberHashCode(this.m7e_1) | 0;
833
- result = imul(result, 31) + this.n7e_1 | 0;
834
- result = imul(result, 31) + this.o7e_1 | 0;
835
- result = imul(result, 31) + getBooleanHashCode(this.p7e_1) | 0;
829
+ var result = getStringHashCode(this.h7e_1);
830
+ result = imul(result, 31) + getStringHashCode(this.i7e_1) | 0;
831
+ result = imul(result, 31) + getStringHashCode(this.j7e_1) | 0;
832
+ result = imul(result, 31) + getNumberHashCode(this.k7e_1) | 0;
833
+ result = imul(result, 31) + this.l7e_1 | 0;
834
+ result = imul(result, 31) + this.m7e_1 | 0;
835
+ result = imul(result, 31) + getBooleanHashCode(this.n7e_1) | 0;
836
836
  return result;
837
837
  };
838
838
  protoOf(OpenAIConfig).equals = function (other) {
@@ -840,20 +840,20 @@
840
840
  return true;
841
841
  if (!(other instanceof OpenAIConfig))
842
842
  return false;
843
+ if (!(this.h7e_1 === other.h7e_1))
844
+ return false;
845
+ if (!(this.i7e_1 === other.i7e_1))
846
+ return false;
843
847
  if (!(this.j7e_1 === other.j7e_1))
844
848
  return false;
845
- if (!(this.k7e_1 === other.k7e_1))
849
+ if (!equals(this.k7e_1, other.k7e_1))
846
850
  return false;
847
851
  if (!(this.l7e_1 === other.l7e_1))
848
852
  return false;
849
- if (!equals(this.m7e_1, other.m7e_1))
853
+ if (!(this.m7e_1 === other.m7e_1))
850
854
  return false;
851
855
  if (!(this.n7e_1 === other.n7e_1))
852
856
  return false;
853
- if (!(this.o7e_1 === other.o7e_1))
854
- return false;
855
- if (!(this.p7e_1 === other.p7e_1))
856
- return false;
857
857
  return true;
858
858
  };
859
859
  function OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1() {
@@ -866,7 +866,7 @@
866
866
  // Inline function 'kotlin.arrayOf' call
867
867
  // Inline function 'kotlin.js.unsafeCast' call
868
868
  // Inline function 'kotlin.js.asDynamic' call
869
- tmp.g7g_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
869
+ tmp.e7g_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
870
870
  }
871
871
  var Companion_instance_4;
872
872
  function Companion_getInstance_3() {
@@ -881,23 +881,23 @@
881
881
  tmp0_serialDesc.zz('messages', false);
882
882
  tmp0_serialDesc.zz('temperature', false);
883
883
  tmp0_serialDesc.zz('max_tokens', false);
884
- this.h7g_1 = tmp0_serialDesc;
884
+ this.f7g_1 = tmp0_serialDesc;
885
885
  }
886
- protoOf($serializer_1).i7g = function (encoder, value) {
887
- var tmp0_desc = this.h7g_1;
886
+ protoOf($serializer_1).g7g = function (encoder, value) {
887
+ var tmp0_desc = this.f7g_1;
888
888
  var tmp1_output = encoder.hs(tmp0_desc);
889
- var tmp2_cached = Companion_getInstance_3().g7g_1;
890
- tmp1_output.wt(tmp0_desc, 0, value.j7g_1);
891
- tmp1_output.yt(tmp0_desc, 1, tmp2_cached[1].o1(), value.k7g_1);
892
- tmp1_output.ut(tmp0_desc, 2, value.l7g_1);
893
- tmp1_output.rt(tmp0_desc, 3, value.m7g_1);
889
+ var tmp2_cached = Companion_getInstance_3().e7g_1;
890
+ tmp1_output.wt(tmp0_desc, 0, value.h7g_1);
891
+ tmp1_output.yt(tmp0_desc, 1, tmp2_cached[1].o1(), value.i7g_1);
892
+ tmp1_output.ut(tmp0_desc, 2, value.j7g_1);
893
+ tmp1_output.rt(tmp0_desc, 3, value.k7g_1);
894
894
  tmp1_output.is(tmp0_desc);
895
895
  };
896
896
  protoOf($serializer_1).vo = function (encoder, value) {
897
- return this.i7g(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
897
+ return this.g7g(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
898
898
  };
899
899
  protoOf($serializer_1).wo = function (decoder) {
900
- var tmp0_desc = this.h7g_1;
900
+ var tmp0_desc = this.f7g_1;
901
901
  var tmp1_flag = true;
902
902
  var tmp2_index = 0;
903
903
  var tmp3_bitMask0 = 0;
@@ -906,7 +906,7 @@
906
906
  var tmp6_local2 = 0.0;
907
907
  var tmp7_local3 = 0;
908
908
  var tmp8_input = decoder.hs(tmp0_desc);
909
- var tmp9_cached = Companion_getInstance_3().g7g_1;
909
+ var tmp9_cached = Companion_getInstance_3().e7g_1;
910
910
  if (tmp8_input.xs()) {
911
911
  tmp4_local0 = tmp8_input.rs(tmp0_desc, 0);
912
912
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -947,10 +947,10 @@
947
947
  return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
948
948
  };
949
949
  protoOf($serializer_1).uo = function () {
950
- return this.h7g_1;
950
+ return this.f7g_1;
951
951
  };
952
952
  protoOf($serializer_1).o10 = function () {
953
- var tmp0_cached = Companion_getInstance_3().g7g_1;
953
+ var tmp0_cached = Companion_getInstance_3().e7g_1;
954
954
  // Inline function 'kotlin.arrayOf' call
955
955
  // Inline function 'kotlin.js.unsafeCast' call
956
956
  // Inline function 'kotlin.js.asDynamic' call
@@ -964,12 +964,12 @@
964
964
  }
965
965
  function OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, $this) {
966
966
  if (!(15 === (15 & seen0))) {
967
- throwMissingFieldException(seen0, 15, $serializer_getInstance_1().h7g_1);
967
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_1().f7g_1);
968
968
  }
969
- $this.j7g_1 = model;
970
- $this.k7g_1 = messages;
971
- $this.l7g_1 = temperature;
972
- $this.m7g_1 = maxTokens;
969
+ $this.h7g_1 = model;
970
+ $this.i7g_1 = messages;
971
+ $this.j7g_1 = temperature;
972
+ $this.k7g_1 = maxTokens;
973
973
  return $this;
974
974
  }
975
975
  function OpenAIRequest_init_$Create$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker) {
@@ -977,19 +977,19 @@
977
977
  }
978
978
  function OpenAIRequest(model, messages, temperature, maxTokens) {
979
979
  Companion_getInstance_3();
980
- this.j7g_1 = model;
981
- this.k7g_1 = messages;
982
- this.l7g_1 = temperature;
983
- this.m7g_1 = maxTokens;
980
+ this.h7g_1 = model;
981
+ this.i7g_1 = messages;
982
+ this.j7g_1 = temperature;
983
+ this.k7g_1 = maxTokens;
984
984
  }
985
985
  protoOf(OpenAIRequest).toString = function () {
986
- return 'OpenAIRequest(model=' + this.j7g_1 + ', messages=' + toString(this.k7g_1) + ', temperature=' + this.l7g_1 + ', maxTokens=' + this.m7g_1 + ')';
986
+ return 'OpenAIRequest(model=' + this.h7g_1 + ', messages=' + toString(this.i7g_1) + ', temperature=' + this.j7g_1 + ', maxTokens=' + this.k7g_1 + ')';
987
987
  };
988
988
  protoOf(OpenAIRequest).hashCode = function () {
989
- var result = getStringHashCode(this.j7g_1);
990
- result = imul(result, 31) + hashCode(this.k7g_1) | 0;
991
- result = imul(result, 31) + getNumberHashCode(this.l7g_1) | 0;
992
- result = imul(result, 31) + this.m7g_1 | 0;
989
+ var result = getStringHashCode(this.h7g_1);
990
+ result = imul(result, 31) + hashCode(this.i7g_1) | 0;
991
+ result = imul(result, 31) + getNumberHashCode(this.j7g_1) | 0;
992
+ result = imul(result, 31) + this.k7g_1 | 0;
993
993
  return result;
994
994
  };
995
995
  protoOf(OpenAIRequest).equals = function (other) {
@@ -997,13 +997,13 @@
997
997
  return true;
998
998
  if (!(other instanceof OpenAIRequest))
999
999
  return false;
1000
- if (!(this.j7g_1 === other.j7g_1))
1000
+ if (!(this.h7g_1 === other.h7g_1))
1001
1001
  return false;
1002
- if (!equals(this.k7g_1, other.k7g_1))
1002
+ if (!equals(this.i7g_1, other.i7g_1))
1003
1003
  return false;
1004
- if (!equals(this.l7g_1, other.l7g_1))
1004
+ if (!equals(this.j7g_1, other.j7g_1))
1005
1005
  return false;
1006
- if (!(this.m7g_1 === other.m7g_1))
1006
+ if (!(this.k7g_1 === other.k7g_1))
1007
1007
  return false;
1008
1008
  return true;
1009
1009
  };
@@ -1013,23 +1013,23 @@
1013
1013
  tmp0_serialDesc.zz('index', false);
1014
1014
  tmp0_serialDesc.zz('message', false);
1015
1015
  tmp0_serialDesc.zz('finish_reason', true);
1016
- this.n7g_1 = tmp0_serialDesc;
1016
+ this.l7g_1 = tmp0_serialDesc;
1017
1017
  }
1018
- protoOf($serializer_2).o7g = function (encoder, value) {
1019
- var tmp0_desc = this.n7g_1;
1018
+ protoOf($serializer_2).m7g = function (encoder, value) {
1019
+ var tmp0_desc = this.l7g_1;
1020
1020
  var tmp1_output = encoder.hs(tmp0_desc);
1021
- tmp1_output.rt(tmp0_desc, 0, value.p7g_1);
1022
- tmp1_output.yt(tmp0_desc, 1, $serializer_getInstance_0(), value.q7g_1);
1023
- if (tmp1_output.eu(tmp0_desc, 2) ? true : !(value.r7g_1 == null)) {
1024
- tmp1_output.au(tmp0_desc, 2, StringSerializer_getInstance(), value.r7g_1);
1021
+ tmp1_output.rt(tmp0_desc, 0, value.n7g_1);
1022
+ tmp1_output.yt(tmp0_desc, 1, $serializer_getInstance_0(), value.o7g_1);
1023
+ if (tmp1_output.eu(tmp0_desc, 2) ? true : !(value.p7g_1 == null)) {
1024
+ tmp1_output.au(tmp0_desc, 2, StringSerializer_getInstance(), value.p7g_1);
1025
1025
  }
1026
1026
  tmp1_output.is(tmp0_desc);
1027
1027
  };
1028
1028
  protoOf($serializer_2).vo = function (encoder, value) {
1029
- return this.o7g(encoder, value instanceof Choice ? value : THROW_CCE());
1029
+ return this.m7g(encoder, value instanceof Choice ? value : THROW_CCE());
1030
1030
  };
1031
1031
  protoOf($serializer_2).wo = function (decoder) {
1032
- var tmp0_desc = this.n7g_1;
1032
+ var tmp0_desc = this.l7g_1;
1033
1033
  var tmp1_flag = true;
1034
1034
  var tmp2_index = 0;
1035
1035
  var tmp3_bitMask0 = 0;
@@ -1071,7 +1071,7 @@
1071
1071
  return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1072
1072
  };
1073
1073
  protoOf($serializer_2).uo = function () {
1074
- return this.n7g_1;
1074
+ return this.l7g_1;
1075
1075
  };
1076
1076
  protoOf($serializer_2).o10 = function () {
1077
1077
  // Inline function 'kotlin.arrayOf' call
@@ -1087,14 +1087,14 @@
1087
1087
  }
1088
1088
  function Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, $this) {
1089
1089
  if (!(3 === (3 & seen0))) {
1090
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().n7g_1);
1090
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().l7g_1);
1091
1091
  }
1092
- $this.p7g_1 = index;
1093
- $this.q7g_1 = message;
1092
+ $this.n7g_1 = index;
1093
+ $this.o7g_1 = message;
1094
1094
  if (0 === (seen0 & 4))
1095
- $this.r7g_1 = null;
1095
+ $this.p7g_1 = null;
1096
1096
  else
1097
- $this.r7g_1 = finishReason;
1097
+ $this.p7g_1 = finishReason;
1098
1098
  return $this;
1099
1099
  }
1100
1100
  function Choice_init_$Create$(seen0, index, message, finishReason, serializationConstructorMarker) {
@@ -1106,21 +1106,21 @@
1106
1106
  tmp0_serialDesc.zz('prompt_tokens', false);
1107
1107
  tmp0_serialDesc.zz('completion_tokens', false);
1108
1108
  tmp0_serialDesc.zz('total_tokens', false);
1109
- this.s7g_1 = tmp0_serialDesc;
1109
+ this.q7g_1 = tmp0_serialDesc;
1110
1110
  }
1111
- protoOf($serializer_3).t7g = function (encoder, value) {
1112
- var tmp0_desc = this.s7g_1;
1111
+ protoOf($serializer_3).r7g = function (encoder, value) {
1112
+ var tmp0_desc = this.q7g_1;
1113
1113
  var tmp1_output = encoder.hs(tmp0_desc);
1114
- tmp1_output.rt(tmp0_desc, 0, value.u7g_1);
1115
- tmp1_output.rt(tmp0_desc, 1, value.v7g_1);
1116
- tmp1_output.rt(tmp0_desc, 2, value.w7g_1);
1114
+ tmp1_output.rt(tmp0_desc, 0, value.s7g_1);
1115
+ tmp1_output.rt(tmp0_desc, 1, value.t7g_1);
1116
+ tmp1_output.rt(tmp0_desc, 2, value.u7g_1);
1117
1117
  tmp1_output.is(tmp0_desc);
1118
1118
  };
1119
1119
  protoOf($serializer_3).vo = function (encoder, value) {
1120
- return this.t7g(encoder, value instanceof Usage ? value : THROW_CCE());
1120
+ return this.r7g(encoder, value instanceof Usage ? value : THROW_CCE());
1121
1121
  };
1122
1122
  protoOf($serializer_3).wo = function (decoder) {
1123
- var tmp0_desc = this.s7g_1;
1123
+ var tmp0_desc = this.q7g_1;
1124
1124
  var tmp1_flag = true;
1125
1125
  var tmp2_index = 0;
1126
1126
  var tmp3_bitMask0 = 0;
@@ -1162,7 +1162,7 @@
1162
1162
  return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1163
1163
  };
1164
1164
  protoOf($serializer_3).uo = function () {
1165
- return this.s7g_1;
1165
+ return this.q7g_1;
1166
1166
  };
1167
1167
  protoOf($serializer_3).o10 = function () {
1168
1168
  // Inline function 'kotlin.arrayOf' call
@@ -1178,11 +1178,11 @@
1178
1178
  }
1179
1179
  function Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, $this) {
1180
1180
  if (!(7 === (7 & seen0))) {
1181
- throwMissingFieldException(seen0, 7, $serializer_getInstance_3().s7g_1);
1181
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_3().q7g_1);
1182
1182
  }
1183
- $this.u7g_1 = promptTokens;
1184
- $this.v7g_1 = completionTokens;
1185
- $this.w7g_1 = totalTokens;
1183
+ $this.s7g_1 = promptTokens;
1184
+ $this.t7g_1 = completionTokens;
1185
+ $this.u7g_1 = totalTokens;
1186
1186
  return $this;
1187
1187
  }
1188
1188
  function Usage_init_$Create$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker) {
@@ -1194,12 +1194,12 @@
1194
1194
  function Choice() {
1195
1195
  }
1196
1196
  protoOf(Choice).toString = function () {
1197
- return 'Choice(index=' + this.p7g_1 + ', message=' + this.q7g_1.toString() + ', finishReason=' + this.r7g_1 + ')';
1197
+ return 'Choice(index=' + this.n7g_1 + ', message=' + this.o7g_1.toString() + ', finishReason=' + this.p7g_1 + ')';
1198
1198
  };
1199
1199
  protoOf(Choice).hashCode = function () {
1200
- var result = this.p7g_1;
1201
- result = imul(result, 31) + this.q7g_1.hashCode() | 0;
1202
- result = imul(result, 31) + (this.r7g_1 == null ? 0 : getStringHashCode(this.r7g_1)) | 0;
1200
+ var result = this.n7g_1;
1201
+ result = imul(result, 31) + this.o7g_1.hashCode() | 0;
1202
+ result = imul(result, 31) + (this.p7g_1 == null ? 0 : getStringHashCode(this.p7g_1)) | 0;
1203
1203
  return result;
1204
1204
  };
1205
1205
  protoOf(Choice).equals = function (other) {
@@ -1207,23 +1207,23 @@
1207
1207
  return true;
1208
1208
  if (!(other instanceof Choice))
1209
1209
  return false;
1210
- if (!(this.p7g_1 === other.p7g_1))
1210
+ if (!(this.n7g_1 === other.n7g_1))
1211
1211
  return false;
1212
- if (!this.q7g_1.equals(other.q7g_1))
1212
+ if (!this.o7g_1.equals(other.o7g_1))
1213
1213
  return false;
1214
- if (!(this.r7g_1 == other.r7g_1))
1214
+ if (!(this.p7g_1 == other.p7g_1))
1215
1215
  return false;
1216
1216
  return true;
1217
1217
  };
1218
1218
  function Usage() {
1219
1219
  }
1220
1220
  protoOf(Usage).toString = function () {
1221
- return 'Usage(promptTokens=' + this.u7g_1 + ', completionTokens=' + this.v7g_1 + ', totalTokens=' + this.w7g_1 + ')';
1221
+ return 'Usage(promptTokens=' + this.s7g_1 + ', completionTokens=' + this.t7g_1 + ', totalTokens=' + this.u7g_1 + ')';
1222
1222
  };
1223
1223
  protoOf(Usage).hashCode = function () {
1224
- var result = this.u7g_1;
1225
- result = imul(result, 31) + this.v7g_1 | 0;
1226
- result = imul(result, 31) + this.w7g_1 | 0;
1224
+ var result = this.s7g_1;
1225
+ result = imul(result, 31) + this.t7g_1 | 0;
1226
+ result = imul(result, 31) + this.u7g_1 | 0;
1227
1227
  return result;
1228
1228
  };
1229
1229
  protoOf(Usage).equals = function (other) {
@@ -1231,11 +1231,11 @@
1231
1231
  return true;
1232
1232
  if (!(other instanceof Usage))
1233
1233
  return false;
1234
- if (!(this.u7g_1 === other.u7g_1))
1234
+ if (!(this.s7g_1 === other.s7g_1))
1235
1235
  return false;
1236
- if (!(this.v7g_1 === other.v7g_1))
1236
+ if (!(this.t7g_1 === other.t7g_1))
1237
1237
  return false;
1238
- if (!(this.w7g_1 === other.w7g_1))
1238
+ if (!(this.u7g_1 === other.u7g_1))
1239
1239
  return false;
1240
1240
  return true;
1241
1241
  };
@@ -1246,7 +1246,7 @@
1246
1246
  // Inline function 'kotlin.arrayOf' call
1247
1247
  // Inline function 'kotlin.js.unsafeCast' call
1248
1248
  // Inline function 'kotlin.js.asDynamic' call
1249
- tmp.x7g_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1249
+ tmp.v7g_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1250
1250
  }
1251
1251
  var Companion_instance_5;
1252
1252
  function Companion_getInstance_4() {
@@ -1263,27 +1263,27 @@
1263
1263
  tmp0_serialDesc.zz('model', false);
1264
1264
  tmp0_serialDesc.zz('choices', false);
1265
1265
  tmp0_serialDesc.zz('usage', true);
1266
- this.y7g_1 = tmp0_serialDesc;
1266
+ this.w7g_1 = tmp0_serialDesc;
1267
1267
  }
1268
- protoOf($serializer_4).z7g = function (encoder, value) {
1269
- var tmp0_desc = this.y7g_1;
1268
+ protoOf($serializer_4).x7g = function (encoder, value) {
1269
+ var tmp0_desc = this.w7g_1;
1270
1270
  var tmp1_output = encoder.hs(tmp0_desc);
1271
- var tmp2_cached = Companion_getInstance_4().x7g_1;
1272
- tmp1_output.wt(tmp0_desc, 0, value.a7h_1);
1273
- tmp1_output.wt(tmp0_desc, 1, value.b7h_1);
1274
- tmp1_output.st(tmp0_desc, 2, value.c7h_1);
1275
- tmp1_output.wt(tmp0_desc, 3, value.d7h_1);
1276
- tmp1_output.yt(tmp0_desc, 4, tmp2_cached[4].o1(), value.e7h_1);
1277
- if (tmp1_output.eu(tmp0_desc, 5) ? true : !(value.f7h_1 == null)) {
1278
- tmp1_output.au(tmp0_desc, 5, $serializer_getInstance_3(), value.f7h_1);
1271
+ var tmp2_cached = Companion_getInstance_4().v7g_1;
1272
+ tmp1_output.wt(tmp0_desc, 0, value.y7g_1);
1273
+ tmp1_output.wt(tmp0_desc, 1, value.z7g_1);
1274
+ tmp1_output.st(tmp0_desc, 2, value.a7h_1);
1275
+ tmp1_output.wt(tmp0_desc, 3, value.b7h_1);
1276
+ tmp1_output.yt(tmp0_desc, 4, tmp2_cached[4].o1(), value.c7h_1);
1277
+ if (tmp1_output.eu(tmp0_desc, 5) ? true : !(value.d7h_1 == null)) {
1278
+ tmp1_output.au(tmp0_desc, 5, $serializer_getInstance_3(), value.d7h_1);
1279
1279
  }
1280
1280
  tmp1_output.is(tmp0_desc);
1281
1281
  };
1282
1282
  protoOf($serializer_4).vo = function (encoder, value) {
1283
- return this.z7g(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1283
+ return this.x7g(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1284
1284
  };
1285
1285
  protoOf($serializer_4).wo = function (decoder) {
1286
- var tmp0_desc = this.y7g_1;
1286
+ var tmp0_desc = this.w7g_1;
1287
1287
  var tmp1_flag = true;
1288
1288
  var tmp2_index = 0;
1289
1289
  var tmp3_bitMask0 = 0;
@@ -1294,7 +1294,7 @@
1294
1294
  var tmp8_local4 = null;
1295
1295
  var tmp9_local5 = null;
1296
1296
  var tmp10_input = decoder.hs(tmp0_desc);
1297
- var tmp11_cached = Companion_getInstance_4().x7g_1;
1297
+ var tmp11_cached = Companion_getInstance_4().v7g_1;
1298
1298
  if (tmp10_input.xs()) {
1299
1299
  tmp4_local0 = tmp10_input.rs(tmp0_desc, 0);
1300
1300
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1347,10 +1347,10 @@
1347
1347
  return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
1348
1348
  };
1349
1349
  protoOf($serializer_4).uo = function () {
1350
- return this.y7g_1;
1350
+ return this.w7g_1;
1351
1351
  };
1352
1352
  protoOf($serializer_4).o10 = function () {
1353
- var tmp0_cached = Companion_getInstance_4().x7g_1;
1353
+ var tmp0_cached = Companion_getInstance_4().v7g_1;
1354
1354
  // Inline function 'kotlin.arrayOf' call
1355
1355
  // Inline function 'kotlin.js.unsafeCast' call
1356
1356
  // Inline function 'kotlin.js.asDynamic' call
@@ -1364,17 +1364,17 @@
1364
1364
  }
1365
1365
  function OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, $this) {
1366
1366
  if (!(31 === (31 & seen0))) {
1367
- throwMissingFieldException(seen0, 31, $serializer_getInstance_4().y7g_1);
1367
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_4().w7g_1);
1368
1368
  }
1369
- $this.a7h_1 = id;
1370
- $this.b7h_1 = objectType;
1371
- $this.c7h_1 = created;
1372
- $this.d7h_1 = model;
1373
- $this.e7h_1 = choices;
1369
+ $this.y7g_1 = id;
1370
+ $this.z7g_1 = objectType;
1371
+ $this.a7h_1 = created;
1372
+ $this.b7h_1 = model;
1373
+ $this.c7h_1 = choices;
1374
1374
  if (0 === (seen0 & 32))
1375
- $this.f7h_1 = null;
1375
+ $this.d7h_1 = null;
1376
1376
  else
1377
- $this.f7h_1 = usage;
1377
+ $this.d7h_1 = usage;
1378
1378
  return $this;
1379
1379
  }
1380
1380
  function OpenAIResponse_init_$Create$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker) {
@@ -1383,23 +1383,23 @@
1383
1383
  function OpenAIResponse(id, objectType, created, model, choices, usage) {
1384
1384
  Companion_getInstance_4();
1385
1385
  usage = usage === VOID ? null : usage;
1386
- this.a7h_1 = id;
1387
- this.b7h_1 = objectType;
1388
- this.c7h_1 = created;
1389
- this.d7h_1 = model;
1390
- this.e7h_1 = choices;
1391
- this.f7h_1 = usage;
1386
+ this.y7g_1 = id;
1387
+ this.z7g_1 = objectType;
1388
+ this.a7h_1 = created;
1389
+ this.b7h_1 = model;
1390
+ this.c7h_1 = choices;
1391
+ this.d7h_1 = usage;
1392
1392
  }
1393
1393
  protoOf(OpenAIResponse).toString = function () {
1394
- return 'OpenAIResponse(id=' + this.a7h_1 + ', objectType=' + this.b7h_1 + ', created=' + this.c7h_1.toString() + ', model=' + this.d7h_1 + ', choices=' + toString(this.e7h_1) + ', usage=' + toString_0(this.f7h_1) + ')';
1394
+ return 'OpenAIResponse(id=' + this.y7g_1 + ', objectType=' + this.z7g_1 + ', created=' + this.a7h_1.toString() + ', model=' + this.b7h_1 + ', choices=' + toString(this.c7h_1) + ', usage=' + toString_0(this.d7h_1) + ')';
1395
1395
  };
1396
1396
  protoOf(OpenAIResponse).hashCode = function () {
1397
- var result = getStringHashCode(this.a7h_1);
1397
+ var result = getStringHashCode(this.y7g_1);
1398
+ result = imul(result, 31) + getStringHashCode(this.z7g_1) | 0;
1399
+ result = imul(result, 31) + this.a7h_1.hashCode() | 0;
1398
1400
  result = imul(result, 31) + getStringHashCode(this.b7h_1) | 0;
1399
- result = imul(result, 31) + this.c7h_1.hashCode() | 0;
1400
- result = imul(result, 31) + getStringHashCode(this.d7h_1) | 0;
1401
- result = imul(result, 31) + hashCode(this.e7h_1) | 0;
1402
- result = imul(result, 31) + (this.f7h_1 == null ? 0 : this.f7h_1.hashCode()) | 0;
1401
+ result = imul(result, 31) + hashCode(this.c7h_1) | 0;
1402
+ result = imul(result, 31) + (this.d7h_1 == null ? 0 : this.d7h_1.hashCode()) | 0;
1403
1403
  return result;
1404
1404
  };
1405
1405
  protoOf(OpenAIResponse).equals = function (other) {
@@ -1407,24 +1407,24 @@
1407
1407
  return true;
1408
1408
  if (!(other instanceof OpenAIResponse))
1409
1409
  return false;
1410
- if (!(this.a7h_1 === other.a7h_1))
1410
+ if (!(this.y7g_1 === other.y7g_1))
1411
1411
  return false;
1412
- if (!(this.b7h_1 === other.b7h_1))
1412
+ if (!(this.z7g_1 === other.z7g_1))
1413
1413
  return false;
1414
- if (!equalsLong(this.c7h_1, other.c7h_1))
1414
+ if (!equalsLong(this.a7h_1, other.a7h_1))
1415
1415
  return false;
1416
- if (!(this.d7h_1 === other.d7h_1))
1416
+ if (!(this.b7h_1 === other.b7h_1))
1417
1417
  return false;
1418
- if (!equals(this.e7h_1, other.e7h_1))
1418
+ if (!equals(this.c7h_1, other.c7h_1))
1419
1419
  return false;
1420
- if (!equals(this.f7h_1, other.f7h_1))
1420
+ if (!equals(this.d7h_1, other.d7h_1))
1421
1421
  return false;
1422
1422
  return true;
1423
1423
  };
1424
1424
  function $executeRequestCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
1425
1425
  CoroutineImpl.call(this, resultContinuation);
1426
- this.o7h_1 = _this__u8e3s4;
1427
- this.p7h_1 = messages;
1426
+ this.m7h_1 = _this__u8e3s4;
1427
+ this.n7h_1 = messages;
1428
1428
  }
1429
1429
  protoOf($executeRequestCOROUTINE$).q9 = function () {
1430
1430
  var suspendResult = this.k9_1;
@@ -1435,7 +1435,7 @@
1435
1435
  case 0:
1436
1436
  this.j9_1 = 3;
1437
1437
  this.i9_1 = 1;
1438
- suspendResult = this.o7h_1.q7h_1.i7e(this.p7h_1, this);
1438
+ suspendResult = this.m7h_1.o7h_1.g7e(this.n7h_1, this);
1439
1439
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1440
1440
  return suspendResult;
1441
1441
  }
@@ -1457,9 +1457,9 @@
1457
1457
  var $this$runCatching = this_1.nm_1;
1458
1458
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1459
1459
  var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1460
- var tmp0_safe_receiver = firstOrNull(response.e7h_1);
1461
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q7g_1;
1462
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f7g_1;
1460
+ var tmp0_safe_receiver = firstOrNull(response.c7h_1);
1461
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o7g_1;
1462
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.d7g_1;
1463
1463
  var tmp_3;
1464
1464
  if (tmp2_elvis_lhs == null) {
1465
1465
  throw IllegalStateException_init_$Create$('No response from OpenAI');
@@ -1499,9 +1499,9 @@
1499
1499
  while (true);
1500
1500
  };
1501
1501
  function BaseOpenAIRepository(openAIApi) {
1502
- this.q7h_1 = openAIApi;
1502
+ this.o7h_1 = openAIApi;
1503
1503
  }
1504
- protoOf(BaseOpenAIRepository).r7h = function (messages, $completion) {
1504
+ protoOf(BaseOpenAIRepository).p7h = function (messages, $completion) {
1505
1505
  var tmp = new $executeRequestCOROUTINE$(this, messages, $completion);
1506
1506
  tmp.k9_1 = Unit_instance;
1507
1507
  tmp.l9_1 = null;
@@ -1533,9 +1533,9 @@
1533
1533
  // Inline function 'kotlin.let' call
1534
1534
  this_0.uc(getStringHashCode(take(message, 50))).q(':');
1535
1535
  }
1536
- this_0.uc(getStringHashCode(context.t7f_1));
1536
+ this_0.uc(getStringHashCode(context.r7f_1));
1537
1537
  this_0.q(':');
1538
- this_0.uc(getStringHashCode(context.u7f_1));
1538
+ this_0.uc(getStringHashCode(context.s7f_1));
1539
1539
  var key = this_0.toString();
1540
1540
  return key;
1541
1541
  }
@@ -1548,23 +1548,23 @@
1548
1548
  var this_0 = StringBuilder_init_$Create$();
1549
1549
  this_0.q('\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');
1550
1550
  this_0.q('\n\n');
1551
- this_0.q('Your personality: ' + context.t7f_1);
1551
+ this_0.q('Your personality: ' + context.r7f_1);
1552
1552
  this_0.q('\n');
1553
- this_0.q('Current game state: ' + context.u7f_1);
1553
+ this_0.q('Current game state: ' + context.s7f_1);
1554
1554
  this_0.q('\n\n');
1555
1555
  this_0.q("\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!");
1556
- if (!(context.w7f_1 == null)) {
1557
- this_0.q('\nYou are chatting with ' + context.w7f_1 + '.');
1556
+ if (!(context.u7f_1 == null)) {
1557
+ this_0.q('\nYou are chatting with ' + context.u7f_1 + '.');
1558
1558
  }
1559
1559
  var tmp$ret$3 = this_0.toString();
1560
- messages.e1(tmp.z7f(tmp$ret$3));
1560
+ messages.e1(tmp.x7f(tmp$ret$3));
1561
1561
  // Inline function 'kotlin.collections.forEach' call
1562
- var _iterator__ex2g4s = takeLast(context.v7f_1, 5).t();
1562
+ var _iterator__ex2g4s = takeLast(context.t7f_1, 5).t();
1563
1563
  while (_iterator__ex2g4s.u()) {
1564
1564
  var element = _iterator__ex2g4s.v();
1565
- messages.e1(Companion_getInstance_2().b7g(element));
1565
+ messages.e1(Companion_getInstance_2().z7f(element));
1566
1566
  }
1567
- messages.e1(Companion_getInstance_2().a7g(playerMessage));
1567
+ messages.e1(Companion_getInstance_2().y7f(playerMessage));
1568
1568
  return messages;
1569
1569
  }
1570
1570
  function buildRandomMessagePrompt($this, context) {
@@ -1574,19 +1574,19 @@
1574
1574
  var this_0 = StringBuilder_init_$Create$();
1575
1575
  this_0.q('\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');
1576
1576
  this_0.q('\n\n');
1577
- this_0.q('Your personality: ' + context.t7f_1);
1577
+ this_0.q('Your personality: ' + context.r7f_1);
1578
1578
  this_0.q('\n');
1579
- this_0.q('Current game state: ' + context.u7f_1);
1579
+ this_0.q('Current game state: ' + context.s7f_1);
1580
1580
  this_0.q('\n\n');
1581
1581
  this_0.q('\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.');
1582
1582
  var tmp$ret$2 = this_0.toString();
1583
- return listOf([tmp.z7f(tmp$ret$2), Companion_getInstance_2().a7g('Generate a spontaneous comment about the current game situation.')]);
1583
+ return listOf([tmp.x7f(tmp$ret$2), Companion_getInstance_2().y7f('Generate a spontaneous comment about the current game situation.')]);
1584
1584
  }
1585
1585
  function $executeRequestCOROUTINE$_0(_this__u8e3s4, messages, cacheKey, resultContinuation) {
1586
1586
  CoroutineImpl.call(this, resultContinuation);
1587
- this.c7i_1 = _this__u8e3s4;
1588
- this.d7i_1 = messages;
1589
- this.e7i_1 = cacheKey;
1587
+ this.a7i_1 = _this__u8e3s4;
1588
+ this.b7i_1 = messages;
1589
+ this.c7i_1 = cacheKey;
1590
1590
  }
1591
1591
  protoOf($executeRequestCOROUTINE$_0).q9 = function () {
1592
1592
  var suspendResult = this.k9_1;
@@ -1597,7 +1597,7 @@
1597
1597
  case 0:
1598
1598
  this.j9_1 = 3;
1599
1599
  this.i9_1 = 1;
1600
- suspendResult = this.c7i_1.g7i_1.r7h(this.d7i_1, this);
1600
+ suspendResult = this.a7i_1.e7i_1.p7h(this.b7i_1, this);
1601
1601
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1602
1602
  return suspendResult;
1603
1603
  }
@@ -1619,7 +1619,7 @@
1619
1619
  var $this$runCatching = this_1.nm_1;
1620
1620
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1621
1621
  var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1622
- this.c7i_1.f7i_1.e7f(this.e7i_1, content);
1622
+ this.a7i_1.d7i_1.c7f(this.c7i_1, content);
1623
1623
  tmp_1 = _Result___init__impl__xyqfz8(content);
1624
1624
  } catch ($p) {
1625
1625
  var tmp_3;
@@ -1652,12 +1652,12 @@
1652
1652
  while (true);
1653
1653
  };
1654
1654
  function BotChatRepositoryImpl(openAIApi, cache) {
1655
- this.f7i_1 = cache;
1656
- this.g7i_1 = new BaseOpenAIRepository(openAIApi);
1655
+ this.d7i_1 = cache;
1656
+ this.e7i_1 = new BaseOpenAIRepository(openAIApi);
1657
1657
  }
1658
- protoOf(BotChatRepositoryImpl).s7h = function (playerMessage, context, $completion) {
1658
+ protoOf(BotChatRepositoryImpl).q7h = function (playerMessage, context, $completion) {
1659
1659
  var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
1660
- var tmp0_safe_receiver = this.f7i_1.m1c(cacheKey);
1660
+ var tmp0_safe_receiver = this.d7i_1.m1c(cacheKey);
1661
1661
  if (tmp0_safe_receiver == null)
1662
1662
  null;
1663
1663
  else {
@@ -1672,9 +1672,9 @@
1672
1672
  return tmp;
1673
1673
  return tmp;
1674
1674
  };
1675
- protoOf(BotChatRepositoryImpl).t7h = function (context, $completion) {
1675
+ protoOf(BotChatRepositoryImpl).r7h = function (context, $completion) {
1676
1676
  var cacheKey = buildCacheKey(this, 'random', null, context);
1677
- var tmp0_safe_receiver = this.f7i_1.m1c(cacheKey);
1677
+ var tmp0_safe_receiver = this.d7i_1.m1c(cacheKey);
1678
1678
  if (tmp0_safe_receiver == null)
1679
1679
  null;
1680
1680
  else {
@@ -1703,8 +1703,8 @@
1703
1703
  tmp = json;
1704
1704
  }
1705
1705
  json = tmp;
1706
- this.h7i_1 = json;
1707
- this.i7i_1 = new BaseOpenAIRepository(openAIApi);
1706
+ this.f7i_1 = json;
1707
+ this.g7i_1 = new BaseOpenAIRepository(openAIApi);
1708
1708
  }
1709
1709
  function aiModule(config) {
1710
1710
  return Module_init_$Create$('AIModule', VOID, VOID, aiModule$lambda(config));
@@ -1730,7 +1730,7 @@
1730
1730
  return function ($this$Json) {
1731
1731
  $this$Json.y1a_1 = true;
1732
1732
  $this$Json.z1a_1 = true;
1733
- $this$Json.a1b_1 = $openAIConfig.p7e_1;
1733
+ $this$Json.a1b_1 = $openAIConfig.n7e_1;
1734
1734
  return Unit_instance;
1735
1735
  };
1736
1736
  }
@@ -1743,7 +1743,7 @@
1743
1743
  function aiModule$lambda$lambda$lambda$lambda_0($openAIConfig) {
1744
1744
  return function ($this$install) {
1745
1745
  $this$install.r5a(get_DEFAULT(Companion_instance_0));
1746
- $this$install.q5a_1 = $openAIConfig.p7e_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1746
+ $this$install.q5a_1 = $openAIConfig.n7e_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1747
1747
  return Unit_instance;
1748
1748
  };
1749
1749
  }