@cruglobal/godtools-shared 1.0.2-SNAPSHOT.1545 → 1.0.2-SNAPSHOT.1546
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/Kermit-kermit-core.js +49 -49
- package/Kermit-kermit.js +11 -11
- package/antlr-kotlin-antlr-kotlin-runtime.js +3754 -3461
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +875 -875
- package/fluid-locale.js +154 -154
- package/kotlin-js.js +138 -5
- package/kotlin-js.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +603 -500
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +542 -431
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2096 -2096
- package/kotlin-mpp-godtools-tool-parser-module-state.js +119 -119
- package/kotlinx-atomicfu.js +20 -20
- package/kotlinx-coroutines-core.js +2153 -2153
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -15,28 +15,28 @@
|
|
|
15
15
|
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
19
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
21
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
22
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
23
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
24
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
18
|
+
var CoroutineImpl = kotlin_kotlin.$_$.n5;
|
|
19
|
+
var Unit_instance = kotlin_kotlin.$_$.o2;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.s6;
|
|
21
|
+
var THROW_CCE = kotlin_kotlin.$_$.h9;
|
|
22
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.z4;
|
|
23
|
+
var classMeta = kotlin_kotlin.$_$.x5;
|
|
24
|
+
var setMetadataFor = kotlin_kotlin.$_$.t6;
|
|
25
25
|
var VOID = kotlin_kotlin.$_$.d;
|
|
26
|
-
var Unit = kotlin_kotlin.$_$.
|
|
26
|
+
var Unit = kotlin_kotlin.$_$.k9;
|
|
27
27
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
28
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
28
|
+
var objectCreate = kotlin_kotlin.$_$.q6;
|
|
29
29
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
30
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
31
|
-
var first = kotlin_kotlin.$_$.
|
|
32
|
-
var IntCompanionObject_instance = kotlin_kotlin.$_$.
|
|
30
|
+
var isInterface = kotlin_kotlin.$_$.k6;
|
|
31
|
+
var first = kotlin_kotlin.$_$.u3;
|
|
32
|
+
var IntCompanionObject_instance = kotlin_kotlin.$_$.k2;
|
|
33
33
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
34
34
|
var onSubscription = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
35
35
|
var conflate = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
36
36
|
var flowOf = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
37
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
38
|
-
var toList = kotlin_kotlin.$_$.
|
|
39
|
-
var plus = kotlin_kotlin.$_$.
|
|
37
|
+
var emptyList = kotlin_kotlin.$_$.n3;
|
|
38
|
+
var toList = kotlin_kotlin.$_$.u4;
|
|
39
|
+
var plus = kotlin_kotlin.$_$.m4;
|
|
40
40
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
41
41
|
//endregion
|
|
42
42
|
//region block: pre-declaration
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
setMetadataFor(State, 'State', classMeta, VOID, VOID, createState);
|
|
55
55
|
//endregion
|
|
56
56
|
function State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation) {
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
57
|
+
this.r1g_1 = $$this$unsafeFlow;
|
|
58
|
+
this.s1g_1 = $keys;
|
|
59
59
|
CoroutineImpl.call(this, resultContinuation);
|
|
60
60
|
}
|
|
61
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).
|
|
62
|
-
var tmp = this.
|
|
61
|
+
protoOf(State$varsChangeFlow$o$collect$slambda).x1g = function (value, $completion) {
|
|
62
|
+
var tmp = this.y1g(value, $completion);
|
|
63
63
|
tmp.vb_1 = Unit_instance;
|
|
64
64
|
tmp.wb_1 = null;
|
|
65
65
|
return tmp.qc();
|
|
66
66
|
};
|
|
67
67
|
protoOf(State$varsChangeFlow$o$collect$slambda).fd = function (p1, $completion) {
|
|
68
|
-
return this.
|
|
68
|
+
return this.x1g((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
69
69
|
};
|
|
70
70
|
protoOf(State$varsChangeFlow$o$collect$slambda).qc = function () {
|
|
71
71
|
var suspendResult = this.vb_1;
|
|
@@ -79,13 +79,13 @@
|
|
|
79
79
|
continue $sm;
|
|
80
80
|
case 1:
|
|
81
81
|
var tmp_0 = this;
|
|
82
|
-
tmp_0.
|
|
82
|
+
tmp_0.v1g_1 = this.r1g_1;
|
|
83
83
|
var tmp_1 = this;
|
|
84
|
-
tmp_1.
|
|
85
|
-
var it = this.
|
|
86
|
-
if (this.
|
|
84
|
+
tmp_1.w1g_1 = this.t1g_1;
|
|
85
|
+
var it = this.w1g_1;
|
|
86
|
+
if (this.s1g_1.v(it)) {
|
|
87
87
|
this.tb_1 = 3;
|
|
88
|
-
suspendResult = this.
|
|
88
|
+
suspendResult = this.v1g_1.d11(this.w1g_1, this);
|
|
89
89
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
90
90
|
return suspendResult;
|
|
91
91
|
}
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
this.tb_1 = 4;
|
|
105
105
|
continue $sm;
|
|
106
106
|
case 3:
|
|
107
|
-
this.
|
|
107
|
+
this.u1g_1 = suspendResult;
|
|
108
108
|
this.tb_1 = 4;
|
|
109
109
|
continue $sm;
|
|
110
110
|
case 4:
|
|
@@ -123,23 +123,23 @@
|
|
|
123
123
|
}
|
|
124
124
|
while (true);
|
|
125
125
|
};
|
|
126
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).
|
|
127
|
-
var i = new State$varsChangeFlow$o$collect$slambda(this.
|
|
128
|
-
i.
|
|
126
|
+
protoOf(State$varsChangeFlow$o$collect$slambda).y1g = function (value, completion) {
|
|
127
|
+
var i = new State$varsChangeFlow$o$collect$slambda(this.r1g_1, this.s1g_1, completion);
|
|
128
|
+
i.t1g_1 = value;
|
|
129
129
|
return i;
|
|
130
130
|
};
|
|
131
131
|
function State$varsChangeFlow$o$collect$slambda_0($$this$unsafeFlow, $keys, resultContinuation) {
|
|
132
132
|
var i = new State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation);
|
|
133
133
|
var l = function (value, $completion) {
|
|
134
|
-
return i.
|
|
134
|
+
return i.x1g(value, $completion);
|
|
135
135
|
};
|
|
136
136
|
l.$arity = 1;
|
|
137
137
|
return l;
|
|
138
138
|
}
|
|
139
139
|
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
140
140
|
CoroutineImpl.call(this, resultContinuation);
|
|
141
|
-
this.
|
|
142
|
-
this.
|
|
141
|
+
this.h1h_1 = _this__u8e3s4;
|
|
142
|
+
this.i1h_1 = collector;
|
|
143
143
|
}
|
|
144
144
|
protoOf($collectCOROUTINE$0).qc = function () {
|
|
145
145
|
var suspendResult = this.vb_1;
|
|
@@ -150,10 +150,10 @@
|
|
|
150
150
|
case 0:
|
|
151
151
|
this.ub_1 = 2;
|
|
152
152
|
var tmp_0 = this;
|
|
153
|
-
tmp_0.
|
|
153
|
+
tmp_0.j1h_1 = this.i1h_1;
|
|
154
154
|
this.tb_1 = 1;
|
|
155
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_0(this.
|
|
156
|
-
suspendResult = this.
|
|
155
|
+
var tmp_1 = State$varsChangeFlow$o$collect$slambda_0(this.j1h_1, this.h1h_1.l1h_1, null);
|
|
156
|
+
suspendResult = this.h1h_1.k1h_1.e11(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
157
157
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
158
158
|
return suspendResult;
|
|
159
159
|
}
|
|
@@ -187,17 +187,17 @@
|
|
|
187
187
|
protoOf($collectCOROUTINE$0)['<get-finallyPath>'] = protoOf($collectCOROUTINE$0).mc;
|
|
188
188
|
protoOf($collectCOROUTINE$0)['<get-context>'] = protoOf($collectCOROUTINE$0).ac;
|
|
189
189
|
function State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
190
|
-
this.
|
|
190
|
+
this.u1h_1 = $$this$unsafeFlow;
|
|
191
191
|
CoroutineImpl.call(this, resultContinuation);
|
|
192
192
|
}
|
|
193
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).
|
|
194
|
-
var tmp = this.
|
|
193
|
+
protoOf(State$varsChangeFlow$o$collect$slambda_1).x1g = function (value, $completion) {
|
|
194
|
+
var tmp = this.y1g(value, $completion);
|
|
195
195
|
tmp.vb_1 = Unit_instance;
|
|
196
196
|
tmp.wb_1 = null;
|
|
197
197
|
return tmp.qc();
|
|
198
198
|
};
|
|
199
199
|
protoOf(State$varsChangeFlow$o$collect$slambda_1).fd = function (p1, $completion) {
|
|
200
|
-
return this.
|
|
200
|
+
return this.x1g((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
201
201
|
};
|
|
202
202
|
protoOf(State$varsChangeFlow$o$collect$slambda_1).qc = function () {
|
|
203
203
|
var suspendResult = this.vb_1;
|
|
@@ -208,12 +208,12 @@
|
|
|
208
208
|
case 0:
|
|
209
209
|
this.ub_1 = 2;
|
|
210
210
|
var tmp_0 = this;
|
|
211
|
-
tmp_0.
|
|
211
|
+
tmp_0.w1h_1 = this.u1h_1;
|
|
212
212
|
var tmp_1 = this;
|
|
213
|
-
tmp_1.
|
|
213
|
+
tmp_1.x1h_1 = this.v1h_1;
|
|
214
214
|
this.tb_1 = 1;
|
|
215
|
-
this.
|
|
216
|
-
suspendResult = this.
|
|
215
|
+
this.x1h_1;
|
|
216
|
+
suspendResult = this.w1h_1.d11(Unit_instance, this);
|
|
217
217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
218
218
|
return suspendResult;
|
|
219
219
|
}
|
|
@@ -235,23 +235,23 @@
|
|
|
235
235
|
}
|
|
236
236
|
while (true);
|
|
237
237
|
};
|
|
238
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).
|
|
239
|
-
var i = new State$varsChangeFlow$o$collect$slambda_1(this.
|
|
240
|
-
i.
|
|
238
|
+
protoOf(State$varsChangeFlow$o$collect$slambda_1).y1g = function (value, completion) {
|
|
239
|
+
var i = new State$varsChangeFlow$o$collect$slambda_1(this.u1h_1, completion);
|
|
240
|
+
i.v1h_1 = value;
|
|
241
241
|
return i;
|
|
242
242
|
};
|
|
243
243
|
function State$varsChangeFlow$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
244
244
|
var i = new State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
245
245
|
var l = function (value, $completion) {
|
|
246
|
-
return i.
|
|
246
|
+
return i.x1g(value, $completion);
|
|
247
247
|
};
|
|
248
248
|
l.$arity = 1;
|
|
249
249
|
return l;
|
|
250
250
|
}
|
|
251
251
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
252
252
|
CoroutineImpl.call(this, resultContinuation);
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
253
|
+
this.g1i_1 = _this__u8e3s4;
|
|
254
|
+
this.h1i_1 = collector;
|
|
255
255
|
}
|
|
256
256
|
protoOf($collectCOROUTINE$1).qc = function () {
|
|
257
257
|
var suspendResult = this.vb_1;
|
|
@@ -262,10 +262,10 @@
|
|
|
262
262
|
case 0:
|
|
263
263
|
this.ub_1 = 2;
|
|
264
264
|
var tmp_0 = this;
|
|
265
|
-
tmp_0.
|
|
265
|
+
tmp_0.i1i_1 = this.h1i_1;
|
|
266
266
|
this.tb_1 = 1;
|
|
267
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_2(this.
|
|
268
|
-
suspendResult = this.
|
|
267
|
+
var tmp_1 = State$varsChangeFlow$o$collect$slambda_2(this.i1i_1, null);
|
|
268
|
+
suspendResult = this.g1i_1.j1i_1.e11(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
269
269
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
270
270
|
return suspendResult;
|
|
271
271
|
}
|
|
@@ -299,19 +299,19 @@
|
|
|
299
299
|
protoOf($collectCOROUTINE$1)['<get-finallyPath>'] = protoOf($collectCOROUTINE$1).mc;
|
|
300
300
|
protoOf($collectCOROUTINE$1)['<get-context>'] = protoOf($collectCOROUTINE$1).ac;
|
|
301
301
|
function State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
302
|
+
this.s1i_1 = $$this$unsafeFlow;
|
|
303
|
+
this.t1i_1 = $block;
|
|
304
|
+
this.u1i_1 = this$0;
|
|
305
305
|
CoroutineImpl.call(this, resultContinuation);
|
|
306
306
|
}
|
|
307
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).
|
|
308
|
-
var tmp = this.
|
|
307
|
+
protoOf(State$varsChangeFlow$o$collect$slambda_3).y1i = function (value, $completion) {
|
|
308
|
+
var tmp = this.z1i(value, $completion);
|
|
309
309
|
tmp.vb_1 = Unit_instance;
|
|
310
310
|
tmp.wb_1 = null;
|
|
311
311
|
return tmp.qc();
|
|
312
312
|
};
|
|
313
313
|
protoOf(State$varsChangeFlow$o$collect$slambda_3).fd = function (p1, $completion) {
|
|
314
|
-
return this.
|
|
314
|
+
return this.y1i(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
315
315
|
};
|
|
316
316
|
protoOf(State$varsChangeFlow$o$collect$slambda_3).qc = function () {
|
|
317
317
|
var suspendResult = this.vb_1;
|
|
@@ -322,12 +322,12 @@
|
|
|
322
322
|
case 0:
|
|
323
323
|
this.ub_1 = 2;
|
|
324
324
|
var tmp_0 = this;
|
|
325
|
-
tmp_0.
|
|
325
|
+
tmp_0.w1i_1 = this.s1i_1;
|
|
326
326
|
var tmp_1 = this;
|
|
327
|
-
tmp_1.
|
|
327
|
+
tmp_1.x1i_1 = this.v1i_1;
|
|
328
328
|
this.tb_1 = 1;
|
|
329
|
-
this.
|
|
330
|
-
suspendResult = this.
|
|
329
|
+
this.x1i_1;
|
|
330
|
+
suspendResult = this.w1i_1.d11(this.t1i_1(this.u1i_1), this);
|
|
331
331
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
332
332
|
return suspendResult;
|
|
333
333
|
}
|
|
@@ -349,23 +349,23 @@
|
|
|
349
349
|
}
|
|
350
350
|
while (true);
|
|
351
351
|
};
|
|
352
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).
|
|
353
|
-
var i = new State$varsChangeFlow$o$collect$slambda_3(this.
|
|
354
|
-
i.
|
|
352
|
+
protoOf(State$varsChangeFlow$o$collect$slambda_3).z1i = function (value, completion) {
|
|
353
|
+
var i = new State$varsChangeFlow$o$collect$slambda_3(this.s1i_1, this.t1i_1, this.u1i_1, completion);
|
|
354
|
+
i.v1i_1 = value;
|
|
355
355
|
return i;
|
|
356
356
|
};
|
|
357
357
|
function State$varsChangeFlow$o$collect$slambda_4($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
358
358
|
var i = new State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation);
|
|
359
359
|
var l = function (value, $completion) {
|
|
360
|
-
return i.
|
|
360
|
+
return i.y1i(value, $completion);
|
|
361
361
|
};
|
|
362
362
|
l.$arity = 1;
|
|
363
363
|
return l;
|
|
364
364
|
}
|
|
365
365
|
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
366
366
|
CoroutineImpl.call(this, resultContinuation);
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
367
|
+
this.i1j_1 = _this__u8e3s4;
|
|
368
|
+
this.j1j_1 = collector;
|
|
369
369
|
}
|
|
370
370
|
protoOf($collectCOROUTINE$2).qc = function () {
|
|
371
371
|
var suspendResult = this.vb_1;
|
|
@@ -376,10 +376,10 @@
|
|
|
376
376
|
case 0:
|
|
377
377
|
this.ub_1 = 2;
|
|
378
378
|
var tmp_0 = this;
|
|
379
|
-
tmp_0.
|
|
379
|
+
tmp_0.k1j_1 = this.j1j_1;
|
|
380
380
|
this.tb_1 = 1;
|
|
381
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_4(this.
|
|
382
|
-
suspendResult = this.
|
|
381
|
+
var tmp_1 = State$varsChangeFlow$o$collect$slambda_4(this.k1j_1, this.i1j_1.m1j_1, this.i1j_1.n1j_1, null);
|
|
382
|
+
suspendResult = this.i1j_1.l1j_1.e11(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
383
383
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
384
384
|
return suspendResult;
|
|
385
385
|
}
|
|
@@ -422,23 +422,23 @@
|
|
|
422
422
|
return State_init_$Init$(objectCreate(protoOf(State)));
|
|
423
423
|
}
|
|
424
424
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
425
|
-
this.
|
|
425
|
+
this.o1j_1 = function_0;
|
|
426
426
|
}
|
|
427
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
428
|
-
return this.
|
|
427
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d11 = function (value, $completion) {
|
|
428
|
+
return this.o1j_1(value, $completion);
|
|
429
429
|
};
|
|
430
430
|
function State$varsChangeFlow$slambda($keys, resultContinuation) {
|
|
431
|
-
this.
|
|
431
|
+
this.x1j_1 = $keys;
|
|
432
432
|
CoroutineImpl.call(this, resultContinuation);
|
|
433
433
|
}
|
|
434
|
-
protoOf(State$varsChangeFlow$slambda).
|
|
435
|
-
var tmp = this.
|
|
434
|
+
protoOf(State$varsChangeFlow$slambda).z1j = function ($this$onSubscription, $completion) {
|
|
435
|
+
var tmp = this.a1k($this$onSubscription, $completion);
|
|
436
436
|
tmp.vb_1 = Unit_instance;
|
|
437
437
|
tmp.wb_1 = null;
|
|
438
438
|
return tmp.qc();
|
|
439
439
|
};
|
|
440
440
|
protoOf(State$varsChangeFlow$slambda).fd = function (p1, $completion) {
|
|
441
|
-
return this.
|
|
441
|
+
return this.z1j((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
442
442
|
};
|
|
443
443
|
protoOf(State$varsChangeFlow$slambda).qc = function () {
|
|
444
444
|
var suspendResult = this.vb_1;
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
case 0:
|
|
450
450
|
this.ub_1 = 2;
|
|
451
451
|
this.tb_1 = 1;
|
|
452
|
-
suspendResult = this.
|
|
452
|
+
suspendResult = this.y1j_1.d11(first(this.x1j_1), this);
|
|
453
453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
454
454
|
return suspendResult;
|
|
455
455
|
}
|
|
@@ -471,50 +471,50 @@
|
|
|
471
471
|
}
|
|
472
472
|
while (true);
|
|
473
473
|
};
|
|
474
|
-
protoOf(State$varsChangeFlow$slambda).
|
|
475
|
-
var i = new State$varsChangeFlow$slambda(this.
|
|
476
|
-
i.
|
|
474
|
+
protoOf(State$varsChangeFlow$slambda).a1k = function ($this$onSubscription, completion) {
|
|
475
|
+
var i = new State$varsChangeFlow$slambda(this.x1j_1, completion);
|
|
476
|
+
i.y1j_1 = $this$onSubscription;
|
|
477
477
|
return i;
|
|
478
478
|
};
|
|
479
479
|
function State$varsChangeFlow$slambda_0($keys, resultContinuation) {
|
|
480
480
|
var i = new State$varsChangeFlow$slambda($keys, resultContinuation);
|
|
481
481
|
var l = function ($this$onSubscription, $completion) {
|
|
482
|
-
return i.
|
|
482
|
+
return i.z1j($this$onSubscription, $completion);
|
|
483
483
|
};
|
|
484
484
|
l.$arity = 1;
|
|
485
485
|
return l;
|
|
486
486
|
}
|
|
487
487
|
function _no_name_provided__qut3iv($this, $keys) {
|
|
488
|
-
this.
|
|
489
|
-
this.
|
|
488
|
+
this.k1h_1 = $this;
|
|
489
|
+
this.l1h_1 = $keys;
|
|
490
490
|
}
|
|
491
|
-
protoOf(_no_name_provided__qut3iv).
|
|
491
|
+
protoOf(_no_name_provided__qut3iv).b1k = function (collector, $completion) {
|
|
492
492
|
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
493
493
|
tmp.vb_1 = Unit_instance;
|
|
494
494
|
tmp.wb_1 = null;
|
|
495
495
|
return tmp.qc();
|
|
496
496
|
};
|
|
497
|
-
protoOf(_no_name_provided__qut3iv).
|
|
498
|
-
return this.
|
|
497
|
+
protoOf(_no_name_provided__qut3iv).e11 = function (collector, $completion) {
|
|
498
|
+
return this.b1k(collector, $completion);
|
|
499
499
|
};
|
|
500
500
|
function _no_name_provided__qut3iv_0($this) {
|
|
501
|
-
this.
|
|
501
|
+
this.j1i_1 = $this;
|
|
502
502
|
}
|
|
503
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
503
|
+
protoOf(_no_name_provided__qut3iv_0).c1k = function (collector, $completion) {
|
|
504
504
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
505
505
|
tmp.vb_1 = Unit_instance;
|
|
506
506
|
tmp.wb_1 = null;
|
|
507
507
|
return tmp.qc();
|
|
508
508
|
};
|
|
509
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
510
|
-
return this.
|
|
509
|
+
protoOf(_no_name_provided__qut3iv_0).e11 = function (collector, $completion) {
|
|
510
|
+
return this.c1k(collector, $completion);
|
|
511
511
|
};
|
|
512
512
|
function _no_name_provided__qut3iv_1($this, $block, this$0) {
|
|
513
|
-
this.
|
|
514
|
-
this.
|
|
515
|
-
this.
|
|
513
|
+
this.l1j_1 = $this;
|
|
514
|
+
this.m1j_1 = $block;
|
|
515
|
+
this.n1j_1 = this$0;
|
|
516
516
|
}
|
|
517
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
517
|
+
protoOf(_no_name_provided__qut3iv_1).e11 = function (collector, $completion) {
|
|
518
518
|
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
519
519
|
tmp.vb_1 = Unit_instance;
|
|
520
520
|
tmp.wb_1 = null;
|
|
@@ -537,22 +537,22 @@
|
|
|
537
537
|
tmp_0 = vars;
|
|
538
538
|
}
|
|
539
539
|
vars = tmp_0;
|
|
540
|
-
this.
|
|
541
|
-
this.
|
|
542
|
-
this.
|
|
540
|
+
this.d1k_1 = triggeredAnalyticsEvents;
|
|
541
|
+
this.e1k_1 = vars;
|
|
542
|
+
this.f1k_1 = MutableSharedFlow(VOID, IntCompanionObject_instance.MAX_VALUE);
|
|
543
543
|
}
|
|
544
|
-
protoOf(State).
|
|
545
|
-
var tmp0_elvis_lhs = this.
|
|
544
|
+
protoOf(State).g1k = function (id) {
|
|
545
|
+
var tmp0_elvis_lhs = this.d1k_1.q2(id);
|
|
546
546
|
return tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
547
547
|
};
|
|
548
|
-
protoOf(State).
|
|
548
|
+
protoOf(State).h1k = function (id) {
|
|
549
549
|
// Inline function 'kotlin.collections.set' call
|
|
550
|
-
var this_0 = this.
|
|
551
|
-
var tmp0_elvis_lhs = this.
|
|
550
|
+
var this_0 = this.d1k_1;
|
|
551
|
+
var tmp0_elvis_lhs = this.d1k_1.q2(id);
|
|
552
552
|
var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + 1 | 0;
|
|
553
553
|
this_0.g2(id, value);
|
|
554
554
|
};
|
|
555
|
-
protoOf(State).
|
|
555
|
+
protoOf(State).i1k = function (keys, block) {
|
|
556
556
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
557
557
|
var tmp;
|
|
558
558
|
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
564
564
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
565
565
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
566
|
-
var this_0 = onSubscription(this.
|
|
566
|
+
var this_0 = onSubscription(this.f1k_1, State$varsChangeFlow$slambda_0(keys, null));
|
|
567
567
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
568
568
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
569
569
|
var this_1 = new _no_name_provided__qut3iv(this_0, keys);
|
|
@@ -576,30 +576,30 @@
|
|
|
576
576
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
577
577
|
return new _no_name_provided__qut3iv_1(this_2, block, this);
|
|
578
578
|
};
|
|
579
|
-
protoOf(State).
|
|
579
|
+
protoOf(State).j1k = function (keys, block, $super) {
|
|
580
580
|
keys = keys === VOID ? emptyList() : keys;
|
|
581
|
-
return $super === VOID ? this.
|
|
581
|
+
return $super === VOID ? this.i1k(keys, block) : $super.i1k.call(this, keys, block);
|
|
582
582
|
};
|
|
583
|
-
protoOf(State).
|
|
583
|
+
protoOf(State).k1k = function (key) {
|
|
584
584
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
585
|
-
var tmp0_elvis_lhs = this.
|
|
585
|
+
var tmp0_elvis_lhs = this.e1k_1.q2(key);
|
|
586
586
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
587
587
|
};
|
|
588
|
-
protoOf(State).
|
|
588
|
+
protoOf(State).l1k = function (key, values) {
|
|
589
589
|
// Inline function 'kotlin.collections.set' call
|
|
590
|
-
var this_0 = this.
|
|
590
|
+
var this_0 = this.e1k_1;
|
|
591
591
|
var value = values == null ? null : toList(values);
|
|
592
592
|
this_0.g2(key, value);
|
|
593
|
-
this.
|
|
593
|
+
this.f1k_1.m13(key);
|
|
594
594
|
};
|
|
595
|
-
protoOf(State).
|
|
596
|
-
var values = this.
|
|
595
|
+
protoOf(State).m1k = function (key, value) {
|
|
596
|
+
var values = this.k1k(key);
|
|
597
597
|
if (!values.v(value)) {
|
|
598
|
-
this.
|
|
598
|
+
this.l1k(key, plus(values, value));
|
|
599
599
|
}
|
|
600
600
|
};
|
|
601
|
-
protoOf(State).
|
|
602
|
-
var values = this.
|
|
601
|
+
protoOf(State).n1k = function (key, value) {
|
|
602
|
+
var values = this.k1k(key);
|
|
603
603
|
if (values.v(value)) {
|
|
604
604
|
// Inline function 'kotlin.collections.filterNot' call
|
|
605
605
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
@@ -612,7 +612,7 @@
|
|
|
612
612
|
destination.p(element);
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
this.
|
|
615
|
+
this.l1k(key, destination);
|
|
616
616
|
}
|
|
617
617
|
};
|
|
618
618
|
//region block: exports
|
package/kotlinx-atomicfu.js
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
}(this, function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var defineProp = kotlin_kotlin.$_$.
|
|
18
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
19
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
20
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
21
|
-
var toString = kotlin_kotlin.$_$.
|
|
15
|
+
var fillArrayVal = kotlin_kotlin.$_$.b6;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.s6;
|
|
17
|
+
var defineProp = kotlin_kotlin.$_$.z5;
|
|
18
|
+
var classMeta = kotlin_kotlin.$_$.x5;
|
|
19
|
+
var setMetadataFor = kotlin_kotlin.$_$.t6;
|
|
20
|
+
var objectMeta = kotlin_kotlin.$_$.r6;
|
|
21
|
+
var toString = kotlin_kotlin.$_$.v9;
|
|
22
22
|
var VOID = kotlin_kotlin.$_$.d;
|
|
23
23
|
//endregion
|
|
24
24
|
//region block: pre-declaration
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
tmp_1[tmp_0] = atomic$ref$1(null);
|
|
40
40
|
tmp_0 = tmp_0 + 1 | 0;
|
|
41
41
|
}
|
|
42
|
-
tmp.
|
|
42
|
+
tmp.ri_1 = tmp_1;
|
|
43
43
|
}
|
|
44
|
-
protoOf(atomicfu$AtomicRefArray$ref).
|
|
45
|
-
return this.
|
|
44
|
+
protoOf(atomicfu$AtomicRefArray$ref).si = function () {
|
|
45
|
+
return this.ri_1.length;
|
|
46
46
|
};
|
|
47
47
|
protoOf(atomicfu$AtomicRefArray$ref).atomicfu$get = function (index) {
|
|
48
|
-
return this.
|
|
48
|
+
return this.ri_1[index];
|
|
49
49
|
};
|
|
50
50
|
function atomicfu$AtomicRefArray$ofNulls(size) {
|
|
51
51
|
return new atomicfu$AtomicRefArray$ref(size);
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
function AtomicRef(value) {
|
|
74
74
|
this.kotlinx$atomicfu$value = value;
|
|
75
75
|
}
|
|
76
|
-
protoOf(AtomicRef).
|
|
76
|
+
protoOf(AtomicRef).ti = function (_set____db54di) {
|
|
77
77
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
78
78
|
};
|
|
79
|
-
protoOf(AtomicRef).
|
|
79
|
+
protoOf(AtomicRef).ui = function () {
|
|
80
80
|
return this.kotlinx$atomicfu$value;
|
|
81
81
|
};
|
|
82
82
|
protoOf(AtomicRef).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -99,10 +99,10 @@
|
|
|
99
99
|
function AtomicBoolean(value) {
|
|
100
100
|
this.kotlinx$atomicfu$value = value;
|
|
101
101
|
}
|
|
102
|
-
protoOf(AtomicBoolean).
|
|
102
|
+
protoOf(AtomicBoolean).vi = function (_set____db54di) {
|
|
103
103
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
104
104
|
};
|
|
105
|
-
protoOf(AtomicBoolean).
|
|
105
|
+
protoOf(AtomicBoolean).ui = function () {
|
|
106
106
|
return this.kotlinx$atomicfu$value;
|
|
107
107
|
};
|
|
108
108
|
protoOf(AtomicBoolean).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -125,10 +125,10 @@
|
|
|
125
125
|
function AtomicInt(value) {
|
|
126
126
|
this.kotlinx$atomicfu$value = value;
|
|
127
127
|
}
|
|
128
|
-
protoOf(AtomicInt).
|
|
128
|
+
protoOf(AtomicInt).wi = function (_set____db54di) {
|
|
129
129
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
130
130
|
};
|
|
131
|
-
protoOf(AtomicInt).
|
|
131
|
+
protoOf(AtomicInt).ui = function () {
|
|
132
132
|
return this.kotlinx$atomicfu$value;
|
|
133
133
|
};
|
|
134
134
|
protoOf(AtomicInt).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -178,10 +178,10 @@
|
|
|
178
178
|
function AtomicLong(value) {
|
|
179
179
|
this.kotlinx$atomicfu$value = value;
|
|
180
180
|
}
|
|
181
|
-
protoOf(AtomicLong).
|
|
181
|
+
protoOf(AtomicLong).xi = function (_set____db54di) {
|
|
182
182
|
this.kotlinx$atomicfu$value = _set____db54di;
|
|
183
183
|
};
|
|
184
|
-
protoOf(AtomicLong).
|
|
184
|
+
protoOf(AtomicLong).ui = function () {
|
|
185
185
|
return this.kotlinx$atomicfu$value;
|
|
186
186
|
};
|
|
187
187
|
protoOf(AtomicLong).atomicfu$compareAndSet = function (expect, update) {
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
return new AtomicLong(initial);
|
|
246
246
|
}
|
|
247
247
|
//region block: post-declaration
|
|
248
|
-
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).
|
|
248
|
+
defineProp(protoOf(atomicfu$AtomicRefArray$ref), 'atomicfu$size', protoOf(atomicfu$AtomicRefArray$ref).si);
|
|
249
249
|
//endregion
|
|
250
250
|
//region block: exports
|
|
251
251
|
_.$_$ = _.$_$ || {};
|