@cruglobal/godtools-shared 1.2.1-SNAPSHOT.1800 → 1.3.0-PR861-SNAPSHOT.1814
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-core.js.map +1 -1
- package/Kermit-kermit.js +10 -10
- package/antlr-kotlin-antlr-kotlin-runtime.js +3297 -3148
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +676 -649
- package/colormath-root-colormath.js.map +1 -1
- package/fluid-locale.js +160 -159
- package/fluid-locale.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +2477 -2172
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +3 -3
- package/kotlin-mpp-godtools-tool-parser-module-common.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js +64 -64
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +999 -417
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2781 -2747
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +37 -566
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +575 -221
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +11 -7
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlinx-atomicfu.js +24 -24
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +2978 -2972
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,396 +1,33 @@
|
|
|
1
1
|
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './kotlin-mpp-godtools-tool-parser-module-parser-expressions.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlin-mpp-godtools-tool-parser-module-parser-expressions.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-renderer-state'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-renderer-state'.");
|
|
9
9
|
}
|
|
10
|
-
if (typeof globalThis['
|
|
11
|
-
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-renderer-state'. Its dependency '
|
|
10
|
+
if (typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-renderer-state'. Its dependency 'kotlin-mpp-godtools-tool-parser-module-parser-expressions' was not found. Please, check whether 'kotlin-mpp-godtools-tool-parser-module-parser-expressions' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-renderer-state'.");
|
|
12
12
|
}
|
|
13
|
-
globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'], globalThis['kotlin-kotlin-stdlib'], globalThis['
|
|
13
|
+
globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-renderer-state'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlin-mpp-godtools-tool-parser-module-parser-expressions']);
|
|
14
14
|
}
|
|
15
|
-
}(function (_, kotlin_kotlin,
|
|
15
|
+
}(function (_, kotlin_kotlin, kotlin_org_cru_godtools_kotlin_parser_expressions) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
|
-
var CoroutineImpl = kotlin_kotlin.$_$.k5;
|
|
19
|
-
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
20
|
-
var protoOf = kotlin_kotlin.$_$.t6;
|
|
21
|
-
var THROW_CCE = kotlin_kotlin.$_$.b9;
|
|
22
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
|
|
23
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.i6;
|
|
24
|
-
var VOID = kotlin_kotlin.$_$.d;
|
|
25
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.g6;
|
|
26
18
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
36
|
-
var onSubscription = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
37
|
-
var conflate = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
38
|
-
var flowOf = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
39
|
-
var emptyList = kotlin_kotlin.$_$.l3;
|
|
40
|
-
var toList = kotlin_kotlin.$_$.q4;
|
|
41
|
-
var plus = kotlin_kotlin.$_$.i4;
|
|
42
|
-
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
|
|
19
|
+
var VOID = kotlin_kotlin.$_$.d;
|
|
20
|
+
var protoOf = kotlin_kotlin.$_$.x6;
|
|
21
|
+
var objectCreate = kotlin_kotlin.$_$.w6;
|
|
22
|
+
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
23
|
+
var SimpleExpressionContext = kotlin_org_cru_godtools_kotlin_parser_expressions.$_$.c;
|
|
24
|
+
var varsChangeFlow$default = kotlin_org_cru_godtools_kotlin_parser_expressions.$_$.a;
|
|
25
|
+
var ExpressionContext = kotlin_org_cru_godtools_kotlin_parser_expressions.$_$.b;
|
|
26
|
+
var initMetadataForClass = kotlin_kotlin.$_$.i6;
|
|
43
27
|
//endregion
|
|
44
28
|
//region block: pre-declaration
|
|
45
|
-
|
|
46
|
-
initMetadataForCoroutine($collectCOROUTINE$0, CoroutineImpl);
|
|
47
|
-
initMetadataForLambda(State$varsChangeFlow$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
|
|
48
|
-
initMetadataForCoroutine($collectCOROUTINE$1, CoroutineImpl);
|
|
49
|
-
initMetadataForLambda(State$varsChangeFlow$o$collect$slambda_3, CoroutineImpl, VOID, [1]);
|
|
50
|
-
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
51
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
52
|
-
initMetadataForLambda(State$varsChangeFlow$slambda, CoroutineImpl, VOID, [1]);
|
|
53
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$filter$1, VOID, VOID, VOID, VOID, [1]);
|
|
54
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
55
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$map$2, VOID, VOID, VOID, VOID, [1]);
|
|
56
|
-
initMetadataForClass(State, 'State', createState);
|
|
29
|
+
initMetadataForClass(State, 'State', createState, VOID, [ExpressionContext]);
|
|
57
30
|
//endregion
|
|
58
|
-
function State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation) {
|
|
59
|
-
this.l1j_1 = $$this$unsafeFlow;
|
|
60
|
-
this.m1j_1 = $keys;
|
|
61
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
62
|
-
}
|
|
63
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).r1e = function (value, $completion) {
|
|
64
|
-
var tmp = this.s1e(value, $completion);
|
|
65
|
-
tmp.i8_1 = Unit_instance;
|
|
66
|
-
tmp.j8_1 = null;
|
|
67
|
-
return tmp.o8();
|
|
68
|
-
};
|
|
69
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).w8 = function (p1, $completion) {
|
|
70
|
-
return this.r1e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
71
|
-
};
|
|
72
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).o8 = function () {
|
|
73
|
-
var suspendResult = this.i8_1;
|
|
74
|
-
$sm: do
|
|
75
|
-
try {
|
|
76
|
-
var tmp = this.g8_1;
|
|
77
|
-
switch (tmp) {
|
|
78
|
-
case 0:
|
|
79
|
-
this.h8_1 = 5;
|
|
80
|
-
var tmp_0 = this;
|
|
81
|
-
tmp_0.o1j_1 = this.l1j_1;
|
|
82
|
-
var tmp_1 = this;
|
|
83
|
-
tmp_1.p1j_1 = this.n1j_1;
|
|
84
|
-
this.g8_1 = 1;
|
|
85
|
-
continue $sm;
|
|
86
|
-
case 1:
|
|
87
|
-
this.r1j_1 = this.o1j_1;
|
|
88
|
-
this.s1j_1 = this.p1j_1;
|
|
89
|
-
var it = this.s1j_1;
|
|
90
|
-
if (this.m1j_1.f1(it)) {
|
|
91
|
-
this.g8_1 = 3;
|
|
92
|
-
suspendResult = this.r1j_1.n13(this.s1j_1, this);
|
|
93
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
94
|
-
return suspendResult;
|
|
95
|
-
}
|
|
96
|
-
continue $sm;
|
|
97
|
-
} else {
|
|
98
|
-
this.g8_1 = 2;
|
|
99
|
-
continue $sm;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
case 2:
|
|
103
|
-
this.q1j_1 = Unit_instance;
|
|
104
|
-
if (false) {
|
|
105
|
-
this.g8_1 = 1;
|
|
106
|
-
continue $sm;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
this.g8_1 = 4;
|
|
110
|
-
continue $sm;
|
|
111
|
-
case 3:
|
|
112
|
-
this.q1j_1 = suspendResult;
|
|
113
|
-
this.g8_1 = 4;
|
|
114
|
-
continue $sm;
|
|
115
|
-
case 4:
|
|
116
|
-
return Unit_instance;
|
|
117
|
-
case 5:
|
|
118
|
-
throw this.j8_1;
|
|
119
|
-
}
|
|
120
|
-
} catch ($p) {
|
|
121
|
-
var e = $p;
|
|
122
|
-
if (this.h8_1 === 5) {
|
|
123
|
-
throw e;
|
|
124
|
-
} else {
|
|
125
|
-
this.g8_1 = this.h8_1;
|
|
126
|
-
this.j8_1 = e;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
while (true);
|
|
130
|
-
};
|
|
131
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).s1e = function (value, completion) {
|
|
132
|
-
var i = new State$varsChangeFlow$o$collect$slambda(this.l1j_1, this.m1j_1, completion);
|
|
133
|
-
i.n1j_1 = value;
|
|
134
|
-
return i;
|
|
135
|
-
};
|
|
136
|
-
function State$varsChangeFlow$o$collect$slambda_0($$this$unsafeFlow, $keys, resultContinuation) {
|
|
137
|
-
var i = new State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation);
|
|
138
|
-
var l = function (value, $completion) {
|
|
139
|
-
return i.r1e(value, $completion);
|
|
140
|
-
};
|
|
141
|
-
l.$arity = 1;
|
|
142
|
-
return l;
|
|
143
|
-
}
|
|
144
|
-
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
145
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
146
|
-
this.b1k_1 = _this__u8e3s4;
|
|
147
|
-
this.c1k_1 = collector;
|
|
148
|
-
}
|
|
149
|
-
protoOf($collectCOROUTINE$0).o8 = function () {
|
|
150
|
-
var suspendResult = this.i8_1;
|
|
151
|
-
$sm: do
|
|
152
|
-
try {
|
|
153
|
-
var tmp = this.g8_1;
|
|
154
|
-
switch (tmp) {
|
|
155
|
-
case 0:
|
|
156
|
-
this.h8_1 = 2;
|
|
157
|
-
var tmp_0 = this;
|
|
158
|
-
tmp_0.d1k_1 = this.c1k_1;
|
|
159
|
-
this.e1k_1 = this.d1k_1;
|
|
160
|
-
this.g8_1 = 1;
|
|
161
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_0(this.e1k_1, this.b1k_1.g1k_1, null);
|
|
162
|
-
suspendResult = this.b1k_1.f1k_1.p13(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
163
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
164
|
-
return suspendResult;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
continue $sm;
|
|
168
|
-
case 1:
|
|
169
|
-
return Unit_instance;
|
|
170
|
-
case 2:
|
|
171
|
-
throw this.j8_1;
|
|
172
|
-
}
|
|
173
|
-
} catch ($p) {
|
|
174
|
-
var e = $p;
|
|
175
|
-
if (this.h8_1 === 2) {
|
|
176
|
-
throw e;
|
|
177
|
-
} else {
|
|
178
|
-
this.g8_1 = this.h8_1;
|
|
179
|
-
this.j8_1 = e;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
while (true);
|
|
183
|
-
};
|
|
184
|
-
function State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
185
|
-
this.p1k_1 = $$this$unsafeFlow;
|
|
186
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
187
|
-
}
|
|
188
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).r1e = function (value, $completion) {
|
|
189
|
-
var tmp = this.s1e(value, $completion);
|
|
190
|
-
tmp.i8_1 = Unit_instance;
|
|
191
|
-
tmp.j8_1 = null;
|
|
192
|
-
return tmp.o8();
|
|
193
|
-
};
|
|
194
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).w8 = function (p1, $completion) {
|
|
195
|
-
return this.r1e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
196
|
-
};
|
|
197
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).o8 = function () {
|
|
198
|
-
var suspendResult = this.i8_1;
|
|
199
|
-
$sm: do
|
|
200
|
-
try {
|
|
201
|
-
var tmp = this.g8_1;
|
|
202
|
-
switch (tmp) {
|
|
203
|
-
case 0:
|
|
204
|
-
this.h8_1 = 2;
|
|
205
|
-
var tmp_0 = this;
|
|
206
|
-
tmp_0.r1k_1 = this.p1k_1;
|
|
207
|
-
var tmp_1 = this;
|
|
208
|
-
tmp_1.s1k_1 = this.q1k_1;
|
|
209
|
-
this.t1k_1 = this.r1k_1;
|
|
210
|
-
this.u1k_1 = this.s1k_1;
|
|
211
|
-
this.g8_1 = 1;
|
|
212
|
-
this.u1k_1;
|
|
213
|
-
suspendResult = this.t1k_1.n13(Unit_instance, this);
|
|
214
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
215
|
-
return suspendResult;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
continue $sm;
|
|
219
|
-
case 1:
|
|
220
|
-
return Unit_instance;
|
|
221
|
-
case 2:
|
|
222
|
-
throw this.j8_1;
|
|
223
|
-
}
|
|
224
|
-
} catch ($p) {
|
|
225
|
-
var e = $p;
|
|
226
|
-
if (this.h8_1 === 2) {
|
|
227
|
-
throw e;
|
|
228
|
-
} else {
|
|
229
|
-
this.g8_1 = this.h8_1;
|
|
230
|
-
this.j8_1 = e;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
while (true);
|
|
234
|
-
};
|
|
235
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).s1e = function (value, completion) {
|
|
236
|
-
var i = new State$varsChangeFlow$o$collect$slambda_1(this.p1k_1, completion);
|
|
237
|
-
i.q1k_1 = value;
|
|
238
|
-
return i;
|
|
239
|
-
};
|
|
240
|
-
function State$varsChangeFlow$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
241
|
-
var i = new State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
242
|
-
var l = function (value, $completion) {
|
|
243
|
-
return i.r1e(value, $completion);
|
|
244
|
-
};
|
|
245
|
-
l.$arity = 1;
|
|
246
|
-
return l;
|
|
247
|
-
}
|
|
248
|
-
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
249
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
250
|
-
this.d1l_1 = _this__u8e3s4;
|
|
251
|
-
this.e1l_1 = collector;
|
|
252
|
-
}
|
|
253
|
-
protoOf($collectCOROUTINE$1).o8 = function () {
|
|
254
|
-
var suspendResult = this.i8_1;
|
|
255
|
-
$sm: do
|
|
256
|
-
try {
|
|
257
|
-
var tmp = this.g8_1;
|
|
258
|
-
switch (tmp) {
|
|
259
|
-
case 0:
|
|
260
|
-
this.h8_1 = 2;
|
|
261
|
-
var tmp_0 = this;
|
|
262
|
-
tmp_0.f1l_1 = this.e1l_1;
|
|
263
|
-
this.g1l_1 = this.f1l_1;
|
|
264
|
-
this.g8_1 = 1;
|
|
265
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_2(this.g1l_1, null);
|
|
266
|
-
suspendResult = this.d1l_1.h1l_1.p13(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
267
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
268
|
-
return suspendResult;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
continue $sm;
|
|
272
|
-
case 1:
|
|
273
|
-
return Unit_instance;
|
|
274
|
-
case 2:
|
|
275
|
-
throw this.j8_1;
|
|
276
|
-
}
|
|
277
|
-
} catch ($p) {
|
|
278
|
-
var e = $p;
|
|
279
|
-
if (this.h8_1 === 2) {
|
|
280
|
-
throw e;
|
|
281
|
-
} else {
|
|
282
|
-
this.g8_1 = this.h8_1;
|
|
283
|
-
this.j8_1 = e;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
while (true);
|
|
287
|
-
};
|
|
288
|
-
function State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
289
|
-
this.q1l_1 = $$this$unsafeFlow;
|
|
290
|
-
this.r1l_1 = $block;
|
|
291
|
-
this.s1l_1 = this$0;
|
|
292
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
293
|
-
}
|
|
294
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).r1e = function (value, $completion) {
|
|
295
|
-
var tmp = this.s1e(value, $completion);
|
|
296
|
-
tmp.i8_1 = Unit_instance;
|
|
297
|
-
tmp.j8_1 = null;
|
|
298
|
-
return tmp.o8();
|
|
299
|
-
};
|
|
300
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).w8 = function (p1, $completion) {
|
|
301
|
-
return this.r1e((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
302
|
-
};
|
|
303
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).o8 = function () {
|
|
304
|
-
var suspendResult = this.i8_1;
|
|
305
|
-
$sm: do
|
|
306
|
-
try {
|
|
307
|
-
var tmp = this.g8_1;
|
|
308
|
-
switch (tmp) {
|
|
309
|
-
case 0:
|
|
310
|
-
this.h8_1 = 2;
|
|
311
|
-
var tmp_0 = this;
|
|
312
|
-
tmp_0.u1l_1 = this.q1l_1;
|
|
313
|
-
var tmp_1 = this;
|
|
314
|
-
tmp_1.v1l_1 = this.t1l_1;
|
|
315
|
-
this.w1l_1 = this.u1l_1;
|
|
316
|
-
this.x1l_1 = this.v1l_1;
|
|
317
|
-
this.g8_1 = 1;
|
|
318
|
-
this.x1l_1;
|
|
319
|
-
suspendResult = this.w1l_1.n13(this.r1l_1(this.s1l_1), this);
|
|
320
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
321
|
-
return suspendResult;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
continue $sm;
|
|
325
|
-
case 1:
|
|
326
|
-
return Unit_instance;
|
|
327
|
-
case 2:
|
|
328
|
-
throw this.j8_1;
|
|
329
|
-
}
|
|
330
|
-
} catch ($p) {
|
|
331
|
-
var e = $p;
|
|
332
|
-
if (this.h8_1 === 2) {
|
|
333
|
-
throw e;
|
|
334
|
-
} else {
|
|
335
|
-
this.g8_1 = this.h8_1;
|
|
336
|
-
this.j8_1 = e;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
while (true);
|
|
340
|
-
};
|
|
341
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).s1e = function (value, completion) {
|
|
342
|
-
var i = new State$varsChangeFlow$o$collect$slambda_3(this.q1l_1, this.r1l_1, this.s1l_1, completion);
|
|
343
|
-
i.t1l_1 = value;
|
|
344
|
-
return i;
|
|
345
|
-
};
|
|
346
|
-
function State$varsChangeFlow$o$collect$slambda_4($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
347
|
-
var i = new State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation);
|
|
348
|
-
var l = function (value, $completion) {
|
|
349
|
-
return i.r1e(value, $completion);
|
|
350
|
-
};
|
|
351
|
-
l.$arity = 1;
|
|
352
|
-
return l;
|
|
353
|
-
}
|
|
354
|
-
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
355
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
356
|
-
this.g1m_1 = _this__u8e3s4;
|
|
357
|
-
this.h1m_1 = collector;
|
|
358
|
-
}
|
|
359
|
-
protoOf($collectCOROUTINE$2).o8 = function () {
|
|
360
|
-
var suspendResult = this.i8_1;
|
|
361
|
-
$sm: do
|
|
362
|
-
try {
|
|
363
|
-
var tmp = this.g8_1;
|
|
364
|
-
switch (tmp) {
|
|
365
|
-
case 0:
|
|
366
|
-
this.h8_1 = 2;
|
|
367
|
-
var tmp_0 = this;
|
|
368
|
-
tmp_0.i1m_1 = this.h1m_1;
|
|
369
|
-
this.j1m_1 = this.i1m_1;
|
|
370
|
-
this.g8_1 = 1;
|
|
371
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_4(this.j1m_1, this.g1m_1.l1m_1, this.g1m_1.m1m_1, null);
|
|
372
|
-
suspendResult = this.g1m_1.k1m_1.p13(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
373
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
374
|
-
return suspendResult;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
continue $sm;
|
|
378
|
-
case 1:
|
|
379
|
-
return Unit_instance;
|
|
380
|
-
case 2:
|
|
381
|
-
throw this.j8_1;
|
|
382
|
-
}
|
|
383
|
-
} catch ($p) {
|
|
384
|
-
var e = $p;
|
|
385
|
-
if (this.h8_1 === 2) {
|
|
386
|
-
throw e;
|
|
387
|
-
} else {
|
|
388
|
-
this.g8_1 = this.h8_1;
|
|
389
|
-
this.j8_1 = e;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
while (true);
|
|
393
|
-
};
|
|
394
31
|
function State_init_$Init$($this) {
|
|
395
32
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
396
33
|
var tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
@@ -400,129 +37,6 @@
|
|
|
400
37
|
function createState() {
|
|
401
38
|
return State_init_$Init$(objectCreate(protoOf(State)));
|
|
402
39
|
}
|
|
403
|
-
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
404
|
-
this.n1m_1 = function_0;
|
|
405
|
-
}
|
|
406
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).n13 = function (value, $completion) {
|
|
407
|
-
return this.n1m_1(value, $completion);
|
|
408
|
-
};
|
|
409
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s2 = function () {
|
|
410
|
-
return this.n1m_1;
|
|
411
|
-
};
|
|
412
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
413
|
-
var tmp;
|
|
414
|
-
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
415
|
-
var tmp_0;
|
|
416
|
-
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
417
|
-
tmp_0 = equals(this.s2(), other.s2());
|
|
418
|
-
} else {
|
|
419
|
-
tmp_0 = false;
|
|
420
|
-
}
|
|
421
|
-
tmp = tmp_0;
|
|
422
|
-
} else {
|
|
423
|
-
tmp = false;
|
|
424
|
-
}
|
|
425
|
-
return tmp;
|
|
426
|
-
};
|
|
427
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
428
|
-
return hashCode(this.s2());
|
|
429
|
-
};
|
|
430
|
-
function State$varsChangeFlow$slambda($keys, resultContinuation) {
|
|
431
|
-
this.w1m_1 = $keys;
|
|
432
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
433
|
-
}
|
|
434
|
-
protoOf(State$varsChangeFlow$slambda).y1m = function ($this$onSubscription, $completion) {
|
|
435
|
-
var tmp = this.z1m($this$onSubscription, $completion);
|
|
436
|
-
tmp.i8_1 = Unit_instance;
|
|
437
|
-
tmp.j8_1 = null;
|
|
438
|
-
return tmp.o8();
|
|
439
|
-
};
|
|
440
|
-
protoOf(State$varsChangeFlow$slambda).w8 = function (p1, $completion) {
|
|
441
|
-
return this.y1m((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
442
|
-
};
|
|
443
|
-
protoOf(State$varsChangeFlow$slambda).o8 = function () {
|
|
444
|
-
var suspendResult = this.i8_1;
|
|
445
|
-
$sm: do
|
|
446
|
-
try {
|
|
447
|
-
var tmp = this.g8_1;
|
|
448
|
-
switch (tmp) {
|
|
449
|
-
case 0:
|
|
450
|
-
this.h8_1 = 2;
|
|
451
|
-
this.g8_1 = 1;
|
|
452
|
-
suspendResult = this.x1m_1.n13(first(this.w1m_1), this);
|
|
453
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
454
|
-
return suspendResult;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
continue $sm;
|
|
458
|
-
case 1:
|
|
459
|
-
return Unit_instance;
|
|
460
|
-
case 2:
|
|
461
|
-
throw this.j8_1;
|
|
462
|
-
}
|
|
463
|
-
} catch ($p) {
|
|
464
|
-
var e = $p;
|
|
465
|
-
if (this.h8_1 === 2) {
|
|
466
|
-
throw e;
|
|
467
|
-
} else {
|
|
468
|
-
this.g8_1 = this.h8_1;
|
|
469
|
-
this.j8_1 = e;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
while (true);
|
|
473
|
-
};
|
|
474
|
-
protoOf(State$varsChangeFlow$slambda).z1m = function ($this$onSubscription, completion) {
|
|
475
|
-
var i = new State$varsChangeFlow$slambda(this.w1m_1, completion);
|
|
476
|
-
i.x1m_1 = $this$onSubscription;
|
|
477
|
-
return i;
|
|
478
|
-
};
|
|
479
|
-
function State$varsChangeFlow$slambda_0($keys, resultContinuation) {
|
|
480
|
-
var i = new State$varsChangeFlow$slambda($keys, resultContinuation);
|
|
481
|
-
var l = function ($this$onSubscription, $completion) {
|
|
482
|
-
return i.y1m($this$onSubscription, $completion);
|
|
483
|
-
};
|
|
484
|
-
l.$arity = 1;
|
|
485
|
-
return l;
|
|
486
|
-
}
|
|
487
|
-
function State$varsChangeFlow$$inlined$filter$1($this, $keys) {
|
|
488
|
-
this.f1k_1 = $this;
|
|
489
|
-
this.g1k_1 = $keys;
|
|
490
|
-
}
|
|
491
|
-
protoOf(State$varsChangeFlow$$inlined$filter$1).o13 = function (collector, $completion) {
|
|
492
|
-
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
493
|
-
tmp.i8_1 = Unit_instance;
|
|
494
|
-
tmp.j8_1 = null;
|
|
495
|
-
return tmp.o8();
|
|
496
|
-
};
|
|
497
|
-
protoOf(State$varsChangeFlow$$inlined$filter$1).p13 = function (collector, $completion) {
|
|
498
|
-
return this.o13(collector, $completion);
|
|
499
|
-
};
|
|
500
|
-
function State$varsChangeFlow$$inlined$map$1($this) {
|
|
501
|
-
this.h1l_1 = $this;
|
|
502
|
-
}
|
|
503
|
-
protoOf(State$varsChangeFlow$$inlined$map$1).o13 = function (collector, $completion) {
|
|
504
|
-
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
505
|
-
tmp.i8_1 = Unit_instance;
|
|
506
|
-
tmp.j8_1 = null;
|
|
507
|
-
return tmp.o8();
|
|
508
|
-
};
|
|
509
|
-
protoOf(State$varsChangeFlow$$inlined$map$1).p13 = function (collector, $completion) {
|
|
510
|
-
return this.o13(collector, $completion);
|
|
511
|
-
};
|
|
512
|
-
function State$varsChangeFlow$$inlined$map$2($this, $block, this$0) {
|
|
513
|
-
this.k1m_1 = $this;
|
|
514
|
-
this.l1m_1 = $block;
|
|
515
|
-
this.m1m_1 = this$0;
|
|
516
|
-
}
|
|
517
|
-
protoOf(State$varsChangeFlow$$inlined$map$2).o13 = function (collector, $completion) {
|
|
518
|
-
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
519
|
-
tmp.i8_1 = Unit_instance;
|
|
520
|
-
tmp.j8_1 = null;
|
|
521
|
-
return tmp.o8();
|
|
522
|
-
};
|
|
523
|
-
protoOf(State$varsChangeFlow$$inlined$map$2).p13 = function (collector, $completion) {
|
|
524
|
-
return this.o13(collector, $completion);
|
|
525
|
-
};
|
|
526
40
|
function State(triggeredAnalyticsEvents, vars) {
|
|
527
41
|
var tmp;
|
|
528
42
|
if (triggeredAnalyticsEvents === VOID) {
|
|
@@ -540,82 +54,39 @@
|
|
|
540
54
|
tmp_0 = vars;
|
|
541
55
|
}
|
|
542
56
|
vars = tmp_0;
|
|
543
|
-
this.
|
|
544
|
-
this.
|
|
545
|
-
this.
|
|
57
|
+
this.b48_1 = new SimpleExpressionContext(vars);
|
|
58
|
+
this.c48_1 = triggeredAnalyticsEvents;
|
|
59
|
+
this.d48_1 = vars;
|
|
546
60
|
}
|
|
547
|
-
protoOf(State).
|
|
548
|
-
var tmp0_elvis_lhs = this.
|
|
61
|
+
protoOf(State).e48 = function (id) {
|
|
62
|
+
var tmp0_elvis_lhs = this.c48_1.q1(id);
|
|
549
63
|
return tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
550
64
|
};
|
|
551
|
-
protoOf(State).
|
|
552
|
-
var tmp0 = this.
|
|
553
|
-
var tmp0_elvis_lhs = this.
|
|
65
|
+
protoOf(State).f48 = function (id) {
|
|
66
|
+
var tmp0 = this.c48_1;
|
|
67
|
+
var tmp0_elvis_lhs = this.c48_1.q1(id);
|
|
554
68
|
// Inline function 'kotlin.collections.set' call
|
|
555
69
|
var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + 1 | 0;
|
|
556
|
-
tmp0.
|
|
70
|
+
tmp0.i3(id, value);
|
|
557
71
|
};
|
|
558
|
-
protoOf(State).
|
|
559
|
-
|
|
560
|
-
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
561
|
-
if (keys == null || keys.p()) {
|
|
562
|
-
tmp = flowOf(Unit_instance);
|
|
563
|
-
} else {
|
|
564
|
-
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
565
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
566
|
-
var this_0 = onSubscription(this.c1n_1, State$varsChangeFlow$slambda_0(keys, null));
|
|
567
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
568
|
-
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
569
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
570
|
-
var this_1 = new State$varsChangeFlow$$inlined$filter$1(this_0, keys);
|
|
571
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
572
|
-
var tmp$ret$6 = new State$varsChangeFlow$$inlined$map$1(this_1);
|
|
573
|
-
tmp = conflate(tmp$ret$6);
|
|
574
|
-
}
|
|
575
|
-
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
576
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
577
|
-
var this_2 = tmp;
|
|
578
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
579
|
-
return new State$varsChangeFlow$$inlined$map$2(this_2, block, this);
|
|
580
|
-
};
|
|
581
|
-
protoOf(State).varsChangeFlow$default = function (keys, block, $super) {
|
|
582
|
-
keys = keys === VOID ? emptyList() : keys;
|
|
583
|
-
return $super === VOID ? this.f1n(keys, block) : $super.f1n.call(this, keys, block);
|
|
72
|
+
protoOf(State).u2t = function (keys, block) {
|
|
73
|
+
return this.b48_1.u2t(keys, block);
|
|
584
74
|
};
|
|
585
|
-
protoOf(State).
|
|
586
|
-
|
|
587
|
-
var tmp0_elvis_lhs = this.b1n_1.q1(key);
|
|
588
|
-
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
75
|
+
protoOf(State).v2t = function (key) {
|
|
76
|
+
return this.b48_1.v2t(key);
|
|
589
77
|
};
|
|
590
|
-
protoOf(State).
|
|
591
|
-
|
|
592
|
-
// Inline function 'kotlin.collections.set' call
|
|
593
|
-
var value = values == null ? null : toList(values);
|
|
594
|
-
tmp0.d3(key, value);
|
|
595
|
-
this.c1n_1.x15(key);
|
|
78
|
+
protoOf(State).w2t = function (key, values) {
|
|
79
|
+
this.b48_1.w2t(key, values);
|
|
596
80
|
};
|
|
597
|
-
protoOf(State).
|
|
598
|
-
|
|
599
|
-
if (!values.f1(value)) {
|
|
600
|
-
this.h1n(key, plus(values, value));
|
|
601
|
-
}
|
|
81
|
+
protoOf(State).x2t = function (key, value) {
|
|
82
|
+
this.b48_1.x2t(key, value);
|
|
602
83
|
};
|
|
603
|
-
protoOf(State).
|
|
604
|
-
|
|
605
|
-
if (values.f1(value)) {
|
|
606
|
-
// Inline function 'kotlin.collections.filterNot' call
|
|
607
|
-
// Inline function 'kotlin.collections.filterNotTo' call
|
|
608
|
-
var destination = ArrayList_init_$Create$();
|
|
609
|
-
var _iterator__ex2g4s = values.j();
|
|
610
|
-
while (_iterator__ex2g4s.k()) {
|
|
611
|
-
var element = _iterator__ex2g4s.l();
|
|
612
|
-
if (!(element === value)) {
|
|
613
|
-
destination.e(element);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
this.h1n(key, destination);
|
|
617
|
-
}
|
|
84
|
+
protoOf(State).y2t = function (key, value) {
|
|
85
|
+
this.b48_1.y2t(key, value);
|
|
618
86
|
};
|
|
87
|
+
//region block: post-declaration
|
|
88
|
+
protoOf(State).varsChangeFlow$default = varsChangeFlow$default;
|
|
89
|
+
//endregion
|
|
619
90
|
//region block: exports
|
|
620
91
|
function $jsExportAll$(_) {
|
|
621
92
|
var $org = _.org || (_.org = {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../module/renderer-state/src/commonMain/kotlin/org/cru/godtools/shared/renderer/state/State.kt","src/kotlin/collections/Maps.kt"
|
|
1
|
+
{"version":3,"sources":["../../../../../../../../module/renderer-state/src/commonMain/kotlin/org/cru/godtools/shared/renderer/state/State.kt","src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["State_init_$Init$","State_init_$Create$","<init>","triggeredAnalyticsEvents","vars","getTriggeredAnalyticsEventsCount","id","recordTriggeredAnalyticsEvent","varsChangeFlow","keys","block","getVar","key","setVar","values","addVarValue","value","removeVarValue"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAoBIA,C,KAAAA,E;;oBCgEwD,6B;ID/DxC,wBAAY,SAAZ,C;;G;sBADhBC,CAAAA,E;;G;gBAJQC,CACRC,wB,EACAC,IAFQF,EAAA;A;;;YCoEgD,6B;;;;;;;;cAAA,6B;;;;;IDjEvB,yCAAwB,IAAxB,C;IAFjC,qC;IACA,iB;EAFQ,C;gCAQRG,CAGqCC,EAHrCD,EAGmD;A,QAAA,+BAAyB,EAAzB,C;IAAiC,OAAjC,yBAAgC,CAAhC,iB;EAAgC,C;gCACnFE,CAGkCD,EAHlCC,EAG8C;A,eAC1C,I,CAAA,K;QAAgC,+BAAyB,EAAzB,C;;gBAAD,CAAC,yBAAgC,CAAhC,iBAAD,IAAsC,CAAtC,I;ICwOnC,QDxO6B,ECwO7B,EAAS,KAAT,C;EDvOA,C;gCAjCJC,CAaAC,I,EAAAC,KAbAF,EAAA;A,IAAA,kC;EAAA,C;gCAAAG,CAaAC,GAbAD,EAAA;A,IAAA,0B;EAAA,C;gCAAAE,CAaAD,G,EAAAE,MAbAD,EAAA;A,IAAA,2B;EAAA,C;gCAAAE,CAaAH,G,EAAAI,KAbAD,EAAA;A,IAAA,0B;EAAA,C;gCAAAE,CAaAL,G,EAAAI,KAbAC,EAAA;A,IAAA,0B;EAAA,C;;;;;;;;;;;;;;;;;;;;"}
|