@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1200 → 0.9.0-SNAPSHOT.1202
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.
|
@@ -9512,22 +9512,36 @@
|
|
|
9512
9512
|
var tmp = get_XMLNS_TRAINING();
|
|
9513
9513
|
Companion_getInstance_51();
|
|
9514
9514
|
parser.u2r(2, tmp, 'tip');
|
|
9515
|
-
$this.
|
|
9515
|
+
$this.id = parser.n2v(null, 'id');
|
|
9516
9516
|
skipTag(parser);
|
|
9517
9517
|
return $this;
|
|
9518
9518
|
}
|
|
9519
9519
|
function InlineTip_init_$Create$(parent, parser) {
|
|
9520
9520
|
return InlineTip_init_$Init$(parent, parser, objectCreate(protoOf(InlineTip)));
|
|
9521
9521
|
}
|
|
9522
|
-
|
|
9523
|
-
|
|
9522
|
+
function InlineTip_init_$Init$_0(parent, id, $this) {
|
|
9523
|
+
id = id === VOID ? null : id;
|
|
9524
|
+
Content_init_$Init$_0(parent, VOID, VOID, VOID, VOID, VOID, VOID, VOID, $this);
|
|
9525
|
+
InlineTip.call($this);
|
|
9526
|
+
$this.id = id;
|
|
9527
|
+
return $this;
|
|
9528
|
+
}
|
|
9529
|
+
function createTestInlineTip(parent, id) {
|
|
9530
|
+
return InlineTip_init_$Init$_0(parent, id, objectCreate(protoOf(InlineTip)));
|
|
9531
|
+
}
|
|
9532
|
+
protoOf(InlineTip).q2u = function () {
|
|
9533
|
+
return this.id;
|
|
9534
|
+
};
|
|
9535
|
+
protoOf(InlineTip).k3h = function () {
|
|
9536
|
+
return this.x2o().x37(this.id);
|
|
9524
9537
|
};
|
|
9525
9538
|
protoOf(InlineTip).c2t = function () {
|
|
9526
|
-
return listOfNotNull(this.
|
|
9539
|
+
return listOfNotNull(this.tip);
|
|
9527
9540
|
};
|
|
9528
9541
|
function InlineTip() {
|
|
9529
9542
|
Companion_getInstance_51();
|
|
9530
9543
|
}
|
|
9544
|
+
defineProp(protoOf(InlineTip), 'tip', protoOf(InlineTip).k3h);
|
|
9531
9545
|
var Type_ASK_instance;
|
|
9532
9546
|
var Type_CONSIDER_instance;
|
|
9533
9547
|
var Type_TIP_instance;
|
|
@@ -9535,7 +9549,7 @@
|
|
|
9535
9549
|
var Type_QUOTE_instance;
|
|
9536
9550
|
function Companion_49() {
|
|
9537
9551
|
Companion_instance_49 = this;
|
|
9538
|
-
this.
|
|
9552
|
+
this.l3h_1 = Type_TIP_getInstance();
|
|
9539
9553
|
}
|
|
9540
9554
|
protoOf(Companion_49).n31 = function (_this__u8e3s4) {
|
|
9541
9555
|
var tmp0_subject = _this__u8e3s4;
|
|
@@ -9582,7 +9596,7 @@
|
|
|
9582
9596
|
var tmp = $this;
|
|
9583
9597
|
var tmp0_safe_receiver = parser.n2v(null, 'type');
|
|
9584
9598
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : Companion_getInstance_52().n31(tmp0_safe_receiver);
|
|
9585
|
-
tmp.x34_1 = tmp1_elvis_lhs == null ? Companion_getInstance_52().
|
|
9599
|
+
tmp.x34_1 = tmp1_elvis_lhs == null ? Companion_getInstance_52().l3h_1 : tmp1_elvis_lhs;
|
|
9586
9600
|
var tmp_0 = $this;
|
|
9587
9601
|
var tmp$ret$2;
|
|
9588
9602
|
// Inline function 'kotlin.collections.buildList' call
|
|
@@ -9708,7 +9722,7 @@
|
|
|
9708
9722
|
}
|
|
9709
9723
|
function Companion_50() {
|
|
9710
9724
|
Companion_instance_50 = this;
|
|
9711
|
-
this.
|
|
9725
|
+
this.m3h_1 = 'page';
|
|
9712
9726
|
}
|
|
9713
9727
|
var Companion_instance_50;
|
|
9714
9728
|
function Companion_getInstance_53() {
|
|
@@ -9723,8 +9737,8 @@
|
|
|
9723
9737
|
var tmp = get_XMLNS_TRAINING();
|
|
9724
9738
|
Companion_getInstance_53();
|
|
9725
9739
|
parser.u2r(2, tmp, 'page');
|
|
9726
|
-
$this.
|
|
9727
|
-
$this.
|
|
9740
|
+
$this.o3h_1 = tip;
|
|
9741
|
+
$this.p3h_1 = position;
|
|
9728
9742
|
var tmp_0 = $this;
|
|
9729
9743
|
var tmp$ret$8;
|
|
9730
9744
|
// Inline function 'org.cru.godtools.shared.tool.parser.model.parseContent' call
|
|
@@ -9804,14 +9818,14 @@
|
|
|
9804
9818
|
tmp$ret$6 = tmp$ret$5.u7();
|
|
9805
9819
|
tmp$ret$7 = tmp$ret$6;
|
|
9806
9820
|
tmp$ret$8 = tmp$ret$7;
|
|
9807
|
-
tmp_0.
|
|
9821
|
+
tmp_0.q3h_1 = tmp$ret$8;
|
|
9808
9822
|
return $this;
|
|
9809
9823
|
}
|
|
9810
9824
|
function TipPage_init_$Create$(tip, position, parser) {
|
|
9811
9825
|
return TipPage_init_$Init$(tip, position, parser, objectCreate(protoOf(TipPage)));
|
|
9812
9826
|
}
|
|
9813
9827
|
protoOf(TipPage).t2s = function () {
|
|
9814
|
-
return this.
|
|
9828
|
+
return this.q3h_1;
|
|
9815
9829
|
};
|
|
9816
9830
|
function TipPage() {
|
|
9817
9831
|
Companion_getInstance_53();
|
|
@@ -9824,7 +9838,7 @@
|
|
|
9824
9838
|
});
|
|
9825
9839
|
function Companion_51() {
|
|
9826
9840
|
Companion_instance_51 = this;
|
|
9827
|
-
this.
|
|
9841
|
+
this.r3h_1 = 'call-to-action';
|
|
9828
9842
|
}
|
|
9829
9843
|
var Companion_instance_51;
|
|
9830
9844
|
function Companion_getInstance_54() {
|
|
@@ -9835,10 +9849,10 @@
|
|
|
9835
9849
|
function CallToAction_init_$Init$(parent, $this) {
|
|
9836
9850
|
BaseModel.call($this, parent);
|
|
9837
9851
|
CallToAction.call($this);
|
|
9838
|
-
$this.
|
|
9852
|
+
$this.t3h_1 = parent;
|
|
9839
9853
|
$this.label = null;
|
|
9854
|
+
$this.u3h_1 = null;
|
|
9840
9855
|
$this.v3h_1 = null;
|
|
9841
|
-
$this.w3h_1 = null;
|
|
9842
9856
|
return $this;
|
|
9843
9857
|
}
|
|
9844
9858
|
function CallToAction_init_$Create$(parent) {
|
|
@@ -9851,11 +9865,11 @@
|
|
|
9851
9865
|
var tmp = get_XMLNS_TRACT();
|
|
9852
9866
|
Companion_getInstance_54();
|
|
9853
9867
|
parser.u2r(2, tmp, 'call-to-action');
|
|
9854
|
-
$this.
|
|
9868
|
+
$this.t3h_1 = page;
|
|
9855
9869
|
var tmp_0 = $this;
|
|
9856
9870
|
var tmp0_safe_receiver = parser.o2t('control-color');
|
|
9857
|
-
tmp_0.
|
|
9858
|
-
$this.
|
|
9871
|
+
tmp_0.u3h_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9872
|
+
$this.v3h_1 = parser.n2v(get_XMLNS_TRAINING(), 'tip');
|
|
9859
9873
|
var tmp_1 = $this;
|
|
9860
9874
|
var tmp_2 = get_XMLNS_TRACT();
|
|
9861
9875
|
Companion_getInstance_54();
|
|
@@ -9872,41 +9886,41 @@
|
|
|
9872
9886
|
tip = tip === VOID ? null : tip;
|
|
9873
9887
|
BaseModel.call($this, page);
|
|
9874
9888
|
CallToAction.call($this);
|
|
9875
|
-
$this.
|
|
9889
|
+
$this.t3h_1 = page;
|
|
9876
9890
|
var tmp = $this;
|
|
9877
9891
|
var tmp0_safe_receiver = label;
|
|
9878
9892
|
tmp.label = tmp0_safe_receiver == null ? null : tmp0_safe_receiver($this);
|
|
9879
|
-
$this.
|
|
9880
|
-
$this.
|
|
9893
|
+
$this.u3h_1 = controlColor;
|
|
9894
|
+
$this.v3h_1 = tip;
|
|
9881
9895
|
return $this;
|
|
9882
9896
|
}
|
|
9883
9897
|
function createTestCallToAction(page, label, controlColor, tip) {
|
|
9884
9898
|
return CallToAction_init_$Init$_1(page, label, controlColor, tip, objectCreate(protoOf(CallToAction)));
|
|
9885
9899
|
}
|
|
9886
|
-
protoOf(CallToAction).
|
|
9900
|
+
protoOf(CallToAction).w3h = function () {
|
|
9887
9901
|
return this.label;
|
|
9888
9902
|
};
|
|
9889
9903
|
protoOf(CallToAction).r3e = function () {
|
|
9890
|
-
var tmp0_elvis_lhs = this.
|
|
9904
|
+
var tmp0_elvis_lhs = this.u3h_1;
|
|
9891
9905
|
return tmp0_elvis_lhs == null ? get_primaryColor_0(this.a2t()) : tmp0_elvis_lhs;
|
|
9892
9906
|
};
|
|
9893
|
-
protoOf(CallToAction).
|
|
9894
|
-
return this.
|
|
9907
|
+
protoOf(CallToAction).x3h = function () {
|
|
9908
|
+
return this.v3h_1;
|
|
9895
9909
|
};
|
|
9896
|
-
protoOf(CallToAction).
|
|
9897
|
-
return this.x2o().x37(this.
|
|
9910
|
+
protoOf(CallToAction).k3h = function () {
|
|
9911
|
+
return this.x2o().x37(this.v3h_1);
|
|
9898
9912
|
};
|
|
9899
9913
|
function CallToAction() {
|
|
9900
9914
|
Companion_getInstance_54();
|
|
9901
9915
|
}
|
|
9902
|
-
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).
|
|
9916
|
+
defineProp(protoOf(CallToAction), 'tip', protoOf(CallToAction).k3h);
|
|
9903
9917
|
function get_XMLNS_TRACT() {
|
|
9904
9918
|
return XMLNS_TRACT;
|
|
9905
9919
|
}
|
|
9906
9920
|
var XMLNS_TRACT;
|
|
9907
9921
|
function Companion_52() {
|
|
9908
9922
|
Companion_instance_52 = this;
|
|
9909
|
-
this.
|
|
9923
|
+
this.y3h_1 = 'header';
|
|
9910
9924
|
}
|
|
9911
9925
|
var Companion_instance_52;
|
|
9912
9926
|
function Companion_getInstance_55() {
|
|
@@ -9923,8 +9937,8 @@
|
|
|
9923
9937
|
parser.u2r(2, tmp, 'header');
|
|
9924
9938
|
var tmp_0 = $this;
|
|
9925
9939
|
var tmp0_safe_receiver = parser.o2t(get_XML_BACKGROUND_COLOR());
|
|
9926
|
-
tmp_0.
|
|
9927
|
-
$this.
|
|
9940
|
+
tmp_0.a3i_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
9941
|
+
$this.b3i_1 = parser.n2v(get_XMLNS_TRAINING(), 'tip');
|
|
9928
9942
|
var number = null;
|
|
9929
9943
|
var title = null;
|
|
9930
9944
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.parseChildren' call
|
|
@@ -9961,31 +9975,31 @@
|
|
|
9961
9975
|
return Header_init_$Init$(page, parser, objectCreate(protoOf(Header)));
|
|
9962
9976
|
}
|
|
9963
9977
|
protoOf(Header).u36 = function () {
|
|
9964
|
-
var tmp0_elvis_lhs = this.
|
|
9978
|
+
var tmp0_elvis_lhs = this.a3i_1;
|
|
9965
9979
|
return tmp0_elvis_lhs == null ? this.b2y() : tmp0_elvis_lhs;
|
|
9966
9980
|
};
|
|
9967
9981
|
protoOf(Header).z2x = function () {
|
|
9968
9982
|
return this.c2y();
|
|
9969
9983
|
};
|
|
9970
|
-
protoOf(Header).
|
|
9984
|
+
protoOf(Header).c3i = function () {
|
|
9971
9985
|
return this.number;
|
|
9972
9986
|
};
|
|
9973
9987
|
protoOf(Header).z36 = function () {
|
|
9974
9988
|
return this.title;
|
|
9975
9989
|
};
|
|
9976
|
-
protoOf(Header).
|
|
9977
|
-
return this.
|
|
9990
|
+
protoOf(Header).x3h = function () {
|
|
9991
|
+
return this.b3i_1;
|
|
9978
9992
|
};
|
|
9979
|
-
protoOf(Header).
|
|
9980
|
-
return this.x2o().x37(this.
|
|
9993
|
+
protoOf(Header).k3h = function () {
|
|
9994
|
+
return this.x2o().x37(this.b3i_1);
|
|
9981
9995
|
};
|
|
9982
9996
|
function Header() {
|
|
9983
9997
|
Companion_getInstance_55();
|
|
9984
9998
|
}
|
|
9985
|
-
defineProp(protoOf(Header), 'tip', protoOf(Header).
|
|
9999
|
+
defineProp(protoOf(Header), 'tip', protoOf(Header).k3h);
|
|
9986
10000
|
function Companion_53() {
|
|
9987
10001
|
Companion_instance_53 = this;
|
|
9988
|
-
this.
|
|
10002
|
+
this.d3i_1 = 'hero';
|
|
9989
10003
|
}
|
|
9990
10004
|
var Companion_instance_53;
|
|
9991
10005
|
function Companion_getInstance_56() {
|
|
@@ -9997,7 +10011,7 @@
|
|
|
9997
10011
|
var tmp$ret$0;
|
|
9998
10012
|
// Inline function 'kotlin.getValue' call
|
|
9999
10013
|
var tmp0_getValue = headingParent$factory();
|
|
10000
|
-
tmp$ret$0 = $this.
|
|
10014
|
+
tmp$ret$0 = $this.f3i_1.o1();
|
|
10001
10015
|
return tmp$ret$0;
|
|
10002
10016
|
}
|
|
10003
10017
|
function Hero_init_$Init$(page, parser, $this) {
|
|
@@ -10011,7 +10025,7 @@
|
|
|
10011
10025
|
var tmp$ret$0;
|
|
10012
10026
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10013
10027
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
10014
|
-
tmp_0.
|
|
10028
|
+
tmp_0.h3i_1 = tmp$ret$0;
|
|
10015
10029
|
var heading = null;
|
|
10016
10030
|
var tmp_1 = $this;
|
|
10017
10031
|
var tmp$ret$8;
|
|
@@ -10050,7 +10064,7 @@
|
|
|
10050
10064
|
if (tmp1_subject === 'events') {
|
|
10051
10065
|
var tmp2_this = $this;
|
|
10052
10066
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10053
|
-
var tmp0_plusAssign = tmp2_this.
|
|
10067
|
+
var tmp0_plusAssign = tmp2_this.h3i_1;
|
|
10054
10068
|
var tmp1_plusAssign = Companion_getInstance_6().y2r(parser, $this);
|
|
10055
10069
|
addAll(tmp0_plusAssign, tmp1_plusAssign);
|
|
10056
10070
|
}
|
|
@@ -10106,7 +10120,7 @@
|
|
|
10106
10120
|
tmp$ret$6 = tmp$ret$5.u7();
|
|
10107
10121
|
tmp$ret$7 = tmp$ret$6;
|
|
10108
10122
|
tmp$ret$8 = tmp$ret$7;
|
|
10109
|
-
tmp_1.
|
|
10123
|
+
tmp_1.g3i_1 = tmp$ret$8;
|
|
10110
10124
|
$this.heading = heading;
|
|
10111
10125
|
return $this;
|
|
10112
10126
|
}
|
|
@@ -10119,11 +10133,11 @@
|
|
|
10119
10133
|
heading = heading === VOID ? null : heading;
|
|
10120
10134
|
BaseModel.call($this, page);
|
|
10121
10135
|
Hero.call($this);
|
|
10122
|
-
$this.
|
|
10136
|
+
$this.h3i_1 = analyticsEvents;
|
|
10123
10137
|
var tmp = $this;
|
|
10124
10138
|
var tmp0_safe_receiver = heading;
|
|
10125
10139
|
tmp.heading = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(_get_headingParent__2ts5bv($this));
|
|
10126
|
-
$this.
|
|
10140
|
+
$this.g3i_1 = emptyList();
|
|
10127
10141
|
return $this;
|
|
10128
10142
|
}
|
|
10129
10143
|
function createTestHero(page, analyticsEvents, heading) {
|
|
@@ -10139,14 +10153,14 @@
|
|
|
10139
10153
|
return stylesOverride(this$0, VOID, Hero$headingParent$delegate$lambda$lambda(this$0));
|
|
10140
10154
|
};
|
|
10141
10155
|
}
|
|
10142
|
-
protoOf(Hero).
|
|
10156
|
+
protoOf(Hero).i3i = function () {
|
|
10143
10157
|
return this.heading;
|
|
10144
10158
|
};
|
|
10145
10159
|
protoOf(Hero).t2s = function () {
|
|
10146
|
-
return this.
|
|
10160
|
+
return this.g3i_1;
|
|
10147
10161
|
};
|
|
10148
10162
|
protoOf(Hero).r3d = function () {
|
|
10149
|
-
return this.
|
|
10163
|
+
return this.h3i_1;
|
|
10150
10164
|
};
|
|
10151
10165
|
protoOf(Hero)._getAnalyticsEvents = function (type) {
|
|
10152
10166
|
var tmp0_subject = type;
|
|
@@ -10156,7 +10170,7 @@
|
|
|
10156
10170
|
case 1:
|
|
10157
10171
|
var tmp$ret$2;
|
|
10158
10172
|
// Inline function 'kotlin.collections.filter' call
|
|
10159
|
-
var tmp1_filter = this.
|
|
10173
|
+
var tmp1_filter = this.h3i_1;
|
|
10160
10174
|
var tmp$ret$1;
|
|
10161
10175
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10162
10176
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -10178,7 +10192,7 @@
|
|
|
10178
10192
|
case 2:
|
|
10179
10193
|
var tmp$ret$5;
|
|
10180
10194
|
// Inline function 'kotlin.collections.filter' call
|
|
10181
|
-
var tmp3_filter = this.
|
|
10195
|
+
var tmp3_filter = this.h3i_1;
|
|
10182
10196
|
var tmp$ret$4;
|
|
10183
10197
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10184
10198
|
var tmp2_filterTo = ArrayList_init_$Create$();
|
|
@@ -10206,7 +10220,7 @@
|
|
|
10206
10220
|
function Hero() {
|
|
10207
10221
|
Companion_getInstance_56();
|
|
10208
10222
|
var tmp = this;
|
|
10209
|
-
tmp.
|
|
10223
|
+
tmp.f3i_1 = lazy(Hero$headingParent$delegate$lambda(this));
|
|
10210
10224
|
}
|
|
10211
10225
|
defineProp(protoOf(Hero), '_content', function () {
|
|
10212
10226
|
return this.t2s();
|
|
@@ -10221,7 +10235,7 @@
|
|
|
10221
10235
|
}
|
|
10222
10236
|
function Companion_54() {
|
|
10223
10237
|
Companion_instance_54 = this;
|
|
10224
|
-
this.
|
|
10238
|
+
this.j3i_1 = 'modal';
|
|
10225
10239
|
}
|
|
10226
10240
|
var Companion_instance_54;
|
|
10227
10241
|
function Companion_getInstance_57() {
|
|
@@ -10336,14 +10350,14 @@
|
|
|
10336
10350
|
tmp$ret$7 = tmp$ret$6.u7();
|
|
10337
10351
|
tmp$ret$8 = tmp$ret$7;
|
|
10338
10352
|
tmp$ret$9 = tmp$ret$8;
|
|
10339
|
-
tmp_2.
|
|
10353
|
+
tmp_2.f3j_1 = tmp$ret$9;
|
|
10340
10354
|
$this.title = title;
|
|
10341
10355
|
return $this;
|
|
10342
10356
|
}
|
|
10343
10357
|
function Modal_init_$Create$(parent, parser) {
|
|
10344
10358
|
return Modal_init_$Init$(parent, parser, objectCreate(protoOf(Modal)));
|
|
10345
10359
|
}
|
|
10346
|
-
protoOf(Modal).
|
|
10360
|
+
protoOf(Modal).g3j = function () {
|
|
10347
10361
|
return this.page;
|
|
10348
10362
|
};
|
|
10349
10363
|
protoOf(Modal).q2u = function () {
|
|
@@ -10353,7 +10367,7 @@
|
|
|
10353
10367
|
return this.title;
|
|
10354
10368
|
};
|
|
10355
10369
|
protoOf(Modal).t2s = function () {
|
|
10356
|
-
return this.
|
|
10370
|
+
return this.f3j_1;
|
|
10357
10371
|
};
|
|
10358
10372
|
protoOf(Modal).s3e = function () {
|
|
10359
10373
|
return this.listeners;
|
|
@@ -10391,11 +10405,11 @@
|
|
|
10391
10405
|
});
|
|
10392
10406
|
function Companion_55() {
|
|
10393
10407
|
Companion_instance_55 = this;
|
|
10394
|
-
this.
|
|
10395
|
-
this.
|
|
10396
|
-
this.
|
|
10397
|
-
this.
|
|
10398
|
-
this.
|
|
10408
|
+
this.h3j_1 = 'card';
|
|
10409
|
+
this.i3j_1 = 'label';
|
|
10410
|
+
this.j3j_1 = 'hidden';
|
|
10411
|
+
this.k3j_1 = ImageScaleType_FILL_X_getInstance();
|
|
10412
|
+
this.l3j_1 = Companion_getInstance_22().CENTER;
|
|
10399
10413
|
}
|
|
10400
10414
|
var Companion_instance_55;
|
|
10401
10415
|
function Companion_getInstance_58() {
|
|
@@ -10407,7 +10421,7 @@
|
|
|
10407
10421
|
var tmp$ret$0;
|
|
10408
10422
|
// Inline function 'kotlin.getValue' call
|
|
10409
10423
|
var tmp0_getValue = labelParent$factory();
|
|
10410
|
-
tmp$ret$0 = $this.
|
|
10424
|
+
tmp$ret$0 = $this.s3j_1.o1();
|
|
10411
10425
|
return tmp$ret$0;
|
|
10412
10426
|
}
|
|
10413
10427
|
function Card_init_$Init$_1(page, position, parser, $this) {
|
|
@@ -10438,24 +10452,24 @@
|
|
|
10438
10452
|
tmp_2._dismissListeners = toSet_0(tmp$ret$1);
|
|
10439
10453
|
var tmp_3 = $this;
|
|
10440
10454
|
var tmp2_safe_receiver = parser.o2t(get_XML_BACKGROUND_COLOR());
|
|
10441
|
-
tmp_3.
|
|
10442
|
-
$this.
|
|
10455
|
+
tmp_3.n3j_1 = tmp2_safe_receiver == null ? null : toColorOrNull(tmp2_safe_receiver);
|
|
10456
|
+
$this.o3j_1 = parser.o2t(get_XML_BACKGROUND_IMAGE());
|
|
10443
10457
|
var tmp_4 = $this;
|
|
10444
10458
|
var tmp3_safe_receiver = parser.o2t(get_XML_BACKGROUND_IMAGE_GRAVITY());
|
|
10445
10459
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : Companion_getInstance_22().b2x(tmp3_safe_receiver);
|
|
10446
|
-
tmp_4.
|
|
10460
|
+
tmp_4.p3j_1 = tmp4_elvis_lhs == null ? Companion_getInstance_58().l3j_1 : tmp4_elvis_lhs;
|
|
10447
10461
|
var tmp_5 = $this;
|
|
10448
10462
|
var tmp5_safe_receiver = parser.o2t(get_XML_BACKGROUND_IMAGE_SCALE_TYPE());
|
|
10449
10463
|
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : Companion_getInstance_24().l31(tmp5_safe_receiver);
|
|
10450
|
-
tmp_5.
|
|
10464
|
+
tmp_5.q3j_1 = tmp6_elvis_lhs == null ? Companion_getInstance_58().k3j_1 : tmp6_elvis_lhs;
|
|
10451
10465
|
var tmp_6 = $this;
|
|
10452
10466
|
var tmp7_safe_receiver = parser.o2t(get_XML_TEXT_COLOR());
|
|
10453
|
-
tmp_6.
|
|
10467
|
+
tmp_6.r3j_1 = tmp7_safe_receiver == null ? null : toColorOrNull(tmp7_safe_receiver);
|
|
10454
10468
|
var tmp_7 = $this;
|
|
10455
10469
|
var tmp$ret$2;
|
|
10456
10470
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
10457
10471
|
tmp$ret$2 = ArrayList_init_$Create$();
|
|
10458
|
-
tmp_7.
|
|
10472
|
+
tmp_7.u3j_1 = tmp$ret$2;
|
|
10459
10473
|
var label = null;
|
|
10460
10474
|
var tmp_8 = $this;
|
|
10461
10475
|
var tmp$ret$10;
|
|
@@ -10494,7 +10508,7 @@
|
|
|
10494
10508
|
if (tmp1_subject === 'events') {
|
|
10495
10509
|
var tmp2_this = $this;
|
|
10496
10510
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
10497
|
-
var tmp0_plusAssign = tmp2_this.
|
|
10511
|
+
var tmp0_plusAssign = tmp2_this.u3j_1;
|
|
10498
10512
|
var tmp1_plusAssign = Companion_getInstance_6().y2r(parser, $this);
|
|
10499
10513
|
addAll(tmp0_plusAssign, tmp1_plusAssign);
|
|
10500
10514
|
}
|
|
@@ -10555,7 +10569,7 @@
|
|
|
10555
10569
|
tmp$ret$8 = tmp$ret$7.u7();
|
|
10556
10570
|
tmp$ret$9 = tmp$ret$8;
|
|
10557
10571
|
tmp$ret$10 = tmp$ret$9;
|
|
10558
|
-
tmp_8.
|
|
10572
|
+
tmp_8.t3j_1 = tmp$ret$10;
|
|
10559
10573
|
$this.label = label;
|
|
10560
10574
|
return $this;
|
|
10561
10575
|
}
|
|
@@ -10581,7 +10595,7 @@
|
|
|
10581
10595
|
parser.u2r(2, tmp, 'page');
|
|
10582
10596
|
var tmp_0 = $this;
|
|
10583
10597
|
var tmp0_safe_receiver = parser.o2t('card-text-color');
|
|
10584
|
-
tmp_0.
|
|
10598
|
+
tmp_0.d3j_1 = tmp0_safe_receiver == null ? null : toColorOrNull(tmp0_safe_receiver);
|
|
10585
10599
|
var header = null;
|
|
10586
10600
|
var hero = null;
|
|
10587
10601
|
var tmp_1 = $this;
|
|
@@ -10679,7 +10693,7 @@
|
|
|
10679
10693
|
callToAction = callToAction === VOID ? null : callToAction;
|
|
10680
10694
|
Page_init_$Init$_0(manifest, VOID, fileName, VOID, primaryColor, backgroundColor, backgroundImage, backgroundImageGravity, backgroundImageScaleType, VOID, cardBackgroundColor, textColor, textScale, $this);
|
|
10681
10695
|
TractPage.call($this);
|
|
10682
|
-
$this.
|
|
10696
|
+
$this.d3j_1 = cardTextColor;
|
|
10683
10697
|
$this.header = null;
|
|
10684
10698
|
$this.hero = null;
|
|
10685
10699
|
var tmp_0 = $this;
|
|
@@ -10700,7 +10714,7 @@
|
|
|
10700
10714
|
function createTestTractPage(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction) {
|
|
10701
10715
|
return TractPage_init_$Init$_0(manifest, fileName, backgroundColor, backgroundImage, primaryColor, backgroundImageGravity, backgroundImageScaleType, textColor, textScale, cardBackgroundColor, cardTextColor, cards, callToAction, objectCreate(protoOf(TractPage)));
|
|
10702
10716
|
}
|
|
10703
|
-
protoOf(Card_1).
|
|
10717
|
+
protoOf(Card_1).g3j = function () {
|
|
10704
10718
|
return this.page;
|
|
10705
10719
|
};
|
|
10706
10720
|
protoOf(Card_1).q2u = function () {
|
|
@@ -10709,7 +10723,7 @@
|
|
|
10709
10723
|
protoOf(Card_1).l3e = function () {
|
|
10710
10724
|
return this.position;
|
|
10711
10725
|
};
|
|
10712
|
-
protoOf(Card_1).
|
|
10726
|
+
protoOf(Card_1).v3j = function () {
|
|
10713
10727
|
var tmp$ret$1;
|
|
10714
10728
|
// Inline function 'kotlin.takeUnless' call
|
|
10715
10729
|
var tmp0_takeUnless = this.page.visibleCards.l1(this);
|
|
@@ -10726,7 +10740,7 @@
|
|
|
10726
10740
|
tmp$ret$1 = tmp;
|
|
10727
10741
|
return tmp$ret$1;
|
|
10728
10742
|
};
|
|
10729
|
-
protoOf(Card_1).
|
|
10743
|
+
protoOf(Card_1).w3j = function () {
|
|
10730
10744
|
return equals(this, lastOrNull(this.page.visibleCards));
|
|
10731
10745
|
};
|
|
10732
10746
|
protoOf(Card_1).o3e = function () {
|
|
@@ -10739,27 +10753,27 @@
|
|
|
10739
10753
|
return this._dismissListeners;
|
|
10740
10754
|
};
|
|
10741
10755
|
protoOf(Card_1).u36 = function () {
|
|
10742
|
-
var tmp0_elvis_lhs = this.
|
|
10756
|
+
var tmp0_elvis_lhs = this.n3j_1;
|
|
10743
10757
|
return tmp0_elvis_lhs == null ? this.page.e2y() : tmp0_elvis_lhs;
|
|
10744
10758
|
};
|
|
10745
10759
|
protoOf(Card_1).v36 = function () {
|
|
10746
|
-
return getResource(this, this.
|
|
10760
|
+
return getResource(this, this.o3j_1);
|
|
10747
10761
|
};
|
|
10748
10762
|
protoOf(Card_1).w36 = function () {
|
|
10749
|
-
return this.
|
|
10763
|
+
return this.p3j_1;
|
|
10750
10764
|
};
|
|
10751
10765
|
protoOf(Card_1).x36 = function () {
|
|
10752
|
-
return this.
|
|
10766
|
+
return this.q3j_1;
|
|
10753
10767
|
};
|
|
10754
10768
|
protoOf(Card_1).z2x = function () {
|
|
10755
|
-
var tmp0_elvis_lhs = this.
|
|
10769
|
+
var tmp0_elvis_lhs = this.r3j_1;
|
|
10756
10770
|
return tmp0_elvis_lhs == null ? this.page.cardTextColor : tmp0_elvis_lhs;
|
|
10757
10771
|
};
|
|
10758
|
-
protoOf(Card_1).
|
|
10772
|
+
protoOf(Card_1).w3h = function () {
|
|
10759
10773
|
return this.label;
|
|
10760
10774
|
};
|
|
10761
10775
|
protoOf(Card_1).t2s = function () {
|
|
10762
|
-
return this.
|
|
10776
|
+
return this.t3j_1;
|
|
10763
10777
|
};
|
|
10764
10778
|
protoOf(Card_1).c2t = function () {
|
|
10765
10779
|
var tmp$ret$3;
|
|
@@ -10785,7 +10799,7 @@
|
|
|
10785
10799
|
return tmp$ret$3;
|
|
10786
10800
|
};
|
|
10787
10801
|
protoOf(Card_1).r3d = function () {
|
|
10788
|
-
return this.
|
|
10802
|
+
return this.u3j_1;
|
|
10789
10803
|
};
|
|
10790
10804
|
protoOf(Card_1)._getAnalyticsEvents = function (type) {
|
|
10791
10805
|
var tmp0_subject = type;
|
|
@@ -10795,7 +10809,7 @@
|
|
|
10795
10809
|
case 1:
|
|
10796
10810
|
var tmp$ret$2;
|
|
10797
10811
|
// Inline function 'kotlin.collections.filter' call
|
|
10798
|
-
var tmp1_filter = this.
|
|
10812
|
+
var tmp1_filter = this.u3j_1;
|
|
10799
10813
|
var tmp$ret$1;
|
|
10800
10814
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10801
10815
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -10817,7 +10831,7 @@
|
|
|
10817
10831
|
case 2:
|
|
10818
10832
|
var tmp$ret$5;
|
|
10819
10833
|
// Inline function 'kotlin.collections.filter' call
|
|
10820
|
-
var tmp3_filter = this.
|
|
10834
|
+
var tmp3_filter = this.u3j_1;
|
|
10821
10835
|
var tmp$ret$4;
|
|
10822
10836
|
// Inline function 'kotlin.collections.filterTo' call
|
|
10823
10837
|
var tmp2_filterTo = ArrayList_init_$Create$();
|
|
@@ -10859,11 +10873,11 @@
|
|
|
10859
10873
|
function Card_1() {
|
|
10860
10874
|
Companion_getInstance_58();
|
|
10861
10875
|
var tmp = this;
|
|
10862
|
-
tmp.
|
|
10876
|
+
tmp.s3j_1 = lazy(TractPage$Card$labelParent$delegate$lambda(this));
|
|
10863
10877
|
}
|
|
10864
10878
|
defineProp(protoOf(Card_1), 'id', protoOf(Card_1).q2u);
|
|
10865
|
-
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).
|
|
10866
|
-
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).
|
|
10879
|
+
defineProp(protoOf(Card_1), 'visiblePosition', protoOf(Card_1).v3j);
|
|
10880
|
+
defineProp(protoOf(Card_1), 'isLastVisibleCard', protoOf(Card_1).w3j);
|
|
10867
10881
|
defineProp(protoOf(Card_1), 'backgroundImage', protoOf(Card_1).v36);
|
|
10868
10882
|
defineProp(protoOf(Card_1), '_content', function () {
|
|
10869
10883
|
return this.t2s();
|
|
@@ -10962,22 +10976,22 @@
|
|
|
10962
10976
|
tmp$ret$2 = tmp$ret$1;
|
|
10963
10977
|
return tmp$ret$2;
|
|
10964
10978
|
}
|
|
10965
|
-
protoOf(TractPage).
|
|
10979
|
+
protoOf(TractPage).x3j = function () {
|
|
10966
10980
|
return equals(lastOrNull(this.x2o()._pages), this);
|
|
10967
10981
|
};
|
|
10968
10982
|
protoOf(TractPage).r3d = function () {
|
|
10969
|
-
return this.
|
|
10983
|
+
return this.c3j_1;
|
|
10970
10984
|
};
|
|
10971
|
-
protoOf(TractPage).
|
|
10985
|
+
protoOf(TractPage).y3j = function () {
|
|
10972
10986
|
return this.header;
|
|
10973
10987
|
};
|
|
10974
|
-
protoOf(TractPage).
|
|
10988
|
+
protoOf(TractPage).z3j = function () {
|
|
10975
10989
|
return this.hero;
|
|
10976
10990
|
};
|
|
10977
|
-
protoOf(TractPage).
|
|
10991
|
+
protoOf(TractPage).a3k = function () {
|
|
10978
10992
|
return this.modals;
|
|
10979
10993
|
};
|
|
10980
|
-
protoOf(TractPage).
|
|
10994
|
+
protoOf(TractPage).b3k = function () {
|
|
10981
10995
|
return this.callToAction;
|
|
10982
10996
|
};
|
|
10983
10997
|
protoOf(TractPage).s3d = function (type) {
|
|
@@ -11003,10 +11017,10 @@
|
|
|
11003
11017
|
}
|
|
11004
11018
|
return tmp$ret$1;
|
|
11005
11019
|
};
|
|
11006
|
-
protoOf(TractPage).
|
|
11020
|
+
protoOf(TractPage).c3k = function () {
|
|
11007
11021
|
return this.cards;
|
|
11008
11022
|
};
|
|
11009
|
-
protoOf(TractPage).
|
|
11023
|
+
protoOf(TractPage).d3k = function () {
|
|
11010
11024
|
var tmp$ret$2;
|
|
11011
11025
|
// Inline function 'kotlin.collections.filter' call
|
|
11012
11026
|
var tmp1_filter = this.cards;
|
|
@@ -11027,16 +11041,16 @@
|
|
|
11027
11041
|
tmp$ret$2 = tmp$ret$1;
|
|
11028
11042
|
return tmp$ret$2;
|
|
11029
11043
|
};
|
|
11030
|
-
protoOf(TractPage).
|
|
11031
|
-
var tmp0_elvis_lhs = this.
|
|
11044
|
+
protoOf(TractPage).e3k = function () {
|
|
11045
|
+
var tmp0_elvis_lhs = this.d3j_1;
|
|
11032
11046
|
return tmp0_elvis_lhs == null ? this.z2x() : tmp0_elvis_lhs;
|
|
11033
11047
|
};
|
|
11034
11048
|
function TractPage() {
|
|
11035
|
-
this.
|
|
11049
|
+
this.c3j_1 = emptyList();
|
|
11036
11050
|
}
|
|
11037
|
-
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).
|
|
11038
|
-
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).
|
|
11039
|
-
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).
|
|
11051
|
+
defineProp(protoOf(TractPage), 'isLastPage', protoOf(TractPage).x3j);
|
|
11052
|
+
defineProp(protoOf(TractPage), 'visibleCards', protoOf(TractPage).d3k);
|
|
11053
|
+
defineProp(protoOf(TractPage), 'cardTextColor', protoOf(TractPage).e3k);
|
|
11040
11054
|
function labelParent$factory() {
|
|
11041
11055
|
return getPropertyCallableRef('labelParent', 1, KProperty1, function (receiver) {
|
|
11042
11056
|
return _get_labelParent__664ln7(receiver);
|
|
@@ -11072,11 +11086,11 @@
|
|
|
11072
11086
|
return EMPTY_instance;
|
|
11073
11087
|
}
|
|
11074
11088
|
function SetOnceProperty() {
|
|
11075
|
-
this.
|
|
11089
|
+
this.f3k_1 = EMPTY_getInstance();
|
|
11076
11090
|
}
|
|
11077
|
-
protoOf(SetOnceProperty).
|
|
11091
|
+
protoOf(SetOnceProperty).g3k = function (thisRef, property) {
|
|
11078
11092
|
// Inline function 'kotlin.check' call
|
|
11079
|
-
var tmp0_check = !(this.
|
|
11093
|
+
var tmp0_check = !(this.f3k_1 === EMPTY_getInstance());
|
|
11080
11094
|
// Inline function 'kotlin.contracts.contract' call
|
|
11081
11095
|
if (!tmp0_check) {
|
|
11082
11096
|
var tmp$ret$0;
|
|
@@ -11085,15 +11099,15 @@
|
|
|
11085
11099
|
var message = tmp$ret$0;
|
|
11086
11100
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
11087
11101
|
}
|
|
11088
|
-
var tmp = this.
|
|
11102
|
+
var tmp = this.f3k_1;
|
|
11089
11103
|
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
11090
11104
|
};
|
|
11091
11105
|
protoOf(SetOnceProperty).q37 = function (thisRef, property) {
|
|
11092
|
-
return this.
|
|
11106
|
+
return this.g3k(isObject(thisRef) ? thisRef : THROW_CCE(), property);
|
|
11093
11107
|
};
|
|
11094
|
-
protoOf(SetOnceProperty).
|
|
11108
|
+
protoOf(SetOnceProperty).h3k = function (thisRef, property, value) {
|
|
11095
11109
|
// Inline function 'kotlin.check' call
|
|
11096
|
-
var tmp0_check = this.
|
|
11110
|
+
var tmp0_check = this.f3k_1 === EMPTY_getInstance();
|
|
11097
11111
|
// Inline function 'kotlin.contracts.contract' call
|
|
11098
11112
|
if (!tmp0_check) {
|
|
11099
11113
|
var tmp$ret$0;
|
|
@@ -11102,11 +11116,11 @@
|
|
|
11102
11116
|
var message = tmp$ret$0;
|
|
11103
11117
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
11104
11118
|
}
|
|
11105
|
-
this.
|
|
11119
|
+
this.f3k_1 = value;
|
|
11106
11120
|
};
|
|
11107
11121
|
protoOf(SetOnceProperty).c36 = function (thisRef, property, value) {
|
|
11108
11122
|
var tmp = isObject(thisRef) ? thisRef : THROW_CCE();
|
|
11109
|
-
return this.
|
|
11123
|
+
return this.h3k(tmp, property, (value == null ? true : isObject(value)) ? value : THROW_CCE());
|
|
11110
11124
|
};
|
|
11111
11125
|
function get_isHttpUrl(_this__u8e3s4) {
|
|
11112
11126
|
var tmp$ret$0;
|
|
@@ -11138,15 +11152,15 @@
|
|
|
11138
11152
|
}
|
|
11139
11153
|
function QName(uri, local) {
|
|
11140
11154
|
uri = uri === VOID ? null : uri;
|
|
11141
|
-
this.
|
|
11142
|
-
this.
|
|
11155
|
+
this.i3k_1 = uri;
|
|
11156
|
+
this.j3k_1 = local;
|
|
11143
11157
|
}
|
|
11144
11158
|
protoOf(QName).toString = function () {
|
|
11145
|
-
return 'QName(uri=' + this.
|
|
11159
|
+
return 'QName(uri=' + this.i3k_1 + ', local=' + this.j3k_1 + ')';
|
|
11146
11160
|
};
|
|
11147
11161
|
protoOf(QName).hashCode = function () {
|
|
11148
|
-
var result = this.
|
|
11149
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
11162
|
+
var result = this.i3k_1 == null ? 0 : getStringHashCode(this.i3k_1);
|
|
11163
|
+
result = imul(result, 31) + getStringHashCode(this.j3k_1) | 0;
|
|
11150
11164
|
return result;
|
|
11151
11165
|
};
|
|
11152
11166
|
protoOf(QName).equals = function (other) {
|
|
@@ -11155,9 +11169,9 @@
|
|
|
11155
11169
|
if (!(other instanceof QName))
|
|
11156
11170
|
return false;
|
|
11157
11171
|
var tmp0_other_with_cast = other instanceof QName ? other : THROW_CCE();
|
|
11158
|
-
if (!(this.
|
|
11172
|
+
if (!(this.i3k_1 == tmp0_other_with_cast.i3k_1))
|
|
11159
11173
|
return false;
|
|
11160
|
-
if (!(this.
|
|
11174
|
+
if (!(this.j3k_1 === tmp0_other_with_cast.j3k_1))
|
|
11161
11175
|
return false;
|
|
11162
11176
|
return true;
|
|
11163
11177
|
};
|
|
@@ -11165,63 +11179,63 @@
|
|
|
11165
11179
|
qname = qname === VOID ? null : qname;
|
|
11166
11180
|
content = content === VOID ? null : content;
|
|
11167
11181
|
attrs = attrs === VOID ? null : attrs;
|
|
11168
|
-
this.
|
|
11169
|
-
this.
|
|
11170
|
-
this.
|
|
11171
|
-
this.
|
|
11182
|
+
this.k3k_1 = type;
|
|
11183
|
+
this.l3k_1 = qname;
|
|
11184
|
+
this.m3k_1 = content;
|
|
11185
|
+
this.n3k_1 = attrs;
|
|
11172
11186
|
}
|
|
11173
11187
|
function enqueueEvent($this, event) {
|
|
11174
11188
|
var tmp$ret$0;
|
|
11175
11189
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
11176
|
-
var tmp0_isNotEmpty = $this.
|
|
11190
|
+
var tmp0_isNotEmpty = $this.q3k_1;
|
|
11177
11191
|
tmp$ret$0 = charSequenceLength(tmp0_isNotEmpty) > 0;
|
|
11178
11192
|
if (tmp$ret$0) {
|
|
11179
11193
|
var tmp0_this = $this;
|
|
11180
11194
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
11181
|
-
var tmp1_plusAssign = tmp0_this.
|
|
11195
|
+
var tmp1_plusAssign = tmp0_this.p3k_1;
|
|
11182
11196
|
Companion_getInstance_59();
|
|
11183
|
-
var tmp2_plusAssign = new ParserEvent(4, VOID, $this.
|
|
11197
|
+
var tmp2_plusAssign = new ParserEvent(4, VOID, $this.q3k_1.toString());
|
|
11184
11198
|
tmp1_plusAssign.b(tmp2_plusAssign);
|
|
11185
|
-
$this.
|
|
11199
|
+
$this.q3k_1.jb();
|
|
11186
11200
|
}
|
|
11187
11201
|
var tmp1_this = $this;
|
|
11188
11202
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
11189
|
-
var tmp3_plusAssign = tmp1_this.
|
|
11203
|
+
var tmp3_plusAssign = tmp1_this.p3k_1;
|
|
11190
11204
|
tmp3_plusAssign.b(event);
|
|
11191
11205
|
}
|
|
11192
11206
|
function SaxXmlPullParser() {
|
|
11193
11207
|
var tmp = this;
|
|
11194
11208
|
Companion_getInstance_59();
|
|
11195
|
-
tmp.
|
|
11209
|
+
tmp.o3k_1 = new ParserEvent(0);
|
|
11196
11210
|
var tmp_0 = this;
|
|
11197
11211
|
var tmp$ret$0;
|
|
11198
11212
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
11199
11213
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
11200
|
-
tmp_0.
|
|
11201
|
-
this.
|
|
11214
|
+
tmp_0.p3k_1 = tmp$ret$0;
|
|
11215
|
+
this.q3k_1 = StringBuilder_init_$Create$();
|
|
11202
11216
|
}
|
|
11203
11217
|
protoOf(SaxXmlPullParser).v2r = function () {
|
|
11204
|
-
return this.
|
|
11218
|
+
return this.o3k_1.k3k_1;
|
|
11205
11219
|
};
|
|
11206
11220
|
protoOf(SaxXmlPullParser).w2r = function () {
|
|
11207
|
-
var tmp0_safe_receiver = this.
|
|
11208
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
11221
|
+
var tmp0_safe_receiver = this.o3k_1.l3k_1;
|
|
11222
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i3k_1;
|
|
11209
11223
|
};
|
|
11210
11224
|
protoOf(SaxXmlPullParser).id = function () {
|
|
11211
|
-
var tmp0_safe_receiver = this.
|
|
11212
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
11225
|
+
var tmp0_safe_receiver = this.o3k_1.l3k_1;
|
|
11226
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j3k_1;
|
|
11213
11227
|
};
|
|
11214
11228
|
protoOf(SaxXmlPullParser).u2r = function (type, namespace, name) {
|
|
11215
11229
|
var tmp$ret$0;
|
|
11216
11230
|
// Inline function 'kotlin.with' call
|
|
11217
|
-
var tmp0_with = this.
|
|
11231
|
+
var tmp0_with = this.o3k_1;
|
|
11218
11232
|
// Inline function 'kotlin.contracts.contract' call
|
|
11219
|
-
if (!(tmp0_with.
|
|
11233
|
+
if (!(tmp0_with.k3k_1 === type))
|
|
11220
11234
|
throw new XmlPullParserException('expected ' + type);
|
|
11221
11235
|
var tmp;
|
|
11222
11236
|
if (!(namespace == null)) {
|
|
11223
|
-
var tmp0_safe_receiver = tmp0_with.
|
|
11224
|
-
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
11237
|
+
var tmp0_safe_receiver = tmp0_with.l3k_1;
|
|
11238
|
+
tmp = !(namespace == (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i3k_1));
|
|
11225
11239
|
} else {
|
|
11226
11240
|
tmp = false;
|
|
11227
11241
|
}
|
|
@@ -11230,8 +11244,8 @@
|
|
|
11230
11244
|
var tmp_0;
|
|
11231
11245
|
var tmp_1;
|
|
11232
11246
|
if (!(name == null)) {
|
|
11233
|
-
var tmp1_safe_receiver = tmp0_with.
|
|
11234
|
-
tmp_1 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
11247
|
+
var tmp1_safe_receiver = tmp0_with.l3k_1;
|
|
11248
|
+
tmp_1 = !((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.j3k_1) == name);
|
|
11235
11249
|
} else {
|
|
11236
11250
|
tmp_1 = false;
|
|
11237
11251
|
}
|
|
@@ -11244,12 +11258,12 @@
|
|
|
11244
11258
|
protoOf(SaxXmlPullParser).h = function () {
|
|
11245
11259
|
var tmp$ret$0;
|
|
11246
11260
|
// Inline function 'kotlin.also' call
|
|
11247
|
-
var tmp0_also = removeFirst(this.
|
|
11261
|
+
var tmp0_also = removeFirst(this.p3k_1);
|
|
11248
11262
|
// Inline function 'kotlin.contracts.contract' call
|
|
11249
11263
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.next.<anonymous>' call
|
|
11250
|
-
this.
|
|
11264
|
+
this.o3k_1 = tmp0_also;
|
|
11251
11265
|
tmp$ret$0 = tmp0_also;
|
|
11252
|
-
return tmp$ret$0.
|
|
11266
|
+
return tmp$ret$0.k3k_1;
|
|
11253
11267
|
};
|
|
11254
11268
|
protoOf(SaxXmlPullParser).l2p = function () {
|
|
11255
11269
|
var tmp;
|
|
@@ -11258,7 +11272,7 @@
|
|
|
11258
11272
|
if (tmp_0 === 4) {
|
|
11259
11273
|
var tmp$ret$0;
|
|
11260
11274
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
11261
|
-
var tmp0_isNullOrBlank = this.
|
|
11275
|
+
var tmp0_isNullOrBlank = this.o3k_1.m3k_1;
|
|
11262
11276
|
// Inline function 'kotlin.contracts.contract' call
|
|
11263
11277
|
tmp$ret$0 = tmp0_isNullOrBlank == null ? true : isBlank(tmp0_isNullOrBlank);
|
|
11264
11278
|
tmp = tmp$ret$0;
|
|
@@ -11268,19 +11282,19 @@
|
|
|
11268
11282
|
if (tmp) {
|
|
11269
11283
|
this.h();
|
|
11270
11284
|
}
|
|
11271
|
-
var event = this.
|
|
11285
|
+
var event = this.o3k_1;
|
|
11272
11286
|
var tmp_1;
|
|
11273
11287
|
Companion_getInstance_59();
|
|
11274
|
-
if (!(event.
|
|
11288
|
+
if (!(event.k3k_1 === 2)) {
|
|
11275
11289
|
Companion_getInstance_59();
|
|
11276
|
-
tmp_1 = !(event.
|
|
11290
|
+
tmp_1 = !(event.k3k_1 === 3);
|
|
11277
11291
|
} else {
|
|
11278
11292
|
tmp_1 = false;
|
|
11279
11293
|
}
|
|
11280
11294
|
if (tmp_1) {
|
|
11281
|
-
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.
|
|
11295
|
+
throw new XmlPullParserException('Expected start or end tag. Found: ' + event.k3k_1);
|
|
11282
11296
|
}
|
|
11283
|
-
return event.
|
|
11297
|
+
return event.k3k_1;
|
|
11284
11298
|
};
|
|
11285
11299
|
protoOf(SaxXmlPullParser).q3b = function () {
|
|
11286
11300
|
Companion_getInstance_59();
|
|
@@ -11293,7 +11307,7 @@
|
|
|
11293
11307
|
// Inline function 'kotlin.also' call
|
|
11294
11308
|
var tmp$ret$0;
|
|
11295
11309
|
// Inline function 'kotlin.text.orEmpty' call
|
|
11296
|
-
var tmp0_orEmpty = this.
|
|
11310
|
+
var tmp0_orEmpty = this.o3k_1.m3k_1;
|
|
11297
11311
|
var tmp0_elvis_lhs = tmp0_orEmpty;
|
|
11298
11312
|
tmp$ret$0 = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
11299
11313
|
var tmp1_also = tmp$ret$0;
|
|
@@ -11328,13 +11342,13 @@
|
|
|
11328
11342
|
protoOf(SaxXmlPullParser).n2v = function (namespace, name) {
|
|
11329
11343
|
var tmp$ret$1;
|
|
11330
11344
|
// Inline function 'kotlin.takeIf' call
|
|
11331
|
-
var tmp0_takeIf = this.
|
|
11345
|
+
var tmp0_takeIf = this.o3k_1;
|
|
11332
11346
|
// Inline function 'kotlin.contracts.contract' call
|
|
11333
11347
|
var tmp;
|
|
11334
11348
|
var tmp$ret$0;
|
|
11335
11349
|
// Inline function 'org.cru.godtools.shared.tool.parser.xml.SaxXmlPullParser.getAttributeValue.<anonymous>' call
|
|
11336
11350
|
Companion_getInstance_59();
|
|
11337
|
-
tmp$ret$0 = tmp0_takeIf.
|
|
11351
|
+
tmp$ret$0 = tmp0_takeIf.k3k_1 === 2;
|
|
11338
11352
|
if (tmp$ret$0) {
|
|
11339
11353
|
tmp = tmp0_takeIf;
|
|
11340
11354
|
} else {
|
|
@@ -11349,27 +11363,27 @@
|
|
|
11349
11363
|
tmp_0 = tmp0_elvis_lhs;
|
|
11350
11364
|
}
|
|
11351
11365
|
var event = tmp_0;
|
|
11352
|
-
var tmp1_safe_receiver = event.
|
|
11366
|
+
var tmp1_safe_receiver = event.n3k_1;
|
|
11353
11367
|
return tmp1_safe_receiver == null ? null : tmp1_safe_receiver.c2(new QName(namespace, name));
|
|
11354
11368
|
};
|
|
11355
|
-
protoOf(SaxXmlPullParser).
|
|
11369
|
+
protoOf(SaxXmlPullParser).r3k = function (qname, attrs) {
|
|
11356
11370
|
Companion_getInstance_59();
|
|
11357
11371
|
enqueueEvent(this, new ParserEvent(2, qname, VOID, attrs));
|
|
11358
11372
|
};
|
|
11359
|
-
protoOf(SaxXmlPullParser).
|
|
11360
|
-
this.
|
|
11373
|
+
protoOf(SaxXmlPullParser).s3k = function (text) {
|
|
11374
|
+
this.q3k_1.ib(text);
|
|
11361
11375
|
};
|
|
11362
|
-
protoOf(SaxXmlPullParser).
|
|
11376
|
+
protoOf(SaxXmlPullParser).t3k = function (qname) {
|
|
11363
11377
|
Companion_getInstance_59();
|
|
11364
11378
|
enqueueEvent(this, new ParserEvent(3, qname));
|
|
11365
11379
|
};
|
|
11366
11380
|
function Companion_56() {
|
|
11367
11381
|
Companion_instance_56 = this;
|
|
11368
|
-
this.
|
|
11369
|
-
this.
|
|
11370
|
-
this.
|
|
11371
|
-
this.
|
|
11372
|
-
this.
|
|
11382
|
+
this.u3k_1 = 0;
|
|
11383
|
+
this.v3k_1 = 1;
|
|
11384
|
+
this.w3k_1 = 2;
|
|
11385
|
+
this.x3k_1 = 3;
|
|
11386
|
+
this.y3k_1 = 4;
|
|
11373
11387
|
}
|
|
11374
11388
|
var Companion_instance_56;
|
|
11375
11389
|
function Companion_getInstance_59() {
|
|
@@ -11423,26 +11437,26 @@
|
|
|
11423
11437
|
}
|
|
11424
11438
|
var SAX_OPTIONS;
|
|
11425
11439
|
function InternalSAXParser($outer) {
|
|
11426
|
-
this.
|
|
11440
|
+
this.z3k_1 = $outer;
|
|
11427
11441
|
SAXParser.call(this, true, get_SAX_OPTIONS());
|
|
11428
11442
|
}
|
|
11429
|
-
protoOf(InternalSAXParser).
|
|
11430
|
-
return this.
|
|
11443
|
+
protoOf(InternalSAXParser).a3l = function (tag) {
|
|
11444
|
+
return this.z3k_1.r3k(new QName(tag.uri, tag.local), convert(tag.attributes, this.z3k_1));
|
|
11431
11445
|
};
|
|
11432
11446
|
protoOf(InternalSAXParser).onopentag = function (tag) {
|
|
11433
|
-
return this.
|
|
11447
|
+
return this.a3l(tag);
|
|
11434
11448
|
};
|
|
11435
|
-
protoOf(InternalSAXParser).
|
|
11436
|
-
return this.
|
|
11449
|
+
protoOf(InternalSAXParser).b3l = function (tagName) {
|
|
11450
|
+
return this.z3k_1.t3k(new QName(VOID, tagName));
|
|
11437
11451
|
};
|
|
11438
11452
|
protoOf(InternalSAXParser).onclosetag = function (tagName) {
|
|
11439
|
-
return this.
|
|
11453
|
+
return this.b3l(tagName);
|
|
11440
11454
|
};
|
|
11441
|
-
protoOf(InternalSAXParser).
|
|
11442
|
-
return this.
|
|
11455
|
+
protoOf(InternalSAXParser).c3l = function (t) {
|
|
11456
|
+
return this.z3k_1.s3k(t);
|
|
11443
11457
|
};
|
|
11444
11458
|
protoOf(InternalSAXParser).ontext = function (t) {
|
|
11445
|
-
return this.
|
|
11459
|
+
return this.c3l(t);
|
|
11446
11460
|
};
|
|
11447
11461
|
function convert(_this__u8e3s4, $this) {
|
|
11448
11462
|
var tmp$ret$7;
|
|
@@ -11510,16 +11524,16 @@
|
|
|
11510
11524
|
tmp0_apply.write(xml);
|
|
11511
11525
|
tmp0_apply.close();
|
|
11512
11526
|
tmp$ret$0 = tmp0_apply;
|
|
11513
|
-
tmp.
|
|
11527
|
+
tmp.g3l_1 = tmp$ret$0;
|
|
11514
11528
|
}
|
|
11515
11529
|
function SAX_OPTIONS$1() {
|
|
11516
|
-
this.
|
|
11530
|
+
this.h3l_1 = true;
|
|
11517
11531
|
}
|
|
11518
|
-
protoOf(SAX_OPTIONS$1).
|
|
11519
|
-
return this.
|
|
11532
|
+
protoOf(SAX_OPTIONS$1).i3l = function () {
|
|
11533
|
+
return this.h3l_1;
|
|
11520
11534
|
};
|
|
11521
11535
|
defineProp(protoOf(SAX_OPTIONS$1), 'xmlns', function () {
|
|
11522
|
-
return this.
|
|
11536
|
+
return this.i3l();
|
|
11523
11537
|
});
|
|
11524
11538
|
var properties_initialized_JsXmlPullParser_kt_u4cdem;
|
|
11525
11539
|
function _init_properties_JsXmlPullParser_kt__2zt5j4() {
|
|
@@ -11531,8 +11545,8 @@
|
|
|
11531
11545
|
}
|
|
11532
11546
|
function $getXmlParserCOROUTINE$1(_this__u8e3s4, fileName, resultContinuation) {
|
|
11533
11547
|
CoroutineImpl.call(this, resultContinuation);
|
|
11534
|
-
this.
|
|
11535
|
-
this.
|
|
11548
|
+
this.r3l_1 = _this__u8e3s4;
|
|
11549
|
+
this.s3l_1 = fileName;
|
|
11536
11550
|
}
|
|
11537
11551
|
protoOf($getXmlParserCOROUTINE$1).re = function () {
|
|
11538
11552
|
var suspendResult = this.ae_1;
|
|
@@ -11543,7 +11557,7 @@
|
|
|
11543
11557
|
case 0:
|
|
11544
11558
|
this.zd_1 = 2;
|
|
11545
11559
|
this.yd_1 = 1;
|
|
11546
|
-
suspendResult = await_0(this.
|
|
11560
|
+
suspendResult = await_0(this.r3l_1.readFile(this.s3l_1), this);
|
|
11547
11561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
11548
11562
|
return suspendResult;
|
|
11549
11563
|
}
|
|
@@ -11576,14 +11590,14 @@
|
|
|
11576
11590
|
function JsXmlPullParserFactory() {
|
|
11577
11591
|
XmlPullParserFactory.call(this);
|
|
11578
11592
|
}
|
|
11579
|
-
protoOf(JsXmlPullParserFactory).
|
|
11593
|
+
protoOf(JsXmlPullParserFactory).t3l = function (fileName, $completion) {
|
|
11580
11594
|
var tmp = new $getXmlParserCOROUTINE$1(this, fileName, $completion);
|
|
11581
11595
|
tmp.ae_1 = Unit_getInstance();
|
|
11582
11596
|
tmp.be_1 = null;
|
|
11583
11597
|
return tmp.re();
|
|
11584
11598
|
};
|
|
11585
11599
|
protoOf(JsXmlPullParserFactory).k2p = function (fileName, $completion) {
|
|
11586
|
-
return this.
|
|
11600
|
+
return this.t3l(fileName, $completion);
|
|
11587
11601
|
};
|
|
11588
11602
|
function XmlPullParserException(s) {
|
|
11589
11603
|
Exception_init_$Init$(s, this);
|
|
@@ -11997,6 +12011,16 @@
|
|
|
11997
12011
|
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
11998
12012
|
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
11999
12013
|
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
12014
|
+
var $org$cru$godtools$shared$tool$parser$model$tips = $org$cru$godtools$shared$tool$parser$model.tips || ($org$cru$godtools$shared$tool$parser$model.tips = {});
|
|
12015
|
+
$org$cru$godtools$shared$tool$parser$model$tips.InlineTip = InlineTip;
|
|
12016
|
+
$org$cru$godtools$shared$tool$parser$model$tips.InlineTip.createTestInlineTip = createTestInlineTip;
|
|
12017
|
+
var $org = _.org || (_.org = {});
|
|
12018
|
+
var $org$cru = $org.cru || ($org.cru = {});
|
|
12019
|
+
var $org$cru$godtools = $org$cru.godtools || ($org$cru.godtools = {});
|
|
12020
|
+
var $org$cru$godtools$shared = $org$cru$godtools.shared || ($org$cru$godtools.shared = {});
|
|
12021
|
+
var $org$cru$godtools$shared$tool = $org$cru$godtools$shared.tool || ($org$cru$godtools$shared.tool = {});
|
|
12022
|
+
var $org$cru$godtools$shared$tool$parser = $org$cru$godtools$shared$tool.parser || ($org$cru$godtools$shared$tool.parser = {});
|
|
12023
|
+
var $org$cru$godtools$shared$tool$parser$model = $org$cru$godtools$shared$tool$parser.model || ($org$cru$godtools$shared$tool$parser.model = {});
|
|
12000
12024
|
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 = {});
|
|
12001
12025
|
$org$cru$godtools$shared$tool$parser$model$tract.CallToAction = CallToAction;
|
|
12002
12026
|
$org$cru$godtools$shared$tool$parser$model$tract.CallToAction.createTestCallToAction = createTestCallToAction;
|