@doordeck/doordeck-headless-sdk 0.139.0 → 0.140.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,22 +1,22 @@
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.$_$.k9;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.l9;
5
5
  var Unit_instance = kotlin_kotlin.$_$.f5;
6
- var protoOf = kotlin_kotlin.$_$.ib;
7
- var THROW_CCE = kotlin_kotlin.$_$.cf;
6
+ var protoOf = kotlin_kotlin.$_$.jb;
7
+ var THROW_CCE = kotlin_kotlin.$_$.df;
8
8
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
- var initMetadataForLambda = kotlin_kotlin.$_$.na;
10
+ var initMetadataForLambda = kotlin_kotlin.$_$.oa;
11
11
  var VOID = kotlin_kotlin.$_$.h;
12
12
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
13
- var initMetadataForClass = kotlin_kotlin.$_$.ia;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.ja;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
- var toList = kotlin_kotlin.$_$.i8;
15
+ var toList = kotlin_kotlin.$_$.j8;
16
16
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.d;
17
17
  var KtMutableMap = kotlin_kotlin.$_$.r5;
18
18
  var getKClass = kotlin_kotlin.$_$.f;
19
- var arrayOf = kotlin_kotlin.$_$.qf;
19
+ var arrayOf = kotlin_kotlin.$_$.rf;
20
20
  var createKType = kotlin_kotlin.$_$.c;
21
21
  var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
22
22
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.t4;
@@ -27,33 +27,33 @@
27
27
  var collectionSizeOrDefault = kotlin_kotlin.$_$.z5;
28
28
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
29
29
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
30
- var flatten = kotlin_kotlin.$_$.b7;
31
- var emptyList = kotlin_kotlin.$_$.s6;
32
- var to = kotlin_kotlin.$_$.gg;
30
+ var flatten = kotlin_kotlin.$_$.c7;
31
+ var emptyList = kotlin_kotlin.$_$.t6;
32
+ var to = kotlin_kotlin.$_$.hg;
33
33
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.i;
34
- var first = kotlin_kotlin.$_$.a7;
34
+ var first = kotlin_kotlin.$_$.b7;
35
35
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
36
36
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.j;
37
37
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
38
- var toString = kotlin_kotlin.$_$.mb;
39
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.u8;
38
+ var toString = kotlin_kotlin.$_$.nb;
39
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
40
40
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.k;
41
41
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.w;
42
- var initMetadataForCoroutine = kotlin_kotlin.$_$.ka;
42
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.la;
43
43
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
44
- var Unit = kotlin_kotlin.$_$.nf;
44
+ var Unit = kotlin_kotlin.$_$.of;
45
45
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
46
46
  var KtList = kotlin_kotlin.$_$.m5;
47
- var initMetadataForInterface = kotlin_kotlin.$_$.ma;
48
- var initMetadataForCompanion = kotlin_kotlin.$_$.ja;
49
- var get = kotlin_kotlin.$_$.g9;
50
- var fold = kotlin_kotlin.$_$.f9;
51
- var minusKey = kotlin_kotlin.$_$.h9;
52
- var plus = kotlin_kotlin.$_$.j9;
53
- var Element = kotlin_kotlin.$_$.i9;
47
+ var initMetadataForInterface = kotlin_kotlin.$_$.na;
48
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ka;
49
+ var get = kotlin_kotlin.$_$.h9;
50
+ var fold = kotlin_kotlin.$_$.g9;
51
+ var minusKey = kotlin_kotlin.$_$.i9;
52
+ var plus = kotlin_kotlin.$_$.k9;
53
+ var Element = kotlin_kotlin.$_$.j9;
54
54
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
55
- var isInterface = kotlin_kotlin.$_$.xa;
56
- var equals = kotlin_kotlin.$_$.ba;
55
+ var isInterface = kotlin_kotlin.$_$.ya;
56
+ var equals = kotlin_kotlin.$_$.ca;
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
59
  var headers = kotlin_io_ktor_ktor_client_core.$_$.c1;
@@ -69,11 +69,11 @@
69
69
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
70
70
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
71
71
  function sendWithoutRequest(request) {
72
- return this.r4v();
72
+ return this.w4v();
73
73
  }
74
74
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
75
75
  authHeader = authHeader === VOID ? null : authHeader;
76
- return $super === VOID ? this.q4v(request, authHeader, $completion) : $super.q4v.call(this, request, authHeader, $completion);
76
+ return $super === VOID ? this.v4v(request, authHeader, $completion) : $super.v4v.call(this, request, authHeader, $completion);
77
77
  }
78
78
  function refreshToken(response, $completion) {
79
79
  return true;
@@ -118,25 +118,25 @@
118
118
  function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
119
119
  CoroutineImpl.call(this, resultContinuation);
120
120
  }
121
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).m4s = function (it, $completion) {
122
- var tmp = this.b3t(it, $completion);
123
- tmp.l9_1 = Unit_instance;
124
- tmp.m9_1 = null;
125
- return tmp.r9();
121
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).r4s = function (it, $completion) {
122
+ var tmp = this.g3t(it, $completion);
123
+ tmp.p9_1 = Unit_instance;
124
+ tmp.q9_1 = null;
125
+ return tmp.v9();
126
126
  };
127
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).fa = function (p1, $completion) {
128
- return this.m4s(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
127
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).ja = function (p1, $completion) {
128
+ return this.r4s(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
129
129
  };
130
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).r9 = function () {
131
- var suspendResult = this.l9_1;
130
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).v9 = function () {
131
+ var suspendResult = this.p9_1;
132
132
  $sm: do
133
133
  try {
134
- var tmp = this.j9_1;
134
+ var tmp = this.n9_1;
135
135
  if (tmp === 0) {
136
- this.k9_1 = 1;
137
- return this.l4s_1.q36().equals(Companion_getInstance().h32_1);
136
+ this.o9_1 = 1;
137
+ return this.q4s_1.v36().equals(Companion_getInstance().m32_1);
138
138
  } else if (tmp === 1) {
139
- throw this.m9_1;
139
+ throw this.q9_1;
140
140
  }
141
141
  } catch ($p) {
142
142
  var e = $p;
@@ -144,15 +144,15 @@
144
144
  }
145
145
  while (true);
146
146
  };
147
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).b3t = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).g3t = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
- i.l4s_1 = it;
149
+ i.q4s_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.m4s(it, $completion);
155
+ return i.r4s(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.n4s_1 = ArrayList_init_$Create$();
163
+ tmp.s4s_1 = ArrayList_init_$Create$();
164
164
  var tmp_0 = this;
165
- tmp_0.o4s_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
165
+ tmp_0.t4s_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
166
166
  }
167
167
  function AtomicCounter() {
168
- this.p4s_1 = atomic$int$1(0);
168
+ this.u4s_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.b3s_1.n4s_1);
180
- $this$createClientPlugin.a3s_1.p3h_1.f2l(get_AuthProvidersKey(), providers);
179
+ var providers = toList($this$createClientPlugin.g3s_1.s4s_1);
180
+ $this$createClientPlugin.f3s_1.u3h_1.j2l(get_AuthProvidersKey(), providers);
181
181
  var tokenVersions = new ConcurrentMap();
182
182
  // Inline function 'io.ktor.util.AttributeKey' call
183
183
  var name = 'ProviderVersionAttributeKey';
@@ -186,7 +186,7 @@
186
186
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
187
187
  var tmp_0;
