@doordeck/doordeck-headless-sdk 0.69.0 → 0.72.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 (25) hide show
  1. package/README.md +14 -14
  2. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1257 -1257
  3. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
  4. package/kotlin/MultiplatformSettings-multiplatform-settings.js +7 -7
  5. package/kotlin/doordeck-sdk.d.ts +463 -485
  6. package/kotlin/doordeck-sdk.js +28231 -28254
  7. package/kotlin/kotlin-kotlin-stdlib.js +904 -1117
  8. package/kotlin/kotlinx-atomicfu.js +15 -15
  9. package/kotlin/kotlinx-coroutines-core.js +1643 -1673
  10. package/kotlin/kotlinx-io-kotlinx-io-core.js +431 -431
  11. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1781 -1781
  12. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1387 -1387
  13. package/kotlin/ktor-ktor-client-ktor-client-core.js +1888 -2015
  14. package/kotlin/ktor-ktor-client-ktor-client-js.js +6 -0
  15. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +241 -241
  16. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +130 -130
  17. package/kotlin/ktor-ktor-http.js +697 -698
  18. package/kotlin/ktor-ktor-io.js +458 -483
  19. package/kotlin/ktor-ktor-shared-ktor-events.js +10 -10
  20. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
  21. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +145 -145
  22. package/kotlin/ktor-ktor-shared-ktor-serialization.js +68 -68
  23. package/kotlin/ktor-ktor-shared-ktor-websockets.js +45 -45
  24. package/kotlin/ktor-ktor-utils.js +543 -564
  25. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_io, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var Exception = kotlin_kotlin.$_$.oe;
4
+ var Exception = kotlin_kotlin.$_$.me;
5
5
  var VOID = kotlin_kotlin.$_$.h;
6
6
  var Exception_init_$Init$ = kotlin_kotlin.$_$.o1;
7
7
  var captureStack = kotlin_kotlin.$_$.t9;
8
- var protoOf = kotlin_kotlin.$_$.kb;
8
+ var protoOf = kotlin_kotlin.$_$.jb;
9
9
  var initMetadataForClass = kotlin_kotlin.$_$.ja;
10
10
  var Unit_instance = kotlin_kotlin.$_$.g5;
11
11
  var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.h;
@@ -17,14 +17,14 @@
17
17
  var equals = kotlin_kotlin.$_$.ba;
18
18
  var FunctionAdapter = kotlin_kotlin.$_$.p9;
19
19
  var isInterface = kotlin_kotlin.$_$.ya;
20
- var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
20
+ var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
21
21
  var hashCode = kotlin_kotlin.$_$.ia;
22
22
  var CoroutineImpl = kotlin_kotlin.$_$.l9;
23
- var THROW_CCE = kotlin_kotlin.$_$.xe;
23
+ var THROW_CCE = kotlin_kotlin.$_$.ve;
24
24
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
25
25
  var initMetadataForLambda = kotlin_kotlin.$_$.oa;
26
26
  var initMetadataForCoroutine = kotlin_kotlin.$_$.la;
27
- var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
27
+ var asFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
28
28
  var firstOrNull = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
29
29
  var NullBody_instance = kotlin_io_ktor_ktor_http.$_$.a;
30
30
  //endregion
@@ -41,10 +41,10 @@
41
41
  configuration = tmp;
42
42
  var tmp_0;
43
43
  if ($super === VOID) {
44
- this.n2r(contentType, converter, configuration);
44
+ this.e2r(contentType, converter, configuration);
45
45
  tmp_0 = Unit_instance;
46
46
  } else {
47
- tmp_0 = $super.n2r.call(this, contentType, converter, configuration);
47
+ tmp_0 = $super.e2r.call(this, contentType, converter, configuration);
48
48
  }
49
49
  return tmp_0;
50
50
  }
@@ -73,7 +73,7 @@
73
73
  return tmp.l9();
74
74
  }
