@guardian/feast-multiplatform-library 5.0.1 → 7.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.
@@ -2,67 +2,76 @@
2
2
  'use strict';
3
3
  //region block: imports
4
4
  var imul = Math.imul;
5
- var protoOf = kotlin_kotlin.$_$.n7;
6
- var initMetadataForObject = kotlin_kotlin.$_$.w6;
7
- var numberToInt = kotlin_kotlin.$_$.l7;
8
- var Unit_instance = kotlin_kotlin.$_$.j3;
9
- var round = kotlin_kotlin.$_$.q7;
10
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ia;
11
- var listOfNotNull = kotlin_kotlin.$_$.x4;
12
- var joinToString = kotlin_kotlin.$_$.s4;
13
- var Pair = kotlin_kotlin.$_$.m9;
14
- var collectionSizeOrDefault = kotlin_kotlin.$_$.z3;
15
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
16
5
  var VOID = kotlin_kotlin.$_$.b;
6
+ var protoOf = kotlin_kotlin.$_$.s7;
7
+ var toString = kotlin_kotlin.$_$.ra;
8
+ var getNumberHashCode = kotlin_kotlin.$_$.s6;
9
+ var getBooleanHashCode = kotlin_kotlin.$_$.r6;
10
+ var equals = kotlin_kotlin.$_$.q6;
11
+ var initMetadataForClass = kotlin_kotlin.$_$.w6;
12
+ var Regex_init_$Create$ = kotlin_kotlin.$_$.r;
13
+ var numberToInt = kotlin_kotlin.$_$.q7;
14
+ var Unit_instance = kotlin_kotlin.$_$.k3;
15
+ var round = kotlin_kotlin.$_$.v7;
16
+ var replace = kotlin_kotlin.$_$.q8;
17
+ var initMetadataForObject = kotlin_kotlin.$_$.b7;
18
+ var listOfNotNull = kotlin_kotlin.$_$.y4;
19
+ var joinToString = kotlin_kotlin.$_$.t4;
20
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.pa;
21
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.a4;
22
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.d;
23
+ var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.b1;
24
+ var charArrayOf = kotlin_kotlin.$_$.j6;
25
+ var indexOfAny = kotlin_kotlin.$_$.k8;
26
+ var substring = kotlin_kotlin.$_$.w8;
27
+ var substring_0 = kotlin_kotlin.$_$.v8;
17
28
  var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o;
18
29
  var ArrayListSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
19
30
  var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r;
20
31
  var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.c;
21
- var lazy = kotlin_kotlin.$_$.ga;
22
- var initMetadataForCompanion = kotlin_kotlin.$_$.s6;
32
+ var lazy = kotlin_kotlin.$_$.na;
33
+ var initMetadataForCompanion = kotlin_kotlin.$_$.x6;
23
34
  var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.u1;
24
35
  var BooleanSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
25
- var THROW_CCE = kotlin_kotlin.$_$.o9;
36
+ var THROW_CCE = kotlin_kotlin.$_$.v9;
26
37
  var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b;
27
38
  var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.q1;
28
39
  var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.r1;
29
40
  var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
30
- var objectCreate = kotlin_kotlin.$_$.m7;
31
- var toString = kotlin_kotlin.$_$.ka;
32
- var getStringHashCode = kotlin_kotlin.$_$.p6;
33
- var hashCode = kotlin_kotlin.$_$.q6;
34
- var getBooleanHashCode = kotlin_kotlin.$_$.m6;
35
- var equals = kotlin_kotlin.$_$.l6;
36
- var initMetadataForClass = kotlin_kotlin.$_$.r6;
41
+ var objectCreate = kotlin_kotlin.$_$.r7;
42
+ var getStringHashCode = kotlin_kotlin.$_$.u6;
43
+ var hashCode = kotlin_kotlin.$_$.v6;
37
44
  var DoubleSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.l;
38
- var getNumberHashCode = kotlin_kotlin.$_$.n6;
39
- var Regex_init_$Create$ = kotlin_kotlin.$_$.q;
45
+ var toString_0 = kotlin_kotlin.$_$.u7;
40
46
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.e;
41
- var substring = kotlin_kotlin.$_$.p8;
42
- var charSequenceLength = kotlin_kotlin.$_$.i6;
47
+ var charSequenceLength = kotlin_kotlin.$_$.n6;
43
48
  var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
44
49
  var get_jsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
45
- var getKClass = kotlin_kotlin.$_$.z7;
46
- var arrayOf = kotlin_kotlin.$_$.z9;
47
- var createKType = kotlin_kotlin.$_$.x7;
50
+ var getKClass = kotlin_kotlin.$_$.e8;
51
+ var arrayOf = kotlin_kotlin.$_$.ga;
52
+ var createKType = kotlin_kotlin.$_$.c8;
48
53
  var serializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.j2;
49
54
  var KSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
50
- var isInterface = kotlin_kotlin.$_$.e7;
51
- var print = kotlin_kotlin.$_$.m5;
52
- var Exception = kotlin_kotlin.$_$.j9;
53
- var substring_0 = kotlin_kotlin.$_$.o8;
54
- var isBlank = kotlin_kotlin.$_$.h8;
55
+ var isInterface = kotlin_kotlin.$_$.j7;
56
+ var print = kotlin_kotlin.$_$.q5;
57
+ var Exception = kotlin_kotlin.$_$.q9;
58
+ var isBlank = kotlin_kotlin.$_$.n8;
55
59
  var Json = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
56
- var initMetadataForInterface = kotlin_kotlin.$_$.u6;
60
+ var initMetadataForInterface = kotlin_kotlin.$_$.z6;
57
61
  var FloatSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
58
62
  var IntSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.n;
59
- var defineProp = kotlin_kotlin.$_$.k6;
60
- var toString_0 = kotlin_kotlin.$_$.p7;
61
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
63
+ var defineProp = kotlin_kotlin.$_$.p6;
64
+ var Enum = kotlin_kotlin.$_$.p9;
65
+ var listOf = kotlin_kotlin.$_$.z4;
66
+ var mapCapacity = kotlin_kotlin.$_$.a5;
67
+ var coerceAtLeast = kotlin_kotlin.$_$.x7;
68
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.m;
69
+ var plus = kotlin_kotlin.$_$.c5;
70
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w;
62
71
  //endregion
63
72
  //region block: pre-declaration
64
- initMetadataForObject(Imperial, 'Imperial');
65
- initMetadataForObject(Metric, 'Metric');
73
+ initMetadataForClass(Amount, 'Amount');
74
+ initMetadataForObject(FormatUtils, 'FormatUtils');
66
75
  initMetadataForCompanion(Companion);
67
76
  initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
68
77
  initMetadataForClass(RecipeV3, 'RecipeV3', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
@@ -87,6 +96,7 @@
87
96
  initMetadataForCompanion(Companion_4);
88
97
  initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
89
98
  initMetadataForClass(Timing, 'Timing', Timing, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
99
+ initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
90
100
  initMetadataForInterface(TemplateElement, 'TemplateElement');
91
101
  initMetadataForClass(TemplateConst, 'TemplateConst', VOID, VOID, [TemplateElement]);
92
102
  initMetadataForCompanion(Companion_5);
@@ -95,158 +105,218 @@
95
105
  initMetadataForCompanion(Companion_6);
96
106
  initMetadataForObject($serializer_9, '$serializer', VOID, VOID, [GeneratedSerializer]);
97
107
  initMetadataForClass(OvenTemperaturePlaceholder, 'OvenTemperaturePlaceholder', OvenTemperaturePlaceholder, VOID, [TemplateElement], VOID, VOID, {0: $serializer_getInstance_9});
98
- initMetadataForClass(ParsedTemplate, 'ParsedTemplate');
108
+ initMetadataForObject(Imperial, 'Imperial');
109
+ initMetadataForObject(Metric, 'Metric');
110
+ initMetadataForClass(UnitType, 'UnitType', VOID, Enum);
111
+ initMetadataForClass(Unit, 'Unit');
112
+ initMetadataForObject(Units, 'Units');
113
+ initMetadataForObject(UnitConversion, 'UnitConversion');
99
114
  //endregion
100
- function Imperial() {
101
- }
102
- var Imperial_instance;
103
- function Imperial_getInstance() {
104
- return Imperial_instance;
105
- }
106
- function Metric() {
115
+ function Amount(min, max, unit, usCust) {
116
+ max = max === VOID ? null : max;
117
+ unit = unit === VOID ? null : unit;
118
+ usCust = usCust === VOID ? null : usCust;
119
+ this.m1d_1 = min;
120
+ this.n1d_1 = max;
121
+ this.o1d_1 = unit;
122
+ this.p1d_1 = usCust;
123
+ }
124
+ protoOf(Amount).q1d = function (min, max, unit, usCust) {
125
+ return new Amount(min, max, unit, usCust);
126
+ };
127
+ protoOf(Amount).r1d = function (min, max, unit, usCust, $super) {
128
+ min = min === VOID ? this.m1d_1 : min;
129
+ max = max === VOID ? this.n1d_1 : max;
130
+ unit = unit === VOID ? this.o1d_1 : unit;
131
+ usCust = usCust === VOID ? this.p1d_1 : usCust;
132
+ return $super === VOID ? this.q1d(min, max, unit, usCust) : $super.q1d.call(this, min, max, unit, usCust);
133
+ };
134
+ protoOf(Amount).toString = function () {
135
+ return 'Amount(min=' + this.m1d_1 + ', max=' + this.n1d_1 + ', unit=' + toString(this.o1d_1) + ', usCust=' + this.p1d_1 + ')';
136
+ };
137
+ protoOf(Amount).hashCode = function () {
138
+ var result = getNumberHashCode(this.m1d_1);
139
+ result = imul(result, 31) + (this.n1d_1 == null ? 0 : getNumberHashCode(this.n1d_1)) | 0;
140
+ result = imul(result, 31) + (this.o1d_1 == null ? 0 : this.o1d_1.hashCode()) | 0;
141
+ result = imul(result, 31) + (this.p1d_1 == null ? 0 : getBooleanHashCode(this.p1d_1)) | 0;
142
+ return result;
143
+ };
144
+ protoOf(Amount).equals = function (other) {
145
+ if (this === other)
146
+ return true;
147
+ if (!(other instanceof Amount))
148
+ return false;
149
+ if (!equals(this.m1d_1, other.m1d_1))
150
+ return false;
151
+ if (!equals(this.n1d_1, other.n1d_1))
152
+ return false;
153
+ if (!equals(this.o1d_1, other.o1d_1))
154
+ return false;
155
+ if (!(this.p1d_1 == other.p1d_1))
156
+ return false;
157
+ return true;
158
+ };
159
+ function FormatUtils$applySmartPunctuation$lambda(matchResult) {
160
+ return '\u201C' + matchResult.ub().l(2) + '\u201D';
107
161
  }
108
- var Metric_instance;
109
- function Metric_getInstance() {
110
- return Metric_instance;
162
+ function FormatUtils() {
163
+ FormatUtils_instance = this;
164
+ this.s1d_1 = Regex_init_$Create$('(["])(.*?)(["])');
111
165
  }
112
- function formatFraction(number) {
166
+ protoOf(FormatUtils).t1d = function (number) {
167
+ if (number === 0.0)
168
+ return '0';
113
169
  var integerPart = numberToInt(number);
170
+ var integerPartStr = integerPart > 0 ? integerPart.toString() : '';
114
171
  var fractionalPart = number - integerPart;
115
- var fractionString = (0.12 <= fractionalPart ? fractionalPart <= 0.13 : false) ? '\u215B' : (0.33 <= fractionalPart ? fractionalPart <= 0.34 : false) ? '\u2153' : (0.66 <= fractionalPart ? fractionalPart <= 0.67 : false) ? '\u2154' : fractionalPart === 0.25 ? '\xBC' : fractionalPart === 0.5 ? '\xBD' : fractionalPart === 0.75 ? '\xBE' : null;
172
+ return (0.0 <= fractionalPart ? fractionalPart <= 0.0625 : false) ? integerPartStr : (0.0625 <= fractionalPart ? fractionalPart <= 0.1875 : false) ? integerPartStr + '\u215B' : (0.1875 <= fractionalPart ? fractionalPart <= 0.291667 : false) ? integerPartStr + '\xBC' : (0.291667 <= fractionalPart ? fractionalPart <= 0.354167 : false) ? integerPartStr + '\u2153' : (0.354167 <= fractionalPart ? fractionalPart <= 0.4375 : false) ? integerPartStr + '\u215C' : (0.4375 <= fractionalPart ? fractionalPart <= 0.5625 : false) ? integerPartStr + '\xBD' : (0.5625 <= fractionalPart ? fractionalPart <= 0.645833 : false) ? integerPartStr + '\u215D' : (0.645833 <= fractionalPart ? fractionalPart <= 0.708333 : false) ? integerPartStr + '\u2154' : (0.708333 <= fractionalPart ? fractionalPart <= 0.8125 : false) ? integerPartStr + '\xBE' : (0.8125 <= fractionalPart ? fractionalPart <= 0.9375 : false) ? integerPartStr + '\u215E' : '' + (integerPart + 1 | 0);
173
+ };
174
+ protoOf(FormatUtils).u1d = function (number, decimals, fraction) {
175
+ if (fraction) {
176
+ return this.t1d(number);
177
+ } else {
178
+ var multiplier = 1.0;
179
+ // Inline function 'kotlin.repeat' call
180
+ var inductionVariable = 0;
181
+ if (inductionVariable < decimals)
182
+ do {
183
+ var index = inductionVariable;
184
+ inductionVariable = inductionVariable + 1 | 0;
185
+ multiplier = multiplier * 10;
186
+ }
187
+ while (inductionVariable < decimals);
188
+ var roundedNumber = round(number * multiplier) / multiplier;
189
+ var tmp;
190
+ if (roundedNumber % 1.0 === 0.0) {
191
+ tmp = numberToInt(roundedNumber).toString();
192
+ } else {
193
+ tmp = roundedNumber.toString();
194
+ }
195
+ return tmp;
196
+ }
197
+ };
198
+ protoOf(FormatUtils).v1d = function (text) {
199
+ var withQuotes = this.s1d_1.za(text, FormatUtils$applySmartPunctuation$lambda);
200
+ return replace(replace(withQuotes, "'", '\u2019'), ' - ', ' \u2013 ');
201
+ };
202
+ var FormatUtils_instance;
203
+ function FormatUtils_getInstance() {
204
+ if (FormatUtils_instance == null)
205
+ new FormatUtils();
206
+ return FormatUtils_instance;
207
+ }
208
+ function renderOvenTemperature(element) {
116
209
  var tmp;
117
- if (!(fractionString == null)) {
210
+ if (element.temperatureFanC == null) {
211
+ tmp = null;
212
+ } else {
213
+ // Inline function 'kotlin.let' call
118
214
  var tmp_0;
119
- if (integerPart > 0) {
120
- tmp_0 = '' + integerPart + fractionString;
215
+ if (element.temperatureC == null) {
216
+ tmp_0 = '' + element.temperatureFanC + 'C fan';
121
217
  } else {
122
- tmp_0 = fractionString;
218
+ tmp_0 = ' (' + element.temperatureFanC + 'C fan)';
123
219
  }
124
220
  tmp = tmp_0;
221
+ }
222
+ var fanTempC = tmp;
223
+ var tmp_1;
224
+ if (element.temperatureC == null) {
225
+ tmp_1 = null;
226
+ } else {
227
+ // Inline function 'kotlin.let' call
228
+ tmp_1 = '' + element.temperatureC + 'C';
229
+ }
230
+ var tmp_2 = tmp_1;
231
+ var tmp2_safe_receiver = element.temperatureF;
232
+ var tmp_3;
233
+ if (tmp2_safe_receiver == null) {
234
+ tmp_3 = null;
235
+ } else {
236
+ // Inline function 'kotlin.let' call
237
+ tmp_3 = '/' + tmp2_safe_receiver + 'F';
238
+ }
239
+ var tmp_4 = tmp_3;
240
+ var tmp3_safe_receiver = element.gasMark;
241
+ var tmp_5;
242
+ if (tmp3_safe_receiver == null) {
243
+ tmp_5 = null;
125
244
  } else {
126
- tmp = number.toString();
245
+ // Inline function 'kotlin.let' call
246
+ tmp_5 = '/gas mark ' + FormatUtils_getInstance().t1d(tmp3_safe_receiver);
127
247
  }
128
- return tmp;
248
+ return joinToString(listOfNotNull([tmp_2, fanTempC, tmp_4, tmp_5]), '');
129
249
  }
130
- function formatAmount(number, decimals, fraction) {
131
- var multiplier = 1.0;
132
- // Inline function 'kotlin.repeat' call
133
- var inductionVariable = 0;
134
- if (inductionVariable < decimals)
135
- do {
136
- var index = inductionVariable;
137
- inductionVariable = inductionVariable + 1 | 0;
138
- multiplier = multiplier * 10;
139
- }
140
- while (inductionVariable < decimals);
141
- var roundedNumber = round(number * multiplier) / multiplier;
142
- if (roundedNumber % 1.0 === 0.0) {
143
- return numberToInt(roundedNumber).toString();
250
+ function scaleAmount(amount, factor, shouldScale) {
251
+ if (!shouldScale) {
252
+ return amount;
144
253
  }
145
- if (fraction) {
146
- return formatFraction(roundedNumber);
254
+ var tmp = amount.m1d_1 * factor;
255
+ var tmp0_safe_receiver = amount.n1d_1;
256
+ var tmp_0;
257
+ if (tmp0_safe_receiver == null) {
258
+ tmp_0 = null;
259
+ } else {
260
+ // Inline function 'kotlin.let' call
261
+ tmp_0 = tmp0_safe_receiver * factor;
147
262
  }
148
- return roundedNumber.toString();
263
+ return amount.r1d(tmp, tmp_0);
149
264
  }
150
- function renderTemplateElement(element, factor) {
265
+ function renderQuantity(element, factor, measuringSystem) {
266
+ var tmp = !(element.min === element.max) ? element.max : null;
267
+ var tmp0_safe_receiver = element.unit;
268
+ var tmp_0;
269
+ if (tmp0_safe_receiver == null) {
270
+ tmp_0 = null;
271
+ } else {
272
+ // Inline function 'kotlin.let' call
273
+ tmp_0 = Units_getInstance().m1e(tmp0_safe_receiver);
274
+ }
275
+ var amount = new Amount(element.min, tmp, tmp_0, element.usCust);
276
+ amount = scaleAmount(amount, factor, element.scale);
277
+ amount = UnitConversion_instance.q1e(amount, measuringSystem);
278
+ var tmp1_subject = amount.o1d_1;
279
+ var decimals = equals(tmp1_subject, Units_getInstance().w1d_1) || (equals(tmp1_subject, Units_getInstance().a1e_1) || equals(tmp1_subject, Units_getInstance().g1e_1)) ? 0 : equals(tmp1_subject, Units_getInstance().h1e_1) || equals(tmp1_subject, Units_getInstance().i1e_1) ? 1 : 2;
280
+ var tmp2_subject = amount.o1d_1;
281
+ var fraction = equals(tmp2_subject, Units_getInstance().e1e_1) || (equals(tmp2_subject, Units_getInstance().f1e_1) || equals(tmp2_subject, Units_getInstance().d1e_1)) ? true : tmp2_subject == null ? true : false;
282
+ var tmp_1;
283
+ if (!(amount.o1d_1 == null)) {
284
+ var tmp_2;
285
+ var tmp0 = amount.m1d_1;
286
+ var tmp3_elvis_lhs = amount.n1d_1;
287
+ // Inline function 'kotlin.math.max' call
288
+ var b = tmp3_elvis_lhs == null ? amount.m1d_1 : tmp3_elvis_lhs;
289
+ if (Math.max(tmp0, b) > 1) {
290
+ tmp_2 = ' ' + amount.o1d_1.u1e_1;
291
+ } else {
292
+ tmp_2 = ' ' + amount.o1d_1.t1e_1;
293
+ }
294
+ tmp_1 = tmp_2;
295
+ } else {
296
+ tmp_1 = '';
297
+ }
298
+ var unitString = tmp_1;
299
+ var tmp_3 = FormatUtils_getInstance().u1d(amount.m1d_1, decimals, fraction);
300
+ var tmp4_safe_receiver = amount.n1d_1;
301
+ var tmp_4;
302
+ if (tmp4_safe_receiver == null) {
303
+ tmp_4 = null;
304
+ } else {
305
+ // Inline function 'kotlin.let' call
306
+ tmp_4 = '-' + FormatUtils_getInstance().u1d(tmp4_safe_receiver, decimals, fraction);
307
+ }
308
+ return joinToString(listOfNotNull([tmp_3, tmp_4, unitString]), '');
309
+ }
310
+ function renderTemplateElement(element, factor, measuringSystem) {
151
311
  var tmp;
152
312
  if (element instanceof TemplateConst) {
153
313
  tmp = element.value;
154
314
  } else {
155
315
  if (element instanceof QuantityPlaceholder) {
156
- var max = !(element.min === element.max) ? element.max : null;
157
- var tmp_0;
158
- if (element.scale) {
159
- var scaledMin = element.min * factor;
160
- var tmp_1;
161
- if (max == null) {
162
- tmp_1 = null;
163
- } else {
164
- // Inline function 'kotlin.let' call
165
- tmp_1 = max * factor;
166
- }
167
- var scaledMax = tmp_1;
168
- tmp_0 = new Pair(scaledMin, scaledMax);
169
- } else {
170
- tmp_0 = new Pair(element.min, max);
171
- }
172
- var _destruct__k2r9zo = tmp_0;
173
- var scaledMin_0 = _destruct__k2r9zo.cd();
174
- var scaledMax_0 = _destruct__k2r9zo.dd();
175
- var unit = !(element.unit == null) ? ' ' + element.unit : '';
176
- var decimals;
177
- switch (unit) {
178
- case 'g':
179
- case 'ml':
180
- decimals = 0;
181
- break;
182
- default:
183
- decimals = 2;
184
- break;
185
- }
186
- var fraction;
187
- switch (element.unit) {
188
- case 'tsp':
189
- case 'tbsp':
190
- case 'cup':
191
- case 'cups':
192
- fraction = true;
193
- break;
194
- case null:
195
- fraction = true;
196
- break;
197
- default:
198
- fraction = false;
199
- break;
200
- }
201
- var tmp_2;
202
- if (!(scaledMax_0 == null)) {
203
- tmp_2 = formatAmount(scaledMin_0, decimals, fraction) + '-' + formatAmount(scaledMax_0, decimals, fraction) + unit;
204
- } else {
205
- tmp_2 = formatAmount(scaledMin_0, decimals, fraction) + unit;
206
- }
207
- tmp = tmp_2;
316
+ tmp = renderQuantity(element, factor, measuringSystem);
208
317
  } else {
209
318
  if (element instanceof OvenTemperaturePlaceholder) {
210
- var tmp_3;
211
- if (element.temperatureFanC == null) {
212
- tmp_3 = null;
213
- } else {
214
- // Inline function 'kotlin.let' call
215
- var tmp_4;
216
- if (element.temperatureC == null) {
217
- tmp_4 = '' + element.temperatureFanC + 'C fan';
218
- } else {
219
- tmp_4 = ' (' + element.temperatureFanC + 'C fan)';
220
- }
221
- tmp_3 = tmp_4;
222
- }
223
- var fanTempC = tmp_3;
224
- var tmp_5;
225
- if (element.temperatureC == null) {
226
- tmp_5 = null;
227
- } else {
228
- // Inline function 'kotlin.let' call
229
- tmp_5 = '' + element.temperatureC + 'C';
230
- }
231
- var tmp_6 = tmp_5;
232
- var tmp6_safe_receiver = element.temperatureF;
233
- var tmp_7;
234
- if (tmp6_safe_receiver == null) {
235
- tmp_7 = null;
236
- } else {
237
- // Inline function 'kotlin.let' call
238
- tmp_7 = '/' + tmp6_safe_receiver + 'F';
239
- }
240
- var tmp_8 = tmp_7;
241
- var tmp7_safe_receiver = element.gasMark;
242
- var tmp_9;
243
- if (tmp7_safe_receiver == null) {
244
- tmp_9 = null;
245
- } else {
246
- // Inline function 'kotlin.let' call
247
- tmp_9 = '/gas mark ' + formatFraction(tmp7_safe_receiver);
248
- }
249
- tmp = joinToString(listOfNotNull([tmp_6, fanTempC, tmp_8, tmp_9]), '');
319
+ tmp = renderOvenTemperature(element);
250
320
  } else {
251
321
  noWhenBranchMatchedException();
252
322
  }
@@ -254,22 +324,34 @@
254
324
  }
255
325
  return tmp;
256
326
  }
257
- function renderTemplate(template, factor) {
327
+ function renderTemplate(template, factor, measuringSystem) {
258
328
  // Inline function 'kotlin.collections.map' call
259
- var this_0 = template.g1d_1;
329
+ var this_0 = template.x1e_1;
260
330
  // Inline function 'kotlin.collections.mapTo' call
261
331
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
262
332
  var _iterator__ex2g4s = this_0.h();
263
333
  while (_iterator__ex2g4s.i()) {
264
334
  var item = _iterator__ex2g4s.j();
265
- var tmp$ret$0 = renderTemplateElement(item, factor);
335
+ var tmp$ret$0 = renderTemplateElement(item, factor, measuringSystem);
266
336
  destination.f(tmp$ret$0);
267
337
  }
268
- var scaledParts = destination;
269
- return joinToString(scaledParts, '');
338
+ var renderedParts = destination;
339
+ return FormatUtils_getInstance().v1d(joinToString(renderedParts, ''));
340
+ }
341
+ function wrapWithStrongTag(value) {
342
+ // Inline function 'kotlin.charArrayOf' call
343
+ var separators = charArrayOf([_Char___init__impl__6a9atx(44), _Char___init__impl__6a9atx(59), _Char___init__impl__6a9atx(40)]);
344
+ var index = indexOfAny(value, separators);
345
+ if (!(index === -1)) {
346
+ var before = substring(value, 0, index);
347
+ var after = substring_0(value, index);
348
+ return '<strong>' + before + '<\/strong>' + after;
349
+ } else {
350
+ return '<strong>' + value + '<\/strong>';
351
+ }
270
352
  }
271
- function scaleAndConvertUnitRecipe(recipe, factor, unit) {
272
- var tmp0_safe_receiver = recipe.t1d_1;
353
+ function scaleAndConvertUnitRecipe(recipe, factor, measuringSystem) {
354
+ var tmp0_safe_receiver = recipe.k1f_1;
273
355
  var tmp;
274
356
  if (tmp0_safe_receiver == null) {
275
357
  tmp = null;
@@ -280,7 +362,7 @@
280
362
  var _iterator__ex2g4s = tmp0_safe_receiver.h();
281
363
  while (_iterator__ex2g4s.i()) {
282
364
  var item = _iterator__ex2g4s.j();
283
- var tmp0_safe_receiver_0 = item.e1e_1;
365
+ var tmp0_safe_receiver_0 = item.v1f_1;
284
366
  var tmp_0;
285
367
  if (tmp0_safe_receiver_0 == null) {
286
368
  tmp_0 = null;
@@ -291,28 +373,28 @@
291
373
  var _iterator__ex2g4s_0 = tmp0_safe_receiver_0.h();
292
374
  while (_iterator__ex2g4s_0.i()) {
293
375
  var item_0 = _iterator__ex2g4s_0.j();
294
- var tmp0_safe_receiver_1 = item_0.m1e_1;
376
+ var tmp0_safe_receiver_1 = item_0.d1g_1;
295
377
  var tmp_1;
296
378
  if (tmp0_safe_receiver_1 == null) {
297
379
  tmp_1 = null;
298
380
  } else {
299
381
  // Inline function 'kotlin.let' call
300
- tmp_1 = renderTemplate(parseTemplate(tmp0_safe_receiver_1), factor);
382
+ tmp_1 = wrapWithStrongTag(renderTemplate(parseTemplate(tmp0_safe_receiver_1), factor, measuringSystem));
301
383
  }
302
384
  var tmp1_elvis_lhs = tmp_1;
303
- var scaledText = tmp1_elvis_lhs == null ? item_0.n1e_1 : tmp1_elvis_lhs;
304
- var tmp$ret$2 = item_0.p1e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
385
+ var scaledText = tmp1_elvis_lhs == null ? item_0.e1g_1 : tmp1_elvis_lhs;
386
+ var tmp$ret$2 = item_0.g1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledText);
305
387
  destination_0.f(tmp$ret$2);
306
388
  }
307
389
  tmp_0 = destination_0;
308
390
  }
309
- var tmp$ret$5 = new IngredientsList(tmp_0, item.f1e_1);
391
+ var tmp$ret$5 = new IngredientsList(tmp_0, item.w1f_1);
310
392
  destination.f(tmp$ret$5);
311
393
  }
312
394
  tmp = destination;
313
395
  }
314
396
  var scaledIngredients = tmp;
315
- var tmp1_safe_receiver = recipe.u1d_1;
397
+ var tmp1_safe_receiver = recipe.l1f_1;
316
398
  var tmp_2;
317
399
  if (tmp1_safe_receiver == null) {
318
400
  tmp_2 = null;
@@ -323,22 +405,22 @@
323
405
  var _iterator__ex2g4s_1 = tmp1_safe_receiver.h();
324
406
  while (_iterator__ex2g4s_1.i()) {
325
407
  var item_1 = _iterator__ex2g4s_1.j();
326
- var tmp0_safe_receiver_2 = item_1.r1e_1;
408
+ var tmp0_safe_receiver_2 = item_1.i1g_1;
327
409
  var tmp_3;
328
410
  if (tmp0_safe_receiver_2 == null) {
329
411
  tmp_3 = null;
330
412
  } else {
331
413
  // Inline function 'kotlin.let' call
332
- tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor);
414
+ tmp_3 = renderTemplate(parseTemplate(tmp0_safe_receiver_2), factor, measuringSystem);
333
415
  }
334
416
  var description = tmp_3;
335
- var tmp$ret$10 = item_1.u1e(description == null ? item_1.q1e_1 : description);
417
+ var tmp$ret$10 = item_1.l1g(description == null ? item_1.h1g_1 : description);
336
418
  destination_1.f(tmp$ret$10);
337
419
  }
338
420
  tmp_2 = destination_1;
339
421
  }
340
422
  var scaledInstructions = tmp_2;
341
- return recipe.v1e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
423
+ return recipe.m1g(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, scaledIngredients, scaledInstructions);
342
424
  }
343
425
  function RecipeV3$Companion$$childSerializers$_anonymous__7om4qn() {
344
426
  return new ArrayListSerializer(StringSerializer_getInstance());
@@ -410,7 +492,7 @@
410
492
  // Inline function 'kotlin.arrayOf' call
411
493
  // Inline function 'kotlin.js.unsafeCast' call
412
494
  // Inline function 'kotlin.js.asDynamic' call
413
- tmp.w1e_1 = [null, tmp_1, null, tmp_3, tmp_5, null, tmp_7, tmp_9, null, null, null, null, tmp_11, tmp_13, null, tmp_15, tmp_17, tmp_19, tmp_21, tmp_23, null, lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11), null];
495
+ tmp.n1g_1 = [null, tmp_1, null, tmp_3, tmp_5, null, tmp_7, tmp_9, null, null, null, null, tmp_11, tmp_13, null, tmp_15, tmp_17, tmp_19, tmp_21, tmp_23, null, lazy(tmp_24, RecipeV3$Companion$$childSerializers$_anonymous__7om4qn_11), null];
414
496
  }
415
497
  var Companion_instance;
416
498
  function Companion_getInstance() {
@@ -421,109 +503,109 @@
421
503
  function $serializer() {
422
504
  $serializer_instance = this;
423
505
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.RecipeV3', this, 23);
424
- tmp0_serialDesc.ws('bookCredit', true);
425
- tmp0_serialDesc.ws('byline', true);
426
- tmp0_serialDesc.ws('canonicalArticle', true);
427
- tmp0_serialDesc.ws('celebrationIds', true);
428
- tmp0_serialDesc.ws('commerceCtas', true);
429
- tmp0_serialDesc.ws('composerId', true);
430
- tmp0_serialDesc.ws('contributors', true);
431
- tmp0_serialDesc.ws('cuisineIds', true);
432
- tmp0_serialDesc.ws('description', true);
433
- tmp0_serialDesc.ws('difficultyLevel', true);
434
- tmp0_serialDesc.ws('featuredImage', true);
435
- tmp0_serialDesc.ws('id', false);
436
- tmp0_serialDesc.ws('ingredients', true);
437
- tmp0_serialDesc.ws('instructions', true);
438
- tmp0_serialDesc.ws('isAppReady', true);
439
- tmp0_serialDesc.ws('mealTypeIds', true);
440
- tmp0_serialDesc.ws('serves', true);
441
- tmp0_serialDesc.ws('suitableForDietIds', true);
442
- tmp0_serialDesc.ws('techniquesUsedIds', true);
443
- tmp0_serialDesc.ws('timings', true);
444
- tmp0_serialDesc.ws('title', true);
445
- tmp0_serialDesc.ws('utensilsAndApplianceIds', true);
446
- tmp0_serialDesc.ws('webPublicationDate', true);
447
- this.x1e_1 = tmp0_serialDesc;
506
+ tmp0_serialDesc.ct('bookCredit', true);
507
+ tmp0_serialDesc.ct('byline', true);
508
+ tmp0_serialDesc.ct('canonicalArticle', true);
509
+ tmp0_serialDesc.ct('celebrationIds', true);
510
+ tmp0_serialDesc.ct('commerceCtas', true);
511
+ tmp0_serialDesc.ct('composerId', true);
512
+ tmp0_serialDesc.ct('contributors', true);
513
+ tmp0_serialDesc.ct('cuisineIds', true);
514
+ tmp0_serialDesc.ct('description', true);
515
+ tmp0_serialDesc.ct('difficultyLevel', true);
516
+ tmp0_serialDesc.ct('featuredImage', true);
517
+ tmp0_serialDesc.ct('id', false);
518
+ tmp0_serialDesc.ct('ingredients', true);
519
+ tmp0_serialDesc.ct('instructions', true);
520
+ tmp0_serialDesc.ct('isAppReady', true);
521
+ tmp0_serialDesc.ct('mealTypeIds', true);
522
+ tmp0_serialDesc.ct('serves', true);
523
+ tmp0_serialDesc.ct('suitableForDietIds', true);
524
+ tmp0_serialDesc.ct('techniquesUsedIds', true);
525
+ tmp0_serialDesc.ct('timings', true);
526
+ tmp0_serialDesc.ct('title', true);
527
+ tmp0_serialDesc.ct('utensilsAndApplianceIds', true);
528
+ tmp0_serialDesc.ct('webPublicationDate', true);
529
+ this.o1g_1 = tmp0_serialDesc;
448
530
  }
449
- protoOf($serializer).y1e = function (encoder, value) {
450
- var tmp0_desc = this.x1e_1;
451
- var tmp1_output = encoder.nl(tmp0_desc);
452
- var tmp2_cached = Companion_getInstance().w1e_1;
453
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.h1d_1 == null)) {
454
- tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.h1d_1);
531
+ protoOf($serializer).p1g = function (encoder, value) {
532
+ var tmp0_desc = this.o1g_1;
533
+ var tmp1_output = encoder.tl(tmp0_desc);
534
+ var tmp2_cached = Companion_getInstance().n1g_1;
535
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.y1e_1 == null)) {
536
+ tmp1_output.ln(tmp0_desc, 0, StringSerializer_getInstance(), value.y1e_1);
455
537
  }
456
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.i1d_1 == null)) {
457
- tmp1_output.fn(tmp0_desc, 1, tmp2_cached[1].t1(), value.i1d_1);
538
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.z1e_1 == null)) {
539
+ tmp1_output.ln(tmp0_desc, 1, tmp2_cached[1].t1(), value.z1e_1);
458
540
  }
459
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.j1d_1 == null)) {
460
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.j1d_1);
541
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.a1f_1 == null)) {
542
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.a1f_1);
461
543
  }
462
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.k1d_1 == null)) {
463
- tmp1_output.fn(tmp0_desc, 3, tmp2_cached[3].t1(), value.k1d_1);
544
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.b1f_1 == null)) {
545
+ tmp1_output.ln(tmp0_desc, 3, tmp2_cached[3].t1(), value.b1f_1);
464
546
  }
