@doordeck/doordeck-headless-sdk 0.113.0 → 0.115.0

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.
Files changed (31) hide show
  1. package/kotlin/Kermit-kermit-core.js +52 -51
  2. package/kotlin/Kermit-kermit.js +3 -3
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1900 -1682
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +6 -6
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +13 -13
  6. package/kotlin/doordeck-sdk.d.ts +1578 -292
  7. package/kotlin/doordeck-sdk.js +911 -1027
  8. package/kotlin/kotlin-kotlin-stdlib.js +584 -713
  9. package/kotlin/kotlinx-atomicfu.js +5 -5
  10. package/kotlin/kotlinx-coroutines-core.js +246 -243
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +12 -12
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +104 -104
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +126 -117
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1216 -1214
  15. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js → ktor-ktor-client-auth.js} +283 -286
  16. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js → ktor-ktor-client-content-negotiation.js} +169 -169
  17. package/kotlin/{ktor-ktor-client-ktor-client-core.js → ktor-ktor-client-core.js} +2515 -2518
  18. package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js → ktor-ktor-client-logging.js} +926 -831
  19. package/kotlin/{ktor-ktor-shared-ktor-events.js → ktor-ktor-events.js} +9 -9
  20. package/kotlin/{ktor-ktor-http-ktor-http-cio.js → ktor-ktor-http-cio.js} +371 -370
  21. package/kotlin/ktor-ktor-http.js +867 -952
  22. package/kotlin/ktor-ktor-io.js +389 -411
  23. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js → ktor-ktor-serialization-kotlinx-json.js} +7 -7
  24. package/kotlin/{ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js → ktor-ktor-serialization-kotlinx.js} +150 -150
  25. package/kotlin/{ktor-ktor-shared-ktor-serialization.js → ktor-ktor-serialization.js} +75 -75
  26. package/kotlin/ktor-ktor-utils.js +117 -92
  27. package/kotlin/{ktor-ktor-shared-ktor-websockets.js → ktor-ktor-websockets.js} +52 -52
  28. package/package.json +3 -3
  29. /package/kotlin/{ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js → ktor-ktor-client-encoding.js} +0 -0
  30. /package/kotlin/{ktor-ktor-shared-ktor-sse.js → ktor-ktor-sse.js} +0 -0
  31. /package/kotlin/{ktor-ktor-shared-ktor-websocket-serialization.js → ktor-ktor-websocket-serialization.js} +0 -0
@@ -3,62 +3,63 @@
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
5
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
6
- var arrayOf = kotlin_kotlin.$_$.gg;
6
+ var arrayOf = kotlin_kotlin.$_$.jg;
7
7
  var createKType = kotlin_kotlin.$_$.c;
8
8
  var Unit_instance = kotlin_kotlin.$_$.k5;
9
9
  var VOID = kotlin_kotlin.$_$.h;
10
- var isBlank = kotlin_kotlin.$_$.fd;
11
- var toString = kotlin_kotlin.$_$.yb;
10
+ var isBlank = kotlin_kotlin.$_$.gd;
11
+ var toString = kotlin_kotlin.$_$.zb;
12
12
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
13
- var protoOf = kotlin_kotlin.$_$.ub;
14
- var getStringHashCode = kotlin_kotlin.$_$.qa;
15
- var THROW_CCE = kotlin_kotlin.$_$.sf;
16
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
13
+ var protoOf = kotlin_kotlin.$_$.vb;
14
+ var getStringHashCode = kotlin_kotlin.$_$.ra;
15
+ var THROW_CCE = kotlin_kotlin.$_$.vf;
16
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
17
17
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
18
- var initMetadataForInterface = kotlin_kotlin.$_$.wa;
19
- var decodeToString = kotlin_kotlin.$_$.vc;
18
+ var initMetadataForInterface = kotlin_kotlin.$_$.xa;
19
+ var decodeToString = kotlin_kotlin.$_$.wc;
20
20
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
21
- var get_lastIndex = kotlin_kotlin.$_$.id;
22
- var charSequenceGet = kotlin_kotlin.$_$.ga;
21
+ var get_lastIndex = kotlin_kotlin.$_$.jd;
22
+ var charCodeAt = kotlin_kotlin.$_$.ga;
23
23
  var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
24
- var writeText = kotlin_io_ktor_ktor_io.$_$.i1;
24
+ var substring = kotlin_kotlin.$_$.ee;
25
+ var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
25
26
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
26
27
  var charArray = kotlin_kotlin.$_$.fa;
27
- var concatToString = kotlin_kotlin.$_$.rc;
28
- var readAvailable = kotlin_io_ktor_ktor_io.$_$.b1;
29
- var toByte = kotlin_kotlin.$_$.vb;
30
- var numberToChar = kotlin_kotlin.$_$.pb;
31
- var indexOf = kotlin_kotlin.$_$.ed;
28
+ var concatToString = kotlin_kotlin.$_$.sc;
29
+ var readAvailable = kotlin_io_ktor_ktor_io.$_$.z;
30
+ var toByte = kotlin_kotlin.$_$.wb;
31
+ var numberToChar = kotlin_kotlin.$_$.qb;
32
+ var indexOf = kotlin_kotlin.$_$.fd;
32
33
  var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
