@cruglobal/godtools-shared 1.1.3-SNAPSHOT.1725 → 1.1.3-SNAPSHOT.1728
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/antlr-kotlin-antlr-kotlin-runtime.js +3 -3
- package/kotlin-kotlin-stdlib.js +16 -16
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-module-parser.js +538 -442
- package/kotlin-mpp-godtools-tool-parser-module-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-publishing-npm.d.ts +6 -0
- package/package.json +1 -1
|
@@ -259,13 +259,13 @@
|
|
|
259
259
|
return distinctUntilChanged(state.y1m(tmp, Visibility$isGoneFlow$lambda(this)));
|
|
260
260
|
}
|
|
261
261
|
function watchIsGone(state, block) {
|
|
262
|
-
return
|
|
262
|
+
return Companion_instance_59.v3s(this.isGoneFlow(state), block);
|
|
263
263
|
}
|
|
264
264
|
function watchIsInvisible(state, block) {
|
|
265
|
-
return
|
|
265
|
+
return Companion_instance_59.v3s(this.isInvisibleFlow(state), block);
|
|
266
266
|
}
|
|
267
267
|
function watchVisibility(state, block) {
|
|
268
|
-
var tmp =
|
|
268
|
+
var tmp = Companion_instance_59;
|
|
269
269
|
var tmp_0 = this.isInvisibleFlow(state);
|
|
270
270
|
var tmp_1 = this.isGoneFlow(state);
|
|
271
271
|
var tmp_2 = combine(tmp_0, tmp_1, Visibility$watchVisibility$slambda_0(null));
|
|
@@ -457,43 +457,45 @@
|
|
|
457
457
|
initMetadataForClass(LessonPage, 'LessonPage', VOID, Page, [Page, Parent]);
|
|
458
458
|
initMetadataForCompanion(Companion_42);
|
|
459
459
|
initMetadataForCompanion(Companion_43);
|
|
460
|
+
initMetadataForCompanion(Companion_44);
|
|
461
|
+
initMetadataForClass(Header, 'Header', VOID, BaseModel, [BaseModel, Parent, Styles]);
|
|
460
462
|
initMetadataForClass(Card_0, 'Card', VOID, BaseModel, [BaseModel, Parent, HasAnalyticsEvents]);
|
|
461
463
|
initMetadataForClass(CardCollectionPage, 'CardCollectionPage', VOID, Page);
|
|
462
|
-
initMetadataForCompanion(
|
|
464
|
+
initMetadataForCompanion(Companion_45);
|
|
463
465
|
initMetadataForClass(ContentPage, 'ContentPage', VOID, Page, [Page, Parent]);
|
|
464
466
|
initMetadataForCoroutine($parseCOROUTINE$1, CoroutineImpl);
|
|
465
|
-
initMetadataForCompanion(
|
|
467
|
+
initMetadataForCompanion(Companion_46, VOID, VOID, [4]);
|
|
466
468
|
initMetadataForCoroutine($parseCOROUTINE$2, CoroutineImpl);
|
|
467
469
|
initMetadataForLambda(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
468
|
-
initMetadataForCompanion(
|
|
470
|
+
initMetadataForCompanion(Companion_47, VOID, VOID, [4]);
|
|
469
471
|
initMetadataForClass(PageOrImport, 'PageOrImport', PageOrImport);
|
|
470
472
|
initMetadataForLambda(PageCollectionPage$buildPagesFromParsedPages$slambda, CoroutineImpl, VOID, [1]);
|
|
471
473
|
initMetadataForCoroutine($buildPagesFromParsedPagesCOROUTINE$3, CoroutineImpl);
|
|
472
474
|
initMetadataForClass(PageCollectionPage, 'PageCollectionPage', VOID, Page, [Page, HasPages], [1]);
|
|
473
|
-
initMetadataForCompanion(Companion_47);
|
|
474
|
-
initMetadataForClass(Shareable, 'Shareable', VOID, BaseModel);
|
|
475
475
|
initMetadataForCompanion(Companion_48);
|
|
476
|
-
initMetadataForClass(
|
|
476
|
+
initMetadataForClass(Shareable, 'Shareable', VOID, BaseModel);
|
|
477
477
|
initMetadataForCompanion(Companion_49);
|
|
478
|
-
initMetadataForClass(
|
|
478
|
+
initMetadataForClass(ShareableImage, 'ShareableImage', VOID, Shareable);
|
|
479
479
|
initMetadataForCompanion(Companion_50);
|
|
480
|
+
initMetadataForClass(InlineTip, 'InlineTip', VOID, Content);
|
|
481
|
+
initMetadataForCompanion(Companion_51);
|
|
480
482
|
initMetadataForClass(Type_2, 'Type', VOID, Enum);
|
|
481
483
|
initMetadataForClass(Tip, 'Tip', Tip_init_$Create$_0, BaseModel, [BaseModel, Styles]);
|
|
482
|
-
initMetadataForCompanion(Companion_51);
|
|
483
|
-
initMetadataForClass(TipPage, 'TipPage', VOID, BaseModel, [BaseModel, Parent]);
|
|
484
484
|
initMetadataForCompanion(Companion_52);
|
|
485
|
-
initMetadataForClass(
|
|
485
|
+
initMetadataForClass(TipPage, 'TipPage', VOID, BaseModel, [BaseModel, Parent]);
|
|
486
486
|
initMetadataForCompanion(Companion_53);
|
|
487
|
-
initMetadataForClass(
|
|
487
|
+
initMetadataForClass(CallToAction, 'CallToAction', createTestCallToAction, BaseModel);
|
|
488
488
|
initMetadataForCompanion(Companion_54);
|
|
489
|
-
initMetadataForClass(
|
|
489
|
+
initMetadataForClass(Header_0, 'Header', VOID, BaseModel, [BaseModel, Styles]);
|
|
490
490
|
initMetadataForCompanion(Companion_55);
|
|
491
|
-
initMetadataForClass(
|
|
491
|
+
initMetadataForClass(Hero, 'Hero', createTestHero, BaseModel, [BaseModel, Parent, HasAnalyticsEvents]);
|
|
492
492
|
initMetadataForCompanion(Companion_56);
|
|
493
|
+
initMetadataForClass(Modal, 'Modal', VOID, BaseModel, [BaseModel, Parent, Styles]);
|
|
494
|
+
initMetadataForCompanion(Companion_57);
|
|
493
495
|
initMetadataForClass(Card_1, 'Card', createTestCard, BaseModel, [BaseModel, Styles, Parent, HasAnalyticsEvents]);
|
|
494
496
|
initMetadataForClass(TractPage, 'TractPage', createTestTractPage, Page);
|
|
495
497
|
initMetadataForLambda(FlowWatcher$Companion$watchIn$slambda, CoroutineImpl, VOID, [1]);
|
|
496
|
-
initMetadataForCompanion(
|
|
498
|
+
initMetadataForCompanion(Companion_58);
|
|
497
499
|
initMetadataForClass(FlowWatcher, 'FlowWatcher');
|
|
498
500
|
initMetadataForObject(EMPTY, 'EMPTY');
|
|
499
501
|
initMetadataForClass(SetOnceProperty, 'SetOnceProperty', SetOnceProperty);
|
|
@@ -4218,7 +4220,7 @@
|
|
|
4218
4220
|
switch (tmp) {
|
|
4219
4221
|
case 0:
|
|
4220
4222
|
this.w8_1 = 3;
|
|
4221
|
-
this.i3m_1 =
|
|
4223
|
+
this.i3m_1 = Companion_getInstance_49();
|
|
4222
4224
|
this.v8_1 = 1;
|
|
4223
4225
|
suspendResult = this.f3m_1(this.g3m_1, this);
|
|
4224
4226
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -4845,7 +4847,7 @@
|
|
|
4845
4847
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
4846
4848
|
if (parser.l2() === 'items') {
|
|
4847
4849
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4848
|
-
var elements_3 =
|
|
4850
|
+
var elements_3 = Companion_instance_49.p3p(parser, $this);
|
|
4849
4851
|
addAll(shareables, elements_3);
|
|
4850
4852
|
}
|
|
4851
4853
|
}
|
|
@@ -5797,7 +5799,7 @@
|
|
|
5797
5799
|
return distinctUntilChanged(state.y1m(tmp, Multiselect$Option$isSelectedFlow$lambda(this)));
|
|
5798
5800
|
};
|
|
5799
5801
|
protoOf(Option).watchIsSelected = function (state, block) {
|
|
5800
|
-
return
|
|
5802
|
+
return Companion_instance_59.v3s(this.isSelectedFlow(state), block);
|
|
5801
5803
|
};
|
|
5802
5804
|
protoOf(Option).toggleSelected = function (state) {
|
|
5803
5805
|
var current = state.z1m(this.multiselect.n3s_1);
|
|
@@ -7402,29 +7404,91 @@
|
|
|
7402
7404
|
function LessonPage() {
|
|
7403
7405
|
}
|
|
7404
7406
|
function Companion_42() {
|
|
7405
|
-
|
|
7406
|
-
this.
|
|
7407
|
-
this.
|
|
7407
|
+
Companion_instance_43 = this;
|
|
7408
|
+
this.m3y_1 = 'header';
|
|
7409
|
+
this.n3y_1 = Align_CENTER_getInstance();
|
|
7408
7410
|
}
|
|
7409
7411
|
var Companion_instance_43;
|
|
7410
7412
|
function Companion_getInstance_45() {
|
|
7413
|
+
if (Companion_instance_43 == null)
|
|
7414
|
+
new Companion_42();
|
|
7411
7415
|
return Companion_instance_43;
|
|
7412
7416
|
}
|
|
7417
|
+
function Header_init_$Init$(page, parser, $this) {
|
|
7418
|
+
BaseModel.call($this, page);
|
|
7419
|
+
Header.call($this);
|
|
7420
|
+
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'header');
|
|
7421
|
+
var tmp = $this;
|
|
7422
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7423
|
+
// Inline function 'kotlin.collections.buildList' call
|
|
7424
|
+
// Inline function 'kotlin.collections.buildListInternal' call
|
|
7425
|
+
// Inline function 'kotlin.apply' call
|
|
7426
|
+
var this_0 = ArrayList_init_$Create$();
|
|
7427
|
+
parser.o3b(2, null, null);
|
|
7428
|
+
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7429
|
+
$l$loop_0: while (!(parser.l() === 3)) {
|
|
7430
|
+
if (!(parser.p3b() === 2))
|
|
7431
|
+
continue $l$loop_0;
|
|
7432
|
+
$l$block: {
|
|
7433
|
+
if (parser.p3b() === 3) {
|
|
7434
|
+
break $l$block;
|
|
7435
|
+
}
|
|
7436
|
+
var tmp0_safe_receiver = Companion_instance_12.t3b(parser, $this);
|
|
7437
|
+
var tmp_0;
|
|
7438
|
+
if (tmp0_safe_receiver == null) {
|
|
7439
|
+
tmp_0 = null;
|
|
7440
|
+
} else {
|
|
7441
|
+
// Inline function 'kotlin.takeUnless' call
|
|
7442
|
+
var tmp_1;
|
|
7443
|
+
if (!tmp0_safe_receiver.a3c()) {
|
|
7444
|
+
tmp_1 = tmp0_safe_receiver;
|
|
7445
|
+
} else {
|
|
7446
|
+
tmp_1 = null;
|
|
7447
|
+
}
|
|
7448
|
+
tmp_0 = tmp_1;
|
|
7449
|
+
}
|
|
7450
|
+
var tmp1_safe_receiver = tmp_0;
|
|
7451
|
+
if (tmp1_safe_receiver == null)
|
|
7452
|
+
null;
|
|
7453
|
+
else {
|
|
7454
|
+
// Inline function 'kotlin.let' call
|
|
7455
|
+
this_0.e(tmp1_safe_receiver);
|
|
7456
|
+
}
|
|
7457
|
+
}
|
|
7458
|
+
if (parser.p3b() === 3)
|
|
7459
|
+
continue $l$loop_0;
|
|
7460
|
+
skipTag(parser);
|
|
7461
|
+
}
|
|
7462
|
+
tmp.q3y_1 = this_0.k3();
|
|
7463
|
+
return $this;
|
|
7464
|
+
}
|
|
7465
|
+
function Header_init_$Create$(page, parser) {
|
|
7466
|
+
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
7467
|
+
}
|
|
7468
|
+
function Companion_43() {
|
|
7469
|
+
this.r3y_1 = 'card';
|
|
7470
|
+
this.s3y_1 = 'id';
|
|
7471
|
+
this.t3y_1 = 'content';
|
|
7472
|
+
}
|
|
7473
|
+
var Companion_instance_44;
|
|
7474
|
+
function Companion_getInstance_46() {
|
|
7475
|
+
return Companion_instance_44;
|
|
7476
|
+
}
|
|
7413
7477
|
function Card_init_$Init$_0(page, parser, $this) {
|
|
7414
7478
|
BaseModel.call($this, page);
|
|
7415
7479
|
Card_0.call($this);
|
|
7416
7480
|
$this.page = page;
|
|
7417
7481
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'card');
|
|
7418
|
-
$this.
|
|
7482
|
+
$this.v3y_1 = parser.d3d('id');
|
|
7419
7483
|
var tmp = $this;
|
|
7420
7484
|
var tmp0_safe_receiver = parser.d3d('background-color');
|
|
7421
|
-
tmp.
|
|
7485
|
+
tmp.w3y_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
7422
7486
|
var tmp_0 = $this;
|
|
7423
7487
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7424
|
-
tmp_0.
|
|
7488
|
+
tmp_0.x3y_1 = ArrayList_init_$Create$();
|
|
7425
7489
|
var tmp_1 = $this;
|
|
7426
7490
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7427
|
-
tmp_1.
|
|
7491
|
+
tmp_1.y3y_1 = ArrayList_init_$Create$();
|
|
7428
7492
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7429
7493
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7430
7494
|
if (!(parser.p3b() === 2))
|
|
@@ -7432,14 +7496,14 @@
|
|
|
7432
7496
|
var tmp0_subject = parser.q3b();
|
|
7433
7497
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7434
7498
|
if (parser.l2() === 'events') {
|
|
7435
|
-
var tmp0 = $this.
|
|
7499
|
+
var tmp0 = $this.x3y_1;
|
|
7436
7500
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7437
7501
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7438
7502
|
addAll(tmp0, elements);
|
|
7439
7503
|
}
|
|
7440
7504
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7441
7505
|
if (parser.l2() === 'content') {
|
|
7442
|
-
var tmp4 = $this.
|
|
7506
|
+
var tmp4 = $this.y3y_1;
|
|
7443
7507
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7444
7508
|
// Inline function 'kotlin.collections.buildList' call
|
|
7445
7509
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7494,21 +7558,22 @@
|
|
|
7494
7558
|
function Card_init_$Create$_0(page, parser) {
|
|
7495
7559
|
return Card_init_$Init$_0(page, parser, objectCreate(protoOf(Card_0)));
|
|
7496
7560
|
}
|
|
7497
|
-
function
|
|
7498
|
-
this.
|
|
7561
|
+
function Companion_44() {
|
|
7562
|
+
this.z3y_1 = 'cardcollection';
|
|
7499
7563
|
}
|
|
7500
|
-
var
|
|
7501
|
-
function
|
|
7502
|
-
return
|
|
7564
|
+
var Companion_instance_45;
|
|
7565
|
+
function Companion_getInstance_47() {
|
|
7566
|
+
return Companion_instance_45;
|
|
7503
7567
|
}
|
|
7504
7568
|
function CardCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
7505
7569
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7506
7570
|
CardCollectionPage.call($this);
|
|
7507
7571
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7508
|
-
|
|
7572
|
+
Companion_getInstance_49().a3z(parser, 'cardcollection');
|
|
7509
7573
|
var tmp = $this;
|
|
7510
7574
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7511
|
-
tmp.
|
|
7575
|
+
tmp.t3z_1 = ArrayList_init_$Create$();
|
|
7576
|
+
var header = null;
|
|
7512
7577
|
var tmp_0 = $this;
|
|
7513
7578
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7514
7579
|
tmp_0._cards = ArrayList_init_$Create$();
|
|
@@ -7519,13 +7584,16 @@
|
|
|
7519
7584
|
var tmp0_subject = parser.q3b();
|
|
7520
7585
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7521
7586
|
if (parser.l2() === 'events') {
|
|
7522
|
-
var tmp0 = $this.
|
|
7587
|
+
var tmp0 = $this.t3z_1;
|
|
7523
7588
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7524
7589
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7525
7590
|
addAll(tmp0, elements);
|
|
7526
7591
|
}
|
|
7527
7592
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7528
|
-
|
|
7593
|
+
var tmp2_subject = parser.l2();
|
|
7594
|
+
if (tmp2_subject === 'header')
|
|
7595
|
+
header = Header_init_$Create$($this, parser);
|
|
7596
|
+
else if (tmp2_subject === 'cards') {
|
|
7529
7597
|
var tmp2 = $this._cards;
|
|
7530
7598
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7531
7599
|
var elements_0 = parseCards($this, parser);
|
|
@@ -7536,6 +7604,7 @@
|
|
|
7536
7604
|
continue $l$loop_0;
|
|
7537
7605
|
skipTag(parser);
|
|
7538
7606
|
}
|
|
7607
|
+
$this.header = header;
|
|
7539
7608
|
return $this;
|
|
7540
7609
|
}
|
|
7541
7610
|
function CardCollectionPage_init_$Create$(container, fileName, parser) {
|
|
@@ -7559,22 +7628,32 @@
|
|
|
7559
7628
|
}
|
|
7560
7629
|
return this_0.k3();
|
|
7561
7630
|
}
|
|
7562
|
-
protoOf(
|
|
7631
|
+
protoOf(Header).x3h = function () {
|
|
7632
|
+
return this.p3y_1;
|
|
7633
|
+
};
|
|
7634
|
+
protoOf(Header).k3c = function () {
|
|
7635
|
+
return this.q3y_1;
|
|
7636
|
+
};
|
|
7637
|
+
function Header() {
|
|
7638
|
+
Companion_getInstance_45();
|
|
7639
|
+
this.p3y_1 = Companion_getInstance_45().n3y_1;
|
|
7640
|
+
}
|
|
7641
|
+
protoOf(Card_0).u3z = function () {
|
|
7563
7642
|
return this.page;
|
|
7564
7643
|
};
|
|
7565
7644
|
protoOf(Card_0).i3c = function () {
|
|
7566
|
-
var tmp0_elvis_lhs = this.
|
|
7645
|
+
var tmp0_elvis_lhs = this.v3y_1;
|
|
7567
7646
|
return tmp0_elvis_lhs == null ? this.page.id + '-' + this.position : tmp0_elvis_lhs;
|
|
7568
7647
|
};
|
|
7569
7648
|
protoOf(Card_0).p3u = function () {
|
|
7570
7649
|
return this.page._cards.w1(this);
|
|
7571
7650
|
};
|
|
7572
7651
|
protoOf(Card_0).i3q = function () {
|
|
7573
|
-
var tmp0_elvis_lhs = this.
|
|
7652
|
+
var tmp0_elvis_lhs = this.w3y_1;
|
|
7574
7653
|
return tmp0_elvis_lhs == null ? this.page.t3h() : tmp0_elvis_lhs;
|
|
7575
7654
|
};
|
|
7576
7655
|
protoOf(Card_0).k3c = function () {
|
|
7577
|
-
return this.
|
|
7656
|
+
return this.y3y_1;
|
|
7578
7657
|
};
|
|
7579
7658
|
protoOf(Card_0).u3c = function () {
|
|
7580
7659
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -7596,7 +7675,7 @@
|
|
|
7596
7675
|
case 0:
|
|
7597
7676
|
// Inline function 'kotlin.collections.filter' call
|
|
7598
7677
|
|
|
7599
|
-
var tmp0 = this.
|
|
7678
|
+
var tmp0 = this.x3y_1;
|
|
7600
7679
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7601
7680
|
|
|
7602
7681
|
var destination = ArrayList_init_$Create$();
|
|
@@ -7613,7 +7692,7 @@
|
|
|
7613
7692
|
case 1:
|
|
7614
7693
|
// Inline function 'kotlin.collections.filter' call
|
|
7615
7694
|
|
|
7616
|
-
var tmp0_0 = this.
|
|
7695
|
+
var tmp0_0 = this.x3y_1;
|
|
7617
7696
|
// Inline function 'kotlin.collections.filterTo' call
|
|
7618
7697
|
|
|
7619
7698
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -7639,12 +7718,15 @@
|
|
|
7639
7718
|
function Card_0() {
|
|
7640
7719
|
}
|
|
7641
7720
|
protoOf(CardCollectionPage).v3g = function () {
|
|
7642
|
-
return this.
|
|
7721
|
+
return this.t3z_1;
|
|
7722
|
+
};
|
|
7723
|
+
protoOf(CardCollectionPage).j3c = function () {
|
|
7724
|
+
return this.header;
|
|
7643
7725
|
};
|
|
7644
|
-
protoOf(CardCollectionPage).
|
|
7726
|
+
protoOf(CardCollectionPage).v3z = function () {
|
|
7645
7727
|
return this._cards;
|
|
7646
7728
|
};
|
|
7647
|
-
protoOf(CardCollectionPage).
|
|
7729
|
+
protoOf(CardCollectionPage).w3z = function () {
|
|
7648
7730
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
7649
7731
|
var this_0 = this._cards;
|
|
7650
7732
|
return copyToArray(this_0);
|
|
@@ -7663,24 +7745,24 @@
|
|
|
7663
7745
|
DEFAULT_CONTROL_COLOR = color(225, 225, 225, 1.0);
|
|
7664
7746
|
}
|
|
7665
7747
|
}
|
|
7666
|
-
function
|
|
7667
|
-
this.
|
|
7748
|
+
function Companion_45() {
|
|
7749
|
+
this.x3z_1 = 'content';
|
|
7668
7750
|
}
|
|
7669
|
-
var
|
|
7670
|
-
function
|
|
7671
|
-
return
|
|
7751
|
+
var Companion_instance_46;
|
|
7752
|
+
function Companion_getInstance_48() {
|
|
7753
|
+
return Companion_instance_46;
|
|
7672
7754
|
}
|
|
7673
7755
|
function ContentPage_init_$Init$(container, fileName, parser, $this) {
|
|
7674
7756
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
7675
7757
|
ContentPage.call($this);
|
|
7676
7758
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
7677
|
-
|
|
7759
|
+
Companion_getInstance_49().a3z(parser, 'content');
|
|
7678
7760
|
var tmp = $this;
|
|
7679
7761
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7680
|
-
tmp.
|
|
7762
|
+
tmp.q40_1 = ArrayList_init_$Create$();
|
|
7681
7763
|
var tmp_0 = $this;
|
|
7682
7764
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
7683
|
-
tmp_0.
|
|
7765
|
+
tmp_0.r40_1 = ArrayList_init_$Create$();
|
|
7684
7766
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
7685
7767
|
$l$loop_2: while (!(parser.l() === 3)) {
|
|
7686
7768
|
if (!(parser.p3b() === 2))
|
|
@@ -7688,14 +7770,14 @@
|
|
|
7688
7770
|
var tmp0_subject = parser.q3b();
|
|
7689
7771
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
7690
7772
|
if (parser.l2() === 'events') {
|
|
7691
|
-
var tmp0 = $this.
|
|
7773
|
+
var tmp0 = $this.q40_1;
|
|
7692
7774
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
7693
7775
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
7694
7776
|
addAll(tmp0, elements);
|
|
7695
7777
|
}
|
|
7696
7778
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
7697
7779
|
if (parser.l2() === 'content') {
|
|
7698
|
-
var tmp4 = $this.
|
|
7780
|
+
var tmp4 = $this.r40_1;
|
|
7699
7781
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
7700
7782
|
// Inline function 'kotlin.collections.buildList' call
|
|
7701
7783
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -7751,20 +7833,20 @@
|
|
|
7751
7833
|
return ContentPage_init_$Init$(container, fileName, parser, objectCreate(protoOf(ContentPage)));
|
|
7752
7834
|
}
|
|
7753
7835
|
protoOf(ContentPage).v3g = function () {
|
|
7754
|
-
return this.
|
|
7836
|
+
return this.q40_1;
|
|
7755
7837
|
};
|
|
7756
7838
|
protoOf(ContentPage).k3c = function () {
|
|
7757
|
-
return this.
|
|
7839
|
+
return this.r40_1;
|
|
7758
7840
|
};
|
|
7759
7841
|
function ContentPage() {
|
|
7760
7842
|
}
|
|
7761
7843
|
function $parseCOROUTINE$1(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
7762
7844
|
CoroutineImpl.call(this, resultContinuation);
|
|
7763
|
-
this.
|
|
7764
|
-
this.
|
|
7765
|
-
this.
|
|
7766
|
-
this.
|
|
7767
|
-
this.
|
|
7845
|
+
this.a41_1 = _this__u8e3s4;
|
|
7846
|
+
this.b41_1 = container;
|
|
7847
|
+
this.c41_1 = fileName;
|
|
7848
|
+
this.d41_1 = parser;
|
|
7849
|
+
this.e41_1 = parseFile;
|
|
7768
7850
|
}
|
|
7769
7851
|
protoOf($parseCOROUTINE$1).d9 = function () {
|
|
7770
7852
|
var suspendResult = this.x8_1;
|
|
@@ -7774,35 +7856,35 @@
|
|
|
7774
7856
|
switch (tmp) {
|
|
7775
7857
|
case 0:
|
|
7776
7858
|
this.w8_1 = 3;
|
|
7777
|
-
this.
|
|
7778
|
-
this.
|
|
7779
|
-
if (this.
|
|
7780
|
-
if (!this.
|
|
7859
|
+
this.d41_1.o3b(2, null, 'page');
|
|
7860
|
+
this.f41_1 = to(this.d41_1.q3b(), this.d41_1.n3p('http://www.w3.org/2001/XMLSchema-instance', 'type'));
|
|
7861
|
+
if (this.f41_1.equals(to('https://mobile-content-api.cru.org/xmlns/page', 'page-collection'))) {
|
|
7862
|
+
if (!this.b41_1.h3k(getKClass(PageCollectionPage)))
|
|
7781
7863
|
return null;
|
|
7782
7864
|
this.v8_1 = 1;
|
|
7783
|
-
suspendResult =
|
|
7865
|
+
suspendResult = Companion_instance_48.m41(this.b41_1, this.c41_1, this.d41_1, this.e41_1, this);
|
|
7784
7866
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7785
7867
|
return suspendResult;
|
|
7786
7868
|
}
|
|
7787
7869
|
continue $sm;
|
|
7788
7870
|
} else {
|
|
7789
|
-
this.
|
|
7871
|
+
this.g41_1 = this.a41_1.h41(this.b41_1, this.c41_1, this.d41_1);
|
|
7790
7872
|
this.v8_1 = 2;
|
|
7791
7873
|
continue $sm;
|
|
7792
7874
|
}
|
|
7793
7875
|
|
|
7794
7876
|
case 1:
|
|
7795
|
-
this.
|
|
7877
|
+
this.g41_1 = suspendResult;
|
|
7796
7878
|
this.v8_1 = 2;
|
|
7797
7879
|
continue $sm;
|
|
7798
7880
|
case 2:
|
|
7799
|
-
var tmp1_safe_receiver = this.
|
|
7881
|
+
var tmp1_safe_receiver = this.g41_1;
|
|
7800
7882
|
var tmp_0;
|
|
7801
7883
|
if (tmp1_safe_receiver == null) {
|
|
7802
7884
|
tmp_0 = null;
|
|
7803
7885
|
} else {
|
|
7804
7886
|
var tmp_1;
|
|
7805
|
-
if (this.
|
|
7887
|
+
if (this.b41_1.h3k(getKClassFromExpression(tmp1_safe_receiver))) {
|
|
7806
7888
|
tmp_1 = tmp1_safe_receiver;
|
|
7807
7889
|
} else {
|
|
7808
7890
|
tmp_1 = null;
|
|
@@ -7825,21 +7907,21 @@
|
|
|
7825
7907
|
}
|
|
7826
7908
|
while (true);
|
|
7827
7909
|
};
|
|
7828
|
-
function
|
|
7829
|
-
|
|
7910
|
+
function Companion_46() {
|
|
7911
|
+
Companion_instance_47 = this;
|
|
7830
7912
|
this.l3m_1 = 'page';
|
|
7831
7913
|
this.m3m_1 = 'parent_override_page-collection';
|
|
7832
7914
|
this.n3m_1 = color(0, 0, 0, 0.0);
|
|
7833
7915
|
this.o3m_1 = Companion_getInstance_22().CENTER;
|
|
7834
7916
|
this.p3m_1 = ImageScaleType_FILL_X_getInstance();
|
|
7835
7917
|
}
|
|
7836
|
-
protoOf(
|
|
7918
|
+
protoOf(Companion_46).q3m = function (container, fileName, parser, parseFile, $completion) {
|
|
7837
7919
|
var tmp = new $parseCOROUTINE$1(this, container, fileName, parser, parseFile, $completion);
|
|
7838
7920
|
tmp.x8_1 = Unit_instance;
|
|
7839
7921
|
tmp.y8_1 = null;
|
|
7840
7922
|
return tmp.d9();
|
|
7841
7923
|
};
|
|
7842
|
-
protoOf(
|
|
7924
|
+
protoOf(Companion_46).h41 = function (container, fileName, parser) {
|
|
7843
7925
|
parser.o3b(2, null, 'page');
|
|
7844
7926
|
var tmp;
|
|
7845
7927
|
switch (parser.q3b()) {
|
|
@@ -7910,16 +7992,16 @@
|
|
|
7910
7992
|
}
|
|
7911
7993
|
return tmp_1;
|
|
7912
7994
|
};
|
|
7913
|
-
protoOf(
|
|
7995
|
+
protoOf(Companion_46).a3z = function (_this__u8e3s4, type) {
|
|
7914
7996
|
var actual = _this__u8e3s4.n3p('http://www.w3.org/2001/XMLSchema-instance', 'type');
|
|
7915
7997
|
if (!(type === actual))
|
|
7916
7998
|
throw new XmlPullParserException('expected ' + type + ' not ' + actual);
|
|
7917
7999
|
};
|
|
7918
|
-
var
|
|
7919
|
-
function
|
|
7920
|
-
if (
|
|
7921
|
-
new
|
|
7922
|
-
return
|
|
8000
|
+
var Companion_instance_47;
|
|
8001
|
+
function Companion_getInstance_49() {
|
|
8002
|
+
if (Companion_instance_47 == null)
|
|
8003
|
+
new Companion_46();
|
|
8004
|
+
return Companion_instance_47;
|
|
7923
8005
|
}
|
|
7924
8006
|
function _get_parentPageContainer__qsoup5($this) {
|
|
7925
8007
|
var parent = $this.gl();
|
|
@@ -7974,16 +8056,16 @@
|
|
|
7974
8056
|
var tmp_5 = $this;
|
|
7975
8057
|
var tmp6_safe_receiver = parser.d3d('background-color');
|
|
7976
8058
|
var tmp7_elvis_lhs = tmp6_safe_receiver == null ? null : toColorOrNull(tmp6_safe_receiver);
|
|
7977
|
-
tmp_5.v3x_1 = tmp7_elvis_lhs == null ?
|
|
8059
|
+
tmp_5.v3x_1 = tmp7_elvis_lhs == null ? Companion_getInstance_49().n3m_1 : tmp7_elvis_lhs;
|
|
7978
8060
|
$this.w3x_1 = parser.d3d('background-image');
|
|
7979
8061
|
var tmp_6 = $this;
|
|
7980
8062
|
var tmp8_safe_receiver = parser.d3d('background-image-align');
|
|
7981
8063
|
var tmp9_elvis_lhs = tmp8_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp8_safe_receiver);
|
|
7982
|
-
tmp_6.x3x_1 = tmp9_elvis_lhs == null ?
|
|
8064
|
+
tmp_6.x3x_1 = tmp9_elvis_lhs == null ? Companion_getInstance_49().o3m_1 : tmp9_elvis_lhs;
|
|
7983
8065
|
var tmp_7 = $this;
|
|
7984
8066
|
var tmp10_safe_receiver = parser.d3d('background-image-scale-type');
|
|
7985
8067
|
var tmp11_elvis_lhs = tmp10_safe_receiver == null ? null : Companion_instance_22.v3k(tmp10_safe_receiver);
|
|
7986
|
-
tmp_7.y3x_1 = tmp11_elvis_lhs == null ?
|
|
8068
|
+
tmp_7.y3x_1 = tmp11_elvis_lhs == null ? Companion_getInstance_49().p3m_1 : tmp11_elvis_lhs;
|
|
7987
8069
|
var tmp_8 = $this;
|
|
7988
8070
|
var tmp12_safe_receiver = parser.d3d('control-color');
|
|
7989
8071
|
tmp_8.z3x_1 = tmp12_safe_receiver == null ? null : toColorOrNull(tmp12_safe_receiver);
|
|
@@ -8011,10 +8093,10 @@
|
|
|
8011
8093
|
fileName = fileName === VOID ? null : fileName;
|
|
8012
8094
|
parentPage = parentPage === VOID ? null : parentPage;
|
|
8013
8095
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
8014
|
-
backgroundColor = backgroundColor === VOID ?
|
|
8096
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_49().n3m_1 : backgroundColor;
|
|
8015
8097
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
8016
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
8017
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
8098
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_49().o3m_1 : backgroundImageGravity;
|
|
8099
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_49().p3m_1 : backgroundImageScaleType;
|
|
8018
8100
|
controlColor = controlColor === VOID ? null : controlColor;
|
|
8019
8101
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
8020
8102
|
multiselectOptionBackgroundColor = multiselectOptionBackgroundColor === VOID ? null : multiselectOptionBackgroundColor;
|
|
@@ -8250,7 +8332,7 @@
|
|
|
8250
8332
|
return copyToArray(this_0);
|
|
8251
8333
|
};
|
|
8252
8334
|
function Page() {
|
|
8253
|
-
|
|
8335
|
+
Companion_getInstance_49();
|
|
8254
8336
|
var tmp = this;
|
|
8255
8337
|
tmp.o3x_1 = lazy(Page$id$delegate$lambda(this));
|
|
8256
8338
|
var tmp_0 = this;
|
|
@@ -8268,11 +8350,11 @@
|
|
|
8268
8350
|
}
|
|
8269
8351
|
function $parseCOROUTINE$2(_this__u8e3s4, container, fileName, parser, parseFile, resultContinuation) {
|
|
8270
8352
|
CoroutineImpl.call(this, resultContinuation);
|
|
8271
|
-
this.
|
|
8272
|
-
this.
|
|
8273
|
-
this.
|
|
8274
|
-
this.
|
|
8275
|
-
this.
|
|
8353
|
+
this.v41_1 = _this__u8e3s4;
|
|
8354
|
+
this.w41_1 = container;
|
|
8355
|
+
this.x41_1 = fileName;
|
|
8356
|
+
this.y41_1 = parser;
|
|
8357
|
+
this.z41_1 = parseFile;
|
|
8276
8358
|
}
|
|
8277
8359
|
protoOf($parseCOROUTINE$2).d9 = function () {
|
|
8278
8360
|
var suspendResult = this.x8_1;
|
|
@@ -8283,20 +8365,20 @@
|
|
|
8283
8365
|
case 0:
|
|
8284
8366
|
this.w8_1 = 2;
|
|
8285
8367
|
var tmp_0 = this;
|
|
8286
|
-
tmp_0.
|
|
8287
|
-
this.
|
|
8368
|
+
tmp_0.a42_1 = PageCollectionPage_init_$Create$(this.w41_1, this.x41_1, this.y41_1);
|
|
8369
|
+
this.b42_1 = this.a42_1;
|
|
8288
8370
|
var tmp_1 = this;
|
|
8289
|
-
tmp_1.
|
|
8290
|
-
this.
|
|
8371
|
+
tmp_1.c42_1 = this.b42_1;
|
|
8372
|
+
this.d42_1 = this.c42_1;
|
|
8291
8373
|
this.v8_1 = 1;
|
|
8292
|
-
suspendResult = buildPagesFromParsedPages(this.
|
|
8374
|
+
suspendResult = buildPagesFromParsedPages(this.d42_1, this.z41_1, this);
|
|
8293
8375
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8294
8376
|
return suspendResult;
|
|
8295
8377
|
}
|
|
8296
8378
|
|
|
8297
8379
|
continue $sm;
|
|
8298
8380
|
case 1:
|
|
8299
|
-
return this.
|
|
8381
|
+
return this.b42_1;
|
|
8300
8382
|
case 2:
|
|
8301
8383
|
throw this.y8_1;
|
|
8302
8384
|
}
|
|
@@ -8312,10 +8394,10 @@
|
|
|
8312
8394
|
while (true);
|
|
8313
8395
|
};
|
|
8314
8396
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8315
|
-
this.
|
|
8316
|
-
this.
|
|
8317
|
-
this.
|
|
8318
|
-
this.
|
|
8397
|
+
this.m42_1 = $it;
|
|
8398
|
+
this.n42_1 = this$0;
|
|
8399
|
+
this.o42_1 = $parseFile;
|
|
8400
|
+
this.p42_1 = $pageIndex$delegate;
|
|
8319
8401
|
CoroutineImpl.call(this, resultContinuation);
|
|
8320
8402
|
}
|
|
8321
8403
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).k3m = function ($this$async, $completion) {
|
|
@@ -8336,12 +8418,12 @@
|
|
|
8336
8418
|
case 0:
|
|
8337
8419
|
this.w8_1 = 3;
|
|
8338
8420
|
var tmp_0 = this;
|
|
8339
|
-
var tmp0_safe_receiver = this.
|
|
8421
|
+
var tmp0_safe_receiver = this.m42_1.w42_1;
|
|
8340
8422
|
var tmp_1;
|
|
8341
8423
|
if (tmp0_safe_receiver == null) {
|
|
8342
8424
|
tmp_1 = null;
|
|
8343
8425
|
} else {
|
|
8344
|
-
tmp_1 = buildPagesFromParsedPages$lambda(this.
|
|
8426
|
+
tmp_1 = buildPagesFromParsedPages$lambda(this.p42_1).f2(tmp0_safe_receiver);
|
|
8345
8427
|
}
|
|
8346
8428
|
|
|
8347
8429
|
var tmp1_elvis_lhs = tmp_1;
|
|
@@ -8352,20 +8434,20 @@
|
|
|
8352
8434
|
tmp_2 = tmp1_elvis_lhs;
|
|
8353
8435
|
}
|
|
8354
8436
|
|
|
8355
|
-
tmp_0.
|
|
8356
|
-
this.
|
|
8357
|
-
this.
|
|
8437
|
+
tmp_0.r42_1 = tmp_2;
|
|
8438
|
+
this.s42_1 = Companion_getInstance_49();
|
|
8439
|
+
this.t42_1 = this.m42_1.w42_1;
|
|
8358
8440
|
this.v8_1 = 1;
|
|
8359
|
-
suspendResult = this.
|
|
8441
|
+
suspendResult = this.o42_1(this.r42_1, this);
|
|
8360
8442
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8361
8443
|
return suspendResult;
|
|
8362
8444
|
}
|
|
8363
8445
|
|
|
8364
8446
|
continue $sm;
|
|
8365
8447
|
case 1:
|
|
8366
|
-
this.
|
|
8448
|
+
this.u42_1 = suspendResult;
|
|
8367
8449
|
this.v8_1 = 2;
|
|
8368
|
-
suspendResult = this.
|
|
8450
|
+
suspendResult = this.s42_1.q3m(this.n42_1, this.t42_1, this.u42_1, this.o42_1, this);
|
|
8369
8451
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8370
8452
|
return suspendResult;
|
|
8371
8453
|
}
|
|
@@ -8388,8 +8470,8 @@
|
|
|
8388
8470
|
while (true);
|
|
8389
8471
|
};
|
|
8390
8472
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda$slambda).b19 = function ($this$async, completion) {
|
|
8391
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.
|
|
8392
|
-
i.
|
|
8473
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda$slambda(this.m42_1, this.n42_1, this.o42_1, this.p42_1, completion);
|
|
8474
|
+
i.q42_1 = $this$async;
|
|
8393
8475
|
return i;
|
|
8394
8476
|
};
|
|
8395
8477
|
function PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0($it, this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
@@ -8400,43 +8482,43 @@
|
|
|
8400
8482
|
l.$arity = 1;
|
|
8401
8483
|
return l;
|
|
8402
8484
|
}
|
|
8403
|
-
function
|
|
8404
|
-
this.
|
|
8405
|
-
this.
|
|
8406
|
-
this.
|
|
8407
|
-
this.
|
|
8485
|
+
function Companion_47() {
|
|
8486
|
+
this.i41_1 = 'page-collection';
|
|
8487
|
+
this.j41_1 = 'pages';
|
|
8488
|
+
this.k41_1 = 'import';
|
|
8489
|
+
this.l41_1 = 'filename';
|
|
8408
8490
|
this.PARENT_PARAM_ACTIVE_PAGE = 'active-page';
|
|
8409
8491
|
}
|
|
8410
|
-
protoOf(
|
|
8411
|
-
return this.
|
|
8492
|
+
protoOf(Companion_47).x42 = function () {
|
|
8493
|
+
return this.i41_1;
|
|
8412
8494
|
};
|
|
8413
|
-
protoOf(
|
|
8495
|
+
protoOf(Companion_47).y42 = function () {
|
|
8414
8496
|
return this.PARENT_PARAM_ACTIVE_PAGE;
|
|
8415
8497
|
};
|
|
8416
|
-
protoOf(
|
|
8498
|
+
protoOf(Companion_47).m41 = function (container, fileName, parser, parseFile, $completion) {
|
|
8417
8499
|
var tmp = new $parseCOROUTINE$2(this, container, fileName, parser, parseFile, $completion);
|
|
8418
8500
|
tmp.x8_1 = Unit_instance;
|
|
8419
8501
|
tmp.y8_1 = null;
|
|
8420
8502
|
return tmp.d9();
|
|
8421
8503
|
};
|
|
8422
|
-
var
|
|
8423
|
-
function
|
|
8424
|
-
return
|
|
8504
|
+
var Companion_instance_48;
|
|
8505
|
+
function Companion_getInstance_50() {
|
|
8506
|
+
return Companion_instance_48;
|
|
8425
8507
|
}
|
|
8426
8508
|
function _set_pages__j2nojl_0($this, _set____db54di) {
|
|
8427
|
-
return $this.
|
|
8509
|
+
return $this.t43_1.m3p($this, pages$factory_1(), _set____db54di);
|
|
8428
8510
|
}
|
|
8429
8511
|
function PageCollectionPage_init_$Init$(container, fileName, parser, $this) {
|
|
8430
8512
|
Page_init_$Init$(container, fileName, parser, $this);
|
|
8431
8513
|
PageCollectionPage.call($this);
|
|
8432
8514
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/page', 'page');
|
|
8433
|
-
|
|
8515
|
+
Companion_getInstance_49().a3z(parser, 'page-collection');
|
|
8434
8516
|
var tmp = $this;
|
|
8435
8517
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8436
|
-
tmp.
|
|
8518
|
+
tmp.r43_1 = ArrayList_init_$Create$();
|
|
8437
8519
|
var tmp_0 = $this;
|
|
8438
8520
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
8439
|
-
tmp_0.
|
|
8521
|
+
tmp_0.s43_1 = ArrayList_init_$Create$();
|
|
8440
8522
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8441
8523
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
8442
8524
|
if (!(parser.p3b() === 2))
|
|
@@ -8444,14 +8526,14 @@
|
|
|
8444
8526
|
var tmp0_subject = parser.q3b();
|
|
8445
8527
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
8446
8528
|
if (parser.l2() === 'events') {
|
|
8447
|
-
var tmp0 = $this.
|
|
8529
|
+
var tmp0 = $this.r43_1;
|
|
8448
8530
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8449
8531
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
8450
8532
|
addAll(tmp0, elements);
|
|
8451
8533
|
}
|
|
8452
8534
|
} else if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8453
8535
|
if (parser.l2() === 'pages') {
|
|
8454
|
-
var tmp2 = $this.
|
|
8536
|
+
var tmp2 = $this.s43_1;
|
|
8455
8537
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
8456
8538
|
var elements_0 = parsePages_0($this, parser);
|
|
8457
8539
|
addAll(tmp2, elements_0);
|
|
@@ -8479,7 +8561,7 @@
|
|
|
8479
8561
|
if (_this__u8e3s4.q3b() === 'https://mobile-content-api.cru.org/xmlns/page') {
|
|
8480
8562
|
var tmp1_subject = _this__u8e3s4.l2();
|
|
8481
8563
|
if (tmp1_subject === 'page') {
|
|
8482
|
-
var tmp2_safe_receiver =
|
|
8564
|
+
var tmp2_safe_receiver = Companion_getInstance_49().h41($this, null, _this__u8e3s4);
|
|
8483
8565
|
if (tmp2_safe_receiver == null)
|
|
8484
8566
|
null;
|
|
8485
8567
|
else {
|
|
@@ -8505,8 +8587,8 @@
|
|
|
8505
8587
|
function PageOrImport(page, ref) {
|
|
8506
8588
|
page = page === VOID ? null : page;
|
|
8507
8589
|
ref = ref === VOID ? null : ref;
|
|
8508
|
-
this.
|
|
8509
|
-
this.
|
|
8590
|
+
this.v42_1 = page;
|
|
8591
|
+
this.w42_1 = ref;
|
|
8510
8592
|
}
|
|
8511
8593
|
function buildPagesFromParsedPages$lambda($pageIndex$delegate) {
|
|
8512
8594
|
// Inline function 'kotlin.getValue' call
|
|
@@ -8533,19 +8615,19 @@
|
|
|
8533
8615
|
};
|
|
8534
8616
|
}
|
|
8535
8617
|
function PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8536
|
-
this.
|
|
8537
|
-
this.
|
|
8538
|
-
this.
|
|
8618
|
+
this.n44_1 = this$0;
|
|
8619
|
+
this.o44_1 = $parseFile;
|
|
8620
|
+
this.p44_1 = $pageIndex$delegate;
|
|
8539
8621
|
CoroutineImpl.call(this, resultContinuation);
|
|
8540
8622
|
}
|
|
8541
|
-
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).
|
|
8623
|
+
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).r44 = function ($this$coroutineScope, $completion) {
|
|
8542
8624
|
var tmp = this.b19($this$coroutineScope, $completion);
|
|
8543
8625
|
tmp.x8_1 = Unit_instance;
|
|
8544
8626
|
tmp.y8_1 = null;
|
|
8545
8627
|
return tmp.d9();
|
|
8546
8628
|
};
|
|
8547
8629
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).l9 = function (p1, $completion) {
|
|
8548
|
-
return this.
|
|
8630
|
+
return this.r44((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
8549
8631
|
};
|
|
8550
8632
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).d9 = function () {
|
|
8551
8633
|
var suspendResult = this.x8_1;
|
|
@@ -8556,12 +8638,12 @@
|
|
|
8556
8638
|
case 0:
|
|
8557
8639
|
this.w8_1 = 2;
|
|
8558
8640
|
this.v8_1 = 1;
|
|
8559
|
-
var this_0 = this.
|
|
8641
|
+
var this_0 = this.n44_1.s43_1;
|
|
8560
8642
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
8561
8643
|
var _iterator__ex2g4s = this_0.j();
|
|
8562
8644
|
while (_iterator__ex2g4s.k()) {
|
|
8563
8645
|
var item = _iterator__ex2g4s.l();
|
|
8564
|
-
var tmp0_safe_receiver = item.
|
|
8646
|
+
var tmp0_safe_receiver = item.v42_1;
|
|
8565
8647
|
var tmp_0;
|
|
8566
8648
|
if (tmp0_safe_receiver == null) {
|
|
8567
8649
|
tmp_0 = null;
|
|
@@ -8571,7 +8653,7 @@
|
|
|
8571
8653
|
var tmp1_elvis_lhs = tmp_0;
|
|
8572
8654
|
var tmp_1;
|
|
8573
8655
|
if (tmp1_elvis_lhs == null) {
|
|
8574
|
-
tmp_1 = async(this.
|
|
8656
|
+
tmp_1 = async(this.q44_1, VOID, VOID, PageCollectionPage$buildPagesFromParsedPages$slambda$slambda_0(item, this.n44_1, this.o44_1, this.p44_1, null));
|
|
8575
8657
|
} else {
|
|
8576
8658
|
tmp_1 = tmp1_elvis_lhs;
|
|
8577
8659
|
}
|
|
@@ -8602,22 +8684,22 @@
|
|
|
8602
8684
|
while (true);
|
|
8603
8685
|
};
|
|
8604
8686
|
protoOf(PageCollectionPage$buildPagesFromParsedPages$slambda).b19 = function ($this$coroutineScope, completion) {
|
|
8605
|
-
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.
|
|
8606
|
-
i.
|
|
8687
|
+
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this.n44_1, this.o44_1, this.p44_1, completion);
|
|
8688
|
+
i.q44_1 = $this$coroutineScope;
|
|
8607
8689
|
return i;
|
|
8608
8690
|
};
|
|
8609
8691
|
function PageCollectionPage$buildPagesFromParsedPages$slambda_0(this$0, $parseFile, $pageIndex$delegate, resultContinuation) {
|
|
8610
8692
|
var i = new PageCollectionPage$buildPagesFromParsedPages$slambda(this$0, $parseFile, $pageIndex$delegate, resultContinuation);
|
|
8611
8693
|
var l = function ($this$coroutineScope, $completion) {
|
|
8612
|
-
return i.
|
|
8694
|
+
return i.r44($this$coroutineScope, $completion);
|
|
8613
8695
|
};
|
|
8614
8696
|
l.$arity = 1;
|
|
8615
8697
|
return l;
|
|
8616
8698
|
}
|
|
8617
8699
|
function $buildPagesFromParsedPagesCOROUTINE$3(_this__u8e3s4, parseFile, resultContinuation) {
|
|
8618
8700
|
CoroutineImpl.call(this, resultContinuation);
|
|
8619
|
-
this.
|
|
8620
|
-
this.
|
|
8701
|
+
this.c44_1 = _this__u8e3s4;
|
|
8702
|
+
this.d44_1 = parseFile;
|
|
8621
8703
|
}
|
|
8622
8704
|
protoOf($buildPagesFromParsedPagesCOROUTINE$3).d9 = function () {
|
|
8623
8705
|
var suspendResult = this.x8_1;
|
|
@@ -8628,9 +8710,9 @@
|
|
|
8628
8710
|
case 0:
|
|
8629
8711
|
this.w8_1 = 2;
|
|
8630
8712
|
var tmp_0 = this;
|
|
8631
|
-
tmp_0.
|
|
8713
|
+
tmp_0.e44_1 = lazy(PageCollectionPage$buildPagesFromParsedPages$lambda(this.c44_1));
|
|
8632
8714
|
this.v8_1 = 1;
|
|
8633
|
-
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.
|
|
8715
|
+
suspendResult = coroutineScope(PageCollectionPage$buildPagesFromParsedPages$slambda_0(this.c44_1, this.d44_1, this.e44_1, null), this);
|
|
8634
8716
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8635
8717
|
return suspendResult;
|
|
8636
8718
|
}
|
|
@@ -8638,7 +8720,7 @@
|
|
|
8638
8720
|
continue $sm;
|
|
8639
8721
|
case 1:
|
|
8640
8722
|
var ARGUMENT = suspendResult;
|
|
8641
|
-
_set_pages__j2nojl_0(this.
|
|
8723
|
+
_set_pages__j2nojl_0(this.c44_1, ARGUMENT);
|
|
8642
8724
|
return Unit_instance;
|
|
8643
8725
|
case 2:
|
|
8644
8726
|
throw this.y8_1;
|
|
@@ -8655,16 +8737,16 @@
|
|
|
8655
8737
|
while (true);
|
|
8656
8738
|
};
|
|
8657
8739
|
protoOf(PageCollectionPage).v3g = function () {
|
|
8658
|
-
return this.
|
|
8740
|
+
return this.r43_1;
|
|
8659
8741
|
};
|
|
8660
8742
|
protoOf(PageCollectionPage).g3k = function () {
|
|
8661
|
-
return this.
|
|
8743
|
+
return this.t43_1.b3r(this, pages$factory_2());
|
|
8662
8744
|
};
|
|
8663
8745
|
protoOf(PageCollectionPage).h3k = function (type) {
|
|
8664
8746
|
return type.equals(getKClass(ContentPage));
|
|
8665
8747
|
};
|
|
8666
8748
|
function PageCollectionPage() {
|
|
8667
|
-
this.
|
|
8749
|
+
this.t43_1 = setOnce();
|
|
8668
8750
|
}
|
|
8669
8751
|
function pages$factory_1() {
|
|
8670
8752
|
return getPropertyCallableRef('pages', 1, KMutableProperty1, function (receiver) {
|
|
@@ -8680,10 +8762,10 @@
|
|
|
8680
8762
|
return _set_pages__j2nojl_0(receiver, value);
|
|
8681
8763
|
});
|
|
8682
8764
|
}
|
|
8683
|
-
function
|
|
8765
|
+
function Companion_48() {
|
|
8684
8766
|
this.o3p_1 = 'items';
|
|
8685
8767
|
}
|
|
8686
|
-
protoOf(
|
|
8768
|
+
protoOf(Companion_48).p3p = function (_this__u8e3s4, manifest) {
|
|
8687
8769
|
// Inline function 'kotlin.collections.buildList' call
|
|
8688
8770
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
8689
8771
|
// Inline function 'kotlin.apply' call
|
|
@@ -8694,7 +8776,7 @@
|
|
|
8694
8776
|
if (!(_this__u8e3s4.p3b() === 2))
|
|
8695
8777
|
continue $l$loop_0;
|
|
8696
8778
|
if (_this__u8e3s4.q3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8697
|
-
var tmp1_safe_receiver =
|
|
8779
|
+
var tmp1_safe_receiver = Companion_instance_49.s44(manifest, _this__u8e3s4);
|
|
8698
8780
|
if (tmp1_safe_receiver == null)
|
|
8699
8781
|
null;
|
|
8700
8782
|
else {
|
|
@@ -8708,8 +8790,8 @@
|
|
|
8708
8790
|
}
|
|
8709
8791
|
return this_0.k3();
|
|
8710
8792
|
};
|
|
8711
|
-
protoOf(
|
|
8712
|
-
parser.
|
|
8793
|
+
protoOf(Companion_48).s44 = function (manifest, parser) {
|
|
8794
|
+
parser.t44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8713
8795
|
var tmp;
|
|
8714
8796
|
if (parser.q3b() === 'https://mobile-content-api.cru.org/xmlns/shareable') {
|
|
8715
8797
|
tmp = parser.l2() === 'image' ? ShareableImage_init_$Create$(manifest, parser) : null;
|
|
@@ -8718,14 +8800,14 @@
|
|
|
8718
8800
|
}
|
|
8719
8801
|
return tmp;
|
|
8720
8802
|
};
|
|
8721
|
-
var
|
|
8722
|
-
function
|
|
8723
|
-
return
|
|
8803
|
+
var Companion_instance_49;
|
|
8804
|
+
function Companion_getInstance_51() {
|
|
8805
|
+
return Companion_instance_49;
|
|
8724
8806
|
}
|
|
8725
8807
|
function Shareable_init_$Init$(parent, parser, $this) {
|
|
8726
8808
|
BaseModel.call($this, parent);
|
|
8727
8809
|
Shareable.call($this);
|
|
8728
|
-
parser.
|
|
8810
|
+
parser.t44(2, 'https://mobile-content-api.cru.org/xmlns/shareable');
|
|
8729
8811
|
$this.u3p_1 = parser.d3d('id');
|
|
8730
8812
|
var tmp = $this;
|
|
8731
8813
|
var tmp0_safe_receiver = parser.d3d('order');
|
|
@@ -8738,18 +8820,18 @@
|
|
|
8738
8820
|
};
|
|
8739
8821
|
function Shareable() {
|
|
8740
8822
|
}
|
|
8741
|
-
function
|
|
8742
|
-
this.
|
|
8823
|
+
function Companion_49() {
|
|
8824
|
+
this.u44_1 = 'image';
|
|
8743
8825
|
}
|
|
8744
|
-
var
|
|
8745
|
-
function
|
|
8746
|
-
return
|
|
8826
|
+
var Companion_instance_50;
|
|
8827
|
+
function Companion_getInstance_52() {
|
|
8828
|
+
return Companion_instance_50;
|
|
8747
8829
|
}
|
|
8748
8830
|
function ShareableImage_init_$Init$(manifest, parser, $this) {
|
|
8749
8831
|
Shareable_init_$Init$(manifest, parser, $this);
|
|
8750
8832
|
ShareableImage.call($this);
|
|
8751
8833
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/shareable', 'image');
|
|
8752
|
-
$this.
|
|
8834
|
+
$this.y44_1 = parser.d3d('resource');
|
|
8753
8835
|
var description = null;
|
|
8754
8836
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
8755
8837
|
$l$loop_0: while (!(parser.l() === 3)) {
|
|
@@ -8763,7 +8845,7 @@
|
|
|
8763
8845
|
continue $l$loop_0;
|
|
8764
8846
|
skipTag(parser);
|
|
8765
8847
|
}
|
|
8766
|
-
$this.
|
|
8848
|
+
$this.z44_1 = description;
|
|
8767
8849
|
return $this;
|
|
8768
8850
|
}
|
|
8769
8851
|
function ShareableImage_init_$Create$(manifest, parser) {
|
|
@@ -8771,16 +8853,16 @@
|
|
|
8771
8853
|
}
|
|
8772
8854
|
protoOf(ShareableImage).i3c = function () {
|
|
8773
8855
|
var tmp0_elvis_lhs = protoOf(Shareable).i3c.call(this);
|
|
8774
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8856
|
+
return tmp0_elvis_lhs == null ? this.y44_1 : tmp0_elvis_lhs;
|
|
8775
8857
|
};
|
|
8776
8858
|
function ShareableImage() {
|
|
8777
8859
|
}
|
|
8778
|
-
function
|
|
8779
|
-
this.
|
|
8860
|
+
function Companion_50() {
|
|
8861
|
+
this.a45_1 = 'tip';
|
|
8780
8862
|
}
|
|
8781
|
-
var
|
|
8782
|
-
function
|
|
8783
|
-
return
|
|
8863
|
+
var Companion_instance_51;
|
|
8864
|
+
function Companion_getInstance_53() {
|
|
8865
|
+
return Companion_instance_51;
|
|
8784
8866
|
}
|
|
8785
8867
|
function InlineTip_init_$Init$(parent, parser, $this) {
|
|
8786
8868
|
Content_init_$Init$(parent, parser, $this);
|
|
@@ -8806,7 +8888,7 @@
|
|
|
8806
8888
|
protoOf(InlineTip).i3c = function () {
|
|
8807
8889
|
return this.id;
|
|
8808
8890
|
};
|
|
8809
|
-
protoOf(InlineTip).
|
|
8891
|
+
protoOf(InlineTip).h45 = function () {
|
|
8810
8892
|
return this.s38().k3r(this.id);
|
|
8811
8893
|
};
|
|
8812
8894
|
protoOf(InlineTip).u3c = function () {
|
|
@@ -8819,11 +8901,11 @@
|
|
|
8819
8901
|
var Type_TIP_instance;
|
|
8820
8902
|
var Type_PREPARE_instance;
|
|
8821
8903
|
var Type_QUOTE_instance;
|
|
8822
|
-
function
|
|
8823
|
-
|
|
8824
|
-
this.
|
|
8904
|
+
function Companion_51() {
|
|
8905
|
+
Companion_instance_52 = this;
|
|
8906
|
+
this.i45_1 = Type_TIP_getInstance();
|
|
8825
8907
|
}
|
|
8826
|
-
protoOf(
|
|
8908
|
+
protoOf(Companion_51).x3k = function (_this__u8e3s4) {
|
|
8827
8909
|
switch (_this__u8e3s4) {
|
|
8828
8910
|
case 'tip':
|
|
8829
8911
|
return Type_TIP_getInstance();
|
|
@@ -8839,12 +8921,12 @@
|
|
|
8839
8921
|
return null;
|
|
8840
8922
|
}
|
|
8841
8923
|
};
|
|
8842
|
-
var
|
|
8843
|
-
function
|
|
8924
|
+
var Companion_instance_52;
|
|
8925
|
+
function Companion_getInstance_54() {
|
|
8844
8926
|
Type_initEntries_2();
|
|
8845
|
-
if (
|
|
8846
|
-
new
|
|
8847
|
-
return
|
|
8927
|
+
if (Companion_instance_52 == null)
|
|
8928
|
+
new Companion_51();
|
|
8929
|
+
return Companion_instance_52;
|
|
8848
8930
|
}
|
|
8849
8931
|
var Type_entriesInitialized_2;
|
|
8850
8932
|
function Type_initEntries_2() {
|
|
@@ -8856,7 +8938,7 @@
|
|
|
8856
8938
|
Type_TIP_instance = new Type_2('TIP', 2);
|
|
8857
8939
|
Type_PREPARE_instance = new Type_2('PREPARE', 3);
|
|
8858
8940
|
Type_QUOTE_instance = new Type_2('QUOTE', 4);
|
|
8859
|
-
|
|
8941
|
+
Companion_getInstance_54();
|
|
8860
8942
|
}
|
|
8861
8943
|
function Tip_init_$Init$(manifest, id, parser, $this) {
|
|
8862
8944
|
BaseModel.call($this, manifest);
|
|
@@ -8865,8 +8947,8 @@
|
|
|
8865
8947
|
$this.g3o_1 = id;
|
|
8866
8948
|
var tmp = $this;
|
|
8867
8949
|
var tmp0_safe_receiver = parser.d3d('type');
|
|
8868
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null :
|
|
8869
|
-
tmp.h3o_1 = tmp1_elvis_lhs == null ?
|
|
8950
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_54().x3k(tmp0_safe_receiver);
|
|
8951
|
+
tmp.h3o_1 = tmp1_elvis_lhs == null ? Companion_getInstance_54().i45_1 : tmp1_elvis_lhs;
|
|
8870
8952
|
var tmp_0 = $this;
|
|
8871
8953
|
// Inline function 'kotlin.collections.buildList' call
|
|
8872
8954
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -8894,7 +8976,7 @@
|
|
|
8894
8976
|
function Tip_init_$Init$_0(manifest, id, type, $this) {
|
|
8895
8977
|
manifest = manifest === VOID ? null : manifest;
|
|
8896
8978
|
id = id === VOID ? '' : id;
|
|
8897
|
-
type = type === VOID ?
|
|
8979
|
+
type = type === VOID ? Companion_getInstance_54().i45_1 : type;
|
|
8898
8980
|
BaseModel.call($this, manifest);
|
|
8899
8981
|
Tip.call($this);
|
|
8900
8982
|
$this.g3o_1 = id;
|
|
@@ -8960,19 +9042,19 @@
|
|
|
8960
9042
|
};
|
|
8961
9043
|
function Tip() {
|
|
8962
9044
|
}
|
|
8963
|
-
function
|
|
8964
|
-
this.
|
|
9045
|
+
function Companion_52() {
|
|
9046
|
+
this.j45_1 = 'page';
|
|
8965
9047
|
}
|
|
8966
|
-
var
|
|
8967
|
-
function
|
|
8968
|
-
return
|
|
9048
|
+
var Companion_instance_53;
|
|
9049
|
+
function Companion_getInstance_55() {
|
|
9050
|
+
return Companion_instance_53;
|
|
8969
9051
|
}
|
|
8970
9052
|
function TipPage_init_$Init$(tip, position, parser, $this) {
|
|
8971
9053
|
BaseModel.call($this, tip);
|
|
8972
9054
|
TipPage.call($this);
|
|
8973
9055
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/training', 'page');
|
|
8974
|
-
$this.
|
|
8975
|
-
$this.
|
|
9056
|
+
$this.l45_1 = tip;
|
|
9057
|
+
$this.m45_1 = position;
|
|
8976
9058
|
var tmp = $this;
|
|
8977
9059
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
8978
9060
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9014,31 +9096,31 @@
|
|
|
9014
9096
|
continue $l$loop_0;
|
|
9015
9097
|
skipTag(parser);
|
|
9016
9098
|
}
|
|
9017
|
-
tmp.
|
|
9099
|
+
tmp.n45_1 = this_0.k3();
|
|
9018
9100
|
return $this;
|
|
9019
9101
|
}
|
|
9020
9102
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9021
9103
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9022
9104
|
}
|
|
9023
9105
|
protoOf(TipPage).k3c = function () {
|
|
9024
|
-
return this.
|
|
9106
|
+
return this.n45_1;
|
|
9025
9107
|
};
|
|
9026
9108
|
function TipPage() {
|
|
9027
9109
|
}
|
|
9028
|
-
function
|
|
9029
|
-
this.
|
|
9110
|
+
function Companion_53() {
|
|
9111
|
+
this.o45_1 = 'call-to-action';
|
|
9030
9112
|
}
|
|
9031
|
-
var
|
|
9032
|
-
function
|
|
9033
|
-
return
|
|
9113
|
+
var Companion_instance_54;
|
|
9114
|
+
function Companion_getInstance_56() {
|
|
9115
|
+
return Companion_instance_54;
|
|
9034
9116
|
}
|
|
9035
9117
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9036
9118
|
BaseModel.call($this, parent);
|
|
9037
9119
|
CallToAction.call($this);
|
|
9038
|
-
$this.
|
|
9120
|
+
$this.q45_1 = parent;
|
|
9039
9121
|
$this.label = null;
|
|
9040
|
-
$this.
|
|
9041
|
-
$this.
|
|
9122
|
+
$this.r45_1 = null;
|
|
9123
|
+
$this.s45_1 = null;
|
|
9042
9124
|
return $this;
|
|
9043
9125
|
}
|
|
9044
9126
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9048,11 +9130,11 @@
|
|
|
9048
9130
|
BaseModel.call($this, page);
|
|
9049
9131
|
CallToAction.call($this);
|
|
9050
9132
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9051
|
-
$this.
|
|
9133
|
+
$this.q45_1 = page;
|
|
9052
9134
|
var tmp = $this;
|
|
9053
9135
|
var tmp0_safe_receiver = parser.d3d('control-color');
|
|
9054
|
-
tmp.
|
|
9055
|
-
$this.
|
|
9136
|
+
tmp.r45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9137
|
+
$this.s45_1 = parser.n3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9056
9138
|
$this.label = parseTextChild(parser, $this, 'https://mobile-content-api.cru.org/xmlns/tract', 'call-to-action');
|
|
9057
9139
|
return $this;
|
|
9058
9140
|
}
|
|
@@ -9066,11 +9148,11 @@
|
|
|
9066
9148
|
tip = tip === VOID ? null : tip;
|
|
9067
9149
|
BaseModel.call($this, page);
|
|
9068
9150
|
CallToAction.call($this);
|
|
9069
|
-
$this.
|
|
9151
|
+
$this.q45_1 = page;
|
|
9070
9152
|
var tmp = $this;
|
|
9071
9153
|
tmp.label = label == null ? null : label($this);
|
|
9072
|
-
$this.
|
|
9073
|
-
$this.
|
|
9154
|
+
$this.r45_1 = controlColor;
|
|
9155
|
+
$this.s45_1 = tip;
|
|
9074
9156
|
return $this;
|
|
9075
9157
|
}
|
|
9076
9158
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
@@ -9079,33 +9161,33 @@
|
|
|
9079
9161
|
protoOf(CallToAction).i3l = function () {
|
|
9080
9162
|
return this.label;
|
|
9081
9163
|
};
|
|
9082
|
-
protoOf(CallToAction).
|
|
9083
|
-
var tmp0_elvis_lhs = this.
|
|
9164
|
+
protoOf(CallToAction).t45 = function () {
|
|
9165
|
+
var tmp0_elvis_lhs = this.r45_1;
|
|
9084
9166
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(get_stylesParent(this)) : tmp0_elvis_lhs;
|
|
9085
9167
|
};
|
|
9086
|
-
protoOf(CallToAction).
|
|
9087
|
-
return this.
|
|
9168
|
+
protoOf(CallToAction).u45 = function () {
|
|
9169
|
+
return this.s45_1;
|
|
9088
9170
|
};
|
|
9089
|
-
protoOf(CallToAction).
|
|
9090
|
-
return this.s38().k3r(this.
|
|
9171
|
+
protoOf(CallToAction).h45 = function () {
|
|
9172
|
+
return this.s38().k3r(this.s45_1);
|
|
9091
9173
|
};
|
|
9092
9174
|
function CallToAction() {
|
|
9093
9175
|
}
|
|
9094
|
-
function
|
|
9095
|
-
this.
|
|
9176
|
+
function Companion_54() {
|
|
9177
|
+
this.v45_1 = 'header';
|
|
9096
9178
|
}
|
|
9097
|
-
var
|
|
9098
|
-
function
|
|
9099
|
-
return
|
|
9179
|
+
var Companion_instance_55;
|
|
9180
|
+
function Companion_getInstance_57() {
|
|
9181
|
+
return Companion_instance_55;
|
|
9100
9182
|
}
|
|
9101
|
-
function Header_init_$Init$(page, parser, $this) {
|
|
9183
|
+
function Header_init_$Init$_0(page, parser, $this) {
|
|
9102
9184
|
BaseModel.call($this, page);
|
|
9103
|
-
|
|
9185
|
+
Header_0.call($this);
|
|
9104
9186
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'header');
|
|
9105
9187
|
var tmp = $this;
|
|
9106
9188
|
var tmp0_safe_receiver = parser.d3d('background-color');
|
|
9107
|
-
tmp.
|
|
9108
|
-
$this.
|
|
9189
|
+
tmp.x45_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9190
|
+
$this.y45_1 = parser.n3p('https://mobile-content-api.cru.org/xmlns/training', 'tip');
|
|
9109
9191
|
var number = null;
|
|
9110
9192
|
var title = null;
|
|
9111
9193
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9127,39 +9209,39 @@
|
|
|
9127
9209
|
$this.title = title;
|
|
9128
9210
|
return $this;
|
|
9129
9211
|
}
|
|
9130
|
-
function Header_init_$Create$(page, parser) {
|
|
9131
|
-
return Header_init_$Init$(page, parser, objectCreate(protoOf(
|
|
9212
|
+
function Header_init_$Create$_0(page, parser) {
|
|
9213
|
+
return Header_init_$Init$_0(page, parser, objectCreate(protoOf(Header_0)));
|
|
9132
9214
|
}
|
|
9133
|
-
protoOf(
|
|
9134
|
-
var tmp0_elvis_lhs = this.
|
|
9215
|
+
protoOf(Header_0).i3q = function () {
|
|
9216
|
+
var tmp0_elvis_lhs = this.x45_1;
|
|
9135
9217
|
return tmp0_elvis_lhs == null ? this.q3h() : tmp0_elvis_lhs;
|
|
9136
9218
|
};
|
|
9137
|
-
protoOf(
|
|
9219
|
+
protoOf(Header_0).o3h = function () {
|
|
9138
9220
|
return this.r3h();
|
|
9139
9221
|
};
|
|
9140
|
-
protoOf(
|
|
9222
|
+
protoOf(Header_0).ji = function () {
|
|
9141
9223
|
return this.number;
|
|
9142
9224
|
};
|
|
9143
|
-
protoOf(
|
|
9225
|
+
protoOf(Header_0).n3q = function () {
|
|
9144
9226
|
return this.title;
|
|
9145
9227
|
};
|
|
9146
|
-
protoOf(
|
|
9147
|
-
return this.
|
|
9228
|
+
protoOf(Header_0).u45 = function () {
|
|
9229
|
+
return this.y45_1;
|
|
9148
9230
|
};
|
|
9149
|
-
protoOf(
|
|
9150
|
-
return this.s38().k3r(this.
|
|
9231
|
+
protoOf(Header_0).h45 = function () {
|
|
9232
|
+
return this.s38().k3r(this.y45_1);
|
|
9151
9233
|
};
|
|
9152
|
-
function
|
|
9234
|
+
function Header_0() {
|
|
9153
9235
|
}
|
|
9154
|
-
function
|
|
9155
|
-
this.
|
|
9236
|
+
function Companion_55() {
|
|
9237
|
+
this.z45_1 = 'hero';
|
|
9156
9238
|
}
|
|
9157
|
-
var
|
|
9158
|
-
function
|
|
9159
|
-
return
|
|
9239
|
+
var Companion_instance_56;
|
|
9240
|
+
function Companion_getInstance_58() {
|
|
9241
|
+
return Companion_instance_56;
|
|
9160
9242
|
}
|
|
9161
9243
|
function _get_headingParent__2ts5bv($this) {
|
|
9162
|
-
var tmp0 = $this.
|
|
9244
|
+
var tmp0 = $this.b46_1;
|
|
9163
9245
|
// Inline function 'kotlin.getValue' call
|
|
9164
9246
|
headingParent$factory();
|
|
9165
9247
|
return tmp0.c2();
|
|
@@ -9170,7 +9252,7 @@
|
|
|
9170
9252
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'hero');
|
|
9171
9253
|
var tmp = $this;
|
|
9172
9254
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9173
|
-
tmp.
|
|
9255
|
+
tmp.d46_1 = ArrayList_init_$Create$();
|
|
9174
9256
|
var heading = null;
|
|
9175
9257
|
var tmp_0 = $this;
|
|
9176
9258
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9187,7 +9269,7 @@
|
|
|
9187
9269
|
var tmp0_subject = parser.q3b();
|
|
9188
9270
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9189
9271
|
if (parser.l2() === 'events') {
|
|
9190
|
-
var tmp0 = $this.
|
|
9272
|
+
var tmp0 = $this.d46_1;
|
|
9191
9273
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9192
9274
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
9193
9275
|
addAll(tmp0, elements);
|
|
@@ -9225,7 +9307,7 @@
|
|
|
9225
9307
|
continue $l$loop_0;
|
|
9226
9308
|
skipTag(parser);
|
|
9227
9309
|
}
|
|
9228
|
-
tmp_0.
|
|
9310
|
+
tmp_0.c46_1 = this_0.k3();
|
|
9229
9311
|
$this.heading = heading;
|
|
9230
9312
|
return $this;
|
|
9231
9313
|
}
|
|
@@ -9238,10 +9320,10 @@
|
|
|
9238
9320
|
heading = heading === VOID ? null : heading;
|
|
9239
9321
|
BaseModel.call($this, page);
|
|
9240
9322
|
Hero.call($this);
|
|
9241
|
-
$this.
|
|
9323
|
+
$this.d46_1 = analyticsEvents;
|
|
9242
9324
|
var tmp = $this;
|
|
9243
9325
|
tmp.heading = heading == null ? null : heading(_get_headingParent__2ts5bv($this));
|
|
9244
|
-
$this.
|
|
9326
|
+
$this.c46_1 = emptyList();
|
|
9245
9327
|
return $this;
|
|
9246
9328
|
}
|
|
9247
9329
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -9257,14 +9339,14 @@
|
|
|
9257
9339
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
9258
9340
|
};
|
|
9259
9341
|
}
|
|
9260
|
-
protoOf(Hero).
|
|
9342
|
+
protoOf(Hero).e46 = function () {
|
|
9261
9343
|
return this.heading;
|
|
9262
9344
|
};
|
|
9263
9345
|
protoOf(Hero).k3c = function () {
|
|
9264
|
-
return this.
|
|
9346
|
+
return this.c46_1;
|
|
9265
9347
|
};
|
|
9266
9348
|
protoOf(Hero).v3g = function () {
|
|
9267
|
-
return this.
|
|
9349
|
+
return this.d46_1;
|
|
9268
9350
|
};
|
|
9269
9351
|
protoOf(Hero).l3c = function (type) {
|
|
9270
9352
|
var tmp;
|
|
@@ -9272,7 +9354,7 @@
|
|
|
9272
9354
|
case 0:
|
|
9273
9355
|
// Inline function 'kotlin.collections.filter' call
|
|
9274
9356
|
|
|
9275
|
-
var tmp0 = this.
|
|
9357
|
+
var tmp0 = this.d46_1;
|
|
9276
9358
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9277
9359
|
|
|
9278
9360
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9289,7 +9371,7 @@
|
|
|
9289
9371
|
case 1:
|
|
9290
9372
|
// Inline function 'kotlin.collections.filter' call
|
|
9291
9373
|
|
|
9292
|
-
var tmp0_0 = this.
|
|
9374
|
+
var tmp0_0 = this.d46_1;
|
|
9293
9375
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9294
9376
|
|
|
9295
9377
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9314,19 +9396,19 @@
|
|
|
9314
9396
|
};
|
|
9315
9397
|
function Hero() {
|
|
9316
9398
|
var tmp = this;
|
|
9317
|
-
tmp.
|
|
9399
|
+
tmp.b46_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
9318
9400
|
}
|
|
9319
9401
|
function headingParent$factory() {
|
|
9320
9402
|
return getPropertyCallableRef('headingParent', 1, KProperty1, function (receiver) {
|
|
9321
9403
|
return _get_headingParent__2ts5bv(receiver);
|
|
9322
9404
|
}, null);
|
|
9323
9405
|
}
|
|
9324
|
-
function
|
|
9325
|
-
this.
|
|
9406
|
+
function Companion_56() {
|
|
9407
|
+
this.f46_1 = 'modal';
|
|
9326
9408
|
}
|
|
9327
|
-
var
|
|
9328
|
-
function
|
|
9329
|
-
return
|
|
9409
|
+
var Companion_instance_57;
|
|
9410
|
+
function Companion_getInstance_59() {
|
|
9411
|
+
return Companion_instance_57;
|
|
9330
9412
|
}
|
|
9331
9413
|
function _get_position__iahqv2($this) {
|
|
9332
9414
|
return $this.page._modals.w1($this);
|
|
@@ -9384,14 +9466,14 @@
|
|
|
9384
9466
|
continue $l$loop_0;
|
|
9385
9467
|
skipTag(parser);
|
|
9386
9468
|
}
|
|
9387
|
-
tmp.
|
|
9469
|
+
tmp.b47_1 = this_0.k3();
|
|
9388
9470
|
$this.title = title;
|
|
9389
9471
|
return $this;
|
|
9390
9472
|
}
|
|
9391
9473
|
function Modal_init_$Create$(parent, parser) {
|
|
9392
9474
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
9393
9475
|
}
|
|
9394
|
-
protoOf(Modal).
|
|
9476
|
+
protoOf(Modal).u3z = function () {
|
|
9395
9477
|
return this.page;
|
|
9396
9478
|
};
|
|
9397
9479
|
protoOf(Modal).i3c = function () {
|
|
@@ -9401,7 +9483,7 @@
|
|
|
9401
9483
|
return this.title;
|
|
9402
9484
|
};
|
|
9403
9485
|
protoOf(Modal).k3c = function () {
|
|
9404
|
-
return this.
|
|
9486
|
+
return this.b47_1;
|
|
9405
9487
|
};
|
|
9406
9488
|
protoOf(Modal).q3u = function () {
|
|
9407
9489
|
return this._listeners;
|
|
@@ -9439,22 +9521,22 @@
|
|
|
9439
9521
|
};
|
|
9440
9522
|
function Modal() {
|
|
9441
9523
|
}
|
|
9442
|
-
function
|
|
9443
|
-
|
|
9444
|
-
this.
|
|
9445
|
-
this.
|
|
9446
|
-
this.
|
|
9447
|
-
this.
|
|
9448
|
-
this.
|
|
9524
|
+
function Companion_57() {
|
|
9525
|
+
Companion_instance_58 = this;
|
|
9526
|
+
this.c47_1 = 'card';
|
|
9527
|
+
this.d47_1 = 'label';
|
|
9528
|
+
this.e47_1 = 'hidden';
|
|
9529
|
+
this.f47_1 = ImageScaleType_FILL_X_getInstance();
|
|
9530
|
+
this.g47_1 = Companion_getInstance_22().CENTER;
|
|
9449
9531
|
}
|
|
9450
|
-
var
|
|
9451
|
-
function
|
|
9452
|
-
if (
|
|
9453
|
-
new
|
|
9454
|
-
return
|
|
9532
|
+
var Companion_instance_58;
|
|
9533
|
+
function Companion_getInstance_60() {
|
|
9534
|
+
if (Companion_instance_58 == null)
|
|
9535
|
+
new Companion_57();
|
|
9536
|
+
return Companion_instance_58;
|
|
9455
9537
|
}
|
|
9456
9538
|
function _get_labelParent__664ln7($this) {
|
|
9457
|
-
var tmp0 = $this.
|
|
9539
|
+
var tmp0 = $this.n47_1;
|
|
9458
9540
|
// Inline function 'kotlin.getValue' call
|
|
9459
9541
|
labelParent$factory();
|
|
9460
9542
|
return tmp0.c2();
|
|
@@ -9473,22 +9555,22 @@
|
|
|
9473
9555
|
$this._dismissListeners = toSet_0(toEventIds(parser.d3d('dismiss-listeners')));
|
|
9474
9556
|
var tmp_0 = $this;
|
|
9475
9557
|
var tmp2_safe_receiver = parser.d3d('background-color');
|
|
9476
|
-
tmp_0.
|
|
9477
|
-
$this.
|
|
9558
|
+
tmp_0.i47_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
9559
|
+
$this.j47_1 = parser.d3d('background-image');
|
|
9478
9560
|
var tmp_1 = $this;
|
|
9479
9561
|
var tmp3_safe_receiver = parser.d3d('background-image-align');
|
|
9480
9562
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().k3g(tmp3_safe_receiver);
|
|
9481
|
-
tmp_1.
|
|
9563
|
+
tmp_1.k47_1 = tmp4_elvis_lhs == null ? Companion_getInstance_60().g47_1 : tmp4_elvis_lhs;
|
|
9482
9564
|
var tmp_2 = $this;
|
|
9483
9565
|
var tmp5_safe_receiver = parser.d3d('background-image-scale-type');
|
|
9484
9566
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_instance_22.v3k(tmp5_safe_receiver);
|
|
9485
|
-
tmp_2.
|
|
9567
|
+
tmp_2.l47_1 = tmp6_elvis_lhs == null ? Companion_getInstance_60().f47_1 : tmp6_elvis_lhs;
|
|
9486
9568
|
var tmp_3 = $this;
|
|
9487
9569
|
var tmp7_safe_receiver = parser.d3d('text-color');
|
|
9488
|
-
tmp_3.
|
|
9570
|
+
tmp_3.m47_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
9489
9571
|
var tmp_4 = $this;
|
|
9490
9572
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
9491
|
-
tmp_4.
|
|
9573
|
+
tmp_4.p47_1 = ArrayList_init_$Create$();
|
|
9492
9574
|
var label = null;
|
|
9493
9575
|
var tmp_5 = $this;
|
|
9494
9576
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9505,7 +9587,7 @@
|
|
|
9505
9587
|
var tmp0_subject = parser.q3b();
|
|
9506
9588
|
if (tmp0_subject === 'https://mobile-content-api.cru.org/xmlns/analytics') {
|
|
9507
9589
|
if (parser.l2() === 'events') {
|
|
9508
|
-
var tmp0 = $this.
|
|
9590
|
+
var tmp0 = $this.p47_1;
|
|
9509
9591
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
9510
9592
|
var elements = Companion_instance_4.s3b(parser, $this);
|
|
9511
9593
|
addAll(tmp0, elements);
|
|
@@ -9543,7 +9625,7 @@
|
|
|
9543
9625
|
continue $l$loop_0;
|
|
9544
9626
|
skipTag(parser);
|
|
9545
9627
|
}
|
|
9546
|
-
tmp_5.
|
|
9628
|
+
tmp_5.o47_1 = this_0.k3();
|
|
9547
9629
|
$this.label = label;
|
|
9548
9630
|
return $this;
|
|
9549
9631
|
}
|
|
@@ -9555,8 +9637,8 @@
|
|
|
9555
9637
|
position = position === VOID ? 0 : position;
|
|
9556
9638
|
backgroundColor = backgroundColor === VOID ? null : backgroundColor;
|
|
9557
9639
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9558
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
9559
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
9640
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_60().g47_1 : backgroundImageGravity;
|
|
9641
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_60().f47_1 : backgroundImageScaleType;
|
|
9560
9642
|
isHidden = isHidden === VOID ? false : isHidden;
|
|
9561
9643
|
analyticsEvents = analyticsEvents === VOID ? emptyList() : analyticsEvents;
|
|
9562
9644
|
label = label === VOID ? null : label;
|
|
@@ -9568,18 +9650,18 @@
|
|
|
9568
9650
|
$this.isHidden = isHidden;
|
|
9569
9651
|
$this._listeners = emptySet();
|
|
9570
9652
|
$this._dismissListeners = emptySet();
|
|
9571
|
-
$this.
|
|
9572
|
-
$this.
|
|
9573
|
-
$this.
|
|
9574
|
-
$this.
|
|
9575
|
-
$this.
|
|
9576
|
-
$this.
|
|
9653
|
+
$this.p47_1 = analyticsEvents;
|
|
9654
|
+
$this.i47_1 = backgroundColor;
|
|
9655
|
+
$this.j47_1 = backgroundImage;
|
|
9656
|
+
$this.k47_1 = backgroundImageGravity;
|
|
9657
|
+
$this.l47_1 = backgroundImageScaleType;
|
|
9658
|
+
$this.m47_1 = null;
|
|
9577
9659
|
var tmp = $this;
|
|
9578
9660
|
tmp.label = label == null ? null : label(_get_labelParent__664ln7($this));
|
|
9579
9661
|
var tmp_0 = $this;
|
|
9580
9662
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
9581
9663
|
var tmp0_elvis_lhs = content == null ? null : content($this);
|
|
9582
|
-
tmp_0.
|
|
9664
|
+
tmp_0.o47_1 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
9583
9665
|
return $this;
|
|
9584
9666
|
}
|
|
9585
9667
|
function createTestCard(page, position, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, isHidden, analyticsEvents, label, content) {
|
|
@@ -9601,7 +9683,7 @@
|
|
|
9601
9683
|
parser.o3b(2, 'https://mobile-content-api.cru.org/xmlns/tract', 'page');
|
|
9602
9684
|
var tmp = $this;
|
|
9603
9685
|
var tmp0_safe_receiver = parser.d3d('card-text-color');
|
|
9604
|
-
tmp.
|
|
9686
|
+
tmp.z46_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9605
9687
|
var header = null;
|
|
9606
9688
|
var hero = null;
|
|
9607
9689
|
var tmp_0 = $this;
|
|
@@ -9618,7 +9700,7 @@
|
|
|
9618
9700
|
if (parser.q3b() === 'https://mobile-content-api.cru.org/xmlns/tract') {
|
|
9619
9701
|
switch (parser.l2()) {
|
|
9620
9702
|
case 'header':
|
|
9621
|
-
header = Header_init_$Create$($this, parser);
|
|
9703
|
+
header = Header_init_$Create$_0($this, parser);
|
|
9622
9704
|
break;
|
|
9623
9705
|
case 'hero':
|
|
9624
9706
|
hero = Hero_init_$Create$($this, parser);
|
|
@@ -9659,11 +9741,11 @@
|
|
|
9659
9741
|
function TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, $this) {
|
|
9660
9742
|
manifest = manifest === VOID ? createTestManifest() : manifest;
|
|
9661
9743
|
fileName = fileName === VOID ? null : fileName;
|
|
9662
|
-
backgroundColor = backgroundColor === VOID ?
|
|
9744
|
+
backgroundColor = backgroundColor === VOID ? Companion_getInstance_49().n3m_1 : backgroundColor;
|
|
9663
9745
|
backgroundImage = backgroundImage === VOID ? null : backgroundImage;
|
|
9664
9746
|
primaryColor = primaryColor === VOID ? null : primaryColor;
|
|
9665
|
-
backgroundImageGravity = backgroundImageGravity === VOID ?
|
|
9666
|
-
backgroundImageScaleType = backgroundImageScaleType === VOID ?
|
|
9747
|
+
backgroundImageGravity = backgroundImageGravity === VOID ? Companion_getInstance_49().o3m_1 : backgroundImageGravity;
|
|
9748
|
+
backgroundImageScaleType = backgroundImageScaleType === VOID ? Companion_getInstance_49().p3m_1 : backgroundImageScaleType;
|
|
9667
9749
|
textColor = textColor === VOID ? null : textColor;
|
|
9668
9750
|
textScale = textScale === VOID ? 1.0 : textScale;
|
|
9669
9751
|
cardBackgroundColor = cardBackgroundColor === VOID ? null : cardBackgroundColor;
|
|
@@ -9672,7 +9754,7 @@
|
|
|
9672
9754
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
9673
9755
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, VOID, VOID, textColor, textScale, $this);
|
|
9674
9756
|
TractPage.call($this);
|
|
9675
|
-
$this.
|
|
9757
|
+
$this.z46_1 = cardTextColor;
|
|
9676
9758
|
$this.header = null;
|
|
9677
9759
|
$this.hero = null;
|
|
9678
9760
|
var tmp = $this;
|
|
@@ -9688,7 +9770,7 @@
|
|
|
9688
9770
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
9689
9771
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
9690
9772
|
}
|
|
9691
|
-
protoOf(Card_1).
|
|
9773
|
+
protoOf(Card_1).u3z = function () {
|
|
9692
9774
|
return this.page;
|
|
9693
9775
|
};
|
|
9694
9776
|
protoOf(Card_1).i3c = function () {
|
|
@@ -9697,7 +9779,7 @@
|
|
|
9697
9779
|
protoOf(Card_1).p3u = function () {
|
|
9698
9780
|
return this.position;
|
|
9699
9781
|
};
|
|
9700
|
-
protoOf(Card_1).
|
|
9782
|
+
protoOf(Card_1).q47 = function () {
|
|
9701
9783
|
// Inline function 'kotlin.takeUnless' call
|
|
9702
9784
|
var this_0 = this.page.visibleCards.w1(this);
|
|
9703
9785
|
var tmp;
|
|
@@ -9708,7 +9790,7 @@
|
|
|
9708
9790
|
}
|
|
9709
9791
|
return tmp;
|
|
9710
9792
|
};
|
|
9711
|
-
protoOf(Card_1).
|
|
9793
|
+
protoOf(Card_1).r47 = function () {
|
|
9712
9794
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
9713
9795
|
};
|
|
9714
9796
|
protoOf(Card_1).k3y = function () {
|
|
@@ -9721,27 +9803,27 @@
|
|
|
9721
9803
|
return this._dismissListeners;
|
|
9722
9804
|
};
|
|
9723
9805
|
protoOf(Card_1).i3q = function () {
|
|
9724
|
-
var tmp0_elvis_lhs = this.
|
|
9806
|
+
var tmp0_elvis_lhs = this.i47_1;
|
|
9725
9807
|
return tmp0_elvis_lhs == null ? this.page.t3h() : tmp0_elvis_lhs;
|
|
9726
9808
|
};
|
|
9727
9809
|
protoOf(Card_1).j3q = function () {
|
|
9728
|
-
return getResource(this, this.
|
|
9810
|
+
return getResource(this, this.j47_1);
|
|
9729
9811
|
};
|
|
9730
9812
|
protoOf(Card_1).k3q = function () {
|
|
9731
|
-
return this.
|
|
9813
|
+
return this.k47_1;
|
|
9732
9814
|
};
|
|
9733
9815
|
protoOf(Card_1).l3q = function () {
|
|
9734
|
-
return this.
|
|
9816
|
+
return this.l47_1;
|
|
9735
9817
|
};
|
|
9736
9818
|
protoOf(Card_1).o3h = function () {
|
|
9737
|
-
var tmp0_elvis_lhs = this.
|
|
9819
|
+
var tmp0_elvis_lhs = this.m47_1;
|
|
9738
9820
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
9739
9821
|
};
|
|
9740
9822
|
protoOf(Card_1).i3l = function () {
|
|
9741
9823
|
return this.label;
|
|
9742
9824
|
};
|
|
9743
9825
|
protoOf(Card_1).k3c = function () {
|
|
9744
|
-
return this.
|
|
9826
|
+
return this.o47_1;
|
|
9745
9827
|
};
|
|
9746
9828
|
protoOf(Card_1).u3c = function () {
|
|
9747
9829
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.contentTips' call
|
|
@@ -9758,7 +9840,7 @@
|
|
|
9758
9840
|
return destination;
|
|
9759
9841
|
};
|
|
9760
9842
|
protoOf(Card_1).v3g = function () {
|
|
9761
|
-
return this.
|
|
9843
|
+
return this.p47_1;
|
|
9762
9844
|
};
|
|
9763
9845
|
protoOf(Card_1).l3c = function (type) {
|
|
9764
9846
|
var tmp;
|
|
@@ -9766,7 +9848,7 @@
|
|
|
9766
9848
|
case 0:
|
|
9767
9849
|
// Inline function 'kotlin.collections.filter' call
|
|
9768
9850
|
|
|
9769
|
-
var tmp0 = this.
|
|
9851
|
+
var tmp0 = this.p47_1;
|
|
9770
9852
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9771
9853
|
|
|
9772
9854
|
var destination = ArrayList_init_$Create$();
|
|
@@ -9783,7 +9865,7 @@
|
|
|
9783
9865
|
case 1:
|
|
9784
9866
|
// Inline function 'kotlin.collections.filter' call
|
|
9785
9867
|
|
|
9786
|
-
var tmp0_0 = this.
|
|
9868
|
+
var tmp0_0 = this.p47_1;
|
|
9787
9869
|
// Inline function 'kotlin.collections.filterTo' call
|
|
9788
9870
|
|
|
9789
9871
|
var destination_0 = ArrayList_init_$Create$();
|
|
@@ -9817,9 +9899,9 @@
|
|
|
9817
9899
|
return copyToArray(this_0);
|
|
9818
9900
|
};
|
|
9819
9901
|
function Card_1() {
|
|
9820
|
-
|
|
9902
|
+
Companion_getInstance_60();
|
|
9821
9903
|
var tmp = this;
|
|
9822
|
-
tmp.
|
|
9904
|
+
tmp.n47_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
9823
9905
|
}
|
|
9824
9906
|
function parseCardsXml($this, _this__u8e3s4) {
|
|
9825
9907
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9863,22 +9945,22 @@
|
|
|
9863
9945
|
}
|
|
9864
9946
|
return this_0.k3();
|
|
9865
9947
|
}
|
|
9866
|
-
protoOf(TractPage).
|
|
9948
|
+
protoOf(TractPage).s47 = function () {
|
|
9867
9949
|
return equals(lastOrNull(this.s38().g3k()), this);
|
|
9868
9950
|
};
|
|
9869
9951
|
protoOf(TractPage).v3g = function () {
|
|
9870
|
-
return this.
|
|
9952
|
+
return this.y46_1;
|
|
9871
9953
|
};
|
|
9872
9954
|
protoOf(TractPage).j3c = function () {
|
|
9873
9955
|
return this.header;
|
|
9874
9956
|
};
|
|
9875
|
-
protoOf(TractPage).
|
|
9957
|
+
protoOf(TractPage).t47 = function () {
|
|
9876
9958
|
return this.hero;
|
|
9877
9959
|
};
|
|
9878
|
-
protoOf(TractPage).
|
|
9960
|
+
protoOf(TractPage).u47 = function () {
|
|
9879
9961
|
return this._modals;
|
|
9880
9962
|
};
|
|
9881
|
-
protoOf(TractPage).
|
|
9963
|
+
protoOf(TractPage).v47 = function () {
|
|
9882
9964
|
return this.callToAction;
|
|
9883
9965
|
};
|
|
9884
9966
|
protoOf(TractPage).findModal = function (id) {
|
|
@@ -9898,10 +9980,10 @@
|
|
|
9898
9980
|
}
|
|
9899
9981
|
return tmp$ret$1;
|
|
9900
9982
|
};
|
|
9901
|
-
protoOf(TractPage).
|
|
9983
|
+
protoOf(TractPage).v3z = function () {
|
|
9902
9984
|
return this._cards;
|
|
9903
9985
|
};
|
|
9904
|
-
protoOf(TractPage).
|
|
9986
|
+
protoOf(TractPage).w47 = function () {
|
|
9905
9987
|
// Inline function 'kotlin.collections.filter' call
|
|
9906
9988
|
var tmp0 = this._cards;
|
|
9907
9989
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -9915,22 +9997,22 @@
|
|
|
9915
9997
|
}
|
|
9916
9998
|
return destination;
|
|
9917
9999
|
};
|
|
9918
|
-
protoOf(TractPage).
|
|
9919
|
-
var tmp0_elvis_lhs = this.
|
|
10000
|
+
protoOf(TractPage).x47 = function () {
|
|
10001
|
+
var tmp0_elvis_lhs = this.z46_1;
|
|
9920
10002
|
return tmp0_elvis_lhs == null ? this.o3h() : tmp0_elvis_lhs;
|
|
9921
10003
|
};
|
|
9922
|
-
protoOf(TractPage).
|
|
10004
|
+
protoOf(TractPage).w3z = function () {
|
|
9923
10005
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9924
10006
|
var this_0 = this._cards;
|
|
9925
10007
|
return copyToArray(this_0);
|
|
9926
10008
|
};
|
|
9927
|
-
protoOf(TractPage).
|
|
10009
|
+
protoOf(TractPage).y47 = function () {
|
|
9928
10010
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
9929
10011
|
var this_0 = this._modals;
|
|
9930
10012
|
return copyToArray(this_0);
|
|
9931
10013
|
};
|
|
9932
10014
|
function TractPage() {
|
|
9933
|
-
this.
|
|
10015
|
+
this.y46_1 = emptyList();
|
|
9934
10016
|
}
|
|
9935
10017
|
function labelParent$factory() {
|
|
9936
10018
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
@@ -9941,7 +10023,7 @@
|
|
|
9941
10023
|
return new FlowWatcher(launchIn(onEach(_this__u8e3s4, FlowWatcher$Companion$watchIn$slambda_0(block, null)), scope));
|
|
9942
10024
|
}
|
|
9943
10025
|
function FlowWatcher$Companion$watchIn$slambda($block, resultContinuation) {
|
|
9944
|
-
this.
|
|
10026
|
+
this.h48_1 = $block;
|
|
9945
10027
|
CoroutineImpl.call(this, resultContinuation);
|
|
9946
10028
|
}
|
|
9947
10029
|
protoOf(FlowWatcher$Companion$watchIn$slambda).m19 = function (it, $completion) {
|
|
@@ -9960,7 +10042,7 @@
|
|
|
9960
10042
|
var tmp = this.v8_1;
|
|
9961
10043
|
if (tmp === 0) {
|
|
9962
10044
|
this.w8_1 = 1;
|
|
9963
|
-
this.
|
|
10045
|
+
this.h48_1(this.i48_1);
|
|
9964
10046
|
return Unit_instance;
|
|
9965
10047
|
} else if (tmp === 1) {
|
|
9966
10048
|
throw this.y8_1;
|
|
@@ -9972,8 +10054,8 @@
|
|
|
9972
10054
|
while (true);
|
|
9973
10055
|
};
|
|
9974
10056
|
protoOf(FlowWatcher$Companion$watchIn$slambda).n19 = function (it, completion) {
|
|
9975
|
-
var i = new FlowWatcher$Companion$watchIn$slambda(this.
|
|
9976
|
-
i.
|
|
10057
|
+
var i = new FlowWatcher$Companion$watchIn$slambda(this.h48_1, completion);
|
|
10058
|
+
i.i48_1 = it;
|
|
9977
10059
|
return i;
|
|
9978
10060
|
};
|
|
9979
10061
|
function FlowWatcher$Companion$watchIn$slambda_0($block, resultContinuation) {
|
|
@@ -9984,20 +10066,20 @@
|
|
|
9984
10066
|
l.$arity = 1;
|
|
9985
10067
|
return l;
|
|
9986
10068
|
}
|
|
9987
|
-
function
|
|
10069
|
+
function Companion_58() {
|
|
9988
10070
|
}
|
|
9989
|
-
protoOf(
|
|
10071
|
+
protoOf(Companion_58).v3s = function (_this__u8e3s4, block) {
|
|
9990
10072
|
return watchIn(this, _this__u8e3s4, CoroutineScope_0(Dispatchers_getInstance().qu()), block);
|
|
9991
10073
|
};
|
|
9992
|
-
var
|
|
9993
|
-
function
|
|
9994
|
-
return
|
|
10074
|
+
var Companion_instance_59;
|
|
10075
|
+
function Companion_getInstance_61() {
|
|
10076
|
+
return Companion_instance_59;
|
|
9995
10077
|
}
|
|
9996
10078
|
function FlowWatcher(job) {
|
|
9997
|
-
this.
|
|
10079
|
+
this.j48_1 = job;
|
|
9998
10080
|
}
|
|
9999
10081
|
protoOf(FlowWatcher).close = function () {
|
|
10000
|
-
return this.
|
|
10082
|
+
return this.j48_1.vl();
|
|
10001
10083
|
};
|
|
10002
10084
|
function get_REGEX_SEQUENCE_SEPARATOR() {
|
|
10003
10085
|
_init_properties_Regex_kt__v9a4ph();
|
|
@@ -10025,31 +10107,31 @@
|
|
|
10025
10107
|
return EMPTY_instance;
|
|
10026
10108
|
}
|
|
10027
10109
|
function SetOnceProperty() {
|
|
10028
|
-
this.
|
|
10110
|
+
this.k48_1 = EMPTY_instance;
|
|
10029
10111
|
}
|
|
10030
|
-
protoOf(SetOnceProperty).
|
|
10112
|
+
protoOf(SetOnceProperty).l48 = function (thisRef, property) {
|
|
10031
10113
|
// Inline function 'kotlin.check' call
|
|
10032
|
-
if (!!(this.
|
|
10114
|
+
if (!!(this.k48_1 === EMPTY_instance)) {
|
|
10033
10115
|
var message = "Value isn't initialized";
|
|
10034
10116
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10035
10117
|
}
|
|
10036
|
-
var tmp = this.
|
|
10118
|
+
var tmp = this.k48_1;
|
|
10037
10119
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
10038
10120
|
};
|
|
10039
10121
|
protoOf(SetOnceProperty).b3r = function (thisRef, property) {
|
|
10040
|
-
return this.
|
|
10122
|
+
return this.l48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
10041
10123
|
};
|
|
10042
|
-
protoOf(SetOnceProperty).
|
|
10124
|
+
protoOf(SetOnceProperty).m48 = function (thisRef, property, value) {
|
|
10043
10125
|
// Inline function 'kotlin.check' call
|
|
10044
|
-
if (!(this.
|
|
10126
|
+
if (!(this.k48_1 === EMPTY_instance)) {
|
|
10045
10127
|
var message = 'Value is initialized';
|
|
10046
10128
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
10047
10129
|
}
|
|
10048
|
-
this.
|
|
10130
|
+
this.k48_1 = value;
|
|
10049
10131
|
};
|
|
10050
10132
|
protoOf(SetOnceProperty).m3p = function (thisRef, property, value) {
|
|
10051
10133
|
var tmp = !(thisRef == null) ? thisRef : THROW_CCE();
|
|
10052
|
-
return this.
|
|
10134
|
+
return this.m48(tmp, property, (value == null ? true : !(value == null)) ? value : THROW_CCE());
|
|
10053
10135
|
};
|
|
10054
10136
|
function get_hasUriScheme(_this__u8e3s4) {
|
|
10055
10137
|
return contains_1(_this__u8e3s4, _Char___init__impl__6a9atx(58));
|
|
@@ -10064,9 +10146,9 @@
|
|
|
10064
10146
|
}
|
|
10065
10147
|
function getAttributeValueInt($this, namespace, name) {
|
|
10066
10148
|
// Inline function 'kotlin.takeIf' call
|
|
10067
|
-
var this_0 = $this.
|
|
10149
|
+
var this_0 = $this.n48_1;
|
|
10068
10150
|
var tmp;
|
|
10069
|
-
if (this_0.
|
|
10151
|
+
if (this_0.q48_1 === 2) {
|
|
10070
10152
|
tmp = this_0;
|
|
10071
10153
|
} else {
|
|
10072
10154
|
tmp = null;
|
|
@@ -10079,20 +10161,20 @@
|
|
|
10079
10161
|
tmp_0 = tmp0_elvis_lhs;
|
|
10080
10162
|
}
|
|
10081
10163
|
var event = tmp_0;
|
|
10082
|
-
var tmp1_safe_receiver = event.
|
|
10164
|
+
var tmp1_safe_receiver = event.t48_1;
|
|
10083
10165
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.f2(new QName(namespace, name));
|
|
10084
10166
|
}
|
|
10085
10167
|
function QName(uri, local) {
|
|
10086
10168
|
uri = uri === VOID ? null : uri;
|
|
10087
|
-
this.
|
|
10088
|
-
this.
|
|
10169
|
+
this.u48_1 = uri;
|
|
10170
|
+
this.v48_1 = local;
|
|
10089
10171
|
}
|
|
10090
10172
|
protoOf(QName).toString = function () {
|
|
10091
|
-
return 'QName(uri=' + this.
|
|
10173
|
+
return 'QName(uri=' + this.u48_1 + ', local=' + this.v48_1 + ')';
|
|
10092
10174
|
};
|
|
10093
10175
|
protoOf(QName).hashCode = function () {
|
|
10094
|
-
var result = this.
|
|
10095
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
10176
|
+
var result = this.u48_1 == null ? 0 : getStringHashCode(this.u48_1);
|
|
10177
|
+
result = imul(result, 31) + getStringHashCode(this.v48_1) | 0;
|
|
10096
10178
|
return result;
|
|
10097
10179
|
};
|
|
10098
10180
|
protoOf(QName).equals = function (other) {
|
|
@@ -10101,9 +10183,9 @@
|
|
|
10101
10183
|
if (!(other instanceof QName))
|
|
10102
10184
|
return false;
|
|
10103
10185
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
10104
|
-
if (!(this.
|
|
10186
|
+
if (!(this.u48_1 == tmp0_other_with_cast.u48_1))
|
|
10105
10187
|
return false;
|
|
10106
|
-
if (!(this.
|
|
10188
|
+
if (!(this.v48_1 === tmp0_other_with_cast.v48_1))
|
|
10107
10189
|
return false;
|
|
10108
10190
|
return true;
|
|
10109
10191
|
};
|
|
@@ -10111,51 +10193,51 @@
|
|
|
10111
10193
|
qname = qname === VOID ? null : qname;
|
|
10112
10194
|
content = content === VOID ? null : content;
|
|
10113
10195
|
attrs = attrs === VOID ? null : attrs;
|
|
10114
|
-
this.
|
|
10115
|
-
this.
|
|
10116
|
-
this.
|
|
10117
|
-
this.
|
|
10196
|
+
this.q48_1 = type;
|
|
10197
|
+
this.r48_1 = qname;
|
|
10198
|
+
this.s48_1 = content;
|
|
10199
|
+
this.t48_1 = attrs;
|
|
10118
10200
|
}
|
|
10119
10201
|
function enqueueEvent($this, event) {
|
|
10120
10202
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
10121
|
-
var this_0 = $this.
|
|
10203
|
+
var this_0 = $this.p48_1;
|
|
10122
10204
|
if (charSequenceLength(this_0) > 0) {
|
|
10123
|
-
var tmp1 = $this.
|
|
10205
|
+
var tmp1 = $this.o48_1;
|
|
10124
10206
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10125
|
-
var element = new ParserEvent(4, VOID, $this.
|
|
10207
|
+
var element = new ParserEvent(4, VOID, $this.p48_1.toString());
|
|
10126
10208
|
tmp1.e(element);
|
|
10127
|
-
$this.
|
|
10209
|
+
$this.p48_1.nb();
|
|
10128
10210
|
}
|
|
10129
10211
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10130
|
-
$this.
|
|
10212
|
+
$this.o48_1.e(event);
|
|
10131
10213
|
}
|
|
10132
10214
|
function SaxXmlPullParser() {
|
|
10133
|
-
this.
|
|
10215
|
+
this.n48_1 = new ParserEvent(0);
|
|
10134
10216
|
var tmp = this;
|
|
10135
10217
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10136
|
-
tmp.
|
|
10137
|
-
this.
|
|
10218
|
+
tmp.o48_1 = ArrayList_init_$Create$();
|
|
10219
|
+
this.p48_1 = StringBuilder_init_$Create$();
|
|
10138
10220
|
}
|
|
10139
10221
|
protoOf(SaxXmlPullParser).p3b = function () {
|
|
10140
|
-
return this.
|
|
10222
|
+
return this.n48_1.q48_1;
|
|
10141
10223
|
};
|
|
10142
10224
|
protoOf(SaxXmlPullParser).q3b = function () {
|
|
10143
|
-
var tmp0_safe_receiver = this.
|
|
10144
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10225
|
+
var tmp0_safe_receiver = this.n48_1.r48_1;
|
|
10226
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u48_1;
|
|
10145
10227
|
};
|
|
10146
10228
|
protoOf(SaxXmlPullParser).l2 = function () {
|
|
10147
|
-
var tmp0_safe_receiver = this.
|
|
10148
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10229
|
+
var tmp0_safe_receiver = this.n48_1.r48_1;
|
|
10230
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v48_1;
|
|
10149
10231
|
};
|
|
10150
10232
|
protoOf(SaxXmlPullParser).o3b = function (type, namespace, name) {
|
|
10151
10233
|
// Inline function 'kotlin.with' call
|
|
10152
|
-
var $this$with = this.
|
|
10153
|
-
if (!($this$with.
|
|
10234
|
+
var $this$with = this.n48_1;
|
|
10235
|
+
if (!($this$with.q48_1 === type))
|
|
10154
10236
|
throw new XmlPullParserException('expected ' + type);
|
|
10155
10237
|
var tmp;
|
|
10156
10238
|
if (!(namespace == null)) {
|
|
10157
|
-
var tmp0_safe_receiver = $this$with.
|
|
10158
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
10239
|
+
var tmp0_safe_receiver = $this$with.r48_1;
|
|
10240
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u48_1));
|
|
10159
10241
|
} else {
|
|
10160
10242
|
tmp = false;
|
|
10161
10243
|
}
|
|
@@ -10163,8 +10245,8 @@
|
|
|
10163
10245
|
throw new XmlPullParserException('expected ' + namespace);
|
|
10164
10246
|
var tmp_0;
|
|
10165
10247
|
if (!(name == null)) {
|
|
10166
|
-
var tmp1_safe_receiver = $this$with.
|
|
10167
|
-
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
10248
|
+
var tmp1_safe_receiver = $this$with.r48_1;
|
|
10249
|
+
tmp_0 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v48_1) == name);
|
|
10168
10250
|
} else {
|
|
10169
10251
|
tmp_0 = false;
|
|
10170
10252
|
}
|
|
@@ -10174,15 +10256,15 @@
|
|
|
10174
10256
|
};
|
|
10175
10257
|
protoOf(SaxXmlPullParser).l = function () {
|
|
10176
10258
|
// Inline function 'kotlin.also' call
|
|
10177
|
-
var this_0 = removeFirst(this.
|
|
10178
|
-
this.
|
|
10179
|
-
return this_0.
|
|
10259
|
+
var this_0 = removeFirst(this.o48_1);
|
|
10260
|
+
this.n48_1 = this_0;
|
|
10261
|
+
return this_0.q48_1;
|
|
10180
10262
|
};
|
|
10181
10263
|
protoOf(SaxXmlPullParser).h39 = function () {
|
|
10182
10264
|
var tmp;
|
|
10183
10265
|
if (this.l() === 4) {
|
|
10184
10266
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
10185
|
-
var this_0 = this.
|
|
10267
|
+
var this_0 = this.n48_1.s48_1;
|
|
10186
10268
|
tmp = this_0 == null || isBlank(this_0);
|
|
10187
10269
|
} else {
|
|
10188
10270
|
tmp = false;
|
|
@@ -10190,20 +10272,20 @@
|
|
|
10190
10272
|
if (tmp) {
|
|
10191
10273
|
this.l();
|
|
10192
10274
|
}
|
|
10193
|
-
var event = this.
|
|
10194
|
-
if (!(event.
|
|
10195
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
10275
|
+
var event = this.n48_1;
|
|
10276
|
+
if (!(event.q48_1 === 2) && !(event.q48_1 === 3)) {
|
|
10277
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.q48_1);
|
|
10196
10278
|
}
|
|
10197
|
-
return event.
|
|
10279
|
+
return event.q48_1;
|
|
10198
10280
|
};
|
|
10199
10281
|
protoOf(SaxXmlPullParser).b3v = function () {
|
|
10200
|
-
this.
|
|
10282
|
+
this.t44(2);
|
|
10201
10283
|
var tmp;
|
|
10202
10284
|
switch (this.l()) {
|
|
10203
10285
|
case 4:
|
|
10204
10286
|
// Inline function 'kotlin.text.orEmpty' call
|
|
10205
10287
|
|
|
10206
|
-
var tmp0_elvis_lhs = this.
|
|
10288
|
+
var tmp0_elvis_lhs = this.n48_1.s48_1;
|
|
10207
10289
|
// Inline function 'kotlin.also' call
|
|
10208
10290
|
|
|
10209
10291
|
var this_0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
@@ -10229,13 +10311,13 @@
|
|
|
10229
10311
|
protoOf(SaxXmlPullParser).n3p = function (namespace, name) {
|
|
10230
10312
|
return getAttributeValueInt(this, namespace, name);
|
|
10231
10313
|
};
|
|
10232
|
-
protoOf(SaxXmlPullParser).
|
|
10314
|
+
protoOf(SaxXmlPullParser).w48 = function (qname, attrs) {
|
|
10233
10315
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
10234
10316
|
};
|
|
10235
|
-
protoOf(SaxXmlPullParser).
|
|
10236
|
-
this.
|
|
10317
|
+
protoOf(SaxXmlPullParser).x48 = function (text) {
|
|
10318
|
+
this.p48_1.g8(text);
|
|
10237
10319
|
};
|
|
10238
|
-
protoOf(SaxXmlPullParser).
|
|
10320
|
+
protoOf(SaxXmlPullParser).y48 = function (qname) {
|
|
10239
10321
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
10240
10322
|
};
|
|
10241
10323
|
function XmlPullParser() {
|
|
@@ -10282,26 +10364,26 @@
|
|
|
10282
10364
|
}
|
|
10283
10365
|
var SAX_OPTIONS;
|
|
10284
10366
|
function InternalSAXParser($outer) {
|
|
10285
|
-
this.
|
|
10367
|
+
this.z48_1 = $outer;
|
|
10286
10368
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
10287
10369
|
}
|
|
10288
|
-
protoOf(InternalSAXParser).
|
|
10289
|
-
return this.
|
|
10370
|
+
protoOf(InternalSAXParser).a49 = function (tag) {
|
|
10371
|
+
return this.z48_1.w48(new QName(tag.uri, tag.local), convert(this.z48_1, tag.attributes));
|
|
10290
10372
|
};
|
|
10291
10373
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
10292
|
-
return this.
|
|
10374
|
+
return this.a49(tag);
|
|
10293
10375
|
};
|
|
10294
|
-
protoOf(InternalSAXParser).
|
|
10295
|
-
return this.
|
|
10376
|
+
protoOf(InternalSAXParser).b49 = function (tagName) {
|
|
10377
|
+
return this.z48_1.y48(new QName(VOID, tagName));
|
|
10296
10378
|
};
|
|
10297
10379
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
10298
|
-
return this.
|
|
10380
|
+
return this.b49(tagName);
|
|
10299
10381
|
};
|
|
10300
|
-
protoOf(InternalSAXParser).
|
|
10301
|
-
return this.
|
|
10382
|
+
protoOf(InternalSAXParser).c49 = function (t) {
|
|
10383
|
+
return this.z48_1.x48(t);
|
|
10302
10384
|
};
|
|
10303
10385
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
10304
|
-
return this.
|
|
10386
|
+
return this.c49(t);
|
|
10305
10387
|
};
|
|
10306
10388
|
function convert($this, _this__u8e3s4) {
|
|
10307
10389
|
var tmp = Object.values;
|
|
@@ -10345,13 +10427,13 @@
|
|
|
10345
10427
|
var this_0 = new InternalSAXParser(this);
|
|
10346
10428
|
this_0.write(xml);
|
|
10347
10429
|
this_0.close();
|
|
10348
|
-
tmp.
|
|
10430
|
+
tmp.g49_1 = this_0;
|
|
10349
10431
|
}
|
|
10350
10432
|
function SAX_OPTIONS$1() {
|
|
10351
|
-
this.
|
|
10433
|
+
this.h49_1 = true;
|
|
10352
10434
|
}
|
|
10353
|
-
protoOf(SAX_OPTIONS$1).
|
|
10354
|
-
return this.
|
|
10435
|
+
protoOf(SAX_OPTIONS$1).i49 = function () {
|
|
10436
|
+
return this.h49_1;
|
|
10355
10437
|
};
|
|
10356
10438
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
10357
10439
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -10362,8 +10444,8 @@
|
|
|
10362
10444
|
}
|
|
10363
10445
|
function $getXmlParserCOROUTINE$4(_this__u8e3s4, fileName, resultContinuation) {
|
|
10364
10446
|
CoroutineImpl.call(this, resultContinuation);
|
|
10365
|
-
this.
|
|
10366
|
-
this.
|
|
10447
|
+
this.r49_1 = _this__u8e3s4;
|
|
10448
|
+
this.s49_1 = fileName;
|
|
10367
10449
|
}
|
|
10368
10450
|
protoOf($getXmlParserCOROUTINE$4).d9 = function () {
|
|
10369
10451
|
var suspendResult = this.x8_1;
|
|
@@ -10374,7 +10456,7 @@
|
|
|
10374
10456
|
case 0:
|
|
10375
10457
|
this.w8_1 = 2;
|
|
10376
10458
|
this.v8_1 = 1;
|
|
10377
|
-
suspendResult = await_0(this.
|
|
10459
|
+
suspendResult = await_0(this.r49_1.readFile(this.s49_1), this);
|
|
10378
10460
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10379
10461
|
return suspendResult;
|
|
10380
10462
|
}
|
|
@@ -10407,14 +10489,14 @@
|
|
|
10407
10489
|
function JsXmlPullParserFactory() {
|
|
10408
10490
|
XmlPullParserFactory.call(this);
|
|
10409
10491
|
}
|
|
10410
|
-
protoOf(JsXmlPullParserFactory).
|
|
10492
|
+
protoOf(JsXmlPullParserFactory).t49 = function (fileName, $completion) {
|
|
10411
10493
|
var tmp = new $getXmlParserCOROUTINE$4(this, fileName, $completion);
|
|
10412
10494
|
tmp.x8_1 = Unit_instance;
|
|
10413
10495
|
tmp.y8_1 = null;
|
|
10414
10496
|
return tmp.d9();
|
|
10415
10497
|
};
|
|
10416
10498
|
protoOf(JsXmlPullParserFactory).g39 = function (fileName, $completion) {
|
|
10417
|
-
return this.
|
|
10499
|
+
return this.t49(fileName, $completion);
|
|
10418
10500
|
};
|
|
10419
10501
|
function XmlPullParserException(s) {
|
|
10420
10502
|
Exception_init_$Init$(s, this);
|
|
@@ -10643,6 +10725,19 @@
|
|
|
10643
10725
|
defineProp(protoOf(LessonPage), 'content', function () {
|
|
10644
10726
|
return this.s3c();
|
|
10645
10727
|
});
|
|
10728
|
+
protoOf(Header).s3c = get_content;
|
|
10729
|
+
protoOf(Header).q3h = get_primaryColor;
|
|
10730
|
+
protoOf(Header).r3h = get_primaryTextColor;
|
|
10731
|
+
protoOf(Header).s3h = get_buttonStyle;
|
|
10732
|
+
protoOf(Header).q3g = get_buttonColor;
|
|
10733
|
+
protoOf(Header).t3h = get_cardBackgroundColor;
|
|
10734
|
+
protoOf(Header).u3h = get_multiselectOptionBackgroundColor;
|
|
10735
|
+
protoOf(Header).v3h = get_multiselectOptionSelectedColor;
|
|
10736
|
+
protoOf(Header).o3h = get_textColor;
|
|
10737
|
+
protoOf(Header).w3h = get_textScale;
|
|
10738
|
+
defineProp(protoOf(Header), 'content', function () {
|
|
10739
|
+
return this.s3c();
|
|
10740
|
+
});
|
|
10646
10741
|
protoOf(Card_0).s3c = get_content;
|
|
10647
10742
|
protoOf(Card_0).getAnalyticsEvents = getAnalyticsEvents;
|
|
10648
10743
|
defineProp(protoOf(Card_0), 'id', protoOf(Card_0).i3c);
|
|
@@ -10650,7 +10745,7 @@
|
|
|
10650
10745
|
defineProp(protoOf(Card_0), 'content', function () {
|
|
10651
10746
|
return this.s3c();
|
|
10652
10747
|
});
|
|
10653
|
-
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).
|
|
10748
|
+
defineProp(protoOf(CardCollectionPage), 'cards', protoOf(CardCollectionPage).w3z);
|
|
10654
10749
|
protoOf(ContentPage).s3c = get_content;
|
|
10655
10750
|
defineProp(protoOf(ContentPage), 'content', function () {
|
|
10656
10751
|
return this.s3c();
|
|
@@ -10663,7 +10758,7 @@
|
|
|
10663
10758
|
defineProp(protoOf(PageCollectionPage), 'pages', function () {
|
|
10664
10759
|
return this.i3k();
|
|
10665
10760
|
});
|
|
10666
|
-
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).
|
|
10761
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).h45);
|
|
10667
10762
|
protoOf(Tip).s3h = get_buttonStyle;
|
|
10668
10763
|
protoOf(Tip).q3g = get_buttonColor;
|
|
10669
10764
|
protoOf(Tip).t3h = get_cardBackgroundColor;
|
|
@@ -10675,17 +10770,17 @@
|
|
|
10675
10770
|
defineProp(protoOf(TipPage), 'content', function () {
|
|
10676
10771
|
return this.s3c();
|
|
10677
10772
|
});
|
|
10678
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
10679
|
-
protoOf(
|
|
10680
|
-
protoOf(
|
|
10681
|
-
protoOf(
|
|
10682
|
-
protoOf(
|
|
10683
|
-
protoOf(
|
|
10684
|
-
protoOf(
|
|
10685
|
-
protoOf(
|
|
10686
|
-
protoOf(
|
|
10687
|
-
protoOf(
|
|
10688
|
-
defineProp(protoOf(
|
|
10773
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).h45);
|
|
10774
|
+
protoOf(Header_0).q3h = get_primaryColor;
|
|
10775
|
+
protoOf(Header_0).r3h = get_primaryTextColor;
|
|
10776
|
+
protoOf(Header_0).s3h = get_buttonStyle;
|
|
10777
|
+
protoOf(Header_0).q3g = get_buttonColor;
|
|
10778
|
+
protoOf(Header_0).t3h = get_cardBackgroundColor;
|
|
10779
|
+
protoOf(Header_0).u3h = get_multiselectOptionBackgroundColor;
|
|
10780
|
+
protoOf(Header_0).v3h = get_multiselectOptionSelectedColor;
|
|
10781
|
+
protoOf(Header_0).w3h = get_textScale;
|
|
10782
|
+
protoOf(Header_0).x3h = get_textAlign;
|
|
10783
|
+
defineProp(protoOf(Header_0), 'tip', protoOf(Header_0).h45);
|
|
10689
10784
|
protoOf(Hero).s3c = get_content;
|
|
10690
10785
|
protoOf(Hero).getAnalyticsEvents = getAnalyticsEvents;
|
|
10691
10786
|
defineProp(protoOf(Hero), 'content', function () {
|
|
@@ -10714,8 +10809,8 @@
|
|
|
10714
10809
|
protoOf(Card_1).s3c = get_content;
|
|
10715
10810
|
protoOf(Card_1).getAnalyticsEvents = getAnalyticsEvents;
|
|
10716
10811
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).i3c);
|
|
10717
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10718
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
10812
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).q47);
|
|
10813
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).r47);
|
|
10719
10814
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).j3q);
|
|
10720
10815
|
defineProp(protoOf(Card_1), 'tips', protoOf(Card_1).u3c);
|
|
10721
10816
|
defineProp(protoOf(Card_1), 'dismissListeners', protoOf(Card_1).l3r);
|
|
@@ -10723,14 +10818,14 @@
|
|
|
10723
10818
|
defineProp(protoOf(Card_1), 'content', function () {
|
|
10724
10819
|
return this.s3c();
|
|
10725
10820
|
});
|
|
10726
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
10727
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
10728
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
10729
|
-
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).
|
|
10730
|
-
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).
|
|
10731
|
-
protoOf(SaxXmlPullParser).
|
|
10821
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).s47);
|
|
10822
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).w47);
|
|
10823
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).x47);
|
|
10824
|
+
defineProp(protoOf(TractPage), 'cards', protoOf(TractPage).w3z);
|
|
10825
|
+
defineProp(protoOf(TractPage), 'modals', protoOf(TractPage).y47);
|
|
10826
|
+
protoOf(SaxXmlPullParser).t44 = require$default;
|
|
10732
10827
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
10733
|
-
return this.
|
|
10828
|
+
return this.i49();
|
|
10734
10829
|
});
|
|
10735
10830
|
//endregion
|
|
10736
10831
|
//region block: init
|
|
@@ -10761,19 +10856,19 @@
|
|
|
10761
10856
|
Companion_instance_37 = new Companion_36();
|
|
10762
10857
|
Companion_instance_38 = new Companion_37();
|
|
10763
10858
|
Companion_instance_39 = new Companion_38();
|
|
10764
|
-
Companion_instance_43 = new Companion_42();
|
|
10765
10859
|
Companion_instance_44 = new Companion_43();
|
|
10766
10860
|
Companion_instance_45 = new Companion_44();
|
|
10767
|
-
|
|
10861
|
+
Companion_instance_46 = new Companion_45();
|
|
10768
10862
|
Companion_instance_48 = new Companion_47();
|
|
10769
10863
|
Companion_instance_49 = new Companion_48();
|
|
10770
10864
|
Companion_instance_50 = new Companion_49();
|
|
10771
|
-
|
|
10865
|
+
Companion_instance_51 = new Companion_50();
|
|
10772
10866
|
Companion_instance_53 = new Companion_52();
|
|
10773
10867
|
Companion_instance_54 = new Companion_53();
|
|
10774
10868
|
Companion_instance_55 = new Companion_54();
|
|
10775
10869
|
Companion_instance_56 = new Companion_55();
|
|
10776
|
-
|
|
10870
|
+
Companion_instance_57 = new Companion_56();
|
|
10871
|
+
Companion_instance_59 = new Companion_58();
|
|
10777
10872
|
EMPTY_instance = new EMPTY();
|
|
10778
10873
|
//endregion
|
|
10779
10874
|
//region block: exports
|
|
@@ -11121,6 +11216,7 @@
|
|
|
11121
11216
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11122
11217
|
var $org$cru$godtools$shared$tool$parser$model$page = $org$cru$godtools$shared$tool$parser$model.page || ($org$cru$godtools$shared$tool$parser$model.page = {});
|
|
11123
11218
|
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage = CardCollectionPage;
|
|
11219
|
+
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage.Header = Header;
|
|
11124
11220
|
$org$cru$godtools$shared$tool$parser$model$page.CardCollectionPage.Card = Card_0;
|
|
11125
11221
|
var $org = _.org || (_.org = {});
|
|
11126
11222
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
@@ -11149,7 +11245,7 @@
|
|
|
11149
11245
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11150
11246
|
var $org$cru$godtools$shared$tool$parser$model$page = $org$cru$godtools$shared$tool$parser$model.page || ($org$cru$godtools$shared$tool$parser$model.page = {});
|
|
11151
11247
|
$org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage = PageCollectionPage;
|
|
11152
|
-
defineProp($org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage, 'Companion',
|
|
11248
|
+
defineProp($org$cru$godtools$shared$tool$parser$model$page.PageCollectionPage, 'Companion', Companion_getInstance_50);
|
|
11153
11249
|
var $org = _.org || (_.org = {});
|
|
11154
11250
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
11155
11251
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
@@ -11178,7 +11274,7 @@
|
|
|
11178
11274
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11179
11275
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
11180
11276
|
var $org$cru$godtools$shared$tool$parser$model$tract = $org$cru$godtools$shared$tool$parser$model.tract || ($org$cru$godtools$shared$tool$parser$model.tract = {});
|
|
11181
|
-
$org$cru$godtools$shared$tool$parser$model$tract.Header =
|
|
11277
|
+
$org$cru$godtools$shared$tool$parser$model$tract.Header = Header_0;
|
|
11182
11278
|
var $org = _.org || (_.org = {});
|
|
11183
11279
|
var $org$cru = $org.cru || ($org.cru = {});
|
|
11184
11280
|
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|