465
- if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.l1d_1 == null)) {
466
- tmp1_output.fn(tmp0_desc, 4, tmp2_cached[4].t1(), value.l1d_1);
547
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.c1f_1 == null)) {
548
+ tmp1_output.ln(tmp0_desc, 4, tmp2_cached[4].t1(), value.c1f_1);
467
549
  }
468
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.m1d_1 == null)) {
469
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.m1d_1);
550
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.d1f_1 == null)) {
551
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.d1f_1);
470
552
  }
471
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.n1d_1 == null)) {
472
- tmp1_output.fn(tmp0_desc, 6, tmp2_cached[6].t1(), value.n1d_1);
553
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.e1f_1 == null)) {
554
+ tmp1_output.ln(tmp0_desc, 6, tmp2_cached[6].t1(), value.e1f_1);
473
555
  }
474
- if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.o1d_1 == null)) {
475
- tmp1_output.fn(tmp0_desc, 7, tmp2_cached[7].t1(), value.o1d_1);
556
+ if (tmp1_output.pn(tmp0_desc, 7) ? true : !(value.f1f_1 == null)) {
557
+ tmp1_output.ln(tmp0_desc, 7, tmp2_cached[7].t1(), value.f1f_1);
476
558
  }
477
- if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.p1d_1 == null)) {
478
- tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.p1d_1);
559
+ if (tmp1_output.pn(tmp0_desc, 8) ? true : !(value.g1f_1 == null)) {
560
+ tmp1_output.ln(tmp0_desc, 8, StringSerializer_getInstance(), value.g1f_1);
479
561
  }
