@doordeck/doordeck-headless-sdk 0.170.0 → 0.172.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.
@@ -1,59 +1,59 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var CoroutineImpl = kotlin_kotlin.$_$.i9;
5
- var Unit_instance = kotlin_kotlin.$_$.a5;
6
- var protoOf = kotlin_kotlin.$_$.zb;
7
- var THROW_CCE = kotlin_kotlin.$_$.yf;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.j9;
5
+ var Unit_instance = kotlin_kotlin.$_$.b5;
6
+ var protoOf = kotlin_kotlin.$_$.ac;
7
+ var THROW_CCE = kotlin_kotlin.$_$.zf;
8
8
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.i1;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
- var initMetadataForLambda = kotlin_kotlin.$_$.fb;
10
+ var initMetadataForLambda = kotlin_kotlin.$_$.gb;
11
11
  var VOID = kotlin_kotlin.$_$.b;
12
12
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
13
- var initMetadataForClass = kotlin_kotlin.$_$.ab;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.bb;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
- var toList = kotlin_kotlin.$_$.f8;
15
+ var toList = kotlin_kotlin.$_$.g8;
16
16
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.d;
17
- var KtMutableMap = kotlin_kotlin.$_$.n5;
18
- var getKClass = kotlin_kotlin.$_$.qc;
19
- var arrayOf = kotlin_kotlin.$_$.mg;
20
- var createKType = kotlin_kotlin.$_$.oc;
21
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.mc;
22
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.o4;
17
+ var KtMutableMap = kotlin_kotlin.$_$.o5;
18
+ var getKClass = kotlin_kotlin.$_$.rc;
19
+ var arrayOf = kotlin_kotlin.$_$.ng;
20
+ var createKType = kotlin_kotlin.$_$.pc;
21
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.nc;
22
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.p4;
23
23
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
24
24
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
25
25
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.b;
26
26
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
27
- var collectionSizeOrDefault = kotlin_kotlin.$_$.v5;
27
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.w5;
28
28
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
29
29
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
30
- var flatten = kotlin_kotlin.$_$.y6;
31
- var emptyList = kotlin_kotlin.$_$.p6;
32
- var to = kotlin_kotlin.$_$.dh;
30
+ var flatten = kotlin_kotlin.$_$.z6;
31
+ var emptyList = kotlin_kotlin.$_$.q6;
32
+ var to = kotlin_kotlin.$_$.eh;
33
33
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.i;
34
- var first = kotlin_kotlin.$_$.x6;
34
+ var first = kotlin_kotlin.$_$.y6;
35
35
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
36
36
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.j;
37
37
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.b1;
38
- var toString = kotlin_kotlin.$_$.cc;
39
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s8;
38
+ var toString = kotlin_kotlin.$_$.dc;
39
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
40
40
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.k;
41
41
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.q;
42
- var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
42
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.db;
43
43
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
44
- var Unit = kotlin_kotlin.$_$.jg;
44
+ var Unit = kotlin_kotlin.$_$.kg;
45
45
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
46
- var KtList = kotlin_kotlin.$_$.h5;
47
- var initMetadataForInterface = kotlin_kotlin.$_$.eb;
48
- var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
49
- var get = kotlin_kotlin.$_$.e9;
50
- var fold = kotlin_kotlin.$_$.d9;
51
- var minusKey = kotlin_kotlin.$_$.f9;
52
- var plus = kotlin_kotlin.$_$.h9;
53
- var Element = kotlin_kotlin.$_$.g9;
46
+ var KtList = kotlin_kotlin.$_$.i5;
47
+ var initMetadataForInterface = kotlin_kotlin.$_$.fb;
48
+ var initMetadataForCompanion = kotlin_kotlin.$_$.cb;
49
+ var get = kotlin_kotlin.$_$.f9;
50
+ var fold = kotlin_kotlin.$_$.e9;
51
+ var minusKey = kotlin_kotlin.$_$.g9;
52
+ var plus = kotlin_kotlin.$_$.i9;
53
+ var Element = kotlin_kotlin.$_$.h9;
54
54
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
55
- var isInterface = kotlin_kotlin.$_$.pb;
56
- var equals = kotlin_kotlin.$_$.ta;
55
+ var isInterface = kotlin_kotlin.$_$.qb;
56
+ var equals = kotlin_kotlin.$_$.ua;
57
57
  var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
58
58
  var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
59
59
  var headers = kotlin_io_ktor_ktor_client_core.$_$.e1;
@@ -69,11 +69,11 @@
69
69
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
70
70
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
71
71
  function sendWithoutRequest(request) {
72
- return this.l4k();
72
+ return this.q4q();
73
73
  }
74
74
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
75
75
  authHeader = authHeader === VOID ? null : authHeader;
