@guardian/feast-multiplatform-library 17.1.4 → 17.2.0
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/kotlin/feast-multiplatform-library-library.js +747 -767
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +292 -279
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +98 -97
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +108 -107
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,96 +3,97 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
5
|
var VOID = kotlin_kotlin.$_$.b;
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
7
|
-
var toString = kotlin_kotlin.$_$.
|
|
8
|
-
var getNumberHashCode = kotlin_kotlin.$_$.
|
|
9
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
10
|
-
var equals = kotlin_kotlin.$_$.
|
|
11
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
6
|
+
var protoOf = kotlin_kotlin.$_$.b8;
|
|
7
|
+
var toString = kotlin_kotlin.$_$.gb;
|
|
8
|
+
var getNumberHashCode = kotlin_kotlin.$_$.c7;
|
|
9
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.b7;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.a7;
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.g7;
|
|
12
12
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.k1;
|
|
13
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
13
|
+
var numberToInt = kotlin_kotlin.$_$.z7;
|
|
14
14
|
var Unit_instance = kotlin_kotlin.$_$.u;
|
|
15
|
-
var round = kotlin_kotlin.$_$.
|
|
16
|
-
var replace = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
15
|
+
var round = kotlin_kotlin.$_$.e8;
|
|
16
|
+
var replace = kotlin_kotlin.$_$.a9;
|
|
17
|
+
var initMetadataForObject = kotlin_kotlin.$_$.l7;
|
|
18
18
|
var listOfNotNull = kotlin_kotlin.$_$.c5;
|
|
19
19
|
var joinToString = kotlin_kotlin.$_$.x4;
|
|
20
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
21
|
-
var plus = kotlin_kotlin.$_$.db;
|
|
22
|
-
var isBlank = kotlin_kotlin.$_$.w8;
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.db;
|
|
23
21
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.d4;
|
|
24
22
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
25
23
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.w1;
|
|
26
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
27
|
-
var indexOfAny = kotlin_kotlin.$_$.
|
|
28
|
-
var take = kotlin_kotlin.$_$.
|
|
29
|
-
var drop = kotlin_kotlin.$_$.
|
|
30
|
-
var split = kotlin_kotlin.$_$.
|
|
24
|
+
var charArrayOf = kotlin_kotlin.$_$.t6;
|
|
25
|
+
var indexOfAny = kotlin_kotlin.$_$.u8;
|
|
26
|
+
var take = kotlin_kotlin.$_$.i9;
|
|
27
|
+
var drop = kotlin_kotlin.$_$.s8;
|
|
28
|
+
var split = kotlin_kotlin.$_$.c9;
|
|
31
29
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.d2;
|
|
32
30
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a2;
|
|
33
31
|
var Companion_instance = kotlin_kotlin.$_$.p;
|
|
34
32
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.c2;
|
|
35
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
36
|
-
var
|
|
33
|
+
var charSequenceLength = kotlin_kotlin.$_$.x6;
|
|
34
|
+
var isBlank = kotlin_kotlin.$_$.x8;
|
|
35
|
+
var startsWith = kotlin_kotlin.$_$.d9;
|
|
37
36
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
38
37
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
39
38
|
var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
40
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.v;
|
|
41
|
-
var lazy = kotlin_kotlin.$_$.
|
|
42
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
40
|
+
var lazy = kotlin_kotlin.$_$.bb;
|
|
41
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.h7;
|
|
43
42
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
44
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.ja;
|
|
45
44
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
46
45
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
47
46
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
48
47
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
49
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
50
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
51
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
52
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
48
|
+
var objectCreate = kotlin_kotlin.$_$.a8;
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.d8;
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.e7;
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.f7;
|
|
53
52
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
54
53
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
55
54
|
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
56
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
57
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
58
|
-
var createKType = kotlin_kotlin.$_$.
|
|
59
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
55
|
+
var getKClass = kotlin_kotlin.$_$.n8;
|
|
56
|
+
var arrayOf = kotlin_kotlin.$_$.ua;
|
|
57
|
+
var createKType = kotlin_kotlin.$_$.l8;
|
|
58
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
60
59
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
61
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
60
|
+
var isInterface = kotlin_kotlin.$_$.t7;
|
|
62
61
|
var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
|
|
63
62
|
var get_int = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
|
|
64
63
|
var get_float = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
65
64
|
var mapCapacity = kotlin_kotlin.$_$.f5;
|
|
66
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
65
|
+
var coerceAtLeast = kotlin_kotlin.$_$.g8;
|
|
67
66
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
68
|
-
var to = kotlin_kotlin.$_$.
|
|
67
|
+
var to = kotlin_kotlin.$_$.hb;
|
|
69
68
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
70
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
71
|
-
var IndexOutOfBoundsException = kotlin_kotlin.$_$.
|
|
72
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
73
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
74
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
69
|
+
var createFailure = kotlin_kotlin.$_$.wa;
|
|
70
|
+
var IndexOutOfBoundsException = kotlin_kotlin.$_$.fa;
|
|
71
|
+
var ClassCastException = kotlin_kotlin.$_$.z9;
|
|
72
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.ea;
|
|
73
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
74
|
+
var SerializableWith = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
75
75
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
|
|
76
76
|
var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i;
|
|
77
77
|
var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j;
|
|
78
78
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.x;
|
|
79
|
-
var substring = kotlin_kotlin.$_$.
|
|
79
|
+
var substring = kotlin_kotlin.$_$.h9;
|
|
80
80
|
var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.f;
|
|
81
|
-
var print = kotlin_kotlin.$_$.
|
|
82
|
-
var Exception = kotlin_kotlin.$_$.
|
|
83
|
-
var substring_0 = kotlin_kotlin.$_$.
|
|
81
|
+
var print = kotlin_kotlin.$_$.y5;
|
|
82
|
+
var Exception = kotlin_kotlin.$_$.da;
|
|
83
|
+
var substring_0 = kotlin_kotlin.$_$.g9;
|
|
84
84
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
85
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
86
|
-
var Enum = kotlin_kotlin.$_$.
|
|
87
|
-
var setOf = kotlin_kotlin.$_$.
|
|
88
|
-
var setOf_0 = kotlin_kotlin.$_$.
|
|
85
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.j7;
|
|
86
|
+
var Enum = kotlin_kotlin.$_$.ca;
|
|
87
|
+
var setOf = kotlin_kotlin.$_$.m5;
|
|
88
|
+
var setOf_0 = kotlin_kotlin.$_$.l5;
|
|
89
89
|
var listOf = kotlin_kotlin.$_$.e5;
|
|
90
|
-
var
|
|
90
|
+
var plus = kotlin_kotlin.$_$.h5;
|
|
91
91
|
var emptySet = kotlin_kotlin.$_$.t4;
|
|
92
92
|
var listOf_0 = kotlin_kotlin.$_$.d5;
|
|
93
|
+
var plus_0 = kotlin_kotlin.$_$.j5;
|
|
93
94
|
var contains = kotlin_kotlin.$_$.e4;
|
|
94
95
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
95
|
-
var throwOnFailure = kotlin_kotlin.$_$.
|
|
96
|
+
var throwOnFailure = kotlin_kotlin.$_$.fb;
|
|
96
97
|
//endregion
|
|
97
98
|
//region block: pre-declaration
|
|
98
99
|
initMetadataForClass(Amount, 'Amount');
|
|
@@ -195,7 +196,7 @@
|
|
|
195
196
|
return true;
|
|
196
197
|
};
|
|
197
198
|
function FormatUtils$applySmartPunctuation$lambda(matchResult) {
|
|
198
|
-
return '\u201C' + matchResult.tb().
|
|
199
|
+
return '\u201C' + matchResult.tb().d1(2) + '\u201D';
|
|
199
200
|
}
|
|
200
201
|
function FormatUtils() {
|
|
201
202
|
FormatUtils_instance = this;
|
|
@@ -321,11 +322,11 @@
|
|
|
321
322
|
tmp_2 = measuringSystem;
|
|
322
323
|
}
|
|
323
324
|
var targetSystem = tmp_2;
|
|
324
|
-
amount = UnitConversions_getInstance().
|
|
325
|
+
amount = UnitConversions_getInstance().a1g(amount, targetSystem, factorToUse, density);
|
|
325
326
|
var tmp2_subject = amount.b1e_1;
|
|
326
327
|
var decimals = equals(tmp2_subject, Units_getInstance().n1e_1) || (equals(tmp2_subject, Units_getInstance().r1e_1) || equals(tmp2_subject, Units_getInstance().e1f_1)) || (equals(tmp2_subject, Units_getInstance().w1e_1) || equals(tmp2_subject, Units_getInstance().u1e_1) || (equals(tmp2_subject, Units_getInstance().x1e_1) || equals(tmp2_subject, Units_getInstance().v1e_1))) ? 0 : equals(tmp2_subject, Units_getInstance().f1f_1) || equals(tmp2_subject, Units_getInstance().g1f_1) ? 1 : 1;
|
|
327
328
|
var tmp3_subject = amount.b1e_1;
|
|
328
|
-
var fraction = equals(tmp3_subject, Units_getInstance().s1e_1) || (equals(tmp3_subject, Units_getInstance().r1e_1) || equals(tmp3_subject, Units_getInstance().f1f_1)) || (equals(tmp3_subject, Units_getInstance().n1e_1) || (equals(tmp3_subject, Units_getInstance().o1e_1) || equals(tmp3_subject, Units_getInstance().e1f_1))) ? false :
|
|
329
|
+
var fraction = equals(tmp3_subject, Units_getInstance().s1e_1) || (equals(tmp3_subject, Units_getInstance().r1e_1) || equals(tmp3_subject, Units_getInstance().f1f_1)) || (equals(tmp3_subject, Units_getInstance().n1e_1) || (equals(tmp3_subject, Units_getInstance().o1e_1) || equals(tmp3_subject, Units_getInstance().e1f_1))) ? false : true;
|
|
329
330
|
var tmp_3;
|
|
330
331
|
if (!(amount.b1e_1 == null)) {
|
|
331
332
|
var tmp_4;
|
|
@@ -334,9 +335,9 @@
|
|
|
334
335
|
// Inline function 'kotlin.math.max' call
|
|
335
336
|
var b = tmp4_elvis_lhs == null ? amount.z1d_1 : tmp4_elvis_lhs;
|
|
336
337
|
if (Math.max(tmp0, b) > 1.1) {
|
|
337
|
-
tmp_4 = ' ' + amount.b1e_1.
|
|
338
|
+
tmp_4 = ' ' + amount.b1e_1.e1g_1;
|
|
338
339
|
} else {
|
|
339
|
-
tmp_4 = ' ' + amount.b1e_1.
|
|
340
|
+
tmp_4 = ' ' + amount.b1e_1.d1g_1;
|
|
340
341
|
}
|
|
341
342
|
tmp_3 = tmp_4;
|
|
342
343
|
} else {
|
|
@@ -354,7 +355,7 @@
|
|
|
354
355
|
}
|
|
355
356
|
return joinToString(listOfNotNull([tmp_5, tmp_6, unitString]), '');
|
|
356
357
|
};
|
|
357
|
-
protoOf(TemplateSession).
|
|
358
|
+
protoOf(TemplateSession).i1g = function (element, factor, measuringSystem) {
|
|
358
359
|
var tmp;
|
|
359
360
|
if (element instanceof TemplateConst) {
|
|
360
361
|
tmp = element.value;
|
|
@@ -382,83 +383,50 @@
|
|
|
382
383
|
if (tmp_1) {
|
|
383
384
|
tmp_0 = this.l1e(element, factor, measuringSystem);
|
|
384
385
|
} else {
|
|
386
|
+
var tmp_4;
|
|
385
387
|
if (measuringSystem instanceof USCustomaryWithMetric) {
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
388
|
+
tmp_4 = true;
|
|
389
|
+
} else {
|
|
390
|
+
tmp_4 = measuringSystem instanceof USCustomaryWithImperial;
|
|
391
|
+
}
|
|
392
|
+
if (tmp_4) {
|
|
393
|
+
tmp_0 = this.l1e(element, factor, USCustomary_instance);
|
|
394
|
+
} else {
|
|
395
|
+
if (measuringSystem instanceof USCombined) {
|
|
396
|
+
var tmp2_safe_receiver = element.unit;
|
|
394
397
|
var tmp_5;
|
|
395
|
-
if (
|
|
396
|
-
tmp_5 =
|
|
398
|
+
if (tmp2_safe_receiver == null) {
|
|
399
|
+
tmp_5 = null;
|
|
397
400
|
} else {
|
|
398
|
-
|
|
401
|
+
// Inline function 'kotlin.let' call
|
|
402
|
+
tmp_5 = Units_getInstance().l1f(tmp2_safe_receiver);
|
|
399
403
|
}
|
|
400
|
-
|
|
401
|
-
}
|
|
402
|
-
tmp_0 = tmp_4;
|
|
403
|
-
} else {
|
|
404
|
-
if (measuringSystem instanceof USCustomaryWithImperial) {
|
|
404
|
+
var unit = tmp_5;
|
|
405
405
|
var tmp_6;
|
|
406
|
-
|
|
407
|
-
var this_1 = element.unit;
|
|
408
|
-
if (this_1 == null || isBlank(this_1)) {
|
|
406
|
+
if (unit == null || equals(unit, Units_getInstance().u1e_1) || equals(unit, Units_getInstance().v1e_1) || equals(unit, Units_getInstance().w1e_1) || equals(unit, Units_getInstance().x1e_1)) {
|
|
409
407
|
tmp_6 = this.l1e(element, factor, USCustomary_instance);
|
|
410
408
|
} else {
|
|
411
|
-
var
|
|
412
|
-
var imperialPart = this.l1e(element, factor, Imperial_instance);
|
|
409
|
+
var usCustomaryPart = this.l1e(element, factor, USCustomary_instance);
|
|
413
410
|
var tmp_7;
|
|
414
|
-
if (
|
|
415
|
-
tmp_7 =
|
|
411
|
+
if (equals(unit, Units_getInstance().y1e_1)) {
|
|
412
|
+
tmp_7 = null;
|
|
413
|
+
} else if (equals(unit.f1g_1, UnitType_VOLUME_getInstance())) {
|
|
414
|
+
tmp_7 = usCustomaryPart;
|
|
416
415
|
} else {
|
|
417
|
-
tmp_7 =
|
|
416
|
+
tmp_7 = this.l1e(element, factor, Imperial_instance);
|
|
418
417
|
}
|
|
419
|
-
|
|
420
|
-
}
|
|
421
|
-
tmp_0 = tmp_6;
|
|
422
|
-
} else {
|
|
423
|
-
if (measuringSystem instanceof USCombined) {
|
|
424
|
-
var tmp2_safe_receiver = element.unit;
|
|
418
|
+
var imperialPart = tmp_7;
|
|
425
419
|
var tmp_8;
|
|
426
|
-
if (
|
|
427
|
-
tmp_8 =
|
|
428
|
-
} else {
|
|
429
|
-
// Inline function 'kotlin.let' call
|
|
430
|
-
tmp_8 = Units_getInstance().l1f(tmp2_safe_receiver);
|
|
431
|
-
}
|
|
432
|
-
var unit = tmp_8;
|
|
433
|
-
var tmp_9;
|
|
434
|
-
if (unit == null || equals(unit, Units_getInstance().u1e_1) || equals(unit, Units_getInstance().v1e_1) || equals(unit, Units_getInstance().w1e_1) || equals(unit, Units_getInstance().x1e_1)) {
|
|
435
|
-
tmp_9 = this.l1e(element, factor, USCustomary_instance);
|
|
420
|
+
if (usCustomaryPart === imperialPart || imperialPart == null) {
|
|
421
|
+
tmp_8 = usCustomaryPart;
|
|
436
422
|
} else {
|
|
437
|
-
|
|
438
|
-
var tmp_10;
|
|
439
|
-
if (equals(unit, Units_getInstance().y1e_1)) {
|
|
440
|
-
tmp_10 = null;
|
|
441
|
-
} else if (equals(unit.e1g_1, UnitType_VOLUME_getInstance())) {
|
|
442
|
-
tmp_10 = cupsPart_1;
|
|
443
|
-
} else {
|
|
444
|
-
tmp_10 = this.l1e(element, factor, Imperial_instance);
|
|
445
|
-
}
|
|
446
|
-
var imperialPart_0 = tmp_10;
|
|
447
|
-
var metricPart_0 = this.l1e(element, factor, Metric_instance);
|
|
448
|
-
var tmp_11;
|
|
449
|
-
if (cupsPart_1 === metricPart_0 && cupsPart_1 === imperialPart_0) {
|
|
450
|
-
tmp_11 = metricPart_0;
|
|
451
|
-
} else if (cupsPart_1 === imperialPart_0) {
|
|
452
|
-
tmp_11 = cupsPart_1 + ' (' + metricPart_0 + ')';
|
|
453
|
-
} else {
|
|
454
|
-
tmp_11 = plus(imperialPart_0, ' \u2022 ') + cupsPart_1 + ' (' + metricPart_0 + ')';
|
|
455
|
-
}
|
|
456
|
-
tmp_9 = tmp_11;
|
|
423
|
+
tmp_8 = imperialPart + ' \u2022 ' + usCustomaryPart;
|
|
457
424
|
}
|
|
458
|
-
|
|
459
|
-
} else {
|
|
460
|
-
noWhenBranchMatchedException();
|
|
425
|
+
tmp_6 = tmp_8;
|
|
461
426
|
}
|
|
427
|
+
tmp_0 = tmp_6;
|
|
428
|
+
} else {
|
|
429
|
+
noWhenBranchMatchedException();
|
|
462
430
|
}
|
|
463
431
|
}
|
|
464
432
|
}
|
|
@@ -473,22 +441,22 @@
|
|
|
473
441
|
}
|
|
474
442
|
return tmp;
|
|
475
443
|
};
|
|
476
|
-
protoOf(TemplateSession).
|
|
444
|
+
protoOf(TemplateSession).j1g = function (template, factor, measuringSystem) {
|
|
477
445
|
// Inline function 'kotlin.collections.map' call
|
|
478
|
-
var this_0 = template.
|
|
446
|
+
var this_0 = template.k1g_1;
|
|
479
447
|
// Inline function 'kotlin.collections.mapTo' call
|
|
480
448
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
481
449
|
var _iterator__ex2g4s = this_0.q();
|
|
482
450
|
while (_iterator__ex2g4s.r()) {
|
|
483
451
|
var item = _iterator__ex2g4s.s();
|
|
484
|
-
var tmp$ret$2 = this.
|
|
452
|
+
var tmp$ret$2 = this.i1g(item, factor, measuringSystem);
|
|
485
453
|
destination.u(tmp$ret$2);
|
|
486
454
|
}
|
|
487
455
|
var renderedParts = destination;
|
|
488
456
|
return FormatUtils_getInstance().i1e(joinToString(renderedParts, ''));
|
|
489
457
|
};
|
|
490
458
|
protoOf(TemplateSession).scaleAndConvertUnitRecipe = function (recipe, factor, measuringSystem) {
|
|
491
|
-
var tmp0_safe_receiver = recipe.
|
|
459
|
+
var tmp0_safe_receiver = recipe.x1g_1;
|
|
492
460
|
var tmp;
|
|
493
461
|
if (tmp0_safe_receiver == null) {
|
|
494
462
|
tmp = null;
|
|
@@ -499,7 +467,7 @@
|
|
|
499
467
|
var _iterator__ex2g4s = tmp0_safe_receiver.q();
|
|
500
468
|
while (_iterator__ex2g4s.r()) {
|
|
501
469
|
var item = _iterator__ex2g4s.s();
|
|
502
|
-
var tmp0_safe_receiver_0 = item.
|
|
470
|
+
var tmp0_safe_receiver_0 = item.i1h_1;
|
|
503
471
|
var tmp_0;
|
|
504
472
|
if (tmp0_safe_receiver_0 == null) {
|
|
505
473
|
tmp_0 = null;
|
|
@@ -510,28 +478,28 @@
|
|
|
510
478
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.q();
|
|
511
479
|
while (_iterator__ex2g4s_0.r()) {
|
|
512
480
|
var item_0 = _iterator__ex2g4s_0.s();
|
|
513
|
-
var tmp0_safe_receiver_1 = item_0.
|
|
481
|
+
var tmp0_safe_receiver_1 = item_0.q1h_1;
|
|
514
482
|
var tmp_1;
|
|
515
483
|
if (tmp0_safe_receiver_1 == null) {
|
|
516
484
|
tmp_1 = null;
|
|
517
485
|
} else {
|
|
518
486
|
// Inline function 'kotlin.let' call
|
|
519
|
-
tmp_1 = wrapWithStrongTag(this.
|
|
487
|
+
tmp_1 = wrapWithStrongTag(this.j1g(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
|
|
520
488
|
}
|
|
521
489
|
var tmp1_elvis_lhs = tmp_1;
|
|
522
|
-
var scaledText = tmp1_elvis_lhs == null ? item_0.
|
|
523
|
-
var tmp$ret$5 = item_0.
|
|
490
|
+
var scaledText = tmp1_elvis_lhs == null ? item_0.r1h_1 : tmp1_elvis_lhs;
|
|
491
|
+
var tmp$ret$5 = item_0.t1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
|
|
524
492
|
destination_0.u(tmp$ret$5);
|
|
525
493
|
}
|
|
526
494
|
tmp_0 = destination_0;
|
|
527
495
|
}
|
|
528
|
-
var tmp$ret$2 = new IngredientsList(tmp_0, item.
|
|
496
|
+
var tmp$ret$2 = new IngredientsList(tmp_0, item.j1h_1);
|
|
529
497
|
destination.u(tmp$ret$2);
|
|
530
498
|
}
|
|
531
499
|
tmp = destination;
|
|
532
500
|
}
|
|
533
501
|
var scaledIngredients = tmp;
|
|
534
|
-
var tmp1_safe_receiver = recipe.
|
|
502
|
+
var tmp1_safe_receiver = recipe.y1g_1;
|
|
535
503
|
var tmp_2;
|
|
536
504
|
if (tmp1_safe_receiver == null) {
|
|
537
505
|
tmp_2 = null;
|
|
@@ -542,22 +510,22 @@
|
|
|
542
510
|
var _iterator__ex2g4s_1 = tmp1_safe_receiver.q();
|
|
543
511
|
while (_iterator__ex2g4s_1.r()) {
|
|
544
512
|
var item_1 = _iterator__ex2g4s_1.s();
|
|
545
|
-
var tmp0_safe_receiver_2 = item_1.
|
|
513
|
+
var tmp0_safe_receiver_2 = item_1.v1h_1;
|
|
546
514
|
var tmp_3;
|
|
547
515
|
if (tmp0_safe_receiver_2 == null) {
|
|
548
516
|
tmp_3 = null;
|
|
549
517
|
} else {
|
|
550
518
|
// Inline function 'kotlin.let' call
|
|
551
|
-
tmp_3 = this.
|
|
519
|
+
tmp_3 = this.j1g(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
|
|
552
520
|
}
|
|
553
521
|
var description = tmp_3;
|
|
554
|
-
var tmp$ret$10 = item_1.
|
|
522
|
+
var tmp$ret$10 = item_1.y1h(description == null ? item_1.u1h_1 : description);
|
|
555
523
|
destination_1.u(tmp$ret$10);
|
|
556
524
|
}
|
|
557
525
|
tmp_2 = destination_1;
|
|
558
526
|
}
|
|
559
527
|
var scaledInstructions = tmp_2;
|
|
560
|
-
return recipe.
|
|
528
|
+
return recipe.z1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
|
|
561
529
|
};
|
|
562
530
|
function wrapWithStrongTag(value) {
|
|
563
531
|
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
@@ -632,7 +600,7 @@
|
|
|
632
600
|
// Inline function 'kotlin.arrayOf' call
|
|
633
601
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
634
602
|
// Inline function 'kotlin.js.asDynamic' call
|
|
635
|
-
tmp.
|
|
603
|
+
tmp.a1i_1 = [null, tmp_1, lazy(tmp_2, TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0)];
|
|
636
604
|
}
|
|
637
605
|
var Companion_instance_0;
|
|
638
606
|
function Companion_getInstance() {
|
|
@@ -646,22 +614,22 @@
|
|
|
646
614
|
tmp0_serialDesc.zs('prepared_at', false);
|
|
647
615
|
tmp0_serialDesc.zs('key', false);
|
|
648
616
|
tmp0_serialDesc.zs('values', false);
|
|
649
|
-
this.
|
|
617
|
+
this.b1i_1 = tmp0_serialDesc;
|
|
650
618
|
}
|
|
651
|
-
protoOf($serializer).
|
|
652
|
-
var tmp0_desc = this.
|
|
619
|
+
protoOf($serializer).c1i = function (encoder, value) {
|
|
620
|
+
var tmp0_desc = this.b1i_1;
|
|
653
621
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
654
|
-
var tmp2_cached = Companion_getInstance().
|
|
655
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
656
|
-
tmp1_output.gn(tmp0_desc, 1, tmp2_cached[1].g2(), value.
|
|
657
|
-
tmp1_output.gn(tmp0_desc, 2, tmp2_cached[2].g2(), value.
|
|
622
|
+
var tmp2_cached = Companion_getInstance().a1i_1;
|
|
623
|
+
tmp1_output.en(tmp0_desc, 0, value.d1i_1);
|
|
624
|
+
tmp1_output.gn(tmp0_desc, 1, tmp2_cached[1].g2(), value.e1i_1);
|
|
625
|
+
tmp1_output.gn(tmp0_desc, 2, tmp2_cached[2].g2(), value.f1i_1);
|
|
658
626
|
tmp1_output.rl(tmp0_desc);
|
|
659
627
|
};
|
|
660
628
|
protoOf($serializer).ti = function (encoder, value) {
|
|
661
|
-
return this.
|
|
629
|
+
return this.c1i(encoder, value instanceof TableSchema ? value : THROW_CCE());
|
|
662
630
|
};
|
|
663
631
|
protoOf($serializer).ui = function (decoder) {
|
|
664
|
-
var tmp0_desc = this.
|
|
632
|
+
var tmp0_desc = this.b1i_1;
|
|
665
633
|
var tmp1_flag = true;
|
|
666
634
|
var tmp2_index = 0;
|
|
667
635
|
var tmp3_bitMask0 = 0;
|
|
@@ -669,7 +637,7 @@
|
|
|
669
637
|
var tmp5_local1 = null;
|
|
670
638
|
var tmp6_local2 = null;
|
|
671
639
|
var tmp7_input = decoder.ql(tmp0_desc);
|
|
672
|
-
var tmp8_cached = Companion_getInstance().
|
|
640
|
+
var tmp8_cached = Companion_getInstance().a1i_1;
|
|
673
641
|
if (tmp7_input.gm()) {
|
|
674
642
|
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
675
643
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -704,10 +672,10 @@
|
|
|
704
672
|
return TableSchema_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
705
673
|
};
|
|
706
674
|
protoOf($serializer).si = function () {
|
|
707
|
-
return this.
|
|
675
|
+
return this.b1i_1;
|
|
708
676
|
};
|
|
709
677
|
protoOf($serializer).bt = function () {
|
|
710
|
-
var tmp0_cached = Companion_getInstance().
|
|
678
|
+
var tmp0_cached = Companion_getInstance().a1i_1;
|
|
711
679
|
// Inline function 'kotlin.arrayOf' call
|
|
712
680
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
713
681
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -721,11 +689,11 @@
|
|
|
721
689
|
}
|
|
722
690
|
function TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, $this) {
|
|
723
691
|
if (!(7 === (7 & seen0))) {
|
|
724
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
692
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().b1i_1);
|
|
725
693
|
}
|
|
726
|
-
$this.
|
|
727
|
-
$this.
|
|
728
|
-
$this.
|
|
694
|
+
$this.d1i_1 = preparedAt;
|
|
695
|
+
$this.e1i_1 = key;
|
|
696
|
+
$this.f1i_1 = values;
|
|
729
697
|
return $this;
|
|
730
698
|
}
|
|
731
699
|
function TableSchema_init_$Create$(seen0, preparedAt, key, values, serializationConstructorMarker) {
|
|
@@ -733,17 +701,17 @@
|
|
|
733
701
|
}
|
|
734
702
|
function TableSchema(preparedAt, key, values) {
|
|
735
703
|
Companion_getInstance();
|
|
736
|
-
this.
|
|
737
|
-
this.
|
|
738
|
-
this.
|
|
704
|
+
this.d1i_1 = preparedAt;
|
|
705
|
+
this.e1i_1 = key;
|
|
706
|
+
this.f1i_1 = values;
|
|
739
707
|
}
|
|
740
708
|
protoOf(TableSchema).toString = function () {
|
|
741
|
-
return 'TableSchema(preparedAt=' + this.
|
|
709
|
+
return 'TableSchema(preparedAt=' + this.d1i_1 + ', key=' + toString_0(this.e1i_1) + ', values=' + toString_0(this.f1i_1) + ')';
|
|
742
710
|
};
|
|
743
711
|
protoOf(TableSchema).hashCode = function () {
|
|
744
|
-
var result = getStringHashCode(this.
|
|
745
|
-
result = imul(result, 31) + hashCode(this.d1i_1) | 0;
|
|
712
|
+
var result = getStringHashCode(this.d1i_1);
|
|
746
713
|
result = imul(result, 31) + hashCode(this.e1i_1) | 0;
|
|
714
|
+
result = imul(result, 31) + hashCode(this.f1i_1) | 0;
|
|
747
715
|
return result;
|
|
748
716
|
};
|
|
749
717
|
protoOf(TableSchema).equals = function (other) {
|
|
@@ -751,12 +719,12 @@
|
|
|
751
719
|
return true;
|
|
752
720
|
if (!(other instanceof TableSchema))
|
|
753
721
|
return false;
|
|
754
|
-
if (!(this.
|
|
755
|
-
return false;
|
|
756
|
-
if (!equals(this.d1i_1, other.d1i_1))
|
|
722
|
+
if (!(this.d1i_1 === other.d1i_1))
|
|
757
723
|
return false;
|
|
758
724
|
if (!equals(this.e1i_1, other.e1i_1))
|
|
759
725
|
return false;
|
|
726
|
+
if (!equals(this.f1i_1, other.f1i_1))
|
|
727
|
+
return false;
|
|
760
728
|
return true;
|
|
761
729
|
};
|
|
762
730
|
function Companion_0() {
|
|
@@ -772,22 +740,22 @@
|
|
|
772
740
|
tmp0_serialDesc.zs('name', false);
|
|
773
741
|
tmp0_serialDesc.zs('normalised_name', false);
|
|
774
742
|
tmp0_serialDesc.zs('density', false);
|
|
775
|
-
this.
|
|
743
|
+
this.g1i_1 = tmp0_serialDesc;
|
|
776
744
|
}
|
|
777
|
-
protoOf($serializer_0).
|
|
778
|
-
var tmp0_desc = this.
|
|
745
|
+
protoOf($serializer_0).h1i = function (encoder, value) {
|
|
746
|
+
var tmp0_desc = this.g1i_1;
|
|
779
747
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
780
|
-
tmp1_output.zm(tmp0_desc, 0, value.
|
|
781
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
782
|
-
tmp1_output.en(tmp0_desc, 2, value.
|
|
783
|
-
tmp1_output.bn(tmp0_desc, 3, value.
|
|
748
|
+
tmp1_output.zm(tmp0_desc, 0, value.i1i_1);
|
|
749
|
+
tmp1_output.en(tmp0_desc, 1, value.j1i_1);
|
|
750
|
+
tmp1_output.en(tmp0_desc, 2, value.k1i_1);
|
|
751
|
+
tmp1_output.bn(tmp0_desc, 3, value.l1i_1);
|
|
784
752
|
tmp1_output.rl(tmp0_desc);
|
|
785
753
|
};
|
|
786
754
|
protoOf($serializer_0).ti = function (encoder, value) {
|
|
787
|
-
return this.
|
|
755
|
+
return this.h1i(encoder, value instanceof Ingredient ? value : THROW_CCE());
|
|
788
756
|
};
|
|
789
757
|
protoOf($serializer_0).ui = function (decoder) {
|
|
790
|
-
var tmp0_desc = this.
|
|
758
|
+
var tmp0_desc = this.g1i_1;
|
|
791
759
|
var tmp1_flag = true;
|
|
792
760
|
var tmp2_index = 0;
|
|
793
761
|
var tmp3_bitMask0 = 0;
|
|
@@ -836,7 +804,7 @@
|
|
|
836
804
|
return Ingredient_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
837
805
|
};
|
|
838
806
|
protoOf($serializer_0).si = function () {
|
|
839
|
-
return this.
|
|
807
|
+
return this.g1i_1;
|
|
840
808
|
};
|
|
841
809
|
protoOf($serializer_0).bt = function () {
|
|
842
810
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -852,31 +820,31 @@
|
|
|
852
820
|
}
|
|
853
821
|
function Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, $this) {
|
|
854
822
|
if (!(15 === (15 & seen0))) {
|
|
855
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().
|
|
823
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().g1i_1);
|
|
856
824
|
}
|
|
857
|
-
$this.
|
|
858
|
-
$this.
|
|
859
|
-
$this.
|
|
860
|
-
$this.
|
|
825
|
+
$this.i1i_1 = id;
|
|
826
|
+
$this.j1i_1 = name;
|
|
827
|
+
$this.k1i_1 = normalised_name;
|
|
828
|
+
$this.l1i_1 = density;
|
|
861
829
|
return $this;
|
|
862
830
|
}
|
|
863
831
|
function Ingredient_init_$Create$(seen0, id, name, normalised_name, density, serializationConstructorMarker) {
|
|
864
832
|
return Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, objectCreate(protoOf(Ingredient)));
|
|
865
833
|
}
|
|
866
834
|
function Ingredient(id, name, normalised_name, density) {
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
870
|
-
this.
|
|
835
|
+
this.i1i_1 = id;
|
|
836
|
+
this.j1i_1 = name;
|
|
837
|
+
this.k1i_1 = normalised_name;
|
|
838
|
+
this.l1i_1 = density;
|
|
871
839
|
}
|
|
872
840
|
protoOf(Ingredient).toString = function () {
|
|
873
|
-
return 'Ingredient(id=' + this.
|
|
841
|
+
return 'Ingredient(id=' + this.i1i_1 + ', name=' + this.j1i_1 + ', normalised_name=' + this.k1i_1 + ', density=' + this.l1i_1 + ')';
|
|
874
842
|
};
|
|
875
843
|
protoOf(Ingredient).hashCode = function () {
|
|
876
|
-
var result = this.
|
|
877
|
-
result = imul(result, 31) + getStringHashCode(this.i1i_1) | 0;
|
|
844
|
+
var result = this.i1i_1;
|
|
878
845
|
result = imul(result, 31) + getStringHashCode(this.j1i_1) | 0;
|
|
879
|
-
result = imul(result, 31) +
|
|
846
|
+
result = imul(result, 31) + getStringHashCode(this.k1i_1) | 0;
|
|
847
|
+
result = imul(result, 31) + getNumberHashCode(this.l1i_1) | 0;
|
|
880
848
|
return result;
|
|
881
849
|
};
|
|
882
850
|
protoOf(Ingredient).equals = function (other) {
|
|
@@ -884,13 +852,13 @@
|
|
|
884
852
|
return true;
|
|
885
853
|
if (!(other instanceof Ingredient))
|
|
886
854
|
return false;
|
|
887
|
-
if (!(this.h1i_1 === other.h1i_1))
|
|
888
|
-
return false;
|
|
889
855
|
if (!(this.i1i_1 === other.i1i_1))
|
|
890
856
|
return false;
|
|
891
857
|
if (!(this.j1i_1 === other.j1i_1))
|
|
892
858
|
return false;
|
|
893
|
-
if (!
|
|
859
|
+
if (!(this.k1i_1 === other.k1i_1))
|
|
860
|
+
return false;
|
|
861
|
+
if (!equals(this.l1i_1, other.l1i_1))
|
|
894
862
|
return false;
|
|
895
863
|
return true;
|
|
896
864
|
};
|
|
@@ -906,7 +874,7 @@
|
|
|
906
874
|
tmp = null;
|
|
907
875
|
} else {
|
|
908
876
|
// Inline function 'kotlin.let' call
|
|
909
|
-
return tmp0_safe_receiver.
|
|
877
|
+
return tmp0_safe_receiver.l1i_1;
|
|
910
878
|
}
|
|
911
879
|
return tmp;
|
|
912
880
|
};
|
|
@@ -924,13 +892,13 @@
|
|
|
924
892
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
925
893
|
var data = this_0.c12(tmp$ret$1, raw);
|
|
926
894
|
// Inline function 'kotlin.collections.map' call
|
|
927
|
-
var this_3 = data.
|
|
895
|
+
var this_3 = data.f1i_1;
|
|
928
896
|
// Inline function 'kotlin.collections.mapTo' call
|
|
929
897
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
930
898
|
var _iterator__ex2g4s = this_3.q();
|
|
931
899
|
while (_iterator__ex2g4s.r()) {
|
|
932
900
|
var item = _iterator__ex2g4s.s();
|
|
933
|
-
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.
|
|
901
|
+
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.d1(0))), get_jsonPrimitive(item.d1(1)).k14(), get_jsonPrimitive(item.d1(2)).k14(), get_float(get_jsonPrimitive(item.d1(3))));
|
|
934
902
|
destination.u(tmp$ret$5);
|
|
935
903
|
}
|
|
936
904
|
var ingredients = destination;
|
|
@@ -942,7 +910,7 @@
|
|
|
942
910
|
while (_iterator__ex2g4s_0.r()) {
|
|
943
911
|
var element = _iterator__ex2g4s_0.s();
|
|
944
912
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
945
|
-
var pair = to(element.
|
|
913
|
+
var pair = to(element.k1i_1, element);
|
|
946
914
|
destination_0.n2(pair.dd_1, pair.ed_1);
|
|
947
915
|
}
|
|
948
916
|
var normalised_map = destination_0;
|
|
@@ -954,11 +922,11 @@
|
|
|
954
922
|
while (_iterator__ex2g4s_1.r()) {
|
|
955
923
|
var element_0 = _iterator__ex2g4s_1.s();
|
|
956
924
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
957
|
-
var pair_0 = to(element_0.
|
|
925
|
+
var pair_0 = to(element_0.j1i_1, element_0);
|
|
958
926
|
destination_1.n2(pair_0.dd_1, pair_0.ed_1);
|
|
959
927
|
}
|
|
960
928
|
var name_map = destination_1;
|
|
961
|
-
var table = new DensityTable(data.
|
|
929
|
+
var table = new DensityTable(data.d1i_1, normalised_map, name_map);
|
|
962
930
|
// Inline function 'kotlin.Companion.success' call
|
|
963
931
|
return _Result___init__impl__xyqfz8(table);
|
|
964
932
|
} catch ($p) {
|
|
@@ -1066,7 +1034,7 @@
|
|
|
1066
1034
|
// Inline function 'kotlin.arrayOf' call
|
|
1067
1035
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1068
1036
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1069
|
-
tmp.
|
|
1037
|
+
tmp.m1i_1 = [null, tmp_1, null, tmp_3, tmp_5, null, tmp_7, tmp_9, null, null, null, null, tmp_11, tmp_13, null, tmp_15, tmp_17, tmp_19, tmp_21, tmp_23, null, lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11), null];
|
|
1070
1038
|
}
|
|
1071
1039
|
var Companion_instance_2;
|
|
1072
1040
|
function Companion_getInstance_1() {
|
|
@@ -1100,86 +1068,86 @@
|
|
|
1100
1068
|
tmp0_serialDesc.zs('title', true);
|
|
1101
1069
|
tmp0_serialDesc.zs('utensilsAndApplianceIds', true);
|
|
1102
1070
|
tmp0_serialDesc.zs('webPublicationDate', true);
|
|
1103
|
-
this.
|
|
1071
|
+
this.n1i_1 = tmp0_serialDesc;
|
|
1104
1072
|
}
|
|
1105
|
-
protoOf($serializer_1).
|
|
1106
|
-
var tmp0_desc = this.
|
|
1073
|
+
protoOf($serializer_1).o1i = function (encoder, value) {
|
|
1074
|
+
var tmp0_desc = this.n1i_1;
|
|
1107
1075
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1108
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
1109
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1110
|
-
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
1076
|
+
var tmp2_cached = Companion_getInstance_1().m1i_1;
|
|
1077
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.l1g_1 == null)) {
|
|
1078
|
+
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.l1g_1);
|
|
1111
1079
|
}
|
|
1112
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
1113
|
-
tmp1_output.in(tmp0_desc, 1, tmp2_cached[1].g2(), value.
|
|
1080
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.m1g_1 == null)) {
|
|
1081
|
+
tmp1_output.in(tmp0_desc, 1, tmp2_cached[1].g2(), value.m1g_1);
|
|
1114
1082
|
}
|
|
1115
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
1116
|
-
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
1083
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.n1g_1 == null)) {
|
|
1084
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.n1g_1);
|
|
1117
1085
|
}
|
|
1118
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
1119
|
-
tmp1_output.in(tmp0_desc, 3, tmp2_cached[3].g2(), value.
|
|
1086
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.o1g_1 == null)) {
|
|
1087
|
+
tmp1_output.in(tmp0_desc, 3, tmp2_cached[3].g2(), value.o1g_1);
|
|
1120
1088
|
}
|
|
1121
|
-
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.
|
|
1122
|
-
tmp1_output.in(tmp0_desc, 4, tmp2_cached[4].g2(), value.
|
|
1089
|
+
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.p1g_1 == null)) {
|
|
1090
|
+
tmp1_output.in(tmp0_desc, 4, tmp2_cached[4].g2(), value.p1g_1);
|
|
1123
1091
|
}
|
|
1124
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
1125
|
-
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
1092
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.q1g_1 == null)) {
|
|
1093
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.q1g_1);
|
|
1126
1094
|
}
|
|
1127
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
1128
|
-
tmp1_output.in(tmp0_desc, 6, tmp2_cached[6].g2(), value.
|
|
1095
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.r1g_1 == null)) {
|
|
1096
|
+
tmp1_output.in(tmp0_desc, 6, tmp2_cached[6].g2(), value.r1g_1);
|
|
1129
1097
|
}
|
|
1130
|
-
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.
|
|
1131
|
-
tmp1_output.in(tmp0_desc, 7, tmp2_cached[7].g2(), value.
|
|
1098
|
+
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.s1g_1 == null)) {
|
|
1099
|
+
tmp1_output.in(tmp0_desc, 7, tmp2_cached[7].g2(), value.s1g_1);
|
|
1132
1100
|
}
|
|
1133
|
-
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.
|
|
1134
|
-
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.
|
|
1101
|
+
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.t1g_1 == null)) {
|
|
1102
|
+
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.t1g_1);
|
|
1135
1103
|
}
|
|
1136
|
-
if (tmp1_output.mn(tmp0_desc, 9) ? true : !(value.
|
|
1137
|
-
tmp1_output.in(tmp0_desc, 9, StringSerializer_getInstance(), value.
|
|
1104
|
+
if (tmp1_output.mn(tmp0_desc, 9) ? true : !(value.u1g_1 == null)) {
|
|
1105
|
+
tmp1_output.in(tmp0_desc, 9, StringSerializer_getInstance(), value.u1g_1);
|
|
1138
1106
|
}
|
|
1139
|
-
if (tmp1_output.mn(tmp0_desc, 10) ? true : !(value.
|
|
1140
|
-
tmp1_output.in(tmp0_desc, 10, $serializer_getInstance_3(), value.
|
|
1107
|
+
if (tmp1_output.mn(tmp0_desc, 10) ? true : !(value.v1g_1 == null)) {
|
|
1108
|
+
tmp1_output.in(tmp0_desc, 10, $serializer_getInstance_3(), value.v1g_1);
|
|
1141
1109
|
}
|
|
1142
|
-
tmp1_output.en(tmp0_desc, 11, value.
|
|
1143
|
-
if (tmp1_output.mn(tmp0_desc, 12) ? true : !(value.
|
|
1144
|
-
tmp1_output.in(tmp0_desc, 12, tmp2_cached[12].g2(), value.
|
|
1110
|
+
tmp1_output.en(tmp0_desc, 11, value.w1g_1);
|
|
1111
|
+
if (tmp1_output.mn(tmp0_desc, 12) ? true : !(value.x1g_1 == null)) {
|
|
1112
|
+
tmp1_output.in(tmp0_desc, 12, tmp2_cached[12].g2(), value.x1g_1);
|
|
1145
1113
|
}
|
|
1146
|
-
if (tmp1_output.mn(tmp0_desc, 13) ? true : !(value.
|
|
1147
|
-
tmp1_output.in(tmp0_desc, 13, tmp2_cached[13].g2(), value.
|
|
1114
|
+
if (tmp1_output.mn(tmp0_desc, 13) ? true : !(value.y1g_1 == null)) {
|
|
1115
|
+
tmp1_output.in(tmp0_desc, 13, tmp2_cached[13].g2(), value.y1g_1);
|
|
1148
1116
|
}
|
|
1149
|
-
if (tmp1_output.mn(tmp0_desc, 14) ? true : !(value.
|
|
1150
|
-
tmp1_output.in(tmp0_desc, 14, BooleanSerializer_getInstance(), value.
|
|
1117
|
+
if (tmp1_output.mn(tmp0_desc, 14) ? true : !(value.z1g_1 == null)) {
|
|
1118
|
+
tmp1_output.in(tmp0_desc, 14, BooleanSerializer_getInstance(), value.z1g_1);
|
|
1151
1119
|
}
|
|
1152
|
-
if (tmp1_output.mn(tmp0_desc, 15) ? true : !(value.
|
|
1153
|
-
tmp1_output.in(tmp0_desc, 15, tmp2_cached[15].g2(), value.
|
|
1120
|
+
if (tmp1_output.mn(tmp0_desc, 15) ? true : !(value.a1h_1 == null)) {
|
|
1121
|
+
tmp1_output.in(tmp0_desc, 15, tmp2_cached[15].g2(), value.a1h_1);
|
|
1154
1122
|
}
|
|
1155
|
-
if (tmp1_output.mn(tmp0_desc, 16) ? true : !(value.
|
|
1156
|
-
tmp1_output.in(tmp0_desc, 16, tmp2_cached[16].g2(), value.
|
|
1123
|
+
if (tmp1_output.mn(tmp0_desc, 16) ? true : !(value.b1h_1 == null)) {
|
|
1124
|
+
tmp1_output.in(tmp0_desc, 16, tmp2_cached[16].g2(), value.b1h_1);
|
|
1157
1125
|
}
|
|
1158
|
-
if (tmp1_output.mn(tmp0_desc, 17) ? true : !(value.
|
|
1159
|
-
tmp1_output.in(tmp0_desc, 17, tmp2_cached[17].g2(), value.
|
|
1126
|
+
if (tmp1_output.mn(tmp0_desc, 17) ? true : !(value.c1h_1 == null)) {
|
|
1127
|
+
tmp1_output.in(tmp0_desc, 17, tmp2_cached[17].g2(), value.c1h_1);
|
|
1160
1128
|
}
|
|
1161
|
-
if (tmp1_output.mn(tmp0_desc, 18) ? true : !(value.
|
|
1162
|
-
tmp1_output.in(tmp0_desc, 18, tmp2_cached[18].g2(), value.
|
|
1129
|
+
if (tmp1_output.mn(tmp0_desc, 18) ? true : !(value.d1h_1 == null)) {
|
|
1130
|
+
tmp1_output.in(tmp0_desc, 18, tmp2_cached[18].g2(), value.d1h_1);
|
|
1163
1131
|
}
|
|
1164
|
-
if (tmp1_output.mn(tmp0_desc, 19) ? true : !(value.
|
|
1165
|
-
tmp1_output.in(tmp0_desc, 19, tmp2_cached[19].g2(), value.
|
|
1132
|
+
if (tmp1_output.mn(tmp0_desc, 19) ? true : !(value.e1h_1 == null)) {
|
|
1133
|
+
tmp1_output.in(tmp0_desc, 19, tmp2_cached[19].g2(), value.e1h_1);
|
|
1166
1134
|
}
|
|
1167
|
-
if (tmp1_output.mn(tmp0_desc, 20) ? true : !(value.
|
|
1168
|
-
tmp1_output.in(tmp0_desc, 20, StringSerializer_getInstance(), value.
|
|
1135
|
+
if (tmp1_output.mn(tmp0_desc, 20) ? true : !(value.f1h_1 == null)) {
|
|
1136
|
+
tmp1_output.in(tmp0_desc, 20, StringSerializer_getInstance(), value.f1h_1);
|
|
1169
1137
|
}
|
|
1170
|
-
if (tmp1_output.mn(tmp0_desc, 21) ? true : !(value.
|
|
1171
|
-
tmp1_output.in(tmp0_desc, 21, tmp2_cached[21].g2(), value.
|
|
1138
|
+
if (tmp1_output.mn(tmp0_desc, 21) ? true : !(value.g1h_1 == null)) {
|
|
1139
|
+
tmp1_output.in(tmp0_desc, 21, tmp2_cached[21].g2(), value.g1h_1);
|
|
1172
1140
|
}
|
|
1173
|
-
if (tmp1_output.mn(tmp0_desc, 22) ? true : !(value.
|
|
1174
|
-
tmp1_output.in(tmp0_desc, 22, StringSerializer_getInstance(), value.
|
|
1141
|
+
if (tmp1_output.mn(tmp0_desc, 22) ? true : !(value.h1h_1 == null)) {
|
|
1142
|
+
tmp1_output.in(tmp0_desc, 22, StringSerializer_getInstance(), value.h1h_1);
|
|
1175
1143
|
}
|
|
1176
1144
|
tmp1_output.rl(tmp0_desc);
|
|
1177
1145
|
};
|
|
1178
1146
|
protoOf($serializer_1).ti = function (encoder, value) {
|
|
1179
|
-
return this.
|
|
1147
|
+
return this.o1i(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
|
|
1180
1148
|
};
|
|
1181
1149
|
protoOf($serializer_1).ui = function (decoder) {
|
|
1182
|
-
var tmp0_desc = this.
|
|
1150
|
+
var tmp0_desc = this.n1i_1;
|
|
1183
1151
|
var tmp1_flag = true;
|
|
1184
1152
|
var tmp2_index = 0;
|
|
1185
1153
|
var tmp3_bitMask0 = 0;
|
|
@@ -1207,7 +1175,7 @@
|
|
|
1207
1175
|
var tmp25_local21 = null;
|
|
1208
1176
|
var tmp26_local22 = null;
|
|
1209
1177
|
var tmp27_input = decoder.ql(tmp0_desc);
|
|
1210
|
-
var tmp28_cached = Companion_getInstance_1().
|
|
1178
|
+
var tmp28_cached = Companion_getInstance_1().m1i_1;
|
|
1211
1179
|
if (tmp27_input.gm()) {
|
|
1212
1180
|
tmp4_local0 = tmp27_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1213
1181
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1362,10 +1330,10 @@
|
|
|
1362
1330
|
return RecipeV3_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, null);
|
|
1363
1331
|
};
|
|
1364
1332
|
protoOf($serializer_1).si = function () {
|
|
1365
|
-
return this.
|
|
1333
|
+
return this.n1i_1;
|
|
1366
1334
|
};
|
|
1367
1335
|
protoOf($serializer_1).bt = function () {
|
|
1368
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
1336
|
+
var tmp0_cached = Companion_getInstance_1().m1i_1;
|
|
1369
1337
|
// Inline function 'kotlin.arrayOf' call
|
|
1370
1338
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1371
1339
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1379,97 +1347,97 @@
|
|
|
1379
1347
|
}
|
|
1380
1348
|
function RecipeV3_init_$Init$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, $this) {
|
|
1381
1349
|
if (!(2048 === (2048 & seen0))) {
|
|
1382
|
-
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().
|
|
1350
|
+
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().n1i_1);
|
|
1383
1351
|
}
|
|
1384
1352
|
if (0 === (seen0 & 1))
|
|
1385
|
-
$this.
|
|
1353
|
+
$this.l1g_1 = null;
|
|
1386
1354
|
else
|
|
1387
|
-
$this.
|
|
1355
|
+
$this.l1g_1 = bookCredit;
|
|
1388
1356
|
if (0 === (seen0 & 2))
|
|
1389
|
-
$this.
|
|
1357
|
+
$this.m1g_1 = null;
|
|
1390
1358
|
else
|
|
1391
|
-
$this.
|
|
1359
|
+
$this.m1g_1 = byline;
|
|
1392
1360
|
if (0 === (seen0 & 4))
|
|
1393
|
-
$this.
|
|
1361
|
+
$this.n1g_1 = null;
|
|
1394
1362
|
else
|
|
1395
|
-
$this.
|
|
1363
|
+
$this.n1g_1 = canonicalArticle;
|
|
1396
1364
|
if (0 === (seen0 & 8))
|
|
1397
|
-
$this.
|
|
1365
|
+
$this.o1g_1 = null;
|
|
1398
1366
|
else
|
|
1399
|
-
$this.
|
|
1367
|
+
$this.o1g_1 = celebrationIds;
|
|
1400
1368
|
if (0 === (seen0 & 16))
|
|
1401
|
-
$this.
|
|
1369
|
+
$this.p1g_1 = null;
|
|
1402
1370
|
else
|
|
1403
|
-
$this.
|
|
1371
|
+
$this.p1g_1 = commerceCtas;
|
|
1404
1372
|
if (0 === (seen0 & 32))
|
|
1405
|
-
$this.
|
|
1373
|
+
$this.q1g_1 = null;
|
|
1406
1374
|
else
|
|
1407
|
-
$this.
|
|
1375
|
+
$this.q1g_1 = composerId;
|
|
1408
1376
|
if (0 === (seen0 & 64))
|
|
1409
|
-
$this.
|
|
1377
|
+
$this.r1g_1 = null;
|
|
1410
1378
|
else
|
|
1411
|
-
$this.
|
|
1379
|
+
$this.r1g_1 = contributors;
|
|
1412
1380
|
if (0 === (seen0 & 128))
|
|
1413
|
-
$this.
|
|
1381
|
+
$this.s1g_1 = null;
|
|
1414
1382
|
else
|
|
1415
|
-
$this.
|
|
1383
|
+
$this.s1g_1 = cuisineIds;
|
|
1416
1384
|
if (0 === (seen0 & 256))
|
|
1417
|
-
$this.
|
|
1385
|
+
$this.t1g_1 = null;
|
|
1418
1386
|
else
|
|
1419
|
-
$this.
|
|
1387
|
+
$this.t1g_1 = description;
|
|
1420
1388
|
if (0 === (seen0 & 512))
|
|
1421
|
-
$this.
|
|
1389
|
+
$this.u1g_1 = null;
|
|
1422
1390
|
else
|
|
1423
|
-
$this.
|
|
1391
|
+
$this.u1g_1 = difficultyLevel;
|
|
1424
1392
|
if (0 === (seen0 & 1024))
|
|
1425
|
-
$this.
|
|
1393
|
+
$this.v1g_1 = null;
|
|
1426
1394
|
else
|
|
1427
|
-
$this.
|
|
1428
|
-
$this.
|
|
1395
|
+
$this.v1g_1 = featuredImage;
|
|
1396
|
+
$this.w1g_1 = id;
|
|
1429
1397
|
if (0 === (seen0 & 4096))
|
|
1430
|
-
$this.
|
|
1398
|
+
$this.x1g_1 = null;
|
|
1431
1399
|
else
|
|
1432
|
-
$this.
|
|
1400
|
+
$this.x1g_1 = ingredients;
|
|
1433
1401
|
if (0 === (seen0 & 8192))
|
|
1434
|
-
$this.
|
|
1402
|
+
$this.y1g_1 = null;
|
|
1435
1403
|
else
|
|
1436
|
-
$this.
|
|
1404
|
+
$this.y1g_1 = instructions;
|
|
1437
1405
|
if (0 === (seen0 & 16384))
|
|
1438
|
-
$this.
|
|
1406
|
+
$this.z1g_1 = null;
|
|
1439
1407
|
else
|
|
1440
|
-
$this.
|
|
1408
|
+
$this.z1g_1 = isAppReady;
|
|
1441
1409
|
if (0 === (seen0 & 32768))
|
|
1442
|
-
$this.
|
|
1410
|
+
$this.a1h_1 = null;
|
|
1443
1411
|
else
|
|
1444
|
-
$this.
|
|
1412
|
+
$this.a1h_1 = mealTypeIds;
|
|
1445
1413
|
if (0 === (seen0 & 65536))
|
|
1446
|
-
$this.
|
|
1414
|
+
$this.b1h_1 = null;
|
|
1447
1415
|
else
|
|
1448
|
-
$this.
|
|
1416
|
+
$this.b1h_1 = serves;
|
|
1449
1417
|
if (0 === (seen0 & 131072))
|
|
1450
|
-
$this.
|
|
1418
|
+
$this.c1h_1 = null;
|
|
1451
1419
|
else
|
|
1452
|
-
$this.
|
|
1420
|
+
$this.c1h_1 = suitableForDietIds;
|
|
1453
1421
|
if (0 === (seen0 & 262144))
|
|
1454
|
-
$this.
|
|
1422
|
+
$this.d1h_1 = null;
|
|
1455
1423
|
else
|
|
1456
|
-
$this.
|
|
1424
|
+
$this.d1h_1 = techniquesUsedIds;
|
|
1457
1425
|
if (0 === (seen0 & 524288))
|
|
1458
|
-
$this.
|
|
1426
|
+
$this.e1h_1 = null;
|
|
1459
1427
|
else
|
|
1460
|
-
$this.
|
|
1428
|
+
$this.e1h_1 = timings;
|
|
1461
1429
|
if (0 === (seen0 & 1048576))
|
|
1462
|
-
$this.
|
|
1430
|
+
$this.f1h_1 = null;
|
|
1463
1431
|
else
|
|
1464
|
-
$this.
|
|
1432
|
+
$this.f1h_1 = title;
|
|
1465
1433
|
if (0 === (seen0 & 2097152))
|
|
1466
|
-
$this.
|
|
1434
|
+
$this.g1h_1 = null;
|
|
1467
1435
|
else
|
|
1468
|
-
$this.
|
|
1436
|
+
$this.g1h_1 = utensilsAndApplianceIds;
|
|
1469
1437
|
if (0 === (seen0 & 4194304))
|
|
1470
|
-
$this.
|
|
1438
|
+
$this.h1h_1 = null;
|
|
1471
1439
|
else
|
|
1472
|
-
$this.
|
|
1440
|
+
$this.h1h_1 = webPublicationDate;
|
|
1473
1441
|
return $this;
|
|
1474
1442
|
}
|
|
1475
1443
|
function RecipeV3_init_$Create$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker) {
|
|
@@ -1499,86 +1467,86 @@
|
|
|
1499
1467
|
title = title === VOID ? null : title;
|
|
1500
1468
|
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
|
|
1501
1469
|
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
1502
|
-
this.
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1510
|
-
this.
|
|
1511
|
-
this.
|
|
1512
|
-
this.
|
|
1513
|
-
this.
|
|
1514
|
-
this.
|
|
1515
|
-
this.
|
|
1516
|
-
this.
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1522
|
-
this.
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1525
|
-
}
|
|
1526
|
-
protoOf(RecipeV3).
|
|
1470
|
+
this.l1g_1 = bookCredit;
|
|
1471
|
+
this.m1g_1 = byline;
|
|
1472
|
+
this.n1g_1 = canonicalArticle;
|
|
1473
|
+
this.o1g_1 = celebrationIds;
|
|
1474
|
+
this.p1g_1 = commerceCtas;
|
|
1475
|
+
this.q1g_1 = composerId;
|
|
1476
|
+
this.r1g_1 = contributors;
|
|
1477
|
+
this.s1g_1 = cuisineIds;
|
|
1478
|
+
this.t1g_1 = description;
|
|
1479
|
+
this.u1g_1 = difficultyLevel;
|
|
1480
|
+
this.v1g_1 = featuredImage;
|
|
1481
|
+
this.w1g_1 = id;
|
|
1482
|
+
this.x1g_1 = ingredients;
|
|
1483
|
+
this.y1g_1 = instructions;
|
|
1484
|
+
this.z1g_1 = isAppReady;
|
|
1485
|
+
this.a1h_1 = mealTypeIds;
|
|
1486
|
+
this.b1h_1 = serves;
|
|
1487
|
+
this.c1h_1 = suitableForDietIds;
|
|
1488
|
+
this.d1h_1 = techniquesUsedIds;
|
|
1489
|
+
this.e1h_1 = timings;
|
|
1490
|
+
this.f1h_1 = title;
|
|
1491
|
+
this.g1h_1 = utensilsAndApplianceIds;
|
|
1492
|
+
this.h1h_1 = webPublicationDate;
|
|
1493
|
+
}
|
|
1494
|
+
protoOf(RecipeV3).p1i = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
1527
1495
|
return new RecipeV3(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1528
1496
|
};
|
|
1529
|
-
protoOf(RecipeV3).
|
|
1530
|
-
bookCredit = bookCredit === VOID ? this.
|
|
1531
|
-
byline = byline === VOID ? this.
|
|
1532
|
-
canonicalArticle = canonicalArticle === VOID ? this.
|
|
1533
|
-
celebrationIds = celebrationIds === VOID ? this.
|
|
1534
|
-
commerceCtas = commerceCtas === VOID ? this.
|
|
1535
|
-
composerId = composerId === VOID ? this.
|
|
1536
|
-
contributors = contributors === VOID ? this.
|
|
1537
|
-
cuisineIds = cuisineIds === VOID ? this.
|
|
1538
|
-
description = description === VOID ? this.
|
|
1539
|
-
difficultyLevel = difficultyLevel === VOID ? this.
|
|
1540
|
-
featuredImage = featuredImage === VOID ? this.
|
|
1541
|
-
id = id === VOID ? this.
|
|
1542
|
-
ingredients = ingredients === VOID ? this.
|
|
1543
|
-
instructions = instructions === VOID ? this.
|
|
1544
|
-
isAppReady = isAppReady === VOID ? this.
|
|
1545
|
-
mealTypeIds = mealTypeIds === VOID ? this.
|
|
1546
|
-
serves = serves === VOID ? this.
|
|
1547
|
-
suitableForDietIds = suitableForDietIds === VOID ? this.
|
|
1548
|
-
techniquesUsedIds = techniquesUsedIds === VOID ? this.
|
|
1549
|
-
timings = timings === VOID ? this.
|
|
1550
|
-
title = title === VOID ? this.
|
|
1551
|
-
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.
|
|
1552
|
-
webPublicationDate = webPublicationDate === VOID ? this.
|
|
1553
|
-
return $super === VOID ? this.
|
|
1497
|
+
protoOf(RecipeV3).z1h = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
|
|
1498
|
+
bookCredit = bookCredit === VOID ? this.l1g_1 : bookCredit;
|
|
1499
|
+
byline = byline === VOID ? this.m1g_1 : byline;
|
|
1500
|
+
canonicalArticle = canonicalArticle === VOID ? this.n1g_1 : canonicalArticle;
|
|
1501
|
+
celebrationIds = celebrationIds === VOID ? this.o1g_1 : celebrationIds;
|
|
1502
|
+
commerceCtas = commerceCtas === VOID ? this.p1g_1 : commerceCtas;
|
|
1503
|
+
composerId = composerId === VOID ? this.q1g_1 : composerId;
|
|
1504
|
+
contributors = contributors === VOID ? this.r1g_1 : contributors;
|
|
1505
|
+
cuisineIds = cuisineIds === VOID ? this.s1g_1 : cuisineIds;
|
|
1506
|
+
description = description === VOID ? this.t1g_1 : description;
|
|
1507
|
+
difficultyLevel = difficultyLevel === VOID ? this.u1g_1 : difficultyLevel;
|
|
1508
|
+
featuredImage = featuredImage === VOID ? this.v1g_1 : featuredImage;
|
|
1509
|
+
id = id === VOID ? this.w1g_1 : id;
|
|
1510
|
+
ingredients = ingredients === VOID ? this.x1g_1 : ingredients;
|
|
1511
|
+
instructions = instructions === VOID ? this.y1g_1 : instructions;
|
|
1512
|
+
isAppReady = isAppReady === VOID ? this.z1g_1 : isAppReady;
|
|
1513
|
+
mealTypeIds = mealTypeIds === VOID ? this.a1h_1 : mealTypeIds;
|
|
1514
|
+
serves = serves === VOID ? this.b1h_1 : serves;
|
|
1515
|
+
suitableForDietIds = suitableForDietIds === VOID ? this.c1h_1 : suitableForDietIds;
|
|
1516
|
+
techniquesUsedIds = techniquesUsedIds === VOID ? this.d1h_1 : techniquesUsedIds;
|
|
1517
|
+
timings = timings === VOID ? this.e1h_1 : timings;
|
|
1518
|
+
title = title === VOID ? this.f1h_1 : title;
|
|
1519
|
+
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.g1h_1 : utensilsAndApplianceIds;
|
|
1520
|
+
webPublicationDate = webPublicationDate === VOID ? this.h1h_1 : webPublicationDate;
|
|
1521
|
+
return $super === VOID ? this.p1i(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.p1i.call(this, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1554
1522
|
};
|
|
1555
1523
|
protoOf(RecipeV3).toString = function () {
|
|
1556
|
-
return 'RecipeV3(bookCredit=' + this.
|
|
1524
|
+
return 'RecipeV3(bookCredit=' + this.l1g_1 + ', byline=' + toString(this.m1g_1) + ', canonicalArticle=' + this.n1g_1 + ', celebrationIds=' + toString(this.o1g_1) + ', commerceCtas=' + toString(this.p1g_1) + ', composerId=' + this.q1g_1 + ', contributors=' + toString(this.r1g_1) + ', cuisineIds=' + toString(this.s1g_1) + ', description=' + this.t1g_1 + ', difficultyLevel=' + this.u1g_1 + ', featuredImage=' + toString(this.v1g_1) + ', id=' + this.w1g_1 + ', ingredients=' + toString(this.x1g_1) + ', instructions=' + toString(this.y1g_1) + ', isAppReady=' + this.z1g_1 + ', mealTypeIds=' + toString(this.a1h_1) + ', serves=' + toString(this.b1h_1) + ', suitableForDietIds=' + toString(this.c1h_1) + ', techniquesUsedIds=' + toString(this.d1h_1) + ', timings=' + toString(this.e1h_1) + ', title=' + this.f1h_1 + ', utensilsAndApplianceIds=' + toString(this.g1h_1) + ', webPublicationDate=' + this.h1h_1 + ')';
|
|
1557
1525
|
};
|
|
1558
1526
|
protoOf(RecipeV3).hashCode = function () {
|
|
1559
|
-
var result = this.
|
|
1560
|
-
result = imul(result, 31) + (this.
|
|
1561
|
-
result = imul(result, 31) + (this.
|
|
1562
|
-
result = imul(result, 31) + (this.n1g_1 == null ? 0 : hashCode(this.n1g_1)) | 0;
|
|
1527
|
+
var result = this.l1g_1 == null ? 0 : getStringHashCode(this.l1g_1);
|
|
1528
|
+
result = imul(result, 31) + (this.m1g_1 == null ? 0 : hashCode(this.m1g_1)) | 0;
|
|
1529
|
+
result = imul(result, 31) + (this.n1g_1 == null ? 0 : getStringHashCode(this.n1g_1)) | 0;
|
|
1563
1530
|
result = imul(result, 31) + (this.o1g_1 == null ? 0 : hashCode(this.o1g_1)) | 0;
|
|
1564
|
-
result = imul(result, 31) + (this.p1g_1 == null ? 0 :
|
|
1565
|
-
result = imul(result, 31) + (this.q1g_1 == null ? 0 :
|
|
1531
|
+
result = imul(result, 31) + (this.p1g_1 == null ? 0 : hashCode(this.p1g_1)) | 0;
|
|
1532
|
+
result = imul(result, 31) + (this.q1g_1 == null ? 0 : getStringHashCode(this.q1g_1)) | 0;
|
|
1566
1533
|
result = imul(result, 31) + (this.r1g_1 == null ? 0 : hashCode(this.r1g_1)) | 0;
|
|
1567
|
-
result = imul(result, 31) + (this.s1g_1 == null ? 0 :
|
|
1534
|
+
result = imul(result, 31) + (this.s1g_1 == null ? 0 : hashCode(this.s1g_1)) | 0;
|
|
1568
1535
|
result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
|
|
1569
|
-
result = imul(result, 31) + (this.u1g_1 == null ? 0 : this.u1g_1
|
|
1570
|
-
result = imul(result, 31) +
|
|
1571
|
-
result = imul(result, 31) + (this.w1g_1
|
|
1536
|
+
result = imul(result, 31) + (this.u1g_1 == null ? 0 : getStringHashCode(this.u1g_1)) | 0;
|
|
1537
|
+
result = imul(result, 31) + (this.v1g_1 == null ? 0 : this.v1g_1.hashCode()) | 0;
|
|
1538
|
+
result = imul(result, 31) + getStringHashCode(this.w1g_1) | 0;
|
|
1572
1539
|
result = imul(result, 31) + (this.x1g_1 == null ? 0 : hashCode(this.x1g_1)) | 0;
|
|
1573
|
-
result = imul(result, 31) + (this.y1g_1 == null ? 0 :
|
|
1574
|
-
result = imul(result, 31) + (this.z1g_1 == null ? 0 :
|
|
1540
|
+
result = imul(result, 31) + (this.y1g_1 == null ? 0 : hashCode(this.y1g_1)) | 0;
|
|
1541
|
+
result = imul(result, 31) + (this.z1g_1 == null ? 0 : getBooleanHashCode(this.z1g_1)) | 0;
|
|
1575
1542
|
result = imul(result, 31) + (this.a1h_1 == null ? 0 : hashCode(this.a1h_1)) | 0;
|
|
1576
1543
|
result = imul(result, 31) + (this.b1h_1 == null ? 0 : hashCode(this.b1h_1)) | 0;
|
|
1577
1544
|
result = imul(result, 31) + (this.c1h_1 == null ? 0 : hashCode(this.c1h_1)) | 0;
|
|
1578
1545
|
result = imul(result, 31) + (this.d1h_1 == null ? 0 : hashCode(this.d1h_1)) | 0;
|
|
1579
|
-
result = imul(result, 31) + (this.e1h_1 == null ? 0 :
|
|
1580
|
-
result = imul(result, 31) + (this.f1h_1 == null ? 0 :
|
|
1581
|
-
result = imul(result, 31) + (this.g1h_1 == null ? 0 :
|
|
1546
|
+
result = imul(result, 31) + (this.e1h_1 == null ? 0 : hashCode(this.e1h_1)) | 0;
|
|
1547
|
+
result = imul(result, 31) + (this.f1h_1 == null ? 0 : getStringHashCode(this.f1h_1)) | 0;
|
|
1548
|
+
result = imul(result, 31) + (this.g1h_1 == null ? 0 : hashCode(this.g1h_1)) | 0;
|
|
1549
|
+
result = imul(result, 31) + (this.h1h_1 == null ? 0 : getStringHashCode(this.h1h_1)) | 0;
|
|
1582
1550
|
return result;
|
|
1583
1551
|
};
|
|
1584
1552
|
protoOf(RecipeV3).equals = function (other) {
|
|
@@ -1586,37 +1554,35 @@
|
|
|
1586
1554
|
return true;
|
|
1587
1555
|
if (!(other instanceof RecipeV3))
|
|
1588
1556
|
return false;
|
|
1589
|
-
if (!(this.
|
|
1590
|
-
return false;
|
|
1591
|
-
if (!equals(this.l1g_1, other.l1g_1))
|
|
1557
|
+
if (!(this.l1g_1 == other.l1g_1))
|
|
1592
1558
|
return false;
|
|
1593
|
-
if (!(this.m1g_1
|
|
1559
|
+
if (!equals(this.m1g_1, other.m1g_1))
|
|
1594
1560
|
return false;
|
|
1595
|
-
if (!
|
|
1561
|
+
if (!(this.n1g_1 == other.n1g_1))
|
|
1596
1562
|
return false;
|
|
1597
1563
|
if (!equals(this.o1g_1, other.o1g_1))
|
|
1598
1564
|
return false;
|
|
1599
|
-
if (!(this.p1g_1
|
|
1565
|
+
if (!equals(this.p1g_1, other.p1g_1))
|
|
1600
1566
|
return false;
|
|
1601
|
-
if (!
|
|
1567
|
+
if (!(this.q1g_1 == other.q1g_1))
|
|
1602
1568
|
return false;
|
|
1603
1569
|
if (!equals(this.r1g_1, other.r1g_1))
|
|
1604
1570
|
return false;
|
|
1605
|
-
if (!(this.s1g_1
|
|
1571
|
+
if (!equals(this.s1g_1, other.s1g_1))
|
|
1606
1572
|
return false;
|
|
1607
1573
|
if (!(this.t1g_1 == other.t1g_1))
|
|
1608
1574
|
return false;
|
|
1609
|
-
if (!
|
|
1575
|
+
if (!(this.u1g_1 == other.u1g_1))
|
|
1610
1576
|
return false;
|
|
1611
|
-
if (!(this.v1g_1
|
|
1577
|
+
if (!equals(this.v1g_1, other.v1g_1))
|
|
1612
1578
|
return false;
|
|
1613
|
-
if (!
|
|
1579
|
+
if (!(this.w1g_1 === other.w1g_1))
|
|
1614
1580
|
return false;
|
|
1615
1581
|
if (!equals(this.x1g_1, other.x1g_1))
|
|
1616
1582
|
return false;
|
|
1617
|
-
if (!(this.y1g_1
|
|
1583
|
+
if (!equals(this.y1g_1, other.y1g_1))
|
|
1618
1584
|
return false;
|
|
1619
|
-
if (!
|
|
1585
|
+
if (!(this.z1g_1 == other.z1g_1))
|
|
1620
1586
|
return false;
|
|
1621
1587
|
if (!equals(this.a1h_1, other.a1h_1))
|
|
1622
1588
|
return false;
|
|
@@ -1626,11 +1592,13 @@
|
|
|
1626
1592
|
return false;
|
|
1627
1593
|
if (!equals(this.d1h_1, other.d1h_1))
|
|
1628
1594
|
return false;
|
|
1629
|
-
if (!(this.e1h_1
|
|
1595
|
+
if (!equals(this.e1h_1, other.e1h_1))
|
|
1630
1596
|
return false;
|
|
1631
|
-
if (!
|
|
1597
|
+
if (!(this.f1h_1 == other.f1h_1))
|
|
1632
1598
|
return false;
|
|
1633
|
-
if (!(this.g1h_1
|
|
1599
|
+
if (!equals(this.g1h_1, other.g1h_1))
|
|
1600
|
+
return false;
|
|
1601
|
+
if (!(this.h1h_1 == other.h1h_1))
|
|
1634
1602
|
return false;
|
|
1635
1603
|
return true;
|
|
1636
1604
|
};
|
|
@@ -1640,21 +1608,21 @@
|
|
|
1640
1608
|
tmp0_serialDesc.zs('sponsorName', false);
|
|
1641
1609
|
tmp0_serialDesc.zs('territory', false);
|
|
1642
1610
|
tmp0_serialDesc.zs('url', false);
|
|
1643
|
-
this.
|
|
1611
|
+
this.q1i_1 = tmp0_serialDesc;
|
|
1644
1612
|
}
|
|
1645
|
-
protoOf($serializer_2).
|
|
1646
|
-
var tmp0_desc = this.
|
|
1613
|
+
protoOf($serializer_2).r1i = function (encoder, value) {
|
|
1614
|
+
var tmp0_desc = this.q1i_1;
|
|
1647
1615
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1648
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
1649
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
1650
|
-
tmp1_output.en(tmp0_desc, 2, value.
|
|
1616
|
+
tmp1_output.en(tmp0_desc, 0, value.s1i_1);
|
|
1617
|
+
tmp1_output.en(tmp0_desc, 1, value.t1i_1);
|
|
1618
|
+
tmp1_output.en(tmp0_desc, 2, value.u1i_1);
|
|
1651
1619
|
tmp1_output.rl(tmp0_desc);
|
|
1652
1620
|
};
|
|
1653
1621
|
protoOf($serializer_2).ti = function (encoder, value) {
|
|
1654
|
-
return this.
|
|
1622
|
+
return this.r1i(encoder, value instanceof CommerceCta ? value : THROW_CCE());
|
|
1655
1623
|
};
|
|
1656
1624
|
protoOf($serializer_2).ui = function (decoder) {
|
|
1657
|
-
var tmp0_desc = this.
|
|
1625
|
+
var tmp0_desc = this.q1i_1;
|
|
1658
1626
|
var tmp1_flag = true;
|
|
1659
1627
|
var tmp2_index = 0;
|
|
1660
1628
|
var tmp3_bitMask0 = 0;
|
|
@@ -1696,7 +1664,7 @@
|
|
|
1696
1664
|
return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1697
1665
|
};
|
|
1698
1666
|
protoOf($serializer_2).si = function () {
|
|
1699
|
-
return this.
|
|
1667
|
+
return this.q1i_1;
|
|
1700
1668
|
};
|
|
1701
1669
|
protoOf($serializer_2).bt = function () {
|
|
1702
1670
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1712,11 +1680,11 @@
|
|
|
1712
1680
|
}
|
|
1713
1681
|
function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
|
|
1714
1682
|
if (!(7 === (7 & seen0))) {
|
|
1715
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().
|
|
1683
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().q1i_1);
|
|
1716
1684
|
}
|
|
1717
|
-
$this.
|
|
1718
|
-
$this.
|
|
1719
|
-
$this.
|
|
1685
|
+
$this.s1i_1 = sponsorName;
|
|
1686
|
+
$this.t1i_1 = territory;
|
|
1687
|
+
$this.u1i_1 = url;
|
|
1720
1688
|
return $this;
|
|
1721
1689
|
}
|
|
1722
1690
|
function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
|
|
@@ -1725,12 +1693,12 @@
|
|
|
1725
1693
|
function CommerceCta() {
|
|
1726
1694
|
}
|
|
1727
1695
|
protoOf(CommerceCta).toString = function () {
|
|
1728
|
-
return 'CommerceCta(sponsorName=' + this.
|
|
1696
|
+
return 'CommerceCta(sponsorName=' + this.s1i_1 + ', territory=' + this.t1i_1 + ', url=' + this.u1i_1 + ')';
|
|
1729
1697
|
};
|
|
1730
1698
|
protoOf(CommerceCta).hashCode = function () {
|
|
1731
|
-
var result = getStringHashCode(this.
|
|
1732
|
-
result = imul(result, 31) + getStringHashCode(this.s1i_1) | 0;
|
|
1699
|
+
var result = getStringHashCode(this.s1i_1);
|
|
1733
1700
|
result = imul(result, 31) + getStringHashCode(this.t1i_1) | 0;
|
|
1701
|
+
result = imul(result, 31) + getStringHashCode(this.u1i_1) | 0;
|
|
1734
1702
|
return result;
|
|
1735
1703
|
};
|
|
1736
1704
|
protoOf(CommerceCta).equals = function (other) {
|
|
@@ -1738,12 +1706,12 @@
|
|
|
1738
1706
|
return true;
|
|
1739
1707
|
if (!(other instanceof CommerceCta))
|
|
1740
1708
|
return false;
|
|
1741
|
-
if (!(this.r1i_1 === other.r1i_1))
|
|
1742
|
-
return false;
|
|
1743
1709
|
if (!(this.s1i_1 === other.s1i_1))
|
|
1744
1710
|
return false;
|
|
1745
1711
|
if (!(this.t1i_1 === other.t1i_1))
|
|
1746
1712
|
return false;
|
|
1713
|
+
if (!(this.u1i_1 === other.u1i_1))
|
|
1714
|
+
return false;
|
|
1747
1715
|
return true;
|
|
1748
1716
|
};
|
|
1749
1717
|
function $serializer_3() {
|
|
@@ -1757,36 +1725,36 @@
|
|
|
1757
1725
|
tmp0_serialDesc.zs('photographer', true);
|
|
1758
1726
|
tmp0_serialDesc.zs('source', true);
|
|
1759
1727
|
tmp0_serialDesc.zs('url', false);
|
|
1760
|
-
this.
|
|
1728
|
+
this.v1i_1 = tmp0_serialDesc;
|
|
1761
1729
|
}
|
|
1762
|
-
protoOf($serializer_3).
|
|
1763
|
-
var tmp0_desc = this.
|
|
1730
|
+
protoOf($serializer_3).w1i = function (encoder, value) {
|
|
1731
|
+
var tmp0_desc = this.v1i_1;
|
|
1764
1732
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1765
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1766
|
-
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.
|
|
1733
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.x1i_1 == null)) {
|
|
1734
|
+
tmp1_output.in(tmp0_desc, 0, StringSerializer_getInstance(), value.x1i_1);
|
|
1767
1735
|
}
|
|
1768
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
1769
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
1770
|
-
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
1736
|
+
tmp1_output.en(tmp0_desc, 1, value.y1i_1);
|
|
1737
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.z1i_1 == null)) {
|
|
1738
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.z1i_1);
|
|
1771
1739
|
}
|
|
1772
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
1773
|
-
tmp1_output.in(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
1740
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.a1j_1 == null)) {
|
|
1741
|
+
tmp1_output.in(tmp0_desc, 3, StringSerializer_getInstance(), value.a1j_1);
|
|
1774
1742
|
}
|
|
1775
|
-
tmp1_output.en(tmp0_desc, 4, value.
|
|
1776
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
1777
|
-
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
1743
|
+
tmp1_output.en(tmp0_desc, 4, value.b1j_1);
|
|
1744
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.c1j_1 == null)) {
|
|
1745
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.c1j_1);
|
|
1778
1746
|
}
|
|
1779
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
1780
|
-
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
1747
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.d1j_1 == null)) {
|
|
1748
|
+
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.d1j_1);
|
|
1781
1749
|
}
|
|
1782
|
-
tmp1_output.en(tmp0_desc, 7, value.
|
|
1750
|
+
tmp1_output.en(tmp0_desc, 7, value.e1j_1);
|
|
1783
1751
|
tmp1_output.rl(tmp0_desc);
|
|
1784
1752
|
};
|
|
1785
1753
|
protoOf($serializer_3).ti = function (encoder, value) {
|
|
1786
|
-
return this.
|
|
1754
|
+
return this.w1i(encoder, value instanceof Image ? value : THROW_CCE());
|
|
1787
1755
|
};
|
|
1788
1756
|
protoOf($serializer_3).ui = function (decoder) {
|
|
1789
|
-
var tmp0_desc = this.
|
|
1757
|
+
var tmp0_desc = this.v1i_1;
|
|
1790
1758
|
var tmp1_flag = true;
|
|
1791
1759
|
var tmp2_index = 0;
|
|
1792
1760
|
var tmp3_bitMask0 = 0;
|
|
@@ -1863,7 +1831,7 @@
|
|
|
1863
1831
|
return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1864
1832
|
};
|
|
1865
1833
|
protoOf($serializer_3).si = function () {
|
|
1866
|
-
return this.
|
|
1834
|
+
return this.v1i_1;
|
|
1867
1835
|
};
|
|
1868
1836
|
protoOf($serializer_3).bt = function () {
|
|
1869
1837
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1879,31 +1847,31 @@
|
|
|
1879
1847
|
}
|
|
1880
1848
|
function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
|
|
1881
1849
|
if (!(146 === (146 & seen0))) {
|
|
1882
|
-
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().
|
|
1850
|
+
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().v1i_1);
|
|
1883
1851
|
}
|
|
1884
1852
|
if (0 === (seen0 & 1))
|
|
1885
|
-
$this.
|
|
1853
|
+
$this.x1i_1 = null;
|
|
1886
1854
|
else
|
|
1887
|
-
$this.
|
|
1888
|
-
$this.
|
|
1855
|
+
$this.x1i_1 = caption;
|
|
1856
|
+
$this.y1i_1 = cropId;
|
|
1889
1857
|
if (0 === (seen0 & 4))
|
|
1890
|
-
$this.
|
|
1858
|
+
$this.z1i_1 = null;
|
|
1891
1859
|
else
|
|
1892
|
-
$this.
|
|
1860
|
+
$this.z1i_1 = imageType;
|
|
1893
1861
|
if (0 === (seen0 & 8))
|
|
1894
|
-
$this.
|
|
1862
|
+
$this.a1j_1 = null;
|
|
1895
1863
|
else
|
|
1896
|
-
$this.
|
|
1897
|
-
$this.
|
|
1864
|
+
$this.a1j_1 = mediaApiUrl;
|
|
1865
|
+
$this.b1j_1 = mediaId;
|
|
1898
1866
|
if (0 === (seen0 & 32))
|
|
1899
|
-
$this.
|
|
1867
|
+
$this.c1j_1 = null;
|
|
1900
1868
|
else
|
|
1901
|
-
$this.
|
|
1869
|
+
$this.c1j_1 = photographer;
|
|
1902
1870
|
if (0 === (seen0 & 64))
|
|
1903
|
-
$this.
|
|
1871
|
+
$this.d1j_1 = null;
|
|
1904
1872
|
else
|
|
1905
|
-
$this.
|
|
1906
|
-
$this.
|
|
1873
|
+
$this.d1j_1 = source;
|
|
1874
|
+
$this.e1j_1 = url;
|
|
1907
1875
|
return $this;
|
|
1908
1876
|
}
|
|
1909
1877
|
function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
|
|
@@ -1912,17 +1880,17 @@
|
|
|
1912
1880
|
function Image() {
|
|
1913
1881
|
}
|
|
1914
1882
|
protoOf(Image).toString = function () {
|
|
1915
|
-
return 'Image(caption=' + this.
|
|
1883
|
+
return 'Image(caption=' + this.x1i_1 + ', cropId=' + this.y1i_1 + ', imageType=' + this.z1i_1 + ', mediaApiUrl=' + this.a1j_1 + ', mediaId=' + this.b1j_1 + ', photographer=' + this.c1j_1 + ', source=' + this.d1j_1 + ', url=' + this.e1j_1 + ')';
|
|
1916
1884
|
};
|
|
1917
1885
|
protoOf(Image).hashCode = function () {
|
|
1918
|
-
var result = this.
|
|
1919
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1920
|
-
result = imul(result, 31) + (this.y1i_1 == null ? 0 : getStringHashCode(this.y1i_1)) | 0;
|
|
1886
|
+
var result = this.x1i_1 == null ? 0 : getStringHashCode(this.x1i_1);
|
|
1887
|
+
result = imul(result, 31) + getStringHashCode(this.y1i_1) | 0;
|
|
1921
1888
|
result = imul(result, 31) + (this.z1i_1 == null ? 0 : getStringHashCode(this.z1i_1)) | 0;
|
|
1922
|
-
result = imul(result, 31) + getStringHashCode(this.a1j_1) | 0;
|
|
1923
|
-
result = imul(result, 31) +
|
|
1889
|
+
result = imul(result, 31) + (this.a1j_1 == null ? 0 : getStringHashCode(this.a1j_1)) | 0;
|
|
1890
|
+
result = imul(result, 31) + getStringHashCode(this.b1j_1) | 0;
|
|
1924
1891
|
result = imul(result, 31) + (this.c1j_1 == null ? 0 : getStringHashCode(this.c1j_1)) | 0;
|
|
1925
|
-
result = imul(result, 31) + getStringHashCode(this.d1j_1) | 0;
|
|
1892
|
+
result = imul(result, 31) + (this.d1j_1 == null ? 0 : getStringHashCode(this.d1j_1)) | 0;
|
|
1893
|
+
result = imul(result, 31) + getStringHashCode(this.e1j_1) | 0;
|
|
1926
1894
|
return result;
|
|
1927
1895
|
};
|
|
1928
1896
|
protoOf(Image).equals = function (other) {
|
|
@@ -1930,21 +1898,21 @@
|
|
|
1930
1898
|
return true;
|
|
1931
1899
|
if (!(other instanceof Image))
|
|
1932
1900
|
return false;
|
|
1933
|
-
if (!(this.
|
|
1934
|
-
return false;
|
|
1935
|
-
if (!(this.x1i_1 === other.x1i_1))
|
|
1901
|
+
if (!(this.x1i_1 == other.x1i_1))
|
|
1936
1902
|
return false;
|
|
1937
|
-
if (!(this.y1i_1
|
|
1903
|
+
if (!(this.y1i_1 === other.y1i_1))
|
|
1938
1904
|
return false;
|
|
1939
1905
|
if (!(this.z1i_1 == other.z1i_1))
|
|
1940
1906
|
return false;
|
|
1941
|
-
if (!(this.a1j_1
|
|
1907
|
+
if (!(this.a1j_1 == other.a1j_1))
|
|
1942
1908
|
return false;
|
|
1943
|
-
if (!(this.b1j_1
|
|
1909
|
+
if (!(this.b1j_1 === other.b1j_1))
|
|
1944
1910
|
return false;
|
|
1945
1911
|
if (!(this.c1j_1 == other.c1j_1))
|
|
1946
1912
|
return false;
|
|
1947
|
-
if (!(this.d1j_1
|
|
1913
|
+
if (!(this.d1j_1 == other.d1j_1))
|
|
1914
|
+
return false;
|
|
1915
|
+
if (!(this.e1j_1 === other.e1j_1))
|
|
1948
1916
|
return false;
|
|
1949
1917
|
return true;
|
|
1950
1918
|
};
|
|
@@ -1958,7 +1926,7 @@
|
|
|
1958
1926
|
// Inline function 'kotlin.arrayOf' call
|
|
1959
1927
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1960
1928
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1961
|
-
tmp.
|
|
1929
|
+
tmp.f1j_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
|
|
1962
1930
|
}
|
|
1963
1931
|
var Companion_instance_3;
|
|
1964
1932
|
function Companion_getInstance_2() {
|
|
@@ -1971,32 +1939,32 @@
|
|
|
1971
1939
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
|
|
1972
1940
|
tmp0_serialDesc.zs('ingredientsList', true);
|
|
1973
1941
|
tmp0_serialDesc.zs('recipeSection', true);
|
|
1974
|
-
this.
|
|
1942
|
+
this.g1j_1 = tmp0_serialDesc;
|
|
1975
1943
|
}
|
|
1976
|
-
protoOf($serializer_4).
|
|
1977
|
-
var tmp0_desc = this.
|
|
1944
|
+
protoOf($serializer_4).h1j = function (encoder, value) {
|
|
1945
|
+
var tmp0_desc = this.g1j_1;
|
|
1978
1946
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1979
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
1980
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1981
|
-
tmp1_output.in(tmp0_desc, 0, tmp2_cached[0].g2(), value.
|
|
1947
|
+
var tmp2_cached = Companion_getInstance_2().f1j_1;
|
|
1948
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.i1h_1 == null)) {
|
|
1949
|
+
tmp1_output.in(tmp0_desc, 0, tmp2_cached[0].g2(), value.i1h_1);
|
|
1982
1950
|
}
|
|
1983
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
1984
|
-
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
1951
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.j1h_1 == null)) {
|
|
1952
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.j1h_1);
|
|
1985
1953
|
}
|
|
1986
1954
|
tmp1_output.rl(tmp0_desc);
|
|
1987
1955
|
};
|
|
1988
1956
|
protoOf($serializer_4).ti = function (encoder, value) {
|
|
1989
|
-
return this.
|
|
1957
|
+
return this.h1j(encoder, value instanceof IngredientsList ? value : THROW_CCE());
|
|
1990
1958
|
};
|
|
1991
1959
|
protoOf($serializer_4).ui = function (decoder) {
|
|
1992
|
-
var tmp0_desc = this.
|
|
1960
|
+
var tmp0_desc = this.g1j_1;
|
|
1993
1961
|
var tmp1_flag = true;
|
|
1994
1962
|
var tmp2_index = 0;
|
|
1995
1963
|
var tmp3_bitMask0 = 0;
|
|
1996
1964
|
var tmp4_local0 = null;
|
|
1997
1965
|
var tmp5_local1 = null;
|
|
1998
1966
|
var tmp6_input = decoder.ql(tmp0_desc);
|
|
1999
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
1967
|
+
var tmp7_cached = Companion_getInstance_2().f1j_1;
|
|
2000
1968
|
if (tmp6_input.gm()) {
|
|
2001
1969
|
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
2002
1970
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2025,10 +1993,10 @@
|
|
|
2025
1993
|
return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2026
1994
|
};
|
|
2027
1995
|
protoOf($serializer_4).si = function () {
|
|
2028
|
-
return this.
|
|
1996
|
+
return this.g1j_1;
|
|
2029
1997
|
};
|
|
2030
1998
|
protoOf($serializer_4).bt = function () {
|
|
2031
|
-
var tmp0_cached = Companion_getInstance_2().
|
|
1999
|
+
var tmp0_cached = Companion_getInstance_2().f1j_1;
|
|
2032
2000
|
// Inline function 'kotlin.arrayOf' call
|
|
2033
2001
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2034
2002
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2042,16 +2010,16 @@
|
|
|
2042
2010
|
}
|
|
2043
2011
|
function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
|
|
2044
2012
|
if (!(0 === (0 & seen0))) {
|
|
2045
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().
|
|
2013
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().g1j_1);
|
|
2046
2014
|
}
|
|
2047
2015
|
if (0 === (seen0 & 1))
|
|
2048
|
-
$this.
|
|
2016
|
+
$this.i1h_1 = null;
|
|
2049
2017
|
else
|
|
2050
|
-
$this.
|
|
2018
|
+
$this.i1h_1 = ingredientsList;
|
|
2051
2019
|
if (0 === (seen0 & 2))
|
|
2052
|
-
$this.
|
|
2020
|
+
$this.j1h_1 = null;
|
|
2053
2021
|
else
|
|
2054
|
-
$this.
|
|
2022
|
+
$this.j1h_1 = recipeSection;
|
|
2055
2023
|
return $this;
|
|
2056
2024
|
}
|
|
2057
2025
|
function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
|
|
@@ -2061,15 +2029,15 @@
|
|
|
2061
2029
|
Companion_getInstance_2();
|
|
2062
2030
|
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
2063
2031
|
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
2064
|
-
this.
|
|
2065
|
-
this.
|
|
2032
|
+
this.i1h_1 = ingredientsList;
|
|
2033
|
+
this.j1h_1 = recipeSection;
|
|
2066
2034
|
}
|
|
2067
2035
|
protoOf(IngredientsList).toString = function () {
|
|
2068
|
-
return 'IngredientsList(ingredientsList=' + toString(this.
|
|
2036
|
+
return 'IngredientsList(ingredientsList=' + toString(this.i1h_1) + ', recipeSection=' + this.j1h_1 + ')';
|
|
2069
2037
|
};
|
|
2070
2038
|
protoOf(IngredientsList).hashCode = function () {
|
|
2071
|
-
var result = this.
|
|
2072
|
-
result = imul(result, 31) + (this.
|
|
2039
|
+
var result = this.i1h_1 == null ? 0 : hashCode(this.i1h_1);
|
|
2040
|
+
result = imul(result, 31) + (this.j1h_1 == null ? 0 : getStringHashCode(this.j1h_1)) | 0;
|
|
2073
2041
|
return result;
|
|
2074
2042
|
};
|
|
2075
2043
|
protoOf(IngredientsList).equals = function (other) {
|
|
@@ -2077,9 +2045,9 @@
|
|
|
2077
2045
|
return true;
|
|
2078
2046
|
if (!(other instanceof IngredientsList))
|
|
2079
2047
|
return false;
|
|
2080
|
-
if (!equals(this.
|
|
2048
|
+
if (!equals(this.i1h_1, other.i1h_1))
|
|
2081
2049
|
return false;
|
|
2082
|
-
if (!(this.
|
|
2050
|
+
if (!(this.j1h_1 == other.j1h_1))
|
|
2083
2051
|
return false;
|
|
2084
2052
|
return true;
|
|
2085
2053
|
};
|
|
@@ -2101,45 +2069,45 @@
|
|
|
2101
2069
|
tmp0_serialDesc.zs('template', true);
|
|
2102
2070
|
tmp0_serialDesc.zs('text', true);
|
|
2103
2071
|
tmp0_serialDesc.zs('unit', true);
|
|
2104
|
-
this.
|
|
2072
|
+
this.i1j_1 = tmp0_serialDesc;
|
|
2105
2073
|
}
|
|
2106
|
-
protoOf($serializer_5).
|
|
2107
|
-
var tmp0_desc = this.
|
|
2074
|
+
protoOf($serializer_5).j1j = function (encoder, value) {
|
|
2075
|
+
var tmp0_desc = this.i1j_1;
|
|
2108
2076
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2109
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2110
|
-
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.
|
|
2077
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.k1h_1 == null)) {
|
|
2078
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.k1h_1);
|
|
2111
2079
|
}
|
|
2112
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2113
|
-
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2080
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.l1h_1 == null)) {
|
|
2081
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.l1h_1);
|
|
2114
2082
|
}
|
|
2115
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2116
|
-
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2083
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.m1h_1 == null)) {
|
|
2084
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.m1h_1);
|
|
2117
2085
|
}
|
|
2118
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
2119
|
-
tmp1_output.in(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2086
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.n1h_1 == null)) {
|
|
2087
|
+
tmp1_output.in(tmp0_desc, 3, BooleanSerializer_getInstance(), value.n1h_1);
|
|
2120
2088
|
}
|
|
2121
|
-
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.
|
|
2122
|
-
tmp1_output.in(tmp0_desc, 4, StringSerializer_getInstance(), value.
|
|
2089
|
+
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.o1h_1 == null)) {
|
|
2090
|
+
tmp1_output.in(tmp0_desc, 4, StringSerializer_getInstance(), value.o1h_1);
|
|
2123
2091
|
}
|
|
2124
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
2125
|
-
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.
|
|
2092
|
+
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.p1h_1 == null)) {
|
|
2093
|
+
tmp1_output.in(tmp0_desc, 5, StringSerializer_getInstance(), value.p1h_1);
|
|
2126
2094
|
}
|
|
2127
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
2128
|
-
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
2095
|
+
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.q1h_1 == null)) {
|
|
2096
|
+
tmp1_output.in(tmp0_desc, 6, StringSerializer_getInstance(), value.q1h_1);
|
|
2129
2097
|
}
|
|
2130
|
-
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.
|
|
2131
|
-
tmp1_output.in(tmp0_desc, 7, StringSerializer_getInstance(), value.
|
|
2098
|
+
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.r1h_1 == null)) {
|
|
2099
|
+
tmp1_output.in(tmp0_desc, 7, StringSerializer_getInstance(), value.r1h_1);
|
|
2132
2100
|
}
|
|
2133
|
-
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.
|
|
2134
|
-
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.
|
|
2101
|
+
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.s1h_1 == null)) {
|
|
2102
|
+
tmp1_output.in(tmp0_desc, 8, StringSerializer_getInstance(), value.s1h_1);
|
|
2135
2103
|
}
|
|
2136
2104
|
tmp1_output.rl(tmp0_desc);
|
|
2137
2105
|
};
|
|
2138
2106
|
protoOf($serializer_5).ti = function (encoder, value) {
|
|
2139
|
-
return this.
|
|
2107
|
+
return this.j1j(encoder, value instanceof IngredientItem ? value : THROW_CCE());
|
|
2140
2108
|
};
|
|
2141
2109
|
protoOf($serializer_5).ui = function (decoder) {
|
|
2142
|
-
var tmp0_desc = this.
|
|
2110
|
+
var tmp0_desc = this.i1j_1;
|
|
2143
2111
|
var tmp1_flag = true;
|
|
2144
2112
|
var tmp2_index = 0;
|
|
2145
2113
|
var tmp3_bitMask0 = 0;
|
|
@@ -2223,7 +2191,7 @@
|
|
|
2223
2191
|
return IngredientItem_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
2224
2192
|
};
|
|
2225
2193
|
protoOf($serializer_5).si = function () {
|
|
2226
|
-
return this.
|
|
2194
|
+
return this.i1j_1;
|
|
2227
2195
|
};
|
|
2228
2196
|
protoOf($serializer_5).bt = function () {
|
|
2229
2197
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2239,44 +2207,44 @@
|
|
|
2239
2207
|
}
|
|
2240
2208
|
function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
|
|
2241
2209
|
if (!(0 === (0 & seen0))) {
|
|
2242
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().
|
|
2210
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().i1j_1);
|
|
2243
2211
|
}
|
|
2244
2212
|
if (0 === (seen0 & 1))
|
|
2245
|
-
$this.
|
|
2213
|
+
$this.k1h_1 = null;
|
|
2246
2214
|
else
|
|
2247
|
-
$this.
|
|
2215
|
+
$this.k1h_1 = amount;
|
|
2248
2216
|
if (0 === (seen0 & 2))
|
|
2249
|
-
$this.
|
|
2217
|
+
$this.l1h_1 = null;
|
|
2250
2218
|
else
|
|
2251
|
-
$this.
|
|
2219
|
+
$this.l1h_1 = ingredientId;
|
|
2252
2220
|
if (0 === (seen0 & 4))
|
|
2253
|
-
$this.
|
|
2221
|
+
$this.m1h_1 = null;
|
|
2254
2222
|
else
|
|
2255
|
-
$this.
|
|
2223
|
+
$this.m1h_1 = name;
|
|
2256
2224
|
if (0 === (seen0 & 8))
|
|
2257
|
-
$this.
|
|
2225
|
+
$this.n1h_1 = null;
|
|
2258
2226
|
else
|
|
2259
|
-
$this.
|
|
2227
|
+
$this.n1h_1 = optional;
|
|
2260
2228
|
if (0 === (seen0 & 16))
|
|
2261
|
-
$this.
|
|
2229
|
+
$this.o1h_1 = null;
|
|
2262
2230
|
else
|
|
2263
|
-
$this.
|
|
2231
|
+
$this.o1h_1 = prefix;
|
|
2264
2232
|
if (0 === (seen0 & 32))
|
|
2265
|
-
$this.
|
|
2233
|
+
$this.p1h_1 = null;
|
|
2266
2234
|
else
|
|
2267
|
-
$this.
|
|
2235
|
+
$this.p1h_1 = suffix;
|
|
2268
2236
|
if (0 === (seen0 & 64))
|
|
2269
|
-
$this.
|
|
2237
|
+
$this.q1h_1 = null;
|
|
2270
2238
|
else
|
|
2271
|
-
$this.
|
|
2239
|
+
$this.q1h_1 = template;
|
|
2272
2240
|
if (0 === (seen0 & 128))
|
|
2273
|
-
$this.
|
|
2241
|
+
$this.r1h_1 = null;
|
|
2274
2242
|
else
|
|
2275
|
-
$this.
|
|
2243
|
+
$this.r1h_1 = text;
|
|
2276
2244
|
if (0 === (seen0 & 256))
|
|
2277
|
-
$this.
|
|
2245
|
+
$this.s1h_1 = null;
|
|
2278
2246
|
else
|
|
2279
|
-
$this.
|
|
2247
|
+
$this.s1h_1 = unit;
|
|
2280
2248
|
return $this;
|
|
2281
2249
|
}
|
|
2282
2250
|
function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
|
|
@@ -2292,44 +2260,44 @@
|
|
|
2292
2260
|
template = template === VOID ? null : template;
|
|
2293
2261
|
text = text === VOID ? null : text;
|
|
2294
2262
|
unit = unit === VOID ? null : unit;
|
|
2295
|
-
this.
|
|
2296
|
-
this.
|
|
2297
|
-
this.
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2300
|
-
this.
|
|
2301
|
-
this.
|
|
2302
|
-
this.
|
|
2303
|
-
this.
|
|
2304
|
-
}
|
|
2305
|
-
protoOf(IngredientItem).
|
|
2263
|
+
this.k1h_1 = amount;
|
|
2264
|
+
this.l1h_1 = ingredientId;
|
|
2265
|
+
this.m1h_1 = name;
|
|
2266
|
+
this.n1h_1 = optional;
|
|
2267
|
+
this.o1h_1 = prefix;
|
|
2268
|
+
this.p1h_1 = suffix;
|
|
2269
|
+
this.q1h_1 = template;
|
|
2270
|
+
this.r1h_1 = text;
|
|
2271
|
+
this.s1h_1 = unit;
|
|
2272
|
+
}
|
|
2273
|
+
protoOf(IngredientItem).k1j = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
|
|
2306
2274
|
return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2307
2275
|
};
|
|
2308
|
-
protoOf(IngredientItem).
|
|
2309
|
-
amount = amount === VOID ? this.
|
|
2310
|
-
ingredientId = ingredientId === VOID ? this.
|
|
2311
|
-
name = name === VOID ? this.
|
|
2312
|
-
optional = optional === VOID ? this.
|
|
2313
|
-
prefix = prefix === VOID ? this.
|
|
2314
|
-
suffix = suffix === VOID ? this.
|
|
2315
|
-
template = template === VOID ? this.
|
|
2316
|
-
text = text === VOID ? this.
|
|
2317
|
-
unit = unit === VOID ? this.
|
|
2318
|
-
return $super === VOID ? this.
|
|
2276
|
+
protoOf(IngredientItem).t1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
|
|
2277
|
+
amount = amount === VOID ? this.k1h_1 : amount;
|
|
2278
|
+
ingredientId = ingredientId === VOID ? this.l1h_1 : ingredientId;
|
|
2279
|
+
name = name === VOID ? this.m1h_1 : name;
|
|
2280
|
+
optional = optional === VOID ? this.n1h_1 : optional;
|
|
2281
|
+
prefix = prefix === VOID ? this.o1h_1 : prefix;
|
|
2282
|
+
suffix = suffix === VOID ? this.p1h_1 : suffix;
|
|
2283
|
+
template = template === VOID ? this.q1h_1 : template;
|
|
2284
|
+
text = text === VOID ? this.r1h_1 : text;
|
|
2285
|
+
unit = unit === VOID ? this.s1h_1 : unit;
|
|
2286
|
+
return $super === VOID ? this.k1j(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.k1j.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2319
2287
|
};
|
|
2320
2288
|
protoOf(IngredientItem).toString = function () {
|
|
2321
|
-
return 'IngredientItem(amount=' + toString(this.
|
|
2289
|
+
return 'IngredientItem(amount=' + toString(this.k1h_1) + ', ingredientId=' + this.l1h_1 + ', name=' + this.m1h_1 + ', optional=' + this.n1h_1 + ', prefix=' + this.o1h_1 + ', suffix=' + this.p1h_1 + ', template=' + this.q1h_1 + ', text=' + this.r1h_1 + ', unit=' + this.s1h_1 + ')';
|
|
2322
2290
|
};
|
|
2323
2291
|
protoOf(IngredientItem).hashCode = function () {
|
|
2324
|
-
var result = this.
|
|
2325
|
-
result = imul(result, 31) + (this.k1h_1 == null ? 0 : getStringHashCode(this.k1h_1)) | 0;
|
|
2292
|
+
var result = this.k1h_1 == null ? 0 : this.k1h_1.hashCode();
|
|
2326
2293
|
result = imul(result, 31) + (this.l1h_1 == null ? 0 : getStringHashCode(this.l1h_1)) | 0;
|
|
2327
|
-
result = imul(result, 31) + (this.m1h_1 == null ? 0 :
|
|
2328
|
-
result = imul(result, 31) + (this.n1h_1 == null ? 0 :
|
|
2294
|
+
result = imul(result, 31) + (this.m1h_1 == null ? 0 : getStringHashCode(this.m1h_1)) | 0;
|
|
2295
|
+
result = imul(result, 31) + (this.n1h_1 == null ? 0 : getBooleanHashCode(this.n1h_1)) | 0;
|
|
2329
2296
|
result = imul(result, 31) + (this.o1h_1 == null ? 0 : getStringHashCode(this.o1h_1)) | 0;
|
|
2330
2297
|
result = imul(result, 31) + (this.p1h_1 == null ? 0 : getStringHashCode(this.p1h_1)) | 0;
|
|
2331
2298
|
result = imul(result, 31) + (this.q1h_1 == null ? 0 : getStringHashCode(this.q1h_1)) | 0;
|
|
2332
2299
|
result = imul(result, 31) + (this.r1h_1 == null ? 0 : getStringHashCode(this.r1h_1)) | 0;
|
|
2300
|
+
result = imul(result, 31) + (this.s1h_1 == null ? 0 : getStringHashCode(this.s1h_1)) | 0;
|
|
2333
2301
|
return result;
|
|
2334
2302
|
};
|
|
2335
2303
|
protoOf(IngredientItem).equals = function (other) {
|
|
@@ -2337,9 +2305,7 @@
|
|
|
2337
2305
|
return true;
|
|
2338
2306
|
if (!(other instanceof IngredientItem))
|
|
2339
2307
|
return false;
|
|
2340
|
-
if (!equals(this.
|
|
2341
|
-
return false;
|
|
2342
|
-
if (!(this.k1h_1 == other.k1h_1))
|
|
2308
|
+
if (!equals(this.k1h_1, other.k1h_1))
|
|
2343
2309
|
return false;
|
|
2344
2310
|
if (!(this.l1h_1 == other.l1h_1))
|
|
2345
2311
|
return false;
|
|
@@ -2355,6 +2321,8 @@
|
|
|
2355
2321
|
return false;
|
|
2356
2322
|
if (!(this.r1h_1 == other.r1h_1))
|
|
2357
2323
|
return false;
|
|
2324
|
+
if (!(this.s1h_1 == other.s1h_1))
|
|
2325
|
+
return false;
|
|
2358
2326
|
return true;
|
|
2359
2327
|
};
|
|
2360
2328
|
function Companion_4() {
|
|
@@ -2368,24 +2336,24 @@
|
|
|
2368
2336
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
|
|
2369
2337
|
tmp0_serialDesc.zs('max', true);
|
|
2370
2338
|
tmp0_serialDesc.zs('min', true);
|
|
2371
|
-
this.
|
|
2339
|
+
this.l1j_1 = tmp0_serialDesc;
|
|
2372
2340
|
}
|
|
2373
|
-
protoOf($serializer_6).
|
|
2374
|
-
var tmp0_desc = this.
|
|
2341
|
+
protoOf($serializer_6).m1j = function (encoder, value) {
|
|
2342
|
+
var tmp0_desc = this.l1j_1;
|
|
2375
2343
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2376
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2377
|
-
tmp1_output.in(tmp0_desc, 0, DoubleSerializer_getInstance(), value.
|
|
2344
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.n1j_1 == null)) {
|
|
2345
|
+
tmp1_output.in(tmp0_desc, 0, DoubleSerializer_getInstance(), value.n1j_1);
|
|
2378
2346
|
}
|
|
2379
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2380
|
-
tmp1_output.in(tmp0_desc, 1, DoubleSerializer_getInstance(), value.
|
|
2347
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.o1j_1 == null)) {
|
|
2348
|
+
tmp1_output.in(tmp0_desc, 1, DoubleSerializer_getInstance(), value.o1j_1);
|
|
2381
2349
|
}
|
|
2382
2350
|
tmp1_output.rl(tmp0_desc);
|
|
2383
2351
|
};
|
|
2384
2352
|
protoOf($serializer_6).ti = function (encoder, value) {
|
|
2385
|
-
return this.
|
|
2353
|
+
return this.m1j(encoder, value instanceof Range ? value : THROW_CCE());
|
|
2386
2354
|
};
|
|
2387
2355
|
protoOf($serializer_6).ui = function (decoder) {
|
|
2388
|
-
var tmp0_desc = this.
|
|
2356
|
+
var tmp0_desc = this.l1j_1;
|
|
2389
2357
|
var tmp1_flag = true;
|
|
2390
2358
|
var tmp2_index = 0;
|
|
2391
2359
|
var tmp3_bitMask0 = 0;
|
|
@@ -2420,7 +2388,7 @@
|
|
|
2420
2388
|
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2421
2389
|
};
|
|
2422
2390
|
protoOf($serializer_6).si = function () {
|
|
2423
|
-
return this.
|
|
2391
|
+
return this.l1j_1;
|
|
2424
2392
|
};
|
|
2425
2393
|
protoOf($serializer_6).bt = function () {
|
|
2426
2394
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2436,16 +2404,16 @@
|
|
|
2436
2404
|
}
|
|
2437
2405
|
function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
2438
2406
|
if (!(0 === (0 & seen0))) {
|
|
2439
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().
|
|
2407
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().l1j_1);
|
|
2440
2408
|
}
|
|
2441
2409
|
if (0 === (seen0 & 1))
|
|
2442
|
-
$this.
|
|
2410
|
+
$this.n1j_1 = null;
|
|
2443
2411
|
else
|
|
2444
|
-
$this.
|
|
2412
|
+
$this.n1j_1 = max;
|
|
2445
2413
|
if (0 === (seen0 & 2))
|
|
2446
|
-
$this.
|
|
2414
|
+
$this.o1j_1 = null;
|
|
2447
2415
|
else
|
|
2448
|
-
$this.
|
|
2416
|
+
$this.o1j_1 = min;
|
|
2449
2417
|
return $this;
|
|
2450
2418
|
}
|
|
2451
2419
|
function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
@@ -2454,15 +2422,15 @@
|
|
|
2454
2422
|
function Range(max, min) {
|
|
2455
2423
|
max = max === VOID ? null : max;
|
|
2456
2424
|
min = min === VOID ? null : min;
|
|
2457
|
-
this.
|
|
2458
|
-
this.
|
|
2425
|
+
this.n1j_1 = max;
|
|
2426
|
+
this.o1j_1 = min;
|
|
2459
2427
|
}
|
|
2460
2428
|
protoOf(Range).toString = function () {
|
|
2461
|
-
return 'Range(max=' + this.
|
|
2429
|
+
return 'Range(max=' + this.n1j_1 + ', min=' + this.o1j_1 + ')';
|
|
2462
2430
|
};
|
|
2463
2431
|
protoOf(Range).hashCode = function () {
|
|
2464
|
-
var result = this.
|
|
2465
|
-
result = imul(result, 31) + (this.
|
|
2432
|
+
var result = this.n1j_1 == null ? 0 : getNumberHashCode(this.n1j_1);
|
|
2433
|
+
result = imul(result, 31) + (this.o1j_1 == null ? 0 : getNumberHashCode(this.o1j_1)) | 0;
|
|
2466
2434
|
return result;
|
|
2467
2435
|
};
|
|
2468
2436
|
protoOf(Range).equals = function (other) {
|
|
@@ -2470,10 +2438,10 @@
|
|
|
2470
2438
|
return true;
|
|
2471
2439
|
if (!(other instanceof Range))
|
|
2472
2440
|
return false;
|
|
2473
|
-
if (!equals(this.m1j_1, other.m1j_1))
|
|
2474
|
-
return false;
|
|
2475
2441
|
if (!equals(this.n1j_1, other.n1j_1))
|
|
2476
2442
|
return false;
|
|
2443
|
+
if (!equals(this.o1j_1, other.o1j_1))
|
|
2444
|
+
return false;
|
|
2477
2445
|
return true;
|
|
2478
2446
|
};
|
|
2479
2447
|
function Instruction$Companion$$childSerializers$_anonymous__sbbefw() {
|
|
@@ -2486,7 +2454,7 @@
|
|
|
2486
2454
|
// Inline function 'kotlin.arrayOf' call
|
|
2487
2455
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2488
2456
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2489
|
-
tmp.
|
|
2457
|
+
tmp.p1j_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
|
|
2490
2458
|
}
|
|
2491
2459
|
var Companion_instance_6;
|
|
2492
2460
|
function Companion_getInstance_5() {
|
|
@@ -2501,29 +2469,29 @@
|
|
|
2501
2469
|
tmp0_serialDesc.zs('descriptionTemplate', true);
|
|
2502
2470
|
tmp0_serialDesc.zs('images', true);
|
|
2503
2471
|
tmp0_serialDesc.zs('stepNumber', true);
|
|
2504
|
-
this.
|
|
2472
|
+
this.q1j_1 = tmp0_serialDesc;
|
|
2505
2473
|
}
|
|
2506
|
-
protoOf($serializer_7).
|
|
2507
|
-
var tmp0_desc = this.
|
|
2474
|
+
protoOf($serializer_7).r1j = function (encoder, value) {
|
|
2475
|
+
var tmp0_desc = this.q1j_1;
|
|
2508
2476
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2509
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
2510
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
2511
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2512
|
-
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2477
|
+
var tmp2_cached = Companion_getInstance_5().p1j_1;
|
|
2478
|
+
tmp1_output.en(tmp0_desc, 0, value.u1h_1);
|
|
2479
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.v1h_1 == null)) {
|
|
2480
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.v1h_1);
|
|
2513
2481
|
}
|
|
2514
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2515
|
-
tmp1_output.in(tmp0_desc, 2, tmp2_cached[2].g2(), value.
|
|
2482
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.w1h_1 == null)) {
|
|
2483
|
+
tmp1_output.in(tmp0_desc, 2, tmp2_cached[2].g2(), value.w1h_1);
|
|
2516
2484
|
}
|
|
2517
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
2518
|
-
tmp1_output.in(tmp0_desc, 3, DoubleSerializer_getInstance(), value.
|
|
2485
|
+
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.x1h_1 == null)) {
|
|
2486
|
+
tmp1_output.in(tmp0_desc, 3, DoubleSerializer_getInstance(), value.x1h_1);
|
|
2519
2487
|
}
|
|
2520
2488
|
tmp1_output.rl(tmp0_desc);
|
|
2521
2489
|
};
|
|
2522
2490
|
protoOf($serializer_7).ti = function (encoder, value) {
|
|
2523
|
-
return this.
|
|
2491
|
+
return this.r1j(encoder, value instanceof Instruction ? value : THROW_CCE());
|
|
2524
2492
|
};
|
|
2525
2493
|
protoOf($serializer_7).ui = function (decoder) {
|
|
2526
|
-
var tmp0_desc = this.
|
|
2494
|
+
var tmp0_desc = this.q1j_1;
|
|
2527
2495
|
var tmp1_flag = true;
|
|
2528
2496
|
var tmp2_index = 0;
|
|
2529
2497
|
var tmp3_bitMask0 = 0;
|
|
@@ -2532,7 +2500,7 @@
|
|
|
2532
2500
|
var tmp6_local2 = null;
|
|
2533
2501
|
var tmp7_local3 = null;
|
|
2534
2502
|
var tmp8_input = decoder.ql(tmp0_desc);
|
|
2535
|
-
var tmp9_cached = Companion_getInstance_5().
|
|
2503
|
+
var tmp9_cached = Companion_getInstance_5().p1j_1;
|
|
2536
2504
|
if (tmp8_input.gm()) {
|
|
2537
2505
|
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
2538
2506
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2573,10 +2541,10 @@
|
|
|
2573
2541
|
return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2574
2542
|
};
|
|
2575
2543
|
protoOf($serializer_7).si = function () {
|
|
2576
|
-
return this.
|
|
2544
|
+
return this.q1j_1;
|
|
2577
2545
|
};
|
|
2578
2546
|
protoOf($serializer_7).bt = function () {
|
|
2579
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
2547
|
+
var tmp0_cached = Companion_getInstance_5().p1j_1;
|
|
2580
2548
|
// Inline function 'kotlin.arrayOf' call
|
|
2581
2549
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2582
2550
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2590,21 +2558,21 @@
|
|
|
2590
2558
|
}
|
|
2591
2559
|
function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
|
|
2592
2560
|
if (!(1 === (1 & seen0))) {
|
|
2593
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().
|
|
2561
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().q1j_1);
|
|
2594
2562
|
}
|
|
2595
|
-
$this.
|
|
2563
|
+
$this.u1h_1 = description;
|
|
2596
2564
|
if (0 === (seen0 & 2))
|
|
2597
|
-
$this.
|
|
2565
|
+
$this.v1h_1 = null;
|
|
2598
2566
|
else
|
|
2599
|
-
$this.
|
|
2567
|
+
$this.v1h_1 = descriptionTemplate;
|
|
2600
2568
|
if (0 === (seen0 & 4))
|
|
2601
|
-
$this.
|
|
2569
|
+
$this.w1h_1 = null;
|
|
2602
2570
|
else
|
|
2603
|
-
$this.
|
|
2571
|
+
$this.w1h_1 = images;
|
|
2604
2572
|
if (0 === (seen0 & 8))
|
|
2605
|
-
$this.
|
|
2573
|
+
$this.x1h_1 = null;
|
|
2606
2574
|
else
|
|
2607
|
-
$this.
|
|
2575
|
+
$this.x1h_1 = stepNumber;
|
|
2608
2576
|
return $this;
|
|
2609
2577
|
}
|
|
2610
2578
|
function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
|
|
@@ -2615,29 +2583,29 @@
|
|
|
2615
2583
|
descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
|
|
2616
2584
|
images = images === VOID ? null : images;
|
|
2617
2585
|
stepNumber = stepNumber === VOID ? null : stepNumber;
|
|
2618
|
-
this.
|
|
2619
|
-
this.
|
|
2620
|
-
this.
|
|
2621
|
-
this.
|
|
2586
|
+
this.u1h_1 = description;
|
|
2587
|
+
this.v1h_1 = descriptionTemplate;
|
|
2588
|
+
this.w1h_1 = images;
|
|
2589
|
+
this.x1h_1 = stepNumber;
|
|
2622
2590
|
}
|
|
2623
|
-
protoOf(Instruction).
|
|
2591
|
+
protoOf(Instruction).s1j = function (description, descriptionTemplate, images, stepNumber) {
|
|
2624
2592
|
return new Instruction(description, descriptionTemplate, images, stepNumber);
|
|
2625
2593
|
};
|
|
2626
|
-
protoOf(Instruction).
|
|
2627
|
-
description = description === VOID ? this.
|
|
2628
|
-
descriptionTemplate = descriptionTemplate === VOID ? this.
|
|
2629
|
-
images = images === VOID ? this.
|
|
2630
|
-
stepNumber = stepNumber === VOID ? this.
|
|
2631
|
-
return $super === VOID ? this.
|
|
2594
|
+
protoOf(Instruction).y1h = function (description, descriptionTemplate, images, stepNumber, $super) {
|
|
2595
|
+
description = description === VOID ? this.u1h_1 : description;
|
|
2596
|
+
descriptionTemplate = descriptionTemplate === VOID ? this.v1h_1 : descriptionTemplate;
|
|
2597
|
+
images = images === VOID ? this.w1h_1 : images;
|
|
2598
|
+
stepNumber = stepNumber === VOID ? this.x1h_1 : stepNumber;
|
|
2599
|
+
return $super === VOID ? this.s1j(description, descriptionTemplate, images, stepNumber) : $super.s1j.call(this, description, descriptionTemplate, images, stepNumber);
|
|
2632
2600
|
};
|
|
2633
2601
|
protoOf(Instruction).toString = function () {
|
|
2634
|
-
return 'Instruction(description=' + this.
|
|
2602
|
+
return 'Instruction(description=' + this.u1h_1 + ', descriptionTemplate=' + this.v1h_1 + ', images=' + toString(this.w1h_1) + ', stepNumber=' + this.x1h_1 + ')';
|
|
2635
2603
|
};
|
|
2636
2604
|
protoOf(Instruction).hashCode = function () {
|
|
2637
|
-
var result = getStringHashCode(this.
|
|
2638
|
-
result = imul(result, 31) + (this.
|
|
2639
|
-
result = imul(result, 31) + (this.
|
|
2640
|
-
result = imul(result, 31) + (this.
|
|
2605
|
+
var result = getStringHashCode(this.u1h_1);
|
|
2606
|
+
result = imul(result, 31) + (this.v1h_1 == null ? 0 : getStringHashCode(this.v1h_1)) | 0;
|
|
2607
|
+
result = imul(result, 31) + (this.w1h_1 == null ? 0 : hashCode(this.w1h_1)) | 0;
|
|
2608
|
+
result = imul(result, 31) + (this.x1h_1 == null ? 0 : getNumberHashCode(this.x1h_1)) | 0;
|
|
2641
2609
|
return result;
|
|
2642
2610
|
};
|
|
2643
2611
|
protoOf(Instruction).equals = function (other) {
|
|
@@ -2645,14 +2613,14 @@
|
|
|
2645
2613
|
return true;
|
|
2646
2614
|
if (!(other instanceof Instruction))
|
|
2647
2615
|
return false;
|
|
2648
|
-
if (!(this.
|
|
2649
|
-
return false;
|
|
2650
|
-
if (!(this.u1h_1 == other.u1h_1))
|
|
2616
|
+
if (!(this.u1h_1 === other.u1h_1))
|
|
2651
2617
|
return false;
|
|
2652
|
-
if (!
|
|
2618
|
+
if (!(this.v1h_1 == other.v1h_1))
|
|
2653
2619
|
return false;
|
|
2654
2620
|
if (!equals(this.w1h_1, other.w1h_1))
|
|
2655
2621
|
return false;
|
|
2622
|
+
if (!equals(this.x1h_1, other.x1h_1))
|
|
2623
|
+
return false;
|
|
2656
2624
|
return true;
|
|
2657
2625
|
};
|
|
2658
2626
|
function $serializer_8() {
|
|
@@ -2661,25 +2629,25 @@
|
|
|
2661
2629
|
tmp0_serialDesc.zs('amount', true);
|
|
2662
2630
|
tmp0_serialDesc.zs('text', true);
|
|
2663
2631
|
tmp0_serialDesc.zs('unit', false);
|
|
2664
|
-
this.
|
|
2632
|
+
this.t1j_1 = tmp0_serialDesc;
|
|
2665
2633
|
}
|
|
2666
|
-
protoOf($serializer_8).
|
|
2667
|
-
var tmp0_desc = this.
|
|
2634
|
+
protoOf($serializer_8).u1j = function (encoder, value) {
|
|
2635
|
+
var tmp0_desc = this.t1j_1;
|
|
2668
2636
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2669
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2670
|
-
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.
|
|
2637
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.v1j_1 == null)) {
|
|
2638
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.v1j_1);
|
|
2671
2639
|
}
|
|
2672
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2673
|
-
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2640
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.w1j_1 == null)) {
|
|
2641
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.w1j_1);
|
|
2674
2642
|
}
|
|
2675
|
-
tmp1_output.en(tmp0_desc, 2, value.
|
|
2643
|
+
tmp1_output.en(tmp0_desc, 2, value.x1j_1);
|
|
2676
2644
|
tmp1_output.rl(tmp0_desc);
|
|
2677
2645
|
};
|
|
2678
2646
|
protoOf($serializer_8).ti = function (encoder, value) {
|
|
2679
|
-
return this.
|
|
2647
|
+
return this.u1j(encoder, value instanceof Serves ? value : THROW_CCE());
|
|
2680
2648
|
};
|
|
2681
2649
|
protoOf($serializer_8).ui = function (decoder) {
|
|
2682
|
-
var tmp0_desc = this.
|
|
2650
|
+
var tmp0_desc = this.t1j_1;
|
|
2683
2651
|
var tmp1_flag = true;
|
|
2684
2652
|
var tmp2_index = 0;
|
|
2685
2653
|
var tmp3_bitMask0 = 0;
|
|
@@ -2721,7 +2689,7 @@
|
|
|
2721
2689
|
return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2722
2690
|
};
|
|
2723
2691
|
protoOf($serializer_8).si = function () {
|
|
2724
|
-
return this.
|
|
2692
|
+
return this.t1j_1;
|
|
2725
2693
|
};
|
|
2726
2694
|
protoOf($serializer_8).bt = function () {
|
|
2727
2695
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2737,17 +2705,17 @@
|
|
|
2737
2705
|
}
|
|
2738
2706
|
function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
|
|
2739
2707
|
if (!(4 === (4 & seen0))) {
|
|
2740
|
-
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().
|
|
2708
|
+
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().t1j_1);
|
|
2741
2709
|
}
|
|
2742
2710
|
if (0 === (seen0 & 1))
|
|
2743
|
-
$this.
|
|
2711
|
+
$this.v1j_1 = null;
|
|
2744
2712
|
else
|
|
2745
|
-
$this.
|
|
2713
|
+
$this.v1j_1 = amount;
|
|
2746
2714
|
if (0 === (seen0 & 2))
|
|
2747
|
-
$this.
|
|
2715
|
+
$this.w1j_1 = null;
|
|
2748
2716
|
else
|
|
2749
|
-
$this.
|
|
2750
|
-
$this.
|
|
2717
|
+
$this.w1j_1 = text;
|
|
2718
|
+
$this.x1j_1 = unit;
|
|
2751
2719
|
return $this;
|
|
2752
2720
|
}
|
|
2753
2721
|
function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
|
|
@@ -2756,12 +2724,12 @@
|
|
|
2756
2724
|
function Serves() {
|
|
2757
2725
|
}
|
|
2758
2726
|
protoOf(Serves).toString = function () {
|
|
2759
|
-
return 'Serves(amount=' + toString(this.
|
|
2727
|
+
return 'Serves(amount=' + toString(this.v1j_1) + ', text=' + this.w1j_1 + ', unit=' + this.x1j_1 + ')';
|
|
2760
2728
|
};
|
|
2761
2729
|
protoOf(Serves).hashCode = function () {
|
|
2762
|
-
var result = this.
|
|
2763
|
-
result = imul(result, 31) + (this.
|
|
2764
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2730
|
+
var result = this.v1j_1 == null ? 0 : this.v1j_1.hashCode();
|
|
2731
|
+
result = imul(result, 31) + (this.w1j_1 == null ? 0 : getStringHashCode(this.w1j_1)) | 0;
|
|
2732
|
+
result = imul(result, 31) + getStringHashCode(this.x1j_1) | 0;
|
|
2765
2733
|
return result;
|
|
2766
2734
|
};
|
|
2767
2735
|
protoOf(Serves).equals = function (other) {
|
|
@@ -2769,11 +2737,11 @@
|
|
|
2769
2737
|
return true;
|
|
2770
2738
|
if (!(other instanceof Serves))
|
|
2771
2739
|
return false;
|
|
2772
|
-
if (!equals(this.
|
|
2740
|
+
if (!equals(this.v1j_1, other.v1j_1))
|
|
2773
2741
|
return false;
|
|
2774
|
-
if (!(this.
|
|
2742
|
+
if (!(this.w1j_1 == other.w1j_1))
|
|
2775
2743
|
return false;
|
|
2776
|
-
if (!(this.
|
|
2744
|
+
if (!(this.x1j_1 === other.x1j_1))
|
|
2777
2745
|
return false;
|
|
2778
2746
|
return true;
|
|
2779
2747
|
};
|
|
@@ -2789,27 +2757,27 @@
|
|
|
2789
2757
|
tmp0_serialDesc.zs('durationInMins', true);
|
|
2790
2758
|
tmp0_serialDesc.zs('qualifier', true);
|
|
2791
2759
|
tmp0_serialDesc.zs('text', true);
|
|
2792
|
-
this.
|
|
2760
|
+
this.y1j_1 = tmp0_serialDesc;
|
|
2793
2761
|
}
|
|
2794
|
-
protoOf($serializer_9).
|
|
2795
|
-
var tmp0_desc = this.
|
|
2762
|
+
protoOf($serializer_9).z1j = function (encoder, value) {
|
|
2763
|
+
var tmp0_desc = this.y1j_1;
|
|
2796
2764
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2797
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2798
|
-
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.
|
|
2765
|
+
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.a1k_1 == null)) {
|
|
2766
|
+
tmp1_output.in(tmp0_desc, 0, $serializer_getInstance_6(), value.a1k_1);
|
|
2799
2767
|
}
|
|
2800
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2801
|
-
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
2768
|
+
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.b1k_1 == null)) {
|
|
2769
|
+
tmp1_output.in(tmp0_desc, 1, StringSerializer_getInstance(), value.b1k_1);
|
|
2802
2770
|
}
|
|
2803
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2804
|
-
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2771
|
+
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.c1k_1 == null)) {
|
|
2772
|
+
tmp1_output.in(tmp0_desc, 2, StringSerializer_getInstance(), value.c1k_1);
|
|
2805
2773
|
}
|
|
2806
2774
|
tmp1_output.rl(tmp0_desc);
|
|
2807
2775
|
};
|
|
2808
2776
|
protoOf($serializer_9).ti = function (encoder, value) {
|
|
2809
|
-
return this.
|
|
2777
|
+
return this.z1j(encoder, value instanceof Timing ? value : THROW_CCE());
|
|
2810
2778
|
};
|
|
2811
2779
|
protoOf($serializer_9).ui = function (decoder) {
|
|
2812
|
-
var tmp0_desc = this.
|
|
2780
|
+
var tmp0_desc = this.y1j_1;
|
|
2813
2781
|
var tmp1_flag = true;
|
|
2814
2782
|
var tmp2_index = 0;
|
|
2815
2783
|
var tmp3_bitMask0 = 0;
|
|
@@ -2851,7 +2819,7 @@
|
|
|
2851
2819
|
return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2852
2820
|
};
|
|
2853
2821
|
protoOf($serializer_9).si = function () {
|
|
2854
|
-
return this.
|
|
2822
|
+
return this.y1j_1;
|
|
2855
2823
|
};
|
|
2856
2824
|
protoOf($serializer_9).bt = function () {
|
|
2857
2825
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2867,20 +2835,20 @@
|
|
|
2867
2835
|
}
|
|
2868
2836
|
function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
|
|
2869
2837
|
if (!(0 === (0 & seen0))) {
|
|
2870
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().
|
|
2838
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().y1j_1);
|
|
2871
2839
|
}
|
|
2872
2840
|
if (0 === (seen0 & 1))
|
|
2873
|
-
$this.
|
|
2841
|
+
$this.a1k_1 = null;
|
|
2874
2842
|
else
|
|
2875
|
-
$this.
|
|
2843
|
+
$this.a1k_1 = durationInMins;
|
|
2876
2844
|
if (0 === (seen0 & 2))
|
|
2877
|
-
$this.
|
|
2845
|
+
$this.b1k_1 = null;
|
|
2878
2846
|
else
|
|
2879
|
-
$this.
|
|
2847
|
+
$this.b1k_1 = qualifier;
|
|
2880
2848
|
if (0 === (seen0 & 4))
|
|
2881
|
-
$this.
|
|
2849
|
+
$this.c1k_1 = null;
|
|
2882
2850
|
else
|
|
2883
|
-
$this.
|
|
2851
|
+
$this.c1k_1 = text;
|
|
2884
2852
|
return $this;
|
|
2885
2853
|
}
|
|
2886
2854
|
function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
|
|
@@ -2890,17 +2858,17 @@
|
|
|
2890
2858
|
durationInMins = durationInMins === VOID ? null : durationInMins;
|
|
2891
2859
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
2892
2860
|
text = text === VOID ? null : text;
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2895
|
-
this.
|
|
2861
|
+
this.a1k_1 = durationInMins;
|
|
2862
|
+
this.b1k_1 = qualifier;
|
|
2863
|
+
this.c1k_1 = text;
|
|
2896
2864
|
}
|
|
2897
2865
|
protoOf(Timing).toString = function () {
|
|
2898
|
-
return 'Timing(durationInMins=' + toString(this.
|
|
2866
|
+
return 'Timing(durationInMins=' + toString(this.a1k_1) + ', qualifier=' + this.b1k_1 + ', text=' + this.c1k_1 + ')';
|
|
2899
2867
|
};
|
|
2900
2868
|
protoOf(Timing).hashCode = function () {
|
|
2901
|
-
var result = this.
|
|
2902
|
-
result = imul(result, 31) + (this.a1k_1 == null ? 0 : getStringHashCode(this.a1k_1)) | 0;
|
|
2869
|
+
var result = this.a1k_1 == null ? 0 : this.a1k_1.hashCode();
|
|
2903
2870
|
result = imul(result, 31) + (this.b1k_1 == null ? 0 : getStringHashCode(this.b1k_1)) | 0;
|
|
2871
|
+
result = imul(result, 31) + (this.c1k_1 == null ? 0 : getStringHashCode(this.c1k_1)) | 0;
|
|
2904
2872
|
return result;
|
|
2905
2873
|
};
|
|
2906
2874
|
protoOf(Timing).equals = function (other) {
|
|
@@ -2908,29 +2876,29 @@
|
|
|
2908
2876
|
return true;
|
|
2909
2877
|
if (!(other instanceof Timing))
|
|
2910
2878
|
return false;
|
|
2911
|
-
if (!equals(this.
|
|
2912
|
-
return false;
|
|
2913
|
-
if (!(this.a1k_1 == other.a1k_1))
|
|
2879
|
+
if (!equals(this.a1k_1, other.a1k_1))
|
|
2914
2880
|
return false;
|
|
2915
2881
|
if (!(this.b1k_1 == other.b1k_1))
|
|
2916
2882
|
return false;
|
|
2883
|
+
if (!(this.c1k_1 == other.c1k_1))
|
|
2884
|
+
return false;
|
|
2917
2885
|
return true;
|
|
2918
2886
|
};
|
|
2919
2887
|
function ParsedTemplate(elements) {
|
|
2920
|
-
this.
|
|
2888
|
+
this.k1g_1 = elements;
|
|
2921
2889
|
}
|
|
2922
2890
|
protoOf(ParsedTemplate).toString = function () {
|
|
2923
|
-
return 'ParsedTemplate(elements=' + toString_0(this.
|
|
2891
|
+
return 'ParsedTemplate(elements=' + toString_0(this.k1g_1) + ')';
|
|
2924
2892
|
};
|
|
2925
2893
|
protoOf(ParsedTemplate).hashCode = function () {
|
|
2926
|
-
return hashCode(this.
|
|
2894
|
+
return hashCode(this.k1g_1);
|
|
2927
2895
|
};
|
|
2928
2896
|
protoOf(ParsedTemplate).equals = function (other) {
|
|
2929
2897
|
if (this === other)
|
|
2930
2898
|
return true;
|
|
2931
2899
|
if (!(other instanceof ParsedTemplate))
|
|
2932
2900
|
return false;
|
|
2933
|
-
if (!equals(this.
|
|
2901
|
+
if (!equals(this.k1g_1, other.k1g_1))
|
|
2934
2902
|
return false;
|
|
2935
2903
|
return true;
|
|
2936
2904
|
};
|
|
@@ -2949,8 +2917,8 @@
|
|
|
2949
2917
|
var _iterator__ex2g4s = pattern.xa(template).q();
|
|
2950
2918
|
while (_iterator__ex2g4s.r()) {
|
|
2951
2919
|
var element = _iterator__ex2g4s.s();
|
|
2952
|
-
if (element.za().
|
|
2953
|
-
var textPart = substring(template, lastEnd, element.za().
|
|
2920
|
+
if (element.za().h1_1 > lastEnd) {
|
|
2921
|
+
var textPart = substring(template, lastEnd, element.za().h1_1);
|
|
2954
2922
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2955
2923
|
if (charSequenceLength(textPart) > 0) {
|
|
2956
2924
|
parts.u(new TemplateConst(textPart));
|
|
@@ -2958,7 +2926,7 @@
|
|
|
2958
2926
|
}
|
|
2959
2927
|
try {
|
|
2960
2928
|
var jsonObj = get_jsonObject(Default_getInstance().e12(element.g2()));
|
|
2961
|
-
if (jsonObj.k2().
|
|
2929
|
+
if (jsonObj.k2().b1('min')) {
|
|
2962
2930
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2963
2931
|
var this_0 = get_tolerantJson();
|
|
2964
2932
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -2990,7 +2958,7 @@
|
|
|
2990
2958
|
throw $p;
|
|
2991
2959
|
}
|
|
2992
2960
|
}
|
|
2993
|
-
lastEnd = element.za().
|
|
2961
|
+
lastEnd = element.za().i1_1 + 1 | 0;
|
|
2994
2962
|
}
|
|
2995
2963
|
if (lastEnd < template.length) {
|
|
2996
2964
|
var remaining = substring_0(template, lastEnd);
|
|
@@ -3024,12 +2992,12 @@
|
|
|
3024
2992
|
protoOf(TemplateConst).fd = function () {
|
|
3025
2993
|
return this.value;
|
|
3026
2994
|
};
|
|
3027
|
-
protoOf(TemplateConst).
|
|
2995
|
+
protoOf(TemplateConst).d1k = function (value) {
|
|
3028
2996
|
return new TemplateConst(value);
|
|
3029
2997
|
};
|
|
3030
2998
|
protoOf(TemplateConst).copy = function (value, $super) {
|
|
3031
2999
|
value = value === VOID ? this.value : value;
|
|
3032
|
-
return $super === VOID ? this.
|
|
3000
|
+
return $super === VOID ? this.d1k(value) : $super.d1k.call(this, value);
|
|
3033
3001
|
};
|
|
3034
3002
|
protoOf(TemplateConst).toString = function () {
|
|
3035
3003
|
return 'TemplateConst(value=' + this.value + ')';
|
|
@@ -3061,10 +3029,10 @@
|
|
|
3061
3029
|
tmp0_serialDesc.zs('scale', true);
|
|
3062
3030
|
tmp0_serialDesc.zs('ingredient', true);
|
|
3063
3031
|
tmp0_serialDesc.zs('usCust', true);
|
|
3064
|
-
this.
|
|
3032
|
+
this.e1k_1 = tmp0_serialDesc;
|
|
3065
3033
|
}
|
|
3066
|
-
protoOf($serializer_10).
|
|
3067
|
-
var tmp0_desc = this.
|
|
3034
|
+
protoOf($serializer_10).f1k = function (encoder, value) {
|
|
3035
|
+
var tmp0_desc = this.e1k_1;
|
|
3068
3036
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3069
3037
|
tmp1_output.bn(tmp0_desc, 0, value.min);
|
|
3070
3038
|
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.max == null)) {
|
|
@@ -3085,10 +3053,10 @@
|
|
|
3085
3053
|
tmp1_output.rl(tmp0_desc);
|
|
3086
3054
|
};
|
|
3087
3055
|
protoOf($serializer_10).ti = function (encoder, value) {
|
|
3088
|
-
return this.
|
|
3056
|
+
return this.f1k(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
|
|
3089
3057
|
};
|
|
3090
3058
|
protoOf($serializer_10).ui = function (decoder) {
|
|
3091
|
-
var tmp0_desc = this.
|
|
3059
|
+
var tmp0_desc = this.e1k_1;
|
|
3092
3060
|
var tmp1_flag = true;
|
|
3093
3061
|
var tmp2_index = 0;
|
|
3094
3062
|
var tmp3_bitMask0 = 0;
|
|
@@ -3151,7 +3119,7 @@
|
|
|
3151
3119
|
return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
3152
3120
|
};
|
|
3153
3121
|
protoOf($serializer_10).si = function () {
|
|
3154
|
-
return this.
|
|
3122
|
+
return this.e1k_1;
|
|
3155
3123
|
};
|
|
3156
3124
|
protoOf($serializer_10).bt = function () {
|
|
3157
3125
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3167,7 +3135,7 @@
|
|
|
3167
3135
|
}
|
|
3168
3136
|
function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
|
|
3169
3137
|
if (!(1 === (1 & seen0))) {
|
|
3170
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().
|
|
3138
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().e1k_1);
|
|
3171
3139
|
}
|
|
3172
3140
|
$this.min = min;
|
|
3173
3141
|
if (0 === (seen0 & 2))
|
|
@@ -3208,22 +3176,22 @@
|
|
|
3208
3176
|
this.ingredient = ingredient;
|
|
3209
3177
|
this.usCust = usCust;
|
|
3210
3178
|
}
|
|
3211
|
-
protoOf(QuantityPlaceholder).
|
|
3179
|
+
protoOf(QuantityPlaceholder).g1k = function () {
|
|
3212
3180
|
return this.min;
|
|
3213
3181
|
};
|
|
3214
|
-
protoOf(QuantityPlaceholder).
|
|
3182
|
+
protoOf(QuantityPlaceholder).h1k = function () {
|
|
3215
3183
|
return this.max;
|
|
3216
3184
|
};
|
|
3217
|
-
protoOf(QuantityPlaceholder).
|
|
3185
|
+
protoOf(QuantityPlaceholder).i1k = function () {
|
|
3218
3186
|
return this.unit;
|
|
3219
3187
|
};
|
|
3220
|
-
protoOf(QuantityPlaceholder).
|
|
3188
|
+
protoOf(QuantityPlaceholder).j1k = function () {
|
|
3221
3189
|
return this.scale;
|
|
3222
3190
|
};
|
|
3223
|
-
protoOf(QuantityPlaceholder).
|
|
3191
|
+
protoOf(QuantityPlaceholder).k1k = function () {
|
|
3224
3192
|
return this.ingredient;
|
|
3225
3193
|
};
|
|
3226
|
-
protoOf(QuantityPlaceholder).
|
|
3194
|
+
protoOf(QuantityPlaceholder).l1k = function () {
|
|
3227
3195
|
return this.usCust;
|
|
3228
3196
|
};
|
|
3229
3197
|
protoOf(QuantityPlaceholder).fd = function () {
|
|
@@ -3232,19 +3200,19 @@
|
|
|
3232
3200
|
protoOf(QuantityPlaceholder).gd = function () {
|
|
3233
3201
|
return this.max;
|
|
3234
3202
|
};
|
|
3235
|
-
protoOf(QuantityPlaceholder).
|
|
3203
|
+
protoOf(QuantityPlaceholder).m1k = function () {
|
|
3236
3204
|
return this.unit;
|
|
3237
3205
|
};
|
|
3238
|
-
protoOf(QuantityPlaceholder).
|
|
3206
|
+
protoOf(QuantityPlaceholder).n1k = function () {
|
|
3239
3207
|
return this.scale;
|
|
3240
3208
|
};
|
|
3241
|
-
protoOf(QuantityPlaceholder).
|
|
3209
|
+
protoOf(QuantityPlaceholder).o1k = function () {
|
|
3242
3210
|
return this.ingredient;
|
|
3243
3211
|
};
|
|
3244
|
-
protoOf(QuantityPlaceholder).
|
|
3212
|
+
protoOf(QuantityPlaceholder).p1k = function () {
|
|
3245
3213
|
return this.usCust;
|
|
3246
3214
|
};
|
|
3247
|
-
protoOf(QuantityPlaceholder).
|
|
3215
|
+
protoOf(QuantityPlaceholder).q1k = function (min, max, unit, scale, ingredient, usCust) {
|
|
3248
3216
|
return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
|
|
3249
3217
|
};
|
|
3250
3218
|
protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
|
|
@@ -3254,7 +3222,7 @@
|
|
|
3254
3222
|
scale = scale === VOID ? this.scale : scale;
|
|
3255
3223
|
ingredient = ingredient === VOID ? this.ingredient : ingredient;
|
|
3256
3224
|
usCust = usCust === VOID ? this.usCust : usCust;
|
|
3257
|
-
return $super === VOID ? this.
|
|
3225
|
+
return $super === VOID ? this.q1k(min, max, unit, scale, ingredient, usCust) : $super.q1k.call(this, min, max, unit, scale, ingredient, usCust);
|
|
3258
3226
|
};
|
|
3259
3227
|
protoOf(QuantityPlaceholder).toString = function () {
|
|
3260
3228
|
return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
|
|
@@ -3300,10 +3268,10 @@
|
|
|
3300
3268
|
tmp0_serialDesc.zs('temperatureFanC', true);
|
|
3301
3269
|
tmp0_serialDesc.zs('temperatureF', true);
|
|
3302
3270
|
tmp0_serialDesc.zs('gasMark', true);
|
|
3303
|
-
this.
|
|
3271
|
+
this.r1k_1 = tmp0_serialDesc;
|
|
3304
3272
|
}
|
|
3305
|
-
protoOf($serializer_11).
|
|
3306
|
-
var tmp0_desc = this.
|
|
3273
|
+
protoOf($serializer_11).s1k = function (encoder, value) {
|
|
3274
|
+
var tmp0_desc = this.r1k_1;
|
|
3307
3275
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3308
3276
|
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
|
|
3309
3277
|
tmp1_output.in(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
|
|
@@ -3320,10 +3288,10 @@
|
|
|
3320
3288
|
tmp1_output.rl(tmp0_desc);
|
|
3321
3289
|
};
|
|
3322
3290
|
protoOf($serializer_11).ti = function (encoder, value) {
|
|
3323
|
-
return this.
|
|
3291
|
+
return this.s1k(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
|
|
3324
3292
|
};
|
|
3325
3293
|
protoOf($serializer_11).ui = function (decoder) {
|
|
3326
|
-
var tmp0_desc = this.
|
|
3294
|
+
var tmp0_desc = this.r1k_1;
|
|
3327
3295
|
var tmp1_flag = true;
|
|
3328
3296
|
var tmp2_index = 0;
|
|
3329
3297
|
var tmp3_bitMask0 = 0;
|
|
@@ -3372,7 +3340,7 @@
|
|
|
3372
3340
|
return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3373
3341
|
};
|
|
3374
3342
|
protoOf($serializer_11).si = function () {
|
|
3375
|
-
return this.
|
|
3343
|
+
return this.r1k_1;
|
|
3376
3344
|
};
|
|
3377
3345
|
protoOf($serializer_11).bt = function () {
|
|
3378
3346
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3388,7 +3356,7 @@
|
|
|
3388
3356
|
}
|
|
3389
3357
|
function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
|
|
3390
3358
|
if (!(0 === (0 & seen0))) {
|
|
3391
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().
|
|
3359
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().r1k_1);
|
|
3392
3360
|
}
|
|
3393
3361
|
if (0 === (seen0 & 1))
|
|
3394
3362
|
$this.temperatureC = null;
|
|
@@ -3421,16 +3389,16 @@
|
|
|
3421
3389
|
this.temperatureF = temperatureF;
|
|
3422
3390
|
this.gasMark = gasMark;
|
|
3423
3391
|
}
|
|
3424
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3392
|
+
protoOf(OvenTemperaturePlaceholder).t1k = function () {
|
|
3425
3393
|
return this.temperatureC;
|
|
3426
3394
|
};
|
|
3427
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3395
|
+
protoOf(OvenTemperaturePlaceholder).u1k = function () {
|
|
3428
3396
|
return this.temperatureFanC;
|
|
3429
3397
|
};
|
|
3430
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3398
|
+
protoOf(OvenTemperaturePlaceholder).v1k = function () {
|
|
3431
3399
|
return this.temperatureF;
|
|
3432
3400
|
};
|
|
3433
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3401
|
+
protoOf(OvenTemperaturePlaceholder).w1k = function () {
|
|
3434
3402
|
return this.gasMark;
|
|
3435
3403
|
};
|
|
3436
3404
|
protoOf(OvenTemperaturePlaceholder).fd = function () {
|
|
@@ -3439,13 +3407,13 @@
|
|
|
3439
3407
|
protoOf(OvenTemperaturePlaceholder).gd = function () {
|
|
3440
3408
|
return this.temperatureFanC;
|
|
3441
3409
|
};
|
|
3442
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3410
|
+
protoOf(OvenTemperaturePlaceholder).m1k = function () {
|
|
3443
3411
|
return this.temperatureF;
|
|
3444
3412
|
};
|
|
3445
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3413
|
+
protoOf(OvenTemperaturePlaceholder).n1k = function () {
|
|
3446
3414
|
return this.gasMark;
|
|
3447
3415
|
};
|
|
3448
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3416
|
+
protoOf(OvenTemperaturePlaceholder).x1k = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
|
|
3449
3417
|
return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3450
3418
|
};
|
|
3451
3419
|
protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
|
|
@@ -3453,7 +3421,7 @@
|
|
|
3453
3421
|
temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
|
|
3454
3422
|
temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
|
|
3455
3423
|
gasMark = gasMark === VOID ? this.gasMark : gasMark;
|
|
3456
|
-
return $super === VOID ? this.
|
|
3424
|
+
return $super === VOID ? this.x1k(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.x1k.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3457
3425
|
};
|
|
3458
3426
|
protoOf(OvenTemperaturePlaceholder).toString = function () {
|
|
3459
3427
|
return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
|
|
@@ -3538,25 +3506,25 @@
|
|
|
3538
3506
|
Enum.call(this, name, ordinal);
|
|
3539
3507
|
}
|
|
3540
3508
|
function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
|
|
3541
|
-
this.
|
|
3542
|
-
this.
|
|
3543
|
-
this.
|
|
3544
|
-
this.
|
|
3545
|
-
this.
|
|
3546
|
-
this.
|
|
3547
|
-
this.
|
|
3509
|
+
this.b1g_1 = singular;
|
|
3510
|
+
this.c1g_1 = plural;
|
|
3511
|
+
this.d1g_1 = symbol;
|
|
3512
|
+
this.e1g_1 = symbolPlural;
|
|
3513
|
+
this.f1g_1 = unitType;
|
|
3514
|
+
this.g1g_1 = measuringSystems;
|
|
3515
|
+
this.h1g_1 = quantity;
|
|
3548
3516
|
}
|
|
3549
3517
|
protoOf(MeasurementUnit).toString = function () {
|
|
3550
|
-
return 'MeasurementUnit(singular=' + this.
|
|
3518
|
+
return 'MeasurementUnit(singular=' + this.b1g_1 + ', plural=' + this.c1g_1 + ', symbol=' + this.d1g_1 + ', symbolPlural=' + this.e1g_1 + ', unitType=' + toString(this.f1g_1) + ', measuringSystems=' + toString_0(this.g1g_1) + ', quantity=' + this.h1g_1 + ')';
|
|
3551
3519
|
};
|
|
3552
3520
|
protoOf(MeasurementUnit).hashCode = function () {
|
|
3553
|
-
var result = getStringHashCode(this.
|
|
3554
|
-
result = imul(result, 31) + getStringHashCode(this.b1g_1) | 0;
|
|
3521
|
+
var result = getStringHashCode(this.b1g_1);
|
|
3555
3522
|
result = imul(result, 31) + getStringHashCode(this.c1g_1) | 0;
|
|
3556
3523
|
result = imul(result, 31) + getStringHashCode(this.d1g_1) | 0;
|
|
3557
|
-
result = imul(result, 31) + (this.e1g_1
|
|
3558
|
-
result = imul(result, 31) +
|
|
3559
|
-
result = imul(result, 31) +
|
|
3524
|
+
result = imul(result, 31) + getStringHashCode(this.e1g_1) | 0;
|
|
3525
|
+
result = imul(result, 31) + (this.f1g_1 == null ? 0 : this.f1g_1.hashCode()) | 0;
|
|
3526
|
+
result = imul(result, 31) + hashCode(this.g1g_1) | 0;
|
|
3527
|
+
result = imul(result, 31) + getNumberHashCode(this.h1g_1) | 0;
|
|
3560
3528
|
return result;
|
|
3561
3529
|
};
|
|
3562
3530
|
protoOf(MeasurementUnit).equals = function (other) {
|
|
@@ -3564,20 +3532,20 @@
|
|
|
3564
3532
|
return true;
|
|
3565
3533
|
if (!(other instanceof MeasurementUnit))
|
|
3566
3534
|
return false;
|
|
3567
|
-
if (!(this.a1g_1 === other.a1g_1))
|
|
3568
|
-
return false;
|
|
3569
3535
|
if (!(this.b1g_1 === other.b1g_1))
|
|
3570
3536
|
return false;
|
|
3571
3537
|
if (!(this.c1g_1 === other.c1g_1))
|
|
3572
3538
|
return false;
|
|
3573
3539
|
if (!(this.d1g_1 === other.d1g_1))
|
|
3574
3540
|
return false;
|
|
3575
|
-
if (!
|
|
3541
|
+
if (!(this.e1g_1 === other.e1g_1))
|
|
3576
3542
|
return false;
|
|
3577
3543
|
if (!equals(this.f1g_1, other.f1g_1))
|
|
3578
3544
|
return false;
|
|
3579
3545
|
if (!equals(this.g1g_1, other.g1g_1))
|
|
3580
3546
|
return false;
|
|
3547
|
+
if (!equals(this.h1g_1, other.h1g_1))
|
|
3548
|
+
return false;
|
|
3581
3549
|
return true;
|
|
3582
3550
|
};
|
|
3583
3551
|
function Units() {
|
|
@@ -3589,20 +3557,20 @@
|
|
|
3589
3557
|
this.n1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3590
3558
|
this.o1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3591
3559
|
this.p1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 28.3495);
|
|
3592
|
-
this.q1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 16 * this.p1e_1.
|
|
3560
|
+
this.q1e_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 16 * this.p1e_1.h1g_1);
|
|
3593
3561
|
this.r1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3594
3562
|
this.s1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3595
3563
|
this.t1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3596
3564
|
this.u1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 5.0);
|
|
3597
3565
|
this.v1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 15.0);
|
|
3598
3566
|
this.w1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4.9289);
|
|
3599
|
-
this.x1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 3 * this.w1e_1.
|
|
3600
|
-
this.y1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf_0(Imperial_instance), 6 * this.w1e_1.
|
|
3601
|
-
this.z1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(USCustomary_instance), 48 * this.w1e_1.
|
|
3567
|
+
this.x1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 3 * this.w1e_1.h1g_1);
|
|
3568
|
+
this.y1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf_0(Imperial_instance), 6 * this.w1e_1.h1g_1);
|
|
3569
|
+
this.z1e_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(USCustomary_instance), 48 * this.w1e_1.h1g_1);
|
|
3602
3570
|
this.a1f_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 250.0);
|
|
3603
|
-
this.b1f_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.z1e_1.
|
|
3604
|
-
this.c1f_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.b1f_1.
|
|
3605
|
-
this.d1f_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4 * this.c1f_1.
|
|
3571
|
+
this.b1f_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.z1e_1.h1g_1);
|
|
3572
|
+
this.c1f_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.b1f_1.h1g_1);
|
|
3573
|
+
this.d1f_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4 * this.c1f_1.h1g_1);
|
|
3606
3574
|
this.e1f_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3607
3575
|
this.f1f_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3608
3576
|
this.g1f_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf_0(Imperial_instance), 25.4);
|
|
@@ -3615,7 +3583,7 @@
|
|
|
3615
3583
|
var _iterator__ex2g4s = tmp0.q();
|
|
3616
3584
|
while (_iterator__ex2g4s.r()) {
|
|
3617
3585
|
var element = _iterator__ex2g4s.s();
|
|
3618
|
-
if (element.
|
|
3586
|
+
if (element.g1g_1.b1(Metric_instance)) {
|
|
3619
3587
|
destination.u(element);
|
|
3620
3588
|
}
|
|
3621
3589
|
}
|
|
@@ -3627,7 +3595,7 @@
|
|
|
3627
3595
|
var _iterator__ex2g4s_0 = destination.q();
|
|
3628
3596
|
while (_iterator__ex2g4s_0.r()) {
|
|
3629
3597
|
var element_0 = _iterator__ex2g4s_0.s();
|
|
3630
|
-
var tmp$ret$7 = element_0.
|
|
3598
|
+
var tmp$ret$7 = element_0.d1g_1;
|
|
3631
3599
|
destination_0.n2(tmp$ret$7, element_0);
|
|
3632
3600
|
}
|
|
3633
3601
|
var tmp_1 = destination_0;
|
|
@@ -3638,10 +3606,10 @@
|
|
|
3638
3606
|
var _iterator__ex2g4s_1 = destination.q();
|
|
3639
3607
|
while (_iterator__ex2g4s_1.r()) {
|
|
3640
3608
|
var element_1 = _iterator__ex2g4s_1.s();
|
|
3641
|
-
var tmp$ret$10 = element_1.
|
|
3609
|
+
var tmp$ret$10 = element_1.e1g_1;
|
|
3642
3610
|
destination_1.n2(tmp$ret$10, element_1);
|
|
3643
3611
|
}
|
|
3644
|
-
var tmp_2 =
|
|
3612
|
+
var tmp_2 = plus(tmp_1, destination_1);
|
|
3645
3613
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3646
3614
|
var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
|
|
3647
3615
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3649,10 +3617,10 @@
|
|
|
3649
3617
|
var _iterator__ex2g4s_2 = destination.q();
|
|
3650
3618
|
while (_iterator__ex2g4s_2.r()) {
|
|
3651
3619
|
var element_2 = _iterator__ex2g4s_2.s();
|
|
3652
|
-
var tmp$ret$13 = element_2.
|
|
3620
|
+
var tmp$ret$13 = element_2.b1g_1;
|
|
3653
3621
|
destination_2.n2(tmp$ret$13, element_2);
|
|
3654
3622
|
}
|
|
3655
|
-
var tmp_3 =
|
|
3623
|
+
var tmp_3 = plus(tmp_2, destination_2);
|
|
3656
3624
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3657
3625
|
var capacity_2 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination, 10)), 16);
|
|
3658
3626
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3660,10 +3628,10 @@
|
|
|
3660
3628
|
var _iterator__ex2g4s_3 = destination.q();
|
|
3661
3629
|
while (_iterator__ex2g4s_3.r()) {
|
|
3662
3630
|
var element_3 = _iterator__ex2g4s_3.s();
|
|
3663
|
-
var tmp$ret$16 = element_3.
|
|
3631
|
+
var tmp$ret$16 = element_3.c1g_1;
|
|
3664
3632
|
destination_3.n2(tmp$ret$16, element_3);
|
|
3665
3633
|
}
|
|
3666
|
-
tmp_0.i1f_1 =
|
|
3634
|
+
tmp_0.i1f_1 = plus(tmp_3, destination_3);
|
|
3667
3635
|
var tmp_4 = this;
|
|
3668
3636
|
// Inline function 'kotlin.collections.filter' call
|
|
3669
3637
|
var tmp0_0 = this.h1f_1;
|
|
@@ -3672,7 +3640,7 @@
|
|
|
3672
3640
|
var _iterator__ex2g4s_4 = tmp0_0.q();
|
|
3673
3641
|
while (_iterator__ex2g4s_4.r()) {
|
|
3674
3642
|
var element_4 = _iterator__ex2g4s_4.s();
|
|
3675
|
-
if (element_4.
|
|
3643
|
+
if (element_4.g1g_1.b1(Imperial_instance)) {
|
|
3676
3644
|
destination_4.u(element_4);
|
|
3677
3645
|
}
|
|
3678
3646
|
}
|
|
@@ -3684,7 +3652,7 @@
|
|
|
3684
3652
|
var _iterator__ex2g4s_5 = destination_4.q();
|
|
3685
3653
|
while (_iterator__ex2g4s_5.r()) {
|
|
3686
3654
|
var element_5 = _iterator__ex2g4s_5.s();
|
|
3687
|
-
var tmp$ret$24 = element_5.
|
|
3655
|
+
var tmp$ret$24 = element_5.d1g_1;
|
|
3688
3656
|
destination_5.n2(tmp$ret$24, element_5);
|
|
3689
3657
|
}
|
|
3690
3658
|
var tmp_5 = destination_5;
|
|
@@ -3695,10 +3663,10 @@
|
|
|
3695
3663
|
var _iterator__ex2g4s_6 = destination_4.q();
|
|
3696
3664
|
while (_iterator__ex2g4s_6.r()) {
|
|
3697
3665
|
var element_6 = _iterator__ex2g4s_6.s();
|
|
3698
|
-
var tmp$ret$27 = element_6.
|
|
3666
|
+
var tmp$ret$27 = element_6.e1g_1;
|
|
3699
3667
|
destination_6.n2(tmp$ret$27, element_6);
|
|
3700
3668
|
}
|
|
3701
|
-
var tmp_6 =
|
|
3669
|
+
var tmp_6 = plus(tmp_5, destination_6);
|
|
3702
3670
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3703
3671
|
var capacity_5 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
|
|
3704
3672
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3706,10 +3674,10 @@
|
|
|
3706
3674
|
var _iterator__ex2g4s_7 = destination_4.q();
|
|
3707
3675
|
while (_iterator__ex2g4s_7.r()) {
|
|
3708
3676
|
var element_7 = _iterator__ex2g4s_7.s();
|
|
3709
|
-
var tmp$ret$30 = element_7.
|
|
3677
|
+
var tmp$ret$30 = element_7.b1g_1;
|
|
3710
3678
|
destination_7.n2(tmp$ret$30, element_7);
|
|
3711
3679
|
}
|
|
3712
|
-
var tmp_7 =
|
|
3680
|
+
var tmp_7 = plus(tmp_6, destination_7);
|
|
3713
3681
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3714
3682
|
var capacity_6 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_4, 10)), 16);
|
|
3715
3683
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3717,10 +3685,10 @@
|
|
|
3717
3685
|
var _iterator__ex2g4s_8 = destination_4.q();
|
|
3718
3686
|
while (_iterator__ex2g4s_8.r()) {
|
|
3719
3687
|
var element_8 = _iterator__ex2g4s_8.s();
|
|
3720
|
-
var tmp$ret$33 = element_8.
|
|
3688
|
+
var tmp$ret$33 = element_8.c1g_1;
|
|
3721
3689
|
destination_8.n2(tmp$ret$33, element_8);
|
|
3722
3690
|
}
|
|
3723
|
-
tmp_4.j1f_1 =
|
|
3691
|
+
tmp_4.j1f_1 = plus(tmp_7, destination_8);
|
|
3724
3692
|
var tmp_8 = this;
|
|
3725
3693
|
// Inline function 'kotlin.collections.filter' call
|
|
3726
3694
|
var tmp0_1 = this.h1f_1;
|
|
@@ -3729,7 +3697,7 @@
|
|
|
3729
3697
|
var _iterator__ex2g4s_9 = tmp0_1.q();
|
|
3730
3698
|
while (_iterator__ex2g4s_9.r()) {
|
|
3731
3699
|
var element_9 = _iterator__ex2g4s_9.s();
|
|
3732
|
-
if (element_9.
|
|
3700
|
+
if (element_9.g1g_1.b1(USCustomary_instance)) {
|
|
3733
3701
|
destination_9.u(element_9);
|
|
3734
3702
|
}
|
|
3735
3703
|
}
|
|
@@ -3741,7 +3709,7 @@
|
|
|
3741
3709
|
var _iterator__ex2g4s_10 = destination_9.q();
|
|
3742
3710
|
while (_iterator__ex2g4s_10.r()) {
|
|
3743
3711
|
var element_10 = _iterator__ex2g4s_10.s();
|
|
3744
|
-
var tmp$ret$41 = element_10.
|
|
3712
|
+
var tmp$ret$41 = element_10.d1g_1;
|
|
3745
3713
|
destination_10.n2(tmp$ret$41, element_10);
|
|
3746
3714
|
}
|
|
3747
3715
|
var tmp_9 = destination_10;
|
|
@@ -3752,10 +3720,10 @@
|
|
|
3752
3720
|
var _iterator__ex2g4s_11 = destination_9.q();
|
|
3753
3721
|
while (_iterator__ex2g4s_11.r()) {
|
|
3754
3722
|
var element_11 = _iterator__ex2g4s_11.s();
|
|
3755
|
-
var tmp$ret$44 = element_11.
|
|
3723
|
+
var tmp$ret$44 = element_11.e1g_1;
|
|
3756
3724
|
destination_11.n2(tmp$ret$44, element_11);
|
|
3757
3725
|
}
|
|
3758
|
-
var tmp_10 =
|
|
3726
|
+
var tmp_10 = plus(tmp_9, destination_11);
|
|
3759
3727
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3760
3728
|
var capacity_9 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
|
|
3761
3729
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3763,10 +3731,10 @@
|
|
|
3763
3731
|
var _iterator__ex2g4s_12 = destination_9.q();
|
|
3764
3732
|
while (_iterator__ex2g4s_12.r()) {
|
|
3765
3733
|
var element_12 = _iterator__ex2g4s_12.s();
|
|
3766
|
-
var tmp$ret$47 = element_12.
|
|
3734
|
+
var tmp$ret$47 = element_12.b1g_1;
|
|
3767
3735
|
destination_12.n2(tmp$ret$47, element_12);
|
|
3768
3736
|
}
|
|
3769
|
-
var tmp_11 =
|
|
3737
|
+
var tmp_11 = plus(tmp_10, destination_12);
|
|
3770
3738
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3771
3739
|
var capacity_10 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(destination_9, 10)), 16);
|
|
3772
3740
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -3774,10 +3742,10 @@
|
|
|
3774
3742
|
var _iterator__ex2g4s_13 = destination_9.q();
|
|
3775
3743
|
while (_iterator__ex2g4s_13.r()) {
|
|
3776
3744
|
var element_13 = _iterator__ex2g4s_13.s();
|
|
3777
|
-
var tmp$ret$50 = element_13.
|
|
3745
|
+
var tmp$ret$50 = element_13.c1g_1;
|
|
3778
3746
|
destination_13.n2(tmp$ret$50, element_13);
|
|
3779
3747
|
}
|
|
3780
|
-
tmp_8.k1f_1 =
|
|
3748
|
+
tmp_8.k1f_1 = plus(tmp_11, destination_13);
|
|
3781
3749
|
}
|
|
3782
3750
|
protoOf(Units).l1f = function (name) {
|
|
3783
3751
|
var tmp0_elvis_lhs = this.i1f_1.j2(name);
|
|
@@ -3817,24 +3785,36 @@
|
|
|
3817
3785
|
this.t1f_1 = listOf([to(0.0, Units_getInstance().n1e_1), to(1000.0, Units_getInstance().o1e_1), to(0.0, Units_getInstance().r1e_1), to(2.5, Units_getInstance().u1e_1), to(15.0, Units_getInstance().v1e_1), to(125.0, Units_getInstance().a1f_1), to(1000.0, Units_getInstance().t1e_1), to(0.0, Units_getInstance().e1f_1), to(10.0, Units_getInstance().f1f_1)]);
|
|
3818
3786
|
this.u1f_1 = listOf([to(0.0, Units_getInstance().n1e_1), to(1000.0, Units_getInstance().o1e_1), to(0.0, Units_getInstance().r1e_1), to(1000.0, Units_getInstance().t1e_1), to(0.0, Units_getInstance().e1f_1), to(10.0, Units_getInstance().f1f_1)]);
|
|
3819
3787
|
this.v1f_1 = listOf_0(to(0.0, Units_getInstance().m1e_1));
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3788
|
+
var tmp = this;
|
|
3789
|
+
// Inline function 'kotlin.collections.map' call
|
|
3790
|
+
var this_0 = listOf([3.0, 4.0, 6.0, 7.0, 9.0, 10.0]);
|
|
3791
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
3792
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3793
|
+
var _iterator__ex2g4s = this_0.q();
|
|
3794
|
+
while (_iterator__ex2g4s.r()) {
|
|
3795
|
+
var item = _iterator__ex2g4s.s();
|
|
3796
|
+
var tmp$ret$2 = to(item * Units_getInstance().w1e_1.h1g_1, Units_getInstance().x1e_1);
|
|
3797
|
+
destination.u(tmp$ret$2);
|
|
3798
|
+
}
|
|
3799
|
+
tmp.w1f_1 = destination;
|
|
3800
|
+
this.x1f_1 = plus_0(plus_0(listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.h1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1)]), this.w1f_1), listOf([to(12.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().z1e_1), to(768.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().d1f_1), to(0.0, Units_getInstance().g1f_1)]));
|
|
3801
|
+
this.y1f_1 = listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.h1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1), to(3.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().x1e_1), to(12.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().z1e_1), to(0.0, Units_getInstance().g1f_1)]);
|
|
3802
|
+
this.z1f_1 = listOf([to(0.0, Units_getInstance().p1e_1), to(16.0 * Units_getInstance().p1e_1.h1g_1, Units_getInstance().q1e_1), to(0.0, Units_getInstance().w1e_1), to(3.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().x1e_1), to(6.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().y1e_1), to(768.0 * Units_getInstance().w1e_1.h1g_1, Units_getInstance().d1f_1), to(0.0, Units_getInstance().g1f_1)]);
|
|
3823
3803
|
}
|
|
3824
|
-
protoOf(UnitConversions).
|
|
3804
|
+
protoOf(UnitConversions).y1k = function (amount) {
|
|
3825
3805
|
var tmp;
|
|
3826
3806
|
if (!(amount.b1e_1 == null)) {
|
|
3827
|
-
var tmp_0 = amount.z1d_1 * amount.b1e_1.
|
|
3807
|
+
var tmp_0 = amount.z1d_1 * amount.b1e_1.h1g_1;
|
|
3828
3808
|
var tmp0_safe_receiver = amount.a1e_1;
|
|
3829
3809
|
var tmp_1;
|
|
3830
3810
|
if (tmp0_safe_receiver == null) {
|
|
3831
3811
|
tmp_1 = null;
|
|
3832
3812
|
} else {
|
|
3833
3813
|
// Inline function 'kotlin.let' call
|
|
3834
|
-
tmp_1 = tmp0_safe_receiver * amount.b1e_1.
|
|
3814
|
+
tmp_1 = tmp0_safe_receiver * amount.b1e_1.h1g_1;
|
|
3835
3815
|
}
|
|
3836
3816
|
var tmp_2 = tmp_1;
|
|
3837
|
-
var tmp1_subject = amount.b1e_1.
|
|
3817
|
+
var tmp1_subject = amount.b1e_1.f1g_1;
|
|
3838
3818
|
var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.r2_1;
|
|
3839
3819
|
tmp = amount.e1e(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().e1f_1 : tmp0 === 1 ? Units_getInstance().r1e_1 : tmp0 === 0 ? Units_getInstance().n1e_1 : amount.b1e_1);
|
|
3840
3820
|
} else {
|
|
@@ -3842,7 +3822,7 @@
|
|
|
3842
3822
|
}
|
|
3843
3823
|
return tmp;
|
|
3844
3824
|
};
|
|
3845
|
-
protoOf(UnitConversions).
|
|
3825
|
+
protoOf(UnitConversions).a1g = function (amount, target, factor, density) {
|
|
3846
3826
|
var tmp = amount.z1d_1 * factor;
|
|
3847
3827
|
var tmp0_safe_receiver = amount.a1e_1;
|
|
3848
3828
|
var tmp_0;
|
|
@@ -3856,7 +3836,7 @@
|
|
|
3856
3836
|
if (scaledAmount.b1e_1 == null || (equals(target, Metric_instance) && factor === 1.0)) {
|
|
3857
3837
|
return scaledAmount;
|
|
3858
3838
|
}
|
|
3859
|
-
var smallestUnitAmount = this.
|
|
3839
|
+
var smallestUnitAmount = this.y1k(scaledAmount);
|
|
3860
3840
|
var tmp_1;
|
|
3861
3841
|
if (equals(target, Metric_instance)) {
|
|
3862
3842
|
tmp_1 = contains(this.s1f_1, amount.b1e_1) ? this.t1f_1 : this.u1f_1;
|
|
@@ -3865,18 +3845,18 @@
|
|
|
3865
3845
|
var tmp_3;
|
|
3866
3846
|
if (amount.c1e_1 === true) {
|
|
3867
3847
|
var tmp2_safe_receiver = amount.b1e_1;
|
|
3868
|
-
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
3848
|
+
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.f1g_1, UnitType_WEIGHT_getInstance());
|
|
3869
3849
|
} else {
|
|
3870
3850
|
tmp_3 = false;
|
|
3871
3851
|
}
|
|
3872
3852
|
if (tmp_3) {
|
|
3873
|
-
tmp_2 = this.
|
|
3853
|
+
tmp_2 = this.y1f_1;
|
|
3874
3854
|
} else {
|
|
3875
|
-
tmp_2 = this.
|
|
3855
|
+
tmp_2 = this.x1f_1;
|
|
3876
3856
|
}
|
|
3877
3857
|
tmp_1 = tmp_2;
|
|
3878
3858
|
} else if (equals(target, Imperial_instance)) {
|
|
3879
|
-
tmp_1 = this.
|
|
3859
|
+
tmp_1 = this.z1f_1;
|
|
3880
3860
|
} else if (equals(target, Butter_instance)) {
|
|
3881
3861
|
tmp_1 = this.v1f_1;
|
|
3882
3862
|
} else {
|
|
@@ -3891,7 +3871,7 @@
|
|
|
3891
3871
|
var tmp_6;
|
|
3892
3872
|
if (amount.c1e_1 === true && equals(target, USCustomary_instance) && !(density == null)) {
|
|
3893
3873
|
var tmp4_safe_receiver = amount.b1e_1;
|
|
3894
|
-
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
3874
|
+
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.f1g_1, UnitType_WEIGHT_getInstance());
|
|
3895
3875
|
} else {
|
|
3896
3876
|
tmp_6 = false;
|
|
3897
3877
|
}
|
|
@@ -3919,7 +3899,7 @@
|
|
|
3919
3899
|
while (_iterator__ex2g4s.r()) {
|
|
3920
3900
|
var element = _iterator__ex2g4s.s();
|
|
3921
3901
|
var tmp0_safe_receiver_0 = amountToConvert.b1e_1;
|
|
3922
|
-
if (equals(element.ed_1.
|
|
3902
|
+
if (equals(element.ed_1.f1g_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.f1g_1)) {
|
|
3923
3903
|
destination.u(element);
|
|
3924
3904
|
}
|
|
3925
3905
|
}
|
|
@@ -3943,14 +3923,14 @@
|
|
|
3943
3923
|
tmp_9 = null;
|
|
3944
3924
|
} else {
|
|
3945
3925
|
// Inline function 'kotlin.let' call
|
|
3946
|
-
var tmp_10 = amountToConvert.z1d_1 / mostRelevantUnit.
|
|
3926
|
+
var tmp_10 = amountToConvert.z1d_1 / mostRelevantUnit.h1g_1;
|
|
3947
3927
|
var tmp0_safe_receiver_1 = amountToConvert.a1e_1;
|
|
3948
3928
|
var tmp_11;
|
|
3949
3929
|
if (tmp0_safe_receiver_1 == null) {
|
|
3950
3930
|
tmp_11 = null;
|
|
3951
3931
|
} else {
|
|
3952
3932
|
// Inline function 'kotlin.let' call
|
|
3953
|
-
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.
|
|
3933
|
+
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.h1g_1;
|
|
3954
3934
|
}
|
|
3955
3935
|
tmp_9 = new Amount(tmp_10, tmp_11, mostRelevantUnit);
|
|
3956
3936
|
}
|
|
@@ -4015,7 +3995,7 @@
|
|
|
4015
3995
|
function parseTemplate_0(templateString) {
|
|
4016
3996
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
4017
3997
|
var parsedTemplate = parseTemplate(templateString);
|
|
4018
|
-
return parsedTemplate.
|
|
3998
|
+
return parsedTemplate.k1g_1;
|
|
4019
3999
|
}
|
|
4020
4000
|
function renderTemplate(templateElements, session, unit) {
|
|
4021
4001
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
@@ -4044,7 +4024,7 @@
|
|
|
4044
4024
|
}
|
|
4045
4025
|
var measuringSystem = tmp;
|
|
4046
4026
|
var template = new ParsedTemplate(templateElements);
|
|
4047
|
-
return session.
|
|
4027
|
+
return session.j1g(template, 1.0, measuringSystem);
|
|
4048
4028
|
}
|
|
4049
4029
|
function createTemplateSession(rawDensityData) {
|
|
4050
4030
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|