480
- if (tmp1_output.jn(tmp0_desc, 9) ? true : !(value.q1d_1 == null)) {
481
- tmp1_output.fn(tmp0_desc, 9, StringSerializer_getInstance(), value.q1d_1);
562
+ if (tmp1_output.pn(tmp0_desc, 9) ? true : !(value.h1f_1 == null)) {
563
+ tmp1_output.ln(tmp0_desc, 9, StringSerializer_getInstance(), value.h1f_1);
482
564
  }
483
- if (tmp1_output.jn(tmp0_desc, 10) ? true : !(value.r1d_1 == null)) {
484
- tmp1_output.fn(tmp0_desc, 10, $serializer_getInstance_1(), value.r1d_1);
565
+ if (tmp1_output.pn(tmp0_desc, 10) ? true : !(value.i1f_1 == null)) {
566
+ tmp1_output.ln(tmp0_desc, 10, $serializer_getInstance_1(), value.i1f_1);
485
567
  }
486
- tmp1_output.bn(tmp0_desc, 11, value.s1d_1);
487
- if (tmp1_output.jn(tmp0_desc, 12) ? true : !(value.t1d_1 == null)) {
488
- tmp1_output.fn(tmp0_desc, 12, tmp2_cached[12].t1(), value.t1d_1);
568
+ tmp1_output.hn(tmp0_desc, 11, value.j1f_1);
569
+ if (tmp1_output.pn(tmp0_desc, 12) ? true : !(value.k1f_1 == null)) {
570
+ tmp1_output.ln(tmp0_desc, 12, tmp2_cached[12].t1(), value.k1f_1);
489
571
  }
490
- if (tmp1_output.jn(tmp0_desc, 13) ? true : !(value.u1d_1 == null)) {
491
- tmp1_output.fn(tmp0_desc, 13, tmp2_cached[13].t1(), value.u1d_1);
572
+ if (tmp1_output.pn(tmp0_desc, 13) ? true : !(value.l1f_1 == null)) {
573
+ tmp1_output.ln(tmp0_desc, 13, tmp2_cached[13].t1(), value.l1f_1);
492
574
  }
493
- if (tmp1_output.jn(tmp0_desc, 14) ? true : !(value.v1d_1 == null)) {
494
- tmp1_output.fn(tmp0_desc, 14, BooleanSerializer_getInstance(), value.v1d_1);
575
+ if (tmp1_output.pn(tmp0_desc, 14) ? true : !(value.m1f_1 == null)) {
576
+ tmp1_output.ln(tmp0_desc, 14, BooleanSerializer_getInstance(), value.m1f_1);
495
577
  }
496
- if (tmp1_output.jn(tmp0_desc, 15) ? true : !(value.w1d_1 == null)) {
497
- tmp1_output.fn(tmp0_desc, 15, tmp2_cached[15].t1(), value.w1d_1);
578
+ if (tmp1_output.pn(tmp0_desc, 15) ? true : !(value.n1f_1 == null)) {
579
+ tmp1_output.ln(tmp0_desc, 15, tmp2_cached[15].t1(), value.n1f_1);
498
580
  }
499
- if (tmp1_output.jn(tmp0_desc, 16) ? true : !(value.x1d_1 == null)) {
500
- tmp1_output.fn(tmp0_desc, 16, tmp2_cached[16].t1(), value.x1d_1);
581
+ if (tmp1_output.pn(tmp0_desc, 16) ? true : !(value.o1f_1 == null)) {
582
+ tmp1_output.ln(tmp0_desc, 16, tmp2_cached[16].t1(), value.o1f_1);
501
583
  }
502
- if (tmp1_output.jn(tmp0_desc, 17) ? true : !(value.y1d_1 == null)) {
503
- tmp1_output.fn(tmp0_desc, 17, tmp2_cached[17].t1(), value.y1d_1);
584
+ if (tmp1_output.pn(tmp0_desc, 17) ? true : !(value.p1f_1 == null)) {
585
+ tmp1_output.ln(tmp0_desc, 17, tmp2_cached[17].t1(), value.p1f_1);
504
586
  }
505
- if (tmp1_output.jn(tmp0_desc, 18) ? true : !(value.z1d_1 == null)) {
506
- tmp1_output.fn(tmp0_desc, 18, tmp2_cached[18].t1(), value.z1d_1);
587
+ if (tmp1_output.pn(tmp0_desc, 18) ? true : !(value.q1f_1 == null)) {
588
+ tmp1_output.ln(tmp0_desc, 18, tmp2_cached[18].t1(), value.q1f_1);
507
589
  }
508
- if (tmp1_output.jn(tmp0_desc, 19) ? true : !(value.a1e_1 == null)) {
509
- tmp1_output.fn(tmp0_desc, 19, tmp2_cached[19].t1(), value.a1e_1);
590
+ if (tmp1_output.pn(tmp0_desc, 19) ? true : !(value.r1f_1 == null)) {
591
+ tmp1_output.ln(tmp0_desc, 19, tmp2_cached[19].t1(), value.r1f_1);
510
592
  }
511
- if (tmp1_output.jn(tmp0_desc, 20) ? true : !(value.b1e_1 == null)) {
512
- tmp1_output.fn(tmp0_desc, 20, StringSerializer_getInstance(), value.b1e_1);
593
+ if (tmp1_output.pn(tmp0_desc, 20) ? true : !(value.s1f_1 == null)) {
594
+ tmp1_output.ln(tmp0_desc, 20, StringSerializer_getInstance(), value.s1f_1);
513
595
  }
514
- if (tmp1_output.jn(tmp0_desc, 21) ? true : !(value.c1e_1 == null)) {
515
- tmp1_output.fn(tmp0_desc, 21, tmp2_cached[21].t1(), value.c1e_1);
596
+ if (tmp1_output.pn(tmp0_desc, 21) ? true : !(value.t1f_1 == null)) {
597
+ tmp1_output.ln(tmp0_desc, 21, tmp2_cached[21].t1(), value.t1f_1);
516
598
  }
517
- if (tmp1_output.jn(tmp0_desc, 22) ? true : !(value.d1e_1 == null)) {
518
- tmp1_output.fn(tmp0_desc, 22, StringSerializer_getInstance(), value.d1e_1);
599
+ if (tmp1_output.pn(tmp0_desc, 22) ? true : !(value.u1f_1 == null)) {
600
+ tmp1_output.ln(tmp0_desc, 22, StringSerializer_getInstance(), value.u1f_1);
519
601
  }
520
- tmp1_output.ol(tmp0_desc);
602
+ tmp1_output.ul(tmp0_desc);
521
603
  };
522
- protoOf($serializer).ri = function (encoder, value) {
523
- return this.y1e(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
604
+ protoOf($serializer).xi = function (encoder, value) {
605
+ return this.p1g(encoder, value instanceof RecipeV3 ? value : THROW_CCE());
524
606
  };
525
- protoOf($serializer).si = function (decoder) {
526
- var tmp0_desc = this.x1e_1;
607
+ protoOf($serializer).yi = function (decoder) {
608
+ var tmp0_desc = this.o1g_1;
527
609
  var tmp1_flag = true;
528
610
  var tmp2_index = 0;
529
611
  var tmp3_bitMask0 = 0;
@@ -550,166 +632,166 @@
550
632
  var tmp24_local20 = null;
551
633
  var tmp25_local21 = null;
552
634
  var tmp26_local22 = null;
553
- var tmp27_input = decoder.nl(tmp0_desc);
554
- var tmp28_cached = Companion_getInstance().w1e_1;
555
- if (tmp27_input.dm()) {
556
- tmp4_local0 = tmp27_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
635
+ var tmp27_input = decoder.tl(tmp0_desc);
636
+ var tmp28_cached = Companion_getInstance().n1g_1;
637
+ if (tmp27_input.jm()) {
638
+ tmp4_local0 = tmp27_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
557
639
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
558
- tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
640
+ tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
559
641
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
560
- tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
642
+ tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
561
643
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
562
- tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
644
+ tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
563
645
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
564
- tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
646
+ tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
565
647
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
566
- tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
648
+ tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
567
649
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
568
- tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
650
+ tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
569
651
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
570
- tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
652
+ tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
571
653
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
572
- tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
654
+ tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
573
655
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
574
- tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
656
+ tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
575
657
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
576
- tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
658
+ tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
577
659
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
578
- tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
660
+ tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
579
661
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
580
- tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
662
+ tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
581
663
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
582
- tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
664
+ tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
583
665
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
584
- tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
666
+ tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
585
667
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
586
- tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
668
+ tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
587
669
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
588
- tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
670
+ tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
589
671
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
590
- tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
672
+ tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
591
673
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
592
- tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
674
+ tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
593
675
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
594
- tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
676
+ tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
595
677
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
596
- tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
678
+ tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
597
679
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
598
- tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
680
+ tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
599
681
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
600
- tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
682
+ tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
601
683
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
602
684
  } else
603
685
  while (tmp1_flag) {
604
- tmp2_index = tmp27_input.em(tmp0_desc);
686
+ tmp2_index = tmp27_input.km(tmp0_desc);
605
687
  switch (tmp2_index) {
606
688
  case -1:
607
689
  tmp1_flag = false;
608
690
  break;
609
691
  case 0:
610
- tmp4_local0 = tmp27_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
692
+ tmp4_local0 = tmp27_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
611
693
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
612
694
  break;
613
695
  case 1:
614
- tmp5_local1 = tmp27_input.bm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
696
+ tmp5_local1 = tmp27_input.hm(tmp0_desc, 1, tmp28_cached[1].t1(), tmp5_local1);
615
697
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
616
698
  break;
617
699
  case 2:
618
- tmp6_local2 = tmp27_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
700
+ tmp6_local2 = tmp27_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
619
701
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
620
702
  break;
621
703
  case 3:
622
- tmp7_local3 = tmp27_input.bm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
704
+ tmp7_local3 = tmp27_input.hm(tmp0_desc, 3, tmp28_cached[3].t1(), tmp7_local3);
623
705
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
624
706
  break;
625
707
  case 4:
626
- tmp8_local4 = tmp27_input.bm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
708
+ tmp8_local4 = tmp27_input.hm(tmp0_desc, 4, tmp28_cached[4].t1(), tmp8_local4);
627
709
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
628
710
  break;
629
711
  case 5:
630
- tmp9_local5 = tmp27_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
712
+ tmp9_local5 = tmp27_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
631
713
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
632
714
  break;
633
715
  case 6:
634
- tmp10_local6 = tmp27_input.bm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
716
+ tmp10_local6 = tmp27_input.hm(tmp0_desc, 6, tmp28_cached[6].t1(), tmp10_local6);
635
717
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
636
718
  break;
637
719
  case 7:
638
- tmp11_local7 = tmp27_input.bm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
720
+ tmp11_local7 = tmp27_input.hm(tmp0_desc, 7, tmp28_cached[7].t1(), tmp11_local7);
639
721
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
640
722
  break;
641
723
  case 8:
642
- tmp12_local8 = tmp27_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
724
+ tmp12_local8 = tmp27_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
643
725
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
644
726
  break;
645
727
  case 9:
646
- tmp13_local9 = tmp27_input.bm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
728
+ tmp13_local9 = tmp27_input.hm(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
647
729
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
648
730
  break;
649
731
  case 10:
650
- tmp14_local10 = tmp27_input.bm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
732
+ tmp14_local10 = tmp27_input.hm(tmp0_desc, 10, $serializer_getInstance_1(), tmp14_local10);
651
733
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
652
734
  break;
653
735
  case 11:
654
- tmp15_local11 = tmp27_input.xl(tmp0_desc, 11);
736
+ tmp15_local11 = tmp27_input.dm(tmp0_desc, 11);
655
737
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
656
738
  break;
657
739
  case 12:
658
- tmp16_local12 = tmp27_input.bm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
740
+ tmp16_local12 = tmp27_input.hm(tmp0_desc, 12, tmp28_cached[12].t1(), tmp16_local12);
659
741
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
660
742
  break;
661
743
  case 13:
662
- tmp17_local13 = tmp27_input.bm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
744
+ tmp17_local13 = tmp27_input.hm(tmp0_desc, 13, tmp28_cached[13].t1(), tmp17_local13);
663
745
  tmp3_bitMask0 = tmp3_bitMask0 | 8192;
664
746
  break;
665
747
  case 14:
666
- tmp18_local14 = tmp27_input.bm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
748
+ tmp18_local14 = tmp27_input.hm(tmp0_desc, 14, BooleanSerializer_getInstance(), tmp18_local14);
667
749
  tmp3_bitMask0 = tmp3_bitMask0 | 16384;
668
750
  break;
669
751
  case 15:
670
- tmp19_local15 = tmp27_input.bm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
752
+ tmp19_local15 = tmp27_input.hm(tmp0_desc, 15, tmp28_cached[15].t1(), tmp19_local15);
671
753
  tmp3_bitMask0 = tmp3_bitMask0 | 32768;
672
754
  break;
673
755
  case 16:
674
- tmp20_local16 = tmp27_input.bm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
756
+ tmp20_local16 = tmp27_input.hm(tmp0_desc, 16, tmp28_cached[16].t1(), tmp20_local16);
675
757
  tmp3_bitMask0 = tmp3_bitMask0 | 65536;
676
758
  break;
677
759
  case 17:
678
- tmp21_local17 = tmp27_input.bm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
760
+ tmp21_local17 = tmp27_input.hm(tmp0_desc, 17, tmp28_cached[17].t1(), tmp21_local17);
679
761
  tmp3_bitMask0 = tmp3_bitMask0 | 131072;
680
762
  break;
681
763
  case 18:
682
- tmp22_local18 = tmp27_input.bm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
764
+ tmp22_local18 = tmp27_input.hm(tmp0_desc, 18, tmp28_cached[18].t1(), tmp22_local18);
683
765
  tmp3_bitMask0 = tmp3_bitMask0 | 262144;
684
766
  break;
685
767
  case 19:
686
- tmp23_local19 = tmp27_input.bm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
768
+ tmp23_local19 = tmp27_input.hm(tmp0_desc, 19, tmp28_cached[19].t1(), tmp23_local19);
687
769
  tmp3_bitMask0 = tmp3_bitMask0 | 524288;
688
770
  break;
689
771
  case 20:
690
- tmp24_local20 = tmp27_input.bm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
772
+ tmp24_local20 = tmp27_input.hm(tmp0_desc, 20, StringSerializer_getInstance(), tmp24_local20);
691
773
  tmp3_bitMask0 = tmp3_bitMask0 | 1048576;
692
774
  break;
693
775
  case 21:
694
- tmp25_local21 = tmp27_input.bm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
776
+ tmp25_local21 = tmp27_input.hm(tmp0_desc, 21, tmp28_cached[21].t1(), tmp25_local21);
695
777
  tmp3_bitMask0 = tmp3_bitMask0 | 2097152;
696
778
  break;
697
779
  case 22:
698
- tmp26_local22 = tmp27_input.bm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
780
+ tmp26_local22 = tmp27_input.hm(tmp0_desc, 22, StringSerializer_getInstance(), tmp26_local22);
699
781
  tmp3_bitMask0 = tmp3_bitMask0 | 4194304;
700
782
  break;
701
783
  default:
702
784
  throw UnknownFieldException_init_$Create$(tmp2_index);
703
785
  }
704
786
  }
705
- tmp27_input.ol(tmp0_desc);
787
+ tmp27_input.ul(tmp0_desc);
706
788
  return RecipeV3_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, tmp21_local17, tmp22_local18, tmp23_local19, tmp24_local20, tmp25_local21, tmp26_local22, null);
707
789
  };
708
- protoOf($serializer).qi = function () {
709
- return this.x1e_1;
790
+ protoOf($serializer).wi = function () {
791
+ return this.o1g_1;
710
792
  };
711
- protoOf($serializer).ys = function () {
712
- var tmp0_cached = Companion_getInstance().w1e_1;
793
+ protoOf($serializer).et = function () {
794
+ var tmp0_cached = Companion_getInstance().n1g_1;
713
795
  // Inline function 'kotlin.arrayOf' call
714
796
  // Inline function 'kotlin.js.unsafeCast' call
715
797
  // Inline function 'kotlin.js.asDynamic' call
@@ -723,97 +805,97 @@
723
805
  }
724
806
  function RecipeV3_init_$Init$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker, $this) {
725
807
  if (!(2048 === (2048 & seen0))) {
726
- throwMissingFieldException(seen0, 2048, $serializer_getInstance().x1e_1);
808
+ throwMissingFieldException(seen0, 2048, $serializer_getInstance().o1g_1);
727
809
  }
728
810
  if (0 === (seen0 & 1))
729
- $this.h1d_1 = null;
811
+ $this.y1e_1 = null;
730
812
  else
731
- $this.h1d_1 = bookCredit;
813
+ $this.y1e_1 = bookCredit;
732
814
  if (0 === (seen0 & 2))
733
- $this.i1d_1 = null;
815
+ $this.z1e_1 = null;
734
816
  else
735
- $this.i1d_1 = byline;
817
+ $this.z1e_1 = byline;
736
818
  if (0 === (seen0 & 4))
737
- $this.j1d_1 = null;
819
+ $this.a1f_1 = null;
738
820
  else
739
- $this.j1d_1 = canonicalArticle;
821
+ $this.a1f_1 = canonicalArticle;
740
822
  if (0 === (seen0 & 8))
741
- $this.k1d_1 = null;
823
+ $this.b1f_1 = null;
742
824
  else
743
- $this.k1d_1 = celebrationIds;
825
+ $this.b1f_1 = celebrationIds;
744
826
  if (0 === (seen0 & 16))
745
- $this.l1d_1 = null;
827
+ $this.c1f_1 = null;
746
828
  else
747
- $this.l1d_1 = commerceCtas;
829
+ $this.c1f_1 = commerceCtas;
748
830
  if (0 === (seen0 & 32))
749
- $this.m1d_1 = null;
831
+ $this.d1f_1 = null;
750
832
  else
751
- $this.m1d_1 = composerId;
833
+ $this.d1f_1 = composerId;
752
834
  if (0 === (seen0 & 64))
753
- $this.n1d_1 = null;
835
+ $this.e1f_1 = null;
754
836
  else
755
- $this.n1d_1 = contributors;
837
+ $this.e1f_1 = contributors;
756
838
  if (0 === (seen0 & 128))
757
- $this.o1d_1 = null;
839
+ $this.f1f_1 = null;
758
840
  else
759
- $this.o1d_1 = cuisineIds;
841
+ $this.f1f_1 = cuisineIds;
760
842
  if (0 === (seen0 & 256))
761
- $this.p1d_1 = null;
843
+ $this.g1f_1 = null;
762
844
  else
763
- $this.p1d_1 = description;
845
+ $this.g1f_1 = description;
764
846
  if (0 === (seen0 & 512))
765
- $this.q1d_1 = null;
847
+ $this.h1f_1 = null;
766
848
  else
767
- $this.q1d_1 = difficultyLevel;
849
+ $this.h1f_1 = difficultyLevel;
768
850
  if (0 === (seen0 & 1024))
769
- $this.r1d_1 = null;
851
+ $this.i1f_1 = null;
770
852
  else
771
- $this.r1d_1 = featuredImage;
772
- $this.s1d_1 = id;
853
+ $this.i1f_1 = featuredImage;
854
+ $this.j1f_1 = id;
773
855
  if (0 === (seen0 & 4096))
774
- $this.t1d_1 = null;
856
+ $this.k1f_1 = null;
775
857
  else
776
- $this.t1d_1 = ingredients;
858
+ $this.k1f_1 = ingredients;
777
859
  if (0 === (seen0 & 8192))
778
- $this.u1d_1 = null;
860
+ $this.l1f_1 = null;
779
861
  else
780
- $this.u1d_1 = instructions;
862
+ $this.l1f_1 = instructions;
781
863
  if (0 === (seen0 & 16384))
782
- $this.v1d_1 = null;
864
+ $this.m1f_1 = null;
783
865
  else
784
- $this.v1d_1 = isAppReady;
866
+ $this.m1f_1 = isAppReady;
785
867
  if (0 === (seen0 & 32768))
786
- $this.w1d_1 = null;
868
+ $this.n1f_1 = null;
787
869
  else
788
- $this.w1d_1 = mealTypeIds;
870
+ $this.n1f_1 = mealTypeIds;
789
871
  if (0 === (seen0 & 65536))
790
- $this.x1d_1 = null;
872
+ $this.o1f_1 = null;
791
873
  else
792
- $this.x1d_1 = serves;
874
+ $this.o1f_1 = serves;
793
875
  if (0 === (seen0 & 131072))
794
- $this.y1d_1 = null;
876
+ $this.p1f_1 = null;
795
877
  else
796
- $this.y1d_1 = suitableForDietIds;
878
+ $this.p1f_1 = suitableForDietIds;
797
879
  if (0 === (seen0 & 262144))
798
- $this.z1d_1 = null;
880
+ $this.q1f_1 = null;
799
881
  else
800
- $this.z1d_1 = techniquesUsedIds;
882
+ $this.q1f_1 = techniquesUsedIds;
801
883
  if (0 === (seen0 & 524288))
802
- $this.a1e_1 = null;
884
+ $this.r1f_1 = null;
803
885
  else
804
- $this.a1e_1 = timings;
886
+ $this.r1f_1 = timings;
805
887
  if (0 === (seen0 & 1048576))
806
- $this.b1e_1 = null;
888
+ $this.s1f_1 = null;
807
889
  else
808
- $this.b1e_1 = title;
890
+ $this.s1f_1 = title;
809
891
  if (0 === (seen0 & 2097152))
810
- $this.c1e_1 = null;
892
+ $this.t1f_1 = null;
811
893
  else
812
- $this.c1e_1 = utensilsAndApplianceIds;
894
+ $this.t1f_1 = utensilsAndApplianceIds;
813
895
  if (0 === (seen0 & 4194304))
814
- $this.d1e_1 = null;
896
+ $this.u1f_1 = null;
815
897
  else
816
- $this.d1e_1 = webPublicationDate;
898
+ $this.u1f_1 = webPublicationDate;
817
899
  return $this;
818
900
  }
819
901
  function RecipeV3_init_$Create$(seen0, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, serializationConstructorMarker) {
@@ -843,86 +925,86 @@
843
925
  title = title === VOID ? null : title;
844
926
  utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? null : utensilsAndApplianceIds;
845
927
  webPublicationDate = webPublicationDate === VOID ? null : webPublicationDate;
846
- this.h1d_1 = bookCredit;
847
- this.i1d_1 = byline;
848
- this.j1d_1 = canonicalArticle;
849
- this.k1d_1 = celebrationIds;
850
- this.l1d_1 = commerceCtas;
851
- this.m1d_1 = composerId;
852
- this.n1d_1 = contributors;
853
- this.o1d_1 = cuisineIds;
854
- this.p1d_1 = description;
855
- this.q1d_1 = difficultyLevel;
856
- this.r1d_1 = featuredImage;
857
- this.s1d_1 = id;
858
- this.t1d_1 = ingredients;
859
- this.u1d_1 = instructions;
860
- this.v1d_1 = isAppReady;
861
- this.w1d_1 = mealTypeIds;
862
- this.x1d_1 = serves;
863
- this.y1d_1 = suitableForDietIds;
864
- this.z1d_1 = techniquesUsedIds;
865
- this.a1e_1 = timings;
866
- this.b1e_1 = title;
867
- this.c1e_1 = utensilsAndApplianceIds;
868
- this.d1e_1 = webPublicationDate;
869
- }
870
- protoOf(RecipeV3).z1e = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
928
+ this.y1e_1 = bookCredit;
929
+ this.z1e_1 = byline;
930
+ this.a1f_1 = canonicalArticle;
931
+ this.b1f_1 = celebrationIds;
932
+ this.c1f_1 = commerceCtas;
933
+ this.d1f_1 = composerId;
934
+ this.e1f_1 = contributors;
935
+ this.f1f_1 = cuisineIds;
936
+ this.g1f_1 = description;
937
+ this.h1f_1 = difficultyLevel;
938
+ this.i1f_1 = featuredImage;
939
+ this.j1f_1 = id;
940
+ this.k1f_1 = ingredients;
941
+ this.l1f_1 = instructions;
942
+ this.m1f_1 = isAppReady;
943
+ this.n1f_1 = mealTypeIds;
944
+ this.o1f_1 = serves;
945
+ this.p1f_1 = suitableForDietIds;
946
+ this.q1f_1 = techniquesUsedIds;
947
+ this.r1f_1 = timings;
948
+ this.s1f_1 = title;
949
+ this.t1f_1 = utensilsAndApplianceIds;
950
+ this.u1f_1 = webPublicationDate;
951
+ }
952
+ protoOf(RecipeV3).q1g = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) {
871
953
  return new RecipeV3(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
872
954
  };
873
- protoOf(RecipeV3).v1e = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
874
- bookCredit = bookCredit === VOID ? this.h1d_1 : bookCredit;
875
- byline = byline === VOID ? this.i1d_1 : byline;
876
- canonicalArticle = canonicalArticle === VOID ? this.j1d_1 : canonicalArticle;
877
- celebrationIds = celebrationIds === VOID ? this.k1d_1 : celebrationIds;
878
- commerceCtas = commerceCtas === VOID ? this.l1d_1 : commerceCtas;
879
- composerId = composerId === VOID ? this.m1d_1 : composerId;
880
- contributors = contributors === VOID ? this.n1d_1 : contributors;
881
- cuisineIds = cuisineIds === VOID ? this.o1d_1 : cuisineIds;
882
- description = description === VOID ? this.p1d_1 : description;
883
- difficultyLevel = difficultyLevel === VOID ? this.q1d_1 : difficultyLevel;
884
- featuredImage = featuredImage === VOID ? this.r1d_1 : featuredImage;
885
- id = id === VOID ? this.s1d_1 : id;
886
- ingredients = ingredients === VOID ? this.t1d_1 : ingredients;
887
- instructions = instructions === VOID ? this.u1d_1 : instructions;
888
- isAppReady = isAppReady === VOID ? this.v1d_1 : isAppReady;
889
- mealTypeIds = mealTypeIds === VOID ? this.w1d_1 : mealTypeIds;
890
- serves = serves === VOID ? this.x1d_1 : serves;
891
- suitableForDietIds = suitableForDietIds === VOID ? this.y1d_1 : suitableForDietIds;
892
- techniquesUsedIds = techniquesUsedIds === VOID ? this.z1d_1 : techniquesUsedIds;
893
- timings = timings === VOID ? this.a1e_1 : timings;
894
- title = title === VOID ? this.b1e_1 : title;
895
- utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.c1e_1 : utensilsAndApplianceIds;
896
- webPublicationDate = webPublicationDate === VOID ? this.d1e_1 : webPublicationDate;
897
- return $super === VOID ? this.z1e(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.z1e.call(this, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
955
+ protoOf(RecipeV3).m1g = function (bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate, $super) {
956
+ bookCredit = bookCredit === VOID ? this.y1e_1 : bookCredit;
957
+ byline = byline === VOID ? this.z1e_1 : byline;
958
+ canonicalArticle = canonicalArticle === VOID ? this.a1f_1 : canonicalArticle;
959
+ celebrationIds = celebrationIds === VOID ? this.b1f_1 : celebrationIds;
960
+ commerceCtas = commerceCtas === VOID ? this.c1f_1 : commerceCtas;
961
+ composerId = composerId === VOID ? this.d1f_1 : composerId;
962
+ contributors = contributors === VOID ? this.e1f_1 : contributors;
963
+ cuisineIds = cuisineIds === VOID ? this.f1f_1 : cuisineIds;
964
+ description = description === VOID ? this.g1f_1 : description;
965
+ difficultyLevel = difficultyLevel === VOID ? this.h1f_1 : difficultyLevel;
966
+ featuredImage = featuredImage === VOID ? this.i1f_1 : featuredImage;
967
+ id = id === VOID ? this.j1f_1 : id;
968
+ ingredients = ingredients === VOID ? this.k1f_1 : ingredients;
969
+ instructions = instructions === VOID ? this.l1f_1 : instructions;
970
+ isAppReady = isAppReady === VOID ? this.m1f_1 : isAppReady;
971
+ mealTypeIds = mealTypeIds === VOID ? this.n1f_1 : mealTypeIds;
972
+ serves = serves === VOID ? this.o1f_1 : serves;
973
+ suitableForDietIds = suitableForDietIds === VOID ? this.p1f_1 : suitableForDietIds;
974
+ techniquesUsedIds = techniquesUsedIds === VOID ? this.q1f_1 : techniquesUsedIds;
975
+ timings = timings === VOID ? this.r1f_1 : timings;
976
+ title = title === VOID ? this.s1f_1 : title;
977
+ utensilsAndApplianceIds = utensilsAndApplianceIds === VOID ? this.t1f_1 : utensilsAndApplianceIds;
978
+ webPublicationDate = webPublicationDate === VOID ? this.u1f_1 : webPublicationDate;
979
+ return $super === VOID ? this.q1g(bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate) : $super.q1g.call(this, bookCredit, byline, canonicalArticle, celebrationIds, commerceCtas, composerId, contributors, cuisineIds, description, difficultyLevel, featuredImage, id, ingredients, instructions, isAppReady, mealTypeIds, serves, suitableForDietIds, techniquesUsedIds, timings, title, utensilsAndApplianceIds, webPublicationDate);
898
980
  };
899
981
  protoOf(RecipeV3).toString = function () {
900
- return 'RecipeV3(bookCredit=' + this.h1d_1 + ', byline=' + toString(this.i1d_1) + ', canonicalArticle=' + this.j1d_1 + ', celebrationIds=' + toString(this.k1d_1) + ', commerceCtas=' + toString(this.l1d_1) + ', composerId=' + this.m1d_1 + ', contributors=' + toString(this.n1d_1) + ', cuisineIds=' + toString(this.o1d_1) + ', description=' + this.p1d_1 + ', difficultyLevel=' + this.q1d_1 + ', featuredImage=' + toString(this.r1d_1) + ', id=' + this.s1d_1 + ', ingredients=' + toString(this.t1d_1) + ', instructions=' + toString(this.u1d_1) + ', isAppReady=' + this.v1d_1 + ', mealTypeIds=' + toString(this.w1d_1) + ', serves=' + toString(this.x1d_1) + ', suitableForDietIds=' + toString(this.y1d_1) + ', techniquesUsedIds=' + toString(this.z1d_1) + ', timings=' + toString(this.a1e_1) + ', title=' + this.b1e_1 + ', utensilsAndApplianceIds=' + toString(this.c1e_1) + ', webPublicationDate=' + this.d1e_1 + ')';
982
+ return 'RecipeV3(bookCredit=' + this.y1e_1 + ', byline=' + toString(this.z1e_1) + ', canonicalArticle=' + this.a1f_1 + ', celebrationIds=' + toString(this.b1f_1) + ', commerceCtas=' + toString(this.c1f_1) + ', composerId=' + this.d1f_1 + ', contributors=' + toString(this.e1f_1) + ', cuisineIds=' + toString(this.f1f_1) + ', description=' + this.g1f_1 + ', difficultyLevel=' + this.h1f_1 + ', featuredImage=' + toString(this.i1f_1) + ', id=' + this.j1f_1 + ', ingredients=' + toString(this.k1f_1) + ', instructions=' + toString(this.l1f_1) + ', isAppReady=' + this.m1f_1 + ', mealTypeIds=' + toString(this.n1f_1) + ', serves=' + toString(this.o1f_1) + ', suitableForDietIds=' + toString(this.p1f_1) + ', techniquesUsedIds=' + toString(this.q1f_1) + ', timings=' + toString(this.r1f_1) + ', title=' + this.s1f_1 + ', utensilsAndApplianceIds=' + toString(this.t1f_1) + ', webPublicationDate=' + this.u1f_1 + ')';
901
983
  };
902
984
  protoOf(RecipeV3).hashCode = function () {
903
- var result = this.h1d_1 == null ? 0 : getStringHashCode(this.h1d_1);
904
- result = imul(result, 31) + (this.i1d_1 == null ? 0 : hashCode(this.i1d_1)) | 0;
905
- result = imul(result, 31) + (this.j1d_1 == null ? 0 : getStringHashCode(this.j1d_1)) | 0;
906
- result = imul(result, 31) + (this.k1d_1 == null ? 0 : hashCode(this.k1d_1)) | 0;
907
- result = imul(result, 31) + (this.l1d_1 == null ? 0 : hashCode(this.l1d_1)) | 0;
908
- result = imul(result, 31) + (this.m1d_1 == null ? 0 : getStringHashCode(this.m1d_1)) | 0;
909
- result = imul(result, 31) + (this.n1d_1 == null ? 0 : hashCode(this.n1d_1)) | 0;
910
- result = imul(result, 31) + (this.o1d_1 == null ? 0 : hashCode(this.o1d_1)) | 0;
911
- result = imul(result, 31) + (this.p1d_1 == null ? 0 : getStringHashCode(this.p1d_1)) | 0;
912
- result = imul(result, 31) + (this.q1d_1 == null ? 0 : getStringHashCode(this.q1d_1)) | 0;
913
- result = imul(result, 31) + (this.r1d_1 == null ? 0 : this.r1d_1.hashCode()) | 0;
914
- result = imul(result, 31) + getStringHashCode(this.s1d_1) | 0;
915
- result = imul(result, 31) + (this.t1d_1 == null ? 0 : hashCode(this.t1d_1)) | 0;
916
- result = imul(result, 31) + (this.u1d_1 == null ? 0 : hashCode(this.u1d_1)) | 0;
917
- result = imul(result, 31) + (this.v1d_1 == null ? 0 : getBooleanHashCode(this.v1d_1)) | 0;
918
- result = imul(result, 31) + (this.w1d_1 == null ? 0 : hashCode(this.w1d_1)) | 0;
919
- result = imul(result, 31) + (this.x1d_1 == null ? 0 : hashCode(this.x1d_1)) | 0;
920
- result = imul(result, 31) + (this.y1d_1 == null ? 0 : hashCode(this.y1d_1)) | 0;
921
- result = imul(result, 31) + (this.z1d_1 == null ? 0 : hashCode(this.z1d_1)) | 0;
922
- result = imul(result, 31) + (this.a1e_1 == null ? 0 : hashCode(this.a1e_1)) | 0;
923
- result = imul(result, 31) + (this.b1e_1 == null ? 0 : getStringHashCode(this.b1e_1)) | 0;
924
- result = imul(result, 31) + (this.c1e_1 == null ? 0 : hashCode(this.c1e_1)) | 0;
925
- result = imul(result, 31) + (this.d1e_1 == null ? 0 : getStringHashCode(this.d1e_1)) | 0;
985
+ var result = this.y1e_1 == null ? 0 : getStringHashCode(this.y1e_1);
986
+ result = imul(result, 31) + (this.z1e_1 == null ? 0 : hashCode(this.z1e_1)) | 0;
987
+ result = imul(result, 31) + (this.a1f_1 == null ? 0 : getStringHashCode(this.a1f_1)) | 0;
988
+ result = imul(result, 31) + (this.b1f_1 == null ? 0 : hashCode(this.b1f_1)) | 0;
989
+ result = imul(result, 31) + (this.c1f_1 == null ? 0 : hashCode(this.c1f_1)) | 0;
990
+ result = imul(result, 31) + (this.d1f_1 == null ? 0 : getStringHashCode(this.d1f_1)) | 0;
991
+ result = imul(result, 31) + (this.e1f_1 == null ? 0 : hashCode(this.e1f_1)) | 0;
992
+ result = imul(result, 31) + (this.f1f_1 == null ? 0 : hashCode(this.f1f_1)) | 0;
993
+ result = imul(result, 31) + (this.g1f_1 == null ? 0 : getStringHashCode(this.g1f_1)) | 0;
994
+ result = imul(result, 31) + (this.h1f_1 == null ? 0 : getStringHashCode(this.h1f_1)) | 0;
995
+ result = imul(result, 31) + (this.i1f_1 == null ? 0 : this.i1f_1.hashCode()) | 0;
996
+ result = imul(result, 31) + getStringHashCode(this.j1f_1) | 0;
997
+ result = imul(result, 31) + (this.k1f_1 == null ? 0 : hashCode(this.k1f_1)) | 0;
998
+ result = imul(result, 31) + (this.l1f_1 == null ? 0 : hashCode(this.l1f_1)) | 0;
999
+ result = imul(result, 31) + (this.m1f_1 == null ? 0 : getBooleanHashCode(this.m1f_1)) | 0;
1000
+ result = imul(result, 31) + (this.n1f_1 == null ? 0 : hashCode(this.n1f_1)) | 0;
1001
+ result = imul(result, 31) + (this.o1f_1 == null ? 0 : hashCode(this.o1f_1)) | 0;
1002
+ result = imul(result, 31) + (this.p1f_1 == null ? 0 : hashCode(this.p1f_1)) | 0;
1003
+ result = imul(result, 31) + (this.q1f_1 == null ? 0 : hashCode(this.q1f_1)) | 0;
1004
+ result = imul(result, 31) + (this.r1f_1 == null ? 0 : hashCode(this.r1f_1)) | 0;
1005
+ result = imul(result, 31) + (this.s1f_1 == null ? 0 : getStringHashCode(this.s1f_1)) | 0;
1006
+ result = imul(result, 31) + (this.t1f_1 == null ? 0 : hashCode(this.t1f_1)) | 0;
1007
+ result = imul(result, 31) + (this.u1f_1 == null ? 0 : getStringHashCode(this.u1f_1)) | 0;
926
1008
  return result;
927
1009
  };
928
1010
  protoOf(RecipeV3).equals = function (other) {
@@ -930,119 +1012,119 @@
930
1012
  return true;
931
1013
  if (!(other instanceof RecipeV3))
932
1014
  return false;
933
- if (!(this.h1d_1 == other.h1d_1))
1015
+ if (!(this.y1e_1 == other.y1e_1))
934
1016
  return false;
935
- if (!equals(this.i1d_1, other.i1d_1))
1017
+ if (!equals(this.z1e_1, other.z1e_1))
936
1018
  return false;
937
- if (!(this.j1d_1 == other.j1d_1))
1019
+ if (!(this.a1f_1 == other.a1f_1))
938
1020
  return false;
939
- if (!equals(this.k1d_1, other.k1d_1))
1021
+ if (!equals(this.b1f_1, other.b1f_1))
940
1022
  return false;
941
- if (!equals(this.l1d_1, other.l1d_1))
1023
+ if (!equals(this.c1f_1, other.c1f_1))
942
1024
  return false;
943
- if (!(this.m1d_1 == other.m1d_1))
1025
+ if (!(this.d1f_1 == other.d1f_1))
944
1026
  return false;
945
- if (!equals(this.n1d_1, other.n1d_1))
1027
+ if (!equals(this.e1f_1, other.e1f_1))
946
1028
  return false;
947
- if (!equals(this.o1d_1, other.o1d_1))
1029
+ if (!equals(this.f1f_1, other.f1f_1))
948
1030
  return false;
949
- if (!(this.p1d_1 == other.p1d_1))
1031
+ if (!(this.g1f_1 == other.g1f_1))
950
1032
  return false;
951
- if (!(this.q1d_1 == other.q1d_1))
1033
+ if (!(this.h1f_1 == other.h1f_1))
952
1034
  return false;
953
- if (!equals(this.r1d_1, other.r1d_1))
1035
+ if (!equals(this.i1f_1, other.i1f_1))
954
1036
  return false;
955
- if (!(this.s1d_1 === other.s1d_1))
1037
+ if (!(this.j1f_1 === other.j1f_1))
956
1038
  return false;
957
- if (!equals(this.t1d_1, other.t1d_1))
1039
+ if (!equals(this.k1f_1, other.k1f_1))
958
1040
  return false;
959
- if (!equals(this.u1d_1, other.u1d_1))
1041
+ if (!equals(this.l1f_1, other.l1f_1))
960
1042
  return false;
961
- if (!(this.v1d_1 == other.v1d_1))
1043
+ if (!(this.m1f_1 == other.m1f_1))
962
1044
  return false;
963
- if (!equals(this.w1d_1, other.w1d_1))
1045
+ if (!equals(this.n1f_1, other.n1f_1))
964
1046
  return false;
965
- if (!equals(this.x1d_1, other.x1d_1))
1047
+ if (!equals(this.o1f_1, other.o1f_1))
966
1048
  return false;
967
- if (!equals(this.y1d_1, other.y1d_1))
1049
+ if (!equals(this.p1f_1, other.p1f_1))
968
1050
  return false;
969
- if (!equals(this.z1d_1, other.z1d_1))
1051
+ if (!equals(this.q1f_1, other.q1f_1))
970
1052
  return false;
971
- if (!equals(this.a1e_1, other.a1e_1))
1053
+ if (!equals(this.r1f_1, other.r1f_1))
972
1054
  return false;
973
- if (!(this.b1e_1 == other.b1e_1))
1055
+ if (!(this.s1f_1 == other.s1f_1))
974
1056
  return false;
975
- if (!equals(this.c1e_1, other.c1e_1))
1057
+ if (!equals(this.t1f_1, other.t1f_1))
976
1058
  return false;
977
- if (!(this.d1e_1 == other.d1e_1))
1059
+ if (!(this.u1f_1 == other.u1f_1))
978
1060
  return false;
979
1061
  return true;
980
1062
  };
981
1063
  function $serializer_0() {
982
1064
  $serializer_instance_0 = this;
983
1065
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.CommerceCta', this, 3);
984
- tmp0_serialDesc.ws('sponsorName', false);
985
- tmp0_serialDesc.ws('territory', false);
986
- tmp0_serialDesc.ws('url', false);
987
- this.a1f_1 = tmp0_serialDesc;
988
- }
989
- protoOf($serializer_0).b1f = function (encoder, value) {
990
- var tmp0_desc = this.a1f_1;
991
- var tmp1_output = encoder.nl(tmp0_desc);
992
- tmp1_output.bn(tmp0_desc, 0, value.c1f_1);
993
- tmp1_output.bn(tmp0_desc, 1, value.d1f_1);
994
- tmp1_output.bn(tmp0_desc, 2, value.e1f_1);
995
- tmp1_output.ol(tmp0_desc);
996
- };
997
- protoOf($serializer_0).ri = function (encoder, value) {
998
- return this.b1f(encoder, value instanceof CommerceCta ? value : THROW_CCE());
999
- };
1000
- protoOf($serializer_0).si = function (decoder) {
1001
- var tmp0_desc = this.a1f_1;
1066
+ tmp0_serialDesc.ct('sponsorName', false);
1067
+ tmp0_serialDesc.ct('territory', false);
1068
+ tmp0_serialDesc.ct('url', false);
1069
+ this.r1g_1 = tmp0_serialDesc;
1070
+ }
1071
+ protoOf($serializer_0).s1g = function (encoder, value) {
1072
+ var tmp0_desc = this.r1g_1;
1073
+ var tmp1_output = encoder.tl(tmp0_desc);
1074
+ tmp1_output.hn(tmp0_desc, 0, value.t1g_1);
1075
+ tmp1_output.hn(tmp0_desc, 1, value.u1g_1);
1076
+ tmp1_output.hn(tmp0_desc, 2, value.v1g_1);
1077
+ tmp1_output.ul(tmp0_desc);
1078
+ };
1079
+ protoOf($serializer_0).xi = function (encoder, value) {
1080
+ return this.s1g(encoder, value instanceof CommerceCta ? value : THROW_CCE());
1081
+ };
1082
+ protoOf($serializer_0).yi = function (decoder) {
1083
+ var tmp0_desc = this.r1g_1;
1002
1084
  var tmp1_flag = true;
1003
1085
  var tmp2_index = 0;
1004
1086
  var tmp3_bitMask0 = 0;
1005
1087
  var tmp4_local0 = null;
1006
1088
  var tmp5_local1 = null;
1007
1089
  var tmp6_local2 = null;
1008
- var tmp7_input = decoder.nl(tmp0_desc);
1009
- if (tmp7_input.dm()) {
1010
- tmp4_local0 = tmp7_input.xl(tmp0_desc, 0);
1090
+ var tmp7_input = decoder.tl(tmp0_desc);
1091
+ if (tmp7_input.jm()) {
1092
+ tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1011
1093
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1012
- tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
1094
+ tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1013
1095
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1014
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
1096
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1015
1097
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1016
1098
  } else
1017
1099
  while (tmp1_flag) {
1018
- tmp2_index = tmp7_input.em(tmp0_desc);
1100
+ tmp2_index = tmp7_input.km(tmp0_desc);
1019
1101
  switch (tmp2_index) {
1020
1102
  case -1:
1021
1103
  tmp1_flag = false;
1022
1104
  break;
1023
1105
  case 0:
1024
- tmp4_local0 = tmp7_input.xl(tmp0_desc, 0);
1106
+ tmp4_local0 = tmp7_input.dm(tmp0_desc, 0);
1025
1107
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1026
1108
  break;
1027
1109
  case 1:
1028
- tmp5_local1 = tmp7_input.xl(tmp0_desc, 1);
1110
+ tmp5_local1 = tmp7_input.dm(tmp0_desc, 1);
1029
1111
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1030
1112
  break;
1031
1113
  case 2:
1032
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
1114
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
1033
1115
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1034
1116
  break;
1035
1117
  default:
1036
1118
  throw UnknownFieldException_init_$Create$(tmp2_index);
1037
1119
  }
1038
1120
  }
1039
- tmp7_input.ol(tmp0_desc);
1121
+ tmp7_input.ul(tmp0_desc);
1040
1122
  return CommerceCta_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
1041
1123
  };
1042
- protoOf($serializer_0).qi = function () {
1043
- return this.a1f_1;
1124
+ protoOf($serializer_0).wi = function () {
1125
+ return this.r1g_1;
1044
1126
  };
1045
- protoOf($serializer_0).ys = function () {
1127
+ protoOf($serializer_0).et = function () {
1046
1128
  // Inline function 'kotlin.arrayOf' call
1047
1129
  // Inline function 'kotlin.js.unsafeCast' call
1048
1130
  // Inline function 'kotlin.js.asDynamic' call
@@ -1056,11 +1138,11 @@
1056
1138
  }
1057
1139
  function CommerceCta_init_$Init$(seen0, sponsorName, territory, url, serializationConstructorMarker, $this) {
1058
1140
  if (!(7 === (7 & seen0))) {
1059
- throwMissingFieldException(seen0, 7, $serializer_getInstance_0().a1f_1);
1141
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_0().r1g_1);
1060
1142
  }
1061
- $this.c1f_1 = sponsorName;
1062
- $this.d1f_1 = territory;
1063
- $this.e1f_1 = url;
1143
+ $this.t1g_1 = sponsorName;
1144
+ $this.u1g_1 = territory;
1145
+ $this.v1g_1 = url;
1064
1146
  return $this;
1065
1147
  }
1066
1148
  function CommerceCta_init_$Create$(seen0, sponsorName, territory, url, serializationConstructorMarker) {
@@ -1069,12 +1151,12 @@
1069
1151
  function CommerceCta() {
1070
1152
  }
1071
1153
  protoOf(CommerceCta).toString = function () {
1072
- return 'CommerceCta(sponsorName=' + this.c1f_1 + ', territory=' + this.d1f_1 + ', url=' + this.e1f_1 + ')';
1154
+ return 'CommerceCta(sponsorName=' + this.t1g_1 + ', territory=' + this.u1g_1 + ', url=' + this.v1g_1 + ')';
1073
1155
  };
1074
1156
  protoOf(CommerceCta).hashCode = function () {
1075
- var result = getStringHashCode(this.c1f_1);
1076
- result = imul(result, 31) + getStringHashCode(this.d1f_1) | 0;
1077
- result = imul(result, 31) + getStringHashCode(this.e1f_1) | 0;
1157
+ var result = getStringHashCode(this.t1g_1);
1158
+ result = imul(result, 31) + getStringHashCode(this.u1g_1) | 0;
1159
+ result = imul(result, 31) + getStringHashCode(this.v1g_1) | 0;
1078
1160
  return result;
1079
1161
  };
1080
1162
  protoOf(CommerceCta).equals = function (other) {
@@ -1082,55 +1164,55 @@
1082
1164
  return true;
1083
1165
  if (!(other instanceof CommerceCta))
1084
1166
  return false;
1085
- if (!(this.c1f_1 === other.c1f_1))
1167
+ if (!(this.t1g_1 === other.t1g_1))
1086
1168
  return false;
1087
- if (!(this.d1f_1 === other.d1f_1))
1169
+ if (!(this.u1g_1 === other.u1g_1))
1088
1170
  return false;
1089
- if (!(this.e1f_1 === other.e1f_1))
1171
+ if (!(this.v1g_1 === other.v1g_1))
1090
1172
  return false;
1091
1173
  return true;
1092
1174
  };
1093
1175
  function $serializer_1() {
1094
1176
  $serializer_instance_1 = this;
1095
1177
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Image', this, 8);
1096
- tmp0_serialDesc.ws('caption', true);
1097
- tmp0_serialDesc.ws('cropId', false);
1098
- tmp0_serialDesc.ws('imageType', true);
1099
- tmp0_serialDesc.ws('mediaApiUrl', true);
1100
- tmp0_serialDesc.ws('mediaId', false);
1101
- tmp0_serialDesc.ws('photographer', true);
1102
- tmp0_serialDesc.ws('source', true);
1103
- tmp0_serialDesc.ws('url', false);
1104
- this.f1f_1 = tmp0_serialDesc;
1105
- }
1106
- protoOf($serializer_1).g1f = function (encoder, value) {
1107
- var tmp0_desc = this.f1f_1;
1108
- var tmp1_output = encoder.nl(tmp0_desc);
1109
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.h1f_1 == null)) {
1110
- tmp1_output.fn(tmp0_desc, 0, StringSerializer_getInstance(), value.h1f_1);
1111
- }
1112
- tmp1_output.bn(tmp0_desc, 1, value.i1f_1);
1113
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.j1f_1 == null)) {
1114
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.j1f_1);
1115
- }
1116
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.k1f_1 == null)) {
1117
- tmp1_output.fn(tmp0_desc, 3, StringSerializer_getInstance(), value.k1f_1);
1118
- }
1119
- tmp1_output.bn(tmp0_desc, 4, value.l1f_1);
1120
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.m1f_1 == null)) {
1121
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.m1f_1);
1122
- }
1123
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.n1f_1 == null)) {
1124
- tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.n1f_1);
1125
- }
1126
- tmp1_output.bn(tmp0_desc, 7, value.o1f_1);
1127
- tmp1_output.ol(tmp0_desc);
1128
- };
1129
- protoOf($serializer_1).ri = function (encoder, value) {
1130
- return this.g1f(encoder, value instanceof Image ? value : THROW_CCE());
1131
- };
1132
- protoOf($serializer_1).si = function (decoder) {
1133
- var tmp0_desc = this.f1f_1;
1178
+ tmp0_serialDesc.ct('caption', true);
1179
+ tmp0_serialDesc.ct('cropId', false);
1180
+ tmp0_serialDesc.ct('imageType', true);
1181
+ tmp0_serialDesc.ct('mediaApiUrl', true);
1182
+ tmp0_serialDesc.ct('mediaId', false);
1183
+ tmp0_serialDesc.ct('photographer', true);
1184
+ tmp0_serialDesc.ct('source', true);
1185
+ tmp0_serialDesc.ct('url', false);
1186
+ this.w1g_1 = tmp0_serialDesc;
1187
+ }
1188
+ protoOf($serializer_1).x1g = function (encoder, value) {
1189
+ var tmp0_desc = this.w1g_1;
1190
+ var tmp1_output = encoder.tl(tmp0_desc);
1191
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.y1g_1 == null)) {
1192
+ tmp1_output.ln(tmp0_desc, 0, StringSerializer_getInstance(), value.y1g_1);
1193
+ }
1194
+ tmp1_output.hn(tmp0_desc, 1, value.z1g_1);
1195
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.a1h_1 == null)) {
1196
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.a1h_1);
1197
+ }
1198
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.b1h_1 == null)) {
1199
+ tmp1_output.ln(tmp0_desc, 3, StringSerializer_getInstance(), value.b1h_1);
1200
+ }
1201
+ tmp1_output.hn(tmp0_desc, 4, value.c1h_1);
1202
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.d1h_1 == null)) {
1203
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.d1h_1);
1204
+ }
1205
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.e1h_1 == null)) {
1206
+ tmp1_output.ln(tmp0_desc, 6, StringSerializer_getInstance(), value.e1h_1);
1207
+ }
1208
+ tmp1_output.hn(tmp0_desc, 7, value.f1h_1);
1209
+ tmp1_output.ul(tmp0_desc);
1210
+ };
1211
+ protoOf($serializer_1).xi = function (encoder, value) {
1212
+ return this.x1g(encoder, value instanceof Image ? value : THROW_CCE());
1213
+ };
1214
+ protoOf($serializer_1).yi = function (decoder) {
1215
+ var tmp0_desc = this.w1g_1;
1134
1216
  var tmp1_flag = true;
1135
1217
  var tmp2_index = 0;
1136
1218
  var tmp3_bitMask0 = 0;
@@ -1142,74 +1224,74 @@
1142
1224
  var tmp9_local5 = null;
1143
1225
  var tmp10_local6 = null;
1144
1226
  var tmp11_local7 = null;
1145
- var tmp12_input = decoder.nl(tmp0_desc);
1146
- if (tmp12_input.dm()) {
1147
- tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1227
+ var tmp12_input = decoder.tl(tmp0_desc);
1228
+ if (tmp12_input.jm()) {
1229
+ tmp4_local0 = tmp12_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1148
1230
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1149
- tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
1231
+ tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1150
1232
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1151
- tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1233
+ tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1152
1234
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1153
- tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1235
+ tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1154
1236
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1155
- tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
1237
+ tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1156
1238
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1157
- tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1239
+ tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1158
1240
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1159
- tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1241
+ tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1160
1242
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1161
- tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
1243
+ tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1162
1244
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1163
1245
  } else
1164
1246
  while (tmp1_flag) {
1165
- tmp2_index = tmp12_input.em(tmp0_desc);
1247
+ tmp2_index = tmp12_input.km(tmp0_desc);
1166
1248
  switch (tmp2_index) {
1167
1249
  case -1:
1168
1250
  tmp1_flag = false;
1169
1251
  break;
1170
1252
  case 0:
1171
- tmp4_local0 = tmp12_input.bm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1253
+ tmp4_local0 = tmp12_input.hm(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
1172
1254
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1173
1255
  break;
1174
1256
  case 1:
1175
- tmp5_local1 = tmp12_input.xl(tmp0_desc, 1);
1257
+ tmp5_local1 = tmp12_input.dm(tmp0_desc, 1);
1176
1258
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1177
1259
  break;
1178
1260
  case 2:
1179
- tmp6_local2 = tmp12_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1261
+ tmp6_local2 = tmp12_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1180
1262
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1181
1263
  break;
1182
1264
  case 3:
1183
- tmp7_local3 = tmp12_input.bm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1265
+ tmp7_local3 = tmp12_input.hm(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
1184
1266
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1185
1267
  break;
1186
1268
  case 4:
1187
- tmp8_local4 = tmp12_input.xl(tmp0_desc, 4);
1269
+ tmp8_local4 = tmp12_input.dm(tmp0_desc, 4);
1188
1270
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1189
1271
  break;
1190
1272
  case 5:
1191
- tmp9_local5 = tmp12_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1273
+ tmp9_local5 = tmp12_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1192
1274
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1193
1275
  break;
1194
1276
  case 6:
1195
- tmp10_local6 = tmp12_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1277
+ tmp10_local6 = tmp12_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1196
1278
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1197
1279
  break;
1198
1280
  case 7:
1199
- tmp11_local7 = tmp12_input.xl(tmp0_desc, 7);
1281
+ tmp11_local7 = tmp12_input.dm(tmp0_desc, 7);
1200
1282
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1201
1283
  break;
1202
1284
  default:
1203
1285
  throw UnknownFieldException_init_$Create$(tmp2_index);
1204
1286
  }
1205
1287
  }
1206
- tmp12_input.ol(tmp0_desc);
1288
+ tmp12_input.ul(tmp0_desc);
1207
1289
  return Image_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
1208
1290
  };
1209
- protoOf($serializer_1).qi = function () {
1210
- return this.f1f_1;
1291
+ protoOf($serializer_1).wi = function () {
1292
+ return this.w1g_1;
1211
1293
  };
1212
- protoOf($serializer_1).ys = function () {
1294
+ protoOf($serializer_1).et = function () {
1213
1295
  // Inline function 'kotlin.arrayOf' call
1214
1296
  // Inline function 'kotlin.js.unsafeCast' call
1215
1297
  // Inline function 'kotlin.js.asDynamic' call
@@ -1223,31 +1305,31 @@
1223
1305
  }
1224
1306
  function Image_init_$Init$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker, $this) {
1225
1307
  if (!(146 === (146 & seen0))) {
1226
- throwMissingFieldException(seen0, 146, $serializer_getInstance_1().f1f_1);
1308
+ throwMissingFieldException(seen0, 146, $serializer_getInstance_1().w1g_1);
1227
1309
  }
1228
1310
  if (0 === (seen0 & 1))
1229
- $this.h1f_1 = null;
1311
+ $this.y1g_1 = null;
1230
1312
  else
1231
- $this.h1f_1 = caption;
1232
- $this.i1f_1 = cropId;
1313
+ $this.y1g_1 = caption;
1314
+ $this.z1g_1 = cropId;
1233
1315
  if (0 === (seen0 & 4))
1234
- $this.j1f_1 = null;
1316
+ $this.a1h_1 = null;
1235
1317
  else
1236
- $this.j1f_1 = imageType;
1318
+ $this.a1h_1 = imageType;
1237
1319
  if (0 === (seen0 & 8))
1238
- $this.k1f_1 = null;
1320
+ $this.b1h_1 = null;
1239
1321
  else
1240
- $this.k1f_1 = mediaApiUrl;
1241
- $this.l1f_1 = mediaId;
1322
+ $this.b1h_1 = mediaApiUrl;
1323
+ $this.c1h_1 = mediaId;
1242
1324
  if (0 === (seen0 & 32))
1243
- $this.m1f_1 = null;
1325
+ $this.d1h_1 = null;
1244
1326
  else
1245
- $this.m1f_1 = photographer;
1327
+ $this.d1h_1 = photographer;
1246
1328
  if (0 === (seen0 & 64))
1247
- $this.n1f_1 = null;
1329
+ $this.e1h_1 = null;
1248
1330
  else
1249
- $this.n1f_1 = source;
1250
- $this.o1f_1 = url;
1331
+ $this.e1h_1 = source;
1332
+ $this.f1h_1 = url;
1251
1333
  return $this;
1252
1334
  }
1253
1335
  function Image_init_$Create$(seen0, caption, cropId, imageType, mediaApiUrl, mediaId, photographer, source, url, serializationConstructorMarker) {
@@ -1256,17 +1338,17 @@
1256
1338
  function Image() {
1257
1339
  }
1258
1340
  protoOf(Image).toString = function () {
1259
- return 'Image(caption=' + this.h1f_1 + ', cropId=' + this.i1f_1 + ', imageType=' + this.j1f_1 + ', mediaApiUrl=' + this.k1f_1 + ', mediaId=' + this.l1f_1 + ', photographer=' + this.m1f_1 + ', source=' + this.n1f_1 + ', url=' + this.o1f_1 + ')';
1341
+ return 'Image(caption=' + this.y1g_1 + ', cropId=' + this.z1g_1 + ', imageType=' + this.a1h_1 + ', mediaApiUrl=' + this.b1h_1 + ', mediaId=' + this.c1h_1 + ', photographer=' + this.d1h_1 + ', source=' + this.e1h_1 + ', url=' + this.f1h_1 + ')';
1260
1342
  };
1261
1343
  protoOf(Image).hashCode = function () {
1262
- var result = this.h1f_1 == null ? 0 : getStringHashCode(this.h1f_1);
1263
- result = imul(result, 31) + getStringHashCode(this.i1f_1) | 0;
1264
- result = imul(result, 31) + (this.j1f_1 == null ? 0 : getStringHashCode(this.j1f_1)) | 0;
1265
- result = imul(result, 31) + (this.k1f_1 == null ? 0 : getStringHashCode(this.k1f_1)) | 0;
1266
- result = imul(result, 31) + getStringHashCode(this.l1f_1) | 0;
1267
- result = imul(result, 31) + (this.m1f_1 == null ? 0 : getStringHashCode(this.m1f_1)) | 0;
1268
- result = imul(result, 31) + (this.n1f_1 == null ? 0 : getStringHashCode(this.n1f_1)) | 0;
1269
- result = imul(result, 31) + getStringHashCode(this.o1f_1) | 0;
1344
+ var result = this.y1g_1 == null ? 0 : getStringHashCode(this.y1g_1);
1345
+ result = imul(result, 31) + getStringHashCode(this.z1g_1) | 0;
1346
+ result = imul(result, 31) + (this.a1h_1 == null ? 0 : getStringHashCode(this.a1h_1)) | 0;
1347
+ result = imul(result, 31) + (this.b1h_1 == null ? 0 : getStringHashCode(this.b1h_1)) | 0;
1348
+ result = imul(result, 31) + getStringHashCode(this.c1h_1) | 0;
1349
+ result = imul(result, 31) + (this.d1h_1 == null ? 0 : getStringHashCode(this.d1h_1)) | 0;
1350
+ result = imul(result, 31) + (this.e1h_1 == null ? 0 : getStringHashCode(this.e1h_1)) | 0;
1351
+ result = imul(result, 31) + getStringHashCode(this.f1h_1) | 0;
1270
1352
  return result;
1271
1353
  };
1272
1354
  protoOf(Image).equals = function (other) {
@@ -1274,21 +1356,21 @@
1274
1356
  return true;
1275
1357
  if (!(other instanceof Image))
1276
1358
  return false;
1277
- if (!(this.h1f_1 == other.h1f_1))
1359
+ if (!(this.y1g_1 == other.y1g_1))
1278
1360
  return false;
1279
- if (!(this.i1f_1 === other.i1f_1))
1361
+ if (!(this.z1g_1 === other.z1g_1))
1280
1362
  return false;
1281
- if (!(this.j1f_1 == other.j1f_1))
1363
+ if (!(this.a1h_1 == other.a1h_1))
1282
1364
  return false;
1283
- if (!(this.k1f_1 == other.k1f_1))
1365
+ if (!(this.b1h_1 == other.b1h_1))
1284
1366
  return false;
1285
- if (!(this.l1f_1 === other.l1f_1))
1367
+ if (!(this.c1h_1 === other.c1h_1))
1286
1368
  return false;
1287
- if (!(this.m1f_1 == other.m1f_1))
1369
+ if (!(this.d1h_1 == other.d1h_1))
1288
1370
  return false;
1289
- if (!(this.n1f_1 == other.n1f_1))
1371
+ if (!(this.e1h_1 == other.e1h_1))
1290
1372
  return false;
1291
- if (!(this.o1f_1 === other.o1f_1))
1373
+ if (!(this.f1h_1 === other.f1h_1))
1292
1374
  return false;
1293
1375
  return true;
1294
1376
  };
@@ -1302,7 +1384,7 @@
1302
1384
  // Inline function 'kotlin.arrayOf' call
1303
1385
  // Inline function 'kotlin.js.unsafeCast' call
1304
1386
  // Inline function 'kotlin.js.asDynamic' call
1305
- tmp.p1f_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1387
+ tmp.g1h_1 = [lazy(tmp_0, IngredientsList$Companion$$childSerializers$_anonymous__y7k6ja), null];
1306
1388
  }
1307
1389
  var Companion_instance_0;
1308
1390
  function Companion_getInstance_0() {
@@ -1313,66 +1395,66 @@
1313
1395
  function $serializer_2() {
1314
1396
  $serializer_instance_2 = this;
1315
1397
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientsList', this, 2);
1316
- tmp0_serialDesc.ws('ingredientsList', true);
1317
- tmp0_serialDesc.ws('recipeSection', true);
1318
- this.q1f_1 = tmp0_serialDesc;
1398
+ tmp0_serialDesc.ct('ingredientsList', true);
1399
+ tmp0_serialDesc.ct('recipeSection', true);
1400
+ this.h1h_1 = tmp0_serialDesc;
1319
1401
  }
1320
- protoOf($serializer_2).r1f = function (encoder, value) {
1321
- var tmp0_desc = this.q1f_1;
1322
- var tmp1_output = encoder.nl(tmp0_desc);
1323
- var tmp2_cached = Companion_getInstance_0().p1f_1;
1324
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.e1e_1 == null)) {
1325
- tmp1_output.fn(tmp0_desc, 0, tmp2_cached[0].t1(), value.e1e_1);
1402
+ protoOf($serializer_2).i1h = function (encoder, value) {
1403
+ var tmp0_desc = this.h1h_1;
1404
+ var tmp1_output = encoder.tl(tmp0_desc);
1405
+ var tmp2_cached = Companion_getInstance_0().g1h_1;
1406
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.v1f_1 == null)) {
1407
+ tmp1_output.ln(tmp0_desc, 0, tmp2_cached[0].t1(), value.v1f_1);
1326
1408
  }
1327
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.f1e_1 == null)) {
1328
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.f1e_1);
1409
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.w1f_1 == null)) {
1410
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.w1f_1);
1329
1411
  }