75
75
  function suitableCharset(_this__u8e3s4, defaultCharset) {
76
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().o1l_1 : defaultCharset;
76
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().g1l_1 : defaultCharset;
77
77
  var tmp0_elvis_lhs = suitableCharsetOrNull(_this__u8e3s4, defaultCharset);
78
78
  return tmp0_elvis_lhs == null ? defaultCharset : tmp0_elvis_lhs;
79
79
  }
@@ -83,10 +83,10 @@
83
83
  function Configuration() {
84
84
  }
85
85
  function suitableCharsetOrNull(_this__u8e3s4, defaultCharset) {
86
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().o1l_1 : defaultCharset;
87
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.s27(HttpHeaders_getInstance().m2f_1)).p();
86
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().g1l_1 : defaultCharset;
87
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.k27(HttpHeaders_getInstance().e2f_1)).p();
88
88
  while (_iterator__ex2g4s.q()) {
89
- var charset = _iterator__ex2g4s.r().hg();
89
+ var charset = _iterator__ex2g4s.r().cg();
90
90
  if (charset === '*')
91
91
  return defaultCharset;
92
92
  else if (isSupported(Charsets_getInstance(), charset))
@@ -95,13 +95,13 @@
95
95
  return null;
96
96
  }
97
97
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
98
- this.p2r_1 = function_0;
98
+ this.g2r_1 = function_0;
99
99
  }
100
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p14 = function (value, $completion) {
101
- return this.p2r_1(value, $completion);
100
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).k14 = function (value, $completion) {
101
+ return this.g2r_1(value, $completion);
102
102
  };
103
103
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
104
- return this.p2r_1;
104
+ return this.g2r_1;
105
105
  };
106
106
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
107
107
  var tmp;
@@ -122,20 +122,20 @@
122
122
  return hashCode(this.r3());
123
123
  };
124
124
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
125
- this.y2r_1 = $$this$unsafeFlow;
126
- this.z2r_1 = $charset;
127
- this.a2s_1 = $typeInfo;
128
- this.b2s_1 = $body;
125
+ this.p2r_1 = $$this$unsafeFlow;
126
+ this.q2r_1 = $charset;
127
+ this.r2r_1 = $typeInfo;
128
+ this.s2r_1 = $body;
129
129
  CoroutineImpl.call(this, resultContinuation);
130
130
  }
131
- protoOf(deserialize$o$collect$slambda).k2s = function (value, $completion) {
132
- var tmp = this.l2s(value, $completion);
131
+ protoOf(deserialize$o$collect$slambda).b2s = function (value, $completion) {
132
+ var tmp = this.c2s(value, $completion);
133
133
  tmp.f9_1 = Unit_instance;
134
134
  tmp.g9_1 = null;
135
135
  return tmp.l9();
136
136
  };
137
137
  protoOf(deserialize$o$collect$slambda).v9 = function (p1, $completion) {
138
- return this.k2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
138
+ return this.b2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
139
139
  };
140
140
  protoOf(deserialize$o$collect$slambda).l9 = function () {
141
141
  var suspendResult = this.f9_1;
@@ -146,25 +146,25 @@
146
146
  case 0:
147
147
  this.e9_1 = 3;
148
148
  var tmp_0 = this;
149
- tmp_0.d2s_1 = this.y2r_1;
149
+ tmp_0.u2r_1 = this.p2r_1;
150
150
  var tmp_1 = this;
151
- tmp_1.e2s_1 = this.c2s_1;
152
- this.f2s_1 = this.d2s_1;
153
- this.g2s_1 = this.e2s_1;
151
+ tmp_1.v2r_1 = this.t2r_1;
152
+ this.w2r_1 = this.u2r_1;
153
+ this.x2r_1 = this.v2r_1;
154
154
  var tmp_2 = this;
155
- tmp_2.h2s_1 = this.g2s_1;
156
- this.i2s_1 = this.h2s_1;
155
+ tmp_2.y2r_1 = this.x2r_1;
156
+ this.z2r_1 = this.y2r_1;
157
157
  this.d9_1 = 1;
158
- suspendResult = this.i2s_1.m2s(this.z2r_1, this.a2s_1, this.b2s_1, this);
158
+ suspendResult = this.z2r_1.d2s(this.q2r_1, this.r2r_1, this.s2r_1, this);
159
159
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
160
160
  return suspendResult;
161
161
  }
162
162
 
163
163
  continue $sm;
164
164
  case 1:
165
- this.j2s_1 = suspendResult;
165
+ this.a2s_1 = suspendResult;
166
166
  this.d9_1 = 2;
167
- suspendResult = this.f2s_1.p14(this.j2s_1, this);
167
+ suspendResult = this.w2r_1.k14(this.a2s_1, this);
168
168
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
169
169
  return suspendResult;
170
170
  }
