@doordeck/doordeck-headless-sdk 0.44.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.
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1395 -1465
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +19 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +6 -8
- package/kotlin/Stately-stately-concurrency.js +6 -8
- package/kotlin/Stately-stately-concurrent-collections.js +53 -55
- package/kotlin/Stately-stately-strict.js +0 -2
- package/kotlin/doordeck-sdk.js +11754 -11221
- package/kotlin/kotlin-kotlin-stdlib.js +1938 -1924
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js +0 -2
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +0 -2
- package/kotlin/kotlinx-atomicfu.js +13 -15
- package/kotlin/kotlinx-coroutines-core.js +2055 -2093
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +0 -2
- package/kotlin/kotlinx-io-kotlinx-io-core.js +559 -550
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1849 -1872
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js +0 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1523 -1523
- package/kotlin/ktor-ktor-client-ktor-client-core.js +2832 -2843
- package/kotlin/ktor-ktor-client-ktor-client-js.js +0 -2
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +388 -391
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +198 -199
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js +0 -2
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +0 -2
- package/kotlin/ktor-ktor-http.js +833 -860
- package/kotlin/ktor-ktor-io.js +641 -653
- package/kotlin/ktor-ktor-shared-ktor-events.js +7 -10
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -9
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +266 -263
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +113 -111
- package/kotlin/ktor-ktor-shared-ktor-sse.js +0 -2
- package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js +0 -2
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +46 -46
- package/kotlin/ktor-ktor-utils.js +590 -606
- package/kotlin/projects-core-koin-core.js +299 -316
- package/package.json +4 -3
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js.map +0 -1
- package/kotlin/MultiplatformSettings-multiplatform-settings.js.map +0 -1
- package/kotlin/Stately-stately-concurrency.js.map +0 -1
- package/kotlin/Stately-stately-concurrent-collections.js.map +0 -1
- package/kotlin/Stately-stately-strict.js.map +0 -1
- package/kotlin/doordeck-sdk.js.map +0 -1
- package/kotlin/kotlin-kotlin-stdlib.js.map +0 -1
- package/kotlin/kotlin-kotlinx-atomicfu-runtime.js.map +0 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +0 -1
- package/kotlin/kotlinx-atomicfu.js.map +0 -1
- package/kotlin/kotlinx-coroutines-core.js.map +0 -1
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js.map +0 -1
- package/kotlin/kotlinx-io-kotlinx-io-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json-io.js.map +0 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-core.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-js.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-encoding.js.map +0 -1
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js.map +0 -1
- package/kotlin/ktor-ktor-http.js.map +0 -1
- package/kotlin/ktor-ktor-io.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-events.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-serialization.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-sse.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-websocket-serialization.js.map +0 -1
- package/kotlin/ktor-ktor-shared-ktor-websockets.js.map +0 -1
- package/kotlin/ktor-ktor-utils.js.map +0 -1
- 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.
|
|
44
|
+
this.w2r(contentType, converter, configuration);
|
|
45
45
|
tmp_0 = Unit_instance;
|
|
46
46
|
} else {
|
|
47
|
-
tmp_0 = $super.
|
|
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(
|
|
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.
|
|
72
|
-
tmp.
|
|
73
|
-
return tmp.
|
|
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().
|
|
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().
|
|
87
|
-
var _iterator__ex2g4s = parseAndSortHeader(_this__u8e3s4.
|
|
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().
|
|
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.
|
|
98
|
+
this.y2r_1 = function_0;
|
|
99
99
|
}
|
|
100
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
101
|
-
return this.
|
|
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.
|
|
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.
|
|
126
|
-
this.
|
|
127
|
-
this.
|
|
128
|
-
this.
|
|
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).
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
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).
|
|
138
|
-
return this.
|
|
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).
|
|
141
|
-
var suspendResult = this.
|
|
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.
|
|
144
|
+
var tmp = this.e9_1;
|
|
145
145
|
switch (tmp) {
|
|
146
146
|
case 0:
|
|
147
|
-
this.
|
|
147
|
+
this.f9_1 = 3;
|
|
148
148
|
var tmp_0 = this;
|
|
149
|
-
tmp_0.
|
|
149
|
+
tmp_0.m2s_1 = this.h2s_1;
|
|
150
150
|
var tmp_1 = this;
|
|
151
|
-
tmp_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.
|
|
154
|
-
this.
|
|
155
|
-
|
|
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.
|
|
163
|
-
this.
|
|
164
|
-
suspendResult = 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.
|
|
176
|
+
throw this.h9_1;
|
|
174
177
|
}
|
|
175
178
|
} catch ($p) {
|
|
176
179
|
var e = $p;
|
|
177
|
-
if (this.
|
|
180
|
+
if (this.f9_1 === 3) {
|
|
178
181
|
throw e;
|
|
179
182
|
} else {
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
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).
|
|
187
|
-
var i = new deserialize$o$collect$slambda(this.
|
|
188
|
-
i.
|
|
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.
|
|
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.
|
|
202
|
-
this.
|
|
204
|
+
this.e2t_1 = _this__u8e3s4;
|
|
205
|
+
this.f2t_1 = collector;
|
|
203
206
|
}
|
|
204
|
-
protoOf($collectCOROUTINE$1).
|
|
205
|
-
var suspendResult = this.
|
|
207
|
+
protoOf($collectCOROUTINE$1).m9 = function () {
|
|
208
|
+
var suspendResult = this.g9_1;
|
|
206
209
|
$sm: do
|
|
207
210
|
try {
|
|
208
|
-
var tmp = this.
|
|
211
|
+
var tmp = this.e9_1;
|
|
209
212
|
switch (tmp) {
|
|
210
213
|
case 0:
|
|
211
|
-
this.
|
|
214
|
+
this.f9_1 = 2;
|
|
212
215
|
var tmp_0 = this;
|
|
213
|
-
tmp_0.
|
|
214
|
-
this.
|
|
215
|
-
|
|
216
|
-
|
|
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.
|
|
229
|
+
throw this.h9_1;
|
|
226
230
|
}
|
|
227
231
|
} catch ($p) {
|
|
228
232
|
var e = $p;
|
|
229
|
-
if (this.
|
|
233
|
+
if (this.f9_1 === 2) {
|
|
230
234
|
throw e;
|
|
231
235
|
} else {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
236
|
+
this.e9_1 = this.f9_1;
|
|
237
|
+
this.h9_1 = e;
|
|
234
238
|
}
|
|
235
239
|
}
|
|
236
240
|
while (true);
|
|
237
241
|
};
|
|
238
|
-
function
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
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(
|
|
248
|
+
protoOf(deserialize$$inlined$map$1).d15 = function (collector, $completion) {
|
|
245
249
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
246
|
-
tmp.
|
|
247
|
-
tmp.
|
|
248
|
-
return tmp.
|
|
250
|
+
tmp.g9_1 = Unit_instance;
|
|
251
|
+
tmp.h9_1 = null;
|
|
252
|
+
return tmp.m9();
|
|
249
253
|
};
|
|
250
|
-
protoOf(
|
|
251
|
-
return this.
|
|
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.
|
|
258
|
+
this.u2t_1 = $body;
|
|
255
259
|
CoroutineImpl.call(this, resultContinuation);
|
|
256
260
|
}
|
|
257
|
-
protoOf(deserialize$slambda).
|
|
258
|
-
var tmp = this.
|
|
259
|
-
tmp.
|
|
260
|
-
tmp.
|
|
261
|
-
return tmp.
|
|
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).
|
|
264
|
-
return this.
|
|
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).
|
|
267
|
-
var suspendResult = this.
|
|
270
|
+
protoOf(deserialize$slambda).m9 = function () {
|
|
271
|
+
var suspendResult = this.g9_1;
|
|
268
272
|
$sm: do
|
|
269
273
|
try {
|
|
270
|
-
var tmp = this.
|
|
274
|
+
var tmp = this.e9_1;
|
|
271
275
|
if (tmp === 0) {
|
|
272
|
-
this.
|
|
273
|
-
return !(this.
|
|
276
|
+
this.f9_1 = 1;
|
|
277
|
+
return !(this.v2t_1 == null) || this.u2t_1.d1h();
|
|
274
278
|
} else if (tmp === 1) {
|
|
275
|
-
throw this.
|
|
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).
|
|
284
|
-
var i = new deserialize$slambda(this.
|
|
285
|
-
i.
|
|
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.
|
|
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.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
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).
|
|
304
|
-
var suspendResult = this.
|
|
307
|
+
protoOf($deserializeCOROUTINE$0).m9 = function () {
|
|
308
|
+
var suspendResult = this.g9_1;
|
|
305
309
|
$sm: do
|
|
306
310
|
try {
|
|
307
|
-
var tmp = this.
|
|
311
|
+
var tmp = this.e9_1;
|
|
308
312
|
switch (tmp) {
|
|
309
313
|
case 0:
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
var this_0 = asFlow(this.
|
|
313
|
-
var tmp_0 = new
|
|
314
|
-
suspendResult = firstOrNull(tmp_0, deserialize$slambda_0(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.
|
|
327
|
-
tmp_1 = this.
|
|
330
|
+
if (!this.t2r_1.d1h()) {
|
|
331
|
+
tmp_1 = this.t2r_1;
|
|
328
332
|
} else {
|
|
329
|
-
var tmp0_safe_receiver = this.
|
|
330
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
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.
|
|
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.
|
|
344
|
+
throw this.h9_1;
|
|
341
345
|
}
|
|
342
346
|
} catch ($p) {
|
|
343
347
|
var e = $p;
|
|
344
|
-
if (this.
|
|
348
|
+
if (this.f9_1 === 2) {
|
|
345
349
|
throw e;
|
|
346
350
|
} else {
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
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
|
|
@@ -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
|
|
64
|
-
while (
|
|
65
|
-
var element =
|
|
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.
|
|
67
|
+
var tmp$ret$0 = element.p2q_1;
|
|
68
68
|
destination.n2(tmp$ret$0, element);
|
|
69
69
|
}
|
|
70
|
-
tmp.
|
|
71
|
-
this.
|
|
70
|
+
tmp.q2q_1 = destination;
|
|
71
|
+
this.r2q_1 = Codes_INTERNAL_ERROR_getInstance();
|
|
72
72
|
}
|
|
73
|
-
protoOf(Companion).
|
|
74
|
-
return this.
|
|
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.
|
|
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.
|
|
165
|
-
this.
|
|
164
|
+
this.t2q_1 = code;
|
|
165
|
+
this.u2q_1 = message;
|
|
166
166
|
}
|
|
167
|
-
protoOf(CloseReason).
|
|
168
|
-
return Companion_getInstance().
|
|
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.
|
|
172
|
-
return 'CloseReason(reason=' + toString(tmp0_elvis_lhs == null ? this.
|
|
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.
|
|
176
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
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.
|
|
185
|
+
if (!(this.t2q_1 === tmp0_other_with_cast.t2q_1))
|
|
186
186
|
return false;
|
|
187
|
-
if (!(this.
|
|
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).
|
|
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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
263
|
-
while (
|
|
264
|
-
var element =
|
|
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.
|
|
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.
|
|
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.
|
|
317
|
-
this.
|
|
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.
|
|
362
|
-
writeText(builder, reason.
|
|
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().
|
|
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.
|
|
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.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
this.
|
|
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.
|
|
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
|