1330
- tmp1_output.ol(tmp0_desc);
1412
+ tmp1_output.ul(tmp0_desc);
1331
1413
  };
1332
- protoOf($serializer_2).ri = function (encoder, value) {
1333
- return this.r1f(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1414
+ protoOf($serializer_2).xi = function (encoder, value) {
1415
+ return this.i1h(encoder, value instanceof IngredientsList ? value : THROW_CCE());
1334
1416
  };
1335
- protoOf($serializer_2).si = function (decoder) {
1336
- var tmp0_desc = this.q1f_1;
1417
+ protoOf($serializer_2).yi = function (decoder) {
1418
+ var tmp0_desc = this.h1h_1;
1337
1419
  var tmp1_flag = true;
1338
1420
  var tmp2_index = 0;
1339
1421
  var tmp3_bitMask0 = 0;
1340
1422
  var tmp4_local0 = null;
1341
1423
  var tmp5_local1 = null;
1342
- var tmp6_input = decoder.nl(tmp0_desc);
1343
- var tmp7_cached = Companion_getInstance_0().p1f_1;
1344
- if (tmp6_input.dm()) {
1345
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1424
+ var tmp6_input = decoder.tl(tmp0_desc);
1425
+ var tmp7_cached = Companion_getInstance_0().g1h_1;
1426
+ if (tmp6_input.jm()) {
1427
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1346
1428
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1347
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1429
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1348
1430
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1349
1431
  } else
1350
1432
  while (tmp1_flag) {
1351
- tmp2_index = tmp6_input.em(tmp0_desc);
1433
+ tmp2_index = tmp6_input.km(tmp0_desc);
1352
1434
  switch (tmp2_index) {
1353
1435
  case -1:
1354
1436
  tmp1_flag = false;
1355
1437
  break;
1356
1438
  case 0:
1357
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1439
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, tmp7_cached[0].t1(), tmp4_local0);
1358
1440
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1359
1441
  break;
1360
1442
  case 1:
1361
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1443
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1362
1444
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1363
1445
  break;
1364
1446
  default:
1365
1447
  throw UnknownFieldException_init_$Create$(tmp2_index);
1366
1448
  }
1367
1449
  }
1368
- tmp6_input.ol(tmp0_desc);
1450
+ tmp6_input.ul(tmp0_desc);
1369
1451
  return IngredientsList_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1370
1452
  };
1371
- protoOf($serializer_2).qi = function () {
1372
- return this.q1f_1;
1453
+ protoOf($serializer_2).wi = function () {
1454
+ return this.h1h_1;
1373
1455
  };
1374
- protoOf($serializer_2).ys = function () {
1375
- var tmp0_cached = Companion_getInstance_0().p1f_1;
1456
+ protoOf($serializer_2).et = function () {
1457
+ var tmp0_cached = Companion_getInstance_0().g1h_1;
1376
1458
  // Inline function 'kotlin.arrayOf' call
1377
1459
  // Inline function 'kotlin.js.unsafeCast' call
1378
1460
  // Inline function 'kotlin.js.asDynamic' call
@@ -1386,16 +1468,16 @@
1386
1468
  }
1387
1469
  function IngredientsList_init_$Init$(seen0, ingredientsList, recipeSection, serializationConstructorMarker, $this) {
1388
1470
  if (!(0 === (0 & seen0))) {
1389
- throwMissingFieldException(seen0, 0, $serializer_getInstance_2().q1f_1);
1471
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_2().h1h_1);
1390
1472
  }
1391
1473
  if (0 === (seen0 & 1))
1392
- $this.e1e_1 = null;
1474
+ $this.v1f_1 = null;
1393
1475
  else
1394
- $this.e1e_1 = ingredientsList;
1476
+ $this.v1f_1 = ingredientsList;
1395
1477
  if (0 === (seen0 & 2))
1396
- $this.f1e_1 = null;
1478
+ $this.w1f_1 = null;
1397
1479
  else
1398
- $this.f1e_1 = recipeSection;
1480
+ $this.w1f_1 = recipeSection;
1399
1481
  return $this;
1400
1482
  }
1401
1483
  function IngredientsList_init_$Create$(seen0, ingredientsList, recipeSection, serializationConstructorMarker) {
@@ -1405,15 +1487,15 @@
1405
1487
  Companion_getInstance_0();
1406
1488
  ingredientsList = ingredientsList === VOID ? null : ingredientsList;
1407
1489
  recipeSection = recipeSection === VOID ? null : recipeSection;
1408
- this.e1e_1 = ingredientsList;
1409
- this.f1e_1 = recipeSection;
1490
+ this.v1f_1 = ingredientsList;
1491
+ this.w1f_1 = recipeSection;
1410
1492
  }
1411
1493
  protoOf(IngredientsList).toString = function () {
1412
- return 'IngredientsList(ingredientsList=' + toString(this.e1e_1) + ', recipeSection=' + this.f1e_1 + ')';
1494
+ return 'IngredientsList(ingredientsList=' + toString(this.v1f_1) + ', recipeSection=' + this.w1f_1 + ')';
1413
1495
  };
1414
1496
  protoOf(IngredientsList).hashCode = function () {
1415
- var result = this.e1e_1 == null ? 0 : hashCode(this.e1e_1);
1416
- result = imul(result, 31) + (this.f1e_1 == null ? 0 : getStringHashCode(this.f1e_1)) | 0;
1497
+ var result = this.v1f_1 == null ? 0 : hashCode(this.v1f_1);
1498
+ result = imul(result, 31) + (this.w1f_1 == null ? 0 : getStringHashCode(this.w1f_1)) | 0;
1417
1499
  return result;
1418
1500
  };
1419
1501
  protoOf(IngredientsList).equals = function (other) {
@@ -1421,9 +1503,9 @@
1421
1503
  return true;
1422
1504
  if (!(other instanceof IngredientsList))
1423
1505
  return false;
1424
- if (!equals(this.e1e_1, other.e1e_1))
1506
+ if (!equals(this.v1f_1, other.v1f_1))
1425
1507
  return false;
1426
- if (!(this.f1e_1 == other.f1e_1))
1508
+ if (!(this.w1f_1 == other.w1f_1))
1427
1509
  return false;
1428
1510
  return true;
1429
1511
  };
@@ -1436,54 +1518,54 @@
1436
1518
  function $serializer_3() {
1437
1519
  $serializer_instance_3 = this;
1438
1520
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.IngredientItem', this, 9);
1439
- tmp0_serialDesc.ws('amount', true);
1440
- tmp0_serialDesc.ws('ingredientId', true);
1441
- tmp0_serialDesc.ws('name', true);
1442
- tmp0_serialDesc.ws('optional', true);
1443
- tmp0_serialDesc.ws('prefix', true);
1444
- tmp0_serialDesc.ws('suffix', true);
1445
- tmp0_serialDesc.ws('template', true);
1446
- tmp0_serialDesc.ws('text', true);
1447
- tmp0_serialDesc.ws('unit', true);
1448
- this.s1f_1 = tmp0_serialDesc;
1521
+ tmp0_serialDesc.ct('amount', true);
1522
+ tmp0_serialDesc.ct('ingredientId', true);
1523
+ tmp0_serialDesc.ct('name', true);
1524
+ tmp0_serialDesc.ct('optional', true);
1525
+ tmp0_serialDesc.ct('prefix', true);
1526
+ tmp0_serialDesc.ct('suffix', true);
1527
+ tmp0_serialDesc.ct('template', true);
1528
+ tmp0_serialDesc.ct('text', true);
1529
+ tmp0_serialDesc.ct('unit', true);
1530
+ this.j1h_1 = tmp0_serialDesc;
1449
1531
  }
1450
- protoOf($serializer_3).t1f = function (encoder, value) {
1451
- var tmp0_desc = this.s1f_1;
1452
- var tmp1_output = encoder.nl(tmp0_desc);
1453
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.g1e_1 == null)) {
1454
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.g1e_1);
1532
+ protoOf($serializer_3).k1h = function (encoder, value) {
1533
+ var tmp0_desc = this.j1h_1;
1534
+ var tmp1_output = encoder.tl(tmp0_desc);
1535
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.x1f_1 == null)) {
1536
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.x1f_1);
1455
1537
  }
1456
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.h1e_1 == null)) {
1457
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.h1e_1);
1538
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.y1f_1 == null)) {
1539
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.y1f_1);
1458
1540
  }
