@cruglobal/godtools-shared 1.2.0-SNAPSHOT.1761 → 1.2.0-SNAPSHOT.1767

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.
@@ -5,32 +5,40 @@
5
5
  factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-coroutines-core.js'));
6
6
  else {
7
7
  if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
- throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-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-state'.");
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
10
  if (typeof globalThis['kotlinx-coroutines-core'] === 'undefined') {
11
- throw new Error("Error loading module 'kotlin-mpp-godtools-tool-parser-module-state'. Its dependency 'kotlinx-coroutines-core' was not found. Please, check whether 'kotlinx-coroutines-core' is loaded prior to 'kotlin-mpp-godtools-tool-parser-module-state'.");
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
12
  }
13
- globalThis['kotlin-mpp-godtools-tool-parser-module-state'] = factory(typeof globalThis['kotlin-mpp-godtools-tool-parser-module-state'] === 'undefined' ? {} : globalThis['kotlin-mpp-godtools-tool-parser-module-state'], globalThis['kotlin-kotlin-stdlib'], globalThis['kotlinx-coroutines-core']);
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']);
14
14
  }
15
15
  }(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
16
16
  'use strict';
17
17
  //region block: imports
18
- var CoroutineImpl = kotlin_kotlin.$_$.k5;
19
- var Unit_instance = kotlin_kotlin.$_$.k2;
18
+ var imul = Math.imul;
20
19
  var protoOf = kotlin_kotlin.$_$.t6;
20
+ var initMetadataForCompanion = kotlin_kotlin.$_$.f6;
21
+ var VOID = kotlin_kotlin.$_$.d;
22
+ var listOf = kotlin_kotlin.$_$.d4;
23
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.b3;
24
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.g;
25
+ var Unit_instance = kotlin_kotlin.$_$.k2;
26
+ var equals = kotlin_kotlin.$_$.r7;
27
+ var getStringHashCode = kotlin_kotlin.$_$.c6;
28
+ var initMetadataForClass = kotlin_kotlin.$_$.e6;
29
+ var defineProp = kotlin_kotlin.$_$.w5;
30
+ var CoroutineImpl = kotlin_kotlin.$_$.k5;
21
31
  var THROW_CCE = kotlin_kotlin.$_$.d9;
22
32
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
23
33
  var initMetadataForLambda = kotlin_kotlin.$_$.i6;
24
- var VOID = kotlin_kotlin.$_$.d;
25
34
  var initMetadataForCoroutine = kotlin_kotlin.$_$.g6;
26
35
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.n;
27
36
  var objectCreate = kotlin_kotlin.$_$.s6;
28
- var equals = kotlin_kotlin.$_$.x5;
37
+ var equals_0 = kotlin_kotlin.$_$.x5;
29
38
  var FunctionAdapter = kotlin_kotlin.$_$.o5;
30
39
  var isInterface = kotlin_kotlin.$_$.m6;
31
40
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
32
41
  var hashCode = kotlin_kotlin.$_$.d6;
33
- var initMetadataForClass = kotlin_kotlin.$_$.e6;
34
42
  var first = kotlin_kotlin.$_$.s3;
35
43
  var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
36
44
  var onSubscription = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
@@ -39,9 +47,11 @@
39
47
  var emptyList = kotlin_kotlin.$_$.l3;
40
48
  var toList = kotlin_kotlin.$_$.q4;
41
49
  var plus = kotlin_kotlin.$_$.i4;
42
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.h;
50
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.h;
43
51
  //endregion
44
52
  //region block: pre-declaration
53
+ initMetadataForCompanion(Companion);
54
+ initMetadataForClass(EventId, 'EventId');
45
55
  initMetadataForLambda(State$varsChangeFlow$o$collect$slambda, CoroutineImpl, VOID, [1]);
46
56
  initMetadataForCoroutine($collectCOROUTINE$0, CoroutineImpl);
47
57
  initMetadataForLambda(State$varsChangeFlow$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
@@ -55,9 +65,85 @@
55
65
  initMetadataForClass(State$varsChangeFlow$$inlined$map$2, VOID, VOID, VOID, VOID, [1]);
56
66
  initMetadataForClass(State, 'State', createState);
57
67
  //endregion
68
+ function Companion() {
69
+ Companion_instance = this;
70
+ this.l1i_1 = 'followup';
71
+ this.NAMESPACE_STATE = 'state';
72
+ this.FOLLOWUP = new EventId('followup', 'send');
73
+ }
74
+ protoOf(Companion).m1i = function () {
75
+ return this.NAMESPACE_STATE;
76
+ };
77
+ protoOf(Companion).n1i = function () {
78
+ return this.FOLLOWUP;
79
+ };
80
+ var Companion_instance;
81
+ function Companion_getInstance() {
82
+ if (Companion_instance == null)
83
+ new Companion();
84
+ return Companion_instance;
85
+ }
86
+ function EventId(namespace, name) {
87
+ Companion_getInstance();
88
+ namespace = namespace === VOID ? null : namespace;
89
+ this.namespace = namespace;
90
+ this.name = name;
91
+ }
92
+ protoOf(EventId).o1i = function () {
93
+ return this.namespace;
94
+ };
95
+ protoOf(EventId).w1 = function () {
96
+ return this.name;
97
+ };
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
+ protoOf(EventId).equals = function (other) {
118
+ var tmp;
119
+ var tmp_0;
120
+ if (other instanceof EventId) {
121
+ tmp_0 = this.namespace == other.namespace;
122
+ } else {
123
+ tmp_0 = false;
124
+ }
125
+ if (tmp_0) {
126
+ tmp = equals(this.name, other.name, true);
127
+ } else {
128
+ tmp = false;
129
+ }
130
+ return tmp;
131
+ };
132
+ protoOf(EventId).hashCode = function () {
133
+ var tmp0_safe_receiver = this.namespace;
134
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
135
+ var tmp = imul(tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs, 31);
136
+ // Inline function 'kotlin.text.lowercase' call
137
+ // Inline function 'kotlin.js.asDynamic' call
138
+ var tmp$ret$1 = this.name.toLowerCase();
139
+ return tmp + getStringHashCode(tmp$ret$1) | 0;
140
+ };
141
+ protoOf(EventId).toString = function () {
142
+ return !(this.namespace == null) ? '' + this.namespace + ':' + this.name : this.name;
143
+ };
58
144
  function State$varsChangeFlow$o$collect$slambda($$this$unsafeFlow, $keys, resultContinuation) {
59
- this.t1i_1 = $$this$unsafeFlow;
60
- this.u1i_1 = $keys;
145
+ this.b1j_1 = $$this$unsafeFlow;
146
+ this.c1j_1 = $keys;
61
147
  CoroutineImpl.call(this, resultContinuation);
62
148
  }
63
149
  protoOf(State$varsChangeFlow$o$collect$slambda).z1d = function (value, $completion) {
@@ -78,18 +164,18 @@
78
164
  case 0:
79
165
  this.h8_1 = 5;
80
166
  var tmp_0 = this;
81
- tmp_0.w1i_1 = this.t1i_1;
167
+ tmp_0.e1j_1 = this.b1j_1;
82
168
  var tmp_1 = this;
83
- tmp_1.x1i_1 = this.v1i_1;
169
+ tmp_1.f1j_1 = this.d1j_1;
84
170
  this.g8_1 = 1;
85
171
  continue $sm;
86
172
  case 1:
87
- this.z1i_1 = this.w1i_1;
88
- this.a1j_1 = this.x1i_1;
89
- var it = this.a1j_1;
90
- if (this.u1i_1.f1(it)) {
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)) {
91
177
  this.g8_1 = 3;
92
- suspendResult = this.z1i_1.v12(this.a1j_1, this);
178
+ suspendResult = this.h1j_1.v12(this.i1j_1, this);
93
179
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
94
180
  return suspendResult;
95
181
  }
@@ -100,7 +186,7 @@
100
186
  }
101
187
 
102
188
  case 2:
103
- this.y1i_1 = Unit_instance;
189
+ this.g1j_1 = Unit_instance;
104
190
  if (false) {
105
191
  this.g8_1 = 1;
106
192
  continue $sm;
@@ -109,7 +195,7 @@
109
195
  this.g8_1 = 4;
110
196
  continue $sm;
111
197
  case 3:
112
- this.y1i_1 = suspendResult;
198
+ this.g1j_1 = suspendResult;
113
199
  this.g8_1 = 4;
114
200
  continue $sm;
115
201
  case 4:
@@ -129,8 +215,8 @@
129
215
  while (true);
130
216
  };
131
217
  protoOf(State$varsChangeFlow$o$collect$slambda).a1e = function (value, completion) {
132
- var i = new State$varsChangeFlow$o$collect$slambda(this.t1i_1, this.u1i_1, completion);
133
- i.v1i_1 = value;
218
+ var i = new State$varsChangeFlow$o$collect$slambda(this.b1j_1, this.c1j_1, completion);
219
+ i.d1j_1 = value;
134
220
  return i;
135
221
  };
136
222
  function State$varsChangeFlow$o$collect$slambda_0($$this$unsafeFlow, $keys, resultContinuation) {
@@ -143,8 +229,8 @@
143
229
  }
144
230
  function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
145
231
  CoroutineImpl.call(this, resultContinuation);
146
- this.j1j_1 = _this__u8e3s4;
147
- this.k1j_1 = collector;
232
+ this.r1j_1 = _this__u8e3s4;
233
+ this.s1j_1 = collector;
148
234
  }
