@doordeck/doordeck-headless-sdk 0.45.0 → 0.46.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 (69) hide show
  1. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1394 -1464
  2. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +19 -21
  3. package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -8
  4. package/kotlin/Stately-stately-concurrency.js +6 -8
  5. package/kotlin/Stately-stately-concurrent-collections.js +53 -55
  6. package/kotlin/Stately-stately-strict.js +0 -2
  7. package/kotlin/doordeck-sdk.js +11742 -11209
  8. package/kotlin/kotlin-kotlin-stdlib.js +1932 -1918
  9. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -2
  10. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -2
  11. package/kotlin/kotlinx-atomicfu.js +13 -15
  12. package/kotlin/kotlinx-coroutines-core.js +2056 -2094
  13. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +0 -2
  14. package/kotlin/kotlinx-io-kotlinx-io-core.js +559 -550
  15. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1849 -1872
  16. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +0 -2
  17. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1523 -1523
  18. package/kotlin/ktor-ktor-client-ktor-client-core.js +2832 -2843
  19. package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -2
  20. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +388 -391
  21. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +198 -199
  22. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +0 -2
  23. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +0 -2
  24. package/kotlin/ktor-ktor-http.js +833 -860
  25. package/kotlin/ktor-ktor-io.js +641 -653
  26. package/kotlin/ktor-ktor-shared-ktor-events.js +7 -10
  27. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -9
  28. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +266 -263
  29. package/kotlin/ktor-ktor-shared-ktor-serialization.js +113 -111
  30. package/kotlin/ktor-ktor-shared-ktor-sse.js +0 -2
  31. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +0 -2
  32. package/kotlin/ktor-ktor-shared-ktor-websockets.js +46 -46
  33. package/kotlin/ktor-ktor-utils.js +590 -606
  34. package/kotlin/projects-core-koin-core.js +299 -316
  35. package/package.json +4 -3
  36. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
  37. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +0 -1
  38. package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +0 -1
  39. package/kotlin/Stately-stately-concurrency.js.map +0 -1
  40. package/kotlin/Stately-stately-concurrent-collections.js.map +0 -1
  41. package/kotlin/Stately-stately-strict.js.map +0 -1
  42. package/kotlin/doordeck-sdk.js.map +0 -1
  43. package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
  44. package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
  45. package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +0 -1
  46. package/kotlin/kotlinx-atomicfu.js.map +0 -1
  47. package/kotlin/kotlinx-coroutines-core.js.map +0 -1
  48. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +0 -1
  49. package/kotlin/kotlinx-io-kotlinx-io-core.js.map +0 -1
  50. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
  51. package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +0 -1
  52. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
  53. package/kotlin/ktor-ktor-client-ktor-client-core.js.map +0 -1
  54. package/kotlin/ktor-ktor-client-ktor-client-js.js.map +0 -1
  55. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +0 -1
  56. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +0 -1
  57. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +0 -1
  58. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +0 -1
  59. package/kotlin/ktor-ktor-http.js.map +0 -1
  60. package/kotlin/ktor-ktor-io.js.map +0 -1
  61. package/kotlin/ktor-ktor-shared-ktor-events.js.map +0 -1
  62. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +0 -1
  63. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +0 -1
  64. package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +0 -1
  65. package/kotlin/ktor-ktor-shared-ktor-sse.js.map +0 -1
  66. package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +0 -1
  67. package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +0 -1
  68. package/kotlin/ktor-ktor-utils.js.map +0 -1
  69. package/kotlin/projects-core-koin-core.js.map +0 -1
@@ -41,10 +41,10 @@
41
41
  configuration = tmp;
42
42
  var tmp_0;
43
43
  if ($super === VOID) {
44
- this.n2q(contentType, converter, configuration);
44
+ this.w2r(contentType, converter, configuration);
45
45
  tmp_0 = Unit_instance;
46
46
  } else {
47
- tmp_0 = $super.n2q.call(this, contentType, converter, configuration);
47
+ tmp_0 = $super.w2r.call(this, contentType, converter, configuration);
48
48
  }
