@guardian/feast-multiplatform-library 18.0.0 → 19.0.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.d.ts +1 -1
- package/kotlin/feast-multiplatform-library-library.js +1467 -1300
- package/kotlin/feast-multiplatform-library-library.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +191 -184
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1711 -1449
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1420 -1379
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,97 +3,99 @@
|
|
|
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.$_$.f8;
|
|
7
|
+
var toString = kotlin_kotlin.$_$.kb;
|
|
8
|
+
var getNumberHashCode = kotlin_kotlin.$_$.g7;
|
|
9
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.f7;
|
|
10
|
+
var equals = kotlin_kotlin.$_$.e7;
|
|
11
|
+
var initMetadataForClass = kotlin_kotlin.$_$.k7;
|
|
12
12
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.d3;
|
|
13
|
-
var numberToInt = kotlin_kotlin.$_$.
|
|
13
|
+
var numberToInt = kotlin_kotlin.$_$.d8;
|
|
14
14
|
var Unit_instance = kotlin_kotlin.$_$.n2;
|
|
15
|
-
var round = kotlin_kotlin.$_$.
|
|
16
|
-
var replace = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
18
|
-
var listOfNotNull = kotlin_kotlin.$_$.
|
|
19
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
20
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
15
|
+
var round = kotlin_kotlin.$_$.i8;
|
|
16
|
+
var replace = kotlin_kotlin.$_$.e9;
|
|
17
|
+
var initMetadataForObject = kotlin_kotlin.$_$.p7;
|
|
18
|
+
var listOfNotNull = kotlin_kotlin.$_$.f5;
|
|
19
|
+
var joinToString = kotlin_kotlin.$_$.a5;
|
|
20
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.hb;
|
|
21
21
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.d4;
|
|
22
22
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p2;
|
|
23
23
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.d;
|
|
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.$_$.w6;
|
|
25
|
+
var indexOfAny = kotlin_kotlin.$_$.y8;
|
|
26
|
+
var take = kotlin_kotlin.$_$.m9;
|
|
27
|
+
var drop = kotlin_kotlin.$_$.w8;
|
|
28
|
+
var split = kotlin_kotlin.$_$.g9;
|
|
29
29
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.k;
|
|
30
30
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.h;
|
|
31
31
|
var Companion_instance = kotlin_kotlin.$_$.i2;
|
|
32
32
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.j;
|
|
33
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
34
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
35
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
33
|
+
var charSequenceLength = kotlin_kotlin.$_$.a7;
|
|
34
|
+
var isBlank = kotlin_kotlin.$_$.b9;
|
|
35
|
+
var startsWith = kotlin_kotlin.$_$.h9;
|
|
36
36
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
37
|
-
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
37
|
+
var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
38
38
|
var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
39
39
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.o2;
|
|
40
|
-
var lazy = kotlin_kotlin.$_$.
|
|
41
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
42
|
-
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
43
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
44
|
-
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
45
|
-
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
46
|
-
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
47
|
-
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
48
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
49
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
51
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
40
|
+
var lazy = kotlin_kotlin.$_$.fb;
|
|
41
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.l7;
|
|
42
|
+
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v1;
|
|
43
|
+
var THROW_CCE = kotlin_kotlin.$_$.na;
|
|
44
|
+
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p;
|
|
45
|
+
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
|
|
46
|
+
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
47
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
48
|
+
var objectCreate = kotlin_kotlin.$_$.e8;
|
|
49
|
+
var toString_0 = kotlin_kotlin.$_$.h8;
|
|
50
|
+
var getStringHashCode = kotlin_kotlin.$_$.i7;
|
|
51
|
+
var hashCode = kotlin_kotlin.$_$.j7;
|
|
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.$_$.
|
|
58
|
-
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
59
|
-
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
60
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
55
|
+
var getKClass = kotlin_kotlin.$_$.r8;
|
|
56
|
+
var arrayOf = kotlin_kotlin.$_$.ya;
|
|
57
|
+
var createKType = kotlin_kotlin.$_$.p8;
|
|
58
|
+
var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m2;
|
|
59
|
+
var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f2;
|
|
60
|
+
var isInterface = kotlin_kotlin.$_$.x7;
|
|
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
|
-
var mapCapacity = kotlin_kotlin.$_$.
|
|
65
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
64
|
+
var mapCapacity = kotlin_kotlin.$_$.i5;
|
|
65
|
+
var coerceAtLeast = kotlin_kotlin.$_$.k8;
|
|
66
66
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y2;
|
|
67
|
-
var to = kotlin_kotlin.$_$.
|
|
67
|
+
var to = kotlin_kotlin.$_$.lb;
|
|
68
68
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.g3;
|
|
69
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
70
|
-
var IndexOutOfBoundsException = kotlin_kotlin.$_$.
|
|
71
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
72
|
-
var IllegalArgumentException = kotlin_kotlin.$_$.
|
|
73
|
-
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
74
|
-
var SerializableWith = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
75
|
-
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
69
|
+
var createFailure = kotlin_kotlin.$_$.ab;
|
|
70
|
+
var IndexOutOfBoundsException = kotlin_kotlin.$_$.ja;
|
|
71
|
+
var ClassCastException = kotlin_kotlin.$_$.da;
|
|
72
|
+
var IllegalArgumentException = kotlin_kotlin.$_$.ia;
|
|
73
|
+
var SerializationException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.i2;
|
|
74
|
+
var SerializableWith = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.h2;
|
|
75
|
+
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s;
|
|
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
|
+
var createAnnotatedEnumSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
|
|
79
|
+
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
80
|
+
var Enum = kotlin_kotlin.$_$.ga;
|
|
78
81
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.q2;
|
|
79
|
-
var substring = kotlin_kotlin.$_$.
|
|
82
|
+
var substring = kotlin_kotlin.$_$.l9;
|
|
80
83
|
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.$_$.
|
|
84
|
+
var print = kotlin_kotlin.$_$.b6;
|
|
85
|
+
var Exception = kotlin_kotlin.$_$.ha;
|
|
86
|
+
var substring_0 = kotlin_kotlin.$_$.k9;
|
|
84
87
|
var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
|
|
85
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
86
|
-
var
|
|
87
|
-
var
|
|
88
|
-
var
|
|
89
|
-
var
|
|
90
|
-
var
|
|
91
|
-
var
|
|
92
|
-
var
|
|
93
|
-
var plus_0 = kotlin_kotlin.$_$.j5;
|
|
88
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.n7;
|
|
89
|
+
var setOf = kotlin_kotlin.$_$.p5;
|
|
90
|
+
var setOf_0 = kotlin_kotlin.$_$.o5;
|
|
91
|
+
var listOf = kotlin_kotlin.$_$.h5;
|
|
92
|
+
var plus = kotlin_kotlin.$_$.k5;
|
|
93
|
+
var emptySet = kotlin_kotlin.$_$.u4;
|
|
94
|
+
var listOf_0 = kotlin_kotlin.$_$.g5;
|
|
95
|
+
var plus_0 = kotlin_kotlin.$_$.m5;
|
|
94
96
|
var contains = kotlin_kotlin.$_$.e4;
|
|
95
97
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.j3;
|
|
96
|
-
var throwOnFailure = kotlin_kotlin.$_$.
|
|
98
|
+
var throwOnFailure = kotlin_kotlin.$_$.jb;
|
|
97
99
|
//endregion
|
|
98
100
|
//region block: pre-declaration
|
|
99
101
|
initMetadataForClass(Amount, 'Amount');
|
|
@@ -125,19 +127,21 @@
|
|
|
125
127
|
initMetadataForCompanion(Companion_5);
|
|
126
128
|
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
127
129
|
initMetadataForClass(Instruction, 'Instruction', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
128
|
-
initMetadataForCompanion(Companion_6);
|
|
130
|
+
initMetadataForCompanion(Companion_6, VOID, [SerializerFactory]);
|
|
131
|
+
initMetadataForClass(OriginalMeasuringSystem, 'OriginalMeasuringSystem', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
|
|
132
|
+
initMetadataForCompanion(Companion_7);
|
|
129
133
|
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
130
134
|
initMetadataForClass(Serves, 'Serves', Serves, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
131
|
-
initMetadataForCompanion(
|
|
135
|
+
initMetadataForCompanion(Companion_8);
|
|
132
136
|
initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
133
137
|
initMetadataForClass(Timing, 'Timing', Timing, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
134
138
|
initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
|
|
135
139
|
initMetadataForInterface(TemplateElement, 'TemplateElement');
|
|
136
140
|
initMetadataForClass(TemplateConst, 'TemplateConst', VOID, VOID, [TemplateElement]);
|
|
137
|
-
initMetadataForCompanion(
|
|
141
|
+
initMetadataForCompanion(Companion_9);
|
|
138
142
|
initMetadataForObject($serializer_10, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
139
143
|
initMetadataForClass(QuantityPlaceholder, 'QuantityPlaceholder', VOID, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_10});
|
|
140
|
-
initMetadataForCompanion(
|
|
144
|
+
initMetadataForCompanion(Companion_10);
|
|
141
145
|
initMetadataForObject($serializer_11, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
142
146
|
initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_11});
|
|
143
147
|
initMetadataForObject(Imperial, 'Imperial');
|
|
@@ -156,29 +160,29 @@
|
|
|
156
160
|
max = max === VOID ? null : max;
|
|
157
161
|
unit = unit === VOID ? null : unit;
|
|
158
162
|
usCust = usCust === VOID ? null : usCust;
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
161
|
-
this.
|
|
162
|
-
this.
|
|
163
|
+
this.c1f_1 = min;
|
|
164
|
+
this.d1f_1 = max;
|
|
165
|
+
this.e1f_1 = unit;
|
|
166
|
+
this.f1f_1 = usCust;
|
|
163
167
|
}
|
|
164
|
-
protoOf(Amount).
|
|
168
|
+
protoOf(Amount).g1f = function (min, max, unit, usCust) {
|
|
165
169
|
return new Amount(min, max, unit, usCust);
|
|
166
170
|
};
|
|
167
|
-
protoOf(Amount).
|
|
168
|
-
min = min === VOID ? this.
|
|
169
|
-
max = max === VOID ? this.
|
|
170
|
-
unit = unit === VOID ? this.
|
|
171
|
-
usCust = usCust === VOID ? this.
|
|
172
|
-
return $super === VOID ? this.
|
|
171
|
+
protoOf(Amount).h1f = function (min, max, unit, usCust, $super) {
|
|
172
|
+
min = min === VOID ? this.c1f_1 : min;
|
|
173
|
+
max = max === VOID ? this.d1f_1 : max;
|
|
174
|
+
unit = unit === VOID ? this.e1f_1 : unit;
|
|
175
|
+
usCust = usCust === VOID ? this.f1f_1 : usCust;
|
|
176
|
+
return $super === VOID ? this.g1f(min, max, unit, usCust) : $super.g1f.call(this, min, max, unit, usCust);
|
|
173
177
|
};
|
|
174
178
|
protoOf(Amount).toString = function () {
|
|
175
|
-
return 'Amount(min=' + this.
|
|
179
|
+
return 'Amount(min=' + this.c1f_1 + ', max=' + this.d1f_1 + ', unit=' + toString(this.e1f_1) + ', usCust=' + this.f1f_1 + ')';
|
|
176
180
|
};
|
|
177
181
|
protoOf(Amount).hashCode = function () {
|
|
178
|
-
var result = getNumberHashCode(this.
|
|
179
|
-
result = imul(result, 31) + (this.
|
|
180
|
-
result = imul(result, 31) + (this.
|
|
181
|
-
result = imul(result, 31) + (this.
|
|
182
|
+
var result = getNumberHashCode(this.c1f_1);
|
|
183
|
+
result = imul(result, 31) + (this.d1f_1 == null ? 0 : getNumberHashCode(this.d1f_1)) | 0;
|
|
184
|
+
result = imul(result, 31) + (this.e1f_1 == null ? 0 : this.e1f_1.hashCode()) | 0;
|
|
185
|
+
result = imul(result, 31) + (this.f1f_1 == null ? 0 : getBooleanHashCode(this.f1f_1)) | 0;
|
|
182
186
|
return result;
|
|
183
187
|
};
|
|
184
188
|
protoOf(Amount).equals = function (other) {
|
|
@@ -186,13 +190,13 @@
|
|
|
186
190
|
return true;
|
|
187
191
|
if (!(other instanceof Amount))
|
|
188
192
|
return false;
|
|
189
|
-
if (!equals(this.
|
|
193
|
+
if (!equals(this.c1f_1, other.c1f_1))
|
|
190
194
|
return false;
|
|
191
|
-
if (!equals(this.
|
|
195
|
+
if (!equals(this.d1f_1, other.d1f_1))
|
|
192
196
|
return false;
|
|
193
|
-
if (!equals(this.
|
|
197
|
+
if (!equals(this.e1f_1, other.e1f_1))
|
|
194
198
|
return false;
|
|
195
|
-
if (!(this.
|
|
199
|
+
if (!(this.f1f_1 == other.f1f_1))
|
|
196
200
|
return false;
|
|
197
201
|
return true;
|
|
198
202
|
};
|
|
@@ -201,9 +205,9 @@
|
|
|
201
205
|
}
|
|
202
206
|
function FormatUtils() {
|
|
203
207
|
FormatUtils_instance = this;
|
|
204
|
-
this.
|
|
208
|
+
this.i1f_1 = Regex_init_$Create$('(["])(.*?)(["])');
|
|
205
209
|
}
|
|
206
|
-
protoOf(FormatUtils).
|
|
210
|
+
protoOf(FormatUtils).j1f = function (number) {
|
|
207
211
|
if (number === 0.0)
|
|
208
212
|
return '0';
|
|
209
213
|
var integerPart = numberToInt(number);
|
|
@@ -211,9 +215,9 @@
|
|
|
211
215
|
var fractionalPart = number - integerPart;
|
|
212
216
|
return (0.0 <= fractionalPart ? fractionalPart <= 0.125 : false) ? integerPartStr : (0.125 <= fractionalPart ? fractionalPart <= 0.291667 : false) ? integerPartStr + '\xBC' : (0.291667 <= fractionalPart ? fractionalPart <= 0.416667 : false) ? integerPartStr + '\u2153' : (0.416667 <= fractionalPart ? fractionalPart <= 0.583333 : false) ? integerPartStr + '\xBD' : (0.583333 <= fractionalPart ? fractionalPart <= 0.708333 : false) ? integerPartStr + '\u2154' : (0.708333 <= fractionalPart ? fractionalPart <= 0.875 : false) ? integerPartStr + '\xBE' : '' + (integerPart + 1 | 0);
|
|
213
217
|
};
|
|
214
|
-
protoOf(FormatUtils).
|
|
218
|
+
protoOf(FormatUtils).k1f = function (number, decimals, fraction) {
|
|
215
219
|
if (fraction) {
|
|
216
|
-
return this.
|
|
220
|
+
return this.j1f(number);
|
|
217
221
|
} else {
|
|
218
222
|
var multiplier = 1.0;
|
|
219
223
|
// Inline function 'kotlin.repeat' call
|
|
@@ -235,8 +239,8 @@
|
|
|
235
239
|
return tmp;
|
|
236
240
|
}
|
|
237
241
|
};
|
|
238
|
-
protoOf(FormatUtils).
|
|
239
|
-
var withQuotes = this.
|
|
242
|
+
protoOf(FormatUtils).l1f = function (text) {
|
|
243
|
+
var withQuotes = this.i1f_1.za(text, FormatUtils$applySmartPunctuation$lambda);
|
|
240
244
|
return replace(replace(withQuotes, "'", '\u2019'), ' - ', ' \u2013 ');
|
|
241
245
|
};
|
|
242
246
|
var FormatUtils_instance;
|
|
@@ -251,9 +255,9 @@
|
|
|
251
255
|
}
|
|
252
256
|
var NON_BOLD_REGEX;
|
|
253
257
|
function TemplateSession(densityTable) {
|
|
254
|
-
this.
|
|
258
|
+
this.m1f_1 = densityTable;
|
|
255
259
|
}
|
|
256
|
-
protoOf(TemplateSession).
|
|
260
|
+
protoOf(TemplateSession).n1f = function (element) {
|
|
257
261
|
var tmp;
|
|
258
262
|
if (element.temperatureFanC == null) {
|
|
259
263
|
tmp = null;
|
|
@@ -291,11 +295,11 @@
|
|
|
291
295
|
tmp_5 = null;
|
|
292
296
|
} else {
|
|
293
297
|
// Inline function 'kotlin.let' call
|
|
294
|
-
tmp_5 = '/gas mark ' + FormatUtils_getInstance().
|
|
298
|
+
tmp_5 = '/gas mark ' + FormatUtils_getInstance().j1f(tmp3_safe_receiver);
|
|
295
299
|
}
|
|
296
300
|
return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
|
|
297
301
|
};
|
|
298
|
-
protoOf(TemplateSession).
|
|
302
|
+
protoOf(TemplateSession).o1f = function (element, factor, measuringSystem, originalMeasuringSystem) {
|
|
299
303
|
var tmp = !(element.min === element.max) ? element.max : null;
|
|
300
304
|
var tmp0_safe_receiver = element.unit;
|
|
301
305
|
var tmp_0;
|
|
@@ -303,7 +307,7 @@
|
|
|
303
307
|
tmp_0 = null;
|
|
304
308
|
} else {
|
|
305
309
|
// Inline function 'kotlin.let' call
|
|
306
|
-
tmp_0 = Units_getInstance().
|
|
310
|
+
tmp_0 = Units_getInstance().o1g(tmp0_safe_receiver, originalMeasuringSystem);
|
|
307
311
|
}
|
|
308
312
|
var amount = new Amount(element.min, tmp, tmp_0, element.ingredient === 'butter' ? true : element.usCust);
|
|
309
313
|
var factorToUse = !element.scale ? 1.0 : factor;
|
|
@@ -313,7 +317,7 @@
|
|
|
313
317
|
tmp_1 = null;
|
|
314
318
|
} else {
|
|
315
319
|
// Inline function 'kotlin.let' call
|
|
316
|
-
tmp_1 = this.
|
|
320
|
+
tmp_1 = this.m1f_1.s1g(tmp1_safe_receiver);
|
|
317
321
|
}
|
|
318
322
|
var density = tmp_1;
|
|
319
323
|
var tmp_2;
|
|
@@ -323,40 +327,40 @@
|
|
|
323
327
|
tmp_2 = measuringSystem;
|
|
324
328
|
}
|
|
325
329
|
var targetSystem = tmp_2;
|
|
326
|
-
amount = UnitConversions_getInstance().
|
|
327
|
-
var tmp2_subject = amount.
|
|
328
|
-
var decimals = equals(tmp2_subject, Units_getInstance().
|
|
329
|
-
var tmp3_subject = amount.
|
|
330
|
-
var fraction = equals(tmp3_subject, Units_getInstance().
|
|
330
|
+
amount = UnitConversions_getInstance().d1h(amount, targetSystem, factorToUse, density, originalMeasuringSystem);
|
|
331
|
+
var tmp2_subject = amount.e1f_1;
|
|
332
|
+
var decimals = equals(tmp2_subject, Units_getInstance().q1f_1) || (equals(tmp2_subject, Units_getInstance().u1f_1) || equals(tmp2_subject, Units_getInstance().h1g_1)) || (equals(tmp2_subject, Units_getInstance().z1f_1) || equals(tmp2_subject, Units_getInstance().x1f_1) || (equals(tmp2_subject, Units_getInstance().a1g_1) || equals(tmp2_subject, Units_getInstance().y1f_1))) ? 0 : equals(tmp2_subject, Units_getInstance().i1g_1) || equals(tmp2_subject, Units_getInstance().j1g_1) ? 1 : 1;
|
|
333
|
+
var tmp3_subject = amount.e1f_1;
|
|
334
|
+
var fraction = equals(tmp3_subject, Units_getInstance().v1f_1) || (equals(tmp3_subject, Units_getInstance().u1f_1) || equals(tmp3_subject, Units_getInstance().i1g_1)) || (equals(tmp3_subject, Units_getInstance().q1f_1) || (equals(tmp3_subject, Units_getInstance().r1f_1) || equals(tmp3_subject, Units_getInstance().h1g_1))) ? false : true;
|
|
331
335
|
var tmp_3;
|
|
332
|
-
if (!(amount.
|
|
336
|
+
if (!(amount.e1f_1 == null)) {
|
|
333
337
|
var tmp_4;
|
|
334
|
-
var tmp0 = amount.
|
|
335
|
-
var tmp4_elvis_lhs = amount.
|
|
338
|
+
var tmp0 = amount.c1f_1;
|
|
339
|
+
var tmp4_elvis_lhs = amount.d1f_1;
|
|
336
340
|
// Inline function 'kotlin.math.max' call
|
|
337
|
-
var b = tmp4_elvis_lhs == null ? amount.
|
|
341
|
+
var b = tmp4_elvis_lhs == null ? amount.c1f_1 : tmp4_elvis_lhs;
|
|
338
342
|
if (Math.max(tmp0, b) >= 1.125) {
|
|
339
|
-
tmp_4 = ' ' + amount.
|
|
343
|
+
tmp_4 = ' ' + amount.e1f_1.h1h_1;
|
|
340
344
|
} else {
|
|
341
|
-
tmp_4 = ' ' + amount.
|
|
345
|
+
tmp_4 = ' ' + amount.e1f_1.g1h_1;
|
|
342
346
|
}
|
|
343
347
|
tmp_3 = tmp_4;
|
|
344
348
|
} else {
|
|
345
349
|
tmp_3 = '';
|
|
346
350
|
}
|
|
347
351
|
var unitString = tmp_3;
|
|
348
|
-
var tmp_5 = FormatUtils_getInstance().
|
|
349
|
-
var tmp5_safe_receiver = amount.
|
|
352
|
+
var tmp_5 = FormatUtils_getInstance().k1f(amount.c1f_1, decimals, fraction);
|
|
353
|
+
var tmp5_safe_receiver = amount.d1f_1;
|
|
350
354
|
var tmp_6;
|
|
351
355
|
if (tmp5_safe_receiver == null) {
|
|
352
356
|
tmp_6 = null;
|
|
353
357
|
} else {
|
|
354
358
|
// Inline function 'kotlin.let' call
|
|
355
|
-
tmp_6 = '-' + FormatUtils_getInstance().
|
|
359
|
+
tmp_6 = '-' + FormatUtils_getInstance().k1f(tmp5_safe_receiver, decimals, fraction);
|
|
356
360
|
}
|
|
357
361
|
return joinToString(listOfNotNull([tmp_5, tmp_6, unitString]), '');
|
|
358
362
|
};
|
|
359
|
-
protoOf(TemplateSession).
|
|
363
|
+
protoOf(TemplateSession).l1h = function (element, factor, measuringSystem, originalMeasuringSystem) {
|
|
360
364
|
var tmp;
|
|
361
365
|
if (element instanceof TemplateConst) {
|
|
362
366
|
tmp = element.value;
|
|
@@ -382,7 +386,7 @@
|
|
|
382
386
|
tmp_1 = tmp_3;
|
|
383
387
|
}
|
|
384
388
|
if (tmp_1) {
|
|
385
|
-
tmp_0 = this.
|
|
389
|
+
tmp_0 = this.o1f(element, factor, measuringSystem, originalMeasuringSystem);
|
|
386
390
|
} else {
|
|
387
391
|
var tmp_4;
|
|
388
392
|
if (measuringSystem instanceof USCustomaryWithMetric) {
|
|
@@ -391,7 +395,7 @@
|
|
|
391
395
|
tmp_4 = measuringSystem instanceof USCustomaryWithImperial;
|
|
392
396
|
}
|
|
393
397
|
if (tmp_4) {
|
|
394
|
-
tmp_0 = this.
|
|
398
|
+
tmp_0 = this.o1f(element, factor, USCustomary_instance, originalMeasuringSystem);
|
|
395
399
|
} else {
|
|
396
400
|
if (measuringSystem instanceof USCombined) {
|
|
397
401
|
var tmp2_safe_receiver = element.unit;
|
|
@@ -400,21 +404,21 @@
|
|
|
400
404
|
tmp_5 = null;
|
|
401
405
|
} else {
|
|
402
406
|
// Inline function 'kotlin.let' call
|
|
403
|
-
tmp_5 = Units_getInstance().
|
|
407
|
+
tmp_5 = Units_getInstance().o1g(tmp2_safe_receiver, originalMeasuringSystem);
|
|
404
408
|
}
|
|
405
409
|
var unit = tmp_5;
|
|
406
410
|
var tmp_6;
|
|
407
|
-
if (unit == null || equals(unit, Units_getInstance().
|
|
408
|
-
tmp_6 = this.
|
|
411
|
+
if (unit == null || equals(unit, Units_getInstance().x1f_1) || equals(unit, Units_getInstance().y1f_1) || equals(unit, Units_getInstance().z1f_1) || equals(unit, Units_getInstance().a1g_1)) {
|
|
412
|
+
tmp_6 = this.o1f(element, factor, USCustomary_instance, originalMeasuringSystem);
|
|
409
413
|
} else {
|
|
410
|
-
var usCustomaryPart = this.
|
|
414
|
+
var usCustomaryPart = this.o1f(element, factor, USCustomary_instance, originalMeasuringSystem);
|
|
411
415
|
var tmp_7;
|
|
412
|
-
if (equals(unit, Units_getInstance().
|
|
416
|
+
if (equals(unit, Units_getInstance().b1g_1)) {
|
|
413
417
|
tmp_7 = null;
|
|
414
|
-
} else if (equals(unit.
|
|
418
|
+
} else if (equals(unit.i1h_1, UnitType_VOLUME_getInstance())) {
|
|
415
419
|
tmp_7 = usCustomaryPart;
|
|
416
420
|
} else {
|
|
417
|
-
tmp_7 = this.
|
|
421
|
+
tmp_7 = this.o1f(element, factor, Imperial_instance, originalMeasuringSystem);
|
|
418
422
|
}
|
|
419
423
|
var imperialPart = tmp_7;
|
|
420
424
|
var tmp_8;
|
|
@@ -434,7 +438,7 @@
|
|
|
434
438
|
tmp = tmp_0;
|
|
435
439
|
} else {
|
|
436
440
|
if (element instanceof OvenTemperaturePlaceholder) {
|
|
437
|
-
tmp = this.
|
|
441
|
+
tmp = this.n1f(element);
|
|
438
442
|
} else {
|
|
439
443
|
noWhenBranchMatchedException();
|
|
440
444
|
}
|
|
@@ -442,91 +446,114 @@
|
|
|
442
446
|
}
|
|
443
447
|
return tmp;
|
|
444
448
|
};
|
|
445
|
-
protoOf(TemplateSession).
|
|
449
|
+
protoOf(TemplateSession).m1h = function (template, factor, measuringSystem, originalMeasuringSystem) {
|
|
446
450
|
// Inline function 'kotlin.collections.map' call
|
|
447
|
-
var this_0 = template.
|
|
451
|
+
var this_0 = template.n1h_1;
|
|
448
452
|
// Inline function 'kotlin.collections.mapTo' call
|
|
449
453
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
450
454
|
var _iterator__ex2g4s = this_0.q();
|
|
451
455
|
while (_iterator__ex2g4s.r()) {
|
|
452
456
|
var item = _iterator__ex2g4s.s();
|
|
453
|
-
var tmp$ret$2 = this.
|
|
457
|
+
var tmp$ret$2 = this.l1h(item, factor, measuringSystem, originalMeasuringSystem);
|
|
454
458
|
destination.u(tmp$ret$2);
|
|
455
459
|
}
|
|
456
460
|
var renderedParts = destination;
|
|
457
|
-
return FormatUtils_getInstance().
|
|
461
|
+
return FormatUtils_getInstance().l1f(joinToString(renderedParts, ''));
|
|
458
462
|
};
|
|
459
463
|
protoOf(TemplateSession).scaleAndConvertUnitRecipe = function (recipe, factor, measuringSystem) {
|
|
460
|
-
var
|
|
464
|
+
var tmp0_subject = recipe.f1i_1;
|
|
461
465
|
var tmp;
|
|
462
|
-
|
|
463
|
-
|
|
466
|
+
switch (tmp0_subject == null ? -1 : tmp0_subject.r2_1) {
|
|
467
|
+
case 2:
|
|
468
|
+
tmp = Metric_instance;
|
|
469
|
+
break;
|
|
470
|
+
case 3:
|
|
471
|
+
tmp = USCustomary_instance;
|
|
472
|
+
break;
|
|
473
|
+
case 0:
|
|
474
|
+
tmp = Metric_instance;
|
|
475
|
+
break;
|
|
476
|
+
case 1:
|
|
477
|
+
tmp = Imperial_instance;
|
|
478
|
+
break;
|
|
479
|
+
case -1:
|
|
480
|
+
tmp = Metric_instance;
|
|
481
|
+
break;
|
|
482
|
+
default:
|
|
483
|
+
noWhenBranchMatchedException();
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
var sourceMeasuringSystem = tmp;
|
|
487
|
+
var tmp1_safe_receiver = recipe.b1i_1;
|
|
488
|
+
var tmp_0;
|
|
489
|
+
if (tmp1_safe_receiver == null) {
|
|
490
|
+
tmp_0 = null;
|
|
464
491
|
} else {
|
|
465
492
|
// Inline function 'kotlin.collections.map' call
|
|
466
493
|
// Inline function 'kotlin.collections.mapTo' call
|
|
467
|
-
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(
|
|
468
|
-
var _iterator__ex2g4s =
|
|
494
|
+
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_safe_receiver, 10));
|
|
495
|
+
var _iterator__ex2g4s = tmp1_safe_receiver.q();
|
|
469
496
|
while (_iterator__ex2g4s.r()) {
|
|
470
497
|
var item = _iterator__ex2g4s.s();
|
|
471
|
-
var
|
|
472
|
-
var
|
|
473
|
-
if (
|
|
474
|
-
|
|
498
|
+
var tmp0_safe_receiver = item.n1i_1;
|
|
499
|
+
var tmp_1;
|
|
500
|
+
if (tmp0_safe_receiver == null) {
|
|
501
|
+
tmp_1 = null;
|
|
475
502
|
} else {
|
|
476
503
|
// Inline function 'kotlin.collections.map' call
|
|
477
504
|
// Inline function 'kotlin.collections.mapTo' call
|
|
478
|
-
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(
|
|
479
|
-
var _iterator__ex2g4s_0 =
|
|
505
|
+
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp0_safe_receiver, 10));
|
|
506
|
+
var _iterator__ex2g4s_0 = tmp0_safe_receiver.q();
|
|
480
507
|
while (_iterator__ex2g4s_0.r()) {
|
|
481
508
|
var item_0 = _iterator__ex2g4s_0.s();
|
|
482
|
-
var
|
|
483
|
-
var
|
|
484
|
-
if (
|
|
485
|
-
|
|
509
|
+
var tmp0_safe_receiver_0 = item_0.v1i_1;
|
|
510
|
+
var tmp_2;
|
|
511
|
+
if (tmp0_safe_receiver_0 == null) {
|
|
512
|
+
tmp_2 = null;
|
|
486
513
|
} else {
|
|
487
514
|
// Inline function 'kotlin.let' call
|
|
488
|
-
|
|
515
|
+
tmp_2 = wrapWithStrongTag(this.m1h(parseTemplate(tmp0_safe_receiver_0), factor, measuringSystem, sourceMeasuringSystem));
|
|
489
516
|
}
|
|
490
|
-
var tmp1_elvis_lhs =
|
|
491
|
-
var scaledText = tmp1_elvis_lhs == null ? item_0.
|
|
492
|
-
var tmp$ret$5 = item_0.
|
|
517
|
+
var tmp1_elvis_lhs = tmp_2;
|
|
518
|
+
var scaledText = tmp1_elvis_lhs == null ? item_0.w1i_1 : tmp1_elvis_lhs;
|
|
519
|
+
var tmp$ret$5 = item_0.y1i(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
|
|
493
520
|
destination_0.u(tmp$ret$5);
|
|
494
521
|
}
|
|
495
|
-
|
|
522
|
+
tmp_1 = destination_0;
|
|
496
523
|
}
|
|
497
|
-
var tmp$ret$2 = new IngredientsList(
|
|
524
|
+
var tmp$ret$2 = new IngredientsList(tmp_1, item.o1i_1);
|
|
498
525
|
destination.u(tmp$ret$2);
|
|
499
526
|
}
|
|
500
|
-
|
|
527
|
+
tmp_0 = destination;
|
|
501
528
|
}
|
|
502
|
-
var scaledIngredients =
|
|
503
|
-
var
|
|
504
|
-
var
|
|
505
|
-
if (
|
|
506
|
-
|
|
529
|
+
var scaledIngredients = tmp_0;
|
|
530
|
+
var tmp2_safe_receiver = recipe.c1i_1;
|
|
531
|
+
var tmp_3;
|
|
532
|
+
if (tmp2_safe_receiver == null) {
|
|
533
|
+
tmp_3 = null;
|
|
507
534
|
} else {
|
|
508
535
|
// Inline function 'kotlin.collections.map' call
|
|
509
536
|
// Inline function 'kotlin.collections.mapTo' call
|
|
510
|
-
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(
|
|
511
|
-
var _iterator__ex2g4s_1 =
|
|
537
|
+
var destination_1 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp2_safe_receiver, 10));
|
|
538
|
+
var _iterator__ex2g4s_1 = tmp2_safe_receiver.q();
|
|
512
539
|
while (_iterator__ex2g4s_1.r()) {
|
|
513
540
|
var item_1 = _iterator__ex2g4s_1.s();
|
|
514
|
-
var
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
517
|
-
|
|
541
|
+
var tmp0_safe_receiver_1 = item_1.a1j_1;
|
|
542
|
+
var tmp_4;
|
|
543
|
+
if (tmp0_safe_receiver_1 == null) {
|
|
544
|
+
tmp_4 = null;
|
|
518
545
|
} else {
|
|
519
546
|
// Inline function 'kotlin.let' call
|
|
520
|
-
|
|
547
|
+
tmp_4 = this.m1h(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem, sourceMeasuringSystem);
|
|
521
548
|
}
|
|
522
|
-
var description =
|
|
523
|
-
var tmp$ret$10 = item_1.
|
|
549
|
+
var description = tmp_4;
|
|
550
|
+
var tmp$ret$10 = item_1.d1j(description == null ? item_1.z1i_1 : description);
|
|
524
551
|
destination_1.u(tmp$ret$10);
|
|
525
552
|
}
|
|
526
|
-
|
|
553
|
+
tmp_3 = destination_1;
|
|
527
554
|
}
|
|
528
|
-
var scaledInstructions =
|
|
529
|
-
return recipe.
|
|
555
|
+
var scaledInstructions = tmp_3;
|
|
556
|
+
return recipe.e1j(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
|
|
530
557
|
};
|
|
531
558
|
function wrapWithStrongTag(value) {
|
|
532
559
|
_init_properties_ScaleRecipe_kt__qu4y0q();
|
|
@@ -601,7 +628,7 @@
|
|
|
601
628
|
// Inline function 'kotlin.arrayOf' call
|
|
602
629
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
603
630
|
// Inline function 'kotlin.js.asDynamic' call
|
|
604
|
-
tmp.
|
|
631
|
+
tmp.f1j_1 = [null, tmp_1, lazy(tmp_2, TableSchema$Companion$$childSerializers$_anonymous__48gmsb_0)];
|
|
605
632
|
}
|
|
606
633
|
var Companion_instance_0;
|
|
607
634
|
function Companion_getInstance() {
|
|
@@ -612,71 +639,71 @@
|
|
|
612
639
|
function $serializer() {
|
|
613
640
|
$serializer_instance = this;
|
|
614
641
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.TableSchema', this, 3);
|
|
615
|
-
tmp0_serialDesc.
|
|
616
|
-
tmp0_serialDesc.
|
|
617
|
-
tmp0_serialDesc.
|
|
618
|
-
this.
|
|
619
|
-
}
|
|
620
|
-
protoOf($serializer).
|
|
621
|
-
var tmp0_desc = this.
|
|
622
|
-
var tmp1_output = encoder.
|
|
623
|
-
var tmp2_cached = Companion_getInstance().
|
|
624
|
-
tmp1_output.
|
|
625
|
-
tmp1_output.
|
|
626
|
-
tmp1_output.
|
|
627
|
-
tmp1_output.
|
|
642
|
+
tmp0_serialDesc.jt('prepared_at', false);
|
|
643
|
+
tmp0_serialDesc.jt('key', false);
|
|
644
|
+
tmp0_serialDesc.jt('values', false);
|
|
645
|
+
this.g1j_1 = tmp0_serialDesc;
|
|
646
|
+
}
|
|
647
|
+
protoOf($serializer).h1j = function (encoder, value) {
|
|
648
|
+
var tmp0_desc = this.g1j_1;
|
|
649
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
650
|
+
var tmp2_cached = Companion_getInstance().f1j_1;
|
|
651
|
+
tmp1_output.kn(tmp0_desc, 0, value.i1j_1);
|
|
652
|
+
tmp1_output.mn(tmp0_desc, 1, tmp2_cached[1].g2(), value.j1j_1);
|
|
653
|
+
tmp1_output.mn(tmp0_desc, 2, tmp2_cached[2].g2(), value.k1j_1);
|
|
654
|
+
tmp1_output.wl(tmp0_desc);
|
|
628
655
|
};
|
|
629
656
|
protoOf($serializer).ui = function (encoder, value) {
|
|
630
|
-
return this.
|
|
657
|
+
return this.h1j(encoder, value instanceof TableSchema ? value : THROW_CCE());
|
|
631
658
|
};
|
|
632
659
|
protoOf($serializer).vi = function (decoder) {
|
|
633
|
-
var tmp0_desc = this.
|
|
660
|
+
var tmp0_desc = this.g1j_1;
|
|
634
661
|
var tmp1_flag = true;
|
|
635
662
|
var tmp2_index = 0;
|
|
636
663
|
var tmp3_bitMask0 = 0;
|
|
637
664
|
var tmp4_local0 = null;
|
|
638
665
|
var tmp5_local1 = null;
|
|
639
666
|
var tmp6_local2 = null;
|
|
640
|
-
var tmp7_input = decoder.
|
|
641
|
-
var tmp8_cached = Companion_getInstance().
|
|
642
|
-
if (tmp7_input.
|
|
643
|
-
tmp4_local0 = tmp7_input.
|
|
667
|
+
var tmp7_input = decoder.vl(tmp0_desc);
|
|
668
|
+
var tmp8_cached = Companion_getInstance().f1j_1;
|
|
669
|
+
if (tmp7_input.lm()) {
|
|
670
|
+
tmp4_local0 = tmp7_input.fm(tmp0_desc, 0);
|
|
644
671
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
645
|
-
tmp5_local1 = tmp7_input.
|
|
672
|
+
tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, tmp8_cached[1].g2(), tmp5_local1);
|
|
646
673
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
647
|
-
tmp6_local2 = tmp7_input.
|
|
674
|
+
tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, tmp8_cached[2].g2(), tmp6_local2);
|
|
648
675
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
649
676
|
} else
|
|
650
677
|
while (tmp1_flag) {
|
|
651
|
-
tmp2_index = tmp7_input.
|
|
678
|
+
tmp2_index = tmp7_input.mm(tmp0_desc);
|
|
652
679
|
switch (tmp2_index) {
|
|
653
680
|
case -1:
|
|
654
681
|
tmp1_flag = false;
|
|
655
682
|
break;
|
|
656
683
|
case 0:
|
|
657
|
-
tmp4_local0 = tmp7_input.
|
|
684
|
+
tmp4_local0 = tmp7_input.fm(tmp0_desc, 0);
|
|
658
685
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
659
686
|
break;
|
|
660
687
|
case 1:
|
|
661
|
-
tmp5_local1 = tmp7_input.
|
|
688
|
+
tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, tmp8_cached[1].g2(), tmp5_local1);
|
|
662
689
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
663
690
|
break;
|
|
664
691
|
case 2:
|
|
665
|
-
tmp6_local2 = tmp7_input.
|
|
692
|
+
tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, tmp8_cached[2].g2(), tmp6_local2);
|
|
666
693
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
667
694
|
break;
|
|
668
695
|
default:
|
|
669
696
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
670
697
|
}
|
|
671
698
|
}
|
|
672
|
-
tmp7_input.
|
|
699
|
+
tmp7_input.wl(tmp0_desc);
|
|
673
700
|
return TableSchema_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
674
701
|
};
|
|
675
702
|
protoOf($serializer).ti = function () {
|
|
676
|
-
return this.
|
|
703
|
+
return this.g1j_1;
|
|
677
704
|
};
|
|
678
|
-
protoOf($serializer).
|
|
679
|
-
var tmp0_cached = Companion_getInstance().
|
|
705
|
+
protoOf($serializer).cu = function () {
|
|
706
|
+
var tmp0_cached = Companion_getInstance().f1j_1;
|
|
680
707
|
// Inline function 'kotlin.arrayOf' call
|
|
681
708
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
682
709
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -690,11 +717,11 @@
|
|
|
690
717
|
}
|
|
691
718
|
function TableSchema_init_$Init$(seen0, preparedAt, key, values, serializationConstructorMarker, $this) {
|
|
692
719
|
if (!(7 === (7 & seen0))) {
|
|
693
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
720
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().g1j_1);
|
|
694
721
|
}
|
|
695
|
-
$this.
|
|
696
|
-
$this.
|
|
697
|
-
$this.
|
|
722
|
+
$this.i1j_1 = preparedAt;
|
|
723
|
+
$this.j1j_1 = key;
|
|
724
|
+
$this.k1j_1 = values;
|
|
698
725
|
return $this;
|
|
699
726
|
}
|
|
700
727
|
function TableSchema_init_$Create$(seen0, preparedAt, key, values, serializationConstructorMarker) {
|
|
@@ -702,17 +729,17 @@
|
|
|
702
729
|
}
|
|
703
730
|
function TableSchema(preparedAt, key, values) {
|
|
704
731
|
Companion_getInstance();
|
|
705
|
-
this.
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
732
|
+
this.i1j_1 = preparedAt;
|
|
733
|
+
this.j1j_1 = key;
|
|
734
|
+
this.k1j_1 = values;
|
|
708
735
|
}
|
|
709
736
|
protoOf(TableSchema).toString = function () {
|
|
710
|
-
return 'TableSchema(preparedAt=' + this.
|
|
737
|
+
return 'TableSchema(preparedAt=' + this.i1j_1 + ', key=' + toString_0(this.j1j_1) + ', values=' + toString_0(this.k1j_1) + ')';
|
|
711
738
|
};
|
|
712
739
|
protoOf(TableSchema).hashCode = function () {
|
|
713
|
-
var result = getStringHashCode(this.
|
|
714
|
-
result = imul(result, 31) + hashCode(this.
|
|
715
|
-
result = imul(result, 31) + hashCode(this.
|
|
740
|
+
var result = getStringHashCode(this.i1j_1);
|
|
741
|
+
result = imul(result, 31) + hashCode(this.j1j_1) | 0;
|
|
742
|
+
result = imul(result, 31) + hashCode(this.k1j_1) | 0;
|
|
716
743
|
return result;
|
|
717
744
|
};
|
|
718
745
|
protoOf(TableSchema).equals = function (other) {
|
|
@@ -720,11 +747,11 @@
|
|
|
720
747
|
return true;
|
|
721
748
|
if (!(other instanceof TableSchema))
|
|
722
749
|
return false;
|
|
723
|
-
if (!(this.
|
|
750
|
+
if (!(this.i1j_1 === other.i1j_1))
|
|
724
751
|
return false;
|
|
725
|
-
if (!equals(this.
|
|
752
|
+
if (!equals(this.j1j_1, other.j1j_1))
|
|
726
753
|
return false;
|
|
727
|
-
if (!equals(this.
|
|
754
|
+
if (!equals(this.k1j_1, other.k1j_1))
|
|
728
755
|
return false;
|
|
729
756
|
return true;
|
|
730
757
|
};
|
|
@@ -737,26 +764,26 @@
|
|
|
737
764
|
function $serializer_0() {
|
|
738
765
|
$serializer_instance_0 = this;
|
|
739
766
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.density.Ingredient', this, 4);
|
|
740
|
-
tmp0_serialDesc.
|
|
741
|
-
tmp0_serialDesc.
|
|
742
|
-
tmp0_serialDesc.
|
|
743
|
-
tmp0_serialDesc.
|
|
744
|
-
this.
|
|
745
|
-
}
|
|
746
|
-
protoOf($serializer_0).
|
|
747
|
-
var tmp0_desc = this.
|
|
748
|
-
var tmp1_output = encoder.
|
|
749
|
-
tmp1_output.
|
|
750
|
-
tmp1_output.
|
|
751
|
-
tmp1_output.
|
|
752
|
-
tmp1_output.
|
|
753
|
-
tmp1_output.
|
|
767
|
+
tmp0_serialDesc.jt('id', false);
|
|
768
|
+
tmp0_serialDesc.jt('name', false);
|
|
769
|
+
tmp0_serialDesc.jt('normalised_name', false);
|
|
770
|
+
tmp0_serialDesc.jt('density', false);
|
|
771
|
+
this.l1j_1 = tmp0_serialDesc;
|
|
772
|
+
}
|
|
773
|
+
protoOf($serializer_0).m1j = function (encoder, value) {
|
|
774
|
+
var tmp0_desc = this.l1j_1;
|
|
775
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
776
|
+
tmp1_output.fn(tmp0_desc, 0, value.n1j_1);
|
|
777
|
+
tmp1_output.kn(tmp0_desc, 1, value.o1j_1);
|
|
778
|
+
tmp1_output.kn(tmp0_desc, 2, value.p1j_1);
|
|
779
|
+
tmp1_output.hn(tmp0_desc, 3, value.q1j_1);
|
|
780
|
+
tmp1_output.wl(tmp0_desc);
|
|
754
781
|
};
|
|
755
782
|
protoOf($serializer_0).ui = function (encoder, value) {
|
|
756
|
-
return this.
|
|
783
|
+
return this.m1j(encoder, value instanceof Ingredient ? value : THROW_CCE());
|
|
757
784
|
};
|
|
758
785
|
protoOf($serializer_0).vi = function (decoder) {
|
|
759
|
-
var tmp0_desc = this.
|
|
786
|
+
var tmp0_desc = this.l1j_1;
|
|
760
787
|
var tmp1_flag = true;
|
|
761
788
|
var tmp2_index = 0;
|
|
762
789
|
var tmp3_bitMask0 = 0;
|
|
@@ -764,50 +791,50 @@
|
|
|
764
791
|
var tmp5_local1 = null;
|
|
765
792
|
var tmp6_local2 = null;
|
|
766
793
|
var tmp7_local3 = 0.0;
|
|
767
|
-
var tmp8_input = decoder.
|
|
768
|
-
if (tmp8_input.
|
|
769
|
-
tmp4_local0 = tmp8_input.
|
|
794
|
+
var tmp8_input = decoder.vl(tmp0_desc);
|
|
795
|
+
if (tmp8_input.lm()) {
|
|
796
|
+
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
770
797
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
771
|
-
tmp5_local1 = tmp8_input.
|
|
798
|
+
tmp5_local1 = tmp8_input.fm(tmp0_desc, 1);
|
|
772
799
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
773
|
-
tmp6_local2 = tmp8_input.
|
|
800
|
+
tmp6_local2 = tmp8_input.fm(tmp0_desc, 2);
|
|
774
801
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
775
|
-
tmp7_local3 = tmp8_input.
|
|
802
|
+
tmp7_local3 = tmp8_input.cm(tmp0_desc, 3);
|
|
776
803
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
777
804
|
} else
|
|
778
805
|
while (tmp1_flag) {
|
|
779
|
-
tmp2_index = tmp8_input.
|
|
806
|
+
tmp2_index = tmp8_input.mm(tmp0_desc);
|
|
780
807
|
switch (tmp2_index) {
|
|
781
808
|
case -1:
|
|
782
809
|
tmp1_flag = false;
|
|
783
810
|
break;
|
|
784
811
|
case 0:
|
|
785
|
-
tmp4_local0 = tmp8_input.
|
|
812
|
+
tmp4_local0 = tmp8_input.am(tmp0_desc, 0);
|
|
786
813
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
787
814
|
break;
|
|
788
815
|
case 1:
|
|
789
|
-
tmp5_local1 = tmp8_input.
|
|
816
|
+
tmp5_local1 = tmp8_input.fm(tmp0_desc, 1);
|
|
790
817
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
791
818
|
break;
|
|
792
819
|
case 2:
|
|
793
|
-
tmp6_local2 = tmp8_input.
|
|
820
|
+
tmp6_local2 = tmp8_input.fm(tmp0_desc, 2);
|
|
794
821
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
795
822
|
break;
|
|
796
823
|
case 3:
|
|
797
|
-
tmp7_local3 = tmp8_input.
|
|
824
|
+
tmp7_local3 = tmp8_input.cm(tmp0_desc, 3);
|
|
798
825
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
799
826
|
break;
|
|
800
827
|
default:
|
|
801
828
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
802
829
|
}
|
|
803
830
|
}
|
|
804
|
-
tmp8_input.
|
|
831
|
+
tmp8_input.wl(tmp0_desc);
|
|
805
832
|
return Ingredient_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
806
833
|
};
|
|
807
834
|
protoOf($serializer_0).ti = function () {
|
|
808
|
-
return this.
|
|
835
|
+
return this.l1j_1;
|
|
809
836
|
};
|
|
810
|
-
protoOf($serializer_0).
|
|
837
|
+
protoOf($serializer_0).cu = function () {
|
|
811
838
|
// Inline function 'kotlin.arrayOf' call
|
|
812
839
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
813
840
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -821,31 +848,31 @@
|
|
|
821
848
|
}
|
|
822
849
|
function Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, $this) {
|
|
823
850
|
if (!(15 === (15 & seen0))) {
|
|
824
|
-
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().
|
|
851
|
+
throwMissingFieldException(seen0, 15, $serializer_getInstance_0().l1j_1);
|
|
825
852
|
}
|
|
826
|
-
$this.
|
|
827
|
-
$this.
|
|
828
|
-
$this.
|
|
829
|
-
$this.
|
|
853
|
+
$this.n1j_1 = id;
|
|
854
|
+
$this.o1j_1 = name;
|
|
855
|
+
$this.p1j_1 = normalised_name;
|
|
856
|
+
$this.q1j_1 = density;
|
|
830
857
|
return $this;
|
|
831
858
|
}
|
|
832
859
|
function Ingredient_init_$Create$(seen0, id, name, normalised_name, density, serializationConstructorMarker) {
|
|
833
860
|
return Ingredient_init_$Init$(seen0, id, name, normalised_name, density, serializationConstructorMarker, objectCreate(protoOf(Ingredient)));
|
|
834
861
|
}
|
|
835
862
|
function Ingredient(id, name, normalised_name, density) {
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
838
|
-
this.
|
|
839
|
-
this.
|
|
863
|
+
this.n1j_1 = id;
|
|
864
|
+
this.o1j_1 = name;
|
|
865
|
+
this.p1j_1 = normalised_name;
|
|
866
|
+
this.q1j_1 = density;
|
|
840
867
|
}
|
|
841
868
|
protoOf(Ingredient).toString = function () {
|
|
842
|
-
return 'Ingredient(id=' + this.
|
|
869
|
+
return 'Ingredient(id=' + this.n1j_1 + ', name=' + this.o1j_1 + ', normalised_name=' + this.p1j_1 + ', density=' + this.q1j_1 + ')';
|
|
843
870
|
};
|
|
844
871
|
protoOf(Ingredient).hashCode = function () {
|
|
845
|
-
var result = this.
|
|
846
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
847
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
848
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
872
|
+
var result = this.n1j_1;
|
|
873
|
+
result = imul(result, 31) + getStringHashCode(this.o1j_1) | 0;
|
|
874
|
+
result = imul(result, 31) + getStringHashCode(this.p1j_1) | 0;
|
|
875
|
+
result = imul(result, 31) + getNumberHashCode(this.q1j_1) | 0;
|
|
849
876
|
return result;
|
|
850
877
|
};
|
|
851
878
|
protoOf(Ingredient).equals = function (other) {
|
|
@@ -853,29 +880,29 @@
|
|
|
853
880
|
return true;
|
|
854
881
|
if (!(other instanceof Ingredient))
|
|
855
882
|
return false;
|
|
856
|
-
if (!(this.
|
|
883
|
+
if (!(this.n1j_1 === other.n1j_1))
|
|
857
884
|
return false;
|
|
858
|
-
if (!(this.
|
|
885
|
+
if (!(this.o1j_1 === other.o1j_1))
|
|
859
886
|
return false;
|
|
860
|
-
if (!(this.
|
|
887
|
+
if (!(this.p1j_1 === other.p1j_1))
|
|
861
888
|
return false;
|
|
862
|
-
if (!equals(this.
|
|
889
|
+
if (!equals(this.q1j_1, other.q1j_1))
|
|
863
890
|
return false;
|
|
864
891
|
return true;
|
|
865
892
|
};
|
|
866
893
|
function DensityTable(preparedAt, normalised_map, name_map) {
|
|
867
|
-
this.
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
894
|
+
this.p1g_1 = preparedAt;
|
|
895
|
+
this.q1g_1 = normalised_map;
|
|
896
|
+
this.r1g_1 = name_map;
|
|
870
897
|
}
|
|
871
|
-
protoOf(DensityTable).
|
|
872
|
-
var tmp0_safe_receiver = this.
|
|
898
|
+
protoOf(DensityTable).s1g = function (name) {
|
|
899
|
+
var tmp0_safe_receiver = this.q1g_1.j2(name);
|
|
873
900
|
var tmp;
|
|
874
901
|
if (tmp0_safe_receiver == null) {
|
|
875
902
|
tmp = null;
|
|
876
903
|
} else {
|
|
877
904
|
// Inline function 'kotlin.let' call
|
|
878
|
-
return tmp0_safe_receiver.
|
|
905
|
+
return tmp0_safe_receiver.q1j_1;
|
|
879
906
|
}
|
|
880
907
|
return tmp;
|
|
881
908
|
};
|
|
@@ -887,19 +914,19 @@
|
|
|
887
914
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
888
915
|
var this_0 = Default_getInstance();
|
|
889
916
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
890
|
-
var this_1 = this_0.
|
|
917
|
+
var this_1 = this_0.km();
|
|
891
918
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
892
919
|
var this_2 = serializer(this_1, createKType(getKClass(TableSchema), arrayOf([]), false));
|
|
893
920
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
894
|
-
var data = this_0.
|
|
921
|
+
var data = this_0.e13(tmp$ret$1, raw);
|
|
895
922
|
// Inline function 'kotlin.collections.map' call
|
|
896
|
-
var this_3 = data.
|
|
923
|
+
var this_3 = data.k1j_1;
|
|
897
924
|
// Inline function 'kotlin.collections.mapTo' call
|
|
898
925
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
899
926
|
var _iterator__ex2g4s = this_3.q();
|
|
900
927
|
while (_iterator__ex2g4s.r()) {
|
|
901
928
|
var item = _iterator__ex2g4s.s();
|
|
902
|
-
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.d1(0))), get_jsonPrimitive(item.d1(1)).
|
|
929
|
+
var tmp$ret$5 = new Ingredient(get_int(get_jsonPrimitive(item.d1(0))), get_jsonPrimitive(item.d1(1)).m15(), get_jsonPrimitive(item.d1(2)).m15(), get_float(get_jsonPrimitive(item.d1(3))));
|
|
903
930
|
destination.u(tmp$ret$5);
|
|
904
931
|
}
|
|
905
932
|
var ingredients = destination;
|
|
@@ -911,7 +938,7 @@
|
|
|
911
938
|
while (_iterator__ex2g4s_0.r()) {
|
|
912
939
|
var element = _iterator__ex2g4s_0.s();
|
|
913
940
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
914
|
-
var pair = to(element.
|
|
941
|
+
var pair = to(element.p1j_1, element);
|
|
915
942
|
destination_0.n2(pair.ed_1, pair.fd_1);
|
|
916
943
|
}
|
|
917
944
|
var normalised_map = destination_0;
|
|
@@ -923,11 +950,11 @@
|
|
|
923
950
|
while (_iterator__ex2g4s_1.r()) {
|
|
924
951
|
var element_0 = _iterator__ex2g4s_1.s();
|
|
925
952
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
926
|
-
var pair_0 = to(element_0.
|
|
953
|
+
var pair_0 = to(element_0.o1j_1, element_0);
|
|
927
954
|
destination_1.n2(pair_0.ed_1, pair_0.fd_1);
|
|
928
955
|
}
|
|
929
956
|
var name_map = destination_1;
|
|
930
|
-
var table = new DensityTable(data.
|
|
957
|
+
var table = new DensityTable(data.i1j_1, normalised_map, name_map);
|
|
931
958
|
// Inline function 'kotlin.Companion.success' call
|
|
932
959
|
return _Result___init__impl__xyqfz8(table);
|
|
933
960
|
} catch ($p) {
|
|
@@ -990,18 +1017,21 @@
|
|
|
990
1017
|
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
991
1018
|
}
|
|
992
1019
|
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_7() {
|
|
993
|
-
return
|
|
1020
|
+
return Companion_getInstance_6().x15();
|
|
994
1021
|
}
|
|
995
1022
|
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_8() {
|
|
996
|
-
return new ArrayListSerializer(
|
|
1023
|
+
return new ArrayListSerializer($serializer_getInstance_8());
|
|
997
1024
|
}
|
|
998
1025
|
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_9() {
|
|
999
1026
|
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
1000
1027
|
}
|
|
1001
1028
|
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10() {
|
|
1002
|
-
return new ArrayListSerializer(
|
|
1029
|
+
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
1003
1030
|
}
|
|
1004
1031
|
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11() {
|
|
1032
|
+
return new ArrayListSerializer($serializer_getInstance_9());
|
|
1033
|
+
}
|
|
1034
|
+
function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_12() {
|
|
1005
1035
|
return new ArrayListSerializer(get_nullable(StringSerializer_getInstance()));
|
|
1006
1036
|
}
|
|
1007
1037
|
function Companion_1() {
|
|
@@ -1032,10 +1062,12 @@
|
|
|
1032
1062
|
var tmp_22 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1033
1063
|
var tmp_23 = lazy(tmp_22, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_10);
|
|
1034
1064
|
var tmp_24 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1065
|
+
var tmp_25 = lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11);
|
|
1066
|
+
var tmp_26 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1035
1067
|
// Inline function 'kotlin.arrayOf' call
|
|
1036
1068
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1037
1069
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1038
|
-
tmp.
|
|
1070
|
+
tmp.s1j_1 = [null, 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, tmp_25, null, lazy(tmp_26, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_12), null];
|
|
1039
1071
|
}
|
|
1040
1072
|
var Companion_instance_2;
|
|
1041
1073
|
function Companion_getInstance_1() {
|
|
@@ -1045,114 +1077,118 @@
|
|
|
1045
1077
|
}
|
|
1046
1078
|
function $serializer_1() {
|
|
1047
1079
|
$serializer_instance_1 = this;
|
|
1048
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this,
|
|
1049
|
-
tmp0_serialDesc.
|
|
1050
|
-
tmp0_serialDesc.
|
|
1051
|
-
tmp0_serialDesc.
|
|
1052
|
-
tmp0_serialDesc.
|
|
1053
|
-
tmp0_serialDesc.
|
|
1054
|
-
tmp0_serialDesc.
|
|
1055
|
-
tmp0_serialDesc.
|
|
1056
|
-
tmp0_serialDesc.
|
|
1057
|
-
tmp0_serialDesc.
|
|
1058
|
-
tmp0_serialDesc.
|
|
1059
|
-
tmp0_serialDesc.
|
|
1060
|
-
tmp0_serialDesc.
|
|
1061
|
-
tmp0_serialDesc.
|
|
1062
|
-
tmp0_serialDesc.
|
|
1063
|
-
tmp0_serialDesc.
|
|
1064
|
-
tmp0_serialDesc.
|
|
1065
|
-
tmp0_serialDesc.
|
|
1066
|
-
tmp0_serialDesc.
|
|
1067
|
-
tmp0_serialDesc.
|
|
1068
|
-
tmp0_serialDesc.
|
|
1069
|
-
tmp0_serialDesc.
|
|
1070
|
-
tmp0_serialDesc.
|
|
1071
|
-
tmp0_serialDesc.
|
|
1072
|
-
tmp0_serialDesc.
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
var
|
|
1078
|
-
var
|
|
1079
|
-
|
|
1080
|
-
|
|
1080
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 25);
|
|
1081
|
+
tmp0_serialDesc.jt('appExclusiveBranding', true);
|
|
1082
|
+
tmp0_serialDesc.jt('bookCredit', true);
|
|
1083
|
+
tmp0_serialDesc.jt('byline', true);
|
|
1084
|
+
tmp0_serialDesc.jt('canonicalArticle', true);
|
|
1085
|
+
tmp0_serialDesc.jt('celebrationIds', true);
|
|
1086
|
+
tmp0_serialDesc.jt('commerceCtas', true);
|
|
1087
|
+
tmp0_serialDesc.jt('composerId', true);
|
|
1088
|
+
tmp0_serialDesc.jt('contributors', true);
|
|
1089
|
+
tmp0_serialDesc.jt('cuisineIds', true);
|
|
1090
|
+
tmp0_serialDesc.jt('description', true);
|
|
1091
|
+
tmp0_serialDesc.jt('difficultyLevel', true);
|
|
1092
|
+
tmp0_serialDesc.jt('featuredImage', true);
|
|
1093
|
+
tmp0_serialDesc.jt('id', false);
|
|
1094
|
+
tmp0_serialDesc.jt('ingredients', true);
|
|
1095
|
+
tmp0_serialDesc.jt('instructions', true);
|
|
1096
|
+
tmp0_serialDesc.jt('isAppReady', true);
|
|
1097
|
+
tmp0_serialDesc.jt('mealTypeIds', true);
|
|
1098
|
+
tmp0_serialDesc.jt('originalMeasuringSystem', true);
|
|
1099
|
+
tmp0_serialDesc.jt('serves', true);
|
|
1100
|
+
tmp0_serialDesc.jt('suitableForDietIds', true);
|
|
1101
|
+
tmp0_serialDesc.jt('techniquesUsedIds', true);
|
|
1102
|
+
tmp0_serialDesc.jt('timings', true);
|
|
1103
|
+
tmp0_serialDesc.jt('title', true);
|
|
1104
|
+
tmp0_serialDesc.jt('utensilsAndApplianceIds', true);
|
|
1105
|
+
tmp0_serialDesc.jt('webPublicationDate', true);
|
|
1106
|
+
this.t1j_1 = tmp0_serialDesc;
|
|
1107
|
+
}
|
|
1108
|
+
protoOf($serializer_1).u1j = function (encoder, value) {
|
|
1109
|
+
var tmp0_desc = this.t1j_1;
|
|
1110
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
1111
|
+
var tmp2_cached = Companion_getInstance_1().s1j_1;
|
|
1112
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.o1h_1 == null)) {
|
|
1113
|
+
tmp1_output.on(tmp0_desc, 0, BooleanSerializer_getInstance(), value.o1h_1);
|
|
1114
|
+
}
|
|
1115
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.p1h_1 == null)) {
|
|
1116
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.p1h_1);
|
|
1081
1117
|
}
|
|
1082
|
-
if (tmp1_output.
|
|
1083
|
-
tmp1_output.
|
|
1118
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.q1h_1 == null)) {
|
|
1119
|
+
tmp1_output.on(tmp0_desc, 2, tmp2_cached[2].g2(), value.q1h_1);
|
|
1084
1120
|
}
|
|
1085
|
-
if (tmp1_output.
|
|
1086
|
-
tmp1_output.
|
|
1121
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.r1h_1 == null)) {
|
|
1122
|
+
tmp1_output.on(tmp0_desc, 3, StringSerializer_getInstance(), value.r1h_1);
|
|
1087
1123
|
}
|
|
1088
|
-
if (tmp1_output.
|
|
1089
|
-
tmp1_output.
|
|
1124
|
+
if (tmp1_output.sn(tmp0_desc, 4) ? true : !(value.s1h_1 == null)) {
|
|
1125
|
+
tmp1_output.on(tmp0_desc, 4, tmp2_cached[4].g2(), value.s1h_1);
|
|
1090
1126
|
}
|
|
1091
|
-
if (tmp1_output.
|
|
1092
|
-
tmp1_output.
|
|
1127
|
+
if (tmp1_output.sn(tmp0_desc, 5) ? true : !(value.t1h_1 == null)) {
|
|
1128
|
+
tmp1_output.on(tmp0_desc, 5, tmp2_cached[5].g2(), value.t1h_1);
|
|
1093
1129
|
}
|
|
1094
|
-
if (tmp1_output.
|
|
1095
|
-
tmp1_output.
|
|
1130
|
+
if (tmp1_output.sn(tmp0_desc, 6) ? true : !(value.u1h_1 == null)) {
|
|
1131
|
+
tmp1_output.on(tmp0_desc, 6, StringSerializer_getInstance(), value.u1h_1);
|
|
1096
1132
|
}
|
|
1097
|
-
if (tmp1_output.
|
|
1098
|
-
tmp1_output.
|
|
1133
|
+
if (tmp1_output.sn(tmp0_desc, 7) ? true : !(value.v1h_1 == null)) {
|
|
1134
|
+
tmp1_output.on(tmp0_desc, 7, tmp2_cached[7].g2(), value.v1h_1);
|
|
1099
1135
|
}
|
|
1100
|
-
if (tmp1_output.
|
|
1101
|
-
tmp1_output.
|
|
1136
|
+
if (tmp1_output.sn(tmp0_desc, 8) ? true : !(value.w1h_1 == null)) {
|
|
1137
|
+
tmp1_output.on(tmp0_desc, 8, tmp2_cached[8].g2(), value.w1h_1);
|
|
1102
1138
|
}
|
|
1103
|
-
if (tmp1_output.
|
|
1104
|
-
tmp1_output.
|
|
1139
|
+
if (tmp1_output.sn(tmp0_desc, 9) ? true : !(value.x1h_1 == null)) {
|
|
1140
|
+
tmp1_output.on(tmp0_desc, 9, StringSerializer_getInstance(), value.x1h_1);
|
|
1105
1141
|
}
|
|
1106
|
-
if (tmp1_output.
|
|
1107
|
-
tmp1_output.
|
|
1142
|
+
if (tmp1_output.sn(tmp0_desc, 10) ? true : !(value.y1h_1 == null)) {
|
|
1143
|
+
tmp1_output.on(tmp0_desc, 10, StringSerializer_getInstance(), value.y1h_1);
|
|
1108
1144
|
}
|
|
1109
|
-
if (tmp1_output.
|
|
1110
|
-
tmp1_output.
|
|
1145
|
+
if (tmp1_output.sn(tmp0_desc, 11) ? true : !(value.z1h_1 == null)) {
|
|
1146
|
+
tmp1_output.on(tmp0_desc, 11, $serializer_getInstance_3(), value.z1h_1);
|
|
1111
1147
|
}
|
|
1112
|
-
|
|
1113
|
-
|
|
1148
|
+
tmp1_output.kn(tmp0_desc, 12, value.a1i_1);
|
|
1149
|
+
if (tmp1_output.sn(tmp0_desc, 13) ? true : !(value.b1i_1 == null)) {
|
|
1150
|
+
tmp1_output.on(tmp0_desc, 13, tmp2_cached[13].g2(), value.b1i_1);
|
|
1114
1151
|
}
|
|
1115
|
-
tmp1_output.
|
|
1116
|
-
|
|
1117
|
-
tmp1_output.jn(tmp0_desc, 13, tmp2_cached[13].g2(), value.z1g_1);
|
|
1152
|
+
if (tmp1_output.sn(tmp0_desc, 14) ? true : !(value.c1i_1 == null)) {
|
|
1153
|
+
tmp1_output.on(tmp0_desc, 14, tmp2_cached[14].g2(), value.c1i_1);
|
|
1118
1154
|
}
|
|
1119
|
-
if (tmp1_output.
|
|
1120
|
-
tmp1_output.
|
|
1155
|
+
if (tmp1_output.sn(tmp0_desc, 15) ? true : !(value.d1i_1 == null)) {
|
|
1156
|
+
tmp1_output.on(tmp0_desc, 15, BooleanSerializer_getInstance(), value.d1i_1);
|
|
1121
1157
|
}
|
|
1122
|
-
if (tmp1_output.
|
|
1123
|
-
tmp1_output.
|
|
1158
|
+
if (tmp1_output.sn(tmp0_desc, 16) ? true : !(value.e1i_1 == null)) {
|
|
1159
|
+
tmp1_output.on(tmp0_desc, 16, tmp2_cached[16].g2(), value.e1i_1);
|
|
1124
1160
|
}
|
|
1125
|
-
if (tmp1_output.
|
|
1126
|
-
tmp1_output.
|
|
1161
|
+
if (tmp1_output.sn(tmp0_desc, 17) ? true : !(value.f1i_1 == null)) {
|
|
1162
|
+
tmp1_output.on(tmp0_desc, 17, tmp2_cached[17].g2(), value.f1i_1);
|
|
1127
1163
|
}
|
|
1128
|
-
if (tmp1_output.
|
|
1129
|
-
tmp1_output.
|
|
1164
|
+
if (tmp1_output.sn(tmp0_desc, 18) ? true : !(value.g1i_1 == null)) {
|
|
1165
|
+
tmp1_output.on(tmp0_desc, 18, tmp2_cached[18].g2(), value.g1i_1);
|
|
1130
1166
|
}
|
|
1131
|
-
if (tmp1_output.
|
|
1132
|
-
tmp1_output.
|
|
1167
|
+
if (tmp1_output.sn(tmp0_desc, 19) ? true : !(value.h1i_1 == null)) {
|
|
1168
|
+
tmp1_output.on(tmp0_desc, 19, tmp2_cached[19].g2(), value.h1i_1);
|
|
1133
1169
|
}
|
|
1134
|
-
if (tmp1_output.
|
|
1135
|
-
tmp1_output.
|
|
1170
|
+
if (tmp1_output.sn(tmp0_desc, 20) ? true : !(value.i1i_1 == null)) {
|
|
1171
|
+
tmp1_output.on(tmp0_desc, 20, tmp2_cached[20].g2(), value.i1i_1);
|
|
1136
1172
|
}
|
|
1137
|
-
if (tmp1_output.
|
|
1138
|
-
tmp1_output.
|
|
1173
|
+
if (tmp1_output.sn(tmp0_desc, 21) ? true : !(value.j1i_1 == null)) {
|
|
1174
|
+
tmp1_output.on(tmp0_desc, 21, tmp2_cached[21].g2(), value.j1i_1);
|
|
1139
1175
|
}
|
|
1140
|
-
if (tmp1_output.
|
|
1141
|
-
tmp1_output.
|
|
1176
|
+
if (tmp1_output.sn(tmp0_desc, 22) ? true : !(value.k1i_1 == null)) {
|
|
1177
|
+
tmp1_output.on(tmp0_desc, 22, StringSerializer_getInstance(), value.k1i_1);
|
|
1142
1178
|
}
|
|
1143
|
-
if (tmp1_output.
|
|
1144
|
-
tmp1_output.
|
|
1179
|
+
if (tmp1_output.sn(tmp0_desc, 23) ? true : !(value.l1i_1 == null)) {
|
|
1180
|
+
tmp1_output.on(tmp0_desc, 23, tmp2_cached[23].g2(), value.l1i_1);
|
|
1145
1181
|
}
|
|
1146
|
-
if (tmp1_output.
|
|
1147
|
-
tmp1_output.
|
|
1182
|
+
if (tmp1_output.sn(tmp0_desc, 24) ? true : !(value.m1i_1 == null)) {
|
|
1183
|
+
tmp1_output.on(tmp0_desc, 24, StringSerializer_getInstance(), value.m1i_1);
|
|
1148
1184
|
}
|
|
1149
|
-
tmp1_output.
|
|
1185
|
+
tmp1_output.wl(tmp0_desc);
|
|
1150
1186
|
};
|
|
1151
1187
|
protoOf($serializer_1).ui = function (encoder, value) {
|
|
1152
|
-
return this.
|
|
1188
|
+
return this.u1j(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
|
|
1153
1189
|
};
|
|
1154
1190
|
protoOf($serializer_1).vi = function (decoder) {
|
|
1155
|
-
var tmp0_desc = this.
|
|
1191
|
+
var tmp0_desc = this.t1j_1;
|
|
1156
1192
|
var tmp1_flag = true;
|
|
1157
1193
|
var tmp2_index = 0;
|
|
1158
1194
|
var tmp3_bitMask0 = 0;
|
|
@@ -1180,176 +1216,183 @@
|
|
|
1180
1216
|
var tmp25_local21 = null;
|
|
1181
1217
|
var tmp26_local22 = null;
|
|
1182
1218
|
var tmp27_local23 = null;
|
|
1183
|
-
var
|
|
1184
|
-
var
|
|
1185
|
-
|
|
1186
|
-
|
|
1219
|
+
var tmp28_local24 = null;
|
|
1220
|
+
var tmp29_input = decoder.vl(tmp0_desc);
|
|
1221
|
+
var tmp30_cached = Companion_getInstance_1().s1j_1;
|
|
1222
|
+
if (tmp29_input.lm()) {
|
|
1223
|
+
tmp4_local0 = tmp29_input.jm(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
1187
1224
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1188
|
-
tmp5_local1 =
|
|
1225
|
+
tmp5_local1 = tmp29_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1189
1226
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1190
|
-
tmp6_local2 =
|
|
1227
|
+
tmp6_local2 = tmp29_input.jm(tmp0_desc, 2, tmp30_cached[2].g2(), tmp6_local2);
|
|
1191
1228
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1192
|
-
tmp7_local3 =
|
|
1229
|
+
tmp7_local3 = tmp29_input.jm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1193
1230
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1194
|
-
tmp8_local4 =
|
|
1231
|
+
tmp8_local4 = tmp29_input.jm(tmp0_desc, 4, tmp30_cached[4].g2(), tmp8_local4);
|
|
1195
1232
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1196
|
-
tmp9_local5 =
|
|
1233
|
+
tmp9_local5 = tmp29_input.jm(tmp0_desc, 5, tmp30_cached[5].g2(), tmp9_local5);
|
|
1197
1234
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1198
|
-
tmp10_local6 =
|
|
1235
|
+
tmp10_local6 = tmp29_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1199
1236
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1200
|
-
tmp11_local7 =
|
|
1237
|
+
tmp11_local7 = tmp29_input.jm(tmp0_desc, 7, tmp30_cached[7].g2(), tmp11_local7);
|
|
1201
1238
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1202
|
-
tmp12_local8 =
|
|
1239
|
+
tmp12_local8 = tmp29_input.jm(tmp0_desc, 8, tmp30_cached[8].g2(), tmp12_local8);
|
|
1203
1240
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1204
|
-
tmp13_local9 =
|
|
1241
|
+
tmp13_local9 = tmp29_input.jm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
1205
1242
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1206
|
-
tmp14_local10 =
|
|
1243
|
+
tmp14_local10 = tmp29_input.jm(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
|
|
1207
1244
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1208
|
-
tmp15_local11 =
|
|
1245
|
+
tmp15_local11 = tmp29_input.jm(tmp0_desc, 11, $serializer_getInstance_3(), tmp15_local11);
|
|
1209
1246
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1210
|
-
tmp16_local12 =
|
|
1247
|
+
tmp16_local12 = tmp29_input.fm(tmp0_desc, 12);
|
|
1211
1248
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1212
|
-
tmp17_local13 =
|
|
1249
|
+
tmp17_local13 = tmp29_input.jm(tmp0_desc, 13, tmp30_cached[13].g2(), tmp17_local13);
|
|
1213
1250
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
1214
|
-
tmp18_local14 =
|
|
1251
|
+
tmp18_local14 = tmp29_input.jm(tmp0_desc, 14, tmp30_cached[14].g2(), tmp18_local14);
|
|
1215
1252
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
1216
|
-
tmp19_local15 =
|
|
1253
|
+
tmp19_local15 = tmp29_input.jm(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
1217
1254
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
1218
|
-
tmp20_local16 =
|
|
1255
|
+
tmp20_local16 = tmp29_input.jm(tmp0_desc, 16, tmp30_cached[16].g2(), tmp20_local16);
|
|
1219
1256
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
1220
|
-
tmp21_local17 =
|
|
1257
|
+
tmp21_local17 = tmp29_input.jm(tmp0_desc, 17, tmp30_cached[17].g2(), tmp21_local17);
|
|
1221
1258
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1222
|
-
tmp22_local18 =
|
|
1259
|
+
tmp22_local18 = tmp29_input.jm(tmp0_desc, 18, tmp30_cached[18].g2(), tmp22_local18);
|
|
1223
1260
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1224
|
-
tmp23_local19 =
|
|
1261
|
+
tmp23_local19 = tmp29_input.jm(tmp0_desc, 19, tmp30_cached[19].g2(), tmp23_local19);
|
|
1225
1262
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
1226
|
-
tmp24_local20 =
|
|
1263
|
+
tmp24_local20 = tmp29_input.jm(tmp0_desc, 20, tmp30_cached[20].g2(), tmp24_local20);
|
|
1227
1264
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
1228
|
-
tmp25_local21 =
|
|
1265
|
+
tmp25_local21 = tmp29_input.jm(tmp0_desc, 21, tmp30_cached[21].g2(), tmp25_local21);
|
|
1229
1266
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
1230
|
-
tmp26_local22 =
|
|
1267
|
+
tmp26_local22 = tmp29_input.jm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
1231
1268
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
1232
|
-
tmp27_local23 =
|
|
1269
|
+
tmp27_local23 = tmp29_input.jm(tmp0_desc, 23, tmp30_cached[23].g2(), tmp27_local23);
|
|
1233
1270
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
1271
|
+
tmp28_local24 = tmp29_input.jm(tmp0_desc, 24, StringSerializer_getInstance(), tmp28_local24);
|
|
1272
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
1234
1273
|
} else
|
|
1235
1274
|
while (tmp1_flag) {
|
|
1236
|
-
tmp2_index =
|
|
1275
|
+
tmp2_index = tmp29_input.mm(tmp0_desc);
|
|
1237
1276
|
switch (tmp2_index) {
|
|
1238
1277
|
case -1:
|
|
1239
1278
|
tmp1_flag = false;
|
|
1240
1279
|
break;
|
|
1241
1280
|
case 0:
|
|
1242
|
-
tmp4_local0 =
|
|
1281
|
+
tmp4_local0 = tmp29_input.jm(tmp0_desc, 0, BooleanSerializer_getInstance(), tmp4_local0);
|
|
1243
1282
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1244
1283
|
break;
|
|
1245
1284
|
case 1:
|
|
1246
|
-
tmp5_local1 =
|
|
1285
|
+
tmp5_local1 = tmp29_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1247
1286
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1248
1287
|
break;
|
|
1249
1288
|
case 2:
|
|
1250
|
-
tmp6_local2 =
|
|
1289
|
+
tmp6_local2 = tmp29_input.jm(tmp0_desc, 2, tmp30_cached[2].g2(), tmp6_local2);
|
|
1251
1290
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1252
1291
|
break;
|
|
1253
1292
|
case 3:
|
|
1254
|
-
tmp7_local3 =
|
|
1293
|
+
tmp7_local3 = tmp29_input.jm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1255
1294
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1256
1295
|
break;
|
|
1257
1296
|
case 4:
|
|
1258
|
-
tmp8_local4 =
|
|
1297
|
+
tmp8_local4 = tmp29_input.jm(tmp0_desc, 4, tmp30_cached[4].g2(), tmp8_local4);
|
|
1259
1298
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1260
1299
|
break;
|
|
1261
1300
|
case 5:
|
|
1262
|
-
tmp9_local5 =
|
|
1301
|
+
tmp9_local5 = tmp29_input.jm(tmp0_desc, 5, tmp30_cached[5].g2(), tmp9_local5);
|
|
1263
1302
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1264
1303
|
break;
|
|
1265
1304
|
case 6:
|
|
1266
|
-
tmp10_local6 =
|
|
1305
|
+
tmp10_local6 = tmp29_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1267
1306
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1268
1307
|
break;
|
|
1269
1308
|
case 7:
|
|
1270
|
-
tmp11_local7 =
|
|
1309
|
+
tmp11_local7 = tmp29_input.jm(tmp0_desc, 7, tmp30_cached[7].g2(), tmp11_local7);
|
|
1271
1310
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1272
1311
|
break;
|
|
1273
1312
|
case 8:
|
|
1274
|
-
tmp12_local8 =
|
|
1313
|
+
tmp12_local8 = tmp29_input.jm(tmp0_desc, 8, tmp30_cached[8].g2(), tmp12_local8);
|
|
1275
1314
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
1276
1315
|
break;
|
|
1277
1316
|
case 9:
|
|
1278
|
-
tmp13_local9 =
|
|
1317
|
+
tmp13_local9 = tmp29_input.jm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
1279
1318
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
1280
1319
|
break;
|
|
1281
1320
|
case 10:
|
|
1282
|
-
tmp14_local10 =
|
|
1321
|
+
tmp14_local10 = tmp29_input.jm(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
|
|
1283
1322
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
1284
1323
|
break;
|
|
1285
1324
|
case 11:
|
|
1286
|
-
tmp15_local11 =
|
|
1325
|
+
tmp15_local11 = tmp29_input.jm(tmp0_desc, 11, $serializer_getInstance_3(), tmp15_local11);
|
|
1287
1326
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
1288
1327
|
break;
|
|
1289
1328
|
case 12:
|
|
1290
|
-
tmp16_local12 =
|
|
1329
|
+
tmp16_local12 = tmp29_input.fm(tmp0_desc, 12);
|
|
1291
1330
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
1292
1331
|
break;
|
|
1293
1332
|
case 13:
|
|
1294
|
-
tmp17_local13 =
|
|
1333
|
+
tmp17_local13 = tmp29_input.jm(tmp0_desc, 13, tmp30_cached[13].g2(), tmp17_local13);
|
|
1295
1334
|
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
1296
1335
|
break;
|
|
1297
1336
|
case 14:
|
|
1298
|
-
tmp18_local14 =
|
|
1337
|
+
tmp18_local14 = tmp29_input.jm(tmp0_desc, 14, tmp30_cached[14].g2(), tmp18_local14);
|
|
1299
1338
|
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
1300
1339
|
break;
|
|
1301
1340
|
case 15:
|
|
1302
|
-
tmp19_local15 =
|
|
1341
|
+
tmp19_local15 = tmp29_input.jm(tmp0_desc, 15, BooleanSerializer_getInstance(), tmp19_local15);
|
|
1303
1342
|
tmp3_bitMask0 = tmp3_bitMask0 | 32768;
|
|
1304
1343
|
break;
|
|
1305
1344
|
case 16:
|
|
1306
|
-
tmp20_local16 =
|
|
1345
|
+
tmp20_local16 = tmp29_input.jm(tmp0_desc, 16, tmp30_cached[16].g2(), tmp20_local16);
|
|
1307
1346
|
tmp3_bitMask0 = tmp3_bitMask0 | 65536;
|
|
1308
1347
|
break;
|
|
1309
1348
|
case 17:
|
|
1310
|
-
tmp21_local17 =
|
|
1349
|
+
tmp21_local17 = tmp29_input.jm(tmp0_desc, 17, tmp30_cached[17].g2(), tmp21_local17);
|
|
1311
1350
|
tmp3_bitMask0 = tmp3_bitMask0 | 131072;
|
|
1312
1351
|
break;
|
|
1313
1352
|
case 18:
|
|
1314
|
-
tmp22_local18 =
|
|
1353
|
+
tmp22_local18 = tmp29_input.jm(tmp0_desc, 18, tmp30_cached[18].g2(), tmp22_local18);
|
|
1315
1354
|
tmp3_bitMask0 = tmp3_bitMask0 | 262144;
|
|
1316
1355
|
break;
|
|
1317
1356
|
case 19:
|
|
1318
|
-
tmp23_local19 =
|
|
1357
|
+
tmp23_local19 = tmp29_input.jm(tmp0_desc, 19, tmp30_cached[19].g2(), tmp23_local19);
|
|
1319
1358
|
tmp3_bitMask0 = tmp3_bitMask0 | 524288;
|
|
1320
1359
|
break;
|
|
1321
1360
|
case 20:
|
|
1322
|
-
tmp24_local20 =
|
|
1361
|
+
tmp24_local20 = tmp29_input.jm(tmp0_desc, 20, tmp30_cached[20].g2(), tmp24_local20);
|
|
1323
1362
|
tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
|
|
1324
1363
|
break;
|
|
1325
1364
|
case 21:
|
|
1326
|
-
tmp25_local21 =
|
|
1365
|
+
tmp25_local21 = tmp29_input.jm(tmp0_desc, 21, tmp30_cached[21].g2(), tmp25_local21);
|
|
1327
1366
|
tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
|
|
1328
1367
|
break;
|
|
1329
1368
|
case 22:
|
|
1330
|
-
tmp26_local22 =
|
|
1369
|
+
tmp26_local22 = tmp29_input.jm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
|
|
1331
1370
|
tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
|
|
1332
1371
|
break;
|
|
1333
1372
|
case 23:
|
|
1334
|
-
tmp27_local23 =
|
|
1373
|
+
tmp27_local23 = tmp29_input.jm(tmp0_desc, 23, tmp30_cached[23].g2(), tmp27_local23);
|
|
1335
1374
|
tmp3_bitMask0 = tmp3_bitMask0 | 8388608;
|
|
1336
1375
|
break;
|
|
1376
|
+
case 24:
|
|
1377
|
+
tmp28_local24 = tmp29_input.jm(tmp0_desc, 24, StringSerializer_getInstance(), tmp28_local24);
|
|
1378
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16777216;
|
|
1379
|
+
break;
|
|
1337
1380
|
default:
|
|
1338
1381
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1339
1382
|
}
|
|
1340
1383
|
}
|
|
1341
|
-
|
|
1342
|
-
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, tmp27_local23, null);
|
|
1384
|
+
tmp29_input.wl(tmp0_desc);
|
|
1385
|
+
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, tmp27_local23, tmp28_local24, null);
|
|
1343
1386
|
};
|
|
1344
1387
|
protoOf($serializer_1).ti = function () {
|
|
1345
|
-
return this.
|
|
1388
|
+
return this.t1j_1;
|
|
1346
1389
|
};
|
|
1347
|
-
protoOf($serializer_1).
|
|
1348
|
-
var tmp0_cached = Companion_getInstance_1().
|
|
1390
|
+
protoOf($serializer_1).cu = function () {
|
|
1391
|
+
var tmp0_cached = Companion_getInstance_1().s1j_1;
|
|
1349
1392
|
// Inline function 'kotlin.arrayOf' call
|
|
1350
1393
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1351
1394
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1352
|
-
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].g2()), get_nullable(tmp0_cached[5].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[7].g2()), get_nullable(tmp0_cached[8].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_3()), StringSerializer_getInstance(), get_nullable(tmp0_cached[13].g2()), get_nullable(tmp0_cached[14].g2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[16].g2()), get_nullable(tmp0_cached[17].g2()), get_nullable(tmp0_cached[18].g2()), get_nullable(tmp0_cached[19].g2()), get_nullable(tmp0_cached[20].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[
|
|
1395
|
+
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[2].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].g2()), get_nullable(tmp0_cached[5].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[7].g2()), get_nullable(tmp0_cached[8].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_3()), StringSerializer_getInstance(), get_nullable(tmp0_cached[13].g2()), get_nullable(tmp0_cached[14].g2()), get_nullable(BooleanSerializer_getInstance()), get_nullable(tmp0_cached[16].g2()), get_nullable(tmp0_cached[17].g2()), get_nullable(tmp0_cached[18].g2()), get_nullable(tmp0_cached[19].g2()), get_nullable(tmp0_cached[20].g2()), get_nullable(tmp0_cached[21].g2()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[23].g2()), get_nullable(StringSerializer_getInstance())];
|
|
1353
1396
|
};
|
|
1354
1397
|
var $serializer_instance_1;
|
|
1355
1398
|
function $serializer_getInstance_1() {
|
|
@@ -1357,109 +1400,113 @@
|
|
|
1357
1400
|
new $serializer_1();
|
|
1358
1401
|
return $serializer_instance_1;
|
|
1359
1402
|
}
|
|
1360
|
-
function RecipeV3_init_$Init$(seen0, appExclusiveBranding, 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) {
|
|
1403
|
+
function RecipeV3_init_$Init$(seen0, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, $this) {
|
|
1361
1404
|
if (!(4096 === (4096 & seen0))) {
|
|
1362
|
-
throwMissingFieldException(seen0, 4096, $serializer_getInstance_1().
|
|
1405
|
+
throwMissingFieldException(seen0, 4096, $serializer_getInstance_1().t1j_1);
|
|
1363
1406
|
}
|
|
1364
1407
|
if (0 === (seen0 & 1))
|
|
1365
|
-
$this.
|
|
1408
|
+
$this.o1h_1 = null;
|
|
1366
1409
|
else
|
|
1367
|
-
$this.
|
|
1410
|
+
$this.o1h_1 = appExclusiveBranding;
|
|
1368
1411
|
if (0 === (seen0 & 2))
|
|
1369
|
-
$this.
|
|
1412
|
+
$this.p1h_1 = null;
|
|
1370
1413
|
else
|
|
1371
|
-
$this.
|
|
1414
|
+
$this.p1h_1 = bookCredit;
|
|
1372
1415
|
if (0 === (seen0 & 4))
|
|
1373
|
-
$this.
|
|
1416
|
+
$this.q1h_1 = null;
|
|
1374
1417
|
else
|
|
1375
|
-
$this.
|
|
1418
|
+
$this.q1h_1 = byline;
|
|
1376
1419
|
if (0 === (seen0 & 8))
|
|
1377
|
-
$this.
|
|
1420
|
+
$this.r1h_1 = null;
|
|
1378
1421
|
else
|
|
1379
|
-
$this.
|
|
1422
|
+
$this.r1h_1 = canonicalArticle;
|
|
1380
1423
|
if (0 === (seen0 & 16))
|
|
1381
|
-
$this.
|
|
1424
|
+
$this.s1h_1 = null;
|
|
1382
1425
|
else
|
|
1383
|
-
$this.
|
|
1426
|
+
$this.s1h_1 = celebrationIds;
|
|
1384
1427
|
if (0 === (seen0 & 32))
|
|
1385
|
-
$this.
|
|
1428
|
+
$this.t1h_1 = null;
|
|
1386
1429
|
else
|
|
1387
|
-
$this.
|
|
1430
|
+
$this.t1h_1 = commerceCtas;
|
|
1388
1431
|
if (0 === (seen0 & 64))
|
|
1389
|
-
$this.
|
|
1432
|
+
$this.u1h_1 = null;
|
|
1390
1433
|
else
|
|
1391
|
-
$this.
|
|
1434
|
+
$this.u1h_1 = composerId;
|
|
1392
1435
|
if (0 === (seen0 & 128))
|
|
1393
|
-
$this.
|
|
1436
|
+
$this.v1h_1 = null;
|
|
1394
1437
|
else
|
|
1395
|
-
$this.
|
|
1438
|
+
$this.v1h_1 = contributors;
|
|
1396
1439
|
if (0 === (seen0 & 256))
|
|
1397
|
-
$this.
|
|
1440
|
+
$this.w1h_1 = null;
|
|
1398
1441
|
else
|
|
1399
|
-
$this.
|
|
1442
|
+
$this.w1h_1 = cuisineIds;
|
|
1400
1443
|
if (0 === (seen0 & 512))
|
|
1401
|
-
$this.
|
|
1444
|
+
$this.x1h_1 = null;
|
|
1402
1445
|
else
|
|
1403
|
-
$this.
|
|
1446
|
+
$this.x1h_1 = description;
|
|
1404
1447
|
if (0 === (seen0 & 1024))
|
|
1405
|
-
$this.
|
|
1448
|
+
$this.y1h_1 = null;
|
|
1406
1449
|
else
|
|
1407
|
-
$this.
|
|
1450
|
+
$this.y1h_1 = difficultyLevel;
|
|
1408
1451
|
if (0 === (seen0 & 2048))
|
|
1409
|
-
$this.
|
|
1452
|
+
$this.z1h_1 = null;
|
|
1410
1453
|
else
|
|
1411
|
-
$this.
|
|
1412
|
-
$this.
|
|
1454
|
+
$this.z1h_1 = featuredImage;
|
|
1455
|
+
$this.a1i_1 = id;
|
|
1413
1456
|
if (0 === (seen0 & 8192))
|
|
1414
|
-
$this.
|
|
1457
|
+
$this.b1i_1 = null;
|
|
1415
1458
|
else
|
|
1416
|
-
$this.
|
|
1459
|
+
$this.b1i_1 = ingredients;
|
|
1417
1460
|
if (0 === (seen0 & 16384))
|
|
1418
|
-
$this.
|
|
1461
|
+
$this.c1i_1 = null;
|
|
1419
1462
|
else
|
|
1420
|
-
$this.
|
|
1463
|
+
$this.c1i_1 = instructions;
|
|
1421
1464
|
if (0 === (seen0 & 32768))
|
|
1422
|
-
$this.
|
|
1465
|
+
$this.d1i_1 = null;
|
|
1423
1466
|
else
|
|
1424
|
-
$this.
|
|
1467
|
+
$this.d1i_1 = isAppReady;
|
|
1425
1468
|
if (0 === (seen0 & 65536))
|
|
1426
|
-
$this.
|
|
1469
|
+
$this.e1i_1 = null;
|
|
1427
1470
|
else
|
|
1428
|
-
$this.
|
|
1471
|
+
$this.e1i_1 = mealTypeIds;
|
|
1429
1472
|
if (0 === (seen0 & 131072))
|
|
1430
|
-
$this.
|
|
1473
|
+
$this.f1i_1 = null;
|
|
1431
1474
|
else
|
|
1432
|
-
$this.
|
|
1475
|
+
$this.f1i_1 = originalMeasuringSystem;
|
|
1433
1476
|
if (0 === (seen0 & 262144))
|
|
1434
|
-
$this.
|
|
1477
|
+
$this.g1i_1 = null;
|
|
1435
1478
|
else
|
|
1436
|
-
$this.
|
|
1479
|
+
$this.g1i_1 = serves;
|
|
1437
1480
|
if (0 === (seen0 & 524288))
|
|
1438
|
-
$this.
|
|
1481
|
+
$this.h1i_1 = null;
|
|
1439
1482
|
else
|
|
1440
|
-
$this.
|
|
1483
|
+
$this.h1i_1 = suitableForDietIds;
|
|
1441
1484
|
if (0 === (seen0 & 1048576))
|
|
1442
|
-
$this.
|
|
1485
|
+
$this.i1i_1 = null;
|
|
1443
1486
|
else
|
|
1444
|
-
$this.
|
|
1487
|
+
$this.i1i_1 = techniquesUsedIds;
|
|
1445
1488
|
if (0 === (seen0 & 2097152))
|
|
1446
|
-
$this.
|
|
1489
|
+
$this.j1i_1 = null;
|
|
1447
1490
|
else
|
|
1448
|
-
$this.
|
|
1491
|
+
$this.j1i_1 = timings;
|
|
1449
1492
|
if (0 === (seen0 & 4194304))
|
|
1450
|
-
$this.
|
|
1493
|
+
$this.k1i_1 = null;
|
|
1451
1494
|
else
|
|
1452
|
-
$this.
|
|
1495
|
+
$this.k1i_1 = title;
|
|
1453
1496
|
if (0 === (seen0 & 8388608))
|
|
1454
|
-
$this.
|
|
1497
|
+
$this.l1i_1 = null;
|
|
1498
|
+
else
|
|
1499
|
+
$this.l1i_1 = utensilsAndApplianceIds;
|
|
1500
|
+
if (0 === (seen0 & 16777216))
|
|
1501
|
+
$this.m1i_1 = null;
|
|
1455
1502
|
else
|
|
1456
|
-
$this.
|
|
1503
|
+
$this.m1i_1 = webPublicationDate;
|
|
1457
1504
|
return $this;
|
|
1458
1505
|
}
|
|
1459
|
-
function RecipeV3_init_$Create$(seen0, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker) {
|
|
1460
|
-
return RecipeV3_init_$Init$(seen0, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, objectCreate(protoOf(RecipeV3)));
|
|
1506
|
+
function RecipeV3_init_$Create$(seen0, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker) {
|
|
1507
|
+
return RecipeV3_init_$Init$(seen0, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, objectCreate(protoOf(RecipeV3)));
|
|
1461
1508
|
}
|
|
1462
|
-
function RecipeV3(appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
1509
|
+
function RecipeV3(appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
1463
1510
|
Companion_getInstance_1();
|
|
1464
1511
|
appExclusiveBranding = appExclusiveBranding === VOID ? null : appExclusiveBranding;
|
|
1465
1512
|
bookCredit = bookCredit === VOID ? null : bookCredit;
|
|
@@ -1477,6 +1524,7 @@
|
|
|
1477
1524
|
instructions = instructions === VOID ? null : instructions;
|
|
1478
1525
|
isAppReady = isAppReady === VOID ? null : isAppReady;
|
|
1479
1526
|
mealTypeIds = mealTypeIds === VOID ? null : mealTypeIds;
|
|
1527
|
+
originalMeasuringSystem = originalMeasuringSystem === VOID ? null : originalMeasuringSystem;
|
|
1480
1528
|
serves = serves === VOID ? null : serves;
|
|
1481
1529
|
suitableForDietIds = suitableForDietIds === VOID ? null : suitableForDietIds;
|
|
1482
1530
|
techniquesUsedIds = techniquesUsedIds === VOID ? null : techniquesUsedIds;
|
|
@@ -1484,89 +1532,92 @@
|
|
|
1484
1532
|
title = title === VOID ? null : title;
|
|
1485
1533
|
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
|
|
1486
1534
|
webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
|
|
1487
|
-
this.
|
|
1488
|
-
this.
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1491
|
-
this.
|
|
1492
|
-
this.
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1495
|
-
this.
|
|
1496
|
-
this.
|
|
1497
|
-
this.
|
|
1498
|
-
this.
|
|
1499
|
-
this.
|
|
1500
|
-
this.
|
|
1501
|
-
this.
|
|
1502
|
-
this.
|
|
1503
|
-
this.
|
|
1504
|
-
this.
|
|
1505
|
-
this.
|
|
1506
|
-
this.
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1510
|
-
this.
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1535
|
+
this.o1h_1 = appExclusiveBranding;
|
|
1536
|
+
this.p1h_1 = bookCredit;
|
|
1537
|
+
this.q1h_1 = byline;
|
|
1538
|
+
this.r1h_1 = canonicalArticle;
|
|
1539
|
+
this.s1h_1 = celebrationIds;
|
|
1540
|
+
this.t1h_1 = commerceCtas;
|
|
1541
|
+
this.u1h_1 = composerId;
|
|
1542
|
+
this.v1h_1 = contributors;
|
|
1543
|
+
this.w1h_1 = cuisineIds;
|
|
1544
|
+
this.x1h_1 = description;
|
|
1545
|
+
this.y1h_1 = difficultyLevel;
|
|
1546
|
+
this.z1h_1 = featuredImage;
|
|
1547
|
+
this.a1i_1 = id;
|
|
1548
|
+
this.b1i_1 = ingredients;
|
|
1549
|
+
this.c1i_1 = instructions;
|
|
1550
|
+
this.d1i_1 = isAppReady;
|
|
1551
|
+
this.e1i_1 = mealTypeIds;
|
|
1552
|
+
this.f1i_1 = originalMeasuringSystem;
|
|
1553
|
+
this.g1i_1 = serves;
|
|
1554
|
+
this.h1i_1 = suitableForDietIds;
|
|
1555
|
+
this.i1i_1 = techniquesUsedIds;
|
|
1556
|
+
this.j1i_1 = timings;
|
|
1557
|
+
this.k1i_1 = title;
|
|
1558
|
+
this.l1i_1 = utensilsAndApplianceIds;
|
|
1559
|
+
this.m1i_1 = webPublicationDate;
|
|
1560
|
+
}
|
|
1561
|
+
protoOf(RecipeV3).v1j = function (appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
|
|
1562
|
+
return new RecipeV3(appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1563
|
+
};
|
|
1564
|
+
protoOf(RecipeV3).e1j = function (appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
|
|
1565
|
+
appExclusiveBranding = appExclusiveBranding === VOID ? this.o1h_1 : appExclusiveBranding;
|
|
1566
|
+
bookCredit = bookCredit === VOID ? this.p1h_1 : bookCredit;
|
|
1567
|
+
byline = byline === VOID ? this.q1h_1 : byline;
|
|
1568
|
+
canonicalArticle = canonicalArticle === VOID ? this.r1h_1 : canonicalArticle;
|
|
1569
|
+
celebrationIds = celebrationIds === VOID ? this.s1h_1 : celebrationIds;
|
|
1570
|
+
commerceCtas = commerceCtas === VOID ? this.t1h_1 : commerceCtas;
|
|
1571
|
+
composerId = composerId === VOID ? this.u1h_1 : composerId;
|
|
1572
|
+
contributors = contributors === VOID ? this.v1h_1 : contributors;
|
|
1573
|
+
cuisineIds = cuisineIds === VOID ? this.w1h_1 : cuisineIds;
|
|
1574
|
+
description = description === VOID ? this.x1h_1 : description;
|
|
1575
|
+
difficultyLevel = difficultyLevel === VOID ? this.y1h_1 : difficultyLevel;
|
|
1576
|
+
featuredImage = featuredImage === VOID ? this.z1h_1 : featuredImage;
|
|
1577
|
+
id = id === VOID ? this.a1i_1 : id;
|
|
1578
|
+
ingredients = ingredients === VOID ? this.b1i_1 : ingredients;
|
|
1579
|
+
instructions = instructions === VOID ? this.c1i_1 : instructions;
|
|
1580
|
+
isAppReady = isAppReady === VOID ? this.d1i_1 : isAppReady;
|
|
1581
|
+
mealTypeIds = mealTypeIds === VOID ? this.e1i_1 : mealTypeIds;
|
|
1582
|
+
originalMeasuringSystem = originalMeasuringSystem === VOID ? this.f1i_1 : originalMeasuringSystem;
|
|
1583
|
+
serves = serves === VOID ? this.g1i_1 : serves;
|
|
1584
|
+
suitableForDietIds = suitableForDietIds === VOID ? this.h1i_1 : suitableForDietIds;
|
|
1585
|
+
techniquesUsedIds = techniquesUsedIds === VOID ? this.i1i_1 : techniquesUsedIds;
|
|
1586
|
+
timings = timings === VOID ? this.j1i_1 : timings;
|
|
1587
|
+
title = title === VOID ? this.k1i_1 : title;
|
|
1588
|
+
utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.l1i_1 : utensilsAndApplianceIds;
|
|
1589
|
+
webPublicationDate = webPublicationDate === VOID ? this.m1i_1 : webPublicationDate;
|
|
1590
|
+
return $super === VOID ? this.v1j(appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.v1j.call(this, appExclusiveBranding, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, originalMeasuringSystem, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
|
|
1541
1591
|
};
|
|
1542
1592
|
protoOf(RecipeV3).toString = function () {
|
|
1543
|
-
return 'RecipeV3(appExclusiveBranding=' + this.
|
|
1593
|
+
return 'RecipeV3(appExclusiveBranding=' + this.o1h_1 + ', bookCredit=' + this.p1h_1 + ', byline=' + toString(this.q1h_1) + ', canonicalArticle=' + this.r1h_1 + ', celebrationIds=' + toString(this.s1h_1) + ', commerceCtas=' + toString(this.t1h_1) + ', composerId=' + this.u1h_1 + ', contributors=' + toString(this.v1h_1) + ', cuisineIds=' + toString(this.w1h_1) + ', description=' + this.x1h_1 + ', difficultyLevel=' + this.y1h_1 + ', featuredImage=' + toString(this.z1h_1) + ', id=' + this.a1i_1 + ', ingredients=' + toString(this.b1i_1) + ', instructions=' + toString(this.c1i_1) + ', isAppReady=' + this.d1i_1 + ', mealTypeIds=' + toString(this.e1i_1) + ', originalMeasuringSystem=' + toString(this.f1i_1) + ', serves=' + toString(this.g1i_1) + ', suitableForDietIds=' + toString(this.h1i_1) + ', techniquesUsedIds=' + toString(this.i1i_1) + ', timings=' + toString(this.j1i_1) + ', title=' + this.k1i_1 + ', utensilsAndApplianceIds=' + toString(this.l1i_1) + ', webPublicationDate=' + this.m1i_1 + ')';
|
|
1544
1594
|
};
|
|
1545
1595
|
protoOf(RecipeV3).hashCode = function () {
|
|
1546
|
-
var result = this.
|
|
1547
|
-
result = imul(result, 31) + (this.
|
|
1548
|
-
result = imul(result, 31) + (this.
|
|
1549
|
-
result = imul(result, 31) + (this.
|
|
1550
|
-
result = imul(result, 31) + (this.
|
|
1551
|
-
result = imul(result, 31) + (this.
|
|
1552
|
-
result = imul(result, 31) + (this.
|
|
1553
|
-
result = imul(result, 31) + (this.
|
|
1554
|
-
result = imul(result, 31) + (this.
|
|
1555
|
-
result = imul(result, 31) + (this.
|
|
1556
|
-
result = imul(result, 31) + (this.
|
|
1557
|
-
result = imul(result, 31) + (this.
|
|
1558
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1559
|
-
result = imul(result, 31) + (this.
|
|
1560
|
-
result = imul(result, 31) + (this.
|
|
1561
|
-
result = imul(result, 31) + (this.
|
|
1562
|
-
result = imul(result, 31) + (this.
|
|
1563
|
-
result = imul(result, 31) + (this.
|
|
1564
|
-
result = imul(result, 31) + (this.
|
|
1565
|
-
result = imul(result, 31) + (this.
|
|
1566
|
-
result = imul(result, 31) + (this.
|
|
1567
|
-
result = imul(result, 31) + (this.
|
|
1568
|
-
result = imul(result, 31) + (this.
|
|
1569
|
-
result = imul(result, 31) + (this.
|
|
1596
|
+
var result = this.o1h_1 == null ? 0 : getBooleanHashCode(this.o1h_1);
|
|
1597
|
+
result = imul(result, 31) + (this.p1h_1 == null ? 0 : getStringHashCode(this.p1h_1)) | 0;
|
|
1598
|
+
result = imul(result, 31) + (this.q1h_1 == null ? 0 : hashCode(this.q1h_1)) | 0;
|
|
1599
|
+
result = imul(result, 31) + (this.r1h_1 == null ? 0 : getStringHashCode(this.r1h_1)) | 0;
|
|
1600
|
+
result = imul(result, 31) + (this.s1h_1 == null ? 0 : hashCode(this.s1h_1)) | 0;
|
|
1601
|
+
result = imul(result, 31) + (this.t1h_1 == null ? 0 : hashCode(this.t1h_1)) | 0;
|
|
1602
|
+
result = imul(result, 31) + (this.u1h_1 == null ? 0 : getStringHashCode(this.u1h_1)) | 0;
|
|
1603
|
+
result = imul(result, 31) + (this.v1h_1 == null ? 0 : hashCode(this.v1h_1)) | 0;
|
|
1604
|
+
result = imul(result, 31) + (this.w1h_1 == null ? 0 : hashCode(this.w1h_1)) | 0;
|
|
1605
|
+
result = imul(result, 31) + (this.x1h_1 == null ? 0 : getStringHashCode(this.x1h_1)) | 0;
|
|
1606
|
+
result = imul(result, 31) + (this.y1h_1 == null ? 0 : getStringHashCode(this.y1h_1)) | 0;
|
|
1607
|
+
result = imul(result, 31) + (this.z1h_1 == null ? 0 : this.z1h_1.hashCode()) | 0;
|
|
1608
|
+
result = imul(result, 31) + getStringHashCode(this.a1i_1) | 0;
|
|
1609
|
+
result = imul(result, 31) + (this.b1i_1 == null ? 0 : hashCode(this.b1i_1)) | 0;
|
|
1610
|
+
result = imul(result, 31) + (this.c1i_1 == null ? 0 : hashCode(this.c1i_1)) | 0;
|
|
1611
|
+
result = imul(result, 31) + (this.d1i_1 == null ? 0 : getBooleanHashCode(this.d1i_1)) | 0;
|
|
1612
|
+
result = imul(result, 31) + (this.e1i_1 == null ? 0 : hashCode(this.e1i_1)) | 0;
|
|
1613
|
+
result = imul(result, 31) + (this.f1i_1 == null ? 0 : this.f1i_1.hashCode()) | 0;
|
|
1614
|
+
result = imul(result, 31) + (this.g1i_1 == null ? 0 : hashCode(this.g1i_1)) | 0;
|
|
1615
|
+
result = imul(result, 31) + (this.h1i_1 == null ? 0 : hashCode(this.h1i_1)) | 0;
|
|
1616
|
+
result = imul(result, 31) + (this.i1i_1 == null ? 0 : hashCode(this.i1i_1)) | 0;
|
|
1617
|
+
result = imul(result, 31) + (this.j1i_1 == null ? 0 : hashCode(this.j1i_1)) | 0;
|
|
1618
|
+
result = imul(result, 31) + (this.k1i_1 == null ? 0 : getStringHashCode(this.k1i_1)) | 0;
|
|
1619
|
+
result = imul(result, 31) + (this.l1i_1 == null ? 0 : hashCode(this.l1i_1)) | 0;
|
|
1620
|
+
result = imul(result, 31) + (this.m1i_1 == null ? 0 : getStringHashCode(this.m1i_1)) | 0;
|
|
1570
1621
|
return result;
|
|
1571
1622
|
};
|
|
1572
1623
|
protoOf(RecipeV3).equals = function (other) {
|
|
@@ -1574,121 +1625,123 @@
|
|
|
1574
1625
|
return true;
|
|
1575
1626
|
if (!(other instanceof RecipeV3))
|
|
1576
1627
|
return false;
|
|
1577
|
-
if (!(this.
|
|
1628
|
+
if (!(this.o1h_1 == other.o1h_1))
|
|
1578
1629
|
return false;
|
|
1579
|
-
if (!(this.
|
|
1630
|
+
if (!(this.p1h_1 == other.p1h_1))
|
|
1580
1631
|
return false;
|
|
1581
|
-
if (!equals(this.
|
|
1632
|
+
if (!equals(this.q1h_1, other.q1h_1))
|
|
1582
1633
|
return false;
|
|
1583
|
-
if (!(this.
|
|
1634
|
+
if (!(this.r1h_1 == other.r1h_1))
|
|
1584
1635
|
return false;
|
|
1585
|
-
if (!equals(this.
|
|
1636
|
+
if (!equals(this.s1h_1, other.s1h_1))
|
|
1586
1637
|
return false;
|
|
1587
|
-
if (!equals(this.
|
|
1638
|
+
if (!equals(this.t1h_1, other.t1h_1))
|
|
1588
1639
|
return false;
|
|
1589
|
-
if (!(this.
|
|
1640
|
+
if (!(this.u1h_1 == other.u1h_1))
|
|
1590
1641
|
return false;
|
|
1591
|
-
if (!equals(this.
|
|
1642
|
+
if (!equals(this.v1h_1, other.v1h_1))
|
|
1592
1643
|
return false;
|
|
1593
|
-
if (!equals(this.
|
|
1644
|
+
if (!equals(this.w1h_1, other.w1h_1))
|
|
1594
1645
|
return false;
|
|
1595
|
-
if (!(this.
|
|
1646
|
+
if (!(this.x1h_1 == other.x1h_1))
|
|
1596
1647
|
return false;
|
|
1597
|
-
if (!(this.
|
|
1648
|
+
if (!(this.y1h_1 == other.y1h_1))
|
|
1598
1649
|
return false;
|
|
1599
|
-
if (!equals(this.
|
|
1650
|
+
if (!equals(this.z1h_1, other.z1h_1))
|
|
1600
1651
|
return false;
|
|
1601
|
-
if (!(this.
|
|
1652
|
+
if (!(this.a1i_1 === other.a1i_1))
|
|
1602
1653
|
return false;
|
|
1603
|
-
if (!equals(this.
|
|
1654
|
+
if (!equals(this.b1i_1, other.b1i_1))
|
|
1604
1655
|
return false;
|
|
1605
|
-
if (!equals(this.
|
|
1656
|
+
if (!equals(this.c1i_1, other.c1i_1))
|
|
1606
1657
|
return false;
|
|
1607
|
-
if (!(this.
|
|
1658
|
+
if (!(this.d1i_1 == other.d1i_1))
|
|
1608
1659
|
return false;
|
|
1609
|
-
if (!equals(this.
|
|
1660
|
+
if (!equals(this.e1i_1, other.e1i_1))
|
|
1610
1661
|
return false;
|
|
1611
|
-
if (!equals(this.
|
|
1662
|
+
if (!equals(this.f1i_1, other.f1i_1))
|
|
1612
1663
|
return false;
|
|
1613
|
-
if (!equals(this.
|
|
1664
|
+
if (!equals(this.g1i_1, other.g1i_1))
|
|
1614
1665
|
return false;
|
|
1615
|
-
if (!equals(this.
|
|
1666
|
+
if (!equals(this.h1i_1, other.h1i_1))
|
|
1616
1667
|
return false;
|
|
1617
|
-
if (!equals(this.
|
|
1668
|
+
if (!equals(this.i1i_1, other.i1i_1))
|
|
1618
1669
|
return false;
|
|
1619
|
-
if (!(this.
|
|
1670
|
+
if (!equals(this.j1i_1, other.j1i_1))
|
|
1620
1671
|
return false;
|
|
1621
|
-
if (!
|
|
1672
|
+
if (!(this.k1i_1 == other.k1i_1))
|
|
1622
1673
|
return false;
|
|
1623
|
-
if (!(this.
|
|
1674
|
+
if (!equals(this.l1i_1, other.l1i_1))
|
|
1675
|
+
return false;
|
|
1676
|
+
if (!(this.m1i_1 == other.m1i_1))
|
|
1624
1677
|
return false;
|
|
1625
1678
|
return true;
|
|
1626
1679
|
};
|
|
1627
1680
|
function $serializer_2() {
|
|
1628
1681
|
$serializer_instance_2 = this;
|
|
1629
1682
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
|
|
1630
|
-
tmp0_serialDesc.
|
|
1631
|
-
tmp0_serialDesc.
|
|
1632
|
-
tmp0_serialDesc.
|
|
1633
|
-
this.
|
|
1634
|
-
}
|
|
1635
|
-
protoOf($serializer_2).
|
|
1636
|
-
var tmp0_desc = this.
|
|
1637
|
-
var tmp1_output = encoder.
|
|
1638
|
-
tmp1_output.
|
|
1639
|
-
tmp1_output.
|
|
1640
|
-
tmp1_output.
|
|
1641
|
-
tmp1_output.
|
|
1683
|
+
tmp0_serialDesc.jt('sponsorName', false);
|
|
1684
|
+
tmp0_serialDesc.jt('territory', false);
|
|
1685
|
+
tmp0_serialDesc.jt('url', false);
|
|
1686
|
+
this.w1j_1 = tmp0_serialDesc;
|
|
1687
|
+
}
|
|
1688
|
+
protoOf($serializer_2).x1j = function (encoder, value) {
|
|
1689
|
+
var tmp0_desc = this.w1j_1;
|
|
1690
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
1691
|
+
tmp1_output.kn(tmp0_desc, 0, value.y1j_1);
|
|
1692
|
+
tmp1_output.kn(tmp0_desc, 1, value.z1j_1);
|
|
1693
|
+
tmp1_output.kn(tmp0_desc, 2, value.a1k_1);
|
|
1694
|
+
tmp1_output.wl(tmp0_desc);
|
|
1642
1695
|
};
|
|
1643
1696
|
protoOf($serializer_2).ui = function (encoder, value) {
|
|
1644
|
-
return this.
|
|
1697
|
+
return this.x1j(encoder, value instanceof CommerceCta ? value : THROW_CCE());
|
|
1645
1698
|
};
|
|
1646
1699
|
protoOf($serializer_2).vi = function (decoder) {
|
|
1647
|
-
var tmp0_desc = this.
|
|
1700
|
+
var tmp0_desc = this.w1j_1;
|
|
1648
1701
|
var tmp1_flag = true;
|
|
1649
1702
|
var tmp2_index = 0;
|
|
1650
1703
|
var tmp3_bitMask0 = 0;
|
|
1651
1704
|
var tmp4_local0 = null;
|
|
1652
1705
|
var tmp5_local1 = null;
|
|
1653
1706
|
var tmp6_local2 = null;
|
|
1654
|
-
var tmp7_input = decoder.
|
|
1655
|
-
if (tmp7_input.
|
|
1656
|
-
tmp4_local0 = tmp7_input.
|
|
1707
|
+
var tmp7_input = decoder.vl(tmp0_desc);
|
|
1708
|
+
if (tmp7_input.lm()) {
|
|
1709
|
+
tmp4_local0 = tmp7_input.fm(tmp0_desc, 0);
|
|
1657
1710
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1658
|
-
tmp5_local1 = tmp7_input.
|
|
1711
|
+
tmp5_local1 = tmp7_input.fm(tmp0_desc, 1);
|
|
1659
1712
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1660
|
-
tmp6_local2 = tmp7_input.
|
|
1713
|
+
tmp6_local2 = tmp7_input.fm(tmp0_desc, 2);
|
|
1661
1714
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1662
1715
|
} else
|
|
1663
1716
|
while (tmp1_flag) {
|
|
1664
|
-
tmp2_index = tmp7_input.
|
|
1717
|
+
tmp2_index = tmp7_input.mm(tmp0_desc);
|
|
1665
1718
|
switch (tmp2_index) {
|
|
1666
1719
|
case -1:
|
|
1667
1720
|
tmp1_flag = false;
|
|
1668
1721
|
break;
|
|
1669
1722
|
case 0:
|
|
1670
|
-
tmp4_local0 = tmp7_input.
|
|
1723
|
+
tmp4_local0 = tmp7_input.fm(tmp0_desc, 0);
|
|
1671
1724
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1672
1725
|
break;
|
|
1673
1726
|
case 1:
|
|
1674
|
-
tmp5_local1 = tmp7_input.
|
|
1727
|
+
tmp5_local1 = tmp7_input.fm(tmp0_desc, 1);
|
|
1675
1728
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1676
1729
|
break;
|
|
1677
1730
|
case 2:
|
|
1678
|
-
tmp6_local2 = tmp7_input.
|
|
1731
|
+
tmp6_local2 = tmp7_input.fm(tmp0_desc, 2);
|
|
1679
1732
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1680
1733
|
break;
|
|
1681
1734
|
default:
|
|
1682
1735
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1683
1736
|
}
|
|
1684
1737
|
}
|
|
1685
|
-
tmp7_input.
|
|
1738
|
+
tmp7_input.wl(tmp0_desc);
|
|
1686
1739
|
return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
1687
1740
|
};
|
|
1688
1741
|
protoOf($serializer_2).ti = function () {
|
|
1689
|
-
return this.
|
|
1742
|
+
return this.w1j_1;
|
|
1690
1743
|
};
|
|
1691
|
-
protoOf($serializer_2).
|
|
1744
|
+
protoOf($serializer_2).cu = function () {
|
|
1692
1745
|
// Inline function 'kotlin.arrayOf' call
|
|
1693
1746
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1694
1747
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1702,11 +1755,11 @@
|
|
|
1702
1755
|
}
|
|
1703
1756
|
function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
|
|
1704
1757
|
if (!(7 === (7 & seen0))) {
|
|
1705
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().
|
|
1758
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance_2().w1j_1);
|
|
1706
1759
|
}
|
|
1707
|
-
$this.
|
|
1708
|
-
$this.
|
|
1709
|
-
$this.
|
|
1760
|
+
$this.y1j_1 = sponsorName;
|
|
1761
|
+
$this.z1j_1 = territory;
|
|
1762
|
+
$this.a1k_1 = url;
|
|
1710
1763
|
return $this;
|
|
1711
1764
|
}
|
|
1712
1765
|
function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
|
|
@@ -1715,12 +1768,12 @@
|
|
|
1715
1768
|
function CommerceCta() {
|
|
1716
1769
|
}
|
|
1717
1770
|
protoOf(CommerceCta).toString = function () {
|
|
1718
|
-
return 'CommerceCta(sponsorName=' + this.
|
|
1771
|
+
return 'CommerceCta(sponsorName=' + this.y1j_1 + ', territory=' + this.z1j_1 + ', url=' + this.a1k_1 + ')';
|
|
1719
1772
|
};
|
|
1720
1773
|
protoOf(CommerceCta).hashCode = function () {
|
|
1721
|
-
var result = getStringHashCode(this.
|
|
1722
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1723
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1774
|
+
var result = getStringHashCode(this.y1j_1);
|
|
1775
|
+
result = imul(result, 31) + getStringHashCode(this.z1j_1) | 0;
|
|
1776
|
+
result = imul(result, 31) + getStringHashCode(this.a1k_1) | 0;
|
|
1724
1777
|
return result;
|
|
1725
1778
|
};
|
|
1726
1779
|
protoOf(CommerceCta).equals = function (other) {
|
|
@@ -1728,55 +1781,55 @@
|
|
|
1728
1781
|
return true;
|
|
1729
1782
|
if (!(other instanceof CommerceCta))
|
|
1730
1783
|
return false;
|
|
1731
|
-
if (!(this.
|
|
1784
|
+
if (!(this.y1j_1 === other.y1j_1))
|
|
1732
1785
|
return false;
|
|
1733
|
-
if (!(this.
|
|
1786
|
+
if (!(this.z1j_1 === other.z1j_1))
|
|
1734
1787
|
return false;
|
|
1735
|
-
if (!(this.
|
|
1788
|
+
if (!(this.a1k_1 === other.a1k_1))
|
|
1736
1789
|
return false;
|
|
1737
1790
|
return true;
|
|
1738
1791
|
};
|
|
1739
1792
|
function $serializer_3() {
|
|
1740
1793
|
$serializer_instance_3 = this;
|
|
1741
1794
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
|
|
1742
|
-
tmp0_serialDesc.
|
|
1743
|
-
tmp0_serialDesc.
|
|
1744
|
-
tmp0_serialDesc.
|
|
1745
|
-
tmp0_serialDesc.
|
|
1746
|
-
tmp0_serialDesc.
|
|
1747
|
-
tmp0_serialDesc.
|
|
1748
|
-
tmp0_serialDesc.
|
|
1749
|
-
tmp0_serialDesc.
|
|
1750
|
-
this.
|
|
1751
|
-
}
|
|
1752
|
-
protoOf($serializer_3).
|
|
1753
|
-
var tmp0_desc = this.
|
|
1754
|
-
var tmp1_output = encoder.
|
|
1755
|
-
if (tmp1_output.
|
|
1756
|
-
tmp1_output.
|
|
1795
|
+
tmp0_serialDesc.jt('caption', true);
|
|
1796
|
+
tmp0_serialDesc.jt('cropId', false);
|
|
1797
|
+
tmp0_serialDesc.jt('imageType', true);
|
|
1798
|
+
tmp0_serialDesc.jt('mediaApiUrl', true);
|
|
1799
|
+
tmp0_serialDesc.jt('mediaId', false);
|
|
1800
|
+
tmp0_serialDesc.jt('photographer', true);
|
|
1801
|
+
tmp0_serialDesc.jt('source', true);
|
|
1802
|
+
tmp0_serialDesc.jt('url', false);
|
|
1803
|
+
this.b1k_1 = tmp0_serialDesc;
|
|
1804
|
+
}
|
|
1805
|
+
protoOf($serializer_3).c1k = function (encoder, value) {
|
|
1806
|
+
var tmp0_desc = this.b1k_1;
|
|
1807
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
1808
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.d1k_1 == null)) {
|
|
1809
|
+
tmp1_output.on(tmp0_desc, 0, StringSerializer_getInstance(), value.d1k_1);
|
|
1757
1810
|
}
|
|
1758
|
-
tmp1_output.
|
|
1759
|
-
if (tmp1_output.
|
|
1760
|
-
tmp1_output.
|
|
1811
|
+
tmp1_output.kn(tmp0_desc, 1, value.e1k_1);
|
|
1812
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.f1k_1 == null)) {
|
|
1813
|
+
tmp1_output.on(tmp0_desc, 2, StringSerializer_getInstance(), value.f1k_1);
|
|
1761
1814
|
}
|
|
1762
|
-
if (tmp1_output.
|
|
1763
|
-
tmp1_output.
|
|
1815
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.g1k_1 == null)) {
|
|
1816
|
+
tmp1_output.on(tmp0_desc, 3, StringSerializer_getInstance(), value.g1k_1);
|
|
1764
1817
|
}
|
|
1765
|
-
tmp1_output.
|
|
1766
|
-
if (tmp1_output.
|
|
1767
|
-
tmp1_output.
|
|
1818
|
+
tmp1_output.kn(tmp0_desc, 4, value.h1k_1);
|
|
1819
|
+
if (tmp1_output.sn(tmp0_desc, 5) ? true : !(value.i1k_1 == null)) {
|
|
1820
|
+
tmp1_output.on(tmp0_desc, 5, StringSerializer_getInstance(), value.i1k_1);
|
|
1768
1821
|
}
|
|
1769
|
-
if (tmp1_output.
|
|
1770
|
-
tmp1_output.
|
|
1822
|
+
if (tmp1_output.sn(tmp0_desc, 6) ? true : !(value.j1k_1 == null)) {
|
|
1823
|
+
tmp1_output.on(tmp0_desc, 6, StringSerializer_getInstance(), value.j1k_1);
|
|
1771
1824
|
}
|
|
1772
|
-
tmp1_output.
|
|
1773
|
-
tmp1_output.
|
|
1825
|
+
tmp1_output.kn(tmp0_desc, 7, value.k1k_1);
|
|
1826
|
+
tmp1_output.wl(tmp0_desc);
|
|
1774
1827
|
};
|
|
1775
1828
|
protoOf($serializer_3).ui = function (encoder, value) {
|
|
1776
|
-
return this.
|
|
1829
|
+
return this.c1k(encoder, value instanceof Image ? value : THROW_CCE());
|
|
1777
1830
|
};
|
|
1778
1831
|
protoOf($serializer_3).vi = function (decoder) {
|
|
1779
|
-
var tmp0_desc = this.
|
|
1832
|
+
var tmp0_desc = this.b1k_1;
|
|
1780
1833
|
var tmp1_flag = true;
|
|
1781
1834
|
var tmp2_index = 0;
|
|
1782
1835
|
var tmp3_bitMask0 = 0;
|
|
@@ -1788,74 +1841,74 @@
|
|
|
1788
1841
|
var tmp9_local5 = null;
|
|
1789
1842
|
var tmp10_local6 = null;
|
|
1790
1843
|
var tmp11_local7 = null;
|
|
1791
|
-
var tmp12_input = decoder.
|
|
1792
|
-
if (tmp12_input.
|
|
1793
|
-
tmp4_local0 = tmp12_input.
|
|
1844
|
+
var tmp12_input = decoder.vl(tmp0_desc);
|
|
1845
|
+
if (tmp12_input.lm()) {
|
|
1846
|
+
tmp4_local0 = tmp12_input.jm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1794
1847
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1795
|
-
tmp5_local1 = tmp12_input.
|
|
1848
|
+
tmp5_local1 = tmp12_input.fm(tmp0_desc, 1);
|
|
1796
1849
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1797
|
-
tmp6_local2 = tmp12_input.
|
|
1850
|
+
tmp6_local2 = tmp12_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1798
1851
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1799
|
-
tmp7_local3 = tmp12_input.
|
|
1852
|
+
tmp7_local3 = tmp12_input.jm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1800
1853
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1801
|
-
tmp8_local4 = tmp12_input.
|
|
1854
|
+
tmp8_local4 = tmp12_input.fm(tmp0_desc, 4);
|
|
1802
1855
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1803
|
-
tmp9_local5 = tmp12_input.
|
|
1856
|
+
tmp9_local5 = tmp12_input.jm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1804
1857
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1805
|
-
tmp10_local6 = tmp12_input.
|
|
1858
|
+
tmp10_local6 = tmp12_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1806
1859
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1807
|
-
tmp11_local7 = tmp12_input.
|
|
1860
|
+
tmp11_local7 = tmp12_input.fm(tmp0_desc, 7);
|
|
1808
1861
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1809
1862
|
} else
|
|
1810
1863
|
while (tmp1_flag) {
|
|
1811
|
-
tmp2_index = tmp12_input.
|
|
1864
|
+
tmp2_index = tmp12_input.mm(tmp0_desc);
|
|
1812
1865
|
switch (tmp2_index) {
|
|
1813
1866
|
case -1:
|
|
1814
1867
|
tmp1_flag = false;
|
|
1815
1868
|
break;
|
|
1816
1869
|
case 0:
|
|
1817
|
-
tmp4_local0 = tmp12_input.
|
|
1870
|
+
tmp4_local0 = tmp12_input.jm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
1818
1871
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1819
1872
|
break;
|
|
1820
1873
|
case 1:
|
|
1821
|
-
tmp5_local1 = tmp12_input.
|
|
1874
|
+
tmp5_local1 = tmp12_input.fm(tmp0_desc, 1);
|
|
1822
1875
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1823
1876
|
break;
|
|
1824
1877
|
case 2:
|
|
1825
|
-
tmp6_local2 = tmp12_input.
|
|
1878
|
+
tmp6_local2 = tmp12_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
1826
1879
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
1827
1880
|
break;
|
|
1828
1881
|
case 3:
|
|
1829
|
-
tmp7_local3 = tmp12_input.
|
|
1882
|
+
tmp7_local3 = tmp12_input.jm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
1830
1883
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
1831
1884
|
break;
|
|
1832
1885
|
case 4:
|
|
1833
|
-
tmp8_local4 = tmp12_input.
|
|
1886
|
+
tmp8_local4 = tmp12_input.fm(tmp0_desc, 4);
|
|
1834
1887
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
1835
1888
|
break;
|
|
1836
1889
|
case 5:
|
|
1837
|
-
tmp9_local5 = tmp12_input.
|
|
1890
|
+
tmp9_local5 = tmp12_input.jm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
1838
1891
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
1839
1892
|
break;
|
|
1840
1893
|
case 6:
|
|
1841
|
-
tmp10_local6 = tmp12_input.
|
|
1894
|
+
tmp10_local6 = tmp12_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
1842
1895
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
1843
1896
|
break;
|
|
1844
1897
|
case 7:
|
|
1845
|
-
tmp11_local7 = tmp12_input.
|
|
1898
|
+
tmp11_local7 = tmp12_input.fm(tmp0_desc, 7);
|
|
1846
1899
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
1847
1900
|
break;
|
|
1848
1901
|
default:
|
|
1849
1902
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
1850
1903
|
}
|
|
1851
1904
|
}
|
|
1852
|
-
tmp12_input.
|
|
1905
|
+
tmp12_input.wl(tmp0_desc);
|
|
1853
1906
|
return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
1854
1907
|
};
|
|
1855
1908
|
protoOf($serializer_3).ti = function () {
|
|
1856
|
-
return this.
|
|
1909
|
+
return this.b1k_1;
|
|
1857
1910
|
};
|
|
1858
|
-
protoOf($serializer_3).
|
|
1911
|
+
protoOf($serializer_3).cu = function () {
|
|
1859
1912
|
// Inline function 'kotlin.arrayOf' call
|
|
1860
1913
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1861
1914
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -1869,31 +1922,31 @@
|
|
|
1869
1922
|
}
|
|
1870
1923
|
function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
|
|
1871
1924
|
if (!(146 === (146 & seen0))) {
|
|
1872
|
-
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().
|
|
1925
|
+
throwMissingFieldException(seen0, 146, $serializer_getInstance_3().b1k_1);
|
|
1873
1926
|
}
|
|
1874
1927
|
if (0 === (seen0 & 1))
|
|
1875
|
-
$this.
|
|
1928
|
+
$this.d1k_1 = null;
|
|
1876
1929
|
else
|
|
1877
|
-
$this.
|
|
1878
|
-
$this.
|
|
1930
|
+
$this.d1k_1 = caption;
|
|
1931
|
+
$this.e1k_1 = cropId;
|
|
1879
1932
|
if (0 === (seen0 & 4))
|
|
1880
|
-
$this.
|
|
1933
|
+
$this.f1k_1 = null;
|
|
1881
1934
|
else
|
|
1882
|
-
$this.
|
|
1935
|
+
$this.f1k_1 = imageType;
|
|
1883
1936
|
if (0 === (seen0 & 8))
|
|
1884
|
-
$this.
|
|
1937
|
+
$this.g1k_1 = null;
|
|
1885
1938
|
else
|
|
1886
|
-
$this.
|
|
1887
|
-
$this.
|
|
1939
|
+
$this.g1k_1 = mediaApiUrl;
|
|
1940
|
+
$this.h1k_1 = mediaId;
|
|
1888
1941
|
if (0 === (seen0 & 32))
|
|
1889
|
-
$this.
|
|
1942
|
+
$this.i1k_1 = null;
|
|
1890
1943
|
else
|
|
1891
|
-
$this.
|
|
1944
|
+
$this.i1k_1 = photographer;
|
|
1892
1945
|
if (0 === (seen0 & 64))
|
|
1893
|
-
$this.
|
|
1946
|
+
$this.j1k_1 = null;
|
|
1894
1947
|
else
|
|
1895
|
-
$this.
|
|
1896
|
-
$this.
|
|
1948
|
+
$this.j1k_1 = source;
|
|
1949
|
+
$this.k1k_1 = url;
|
|
1897
1950
|
return $this;
|
|
1898
1951
|
}
|
|
1899
1952
|
function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
|
|
@@ -1902,17 +1955,17 @@
|
|
|
1902
1955
|
function Image() {
|
|
1903
1956
|
}
|
|
1904
1957
|
protoOf(Image).toString = function () {
|
|
1905
|
-
return 'Image(caption=' + this.
|
|
1958
|
+
return 'Image(caption=' + this.d1k_1 + ', cropId=' + this.e1k_1 + ', imageType=' + this.f1k_1 + ', mediaApiUrl=' + this.g1k_1 + ', mediaId=' + this.h1k_1 + ', photographer=' + this.i1k_1 + ', source=' + this.j1k_1 + ', url=' + this.k1k_1 + ')';
|
|
1906
1959
|
};
|
|
1907
1960
|
protoOf(Image).hashCode = function () {
|
|
1908
|
-
var result = this.
|
|
1909
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1910
|
-
result = imul(result, 31) + (this.
|
|
1911
|
-
result = imul(result, 31) + (this.
|
|
1912
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1913
|
-
result = imul(result, 31) + (this.
|
|
1914
|
-
result = imul(result, 31) + (this.
|
|
1915
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
1961
|
+
var result = this.d1k_1 == null ? 0 : getStringHashCode(this.d1k_1);
|
|
1962
|
+
result = imul(result, 31) + getStringHashCode(this.e1k_1) | 0;
|
|
1963
|
+
result = imul(result, 31) + (this.f1k_1 == null ? 0 : getStringHashCode(this.f1k_1)) | 0;
|
|
1964
|
+
result = imul(result, 31) + (this.g1k_1 == null ? 0 : getStringHashCode(this.g1k_1)) | 0;
|
|
1965
|
+
result = imul(result, 31) + getStringHashCode(this.h1k_1) | 0;
|
|
1966
|
+
result = imul(result, 31) + (this.i1k_1 == null ? 0 : getStringHashCode(this.i1k_1)) | 0;
|
|
1967
|
+
result = imul(result, 31) + (this.j1k_1 == null ? 0 : getStringHashCode(this.j1k_1)) | 0;
|
|
1968
|
+
result = imul(result, 31) + getStringHashCode(this.k1k_1) | 0;
|
|
1916
1969
|
return result;
|
|
1917
1970
|
};
|
|
1918
1971
|
protoOf(Image).equals = function (other) {
|
|
@@ -1920,21 +1973,21 @@
|
|
|
1920
1973
|
return true;
|
|
1921
1974
|
if (!(other instanceof Image))
|
|
1922
1975
|
return false;
|
|
1923
|
-
if (!(this.
|
|
1976
|
+
if (!(this.d1k_1 == other.d1k_1))
|
|
1924
1977
|
return false;
|
|
1925
|
-
if (!(this.
|
|
1978
|
+
if (!(this.e1k_1 === other.e1k_1))
|
|
1926
1979
|
return false;
|
|
1927
|
-
if (!(this.
|
|
1980
|
+
if (!(this.f1k_1 == other.f1k_1))
|
|
1928
1981
|
return false;
|
|
1929
|
-
if (!(this.
|
|
1982
|
+
if (!(this.g1k_1 == other.g1k_1))
|
|
1930
1983
|
return false;
|
|
1931
|
-
if (!(this.
|
|
1984
|
+
if (!(this.h1k_1 === other.h1k_1))
|
|
1932
1985
|
return false;
|
|
1933
|
-
if (!(this.
|
|
1986
|
+
if (!(this.i1k_1 == other.i1k_1))
|
|
1934
1987
|
return false;
|
|
1935
|
-
if (!(this.
|
|
1988
|
+
if (!(this.j1k_1 == other.j1k_1))
|
|
1936
1989
|
return false;
|
|
1937
|
-
if (!(this.
|
|
1990
|
+
if (!(this.k1k_1 === other.k1k_1))
|
|
1938
1991
|
return false;
|
|
1939
1992
|
return true;
|
|
1940
1993
|
};
|
|
@@ -1948,7 +2001,7 @@
|
|
|
1948
2001
|
// Inline function 'kotlin.arrayOf' call
|
|
1949
2002
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1950
2003
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1951
|
-
tmp.
|
|
2004
|
+
tmp.l1k_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
|
|
1952
2005
|
}
|
|
1953
2006
|
var Companion_instance_3;
|
|
1954
2007
|
function Companion_getInstance_2() {
|
|
@@ -1959,66 +2012,66 @@
|
|
|
1959
2012
|
function $serializer_4() {
|
|
1960
2013
|
$serializer_instance_4 = this;
|
|
1961
2014
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
|
|
1962
|
-
tmp0_serialDesc.
|
|
1963
|
-
tmp0_serialDesc.
|
|
1964
|
-
this.
|
|
1965
|
-
}
|
|
1966
|
-
protoOf($serializer_4).
|
|
1967
|
-
var tmp0_desc = this.
|
|
1968
|
-
var tmp1_output = encoder.
|
|
1969
|
-
var tmp2_cached = Companion_getInstance_2().
|
|
1970
|
-
if (tmp1_output.
|
|
1971
|
-
tmp1_output.
|
|
2015
|
+
tmp0_serialDesc.jt('ingredientsList', true);
|
|
2016
|
+
tmp0_serialDesc.jt('recipeSection', true);
|
|
2017
|
+
this.m1k_1 = tmp0_serialDesc;
|
|
2018
|
+
}
|
|
2019
|
+
protoOf($serializer_4).n1k = function (encoder, value) {
|
|
2020
|
+
var tmp0_desc = this.m1k_1;
|
|
2021
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2022
|
+
var tmp2_cached = Companion_getInstance_2().l1k_1;
|
|
2023
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.n1i_1 == null)) {
|
|
2024
|
+
tmp1_output.on(tmp0_desc, 0, tmp2_cached[0].g2(), value.n1i_1);
|
|
1972
2025
|
}
|
|
1973
|
-
if (tmp1_output.
|
|
1974
|
-
tmp1_output.
|
|
2026
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.o1i_1 == null)) {
|
|
2027
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.o1i_1);
|
|
1975
2028
|
}
|
|
1976
|
-
tmp1_output.
|
|
2029
|
+
tmp1_output.wl(tmp0_desc);
|
|
1977
2030
|
};
|
|
1978
2031
|
protoOf($serializer_4).ui = function (encoder, value) {
|
|
1979
|
-
return this.
|
|
2032
|
+
return this.n1k(encoder, value instanceof IngredientsList ? value : THROW_CCE());
|
|
1980
2033
|
};
|
|
1981
2034
|
protoOf($serializer_4).vi = function (decoder) {
|
|
1982
|
-
var tmp0_desc = this.
|
|
2035
|
+
var tmp0_desc = this.m1k_1;
|
|
1983
2036
|
var tmp1_flag = true;
|
|
1984
2037
|
var tmp2_index = 0;
|
|
1985
2038
|
var tmp3_bitMask0 = 0;
|
|
1986
2039
|
var tmp4_local0 = null;
|
|
1987
2040
|
var tmp5_local1 = null;
|
|
1988
|
-
var tmp6_input = decoder.
|
|
1989
|
-
var tmp7_cached = Companion_getInstance_2().
|
|
1990
|
-
if (tmp6_input.
|
|
1991
|
-
tmp4_local0 = tmp6_input.
|
|
2041
|
+
var tmp6_input = decoder.vl(tmp0_desc);
|
|
2042
|
+
var tmp7_cached = Companion_getInstance_2().l1k_1;
|
|
2043
|
+
if (tmp6_input.lm()) {
|
|
2044
|
+
tmp4_local0 = tmp6_input.jm(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
1992
2045
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
1993
|
-
tmp5_local1 = tmp6_input.
|
|
2046
|
+
tmp5_local1 = tmp6_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
1994
2047
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
1995
2048
|
} else
|
|
1996
2049
|
while (tmp1_flag) {
|
|
1997
|
-
tmp2_index = tmp6_input.
|
|
2050
|
+
tmp2_index = tmp6_input.mm(tmp0_desc);
|
|
1998
2051
|
switch (tmp2_index) {
|
|
1999
2052
|
case -1:
|
|
2000
2053
|
tmp1_flag = false;
|
|
2001
2054
|
break;
|
|
2002
2055
|
case 0:
|
|
2003
|
-
tmp4_local0 = tmp6_input.
|
|
2056
|
+
tmp4_local0 = tmp6_input.jm(tmp0_desc, 0, tmp7_cached[0].g2(), tmp4_local0);
|
|
2004
2057
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2005
2058
|
break;
|
|
2006
2059
|
case 1:
|
|
2007
|
-
tmp5_local1 = tmp6_input.
|
|
2060
|
+
tmp5_local1 = tmp6_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2008
2061
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2009
2062
|
break;
|
|
2010
2063
|
default:
|
|
2011
2064
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2012
2065
|
}
|
|
2013
2066
|
}
|
|
2014
|
-
tmp6_input.
|
|
2067
|
+
tmp6_input.wl(tmp0_desc);
|
|
2015
2068
|
return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2016
2069
|
};
|
|
2017
2070
|
protoOf($serializer_4).ti = function () {
|
|
2018
|
-
return this.
|
|
2071
|
+
return this.m1k_1;
|
|
2019
2072
|
};
|
|
2020
|
-
protoOf($serializer_4).
|
|
2021
|
-
var tmp0_cached = Companion_getInstance_2().
|
|
2073
|
+
protoOf($serializer_4).cu = function () {
|
|
2074
|
+
var tmp0_cached = Companion_getInstance_2().l1k_1;
|
|
2022
2075
|
// Inline function 'kotlin.arrayOf' call
|
|
2023
2076
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2024
2077
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2032,16 +2085,16 @@
|
|
|
2032
2085
|
}
|
|
2033
2086
|
function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
|
|
2034
2087
|
if (!(0 === (0 & seen0))) {
|
|
2035
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().
|
|
2088
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_4().m1k_1);
|
|
2036
2089
|
}
|
|
2037
2090
|
if (0 === (seen0 & 1))
|
|
2038
|
-
$this.
|
|
2091
|
+
$this.n1i_1 = null;
|
|
2039
2092
|
else
|
|
2040
|
-
$this.
|
|
2093
|
+
$this.n1i_1 = ingredientsList;
|
|
2041
2094
|
if (0 === (seen0 & 2))
|
|
2042
|
-
$this.
|
|
2095
|
+
$this.o1i_1 = null;
|
|
2043
2096
|
else
|
|
2044
|
-
$this.
|
|
2097
|
+
$this.o1i_1 = recipeSection;
|
|
2045
2098
|
return $this;
|
|
2046
2099
|
}
|
|
2047
2100
|
function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
|
|
@@ -2051,15 +2104,15 @@
|
|
|
2051
2104
|
Companion_getInstance_2();
|
|
2052
2105
|
ingredientsList = ingredientsList === VOID ? null : ingredientsList;
|
|
2053
2106
|
recipeSection = recipeSection === VOID ? null : recipeSection;
|
|
2054
|
-
this.
|
|
2055
|
-
this.
|
|
2107
|
+
this.n1i_1 = ingredientsList;
|
|
2108
|
+
this.o1i_1 = recipeSection;
|
|
2056
2109
|
}
|
|
2057
2110
|
protoOf(IngredientsList).toString = function () {
|
|
2058
|
-
return 'IngredientsList(ingredientsList=' + toString(this.
|
|
2111
|
+
return 'IngredientsList(ingredientsList=' + toString(this.n1i_1) + ', recipeSection=' + this.o1i_1 + ')';
|
|
2059
2112
|
};
|
|
2060
2113
|
protoOf(IngredientsList).hashCode = function () {
|
|
2061
|
-
var result = this.
|
|
2062
|
-
result = imul(result, 31) + (this.
|
|
2114
|
+
var result = this.n1i_1 == null ? 0 : hashCode(this.n1i_1);
|
|
2115
|
+
result = imul(result, 31) + (this.o1i_1 == null ? 0 : getStringHashCode(this.o1i_1)) | 0;
|
|
2063
2116
|
return result;
|
|
2064
2117
|
};
|
|
2065
2118
|
protoOf(IngredientsList).equals = function (other) {
|
|
@@ -2067,9 +2120,9 @@
|
|
|
2067
2120
|
return true;
|
|
2068
2121
|
if (!(other instanceof IngredientsList))
|
|
2069
2122
|
return false;
|
|
2070
|
-
if (!equals(this.
|
|
2123
|
+
if (!equals(this.n1i_1, other.n1i_1))
|
|
2071
2124
|
return false;
|
|
2072
|
-
if (!(this.
|
|
2125
|
+
if (!(this.o1i_1 == other.o1i_1))
|
|
2073
2126
|
return false;
|
|
2074
2127
|
return true;
|
|
2075
2128
|
};
|
|
@@ -2082,54 +2135,54 @@
|
|
|
2082
2135
|
function $serializer_5() {
|
|
2083
2136
|
$serializer_instance_5 = this;
|
|
2084
2137
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
|
|
2085
|
-
tmp0_serialDesc.
|
|
2086
|
-
tmp0_serialDesc.
|
|
2087
|
-
tmp0_serialDesc.
|
|
2088
|
-
tmp0_serialDesc.
|
|
2089
|
-
tmp0_serialDesc.
|
|
2090
|
-
tmp0_serialDesc.
|
|
2091
|
-
tmp0_serialDesc.
|
|
2092
|
-
tmp0_serialDesc.
|
|
2093
|
-
tmp0_serialDesc.
|
|
2094
|
-
this.
|
|
2095
|
-
}
|
|
2096
|
-
protoOf($serializer_5).
|
|
2097
|
-
var tmp0_desc = this.
|
|
2098
|
-
var tmp1_output = encoder.
|
|
2099
|
-
if (tmp1_output.
|
|
2100
|
-
tmp1_output.
|
|
2138
|
+
tmp0_serialDesc.jt('amount', true);
|
|
2139
|
+
tmp0_serialDesc.jt('ingredientId', true);
|
|
2140
|
+
tmp0_serialDesc.jt('name', true);
|
|
2141
|
+
tmp0_serialDesc.jt('optional', true);
|
|
2142
|
+
tmp0_serialDesc.jt('prefix', true);
|
|
2143
|
+
tmp0_serialDesc.jt('suffix', true);
|
|
2144
|
+
tmp0_serialDesc.jt('template', true);
|
|
2145
|
+
tmp0_serialDesc.jt('text', true);
|
|
2146
|
+
tmp0_serialDesc.jt('unit', true);
|
|
2147
|
+
this.o1k_1 = tmp0_serialDesc;
|
|
2148
|
+
}
|
|
2149
|
+
protoOf($serializer_5).p1k = function (encoder, value) {
|
|
2150
|
+
var tmp0_desc = this.o1k_1;
|
|
2151
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2152
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.p1i_1 == null)) {
|
|
2153
|
+
tmp1_output.on(tmp0_desc, 0, $serializer_getInstance_6(), value.p1i_1);
|
|
2101
2154
|
}
|
|
2102
|
-
if (tmp1_output.
|
|
2103
|
-
tmp1_output.
|
|
2155
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.q1i_1 == null)) {
|
|
2156
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.q1i_1);
|
|
2104
2157
|
}
|
|
2105
|
-
if (tmp1_output.
|
|
2106
|
-
tmp1_output.
|
|
2158
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.r1i_1 == null)) {
|
|
2159
|
+
tmp1_output.on(tmp0_desc, 2, StringSerializer_getInstance(), value.r1i_1);
|
|
2107
2160
|
}
|
|
2108
|
-
if (tmp1_output.
|
|
2109
|
-
tmp1_output.
|
|
2161
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.s1i_1 == null)) {
|
|
2162
|
+
tmp1_output.on(tmp0_desc, 3, BooleanSerializer_getInstance(), value.s1i_1);
|
|
2110
2163
|
}
|
|
2111
|
-
if (tmp1_output.
|
|
2112
|
-
tmp1_output.
|
|
2164
|
+
if (tmp1_output.sn(tmp0_desc, 4) ? true : !(value.t1i_1 == null)) {
|
|
2165
|
+
tmp1_output.on(tmp0_desc, 4, StringSerializer_getInstance(), value.t1i_1);
|
|
2113
2166
|
}
|
|
2114
|
-
if (tmp1_output.
|
|
2115
|
-
tmp1_output.
|
|
2167
|
+
if (tmp1_output.sn(tmp0_desc, 5) ? true : !(value.u1i_1 == null)) {
|
|
2168
|
+
tmp1_output.on(tmp0_desc, 5, StringSerializer_getInstance(), value.u1i_1);
|
|
2116
2169
|
}
|
|
2117
|
-
if (tmp1_output.
|
|
2118
|
-
tmp1_output.
|
|
2170
|
+
if (tmp1_output.sn(tmp0_desc, 6) ? true : !(value.v1i_1 == null)) {
|
|
2171
|
+
tmp1_output.on(tmp0_desc, 6, StringSerializer_getInstance(), value.v1i_1);
|
|
2119
2172
|
}
|
|
2120
|
-
if (tmp1_output.
|
|
2121
|
-
tmp1_output.
|
|
2173
|
+
if (tmp1_output.sn(tmp0_desc, 7) ? true : !(value.w1i_1 == null)) {
|
|
2174
|
+
tmp1_output.on(tmp0_desc, 7, StringSerializer_getInstance(), value.w1i_1);
|
|
2122
2175
|
}
|
|
2123
|
-
if (tmp1_output.
|
|
2124
|
-
tmp1_output.
|
|
2176
|
+
if (tmp1_output.sn(tmp0_desc, 8) ? true : !(value.x1i_1 == null)) {
|
|
2177
|
+
tmp1_output.on(tmp0_desc, 8, StringSerializer_getInstance(), value.x1i_1);
|
|
2125
2178
|
}
|
|
2126
|
-
tmp1_output.
|
|
2179
|
+
tmp1_output.wl(tmp0_desc);
|
|
2127
2180
|
};
|
|
2128
2181
|
protoOf($serializer_5).ui = function (encoder, value) {
|
|
2129
|
-
return this.
|
|
2182
|
+
return this.p1k(encoder, value instanceof IngredientItem ? value : THROW_CCE());
|
|
2130
2183
|
};
|
|
2131
2184
|
protoOf($serializer_5).vi = function (decoder) {
|
|
2132
|
-
var tmp0_desc = this.
|
|
2185
|
+
var tmp0_desc = this.o1k_1;
|
|
2133
2186
|
var tmp1_flag = true;
|
|
2134
2187
|
var tmp2_index = 0;
|
|
2135
2188
|
var tmp3_bitMask0 = 0;
|
|
@@ -2142,80 +2195,80 @@
|
|
|
2142
2195
|
var tmp10_local6 = null;
|
|
2143
2196
|
var tmp11_local7 = null;
|
|
2144
2197
|
var tmp12_local8 = null;
|
|
2145
|
-
var tmp13_input = decoder.
|
|
2146
|
-
if (tmp13_input.
|
|
2147
|
-
tmp4_local0 = tmp13_input.
|
|
2198
|
+
var tmp13_input = decoder.vl(tmp0_desc);
|
|
2199
|
+
if (tmp13_input.lm()) {
|
|
2200
|
+
tmp4_local0 = tmp13_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2148
2201
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2149
|
-
tmp5_local1 = tmp13_input.
|
|
2202
|
+
tmp5_local1 = tmp13_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2150
2203
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2151
|
-
tmp6_local2 = tmp13_input.
|
|
2204
|
+
tmp6_local2 = tmp13_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2152
2205
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2153
|
-
tmp7_local3 = tmp13_input.
|
|
2206
|
+
tmp7_local3 = tmp13_input.jm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2154
2207
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2155
|
-
tmp8_local4 = tmp13_input.
|
|
2208
|
+
tmp8_local4 = tmp13_input.jm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2156
2209
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2157
|
-
tmp9_local5 = tmp13_input.
|
|
2210
|
+
tmp9_local5 = tmp13_input.jm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2158
2211
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2159
|
-
tmp10_local6 = tmp13_input.
|
|
2212
|
+
tmp10_local6 = tmp13_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2160
2213
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2161
|
-
tmp11_local7 = tmp13_input.
|
|
2214
|
+
tmp11_local7 = tmp13_input.jm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2162
2215
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2163
|
-
tmp12_local8 = tmp13_input.
|
|
2216
|
+
tmp12_local8 = tmp13_input.jm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2164
2217
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2165
2218
|
} else
|
|
2166
2219
|
while (tmp1_flag) {
|
|
2167
|
-
tmp2_index = tmp13_input.
|
|
2220
|
+
tmp2_index = tmp13_input.mm(tmp0_desc);
|
|
2168
2221
|
switch (tmp2_index) {
|
|
2169
2222
|
case -1:
|
|
2170
2223
|
tmp1_flag = false;
|
|
2171
2224
|
break;
|
|
2172
2225
|
case 0:
|
|
2173
|
-
tmp4_local0 = tmp13_input.
|
|
2226
|
+
tmp4_local0 = tmp13_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2174
2227
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2175
2228
|
break;
|
|
2176
2229
|
case 1:
|
|
2177
|
-
tmp5_local1 = tmp13_input.
|
|
2230
|
+
tmp5_local1 = tmp13_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2178
2231
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2179
2232
|
break;
|
|
2180
2233
|
case 2:
|
|
2181
|
-
tmp6_local2 = tmp13_input.
|
|
2234
|
+
tmp6_local2 = tmp13_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2182
2235
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2183
2236
|
break;
|
|
2184
2237
|
case 3:
|
|
2185
|
-
tmp7_local3 = tmp13_input.
|
|
2238
|
+
tmp7_local3 = tmp13_input.jm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
2186
2239
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2187
2240
|
break;
|
|
2188
2241
|
case 4:
|
|
2189
|
-
tmp8_local4 = tmp13_input.
|
|
2242
|
+
tmp8_local4 = tmp13_input.jm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
2190
2243
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
2191
2244
|
break;
|
|
2192
2245
|
case 5:
|
|
2193
|
-
tmp9_local5 = tmp13_input.
|
|
2246
|
+
tmp9_local5 = tmp13_input.jm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
2194
2247
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
2195
2248
|
break;
|
|
2196
2249
|
case 6:
|
|
2197
|
-
tmp10_local6 = tmp13_input.
|
|
2250
|
+
tmp10_local6 = tmp13_input.jm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
|
|
2198
2251
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
2199
2252
|
break;
|
|
2200
2253
|
case 7:
|
|
2201
|
-
tmp11_local7 = tmp13_input.
|
|
2254
|
+
tmp11_local7 = tmp13_input.jm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
|
|
2202
2255
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
2203
2256
|
break;
|
|
2204
2257
|
case 8:
|
|
2205
|
-
tmp12_local8 = tmp13_input.
|
|
2258
|
+
tmp12_local8 = tmp13_input.jm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
|
|
2206
2259
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
2207
2260
|
break;
|
|
2208
2261
|
default:
|
|
2209
2262
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2210
2263
|
}
|
|
2211
2264
|
}
|
|
2212
|
-
tmp13_input.
|
|
2265
|
+
tmp13_input.wl(tmp0_desc);
|
|
2213
2266
|
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);
|
|
2214
2267
|
};
|
|
2215
2268
|
protoOf($serializer_5).ti = function () {
|
|
2216
|
-
return this.
|
|
2269
|
+
return this.o1k_1;
|
|
2217
2270
|
};
|
|
2218
|
-
protoOf($serializer_5).
|
|
2271
|
+
protoOf($serializer_5).cu = function () {
|
|
2219
2272
|
// Inline function 'kotlin.arrayOf' call
|
|
2220
2273
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2221
2274
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2229,44 +2282,44 @@
|
|
|
2229
2282
|
}
|
|
2230
2283
|
function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
|
|
2231
2284
|
if (!(0 === (0 & seen0))) {
|
|
2232
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().
|
|
2285
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_5().o1k_1);
|
|
2233
2286
|
}
|
|
2234
2287
|
if (0 === (seen0 & 1))
|
|
2235
|
-
$this.
|
|
2288
|
+
$this.p1i_1 = null;
|
|
2236
2289
|
else
|
|
2237
|
-
$this.
|
|
2290
|
+
$this.p1i_1 = amount;
|
|
2238
2291
|
if (0 === (seen0 & 2))
|
|
2239
|
-
$this.
|
|
2292
|
+
$this.q1i_1 = null;
|
|
2240
2293
|
else
|
|
2241
|
-
$this.
|
|
2294
|
+
$this.q1i_1 = ingredientId;
|
|
2242
2295
|
if (0 === (seen0 & 4))
|
|
2243
|
-
$this.
|
|
2296
|
+
$this.r1i_1 = null;
|
|
2244
2297
|
else
|
|
2245
|
-
$this.
|
|
2298
|
+
$this.r1i_1 = name;
|
|
2246
2299
|
if (0 === (seen0 & 8))
|
|
2247
|
-
$this.
|
|
2300
|
+
$this.s1i_1 = null;
|
|
2248
2301
|
else
|
|
2249
|
-
$this.
|
|
2302
|
+
$this.s1i_1 = optional;
|
|
2250
2303
|
if (0 === (seen0 & 16))
|
|
2251
|
-
$this.
|
|
2304
|
+
$this.t1i_1 = null;
|
|
2252
2305
|
else
|
|
2253
|
-
$this.
|
|
2306
|
+
$this.t1i_1 = prefix;
|
|
2254
2307
|
if (0 === (seen0 & 32))
|
|
2255
|
-
$this.
|
|
2308
|
+
$this.u1i_1 = null;
|
|
2256
2309
|
else
|
|
2257
|
-
$this.
|
|
2310
|
+
$this.u1i_1 = suffix;
|
|
2258
2311
|
if (0 === (seen0 & 64))
|
|
2259
|
-
$this.
|
|
2312
|
+
$this.v1i_1 = null;
|
|
2260
2313
|
else
|
|
2261
|
-
$this.
|
|
2314
|
+
$this.v1i_1 = template;
|
|
2262
2315
|
if (0 === (seen0 & 128))
|
|
2263
|
-
$this.
|
|
2316
|
+
$this.w1i_1 = null;
|
|
2264
2317
|
else
|
|
2265
|
-
$this.
|
|
2318
|
+
$this.w1i_1 = text;
|
|
2266
2319
|
if (0 === (seen0 & 256))
|
|
2267
|
-
$this.
|
|
2320
|
+
$this.x1i_1 = null;
|
|
2268
2321
|
else
|
|
2269
|
-
$this.
|
|
2322
|
+
$this.x1i_1 = unit;
|
|
2270
2323
|
return $this;
|
|
2271
2324
|
}
|
|
2272
2325
|
function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
|
|
@@ -2282,44 +2335,44 @@
|
|
|
2282
2335
|
template = template === VOID ? null : template;
|
|
2283
2336
|
text = text === VOID ? null : text;
|
|
2284
2337
|
unit = unit === VOID ? null : unit;
|
|
2285
|
-
this.
|
|
2286
|
-
this.
|
|
2287
|
-
this.
|
|
2288
|
-
this.
|
|
2289
|
-
this.
|
|
2290
|
-
this.
|
|
2291
|
-
this.
|
|
2292
|
-
this.
|
|
2293
|
-
this.
|
|
2294
|
-
}
|
|
2295
|
-
protoOf(IngredientItem).
|
|
2338
|
+
this.p1i_1 = amount;
|
|
2339
|
+
this.q1i_1 = ingredientId;
|
|
2340
|
+
this.r1i_1 = name;
|
|
2341
|
+
this.s1i_1 = optional;
|
|
2342
|
+
this.t1i_1 = prefix;
|
|
2343
|
+
this.u1i_1 = suffix;
|
|
2344
|
+
this.v1i_1 = template;
|
|
2345
|
+
this.w1i_1 = text;
|
|
2346
|
+
this.x1i_1 = unit;
|
|
2347
|
+
}
|
|
2348
|
+
protoOf(IngredientItem).q1k = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
|
|
2296
2349
|
return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2297
2350
|
};
|
|
2298
|
-
protoOf(IngredientItem).
|
|
2299
|
-
amount = amount === VOID ? this.
|
|
2300
|
-
ingredientId = ingredientId === VOID ? this.
|
|
2301
|
-
name = name === VOID ? this.
|
|
2302
|
-
optional = optional === VOID ? this.
|
|
2303
|
-
prefix = prefix === VOID ? this.
|
|
2304
|
-
suffix = suffix === VOID ? this.
|
|
2305
|
-
template = template === VOID ? this.
|
|
2306
|
-
text = text === VOID ? this.
|
|
2307
|
-
unit = unit === VOID ? this.
|
|
2308
|
-
return $super === VOID ? this.
|
|
2351
|
+
protoOf(IngredientItem).y1i = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
|
|
2352
|
+
amount = amount === VOID ? this.p1i_1 : amount;
|
|
2353
|
+
ingredientId = ingredientId === VOID ? this.q1i_1 : ingredientId;
|
|
2354
|
+
name = name === VOID ? this.r1i_1 : name;
|
|
2355
|
+
optional = optional === VOID ? this.s1i_1 : optional;
|
|
2356
|
+
prefix = prefix === VOID ? this.t1i_1 : prefix;
|
|
2357
|
+
suffix = suffix === VOID ? this.u1i_1 : suffix;
|
|
2358
|
+
template = template === VOID ? this.v1i_1 : template;
|
|
2359
|
+
text = text === VOID ? this.w1i_1 : text;
|
|
2360
|
+
unit = unit === VOID ? this.x1i_1 : unit;
|
|
2361
|
+
return $super === VOID ? this.q1k(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.q1k.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
|
|
2309
2362
|
};
|
|
2310
2363
|
protoOf(IngredientItem).toString = function () {
|
|
2311
|
-
return 'IngredientItem(amount=' + toString(this.
|
|
2364
|
+
return 'IngredientItem(amount=' + toString(this.p1i_1) + ', ingredientId=' + this.q1i_1 + ', name=' + this.r1i_1 + ', optional=' + this.s1i_1 + ', prefix=' + this.t1i_1 + ', suffix=' + this.u1i_1 + ', template=' + this.v1i_1 + ', text=' + this.w1i_1 + ', unit=' + this.x1i_1 + ')';
|
|
2312
2365
|
};
|
|
2313
2366
|
protoOf(IngredientItem).hashCode = function () {
|
|
2314
|
-
var result = this.
|
|
2315
|
-
result = imul(result, 31) + (this.
|
|
2316
|
-
result = imul(result, 31) + (this.
|
|
2317
|
-
result = imul(result, 31) + (this.
|
|
2318
|
-
result = imul(result, 31) + (this.
|
|
2319
|
-
result = imul(result, 31) + (this.
|
|
2320
|
-
result = imul(result, 31) + (this.
|
|
2321
|
-
result = imul(result, 31) + (this.
|
|
2322
|
-
result = imul(result, 31) + (this.
|
|
2367
|
+
var result = this.p1i_1 == null ? 0 : this.p1i_1.hashCode();
|
|
2368
|
+
result = imul(result, 31) + (this.q1i_1 == null ? 0 : getStringHashCode(this.q1i_1)) | 0;
|
|
2369
|
+
result = imul(result, 31) + (this.r1i_1 == null ? 0 : getStringHashCode(this.r1i_1)) | 0;
|
|
2370
|
+
result = imul(result, 31) + (this.s1i_1 == null ? 0 : getBooleanHashCode(this.s1i_1)) | 0;
|
|
2371
|
+
result = imul(result, 31) + (this.t1i_1 == null ? 0 : getStringHashCode(this.t1i_1)) | 0;
|
|
2372
|
+
result = imul(result, 31) + (this.u1i_1 == null ? 0 : getStringHashCode(this.u1i_1)) | 0;
|
|
2373
|
+
result = imul(result, 31) + (this.v1i_1 == null ? 0 : getStringHashCode(this.v1i_1)) | 0;
|
|
2374
|
+
result = imul(result, 31) + (this.w1i_1 == null ? 0 : getStringHashCode(this.w1i_1)) | 0;
|
|
2375
|
+
result = imul(result, 31) + (this.x1i_1 == null ? 0 : getStringHashCode(this.x1i_1)) | 0;
|
|
2323
2376
|
return result;
|
|
2324
2377
|
};
|
|
2325
2378
|
protoOf(IngredientItem).equals = function (other) {
|
|
@@ -2327,23 +2380,23 @@
|
|
|
2327
2380
|
return true;
|
|
2328
2381
|
if (!(other instanceof IngredientItem))
|
|
2329
2382
|
return false;
|
|
2330
|
-
if (!equals(this.
|
|
2383
|
+
if (!equals(this.p1i_1, other.p1i_1))
|
|
2331
2384
|
return false;
|
|
2332
|
-
if (!(this.
|
|
2385
|
+
if (!(this.q1i_1 == other.q1i_1))
|
|
2333
2386
|
return false;
|
|
2334
|
-
if (!(this.
|
|
2387
|
+
if (!(this.r1i_1 == other.r1i_1))
|
|
2335
2388
|
return false;
|
|
2336
|
-
if (!(this.
|
|
2389
|
+
if (!(this.s1i_1 == other.s1i_1))
|
|
2337
2390
|
return false;
|
|
2338
|
-
if (!(this.
|
|
2391
|
+
if (!(this.t1i_1 == other.t1i_1))
|
|
2339
2392
|
return false;
|
|
2340
|
-
if (!(this.
|
|
2393
|
+
if (!(this.u1i_1 == other.u1i_1))
|
|
2341
2394
|
return false;
|
|
2342
|
-
if (!(this.
|
|
2395
|
+
if (!(this.v1i_1 == other.v1i_1))
|
|
2343
2396
|
return false;
|
|
2344
|
-
if (!(this.
|
|
2397
|
+
if (!(this.w1i_1 == other.w1i_1))
|
|
2345
2398
|
return false;
|
|
2346
|
-
if (!(this.
|
|
2399
|
+
if (!(this.x1i_1 == other.x1i_1))
|
|
2347
2400
|
return false;
|
|
2348
2401
|
return true;
|
|
2349
2402
|
};
|
|
@@ -2356,63 +2409,63 @@
|
|
|
2356
2409
|
function $serializer_6() {
|
|
2357
2410
|
$serializer_instance_6 = this;
|
|
2358
2411
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
|
|
2359
|
-
tmp0_serialDesc.
|
|
2360
|
-
tmp0_serialDesc.
|
|
2361
|
-
this.
|
|
2362
|
-
}
|
|
2363
|
-
protoOf($serializer_6).
|
|
2364
|
-
var tmp0_desc = this.
|
|
2365
|
-
var tmp1_output = encoder.
|
|
2366
|
-
if (tmp1_output.
|
|
2367
|
-
tmp1_output.
|
|
2412
|
+
tmp0_serialDesc.jt('max', true);
|
|
2413
|
+
tmp0_serialDesc.jt('min', true);
|
|
2414
|
+
this.r1k_1 = tmp0_serialDesc;
|
|
2415
|
+
}
|
|
2416
|
+
protoOf($serializer_6).s1k = function (encoder, value) {
|
|
2417
|
+
var tmp0_desc = this.r1k_1;
|
|
2418
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2419
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.t1k_1 == null)) {
|
|
2420
|
+
tmp1_output.on(tmp0_desc, 0, DoubleSerializer_getInstance(), value.t1k_1);
|
|
2368
2421
|
}
|
|
2369
|
-
if (tmp1_output.
|
|
2370
|
-
tmp1_output.
|
|
2422
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.u1k_1 == null)) {
|
|
2423
|
+
tmp1_output.on(tmp0_desc, 1, DoubleSerializer_getInstance(), value.u1k_1);
|
|
2371
2424
|
}
|
|
2372
|
-
tmp1_output.
|
|
2425
|
+
tmp1_output.wl(tmp0_desc);
|
|
2373
2426
|
};
|
|
2374
2427
|
protoOf($serializer_6).ui = function (encoder, value) {
|
|
2375
|
-
return this.
|
|
2428
|
+
return this.s1k(encoder, value instanceof Range ? value : THROW_CCE());
|
|
2376
2429
|
};
|
|
2377
2430
|
protoOf($serializer_6).vi = function (decoder) {
|
|
2378
|
-
var tmp0_desc = this.
|
|
2431
|
+
var tmp0_desc = this.r1k_1;
|
|
2379
2432
|
var tmp1_flag = true;
|
|
2380
2433
|
var tmp2_index = 0;
|
|
2381
2434
|
var tmp3_bitMask0 = 0;
|
|
2382
2435
|
var tmp4_local0 = null;
|
|
2383
2436
|
var tmp5_local1 = null;
|
|
2384
|
-
var tmp6_input = decoder.
|
|
2385
|
-
if (tmp6_input.
|
|
2386
|
-
tmp4_local0 = tmp6_input.
|
|
2437
|
+
var tmp6_input = decoder.vl(tmp0_desc);
|
|
2438
|
+
if (tmp6_input.lm()) {
|
|
2439
|
+
tmp4_local0 = tmp6_input.jm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
|
|
2387
2440
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2388
|
-
tmp5_local1 = tmp6_input.
|
|
2441
|
+
tmp5_local1 = tmp6_input.jm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
2389
2442
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2390
2443
|
} else
|
|
2391
2444
|
while (tmp1_flag) {
|
|
2392
|
-
tmp2_index = tmp6_input.
|
|
2445
|
+
tmp2_index = tmp6_input.mm(tmp0_desc);
|
|
2393
2446
|
switch (tmp2_index) {
|
|
2394
2447
|
case -1:
|
|
2395
2448
|
tmp1_flag = false;
|
|
2396
2449
|
break;
|
|
2397
2450
|
case 0:
|
|
2398
|
-
tmp4_local0 = tmp6_input.
|
|
2451
|
+
tmp4_local0 = tmp6_input.jm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
|
|
2399
2452
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2400
2453
|
break;
|
|
2401
2454
|
case 1:
|
|
2402
|
-
tmp5_local1 = tmp6_input.
|
|
2455
|
+
tmp5_local1 = tmp6_input.jm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
|
|
2403
2456
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2404
2457
|
break;
|
|
2405
2458
|
default:
|
|
2406
2459
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2407
2460
|
}
|
|
2408
2461
|
}
|
|
2409
|
-
tmp6_input.
|
|
2462
|
+
tmp6_input.wl(tmp0_desc);
|
|
2410
2463
|
return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
2411
2464
|
};
|
|
2412
2465
|
protoOf($serializer_6).ti = function () {
|
|
2413
|
-
return this.
|
|
2466
|
+
return this.r1k_1;
|
|
2414
2467
|
};
|
|
2415
|
-
protoOf($serializer_6).
|
|
2468
|
+
protoOf($serializer_6).cu = function () {
|
|
2416
2469
|
// Inline function 'kotlin.arrayOf' call
|
|
2417
2470
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2418
2471
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2426,16 +2479,16 @@
|
|
|
2426
2479
|
}
|
|
2427
2480
|
function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
|
|
2428
2481
|
if (!(0 === (0 & seen0))) {
|
|
2429
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().
|
|
2482
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_6().r1k_1);
|
|
2430
2483
|
}
|
|
2431
2484
|
if (0 === (seen0 & 1))
|
|
2432
|
-
$this.
|
|
2485
|
+
$this.t1k_1 = null;
|
|
2433
2486
|
else
|
|
2434
|
-
$this.
|
|
2487
|
+
$this.t1k_1 = max;
|
|
2435
2488
|
if (0 === (seen0 & 2))
|
|
2436
|
-
$this.
|
|
2489
|
+
$this.u1k_1 = null;
|
|
2437
2490
|
else
|
|
2438
|
-
$this.
|
|
2491
|
+
$this.u1k_1 = min;
|
|
2439
2492
|
return $this;
|
|
2440
2493
|
}
|
|
2441
2494
|
function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
|
|
@@ -2444,15 +2497,15 @@
|
|
|
2444
2497
|
function Range(max, min) {
|
|
2445
2498
|
max = max === VOID ? null : max;
|
|
2446
2499
|
min = min === VOID ? null : min;
|
|
2447
|
-
this.
|
|
2448
|
-
this.
|
|
2500
|
+
this.t1k_1 = max;
|
|
2501
|
+
this.u1k_1 = min;
|
|
2449
2502
|
}
|
|
2450
2503
|
protoOf(Range).toString = function () {
|
|
2451
|
-
return 'Range(max=' + this.
|
|
2504
|
+
return 'Range(max=' + this.t1k_1 + ', min=' + this.u1k_1 + ')';
|
|
2452
2505
|
};
|
|
2453
2506
|
protoOf(Range).hashCode = function () {
|
|
2454
|
-
var result = this.
|
|
2455
|
-
result = imul(result, 31) + (this.
|
|
2507
|
+
var result = this.t1k_1 == null ? 0 : getNumberHashCode(this.t1k_1);
|
|
2508
|
+
result = imul(result, 31) + (this.u1k_1 == null ? 0 : getNumberHashCode(this.u1k_1)) | 0;
|
|
2456
2509
|
return result;
|
|
2457
2510
|
};
|
|
2458
2511
|
protoOf(Range).equals = function (other) {
|
|
@@ -2460,9 +2513,9 @@
|
|
|
2460
2513
|
return true;
|
|
2461
2514
|
if (!(other instanceof Range))
|
|
2462
2515
|
return false;
|
|
2463
|
-
if (!equals(this.
|
|
2516
|
+
if (!equals(this.t1k_1, other.t1k_1))
|
|
2464
2517
|
return false;
|
|
2465
|
-
if (!equals(this.
|
|
2518
|
+
if (!equals(this.u1k_1, other.u1k_1))
|
|
2466
2519
|
return false;
|
|
2467
2520
|
return true;
|
|
2468
2521
|
};
|
|
@@ -2476,7 +2529,7 @@
|
|
|
2476
2529
|
// Inline function 'kotlin.arrayOf' call
|
|
2477
2530
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2478
2531
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2479
|
-
tmp.
|
|
2532
|
+
tmp.v1k_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
|
|
2480
2533
|
}
|
|
2481
2534
|
var Companion_instance_6;
|
|
2482
2535
|
function Companion_getInstance_5() {
|
|
@@ -2487,33 +2540,33 @@
|
|
|
2487
2540
|
function $serializer_7() {
|
|
2488
2541
|
$serializer_instance_7 = this;
|
|
2489
2542
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
|
|
2490
|
-
tmp0_serialDesc.
|
|
2491
|
-
tmp0_serialDesc.
|
|
2492
|
-
tmp0_serialDesc.
|
|
2493
|
-
tmp0_serialDesc.
|
|
2494
|
-
this.
|
|
2495
|
-
}
|
|
2496
|
-
protoOf($serializer_7).
|
|
2497
|
-
var tmp0_desc = this.
|
|
2498
|
-
var tmp1_output = encoder.
|
|
2499
|
-
var tmp2_cached = Companion_getInstance_5().
|
|
2500
|
-
tmp1_output.
|
|
2501
|
-
if (tmp1_output.
|
|
2502
|
-
tmp1_output.
|
|
2543
|
+
tmp0_serialDesc.jt('description', false);
|
|
2544
|
+
tmp0_serialDesc.jt('descriptionTemplate', true);
|
|
2545
|
+
tmp0_serialDesc.jt('images', true);
|
|
2546
|
+
tmp0_serialDesc.jt('stepNumber', true);
|
|
2547
|
+
this.w1k_1 = tmp0_serialDesc;
|
|
2548
|
+
}
|
|
2549
|
+
protoOf($serializer_7).x1k = function (encoder, value) {
|
|
2550
|
+
var tmp0_desc = this.w1k_1;
|
|
2551
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2552
|
+
var tmp2_cached = Companion_getInstance_5().v1k_1;
|
|
2553
|
+
tmp1_output.kn(tmp0_desc, 0, value.z1i_1);
|
|
2554
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.a1j_1 == null)) {
|
|
2555
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.a1j_1);
|
|
2503
2556
|
}
|
|
2504
|
-
if (tmp1_output.
|
|
2505
|
-
tmp1_output.
|
|
2557
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.b1j_1 == null)) {
|
|
2558
|
+
tmp1_output.on(tmp0_desc, 2, tmp2_cached[2].g2(), value.b1j_1);
|
|
2506
2559
|
}
|
|
2507
|
-
if (tmp1_output.
|
|
2508
|
-
tmp1_output.
|
|
2560
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.c1j_1 == null)) {
|
|
2561
|
+
tmp1_output.on(tmp0_desc, 3, DoubleSerializer_getInstance(), value.c1j_1);
|
|
2509
2562
|
}
|
|
2510
|
-
tmp1_output.
|
|
2563
|
+
tmp1_output.wl(tmp0_desc);
|
|
2511
2564
|
};
|
|
2512
2565
|
protoOf($serializer_7).ui = function (encoder, value) {
|
|
2513
|
-
return this.
|
|
2566
|
+
return this.x1k(encoder, value instanceof Instruction ? value : THROW_CCE());
|
|
2514
2567
|
};
|
|
2515
2568
|
protoOf($serializer_7).vi = function (decoder) {
|
|
2516
|
-
var tmp0_desc = this.
|
|
2569
|
+
var tmp0_desc = this.w1k_1;
|
|
2517
2570
|
var tmp1_flag = true;
|
|
2518
2571
|
var tmp2_index = 0;
|
|
2519
2572
|
var tmp3_bitMask0 = 0;
|
|
@@ -2521,52 +2574,52 @@
|
|
|
2521
2574
|
var tmp5_local1 = null;
|
|
2522
2575
|
var tmp6_local2 = null;
|
|
2523
2576
|
var tmp7_local3 = null;
|
|
2524
|
-
var tmp8_input = decoder.
|
|
2525
|
-
var tmp9_cached = Companion_getInstance_5().
|
|
2526
|
-
if (tmp8_input.
|
|
2527
|
-
tmp4_local0 = tmp8_input.
|
|
2577
|
+
var tmp8_input = decoder.vl(tmp0_desc);
|
|
2578
|
+
var tmp9_cached = Companion_getInstance_5().v1k_1;
|
|
2579
|
+
if (tmp8_input.lm()) {
|
|
2580
|
+
tmp4_local0 = tmp8_input.fm(tmp0_desc, 0);
|
|
2528
2581
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2529
|
-
tmp5_local1 = tmp8_input.
|
|
2582
|
+
tmp5_local1 = tmp8_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2530
2583
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2531
|
-
tmp6_local2 = tmp8_input.
|
|
2584
|
+
tmp6_local2 = tmp8_input.jm(tmp0_desc, 2, tmp9_cached[2].g2(), tmp6_local2);
|
|
2532
2585
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2533
|
-
tmp7_local3 = tmp8_input.
|
|
2586
|
+
tmp7_local3 = tmp8_input.jm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
2534
2587
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2535
2588
|
} else
|
|
2536
2589
|
while (tmp1_flag) {
|
|
2537
|
-
tmp2_index = tmp8_input.
|
|
2590
|
+
tmp2_index = tmp8_input.mm(tmp0_desc);
|
|
2538
2591
|
switch (tmp2_index) {
|
|
2539
2592
|
case -1:
|
|
2540
2593
|
tmp1_flag = false;
|
|
2541
2594
|
break;
|
|
2542
2595
|
case 0:
|
|
2543
|
-
tmp4_local0 = tmp8_input.
|
|
2596
|
+
tmp4_local0 = tmp8_input.fm(tmp0_desc, 0);
|
|
2544
2597
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2545
2598
|
break;
|
|
2546
2599
|
case 1:
|
|
2547
|
-
tmp5_local1 = tmp8_input.
|
|
2600
|
+
tmp5_local1 = tmp8_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2548
2601
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2549
2602
|
break;
|
|
2550
2603
|
case 2:
|
|
2551
|
-
tmp6_local2 = tmp8_input.
|
|
2604
|
+
tmp6_local2 = tmp8_input.jm(tmp0_desc, 2, tmp9_cached[2].g2(), tmp6_local2);
|
|
2552
2605
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2553
2606
|
break;
|
|
2554
2607
|
case 3:
|
|
2555
|
-
tmp7_local3 = tmp8_input.
|
|
2608
|
+
tmp7_local3 = tmp8_input.jm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
|
|
2556
2609
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
2557
2610
|
break;
|
|
2558
2611
|
default:
|
|
2559
2612
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2560
2613
|
}
|
|
2561
2614
|
}
|
|
2562
|
-
tmp8_input.
|
|
2615
|
+
tmp8_input.wl(tmp0_desc);
|
|
2563
2616
|
return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
2564
2617
|
};
|
|
2565
2618
|
protoOf($serializer_7).ti = function () {
|
|
2566
|
-
return this.
|
|
2619
|
+
return this.w1k_1;
|
|
2567
2620
|
};
|
|
2568
|
-
protoOf($serializer_7).
|
|
2569
|
-
var tmp0_cached = Companion_getInstance_5().
|
|
2621
|
+
protoOf($serializer_7).cu = function () {
|
|
2622
|
+
var tmp0_cached = Companion_getInstance_5().v1k_1;
|
|
2570
2623
|
// Inline function 'kotlin.arrayOf' call
|
|
2571
2624
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2572
2625
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2580,21 +2633,21 @@
|
|
|
2580
2633
|
}
|
|
2581
2634
|
function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
|
|
2582
2635
|
if (!(1 === (1 & seen0))) {
|
|
2583
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().
|
|
2636
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_7().w1k_1);
|
|
2584
2637
|
}
|
|
2585
|
-
$this.
|
|
2638
|
+
$this.z1i_1 = description;
|
|
2586
2639
|
if (0 === (seen0 & 2))
|
|
2587
|
-
$this.
|
|
2640
|
+
$this.a1j_1 = null;
|
|
2588
2641
|
else
|
|
2589
|
-
$this.
|
|
2642
|
+
$this.a1j_1 = descriptionTemplate;
|
|
2590
2643
|
if (0 === (seen0 & 4))
|
|
2591
|
-
$this.
|
|
2644
|
+
$this.b1j_1 = null;
|
|
2592
2645
|
else
|
|
2593
|
-
$this.
|
|
2646
|
+
$this.b1j_1 = images;
|
|
2594
2647
|
if (0 === (seen0 & 8))
|
|
2595
|
-
$this.
|
|
2648
|
+
$this.c1j_1 = null;
|
|
2596
2649
|
else
|
|
2597
|
-
$this.
|
|
2650
|
+
$this.c1j_1 = stepNumber;
|
|
2598
2651
|
return $this;
|
|
2599
2652
|
}
|
|
2600
2653
|
function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
|
|
@@ -2605,29 +2658,29 @@
|
|
|
2605
2658
|
descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
|
|
2606
2659
|
images = images === VOID ? null : images;
|
|
2607
2660
|
stepNumber = stepNumber === VOID ? null : stepNumber;
|
|
2608
|
-
this.
|
|
2609
|
-
this.
|
|
2610
|
-
this.
|
|
2611
|
-
this.
|
|
2661
|
+
this.z1i_1 = description;
|
|
2662
|
+
this.a1j_1 = descriptionTemplate;
|
|
2663
|
+
this.b1j_1 = images;
|
|
2664
|
+
this.c1j_1 = stepNumber;
|
|
2612
2665
|
}
|
|
2613
|
-
protoOf(Instruction).
|
|
2666
|
+
protoOf(Instruction).y1k = function (description, descriptionTemplate, images, stepNumber) {
|
|
2614
2667
|
return new Instruction(description, descriptionTemplate, images, stepNumber);
|
|
2615
2668
|
};
|
|
2616
|
-
protoOf(Instruction).
|
|
2617
|
-
description = description === VOID ? this.
|
|
2618
|
-
descriptionTemplate = descriptionTemplate === VOID ? this.
|
|
2619
|
-
images = images === VOID ? this.
|
|
2620
|
-
stepNumber = stepNumber === VOID ? this.
|
|
2621
|
-
return $super === VOID ? this.
|
|
2669
|
+
protoOf(Instruction).d1j = function (description, descriptionTemplate, images, stepNumber, $super) {
|
|
2670
|
+
description = description === VOID ? this.z1i_1 : description;
|
|
2671
|
+
descriptionTemplate = descriptionTemplate === VOID ? this.a1j_1 : descriptionTemplate;
|
|
2672
|
+
images = images === VOID ? this.b1j_1 : images;
|
|
2673
|
+
stepNumber = stepNumber === VOID ? this.c1j_1 : stepNumber;
|
|
2674
|
+
return $super === VOID ? this.y1k(description, descriptionTemplate, images, stepNumber) : $super.y1k.call(this, description, descriptionTemplate, images, stepNumber);
|
|
2622
2675
|
};
|
|
2623
2676
|
protoOf(Instruction).toString = function () {
|
|
2624
|
-
return 'Instruction(description=' + this.
|
|
2677
|
+
return 'Instruction(description=' + this.z1i_1 + ', descriptionTemplate=' + this.a1j_1 + ', images=' + toString(this.b1j_1) + ', stepNumber=' + this.c1j_1 + ')';
|
|
2625
2678
|
};
|
|
2626
2679
|
protoOf(Instruction).hashCode = function () {
|
|
2627
|
-
var result = getStringHashCode(this.
|
|
2628
|
-
result = imul(result, 31) + (this.
|
|
2629
|
-
result = imul(result, 31) + (this.
|
|
2630
|
-
result = imul(result, 31) + (this.
|
|
2680
|
+
var result = getStringHashCode(this.z1i_1);
|
|
2681
|
+
result = imul(result, 31) + (this.a1j_1 == null ? 0 : getStringHashCode(this.a1j_1)) | 0;
|
|
2682
|
+
result = imul(result, 31) + (this.b1j_1 == null ? 0 : hashCode(this.b1j_1)) | 0;
|
|
2683
|
+
result = imul(result, 31) + (this.c1j_1 == null ? 0 : getNumberHashCode(this.c1j_1)) | 0;
|
|
2631
2684
|
return result;
|
|
2632
2685
|
};
|
|
2633
2686
|
protoOf(Instruction).equals = function (other) {
|
|
@@ -2635,93 +2688,149 @@
|
|
|
2635
2688
|
return true;
|
|
2636
2689
|
if (!(other instanceof Instruction))
|
|
2637
2690
|
return false;
|
|
2638
|
-
if (!(this.
|
|
2691
|
+
if (!(this.z1i_1 === other.z1i_1))
|
|
2639
2692
|
return false;
|
|
2640
|
-
if (!(this.
|
|
2693
|
+
if (!(this.a1j_1 == other.a1j_1))
|
|
2641
2694
|
return false;
|
|
2642
|
-
if (!equals(this.
|
|
2695
|
+
if (!equals(this.b1j_1, other.b1j_1))
|
|
2643
2696
|
return false;
|
|
2644
|
-
if (!equals(this.
|
|
2697
|
+
if (!equals(this.c1j_1, other.c1j_1))
|
|
2645
2698
|
return false;
|
|
2646
2699
|
return true;
|
|
2647
2700
|
};
|
|
2701
|
+
function _get_$cachedSerializer__te6jhj($this) {
|
|
2702
|
+
return $this.r1j_1.g2();
|
|
2703
|
+
}
|
|
2704
|
+
function OriginalMeasuringSystem$Companion$_anonymous__vytami() {
|
|
2705
|
+
var tmp = values();
|
|
2706
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2707
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2708
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2709
|
+
var tmp_0 = ['aus-cup', 'imperial', 'metric', 'us'];
|
|
2710
|
+
// Inline function 'kotlin.arrayOf' call
|
|
2711
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
2712
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
2713
|
+
var tmp$ret$3 = [null, null, null, null];
|
|
2714
|
+
return createAnnotatedEnumSerializer('com.gu.recipe.generated.OriginalMeasuringSystem', tmp, tmp_0, tmp$ret$3, null);
|
|
2715
|
+
}
|
|
2716
|
+
var OriginalMeasuringSystem_AusCup_instance;
|
|
2717
|
+
var OriginalMeasuringSystem_Imperial_instance;
|
|
2718
|
+
var OriginalMeasuringSystem_Metric_instance;
|
|
2719
|
+
var OriginalMeasuringSystem_Us_instance;
|
|
2720
|
+
function values() {
|
|
2721
|
+
return [OriginalMeasuringSystem_AusCup_getInstance(), OriginalMeasuringSystem_Imperial_getInstance(), OriginalMeasuringSystem_Metric_getInstance(), OriginalMeasuringSystem_Us_getInstance()];
|
|
2722
|
+
}
|
|
2648
2723
|
function Companion_6() {
|
|
2724
|
+
Companion_instance_7 = this;
|
|
2725
|
+
var tmp = this;
|
|
2726
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2727
|
+
tmp.r1j_1 = lazy(tmp_0, OriginalMeasuringSystem$Companion$_anonymous__vytami);
|
|
2649
2728
|
}
|
|
2729
|
+
protoOf(Companion_6).x15 = function () {
|
|
2730
|
+
return _get_$cachedSerializer__te6jhj(this);
|
|
2731
|
+
};
|
|
2732
|
+
protoOf(Companion_6).pu = function (typeParamsSerializers) {
|
|
2733
|
+
return this.x15();
|
|
2734
|
+
};
|
|
2650
2735
|
var Companion_instance_7;
|
|
2651
2736
|
function Companion_getInstance_6() {
|
|
2737
|
+
OriginalMeasuringSystem_initEntries();
|
|
2738
|
+
if (Companion_instance_7 == null)
|
|
2739
|
+
new Companion_6();
|
|
2652
2740
|
return Companion_instance_7;
|
|
2653
2741
|
}
|
|
2742
|
+
var OriginalMeasuringSystem_entriesInitialized;
|
|
2743
|
+
function OriginalMeasuringSystem_initEntries() {
|
|
2744
|
+
if (OriginalMeasuringSystem_entriesInitialized)
|
|
2745
|
+
return Unit_instance;
|
|
2746
|
+
OriginalMeasuringSystem_entriesInitialized = true;
|
|
2747
|
+
OriginalMeasuringSystem_AusCup_instance = new OriginalMeasuringSystem('AusCup', 0, 'aus-cup');
|
|
2748
|
+
OriginalMeasuringSystem_Imperial_instance = new OriginalMeasuringSystem('Imperial', 1, 'imperial');
|
|
2749
|
+
OriginalMeasuringSystem_Metric_instance = new OriginalMeasuringSystem('Metric', 2, 'metric');
|
|
2750
|
+
OriginalMeasuringSystem_Us_instance = new OriginalMeasuringSystem('Us', 3, 'us');
|
|
2751
|
+
Companion_getInstance_6();
|
|
2752
|
+
}
|
|
2753
|
+
function OriginalMeasuringSystem(name, ordinal, value) {
|
|
2754
|
+
Enum.call(this, name, ordinal);
|
|
2755
|
+
this.b1l_1 = value;
|
|
2756
|
+
}
|
|
2757
|
+
function Companion_7() {
|
|
2758
|
+
}
|
|
2759
|
+
var Companion_instance_8;
|
|
2760
|
+
function Companion_getInstance_7() {
|
|
2761
|
+
return Companion_instance_8;
|
|
2762
|
+
}
|
|
2654
2763
|
function $serializer_8() {
|
|
2655
2764
|
$serializer_instance_8 = this;
|
|
2656
2765
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
|
|
2657
|
-
tmp0_serialDesc.
|
|
2658
|
-
tmp0_serialDesc.
|
|
2659
|
-
tmp0_serialDesc.
|
|
2660
|
-
this.
|
|
2661
|
-
}
|
|
2662
|
-
protoOf($serializer_8).
|
|
2663
|
-
var tmp0_desc = this.
|
|
2664
|
-
var tmp1_output = encoder.
|
|
2665
|
-
if (tmp1_output.
|
|
2666
|
-
tmp1_output.
|
|
2766
|
+
tmp0_serialDesc.jt('amount', true);
|
|
2767
|
+
tmp0_serialDesc.jt('text', true);
|
|
2768
|
+
tmp0_serialDesc.jt('unit', true);
|
|
2769
|
+
this.c1l_1 = tmp0_serialDesc;
|
|
2770
|
+
}
|
|
2771
|
+
protoOf($serializer_8).d1l = function (encoder, value) {
|
|
2772
|
+
var tmp0_desc = this.c1l_1;
|
|
2773
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2774
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.e1l_1 == null)) {
|
|
2775
|
+
tmp1_output.on(tmp0_desc, 0, $serializer_getInstance_6(), value.e1l_1);
|
|
2667
2776
|
}
|
|
2668
|
-
if (tmp1_output.
|
|
2669
|
-
tmp1_output.
|
|
2777
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.f1l_1 == null)) {
|
|
2778
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.f1l_1);
|
|
2670
2779
|
}
|
|
2671
|
-
if (tmp1_output.
|
|
2672
|
-
tmp1_output.
|
|
2780
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.g1l_1 == null)) {
|
|
2781
|
+
tmp1_output.on(tmp0_desc, 2, StringSerializer_getInstance(), value.g1l_1);
|
|
2673
2782
|
}
|
|
2674
|
-
tmp1_output.
|
|
2783
|
+
tmp1_output.wl(tmp0_desc);
|
|
2675
2784
|
};
|
|
2676
2785
|
protoOf($serializer_8).ui = function (encoder, value) {
|
|
2677
|
-
return this.
|
|
2786
|
+
return this.d1l(encoder, value instanceof Serves ? value : THROW_CCE());
|
|
2678
2787
|
};
|
|
2679
2788
|
protoOf($serializer_8).vi = function (decoder) {
|
|
2680
|
-
var tmp0_desc = this.
|
|
2789
|
+
var tmp0_desc = this.c1l_1;
|
|
2681
2790
|
var tmp1_flag = true;
|
|
2682
2791
|
var tmp2_index = 0;
|
|
2683
2792
|
var tmp3_bitMask0 = 0;
|
|
2684
2793
|
var tmp4_local0 = null;
|
|
2685
2794
|
var tmp5_local1 = null;
|
|
2686
2795
|
var tmp6_local2 = null;
|
|
2687
|
-
var tmp7_input = decoder.
|
|
2688
|
-
if (tmp7_input.
|
|
2689
|
-
tmp4_local0 = tmp7_input.
|
|
2796
|
+
var tmp7_input = decoder.vl(tmp0_desc);
|
|
2797
|
+
if (tmp7_input.lm()) {
|
|
2798
|
+
tmp4_local0 = tmp7_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2690
2799
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2691
|
-
tmp5_local1 = tmp7_input.
|
|
2800
|
+
tmp5_local1 = tmp7_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2692
2801
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2693
|
-
tmp6_local2 = tmp7_input.
|
|
2802
|
+
tmp6_local2 = tmp7_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2694
2803
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2695
2804
|
} else
|
|
2696
2805
|
while (tmp1_flag) {
|
|
2697
|
-
tmp2_index = tmp7_input.
|
|
2806
|
+
tmp2_index = tmp7_input.mm(tmp0_desc);
|
|
2698
2807
|
switch (tmp2_index) {
|
|
2699
2808
|
case -1:
|
|
2700
2809
|
tmp1_flag = false;
|
|
2701
2810
|
break;
|
|
2702
2811
|
case 0:
|
|
2703
|
-
tmp4_local0 = tmp7_input.
|
|
2812
|
+
tmp4_local0 = tmp7_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2704
2813
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2705
2814
|
break;
|
|
2706
2815
|
case 1:
|
|
2707
|
-
tmp5_local1 = tmp7_input.
|
|
2816
|
+
tmp5_local1 = tmp7_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2708
2817
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2709
2818
|
break;
|
|
2710
2819
|
case 2:
|
|
2711
|
-
tmp6_local2 = tmp7_input.
|
|
2820
|
+
tmp6_local2 = tmp7_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2712
2821
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2713
2822
|
break;
|
|
2714
2823
|
default:
|
|
2715
2824
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2716
2825
|
}
|
|
2717
2826
|
}
|
|
2718
|
-
tmp7_input.
|
|
2827
|
+
tmp7_input.wl(tmp0_desc);
|
|
2719
2828
|
return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2720
2829
|
};
|
|
2721
2830
|
protoOf($serializer_8).ti = function () {
|
|
2722
|
-
return this.
|
|
2831
|
+
return this.c1l_1;
|
|
2723
2832
|
};
|
|
2724
|
-
protoOf($serializer_8).
|
|
2833
|
+
protoOf($serializer_8).cu = function () {
|
|
2725
2834
|
// Inline function 'kotlin.arrayOf' call
|
|
2726
2835
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2727
2836
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2735,20 +2844,20 @@
|
|
|
2735
2844
|
}
|
|
2736
2845
|
function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
|
|
2737
2846
|
if (!(0 === (0 & seen0))) {
|
|
2738
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_8().
|
|
2847
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_8().c1l_1);
|
|
2739
2848
|
}
|
|
2740
2849
|
if (0 === (seen0 & 1))
|
|
2741
|
-
$this.
|
|
2850
|
+
$this.e1l_1 = null;
|
|
2742
2851
|
else
|
|
2743
|
-
$this.
|
|
2852
|
+
$this.e1l_1 = amount;
|
|
2744
2853
|
if (0 === (seen0 & 2))
|
|
2745
|
-
$this.
|
|
2854
|
+
$this.f1l_1 = null;
|
|
2746
2855
|
else
|
|
2747
|
-
$this.
|
|
2856
|
+
$this.f1l_1 = text;
|
|
2748
2857
|
if (0 === (seen0 & 4))
|
|
2749
|
-
$this.
|
|
2858
|
+
$this.g1l_1 = null;
|
|
2750
2859
|
else
|
|
2751
|
-
$this.
|
|
2860
|
+
$this.g1l_1 = unit;
|
|
2752
2861
|
return $this;
|
|
2753
2862
|
}
|
|
2754
2863
|
function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
|
|
@@ -2758,17 +2867,17 @@
|
|
|
2758
2867
|
amount = amount === VOID ? null : amount;
|
|
2759
2868
|
text = text === VOID ? null : text;
|
|
2760
2869
|
unit = unit === VOID ? null : unit;
|
|
2761
|
-
this.
|
|
2762
|
-
this.
|
|
2763
|
-
this.
|
|
2870
|
+
this.e1l_1 = amount;
|
|
2871
|
+
this.f1l_1 = text;
|
|
2872
|
+
this.g1l_1 = unit;
|
|
2764
2873
|
}
|
|
2765
2874
|
protoOf(Serves).toString = function () {
|
|
2766
|
-
return 'Serves(amount=' + toString(this.
|
|
2875
|
+
return 'Serves(amount=' + toString(this.e1l_1) + ', text=' + this.f1l_1 + ', unit=' + this.g1l_1 + ')';
|
|
2767
2876
|
};
|
|
2768
2877
|
protoOf(Serves).hashCode = function () {
|
|
2769
|
-
var result = this.
|
|
2770
|
-
result = imul(result, 31) + (this.
|
|
2771
|
-
result = imul(result, 31) + (this.
|
|
2878
|
+
var result = this.e1l_1 == null ? 0 : this.e1l_1.hashCode();
|
|
2879
|
+
result = imul(result, 31) + (this.f1l_1 == null ? 0 : getStringHashCode(this.f1l_1)) | 0;
|
|
2880
|
+
result = imul(result, 31) + (this.g1l_1 == null ? 0 : getStringHashCode(this.g1l_1)) | 0;
|
|
2772
2881
|
return result;
|
|
2773
2882
|
};
|
|
2774
2883
|
protoOf(Serves).equals = function (other) {
|
|
@@ -2776,91 +2885,91 @@
|
|
|
2776
2885
|
return true;
|
|
2777
2886
|
if (!(other instanceof Serves))
|
|
2778
2887
|
return false;
|
|
2779
|
-
if (!equals(this.
|
|
2888
|
+
if (!equals(this.e1l_1, other.e1l_1))
|
|
2780
2889
|
return false;
|
|
2781
|
-
if (!(this.
|
|
2890
|
+
if (!(this.f1l_1 == other.f1l_1))
|
|
2782
2891
|
return false;
|
|
2783
|
-
if (!(this.
|
|
2892
|
+
if (!(this.g1l_1 == other.g1l_1))
|
|
2784
2893
|
return false;
|
|
2785
2894
|
return true;
|
|
2786
2895
|
};
|
|
2787
|
-
function
|
|
2896
|
+
function Companion_8() {
|
|
2788
2897
|
}
|
|
2789
|
-
var
|
|
2790
|
-
function
|
|
2791
|
-
return
|
|
2898
|
+
var Companion_instance_9;
|
|
2899
|
+
function Companion_getInstance_8() {
|
|
2900
|
+
return Companion_instance_9;
|
|
2792
2901
|
}
|
|
2793
2902
|
function $serializer_9() {
|
|
2794
2903
|
$serializer_instance_9 = this;
|
|
2795
2904
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
|
|
2796
|
-
tmp0_serialDesc.
|
|
2797
|
-
tmp0_serialDesc.
|
|
2798
|
-
tmp0_serialDesc.
|
|
2799
|
-
this.
|
|
2800
|
-
}
|
|
2801
|
-
protoOf($serializer_9).
|
|
2802
|
-
var tmp0_desc = this.
|
|
2803
|
-
var tmp1_output = encoder.
|
|
2804
|
-
if (tmp1_output.
|
|
2805
|
-
tmp1_output.
|
|
2905
|
+
tmp0_serialDesc.jt('durationInMins', true);
|
|
2906
|
+
tmp0_serialDesc.jt('qualifier', true);
|
|
2907
|
+
tmp0_serialDesc.jt('text', true);
|
|
2908
|
+
this.h1l_1 = tmp0_serialDesc;
|
|
2909
|
+
}
|
|
2910
|
+
protoOf($serializer_9).i1l = function (encoder, value) {
|
|
2911
|
+
var tmp0_desc = this.h1l_1;
|
|
2912
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
2913
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.j1l_1 == null)) {
|
|
2914
|
+
tmp1_output.on(tmp0_desc, 0, $serializer_getInstance_6(), value.j1l_1);
|
|
2806
2915
|
}
|
|
2807
|
-
if (tmp1_output.
|
|
2808
|
-
tmp1_output.
|
|
2916
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.k1l_1 == null)) {
|
|
2917
|
+
tmp1_output.on(tmp0_desc, 1, StringSerializer_getInstance(), value.k1l_1);
|
|
2809
2918
|
}
|
|
2810
|
-
if (tmp1_output.
|
|
2811
|
-
tmp1_output.
|
|
2919
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.l1l_1 == null)) {
|
|
2920
|
+
tmp1_output.on(tmp0_desc, 2, StringSerializer_getInstance(), value.l1l_1);
|
|
2812
2921
|
}
|
|
2813
|
-
tmp1_output.
|
|
2922
|
+
tmp1_output.wl(tmp0_desc);
|
|
2814
2923
|
};
|
|
2815
2924
|
protoOf($serializer_9).ui = function (encoder, value) {
|
|
2816
|
-
return this.
|
|
2925
|
+
return this.i1l(encoder, value instanceof Timing ? value : THROW_CCE());
|
|
2817
2926
|
};
|
|
2818
2927
|
protoOf($serializer_9).vi = function (decoder) {
|
|
2819
|
-
var tmp0_desc = this.
|
|
2928
|
+
var tmp0_desc = this.h1l_1;
|
|
2820
2929
|
var tmp1_flag = true;
|
|
2821
2930
|
var tmp2_index = 0;
|
|
2822
2931
|
var tmp3_bitMask0 = 0;
|
|
2823
2932
|
var tmp4_local0 = null;
|
|
2824
2933
|
var tmp5_local1 = null;
|
|
2825
2934
|
var tmp6_local2 = null;
|
|
2826
|
-
var tmp7_input = decoder.
|
|
2827
|
-
if (tmp7_input.
|
|
2828
|
-
tmp4_local0 = tmp7_input.
|
|
2935
|
+
var tmp7_input = decoder.vl(tmp0_desc);
|
|
2936
|
+
if (tmp7_input.lm()) {
|
|
2937
|
+
tmp4_local0 = tmp7_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2829
2938
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2830
|
-
tmp5_local1 = tmp7_input.
|
|
2939
|
+
tmp5_local1 = tmp7_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2831
2940
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2832
|
-
tmp6_local2 = tmp7_input.
|
|
2941
|
+
tmp6_local2 = tmp7_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2833
2942
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2834
2943
|
} else
|
|
2835
2944
|
while (tmp1_flag) {
|
|
2836
|
-
tmp2_index = tmp7_input.
|
|
2945
|
+
tmp2_index = tmp7_input.mm(tmp0_desc);
|
|
2837
2946
|
switch (tmp2_index) {
|
|
2838
2947
|
case -1:
|
|
2839
2948
|
tmp1_flag = false;
|
|
2840
2949
|
break;
|
|
2841
2950
|
case 0:
|
|
2842
|
-
tmp4_local0 = tmp7_input.
|
|
2951
|
+
tmp4_local0 = tmp7_input.jm(tmp0_desc, 0, $serializer_getInstance_6(), tmp4_local0);
|
|
2843
2952
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
2844
2953
|
break;
|
|
2845
2954
|
case 1:
|
|
2846
|
-
tmp5_local1 = tmp7_input.
|
|
2955
|
+
tmp5_local1 = tmp7_input.jm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
|
|
2847
2956
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
2848
2957
|
break;
|
|
2849
2958
|
case 2:
|
|
2850
|
-
tmp6_local2 = tmp7_input.
|
|
2959
|
+
tmp6_local2 = tmp7_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
2851
2960
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
2852
2961
|
break;
|
|
2853
2962
|
default:
|
|
2854
2963
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
2855
2964
|
}
|
|
2856
2965
|
}
|
|
2857
|
-
tmp7_input.
|
|
2966
|
+
tmp7_input.wl(tmp0_desc);
|
|
2858
2967
|
return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2859
2968
|
};
|
|
2860
2969
|
protoOf($serializer_9).ti = function () {
|
|
2861
|
-
return this.
|
|
2970
|
+
return this.h1l_1;
|
|
2862
2971
|
};
|
|
2863
|
-
protoOf($serializer_9).
|
|
2972
|
+
protoOf($serializer_9).cu = function () {
|
|
2864
2973
|
// Inline function 'kotlin.arrayOf' call
|
|
2865
2974
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2866
2975
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -2874,20 +2983,20 @@
|
|
|
2874
2983
|
}
|
|
2875
2984
|
function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
|
|
2876
2985
|
if (!(0 === (0 & seen0))) {
|
|
2877
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().
|
|
2986
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_9().h1l_1);
|
|
2878
2987
|
}
|
|
2879
2988
|
if (0 === (seen0 & 1))
|
|
2880
|
-
$this.
|
|
2989
|
+
$this.j1l_1 = null;
|
|
2881
2990
|
else
|
|
2882
|
-
$this.
|
|
2991
|
+
$this.j1l_1 = durationInMins;
|
|
2883
2992
|
if (0 === (seen0 & 2))
|
|
2884
|
-
$this.
|
|
2993
|
+
$this.k1l_1 = null;
|
|
2885
2994
|
else
|
|
2886
|
-
$this.
|
|
2995
|
+
$this.k1l_1 = qualifier;
|
|
2887
2996
|
if (0 === (seen0 & 4))
|
|
2888
|
-
$this.
|
|
2997
|
+
$this.l1l_1 = null;
|
|
2889
2998
|
else
|
|
2890
|
-
$this.
|
|
2999
|
+
$this.l1l_1 = text;
|
|
2891
3000
|
return $this;
|
|
2892
3001
|
}
|
|
2893
3002
|
function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
|
|
@@ -2897,17 +3006,17 @@
|
|
|
2897
3006
|
durationInMins = durationInMins === VOID ? null : durationInMins;
|
|
2898
3007
|
qualifier = qualifier === VOID ? null : qualifier;
|
|
2899
3008
|
text = text === VOID ? null : text;
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
3009
|
+
this.j1l_1 = durationInMins;
|
|
3010
|
+
this.k1l_1 = qualifier;
|
|
3011
|
+
this.l1l_1 = text;
|
|
2903
3012
|
}
|
|
2904
3013
|
protoOf(Timing).toString = function () {
|
|
2905
|
-
return 'Timing(durationInMins=' + toString(this.
|
|
3014
|
+
return 'Timing(durationInMins=' + toString(this.j1l_1) + ', qualifier=' + this.k1l_1 + ', text=' + this.l1l_1 + ')';
|
|
2906
3015
|
};
|
|
2907
3016
|
protoOf(Timing).hashCode = function () {
|
|
2908
|
-
var result = this.
|
|
2909
|
-
result = imul(result, 31) + (this.
|
|
2910
|
-
result = imul(result, 31) + (this.
|
|
3017
|
+
var result = this.j1l_1 == null ? 0 : this.j1l_1.hashCode();
|
|
3018
|
+
result = imul(result, 31) + (this.k1l_1 == null ? 0 : getStringHashCode(this.k1l_1)) | 0;
|
|
3019
|
+
result = imul(result, 31) + (this.l1l_1 == null ? 0 : getStringHashCode(this.l1l_1)) | 0;
|
|
2911
3020
|
return result;
|
|
2912
3021
|
};
|
|
2913
3022
|
protoOf(Timing).equals = function (other) {
|
|
@@ -2915,29 +3024,45 @@
|
|
|
2915
3024
|
return true;
|
|
2916
3025
|
if (!(other instanceof Timing))
|
|
2917
3026
|
return false;
|
|
2918
|
-
if (!equals(this.
|
|
3027
|
+
if (!equals(this.j1l_1, other.j1l_1))
|
|
2919
3028
|
return false;
|
|
2920
|
-
if (!(this.
|
|
3029
|
+
if (!(this.k1l_1 == other.k1l_1))
|
|
2921
3030
|
return false;
|
|
2922
|
-
if (!(this.
|
|
3031
|
+
if (!(this.l1l_1 == other.l1l_1))
|
|
2923
3032
|
return false;
|
|
2924
3033
|
return true;
|
|
2925
3034
|
};
|
|
3035
|
+
function OriginalMeasuringSystem_AusCup_getInstance() {
|
|
3036
|
+
OriginalMeasuringSystem_initEntries();
|
|
3037
|
+
return OriginalMeasuringSystem_AusCup_instance;
|
|
3038
|
+
}
|
|
3039
|
+
function OriginalMeasuringSystem_Imperial_getInstance() {
|
|
3040
|
+
OriginalMeasuringSystem_initEntries();
|
|
3041
|
+
return OriginalMeasuringSystem_Imperial_instance;
|
|
3042
|
+
}
|
|
3043
|
+
function OriginalMeasuringSystem_Metric_getInstance() {
|
|
3044
|
+
OriginalMeasuringSystem_initEntries();
|
|
3045
|
+
return OriginalMeasuringSystem_Metric_instance;
|
|
3046
|
+
}
|
|
3047
|
+
function OriginalMeasuringSystem_Us_getInstance() {
|
|
3048
|
+
OriginalMeasuringSystem_initEntries();
|
|
3049
|
+
return OriginalMeasuringSystem_Us_instance;
|
|
3050
|
+
}
|
|
2926
3051
|
function ParsedTemplate(elements) {
|
|
2927
|
-
this.
|
|
3052
|
+
this.n1h_1 = elements;
|
|
2928
3053
|
}
|
|
2929
3054
|
protoOf(ParsedTemplate).toString = function () {
|
|
2930
|
-
return 'ParsedTemplate(elements=' + toString_0(this.
|
|
3055
|
+
return 'ParsedTemplate(elements=' + toString_0(this.n1h_1) + ')';
|
|
2931
3056
|
};
|
|
2932
3057
|
protoOf(ParsedTemplate).hashCode = function () {
|
|
2933
|
-
return hashCode(this.
|
|
3058
|
+
return hashCode(this.n1h_1);
|
|
2934
3059
|
};
|
|
2935
3060
|
protoOf(ParsedTemplate).equals = function (other) {
|
|
2936
3061
|
if (this === other)
|
|
2937
3062
|
return true;
|
|
2938
3063
|
if (!(other instanceof ParsedTemplate))
|
|
2939
3064
|
return false;
|
|
2940
|
-
if (!equals(this.
|
|
3065
|
+
if (!equals(this.n1h_1, other.n1h_1))
|
|
2941
3066
|
return false;
|
|
2942
3067
|
return true;
|
|
2943
3068
|
};
|
|
@@ -2964,28 +3089,28 @@
|
|
|
2964
3089
|
}
|
|
2965
3090
|
}
|
|
2966
3091
|
try {
|
|
2967
|
-
var jsonObj = get_jsonObject(Default_getInstance().
|
|
3092
|
+
var jsonObj = get_jsonObject(Default_getInstance().g13(element.g2()));
|
|
2968
3093
|
if (jsonObj.k2().b1('min')) {
|
|
2969
3094
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2970
3095
|
var this_0 = get_tolerantJson();
|
|
2971
3096
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2972
|
-
var this_1 = this_0.
|
|
3097
|
+
var this_1 = this_0.km();
|
|
2973
3098
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2974
3099
|
var this_2 = serializer(this_1, createKType(getKClass(QuantityPlaceholder), arrayOf([]), false));
|
|
2975
3100
|
var tmp$ret$5 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
2976
3101
|
// Inline function 'kotlin.let' call
|
|
2977
|
-
var it = this_0.
|
|
3102
|
+
var it = this_0.f13(tmp$ret$5, jsonObj);
|
|
2978
3103
|
parts.u(it);
|
|
2979
3104
|
} else {
|
|
2980
3105
|
// Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
|
|
2981
3106
|
var this_3 = get_tolerantJson();
|
|
2982
3107
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
2983
|
-
var this_4 = this_3.
|
|
3108
|
+
var this_4 = this_3.km();
|
|
2984
3109
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
2985
3110
|
var this_5 = serializer(this_4, createKType(getKClass(OvenTemperaturePlaceholder), arrayOf([]), false));
|
|
2986
3111
|
var tmp$ret$10 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
2987
3112
|
// Inline function 'kotlin.let' call
|
|
2988
|
-
var it_0 = this_3.
|
|
3113
|
+
var it_0 = this_3.f13(tmp$ret$10, jsonObj);
|
|
2989
3114
|
parts.u(it_0);
|
|
2990
3115
|
}
|
|
2991
3116
|
} catch ($p) {
|
|
@@ -3010,7 +3135,7 @@
|
|
|
3010
3135
|
}
|
|
3011
3136
|
function tolerantJson$lambda($this$Json) {
|
|
3012
3137
|
_init_properties_Parser_kt__o3jwn5();
|
|
3013
|
-
$this$Json.
|
|
3138
|
+
$this$Json.z13_1 = true;
|
|
3014
3139
|
return Unit_instance;
|
|
3015
3140
|
}
|
|
3016
3141
|
var properties_initialized_Parser_kt_5uifb3;
|
|
@@ -3031,12 +3156,12 @@
|
|
|
3031
3156
|
protoOf(TemplateConst).gd = function () {
|
|
3032
3157
|
return this.value;
|
|
3033
3158
|
};
|
|
3034
|
-
protoOf(TemplateConst).
|
|
3159
|
+
protoOf(TemplateConst).m1l = function (value) {
|
|
3035
3160
|
return new TemplateConst(value);
|
|
3036
3161
|
};
|
|
3037
3162
|
protoOf(TemplateConst).copy = function (value, $super) {
|
|
3038
3163
|
value = value === VOID ? this.value : value;
|
|
3039
|
-
return $super === VOID ? this.
|
|
3164
|
+
return $super === VOID ? this.m1l(value) : $super.m1l.call(this, value);
|
|
3040
3165
|
};
|
|
3041
3166
|
protoOf(TemplateConst).toString = function () {
|
|
3042
3167
|
return 'TemplateConst(value=' + this.value + ')';
|
|
@@ -3053,49 +3178,49 @@
|
|
|
3053
3178
|
return false;
|
|
3054
3179
|
return true;
|
|
3055
3180
|
};
|
|
3056
|
-
function
|
|
3181
|
+
function Companion_9() {
|
|
3057
3182
|
}
|
|
3058
|
-
var
|
|
3059
|
-
function
|
|
3060
|
-
return
|
|
3183
|
+
var Companion_instance_10;
|
|
3184
|
+
function Companion_getInstance_9() {
|
|
3185
|
+
return Companion_instance_10;
|
|
3061
3186
|
}
|
|
3062
3187
|
function $serializer_10() {
|
|
3063
3188
|
$serializer_instance_10 = this;
|
|
3064
3189
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 6);
|
|
3065
|
-
tmp0_serialDesc.
|
|
3066
|
-
tmp0_serialDesc.
|
|
3067
|
-
tmp0_serialDesc.
|
|
3068
|
-
tmp0_serialDesc.
|
|
3069
|
-
tmp0_serialDesc.
|
|
3070
|
-
tmp0_serialDesc.
|
|
3071
|
-
this.
|
|
3072
|
-
}
|
|
3073
|
-
protoOf($serializer_10).
|
|
3074
|
-
var tmp0_desc = this.
|
|
3075
|
-
var tmp1_output = encoder.
|
|
3076
|
-
tmp1_output.
|
|
3077
|
-
if (tmp1_output.
|
|
3078
|
-
tmp1_output.
|
|
3190
|
+
tmp0_serialDesc.jt('min', false);
|
|
3191
|
+
tmp0_serialDesc.jt('max', true);
|
|
3192
|
+
tmp0_serialDesc.jt('unit', true);
|
|
3193
|
+
tmp0_serialDesc.jt('scale', true);
|
|
3194
|
+
tmp0_serialDesc.jt('ingredient', true);
|
|
3195
|
+
tmp0_serialDesc.jt('usCust', true);
|
|
3196
|
+
this.n1l_1 = tmp0_serialDesc;
|
|
3197
|
+
}
|
|
3198
|
+
protoOf($serializer_10).o1l = function (encoder, value) {
|
|
3199
|
+
var tmp0_desc = this.n1l_1;
|
|
3200
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
3201
|
+
tmp1_output.hn(tmp0_desc, 0, value.min);
|
|
3202
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.max == null)) {
|
|
3203
|
+
tmp1_output.on(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
|
|
3079
3204
|
}
|
|
3080
|
-
if (tmp1_output.
|
|
3081
|
-
tmp1_output.
|
|
3205
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.unit == null)) {
|
|
3206
|
+
tmp1_output.on(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
|
|
3082
3207
|
}
|
|
3083
|
-
if (tmp1_output.
|
|
3084
|
-
tmp1_output.
|
|
3208
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.scale === false)) {
|
|
3209
|
+
tmp1_output.cn(tmp0_desc, 3, value.scale);
|
|
3085
3210
|
}
|
|
3086
|
-
if (tmp1_output.
|
|
3087
|
-
tmp1_output.
|
|
3211
|
+
if (tmp1_output.sn(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
|
|
3212
|
+
tmp1_output.on(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
|
|
3088
3213
|
}
|
|
3089
|
-
if (tmp1_output.
|
|
3090
|
-
tmp1_output.
|
|
3214
|
+
if (tmp1_output.sn(tmp0_desc, 5) ? true : !(value.usCust == null)) {
|
|
3215
|
+
tmp1_output.on(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
|
|
3091
3216
|
}
|
|
3092
|
-
tmp1_output.
|
|
3217
|
+
tmp1_output.wl(tmp0_desc);
|
|
3093
3218
|
};
|
|
3094
3219
|
protoOf($serializer_10).ui = function (encoder, value) {
|
|
3095
|
-
return this.
|
|
3220
|
+
return this.o1l(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
|
|
3096
3221
|
};
|
|
3097
3222
|
protoOf($serializer_10).vi = function (decoder) {
|
|
3098
|
-
var tmp0_desc = this.
|
|
3223
|
+
var tmp0_desc = this.n1l_1;
|
|
3099
3224
|
var tmp1_flag = true;
|
|
3100
3225
|
var tmp2_index = 0;
|
|
3101
3226
|
var tmp3_bitMask0 = 0;
|
|
@@ -3105,62 +3230,62 @@
|
|
|
3105
3230
|
var tmp7_local3 = false;
|
|
3106
3231
|
var tmp8_local4 = null;
|
|
3107
3232
|
var tmp9_local5 = null;
|
|
3108
|
-
var tmp10_input = decoder.
|
|
3109
|
-
if (tmp10_input.
|
|
3110
|
-
tmp4_local0 = tmp10_input.
|
|
3233
|
+
var tmp10_input = decoder.vl(tmp0_desc);
|
|
3234
|
+
if (tmp10_input.lm()) {
|
|
3235
|
+
tmp4_local0 = tmp10_input.cm(tmp0_desc, 0);
|
|
3111
3236
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3112
|
-
tmp5_local1 = tmp10_input.
|
|
3237
|
+
tmp5_local1 = tmp10_input.jm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
|
|
3113
3238
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3114
|
-
tmp6_local2 = tmp10_input.
|
|
3239
|
+
tmp6_local2 = tmp10_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3115
3240
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3116
|
-
tmp7_local3 = tmp10_input.
|
|
3241
|
+
tmp7_local3 = tmp10_input.xl(tmp0_desc, 3);
|
|
3117
3242
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3118
|
-
tmp8_local4 = tmp10_input.
|
|
3243
|
+
tmp8_local4 = tmp10_input.jm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3119
3244
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3120
|
-
tmp9_local5 = tmp10_input.
|
|
3245
|
+
tmp9_local5 = tmp10_input.jm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3121
3246
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3122
3247
|
} else
|
|
3123
3248
|
while (tmp1_flag) {
|
|
3124
|
-
tmp2_index = tmp10_input.
|
|
3249
|
+
tmp2_index = tmp10_input.mm(tmp0_desc);
|
|
3125
3250
|
switch (tmp2_index) {
|
|
3126
3251
|
case -1:
|
|
3127
3252
|
tmp1_flag = false;
|
|
3128
3253
|
break;
|
|
3129
3254
|
case 0:
|
|
3130
|
-
tmp4_local0 = tmp10_input.
|
|
3255
|
+
tmp4_local0 = tmp10_input.cm(tmp0_desc, 0);
|
|
3131
3256
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3132
3257
|
break;
|
|
3133
3258
|
case 1:
|
|
3134
|
-
tmp5_local1 = tmp10_input.
|
|
3259
|
+
tmp5_local1 = tmp10_input.jm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
|
|
3135
3260
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3136
3261
|
break;
|
|
3137
3262
|
case 2:
|
|
3138
|
-
tmp6_local2 = tmp10_input.
|
|
3263
|
+
tmp6_local2 = tmp10_input.jm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
|
|
3139
3264
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3140
3265
|
break;
|
|
3141
3266
|
case 3:
|
|
3142
|
-
tmp7_local3 = tmp10_input.
|
|
3267
|
+
tmp7_local3 = tmp10_input.xl(tmp0_desc, 3);
|
|
3143
3268
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3144
3269
|
break;
|
|
3145
3270
|
case 4:
|
|
3146
|
-
tmp8_local4 = tmp10_input.
|
|
3271
|
+
tmp8_local4 = tmp10_input.jm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
3147
3272
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
3148
3273
|
break;
|
|
3149
3274
|
case 5:
|
|
3150
|
-
tmp9_local5 = tmp10_input.
|
|
3275
|
+
tmp9_local5 = tmp10_input.jm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
3151
3276
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
3152
3277
|
break;
|
|
3153
3278
|
default:
|
|
3154
3279
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3155
3280
|
}
|
|
3156
3281
|
}
|
|
3157
|
-
tmp10_input.
|
|
3282
|
+
tmp10_input.wl(tmp0_desc);
|
|
3158
3283
|
return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
3159
3284
|
};
|
|
3160
3285
|
protoOf($serializer_10).ti = function () {
|
|
3161
|
-
return this.
|
|
3286
|
+
return this.n1l_1;
|
|
3162
3287
|
};
|
|
3163
|
-
protoOf($serializer_10).
|
|
3288
|
+
protoOf($serializer_10).cu = function () {
|
|
3164
3289
|
// Inline function 'kotlin.arrayOf' call
|
|
3165
3290
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3166
3291
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3174,7 +3299,7 @@
|
|
|
3174
3299
|
}
|
|
3175
3300
|
function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
|
|
3176
3301
|
if (!(1 === (1 & seen0))) {
|
|
3177
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().
|
|
3302
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_10().n1l_1);
|
|
3178
3303
|
}
|
|
3179
3304
|
$this.min = min;
|
|
3180
3305
|
if (0 === (seen0 & 2))
|
|
@@ -3215,22 +3340,22 @@
|
|
|
3215
3340
|
this.ingredient = ingredient;
|
|
3216
3341
|
this.usCust = usCust;
|
|
3217
3342
|
}
|
|
3218
|
-
protoOf(QuantityPlaceholder).
|
|
3343
|
+
protoOf(QuantityPlaceholder).p1l = function () {
|
|
3219
3344
|
return this.min;
|
|
3220
3345
|
};
|
|
3221
|
-
protoOf(QuantityPlaceholder).
|
|
3346
|
+
protoOf(QuantityPlaceholder).q1l = function () {
|
|
3222
3347
|
return this.max;
|
|
3223
3348
|
};
|
|
3224
|
-
protoOf(QuantityPlaceholder).
|
|
3349
|
+
protoOf(QuantityPlaceholder).r1l = function () {
|
|
3225
3350
|
return this.unit;
|
|
3226
3351
|
};
|
|
3227
|
-
protoOf(QuantityPlaceholder).
|
|
3352
|
+
protoOf(QuantityPlaceholder).s1l = function () {
|
|
3228
3353
|
return this.scale;
|
|
3229
3354
|
};
|
|
3230
|
-
protoOf(QuantityPlaceholder).
|
|
3355
|
+
protoOf(QuantityPlaceholder).t1l = function () {
|
|
3231
3356
|
return this.ingredient;
|
|
3232
3357
|
};
|
|
3233
|
-
protoOf(QuantityPlaceholder).
|
|
3358
|
+
protoOf(QuantityPlaceholder).u1l = function () {
|
|
3234
3359
|
return this.usCust;
|
|
3235
3360
|
};
|
|
3236
3361
|
protoOf(QuantityPlaceholder).gd = function () {
|
|
@@ -3239,19 +3364,19 @@
|
|
|
3239
3364
|
protoOf(QuantityPlaceholder).hd = function () {
|
|
3240
3365
|
return this.max;
|
|
3241
3366
|
};
|
|
3242
|
-
protoOf(QuantityPlaceholder).
|
|
3367
|
+
protoOf(QuantityPlaceholder).v1l = function () {
|
|
3243
3368
|
return this.unit;
|
|
3244
3369
|
};
|
|
3245
|
-
protoOf(QuantityPlaceholder).
|
|
3370
|
+
protoOf(QuantityPlaceholder).w1l = function () {
|
|
3246
3371
|
return this.scale;
|
|
3247
3372
|
};
|
|
3248
|
-
protoOf(QuantityPlaceholder).
|
|
3373
|
+
protoOf(QuantityPlaceholder).x1l = function () {
|
|
3249
3374
|
return this.ingredient;
|
|
3250
3375
|
};
|
|
3251
|
-
protoOf(QuantityPlaceholder).
|
|
3376
|
+
protoOf(QuantityPlaceholder).y1l = function () {
|
|
3252
3377
|
return this.usCust;
|
|
3253
3378
|
};
|
|
3254
|
-
protoOf(QuantityPlaceholder).
|
|
3379
|
+
protoOf(QuantityPlaceholder).z1l = function (min, max, unit, scale, ingredient, usCust) {
|
|
3255
3380
|
return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
|
|
3256
3381
|
};
|
|
3257
3382
|
protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
|
|
@@ -3261,7 +3386,7 @@
|
|
|
3261
3386
|
scale = scale === VOID ? this.scale : scale;
|
|
3262
3387
|
ingredient = ingredient === VOID ? this.ingredient : ingredient;
|
|
3263
3388
|
usCust = usCust === VOID ? this.usCust : usCust;
|
|
3264
|
-
return $super === VOID ? this.
|
|
3389
|
+
return $super === VOID ? this.z1l(min, max, unit, scale, ingredient, usCust) : $super.z1l.call(this, min, max, unit, scale, ingredient, usCust);
|
|
3265
3390
|
};
|
|
3266
3391
|
protoOf(QuantityPlaceholder).toString = function () {
|
|
3267
3392
|
return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
|
|
@@ -3294,43 +3419,43 @@
|
|
|
3294
3419
|
return false;
|
|
3295
3420
|
return true;
|
|
3296
3421
|
};
|
|
3297
|
-
function
|
|
3422
|
+
function Companion_10() {
|
|
3298
3423
|
}
|
|
3299
|
-
var
|
|
3300
|
-
function
|
|
3301
|
-
return
|
|
3424
|
+
var Companion_instance_11;
|
|
3425
|
+
function Companion_getInstance_10() {
|
|
3426
|
+
return Companion_instance_11;
|
|
3302
3427
|
}
|
|
3303
3428
|
function $serializer_11() {
|
|
3304
3429
|
$serializer_instance_11 = this;
|
|
3305
3430
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
|
|
3306
|
-
tmp0_serialDesc.
|
|
3307
|
-
tmp0_serialDesc.
|
|
3308
|
-
tmp0_serialDesc.
|
|
3309
|
-
tmp0_serialDesc.
|
|
3310
|
-
this.
|
|
3311
|
-
}
|
|
3312
|
-
protoOf($serializer_11).
|
|
3313
|
-
var tmp0_desc = this.
|
|
3314
|
-
var tmp1_output = encoder.
|
|
3315
|
-
if (tmp1_output.
|
|
3316
|
-
tmp1_output.
|
|
3431
|
+
tmp0_serialDesc.jt('temperatureC', true);
|
|
3432
|
+
tmp0_serialDesc.jt('temperatureFanC', true);
|
|
3433
|
+
tmp0_serialDesc.jt('temperatureF', true);
|
|
3434
|
+
tmp0_serialDesc.jt('gasMark', true);
|
|
3435
|
+
this.a1m_1 = tmp0_serialDesc;
|
|
3436
|
+
}
|
|
3437
|
+
protoOf($serializer_11).b1m = function (encoder, value) {
|
|
3438
|
+
var tmp0_desc = this.a1m_1;
|
|
3439
|
+
var tmp1_output = encoder.vl(tmp0_desc);
|
|
3440
|
+
if (tmp1_output.sn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
|
|
3441
|
+
tmp1_output.on(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
|
|
3317
3442
|
}
|
|
3318
|
-
if (tmp1_output.
|
|
3319
|
-
tmp1_output.
|
|
3443
|
+
if (tmp1_output.sn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
|
|
3444
|
+
tmp1_output.on(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
|
|
3320
3445
|
}
|
|
3321
|
-
if (tmp1_output.
|
|
3322
|
-
tmp1_output.
|
|
3446
|
+
if (tmp1_output.sn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
|
|
3447
|
+
tmp1_output.on(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
|
|
3323
3448
|
}
|
|
3324
|
-
if (tmp1_output.
|
|
3325
|
-
tmp1_output.
|
|
3449
|
+
if (tmp1_output.sn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
|
|
3450
|
+
tmp1_output.on(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
|
|
3326
3451
|
}
|
|
3327
|
-
tmp1_output.
|
|
3452
|
+
tmp1_output.wl(tmp0_desc);
|
|
3328
3453
|
};
|
|
3329
3454
|
protoOf($serializer_11).ui = function (encoder, value) {
|
|
3330
|
-
return this.
|
|
3455
|
+
return this.b1m(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
|
|
3331
3456
|
};
|
|
3332
3457
|
protoOf($serializer_11).vi = function (decoder) {
|
|
3333
|
-
var tmp0_desc = this.
|
|
3458
|
+
var tmp0_desc = this.a1m_1;
|
|
3334
3459
|
var tmp1_flag = true;
|
|
3335
3460
|
var tmp2_index = 0;
|
|
3336
3461
|
var tmp3_bitMask0 = 0;
|
|
@@ -3338,50 +3463,50 @@
|
|
|
3338
3463
|
var tmp5_local1 = null;
|
|
3339
3464
|
var tmp6_local2 = null;
|
|
3340
3465
|
var tmp7_local3 = null;
|
|
3341
|
-
var tmp8_input = decoder.
|
|
3342
|
-
if (tmp8_input.
|
|
3343
|
-
tmp4_local0 = tmp8_input.
|
|
3466
|
+
var tmp8_input = decoder.vl(tmp0_desc);
|
|
3467
|
+
if (tmp8_input.lm()) {
|
|
3468
|
+
tmp4_local0 = tmp8_input.jm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
3344
3469
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3345
|
-
tmp5_local1 = tmp8_input.
|
|
3470
|
+
tmp5_local1 = tmp8_input.jm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
|
|
3346
3471
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3347
|
-
tmp6_local2 = tmp8_input.
|
|
3472
|
+
tmp6_local2 = tmp8_input.jm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
3348
3473
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3349
|
-
tmp7_local3 = tmp8_input.
|
|
3474
|
+
tmp7_local3 = tmp8_input.jm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
|
|
3350
3475
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3351
3476
|
} else
|
|
3352
3477
|
while (tmp1_flag) {
|
|
3353
|
-
tmp2_index = tmp8_input.
|
|
3478
|
+
tmp2_index = tmp8_input.mm(tmp0_desc);
|
|
3354
3479
|
switch (tmp2_index) {
|
|
3355
3480
|
case -1:
|
|
3356
3481
|
tmp1_flag = false;
|
|
3357
3482
|
break;
|
|
3358
3483
|
case 0:
|
|
3359
|
-
tmp4_local0 = tmp8_input.
|
|
3484
|
+
tmp4_local0 = tmp8_input.jm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
|
|
3360
3485
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
3361
3486
|
break;
|
|
3362
3487
|
case 1:
|
|
3363
|
-
tmp5_local1 = tmp8_input.
|
|
3488
|
+
tmp5_local1 = tmp8_input.jm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
|
|
3364
3489
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
3365
3490
|
break;
|
|
3366
3491
|
case 2:
|
|
3367
|
-
tmp6_local2 = tmp8_input.
|
|
3492
|
+
tmp6_local2 = tmp8_input.jm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
|
|
3368
3493
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
3369
3494
|
break;
|
|
3370
3495
|
case 3:
|
|
3371
|
-
tmp7_local3 = tmp8_input.
|
|
3496
|
+
tmp7_local3 = tmp8_input.jm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
|
|
3372
3497
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
3373
3498
|
break;
|
|
3374
3499
|
default:
|
|
3375
3500
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
3376
3501
|
}
|
|
3377
3502
|
}
|
|
3378
|
-
tmp8_input.
|
|
3503
|
+
tmp8_input.wl(tmp0_desc);
|
|
3379
3504
|
return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
3380
3505
|
};
|
|
3381
3506
|
protoOf($serializer_11).ti = function () {
|
|
3382
|
-
return this.
|
|
3507
|
+
return this.a1m_1;
|
|
3383
3508
|
};
|
|
3384
|
-
protoOf($serializer_11).
|
|
3509
|
+
protoOf($serializer_11).cu = function () {
|
|
3385
3510
|
// Inline function 'kotlin.arrayOf' call
|
|
3386
3511
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3387
3512
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3395,7 +3520,7 @@
|
|
|
3395
3520
|
}
|
|
3396
3521
|
function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
|
|
3397
3522
|
if (!(0 === (0 & seen0))) {
|
|
3398
|
-
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().
|
|
3523
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_11().a1m_1);
|
|
3399
3524
|
}
|
|
3400
3525
|
if (0 === (seen0 & 1))
|
|
3401
3526
|
$this.temperatureC = null;
|
|
@@ -3428,16 +3553,16 @@
|
|
|
3428
3553
|
this.temperatureF = temperatureF;
|
|
3429
3554
|
this.gasMark = gasMark;
|
|
3430
3555
|
}
|
|
3431
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3556
|
+
protoOf(OvenTemperaturePlaceholder).c1m = function () {
|
|
3432
3557
|
return this.temperatureC;
|
|
3433
3558
|
};
|
|
3434
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3559
|
+
protoOf(OvenTemperaturePlaceholder).d1m = function () {
|
|
3435
3560
|
return this.temperatureFanC;
|
|
3436
3561
|
};
|
|
3437
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3562
|
+
protoOf(OvenTemperaturePlaceholder).e1m = function () {
|
|
3438
3563
|
return this.temperatureF;
|
|
3439
3564
|
};
|
|
3440
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3565
|
+
protoOf(OvenTemperaturePlaceholder).f1m = function () {
|
|
3441
3566
|
return this.gasMark;
|
|
3442
3567
|
};
|
|
3443
3568
|
protoOf(OvenTemperaturePlaceholder).gd = function () {
|
|
@@ -3446,13 +3571,13 @@
|
|
|
3446
3571
|
protoOf(OvenTemperaturePlaceholder).hd = function () {
|
|
3447
3572
|
return this.temperatureFanC;
|
|
3448
3573
|
};
|
|
3449
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3574
|
+
protoOf(OvenTemperaturePlaceholder).v1l = function () {
|
|
3450
3575
|
return this.temperatureF;
|
|
3451
3576
|
};
|
|
3452
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3577
|
+
protoOf(OvenTemperaturePlaceholder).w1l = function () {
|
|
3453
3578
|
return this.gasMark;
|
|
3454
3579
|
};
|
|
3455
|
-
protoOf(OvenTemperaturePlaceholder).
|
|
3580
|
+
protoOf(OvenTemperaturePlaceholder).g1m = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
|
|
3456
3581
|
return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3457
3582
|
};
|
|
3458
3583
|
protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
|
|
@@ -3460,7 +3585,7 @@
|
|
|
3460
3585
|
temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
|
|
3461
3586
|
temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
|
|
3462
3587
|
gasMark = gasMark === VOID ? this.gasMark : gasMark;
|
|
3463
|
-
return $super === VOID ? this.
|
|
3588
|
+
return $super === VOID ? this.g1m(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.g1m.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
|
|
3464
3589
|
};
|
|
3465
3590
|
protoOf(OvenTemperaturePlaceholder).toString = function () {
|
|
3466
3591
|
return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
|
|
@@ -3545,25 +3670,25 @@
|
|
|
3545
3670
|
Enum.call(this, name, ordinal);
|
|
3546
3671
|
}
|
|
3547
3672
|
function MeasurementUnit(singular, plural, symbol, symbolPlural, unitType, measuringSystems, quantity) {
|
|
3548
|
-
this.
|
|
3549
|
-
this.
|
|
3550
|
-
this.
|
|
3551
|
-
this.
|
|
3552
|
-
this.
|
|
3553
|
-
this.
|
|
3554
|
-
this.
|
|
3673
|
+
this.e1h_1 = singular;
|
|
3674
|
+
this.f1h_1 = plural;
|
|
3675
|
+
this.g1h_1 = symbol;
|
|
3676
|
+
this.h1h_1 = symbolPlural;
|
|
3677
|
+
this.i1h_1 = unitType;
|
|
3678
|
+
this.j1h_1 = measuringSystems;
|
|
3679
|
+
this.k1h_1 = quantity;
|
|
3555
3680
|
}
|
|
3556
3681
|
protoOf(MeasurementUnit).toString = function () {
|
|
3557
|
-
return 'MeasurementUnit(singular=' + this.
|
|
3682
|
+
return 'MeasurementUnit(singular=' + this.e1h_1 + ', plural=' + this.f1h_1 + ', symbol=' + this.g1h_1 + ', symbolPlural=' + this.h1h_1 + ', unitType=' + toString(this.i1h_1) + ', measuringSystems=' + toString_0(this.j1h_1) + ', quantity=' + this.k1h_1 + ')';
|
|
3558
3683
|
};
|
|
3559
3684
|
protoOf(MeasurementUnit).hashCode = function () {
|
|
3560
|
-
var result = getStringHashCode(this.
|
|
3561
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3562
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3563
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3564
|
-
result = imul(result, 31) + (this.
|
|
3565
|
-
result = imul(result, 31) + hashCode(this.
|
|
3566
|
-
result = imul(result, 31) + getNumberHashCode(this.
|
|
3685
|
+
var result = getStringHashCode(this.e1h_1);
|
|
3686
|
+
result = imul(result, 31) + getStringHashCode(this.f1h_1) | 0;
|
|
3687
|
+
result = imul(result, 31) + getStringHashCode(this.g1h_1) | 0;
|
|
3688
|
+
result = imul(result, 31) + getStringHashCode(this.h1h_1) | 0;
|
|
3689
|
+
result = imul(result, 31) + (this.i1h_1 == null ? 0 : this.i1h_1.hashCode()) | 0;
|
|
3690
|
+
result = imul(result, 31) + hashCode(this.j1h_1) | 0;
|
|
3691
|
+
result = imul(result, 31) + getNumberHashCode(this.k1h_1) | 0;
|
|
3567
3692
|
return result;
|
|
3568
3693
|
};
|
|
3569
3694
|
protoOf(MeasurementUnit).equals = function (other) {
|
|
@@ -3571,19 +3696,19 @@
|
|
|
3571
3696
|
return true;
|
|
3572
3697
|
if (!(other instanceof MeasurementUnit))
|
|
3573
3698
|
return false;
|
|
3574
|
-
if (!(this.
|
|
3699
|
+
if (!(this.e1h_1 === other.e1h_1))
|
|
3575
3700
|
return false;
|
|
3576
|
-
if (!(this.
|
|
3701
|
+
if (!(this.f1h_1 === other.f1h_1))
|
|
3577
3702
|
return false;
|
|
3578
|
-
if (!(this.
|
|
3703
|
+
if (!(this.g1h_1 === other.g1h_1))
|
|
3579
3704
|
return false;
|
|
3580
|
-
if (!(this.
|
|
3705
|
+
if (!(this.h1h_1 === other.h1h_1))
|
|
3581
3706
|
return false;
|
|
3582
|
-
if (!equals(this.
|
|
3707
|
+
if (!equals(this.i1h_1, other.i1h_1))
|
|
3583
3708
|
return false;
|
|
3584
|
-
if (!equals(this.
|
|
3709
|
+
if (!equals(this.j1h_1, other.j1h_1))
|
|
3585
3710
|
return false;
|
|
3586
|
-
if (!equals(this.
|
|
3711
|
+
if (!equals(this.k1h_1, other.k1h_1))
|
|
3587
3712
|
return false;
|
|
3588
3713
|
return true;
|
|
3589
3714
|
};
|
|
@@ -3592,37 +3717,37 @@
|
|
|
3592
3717
|
var tmp = this;
|
|
3593
3718
|
var tmp0_unitType = UnitType_VOLUME_getInstance();
|
|
3594
3719
|
var tmp1_measuringSystems = setOf([USCustomary_instance, Imperial_instance]);
|
|
3595
|
-
tmp.
|
|
3596
|
-
this.
|
|
3597
|
-
this.
|
|
3598
|
-
this.
|
|
3599
|
-
this.
|
|
3600
|
-
this.
|
|
3601
|
-
this.
|
|
3602
|
-
this.
|
|
3603
|
-
this.
|
|
3604
|
-
this.
|
|
3605
|
-
this.
|
|
3606
|
-
this.
|
|
3607
|
-
this.
|
|
3608
|
-
this.
|
|
3609
|
-
this.
|
|
3610
|
-
this.
|
|
3611
|
-
this.
|
|
3612
|
-
this.
|
|
3613
|
-
this.
|
|
3614
|
-
this.
|
|
3615
|
-
this.
|
|
3616
|
-
this.
|
|
3720
|
+
tmp.p1f_1 = new MeasurementUnit('stick', 'sticks', 'stick', 'sticks', tmp0_unitType, tmp1_measuringSystems, 118.294);
|
|
3721
|
+
this.q1f_1 = new MeasurementUnit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3722
|
+
this.r1f_1 = new MeasurementUnit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3723
|
+
this.s1f_1 = new MeasurementUnit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 28.3495);
|
|
3724
|
+
this.t1f_1 = new MeasurementUnit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 16 * this.s1f_1.k1h_1);
|
|
3725
|
+
this.u1f_1 = new MeasurementUnit('millilitre', 'millilitres', 'ml', 'ml', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3726
|
+
this.v1f_1 = new MeasurementUnit('centilitre', 'centilitres', 'cl', 'cl', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3727
|
+
this.w1f_1 = new MeasurementUnit('litre', 'litres', 'l', 'l', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 1000.0);
|
|
3728
|
+
this.x1f_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 5.0);
|
|
3729
|
+
this.y1f_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 15.0);
|
|
3730
|
+
this.z1f_1 = new MeasurementUnit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4.9289);
|
|
3731
|
+
this.a1g_1 = new MeasurementUnit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 3 * this.z1f_1.k1h_1);
|
|
3732
|
+
this.b1g_1 = new MeasurementUnit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), setOf_0(Imperial_instance), 6 * this.z1f_1.k1h_1);
|
|
3733
|
+
this.c1g_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(USCustomary_instance), 48 * this.z1f_1.k1h_1);
|
|
3734
|
+
this.d1g_1 = new MeasurementUnit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), setOf_0(Metric_instance), 250.0);
|
|
3735
|
+
this.e1g_1 = new MeasurementUnit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.c1g_1.k1h_1);
|
|
3736
|
+
this.f1g_1 = new MeasurementUnit('quart', 'quarts', 'qt', 'qts', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 2 * this.e1g_1.k1h_1);
|
|
3737
|
+
this.g1g_1 = new MeasurementUnit('gallon', 'gallons', 'gal', 'gals', UnitType_VOLUME_getInstance(), setOf([Imperial_instance, USCustomary_instance]), 4 * this.f1g_1.k1h_1);
|
|
3738
|
+
this.h1g_1 = new MeasurementUnit('millimetre', 'millimetres', 'mm', 'mm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 1.0);
|
|
3739
|
+
this.i1g_1 = new MeasurementUnit('centimetre', 'centimetres', 'cm', 'cm', UnitType_LENGTH_getInstance(), setOf_0(Metric_instance), 10.0);
|
|
3740
|
+
this.j1g_1 = new MeasurementUnit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), setOf_0(Imperial_instance), 25.4);
|
|
3741
|
+
this.k1g_1 = listOf([this.p1f_1, this.q1f_1, this.r1f_1, this.s1f_1, this.t1f_1, this.u1f_1, this.v1f_1, this.w1f_1, this.x1f_1, this.y1f_1, this.z1f_1, this.a1g_1, this.b1g_1, this.c1g_1, this.d1g_1, this.e1g_1, this.f1g_1, this.g1g_1, this.h1g_1, this.i1g_1, this.j1g_1]);
|
|
3617
3742
|
var tmp_0 = this;
|
|
3618
3743
|
// Inline function 'kotlin.collections.filter' call
|
|
3619
|
-
var tmp0 = this.
|
|
3744
|
+
var tmp0 = this.k1g_1;
|
|
3620
3745
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3621
3746
|
var destination = ArrayList_init_$Create$_0();
|
|
3622
3747
|
var _iterator__ex2g4s = tmp0.q();
|
|
3623
3748
|
while (_iterator__ex2g4s.r()) {
|
|
3624
3749
|
var element = _iterator__ex2g4s.s();
|
|
3625
|
-
if (element.
|
|
3750
|
+
if (element.j1h_1.b1(Metric_instance)) {
|
|
3626
3751
|
destination.u(element);
|
|
3627
3752
|
}
|
|
3628
3753
|
}
|
|
@@ -3634,7 +3759,7 @@
|
|
|
3634
3759
|
var _iterator__ex2g4s_0 = destination.q();
|
|
3635
3760
|
while (_iterator__ex2g4s_0.r()) {
|
|
3636
3761
|
var element_0 = _iterator__ex2g4s_0.s();
|
|
3637
|
-
var tmp$ret$7 = element_0.
|
|
3762
|
+
var tmp$ret$7 = element_0.g1h_1;
|
|
3638
3763
|
destination_0.n2(tmp$ret$7, element_0);
|
|
3639
3764
|
}
|
|
3640
3765
|
var tmp_1 = destination_0;
|
|
@@ -3645,7 +3770,7 @@
|
|
|
3645
3770
|
var _iterator__ex2g4s_1 = destination.q();
|
|
3646
3771
|
while (_iterator__ex2g4s_1.r()) {
|
|
3647
3772
|
var element_1 = _iterator__ex2g4s_1.s();
|
|
3648
|
-
var tmp$ret$10 = element_1.
|
|
3773
|
+
var tmp$ret$10 = element_1.h1h_1;
|
|
3649
3774
|
destination_1.n2(tmp$ret$10, element_1);
|
|
3650
3775
|
}
|
|
3651
3776
|
var tmp_2 = plus(tmp_1, destination_1);
|
|
@@ -3656,7 +3781,7 @@
|
|
|
3656
3781
|
var _iterator__ex2g4s_2 = destination.q();
|
|
3657
3782
|
while (_iterator__ex2g4s_2.r()) {
|
|
3658
3783
|
var element_2 = _iterator__ex2g4s_2.s();
|
|
3659
|
-
var tmp$ret$13 = element_2.
|
|
3784
|
+
var tmp$ret$13 = element_2.e1h_1;
|
|
3660
3785
|
destination_2.n2(tmp$ret$13, element_2);
|
|
3661
3786
|
}
|
|
3662
3787
|
var tmp_3 = plus(tmp_2, destination_2);
|
|
@@ -3667,19 +3792,19 @@
|
|
|
3667
3792
|
var _iterator__ex2g4s_3 = destination.q();
|
|
3668
3793
|
while (_iterator__ex2g4s_3.r()) {
|
|
3669
3794
|
var element_3 = _iterator__ex2g4s_3.s();
|
|
3670
|
-
var tmp$ret$16 = element_3.
|
|
3795
|
+
var tmp$ret$16 = element_3.f1h_1;
|
|
3671
3796
|
destination_3.n2(tmp$ret$16, element_3);
|
|
3672
3797
|
}
|
|
3673
|
-
tmp_0.
|
|
3798
|
+
tmp_0.l1g_1 = plus(tmp_3, destination_3);
|
|
3674
3799
|
var tmp_4 = this;
|
|
3675
3800
|
// Inline function 'kotlin.collections.filter' call
|
|
3676
|
-
var tmp0_0 = this.
|
|
3801
|
+
var tmp0_0 = this.k1g_1;
|
|
3677
3802
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3678
3803
|
var destination_4 = ArrayList_init_$Create$_0();
|
|
3679
3804
|
var _iterator__ex2g4s_4 = tmp0_0.q();
|
|
3680
3805
|
while (_iterator__ex2g4s_4.r()) {
|
|
3681
3806
|
var element_4 = _iterator__ex2g4s_4.s();
|
|
3682
|
-
if (element_4.
|
|
3807
|
+
if (element_4.j1h_1.b1(Imperial_instance)) {
|
|
3683
3808
|
destination_4.u(element_4);
|
|
3684
3809
|
}
|
|
3685
3810
|
}
|
|
@@ -3691,7 +3816,7 @@
|
|
|
3691
3816
|
var _iterator__ex2g4s_5 = destination_4.q();
|
|
3692
3817
|
while (_iterator__ex2g4s_5.r()) {
|
|
3693
3818
|
var element_5 = _iterator__ex2g4s_5.s();
|
|
3694
|
-
var tmp$ret$24 = element_5.
|
|
3819
|
+
var tmp$ret$24 = element_5.g1h_1;
|
|
3695
3820
|
destination_5.n2(tmp$ret$24, element_5);
|
|
3696
3821
|
}
|
|
3697
3822
|
var tmp_5 = destination_5;
|
|
@@ -3702,7 +3827,7 @@
|
|
|
3702
3827
|
var _iterator__ex2g4s_6 = destination_4.q();
|
|
3703
3828
|
while (_iterator__ex2g4s_6.r()) {
|
|
3704
3829
|
var element_6 = _iterator__ex2g4s_6.s();
|
|
3705
|
-
var tmp$ret$27 = element_6.
|
|
3830
|
+
var tmp$ret$27 = element_6.h1h_1;
|
|
3706
3831
|
destination_6.n2(tmp$ret$27, element_6);
|
|
3707
3832
|
}
|
|
3708
3833
|
var tmp_6 = plus(tmp_5, destination_6);
|
|
@@ -3713,7 +3838,7 @@
|
|
|
3713
3838
|
var _iterator__ex2g4s_7 = destination_4.q();
|
|
3714
3839
|
while (_iterator__ex2g4s_7.r()) {
|
|
3715
3840
|
var element_7 = _iterator__ex2g4s_7.s();
|
|
3716
|
-
var tmp$ret$30 = element_7.
|
|
3841
|
+
var tmp$ret$30 = element_7.e1h_1;
|
|
3717
3842
|
destination_7.n2(tmp$ret$30, element_7);
|
|
3718
3843
|
}
|
|
3719
3844
|
var tmp_7 = plus(tmp_6, destination_7);
|
|
@@ -3724,19 +3849,19 @@
|
|
|
3724
3849
|
var _iterator__ex2g4s_8 = destination_4.q();
|
|
3725
3850
|
while (_iterator__ex2g4s_8.r()) {
|
|
3726
3851
|
var element_8 = _iterator__ex2g4s_8.s();
|
|
3727
|
-
var tmp$ret$33 = element_8.
|
|
3852
|
+
var tmp$ret$33 = element_8.f1h_1;
|
|
3728
3853
|
destination_8.n2(tmp$ret$33, element_8);
|
|
3729
3854
|
}
|
|
3730
|
-
tmp_4.
|
|
3855
|
+
tmp_4.m1g_1 = plus(tmp_7, destination_8);
|
|
3731
3856
|
var tmp_8 = this;
|
|
3732
3857
|
// Inline function 'kotlin.collections.filter' call
|
|
3733
|
-
var tmp0_1 = this.
|
|
3858
|
+
var tmp0_1 = this.k1g_1;
|
|
3734
3859
|
// Inline function 'kotlin.collections.filterTo' call
|
|
3735
3860
|
var destination_9 = ArrayList_init_$Create$_0();
|
|
3736
3861
|
var _iterator__ex2g4s_9 = tmp0_1.q();
|
|
3737
3862
|
while (_iterator__ex2g4s_9.r()) {
|
|
3738
3863
|
var element_9 = _iterator__ex2g4s_9.s();
|
|
3739
|
-
if (element_9.
|
|
3864
|
+
if (element_9.j1h_1.b1(USCustomary_instance)) {
|
|
3740
3865
|
destination_9.u(element_9);
|
|
3741
3866
|
}
|
|
3742
3867
|
}
|
|
@@ -3748,7 +3873,7 @@
|
|
|
3748
3873
|
var _iterator__ex2g4s_10 = destination_9.q();
|
|
3749
3874
|
while (_iterator__ex2g4s_10.r()) {
|
|
3750
3875
|
var element_10 = _iterator__ex2g4s_10.s();
|
|
3751
|
-
var tmp$ret$41 = element_10.
|
|
3876
|
+
var tmp$ret$41 = element_10.g1h_1;
|
|
3752
3877
|
destination_10.n2(tmp$ret$41, element_10);
|
|
3753
3878
|
}
|
|
3754
3879
|
var tmp_9 = destination_10;
|
|
@@ -3759,7 +3884,7 @@
|
|
|
3759
3884
|
var _iterator__ex2g4s_11 = destination_9.q();
|
|
3760
3885
|
while (_iterator__ex2g4s_11.r()) {
|
|
3761
3886
|
var element_11 = _iterator__ex2g4s_11.s();
|
|
3762
|
-
var tmp$ret$44 = element_11.
|
|
3887
|
+
var tmp$ret$44 = element_11.h1h_1;
|
|
3763
3888
|
destination_11.n2(tmp$ret$44, element_11);
|
|
3764
3889
|
}
|
|
3765
3890
|
var tmp_10 = plus(tmp_9, destination_11);
|
|
@@ -3770,7 +3895,7 @@
|
|
|
3770
3895
|
var _iterator__ex2g4s_12 = destination_9.q();
|
|
3771
3896
|
while (_iterator__ex2g4s_12.r()) {
|
|
3772
3897
|
var element_12 = _iterator__ex2g4s_12.s();
|
|
3773
|
-
var tmp$ret$47 = element_12.
|
|
3898
|
+
var tmp$ret$47 = element_12.e1h_1;
|
|
3774
3899
|
destination_12.n2(tmp$ret$47, element_12);
|
|
3775
3900
|
}
|
|
3776
3901
|
var tmp_11 = plus(tmp_10, destination_12);
|
|
@@ -3781,15 +3906,39 @@
|
|
|
3781
3906
|
var _iterator__ex2g4s_13 = destination_9.q();
|
|
3782
3907
|
while (_iterator__ex2g4s_13.r()) {
|
|
3783
3908
|
var element_13 = _iterator__ex2g4s_13.s();
|
|
3784
|
-
var tmp$ret$50 = element_13.
|
|
3909
|
+
var tmp$ret$50 = element_13.f1h_1;
|
|
3785
3910
|
destination_13.n2(tmp$ret$50, element_13);
|
|
3786
3911
|
}
|
|
3787
|
-
tmp_8.
|
|
3912
|
+
tmp_8.n1g_1 = plus(tmp_11, destination_13);
|
|
3788
3913
|
}
|
|
3789
|
-
protoOf(Units).
|
|
3790
|
-
var
|
|
3791
|
-
|
|
3792
|
-
|
|
3914
|
+
protoOf(Units).o1g = function (name, originMeasuringSystem) {
|
|
3915
|
+
var tmp;
|
|
3916
|
+
if (originMeasuringSystem instanceof Metric) {
|
|
3917
|
+
var tmp1_elvis_lhs = this.l1g_1.j2(name);
|
|
3918
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.m1g_1.j2(name) : tmp1_elvis_lhs;
|
|
3919
|
+
tmp = tmp2_elvis_lhs == null ? this.n1g_1.j2(name) : tmp2_elvis_lhs;
|
|
3920
|
+
} else {
|
|
3921
|
+
var tmp_0;
|
|
3922
|
+
if (originMeasuringSystem instanceof USCustomary) {
|
|
3923
|
+
tmp_0 = true;
|
|
3924
|
+
} else {
|
|
3925
|
+
tmp_0 = equals(originMeasuringSystem, Butter_instance);
|
|
3926
|
+
}
|
|
3927
|
+
if (tmp_0) {
|
|
3928
|
+
var tmp3_elvis_lhs = this.n1g_1.j2(name);
|
|
3929
|
+
var tmp4_elvis_lhs = tmp3_elvis_lhs == null ? this.m1g_1.j2(name) : tmp3_elvis_lhs;
|
|
3930
|
+
tmp = tmp4_elvis_lhs == null ? this.l1g_1.j2(name) : tmp4_elvis_lhs;
|
|
3931
|
+
} else {
|
|
3932
|
+
if (originMeasuringSystem instanceof Imperial) {
|
|
3933
|
+
var tmp5_elvis_lhs = this.m1g_1.j2(name);
|
|
3934
|
+
var tmp6_elvis_lhs = tmp5_elvis_lhs == null ? this.l1g_1.j2(name) : tmp5_elvis_lhs;
|
|
3935
|
+
tmp = tmp6_elvis_lhs == null ? this.n1g_1.j2(name) : tmp6_elvis_lhs;
|
|
3936
|
+
} else {
|
|
3937
|
+
noWhenBranchMatchedException();
|
|
3938
|
+
}
|
|
3939
|
+
}
|
|
3940
|
+
}
|
|
3941
|
+
var unit = tmp;
|
|
3793
3942
|
if (!(unit == null)) {
|
|
3794
3943
|
return unit;
|
|
3795
3944
|
} else {
|
|
@@ -3818,12 +3967,12 @@
|
|
|
3818
3967
|
}
|
|
3819
3968
|
function UnitConversions() {
|
|
3820
3969
|
UnitConversions_instance = this;
|
|
3821
|
-
this.
|
|
3822
|
-
this.
|
|
3823
|
-
this.
|
|
3824
|
-
this.
|
|
3825
|
-
this.
|
|
3826
|
-
this.
|
|
3970
|
+
this.t1g_1 = 0.00422675;
|
|
3971
|
+
this.u1g_1 = 0.202884;
|
|
3972
|
+
this.v1g_1 = setOf([Units_getInstance().x1f_1, Units_getInstance().y1f_1, Units_getInstance().d1g_1]);
|
|
3973
|
+
this.w1g_1 = listOf([to(0.0, Units_getInstance().q1f_1), to(1000.0, Units_getInstance().r1f_1), to(0.0, Units_getInstance().u1f_1), to(2.5, Units_getInstance().x1f_1), to(15.0, Units_getInstance().y1f_1), to(125.0, Units_getInstance().d1g_1), to(1000.0, Units_getInstance().w1f_1), to(0.0, Units_getInstance().h1g_1), to(10.0, Units_getInstance().i1g_1)]);
|
|
3974
|
+
this.x1g_1 = listOf([to(0.0, Units_getInstance().q1f_1), to(1000.0, Units_getInstance().r1f_1), to(0.0, Units_getInstance().u1f_1), to(1000.0, Units_getInstance().w1f_1), to(0.0, Units_getInstance().h1g_1), to(10.0, Units_getInstance().i1g_1)]);
|
|
3975
|
+
this.y1g_1 = listOf_0(to(0.0, Units_getInstance().p1f_1));
|
|
3827
3976
|
var tmp = this;
|
|
3828
3977
|
// Inline function 'kotlin.collections.map' call
|
|
3829
3978
|
var this_0 = listOf([3.0, 4.0, 6.0, 7.0, 9.0, 10.0]);
|
|
@@ -3832,38 +3981,38 @@
|
|
|
3832
3981
|
var _iterator__ex2g4s = this_0.q();
|
|
3833
3982
|
while (_iterator__ex2g4s.r()) {
|
|
3834
3983
|
var item = _iterator__ex2g4s.s();
|
|
3835
|
-
var tmp$ret$2 = to(item * Units_getInstance().
|
|
3984
|
+
var tmp$ret$2 = to(item * Units_getInstance().z1f_1.k1h_1, Units_getInstance().a1g_1);
|
|
3836
3985
|
destination.u(tmp$ret$2);
|
|
3837
3986
|
}
|
|
3838
|
-
tmp.
|
|
3839
|
-
this.
|
|
3840
|
-
this.
|
|
3841
|
-
this.
|
|
3987
|
+
tmp.z1g_1 = destination;
|
|
3988
|
+
this.a1h_1 = plus_0(plus_0(listOf([to(0.0, Units_getInstance().s1f_1), to(16.0 * Units_getInstance().s1f_1.k1h_1, Units_getInstance().t1f_1), to(0.0, Units_getInstance().z1f_1)]), this.z1g_1), listOf([to(12.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().c1g_1), to(768.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().g1g_1), to(0.0, Units_getInstance().j1g_1)]));
|
|
3989
|
+
this.b1h_1 = listOf([to(0.0, Units_getInstance().s1f_1), to(16.0 * Units_getInstance().s1f_1.k1h_1, Units_getInstance().t1f_1), to(0.0, Units_getInstance().z1f_1), to(3.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().a1g_1), to(12.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().c1g_1), to(0.0, Units_getInstance().j1g_1)]);
|
|
3990
|
+
this.c1h_1 = listOf([to(0.0, Units_getInstance().s1f_1), to(16.0 * Units_getInstance().s1f_1.k1h_1, Units_getInstance().t1f_1), to(0.0, Units_getInstance().z1f_1), to(3.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().a1g_1), to(6.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().b1g_1), to(768.0 * Units_getInstance().z1f_1.k1h_1, Units_getInstance().g1g_1), to(0.0, Units_getInstance().j1g_1)]);
|
|
3842
3991
|
}
|
|
3843
|
-
protoOf(UnitConversions).
|
|
3992
|
+
protoOf(UnitConversions).h1m = function (amount) {
|
|
3844
3993
|
var tmp;
|
|
3845
|
-
if (!(amount.
|
|
3846
|
-
var tmp_0 = amount.
|
|
3847
|
-
var tmp0_safe_receiver = amount.
|
|
3994
|
+
if (!(amount.e1f_1 == null)) {
|
|
3995
|
+
var tmp_0 = amount.c1f_1 * amount.e1f_1.k1h_1;
|
|
3996
|
+
var tmp0_safe_receiver = amount.d1f_1;
|
|
3848
3997
|
var tmp_1;
|
|
3849
3998
|
if (tmp0_safe_receiver == null) {
|
|
3850
3999
|
tmp_1 = null;
|
|
3851
4000
|
} else {
|
|
3852
4001
|
// Inline function 'kotlin.let' call
|
|
3853
|
-
tmp_1 = tmp0_safe_receiver * amount.
|
|
4002
|
+
tmp_1 = tmp0_safe_receiver * amount.e1f_1.k1h_1;
|
|
3854
4003
|
}
|
|
3855
4004
|
var tmp_2 = tmp_1;
|
|
3856
|
-
var tmp1_subject = amount.
|
|
4005
|
+
var tmp1_subject = amount.e1f_1.i1h_1;
|
|
3857
4006
|
var tmp0 = tmp1_subject == null ? -1 : tmp1_subject.r2_1;
|
|
3858
|
-
tmp = amount.
|
|
4007
|
+
tmp = amount.h1f(tmp_0, tmp_2, tmp0 === 2 ? Units_getInstance().h1g_1 : tmp0 === 1 ? Units_getInstance().u1f_1 : tmp0 === 0 ? Units_getInstance().q1f_1 : amount.e1f_1);
|
|
3859
4008
|
} else {
|
|
3860
4009
|
tmp = amount;
|
|
3861
4010
|
}
|
|
3862
4011
|
return tmp;
|
|
3863
4012
|
};
|
|
3864
|
-
protoOf(UnitConversions).
|
|
3865
|
-
var tmp = amount.
|
|
3866
|
-
var tmp0_safe_receiver = amount.
|
|
4013
|
+
protoOf(UnitConversions).d1h = function (amount, target, factor, density, origin) {
|
|
4014
|
+
var tmp = amount.c1f_1 * factor;
|
|
4015
|
+
var tmp0_safe_receiver = amount.d1f_1;
|
|
3867
4016
|
var tmp_0;
|
|
3868
4017
|
if (tmp0_safe_receiver == null) {
|
|
3869
4018
|
tmp_0 = null;
|
|
@@ -3871,33 +4020,33 @@
|
|
|
3871
4020
|
// Inline function 'kotlin.let' call
|
|
3872
4021
|
tmp_0 = tmp0_safe_receiver * factor;
|
|
3873
4022
|
}
|
|
3874
|
-
var scaledAmount = amount.
|
|
3875
|
-
if (scaledAmount.
|
|
4023
|
+
var scaledAmount = amount.h1f(tmp, tmp_0);
|
|
4024
|
+
if (scaledAmount.e1f_1 == null || (equals(target, origin) && factor === 1.0)) {
|
|
3876
4025
|
return scaledAmount;
|
|
3877
4026
|
}
|
|
3878
|
-
var smallestUnitAmount = this.
|
|
4027
|
+
var smallestUnitAmount = this.h1m(scaledAmount);
|
|
3879
4028
|
var tmp_1;
|
|
3880
4029
|
if (equals(target, Metric_instance)) {
|
|
3881
|
-
tmp_1 = contains(this.
|
|
4030
|
+
tmp_1 = contains(this.v1g_1, amount.e1f_1) ? this.w1g_1 : this.x1g_1;
|
|
3882
4031
|
} else if (equals(target, USCustomary_instance)) {
|
|
3883
4032
|
var tmp_2;
|
|
3884
4033
|
var tmp_3;
|
|
3885
|
-
if (amount.
|
|
3886
|
-
var tmp2_safe_receiver = amount.
|
|
3887
|
-
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
4034
|
+
if (amount.f1f_1 === true) {
|
|
4035
|
+
var tmp2_safe_receiver = amount.e1f_1;
|
|
4036
|
+
tmp_3 = equals(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.i1h_1, UnitType_WEIGHT_getInstance());
|
|
3888
4037
|
} else {
|
|
3889
4038
|
tmp_3 = false;
|
|
3890
4039
|
}
|
|
3891
4040
|
if (tmp_3) {
|
|
3892
|
-
tmp_2 = this.
|
|
4041
|
+
tmp_2 = this.b1h_1;
|
|
3893
4042
|
} else {
|
|
3894
|
-
tmp_2 = this.
|
|
4043
|
+
tmp_2 = this.a1h_1;
|
|
3895
4044
|
}
|
|
3896
4045
|
tmp_1 = tmp_2;
|
|
3897
4046
|
} else if (equals(target, Imperial_instance)) {
|
|
3898
|
-
tmp_1 = this.
|
|
4047
|
+
tmp_1 = this.c1h_1;
|
|
3899
4048
|
} else if (equals(target, Butter_instance)) {
|
|
3900
|
-
tmp_1 = this.
|
|
4049
|
+
tmp_1 = this.y1g_1;
|
|
3901
4050
|
} else {
|
|
3902
4051
|
noWhenBranchMatchedException();
|
|
3903
4052
|
}
|
|
@@ -3908,17 +4057,17 @@
|
|
|
3908
4057
|
tmp_5 = true;
|
|
3909
4058
|
} else {
|
|
3910
4059
|
var tmp_6;
|
|
3911
|
-
if (amount.
|
|
3912
|
-
var tmp4_safe_receiver = amount.
|
|
3913
|
-
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
4060
|
+
if (amount.f1f_1 === true && equals(target, USCustomary_instance) && !(density == null)) {
|
|
4061
|
+
var tmp4_safe_receiver = amount.e1f_1;
|
|
4062
|
+
tmp_6 = equals(tmp4_safe_receiver == null ? null : tmp4_safe_receiver.i1h_1, UnitType_WEIGHT_getInstance());
|
|
3914
4063
|
} else {
|
|
3915
4064
|
tmp_6 = false;
|
|
3916
4065
|
}
|
|
3917
4066
|
tmp_5 = tmp_6;
|
|
3918
4067
|
}
|
|
3919
4068
|
if (tmp_5) {
|
|
3920
|
-
var tmp_7 = smallestUnitAmount.
|
|
3921
|
-
var tmp3_safe_receiver = smallestUnitAmount.
|
|
4069
|
+
var tmp_7 = smallestUnitAmount.c1f_1 / density;
|
|
4070
|
+
var tmp3_safe_receiver = smallestUnitAmount.d1f_1;
|
|
3922
4071
|
var tmp_8;
|
|
3923
4072
|
if (tmp3_safe_receiver == null) {
|
|
3924
4073
|
tmp_8 = null;
|
|
@@ -3926,7 +4075,7 @@
|
|
|
3926
4075
|
// Inline function 'kotlin.let' call
|
|
3927
4076
|
tmp_8 = tmp3_safe_receiver / density;
|
|
3928
4077
|
}
|
|
3929
|
-
tmp_4 = new Amount(tmp_7, tmp_8, Units_getInstance().
|
|
4078
|
+
tmp_4 = new Amount(tmp_7, tmp_8, Units_getInstance().u1f_1);
|
|
3930
4079
|
} else {
|
|
3931
4080
|
tmp_4 = smallestUnitAmount;
|
|
3932
4081
|
}
|
|
@@ -3937,8 +4086,8 @@
|
|
|
3937
4086
|
var _iterator__ex2g4s = ladder.q();
|
|
3938
4087
|
while (_iterator__ex2g4s.r()) {
|
|
3939
4088
|
var element = _iterator__ex2g4s.s();
|
|
3940
|
-
var tmp0_safe_receiver_0 = amountToConvert.
|
|
3941
|
-
if (equals(element.fd_1.
|
|
4089
|
+
var tmp0_safe_receiver_0 = amountToConvert.e1f_1;
|
|
4090
|
+
if (equals(element.fd_1.i1h_1, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.i1h_1)) {
|
|
3942
4091
|
destination.u(element);
|
|
3943
4092
|
}
|
|
3944
4093
|
}
|
|
@@ -3948,7 +4097,7 @@
|
|
|
3948
4097
|
var iterator = destination.d2(destination.w());
|
|
3949
4098
|
while (iterator.x3()) {
|
|
3950
4099
|
var element_0 = iterator.z3();
|
|
3951
|
-
if (amountToConvert.
|
|
4100
|
+
if (amountToConvert.c1f_1 >= element_0.ed_1) {
|
|
3952
4101
|
tmp$ret$7 = element_0;
|
|
3953
4102
|
break $l$block;
|
|
3954
4103
|
}
|
|
@@ -3962,14 +4111,14 @@
|
|
|
3962
4111
|
tmp_9 = null;
|
|
3963
4112
|
} else {
|
|
3964
4113
|
// Inline function 'kotlin.let' call
|
|
3965
|
-
var tmp_10 = amountToConvert.
|
|
3966
|
-
var tmp0_safe_receiver_1 = amountToConvert.
|
|
4114
|
+
var tmp_10 = amountToConvert.c1f_1 / mostRelevantUnit.k1h_1;
|
|
4115
|
+
var tmp0_safe_receiver_1 = amountToConvert.d1f_1;
|
|
3967
4116
|
var tmp_11;
|
|
3968
4117
|
if (tmp0_safe_receiver_1 == null) {
|
|
3969
4118
|
tmp_11 = null;
|
|
3970
4119
|
} else {
|
|
3971
4120
|
// Inline function 'kotlin.let' call
|
|
3972
|
-
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.
|
|
4121
|
+
tmp_11 = tmp0_safe_receiver_1 / mostRelevantUnit.k1h_1;
|
|
3973
4122
|
}
|
|
3974
4123
|
tmp_9 = new Amount(tmp_10, tmp_11, mostRelevantUnit);
|
|
3975
4124
|
}
|
|
@@ -3992,11 +4141,11 @@
|
|
|
3992
4141
|
// Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
|
|
3993
4142
|
var this_0 = get_tolerantJson_0();
|
|
3994
4143
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
3995
|
-
var this_1 = this_0.
|
|
4144
|
+
var this_1 = this_0.km();
|
|
3996
4145
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
3997
4146
|
var this_2 = serializer(this_1, createKType(getKClass(RecipeV3), arrayOf([]), false));
|
|
3998
4147
|
var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
|
|
3999
|
-
var parsedRecipe = this_0.
|
|
4148
|
+
var parsedRecipe = this_0.e13(tmp$ret$1, recipe);
|
|
4000
4149
|
var tmp;
|
|
4001
4150
|
switch (unit) {
|
|
4002
4151
|
case 'Imperial':
|
|
@@ -4025,18 +4174,18 @@
|
|
|
4025
4174
|
// Inline function 'kotlinx.serialization.json.Json.encodeToString' call
|
|
4026
4175
|
var this_3 = Default_getInstance();
|
|
4027
4176
|
// Inline function 'kotlinx.serialization.serializer' call
|
|
4028
|
-
var this_4 = this_3.
|
|
4177
|
+
var this_4 = this_3.km();
|
|
4029
4178
|
// Inline function 'kotlinx.serialization.internal.cast' call
|
|
4030
4179
|
var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
|
|
4031
4180
|
var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
|
|
4032
|
-
return this_3.
|
|
4181
|
+
return this_3.d13(tmp$ret$4, scaledRecipe);
|
|
4033
4182
|
}
|
|
4034
4183
|
function parseTemplate_0(templateString) {
|
|
4035
4184
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
4036
4185
|
var parsedTemplate = parseTemplate(templateString);
|
|
4037
|
-
return parsedTemplate.
|
|
4186
|
+
return parsedTemplate.n1h_1;
|
|
4038
4187
|
}
|
|
4039
|
-
function renderTemplate(templateElements, session, unit) {
|
|
4188
|
+
function renderTemplate(templateElements, session, unit, originalUnits) {
|
|
4040
4189
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
4041
4190
|
var tmp;
|
|
4042
4191
|
switch (unit) {
|
|
@@ -4062,8 +4211,26 @@
|
|
|
4062
4211
|
throw IllegalArgumentException_init_$Create$('Unknown unit: ' + unit);
|
|
4063
4212
|
}
|
|
4064
4213
|
var measuringSystem = tmp;
|
|
4214
|
+
var tmp_0;
|
|
4215
|
+
switch (originalUnits) {
|
|
4216
|
+
case 'imperial':
|
|
4217
|
+
tmp_0 = Imperial_instance;
|
|
4218
|
+
break;
|
|
4219
|
+
case 'aus-cups':
|
|
4220
|
+
tmp_0 = Metric_instance;
|
|
4221
|
+
break;
|
|
4222
|
+
case 'metric':
|
|
4223
|
+
tmp_0 = Metric_instance;
|
|
4224
|
+
break;
|
|
4225
|
+
case 'us':
|
|
4226
|
+
tmp_0 = USCustomary_instance;
|
|
4227
|
+
break;
|
|
4228
|
+
default:
|
|
4229
|
+
throw IllegalArgumentException_init_$Create$('Unknown unit: ' + originalUnits);
|
|
4230
|
+
}
|
|
4231
|
+
var originalMeasuringSystem = tmp_0;
|
|
4065
4232
|
var template = new ParsedTemplate(templateElements);
|
|
4066
|
-
return session.
|
|
4233
|
+
return session.m1h(template, 1.0, measuringSystem, originalMeasuringSystem);
|
|
4067
4234
|
}
|
|
4068
4235
|
function createTemplateSession(rawDensityData) {
|
|
4069
4236
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
@@ -4074,7 +4241,7 @@
|
|
|
4074
4241
|
}
|
|
4075
4242
|
function tolerantJson$lambda_0($this$Json) {
|
|
4076
4243
|
_init_properties_ScaleRecipeJsContract_kt__evtan5();
|
|
4077
|
-
$this$Json.
|
|
4244
|
+
$this$Json.z13_1 = true;
|
|
4078
4245
|
return Unit_instance;
|
|
4079
4246
|
}
|
|
4080
4247
|
var properties_initialized_ScaleRecipeJsContract_kt_yki7mr;
|
|
@@ -4085,29 +4252,29 @@
|
|
|
4085
4252
|
}
|
|
4086
4253
|
}
|
|
4087
4254
|
//region block: post-declaration
|
|
4088
|
-
protoOf($serializer).
|
|
4089
|
-
protoOf($serializer_0).
|
|
4090
|
-
protoOf($serializer_1).
|
|
4091
|
-
protoOf($serializer_2).
|
|
4092
|
-
protoOf($serializer_3).
|
|
4093
|
-
protoOf($serializer_4).
|
|
4094
|
-
protoOf($serializer_5).
|
|
4095
|
-
protoOf($serializer_6).
|
|
4096
|
-
protoOf($serializer_7).
|
|
4097
|
-
protoOf($serializer_8).
|
|
4098
|
-
protoOf($serializer_9).
|
|
4099
|
-
protoOf($serializer_10).
|
|
4100
|
-
protoOf($serializer_11).
|
|
4255
|
+
protoOf($serializer).du = typeParametersSerializers;
|
|
4256
|
+
protoOf($serializer_0).du = typeParametersSerializers;
|
|
4257
|
+
protoOf($serializer_1).du = typeParametersSerializers;
|
|
4258
|
+
protoOf($serializer_2).du = typeParametersSerializers;
|
|
4259
|
+
protoOf($serializer_3).du = typeParametersSerializers;
|
|
4260
|
+
protoOf($serializer_4).du = typeParametersSerializers;
|
|
4261
|
+
protoOf($serializer_5).du = typeParametersSerializers;
|
|
4262
|
+
protoOf($serializer_6).du = typeParametersSerializers;
|
|
4263
|
+
protoOf($serializer_7).du = typeParametersSerializers;
|
|
4264
|
+
protoOf($serializer_8).du = typeParametersSerializers;
|
|
4265
|
+
protoOf($serializer_9).du = typeParametersSerializers;
|
|
4266
|
+
protoOf($serializer_10).du = typeParametersSerializers;
|
|
4267
|
+
protoOf($serializer_11).du = typeParametersSerializers;
|
|
4101
4268
|
//endregion
|
|
4102
4269
|
//region block: init
|
|
4103
4270
|
Companion_instance_1 = new Companion_0();
|
|
4104
4271
|
internalDensityData = '{"prepared_at":"2026-01-26T17:32:21.461198","key":["id","name","normalised_name","density"],"values":[[982,"Almonds (ground)","ground almond",0.83],[983,"Almonds (whole)","almond",0.71],[984,"Basil (whole, inc stalk)","basil",3.33],[985,"Basil (whole leaves)","basil",6.67],[986,"Basil (chopped)","chopped basil",2.5],[987,"Breadcrumbs (dried)","dried breadcrumb",1.18],[988,"Breadcrumbs (fresh)","fresh breadcrumb",1.67],[989,"Buckwheat flour","buckwheat flour",0.74],[990,"Bulgur wheat","bulgur wheat",0.5],[991,"Butter (cubed)","diced butter",0.67],[992,"Butter (softened or melted)","butter",0.96],[993,"Cashews (whole)","cashew",0.74],[994,"Cheese (cheddar, grated)","grated cheddar",1.0],[995,"Cheese (feta, broken into chunks)","diced feta",0.67],[996,"Cheese (mozzarella, grated)","grated mozzarella",0.8],[997,"Cheese (parmesan, grated)","grated parmesan",1.18],[998,"Cherry tomatoes (whole)","cherry tomato",0.67],[999,"Chickpea (gram) flour","gram flour",0.8],[1000,"Chives (chopped)","chopped chive",2.5],[1001,"Chives (whole)","chive",3.33],[1002,"Chocolate (broken into chunks)","diced chocolate",0.63],[1003,"Chocolate chips","chocolate chip",0.57],[1004,"Cocoa powder (Dutch-processed)","cocoa powder",1.05],[1005,"Coconut (desiccated)","desiccated coconut",1.33],[1006,"Coconut chips","coconut chip",2.0],[1007,"Coconut milk","coconut milk",0.44],[1008,"Coriander (chopped)","chopped coriander",2.5],[1009,"Coriander (whole, inc stalk)","coriander",3.33],[1010,"Coriander (whole leaves)","coriander",6.67],[1011,"Corn kernels (defrosted/canned)","sweetcorn kernel",0.57],[1012,"Cornmeal (fine)","fine cornmeal",0.67],[1013,"Cornstarch","cornflour",0.77],[1014,"Couscous","couscous",0.61],[1015,"Cream (clotted)","clotted cream",0.44],[1016,"Cream (double)","double cream",0.42],[1017,"Cream (single)","single cream",0.42],[1018,"Cream cheese","cream cheese",0.42],[1019,"Creme fraiche","sour cream",0.42],[1020,"Currants","currant",0.67],[1021,"Dill (chopped)","chopped dill",3.33],[1022,"Dill (whole leaves)","dill",6.67],[1023,"Dill (whole, inc stalk)","dill",5.0],[1024,"Flour (all-purpose/plain)","plain flour",0.8],[1025,"Flour (00 pizza)","00 flour",0.69],[1026,"Flour (rye)","rye flour",0.77],[1027,"Flour (spelt)","spelt flour",0.77],[1028,"Flour (strong white bread)","strong white bread flour",0.8],[1029,"Ghee (melted or softened)","ghee",0.45],[1030,"Ginger (fresh, sliced)","sliced ginger",0.91],[1031,"Hazelnuts","hazelnut",0.67],[1032,"Honey","honey",0.3],[1033,"Lemon juice","lemon juice",0.42],[1034,"Maple syrup","maple syrup",0.32],[1035,"Mascarpone","mascarpone",0.44],[1036,"Milk","milk",0.42],[1037,"Mint (whole, inc stalk)","mint",4.0],[1038,"Mint (chopped)","chopped mint",3.33],[1039,"Mint (whole leaves)","mint",6.67],[1040,"Mushrooms (chopped)","chopped mushroom",1.18],[1041,"Mushrooms (sliced)","sliced mushroom",1.33],[1042,"Mushrooms (whole)","mushroom",1.0],[1043,"Oil (sunflower and vegetable)","vegetable oil",0.47],[1044,"Olive oil","olive oil",0.47],[1045,"Olives (whole, pitted)","pitted olive",0.69],[1046,"Olives (whole)","olive",0.57],[1047,"Onions (sliced)","sliced onion",0.91],[1048,"Onions (chopped)","chopped onion",0.69],[1049,"Panko breadcrumbs","panko breadcrumb",1.18],[1050,"Parsley (whole, inc stalk)","parsley",3.33],[1051,"Parsley (chopped)","chopped parsley",2.5],[1052,"Parsley (whole leaves)","parsley",6.67],[1053,"Peanut butter","peanut butter",0.4],[1054,"Peanuts (shelled)","peanut",0.67],[1055,"Pine nuts","pine nut",0.67],[1056,"Pistachios (shelled)","pistachio",0.71],[1057,"Polenta","polenta",0.57],[1058,"Quinoa","quinoa",0.57],[1059,"Raisins","raisin",0.69],[1060,"Raspberries","raspberry",0.71],[1061,"Rhubarb (chopped into chunks)","chopped rhubarb",0.71],[1062,"Rice (long-grain, uncooked)","long grain rice",0.51],[1063,"Rice (bomba paella, uncooked)","bomba rice",0.5],[1064,"Rice (short-grain, uncooked)","short grain rice",0.5],[1065,"Rolled oats","rolled oat",1.05],[1066,"Sage (whole, inc stalk)","sage",3.33],[1067,"Sage (whole leaves)","sage",5.0],[1068,"Sage (chopped)","chopped sage",4.0],[1069,"Salt (flaky sea salt)","salt",0.71],[1070,"Salt (fine sea salt)","salt",0.36],[1071,"Scallions (spring onions, sliced/chopped)","sliced spring onion",1.11],[1072,"Sesame seeds","sesame seed",0.67],[1073,"Soured cream","sour cream",0.42],[1074,"Strawberries (whole, hulled)","strawberry",0.71],[1075,"Sugar (brown)","brown sugar",0.57],[1076,"Sugar (confectioner\'s/icing)","icing sugar",0.74],[1077,"Sugar (demerara)","demerara sugar",0.5],[1078,"Sugar (granulated)","granulated sugar",0.48],[1079,"Sugar (superfine/caster)","caster sugar",0.54],[1080,"Sultanas","sultana",0.59],[1081,"Sunflower seeds","sunflower seed",0.67],[1082,"Tahini","tahini",0.42],[1083,"Tapioca","tapioca",0.57],[1084,"Thyme (chopped)","chopped thyme",2.5],[1085,"Thyme (whole leaves)","thyme",3.33],[1086,"Thyme (whole, inc stalk)","thyme",6.67],[1087,"Tomato paste","tomato paste",0.38],[1088,"Vanilla extract","vanilla extract",0.42],[1089,"Walnuts (pieces)","walnut piece",1.0],[1090,"Yeast (active, dried)","dried yeast",0.57],[1091,"Yoghurt","yoghurt",0.42]]}';
|
|
4105
4272
|
Companion_instance_4 = new Companion_3();
|
|
4106
4273
|
Companion_instance_5 = new Companion_4();
|
|
4107
|
-
Companion_instance_7 = new Companion_6();
|
|
4108
4274
|
Companion_instance_8 = new Companion_7();
|
|
4109
4275
|
Companion_instance_9 = new Companion_8();
|
|
4110
4276
|
Companion_instance_10 = new Companion_9();
|
|
4277
|
+
Companion_instance_11 = new Companion_10();
|
|
4111
4278
|
Imperial_instance = new Imperial();
|
|
4112
4279
|
Metric_instance = new Metric();
|
|
4113
4280
|
USCustomary_instance = new USCustomary();
|