149
235
  protoOf($collectCOROUTINE$0).o8 = function () {
150
236
  var suspendResult = this.i8_1;
@@ -155,11 +241,11 @@
155
241
  case 0:
156
242
  this.h8_1 = 2;
157
243
  var tmp_0 = this;
158
- tmp_0.l1j_1 = this.k1j_1;
159
- this.m1j_1 = this.l1j_1;
244
+ tmp_0.t1j_1 = this.s1j_1;
245
+ this.u1j_1 = this.t1j_1;
160
246
  this.g8_1 = 1;
161
- var tmp_1 = State$varsChangeFlow$o$collect$slambda_0(this.m1j_1, this.j1j_1.o1j_1, null);
162
- suspendResult = this.j1j_1.n1j_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
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);
163
249
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
164
250
  return suspendResult;
165
251
  }
@@ -182,7 +268,7 @@
182
268
  while (true);
183
269
  };
184
270
  function State$varsChangeFlow$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
185
- this.x1j_1 = $$this$unsafeFlow;
271
+ this.f1k_1 = $$this$unsafeFlow;
186
272
  CoroutineImpl.call(this, resultContinuation);
187
273
  }
188
274
  protoOf(State$varsChangeFlow$o$collect$slambda_1).z1d = function (value, $completion) {
@@ -203,14 +289,14 @@
203
289
  case 0:
204
290
  this.h8_1 = 2;
205
291
  var tmp_0 = this;
206
- tmp_0.z1j_1 = this.x1j_1;
292
+ tmp_0.h1k_1 = this.f1k_1;
207
293
  var tmp_1 = this;
208
- tmp_1.a1k_1 = this.y1j_1;
209
- this.b1k_1 = this.z1j_1;
210
- this.c1k_1 = this.a1k_1;
294
+ tmp_1.i1k_1 = this.g1k_1;
295
+ this.j1k_1 = this.h1k_1;
296
+ this.k1k_1 = this.i1k_1;
211
297
  this.g8_1 = 1;
212
- this.c1k_1;
213
- suspendResult = this.b1k_1.v12(Unit_instance, this);
298
+ this.k1k_1;
299
+ suspendResult = this.j1k_1.v12(Unit_instance, this);
214
300
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
215
301
  return suspendResult;
216
302
  }
