@cruglobal/godtools-shared 1.2.0-PR810-SNAPSHOT.1769 → 1.2.0-PR822-SNAPSHOT.1787
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 +40 -40
- package/Kermit-kermit.js +5 -5
- package/antlr-kotlin-antlr-kotlin-runtime.js +3237 -3232
- package/antlr-kotlin-antlr-kotlin-runtime.js.map +1 -1
- package/colormath-root-colormath.js +513 -513
- package/fluid-locale.js +133 -133
- package/kotlin-kotlin-stdlib.js +548 -660
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-common.js +2 -2
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js +288 -645
- package/kotlin-mpp-godtools-tool-parser-module-parser-base.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js +385 -385
- package/kotlin-mpp-godtools-tool-parser-module-parser-expressions.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +2691 -2907
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js +636 -0
- package/kotlin-mpp-godtools-tool-parser-module-renderer-state.js.map +1 -0
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +210 -211
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js +8 -4
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.js.map +1 -1
- package/kotlinx-atomicfu.js +14 -14
- package/kotlinx-coroutines-core.js +2166 -2166
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
- package/kotlin-js.js +0 -147
- package/kotlin-js.js.map +0 -1
- package/seskar-core.js +0 -15
- package/seskar-core.js.map +0 -1
- package/seskar-react.js +0 -15
- package/seskar-react.js.map +0 -1
|
@@ -1,119 +1,290 @@
|
|
|
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'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.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-parser-base'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-base'.");
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-parser-base'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-parser-base'.");
|
|
12
|
-
}
|
|
13
|
-
globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-coroutines-core']);
|
|
10
|
+
globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-parser-base'], globalThis['kotlin-kotlin-stdlib']);
|
|
14
11
|
}
|
|
15
|
-
}(function (_, kotlin_kotlin
|
|
12
|
+
}(function (_, kotlin_kotlin) {
|
|
16
13
|
'use strict';
|
|
17
14
|
//region block: imports
|
|
18
15
|
var imul = Math.imul;
|
|
16
|
+
var THROW_IAE = kotlin_kotlin.$_$.c9;
|
|
17
|
+
var Unit_instance = kotlin_kotlin.$_$.k2;
|
|
18
|
+
var Enum = kotlin_kotlin.$_$.r8;
|
|
19
19
|
var protoOf = kotlin_kotlin.$_$.t6;
|
|
20
|
-
var
|
|
20
|
+
var defineProp = kotlin_kotlin.$_$.w5;
|
|
21
|
+
var initMetadataForClass = kotlin_kotlin.$_$.e6;
|
|
21
22
|
var VOID = kotlin_kotlin.$_$.d;
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
23
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
|
|
24
|
+
var emptyMap = kotlin_kotlin.$_$.m3;
|
|
25
|
+
var emptySet = kotlin_kotlin.$_$.n3;
|
|
26
|
+
var contains = kotlin_kotlin.$_$.c3;
|
|
27
|
+
var toString = kotlin_kotlin.$_$.w6;
|
|
27
28
|
var getStringHashCode = kotlin_kotlin.$_$.c6;
|
|
28
|
-
var initMetadataForClass = kotlin_kotlin.$_$.e6;
|
|
29
|
-
var defineProp = kotlin_kotlin.$_$.w5;
|
|
30
|
-
var CoroutineImpl = kotlin_kotlin.$_$.k5;
|
|
31
|
-
var THROW_CCE = kotlin_kotlin.$_$.d9;
|
|
32
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
|
|
33
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.i6;
|
|
34
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.g6;
|
|
35
|
-
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
|
|
36
|
-
var objectCreate = kotlin_kotlin.$_$.s6;
|
|
37
|
-
var equals_0 = kotlin_kotlin.$_$.x5;
|
|
38
|
-
var FunctionAdapter = kotlin_kotlin.$_$.o5;
|
|
39
|
-
var isInterface = kotlin_kotlin.$_$.m6;
|
|
40
|
-
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
41
29
|
var hashCode = kotlin_kotlin.$_$.d6;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var conflate = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
|
|
46
|
-
var flowOf = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
47
|
-
var emptyList = kotlin_kotlin.$_$.l3;
|
|
48
|
-
var toList = kotlin_kotlin.$_$.q4;
|
|
49
|
-
var plus = kotlin_kotlin.$_$.i4;
|
|
50
|
-
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
|
|
30
|
+
var THROW_CCE = kotlin_kotlin.$_$.b9;
|
|
31
|
+
var equals = kotlin_kotlin.$_$.x5;
|
|
32
|
+
var equals_0 = kotlin_kotlin.$_$.p7;
|
|
51
33
|
//endregion
|
|
52
34
|
//region block: pre-declaration
|
|
35
|
+
initMetadataForClass(System, 'System', VOID, Enum);
|
|
36
|
+
initMetadataForClass(Trigger, 'Trigger', VOID, Enum);
|
|
53
37
|
initMetadataForCompanion(Companion);
|
|
38
|
+
initMetadataForClass(AnalyticsEvent, 'AnalyticsEvent', AnalyticsEvent);
|
|
39
|
+
initMetadataForCompanion(Companion_0);
|
|
54
40
|
initMetadataForClass(EventId, 'EventId');
|
|
55
|
-
initMetadataForLambda(State$varsChangeFlow$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
56
|
-
initMetadataForCoroutine($collectCOROUTINE$0, CoroutineImpl);
|
|
57
|
-
initMetadataForLambda(State$varsChangeFlow$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
|
|
58
|
-
initMetadataForCoroutine($collectCOROUTINE$1, CoroutineImpl);
|
|
59
|
-
initMetadataForLambda(State$varsChangeFlow$o$collect$slambda_3, CoroutineImpl, VOID, [1]);
|
|
60
|
-
initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
|
|
61
|
-
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
|
|
62
|
-
initMetadataForLambda(State$varsChangeFlow$slambda, CoroutineImpl, VOID, [1]);
|
|
63
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$filter$1, VOID, VOID, VOID, VOID, [1]);
|
|
64
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$map$1, VOID, VOID, VOID, VOID, [1]);
|
|
65
|
-
initMetadataForClass(State$varsChangeFlow$$inlined$map$2, VOID, VOID, VOID, VOID, [1]);
|
|
66
|
-
initMetadataForClass(State, 'State', createState);
|
|
67
41
|
//endregion
|
|
42
|
+
var System_FACEBOOK_instance;
|
|
43
|
+
var System_FIREBASE_instance;
|
|
44
|
+
var System_USER_instance;
|
|
45
|
+
function values() {
|
|
46
|
+
return [System_FACEBOOK_getInstance(), System_FIREBASE_getInstance(), System_USER_getInstance()];
|
|
47
|
+
}
|
|
48
|
+
function valueOf(value) {
|
|
49
|
+
switch (value) {
|
|
50
|
+
case 'FACEBOOK':
|
|
51
|
+
return System_FACEBOOK_getInstance();
|
|
52
|
+
case 'FIREBASE':
|
|
53
|
+
return System_FIREBASE_getInstance();
|
|
54
|
+
case 'USER':
|
|
55
|
+
return System_USER_getInstance();
|
|
56
|
+
default:
|
|
57
|
+
System_initEntries();
|
|
58
|
+
THROW_IAE('No enum constant value.');
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
var System_entriesInitialized;
|
|
63
|
+
function System_initEntries() {
|
|
64
|
+
if (System_entriesInitialized)
|
|
65
|
+
return Unit_instance;
|
|
66
|
+
System_entriesInitialized = true;
|
|
67
|
+
System_FACEBOOK_instance = new System('FACEBOOK', 0);
|
|
68
|
+
System_FIREBASE_instance = new System('FIREBASE', 1);
|
|
69
|
+
System_USER_instance = new System('USER', 2);
|
|
70
|
+
}
|
|
71
|
+
var Trigger_VISIBLE_instance;
|
|
72
|
+
var Trigger_HIDDEN_instance;
|
|
73
|
+
var Trigger_CLICKED_instance;
|
|
74
|
+
var Trigger_DEFAULT_instance;
|
|
75
|
+
var Trigger_UNKNOWN_instance;
|
|
76
|
+
function values_0() {
|
|
77
|
+
return [Trigger_VISIBLE_getInstance(), Trigger_HIDDEN_getInstance(), Trigger_CLICKED_getInstance(), Trigger_DEFAULT_getInstance(), Trigger_UNKNOWN_getInstance()];
|
|
78
|
+
}
|
|
79
|
+
function valueOf_0(value) {
|
|
80
|
+
switch (value) {
|
|
81
|
+
case 'VISIBLE':
|
|
82
|
+
return Trigger_VISIBLE_getInstance();
|
|
83
|
+
case 'HIDDEN':
|
|
84
|
+
return Trigger_HIDDEN_getInstance();
|
|
85
|
+
case 'CLICKED':
|
|
86
|
+
return Trigger_CLICKED_getInstance();
|
|
87
|
+
case 'DEFAULT':
|
|
88
|
+
return Trigger_DEFAULT_getInstance();
|
|
89
|
+
case 'UNKNOWN':
|
|
90
|
+
return Trigger_UNKNOWN_getInstance();
|
|
91
|
+
default:
|
|
92
|
+
Trigger_initEntries();
|
|
93
|
+
THROW_IAE('No enum constant value.');
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
var Trigger_entriesInitialized;
|
|
98
|
+
function Trigger_initEntries() {
|
|
99
|
+
if (Trigger_entriesInitialized)
|
|
100
|
+
return Unit_instance;
|
|
101
|
+
Trigger_entriesInitialized = true;
|
|
102
|
+
Trigger_VISIBLE_instance = new Trigger('VISIBLE', 0);
|
|
103
|
+
Trigger_HIDDEN_instance = new Trigger('HIDDEN', 1);
|
|
104
|
+
Trigger_CLICKED_instance = new Trigger('CLICKED', 2);
|
|
105
|
+
Trigger_DEFAULT_instance = new Trigger('DEFAULT', 3);
|
|
106
|
+
Trigger_UNKNOWN_instance = new Trigger('UNKNOWN', 4);
|
|
107
|
+
}
|
|
108
|
+
function System(name, ordinal) {
|
|
109
|
+
Enum.call(this, name, ordinal);
|
|
110
|
+
}
|
|
111
|
+
function Trigger(name, ordinal) {
|
|
112
|
+
Enum.call(this, name, ordinal);
|
|
113
|
+
}
|
|
68
114
|
function Companion() {
|
|
69
|
-
|
|
70
|
-
|
|
115
|
+
}
|
|
116
|
+
var Companion_instance;
|
|
117
|
+
function Companion_getInstance() {
|
|
118
|
+
return Companion_instance;
|
|
119
|
+
}
|
|
120
|
+
function System_FACEBOOK_getInstance() {
|
|
121
|
+
System_initEntries();
|
|
122
|
+
return System_FACEBOOK_instance;
|
|
123
|
+
}
|
|
124
|
+
function System_FIREBASE_getInstance() {
|
|
125
|
+
System_initEntries();
|
|
126
|
+
return System_FIREBASE_instance;
|
|
127
|
+
}
|
|
128
|
+
function System_USER_getInstance() {
|
|
129
|
+
System_initEntries();
|
|
130
|
+
return System_USER_instance;
|
|
131
|
+
}
|
|
132
|
+
function Trigger_VISIBLE_getInstance() {
|
|
133
|
+
Trigger_initEntries();
|
|
134
|
+
return Trigger_VISIBLE_instance;
|
|
135
|
+
}
|
|
136
|
+
function Trigger_HIDDEN_getInstance() {
|
|
137
|
+
Trigger_initEntries();
|
|
138
|
+
return Trigger_HIDDEN_instance;
|
|
139
|
+
}
|
|
140
|
+
function Trigger_CLICKED_getInstance() {
|
|
141
|
+
Trigger_initEntries();
|
|
142
|
+
return Trigger_CLICKED_instance;
|
|
143
|
+
}
|
|
144
|
+
function Trigger_DEFAULT_getInstance() {
|
|
145
|
+
Trigger_initEntries();
|
|
146
|
+
return Trigger_DEFAULT_instance;
|
|
147
|
+
}
|
|
148
|
+
function Trigger_UNKNOWN_getInstance() {
|
|
149
|
+
Trigger_initEntries();
|
|
150
|
+
return Trigger_UNKNOWN_instance;
|
|
151
|
+
}
|
|
152
|
+
function AnalyticsEvent(action, attributes, trigger, delay, systems, id, limit) {
|
|
153
|
+
action = action === VOID ? '' : action;
|
|
154
|
+
attributes = attributes === VOID ? emptyMap() : attributes;
|
|
155
|
+
trigger = trigger === VOID ? Trigger_DEFAULT_getInstance() : trigger;
|
|
156
|
+
delay = delay === VOID ? 0 : delay;
|
|
157
|
+
systems = systems === VOID ? emptySet() : systems;
|
|
158
|
+
id = id === VOID ? action : id;
|
|
159
|
+
limit = limit === VOID ? null : limit;
|
|
160
|
+
this.action = action;
|
|
161
|
+
this.attributes = attributes;
|
|
162
|
+
this.mj_1 = trigger;
|
|
163
|
+
this.delay = delay;
|
|
164
|
+
this.nj_1 = systems;
|
|
165
|
+
this.oj_1 = id;
|
|
166
|
+
this.pj_1 = limit;
|
|
167
|
+
}
|
|
168
|
+
protoOf(AnalyticsEvent).qj = function () {
|
|
169
|
+
return this.action;
|
|
170
|
+
};
|
|
171
|
+
protoOf(AnalyticsEvent).rj = function () {
|
|
172
|
+
return this.attributes;
|
|
173
|
+
};
|
|
174
|
+
protoOf(AnalyticsEvent).sj = function () {
|
|
175
|
+
return this.delay;
|
|
176
|
+
};
|
|
177
|
+
protoOf(AnalyticsEvent).tj = function () {
|
|
178
|
+
return this.nj_1;
|
|
179
|
+
};
|
|
180
|
+
protoOf(AnalyticsEvent).uj = function () {
|
|
181
|
+
return this.oj_1;
|
|
182
|
+
};
|
|
183
|
+
protoOf(AnalyticsEvent).vj = function () {
|
|
184
|
+
return this.pj_1;
|
|
185
|
+
};
|
|
186
|
+
protoOf(AnalyticsEvent).wj = function (types) {
|
|
187
|
+
return contains(types, this.mj_1);
|
|
188
|
+
};
|
|
189
|
+
protoOf(AnalyticsEvent).isForSystem = function (system) {
|
|
190
|
+
return this.nj_1.f1(system);
|
|
191
|
+
};
|
|
192
|
+
protoOf(AnalyticsEvent).me = function () {
|
|
193
|
+
return this.action;
|
|
194
|
+
};
|
|
195
|
+
protoOf(AnalyticsEvent).ne = function () {
|
|
196
|
+
return this.attributes;
|
|
197
|
+
};
|
|
198
|
+
protoOf(AnalyticsEvent).xj = function () {
|
|
199
|
+
return this.delay;
|
|
200
|
+
};
|
|
201
|
+
protoOf(AnalyticsEvent).yj = function () {
|
|
202
|
+
return this.nj_1;
|
|
203
|
+
};
|
|
204
|
+
protoOf(AnalyticsEvent).zj = function () {
|
|
205
|
+
return this.oj_1;
|
|
206
|
+
};
|
|
207
|
+
protoOf(AnalyticsEvent).ak = function () {
|
|
208
|
+
return this.pj_1;
|
|
209
|
+
};
|
|
210
|
+
protoOf(AnalyticsEvent).bk = function (action, attributes, trigger, delay, systems, id, limit) {
|
|
211
|
+
return new AnalyticsEvent(action, attributes, trigger, delay, systems, id, limit);
|
|
212
|
+
};
|
|
213
|
+
protoOf(AnalyticsEvent).copy = function (action, attributes, trigger, delay, systems, id, limit, $super) {
|
|
214
|
+
action = action === VOID ? this.action : action;
|
|
215
|
+
attributes = attributes === VOID ? this.attributes : attributes;
|
|
216
|
+
trigger = trigger === VOID ? this.mj_1 : trigger;
|
|
217
|
+
delay = delay === VOID ? this.delay : delay;
|
|
218
|
+
systems = systems === VOID ? this.nj_1 : systems;
|
|
219
|
+
id = id === VOID ? this.oj_1 : id;
|
|
220
|
+
limit = limit === VOID ? this.pj_1 : limit;
|
|
221
|
+
return $super === VOID ? this.bk(action, attributes, trigger, delay, systems, id, limit) : $super.bk.call(this, action, attributes, trigger, delay, systems, id, limit);
|
|
222
|
+
};
|
|
223
|
+
protoOf(AnalyticsEvent).toString = function () {
|
|
224
|
+
return 'AnalyticsEvent(action=' + this.action + ', attributes=' + toString(this.attributes) + ', trigger=' + this.mj_1.toString() + ', delay=' + this.delay + ', systems=' + toString(this.nj_1) + ', id=' + this.oj_1 + ', limit=' + this.pj_1 + ')';
|
|
225
|
+
};
|
|
226
|
+
protoOf(AnalyticsEvent).hashCode = function () {
|
|
227
|
+
var result = getStringHashCode(this.action);
|
|
228
|
+
result = imul(result, 31) + hashCode(this.attributes) | 0;
|
|
229
|
+
result = imul(result, 31) + this.mj_1.hashCode() | 0;
|
|
230
|
+
result = imul(result, 31) + this.delay | 0;
|
|
231
|
+
result = imul(result, 31) + hashCode(this.nj_1) | 0;
|
|
232
|
+
result = imul(result, 31) + getStringHashCode(this.oj_1) | 0;
|
|
233
|
+
result = imul(result, 31) + (this.pj_1 == null ? 0 : this.pj_1) | 0;
|
|
234
|
+
return result;
|
|
235
|
+
};
|
|
236
|
+
protoOf(AnalyticsEvent).equals = function (other) {
|
|
237
|
+
if (this === other)
|
|
238
|
+
return true;
|
|
239
|
+
if (!(other instanceof AnalyticsEvent))
|
|
240
|
+
return false;
|
|
241
|
+
var tmp0_other_with_cast = other instanceof AnalyticsEvent ? other : THROW_CCE();
|
|
242
|
+
if (!(this.action === tmp0_other_with_cast.action))
|
|
243
|
+
return false;
|
|
244
|
+
if (!equals(this.attributes, tmp0_other_with_cast.attributes))
|
|
245
|
+
return false;
|
|
246
|
+
if (!this.mj_1.equals(tmp0_other_with_cast.mj_1))
|
|
247
|
+
return false;
|
|
248
|
+
if (!(this.delay === tmp0_other_with_cast.delay))
|
|
249
|
+
return false;
|
|
250
|
+
if (!equals(this.nj_1, tmp0_other_with_cast.nj_1))
|
|
251
|
+
return false;
|
|
252
|
+
if (!(this.oj_1 === tmp0_other_with_cast.oj_1))
|
|
253
|
+
return false;
|
|
254
|
+
if (!(this.pj_1 == tmp0_other_with_cast.pj_1))
|
|
255
|
+
return false;
|
|
256
|
+
return true;
|
|
257
|
+
};
|
|
258
|
+
function Companion_0() {
|
|
259
|
+
Companion_instance_0 = this;
|
|
260
|
+
this.ck_1 = 'followup';
|
|
71
261
|
this.NAMESPACE_STATE = 'state';
|
|
72
262
|
this.FOLLOWUP = new EventId('followup', 'send');
|
|
73
263
|
}
|
|
74
|
-
protoOf(
|
|
264
|
+
protoOf(Companion_0).dk = function () {
|
|
75
265
|
return this.NAMESPACE_STATE;
|
|
76
266
|
};
|
|
77
|
-
protoOf(
|
|
267
|
+
protoOf(Companion_0).ek = function () {
|
|
78
268
|
return this.FOLLOWUP;
|
|
79
269
|
};
|
|
80
|
-
var
|
|
81
|
-
function
|
|
82
|
-
if (
|
|
83
|
-
new
|
|
84
|
-
return
|
|
270
|
+
var Companion_instance_0;
|
|
271
|
+
function Companion_getInstance_0() {
|
|
272
|
+
if (Companion_instance_0 == null)
|
|
273
|
+
new Companion_0();
|
|
274
|
+
return Companion_instance_0;
|
|
85
275
|
}
|
|
86
276
|
function EventId(namespace, name) {
|
|
87
|
-
|
|
277
|
+
Companion_getInstance_0();
|
|
88
278
|
namespace = namespace === VOID ? null : namespace;
|
|
89
279
|
this.namespace = namespace;
|
|
90
280
|
this.name = name;
|
|
91
281
|
}
|
|
92
|
-
protoOf(EventId).
|
|
282
|
+
protoOf(EventId).fk = function () {
|
|
93
283
|
return this.namespace;
|
|
94
284
|
};
|
|
95
285
|
protoOf(EventId).w1 = function () {
|
|
96
286
|
return this.name;
|
|
97
287
|
};
|
|
98
|
-
protoOf(EventId).resolve = function (state) {
|
|
99
|
-
var tmp;
|
|
100
|
-
if (this.namespace === 'state') {
|
|
101
|
-
// Inline function 'kotlin.collections.map' call
|
|
102
|
-
var this_0 = state.s1i(this.name);
|
|
103
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
104
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
105
|
-
var _iterator__ex2g4s = this_0.j();
|
|
106
|
-
while (_iterator__ex2g4s.k()) {
|
|
107
|
-
var item = _iterator__ex2g4s.l();
|
|
108
|
-
var tmp$ret$0 = new EventId(VOID, item);
|
|
109
|
-
destination.e(tmp$ret$0);
|
|
110
|
-
}
|
|
111
|
-
tmp = destination;
|
|
112
|
-
} else {
|
|
113
|
-
tmp = listOf(this);
|
|
114
|
-
}
|
|
115
|
-
return tmp;
|
|
116
|
-
};
|
|
117
288
|
protoOf(EventId).equals = function (other) {
|
|
118
289
|
var tmp;
|
|
119
290
|
var tmp_0;
|
|
@@ -123,7 +294,7 @@
|
|
|
123
294
|
tmp_0 = false;
|
|
124
295
|
}
|
|
125
296
|
if (tmp_0) {
|
|
126
|
-
tmp =
|
|
297
|
+
tmp = equals_0(this.name, other.name, true);
|
|
127
298
|
} else {
|
|
128
299
|
tmp = false;
|
|
129
300
|
}
|
|
@@ -141,567 +312,15 @@
|
|
|
141
312
|
protoOf(EventId).toString = function () {
|
|
142
313
|
return !(this.namespace == null) ? '' + this.namespace + ':' + this.name : this.name;
|
|
143
314
|
};
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
return tmp.o8();
|
|
154
|
-
};
|
|
155
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).w8 = function (p1, $completion) {
|
|
156
|
-
return this.z1d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
157
|
-
};
|
|
158
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).o8 = function () {
|
|
159
|
-
var suspendResult = this.i8_1;
|
|
160
|
-
$sm: do
|
|
161
|
-
try {
|
|
162
|
-
var tmp = this.g8_1;
|
|
163
|
-
switch (tmp) {
|
|
164
|
-
case 0:
|
|
165
|
-
this.h8_1 = 5;
|
|
166
|
-
var tmp_0 = this;
|
|
167
|
-
tmp_0.e1j_1 = this.b1j_1;
|
|
168
|
-
var tmp_1 = this;
|
|
169
|
-
tmp_1.f1j_1 = this.d1j_1;
|
|
170
|
-
this.g8_1 = 1;
|
|
171
|
-
continue $sm;
|
|
172
|
-
case 1:
|
|
173
|
-
this.h1j_1 = this.e1j_1;
|
|
174
|
-
this.i1j_1 = this.f1j_1;
|
|
175
|
-
var it = this.i1j_1;
|
|
176
|
-
if (this.c1j_1.f1(it)) {
|
|
177
|
-
this.g8_1 = 3;
|
|
178
|
-
suspendResult = this.h1j_1.v12(this.i1j_1, this);
|
|
179
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
180
|
-
return suspendResult;
|
|
181
|
-
}
|
|
182
|
-
continue $sm;
|
|
183
|
-
} else {
|
|
184
|
-
this.g8_1 = 2;
|
|
185
|
-
continue $sm;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
case 2:
|
|
189
|
-
this.g1j_1 = Unit_instance;
|
|
190
|
-
if (false) {
|
|
191
|
-
this.g8_1 = 1;
|
|
192
|
-
continue $sm;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
this.g8_1 = 4;
|
|
196
|
-
continue $sm;
|
|
197
|
-
case 3:
|
|
198
|
-
this.g1j_1 = suspendResult;
|
|
199
|
-
this.g8_1 = 4;
|
|
200
|
-
continue $sm;
|
|
201
|
-
case 4:
|
|
202
|
-
return Unit_instance;
|
|
203
|
-
case 5:
|
|
204
|
-
throw this.j8_1;
|
|
205
|
-
}
|
|
206
|
-
} catch ($p) {
|
|
207
|
-
var e = $p;
|
|
208
|
-
if (this.h8_1 === 5) {
|
|
209
|
-
throw e;
|
|
210
|
-
} else {
|
|
211
|
-
this.g8_1 = this.h8_1;
|
|
212
|
-
this.j8_1 = e;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
while (true);
|
|
216
|
-
};
|
|
217
|
-
protoOf(State$varsChangeFlow$o$collect$slambda).a1e = function (value, completion) {
|
|
218
|
-
var i = new State$varsChangeFlow$o$collect$slambda(this.b1j_1, this.c1j_1, completion);
|
|
219
|
-
i.d1j_1 = value;
|
|
220
|
-
return i;
|
|
221
|
-
};
|
|
222
|
-
function State$varsChangeFlow$o$collect$slambda_0($$this$unsafeFlow, $keys, resultContinuation) {
|
|
223
|
-
var i = new State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation);
|
|
224
|
-
var l = function (value, $completion) {
|
|
225
|
-
return i.z1d(value, $completion);
|
|
226
|
-
};
|
|
227
|
-
l.$arity = 1;
|
|
228
|
-
return l;
|
|
229
|
-
}
|
|
230
|
-
function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
|
|
231
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
232
|
-
this.r1j_1 = _this__u8e3s4;
|
|
233
|
-
this.s1j_1 = collector;
|
|
234
|
-
}
|
|
235
|
-
protoOf($collectCOROUTINE$0).o8 = function () {
|
|
236
|
-
var suspendResult = this.i8_1;
|
|
237
|
-
$sm: do
|
|
238
|
-
try {
|
|
239
|
-
var tmp = this.g8_1;
|
|
240
|
-
switch (tmp) {
|
|
241
|
-
case 0:
|
|
242
|
-
this.h8_1 = 2;
|
|
243
|
-
var tmp_0 = this;
|
|
244
|
-
tmp_0.t1j_1 = this.s1j_1;
|
|
245
|
-
this.u1j_1 = this.t1j_1;
|
|
246
|
-
this.g8_1 = 1;
|
|
247
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_0(this.u1j_1, this.r1j_1.w1j_1, null);
|
|
248
|
-
suspendResult = this.r1j_1.v1j_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
249
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
250
|
-
return suspendResult;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
continue $sm;
|
|
254
|
-
case 1:
|
|
255
|
-
return Unit_instance;
|
|
256
|
-
case 2:
|
|
257
|
-
throw this.j8_1;
|
|
258
|
-
}
|
|
259
|
-
} catch ($p) {
|
|
260
|
-
var e = $p;
|
|
261
|
-
if (this.h8_1 === 2) {
|
|
262
|
-
throw e;
|
|
263
|
-
} else {
|
|
264
|
-
this.g8_1 = this.h8_1;
|
|
265
|
-
this.j8_1 = e;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
while (true);
|
|
269
|
-
};
|
|
270
|
-
function State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
|
|
271
|
-
this.f1k_1 = $$this$unsafeFlow;
|
|
272
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
273
|
-
}
|
|
274
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).z1d = function (value, $completion) {
|
|
275
|
-
var tmp = this.a1e(value, $completion);
|
|
276
|
-
tmp.i8_1 = Unit_instance;
|
|
277
|
-
tmp.j8_1 = null;
|
|
278
|
-
return tmp.o8();
|
|
279
|
-
};
|
|
280
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).w8 = function (p1, $completion) {
|
|
281
|
-
return this.z1d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
282
|
-
};
|
|
283
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).o8 = function () {
|
|
284
|
-
var suspendResult = this.i8_1;
|
|
285
|
-
$sm: do
|
|
286
|
-
try {
|
|
287
|
-
var tmp = this.g8_1;
|
|
288
|
-
switch (tmp) {
|
|
289
|
-
case 0:
|
|
290
|
-
this.h8_1 = 2;
|
|
291
|
-
var tmp_0 = this;
|
|
292
|
-
tmp_0.h1k_1 = this.f1k_1;
|
|
293
|
-
var tmp_1 = this;
|
|
294
|
-
tmp_1.i1k_1 = this.g1k_1;
|
|
295
|
-
this.j1k_1 = this.h1k_1;
|
|
296
|
-
this.k1k_1 = this.i1k_1;
|
|
297
|
-
this.g8_1 = 1;
|
|
298
|
-
this.k1k_1;
|
|
299
|
-
suspendResult = this.j1k_1.v12(Unit_instance, this);
|
|
300
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
301
|
-
return suspendResult;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
continue $sm;
|
|
305
|
-
case 1:
|
|
306
|
-
return Unit_instance;
|
|
307
|
-
case 2:
|
|
308
|
-
throw this.j8_1;
|
|
309
|
-
}
|
|
310
|
-
} catch ($p) {
|
|
311
|
-
var e = $p;
|
|
312
|
-
if (this.h8_1 === 2) {
|
|
313
|
-
throw e;
|
|
314
|
-
} else {
|
|
315
|
-
this.g8_1 = this.h8_1;
|
|
316
|
-
this.j8_1 = e;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
while (true);
|
|
320
|
-
};
|
|
321
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_1).a1e = function (value, completion) {
|
|
322
|
-
var i = new State$varsChangeFlow$o$collect$slambda_1(this.f1k_1, completion);
|
|
323
|
-
i.g1k_1 = value;
|
|
324
|
-
return i;
|
|
325
|
-
};
|
|
326
|
-
function State$varsChangeFlow$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
|
|
327
|
-
var i = new State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
|
|
328
|
-
var l = function (value, $completion) {
|
|
329
|
-
return i.z1d(value, $completion);
|
|
330
|
-
};
|
|
331
|
-
l.$arity = 1;
|
|
332
|
-
return l;
|
|
333
|
-
}
|
|
334
|
-
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
335
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
336
|
-
this.t1k_1 = _this__u8e3s4;
|
|
337
|
-
this.u1k_1 = collector;
|
|
338
|
-
}
|
|
339
|
-
protoOf($collectCOROUTINE$1).o8 = function () {
|
|
340
|
-
var suspendResult = this.i8_1;
|
|
341
|
-
$sm: do
|
|
342
|
-
try {
|
|
343
|
-
var tmp = this.g8_1;
|
|
344
|
-
switch (tmp) {
|
|
345
|
-
case 0:
|
|
346
|
-
this.h8_1 = 2;
|
|
347
|
-
var tmp_0 = this;
|
|
348
|
-
tmp_0.v1k_1 = this.u1k_1;
|
|
349
|
-
this.w1k_1 = this.v1k_1;
|
|
350
|
-
this.g8_1 = 1;
|
|
351
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_2(this.w1k_1, null);
|
|
352
|
-
suspendResult = this.t1k_1.x1k_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
353
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
354
|
-
return suspendResult;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
continue $sm;
|
|
358
|
-
case 1:
|
|
359
|
-
return Unit_instance;
|
|
360
|
-
case 2:
|
|
361
|
-
throw this.j8_1;
|
|
362
|
-
}
|
|
363
|
-
} catch ($p) {
|
|
364
|
-
var e = $p;
|
|
365
|
-
if (this.h8_1 === 2) {
|
|
366
|
-
throw e;
|
|
367
|
-
} else {
|
|
368
|
-
this.g8_1 = this.h8_1;
|
|
369
|
-
this.j8_1 = e;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
while (true);
|
|
373
|
-
};
|
|
374
|
-
function State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
375
|
-
this.g1l_1 = $$this$unsafeFlow;
|
|
376
|
-
this.h1l_1 = $block;
|
|
377
|
-
this.i1l_1 = this$0;
|
|
378
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
379
|
-
}
|
|
380
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).z1d = function (value, $completion) {
|
|
381
|
-
var tmp = this.a1e(value, $completion);
|
|
382
|
-
tmp.i8_1 = Unit_instance;
|
|
383
|
-
tmp.j8_1 = null;
|
|
384
|
-
return tmp.o8();
|
|
385
|
-
};
|
|
386
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).w8 = function (p1, $completion) {
|
|
387
|
-
return this.z1d((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
|
|
388
|
-
};
|
|
389
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).o8 = function () {
|
|
390
|
-
var suspendResult = this.i8_1;
|
|
391
|
-
$sm: do
|
|
392
|
-
try {
|
|
393
|
-
var tmp = this.g8_1;
|
|
394
|
-
switch (tmp) {
|
|
395
|
-
case 0:
|
|
396
|
-
this.h8_1 = 2;
|
|
397
|
-
var tmp_0 = this;
|
|
398
|
-
tmp_0.k1l_1 = this.g1l_1;
|
|
399
|
-
var tmp_1 = this;
|
|
400
|
-
tmp_1.l1l_1 = this.j1l_1;
|
|
401
|
-
this.m1l_1 = this.k1l_1;
|
|
402
|
-
this.n1l_1 = this.l1l_1;
|
|
403
|
-
this.g8_1 = 1;
|
|
404
|
-
this.n1l_1;
|
|
405
|
-
suspendResult = this.m1l_1.v12(this.h1l_1(this.i1l_1), this);
|
|
406
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
407
|
-
return suspendResult;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
continue $sm;
|
|
411
|
-
case 1:
|
|
412
|
-
return Unit_instance;
|
|
413
|
-
case 2:
|
|
414
|
-
throw this.j8_1;
|
|
415
|
-
}
|
|
416
|
-
} catch ($p) {
|
|
417
|
-
var e = $p;
|
|
418
|
-
if (this.h8_1 === 2) {
|
|
419
|
-
throw e;
|
|
420
|
-
} else {
|
|
421
|
-
this.g8_1 = this.h8_1;
|
|
422
|
-
this.j8_1 = e;
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
while (true);
|
|
426
|
-
};
|
|
427
|
-
protoOf(State$varsChangeFlow$o$collect$slambda_3).a1e = function (value, completion) {
|
|
428
|
-
var i = new State$varsChangeFlow$o$collect$slambda_3(this.g1l_1, this.h1l_1, this.i1l_1, completion);
|
|
429
|
-
i.j1l_1 = value;
|
|
430
|
-
return i;
|
|
431
|
-
};
|
|
432
|
-
function State$varsChangeFlow$o$collect$slambda_4($$this$unsafeFlow, $block, this$0, resultContinuation) {
|
|
433
|
-
var i = new State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation);
|
|
434
|
-
var l = function (value, $completion) {
|
|
435
|
-
return i.z1d(value, $completion);
|
|
436
|
-
};
|
|
437
|
-
l.$arity = 1;
|
|
438
|
-
return l;
|
|
439
|
-
}
|
|
440
|
-
function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
|
|
441
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
442
|
-
this.w1l_1 = _this__u8e3s4;
|
|
443
|
-
this.x1l_1 = collector;
|
|
444
|
-
}
|
|
445
|
-
protoOf($collectCOROUTINE$2).o8 = function () {
|
|
446
|
-
var suspendResult = this.i8_1;
|
|
447
|
-
$sm: do
|
|
448
|
-
try {
|
|
449
|
-
var tmp = this.g8_1;
|
|
450
|
-
switch (tmp) {
|
|
451
|
-
case 0:
|
|
452
|
-
this.h8_1 = 2;
|
|
453
|
-
var tmp_0 = this;
|
|
454
|
-
tmp_0.y1l_1 = this.x1l_1;
|
|
455
|
-
this.z1l_1 = this.y1l_1;
|
|
456
|
-
this.g8_1 = 1;
|
|
457
|
-
var tmp_1 = State$varsChangeFlow$o$collect$slambda_4(this.z1l_1, this.w1l_1.b1m_1, this.w1l_1.c1m_1, null);
|
|
458
|
-
suspendResult = this.w1l_1.a1m_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
459
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
460
|
-
return suspendResult;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
continue $sm;
|
|
464
|
-
case 1:
|
|
465
|
-
return Unit_instance;
|
|
466
|
-
case 2:
|
|
467
|
-
throw this.j8_1;
|
|
468
|
-
}
|
|
469
|
-
} catch ($p) {
|
|
470
|
-
var e = $p;
|
|
471
|
-
if (this.h8_1 === 2) {
|
|
472
|
-
throw e;
|
|
473
|
-
} else {
|
|
474
|
-
this.g8_1 = this.h8_1;
|
|
475
|
-
this.j8_1 = e;
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
while (true);
|
|
479
|
-
};
|
|
480
|
-
function State_init_$Init$($this) {
|
|
481
|
-
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
482
|
-
var tmp$ret$0 = LinkedHashMap_init_$Create$();
|
|
483
|
-
State.call($this, VOID, tmp$ret$0);
|
|
484
|
-
return $this;
|
|
485
|
-
}
|
|
486
|
-
function createState() {
|
|
487
|
-
return State_init_$Init$(objectCreate(protoOf(State)));
|
|
488
|
-
}
|
|
489
|
-
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
490
|
-
this.d1m_1 = function_0;
|
|
491
|
-
}
|
|
492
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v12 = function (value, $completion) {
|
|
493
|
-
return this.d1m_1(value, $completion);
|
|
494
|
-
};
|
|
495
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s2 = function () {
|
|
496
|
-
return this.d1m_1;
|
|
497
|
-
};
|
|
498
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
|
|
499
|
-
var tmp;
|
|
500
|
-
if (!(other == null) ? isInterface(other, FlowCollector) : false) {
|
|
501
|
-
var tmp_0;
|
|
502
|
-
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
503
|
-
tmp_0 = equals_0(this.s2(), other.s2());
|
|
504
|
-
} else {
|
|
505
|
-
tmp_0 = false;
|
|
506
|
-
}
|
|
507
|
-
tmp = tmp_0;
|
|
508
|
-
} else {
|
|
509
|
-
tmp = false;
|
|
510
|
-
}
|
|
511
|
-
return tmp;
|
|
512
|
-
};
|
|
513
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
|
|
514
|
-
return hashCode(this.s2());
|
|
515
|
-
};
|
|
516
|
-
function State$varsChangeFlow$slambda($keys, resultContinuation) {
|
|
517
|
-
this.m1m_1 = $keys;
|
|
518
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
519
|
-
}
|
|
520
|
-
protoOf(State$varsChangeFlow$slambda).o1m = function ($this$onSubscription, $completion) {
|
|
521
|
-
var tmp = this.p1m($this$onSubscription, $completion);
|
|
522
|
-
tmp.i8_1 = Unit_instance;
|
|
523
|
-
tmp.j8_1 = null;
|
|
524
|
-
return tmp.o8();
|
|
525
|
-
};
|
|
526
|
-
protoOf(State$varsChangeFlow$slambda).w8 = function (p1, $completion) {
|
|
527
|
-
return this.o1m((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
528
|
-
};
|
|
529
|
-
protoOf(State$varsChangeFlow$slambda).o8 = function () {
|
|
530
|
-
var suspendResult = this.i8_1;
|
|
531
|
-
$sm: do
|
|
532
|
-
try {
|
|
533
|
-
var tmp = this.g8_1;
|
|
534
|
-
switch (tmp) {
|
|
535
|
-
case 0:
|
|
536
|
-
this.h8_1 = 2;
|
|
537
|
-
this.g8_1 = 1;
|
|
538
|
-
suspendResult = this.n1m_1.v12(first(this.m1m_1), this);
|
|
539
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
540
|
-
return suspendResult;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
continue $sm;
|
|
544
|
-
case 1:
|
|
545
|
-
return Unit_instance;
|
|
546
|
-
case 2:
|
|
547
|
-
throw this.j8_1;
|
|
548
|
-
}
|
|
549
|
-
} catch ($p) {
|
|
550
|
-
var e = $p;
|
|
551
|
-
if (this.h8_1 === 2) {
|
|
552
|
-
throw e;
|
|
553
|
-
} else {
|
|
554
|
-
this.g8_1 = this.h8_1;
|
|
555
|
-
this.j8_1 = e;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
while (true);
|
|
559
|
-
};
|
|
560
|
-
protoOf(State$varsChangeFlow$slambda).p1m = function ($this$onSubscription, completion) {
|
|
561
|
-
var i = new State$varsChangeFlow$slambda(this.m1m_1, completion);
|
|
562
|
-
i.n1m_1 = $this$onSubscription;
|
|
563
|
-
return i;
|
|
564
|
-
};
|
|
565
|
-
function State$varsChangeFlow$slambda_0($keys, resultContinuation) {
|
|
566
|
-
var i = new State$varsChangeFlow$slambda($keys, resultContinuation);
|
|
567
|
-
var l = function ($this$onSubscription, $completion) {
|
|
568
|
-
return i.o1m($this$onSubscription, $completion);
|
|
569
|
-
};
|
|
570
|
-
l.$arity = 1;
|
|
571
|
-
return l;
|
|
572
|
-
}
|
|
573
|
-
function State$varsChangeFlow$$inlined$filter$1($this, $keys) {
|
|
574
|
-
this.v1j_1 = $this;
|
|
575
|
-
this.w1j_1 = $keys;
|
|
576
|
-
}
|
|
577
|
-
protoOf(State$varsChangeFlow$$inlined$filter$1).w12 = function (collector, $completion) {
|
|
578
|
-
var tmp = new $collectCOROUTINE$0(this, collector, $completion);
|
|
579
|
-
tmp.i8_1 = Unit_instance;
|
|
580
|
-
tmp.j8_1 = null;
|
|
581
|
-
return tmp.o8();
|
|
582
|
-
};
|
|
583
|
-
protoOf(State$varsChangeFlow$$inlined$filter$1).x12 = function (collector, $completion) {
|
|
584
|
-
return this.w12(collector, $completion);
|
|
585
|
-
};
|
|
586
|
-
function State$varsChangeFlow$$inlined$map$1($this) {
|
|
587
|
-
this.x1k_1 = $this;
|
|
588
|
-
}
|
|
589
|
-
protoOf(State$varsChangeFlow$$inlined$map$1).w12 = function (collector, $completion) {
|
|
590
|
-
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
591
|
-
tmp.i8_1 = Unit_instance;
|
|
592
|
-
tmp.j8_1 = null;
|
|
593
|
-
return tmp.o8();
|
|
594
|
-
};
|
|
595
|
-
protoOf(State$varsChangeFlow$$inlined$map$1).x12 = function (collector, $completion) {
|
|
596
|
-
return this.w12(collector, $completion);
|
|
597
|
-
};
|
|
598
|
-
function State$varsChangeFlow$$inlined$map$2($this, $block, this$0) {
|
|
599
|
-
this.a1m_1 = $this;
|
|
600
|
-
this.b1m_1 = $block;
|
|
601
|
-
this.c1m_1 = this$0;
|
|
602
|
-
}
|
|
603
|
-
protoOf(State$varsChangeFlow$$inlined$map$2).w12 = function (collector, $completion) {
|
|
604
|
-
var tmp = new $collectCOROUTINE$2(this, collector, $completion);
|
|
605
|
-
tmp.i8_1 = Unit_instance;
|
|
606
|
-
tmp.j8_1 = null;
|
|
607
|
-
return tmp.o8();
|
|
608
|
-
};
|
|
609
|
-
protoOf(State$varsChangeFlow$$inlined$map$2).x12 = function (collector, $completion) {
|
|
610
|
-
return this.w12(collector, $completion);
|
|
611
|
-
};
|
|
612
|
-
function State(triggeredAnalyticsEvents, vars) {
|
|
613
|
-
var tmp;
|
|
614
|
-
if (triggeredAnalyticsEvents === VOID) {
|
|
615
|
-
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
616
|
-
tmp = LinkedHashMap_init_$Create$();
|
|
617
|
-
} else {
|
|
618
|
-
tmp = triggeredAnalyticsEvents;
|
|
619
|
-
}
|
|
620
|
-
triggeredAnalyticsEvents = tmp;
|
|
621
|
-
var tmp_0;
|
|
622
|
-
if (vars === VOID) {
|
|
623
|
-
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
624
|
-
tmp_0 = LinkedHashMap_init_$Create$();
|
|
625
|
-
} else {
|
|
626
|
-
tmp_0 = vars;
|
|
627
|
-
}
|
|
628
|
-
vars = tmp_0;
|
|
629
|
-
this.p1i_1 = triggeredAnalyticsEvents;
|
|
630
|
-
this.q1i_1 = vars;
|
|
631
|
-
this.r1i_1 = MutableSharedFlow(VOID, 2147483647);
|
|
632
|
-
}
|
|
633
|
-
protoOf(State).q1m = function (id) {
|
|
634
|
-
var tmp0_elvis_lhs = this.p1i_1.q1(id);
|
|
635
|
-
return tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
|
|
636
|
-
};
|
|
637
|
-
protoOf(State).r1m = function (id) {
|
|
638
|
-
var tmp0 = this.p1i_1;
|
|
639
|
-
var tmp0_elvis_lhs = this.p1i_1.q1(id);
|
|
640
|
-
// Inline function 'kotlin.collections.set' call
|
|
641
|
-
var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + 1 | 0;
|
|
642
|
-
tmp0.d3(id, value);
|
|
643
|
-
};
|
|
644
|
-
protoOf(State).s1m = function (keys, block) {
|
|
645
|
-
var tmp;
|
|
646
|
-
// Inline function 'kotlin.collections.isNullOrEmpty' call
|
|
647
|
-
if (keys == null || keys.p()) {
|
|
648
|
-
tmp = flowOf(Unit_instance);
|
|
649
|
-
} else {
|
|
650
|
-
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
651
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
652
|
-
var this_0 = onSubscription(this.r1i_1, State$varsChangeFlow$slambda_0(keys, null));
|
|
653
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
654
|
-
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
655
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
656
|
-
var this_1 = new State$varsChangeFlow$$inlined$filter$1(this_0, keys);
|
|
657
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
658
|
-
var tmp$ret$6 = new State$varsChangeFlow$$inlined$map$1(this_1);
|
|
659
|
-
tmp = conflate(tmp$ret$6);
|
|
660
|
-
}
|
|
661
|
-
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
662
|
-
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
663
|
-
var this_2 = tmp;
|
|
664
|
-
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
665
|
-
return new State$varsChangeFlow$$inlined$map$2(this_2, block, this);
|
|
666
|
-
};
|
|
667
|
-
protoOf(State).varsChangeFlow$default = function (keys, block, $super) {
|
|
668
|
-
keys = keys === VOID ? emptyList() : keys;
|
|
669
|
-
return $super === VOID ? this.s1m(keys, block) : $super.s1m.call(this, keys, block);
|
|
670
|
-
};
|
|
671
|
-
protoOf(State).s1i = function (key) {
|
|
672
|
-
// Inline function 'kotlin.collections.orEmpty' call
|
|
673
|
-
var tmp0_elvis_lhs = this.q1i_1.q1(key);
|
|
674
|
-
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
675
|
-
};
|
|
676
|
-
protoOf(State).t1m = function (key, values) {
|
|
677
|
-
var tmp0 = this.q1i_1;
|
|
678
|
-
// Inline function 'kotlin.collections.set' call
|
|
679
|
-
var value = values == null ? null : toList(values);
|
|
680
|
-
tmp0.d3(key, value);
|
|
681
|
-
this.r1i_1.f15(key);
|
|
682
|
-
};
|
|
683
|
-
protoOf(State).u1m = function (key, value) {
|
|
684
|
-
var values = this.s1i(key);
|
|
685
|
-
if (!values.f1(value)) {
|
|
686
|
-
this.t1m(key, plus(values, value));
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
protoOf(State).v1m = function (key, value) {
|
|
690
|
-
var values = this.s1i(key);
|
|
691
|
-
if (values.f1(value)) {
|
|
692
|
-
// Inline function 'kotlin.collections.filterNot' call
|
|
693
|
-
// Inline function 'kotlin.collections.filterNotTo' call
|
|
694
|
-
var destination = ArrayList_init_$Create$_0();
|
|
695
|
-
var _iterator__ex2g4s = values.j();
|
|
696
|
-
while (_iterator__ex2g4s.k()) {
|
|
697
|
-
var element = _iterator__ex2g4s.l();
|
|
698
|
-
if (!(element === value)) {
|
|
699
|
-
destination.e(element);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
this.t1m(key, destination);
|
|
703
|
-
}
|
|
704
|
-
};
|
|
315
|
+
//region block: post-declaration
|
|
316
|
+
defineProp(protoOf(System), 'name', protoOf(System).w1);
|
|
317
|
+
defineProp(protoOf(System), 'ordinal', protoOf(System).x1);
|
|
318
|
+
defineProp(protoOf(Trigger), 'name', protoOf(Trigger).w1);
|
|
319
|
+
defineProp(protoOf(Trigger), 'ordinal', protoOf(Trigger).x1);
|
|
320
|
+
//endregion
|
|
321
|
+
//region block: init
|
|
322
|
+
Companion_instance = new Companion();
|
|
323
|
+
//endregion
|
|
705
324
|
//region block: exports
|
|
706
325
|
function $jsExportAll$(_) {
|
|
707
326
|
var $org = _.org || (_.org = {});
|
|
@@ -711,21 +330,45 @@
|
|
|
711
330
|
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
712
331
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
713
332
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
714
|
-
$org$cru$godtools$shared$tool$parser$model.
|
|
715
|
-
|
|
333
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent = AnalyticsEvent;
|
|
334
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System = System;
|
|
335
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System.values = values;
|
|
336
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System.valueOf = valueOf;
|
|
337
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System, 'FACEBOOK', System_FACEBOOK_getInstance);
|
|
338
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System, 'FIREBASE', System_FIREBASE_getInstance);
|
|
339
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.System, 'USER', System_USER_getInstance);
|
|
340
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger = Trigger;
|
|
341
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger.values = values_0;
|
|
342
|
+
$org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger.valueOf = valueOf_0;
|
|
343
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger, 'VISIBLE', Trigger_VISIBLE_getInstance);
|
|
344
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger, 'HIDDEN', Trigger_HIDDEN_getInstance);
|
|
345
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger, 'CLICKED', Trigger_CLICKED_getInstance);
|
|
346
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger, 'DEFAULT', Trigger_DEFAULT_getInstance);
|
|
347
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.AnalyticsEvent.Trigger, 'UNKNOWN', Trigger_UNKNOWN_getInstance);
|
|
716
348
|
var $org = _.org || (_.org = {});
|
|
717
349
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
718
350
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
719
351
|
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
720
352
|
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
721
|
-
var $org$cru$godtools$shared$tool$
|
|
722
|
-
$org$cru$godtools$shared$tool$
|
|
723
|
-
$org$cru$godtools$shared$tool$
|
|
353
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
354
|
+
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
355
|
+
$org$cru$godtools$shared$tool$parser$model.EventId = EventId;
|
|
356
|
+
defineProp($org$cru$godtools$shared$tool$parser$model.EventId, 'Companion', Companion_getInstance_0);
|
|
724
357
|
}
|
|
725
358
|
$jsExportAll$(_);
|
|
726
359
|
_.$jsExportAll$ = $jsExportAll$;
|
|
727
360
|
_.$_$ = _.$_$ || {};
|
|
728
|
-
_.$_$.a =
|
|
361
|
+
_.$_$.a = System_FACEBOOK_getInstance;
|
|
362
|
+
_.$_$.b = System_FIREBASE_getInstance;
|
|
363
|
+
_.$_$.c = System_USER_getInstance;
|
|
364
|
+
_.$_$.d = Trigger_CLICKED_getInstance;
|
|
365
|
+
_.$_$.e = Trigger_DEFAULT_getInstance;
|
|
366
|
+
_.$_$.f = Trigger_HIDDEN_getInstance;
|
|
367
|
+
_.$_$.g = Trigger_UNKNOWN_getInstance;
|
|
368
|
+
_.$_$.h = Trigger_VISIBLE_getInstance;
|
|
369
|
+
_.$_$.i = Companion_instance;
|
|
370
|
+
_.$_$.j = AnalyticsEvent;
|
|
371
|
+
_.$_$.k = EventId;
|
|
729
372
|
//endregion
|
|
730
373
|
return _;
|
|
731
374
|
}));
|