@@ -186,23 +186,23 @@
186
186
  }
187
187
  while (true);
188
188
  };
189
- protoOf(deserialize$o$collect$slambda).l2s = function (value, completion) {
190
- var i = new deserialize$o$collect$slambda(this.y2r_1, this.z2r_1, this.a2s_1, this.b2s_1, completion);
191
- i.c2s_1 = value;
189
+ protoOf(deserialize$o$collect$slambda).c2s = function (value, completion) {
190
+ var i = new deserialize$o$collect$slambda(this.p2r_1, this.q2r_1, this.r2r_1, this.s2r_1, completion);
191
+ i.t2r_1 = value;
192
192
  return i;
193
193
  };
194
194
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
195
195
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
196
196
  var l = function (value, $completion) {
197
- return i.k2s(value, $completion);
197
+ return i.b2s(value, $completion);
198
198
  };
199
199
  l.$arity = 1;
200
200
  return l;
201
201
  }
202
202
  function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
203
203
  CoroutineImpl.call(this, resultContinuation);
204
- this.v2s_1 = _this__u8e3s4;
205
- this.w2s_1 = collector;
204
+ this.m2s_1 = _this__u8e3s4;
205
+ this.n2s_1 = collector;
206
206
  }
207
207
  protoOf($collectCOROUTINE$1).l9 = function () {
208
208
  var suspendResult = this.f9_1;
@@ -213,11 +213,11 @@
213
213
  case 0:
214
214
  this.e9_1 = 2;
215
215
  var tmp_0 = this;
216
- tmp_0.x2s_1 = this.w2s_1;
217
- this.y2s_1 = this.x2s_1;
216
+ tmp_0.o2s_1 = this.n2s_1;
217
+ this.p2s_1 = this.o2s_1;
218
218
  this.d9_1 = 1;
219
- var tmp_1 = deserialize$o$collect$slambda_0(this.y2s_1, this.v2s_1.a2t_1, this.v2s_1.b2t_1, this.v2s_1.c2t_1, null);
220
- suspendResult = this.v2s_1.z2s_1.r14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
219
+ var tmp_1 = deserialize$o$collect$slambda_0(this.p2s_1, this.m2s_1.r2s_1, this.m2s_1.s2s_1, this.m2s_1.t2s_1, null);
220
+ suspendResult = this.m2s_1.q2s_1.m14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
221
221
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
222
222
  return suspendResult;
223
223
  }
@@ -240,32 +240,32 @@
240
240
  while (true);
241
241
  };
242
242
  function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
243
- this.z2s_1 = $this;
244
- this.a2t_1 = $charset;
245
- this.b2t_1 = $typeInfo;
246
- this.c2t_1 = $body;
243
+ this.q2s_1 = $this;
244
+ this.r2s_1 = $charset;
245
+ this.s2s_1 = $typeInfo;
246
+ this.t2s_1 = $body;
247
247
  }