33
- var ByteChannel = kotlin_io_ktor_ktor_io.$_$.m1;
34
+ var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
34
35
  var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
35
- var to = kotlin_kotlin.$_$.wg;
36
+ var to = kotlin_kotlin.$_$.zg;
36
37
  var GlobalScope_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
37
38
  var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
38
39
  var CoroutineImpl = kotlin_kotlin.$_$.v9;
39
40
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
40
- var isInterface = kotlin_kotlin.$_$.hb;
41
+ var isInterface = kotlin_kotlin.$_$.ib;
41
42
  var writeFully = kotlin_io_ktor_ktor_io.$_$.l;
42
43
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
43
- var initMetadataForLambda = kotlin_kotlin.$_$.xa;
44
- var get_ByteArrayPool = kotlin_io_ktor_ktor_io.$_$.j1;
44
+ var initMetadataForLambda = kotlin_kotlin.$_$.ya;
45
+ var get_ByteArrayPool = kotlin_io_ktor_ktor_io.$_$.g1;
45
46
  var readAvailable_0 = kotlin_io_ktor_ktor_io.$_$.d;
46
47
  var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
47
48
  var listOf = kotlin_kotlin.$_$.w7;
48
49
  var awaitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
49
- var Long = kotlin_kotlin.$_$.mf;
50
+ var Long = kotlin_kotlin.$_$.pf;
50
51
  var readRemaining = kotlin_io_ktor_ktor_io.$_$.g;
51
52
  var writePacket = kotlin_io_ktor_ktor_io.$_$.m;
52
- var close = kotlin_io_ktor_ktor_io.$_$.s1;
53
- var closeFinally = kotlin_kotlin.$_$.hg;
53
+ var close = kotlin_io_ktor_ktor_io.$_$.o1;
54
+ var closeFinally = kotlin_kotlin.$_$.kg;
54
55
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
55
- var equals = kotlin_kotlin.$_$.la;
56
- var hashCode = kotlin_kotlin.$_$.ra;
56
+ var equals = kotlin_kotlin.$_$.ma;
57
+ var hashCode = kotlin_kotlin.$_$.sa;
57
58
  var asJsReadonlyMapView = kotlin_kotlin.$_$.t5;
58
59
  var KtMutableMap = kotlin_kotlin.$_$.w5;
59
- var ensureNotNull = kotlin_kotlin.$_$.kg;
60
+ var ensureNotNull = kotlin_kotlin.$_$.ng;
60
61
  var Entry = kotlin_kotlin.$_$.s5;
61
- var toString_0 = kotlin_kotlin.$_$.vg;
62
+ var toString_0 = kotlin_kotlin.$_$.yg;
62
63
  var toString_1 = kotlin_kotlin.$_$.a3;
63
64
  var SupervisorJob = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
64
65
  var AbstractCoroutineContextElement = kotlin_kotlin.$_$.k9;
@@ -69,9 +70,9 @@
69
70
  var KtSet = kotlin_kotlin.$_$.y5;
70
71
  var KtMutableSet = kotlin_kotlin.$_$.x5;
71
72
  var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.s4;
72
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
73
+ var initMetadataForObject = kotlin_kotlin.$_$.za;
73
74
  var toList = kotlin_kotlin.$_$.u8;
74
- var Enum = kotlin_kotlin.$_$.hf;
75
+ var Enum = kotlin_kotlin.$_$.kf;
75
76
  var firstOrNull = kotlin_kotlin.$_$.e7;
76
77
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.p;
77
78
  var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.x;
@@ -80,17 +81,18 @@
80
81
  var toSet = kotlin_kotlin.$_$.z8;
81
82
  var emptySet = kotlin_kotlin.$_$.b7;
82
83
  var emptyMap = kotlin_kotlin.$_$.a7;
83
- var getBooleanHashCode = kotlin_kotlin.$_$.na;
84
- var equals_0 = kotlin_kotlin.$_$.ad;
84
+ var getBooleanHashCode = kotlin_kotlin.$_$.oa;
85
+ var equals_0 = kotlin_kotlin.$_$.bd;
85
86
  var setOf = kotlin_kotlin.$_$.i8;
86
- var charSequenceLength = kotlin_kotlin.$_$.ha;
87
+ var charSequenceLength = kotlin_kotlin.$_$.ia;
88
+ var charSequenceGet = kotlin_kotlin.$_$.ha;
87
89
  var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
88
90
  var Char__plus_impl_qi7pgj = kotlin_kotlin.$_$.x2;
89
91
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
90
92
  var createSimpleEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e2;