76
- return $super === VOID ? this.k4k(request, authHeader, $completion) : $super.k4k.call(this, request, authHeader, $completion);
76
+ return $super === VOID ? this.p4q(request, authHeader, $completion) : $super.p4q.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).r4h = function (it, $completion) {
122
- var tmp = this.a3m(it, $completion);
121
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).w4n = function (it, $completion) {
122
+ var tmp = this.r3o(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.r4h(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
128
+ return this.w4n(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.q4h_1.d33().equals(Companion_getInstance().u2y_1);
137
+ return this.v4n_1.p33().equals(Companion_getInstance().g2z_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).a3m = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).r3o = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
- i.q4h_1 = it;
149
+ i.v4n_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.r4h(it, $completion);
155
+ return i.w4n(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.s4h_1 = ArrayList_init_$Create$();
163
+ tmp.x4n_1 = ArrayList_init_$Create$();
164
164
  var tmp_0 = this;
165
- tmp_0.t4h_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
165
+ tmp_0.y4n_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
166
166
  }
167
167
  function AtomicCounter() {
168
- this.u4h_1 = atomic$int$1(0);
168
+ this.z4n_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.a3l_1.s4h_1);
180
- $this$createClientPlugin.z3k_1.b3b_1.t2h(get_AuthProvidersKey(), providers);
179
+ var providers = toList($this$createClientPlugin.r3n_1.x4n_1);
180
+ $this$createClientPlugin.q3n_1.s3d_1.f2i(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.n41(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
+ $this$createClientPlugin.s42(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
204
204
  var tmp_2 = Send_instance;
205
- $this$createClientPlugin.d3l(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
+ $this$createClientPlugin.u3n(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.x3b().g2x().u2l(HttpHeaders_getInstance().e2w_1);
209
+ var headerValues = call.o3e().s2x().g2m(HttpHeaders_getInstance().q2w_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.f3e().o3e().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
- this_0.k2q(tmp$ret$3);
235
+ var tmp$ret$3 = 'Unauthorized response ' + call.w3g().f3h().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
+ this_0.w2q(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.v4h(element)) {
253
+ if (element_0.a4o(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.h4j_1 = $providers;
301
- this.i4j_1 = $tokenVersions;
302
- this.j4j_1 = $tokenVersionsAttributeKey;
300
+ this.m4p_1 = $providers;
301
+ this.n4p_1 = $tokenVersions;
302
+ this.o4p_1 = $tokenVersionsAttributeKey;
303
303
  CoroutineImpl.call(this, resultContinuation);
304
304
  }
305
- protoOf(Auth$lambda$slambda).a42 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
- var tmp = this.b42($this$onRequest, request, _unused_var__etf5q3, $completion);
305
+ protoOf(Auth$lambda$slambda).g43 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
+ var tmp = this.h43($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).c42 = function (p1, p2, p3, $completion) {
311
+ protoOf(Auth$lambda$slambda).i43 = 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.a42(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
314
+ return this.g43(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.h4j_1;
324
+ var tmp0 = this.m4p_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.o4j(this.l4j_1)) {
329
+ if (element.t4p(this.q4p_1)) {
330
330
  destination.p(element);
331
331
  }
332
332
  }
333
333
 
334
- this.n4j_1 = destination.r();
334
+ this.s4p_1 = destination.r();
335
335
  this.u8_1 = 1;
336
336
  continue $sm;
337
337
  case 1:
338
- if (!this.n4j_1.s()) {
338
+ if (!this.s4p_1.s()) {
339
339
  this.u8_1 = 3;
340
340
  continue $sm;
341
341
  }
342
342
 
343
- var element_0 = this.n4j_1.t();
343
+ var element_0 = this.s4p_1.t();
344
344
  var this_0 = get_LOGGER();
345
345
  if (get_isTraceEnabled(this_0)) {
346
- this_0.k2q('Adding auth headers for ' + this.l4j_1.x3c_1.toString() + ' from provider ' + toString(element_0));
346
+ this_0.w2q('Adding auth headers for ' + this.q4p_1.o3f_1.toString() + ' from provider ' + toString(element_0));
347
347
  }
348
348
 
349
- var tokenVersion = this.i4j_1.z2p(element_0, Auth$lambda$slambda$lambda);
350
- var requestTokenVersions = this.l4j_1.c3d_1.v2h(this.j4j_1, Auth$lambda$slambda$lambda_0);
351
- var value = tokenVersion.u4h_1.kotlinx$atomicfu$value;
349
+ var tokenVersion = this.n4p_1.l2q(element_0, Auth$lambda$slambda$lambda);
350
+ var requestTokenVersions = this.q4p_1.t3f_1.h2i(this.o4p_1, Auth$lambda$slambda$lambda_0);
351
+ var value = tokenVersion.z4n_1.kotlinx$atomicfu$value;
352
352
  requestTokenVersions.g2(element_0, value);
353
353
  this.u8_1 = 2;
354
- suspendResult = element_0.p4j(this.l4j_1, VOID, this);
354
+ suspendResult = element_0.u4p(this.q4p_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).b42 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
380
- var i = new Auth$lambda$slambda(this.h4j_1, this.i4j_1, this.j4j_1, completion);
381
- i.k4j_1 = $this$onRequest;
382
- i.l4j_1 = request;
383
- i.m4j_1 = _unused_var__etf5q3;
379
+ protoOf(Auth$lambda$slambda).h43 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
380
+ var i = new Auth$lambda$slambda(this.m4p_1, this.n4p_1, this.o4p_1, completion);
381
+ i.p4p_1 = $this$onRequest;
382
+ i.q4p_1 = request;
383
+ i.r4p_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.a42($this$onRequest, request, _unused_var__etf5q3, $completion);
389
+ return i.g43($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.y4j_1 = $this_createClientPlugin;
396
- this.z4j_1 = $providers;
397
- this.a4k_1 = $tokenVersions;
398
- this.b4k_1 = $tokenVersionsAttributeKey;
395
+ this.d4q_1 = $this_createClientPlugin;
396
+ this.e4q_1 = $providers;
397
+ this.f4q_1 = $tokenVersions;
398
+ this.g4q_1 = $tokenVersionsAttributeKey;
399
399
  CoroutineImpl.call(this, resultContinuation);
400
400
  }
401
- protoOf(Auth$lambda$slambda_1).f3s = function ($this$on, originalRequest, $completion) {
402
- var tmp = this.g3s($this$on, originalRequest, $completion);
401
+ protoOf(Auth$lambda$slambda_1).w3u = function ($this$on, originalRequest, $completion) {
402
+ var tmp = this.x3u($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.f3s(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
409
+ return this.w3u(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.c4k_1.j3s(this.d4k_1, this);
420
+ suspendResult = this.h4q_1.a3v(this.i4q_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.i4k_1 = suspendResult;
427
+ this.n4q_1 = suspendResult;
428
428
  this.u8_1 = 2;
429
- suspendResult = this.y4j_1.a3l_1.t4h_1(this.i4k_1.x3b(), this);
429
+ suspendResult = this.d4q_1.r3n_1.y4n_1(this.n4q_1.o3e(), 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.i4k_1;
437
+ return this.n4q_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.i4k_1.f3e().g3e().s2h(get_AuthCircuitBreaker()))
445
- return this.i4k_1;
446
- this.e4k_1 = this.i4k_1;
447
- this.h4k_1 = HashSet_init_$Create$(this.z4j_1);
444
+ if (this.n4q_1.w3g().x3g().e2i(get_AuthCircuitBreaker()))
445
+ return this.n4q_1;
446
+ this.j4q_1 = this.n4q_1;
447
+ this.m4q_1 = HashSet_init_$Create$(this.e4q_1);
448
448
  this.u8_1 = 4;
449
449
  continue $sm;
450
450
  case 4:
451
451
  this.u8_1 = 5;
452
- suspendResult = this.y4j_1.a3l_1.t4h_1(this.e4k_1.x3b(), this);
452
+ suspendResult = this.d4q_1.r3n_1.y4n_1(this.j4q_1.o3e(), 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.k2q('Unauthorized response for ' + this.e4k_1.f3e().o3e().toString());
466
+ this_0.w2q('Unauthorized response for ' + this.j4q_1.w3g().f3h().toString());
467
467
  }
468
468
 
469
- var tmp0_elvis_lhs = invoke$findProvider(this.e4k_1, this.h4k_1);
469
+ var tmp0_elvis_lhs = invoke$findProvider(this.j4q_1, this.m4q_1);
470
470
  var tmp_0;
471
471
  if (tmp0_elvis_lhs == null) {
472
- this.c4k_1;
472
+ this.h4q_1;
473
473
  var this_1 = get_LOGGER();
474
474
  if (get_isTraceEnabled(this_1)) {
475
- this_1.k2q('Can not find auth provider for ' + this.e4k_1.f3e().o3e().toString());
475
+ this_1.w2q('Can not find auth provider for ' + this.j4q_1.w3g().f3h().toString());
476
476
  }
477
- return this.e4k_1;
477
+ return this.j4q_1;
478
478
  } else {
479
479
  tmp_0 = tmp0_elvis_lhs;
480
480
  }
481
481
 
482
482
  var _destruct__k2r9zo = tmp_0;
483
- this.g4k_1 = _destruct__k2r9zo.ig();
484
- this.f4k_1 = _destruct__k2r9zo.jg();
483
+ this.l4q_1 = _destruct__k2r9zo.ig();
484
+ this.k4q_1 = _destruct__k2r9zo.jg();
485
485
  var this_2 = get_LOGGER();
486
486
  if (get_isTraceEnabled(this_2)) {
487
- this_2.k2q('Using provider ' + toString(this.g4k_1) + ' for ' + this.e4k_1.f3e().o3e().toString());
487
+ this_2.w2q('Using provider ' + toString(this.l4q_1) + ' for ' + this.j4q_1.w3g().f3h().toString());
488
488
  }
489
489
 
490
- this.h4k_1.p2(this.g4k_1);
490
+ this.m4q_1.p2(this.l4q_1);
491
491
  this.u8_1 = 6;
492
- suspendResult = invoke$refreshTokenIfNeeded(this.a4k_1, this.b4k_1, this.e4k_1, this.g4k_1, this.d4k_1, this);
492
+ suspendResult = invoke$refreshTokenIfNeeded(this.f4q_1, this.g4q_1, this.j4q_1, this.l4q_1, this.i4q_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.e4k_1;
500
+ return this.j4q_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.c4k_1, this.e4k_1, this.g4k_1, this.d4k_1, this.f4k_1, this);
508
+ suspendResult = invoke$executeWithNewToken(this.h4q_1, this.j4q_1, this.l4q_1, this.i4q_1, this.k4q_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.e4k_1 = suspendResult;
515
+ this.j4q_1 = suspendResult;
516
516
  this.u8_1 = 4;
517
517
  continue $sm;
518
518
  case 9:
519
- return this.e4k_1;
519
+ return this.j4q_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).g3s = function ($this$on, originalRequest, completion) {
535
- var i = new Auth$lambda$slambda_1(this.y4j_1, this.z4j_1, this.a4k_1, this.b4k_1, completion);
536
- i.c4k_1 = $this$on;
537
- i.d4k_1 = originalRequest;
534
+ protoOf(Auth$lambda$slambda_1).x3u = function ($this$on, originalRequest, completion) {
535
+ var i = new Auth$lambda$slambda_1(this.d4q_1, this.e4q_1, this.f4q_1, this.g4q_1, completion);
536
+ i.h4q_1 = $this$on;
537
+ i.i4q_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.f3s($this$on, originalRequest, $completion);
543
+ return i.w3u($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.e4i_1 = tokenVersions;
560
- this.f4i_1 = tokenVersionsAttributeKey;
561
- this.g4i_1 = call;
562
- this.h4i_1 = provider;
563
- this.i4i_1 = request;
559
+ this.j4o_1 = tokenVersions;
560
+ this.k4o_1 = tokenVersionsAttributeKey;
561
+ this.l4o_1 = call;
562
+ this.m4o_1 = provider;
563
+ this.n4o_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.j4i_1 = this.e4i_1.z2p(this.h4i_1, Auth$lambda$refreshTokenIfNeeded$lambda);
574
+ tmp_0.o4o_1 = this.j4o_1.l2q(this.m4o_1, Auth$lambda$refreshTokenIfNeeded$lambda);
575
575
  var tmp_1 = this;
576
- tmp_1.k4i_1 = this.i4i_1.c3d_1.v2h(this.f4i_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
577
- var requestTokenVersion = this.k4i_1.o2(this.h4i_1);
578
- if (!(requestTokenVersion == null) && requestTokenVersion >= this.j4i_1.u4h_1.kotlinx$atomicfu$value) {
576
+ tmp_1.p4o_1 = this.n4o_1.t3f_1.h2i(this.k4o_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
577
+ var requestTokenVersion = this.p4o_1.o2(this.m4o_1);
578
+ if (!(requestTokenVersion == null) && requestTokenVersion >= this.o4o_1.z4n_1.kotlinx$atomicfu$value) {
579
579
  var this_0 = get_LOGGER();
580
580
  if (get_isTraceEnabled(this_0)) {
581
- this_0.k2q('Refreshing token for ' + this.g4i_1.f3e().o3e().toString());
581
+ this_0.w2q('Refreshing token for ' + this.l4o_1.w3g().f3h().toString());
582
582
  }
583
583
  this.u8_1 = 1;
584
- suspendResult = this.h4i_1.j4k(this.g4i_1.x3b(), this);
584
+ suspendResult = this.m4o_1.o4q(this.l4o_1.o3e(), 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.k2q('Refreshing token failed for ' + this.g4i_1.f3e().o3e().toString());
598
+ this_1.w2q('Refreshing token failed for ' + this.l4o_1.w3g().f3h().toString());
599
599
  }
600
600
  return false;
601
601
  } else {
602
- var tmp0 = this.k4i_1;
603
- var tmp2 = this.h4i_1;
604
- var value = this.j4i_1.u4h_1.atomicfu$incrementAndGet();
602
+ var tmp0 = this.p4o_1;
603
+ var tmp2 = this.m4o_1;
604
+ var value = this.o4o_1.z4n_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.t4i_1 = _this__u8e3s4;
632
- this.u4i_1 = call;
633
- this.v4i_1 = provider;
634
- this.w4i_1 = oldRequest;
635
- this.x4i_1 = authHeader;
631
+ this.y4o_1 = _this__u8e3s4;
632
+ this.z4o_1 = call;
633
+ this.a4p_1 = provider;
634
+ this.b4p_1 = oldRequest;
635
+ this.c4p_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.y4i_1 = new HttpRequestBuilder();
646
- this.y4i_1.p3i(this.w4i_1);
645
+ this.d4p_1 = new HttpRequestBuilder();
646
+ this.d4p_1.g3l(this.b4p_1);
647
647
  this.u8_1 = 1;
648
- suspendResult = this.v4i_1.k4k(this.y4i_1, this.x4i_1, this);
648
+ suspendResult = this.a4p_1.p4q(this.d4p_1, this.c4p_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.y4i_1.c3d_1.t2h(get_AuthCircuitBreaker(), Unit_instance);
655
+ this.d4p_1.t3f_1.f2i(get_AuthCircuitBreaker(), Unit_instance);
656
656
  var this_0 = get_LOGGER();
657
657
  if (get_isTraceEnabled(this_0)) {
658
- this_0.k2q('Sending new request to ' + this.u4i_1.f3e().o3e().toString());
658
+ this_0.w2q('Sending new request to ' + this.z4o_1.w3g().f3h().toString());
659
659
  }
660
660
 
661
661
  this.u8_1 = 2;
662
- suspendResult = this.t4i_1.j3s(this.y4i_1, this);
662
+ suspendResult = this.y4o_1.a3v(this.d4p_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.u4k_1 = $block;
749
+ this.z4q_1 = $block;
750
750
  CoroutineImpl.call(this, resultContinuation);
751
751
  }
752
- protoOf(AuthTokenHolder$setToken$slambda).w4k = function ($this$withContext, $completion) {
753
- var tmp = this.b1v($this$withContext, $completion);
752
+ protoOf(AuthTokenHolder$setToken$slambda).b4r = function ($this$withContext, $completion) {
753
+ var tmp = this.n1v($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.w4k((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
759
+ return this.b4r((!(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.u4k_1(this);
770
+ suspendResult = this.z4q_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).b1v = function ($this$withContext, completion) {
793
- var i = new AuthTokenHolder$setToken$slambda(this.u4k_1, completion);
794
- i.v4k_1 = $this$withContext;
792
+ protoOf(AuthTokenHolder$setToken$slambda).n1v = function ($this$withContext, completion) {
793
+ var i = new AuthTokenHolder$setToken$slambda(this.z4q_1, completion);
794
+ i.a4r_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.w4k($this$withContext, $completion);
800
+ return i.b4r($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.f4l_1 = _this__u8e3s4;
807
+ this.k4r_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.f4l_1.m4l_1 == null))
818
- return this.f4l_1.m4l_1;
819
- this.k4l_1 = this.f4l_1.m4l_1;
817
+ if (!(this.k4r_1.r4r_1 == null))
818
+ return this.k4r_1.r4r_1;
819
+ this.p4r_1 = this.k4r_1.r4r_1;
820
820
  if (!(this.a9().h9(Companion_instance) == null)) {
821
821
  this.u8_1 = 10;
822
- suspendResult = this.f4l_1.l4l_1(this);
822
+ suspendResult = this.k4r_1.q4r_1(this);
823
823
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
824
824
  return suspendResult;
825
825
  }
826
826
  continue $sm;
827
827
  } else {
828
- this.i4l_1 = this.f4l_1.o4l_1;
828
+ this.n4r_1 = this.k4r_1.t4r_1;
829
829
  var tmp_0 = this;
830
- tmp_0.h4l_1 = null;
830
+ tmp_0.m4r_1 = null;
831
831
  this.u8_1 = 1;
832
- suspendResult = this.i4l_1.c1h(this.h4l_1, this);
832
+ suspendResult = this.n4r_1.o1h(this.m4r_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.j4l_1 = Unit_instance;
840
+ this.o4r_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.f4l_1.n4l_1 = true;
845
+ this.k4r_1.s4r_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.k4l_1, this.f4l_1.m4l_1)) {
850
+ if (equals(this.p4r_1, this.k4r_1.r4r_1)) {
851
851
  this.u8_1 = 4;
852
- suspendResult = this.f4l_1.l4l_1(this);
852
+ suspendResult = this.k4r_1.q4r_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.f4l_1.m4l_1 = ARGUMENT;
864
+ this.k4r_1.r4r_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.f4l_1.n4l_1 = false;
873
- this.j4l_1 = this.f4l_1.m4l_1;
872
+ this.k4r_1.s4r_1 = false;
873
+ this.o4r_1 = this.k4r_1.r4r_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.j4l_1;
878
+ var tmp_1 = this.o4r_1;
879
879
  this.v8_1 = 12;
880
- this.i4l_1.o1g(this.h4l_1);
881
- this.g4l_1 = tmp_1;
880
+ this.n4r_1.a1h(this.m4r_1);
881
+ this.l4r_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.f4l_1.n4l_1 = false;
887
+ this.k4r_1.s4r_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.i4l_1.o1g(this.h4l_1);
892
+ this.n4r_1.a1h(this.m4r_1);
893
893
  throw t_0;
894
894
  case 10:
895
895
  var ARGUMENT_0 = suspendResult;
896
- this.f4l_1.m4l_1 = ARGUMENT_0;
897
- this.g4l_1 = this.f4l_1.m4l_1;
896
+ this.k4r_1.r4r_1 = ARGUMENT_0;
897
+ this.l4r_1 = this.k4r_1.r4r_1;
898
898
  this.u8_1 = 11;
899
899
  continue $sm;
900
900
  case 11:
901
- return this.g4l_1;
901
+ return this.l4r_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.y4l_1 = _this__u8e3s4;
919
- this.z4l_1 = block;
918
+ this.d4s_1 = _this__u8e3s4;
919
+ this.e4s_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.e4m_1 = this.y4l_1.m4l_1;
930
- this.d4m_1 = this.y4l_1.n4l_1;
931
- this.b4m_1 = this.y4l_1.o4l_1;
929
+ this.j4s_1 = this.d4s_1.r4r_1;
930
+ this.i4s_1 = this.d4s_1.s4r_1;
931
+ this.g4s_1 = this.d4s_1.t4r_1;
932
932
  var tmp_0 = this;
933
- tmp_0.a4m_1 = null;
933
+ tmp_0.f4s_1 = null;
934
934
  this.u8_1 = 1;
935
- suspendResult = this.b4m_1.c1h(this.a4m_1, this);
935
+ suspendResult = this.g4s_1.o1h(this.f4s_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.c4m_1 = Unit_instance;
942
+ this.h4s_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.e4m_1, this.y4l_1.m4l_1) || this.d4m_1) {
947
+ if (equals(this.j4s_1, this.d4s_1.r4r_1) || this.i4s_1) {
948
948
  this.u8_1 = 3;
949
- var tmp_1 = this.a9().fh(this.y4l_1.p4l_1);
950
- suspendResult = withContext(tmp_1, AuthTokenHolder$setToken$slambda_0(this.z4l_1, null), this);
949
+ var tmp_1 = this.a9().fh(this.d4s_1.u4r_1);
950
+ suspendResult = withContext(tmp_1, AuthTokenHolder$setToken$slambda_0(this.e4s_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.y4l_1.m4l_1 = ARGUMENT;
962
+ this.d4s_1.r4r_1 = ARGUMENT;
963
963
  this.u8_1 = 4;
964
964
  continue $sm;
965
965
  case 4:
966
- this.c4m_1 = this.y4l_1.m4l_1;
966
+ this.h4s_1 = this.d4s_1.r4r_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.c4m_1;
971
+ var tmp_2 = this.h4s_1;
972
972
  this.v8_1 = 7;
973
- this.b4m_1.o1g(this.a4m_1);
973
+ this.g4s_1.a1h(this.f4s_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.b4m_1.o1g(this.a4m_1);
978
+ this.g4s_1.a1h(this.f4s_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.l4l_1 = loadTokens;
996
- this.m4l_1 = null;
997
- this.n4l_1 = false;
998
- this.o4l_1 = Mutex();
999
- this.p4l_1 = new SetTokenContext();
995
+ this.q4r_1 = loadTokens;
996
+ this.r4r_1 = null;
997
+ this.s4r_1 = false;
998
+ this.t4r_1 = Mutex();
999
+ this.u4r_1 = new SetTokenContext();
1000
1000
  }
1001
- protoOf(AuthTokenHolder).f4m = function ($completion) {
1001
+ protoOf(AuthTokenHolder).k4s = 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).g4m = function (block, $completion) {
1007
+ protoOf(AuthTokenHolder).l4s = 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.s4h_1.p(new BearerAuthProvider(this_0.h4m_1, this_0.i4m_1, this_0.j4m_1, this_0.k4m_1));
1018
+ _this__u8e3s4.x4n_1.p(new BearerAuthProvider(this_0.m4s_1, this_0.n4s_1, this_0.o4s_1, this_0.p4s_1));
1019
1019
  }
1020
1020
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1021
1021
  CoroutineImpl.call(this, resultContinuation);
1022
1022
  }
1023
- protoOf(BearerAuthConfig$refreshTokens$slambda).u4m = function (_this__u8e3s4, $completion) {
1024
- var tmp = this.v4m(_this__u8e3s4, $completion);
1023
+ protoOf(BearerAuthConfig$refreshTokens$slambda).z4s = function (_this__u8e3s4, $completion) {
1024
+ var tmp = this.a4t(_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.u4m(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1030
+ return this.z4s(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).v4m = function (_this__u8e3s4, completion) {
1049
+ protoOf(BearerAuthConfig$refreshTokens$slambda).a4t = function (_this__u8e3s4, completion) {
1050
1050
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1051
- i.t4m_1 = _this__u8e3s4;
1051
+ i.y4s_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.u4m(_this__u8e3s4, $completion);
1057
+ return i.z4s(_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).e4n = function ($completion) {
1066
- var tmp = this.f4n($completion);
1065
+ protoOf(BearerAuthConfig$loadTokens$slambda).j4t = function ($completion) {
1066
+ var tmp = this.k4t($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.e4n($completion);
1072
+ return this.j4t($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).f4n = function (completion) {
1091
+ protoOf(BearerAuthConfig$loadTokens$slambda).k4t = 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.e4n($completion);
1097
+ return i.j4t($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.h4m_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1107
+ tmp.m4s_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1108
1108
  var tmp_0 = this;
1109
- tmp_0.i4m_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1109
+ tmp_0.n4s_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1110
1110
  var tmp_1 = this;
1111
- tmp_1.j4m_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1112
- this.k4m_1 = null;
1111
+ tmp_1.o4s_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1112
+ this.p4s_1 = null;
1113
1113
  }
1114
- protoOf(BearerAuthConfig).g4n = function (block) {
1115
- this.h4m_1 = block;
1114
+ protoOf(BearerAuthConfig).l4t = function (block) {
1115
+ this.m4s_1 = block;
1116
1116
  };
1117
1117
  function RefreshTokensParams(client, response, oldTokens) {
1118
- this.h4n_1 = client;
1119
- this.i4n_1 = response;
1120
- this.j4n_1 = oldTokens;
1118
+ this.m4t_1 = client;
1119
+ this.n4t_1 = response;
1120
+ this.o4t_1 = oldTokens;
1121
1121
  }
1122
- protoOf(RefreshTokensParams).k4n = function (_this__u8e3s4) {
1123
- _this__u8e3s4.c3d_1.t2h(get_AuthCircuitBreaker(), Unit_instance);
1122
+ protoOf(RefreshTokensParams).p4t = function (_this__u8e3s4) {
1123
+ _this__u8e3s4.t3f_1.f2i(get_AuthCircuitBreaker(), Unit_instance);
1124
1124
  };
1125
1125
  function BearerTokens(accessToken, refreshToken) {
1126
- this.l4n_1 = accessToken;
1127
- this.m4n_1 = refreshToken;
1126
+ this.q4t_1 = accessToken;
1127
+ this.r4t_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.l4n_1;
1134
+ var tokenValue = 'Bearer ' + $token.q4t_1;
1135
1135
  var tmp;
1136
- if ($this$headers.p2l(HttpHeaders_getInstance().l2t_1)) {
1137
- $this$headers.e2m(HttpHeaders_getInstance().l2t_1);
1136
+ if ($this$headers.b2m(HttpHeaders_getInstance().x2t_1)) {
1137
+ $this$headers.q2m(HttpHeaders_getInstance().x2t_1);
1138
1138
  tmp = Unit_instance;
1139
1139
  }
1140
1140
  var tmp_0;
1141
- if (!$request.c3d_1.s2h(get_AuthCircuitBreaker())) {
1142
- $this$headers.q2l(HttpHeaders_getInstance().l2t_1, tokenValue);
1141
+ if (!$request.t3f_1.e2i(get_AuthCircuitBreaker())) {
1142
+ $this$headers.c2m(HttpHeaders_getInstance().x2t_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.v4n_1 = this$0;
1150
- this.w4n_1 = $response;
1149
+ this.a4u_1 = this$0;
1150
+ this.b4u_1 = $response;
1151
1151
  CoroutineImpl.call(this, resultContinuation);
1152
1152
  }
1153
- protoOf(BearerAuthProvider$refreshToken$slambda).z4n = function ($completion) {
1154
- var tmp = this.f4n($completion);
1153
+ protoOf(BearerAuthProvider$refreshToken$slambda).e4u = function ($completion) {
1154
+ var tmp = this.k4t($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.z4n($completion);
1160
+ return this.e4u($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.x4n_1 = this.v4n_1.a4o_1;
1171
- this.y4n_1 = this.w4n_1.m3e().s3b_1;
1170
+ this.c4u_1 = this.a4u_1.f4u_1;
1171
+ this.d4u_1 = this.b4u_1.d3h().j3e_1;
1172
1172
  this.u8_1 = 1;
1173
- suspendResult = this.v4n_1.d4o_1.f4m(this);
1173
+ suspendResult = this.a4u_1.i4u_1.k4s(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.y4n_1, this.w4n_1, ARGUMENT);
1181
+ var ARGUMENT_0 = new RefreshTokensParams(this.d4u_1, this.b4u_1, ARGUMENT);
1182
1182
  this.u8_1 = 2;
1183
- suspendResult = this.x4n_1(ARGUMENT_0, this);
1183
+ suspendResult = this.c4u_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).f4n = function (completion) {
1206
- return new BearerAuthProvider$refreshToken$slambda(this.v4n_1, this.w4n_1, completion);
1205
+ protoOf(BearerAuthProvider$refreshToken$slambda).k4t = function (completion) {
1206
+ return new BearerAuthProvider$refreshToken$slambda(this.a4u_1, this.b4u_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.z4n($completion);
1211
+ return i.e4u($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.m4o_1 = _this__u8e3s4;
1219
- this.n4o_1 = request;
1220
- this.o4o_1 = authHeader;
1218
+ this.r4u_1 = _this__u8e3s4;
1219
+ this.s4u_1 = request;
1220
+ this.t4u_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.m4o_1.d4o_1.f4m(this);
1231
+ suspendResult = this.r4u_1.i4u_1.k4s(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.n4o_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.n4o_1));
1247
+ headers(this.s4u_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.s4u_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.x4o_1 = _this__u8e3s4;
1266
- this.y4o_1 = response;
1265
+ this.c4v_1 = _this__u8e3s4;
1266
+ this.d4v_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.x4o_1.d4o_1.g4m(BearerAuthProvider$refreshToken$slambda_0(this.x4o_1, this.y4o_1, null), this);
1277
+ suspendResult = this.c4v_1.i4u_1.l4s(BearerAuthProvider$refreshToken$slambda_0(this.c4v_1, this.d4v_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.a4o_1 = refreshTokens;
1309
- this.b4o_1 = sendWithoutRequestCallback;
1310
- this.c4o_1 = realm;
1311
- this.d4o_1 = new AuthTokenHolder(loadTokens);
1308
+ this.f4u_1 = refreshTokens;
1309
+ this.g4u_1 = sendWithoutRequestCallback;
1310
+ this.h4u_1 = realm;
1311
+ this.i4u_1 = new AuthTokenHolder(loadTokens);
1312
1312
  }
1313
- protoOf(BearerAuthProvider).l4k = function () {
1313
+ protoOf(BearerAuthProvider).q4q = function () {
1314
1314
  var message = 'Deprecated';
1315
1315
  throw IllegalStateException_init_$Create$(toString(message));
1316
1316
  };
1317
- protoOf(BearerAuthProvider).o4j = function (request) {
1318
- return this.b4o_1(request);
1317
+ protoOf(BearerAuthProvider).t4p = function (request) {
1318
+ return this.g4u_1(request);
1319
1319
  };
1320
- protoOf(BearerAuthProvider).v4h = function (auth) {
1321
- if (!(auth.t32_1 === 'Bearer')) {
1322
- get_LOGGER().k2q('Bearer Auth Provider is not applicable for ' + auth.toString());
1320
+ protoOf(BearerAuthProvider).a4o = function (auth) {
1321
+ if (!(auth.f33_1 === 'Bearer')) {
1322
+ get_LOGGER().w2q('Bearer Auth Provider is not applicable for ' + auth.toString());
1323
1323
  return false;
1324
1324
  }
1325
1325
  var tmp;
1326
- if (this.c4o_1 == null) {
1326
+ if (this.h4u_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.x2s('realm') == this.c4o_1;
1332
+ tmp = auth.j2t('realm') == this.h4u_1;
1333
1333
  }
1334
1334
  }
1335
1335
  var isSameRealm = tmp;
1336
1336
  if (!isSameRealm) {
1337
- get_LOGGER().k2q('Bearer Auth Provider is not applicable for this realm');
1337
+ get_LOGGER().w2q('Bearer Auth Provider is not applicable for this realm');
1338
1338
  }
1339
1339
  return isSameRealm;
1340
1340
  };
1341
- protoOf(BearerAuthProvider).k4k = function (request, authHeader, $completion) {
1341
+ protoOf(BearerAuthProvider).p4q = 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).j4k = function (response, $completion) {
1347
+ protoOf(BearerAuthProvider).o4q = 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;
@@ -1355,7 +1355,7 @@
1355
1355
  protoOf(SetTokenContext).eh = fold;
1356
1356
  protoOf(SetTokenContext).dh = minusKey;
1357
1357
  protoOf(SetTokenContext).fh = plus;
1358
- protoOf(BearerAuthProvider).p4j = addRequestHeaders$default;
1358
+ protoOf(BearerAuthProvider).u4p = addRequestHeaders$default;
1359
1359
  //endregion
1360
1360
  //region block: init
1361
1361
  Companion_instance = new Companion();