@guardian/feast-multiplatform-library 17.1.5 → 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 +705 -692
- 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 +92 -92
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +103 -103
- 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.$_$.
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.db;
|
|
21
21
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.d4;
|
|
22
22
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
23
23
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.w1;
|
|
24
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
25
|
-
var indexOfAny = kotlin_kotlin.$_$.
|
|
26
|
-
var take = kotlin_kotlin.$_$.
|
|
27
|
-
var drop = kotlin_kotlin.$_$.
|
|
28
|
-
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;
|
|
29
29
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.d2;
|
|
30
30
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.a2;
|
|
31
31
|
var Companion_instance = kotlin_kotlin.$_$.p;
|
|
32
32
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.c2;
|
|
33
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
34
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
35
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
33
|
+
var charSequenceLength = kotlin_kotlin.$_$.x6;
|
|
34
|
+
var isBlank = kotlin_kotlin.$_$.x8;
|
|
35
|
+
var startsWith = kotlin_kotlin.$_$.d9;
|
|
36
36
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
37
37
|
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
38
38
|
var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
39
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.v;
|
|
40
|
-
var lazy = kotlin_kotlin.$_$.
|
|
41
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
40
|
+
var lazy = kotlin_kotlin.$_$.bb;
|
|
41
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.h7;
|
|
42
42
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.ja;
|
|
44
44
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
|
|
45
45
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
|
|
46
46
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
47
47
|
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.y1;
|
|
48
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
51
|
-
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;
|
|
52
52
|
var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
|
|
53
53
|
var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
54
54
|
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
55
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
56
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
57
|
-
var createKType = kotlin_kotlin.$_$.
|
|
55
|
+
var getKClass = kotlin_kotlin.$_$.n8;
|
|
56
|
+
var arrayOf = kotlin_kotlin.$_$.ua;
|
|
57
|
+
var createKType = kotlin_kotlin.$_$.l8;
|
|
58
58
|
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k2;
|
|
59
59
|
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.d2;
|
|
60
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
60
|
+
var isInterface = kotlin_kotlin.$_$.t7;
|
|
61
61
|
var get_jsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
|
|
62
62
|
var get_int = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
|
|
63
63
|
var get_float = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.d;
|
|
64
64
|
var mapCapacity = kotlin_kotlin.$_$.f5;
|
|
65
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
65
|
+
var coerceAtLeast = kotlin_kotlin.$_$.g8;
|
|
66
66
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
67
|
-
var to = kotlin_kotlin.$_$.
|
|
67
|
+
var to = kotlin_kotlin.$_$.hb;
|
|
68
68
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
69
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
70
|
-
var IndexOutOfBoundsException = kotlin_kotlin.$_$.
|
|
71
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
72
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
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
73
|
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
|
|
74
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
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;
|
|
@@ -409,7 +410,7 @@
|
|
|
409
410
|
var tmp_7;
|
|
410
411
|
if (equals(unit, Units_getInstance().y1e_1)) {
|
|
411
412
|
tmp_7 = null;
|
|
412
|
-
} else if (equals(unit.
|
|
413
|
+
} else if (equals(unit.f1g_1, UnitType_VOLUME_getInstance())) {
|
|
413
414
|
tmp_7 = usCustomaryPart;
|
|
414
415
|
} else {
|
|
415
416
|
tmp_7 = this.l1e(element, factor, Imperial_instance);
|
|
@@ -440,22 +441,22 @@
|
|
|
440
441
|
}
|
|
441
442
|
return tmp;
|
|
442
443
|
};
|
|
443
|
-
protoOf(TemplateSession).
|
|
444
|
+
protoOf(TemplateSession).j1g = function (template, factor, measuringSystem) {
|
|
444
445
|
// Inline function 'kotlin.collections.map' call
|
|
445
|
-
var this_0 = template.
|
|
446
|
+
var this_0 = template.k1g_1;
|
|
446
447
|
// Inline function 'kotlin.collections.mapTo' call
|
|
447
448
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
448
449
|
var _iterator__ex2g4s = this_0.q();
|
|
449
450
|
while (_iterator__ex2g4s.r()) {
|
|
450
451
|
var item = _iterator__ex2g4s.s();
|
|
451
|
-
var tmp$ret$2 = this.
|
|
452
|
+
var tmp$ret$2 = this.i1g(item, factor, measuringSystem);
|
|
452
453
|
destination.u(tmp$ret$2);
|
|
453
454
|
}
|
|
454
455
|
var renderedParts = destination;
|
|
455
456
|
return FormatUtils_getInstance().i1e(joinToString(renderedParts, ''));
|
|
456
457
|
};
|
|
457
458
|
protoOf(TemplateSession).scaleAndConvertUnitRecipe = function (recipe, factor, measuringSystem) {
|
|
458
|
-
var tmp0_safe_receiver = recipe.
|
|
459
|
+
var tmp0_safe_receiver = recipe.x1g_1;
|
|
459
460
|
var tmp;
|
|
460
461
|
if (tmp0_safe_receiver == null) {
|
|
461
462
|
tmp = null;
|
|
@@ -466,7 +467,7 @@
|
|
|
466
467
|
var _iterator__ex2g4s = tmp0_safe_receiver.q();
|
|
467
468
|
while (_iterator__ex2g4s.r()) {
|
|
468
469
|
var item = _iterator__ex2g4s.s();
|
|
469
|
-
var tmp0_safe_receiver_0 = item.
|
|
470
|
+
var tmp0_safe_receiver_0 = item.i1h_1;
|
|
470
471
|
var tmp_0;
|
|
471
472
|
if (tmp0_safe_receiver_0 == null) {
|
|
472
473
|
tmp_0 = null;
|
|
@@ -477,28 +478,28 @@
|
|
|
477
478
|
var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.q();
|
|
478
479
|
while (_iterator__ex2g4s_0.r()) {
|
|
479
480
|
var item_0 = _iterator__ex2g4s_0.s();
|
|
480
|
-
var tmp0_safe_receiver_1 = item_0.
|
|
481
|
+
var tmp0_safe_receiver_1 = item_0.q1h_1;
|
|
481
482
|
var tmp_1;
|
|
482
483
|
if (tmp0_safe_receiver_1 == null) {
|
|
483
484
|
tmp_1 = null;
|
|
484
485
|
} else {
|
|
485
486
|
// Inline function 'kotlin.let' call
|
|
486
|
-
tmp_1 = wrapWithStrongTag(this.
|
|
487
|
+
tmp_1 = wrapWithStrongTag(this.j1g(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
|
|
487
488
|
}
|
|
488
489
|
var tmp1_elvis_lhs = tmp_1;
|
|
489
|
-
var scaledText = tmp1_elvis_lhs == null ? item_0.
|
|
490
|
-
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);
|
|
491
492
|
destination_0.u(tmp$ret$5);
|
|
492
493
|
}
|
|
493
494
|
tmp_0 = destination_0;
|
|
494
495
|
}
|
|
495
|
-
var tmp$ret$2 = new IngredientsList(tmp_0, item.
|
|
496
|
+
var tmp$ret$2 = new IngredientsList(tmp_0, item.j1h_1);
|
|
496
497
|
destination.u(tmp$ret$2);
|
|
497
498
|
}
|
|
498
499
|
tmp = destination;
|
|
499
500
|
}
|
|
500
501
|
var scaledIngredients = tmp;
|
|
501
|
-
var tmp1_safe_receiver = recipe.
|
|
502
|
+
var tmp1_safe_receiver = recipe.y1g_1;
|
|
502
503
|
var tmp_2;
|
|
503
504
|
if (tmp1_safe_receiver == null) {
|
|
504
505
|
tmp_2 = null;
|
|
@@ -509,22 +510,22 @@
|
|
|
509
510
|
var _iterator__ex2g4s_1 = tmp1_safe_receiver.q();
|
|
510
511
|
while (_iterator__ex2g4s_1.r()) {
|
|
511
512
|
var item_1 = _iterator__ex2g4s_1.s();
|
|
512
|
-
var tmp0_safe_receiver_2 = item_1.
|
|
513
|
+
var tmp0_safe_receiver_2 = item_1.v1h_1;
|
|
513
514
|
var tmp_3;
|
|
514
515
|
if (tmp0_safe_receiver_2 == null) {
|
|
515
516
|
tmp_3 = null;
|
|
516
517
|
} else {
|
|
517
518
|
// Inline function 'kotlin.let' call
|
|
518
|
-
tmp_3 = this.
|
|
519
|
+
tmp_3 = this.j1g(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
|
|
519
520
|
}
|
|
520
521
|
var description = tmp_3;
|
|
521
|
-
var tmp$ret$10 = item_1.
|
|
522
|
+
var tmp$ret$10 = item_1.y1h(description == null ? item_1.u1h_1 : description);
|
|
522
523
|
destination_1.u(tmp$ret$10);
|
|
523
524
|
}
|
|
524
525
|
tmp_2 = destination_1;
|
|
525
526
|
}
|
|
526
527
|
var scaledInstructions = tmp_2;
|
|
527
|
-
return recipe.
|
|
528
|
+
return recipe.z1h(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
|
|
528
529
|
};
|
|
529
530
|
function wrapWithStrongTag(value) {
|
|
530
531
|
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
@@ -599,7 +600,7 @@
|
|
|
599
600
|
// Inline function 'kotlin.arrayOf' call
|
|
600
601
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
601
602
|
// Inline function 'kotlin.js.asDynamic' call
|
|
602
|
-
tmp.
|
|
603
|
+
tmp.a1i_1 = [null, tmp_1, lazy(tmp_2, TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0)];
|
|
603
604
|
}
|
|
604
605
|
var Companion_instance_0;
|
|
605
606
|
function Companion_getInstance() {
|
|
@@ -613,22 +614,22 @@
|
|
|
613
614
|
tmp0_serialDesc.zs('prepared_at', false);
|
|
614
615
|
tmp0_serialDesc.zs('key', false);
|
|
615
616
|
tmp0_serialDesc.zs('values', false);
|
|
616
|
-
this.
|
|
617
|
+
this.b1i_1 = tmp0_serialDesc;
|
|
617
618
|
}
|
|
618
|
-
protoOf($serializer).
|
|
619
|
-
var tmp0_desc = this.
|
|
619
|
+
protoOf($serializer).c1i = function (encoder, value) {
|
|
620
|
+
var tmp0_desc = this.b1i_1;
|
|
620
621
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
621
|
-
var tmp2_cached = Companion_getInstance().
|
|
622
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
623
|
-
tmp1_output.gn(tmp0_desc, 1, tmp2_cached[1].g2(), value.
|
|
624
|
-
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);
|
|
625
626
|
tmp1_output.rl(tmp0_desc);
|
|
626
627
|
};
|
|
627
628
|
protoOf($serializer).ti = function (encoder, value) {
|
|
628
|
-
return this.
|
|
629
|
+
return this.c1i(encoder, value instanceof TableSchema ? value : THROW_CCE());
|
|
629
630
|
};
|
|
630
631
|
protoOf($serializer).ui = function (decoder) {
|
|
631
|
-
var tmp0_desc = this.
|
|
632
|
+
var tmp0_desc = this.b1i_1;
|
|
632
633
|
var tmp1_flag = true;
|
|
633
634
|
var tmp2_index = 0;
|
|
634
635
|
var tmp3_bitMask0 = 0;
|
|
@@ -636,7 +637,7 @@
|
|
|
636
637
|
var tmp5_local1 = null;
|
|
637
638
|
var tmp6_local2 = null;
|
|
638
639
|
var tmp7_input = decoder.ql(tmp0_desc);
|
|
639
|
-
var tmp8_cached = Companion_getInstance().
|
|
640
|
+
var tmp8_cached = Companion_getInstance().a1i_1;
|
|
640
641
|
if (tmp7_input.gm()) {
|
|
641
642
|
tmp4_local0 = tmp7_input.am(tmp0_desc, 0);
|
|
642
643
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -671,10 +672,10 @@
|
|
|
671
672
|
return TableSchema_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
672
673
|
};
|
|
673
674
|
protoOf($serializer).si = function () {
|
|
674
|
-
return this.
|
|
675
|
+
return this.b1i_1;
|
|
675
676
|
};
|
|
676
677
|
protoOf($serializer).bt = function () {
|
|
677
|
-
var tmp0_cached = Companion_getInstance().
|
|
678
|
+
var tmp0_cached = Companion_getInstance().a1i_1;
|
|
678
679
|
// Inline function 'kotlin.arrayOf' call
|
|
679
680
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
680
681
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -688,11 +689,11 @@
|
|
|
688
689
|
}
|
|
689
690
|
function TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, $this) {
|
|
690
691
|
if (!(7 === (7 & seen0))) {
|
|
691
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
692
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().b1i_1);
|
|
692
693
|
}
|
|
693
|
-
$this.
|
|
694
|
-
$this.
|
|
695
|
-
$this.
|
|
694
|
+
$this.d1i_1 = preparedAt;
|
|
695
|
+
$this.e1i_1 = key;
|
|
696
|
+
$this.f1i_1 = values;
|
|
696
697
|
return $this;
|
|
697
698
|
}
|
|
698
699
|
function TableSchema_init_$Create$(seen0, preparedAt, key, values, serializationConstructorMarker) {
|
|
@@ -700,17 +701,17 @@
|
|
|
700
701
|
}
|
|
701
702
|
function TableSchema(preparedAt, key, values) {
|
|
702
703
|
Companion_getInstance();
|
|
703
|
-
this.
|
|
704
|
-
this.
|
|
705
|
-
this.
|
|
704
|
+
this.d1i_1 = preparedAt;
|
|
705
|
+
this.e1i_1 = key;
|
|
706
|
+
this.f1i_1 = values;
|
|
706
707
|
}
|
|
707
708
|
protoOf(TableSchema).toString = function () {
|
|
708
|
-
return 'TableSchema(preparedAt=' + this.
|
|
709
|
+
return 'TableSchema(preparedAt=' + this.d1i_1 + ', key=' + toString_0(this.e1i_1) + ', values=' + toString_0(this.f1i_1) + ')';
|
|
709
710
|
};
|
|
710
711
|
protoOf(TableSchema).hashCode = function () {
|
|
711
|
-
var result = getStringHashCode(this.
|
|
712
|
-
result = imul(result, 31) + hashCode(this.d1i_1) | 0;
|
|
712
|
+
var result = getStringHashCode(this.d1i_1);
|
|
713
713
|
result = imul(result, 31) + hashCode(this.e1i_1) | 0;
|
|
714
|
+
result = imul(result, 31) + hashCode(this.f1i_1) | 0;
|
|
714
715
|
return result;
|
|
715
716
|
};
|
|
716
717
|
protoOf(TableSchema).equals = function (other) {
|
|
@@ -718,12 +719,12 @@
|
|
|
718
719
|
return true;
|
|
719
720
|
if (!(other instanceof TableSchema))
|
|
720
721
|
return false;
|
|
721
|
-
if (!(this.
|
|
722
|
-
return false;
|
|
723
|
-
if (!equals(this.d1i_1, other.d1i_1))
|
|
722
|
+
if (!(this.d1i_1 === other.d1i_1))
|
|
724
723
|
return false;
|
|
725
724
|
if (!equals(this.e1i_1, other.e1i_1))
|
|
726
725
|
return false;
|
|
726
|
+
if (!equals(this.f1i_1, other.f1i_1))
|
|
727
|
+
return false;
|
|
727
728
|
return true;
|
|
728
729
|
};
|
|
729
730
|
function Companion_0() {
|
|
@@ -739,22 +740,22 @@
|
|
|
739
740
|
tmp0_serialDesc.zs('name', false);
|
|
740
741
|
tmp0_serialDesc.zs('normalised_name', false);
|
|
741
742
|
tmp0_serialDesc.zs('density', false);
|
|
742
|
-
this.
|
|
743
|
+
this.g1i_1 = tmp0_serialDesc;
|
|
743
744
|
}
|
|
744
|
-
protoOf($serializer_0).
|
|
745
|
-
var tmp0_desc = this.
|
|
745
|
+
protoOf($serializer_0).h1i = function (encoder, value) {
|
|
746
|
+
var tmp0_desc = this.g1i_1;
|
|
746
747
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
747
|
-
tmp1_output.zm(tmp0_desc, 0, value.
|
|
748
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
749
|
-
tmp1_output.en(tmp0_desc, 2, value.
|
|
750
|
-
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);
|
|
751
752
|
tmp1_output.rl(tmp0_desc);
|
|
752
753
|
};
|
|
753
754
|
protoOf($serializer_0).ti = function (encoder, value) {
|
|
754
|
-
return this.
|
|
755
|
+
return this.h1i(encoder, value instanceof Ingredient ? value : THROW_CCE());
|
|
755
756
|
};
|
|
756
757
|
protoOf($serializer_0).ui = function (decoder) {
|
|
757
|
-
var tmp0_desc = this.
|
|
758
|
+
var tmp0_desc = this.g1i_1;
|
|
758
759
|
var tmp1_flag = true;
|
|
759
760
|
var tmp2_index = 0;
|
|
760
761
|
var tmp3_bitMask0 = 0;
|
|
@@ -803,7 +804,7 @@
|
|
|
803
804
|
return Ingredient_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
804
805
|
};
|
|
805
806
|
protoOf($serializer_0).si = function () {
|
|
806
|
-
return this.
|
|
807
|
+
return this.g1i_1;
|
|
807
808
|
};
|
|
808
809
|
protoOf($serializer_0).bt = function () {
|
|
809
810
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -819,31 +820,31 @@
|
|
|
819
820
|
}
|
|
820
821
|
function Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, $this) {
|
|
821
822
|
if (!(15 === (15 & seen0))) {
|
|
822
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().
|
|
823
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().g1i_1);
|
|
823
824
|
}
|
|
824
|
-
$this.
|
|
825
|
-
$this.
|
|
826
|
-
$this.
|
|
827
|
-
$this.
|
|
825
|
+
$this.i1i_1 = id;
|
|
826
|
+
$this.j1i_1 = name;
|
|
827
|
+
$this.k1i_1 = normalised_name;
|
|
828
|
+
$this.l1i_1 = density;
|
|
828
829
|
return $this;
|
|
829
830
|
}
|
|
830
831
|
function Ingredient_init_$Create$(seen0, id, name, normalised_name, density, serializationConstructorMarker) {
|
|
831
832
|
return Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, objectCreate(protoOf(Ingredient)));
|
|
832
833
|
}
|
|
833
834
|
function Ingredient(id, name, normalised_name, density) {
|
|
834
|
-
this.
|
|
835
|
-
this.
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
835
|
+
this.i1i_1 = id;
|
|
836
|
+
this.j1i_1 = name;
|
|
837
|
+
this.k1i_1 = normalised_name;
|
|
838
|
+
this.l1i_1 = density;
|
|
838
839
|
}
|
|
839
840
|
protoOf(Ingredient).toString = function () {
|
|
840
|
-
return 'Ingredient(id=' + this.
|
|
841
|
+
return 'Ingredient(id=' + this.i1i_1 + ', name=' + this.j1i_1 + ', normalised_name=' + this.k1i_1 + ', density=' + this.l1i_1 + ')';
|
|
841
842
|
};
|
|
842
843
|
protoOf(Ingredient).hashCode = function () {
|
|
843
|
-
var result = this.
|
|
844
|
-
result = imul(result, 31) + getStringHashCode(this.i1i_1) | 0;
|
|
844
|
+
var result = this.i1i_1;
|
|
845
845
|
result = imul(result, 31) + getStringHashCode(this.j1i_1) | 0;
|
|
846
|
-
result = imul(result, 31) +
|
|
846
|
+
result = imul(result, 31) + getStringHashCode(this.k1i_1) | 0;
|
|
847
|
+
result = imul(result, 31) + getNumberHashCode(this.l1i_1) | 0;
|
|
847
848
|
return result;
|
|
848
849
|
};
|
|
849
850
|
protoOf(Ingredient).equals = function (other) {
|
|
@@ -851,13 +852,13 @@
|
|
|
851
852
|
return true;
|
|
852
853
|
if (!(other instanceof Ingredient))
|
|
853
854
|
return false;
|
|
854
|
-
if (!(this.h1i_1 === other.h1i_1))
|
|
855
|
-
return false;
|
|
856
855
|
if (!(this.i1i_1 === other.i1i_1))
|
|
857
856
|
return false;
|
|
858
857
|
if (!(this.j1i_1 === other.j1i_1))
|
|
859
858
|
return false;
|
|
860
|
-
if (!
|
|
859
|
+
if (!(this.k1i_1 === other.k1i_1))
|
|
860
|
+
return false;
|
|
861
|
+
if (!equals(this.l1i_1, other.l1i_1))
|
|
861
862
|
return false;
|
|
862
863
|
return true;
|
|
863
864
|
};
|
|
@@ -873,7 +874,7 @@
|
|
|
873
874
|
tmp = null;
|
|
874
875
|
} else {
|
|
875
876
|
// Inline function 'kotlin.let' call
|
|
876
|
-
return tmp0_safe_receiver.
|
|
877
|
+
return tmp0_safe_receiver.l1i_1;
|
|
877
878
|
}
|
|
878
879
|
return tmp;
|
|
879
880
|
};
|
|
@@ -891,13 +892,13 @@
|
|
|
891
892
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
892
893
|
var data = this_0.c12(tmp$ret$1, raw);
|
|
893
894
|
// Inline function 'kotlin.collections.map' call
|
|
894
|
-
var this_3 = data.
|
|
895
|
+
var this_3 = data.f1i_1;
|
|
895
896
|
// Inline function 'kotlin.collections.mapTo' call
|
|
896
897
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
897
898
|
var _iterator__ex2g4s = this_3.q();
|
|
898
899
|
while (_iterator__ex2g4s.r()) {
|
|
899
900
|
var item = _iterator__ex2g4s.s();
|
|
900
|
-
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))));
|
|
901
902
|
destination.u(tmp$ret$5);
|
|
902
903
|
}
|
|
903
904
|
var ingredients = destination;
|
|
@@ -909,7 +910,7 @@
|
|
|
909
910
|
while (_iterator__ex2g4s_0.r()) {
|
|
910
911
|
var element = _iterator__ex2g4s_0.s();
|
|
911
912
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
912
|
-
var pair = to(element.
|
|
913
|
+
var pair = to(element.k1i_1, element);
|
|
913
914
|
destination_0.n2(pair.dd_1, pair.ed_1);
|
|
914
915
|
}
|
|
915
916
|
var normalised_map = destination_0;
|
|
@@ -921,11 +922,11 @@
|
|
|
921
922
|
while (_iterator__ex2g4s_1.r()) {
|
|
922
923
|
var element_0 = _iterator__ex2g4s_1.s();
|
|
923
924
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
924
|
-
var pair_0 = to(element_0.
|
|
925
|
+
var pair_0 = to(element_0.j1i_1, element_0);
|
|
925
926
|
destination_1.n2(pair_0.dd_1, pair_0.ed_1);
|
|
926
927
|
}
|
|
927
928
|
var name_map = destination_1;
|
|
928
|
-
var table = new DensityTable(data.
|
|
929
|
+
var table = new DensityTable(data.d1i_1, normalised_map, name_map);
|
|
929
930
|
// Inline function 'kotlin.Companion.success' call
|
|
930
931
|
return _Result___init__impl__xyqfz8(table);
|
|
931
932
|
} catch ($p) {
|
|
@@ -1033,7 +1034,7 @@
|
|
|
1033
1034
|
// Inline function 'kotlin.arrayOf' call
|
|
1034
1035
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1035
1036
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1036
|
-
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];
|
|
1037
1038
|
}
|
|
1038
1039
|
var Companion_instance_2;
|
|
1039
1040
|
function Companion_getInstance_1() {
|
|
@@ -1067,86 +1068,86 @@
|
|
|
1067
1068
|
tmp0_serialDesc.zs('title', true);
|
|
1068
1069
|
tmp0_serialDesc.zs('utensilsAndApplianceIds', true);
|
|
1069
1070
|
tmp0_serialDesc.zs('webPublicationDate', true);
|
|
1070
|
-
this.
|
|
1071
|
+
this.n1i_1 = tmp0_serialDesc;
|
|
1071
1072
|
}
|
|
1072
|
-
protoOf($serializer_1).
|
|
1073
|
-
var tmp0_desc = this.
|
|
1073
|
+
protoOf($serializer_1).o1i = function (encoder, value) {
|
|
1074
|
+
var tmp0_desc = this.n1i_1;
|
|
1074
1075
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1075
|
-
var tmp2_cached = Companion_getInstance_1().
|
|
1076
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1077
|
-
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);
|
|
1078
1079
|
}
|
|
1079
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
1080
|
-
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);
|
|
1081
1082
|
}
|
|
1082
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
1083
|
-
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);
|
|
1084
1085
|
}
|
|
1085
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
1086
|
-
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);
|
|
1087
1088
|
}
|
|
1088
|
-
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.
|
|
1089
|
-
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);
|
|
1090
1091
|
}
|
|
1091
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
1092
|
-
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);
|
|
1093
1094
|
}
|
|
1094
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
1095
|
-
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);
|
|
1096
1097
|
}
|
|
1097
|
-
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.
|
|
1098
|
-
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);
|
|
1099
1100
|
}
|
|
1100
|
-
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.
|
|
1101
|
-
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);
|
|
1102
1103
|
}
|
|
1103
|
-
if (tmp1_output.mn(tmp0_desc, 9) ? true : !(value.
|
|
1104
|
-
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);
|
|
1105
1106
|
}
|
|
1106
|
-
if (tmp1_output.mn(tmp0_desc, 10) ? true : !(value.
|
|
1107
|
-
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);
|
|
1108
1109
|
}
|
|
1109
|
-
tmp1_output.en(tmp0_desc, 11, value.
|
|
1110
|
-
if (tmp1_output.mn(tmp0_desc, 12) ? true : !(value.
|
|
1111
|
-
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);
|
|
1112
1113
|
}
|
|
1113
|
-
if (tmp1_output.mn(tmp0_desc, 13) ? true : !(value.
|
|
1114
|
-
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);
|
|
1115
1116
|
}
|
|
1116
|
-
if (tmp1_output.mn(tmp0_desc, 14) ? true : !(value.
|
|
1117
|
-
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);
|
|
1118
1119
|
}
|
|
1119
|
-
if (tmp1_output.mn(tmp0_desc, 15) ? true : !(value.
|
|
1120
|
-
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);
|
|
1121
1122
|
}
|
|
1122
|
-
if (tmp1_output.mn(tmp0_desc, 16) ? true : !(value.
|
|
1123
|
-
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);
|
|
1124
1125
|
}
|
|
1125
|
-
if (tmp1_output.mn(tmp0_desc, 17) ? true : !(value.
|
|
1126
|
-
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);
|
|
1127
1128
|
}
|
|
1128
|
-
if (tmp1_output.mn(tmp0_desc, 18) ? true : !(value.
|
|
1129
|
-
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);
|
|
1130
1131
|
}
|
|
1131
|
-
if (tmp1_output.mn(tmp0_desc, 19) ? true : !(value.
|
|
1132
|
-
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);
|
|
1133
1134
|
}
|
|
1134
|
-
if (tmp1_output.mn(tmp0_desc, 20) ? true : !(value.
|
|
1135
|
-
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);
|
|
1136
1137
|
}
|
|
1137
|
-
if (tmp1_output.mn(tmp0_desc, 21) ? true : !(value.
|
|
1138
|
-
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);
|
|
1139
1140
|
}
|
|
1140
|
-
if (tmp1_output.mn(tmp0_desc, 22) ? true : !(value.
|
|
1141
|
-
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);
|
|
1142
1143
|
}
|
|
1143
1144
|
tmp1_output.rl(tmp0_desc);
|
|
1144
1145
|
};
|
|
1145
1146
|
protoOf($serializer_1).ti = function (encoder, value) {
|
|
1146
|
-
return this.
|
|
1147
|
+
return this.o1i(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
|
|
1147
1148
|
};
|
|
1148
1149
|
protoOf($serializer_1).ui = function (decoder) {
|
|
1149
|
-
var tmp0_desc = this.
|
|
1150
|
+
var tmp0_desc = this.n1i_1;
|
|
1150
1151
|
var tmp1_flag = true;
|
|
1151
1152
|
var tmp2_index = 0;
|
|
1152
1153
|
var tmp3_bitMask0 = 0;
|
|
@@ -1174,7 +1175,7 @@
|
|
|
1174
1175
|
var tmp25_local21 = null;
|
|
1175
1176
|
var tmp26_local22 = null;
|
|
1176
1177
|
var tmp27_input = decoder.ql(tmp0_desc);
|
|
1177
|
-
var tmp28_cached = Companion_getInstance_1().
|
|
1178
|
+
var tmp28_cached = Companion_getInstance_1().m1i_1;
|
|
1178
1179
|
if (tmp27_input.gm()) {
|
|
1179
1180
|
tmp4_local0 = tmp27_input.em(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1180
1181
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1329,10 +1330,10 @@
|
|
|
1329
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);
|
|
1330
1331
|
};
|
|
1331
1332
|
protoOf($serializer_1).si = function () {
|
|
1332
|
-
return this.
|
|
1333
|
+
return this.n1i_1;
|
|
1333
1334
|
};
|
|
1334
1335
|
protoOf($serializer_1).bt = function () {
|
|
1335
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
1336
|
+
var tmp0_cached = Companion_getInstance_1().m1i_1;
|
|
1336
1337
|
// Inline function 'kotlin.arrayOf' call
|
|
1337
1338
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1338
1339
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1346,97 +1347,97 @@
|
|
|
1346
1347
|
}
|
|
1347
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) {
|
|
1348
1349
|
if (!(2048 === (2048 & seen0))) {
|
|
1349
|
-
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().
|
|
1350
|
+
throwMissingFieldException(seen0, 2048, $serializer_getInstance_1().n1i_1);
|
|
1350
1351
|
}
|
|
1351
1352
|
if (0 === (seen0 & 1))
|
|
1352
|
-
$this.
|
|
1353
|
+
$this.l1g_1 = null;
|
|
1353
1354
|
else
|
|
1354
|
-
$this.
|
|
1355
|
+
$this.l1g_1 = bookCredit;
|
|
1355
1356
|
if (0 === (seen0 & 2))
|
|
1356
|
-
$this.
|
|
1357
|
+
$this.m1g_1 = null;
|
|
1357
1358
|
else
|
|
1358
|
-
$this.
|
|
1359
|
+
$this.m1g_1 = byline;
|
|
1359
1360
|
if (0 === (seen0 & 4))
|
|
1360
|
-
$this.
|
|
1361
|
+
$this.n1g_1 = null;
|
|
1361
1362
|
else
|
|
1362
|
-
$this.
|
|
1363
|
+
$this.n1g_1 = canonicalArticle;
|
|
1363
1364
|
if (0 === (seen0 & 8))
|
|
1364
|
-
$this.
|
|
1365
|
+
$this.o1g_1 = null;
|
|
1365
1366
|
else
|
|
1366
|
-
$this.
|
|
1367
|
+
$this.o1g_1 = celebrationIds;
|
|
1367
1368
|
if (0 === (seen0 & 16))
|
|
1368
|
-
$this.
|
|
1369
|
+
$this.p1g_1 = null;
|
|
1369
1370
|
else
|
|
1370
|
-
$this.
|
|
1371
|
+
$this.p1g_1 = commerceCtas;
|
|
1371
1372
|
if (0 === (seen0 & 32))
|
|
1372
|
-
$this.
|
|
1373
|
+
$this.q1g_1 = null;
|
|
1373
1374
|
else
|
|
1374
|
-
$this.
|
|
1375
|
+
$this.q1g_1 = composerId;
|
|
1375
1376
|
if (0 === (seen0 & 64))
|
|
1376
|
-
$this.
|
|
1377
|
+
$this.r1g_1 = null;
|
|
1377
1378
|
else
|
|
1378
|
-
$this.
|
|
1379
|
+
$this.r1g_1 = contributors;
|
|
1379
1380
|
if (0 === (seen0 & 128))
|
|
1380
|
-
$this.
|
|
1381
|
+
$this.s1g_1 = null;
|
|
1381
1382
|
else
|
|
1382
|
-
$this.
|
|
1383
|
+
$this.s1g_1 = cuisineIds;
|
|
1383
1384
|
if (0 === (seen0 & 256))
|
|
1384
|
-
$this.
|
|
1385
|
+
$this.t1g_1 = null;
|
|
1385
1386
|
else
|
|
1386
|
-
$this.
|
|
1387
|
+
$this.t1g_1 = description;
|
|
1387
1388
|
if (0 === (seen0 & 512))
|
|
1388
|
-
$this.
|
|
1389
|
+
$this.u1g_1 = null;
|
|
1389
1390
|
else
|
|
1390
|
-
$this.
|
|
1391
|
+
$this.u1g_1 = difficultyLevel;
|
|
1391
1392
|
if (0 === (seen0 & 1024))
|
|
1392
|
-
$this.
|
|
1393
|
+
$this.v1g_1 = null;
|
|
1393
1394
|
else
|
|
1394
|
-
$this.
|
|
1395
|
-
$this.
|
|
1395
|
+
$this.v1g_1 = featuredImage;
|
|
1396
|
+
$this.w1g_1 = id;
|
|
1396
1397
|
if (0 === (seen0 & 4096))
|
|
1397
|
-
$this.
|
|
1398
|
+
$this.x1g_1 = null;
|
|
1398
1399
|
else
|
|
1399
|
-
$this.
|
|
1400
|
+
$this.x1g_1 = ingredients;
|
|
1400
1401
|
if (0 === (seen0 & 8192))
|
|
1401
|
-
$this.
|
|
1402
|
+
$this.y1g_1 = null;
|
|
1402
1403
|
else
|
|
1403
|
-
$this.
|
|
1404
|
+
$this.y1g_1 = instructions;
|
|
1404
1405
|
if (0 === (seen0 & 16384))
|
|
1405
|
-
$this.
|
|
1406
|
+
$this.z1g_1 = null;
|
|
1406
1407
|
else
|
|
1407
|
-
$this.
|
|
1408
|
+
$this.z1g_1 = isAppReady;
|
|
1408
1409
|
if (0 === (seen0 & 32768))
|
|
1409
|
-
$this.
|
|
1410
|
+
$this.a1h_1 = null;
|
|
1410
1411
|
else
|
|
1411
|
-
$this.
|
|
1412
|
+
$this.a1h_1 = mealTypeIds;
|
|
1412
1413
|
if (0 === (seen0 & 65536))
|
|
1413
|
-
$this.
|
|
1414
|
+
$this.b1h_1 = null;
|
|
1414
1415
|
else
|
|
1415
|
-
$this.
|
|
1416
|
+
$this.b1h_1 = serves;
|
|
1416
1417
|
if (0 === (seen0 & 131072))
|
|
1417
|
-
$this.
|
|
1418
|
+
$this.c1h_1 = null;
|
|
1418
1419
|
else
|
|
1419
|
-
$this.
|
|
1420
|
+
$this.c1h_1 = suitableForDietIds;
|
|
1420
1421
|
if (0 === (seen0 & 262144))
|
|
1421
|
-
$this.
|
|
1422
|
+
$this.d1h_1 = null;
|
|
1422
1423
|
else
|
|
1423
|
-
$this.
|
|
1424
|
+
$this.d1h_1 = techniquesUsedIds;
|
|
1424
1425
|
if (0 === (seen0 & 524288))
|
|
1425
|
-
$this.
|
|
1426
|
+
$this.e1h_1 = null;
|
|
1426
1427
|
else
|
|
1427
|
-
$this.
|
|
1428
|
+
$this.e1h_1 = timings;
|
|
1428
1429
|
if (0 === (seen0 & 1048576))
|
|
1429
|
-
$this.
|
|
1430
|
+
$this.f1h_1 = null;
|
|
1430
1431
|
else
|
|
1431
|
-
$this.
|
|
1432
|
+
$this.f1h_1 = title;
|
|
1432
1433
|
if (0 === (seen0 & 2097152))
|
|
1433
|
-
$this.
|
|
1434
|
+
$this.g1h_1 = null;
|
|
1434
1435
|
else
|
|
1435
|
-
$this.
|
|
1436
|
+
$this.g1h_1 = utensilsAndApplianceIds;
|
|
1436
1437
|
if (0 === (seen0 & 4194304))
|
|
1437
|
-
$this.
|
|
1438
|
+
$this.h1h_1 = null;
|
|
1438
1439
|
else
|
|
1439
|
-
$this.
|
|
1440
|
+
$this.h1h_1 = webPublicationDate;
|
|
1440
1441
|
return $this;
|
|
1441
1442
|
}
|
|
1442
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) {
|
|
@@ -1466,86 +1467,86 @@
|
|
|
1466
1467
|
title = title === VOID ? null : title;
|
|
1467
1468
|
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
|
|
1468
1469
|
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
this.
|
|
1474
|
-
this.
|
|
1475
|
-
this.
|
|
1476
|
-
this.
|
|
1477
|
-
this.
|
|
1478
|
-
this.
|
|
1479
|
-
this.
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1487
|
-
this.
|
|
1488
|
-
this.
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
}
|
|
1493
|
-
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) {
|
|
1494
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);
|
|
1495
1496
|
};
|
|
1496
|
-
protoOf(RecipeV3).
|
|
1497
|
-
bookCredit = bookCredit === VOID ? this.
|
|
1498
|
-
byline = byline === VOID ? this.
|
|
1499
|
-
canonicalArticle = canonicalArticle === VOID ? this.
|
|
1500
|
-
celebrationIds = celebrationIds === VOID ? this.
|
|
1501
|
-
commerceCtas = commerceCtas === VOID ? this.
|
|
1502
|
-
composerId = composerId === VOID ? this.
|
|
1503
|
-
contributors = contributors === VOID ? this.
|
|
1504
|
-
cuisineIds = cuisineIds === VOID ? this.
|
|
1505
|
-
description = description === VOID ? this.
|
|
1506
|
-
difficultyLevel = difficultyLevel === VOID ? this.
|
|
1507
|
-
featuredImage = featuredImage === VOID ? this.
|
|
1508
|
-
id = id === VOID ? this.
|
|
1509
|
-
ingredients = ingredients === VOID ? this.
|
|
1510
|
-
instructions = instructions === VOID ? this.
|
|
1511
|
-
isAppReady = isAppReady === VOID ? this.
|
|
1512
|
-
mealTypeIds = mealTypeIds === VOID ? this.
|
|
1513
|
-
serves = serves === VOID ? this.
|
|
1514
|
-
suitableForDietIds = suitableForDietIds === VOID ? this.
|
|
1515
|
-
techniquesUsedIds = techniquesUsedIds === VOID ? this.
|
|
1516
|
-
timings = timings === VOID ? this.
|
|
1517
|
-
title = title === VOID ? this.
|
|
1518
|
-
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.
|
|
1519
|
-
webPublicationDate = webPublicationDate === VOID ? this.
|
|
1520
|
-
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);
|
|
1521
1522
|
};
|
|
1522
1523
|
protoOf(RecipeV3).toString = function () {
|
|
1523
|
-
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 + ')';
|
|
1524
1525
|
};
|
|
1525
1526
|
protoOf(RecipeV3).hashCode = function () {
|
|
1526
|
-
var result = this.
|
|
1527
|
-
result = imul(result, 31) + (this.
|
|
1528
|
-
result = imul(result, 31) + (this.
|
|
1529
|
-
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;
|
|
1530
1530
|
result = imul(result, 31) + (this.o1g_1 == null ? 0 : hashCode(this.o1g_1)) | 0;
|
|
1531
|
-
result = imul(result, 31) + (this.p1g_1 == null ? 0 :
|
|
1532
|
-
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;
|
|
1533
1533
|
result = imul(result, 31) + (this.r1g_1 == null ? 0 : hashCode(this.r1g_1)) | 0;
|
|
1534
|
-
result = imul(result, 31) + (this.s1g_1 == null ? 0 :
|
|
1534
|
+
result = imul(result, 31) + (this.s1g_1 == null ? 0 : hashCode(this.s1g_1)) | 0;
|
|
1535
1535
|
result = imul(result, 31) + (this.t1g_1 == null ? 0 : getStringHashCode(this.t1g_1)) | 0;
|
|
1536
|
-
result = imul(result, 31) + (this.u1g_1 == null ? 0 : this.u1g_1
|
|
1537
|
-
result = imul(result, 31) +
|
|
1538
|
-
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;
|
|
1539
1539
|
result = imul(result, 31) + (this.x1g_1 == null ? 0 : hashCode(this.x1g_1)) | 0;
|
|
1540
|
-
result = imul(result, 31) + (this.y1g_1 == null ? 0 :
|
|
1541
|
-
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;
|
|
1542
1542
|
result = imul(result, 31) + (this.a1h_1 == null ? 0 : hashCode(this.a1h_1)) | 0;
|
|
1543
1543
|
result = imul(result, 31) + (this.b1h_1 == null ? 0 : hashCode(this.b1h_1)) | 0;
|
|
1544
1544
|
result = imul(result, 31) + (this.c1h_1 == null ? 0 : hashCode(this.c1h_1)) | 0;
|
|
1545
1545
|
result = imul(result, 31) + (this.d1h_1 == null ? 0 : hashCode(this.d1h_1)) | 0;
|
|
1546
|
-
result = imul(result, 31) + (this.e1h_1 == null ? 0 :
|
|
1547
|
-
result = imul(result, 31) + (this.f1h_1 == null ? 0 :
|
|
1548
|
-
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;
|
|
1549
1550
|
return result;
|
|
1550
1551
|
};
|
|
1551
1552
|
protoOf(RecipeV3).equals = function (other) {
|
|
@@ -1553,37 +1554,35 @@
|
|
|
1553
1554
|
return true;
|
|
1554
1555
|
if (!(other instanceof RecipeV3))
|
|
1555
1556
|
return false;
|
|
1556
|
-
if (!(this.
|
|
1557
|
-
return false;
|
|
1558
|
-
if (!equals(this.l1g_1, other.l1g_1))
|
|
1557
|
+
if (!(this.l1g_1 == other.l1g_1))
|
|
1559
1558
|
return false;
|
|
1560
|
-
if (!(this.m1g_1
|
|
1559
|
+
if (!equals(this.m1g_1, other.m1g_1))
|
|
1561
1560
|
return false;
|
|
1562
|
-
if (!
|
|
1561
|
+
if (!(this.n1g_1 == other.n1g_1))
|
|
1563
1562
|
return false;
|
|
1564
1563
|
if (!equals(this.o1g_1, other.o1g_1))
|
|
1565
1564
|
return false;
|
|
1566
|
-
if (!(this.p1g_1
|
|
1565
|
+
if (!equals(this.p1g_1, other.p1g_1))
|
|
1567
1566
|
return false;
|
|
1568
|
-
if (!
|
|
1567
|
+
if (!(this.q1g_1 == other.q1g_1))
|
|
1569
1568
|
return false;
|
|
1570
1569
|
if (!equals(this.r1g_1, other.r1g_1))
|
|
1571
1570
|
return false;
|
|
1572
|
-
if (!(this.s1g_1
|
|
1571
|
+
if (!equals(this.s1g_1, other.s1g_1))
|
|
1573
1572
|
return false;
|
|
1574
1573
|
if (!(this.t1g_1 == other.t1g_1))
|
|
1575
1574
|
return false;
|
|
1576
|
-
if (!
|
|
1575
|
+
if (!(this.u1g_1 == other.u1g_1))
|
|
1577
1576
|
return false;
|
|
1578
|
-
if (!(this.v1g_1
|
|
1577
|
+
if (!equals(this.v1g_1, other.v1g_1))
|
|
1579
1578
|
return false;
|
|
1580
|
-
if (!
|
|
1579
|
+
if (!(this.w1g_1 === other.w1g_1))
|
|
1581
1580
|
return false;
|
|
1582
1581
|
if (!equals(this.x1g_1, other.x1g_1))
|
|
1583
1582
|
return false;
|
|
1584
|
-
if (!(this.y1g_1
|
|
1583
|
+
if (!equals(this.y1g_1, other.y1g_1))
|
|
1585
1584
|
return false;
|
|
1586
|
-
if (!
|
|
1585
|
+
if (!(this.z1g_1 == other.z1g_1))
|
|
1587
1586
|
return false;
|
|
1588
1587
|
if (!equals(this.a1h_1, other.a1h_1))
|
|
1589
1588
|
return false;
|
|
@@ -1593,11 +1592,13 @@
|
|
|
1593
1592
|
return false;
|
|
1594
1593
|
if (!equals(this.d1h_1, other.d1h_1))
|
|
1595
1594
|
return false;
|
|
1596
|
-
if (!(this.e1h_1
|
|
1595
|
+
if (!equals(this.e1h_1, other.e1h_1))
|
|
1597
1596
|
return false;
|
|
1598
|
-
if (!
|
|
1597
|
+
if (!(this.f1h_1 == other.f1h_1))
|
|
1599
1598
|
return false;
|
|
1600
|
-
if (!(this.g1h_1
|
|
1599
|
+
if (!equals(this.g1h_1, other.g1h_1))
|
|
1600
|
+
return false;
|
|
1601
|
+
if (!(this.h1h_1 == other.h1h_1))
|
|
1601
1602
|
return false;
|
|
1602
1603
|
return true;
|
|
1603
1604
|
};
|
|
@@ -1607,21 +1608,21 @@
|
|
|
1607
1608
|
tmp0_serialDesc.zs('sponsorName', false);
|
|
1608
1609
|
tmp0_serialDesc.zs('territory', false);
|
|
1609
1610
|
tmp0_serialDesc.zs('url', false);
|
|
1610
|
-
this.
|
|
1611
|
+
this.q1i_1 = tmp0_serialDesc;
|
|
1611
1612
|
}
|
|
1612
|
-
protoOf($serializer_2).
|
|
1613
|
-
var tmp0_desc = this.
|
|
1613
|
+
protoOf($serializer_2).r1i = function (encoder, value) {
|
|
1614
|
+
var tmp0_desc = this.q1i_1;
|
|
1614
1615
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1615
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
1616
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
1617
|
-
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);
|
|
1618
1619
|
tmp1_output.rl(tmp0_desc);
|
|
1619
1620
|
};
|
|
1620
1621
|
protoOf($serializer_2).ti = function (encoder, value) {
|
|
1621
|
-
return this.
|
|
1622
|
+
return this.r1i(encoder, value instanceof CommerceCta ? value : THROW_CCE());
|
|
1622
1623
|
};
|
|
1623
1624
|
protoOf($serializer_2).ui = function (decoder) {
|
|
1624
|
-
var tmp0_desc = this.
|
|
1625
|
+
var tmp0_desc = this.q1i_1;
|
|
1625
1626
|
var tmp1_flag = true;
|
|
1626
1627
|
var tmp2_index = 0;
|
|
1627
1628
|
var tmp3_bitMask0 = 0;
|
|
@@ -1663,7 +1664,7 @@
|
|
|
1663
1664
|
return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1664
1665
|
};
|
|
1665
1666
|
protoOf($serializer_2).si = function () {
|
|
1666
|
-
return this.
|
|
1667
|
+
return this.q1i_1;
|
|
1667
1668
|
};
|
|
1668
1669
|
protoOf($serializer_2).bt = function () {
|
|
1669
1670
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1679,11 +1680,11 @@
|
|
|
1679
1680
|
}
|
|
1680
1681
|
function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
|
|
1681
1682
|
if (!(7 === (7 & seen0))) {
|
|
1682
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().
|
|
1683
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().q1i_1);
|
|
1683
1684
|
}
|
|
1684
|
-
$this.
|
|
1685
|
-
$this.
|
|
1686
|
-
$this.
|
|
1685
|
+
$this.s1i_1 = sponsorName;
|
|
1686
|
+
$this.t1i_1 = territory;
|
|
1687
|
+
$this.u1i_1 = url;
|
|
1687
1688
|
return $this;
|
|
1688
1689
|
}
|
|
1689
1690
|
function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
|
|
@@ -1692,12 +1693,12 @@
|
|
|
1692
1693
|
function CommerceCta() {
|
|
1693
1694
|
}
|
|
1694
1695
|
protoOf(CommerceCta).toString = function () {
|
|
1695
|
-
return 'CommerceCta(sponsorName=' + this.
|
|
1696
|
+
return 'CommerceCta(sponsorName=' + this.s1i_1 + ', territory=' + this.t1i_1 + ', url=' + this.u1i_1 + ')';
|
|
1696
1697
|
};
|
|
1697
1698
|
protoOf(CommerceCta).hashCode = function () {
|
|
1698
|
-
var result = getStringHashCode(this.
|
|
1699
|
-
result = imul(result, 31) + getStringHashCode(this.s1i_1) | 0;
|
|
1699
|
+
var result = getStringHashCode(this.s1i_1);
|
|
1700
1700
|
result = imul(result, 31) + getStringHashCode(this.t1i_1) | 0;
|
|
1701
|
+
result = imul(result, 31) + getStringHashCode(this.u1i_1) | 0;
|
|
1701
1702
|
return result;
|
|
1702
1703
|
};
|
|
1703
1704
|
protoOf(CommerceCta).equals = function (other) {
|
|
@@ -1705,12 +1706,12 @@
|
|
|
1705
1706
|
return true;
|
|
1706
1707
|
if (!(other instanceof CommerceCta))
|
|
1707
1708
|
return false;
|
|
1708
|
-
if (!(this.r1i_1 === other.r1i_1))
|
|
1709
|
-
return false;
|
|
1710
1709
|
if (!(this.s1i_1 === other.s1i_1))
|
|
1711
1710
|
return false;
|
|
1712
1711
|
if (!(this.t1i_1 === other.t1i_1))
|
|
1713
1712
|
return false;
|
|
1713
|
+
if (!(this.u1i_1 === other.u1i_1))
|
|
1714
|
+
return false;
|
|
1714
1715
|
return true;
|
|
1715
1716
|
};
|
|
1716
1717
|
function $serializer_3() {
|
|
@@ -1724,36 +1725,36 @@
|
|
|
1724
1725
|
tmp0_serialDesc.zs('photographer', true);
|
|
1725
1726
|
tmp0_serialDesc.zs('source', true);
|
|
1726
1727
|
tmp0_serialDesc.zs('url', false);
|
|
1727
|
-
this.
|
|
1728
|
+
this.v1i_1 = tmp0_serialDesc;
|
|
1728
1729
|
}
|
|
1729
|
-
protoOf($serializer_3).
|
|
1730
|
-
var tmp0_desc = this.
|
|
1730
|
+
protoOf($serializer_3).w1i = function (encoder, value) {
|
|
1731
|
+
var tmp0_desc = this.v1i_1;
|
|
1731
1732
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1732
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1733
|
-
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);
|
|
1734
1735
|
}
|
|
1735
|
-
tmp1_output.en(tmp0_desc, 1, value.
|
|
1736
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
1737
|
-
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);
|
|
1738
1739
|
}
|
|
1739
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
1740
|
-
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);
|
|
1741
1742
|
}
|
|
1742
|
-
tmp1_output.en(tmp0_desc, 4, value.
|
|
1743
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
1744
|
-
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);
|
|
1745
1746
|
}
|
|
1746
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
1747
|
-
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);
|
|
1748
1749
|
}
|
|
1749
|
-
tmp1_output.en(tmp0_desc, 7, value.
|
|
1750
|
+
tmp1_output.en(tmp0_desc, 7, value.e1j_1);
|
|
1750
1751
|
tmp1_output.rl(tmp0_desc);
|
|
1751
1752
|
};
|
|
1752
1753
|
protoOf($serializer_3).ti = function (encoder, value) {
|
|
1753
|
-
return this.
|
|
1754
|
+
return this.w1i(encoder, value instanceof Image ? value : THROW_CCE());
|
|
1754
1755
|
};
|
|
1755
1756
|
protoOf($serializer_3).ui = function (decoder) {
|
|
1756
|
-
var tmp0_desc = this.
|
|
1757
|
+
var tmp0_desc = this.v1i_1;
|
|
1757
1758
|
var tmp1_flag = true;
|
|
1758
1759
|
var tmp2_index = 0;
|
|
1759
1760
|
var tmp3_bitMask0 = 0;
|
|
@@ -1830,7 +1831,7 @@
|
|
|
1830
1831
|
return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1831
1832
|
};
|
|
1832
1833
|
protoOf($serializer_3).si = function () {
|
|
1833
|
-
return this.
|
|
1834
|
+
return this.v1i_1;
|
|
1834
1835
|
};
|
|
1835
1836
|
protoOf($serializer_3).bt = function () {
|
|
1836
1837
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1846,31 +1847,31 @@
|
|
|
1846
1847
|
}
|
|
1847
1848
|
function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
|
|
1848
1849
|
if (!(146 === (146 & seen0))) {
|
|
1849
|
-
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().
|
|
1850
|
+
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().v1i_1);
|
|
1850
1851
|
}
|
|
1851
1852
|
if (0 === (seen0 & 1))
|
|
1852
|
-
$this.
|
|
1853
|
+
$this.x1i_1 = null;
|
|
1853
1854
|
else
|
|
1854
|
-
$this.
|
|
1855
|
-
$this.
|
|
1855
|
+
$this.x1i_1 = caption;
|
|
1856
|
+
$this.y1i_1 = cropId;
|
|
1856
1857
|
if (0 === (seen0 & 4))
|
|
1857
|
-
$this.
|
|
1858
|
+
$this.z1i_1 = null;
|
|
1858
1859
|
else
|
|
1859
|
-
$this.
|
|
1860
|
+
$this.z1i_1 = imageType;
|
|
1860
1861
|
if (0 === (seen0 & 8))
|
|
1861
|
-
$this.
|
|
1862
|
+
$this.a1j_1 = null;
|
|
1862
1863
|
else
|
|
1863
|
-
$this.
|
|
1864
|
-
$this.
|
|
1864
|
+
$this.a1j_1 = mediaApiUrl;
|
|
1865
|
+
$this.b1j_1 = mediaId;
|
|
1865
1866
|
if (0 === (seen0 & 32))
|
|
1866
|
-
$this.
|
|
1867
|
+
$this.c1j_1 = null;
|
|
1867
1868
|
else
|
|
1868
|
-
$this.
|
|
1869
|
+
$this.c1j_1 = photographer;
|
|
1869
1870
|
if (0 === (seen0 & 64))
|
|
1870
|
-
$this.
|
|
1871
|
+
$this.d1j_1 = null;
|
|
1871
1872
|
else
|
|
1872
|
-
$this.
|
|
1873
|
-
$this.
|
|
1873
|
+
$this.d1j_1 = source;
|
|
1874
|
+
$this.e1j_1 = url;
|
|
1874
1875
|
return $this;
|
|
1875
1876
|
}
|
|
1876
1877
|
function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
|
|
@@ -1879,17 +1880,17 @@
|
|
|
1879
1880
|
function Image() {
|
|
1880
1881
|
}
|
|
1881
1882
|
protoOf(Image).toString = function () {
|
|
1882
|
-
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 + ')';
|
|
1883
1884
|
};
|
|
1884
1885
|
protoOf(Image).hashCode = function () {
|
|
1885
|
-
var result = this.
|
|
1886
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1887
|
-
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;
|
|
1888
1888
|
result = imul(result, 31) + (this.z1i_1 == null ? 0 : getStringHashCode(this.z1i_1)) | 0;
|
|
1889
|
-
result = imul(result, 31) + getStringHashCode(this.a1j_1) | 0;
|
|
1890
|
-
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;
|
|
1891
1891
|
result = imul(result, 31) + (this.c1j_1 == null ? 0 : getStringHashCode(this.c1j_1)) | 0;
|
|
1892
|
-
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;
|
|
1893
1894
|
return result;
|
|
1894
1895
|
};
|
|
1895
1896
|
protoOf(Image).equals = function (other) {
|
|
@@ -1897,21 +1898,21 @@
|
|
|
1897
1898
|
return true;
|
|
1898
1899
|
if (!(other instanceof Image))
|
|
1899
1900
|
return false;
|
|
1900
|
-
if (!(this.
|
|
1901
|
+
if (!(this.x1i_1 == other.x1i_1))
|
|
1901
1902
|
return false;
|
|
1902
|
-
if (!(this.
|
|
1903
|
-
return false;
|
|
1904
|
-
if (!(this.y1i_1 == other.y1i_1))
|
|
1903
|
+
if (!(this.y1i_1 === other.y1i_1))
|
|
1905
1904
|
return false;
|
|
1906
1905
|
if (!(this.z1i_1 == other.z1i_1))
|
|
1907
1906
|
return false;
|
|
1908
|
-
if (!(this.a1j_1
|
|
1907
|
+
if (!(this.a1j_1 == other.a1j_1))
|
|
1909
1908
|
return false;
|
|
1910
|
-
if (!(this.b1j_1
|
|
1909
|
+
if (!(this.b1j_1 === other.b1j_1))
|
|
1911
1910
|
return false;
|
|
1912
1911
|
if (!(this.c1j_1 == other.c1j_1))
|
|
1913
1912
|
return false;
|
|
1914
|
-
if (!(this.d1j_1
|
|
1913
|
+
if (!(this.d1j_1 == other.d1j_1))
|
|
1914
|
+
return false;
|
|
1915
|
+
if (!(this.e1j_1 === other.e1j_1))
|
|
1915
1916
|
return false;
|
|
1916
1917
|
return true;
|
|
1917
1918
|
};
|
|
@@ -1925,7 +1926,7 @@
|
|
|
1925
1926
|
// Inline function 'kotlin.arrayOf' call
|
|
1926
1927
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1927
1928
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1928
|
-
tmp.
|
|
1929
|
+
tmp.f1j_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
|
|
1929
1930
|
}
|
|
1930
1931
|
var Companion_instance_3;
|
|
1931
1932
|
function Companion_getInstance_2() {
|
|
@@ -1938,32 +1939,32 @@
|
|
|
1938
1939
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
|
|
1939
1940
|
tmp0_serialDesc.zs('ingredientsList', true);
|
|
1940
1941
|
tmp0_serialDesc.zs('recipeSection', true);
|
|
1941
|
-
this.
|
|
1942
|
+
this.g1j_1 = tmp0_serialDesc;
|
|
1942
1943
|
}
|
|
1943
|
-
protoOf($serializer_4).
|
|
1944
|
-
var tmp0_desc = this.
|
|
1944
|
+
protoOf($serializer_4).h1j = function (encoder, value) {
|
|
1945
|
+
var tmp0_desc = this.g1j_1;
|
|
1945
1946
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
1946
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
1947
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
1948
|
-
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);
|
|
1949
1950
|
}
|
|
1950
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
1951
|
-
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);
|
|
1952
1953
|
}
|
|
1953
1954
|
tmp1_output.rl(tmp0_desc);
|
|
1954
1955
|
};
|
|
1955
1956
|
protoOf($serializer_4).ti = function (encoder, value) {
|
|
1956
|
-
return this.
|
|
1957
|
+
return this.h1j(encoder, value instanceof IngredientsList ? value : THROW_CCE());
|
|
1957
1958
|
};
|
|
1958
1959
|
protoOf($serializer_4).ui = function (decoder) {
|
|
1959
|
-
var tmp0_desc = this.
|
|
1960
|
+
var tmp0_desc = this.g1j_1;
|
|
1960
1961
|
var tmp1_flag = true;
|
|
1961
1962
|
var tmp2_index = 0;
|
|
1962
1963
|
var tmp3_bitMask0 = 0;
|
|
1963
1964
|
var tmp4_local0 = null;
|
|
1964
1965
|
var tmp5_local1 = null;
|
|
1965
1966
|
var tmp6_input = decoder.ql(tmp0_desc);
|
|
1966
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
1967
|
+
var tmp7_cached = Companion_getInstance_2().f1j_1;
|
|
1967
1968
|
if (tmp6_input.gm()) {
|
|
1968
1969
|
tmp4_local0 = tmp6_input.em(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
1969
1970
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1992,10 +1993,10 @@
|
|
|
1992
1993
|
return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
1993
1994
|
};
|
|
1994
1995
|
protoOf($serializer_4).si = function () {
|
|
1995
|
-
return this.
|
|
1996
|
+
return this.g1j_1;
|
|
1996
1997
|
};
|
|
1997
1998
|
protoOf($serializer_4).bt = function () {
|
|
1998
|
-
var tmp0_cached = Companion_getInstance_2().
|
|
1999
|
+
var tmp0_cached = Companion_getInstance_2().f1j_1;
|
|
1999
2000
|
// Inline function 'kotlin.arrayOf' call
|
|
2000
2001
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2001
2002
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2009,16 +2010,16 @@
|
|
|
2009
2010
|
}
|
|
2010
2011
|
function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
|
|
2011
2012
|
if (!(0 === (0 & seen0))) {
|
|
2012
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().
|
|
2013
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().g1j_1);
|
|
2013
2014
|
}
|
|
2014
2015
|
if (0 === (seen0 & 1))
|
|
2015
|
-
$this.
|
|
2016
|
+
$this.i1h_1 = null;
|
|
2016
2017
|
else
|
|
2017
|
-
$this.
|
|
2018
|
+
$this.i1h_1 = ingredientsList;
|
|
2018
2019
|
if (0 === (seen0 & 2))
|
|
2019
|
-
$this.
|
|
2020
|
+
$this.j1h_1 = null;
|
|
2020
2021
|
else
|
|
2021
|
-
$this.
|
|
2022
|
+
$this.j1h_1 = recipeSection;
|
|
2022
2023
|
return $this;
|
|
2023
2024
|
}
|
|
2024
2025
|
function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
|
|
@@ -2028,15 +2029,15 @@
|
|
|
2028
2029
|
Companion_getInstance_2();
|
|
2029
2030
|
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
2030
2031
|
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
2031
|
-
this.
|
|
2032
|
-
this.
|
|
2032
|
+
this.i1h_1 = ingredientsList;
|
|
2033
|
+
this.j1h_1 = recipeSection;
|
|
2033
2034
|
}
|
|
2034
2035
|
protoOf(IngredientsList).toString = function () {
|
|
2035
|
-
return 'IngredientsList(ingredientsList=' + toString(this.
|
|
2036
|
+
return 'IngredientsList(ingredientsList=' + toString(this.i1h_1) + ', recipeSection=' + this.j1h_1 + ')';
|
|
2036
2037
|
};
|
|
2037
2038
|
protoOf(IngredientsList).hashCode = function () {
|
|
2038
|
-
var result = this.
|
|
2039
|
-
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;
|
|
2040
2041
|
return result;
|
|
2041
2042
|
};
|
|
2042
2043
|
protoOf(IngredientsList).equals = function (other) {
|
|
@@ -2044,9 +2045,9 @@
|
|
|
2044
2045
|
return true;
|
|
2045
2046
|
if (!(other instanceof IngredientsList))
|
|
2046
2047
|
return false;
|
|
2047
|
-
if (!equals(this.
|
|
2048
|
+
if (!equals(this.i1h_1, other.i1h_1))
|
|
2048
2049
|
return false;
|
|
2049
|
-
if (!(this.
|
|
2050
|
+
if (!(this.j1h_1 == other.j1h_1))
|
|
2050
2051
|
return false;
|
|
2051
2052
|
return true;
|
|
2052
2053
|
};
|
|
@@ -2068,45 +2069,45 @@
|
|
|
2068
2069
|
tmp0_serialDesc.zs('template', true);
|
|
2069
2070
|
tmp0_serialDesc.zs('text', true);
|
|
2070
2071
|
tmp0_serialDesc.zs('unit', true);
|
|
2071
|
-
this.
|
|
2072
|
+
this.i1j_1 = tmp0_serialDesc;
|
|
2072
2073
|
}
|
|
2073
|
-
protoOf($serializer_5).
|
|
2074
|
-
var tmp0_desc = this.
|
|
2074
|
+
protoOf($serializer_5).j1j = function (encoder, value) {
|
|
2075
|
+
var tmp0_desc = this.i1j_1;
|
|
2075
2076
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2076
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2077
|
-
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);
|
|
2078
2079
|
}
|
|
2079
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2080
|
-
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);
|
|
2081
2082
|
}
|
|
2082
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2083
|
-
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);
|
|
2084
2085
|
}
|
|
2085
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
2086
|
-
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);
|
|
2087
2088
|
}
|
|
2088
|
-
if (tmp1_output.mn(tmp0_desc, 4) ? true : !(value.
|
|
2089
|
-
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);
|
|
2090
2091
|
}
|
|
2091
|
-
if (tmp1_output.mn(tmp0_desc, 5) ? true : !(value.
|
|
2092
|
-
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);
|
|
2093
2094
|
}
|
|
2094
|
-
if (tmp1_output.mn(tmp0_desc, 6) ? true : !(value.
|
|
2095
|
-
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);
|
|
2096
2097
|
}
|
|
2097
|
-
if (tmp1_output.mn(tmp0_desc, 7) ? true : !(value.
|
|
2098
|
-
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);
|
|
2099
2100
|
}
|
|
2100
|
-
if (tmp1_output.mn(tmp0_desc, 8) ? true : !(value.
|
|
2101
|
-
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);
|
|
2102
2103
|
}
|
|
2103
2104
|
tmp1_output.rl(tmp0_desc);
|
|
2104
2105
|
};
|
|
2105
2106
|
protoOf($serializer_5).ti = function (encoder, value) {
|
|
2106
|
-
return this.
|
|
2107
|
+
return this.j1j(encoder, value instanceof IngredientItem ? value : THROW_CCE());
|
|
2107
2108
|
};
|
|
2108
2109
|
protoOf($serializer_5).ui = function (decoder) {
|
|
2109
|
-
var tmp0_desc = this.
|
|
2110
|
+
var tmp0_desc = this.i1j_1;
|
|
2110
2111
|
var tmp1_flag = true;
|
|
2111
2112
|
var tmp2_index = 0;
|
|
2112
2113
|
var tmp3_bitMask0 = 0;
|
|
@@ -2190,7 +2191,7 @@
|
|
|
2190
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);
|
|
2191
2192
|
};
|
|
2192
2193
|
protoOf($serializer_5).si = function () {
|
|
2193
|
-
return this.
|
|
2194
|
+
return this.i1j_1;
|
|
2194
2195
|
};
|
|
2195
2196
|
protoOf($serializer_5).bt = function () {
|
|
2196
2197
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2206,44 +2207,44 @@
|
|
|
2206
2207
|
}
|
|
2207
2208
|
function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
|
|
2208
2209
|
if (!(0 === (0 & seen0))) {
|
|
2209
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().
|
|
2210
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().i1j_1);
|
|
2210
2211
|
}
|
|
2211
2212
|
if (0 === (seen0 & 1))
|
|
2212
|
-
$this.
|
|
2213
|
+
$this.k1h_1 = null;
|
|
2213
2214
|
else
|
|
2214
|
-
$this.
|
|
2215
|
+
$this.k1h_1 = amount;
|
|
2215
2216
|
if (0 === (seen0 & 2))
|
|
2216
|
-
$this.
|
|
2217
|
+
$this.l1h_1 = null;
|
|
2217
2218
|
else
|
|
2218
|
-
$this.
|
|
2219
|
+
$this.l1h_1 = ingredientId;
|
|
2219
2220
|
if (0 === (seen0 & 4))
|
|
2220
|
-
$this.
|
|
2221
|
+
$this.m1h_1 = null;
|
|
2221
2222
|
else
|
|
2222
|
-
$this.
|
|
2223
|
+
$this.m1h_1 = name;
|
|
2223
2224
|
if (0 === (seen0 & 8))
|
|
2224
|
-
$this.
|
|
2225
|
+
$this.n1h_1 = null;
|
|
2225
2226
|
else
|
|
2226
|
-
$this.
|
|
2227
|
+
$this.n1h_1 = optional;
|
|
2227
2228
|
if (0 === (seen0 & 16))
|
|
2228
|
-
$this.
|
|
2229
|
+
$this.o1h_1 = null;
|
|
2229
2230
|
else
|
|
2230
|
-
$this.
|
|
2231
|
+
$this.o1h_1 = prefix;
|
|
2231
2232
|
if (0 === (seen0 & 32))
|
|
2232
|
-
$this.
|
|
2233
|
+
$this.p1h_1 = null;
|
|
2233
2234
|
else
|
|
2234
|
-
$this.
|
|
2235
|
+
$this.p1h_1 = suffix;
|
|
2235
2236
|
if (0 === (seen0 & 64))
|
|
2236
|
-
$this.
|
|
2237
|
+
$this.q1h_1 = null;
|
|
2237
2238
|
else
|
|
2238
|
-
$this.
|
|
2239
|
+
$this.q1h_1 = template;
|
|
2239
2240
|
if (0 === (seen0 & 128))
|
|
2240
|
-
$this.
|
|
2241
|
+
$this.r1h_1 = null;
|
|
2241
2242
|
else
|
|
2242
|
-
$this.
|
|
2243
|
+
$this.r1h_1 = text;
|
|
2243
2244
|
if (0 === (seen0 & 256))
|
|
2244
|
-
$this.
|
|
2245
|
+
$this.s1h_1 = null;
|
|
2245
2246
|
else
|
|
2246
|
-
$this.
|
|
2247
|
+
$this.s1h_1 = unit;
|
|
2247
2248
|
return $this;
|
|
2248
2249
|
}
|
|
2249
2250
|
function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
|
|
@@ -2259,44 +2260,44 @@
|
|
|
2259
2260
|
template = template === VOID ? null : template;
|
|
2260
2261
|
text = text === VOID ? null : text;
|
|
2261
2262
|
unit = unit === VOID ? null : unit;
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2264
|
-
this.
|
|
2265
|
-
this.
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2268
|
-
this.
|
|
2269
|
-
this.
|
|
2270
|
-
this.
|
|
2271
|
-
}
|
|
2272
|
-
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) {
|
|
2273
2274
|
return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2274
2275
|
};
|
|
2275
|
-
protoOf(IngredientItem).
|
|
2276
|
-
amount = amount === VOID ? this.
|
|
2277
|
-
ingredientId = ingredientId === VOID ? this.
|
|
2278
|
-
name = name === VOID ? this.
|
|
2279
|
-
optional = optional === VOID ? this.
|
|
2280
|
-
prefix = prefix === VOID ? this.
|
|
2281
|
-
suffix = suffix === VOID ? this.
|
|
2282
|
-
template = template === VOID ? this.
|
|
2283
|
-
text = text === VOID ? this.
|
|
2284
|
-
unit = unit === VOID ? this.
|
|
2285
|
-
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);
|
|
2286
2287
|
};
|
|
2287
2288
|
protoOf(IngredientItem).toString = function () {
|
|
2288
|
-
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 + ')';
|
|
2289
2290
|
};
|
|
2290
2291
|
protoOf(IngredientItem).hashCode = function () {
|
|
2291
|
-
var result = this.
|
|
2292
|
-
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();
|
|
2293
2293
|
result = imul(result, 31) + (this.l1h_1 == null ? 0 : getStringHashCode(this.l1h_1)) | 0;
|
|
2294
|
-
result = imul(result, 31) + (this.m1h_1 == null ? 0 :
|
|
2295
|
-
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;
|
|
2296
2296
|
result = imul(result, 31) + (this.o1h_1 == null ? 0 : getStringHashCode(this.o1h_1)) | 0;
|
|
2297
2297
|
result = imul(result, 31) + (this.p1h_1 == null ? 0 : getStringHashCode(this.p1h_1)) | 0;
|
|
2298
2298
|
result = imul(result, 31) + (this.q1h_1 == null ? 0 : getStringHashCode(this.q1h_1)) | 0;
|
|
2299
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;
|
|
2300
2301
|
return result;
|
|
2301
2302
|
};
|
|
2302
2303
|
protoOf(IngredientItem).equals = function (other) {
|
|
@@ -2304,9 +2305,7 @@
|
|
|
2304
2305
|
return true;
|
|
2305
2306
|
if (!(other instanceof IngredientItem))
|
|
2306
2307
|
return false;
|
|
2307
|
-
if (!equals(this.
|
|
2308
|
-
return false;
|
|
2309
|
-
if (!(this.k1h_1 == other.k1h_1))
|
|
2308
|
+
if (!equals(this.k1h_1, other.k1h_1))
|
|
2310
2309
|
return false;
|
|
2311
2310
|
if (!(this.l1h_1 == other.l1h_1))
|
|
2312
2311
|
return false;
|
|
@@ -2322,6 +2321,8 @@
|
|
|
2322
2321
|
return false;
|
|
2323
2322
|
if (!(this.r1h_1 == other.r1h_1))
|
|
2324
2323
|
return false;
|
|
2324
|
+
if (!(this.s1h_1 == other.s1h_1))
|
|
2325
|
+
return false;
|
|
2325
2326
|
return true;
|
|
2326
2327
|
};
|
|
2327
2328
|
function Companion_4() {
|
|
@@ -2335,24 +2336,24 @@
|
|
|
2335
2336
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
|
|
2336
2337
|
tmp0_serialDesc.zs('max', true);
|
|
2337
2338
|
tmp0_serialDesc.zs('min', true);
|
|
2338
|
-
this.
|
|
2339
|
+
this.l1j_1 = tmp0_serialDesc;
|
|
2339
2340
|
}
|
|
2340
|
-
protoOf($serializer_6).
|
|
2341
|
-
var tmp0_desc = this.
|
|
2341
|
+
protoOf($serializer_6).m1j = function (encoder, value) {
|
|
2342
|
+
var tmp0_desc = this.l1j_1;
|
|
2342
2343
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2343
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2344
|
-
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);
|
|
2345
2346
|
}
|
|
2346
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2347
|
-
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);
|
|
2348
2349
|
}
|
|
2349
2350
|
tmp1_output.rl(tmp0_desc);
|
|
2350
2351
|
};
|
|
2351
2352
|
protoOf($serializer_6).ti = function (encoder, value) {
|
|
2352
|
-
return this.
|
|
2353
|
+
return this.m1j(encoder, value instanceof Range ? value : THROW_CCE());
|
|
2353
2354
|
};
|
|
2354
2355
|
protoOf($serializer_6).ui = function (decoder) {
|
|
2355
|
-
var tmp0_desc = this.
|
|
2356
|
+
var tmp0_desc = this.l1j_1;
|
|
2356
2357
|
var tmp1_flag = true;
|
|
2357
2358
|
var tmp2_index = 0;
|
|
2358
2359
|
var tmp3_bitMask0 = 0;
|
|
@@ -2387,7 +2388,7 @@
|
|
|
2387
2388
|
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2388
2389
|
};
|
|
2389
2390
|
protoOf($serializer_6).si = function () {
|
|
2390
|
-
return this.
|
|
2391
|
+
return this.l1j_1;
|
|
2391
2392
|
};
|
|
2392
2393
|
protoOf($serializer_6).bt = function () {
|
|
2393
2394
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2403,16 +2404,16 @@
|
|
|
2403
2404
|
}
|
|
2404
2405
|
function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
2405
2406
|
if (!(0 === (0 & seen0))) {
|
|
2406
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().
|
|
2407
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().l1j_1);
|
|
2407
2408
|
}
|
|
2408
2409
|
if (0 === (seen0 & 1))
|
|
2409
|
-
$this.
|
|
2410
|
+
$this.n1j_1 = null;
|
|
2410
2411
|
else
|
|
2411
|
-
$this.
|
|
2412
|
+
$this.n1j_1 = max;
|
|
2412
2413
|
if (0 === (seen0 & 2))
|
|
2413
|
-
$this.
|
|
2414
|
+
$this.o1j_1 = null;
|
|
2414
2415
|
else
|
|
2415
|
-
$this.
|
|
2416
|
+
$this.o1j_1 = min;
|
|
2416
2417
|
return $this;
|
|
2417
2418
|
}
|
|
2418
2419
|
function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
@@ -2421,15 +2422,15 @@
|
|
|
2421
2422
|
function Range(max, min) {
|
|
2422
2423
|
max = max === VOID ? null : max;
|
|
2423
2424
|
min = min === VOID ? null : min;
|
|
2424
|
-
this.
|
|
2425
|
-
this.
|
|
2425
|
+
this.n1j_1 = max;
|
|
2426
|
+
this.o1j_1 = min;
|
|
2426
2427
|
}
|
|
2427
2428
|
protoOf(Range).toString = function () {
|
|
2428
|
-
return 'Range(max=' + this.
|
|
2429
|
+
return 'Range(max=' + this.n1j_1 + ', min=' + this.o1j_1 + ')';
|
|
2429
2430
|
};
|
|
2430
2431
|
protoOf(Range).hashCode = function () {
|
|
2431
|
-
var result = this.
|
|
2432
|
-
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;
|
|
2433
2434
|
return result;
|
|
2434
2435
|
};
|
|
2435
2436
|
protoOf(Range).equals = function (other) {
|
|
@@ -2437,10 +2438,10 @@
|
|
|
2437
2438
|
return true;
|
|
2438
2439
|
if (!(other instanceof Range))
|
|
2439
2440
|
return false;
|
|
2440
|
-
if (!equals(this.m1j_1, other.m1j_1))
|
|
2441
|
-
return false;
|
|
2442
2441
|
if (!equals(this.n1j_1, other.n1j_1))
|
|
2443
2442
|
return false;
|
|
2443
|
+
if (!equals(this.o1j_1, other.o1j_1))
|
|
2444
|
+
return false;
|
|
2444
2445
|
return true;
|
|
2445
2446
|
};
|
|
2446
2447
|
function Instruction$Companion$$childSerializers$_anonymous__sbbefw() {
|
|
@@ -2453,7 +2454,7 @@
|
|
|
2453
2454
|
// Inline function 'kotlin.arrayOf' call
|
|
2454
2455
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2455
2456
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2456
|
-
tmp.
|
|
2457
|
+
tmp.p1j_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
|
|
2457
2458
|
}
|
|
2458
2459
|
var Companion_instance_6;
|
|
2459
2460
|
function Companion_getInstance_5() {
|
|
@@ -2468,29 +2469,29 @@
|
|
|
2468
2469
|
tmp0_serialDesc.zs('descriptionTemplate', true);
|
|
2469
2470
|
tmp0_serialDesc.zs('images', true);
|
|
2470
2471
|
tmp0_serialDesc.zs('stepNumber', true);
|
|
2471
|
-
this.
|
|
2472
|
+
this.q1j_1 = tmp0_serialDesc;
|
|
2472
2473
|
}
|
|
2473
|
-
protoOf($serializer_7).
|
|
2474
|
-
var tmp0_desc = this.
|
|
2474
|
+
protoOf($serializer_7).r1j = function (encoder, value) {
|
|
2475
|
+
var tmp0_desc = this.q1j_1;
|
|
2475
2476
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2476
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
2477
|
-
tmp1_output.en(tmp0_desc, 0, value.
|
|
2478
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2479
|
-
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);
|
|
2480
2481
|
}
|
|
2481
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2482
|
-
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);
|
|
2483
2484
|
}
|
|
2484
|
-
if (tmp1_output.mn(tmp0_desc, 3) ? true : !(value.
|
|
2485
|
-
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);
|
|
2486
2487
|
}
|
|
2487
2488
|
tmp1_output.rl(tmp0_desc);
|
|
2488
2489
|
};
|
|
2489
2490
|
protoOf($serializer_7).ti = function (encoder, value) {
|
|
2490
|
-
return this.
|
|
2491
|
+
return this.r1j(encoder, value instanceof Instruction ? value : THROW_CCE());
|
|
2491
2492
|
};
|
|
2492
2493
|
protoOf($serializer_7).ui = function (decoder) {
|
|
2493
|
-
var tmp0_desc = this.
|
|
2494
|
+
var tmp0_desc = this.q1j_1;
|
|
2494
2495
|
var tmp1_flag = true;
|
|
2495
2496
|
var tmp2_index = 0;
|
|
2496
2497
|
var tmp3_bitMask0 = 0;
|
|
@@ -2499,7 +2500,7 @@
|
|
|
2499
2500
|
var tmp6_local2 = null;
|
|
2500
2501
|
var tmp7_local3 = null;
|
|
2501
2502
|
var tmp8_input = decoder.ql(tmp0_desc);
|
|
2502
|
-
var tmp9_cached = Companion_getInstance_5().
|
|
2503
|
+
var tmp9_cached = Companion_getInstance_5().p1j_1;
|
|
2503
2504
|
if (tmp8_input.gm()) {
|
|
2504
2505
|
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
2505
2506
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2540,10 +2541,10 @@
|
|
|
2540
2541
|
return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2541
2542
|
};
|
|
2542
2543
|
protoOf($serializer_7).si = function () {
|
|
2543
|
-
return this.
|
|
2544
|
+
return this.q1j_1;
|
|
2544
2545
|
};
|
|
2545
2546
|
protoOf($serializer_7).bt = function () {
|
|
2546
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
2547
|
+
var tmp0_cached = Companion_getInstance_5().p1j_1;
|
|
2547
2548
|
// Inline function 'kotlin.arrayOf' call
|
|
2548
2549
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2549
2550
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2557,21 +2558,21 @@
|
|
|
2557
2558
|
}
|
|
2558
2559
|
function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
|
|
2559
2560
|
if (!(1 === (1 & seen0))) {
|
|
2560
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().
|
|
2561
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().q1j_1);
|
|
2561
2562
|
}
|
|
2562
|
-
$this.
|
|
2563
|
+
$this.u1h_1 = description;
|
|
2563
2564
|
if (0 === (seen0 & 2))
|
|
2564
|
-
$this.
|
|
2565
|
+
$this.v1h_1 = null;
|
|
2565
2566
|
else
|
|
2566
|
-
$this.
|
|
2567
|
+
$this.v1h_1 = descriptionTemplate;
|
|
2567
2568
|
if (0 === (seen0 & 4))
|
|
2568
|
-
$this.
|
|
2569
|
+
$this.w1h_1 = null;
|
|
2569
2570
|
else
|
|
2570
|
-
$this.
|
|
2571
|
+
$this.w1h_1 = images;
|
|
2571
2572
|
if (0 === (seen0 & 8))
|
|
2572
|
-
$this.
|
|
2573
|
+
$this.x1h_1 = null;
|
|
2573
2574
|
else
|
|
2574
|
-
$this.
|
|
2575
|
+
$this.x1h_1 = stepNumber;
|
|
2575
2576
|
return $this;
|
|
2576
2577
|
}
|
|
2577
2578
|
function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
|
|
@@ -2582,29 +2583,29 @@
|
|
|
2582
2583
|
descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
|
|
2583
2584
|
images = images === VOID ? null : images;
|
|
2584
2585
|
stepNumber = stepNumber === VOID ? null : stepNumber;
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2587
|
-
this.
|
|
2588
|
-
this.
|
|
2586
|
+
this.u1h_1 = description;
|
|
2587
|
+
this.v1h_1 = descriptionTemplate;
|
|
2588
|
+
this.w1h_1 = images;
|
|
2589
|
+
this.x1h_1 = stepNumber;
|
|
2589
2590
|
}
|
|
2590
|
-
protoOf(Instruction).
|
|
2591
|
+
protoOf(Instruction).s1j = function (description, descriptionTemplate, images, stepNumber) {
|
|
2591
2592
|
return new Instruction(description, descriptionTemplate, images, stepNumber);
|
|
2592
2593
|
};
|
|
2593
|
-
protoOf(Instruction).
|
|
2594
|
-
description = description === VOID ? this.
|
|
2595
|
-
descriptionTemplate = descriptionTemplate === VOID ? this.
|
|
2596
|
-
images = images === VOID ? this.
|
|
2597
|
-
stepNumber = stepNumber === VOID ? this.
|
|
2598
|
-
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);
|
|
2599
2600
|
};
|
|
2600
2601
|
protoOf(Instruction).toString = function () {
|
|
2601
|
-
return 'Instruction(description=' + this.
|
|
2602
|
+
return 'Instruction(description=' + this.u1h_1 + ', descriptionTemplate=' + this.v1h_1 + ', images=' + toString(this.w1h_1) + ', stepNumber=' + this.x1h_1 + ')';
|
|
2602
2603
|
};
|
|
2603
2604
|
protoOf(Instruction).hashCode = function () {
|
|
2604
|
-
var result = getStringHashCode(this.
|
|
2605
|
-
result = imul(result, 31) + (this.
|
|
2606
|
-
result = imul(result, 31) + (this.
|
|
2607
|
-
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;
|
|
2608
2609
|
return result;
|
|
2609
2610
|
};
|
|
2610
2611
|
protoOf(Instruction).equals = function (other) {
|
|
@@ -2612,14 +2613,14 @@
|
|
|
2612
2613
|
return true;
|
|
2613
2614
|
if (!(other instanceof Instruction))
|
|
2614
2615
|
return false;
|
|
2615
|
-
if (!(this.
|
|
2616
|
-
return false;
|
|
2617
|
-
if (!(this.u1h_1 == other.u1h_1))
|
|
2616
|
+
if (!(this.u1h_1 === other.u1h_1))
|
|
2618
2617
|
return false;
|
|
2619
|
-
if (!
|
|
2618
|
+
if (!(this.v1h_1 == other.v1h_1))
|
|
2620
2619
|
return false;
|
|
2621
2620
|
if (!equals(this.w1h_1, other.w1h_1))
|
|
2622
2621
|
return false;
|
|
2622
|
+
if (!equals(this.x1h_1, other.x1h_1))
|
|
2623
|
+
return false;
|
|
2623
2624
|
return true;
|
|
2624
2625
|
};
|
|
2625
2626
|
function $serializer_8() {
|
|
@@ -2628,25 +2629,25 @@
|
|
|
2628
2629
|
tmp0_serialDesc.zs('amount', true);
|
|
2629
2630
|
tmp0_serialDesc.zs('text', true);
|
|
2630
2631
|
tmp0_serialDesc.zs('unit', false);
|
|
2631
|
-
this.
|
|
2632
|
+
this.t1j_1 = tmp0_serialDesc;
|
|
2632
2633
|
}
|
|
2633
|
-
protoOf($serializer_8).
|
|
2634
|
-
var tmp0_desc = this.
|
|
2634
|
+
protoOf($serializer_8).u1j = function (encoder, value) {
|
|
2635
|
+
var tmp0_desc = this.t1j_1;
|
|
2635
2636
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2636
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2637
|
-
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);
|
|
2638
2639
|
}
|
|
2639
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2640
|
-
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);
|
|
2641
2642
|
}
|
|
2642
|
-
tmp1_output.en(tmp0_desc, 2, value.
|
|
2643
|
+
tmp1_output.en(tmp0_desc, 2, value.x1j_1);
|
|
2643
2644
|
tmp1_output.rl(tmp0_desc);
|
|
2644
2645
|
};
|
|
2645
2646
|
protoOf($serializer_8).ti = function (encoder, value) {
|
|
2646
|
-
return this.
|
|
2647
|
+
return this.u1j(encoder, value instanceof Serves ? value : THROW_CCE());
|
|
2647
2648
|
};
|
|
2648
2649
|
protoOf($serializer_8).ui = function (decoder) {
|
|
2649
|
-
var tmp0_desc = this.
|
|
2650
|
+
var tmp0_desc = this.t1j_1;
|
|
2650
2651
|
var tmp1_flag = true;
|
|
2651
2652
|
var tmp2_index = 0;
|
|
2652
2653
|
var tmp3_bitMask0 = 0;
|
|
@@ -2688,7 +2689,7 @@
|
|
|
2688
2689
|
return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2689
2690
|
};
|
|
2690
2691
|
protoOf($serializer_8).si = function () {
|
|
2691
|
-
return this.
|
|
2692
|
+
return this.t1j_1;
|
|
2692
2693
|
};
|
|
2693
2694
|
protoOf($serializer_8).bt = function () {
|
|
2694
2695
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2704,17 +2705,17 @@
|
|
|
2704
2705
|
}
|
|
2705
2706
|
function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
|
|
2706
2707
|
if (!(4 === (4 & seen0))) {
|
|
2707
|
-
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().
|
|
2708
|
+
throwMissingFieldException(seen0, 4, $serializer_getInstance_8().t1j_1);
|
|
2708
2709
|
}
|
|
2709
2710
|
if (0 === (seen0 & 1))
|
|
2710
|
-
$this.
|
|
2711
|
+
$this.v1j_1 = null;
|
|
2711
2712
|
else
|
|
2712
|
-
$this.
|
|
2713
|
+
$this.v1j_1 = amount;
|
|
2713
2714
|
if (0 === (seen0 & 2))
|
|
2714
|
-
$this.
|
|
2715
|
+
$this.w1j_1 = null;
|
|
2715
2716
|
else
|
|
2716
|
-
$this.
|
|
2717
|
-
$this.
|
|
2717
|
+
$this.w1j_1 = text;
|
|
2718
|
+
$this.x1j_1 = unit;
|
|
2718
2719
|
return $this;
|
|
2719
2720
|
}
|
|
2720
2721
|
function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
|
|
@@ -2723,12 +2724,12 @@
|
|
|
2723
2724
|
function Serves() {
|
|
2724
2725
|
}
|
|
2725
2726
|
protoOf(Serves).toString = function () {
|
|
2726
|
-
return 'Serves(amount=' + toString(this.
|
|
2727
|
+
return 'Serves(amount=' + toString(this.v1j_1) + ', text=' + this.w1j_1 + ', unit=' + this.x1j_1 + ')';
|
|
2727
2728
|
};
|
|
2728
2729
|
protoOf(Serves).hashCode = function () {
|
|
2729
|
-
var result = this.
|
|
2730
|
-
result = imul(result, 31) + (this.
|
|
2731
|
-
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;
|
|
2732
2733
|
return result;
|
|
2733
2734
|
};
|
|
2734
2735
|
protoOf(Serves).equals = function (other) {
|
|
@@ -2736,11 +2737,11 @@
|
|
|
2736
2737
|
return true;
|
|
2737
2738
|
if (!(other instanceof Serves))
|
|
2738
2739
|
return false;
|
|
2739
|
-
if (!equals(this.
|
|
2740
|
+
if (!equals(this.v1j_1, other.v1j_1))
|
|
2740
2741
|
return false;
|
|
2741
|
-
if (!(this.
|
|
2742
|
+
if (!(this.w1j_1 == other.w1j_1))
|
|
2742
2743
|
return false;
|
|
2743
|
-
if (!(this.
|
|
2744
|
+
if (!(this.x1j_1 === other.x1j_1))
|
|
2744
2745
|
return false;
|
|
2745
2746
|
return true;
|
|
2746
2747
|
};
|
|
@@ -2756,27 +2757,27 @@
|
|
|
2756
2757
|
tmp0_serialDesc.zs('durationInMins', true);
|
|
2757
2758
|
tmp0_serialDesc.zs('qualifier', true);
|
|
2758
2759
|
tmp0_serialDesc.zs('text', true);
|
|
2759
|
-
this.
|
|
2760
|
+
this.y1j_1 = tmp0_serialDesc;
|
|
2760
2761
|
}
|
|
2761
|
-
protoOf($serializer_9).
|
|
2762
|
-
var tmp0_desc = this.
|
|
2762
|
+
protoOf($serializer_9).z1j = function (encoder, value) {
|
|
2763
|
+
var tmp0_desc = this.y1j_1;
|
|
2763
2764
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
2764
|
-
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.
|
|
2765
|
-
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);
|
|
2766
2767
|
}
|
|
2767
|
-
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.
|
|
2768
|
-
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);
|
|
2769
2770
|
}
|
|
2770
|
-
if (tmp1_output.mn(tmp0_desc, 2) ? true : !(value.
|
|
2771
|
-
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);
|
|
2772
2773
|
}
|
|
2773
2774
|
tmp1_output.rl(tmp0_desc);
|
|
2774
2775
|
};
|
|
2775
2776
|
protoOf($serializer_9).ti = function (encoder, value) {
|
|
2776
|
-
return this.
|
|
2777
|
+
return this.z1j(encoder, value instanceof Timing ? value : THROW_CCE());
|
|
2777
2778
|
};
|
|
2778
2779
|
protoOf($serializer_9).ui = function (decoder) {
|
|
2779
|
-
var tmp0_desc = this.
|
|
2780
|
+
var tmp0_desc = this.y1j_1;
|
|
2780
2781
|
var tmp1_flag = true;
|
|
2781
2782
|
var tmp2_index = 0;
|
|
2782
2783
|
var tmp3_bitMask0 = 0;
|
|
@@ -2818,7 +2819,7 @@
|
|
|
2818
2819
|
return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2819
2820
|
};
|
|
2820
2821
|
protoOf($serializer_9).si = function () {
|
|
2821
|
-
return this.
|
|
2822
|
+
return this.y1j_1;
|
|
2822
2823
|
};
|
|
2823
2824
|
protoOf($serializer_9).bt = function () {
|
|
2824
2825
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2834,20 +2835,20 @@
|
|
|
2834
2835
|
}
|
|
2835
2836
|
function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
|
|
2836
2837
|
if (!(0 === (0 & seen0))) {
|
|
2837
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().
|
|
2838
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().y1j_1);
|
|
2838
2839
|
}
|
|
2839
2840
|
if (0 === (seen0 & 1))
|
|
2840
|
-
$this.
|
|
2841
|
+
$this.a1k_1 = null;
|
|
2841
2842
|
else
|
|
2842
|
-
$this.
|
|
2843
|
+
$this.a1k_1 = durationInMins;
|
|
2843
2844
|
if (0 === (seen0 & 2))
|
|
2844
|
-
$this.
|
|
2845
|
+
$this.b1k_1 = null;
|
|
2845
2846
|
else
|
|
2846
|
-
$this.
|
|
2847
|
+
$this.b1k_1 = qualifier;
|
|
2847
2848
|
if (0 === (seen0 & 4))
|
|
2848
|
-
$this.
|
|
2849
|
+
$this.c1k_1 = null;
|
|
2849
2850
|
else
|
|
2850
|
-
$this.
|
|
2851
|
+
$this.c1k_1 = text;
|
|
2851
2852
|
return $this;
|
|
2852
2853
|
}
|
|
2853
2854
|
function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
|
|
@@ -2857,17 +2858,17 @@
|
|
|
2857
2858
|
durationInMins = durationInMins === VOID ? null : durationInMins;
|
|
2858
2859
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
2859
2860
|
text = text === VOID ? null : text;
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2862
|
-
this.
|
|
2861
|
+
this.a1k_1 = durationInMins;
|
|
2862
|
+
this.b1k_1 = qualifier;
|
|
2863
|
+
this.c1k_1 = text;
|
|
2863
2864
|
}
|
|
2864
2865
|
protoOf(Timing).toString = function () {
|
|
2865
|
-
return 'Timing(durationInMins=' + toString(this.
|
|
2866
|
+
return 'Timing(durationInMins=' + toString(this.a1k_1) + ', qualifier=' + this.b1k_1 + ', text=' + this.c1k_1 + ')';
|
|
2866
2867
|
};
|
|
2867
2868
|
protoOf(Timing).hashCode = function () {
|
|
2868
|
-
var result = this.
|
|
2869
|
-
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();
|
|
2870
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;
|
|
2871
2872
|
return result;
|
|
2872
2873
|
};
|
|
2873
2874
|
protoOf(Timing).equals = function (other) {
|
|
@@ -2875,29 +2876,29 @@
|
|
|
2875
2876
|
return true;
|
|
2876
2877
|
if (!(other instanceof Timing))
|
|
2877
2878
|
return false;
|
|
2878
|
-
if (!equals(this.
|
|
2879
|
-
return false;
|
|
2880
|
-
if (!(this.a1k_1 == other.a1k_1))
|
|
2879
|
+
if (!equals(this.a1k_1, other.a1k_1))
|
|
2881
2880
|
return false;
|
|
2882
2881
|
if (!(this.b1k_1 == other.b1k_1))
|
|
2883
2882
|
return false;
|
|
2883
|
+
if (!(this.c1k_1 == other.c1k_1))
|
|
2884
|
+
return false;
|
|
2884
2885
|
return true;
|
|
2885
2886
|
};
|
|
2886
2887
|
function ParsedTemplate(elements) {
|
|
2887
|
-
this.
|
|
2888
|
+
this.k1g_1 = elements;
|
|
2888
2889
|
}
|
|
2889
2890
|
protoOf(ParsedTemplate).toString = function () {
|
|
2890
|
-
return 'ParsedTemplate(elements=' + toString_0(this.
|
|
2891
|
+
return 'ParsedTemplate(elements=' + toString_0(this.k1g_1) + ')';
|
|
2891
2892
|
};
|
|
2892
2893
|
protoOf(ParsedTemplate).hashCode = function () {
|
|
2893
|
-
return hashCode(this.
|
|
2894
|
+
return hashCode(this.k1g_1);
|
|
2894
2895
|
};
|
|
2895
2896
|
protoOf(ParsedTemplate).equals = function (other) {
|
|
2896
2897
|
if (this === other)
|
|
2897
2898
|
return true;
|
|
2898
2899
|
if (!(other instanceof ParsedTemplate))
|
|
2899
2900
|
return false;
|
|
2900
|
-
if (!equals(this.
|
|
2901
|
+
if (!equals(this.k1g_1, other.k1g_1))
|
|
2901
2902
|
return false;
|
|
2902
2903
|
return true;
|
|
2903
2904
|
};
|
|
@@ -2916,8 +2917,8 @@
|
|
|
2916
2917
|
var _iterator__ex2g4s = pattern.xa(template).q();
|
|
2917
2918
|
while (_iterator__ex2g4s.r()) {
|
|
2918
2919
|
var element = _iterator__ex2g4s.s();
|
|
2919
|
-
if (element.za().
|
|
2920
|
-
var textPart = substring(template, lastEnd, element.za().
|
|
2920
|
+
if (element.za().h1_1 > lastEnd) {
|
|
2921
|
+
var textPart = substring(template, lastEnd, element.za().h1_1);
|
|
2921
2922
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
2922
2923
|
if (charSequenceLength(textPart) > 0) {
|
|
2923
2924
|
parts.u(new TemplateConst(textPart));
|
|
@@ -2925,7 +2926,7 @@
|
|
|
2925
2926
|
}
|
|
2926
2927
|
try {
|
|
2927
2928
|
var jsonObj = get_jsonObject(Default_getInstance().e12(element.g2()));
|
|
2928
|
-
if (jsonObj.k2().
|
|
2929
|
+
if (jsonObj.k2().b1('min')) {
|
|
2929
2930
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2930
2931
|
var this_0 = get_tolerantJson();
|
|
2931
2932
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
@@ -2957,7 +2958,7 @@
|
|
|
2957
2958
|
throw $p;
|
|
2958
2959
|
}
|
|
2959
2960
|
}
|
|
2960
|
-
lastEnd = element.za().
|
|
2961
|
+
lastEnd = element.za().i1_1 + 1 | 0;
|
|
2961
2962
|
}
|
|
2962
2963
|
if (lastEnd < template.length) {
|
|
2963
2964
|
var remaining = substring_0(template, lastEnd);
|
|
@@ -2991,12 +2992,12 @@
|
|
|
2991
2992
|
protoOf(TemplateConst).fd = function () {
|
|
2992
2993
|
return this.value;
|
|
2993
2994
|
};
|
|
2994
|
-
protoOf(TemplateConst).
|
|
2995
|
+
protoOf(TemplateConst).d1k = function (value) {
|
|
2995
2996
|
return new TemplateConst(value);
|
|
2996
2997
|
};
|
|
2997
2998
|
protoOf(TemplateConst).copy = function (value, $super) {
|
|
2998
2999
|
value = value === VOID ? this.value : value;
|
|
2999
|
-
return $super === VOID ? this.
|
|
3000
|
+
return $super === VOID ? this.d1k(value) : $super.d1k.call(this, value);
|
|
3000
3001
|
};
|
|
3001
3002
|
protoOf(TemplateConst).toString = function () {
|
|
3002
3003
|
return 'TemplateConst(value=' + this.value + ')';
|
|
@@ -3028,10 +3029,10 @@
|
|
|
3028
3029
|
tmp0_serialDesc.zs('scale', true);
|
|
3029
3030
|
tmp0_serialDesc.zs('ingredient', true);
|
|
3030
3031
|
tmp0_serialDesc.zs('usCust', true);
|
|
3031
|
-
this.
|
|
3032
|
+
this.e1k_1 = tmp0_serialDesc;
|
|
3032
3033
|
}
|
|
3033
|
-
protoOf($serializer_10).
|
|
3034
|
-
var tmp0_desc = this.
|
|
3034
|
+
protoOf($serializer_10).f1k = function (encoder, value) {
|
|
3035
|
+
var tmp0_desc = this.e1k_1;
|
|
3035
3036
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3036
3037
|
tmp1_output.bn(tmp0_desc, 0, value.min);
|
|
3037
3038
|
if (tmp1_output.mn(tmp0_desc, 1) ? true : !(value.max == null)) {
|
|
@@ -3052,10 +3053,10 @@
|
|
|
3052
3053
|
tmp1_output.rl(tmp0_desc);
|
|
3053
3054
|
};
|
|
3054
3055
|
protoOf($serializer_10).ti = function (encoder, value) {
|
|
3055
|
-
return this.
|
|
3056
|
+
return this.f1k(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
|
|
3056
3057
|
};
|
|
3057
3058
|
protoOf($serializer_10).ui = function (decoder) {
|
|
3058
|
-
var tmp0_desc = this.
|
|
3059
|
+
var tmp0_desc = this.e1k_1;
|
|
3059
3060
|
var tmp1_flag = true;
|
|
3060
3061
|
var tmp2_index = 0;
|
|
3061
3062
|
var tmp3_bitMask0 = 0;
|
|
@@ -3118,7 +3119,7 @@
|
|
|
3118
3119
|
return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
3119
3120
|
};
|
|
3120
3121
|
protoOf($serializer_10).si = function () {
|
|
3121
|
-
return this.
|
|
3122
|
+
return this.e1k_1;
|
|
3122
3123
|
};
|
|
3123
3124
|
protoOf($serializer_10).bt = function () {
|
|
3124
3125
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3134,7 +3135,7 @@
|
|
|
3134
3135
|
}
|
|
3135
3136
|
function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
|
|
3136
3137
|
if (!(1 === (1 & seen0))) {
|
|
3137
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().
|
|
3138
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().e1k_1);
|
|
3138
3139
|
}
|
|
3139
3140
|
$this.min = min;
|
|
3140
3141
|
if (0 === (seen0 & 2))
|
|
@@ -3175,22 +3176,22 @@
|
|
|
3175
3176
|
this.ingredient = ingredient;
|
|
3176
3177
|
this.usCust = usCust;
|
|
3177
3178
|
}
|
|
3178
|
-
protoOf(QuantityPlaceholder).
|
|
3179
|
+
protoOf(QuantityPlaceholder).g1k = function () {
|
|
3179
3180
|
return this.min;
|
|
3180
3181
|
};
|
|
3181
|
-
protoOf(QuantityPlaceholder).
|
|
3182
|
+
protoOf(QuantityPlaceholder).h1k = function () {
|
|
3182
3183
|
return this.max;
|
|
3183
3184
|
};
|
|
3184
|
-
protoOf(QuantityPlaceholder).
|
|
3185
|
+
protoOf(QuantityPlaceholder).i1k = function () {
|
|
3185
3186
|
return this.unit;
|
|
3186
3187
|
};
|
|
3187
|
-
protoOf(QuantityPlaceholder).
|
|
3188
|
+
protoOf(QuantityPlaceholder).j1k = function () {
|
|
3188
3189
|
return this.scale;
|
|
3189
3190
|
};
|
|
3190
|
-
protoOf(QuantityPlaceholder).
|
|
3191
|
+
protoOf(QuantityPlaceholder).k1k = function () {
|
|
3191
3192
|
return this.ingredient;
|
|
3192
3193
|
};
|
|
3193
|
-
protoOf(QuantityPlaceholder).
|
|
3194
|
+
protoOf(QuantityPlaceholder).l1k = function () {
|
|
3194
3195
|
return this.usCust;
|
|
3195
3196
|
};
|
|
3196
3197
|
protoOf(QuantityPlaceholder).fd = function () {
|
|
@@ -3199,19 +3200,19 @@
|
|
|
3199
3200
|
protoOf(QuantityPlaceholder).gd = function () {
|
|
3200
3201
|
return this.max;
|
|
3201
3202
|
};
|
|
3202
|
-
protoOf(QuantityPlaceholder).
|
|
3203
|
+
protoOf(QuantityPlaceholder).m1k = function () {
|
|
3203
3204
|
return this.unit;
|
|
3204
3205
|
};
|
|
3205
|
-
protoOf(QuantityPlaceholder).
|
|
3206
|
+
protoOf(QuantityPlaceholder).n1k = function () {
|
|
3206
3207
|
return this.scale;
|
|
3207
3208
|
};
|
|
3208
|
-
protoOf(QuantityPlaceholder).
|
|
3209
|
+
protoOf(QuantityPlaceholder).o1k = function () {
|
|
3209
3210
|
return this.ingredient;
|
|
3210
3211
|
};
|
|
3211
|
-
protoOf(QuantityPlaceholder).
|
|
3212
|
+
protoOf(QuantityPlaceholder).p1k = function () {
|
|
3212
3213
|
return this.usCust;
|
|
3213
3214
|
};
|
|
3214
|
-
protoOf(QuantityPlaceholder).
|
|
3215
|
+
protoOf(QuantityPlaceholder).q1k = function (min, max, unit, scale, ingredient, usCust) {
|
|
3215
3216
|
return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
|
|
3216
3217
|
};
|
|
3217
3218
|
protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
|
|
@@ -3221,7 +3222,7 @@
|
|
|
3221
3222
|
scale = scale === VOID ? this.scale : scale;
|
|
3222
3223
|
ingredient = ingredient === VOID ? this.ingredient : ingredient;
|
|
3223
3224
|
usCust = usCust === VOID ? this.usCust : usCust;
|
|
3224
|
-
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);
|
|
3225
3226
|
};
|
|
3226
3227
|
protoOf(QuantityPlaceholder).toString = function () {
|
|
3227
3228
|
return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
|
|
@@ -3267,10 +3268,10 @@
|
|
|
3267
3268
|
tmp0_serialDesc.zs('temperatureFanC', true);
|
|
3268
3269
|
tmp0_serialDesc.zs('temperatureF', true);
|
|
3269
3270
|
tmp0_serialDesc.zs('gasMark', true);
|
|
3270
|
-
this.
|
|
3271
|
+
this.r1k_1 = tmp0_serialDesc;
|
|
3271
3272
|
}
|
|
3272
|
-
protoOf($serializer_11).
|
|
3273
|
-
var tmp0_desc = this.
|
|
3273
|
+
protoOf($serializer_11).s1k = function (encoder, value) {
|
|
3274
|
+
var tmp0_desc = this.r1k_1;
|
|
3274
3275
|
var tmp1_output = encoder.ql(tmp0_desc);
|
|
3275
3276
|
if (tmp1_output.mn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
|
|
3276
3277
|
tmp1_output.in(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
|
|
@@ -3287,10 +3288,10 @@
|
|
|
3287
3288
|
tmp1_output.rl(tmp0_desc);
|
|
3288
3289
|
};
|
|
3289
3290
|
protoOf($serializer_11).ti = function (encoder, value) {
|
|
3290
|
-
return this.
|
|
3291
|
+
return this.s1k(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
|
|
3291
3292
|
};
|
|
3292
3293
|
protoOf($serializer_11).ui = function (decoder) {
|
|
3293
|
-
var tmp0_desc = this.
|
|
3294
|
+
var tmp0_desc = this.r1k_1;
|
|
3294
3295
|
var tmp1_flag = true;
|
|
3295
3296
|
var tmp2_index = 0;
|
|
3296
3297
|
var tmp3_bitMask0 = 0;
|
|
@@ -3339,7 +3340,7 @@
|
|
|
3339
3340
|
return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3340
3341
|
};
|
|
3341
3342
|
protoOf($serializer_11).si = function () {
|
|
3342
|
-
return this.
|
|
3343
|
+
return this.r1k_1;
|
|
3343
3344
|
};
|
|
3344
3345
|
protoOf($serializer_11).bt = function () {
|
|
3345
3346
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3355,7 +3356,7 @@
|
|
|
3355
3356
|
}
|
|
3356
3357
|
function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
|
|
3357
3358
|
if (!(0 === (0 & seen0))) {
|
|
3358
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().
|
|
3359
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().r1k_1);
|
|
3359
3360
|
}
|
|
3360
3361
|
if (0 === (seen0 & 1))
|
|
3361
3362
|
$this.temperatureC = null;
|
|
@@ -3388,16 +3389,16 @@
|
|
|
3388
3389
|
this.temperatureF = temperatureF;
|
|
3389
3390
|
this.gasMark = gasMark;
|
|
3390
3391
|
}
|
|
3391
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3392
|
+
protoOf(OvenTemperaturePlaceholder).t1k = function () {
|
|
3392
3393
|
return this.temperatureC;
|
|
3393
3394
|
};
|
|
3394
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3395
|
+
protoOf(OvenTemperaturePlaceholder).u1k = function () {
|
|
3395
3396
|
return this.temperatureFanC;
|
|
3396
3397
|
};
|
|
3397
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3398
|
+
protoOf(OvenTemperaturePlaceholder).v1k = function () {
|
|
3398
3399
|
return this.temperatureF;
|
|
3399
3400
|
};
|
|
3400
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3401
|
+
protoOf(OvenTemperaturePlaceholder).w1k = function () {
|
|
3401
3402
|
return this.gasMark;
|
|
3402
3403
|
};
|
|
3403
3404
|
protoOf(OvenTemperaturePlaceholder).fd = function () {
|
|
@@ -3406,13 +3407,13 @@
|
|
|
3406
3407
|
protoOf(OvenTemperaturePlaceholder).gd = function () {
|
|
3407
3408
|
return this.temperatureFanC;
|
|
3408
3409
|
};
|
|
3409
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3410
|
+
protoOf(OvenTemperaturePlaceholder).m1k = function () {
|
|
3410
3411
|
return this.temperatureF;
|
|
3411
3412
|
};
|
|
3412
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3413
|
+
protoOf(OvenTemperaturePlaceholder).n1k = function () {
|
|
3413
3414
|
return this.gasMark;
|
|
3414
3415
|
};
|
|
3415
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3416
|
+
protoOf(OvenTemperaturePlaceholder).x1k = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
|
|
3416
3417
|
return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3417
3418
|
};
|
|
3418
3419
|
protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
|
|
@@ -3420,7 +3421,7 @@
|
|
|
3420
3421
|
temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
|
|
3421
3422
|
temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
|
|
3422
3423
|
gasMark = gasMark === VOID ? this.gasMark : gasMark;
|
|
3423
|
-
return $super === VOID ? this.
|
|
3424
|
+
return $super === VOID ? this.x1k(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.x1k.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3424
3425
|
};
|
|
3425
3426
|
protoOf(OvenTemperaturePlaceholder).toString = function () {
|
|
3426
3427
|
return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
|
|
@@ -3505,25 +3506,25 @@
|
|
|
3505
3506
|
Enum.call(this, name, ordinal);
|
|
3506
3507
|
}
|
|
3507
3508
|
function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
|
|
3508
|
-
this.
|
|
3509
|
-
this.
|
|
3510
|
-
this.
|
|
3511
|
-
this.
|
|
3512
|
-
this.
|
|
3513
|
-
this.
|
|
3514
|
-
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;
|
|
3515
3516
|
}
|
|
3516
3517
|
protoOf(MeasurementUnit).toString = function () {
|
|
3517
|
-
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 + ')';
|
|
3518
3519
|
};
|
|
3519
3520
|
protoOf(MeasurementUnit).hashCode = function () {
|
|
3520
|
-
var result = getStringHashCode(this.
|
|
3521
|
-
result = imul(result, 31) + getStringHashCode(this.b1g_1) | 0;
|
|
3521
|
+
var result = getStringHashCode(this.b1g_1);
|
|
3522
3522
|
result = imul(result, 31) + getStringHashCode(this.c1g_1) | 0;
|
|
3523
3523
|
result = imul(result, 31) + getStringHashCode(this.d1g_1) | 0;
|
|
3524
|
-
result = imul(result, 31) + (this.e1g_1
|
|
3525
|
-
result = imul(result, 31) +
|
|
3526
|
-
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;
|
|
3527
3528
|
return result;
|
|
3528
3529
|
};
|
|
3529
3530
|
protoOf(MeasurementUnit).equals = function (other) {
|
|
@@ -3531,20 +3532,20 @@
|
|
|
3531
3532
|
return true;
|
|
3532
3533
|
if (!(other instanceof MeasurementUnit))
|
|
3533
3534
|
return false;
|
|
3534
|
-
if (!(this.a1g_1 === other.a1g_1))
|
|
3535
|
-
return false;
|
|
3536
3535
|
if (!(this.b1g_1 === other.b1g_1))
|
|
3537
3536
|
return false;
|
|
3538
3537
|
if (!(this.c1g_1 === other.c1g_1))
|
|
3539
3538
|
return false;
|
|
3540
3539
|
if (!(this.d1g_1 === other.d1g_1))
|
|
3541
3540
|
return false;
|
|
3542
|
-
if (!
|
|
3541
|
+
if (!(this.e1g_1 === other.e1g_1))
|
|
3543
3542
|
return false;
|
|
3544
3543
|
if (!equals(this.f1g_1, other.f1g_1))
|
|
3545
3544
|
return false;
|
|
3546
3545
|
if (!equals(this.g1g_1, other.g1g_1))
|
|
3547
3546
|
return false;
|
|
3547
|
+
if (!equals(this.h1g_1, other.h1g_1))
|
|
3548
|
+
return false;
|
|
3548
3549
|
return true;
|
|
3549
3550
|
};
|
|
3550
3551
|
function Units() {
|
|
@@ -3556,20 +3557,20 @@
|
|
|
3556
3557
|
this.n1e_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3557
3558
|
this.o1e_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3558
3559
|
this.p1e_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 28.3495);
|
|
3559
|
-
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);
|
|
3560
3561
|
this.r1e_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3561
3562
|
this.s1e_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3562
3563
|
this.t1e_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3563
3564
|
this.u1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 5.0);
|
|
3564
3565
|
this.v1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 15.0);
|
|
3565
3566
|
this.w1e_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4.9289);
|
|
3566
|
-
this.x1e_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 3 * this.w1e_1.
|
|
3567
|
-
this.y1e_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf_0(Imperial_instance), 6 * this.w1e_1.
|
|
3568
|
-
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);
|
|
3569
3570
|
this.a1f_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 250.0);
|
|
3570
|
-
this.b1f_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.z1e_1.
|
|
3571
|
-
this.c1f_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.b1f_1.
|
|
3572
|
-
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);
|
|
3573
3574
|
this.e1f_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3574
3575
|
this.f1f_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3575
3576
|
this.g1f_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf_0(Imperial_instance), 25.4);
|
|
@@ -3582,7 +3583,7 @@
|
|
|
3582
3583
|
var _iterator__ex2g4s = tmp0.q();
|
|
3583
3584
|
while (_iterator__ex2g4s.r()) {
|
|
3584
3585
|
var element = _iterator__ex2g4s.s();
|
|
3585
|
-
if (element.
|
|
3586
|
+
if (element.g1g_1.b1(Metric_instance)) {
|
|
3586
3587
|
destination.u(element);
|
|
3587
3588
|
}
|
|
3588
3589
|
}
|
|
@@ -3594,7 +3595,7 @@
|
|
|
3594
3595
|
var _iterator__ex2g4s_0 = destination.q();
|
|
3595
3596
|
while (_iterator__ex2g4s_0.r()) {
|
|
3596
3597
|
var element_0 = _iterator__ex2g4s_0.s();
|
|
3597
|
-
var tmp$ret$7 = element_0.
|
|
3598
|
+
var tmp$ret$7 = element_0.d1g_1;
|
|
3598
3599
|
destination_0.n2(tmp$ret$7, element_0);
|
|
3599
3600
|
}
|
|
3600
3601
|
var tmp_1 = destination_0;
|
|
@@ -3605,7 +3606,7 @@
|
|
|
3605
3606
|
var _iterator__ex2g4s_1 = destination.q();
|
|
3606
3607
|
while (_iterator__ex2g4s_1.r()) {
|
|
3607
3608
|
var element_1 = _iterator__ex2g4s_1.s();
|
|
3608
|
-
var tmp$ret$10 = element_1.
|
|
3609
|
+
var tmp$ret$10 = element_1.e1g_1;
|
|
3609
3610
|
destination_1.n2(tmp$ret$10, element_1);
|
|
3610
3611
|
}
|
|
3611
3612
|
var tmp_2 = plus(tmp_1, destination_1);
|
|
@@ -3616,7 +3617,7 @@
|
|
|
3616
3617
|
var _iterator__ex2g4s_2 = destination.q();
|
|
3617
3618
|
while (_iterator__ex2g4s_2.r()) {
|
|
3618
3619
|
var element_2 = _iterator__ex2g4s_2.s();
|
|
3619
|
-
var tmp$ret$13 = element_2.
|
|
3620
|
+
var tmp$ret$13 = element_2.b1g_1;
|
|
3620
3621
|
destination_2.n2(tmp$ret$13, element_2);
|
|
3621
3622
|
}
|
|
3622
3623
|
var tmp_3 = plus(tmp_2, destination_2);
|
|
@@ -3627,7 +3628,7 @@
|
|
|
3627
3628
|
var _iterator__ex2g4s_3 = destination.q();
|
|
3628
3629
|
while (_iterator__ex2g4s_3.r()) {
|
|
3629
3630
|
var element_3 = _iterator__ex2g4s_3.s();
|
|
3630
|
-
var tmp$ret$16 = element_3.
|
|
3631
|
+
var tmp$ret$16 = element_3.c1g_1;
|
|
3631
3632
|
destination_3.n2(tmp$ret$16, element_3);
|
|
3632
3633
|
}
|
|
3633
3634
|
tmp_0.i1f_1 = plus(tmp_3, destination_3);
|
|
@@ -3639,7 +3640,7 @@
|
|
|
3639
3640
|
var _iterator__ex2g4s_4 = tmp0_0.q();
|
|
3640
3641
|
while (_iterator__ex2g4s_4.r()) {
|
|
3641
3642
|
var element_4 = _iterator__ex2g4s_4.s();
|
|
3642
|
-
if (element_4.
|
|
3643
|
+
if (element_4.g1g_1.b1(Imperial_instance)) {
|
|
3643
3644
|
destination_4.u(element_4);
|
|
3644
3645
|
}
|
|
3645
3646
|
}
|
|
@@ -3651,7 +3652,7 @@
|
|
|
3651
3652
|
var _iterator__ex2g4s_5 = destination_4.q();
|
|
3652
3653
|
while (_iterator__ex2g4s_5.r()) {
|
|
3653
3654
|
var element_5 = _iterator__ex2g4s_5.s();
|
|
3654
|
-
var tmp$ret$24 = element_5.
|
|
3655
|
+
var tmp$ret$24 = element_5.d1g_1;
|
|
3655
3656
|
destination_5.n2(tmp$ret$24, element_5);
|
|
3656
3657
|
}
|
|
3657
3658
|
var tmp_5 = destination_5;
|
|
@@ -3662,7 +3663,7 @@
|
|
|
3662
3663
|
var _iterator__ex2g4s_6 = destination_4.q();
|
|
3663
3664
|
while (_iterator__ex2g4s_6.r()) {
|
|
3664
3665
|
var element_6 = _iterator__ex2g4s_6.s();
|
|
3665
|
-
var tmp$ret$27 = element_6.
|
|
3666
|
+
var tmp$ret$27 = element_6.e1g_1;
|
|
3666
3667
|
destination_6.n2(tmp$ret$27, element_6);
|
|
3667
3668
|
}
|
|
3668
3669
|
var tmp_6 = plus(tmp_5, destination_6);
|
|
@@ -3673,7 +3674,7 @@
|
|
|
3673
3674
|
var _iterator__ex2g4s_7 = destination_4.q();
|
|
3674
3675
|
while (_iterator__ex2g4s_7.r()) {
|
|
3675
3676
|
var element_7 = _iterator__ex2g4s_7.s();
|
|
3676
|
-
var tmp$ret$30 = element_7.
|
|
3677
|
+
var tmp$ret$30 = element_7.b1g_1;
|
|
3677
3678
|
destination_7.n2(tmp$ret$30, element_7);
|
|
3678
3679
|
}
|
|
3679
3680
|
var tmp_7 = plus(tmp_6, destination_7);
|
|
@@ -3684,7 +3685,7 @@
|
|
|
3684
3685
|
var _iterator__ex2g4s_8 = destination_4.q();
|
|
3685
3686
|
while (_iterator__ex2g4s_8.r()) {
|
|
3686
3687
|
var element_8 = _iterator__ex2g4s_8.s();
|
|
3687
|
-
var tmp$ret$33 = element_8.
|
|
3688
|
+
var tmp$ret$33 = element_8.c1g_1;
|
|
3688
3689
|
destination_8.n2(tmp$ret$33, element_8);
|
|
3689
3690
|
}
|
|
3690
3691
|
tmp_4.j1f_1 = plus(tmp_7, destination_8);
|
|
@@ -3696,7 +3697,7 @@
|
|
|
3696
3697
|
var _iterator__ex2g4s_9 = tmp0_1.q();
|
|
3697
3698
|
while (_iterator__ex2g4s_9.r()) {
|
|
3698
3699
|
var element_9 = _iterator__ex2g4s_9.s();
|
|
3699
|
-
if (element_9.
|
|
3700
|
+
if (element_9.g1g_1.b1(USCustomary_instance)) {
|
|
3700
3701
|
destination_9.u(element_9);
|
|
3701
3702
|
}
|
|
3702
3703
|
}
|
|
@@ -3708,7 +3709,7 @@
|
|
|
3708
3709
|
var _iterator__ex2g4s_10 = destination_9.q();
|
|
3709
3710
|
while (_iterator__ex2g4s_10.r()) {
|
|
3710
3711
|
var element_10 = _iterator__ex2g4s_10.s();
|
|
3711
|
-
var tmp$ret$41 = element_10.
|
|
3712
|
+
var tmp$ret$41 = element_10.d1g_1;
|
|
3712
3713
|
destination_10.n2(tmp$ret$41, element_10);
|
|
3713
3714
|
}
|
|
3714
3715
|
var tmp_9 = destination_10;
|
|
@@ -3719,7 +3720,7 @@
|
|
|
3719
3720
|
var _iterator__ex2g4s_11 = destination_9.q();
|
|
3720
3721
|
while (_iterator__ex2g4s_11.r()) {
|
|
3721
3722
|
var element_11 = _iterator__ex2g4s_11.s();
|
|
3722
|
-
var tmp$ret$44 = element_11.
|
|
3723
|
+
var tmp$ret$44 = element_11.e1g_1;
|
|
3723
3724
|
destination_11.n2(tmp$ret$44, element_11);
|
|
3724
3725
|
}
|
|
3725
3726
|
var tmp_10 = plus(tmp_9, destination_11);
|
|
@@ -3730,7 +3731,7 @@
|
|
|
3730
3731
|
var _iterator__ex2g4s_12 = destination_9.q();
|
|
3731
3732
|
while (_iterator__ex2g4s_12.r()) {
|
|
3732
3733
|
var element_12 = _iterator__ex2g4s_12.s();
|
|
3733
|
-
var tmp$ret$47 = element_12.
|
|
3734
|
+
var tmp$ret$47 = element_12.b1g_1;
|
|
3734
3735
|
destination_12.n2(tmp$ret$47, element_12);
|
|
3735
3736
|
}
|
|
3736
3737
|
var tmp_11 = plus(tmp_10, destination_12);
|
|
@@ -3741,7 +3742,7 @@
|
|
|
3741
3742
|
var _iterator__ex2g4s_13 = destination_9.q();
|
|
3742
3743
|
while (_iterator__ex2g4s_13.r()) {
|
|
3743
3744
|
var element_13 = _iterator__ex2g4s_13.s();
|
|
3744
|
-
var tmp$ret$50 = element_13.
|
|
3745
|
+
var tmp$ret$50 = element_13.c1g_1;
|
|
3745
3746
|
destination_13.n2(tmp$ret$50, element_13);
|
|
3746
3747
|
}
|
|
3747
3748
|
tmp_8.k1f_1 = plus(tmp_11, destination_13);
|
|
@@ -3784,24 +3785,36 @@
|
|
|
3784
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)]);
|
|
3785
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)]);
|
|
3786
3787
|
this.v1f_1 = listOf_0(to(0.0, Units_getInstance().m1e_1));
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
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)]);
|
|
3790
3803
|
}
|
|
3791
|
-
protoOf(UnitConversions).
|
|
3804
|
+
protoOf(UnitConversions).y1k = function (amount) {
|
|
3792
3805
|
var tmp;
|
|
3793
3806
|
if (!(amount.b1e_1 == null)) {
|
|
3794
|
-
var tmp_0 = amount.z1d_1 * amount.b1e_1.
|
|
3807
|
+
var tmp_0 = amount.z1d_1 * amount.b1e_1.h1g_1;
|
|
3795
3808
|
var tmp0_safe_receiver = amount.a1e_1;
|
|
3796
3809
|
var tmp_1;
|
|
3797
3810
|
if (tmp0_safe_receiver == null) {
|
|
3798
3811
|
tmp_1 = null;
|
|
3799
3812
|
} else {
|
|
3800
3813
|
// Inline function 'kotlin.let' call
|
|
3801
|
-
tmp_1 = tmp0_safe_receiver * amount.b1e_1.
|
|
3814
|
+
tmp_1 = tmp0_safe_receiver * amount.b1e_1.h1g_1;
|
|
3802
3815
|
}
|
|
3803
3816
|
var tmp_2 = tmp_1;
|
|
3804
|
-
var tmp1_subject = amount.b1e_1.
|
|
3817
|
+
var tmp1_subject = amount.b1e_1.f1g_1;
|
|
3805
3818
|
var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.r2_1;
|
|
3806
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);
|
|
3807
3820
|
} else {
|
|
@@ -3809,7 +3822,7 @@
|
|
|
3809
3822
|
}
|
|
3810
3823
|
return tmp;
|
|
3811
3824
|
};
|
|
3812
|
-
protoOf(UnitConversions).
|
|
3825
|
+
protoOf(UnitConversions).a1g = function (amount, target, factor, density) {
|
|
3813
3826
|
var tmp = amount.z1d_1 * factor;
|
|
3814
3827
|
var tmp0_safe_receiver = amount.a1e_1;
|
|
3815
3828
|
var tmp_0;
|
|
@@ -3823,7 +3836,7 @@
|
|
|
3823
3836
|
if (scaledAmount.b1e_1 == null || (equals(target, Metric_instance) && factor === 1.0)) {
|
|
3824
3837
|
return scaledAmount;
|
|
3825
3838
|
}
|
|
3826
|
-
var smallestUnitAmount = this.
|
|
3839
|
+
var smallestUnitAmount = this.y1k(scaledAmount);
|
|
3827
3840
|
var tmp_1;
|
|
3828
3841
|
if (equals(target, Metric_instance)) {
|
|
3829
3842
|
tmp_1 = contains(this.s1f_1, amount.b1e_1) ? this.t1f_1 : this.u1f_1;
|
|
@@ -3832,18 +3845,18 @@
|
|
|
3832
3845
|
var tmp_3;
|
|
3833
3846
|
if (amount.c1e_1 === true) {
|
|
3834
3847
|
var tmp2_safe_receiver = amount.b1e_1;
|
|
3835
|
-
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());
|
|
3836
3849
|
} else {
|
|
3837
3850
|
tmp_3 = false;
|
|
3838
3851
|
}
|
|
3839
3852
|
if (tmp_3) {
|
|
3840
|
-
tmp_2 = this.
|
|
3853
|
+
tmp_2 = this.y1f_1;
|
|
3841
3854
|
} else {
|
|
3842
|
-
tmp_2 = this.
|
|
3855
|
+
tmp_2 = this.x1f_1;
|
|
3843
3856
|
}
|
|
3844
3857
|
tmp_1 = tmp_2;
|
|
3845
3858
|
} else if (equals(target, Imperial_instance)) {
|
|
3846
|
-
tmp_1 = this.
|
|
3859
|
+
tmp_1 = this.z1f_1;
|
|
3847
3860
|
} else if (equals(target, Butter_instance)) {
|
|
3848
3861
|
tmp_1 = this.v1f_1;
|
|
3849
3862
|
} else {
|
|
@@ -3858,7 +3871,7 @@
|
|
|
3858
3871
|
var tmp_6;
|
|
3859
3872
|
if (amount.c1e_1 === true && equals(target, USCustomary_instance) && !(density == null)) {
|
|
3860
3873
|
var tmp4_safe_receiver = amount.b1e_1;
|
|
3861
|
-
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());
|
|
3862
3875
|
} else {
|
|
3863
3876
|
tmp_6 = false;
|
|
3864
3877
|
}
|
|
@@ -3886,7 +3899,7 @@
|
|
|
3886
3899
|
while (_iterator__ex2g4s.r()) {
|
|
3887
3900
|
var element = _iterator__ex2g4s.s();
|
|
3888
3901
|
var tmp0_safe_receiver_0 = amountToConvert.b1e_1;
|
|
3889
|
-
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)) {
|
|
3890
3903
|
destination.u(element);
|
|
3891
3904
|
}
|
|
3892
3905
|
}
|
|
@@ -3910,14 +3923,14 @@
|
|
|
3910
3923
|
tmp_9 = null;
|
|
3911
3924
|
} else {
|
|
3912
3925
|
// Inline function 'kotlin.let' call
|
|
3913
|
-
var tmp_10 = amountToConvert.z1d_1 / mostRelevantUnit.
|
|
3926
|
+
var tmp_10 = amountToConvert.z1d_1 / mostRelevantUnit.h1g_1;
|
|
3914
3927
|
var tmp0_safe_receiver_1 = amountToConvert.a1e_1;
|
|
3915
3928
|
var tmp_11;
|
|
3916
3929
|
if (tmp0_safe_receiver_1 == null) {
|
|
3917
3930
|
tmp_11 = null;
|
|
3918
3931
|
} else {
|
|
3919
3932
|
// Inline function 'kotlin.let' call
|
|
3920
|
-
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.
|
|
3933
|
+
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.h1g_1;
|
|
3921
3934
|
}
|
|
3922
3935
|
tmp_9 = new Amount(tmp_10, tmp_11, mostRelevantUnit);
|
|
3923
3936
|
}
|
|
@@ -3982,7 +3995,7 @@
|
|
|
3982
3995
|
function parseTemplate_0(templateString) {
|
|
3983
3996
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
3984
3997
|
var parsedTemplate = parseTemplate(templateString);
|
|
3985
|
-
return parsedTemplate.
|
|
3998
|
+
return parsedTemplate.k1g_1;
|
|
3986
3999
|
}
|
|
3987
4000
|
function renderTemplate(templateElements, session, unit) {
|
|
3988
4001
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
@@ -4011,7 +4024,7 @@
|
|
|
4011
4024
|
}
|
|
4012
4025
|
var measuringSystem = tmp;
|
|
4013
4026
|
var template = new ParsedTemplate(templateElements);
|
|
4014
|
-
return session.
|
|
4027
|
+
return session.j1g(template, 1.0, measuringSystem);
|
|
4015
4028
|
}
|
|
4016
4029
|
function createTemplateSession(rawDensityData) {
|
|
4017
4030
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|