game_client_logic_deb 1.8.436 → 1.8.438

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.
@@ -173,14 +173,14 @@
173
173
  }
174
174
  function OpenAIApiImpl$chatCompletion$lambda(this$0) {
175
175
  return function ($this$headers) {
176
- $this$headers.t38(HttpHeaders_getInstance().p3e_1, 'Bearer ' + this$0.a6i_1.t6h_1);
176
+ $this$headers.t38(HttpHeaders_getInstance().p3e_1, 'Bearer ' + this$0.z6h_1.s6h_1);
177
177
  return Unit_instance;
178
178
  };
179
179
  }
180
180
  function $chatCompletionCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
181
181
  CoroutineImpl.call(this, resultContinuation);
182
- this.k6i_1 = _this__u8e3s4;
183
- this.l6i_1 = messages;
182
+ this.j6i_1 = _this__u8e3s4;
183
+ this.k6i_1 = messages;
184
184
  }
185
185
  protoOf($chatCompletionCOROUTINE$).a9 = function () {
186
186
  var suspendResult = this.u8_1;
@@ -191,12 +191,12 @@
191
191
  case 0:
192
192
  this.t8_1 = 4;
193
193
  this.t8_1 = 3;
194
- var request = new OpenAIRequest(this.k6i_1.a6i_1.u6h_1, this.l6i_1, this.k6i_1.a6i_1.w6h_1, this.k6i_1.a6i_1.x6h_1);
195
- var tmp0 = this.k6i_1.b6i_1;
196
- var urlString = this.k6i_1.a6i_1.v6h_1 + '/chat/completions';
194
+ var request = new OpenAIRequest(this.j6i_1.z6h_1.t6h_1, this.k6i_1, this.j6i_1.z6h_1.v6h_1, this.j6i_1.z6h_1.w6h_1);
195
+ var tmp0 = this.j6i_1.a6i_1;
196
+ var urlString = this.j6i_1.z6h_1.u6h_1 + '/chat/completions';
197
197
  var this_0 = new HttpRequestBuilder();
198
198
  url(this_0, urlString);
199
- headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.k6i_1));
199
+ headers(this_0, OpenAIApiImpl$chatCompletion$lambda(this.j6i_1));
200
200
  contentType(this_0, Application_getInstance().u3c_1);
201
201
  if (request == null) {
202
202
  this_0.l3r_1 = NullBody_instance;
@@ -252,7 +252,7 @@
252
252
  case 1:
253
253
  var response = suspendResult;
254
254
  var tmp_8 = this;
255
- tmp_8.n6i_1 = Companion_instance;
255
+ tmp_8.m6i_1 = Companion_instance;
256
256
  this.s8_1 = 2;
257
257
  var tmp_9 = response.m3u();
258
258
  var tmp_10 = JsType_instance;
@@ -280,8 +280,8 @@
280
280
  case 2:
281
281
  var tmp2 = suspendResult instanceof OpenAIResponse ? suspendResult : THROW_CCE();
282
282
  var tmp_14 = this;
283
- this.n6i_1;
284
- tmp_14.m6i_1 = _Result___init__impl__xyqfz8(tmp2);
283
+ this.m6i_1;
284
+ tmp_14.l6i_1 = _Result___init__impl__xyqfz8(tmp2);
285
285
  this.t8_1 = 4;
286
286
  this.s8_1 = 5;
287
287
  continue $sm;
@@ -291,7 +291,7 @@
291
291
  if (tmp_15 instanceof Exception) {
292
292
  var e = this.v8_1;
293
293
  var tmp_16 = this;
294
- tmp_16.m6i_1 = _Result___init__impl__xyqfz8(createFailure(e));
294
+ tmp_16.l6i_1 = _Result___init__impl__xyqfz8(createFailure(e));
295
295
  this.s8_1 = 5;
296
296
  continue $sm;
297
297
  } else {
@@ -302,7 +302,7 @@
302
302
  throw this.v8_1;
303
303
  case 5:
304
304
  this.t8_1 = 4;
305
- return new Result(this.m6i_1);
305
+ return new Result(this.l6i_1);
306
306
  }
307
307
  } catch ($p) {
308
308
  var e_0 = $p;
@@ -316,10 +316,10 @@
316
316
  while (true);
317
317
  };
318
318
  function OpenAIApiImpl(config, httpClient) {
319
- this.a6i_1 = config;
320
- this.b6i_1 = httpClient;
319
+ this.z6h_1 = config;
320
+ this.a6i_1 = httpClient;
321
321
  }