91
93
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.l;
92
- var lazy = kotlin_kotlin.$_$.pg;
93
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
94
+ var lazy = kotlin_kotlin.$_$.sg;
95
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
94
96
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
95
97
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.e;
96
98
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q;
@@ -98,39 +100,39 @@
98
100
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
99
101
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
100
102
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
101
- var objectCreate = kotlin_kotlin.$_$.tb;
102
- var Comparable = kotlin_kotlin.$_$.df;
103
+ var objectCreate = kotlin_kotlin.$_$.ub;
104
+ var Comparable = kotlin_kotlin.$_$.gf;
103
105
  var enumEntries = kotlin_kotlin.$_$.x9;
104
- var initMetadataForCoroutine = kotlin_kotlin.$_$.ua;
106
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.va;
105
107
  var KtMutableList = kotlin_kotlin.$_$.v5;
106
108
  var toMutableList = kotlin_kotlin.$_$.x8;
107
109
  var ArrayList = kotlin_kotlin.$_$.l5;
110
+ var KMutableProperty1 = kotlin_kotlin.$_$.lc;
111
+ var getPropertyCallableRef = kotlin_kotlin.$_$.qa;
108
112
  var emptyList = kotlin_kotlin.$_$.z6;
109
113
  var get_lastIndex_0 = kotlin_kotlin.$_$.s7;
110
114
  var last = kotlin_kotlin.$_$.u7;
111
115
  var mutableListOf = kotlin_kotlin.$_$.z7;
112
116
  var anyToString = kotlin_kotlin.$_$.aa;
113
- var KMutableProperty1 = kotlin_kotlin.$_$.kc;
114
- var getPropertyCallableRef = kotlin_kotlin.$_$.pa;
115
- var extendThrowable = kotlin_kotlin.$_$.ma;
117
+ var extendThrowable = kotlin_kotlin.$_$.na;
116
118
  var captureStack = kotlin_kotlin.$_$.da;
117
119
  var recoverStackTrace = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
118
120
  var Companion_instance = kotlin_kotlin.$_$.f5;
119
121
  var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
120
- var createFailure = kotlin_kotlin.$_$.jg;
122
+ var createFailure = kotlin_kotlin.$_$.mg;
121
123
  var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.c3;
122
124
  var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.d3;
123
125
  var Continuation = kotlin_kotlin.$_$.p9;
124
126
  var intercepted = kotlin_kotlin.$_$.i9;
125
- var KProperty1 = kotlin_kotlin.$_$.mc;
126
- var lazy_0 = kotlin_kotlin.$_$.qg;
127
- var isNaN_0 = kotlin_kotlin.$_$.og;
128
- var numberToLong = kotlin_kotlin.$_$.sb;
129
- var IllegalStateException = kotlin_kotlin.$_$.lf;
127
+ var KProperty1 = kotlin_kotlin.$_$.nc;
128
+ var lazy_0 = kotlin_kotlin.$_$.tg;
129
+ var isNaN_0 = kotlin_kotlin.$_$.rg;
130
+ var numberToLong = kotlin_kotlin.$_$.tb;
131
+ var IllegalStateException = kotlin_kotlin.$_$.of;
130
132
  var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.z1;
131
133
  var toList_0 = kotlin_kotlin.$_$.t8;
132
134
  var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.e3;
133
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.rg;
135
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
134
136
  //endregion
135
137
  //region block: pre-declaration
136
138
  initMetadataForClass(AttributeKey, 'AttributeKey');
@@ -206,7 +208,7 @@
206
208
  initMetadataForClass(LockFreeLinkedListNode, 'LockFreeLinkedListNode');
207
209
  initMetadataForClass(Removed, 'Removed');
208
210
  initMetadataForClass(OpDescriptor, 'OpDescriptor');
209
- initMetadataForCoroutine($proceedLoopCOROUTINE$0, CoroutineImpl);
211
+ initMetadataForCoroutine($proceedLoopCOROUTINE$, CoroutineImpl);
210
212
  initMetadataForClass(PipelineContext, 'PipelineContext', VOID, VOID, [CoroutineScope], [1, 0]);
211
213
  initMetadataForClass(DebugPipelineContext, 'DebugPipelineContext', VOID, PipelineContext, VOID, [1, 0]);
212
214
  initMetadataForCompanion(Companion_2);
@@ -307,7 +309,7 @@
307
309
  _init_properties_Base64_kt__ymmsz3();
308
310
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
309
311
  var builder = new Buffer();