@@ -233,8 +319,8 @@
233
319
  while (true);
234
320
  };
235
321
  protoOf(State$varsChangeFlow$o$collect$slambda_1).a1e = function (value, completion) {
236
- var i = new State$varsChangeFlow$o$collect$slambda_1(this.x1j_1, completion);
237
- i.y1j_1 = value;
322
+ var i = new State$varsChangeFlow$o$collect$slambda_1(this.f1k_1, completion);
323
+ i.g1k_1 = value;
238
324
  return i;
239
325
  };
240
326
  function State$varsChangeFlow$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
@@ -247,8 +333,8 @@
247
333
  }
248
334
  function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
249
335
  CoroutineImpl.call(this, resultContinuation);
250
- this.l1k_1 = _this__u8e3s4;
251
- this.m1k_1 = collector;
336
+ this.t1k_1 = _this__u8e3s4;
337
+ this.u1k_1 = collector;
252
338
  }
253
339
  protoOf($collectCOROUTINE$1).o8 = function () {
254
340
  var suspendResult = this.i8_1;
@@ -259,11 +345,11 @@
259
345
  case 0:
260
346
  this.h8_1 = 2;
261
347
  var tmp_0 = this;
262
- tmp_0.n1k_1 = this.m1k_1;
263
- this.o1k_1 = this.n1k_1;
348
+ tmp_0.v1k_1 = this.u1k_1;
349
+ this.w1k_1 = this.v1k_1;
264
350
  this.g8_1 = 1;
265
- var tmp_1 = State$varsChangeFlow$o$collect$slambda_2(this.o1k_1, null);
266
- suspendResult = this.l1k_1.p1k_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
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);
267
353
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
268
354
  return suspendResult;