1459
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.i1e_1 == null)) {
1460
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.i1e_1);
1541
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.z1f_1 == null)) {
1542
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.z1f_1);
1461
1543
  }
1462
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.j1e_1 == null)) {
1463
- tmp1_output.fn(tmp0_desc, 3, BooleanSerializer_getInstance(), value.j1e_1);
1544
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.a1g_1 == null)) {
1545
+ tmp1_output.ln(tmp0_desc, 3, BooleanSerializer_getInstance(), value.a1g_1);
1464
1546
  }
1465
- if (tmp1_output.jn(tmp0_desc, 4) ? true : !(value.k1e_1 == null)) {
1466
- tmp1_output.fn(tmp0_desc, 4, StringSerializer_getInstance(), value.k1e_1);
1547
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.b1g_1 == null)) {
1548
+ tmp1_output.ln(tmp0_desc, 4, StringSerializer_getInstance(), value.b1g_1);
1467
1549
  }
1468
- if (tmp1_output.jn(tmp0_desc, 5) ? true : !(value.l1e_1 == null)) {
1469
- tmp1_output.fn(tmp0_desc, 5, StringSerializer_getInstance(), value.l1e_1);
1550
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.c1g_1 == null)) {
1551
+ tmp1_output.ln(tmp0_desc, 5, StringSerializer_getInstance(), value.c1g_1);
1470
1552
  }
1471
- if (tmp1_output.jn(tmp0_desc, 6) ? true : !(value.m1e_1 == null)) {
1472
- tmp1_output.fn(tmp0_desc, 6, StringSerializer_getInstance(), value.m1e_1);
1553
+ if (tmp1_output.pn(tmp0_desc, 6) ? true : !(value.d1g_1 == null)) {
1554
+ tmp1_output.ln(tmp0_desc, 6, StringSerializer_getInstance(), value.d1g_1);
1473
1555
  }
1474
- if (tmp1_output.jn(tmp0_desc, 7) ? true : !(value.n1e_1 == null)) {
1475
- tmp1_output.fn(tmp0_desc, 7, StringSerializer_getInstance(), value.n1e_1);
1556
+ if (tmp1_output.pn(tmp0_desc, 7) ? true : !(value.e1g_1 == null)) {
1557
+ tmp1_output.ln(tmp0_desc, 7, StringSerializer_getInstance(), value.e1g_1);
1476
1558
  }
1477
- if (tmp1_output.jn(tmp0_desc, 8) ? true : !(value.o1e_1 == null)) {
1478
- tmp1_output.fn(tmp0_desc, 8, StringSerializer_getInstance(), value.o1e_1);
1559
+ if (tmp1_output.pn(tmp0_desc, 8) ? true : !(value.f1g_1 == null)) {
1560
+ tmp1_output.ln(tmp0_desc, 8, StringSerializer_getInstance(), value.f1g_1);
1479
1561
  }
1480
- tmp1_output.ol(tmp0_desc);
1562
+ tmp1_output.ul(tmp0_desc);
1481
1563
  };
1482
- protoOf($serializer_3).ri = function (encoder, value) {
1483
- return this.t1f(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1564
+ protoOf($serializer_3).xi = function (encoder, value) {
1565
+ return this.k1h(encoder, value instanceof IngredientItem ? value : THROW_CCE());
1484
1566
  };
1485
- protoOf($serializer_3).si = function (decoder) {
1486
- var tmp0_desc = this.s1f_1;
1567
+ protoOf($serializer_3).yi = function (decoder) {
1568
+ var tmp0_desc = this.j1h_1;
1487
1569
  var tmp1_flag = true;
1488
1570
  var tmp2_index = 0;
1489
1571
  var tmp3_bitMask0 = 0;
@@ -1496,80 +1578,80 @@
1496
1578
  var tmp10_local6 = null;
1497
1579
  var tmp11_local7 = null;
1498
1580
  var tmp12_local8 = null;
1499
- var tmp13_input = decoder.nl(tmp0_desc);
1500
- if (tmp13_input.dm()) {
1501
- tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1581
+ var tmp13_input = decoder.tl(tmp0_desc);
1582
+ if (tmp13_input.jm()) {
1583
+ tmp4_local0 = tmp13_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1502
1584
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1503
- tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1585
+ tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1504
1586
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1505
- tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1587
+ tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1506
1588
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1507
- tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1589
+ tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1508
1590
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1509
- tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1591
+ tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1510
1592
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1511
- tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1593
+ tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1512
1594
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1513
- tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1595
+ tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1514
1596
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1515
- tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1597
+ tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1516
1598
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1517
- tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1599
+ tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1518
1600
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1519
1601
  } else
1520
1602
  while (tmp1_flag) {
1521
- tmp2_index = tmp13_input.em(tmp0_desc);
1603
+ tmp2_index = tmp13_input.km(tmp0_desc);
1522
1604
  switch (tmp2_index) {
1523
1605
  case -1:
1524
1606
  tmp1_flag = false;
1525
1607
  break;
1526
1608
  case 0:
1527
- tmp4_local0 = tmp13_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1609
+ tmp4_local0 = tmp13_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
1528
1610
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1529
1611
  break;
1530
1612
  case 1:
1531
- tmp5_local1 = tmp13_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1613
+ tmp5_local1 = tmp13_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1532
1614
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1533
1615
  break;
1534
1616
  case 2:
1535
- tmp6_local2 = tmp13_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1617
+ tmp6_local2 = tmp13_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
1536
1618
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1537
1619
  break;
1538
1620
  case 3:
1539
- tmp7_local3 = tmp13_input.bm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1621
+ tmp7_local3 = tmp13_input.hm(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
1540
1622
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1541
1623
  break;
1542
1624
  case 4:
1543
- tmp8_local4 = tmp13_input.bm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1625
+ tmp8_local4 = tmp13_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
1544
1626
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1545
1627
  break;
1546
1628
  case 5:
1547
- tmp9_local5 = tmp13_input.bm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1629
+ tmp9_local5 = tmp13_input.hm(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1548
1630
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1549
1631
  break;
1550
1632
  case 6:
1551
- tmp10_local6 = tmp13_input.bm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1633
+ tmp10_local6 = tmp13_input.hm(tmp0_desc, 6, StringSerializer_getInstance(), tmp10_local6);
1552
1634
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1553
1635
  break;
1554
1636
  case 7:
1555
- tmp11_local7 = tmp13_input.bm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1637
+ tmp11_local7 = tmp13_input.hm(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1556
1638
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1557
1639
  break;
1558
1640
  case 8:
1559
- tmp12_local8 = tmp13_input.bm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1641
+ tmp12_local8 = tmp13_input.hm(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
1560
1642
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1561
1643
  break;
1562
1644
  default:
1563
1645
  throw UnknownFieldException_init_$Create$(tmp2_index);
1564
1646
  }
1565
1647
  }
1566
- tmp13_input.ol(tmp0_desc);
1648
+ tmp13_input.ul(tmp0_desc);
1567
1649
  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);
1568
1650
  };
1569
- protoOf($serializer_3).qi = function () {
1570
- return this.s1f_1;
1651
+ protoOf($serializer_3).wi = function () {
1652
+ return this.j1h_1;
1571
1653
  };
1572
- protoOf($serializer_3).ys = function () {
1654
+ protoOf($serializer_3).et = function () {
1573
1655
  // Inline function 'kotlin.arrayOf' call
1574
1656
  // Inline function 'kotlin.js.unsafeCast' call
1575
1657
  // Inline function 'kotlin.js.asDynamic' call
@@ -1583,44 +1665,44 @@
1583
1665
  }
1584
1666
  function IngredientItem_init_$Init$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker, $this) {
1585
1667
  if (!(0 === (0 & seen0))) {
1586
- throwMissingFieldException(seen0, 0, $serializer_getInstance_3().s1f_1);
1668
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_3().j1h_1);
1587
1669
  }
1588
1670
  if (0 === (seen0 & 1))
1589
- $this.g1e_1 = null;
1671
+ $this.x1f_1 = null;
1590
1672
  else
1591
- $this.g1e_1 = amount;
1673
+ $this.x1f_1 = amount;
1592
1674
  if (0 === (seen0 & 2))
1593
- $this.h1e_1 = null;
1675
+ $this.y1f_1 = null;
1594
1676
  else
1595
- $this.h1e_1 = ingredientId;
1677
+ $this.y1f_1 = ingredientId;
1596
1678
  if (0 === (seen0 & 4))
1597
- $this.i1e_1 = null;
1679
+ $this.z1f_1 = null;
1598
1680
  else
1599
- $this.i1e_1 = name;
1681
+ $this.z1f_1 = name;
1600
1682
  if (0 === (seen0 & 8))
1601
- $this.j1e_1 = null;
1683
+ $this.a1g_1 = null;
1602
1684
  else
1603
- $this.j1e_1 = optional;
1685
+ $this.a1g_1 = optional;
1604
1686
  if (0 === (seen0 & 16))
1605
- $this.k1e_1 = null;
1687
+ $this.b1g_1 = null;
1606
1688
  else
1607
- $this.k1e_1 = prefix;
1689
+ $this.b1g_1 = prefix;
1608
1690
  if (0 === (seen0 & 32))
1609
- $this.l1e_1 = null;
1691
+ $this.c1g_1 = null;
1610
1692
  else
1611
- $this.l1e_1 = suffix;
1693
+ $this.c1g_1 = suffix;
1612
1694
  if (0 === (seen0 & 64))
1613
- $this.m1e_1 = null;
1695
+ $this.d1g_1 = null;
1614
1696
  else
1615
- $this.m1e_1 = template;
1697
+ $this.d1g_1 = template;
1616
1698
  if (0 === (seen0 & 128))
1617
- $this.n1e_1 = null;
1699
+ $this.e1g_1 = null;
1618
1700
  else
1619
- $this.n1e_1 = text;
1701
+ $this.e1g_1 = text;
1620
1702
  if (0 === (seen0 & 256))
1621
- $this.o1e_1 = null;
1703
+ $this.f1g_1 = null;
1622
1704
  else
1623
- $this.o1e_1 = unit;
1705
+ $this.f1g_1 = unit;
1624
1706
  return $this;
1625
1707
  }
1626
1708
  function IngredientItem_init_$Create$(seen0, amount, ingredientId, name, optional, prefix, suffix, template, text, unit, serializationConstructorMarker) {
@@ -1636,44 +1718,44 @@
1636
1718
  template = template === VOID ? null : template;
1637
1719
  text = text === VOID ? null : text;
1638
1720
  unit = unit === VOID ? null : unit;
1639
- this.g1e_1 = amount;
1640
- this.h1e_1 = ingredientId;
1641
- this.i1e_1 = name;
1642
- this.j1e_1 = optional;
1643
- this.k1e_1 = prefix;
1644
- this.l1e_1 = suffix;
1645
- this.m1e_1 = template;
1646
- this.n1e_1 = text;
1647
- this.o1e_1 = unit;
1648
- }
1649
- protoOf(IngredientItem).u1f = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1721
+ this.x1f_1 = amount;
1722
+ this.y1f_1 = ingredientId;
1723
+ this.z1f_1 = name;
1724
+ this.a1g_1 = optional;
1725
+ this.b1g_1 = prefix;
1726
+ this.c1g_1 = suffix;
1727
+ this.d1g_1 = template;
1728
+ this.e1g_1 = text;
1729
+ this.f1g_1 = unit;
1730
+ }
1731
+ protoOf(IngredientItem).l1h = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit) {
1650
1732
  return new IngredientItem(amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1651
1733
  };
1652
- protoOf(IngredientItem).p1e = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1653
- amount = amount === VOID ? this.g1e_1 : amount;
1654
- ingredientId = ingredientId === VOID ? this.h1e_1 : ingredientId;
1655
- name = name === VOID ? this.i1e_1 : name;
1656
- optional = optional === VOID ? this.j1e_1 : optional;
1657
- prefix = prefix === VOID ? this.k1e_1 : prefix;
1658
- suffix = suffix === VOID ? this.l1e_1 : suffix;
1659
- template = template === VOID ? this.m1e_1 : template;
1660
- text = text === VOID ? this.n1e_1 : text;
1661
- unit = unit === VOID ? this.o1e_1 : unit;
1662
- return $super === VOID ? this.u1f(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.u1f.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1734
+ protoOf(IngredientItem).g1g = function (amount, ingredientId, name, optional, prefix, suffix, template, text, unit, $super) {
1735
+ amount = amount === VOID ? this.x1f_1 : amount;
1736
+ ingredientId = ingredientId === VOID ? this.y1f_1 : ingredientId;
1737
+ name = name === VOID ? this.z1f_1 : name;
1738
+ optional = optional === VOID ? this.a1g_1 : optional;
1739
+ prefix = prefix === VOID ? this.b1g_1 : prefix;
1740
+ suffix = suffix === VOID ? this.c1g_1 : suffix;
1741
+ template = template === VOID ? this.d1g_1 : template;
1742
+ text = text === VOID ? this.e1g_1 : text;
1743
+ unit = unit === VOID ? this.f1g_1 : unit;
1744
+ return $super === VOID ? this.l1h(amount, ingredientId, name, optional, prefix, suffix, template, text, unit) : $super.l1h.call(this, amount, ingredientId, name, optional, prefix, suffix, template, text, unit);
1663
1745
  };
1664
1746
  protoOf(IngredientItem).toString = function () {
1665
- return 'IngredientItem(amount=' + toString(this.g1e_1) + ', ingredientId=' + this.h1e_1 + ', name=' + this.i1e_1 + ', optional=' + this.j1e_1 + ', prefix=' + this.k1e_1 + ', suffix=' + this.l1e_1 + ', template=' + this.m1e_1 + ', text=' + this.n1e_1 + ', unit=' + this.o1e_1 + ')';
1747
+ return 'IngredientItem(amount=' + toString(this.x1f_1) + ', ingredientId=' + this.y1f_1 + ', name=' + this.z1f_1 + ', optional=' + this.a1g_1 + ', prefix=' + this.b1g_1 + ', suffix=' + this.c1g_1 + ', template=' + this.d1g_1 + ', text=' + this.e1g_1 + ', unit=' + this.f1g_1 + ')';
1666
1748
  };
1667
1749
  protoOf(IngredientItem).hashCode = function () {
1668
- var result = this.g1e_1 == null ? 0 : this.g1e_1.hashCode();
1669
- result = imul(result, 31) + (this.h1e_1 == null ? 0 : getStringHashCode(this.h1e_1)) | 0;
1670
- result = imul(result, 31) + (this.i1e_1 == null ? 0 : getStringHashCode(this.i1e_1)) | 0;
1671
- result = imul(result, 31) + (this.j1e_1 == null ? 0 : getBooleanHashCode(this.j1e_1)) | 0;
1672
- result = imul(result, 31) + (this.k1e_1 == null ? 0 : getStringHashCode(this.k1e_1)) | 0;
1673
- result = imul(result, 31) + (this.l1e_1 == null ? 0 : getStringHashCode(this.l1e_1)) | 0;
1674
- result = imul(result, 31) + (this.m1e_1 == null ? 0 : getStringHashCode(this.m1e_1)) | 0;
1675
- result = imul(result, 31) + (this.n1e_1 == null ? 0 : getStringHashCode(this.n1e_1)) | 0;
1676
- result = imul(result, 31) + (this.o1e_1 == null ? 0 : getStringHashCode(this.o1e_1)) | 0;
1750
+ var result = this.x1f_1 == null ? 0 : this.x1f_1.hashCode();
1751
+ result = imul(result, 31) + (this.y1f_1 == null ? 0 : getStringHashCode(this.y1f_1)) | 0;
1752
+ result = imul(result, 31) + (this.z1f_1 == null ? 0 : getStringHashCode(this.z1f_1)) | 0;
1753
+ result = imul(result, 31) + (this.a1g_1 == null ? 0 : getBooleanHashCode(this.a1g_1)) | 0;
1754
+ result = imul(result, 31) + (this.b1g_1 == null ? 0 : getStringHashCode(this.b1g_1)) | 0;
1755
+ result = imul(result, 31) + (this.c1g_1 == null ? 0 : getStringHashCode(this.c1g_1)) | 0;
1756
+ result = imul(result, 31) + (this.d1g_1 == null ? 0 : getStringHashCode(this.d1g_1)) | 0;
1757
+ result = imul(result, 31) + (this.e1g_1 == null ? 0 : getStringHashCode(this.e1g_1)) | 0;
1758
+ result = imul(result, 31) + (this.f1g_1 == null ? 0 : getStringHashCode(this.f1g_1)) | 0;
1677
1759
  return result;
1678
1760
  };
1679
1761
  protoOf(IngredientItem).equals = function (other) {
@@ -1681,23 +1763,23 @@
1681
1763
  return true;
1682
1764
  if (!(other instanceof IngredientItem))
1683
1765
  return false;
1684
- if (!equals(this.g1e_1, other.g1e_1))
1766
+ if (!equals(this.x1f_1, other.x1f_1))
1685
1767
  return false;
1686
- if (!(this.h1e_1 == other.h1e_1))
1768
+ if (!(this.y1f_1 == other.y1f_1))
1687
1769
  return false;
1688
- if (!(this.i1e_1 == other.i1e_1))
1770
+ if (!(this.z1f_1 == other.z1f_1))
1689
1771
  return false;
1690
- if (!(this.j1e_1 == other.j1e_1))
1772
+ if (!(this.a1g_1 == other.a1g_1))
1691
1773
  return false;
1692
- if (!(this.k1e_1 == other.k1e_1))
1774
+ if (!(this.b1g_1 == other.b1g_1))
1693
1775
  return false;
1694
- if (!(this.l1e_1 == other.l1e_1))
1776
+ if (!(this.c1g_1 == other.c1g_1))
1695
1777
  return false;
1696
- if (!(this.m1e_1 == other.m1e_1))
1778
+ if (!(this.d1g_1 == other.d1g_1))
1697
1779
  return false;
1698
- if (!(this.n1e_1 == other.n1e_1))
1780
+ if (!(this.e1g_1 == other.e1g_1))
1699
1781
  return false;
1700
- if (!(this.o1e_1 == other.o1e_1))
1782
+ if (!(this.f1g_1 == other.f1g_1))
1701
1783
  return false;
1702
1784
  return true;
1703
1785
  };
@@ -1710,63 +1792,63 @@
1710
1792
  function $serializer_4() {
1711
1793
  $serializer_instance_4 = this;
1712
1794
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Range', this, 2);
1713
- tmp0_serialDesc.ws('max', true);
1714
- tmp0_serialDesc.ws('min', true);
1715
- this.v1f_1 = tmp0_serialDesc;
1795
+ tmp0_serialDesc.ct('max', true);
1796
+ tmp0_serialDesc.ct('min', true);
1797
+ this.m1h_1 = tmp0_serialDesc;
1716
1798
  }
1717
- protoOf($serializer_4).w1f = function (encoder, value) {
1718
- var tmp0_desc = this.v1f_1;
1719
- var tmp1_output = encoder.nl(tmp0_desc);
1720
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.x1f_1 == null)) {
1721
- tmp1_output.fn(tmp0_desc, 0, DoubleSerializer_getInstance(), value.x1f_1);
1799
+ protoOf($serializer_4).n1h = function (encoder, value) {
1800
+ var tmp0_desc = this.m1h_1;
1801
+ var tmp1_output = encoder.tl(tmp0_desc);
1802
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.o1h_1 == null)) {
1803
+ tmp1_output.ln(tmp0_desc, 0, DoubleSerializer_getInstance(), value.o1h_1);
1722
1804
  }
1723
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.y1f_1 == null)) {
1724
- tmp1_output.fn(tmp0_desc, 1, DoubleSerializer_getInstance(), value.y1f_1);
1805
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.p1h_1 == null)) {
1806
+ tmp1_output.ln(tmp0_desc, 1, DoubleSerializer_getInstance(), value.p1h_1);
1725
1807
  }
1726
- tmp1_output.ol(tmp0_desc);
1808
+ tmp1_output.ul(tmp0_desc);
1727
1809
  };
1728
- protoOf($serializer_4).ri = function (encoder, value) {
1729
- return this.w1f(encoder, value instanceof Range ? value : THROW_CCE());
1810
+ protoOf($serializer_4).xi = function (encoder, value) {
1811
+ return this.n1h(encoder, value instanceof Range ? value : THROW_CCE());
1730
1812
  };
1731
- protoOf($serializer_4).si = function (decoder) {
1732
- var tmp0_desc = this.v1f_1;
1813
+ protoOf($serializer_4).yi = function (decoder) {
1814
+ var tmp0_desc = this.m1h_1;
1733
1815
  var tmp1_flag = true;
1734
1816
  var tmp2_index = 0;
1735
1817
  var tmp3_bitMask0 = 0;
1736
1818
  var tmp4_local0 = null;
1737
1819
  var tmp5_local1 = null;
1738
- var tmp6_input = decoder.nl(tmp0_desc);
1739
- if (tmp6_input.dm()) {
1740
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1820
+ var tmp6_input = decoder.tl(tmp0_desc);
1821
+ if (tmp6_input.jm()) {
1822
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1741
1823
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1742
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1824
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1743
1825
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1744
1826
  } else
1745
1827
  while (tmp1_flag) {
1746
- tmp2_index = tmp6_input.em(tmp0_desc);
1828
+ tmp2_index = tmp6_input.km(tmp0_desc);
1747
1829
  switch (tmp2_index) {
1748
1830
  case -1:
1749
1831
  tmp1_flag = false;
1750
1832
  break;
1751
1833
  case 0:
1752
- tmp4_local0 = tmp6_input.bm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1834
+ tmp4_local0 = tmp6_input.hm(tmp0_desc, 0, DoubleSerializer_getInstance(), tmp4_local0);
1753
1835
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1754
1836
  break;
1755
1837
  case 1:
1756
- tmp5_local1 = tmp6_input.bm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1838
+ tmp5_local1 = tmp6_input.hm(tmp0_desc, 1, DoubleSerializer_getInstance(), tmp5_local1);
1757
1839
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1758
1840
  break;
1759
1841
  default:
1760
1842
  throw UnknownFieldException_init_$Create$(tmp2_index);
1761
1843
  }
1762
1844
  }
1763
- tmp6_input.ol(tmp0_desc);
1845
+ tmp6_input.ul(tmp0_desc);
1764
1846
  return Range_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
1765
1847
  };
1766
- protoOf($serializer_4).qi = function () {
1767
- return this.v1f_1;
1848
+ protoOf($serializer_4).wi = function () {
1849
+ return this.m1h_1;
1768
1850
  };
1769
- protoOf($serializer_4).ys = function () {
1851
+ protoOf($serializer_4).et = function () {
1770
1852
  // Inline function 'kotlin.arrayOf' call
1771
1853
  // Inline function 'kotlin.js.unsafeCast' call
1772
1854
  // Inline function 'kotlin.js.asDynamic' call
@@ -1780,16 +1862,16 @@
1780
1862
  }
1781
1863
  function Range_init_$Init$(seen0, max, min, serializationConstructorMarker, $this) {
1782
1864
  if (!(0 === (0 & seen0))) {
1783
- throwMissingFieldException(seen0, 0, $serializer_getInstance_4().v1f_1);
1865
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_4().m1h_1);
1784
1866
  }
1785
1867
  if (0 === (seen0 & 1))
1786
- $this.x1f_1 = null;
1868
+ $this.o1h_1 = null;
1787
1869
  else
1788
- $this.x1f_1 = max;
1870
+ $this.o1h_1 = max;
1789
1871
  if (0 === (seen0 & 2))
1790
- $this.y1f_1 = null;
1872
+ $this.p1h_1 = null;
1791
1873
  else
1792
- $this.y1f_1 = min;
1874
+ $this.p1h_1 = min;
1793
1875
  return $this;
1794
1876
  }
1795
1877
  function Range_init_$Create$(seen0, max, min, serializationConstructorMarker) {
@@ -1798,15 +1880,15 @@
1798
1880
  function Range(max, min) {
1799
1881
  max = max === VOID ? null : max;
1800
1882
  min = min === VOID ? null : min;
1801
- this.x1f_1 = max;
1802
- this.y1f_1 = min;
1883
+ this.o1h_1 = max;
1884
+ this.p1h_1 = min;
1803
1885
  }
1804
1886
  protoOf(Range).toString = function () {
1805
- return 'Range(max=' + this.x1f_1 + ', min=' + this.y1f_1 + ')';
1887
+ return 'Range(max=' + this.o1h_1 + ', min=' + this.p1h_1 + ')';
1806
1888
  };
1807
1889
  protoOf(Range).hashCode = function () {
1808
- var result = this.x1f_1 == null ? 0 : getNumberHashCode(this.x1f_1);
1809
- result = imul(result, 31) + (this.y1f_1 == null ? 0 : getNumberHashCode(this.y1f_1)) | 0;
1890
+ var result = this.o1h_1 == null ? 0 : getNumberHashCode(this.o1h_1);
1891
+ result = imul(result, 31) + (this.p1h_1 == null ? 0 : getNumberHashCode(this.p1h_1)) | 0;
1810
1892
  return result;
1811
1893
  };
1812
1894
  protoOf(Range).equals = function (other) {
@@ -1814,9 +1896,9 @@
1814
1896
  return true;
1815
1897
  if (!(other instanceof Range))
1816
1898
  return false;
1817
- if (!equals(this.x1f_1, other.x1f_1))
1899
+ if (!equals(this.o1h_1, other.o1h_1))
1818
1900
  return false;
1819
- if (!equals(this.y1f_1, other.y1f_1))
1901
+ if (!equals(this.p1h_1, other.p1h_1))
1820
1902
  return false;
1821
1903
  return true;
1822
1904
  };
@@ -1830,7 +1912,7 @@
1830
1912
  // Inline function 'kotlin.arrayOf' call
1831
1913
  // Inline function 'kotlin.js.unsafeCast' call
1832
1914
  // Inline function 'kotlin.js.asDynamic' call
1833
- tmp.z1f_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1915
+ tmp.q1h_1 = [null, null, lazy(tmp_0, Instruction$Companion$$childSerializers$_anonymous__sbbefw), null];
1834
1916
  }
1835
1917
  var Companion_instance_3;
1836
1918
  function Companion_getInstance_3() {
@@ -1841,33 +1923,33 @@
1841
1923
  function $serializer_5() {
1842
1924
  $serializer_instance_5 = this;
1843
1925
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Instruction', this, 4);
1844
- tmp0_serialDesc.ws('description', false);
1845
- tmp0_serialDesc.ws('descriptionTemplate', true);
1846
- tmp0_serialDesc.ws('images', true);
1847
- tmp0_serialDesc.ws('stepNumber', true);
1848
- this.a1g_1 = tmp0_serialDesc;
1926
+ tmp0_serialDesc.ct('description', false);
1927
+ tmp0_serialDesc.ct('descriptionTemplate', true);
1928
+ tmp0_serialDesc.ct('images', true);
1929
+ tmp0_serialDesc.ct('stepNumber', true);
1930
+ this.r1h_1 = tmp0_serialDesc;
1849
1931
  }
1850
- protoOf($serializer_5).b1g = function (encoder, value) {
1851
- var tmp0_desc = this.a1g_1;
1852
- var tmp1_output = encoder.nl(tmp0_desc);
1853
- var tmp2_cached = Companion_getInstance_3().z1f_1;
1854
- tmp1_output.bn(tmp0_desc, 0, value.q1e_1);
1855
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.r1e_1 == null)) {
1856
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.r1e_1);
1932
+ protoOf($serializer_5).s1h = function (encoder, value) {
1933
+ var tmp0_desc = this.r1h_1;
1934
+ var tmp1_output = encoder.tl(tmp0_desc);
1935
+ var tmp2_cached = Companion_getInstance_3().q1h_1;
1936
+ tmp1_output.hn(tmp0_desc, 0, value.h1g_1);
1937
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.i1g_1 == null)) {
1938
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.i1g_1);
1857
1939
  }
1858
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.s1e_1 == null)) {
1859
- tmp1_output.fn(tmp0_desc, 2, tmp2_cached[2].t1(), value.s1e_1);
1940
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.j1g_1 == null)) {
1941
+ tmp1_output.ln(tmp0_desc, 2, tmp2_cached[2].t1(), value.j1g_1);
1860
1942
  }
1861
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.t1e_1 == null)) {
1862
- tmp1_output.fn(tmp0_desc, 3, DoubleSerializer_getInstance(), value.t1e_1);
1943
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.k1g_1 == null)) {
1944
+ tmp1_output.ln(tmp0_desc, 3, DoubleSerializer_getInstance(), value.k1g_1);
1863
1945
  }