322
- protoOf(OpenAIApiImpl).s6h = function (messages, $completion) {
322
+ protoOf(OpenAIApiImpl).r6h = function (messages, $completion) {
323
323
  var tmp = new $chatCompletionCOROUTINE$(this, messages, $completion);
324
324
  tmp.u8_1 = Unit_instance;
325
325
  tmp.v8_1 = null;
@@ -331,15 +331,15 @@
331
331
  function BotChatCache() {
332
332
  }
333
333
  function CacheEntry(value, timestamp) {
334
- this.p6i_1 = value;
335
- this.q6i_1 = timestamp;
334
+ this.o6i_1 = value;
335
+ this.p6i_1 = timestamp;
336
336
  }
337
337
  protoOf(CacheEntry).toString = function () {
338
- return 'CacheEntry(value=' + this.p6i_1 + ', timestamp=' + this.q6i_1.toString() + ')';
338
+ return 'CacheEntry(value=' + this.o6i_1 + ', timestamp=' + this.p6i_1.toString() + ')';
339
339
  };
340
340
  protoOf(CacheEntry).hashCode = function () {
341
- var result = getStringHashCode(this.p6i_1);
342
- result = imul(result, 31) + this.q6i_1.hashCode() | 0;
341
+ var result = getStringHashCode(this.o6i_1);
342
+ result = imul(result, 31) + this.p6i_1.hashCode() | 0;
343
343
  return result;
344
344
  };
345
345
  protoOf(CacheEntry).equals = function (other) {
@@ -347,36 +347,36 @@
347
347
  return true;
348
348
  if (!(other instanceof CacheEntry))
349
349
  return false;
350
- if (!(this.p6i_1 === other.p6i_1))
350
+ if (!(this.o6i_1 === other.o6i_1))
351
351
  return false;
352
- if (!equalsLong(this.q6i_1, other.q6i_1))
352
+ if (!equalsLong(this.p6i_1, other.p6i_1))
353
353
  return false;
354
354
  return true;
355
355
  };
356
356
  function cleanExpired($this) {
357
357
  var now = System_instance.dk().rk();
358
- var tmp = $this.t6i_1.v();
358
+ var tmp = $this.s6i_1.v();
359
359
  removeAll(tmp, InMemoryBotChatCache$cleanExpired$lambda(now, $this));
360
360
  }
361
361
  function InMemoryBotChatCache$cleanExpired$lambda($now, this$0) {
362
362
  return function (_destruct__k2r9zo) {
363
363
  // Inline function 'kotlin.collections.component2' call
364
364
  var entry = _destruct__k2r9zo.x();
365
- return compare(subtract($now, entry.q6i_1), this$0.r6i_1) > 0;
365
+ return compare(subtract($now, entry.p6i_1), this$0.q6i_1) > 0;
366
366
  };
367
367
  }
368
368
  function InMemoryBotChatCache(ttlMillis, maxSize) {
369
369
  ttlMillis = ttlMillis === VOID ? new Long(300000, 0) : ttlMillis;
370
370
  maxSize = maxSize === VOID ? 100 : maxSize;
371
- this.r6i_1 = ttlMillis;
372
- this.s6i_1 = maxSize;
371
+ this.q6i_1 = ttlMillis;
372
+ this.r6i_1 = maxSize;
373
373
  var tmp = this;
374
374
  // Inline function 'kotlin.collections.mutableMapOf' call
375
- tmp.t6i_1 = LinkedHashMap_init_$Create$();
375
+ tmp.s6i_1 = LinkedHashMap_init_$Create$();
376
376
  }
377
377
  protoOf(InMemoryBotChatCache).u1b = function (key) {
378
378
  cleanExpired(this);
379
- var tmp0_elvis_lhs = this.t6i_1.c2(key);
379
+ var tmp0_elvis_lhs = this.s6i_1.c2(key);
380
380
  var tmp;
381
381
  if (tmp0_elvis_lhs == null) {
382
382
  return null;
@@ -384,17 +384,17 @@
384
384
  tmp = tmp0_elvis_lhs;
385
385
  }
386
386
  var entry = tmp;
387
- if (compare(subtract(System_instance.dk().rk(), entry.q6i_1), this.r6i_1) > 0) {
388
- this.t6i_1.g2(key);
387
+ if (compare(subtract(System_instance.dk().rk(), entry.p6i_1), this.q6i_1) > 0) {
388
+ this.s6i_1.g2(key);
389
389
  return null;
390
390
  }
391
- return entry.p6i_1;
391
+ return entry.o6i_1;
392
392
  };
393
- protoOf(InMemoryBotChatCache).o6i = function (key, value) {
393
+ protoOf(InMemoryBotChatCache).n6i = function (key, value) {
394
394
  cleanExpired(this);
395
- if (this.t6i_1.o() >= this.s6i_1) {
395
+ if (this.s6i_1.o() >= this.r6i_1) {
396
396
  // Inline function 'kotlin.collections.minByOrNull' call
397
- var tmp0 = this.t6i_1.v();
397
+ var tmp0 = this.s6i_1.v();
398
398
  var tmp$ret$0;
399
399
  $l$block_0: {
400
400
  // Inline function 'kotlin.collections.minByOrNull' call
@@ -408,10 +408,10 @@
408
408
  tmp$ret$0 = minElem;
409
409
  break $l$block_0;
410
410
  }
411
- var minValue = minElem.x().q6i_1;
411
+ var minValue = minElem.x().p6i_1;
412
412
  do {
413
413
  var e = iterator.n();
414
- var v = e.x().q6i_1;
414
+ var v = e.x().p6i_1;
415
415
  if (compareTo(minValue, v) > 0) {
416
416
  minElem = e;
417
417
  minValue = v;
@@ -426,24 +426,24 @@
426
426
  null;
427
427
  else {
428
428
  // Inline function 'kotlin.let' call
429
- this.t6i_1.g2(oldestKey);
429
+ this.s6i_1.g2(oldestKey);
430
430
  }
431
431
  }
432
- var tmp0_0 = this.t6i_1;
432
+ var tmp0_0 = this.s6i_1;
433
433
  // Inline function 'kotlin.collections.set' call
434
434
  var value_0 = new CacheEntry(value, System_instance.dk().rk());
435
435
  tmp0_0.f2(key, value_0);
436
436
  };
437
437
  function BotChatConfig() {
438
438
  BotChatConfig_instance = this;
439
- this.u6i_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.')]);
440
- this.v6i_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.';
441
- this.w6i_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';
442
- this.x6i_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!";
443
- this.y6i_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.';
444
- }
445
- protoOf(BotChatConfig).z6i = function (playerNumber) {
446
- var tmp0_elvis_lhs = this.u6i_1.c2(playerNumber % this.u6i_1.o() | 0);
439
+ this.t6i_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.')]);
440
+ this.u6i_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.';
441
+ this.v6i_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';
442
+ this.w6i_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!";
443
+ this.x6i_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.';
444
+ }
445
+ protoOf(BotChatConfig).y6i = function (playerNumber) {
446
+ var tmp0_elvis_lhs = this.t6i_1.c2(playerNumber % this.t6i_1.o() | 0);
447
447
  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;
448
448
  };
449
449
  var BotChatConfig_instance;
@@ -462,7 +462,7 @@
462
462
  // Inline function 'kotlin.arrayOf' call
463
463
  // Inline function 'kotlin.js.unsafeCast' call
464
464
  // Inline function 'kotlin.js.asDynamic' call
465
- tmp.a6j_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
465
+ tmp.z6i_1 = [null, null, lazy(tmp_0, BotChatContext$Companion$$childSerializers$_anonymous__c0jn7e), null];
466
466
  }
467
467
  var Companion_instance_1;
468
468
  function Companion_getInstance_1() {
@@ -477,27 +477,27 @@
477
477
  tmp0_serialDesc.hz('gameState', false);
478
478
  tmp0_serialDesc.hz('conversationHistory', true);
479
479
  tmp0_serialDesc.hz('playerName', true);
480
- this.b6j_1 = tmp0_serialDesc;
480
+ this.a6j_1 = tmp0_serialDesc;
481
481
  }
482
- protoOf($serializer).c6j = function (encoder, value) {
483
- var tmp0_desc = this.b6j_1;
482
+ protoOf($serializer).b6j = function (encoder, value) {
483
+ var tmp0_desc = this.a6j_1;
484
484
  var tmp1_output = encoder.pr(tmp0_desc);
485
- var tmp2_cached = Companion_getInstance_1().a6j_1;
486
- tmp1_output.et(tmp0_desc, 0, value.d6j_1);
487
- tmp1_output.et(tmp0_desc, 1, value.e6j_1);
488
- if (tmp1_output.mt(tmp0_desc, 2) ? true : !equals(value.f6j_1, emptyList())) {
489
- tmp1_output.gt(tmp0_desc, 2, tmp2_cached[2].x(), value.f6j_1);
485
+ var tmp2_cached = Companion_getInstance_1().z6i_1;
486
+ tmp1_output.et(tmp0_desc, 0, value.c6j_1);
487
+ tmp1_output.et(tmp0_desc, 1, value.d6j_1);
488
+ if (tmp1_output.mt(tmp0_desc, 2) ? true : !equals(value.e6j_1, emptyList())) {
489
+ tmp1_output.gt(tmp0_desc, 2, tmp2_cached[2].x(), value.e6j_1);
490
490
  }
491
- if (tmp1_output.mt(tmp0_desc, 3) ? true : !(value.g6j_1 == null)) {
492
- tmp1_output.it(tmp0_desc, 3, StringSerializer_getInstance(), value.g6j_1);
491
+ if (tmp1_output.mt(tmp0_desc, 3) ? true : !(value.f6j_1 == null)) {
492
+ tmp1_output.it(tmp0_desc, 3, StringSerializer_getInstance(), value.f6j_1);
493
493
  }
494
494
  tmp1_output.qr(tmp0_desc);
495
495
  };
496
496
  protoOf($serializer).do = function (encoder, value) {
497
- return this.c6j(encoder, value instanceof BotChatContext ? value : THROW_CCE());
497
+ return this.b6j(encoder, value instanceof BotChatContext ? value : THROW_CCE());
498
498
  };
499
499
  protoOf($serializer).eo = function (decoder) {
500
- var tmp0_desc = this.b6j_1;
500
+ var tmp0_desc = this.a6j_1;
501
501
  var tmp1_flag = true;
502
502
  var tmp2_index = 0;
503
503
  var tmp3_bitMask0 = 0;
@@ -506,7 +506,7 @@
506
506
  var tmp6_local2 = null;
507
507
  var tmp7_local3 = null;
508
508
  var tmp8_input = decoder.pr(tmp0_desc);
509
- var tmp9_cached = Companion_getInstance_1().a6j_1;
509
+ var tmp9_cached = Companion_getInstance_1().z6i_1;
510
510
  if (tmp8_input.fs()) {
511
511
  tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
512
512
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -547,10 +547,10 @@
547
547
  return BotChatContext_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
548
548
  };
549
549
  protoOf($serializer).co = function () {
550
- return this.b6j_1;
550
+ return this.a6j_1;
551
551
  };
552
552
  protoOf($serializer).wz = function () {
553
- var tmp0_cached = Companion_getInstance_1().a6j_1;
553
+ var tmp0_cached = Companion_getInstance_1().z6i_1;
554
554
  // Inline function 'kotlin.arrayOf' call
555
555
  // Inline function 'kotlin.js.unsafeCast' call
556
556
  // Inline function 'kotlin.js.asDynamic' call
@@ -564,18 +564,18 @@
564
564
  }
565
565
  function BotChatContext_init_$Init$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker, $this) {
566
566
  if (!(3 === (3 & seen0))) {
567
- throwMissingFieldException(seen0, 3, $serializer_getInstance().b6j_1);
567
+ throwMissingFieldException(seen0, 3, $serializer_getInstance().a6j_1);
568
568
  }
569
- $this.d6j_1 = botPersonality;
570
- $this.e6j_1 = gameState;
569
+ $this.c6j_1 = botPersonality;
570
+ $this.d6j_1 = gameState;
571
571
  if (0 === (seen0 & 4))
572
- $this.f6j_1 = emptyList();
572
+ $this.e6j_1 = emptyList();
573
573
  else
574
- $this.f6j_1 = conversationHistory;
574
+ $this.e6j_1 = conversationHistory;
575
575
  if (0 === (seen0 & 8))
576
- $this.g6j_1 = null;
576
+ $this.f6j_1 = null;
577
577
  else
578
- $this.g6j_1 = playerName;
578
+ $this.f6j_1 = playerName;
579
579
  return $this;
580
580
  }
581
581
  function BotChatContext_init_$Create$(seen0, botPersonality, gameState, conversationHistory, playerName, serializationConstructorMarker) {
@@ -585,19 +585,19 @@
585
585
  Companion_getInstance_1();
586
586
  conversationHistory = conversationHistory === VOID ? emptyList() : conversationHistory;
587
587
  playerName = playerName === VOID ? null : playerName;
588
- this.d6j_1 = botPersonality;
589
- this.e6j_1 = gameState;
590
- this.f6j_1 = conversationHistory;
591
- this.g6j_1 = playerName;
588
+ this.c6j_1 = botPersonality;
589
+ this.d6j_1 = gameState;
590
+ this.e6j_1 = conversationHistory;
591
+ this.f6j_1 = playerName;
592
592
  }
593
593
  protoOf(BotChatContext).toString = function () {
594
- return 'BotChatContext(botPersonality=' + this.d6j_1 + ', gameState=' + this.e6j_1 + ', conversationHistory=' + toString(this.f6j_1) + ', playerName=' + this.g6j_1 + ')';
594
+ return 'BotChatContext(botPersonality=' + this.c6j_1 + ', gameState=' + this.d6j_1 + ', conversationHistory=' + toString(this.e6j_1) + ', playerName=' + this.f6j_1 + ')';
595
595
  };
596
596
  protoOf(BotChatContext).hashCode = function () {
597
- var result = getStringHashCode(this.d6j_1);
598
- result = imul(result, 31) + getStringHashCode(this.e6j_1) | 0;
599
- result = imul(result, 31) + hashCode(this.f6j_1) | 0;
600
- result = imul(result, 31) + (this.g6j_1 == null ? 0 : getStringHashCode(this.g6j_1)) | 0;
597
+ var result = getStringHashCode(this.c6j_1);
598
+ result = imul(result, 31) + getStringHashCode(this.d6j_1) | 0;
599
+ result = imul(result, 31) + hashCode(this.e6j_1) | 0;
600
+ result = imul(result, 31) + (this.f6j_1 == null ? 0 : getStringHashCode(this.f6j_1)) | 0;
601
601
  return result;
602
602
  };
603
603
  protoOf(BotChatContext).equals = function (other) {
@@ -605,18 +605,18 @@
605
605
  return true;
606
606
  if (!(other instanceof BotChatContext))
607
607
  return false;
608
- if (!(this.d6j_1 === other.d6j_1))
608
+ if (!(this.c6j_1 === other.c6j_1))
609
609
  return false;
610
- if (!(this.e6j_1 === other.e6j_1))
610
+ if (!(this.d6j_1 === other.d6j_1))
611
611
  return false;
612
- if (!equals(this.f6j_1, other.f6j_1))
612
+ if (!equals(this.e6j_1, other.e6j_1))
613
613
  return false;
614
- if (!(this.g6j_1 == other.g6j_1))
614
+ if (!(this.f6j_1 == other.f6j_1))
615
615
  return false;
616
616
  return true;
617
617
  };
618
618
  function _get_$cachedSerializer__te6jhj($this) {
619
- return $this.h6j_1.x();
619
+ return $this.g6j_1.x();
620
620
  }
621
621
  function ChatMessage$Role$Companion$_anonymous__13jozo() {
622
622
  var tmp = values();
@@ -640,7 +640,7 @@
640
640
  Companion_instance_2 = this;
641
641
  var tmp = this;
642
642
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
643
- tmp.h6j_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
643
+ tmp.g6j_1 = lazy(tmp_0, ChatMessage$Role$Companion$_anonymous__13jozo);
644
644
  }
645
645
  protoOf(Companion_0).b1c = function () {
646
646
  return _get_$cachedSerializer__te6jhj(this);
@@ -678,15 +678,15 @@
678
678
  // Inline function 'kotlin.arrayOf' call
679
679
  // Inline function 'kotlin.js.unsafeCast' call
680
680
  // Inline function 'kotlin.js.asDynamic' call
681
- tmp.i6j_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
681
+ tmp.h6j_1 = [lazy(tmp_0, ChatMessage$Companion$$childSerializers$_anonymous__qywqat), null];
682
682
  }
683
- protoOf(Companion_1).j6j = function (content) {
683
+ protoOf(Companion_1).i6j = function (content) {
684
684
  return new ChatMessage(Role_SYSTEM_getInstance(), content);
685
685
  };
686
- protoOf(Companion_1).k6j = function (content) {
686
+ protoOf(Companion_1).j6j = function (content) {
687
687
  return new ChatMessage(Role_USER_getInstance(), content);
688
688
  };
689
- protoOf(Companion_1).l6j = function (content) {
689
+ protoOf(Companion_1).k6j = function (content) {
690
690
  return new ChatMessage(Role_ASSISTANT_getInstance(), content);
691
691
  };
692
692
  var Companion_instance_3;
@@ -700,28 +700,28 @@
700
700
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.logic.ai.data.models.ChatMessage', this, 2);
701
701
  tmp0_serialDesc.hz('role', false);
702
702
  tmp0_serialDesc.hz('content', false);
703
- this.m6j_1 = tmp0_serialDesc;
703
+ this.l6j_1 = tmp0_serialDesc;
704
704
  }
705
- protoOf($serializer_0).n6j = function (encoder, value) {
706
- var tmp0_desc = this.m6j_1;
705
+ protoOf($serializer_0).m6j = function (encoder, value) {
706
+ var tmp0_desc = this.l6j_1;
707
707
  var tmp1_output = encoder.pr(tmp0_desc);
708
- var tmp2_cached = Companion_getInstance_3().i6j_1;
709
- tmp1_output.gt(tmp0_desc, 0, tmp2_cached[0].x(), value.o6j_1);
710
- tmp1_output.et(tmp0_desc, 1, value.p6j_1);
708
+ var tmp2_cached = Companion_getInstance_3().h6j_1;
709
+ tmp1_output.gt(tmp0_desc, 0, tmp2_cached[0].x(), value.n6j_1);
710
+ tmp1_output.et(tmp0_desc, 1, value.o6j_1);
711
711
  tmp1_output.qr(tmp0_desc);
712
712
  };
713
713
  protoOf($serializer_0).do = function (encoder, value) {
714
- return this.n6j(encoder, value instanceof ChatMessage ? value : THROW_CCE());
714
+ return this.m6j(encoder, value instanceof ChatMessage ? value : THROW_CCE());
715
715
  };
716
716
  protoOf($serializer_0).eo = function (decoder) {
717
- var tmp0_desc = this.m6j_1;
717
+ var tmp0_desc = this.l6j_1;
718
718
  var tmp1_flag = true;
719
719
  var tmp2_index = 0;
720
720
  var tmp3_bitMask0 = 0;
721
721
  var tmp4_local0 = null;
722
722
  var tmp5_local1 = null;
723
723
  var tmp6_input = decoder.pr(tmp0_desc);
724
- var tmp7_cached = Companion_getInstance_3().i6j_1;
724
+ var tmp7_cached = Companion_getInstance_3().h6j_1;
725
725
  if (tmp6_input.fs()) {
726
726
  tmp4_local0 = tmp6_input.bs(tmp0_desc, 0, tmp7_cached[0].x(), tmp4_local0);
727
727
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -750,13 +750,13 @@
750
750
  return ChatMessage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
751
751
  };
752
752
  protoOf($serializer_0).co = function () {
753
- return this.m6j_1;
753
+ return this.l6j_1;
754
754
  };
755
755
  protoOf($serializer_0).wz = function () {
756
756
  // Inline function 'kotlin.arrayOf' call
757
757
  // Inline function 'kotlin.js.unsafeCast' call
758
758
  // Inline function 'kotlin.js.asDynamic' call
759
- return [Companion_getInstance_3().i6j_1[0].x(), StringSerializer_getInstance()];
759
+ return [Companion_getInstance_3().h6j_1[0].x(), StringSerializer_getInstance()];
760
760
  };
761
761
  var $serializer_instance_0;
762
762
  function $serializer_getInstance_0() {
@@ -766,10 +766,10 @@
766
766
  }
767
767
  function ChatMessage_init_$Init$(seen0, role, content, serializationConstructorMarker, $this) {
768
768
  if (!(3 === (3 & seen0))) {
769
- throwMissingFieldException(seen0, 3, $serializer_getInstance_0().m6j_1);
769
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_0().l6j_1);
770
770
  }
771
- $this.o6j_1 = role;
772
- $this.p6j_1 = content;
771
+ $this.n6j_1 = role;
772
+ $this.o6j_1 = content;
773
773
  return $this;
774
774
  }
775
775
  function ChatMessage_init_$Create$(seen0, role, content, serializationConstructorMarker) {
@@ -789,15 +789,15 @@
789
789
  }
790
790
  function ChatMessage(role, content) {
791
791
  Companion_getInstance_3();
792
- this.o6j_1 = role;
793
- this.p6j_1 = content;
792
+ this.n6j_1 = role;
793
+ this.o6j_1 = content;
794
794
  }
795
795
  protoOf(ChatMessage).toString = function () {
796
- return 'ChatMessage(role=' + this.o6j_1.toString() + ', content=' + this.p6j_1 + ')';
796
+ return 'ChatMessage(role=' + this.n6j_1.toString() + ', content=' + this.o6j_1 + ')';
797
797
  };
798
798
  protoOf(ChatMessage).hashCode = function () {
799
- var result = this.o6j_1.hashCode();
800
- result = imul(result, 31) + getStringHashCode(this.p6j_1) | 0;
799
+ var result = this.n6j_1.hashCode();
800
+ result = imul(result, 31) + getStringHashCode(this.o6j_1) | 0;
801
801
  return result;
802
802
  };
803
803
  protoOf(ChatMessage).equals = function (other) {
@@ -805,9 +805,9 @@
805
805
  return true;
806
806
  if (!(other instanceof ChatMessage))
807
807
  return false;
808
- if (!this.o6j_1.equals(other.o6j_1))
808
+ if (!this.n6j_1.equals(other.n6j_1))
809
809
  return false;
810
- if (!(this.p6j_1 === other.p6j_1))
810
+ if (!(this.o6j_1 === other.o6j_1))
811
811
  return false;
812
812
  return true;
813
813
  };
@@ -818,25 +818,25 @@
818
818
  maxTokens = maxTokens === VOID ? 150 : maxTokens;
819
819
  timeout = timeout === VOID ? 30000 : timeout;
820
820
  enableDebugLogging = enableDebugLogging === VOID ? false : enableDebugLogging;
821
- this.t6h_1 = apiKey;
822
- this.u6h_1 = model;
823
- this.v6h_1 = baseUrl;
824
- this.w6h_1 = temperature;
825
- this.x6h_1 = maxTokens;
826
- this.y6h_1 = timeout;
827
- this.z6h_1 = enableDebugLogging;
821
+ this.s6h_1 = apiKey;
822
+ this.t6h_1 = model;
823
+ this.u6h_1 = baseUrl;
824
+ this.v6h_1 = temperature;
825
+ this.w6h_1 = maxTokens;
826
+ this.x6h_1 = timeout;
827
+ this.y6h_1 = enableDebugLogging;
828
828
  }
829
829
  protoOf(OpenAIConfig).toString = function () {
830
- return 'OpenAIConfig(apiKey=' + this.t6h_1 + ', model=' + this.u6h_1 + ', baseUrl=' + this.v6h_1 + ', temperature=' + this.w6h_1 + ', maxTokens=' + this.x6h_1 + ', timeout=' + this.y6h_1 + ', enableDebugLogging=' + this.z6h_1 + ')';
830
+ return 'OpenAIConfig(apiKey=' + this.s6h_1 + ', model=' + this.t6h_1 + ', baseUrl=' + this.u6h_1 + ', temperature=' + this.v6h_1 + ', maxTokens=' + this.w6h_1 + ', timeout=' + this.x6h_1 + ', enableDebugLogging=' + this.y6h_1 + ')';
831
831
  };
832
832
  protoOf(OpenAIConfig).hashCode = function () {
833
- var result = getStringHashCode(this.t6h_1);
833
+ var result = getStringHashCode(this.s6h_1);
834
+ result = imul(result, 31) + getStringHashCode(this.t6h_1) | 0;
834
835
  result = imul(result, 31) + getStringHashCode(this.u6h_1) | 0;
835
- result = imul(result, 31) + getStringHashCode(this.v6h_1) | 0;
836
- result = imul(result, 31) + getNumberHashCode(this.w6h_1) | 0;
836
+ result = imul(result, 31) + getNumberHashCode(this.v6h_1) | 0;
837
+ result = imul(result, 31) + this.w6h_1 | 0;
837
838
  result = imul(result, 31) + this.x6h_1 | 0;
838
- result = imul(result, 31) + this.y6h_1 | 0;
839
- result = imul(result, 31) + getBooleanHashCode(this.z6h_1) | 0;
839
+ result = imul(result, 31) + getBooleanHashCode(this.y6h_1) | 0;
840
840
  return result;
841
841
  };
842
842
  protoOf(OpenAIConfig).equals = function (other) {
@@ -844,20 +844,20 @@
844
844
  return true;
845
845
  if (!(other instanceof OpenAIConfig))
846
846
  return false;
847
+ if (!(this.s6h_1 === other.s6h_1))
848
+ return false;
847
849
  if (!(this.t6h_1 === other.t6h_1))
848
850
  return false;
849
851
  if (!(this.u6h_1 === other.u6h_1))
850
852
  return false;
851
- if (!(this.v6h_1 === other.v6h_1))
853
+ if (!equals(this.v6h_1, other.v6h_1))
852
854
  return false;
853
- if (!equals(this.w6h_1, other.w6h_1))
855
+ if (!(this.w6h_1 === other.w6h_1))
854
856
  return false;
855
857
  if (!(this.x6h_1 === other.x6h_1))
856
858
  return false;
857
859
  if (!(this.y6h_1 === other.y6h_1))
858
860
  return false;
859
- if (!(this.z6h_1 === other.z6h_1))
860
- return false;
861
861
  return true;
862
862
  };
863
863
  function OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1() {
@@ -870,7 +870,7 @@
870
870
  // Inline function 'kotlin.arrayOf' call
871
871
  // Inline function 'kotlin.js.unsafeCast' call
872
872
  // Inline function 'kotlin.js.asDynamic' call
873
- tmp.q6j_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
873
+ tmp.p6j_1 = [null, lazy(tmp_0, OpenAIRequest$Companion$$childSerializers$_anonymous__ff5rn1), null, null];
874
874
  }
875
875
  var Companion_instance_4;
876
876
  function Companion_getInstance_4() {
@@ -885,23 +885,23 @@
885
885
  tmp0_serialDesc.hz('messages', false);
886
886
  tmp0_serialDesc.hz('temperature', false);
887
887
  tmp0_serialDesc.hz('max_tokens', false);
888
- this.r6j_1 = tmp0_serialDesc;
888
+ this.q6j_1 = tmp0_serialDesc;
889
889
  }
890
- protoOf($serializer_1).s6j = function (encoder, value) {
891
- var tmp0_desc = this.r6j_1;
890
+ protoOf($serializer_1).r6j = function (encoder, value) {
891
+ var tmp0_desc = this.q6j_1;
892
892
  var tmp1_output = encoder.pr(tmp0_desc);
893
- var tmp2_cached = Companion_getInstance_4().q6j_1;
894
- tmp1_output.et(tmp0_desc, 0, value.t6j_1);
895
- tmp1_output.gt(tmp0_desc, 1, tmp2_cached[1].x(), value.u6j_1);
896
- tmp1_output.ct(tmp0_desc, 2, value.v6j_1);
897
- tmp1_output.zs(tmp0_desc, 3, value.w6j_1);
893
+ var tmp2_cached = Companion_getInstance_4().p6j_1;
894
+ tmp1_output.et(tmp0_desc, 0, value.s6j_1);
895
+ tmp1_output.gt(tmp0_desc, 1, tmp2_cached[1].x(), value.t6j_1);
896
+ tmp1_output.ct(tmp0_desc, 2, value.u6j_1);
897
+ tmp1_output.zs(tmp0_desc, 3, value.v6j_1);
898
898
  tmp1_output.qr(tmp0_desc);
899
899
  };
900
900
  protoOf($serializer_1).do = function (encoder, value) {
901
- return this.s6j(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
901
+ return this.r6j(encoder, value instanceof OpenAIRequest ? value : THROW_CCE());
902
902
  };
903
903
  protoOf($serializer_1).eo = function (decoder) {
904
- var tmp0_desc = this.r6j_1;
904
+ var tmp0_desc = this.q6j_1;
905
905
  var tmp1_flag = true;
906
906
  var tmp2_index = 0;
907
907
  var tmp3_bitMask0 = 0;
@@ -910,7 +910,7 @@
910
910
  var tmp6_local2 = 0.0;
911
911
  var tmp7_local3 = 0;
912
912
  var tmp8_input = decoder.pr(tmp0_desc);
913
- var tmp9_cached = Companion_getInstance_4().q6j_1;
913
+ var tmp9_cached = Companion_getInstance_4().p6j_1;
914
914
  if (tmp8_input.fs()) {
915
915
  tmp4_local0 = tmp8_input.zr(tmp0_desc, 0);
916
916
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -951,10 +951,10 @@
951
951
  return OpenAIRequest_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
952
952
  };
953
953
  protoOf($serializer_1).co = function () {
954
- return this.r6j_1;
954
+ return this.q6j_1;
955
955
  };
956
956
  protoOf($serializer_1).wz = function () {
957
- var tmp0_cached = Companion_getInstance_4().q6j_1;
957
+ var tmp0_cached = Companion_getInstance_4().p6j_1;
958
958
  // Inline function 'kotlin.arrayOf' call
959
959
  // Inline function 'kotlin.js.unsafeCast' call
960
960
  // Inline function 'kotlin.js.asDynamic' call
@@ -968,12 +968,12 @@
968
968
  }
969
969
  function OpenAIRequest_init_$Init$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker, $this) {
970
970
  if (!(15 === (15 & seen0))) {
971
- throwMissingFieldException(seen0, 15, $serializer_getInstance_1().r6j_1);
971
+ throwMissingFieldException(seen0, 15, $serializer_getInstance_1().q6j_1);
972
972
  }
973
- $this.t6j_1 = model;
974
- $this.u6j_1 = messages;
975
- $this.v6j_1 = temperature;
976
- $this.w6j_1 = maxTokens;
973
+ $this.s6j_1 = model;
974
+ $this.t6j_1 = messages;
975
+ $this.u6j_1 = temperature;
976
+ $this.v6j_1 = maxTokens;
977
977
  return $this;
978
978
  }
979
979
  function OpenAIRequest_init_$Create$(seen0, model, messages, temperature, maxTokens, serializationConstructorMarker) {
@@ -981,19 +981,19 @@
981
981
  }
982
982
  function OpenAIRequest(model, messages, temperature, maxTokens) {
983
983
  Companion_getInstance_4();
984
- this.t6j_1 = model;
985
- this.u6j_1 = messages;
986
- this.v6j_1 = temperature;
987
- this.w6j_1 = maxTokens;
984
+ this.s6j_1 = model;
985
+ this.t6j_1 = messages;
986
+ this.u6j_1 = temperature;
987
+ this.v6j_1 = maxTokens;
988
988
  }
989
989
  protoOf(OpenAIRequest).toString = function () {
990
- return 'OpenAIRequest(model=' + this.t6j_1 + ', messages=' + toString(this.u6j_1) + ', temperature=' + this.v6j_1 + ', maxTokens=' + this.w6j_1 + ')';
990
+ return 'OpenAIRequest(model=' + this.s6j_1 + ', messages=' + toString(this.t6j_1) + ', temperature=' + this.u6j_1 + ', maxTokens=' + this.v6j_1 + ')';
991
991
  };
992
992
  protoOf(OpenAIRequest).hashCode = function () {
993
- var result = getStringHashCode(this.t6j_1);
994
- result = imul(result, 31) + hashCode(this.u6j_1) | 0;
995
- result = imul(result, 31) + getNumberHashCode(this.v6j_1) | 0;
996
- result = imul(result, 31) + this.w6j_1 | 0;
993
+ var result = getStringHashCode(this.s6j_1);
994
+ result = imul(result, 31) + hashCode(this.t6j_1) | 0;
995
+ result = imul(result, 31) + getNumberHashCode(this.u6j_1) | 0;
996
+ result = imul(result, 31) + this.v6j_1 | 0;
997
997
  return result;
998
998
  };
999
999
  protoOf(OpenAIRequest).equals = function (other) {
@@ -1001,13 +1001,13 @@
1001
1001
  return true;
1002
1002
  if (!(other instanceof OpenAIRequest))
1003
1003
  return false;
1004
- if (!(this.t6j_1 === other.t6j_1))
1004
+ if (!(this.s6j_1 === other.s6j_1))
1005
1005
  return false;
1006
- if (!equals(this.u6j_1, other.u6j_1))
1006
+ if (!equals(this.t6j_1, other.t6j_1))
1007
1007
  return false;
1008
- if (!equals(this.v6j_1, other.v6j_1))
1008
+ if (!equals(this.u6j_1, other.u6j_1))
1009
1009
  return false;
1010
- if (!(this.w6j_1 === other.w6j_1))
1010
+ if (!(this.v6j_1 === other.v6j_1))
1011
1011
  return false;
1012
1012
  return true;
1013
1013
  };
@@ -1017,23 +1017,23 @@
1017
1017
  tmp0_serialDesc.hz('index', false);
1018
1018
  tmp0_serialDesc.hz('message', false);
1019
1019
  tmp0_serialDesc.hz('finish_reason', true);
1020
- this.x6j_1 = tmp0_serialDesc;
1020
+ this.w6j_1 = tmp0_serialDesc;
1021
1021
  }
1022
- protoOf($serializer_2).y6j = function (encoder, value) {
1023
- var tmp0_desc = this.x6j_1;
1022
+ protoOf($serializer_2).x6j = function (encoder, value) {
1023
+ var tmp0_desc = this.w6j_1;
1024
1024
  var tmp1_output = encoder.pr(tmp0_desc);
1025
- tmp1_output.zs(tmp0_desc, 0, value.z6j_1);
1026
- tmp1_output.gt(tmp0_desc, 1, $serializer_getInstance_0(), value.a6k_1);
1027
- if (tmp1_output.mt(tmp0_desc, 2) ? true : !(value.b6k_1 == null)) {
1028
- tmp1_output.it(tmp0_desc, 2, StringSerializer_getInstance(), value.b6k_1);
1025
+ tmp1_output.zs(tmp0_desc, 0, value.y6j_1);
1026
+ tmp1_output.gt(tmp0_desc, 1, $serializer_getInstance_0(), value.z6j_1);
1027
+ if (tmp1_output.mt(tmp0_desc, 2) ? true : !(value.a6k_1 == null)) {
1028
+ tmp1_output.it(tmp0_desc, 2, StringSerializer_getInstance(), value.a6k_1);
1029
1029
  }
1030
1030
  tmp1_output.qr(tmp0_desc);
1031
1031
  };
1032
1032
  protoOf($serializer_2).do = function (encoder, value) {
1033
- return this.y6j(encoder, value instanceof Choice ? value : THROW_CCE());
1033
+ return this.x6j(encoder, value instanceof Choice ? value : THROW_CCE());
1034
1034
  };
1035
1035
  protoOf($serializer_2).eo = function (decoder) {
1036
- var tmp0_desc = this.x6j_1;
1036
+ var tmp0_desc = this.w6j_1;
1037
1037
  var tmp1_flag = true;
1038
1038
  var tmp2_index = 0;
1039
1039
  var tmp3_bitMask0 = 0;
@@ -1075,7 +1075,7 @@
1075
1075
  return Choice_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1076
1076
  };
1077
1077
  protoOf($serializer_2).co = function () {
1078
- return this.x6j_1;
1078
+ return this.w6j_1;
1079
1079
  };
1080
1080
  protoOf($serializer_2).wz = function () {
1081
1081
  // Inline function 'kotlin.arrayOf' call
@@ -1091,14 +1091,14 @@
1091
1091
  }
1092
1092
  function Choice_init_$Init$(seen0, index, message, finishReason, serializationConstructorMarker, $this) {
1093
1093
  if (!(3 === (3 & seen0))) {
1094
- throwMissingFieldException(seen0, 3, $serializer_getInstance_2().x6j_1);
1094
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_2().w6j_1);
1095
1095
  }
1096
- $this.z6j_1 = index;
1097
- $this.a6k_1 = message;
1096
+ $this.y6j_1 = index;
1097
+ $this.z6j_1 = message;
1098
1098
  if (0 === (seen0 & 4))
1099
- $this.b6k_1 = null;
1099
+ $this.a6k_1 = null;
1100
1100
  else
1101
- $this.b6k_1 = finishReason;
1101
+ $this.a6k_1 = finishReason;
1102
1102
  return $this;
1103
1103
  }
1104
1104
  function Choice_init_$Create$(seen0, index, message, finishReason, serializationConstructorMarker) {
@@ -1110,21 +1110,21 @@
1110
1110
  tmp0_serialDesc.hz('prompt_tokens', false);
1111
1111
  tmp0_serialDesc.hz('completion_tokens', false);
1112
1112
  tmp0_serialDesc.hz('total_tokens', false);
1113
- this.c6k_1 = tmp0_serialDesc;
1113
+ this.b6k_1 = tmp0_serialDesc;
1114
1114
  }
1115
- protoOf($serializer_3).d6k = function (encoder, value) {
1116
- var tmp0_desc = this.c6k_1;
1115
+ protoOf($serializer_3).c6k = function (encoder, value) {
1116
+ var tmp0_desc = this.b6k_1;
1117
1117
  var tmp1_output = encoder.pr(tmp0_desc);
1118
- tmp1_output.zs(tmp0_desc, 0, value.e6k_1);
1119
- tmp1_output.zs(tmp0_desc, 1, value.f6k_1);
1120
- tmp1_output.zs(tmp0_desc, 2, value.g6k_1);
1118
+ tmp1_output.zs(tmp0_desc, 0, value.d6k_1);
1119
+ tmp1_output.zs(tmp0_desc, 1, value.e6k_1);
1120
+ tmp1_output.zs(tmp0_desc, 2, value.f6k_1);
1121
1121
  tmp1_output.qr(tmp0_desc);
1122
1122
  };
1123
1123
  protoOf($serializer_3).do = function (encoder, value) {
1124
- return this.d6k(encoder, value instanceof Usage ? value : THROW_CCE());
1124
+ return this.c6k(encoder, value instanceof Usage ? value : THROW_CCE());
1125
1125
  };
1126
1126
  protoOf($serializer_3).eo = function (decoder) {
1127
- var tmp0_desc = this.c6k_1;
1127
+ var tmp0_desc = this.b6k_1;
1128
1128
  var tmp1_flag = true;
1129
1129
  var tmp2_index = 0;
1130
1130
  var tmp3_bitMask0 = 0;
@@ -1166,7 +1166,7 @@
1166
1166
  return Usage_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1167
1167
  };
1168
1168
  protoOf($serializer_3).co = function () {
1169
- return this.c6k_1;
1169
+ return this.b6k_1;
1170
1170
  };
1171
1171
  protoOf($serializer_3).wz = function () {
1172
1172
  // Inline function 'kotlin.arrayOf' call
@@ -1182,11 +1182,11 @@
1182
1182
  }
1183
1183
  function Usage_init_$Init$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker, $this) {
1184
1184
  if (!(7 === (7 & seen0))) {
1185
- throwMissingFieldException(seen0, 7, $serializer_getInstance_3().c6k_1);
1185
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_3().b6k_1);
1186
1186
  }
1187
- $this.e6k_1 = promptTokens;
1188
- $this.f6k_1 = completionTokens;
1189
- $this.g6k_1 = totalTokens;
1187
+ $this.d6k_1 = promptTokens;
1188
+ $this.e6k_1 = completionTokens;
1189
+ $this.f6k_1 = totalTokens;
1190
1190
  return $this;
1191
1191
  }
1192
1192
  function Usage_init_$Create$(seen0, promptTokens, completionTokens, totalTokens, serializationConstructorMarker) {
@@ -1198,12 +1198,12 @@
1198
1198
  function Choice() {
1199
1199
  }
1200
1200
  protoOf(Choice).toString = function () {
1201
- return 'Choice(index=' + this.z6j_1 + ', message=' + this.a6k_1.toString() + ', finishReason=' + this.b6k_1 + ')';
1201
+ return 'Choice(index=' + this.y6j_1 + ', message=' + this.z6j_1.toString() + ', finishReason=' + this.a6k_1 + ')';
1202
1202
  };
1203
1203
  protoOf(Choice).hashCode = function () {
1204
- var result = this.z6j_1;
1205
- result = imul(result, 31) + this.a6k_1.hashCode() | 0;
1206
- result = imul(result, 31) + (this.b6k_1 == null ? 0 : getStringHashCode(this.b6k_1)) | 0;
1204
+ var result = this.y6j_1;
1205
+ result = imul(result, 31) + this.z6j_1.hashCode() | 0;
1206
+ result = imul(result, 31) + (this.a6k_1 == null ? 0 : getStringHashCode(this.a6k_1)) | 0;
1207
1207
  return result;
1208
1208
  };
1209
1209
  protoOf(Choice).equals = function (other) {
@@ -1211,23 +1211,23 @@
1211
1211
  return true;
1212
1212
  if (!(other instanceof Choice))
1213
1213
  return false;
1214
- if (!(this.z6j_1 === other.z6j_1))
1214
+ if (!(this.y6j_1 === other.y6j_1))
1215
1215
  return false;
1216
- if (!this.a6k_1.equals(other.a6k_1))
1216
+ if (!this.z6j_1.equals(other.z6j_1))
1217
1217
  return false;
1218
- if (!(this.b6k_1 == other.b6k_1))
1218
+ if (!(this.a6k_1 == other.a6k_1))
1219
1219
  return false;
1220
1220
  return true;
1221
1221
  };
1222
1222
  function Usage() {
1223
1223
  }
1224
1224
  protoOf(Usage).toString = function () {
1225
- return 'Usage(promptTokens=' + this.e6k_1 + ', completionTokens=' + this.f6k_1 + ', totalTokens=' + this.g6k_1 + ')';
1225
+ return 'Usage(promptTokens=' + this.d6k_1 + ', completionTokens=' + this.e6k_1 + ', totalTokens=' + this.f6k_1 + ')';
1226
1226
  };
1227
1227
  protoOf(Usage).hashCode = function () {
1228
- var result = this.e6k_1;
1228
+ var result = this.d6k_1;
1229
+ result = imul(result, 31) + this.e6k_1 | 0;
1229
1230
  result = imul(result, 31) + this.f6k_1 | 0;
1230
- result = imul(result, 31) + this.g6k_1 | 0;
1231
1231
  return result;
1232
1232
  };
1233
1233
  protoOf(Usage).equals = function (other) {
@@ -1235,12 +1235,12 @@
1235
1235
  return true;
1236
1236
  if (!(other instanceof Usage))
1237
1237
  return false;
1238
+ if (!(this.d6k_1 === other.d6k_1))
1239
+ return false;
1238
1240
  if (!(this.e6k_1 === other.e6k_1))
1239
1241
  return false;
1240
1242
  if (!(this.f6k_1 === other.f6k_1))
1241
1243
  return false;
1242
- if (!(this.g6k_1 === other.g6k_1))
1243
- return false;
1244
1244
  return true;
1245
1245
  };
1246
1246
  function Companion_3() {
@@ -1250,7 +1250,7 @@
1250
1250
  // Inline function 'kotlin.arrayOf' call
1251
1251
  // Inline function 'kotlin.js.unsafeCast' call
1252
1252
  // Inline function 'kotlin.js.asDynamic' call
1253
- tmp.h6k_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1253
+ tmp.g6k_1 = [null, null, null, null, lazy(tmp_0, OpenAIResponse$Companion$$childSerializers$_anonymous__z8nlex), null];
1254
1254
  }
1255
1255
  var Companion_instance_5;
1256
1256
  function Companion_getInstance_5() {
@@ -1267,27 +1267,27 @@
1267
1267
  tmp0_serialDesc.hz('model', false);
1268
1268
  tmp0_serialDesc.hz('choices', false);
1269
1269
  tmp0_serialDesc.hz('usage', true);
1270
- this.i6k_1 = tmp0_serialDesc;
1270
+ this.h6k_1 = tmp0_serialDesc;
1271
1271
  }
1272
- protoOf($serializer_4).j6k = function (encoder, value) {
1273
- var tmp0_desc = this.i6k_1;
1272
+ protoOf($serializer_4).i6k = function (encoder, value) {
1273
+ var tmp0_desc = this.h6k_1;
1274
1274
  var tmp1_output = encoder.pr(tmp0_desc);
1275
- var tmp2_cached = Companion_getInstance_5().h6k_1;
1276
- tmp1_output.et(tmp0_desc, 0, value.k6k_1);
1277
- tmp1_output.et(tmp0_desc, 1, value.l6k_1);
1278
- tmp1_output.at(tmp0_desc, 2, value.m6k_1);
1279
- tmp1_output.et(tmp0_desc, 3, value.n6k_1);
1280
- tmp1_output.gt(tmp0_desc, 4, tmp2_cached[4].x(), value.o6k_1);
1281
- if (tmp1_output.mt(tmp0_desc, 5) ? true : !(value.p6k_1 == null)) {
1282
- tmp1_output.it(tmp0_desc, 5, $serializer_getInstance_3(), value.p6k_1);
1275
+ var tmp2_cached = Companion_getInstance_5().g6k_1;
1276
+ tmp1_output.et(tmp0_desc, 0, value.j6k_1);
1277
+ tmp1_output.et(tmp0_desc, 1, value.k6k_1);
1278
+ tmp1_output.at(tmp0_desc, 2, value.l6k_1);
1279
+ tmp1_output.et(tmp0_desc, 3, value.m6k_1);
1280
+ tmp1_output.gt(tmp0_desc, 4, tmp2_cached[4].x(), value.n6k_1);
1281
+ if (tmp1_output.mt(tmp0_desc, 5) ? true : !(value.o6k_1 == null)) {
1282
+ tmp1_output.it(tmp0_desc, 5, $serializer_getInstance_3(), value.o6k_1);
1283
1283
  }
1284
1284
  tmp1_output.qr(tmp0_desc);
1285
1285
  };
1286
1286
  protoOf($serializer_4).do = function (encoder, value) {
1287
- return this.j6k(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1287
+ return this.i6k(encoder, value instanceof OpenAIResponse ? value : THROW_CCE());
1288
1288
  };
1289
1289
  protoOf($serializer_4).eo = function (decoder) {
1290
- var tmp0_desc = this.i6k_1;
1290
+ var tmp0_desc = this.h6k_1;
1291
1291
  var tmp1_flag = true;
1292
1292
  var tmp2_index = 0;
1293
1293
  var tmp3_bitMask0 = 0;
@@ -1298,7 +1298,7 @@
1298
1298
  var tmp8_local4 = null;
1299
1299
  var tmp9_local5 = null;
1300
1300
  var tmp10_input = decoder.pr(tmp0_desc);
1301
- var tmp11_cached = Companion_getInstance_5().h6k_1;
1301
+ var tmp11_cached = Companion_getInstance_5().g6k_1;
1302
1302
  if (tmp10_input.fs()) {
1303
1303
  tmp4_local0 = tmp10_input.zr(tmp0_desc, 0);
1304
1304
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -1351,10 +1351,10 @@
1351
1351
  return OpenAIResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
1352
1352
  };
1353
1353
  protoOf($serializer_4).co = function () {
1354
- return this.i6k_1;
1354
+ return this.h6k_1;
1355
1355
  };
1356
1356
  protoOf($serializer_4).wz = function () {
1357
- var tmp0_cached = Companion_getInstance_5().h6k_1;
1357
+ var tmp0_cached = Companion_getInstance_5().g6k_1;
1358
1358
  // Inline function 'kotlin.arrayOf' call
1359
1359
  // Inline function 'kotlin.js.unsafeCast' call
1360
1360
  // Inline function 'kotlin.js.asDynamic' call
@@ -1368,17 +1368,17 @@
1368
1368
  }
1369
1369
  function OpenAIResponse_init_$Init$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker, $this) {
1370
1370
  if (!(31 === (31 & seen0))) {
1371
- throwMissingFieldException(seen0, 31, $serializer_getInstance_4().i6k_1);
1371
+ throwMissingFieldException(seen0, 31, $serializer_getInstance_4().h6k_1);
1372
1372
  }
1373
- $this.k6k_1 = id;
1374
- $this.l6k_1 = objectType;
1375
- $this.m6k_1 = created;
1376
- $this.n6k_1 = model;
1377
- $this.o6k_1 = choices;
1373
+ $this.j6k_1 = id;
1374
+ $this.k6k_1 = objectType;
1375
+ $this.l6k_1 = created;
1376
+ $this.m6k_1 = model;
1377
+ $this.n6k_1 = choices;
1378
1378
  if (0 === (seen0 & 32))
1379
- $this.p6k_1 = null;
1379
+ $this.o6k_1 = null;
1380
1380
  else
1381
- $this.p6k_1 = usage;
1381
+ $this.o6k_1 = usage;
1382
1382
  return $this;
1383
1383
  }
1384
1384
  function OpenAIResponse_init_$Create$(seen0, id, objectType, created, model, choices, usage, serializationConstructorMarker) {
@@ -1387,23 +1387,23 @@
1387
1387
  function OpenAIResponse(id, objectType, created, model, choices, usage) {
1388
1388
  Companion_getInstance_5();
1389
1389
  usage = usage === VOID ? null : usage;
1390
- this.k6k_1 = id;
1391
- this.l6k_1 = objectType;
1392
- this.m6k_1 = created;
1393
- this.n6k_1 = model;
1394
- this.o6k_1 = choices;
1395
- this.p6k_1 = usage;
1390
+ this.j6k_1 = id;
1391
+ this.k6k_1 = objectType;
1392
+ this.l6k_1 = created;
1393
+ this.m6k_1 = model;
1394
+ this.n6k_1 = choices;
1395
+ this.o6k_1 = usage;
1396
1396
  }
1397
1397
  protoOf(OpenAIResponse).toString = function () {
1398
- return 'OpenAIResponse(id=' + this.k6k_1 + ', objectType=' + this.l6k_1 + ', created=' + this.m6k_1.toString() + ', model=' + this.n6k_1 + ', choices=' + toString(this.o6k_1) + ', usage=' + toString_0(this.p6k_1) + ')';
1398
+ return 'OpenAIResponse(id=' + this.j6k_1 + ', objectType=' + this.k6k_1 + ', created=' + this.l6k_1.toString() + ', model=' + this.m6k_1 + ', choices=' + toString(this.n6k_1) + ', usage=' + toString_0(this.o6k_1) + ')';
1399
1399
  };
1400
1400
  protoOf(OpenAIResponse).hashCode = function () {
1401
- var result = getStringHashCode(this.k6k_1);
1402
- result = imul(result, 31) + getStringHashCode(this.l6k_1) | 0;
1403
- result = imul(result, 31) + this.m6k_1.hashCode() | 0;
1404
- result = imul(result, 31) + getStringHashCode(this.n6k_1) | 0;
1405
- result = imul(result, 31) + hashCode(this.o6k_1) | 0;
1406
- result = imul(result, 31) + (this.p6k_1 == null ? 0 : this.p6k_1.hashCode()) | 0;
1401
+ var result = getStringHashCode(this.j6k_1);
1402
+ result = imul(result, 31) + getStringHashCode(this.k6k_1) | 0;
1403
+ result = imul(result, 31) + this.l6k_1.hashCode() | 0;
1404
+ result = imul(result, 31) + getStringHashCode(this.m6k_1) | 0;
1405
+ result = imul(result, 31) + hashCode(this.n6k_1) | 0;
1406
+ result = imul(result, 31) + (this.o6k_1 == null ? 0 : this.o6k_1.hashCode()) | 0;
1407
1407
  return result;
1408
1408
  };
1409
1409
  protoOf(OpenAIResponse).equals = function (other) {
@@ -1411,24 +1411,24 @@
1411
1411
  return true;
1412
1412
  if (!(other instanceof OpenAIResponse))
1413
1413
  return false;
1414
+ if (!(this.j6k_1 === other.j6k_1))
1415
+ return false;
1414
1416
  if (!(this.k6k_1 === other.k6k_1))
1415
1417
  return false;
1416
- if (!(this.l6k_1 === other.l6k_1))
1418
+ if (!equalsLong(this.l6k_1, other.l6k_1))
1417
1419
  return false;
1418
- if (!equalsLong(this.m6k_1, other.m6k_1))
1420
+ if (!(this.m6k_1 === other.m6k_1))
1419
1421
  return false;
1420
- if (!(this.n6k_1 === other.n6k_1))
1422
+ if (!equals(this.n6k_1, other.n6k_1))
1421
1423
  return false;
1422
1424
  if (!equals(this.o6k_1, other.o6k_1))
1423
1425
  return false;
1424
- if (!equals(this.p6k_1, other.p6k_1))
1425
- return false;
1426
1426
  return true;
1427
1427
  };
1428
1428
  function $executeRequestCOROUTINE$(_this__u8e3s4, messages, resultContinuation) {
1429
1429
  CoroutineImpl.call(this, resultContinuation);
1430
- this.y6k_1 = _this__u8e3s4;
1431
- this.z6k_1 = messages;
1430
+ this.x6k_1 = _this__u8e3s4;
1431
+ this.y6k_1 = messages;
1432
1432
  }
1433
1433
  protoOf($executeRequestCOROUTINE$).a9 = function () {
1434
1434
  var suspendResult = this.u8_1;
@@ -1439,7 +1439,7 @@
1439
1439
  case 0:
1440
1440
  this.t8_1 = 3;
1441
1441
  this.s8_1 = 1;
1442
- suspendResult = this.y6k_1.a6l_1.s6h(this.z6k_1, this);
1442
+ suspendResult = this.x6k_1.z6k_1.r6h(this.y6k_1, this);
1443
1443
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1444
1444
  return suspendResult;
1445
1445
  }
@@ -1461,9 +1461,9 @@
1461
1461
  var $this$runCatching = this_1.ul_1;
1462
1462
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1463
1463
  var response = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1464
- var tmp0_safe_receiver = firstOrNull(response.o6k_1);
1465
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a6k_1;
1466
- var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.p6j_1;
1464
+ var tmp0_safe_receiver = firstOrNull(response.n6k_1);
1465
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z6j_1;
1466
+ var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.o6j_1;
1467
1467
  var tmp_3;
1468
1468
  if (tmp2_elvis_lhs == null) {
1469
1469
  throw IllegalStateException_init_$Create$('No response from OpenAI');
@@ -1503,9 +1503,9 @@
1503
1503
  while (true);
1504
1504
  };
1505
1505
  function BaseOpenAIRepository(openAIApi) {
1506
- this.a6l_1 = openAIApi;
1506
+ this.z6k_1 = openAIApi;
1507
1507
  }
1508
- protoOf(BaseOpenAIRepository).b6l = function (messages, $completion) {
1508
+ protoOf(BaseOpenAIRepository).a6l = function (messages, $completion) {
1509
1509
  var tmp = new $executeRequestCOROUTINE$(this, messages, $completion);
1510
1510
  tmp.u8_1 = Unit_instance;
1511
1511
  tmp.v8_1 = null;
@@ -1537,9 +1537,9 @@
1537
1537
  // Inline function 'kotlin.let' call
1538
1538
  this_0.sb(getStringHashCode(take(message, 50))).d8(':');
1539
1539
  }
1540
- this_0.sb(getStringHashCode(context.d6j_1));
1540
+ this_0.sb(getStringHashCode(context.c6j_1));
1541
1541
  this_0.d8(':');
1542
- this_0.sb(getStringHashCode(context.e6j_1));
1542
+ this_0.sb(getStringHashCode(context.d6j_1));
1543
1543
  var key = this_0.toString();
1544
1544
  return key;
1545
1545
  }
@@ -1552,23 +1552,23 @@
1552
1552
  var this_0 = StringBuilder_init_$Create$();
1553
1553
  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');
1554
1554
  this_0.d8('\n\n');
1555
- this_0.d8('Your personality: ' + context.d6j_1);
1555
+ this_0.d8('Your personality: ' + context.c6j_1);
1556
1556
  this_0.d8('\n');
1557
- this_0.d8('Current game state: ' + context.e6j_1);
1557
+ this_0.d8('Current game state: ' + context.d6j_1);
1558
1558
  this_0.d8('\n\n');
1559
1559
  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!");
1560
- if (!(context.g6j_1 == null)) {
1561
- this_0.d8('\nYou are chatting with ' + context.g6j_1 + '.');
1560
+ if (!(context.f6j_1 == null)) {
1561
+ this_0.d8('\nYou are chatting with ' + context.f6j_1 + '.');
1562
1562
  }
1563
1563
  var tmp$ret$3 = this_0.toString();
1564
- messages.j(tmp.j6j(tmp$ret$3));
1564
+ messages.j(tmp.i6j(tmp$ret$3));
1565
1565
  // Inline function 'kotlin.collections.forEach' call
1566
- var _iterator__ex2g4s = takeLast(context.f6j_1, 5).l();
1566
+ var _iterator__ex2g4s = takeLast(context.e6j_1, 5).l();
1567
1567
  while (_iterator__ex2g4s.m()) {
1568
1568
  var element = _iterator__ex2g4s.n();
1569
- messages.j(Companion_getInstance_3().l6j(element));
1569
+ messages.j(Companion_getInstance_3().k6j(element));
1570
1570
  }
1571
- messages.j(Companion_getInstance_3().k6j(playerMessage));
1571
+ messages.j(Companion_getInstance_3().j6j(playerMessage));
1572
1572
  return messages;
1573
1573
  }
1574
1574
  function buildRandomMessagePrompt($this, context) {
@@ -1578,19 +1578,19 @@
1578
1578
  var this_0 = StringBuilder_init_$Create$();
1579
1579
  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');
1580
1580
  this_0.d8('\n\n');
1581
- this_0.d8('Your personality: ' + context.d6j_1);
1581
+ this_0.d8('Your personality: ' + context.c6j_1);
1582
1582
  this_0.d8('\n');
1583
- this_0.d8('Current game state: ' + context.e6j_1);
1583
+ this_0.d8('Current game state: ' + context.d6j_1);
1584
1584
  this_0.d8('\n\n');
1585
1585
  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.');
1586
1586
  var tmp$ret$2 = this_0.toString();
1587
- return listOf([tmp.j6j(tmp$ret$2), Companion_getInstance_3().k6j('Generate a spontaneous comment about the current game situation.')]);
1587
+ return listOf([tmp.i6j(tmp$ret$2), Companion_getInstance_3().j6j('Generate a spontaneous comment about the current game situation.')]);
1588
1588
  }
1589
1589
  function $executeRequestCOROUTINE$_0(_this__u8e3s4, messages, cacheKey, resultContinuation) {
1590
1590
  CoroutineImpl.call(this, resultContinuation);
1591
- this.m6l_1 = _this__u8e3s4;
1592
- this.n6l_1 = messages;
1593
- this.o6l_1 = cacheKey;
1591
+ this.l6l_1 = _this__u8e3s4;
1592
+ this.m6l_1 = messages;
1593
+ this.n6l_1 = cacheKey;
1594
1594
  }
1595
1595
  protoOf($executeRequestCOROUTINE$_0).a9 = function () {
1596
1596
  var suspendResult = this.u8_1;
@@ -1601,7 +1601,7 @@
1601
1601
  case 0:
1602
1602
  this.t8_1 = 3;
1603
1603
  this.s8_1 = 1;
1604
- suspendResult = this.m6l_1.q6l_1.b6l(this.n6l_1, this);
1604
+ suspendResult = this.l6l_1.p6l_1.a6l(this.m6l_1, this);
1605
1605
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1606
1606
  return suspendResult;
1607
1607
  }
@@ -1623,7 +1623,7 @@
1623
1623
  var $this$runCatching = this_1.ul_1;
1624
1624
  var tmp_2 = _Result___get_value__impl__bjfvqg($this$runCatching);
1625
1625
  var content = (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE();
1626
- this.m6l_1.p6l_1.o6i(this.o6l_1, content);
1626
+ this.l6l_1.o6l_1.n6i(this.n6l_1, content);
1627
1627
  tmp_1 = _Result___init__impl__xyqfz8(content);
1628
1628
  } catch ($p) {
1629
1629
  var tmp_3;
@@ -1656,12 +1656,12 @@
1656
1656
  while (true);
1657
1657
  };
1658
1658
  function BotChatRepositoryImpl(openAIApi, cache) {
1659
- this.p6l_1 = cache;
1660
- this.q6l_1 = new BaseOpenAIRepository(openAIApi);
1659
+ this.o6l_1 = cache;
1660
+ this.p6l_1 = new BaseOpenAIRepository(openAIApi);
1661
1661
  }
1662
- protoOf(BotChatRepositoryImpl).c6l = function (playerMessage, context, $completion) {
1662
+ protoOf(BotChatRepositoryImpl).b6l = function (playerMessage, context, $completion) {
1663
1663
  var cacheKey = buildCacheKey(this, 'answer', playerMessage, context);
1664
- var tmp0_safe_receiver = this.p6l_1.u1b(cacheKey);
1664
+ var tmp0_safe_receiver = this.o6l_1.u1b(cacheKey);
1665
1665
  if (tmp0_safe_receiver == null)
1666
1666
  null;
1667
1667
  else {
@@ -1676,9 +1676,9 @@
1676
1676
  return tmp;
1677
1677
  return tmp;
1678
1678
  };
1679
- protoOf(BotChatRepositoryImpl).d6l = function (context, $completion) {
1679
+ protoOf(BotChatRepositoryImpl).c6l = function (context, $completion) {
1680
1680
  var cacheKey = buildCacheKey(this, 'random', null, context);
1681
- var tmp0_safe_receiver = this.p6l_1.u1b(cacheKey);
1681
+ var tmp0_safe_receiver = this.o6l_1.u1b(cacheKey);
1682
1682
  if (tmp0_safe_receiver == null)
1683
1683
  null;
1684
1684
  else {
@@ -1707,8 +1707,8 @@
1707
1707
  tmp = json;
1708
1708
  }
1709
1709
  json = tmp;
1710
- this.r6l_1 = json;
1711
- this.s6l_1 = new BaseOpenAIRepository(openAIApi);
1710
+ this.q6l_1 = json;
1711
+ this.r6l_1 = new BaseOpenAIRepository(openAIApi);
1712
1712
  }
1713
1713
  function aiModule(config) {
1714
1714
  return Module_init_$Create$('AIModule', VOID, VOID, aiModule$lambda(config));
@@ -1734,7 +1734,7 @@
1734
1734
  return function ($this$Json) {
1735
1735
  $this$Json.g1a_1 = true;
1736
1736
  $this$Json.h1a_1 = true;
1737
- $this$Json.i1a_1 = $openAIConfig.z6h_1;
1737
+ $this$Json.i1a_1 = $openAIConfig.y6h_1;
1738
1738
  return Unit_instance;
1739
1739
  };
1740
1740
  }
@@ -1747,7 +1747,7 @@
1747
1747
  function aiModule$lambda$lambda$lambda$lambda_0($openAIConfig) {
1748
1748
  return function ($this$install) {
1749
1749
  $this$install.d4p(get_DEFAULT(Companion_instance_0));
1750
- $this$install.c4p_1 = $openAIConfig.z6h_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1750
+ $this$install.c4p_1 = $openAIConfig.y6h_1 ? LogLevel_INFO_getInstance() : LogLevel_NONE_getInstance();
1751
1751
  return Unit_instance;
1752
1752
  };
1753
1753
  }