248
- protoOf(deserialize$$inlined$map$1).q14 = function (collector, $completion) {
248
+ protoOf(deserialize$$inlined$map$1).l14 = function (collector, $completion) {
249
249
  var tmp = new $collectCOROUTINE$1(this, collector, $completion);
250
250
  tmp.f9_1 = Unit_instance;
251
251
  tmp.g9_1 = null;
252
252
  return tmp.l9();
253
253
  };
254
- protoOf(deserialize$$inlined$map$1).r14 = function (collector, $completion) {
255
- return this.q14(collector, $completion);
254
+ protoOf(deserialize$$inlined$map$1).m14 = function (collector, $completion) {
255
+ return this.l14(collector, $completion);
256
256
  };
257
257
  function deserialize$slambda($body, resultContinuation) {
258
- this.l2t_1 = $body;
258
+ this.c2t_1 = $body;
259
259
  CoroutineImpl.call(this, resultContinuation);
260
260
  }
261
- protoOf(deserialize$slambda).n2t = function (it, $completion) {
262
- var tmp = this.l2s(it, $completion);
261
+ protoOf(deserialize$slambda).e2t = function (it, $completion) {
262
+ var tmp = this.c2s(it, $completion);
263
263
  tmp.f9_1 = Unit_instance;
264
264
  tmp.g9_1 = null;
265
265
  return tmp.l9();
266
266
  };
267
267
  protoOf(deserialize$slambda).v9 = function (p1, $completion) {
268
- return this.n2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
268
+ return this.e2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
269
269
  };
270
270
  protoOf(deserialize$slambda).l9 = function () {
271
271
  var suspendResult = this.f9_1;
@@ -274,7 +274,7 @@
274
274
  var tmp = this.d9_1;
275
275
  if (tmp === 0) {
276
276
  this.e9_1 = 1;
277
- return !(this.m2t_1 == null) || this.l2t_1.t1g();
277
+ return !(this.d2t_1 == null) || this.c2t_1.l1g();
278
278
  } else if (tmp === 1) {
279
279
  throw this.g9_1;
280
280
  }
@@ -284,25 +284,25 @@
284
284
  }
285
285
  while (true);
286
286
  };
287
- protoOf(deserialize$slambda).l2s = function (it, completion) {
288
- var i = new deserialize$slambda(this.l2t_1, completion);
289
- i.m2t_1 = it;
287
+ protoOf(deserialize$slambda).c2s = function (it, completion) {
288
+ var i = new deserialize$slambda(this.c2t_1, completion);
289
+ i.d2t_1 = it;
290
290
  return i;
291
291
  };
292
292
  function deserialize$slambda_0($body, resultContinuation) {
293
293
  var i = new deserialize$slambda($body, resultContinuation);
294
294
  var l = function (it, $completion) {
295
- return i.n2t(it, $completion);
295
+ return i.e2t(it, $completion);
296
296
  };
297
297
  l.$arity = 1;
298
298
  return l;
299
299
  }
300
300
  function $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
301
301
  CoroutineImpl.call(this, resultContinuation);
302
- this.j2r_1 = _this__u8e3s4;
303
- this.k2r_1 = body;
304
- this.l2r_1 = typeInfo;
305
- this.m2r_1 = charset;
302
+ this.a2r_1 = _this__u8e3s4;
303
+ this.b2r_1 = body;
304
+ this.c2r_1 = typeInfo;
305
+ this.d2r_1 = charset;
306
306
  }
307
307
  protoOf($deserializeCOROUTINE$0).l9 = function () {
308
308
  var suspendResult = this.f9_1;
@@ -313,9 +313,9 @@
313
313
  case 0:
314
314
  this.e9_1 = 2;
315
315
  this.d9_1 = 1;
316
- var this_0 = asFlow(this.j2r_1);
317
- var tmp_0 = new deserialize$$inlined$map$1(this_0, this.m2r_1, this.l2r_1, this.k2r_1);
318
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.k2r_1, null), this);
316
+ var this_0 = asFlow(this.a2r_1);
317
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.d2r_1, this.c2r_1, this.b2r_1);
318
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.b2r_1, null), this);
319
319
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
320
320
  return suspendResult;
321
321
  }