1864
- tmp1_output.ol(tmp0_desc);
1946
+ tmp1_output.ul(tmp0_desc);
1865
1947
  };
1866
- protoOf($serializer_5).ri = function (encoder, value) {
1867
- return this.b1g(encoder, value instanceof Instruction ? value : THROW_CCE());
1948
+ protoOf($serializer_5).xi = function (encoder, value) {
1949
+ return this.s1h(encoder, value instanceof Instruction ? value : THROW_CCE());
1868
1950
  };
1869
- protoOf($serializer_5).si = function (decoder) {
1870
- var tmp0_desc = this.a1g_1;
1951
+ protoOf($serializer_5).yi = function (decoder) {
1952
+ var tmp0_desc = this.r1h_1;
1871
1953
  var tmp1_flag = true;
1872
1954
  var tmp2_index = 0;
1873
1955
  var tmp3_bitMask0 = 0;
@@ -1875,52 +1957,52 @@
1875
1957
  var tmp5_local1 = null;
1876
1958
  var tmp6_local2 = null;
1877
1959
  var tmp7_local3 = null;
1878
- var tmp8_input = decoder.nl(tmp0_desc);
1879
- var tmp9_cached = Companion_getInstance_3().z1f_1;
1880
- if (tmp8_input.dm()) {
1881
- tmp4_local0 = tmp8_input.xl(tmp0_desc, 0);
1960
+ var tmp8_input = decoder.tl(tmp0_desc);
1961
+ var tmp9_cached = Companion_getInstance_3().q1h_1;
1962
+ if (tmp8_input.jm()) {
1963
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
1882
1964
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1883
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1965
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1884
1966
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1885
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1967
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1886
1968
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1887
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1969
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1888
1970
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1889
1971
  } else
1890
1972
  while (tmp1_flag) {
1891
- tmp2_index = tmp8_input.em(tmp0_desc);
1973
+ tmp2_index = tmp8_input.km(tmp0_desc);
1892
1974
  switch (tmp2_index) {
1893
1975
  case -1:
1894
1976
  tmp1_flag = false;
1895
1977
  break;
1896
1978
  case 0:
1897
- tmp4_local0 = tmp8_input.xl(tmp0_desc, 0);
1979
+ tmp4_local0 = tmp8_input.dm(tmp0_desc, 0);
1898
1980
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1899
1981
  break;
1900
1982
  case 1:
1901
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1983
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
1902
1984
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1903
1985
  break;
1904
1986
  case 2:
1905
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1987
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, tmp9_cached[2].t1(), tmp6_local2);
1906
1988
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1907
1989
  break;
1908
1990
  case 3:
1909
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1991
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, DoubleSerializer_getInstance(), tmp7_local3);
1910
1992
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1911
1993
  break;
1912
1994
  default:
1913
1995
  throw UnknownFieldException_init_$Create$(tmp2_index);
1914
1996
  }
1915
1997
  }
1916
- tmp8_input.ol(tmp0_desc);
1998
+ tmp8_input.ul(tmp0_desc);
1917
1999
  return Instruction_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
1918
2000
  };
1919
- protoOf($serializer_5).qi = function () {
1920
- return this.a1g_1;
2001
+ protoOf($serializer_5).wi = function () {
2002
+ return this.r1h_1;
1921
2003
  };
1922
- protoOf($serializer_5).ys = function () {
1923
- var tmp0_cached = Companion_getInstance_3().z1f_1;
2004
+ protoOf($serializer_5).et = function () {
2005
+ var tmp0_cached = Companion_getInstance_3().q1h_1;
1924
2006
  // Inline function 'kotlin.arrayOf' call
1925
2007
  // Inline function 'kotlin.js.unsafeCast' call
1926
2008
  // Inline function 'kotlin.js.asDynamic' call
@@ -1934,21 +2016,21 @@
1934
2016
  }
1935
2017
  function Instruction_init_$Init$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker, $this) {
1936
2018
  if (!(1 === (1 & seen0))) {
1937
- throwMissingFieldException(seen0, 1, $serializer_getInstance_5().a1g_1);
2019
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_5().r1h_1);
1938
2020
  }
1939
- $this.q1e_1 = description;
2021
+ $this.h1g_1 = description;
1940
2022
  if (0 === (seen0 & 2))
1941
- $this.r1e_1 = null;
2023
+ $this.i1g_1 = null;
1942
2024
  else
1943
- $this.r1e_1 = descriptionTemplate;
2025
+ $this.i1g_1 = descriptionTemplate;
1944
2026
  if (0 === (seen0 & 4))
1945
- $this.s1e_1 = null;
2027
+ $this.j1g_1 = null;
1946
2028
  else
1947
- $this.s1e_1 = images;
2029
+ $this.j1g_1 = images;
1948
2030
  if (0 === (seen0 & 8))
1949
- $this.t1e_1 = null;
2031
+ $this.k1g_1 = null;
1950
2032
  else
1951
- $this.t1e_1 = stepNumber;
2033
+ $this.k1g_1 = stepNumber;
1952
2034
  return $this;
1953
2035
  }
1954
2036
  function Instruction_init_$Create$(seen0, description, descriptionTemplate, images, stepNumber, serializationConstructorMarker) {
@@ -1959,29 +2041,29 @@
1959
2041
  descriptionTemplate = descriptionTemplate === VOID ? null : descriptionTemplate;
1960
2042
  images = images === VOID ? null : images;
1961
2043
  stepNumber = stepNumber === VOID ? null : stepNumber;
1962
- this.q1e_1 = description;
1963
- this.r1e_1 = descriptionTemplate;
1964
- this.s1e_1 = images;
1965
- this.t1e_1 = stepNumber;
2044
+ this.h1g_1 = description;
2045
+ this.i1g_1 = descriptionTemplate;
2046
+ this.j1g_1 = images;
2047
+ this.k1g_1 = stepNumber;
1966
2048
  }
1967
- protoOf(Instruction).c1g = function (description, descriptionTemplate, images, stepNumber) {
2049
+ protoOf(Instruction).t1h = function (description, descriptionTemplate, images, stepNumber) {
1968
2050
  return new Instruction(description, descriptionTemplate, images, stepNumber);
1969
2051
  };
1970
- protoOf(Instruction).u1e = function (description, descriptionTemplate, images, stepNumber, $super) {
1971
- description = description === VOID ? this.q1e_1 : description;
1972
- descriptionTemplate = descriptionTemplate === VOID ? this.r1e_1 : descriptionTemplate;
1973
- images = images === VOID ? this.s1e_1 : images;
1974
- stepNumber = stepNumber === VOID ? this.t1e_1 : stepNumber;
1975
- return $super === VOID ? this.c1g(description, descriptionTemplate, images, stepNumber) : $super.c1g.call(this, description, descriptionTemplate, images, stepNumber);
2052
+ protoOf(Instruction).l1g = function (description, descriptionTemplate, images, stepNumber, $super) {
2053
+ description = description === VOID ? this.h1g_1 : description;
2054
+ descriptionTemplate = descriptionTemplate === VOID ? this.i1g_1 : descriptionTemplate;
2055
+ images = images === VOID ? this.j1g_1 : images;
2056
+ stepNumber = stepNumber === VOID ? this.k1g_1 : stepNumber;
2057
+ return $super === VOID ? this.t1h(description, descriptionTemplate, images, stepNumber) : $super.t1h.call(this, description, descriptionTemplate, images, stepNumber);
1976
2058
  };
1977
2059
  protoOf(Instruction).toString = function () {
1978
- return 'Instruction(description=' + this.q1e_1 + ', descriptionTemplate=' + this.r1e_1 + ', images=' + toString(this.s1e_1) + ', stepNumber=' + this.t1e_1 + ')';
2060
+ return 'Instruction(description=' + this.h1g_1 + ', descriptionTemplate=' + this.i1g_1 + ', images=' + toString(this.j1g_1) + ', stepNumber=' + this.k1g_1 + ')';
1979
2061
  };
1980
2062
  protoOf(Instruction).hashCode = function () {
1981
- var result = getStringHashCode(this.q1e_1);
1982
- result = imul(result, 31) + (this.r1e_1 == null ? 0 : getStringHashCode(this.r1e_1)) | 0;
1983
- result = imul(result, 31) + (this.s1e_1 == null ? 0 : hashCode(this.s1e_1)) | 0;
1984
- result = imul(result, 31) + (this.t1e_1 == null ? 0 : getNumberHashCode(this.t1e_1)) | 0;
2063
+ var result = getStringHashCode(this.h1g_1);
2064
+ result = imul(result, 31) + (this.i1g_1 == null ? 0 : getStringHashCode(this.i1g_1)) | 0;
2065
+ result = imul(result, 31) + (this.j1g_1 == null ? 0 : hashCode(this.j1g_1)) | 0;
2066
+ result = imul(result, 31) + (this.k1g_1 == null ? 0 : getNumberHashCode(this.k1g_1)) | 0;
1985
2067
  return result;
1986
2068
  };
1987
2069
  protoOf(Instruction).equals = function (other) {
@@ -1989,85 +2071,85 @@
1989
2071
  return true;
1990
2072
  if (!(other instanceof Instruction))
1991
2073
  return false;
1992
- if (!(this.q1e_1 === other.q1e_1))
2074
+ if (!(this.h1g_1 === other.h1g_1))
1993
2075
  return false;
1994
- if (!(this.r1e_1 == other.r1e_1))
2076
+ if (!(this.i1g_1 == other.i1g_1))
1995
2077
  return false;
1996
- if (!equals(this.s1e_1, other.s1e_1))
2078
+ if (!equals(this.j1g_1, other.j1g_1))
1997
2079
  return false;
1998
- if (!equals(this.t1e_1, other.t1e_1))
2080
+ if (!equals(this.k1g_1, other.k1g_1))
1999
2081
  return false;
2000
2082
  return true;
2001
2083
  };
2002
2084
  function $serializer_6() {
2003
2085
  $serializer_instance_6 = this;
2004
2086
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Serves', this, 3);
2005
- tmp0_serialDesc.ws('amount', true);
2006
- tmp0_serialDesc.ws('text', true);
2007
- tmp0_serialDesc.ws('unit', false);
2008
- this.d1g_1 = tmp0_serialDesc;
2087
+ tmp0_serialDesc.ct('amount', true);
2088
+ tmp0_serialDesc.ct('text', true);
2089
+ tmp0_serialDesc.ct('unit', false);
2090
+ this.u1h_1 = tmp0_serialDesc;
2009
2091
  }
2010
- protoOf($serializer_6).e1g = function (encoder, value) {
2011
- var tmp0_desc = this.d1g_1;
2012
- var tmp1_output = encoder.nl(tmp0_desc);
2013
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.f1g_1 == null)) {
2014
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.f1g_1);
2092
+ protoOf($serializer_6).v1h = function (encoder, value) {
2093
+ var tmp0_desc = this.u1h_1;
2094
+ var tmp1_output = encoder.tl(tmp0_desc);
2095
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.w1h_1 == null)) {
2096
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.w1h_1);
2015
2097
  }
2016
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.g1g_1 == null)) {
2017
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.g1g_1);
2098
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.x1h_1 == null)) {
2099
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.x1h_1);
2018
2100
  }
2019
- tmp1_output.bn(tmp0_desc, 2, value.h1g_1);
2020
- tmp1_output.ol(tmp0_desc);
2101
+ tmp1_output.hn(tmp0_desc, 2, value.y1h_1);
2102
+ tmp1_output.ul(tmp0_desc);
2021
2103
  };
2022
- protoOf($serializer_6).ri = function (encoder, value) {
2023
- return this.e1g(encoder, value instanceof Serves ? value : THROW_CCE());
2104
+ protoOf($serializer_6).xi = function (encoder, value) {
2105
+ return this.v1h(encoder, value instanceof Serves ? value : THROW_CCE());
2024
2106
  };
2025
- protoOf($serializer_6).si = function (decoder) {
2026
- var tmp0_desc = this.d1g_1;
2107
+ protoOf($serializer_6).yi = function (decoder) {
2108
+ var tmp0_desc = this.u1h_1;
2027
2109
  var tmp1_flag = true;
2028
2110
  var tmp2_index = 0;
2029
2111
  var tmp3_bitMask0 = 0;
2030
2112
  var tmp4_local0 = null;
2031
2113
  var tmp5_local1 = null;
2032
2114
  var tmp6_local2 = null;
2033
- var tmp7_input = decoder.nl(tmp0_desc);
2034
- if (tmp7_input.dm()) {
2035
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2115
+ var tmp7_input = decoder.tl(tmp0_desc);
2116
+ if (tmp7_input.jm()) {
2117
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2036
2118
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2037
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2119
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2038
2120
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2039
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
2121
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2040
2122
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2041
2123
  } else
2042
2124
  while (tmp1_flag) {
2043
- tmp2_index = tmp7_input.em(tmp0_desc);
2125
+ tmp2_index = tmp7_input.km(tmp0_desc);
2044
2126
  switch (tmp2_index) {
2045
2127
  case -1:
2046
2128
  tmp1_flag = false;
2047
2129
  break;
2048
2130
  case 0:
2049
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2131
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2050
2132
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2051
2133
  break;
2052
2134
  case 1:
2053
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2135
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2054
2136
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2055
2137
  break;
2056
2138
  case 2:
2057
- tmp6_local2 = tmp7_input.xl(tmp0_desc, 2);
2139
+ tmp6_local2 = tmp7_input.dm(tmp0_desc, 2);
2058
2140
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2059
2141
  break;
2060
2142
  default:
2061
2143
  throw UnknownFieldException_init_$Create$(tmp2_index);
2062
2144
  }
2063
2145
  }
2064
- tmp7_input.ol(tmp0_desc);
2146
+ tmp7_input.ul(tmp0_desc);
2065
2147
  return Serves_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2066
2148
  };
2067
- protoOf($serializer_6).qi = function () {
2068
- return this.d1g_1;
2149
+ protoOf($serializer_6).wi = function () {
2150
+ return this.u1h_1;
2069
2151
  };
2070
- protoOf($serializer_6).ys = function () {
2152
+ protoOf($serializer_6).et = function () {
2071
2153
  // Inline function 'kotlin.arrayOf' call
2072
2154
  // Inline function 'kotlin.js.unsafeCast' call
2073
2155
  // Inline function 'kotlin.js.asDynamic' call
@@ -2081,17 +2163,17 @@
2081
2163
  }
2082
2164
  function Serves_init_$Init$(seen0, amount, text, unit, serializationConstructorMarker, $this) {
2083
2165
  if (!(4 === (4 & seen0))) {
2084
- throwMissingFieldException(seen0, 4, $serializer_getInstance_6().d1g_1);
2166
+ throwMissingFieldException(seen0, 4, $serializer_getInstance_6().u1h_1);
2085
2167
  }
2086
2168
  if (0 === (seen0 & 1))
2087
- $this.f1g_1 = null;
2169
+ $this.w1h_1 = null;
2088
2170
  else
2089
- $this.f1g_1 = amount;
2171
+ $this.w1h_1 = amount;
2090
2172
  if (0 === (seen0 & 2))
2091
- $this.g1g_1 = null;
2173
+ $this.x1h_1 = null;
2092
2174
  else
2093
- $this.g1g_1 = text;
2094
- $this.h1g_1 = unit;
2175
+ $this.x1h_1 = text;
2176
+ $this.y1h_1 = unit;
2095
2177
  return $this;
2096
2178
  }
2097
2179
  function Serves_init_$Create$(seen0, amount, text, unit, serializationConstructorMarker) {
@@ -2100,12 +2182,12 @@
2100
2182
  function Serves() {
2101
2183
  }
2102
2184
  protoOf(Serves).toString = function () {
2103
- return 'Serves(amount=' + toString(this.f1g_1) + ', text=' + this.g1g_1 + ', unit=' + this.h1g_1 + ')';
2185
+ return 'Serves(amount=' + toString(this.w1h_1) + ', text=' + this.x1h_1 + ', unit=' + this.y1h_1 + ')';
2104
2186
  };
2105
2187
  protoOf(Serves).hashCode = function () {
2106
- var result = this.f1g_1 == null ? 0 : this.f1g_1.hashCode();
2107
- result = imul(result, 31) + (this.g1g_1 == null ? 0 : getStringHashCode(this.g1g_1)) | 0;
2108
- result = imul(result, 31) + getStringHashCode(this.h1g_1) | 0;
2188
+ var result = this.w1h_1 == null ? 0 : this.w1h_1.hashCode();
2189
+ result = imul(result, 31) + (this.x1h_1 == null ? 0 : getStringHashCode(this.x1h_1)) | 0;
2190
+ result = imul(result, 31) + getStringHashCode(this.y1h_1) | 0;
2109
2191
  return result;
2110
2192
  };
2111
2193
  protoOf(Serves).equals = function (other) {
@@ -2113,11 +2195,11 @@
2113
2195
  return true;
2114
2196
  if (!(other instanceof Serves))
2115
2197
  return false;
2116
- if (!equals(this.f1g_1, other.f1g_1))
2198
+ if (!equals(this.w1h_1, other.w1h_1))
2117
2199
  return false;
2118
- if (!(this.g1g_1 == other.g1g_1))
2200
+ if (!(this.x1h_1 == other.x1h_1))
2119
2201
  return false;
2120
- if (!(this.h1g_1 === other.h1g_1))
2202
+ if (!(this.y1h_1 === other.y1h_1))
2121
2203
  return false;
2122
2204
  return true;
2123
2205
  };
@@ -2130,74 +2212,74 @@
2130
2212
  function $serializer_7() {
2131
2213
  $serializer_instance_7 = this;
2132
2214
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.generated.Timing', this, 3);
2133
- tmp0_serialDesc.ws('durationInMins', true);
2134
- tmp0_serialDesc.ws('qualifier', true);
2135
- tmp0_serialDesc.ws('text', true);
2136
- this.i1g_1 = tmp0_serialDesc;
2215
+ tmp0_serialDesc.ct('durationInMins', true);
2216
+ tmp0_serialDesc.ct('qualifier', true);
2217
+ tmp0_serialDesc.ct('text', true);
2218
+ this.z1h_1 = tmp0_serialDesc;
2137
2219
  }
2138
- protoOf($serializer_7).j1g = function (encoder, value) {
2139
- var tmp0_desc = this.i1g_1;
2140
- var tmp1_output = encoder.nl(tmp0_desc);
2141
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.k1g_1 == null)) {
2142
- tmp1_output.fn(tmp0_desc, 0, $serializer_getInstance_4(), value.k1g_1);
2220
+ protoOf($serializer_7).a1i = function (encoder, value) {
2221
+ var tmp0_desc = this.z1h_1;
2222
+ var tmp1_output = encoder.tl(tmp0_desc);
2223
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.b1i_1 == null)) {
2224
+ tmp1_output.ln(tmp0_desc, 0, $serializer_getInstance_4(), value.b1i_1);
2143
2225
  }
2144
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.l1g_1 == null)) {
2145
- tmp1_output.fn(tmp0_desc, 1, StringSerializer_getInstance(), value.l1g_1);
2226
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.c1i_1 == null)) {
2227
+ tmp1_output.ln(tmp0_desc, 1, StringSerializer_getInstance(), value.c1i_1);
2146
2228
  }
2147
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.m1g_1 == null)) {
2148
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.m1g_1);
2229
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.d1i_1 == null)) {
2230
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.d1i_1);
2149
2231
  }
2150
- tmp1_output.ol(tmp0_desc);
2232
+ tmp1_output.ul(tmp0_desc);
2151
2233
  };