269
355
  }
@@ -286,9 +372,9 @@
286
372
  while (true);
287
373
  };
288
374
  function State$varsChangeFlow$o$collect$slambda_3($$this$unsafeFlow, $block, this$0, resultContinuation) {
289
- this.y1k_1 = $$this$unsafeFlow;
290
- this.z1k_1 = $block;
291
- this.a1l_1 = this$0;
375
+ this.g1l_1 = $$this$unsafeFlow;
376
+ this.h1l_1 = $block;
377
+ this.i1l_1 = this$0;
292
378
  CoroutineImpl.call(this, resultContinuation);
293
379
  }
294
380
  protoOf(State$varsChangeFlow$o$collect$slambda_3).z1d = function (value, $completion) {
@@ -309,14 +395,14 @@
309
395
  case 0:
310
396
  this.h8_1 = 2;
311
397
  var tmp_0 = this;
312
- tmp_0.c1l_1 = this.y1k_1;
398
+ tmp_0.k1l_1 = this.g1l_1;
313
399
  var tmp_1 = this;
314
- tmp_1.d1l_1 = this.b1l_1;
315
- this.e1l_1 = this.c1l_1;
316
- this.f1l_1 = this.d1l_1;
400
+ tmp_1.l1l_1 = this.j1l_1;
401
+ this.m1l_1 = this.k1l_1;
402
+ this.n1l_1 = this.l1l_1;
317
403
  this.g8_1 = 1;
318
- this.f1l_1;
319
- suspendResult = this.e1l_1.v12(this.z1k_1(this.a1l_1), this);
404
+ this.n1l_1;
405
+ suspendResult = this.m1l_1.v12(this.h1l_1(this.i1l_1), this);
320
406
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
321
407
  return suspendResult;
322
408
  }
@@ -339,8 +425,8 @@
339
425
  while (true);
340
426
  };
341
427
  protoOf(State$varsChangeFlow$o$collect$slambda_3).a1e = function (value, completion) {
342
- var i = new State$varsChangeFlow$o$collect$slambda_3(this.y1k_1, this.z1k_1, this.a1l_1, completion);
343
- i.b1l_1 = value;
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;
344
430
  return i;
345
431
  };
346
432
  function State$varsChangeFlow$o$collect$slambda_4($$this$unsafeFlow, $block, this$0, resultContinuation) {
@@ -353,8 +439,8 @@
353
439
  }
354
440
  function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
355
441
  CoroutineImpl.call(this, resultContinuation);
356
- this.o1l_1 = _this__u8e3s4;
357
- this.p1l_1 = collector;
442
+ this.w1l_1 = _this__u8e3s4;
443
+ this.x1l_1 = collector;
358
444
  }
359
445
  protoOf($collectCOROUTINE$2).o8 = function () {
360
446
  var suspendResult = this.i8_1;
@@ -365,11 +451,11 @@
365
451
  case 0:
366
452
  this.h8_1 = 2;
367
453
  var tmp_0 = this;
368
- tmp_0.q1l_1 = this.p1l_1;
369
- this.r1l_1 = this.q1l_1;
454
+ tmp_0.y1l_1 = this.x1l_1;
455
+ this.z1l_1 = this.y1l_1;
370
456
  this.g8_1 = 1;
371
- var tmp_1 = State$varsChangeFlow$o$collect$slambda_4(this.r1l_1, this.o1l_1.t1l_1, this.o1l_1.u1l_1, null);
372
- suspendResult = this.o1l_1.s1l_1.x12(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
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);
373
459
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
374
460
  return suspendResult;
375
461
  }