49
49
  return tmp_0;
50
50
  }
@@ -52,7 +52,7 @@
52
52
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
53
53
  initMetadataForLambda(deserialize$o$collect$slambda, CoroutineImpl, VOID, [1]);
54
54
  initMetadataForCoroutine($collectCOROUTINE$1, CoroutineImpl);
55
- initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, VOID, [1]);
55
+ initMetadataForClass(deserialize$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
56
56
  initMetadataForLambda(deserialize$slambda, CoroutineImpl, VOID, [1]);
57
57
  initMetadataForCoroutine($deserializeCOROUTINE$0, CoroutineImpl);
58
58
  //endregion
@@ -68,12 +68,12 @@
68
68
  }
69
69
  function deserialize(_this__u8e3s4, body, typeInfo, charset, $completion) {
70
70
  var tmp = new $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, $completion);
71
- tmp.f9_1 = Unit_instance;
72
- tmp.g9_1 = null;
73
- return tmp.l9();
71
+ tmp.g9_1 = Unit_instance;
72
+ tmp.h9_1 = null;
73
+ return tmp.m9();
74
74
  }
75
75
  function suitableCharset(_this__u8e3s4, defaultCharset) {
76
- defaultCharset = defaultCharset === VOID ? Charsets_getInstance().p1k_1 : defaultCharset;
76
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().y1l_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().p1k_1 : defaultCharset;
87
- var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.t26(HttpHeaders_getInstance().n2e_1)).p();
86
+ defaultCharset = defaultCharset === VOID ? Charsets_getInstance().y1l_1 : defaultCharset;
87
+ var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.c28(HttpHeaders_getInstance().w2f_1)).p();
88
88
  while (_iterator__ex2g4s.q()) {
89
- var charset = _iterator__ex2g4s.r().ig();
89
+ var charset = _iterator__ex2g4s.r().qg();
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.p2q_1 = function_0;
98
+ this.y2r_1 = function_0;
99
99
  }
100
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d14 = function (value, $completion) {
101
- return this.p2q_1(value, $completion);
100
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).c15 = function (value, $completion) {
101
+ return this.y2r_1(value, $completion);
102
102
  };
103
103
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r3 = function () {
104
- return this.p2q_1;
104
+ return this.y2r_1;
105
105
  };
106
106
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
107
107
  var tmp;
@@ -122,46 +122,49 @@
122
122
  return hashCode(this.r3());
123
123
  };
124
124
  function deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
125
- this.y2q_1 = $$this$unsafeFlow;
126
- this.z2q_1 = $charset;
127
- this.a2r_1 = $typeInfo;
128
- this.b2r_1 = $body;
125
+ this.h2s_1 = $$this$unsafeFlow;
126
+ this.i2s_1 = $charset;
127
+ this.j2s_1 = $typeInfo;
128
+ this.k2s_1 = $body;
129
129
  CoroutineImpl.call(this, resultContinuation);
130
130
  }
