@doordeck/doordeck-headless-sdk 0.161.0 → 0.163.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/Kermit-kermit-core.js +50 -50
- package/kotlin/Kermit-kermit.js +5 -5
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +21 -21
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +21 -21
- package/kotlin/doordeck-sdk.js +10121 -10121
- package/kotlin/kotlin-kotlin-stdlib.js +835 -970
- package/kotlin/kotlinx-atomicfu.js +15 -15
- package/kotlin/kotlinx-coroutines-core.js +1900 -1900
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +39 -39
- package/kotlin/kotlinx-io-kotlinx-io-core.js +462 -462
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1795 -1795
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1395 -1395
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +146 -144
- package/kotlin/ktor-ktor-client-core.js +1831 -1819
- package/kotlin/ktor-ktor-client-logging.js +631 -631
- package/kotlin/ktor-ktor-events.js +9 -9
- package/kotlin/ktor-ktor-http-cio.js +339 -339
- package/kotlin/ktor-ktor-http.js +741 -745
- package/kotlin/ktor-ktor-io.js +621 -625
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +136 -136
- package/kotlin/ktor-ktor-serialization.js +60 -60
- package/kotlin/ktor-ktor-utils.js +690 -696
- package/kotlin/ktor-ktor-websockets.js +43 -46
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var CoroutineImpl = kotlin_kotlin.$_$.h9;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.z4;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
8
|
-
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.yb;
|
|
7
|
+
var THROW_CCE = kotlin_kotlin.$_$.xf;
|
|
8
|
+
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.i1;
|
|
9
9
|
var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
|
|
10
10
|
var initMetadataForLambda = kotlin_kotlin.$_$.eb;
|
|
11
11
|
var VOID = kotlin_kotlin.$_$.b;
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
var toList = kotlin_kotlin.$_$.e8;
|
|
16
16
|
var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.d;
|
|
17
17
|
var KtMutableMap = kotlin_kotlin.$_$.m5;
|
|
18
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
19
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
20
|
-
var createKType = kotlin_kotlin.$_$.
|
|
21
|
-
var createInvariantKTypeProjection = kotlin_kotlin.$_$.
|
|
18
|
+
var getKClass = kotlin_kotlin.$_$.pc;
|
|
19
|
+
var arrayOf = kotlin_kotlin.$_$.lg;
|
|
20
|
+
var createKType = kotlin_kotlin.$_$.nc;
|
|
21
|
+
var createInvariantKTypeProjection = kotlin_kotlin.$_$.lc;
|
|
22
22
|
var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n4;
|
|
23
23
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
|
|
24
24
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
|
|
30
30
|
var flatten = kotlin_kotlin.$_$.x6;
|
|
31
31
|
var emptyList = kotlin_kotlin.$_$.o6;
|
|
32
|
-
var to = kotlin_kotlin.$_$.
|
|
32
|
+
var to = kotlin_kotlin.$_$.bh;
|
|
33
33
|
var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.i;
|
|
34
34
|
var first = kotlin_kotlin.$_$.w6;
|
|
35
35
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
36
36
|
var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.j;
|
|
37
|
-
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.
|
|
38
|
-
var toString = kotlin_kotlin.$_$.
|
|
37
|
+
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.b1;
|
|
38
|
+
var toString = kotlin_kotlin.$_$.bc;
|
|
39
39
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
40
40
|
var Sender = kotlin_io_ktor_ktor_client_core.$_$.k;
|
|
41
41
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
42
42
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
|
|
43
43
|
var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
|
|
44
|
-
var Unit = kotlin_kotlin.$_$.
|
|
44
|
+
var Unit = kotlin_kotlin.$_$.ig;
|
|
45
45
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
46
46
|
var KtList = kotlin_kotlin.$_$.g5;
|
|
47
47
|
var initMetadataForInterface = kotlin_kotlin.$_$.db;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
var equals = kotlin_kotlin.$_$.sa;
|
|
57
57
|
var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
58
58
|
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
59
|
-
var headers = kotlin_io_ktor_ktor_client_core.$_$.
|
|
59
|
+
var headers = kotlin_io_ktor_ktor_client_core.$_$.e1;
|
|
60
60
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
61
61
|
var Parameterized = kotlin_io_ktor_ktor_http.$_$.k;
|
|
62
62
|
//endregion
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
|
|
70
70
|
initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
|
|
71
71
|
function sendWithoutRequest(request) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.h4k();
|
|
73
73
|
}
|
|
74
74
|
function addRequestHeaders$default(request, authHeader, $completion, $super) {
|
|
75
75
|
authHeader = authHeader === VOID ? null : authHeader;
|
|
76
|
-
return $super === VOID ? this.
|
|
76
|
+
return $super === VOID ? this.g4k(request, authHeader, $completion) : $super.g4k.call(this, request, authHeader, $completion);
|
|
77
77
|
}
|
|
78
78
|
function refreshToken(response, $completion) {
|
|
79
79
|
return true;
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
|
|
119
119
|
CoroutineImpl.call(this, resultContinuation);
|
|
120
120
|
}
|
|
121
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
122
|
-
var tmp = this.
|
|
121
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).n4h = function (it, $completion) {
|
|
122
|
+
var tmp = this.w3l(it, $completion);
|
|
123
123
|
tmp.w8_1 = Unit_instance;
|
|
124
124
|
tmp.x8_1 = null;
|
|
125
125
|
return tmp.c9();
|
|
126
126
|
};
|
|
127
127
|
protoOf(AuthConfig$isUnauthorizedResponse$slambda).o9 = function (p1, $completion) {
|
|
128
|
-
return this.
|
|
128
|
+
return this.n4h(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
129
129
|
};
|
|
130
130
|
protoOf(AuthConfig$isUnauthorizedResponse$slambda).c9 = function () {
|
|
131
131
|
var suspendResult = this.w8_1;
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
var tmp = this.u8_1;
|
|
135
135
|
if (tmp === 0) {
|
|
136
136
|
this.v8_1 = 1;
|
|
137
|
-
return this.
|
|
137
|
+
return this.m4h_1.z32().equals(Companion_getInstance().q2y_1);
|
|
138
138
|
} else if (tmp === 1) {
|
|
139
139
|
throw this.x8_1;
|
|
140
140
|
}
|
|
@@ -144,15 +144,15 @@
|
|
|
144
144
|
}
|
|
145
145
|
while (true);
|
|
146
146
|
};
|
|
147
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
147
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).w3l = function (it, completion) {
|
|
148
148
|
var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
|
|
149
|
-
i.
|
|
149
|
+
i.m4h_1 = it;
|
|
150
150
|
return i;
|
|
151
151
|
};
|
|
152
152
|
function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
|
|
153
153
|
var i = new AuthConfig$isUnauthorizedResponse$slambda(resultContinuation);
|
|
154
154
|
var l = function (it, $completion) {
|
|
155
|
-
return i.
|
|
155
|
+
return i.n4h(it, $completion);
|
|
156
156
|
};
|
|
157
157
|
l.$arity = 1;
|
|
158
158
|
return l;
|
|
@@ -160,12 +160,12 @@
|
|
|
160
160
|
function AuthConfig() {
|
|
161
161
|
var tmp = this;
|
|
162
162
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
163
|
-
tmp.
|
|
163
|
+
tmp.o4h_1 = ArrayList_init_$Create$();
|
|
164
164
|
var tmp_0 = this;
|
|
165
|
-
tmp_0.
|
|
165
|
+
tmp_0.p4h_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
|
|
166
166
|
}
|
|
167
167
|
function AtomicCounter() {
|
|
168
|
-
this.
|
|
168
|
+
this.q4h_1 = atomic$int$1(0);
|
|
169
169
|
}
|
|
170
170
|
function AuthConfig$_init_$ref_ms3pb9() {
|
|
171
171
|
var l = function () {
|
|
@@ -176,8 +176,8 @@
|
|
|
176
176
|
}
|
|
177
177
|
function Auth$lambda($this$createClientPlugin) {
|
|
178
178
|
_init_properties_Auth_kt__9ob1dk();
|
|
179
|
-
var providers = toList($this$createClientPlugin.
|
|
180
|
-
$this$createClientPlugin.
|
|
179
|
+
var providers = toList($this$createClientPlugin.w3k_1.o4h_1);
|
|
180
|
+
$this$createClientPlugin.v3k_1.x3a_1.p2h(get_AuthProvidersKey(), providers);
|
|
181
181
|
var tokenVersions = new ConcurrentMap();
|
|
182
182
|
// Inline function 'io.ktor.util.AttributeKey' call
|
|
183
183
|
var name = 'ProviderVersionAttributeKey';
|
|
@@ -200,13 +200,13 @@
|
|
|
200
200
|
var tmp$ret$0 = tmp_0;
|
|
201
201
|
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$0);
|
|
202
202
|
var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
|
|
203
|
-
$this$createClientPlugin.
|
|
203
|
+
$this$createClientPlugin.j41(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
|
|
204
204
|
var tmp_2 = Send_instance;
|
|
205
|
-
$this$createClientPlugin.
|
|
205
|
+
$this$createClientPlugin.z3k(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
|
|
206
206
|
return Unit_instance;
|
|
207
207
|
}
|
|
208
208
|
function invoke$findProvider(call, candidateProviders) {
|
|
209
|
-
var headerValues = call.
|
|
209
|
+
var headerValues = call.t3b().c2x().q2l(HttpHeaders_getInstance().a2w_1);
|
|
210
210
|
var tmp;
|
|
211
211
|
if (headerValues == null) {
|
|
212
212
|
tmp = null;
|
|
@@ -232,8 +232,8 @@
|
|
|
232
232
|
// Inline function 'io.ktor.util.logging.trace' call
|
|
233
233
|
var this_0 = get_LOGGER();
|
|
234
234
|
if (get_isTraceEnabled(this_0)) {
|
|
235
|
-
var tmp$ret$3 = 'Unauthorized response ' + call.
|
|
236
|
-
this_0.
|
|
235
|
+
var tmp$ret$3 = 'Unauthorized response ' + call.b3e().k3e().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
|
|
236
|
+
this_0.g2q(tmp$ret$3);
|
|
237
237
|
}
|
|
238
238
|
tmp_0 = null;
|
|
239
239
|
} else {
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
var _iterator__ex2g4s_1 = candidateProviders.r();
|
|
251
251
|
while (_iterator__ex2g4s_1.s()) {
|
|
252
252
|
var element_0 = _iterator__ex2g4s_1.t();
|
|
253
|
-
if (element_0.
|
|
253
|
+
if (element_0.r4h(element)) {
|
|
254
254
|
tmp$ret$6 = element_0;
|
|
255
255
|
break $l$block;
|
|
256
256
|
}
|
|
@@ -297,21 +297,21 @@
|
|
|
297
297
|
return LinkedHashMap_init_$Create$();
|
|
298
298
|
}
|
|
299
299
|
function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
300
|
+
this.d4j_1 = $providers;
|
|
301
|
+
this.e4j_1 = $tokenVersions;
|
|
302
|
+
this.f4j_1 = $tokenVersionsAttributeKey;
|
|
303
303
|
CoroutineImpl.call(this, resultContinuation);
|
|
304
304
|
}
|
|
305
|
-
protoOf(Auth$lambda$slambda).
|
|
306
|
-
var tmp = this.
|
|
305
|
+
protoOf(Auth$lambda$slambda).w41 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
306
|
+
var tmp = this.x41($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
307
307
|
tmp.w8_1 = Unit_instance;
|
|
308
308
|
tmp.x8_1 = null;
|
|
309
309
|
return tmp.c9();
|
|
310
310
|
};
|
|
311
|
-
protoOf(Auth$lambda$slambda).
|
|
311
|
+
protoOf(Auth$lambda$slambda).y41 = function (p1, p2, p3, $completion) {
|
|
312
312
|
var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
|
|
313
313
|
var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
|
|
314
|
-
return this.
|
|
314
|
+
return this.w41(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
|
|
315
315
|
};
|
|
316
316
|
protoOf(Auth$lambda$slambda).c9 = function () {
|
|
317
317
|
var suspendResult = this.w8_1;
|
|
@@ -321,37 +321,37 @@
|
|
|
321
321
|
switch (tmp) {
|
|
322
322
|
case 0:
|
|
323
323
|
this.v8_1 = 4;
|
|
324
|
-
var tmp0 = this.
|
|
324
|
+
var tmp0 = this.d4j_1;
|
|
325
325
|
var destination = ArrayList_init_$Create$();
|
|
326
326
|
var _iterator__ex2g4s = tmp0.r();
|
|
327
327
|
while (_iterator__ex2g4s.s()) {
|
|
328
328
|
var element = _iterator__ex2g4s.t();
|
|
329
|
-
if (element.
|
|
329
|
+
if (element.k4j(this.h4j_1)) {
|
|
330
330
|
destination.p(element);
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
this.
|
|
334
|
+
this.j4j_1 = destination.r();
|
|
335
335
|
this.u8_1 = 1;
|
|
336
336
|
continue $sm;
|
|
337
337
|
case 1:
|
|
338
|
-
if (!this.
|
|
338
|
+
if (!this.j4j_1.s()) {
|
|
339
339
|
this.u8_1 = 3;
|
|
340
340
|
continue $sm;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
var element_0 = this.
|
|
343
|
+
var element_0 = this.j4j_1.t();
|
|
344
344
|
var this_0 = get_LOGGER();
|
|
345
345
|
if (get_isTraceEnabled(this_0)) {
|
|
346
|
-
this_0.
|
|
346
|
+
this_0.g2q('Adding auth headers for ' + this.h4j_1.t3c_1.toString() + ' from provider ' + toString(element_0));
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
var tokenVersion = this.
|
|
350
|
-
var requestTokenVersions = this.
|
|
351
|
-
var value = tokenVersion.
|
|
349
|
+
var tokenVersion = this.e4j_1.v2p(element_0, Auth$lambda$slambda$lambda);
|
|
350
|
+
var requestTokenVersions = this.h4j_1.y3c_1.r2h(this.f4j_1, Auth$lambda$slambda$lambda_0);
|
|
351
|
+
var value = tokenVersion.q4h_1.kotlinx$atomicfu$value;
|
|
352
352
|
requestTokenVersions.g2(element_0, value);
|
|
353
353
|
this.u8_1 = 2;
|
|
354
|
-
suspendResult = element_0.
|
|
354
|
+
suspendResult = element_0.l4j(this.h4j_1, VOID, this);
|
|
355
355
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
356
356
|
return suspendResult;
|
|
357
357
|
}
|
|
@@ -376,37 +376,37 @@
|
|
|
376
376
|
}
|
|
377
377
|
while (true);
|
|
378
378
|
};
|
|
379
|
-
protoOf(Auth$lambda$slambda).
|
|
380
|
-
var i = new Auth$lambda$slambda(this.
|
|
381
|
-
i.
|
|
382
|
-
i.
|
|
383
|
-
i.
|
|
379
|
+
protoOf(Auth$lambda$slambda).x41 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
|
|
380
|
+
var i = new Auth$lambda$slambda(this.d4j_1, this.e4j_1, this.f4j_1, completion);
|
|
381
|
+
i.g4j_1 = $this$onRequest;
|
|
382
|
+
i.h4j_1 = request;
|
|
383
|
+
i.i4j_1 = _unused_var__etf5q3;
|
|
384
384
|
return i;
|
|
385
385
|
};
|
|
386
386
|
function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
387
387
|
var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
|
|
388
388
|
var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
389
|
-
return i.
|
|
389
|
+
return i.w41($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
390
390
|
};
|
|
391
391
|
l.$arity = 3;
|
|
392
392
|
return l;
|
|
393
393
|
}
|
|
394
394
|
function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
395
|
+
this.u4j_1 = $this_createClientPlugin;
|
|
396
|
+
this.v4j_1 = $providers;
|
|
397
|
+
this.w4j_1 = $tokenVersions;
|
|
398
|
+
this.x4j_1 = $tokenVersionsAttributeKey;
|
|
399
399
|
CoroutineImpl.call(this, resultContinuation);
|
|
400
400
|
}
|
|
401
|
-
protoOf(Auth$lambda$slambda_1).
|
|
402
|
-
var tmp = this.
|
|
401
|
+
protoOf(Auth$lambda$slambda_1).b3s = function ($this$on, originalRequest, $completion) {
|
|
402
|
+
var tmp = this.c3s($this$on, originalRequest, $completion);
|
|
403
403
|
tmp.w8_1 = Unit_instance;
|
|
404
404
|
tmp.x8_1 = null;
|
|
405
405
|
return tmp.c9();
|
|
406
406
|
};
|
|
407
407
|
protoOf(Auth$lambda$slambda_1).p9 = function (p1, p2, $completion) {
|
|
408
408
|
var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
|
|
409
|
-
return this.
|
|
409
|
+
return this.b3s(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
410
410
|
};
|
|
411
411
|
protoOf(Auth$lambda$slambda_1).c9 = function () {
|
|
412
412
|
var suspendResult = this.w8_1;
|
|
@@ -417,16 +417,16 @@
|
|
|
417
417
|
case 0:
|
|
418
418
|
this.v8_1 = 10;
|
|
419
419
|
this.u8_1 = 1;
|
|
420
|
-
suspendResult = this.
|
|
420
|
+
suspendResult = this.y4j_1.f3s(this.z4j_1, this);
|
|
421
421
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
422
422
|
return suspendResult;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
continue $sm;
|
|
426
426
|
case 1:
|
|
427
|
-
this.
|
|
427
|
+
this.e4k_1 = suspendResult;
|
|
428
428
|
this.u8_1 = 2;
|
|
429
|
-
suspendResult = this.
|
|
429
|
+
suspendResult = this.u4j_1.w3k_1.p4h_1(this.e4k_1.t3b(), this);
|
|
430
430
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
431
431
|
return suspendResult;
|
|
432
432
|
}
|
|
@@ -434,22 +434,22 @@
|
|
|
434
434
|
continue $sm;
|
|
435
435
|
case 2:
|
|
436
436
|
if (!suspendResult) {
|
|
437
|
-
return this.
|
|
437
|
+
return this.e4k_1;
|
|
438
438
|
} else {
|
|
439
439
|
this.u8_1 = 3;
|
|
440
440
|
continue $sm;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
case 3:
|
|
444
|
-
if (this.
|
|
445
|
-
return this.
|
|
446
|
-
this.
|
|
447
|
-
this.
|
|
444
|
+
if (this.e4k_1.b3e().c3e().o2h(get_AuthCircuitBreaker()))
|
|
445
|
+
return this.e4k_1;
|
|
446
|
+
this.a4k_1 = this.e4k_1;
|
|
447
|
+
this.d4k_1 = HashSet_init_$Create$(this.v4j_1);
|
|
448
448
|
this.u8_1 = 4;
|
|
449
449
|
continue $sm;
|
|
450
450
|
case 4:
|
|
451
451
|
this.u8_1 = 5;
|
|
452
|
-
suspendResult = this.
|
|
452
|
+
suspendResult = this.u4j_1.w3k_1.p4h_1(this.a4k_1.t3b(), this);
|
|
453
453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
454
454
|
return suspendResult;
|
|
455
455
|
}
|
|
@@ -463,33 +463,33 @@
|
|
|
463
463
|
|
|
464
464
|
var this_0 = get_LOGGER();
|
|
465
465
|
if (get_isTraceEnabled(this_0)) {
|
|
466
|
-
this_0.
|
|
466
|
+
this_0.g2q('Unauthorized response for ' + this.a4k_1.b3e().k3e().toString());
|
|
467
467
|
}
|
|
468
468
|
|
|
469
|
-
var tmp0_elvis_lhs = invoke$findProvider(this.
|
|
469
|
+
var tmp0_elvis_lhs = invoke$findProvider(this.a4k_1, this.d4k_1);
|
|
470
470
|
var tmp_0;
|
|
471
471
|
if (tmp0_elvis_lhs == null) {
|
|
472
|
-
this.
|
|
472
|
+
this.y4j_1;
|
|
473
473
|
var this_1 = get_LOGGER();
|
|
474
474
|
if (get_isTraceEnabled(this_1)) {
|
|
475
|
-
this_1.
|
|
475
|
+
this_1.g2q('Can not find auth provider for ' + this.a4k_1.b3e().k3e().toString());
|
|
476
476
|
}
|
|
477
|
-
return this.
|
|
477
|
+
return this.a4k_1;
|
|
478
478
|
} else {
|
|
479
479
|
tmp_0 = tmp0_elvis_lhs;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
var _destruct__k2r9zo = tmp_0;
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
483
|
+
this.c4k_1 = _destruct__k2r9zo.ig();
|
|
484
|
+
this.b4k_1 = _destruct__k2r9zo.jg();
|
|
485
485
|
var this_2 = get_LOGGER();
|
|
486
486
|
if (get_isTraceEnabled(this_2)) {
|
|
487
|
-
this_2.
|
|
487
|
+
this_2.g2q('Using provider ' + toString(this.c4k_1) + ' for ' + this.a4k_1.b3e().k3e().toString());
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
this.
|
|
490
|
+
this.d4k_1.p2(this.c4k_1);
|
|
491
491
|
this.u8_1 = 6;
|
|
492
|
-
suspendResult = invoke$refreshTokenIfNeeded(this.
|
|
492
|
+
suspendResult = invoke$refreshTokenIfNeeded(this.w4j_1, this.x4j_1, this.a4k_1, this.c4k_1, this.z4j_1, this);
|
|
493
493
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
494
494
|
return suspendResult;
|
|
495
495
|
}
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
continue $sm;
|
|
498
498
|
case 6:
|
|
499
499
|
if (!suspendResult) {
|
|
500
|
-
return this.
|
|
500
|
+
return this.a4k_1;
|
|
501
501
|
} else {
|
|
502
502
|
this.u8_1 = 7;
|
|
503
503
|
continue $sm;
|
|
@@ -505,18 +505,18 @@
|
|
|
505
505
|
|
|
506
506
|
case 7:
|
|
507
507
|
this.u8_1 = 8;
|
|
508
|
-
suspendResult = invoke$executeWithNewToken(this.
|
|
508
|
+
suspendResult = invoke$executeWithNewToken(this.y4j_1, this.a4k_1, this.c4k_1, this.z4j_1, this.b4k_1, this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
continue $sm;
|
|
514
514
|
case 8:
|
|
515
|
-
this.
|
|
515
|
+
this.a4k_1 = suspendResult;
|
|
516
516
|
this.u8_1 = 4;
|
|
517
517
|
continue $sm;
|
|
518
518
|
case 9:
|
|
519
|
-
return this.
|
|
519
|
+
return this.a4k_1;
|
|
520
520
|
case 10:
|
|
521
521
|
throw this.x8_1;
|
|
522
522
|
}
|
|
@@ -531,16 +531,16 @@
|
|
|
531
531
|
}
|
|
532
532
|
while (true);
|
|
533
533
|
};
|
|
534
|
-
protoOf(Auth$lambda$slambda_1).
|
|
535
|
-
var i = new Auth$lambda$slambda_1(this.
|
|
536
|
-
i.
|
|
537
|
-
i.
|
|
534
|
+
protoOf(Auth$lambda$slambda_1).c3s = function ($this$on, originalRequest, completion) {
|
|
535
|
+
var i = new Auth$lambda$slambda_1(this.u4j_1, this.v4j_1, this.w4j_1, this.x4j_1, completion);
|
|
536
|
+
i.y4j_1 = $this$on;
|
|
537
|
+
i.z4j_1 = originalRequest;
|
|
538
538
|
return i;
|
|
539
539
|
};
|
|
540
540
|
function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
541
541
|
var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
|
|
542
542
|
var l = function ($this$on, originalRequest, $completion) {
|
|
543
|
-
return i.
|
|
543
|
+
return i.b3s($this$on, originalRequest, $completion);
|
|
544
544
|
};
|
|
545
545
|
l.$arity = 2;
|
|
546
546
|
return l;
|
|
@@ -556,11 +556,11 @@
|
|
|
556
556
|
}
|
|
557
557
|
function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
|
|
558
558
|
CoroutineImpl.call(this, resultContinuation);
|
|
559
|
-
this.
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
562
|
-
this.
|
|
563
|
-
this.
|
|
559
|
+
this.a4i_1 = tokenVersions;
|
|
560
|
+
this.b4i_1 = tokenVersionsAttributeKey;
|
|
561
|
+
this.c4i_1 = call;
|
|
562
|
+
this.d4i_1 = provider;
|
|
563
|
+
this.e4i_1 = request;
|
|
564
564
|
}
|
|
565
565
|
protoOf($invoke$refreshTokenIfNeededCOROUTINE$).c9 = function () {
|
|
566
566
|
var suspendResult = this.w8_1;
|
|
@@ -571,17 +571,17 @@
|
|
|
571
571
|
case 0:
|
|
572
572
|
this.v8_1 = 4;
|
|
573
573
|
var tmp_0 = this;
|
|
574
|
-
tmp_0.
|
|
574
|
+
tmp_0.f4i_1 = this.a4i_1.v2p(this.d4i_1, Auth$lambda$refreshTokenIfNeeded$lambda);
|
|
575
575
|
var tmp_1 = this;
|
|
576
|
-
tmp_1.
|
|
577
|
-
var requestTokenVersion = this.
|
|
578
|
-
if (!(requestTokenVersion == null) && requestTokenVersion >= this.
|
|
576
|
+
tmp_1.g4i_1 = this.e4i_1.y3c_1.r2h(this.b4i_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
|
|
577
|
+
var requestTokenVersion = this.g4i_1.o2(this.d4i_1);
|
|
578
|
+
if (!(requestTokenVersion == null) && requestTokenVersion >= this.f4i_1.q4h_1.kotlinx$atomicfu$value) {
|
|
579
579
|
var this_0 = get_LOGGER();
|
|
580
580
|
if (get_isTraceEnabled(this_0)) {
|
|
581
|
-
this_0.
|
|
581
|
+
this_0.g2q('Refreshing token for ' + this.c4i_1.b3e().k3e().toString());
|
|
582
582
|
}
|
|
583
583
|
this.u8_1 = 1;
|
|
584
|
-
suspendResult = this.
|
|
584
|
+
suspendResult = this.d4i_1.f4k(this.c4i_1.t3b(), this);
|
|
585
585
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
586
586
|
return suspendResult;
|
|
587
587
|
}
|
|
@@ -595,13 +595,13 @@
|
|
|
595
595
|
if (!suspendResult) {
|
|
596
596
|
var this_1 = get_LOGGER();
|
|
597
597
|
if (get_isTraceEnabled(this_1)) {
|
|
598
|
-
this_1.
|
|
598
|
+
this_1.g2q('Refreshing token failed for ' + this.c4i_1.b3e().k3e().toString());
|
|
599
599
|
}
|
|
600
600
|
return false;
|
|
601
601
|
} else {
|
|
602
|
-
var tmp0 = this.
|
|
603
|
-
var tmp2 = this.
|
|
604
|
-
var value = this.
|
|
602
|
+
var tmp0 = this.g4i_1;
|
|
603
|
+
var tmp2 = this.d4i_1;
|
|
604
|
+
var value = this.f4i_1.q4h_1.atomicfu$incrementAndGet();
|
|
605
605
|
tmp0.g2(tmp2, value);
|
|
606
606
|
this.u8_1 = 2;
|
|
607
607
|
continue $sm;
|
|
@@ -628,11 +628,11 @@
|
|
|
628
628
|
};
|
|
629
629
|
function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
|
|
630
630
|
CoroutineImpl.call(this, resultContinuation);
|
|
631
|
-
this.
|
|
632
|
-
this.
|
|
633
|
-
this.
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
631
|
+
this.p4i_1 = _this__u8e3s4;
|
|
632
|
+
this.q4i_1 = call;
|
|
633
|
+
this.r4i_1 = provider;
|
|
634
|
+
this.s4i_1 = oldRequest;
|
|
635
|
+
this.t4i_1 = authHeader;
|
|
636
636
|
}
|
|
637
637
|
protoOf($invoke$executeWithNewTokenCOROUTINE$).c9 = function () {
|
|
638
638
|
var suspendResult = this.w8_1;
|
|
@@ -642,24 +642,24 @@
|
|
|
642
642
|
switch (tmp) {
|
|
643
643
|
case 0:
|
|
644
644
|
this.v8_1 = 3;
|
|
645
|
-
this.
|
|
646
|
-
this.
|
|
645
|
+
this.u4i_1 = new HttpRequestBuilder();
|
|
646
|
+
this.u4i_1.l3i(this.s4i_1);
|
|
647
647
|
this.u8_1 = 1;
|
|
648
|
-
suspendResult = this.
|
|
648
|
+
suspendResult = this.r4i_1.g4k(this.u4i_1, this.t4i_1, this);
|
|
649
649
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
650
650
|
return suspendResult;
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
continue $sm;
|
|
654
654
|
case 1:
|
|
655
|
-
this.
|
|
655
|
+
this.u4i_1.y3c_1.p2h(get_AuthCircuitBreaker(), Unit_instance);
|
|
656
656
|
var this_0 = get_LOGGER();
|
|
657
657
|
if (get_isTraceEnabled(this_0)) {
|
|
658
|
-
this_0.
|
|
658
|
+
this_0.g2q('Sending new request to ' + this.q4i_1.b3e().k3e().toString());
|
|
659
659
|
}
|
|
660
660
|
|
|
661
661
|
this.u8_1 = 2;
|
|
662
|
-
suspendResult = this.
|
|
662
|
+
suspendResult = this.p4i_1.f3s(this.u4i_1, this);
|
|
663
663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
664
664
|
return suspendResult;
|
|
665
665
|
}
|
|
@@ -746,17 +746,17 @@
|
|
|
746
746
|
return Companion_instance;
|
|
747
747
|
};
|
|
748
748
|
function AuthTokenHolder$setToken$slambda($block, resultContinuation) {
|
|
749
|
-
this.
|
|
749
|
+
this.q4k_1 = $block;
|
|
750
750
|
CoroutineImpl.call(this, resultContinuation);
|
|
751
751
|
}
|
|
752
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
753
|
-
var tmp = this.
|
|
752
|
+
protoOf(AuthTokenHolder$setToken$slambda).s4k = function ($this$withContext, $completion) {
|
|
753
|
+
var tmp = this.x1u($this$withContext, $completion);
|
|
754
754
|
tmp.w8_1 = Unit_instance;
|
|
755
755
|
tmp.x8_1 = null;
|
|
756
756
|
return tmp.c9();
|
|
757
757
|
};
|
|
758
758
|
protoOf(AuthTokenHolder$setToken$slambda).o9 = function (p1, $completion) {
|
|
759
|
-
return this.
|
|
759
|
+
return this.s4k((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
760
760
|
};
|
|
761
761
|
protoOf(AuthTokenHolder$setToken$slambda).c9 = function () {
|
|
762
762
|
var suspendResult = this.w8_1;
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
case 0:
|
|
768
768
|
this.v8_1 = 2;
|
|
769
769
|
this.u8_1 = 1;
|
|
770
|
-
suspendResult = this.
|
|
770
|
+
suspendResult = this.q4k_1(this);
|
|
771
771
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
772
772
|
return suspendResult;
|
|
773
773
|
}
|
|
@@ -789,22 +789,22 @@
|
|
|
789
789
|
}
|
|
790
790
|
while (true);
|
|
791
791
|
};
|
|
792
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
793
|
-
var i = new AuthTokenHolder$setToken$slambda(this.
|
|
794
|
-
i.
|
|
792
|
+
protoOf(AuthTokenHolder$setToken$slambda).x1u = function ($this$withContext, completion) {
|
|
793
|
+
var i = new AuthTokenHolder$setToken$slambda(this.q4k_1, completion);
|
|
794
|
+
i.r4k_1 = $this$withContext;
|
|
795
795
|
return i;
|
|
796
796
|
};
|
|
797
797
|
function AuthTokenHolder$setToken$slambda_0($block, resultContinuation) {
|
|
798
798
|
var i = new AuthTokenHolder$setToken$slambda($block, resultContinuation);
|
|
799
799
|
var l = function ($this$withContext, $completion) {
|
|
800
|
-
return i.
|
|
800
|
+
return i.s4k($this$withContext, $completion);
|
|
801
801
|
};
|
|
802
802
|
l.$arity = 1;
|
|
803
803
|
return l;
|
|
804
804
|
}
|
|
805
805
|
function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
806
806
|
CoroutineImpl.call(this, resultContinuation);
|
|
807
|
-
this.
|
|
807
|
+
this.b4l_1 = _this__u8e3s4;
|
|
808
808
|
}
|
|
809
809
|
protoOf($loadTokenCOROUTINE$).c9 = function () {
|
|
810
810
|
var suspendResult = this.w8_1;
|
|
@@ -814,22 +814,22 @@
|
|
|
814
814
|
switch (tmp) {
|
|
815
815
|
case 0:
|
|
816
816
|
this.v8_1 = 12;
|
|
817
|
-
if (!(this.
|
|
818
|
-
return this.
|
|
819
|
-
this.
|
|
817
|
+
if (!(this.b4l_1.i4l_1 == null))
|
|
818
|
+
return this.b4l_1.i4l_1;
|
|
819
|
+
this.g4l_1 = this.b4l_1.i4l_1;
|
|
820
820
|
if (!(this.a9().h9(Companion_instance) == null)) {
|
|
821
821
|
this.u8_1 = 10;
|
|
822
|
-
suspendResult = this.
|
|
822
|
+
suspendResult = this.b4l_1.h4l_1(this);
|
|
823
823
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
824
824
|
return suspendResult;
|
|
825
825
|
}
|
|
826
826
|
continue $sm;
|
|
827
827
|
} else {
|
|
828
|
-
this.
|
|
828
|
+
this.e4l_1 = this.b4l_1.k4l_1;
|
|
829
829
|
var tmp_0 = this;
|
|
830
|
-
tmp_0.
|
|
830
|
+
tmp_0.d4l_1 = null;
|
|
831
831
|
this.u8_1 = 1;
|
|
832
|
-
suspendResult = this.
|
|
832
|
+
suspendResult = this.e4l_1.y1g(this.d4l_1, this);
|
|
833
833
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
834
834
|
return suspendResult;
|
|
835
835
|
}
|
|
@@ -837,19 +837,19 @@
|
|
|
837
837
|
}
|
|
838
838
|
|
|
839
839
|
case 1:
|
|
840
|
-
this.
|
|
840
|
+
this.f4l_1 = Unit_instance;
|
|
841
841
|
this.u8_1 = 2;
|
|
842
842
|
continue $sm;
|
|
843
843
|
case 2:
|
|
844
844
|
this.v8_1 = 9;
|
|
845
|
-
this.
|
|
845
|
+
this.b4l_1.j4l_1 = true;
|
|
846
846
|
this.u8_1 = 3;
|
|
847
847
|
continue $sm;
|
|
848
848
|
case 3:
|
|
849
849
|
this.v8_1 = 8;
|
|
850
|
-
if (equals(this.
|
|
850
|
+
if (equals(this.g4l_1, this.b4l_1.i4l_1)) {
|
|
851
851
|
this.u8_1 = 4;
|
|
852
|
-
suspendResult = this.
|
|
852
|
+
suspendResult = this.b4l_1.h4l_1(this);
|
|
853
853
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
854
854
|
return suspendResult;
|
|
855
855
|
}
|
|
@@ -861,7 +861,7 @@
|
|
|
861
861
|
|
|
862
862
|
case 4:
|
|
863
863
|
var ARGUMENT = suspendResult;
|
|
864
|
-
this.
|
|
864
|
+
this.b4l_1.i4l_1 = ARGUMENT;
|
|
865
865
|
this.u8_1 = 5;
|
|
866
866
|
continue $sm;
|
|
867
867
|
case 5:
|
|
@@ -869,36 +869,36 @@
|
|
|
869
869
|
continue $sm;
|
|
870
870
|
case 6:
|
|
871
871
|
this.v8_1 = 9;
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
872
|
+
this.b4l_1.j4l_1 = false;
|
|
873
|
+
this.f4l_1 = this.b4l_1.i4l_1;
|
|
874
874
|
this.v8_1 = 12;
|
|
875
875
|
this.u8_1 = 7;
|
|
876
876
|
continue $sm;
|
|
877
877
|
case 7:
|
|
878
|
-
var tmp_1 = this.
|
|
878
|
+
var tmp_1 = this.f4l_1;
|
|
879
879
|
this.v8_1 = 12;
|
|
880
|
-
this.
|
|
881
|
-
this.
|
|
880
|
+
this.e4l_1.k1g(this.d4l_1);
|
|
881
|
+
this.c4l_1 = tmp_1;
|
|
882
882
|
this.u8_1 = 11;
|
|
883
883
|
continue $sm;
|
|
884
884
|
case 8:
|
|
885
885
|
this.v8_1 = 9;
|
|
886
886
|
var t = this.x8_1;
|
|
887
|
-
this.
|
|
887
|
+
this.b4l_1.j4l_1 = false;
|
|
888
888
|
throw t;
|
|
889
889
|
case 9:
|
|
890
890
|
this.v8_1 = 12;
|
|
891
891
|
var t_0 = this.x8_1;
|
|
892
|
-
this.
|
|
892
|
+
this.e4l_1.k1g(this.d4l_1);
|
|
893
893
|
throw t_0;
|
|
894
894
|
case 10:
|
|
895
895
|
var ARGUMENT_0 = suspendResult;
|
|
896
|
-
this.
|
|
897
|
-
this.
|
|
896
|
+
this.b4l_1.i4l_1 = ARGUMENT_0;
|
|
897
|
+
this.c4l_1 = this.b4l_1.i4l_1;
|
|
898
898
|
this.u8_1 = 11;
|
|
899
899
|
continue $sm;
|
|
900
900
|
case 11:
|
|
901
|
-
return this.
|
|
901
|
+
return this.c4l_1;
|
|
902
902
|
case 12:
|
|
903
903
|
throw this.x8_1;
|
|
904
904
|
}
|
|
@@ -915,8 +915,8 @@
|
|
|
915
915
|
};
|
|
916
916
|
function $setTokenCOROUTINE$(_this__u8e3s4, block, resultContinuation) {
|
|
917
917
|
CoroutineImpl.call(this, resultContinuation);
|
|
918
|
-
this.
|
|
919
|
-
this.
|
|
918
|
+
this.u4l_1 = _this__u8e3s4;
|
|
919
|
+
this.v4l_1 = block;
|
|
920
920
|
}
|
|
921
921
|
protoOf($setTokenCOROUTINE$).c9 = function () {
|
|
922
922
|
var suspendResult = this.w8_1;
|
|
@@ -926,28 +926,28 @@
|
|
|
926
926
|
switch (tmp) {
|
|
927
927
|
case 0:
|
|
928
928
|
this.v8_1 = 7;
|
|
929
|
-
this.
|
|
930
|
-
this.
|
|
931
|
-
this.
|
|
929
|
+
this.a4m_1 = this.u4l_1.i4l_1;
|
|
930
|
+
this.z4l_1 = this.u4l_1.j4l_1;
|
|
931
|
+
this.x4l_1 = this.u4l_1.k4l_1;
|
|
932
932
|
var tmp_0 = this;
|
|
933
|
-
tmp_0.
|
|
933
|
+
tmp_0.w4l_1 = null;
|
|
934
934
|
this.u8_1 = 1;
|
|
935
|
-
suspendResult = this.
|
|
935
|
+
suspendResult = this.x4l_1.y1g(this.w4l_1, this);
|
|
936
936
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
937
937
|
return suspendResult;
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
continue $sm;
|
|
941
941
|
case 1:
|
|
942
|
-
this.
|
|
942
|
+
this.y4l_1 = Unit_instance;
|
|
943
943
|
this.u8_1 = 2;
|
|
944
944
|
continue $sm;
|
|
945
945
|
case 2:
|
|
946
946
|
this.v8_1 = 6;
|
|
947
|
-
if (equals(this.
|
|
947
|
+
if (equals(this.a4m_1, this.u4l_1.i4l_1) || this.z4l_1) {
|
|
948
948
|
this.u8_1 = 3;
|
|
949
|
-
var tmp_1 = this.a9().
|
|
950
|
-
suspendResult = withContext(tmp_1, AuthTokenHolder$setToken$slambda_0(this.
|
|
949
|
+
var tmp_1 = this.a9().fh(this.u4l_1.l4l_1);
|
|
950
|
+
suspendResult = withContext(tmp_1, AuthTokenHolder$setToken$slambda_0(this.v4l_1, null), this);
|
|
951
951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
952
952
|
return suspendResult;
|
|
953
953
|
}
|
|
@@ -959,23 +959,23 @@
|
|
|
959
959
|
|
|
960
960
|
case 3:
|
|
961
961
|
var ARGUMENT = suspendResult;
|
|
962
|
-
this.
|
|
962
|
+
this.u4l_1.i4l_1 = ARGUMENT;
|
|
963
963
|
this.u8_1 = 4;
|
|
964
964
|
continue $sm;
|
|
965
965
|
case 4:
|
|
966
|
-
this.
|
|
966
|
+
this.y4l_1 = this.u4l_1.i4l_1;
|
|
967
967
|
this.v8_1 = 7;
|
|
968
968
|
this.u8_1 = 5;
|
|
969
969
|
continue $sm;
|
|
970
970
|
case 5:
|
|
971
|
-
var tmp_2 = this.
|
|
971
|
+
var tmp_2 = this.y4l_1;
|
|
972
972
|
this.v8_1 = 7;
|
|
973
|
-
this.
|
|
973
|
+
this.x4l_1.k1g(this.w4l_1);
|
|
974
974
|
return tmp_2;
|
|
975
975
|
case 6:
|
|
976
976
|
this.v8_1 = 7;
|
|
977
977
|
var t = this.x8_1;
|
|
978
|
-
this.
|
|
978
|
+
this.x4l_1.k1g(this.w4l_1);
|
|
979
979
|
throw t;
|
|
980
980
|
case 7:
|
|
981
981
|
throw this.x8_1;
|
|
@@ -992,19 +992,19 @@
|
|
|
992
992
|
while (true);
|
|
993
993
|
};
|
|
994
994
|
function AuthTokenHolder(loadTokens) {
|
|
995
|
-
this.
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
998
|
-
this.
|
|
999
|
-
this.
|
|
995
|
+
this.h4l_1 = loadTokens;
|
|
996
|
+
this.i4l_1 = null;
|
|
997
|
+
this.j4l_1 = false;
|
|
998
|
+
this.k4l_1 = Mutex();
|
|
999
|
+
this.l4l_1 = new SetTokenContext();
|
|
1000
1000
|
}
|
|
1001
|
-
protoOf(AuthTokenHolder).
|
|
1001
|
+
protoOf(AuthTokenHolder).b4m = function ($completion) {
|
|
1002
1002
|
var tmp = new $loadTokenCOROUTINE$(this, $completion);
|
|
1003
1003
|
tmp.w8_1 = Unit_instance;
|
|
1004
1004
|
tmp.x8_1 = null;
|
|
1005
1005
|
return tmp.c9();
|
|
1006
1006
|
};
|
|
1007
|
-
protoOf(AuthTokenHolder).
|
|
1007
|
+
protoOf(AuthTokenHolder).c4m = function (block, $completion) {
|
|
1008
1008
|
var tmp = new $setTokenCOROUTINE$(this, block, $completion);
|
|
1009
1009
|
tmp.w8_1 = Unit_instance;
|
|
1010
1010
|
tmp.x8_1 = null;
|
|
@@ -1015,19 +1015,19 @@
|
|
|
1015
1015
|
var this_0 = new BearerAuthConfig();
|
|
1016
1016
|
block(this_0);
|
|
1017
1017
|
// Inline function 'kotlin.with' call
|
|
1018
|
-
_this__u8e3s4.
|
|
1018
|
+
_this__u8e3s4.o4h_1.p(new BearerAuthProvider(this_0.d4m_1, this_0.e4m_1, this_0.f4m_1, this_0.g4m_1));
|
|
1019
1019
|
}
|
|
1020
1020
|
function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
|
|
1021
1021
|
CoroutineImpl.call(this, resultContinuation);
|
|
1022
1022
|
}
|
|
1023
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1024
|
-
var tmp = this.
|
|
1023
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).q4m = function (_this__u8e3s4, $completion) {
|
|
1024
|
+
var tmp = this.r4m(_this__u8e3s4, $completion);
|
|
1025
1025
|
tmp.w8_1 = Unit_instance;
|
|
1026
1026
|
tmp.x8_1 = null;
|
|
1027
1027
|
return tmp.c9();
|
|
1028
1028
|
};
|
|
1029
1029
|
protoOf(BearerAuthConfig$refreshTokens$slambda).o9 = function (p1, $completion) {
|
|
1030
|
-
return this.
|
|
1030
|
+
return this.q4m(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
|
|
1031
1031
|
};
|
|
1032
1032
|
protoOf(BearerAuthConfig$refreshTokens$slambda).c9 = function () {
|
|
1033
1033
|
var suspendResult = this.w8_1;
|
|
@@ -1046,15 +1046,15 @@
|
|
|
1046
1046
|
}
|
|
1047
1047
|
while (true);
|
|
1048
1048
|
};
|
|
1049
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1049
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).r4m = function (_this__u8e3s4, completion) {
|
|
1050
1050
|
var i = new BearerAuthConfig$refreshTokens$slambda(completion);
|
|
1051
|
-
i.
|
|
1051
|
+
i.p4m_1 = _this__u8e3s4;
|
|
1052
1052
|
return i;
|
|
1053
1053
|
};
|
|
1054
1054
|
function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
|
|
1055
1055
|
var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
|
|
1056
1056
|
var l = function (_this__u8e3s4, $completion) {
|
|
1057
|
-
return i.
|
|
1057
|
+
return i.q4m(_this__u8e3s4, $completion);
|
|
1058
1058
|
};
|
|
1059
1059
|
l.$arity = 1;
|
|
1060
1060
|
return l;
|
|
@@ -1062,14 +1062,14 @@
|
|
|
1062
1062
|
function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
|
|
1063
1063
|
CoroutineImpl.call(this, resultContinuation);
|
|
1064
1064
|
}
|
|
1065
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1066
|
-
var tmp = this.
|
|
1065
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).a4n = function ($completion) {
|
|
1066
|
+
var tmp = this.b4n($completion);
|
|
1067
1067
|
tmp.w8_1 = Unit_instance;
|
|
1068
1068
|
tmp.x8_1 = null;
|
|
1069
1069
|
return tmp.c9();
|
|
1070
1070
|
};
|
|
1071
1071
|
protoOf(BearerAuthConfig$loadTokens$slambda).la = function ($completion) {
|
|
1072
|
-
return this.
|
|
1072
|
+
return this.a4n($completion);
|
|
1073
1073
|
};
|
|
1074
1074
|
protoOf(BearerAuthConfig$loadTokens$slambda).c9 = function () {
|
|
1075
1075
|
var suspendResult = this.w8_1;
|
|
@@ -1088,13 +1088,13 @@
|
|
|
1088
1088
|
}
|
|
1089
1089
|
while (true);
|
|
1090
1090
|
};
|
|
1091
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1091
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).b4n = function (completion) {
|
|
1092
1092
|
return new BearerAuthConfig$loadTokens$slambda(completion);
|
|
1093
1093
|
};
|
|
1094
1094
|
function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
|
|
1095
1095
|
var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
|
|
1096
1096
|
var l = function ($completion) {
|
|
1097
|
-
return i.
|
|
1097
|
+
return i.a4n($completion);
|
|
1098
1098
|
};
|
|
1099
1099
|
l.$arity = 0;
|
|
1100
1100
|
return l;
|
|
@@ -1104,60 +1104,60 @@
|
|
|
1104
1104
|
}
|
|
1105
1105
|
function BearerAuthConfig() {
|
|
1106
1106
|
var tmp = this;
|
|
1107
|
-
tmp.
|
|
1107
|
+
tmp.d4m_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
|
|
1108
1108
|
var tmp_0 = this;
|
|
1109
|
-
tmp_0.
|
|
1109
|
+
tmp_0.e4m_1 = BearerAuthConfig$loadTokens$slambda_0(null);
|
|
1110
1110
|
var tmp_1 = this;
|
|
1111
|
-
tmp_1.
|
|
1112
|
-
this.
|
|
1111
|
+
tmp_1.f4m_1 = BearerAuthConfig$sendWithoutRequest$lambda;
|
|
1112
|
+
this.g4m_1 = null;
|
|
1113
1113
|
}
|
|
1114
|
-
protoOf(BearerAuthConfig).
|
|
1115
|
-
this.
|
|
1114
|
+
protoOf(BearerAuthConfig).c4n = function (block) {
|
|
1115
|
+
this.d4m_1 = block;
|
|
1116
1116
|
};
|
|
1117
1117
|
function RefreshTokensParams(client, response, oldTokens) {
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1120
|
-
this.
|
|
1118
|
+
this.d4n_1 = client;
|
|
1119
|
+
this.e4n_1 = response;
|
|
1120
|
+
this.f4n_1 = oldTokens;
|
|
1121
1121
|
}
|
|
1122
|
-
protoOf(RefreshTokensParams).
|
|
1123
|
-
_this__u8e3s4.
|
|
1122
|
+
protoOf(RefreshTokensParams).g4n = function (_this__u8e3s4) {
|
|
1123
|
+
_this__u8e3s4.y3c_1.p2h(get_AuthCircuitBreaker(), Unit_instance);
|
|
1124
1124
|
};
|
|
1125
1125
|
function BearerTokens(accessToken, refreshToken) {
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1126
|
+
this.h4n_1 = accessToken;
|
|
1127
|
+
this.i4n_1 = refreshToken;
|
|
1128
1128
|
}
|
|
1129
1129
|
function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
|
|
1130
1130
|
return true;
|
|
1131
1131
|
}
|
|
1132
1132
|
function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
|
|
1133
1133
|
return function ($this$headers) {
|
|
1134
|
-
var tokenValue = 'Bearer ' + $token.
|
|
1134
|
+
var tokenValue = 'Bearer ' + $token.h4n_1;
|
|
1135
1135
|
var tmp;
|
|
1136
|
-
if ($this$headers.
|
|
1137
|
-
$this$headers.
|
|
1136
|
+
if ($this$headers.l2l(HttpHeaders_getInstance().h2t_1)) {
|
|
1137
|
+
$this$headers.a2m(HttpHeaders_getInstance().h2t_1);
|
|
1138
1138
|
tmp = Unit_instance;
|
|
1139
1139
|
}
|
|
1140
1140
|
var tmp_0;
|
|
1141
|
-
if (!$request.
|
|
1142
|
-
$this$headers.
|
|
1141
|
+
if (!$request.y3c_1.o2h(get_AuthCircuitBreaker())) {
|
|
1142
|
+
$this$headers.m2l(HttpHeaders_getInstance().h2t_1, tokenValue);
|
|
1143
1143
|
tmp_0 = Unit_instance;
|
|
1144
1144
|
}
|
|
1145
1145
|
return Unit_instance;
|
|
1146
1146
|
};
|
|
1147
1147
|
}
|
|
1148
1148
|
function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
|
|
1149
|
-
this.
|
|
1150
|
-
this.
|
|
1149
|
+
this.r4n_1 = this$0;
|
|
1150
|
+
this.s4n_1 = $response;
|
|
1151
1151
|
CoroutineImpl.call(this, resultContinuation);
|
|
1152
1152
|
}
|
|
1153
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1154
|
-
var tmp = this.
|
|
1153
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).v4n = function ($completion) {
|
|
1154
|
+
var tmp = this.b4n($completion);
|
|
1155
1155
|
tmp.w8_1 = Unit_instance;
|
|
1156
1156
|
tmp.x8_1 = null;
|
|
1157
1157
|
return tmp.c9();
|
|
1158
1158
|
};
|
|
1159
1159
|
protoOf(BearerAuthProvider$refreshToken$slambda).la = function ($completion) {
|
|
1160
|
-
return this.
|
|
1160
|
+
return this.v4n($completion);
|
|
1161
1161
|
};
|
|
1162
1162
|
protoOf(BearerAuthProvider$refreshToken$slambda).c9 = function () {
|
|
1163
1163
|
var suspendResult = this.w8_1;
|
|
@@ -1167,10 +1167,10 @@
|
|
|
1167
1167
|
switch (tmp) {
|
|
1168
1168
|
case 0:
|
|
1169
1169
|
this.v8_1 = 3;
|
|
1170
|
-
this.
|
|
1171
|
-
this.
|
|
1170
|
+
this.t4n_1 = this.r4n_1.w4n_1;
|
|
1171
|
+
this.u4n_1 = this.s4n_1.i3e().o3b_1;
|
|
1172
1172
|
this.u8_1 = 1;
|
|
1173
|
-
suspendResult = this.
|
|
1173
|
+
suspendResult = this.r4n_1.z4n_1.b4m(this);
|
|
1174
1174
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1175
1175
|
return suspendResult;
|
|
1176
1176
|
}
|
|
@@ -1178,9 +1178,9 @@
|
|
|
1178
1178
|
continue $sm;
|
|
1179
1179
|
case 1:
|
|
1180
1180
|
var ARGUMENT = suspendResult;
|
|
1181
|
-
var ARGUMENT_0 = new RefreshTokensParams(this.
|
|
1181
|
+
var ARGUMENT_0 = new RefreshTokensParams(this.u4n_1, this.s4n_1, ARGUMENT);
|
|
1182
1182
|
this.u8_1 = 2;
|
|
1183
|
-
suspendResult = this.
|
|
1183
|
+
suspendResult = this.t4n_1(ARGUMENT_0, this);
|
|
1184
1184
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1185
1185
|
return suspendResult;
|
|
1186
1186
|
}
|
|
@@ -1202,22 +1202,22 @@
|
|
|
1202
1202
|
}
|
|
1203
1203
|
while (true);
|
|
1204
1204
|
};
|
|
1205
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1206
|
-
return new BearerAuthProvider$refreshToken$slambda(this.
|
|
1205
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).b4n = function (completion) {
|
|
1206
|
+
return new BearerAuthProvider$refreshToken$slambda(this.r4n_1, this.s4n_1, completion);
|
|
1207
1207
|
};
|
|
1208
1208
|
function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
|
|
1209
1209
|
var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
|
|
1210
1210
|
var l = function ($completion) {
|
|
1211
|
-
return i.
|
|
1211
|
+
return i.v4n($completion);
|
|
1212
1212
|
};
|
|
1213
1213
|
l.$arity = 0;
|
|
1214
1214
|
return l;
|
|
1215
1215
|
}
|
|
1216
1216
|
function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
|
|
1217
1217
|
CoroutineImpl.call(this, resultContinuation);
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1220
|
-
this.
|
|
1218
|
+
this.i4o_1 = _this__u8e3s4;
|
|
1219
|
+
this.j4o_1 = request;
|
|
1220
|
+
this.k4o_1 = authHeader;
|
|
1221
1221
|
}
|
|
1222
1222
|
protoOf($addRequestHeadersCOROUTINE$).c9 = function () {
|
|
1223
1223
|
var suspendResult = this.w8_1;
|
|
@@ -1228,7 +1228,7 @@
|
|
|
1228
1228
|
case 0:
|
|
1229
1229
|
this.v8_1 = 2;
|
|
1230
1230
|
this.u8_1 = 1;
|
|
1231
|
-
suspendResult = this.
|
|
1231
|
+
suspendResult = this.i4o_1.z4n_1.b4m(this);
|
|
1232
1232
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1233
1233
|
return suspendResult;
|
|
1234
1234
|
}
|
|
@@ -1244,7 +1244,7 @@
|
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
1246
|
var token = tmp_0;
|
|
1247
|
-
headers(this.
|
|
1247
|
+
headers(this.j4o_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.j4o_1));
|
|
1248
1248
|
return Unit_instance;
|
|
1249
1249
|
case 2:
|
|
1250
1250
|
throw this.x8_1;
|
|
@@ -1262,8 +1262,8 @@
|
|
|
1262
1262
|
};
|
|
1263
1263
|
function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
|
|
1264
1264
|
CoroutineImpl.call(this, resultContinuation);
|
|
1265
|
-
this.
|
|
1266
|
-
this.
|
|
1265
|
+
this.t4o_1 = _this__u8e3s4;
|
|
1266
|
+
this.u4o_1 = response;
|
|
1267
1267
|
}
|
|
1268
1268
|
protoOf($refreshTokenCOROUTINE$).c9 = function () {
|
|
1269
1269
|
var suspendResult = this.w8_1;
|
|
@@ -1274,7 +1274,7 @@
|
|
|
1274
1274
|
case 0:
|
|
1275
1275
|
this.v8_1 = 2;
|
|
1276
1276
|
this.u8_1 = 1;
|
|
1277
|
-
suspendResult = this.
|
|
1277
|
+
suspendResult = this.t4o_1.z4n_1.c4m(BearerAuthProvider$refreshToken$slambda_0(this.t4o_1, this.u4o_1, null), this);
|
|
1278
1278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1279
1279
|
return suspendResult;
|
|
1280
1280
|
}
|
|
@@ -1305,46 +1305,46 @@
|
|
|
1305
1305
|
tmp = sendWithoutRequestCallback;
|
|
1306
1306
|
}
|
|
1307
1307
|
sendWithoutRequestCallback = tmp;
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1311
|
-
this.
|
|
1308
|
+
this.w4n_1 = refreshTokens;
|
|
1309
|
+
this.x4n_1 = sendWithoutRequestCallback;
|
|
1310
|
+
this.y4n_1 = realm;
|
|
1311
|
+
this.z4n_1 = new AuthTokenHolder(loadTokens);
|
|
1312
1312
|
}
|
|
1313
|
-
protoOf(BearerAuthProvider).
|
|
1313
|
+
protoOf(BearerAuthProvider).h4k = function () {
|
|
1314
1314
|
var message = 'Deprecated';
|
|
1315
1315
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1316
1316
|
};
|
|
1317
|
-
protoOf(BearerAuthProvider).
|
|
1318
|
-
return this.
|
|
1317
|
+
protoOf(BearerAuthProvider).k4j = function (request) {
|
|
1318
|
+
return this.x4n_1(request);
|
|
1319
1319
|
};
|
|
1320
|
-
protoOf(BearerAuthProvider).
|
|
1321
|
-
if (!(auth.
|
|
1322
|
-
get_LOGGER().
|
|
1320
|
+
protoOf(BearerAuthProvider).r4h = function (auth) {
|
|
1321
|
+
if (!(auth.p32_1 === 'Bearer')) {
|
|
1322
|
+
get_LOGGER().g2q('Bearer Auth Provider is not applicable for ' + auth.toString());
|
|
1323
1323
|
return false;
|
|
1324
1324
|
}
|
|
1325
1325
|
var tmp;
|
|
1326
|
-
if (this.
|
|
1326
|
+
if (this.y4n_1 == null) {
|
|
1327
1327
|
tmp = true;
|
|
1328
1328
|
} else {
|
|
1329
1329
|
if (!(auth instanceof Parameterized)) {
|
|
1330
1330
|
tmp = false;
|
|
1331
1331
|
} else {
|
|
1332
|
-
tmp = auth.
|
|
1332
|
+
tmp = auth.t2s('realm') == this.y4n_1;
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
var isSameRealm = tmp;
|
|
1336
1336
|
if (!isSameRealm) {
|
|
1337
|
-
get_LOGGER().
|
|
1337
|
+
get_LOGGER().g2q('Bearer Auth Provider is not applicable for this realm');
|
|
1338
1338
|
}
|
|
1339
1339
|
return isSameRealm;
|
|
1340
1340
|
};
|
|
1341
|
-
protoOf(BearerAuthProvider).
|
|
1341
|
+
protoOf(BearerAuthProvider).g4k = function (request, authHeader, $completion) {
|
|
1342
1342
|
var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
|
|
1343
1343
|
tmp.w8_1 = Unit_instance;
|
|
1344
1344
|
tmp.x8_1 = null;
|
|
1345
1345
|
return tmp.c9();
|
|
1346
1346
|
};
|
|
1347
|
-
protoOf(BearerAuthProvider).
|
|
1347
|
+
protoOf(BearerAuthProvider).f4k = function (response, $completion) {
|
|
1348
1348
|
var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
|
|
1349
1349
|
tmp.w8_1 = Unit_instance;
|
|
1350
1350
|
tmp.x8_1 = null;
|
|
@@ -1352,10 +1352,10 @@
|
|
|
1352
1352
|
};
|
|
1353
1353
|
//region block: post-declaration
|
|
1354
1354
|
protoOf(SetTokenContext).h9 = get;
|
|
1355
|
-
protoOf(SetTokenContext).
|
|
1356
|
-
protoOf(SetTokenContext).
|
|
1357
|
-
protoOf(SetTokenContext).
|
|
1358
|
-
protoOf(BearerAuthProvider).
|
|
1355
|
+
protoOf(SetTokenContext).eh = fold;
|
|
1356
|
+
protoOf(SetTokenContext).dh = minusKey;
|
|
1357
|
+
protoOf(SetTokenContext).fh = plus;
|
|
1358
|
+
protoOf(BearerAuthProvider).l4j = addRequestHeaders$default;
|
|
1359
1359
|
//endregion
|
|
1360
1360
|
//region block: init
|
|
1361
1361
|
Companion_instance = new Companion();
|