@@ -327,14 +327,14 @@
327
327
  if (!(result == null)) {
328
328
  tmp_1 = result;
329
329
  } else {
330
- if (!this.k2r_1.t1g()) {
331
- tmp_1 = this.k2r_1;
330
+ if (!this.b2r_1.l1g()) {
331
+ tmp_1 = this.b2r_1;
332
332
  } else {
333
- var tmp0_safe_receiver = this.l2r_1.z2c_1;
333
+ var tmp0_safe_receiver = this.c2r_1.r2c_1;
334
334
  if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.ub()) === true) {
335
335
  tmp_1 = NullBody_instance;
336
336
  } else {
337
- throw new ContentConvertException('No suitable converter found for ' + this.l2r_1.toString());
337
+ throw new ContentConvertException('No suitable converter found for ' + this.c2r_1.toString());
338
338
  }
339
339
  }
340
340
  }
@@ -4,24 +4,24 @@
4
4
  var imul = Math.imul;
5
5
  var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
6
6
  var mapCapacity = kotlin_kotlin.$_$.p7;
7
- var coerceAtLeast = kotlin_kotlin.$_$.rb;
7
+ var coerceAtLeast = kotlin_kotlin.$_$.qb;
8
8
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.x;
9
9
  var Unit_instance = kotlin_kotlin.$_$.g5;
10
- var protoOf = kotlin_kotlin.$_$.kb;
10
+ var protoOf = kotlin_kotlin.$_$.jb;
11
11
  var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
12
12
  var enumEntries = kotlin_kotlin.$_$.n9;
13
- var Enum = kotlin_kotlin.$_$.me;
13
+ var Enum = kotlin_kotlin.$_$.ke;
14
14
  var initMetadataForClass = kotlin_kotlin.$_$.ja;
15
15
  var VOID = kotlin_kotlin.$_$.h;
16
- var toString = kotlin_kotlin.$_$.ob;
16
+ var toString = kotlin_kotlin.$_$.nb;
17
17
  var getStringHashCode = kotlin_kotlin.$_$.ha;
18
- var THROW_CCE = kotlin_kotlin.$_$.xe;
19
- var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
18
+ var THROW_CCE = kotlin_kotlin.$_$.ve;
19
+ var DisposableHandle = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
20
20
  var initMetadataForObject = kotlin_kotlin.$_$.pa;
21
21
  var compareTo = kotlin_kotlin.$_$.z9;
22
- var ensureNotNull = kotlin_kotlin.$_$.of;
22
+ var ensureNotNull = kotlin_kotlin.$_$.mf;
23
23
  var fillArrayVal = kotlin_kotlin.$_$.da;
24
- var objectCreate = kotlin_kotlin.$_$.jb;
24
+ var objectCreate = kotlin_kotlin.$_$.ib;
25
25
  var toByteArray = kotlin_io_ktor_ktor_io.$_$.x;
26
26
  var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
27
27
  var writeText = kotlin_io_ktor_ktor_io.$_$.a1;
@@ -64,14 +64,14 @@
64
64
  while (_iterator__ex2g4s.q()) {
65
65
  var element = _iterator__ex2g4s.r();
66
66
  // Inline function 'io.ktor.websocket.Companion.byCodeMap.<anonymous>' call
67
- var tmp$ret$0 = element.g2q_1;
67
+ var tmp$ret$0 = element.x2p_1;
68
68
  destination.n2(tmp$ret$0, element);
69
69
  }
70
- tmp.h2q_1 = destination;
71
- this.i2q_1 = Codes_INTERNAL_ERROR_getInstance();
70
+ tmp.y2p_1 = destination;
71
+ this.z2p_1 = Codes_INTERNAL_ERROR_getInstance();
72
72
  }