131
- protoOf(deserialize$o$collect$slambda).h2r = function (value, $completion) {
132
- var tmp = this.i2r(value, $completion);
133
- tmp.f9_1 = Unit_instance;
134
- tmp.g9_1 = null;
135
- return tmp.l9();
131
+ protoOf(deserialize$o$collect$slambda).t2s = function (value, $completion) {
132
+ var tmp = this.u2s(value, $completion);
133
+ tmp.g9_1 = Unit_instance;
134
+ tmp.h9_1 = null;
135
+ return tmp.m9();
136
136
  };
137
- protoOf(deserialize$o$collect$slambda).v9 = function (p1, $completion) {
138
- return this.h2r((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
137
+ protoOf(deserialize$o$collect$slambda).w9 = function (p1, $completion) {
138
+ return this.t2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
139
139
  };
140
- protoOf(deserialize$o$collect$slambda).l9 = function () {
141
- var suspendResult = this.f9_1;
140
+ protoOf(deserialize$o$collect$slambda).m9 = function () {
141
+ var suspendResult = this.g9_1;
142
142
  $sm: do
143
143
  try {
144
- var tmp = this.d9_1;
144
+ var tmp = this.e9_1;
145
145
  switch (tmp) {
146
146
  case 0:
147
- this.e9_1 = 3;
147
+ this.f9_1 = 3;
148
148
  var tmp_0 = this;
149
- tmp_0.d2r_1 = this.y2q_1;
149
+ tmp_0.m2s_1 = this.h2s_1;
150
150
  var tmp_1 = this;
151
- tmp_1.e2r_1 = this.c2r_1;
151
+ tmp_1.n2s_1 = this.l2s_1;
152
+ this.o2s_1 = this.m2s_1;
153
+ this.p2s_1 = this.n2s_1;
152
154
  var tmp_2 = this;
153
- tmp_2.f2r_1 = this.e2r_1;
154
- this.d9_1 = 1;
155
- suspendResult = this.f2r_1.j2r(this.z2q_1, this.a2r_1, this.b2r_1, this);
155
+ tmp_2.q2s_1 = this.p2s_1;
156
+ this.r2s_1 = this.q2s_1;
157
+ this.e9_1 = 1;
158
+ suspendResult = this.r2s_1.v2s(this.i2s_1, this.j2s_1, this.k2s_1, this);
156
159
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
157
160
  return suspendResult;
158
161
  }
159
162
 
160
163
  continue $sm;
161
164
  case 1:
162
- this.g2r_1 = suspendResult;
163
- this.d9_1 = 2;
164
- suspendResult = this.d2r_1.d14(this.g2r_1, this);
165
+ this.s2s_1 = suspendResult;
166
+ this.e9_1 = 2;
167
+ suspendResult = this.o2s_1.c15(this.s2s_1, this);
165
168
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
166
169
  return suspendResult;
167
170
  }
@@ -170,50 +173,51 @@
170
173
  case 2:
171
174
  return Unit_instance;
172
175
  case 3:
173
- throw this.g9_1;
176
+ throw this.h9_1;
174
177
  }
175
178
  } catch ($p) {
176
179
  var e = $p;
177
- if (this.e9_1 === 3) {
180
+ if (this.f9_1 === 3) {
178
181
  throw e;
179
182
  } else {
180
- this.d9_1 = this.e9_1;
181
- this.g9_1 = e;
183
+ this.e9_1 = this.f9_1;
184
+ this.h9_1 = e;
182
185
  }
183
186
  }
184
187
  while (true);
185
188
  };
186
- protoOf(deserialize$o$collect$slambda).i2r = function (value, completion) {
187
- var i = new deserialize$o$collect$slambda(this.y2q_1, this.z2q_1, this.a2r_1, this.b2r_1, completion);
188
- i.c2r_1 = value;
189
+ protoOf(deserialize$o$collect$slambda).u2s = function (value, completion) {
190
+ var i = new deserialize$o$collect$slambda(this.h2s_1, this.i2s_1, this.j2s_1, this.k2s_1, completion);
191
+ i.l2s_1 = value;
189
192
  return i;
190
193
  };
191
194
  function deserialize$o$collect$slambda_0($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation) {
192
195
  var i = new deserialize$o$collect$slambda($$this$unsafeFlow, $charset, $typeInfo, $body, resultContinuation);
193
196
  var l = function (value, $completion) {
194
- return i.h2r(value, $completion);
197
+ return i.t2s(value, $completion);
195
198
  };
196
199
  l.$arity = 1;
197
200
  return l;
198
201
  }
199
202
  function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
200
203
  CoroutineImpl.call(this, resultContinuation);
201
- this.s2r_1 = _this__u8e3s4;
202
- this.t2r_1 = collector;
204
+ this.e2t_1 = _this__u8e3s4;
205
+ this.f2t_1 = collector;
203
206
  }
204
- protoOf($collectCOROUTINE$1).l9 = function () {
205
- var suspendResult = this.f9_1;
207
+ protoOf($collectCOROUTINE$1).m9 = function () {
208
+ var suspendResult = this.g9_1;
206
209
  $sm: do
207
210
  try {
208
- var tmp = this.d9_1;
211
+ var tmp = this.e9_1;
209
212
  switch (tmp) {
210
213
  case 0:
211
- this.e9_1 = 2;
214
+ this.f9_1 = 2;
212
215
  var tmp_0 = this;
213
- tmp_0.u2r_1 = this.t2r_1;
214
- this.d9_1 = 1;
215
- var tmp_1 = deserialize$o$collect$slambda_0(this.u2r_1, this.s2r_1.w2r_1, this.s2r_1.x2r_1, this.s2r_1.y2r_1, null);
216
- suspendResult = this.s2r_1.v2r_1.f14(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
216
+ tmp_0.g2t_1 = this.f2t_1;
217
+ this.h2t_1 = this.g2t_1;
218
+ this.e9_1 = 1;
219
+ var tmp_1 = deserialize$o$collect$slambda_0(this.h2t_1, this.e2t_1.j2t_1, this.e2t_1.k2t_1, this.e2t_1.l2t_1, null);
220
+ suspendResult = this.e2t_1.i2t_1.e15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
217
221
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
218
222
  return suspendResult;
219
223
  }
@@ -222,57 +226,57 @@
222
226
  case 1:
223
227
  return Unit_instance;
224
228
  case 2:
225
- throw this.g9_1;
229
+ throw this.h9_1;
226
230
  }
227
231
  } catch ($p) {
228
232
  var e = $p;
229
- if (this.e9_1 === 2) {
233
+ if (this.f9_1 === 2) {
230
234
  throw e;
231
235
  } else {
232
- this.d9_1 = this.e9_1;
233
- this.g9_1 = e;
236
+ this.e9_1 = this.f9_1;
237
+ this.h9_1 = e;
234
238
  }
235
239
  }
236
240
  while (true);
237
241
  };
238
- function _no_name_provided__qut3iv($this, $charset, $typeInfo, $body) {
239
- this.v2r_1 = $this;
240
- this.w2r_1 = $charset;
241
- this.x2r_1 = $typeInfo;
242
- this.y2r_1 = $body;
242
+ function deserialize$$inlined$map$1($this, $charset, $typeInfo, $body) {
243
+ this.i2t_1 = $this;
244
+ this.j2t_1 = $charset;
245
+ this.k2t_1 = $typeInfo;
246
+ this.l2t_1 = $body;
243
247
  }
244
- protoOf(_no_name_provided__qut3iv).e14 = function (collector, $completion) {
248
+ protoOf(deserialize$$inlined$map$1).d15 = function (collector, $completion) {
245
249
  var tmp = new $collectCOROUTINE$1(this, collector, $completion);
246
- tmp.f9_1 = Unit_instance;
247
- tmp.g9_1 = null;
248
- return tmp.l9();
250
+ tmp.g9_1 = Unit_instance;
251
+ tmp.h9_1 = null;
252
+ return tmp.m9();
249
253
  };
250
- protoOf(_no_name_provided__qut3iv).f14 = function (collector, $completion) {
251
- return this.e14(collector, $completion);
254
+ protoOf(deserialize$$inlined$map$1).e15 = function (collector, $completion) {
255
+ return this.d15(collector, $completion);
252
256
  };
253
257
  function deserialize$slambda($body, resultContinuation) {
254
- this.h2s_1 = $body;
258
+ this.u2t_1 = $body;
255
259
  CoroutineImpl.call(this, resultContinuation);
256
260
  }
257
- protoOf(deserialize$slambda).j2s = function (it, $completion) {
258
- var tmp = this.i2r(it, $completion);
259
- tmp.f9_1 = Unit_instance;
260
- tmp.g9_1 = null;
261
- return tmp.l9();
261
+ protoOf(deserialize$slambda).w2t = function (it, $completion) {
262
+ var tmp = this.u2s(it, $completion);
263
+ tmp.g9_1 = Unit_instance;
264
+ tmp.h9_1 = null;
265
+ return tmp.m9();
262
266
  };
263
- protoOf(deserialize$slambda).v9 = function (p1, $completion) {
264
- return this.j2s((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
267
+ protoOf(deserialize$slambda).w9 = function (p1, $completion) {
268
+ return this.w2t((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
265
269
  };
266
- protoOf(deserialize$slambda).l9 = function () {
267
- var suspendResult = this.f9_1;
270
+ protoOf(deserialize$slambda).m9 = function () {
271
+ var suspendResult = this.g9_1;
268
272
  $sm: do
269
273
  try {
270
- var tmp = this.d9_1;
274
+ var tmp = this.e9_1;
271
275
  if (tmp === 0) {
272
- this.e9_1 = 1;
273
- return !(this.i2s_1 == null) || this.h2s_1.y1f();
276
+ this.f9_1 = 1;
277
+ return !(this.v2t_1 == null) || this.u2t_1.d1h();
274
278
  } else if (tmp === 1) {
275
- throw this.g9_1;
279
+ throw this.h9_1;
276
280
  }
277
281
  } catch ($p) {
278
282
  var e = $p;
@@ -280,38 +284,38 @@
280
284
  }
281
285
  while (true);
282
286
  };
283
- protoOf(deserialize$slambda).i2r = function (it, completion) {
284
- var i = new deserialize$slambda(this.h2s_1, completion);
285
- i.i2s_1 = it;
287
+ protoOf(deserialize$slambda).u2s = function (it, completion) {
288
+ var i = new deserialize$slambda(this.u2t_1, completion);
289
+ i.v2t_1 = it;
286
290
  return i;
287
291
  };
288
292
  function deserialize$slambda_0($body, resultContinuation) {
289
293
  var i = new deserialize$slambda($body, resultContinuation);
290
294
  var l = function (it, $completion) {
291
- return i.j2s(it, $completion);
295
+ return i.w2t(it, $completion);
292
296
  };
293
297
  l.$arity = 1;
294
298
  return l;
295
299
  }
296
300
  function $deserializeCOROUTINE$0(_this__u8e3s4, body, typeInfo, charset, resultContinuation) {
297
301
  CoroutineImpl.call(this, resultContinuation);
298
- this.j2q_1 = _this__u8e3s4;
299
- this.k2q_1 = body;
300
- this.l2q_1 = typeInfo;
301
- this.m2q_1 = charset;
302
+ this.s2r_1 = _this__u8e3s4;
303
+ this.t2r_1 = body;
304
+ this.u2r_1 = typeInfo;
305
+ this.v2r_1 = charset;
302
306
  }
303
- protoOf($deserializeCOROUTINE$0).l9 = function () {
304
- var suspendResult = this.f9_1;
307
+ protoOf($deserializeCOROUTINE$0).m9 = function () {
308
+ var suspendResult = this.g9_1;
305
309
  $sm: do
306
310
  try {
307
- var tmp = this.d9_1;
311
+ var tmp = this.e9_1;
308
312
  switch (tmp) {
309
313
  case 0:
310
- this.e9_1 = 2;
311
- this.d9_1 = 1;
312
- var this_0 = asFlow(this.j2q_1);
313
- var tmp_0 = new _no_name_provided__qut3iv(this_0, this.m2q_1, this.l2q_1, this.k2q_1);
314
- suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.k2q_1, null), this);
314
+ this.f9_1 = 2;
315
+ this.e9_1 = 1;
316
+ var this_0 = asFlow(this.s2r_1);
317
+ var tmp_0 = new deserialize$$inlined$map$1(this_0, this.v2r_1, this.u2r_1, this.t2r_1);
318
+ suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(this.t2r_1, null), this);
315
319
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
316
320
  return suspendResult;
317
321
  }
@@ -323,29 +327,29 @@
323
327
  if (!(result == null)) {
324
328
  tmp_1 = result;
325
329
  } else {
326
- if (!this.k2q_1.y1f()) {
327
- tmp_1 = this.k2q_1;
330
+ if (!this.t2r_1.d1h()) {
331
+ tmp_1 = this.t2r_1;
328
332
  } else {
329
- var tmp0_safe_receiver = this.l2q_1.a2c_1;
330
- if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.mb()) === true) {
333
+ var tmp0_safe_receiver = this.u2r_1.j2d_1;
334
+ if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.vb()) === true) {
331
335
  tmp_1 = NullBody_instance;
332
336
  } else {
333
- throw new ContentConvertException('No suitable converter found for ' + this.l2q_1.toString());
337
+ throw new ContentConvertException('No suitable converter found for ' + this.u2r_1.toString());
334
338
  }
335
339
  }
336
340
  }
337
341
 
338
342
  return tmp_1;
339
343
  case 2:
340
- throw this.g9_1;
344
+ throw this.h9_1;
341
345
  }
342
346
  } catch ($p) {
343
347
  var e = $p;
344
- if (this.e9_1 === 2) {
348
+ if (this.f9_1 === 2) {
345
349
  throw e;
346
350
  } else {
347
- this.d9_1 = this.e9_1;
348
- this.g9_1 = e;
351
+ this.e9_1 = this.f9_1;
352
+ this.h9_1 = e;
349
353
  }
350
354
  }
351
355
  while (true);
@@ -361,5 +365,3 @@
361
365
  //endregion
362
366
  return _;
363
367
  }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./ktor-ktor-io.js'), require('./ktor-ktor-http.js'), require('./kotlinx-coroutines-core.js')));
364
-
365
- //# sourceMappingURL=ktor-ktor-shared-ktor-serialization.js.map
@@ -4,5 +4,3 @@
4
4
  //endregion
5
5
  return _;
6
6
  }(module.exports));
7
-
8
- //# sourceMappingURL=ktor-ktor-shared-ktor-sse.js.map
@@ -4,5 +4,3 @@
4
4
  //endregion
5
5
  return _;
6
6
  }(module.exports));
7
-
8
- //# sourceMappingURL=ktor-ktor-shared-ktor-websocket-serialization.js.map
@@ -60,18 +60,18 @@
60
60
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
61
61
  // Inline function 'kotlin.collections.associateByTo' call
62
62
  var destination = LinkedHashMap_init_$Create$(capacity);
63
- var tmp0_iterator = this_0.p();
64
- while (tmp0_iterator.q()) {
65
- var element = tmp0_iterator.r();
63
+ var _iterator__ex2g4s = this_0.p();
64
+ while (_iterator__ex2g4s.q()) {
65
+ var element = _iterator__ex2g4s.r();
66
66
  // Inline function 'io.ktor.websocket.Companion.byCodeMap.<anonymous>' call
67
- var tmp$ret$0 = element.g2p_1;
67
+ var tmp$ret$0 = element.p2q_1;
68
68
  destination.n2(tmp$ret$0, element);
69
69
  }
70
- tmp.h2p_1 = destination;
71
- this.i2p_1 = Codes_INTERNAL_ERROR_getInstance();
70
+ tmp.q2q_1 = destination;
71
+ this.r2q_1 = Codes_INTERNAL_ERROR_getInstance();
72
72
  }
73
- protoOf(Companion).j2p = function (code) {
74
- return this.h2p_1.k2(code);
73
+ protoOf(Companion).s2q = function (code) {
74
+ return this.q2q_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.g2p_1 = code;
113
+ this.p2q_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.k2p_1 = code;
165
- this.l2p_1 = message;
164
+ this.t2q_1 = code;
165
+ this.u2q_1 = message;
166
166
  }
167
- protoOf(CloseReason).m2p = function () {
168
- return Companion_getInstance().j2p(this.k2p_1);
167
+ protoOf(CloseReason).v2q = function () {
168
+ return Companion_getInstance().s2q(this.t2q_1);
169
169
  };
170
170
  protoOf(CloseReason).toString = function () {
171
- var tmp0_elvis_lhs = this.m2p();
172
- return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.k2p_1 : tmp0_elvis_lhs) + ', message=' + this.l2p_1 + ')';
171
+ var tmp0_elvis_lhs = this.v2q();
172
+ return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.t2q_1 : tmp0_elvis_lhs) + ', message=' + this.u2q_1 + ')';
173
173
  };
174
174
  protoOf(CloseReason).hashCode = function () {
175
- var result = this.k2p_1;
176
- result = imul(result, 31) + getStringHashCode(this.l2p_1) | 0;
175
+ var result = this.t2q_1;
176
+ result = imul(result, 31) + getStringHashCode(this.u2q_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.k2p_1 === tmp0_other_with_cast.k2p_1))
185
+ if (!(this.t2q_1 === tmp0_other_with_cast.t2q_1))
186
186
  return false;
187
- if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
187
+ if (!(this.u2q_1 === tmp0_other_with_cast.u2q_1))
188
188
  return false;
189
189
  return true;
190
190
  };
191
191
  function NonDisposableHandle() {
192
192
  }
193
- protoOf(NonDisposableHandle).xq = function () {
193
+ protoOf(NonDisposableHandle).or = function () {
194
194
  return Unit_instance;
195
195
  };
196
196
  protoOf(NonDisposableHandle).toString = function () {
@@ -219,10 +219,11 @@
219
219
  function Companion_0() {
220
220
  Companion_instance_0 = this;
221
221
  var tmp = this;
222
+ var tmp0 = get_entries_0();
222
223
  var tmp$ret$0;
223
224
  $l$block_0: {
224
225
  // Inline function 'kotlin.collections.maxByOrNull' call
225
- var iterator = get_entries_0().p();
226
+ var iterator = tmp0.p();
226
227
  if (!iterator.q()) {
227
228
  tmp$ret$0 = null;
228
229
  break $l$block_0;
@@ -233,11 +234,11 @@
233
234
  break $l$block_0;
234
235
  }
235
236
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
236
- var maxValue = maxElem.q2p_1;
237
+ var maxValue = maxElem.z2q_1;
237
238
  do {
238
239
  var e = iterator.r();
239
240
  // Inline function 'io.ktor.websocket.Companion.maxOpcode.<anonymous>' call
240
- var v = e.q2p_1;
241
+ var v = e.z2q_1;
241
242
  if (compareTo(maxValue, v) < 0) {
242
243
  maxElem = e;
243
244
  maxValue = v;
@@ -246,24 +247,25 @@
246
247
  while (iterator.q());
247
248
  tmp$ret$0 = maxElem;
248
249
  }
249
- tmp.r2p_1 = ensureNotNull(tmp$ret$0).q2p_1;
250
+ tmp.a2r_1 = ensureNotNull(tmp$ret$0).z2q_1;
250
251
  var tmp_0 = this;
251
252
  var tmp_1 = 0;
252
- var tmp_2 = this.r2p_1 + 1 | 0;
253
+ var tmp_2 = this.a2r_1 + 1 | 0;
253
254
  // Inline function 'kotlin.arrayOfNulls' call
254
255
  var tmp_3 = fillArrayVal(Array(tmp_2), null);
255
256
  while (tmp_1 < tmp_2) {
256
257
  var tmp_4 = tmp_1;
258
+ var tmp1 = get_entries_0();
257
259
  var tmp$ret$5;
258
260
  $l$block_2: {
259
261
  // Inline function 'kotlin.collections.singleOrNull' call
260
262
  var single = null;
261
263
  var found = false;
262
- var tmp0_iterator = get_entries_0().p();
263
- while (tmp0_iterator.q()) {
264
- var element = tmp0_iterator.r();
264
+ var _iterator__ex2g4s = tmp1.p();
265
+ while (_iterator__ex2g4s.q()) {
266
+ var element = _iterator__ex2g4s.r();
265
267
  // Inline function 'io.ktor.websocket.Companion.byOpcodeArray.<anonymous>' call
266
- if (element.q2p_1 === tmp_4) {
268
+ if (element.z2q_1 === tmp_4) {
267
269
  if (found) {
268
270
  tmp$ret$5 = null;
269
271
  break $l$block_2;
@@ -281,7 +283,7 @@
281
283
  tmp_3[tmp_4] = tmp$ret$5;
282
284
  tmp_1 = tmp_1 + 1 | 0;
283
285
  }
284
- tmp_0.s2p_1 = tmp_3;
286
+ tmp_0.b2r_1 = tmp_3;
285
287
  }
286
288
  var Companion_instance_0;
287
289
  function Companion_getInstance_0() {
@@ -313,8 +315,8 @@
313
315
  var $ENTRIES_0;
314
316
  function FrameType(name, ordinal, controlFrame, opcode) {
315
317
  Enum.call(this, name, ordinal);
316
- this.p2p_1 = controlFrame;
317
- this.q2p_1 = opcode;
318
+ this.y2q_1 = controlFrame;
319
+ this.z2q_1 = opcode;
318
320
  }
319
321
  function FrameType_TEXT_getInstance() {
320
322
  FrameType_initEntries();
@@ -358,8 +360,8 @@
358
360
  // Inline function 'io.ktor.utils.io.core.buildPacket' call
359
361
  var builder = new Buffer();
360
362
  // Inline function 'io.ktor.websocket.Close.<init>.<anonymous>' call
361
- builder.n1c(reason.k2p_1);
362
- writeText(builder, reason.l2p_1);
363
+ builder.o1d(reason.t2q_1);
364
+ writeText(builder, reason.u2q_1);
363
365
  Close_init_$Init$_0(builder, $this);
364
366
  return $this;
365
367
  }
@@ -371,7 +373,7 @@
371
373
  return $this;
372
374
  }
373
375
  function Close_init_$Init$_1($this) {
374
- Close.call($this, Companion_getInstance_1().t2p_1);
376
+ Close.call($this, Companion_getInstance_1().c2r_1);
375
377
  return $this;
376
378
  }
377
379
  function Close_init_$Create$_0() {
@@ -394,7 +396,7 @@
394
396
  }
395
397
  function Companion_1() {
396
398
  Companion_instance_1 = this;
397
- this.t2p_1 = new Int8Array(0);
399
+ this.c2r_1 = new Int8Array(0);
398
400
  }
399
401
  var Companion_instance_1;
400
402
  function Companion_getInstance_1() {
@@ -408,16 +410,16 @@
408
410
  rsv1 = rsv1 === VOID ? false : rsv1;
409
411
  rsv2 = rsv2 === VOID ? false : rsv2;
410
412
  rsv3 = rsv3 === VOID ? false : rsv3;
411
- this.u2p_1 = fin;
412
- this.v2p_1 = frameType;
413
- this.w2p_1 = data;
414
- this.x2p_1 = disposableHandle;
415
- this.y2p_1 = rsv1;
416
- this.z2p_1 = rsv2;
417
- this.a2q_1 = rsv3;
413
+ this.d2r_1 = fin;
414
+ this.e2r_1 = frameType;
415
+ this.f2r_1 = data;
416
+ this.g2r_1 = disposableHandle;
417
+ this.h2r_1 = rsv1;
418
+ this.i2r_1 = rsv2;
419
+ this.j2r_1 = rsv3;
418
420
  }
419
421
  protoOf(Frame).toString = function () {
420
- return 'Frame ' + this.v2p_1.toString() + ' (fin=' + this.u2p_1 + ', buffer len = ' + this.w2p_1.length + ')';
422
+ return 'Frame ' + this.e2r_1.toString() + ' (fin=' + this.d2r_1 + ', buffer len = ' + this.f2r_1.length + ')';
421
423
  };
422
424
  //region block: init
423
425
  NonDisposableHandle_instance = new NonDisposableHandle();
@@ -434,5 +436,3 @@
434
436
  //endregion
435
437
  return _;
436
438
  }(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-coroutines-core.js'), require('./ktor-ktor-io.js'), require('./kotlinx-io-kotlinx-io-core.js')));
437
-
438
- //# sourceMappingURL=ktor-ktor-shared-ktor-websockets.js.map