@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1176 → 0.9.0-SNAPSHOT.1177
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/Napier-napier-js-ir.js +26 -26
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3013 -2951
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js.map +1 -1
- package/colormath-root-colormath-js-ir.js +473 -473
- package/fluid-locale-js-ir.js +125 -125
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +61 -8
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +647 -322
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-parser.js +1911 -1714
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +90 -90
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +244 -72
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -240,6 +240,7 @@
|
|
|
240
240
|
setMetadataFor(SharedFlowImpl, 'SharedFlowImpl', classMeta, AbstractSharedFlow, [AbstractSharedFlow, FlowCollector, FusibleFlow], VOID, VOID, [1]);
|
|
241
241
|
setMetadataFor(AbstractSharedFlowSlot, 'AbstractSharedFlowSlot', classMeta);
|
|
242
242
|
setMetadataFor(SharedFlowSlot, 'SharedFlowSlot', classMeta, AbstractSharedFlowSlot);
|
|
243
|
+
setMetadataFor(StateFlow, 'StateFlow', interfaceMeta, VOID, VOID, VOID, VOID, [1]);
|
|
243
244
|
setMetadataFor(ChannelFlow, 'ChannelFlow', classMeta, VOID, [FusibleFlow], VOID, VOID, [1]);
|
|
244
245
|
setMetadataFor(ChannelFlowOperator, 'ChannelFlowOperator', classMeta, ChannelFlow, VOID, VOID, VOID, [1, 2]);
|
|
245
246
|
setMetadataFor(ChannelFlowOperatorImpl, 'ChannelFlowOperatorImpl', classMeta, ChannelFlowOperator, VOID, VOID, VOID, [1]);
|
|
@@ -252,6 +253,9 @@
|
|
|
252
253
|
setMetadataFor(StackFrameContinuation, 'StackFrameContinuation', classMeta, VOID, [Continuation]);
|
|
253
254
|
setMetadataFor(NopCollector, 'NopCollector', objectMeta, VOID, [FlowCollector], VOID, VOID, [1]);
|
|
254
255
|
setMetadataFor(SendingCollector, 'SendingCollector', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
|
|
256
|
+
setMetadataFor(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
|
|
257
|
+
setMetadataFor(DistinctFlowImpl$collect$slambda, 'DistinctFlowImpl$collect$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
|
|
258
|
+
setMetadataFor(DistinctFlowImpl, 'DistinctFlowImpl', classMeta, VOID, VOID, VOID, VOID, [1]);
|
|
255
259
|
setMetadataFor(ThrowingCollector, 'ThrowingCollector', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
|
|
256
260
|
setMetadataFor($onSubscriptionCOROUTINE$9, '$onSubscriptionCOROUTINE$9', classMeta, CoroutineImpl);
|
|
257
261
|
setMetadataFor(SubscribedFlowCollector, 'SubscribedFlowCollector', classMeta, VOID, [FlowCollector], VOID, VOID, [1, 0]);
|
|
@@ -6488,6 +6492,8 @@
|
|
|
6488
6492
|
NO_VALUE = new Symbol('NO_VALUE');
|
|
6489
6493
|
}
|
|
6490
6494
|
}
|
|
6495
|
+
function StateFlow() {
|
|
6496
|
+
}
|
|
6491
6497
|
function get_EMPTY_RESUMES() {
|
|
6492
6498
|
_init_properties_AbstractSharedFlow_kt__h2xygb();
|
|
6493
6499
|
return EMPTY_RESUMES;
|
|
@@ -7148,6 +7154,23 @@
|
|
|
7148
7154
|
};
|
|
7149
7155
|
function NopCollector() {
|
|
7150
7156
|
}
|
|
7157
|
+
function get_NULL() {
|
|
7158
|
+
_init_properties_NullSurrogate_kt__n2yti9();
|
|
7159
|
+
return NULL;
|
|
7160
|
+
}
|
|
7161
|
+
var NULL;
|
|
7162
|
+
var UNINITIALIZED;
|
|
7163
|
+
var DONE;
|
|
7164
|
+
var properties_initialized_NullSurrogate_kt_39v8bl;
|
|
7165
|
+
function _init_properties_NullSurrogate_kt__n2yti9() {
|
|
7166
|
+
if (properties_initialized_NullSurrogate_kt_39v8bl) {
|
|
7167
|
+
} else {
|
|
7168
|
+
properties_initialized_NullSurrogate_kt_39v8bl = true;
|
|
7169
|
+
NULL = new Symbol('NULL');
|
|
7170
|
+
UNINITIALIZED = new Symbol('UNINITIALIZED');
|
|
7171
|
+
DONE = new Symbol('DONE');
|
|
7172
|
+
}
|
|
7173
|
+
}
|
|
7151
7174
|
function checkContext(_this__u8e3s4, currentContext) {
|
|
7152
7175
|
var result = currentContext.w3(0, checkContext$lambda(_this__u8e3s4));
|
|
7153
7176
|
if (!(result === _this__u8e3s4.u11_1)) {
|
|
@@ -7274,9 +7297,157 @@
|
|
|
7274
7297
|
}
|
|
7275
7298
|
return tmp_4;
|
|
7276
7299
|
}
|
|
7300
|
+
function get_defaultKeySelector() {
|
|
7301
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7302
|
+
return defaultKeySelector;
|
|
7303
|
+
}
|
|
7304
|
+
var defaultKeySelector;
|
|
7305
|
+
function get_defaultAreEquivalent() {
|
|
7306
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7307
|
+
return defaultAreEquivalent;
|
|
7308
|
+
}
|
|
7309
|
+
var defaultAreEquivalent;
|
|
7310
|
+
function distinctUntilChanged(_this__u8e3s4) {
|
|
7311
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7312
|
+
var tmp0_subject = _this__u8e3s4;
|
|
7313
|
+
var tmp;
|
|
7314
|
+
if (isInterface(tmp0_subject, StateFlow)) {
|
|
7315
|
+
tmp = _this__u8e3s4;
|
|
7316
|
+
} else {
|
|
7317
|
+
tmp = distinctUntilChangedBy(_this__u8e3s4, get_defaultKeySelector(), get_defaultAreEquivalent());
|
|
7318
|
+
}
|
|
7319
|
+
return tmp;
|
|
7320
|
+
}
|
|
7321
|
+
function distinctUntilChangedBy(_this__u8e3s4, keySelector, areEquivalent) {
|
|
7322
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7323
|
+
var tmp;
|
|
7324
|
+
var tmp_0;
|
|
7325
|
+
var tmp_1;
|
|
7326
|
+
if (_this__u8e3s4 instanceof DistinctFlowImpl) {
|
|
7327
|
+
tmp_1 = _this__u8e3s4.y11_1 === keySelector;
|
|
7328
|
+
} else {
|
|
7329
|
+
tmp_1 = false;
|
|
7330
|
+
}
|
|
7331
|
+
if (tmp_1) {
|
|
7332
|
+
tmp_0 = _this__u8e3s4.z11_1 === areEquivalent;
|
|
7333
|
+
} else {
|
|
7334
|
+
tmp_0 = false;
|
|
7335
|
+
}
|
|
7336
|
+
if (tmp_0) {
|
|
7337
|
+
tmp = _this__u8e3s4;
|
|
7338
|
+
} else {
|
|
7339
|
+
tmp = new DistinctFlowImpl(_this__u8e3s4, keySelector, areEquivalent);
|
|
7340
|
+
}
|
|
7341
|
+
return tmp;
|
|
7342
|
+
}
|
|
7343
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
7344
|
+
this.a12_1 = function_0;
|
|
7345
|
+
}
|
|
7346
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).gv = function (value, $completion) {
|
|
7347
|
+
var tmp0 = this.a12_1(value, $completion);
|
|
7348
|
+
return tmp0;
|
|
7349
|
+
};
|
|
7350
|
+
function DistinctFlowImpl$collect$slambda(this$0, $previousKey, $collector, resultContinuation) {
|
|
7351
|
+
this.j12_1 = this$0;
|
|
7352
|
+
this.k12_1 = $previousKey;
|
|
7353
|
+
this.l12_1 = $collector;
|
|
7354
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
7355
|
+
}
|
|
7356
|
+
protoOf(DistinctFlowImpl$collect$slambda).l11 = function (value, $completion) {
|
|
7357
|
+
var tmp = this.m11(value, $completion);
|
|
7358
|
+
tmp.de_1 = Unit_getInstance();
|
|
7359
|
+
tmp.ee_1 = null;
|
|
7360
|
+
return tmp.ue();
|
|
7361
|
+
};
|
|
7362
|
+
protoOf(DistinctFlowImpl$collect$slambda).if = function (p1, $completion) {
|
|
7363
|
+
return this.l11((p1 == null ? true : isObject(p1)) ? p1 : THROW_CCE(), $completion);
|
|
7364
|
+
};
|
|
7365
|
+
protoOf(DistinctFlowImpl$collect$slambda).ue = function () {
|
|
7366
|
+
var suspendResult = this.de_1;
|
|
7367
|
+
$sm: do
|
|
7368
|
+
try {
|
|
7369
|
+
var tmp = this.be_1;
|
|
7370
|
+
switch (tmp) {
|
|
7371
|
+
case 0:
|
|
7372
|
+
this.ce_1 = 3;
|
|
7373
|
+
this.n12_1 = this.j12_1.y11_1(this.m12_1);
|
|
7374
|
+
if (this.k12_1._v === get_NULL() ? true : !this.j12_1.z11_1(this.k12_1._v, this.n12_1)) {
|
|
7375
|
+
this.k12_1._v = this.n12_1;
|
|
7376
|
+
this.be_1 = 1;
|
|
7377
|
+
suspendResult = this.l12_1.gv(this.m12_1, this);
|
|
7378
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7379
|
+
return suspendResult;
|
|
7380
|
+
}
|
|
7381
|
+
continue $sm;
|
|
7382
|
+
} else {
|
|
7383
|
+
this.be_1 = 2;
|
|
7384
|
+
continue $sm;
|
|
7385
|
+
}
|
|
7386
|
+
|
|
7387
|
+
break;
|
|
7388
|
+
case 1:
|
|
7389
|
+
this.be_1 = 2;
|
|
7390
|
+
continue $sm;
|
|
7391
|
+
case 2:
|
|
7392
|
+
return Unit_getInstance();
|
|
7393
|
+
case 3:
|
|
7394
|
+
throw this.ee_1;
|
|
7395
|
+
}
|
|
7396
|
+
} catch ($p) {
|
|
7397
|
+
var e = $p;
|
|
7398
|
+
if (this.ce_1 === 3) {
|
|
7399
|
+
throw e;
|
|
7400
|
+
} else {
|
|
7401
|
+
this.be_1 = this.ce_1;
|
|
7402
|
+
this.ee_1 = e;
|
|
7403
|
+
}
|
|
7404
|
+
}
|
|
7405
|
+
while (true);
|
|
7406
|
+
};
|
|
7407
|
+
protoOf(DistinctFlowImpl$collect$slambda).m11 = function (value, completion) {
|
|
7408
|
+
var i = new DistinctFlowImpl$collect$slambda(this.j12_1, this.k12_1, this.l12_1, completion);
|
|
7409
|
+
i.m12_1 = value;
|
|
7410
|
+
return i;
|
|
7411
|
+
};
|
|
7412
|
+
function DistinctFlowImpl$collect$slambda_0(this$0, $previousKey, $collector, resultContinuation) {
|
|
7413
|
+
var i = new DistinctFlowImpl$collect$slambda(this$0, $previousKey, $collector, resultContinuation);
|
|
7414
|
+
var l = function (value, $completion) {
|
|
7415
|
+
return i.l11(value, $completion);
|
|
7416
|
+
};
|
|
7417
|
+
l.$arity = 1;
|
|
7418
|
+
return l;
|
|
7419
|
+
}
|
|
7420
|
+
function DistinctFlowImpl(upstream, keySelector, areEquivalent) {
|
|
7421
|
+
this.x11_1 = upstream;
|
|
7422
|
+
this.y11_1 = keySelector;
|
|
7423
|
+
this.z11_1 = areEquivalent;
|
|
7424
|
+
}
|
|
7425
|
+
protoOf(DistinctFlowImpl).hv = function (collector, $completion) {
|
|
7426
|
+
var previousKey = {_v: get_NULL()};
|
|
7427
|
+
var tmp = DistinctFlowImpl$collect$slambda_0(this, previousKey, collector, null);
|
|
7428
|
+
var tmp0 = this.x11_1.hv(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp), $completion);
|
|
7429
|
+
return tmp0;
|
|
7430
|
+
};
|
|
7431
|
+
function defaultKeySelector$lambda(it) {
|
|
7432
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7433
|
+
return it;
|
|
7434
|
+
}
|
|
7435
|
+
function defaultAreEquivalent$lambda(old, new_0) {
|
|
7436
|
+
_init_properties_Distinct_kt__4eindw();
|
|
7437
|
+
return equals(old, new_0);
|
|
7438
|
+
}
|
|
7439
|
+
var properties_initialized_Distinct_kt_uy8c72;
|
|
7440
|
+
function _init_properties_Distinct_kt__4eindw() {
|
|
7441
|
+
if (properties_initialized_Distinct_kt_uy8c72) {
|
|
7442
|
+
} else {
|
|
7443
|
+
properties_initialized_Distinct_kt_uy8c72 = true;
|
|
7444
|
+
defaultKeySelector = defaultKeySelector$lambda;
|
|
7445
|
+
defaultAreEquivalent = defaultAreEquivalent$lambda;
|
|
7446
|
+
}
|
|
7447
|
+
}
|
|
7277
7448
|
function ensureActive_1(_this__u8e3s4) {
|
|
7278
7449
|
if (_this__u8e3s4 instanceof ThrowingCollector)
|
|
7279
|
-
throw _this__u8e3s4.
|
|
7450
|
+
throw _this__u8e3s4.o12_1;
|
|
7280
7451
|
}
|
|
7281
7452
|
function ThrowingCollector() {
|
|
7282
7453
|
}
|
|
@@ -7285,7 +7456,7 @@
|
|
|
7285
7456
|
}
|
|
7286
7457
|
function $onSubscriptionCOROUTINE$9(_this__u8e3s4, resultContinuation) {
|
|
7287
7458
|
CoroutineImpl.call(this, resultContinuation);
|
|
7288
|
-
this.
|
|
7459
|
+
this.x12_1 = _this__u8e3s4;
|
|
7289
7460
|
}
|
|
7290
7461
|
protoOf($onSubscriptionCOROUTINE$9).ue = function () {
|
|
7291
7462
|
var suspendResult = this.de_1;
|
|
@@ -7296,30 +7467,30 @@
|
|
|
7296
7467
|
case 0:
|
|
7297
7468
|
this.ce_1 = 7;
|
|
7298
7469
|
var tmp_0 = this;
|
|
7299
|
-
tmp_0.
|
|
7470
|
+
tmp_0.y12_1 = new SafeCollector(this.x12_1.jx_1, this.m3());
|
|
7300
7471
|
this.be_1 = 1;
|
|
7301
7472
|
continue $sm;
|
|
7302
7473
|
case 1:
|
|
7303
7474
|
this.ce_1 = 6;
|
|
7304
7475
|
this.be_1 = 2;
|
|
7305
|
-
suspendResult = this.
|
|
7476
|
+
suspendResult = this.x12_1.kx_1(this.y12_1, this);
|
|
7306
7477
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7307
7478
|
return suspendResult;
|
|
7308
7479
|
}
|
|
7309
7480
|
|
|
7310
7481
|
continue $sm;
|
|
7311
7482
|
case 2:
|
|
7312
|
-
this.
|
|
7483
|
+
this.z12_1 = suspendResult;
|
|
7313
7484
|
this.ce_1 = 7;
|
|
7314
7485
|
this.be_1 = 3;
|
|
7315
7486
|
continue $sm;
|
|
7316
7487
|
case 3:
|
|
7317
|
-
this.
|
|
7488
|
+
this.y12_1.a13();
|
|
7318
7489
|
;
|
|
7319
|
-
var tmp_1 = this.
|
|
7490
|
+
var tmp_1 = this.x12_1.jx_1;
|
|
7320
7491
|
if (tmp_1 instanceof SubscribedFlowCollector) {
|
|
7321
7492
|
this.be_1 = 4;
|
|
7322
|
-
suspendResult = this.
|
|
7493
|
+
suspendResult = this.x12_1.jx_1.lx(this);
|
|
7323
7494
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7324
7495
|
return suspendResult;
|
|
7325
7496
|
}
|
|
@@ -7338,7 +7509,7 @@
|
|
|
7338
7509
|
case 6:
|
|
7339
7510
|
this.ce_1 = 7;
|
|
7340
7511
|
var t = this.ee_1;
|
|
7341
|
-
this.
|
|
7512
|
+
this.y12_1.a13();
|
|
7342
7513
|
;
|
|
7343
7514
|
throw t;
|
|
7344
7515
|
case 7:
|
|
@@ -7371,8 +7542,8 @@
|
|
|
7371
7542
|
};
|
|
7372
7543
|
function $collectCOROUTINE$10(_this__u8e3s4, collector, resultContinuation) {
|
|
7373
7544
|
CoroutineImpl.call(this, resultContinuation);
|
|
7374
|
-
this.
|
|
7375
|
-
this.
|
|
7545
|
+
this.j13_1 = _this__u8e3s4;
|
|
7546
|
+
this.k13_1 = collector;
|
|
7376
7547
|
}
|
|
7377
7548
|
protoOf($collectCOROUTINE$10).ue = function () {
|
|
7378
7549
|
var suspendResult = this.de_1;
|
|
@@ -7383,7 +7554,7 @@
|
|
|
7383
7554
|
case 0:
|
|
7384
7555
|
this.ce_1 = 2;
|
|
7385
7556
|
this.be_1 = 1;
|
|
7386
|
-
suspendResult = this.
|
|
7557
|
+
suspendResult = this.j13_1.l13_1.ox(new SubscribedFlowCollector(this.k13_1, this.j13_1.m13_1), this);
|
|
7387
7558
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7388
7559
|
return suspendResult;
|
|
7389
7560
|
}
|
|
@@ -7406,8 +7577,8 @@
|
|
|
7406
7577
|
while (true);
|
|
7407
7578
|
};
|
|
7408
7579
|
function SubscribedSharedFlow(sharedFlow, action) {
|
|
7409
|
-
this.
|
|
7410
|
-
this.
|
|
7580
|
+
this.l13_1 = sharedFlow;
|
|
7581
|
+
this.m13_1 = action;
|
|
7411
7582
|
}
|
|
7412
7583
|
protoOf(SubscribedSharedFlow).ox = function (collector, $completion) {
|
|
7413
7584
|
var tmp = new $collectCOROUTINE$10(this, collector, $completion);
|
|
@@ -7593,7 +7764,7 @@
|
|
|
7593
7764
|
protoOf(DispatchedContinuation).cl = function () {
|
|
7594
7765
|
return !(this.yk_1.kotlinx$atomicfu$value == null);
|
|
7595
7766
|
};
|
|
7596
|
-
protoOf(DispatchedContinuation).
|
|
7767
|
+
protoOf(DispatchedContinuation).n13 = function () {
|
|
7597
7768
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
7598
7769
|
var tmp0_loop = this.yk_1;
|
|
7599
7770
|
while (true) {
|
|
@@ -7604,7 +7775,7 @@
|
|
|
7604
7775
|
}
|
|
7605
7776
|
};
|
|
7606
7777
|
protoOf(DispatchedContinuation).nm = function () {
|
|
7607
|
-
this.
|
|
7778
|
+
this.n13();
|
|
7608
7779
|
var tmp0_safe_receiver = _get_reusableCancellableContinuation__9qex09(this);
|
|
7609
7780
|
if (tmp0_safe_receiver == null)
|
|
7610
7781
|
null;
|
|
@@ -8086,10 +8257,10 @@
|
|
|
8086
8257
|
this.xj_1.n3(recoverResult(state, this.xj_1));
|
|
8087
8258
|
};
|
|
8088
8259
|
function Symbol(symbol) {
|
|
8089
|
-
this.
|
|
8260
|
+
this.o13_1 = symbol;
|
|
8090
8261
|
}
|
|
8091
8262
|
protoOf(Symbol).toString = function () {
|
|
8092
|
-
return '<' + this.
|
|
8263
|
+
return '<' + this.o13_1 + '>';
|
|
8093
8264
|
};
|
|
8094
8265
|
function systemProp(propertyName, defaultValue, minValue, maxValue) {
|
|
8095
8266
|
minValue = minValue === VOID ? 1 : minValue;
|
|
@@ -8431,22 +8602,22 @@
|
|
|
8431
8602
|
}
|
|
8432
8603
|
function JsMainDispatcher(delegate, invokeImmediately) {
|
|
8433
8604
|
MainCoroutineDispatcher.call(this);
|
|
8434
|
-
this.
|
|
8435
|
-
this.
|
|
8436
|
-
this.
|
|
8605
|
+
this.u13_1 = delegate;
|
|
8606
|
+
this.v13_1 = invokeImmediately;
|
|
8607
|
+
this.w13_1 = this.v13_1 ? this : new JsMainDispatcher(this.u13_1, true);
|
|
8437
8608
|
}
|
|
8438
8609
|
protoOf(JsMainDispatcher).np = function () {
|
|
8439
|
-
return this.
|
|
8610
|
+
return this.w13_1;
|
|
8440
8611
|
};
|
|
8441
8612
|
protoOf(JsMainDispatcher).lm = function (context) {
|
|
8442
|
-
return !this.
|
|
8613
|
+
return !this.v13_1;
|
|
8443
8614
|
};
|
|
8444
8615
|
protoOf(JsMainDispatcher).mm = function (context, block) {
|
|
8445
|
-
return this.
|
|
8616
|
+
return this.u13_1.mm(context, block);
|
|
8446
8617
|
};
|
|
8447
8618
|
protoOf(JsMainDispatcher).toString = function () {
|
|
8448
8619
|
var tmp0_elvis_lhs = this.op();
|
|
8449
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8620
|
+
return tmp0_elvis_lhs == null ? this.u13_1.toString() : tmp0_elvis_lhs;
|
|
8450
8621
|
};
|
|
8451
8622
|
function createEventLoop() {
|
|
8452
8623
|
return new UnconfinedEventLoop();
|
|
@@ -8463,10 +8634,10 @@
|
|
|
8463
8634
|
function JobCancellationException(message, cause, job) {
|
|
8464
8635
|
CancellationException_init_$Init$(message, cause, this);
|
|
8465
8636
|
captureStack(this, JobCancellationException);
|
|
8466
|
-
this.
|
|
8637
|
+
this.b14_1 = job;
|
|
8467
8638
|
}
|
|
8468
8639
|
protoOf(JobCancellationException).toString = function () {
|
|
8469
|
-
return protoOf(CancellationException).toString.call(this) + '; job=' + this.
|
|
8640
|
+
return protoOf(CancellationException).toString.call(this) + '; job=' + this.b14_1;
|
|
8470
8641
|
};
|
|
8471
8642
|
protoOf(JobCancellationException).equals = function (other) {
|
|
8472
8643
|
var tmp;
|
|
@@ -8482,7 +8653,7 @@
|
|
|
8482
8653
|
tmp_2 = false;
|
|
8483
8654
|
}
|
|
8484
8655
|
if (tmp_2) {
|
|
8485
|
-
tmp_1 = equals(other.
|
|
8656
|
+
tmp_1 = equals(other.b14_1, this.b14_1);
|
|
8486
8657
|
} else {
|
|
8487
8658
|
tmp_1 = false;
|
|
8488
8659
|
}
|
|
@@ -8496,7 +8667,7 @@
|
|
|
8496
8667
|
return tmp;
|
|
8497
8668
|
};
|
|
8498
8669
|
protoOf(JobCancellationException).hashCode = function () {
|
|
8499
|
-
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.
|
|
8670
|
+
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.b14_1) | 0, 31);
|
|
8500
8671
|
var tmp0_safe_receiver = this.cause;
|
|
8501
8672
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
8502
8673
|
return tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
@@ -8505,8 +8676,8 @@
|
|
|
8505
8676
|
NodeDispatcher_instance = this;
|
|
8506
8677
|
SetTimeoutBasedDispatcher.call(this);
|
|
8507
8678
|
}
|
|
8508
|
-
protoOf(NodeDispatcher).
|
|
8509
|
-
process.nextTick(this.
|
|
8679
|
+
protoOf(NodeDispatcher).e14 = function () {
|
|
8680
|
+
process.nextTick(this.n14_1.k14_1);
|
|
8510
8681
|
};
|
|
8511
8682
|
var NodeDispatcher_instance;
|
|
8512
8683
|
function NodeDispatcher_getInstance() {
|
|
@@ -8518,8 +8689,8 @@
|
|
|
8518
8689
|
SetTimeoutDispatcher_instance = this;
|
|
8519
8690
|
SetTimeoutBasedDispatcher.call(this);
|
|
8520
8691
|
}
|
|
8521
|
-
protoOf(SetTimeoutDispatcher).
|
|
8522
|
-
setTimeout(this.
|
|
8692
|
+
protoOf(SetTimeoutDispatcher).e14 = function () {
|
|
8693
|
+
setTimeout(this.n14_1.k14_1, 0);
|
|
8523
8694
|
};
|
|
8524
8695
|
var SetTimeoutDispatcher_instance;
|
|
8525
8696
|
function SetTimeoutDispatcher_getInstance() {
|
|
@@ -8529,45 +8700,45 @@
|
|
|
8529
8700
|
}
|
|
8530
8701
|
function SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this$0) {
|
|
8531
8702
|
return function () {
|
|
8532
|
-
this$0.
|
|
8703
|
+
this$0.v14();
|
|
8533
8704
|
return Unit_getInstance();
|
|
8534
8705
|
};
|
|
8535
8706
|
}
|
|
8536
8707
|
function ScheduledMessageQueue($outer) {
|
|
8537
|
-
this.
|
|
8708
|
+
this.l14_1 = $outer;
|
|
8538
8709
|
MessageQueue.call(this);
|
|
8539
8710
|
var tmp = this;
|
|
8540
|
-
tmp.
|
|
8711
|
+
tmp.k14_1 = SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this);
|
|
8541
8712
|
}
|
|
8542
|
-
protoOf(ScheduledMessageQueue).
|
|
8543
|
-
this.
|
|
8713
|
+
protoOf(ScheduledMessageQueue).w14 = function () {
|
|
8714
|
+
this.l14_1.e14();
|
|
8544
8715
|
};
|
|
8545
|
-
protoOf(ScheduledMessageQueue).
|
|
8546
|
-
setTimeout(this.
|
|
8716
|
+
protoOf(ScheduledMessageQueue).x14 = function () {
|
|
8717
|
+
setTimeout(this.k14_1, 0);
|
|
8547
8718
|
};
|
|
8548
8719
|
function SetTimeoutBasedDispatcher() {
|
|
8549
8720
|
CoroutineDispatcher.call(this);
|
|
8550
|
-
this.
|
|
8721
|
+
this.n14_1 = new ScheduledMessageQueue(this);
|
|
8551
8722
|
}
|
|
8552
8723
|
protoOf(SetTimeoutBasedDispatcher).mm = function (context, block) {
|
|
8553
|
-
this.
|
|
8724
|
+
this.n14_1.y14(block);
|
|
8554
8725
|
};
|
|
8555
8726
|
function MessageQueue() {
|
|
8556
8727
|
ArrayQueue.call(this);
|
|
8557
|
-
this.
|
|
8558
|
-
this.
|
|
8728
|
+
this.t14_1 = 16;
|
|
8729
|
+
this.u14_1 = false;
|
|
8559
8730
|
}
|
|
8560
|
-
protoOf(MessageQueue).
|
|
8731
|
+
protoOf(MessageQueue).y14 = function (element) {
|
|
8561
8732
|
this.zm(element);
|
|
8562
|
-
if (!this.
|
|
8563
|
-
this.
|
|
8564
|
-
this.
|
|
8733
|
+
if (!this.u14_1) {
|
|
8734
|
+
this.u14_1 = true;
|
|
8735
|
+
this.w14();
|
|
8565
8736
|
}
|
|
8566
8737
|
};
|
|
8567
|
-
protoOf(MessageQueue).
|
|
8738
|
+
protoOf(MessageQueue).v14 = function () {
|
|
8568
8739
|
try {
|
|
8569
8740
|
// Inline function 'kotlin.repeat' call
|
|
8570
|
-
var tmp0_repeat = this.
|
|
8741
|
+
var tmp0_repeat = this.t14_1;
|
|
8571
8742
|
// Inline function 'kotlin.contracts.contract' call
|
|
8572
8743
|
var inductionVariable = 0;
|
|
8573
8744
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -8588,26 +8759,26 @@
|
|
|
8588
8759
|
while (inductionVariable < tmp0_repeat);
|
|
8589
8760
|
}finally {
|
|
8590
8761
|
if (this.cn()) {
|
|
8591
|
-
this.
|
|
8762
|
+
this.u14_1 = false;
|
|
8592
8763
|
} else {
|
|
8593
|
-
this.
|
|
8764
|
+
this.x14();
|
|
8594
8765
|
}
|
|
8595
8766
|
}
|
|
8596
8767
|
};
|
|
8597
8768
|
function WindowDispatcher(window_0) {
|
|
8598
8769
|
CoroutineDispatcher.call(this);
|
|
8599
|
-
this.
|
|
8600
|
-
this.
|
|
8770
|
+
this.a15_1 = window_0;
|
|
8771
|
+
this.b15_1 = new WindowMessageQueue(this.a15_1);
|
|
8601
8772
|
}
|
|
8602
8773
|
protoOf(WindowDispatcher).mm = function (context, block) {
|
|
8603
|
-
return this.
|
|
8774
|
+
return this.b15_1.y14(block);
|
|
8604
8775
|
};
|
|
8605
8776
|
function WindowMessageQueue$lambda(this$0) {
|
|
8606
8777
|
return function (event) {
|
|
8607
8778
|
var tmp;
|
|
8608
|
-
if (event.source == this$0.
|
|
8779
|
+
if (event.source == this$0.h15_1 ? event.data == this$0.i15_1 : false) {
|
|
8609
8780
|
event.stopPropagation();
|
|
8610
|
-
this$0.
|
|
8781
|
+
this$0.v14();
|
|
8611
8782
|
tmp = Unit_getInstance();
|
|
8612
8783
|
}
|
|
8613
8784
|
return Unit_getInstance();
|
|
@@ -8615,22 +8786,22 @@
|
|
|
8615
8786
|
}
|
|
8616
8787
|
function WindowMessageQueue$schedule$lambda(this$0) {
|
|
8617
8788
|
return function (it) {
|
|
8618
|
-
this$0.
|
|
8789
|
+
this$0.v14();
|
|
8619
8790
|
return Unit_getInstance();
|
|
8620
8791
|
};
|
|
8621
8792
|
}
|
|
8622
8793
|
function WindowMessageQueue(window_0) {
|
|
8623
8794
|
MessageQueue.call(this);
|
|
8624
|
-
this.
|
|
8625
|
-
this.
|
|
8626
|
-
this.
|
|
8795
|
+
this.h15_1 = window_0;
|
|
8796
|
+
this.i15_1 = 'dispatchCoroutine';
|
|
8797
|
+
this.h15_1.addEventListener('message', WindowMessageQueue$lambda(this), true);
|
|
8627
8798
|
}
|
|
8628
|
-
protoOf(WindowMessageQueue).
|
|
8799
|
+
protoOf(WindowMessageQueue).w14 = function () {
|
|
8629
8800
|
var tmp = Promise.resolve(Unit_getInstance());
|
|
8630
8801
|
tmp.then(WindowMessageQueue$schedule$lambda(this));
|
|
8631
8802
|
};
|
|
8632
|
-
protoOf(WindowMessageQueue).
|
|
8633
|
-
this.
|
|
8803
|
+
protoOf(WindowMessageQueue).x14 = function () {
|
|
8804
|
+
this.h15_1.postMessage(this.i15_1, '*');
|
|
8634
8805
|
};
|
|
8635
8806
|
function promise(_this__u8e3s4, context, start, block) {
|
|
8636
8807
|
context = context === VOID ? EmptyCoroutineContext_getInstance() : context;
|
|
@@ -8756,7 +8927,7 @@
|
|
|
8756
8927
|
var tmp0 = this.s11_1.gv(value, $completion);
|
|
8757
8928
|
return tmp0;
|
|
8758
8929
|
};
|
|
8759
|
-
protoOf(SafeCollector).
|
|
8930
|
+
protoOf(SafeCollector).a13 = function () {
|
|
8760
8931
|
};
|
|
8761
8932
|
function identitySet(expectedSize) {
|
|
8762
8933
|
return HashSet_init_$Create$(expectedSize);
|
|
@@ -8964,13 +9135,14 @@
|
|
|
8964
9135
|
_.$_$.g = FlowCollector;
|
|
8965
9136
|
_.$_$.h = MutableSharedFlow;
|
|
8966
9137
|
_.$_$.i = conflate;
|
|
8967
|
-
_.$_$.j =
|
|
8968
|
-
_.$_$.k =
|
|
8969
|
-
_.$_$.l =
|
|
8970
|
-
_.$_$.m =
|
|
8971
|
-
_.$_$.n =
|
|
8972
|
-
_.$_$.o =
|
|
8973
|
-
_.$_$.p =
|
|
9138
|
+
_.$_$.j = distinctUntilChanged;
|
|
9139
|
+
_.$_$.k = flowOf;
|
|
9140
|
+
_.$_$.l = onSubscription;
|
|
9141
|
+
_.$_$.m = CoroutineScope;
|
|
9142
|
+
_.$_$.n = async;
|
|
9143
|
+
_.$_$.o = get_job;
|
|
9144
|
+
_.$_$.p = launch;
|
|
9145
|
+
_.$_$.q = promise;
|
|
8974
9146
|
//endregion
|
|
8975
9147
|
return _;
|
|
8976
9148
|
}));
|