73
- protoOf(Companion).j2q = function (code) {
74
- return this.h2q_1.k2(code);
73
+ protoOf(Companion).a2q = function (code) {
74
+ return this.y2p_1.k2(code);
75
75
  };
76
76
  var Companion_instance;
77
77
  function Companion_getInstance() {
@@ -110,7 +110,7 @@
110
110
  var $ENTRIES;
111
111
  function Codes(name, ordinal, code) {
112
112
  Enum.call(this, name, ordinal);
113
- this.g2q_1 = code;
113
+ this.x2p_1 = code;
114
114
  }
115
115
  function Codes_NORMAL_getInstance() {
116
116
  Codes_initEntries();
@@ -161,19 +161,19 @@
161
161
  return Codes_TRY_AGAIN_LATER_instance;
162
162
  }
163
163
  function CloseReason(code, message) {
164
- this.k2q_1 = code;
165
- this.l2q_1 = message;
164
+ this.b2q_1 = code;
165
+ this.c2q_1 = message;
166
166
  }
167
- protoOf(CloseReason).m2q = function () {
168
- return Companion_getInstance().j2q(this.k2q_1);
167
+ protoOf(CloseReason).d2q = function () {
168
+ return Companion_getInstance().a2q(this.b2q_1);
169
169
  };
170
170
  protoOf(CloseReason).toString = function () {
171
- var tmp0_elvis_lhs = this.m2q();
172
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.k2q_1 : tmp0_elvis_lhs) + ', message=' + this.l2q_1 + ')';
171
+ var tmp0_elvis_lhs = this.d2q();
172
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.b2q_1 : tmp0_elvis_lhs) + ', message=' + this.c2q_1 + ')';
173
173
  };
174
174
  protoOf(CloseReason).hashCode = function () {
175
- var result = this.k2q_1;
176
- result = imul(result, 31) + getStringHashCode(this.l2q_1) | 0;
175
+ var result = this.b2q_1;
176
+ result = imul(result, 31) + getStringHashCode(this.c2q_1) | 0;
177
177
  return result;
178
178
  };
179
179
  protoOf(CloseReason).equals = function (other) {
@@ -182,15 +182,15 @@
182
182
  if (!(other instanceof CloseReason))
183
183
  return false;
184
184
  var tmp0_other_with_cast = other instanceof CloseReason ? other : THROW_CCE();
185
- if (!(this.k2q_1 === tmp0_other_with_cast.k2q_1))
185
+ if (!(this.b2q_1 === tmp0_other_with_cast.b2q_1))
186
186
  return false;
187
- if (!(this.l2q_1 === tmp0_other_with_cast.l2q_1))
187
+ if (!(this.c2q_1 === tmp0_other_with_cast.c2q_1))
188
188
  return false;
189
189
  return true;
190
190
  };
191
191
  function NonDisposableHandle() {
192
192
  }
193
- protoOf(NonDisposableHandle).br = function () {
193
+ protoOf(NonDisposableHandle).wq = function () {
194
194
  return Unit_instance;
195
195
  };
196
196
  protoOf(NonDisposableHandle).toString = function () {
@@ -234,11 +234,11 @@
234
234
  break $l$block_0;
235
235
  }
236
236
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
237
- var maxValue = maxElem.q2q_1;
237
+ var maxValue = maxElem.h2q_1;
238
238
  do {
239
239
  var e = iterator.r();
240
240
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
241
- var v = e.q2q_1;
241
+ var v = e.h2q_1;
242
242
  if (compareTo(maxValue, v) < 0) {
243
243
  maxElem = e;
244
244
  maxValue = v;
@@ -247,10 +247,10 @@
247
247
  while (iterator.q());
248
248
  tmp$ret$0 = maxElem;
249
249
  }
250
- tmp.r2q_1 = ensureNotNull(tmp$ret$0).q2q_1;
250
+ tmp.i2q_1 = ensureNotNull(tmp$ret$0).h2q_1;
251
251
  var tmp_0 = this;
252
252
  var tmp_1 = 0;
253
- var tmp_2 = this.r2q_1 + 1 | 0;
253
+ var tmp_2 = this.i2q_1 + 1 | 0;
254
254
  // Inline function 'kotlin.arrayOfNulls' call
255
255
  var tmp_3 = fillArrayVal(Array(tmp_2), null);
256
256
  while (tmp_1 < tmp_2) {
@@ -265,7 +265,7 @@
265
265
  while (_iterator__ex2g4s.q()) {
266
266
  var element = _iterator__ex2g4s.r();
267
267
  // Inline function 'io.ktor.websocket.Companion.byOpcodeArray.<anonymous>' call
268
- if (element.q2q_1 === tmp_4) {
268
+ if (element.h2q_1 === tmp_4) {
269
269
  if (found) {
270
270
  tmp$ret$5 = null;
271
271
  break $l$block_2;
@@ -283,7 +283,7 @@
283
283
  tmp_3[tmp_4] = tmp$ret$5;
284
284
  tmp_1 = tmp_1 + 1 | 0;
285
285
  }
286
- tmp_0.s2q_1 = tmp_3;
286
+ tmp_0.j2q_1 = tmp_3;
287
287
  }
288
288
  var Companion_instance_0;
289
289
  function Companion_getInstance_0() {
@@ -315,8 +315,8 @@
315
315
  var $ENTRIES_0;
316
316
  function FrameType(name, ordinal, controlFrame, opcode) {
317
317
  Enum.call(this, name, ordinal);
318
- this.p2q_1 = controlFrame;
319
- this.q2q_1 = opcode;
318
+ this.g2q_1 = controlFrame;
319
+ this.h2q_1 = opcode;
320
320
  }
321
321
  function FrameType_TEXT_getInstance() {
322
322
  FrameType_initEntries();
@@ -360,8 +360,8 @@
360
360
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
361
361
  var builder = new Buffer();
362
362
  // Inline function 'io.ktor.websocket.Close.<init>.<anonymous>' call
363
- builder.b1d(reason.k2q_1);
364
- writeText(builder, reason.l2q_1);
363
+ builder.w1c(reason.b2q_1);
364
+ writeText(builder, reason.c2q_1);
365
365
  Close_init_$Init$_0(builder, $this);
366
366
  return $this;
367
367
  }
@@ -373,7 +373,7 @@
373
373
  return $this;
374
374
  }
375
375
  function Close_init_$Init$_1($this) {
376
- Close.call($this, Companion_getInstance_1().t2q_1);
376
+ Close.call($this, Companion_getInstance_1().k2q_1);
377
377
  return $this;
378
378
  }
379
379
  function Close_init_$Create$_0() {
@@ -396,7 +396,7 @@
396
396
  }
397
397
  function Companion_1() {
398
398
  Companion_instance_1 = this;
399
- this.t2q_1 = new Int8Array(0);
399
+ this.k2q_1 = new Int8Array(0);
400
400
  }
401
401
  var Companion_instance_1;
402
402
  function Companion_getInstance_1() {
@@ -410,16 +410,16 @@
410
410
  rsv1 = rsv1 === VOID ? false : rsv1;
411
411
  rsv2 = rsv2 === VOID ? false : rsv2;
412
412
  rsv3 = rsv3 === VOID ? false : rsv3;
413
- this.u2q_1 = fin;
414
- this.v2q_1 = frameType;
415
- this.w2q_1 = data;
416
- this.x2q_1 = disposableHandle;
417
- this.y2q_1 = rsv1;
418
- this.z2q_1 = rsv2;
419
- this.a2r_1 = rsv3;
413
+ this.l2q_1 = fin;
414
+ this.m2q_1 = frameType;
415
+ this.n2q_1 = data;
416
+ this.o2q_1 = disposableHandle;
417
+ this.p2q_1 = rsv1;
418
+ this.q2q_1 = rsv2;
419
+ this.r2q_1 = rsv3;
420
420
  }
421
421
  protoOf(Frame).toString = function () {
422
- return 'Frame ' + this.v2q_1.toString() + ' (fin=' + this.u2q_1 + ', buffer len = ' + this.w2q_1.length + ')';
422
+ return 'Frame ' + this.m2q_1.toString() + ' (fin=' + this.l2q_1 + ', buffer len = ' + this.n2q_1.length + ')';
423
423
  };
424
424
  //region block: init
425
425
  NonDisposableHandle_instance = new NonDisposableHandle();