2152
- protoOf($serializer_7).ri = function (encoder, value) {
2153
- return this.j1g(encoder, value instanceof Timing ? value : THROW_CCE());
2234
+ protoOf($serializer_7).xi = function (encoder, value) {
2235
+ return this.a1i(encoder, value instanceof Timing ? value : THROW_CCE());
2154
2236
  };
2155
- protoOf($serializer_7).si = function (decoder) {
2156
- var tmp0_desc = this.i1g_1;
2237
+ protoOf($serializer_7).yi = function (decoder) {
2238
+ var tmp0_desc = this.z1h_1;
2157
2239
  var tmp1_flag = true;
2158
2240
  var tmp2_index = 0;
2159
2241
  var tmp3_bitMask0 = 0;
2160
2242
  var tmp4_local0 = null;
2161
2243
  var tmp5_local1 = null;
2162
2244
  var tmp6_local2 = null;
2163
- var tmp7_input = decoder.nl(tmp0_desc);
2164
- if (tmp7_input.dm()) {
2165
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2245
+ var tmp7_input = decoder.tl(tmp0_desc);
2246
+ if (tmp7_input.jm()) {
2247
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2166
2248
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2167
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2249
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2168
2250
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2169
- tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2251
+ tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2170
2252
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2171
2253
  } else
2172
2254
  while (tmp1_flag) {
2173
- tmp2_index = tmp7_input.em(tmp0_desc);
2255
+ tmp2_index = tmp7_input.km(tmp0_desc);
2174
2256
  switch (tmp2_index) {
2175
2257
  case -1:
2176
2258
  tmp1_flag = false;
2177
2259
  break;
2178
2260
  case 0:
2179
- tmp4_local0 = tmp7_input.bm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2261
+ tmp4_local0 = tmp7_input.hm(tmp0_desc, 0, $serializer_getInstance_4(), tmp4_local0);
2180
2262
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2181
2263
  break;
2182
2264
  case 1:
2183
- tmp5_local1 = tmp7_input.bm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2265
+ tmp5_local1 = tmp7_input.hm(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
2184
2266
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2185
2267
  break;
2186
2268
  case 2:
2187
- tmp6_local2 = tmp7_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2269
+ tmp6_local2 = tmp7_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2188
2270
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2189
2271
  break;
2190
2272
  default:
2191
2273
  throw UnknownFieldException_init_$Create$(tmp2_index);
2192
2274
  }
2193
2275
  }
2194
- tmp7_input.ol(tmp0_desc);
2276
+ tmp7_input.ul(tmp0_desc);
2195
2277
  return Timing_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
2196
2278
  };
2197
- protoOf($serializer_7).qi = function () {
2198
- return this.i1g_1;
2279
+ protoOf($serializer_7).wi = function () {
2280
+ return this.z1h_1;
2199
2281
  };
2200
- protoOf($serializer_7).ys = function () {
2282
+ protoOf($serializer_7).et = function () {
2201
2283
  // Inline function 'kotlin.arrayOf' call
2202
2284
  // Inline function 'kotlin.js.unsafeCast' call
2203
2285
  // Inline function 'kotlin.js.asDynamic' call
@@ -2211,20 +2293,20 @@
2211
2293
  }
2212
2294
  function Timing_init_$Init$(seen0, durationInMins, qualifier, text, serializationConstructorMarker, $this) {
2213
2295
  if (!(0 === (0 & seen0))) {
2214
- throwMissingFieldException(seen0, 0, $serializer_getInstance_7().i1g_1);
2296
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_7().z1h_1);
2215
2297
  }
2216
2298
  if (0 === (seen0 & 1))
2217
- $this.k1g_1 = null;
2299
+ $this.b1i_1 = null;
2218
2300
  else
2219
- $this.k1g_1 = durationInMins;
2301
+ $this.b1i_1 = durationInMins;
2220
2302
  if (0 === (seen0 & 2))
2221
- $this.l1g_1 = null;
2303
+ $this.c1i_1 = null;
2222
2304
  else
2223
- $this.l1g_1 = qualifier;
2305
+ $this.c1i_1 = qualifier;
2224
2306
  if (0 === (seen0 & 4))
2225
- $this.m1g_1 = null;
2307
+ $this.d1i_1 = null;
2226
2308
  else
2227
- $this.m1g_1 = text;
2309
+ $this.d1i_1 = text;
2228
2310
  return $this;
2229
2311
  }
2230
2312
  function Timing_init_$Create$(seen0, durationInMins, qualifier, text, serializationConstructorMarker) {
@@ -2234,17 +2316,17 @@
2234
2316
  durationInMins = durationInMins === VOID ? null : durationInMins;
2235
2317
  qualifier = qualifier === VOID ? null : qualifier;
2236
2318
  text = text === VOID ? null : text;
2237
- this.k1g_1 = durationInMins;
2238
- this.l1g_1 = qualifier;
2239
- this.m1g_1 = text;
2319
+ this.b1i_1 = durationInMins;
2320
+ this.c1i_1 = qualifier;
2321
+ this.d1i_1 = text;
2240
2322
  }
2241
2323
  protoOf(Timing).toString = function () {
2242
- return 'Timing(durationInMins=' + toString(this.k1g_1) + ', qualifier=' + this.l1g_1 + ', text=' + this.m1g_1 + ')';
2324
+ return 'Timing(durationInMins=' + toString(this.b1i_1) + ', qualifier=' + this.c1i_1 + ', text=' + this.d1i_1 + ')';
2243
2325
  };
2244
2326
  protoOf(Timing).hashCode = function () {
2245
- var result = this.k1g_1 == null ? 0 : this.k1g_1.hashCode();
2246
- result = imul(result, 31) + (this.l1g_1 == null ? 0 : getStringHashCode(this.l1g_1)) | 0;
2247
- result = imul(result, 31) + (this.m1g_1 == null ? 0 : getStringHashCode(this.m1g_1)) | 0;
2327
+ var result = this.b1i_1 == null ? 0 : this.b1i_1.hashCode();
2328
+ result = imul(result, 31) + (this.c1i_1 == null ? 0 : getStringHashCode(this.c1i_1)) | 0;
2329
+ result = imul(result, 31) + (this.d1i_1 == null ? 0 : getStringHashCode(this.d1i_1)) | 0;
2248
2330
  return result;
2249
2331
  };
2250
2332
  protoOf(Timing).equals = function (other) {
@@ -2252,11 +2334,29 @@
2252
2334
  return true;
2253
2335
  if (!(other instanceof Timing))
2254
2336
  return false;
2255
- if (!equals(this.k1g_1, other.k1g_1))
2337
+ if (!equals(this.b1i_1, other.b1i_1))
2256
2338
  return false;
2257
- if (!(this.l1g_1 == other.l1g_1))
2339
+ if (!(this.c1i_1 == other.c1i_1))
2340
+ return false;
2341
+ if (!(this.d1i_1 == other.d1i_1))
2342
+ return false;
2343
+ return true;
2344
+ };
2345
+ function ParsedTemplate(elements) {
2346
+ this.x1e_1 = elements;
2347
+ }
2348
+ protoOf(ParsedTemplate).toString = function () {
2349
+ return 'ParsedTemplate(elements=' + toString_0(this.x1e_1) + ')';
2350
+ };
2351
+ protoOf(ParsedTemplate).hashCode = function () {
2352
+ return hashCode(this.x1e_1);
2353
+ };
2354
+ protoOf(ParsedTemplate).equals = function (other) {
2355
+ if (this === other)
2356
+ return true;
2357
+ if (!(other instanceof ParsedTemplate))
2258
2358
  return false;
2259
- if (!(this.m1g_1 == other.m1g_1))
2359
+ if (!equals(this.x1e_1, other.x1e_1))
2260
2360
  return false;
2261
2361
  return true;
2262
2362
  };
@@ -2272,39 +2372,39 @@
2272
2372
  var parts = ArrayList_init_$Create$_0();
2273
2373
  var lastEnd = 0;
2274
2374
  // Inline function 'kotlin.sequences.forEach' call
2275
- var _iterator__ex2g4s = pattern.va(template).h();
2375
+ var _iterator__ex2g4s = pattern.ya(template).h();
2276
2376
  while (_iterator__ex2g4s.i()) {
2277
2377
  var element = _iterator__ex2g4s.j();
2278
- if (element.jb().p_1 > lastEnd) {
2279
- var textPart = substring(template, lastEnd, element.jb().p_1);
2378
+ if (element.ab().p_1 > lastEnd) {
2379
+ var textPart = substring(template, lastEnd, element.ab().p_1);
2280
2380
  // Inline function 'kotlin.text.isNotEmpty' call
2281
2381
  if (charSequenceLength(textPart) > 0) {
2282
2382
  parts.f(new TemplateConst(textPart));
2283
2383
  }
2284
2384
  }
2285
2385
  try {
2286
- var jsonObj = get_jsonObject(Default_getInstance().b12(element.t1()));
2386
+ var jsonObj = get_jsonObject(Default_getInstance().h12(element.t1()));
2287
2387
  if (jsonObj.x1().l1('min')) {
2288
2388
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2289
2389
  var this_0 = get_tolerantJson();
2290
2390
  // Inline function 'kotlinx.serialization.serializer' call
2291
- var this_1 = this_0.cm();
2391
+ var this_1 = this_0.im();
2292
2392
  // Inline function 'kotlinx.serialization.internal.cast' call
2293
2393
  var this_2 = serializer(this_1, createKType(getKClass(QuantityPlaceholder), arrayOf([]), false));
2294
2394
  var tmp$ret$3 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
2295
2395
  // Inline function 'kotlin.let' call
2296
- var it = this_0.a12(tmp$ret$3, jsonObj);
2396
+ var it = this_0.g12(tmp$ret$3, jsonObj);
2297
2397
  parts.f(it);
2298
2398
  } else {
2299
2399
  // Inline function 'kotlinx.serialization.json.decodeFromJsonElement' call
2300
2400
  var this_3 = get_tolerantJson();
2301
2401
  // Inline function 'kotlinx.serialization.serializer' call
2302
- var this_4 = this_3.cm();
2402
+ var this_4 = this_3.im();
2303
2403
  // Inline function 'kotlinx.serialization.internal.cast' call
2304
2404
  var this_5 = serializer(this_4, createKType(getKClass(OvenTemperaturePlaceholder), arrayOf([]), false));
2305
2405
  var tmp$ret$8 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
2306
2406
  // Inline function 'kotlin.let' call
2307
- var it_0 = this_3.a12(tmp$ret$8, jsonObj);
2407
+ var it_0 = this_3.g12(tmp$ret$8, jsonObj);
2308
2408
  parts.f(it_0);
2309
2409
  }
2310
2410
  } catch ($p) {
@@ -2316,7 +2416,7 @@
2316
2416
  throw $p;
2317
2417
  }
2318
2418
  }
2319
- lastEnd = element.jb().q_1 + 1 | 0;
2419
+ lastEnd = element.ab().q_1 + 1 | 0;
2320
2420
  }
2321
2421
  if (lastEnd < template.length) {
2322
2422
  var remaining = substring_0(template, lastEnd);
@@ -2329,7 +2429,7 @@
2329
2429
  }
2330
2430
  function tolerantJson$lambda($this$Json) {
2331
2431
  _init_properties_Parser_kt__o3jwn5();
2332
- $this$Json.t12_1 = true;
2432
+ $this$Json.z12_1 = true;
2333
2433
  return Unit_instance;
2334
2434
  }
2335
2435
  var properties_initialized_Parser_kt_5uifb3;
@@ -2347,15 +2447,15 @@
2347
2447
  protoOf(TemplateConst).t1 = function () {
2348
2448
  return this.value;
2349
2449
  };
2350
- protoOf(TemplateConst).cd = function () {
2450
+ protoOf(TemplateConst).id = function () {
2351
2451
  return this.value;
2352
2452
  };
2353
- protoOf(TemplateConst).n1g = function (value) {
2453
+ protoOf(TemplateConst).e1i = function (value) {
2354
2454
  return new TemplateConst(value);
2355
2455
  };
2356
2456
  protoOf(TemplateConst).copy = function (value, $super) {
2357
2457
  value = value === VOID ? this.value : value;
2358
- return $super === VOID ? this.n1g(value) : $super.n1g.call(this, value);
2458
+ return $super === VOID ? this.e1i(value) : $super.e1i.call(this, value);
2359
2459
  };
2360
2460
  protoOf(TemplateConst).toString = function () {
2361
2461
  return 'TemplateConst(value=' + this.value + ')';
@@ -2374,7 +2474,7 @@
2374
2474
  };
2375
2475
  function Companion_5() {
2376
2476
  }
2377
- protoOf(Companion_5).i14 = function () {
2477
+ protoOf(Companion_5).o14 = function () {
2378
2478
  return $serializer_getInstance_8();
2379
2479
  };
2380
2480
  var Companion_instance_5;
@@ -2383,33 +2483,41 @@
2383
2483
  }
2384
2484
  function $serializer_8() {
2385
2485
  $serializer_instance_8 = this;
2386
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 4);
2387
- tmp0_serialDesc.ws('min', false);
2388
- tmp0_serialDesc.ws('max', true);
2389
- tmp0_serialDesc.ws('unit', true);
2390
- tmp0_serialDesc.ws('scale', true);
2391
- this.o1g_1 = tmp0_serialDesc;
2486
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.QuantityPlaceholder', this, 6);
2487
+ tmp0_serialDesc.ct('min', false);
2488
+ tmp0_serialDesc.ct('max', true);
2489
+ tmp0_serialDesc.ct('unit', true);
2490
+ tmp0_serialDesc.ct('scale', true);
2491
+ tmp0_serialDesc.ct('ingredient', true);
2492
+ tmp0_serialDesc.ct('usCust', true);
2493
+ this.f1i_1 = tmp0_serialDesc;
2392
2494
  }
2393
- protoOf($serializer_8).p1g = function (encoder, value) {
2394
- var tmp0_desc = this.o1g_1;
2395
- var tmp1_output = encoder.nl(tmp0_desc);
2396
- tmp1_output.ym(tmp0_desc, 0, value.min);
2397
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.max == null)) {
2398
- tmp1_output.fn(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
2495
+ protoOf($serializer_8).g1i = function (encoder, value) {
2496
+ var tmp0_desc = this.f1i_1;
2497
+ var tmp1_output = encoder.tl(tmp0_desc);
2498
+ tmp1_output.en(tmp0_desc, 0, value.min);
2499
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.max == null)) {
2500
+ tmp1_output.ln(tmp0_desc, 1, FloatSerializer_getInstance(), value.max);
2501
+ }
2502
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.unit == null)) {
2503
+ tmp1_output.ln(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2504
+ }
2505
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.scale === false)) {
2506
+ tmp1_output.zm(tmp0_desc, 3, value.scale);
2399
2507
  }
2400
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.unit == null)) {
2401
- tmp1_output.fn(tmp0_desc, 2, StringSerializer_getInstance(), value.unit);
2508
+ if (tmp1_output.pn(tmp0_desc, 4) ? true : !(value.ingredient == null)) {
2509
+ tmp1_output.ln(tmp0_desc, 4, StringSerializer_getInstance(), value.ingredient);
2402
2510
  }
2403
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.scale === false)) {
2404
- tmp1_output.tm(tmp0_desc, 3, value.scale);
2511
+ if (tmp1_output.pn(tmp0_desc, 5) ? true : !(value.usCust == null)) {
2512
+ tmp1_output.ln(tmp0_desc, 5, BooleanSerializer_getInstance(), value.usCust);
2405
2513
  }
2406
- tmp1_output.ol(tmp0_desc);
2514
+ tmp1_output.ul(tmp0_desc);
2407
2515
  };