310
- var tmp$ret$3;
312
+ var tmp$ret$1;
311
313
  $l$block: {
312
314
  // Inline function 'kotlin.text.dropLastWhile' call
313
315
  var inductionVariable = get_lastIndex(_this__u8e3s4);
@@ -315,18 +317,15 @@
315
317
  do {
316
318
  var index = inductionVariable;
317
319
  inductionVariable = inductionVariable + -1 | 0;
318
- if (!(charSequenceGet(_this__u8e3s4, index) === _Char___init__impl__6a9atx(61))) {
319
- // Inline function 'kotlin.text.substring' call
320
- var endIndex = index + 1 | 0;
321
- // Inline function 'kotlin.js.asDynamic' call
322
- tmp$ret$3 = _this__u8e3s4.substring(0, endIndex);
320
+ if (!(charCodeAt(_this__u8e3s4, index) === _Char___init__impl__6a9atx(61))) {
321
+ tmp$ret$1 = substring(_this__u8e3s4, 0, index + 1 | 0);
323
322
  break $l$block;
324
323
  }
325
324
  }
326
325
  while (0 <= inductionVariable);
327
- tmp$ret$3 = '';
326
+ tmp$ret$1 = '';
328
327
  }
329
- writeText(builder, tmp$ret$3);
328
+ writeText(builder, tmp$ret$1);
330
329
  return readByteArray(decodeBase64Bytes_0(builder));
331
330
  }
332
331
  function encodeBase64(_this__u8e3s4) {
@@ -350,7 +349,7 @@
350
349
  var _unary__edvuaz = writeOffset;
351
350
  writeOffset = _unary__edvuaz + 1 | 0;
352
351
  // Inline function 'io.ktor.util.toBase64' call
353
- charArray_0[_unary__edvuaz] = charSequenceGet('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', char);
352
+ charArray_0[_unary__edvuaz] = charCodeAt('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', char);
354
353
  }
355
354
  while (0 <= inductionVariable);
356
355
  }
@@ -374,7 +373,7 @@
374
373
  var _unary__edvuaz_0 = writeOffset;
375
374
  writeOffset = _unary__edvuaz_0 + 1 | 0;
376
375
  // Inline function 'io.ktor.util.toBase64' call
377
- charArray_0[_unary__edvuaz_0] = charSequenceGet('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', char_0);
376
+ charArray_0[_unary__edvuaz_0] = charCodeAt('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/', char_0);
378
377
  }
379
378
  while (!(index_0 === padSize));
380
379
  // Inline function 'kotlin.repeat' call
@@ -1123,7 +1122,7 @@
1123
1122
  var tmp_1 = charArray(tmp_0);
1124
1123
  while (tmp < tmp_0) {
1125
1124
  var tmp_2 = tmp;
1126
- tmp_1[tmp_2] = charSequenceGet(_this__u8e3s4, tmp_2);
1125
+ tmp_1[tmp_2] = charCodeAt(_this__u8e3s4, tmp_2);
1127
1126
  tmp = tmp + 1 | 0;
1128
1127
  }
1129
1128
  return tmp_1;
@@ -1134,7 +1133,7 @@
1134
1133
  // Inline function 'kotlin.js.asDynamic' call
1135
1134
  // Inline function 'kotlin.js.unsafeCast' call
1136
1135
  var tmp$ret$2 = toString_1(_this__u8e3s4).toLowerCase();
1137
- return charSequenceGet(tmp$ret$2, 0) === _this__u8e3s4;
1136
+ return charCodeAt(tmp$ret$2, 0) === _this__u8e3s4;
1138
1137
  }
1139
1138
  function caseInsensitiveMap() {
1140
1139
  return new CaseInsensitiveMap();
@@ -1750,7 +1749,7 @@
1750
1749
  do {
1751
1750
  var index_0 = inductionVariable_0;
1752
1751
  inductionVariable_0 = inductionVariable_0 + 1 | 0;
1753
- this_0.s8(toLowerCasePreservingASCII(charSequenceGet(original, index_0)));
1752
+ this_0.s8(toLowerCasePreservingASCII(charCodeAt(original, index_0)));
1754
1753
  }
1755
1754
  while (!(index_0 === last_0));
1756
1755
  return this_0.toString();
@@ -1767,7 +1766,7 @@
1767
1766
  // Inline function 'kotlin.js.asDynamic' call
1768
1767
  // Inline function 'kotlin.js.unsafeCast' call
1769
1768
  var tmp$ret$2 = toString_1(ch).toLowerCase();
1770
- tmp = charSequenceGet(tmp$ret$2, 0);
1769
+ tmp = charCodeAt(tmp$ret$2, 0);
1771
1770
  }
1772
1771
  return tmp;
1773
1772
  }
@@ -1778,7 +1777,7 @@
1778
1777
  var inductionVariable = 0;
1779
1778
  var last = indexedObject.length;
1780
1779
  while (inductionVariable < last) {
1781
- var element = charSequenceGet(indexedObject, inductionVariable);
1780
+ var element = charCodeAt(indexedObject, inductionVariable);
1782
1781
  inductionVariable = inductionVariable + 1 | 0;
1783
1782
  var tmp = imul(temp, 31);
1784
1783
  // Inline function 'kotlin.text.lowercaseChar' call
@@ -1787,7 +1786,7 @@
1787
1786
  // Inline function 'kotlin.js.unsafeCast' call
1788
1787
  var tmp$ret$2 = toString_1(element).toLowerCase();
1789
1788
  // Inline function 'kotlin.code' call
1790
- var this_0 = charSequenceGet(tmp$ret$2, 0);
1789
+ var this_0 = charCodeAt(tmp$ret$2, 0);
1791
1790
  temp = tmp + Char__toInt_impl_vasixd(this_0) | 0;
1792
1791
  }