@@ -401,20 +487,20 @@
401
487
  return State_init_$Init$(objectCreate(protoOf(State)));
402
488
  }
403
489
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
404
- this.v1l_1 = function_0;
490
+ this.d1m_1 = function_0;
405
491
  }
406
492
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).v12 = function (value, $completion) {
407
- return this.v1l_1(value, $completion);
493
+ return this.d1m_1(value, $completion);
408
494
  };
409
495
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).s2 = function () {
410
- return this.v1l_1;
496
+ return this.d1m_1;
411
497
  };
412
498
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
413
499
  var tmp;
414
500
  if (!(other == null) ? isInterface(other, FlowCollector) : false) {
415
501
  var tmp_0;
416
502
  if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
417
- tmp_0 = equals(this.s2(), other.s2());
503
+ tmp_0 = equals_0(this.s2(), other.s2());
418
504
  } else {
419
505
  tmp_0 = false;
420
506
  }
@@ -428,17 +514,17 @@
428
514
  return hashCode(this.s2());
429
515
  };
430
516
  function State$varsChangeFlow$slambda($keys, resultContinuation) {
431
- this.e1m_1 = $keys;
517
+ this.m1m_1 = $keys;
432
518
  CoroutineImpl.call(this, resultContinuation);
433
519
  }