2408
- protoOf($serializer_8).ri = function (encoder, value) {
2409
- return this.p1g(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2516
+ protoOf($serializer_8).xi = function (encoder, value) {
2517
+ return this.g1i(encoder, value instanceof QuantityPlaceholder ? value : THROW_CCE());
2410
2518
  };
2411
- protoOf($serializer_8).si = function (decoder) {
2412
- var tmp0_desc = this.o1g_1;
2519
+ protoOf($serializer_8).yi = function (decoder) {
2520
+ var tmp0_desc = this.f1i_1;
2413
2521
  var tmp1_flag = true;
2414
2522
  var tmp2_index = 0;
2415
2523
  var tmp3_bitMask0 = 0;
@@ -2417,54 +2525,68 @@
2417
2525
  var tmp5_local1 = null;
2418
2526
  var tmp6_local2 = null;
2419
2527
  var tmp7_local3 = false;
2420
- var tmp8_input = decoder.nl(tmp0_desc);
2421
- if (tmp8_input.dm()) {
2422
- tmp4_local0 = tmp8_input.ul(tmp0_desc, 0);
2528
+ var tmp8_local4 = null;
2529
+ var tmp9_local5 = null;
2530
+ var tmp10_input = decoder.tl(tmp0_desc);
2531
+ if (tmp10_input.jm()) {
2532
+ tmp4_local0 = tmp10_input.am(tmp0_desc, 0);
2423
2533
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2424
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2534
+ tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2425
2535
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2426
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2536
+ tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2427
2537
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2428
- tmp7_local3 = tmp8_input.pl(tmp0_desc, 3);
2538
+ tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2429
2539
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2540
+ tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2541
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
2542
+ tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2543
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
2430
2544
  } else
2431
2545
  while (tmp1_flag) {
2432
- tmp2_index = tmp8_input.em(tmp0_desc);
2546
+ tmp2_index = tmp10_input.km(tmp0_desc);
2433
2547
  switch (tmp2_index) {
2434
2548
  case -1:
2435
2549
  tmp1_flag = false;
2436
2550
  break;
2437
2551
  case 0:
2438
- tmp4_local0 = tmp8_input.ul(tmp0_desc, 0);
2552
+ tmp4_local0 = tmp10_input.am(tmp0_desc, 0);
2439
2553
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2440
2554
  break;
2441
2555
  case 1:
2442
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2556
+ tmp5_local1 = tmp10_input.hm(tmp0_desc, 1, FloatSerializer_getInstance(), tmp5_local1);
2443
2557
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2444
2558
  break;
2445
2559
  case 2:
2446
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2560
+ tmp6_local2 = tmp10_input.hm(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
2447
2561
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2448
2562
  break;
2449
2563
  case 3:
2450
- tmp7_local3 = tmp8_input.pl(tmp0_desc, 3);
2564
+ tmp7_local3 = tmp10_input.vl(tmp0_desc, 3);
2451
2565
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2452
2566
  break;
2567
+ case 4:
2568
+ tmp8_local4 = tmp10_input.hm(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
2569
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
2570
+ break;
2571
+ case 5:
2572
+ tmp9_local5 = tmp10_input.hm(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
2573
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
2574
+ break;
2453
2575
  default:
2454
2576
  throw UnknownFieldException_init_$Create$(tmp2_index);
2455
2577
  }
2456
2578
  }
2457
- tmp8_input.ol(tmp0_desc);
2458
- return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2579
+ tmp10_input.ul(tmp0_desc);
2580
+ return QuantityPlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
2459
2581
  };
2460
- protoOf($serializer_8).qi = function () {
2461
- return this.o1g_1;
2582
+ protoOf($serializer_8).wi = function () {
2583
+ return this.f1i_1;
2462
2584
  };
2463
- protoOf($serializer_8).ys = function () {
2585
+ protoOf($serializer_8).et = function () {
2464
2586
  // Inline function 'kotlin.arrayOf' call
2465
2587
  // Inline function 'kotlin.js.unsafeCast' call
2466
2588
  // Inline function 'kotlin.js.asDynamic' call
2467
- return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance()];
2589
+ return [FloatSerializer_getInstance(), get_nullable(FloatSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
2468
2590
  };
2469
2591
  var $serializer_instance_8;
2470
2592
  function $serializer_getInstance_8() {
@@ -2472,9 +2594,9 @@
2472
2594
  new $serializer_8();
2473
2595
  return $serializer_instance_8;
2474
2596
  }
2475
- function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, serializationConstructorMarker, $this) {
2597
+ function QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, $this) {
2476
2598
  if (!(1 === (1 & seen0))) {
2477
- throwMissingFieldException(seen0, 1, $serializer_getInstance_8().o1g_1);
2599
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_8().f1i_1);
2478
2600
  }
2479
2601
  $this.min = min;
2480
2602
  if (0 === (seen0 & 2))
@@ -2489,62 +2611,90 @@
2489
2611
  $this.scale = false;
2490
2612
  else
2491
2613
  $this.scale = scale;
2614
+ if (0 === (seen0 & 16))
2615
+ $this.ingredient = null;
2616
+ else
2617
+ $this.ingredient = ingredient;
2618
+ if (0 === (seen0 & 32))
2619
+ $this.usCust = null;
2620
+ else
2621
+ $this.usCust = usCust;
2492
2622
  return $this;
2493
2623
  }
2494
- function QuantityPlaceholder_init_$Create$(seen0, min, max, unit, scale, serializationConstructorMarker) {
2495
- return QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, serializationConstructorMarker, objectCreate(protoOf(QuantityPlaceholder)));
2624
+ function QuantityPlaceholder_init_$Create$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker) {
2625
+ return QuantityPlaceholder_init_$Init$(seen0, min, max, unit, scale, ingredient, usCust, serializationConstructorMarker, objectCreate(protoOf(QuantityPlaceholder)));
2496
2626
  }
2497
- function QuantityPlaceholder(min, max, unit, scale) {
2627
+ function QuantityPlaceholder(min, max, unit, scale, ingredient, usCust) {
2498
2628
  max = max === VOID ? null : max;
2499
2629
  unit = unit === VOID ? null : unit;
2500
2630
  scale = scale === VOID ? false : scale;
2631
+ ingredient = ingredient === VOID ? null : ingredient;
2632
+ usCust = usCust === VOID ? null : usCust;
2501
2633
  this.min = min;
2502
2634
  this.max = max;
2503
2635
  this.unit = unit;
2504
2636
  this.scale = scale;
2637
+ this.ingredient = ingredient;
2638
+ this.usCust = usCust;
2505
2639
  }
2506
- protoOf(QuantityPlaceholder).q1g = function () {
2640
+ protoOf(QuantityPlaceholder).h1i = function () {
2507
2641
  return this.min;
2508
2642
  };
2509
- protoOf(QuantityPlaceholder).r1g = function () {
2643
+ protoOf(QuantityPlaceholder).i1i = function () {
2510
2644
  return this.max;
2511
2645
  };
2512
- protoOf(QuantityPlaceholder).s1g = function () {
2646
+ protoOf(QuantityPlaceholder).j1i = function () {
2513
2647
  return this.unit;
2514
2648
  };
2515
- protoOf(QuantityPlaceholder).t1g = function () {
2649
+ protoOf(QuantityPlaceholder).k1i = function () {
2516
2650
  return this.scale;
2517
2651
  };
2518
- protoOf(QuantityPlaceholder).cd = function () {
2652
+ protoOf(QuantityPlaceholder).l1i = function () {
2653
+ return this.ingredient;
2654
+ };
2655
+ protoOf(QuantityPlaceholder).m1i = function () {
2656
+ return this.usCust;
2657
+ };
2658
+ protoOf(QuantityPlaceholder).id = function () {
2519
2659
  return this.min;
2520
2660
  };
2521
- protoOf(QuantityPlaceholder).dd = function () {
2661
+ protoOf(QuantityPlaceholder).jd = function () {
2522
2662
  return this.max;
2523
2663
  };
2524
- protoOf(QuantityPlaceholder).u1g = function () {
2664
+ protoOf(QuantityPlaceholder).n1i = function () {
2525
2665
  return this.unit;
2526
2666
  };
2527
- protoOf(QuantityPlaceholder).v1g = function () {
2667
+ protoOf(QuantityPlaceholder).o1i = function () {
2528
2668
  return this.scale;
2529
2669
  };
2530
- protoOf(QuantityPlaceholder).w1g = function (min, max, unit, scale) {
2531
- return new QuantityPlaceholder(min, max, unit, scale);
2670
+ protoOf(QuantityPlaceholder).p1i = function () {
2671
+ return this.ingredient;
2672
+ };
2673
+ protoOf(QuantityPlaceholder).q1i = function () {
2674
+ return this.usCust;
2532
2675
  };
2533
- protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, $super) {
2676
+ protoOf(QuantityPlaceholder).r1i = function (min, max, unit, scale, ingredient, usCust) {
2677
+ return new QuantityPlaceholder(min, max, unit, scale, ingredient, usCust);
2678
+ };
2679
+ protoOf(QuantityPlaceholder).copy = function (min, max, unit, scale, ingredient, usCust, $super) {
2534
2680
  min = min === VOID ? this.min : min;
2535
2681
  max = max === VOID ? this.max : max;
2536
2682
  unit = unit === VOID ? this.unit : unit;
2537
2683
  scale = scale === VOID ? this.scale : scale;
2538
- return $super === VOID ? this.w1g(min, max, unit, scale) : $super.w1g.call(this, min, max, unit, scale);
2684
+ ingredient = ingredient === VOID ? this.ingredient : ingredient;
2685
+ usCust = usCust === VOID ? this.usCust : usCust;
2686
+ return $super === VOID ? this.r1i(min, max, unit, scale, ingredient, usCust) : $super.r1i.call(this, min, max, unit, scale, ingredient, usCust);
2539
2687
  };
2540
2688
  protoOf(QuantityPlaceholder).toString = function () {
2541
- return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ')';
2689
+ return 'QuantityPlaceholder(min=' + this.min + ', max=' + this.max + ', unit=' + this.unit + ', scale=' + this.scale + ', ingredient=' + this.ingredient + ', usCust=' + this.usCust + ')';
2542
2690
  };
2543
2691
  protoOf(QuantityPlaceholder).hashCode = function () {
2544
2692
  var result = getNumberHashCode(this.min);
2545
2693
  result = imul(result, 31) + (this.max == null ? 0 : getNumberHashCode(this.max)) | 0;
2546
2694
  result = imul(result, 31) + (this.unit == null ? 0 : getStringHashCode(this.unit)) | 0;
2547
2695
  result = imul(result, 31) + getBooleanHashCode(this.scale) | 0;
2696
+ result = imul(result, 31) + (this.ingredient == null ? 0 : getStringHashCode(this.ingredient)) | 0;
2697
+ result = imul(result, 31) + (this.usCust == null ? 0 : getBooleanHashCode(this.usCust)) | 0;
2548
2698
  return result;
2549
2699
  };
2550
2700
  protoOf(QuantityPlaceholder).equals = function (other) {
@@ -2560,11 +2710,15 @@
2560
2710
  return false;
2561
2711
  if (!(this.scale === other.scale))
2562
2712
  return false;
2713
+ if (!(this.ingredient == other.ingredient))
2714
+ return false;
2715
+ if (!(this.usCust == other.usCust))
2716
+ return false;
2563
2717
  return true;
2564
2718
  };
2565
2719
  function Companion_6() {
2566
2720
  }
2567
- protoOf(Companion_6).i14 = function () {
2721
+ protoOf(Companion_6).o14 = function () {
2568
2722
  return $serializer_getInstance_9();
2569
2723
  };
2570
2724
  var Companion_instance_6;
@@ -2574,34 +2728,34 @@
2574
2728
  function $serializer_9() {
2575
2729
  $serializer_instance_9 = this;
2576
2730
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.gu.recipe.template.OvenTemperaturePlaceholder', this, 4);
2577
- tmp0_serialDesc.ws('temperatureC', true);
2578
- tmp0_serialDesc.ws('temperatureFanC', true);
2579
- tmp0_serialDesc.ws('temperatureF', true);
2580
- tmp0_serialDesc.ws('gasMark', true);
2581
- this.x1g_1 = tmp0_serialDesc;
2731
+ tmp0_serialDesc.ct('temperatureC', true);
2732
+ tmp0_serialDesc.ct('temperatureFanC', true);
2733
+ tmp0_serialDesc.ct('temperatureF', true);
2734
+ tmp0_serialDesc.ct('gasMark', true);
2735
+ this.s1i_1 = tmp0_serialDesc;
2582
2736
  }
2583
- protoOf($serializer_9).y1g = function (encoder, value) {
2584
- var tmp0_desc = this.x1g_1;
2585
- var tmp1_output = encoder.nl(tmp0_desc);
2586
- if (tmp1_output.jn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2587
- tmp1_output.fn(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
2737
+ protoOf($serializer_9).t1i = function (encoder, value) {
2738
+ var tmp0_desc = this.s1i_1;
2739
+ var tmp1_output = encoder.tl(tmp0_desc);
2740
+ if (tmp1_output.pn(tmp0_desc, 0) ? true : !(value.temperatureC == null)) {
2741
+ tmp1_output.ln(tmp0_desc, 0, IntSerializer_getInstance(), value.temperatureC);
2588
2742
  }
2589
- if (tmp1_output.jn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2590
- tmp1_output.fn(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2743
+ if (tmp1_output.pn(tmp0_desc, 1) ? true : !(value.temperatureFanC == null)) {
2744
+ tmp1_output.ln(tmp0_desc, 1, IntSerializer_getInstance(), value.temperatureFanC);
2591
2745
  }
2592
- if (tmp1_output.jn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2593
- tmp1_output.fn(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2746
+ if (tmp1_output.pn(tmp0_desc, 2) ? true : !(value.temperatureF == null)) {
2747
+ tmp1_output.ln(tmp0_desc, 2, IntSerializer_getInstance(), value.temperatureF);
2594
2748
  }
2595
- if (tmp1_output.jn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2596
- tmp1_output.fn(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2749
+ if (tmp1_output.pn(tmp0_desc, 3) ? true : !(value.gasMark == null)) {
2750
+ tmp1_output.ln(tmp0_desc, 3, FloatSerializer_getInstance(), value.gasMark);
2597
2751
  }
2598
- tmp1_output.ol(tmp0_desc);
2752
+ tmp1_output.ul(tmp0_desc);
2599
2753
  };
2600
- protoOf($serializer_9).ri = function (encoder, value) {
2601
- return this.y1g(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2754
+ protoOf($serializer_9).xi = function (encoder, value) {
2755
+ return this.t1i(encoder, value instanceof OvenTemperaturePlaceholder ? value : THROW_CCE());
2602
2756
  };
2603
- protoOf($serializer_9).si = function (decoder) {
2604
- var tmp0_desc = this.x1g_1;
2757
+ protoOf($serializer_9).yi = function (decoder) {
2758
+ var tmp0_desc = this.s1i_1;
2605
2759
  var tmp1_flag = true;
2606
2760
  var tmp2_index = 0;
2607
2761
  var tmp3_bitMask0 = 0;
@@ -2609,50 +2763,50 @@
2609
2763
  var tmp5_local1 = null;
2610
2764
  var tmp6_local2 = null;
2611
2765
  var tmp7_local3 = null;
2612
- var tmp8_input = decoder.nl(tmp0_desc);
2613
- if (tmp8_input.dm()) {
2614
- tmp4_local0 = tmp8_input.bm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2766
+ var tmp8_input = decoder.tl(tmp0_desc);
2767
+ if (tmp8_input.jm()) {
2768
+ tmp4_local0 = tmp8_input.hm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2615
2769
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2616
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2770
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2617
2771
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2618
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2772
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2619
2773
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2620
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2774
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2621
2775
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2622
2776
  } else
2623
2777
  while (tmp1_flag) {
2624
- tmp2_index = tmp8_input.em(tmp0_desc);
2778
+ tmp2_index = tmp8_input.km(tmp0_desc);
2625
2779
  switch (tmp2_index) {
2626
2780
  case -1:
2627
2781
  tmp1_flag = false;
2628
2782
  break;
2629
2783
  case 0:
2630
- tmp4_local0 = tmp8_input.bm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2784
+ tmp4_local0 = tmp8_input.hm(tmp0_desc, 0, IntSerializer_getInstance(), tmp4_local0);
2631
2785
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
2632
2786
  break;
2633
2787
  case 1:
2634
- tmp5_local1 = tmp8_input.bm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2788
+ tmp5_local1 = tmp8_input.hm(tmp0_desc, 1, IntSerializer_getInstance(), tmp5_local1);
2635
2789
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
2636
2790
  break;
2637
2791
  case 2:
2638
- tmp6_local2 = tmp8_input.bm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2792
+ tmp6_local2 = tmp8_input.hm(tmp0_desc, 2, IntSerializer_getInstance(), tmp6_local2);
2639
2793
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
2640
2794
  break;
2641
2795
  case 3:
2642
- tmp7_local3 = tmp8_input.bm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2796
+ tmp7_local3 = tmp8_input.hm(tmp0_desc, 3, FloatSerializer_getInstance(), tmp7_local3);
2643
2797
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
2644
2798
  break;
2645
2799
  default:
2646
2800
  throw UnknownFieldException_init_$Create$(tmp2_index);
2647
2801
  }
2648
2802
  }
2649
- tmp8_input.ol(tmp0_desc);
2803
+ tmp8_input.ul(tmp0_desc);
2650
2804
  return OvenTemperaturePlaceholder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2651
2805
  };
2652
- protoOf($serializer_9).qi = function () {
2653
- return this.x1g_1;
2806
+ protoOf($serializer_9).wi = function () {
2807
+ return this.s1i_1;
2654
2808
  };
2655
- protoOf($serializer_9).ys = function () {
2809
+ protoOf($serializer_9).et = function () {
2656
2810
  // Inline function 'kotlin.arrayOf' call
2657
2811
  // Inline function 'kotlin.js.unsafeCast' call
2658
2812
  // Inline function 'kotlin.js.asDynamic' call
@@ -2666,7 +2820,7 @@
2666
2820
  }
2667
2821
  function OvenTemperaturePlaceholder_init_$Init$(seen0, temperatureC, temperatureFanC, temperatureF, gasMark, serializationConstructorMarker, $this) {
2668
2822
  if (!(0 === (0 & seen0))) {
2669
- throwMissingFieldException(seen0, 0, $serializer_getInstance_9().x1g_1);
2823
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_9().s1i_1);
2670
2824
  }
2671
2825
  if (0 === (seen0 & 1))
2672
2826
  $this.temperatureC = null;
@@ -2699,31 +2853,31 @@
2699
2853
  this.temperatureF = temperatureF;
2700
2854
  this.gasMark = gasMark;
2701
2855
  }
2702
- protoOf(OvenTemperaturePlaceholder).z1g = function () {
2856
+ protoOf(OvenTemperaturePlaceholder).u1i = function () {
2703
2857
  return this.temperatureC;
2704
2858
  };
2705
- protoOf(OvenTemperaturePlaceholder).a1h = function () {
2859
+ protoOf(OvenTemperaturePlaceholder).v1i = function () {
2706
2860
  return this.temperatureFanC;
2707
2861
  };
2708
- protoOf(OvenTemperaturePlaceholder).b1h = function () {
2862
+ protoOf(OvenTemperaturePlaceholder).w1i = function () {
2709
2863
  return this.temperatureF;
2710
2864
  };
2711
- protoOf(OvenTemperaturePlaceholder).c1h = function () {
2865
+ protoOf(OvenTemperaturePlaceholder).x1i = function () {
2712
2866
  return this.gasMark;
2713
2867
  };
2714
- protoOf(OvenTemperaturePlaceholder).cd = function () {
2868
+ protoOf(OvenTemperaturePlaceholder).id = function () {
2715
2869
  return this.temperatureC;
2716
2870
  };
2717
- protoOf(OvenTemperaturePlaceholder).dd = function () {
2871
+ protoOf(OvenTemperaturePlaceholder).jd = function () {
2718
2872
  return this.temperatureFanC;
2719
2873
  };
2720
- protoOf(OvenTemperaturePlaceholder).u1g = function () {
2874
+ protoOf(OvenTemperaturePlaceholder).n1i = function () {
2721
2875
  return this.temperatureF;
2722
2876
  };
2723
- protoOf(OvenTemperaturePlaceholder).v1g = function () {
2877
+ protoOf(OvenTemperaturePlaceholder).o1i = function () {
2724
2878
  return this.gasMark;
2725
2879
  };
2726
- protoOf(OvenTemperaturePlaceholder).d1h = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2880
+ protoOf(OvenTemperaturePlaceholder).y1i = function (temperatureC, temperatureFanC, temperatureF, gasMark) {
2727
2881
  return new OvenTemperaturePlaceholder(temperatureC, temperatureFanC, temperatureF, gasMark);
2728
2882
  };
2729
2883
  protoOf(OvenTemperaturePlaceholder).copy = function (temperatureC, temperatureFanC, temperatureF, gasMark, $super) {
@@ -2731,7 +2885,7 @@
2731
2885
  temperatureFanC = temperatureFanC === VOID ? this.temperatureFanC : temperatureFanC;
2732
2886
  temperatureF = temperatureF === VOID ? this.temperatureF : temperatureF;
2733
2887
  gasMark = gasMark === VOID ? this.gasMark : gasMark;
2734
- return $super === VOID ? this.d1h(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.d1h.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2888
+ return $super === VOID ? this.y1i(temperatureC, temperatureFanC, temperatureF, gasMark) : $super.y1i.call(this, temperatureC, temperatureFanC, temperatureF, gasMark);
2735
2889
  };
2736
2890
  protoOf(OvenTemperaturePlaceholder).toString = function () {
2737
2891
  return 'OvenTemperaturePlaceholder(temperatureC=' + this.temperatureC + ', temperatureFanC=' + this.temperatureFanC + ', temperatureF=' + this.temperatureF + ', gasMark=' + this.gasMark + ')';
@@ -2758,24 +2912,231 @@
2758
2912
  return false;
2759
2913
  return true;
2760
2914
  };
2761
- function ParsedTemplate(elements) {
2762
- this.g1d_1 = elements;
2915
+ function Imperial() {
2763
2916
  }
2764
- protoOf(ParsedTemplate).toString = function () {
2765
- return 'ParsedTemplate(elements=' + toString_0(this.g1d_1) + ')';
2766
- };
2767
- protoOf(ParsedTemplate).hashCode = function () {
2768
- return hashCode(this.g1d_1);
2917
+ var Imperial_instance;
2918
+ function Imperial_getInstance() {
2919
+ return Imperial_instance;
2920
+ }
2921
+ function Metric() {
2922
+ }
2923
+ var Metric_instance;
2924
+ function Metric_getInstance() {
2925
+ return Metric_instance;
2926
+ }
2927
+ var UnitType_WEIGHT_instance;
2928
+ var UnitType_VOLUME_instance;
2929
+ var UnitType_LENGTH_instance;
2930
+ var UnitType_entriesInitialized;
2931
+ function UnitType_initEntries() {
2932
+ if (UnitType_entriesInitialized)
2933
+ return Unit_instance;
2934
+ UnitType_entriesInitialized = true;
2935
+ UnitType_WEIGHT_instance = new UnitType('WEIGHT', 0);
2936
+ UnitType_VOLUME_instance = new UnitType('VOLUME', 1);
2937
+ UnitType_LENGTH_instance = new UnitType('LENGTH', 2);
2938
+ }
2939
+ function UnitType(name, ordinal) {
2940
+ Enum.call(this, name, ordinal);
2941
+ }
2942
+ function Unit(singular, plural, symbol, symbolPlural, unitType, measuringSystem) {
2943
+ this.r1e_1 = singular;
2944
+ this.s1e_1 = plural;
2945
+ this.t1e_1 = symbol;
2946
+ this.u1e_1 = symbolPlural;
2947
+ this.v1e_1 = unitType;
2948
+ this.w1e_1 = measuringSystem;
2949
+ }
2950
+ protoOf(Unit).toString = function () {
2951
+ return 'Unit(singular=' + this.r1e_1 + ', plural=' + this.s1e_1 + ', symbol=' + this.t1e_1 + ', symbolPlural=' + this.u1e_1 + ', unitType=' + toString(this.v1e_1) + ', measuringSystem=' + toString(this.w1e_1) + ')';
2952
+ };
2953
+ protoOf(Unit).hashCode = function () {
2954
+ var result = getStringHashCode(this.r1e_1);
2955
+ result = imul(result, 31) + getStringHashCode(this.s1e_1) | 0;
2956
+ result = imul(result, 31) + getStringHashCode(this.t1e_1) | 0;
2957
+ result = imul(result, 31) + getStringHashCode(this.u1e_1) | 0;
2958
+ result = imul(result, 31) + (this.v1e_1 == null ? 0 : this.v1e_1.hashCode()) | 0;
2959
+ result = imul(result, 31) + (this.w1e_1 == null ? 0 : hashCode(this.w1e_1)) | 0;
2960
+ return result;
2769
2961
  };
2770
- protoOf(ParsedTemplate).equals = function (other) {
2962
+ protoOf(Unit).equals = function (other) {
2771
2963
  if (this === other)
2772
2964
  return true;
2773
- if (!(other instanceof ParsedTemplate))
2965
+ if (!(other instanceof Unit))
2966
+ return false;
2967
+ if (!(this.r1e_1 === other.r1e_1))
2968
+ return false;
2969
+ if (!(this.s1e_1 === other.s1e_1))
2970
+ return false;
2971
+ if (!(this.t1e_1 === other.t1e_1))
2972
+ return false;
2973
+ if (!(this.u1e_1 === other.u1e_1))
2774
2974
  return false;
2775
- if (!equals(this.g1d_1, other.g1d_1))
2975
+ if (!equals(this.v1e_1, other.v1e_1))
2976
+ return false;
2977
+ if (!equals(this.w1e_1, other.w1e_1))
2776
2978
  return false;
2777
2979
  return true;
2778
2980
  };
2981
+ function Units() {
2982
+ Units_instance = this;
2983
+ this.w1d_1 = new Unit('gram', 'grams', 'g', 'g', UnitType_WEIGHT_getInstance(), Metric_instance);
2984
+ this.x1d_1 = new Unit('kilogram', 'kilograms', 'kg', 'kg', UnitType_WEIGHT_getInstance(), Metric_instance);
2985
+ this.y1d_1 = new Unit('ounce', 'ounces', 'oz', 'oz', UnitType_WEIGHT_getInstance(), Imperial_instance);
2986
+ this.z1d_1 = new Unit('pound', 'pounds', 'lb', 'lbs', UnitType_WEIGHT_getInstance(), Imperial_instance);
2987
+ this.a1e_1 = new Unit('milliliter', 'milliliters', 'ml', 'ml', UnitType_VOLUME_getInstance(), Metric_instance);
2988
+ this.b1e_1 = new Unit('liter', 'liters', 'l', 'l', UnitType_VOLUME_getInstance(), Metric_instance);
2989
+ this.c1e_1 = new Unit('fluid ounce', 'fluid ounces', 'fl oz', 'fl oz', UnitType_VOLUME_getInstance(), Imperial_instance);
2990
+ this.d1e_1 = new Unit('cup', 'cups', 'cup', 'cups', UnitType_VOLUME_getInstance(), Imperial_instance);
2991
+ this.e1e_1 = new Unit('teaspoon', 'teaspoons', 'tsp', 'tsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2992
+ this.f1e_1 = new Unit('tablespoon', 'tablespoons', 'tbsp', 'tbsp', UnitType_VOLUME_getInstance(), Imperial_instance);
2993
+ this.g1e_1 = new Unit('millimeter', 'millimeters', 'mm', 'mm', UnitType_LENGTH_getInstance(), Metric_instance);
2994
+ this.h1e_1 = new Unit('centimeter', 'centimeters', 'cm', 'cm', UnitType_LENGTH_getInstance(), Metric_instance);
2995
+ this.i1e_1 = new Unit('inch', 'inches', 'in', 'in', UnitType_LENGTH_getInstance(), Imperial_instance);
2996
+ this.j1e_1 = new Unit('pint', 'pints', 'pt', 'pts', UnitType_VOLUME_getInstance(), Imperial_instance);
2997
+ this.k1e_1 = listOf([this.w1d_1, this.x1d_1, this.y1d_1, this.z1d_1, this.a1e_1, this.b1e_1, this.c1e_1, this.d1e_1, this.e1e_1, this.f1e_1, this.g1e_1, this.h1e_1, this.i1e_1, this.j1e_1]);
2998
+ var tmp = this;
2999
+ // Inline function 'kotlin.collections.associateBy' call
3000
+ var this_0 = this.k1e_1;
3001
+ var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
3002
+ // Inline function 'kotlin.collections.associateByTo' call
3003
+ var destination = LinkedHashMap_init_$Create$(capacity);
3004
+ var _iterator__ex2g4s = this_0.h();
3005
+ while (_iterator__ex2g4s.i()) {
3006
+ var element = _iterator__ex2g4s.j();
3007
+ var tmp$ret$0 = element.t1e_1;
3008
+ destination.a2(tmp$ret$0, element);
3009
+ }
3010
+ var tmp_0 = destination;
3011
+ // Inline function 'kotlin.collections.associateBy' call
3012
+ var this_1 = this.k1e_1;
3013
+ var capacity_0 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_1, 10)), 16);
3014
+ // Inline function 'kotlin.collections.associateByTo' call
3015
+ var destination_0 = LinkedHashMap_init_$Create$(capacity_0);
3016
+ var _iterator__ex2g4s_0 = this_1.h();
3017
+ while (_iterator__ex2g4s_0.i()) {
3018
+ var element_0 = _iterator__ex2g4s_0.j();
3019
+ var tmp$ret$3 = element_0.u1e_1;
3020
+ destination_0.a2(tmp$ret$3, element_0);
3021
+ }
3022
+ var tmp_1 = plus(tmp_0, destination_0);
3023
+ // Inline function 'kotlin.collections.associateBy' call
3024
+ var this_2 = this.k1e_1;
3025
+ var capacity_1 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_2, 10)), 16);
3026
+ // Inline function 'kotlin.collections.associateByTo' call
3027
+ var destination_1 = LinkedHashMap_init_$Create$(capacity_1);
3028
+ var _iterator__ex2g4s_1 = this_2.h();
3029
+ while (_iterator__ex2g4s_1.i()) {
3030
+ var element_1 = _iterator__ex2g4s_1.j();
3031
+ var tmp$ret$6 = element_1.r1e_1;
3032
+ destination_1.a2(tmp$ret$6, element_1);
3033
+ }
3034
+ var tmp_2 = plus(tmp_1, destination_1);
3035
+ // Inline function 'kotlin.collections.associateBy' call
3036
+ var this_3 = this.k1e_1;
3037
+ var capacity_2 = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_3, 10)), 16);
3038
+ // Inline function 'kotlin.collections.associateByTo' call
3039
+ var destination_2 = LinkedHashMap_init_$Create$(capacity_2);
3040
+ var _iterator__ex2g4s_2 = this_3.h();
3041
+ while (_iterator__ex2g4s_2.i()) {
3042
+ var element_2 = _iterator__ex2g4s_2.j();
3043
+ var tmp$ret$9 = element_2.s1e_1;
3044
+ destination_2.a2(tmp$ret$9, element_2);
3045
+ }
3046
+ tmp.l1e_1 = plus(tmp_2, destination_2);
3047
+ }
3048
+ protoOf(Units).m1e = function (name) {
3049
+ var unit = this.l1e_1.w1(name);
3050
+ if (!(unit == null)) {
3051
+ return unit;
3052
+ } else {
3053
+ return new Unit(name, name, name, name, null, null);
3054
+ }
3055
+ };
3056
+ var Units_instance;
3057
+ function Units_getInstance() {
3058
+ if (Units_instance == null)
3059
+ new Units();
3060
+ return Units_instance;
3061
+ }
3062
+ function UnitType_WEIGHT_getInstance() {
3063
+ UnitType_initEntries();
3064
+ return UnitType_WEIGHT_instance;
3065
+ }
3066
+ function UnitType_VOLUME_getInstance() {
3067
+ UnitType_initEntries();
3068
+ return UnitType_VOLUME_instance;
3069
+ }
3070
+ function UnitType_LENGTH_getInstance() {
3071
+ UnitType_initEntries();
3072
+ return UnitType_LENGTH_instance;
3073
+ }
3074
+ function UnitConversion() {
3075
+ this.n1e_1 = 28.3495;
3076
+ this.o1e_1 = 2.20462;
3077
+ this.p1e_1 = 236.56;
3078
+ }
3079
+ protoOf(UnitConversion).q1e = function (amount, target) {
3080
+ if (amount.o1d_1 == null || equals(amount.o1d_1.w1e_1, target) || equals(target, Metric_instance)) {
3081
+ return amount;
3082
+ }
3083
+ var tmp;
3084
+ if (amount.p1d_1 === true) {
3085
+ var tmp_0;
3086
+ if (amount.o1d_1.equals(Units_getInstance().a1e_1)) {
3087
+ var cups = amount.m1d_1 / this.p1e_1;
3088
+ var tmp1_safe_receiver = amount.n1d_1;
3089
+ var tmp_1;
3090
+ if (tmp1_safe_receiver == null) {
3091
+ tmp_1 = null;
3092
+ } else {
3093
+ // Inline function 'kotlin.let' call
3094
+ tmp_1 = tmp1_safe_receiver / UnitConversion_instance.p1e_1;
3095
+ }
3096
+ var maxCups = tmp_1;
3097
+ tmp_0 = new Amount(cups, maxCups, Units_getInstance().d1e_1);
3098
+ } else {
3099
+ tmp_0 = amount;
3100
+ }
3101
+ tmp = tmp_0;
3102
+ } else {
3103
+ var tmp2_subject = amount.o1d_1;
3104
+ var tmp_2;
3105
+ if (tmp2_subject.equals(Units_getInstance().w1d_1)) {
3106
+ var minOunces = amount.m1d_1 / this.n1e_1;
3107
+ var tmp3_safe_receiver = amount.n1d_1;
3108
+ var tmp_3;
3109
+ if (tmp3_safe_receiver == null) {
3110
+ tmp_3 = null;
3111
+ } else {
3112
+ // Inline function 'kotlin.let' call
3113
+ tmp_3 = tmp3_safe_receiver / UnitConversion_instance.n1e_1;
3114
+ }
3115
+ var maxOunces = tmp_3;
3116
+ tmp_2 = new Amount(minOunces, maxOunces, Units_getInstance().y1d_1);
3117
+ } else if (tmp2_subject.equals(Units_getInstance().x1d_1)) {
3118
+ var minPounds = amount.m1d_1 * this.o1e_1;
3119
+ var tmp4_safe_receiver = amount.n1d_1;
3120
+ var tmp_4;
3121
+ if (tmp4_safe_receiver == null) {
3122
+ tmp_4 = null;
3123
+ } else {
3124
+ // Inline function 'kotlin.let' call
3125
+ tmp_4 = tmp4_safe_receiver * UnitConversion_instance.o1e_1;
3126
+ }
3127
+ var maxPounds = tmp_4;
3128
+ tmp_2 = new Amount(minPounds, maxPounds, Units_getInstance().z1d_1);
3129
+ } else {
3130
+ tmp_2 = amount;
3131
+ }
3132
+ tmp = tmp_2;
3133
+ }
3134
+ return tmp;
3135
+ };
3136
+ var UnitConversion_instance;
3137
+ function UnitConversion_getInstance() {
3138
+ return UnitConversion_instance;
3139
+ }
2779
3140
  function get_tolerantJson_0() {
2780
3141
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
2781
3142
  return tolerantJson_0;
@@ -2786,11 +3147,11 @@
2786
3147
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
2787
3148
  var this_0 = get_tolerantJson_0();
2788
3149
  // Inline function 'kotlinx.serialization.serializer' call
2789
- var this_1 = this_0.cm();
3150
+ var this_1 = this_0.im();
2790
3151
  // Inline function 'kotlinx.serialization.internal.cast' call
2791
3152
  var this_2 = serializer(this_1, createKType(getKClass(RecipeV3), arrayOf([]), false));
2792
3153
  var tmp$ret$1 = isInterface(this_2, KSerializer) ? this_2 : THROW_CCE();
2793
- var parsedRecipe = this_0.z11(tmp$ret$1, recipe);
3154
+ var parsedRecipe = this_0.f12(tmp$ret$1, recipe);
2794
3155
  var tmp;
2795
3156
  switch (unit) {
2796
3157
  case 'Imperial':
@@ -2802,30 +3163,30 @@
2802
3163
  default:
2803
3164
  throw IllegalArgumentException_init_$Create$('Unknown unit: ' + unit);
2804
3165
  }
2805
- var ingredientUnit = tmp;
2806
- var scaledRecipe = scaleAndConvertUnitRecipe(parsedRecipe, factor, ingredientUnit);
3166
+ var measuringSystem = tmp;
3167
+ var scaledRecipe = scaleAndConvertUnitRecipe(parsedRecipe, factor, measuringSystem);
2807
3168
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
2808
3169
  var this_3 = Default_getInstance();
2809
3170
  // Inline function 'kotlinx.serialization.serializer' call
2810
- var this_4 = this_3.cm();
3171
+ var this_4 = this_3.im();
2811
3172
  // Inline function 'kotlinx.serialization.internal.cast' call
2812
3173
  var this_5 = serializer(this_4, createKType(getKClass(RecipeV3), arrayOf([]), false));
2813
3174
  var tmp$ret$4 = isInterface(this_5, KSerializer) ? this_5 : THROW_CCE();
2814
- return this_3.y11(tmp$ret$4, scaledRecipe);
3175
+ return this_3.e12(tmp$ret$4, scaledRecipe);
2815
3176
  }
2816
3177
  function parseTemplate_0(templateString) {
2817
3178
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
2818
3179
  var parsedTemplate = parseTemplate(templateString);
2819
- return parsedTemplate.g1d_1;
3180
+ return parsedTemplate.x1e_1;
2820
3181
  }
2821
3182
  function renderTemplate_0(templateElements) {
2822
3183
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
2823
3184
  var template = new ParsedTemplate(templateElements);
2824
- return renderTemplate(template, 1.0);
3185
+ return renderTemplate(template, 1.0, Metric_instance);
2825
3186
  }
2826
3187
  function tolerantJson$lambda_0($this$Json) {
2827
3188
  _init_properties_ScaleRecipeJsContract_kt__evtan5();
2828
- $this$Json.t12_1 = true;
3189
+ $this$Json.z12_1 = true;
2829
3190
  return Unit_instance;
2830
3191
  }
2831
3192
  var properties_initialized_ScaleRecipeJsContract_kt_yki7mr;
@@ -2836,26 +3197,27 @@
2836
3197
  }
2837
3198
  }
2838
3199
  //region block: post-declaration
2839
- protoOf($serializer).zs = typeParametersSerializers;
2840
- protoOf($serializer_0).zs = typeParametersSerializers;
2841
- protoOf($serializer_1).zs = typeParametersSerializers;
2842
- protoOf($serializer_2).zs = typeParametersSerializers;
2843
- protoOf($serializer_3).zs = typeParametersSerializers;
2844
- protoOf($serializer_4).zs = typeParametersSerializers;
2845
- protoOf($serializer_5).zs = typeParametersSerializers;
2846
- protoOf($serializer_6).zs = typeParametersSerializers;
2847
- protoOf($serializer_7).zs = typeParametersSerializers;
2848
- protoOf($serializer_8).zs = typeParametersSerializers;
2849
- protoOf($serializer_9).zs = typeParametersSerializers;
3200
+ protoOf($serializer).ft = typeParametersSerializers;
3201
+ protoOf($serializer_0).ft = typeParametersSerializers;
3202
+ protoOf($serializer_1).ft = typeParametersSerializers;
3203
+ protoOf($serializer_2).ft = typeParametersSerializers;
3204
+ protoOf($serializer_3).ft = typeParametersSerializers;
3205
+ protoOf($serializer_4).ft = typeParametersSerializers;
3206
+ protoOf($serializer_5).ft = typeParametersSerializers;
3207
+ protoOf($serializer_6).ft = typeParametersSerializers;
3208
+ protoOf($serializer_7).ft = typeParametersSerializers;
3209
+ protoOf($serializer_8).ft = typeParametersSerializers;
3210
+ protoOf($serializer_9).ft = typeParametersSerializers;
2850
3211
  //endregion
2851
3212
  //region block: init
2852
- Imperial_instance = new Imperial();
2853
- Metric_instance = new Metric();
2854
3213
  Companion_instance_1 = new Companion_1();
2855
3214
  Companion_instance_2 = new Companion_2();
2856
3215
  Companion_instance_4 = new Companion_4();
2857
3216
  Companion_instance_5 = new Companion_5();
2858
3217
  Companion_instance_6 = new Companion_6();
3218
+ Imperial_instance = new Imperial();
3219
+ Metric_instance = new Metric();
3220
+ UnitConversion_instance = new UnitConversion();
2859
3221
  //endregion
2860
3222
  //region block: exports
2861
3223
  function $jsExportAll$(_) {