188
188
  try {
189
- tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().pc(), arrayOf([]), false))]), false);
189
+ tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().tc(), arrayOf([]), false))]), false);
190
190
  } catch ($p) {
191
191
  var tmp_1;
192
192
  if ($p instanceof Error) {
@@ -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.n4a(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
+ $this$createClientPlugin.s4a(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
204
204
  var tmp_2 = Send_instance;
205
- $this$createClientPlugin.e3s(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
+ $this$createClientPlugin.j3s(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.m3i().u30().i2p(HttpHeaders_getInstance().t2z_1);
209
+ var headerValues = call.r3i().z30().n2p(HttpHeaders_getInstance().y2z_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.u3k().d3l().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
- this_0.d2u(tmp$ret$3);
235
+ var tmp$ret$3 = 'Unauthorized response ' + call.z3k().i3l().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
+ this_0.i2u(tmp$ret$3);
237
237
  }
238
238
  tmp_0 = null;
239
239
  } else {
@@ -250,7 +250,7 @@
250
250
  var _iterator__ex2g4s_1 = candidateProviders.p();
251
251
  while (_iterator__ex2g4s_1.q()) {
252
252
  var element_0 = _iterator__ex2g4s_1.r();
253
- if (element_0.q4s(element)) {
253
+ if (element_0.v4s(element)) {
254
254
  tmp$ret$6 = element_0;
255
255
  break $l$block;
256
256
  }
@@ -279,15 +279,15 @@
279
279
  }
280
280
  function invoke$refreshTokenIfNeeded(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion) {
281
281
  var tmp = new $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion);
282
- tmp.l9_1 = Unit_instance;
283
- tmp.m9_1 = null;
284
- return tmp.r9();
282
+ tmp.p9_1 = Unit_instance;
283
+ tmp.q9_1 = null;
284
+ return tmp.v9();
285
285
  }
286
286
  function invoke$executeWithNewToken(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion) {
287
287
  var tmp = new $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion);
288
- tmp.l9_1 = Unit_instance;
289
- tmp.m9_1 = null;
290
- return tmp.r9();
288
+ tmp.p9_1 = Unit_instance;
289
+ tmp.q9_1 = null;
290
+ return tmp.v9();
291
291
  }
292
292
  function Auth$lambda$slambda$lambda() {
293
293
  return new AtomicCounter();
@@ -297,170 +297,170 @@
297
297
  return LinkedHashMap_init_$Create$();
298
298
  }
299
299
  function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
300
- this.d4u_1 = $providers;
301
- this.e4u_1 = $tokenVersions;
302
- this.f4u_1 = $tokenVersionsAttributeKey;
300
+ this.i4u_1 = $providers;
301
+ this.j4u_1 = $tokenVersions;
302
+ this.k4u_1 = $tokenVersionsAttributeKey;
303
303
  CoroutineImpl.call(this, resultContinuation);
304
304
  }
305
- protoOf(Auth$lambda$slambda).a4b = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
- var tmp = this.b4b($this$onRequest, request, _unused_var__etf5q3, $completion);
307
- tmp.l9_1 = Unit_instance;
308
- tmp.m9_1 = null;
309
- return tmp.r9();
305
+ protoOf(Auth$lambda$slambda).f4b = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
+ var tmp = this.g4b($this$onRequest, request, _unused_var__etf5q3, $completion);
307
+ tmp.p9_1 = Unit_instance;
308
+ tmp.q9_1 = null;
309
+ return tmp.v9();
310
310
  };
311
- protoOf(Auth$lambda$slambda).c4b = function (p1, p2, p3, $completion) {
311
+ protoOf(Auth$lambda$slambda).h4b = 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.a4b(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
314
+ return this.f4b(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
315
315
  };
316
- protoOf(Auth$lambda$slambda).r9 = function () {
317
- var suspendResult = this.l9_1;
316
+ protoOf(Auth$lambda$slambda).v9 = function () {
317
+ var suspendResult = this.p9_1;
318
318
  $sm: do
319
319
  try {
320
- var tmp = this.j9_1;
320
+ var tmp = this.n9_1;
321
321
  switch (tmp) {
322
322
  case 0:
323
- this.k9_1 = 4;
323
+ this.o9_1 = 4;
324
324
  var tmp_0 = this;
325
- var tmp0 = this.d4u_1;
325
+ var tmp0 = this.i4u_1;
326
326
  var destination = ArrayList_init_$Create$();
327
327
  var _iterator__ex2g4s = tmp0.p();
328
328
  while (_iterator__ex2g4s.q()) {
329
329
  var element = _iterator__ex2g4s.r();
330
- if (element.r4u(this.h4u_1)) {
330
+ if (element.w4u(this.m4u_1)) {
331
331
  destination.k(element);
332
332
  }
333
333
  }
334
334
 
335
- tmp_0.j4u_1 = destination;
336
- this.k4u_1 = this.j4u_1;
337
- this.l4u_1 = this.k4u_1.p();
338
- this.j9_1 = 1;
335
+ tmp_0.o4u_1 = destination;
336
+ this.p4u_1 = this.o4u_1;
337
+ this.q4u_1 = this.p4u_1.p();
338
+ this.n9_1 = 1;
339
339
  continue $sm;
340
340
  case 1:
341
- if (!this.l4u_1.q()) {
342
- this.j9_1 = 3;
341
+ if (!this.q4u_1.q()) {
342
+ this.n9_1 = 3;
343
343
  continue $sm;
344
344
  }
345
345
 
346
- this.m4u_1 = this.l4u_1.r();
346
+ this.r4u_1 = this.q4u_1.r();
347
347
  var tmp_1 = this;
348
- tmp_1.n4u_1 = this.m4u_1;
349
- this.o4u_1 = this.n4u_1;
348
+ tmp_1.s4u_1 = this.r4u_1;
349
+ this.t4u_1 = this.s4u_1;
350
350
  var this_0 = get_LOGGER();
351
351
  if (get_isTraceEnabled(this_0)) {
352
- this_0.d2u('Adding auth headers for ' + this.h4u_1.m3j_1.toString() + ' from provider ' + toString(this.o4u_1));
352
+ this_0.i2u('Adding auth headers for ' + this.m4u_1.r3j_1.toString() + ' from provider ' + toString(this.t4u_1));
353
353
  }
354
354
 
355
355
  var tmp_2 = this;
356
- tmp_2.p4u_1 = this.e4u_1.s2t(this.o4u_1, Auth$lambda$slambda$lambda);
356
+ tmp_2.u4u_1 = this.j4u_1.x2t(this.t4u_1, Auth$lambda$slambda$lambda);
357
357
  var tmp_3 = this;
358
- tmp_3.q4u_1 = this.h4u_1.r3j_1.h2l(this.f4u_1, Auth$lambda$slambda$lambda_0);
359
- var tmp0_0 = this.q4u_1;
360
- var tmp2 = this.o4u_1;
361
- var value = this.p4u_1.p4s_1.kotlinx$atomicfu$value;
362
- tmp0_0.o2(tmp2, value);
363
- this.j9_1 = 2;
364
- suspendResult = this.o4u_1.s4u(this.h4u_1, VOID, this);
358
+ tmp_3.v4u_1 = this.m4u_1.w3j_1.l2l(this.k4u_1, Auth$lambda$slambda$lambda_0);
359
+ var tmp0_0 = this.v4u_1;
360
+ var tmp2 = this.t4u_1;
361
+ var value = this.u4u_1.u4s_1.kotlinx$atomicfu$value;
362
+ tmp0_0.p2(tmp2, value);
363
+ this.n9_1 = 2;
364
+ suspendResult = this.t4u_1.x4u(this.m4u_1, VOID, this);
365
365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
366
366
  return suspendResult;
367
367
  }
368
368
 
369
369
  continue $sm;
370
370
  case 2:
371
- this.j9_1 = 1;
371
+ this.n9_1 = 1;
372
372
  continue $sm;
373
373
  case 3:
374
374
  return Unit_instance;
375
375
  case 4:
376
- throw this.m9_1;
376
+ throw this.q9_1;
377
377
  }
378
378
  } catch ($p) {
379
379
  var e = $p;
380
- if (this.k9_1 === 4) {
380
+ if (this.o9_1 === 4) {
381
381
  throw e;
382
382
  } else {
383
- this.j9_1 = this.k9_1;
384
- this.m9_1 = e;
383
+ this.n9_1 = this.o9_1;
384
+ this.q9_1 = e;
385
385
  }
386
386
  }
387
387
  while (true);
388
388
  };
389
- protoOf(Auth$lambda$slambda).b4b = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
390
- var i = new Auth$lambda$slambda(this.d4u_1, this.e4u_1, this.f4u_1, completion);
391
- i.g4u_1 = $this$onRequest;
392
- i.h4u_1 = request;
393
- i.i4u_1 = _unused_var__etf5q3;
389
+ protoOf(Auth$lambda$slambda).g4b = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
390
+ var i = new Auth$lambda$slambda(this.i4u_1, this.j4u_1, this.k4u_1, completion);
391
+ i.l4u_1 = $this$onRequest;
392
+ i.m4u_1 = request;
393
+ i.n4u_1 = _unused_var__etf5q3;
394
394
  return i;
395
395
  };
396
396
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
397
397
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
398
398
  var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
399
- return i.a4b($this$onRequest, request, _unused_var__etf5q3, $completion);
399
+ return i.f4b($this$onRequest, request, _unused_var__etf5q3, $completion);
400
400
  };
401
401
  l.$arity = 3;
402
402
  return l;
403
403
  }
404
404
  function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
405
- this.b4v_1 = $this_createClientPlugin;
406
- this.c4v_1 = $providers;
407
- this.d4v_1 = $tokenVersions;
408
- this.e4v_1 = $tokenVersionsAttributeKey;
405
+ this.g4v_1 = $this_createClientPlugin;
406
+ this.h4v_1 = $providers;
407
+ this.i4v_1 = $tokenVersions;
408
+ this.j4v_1 = $tokenVersionsAttributeKey;
409
409
  CoroutineImpl.call(this, resultContinuation);
410
410
  }
411
- protoOf(Auth$lambda$slambda_1).q40 = function ($this$on, originalRequest, $completion) {
412
- var tmp = this.r40($this$on, originalRequest, $completion);
413
- tmp.l9_1 = Unit_instance;
414
- tmp.m9_1 = null;
415
- return tmp.r9();
411
+ protoOf(Auth$lambda$slambda_1).v40 = function ($this$on, originalRequest, $completion) {
412
+ var tmp = this.w40($this$on, originalRequest, $completion);
413
+ tmp.p9_1 = Unit_instance;
414
+ tmp.q9_1 = null;
415
+ return tmp.v9();
416
416
  };
417
- protoOf(Auth$lambda$slambda_1).ga = function (p1, p2, $completion) {
417
+ protoOf(Auth$lambda$slambda_1).ka = function (p1, p2, $completion) {
418
418
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
419
- return this.q40(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
419
+ return this.v40(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
420
420
  };
421
- protoOf(Auth$lambda$slambda_1).r9 = function () {
422
- var suspendResult = this.l9_1;
421
+ protoOf(Auth$lambda$slambda_1).v9 = function () {
422
+ var suspendResult = this.p9_1;
423
423
  $sm: do
424
424
  try {
425
- var tmp = this.j9_1;
425
+ var tmp = this.n9_1;
426
426
  switch (tmp) {
427
427
  case 0:
428
- this.k9_1 = 10;
429
- this.j9_1 = 1;
430
- suspendResult = this.f4v_1.u40(this.g4v_1, this);
428
+ this.o9_1 = 10;
429
+ this.n9_1 = 1;
430
+ suspendResult = this.k4v_1.z40(this.l4v_1, this);
431
431
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
432
432
  return suspendResult;
433
433
  }
434
434
 
435
435
  continue $sm;
436
436
  case 1:
437
- this.h4v_1 = suspendResult;
438
- this.j9_1 = 2;
439
- suspendResult = this.b4v_1.b3s_1.o4s_1(this.h4v_1.m3i(), this);
437
+ this.m4v_1 = suspendResult;
438
+ this.n9_1 = 2;
439
+ suspendResult = this.g4v_1.g3s_1.t4s_1(this.m4v_1.r3i(), this);
440
440
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
441
441
  return suspendResult;
442
442
  }
443
443
 
444
444
  continue $sm;
445
445
  case 2:
446
- this.i4v_1 = suspendResult;
447
- if (!this.i4v_1) {
448
- return this.h4v_1;
446
+ this.n4v_1 = suspendResult;
447
+ if (!this.n4v_1) {
448
+ return this.m4v_1;
449
449
  } else {
450
- this.j9_1 = 3;
450
+ this.n9_1 = 3;
451
451
  continue $sm;
452
452
  }
453
453
 
454
454
  case 3:
455
- if (this.h4v_1.u3k().v3k().e2l(get_AuthCircuitBreaker()))
456
- return this.h4v_1;
457
- this.j4v_1 = this.h4v_1;
458
- this.k4v_1 = HashSet_init_$Create$(this.c4v_1);
459
- this.j9_1 = 4;
455
+ if (this.m4v_1.z3k().a3l().i2l(get_AuthCircuitBreaker()))
456
+ return this.m4v_1;
457
+ this.o4v_1 = this.m4v_1;
458
+ this.p4v_1 = HashSet_init_$Create$(this.h4v_1);
459
+ this.n9_1 = 4;
460
460
  continue $sm;
461
461
  case 4:
462
- this.j9_1 = 5;
463
- suspendResult = this.b4v_1.b3s_1.o4s_1(this.j4v_1.m3i(), this);
462
+ this.n9_1 = 5;
463
+ suspendResult = this.g4v_1.g3s_1.t4s_1(this.o4v_1.r3i(), this);
464
464
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
465
465
  return suspendResult;
466
466
  }
@@ -468,92 +468,92 @@
468
468
  continue $sm;
469
469
  case 5:
470
470
  if (!suspendResult) {
471
- this.j9_1 = 9;
471
+ this.n9_1 = 9;
472
472
  continue $sm;
473
473
  }
474
474
 
475
475
  var this_0 = get_LOGGER();
476
476
  if (get_isTraceEnabled(this_0)) {
477
- this_0.d2u('Unauthorized response for ' + this.j4v_1.u3k().d3l().toString());
477
+ this_0.i2u('Unauthorized response for ' + this.o4v_1.z3k().i3l().toString());
478
478
  }
479
479
 
480
480
  var tmp_0 = this;
481
- var tmp0_elvis_lhs = invoke$findProvider(this.j4v_1, this.k4v_1);
481
+ var tmp0_elvis_lhs = invoke$findProvider(this.o4v_1, this.p4v_1);
482
482
  var tmp_1;
483
483
  if (tmp0_elvis_lhs == null) {
484
- this.f4v_1;
484
+ this.k4v_1;
485
485
  var this_1 = get_LOGGER();
486
486
  if (get_isTraceEnabled(this_1)) {
487
- this_1.d2u('Can not find auth provider for ' + this.j4v_1.u3k().d3l().toString());
487
+ this_1.i2u('Can not find auth provider for ' + this.o4v_1.z3k().i3l().toString());
488
488
  }
489
- return this.j4v_1;
489
+ return this.o4v_1;
490
490
  } else {
491
491
  tmp_1 = tmp0_elvis_lhs;
492
492
  }
493
493
 
494
- tmp_0.l4v_1 = tmp_1;
495
- this.m4v_1 = this.l4v_1.zg();
496
- this.n4v_1 = this.l4v_1.ah();
494
+ tmp_0.q4v_1 = tmp_1;
495
+ this.r4v_1 = this.q4v_1.dh();
496
+ this.s4v_1 = this.q4v_1.eh();
497
497
  var this_2 = get_LOGGER();
498
498
  if (get_isTraceEnabled(this_2)) {
499
- this_2.d2u('Using provider ' + toString(this.m4v_1) + ' for ' + this.j4v_1.u3k().d3l().toString());
499
+ this_2.i2u('Using provider ' + toString(this.r4v_1) + ' for ' + this.o4v_1.z3k().i3l().toString());
500
500
  }
501
501
 
502
- this.k4v_1.d2(this.m4v_1);
503
- this.j9_1 = 6;
504
- suspendResult = invoke$refreshTokenIfNeeded(this.d4v_1, this.e4v_1, this.j4v_1, this.m4v_1, this.g4v_1, this);
502
+ this.p4v_1.d2(this.r4v_1);
503
+ this.n9_1 = 6;
504
+ suspendResult = invoke$refreshTokenIfNeeded(this.i4v_1, this.j4v_1, this.o4v_1, this.r4v_1, this.l4v_1, this);
505
505
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
506
506
  return suspendResult;
507
507
  }
508
508
 
509
509
  continue $sm;
510
510
  case 6:
511
- this.o4v_1 = suspendResult;
512
- if (!this.o4v_1) {
513
- return this.j4v_1;
511
+ this.t4v_1 = suspendResult;
512
+ if (!this.t4v_1) {
513
+ return this.o4v_1;
514
514
  } else {
515
- this.j9_1 = 7;
515
+ this.n9_1 = 7;
516
516
  continue $sm;
517
517
  }
518
518
 
519
519
  case 7:
520
- this.j9_1 = 8;
521
- suspendResult = invoke$executeWithNewToken(this.f4v_1, this.j4v_1, this.m4v_1, this.g4v_1, this.n4v_1, this);
520
+ this.n9_1 = 8;
521
+ suspendResult = invoke$executeWithNewToken(this.k4v_1, this.o4v_1, this.r4v_1, this.l4v_1, this.s4v_1, this);
522
522
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
523
523
  return suspendResult;
524
524
  }
525
525
 
526
526
  continue $sm;
527
527
  case 8:
528
- this.j4v_1 = suspendResult;
529
- this.j9_1 = 4;
528
+ this.o4v_1 = suspendResult;
529
+ this.n9_1 = 4;
530
530
  continue $sm;
531
531
  case 9:
532
- return this.j4v_1;
532
+ return this.o4v_1;
533
533
  case 10:
534
- throw this.m9_1;
534
+ throw this.q9_1;
535
535
  }
536
536
  } catch ($p) {
537
537
  var e = $p;
538
- if (this.k9_1 === 10) {
538
+ if (this.o9_1 === 10) {
539
539
  throw e;
540
540
  } else {
541
- this.j9_1 = this.k9_1;
542
- this.m9_1 = e;
541
+ this.n9_1 = this.o9_1;
542
+ this.q9_1 = e;
543
543
  }
544
544
  }
545
545
  while (true);
546
546
  };
547
- protoOf(Auth$lambda$slambda_1).r40 = function ($this$on, originalRequest, completion) {
548
- var i = new Auth$lambda$slambda_1(this.b4v_1, this.c4v_1, this.d4v_1, this.e4v_1, completion);
549
- i.f4v_1 = $this$on;
550
- i.g4v_1 = originalRequest;
547
+ protoOf(Auth$lambda$slambda_1).w40 = function ($this$on, originalRequest, completion) {
548
+ var i = new Auth$lambda$slambda_1(this.g4v_1, this.h4v_1, this.i4v_1, this.j4v_1, completion);
549
+ i.k4v_1 = $this$on;
550
+ i.l4v_1 = originalRequest;
551
551
  return i;
552
552
  };
553
553
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
554
554
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
555
555
  var l = function ($this$on, originalRequest, $completion) {
556
- return i.q40($this$on, originalRequest, $completion);
556
+ return i.v40($this$on, originalRequest, $completion);
557
557
  };
558
558
  l.$arity = 2;
559
559
  return l;
@@ -569,38 +569,38 @@
569
569
  }
570
570
  function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
571
571
  CoroutineImpl.call(this, resultContinuation);
572
- this.z4s_1 = tokenVersions;
573
- this.a4t_1 = tokenVersionsAttributeKey;
574
- this.b4t_1 = call;
575
- this.c4t_1 = provider;
576
- this.d4t_1 = request;
572
+ this.e4t_1 = tokenVersions;
573
+ this.f4t_1 = tokenVersionsAttributeKey;
574
+ this.g4t_1 = call;
575
+ this.h4t_1 = provider;
576
+ this.i4t_1 = request;
577
577
  }
578
- protoOf($invoke$refreshTokenIfNeededCOROUTINE$).r9 = function () {
579
- var suspendResult = this.l9_1;
578
+ protoOf($invoke$refreshTokenIfNeededCOROUTINE$).v9 = function () {
579
+ var suspendResult = this.p9_1;
580
580
  $sm: do
581
581
  try {
582
- var tmp = this.j9_1;
582
+ var tmp = this.n9_1;
583
583
  switch (tmp) {
584
584
  case 0:
585
- this.k9_1 = 4;
585
+ this.o9_1 = 4;
586
586
  var tmp_0 = this;
587
- tmp_0.e4t_1 = this.z4s_1.s2t(this.c4t_1, Auth$lambda$refreshTokenIfNeeded$lambda);
587
+ tmp_0.j4t_1 = this.e4t_1.x2t(this.h4t_1, Auth$lambda$refreshTokenIfNeeded$lambda);
588
588
  var tmp_1 = this;
589
- tmp_1.f4t_1 = this.d4t_1.r3j_1.h2l(this.a4t_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
590
- this.g4t_1 = this.f4t_1.l2(this.c4t_1);
591
- if (!(this.g4t_1 == null) && this.g4t_1 >= this.e4t_1.p4s_1.kotlinx$atomicfu$value) {
589
+ tmp_1.k4t_1 = this.i4t_1.w3j_1.l2l(this.f4t_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
590
+ this.l4t_1 = this.k4t_1.m2(this.h4t_1);
591
+ if (!(this.l4t_1 == null) && this.l4t_1 >= this.j4t_1.u4s_1.kotlinx$atomicfu$value) {
592
592
  var this_0 = get_LOGGER();
593
593
  if (get_isTraceEnabled(this_0)) {
594
- this_0.d2u('Refreshing token for ' + this.b4t_1.u3k().d3l().toString());
594
+ this_0.i2u('Refreshing token for ' + this.g4t_1.z3k().i3l().toString());
595
595
  }
596
- this.j9_1 = 1;
597
- suspendResult = this.c4t_1.p4v(this.b4t_1.m3i(), this);
596
+ this.n9_1 = 1;
597
+ suspendResult = this.h4t_1.u4v(this.g4t_1.r3i(), this);
598
598
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
599
599
  return suspendResult;
600
600
  }
601
601
  continue $sm;
602
602
  } else {
603
- this.j9_1 = 3;
603
+ this.n9_1 = 3;
604
604
  continue $sm;
605
605
  }
606
606
 
@@ -609,71 +609,71 @@
609
609
  if (!ARGUMENT) {
610
610
  var this_1 = get_LOGGER();
611
611
  if (get_isTraceEnabled(this_1)) {
612
- this_1.d2u('Refreshing token failed for ' + this.b4t_1.u3k().d3l().toString());
612
+ this_1.i2u('Refreshing token failed for ' + this.g4t_1.z3k().i3l().toString());
613
613
  }
614
614
  return false;
615
615
  } else {
616
- var tmp0 = this.f4t_1;
617
- var tmp2 = this.c4t_1;
618
- var value = this.e4t_1.p4s_1.atomicfu$incrementAndGet();
619
- tmp0.o2(tmp2, value);
620
- this.j9_1 = 2;
616
+ var tmp0 = this.k4t_1;
617
+ var tmp2 = this.h4t_1;
618
+ var value = this.j4t_1.u4s_1.atomicfu$incrementAndGet();
619
+ tmp0.p2(tmp2, value);
620
+ this.n9_1 = 2;
621
621
  continue $sm;
622
622
  }
623
623
 
624
624
  case 2:
625
- this.j9_1 = 3;
625
+ this.n9_1 = 3;
626
626
  continue $sm;
627
627
  case 3:
628
628
  return true;
629
629
  case 4:
630
- throw this.m9_1;
630
+ throw this.q9_1;
631
631
  }
632
632
  } catch ($p) {
633
633
  var e = $p;
634
- if (this.k9_1 === 4) {
634
+ if (this.o9_1 === 4) {
635
635
  throw e;
636
636
  } else {
637
- this.j9_1 = this.k9_1;
638
- this.m9_1 = e;
637
+ this.n9_1 = this.o9_1;
638
+ this.q9_1 = e;
639
639
  }
640
640
  }
641
641
  while (true);
642
642
  };
643
643
  function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
644
644
  CoroutineImpl.call(this, resultContinuation);
645
- this.p4t_1 = _this__u8e3s4;
646
- this.q4t_1 = call;
647
- this.r4t_1 = provider;
648
- this.s4t_1 = oldRequest;
649
- this.t4t_1 = authHeader;
645
+ this.u4t_1 = _this__u8e3s4;
646
+ this.v4t_1 = call;
647
+ this.w4t_1 = provider;
648
+ this.x4t_1 = oldRequest;
649
+ this.y4t_1 = authHeader;
650
650
  }
651
- protoOf($invoke$executeWithNewTokenCOROUTINE$).r9 = function () {
652
- var suspendResult = this.l9_1;
651
+ protoOf($invoke$executeWithNewTokenCOROUTINE$).v9 = function () {
652
+ var suspendResult = this.p9_1;
653
653
  $sm: do
654
654
  try {
655
- var tmp = this.j9_1;
655
+ var tmp = this.n9_1;
656
656
  switch (tmp) {
657
657
  case 0:
658
- this.k9_1 = 3;
659
- this.u4t_1 = new HttpRequestBuilder();
660
- this.u4t_1.n3p(this.s4t_1);
661
- this.j9_1 = 1;
662
- suspendResult = this.r4t_1.q4v(this.u4t_1, this.t4t_1, this);
658
+ this.o9_1 = 3;
659
+ this.z4t_1 = new HttpRequestBuilder();
660
+ this.z4t_1.s3p(this.x4t_1);
661
+ this.n9_1 = 1;
662
+ suspendResult = this.w4t_1.v4v(this.z4t_1, this.y4t_1, this);
663
663
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
664
664
  return suspendResult;
665
665
  }
666
666
 
667
667
  continue $sm;
668
668
  case 1:
669
- this.u4t_1.r3j_1.f2l(get_AuthCircuitBreaker(), Unit_instance);
669
+ this.z4t_1.w3j_1.j2l(get_AuthCircuitBreaker(), Unit_instance);
670
670
  var this_0 = get_LOGGER();
671
671
  if (get_isTraceEnabled(this_0)) {
672
- this_0.d2u('Sending new request to ' + this.q4t_1.u3k().d3l().toString());
672
+ this_0.i2u('Sending new request to ' + this.v4t_1.z3k().i3l().toString());
673
673
  }
674
674
 
675
- this.j9_1 = 2;
676
- suspendResult = this.p4t_1.u40(this.u4t_1, this);
675
+ this.n9_1 = 2;
676
+ suspendResult = this.u4t_1.z40(this.z4t_1, this);
677
677
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
678
678
  return suspendResult;
679
679
  }
@@ -682,15 +682,15 @@
682
682
  case 2:
683
683
  return suspendResult;
684
684
  case 3:
685
- throw this.m9_1;
685
+ throw this.q9_1;
686
686
  }
687
687
  } catch ($p) {
688
688
  var e = $p;
689
- if (this.k9_1 === 3) {
689
+ if (this.o9_1 === 3) {
690
690
  throw e;
691
691
  } else {
692
- this.j9_1 = this.k9_1;
693
- this.m9_1 = e;
692
+ this.n9_1 = this.o9_1;
693
+ this.q9_1 = e;
694
694
  }
695
695
  }
696
696
  while (true);
@@ -760,28 +760,28 @@
760
760
  return Companion_instance;
761
761
  };
762
762
  function AuthTokenHolder$setToken$slambda($block, resultContinuation) {
763
- this.a4w_1 = $block;
763
+ this.f4w_1 = $block;
764
764
  CoroutineImpl.call(this, resultContinuation);
765
765
  }
766
- protoOf(AuthTokenHolder$setToken$slambda).c4w = function ($this$withContext, $completion) {
767
- var tmp = this.n1y($this$withContext, $completion);
768
- tmp.l9_1 = Unit_instance;
769
- tmp.m9_1 = null;
770
- return tmp.r9();
766
+ protoOf(AuthTokenHolder$setToken$slambda).h4w = function ($this$withContext, $completion) {
767
+ var tmp = this.r1y($this$withContext, $completion);
768
+ tmp.p9_1 = Unit_instance;
769
+ tmp.q9_1 = null;
770
+ return tmp.v9();
771
771
  };
772
- protoOf(AuthTokenHolder$setToken$slambda).fa = function (p1, $completion) {
773
- return this.c4w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
772
+ protoOf(AuthTokenHolder$setToken$slambda).ja = function (p1, $completion) {
773
+ return this.h4w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
774
774
  };
775
- protoOf(AuthTokenHolder$setToken$slambda).r9 = function () {
776
- var suspendResult = this.l9_1;
775
+ protoOf(AuthTokenHolder$setToken$slambda).v9 = function () {
776
+ var suspendResult = this.p9_1;
777
777
  $sm: do
778
778
  try {
779
- var tmp = this.j9_1;
779
+ var tmp = this.n9_1;
780
780
  switch (tmp) {
781
781
  case 0:
782
- this.k9_1 = 2;
783
- this.j9_1 = 1;
784
- suspendResult = this.a4w_1(this);
782
+ this.o9_1 = 2;
783
+ this.n9_1 = 1;
784
+ suspendResult = this.f4w_1(this);
785
785
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
786
786
  return suspendResult;
787
787
  }
@@ -790,62 +790,62 @@
790
790
  case 1:
791
791
  return suspendResult;
792
792
  case 2:
793
- throw this.m9_1;
793
+ throw this.q9_1;
794
794
  }
795
795
  } catch ($p) {
796
796
  var e = $p;
797
- if (this.k9_1 === 2) {
797
+ if (this.o9_1 === 2) {
798
798
  throw e;
799
799
  } else {
800
- this.j9_1 = this.k9_1;
801
- this.m9_1 = e;
800
+ this.n9_1 = this.o9_1;
801
+ this.q9_1 = e;
802
802
  }
803
803
  }
804
804
  while (true);
805
805
  };
806
- protoOf(AuthTokenHolder$setToken$slambda).n1y = function ($this$withContext, completion) {
807
- var i = new AuthTokenHolder$setToken$slambda(this.a4w_1, completion);
808
- i.b4w_1 = $this$withContext;
806
+ protoOf(AuthTokenHolder$setToken$slambda).r1y = function ($this$withContext, completion) {
807
+ var i = new AuthTokenHolder$setToken$slambda(this.f4w_1, completion);
808
+ i.g4w_1 = $this$withContext;
809
809
  return i;
810
810
  };
811
811
  function AuthTokenHolder$setToken$slambda_0($block, resultContinuation) {
812
812
  var i = new AuthTokenHolder$setToken$slambda($block, resultContinuation);
813
813
  var l = function ($this$withContext, $completion) {
814
- return i.c4w($this$withContext, $completion);
814
+ return i.h4w($this$withContext, $completion);
815
815
  };
816
816
  l.$arity = 1;
817
817
  return l;
818
818
  }
819
819
  function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
820
820
  CoroutineImpl.call(this, resultContinuation);
821
- this.l4w_1 = _this__u8e3s4;
821
+ this.q4w_1 = _this__u8e3s4;
822
822
  }
823
- protoOf($loadTokenCOROUTINE$).r9 = function () {
824
- var suspendResult = this.l9_1;
823
+ protoOf($loadTokenCOROUTINE$).v9 = function () {
824
+ var suspendResult = this.p9_1;
825
825
  $sm: do
826
826
  try {
827
- var tmp = this.j9_1;
827
+ var tmp = this.n9_1;
828
828
  switch (tmp) {
829
829
  case 0:
830
- this.k9_1 = 12;
831
- if (!(this.l4w_1.u4w_1 == null))
832
- return this.l4w_1.u4w_1;
833
- this.m4w_1 = this.l4w_1.u4w_1;
834
- if (!(this.p9().w9(Companion_instance) == null)) {
835
- this.j9_1 = 10;
836
- suspendResult = this.l4w_1.t4w_1(this);
830
+ this.o9_1 = 12;
831
+ if (!(this.q4w_1.z4w_1 == null))
832
+ return this.q4w_1.z4w_1;
833
+ this.r4w_1 = this.q4w_1.z4w_1;
834
+ if (!(this.t9().aa(Companion_instance) == null)) {
835
+ this.n9_1 = 10;
836
+ suspendResult = this.q4w_1.y4w_1(this);
837
837
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
838
838
  return suspendResult;
839
839
  }
840
840
  continue $sm;
841
841
  } else {
842
842
  var tmp_0 = this;
843
- tmp_0.o4w_1 = this.l4w_1.w4w_1;
844
- this.p4w_1 = this.o4w_1;
843
+ tmp_0.t4w_1 = this.q4w_1.b4x_1;
844
+ this.u4w_1 = this.t4w_1;
845
845
  var tmp_1 = this;
846
- tmp_1.q4w_1 = null;
847
- this.j9_1 = 1;
848
- suspendResult = this.p4w_1.a1g(this.q4w_1, this);
846
+ tmp_1.v4w_1 = null;
847
+ this.n9_1 = 1;
848
+ suspendResult = this.u4w_1.e1g(this.v4w_1, this);
849
849
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
850
850
  return suspendResult;
851
851
  }
@@ -853,211 +853,211 @@
853
853
  }
854
854
 
855
855
  case 1:
856
- this.r4w_1 = Unit_instance;
857
- this.j9_1 = 2;
856
+ this.w4w_1 = Unit_instance;
857
+ this.n9_1 = 2;
858
858
  continue $sm;
859
859
  case 2:
860
- this.k9_1 = 9;
861
- this.l4w_1.v4w_1 = true;
862
- this.j9_1 = 3;
860
+ this.o9_1 = 9;
861
+ this.q4w_1.a4x_1 = true;
862
+ this.n9_1 = 3;
863
863
  continue $sm;
864
864
  case 3:
865
- this.k9_1 = 8;
866
- if (equals(this.m4w_1, this.l4w_1.u4w_1)) {
867
- this.j9_1 = 4;
868
- suspendResult = this.l4w_1.t4w_1(this);
865
+ this.o9_1 = 8;
866
+ if (equals(this.r4w_1, this.q4w_1.z4w_1)) {
867
+ this.n9_1 = 4;
868
+ suspendResult = this.q4w_1.y4w_1(this);
869
869
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
870
870
  return suspendResult;
871
871
  }
872
872
  continue $sm;
873
873
  } else {
874
- this.j9_1 = 5;
874
+ this.n9_1 = 5;
875
875
  continue $sm;
876
876
  }
877
877
 
878
878
  case 4:
879
879
  var ARGUMENT = suspendResult;
880
- this.l4w_1.u4w_1 = ARGUMENT;
881
- this.j9_1 = 5;
880
+ this.q4w_1.z4w_1 = ARGUMENT;
881
+ this.n9_1 = 5;
882
882
  continue $sm;
883
883
  case 5:
884
- this.s4w_1 = Unit_instance;
885
- this.j9_1 = 6;
884
+ this.x4w_1 = Unit_instance;
885
+ this.n9_1 = 6;
886
886
  continue $sm;
887
887
  case 6:
888
- this.k9_1 = 9;
889
- this.l4w_1.v4w_1 = false;
890
- this.r4w_1 = this.l4w_1.u4w_1;
891
- this.k9_1 = 12;
892
- this.j9_1 = 7;
888
+ this.o9_1 = 9;
889
+ this.q4w_1.a4x_1 = false;
890
+ this.w4w_1 = this.q4w_1.z4w_1;
891
+ this.o9_1 = 12;
892
+ this.n9_1 = 7;
893
893
  continue $sm;
894
894
  case 7:
895
- var tmp_2 = this.r4w_1;
896
- this.k9_1 = 12;
897
- this.p4w_1.m1f(this.q4w_1);
898
- this.n4w_1 = tmp_2;
899
- this.j9_1 = 11;
895
+ var tmp_2 = this.w4w_1;
896
+ this.o9_1 = 12;
897
+ this.u4w_1.q1f(this.v4w_1);
898
+ this.s4w_1 = tmp_2;
899
+ this.n9_1 = 11;
900
900
  continue $sm;
901
901
  case 8:
902
- this.k9_1 = 9;
903
- var t = this.m9_1;
904
- this.l4w_1.v4w_1 = false;
902
+ this.o9_1 = 9;
903
+ var t = this.q9_1;
904
+ this.q4w_1.a4x_1 = false;
905
905
  throw t;
906
906
  case 9:
907
- this.k9_1 = 12;
908
- var t_0 = this.m9_1;
909
- this.p4w_1.m1f(this.q4w_1);
907
+ this.o9_1 = 12;
908
+ var t_0 = this.q9_1;
909
+ this.u4w_1.q1f(this.v4w_1);
910
910
  throw t_0;
911
911
  case 10:
912
912
  var ARGUMENT_0 = suspendResult;
913
- this.l4w_1.u4w_1 = ARGUMENT_0;
914
- this.n4w_1 = this.l4w_1.u4w_1;
915
- this.j9_1 = 11;
913
+ this.q4w_1.z4w_1 = ARGUMENT_0;
914
+ this.s4w_1 = this.q4w_1.z4w_1;
915
+ this.n9_1 = 11;
916
916
  continue $sm;
917
917
  case 11:
918
- return this.n4w_1;
918
+ return this.s4w_1;
919
919
  case 12:
920
- throw this.m9_1;
920
+ throw this.q9_1;
921
921
  }
922
922
  } catch ($p) {
923
923
  var e = $p;
924
- if (this.k9_1 === 12) {
924
+ if (this.o9_1 === 12) {
925
925
  throw e;
926
926
  } else {
927
- this.j9_1 = this.k9_1;
928
- this.m9_1 = e;
927
+ this.n9_1 = this.o9_1;
928
+ this.q9_1 = e;
929
929
  }
930
930
  }
931
931
  while (true);
932
932
  };
933
933
  function $setTokenCOROUTINE$(_this__u8e3s4, block, resultContinuation) {
934
934
  CoroutineImpl.call(this, resultContinuation);
935
- this.g4x_1 = _this__u8e3s4;
936
- this.h4x_1 = block;
935
+ this.l4x_1 = _this__u8e3s4;
936
+ this.m4x_1 = block;
937
937
  }
938
- protoOf($setTokenCOROUTINE$).r9 = function () {
939
- var suspendResult = this.l9_1;
938
+ protoOf($setTokenCOROUTINE$).v9 = function () {
939
+ var suspendResult = this.p9_1;
940
940
  $sm: do
941
941
  try {
942
- var tmp = this.j9_1;
942
+ var tmp = this.n9_1;
943
943
  switch (tmp) {
944
944
  case 0:
945
- this.k9_1 = 7;
946
- this.i4x_1 = this.g4x_1.u4w_1;
947
- this.j4x_1 = this.g4x_1.v4w_1;
945
+ this.o9_1 = 7;
946
+ this.n4x_1 = this.l4x_1.z4w_1;
947
+ this.o4x_1 = this.l4x_1.a4x_1;
948
948
  var tmp_0 = this;
949
- tmp_0.k4x_1 = this.g4x_1.w4w_1;
950
- this.l4x_1 = this.k4x_1;
949
+ tmp_0.p4x_1 = this.l4x_1.b4x_1;
950
+ this.q4x_1 = this.p4x_1;
951
951
  var tmp_1 = this;
952
- tmp_1.m4x_1 = null;
953
- this.j9_1 = 1;
954
- suspendResult = this.l4x_1.a1g(this.m4x_1, this);
952
+ tmp_1.r4x_1 = null;
953
+ this.n9_1 = 1;
954
+ suspendResult = this.q4x_1.e1g(this.r4x_1, this);
955
955
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
956
956
  return suspendResult;
957
957
  }
958
958
 
959
959
  continue $sm;
960
960
  case 1:
961
- this.n4x_1 = Unit_instance;
962
- this.j9_1 = 2;
961
+ this.s4x_1 = Unit_instance;
962
+ this.n9_1 = 2;
963
963
  continue $sm;
964
964
  case 2:
965
- this.k9_1 = 6;
966
- if (equals(this.i4x_1, this.g4x_1.u4w_1) || this.j4x_1) {
967
- this.j9_1 = 3;
968
- var tmp_2 = this.p9().xh(this.g4x_1.x4w_1);
969
- suspendResult = withContext(tmp_2, AuthTokenHolder$setToken$slambda_0(this.h4x_1, null), this);
965
+ this.o9_1 = 6;
966
+ if (equals(this.n4x_1, this.l4x_1.z4w_1) || this.o4x_1) {
967
+ this.n9_1 = 3;
968
+ var tmp_2 = this.t9().bi(this.l4x_1.c4x_1);
969
+ suspendResult = withContext(tmp_2, AuthTokenHolder$setToken$slambda_0(this.m4x_1, null), this);
970
970
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
971
971
  return suspendResult;
972
972
  }
973
973
  continue $sm;
974
974
  } else {
975
- this.j9_1 = 4;
975
+ this.n9_1 = 4;
976
976
  continue $sm;
977
977
  }
978
978
 
979
979
  case 3:
980
980
  var ARGUMENT = suspendResult;
981
- this.g4x_1.u4w_1 = ARGUMENT;
982
- this.j9_1 = 4;
981
+ this.l4x_1.z4w_1 = ARGUMENT;
982
+ this.n9_1 = 4;
983
983
  continue $sm;
984
984
  case 4:
985
- this.n4x_1 = this.g4x_1.u4w_1;
986
- this.k9_1 = 7;
987
- this.j9_1 = 5;
985
+ this.s4x_1 = this.l4x_1.z4w_1;
986
+ this.o9_1 = 7;
987
+ this.n9_1 = 5;
988
988
  continue $sm;
989
989
  case 5:
990
- var tmp_3 = this.n4x_1;
991
- this.k9_1 = 7;
992
- this.l4x_1.m1f(this.m4x_1);
990
+ var tmp_3 = this.s4x_1;
991
+ this.o9_1 = 7;
992
+ this.q4x_1.q1f(this.r4x_1);
993
993
  return tmp_3;
994
994
  case 6:
995
- this.k9_1 = 7;
996
- var t = this.m9_1;
997
- this.l4x_1.m1f(this.m4x_1);
995
+ this.o9_1 = 7;
996
+ var t = this.q9_1;
997
+ this.q4x_1.q1f(this.r4x_1);
998
998
  throw t;
999
999
  case 7:
1000
- throw this.m9_1;
1000
+ throw this.q9_1;
1001
1001
  }
1002
1002
  } catch ($p) {
1003
1003
  var e = $p;
1004
- if (this.k9_1 === 7) {
1004
+ if (this.o9_1 === 7) {
1005
1005
  throw e;
1006
1006
  } else {
1007
- this.j9_1 = this.k9_1;
1008
- this.m9_1 = e;
1007
+ this.n9_1 = this.o9_1;
1008
+ this.q9_1 = e;
1009
1009
  }
1010
1010
  }
1011
1011
  while (true);
1012
1012
  };
1013
1013
  function AuthTokenHolder(loadTokens) {
1014
- this.t4w_1 = loadTokens;
1015
- this.u4w_1 = null;
1016
- this.v4w_1 = false;
1017
- this.w4w_1 = Mutex();
1018
- this.x4w_1 = new SetTokenContext();
1014
+ this.y4w_1 = loadTokens;
1015
+ this.z4w_1 = null;
1016
+ this.a4x_1 = false;
1017
+ this.b4x_1 = Mutex();
1018
+ this.c4x_1 = new SetTokenContext();
1019
1019
  }
1020
- protoOf(AuthTokenHolder).o4x = function ($completion) {
1020
+ protoOf(AuthTokenHolder).t4x = function ($completion) {
1021
1021
  var tmp = new $loadTokenCOROUTINE$(this, $completion);
1022
- tmp.l9_1 = Unit_instance;
1023
- tmp.m9_1 = null;
1024
- return tmp.r9();
1022
+ tmp.p9_1 = Unit_instance;
1023
+ tmp.q9_1 = null;
1024
+ return tmp.v9();
1025
1025
  };
1026
- protoOf(AuthTokenHolder).p4x = function (block, $completion) {
1026
+ protoOf(AuthTokenHolder).u4x = function (block, $completion) {
1027
1027
  var tmp = new $setTokenCOROUTINE$(this, block, $completion);
1028
- tmp.l9_1 = Unit_instance;
1029
- tmp.m9_1 = null;
1030
- return tmp.r9();
1028
+ tmp.p9_1 = Unit_instance;
1029
+ tmp.q9_1 = null;
1030
+ return tmp.v9();
1031
1031
  };
1032
1032
  function bearer(_this__u8e3s4, block) {
1033
1033
  // Inline function 'kotlin.apply' call
1034
1034
  var this_0 = new BearerAuthConfig();
1035
1035
  block(this_0);
1036
1036
  // Inline function 'kotlin.with' call
1037
- _this__u8e3s4.n4s_1.k(new BearerAuthProvider(this_0.q4x_1, this_0.r4x_1, this_0.s4x_1, this_0.t4x_1));
1037
+ _this__u8e3s4.s4s_1.k(new BearerAuthProvider(this_0.v4x_1, this_0.w4x_1, this_0.x4x_1, this_0.y4x_1));
1038
1038
  }
1039
1039
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1040
1040
  CoroutineImpl.call(this, resultContinuation);
1041
1041
  }
1042
- protoOf(BearerAuthConfig$refreshTokens$slambda).d4y = function (_this__u8e3s4, $completion) {
1043
- var tmp = this.e4y(_this__u8e3s4, $completion);
1044
- tmp.l9_1 = Unit_instance;
1045
- tmp.m9_1 = null;
1046
- return tmp.r9();
1042
+ protoOf(BearerAuthConfig$refreshTokens$slambda).i4y = function (_this__u8e3s4, $completion) {
1043
+ var tmp = this.j4y(_this__u8e3s4, $completion);
1044
+ tmp.p9_1 = Unit_instance;
1045
+ tmp.q9_1 = null;
1046
+ return tmp.v9();
1047
1047
  };
1048
- protoOf(BearerAuthConfig$refreshTokens$slambda).fa = function (p1, $completion) {
1049
- return this.d4y(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1048
+ protoOf(BearerAuthConfig$refreshTokens$slambda).ja = function (p1, $completion) {
1049
+ return this.i4y(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1050
1050
  };
1051
- protoOf(BearerAuthConfig$refreshTokens$slambda).r9 = function () {
1052
- var suspendResult = this.l9_1;
1051
+ protoOf(BearerAuthConfig$refreshTokens$slambda).v9 = function () {
1052
+ var suspendResult = this.p9_1;
1053
1053
  $sm: do
1054
1054
  try {
1055
- var tmp = this.j9_1;
1055
+ var tmp = this.n9_1;
1056
1056
  if (tmp === 0) {
1057
- this.k9_1 = 1;
1057
+ this.o9_1 = 1;
1058
1058
  return null;
1059
1059
  } else if (tmp === 1) {
1060
- throw this.m9_1;
1060
+ throw this.q9_1;
1061
1061
  }
1062
1062
  } catch ($p) {
1063
1063
  var e = $p;
@@ -1065,15 +1065,15 @@
1065
1065
  }
1066
1066
  while (true);
1067
1067
  };
1068
- protoOf(BearerAuthConfig$refreshTokens$slambda).e4y = function (_this__u8e3s4, completion) {
1068
+ protoOf(BearerAuthConfig$refreshTokens$slambda).j4y = function (_this__u8e3s4, completion) {
1069
1069
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1070
- i.c4y_1 = _this__u8e3s4;
1070
+ i.h4y_1 = _this__u8e3s4;
1071
1071
  return i;
1072
1072
  };
1073
1073
  function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
1074
1074
  var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
1075
1075
  var l = function (_this__u8e3s4, $completion) {
1076
- return i.d4y(_this__u8e3s4, $completion);
1076
+ return i.i4y(_this__u8e3s4, $completion);
1077
1077
  };
1078
1078
  l.$arity = 1;
1079
1079
  return l;
@@ -1081,25 +1081,25 @@
1081
1081
  function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
1082
1082
  CoroutineImpl.call(this, resultContinuation);
1083
1083
  }
1084
- protoOf(BearerAuthConfig$loadTokens$slambda).n4y = function ($completion) {
1085
- var tmp = this.o4y($completion);
1086
- tmp.l9_1 = Unit_instance;
1087
- tmp.m9_1 = null;
1088
- return tmp.r9();
1084
+ protoOf(BearerAuthConfig$loadTokens$slambda).s4y = function ($completion) {
1085
+ var tmp = this.t4y($completion);
1086
+ tmp.p9_1 = Unit_instance;
1087
+ tmp.q9_1 = null;
1088
+ return tmp.v9();
1089
1089
  };
1090
- protoOf(BearerAuthConfig$loadTokens$slambda).kb = function ($completion) {
1091
- return this.n4y($completion);
1090
+ protoOf(BearerAuthConfig$loadTokens$slambda).ob = function ($completion) {
1091
+ return this.s4y($completion);
1092
1092
  };
1093
- protoOf(BearerAuthConfig$loadTokens$slambda).r9 = function () {
1094
- var suspendResult = this.l9_1;
1093
+ protoOf(BearerAuthConfig$loadTokens$slambda).v9 = function () {
1094
+ var suspendResult = this.p9_1;
1095
1095
  $sm: do
1096
1096
  try {
1097
- var tmp = this.j9_1;
1097
+ var tmp = this.n9_1;
1098
1098
  if (tmp === 0) {
1099
- this.k9_1 = 1;
1099
+ this.o9_1 = 1;
1100
1100
  return null;
1101
1101
  } else if (tmp === 1) {
1102
- throw this.m9_1;
1102
+ throw this.q9_1;
1103
1103
  }
1104
1104
  } catch ($p) {
1105
1105
  var e = $p;
@@ -1107,13 +1107,13 @@
1107
1107
  }
1108
1108
  while (true);
1109
1109
  };
1110
- protoOf(BearerAuthConfig$loadTokens$slambda).o4y = function (completion) {
1110
+ protoOf(BearerAuthConfig$loadTokens$slambda).t4y = function (completion) {
1111
1111
  return new BearerAuthConfig$loadTokens$slambda(completion);
1112
1112
  };
1113
1113
  function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
1114
1114
  var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
1115
1115
  var l = function ($completion) {
1116
- return i.n4y($completion);
1116
+ return i.s4y($completion);
1117
1117
  };
1118
1118
  l.$arity = 0;
1119
1119
  return l;
@@ -1123,83 +1123,83 @@
1123
1123
  }
1124
1124
  function BearerAuthConfig() {
1125
1125
  var tmp = this;
1126
- tmp.q4x_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1126
+ tmp.v4x_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1127
1127
  var tmp_0 = this;
1128
- tmp_0.r4x_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1128
+ tmp_0.w4x_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1129
1129
  var tmp_1 = this;
1130
- tmp_1.s4x_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1131
- this.t4x_1 = null;
1130
+ tmp_1.x4x_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1131
+ this.y4x_1 = null;
1132
1132
  }
1133
- protoOf(BearerAuthConfig).p4y = function (block) {
1134
- this.q4x_1 = block;
1133
+ protoOf(BearerAuthConfig).u4y = function (block) {
1134
+ this.v4x_1 = block;
1135
1135
  };
1136
1136
  function RefreshTokensParams(client, response, oldTokens) {
1137
- this.q4y_1 = client;
1138
- this.r4y_1 = response;
1139
- this.s4y_1 = oldTokens;
1137
+ this.v4y_1 = client;
1138
+ this.w4y_1 = response;
1139
+ this.x4y_1 = oldTokens;
1140
1140
  }
1141
- protoOf(RefreshTokensParams).t4y = function (_this__u8e3s4) {
1142
- _this__u8e3s4.r3j_1.f2l(get_AuthCircuitBreaker(), Unit_instance);
1141
+ protoOf(RefreshTokensParams).y4y = function (_this__u8e3s4) {
1142
+ _this__u8e3s4.w3j_1.j2l(get_AuthCircuitBreaker(), Unit_instance);
1143
1143
  };
1144
1144
  function BearerTokens(accessToken, refreshToken) {
1145
- this.u4y_1 = accessToken;
1146
- this.v4y_1 = refreshToken;
1145
+ this.z4y_1 = accessToken;
1146
+ this.a4z_1 = refreshToken;
1147
1147
  }
1148
1148
  function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
1149
1149
  return true;
1150
1150
  }
1151
1151
  function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
1152
1152
  return function ($this$headers) {
1153
- var tokenValue = 'Bearer ' + $token.u4y_1;
1153
+ var tokenValue = 'Bearer ' + $token.z4y_1;
1154
1154
  var tmp;
1155
- if ($this$headers.l2p(HttpHeaders_getInstance().a2x_1)) {
1156
- $this$headers.w2p(HttpHeaders_getInstance().a2x_1);
1155
+ if ($this$headers.q2p(HttpHeaders_getInstance().f2x_1)) {
1156
+ $this$headers.b2q(HttpHeaders_getInstance().f2x_1);
1157
1157
  tmp = Unit_instance;
1158
1158
  }
1159
1159
  var tmp_0;
1160
- if (!$request.r3j_1.e2l(get_AuthCircuitBreaker())) {
1161
- $this$headers.t2p(HttpHeaders_getInstance().a2x_1, tokenValue);
1160
+ if (!$request.w3j_1.i2l(get_AuthCircuitBreaker())) {
1161
+ $this$headers.y2p(HttpHeaders_getInstance().f2x_1, tokenValue);
1162
1162
  tmp_0 = Unit_instance;
1163
1163
  }
1164
1164
  return Unit_instance;
1165
1165
  };
1166
1166
  }
1167
1167
  function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
1168
- this.e4z_1 = this$0;
1169
- this.f4z_1 = $response;
1168
+ this.j4z_1 = this$0;
1169
+ this.k4z_1 = $response;
1170
1170
  CoroutineImpl.call(this, resultContinuation);
1171
1171
  }
1172
- protoOf(BearerAuthProvider$refreshToken$slambda).k4z = function ($completion) {
1173
- var tmp = this.o4y($completion);
1174
- tmp.l9_1 = Unit_instance;
1175
- tmp.m9_1 = null;
1176
- return tmp.r9();
1172
+ protoOf(BearerAuthProvider$refreshToken$slambda).p4z = function ($completion) {
1173
+ var tmp = this.t4y($completion);
1174
+ tmp.p9_1 = Unit_instance;
1175
+ tmp.q9_1 = null;
1176
+ return tmp.v9();
1177
1177
  };
1178
- protoOf(BearerAuthProvider$refreshToken$slambda).kb = function ($completion) {
1179
- return this.k4z($completion);
1178
+ protoOf(BearerAuthProvider$refreshToken$slambda).ob = function ($completion) {
1179
+ return this.p4z($completion);
1180
1180
  };
1181
- protoOf(BearerAuthProvider$refreshToken$slambda).r9 = function () {
1182
- var suspendResult = this.l9_1;
1181
+ protoOf(BearerAuthProvider$refreshToken$slambda).v9 = function () {
1182
+ var suspendResult = this.p9_1;
1183
1183
  $sm: do
1184
1184
  try {
1185
- var tmp = this.j9_1;
1185
+ var tmp = this.n9_1;
1186
1186
  switch (tmp) {
1187
1187
  case 0:
1188
- this.k9_1 = 3;
1189
- this.g4z_1 = this.e4z_1.l4z_1;
1190
- this.h4z_1 = this.f4z_1.b3l().h3i_1;
1191
- this.j9_1 = 1;
1192
- suspendResult = this.e4z_1.o4z_1.o4x(this);
1188
+ this.o9_1 = 3;
1189
+ this.l4z_1 = this.j4z_1.q4z_1;
1190
+ this.m4z_1 = this.k4z_1.g3l().m3i_1;
1191
+ this.n9_1 = 1;
1192
+ suspendResult = this.j4z_1.t4z_1.t4x(this);
1193
1193
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1194
1194
  return suspendResult;
1195
1195
  }
1196
1196
 
1197
1197
  continue $sm;
1198
1198
  case 1:
1199
- this.i4z_1 = suspendResult;
1200
- this.j4z_1 = new RefreshTokensParams(this.h4z_1, this.f4z_1, this.i4z_1);
1201
- this.j9_1 = 2;
1202
- suspendResult = this.g4z_1(this.j4z_1, this);
1199
+ this.n4z_1 = suspendResult;
1200
+ this.o4z_1 = new RefreshTokensParams(this.m4z_1, this.k4z_1, this.n4z_1);
1201
+ this.n9_1 = 2;
1202
+ suspendResult = this.l4z_1(this.o4z_1, this);
1203
1203
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1204
1204
  return suspendResult;
1205
1205
  }
@@ -1208,46 +1208,46 @@
1208
1208
  case 2:
1209
1209
  return suspendResult;
1210
1210
  case 3:
1211
- throw this.m9_1;
1211
+ throw this.q9_1;
1212
1212
  }
1213
1213
  } catch ($p) {
1214
1214
  var e = $p;
1215
- if (this.k9_1 === 3) {
1215
+ if (this.o9_1 === 3) {
1216
1216
  throw e;
1217
1217
  } else {
1218
- this.j9_1 = this.k9_1;
1219
- this.m9_1 = e;
1218
+ this.n9_1 = this.o9_1;
1219
+ this.q9_1 = e;
1220
1220
  }
1221
1221
  }
1222
1222
  while (true);
1223
1223
  };
1224
- protoOf(BearerAuthProvider$refreshToken$slambda).o4y = function (completion) {
1225
- return new BearerAuthProvider$refreshToken$slambda(this.e4z_1, this.f4z_1, completion);
1224
+ protoOf(BearerAuthProvider$refreshToken$slambda).t4y = function (completion) {
1225
+ return new BearerAuthProvider$refreshToken$slambda(this.j4z_1, this.k4z_1, completion);
1226
1226
  };
1227
1227
  function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
1228
1228
  var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
1229
1229
  var l = function ($completion) {
1230
- return i.k4z($completion);
1230
+ return i.p4z($completion);
1231
1231
  };
1232
1232
  l.$arity = 0;
1233
1233
  return l;
1234
1234
  }
1235
1235
  function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
1236
1236
  CoroutineImpl.call(this, resultContinuation);
1237
- this.x4z_1 = _this__u8e3s4;
1238
- this.y4z_1 = request;
1239
- this.z4z_1 = authHeader;
1237
+ this.c50_1 = _this__u8e3s4;
1238
+ this.d50_1 = request;
1239
+ this.e50_1 = authHeader;
1240
1240
  }
1241
- protoOf($addRequestHeadersCOROUTINE$).r9 = function () {
1242
- var suspendResult = this.l9_1;
1241
+ protoOf($addRequestHeadersCOROUTINE$).v9 = function () {
1242
+ var suspendResult = this.p9_1;
1243
1243
  $sm: do
1244
1244
  try {
1245
- var tmp = this.j9_1;
1245
+ var tmp = this.n9_1;
1246
1246
  switch (tmp) {
1247
1247
  case 0:
1248
- this.k9_1 = 2;
1249
- this.j9_1 = 1;
1250
- suspendResult = this.x4z_1.o4z_1.o4x(this);
1248
+ this.o9_1 = 2;
1249
+ this.n9_1 = 1;
1250
+ suspendResult = this.c50_1.t4z_1.t4x(this);
1251
1251
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1252
1252
  return suspendResult;
1253
1253
  }
@@ -1263,37 +1263,37 @@
1263
1263
  }
1264
1264
 
1265
1265
  var token = tmp_0;
1266
- headers(this.y4z_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.y4z_1));
1266
+ headers(this.d50_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.d50_1));
1267
1267
  return Unit_instance;
1268
1268
  case 2:
1269
- throw this.m9_1;
1269
+ throw this.q9_1;
1270
1270
  }
1271
1271
  } catch ($p) {
1272
1272
  var e = $p;
1273
- if (this.k9_1 === 2) {
1273
+ if (this.o9_1 === 2) {
1274
1274
  throw e;
1275
1275
  } else {
1276
- this.j9_1 = this.k9_1;
1277
- this.m9_1 = e;
1276
+ this.n9_1 = this.o9_1;
1277
+ this.q9_1 = e;
1278
1278
  }
1279
1279
  }
1280
1280
  while (true);
1281
1281
  };
1282
1282
  function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
1283
1283
  CoroutineImpl.call(this, resultContinuation);
1284
- this.i50_1 = _this__u8e3s4;
1285
- this.j50_1 = response;
1284
+ this.n50_1 = _this__u8e3s4;
1285
+ this.o50_1 = response;
1286
1286
  }
1287
- protoOf($refreshTokenCOROUTINE$).r9 = function () {
1288
- var suspendResult = this.l9_1;
1287
+ protoOf($refreshTokenCOROUTINE$).v9 = function () {
1288
+ var suspendResult = this.p9_1;
1289
1289
  $sm: do
1290
1290
  try {
1291
- var tmp = this.j9_1;
1291
+ var tmp = this.n9_1;
1292
1292
  switch (tmp) {
1293
1293
  case 0:
1294
- this.k9_1 = 2;
1295
- this.j9_1 = 1;
1296
- suspendResult = this.i50_1.o4z_1.p4x(BearerAuthProvider$refreshToken$slambda_0(this.i50_1, this.j50_1, null), this);
1294
+ this.o9_1 = 2;
1295
+ this.n9_1 = 1;
1296
+ suspendResult = this.n50_1.t4z_1.u4x(BearerAuthProvider$refreshToken$slambda_0(this.n50_1, this.o50_1, null), this);
1297
1297
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1298
1298
  return suspendResult;
1299
1299
  }
@@ -1303,15 +1303,15 @@
1303
1303
  var newToken = suspendResult;
1304
1304
  return !(newToken == null);
1305
1305
  case 2:
1306
- throw this.m9_1;
1306
+ throw this.q9_1;
1307
1307
  }
1308
1308
  } catch ($p) {
1309
1309
  var e = $p;
1310
- if (this.k9_1 === 2) {
1310
+ if (this.o9_1 === 2) {
1311
1311
  throw e;
1312
1312
  } else {
1313
- this.j9_1 = this.k9_1;
1314
- this.m9_1 = e;
1313
+ this.n9_1 = this.o9_1;
1314
+ this.q9_1 = e;
1315
1315
  }
1316
1316
  }
1317
1317
  while (true);
@@ -1324,57 +1324,57 @@
1324
1324
  tmp = sendWithoutRequestCallback;
1325
1325
  }
1326
1326
  sendWithoutRequestCallback = tmp;
1327
- this.l4z_1 = refreshTokens;
1328
- this.m4z_1 = sendWithoutRequestCallback;
1329
- this.n4z_1 = realm;
1330
- this.o4z_1 = new AuthTokenHolder(loadTokens);
1327
+ this.q4z_1 = refreshTokens;
1328
+ this.r4z_1 = sendWithoutRequestCallback;
1329
+ this.s4z_1 = realm;
1330
+ this.t4z_1 = new AuthTokenHolder(loadTokens);
1331
1331
  }
1332
- protoOf(BearerAuthProvider).r4v = function () {
1332
+ protoOf(BearerAuthProvider).w4v = function () {
1333
1333
  var message = 'Deprecated';
1334
1334
  throw IllegalStateException_init_$Create$(toString(message));
1335
1335
  };
1336
- protoOf(BearerAuthProvider).r4u = function (request) {
1337
- return this.m4z_1(request);
1336
+ protoOf(BearerAuthProvider).w4u = function (request) {
1337
+ return this.r4z_1(request);
1338
1338
  };
1339
- protoOf(BearerAuthProvider).q4s = function (auth) {
1340
- if (!(auth.g36_1 === 'Bearer')) {
1341
- get_LOGGER().d2u('Bearer Auth Provider is not applicable for ' + auth.toString());
1339
+ protoOf(BearerAuthProvider).v4s = function (auth) {
1340
+ if (!(auth.l36_1 === 'Bearer')) {
1341
+ get_LOGGER().i2u('Bearer Auth Provider is not applicable for ' + auth.toString());
1342
1342
  return false;
1343
1343
  }
1344
1344
  var tmp;
1345
- if (this.n4z_1 == null) {
1345
+ if (this.s4z_1 == null) {
1346
1346
  tmp = true;
1347
1347
  } else {
1348
1348
  if (!(auth instanceof Parameterized)) {
1349
1349
  tmp = false;
1350
1350
  } else {
1351
- tmp = auth.m2w('realm') == this.n4z_1;
1351
+ tmp = auth.r2w('realm') == this.s4z_1;
1352
1352
  }
1353
1353
  }
1354
1354
  var isSameRealm = tmp;
1355
1355
  if (!isSameRealm) {
1356
- get_LOGGER().d2u('Bearer Auth Provider is not applicable for this realm');
1356
+ get_LOGGER().i2u('Bearer Auth Provider is not applicable for this realm');
1357
1357
  }
1358
1358
  return isSameRealm;
1359
1359
  };
1360
- protoOf(BearerAuthProvider).q4v = function (request, authHeader, $completion) {
1360
+ protoOf(BearerAuthProvider).v4v = function (request, authHeader, $completion) {
1361
1361
  var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
1362
- tmp.l9_1 = Unit_instance;
1363
- tmp.m9_1 = null;
1364
- return tmp.r9();
1362
+ tmp.p9_1 = Unit_instance;
1363
+ tmp.q9_1 = null;
1364
+ return tmp.v9();
1365
1365
  };
1366
- protoOf(BearerAuthProvider).p4v = function (response, $completion) {
1366
+ protoOf(BearerAuthProvider).u4v = function (response, $completion) {
1367
1367
  var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
1368
- tmp.l9_1 = Unit_instance;
1369
- tmp.m9_1 = null;
1370
- return tmp.r9();
1368
+ tmp.p9_1 = Unit_instance;
1369
+ tmp.q9_1 = null;
1370
+ return tmp.v9();
1371
1371
  };
1372
1372
  //region block: post-declaration
1373
- protoOf(SetTokenContext).w9 = get;
1374
- protoOf(SetTokenContext).wh = fold;
1375
- protoOf(SetTokenContext).vh = minusKey;
1376
- protoOf(SetTokenContext).xh = plus;
1377
- protoOf(BearerAuthProvider).s4u = addRequestHeaders$default;
1373
+ protoOf(SetTokenContext).aa = get;
1374
+ protoOf(SetTokenContext).ai = fold;
1375
+ protoOf(SetTokenContext).zh = minusKey;
1376
+ protoOf(SetTokenContext).bi = plus;
1377
+ protoOf(BearerAuthProvider).x4u = addRequestHeaders$default;
1378
1378
  //endregion
1379
1379
  //region block: init
1380
1380
  Companion_instance = new Companion();