@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.99 → 1.0.1-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +14 -0
- package/dmarket-p2p-tracker-core-domain.mjs +11510 -4975
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +3168 -2664
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2758 -2428
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +44 -44
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +517 -497
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1791 -1790
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1586 -1564
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/ktor-ktor-client-core.mjs +3047 -3048
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +491 -491
- package/ktor-ktor-http.mjs +666 -646
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1145 -1059
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +794 -786
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +855 -799
- package/ktor-ktor-websockets.mjs.map +1 -1
- package/p2p-tracker-core.d.mts +110 -40
- package/p2p-tracker-core.mjs +28378 -11117
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +2 -4
- package/pkg/README.md +92 -0
- package/pkg/client_wasm.d.ts +312 -0
- package/pkg/client_wasm.js +1187 -0
- package/pkg/client_wasm_bg.wasm +0 -0
- package/pkg/client_wasm_bg.wasm.d.ts +32 -0
- package/pkg/package.json +19 -0
- package/pkg/snippets/web-spawn-05868593a72e2d44/js/spawn.js +73 -0
- package/pkg/spawn.js +73 -0
- package/transport/README.md +172 -0
- package/transport/dist/channel.d.ts +48 -0
- package/transport/dist/channel.d.ts.map +1 -0
- package/transport/dist/channel.js +150 -0
- package/transport/dist/channel.js.map +1 -0
- package/transport/dist/index.d.ts +8 -0
- package/transport/dist/index.d.ts.map +1 -0
- package/transport/dist/index.js +18 -0
- package/transport/dist/index.js.map +1 -0
- package/transport/dist/prover.d.ts +103 -0
- package/transport/dist/prover.d.ts.map +1 -0
- package/transport/dist/prover.js +139 -0
- package/transport/dist/prover.js.map +1 -0
- package/transport/dist/transport.d.ts +31 -0
- package/transport/dist/transport.d.ts.map +1 -0
- package/transport/dist/transport.js +75 -0
- package/transport/dist/transport.js.map +1 -0
- package/transport/dist/types.d.ts +162 -0
- package/transport/dist/types.d.ts.map +1 -0
- package/transport/dist/types.js +21 -0
- package/transport/dist/types.js.map +1 -0
- package/transport/dist/wasm-compat.d.ts +2 -0
- package/transport/dist/wasm-compat.d.ts.map +1 -0
- package/transport/dist/wasm-compat.js +15 -0
- package/transport/dist/wasm-compat.js.map +1 -0
- package/transport/package.json +28 -0
package/ktor-ktor-utils.mjs
CHANGED
|
@@ -135,7 +135,7 @@ var imul = Math.imul;
|
|
|
135
135
|
//region block: pre-declaration
|
|
136
136
|
initMetadataForClass(AttributeKey, 'AttributeKey');
|
|
137
137
|
function get(key) {
|
|
138
|
-
var tmp0_elvis_lhs = this.
|
|
138
|
+
var tmp0_elvis_lhs = this.l3v(key);
|
|
139
139
|
var tmp;
|
|
140
140
|
if (tmp0_elvis_lhs == null) {
|
|
141
141
|
throw IllegalStateException_init_$Create$('No instance for key ' + key.toString());
|
|
@@ -145,7 +145,7 @@ function get(key) {
|
|
|
145
145
|
return tmp;
|
|
146
146
|
}
|
|
147
147
|
function set(key, value) {
|
|
148
|
-
this.
|
|
148
|
+
this.n3v(key, value);
|
|
149
149
|
}
|
|
150
150
|
initMetadataForInterface(Attributes, 'Attributes');
|
|
151
151
|
initMetadataForClass(CaseInsensitiveMap$KeySet$iterator$1);
|
|
@@ -167,18 +167,18 @@ initMetadataForClass(WasmJs, 'WasmJs', VOID, Platform);
|
|
|
167
167
|
initMetadataForClass(JsPlatform, 'JsPlatform', VOID, Enum);
|
|
168
168
|
initMetadataForClass(StringValuesBuilderImpl, 'StringValuesBuilderImpl', StringValuesBuilderImpl);
|
|
169
169
|
function get_0(name) {
|
|
170
|
-
var tmp0_safe_receiver = this.
|
|
170
|
+
var tmp0_safe_receiver = this.r3x(name);
|
|
171
171
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
172
172
|
}
|
|
173
173
|
function forEach(body) {
|
|
174
174
|
// Inline function 'kotlin.collections.forEach' call
|
|
175
|
-
var _iterator__ex2g4s = this.
|
|
175
|
+
var _iterator__ex2g4s = this.l3x().t();
|
|
176
176
|
while (_iterator__ex2g4s.u()) {
|
|
177
177
|
var element = _iterator__ex2g4s.v();
|
|
178
178
|
// Inline function 'kotlin.collections.component1' call
|
|
179
|
-
var k = element.
|
|
179
|
+
var k = element.o1();
|
|
180
180
|
// Inline function 'kotlin.collections.component2' call
|
|
181
|
-
var v = element.
|
|
181
|
+
var v = element.p1();
|
|
182
182
|
body(k, v);
|
|
183
183
|
}
|
|
184
184
|
return Unit_instance;
|
|
@@ -227,11 +227,11 @@ function AttributeKey(name, type) {
|
|
|
227
227
|
var tmp;
|
|
228
228
|
if (type === VOID) {
|
|
229
229
|
// Inline function 'io.ktor.util.reflect.typeInfo' call
|
|
230
|
-
var tmp_0 = PrimitiveClasses_getInstance().
|
|
230
|
+
var tmp_0 = PrimitiveClasses_getInstance().ob();
|
|
231
231
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
232
232
|
var tmp_1;
|
|
233
233
|
try {
|
|
234
|
-
tmp_1 = createKType(PrimitiveClasses_getInstance().
|
|
234
|
+
tmp_1 = createKType(PrimitiveClasses_getInstance().ob(), arrayOf([]), false);
|
|
235
235
|
} catch ($p) {
|
|
236
236
|
var tmp_2;
|
|
237
237
|
if ($p instanceof Error) {
|
|
@@ -248,10 +248,10 @@ function AttributeKey(name, type) {
|
|
|
248
248
|
tmp = type;
|
|
249
249
|
}
|
|
250
250
|
type = tmp;
|
|
251
|
-
this.
|
|
252
|
-
this.
|
|
251
|
+
this.i3v_1 = name;
|
|
252
|
+
this.j3v_1 = type;
|
|
253
253
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
254
|
-
var this_0 = this.
|
|
254
|
+
var this_0 = this.i3v_1;
|
|
255
255
|
// Inline function 'kotlin.require' call
|
|
256
256
|
if (!!isBlank(this_0)) {
|
|
257
257
|
var message = "Name can't be blank";
|
|
@@ -259,11 +259,11 @@ function AttributeKey(name, type) {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
protoOf(AttributeKey).toString = function () {
|
|
262
|
-
return 'AttributeKey: ' + this.
|
|
262
|
+
return 'AttributeKey: ' + this.i3v_1;
|
|
263
263
|
};
|
|
264
264
|
protoOf(AttributeKey).hashCode = function () {
|
|
265
|
-
var result = getStringHashCode(this.
|
|
266
|
-
result = imul(result, 31) + this.
|
|
265
|
+
var result = getStringHashCode(this.i3v_1);
|
|
266
|
+
result = imul(result, 31) + this.j3v_1.hashCode() | 0;
|
|
267
267
|
return result;
|
|
268
268
|
};
|
|
269
269
|
protoOf(AttributeKey).equals = function (other) {
|
|
@@ -271,9 +271,9 @@ protoOf(AttributeKey).equals = function (other) {
|
|
|
271
271
|
return true;
|
|
272
272
|
if (!(other instanceof AttributeKey))
|
|
273
273
|
return false;
|
|
274
|
-
if (!(this.
|
|
274
|
+
if (!(this.i3v_1 === other.i3v_1))
|
|
275
275
|
return false;
|
|
276
|
-
if (!this.
|
|
276
|
+
if (!this.j3v_1.equals(other.j3v_1))
|
|
277
277
|
return false;
|
|
278
278
|
return true;
|
|
279
279
|
};
|
|
@@ -281,40 +281,40 @@ function Attributes() {
|
|
|
281
281
|
}
|
|
282
282
|
function putAll(_this__u8e3s4, other) {
|
|
283
283
|
// Inline function 'kotlin.collections.forEach' call
|
|
284
|
-
var _iterator__ex2g4s = other.
|
|
284
|
+
var _iterator__ex2g4s = other.r3v().t();
|
|
285
285
|
while (_iterator__ex2g4s.u()) {
|
|
286
286
|
var element = _iterator__ex2g4s.v();
|
|
287
|
-
_this__u8e3s4.
|
|
287
|
+
_this__u8e3s4.n3v(element instanceof AttributeKey ? element : THROW_CCE(), other.k3v(element));
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
function advance($this) {
|
|
291
|
-
$l$loop: while ($this.
|
|
292
|
-
var idx = $this.
|
|
293
|
-
if (idx >= 0 && !($this.
|
|
291
|
+
$l$loop: while ($this.s3v_1 < $this.u3v_1.z3v_1) {
|
|
292
|
+
var idx = $this.u3v_1.y3v_1[$this.s3v_1];
|
|
293
|
+
if (idx >= 0 && !($this.u3v_1.v3v_1[idx] == null))
|
|
294
294
|
break $l$loop;
|
|
295
|
-
$this.
|
|
295
|
+
$this.s3v_1 = $this.s3v_1 + 1 | 0;
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
function CaseInsensitiveMap$KeySet$iterator$1(this$0) {
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
299
|
+
this.u3v_1 = this$0;
|
|
300
|
+
this.s3v_1 = 0;
|
|
301
|
+
this.t3v_1 = null;
|
|
302
302
|
advance(this);
|
|
303
303
|
}
|
|
304
304
|
protoOf(CaseInsensitiveMap$KeySet$iterator$1).u = function () {
|
|
305
|
-
return this.
|
|
305
|
+
return this.s3v_1 < this.u3v_1.z3v_1;
|
|
306
306
|
};
|
|
307
307
|
protoOf(CaseInsensitiveMap$KeySet$iterator$1).v = function () {
|
|
308
308
|
if (!this.u())
|
|
309
309
|
throw NoSuchElementException_init_$Create$();
|
|
310
|
-
var idx = this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
310
|
+
var idx = this.u3v_1.y3v_1[this.s3v_1];
|
|
311
|
+
this.t3v_1 = ensureNotNull(this.u3v_1.v3v_1[idx]);
|
|
312
|
+
this.s3v_1 = this.s3v_1 + 1 | 0;
|
|
313
313
|
advance(this);
|
|
314
|
-
return ensureNotNull(this.
|
|
314
|
+
return ensureNotNull(this.t3v_1);
|
|
315
315
|
};
|
|
316
|
-
protoOf(CaseInsensitiveMap$KeySet$iterator$1).
|
|
317
|
-
var tmp0_elvis_lhs = this.
|
|
316
|
+
protoOf(CaseInsensitiveMap$KeySet$iterator$1).h4 = function () {
|
|
317
|
+
var tmp0_elvis_lhs = this.t3v_1;
|
|
318
318
|
var tmp;
|
|
319
319
|
if (tmp0_elvis_lhs == null) {
|
|
320
320
|
throw IllegalStateException_init_$Create$('next() must be called before remove()');
|
|
@@ -322,39 +322,39 @@ protoOf(CaseInsensitiveMap$KeySet$iterator$1).e4 = function () {
|
|
|
322
322
|
tmp = tmp0_elvis_lhs;
|
|
323
323
|
}
|
|
324
324
|
var key = tmp;
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
325
|
+
this.u3v_1.d3w(key);
|
|
326
|
+
this.t3v_1 = null;
|
|
327
327
|
};
|
|
328
328
|
function advance_0($this) {
|
|
329
|
-
$l$loop: while ($this.
|
|
330
|
-
var idx = $this.
|
|
331
|
-
if (idx >= 0 && !($this.
|
|
329
|
+
$l$loop: while ($this.e3w_1 < $this.g3w_1.z3v_1) {
|
|
330
|
+
var idx = $this.g3w_1.y3v_1[$this.e3w_1];
|
|
331
|
+
if (idx >= 0 && !($this.g3w_1.v3v_1[idx] == null))
|
|
332
332
|
break $l$loop;
|
|
333
|
-
$this.
|
|
333
|
+
$this.e3w_1 = $this.e3w_1 + 1 | 0;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
function CaseInsensitiveMap$ValueCollection$iterator$1(this$0) {
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
337
|
+
this.g3w_1 = this$0;
|
|
338
|
+
this.e3w_1 = 0;
|
|
339
|
+
this.f3w_1 = null;
|
|
340
340
|
advance_0(this);
|
|
341
341
|
}
|
|
342
342
|
protoOf(CaseInsensitiveMap$ValueCollection$iterator$1).u = function () {
|
|
343
|
-
return this.
|
|
343
|
+
return this.e3w_1 < this.g3w_1.z3v_1;
|
|
344
344
|
};
|
|
345
345
|
protoOf(CaseInsensitiveMap$ValueCollection$iterator$1).v = function () {
|
|
346
346
|
if (!this.u())
|
|
347
347
|
throw NoSuchElementException_init_$Create$();
|
|
348
|
-
var idx = this.
|
|
349
|
-
this.
|
|
350
|
-
var tmp = this.
|
|
348
|
+
var idx = this.g3w_1.y3v_1[this.e3w_1];
|
|
349
|
+
this.f3w_1 = ensureNotNull(this.g3w_1.v3v_1[idx]);
|
|
350
|
+
var tmp = this.g3w_1.w3v_1[idx];
|
|
351
351
|
var result = !(tmp == null) ? tmp : THROW_CCE();
|
|
352
|
-
this.
|
|
352
|
+
this.e3w_1 = this.e3w_1 + 1 | 0;
|
|
353
353
|
advance_0(this);
|
|
354
354
|
return result;
|
|
355
355
|
};
|
|
356
|
-
protoOf(CaseInsensitiveMap$ValueCollection$iterator$1).
|
|
357
|
-
var tmp0_elvis_lhs = this.
|
|
356
|
+
protoOf(CaseInsensitiveMap$ValueCollection$iterator$1).h4 = function () {
|
|
357
|
+
var tmp0_elvis_lhs = this.f3w_1;
|
|
358
358
|
var tmp;
|
|
359
359
|
if (tmp0_elvis_lhs == null) {
|
|
360
360
|
throw IllegalStateException_init_$Create$('next() must be called before remove()');
|
|
@@ -362,40 +362,40 @@ protoOf(CaseInsensitiveMap$ValueCollection$iterator$1).e4 = function () {
|
|
|
362
362
|
tmp = tmp0_elvis_lhs;
|
|
363
363
|
}
|
|
364
364
|
var key = tmp;
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
365
|
+
this.g3w_1.d3w(key);
|
|
366
|
+
this.f3w_1 = null;
|
|
367
367
|
};
|
|
368
368
|
function advance_1($this) {
|
|
369
|
-
$l$loop: while ($this.
|
|
370
|
-
var idx = $this.
|
|
371
|
-
if (idx >= 0 && !($this.
|
|
369
|
+
$l$loop: while ($this.h3w_1 < $this.j3w_1.z3v_1) {
|
|
370
|
+
var idx = $this.j3w_1.y3v_1[$this.h3w_1];
|
|
371
|
+
if (idx >= 0 && !($this.j3w_1.v3v_1[idx] == null))
|
|
372
372
|
break $l$loop;
|
|
373
|
-
$this.
|
|
373
|
+
$this.h3w_1 = $this.h3w_1 + 1 | 0;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
function CaseInsensitiveMap$EntrySet$iterator$1(this$0) {
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
377
|
+
this.j3w_1 = this$0;
|
|
378
|
+
this.h3w_1 = 0;
|
|
379
|
+
this.i3w_1 = null;
|
|
380
380
|
advance_1(this);
|
|
381
381
|
}
|
|
382
382
|
protoOf(CaseInsensitiveMap$EntrySet$iterator$1).u = function () {
|
|
383
|
-
return this.
|
|
383
|
+
return this.h3w_1 < this.j3w_1.z3v_1;
|
|
384
384
|
};
|
|
385
385
|
protoOf(CaseInsensitiveMap$EntrySet$iterator$1).v = function () {
|
|
386
386
|
if (!this.u())
|
|
387
387
|
throw NoSuchElementException_init_$Create$();
|
|
388
|
-
var idx = this.
|
|
389
|
-
this.
|
|
390
|
-
var tmp = ensureNotNull(this.
|
|
391
|
-
var tmp_0 = this.
|
|
392
|
-
var entry = new MapEntry(this.
|
|
393
|
-
this.
|
|
388
|
+
var idx = this.j3w_1.y3v_1[this.h3w_1];
|
|
389
|
+
this.i3w_1 = ensureNotNull(this.j3w_1.v3v_1[idx]);
|
|
390
|
+
var tmp = ensureNotNull(this.i3w_1);
|
|
391
|
+
var tmp_0 = this.j3w_1.w3v_1[idx];
|
|
392
|
+
var entry = new MapEntry(this.j3w_1, tmp, !(tmp_0 == null) ? tmp_0 : THROW_CCE());
|
|
393
|
+
this.h3w_1 = this.h3w_1 + 1 | 0;
|
|
394
394
|
advance_1(this);
|
|
395
395
|
return entry;
|
|
396
396
|
};
|
|
397
|
-
protoOf(CaseInsensitiveMap$EntrySet$iterator$1).
|
|
398
|
-
var tmp0_elvis_lhs = this.
|
|
397
|
+
protoOf(CaseInsensitiveMap$EntrySet$iterator$1).h4 = function () {
|
|
398
|
+
var tmp0_elvis_lhs = this.i3w_1;
|
|
399
399
|
var tmp;
|
|
400
400
|
if (tmp0_elvis_lhs == null) {
|
|
401
401
|
throw IllegalStateException_init_$Create$('next() must be called before remove()');
|
|
@@ -403,8 +403,8 @@ protoOf(CaseInsensitiveMap$EntrySet$iterator$1).e4 = function () {
|
|
|
403
403
|
tmp = tmp0_elvis_lhs;
|
|
404
404
|
}
|
|
405
405
|
var key = tmp;
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
406
|
+
this.j3w_1.d3w(key);
|
|
407
|
+
this.i3w_1 = null;
|
|
408
408
|
};
|
|
409
409
|
function caseInsensitiveHashCode($this, s) {
|
|
410
410
|
var h = 0;
|
|
@@ -430,52 +430,52 @@ function caseInsensitiveHashCode($this, s) {
|
|
|
430
430
|
}
|
|
431
431
|
function putWithoutTrackingOrderReturnIndex($this, key, value) {
|
|
432
432
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
433
|
-
var index = hash & ($this.
|
|
433
|
+
var index = hash & ($this.v3v_1.length - 1 | 0);
|
|
434
434
|
while (true) {
|
|
435
|
-
var existingKey = $this.
|
|
435
|
+
var existingKey = $this.v3v_1[index];
|
|
436
436
|
if (existingKey == null) {
|
|
437
|
-
$this.
|
|
438
|
-
$this.
|
|
439
|
-
$this.
|
|
437
|
+
$this.v3v_1[index] = key;
|
|
438
|
+
$this.w3v_1[index] = value;
|
|
439
|
+
$this.x3v_1 = $this.x3v_1 + 1 | 0;
|
|
440
440
|
return index;
|
|
441
441
|
}
|
|
442
442
|
if (equals(existingKey, key, true)) {
|
|
443
|
-
$this.
|
|
443
|
+
$this.w3v_1[index] = value;
|
|
444
444
|
return index;
|
|
445
445
|
}
|
|
446
|
-
index = (index + 1 | 0) & ($this.
|
|
446
|
+
index = (index + 1 | 0) & ($this.v3v_1.length - 1 | 0);
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
function findIndex($this, key) {
|
|
450
|
-
if ($this.
|
|
450
|
+
if ($this.x3v_1 === 0)
|
|
451
451
|
return -1;
|
|
452
452
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
453
|
-
var index = hash & ($this.
|
|
453
|
+
var index = hash & ($this.v3v_1.length - 1 | 0);
|
|
454
454
|
while (true) {
|
|
455
|
-
var existingKey = $this.
|
|
455
|
+
var existingKey = $this.v3v_1[index];
|
|
456
456
|
if (existingKey == null)
|
|
457
457
|
return -1;
|
|
458
458
|
if (equals(existingKey, key, true))
|
|
459
459
|
return index;
|
|
460
|
-
index = (index + 1 | 0) & ($this.
|
|
460
|
+
index = (index + 1 | 0) & ($this.v3v_1.length - 1 | 0);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function ensureCapacity($this) {
|
|
464
|
-
if (imul($this.
|
|
465
|
-
resize($this, imul($this.
|
|
464
|
+
if (imul($this.x3v_1, 4) >= imul($this.v3v_1.length, 3)) {
|
|
465
|
+
resize($this, imul($this.v3v_1.length, 2));
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
function resize($this, newCapacity) {
|
|
469
|
-
var oldKeys = $this.
|
|
470
|
-
var oldValues = $this.
|
|
471
|
-
var oldInsertionOrder = $this.
|
|
472
|
-
var oldInsertionCount = $this.
|
|
469
|
+
var oldKeys = $this.v3v_1;
|
|
470
|
+
var oldValues = $this.w3v_1;
|
|
471
|
+
var oldInsertionOrder = $this.y3v_1;
|
|
472
|
+
var oldInsertionCount = $this.z3v_1;
|
|
473
473
|
var tmp = $this;
|
|
474
474
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
475
|
-
tmp.
|
|
475
|
+
tmp.v3v_1 = Array(newCapacity);
|
|
476
476
|
var tmp_0 = $this;
|
|
477
477
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
478
|
-
tmp_0.
|
|
478
|
+
tmp_0.w3v_1 = Array(newCapacity);
|
|
479
479
|
var tmp_1 = $this;
|
|
480
480
|
var tmp_2 = 0;
|
|
481
481
|
var tmp_3 = new Int32Array(newCapacity);
|
|
@@ -483,9 +483,9 @@ function resize($this, newCapacity) {
|
|
|
483
483
|
tmp_3[tmp_2] = -1;
|
|
484
484
|
tmp_2 = tmp_2 + 1 | 0;
|
|
485
485
|
}
|
|
486
|
-
tmp_1.
|
|
487
|
-
$this.
|
|
488
|
-
$this.
|
|
486
|
+
tmp_1.y3v_1 = tmp_3;
|
|
487
|
+
$this.x3v_1 = 0;
|
|
488
|
+
$this.z3v_1 = 0;
|
|
489
489
|
var inductionVariable = 0;
|
|
490
490
|
if (inductionVariable < oldInsertionCount)
|
|
491
491
|
do {
|
|
@@ -495,24 +495,24 @@ function resize($this, newCapacity) {
|
|
|
495
495
|
if (oldIndex >= 0 && !(oldKeys[oldIndex] == null)) {
|
|
496
496
|
var tmp_4 = ensureNotNull(oldKeys[oldIndex]);
|
|
497
497
|
var tmp_5 = oldValues[oldIndex];
|
|
498
|
-
$this.
|
|
498
|
+
$this.k3w(tmp_4, !(tmp_5 == null) ? tmp_5 : THROW_CCE());
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
while (inductionVariable < oldInsertionCount);
|
|
502
502
|
}
|
|
503
503
|
function compactInsertionOrder($this) {
|
|
504
|
-
if ($this.
|
|
504
|
+
if ($this.z3v_1 === 0)
|
|
505
505
|
return Unit_instance;
|
|
506
506
|
var writeIndex = 0;
|
|
507
507
|
var inductionVariable = 0;
|
|
508
|
-
var last = $this.
|
|
508
|
+
var last = $this.z3v_1;
|
|
509
509
|
if (inductionVariable < last)
|
|
510
510
|
do {
|
|
511
511
|
var i = inductionVariable;
|
|
512
512
|
inductionVariable = inductionVariable + 1 | 0;
|
|
513
|
-
var idx = $this.
|
|
514
|
-
if (idx >= 0 && !($this.
|
|
515
|
-
var tmp = $this.
|
|
513
|
+
var idx = $this.y3v_1[i];
|
|
514
|
+
if (idx >= 0 && !($this.v3v_1[idx] == null)) {
|
|
515
|
+
var tmp = $this.y3v_1;
|
|
516
516
|
var _unary__edvuaz = writeIndex;
|
|
517
517
|
writeIndex = _unary__edvuaz + 1 | 0;
|
|
518
518
|
tmp[_unary__edvuaz] = idx;
|
|
@@ -520,104 +520,112 @@ function compactInsertionOrder($this) {
|
|
|
520
520
|
}
|
|
521
521
|
while (inductionVariable < last);
|
|
522
522
|
var inductionVariable_0 = writeIndex;
|
|
523
|
-
var last_0 = $this.
|
|
523
|
+
var last_0 = $this.y3v_1.length;
|
|
524
524
|
if (inductionVariable_0 < last_0)
|
|
525
525
|
do {
|
|
526
526
|
var i_0 = inductionVariable_0;
|
|
527
527
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
528
|
-
$this.
|
|
528
|
+
$this.y3v_1[i_0] = -1;
|
|
529
529
|
}
|
|
530
530
|
while (inductionVariable_0 < last_0);
|
|
531
|
-
$this.
|
|
531
|
+
$this.z3v_1 = writeIndex;
|
|
532
532
|
}
|
|
533
533
|
function KeySet($outer) {
|
|
534
|
-
this.
|
|
534
|
+
this.l3w_1 = $outer;
|
|
535
535
|
AbstractMutableSet.call(this);
|
|
536
536
|
}
|
|
537
|
-
protoOf(KeySet).
|
|
538
|
-
return this.
|
|
537
|
+
protoOf(KeySet).e1 = function () {
|
|
538
|
+
return this.l3w_1.x3v_1;
|
|
539
539
|
};
|
|
540
|
-
protoOf(KeySet).
|
|
540
|
+
protoOf(KeySet).m3w = function (element) {
|
|
541
541
|
throw UnsupportedOperationException_init_$Create$('CaseInsensitiveMap.keys does not support add');
|
|
542
542
|
};
|
|
543
543
|
protoOf(KeySet).b1 = function (element) {
|
|
544
|
-
return this.
|
|
544
|
+
return this.m3w((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
545
545
|
};
|
|
546
|
-
protoOf(KeySet).
|
|
547
|
-
return this.
|
|
546
|
+
protoOf(KeySet).n3w = function (element) {
|
|
547
|
+
return this.l3w_1.s1c(element);
|
|
548
548
|
};
|
|
549
|
-
protoOf(KeySet).
|
|
549
|
+
protoOf(KeySet).d1 = function (element) {
|
|
550
550
|
if (!(!(element == null) ? typeof element === 'string' : false))
|
|
551
551
|
return false;
|
|
552
|
-
return this.
|
|
552
|
+
return this.n3w((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
553
|
+
};
|
|
554
|
+
protoOf(KeySet).d3w = function (element) {
|
|
555
|
+
return !(this.l3w_1.d3w(element) == null);
|
|
556
|
+
};
|
|
557
|
+
protoOf(KeySet).v2 = function (element) {
|
|
558
|
+
if (!(!(element == null) ? typeof element === 'string' : false))
|
|
559
|
+
return false;
|
|
560
|
+
return this.d3w((!(element == null) ? typeof element === 'string' : false) ? element : THROW_CCE());
|
|
553
561
|
};
|
|
554
562
|
protoOf(KeySet).t = function () {
|
|
555
|
-
return new CaseInsensitiveMap$KeySet$iterator$1(this.
|
|
563
|
+
return new CaseInsensitiveMap$KeySet$iterator$1(this.l3w_1);
|
|
556
564
|
};
|
|
557
565
|
function ValueCollection($outer) {
|
|
558
|
-
this.
|
|
566
|
+
this.o3w_1 = $outer;
|
|
559
567
|
AbstractMutableCollection.call(this);
|
|
560
568
|
}
|
|
561
|
-
protoOf(ValueCollection).
|
|
562
|
-
return this.
|
|
569
|
+
protoOf(ValueCollection).e1 = function () {
|
|
570
|
+
return this.o3w_1.x3v_1;
|
|
563
571
|
};
|
|
564
|
-
protoOf(ValueCollection).
|
|
572
|
+
protoOf(ValueCollection).p3w = function (element) {
|
|
565
573
|
throw UnsupportedOperationException_init_$Create$('CaseInsensitiveMap.values does not support add');
|
|
566
574
|
};
|
|
567
575
|
protoOf(ValueCollection).b1 = function (element) {
|
|
568
|
-
return this.
|
|
576
|
+
return this.p3w(!(element == null) ? element : THROW_CCE());
|
|
569
577
|
};
|
|
570
578
|
protoOf(ValueCollection).t = function () {
|
|
571
|
-
return new CaseInsensitiveMap$ValueCollection$iterator$1(this.
|
|
579
|
+
return new CaseInsensitiveMap$ValueCollection$iterator$1(this.o3w_1);
|
|
572
580
|
};
|
|
573
581
|
function EntrySet($outer) {
|
|
574
|
-
this.
|
|
582
|
+
this.q3w_1 = $outer;
|
|
575
583
|
AbstractMutableSet.call(this);
|
|
576
584
|
}
|
|
577
|
-
protoOf(EntrySet).
|
|
578
|
-
return this.
|
|
585
|
+
protoOf(EntrySet).e1 = function () {
|
|
586
|
+
return this.q3w_1.x3v_1;
|
|
579
587
|
};
|
|
580
|
-
protoOf(EntrySet).
|
|
588
|
+
protoOf(EntrySet).r3w = function (element) {
|
|
581
589
|
throw UnsupportedOperationException_init_$Create$('CaseInsensitiveMap.entries does not support add');
|
|
582
590
|
};
|
|
583
591
|
protoOf(EntrySet).b1 = function (element) {
|
|
584
|
-
return this.
|
|
592
|
+
return this.r3w((!(element == null) ? isInterface(element, MutableEntry) : false) ? element : THROW_CCE());
|
|
585
593
|
};
|
|
586
594
|
protoOf(EntrySet).t = function () {
|
|
587
|
-
return new CaseInsensitiveMap$EntrySet$iterator$1(this.
|
|
595
|
+
return new CaseInsensitiveMap$EntrySet$iterator$1(this.q3w_1);
|
|
588
596
|
};
|
|
589
597
|
function MapEntry($outer, key, _value) {
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
598
|
+
this.u3w_1 = $outer;
|
|
599
|
+
this.s3w_1 = key;
|
|
600
|
+
this.t3w_1 = _value;
|
|
593
601
|
}
|
|
594
|
-
protoOf(MapEntry).
|
|
595
|
-
return this.
|
|
602
|
+
protoOf(MapEntry).o1 = function () {
|
|
603
|
+
return this.s3w_1;
|
|
596
604
|
};
|
|
597
|
-
protoOf(MapEntry).
|
|
598
|
-
return this.
|
|
605
|
+
protoOf(MapEntry).p1 = function () {
|
|
606
|
+
return this.t3w_1;
|
|
599
607
|
};
|
|
600
608
|
protoOf(MapEntry).equals = function (other) {
|
|
601
609
|
if (!(!(other == null) ? isInterface(other, Entry) : false))
|
|
602
610
|
return false;
|
|
603
|
-
return equals_0(this.
|
|
611
|
+
return equals_0(this.s3w_1, other.o1()) && equals_0(this.p1(), other.p1());
|
|
604
612
|
};
|
|
605
613
|
protoOf(MapEntry).hashCode = function () {
|
|
606
|
-
return getStringHashCode(this.
|
|
614
|
+
return getStringHashCode(this.s3w_1) ^ hashCode(this.p1());
|
|
607
615
|
};
|
|
608
616
|
protoOf(MapEntry).toString = function () {
|
|
609
|
-
return this.
|
|
617
|
+
return this.s3w_1 + '=' + toString(this.p1());
|
|
610
618
|
};
|
|
611
619
|
function Companion() {
|
|
612
620
|
Companion_instance_0 = this;
|
|
613
|
-
this.
|
|
621
|
+
this.v3w_1 = 8;
|
|
614
622
|
var tmp = this;
|
|
615
623
|
// Inline function 'kotlin.emptyArray' call
|
|
616
|
-
tmp.
|
|
624
|
+
tmp.w3w_1 = [];
|
|
617
625
|
var tmp_0 = this;
|
|
618
626
|
// Inline function 'kotlin.emptyArray' call
|
|
619
|
-
tmp_0.
|
|
620
|
-
this.
|
|
627
|
+
tmp_0.x3w_1 = [];
|
|
628
|
+
this.y3w_1 = new Int32Array(0);
|
|
621
629
|
}
|
|
622
630
|
var Companion_instance_0;
|
|
623
631
|
function Companion_getInstance() {
|
|
@@ -627,55 +635,55 @@ function Companion_getInstance() {
|
|
|
627
635
|
}
|
|
628
636
|
function CaseInsensitiveMap() {
|
|
629
637
|
Companion_getInstance();
|
|
630
|
-
this.
|
|
631
|
-
this.
|
|
632
|
-
this.
|
|
633
|
-
this.
|
|
634
|
-
this.
|
|
635
|
-
this.
|
|
636
|
-
this.
|
|
637
|
-
this.
|
|
638
|
-
}
|
|
639
|
-
protoOf(CaseInsensitiveMap).
|
|
640
|
-
return this.
|
|
641
|
-
};
|
|
642
|
-
protoOf(CaseInsensitiveMap).
|
|
638
|
+
this.v3v_1 = Companion_getInstance().w3w_1;
|
|
639
|
+
this.w3v_1 = Companion_getInstance().x3w_1;
|
|
640
|
+
this.x3v_1 = 0;
|
|
641
|
+
this.y3v_1 = Companion_getInstance().y3w_1;
|
|
642
|
+
this.z3v_1 = 0;
|
|
643
|
+
this.a3w_1 = null;
|
|
644
|
+
this.b3w_1 = null;
|
|
645
|
+
this.c3w_1 = null;
|
|
646
|
+
}
|
|
647
|
+
protoOf(CaseInsensitiveMap).e1 = function () {
|
|
648
|
+
return this.x3v_1;
|
|
649
|
+
};
|
|
650
|
+
protoOf(CaseInsensitiveMap).s1c = function (key) {
|
|
643
651
|
return findIndex(this, key) >= 0;
|
|
644
652
|
};
|
|
645
|
-
protoOf(CaseInsensitiveMap).
|
|
653
|
+
protoOf(CaseInsensitiveMap).q2 = function (key) {
|
|
646
654
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
647
655
|
return false;
|
|
648
|
-
return this.
|
|
656
|
+
return this.s1c((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
649
657
|
};
|
|
650
|
-
protoOf(CaseInsensitiveMap).
|
|
658
|
+
protoOf(CaseInsensitiveMap).sd = function (key) {
|
|
651
659
|
var index = findIndex(this, key);
|
|
652
|
-
return index >= 0 ? this.
|
|
660
|
+
return index >= 0 ? this.w3v_1[index] : null;
|
|
653
661
|
};
|
|
654
|
-
protoOf(CaseInsensitiveMap).
|
|
662
|
+
protoOf(CaseInsensitiveMap).s2 = function (key) {
|
|
655
663
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
656
664
|
return null;
|
|
657
|
-
return this.
|
|
665
|
+
return this.sd((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
658
666
|
};
|
|
659
667
|
protoOf(CaseInsensitiveMap).r = function () {
|
|
660
|
-
return this.
|
|
668
|
+
return this.x3v_1 === 0;
|
|
661
669
|
};
|
|
662
|
-
protoOf(CaseInsensitiveMap).
|
|
663
|
-
if (this.
|
|
664
|
-
fill(this.
|
|
665
|
-
fill(this.
|
|
666
|
-
fill_0(this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
670
|
+
protoOf(CaseInsensitiveMap).w2 = function () {
|
|
671
|
+
if (this.x3v_1 > 0) {
|
|
672
|
+
fill(this.v3v_1, null);
|
|
673
|
+
fill(this.w3v_1, null);
|
|
674
|
+
fill_0(this.y3v_1, -1);
|
|
675
|
+
this.x3v_1 = 0;
|
|
676
|
+
this.z3v_1 = 0;
|
|
669
677
|
}
|
|
670
678
|
};
|
|
671
|
-
protoOf(CaseInsensitiveMap).
|
|
672
|
-
if (this.
|
|
679
|
+
protoOf(CaseInsensitiveMap).k3w = function (key, value) {
|
|
680
|
+
if (this.v3v_1 === Companion_getInstance().w3w_1) {
|
|
673
681
|
var tmp = this;
|
|
674
682
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
675
|
-
tmp.
|
|
683
|
+
tmp.v3v_1 = Array(8);
|
|
676
684
|
var tmp_0 = this;
|
|
677
685
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
678
|
-
tmp_0.
|
|
686
|
+
tmp_0.w3v_1 = Array(8);
|
|
679
687
|
var tmp_1 = this;
|
|
680
688
|
var tmp_2 = 0;
|
|
681
689
|
var tmp_3 = new Int32Array(8);
|
|
@@ -683,141 +691,141 @@ protoOf(CaseInsensitiveMap).u3e = function (key, value) {
|
|
|
683
691
|
tmp_3[tmp_2] = -1;
|
|
684
692
|
tmp_2 = tmp_2 + 1 | 0;
|
|
685
693
|
}
|
|
686
|
-
tmp_1.
|
|
694
|
+
tmp_1.y3v_1 = tmp_3;
|
|
687
695
|
}
|
|
688
696
|
var hash = caseInsensitiveHashCode(Companion_getInstance(), key);
|
|
689
|
-
var index = hash & (this.
|
|
697
|
+
var index = hash & (this.v3v_1.length - 1 | 0);
|
|
690
698
|
while (true) {
|
|
691
|
-
var existingKey = this.
|
|
699
|
+
var existingKey = this.v3v_1[index];
|
|
692
700
|
if (existingKey == null) {
|
|
693
701
|
ensureCapacity(this);
|
|
694
|
-
index = hash & (this.
|
|
695
|
-
while (!(this.
|
|
696
|
-
index = (index + 1 | 0) & (this.
|
|
702
|
+
index = hash & (this.v3v_1.length - 1 | 0);
|
|
703
|
+
while (!(this.v3v_1[index] == null)) {
|
|
704
|
+
index = (index + 1 | 0) & (this.v3v_1.length - 1 | 0);
|
|
697
705
|
}
|
|
698
|
-
if (this.
|
|
706
|
+
if (this.z3v_1 === this.y3v_1.length) {
|
|
699
707
|
compactInsertionOrder(this);
|
|
700
708
|
}
|
|
701
|
-
this.
|
|
702
|
-
this.
|
|
703
|
-
var tmp_4 = this.
|
|
704
|
-
var _unary__edvuaz = this.
|
|
705
|
-
this.
|
|
709
|
+
this.v3v_1[index] = key;
|
|
710
|
+
this.w3v_1[index] = value;
|
|
711
|
+
var tmp_4 = this.y3v_1;
|
|
712
|
+
var _unary__edvuaz = this.z3v_1;
|
|
713
|
+
this.z3v_1 = _unary__edvuaz + 1 | 0;
|
|
706
714
|
tmp_4[_unary__edvuaz] = index;
|
|
707
|
-
this.
|
|
715
|
+
this.x3v_1 = this.x3v_1 + 1 | 0;
|
|
708
716
|
return null;
|
|
709
717
|
}
|
|
710
718
|
if (equals(existingKey, key, true)) {
|
|
711
|
-
var oldValue = this.
|
|
712
|
-
this.
|
|
719
|
+
var oldValue = this.w3v_1[index];
|
|
720
|
+
this.w3v_1[index] = value;
|
|
713
721
|
return oldValue;
|
|
714
722
|
}
|
|
715
|
-
index = (index + 1 | 0) & (this.
|
|
723
|
+
index = (index + 1 | 0) & (this.v3v_1.length - 1 | 0);
|
|
716
724
|
}
|
|
717
725
|
};
|
|
718
|
-
protoOf(CaseInsensitiveMap).
|
|
726
|
+
protoOf(CaseInsensitiveMap).b3 = function (key, value) {
|
|
719
727
|
var tmp = (!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE();
|
|
720
|
-
return this.
|
|
728
|
+
return this.k3w(tmp, !(value == null) ? value : THROW_CCE());
|
|
721
729
|
};
|
|
722
|
-
protoOf(CaseInsensitiveMap).
|
|
730
|
+
protoOf(CaseInsensitiveMap).z3w = function (from) {
|
|
723
731
|
// Inline function 'kotlin.collections.forEach' call
|
|
724
732
|
// Inline function 'kotlin.collections.iterator' call
|
|
725
|
-
var _iterator__ex2g4s = from.
|
|
733
|
+
var _iterator__ex2g4s = from.n1().t();
|
|
726
734
|
while (_iterator__ex2g4s.u()) {
|
|
727
735
|
var element = _iterator__ex2g4s.v();
|
|
728
736
|
// Inline function 'kotlin.collections.component1' call
|
|
729
|
-
var key = element.
|
|
737
|
+
var key = element.o1();
|
|
730
738
|
// Inline function 'kotlin.collections.component2' call
|
|
731
|
-
var value = element.
|
|
732
|
-
this.
|
|
739
|
+
var value = element.p1();
|
|
740
|
+
this.k3w(key, value);
|
|
733
741
|
}
|
|
734
742
|
};
|
|
735
|
-
protoOf(CaseInsensitiveMap).
|
|
736
|
-
return this.
|
|
743
|
+
protoOf(CaseInsensitiveMap).d3 = function (from) {
|
|
744
|
+
return this.z3w(from);
|
|
737
745
|
};
|
|
738
|
-
protoOf(CaseInsensitiveMap).
|
|
746
|
+
protoOf(CaseInsensitiveMap).d3w = function (key) {
|
|
739
747
|
var index = findIndex(this, key);
|
|
740
748
|
if (index < 0)
|
|
741
749
|
return null;
|
|
742
|
-
var oldValue = this.
|
|
750
|
+
var oldValue = this.w3v_1[index];
|
|
743
751
|
var inductionVariable = 0;
|
|
744
|
-
var last = this.
|
|
752
|
+
var last = this.z3v_1;
|
|
745
753
|
if (inductionVariable < last)
|
|
746
754
|
$l$loop: do {
|
|
747
755
|
var i = inductionVariable;
|
|
748
756
|
inductionVariable = inductionVariable + 1 | 0;
|
|
749
|
-
if (this.
|
|
750
|
-
this.
|
|
757
|
+
if (this.y3v_1[i] === index) {
|
|
758
|
+
this.y3v_1[i] = -1;
|
|
751
759
|
break $l$loop;
|
|
752
760
|
}
|
|
753
761
|
}
|
|
754
762
|
while (inductionVariable < last);
|
|
755
|
-
this.
|
|
756
|
-
this.
|
|
757
|
-
this.
|
|
758
|
-
var nextIndex = (index + 1 | 0) & (this.
|
|
759
|
-
while (!(this.
|
|
760
|
-
var rehashKey = ensureNotNull(this.
|
|
761
|
-
var rehashValue = this.
|
|
763
|
+
this.v3v_1[index] = null;
|
|
764
|
+
this.w3v_1[index] = null;
|
|
765
|
+
this.x3v_1 = this.x3v_1 - 1 | 0;
|
|
766
|
+
var nextIndex = (index + 1 | 0) & (this.v3v_1.length - 1 | 0);
|
|
767
|
+
while (!(this.v3v_1[nextIndex] == null)) {
|
|
768
|
+
var rehashKey = ensureNotNull(this.v3v_1[nextIndex]);
|
|
769
|
+
var rehashValue = this.w3v_1[nextIndex];
|
|
762
770
|
var oldRehashIndex = nextIndex;
|
|
763
|
-
this.
|
|
764
|
-
this.
|
|
765
|
-
this.
|
|
771
|
+
this.v3v_1[nextIndex] = null;
|
|
772
|
+
this.w3v_1[nextIndex] = null;
|
|
773
|
+
this.x3v_1 = this.x3v_1 - 1 | 0;
|
|
766
774
|
var newIndex = putWithoutTrackingOrderReturnIndex(this, rehashKey, !(rehashValue == null) ? rehashValue : THROW_CCE());
|
|
767
775
|
var inductionVariable_0 = 0;
|
|
768
|
-
var last_0 = this.
|
|
776
|
+
var last_0 = this.z3v_1;
|
|
769
777
|
if (inductionVariable_0 < last_0)
|
|
770
778
|
$l$loop_0: do {
|
|
771
779
|
var i_0 = inductionVariable_0;
|
|
772
780
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
773
|
-
if (this.
|
|
774
|
-
this.
|
|
781
|
+
if (this.y3v_1[i_0] === oldRehashIndex) {
|
|
782
|
+
this.y3v_1[i_0] = newIndex;
|
|
775
783
|
break $l$loop_0;
|
|
776
784
|
}
|
|
777
785
|
}
|
|
778
786
|
while (inductionVariable_0 < last_0);
|
|
779
|
-
nextIndex = (nextIndex + 1 | 0) & (this.
|
|
787
|
+
nextIndex = (nextIndex + 1 | 0) & (this.v3v_1.length - 1 | 0);
|
|
780
788
|
}
|
|
781
789
|
return oldValue;
|
|
782
790
|
};
|
|
783
|
-
protoOf(CaseInsensitiveMap).
|
|
791
|
+
protoOf(CaseInsensitiveMap).c3 = function (key) {
|
|
784
792
|
if (!(!(key == null) ? typeof key === 'string' : false))
|
|
785
793
|
return null;
|
|
786
|
-
return this.
|
|
794
|
+
return this.d3w((!(key == null) ? typeof key === 'string' : false) ? key : THROW_CCE());
|
|
787
795
|
};
|
|
788
|
-
protoOf(CaseInsensitiveMap).
|
|
789
|
-
var tmp0_elvis_lhs = this.
|
|
796
|
+
protoOf(CaseInsensitiveMap).t2 = function () {
|
|
797
|
+
var tmp0_elvis_lhs = this.a3w_1;
|
|
790
798
|
var tmp;
|
|
791
799
|
if (tmp0_elvis_lhs == null) {
|
|
792
800
|
// Inline function 'kotlin.also' call
|
|
793
801
|
var this_0 = new KeySet(this);
|
|
794
|
-
this.
|
|
802
|
+
this.a3w_1 = this_0;
|
|
795
803
|
tmp = this_0;
|
|
796
804
|
} else {
|
|
797
805
|
tmp = tmp0_elvis_lhs;
|
|
798
806
|
}
|
|
799
807
|
return tmp;
|
|
800
808
|
};
|
|
801
|
-
protoOf(CaseInsensitiveMap).
|
|
802
|
-
var tmp0_elvis_lhs = this.
|
|
809
|
+
protoOf(CaseInsensitiveMap).n1 = function () {
|
|
810
|
+
var tmp0_elvis_lhs = this.b3w_1;
|
|
803
811
|
var tmp;
|
|
804
812
|
if (tmp0_elvis_lhs == null) {
|
|
805
813
|
// Inline function 'kotlin.also' call
|
|
806
814
|
var this_0 = new EntrySet(this);
|
|
807
|
-
this.
|
|
815
|
+
this.b3w_1 = this_0;
|
|
808
816
|
tmp = this_0;
|
|
809
817
|
} else {
|
|
810
818
|
tmp = tmp0_elvis_lhs;
|
|
811
819
|
}
|
|
812
820
|
return tmp;
|
|
813
821
|
};
|
|
814
|
-
protoOf(CaseInsensitiveMap).
|
|
815
|
-
var tmp0_elvis_lhs = this.
|
|
822
|
+
protoOf(CaseInsensitiveMap).u2 = function () {
|
|
823
|
+
var tmp0_elvis_lhs = this.c3w_1;
|
|
816
824
|
var tmp;
|
|
817
825
|
if (tmp0_elvis_lhs == null) {
|
|
818
826
|
// Inline function 'kotlin.also' call
|
|
819
827
|
var this_0 = new ValueCollection(this);
|
|
820
|
-
this.
|
|
828
|
+
this.c3w_1 = this_0;
|
|
821
829
|
tmp = this_0;
|
|
822
830
|
} else {
|
|
823
831
|
tmp = tmp0_elvis_lhs;
|
|
@@ -829,18 +837,18 @@ protoOf(CaseInsensitiveMap).equals = function (other) {
|
|
|
829
837
|
return true;
|
|
830
838
|
if (!(other instanceof CaseInsensitiveMap))
|
|
831
839
|
return false;
|
|
832
|
-
if (!(other.
|
|
840
|
+
if (!(other.e1() === this.x3v_1))
|
|
833
841
|
return false;
|
|
834
842
|
var inductionVariable = 0;
|
|
835
|
-
var last = this.
|
|
843
|
+
var last = this.v3v_1.length - 1 | 0;
|
|
836
844
|
if (inductionVariable <= last)
|
|
837
845
|
do {
|
|
838
846
|
var i = inductionVariable;
|
|
839
847
|
inductionVariable = inductionVariable + 1 | 0;
|
|
840
|
-
var k = this.
|
|
848
|
+
var k = this.v3v_1[i];
|
|
841
849
|
if (!(k == null)) {
|
|
842
|
-
var v = this.
|
|
843
|
-
if (!equals_0(other.
|
|
850
|
+
var v = this.w3v_1[i];
|
|
851
|
+
if (!equals_0(other.sd(k), v))
|
|
844
852
|
return false;
|
|
845
853
|
}
|
|
846
854
|
}
|
|
@@ -850,16 +858,16 @@ protoOf(CaseInsensitiveMap).equals = function (other) {
|
|
|
850
858
|
protoOf(CaseInsensitiveMap).hashCode = function () {
|
|
851
859
|
var result = 0;
|
|
852
860
|
var inductionVariable = 0;
|
|
853
|
-
var last = this.
|
|
861
|
+
var last = this.v3v_1.length - 1 | 0;
|
|
854
862
|
if (inductionVariable <= last)
|
|
855
863
|
do {
|
|
856
864
|
var i = inductionVariable;
|
|
857
865
|
inductionVariable = inductionVariable + 1 | 0;
|
|
858
|
-
var k = this.
|
|
866
|
+
var k = this.v3v_1[i];
|
|
859
867
|
if (!(k == null)) {
|
|
860
868
|
var tmp = result;
|
|
861
869
|
var tmp_0 = caseInsensitiveHashCode(Companion_getInstance(), k);
|
|
862
|
-
var tmp0_safe_receiver = this.
|
|
870
|
+
var tmp0_safe_receiver = this.w3v_1[i];
|
|
863
871
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
864
872
|
result = tmp + (tmp_0 ^ (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs)) | 0;
|
|
865
873
|
}
|
|
@@ -894,12 +902,12 @@ function SilentSupervisor(parent) {
|
|
|
894
902
|
var tmp = SupervisorJob(parent);
|
|
895
903
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
896
904
|
var tmp$ret$0 = new SilentSupervisor$$inlined$CoroutineExceptionHandler$1();
|
|
897
|
-
return tmp.
|
|
905
|
+
return tmp.wh(tmp$ret$0);
|
|
898
906
|
}
|
|
899
907
|
function SilentSupervisor$$inlined$CoroutineExceptionHandler$1() {
|
|
900
908
|
AbstractCoroutineContextElement.call(this, Key_instance_0);
|
|
901
909
|
}
|
|
902
|
-
protoOf(SilentSupervisor$$inlined$CoroutineExceptionHandler$1).
|
|
910
|
+
protoOf(SilentSupervisor$$inlined$CoroutineExceptionHandler$1).l1v = function (context, exception) {
|
|
903
911
|
return Unit_instance;
|
|
904
912
|
};
|
|
905
913
|
var digits;
|
|
@@ -925,38 +933,38 @@ function PlatformUtils() {
|
|
|
925
933
|
var platform = get_platform(this);
|
|
926
934
|
var tmp_0;
|
|
927
935
|
if (platform instanceof Js) {
|
|
928
|
-
tmp_0 = platform.
|
|
936
|
+
tmp_0 = platform.c3x_1.equals(JsPlatform_Browser_getInstance());
|
|
929
937
|
} else {
|
|
930
938
|
if (platform instanceof WasmJs) {
|
|
931
|
-
tmp_0 = platform.
|
|
939
|
+
tmp_0 = platform.b3x_1.equals(JsPlatform_Browser_getInstance());
|
|
932
940
|
} else {
|
|
933
941
|
tmp_0 = false;
|
|
934
942
|
}
|
|
935
943
|
}
|
|
936
|
-
tmp.
|
|
944
|
+
tmp.d3x_1 = tmp_0;
|
|
937
945
|
var tmp_1 = this;
|
|
938
946
|
var platform_0 = get_platform(this);
|
|
939
947
|
var tmp_2;
|
|
940
948
|
if (platform_0 instanceof Js) {
|
|
941
|
-
tmp_2 = platform_0.
|
|
949
|
+
tmp_2 = platform_0.c3x_1.equals(JsPlatform_Node_getInstance());
|
|
942
950
|
} else {
|
|
943
951
|
if (platform_0 instanceof WasmJs) {
|
|
944
|
-
tmp_2 = platform_0.
|
|
952
|
+
tmp_2 = platform_0.b3x_1.equals(JsPlatform_Node_getInstance());
|
|
945
953
|
} else {
|
|
946
954
|
tmp_2 = false;
|
|
947
955
|
}
|
|
948
956
|
}
|
|
949
|
-
tmp_1.
|
|
957
|
+
tmp_1.e3x_1 = tmp_2;
|
|
950
958
|
var tmp_3 = this;
|
|
951
959
|
var tmp_4 = get_platform(this);
|
|
952
|
-
tmp_3.
|
|
960
|
+
tmp_3.f3x_1 = tmp_4 instanceof Js;
|
|
953
961
|
var tmp_5 = this;
|
|
954
962
|
var tmp_6 = get_platform(this);
|
|
955
|
-
tmp_5.
|
|
956
|
-
this.
|
|
957
|
-
this.
|
|
958
|
-
this.
|
|
959
|
-
this.
|
|
963
|
+
tmp_5.g3x_1 = tmp_6 instanceof WasmJs;
|
|
964
|
+
this.h3x_1 = equals_0(get_platform(this), Jvm_getInstance());
|
|
965
|
+
this.i3x_1 = equals_0(get_platform(this), Native_getInstance());
|
|
966
|
+
this.j3x_1 = get_isDevelopmentMode(this);
|
|
967
|
+
this.k3x_1 = true;
|
|
960
968
|
}
|
|
961
969
|
var PlatformUtils_instance;
|
|
962
970
|
function PlatformUtils_getInstance() {
|
|
@@ -1022,20 +1030,20 @@ function Native_getInstance() {
|
|
|
1022
1030
|
}
|
|
1023
1031
|
function Js(jsPlatform) {
|
|
1024
1032
|
Platform.call(this);
|
|
1025
|
-
this.
|
|
1033
|
+
this.c3x_1 = jsPlatform;
|
|
1026
1034
|
}
|
|
1027
1035
|
protoOf(Js).toString = function () {
|
|
1028
|
-
return 'Js(jsPlatform=' + this.
|
|
1036
|
+
return 'Js(jsPlatform=' + this.c3x_1.toString() + ')';
|
|
1029
1037
|
};
|
|
1030
1038
|
protoOf(Js).hashCode = function () {
|
|
1031
|
-
return this.
|
|
1039
|
+
return this.c3x_1.hashCode();
|
|
1032
1040
|
};
|
|
1033
1041
|
protoOf(Js).equals = function (other) {
|
|
1034
1042
|
if (this === other)
|
|
1035
1043
|
return true;
|
|
1036
1044
|
if (!(other instanceof Js))
|
|
1037
1045
|
return false;
|
|
1038
|
-
if (!this.
|
|
1046
|
+
if (!this.c3x_1.equals(other.c3x_1))
|
|
1039
1047
|
return false;
|
|
1040
1048
|
return true;
|
|
1041
1049
|
};
|
|
@@ -1057,27 +1065,27 @@ function Platform() {
|
|
|
1057
1065
|
function appendAll(_this__u8e3s4, builder) {
|
|
1058
1066
|
// Inline function 'kotlin.apply' call
|
|
1059
1067
|
// Inline function 'kotlin.collections.forEach' call
|
|
1060
|
-
var _iterator__ex2g4s = builder.
|
|
1068
|
+
var _iterator__ex2g4s = builder.l3x().t();
|
|
1061
1069
|
while (_iterator__ex2g4s.u()) {
|
|
1062
1070
|
var element = _iterator__ex2g4s.v();
|
|
1063
1071
|
// Inline function 'kotlin.collections.component1' call
|
|
1064
|
-
var name = element.
|
|
1072
|
+
var name = element.o1();
|
|
1065
1073
|
// Inline function 'kotlin.collections.component2' call
|
|
1066
|
-
var values = element.
|
|
1067
|
-
_this__u8e3s4.
|
|
1074
|
+
var values = element.p1();
|
|
1075
|
+
_this__u8e3s4.m3x(name, values);
|
|
1068
1076
|
}
|
|
1069
1077
|
return _this__u8e3s4;
|
|
1070
1078
|
}
|
|
1071
1079
|
function ensureListForKey($this, name) {
|
|
1072
|
-
var tmp0_elvis_lhs = $this.
|
|
1080
|
+
var tmp0_elvis_lhs = $this.o3x_1.s2(name);
|
|
1073
1081
|
var tmp;
|
|
1074
1082
|
if (tmp0_elvis_lhs == null) {
|
|
1075
1083
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1076
1084
|
// Inline function 'kotlin.also' call
|
|
1077
1085
|
var this_0 = ArrayList_init_$Create$();
|
|
1078
|
-
$this.
|
|
1086
|
+
$this.p3x(name);
|
|
1079
1087
|
// Inline function 'kotlin.collections.set' call
|
|
1080
|
-
$this.
|
|
1088
|
+
$this.o3x_1.b3(name, this_0);
|
|
1081
1089
|
tmp = this_0;
|
|
1082
1090
|
} else {
|
|
1083
1091
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1086,68 +1094,68 @@ function ensureListForKey($this, name) {
|
|
|
1086
1094
|
}
|
|
1087
1095
|
function StringValuesBuilderImpl$appendAll$lambda(this$0) {
|
|
1088
1096
|
return function (name, values) {
|
|
1089
|
-
this$0.
|
|
1097
|
+
this$0.m3x(name, values);
|
|
1090
1098
|
return Unit_instance;
|
|
1091
1099
|
};
|
|
1092
1100
|
}
|
|
1093
1101
|
function StringValuesBuilderImpl(caseInsensitiveName, size) {
|
|
1094
1102
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
1095
1103
|
size = size === VOID ? 8 : size;
|
|
1096
|
-
this.
|
|
1097
|
-
this.
|
|
1104
|
+
this.n3x_1 = caseInsensitiveName;
|
|
1105
|
+
this.o3x_1 = this.n3x_1 ? caseInsensitiveMap() : LinkedHashMap_init_$Create$(size);
|
|
1098
1106
|
}
|
|
1099
|
-
protoOf(StringValuesBuilderImpl).
|
|
1100
|
-
return this.
|
|
1107
|
+
protoOf(StringValuesBuilderImpl).q3x = function () {
|
|
1108
|
+
return this.n3x_1;
|
|
1101
1109
|
};
|
|
1102
|
-
protoOf(StringValuesBuilderImpl).
|
|
1103
|
-
return this.
|
|
1110
|
+
protoOf(StringValuesBuilderImpl).r3x = function (name) {
|
|
1111
|
+
return this.o3x_1.s2(name);
|
|
1104
1112
|
};
|
|
1105
|
-
protoOf(StringValuesBuilderImpl).
|
|
1106
|
-
return this.
|
|
1113
|
+
protoOf(StringValuesBuilderImpl).s3x = function () {
|
|
1114
|
+
return this.o3x_1.t2();
|
|
1107
1115
|
};
|
|
1108
1116
|
protoOf(StringValuesBuilderImpl).r = function () {
|
|
1109
|
-
return this.
|
|
1117
|
+
return this.o3x_1.r();
|
|
1110
1118
|
};
|
|
1111
|
-
protoOf(StringValuesBuilderImpl).
|
|
1112
|
-
return unmodifiable(this.
|
|
1119
|
+
protoOf(StringValuesBuilderImpl).l3x = function () {
|
|
1120
|
+
return unmodifiable(this.o3x_1.n1());
|
|
1113
1121
|
};
|
|
1114
|
-
protoOf(StringValuesBuilderImpl).
|
|
1115
|
-
this.
|
|
1122
|
+
protoOf(StringValuesBuilderImpl).t3x = function (name, value) {
|
|
1123
|
+
this.u3x(value);
|
|
1116
1124
|
var list = ensureListForKey(this, name);
|
|
1117
|
-
list.
|
|
1125
|
+
list.w2();
|
|
1118
1126
|
list.b1(value);
|
|
1119
1127
|
};
|
|
1120
|
-
protoOf(StringValuesBuilderImpl).
|
|
1121
|
-
var tmp0_safe_receiver = this.
|
|
1128
|
+
protoOf(StringValuesBuilderImpl).sd = function (name) {
|
|
1129
|
+
var tmp0_safe_receiver = this.r3x(name);
|
|
1122
1130
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
1123
1131
|
};
|
|
1124
|
-
protoOf(StringValuesBuilderImpl).
|
|
1125
|
-
this.
|
|
1132
|
+
protoOf(StringValuesBuilderImpl).v3x = function (name, value) {
|
|
1133
|
+
this.u3x(value);
|
|
1126
1134
|
ensureListForKey(this, name).b1(value);
|
|
1127
1135
|
};
|
|
1128
|
-
protoOf(StringValuesBuilderImpl).
|
|
1129
|
-
stringValues.
|
|
1136
|
+
protoOf(StringValuesBuilderImpl).w3x = function (stringValues) {
|
|
1137
|
+
stringValues.x3x(StringValuesBuilderImpl$appendAll$lambda(this));
|
|
1130
1138
|
};
|
|
1131
|
-
protoOf(StringValuesBuilderImpl).
|
|
1139
|
+
protoOf(StringValuesBuilderImpl).m3x = function (name, values) {
|
|
1132
1140
|
// Inline function 'kotlin.let' call
|
|
1133
1141
|
var list = ensureListForKey(this, name);
|
|
1134
1142
|
// Inline function 'kotlin.collections.forEach' call
|
|
1135
1143
|
var _iterator__ex2g4s = values.t();
|
|
1136
1144
|
while (_iterator__ex2g4s.u()) {
|
|
1137
1145
|
var element = _iterator__ex2g4s.v();
|
|
1138
|
-
this.
|
|
1146
|
+
this.u3x(element);
|
|
1139
1147
|
}
|
|
1140
1148
|
addAll(list, values);
|
|
1141
1149
|
};
|
|
1142
|
-
protoOf(StringValuesBuilderImpl).
|
|
1143
|
-
this.
|
|
1150
|
+
protoOf(StringValuesBuilderImpl).y3x = function (name) {
|
|
1151
|
+
this.o3x_1.c3(name);
|
|
1144
1152
|
};
|
|
1145
|
-
protoOf(StringValuesBuilderImpl).
|
|
1146
|
-
this.
|
|
1153
|
+
protoOf(StringValuesBuilderImpl).w2 = function () {
|
|
1154
|
+
this.o3x_1.w2();
|
|
1147
1155
|
};
|
|
1148
|
-
protoOf(StringValuesBuilderImpl).
|
|
1156
|
+
protoOf(StringValuesBuilderImpl).p3x = function (name) {
|
|
1149
1157
|
};
|
|
1150
|
-
protoOf(StringValuesBuilderImpl).
|
|
1158
|
+
protoOf(StringValuesBuilderImpl).u3x = function (value) {
|
|
1151
1159
|
};
|
|
1152
1160
|
function StringValues() {
|
|
1153
1161
|
}
|
|
@@ -1183,21 +1191,21 @@ function caseInsensitiveHashCode_0($this, s) {
|
|
|
1183
1191
|
return h;
|
|
1184
1192
|
}
|
|
1185
1193
|
function listForKey($this, name) {
|
|
1186
|
-
if ($this.
|
|
1194
|
+
if ($this.c3y_1 === 0)
|
|
1187
1195
|
return null;
|
|
1188
1196
|
var hash = computeHash($this, name);
|
|
1189
|
-
var idx = $this.
|
|
1197
|
+
var idx = $this.d3y_1[hash & ($this.d3y_1.length - 1 | 0)];
|
|
1190
1198
|
while (idx >= 0) {
|
|
1191
|
-
if (equals($this.
|
|
1192
|
-
return $this.
|
|
1199
|
+
if (equals($this.a3y_1[idx], name, $this.z3x_1)) {
|
|
1200
|
+
return $this.b3y_1[idx];
|
|
1193
1201
|
}
|
|
1194
|
-
idx = $this.
|
|
1202
|
+
idx = $this.e3y_1[idx];
|
|
1195
1203
|
}
|
|
1196
1204
|
return null;
|
|
1197
1205
|
}
|
|
1198
1206
|
function computeHash($this, key) {
|
|
1199
1207
|
var tmp;
|
|
1200
|
-
if ($this.
|
|
1208
|
+
if ($this.z3x_1) {
|
|
1201
1209
|
tmp = caseInsensitiveHashCode_0(Companion_instance_1, key);
|
|
1202
1210
|
} else {
|
|
1203
1211
|
tmp = getStringHashCode(key);
|
|
@@ -1205,35 +1213,35 @@ function computeHash($this, key) {
|
|
|
1205
1213
|
return tmp;
|
|
1206
1214
|
}
|
|
1207
1215
|
function StringValuesEntry(key, value) {
|
|
1208
|
-
this.
|
|
1209
|
-
this.
|
|
1216
|
+
this.f3y_1 = key;
|
|
1217
|
+
this.g3y_1 = value;
|
|
1210
1218
|
}
|
|
1211
|
-
protoOf(StringValuesEntry).
|
|
1212
|
-
return this.
|
|
1219
|
+
protoOf(StringValuesEntry).o1 = function () {
|
|
1220
|
+
return this.f3y_1;
|
|
1213
1221
|
};
|
|
1214
|
-
protoOf(StringValuesEntry).
|
|
1215
|
-
return this.
|
|
1222
|
+
protoOf(StringValuesEntry).p1 = function () {
|
|
1223
|
+
return this.g3y_1;
|
|
1216
1224
|
};
|
|
1217
1225
|
protoOf(StringValuesEntry).equals = function (other) {
|
|
1218
1226
|
var tmp;
|
|
1219
1227
|
var tmp_0;
|
|
1220
1228
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
1221
|
-
tmp_0 = equals_0(other.
|
|
1229
|
+
tmp_0 = equals_0(other.o1(), this.f3y_1);
|
|
1222
1230
|
} else {
|
|
1223
1231
|
tmp_0 = false;
|
|
1224
1232
|
}
|
|
1225
1233
|
if (tmp_0) {
|
|
1226
|
-
tmp = equals_0(other.
|
|
1234
|
+
tmp = equals_0(other.p1(), this.g3y_1);
|
|
1227
1235
|
} else {
|
|
1228
1236
|
tmp = false;
|
|
1229
1237
|
}
|
|
1230
1238
|
return tmp;
|
|
1231
1239
|
};
|
|
1232
1240
|
protoOf(StringValuesEntry).hashCode = function () {
|
|
1233
|
-
return getStringHashCode(this.
|
|
1241
|
+
return getStringHashCode(this.f3y_1) ^ hashCode(this.g3y_1);
|
|
1234
1242
|
};
|
|
1235
1243
|
protoOf(StringValuesEntry).toString = function () {
|
|
1236
|
-
return this.
|
|
1244
|
+
return this.f3y_1 + '=' + toString(this.g3y_1);
|
|
1237
1245
|
};
|
|
1238
1246
|
function Companion_0() {
|
|
1239
1247
|
}
|
|
@@ -1244,30 +1252,30 @@ function Companion_getInstance_0() {
|
|
|
1244
1252
|
function StringValuesImpl(caseInsensitiveName, values) {
|
|
1245
1253
|
caseInsensitiveName = caseInsensitiveName === VOID ? false : caseInsensitiveName;
|
|
1246
1254
|
values = values === VOID ? emptyMap() : values;
|
|
1247
|
-
this.
|
|
1255
|
+
this.z3x_1 = caseInsensitiveName;
|
|
1248
1256
|
if (values.r()) {
|
|
1249
|
-
this.
|
|
1257
|
+
this.c3y_1 = 0;
|
|
1250
1258
|
var tmp = this;
|
|
1251
1259
|
// Inline function 'kotlin.emptyArray' call
|
|
1252
|
-
tmp.
|
|
1260
|
+
tmp.a3y_1 = [];
|
|
1253
1261
|
var tmp_0 = this;
|
|
1254
1262
|
// Inline function 'kotlin.emptyArray' call
|
|
1255
|
-
tmp_0.
|
|
1256
|
-
this.
|
|
1257
|
-
this.
|
|
1258
|
-
} else if (!this.
|
|
1259
|
-
this.
|
|
1263
|
+
tmp_0.b3y_1 = [];
|
|
1264
|
+
this.d3y_1 = new Int32Array(0);
|
|
1265
|
+
this.e3y_1 = new Int32Array(0);
|
|
1266
|
+
} else if (!this.z3x_1) {
|
|
1267
|
+
this.c3y_1 = values.e1();
|
|
1260
1268
|
var tmp_1 = this;
|
|
1261
1269
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1262
|
-
var size = this.
|
|
1270
|
+
var size = this.c3y_1;
|
|
1263
1271
|
var tmp_2 = Array(size);
|
|
1264
|
-
tmp_1.
|
|
1272
|
+
tmp_1.a3y_1 = isArray(tmp_2) ? tmp_2 : THROW_CCE();
|
|
1265
1273
|
var tmp_3 = this;
|
|
1266
1274
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1267
|
-
var size_0 = this.
|
|
1275
|
+
var size_0 = this.c3y_1;
|
|
1268
1276
|
var tmp_4 = Array(size_0);
|
|
1269
|
-
tmp_3.
|
|
1270
|
-
var tableSize = tableSizeFor(Companion_instance_1, this.
|
|
1277
|
+
tmp_3.b3y_1 = isArray(tmp_4) ? tmp_4 : THROW_CCE();
|
|
1278
|
+
var tableSize = tableSizeFor(Companion_instance_1, this.c3y_1);
|
|
1271
1279
|
var tmp_5 = this;
|
|
1272
1280
|
var tmp_6 = 0;
|
|
1273
1281
|
var tmp_7 = new Int32Array(tableSize);
|
|
@@ -1275,30 +1283,30 @@ function StringValuesImpl(caseInsensitiveName, values) {
|
|
|
1275
1283
|
tmp_7[tmp_6] = -1;
|
|
1276
1284
|
tmp_6 = tmp_6 + 1 | 0;
|
|
1277
1285
|
}
|
|
1278
|
-
tmp_5.
|
|
1286
|
+
tmp_5.d3y_1 = tmp_7;
|
|
1279
1287
|
var tmp_8 = this;
|
|
1280
1288
|
var tmp_9 = 0;
|
|
1281
|
-
var tmp_10 = this.
|
|
1289
|
+
var tmp_10 = this.c3y_1;
|
|
1282
1290
|
var tmp_11 = new Int32Array(tmp_10);
|
|
1283
1291
|
while (tmp_9 < tmp_10) {
|
|
1284
1292
|
tmp_11[tmp_9] = -1;
|
|
1285
1293
|
tmp_9 = tmp_9 + 1 | 0;
|
|
1286
1294
|
}
|
|
1287
|
-
tmp_8.
|
|
1295
|
+
tmp_8.e3y_1 = tmp_11;
|
|
1288
1296
|
var i = 0;
|
|
1289
1297
|
// Inline function 'kotlin.collections.iterator' call
|
|
1290
|
-
var _iterator__ex2g4s = values.
|
|
1298
|
+
var _iterator__ex2g4s = values.n1().t();
|
|
1291
1299
|
while (_iterator__ex2g4s.u()) {
|
|
1292
1300
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
1293
1301
|
// Inline function 'kotlin.collections.component1' call
|
|
1294
|
-
var key = _destruct__k2r9zo.
|
|
1302
|
+
var key = _destruct__k2r9zo.o1();
|
|
1295
1303
|
// Inline function 'kotlin.collections.component2' call
|
|
1296
|
-
var value = _destruct__k2r9zo.
|
|
1297
|
-
this.
|
|
1304
|
+
var value = _destruct__k2r9zo.p1();
|
|
1305
|
+
this.a3y_1[i] = key;
|
|
1298
1306
|
var tmp_12 = i;
|
|
1299
1307
|
// Inline function 'kotlin.collections.List' call
|
|
1300
1308
|
// Inline function 'kotlin.collections.MutableList' call
|
|
1301
|
-
var size_1 = value.
|
|
1309
|
+
var size_1 = value.e1();
|
|
1302
1310
|
var list = ArrayList_init_$Create$_0(size_1);
|
|
1303
1311
|
// Inline function 'kotlin.repeat' call
|
|
1304
1312
|
var inductionVariable = 0;
|
|
@@ -1306,49 +1314,49 @@ function StringValuesImpl(caseInsensitiveName, values) {
|
|
|
1306
1314
|
do {
|
|
1307
1315
|
var index = inductionVariable;
|
|
1308
1316
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1309
|
-
var tmp$ret$13 = value.
|
|
1317
|
+
var tmp$ret$13 = value.f1(index);
|
|
1310
1318
|
list.b1(tmp$ret$13);
|
|
1311
1319
|
}
|
|
1312
1320
|
while (inductionVariable < size_1);
|
|
1313
|
-
this.
|
|
1321
|
+
this.b3y_1[tmp_12] = list;
|
|
1314
1322
|
var hash = computeHash(this, key);
|
|
1315
1323
|
var bucket = hash & (tableSize - 1 | 0);
|
|
1316
|
-
this.
|
|
1317
|
-
this.
|
|
1324
|
+
this.e3y_1[i] = this.d3y_1[bucket];
|
|
1325
|
+
this.d3y_1[bucket] = i;
|
|
1318
1326
|
i = i + 1 | 0;
|
|
1319
1327
|
}
|
|
1320
1328
|
} else {
|
|
1321
1329
|
var deduped = caseInsensitiveMap();
|
|
1322
1330
|
// Inline function 'kotlin.collections.iterator' call
|
|
1323
|
-
var _iterator__ex2g4s_0 = values.
|
|
1331
|
+
var _iterator__ex2g4s_0 = values.n1().t();
|
|
1324
1332
|
while (_iterator__ex2g4s_0.u()) {
|
|
1325
1333
|
var _destruct__k2r9zo_0 = _iterator__ex2g4s_0.v();
|
|
1326
1334
|
// Inline function 'kotlin.collections.component1' call
|
|
1327
|
-
var key_0 = _destruct__k2r9zo_0.
|
|
1335
|
+
var key_0 = _destruct__k2r9zo_0.o1();
|
|
1328
1336
|
// Inline function 'kotlin.collections.component2' call
|
|
1329
|
-
var value_0 = _destruct__k2r9zo_0.
|
|
1330
|
-
var existing = deduped.
|
|
1337
|
+
var value_0 = _destruct__k2r9zo_0.p1();
|
|
1338
|
+
var existing = deduped.s2(key_0);
|
|
1331
1339
|
if (!(existing == null)) {
|
|
1332
1340
|
// Inline function 'kotlin.collections.set' call
|
|
1333
1341
|
var value_1 = plus(existing, value_0);
|
|
1334
|
-
deduped.
|
|
1342
|
+
deduped.b3(key_0, value_1);
|
|
1335
1343
|
} else {
|
|
1336
1344
|
// Inline function 'kotlin.collections.set' call
|
|
1337
|
-
deduped.
|
|
1345
|
+
deduped.b3(key_0, value_0);
|
|
1338
1346
|
}
|
|
1339
1347
|
}
|
|
1340
|
-
this.
|
|
1348
|
+
this.c3y_1 = deduped.e1();
|
|
1341
1349
|
var tmp_13 = this;
|
|
1342
1350
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1343
|
-
var size_2 = this.
|
|
1351
|
+
var size_2 = this.c3y_1;
|
|
1344
1352
|
var tmp_14 = Array(size_2);
|
|
1345
|
-
tmp_13.
|
|
1353
|
+
tmp_13.a3y_1 = isArray(tmp_14) ? tmp_14 : THROW_CCE();
|
|
1346
1354
|
var tmp_15 = this;
|
|
1347
1355
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1348
|
-
var size_3 = this.
|
|
1356
|
+
var size_3 = this.c3y_1;
|
|
1349
1357
|
var tmp_16 = Array(size_3);
|
|
1350
|
-
tmp_15.
|
|
1351
|
-
var tableSize_0 = tableSizeFor(Companion_instance_1, this.
|
|
1358
|
+
tmp_15.b3y_1 = isArray(tmp_16) ? tmp_16 : THROW_CCE();
|
|
1359
|
+
var tableSize_0 = tableSizeFor(Companion_instance_1, this.c3y_1);
|
|
1352
1360
|
var tmp_17 = this;
|
|
1353
1361
|
var tmp_18 = 0;
|
|
1354
1362
|
var tmp_19 = new Int32Array(tableSize_0);
|
|
@@ -1356,30 +1364,30 @@ function StringValuesImpl(caseInsensitiveName, values) {
|
|
|
1356
1364
|
tmp_19[tmp_18] = -1;
|
|
1357
1365
|
tmp_18 = tmp_18 + 1 | 0;
|
|
1358
1366
|
}
|
|
1359
|
-
tmp_17.
|
|
1367
|
+
tmp_17.d3y_1 = tmp_19;
|
|
1360
1368
|
var tmp_20 = this;
|
|
1361
1369
|
var tmp_21 = 0;
|
|
1362
|
-
var tmp_22 = this.
|
|
1370
|
+
var tmp_22 = this.c3y_1;
|
|
1363
1371
|
var tmp_23 = new Int32Array(tmp_22);
|
|
1364
1372
|
while (tmp_21 < tmp_22) {
|
|
1365
1373
|
tmp_23[tmp_21] = -1;
|
|
1366
1374
|
tmp_21 = tmp_21 + 1 | 0;
|
|
1367
1375
|
}
|
|
1368
|
-
tmp_20.
|
|
1376
|
+
tmp_20.e3y_1 = tmp_23;
|
|
1369
1377
|
var i_0 = 0;
|
|
1370
1378
|
// Inline function 'kotlin.collections.iterator' call
|
|
1371
|
-
var _iterator__ex2g4s_1 = deduped.
|
|
1379
|
+
var _iterator__ex2g4s_1 = deduped.n1().t();
|
|
1372
1380
|
while (_iterator__ex2g4s_1.u()) {
|
|
1373
1381
|
var _destruct__k2r9zo_1 = _iterator__ex2g4s_1.v();
|
|
1374
1382
|
// Inline function 'kotlin.collections.component1' call
|
|
1375
|
-
var key_1 = _destruct__k2r9zo_1.
|
|
1383
|
+
var key_1 = _destruct__k2r9zo_1.o1();
|
|
1376
1384
|
// Inline function 'kotlin.collections.component2' call
|
|
1377
|
-
var value_2 = _destruct__k2r9zo_1.
|
|
1378
|
-
this.
|
|
1385
|
+
var value_2 = _destruct__k2r9zo_1.p1();
|
|
1386
|
+
this.a3y_1[i_0] = key_1;
|
|
1379
1387
|
var tmp_24 = i_0;
|
|
1380
1388
|
// Inline function 'kotlin.collections.List' call
|
|
1381
1389
|
// Inline function 'kotlin.collections.MutableList' call
|
|
1382
|
-
var size_4 = value_2.
|
|
1390
|
+
var size_4 = value_2.e1();
|
|
1383
1391
|
var list_0 = ArrayList_init_$Create$_0(size_4);
|
|
1384
1392
|
// Inline function 'kotlin.repeat' call
|
|
1385
1393
|
var inductionVariable_0 = 0;
|
|
@@ -1387,161 +1395,161 @@ function StringValuesImpl(caseInsensitiveName, values) {
|
|
|
1387
1395
|
do {
|
|
1388
1396
|
var index_0 = inductionVariable_0;
|
|
1389
1397
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1390
|
-
var tmp$ret$30 = value_2.
|
|
1398
|
+
var tmp$ret$30 = value_2.f1(index_0);
|
|
1391
1399
|
list_0.b1(tmp$ret$30);
|
|
1392
1400
|
}
|
|
1393
1401
|
while (inductionVariable_0 < size_4);
|
|
1394
|
-
this.
|
|
1402
|
+
this.b3y_1[tmp_24] = list_0;
|
|
1395
1403
|
var hash_0 = computeHash(this, key_1);
|
|
1396
1404
|
var bucket_0 = hash_0 & (tableSize_0 - 1 | 0);
|
|
1397
|
-
this.
|
|
1398
|
-
this.
|
|
1405
|
+
this.e3y_1[i_0] = this.d3y_1[bucket_0];
|
|
1406
|
+
this.d3y_1[bucket_0] = i_0;
|
|
1399
1407
|
i_0 = i_0 + 1 | 0;
|
|
1400
1408
|
}
|
|
1401
1409
|
}
|
|
1402
1410
|
}
|
|
1403
|
-
protoOf(StringValuesImpl).
|
|
1404
|
-
return this.
|
|
1411
|
+
protoOf(StringValuesImpl).q3x = function () {
|
|
1412
|
+
return this.z3x_1;
|
|
1405
1413
|
};
|
|
1406
|
-
protoOf(StringValuesImpl).
|
|
1414
|
+
protoOf(StringValuesImpl).sd = function (name) {
|
|
1407
1415
|
var tmp0_safe_receiver = listForKey(this, name);
|
|
1408
1416
|
return tmp0_safe_receiver == null ? null : firstOrNull(tmp0_safe_receiver);
|
|
1409
1417
|
};
|
|
1410
|
-
protoOf(StringValuesImpl).
|
|
1418
|
+
protoOf(StringValuesImpl).r3x = function (name) {
|
|
1411
1419
|
return listForKey(this, name);
|
|
1412
1420
|
};
|
|
1413
|
-
protoOf(StringValuesImpl).
|
|
1414
|
-
if (this.
|
|
1421
|
+
protoOf(StringValuesImpl).s3x = function () {
|
|
1422
|
+
if (this.c3y_1 === 0)
|
|
1415
1423
|
return emptySet();
|
|
1416
1424
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
1417
1425
|
var result = LinkedHashSet_init_$Create$();
|
|
1418
1426
|
var inductionVariable = 0;
|
|
1419
|
-
var last = this.
|
|
1427
|
+
var last = this.c3y_1;
|
|
1420
1428
|
if (inductionVariable < last)
|
|
1421
1429
|
do {
|
|
1422
1430
|
var i = inductionVariable;
|
|
1423
1431
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1424
|
-
result.b1(this.
|
|
1432
|
+
result.b1(this.a3y_1[i]);
|
|
1425
1433
|
}
|
|
1426
1434
|
while (inductionVariable < last);
|
|
1427
1435
|
return result;
|
|
1428
1436
|
};
|
|
1429
1437
|
protoOf(StringValuesImpl).r = function () {
|
|
1430
|
-
return this.
|
|
1438
|
+
return this.c3y_1 === 0;
|
|
1431
1439
|
};
|
|
1432
|
-
protoOf(StringValuesImpl).
|
|
1433
|
-
if (this.
|
|
1440
|
+
protoOf(StringValuesImpl).l3x = function () {
|
|
1441
|
+
if (this.c3y_1 === 0)
|
|
1434
1442
|
return emptySet();
|
|
1435
1443
|
// Inline function 'kotlin.collections.linkedSetOf' call
|
|
1436
1444
|
var result = LinkedHashSet_init_$Create$();
|
|
1437
1445
|
var inductionVariable = 0;
|
|
1438
|
-
var last = this.
|
|
1446
|
+
var last = this.c3y_1;
|
|
1439
1447
|
if (inductionVariable < last)
|
|
1440
1448
|
do {
|
|
1441
1449
|
var i = inductionVariable;
|
|
1442
1450
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1443
|
-
result.b1(new StringValuesEntry(this.
|
|
1451
|
+
result.b1(new StringValuesEntry(this.a3y_1[i], this.b3y_1[i]));
|
|
1444
1452
|
}
|
|
1445
1453
|
while (inductionVariable < last);
|
|
1446
1454
|
return result;
|
|
1447
1455
|
};
|
|
1448
|
-
protoOf(StringValuesImpl).
|
|
1456
|
+
protoOf(StringValuesImpl).x3x = function (body) {
|
|
1449
1457
|
var inductionVariable = 0;
|
|
1450
|
-
var last = this.
|
|
1458
|
+
var last = this.c3y_1;
|
|
1451
1459
|
if (inductionVariable < last)
|
|
1452
1460
|
do {
|
|
1453
1461
|
var i = inductionVariable;
|
|
1454
1462
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1455
|
-
body(this.
|
|
1463
|
+
body(this.a3y_1[i], this.b3y_1[i]);
|
|
1456
1464
|
}
|
|
1457
1465
|
while (inductionVariable < last);
|
|
1458
1466
|
};
|
|
1459
1467
|
protoOf(StringValuesImpl).toString = function () {
|
|
1460
|
-
return 'StringValues(case=' + !this.
|
|
1468
|
+
return 'StringValues(case=' + !this.z3x_1 + ') ' + toString(this.l3x());
|
|
1461
1469
|
};
|
|
1462
1470
|
protoOf(StringValuesImpl).equals = function (other) {
|
|
1463
1471
|
if (this === other)
|
|
1464
1472
|
return true;
|
|
1465
1473
|
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1466
1474
|
return false;
|
|
1467
|
-
if (!(this.
|
|
1475
|
+
if (!(this.z3x_1 === other.q3x()))
|
|
1468
1476
|
return false;
|
|
1469
|
-
return entriesEquals(this.
|
|
1477
|
+
return entriesEquals(this.l3x(), other.l3x());
|
|
1470
1478
|
};
|
|
1471
1479
|
protoOf(StringValuesImpl).hashCode = function () {
|
|
1472
|
-
return entriesHashCode(this.
|
|
1480
|
+
return entriesHashCode(this.l3x(), imul(31, getBooleanHashCode(this.z3x_1)));
|
|
1473
1481
|
};
|
|
1474
1482
|
function StringValuesSingleImpl$entries$1(this$0) {
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1483
|
+
this.h3y_1 = this$0.k3y_1;
|
|
1484
|
+
this.i3y_1 = this$0.l3y_1;
|
|
1477
1485
|
}
|
|
1478
|
-
protoOf(StringValuesSingleImpl$entries$1).
|
|
1479
|
-
return this.
|
|
1486
|
+
protoOf(StringValuesSingleImpl$entries$1).o1 = function () {
|
|
1487
|
+
return this.h3y_1;
|
|
1480
1488
|
};
|
|
1481
|
-
protoOf(StringValuesSingleImpl$entries$1).
|
|
1482
|
-
return this.
|
|
1489
|
+
protoOf(StringValuesSingleImpl$entries$1).p1 = function () {
|
|
1490
|
+
return this.i3y_1;
|
|
1483
1491
|
};
|
|
1484
1492
|
protoOf(StringValuesSingleImpl$entries$1).toString = function () {
|
|
1485
|
-
return this.
|
|
1493
|
+
return this.h3y_1 + '=' + toString(this.i3y_1);
|
|
1486
1494
|
};
|
|
1487
1495
|
protoOf(StringValuesSingleImpl$entries$1).equals = function (other) {
|
|
1488
1496
|
var tmp;
|
|
1489
1497
|
var tmp_0;
|
|
1490
1498
|
if (!(other == null) ? isInterface(other, Entry) : false) {
|
|
1491
|
-
tmp_0 = equals_0(other.
|
|
1499
|
+
tmp_0 = equals_0(other.o1(), this.h3y_1);
|
|
1492
1500
|
} else {
|
|
1493
1501
|
tmp_0 = false;
|
|
1494
1502
|
}
|
|
1495
1503
|
if (tmp_0) {
|
|
1496
|
-
tmp = equals_0(other.
|
|
1504
|
+
tmp = equals_0(other.p1(), this.i3y_1);
|
|
1497
1505
|
} else {
|
|
1498
1506
|
tmp = false;
|
|
1499
1507
|
}
|
|
1500
1508
|
return tmp;
|
|
1501
1509
|
};
|
|
1502
1510
|
protoOf(StringValuesSingleImpl$entries$1).hashCode = function () {
|
|
1503
|
-
return getStringHashCode(this.
|
|
1511
|
+
return getStringHashCode(this.h3y_1) ^ hashCode(this.i3y_1);
|
|
1504
1512
|
};
|
|
1505
1513
|
function StringValuesSingleImpl(caseInsensitiveName, name, values) {
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1514
|
+
this.j3y_1 = caseInsensitiveName;
|
|
1515
|
+
this.k3y_1 = name;
|
|
1516
|
+
this.l3y_1 = values;
|
|
1509
1517
|
}
|
|
1510
|
-
protoOf(StringValuesSingleImpl).
|
|
1511
|
-
return this.
|
|
1518
|
+
protoOf(StringValuesSingleImpl).q3x = function () {
|
|
1519
|
+
return this.j3y_1;
|
|
1512
1520
|
};
|
|
1513
|
-
protoOf(StringValuesSingleImpl).
|
|
1514
|
-
return equals(this.
|
|
1521
|
+
protoOf(StringValuesSingleImpl).r3x = function (name) {
|
|
1522
|
+
return equals(this.k3y_1, name, this.q3x()) ? this.l3y_1 : null;
|
|
1515
1523
|
};
|
|
1516
|
-
protoOf(StringValuesSingleImpl).
|
|
1524
|
+
protoOf(StringValuesSingleImpl).l3x = function () {
|
|
1517
1525
|
return setOf(new StringValuesSingleImpl$entries$1(this));
|
|
1518
1526
|
};
|
|
1519
1527
|
protoOf(StringValuesSingleImpl).r = function () {
|
|
1520
1528
|
return false;
|
|
1521
1529
|
};
|
|
1522
|
-
protoOf(StringValuesSingleImpl).
|
|
1523
|
-
return setOf(this.
|
|
1530
|
+
protoOf(StringValuesSingleImpl).s3x = function () {
|
|
1531
|
+
return setOf(this.k3y_1);
|
|
1524
1532
|
};
|
|
1525
1533
|
protoOf(StringValuesSingleImpl).toString = function () {
|
|
1526
|
-
return 'StringValues(case=' + !this.
|
|
1534
|
+
return 'StringValues(case=' + !this.q3x() + ') ' + toString(this.l3x());
|
|
1527
1535
|
};
|
|
1528
1536
|
protoOf(StringValuesSingleImpl).hashCode = function () {
|
|
1529
|
-
return entriesHashCode(this.
|
|
1537
|
+
return entriesHashCode(this.l3x(), imul(31, getBooleanHashCode(this.q3x())));
|
|
1530
1538
|
};
|
|
1531
1539
|
protoOf(StringValuesSingleImpl).equals = function (other) {
|
|
1532
1540
|
if (this === other)
|
|
1533
1541
|
return true;
|
|
1534
1542
|
if (!(!(other == null) ? isInterface(other, StringValues) : false))
|
|
1535
1543
|
return false;
|
|
1536
|
-
if (!(this.
|
|
1544
|
+
if (!(this.q3x() === other.q3x()))
|
|
1537
1545
|
return false;
|
|
1538
|
-
return entriesEquals(this.
|
|
1546
|
+
return entriesEquals(this.l3x(), other.l3x());
|
|
1539
1547
|
};
|
|
1540
|
-
protoOf(StringValuesSingleImpl).
|
|
1541
|
-
return body(this.
|
|
1548
|
+
protoOf(StringValuesSingleImpl).x3x = function (body) {
|
|
1549
|
+
return body(this.k3y_1, this.l3y_1);
|
|
1542
1550
|
};
|
|
1543
|
-
protoOf(StringValuesSingleImpl).
|
|
1544
|
-
return equals(name, this.
|
|
1551
|
+
protoOf(StringValuesSingleImpl).sd = function (name) {
|
|
1552
|
+
return equals(name, this.k3y_1, this.q3x()) ? firstOrNull(this.l3y_1) : null;
|
|
1545
1553
|
};
|
|
1546
1554
|
function entriesEquals(a, b) {
|
|
1547
1555
|
return equals_0(a, b);
|
|
@@ -1577,7 +1585,7 @@ function toLowerCasePreservingASCIIRules(_this__u8e3s4) {
|
|
|
1577
1585
|
var capacity = _this__u8e3s4.length;
|
|
1578
1586
|
// Inline function 'kotlin.apply' call
|
|
1579
1587
|
var this_0 = StringBuilder_init_$Create$(capacity);
|
|
1580
|
-
this_0.
|
|
1588
|
+
this_0.jc(original, 0, firstIndex);
|
|
1581
1589
|
var inductionVariable_0 = firstIndex;
|
|
1582
1590
|
var last_0 = get_lastIndex(original);
|
|
1583
1591
|
if (inductionVariable_0 <= last_0)
|
|
@@ -1608,10 +1616,10 @@ function toLowerCasePreservingASCII(ch) {
|
|
|
1608
1616
|
function ChannelIOException() {
|
|
1609
1617
|
}
|
|
1610
1618
|
function CopyOnWriteHashMap() {
|
|
1611
|
-
this.
|
|
1619
|
+
this.m3y_1 = atomic$ref$1(emptyMap());
|
|
1612
1620
|
}
|
|
1613
|
-
protoOf(CopyOnWriteHashMap).
|
|
1614
|
-
return this.
|
|
1621
|
+
protoOf(CopyOnWriteHashMap).n3y = function (key) {
|
|
1622
|
+
return this.m3y_1.kotlinx$atomicfu$value.s2(key);
|
|
1615
1623
|
};
|
|
1616
1624
|
function GMTDate$Companion$$childSerializers$_anonymous__gyfycy() {
|
|
1617
1625
|
return createSimpleEnumSerializer('io.ktor.util.date.WeekDay', values());
|
|
@@ -1628,8 +1636,8 @@ function Companion_1() {
|
|
|
1628
1636
|
// Inline function 'kotlin.arrayOf' call
|
|
1629
1637
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1630
1638
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1631
|
-
tmp.
|
|
1632
|
-
this.
|
|
1639
|
+
tmp.o3y_1 = [null, null, null, tmp_1, null, null, lazy(tmp_2, GMTDate$Companion$$childSerializers$_anonymous__gyfycy_0), null, null];
|
|
1640
|
+
this.p3y_1 = GMTDate_0(new Long(0, 0));
|
|
1633
1641
|
}
|
|
1634
1642
|
var Companion_instance_2;
|
|
1635
1643
|
function Companion_getInstance_1() {
|
|
@@ -1640,37 +1648,37 @@ function Companion_getInstance_1() {
|
|
|
1640
1648
|
function $serializer() {
|
|
1641
1649
|
$serializer_instance = this;
|
|
1642
1650
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('io.ktor.util.date.GMTDate', this, 9);
|
|
1643
|
-
tmp0_serialDesc.
|
|
1644
|
-
tmp0_serialDesc.
|
|
1645
|
-
tmp0_serialDesc.
|
|
1646
|
-
tmp0_serialDesc.
|
|
1647
|
-
tmp0_serialDesc.
|
|
1648
|
-
tmp0_serialDesc.
|
|
1649
|
-
tmp0_serialDesc.
|
|
1650
|
-
tmp0_serialDesc.
|
|
1651
|
-
tmp0_serialDesc.
|
|
1652
|
-
this.
|
|
1653
|
-
}
|
|
1654
|
-
protoOf($serializer).
|
|
1655
|
-
var tmp0_desc = this.
|
|
1656
|
-
var tmp1_output = encoder.
|
|
1657
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
1658
|
-
tmp1_output.
|
|
1659
|
-
tmp1_output.
|
|
1660
|
-
tmp1_output.
|
|
1661
|
-
tmp1_output.
|
|
1662
|
-
tmp1_output.
|
|
1663
|
-
tmp1_output.
|
|
1664
|
-
tmp1_output.
|
|
1665
|
-
tmp1_output.
|
|
1666
|
-
tmp1_output.
|
|
1667
|
-
tmp1_output.
|
|
1668
|
-
};
|
|
1669
|
-
protoOf($serializer).
|
|
1670
|
-
return this.
|
|
1671
|
-
};
|
|
1672
|
-
protoOf($serializer).
|
|
1673
|
-
var tmp0_desc = this.
|
|
1651
|
+
tmp0_serialDesc.w10('seconds', false);
|
|
1652
|
+
tmp0_serialDesc.w10('minutes', false);
|
|
1653
|
+
tmp0_serialDesc.w10('hours', false);
|
|
1654
|
+
tmp0_serialDesc.w10('dayOfWeek', false);
|
|
1655
|
+
tmp0_serialDesc.w10('dayOfMonth', false);
|
|
1656
|
+
tmp0_serialDesc.w10('dayOfYear', false);
|
|
1657
|
+
tmp0_serialDesc.w10('month', false);
|
|
1658
|
+
tmp0_serialDesc.w10('year', false);
|
|
1659
|
+
tmp0_serialDesc.w10('timestamp', false);
|
|
1660
|
+
this.q3y_1 = tmp0_serialDesc;
|
|
1661
|
+
}
|
|
1662
|
+
protoOf($serializer).r3y = function (encoder, value) {
|
|
1663
|
+
var tmp0_desc = this.q3y_1;
|
|
1664
|
+
var tmp1_output = encoder.gt(tmp0_desc);
|
|
1665
|
+
var tmp2_cached = Companion_getInstance_1().o3y_1;
|
|
1666
|
+
tmp1_output.qu(tmp0_desc, 0, value.s3y_1);
|
|
1667
|
+
tmp1_output.qu(tmp0_desc, 1, value.t3y_1);
|
|
1668
|
+
tmp1_output.qu(tmp0_desc, 2, value.u3y_1);
|
|
1669
|
+
tmp1_output.xu(tmp0_desc, 3, tmp2_cached[3].p1(), value.v3y_1);
|
|
1670
|
+
tmp1_output.qu(tmp0_desc, 4, value.w3y_1);
|
|
1671
|
+
tmp1_output.qu(tmp0_desc, 5, value.x3y_1);
|
|
1672
|
+
tmp1_output.xu(tmp0_desc, 6, tmp2_cached[6].p1(), value.y3y_1);
|
|
1673
|
+
tmp1_output.qu(tmp0_desc, 7, value.z3y_1);
|
|
1674
|
+
tmp1_output.ru(tmp0_desc, 8, value.a3z_1);
|
|
1675
|
+
tmp1_output.ht(tmp0_desc);
|
|
1676
|
+
};
|
|
1677
|
+
protoOf($serializer).fq = function (encoder, value) {
|
|
1678
|
+
return this.r3y(encoder, value instanceof GMTDate ? value : THROW_CCE());
|
|
1679
|
+
};
|
|
1680
|
+
protoOf($serializer).gq = function (decoder) {
|
|
1681
|
+
var tmp0_desc = this.q3y_1;
|
|
1674
1682
|
var tmp1_flag = true;
|
|
1675
1683
|
var tmp2_index = 0;
|
|
1676
1684
|
var tmp3_bitMask0 = 0;
|
|
@@ -1683,86 +1691,86 @@ protoOf($serializer).wp = function (decoder) {
|
|
|
1683
1691
|
var tmp10_local6 = null;
|
|
1684
1692
|
var tmp11_local7 = 0;
|
|
1685
1693
|
var tmp12_local8 = new Long(0, 0);
|
|
1686
|
-
var tmp13_input = decoder.
|
|
1687
|
-
var tmp14_cached = Companion_getInstance_1().
|
|
1688
|
-
if (tmp13_input.
|
|
1689
|
-
tmp4_local0 = tmp13_input.
|
|
1694
|
+
var tmp13_input = decoder.gt(tmp0_desc);
|
|
1695
|
+
var tmp14_cached = Companion_getInstance_1().o3y_1;
|
|
1696
|
+
if (tmp13_input.wt()) {
|
|
1697
|
+
tmp4_local0 = tmp13_input.lt(tmp0_desc, 0);
|
|
1690
1698
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1691
|
-
tmp5_local1 = tmp13_input.
|
|
1699
|
+
tmp5_local1 = tmp13_input.lt(tmp0_desc, 1);
|
|
1692
1700
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1693
|
-
tmp6_local2 = tmp13_input.
|
|
1701
|
+
tmp6_local2 = tmp13_input.lt(tmp0_desc, 2);
|
|
1694
1702
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1695
|
-
tmp7_local3 = tmp13_input.
|
|
1703
|
+
tmp7_local3 = tmp13_input.st(tmp0_desc, 3, tmp14_cached[3].p1(), tmp7_local3);
|
|
1696
1704
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1697
|
-
tmp8_local4 = tmp13_input.
|
|
1705
|
+
tmp8_local4 = tmp13_input.lt(tmp0_desc, 4);
|
|
1698
1706
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1699
|
-
tmp9_local5 = tmp13_input.
|
|
1707
|
+
tmp9_local5 = tmp13_input.lt(tmp0_desc, 5);
|
|
1700
1708
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1701
|
-
tmp10_local6 = tmp13_input.
|
|
1709
|
+
tmp10_local6 = tmp13_input.st(tmp0_desc, 6, tmp14_cached[6].p1(), tmp10_local6);
|
|
1702
1710
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1703
|
-
tmp11_local7 = tmp13_input.
|
|
1711
|
+
tmp11_local7 = tmp13_input.lt(tmp0_desc, 7);
|
|
1704
1712
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1705
|
-
tmp12_local8 = tmp13_input.
|
|
1713
|
+
tmp12_local8 = tmp13_input.mt(tmp0_desc, 8);
|
|
1706
1714
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1707
1715
|
} else
|
|
1708
1716
|
while (tmp1_flag) {
|
|
1709
|
-
tmp2_index = tmp13_input.
|
|
1717
|
+
tmp2_index = tmp13_input.xt(tmp0_desc);
|
|
1710
1718
|
switch (tmp2_index) {
|
|
1711
1719
|
case -1:
|
|
1712
1720
|
tmp1_flag = false;
|
|
1713
1721
|
break;
|
|
1714
1722
|
case 0:
|
|
1715
|
-
tmp4_local0 = tmp13_input.
|
|
1723
|
+
tmp4_local0 = tmp13_input.lt(tmp0_desc, 0);
|
|
1716
1724
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1717
1725
|
break;
|
|
1718
1726
|
case 1:
|
|
1719
|
-
tmp5_local1 = tmp13_input.
|
|
1727
|
+
tmp5_local1 = tmp13_input.lt(tmp0_desc, 1);
|
|
1720
1728
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1721
1729
|
break;
|
|
1722
1730
|
case 2:
|
|
1723
|
-
tmp6_local2 = tmp13_input.
|
|
1731
|
+
tmp6_local2 = tmp13_input.lt(tmp0_desc, 2);
|
|
1724
1732
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1725
1733
|
break;
|
|
1726
1734
|
case 3:
|
|
1727
|
-
tmp7_local3 = tmp13_input.
|
|
1735
|
+
tmp7_local3 = tmp13_input.st(tmp0_desc, 3, tmp14_cached[3].p1(), tmp7_local3);
|
|
1728
1736
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1729
1737
|
break;
|
|
1730
1738
|
case 4:
|
|
1731
|
-
tmp8_local4 = tmp13_input.
|
|
1739
|
+
tmp8_local4 = tmp13_input.lt(tmp0_desc, 4);
|
|
1732
1740
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1733
1741
|
break;
|
|
1734
1742
|
case 5:
|
|
1735
|
-
tmp9_local5 = tmp13_input.
|
|
1743
|
+
tmp9_local5 = tmp13_input.lt(tmp0_desc, 5);
|
|
1736
1744
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1737
1745
|
break;
|
|
1738
1746
|
case 6:
|
|
1739
|
-
tmp10_local6 = tmp13_input.
|
|
1747
|
+
tmp10_local6 = tmp13_input.st(tmp0_desc, 6, tmp14_cached[6].p1(), tmp10_local6);
|
|
1740
1748
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1741
1749
|
break;
|
|
1742
1750
|
case 7:
|
|
1743
|
-
tmp11_local7 = tmp13_input.
|
|
1751
|
+
tmp11_local7 = tmp13_input.lt(tmp0_desc, 7);
|
|
1744
1752
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1745
1753
|
break;
|
|
1746
1754
|
case 8:
|
|
1747
|
-
tmp12_local8 = tmp13_input.
|
|
1755
|
+
tmp12_local8 = tmp13_input.mt(tmp0_desc, 8);
|
|
1748
1756
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1749
1757
|
break;
|
|
1750
1758
|
default:
|
|
1751
1759
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1752
1760
|
}
|
|
1753
1761
|
}
|
|
1754
|
-
tmp13_input.
|
|
1762
|
+
tmp13_input.ht(tmp0_desc);
|
|
1755
1763
|
return GMTDate_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
1756
1764
|
};
|
|
1757
|
-
protoOf($serializer).
|
|
1758
|
-
return this.
|
|
1765
|
+
protoOf($serializer).eq = function () {
|
|
1766
|
+
return this.q3y_1;
|
|
1759
1767
|
};
|
|
1760
|
-
protoOf($serializer).
|
|
1761
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
1768
|
+
protoOf($serializer).l11 = function () {
|
|
1769
|
+
var tmp0_cached = Companion_getInstance_1().o3y_1;
|
|
1762
1770
|
// Inline function 'kotlin.arrayOf' call
|
|
1763
1771
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1764
1772
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1765
|
-
return [IntSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[3].
|
|
1773
|
+
return [IntSerializer_getInstance(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[3].p1(), IntSerializer_getInstance(), IntSerializer_getInstance(), tmp0_cached[6].p1(), IntSerializer_getInstance(), LongSerializer_getInstance()];
|
|
1766
1774
|
};
|
|
1767
1775
|
var $serializer_instance;
|
|
1768
1776
|
function $serializer_getInstance() {
|
|
@@ -1772,17 +1780,17 @@ function $serializer_getInstance() {
|
|
|
1772
1780
|
}
|
|
1773
1781
|
function GMTDate_init_$Init$(seen0, seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp, serializationConstructorMarker, $this) {
|
|
1774
1782
|
if (!(511 === (511 & seen0))) {
|
|
1775
|
-
throwMissingFieldException(seen0, 511, $serializer_getInstance().
|
|
1776
|
-
}
|
|
1777
|
-
$this.
|
|
1778
|
-
$this.
|
|
1779
|
-
$this.
|
|
1780
|
-
$this.
|
|
1781
|
-
$this.
|
|
1782
|
-
$this.
|
|
1783
|
-
$this.
|
|
1784
|
-
$this.
|
|
1785
|
-
$this.
|
|
1783
|
+
throwMissingFieldException(seen0, 511, $serializer_getInstance().q3y_1);
|
|
1784
|
+
}
|
|
1785
|
+
$this.s3y_1 = seconds;
|
|
1786
|
+
$this.t3y_1 = minutes;
|
|
1787
|
+
$this.u3y_1 = hours;
|
|
1788
|
+
$this.v3y_1 = dayOfWeek;
|
|
1789
|
+
$this.w3y_1 = dayOfMonth;
|
|
1790
|
+
$this.x3y_1 = dayOfYear;
|
|
1791
|
+
$this.y3y_1 = month;
|
|
1792
|
+
$this.z3y_1 = year;
|
|
1793
|
+
$this.a3z_1 = timestamp;
|
|
1786
1794
|
return $this;
|
|
1787
1795
|
}
|
|
1788
1796
|
function GMTDate_init_$Create$(seen0, seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp, serializationConstructorMarker) {
|
|
@@ -1790,35 +1798,35 @@ function GMTDate_init_$Create$(seen0, seconds, minutes, hours, dayOfWeek, dayOfM
|
|
|
1790
1798
|
}
|
|
1791
1799
|
function GMTDate(seconds, minutes, hours, dayOfWeek, dayOfMonth, dayOfYear, month, year, timestamp) {
|
|
1792
1800
|
Companion_getInstance_1();
|
|
1793
|
-
this.
|
|
1794
|
-
this.
|
|
1795
|
-
this.
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
-
this.
|
|
1799
|
-
this.
|
|
1800
|
-
this.
|
|
1801
|
-
this.
|
|
1802
|
-
}
|
|
1803
|
-
protoOf(GMTDate).
|
|
1804
|
-
return this.
|
|
1801
|
+
this.s3y_1 = seconds;
|
|
1802
|
+
this.t3y_1 = minutes;
|
|
1803
|
+
this.u3y_1 = hours;
|
|
1804
|
+
this.v3y_1 = dayOfWeek;
|
|
1805
|
+
this.w3y_1 = dayOfMonth;
|
|
1806
|
+
this.x3y_1 = dayOfYear;
|
|
1807
|
+
this.y3y_1 = month;
|
|
1808
|
+
this.z3y_1 = year;
|
|
1809
|
+
this.a3z_1 = timestamp;
|
|
1810
|
+
}
|
|
1811
|
+
protoOf(GMTDate).b3z = function (other) {
|
|
1812
|
+
return this.a3z_1.l3(other.a3z_1);
|
|
1805
1813
|
};
|
|
1806
1814
|
protoOf(GMTDate).d = function (other) {
|
|
1807
|
-
return this.
|
|
1815
|
+
return this.b3z(other instanceof GMTDate ? other : THROW_CCE());
|
|
1808
1816
|
};
|
|
1809
1817
|
protoOf(GMTDate).toString = function () {
|
|
1810
|
-
return 'GMTDate(seconds=' + this.
|
|
1818
|
+
return 'GMTDate(seconds=' + this.s3y_1 + ', minutes=' + this.t3y_1 + ', hours=' + this.u3y_1 + ', dayOfWeek=' + this.v3y_1.toString() + ', dayOfMonth=' + this.w3y_1 + ', dayOfYear=' + this.x3y_1 + ', month=' + this.y3y_1.toString() + ', year=' + this.z3y_1 + ', timestamp=' + this.a3z_1.toString() + ')';
|
|
1811
1819
|
};
|
|
1812
1820
|
protoOf(GMTDate).hashCode = function () {
|
|
1813
|
-
var result = this.
|
|
1814
|
-
result = imul(result, 31) + this.
|
|
1815
|
-
result = imul(result, 31) + this.
|
|
1816
|
-
result = imul(result, 31) + this.
|
|
1817
|
-
result = imul(result, 31) + this.
|
|
1818
|
-
result = imul(result, 31) + this.
|
|
1819
|
-
result = imul(result, 31) + this.
|
|
1820
|
-
result = imul(result, 31) + this.
|
|
1821
|
-
result = imul(result, 31) + this.
|
|
1821
|
+
var result = this.s3y_1;
|
|
1822
|
+
result = imul(result, 31) + this.t3y_1 | 0;
|
|
1823
|
+
result = imul(result, 31) + this.u3y_1 | 0;
|
|
1824
|
+
result = imul(result, 31) + this.v3y_1.hashCode() | 0;
|
|
1825
|
+
result = imul(result, 31) + this.w3y_1 | 0;
|
|
1826
|
+
result = imul(result, 31) + this.x3y_1 | 0;
|
|
1827
|
+
result = imul(result, 31) + this.y3y_1.hashCode() | 0;
|
|
1828
|
+
result = imul(result, 31) + this.z3y_1 | 0;
|
|
1829
|
+
result = imul(result, 31) + this.a3z_1.hashCode() | 0;
|
|
1822
1830
|
return result;
|
|
1823
1831
|
};
|
|
1824
1832
|
protoOf(GMTDate).equals = function (other) {
|
|
@@ -1826,23 +1834,23 @@ protoOf(GMTDate).equals = function (other) {
|
|
|
1826
1834
|
return true;
|
|
1827
1835
|
if (!(other instanceof GMTDate))
|
|
1828
1836
|
return false;
|
|
1829
|
-
if (!(this.
|
|
1837
|
+
if (!(this.s3y_1 === other.s3y_1))
|
|
1830
1838
|
return false;
|
|
1831
|
-
if (!(this.
|
|
1839
|
+
if (!(this.t3y_1 === other.t3y_1))
|
|
1832
1840
|
return false;
|
|
1833
|
-
if (!(this.
|
|
1841
|
+
if (!(this.u3y_1 === other.u3y_1))
|
|
1834
1842
|
return false;
|
|
1835
|
-
if (!this.
|
|
1843
|
+
if (!this.v3y_1.equals(other.v3y_1))
|
|
1836
1844
|
return false;
|
|
1837
|
-
if (!(this.
|
|
1845
|
+
if (!(this.w3y_1 === other.w3y_1))
|
|
1838
1846
|
return false;
|
|
1839
|
-
if (!(this.
|
|
1847
|
+
if (!(this.x3y_1 === other.x3y_1))
|
|
1840
1848
|
return false;
|
|
1841
|
-
if (!this.
|
|
1849
|
+
if (!this.y3y_1.equals(other.y3y_1))
|
|
1842
1850
|
return false;
|
|
1843
|
-
if (!(this.
|
|
1851
|
+
if (!(this.z3y_1 === other.z3y_1))
|
|
1844
1852
|
return false;
|
|
1845
|
-
if (!equalsLong(this.
|
|
1853
|
+
if (!equalsLong(this.a3z_1, other.a3z_1))
|
|
1846
1854
|
return false;
|
|
1847
1855
|
return true;
|
|
1848
1856
|
};
|
|
@@ -1855,8 +1863,8 @@ var WeekDay_SATURDAY_instance;
|
|
|
1855
1863
|
var WeekDay_SUNDAY_instance;
|
|
1856
1864
|
function Companion_2() {
|
|
1857
1865
|
}
|
|
1858
|
-
protoOf(Companion_2).
|
|
1859
|
-
return get_entries().
|
|
1866
|
+
protoOf(Companion_2).c3z = function (ordinal) {
|
|
1867
|
+
return get_entries().f1(ordinal);
|
|
1860
1868
|
};
|
|
1861
1869
|
var Companion_instance_3;
|
|
1862
1870
|
function Companion_getInstance_2() {
|
|
@@ -1886,7 +1894,7 @@ function WeekDay_initEntries() {
|
|
|
1886
1894
|
var $ENTRIES;
|
|
1887
1895
|
function WeekDay(name, ordinal, value) {
|
|
1888
1896
|
Enum.call(this, name, ordinal);
|
|
1889
|
-
this.
|
|
1897
|
+
this.f3z_1 = value;
|
|
1890
1898
|
}
|
|
1891
1899
|
var Month_JANUARY_instance;
|
|
1892
1900
|
var Month_FEBRUARY_instance;
|
|
@@ -1902,8 +1910,8 @@ var Month_NOVEMBER_instance;
|
|
|
1902
1910
|
var Month_DECEMBER_instance;
|
|
1903
1911
|
function Companion_3() {
|
|
1904
1912
|
}
|
|
1905
|
-
protoOf(Companion_3).
|
|
1906
|
-
return get_entries_0().
|
|
1913
|
+
protoOf(Companion_3).c3z = function (ordinal) {
|
|
1914
|
+
return get_entries_0().f1(ordinal);
|
|
1907
1915
|
};
|
|
1908
1916
|
var Companion_instance_4;
|
|
1909
1917
|
function Companion_getInstance_3() {
|
|
@@ -1938,7 +1946,7 @@ function Month_initEntries() {
|
|
|
1938
1946
|
var $ENTRIES_0;
|
|
1939
1947
|
function Month(name, ordinal, value) {
|
|
1940
1948
|
Enum.call(this, name, ordinal);
|
|
1941
|
-
this.
|
|
1949
|
+
this.i3z_1 = value;
|
|
1942
1950
|
}
|
|
1943
1951
|
function WeekDay_MONDAY_getInstance() {
|
|
1944
1952
|
WeekDay_initEntries();
|
|
@@ -2023,24 +2031,24 @@ var REMOVE_PREPARED;
|
|
|
2023
2031
|
var NO_DECISION;
|
|
2024
2032
|
function LockFreeLinkedListNode() {
|
|
2025
2033
|
}
|
|
2026
|
-
protoOf(LockFreeLinkedListNode).
|
|
2034
|
+
protoOf(LockFreeLinkedListNode).q21 = function () {
|
|
2027
2035
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
2028
|
-
var this_0 = this.
|
|
2036
|
+
var this_0 = this.j3z_1;
|
|
2029
2037
|
while (true) {
|
|
2030
2038
|
var next = this_0.kotlinx$atomicfu$value;
|
|
2031
2039
|
if (!(next instanceof OpDescriptor))
|
|
2032
2040
|
return next;
|
|
2033
|
-
next.
|
|
2041
|
+
next.k3z(this);
|
|
2034
2042
|
}
|
|
2035
2043
|
};
|
|
2036
|
-
protoOf(LockFreeLinkedListNode).
|
|
2037
|
-
return unwrap(this.
|
|
2044
|
+
protoOf(LockFreeLinkedListNode).l3z = function () {
|
|
2045
|
+
return unwrap(this.q21());
|
|
2038
2046
|
};
|
|
2039
2047
|
function Symbol(symbol) {
|
|
2040
|
-
this.
|
|
2048
|
+
this.m3z_1 = symbol;
|
|
2041
2049
|
}
|
|
2042
2050
|
protoOf(Symbol).toString = function () {
|
|
2043
|
-
return this.
|
|
2051
|
+
return this.m3z_1;
|
|
2044
2052
|
};
|
|
2045
2053
|
function Removed() {
|
|
2046
2054
|
}
|
|
@@ -2049,7 +2057,7 @@ function OpDescriptor() {
|
|
|
2049
2057
|
function unwrap(_this__u8e3s4) {
|
|
2050
2058
|
_init_properties_LockFreeLinkedList_kt__wekxce();
|
|
2051
2059
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof Removed ? _this__u8e3s4 : null;
|
|
2052
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2060
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n3z_1;
|
|
2053
2061
|
var tmp;
|
|
2054
2062
|
if (tmp1_elvis_lhs == null) {
|
|
2055
2063
|
tmp = _this__u8e3s4 instanceof LockFreeLinkedListNode ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -2071,114 +2079,114 @@ function _init_properties_LockFreeLinkedList_kt__wekxce() {
|
|
|
2071
2079
|
}
|
|
2072
2080
|
function proceedLoop($this, $completion) {
|
|
2073
2081
|
var tmp = new $proceedLoopCOROUTINE$($this, $completion);
|
|
2074
|
-
tmp.
|
|
2075
|
-
tmp.
|
|
2076
|
-
return tmp.
|
|
2082
|
+
tmp.x8_1 = Unit_instance;
|
|
2083
|
+
tmp.y8_1 = null;
|
|
2084
|
+
return tmp.d9();
|
|
2077
2085
|
}
|
|
2078
2086
|
function $proceedLoopCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2079
2087
|
CoroutineImpl.call(this, resultContinuation);
|
|
2080
|
-
this.
|
|
2088
|
+
this.w3z_1 = _this__u8e3s4;
|
|
2081
2089
|
}
|
|
2082
|
-
protoOf($proceedLoopCOROUTINE$).
|
|
2083
|
-
var suspendResult = this.
|
|
2090
|
+
protoOf($proceedLoopCOROUTINE$).d9 = function () {
|
|
2091
|
+
var suspendResult = this.x8_1;
|
|
2084
2092
|
$sm: do
|
|
2085
2093
|
try {
|
|
2086
|
-
var tmp = this.
|
|
2094
|
+
var tmp = this.v8_1;
|
|
2087
2095
|
switch (tmp) {
|
|
2088
2096
|
case 0:
|
|
2089
|
-
this.
|
|
2090
|
-
this.
|
|
2097
|
+
this.w8_1 = 6;
|
|
2098
|
+
this.v8_1 = 1;
|
|
2091
2099
|
continue $sm;
|
|
2092
2100
|
case 1:
|
|
2093
|
-
this.
|
|
2094
|
-
if (this.
|
|
2095
|
-
this.
|
|
2101
|
+
this.x3z_1 = this.w3z_1.d40_1;
|
|
2102
|
+
if (this.x3z_1 === -1) {
|
|
2103
|
+
this.v8_1 = 5;
|
|
2096
2104
|
continue $sm;
|
|
2097
2105
|
} else {
|
|
2098
|
-
this.
|
|
2106
|
+
this.v8_1 = 2;
|
|
2099
2107
|
continue $sm;
|
|
2100
2108
|
}
|
|
2101
2109
|
|
|
2102
2110
|
case 2:
|
|
2103
|
-
this.
|
|
2104
|
-
if (this.
|
|
2105
|
-
this.
|
|
2106
|
-
this.
|
|
2111
|
+
this.y3z_1 = this.w3z_1.a40_1;
|
|
2112
|
+
if (this.x3z_1 >= this.y3z_1.e1()) {
|
|
2113
|
+
this.w3z_1.e40();
|
|
2114
|
+
this.v8_1 = 5;
|
|
2107
2115
|
continue $sm;
|
|
2108
2116
|
} else {
|
|
2109
|
-
this.
|
|
2117
|
+
this.v8_1 = 3;
|
|
2110
2118
|
continue $sm;
|
|
2111
2119
|
}
|
|
2112
2120
|
|
|
2113
2121
|
case 3:
|
|
2114
|
-
var executeInterceptor = this.
|
|
2115
|
-
this.
|
|
2116
|
-
this.
|
|
2117
|
-
suspendResult = executeInterceptor(this.
|
|
2122
|
+
var executeInterceptor = this.y3z_1.f1(this.x3z_1);
|
|
2123
|
+
this.w3z_1.d40_1 = this.x3z_1 + 1 | 0;
|
|
2124
|
+
this.v8_1 = 4;
|
|
2125
|
+
suspendResult = executeInterceptor(this.w3z_1, this.w3z_1.c40_1, this);
|
|
2118
2126
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2119
2127
|
return suspendResult;
|
|
2120
2128
|
}
|
|
2121
2129
|
|
|
2122
2130
|
continue $sm;
|
|
2123
2131
|
case 4:
|
|
2124
|
-
this.
|
|
2132
|
+
this.v8_1 = 1;
|
|
2125
2133
|
continue $sm;
|
|
2126
2134
|
case 5:
|
|
2127
|
-
return this.
|
|
2135
|
+
return this.w3z_1.c40_1;
|
|
2128
2136
|
case 6:
|
|
2129
|
-
throw this.
|
|
2137
|
+
throw this.y8_1;
|
|
2130
2138
|
}
|
|
2131
2139
|
} catch ($p) {
|
|
2132
2140
|
var e = $p;
|
|
2133
|
-
if (this.
|
|
2141
|
+
if (this.w8_1 === 6) {
|
|
2134
2142
|
throw e;
|
|
2135
2143
|
} else {
|
|
2136
|
-
this.
|
|
2137
|
-
this.
|
|
2144
|
+
this.v8_1 = this.w8_1;
|
|
2145
|
+
this.y8_1 = e;
|
|
2138
2146
|
}
|
|
2139
2147
|
}
|
|
2140
2148
|
while (true);
|
|
2141
2149
|
};
|
|
2142
2150
|
function DebugPipelineContext(context, interceptors, subject, coroutineContext) {
|
|
2143
2151
|
PipelineContext.call(this, context);
|
|
2144
|
-
this.
|
|
2145
|
-
this.
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2152
|
+
this.a40_1 = interceptors;
|
|
2153
|
+
this.b40_1 = coroutineContext;
|
|
2154
|
+
this.c40_1 = subject;
|
|
2155
|
+
this.d40_1 = 0;
|
|
2148
2156
|
}
|
|
2149
|
-
protoOf(DebugPipelineContext).
|
|
2150
|
-
return this.
|
|
2157
|
+
protoOf(DebugPipelineContext).w1m = function () {
|
|
2158
|
+
return this.b40_1;
|
|
2151
2159
|
};
|
|
2152
|
-
protoOf(DebugPipelineContext).
|
|
2153
|
-
return this.
|
|
2160
|
+
protoOf(DebugPipelineContext).f40 = function () {
|
|
2161
|
+
return this.c40_1;
|
|
2154
2162
|
};
|
|
2155
|
-
protoOf(DebugPipelineContext).
|
|
2156
|
-
this.
|
|
2163
|
+
protoOf(DebugPipelineContext).e40 = function () {
|
|
2164
|
+
this.d40_1 = -1;
|
|
2157
2165
|
};
|
|
2158
|
-
protoOf(DebugPipelineContext).
|
|
2159
|
-
this.
|
|
2160
|
-
return this.
|
|
2166
|
+
protoOf(DebugPipelineContext).g40 = function (subject, $completion) {
|
|
2167
|
+
this.c40_1 = subject;
|
|
2168
|
+
return this.h40($completion);
|
|
2161
2169
|
};
|
|
2162
|
-
protoOf(DebugPipelineContext).
|
|
2163
|
-
var index = this.
|
|
2170
|
+
protoOf(DebugPipelineContext).h40 = function ($completion) {
|
|
2171
|
+
var index = this.d40_1;
|
|
2164
2172
|
if (index < 0)
|
|
2165
|
-
return this.
|
|
2166
|
-
if (index >= this.
|
|
2167
|
-
this.
|
|
2168
|
-
return this.
|
|
2173
|
+
return this.c40_1;
|
|
2174
|
+
if (index >= this.a40_1.e1()) {
|
|
2175
|
+
this.e40();
|
|
2176
|
+
return this.c40_1;
|
|
2169
2177
|
}
|
|
2170
2178
|
return proceedLoop(this, $completion);
|
|
2171
2179
|
};
|
|
2172
|
-
protoOf(DebugPipelineContext).
|
|
2173
|
-
this.
|
|
2174
|
-
this.
|
|
2175
|
-
return this.
|
|
2180
|
+
protoOf(DebugPipelineContext).i40 = function (initial, $completion) {
|
|
2181
|
+
this.d40_1 = 0;
|
|
2182
|
+
this.c40_1 = initial;
|
|
2183
|
+
return this.h40($completion);
|
|
2176
2184
|
};
|
|
2177
2185
|
function PhaseContent_init_$Init$(phase, relation, $this) {
|
|
2178
|
-
var tmp = Companion_getInstance_4().
|
|
2186
|
+
var tmp = Companion_getInstance_4().j40_1;
|
|
2179
2187
|
PhaseContent.call($this, phase, relation, isInterface(tmp, KtMutableList) ? tmp : THROW_CCE());
|
|
2180
2188
|
// Inline function 'kotlin.check' call
|
|
2181
|
-
if (!Companion_getInstance_4().
|
|
2189
|
+
if (!Companion_getInstance_4().j40_1.r()) {
|
|
2182
2190
|
var message = 'The shared empty array list has been modified';
|
|
2183
2191
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2184
2192
|
}
|
|
@@ -2188,17 +2196,17 @@ function PhaseContent_init_$Create$(phase, relation) {
|
|
|
2188
2196
|
return PhaseContent_init_$Init$(phase, relation, objectCreate(protoOf(PhaseContent)));
|
|
2189
2197
|
}
|
|
2190
2198
|
function copiedInterceptors($this) {
|
|
2191
|
-
return toMutableList($this.
|
|
2199
|
+
return toMutableList($this.m40_1);
|
|
2192
2200
|
}
|
|
2193
2201
|
function copyInterceptors($this) {
|
|
2194
|
-
$this.
|
|
2195
|
-
$this.
|
|
2202
|
+
$this.m40_1 = copiedInterceptors($this);
|
|
2203
|
+
$this.n40_1 = false;
|
|
2196
2204
|
}
|
|
2197
2205
|
function Companion_4() {
|
|
2198
2206
|
Companion_instance_5 = this;
|
|
2199
2207
|
var tmp = this;
|
|
2200
2208
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
2201
|
-
tmp.
|
|
2209
|
+
tmp.j40_1 = ArrayList_init_$Create$();
|
|
2202
2210
|
}
|
|
2203
2211
|
var Companion_instance_5;
|
|
2204
2212
|
function Companion_getInstance_4() {
|
|
@@ -2208,47 +2216,47 @@ function Companion_getInstance_4() {
|
|
|
2208
2216
|
}
|
|
2209
2217
|
function PhaseContent(phase, relation, interceptors) {
|
|
2210
2218
|
Companion_getInstance_4();
|
|
2211
|
-
this.
|
|
2212
|
-
this.
|
|
2213
|
-
this.
|
|
2214
|
-
this.
|
|
2219
|
+
this.k40_1 = phase;
|
|
2220
|
+
this.l40_1 = relation;
|
|
2221
|
+
this.m40_1 = interceptors;
|
|
2222
|
+
this.n40_1 = true;
|
|
2215
2223
|
}
|
|
2216
|
-
protoOf(PhaseContent).
|
|
2217
|
-
return this.
|
|
2224
|
+
protoOf(PhaseContent).x2q = function () {
|
|
2225
|
+
return this.m40_1.r();
|
|
2218
2226
|
};
|
|
2219
|
-
protoOf(PhaseContent).
|
|
2220
|
-
return this.
|
|
2227
|
+
protoOf(PhaseContent).e1 = function () {
|
|
2228
|
+
return this.m40_1.e1();
|
|
2221
2229
|
};
|
|
2222
|
-
protoOf(PhaseContent).
|
|
2223
|
-
if (this.
|
|
2230
|
+
protoOf(PhaseContent).o40 = function (interceptor) {
|
|
2231
|
+
if (this.n40_1) {
|
|
2224
2232
|
copyInterceptors(this);
|
|
2225
2233
|
}
|
|
2226
|
-
this.
|
|
2234
|
+
this.m40_1.b1(interceptor);
|
|
2227
2235
|
};
|
|
2228
|
-
protoOf(PhaseContent).
|
|
2229
|
-
var interceptors = this.
|
|
2236
|
+
protoOf(PhaseContent).p40 = function (destination) {
|
|
2237
|
+
var interceptors = this.m40_1;
|
|
2230
2238
|
if (destination instanceof ArrayList) {
|
|
2231
|
-
destination.
|
|
2239
|
+
destination.p5(destination.e1() + interceptors.e1() | 0);
|
|
2232
2240
|
}
|
|
2233
2241
|
var inductionVariable = 0;
|
|
2234
|
-
var last = interceptors.
|
|
2242
|
+
var last = interceptors.e1();
|
|
2235
2243
|
if (inductionVariable < last)
|
|
2236
2244
|
do {
|
|
2237
2245
|
var index = inductionVariable;
|
|
2238
2246
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2239
|
-
destination.b1(interceptors.
|
|
2247
|
+
destination.b1(interceptors.f1(index));
|
|
2240
2248
|
}
|
|
2241
2249
|
while (inductionVariable < last);
|
|
2242
2250
|
};
|
|
2243
|
-
protoOf(PhaseContent).
|
|
2244
|
-
this.
|
|
2245
|
-
return this.
|
|
2251
|
+
protoOf(PhaseContent).q40 = function () {
|
|
2252
|
+
this.n40_1 = true;
|
|
2253
|
+
return this.m40_1;
|
|
2246
2254
|
};
|
|
2247
2255
|
protoOf(PhaseContent).toString = function () {
|
|
2248
|
-
return 'Phase `' + this.
|
|
2256
|
+
return 'Phase `' + this.k40_1.r40_1 + '`, ' + this.e1() + ' handlers';
|
|
2249
2257
|
};
|
|
2250
2258
|
function _set_interceptors__wod97b($this, _set____db54di) {
|
|
2251
|
-
var tmp0 = $this.
|
|
2259
|
+
var tmp0 = $this.w40_1;
|
|
2252
2260
|
var tmp = KMutableProperty1;
|
|
2253
2261
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
|
|
2254
2262
|
// Inline function 'kotlinx.atomicfu.AtomicRef.setValue' call
|
|
@@ -2257,7 +2265,7 @@ function _set_interceptors__wod97b($this, _set____db54di) {
|
|
|
2257
2265
|
return Unit_instance;
|
|
2258
2266
|
}
|
|
2259
2267
|
function _get_interceptors__h4min7($this) {
|
|
2260
|
-
var tmp0 = $this.
|
|
2268
|
+
var tmp0 = $this.w40_1;
|
|
2261
2269
|
var tmp = KMutableProperty1;
|
|
2262
2270
|
var tmp_0 = Pipeline$_get_interceptors_$ref_u6zl4e();
|
|
2263
2271
|
// Inline function 'kotlinx.atomicfu.AtomicRef.getValue' call
|
|
@@ -2265,25 +2273,25 @@ function _get_interceptors__h4min7($this) {
|
|
|
2265
2273
|
return tmp0.kotlinx$atomicfu$value;
|
|
2266
2274
|
}
|
|
2267
2275
|
function createContext($this, context, subject, coroutineContext) {
|
|
2268
|
-
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.
|
|
2276
|
+
return pipelineContextFor(context, sharedInterceptorsList($this), subject, coroutineContext, $this.z40());
|
|
2269
2277
|
}
|
|
2270
2278
|
function findPhase($this, phase) {
|
|
2271
|
-
var phasesList = $this.
|
|
2279
|
+
var phasesList = $this.u40_1;
|
|
2272
2280
|
var inductionVariable = 0;
|
|
2273
|
-
var last = phasesList.
|
|
2281
|
+
var last = phasesList.e1();
|
|
2274
2282
|
if (inductionVariable < last)
|
|
2275
2283
|
do {
|
|
2276
2284
|
var index = inductionVariable;
|
|
2277
2285
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2278
|
-
var current = phasesList.
|
|
2286
|
+
var current = phasesList.f1(index);
|
|
2279
2287
|
if (current === phase) {
|
|
2280
2288
|
var content = PhaseContent_init_$Create$(phase, Last_getInstance());
|
|
2281
|
-
phasesList.
|
|
2289
|
+
phasesList.x2(index, content);
|
|
2282
2290
|
return content;
|
|
2283
2291
|
}
|
|
2284
2292
|
var tmp;
|
|
2285
2293
|
if (current instanceof PhaseContent) {
|
|
2286
|
-
tmp = current.
|
|
2294
|
+
tmp = current.k40_1 === phase;
|
|
2287
2295
|
} else {
|
|
2288
2296
|
tmp = false;
|
|
2289
2297
|
}
|
|
@@ -2295,21 +2303,21 @@ function findPhase($this, phase) {
|
|
|
2295
2303
|
return null;
|
|
2296
2304
|
}
|
|
2297
2305
|
function findPhaseIndex($this, phase) {
|
|
2298
|
-
var phasesList = $this.
|
|
2306
|
+
var phasesList = $this.u40_1;
|
|
2299
2307
|
var inductionVariable = 0;
|
|
2300
|
-
var last = phasesList.
|
|
2308
|
+
var last = phasesList.e1();
|
|
2301
2309
|
if (inductionVariable < last)
|
|
2302
2310
|
do {
|
|
2303
2311
|
var index = inductionVariable;
|
|
2304
2312
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2305
|
-
var current = phasesList.
|
|
2313
|
+
var current = phasesList.f1(index);
|
|
2306
2314
|
var tmp;
|
|
2307
2315
|
if (current === phase) {
|
|
2308
2316
|
tmp = true;
|
|
2309
2317
|
} else {
|
|
2310
2318
|
var tmp_0;
|
|
2311
2319
|
if (current instanceof PhaseContent) {
|
|
2312
|
-
tmp_0 = current.
|
|
2320
|
+
tmp_0 = current.k40_1 === phase;
|
|
2313
2321
|
} else {
|
|
2314
2322
|
tmp_0 = false;
|
|
2315
2323
|
}
|
|
@@ -2323,21 +2331,21 @@ function findPhaseIndex($this, phase) {
|
|
|
2323
2331
|
return -1;
|
|
2324
2332
|
}
|
|
2325
2333
|
function hasPhase($this, phase) {
|
|
2326
|
-
var phasesList = $this.
|
|
2334
|
+
var phasesList = $this.u40_1;
|
|
2327
2335
|
var inductionVariable = 0;
|
|
2328
|
-
var last = phasesList.
|
|
2336
|
+
var last = phasesList.e1();
|
|
2329
2337
|
if (inductionVariable < last)
|
|
2330
2338
|
do {
|
|
2331
2339
|
var index = inductionVariable;
|
|
2332
2340
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2333
|
-
var current = phasesList.
|
|
2341
|
+
var current = phasesList.f1(index);
|
|
2334
2342
|
var tmp;
|
|
2335
2343
|
if (current === phase) {
|
|
2336
2344
|
tmp = true;
|
|
2337
2345
|
} else {
|
|
2338
2346
|
var tmp_0;
|
|
2339
2347
|
if (current instanceof PhaseContent) {
|
|
2340
|
-
tmp_0 = current.
|
|
2348
|
+
tmp_0 = current.k40_1 === phase;
|
|
2341
2349
|
} else {
|
|
2342
2350
|
tmp_0 = false;
|
|
2343
2351
|
}
|
|
@@ -2351,12 +2359,12 @@ function hasPhase($this, phase) {
|
|
|
2351
2359
|
return false;
|
|
2352
2360
|
}
|
|
2353
2361
|
function cacheInterceptors($this) {
|
|
2354
|
-
var interceptorsQuantity = $this.
|
|
2362
|
+
var interceptorsQuantity = $this.v40_1;
|
|
2355
2363
|
if (interceptorsQuantity === 0) {
|
|
2356
2364
|
notSharedInterceptorsList($this, emptyList());
|
|
2357
2365
|
return emptyList();
|
|
2358
2366
|
}
|
|
2359
|
-
var phases = $this.
|
|
2367
|
+
var phases = $this.u40_1;
|
|
2360
2368
|
if (interceptorsQuantity === 1) {
|
|
2361
2369
|
var inductionVariable = 0;
|
|
2362
2370
|
var last = get_lastIndex_0(phases);
|
|
@@ -2364,7 +2372,7 @@ function cacheInterceptors($this) {
|
|
|
2364
2372
|
$l$loop_0: do {
|
|
2365
2373
|
var phaseIndex = inductionVariable;
|
|
2366
2374
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2367
|
-
var tmp = phases.
|
|
2375
|
+
var tmp = phases.f1(phaseIndex);
|
|
2368
2376
|
var tmp0_elvis_lhs = tmp instanceof PhaseContent ? tmp : null;
|
|
2369
2377
|
var tmp_0;
|
|
2370
2378
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2373,9 +2381,9 @@ function cacheInterceptors($this) {
|
|
|
2373
2381
|
tmp_0 = tmp0_elvis_lhs;
|
|
2374
2382
|
}
|
|
2375
2383
|
var phaseContent = tmp_0;
|
|
2376
|
-
if (phaseContent.
|
|
2384
|
+
if (phaseContent.x2q())
|
|
2377
2385
|
continue $l$loop_0;
|
|
2378
|
-
var interceptors = phaseContent.
|
|
2386
|
+
var interceptors = phaseContent.q40();
|
|
2379
2387
|
setInterceptorsListFromPhase($this, phaseContent);
|
|
2380
2388
|
return interceptors;
|
|
2381
2389
|
}
|
|
@@ -2389,7 +2397,7 @@ function cacheInterceptors($this) {
|
|
|
2389
2397
|
$l$loop_1: do {
|
|
2390
2398
|
var phaseIndex_0 = inductionVariable_0;
|
|
2391
2399
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2392
|
-
var tmp_1 = phases.
|
|
2400
|
+
var tmp_1 = phases.f1(phaseIndex_0);
|
|
2393
2401
|
var tmp1_elvis_lhs = tmp_1 instanceof PhaseContent ? tmp_1 : null;
|
|
2394
2402
|
var tmp_2;
|
|
2395
2403
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -2398,7 +2406,7 @@ function cacheInterceptors($this) {
|
|
|
2398
2406
|
tmp_2 = tmp1_elvis_lhs;
|
|
2399
2407
|
}
|
|
2400
2408
|
var phase = tmp_2;
|
|
2401
|
-
phase.
|
|
2409
|
+
phase.p40(destination);
|
|
2402
2410
|
}
|
|
2403
2411
|
while (!(phaseIndex_0 === last_0));
|
|
2404
2412
|
notSharedInterceptorsList($this, destination);
|
|
@@ -2408,31 +2416,31 @@ function sharedInterceptorsList($this) {
|
|
|
2408
2416
|
if (_get_interceptors__h4min7($this) == null) {
|
|
2409
2417
|
cacheInterceptors($this);
|
|
2410
2418
|
}
|
|
2411
|
-
$this.
|
|
2419
|
+
$this.x40_1 = true;
|
|
2412
2420
|
return ensureNotNull(_get_interceptors__h4min7($this));
|
|
2413
2421
|
}
|
|
2414
2422
|
function resetInterceptorsList($this) {
|
|
2415
2423
|
_set_interceptors__wod97b($this, null);
|
|
2416
|
-
$this.
|
|
2417
|
-
$this.
|
|
2424
|
+
$this.x40_1 = false;
|
|
2425
|
+
$this.y40_1 = null;
|
|
2418
2426
|
}
|
|
2419
2427
|
function notSharedInterceptorsList($this, list) {
|
|
2420
2428
|
_set_interceptors__wod97b($this, list);
|
|
2421
|
-
$this.
|
|
2422
|
-
$this.
|
|
2429
|
+
$this.x40_1 = false;
|
|
2430
|
+
$this.y40_1 = null;
|
|
2423
2431
|
}
|
|
2424
2432
|
function setInterceptorsListFromPhase($this, phaseContent) {
|
|
2425
|
-
_set_interceptors__wod97b($this, phaseContent.
|
|
2426
|
-
$this.
|
|
2427
|
-
$this.
|
|
2433
|
+
_set_interceptors__wod97b($this, phaseContent.q40());
|
|
2434
|
+
$this.x40_1 = false;
|
|
2435
|
+
$this.y40_1 = phaseContent.k40_1;
|
|
2428
2436
|
}
|
|
2429
2437
|
function tryAddToPhaseFastPath($this, phase, block) {
|
|
2430
2438
|
var currentInterceptors = _get_interceptors__h4min7($this);
|
|
2431
|
-
if ($this.
|
|
2439
|
+
if ($this.u40_1.r() || currentInterceptors == null) {
|
|
2432
2440
|
return false;
|
|
2433
2441
|
}
|
|
2434
2442
|
var tmp;
|
|
2435
|
-
if ($this.
|
|
2443
|
+
if ($this.x40_1) {
|
|
2436
2444
|
tmp = true;
|
|
2437
2445
|
} else {
|
|
2438
2446
|
tmp = !isInterface(currentInterceptors, KtMutableList);
|
|
@@ -2440,12 +2448,12 @@ function tryAddToPhaseFastPath($this, phase, block) {
|
|
|
2440
2448
|
if (tmp) {
|
|
2441
2449
|
return false;
|
|
2442
2450
|
}
|
|
2443
|
-
if (equals_0($this.
|
|
2451
|
+
if (equals_0($this.y40_1, phase)) {
|
|
2444
2452
|
currentInterceptors.b1(block);
|
|
2445
2453
|
return true;
|
|
2446
2454
|
}
|
|
2447
|
-
if (equals_0(phase, last($this.
|
|
2448
|
-
ensureNotNull(findPhase($this, phase)).
|
|
2455
|
+
if (equals_0(phase, last($this.u40_1)) || findPhaseIndex($this, phase) === get_lastIndex_0($this.u40_1)) {
|
|
2456
|
+
ensureNotNull(findPhase($this, phase)).o40(block);
|
|
2449
2457
|
currentInterceptors.b1(block);
|
|
2450
2458
|
return true;
|
|
2451
2459
|
}
|
|
@@ -2463,23 +2471,23 @@ function Pipeline$_set_interceptors_$ref_13vc1m() {
|
|
|
2463
2471
|
}, 2, 0, 19);
|
|
2464
2472
|
}
|
|
2465
2473
|
function Pipeline(phases) {
|
|
2466
|
-
this.
|
|
2467
|
-
this.
|
|
2468
|
-
this.
|
|
2469
|
-
this.
|
|
2470
|
-
this.
|
|
2471
|
-
this.
|
|
2472
|
-
this.
|
|
2473
|
-
}
|
|
2474
|
-
protoOf(Pipeline).
|
|
2475
|
-
return this.
|
|
2476
|
-
};
|
|
2477
|
-
protoOf(Pipeline).
|
|
2474
|
+
this.s40_1 = AttributesJsFn(true);
|
|
2475
|
+
this.t40_1 = false;
|
|
2476
|
+
this.u40_1 = mutableListOf(phases.slice());
|
|
2477
|
+
this.v40_1 = 0;
|
|
2478
|
+
this.w40_1 = atomic$ref$1(null);
|
|
2479
|
+
this.x40_1 = false;
|
|
2480
|
+
this.y40_1 = null;
|
|
2481
|
+
}
|
|
2482
|
+
protoOf(Pipeline).z40 = function () {
|
|
2483
|
+
return this.t40_1;
|
|
2484
|
+
};
|
|
2485
|
+
protoOf(Pipeline).a41 = function (context, subject, $completion) {
|
|
2478
2486
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
2479
|
-
var tmp$ret$0 = $completion.
|
|
2480
|
-
return createContext(this, context, subject, tmp$ret$0).
|
|
2487
|
+
var tmp$ret$0 = $completion.b9();
|
|
2488
|
+
return createContext(this, context, subject, tmp$ret$0).i40(subject, $completion);
|
|
2481
2489
|
};
|
|
2482
|
-
protoOf(Pipeline).
|
|
2490
|
+
protoOf(Pipeline).c41 = function (reference, phase) {
|
|
2483
2491
|
if (hasPhase(this, phase))
|
|
2484
2492
|
return Unit_instance;
|
|
2485
2493
|
var index = findPhaseIndex(this, reference);
|
|
@@ -2488,14 +2496,14 @@ protoOf(Pipeline).m3j = function (reference, phase) {
|
|
|
2488
2496
|
}
|
|
2489
2497
|
var lastRelatedPhaseIndex = index;
|
|
2490
2498
|
var inductionVariable = index + 1 | 0;
|
|
2491
|
-
var last = get_lastIndex_0(this.
|
|
2499
|
+
var last = get_lastIndex_0(this.u40_1);
|
|
2492
2500
|
if (inductionVariable <= last)
|
|
2493
2501
|
$l$loop_0: do {
|
|
2494
2502
|
var i = inductionVariable;
|
|
2495
2503
|
inductionVariable = inductionVariable + 1 | 0;
|
|
2496
|
-
var tmp = this.
|
|
2504
|
+
var tmp = this.u40_1.f1(i);
|
|
2497
2505
|
var tmp0_safe_receiver = tmp instanceof PhaseContent ? tmp : null;
|
|
2498
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2506
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l40_1;
|
|
2499
2507
|
var tmp_0;
|
|
2500
2508
|
if (tmp1_elvis_lhs == null) {
|
|
2501
2509
|
break $l$loop_0;
|
|
@@ -2504,7 +2512,7 @@ protoOf(Pipeline).m3j = function (reference, phase) {
|
|
|
2504
2512
|
}
|
|
2505
2513
|
var relation = tmp_0;
|
|
2506
2514
|
var tmp2_safe_receiver = relation instanceof After ? relation : null;
|
|
2507
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
2515
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.d41_1;
|
|
2508
2516
|
var tmp_1;
|
|
2509
2517
|
if (tmp3_elvis_lhs == null) {
|
|
2510
2518
|
continue $l$loop_0;
|
|
@@ -2515,18 +2523,18 @@ protoOf(Pipeline).m3j = function (reference, phase) {
|
|
|
2515
2523
|
lastRelatedPhaseIndex = equals_0(relatedTo, reference) ? i : lastRelatedPhaseIndex;
|
|
2516
2524
|
}
|
|
2517
2525
|
while (!(i === last));
|
|
2518
|
-
this.
|
|
2526
|
+
this.u40_1.y2(lastRelatedPhaseIndex + 1 | 0, PhaseContent_init_$Create$(phase, new After(reference)));
|
|
2519
2527
|
};
|
|
2520
|
-
protoOf(Pipeline).
|
|
2528
|
+
protoOf(Pipeline).e41 = function (reference, phase) {
|
|
2521
2529
|
if (hasPhase(this, phase))
|
|
2522
2530
|
return Unit_instance;
|
|
2523
2531
|
var index = findPhaseIndex(this, reference);
|
|
2524
2532
|
if (index === -1) {
|
|
2525
2533
|
throw new InvalidPhaseException('Phase ' + reference.toString() + ' was not registered for this pipeline');
|
|
2526
2534
|
}
|
|
2527
|
-
this.
|
|
2535
|
+
this.u40_1.y2(index, PhaseContent_init_$Create$(phase, new Before(reference)));
|
|
2528
2536
|
};
|
|
2529
|
-
protoOf(Pipeline).
|
|
2537
|
+
protoOf(Pipeline).f41 = function (phase, block) {
|
|
2530
2538
|
var tmp0_elvis_lhs = findPhase(this, phase);
|
|
2531
2539
|
var tmp;
|
|
2532
2540
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -2536,21 +2544,21 @@ protoOf(Pipeline).p3j = function (phase, block) {
|
|
|
2536
2544
|
}
|
|
2537
2545
|
var phaseContent = tmp;
|
|
2538
2546
|
if (tryAddToPhaseFastPath(this, phase, block)) {
|
|
2539
|
-
this.
|
|
2547
|
+
this.v40_1 = this.v40_1 + 1 | 0;
|
|
2540
2548
|
return Unit_instance;
|
|
2541
2549
|
}
|
|
2542
|
-
phaseContent.
|
|
2543
|
-
this.
|
|
2550
|
+
phaseContent.o40(block);
|
|
2551
|
+
this.v40_1 = this.v40_1 + 1 | 0;
|
|
2544
2552
|
resetInterceptorsList(this);
|
|
2545
|
-
this.
|
|
2553
|
+
this.g41();
|
|
2546
2554
|
};
|
|
2547
|
-
protoOf(Pipeline).
|
|
2555
|
+
protoOf(Pipeline).g41 = function () {
|
|
2548
2556
|
};
|
|
2549
2557
|
protoOf(Pipeline).toString = function () {
|
|
2550
2558
|
return anyToString(this);
|
|
2551
2559
|
};
|
|
2552
2560
|
function PipelineContext(context) {
|
|
2553
|
-
this.
|
|
2561
|
+
this.b41_1 = context;
|
|
2554
2562
|
}
|
|
2555
2563
|
function pipelineContextFor(context, interceptors, subject, coroutineContext, debugMode) {
|
|
2556
2564
|
debugMode = debugMode === VOID ? false : debugMode;
|
|
@@ -2563,10 +2571,10 @@ function pipelineContextFor(context, interceptors, subject, coroutineContext, de
|
|
|
2563
2571
|
return tmp;
|
|
2564
2572
|
}
|
|
2565
2573
|
function PipelinePhase(name) {
|
|
2566
|
-
this.
|
|
2574
|
+
this.r40_1 = name;
|
|
2567
2575
|
}
|
|
2568
2576
|
protoOf(PipelinePhase).toString = function () {
|
|
2569
|
-
return "Phase('" + this.
|
|
2577
|
+
return "Phase('" + this.r40_1 + "')";
|
|
2570
2578
|
};
|
|
2571
2579
|
function InvalidPhaseException(message) {
|
|
2572
2580
|
extendThrowable(this, message);
|
|
@@ -2574,11 +2582,11 @@ function InvalidPhaseException(message) {
|
|
|
2574
2582
|
}
|
|
2575
2583
|
function After(relativeTo) {
|
|
2576
2584
|
PipelinePhaseRelation.call(this);
|
|
2577
|
-
this.
|
|
2585
|
+
this.d41_1 = relativeTo;
|
|
2578
2586
|
}
|
|
2579
2587
|
function Before(relativeTo) {
|
|
2580
2588
|
PipelinePhaseRelation.call(this);
|
|
2581
|
-
this.
|
|
2589
|
+
this.h41_1 = relativeTo;
|
|
2582
2590
|
}
|
|
2583
2591
|
function Last() {
|
|
2584
2592
|
Last_instance = this;
|
|
@@ -2623,21 +2631,21 @@ function recoverStackTraceBridge(exception, continuation) {
|
|
|
2623
2631
|
}
|
|
2624
2632
|
function loop($this, direct) {
|
|
2625
2633
|
do {
|
|
2626
|
-
var currentIndex = $this.
|
|
2627
|
-
if (currentIndex === $this.
|
|
2634
|
+
var currentIndex = $this.o41_1;
|
|
2635
|
+
if (currentIndex === $this.j41_1.e1()) {
|
|
2628
2636
|
if (!direct) {
|
|
2629
2637
|
// Inline function 'kotlin.Companion.success' call
|
|
2630
|
-
var value = $this.
|
|
2638
|
+
var value = $this.l41_1;
|
|
2631
2639
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(value);
|
|
2632
2640
|
resumeRootWith($this, tmp$ret$0);
|
|
2633
2641
|
return false;
|
|
2634
2642
|
}
|
|
2635
2643
|
return true;
|
|
2636
2644
|
}
|
|
2637
|
-
$this.
|
|
2638
|
-
var next = $this.
|
|
2645
|
+
$this.o41_1 = currentIndex + 1 | 0;
|
|
2646
|
+
var next = $this.j41_1.f1(currentIndex);
|
|
2639
2647
|
try {
|
|
2640
|
-
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.
|
|
2648
|
+
var result = pipelineStartCoroutineUninterceptedOrReturn(next, $this, $this.l41_1, $this.k41_1);
|
|
2641
2649
|
if (result === get_COROUTINE_SUSPENDED())
|
|
2642
2650
|
return false;
|
|
2643
2651
|
} catch ($p) {
|
|
@@ -2656,63 +2664,63 @@ function loop($this, direct) {
|
|
|
2656
2664
|
}
|
|
2657
2665
|
function resumeRootWith($this, result) {
|
|
2658
2666
|
// Inline function 'kotlin.check' call
|
|
2659
|
-
if (!($this.
|
|
2667
|
+
if (!($this.n41_1 >= 0)) {
|
|
2660
2668
|
var message = 'No more continuations to resume';
|
|
2661
2669
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2662
2670
|
}
|
|
2663
|
-
var next = ensureNotNull($this.
|
|
2664
|
-
var _unary__edvuaz = $this.
|
|
2665
|
-
$this.
|
|
2666
|
-
$this.
|
|
2667
|
-
var interceptor = next.
|
|
2671
|
+
var next = ensureNotNull($this.m41_1[$this.n41_1]);
|
|
2672
|
+
var _unary__edvuaz = $this.n41_1;
|
|
2673
|
+
$this.n41_1 = _unary__edvuaz - 1 | 0;
|
|
2674
|
+
$this.m41_1[_unary__edvuaz] = null;
|
|
2675
|
+
var interceptor = next.b9().i9(Key_instance);
|
|
2668
2676
|
var tmp;
|
|
2669
2677
|
if (interceptor instanceof CoroutineDispatcher) {
|
|
2670
|
-
tmp = interceptor.
|
|
2678
|
+
tmp = interceptor.h1v(next.b9()) ? intercepted(next) : next;
|
|
2671
2679
|
} else {
|
|
2672
2680
|
tmp = intercepted(next);
|
|
2673
2681
|
}
|
|
2674
2682
|
var toResume = tmp;
|
|
2675
2683
|
var exception = Result__exceptionOrNull_impl_p6xea9(result);
|
|
2676
2684
|
if (exception == null) {
|
|
2677
|
-
toResume.
|
|
2685
|
+
toResume.g9(result);
|
|
2678
2686
|
} else {
|
|
2679
2687
|
var recoveredException = recoverStackTraceBridge(exception, next);
|
|
2680
2688
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
2681
2689
|
// Inline function 'kotlin.Companion.failure' call
|
|
2682
2690
|
var tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(recoveredException));
|
|
2683
|
-
toResume.
|
|
2691
|
+
toResume.g9(tmp$ret$3);
|
|
2684
2692
|
}
|
|
2685
2693
|
}
|
|
2686
2694
|
function discardLastRootContinuation($this) {
|
|
2687
2695
|
// Inline function 'kotlin.check' call
|
|
2688
|
-
if (!($this.
|
|
2696
|
+
if (!($this.n41_1 >= 0)) {
|
|
2689
2697
|
var message = 'No more continuations to resume';
|
|
2690
2698
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2691
2699
|
}
|
|
2692
|
-
var _unary__edvuaz = $this.
|
|
2693
|
-
$this.
|
|
2694
|
-
$this.
|
|
2700
|
+
var _unary__edvuaz = $this.n41_1;
|
|
2701
|
+
$this.n41_1 = _unary__edvuaz - 1 | 0;
|
|
2702
|
+
$this.m41_1[_unary__edvuaz] = null;
|
|
2695
2703
|
}
|
|
2696
2704
|
function SuspendFunctionGun$continuation$1(this$0) {
|
|
2697
|
-
this.
|
|
2698
|
-
this.
|
|
2705
|
+
this.q41_1 = this$0;
|
|
2706
|
+
this.p41_1 = -2147483648;
|
|
2699
2707
|
}
|
|
2700
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2701
|
-
var inductionVariable = this.
|
|
2708
|
+
protoOf(SuspendFunctionGun$continuation$1).b9 = function () {
|
|
2709
|
+
var inductionVariable = this.q41_1.n41_1;
|
|
2702
2710
|
if (0 <= inductionVariable)
|
|
2703
2711
|
do {
|
|
2704
2712
|
var index = inductionVariable;
|
|
2705
2713
|
inductionVariable = inductionVariable + -1 | 0;
|
|
2706
|
-
var cont = this.
|
|
2714
|
+
var cont = this.q41_1.m41_1[index];
|
|
2707
2715
|
if (!(cont === this) && !(cont == null))
|
|
2708
|
-
return cont.
|
|
2716
|
+
return cont.b9();
|
|
2709
2717
|
}
|
|
2710
2718
|
while (0 <= inductionVariable);
|
|
2711
2719
|
// Inline function 'kotlin.error' call
|
|
2712
2720
|
var message = 'Not started';
|
|
2713
2721
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2714
2722
|
};
|
|
2715
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2723
|
+
protoOf(SuspendFunctionGun$continuation$1).hh = function (result) {
|
|
2716
2724
|
// Inline function 'kotlin.onFailure' call
|
|
2717
2725
|
var tmp0_safe_receiver = Result__exceptionOrNull_impl_p6xea9(result);
|
|
2718
2726
|
if (tmp0_safe_receiver == null)
|
|
@@ -2721,79 +2729,79 @@ protoOf(SuspendFunctionGun$continuation$1).zg = function (result) {
|
|
|
2721
2729
|
// Inline function 'kotlin.let' call
|
|
2722
2730
|
// Inline function 'kotlin.Companion.failure' call
|
|
2723
2731
|
var tmp$ret$4 = _Result___init__impl__xyqfz8(createFailure(tmp0_safe_receiver));
|
|
2724
|
-
resumeRootWith(this.
|
|
2732
|
+
resumeRootWith(this.q41_1, tmp$ret$4);
|
|
2725
2733
|
return Unit_instance;
|
|
2726
2734
|
}
|
|
2727
|
-
loop(this.
|
|
2735
|
+
loop(this.q41_1, false);
|
|
2728
2736
|
};
|
|
2729
|
-
protoOf(SuspendFunctionGun$continuation$1).
|
|
2730
|
-
return this.
|
|
2737
|
+
protoOf(SuspendFunctionGun$continuation$1).g9 = function (result) {
|
|
2738
|
+
return this.hh(result);
|
|
2731
2739
|
};
|
|
2732
2740
|
function SuspendFunctionGun(initial, context, interceptors) {
|
|
2733
2741
|
PipelineContext.call(this, context);
|
|
2734
|
-
this.
|
|
2742
|
+
this.j41_1 = interceptors;
|
|
2735
2743
|
var tmp = this;
|
|
2736
|
-
tmp.
|
|
2737
|
-
this.
|
|
2744
|
+
tmp.k41_1 = new SuspendFunctionGun$continuation$1(this);
|
|
2745
|
+
this.l41_1 = initial;
|
|
2738
2746
|
var tmp_0 = this;
|
|
2739
2747
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
2740
|
-
var size = this.
|
|
2741
|
-
tmp_0.
|
|
2742
|
-
this.
|
|
2743
|
-
this.
|
|
2748
|
+
var size = this.j41_1.e1();
|
|
2749
|
+
tmp_0.m41_1 = Array(size);
|
|
2750
|
+
this.n41_1 = -1;
|
|
2751
|
+
this.o41_1 = 0;
|
|
2744
2752
|
}
|
|
2745
|
-
protoOf(SuspendFunctionGun).
|
|
2746
|
-
return this.
|
|
2753
|
+
protoOf(SuspendFunctionGun).w1m = function () {
|
|
2754
|
+
return this.k41_1.b9();
|
|
2747
2755
|
};
|
|
2748
|
-
protoOf(SuspendFunctionGun).
|
|
2749
|
-
return this.
|
|
2756
|
+
protoOf(SuspendFunctionGun).f40 = function () {
|
|
2757
|
+
return this.l41_1;
|
|
2750
2758
|
};
|
|
2751
|
-
protoOf(SuspendFunctionGun).
|
|
2759
|
+
protoOf(SuspendFunctionGun).h40 = function ($completion) {
|
|
2752
2760
|
var tmp$ret$0;
|
|
2753
2761
|
$l$block_0: {
|
|
2754
|
-
if (this.
|
|
2755
|
-
tmp$ret$0 = this.
|
|
2762
|
+
if (this.o41_1 === this.j41_1.e1()) {
|
|
2763
|
+
tmp$ret$0 = this.l41_1;
|
|
2756
2764
|
break $l$block_0;
|
|
2757
2765
|
}
|
|
2758
|
-
this.
|
|
2766
|
+
this.r41($completion);
|
|
2759
2767
|
if (loop(this, true)) {
|
|
2760
2768
|
discardLastRootContinuation(this);
|
|
2761
|
-
tmp$ret$0 = this.
|
|
2769
|
+
tmp$ret$0 = this.l41_1;
|
|
2762
2770
|
break $l$block_0;
|
|
2763
2771
|
}
|
|
2764
2772
|
tmp$ret$0 = get_COROUTINE_SUSPENDED();
|
|
2765
2773
|
}
|
|
2766
2774
|
return tmp$ret$0;
|
|
2767
2775
|
};
|
|
2768
|
-
protoOf(SuspendFunctionGun).
|
|
2769
|
-
this.
|
|
2770
|
-
return this.
|
|
2776
|
+
protoOf(SuspendFunctionGun).g40 = function (subject, $completion) {
|
|
2777
|
+
this.l41_1 = subject;
|
|
2778
|
+
return this.h40($completion);
|
|
2771
2779
|
};
|
|
2772
|
-
protoOf(SuspendFunctionGun).
|
|
2773
|
-
this.
|
|
2774
|
-
if (this.
|
|
2780
|
+
protoOf(SuspendFunctionGun).i40 = function (initial, $completion) {
|
|
2781
|
+
this.o41_1 = 0;
|
|
2782
|
+
if (this.o41_1 === this.j41_1.e1())
|
|
2775
2783
|
return initial;
|
|
2776
|
-
this.
|
|
2784
|
+
this.l41_1 = initial;
|
|
2777
2785
|
// Inline function 'kotlin.check' call
|
|
2778
|
-
if (!(this.
|
|
2786
|
+
if (!(this.n41_1 < 0)) {
|
|
2779
2787
|
var message = 'Already started';
|
|
2780
2788
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
2781
2789
|
}
|
|
2782
|
-
return this.
|
|
2790
|
+
return this.h40($completion);
|
|
2783
2791
|
};
|
|
2784
|
-
protoOf(SuspendFunctionGun).
|
|
2785
|
-
this.
|
|
2786
|
-
this.
|
|
2792
|
+
protoOf(SuspendFunctionGun).r41 = function (continuation) {
|
|
2793
|
+
this.n41_1 = this.n41_1 + 1 | 0;
|
|
2794
|
+
this.m41_1[this.n41_1] = continuation;
|
|
2787
2795
|
};
|
|
2788
2796
|
function TypeInfo(type, kotlinType) {
|
|
2789
2797
|
kotlinType = kotlinType === VOID ? null : kotlinType;
|
|
2790
|
-
this.
|
|
2791
|
-
this.
|
|
2798
|
+
this.s41_1 = type;
|
|
2799
|
+
this.t41_1 = kotlinType;
|
|
2792
2800
|
}
|
|
2793
2801
|
protoOf(TypeInfo).hashCode = function () {
|
|
2794
|
-
var tmp0_safe_receiver = this.
|
|
2802
|
+
var tmp0_safe_receiver = this.t41_1;
|
|
2795
2803
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
2796
|
-
return tmp1_elvis_lhs == null ? this.
|
|
2804
|
+
return tmp1_elvis_lhs == null ? this.s41_1.hashCode() : tmp1_elvis_lhs;
|
|
2797
2805
|
};
|
|
2798
2806
|
protoOf(TypeInfo).equals = function (other) {
|
|
2799
2807
|
if (this === other)
|
|
@@ -2801,16 +2809,16 @@ protoOf(TypeInfo).equals = function (other) {
|
|
|
2801
2809
|
if (!(other instanceof TypeInfo))
|
|
2802
2810
|
return false;
|
|
2803
2811
|
var tmp;
|
|
2804
|
-
if (!(this.
|
|
2805
|
-
tmp = equals_0(this.
|
|
2812
|
+
if (!(this.t41_1 == null) || !(other.t41_1 == null)) {
|
|
2813
|
+
tmp = equals_0(this.t41_1, other.t41_1);
|
|
2806
2814
|
} else {
|
|
2807
|
-
tmp = this.
|
|
2815
|
+
tmp = this.s41_1.equals(other.s41_1);
|
|
2808
2816
|
}
|
|
2809
2817
|
return tmp;
|
|
2810
2818
|
};
|
|
2811
2819
|
protoOf(TypeInfo).toString = function () {
|
|
2812
|
-
var tmp0_elvis_lhs = this.
|
|
2813
|
-
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.
|
|
2820
|
+
var tmp0_elvis_lhs = this.t41_1;
|
|
2821
|
+
return 'TypeInfo(' + toString(tmp0_elvis_lhs == null ? this.s41_1 : tmp0_elvis_lhs) + ')';
|
|
2814
2822
|
};
|
|
2815
2823
|
function get_platform(_this__u8e3s4) {
|
|
2816
2824
|
_init_properties_PlatformUtils_js_kt__7rxm8p();
|
|
@@ -2818,7 +2826,7 @@ function get_platform(_this__u8e3s4) {
|
|
|
2818
2826
|
var tmp = KProperty1;
|
|
2819
2827
|
// Inline function 'kotlin.getValue' call
|
|
2820
2828
|
getPropertyCallableRef('platform', 1, tmp, _get_platform_$ref_41w7mv(), null);
|
|
2821
|
-
return tmp0.
|
|
2829
|
+
return tmp0.p1();
|
|
2822
2830
|
}
|
|
2823
2831
|
var platform$delegate;
|
|
2824
2832
|
function platform$delegate$lambda() {
|
|
@@ -2862,8 +2870,8 @@ function GMTDate_0(timestamp) {
|
|
|
2862
2870
|
if (isNaN_0(date.getTime()))
|
|
2863
2871
|
throw new InvalidTimestampException(ensureNotNull(timestamp));
|
|
2864
2872
|
// Inline function 'kotlin.with' call
|
|
2865
|
-
var dayOfWeek = Companion_instance_3.
|
|
2866
|
-
var month = Companion_instance_4.
|
|
2873
|
+
var dayOfWeek = Companion_instance_3.c3z((date.getUTCDay() + 6 | 0) % 7 | 0);
|
|
2874
|
+
var month = Companion_instance_4.c3z(date.getUTCMonth());
|
|
2867
2875
|
return new GMTDate(date.getUTCSeconds(), date.getUTCMinutes(), date.getUTCHours(), dayOfWeek, date.getUTCDate(), date.getUTCFullYear(), month, date.getUTCFullYear(), numberToLong(date.getTime()));
|
|
2868
2876
|
}
|
|
2869
2877
|
function getTimeMillis() {
|
|
@@ -2880,23 +2888,23 @@ function AttributesJsFn(concurrent) {
|
|
|
2880
2888
|
function AttributesJs() {
|
|
2881
2889
|
var tmp = this;
|
|
2882
2890
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
2883
|
-
tmp.
|
|
2891
|
+
tmp.u41_1 = LinkedHashMap_init_$Create$_0();
|
|
2884
2892
|
}
|
|
2885
|
-
protoOf(AttributesJs).
|
|
2886
|
-
return this.
|
|
2893
|
+
protoOf(AttributesJs).l3v = function (key) {
|
|
2894
|
+
return this.u41_1.s2(key);
|
|
2887
2895
|
};
|
|
2888
|
-
protoOf(AttributesJs).
|
|
2889
|
-
return this.
|
|
2896
|
+
protoOf(AttributesJs).m3v = function (key) {
|
|
2897
|
+
return this.u41_1.q2(key);
|
|
2890
2898
|
};
|
|
2891
|
-
protoOf(AttributesJs).
|
|
2899
|
+
protoOf(AttributesJs).n3v = function (key, value) {
|
|
2892
2900
|
// Inline function 'kotlin.collections.set' call
|
|
2893
|
-
this.
|
|
2901
|
+
this.u41_1.b3(key, value);
|
|
2894
2902
|
};
|
|
2895
|
-
protoOf(AttributesJs).
|
|
2896
|
-
this.
|
|
2903
|
+
protoOf(AttributesJs).p3v = function (key) {
|
|
2904
|
+
this.u41_1.c3(key);
|
|
2897
2905
|
};
|
|
2898
|
-
protoOf(AttributesJs).
|
|
2899
|
-
var tmp0_safe_receiver = this.
|
|
2906
|
+
protoOf(AttributesJs).q3v = function (key, block) {
|
|
2907
|
+
var tmp0_safe_receiver = this.u41_1.s2(key);
|
|
2900
2908
|
if (tmp0_safe_receiver == null)
|
|
2901
2909
|
null;
|
|
2902
2910
|
else {
|
|
@@ -2906,11 +2914,11 @@ protoOf(AttributesJs).a3e = function (key, block) {
|
|
|
2906
2914
|
// Inline function 'kotlin.also' call
|
|
2907
2915
|
var this_0 = block();
|
|
2908
2916
|
// Inline function 'kotlin.collections.set' call
|
|
2909
|
-
this.
|
|
2917
|
+
this.u41_1.b3(key, this_0);
|
|
2910
2918
|
return this_0;
|
|
2911
2919
|
};
|
|
2912
|
-
protoOf(AttributesJs).
|
|
2913
|
-
return toList(this.
|
|
2920
|
+
protoOf(AttributesJs).r3v = function () {
|
|
2921
|
+
return toList(this.u41_1.t2());
|
|
2914
2922
|
};
|
|
2915
2923
|
function unmodifiable(_this__u8e3s4) {
|
|
2916
2924
|
return _this__u8e3s4;
|
|
@@ -2955,7 +2963,7 @@ function getKtorLogLevel() {
|
|
|
2955
2963
|
function KtorSimpleLogger$1() {
|
|
2956
2964
|
var tmp = this;
|
|
2957
2965
|
var tmp_0;
|
|
2958
|
-
switch (PlatformUtils_getInstance().
|
|
2966
|
+
switch (PlatformUtils_getInstance().e3x_1 || PlatformUtils_getInstance().d3x_1) {
|
|
2959
2967
|
case true:
|
|
2960
2968
|
// Inline function 'kotlin.runCatching' call
|
|
2961
2969
|
|
|
@@ -3012,28 +3020,28 @@ function KtorSimpleLogger$1() {
|
|
|
3012
3020
|
noWhenBranchMatchedException();
|
|
3013
3021
|
break;
|
|
3014
3022
|
}
|
|
3015
|
-
tmp.
|
|
3023
|
+
tmp.v41_1 = tmp_0;
|
|
3016
3024
|
}
|
|
3017
|
-
protoOf(KtorSimpleLogger$1).
|
|
3018
|
-
return this.
|
|
3025
|
+
protoOf(KtorSimpleLogger$1).w41 = function () {
|
|
3026
|
+
return this.v41_1;
|
|
3019
3027
|
};
|
|
3020
|
-
protoOf(KtorSimpleLogger$1).
|
|
3021
|
-
if (this.
|
|
3028
|
+
protoOf(KtorSimpleLogger$1).x41 = function (message) {
|
|
3029
|
+
if (this.v41_1.e3(LogLevel_WARN_getInstance()) > 0)
|
|
3022
3030
|
return Unit_instance;
|
|
3023
3031
|
console.warn(message);
|
|
3024
3032
|
};
|
|
3025
|
-
protoOf(KtorSimpleLogger$1).
|
|
3026
|
-
if (this.
|
|
3033
|
+
protoOf(KtorSimpleLogger$1).y41 = function (message, cause) {
|
|
3034
|
+
if (this.v41_1.e3(LogLevel_DEBUG_getInstance()) > 0)
|
|
3027
3035
|
return Unit_instance;
|
|
3028
3036
|
console.debug('DEBUG: ' + message + ', cause: ' + cause.toString());
|
|
3029
3037
|
};
|
|
3030
|
-
protoOf(KtorSimpleLogger$1).
|
|
3031
|
-
if (this.
|
|
3038
|
+
protoOf(KtorSimpleLogger$1).z41 = function (message) {
|
|
3039
|
+
if (this.v41_1.e3(LogLevel_TRACE_getInstance()) > 0)
|
|
3032
3040
|
return Unit_instance;
|
|
3033
3041
|
console.debug('TRACE: ' + message);
|
|
3034
3042
|
};
|
|
3035
3043
|
function get_isTraceEnabled(_this__u8e3s4) {
|
|
3036
|
-
return _this__u8e3s4.
|
|
3044
|
+
return _this__u8e3s4.w41().e3(LogLevel_TRACE_getInstance()) <= 0;
|
|
3037
3045
|
}
|
|
3038
3046
|
var LogLevel_TRACE_instance;
|
|
3039
3047
|
var LogLevel_DEBUG_instance;
|
|
@@ -3095,30 +3103,30 @@ function pipelineStartCoroutineUninterceptedOrReturn(interceptor, context, subje
|
|
|
3095
3103
|
return startCoroutineUninterceptedOrReturnNonGeneratorVersion(coroutine, continuation);
|
|
3096
3104
|
}
|
|
3097
3105
|
function pipelineStartCoroutineUninterceptedOrReturn$slambda($interceptor, $context, $subject, resultContinuation) {
|
|
3098
|
-
this.
|
|
3099
|
-
this.
|
|
3100
|
-
this.
|
|
3106
|
+
this.i42_1 = $interceptor;
|
|
3107
|
+
this.j42_1 = $context;
|
|
3108
|
+
this.k42_1 = $subject;
|
|
3101
3109
|
CoroutineImpl.call(this, resultContinuation);
|
|
3102
3110
|
}
|
|
3103
|
-
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).
|
|
3104
|
-
var tmp = this.
|
|
3105
|
-
tmp.
|
|
3106
|
-
tmp.
|
|
3107
|
-
return tmp.
|
|
3111
|
+
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).l3s = function ($completion) {
|
|
3112
|
+
var tmp = this.l42($completion);
|
|
3113
|
+
tmp.x8_1 = Unit_instance;
|
|
3114
|
+
tmp.y8_1 = null;
|
|
3115
|
+
return tmp.d9();
|
|
3108
3116
|
};
|
|
3109
|
-
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).
|
|
3110
|
-
return this.
|
|
3117
|
+
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).p9 = function ($completion) {
|
|
3118
|
+
return this.l3s($completion);
|
|
3111
3119
|
};
|
|
3112
|
-
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).
|
|
3113
|
-
var suspendResult = this.
|
|
3120
|
+
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).d9 = function () {
|
|
3121
|
+
var suspendResult = this.x8_1;
|
|
3114
3122
|
$sm: do
|
|
3115
3123
|
try {
|
|
3116
|
-
var tmp = this.
|
|
3124
|
+
var tmp = this.v8_1;
|
|
3117
3125
|
switch (tmp) {
|
|
3118
3126
|
case 0:
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
suspendResult = this.
|
|
3127
|
+
this.w8_1 = 2;
|
|
3128
|
+
this.v8_1 = 1;
|
|
3129
|
+
suspendResult = this.i42_1(this.j42_1, this.k42_1, this);
|
|
3122
3130
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3123
3131
|
return suspendResult;
|
|
3124
3132
|
}
|
|
@@ -3127,26 +3135,26 @@ protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).v8 = function () {
|
|
|
3127
3135
|
case 1:
|
|
3128
3136
|
return Unit_instance;
|
|
3129
3137
|
case 2:
|
|
3130
|
-
throw this.
|
|
3138
|
+
throw this.y8_1;
|
|
3131
3139
|
}
|
|
3132
3140
|
} catch ($p) {
|
|
3133
3141
|
var e = $p;
|
|
3134
|
-
if (this.
|
|
3142
|
+
if (this.w8_1 === 2) {
|
|
3135
3143
|
throw e;
|
|
3136
3144
|
} else {
|
|
3137
|
-
this.
|
|
3138
|
-
this.
|
|
3145
|
+
this.v8_1 = this.w8_1;
|
|
3146
|
+
this.y8_1 = e;
|
|
3139
3147
|
}
|
|
3140
3148
|
}
|
|
3141
3149
|
while (true);
|
|
3142
3150
|
};
|
|
3143
|
-
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).
|
|
3144
|
-
return new pipelineStartCoroutineUninterceptedOrReturn$slambda(this.
|
|
3151
|
+
protoOf(pipelineStartCoroutineUninterceptedOrReturn$slambda).l42 = function (completion) {
|
|
3152
|
+
return new pipelineStartCoroutineUninterceptedOrReturn$slambda(this.i42_1, this.j42_1, this.k42_1, completion);
|
|
3145
3153
|
};
|
|
3146
3154
|
function pipelineStartCoroutineUninterceptedOrReturn$slambda_0($interceptor, $context, $subject, resultContinuation) {
|
|
3147
3155
|
var i = new pipelineStartCoroutineUninterceptedOrReturn$slambda($interceptor, $context, $subject, resultContinuation);
|
|
3148
3156
|
return constructCallableReference(function ($completion) {
|
|
3149
|
-
return i.
|
|
3157
|
+
return i.l3s($completion);
|
|
3150
3158
|
}, 0);
|
|
3151
3159
|
}
|
|
3152
3160
|
function get_DISABLE_SFG() {
|
|
@@ -3157,12 +3165,12 @@ function withCause(_this__u8e3s4, cause) {
|
|
|
3157
3165
|
return _this__u8e3s4;
|
|
3158
3166
|
}
|
|
3159
3167
|
function instanceOf(_this__u8e3s4, type) {
|
|
3160
|
-
return type.
|
|
3168
|
+
return type.wa(_this__u8e3s4);
|
|
3161
3169
|
}
|
|
3162
3170
|
//region block: post-declaration
|
|
3163
|
-
protoOf($serializer).
|
|
3164
|
-
protoOf(AttributesJs).
|
|
3165
|
-
protoOf(AttributesJs).
|
|
3171
|
+
protoOf($serializer).m11 = typeParametersSerializers;
|
|
3172
|
+
protoOf(AttributesJs).k3v = get;
|
|
3173
|
+
protoOf(AttributesJs).o3v = set;
|
|
3166
3174
|
//endregion
|
|
3167
3175
|
//region block: init
|
|
3168
3176
|
Companion_instance_1 = new Companion_0();
|