1793
1792
  this.i2m_1 = temp;
@@ -2270,16 +2269,16 @@
2270
2269
  }
2271
2270
  }
2272
2271
  function proceedLoop($this, $completion) {
2273
- var tmp = new $proceedLoopCOROUTINE$0($this, $completion);
2272
+ var tmp = new $proceedLoopCOROUTINE$($this, $completion);
2274
2273
  tmp.i9_1 = Unit_instance;
2275
2274
  tmp.j9_1 = null;
2276
2275
  return tmp.o9();
2277
2276
  }
2278
- function $proceedLoopCOROUTINE$0(_this__u8e3s4, resultContinuation) {
2277
+ function $proceedLoopCOROUTINE$(_this__u8e3s4, resultContinuation) {
2279
2278
  CoroutineImpl.call(this, resultContinuation);
2280
2279
  this.z2p_1 = _this__u8e3s4;
2281
2280
  }
2282
- protoOf($proceedLoopCOROUTINE$0).o9 = function () {
2281
+ protoOf($proceedLoopCOROUTINE$).o9 = function () {
2283
2282
  var suspendResult = this.i9_1;
2284
2283
  $sm: do
2285
2284
  try {
@@ -2449,15 +2448,19 @@
2449
2448
  };
2450
2449
  function _set_interceptors__wod97b($this, _set____db54di) {
2451
2450
  var tmp0 = $this.b2r_1;
2451
+ var tmp = KMutableProperty1;
2452
+ var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e_0();
2452
2453
  // Inline function 'kotlinx.atomicfu.AtomicRef.setValue' call
2453
- interceptors$factory();
2454
+ getPropertyCallableRef('interceptors', 1, tmp, tmp_0, Pipeline$_set_interceptors_$ref_13vc1m_0());
2454
2455
  tmp0.kotlinx$atomicfu$value = _set____db54di;
2455
2456
  return Unit_instance;
2456
2457
  }
2457
2458
  function _get_interceptors__h4min7($this) {
2458
2459
  var tmp0 = $this.b2r_1;
2460
+ var tmp = KMutableProperty1;
2461
+ var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
2459
2462
  // Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
2460
- interceptors$factory_0();
2463
+ getPropertyCallableRef('interceptors', 1, tmp, tmp_0, Pipeline$_set_interceptors_$ref_13vc1m());
2461
2464
  return tmp0.kotlinx$atomicfu$value;
2462
2465
  }
2463
2466
  function createContext($this, context, subject, coroutineContext) {
@@ -2647,6 +2650,28 @@
2647
2650
  }
2648
2651
  return false;
2649
2652
  }
2653
+ function Pipeline$_get_interceptors_$ref_u6zl4e() {
2654
+ return function (p0) {
2655
+ return _get_interceptors__h4min7(p0);
2656
+ };
2657
+ }
2658
+ function Pipeline$_set_interceptors_$ref_13vc1m() {
2659
+ return function (p0, p1) {
2660
+ _set_interceptors__wod97b(p0, p1);
2661
+ return Unit_instance;
2662
+ };
2663
+ }
2664
+ function Pipeline$_get_interceptors_$ref_u6zl4e_0() {
2665
+ return function (p0) {
2666
+ return _get_interceptors__h4min7(p0);
2667
+ };
2668
+ }
2669
+ function Pipeline$_set_interceptors_$ref_13vc1m_0() {
2670
+ return function (p0, p1) {
2671
+ _set_interceptors__wod97b(p0, p1);
2672
+ return Unit_instance;
2673
+ };
2674
+ }
2650
2675
  function Pipeline(phases) {
2651
2676
  this.x2q_1 = AttributesJsFn(true);
2652
2677
  this.y2q_1 = false;
@@ -2734,20 +2759,6 @@
2734
2759
  protoOf(Pipeline).toString = function () {
2735
2760
  return anyToString(this);
2736
2761
  };
2737
- function interceptors$factory() {
2738
- return getPropertyCallableRef('interceptors', 1, KMutableProperty1, function (receiver) {
2739
- return _get_interceptors__h4min7(receiver);
2740
- }, function (receiver, value) {
2741
- return _set_interceptors__wod97b(receiver, value);
2742
- });
2743
- }
2744
- function interceptors$factory_0() {
2745
- return getPropertyCallableRef('interceptors', 1, KMutableProperty1, function (receiver) {
2746
- return _get_interceptors__h4min7(receiver);
2747
- }, function (receiver, value) {
2748
- return _set_interceptors__wod97b(receiver, value);
2749
- });
2750
- }
2751
2762
  function PipelineContext(context) {
2752
2763
  this.g2r_1 = context;
2753
2764
  }
@@ -2997,8 +3008,9 @@
2997
3008
  function get_platform(_this__u8e3s4) {
2998
3009
  _init_properties_PlatformUtils_js_kt__7rxm8p();
2999
3010
  var tmp0 = platform$delegate;
3011
+ var tmp = KProperty1;
3000
3012
  // Inline function 'kotlin.getValue' call
3001
- platform$factory();
3013
+ getPropertyCallableRef('platform', 1, tmp, _get_platform_$ref_41w7mv(), null);
3002
3014
  return tmp0.z();
3003
3015
  }
3004
3016
  var platform$delegate;
@@ -3006,10 +3018,10 @@
3006
3018
  _init_properties_PlatformUtils_js_kt__7rxm8p();
3007
3019
  return new Js(hasNodeApi() ? JsPlatform_Node_getInstance() : JsPlatform_Browser_getInstance());
3008
3020
  }
3009
- function platform$factory() {
3010
- return getPropertyCallableRef('platform', 1, KProperty1, function (receiver) {
3011
- return get_platform(receiver);
3012
- }, null);
3021
+ function _get_platform_$ref_41w7mv() {
3022
+ return function (p0) {
3023
+ return get_platform(p0);
3024
+ };
3013
3025
  }
3014
3026
  var properties_initialized_PlatformUtils_js_kt_8g036j;
3015
3027
  function _init_properties_PlatformUtils_js_kt__7rxm8p() {
@@ -3274,7 +3286,20 @@
3274
3286
  }
3275
3287
  tmp.k2s_1 = tmp_0;
3276
3288
  }
3277
- protoOf(KtorSimpleLogger$1).l2s = function (message) {
3289
+ protoOf(KtorSimpleLogger$1).l2s = function () {
3290
+ return this.k2s_1;
3291
+ };
3292
+ protoOf(KtorSimpleLogger$1).m2s = function (message) {
3293
+ if (this.k2s_1.u2(LogLevel_WARN_getInstance()) > 0)
3294
+ return Unit_instance;
3295
+ console.warn(message);
3296
+ };
3297
+ protoOf(KtorSimpleLogger$1).n2s = function (message, cause) {
3298
+ if (this.k2s_1.u2(LogLevel_DEBUG_getInstance()) > 0)
3299
+ return Unit_instance;
3300
+ console.debug('DEBUG: ' + message + ', cause: ' + cause.toString());
3301
+ };
3302
+ protoOf(KtorSimpleLogger$1).o2s = function (message) {
3278
3303
  if (this.k2s_1.u2(LogLevel_TRACE_getInstance()) > 0)
3279
3304
  return Unit_instance;
3280
3305
  console.debug('TRACE: ' + message);
@@ -3310,7 +3335,7 @@
3310
3335
  Enum.call(this, name, ordinal);
3311
3336
  }
3312
3337
  function get_isTraceEnabled(_this__u8e3s4) {
3313
- return true;
3338
+ return _this__u8e3s4.l2s().u2(LogLevel_TRACE_getInstance()) <= 0;
3314
3339
  }
3315
3340
  function LogLevel_TRACE_getInstance() {
3316
3341
  LogLevel_initEntries();
@@ -4,26 +4,26 @@
4
4
  var imul = Math.imul;
5
5
  var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
6
6
  var mapCapacity = kotlin_kotlin.$_$.x7;
7
- var coerceAtLeast = kotlin_kotlin.$_$.cc;
7
+ var coerceAtLeast = kotlin_kotlin.$_$.dc;
8
8
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
9
9
  var Unit_instance = kotlin_kotlin.$_$.k5;
10
- var protoOf = kotlin_kotlin.$_$.ub;
11
- var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
10
+ var protoOf = kotlin_kotlin.$_$.vb;
11
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ua;
12
12
  var enumEntries = kotlin_kotlin.$_$.x9;
13
- var Enum = kotlin_kotlin.$_$.hf;
14
- var initMetadataForClass = kotlin_kotlin.$_$.sa;
13
+ var Enum = kotlin_kotlin.$_$.kf;
14
+ var initMetadataForClass = kotlin_kotlin.$_$.ta;
15
15
  var VOID = kotlin_kotlin.$_$.h;
16
- var toString = kotlin_kotlin.$_$.yb;
17
- var getStringHashCode = kotlin_kotlin.$_$.qa;
18
- var THROW_CCE = kotlin_kotlin.$_$.sf;
16
+ var toString = kotlin_kotlin.$_$.zb;
17
+ var getStringHashCode = kotlin_kotlin.$_$.ra;
18
+ var THROW_CCE = kotlin_kotlin.$_$.vf;
19
19
  var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
20
- var initMetadataForObject = kotlin_kotlin.$_$.ya;
21
- var compareTo = kotlin_kotlin.$_$.ja;
22
- var ensureNotNull = kotlin_kotlin.$_$.kg;
23
- var objectCreate = kotlin_kotlin.$_$.tb;
24
- var toByteArray = kotlin_io_ktor_ktor_io.$_$.f1;
20
+ var initMetadataForObject = kotlin_kotlin.$_$.za;
21
+ var compareTo = kotlin_kotlin.$_$.ka;
22
+ var ensureNotNull = kotlin_kotlin.$_$.ng;
23
+ var objectCreate = kotlin_kotlin.$_$.ub;
24
+ var toByteArray = kotlin_io_ktor_ktor_io.$_$.d1;
25
25
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
26
- var writeText = kotlin_io_ktor_ktor_io.$_$.i1;
26
+ var writeText = kotlin_io_ktor_ktor_io.$_$.f1;
27
27
  var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
28
28
  //endregion
29
29
  //region block: pre-declaration
@@ -62,14 +62,14 @@
62
62
  var _iterator__ex2g4s = this_0.p();
63
63
  while (_iterator__ex2g4s.q()) {
64
64
  var element = _iterator__ex2g4s.r();
65
- var tmp$ret$0 = element.b3c_1;
65
+ var tmp$ret$0 = element.e3c_1;
66
66
  destination.n2(tmp$ret$0, element);
67
67
  }
68
- tmp.c3c_1 = destination;
69
- this.d3c_1 = Codes_INTERNAL_ERROR_getInstance();
68
+ tmp.f3c_1 = destination;
69
+ this.g3c_1 = Codes_INTERNAL_ERROR_getInstance();
70
70
  }
71
- protoOf(Companion).e3c = function (code) {
72
- return this.c3c_1.k2(code);
71
+ protoOf(Companion).h3c = function (code) {
72
+ return this.f3c_1.k2(code);
73
73
  };
74
74
  var Companion_instance;
75
75
  function Companion_getInstance() {
@@ -108,7 +108,7 @@
108
108
  var $ENTRIES;
109
109
  function Codes(name, ordinal, code) {
110
110
  Enum.call(this, name, ordinal);
111
- this.b3c_1 = code;
111
+ this.e3c_1 = code;
112
112
  }
113
113
  function Codes_NORMAL_getInstance() {
114
114
  Codes_initEntries();
@@ -159,19 +159,19 @@
159
159
  return Codes_TRY_AGAIN_LATER_instance;
160
160
  }
161
161
  function CloseReason(code, message) {
162
- this.f3c_1 = code;
163
- this.g3c_1 = message;
162
+ this.i3c_1 = code;
163
+ this.j3c_1 = message;
164
164
  }
165
- protoOf(CloseReason).h3c = function () {
166
- return Companion_getInstance().e3c(this.f3c_1);
165
+ protoOf(CloseReason).k3c = function () {
166
+ return Companion_getInstance().h3c(this.i3c_1);
167
167
  };
168
168
  protoOf(CloseReason).toString = function () {
169
- var tmp0_elvis_lhs = this.h3c();
170
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.f3c_1 : tmp0_elvis_lhs) + ', message=' + this.g3c_1 + ')';
169
+ var tmp0_elvis_lhs = this.k3c();
170
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.i3c_1 : tmp0_elvis_lhs) + ', message=' + this.j3c_1 + ')';
171
171
  };
172
172
  protoOf(CloseReason).hashCode = function () {
173
- var result = this.f3c_1;
174
- result = imul(result, 31) + getStringHashCode(this.g3c_1) | 0;
173
+ var result = this.i3c_1;
174
+ result = imul(result, 31) + getStringHashCode(this.j3c_1) | 0;
175
175
  return result;
176
176
  };
177
177
  protoOf(CloseReason).equals = function (other) {
@@ -180,9 +180,9 @@
180
180
  if (!(other instanceof CloseReason))
181
181
  return false;
182
182
  var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
183
- if (!(this.f3c_1 === tmp0_other_with_cast.f3c_1))
183
+ if (!(this.i3c_1 === tmp0_other_with_cast.i3c_1))
184
184
  return false;
185
- if (!(this.g3c_1 === tmp0_other_with_cast.g3c_1))
185
+ if (!(this.j3c_1 === tmp0_other_with_cast.j3c_1))
186
186
  return false;
187
187
  return true;
188
188
  };
@@ -231,10 +231,10 @@
231
231
  tmp$ret$0 = maxElem;
232
232
  break $l$block_0;
233
233
  }
234
- var maxValue = maxElem.l3c_1;
234
+ var maxValue = maxElem.o3c_1;
235
235
  do {
236
236
  var e = iterator.r();
237
- var v = e.l3c_1;
237
+ var v = e.o3c_1;
238
238
  if (compareTo(maxValue, v) < 0) {
239
239
  maxElem = e;
240
240
  maxValue = v;
@@ -243,24 +243,24 @@
243
243
  while (iterator.q());
244
244
  tmp$ret$0 = maxElem;
245
245
  }
246
- tmp.m3c_1 = ensureNotNull(tmp$ret$0).l3c_1;
246
+ tmp.p3c_1 = ensureNotNull(tmp$ret$0).o3c_1;
247
247
  var tmp_0 = this;
248
248
  var tmp_1 = 0;
249
- var tmp_2 = this.m3c_1 + 1 | 0;
249
+ var tmp_2 = this.p3c_1 + 1 | 0;
250
250
  // Inline function 'kotlin.arrayOfNulls' call
251
251
  var tmp_3 = Array(tmp_2);
252
252
  while (tmp_1 < tmp_2) {
253
253
  var tmp_4 = tmp_1;
254
- var tmp1 = get_entries_0();
254
+ var tmp0_0 = get_entries_0();
255
255
  var tmp$ret$5;
256
256
  $l$block_2: {
257
257
  // Inline function 'kotlin.collections.singleOrNull' call
258
258
  var single = null;
259
259
  var found = false;
260
- var _iterator__ex2g4s = tmp1.p();
260
+ var _iterator__ex2g4s = tmp0_0.p();
261
261
  while (_iterator__ex2g4s.q()) {
262
262
  var element = _iterator__ex2g4s.r();
263
- if (element.l3c_1 === tmp_4) {
263
+ if (element.o3c_1 === tmp_4) {
264
264
  if (found) {
265
265
  tmp$ret$5 = null;
266
266
  break $l$block_2;
@@ -278,7 +278,7 @@
278
278
  tmp_3[tmp_4] = tmp$ret$5;
279
279
  tmp_1 = tmp_1 + 1 | 0;
280
280
  }
281
- tmp_0.n3c_1 = tmp_3;
281
+ tmp_0.q3c_1 = tmp_3;
282
282
  }
283
283
  var Companion_instance_0;
284
284
  function Companion_getInstance_0() {
@@ -310,8 +310,8 @@
310
310
  var $ENTRIES_0;
311
311
  function FrameType(name, ordinal, controlFrame, opcode) {
312
312
  Enum.call(this, name, ordinal);
313
- this.k3c_1 = controlFrame;
314
- this.l3c_1 = opcode;
313
+ this.n3c_1 = controlFrame;
314
+ this.o3c_1 = opcode;
315
315
  }
316
316
  function FrameType_TEXT_getInstance() {
317
317
  FrameType_initEntries();
@@ -354,8 +354,8 @@
354
354
  function Close_init_$Init$(reason, $this) {
355
355
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
356
356
  var builder = new Buffer();
357
- builder.j1j(reason.f3c_1);
358
- writeText(builder, reason.g3c_1);
357
+ builder.j1j(reason.i3c_1);
358
+ writeText(builder, reason.j3c_1);
359
359
  Close_init_$Init$_0(builder, $this);
360
360
  return $this;
361
361
  }
@@ -367,7 +367,7 @@
367
367
  return $this;
368
368
  }
369
369
  function Close_init_$Init$_1($this) {
370
- Close.call($this, Companion_getInstance_1().o3c_1);
370
+ Close.call($this, Companion_getInstance_1().r3c_1);
371
371
  return $this;
372
372
  }
373
373
  function Close_init_$Create$_0() {
@@ -390,7 +390,7 @@
390
390
  }
391
391
  function Companion_1() {
392
392
  Companion_instance_1 = this;
393
- this.o3c_1 = new Int8Array(0);
393
+ this.r3c_1 = new Int8Array(0);
394
394
  }
395
395
  var Companion_instance_1;
396
396
  function Companion_getInstance_1() {
@@ -404,16 +404,16 @@
404
404
  rsv1 = rsv1 === VOID ? false : rsv1;
405
405
  rsv2 = rsv2 === VOID ? false : rsv2;
406
406
  rsv3 = rsv3 === VOID ? false : rsv3;
407
- this.p3c_1 = fin;
408
- this.q3c_1 = frameType;
409
- this.r3c_1 = data;
410
- this.s3c_1 = disposableHandle;
411
- this.t3c_1 = rsv1;
412
- this.u3c_1 = rsv2;
413
- this.v3c_1 = rsv3;
407
+ this.s3c_1 = fin;
408
+ this.t3c_1 = frameType;
409
+ this.u3c_1 = data;
410
+ this.v3c_1 = disposableHandle;
411
+ this.w3c_1 = rsv1;
412
+ this.x3c_1 = rsv2;
413
+ this.y3c_1 = rsv3;
414
414
  }
415
415
  protoOf(Frame).toString = function () {
416
- return 'Frame ' + this.q3c_1.toString() + ' (fin=' + this.p3c_1 + ', buffer len = ' + this.r3c_1.length + ')';
416
+ return 'Frame ' + this.t3c_1.toString() + ' (fin=' + this.s3c_1 + ', buffer len = ' + this.u3c_1.length + ')';
417
417
  };
418
418
  //region block: init
419
419
  NonDisposableHandle_instance = new NonDisposableHandle();