434
- protoOf(State$varsChangeFlow$slambda).g1m = function ($this$onSubscription, $completion) {
435
- var tmp = this.h1m($this$onSubscription, $completion);
520
+ protoOf(State$varsChangeFlow$slambda).o1m = function ($this$onSubscription, $completion) {
521
+ var tmp = this.p1m($this$onSubscription, $completion);
436
522
  tmp.i8_1 = Unit_instance;
437
523
  tmp.j8_1 = null;
438
524
  return tmp.o8();
439
525
  };
440
526
  protoOf(State$varsChangeFlow$slambda).w8 = function (p1, $completion) {
441
- return this.g1m((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
527
+ return this.o1m((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
442
528
  };
443
529
  protoOf(State$varsChangeFlow$slambda).o8 = function () {
444
530
  var suspendResult = this.i8_1;
@@ -449,7 +535,7 @@
449
535
  case 0:
450
536
  this.h8_1 = 2;
451
537
  this.g8_1 = 1;
452
- suspendResult = this.f1m_1.v12(first(this.e1m_1), this);
538
+ suspendResult = this.n1m_1.v12(first(this.m1m_1), this);
453
539
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
454
540
  return suspendResult;
455
541
  }
@@ -471,22 +557,22 @@
471
557
  }
472
558
  while (true);
473
559
  };
474
- protoOf(State$varsChangeFlow$slambda).h1m = function ($this$onSubscription, completion) {
475
- var i = new State$varsChangeFlow$slambda(this.e1m_1, completion);
476
- i.f1m_1 = $this$onSubscription;
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;
477
563
  return i;
478
564
  };
479
565
  function State$varsChangeFlow$slambda_0($keys, resultContinuation) {
480
566
  var i = new State$varsChangeFlow$slambda($keys, resultContinuation);
481
567
  var l = function ($this$onSubscription, $completion) {
482
- return i.g1m($this$onSubscription, $completion);
568
+ return i.o1m($this$onSubscription, $completion);
483
569
  };
484
570
  l.$arity = 1;
485
571
  return l;
486
572
  }
487
573
  function State$varsChangeFlow$$inlined$filter$1($this, $keys) {
488
- this.n1j_1 = $this;
489
- this.o1j_1 = $keys;
574
+ this.v1j_1 = $this;
575
+ this.w1j_1 = $keys;
490
576
  }
491
577
  protoOf(State$varsChangeFlow$$inlined$filter$1).w12 = function (collector, $completion) {
492
578
  var tmp = new $collectCOROUTINE$0(this, collector, $completion);
@@ -498,7 +584,7 @@
498
584
  return this.w12(collector, $completion);
499
585
  };
500
586
  function State$varsChangeFlow$$inlined$map$1($this) {
501
- this.p1k_1 = $this;
587
+ this.x1k_1 = $this;
502
588
  }
503
589
  protoOf(State$varsChangeFlow$$inlined$map$1).w12 = function (collector, $completion) {
504
590
  var tmp = new $collectCOROUTINE$1(this, collector, $completion);
@@ -510,9 +596,9 @@
510
596
  return this.w12(collector, $completion);
511
597
  };
512
598
  function State$varsChangeFlow$$inlined$map$2($this, $block, this$0) {
513
- this.s1l_1 = $this;
514
- this.t1l_1 = $block;
515
- this.u1l_1 = this$0;
599
+ this.a1m_1 = $this;
600
+ this.b1m_1 = $block;
601
+ this.c1m_1 = this$0;
516
602
  }
517
603
  protoOf(State$varsChangeFlow$$inlined$map$2).w12 = function (collector, $completion) {
518
604
  var tmp = new $collectCOROUTINE$2(this, collector, $completion);
@@ -540,22 +626,22 @@
540
626
  tmp_0 = vars;
541
627
  }
542
628
  vars = tmp_0;
543
- this.i1m_1 = triggeredAnalyticsEvents;
544
- this.j1m_1 = vars;
545
- this.k1m_1 = MutableSharedFlow(VOID, 2147483647);
629
+ this.p1i_1 = triggeredAnalyticsEvents;
630
+ this.q1i_1 = vars;
631
+ this.r1i_1 = MutableSharedFlow(VOID, 2147483647);
546
632
  }
547
- protoOf(State).l1m = function (id) {
548
- var tmp0_elvis_lhs = this.i1m_1.q1(id);
633
+ protoOf(State).q1m = function (id) {
634
+ var tmp0_elvis_lhs = this.p1i_1.q1(id);
549
635
  return tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs;
550
636
  };
551
- protoOf(State).m1m = function (id) {
552
- var tmp0 = this.i1m_1;
553
- var tmp0_elvis_lhs = this.i1m_1.q1(id);
637
+ protoOf(State).r1m = function (id) {
638
+ var tmp0 = this.p1i_1;
639
+ var tmp0_elvis_lhs = this.p1i_1.q1(id);
554
640
  // Inline function 'kotlin.collections.set' call
555
641
  var value = (tmp0_elvis_lhs == null ? 0 : tmp0_elvis_lhs) + 1 | 0;
556
642
  tmp0.d3(id, value);
557
643
  };
558
- protoOf(State).n1m = function (keys, block) {
644
+ protoOf(State).s1m = function (keys, block) {
559
645
  var tmp;
560
646
  // Inline function 'kotlin.collections.isNullOrEmpty' call
561
647
  if (keys == null || keys.p()) {
@@ -563,7 +649,7 @@
563
649
  } else {
564
650
  // Inline function 'kotlinx.coroutines.flow.filter' call
565
651
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
566
- var this_0 = onSubscription(this.k1m_1, State$varsChangeFlow$slambda_0(keys, null));
652
+ var this_0 = onSubscription(this.r1i_1, State$varsChangeFlow$slambda_0(keys, null));
567
653
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
568
654
  // Inline function 'kotlinx.coroutines.flow.map' call
569
655
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
@@ -580,32 +666,32 @@
580
666
  };
581
667
  protoOf(State).varsChangeFlow$default = function (keys, block, $super) {
582
668
  keys = keys === VOID ? emptyList() : keys;
583
- return $super === VOID ? this.n1m(keys, block) : $super.n1m.call(this, keys, block);
669
+ return $super === VOID ? this.s1m(keys, block) : $super.s1m.call(this, keys, block);
584
670
  };
585
- protoOf(State).o1m = function (key) {
671
+ protoOf(State).s1i = function (key) {
586
672
  // Inline function 'kotlin.collections.orEmpty' call
587
- var tmp0_elvis_lhs = this.j1m_1.q1(key);
673
+ var tmp0_elvis_lhs = this.q1i_1.q1(key);
588
674
  return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
589
675
  };
590
- protoOf(State).p1m = function (key, values) {
591
- var tmp0 = this.j1m_1;
676
+ protoOf(State).t1m = function (key, values) {
677
+ var tmp0 = this.q1i_1;
592
678
  // Inline function 'kotlin.collections.set' call
593
679
  var value = values == null ? null : toList(values);
594
680
  tmp0.d3(key, value);
595
- this.k1m_1.f15(key);
681
+ this.r1i_1.f15(key);
596
682
  };
597
- protoOf(State).q1m = function (key, value) {
598
- var values = this.o1m(key);
683
+ protoOf(State).u1m = function (key, value) {
684
+ var values = this.s1i(key);
599
685
  if (!values.f1(value)) {
600
- this.p1m(key, plus(values, value));
686
+ this.t1m(key, plus(values, value));
601
687
  }
602
688
  };
603
- protoOf(State).r1m = function (key, value) {
604
- var values = this.o1m(key);
689
+ protoOf(State).v1m = function (key, value) {
690
+ var values = this.s1i(key);
605
691
  if (values.f1(value)) {
606
692
  // Inline function 'kotlin.collections.filterNot' call
607
693
  // Inline function 'kotlin.collections.filterNotTo' call
608
- var destination = ArrayList_init_$Create$();
694
+ var destination = ArrayList_init_$Create$_0();
609
695
  var _iterator__ex2g4s = values.j();
610
696
  while (_iterator__ex2g4s.k()) {
611
697
  var element = _iterator__ex2g4s.l();
@@ -613,11 +699,20 @@
613
699
  destination.e(element);
614
700
  }
615
701
  }
616
- this.p1m(key, destination);
702
+ this.t1m(key, destination);
617
703
  }
618
704
  };
619
705
  //region block: exports
620
706
  function $jsExportAll$(_) {
707
+ var $org = _.org || (_.org = {});
708
+ var $org$cru = $org.cru || ($org.cru = {});
709
+ var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
710
+ var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
711
+ var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
712
+ var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
713
+ 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.EventId = EventId;
715
+ defineProp($org$cru$godtools$shared$tool$parser$model.EventId, 'Companion', Companion_getInstance);
621
716
  var $org = _.org || (_.org = {});
622
717
  var $org$cru = $org.cru || ($org.cru = {});
623
718
  var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
@@ -629,8 +724,10 @@
629
724
  }
630
725
  $jsExportAll$(_);
631
726
  _.$jsExportAll$ = $jsExportAll$;
727
+ _.$_$ = _.$_$ || {};
728
+ _.$_$.a = EventId;
632
729
  //endregion
633
730
  return _;
634
731
  }));
635
732
 
636
- //# sourceMappingURL=kotlin-mpp-godtools-tool-parser-module-state.js.map
733
+ //# sourceMappingURL=kotlin-mpp-godtools-tool-parser-module-parser-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../module/parser-base/src/commonMain/kotlin/org/cru/godtools/shared/tool/parser/model/EventId.kt","common/src/generated/_Collections.kt","js/src/kotlin/text/stringJs.kt","../../../../../../../../module/parser-base/src/commonMain/kotlin/org/cru/godtools/shared/tool/state/State.kt","src/kotlin/collections/Maps.kt","src/kotlin/collections/Collections.kt","../../../../../../../../../../../../../mnt/agent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/flow/internal/SafeCollector.common.kt"],"sourcesContent":[null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<init>","<get-NAMESPACE_STATE>","<get-FOLLOWUP>","namespace","name","<get-namespace>","<get-name>","resolve","state","item","equals","other","hashCode","toString","$keys","invoke","value","$completion","doResume","State$varsChangeFlow$o$collect$slambda","State$varsChangeFlow$o$collect$slambda$lambda","$block","State_init_$Init$","State_init_$Create$","emit","$this$onSubscription","State$varsChangeFlow$slambda","State$varsChangeFlow$slambda$lambda","collect","collector","triggeredAnalyticsEvents","vars","getTriggeredAnalyticsEventsCount","id","recordTriggeredAnalyticsEvent","varsChangeFlow","keys","block","varsChangeFlow$default","getVar","key","setVar","values","addVarValue","removeVarValue","element"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAWIA,CAAAA,EAAA;A;IAC2C,uB;IAEX,8B;IAEb,4BAAQ,UAAR,EAA4B,MAA5B,C;EALnB,C;oCAEIC,CAAAA,EAAA;A,IAAA,2B;EACwB,C;oCAExBC,CAAAA,EAAA;A,IAAA,oB;EAAW,C;;;;;;;kBANNF,CAACG,S,EAA+BC,IAAhCJ,EAAA;A,IAFb,uB;qCAEuC,I;IAAzB,0B;IAA+B,gB;EAAhC,C;kCAACK,CAAAA,EAAA;A,I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